@ngx-loading-bar/core
Advanced tools
Comparing version 2.1.2 to 2.2.0
@@ -8,3 +8,4 @@ (function (global, factory) { | ||
var LoadingBarService = /** @class */ (function () { | ||
function LoadingBarService() { | ||
function LoadingBarService(platformId) { | ||
this.platformId = platformId; | ||
this.progress$ = ((new rxjs.Subject()).pipe(operators.debounceTime(0))); | ||
@@ -44,2 +45,6 @@ this._pendingRequests = 0; | ||
var _this = this; | ||
if (!common.isPlatformBrowser(this.platformId)) { | ||
this._pendingRequests = 0; | ||
return; | ||
} | ||
if (n === 0 && this._pendingRequests > 0) { | ||
@@ -89,2 +94,5 @@ n = 2; | ||
]; | ||
LoadingBarService.ctorParameters = function () { return [ | ||
{ type: Object, decorators: [{ type: core.Inject, args: [core.PLATFORM_ID,] },] }, | ||
]; }; | ||
var LoadingBarComponent = /** @class */ (function () { | ||
@@ -91,0 +99,0 @@ function LoadingBarComponent(loader) { |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("rxjs"),require("rxjs/operators"),require("@angular/common")):"function"==typeof define&&define.amd?define("@ngx-loading-bar/core",["exports","@angular/core","rxjs","rxjs/operators","@angular/common"],t):t((e["ngx-loading-bar"]=e["ngx-loading-bar"]||{},e["ngx-loading-bar"].core={}),e.ng.core,e.rxjs,e.Rx.Observable.prototype,e.ng.common)}(this,function(e,t,i,n,o){"use strict";var r=function(){function e(){this.progress$=(new i.Subject).pipe(n.debounceTime(0)),this._pendingRequests=0,this._value=0}return e.prototype.start=function(e){void 0===e&&(e=2),++this._pendingRequests,0!==this._value&&1!==this._pendingRequests||this.set(1===this._pendingRequests&&0<this._value?this._value:e)},e.prototype.stop=function(){for(this.complete();0<this._pendingRequests;)this.complete()},e.prototype.complete=function(){var e=this;0===this._pendingRequests&&0===this._value||(0<this._pendingRequests&&--this._pendingRequests,(0===this._pendingRequests||0===this._pendingRequests&&0<this._value)&&(100!==this._value&&this.set(100),setTimeout(function(){return e.set(0)},500)))},e.prototype.set=function(e){var t=this;0===e&&0<this._pendingRequests&&(e=2),this._value=e,this.progress$.next(e),0!==this._pendingRequests&&(clearTimeout(this._incTimeout),0<this._value&&this._value<100&&(this._incTimeout=setTimeout(function(){return t.increment()},250)))},e.prototype.increment=function(e){void 0===e&&(e=0),0<e&&this.set(this._value+e);var t=this._value;e=0<=t&&t<25?3*Math.random()+3:25<=t&&t<65?3*Math.random():65<=t&&t<90?2*Math.random():90<=t&&t<99?.5:0,this.set(this._value+e)},e.prototype.ngOnDestroy=function(){this.progress$.complete()},e}();r.decorators=[{type:t.Injectable}];var s=function(e){this.loader=e,this.includeSpinner=!0,this.includeBar=!0,this.fixed=!0,this.value=null};s.decorators=[{type:t.Component,args:[{selector:"ngx-loading-bar",template:'\n <ng-container *ngIf="(value !== null ? value : loader.progress$|async) as progress">\n <div id="loading-bar-spinner" *ngIf="includeSpinner" [style.color]="color">\n <div [style.width]="diameter" [style.height]="diameter" class="spinner-icon"></div>\n </div>\n <div id="loading-bar" *ngIf="includeBar" [style.color]="color">\n <div class="bar" [style.background]="color" [style.height]="height" [style.width]="progress + \'%\'">\n <div class="peg" [style.height]="height"></div>\n </div>\n </div>\n </ng-container>\n ',preserveWhitespaces:!1,encapsulation:t.ViewEncapsulation.Emulated,styles:[":host{position:relative;display:block}:host.loading-bar-fixed>div .bar{position:fixed}:host.loading-bar-fixed>div#loading-bar-spinner{position:fixed;top:10px;left:10px}:host.loading-bar-fixed>div .peg{display:block}:host>div{pointer-events:none;-webkit-transition:350ms linear all;transition:350ms linear all;color:#29d}:host>div .bar{-webkit-transition:width 350ms;transition:width 350ms;background:#29d;position:absolute;z-index:10002;top:0;left:0;width:100%;height:2px;border-bottom-right-radius:1px;border-top-right-radius:1px}:host>div .peg{display:none;position:absolute;width:70px;right:0;top:0;height:2px;opacity:.45;-webkit-box-shadow:1px 0 6px 1px;box-shadow:1px 0 6px 1px;color:inherit;border-radius:100%}:host>div#loading-bar-spinner{display:block;position:absolute;z-index:10002;top:5px;left:0}:host>div#loading-bar-spinner .spinner-icon{width:14px;height:14px;border:2px solid transparent;border-top-color:inherit;border-left-color:inherit;border-radius:50%;-webkit-animation:.4s linear infinite loading-bar-spinner;animation:.4s linear infinite loading-bar-spinner}@-webkit-keyframes loading-bar-spinner{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading-bar-spinner{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}"],host:{"[class.loading-bar-fixed]":"fixed"}}]}],s.ctorParameters=function(){return[{type:r}]},s.propDecorators={includeSpinner:[{type:t.Input}],includeBar:[{type:t.Input}],fixed:[{type:t.Input}],color:[{type:t.Input}],height:[{type:t.Input}],diameter:[{type:t.Input}],value:[{type:t.Input}]};var a=function(){function e(){}return e.forRoot=function(){return{ngModule:e,providers:[r]}},e}();a.decorators=[{type:t.NgModule,args:[{imports:[o.CommonModule],declarations:[s],exports:[s]}]}],e.LoadingBarModule=a,e.LoadingBarComponent=s,e.LoadingBarService=r,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("rxjs"),require("rxjs/operators"),require("@angular/common")):"function"==typeof define&&define.amd?define("@ngx-loading-bar/core",["exports","@angular/core","rxjs","rxjs/operators","@angular/common"],t):t((e["ngx-loading-bar"]=e["ngx-loading-bar"]||{},e["ngx-loading-bar"].core={}),e.ng.core,e.rxjs,e.Rx.Observable.prototype,e.ng.common)}(this,function(e,t,i,n,o){"use strict";var r=function(){function e(e){this.platformId=e,this.progress$=(new i.Subject).pipe(n.debounceTime(0)),this._pendingRequests=0,this._value=0}return e.prototype.start=function(e){void 0===e&&(e=2),++this._pendingRequests,0!==this._value&&1!==this._pendingRequests||this.set(1===this._pendingRequests&&0<this._value?this._value:e)},e.prototype.stop=function(){for(this.complete();0<this._pendingRequests;)this.complete()},e.prototype.complete=function(){var e=this;0===this._pendingRequests&&0===this._value||(0<this._pendingRequests&&--this._pendingRequests,(0===this._pendingRequests||0===this._pendingRequests&&0<this._value)&&(100!==this._value&&this.set(100),setTimeout(function(){return e.set(0)},500)))},e.prototype.set=function(e){var t=this;o.isPlatformBrowser(this.platformId)?(0===e&&0<this._pendingRequests&&(e=2),this._value=e,this.progress$.next(e),0!==this._pendingRequests&&(clearTimeout(this._incTimeout),0<this._value&&this._value<100&&(this._incTimeout=setTimeout(function(){return t.increment()},250)))):this._pendingRequests=0},e.prototype.increment=function(e){void 0===e&&(e=0),0<e&&this.set(this._value+e);var t=this._value;e=0<=t&&t<25?3*Math.random()+3:25<=t&&t<65?3*Math.random():65<=t&&t<90?2*Math.random():90<=t&&t<99?.5:0,this.set(this._value+e)},e.prototype.ngOnDestroy=function(){this.progress$.complete()},e}();r.decorators=[{type:t.Injectable}],r.ctorParameters=function(){return[{type:Object,decorators:[{type:t.Inject,args:[t.PLATFORM_ID]}]}]};var s=function(e){this.loader=e,this.includeSpinner=!0,this.includeBar=!0,this.fixed=!0,this.value=null};s.decorators=[{type:t.Component,args:[{selector:"ngx-loading-bar",template:'\n <ng-container *ngIf="(value !== null ? value : loader.progress$|async) as progress">\n <div id="loading-bar-spinner" *ngIf="includeSpinner" [style.color]="color">\n <div [style.width]="diameter" [style.height]="diameter" class="spinner-icon"></div>\n </div>\n <div id="loading-bar" *ngIf="includeBar" [style.color]="color">\n <div class="bar" [style.background]="color" [style.height]="height" [style.width]="progress + \'%\'">\n <div class="peg" [style.height]="height"></div>\n </div>\n </div>\n </ng-container>\n ',preserveWhitespaces:!1,encapsulation:t.ViewEncapsulation.Emulated,styles:[":host{position:relative;display:block}:host.loading-bar-fixed>div .bar{position:fixed}:host.loading-bar-fixed>div#loading-bar-spinner{position:fixed;top:10px;left:10px}:host.loading-bar-fixed>div .peg{display:block}:host>div{pointer-events:none;-webkit-transition:350ms linear all;transition:350ms linear all;color:#29d}:host>div .bar{-webkit-transition:width 350ms;transition:width 350ms;background:#29d;position:absolute;z-index:10002;top:0;left:0;width:100%;height:2px;border-bottom-right-radius:1px;border-top-right-radius:1px}:host>div .peg{display:none;position:absolute;width:70px;right:0;top:0;height:2px;opacity:.45;-webkit-box-shadow:1px 0 6px 1px;box-shadow:1px 0 6px 1px;color:inherit;border-radius:100%}:host>div#loading-bar-spinner{display:block;position:absolute;z-index:10002;top:5px;left:0}:host>div#loading-bar-spinner .spinner-icon{width:14px;height:14px;border:2px solid transparent;border-top-color:inherit;border-left-color:inherit;border-radius:50%;-webkit-animation:.4s linear infinite loading-bar-spinner;animation:.4s linear infinite loading-bar-spinner}@-webkit-keyframes loading-bar-spinner{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading-bar-spinner{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}"],host:{"[class.loading-bar-fixed]":"fixed"}}]}],s.ctorParameters=function(){return[{type:r}]},s.propDecorators={includeSpinner:[{type:t.Input}],includeBar:[{type:t.Input}],fixed:[{type:t.Input}],color:[{type:t.Input}],height:[{type:t.Input}],diameter:[{type:t.Input}],value:[{type:t.Input}]};var a=function(){function e(){}return e.forRoot=function(){return{ngModule:e,providers:[r]}},e}();a.decorators=[{type:t.NgModule,args:[{imports:[o.CommonModule],declarations:[s],exports:[s]}]}],e.LoadingBarModule=a,e.LoadingBarComponent=s,e.LoadingBarService=r,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=ngx-loading-bar-core.umd.min.js.map |
@@ -1,5 +0,5 @@ | ||
import { Injectable, Component, Input, ViewEncapsulation, NgModule } from '@angular/core'; | ||
import { Injectable, PLATFORM_ID, Inject, Component, Input, ViewEncapsulation, NgModule } from '@angular/core'; | ||
import { Subject } from 'rxjs'; | ||
import { debounceTime } from 'rxjs/operators'; | ||
import { CommonModule } from '@angular/common'; | ||
import { isPlatformBrowser, CommonModule } from '@angular/common'; | ||
@@ -11,3 +11,7 @@ /** | ||
class LoadingBarService { | ||
constructor() { | ||
/** | ||
* @param {?} platformId | ||
*/ | ||
constructor(platformId) { | ||
this.platformId = platformId; | ||
this.progress$ = /** @type {?} */ ((new Subject()).pipe(debounceTime(0))); | ||
@@ -62,2 +66,6 @@ this._pendingRequests = 0; | ||
set(n) { | ||
if (!isPlatformBrowser(this.platformId)) { | ||
this._pendingRequests = 0; | ||
return; | ||
} | ||
if (n === 0 && this._pendingRequests > 0) { | ||
@@ -122,2 +130,6 @@ n = 2; | ||
]; | ||
/** @nocollapse */ | ||
LoadingBarService.ctorParameters = () => [ | ||
{ type: Object, decorators: [{ type: Inject, args: [PLATFORM_ID,] },] }, | ||
]; | ||
@@ -124,0 +136,0 @@ /** |
@@ -1,8 +0,9 @@ | ||
import { Injectable, Component, Input, ViewEncapsulation, NgModule } from '@angular/core'; | ||
import { Injectable, PLATFORM_ID, Inject, Component, Input, ViewEncapsulation, NgModule } from '@angular/core'; | ||
import { Subject } from 'rxjs'; | ||
import { debounceTime } from 'rxjs/operators'; | ||
import { CommonModule } from '@angular/common'; | ||
import { isPlatformBrowser, CommonModule } from '@angular/common'; | ||
var LoadingBarService = /** @class */ (function () { | ||
function LoadingBarService() { | ||
function LoadingBarService(platformId) { | ||
this.platformId = platformId; | ||
this.progress$ = ((new Subject()).pipe(debounceTime(0))); | ||
@@ -42,2 +43,6 @@ this._pendingRequests = 0; | ||
var _this = this; | ||
if (!isPlatformBrowser(this.platformId)) { | ||
this._pendingRequests = 0; | ||
return; | ||
} | ||
if (n === 0 && this._pendingRequests > 0) { | ||
@@ -87,2 +92,5 @@ n = 2; | ||
]; | ||
LoadingBarService.ctorParameters = function () { return [ | ||
{ type: Object, decorators: [{ type: Inject, args: [PLATFORM_ID,] },] }, | ||
]; }; | ||
var LoadingBarComponent = /** @class */ (function () { | ||
@@ -89,0 +97,0 @@ function LoadingBarComponent(loader) { |
import { OnDestroy } from '@angular/core'; | ||
import { Subject } from 'rxjs'; | ||
export declare class LoadingBarService implements OnDestroy { | ||
private platformId; | ||
readonly progress$: Subject<number>; | ||
@@ -8,2 +9,3 @@ private _pendingRequests; | ||
private _incTimeout; | ||
constructor(platformId: Object); | ||
start(initialValue?: number): void; | ||
@@ -10,0 +12,0 @@ stop(): void; |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"LoadingBarModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":5,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":6,"character":12}],"declarations":[{"__symbolic":"reference","name":"LoadingBarComponent"}],"exports":[{"__symbolic":"reference","name":"LoadingBarComponent"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"LoadingBarModule"},"providers":[{"__symbolic":"reference","name":"LoadingBarService"}]}}}},"LoadingBarComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"ngx-loading-bar","template":"\n <ng-container *ngIf=\"(value !== null ? value : loader.progress$|async) as progress\">\n <div id=\"loading-bar-spinner\" *ngIf=\"includeSpinner\" [style.color]=\"color\">\n <div [style.width]=\"diameter\" [style.height]=\"diameter\" class=\"spinner-icon\"></div>\n </div>\n <div id=\"loading-bar\" *ngIf=\"includeBar\" [style.color]=\"color\">\n <div class=\"bar\" [style.background]=\"color\" [style.height]=\"height\" [style.width]=\"progress + '%'\">\n <div class=\"peg\" [style.height]=\"height\"></div>\n </div>\n </div>\n </ng-container>\n ","preserveWhitespaces":false,"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":18,"character":17},"member":"Emulated"},"styles":[":host{position:relative;display:block}:host.loading-bar-fixed>div .bar{position:fixed}:host.loading-bar-fixed>div#loading-bar-spinner{position:fixed;top:10px;left:10px}:host.loading-bar-fixed>div .peg{display:block}:host>div{pointer-events:none;-webkit-transition:350ms linear all;transition:350ms linear all;color:#29d}:host>div .bar{-webkit-transition:width 350ms;transition:width 350ms;background:#29d;position:absolute;z-index:10002;top:0;left:0;width:100%;height:2px;border-bottom-right-radius:1px;border-top-right-radius:1px}:host>div .peg{display:none;position:absolute;width:70px;right:0;top:0;height:2px;opacity:.45;-webkit-box-shadow:1px 0 6px 1px;box-shadow:1px 0 6px 1px;color:inherit;border-radius:100%}:host>div#loading-bar-spinner{display:block;position:absolute;z-index:10002;top:5px;left:0}:host>div#loading-bar-spinner .spinner-icon{width:14px;height:14px;border:2px solid transparent;border-top-color:inherit;border-left-color:inherit;border-radius:50%;-webkit-animation:.4s linear infinite loading-bar-spinner;animation:.4s linear infinite loading-bar-spinner}@-webkit-keyframes loading-bar-spinner{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading-bar-spinner{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}"],"host":{"[class.loading-bar-fixed]":"fixed"}}]}],"members":{"includeSpinner":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":3}}]}],"includeBar":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"fixed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"color":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":3}}]}],"height":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":3}}]}],"diameter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":3}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"LoadingBarService"}]}]}},"LoadingBarService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1}}],"members":{"start":[{"__symbolic":"method"}],"stop":[{"__symbolic":"method"}],"complete":[{"__symbolic":"method"}],"set":[{"__symbolic":"method"}],"increment":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}},"origins":{"LoadingBarModule":"./core.module","LoadingBarComponent":"./loading-bar.component","LoadingBarService":"./loading-bar.service"},"importAs":"@ngx-loading-bar/core"} | ||
{"__symbolic":"module","version":4,"metadata":{"LoadingBarModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":5,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":6,"character":12}],"declarations":[{"__symbolic":"reference","name":"LoadingBarComponent"}],"exports":[{"__symbolic":"reference","name":"LoadingBarComponent"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"LoadingBarModule"},"providers":[{"__symbolic":"reference","name":"LoadingBarService"}]}}}},"LoadingBarComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"ngx-loading-bar","template":"\n <ng-container *ngIf=\"(value !== null ? value : loader.progress$|async) as progress\">\n <div id=\"loading-bar-spinner\" *ngIf=\"includeSpinner\" [style.color]=\"color\">\n <div [style.width]=\"diameter\" [style.height]=\"diameter\" class=\"spinner-icon\"></div>\n </div>\n <div id=\"loading-bar\" *ngIf=\"includeBar\" [style.color]=\"color\">\n <div class=\"bar\" [style.background]=\"color\" [style.height]=\"height\" [style.width]=\"progress + '%'\">\n <div class=\"peg\" [style.height]=\"height\"></div>\n </div>\n </div>\n </ng-container>\n ","preserveWhitespaces":false,"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":18,"character":17},"member":"Emulated"},"styles":[":host{position:relative;display:block}:host.loading-bar-fixed>div .bar{position:fixed}:host.loading-bar-fixed>div#loading-bar-spinner{position:fixed;top:10px;left:10px}:host.loading-bar-fixed>div .peg{display:block}:host>div{pointer-events:none;-webkit-transition:350ms linear all;transition:350ms linear all;color:#29d}:host>div .bar{-webkit-transition:width 350ms;transition:width 350ms;background:#29d;position:absolute;z-index:10002;top:0;left:0;width:100%;height:2px;border-bottom-right-radius:1px;border-top-right-radius:1px}:host>div .peg{display:none;position:absolute;width:70px;right:0;top:0;height:2px;opacity:.45;-webkit-box-shadow:1px 0 6px 1px;box-shadow:1px 0 6px 1px;color:inherit;border-radius:100%}:host>div#loading-bar-spinner{display:block;position:absolute;z-index:10002;top:5px;left:0}:host>div#loading-bar-spinner .spinner-icon{width:14px;height:14px;border:2px solid transparent;border-top-color:inherit;border-left-color:inherit;border-radius:50%;-webkit-animation:.4s linear infinite loading-bar-spinner;animation:.4s linear infinite loading-bar-spinner}@-webkit-keyframes loading-bar-spinner{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading-bar-spinner{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}"],"host":{"[class.loading-bar-fixed]":"fixed"}}]}],"members":{"includeSpinner":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":3}}]}],"includeBar":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"fixed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"color":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":3}}]}],"height":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":3}}]}],"diameter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":3}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"LoadingBarService"}]}]}},"LoadingBarService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":6,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":14,"character":15},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID","line":14,"character":22}]}]],"parameters":[{"__symbolic":"reference","name":"Object"}]}],"start":[{"__symbolic":"method"}],"stop":[{"__symbolic":"method"}],"complete":[{"__symbolic":"method"}],"set":[{"__symbolic":"method"}],"increment":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}},"origins":{"LoadingBarModule":"./core.module","LoadingBarComponent":"./loading-bar.component","LoadingBarService":"./loading-bar.service"},"importAs":"@ngx-loading-bar/core"} |
{ | ||
"name": "@ngx-loading-bar/core", | ||
"version": "2.1.2", | ||
"version": "2.2.0", | ||
"description": "Automatic page loading / progress bar for Angular", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
78439
601