ngx-spinner
Advanced tools
Comparing version 8.1.0 to 9.0.0
@@ -1,7 +0,1 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/ngx-spinner.enum.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** @type {?} */ | ||
export const LOADERS = { | ||
@@ -62,3 +56,2 @@ 'ball-8bits': 16, | ||
}; | ||
/** @type {?} */ | ||
export const DEFAULTS = { | ||
@@ -70,26 +63,4 @@ BD_COLOR: 'rgba(51,51,51,0.8)', | ||
}; | ||
/** @type {?} */ | ||
export const PRIMARY_SPINNER = 'primary'; | ||
/** | ||
* @record | ||
*/ | ||
export function Spinner() { } | ||
if (false) { | ||
/** @type {?|undefined} */ | ||
Spinner.prototype.bdColor; | ||
/** @type {?|undefined} */ | ||
Spinner.prototype.size; | ||
/** @type {?|undefined} */ | ||
Spinner.prototype.color; | ||
/** @type {?|undefined} */ | ||
Spinner.prototype.type; | ||
/** @type {?|undefined} */ | ||
Spinner.prototype.fullScreen; | ||
/** @type {?|undefined} */ | ||
Spinner.prototype.zIndex; | ||
} | ||
export class NgxSpinner { | ||
/** | ||
* @param {?=} init | ||
*/ | ||
constructor(init) { | ||
@@ -99,26 +70,2 @@ Object.assign(this, init); | ||
} | ||
if (false) { | ||
/** @type {?} */ | ||
NgxSpinner.prototype.name; | ||
/** @type {?} */ | ||
NgxSpinner.prototype.bdColor; | ||
/** @type {?} */ | ||
NgxSpinner.prototype.size; | ||
/** @type {?} */ | ||
NgxSpinner.prototype.color; | ||
/** @type {?} */ | ||
NgxSpinner.prototype.type; | ||
/** @type {?} */ | ||
NgxSpinner.prototype.class; | ||
/** @type {?} */ | ||
NgxSpinner.prototype.divCount; | ||
/** @type {?} */ | ||
NgxSpinner.prototype.divArray; | ||
/** @type {?} */ | ||
NgxSpinner.prototype.fullScreen; | ||
/** @type {?} */ | ||
NgxSpinner.prototype.show; | ||
/** @type {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lib/ngx-spinner.module.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
import { __decorate } from "tslib"; | ||
import { NgModule } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
import { NgxSpinnerComponent } from './ngx-spinner.component'; | ||
export class NgxSpinnerModule { | ||
} | ||
NgxSpinnerModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
imports: [ | ||
CommonModule | ||
], | ||
declarations: [NgxSpinnerComponent], | ||
exports: [NgxSpinnerComponent] | ||
},] } | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXNwaW5uZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LXNwaW5uZXIvIiwic291cmNlcyI6WyJsaWIvbmd4LXNwaW5uZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFTOUQsTUFBTSxPQUFPLGdCQUFnQjs7O1lBUDVCLFFBQVEsU0FBQztnQkFDUixPQUFPLEVBQUU7b0JBQ1AsWUFBWTtpQkFDYjtnQkFDRCxZQUFZLEVBQUUsQ0FBQyxtQkFBbUIsQ0FBQztnQkFDbkMsT0FBTyxFQUFFLENBQUMsbUJBQW1CLENBQUM7YUFDL0IiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IE5neFNwaW5uZXJDb21wb25lbnQgfSBmcm9tICcuL25neC1zcGlubmVyLmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGVcbiAgXSxcbiAgZGVjbGFyYXRpb25zOiBbTmd4U3Bpbm5lckNvbXBvbmVudF0sXG4gIGV4cG9ydHM6IFtOZ3hTcGlubmVyQ29tcG9uZW50XVxufSlcbmV4cG9ydCBjbGFzcyBOZ3hTcGlubmVyTW9kdWxlIHsgfVxuIl19 | ||
let NgxSpinnerModule = class NgxSpinnerModule { | ||
}; | ||
NgxSpinnerModule = __decorate([ | ||
NgModule({ | ||
imports: [ | ||
CommonModule | ||
], | ||
declarations: [NgxSpinnerComponent], | ||
exports: [NgxSpinnerComponent] | ||
}) | ||
], NgxSpinnerModule); | ||
export { NgxSpinnerModule }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXNwaW5uZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LXNwaW5uZXIvIiwic291cmNlcyI6WyJsaWIvbmd4LXNwaW5uZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQVM5RCxJQUFhLGdCQUFnQixHQUE3QixNQUFhLGdCQUFnQjtDQUFJLENBQUE7QUFBcEIsZ0JBQWdCO0lBUDVCLFFBQVEsQ0FBQztRQUNSLE9BQU8sRUFBRTtZQUNQLFlBQVk7U0FDYjtRQUNELFlBQVksRUFBRSxDQUFDLG1CQUFtQixDQUFDO1FBQ25DLE9BQU8sRUFBRSxDQUFDLG1CQUFtQixDQUFDO0tBQy9CLENBQUM7R0FDVyxnQkFBZ0IsQ0FBSTtTQUFwQixnQkFBZ0IiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IE5neFNwaW5uZXJDb21wb25lbnQgfSBmcm9tICcuL25neC1zcGlubmVyLmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGVcbiAgXSxcbiAgZGVjbGFyYXRpb25zOiBbTmd4U3Bpbm5lckNvbXBvbmVudF0sXG4gIGV4cG9ydHM6IFtOZ3hTcGlubmVyQ29tcG9uZW50XVxufSlcbmV4cG9ydCBjbGFzcyBOZ3hTcGlubmVyTW9kdWxlIHsgfVxuIl19 |
@@ -1,6 +0,2 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/ngx-spinner.service.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
import { __decorate, __metadata } from "tslib"; | ||
import { Injectable } from '@angular/core'; | ||
@@ -11,6 +7,6 @@ import { ReplaySubject } from 'rxjs'; | ||
import * as i0 from "@angular/core"; | ||
export class NgxSpinnerService { | ||
let NgxSpinnerService = class NgxSpinnerService { | ||
/** | ||
* Creates an instance of NgxSpinnerService. | ||
* \@memberof NgxSpinnerService | ||
* @memberof NgxSpinnerService | ||
*/ | ||
@@ -21,3 +17,3 @@ constructor() { | ||
* | ||
* \@memberof NgxSpinnerService | ||
* @memberof NgxSpinnerService | ||
*/ | ||
@@ -27,14 +23,7 @@ this.spinnerObservable = new ReplaySubject(1); | ||
/** | ||
* Get subscription of desired spinner | ||
* \@memberof NgxSpinnerService | ||
* | ||
* @param {?} name | ||
* @return {?} | ||
*/ | ||
* Get subscription of desired spinner | ||
* @memberof NgxSpinnerService | ||
**/ | ||
getSpinner(name) { | ||
return this.spinnerObservable.asObservable().pipe(filter((/** | ||
* @param {?} x | ||
* @return {?} | ||
*/ | ||
(x) => x && x.name === name))); | ||
return this.spinnerObservable.asObservable().pipe(filter((x) => x && x.name === name)); | ||
} | ||
@@ -44,18 +33,9 @@ /** | ||
* | ||
* \@memberof NgxSpinnerService | ||
* @param {?=} name | ||
* @param {?=} spinner | ||
* @return {?} | ||
* @memberof NgxSpinnerService | ||
*/ | ||
show(name = PRIMARY_SPINNER, spinner) { | ||
/** @type {?} */ | ||
const showPromise = new Promise((/** | ||
* @param {?} resolve | ||
* @param {?} _reject | ||
* @return {?} | ||
*/ | ||
(resolve, _reject) => { | ||
const showPromise = new Promise((resolve, _reject) => { | ||
if (spinner && Object.keys(spinner).length) { | ||
spinner['name'] = name; | ||
this.spinnerObservable.next(new NgxSpinner(Object.assign({}, spinner, { show: true }))); | ||
this.spinnerObservable.next(new NgxSpinner(Object.assign(Object.assign({}, spinner), { show: true }))); | ||
resolve(true); | ||
@@ -67,50 +47,28 @@ } | ||
} | ||
})); | ||
}); | ||
return showPromise; | ||
} | ||
/** | ||
* To hide spinner | ||
* | ||
* \@memberof NgxSpinnerService | ||
* @param {?=} name | ||
* @param {?=} debounce | ||
* @return {?} | ||
*/ | ||
* To hide spinner | ||
* | ||
* @memberof NgxSpinnerService | ||
*/ | ||
hide(name = PRIMARY_SPINNER, debounce = 0) { | ||
/** @type {?} */ | ||
const hidePromise = new Promise((/** | ||
* @param {?} resolve | ||
* @param {?} _reject | ||
* @return {?} | ||
*/ | ||
(resolve, _reject) => { | ||
setTimeout((/** | ||
* @return {?} | ||
*/ | ||
() => { | ||
const hidePromise = new Promise((resolve, _reject) => { | ||
setTimeout(() => { | ||
this.spinnerObservable.next(new NgxSpinner({ name, show: false })); | ||
resolve(true); | ||
}), debounce); | ||
})); | ||
}, debounce); | ||
}); | ||
return hidePromise; | ||
} | ||
} | ||
NgxSpinnerService.decorators = [ | ||
{ type: Injectable, args: [{ | ||
providedIn: 'root' | ||
},] } | ||
]; | ||
/** @nocollapse */ | ||
NgxSpinnerService.ctorParameters = () => []; | ||
/** @nocollapse */ NgxSpinnerService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function NgxSpinnerService_Factory() { return new NgxSpinnerService(); }, token: NgxSpinnerService, providedIn: "root" }); | ||
if (false) { | ||
/** | ||
* Spinner observable | ||
* | ||
* \@memberof NgxSpinnerService | ||
* @type {?} | ||
* @private | ||
*/ | ||
NgxSpinnerService.prototype.spinnerObservable; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXNwaW5uZXIuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1zcGlubmVyLyIsInNvdXJjZXMiOlsibGliL25neC1zcGlubmVyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBYyxhQUFhLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDakQsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3hDLE9BQU8sRUFBRSxVQUFVLEVBQUUsZUFBZSxFQUFXLE1BQU0sb0JBQW9CLENBQUM7O0FBSzFFLE1BQU0sT0FBTyxpQkFBaUI7Ozs7O0lBVzVCOzs7Ozs7UUFMUSxzQkFBaUIsR0FBRyxJQUFJLGFBQWEsQ0FBYSxDQUFDLENBQUMsQ0FBQztJQUs3QyxDQUFDOzs7Ozs7OztJQUtqQixVQUFVLENBQUMsSUFBWTtRQUNyQixPQUFPLElBQUksQ0FBQyxpQkFBaUIsQ0FBQyxZQUF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CBzaG93OiB0cnVlIH0pKTtcbiAgICAgICAgcmVzb2x2ZSh0cnVlKTtcbiAgICAgIH1cbiAgICB9KTtcbiAgICByZXR1cm4gc2hvd1Byb21pc2U7XG4gIH1cbiAgLyoqXG4gICogVG8gaGlkZSBzcGlubmVyXG4gICpcbiAgKiBAbWVtYmVyb2YgTmd4U3Bpbm5lclNlcnZpY2VcbiAgKi9cbiAgaGlkZShuYW1lOiBzdHJpbmcgPSBQUklNQVJZX1NQSU5ORVIsIGRlYm91bmNlOiBudW1iZXIgPSAwKSB7XG4gICAgY29uc3QgaGlkZVByb21pc2UgPSBuZXcgUHJvbWlzZSgocmVzb2x2ZSwgX3JlamVjdCkgPT4ge1xuICAgICAgc2V0VGltZW91dCgoKSA9PiB7XG4gICAgICAgIHRoaXMuc3Bpbm5lck9ic2VydmFibGUubmV4dChuZXcgTmd4U3Bpbm5lcih7IG5hbWUsIHNob3c6IGZhbHNlIH0pKTtcbiAgICAgICAgcmVzb2x2ZSh0cnVlKTtcbiAgICAgIH0sIGRlYm91bmNlKTtcbiAgICB9KTtcbiAgICByZXR1cm4gaGlkZVByb21pc2U7XG4gIH1cbn1cbiJdfQ== | ||
}; | ||
NgxSpinnerService.ɵprov = i0.ɵɵdefineInjectable({ factory: function NgxSpinnerService_Factory() { return new NgxSpinnerService(); }, token: NgxSpinnerService, providedIn: "root" }); | ||
NgxSpinnerService = __decorate([ | ||
Injectable({ | ||
providedIn: 'root' | ||
}), | ||
__metadata("design:paramtypes", []) | ||
], NgxSpinnerService); | ||
export { NgxSpinnerService }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXNwaW5uZXIuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1zcGlubmVyLyIsInNvdXJjZXMiOlsibGliL25neC1zcGlubmVyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxVQ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O1xuICAgIH0pO1xuICAgIHJldHVybiBoaWRlUHJvbWlzZTtcbiAgfVxufVxuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: ngx-spinner.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
export { NgxSpinnerService, NgxSpinnerComponent, NgxSpinnerModule } from './public_api'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXNwaW5uZXIuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtc3Bpbm5lci8iLCJzb3VyY2VzIjpbIm5neC1zcGlubmVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBSUEseUVBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpY19hcGknO1xuIl19 | ||
export * from './public_api'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXNwaW5uZXIuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtc3Bpbm5lci8iLCJzb3VyY2VzIjpbIm5neC1zcGlubmVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0= |
@@ -1,12 +0,7 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: public_api.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/* | ||
* Public API Surface of ngx-spinner | ||
*/ | ||
export { NgxSpinnerService } from './lib/ngx-spinner.service'; | ||
export { NgxSpinnerComponent } from './lib/ngx-spinner.component'; | ||
export { NgxSpinnerModule } from './lib/ngx-spinner.module'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1zcGlubmVyLyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUdBLGtDQUFjLDJCQUEyQixDQUFDO0FBQzFDLG9DQUFjLDZCQUE2QixDQUFDO0FBQzVDLGlDQUFjLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBuZ3gtc3Bpbm5lclxuICovXG5leHBvcnQgKiBmcm9tICcuL2xpYi9uZ3gtc3Bpbm5lci5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL25neC1zcGlubmVyLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9uZ3gtc3Bpbm5lci5tb2R1bGUnO1xuIl19 | ||
export * from './lib/ngx-spinner.service'; | ||
export * from './lib/ngx-spinner.component'; | ||
export * from './lib/ngx-spinner.module'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1zcGlubmVyLyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUNILGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxjQUFjLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBuZ3gtc3Bpbm5lclxuICovXG5leHBvcnQgKiBmcm9tICcuL2xpYi9uZ3gtc3Bpbm5lci5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL25neC1zcGlubmVyLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9uZ3gtc3Bpbm5lci5tb2R1bGUnO1xuIl19 |
@@ -1,7 +0,1 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/ngx-spinner.enum.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** @type {?} */ | ||
export var LOADERS = { | ||
@@ -62,3 +56,2 @@ 'ball-8bits': 16, | ||
}; | ||
/** @type {?} */ | ||
export var DEFAULTS = { | ||
@@ -70,22 +63,3 @@ BD_COLOR: 'rgba(51,51,51,0.8)', | ||
}; | ||
/** @type {?} */ | ||
export var PRIMARY_SPINNER = 'primary'; | ||
/** | ||
* @record | ||
*/ | ||
export function Spinner() { } | ||
if (false) { | ||
/** @type {?|undefined} */ | ||
Spinner.prototype.bdColor; | ||
/** @type {?|undefined} */ | ||
Spinner.prototype.size; | ||
/** @type {?|undefined} */ | ||
Spinner.prototype.color; | ||
/** @type {?|undefined} */ | ||
Spinner.prototype.type; | ||
/** @type {?|undefined} */ | ||
Spinner.prototype.fullScreen; | ||
/** @type {?|undefined} */ | ||
Spinner.prototype.zIndex; | ||
} | ||
var NgxSpinner = /** @class */ (function () { | ||
@@ -98,26 +72,2 @@ function NgxSpinner(init) { | ||
export { NgxSpinner }; | ||
if (false) { | ||
/** @type {?} */ | ||
NgxSpinner.prototype.name; | ||
/** @type {?} */ | ||
NgxSpinner.prototype.bdColor; | ||
/** @type {?} */ | ||
NgxSpinner.prototype.size; | ||
/** @type {?} */ | ||
NgxSpinner.prototype.color; | ||
/** @type {?} */ | ||
NgxSpinner.prototype.type; | ||
/** @type {?} */ | ||
NgxSpinner.prototype.class; | ||
/** @type {?} */ | ||
NgxSpinner.prototype.divCount; | ||
/** @type {?} */ | ||
NgxSpinner.prototype.divArray; | ||
/** @type {?} */ | ||
NgxSpinner.prototype.fullScreen; | ||
/** @type {?} */ | ||
NgxSpinner.prototype.show; | ||
/** @type {?} */ | ||
NgxSpinner.prototype.zIndex; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXNwaW5uZXIuZW51bS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1zcGlubmVyLyIsInNvdXJjZXMiOlsibGliL25neC1zcGlubmVyLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsTUFBTSxLQUFPLE9BQU8sR0FBRztJQUNyQixZQUFZLEVBQUUsRUFBRTtJQUNoQixXQUFXLEVBQUUsQ0FBQztJQUNkLFdBQVcsRUFBRSxDQUFDO0lBQ2QsYUFBYSxFQUFFLENBQUM7SUFDaEIsbUJBQW1CLEVBQUUsQ0FBQztJQUN0QixrQkFBa0IsRUFBRSxDQUFDO0lBQ3JCLDJCQUEyQixFQUFFLENBQUM7SUFDOUIsd0JBQXdCLEVBQUUsQ0FBQztJQUMzQixtQkFBbUIsRUFBRSxDQUFDO0lBQ3RCLFdBQVcsRUFBRSxDQUFDO0lBQ2QsY0FBYyxFQUFFLENBQUM7SUFDakIsZ0JBQWdCLEVBQUUsQ0FBQztJQUNuQixpQkFBaUIsRUFBRSxDQUFDO0lBQ3BCLG9CQUFvQixFQUFFLENBQUM7SUFDdkIsWUFBWSxFQUFFLENBQUM7SUFDZixpQkFBaUIsRUFBRSxDQUFDO0lBQ3BCLGlCQUFpQixFQUFFLENBQUM7SUFDcEIsYUFB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TxudW1iZXI+O1xuICBmdWxsU2NyZWVuOiBib29sZWFuO1xuICBzaG93OiBib29sZWFuO1xuICB6SW5kZXg6IG51bWJlcjtcbiAgdGVtcGxhdGU6IHN0cmluZztcblxuICBjb25zdHJ1Y3Rvcihpbml0PzogUGFydGlhbDxOZ3hTcGlubmVyPikge1xuICAgIE9iamVjdC5hc3NpZ24odGhpcywgaW5pdCk7XG4gIH1cbn1cbiJdfQ== |
@@ -1,6 +0,2 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/ngx-spinner.module.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
import { __decorate } from "tslib"; | ||
import { NgModule } from '@angular/core'; | ||
@@ -12,14 +8,14 @@ import { CommonModule } from '@angular/common'; | ||
} | ||
NgxSpinnerModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
imports: [ | ||
CommonModule | ||
], | ||
declarations: [NgxSpinnerComponent], | ||
exports: [NgxSpinnerComponent] | ||
},] } | ||
]; | ||
NgxSpinnerModule = __decorate([ | ||
NgModule({ | ||
imports: [ | ||
CommonModule | ||
], | ||
declarations: [NgxSpinnerComponent], | ||
exports: [NgxSpinnerComponent] | ||
}) | ||
], NgxSpinnerModule); | ||
return NgxSpinnerModule; | ||
}()); | ||
export { NgxSpinnerModule }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXNwaW5uZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LXNwaW5uZXIvIiwic291cmNlcyI6WyJsaWIvbmd4LXNwaW5uZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQW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8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQVM5RDtJQUFBO0lBQWdDLENBQUM7SUFBcEIsZ0JBQWdCO1FBUDVCLFFBQVEsQ0FBQztZQUNSLE9BQU8sRUFBRTtnQkFDUCxZQUFZO2FBQ2I7WUFDRCxZQUFZLEVBQUUsQ0FBQyxtQkFBbUIsQ0FBQztZQUNuQyxPQUFPLEVBQUUsQ0FBQyxtQkFBbUIsQ0FBQztTQUMvQixDQUFDO09BQ1csZ0JBQWdCLENBQUk7SUFBRCx1QkFBQztDQUFBLEFBQWpDLElBQWlDO1NBQXBCLGdCQUFnQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgTmd4U3Bpbm5lckNvbXBvbmVudCB9IGZyb20gJy4vbmd4LXNwaW5uZXIuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZVxuICBdLFxuICBkZWNsYXJhdGlvbnM6IFtOZ3hTcGlubmVyQ29tcG9uZW50XSxcbiAgZXhwb3J0czogW05neFNwaW5uZXJDb21wb25lbnRdXG59KVxuZXhwb3J0IGNsYXNzIE5neFNwaW5uZXJNb2R1bGUgeyB9XG4iXX0= |
@@ -1,7 +0,2 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/ngx-spinner.service.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
import * as tslib_1 from "tslib"; | ||
import { __assign, __decorate, __metadata } from "tslib"; | ||
import { Injectable } from '@angular/core'; | ||
@@ -21,3 +16,3 @@ import { ReplaySubject } from 'rxjs'; | ||
* | ||
* \@memberof NgxSpinnerService | ||
* @memberof NgxSpinnerService | ||
*/ | ||
@@ -30,22 +25,4 @@ this.spinnerObservable = new ReplaySubject(1); | ||
**/ | ||
/** | ||
* Get subscription of desired spinner | ||
* \@memberof NgxSpinnerService | ||
* | ||
* @param {?} name | ||
* @return {?} | ||
*/ | ||
NgxSpinnerService.prototype.getSpinner = /** | ||
* Get subscription of desired spinner | ||
* \@memberof NgxSpinnerService | ||
* | ||
* @param {?} name | ||
* @return {?} | ||
*/ | ||
function (name) { | ||
return this.spinnerObservable.asObservable().pipe(filter((/** | ||
* @param {?} x | ||
* @return {?} | ||
*/ | ||
function (x) { return x && x.name === name; }))); | ||
NgxSpinnerService.prototype.getSpinner = function (name) { | ||
return this.spinnerObservable.asObservable().pipe(filter(function (x) { return x && x.name === name; })); | ||
}; | ||
@@ -57,31 +34,9 @@ /** | ||
*/ | ||
/** | ||
* To show spinner | ||
* | ||
* \@memberof NgxSpinnerService | ||
* @param {?=} name | ||
* @param {?=} spinner | ||
* @return {?} | ||
*/ | ||
NgxSpinnerService.prototype.show = /** | ||
* To show spinner | ||
* | ||
* \@memberof NgxSpinnerService | ||
* @param {?=} name | ||
* @param {?=} spinner | ||
* @return {?} | ||
*/ | ||
function (name, spinner) { | ||
NgxSpinnerService.prototype.show = function (name, spinner) { | ||
var _this = this; | ||
if (name === void 0) { name = PRIMARY_SPINNER; } | ||
/** @type {?} */ | ||
var showPromise = new Promise((/** | ||
* @param {?} resolve | ||
* @param {?} _reject | ||
* @return {?} | ||
*/ | ||
function (resolve, _reject) { | ||
var showPromise = new Promise(function (resolve, _reject) { | ||
if (spinner && Object.keys(spinner).length) { | ||
spinner['name'] = name; | ||
_this.spinnerObservable.next(new NgxSpinner(tslib_1.__assign({}, spinner, { show: true }))); | ||
_this.spinnerObservable.next(new NgxSpinner(__assign(__assign({}, spinner), { show: true }))); | ||
resolve(true); | ||
@@ -93,3 +48,3 @@ } | ||
} | ||
})); | ||
}); | ||
return showPromise; | ||
@@ -102,60 +57,24 @@ }; | ||
*/ | ||
/** | ||
* To hide spinner | ||
* | ||
* \@memberof NgxSpinnerService | ||
* @param {?=} name | ||
* @param {?=} debounce | ||
* @return {?} | ||
*/ | ||
NgxSpinnerService.prototype.hide = /** | ||
* To hide spinner | ||
* | ||
* \@memberof NgxSpinnerService | ||
* @param {?=} name | ||
* @param {?=} debounce | ||
* @return {?} | ||
*/ | ||
function (name, debounce) { | ||
NgxSpinnerService.prototype.hide = function (name, debounce) { | ||
var _this = this; | ||
if (name === void 0) { name = PRIMARY_SPINNER; } | ||
if (debounce === void 0) { debounce = 0; } | ||
/** @type {?} */ | ||
var hidePromise = new Promise((/** | ||
* @param {?} resolve | ||
* @param {?} _reject | ||
* @return {?} | ||
*/ | ||
function (resolve, _reject) { | ||
setTimeout((/** | ||
* @return {?} | ||
*/ | ||
function () { | ||
var hidePromise = new Promise(function (resolve, _reject) { | ||
setTimeout(function () { | ||
_this.spinnerObservable.next(new NgxSpinner({ name: name, show: false })); | ||
resolve(true); | ||
}), debounce); | ||
})); | ||
}, debounce); | ||
}); | ||
return hidePromise; | ||
}; | ||
NgxSpinnerService.decorators = [ | ||
{ type: Injectable, args: [{ | ||
providedIn: 'root' | ||
},] } | ||
]; | ||
/** @nocollapse */ | ||
NgxSpinnerService.ctorParameters = function () { return []; }; | ||
/** @nocollapse */ NgxSpinnerService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function NgxSpinnerService_Factory() { return new NgxSpinnerService(); }, token: NgxSpinnerService, providedIn: "root" }); | ||
NgxSpinnerService.ɵprov = i0.ɵɵdefineInjectable({ factory: function NgxSpinnerService_Factory() { return new NgxSpinnerService(); }, token: NgxSpinnerService, providedIn: "root" }); | ||
NgxSpinnerService = __decorate([ | ||
Injectable({ | ||
providedIn: 'root' | ||
}), | ||
__metadata("design:paramtypes", []) | ||
], NgxSpinnerService); | ||
return NgxSpinnerService; | ||
}()); | ||
export { NgxSpinnerService }; | ||
if (false) { | ||
/** | ||
* Spinner observable | ||
* | ||
* \@memberof NgxSpinnerService | ||
* @type {?} | ||
* @private | ||
*/ | ||
NgxSpinnerService.prototype.spinnerObservable; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXNwaW5uZXIuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1zcGlubmVyLyIsInNvdXJjZXMiOlsibGliL25neC1zcGlubmVyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQWMsYUFBYSxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQ2pELE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUN4QyxPQUFPLEVBQUUsVUFBVSxFQUFFLGVBQWUsRUFBVyxNQUFNLG9CQUFvQixDQUFDOztBQUUxRTtJQVVFOzs7T0FHRztJQUNIOzs7Ozs7UUFMUSxzQkFBaUIsR0FBRyxJQUFJLGFBQWEsQ0FBYSxDQUFDLENBQUMsQ0FBQztJQUs3QyxDQUFDO0lBQ2pCOzs7T0FHRzs7Ozs7Ozs7SUFDSCxzQ0FBVTs7Ozs7OztJQUFWLFVBQVcsSUFBWTtRQUNyQixPQUFPLElBQUksQ0FBQyxpQkFBaUIsQ0FBQyxZQUFZLEVBQUUsQ0FBQyxJQUFJLENBQUMsTUFBTTs7OztRQUFDLFVBQUMsQ0FBYSxJQUFLLE9BQUEsQ0FBQyxJQUFJLENBQUMsQ0FBQyxJQUFJLEtBQUssSUFBSSxFQUFwQixDQUFvQixFQUFDLENBQUMsQ0FBQztJQUNyRyxDQUFDO0lBQ0Q7Ozs7T0FJRzs7Ozs7Ozs7O0lBQ0gsZ0NBQ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lzZSgocmVzb2x2ZSwgX3JlamVjdCkgPT4ge1xuICAgICAgaWYgKHNwaW5uZXIgJiYgT2JqZWN0LmtleXMoc3Bpbm5lcikubGVuZ3RoKSB7XG4gICAgICAgIHNwaW5uZXJbJ25hbWUnXSA9IG5hbWU7XG4gICAgICAgIHRoaXMuc3Bpbm5lck9ic2VydmFibGUubmV4dChuZXcgTmd4U3Bpbm5lcih7IC4uLnNwaW5uZXIsIHNob3c6IHRydWUgfSkpO1xuICAgICAgICByZXNvbHZlKHRydWUpO1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgdGhpcy5zcGlubmVyT2JzZXJ2YWJsZS5uZXh0KG5ldyBOZ3hTcGlubmVyKHsgbmFtZSwgc2hvdzogdHJ1ZSB9KSk7XG4gICAgICAgIHJlc29sdmUodHJ1ZSk7XG4gICAgICB9XG4gICAgfSk7XG4gICAgcmV0dXJuIHNob3dQcm9taXNlO1xuICB9XG4gIC8qKlxuICAqIFRvIGhpZGUgc3Bpbm5lclxuICAqXG4gICogQG1lbWJlcm9mIE5neFNwaW5uZXJTZXJ2aWNlXG4gICovXG4gIGhpZGUobmFtZTogc3RyaW5nID0gUFJJTUFSWV9TUElOTkVSLCBkZWJvdW5jZTogbnVtYmVyID0gMCkge1xuICAgIGNvbnN0IGhpZGVQcm9taXNlID0gbmV3IFByb21pc2UoKHJlc29sdmUsIF9yZWplY3QpID0+IHtcbiAgICAgIHNldFRpbWVvdXQoKCkgPT4ge1xuICAgICAgICB0aGlzLnNwaW5uZXJPYnNlcnZhYmxlLm5leHQobmV3IE5neFNwaW5uZXIoeyBuYW1lLCBzaG93OiBmYWxzZSB9KSk7XG4gICAgICAgIHJlc29sdmUodHJ1ZSk7XG4gICAgICB9LCBkZWJvdW5jZSk7XG4gICAgfSk7XG4gICAgcmV0dXJuIGhpZGVQcm9taXNlO1xuICB9XG59XG4iXX0= |
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: ngx-spinner.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
export { NgxSpinnerService, NgxSpinnerComponent, NgxSpinnerModule } from './public_api'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXNwaW5uZXIuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtc3Bpbm5lci8iLCJzb3VyY2VzIjpbIm5neC1zcGlubmVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBSUEseUVBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpY19hcGknO1xuIl19 | ||
export * from './public_api'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXNwaW5uZXIuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtc3Bpbm5lci8iLCJzb3VyY2VzIjpbIm5neC1zcGlubmVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0= |
@@ -1,12 +0,7 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: public_api.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/* | ||
* Public API Surface of ngx-spinner | ||
*/ | ||
export { NgxSpinnerService } from './lib/ngx-spinner.service'; | ||
export { NgxSpinnerComponent } from './lib/ngx-spinner.component'; | ||
export { NgxSpinnerModule } from './lib/ngx-spinner.module'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1zcGlubmVyLyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUdBLGtDQUFjLDJCQUEyQixDQUFDO0FBQzFDLG9DQUFjLDZCQUE2QixDQUFDO0FBQzVDLGlDQUFjLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBuZ3gtc3Bpbm5lclxuICovXG5leHBvcnQgKiBmcm9tICcuL2xpYi9uZ3gtc3Bpbm5lci5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL25neC1zcGlubmVyLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9uZ3gtc3Bpbm5lci5tb2R1bGUnO1xuIl19 | ||
export * from './lib/ngx-spinner.service'; | ||
export * from './lib/ngx-spinner.component'; | ||
export * from './lib/ngx-spinner.module'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1zcGlubmVyLyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUNILGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxjQUFjLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBuZ3gtc3Bpbm5lclxuICovXG5leHBvcnQgKiBmcm9tICcuL2xpYi9uZ3gtc3Bpbm5lci5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL25neC1zcGlubmVyLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9uZ3gtc3Bpbm5lci5tb2R1bGUnO1xuIl19 |
@@ -51,2 +51,8 @@ import { OnDestroy, OnInit, OnChanges, SimpleChange, ChangeDetectorRef } from '@angular/core'; | ||
/** | ||
* Custom template for spinner/loader | ||
* | ||
* @memberof NgxSpinnerComponent | ||
*/ | ||
template: string; | ||
/** | ||
* Spinner Object | ||
@@ -53,0 +59,0 @@ * |
@@ -71,2 +71,3 @@ export declare const LOADERS: { | ||
zIndex?: number; | ||
template?: string; | ||
} | ||
@@ -85,3 +86,4 @@ export declare class NgxSpinner { | ||
zIndex: number; | ||
template: string; | ||
constructor(init?: Partial<NgxSpinner>); | ||
} |
{ | ||
"name": "ngx-spinner", | ||
"version": "8.1.0", | ||
"version": "9.0.0", | ||
"schematics": "./schematics/collection.json", | ||
"repository": { | ||
@@ -20,2 +21,3 @@ "type": "git", | ||
"angular8", | ||
"angular9", | ||
"loading-spinner", | ||
@@ -34,2 +36,3 @@ "loading", | ||
"ng8", | ||
"ng9", | ||
"loadingscreen", | ||
@@ -40,3 +43,4 @@ "progress", | ||
"progress-circle", | ||
"loaders" | ||
"loaders", | ||
"ivy" | ||
], | ||
@@ -49,3 +53,4 @@ "license": "MIT", | ||
"@angular/common": "^8.0.0", | ||
"@angular/core": "^8.0.0" | ||
"@angular/core": "^8.0.0", | ||
"tslib": "^1.10.0" | ||
}, | ||
@@ -61,6 +66,3 @@ "main": "bundles/ngx-spinner.umd.js", | ||
"metadata": "ngx-spinner.metadata.json", | ||
"sideEffects": false, | ||
"dependencies": { | ||
"tslib": "^1.9.0" | ||
} | ||
"sideEffects": false | ||
} |
@@ -0,1 +1,3 @@ | ||
A library with more than 50 different loading spinners for Angular 4/5/6/7/8/9. (https://napster2210.github.io/ngx-spinner/) | ||
<p align="center"> | ||
@@ -6,5 +8,2 @@ <img height="200px" width="200px" style="text-align: center;" src="https://cdn.rawgit.com/Napster2210/ngx-spinner/gh-pages/assets/logo.png"> | ||
A library with more than 50 different loading spinners for Angular 4/5/6/7/8. (https://napster2210.github.io/ngx-spinner/) | ||
[![ng5](https://img.shields.io/travis/rust-lang/rust.svg?style=flat-square)]() | ||
[![Support](https://img.shields.io/badge/Support-Angular%204%2B-blue.svg?style=flat-square)]() | ||
@@ -16,16 +15,16 @@ [![Support](https://img.shields.io/badge/Support-Angular%205%2B-blue.svg?style=flat-square)]() | ||
[![devDependency Status](https://img.shields.io/david/expressjs/express.svg?style=flat-square)]() | ||
[![Gitter](https://badges.gitter.im/ngx-spinner/community.svg)](https://gitter.im/ngx-spinner/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) | ||
## What's New | ||
- Angular 9 support 🥳🥳🥳🥳 | ||
- Latest Angular Dependencies | ||
- Dynamic `z-index` | ||
- Smooth animation while `hide/show` the spinner | ||
- Debounce time to delay the spinner from hide | ||
- BUG fixes | ||
- `ng add` command to add `ngx-spinner` to the project | ||
- Image Support(Finally) 🥳🥳🥳🥳 | ||
Use appropriate version based on your Angular version. | ||
| Angular 4 | Angular 5 | Angular 6/7 | Angular 8 | | ||
| ----------- | ----------- | ----------- | --------- | | ||
| >= `v1.2.0` | >= `v2.0.0` | `v7.2.0` | `v8.1.0` | | ||
| Angular 4 | Angular 5 | Angular 6/7 | Angular 8 | Angular 9 | | ||
| ----------- | ----------- | ----------- | --------- | --------- | | ||
| >= `v1.2.0` | >= `v2.0.0` | `v7.2.0` | `v8.1.0` | `v9.0.0` | | ||
@@ -39,8 +38,10 @@ ## Table of contents | ||
- [Demo](#demo) | ||
- [StackBlitz Demo:](#stackblitz-demo) | ||
- [StackBlitz Demo](#stackblitz-demo) | ||
- [Installation](#installation) | ||
- [Usage](#usage) | ||
- [NgxSpinner Service](#ngxspinner-service) | ||
- [NgxSpinner Component](#ngxspinner-component) | ||
- [NOTE:](#note) | ||
- [Methods](#methods) | ||
- [Available Options](#available-options) | ||
- [Using Spinner Type](#using-spinner-type) | ||
- [Using Custom Spinner](#using-custom-spinner) | ||
- [NOTE](#note) | ||
- [How to use type?](#how-to-use-type) | ||
@@ -51,2 +52,3 @@ - [Versioning](#versioning) | ||
- [Future Plan](#future-plan) | ||
- [Ask Me](#ask-me) | ||
- [Credits](#credits) | ||
@@ -63,3 +65,4 @@ - [License](#license) | ||
- **Angular 8** Support | ||
- **Angular 9** Support | ||
- Custom spinner image support(gif), you can pass `img` tag | ||
- Multiple Spinners | ||
@@ -76,3 +79,3 @@ - Configurable option through service | ||
### StackBlitz Demo: | ||
### StackBlitz Demo | ||
@@ -103,2 +106,8 @@ - [Normal Usage](https://stackblitz.com/edit/angular-kruvnm) | ||
Using angular-cli: | ||
```bash | ||
$ ng add ngx-spinner | ||
``` | ||
## Usage | ||
@@ -109,2 +118,3 @@ | ||
```typescript | ||
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; | ||
// Import library module | ||
@@ -117,3 +127,4 @@ import { NgxSpinnerModule } from "ngx-spinner"; | ||
NgxSpinnerModule | ||
] | ||
], | ||
schemas: [CUSTOM_ELEMENTS_SCHEMA], | ||
}) | ||
@@ -151,3 +162,3 @@ export class AppModule {} | ||
## NgxSpinner Service | ||
## Methods | ||
@@ -157,15 +168,4 @@ - `NgxSpinnerService.show()` Shows the spinner | ||
## NgxSpinner Component | ||
## Available Options | ||
```html | ||
<ngx-spinner | ||
bdColor="rgba(51,51,51,0.8)" | ||
size="medium" | ||
color="#fff" | ||
type="ball-scale-multiple" | ||
> | ||
<p style="font-size: 20px; color: white">Loading...</p> | ||
</ngx-spinner> | ||
``` | ||
- **[bdColor]**: RGBA color format. | ||
@@ -185,6 +185,28 @@ To set background-color for backdrop, default `rgba(51,51,51,0.8)` where `aplha` value(0.8) is opacity of backdrop | ||
To set z-index for the spinner, default `99999` | ||
- **[template]**: For custom spinner image | ||
To set custom template for the custom spinner, default `null` | ||
#### Using Spinner Type | ||
```html | ||
<ngx-spinner | ||
bdColor="rgba(51,51,51,0.8)" | ||
size="medium" | ||
color="#fff" | ||
type="ball-scale-multiple" | ||
> | ||
<p style="font-size: 20px; color: white">Loading...</p> | ||
</ngx-spinner> | ||
``` | ||
#### Using Custom Spinner | ||
```html | ||
<ngx-spinner | ||
bdColor="rgba(0, 0, 0, 1)"> | ||
template="<img src='https://media.giphy.com/media/o8igknyuKs6aY/giphy.gif' />" | ||
</ngx-spinner> | ||
``` | ||
--- | ||
#### NOTE: | ||
#### NOTE | ||
@@ -199,4 +221,5 @@ - You can pass `HTML` code as loading text now, instead of input parameter(`loadingText`). Check above code for reference. | ||
size: "large", | ||
bdColor: "rgba(100,149,237, .8)", | ||
color: "white" | ||
bdColor: "rgba(0, 0, 0, 1)", | ||
color: "white", | ||
template: "<img src='https://media.giphy.com/media/o8igknyuKs6aY/giphy.gif' />" | ||
}); | ||
@@ -229,6 +252,8 @@ ``` | ||
- Image support for spinner | ||
- Interceptor Implementation | ||
- Better DEMO website | ||
## Ask Me | ||
- Now you can directly send me a message on [Gitter](https://gitter.im/ngx-spinner/community) for any query/suggestion/updates | ||
## Credits | ||
@@ -235,0 +260,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1026274
254
4815
- Removedtslib@^1.9.0