@angular/cdk 11.2.12 → 11.2.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -50,14 +50,14 @@ function v(t,e){return e.some((function(e){return t.bottom<e.top||t.top>e.bottom
50
50
  * Use of this source code is governed by an MIT-style license that can be
51
51
  * found in the LICENSE file at https://angular.io/license
52
52
  */
53
- var C,O=function O(t){var e,i;if(this.scrollStrategy=new g,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){var o=Object.keys(t);try{for(var n=d(o),r=n.next();!r.done;r=n.next()){var s=r.value;void 0!==t[s]&&(this[s]=t[s])}}catch(t){e={error:t}}finally{try{r&&!r.done&&(i=n.return)&&i.call(n)}finally{if(e)throw e.error}}}},S=function S(t,e,i,o,n){this.offsetX=i,this.offsetY=o,this.panelClass=n,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY},P=function P(){};
53
+ var C,O=function O(t){var e,i;if(this.scrollStrategy=new g,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){var o=Object.keys(t);try{for(var n=d(o),r=n.next();!r.done;r=n.next()){var s=r.value;void 0!==t[s]&&(this[s]=t[s])}}catch(t){e={error:t}}finally{try{r&&!r.done&&(i=n.return)&&i.call(n)}finally{if(e)throw e.error}}}},S=function S(t,e,i,o,n){this.offsetX=i,this.offsetY=o,this.panelClass=n,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY},k=function k(){};
54
54
  /**
55
55
  * @license
56
56
  * Copyright Google LLC All Rights Reserved.
57
57
  *
58
58
  * Use of this source code is governed by an MIT-style license that can be
59
59
  * found in the LICENSE file at https://angular.io/license
60
- */(C=function C(t,e){this.connectionPair=t,this.scrollableViewProperties=e}).ctorParameters=function(){return[{type:S},{type:P,decorators:[{type:o.Optional}]}]};
60
+ */(C=function C(t,e){this.connectionPair=t,this.scrollableViewProperties=e}).ctorParameters=function(){return[{type:S},{type:k,decorators:[{type:o.Optional}]}]};
61
61
  /**
62
62
  * @license
63
63
  * Copyright Google LLC All Rights Reserved.
@@ -65,7 +65,7 @@ var C,O=function O(t){var e,i;if(this.scrollStrategy=new g,this.panelClass="",th
65
65
  * Use of this source code is governed by an MIT-style license that can be
66
66
  * found in the LICENSE file at https://angular.io/license
67
67
  */
68
- var k=function(){function t(t){this._attachedOverlays=[],this._document=t}return t.prototype.ngOnDestroy=function(){this.detach()},t.prototype.add=function(t){this.remove(t),this._attachedOverlays.push(t)},t.prototype.remove=function(t){var e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()},t}();k.ɵprov=o.ɵɵdefineInjectable({factory:function t(){return new k(o.ɵɵinject(i.DOCUMENT))},token:k,providedIn:"root"}),k.decorators=[{type:o.Injectable,args:[{providedIn:"root"}]}],k.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Inject,args:[i.DOCUMENT]}]}]};var x=function(t){function e(e){var i=t.call(this,e)||this;return i._keydownListener=function(t){for(var e=i._attachedOverlays,o=e.length-1;o>-1;o--)if(e[o]._keydownEvents.observers.length>0){e[o]._keydownEvents.next(t);break}},i}return u(e,t),e.prototype.add=function(e){t.prototype.add.call(this,e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)},e.prototype.detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)},e}(k);x.ɵprov=o.ɵɵdefineInjectable({factory:function t(){return new x(o.ɵɵinject(i.DOCUMENT))},token:x,providedIn:"root"}),x.decorators=[{type:o.Injectable,args:[{providedIn:"root"}]}],x.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Inject,args:[i.DOCUMENT]}]}]};var E=function(t){function e(e,i){var o=t.call(this,e)||this;return o._platform=i,o._cursorStyleIsSet=!1,o._clickListener=function(t){for(var e=t.composedPath?t.composedPath()[0]:t.target,i=o._attachedOverlays.slice(),n=i.length-1;n>-1;n--){var r=i[n];if(!(r._outsidePointerEvents.observers.length<1)&&r.hasAttached()){if(r.overlayElement.contains(e))break;r._outsidePointerEvents.next(t)}}},o}return u(e,t),e.prototype.add=function(e){t.prototype.add.call(this,e),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._document.body.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)},e.prototype.detach=function(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._document.body.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)},e}(k);E.ɵprov=o.ɵɵdefineInjectable({factory:function t(){return new E(o.ɵɵinject(i.DOCUMENT),o.ɵɵinject(r.Platform))},token:E,providedIn:"root"}),E.decorators=[{type:o.Injectable,args:[{providedIn:"root"}]}],E.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Inject,args:[i.DOCUMENT]}]},{type:r.Platform}]};
68
+ var P=function(){function t(t){this._attachedOverlays=[],this._document=t}return t.prototype.ngOnDestroy=function(){this.detach()},t.prototype.add=function(t){this.remove(t),this._attachedOverlays.push(t)},t.prototype.remove=function(t){var e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()},t}();P.ɵprov=o.ɵɵdefineInjectable({factory:function t(){return new P(o.ɵɵinject(i.DOCUMENT))},token:P,providedIn:"root"}),P.decorators=[{type:o.Injectable,args:[{providedIn:"root"}]}],P.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Inject,args:[i.DOCUMENT]}]}]};var x=function(t){function e(e){var i=t.call(this,e)||this;return i._keydownListener=function(t){for(var e=i._attachedOverlays,o=e.length-1;o>-1;o--)if(e[o]._keydownEvents.observers.length>0){e[o]._keydownEvents.next(t);break}},i}return u(e,t),e.prototype.add=function(e){t.prototype.add.call(this,e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)},e.prototype.detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)},e}(P);x.ɵprov=o.ɵɵdefineInjectable({factory:function t(){return new x(o.ɵɵinject(i.DOCUMENT))},token:x,providedIn:"root"}),x.decorators=[{type:o.Injectable,args:[{providedIn:"root"}]}],x.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Inject,args:[i.DOCUMENT]}]}]};var E=function(t){function e(e,i){var o=t.call(this,e)||this;return o._platform=i,o._cursorStyleIsSet=!1,o._clickListener=function(t){for(var e=t.composedPath?t.composedPath()[0]:t.target,i=o._attachedOverlays.slice(),n=i.length-1;n>-1;n--){var r=i[n];if(!(r._outsidePointerEvents.observers.length<1)&&r.hasAttached()){if(r.overlayElement.contains(e))break;r._outsidePointerEvents.next(t)}}},o}return u(e,t),e.prototype.add=function(e){if(t.prototype.add.call(this,e),!this._isAttached){var i=this._document.body;i.addEventListener("click",this._clickListener,!0),i.addEventListener("auxclick",this._clickListener,!0),i.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}},e.prototype.detach=function(){if(this._isAttached){var t=this._document.body;t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}},e}(P);E.ɵprov=o.ɵɵdefineInjectable({factory:function t(){return new E(o.ɵɵinject(i.DOCUMENT),o.ɵɵinject(r.Platform))},token:E,providedIn:"root"}),E.decorators=[{type:o.Injectable,args:[{providedIn:"root"}]}],E.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Inject,args:[i.DOCUMENT]}]},{type:r.Platform}]};
69
69
  /**
70
70
  * @license
71
71
  * Copyright Google LLC All Rights Reserved.
@@ -134,4 +134,4 @@ var K=function(t){function e(e,i){return t.call(this,e,i)||this}return u(e,t),e.
134
134
  * Use of this source code is governed by an MIT-style license that can be
135
135
  * found in the LICENSE file at https://angular.io/license
136
136
  */
