UNPKG

@ngx-performance-ui/core

Version:
2 lines 20 kB
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("just-compare"),require("text-mask-core/dist/textMaskCore"),require("rxjs"),require("rxjs/operators"),require("@angular/common"),require("@angular/common/http"),require("@angular/core"),require("@angular/forms"),require("@angular/router"),require("@ngxs/store"),require("angular2-text-mask")):"function"==typeof define&&define.amd?define("@ngx-performance-ui/core",["exports","just-compare","text-mask-core/dist/textMaskCore","rxjs","rxjs/operators","@angular/common","@angular/common/http","@angular/core","@angular/forms","@angular/router","@ngxs/store","angular2-text-mask"],t):t((e["ngx-performance-ui"]=e["ngx-performance-ui"]||{},e["ngx-performance-ui"].core={}),e.compare,e.textMaskCore,e.rxjs,e.rxjs.operators,e.ng.common,e.ng.common.http,e.ng.core,e.ng.forms,e.ng.router,e.i1$1,e.angular2TextMask)}(this,function(o,t,r,i,a,u,n,s,c,l,p,f){"use strict";t=t&&t.hasOwnProperty("default")?t["default"]:t;var d=function(){function e(e){this.injector=e,this.valueFn=function(e){return e},this.valueLimitFn=function(e){return!1},this.cdRef=e.get(s.ChangeDetectorRef)}return Object.defineProperty(e.prototype,"value",{get:function(){return this._value||this.defaultValue},set:function(e){e=this.valueFn(e,this._value),!1===this.valueLimitFn(e,this._value)&&(this._value=e,this.notifyValueChange())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defaultValue",{get:function(){return this._value},enumerable:!0,configurable:!0}),e.prototype.notifyValueChange=function(){this.onChange&&this.onChange(this.value)},e.prototype.writeValue=function(e){var t=this;this._value=this.valueLimitFn(e,this._value)||e,setTimeout(function(){return t.cdRef.detectChanges()},0)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e},e.decorators=[{type:s.Component,args:[{template:""}]}],e.ctorParameters=function(){return[{type:s.Injector}]},e.propDecorators={disabled:[{type:s.Input}],id:[{type:s.Input}],ngModel:[{type:s.Input}],valueFn:[{type:s.Input}],valueLimitFn:[{type:s.Input}],value:[{type:s.Input}]},e}(),h=function(){function e(e){this.payload=e}return e.type="[EventListener] Publish",e}(),y=function(){function e(e){this.payload=e}return e.type="[EventListener] Add",e}(),g=function(){function e(e){this.payload=e}return e.type="[EventListener] Scroll Vertical",e}(),m=function(){function e(e){this.payload=e}return e.type="[EventListener] Remove",e}(),v=function(){function e(e){this.payload=e}return e.type="[Loader] Set Progress",e}(),b=function(){function e(){}return e.decorators=[{type:s.Component,args:[{selector:"p-router-outlet",template:"\n <router-outlet></router-outlet>\n "}]}],e}(),E={progress:!1},x=function(){function e(e){this.elRef=e,this.enable=!1,this.delay=0}return e.prototype.ngAfterViewInit=function(){var e=this;this.enable&&setTimeout(function(){return e.elRef.nativeElement.focus()},this.delay)},e.decorators=[{type:s.Directive,args:[{selector:"[autofocus]"}]}],e.ctorParameters=function(){return[{type:s.ElementRef}]},e.propDecorators={enable:[{type:s.Input,args:["autofocus"]}],delay:[{type:s.Input,args:["autofocusDelay"]}]},e}(),I=function(){function e(e){this.element=e,this.enabled=!0}return e.prototype.onInput=function(){this.enabled&&(this.element.nativeElement.style.overflow="hidden",this.element.nativeElement.style.height="auto",this.element.nativeElement.style.height=this.element.nativeElement.scrollHeight+"px")},e.prototype.ngAfterContentInit=function(){this.onInput()},e.decorators=[{type:s.Directive,args:[{selector:"[autosize]"}]}],e.ctorParameters=function(){return[{type:s.ElementRef}]},e.propDecorators={enabled:[{type:s.Input,args:["autosize"]}],onInput:[{type:s.HostListener,args:["input"]}]},e}(),O=function(){function e(e){this.elRef=e,this.pEllipsisEnabled=!0}return Object.defineProperty(e.prototype,"maxWidth",{get:function(){return this.pEllipsis||"100%"},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){var e=this;setTimeout(function(){e.title=e.title||e.elRef.nativeElement.innerText},0)},e.decorators=[{type:s.Directive,args:[{selector:"[pEllipsis]"}]}],e.ctorParameters=function(){return[{type:s.ElementRef}]},e.propDecorators={pEllipsis:[{type:s.Input}],maxWidth:[{type:s.HostBinding,args:["style.max-width"]}],title:[{type:s.HostBinding,args:["title"]},{type:s.Input}],pEllipsisEnabled:[{type:s.HostBinding,args:["class.p-ellipsis"]},{type:s.Input}]},e}(),C=function W(e,t){this.record=e,this.view=t},L=function(){function e(e,t,n){this.iterable=e,this.tempRef=t,this.vcRef=n}return Object.defineProperty(e.prototype,"compareFn",{get:function(){return this.compareBy||t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"containCompareFn",{get:function(){return this.containCompareBy||function(e,t){return-1<e.toLocaleLowerCase().indexOf(t.toLocaleLowerCase())}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"trackByFn",{get:function(){return this.trackBy||function(e,t){return void 0===t&&(t={}),t.id||e}},enumerable:!0,configurable:!0}),e.prototype.applyChanges=function(e,i){var a=this,s=[];e.forEachOperation(function(e,t,n){if(null==e.previousIndex){var r=a.vcRef.createEmbeddedView(a.tempRef,new u.NgForOfContext(null,i,-1,-1),n),o=new C(e,r);s.push(o)}else if(null==n)a.vcRef.remove(t);else{r=a.vcRef.get(t);a.vcRef.move(r,n);o=new C(e,r);s.push(o)}});for(var t=0;t<s.length;t++)s[t].view.context.$implicit=s[t].record.item;t=0;for(var n=this.vcRef.length;t<n;t++){var r=this.vcRef.get(t);r.context.index=t,r.context.count=n,r.context.ngForOf=i}e.forEachIdentityChange(function(e){a.vcRef.get(e.currentIndex).context.$implicit=e.item})},e.prototype.ngOnChanges=function(){var t=this;if(!Array.isArray(this.items))throw"pForOf must be an array!";var e=[];if(this.filterValue!==undefined){var n;if(this.filterContain){if("string"!=typeof this.filterValue)throw"filterValue must be a string when filterContain is true";n=this.containCompareFn}else n=this.compareFn;e=this.items.filter(function(e){return n(t.filterKey?e[t.filterKey]:e,t.filterValue)})}else e=this.items;if(!this.iterableDiffer&&e&&(this.iterableDiffer=this.iterable.find(e).create(this.trackByFn)),this.iterableDiffer){var r=this.iterableDiffer.diff(e);r&&this.applyChanges(r,e)}},e.decorators=[{type:s.Directive,args:[{selector:"[pFor]"}]}],e.ctorParameters=function(){return[{type:s.IterableDiffers},{type:s.TemplateRef},{type:s.ViewContainerRef}]},e.propDecorators={items:[{type:s.Input,args:["pForOf"]}],trackBy:[{type:s.Input,args:["pForTrackBy"]}],filterKey:[{type:s.Input,args:["pForFilterKey"]}],filterValue:[{type:s.Input,args:["pForFilterValue"]}],filterContain:[{type:s.Input,args:["pForFilterContain"]}],compareBy:[{type:s.Input,args:["pForCompareBy"]}],containCompareBy:[{type:s.Input,args:["pForContainCompareBy"]}]},e}(),R=function(){return(R=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function j(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(o=e[s])&&(a=(i<3?o(a):3<i?o(t,n,a):o(t,n))||a);return 3<i&&a&&Object.defineProperty(t,n,a),a}function A(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function D(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i["return"])&&n.call(i)}finally{if(o)throw o.error}}return a}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(D(arguments[t]));return e}function F(e){return null!==e}function S(e){return Array.isArray(e)?e:[e]}function k(e){var t=Object.getPrototypeOf(e),n=t.ngOnDestroy;if(!n||"function"!=typeof n)throw new Error((t.constructor.name||"Component")+' must have the "ngOnDestroy" method for takeUntilDestroy operator to work. You may use XcDestroy decorator on component class for quick implementation.');var r=new i.Subject;return t.ngOnDestroy=function(){n.apply(this,arguments),r.next(),r.complete()},a.takeUntil(r)}var M={"á":"a","Á":"A","À":"A","à":"a","Ă":"A","ă":"a","Ắ":"A","ắ":"a","ằ":"a","Ằ":"A","Ẵ":"A","ẵ":"a","ẳ":"a","Ẳ":"A","â":"a","Â":"A","ấ":"a","Ấ":"A","ầ":"a","Ầ":"A","ǎ":"a","Ǎ":"A","å":"a","Å":"A","Ǻ":"A","ǻ":"a","ä":"a","Ä":"A","a̋":"a","A̋":"A","Ã":"A","ã":"a","A̧":"A","a̧":"a","Ą":"A","ą":"a","ā":"a","Ā":"A","ȁ":"a","Ȁ":"A","ȃ":"a","Ȃ":"A","Ặ":"A","ặ":"a","æ":"a","Æ":"A","Ǽ":"A","ǽ":"a","b̌":"b","B̌":"B","b̧":"b","B̧":"B","ć":"c","Ć":"C","c̆":"c","C̆":"C","ĉ":"c","Ĉ":"C","č":"c","Č":"C","ċ":"c","Ċ":"C","Ç":"C","ç":"c","Ḉ":"C","ḉ":"c","č̣":"c","Č̣":"C","Ď":"D","ď":"d","ḑ":"d","Ḑ":"D","đ":"d","Đ":"D","Ð":"D","ð":"d","É":"E","é":"e","È":"E","è":"e","Ĕ":"E","ĕ":"e","ê":"e","Ê":"E","Ế":"E","ế":"e","ề":"e","Ề":"E","Ê̌":"E","ê̌":"e","Ě":"E","ě":"e","ë":"e","Ë":"E","e̋":"e","E̋":"E","Ė":"E","ė":"e","Ȩ":"E","ȩ":"e","ḝ":"e","Ḝ":"E","Ę":"E","ę":"e","Ē":"E","ē":"e","Ḗ":"E","ḗ":"e","Ḕ":"E","ḕ":"e","Ȅ":"E","ȅ":"e","Ȇ":"E","ȇ":"e","ɛ̧":"e","Ɛ̧":"E","f̌":"f","F̌":"F","ƒ":"f","ǵ":"g","Ǵ":"G","ğ":"g","Ğ":"G","Ĝ":"G","ĝ":"g","ǧ":"g","Ǧ":"G","Ġ":"G","ġ":"g","ģ":"g","Ģ":"G","Ĥ":"H","ĥ":"h","ȟ":"h","Ȟ":"H","ḩ":"h","Ḩ":"H","ħ":"h","Ħ":"H","ḫ":"h","Ḫ":"H","í":"i","Í":"I","Ì":"I","ì":"i","Ĭ":"I","ĭ":"i","Î":"I","î":"i","ǐ":"i","Ǐ":"I","ï":"i","Ï":"I","ḯ":"i","Ḯ":"I","I̋":"I","i̋":"i","ĩ":"i","Ĩ":"I","İ":"I","I̧":"I","i̧":"i","Į":"I","į":"i","ī":"i","Ī":"I","ȉ":"i","Ȉ":"I","ȋ":"i","Ȋ":"I","ij":"i","IJ":"I","ı":"i","Ɨ̧":"I","ɨ̧":"i","ĵ":"j","Ĵ":"J","ǰ":"j","J̌":"J","Ḱ":"K","ḱ":"k","k̆":"k","K̆":"K","ǩ":"k","Ǩ":"K","ķ":"k","Ķ":"K","Ĺ":"L","ĺ":"l","Ľ":"L","ľ":"l","ļ":"l","Ļ":"L","ł":"l","Ł":"l","Ŀ":"L","ŀ":"l","Ḿ":"M","ḿ":"m","m̆":"m","M̆":"M","m̌":"m","M̌":"M","M̧":"M","m̧":"m","Ń":"N","ń":"n","Ǹ":"N","ǹ":"n","n̆":"n","N̆":"N","Ň":"N","ň":"n","ñ":"n","Ñ":"N","Ņ":"N","ņ":"n","ó":"o","Ó":"O","Ò":"O","ò":"o","Ŏ":"O","ŏ":"o","Ô":"O","ô":"o","ố":"o","Ố":"O","ồ":"o","Ồ":"O","Ǒ":"O","ǒ":"o","Ö":"O","ö":"o","ő":"o","Ő":"O","Õ":"O","õ":"o","ṍ":"o","Ṍ":"O","Ø":"O","ø":"o","Ǿ":"O","ǿ":"o","o̧":"o","O̧":"O","Ō":"O","ō":"o","ṓ":"o","Ṓ":"O","ṑ":"o","Ṑ":"O","ȍ":"o","Ȍ":"O","ȏ":"o","Ȏ":"O","ơ":"o","Ơ":"O","œ":"o","Œ":"O","ṕ":"p","Ṕ":"P","p̆":"p","P̆":"P","P̌":"P","p̌":"p","Q̌":"Q","q̌":"q","Q̧":"Q","q̧":"q","ŕ":"r","Ŕ":"R","r̆":"r","R̆":"R","Ř":"R","ř":"r","ŗ":"r","Ŗ":"R","Ř̩":"R","ř̩":"r","ȑ":"r","Ȑ":"R","Ȓ":"R","ȓ":"r","Ś":"S","ś":"s","Ṥ":"S","ṥ":"s","Ŝ":"S","ŝ":"s","š":"s","Š":"S","Ṧ":"S","ṧ":"s","ş":"s","Ş":"S","ș":"s","Ș":"S","ſ":"s","T̆":"T","t̆":"t","Ť":"T","ť":"t","ţ":"t","Ţ":"T","Ț":"T","ț":"t","ŧ":"t","Ŧ":"T","Ú":"U","ú":"u","ù":"u","Ù":"U","ŭ":"u","Ŭ":"U","Û":"U","û":"u","ǔ":"u","Ǔ":"U","Ů":"U","ů":"u","ü":"u","Ü":"U","ǘ":"u","Ǘ":"U","Ǜ":"U","ǜ":"u","ǚ":"u","Ǚ":"U","ǖ":"u","Ǖ":"U","Ű":"U","ű":"u","ũ":"u","Ũ":"U","Ṹ":"U","ṹ":"u","u̧":"u","U̧":"U","Ų":"U","ų":"u","Ū":"U","ū":"u","ȕ":"u","Ȕ":"U","Ȗ":"U","ȗ":"u","ư":"u","Ư":"U","ứ":"u","Ứ":"U","ừ":"u","Ừ":"U","V̆":"V","v̆":"v","v̌":"v","V̌":"V","Ẃ":"W","ẃ":"w","Ẁ":"W","ẁ":"w","ŵ":"w","Ŵ":"W","W̌":"W","w̌":"w","x́":"x","X́":"X","X̆":"X","x̆":"x","x̌":"x","X̌":"X","X̧":"X","x̧":"x","Ý":"Y","ý":"y","Ỳ":"Y","ỳ":"y","y̆":"y","Y̆":"Y","Ŷ":"Y","ŷ":"y","y̌":"y","Y̌":"Y","ÿ":"y","Ÿ":"Y","ź":"z","Ź":"Z","Ž":"Z","ž":"z","Ż":"Z","ż":"z","Z̧":"Z","z̧":"z"},P=new RegExp(Object.keys(M).join("|"),"g");function U(e){if(e&&""!==e)return e.replace(P,function(e){return M[e]})}var e,T=function(){function e(e,t){this.elRef=e,this.renderer=t,this.value="",this["class"]="text-primary",this.hide=!1,this.hideWhenNull=!1,this.hideClass="d-none"}return Object.defineProperty(e.prototype,"pHighlight",{set:function(e){(e||""===e||"string"==typeof e)&&(this.value=U(e.replace(/\s+/gm," ")))},enumerable:!0,configurable:!0}),e.prototype.setHighlight=function(e){var i=this;if(!this.value||""===this.value||" "===this.value)return e;var t=(e=U(e.replace(/\s+/gm," "))).split(" ").filter(function(e){return""!==e}),n=this.value.split(" ").filter(function(e){return""!==e}),a=[];return n.forEach(function(n){a=w(a,t.map(function(e,t){return{text:e,index:t,value:n}}).filter(function(e){return-1<e.text.toLocaleLowerCase().indexOf(n.toLocaleLowerCase())}))}),a.length?t.reduce(function(e,t,n){var r=(a.find(function(e){return e.index===n})||{}).value;if(r){var o=t.substr(t.toLocaleLowerCase().indexOf(r.toLocaleLowerCase()),r.length);t=t.replace(RegExp(r,"mig"),'<span class="'+i["class"]+'">'+o+"</span>")}return e+(t+" ")},""):e},e.prototype.ngOnChanges=function(){var r=this;setTimeout(function(){var e=r.elRef.nativeElement,t=e.textContent;if(t){r.renderer.removeClass(e,r.hideClass);var n=r.setHighlight(t);(e.innerHTML=n).indexOf("span")<0&&r.hide&&(r.hideWhenNull||r.value)&&r.renderer.addClass(e,r.hideClass)}},0)},e.decorators=[{type:s.Directive,args:[{selector:"[pHighlight]"}]}],e.ctorParameters=function(){return[{type:s.ElementRef},{type:s.Renderer2}]},e.propDecorators={pHighlight:[{type:s.Input}],"class":[{type:s.Input,args:["pHighlightClass"]}],hide:[{type:s.Input,args:["pHighlightHide"]}],hideWhenNull:[{type:s.Input,args:["pHighlightHideWhenNull"]}],hideClass:[{type:s.Input,args:["pHighlightHideClass"]}]},e}(),H=function(){function e(e){this.store=e,this.dispatch$=new i.Subject}return e.prototype.publish=function(e){this.dispatch$.next(e)},e.prototype.ngOnInit=function(){var t=this;this.dispatch$.pipe(a.debounceTime(300),k(this)).subscribe(function(e){return t.store.dispatch(new g(e))})},e.prototype.ngOnDestroy=function(){},e.decorators=[{type:s.Directive,args:[{selector:"perfect-scrollbar"}]}],e.ctorParameters=function(){return[{type:p.Store}]},e.propDecorators={publish:[{type:s.HostListener,args:["psScrollY",["$event"]]}]},e}(),N=function(){function e(e){var t=this;this.store=e,setTimeout(function(){t.store.dispatch(new y(["click","keyup","mousemove"]))},0)}return e.decorators=[{type:s.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:p.Store}]},e.ngInjectableDef=s.defineInjectable({factory:function(){return new e(s.inject(p.Store))},token:e,providedIn:"root"}),e}();(e=o.EventListener||(o.EventListener={})).State=function Y(){},e.debonceTimes={click:300,mousemove:500,resize:700,keyup:300};var V=function(){function e(e){this.document=e,this._loadedLibraries={}}return e.prototype.loadScript=function(e){var t=this;if(this._loadedLibraries[e])return this._loadedLibraries[e].asObservable();this._loadedLibraries[e]=new i.ReplaySubject;var n=this.document.createElement("script");return n.type="text/javascript",n.src=e,n.onload=function(){t._loadedLibraries[e].next(),t._loadedLibraries[e].complete()},this.document.body.appendChild(n),this._loadedLibraries[e].asObservable()},e.decorators=[{type:s.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:undefined,decorators:[{type:s.Inject,args:[u.DOCUMENT]}]}]},e.ngInjectableDef=s.defineInjectable({factory:function(){return new e(s.inject(u.DOCUMENT))},token:e,providedIn:"root"}),e}(),B=function(){function e(){this.subscriptions={}}var n;return(n=e).getAll=function(e){return e},e.getOne=function(t){return p.createSelector([n],function(e){return e[t]})},e.prototype.addEventListener=function(e,t){var n=this,r=e.dispatch;S(t.payload).forEach(function(e){n.subscriptions[e]||(n.subscriptions[e]=i.fromEvent("resize"===e?window:document,e).pipe(a.debounceTime(o.EventListener.debonceTimes[e]||300),a.share()).subscribe(function(e){return r(new h(e))}))})},e.prototype.publishEvent=function(e,t){var n,r=e.patchState,o=t.payload;r(((n={})[o.type]=o,n))},e.prototype.removeEventListener=function(e,t){var n=this,r=e.patchState;S(t.payload).forEach(function(e){var t;n.subscriptions[e]&&(n.subscriptions[e].unsubscribe(),delete n.subscriptions[e],r(((t={})[e]=null,t)))})},j([p.Action(y),A("design:type",Function),A("design:paramtypes",[Object,y]),A("design:returntype",void 0)],e.prototype,"addEventListener",null),j([p.Action(h),A("design:type",Function),A("design:paramtypes",[Object,h]),A("design:returntype",void 0)],e.prototype,"publishEvent",null),j([p.Action(m),A("design:type",Function),A("design:paramtypes",[Object,m]),A("design:returntype",void 0)],e.prototype,"removeEventListener",null),j([p.Selector(),A("design:type",Function),A("design:paramtypes",[Object]),A("design:returntype",void 0)],e,"getAll",null),e=n=j([p.State({name:"EventListenerState",defaults:{}})],e)}(),_=function(){function e(){}return e.progress=function(e){return e.progress},e.prototype.addEventListener=function(e,t){(0,e.patchState)({progress:t.payload})},j([p.Action(v),A("design:type",Function),A("design:paramtypes",[Object,v]),A("design:returntype",void 0)],e.prototype,"addEventListener",null),j([p.Selector(),A("design:type",Function),A("design:paramtypes",[Object]),A("design:returntype",void 0)],e,"progress",null),e=j([p.State({name:"LoaderState",defaults:E})],e)}(),q=function(){function e(){}return e.forRoot=function(){return{ngModule:e,providers:[{provide:s.APP_INITIALIZER,deps:[N],useFactory:z,multi:!0}]}},e.decorators=[{type:s.NgModule,args:[{imports:[u.CommonModule,c.ReactiveFormsModule,l.RouterModule,n.HttpClientModule,c.FormsModule,p.NgxsModule.forFeature([B,_])],declarations:[d,b,I,x,O,L,T,H],exports:[u.CommonModule,n.HttpClientModule,c.FormsModule,p.NgxsModule,c.ReactiveFormsModule,l.RouterModule,d,b,I,x,O,L,T,H,f.TextMaskModule]}]}],e}();function z(){return function(){}}o.AbstractNgModelComponent=d,o.EventListenerPublish=h,o.EventListenerAdd=y,o.EventListenerScrollVertical=g,o.EventListenerRemove=m,o.LoaderSetProgress=v,o.RouterOutletComponent=b,o.LOADER_DEFAULTS=E,o.AutofocusDirective=x,o.AutosizeDirective=I,o.EllipsisDirective=O,o.ForDirective=L,o.HighlightDirective=T,o.ScrollListenerDirective=H,o.EventHandler=N,o.LazyLoadScriptService=V,o.EventListenerState=B,o.LoaderState=_,o.ngxsLogExcept=function K(e){if(!e.length)return console;var t=new RegExp("\\[("+e.join("|")+")\\]");return R({},console,{silent:!1,group:function(e){t.test(e)?this.silent=!0:(this.silent=!1,console.group(e))},groupCollapsed:function(e){t.test(e)?this.silent=!0:(this.silent=!1,console.groupCollapsed(e))},log:function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this.silent||console.log.apply(console,w([e],t))}})},o.notNull=F,o.transformToArray=S,o.transformByRegex=function X(e,t){"number"==typeof e&&(e=String(e));var n=document.createElement("input");return n.type="text",r.createTextMaskInputElement(R({},t,{inputElement:n})).update(e),n.value},o.uuid=function $(e){return e?(e^16*Math.random()>>e/4).toString(16):(""+1e7+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,$)},o.fromFork=function G(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.forkJoin.apply(void 0,w(e.map(function(e){return e.pipe(a.take(1))})))},o.takeUntilNotNull=function Z(e){return i.pipe(a.filter(F),a.takeUntil(e))},o.takeUntilDestroy=k,o.normalizeDiacritics=U,o.noop=z,o.CoreModule=q,o.ɵh=d,o.ɵb=y,o.ɵc=h,o.ɵd=m,o.ɵg=v,o.ɵi=b,o.ɵf=E,o.ɵk=x,o.ɵj=I,o.ɵl=O,o.ɵm=L,o.ɵn=T,o.ɵo=H,o.ɵp=N,o.ɵa=B,o.ɵe=_,Object.defineProperty(o,"__esModule",{value:!0})}); //# sourceMappingURL=ngx-performance-ui-core.umd.min.js.map