@progress/kendo-angular-common 3.0.0 → 3.1.0-dev.202205121439
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.
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@telerik/kendo-draggable"),require("@angular/common"),require("rxjs/operators"),require("rxjs")):"function"==typeof define&&define.amd?define("KendoAngularCommon",["exports","@angular/core","@telerik/kendo-draggable","@angular/common","rxjs/operators","rxjs"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoAngularCommon={},e.ng.core,e.Draggable,e.ng.common,e.rxjs.operators,e.rxjs)}(this,function(e,o,t,n,F,r){"use strict";function M(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function R(n){if(n&&n.__esModule)return n;var r=Object.create(null);return n&&Object.keys(n).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(n,e),Object.defineProperty(r,e,t.get?t:{enumerable:!0,get:function(){return n[e]}}))}),r.default=n,Object.freeze(r)}function i(){return"undefined"!=typeof document}function s(e,t,n){return void 0===n&&(n=!0),!(void 0===t[e]||t[e].isFirstChange()&&n||t[e].previousValue===t[e].currentValue)}var a=R(o),T=M(t),t=(c.prototype.ngOnInit=function(){this.toggleDraggable()},c.prototype.ngOnChanges=function(e){s("enableDrag",e)&&this.toggleDraggable()},c.prototype.ngOnDestroy=function(){this.destroyDraggable()},c.prototype.toggleDraggable=function(){var t=this;i()&&(this.destroyDraggable(),this.enableDrag&&(this.draggable=new T.default({drag:function(e){return t.kendoDrag.next(e)},press:function(e){return t.kendoPress.next(e)},release:function(e){return t.kendoRelease.next(e)}}),this.ngZone.runOutsideAngular(function(){return t.draggable.bindTo(t.element.nativeElement)})))},c.prototype.destroyDraggable=function(){this.draggable&&(this.draggable.destroy(),this.draggable=null)},c);function c(e,t){this.element=e,this.ngZone=t,this.enableDrag=!0,this.kendoPress=new o.EventEmitter,this.kendoDrag=new o.EventEmitter,this.kendoRelease=new o.EventEmitter}t.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:t,deps:[{token:a.ElementRef},{token:a.NgZone}],target:a.ɵɵFactoryTarget.Directive}),t.ɵdir=a.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:t,selector:"[kendoDraggable]",inputs:{enableDrag:"enableDrag"},outputs:{kendoPress:"kendoPress",kendoDrag:"kendoDrag",kendoRelease:"kendoRelease"},usesOnChanges:!0,ngImport:a}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:t,decorators:[{type:o.Directive,args:[{selector:"[kendoDraggable]"}]}],ctorParameters:function(){return[{type:a.ElementRef},{type:a.NgZone}]},propDecorators:{enableDrag:[{type:o.Input}],kendoPress:[{type:o.Output}],kendoDrag:[{type:o.Output}],kendoRelease:[{type:o.Output}]}});function u(e,t){for(;e&&!t(e);)e=e.parentNode;return e}function p(e,t,n){if(void 0===n&&(n=!0),e){if(n&&t(e))return e;for(e=e.firstChild;e;){if(1===e.nodeType){var r=p(e,t);if(r)return r}e=e.nextSibling}}}function l(e,t){if(void 0===t&&(t=!0),!y(e))return!1;var n=e.getAttribute("tabIndex");return(!t||f(e))&&"-1"!==n}function h(e){return String(e).trim().split(" ")}function d(e,t){var n=h(t);return Boolean(h(e.className).find(function(e){return 0<=n.indexOf(e)}))}var g=function(){},Z=(g.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:g,deps:[],target:a.ɵɵFactoryTarget.NgModule}),g.ɵmod=a.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:g,declarations:[t],imports:[n.CommonModule],exports:[t]}),g.ɵinj=a.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:g,imports:[[n.CommonModule]]}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:g,decorators:[{type:o.NgModule,args:[{declarations:[t],exports:[t],imports:[n.CommonModule]}]}]}),/^(?:a|input|select|option|textarea|button|object)$/i),y=function(e){if(!e.tagName)return!1;var t=e.tagName.toLowerCase(),n=Boolean(e.getAttribute("tabIndex"));return!e.disabled&&Z.test(t)||n},f=function(e){var t=e.getBoundingClientRect(),n=0<t.width&&0<t.height,t=0!==t.x&&0!==t.y;return(n||t)&&"hidden"!==window.getComputedStyle(e).visibility},m={};v.prototype.ngOnInit=function(){var t,n=this;this.element&&this.element.nativeElement&&(t=this.events,this.subscriptions=[],this.ngZone.runOutsideAngular(function(){for(var e in t)t.hasOwnProperty(e)&&n.subscriptions.push(n.renderer.listen(n.element.nativeElement,e,n.scope?t[e].bind(n.scope):t[e]))}))},v.prototype.ngOnDestroy=function(){if(this.subscriptions){for(var e=0;e<this.subscriptions.length;e++)this.subscriptions[e]();this.subscriptions=null}};n=v;function v(e,t,n){this.element=e,this.ngZone=t,this.renderer=n,this.events={}}n.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:n,deps:[{token:a.ElementRef},{token:a.NgZone},{token:a.Renderer2}],target:a.ɵɵFactoryTarget.Directive}),n.ɵdir=a.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:n,selector:"[kendoEventsOutsideAngular]",inputs:{events:["kendoEventsOutsideAngular","events"],scope:"scope"},ngImport:a}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:n,decorators:[{type:o.Directive,args:[{selector:"[kendoEventsOutsideAngular]"}]}],ctorParameters:function(){return[{type:a.ElementRef},{type:a.NgZone},{type:a.Renderer2}]},propDecorators:{events:[{type:o.Input,args:["kendoEventsOutsideAngular"]}],scope:[{type:o.Input}]}});var b=function(){},D=(b.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:b,deps:[],target:a.ɵɵFactoryTarget.NgModule}),b.ɵmod=a.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:b,declarations:[n],exports:[n]}),b.ɵinj=a.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:b}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:b,decorators:[{type:o.NgModule,args:[{declarations:[n],exports:[n]}]}]}),function(e,t){return(D=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)});function B(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}D(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}Object.create;Object.create;k.prototype.acceptSize=function(e){void 0===e&&(e=this.measure()),this.lastWidth=e.width,this.lastHeight=e.height,this.acceptedSize=!0},k.prototype.checkChanges=function(){i()&&0===this.state&&(this.state=1,this.resizeBatchService.schedule(this,this.init))},k.prototype.destroy=function(){this.resizeBatchService.cancel(this)},k.prototype.checkSize=function(){if(this.parentElement){var e=this.measure(),t=e.width,e=e.height,n=t===this.lastWidth&&e===this.lastHeight;if(!n)return this.lastWidth=t,this.lastHeight=e,this.acceptedSize=!1,this.resize.emit(),!0}},k.prototype.initSize=function(){var e=this.measure();this.lastWidth=e.width,this.lastHeight=e.height},k.prototype.measure=function(){var e=0,t=0;return this.parentElement&&(t=this.parentElement.offsetHeight,e=this.parentElement.offsetWidth),{height:t,width:e}};var K=k;function k(e){this.resizeBatchService=e,this.resize=new o.EventEmitter,this.acceptedSize=!1,this.state=0}function E(e){var t=document.createElement("div");return t.style.cssText=e,t}var C,z="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",L="position: absolute; left: 0; top: 0; transition: 0s;",_=(B(O,C=K),O.prototype.checkChanges=function(){2===this.state?this.resizeBatchService.isScheduled(this)||this.resizeBatchService.schedule(this,this.checkSize):C.prototype.checkChanges.call(this)},O.prototype.destroy=function(){var e;C.prototype.destroy.call(this),this.subscription&&this.subscription.unsubscribe(),this.expand&&((e=this.element.nativeElement).removeChild(this.expand),e.removeChild(this.shrink),this.expand.removeChild(this.expandChild),this.expand=this.expandChild=this.shrink=this.element=null)},O.prototype.checkSize=function(){if(C.prototype.checkSize.call(this))return this.reset(),!0},O.prototype.init=function(){var e,t=this.parentElement=this.element.nativeElement.parentElement;"static"===(e="position",getComputedStyle(t,null).getPropertyValue(e))&&(t.style.position="relative"),this.state=2,this.render(),this.reset(),this.initSize(),this.subscribe()},O.prototype.render=function(){var e=this.element.nativeElement,t=(e.style.cssText=z,e.setAttribute("dir","ltr"),this.expand=E(z),this.expandChild=E(L),this.expand.appendChild(this.expandChild),e.appendChild(this.expand),this.shrink=E(z),E("position: absolute; left: 0; top: 0; transition: 0s;width: 200%; height: 200%;"));this.shrink.appendChild(t),e.appendChild(this.shrink)},O.prototype.reset=function(){var e=this.expandChild,e=(e.style.width=1e5+"px",e.style.height=1e5+"px",this.expand),e=(e.scrollLeft=1e5,e.scrollTop=1e5,this.shrink);e.scrollLeft=1e5,e.scrollTop=1e5},O.prototype.subscribe=function(){var e=this;this.ngZone.runOutsideAngular(function(){e.subscription=r.merge(r.fromEvent(e.shrink,"scroll"),r.fromEvent(e.expand,"scroll")).subscribe(function(){e.checkSize()})})},O);function O(e,t,n){e=C.call(this,e)||this;return e.element=t,e.ngZone=n,e}var S,W="undefined"!=typeof ResizeObserver,I=(B(x,S=K),x.supported=function(){return W},x.prototype.destroy=function(){S.prototype.destroy.call(this),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.parentElement=null},x.prototype.init=function(){var e=this;this.parentElement=this.element.nativeElement.parentElement,this.initSize(),this.state=2,this.ngZone.runOutsideAngular(function(){e.resizeObserver=new ResizeObserver(function(){e.checkSize()}),e.resizeObserver.observe(e.parentElement)})},x);function x(e,t,n){e=S.call(this,e)||this;return e.element=t,e.ngZone=n,e}V.prototype.schedule=function(e,t){var n=this;this.scheduled.push({instance:e,method:t}),this.subscription||this.ngZone.runOutsideAngular(function(){n.subscription=r.from(n.resolvedPromise).subscribe(n.flush)})},V.prototype.isScheduled=function(t){return Boolean(this.scheduled.find(function(e){return e.instance===t}))},V.prototype.cancel=function(e){for(var t=this.scheduled,n=t.length,r=0;r<n;r++)if(t[r].instance===e)return t.splice(r,1),void(t.length||this.unsubscribe())},V.prototype.ngOnDestroy=function(){this.unsubscribe()},V.prototype.unsubscribe=function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)},V.prototype.flush=function(){this.scheduled.forEach(function(e){e.method.call(e.instance)}),this.scheduled=[],this.unsubscribe()};var w=V;function V(e){this.ngZone=e,this.scheduled=[],this.resolvedPromise=Promise.resolve(null),this.flush=this.flush.bind(this)}w.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:w,deps:[{token:a.NgZone}],target:a.ɵɵFactoryTarget.Injectable}),w.ɵprov=a.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:w}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:w,decorators:[{type:o.Injectable}],ctorParameters:function(){return[{type:a.NgZone}]}});A.prototype.ngAfterViewChecked=function(){this.resizeService.checkChanges()},A.prototype.ngOnDestroy=function(){this.subscription.unsubscribe(),this.resizeService.destroy()},A.prototype.acceptSize=function(e){this.resizeService.acceptSize(e)};K=A;function A(e,t,n){var r=this,i=(this.rateLimit=10,this.resize=new o.EventEmitter,I.supported()?I:_),i=(this.resizeService=new i(e,t,n),1e3/(this.rateLimit||10));this.subscription=this.resizeService.resize.pipe(F.auditTime(i)).subscribe(function(){r.resizeService.acceptedSize||r.resize.emit()})}K.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:K,deps:[{token:w},{token:a.ElementRef},{token:a.NgZone}],target:a.ɵɵFactoryTarget.Component}),K.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:K,selector:"kendo-resize-sensor",inputs:{rateLimit:"rateLimit"},outputs:{resize:"resize"},ngImport:a,template:"",isInline:!0}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:K,decorators:[{type:o.Component,args:[{selector:"kendo-resize-sensor",template:""}]}],ctorParameters:function(){return[{type:w},{type:a.ElementRef},{type:a.NgZone}]},propDecorators:{rateLimit:[{type:o.Input}],resize:[{type:o.Output}]}});function H(){}var j=[K],N=function(){},j=(N.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:N,deps:[],target:a.ɵɵFactoryTarget.NgModule}),N.ɵmod=a.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:N,declarations:[K],exports:[K]}),N.ɵinj=a.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:N,providers:[w]}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:N,decorators:[{type:o.NgModule,args:[{declarations:[j],exports:[j],providers:[w]}]}]}),e.Keys=void 0,(j=e.Keys||(e.Keys={}))[j.Alt=18]="Alt",j[j.ArrowDown=40]="ArrowDown",j[j.ArrowLeft=37]="ArrowLeft",j[j.ArrowRight=39]="ArrowRight",j[j.ArrowUp=38]="ArrowUp",j[j.Backspace=8]="Backspace",j[j.Control=17]="Control",j[j.Delete=46]="Delete",j[j.Digit0=48]="Digit0",j[j.Digit1=49]="Digit1",j[j.Digit2=50]="Digit2",j[j.Digit3=51]="Digit3",j[j.Digit4=52]="Digit4",j[j.Digit5=53]="Digit5",j[j.Digit6=54]="Digit6",j[j.Digit7=55]="Digit7",j[j.Digit8=56]="Digit8",j[j.Digit9=57]="Digit9",j[j.End=35]="End",j[j.Enter=13]="Enter",j[j.Escape=27]="Escape",j[j.F1=112]="F1",j[j.F2=113]="F2",j[j.F10=121]="F10",j[j.Home=36]="Home",j[j.Insert=45]="Insert",j[j.KeyA=65]="KeyA",j[j.KeyB=66]="KeyB",j[j.KeyC=67]="KeyC",j[j.KeyD=68]="KeyD",j[j.KeyE=69]="KeyE",j[j.KeyF=70]="KeyF",j[j.KeyG=71]="KeyG",j[j.KeyH=72]="KeyH",j[j.KeyI=73]="KeyI",j[j.KeyJ=74]="KeyJ",j[j.KeyK=75]="KeyK",j[j.KeyL=76]="KeyL",j[j.KeyM=77]="KeyM",j[j.KeyN=78]="KeyN",j[j.KeyO=79]="KeyO",j[j.KeyP=80]="KeyP",j[j.KeyQ=81]="KeyQ",j[j.KeyR=82]="KeyR",j[j.KeyS=83]="KeyS",j[j.KeyT=84]="KeyT",j[j.KeyU=85]="KeyU",j[j.KeyV=86]="KeyV",j[j.KeyW=87]="KeyW",j[j.KeyX=88]="KeyX",j[j.KeyY=89]="KeyY",j[j.KeyZ=90]="KeyZ",j[j.NumpadDecimal=110]="NumpadDecimal",j[j.PageDown=34]="PageDown",j[j.PageUp=33]="PageUp",j[j.Shift=16]="Shift",j[j.Space=32]="Space",j[j.Tab=9]="Tab",P.prototype.preventDefault=function(){this.prevented=!0},P.prototype.isDefaultPrevented=function(){return this.prevented},P);function P(){this.prevented=!1}e.DraggableDirective=t,e.DraggableModule=g,e.EventsModule=b,e.EventsOutsideAngularDirective=n,e.KendoInput=H,e.PreventableEvent=j,e.ResizeBatchService=w,e.ResizeCompatService=_,e.ResizeObserverService=I,e.ResizeSensorComponent=K,e.ResizeSensorModule=N,e.anyChanged=function(e,t,n){return void 0===n&&(n=!0),e.some(function(e){return s(e,t,n)})},e.closest=u,e.closestInScope=function(e,t,n){for(;e&&e!==n&&!t(e);)e=e.parentNode;if(e!==n)return e},e.contains=function(t,n,e){if(void 0===e&&(e=!1),!u(n,function(e){return e===t}))return!1;var r=u(n,function(e){return e===n});return r&&(e||r!==t)},e.findElement=p,e.findFocusable=function(e,t){return void 0===t&&(t=!0),p(e,function(e){return l(e,t)})},e.findFocusableChild=function(e,t){return void 0===t&&(t=!0),p(e,function(e){return l(e,t)},!1)},e.guid=function(){for(var e="",t=0;t<32;t++){var n=16*Math.random()|0;8!==t&&12!==t&&16!==t&&20!==t||(e+="-"),e+=(12===t?4:16===t?3&n|8:n).toString(16)}return e},e.hasClasses=d,e.hasObservers=function(e){return e&&0<e.observers.length},e.isChanged=s,e.isDocumentAvailable=i,e.isFocusable=y,e.isFocusableWithTabKey=l,e.isVisible=f,e.matchesClasses=function(t){return function(e){return d(e,t)}},e.matchesNodeName=function(t){return m[t]||(m[t]=function(e){return String(e.nodeName).toLowerCase()===t.toLowerCase()}),m[t]},e.rtlScrollPosition=function(e,t,n){var r=e;return n<0?r=-e:0<n&&(r=t.scrollWidth-t.offsetWidth-e),r},Object.defineProperty(e,"__esModule",{value:!0})});
|
|
5
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@telerik/kendo-draggable"),require("@angular/common"),require("rxjs/operators"),require("rxjs")):"function"==typeof define&&define.amd?define("KendoAngularCommon",["exports","@angular/core","@telerik/kendo-draggable","@angular/common","rxjs/operators","rxjs"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoAngularCommon={},e.ng.core,e.Draggable,e.ng.common,e.rxjs.operators,e.rxjs)}(this,function(e,o,t,n,M,r){"use strict";function N(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function R(n){if(n&&n.__esModule)return n;var r=Object.create(null);return n&&Object.keys(n).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(n,e),Object.defineProperty(r,e,t.get?t:{enumerable:!0,get:function(){return n[e]}}))}),r.default=n,Object.freeze(r)}function i(){return"undefined"!=typeof document}function s(e,t,n){return void 0===n&&(n=!0),!(void 0===t[e]||t[e].isFirstChange()&&n||t[e].previousValue===t[e].currentValue)}var a=R(o),T=N(t),t=(c.prototype.ngOnInit=function(){this.toggleDraggable()},c.prototype.ngOnChanges=function(e){s("enableDrag",e)&&this.toggleDraggable()},c.prototype.ngOnDestroy=function(){this.destroyDraggable()},c.prototype.toggleDraggable=function(){var t=this;i()&&(this.destroyDraggable(),this.enableDrag&&(this.draggable=new T.default({drag:function(e){return t.kendoDrag.next(e)},press:function(e){return t.kendoPress.next(e)},release:function(e){return t.kendoRelease.next(e)}}),this.ngZone.runOutsideAngular(function(){return t.draggable.bindTo(t.element.nativeElement)})))},c.prototype.destroyDraggable=function(){this.draggable&&(this.draggable.destroy(),this.draggable=null)},c);function c(e,t){this.element=e,this.ngZone=t,this.enableDrag=!0,this.kendoPress=new o.EventEmitter,this.kendoDrag=new o.EventEmitter,this.kendoRelease=new o.EventEmitter}t.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:t,deps:[{token:a.ElementRef},{token:a.NgZone}],target:a.ɵɵFactoryTarget.Directive}),t.ɵdir=a.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:t,selector:"[kendoDraggable]",inputs:{enableDrag:"enableDrag"},outputs:{kendoPress:"kendoPress",kendoDrag:"kendoDrag",kendoRelease:"kendoRelease"},usesOnChanges:!0,ngImport:a}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:t,decorators:[{type:o.Directive,args:[{selector:"[kendoDraggable]"}]}],ctorParameters:function(){return[{type:a.ElementRef},{type:a.NgZone}]},propDecorators:{enableDrag:[{type:o.Input}],kendoPress:[{type:o.Output}],kendoDrag:[{type:o.Output}],kendoRelease:[{type:o.Output}]}});function u(e,t){for(;e&&!t(e);)e=e.parentNode;return e}function l(e,t,n){if(void 0===n&&(n=!0),e){if(n&&t(e))return e;for(e=e.firstChild;e;){if(1===e.nodeType){var r=l(e,t);if(r)return r}e=e.nextSibling}}}function p(e,t){if(void 0===t&&(t=!0),!y(e))return!1;var n=e.getAttribute("tabIndex");return(!t||f(e))&&"-1"!==n}function d(e){return String(e).trim().split(" ")}function h(e,t){var n=d(t);return Boolean(d(e.className).find(function(e){return 0<=n.indexOf(e)}))}var g=function(){},Z=(g.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:g,deps:[],target:a.ɵɵFactoryTarget.NgModule}),g.ɵmod=a.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:g,declarations:[t],imports:[n.CommonModule],exports:[t]}),g.ɵinj=a.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:g,imports:[[n.CommonModule]]}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:g,decorators:[{type:o.NgModule,args:[{declarations:[t],exports:[t],imports:[n.CommonModule]}]}]}),/^(?:a|input|select|option|textarea|button|object)$/i),y=function(e){if(!e.tagName)return!1;var t=e.tagName.toLowerCase(),n=Boolean(e.getAttribute("tabIndex"));return!e.disabled&&Z.test(t)||n},f=function(e){var t=e.getBoundingClientRect(),n=0<t.width&&0<t.height,t=0!==t.x&&0!==t.y;return(n||t)&&"hidden"!==window.getComputedStyle(e).visibility},m={};v.prototype.ngOnInit=function(){var t,n=this;this.element&&this.element.nativeElement&&(t=this.events,this.subscriptions=[],this.ngZone.runOutsideAngular(function(){for(var e in t)t.hasOwnProperty(e)&&n.subscriptions.push(n.renderer.listen(n.element.nativeElement,e,n.scope?t[e].bind(n.scope):t[e]))}))},v.prototype.ngOnDestroy=function(){if(this.subscriptions){for(var e=0;e<this.subscriptions.length;e++)this.subscriptions[e]();this.subscriptions=null}};n=v;function v(e,t,n){this.element=e,this.ngZone=t,this.renderer=n,this.events={}}n.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:n,deps:[{token:a.ElementRef},{token:a.NgZone},{token:a.Renderer2}],target:a.ɵɵFactoryTarget.Directive}),n.ɵdir=a.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:n,selector:"[kendoEventsOutsideAngular]",inputs:{events:["kendoEventsOutsideAngular","events"],scope:"scope"},ngImport:a}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:n,decorators:[{type:o.Directive,args:[{selector:"[kendoEventsOutsideAngular]"}]}],ctorParameters:function(){return[{type:a.ElementRef},{type:a.NgZone},{type:a.Renderer2}]},propDecorators:{events:[{type:o.Input,args:["kendoEventsOutsideAngular"]}],scope:[{type:o.Input}]}});var b=function(){},L=(b.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:b,deps:[],target:a.ɵɵFactoryTarget.NgModule}),b.ɵmod=a.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:b,declarations:[n],exports:[n]}),b.ɵinj=a.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:b}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:b,decorators:[{type:o.NgModule,args:[{declarations:[n],exports:[n]}]}]}),function(e,t){return(L=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)});function B(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}L(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}Object.create;Object.create;K.prototype.acceptSize=function(e){void 0===e&&(e=this.measure()),this.lastWidth=e.width,this.lastHeight=e.height,this.acceptedSize=!0},K.prototype.checkChanges=function(){i()&&0===this.state&&(this.state=1,this.resizeBatchService.schedule(this,this.init))},K.prototype.destroy=function(){this.resizeBatchService.cancel(this)},K.prototype.checkSize=function(){if(this.parentElement){var e=this.measure(),t=e.width,e=e.height,n=t===this.lastWidth&&e===this.lastHeight;if(!n)return this.lastWidth=t,this.lastHeight=e,this.acceptedSize=!1,this.resize.emit(),!0}},K.prototype.initSize=function(){var e=this.measure();this.lastWidth=e.width,this.lastHeight=e.height},K.prototype.measure=function(){var e=0,t=0;return this.parentElement&&(t=this.parentElement.offsetHeight,e=this.parentElement.offsetWidth),{height:t,width:e}};var D=K;function K(e){this.resizeBatchService=e,this.resize=new o.EventEmitter,this.acceptedSize=!1,this.state=0}function k(e){var t=document.createElement("div");return t.style.cssText=e,t}var E,C="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",W="position: absolute; left: 0; top: 0; transition: 0s;",_=(B(I,E=D),I.prototype.checkChanges=function(){2===this.state?this.resizeBatchService.isScheduled(this)||this.resizeBatchService.schedule(this,this.checkSize):E.prototype.checkChanges.call(this)},I.prototype.destroy=function(){var e;E.prototype.destroy.call(this),this.subscription&&this.subscription.unsubscribe(),this.expand&&((e=this.element.nativeElement).removeChild(this.expand),e.removeChild(this.shrink),this.expand.removeChild(this.expandChild),this.expand=this.expandChild=this.shrink=this.element=null)},I.prototype.checkSize=function(){if(E.prototype.checkSize.call(this))return this.reset(),!0},I.prototype.init=function(){var e,t=this.parentElement=this.element.nativeElement.parentElement;"static"===(e="position",getComputedStyle(t,null).getPropertyValue(e))&&(t.style.position="relative"),this.state=2,this.render(),this.reset(),this.initSize(),this.subscribe()},I.prototype.render=function(){var e=this.element.nativeElement,t=(e.style.cssText=C,e.setAttribute("dir","ltr"),this.expand=k(C),this.expandChild=k(W),this.expand.appendChild(this.expandChild),e.appendChild(this.expand),this.shrink=k(C),k("position: absolute; left: 0; top: 0; transition: 0s;width: 200%; height: 200%;"));this.shrink.appendChild(t),e.appendChild(this.shrink)},I.prototype.reset=function(){var e=this.expandChild,e=(e.style.width=1e5+"px",e.style.height=1e5+"px",this.expand),e=(e.scrollLeft=1e5,e.scrollTop=1e5,this.shrink);e.scrollLeft=1e5,e.scrollTop=1e5},I.prototype.subscribe=function(){var e=this;this.ngZone.runOutsideAngular(function(){e.subscription=r.merge(r.fromEvent(e.shrink,"scroll"),r.fromEvent(e.expand,"scroll")).subscribe(function(){e.checkSize()})})},I);function I(e,t,n){e=E.call(this,e)||this;return e.element=t,e.ngZone=n,e}var z,H="undefined"!=typeof ResizeObserver,S=(B(O,z=D),O.supported=function(){return H},O.prototype.destroy=function(){z.prototype.destroy.call(this),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.parentElement=null},O.prototype.init=function(){var e=this;this.parentElement=this.element.nativeElement.parentElement,this.initSize(),this.state=2,this.ngZone.runOutsideAngular(function(){e.resizeObserver=new ResizeObserver(function(){e.checkSize()}),e.resizeObserver.observe(e.parentElement)})},O);function O(e,t,n){e=z.call(this,e)||this;return e.element=t,e.ngZone=n,e}w.prototype.schedule=function(e,t){var n=this;this.scheduled.push({instance:e,method:t}),this.subscription||this.ngZone.runOutsideAngular(function(){n.subscription=r.from(n.resolvedPromise).subscribe(n.flush)})},w.prototype.isScheduled=function(t){return Boolean(this.scheduled.find(function(e){return e.instance===t}))},w.prototype.cancel=function(e){for(var t=this.scheduled,n=t.length,r=0;r<n;r++)if(t[r].instance===e)return t.splice(r,1),void(t.length||this.unsubscribe())},w.prototype.ngOnDestroy=function(){this.unsubscribe()},w.prototype.unsubscribe=function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)},w.prototype.flush=function(){this.scheduled.forEach(function(e){e.method.call(e.instance)}),this.scheduled=[],this.unsubscribe()};var x=w;function w(e){this.ngZone=e,this.scheduled=[],this.resolvedPromise=Promise.resolve(null),this.flush=this.flush.bind(this)}x.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:x,deps:[{token:a.NgZone}],target:a.ɵɵFactoryTarget.Injectable}),x.ɵprov=a.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:x}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:x,decorators:[{type:o.Injectable}],ctorParameters:function(){return[{type:a.NgZone}]}});V.prototype.ngAfterViewChecked=function(){this.resizeService.checkChanges()},V.prototype.ngOnDestroy=function(){this.subscription.unsubscribe(),this.resizeService.destroy()},V.prototype.acceptSize=function(e){this.resizeService.acceptSize(e)};D=V;function V(e,t,n){var r=this,i=(this.rateLimit=10,this.resize=new o.EventEmitter,S.supported()?S:_),i=(this.resizeService=new i(e,t,n),1e3/(this.rateLimit||10));this.subscription=this.resizeService.resize.pipe(M.auditTime(i)).subscribe(function(){r.resizeService.acceptedSize||r.resize.emit()})}D.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:D,deps:[{token:x},{token:a.ElementRef},{token:a.NgZone}],target:a.ɵɵFactoryTarget.Component}),D.ɵcmp=a.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:D,selector:"kendo-resize-sensor",inputs:{rateLimit:"rateLimit"},outputs:{resize:"resize"},ngImport:a,template:"",isInline:!0}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:D,decorators:[{type:o.Component,args:[{selector:"kendo-resize-sensor",template:""}]}],ctorParameters:function(){return[{type:x},{type:a.ElementRef},{type:a.NgZone}]},propDecorators:{rateLimit:[{type:o.Input}],resize:[{type:o.Output}]}});function U(){}var j=[D],A=function(){},j=(A.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:A,deps:[],target:a.ɵɵFactoryTarget.NgModule}),A.ɵmod=a.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:A,declarations:[D],exports:[D]}),A.ɵinj=a.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:A,providers:[x]}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:A,decorators:[{type:o.NgModule,args:[{declarations:[j],exports:[j],providers:[x]}]}]}),e.Keys=void 0,(j=e.Keys||(e.Keys={}))[j.Alt=18]="Alt",j[j.ArrowDown=40]="ArrowDown",j[j.ArrowLeft=37]="ArrowLeft",j[j.ArrowRight=39]="ArrowRight",j[j.ArrowUp=38]="ArrowUp",j[j.Backspace=8]="Backspace",j[j.Control=17]="Control",j[j.Delete=46]="Delete",j[j.Digit0=48]="Digit0",j[j.Digit1=49]="Digit1",j[j.Digit2=50]="Digit2",j[j.Digit3=51]="Digit3",j[j.Digit4=52]="Digit4",j[j.Digit5=53]="Digit5",j[j.Digit6=54]="Digit6",j[j.Digit7=55]="Digit7",j[j.Digit8=56]="Digit8",j[j.Digit9=57]="Digit9",j[j.End=35]="End",j[j.Enter=13]="Enter",j[j.Escape=27]="Escape",j[j.F1=112]="F1",j[j.F2=113]="F2",j[j.F10=121]="F10",j[j.Home=36]="Home",j[j.Insert=45]="Insert",j[j.KeyA=65]="KeyA",j[j.KeyB=66]="KeyB",j[j.KeyC=67]="KeyC",j[j.KeyD=68]="KeyD",j[j.KeyE=69]="KeyE",j[j.KeyF=70]="KeyF",j[j.KeyG=71]="KeyG",j[j.KeyH=72]="KeyH",j[j.KeyI=73]="KeyI",j[j.KeyJ=74]="KeyJ",j[j.KeyK=75]="KeyK",j[j.KeyL=76]="KeyL",j[j.KeyM=77]="KeyM",j[j.KeyN=78]="KeyN",j[j.KeyO=79]="KeyO",j[j.KeyP=80]="KeyP",j[j.KeyQ=81]="KeyQ",j[j.KeyR=82]="KeyR",j[j.KeyS=83]="KeyS",j[j.KeyT=84]="KeyT",j[j.KeyU=85]="KeyU",j[j.KeyV=86]="KeyV",j[j.KeyW=87]="KeyW",j[j.KeyX=88]="KeyX",j[j.KeyY=89]="KeyY",j[j.KeyZ=90]="KeyZ",j[j.NumpadDecimal=110]="NumpadDecimal",j[j.PageDown=34]="PageDown",j[j.PageUp=33]="PageUp",j[j.Shift=16]="Shift",j[j.Space=32]="Space",j[j.Tab=9]="Tab",P.prototype.preventDefault=function(){this.prevented=!0},P.prototype.isDefaultPrevented=function(){return this.prevented},P);function P(){this.prevented=!1}var q=function(){return i()&&document.createElement};var F=function(){var e,t;this.changes=new o.EventEmitter,"undefined"!=typeof window&&i()&&document.body.style.setProperty("--kendo-scrollbar-width",(t=0,q()&&((e=document.createElement("div")).style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",e.innerHTML=" ",document.body.appendChild(e),t=e.offsetWidth-e.scrollWidth,document.body.removeChild(e)),t+"px"))};F.ɵfac=a.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:F,deps:[],target:a.ɵɵFactoryTarget.Injectable}),F.ɵprov=a.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:F,providedIn:"root"}),a.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:a,type:F,decorators:[{type:o.Injectable,args:[{providedIn:"root"}]}],ctorParameters:function(){return[]}}),e.DraggableDirective=t,e.DraggableModule=g,e.EventsModule=b,e.EventsOutsideAngularDirective=n,e.KendoInput=U,e.PreventableEvent=j,e.ResizeBatchService=x,e.ResizeCompatService=_,e.ResizeObserverService=S,e.ResizeSensorComponent=D,e.ResizeSensorModule=A,e.ScrollbarWidthService=F,e.anyChanged=function(e,t,n){return void 0===n&&(n=!0),e.some(function(e){return s(e,t,n)})},e.closest=u,e.closestInScope=function(e,t,n){for(;e&&e!==n&&!t(e);)e=e.parentNode;if(e!==n)return e},e.contains=function(t,n,e){if(void 0===e&&(e=!1),!u(n,function(e){return e===t}))return!1;var r=u(n,function(e){return e===n});return r&&(e||r!==t)},e.findElement=l,e.findFocusable=function(e,t){return void 0===t&&(t=!0),l(e,function(e){return p(e,t)})},e.findFocusableChild=function(e,t){return void 0===t&&(t=!0),l(e,function(e){return p(e,t)},!1)},e.guid=function(){for(var e="",t=0;t<32;t++){var n=16*Math.random()|0;8!==t&&12!==t&&16!==t&&20!==t||(e+="-"),e+=(12===t?4:16===t?3&n|8:n).toString(16)}return e},e.hasClasses=h,e.hasObservers=function(e){return e&&0<e.observers.length},e.isChanged=s,e.isDocumentAvailable=i,e.isFocusable=y,e.isFocusableWithTabKey=p,e.isVisible=f,e.matchesClasses=function(t){return function(e){return h(e,t)}},e.matchesNodeName=function(t){return m[t]||(m[t]=function(e){return String(e.nodeName).toLowerCase()===t.toLowerCase()}),m[t]},e.rtlScrollPosition=function(e,t,n){var r=e;return n<0?r=-e:0<n&&(r=t.scrollWidth-t.offsetWidth-e),r},Object.defineProperty(e,"__esModule",{value:!0})});
|
package/esm2015/main.js
CHANGED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { Injectable, EventEmitter } from '@angular/core';
|
|
6
|
+
import { isDocumentAvailable } from './is-document-available';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
const canCreateElement = () => isDocumentAvailable() && document.createElement;
|
|
9
|
+
const propName = '--kendo-scrollbar-width';
|
|
10
|
+
function scrollbarWidth() {
|
|
11
|
+
let scrollbarWidth = 0;
|
|
12
|
+
if (canCreateElement()) {
|
|
13
|
+
const div = document.createElement('div');
|
|
14
|
+
div.style.cssText = 'overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block';
|
|
15
|
+
div.innerHTML = ' ';
|
|
16
|
+
document.body.appendChild(div);
|
|
17
|
+
scrollbarWidth = div.offsetWidth - div.scrollWidth;
|
|
18
|
+
document.body.removeChild(div);
|
|
19
|
+
}
|
|
20
|
+
return scrollbarWidth;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @hidden
|
|
24
|
+
*/
|
|
25
|
+
export class ScrollbarWidthService {
|
|
26
|
+
constructor() {
|
|
27
|
+
this.changes = new EventEmitter();
|
|
28
|
+
if (typeof window !== 'undefined' && isDocumentAvailable()) {
|
|
29
|
+
document.body.style.setProperty(propName, `${scrollbarWidth()}px`);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
ScrollbarWidthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ScrollbarWidthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
34
|
+
ScrollbarWidthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ScrollbarWidthService, providedIn: 'root' });
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ScrollbarWidthService, decorators: [{
|
|
36
|
+
type: Injectable,
|
|
37
|
+
args: [{
|
|
38
|
+
providedIn: 'root'
|
|
39
|
+
}]
|
|
40
|
+
}], ctorParameters: function () { return []; } });
|
|
@@ -701,9 +701,43 @@ class PreventableEvent {
|
|
|
701
701
|
}
|
|
702
702
|
}
|
|
703
703
|
|
|
704
|
+
const canCreateElement = () => isDocumentAvailable() && document.createElement;
|
|
705
|
+
const propName = '--kendo-scrollbar-width';
|
|
706
|
+
function scrollbarWidth() {
|
|
707
|
+
let scrollbarWidth = 0;
|
|
708
|
+
if (canCreateElement()) {
|
|
709
|
+
const div = document.createElement('div');
|
|
710
|
+
div.style.cssText = 'overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block';
|
|
711
|
+
div.innerHTML = ' ';
|
|
712
|
+
document.body.appendChild(div);
|
|
713
|
+
scrollbarWidth = div.offsetWidth - div.scrollWidth;
|
|
714
|
+
document.body.removeChild(div);
|
|
715
|
+
}
|
|
716
|
+
return scrollbarWidth;
|
|
717
|
+
}
|
|
718
|
+
/**
|
|
719
|
+
* @hidden
|
|
720
|
+
*/
|
|
721
|
+
class ScrollbarWidthService {
|
|
722
|
+
constructor() {
|
|
723
|
+
this.changes = new EventEmitter();
|
|
724
|
+
if (typeof window !== 'undefined' && isDocumentAvailable()) {
|
|
725
|
+
document.body.style.setProperty(propName, `${scrollbarWidth()}px`);
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
ScrollbarWidthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ScrollbarWidthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
730
|
+
ScrollbarWidthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ScrollbarWidthService, providedIn: 'root' });
|
|
731
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ScrollbarWidthService, decorators: [{
|
|
732
|
+
type: Injectable,
|
|
733
|
+
args: [{
|
|
734
|
+
providedIn: 'root'
|
|
735
|
+
}]
|
|
736
|
+
}], ctorParameters: function () { return []; } });
|
|
737
|
+
|
|
704
738
|
/**
|
|
705
739
|
* Generated bundle index. Do not edit.
|
|
706
740
|
*/
|
|
707
741
|
|
|
708
|
-
export { DraggableDirective, DraggableModule, EventsModule, EventsOutsideAngularDirective, KendoInput, Keys, PreventableEvent, ResizeBatchService, ResizeCompatService, ResizeObserverService, ResizeSensorComponent, ResizeSensorModule, anyChanged, closest, closestInScope, contains, findElement, findFocusable, findFocusableChild, guid, hasClasses, hasObservers, isChanged, isDocumentAvailable, isFocusable, isFocusableWithTabKey, isVisible, matchesClasses, matchesNodeName, rtlScrollPosition };
|
|
742
|
+
export { DraggableDirective, DraggableModule, EventsModule, EventsOutsideAngularDirective, KendoInput, Keys, PreventableEvent, ResizeBatchService, ResizeCompatService, ResizeObserverService, ResizeSensorComponent, ResizeSensorModule, ScrollbarWidthService, anyChanged, closest, closestInScope, contains, findElement, findFocusable, findFocusableChild, guid, hasClasses, hasObservers, isChanged, isDocumentAvailable, isFocusable, isFocusableWithTabKey, isVisible, matchesClasses, matchesNodeName, rtlScrollPosition };
|
|
709
743
|
|
package/main.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { EventEmitter } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
export declare class ScrollbarWidthService {
|
|
11
|
+
changes: EventEmitter<any>;
|
|
12
|
+
constructor();
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollbarWidthService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ScrollbarWidthService>;
|
|
15
|
+
}
|