@progress/kendo-angular-common 3.0.0-next.202202171036 → 3.0.0-next.202204011251
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.
- package/bundles/kendo-angular-common.umd.js +1 -1
- package/esm2015/events/events-outside-angular.directive.js +0 -1
- package/esm2015/resize-sensor/resize-batch.service.js +0 -1
- package/esm2015/utils/any-changed.js +3 -0
- package/esm2015/utils/guid.js +3 -0
- package/esm2015/utils/has-observers.js +3 -0
- package/esm2015/utils/is-changed.js +3 -0
- package/esm2015/utils/is-document-available.js +3 -0
- package/fesm2015/kendo-angular-common.js +15 -2
- package/package.json +3 -2
- package/utils/any-changed.d.ts +3 -0
- package/utils/guid.d.ts +3 -0
- package/utils/has-observers.d.ts +3 -0
- package/utils/is-changed.d.ts +3 -0
- package/utils/is-document-available.d.ts +3 -0
|
@@ -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,p,l){"use strict";function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function d(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 g(){return"undefined"!=typeof document}function y(e,t,n){return void 0===n&&(n=!0),!(void 0===t[e]||t[e].isFirstChange()&&n||t[e].previousValue===t[e].currentValue)}var r=d(o),f=h(t),t=(m.prototype.ngOnInit=function(){this.toggleDraggable()},m.prototype.ngOnChanges=function(e){y("enableDrag",e)&&this.toggleDraggable()},m.prototype.ngOnDestroy=function(){this.destroyDraggable()},m.prototype.toggleDraggable=function(){var t=this;g()&&(this.destroyDraggable(),this.enableDrag&&(this.draggable=new f.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)})))},m.prototype.destroyDraggable=function(){this.draggable&&(this.draggable.destroy(),this.draggable=null)},m);function m(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=r.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:t,deps:[{token:r.ElementRef},{token:r.NgZone}],target:r.ɵɵFactoryTarget.Directive}),t.ɵdir=r.ɵɵ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:r}),r.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:t,decorators:[{type:o.Directive,args:[{selector:"[kendoDraggable]"}]}],ctorParameters:function(){return[{type:r.ElementRef},{type:r.NgZone}]},propDecorators:{enableDrag:[{type:o.Input}],kendoPress:[{type:o.Output}],kendoDrag:[{type:o.Output}],kendoRelease:[{type:o.Output}]}});function v(e,t){for(;e&&!t(e);)e=e.parentNode;return e}function b(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=b(e,t);if(r)return r}e=e.nextSibling}}}function D(e,t){if(void 0===t&&(t=!0),!C(e))return!1;var n=e.getAttribute("tabIndex");return(!t||z(e))&&"-1"!==n}function K(e){return String(e).trim().split(" ")}function k(e,t){var n=K(t);return Boolean(K(e.className).find(function(e){return 0<=n.indexOf(e)}))}var i=function(){},E=(i.ɵfac=r.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:i,deps:[],target:r.ɵɵFactoryTarget.NgModule}),i.ɵmod=r.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:i,declarations:[t],imports:[n.CommonModule],exports:[t]}),i.ɵinj=r.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:i,imports:[[n.CommonModule]]}),r.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:i,decorators:[{type:o.NgModule,args:[{declarations:[t],exports:[t],imports:[n.CommonModule]}]}]}),/^(?:a|input|select|option|textarea|button|object)$/i),C=function(e){if(!e.tagName)return!1;var t=e.tagName.toLowerCase(),n=Boolean(e.getAttribute("tabIndex"));return!e.disabled&&E.test(t)||n},z=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},O={};S.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]))}))},S.prototype.ngOnDestroy=function(){if(this.subscriptions){for(var e=0;e<this.subscriptions.length;e++)this.subscriptions[e]();this.subscriptions=null}};n=S;function S(e,t,n){this.element=e,this.ngZone=t,this.renderer=n,this.events={}}n.ɵfac=r.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:n,deps:[{token:r.ElementRef},{token:r.NgZone},{token:r.Renderer2}],target:r.ɵɵFactoryTarget.Directive}),n.ɵdir=r.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:n,selector:"[kendoEventsOutsideAngular]",inputs:{events:["kendoEventsOutsideAngular","events"],scope:"scope"},ngImport:r}),r.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:n,decorators:[{type:o.Directive,args:[{selector:"[kendoEventsOutsideAngular]"}]}],ctorParameters:function(){return[{type:r.ElementRef},{type:r.NgZone},{type:r.Renderer2}]},propDecorators:{events:[{type:o.Input,args:["kendoEventsOutsideAngular"]}],scope:[{type:o.Input}]}});var I=function(){},x=(I.ɵfac=r.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:I,deps:[],target:r.ɵɵFactoryTarget.NgModule}),I.ɵmod=r.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:I,declarations:[n],exports:[n]}),I.ɵinj=r.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:I}),r.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:I,decorators:[{type:o.NgModule,args:[{declarations:[n],exports:[n]}]}]}),function(e,t){return(x=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 w(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}x(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}Object.create;Object.create;V.prototype.acceptSize=function(e){void 0===e&&(e=this.measure()),this.lastWidth=e.width,this.lastHeight=e.height,this.acceptedSize=!0},V.prototype.checkChanges=function(){g()&&0===this.state&&(this.state=1,this.resizeBatchService.schedule(this,this.init))},V.prototype.destroy=function(){this.resizeBatchService.cancel(this)},V.prototype.checkSize=function(){if(this.parentElement){var e=this.measure(),t=e.width,e=e.height;if(!(t===this.lastWidth&&e===this.lastHeight))return this.lastWidth=t,this.lastHeight=e,this.acceptedSize=!1,this.resize.emit(),!0}},V.prototype.initSize=function(){var e=this.measure();this.lastWidth=e.width,this.lastHeight=e.height},V.prototype.measure=function(){var e=0,t=0;return this.parentElement&&(t=this.parentElement.offsetHeight,e=this.parentElement.offsetWidth),{height:t,width:e}};var s=V;function V(e){this.resizeBatchService=e,this.resize=new o.EventEmitter,this.acceptedSize=!1,this.state=0}function A(e){var t=document.createElement("div");return t.style.cssText=e,t}var j,N="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",P="position: absolute; left: 0; top: 0; transition: 0s;",F=(w(a,j=s),a.prototype.checkChanges=function(){2!==this.state?j.prototype.checkChanges.call(this):this.resizeBatchService.isScheduled(this)||this.resizeBatchService.schedule(this,this.checkSize)},a.prototype.destroy=function(){var e;j.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)},a.prototype.checkSize=function(){if(j.prototype.checkSize.call(this))return this.reset(),!0},a.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()},a.prototype.render=function(){var e=this.element.nativeElement,t=(e.style.cssText=N,e.setAttribute("dir","ltr"),this.expand=A(N),this.expandChild=A(P),this.expand.appendChild(this.expandChild),e.appendChild(this.expand),this.shrink=A(N),A("position: absolute; left: 0; top: 0; transition: 0s;width: 200%; height: 200%;"));this.shrink.appendChild(t),e.appendChild(this.shrink)},a.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},a.prototype.subscribe=function(){var e=this;this.ngZone.runOutsideAngular(function(){e.subscription=l.merge(l.fromEvent(e.shrink,"scroll"),l.fromEvent(e.expand,"scroll")).subscribe(function(){e.checkSize()})})},a);function a(e,t,n){e=j.call(this,e)||this;return e.element=t,e.ngZone=n,e}var M,R="undefined"!=typeof ResizeObserver,T=(w(Z,M=s),Z.supported=function(){return R},Z.prototype.destroy=function(){M.prototype.destroy.call(this),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.parentElement=null},Z.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)})},Z);function Z(e,t,n){e=M.call(this,e)||this;return e.element=t,e.ngZone=n,e}B.prototype.schedule=function(e,t){var n=this;this.scheduled.push({instance:e,method:t}),this.subscription||this.ngZone.runOutsideAngular(function(){n.subscription=l.from(n.resolvedPromise).subscribe(n.flush)})},B.prototype.isScheduled=function(t){return Boolean(this.scheduled.find(function(e){return e.instance===t}))},B.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())},B.prototype.ngOnDestroy=function(){this.unsubscribe()},B.prototype.unsubscribe=function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)},B.prototype.flush=function(){this.scheduled.forEach(function(e){e.method.call(e.instance)}),this.scheduled=[],this.unsubscribe()};var c=B;function B(e){this.ngZone=e,this.scheduled=[],this.resolvedPromise=Promise.resolve(null),this.flush=this.flush.bind(this)}c.ɵfac=r.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:c,deps:[{token:r.NgZone}],target:r.ɵɵFactoryTarget.Injectable}),c.ɵprov=r.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:c}),r.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:c,decorators:[{type:o.Injectable}],ctorParameters:function(){return[{type:r.NgZone}]}});L.prototype.ngAfterViewChecked=function(){this.resizeService.checkChanges()},L.prototype.ngOnDestroy=function(){this.subscription.unsubscribe(),this.resizeService.destroy()},L.prototype.acceptSize=function(e){this.resizeService.acceptSize(e)};s=L;function L(e,t,n){var r=this,i=(this.rateLimit=10,this.resize=new o.EventEmitter,T.supported()?T:F),i=(this.resizeService=new i(e,t,n),1e3/(this.rateLimit||10));this.subscription=this.resizeService.resize.pipe(p.auditTime(i)).subscribe(function(){r.resizeService.acceptedSize||r.resize.emit()})}s.ɵfac=r.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:s,deps:[{token:c},{token:r.ElementRef},{token:r.NgZone}],target:r.ɵɵFactoryTarget.Component}),s.ɵcmp=r.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:s,selector:"kendo-resize-sensor",inputs:{rateLimit:"rateLimit"},outputs:{resize:"resize"},ngImport:r,template:"",isInline:!0}),r.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:s,decorators:[{type:o.Component,args:[{selector:"kendo-resize-sensor",template:""}]}],ctorParameters:function(){return[{type:c},{type:r.ElementRef},{type:r.NgZone}]},propDecorators:{rateLimit:[{type:o.Input}],resize:[{type:o.Output}]}});function _(){}var u=[s],W=function(){},u=(W.ɵfac=r.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:W,deps:[],target:r.ɵɵFactoryTarget.NgModule}),W.ɵmod=r.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:W,declarations:[s],exports:[s]}),W.ɵinj=r.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:W,providers:[c]}),r.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:r,type:W,decorators:[{type:o.NgModule,args:[{declarations:[u],exports:[u],providers:[c]}]}]}),e.Keys=void 0,(u=e.Keys||(e.Keys={}))[u.Alt=18]="Alt",u[u.ArrowDown=40]="ArrowDown",u[u.ArrowLeft=37]="ArrowLeft",u[u.ArrowRight=39]="ArrowRight",u[u.ArrowUp=38]="ArrowUp",u[u.Backspace=8]="Backspace",u[u.Control=17]="Control",u[u.Delete=46]="Delete",u[u.Digit0=48]="Digit0",u[u.Digit1=49]="Digit1",u[u.Digit2=50]="Digit2",u[u.Digit3=51]="Digit3",u[u.Digit4=52]="Digit4",u[u.Digit5=53]="Digit5",u[u.Digit6=54]="Digit6",u[u.Digit7=55]="Digit7",u[u.Digit8=56]="Digit8",u[u.Digit9=57]="Digit9",u[u.End=35]="End",u[u.Enter=13]="Enter",u[u.Escape=27]="Escape",u[u.F1=112]="F1",u[u.F2=113]="F2",u[u.F10=121]="F10",u[u.Home=36]="Home",u[u.Insert=45]="Insert",u[u.KeyA=65]="KeyA",u[u.KeyB=66]="KeyB",u[u.KeyC=67]="KeyC",u[u.KeyD=68]="KeyD",u[u.KeyE=69]="KeyE",u[u.KeyF=70]="KeyF",u[u.KeyG=71]="KeyG",u[u.KeyH=72]="KeyH",u[u.KeyI=73]="KeyI",u[u.KeyJ=74]="KeyJ",u[u.KeyK=75]="KeyK",u[u.KeyL=76]="KeyL",u[u.KeyM=77]="KeyM",u[u.KeyN=78]="KeyN",u[u.KeyO=79]="KeyO",u[u.KeyP=80]="KeyP",u[u.KeyQ=81]="KeyQ",u[u.KeyR=82]="KeyR",u[u.KeyS=83]="KeyS",u[u.KeyT=84]="KeyT",u[u.KeyU=85]="KeyU",u[u.KeyV=86]="KeyV",u[u.KeyW=87]="KeyW",u[u.KeyX=88]="KeyX",u[u.KeyY=89]="KeyY",u[u.KeyZ=90]="KeyZ",u[u.NumpadDecimal=110]="NumpadDecimal",u[u.PageDown=34]="PageDown",u[u.PageUp=33]="PageUp",u[u.Shift=16]="Shift",u[u.Space=32]="Space",u[u.Tab=9]="Tab",H.prototype.preventDefault=function(){this.prevented=!0},H.prototype.isDefaultPrevented=function(){return this.prevented},H);function H(){this.prevented=!1}e.DraggableDirective=t,e.DraggableModule=i,e.EventsModule=I,e.EventsOutsideAngularDirective=n,e.KendoInput=_,e.PreventableEvent=u,e.ResizeBatchService=c,e.ResizeCompatService=F,e.ResizeObserverService=T,e.ResizeSensorComponent=s,e.ResizeSensorModule=W,e.anyChanged=function(e,t,n){return void 0===n&&(n=!0),e.some(function(e){return y(e,t,n)})},e.closest=v,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),!v(n,function(e){return e===t}))return!1;var r=v(n,function(e){return e===n});return r&&(e||r!==t)},e.findElement=b,e.findFocusable=function(e,t){return void 0===t&&(t=!0),b(e,function(e){return D(e,t)})},e.findFocusableChild=function(e,t){return void 0===t&&(t=!0),b(e,function(e){return D(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=k,e.hasObservers=function(e){return e&&0<e.observers.length},e.isChanged=y,e.isDocumentAvailable=g,e.isFocusable=C,e.isFocusableWithTabKey=D,e.isVisible=z,e.matchesClasses=function(t){return function(e){return k(e,t)}},e.matchesNodeName=function(t){return O[t]||(O[t]=function(e){return String(e.nodeName).toLowerCase()===t.toLowerCase()}),O[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,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})});
|
|
@@ -3,4 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { isChanged } from './is-changed';
|
|
6
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
6
9
|
export const anyChanged = (propertyNames, changes, skipFirstChange = true) => propertyNames.some(name => isChanged(name, changes, skipFirstChange));
|
package/esm2015/utils/guid.js
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
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
|
+
/**
|
|
6
|
+
* @hidden
|
|
7
|
+
*/
|
|
5
8
|
export const guid = () => {
|
|
6
9
|
let id = "";
|
|
7
10
|
for (let i = 0; i < 32; i++) {
|
|
@@ -2,4 +2,7 @@
|
|
|
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
|
+
/**
|
|
6
|
+
* @hidden
|
|
7
|
+
*/
|
|
5
8
|
export const hasObservers = (emitter) => emitter && emitter.observers.length > 0;
|
|
@@ -2,6 +2,9 @@
|
|
|
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
|
+
/**
|
|
6
|
+
* @hidden
|
|
7
|
+
*/
|
|
5
8
|
export const isChanged = (propertyName, changes, skipFirstChange = true) => (typeof changes[propertyName] !== 'undefined' &&
|
|
6
9
|
(!changes[propertyName].isFirstChange() || !skipFirstChange) &&
|
|
7
10
|
changes[propertyName].previousValue !== changes[propertyName].currentValue);
|
|
@@ -2,4 +2,7 @@
|
|
|
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
|
+
/**
|
|
6
|
+
* @hidden
|
|
7
|
+
*/
|
|
5
8
|
export const isDocumentAvailable = () => typeof document !== 'undefined';
|
|
@@ -9,16 +9,31 @@ import { CommonModule } from '@angular/common';
|
|
|
9
9
|
import { auditTime } from 'rxjs/operators';
|
|
10
10
|
import { merge, fromEvent, from } from 'rxjs';
|
|
11
11
|
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
12
15
|
const isDocumentAvailable = () => typeof document !== 'undefined';
|
|
13
16
|
|
|
17
|
+
/**
|
|
18
|
+
* @hidden
|
|
19
|
+
*/
|
|
14
20
|
const isChanged = (propertyName, changes, skipFirstChange = true) => (typeof changes[propertyName] !== 'undefined' &&
|
|
15
21
|
(!changes[propertyName].isFirstChange() || !skipFirstChange) &&
|
|
16
22
|
changes[propertyName].previousValue !== changes[propertyName].currentValue);
|
|
17
23
|
|
|
24
|
+
/**
|
|
25
|
+
* @hidden
|
|
26
|
+
*/
|
|
18
27
|
const anyChanged = (propertyNames, changes, skipFirstChange = true) => propertyNames.some(name => isChanged(name, changes, skipFirstChange));
|
|
19
28
|
|
|
29
|
+
/**
|
|
30
|
+
* @hidden
|
|
31
|
+
*/
|
|
20
32
|
const hasObservers = (emitter) => emitter && emitter.observers.length > 0;
|
|
21
33
|
|
|
34
|
+
/**
|
|
35
|
+
* @hidden
|
|
36
|
+
*/
|
|
22
37
|
const guid = () => {
|
|
23
38
|
let id = "";
|
|
24
39
|
for (let i = 0; i < 32; i++) {
|
|
@@ -217,7 +232,6 @@ function rtlScrollPosition(position, element, initial) {
|
|
|
217
232
|
return result;
|
|
218
233
|
}
|
|
219
234
|
|
|
220
|
-
/* eslint-disable no-input-rename */
|
|
221
235
|
/**
|
|
222
236
|
* @hidden
|
|
223
237
|
*/
|
|
@@ -461,7 +475,6 @@ class ResizeObserverService extends ResizeService {
|
|
|
461
475
|
}
|
|
462
476
|
}
|
|
463
477
|
|
|
464
|
-
/* eslint-disable align */
|
|
465
478
|
/**
|
|
466
479
|
* @hidden
|
|
467
480
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-common",
|
|
3
|
-
"version": "3.0.0-next.
|
|
3
|
+
"version": "3.0.0-next.202204011251",
|
|
4
4
|
"description": "Kendo UI for Angular - Utility Package",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@telerik/kendo-draggable": "^2.0.0",
|
|
22
|
-
"tslib": "^2.3.1"
|
|
22
|
+
"tslib": "^2.3.1",
|
|
23
|
+
"@progress/kendo-schematics": "next"
|
|
23
24
|
},
|
|
24
25
|
"peerDependencies": {
|
|
25
26
|
"@angular/animations": "^12.0.0 || ^13.0.0",
|
package/utils/any-changed.d.ts
CHANGED
|
@@ -3,4 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { SimpleChanges } from '@angular/core';
|
|
6
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
6
9
|
export declare const anyChanged: (propertyNames: string[], changes: SimpleChanges, skipFirstChange?: boolean) => boolean;
|
package/utils/guid.d.ts
CHANGED
|
@@ -2,4 +2,7 @@
|
|
|
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
|
+
/**
|
|
6
|
+
* @hidden
|
|
7
|
+
*/
|
|
5
8
|
export declare const guid: () => string;
|
package/utils/has-observers.d.ts
CHANGED
|
@@ -3,4 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { EventEmitter } from '@angular/core';
|
|
6
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
6
9
|
export declare const hasObservers: (emitter: EventEmitter<any>) => boolean;
|
package/utils/is-changed.d.ts
CHANGED
|
@@ -3,4 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { SimpleChanges } from '@angular/core';
|
|
6
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
6
9
|
export declare const isChanged: (propertyName: string, changes: SimpleChanges, skipFirstChange?: boolean) => boolean;
|
|
@@ -2,4 +2,7 @@
|
|
|
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
|
+
/**
|
|
6
|
+
* @hidden
|
|
7
|
+
*/
|
|
5
8
|
export declare const isDocumentAvailable: () => boolean;
|