137
- Object.defineProperty(t,"CdkScrollable",{enumerable:!0,get:function(){return e.CdkScrollable}}),Object.defineProperty(t,"ScrollDispatcher",{enumerable:!0,get:function(){return e.ScrollDispatcher}}),Object.defineProperty(t,"ViewportRuler",{enumerable:!0,get:function(){return e.ViewportRuler}}),t.BlockScrollStrategy=f,t.CdkConnectedOverlay=z,t.CdkOverlayOrigin=T,t.CloseScrollStrategy=y,t.ConnectedOverlayPositionChange=C,t.ConnectedPositionStrategy=V,t.ConnectionPositionPair=S,t.FlexibleConnectedPositionStrategy=B,t.FullscreenOverlayContainer=K,t.GlobalPositionStrategy=Y,t.NoopScrollStrategy=g,t.Overlay=H,t.OverlayConfig=O,t.OverlayContainer=j,t.OverlayKeyboardDispatcher=x,t.OverlayModule=U,t.OverlayOutsideClickDispatcher=E,t.OverlayPositionBuilder=X,t.OverlayRef=D,t.RepositionScrollStrategy=w,t.ScrollStrategyOptions=b,t.ScrollingVisibility=P,t.validateHorizontalPosition=function G(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid "+t+' "'+e+'". Expected "start", "end" or "center".')},t.validateVerticalPosition=function $(t,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid "+t+' "'+e+'". Expected "top", "bottom" or "center".')},t.ɵangular_material_src_cdk_overlay_overlay_a=W,t.ɵangular_material_src_cdk_overlay_overlay_b=Z,t.ɵangular_material_src_cdk_overlay_overlay_c=q,t.ɵangular_material_src_cdk_overlay_overlay_d=k,Object.defineProperty(t,"__esModule",{value:!0})}));
137
+ Object.defineProperty(t,"CdkScrollable",{enumerable:!0,get:function(){return e.CdkScrollable}}),Object.defineProperty(t,"ScrollDispatcher",{enumerable:!0,get:function(){return e.ScrollDispatcher}}),Object.defineProperty(t,"ViewportRuler",{enumerable:!0,get:function(){return e.ViewportRuler}}),t.BlockScrollStrategy=f,t.CdkConnectedOverlay=z,t.CdkOverlayOrigin=T,t.CloseScrollStrategy=y,t.ConnectedOverlayPositionChange=C,t.ConnectedPositionStrategy=V,t.ConnectionPositionPair=S,t.FlexibleConnectedPositionStrategy=B,t.FullscreenOverlayContainer=K,t.GlobalPositionStrategy=Y,t.NoopScrollStrategy=g,t.Overlay=H,t.OverlayConfig=O,t.OverlayContainer=j,t.OverlayKeyboardDispatcher=x,t.OverlayModule=U,t.OverlayOutsideClickDispatcher=E,t.OverlayPositionBuilder=X,t.OverlayRef=D,t.RepositionScrollStrategy=w,t.ScrollStrategyOptions=b,t.ScrollingVisibility=k,t.validateHorizontalPosition=function G(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid "+t+' "'+e+'". Expected "start", "end" or "center".')},t.validateVerticalPosition=function $(t,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid "+t+' "'+e+'". Expected "top", "bottom" or "center".')},t.ɵangular_material_src_cdk_overlay_overlay_a=W,t.ɵangular_material_src_cdk_overlay_overlay_b=Z,t.ɵangular_material_src_cdk_overlay_overlay_c=q,t.ɵangular_material_src_cdk_overlay_overlay_d=P,Object.defineProperty(t,"__esModule",{value:!0})}));