ng-http-loader 8.0.0 → 10.1.0
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/LICENSE +1 -1
- package/README.md +6 -2
- package/bundles/ng-http-loader.umd.js +243 -162
- package/bundles/ng-http-loader.umd.js.map +1 -1
- package/esm2015/lib/components/abstract.loader.directive.js +9 -7
- package/esm2015/lib/components/ng-http-loader.component.js +48 -27
- package/esm2015/lib/components/sk-chasing-dots/sk-chasing-dots.component.js +12 -8
- package/esm2015/lib/components/sk-cube-grid/sk-cube-grid.component.js +12 -8
- package/esm2015/lib/components/sk-double-bounce/sk-double-bounce.component.js +12 -8
- package/esm2015/lib/components/sk-rotating-plane/sk-rotating-plane.component.js +12 -8
- package/esm2015/lib/components/sk-spinner-pulse/sk-spinner-pulse.component.js +12 -8
- package/esm2015/lib/components/sk-three-bounce/sk-three-bounce.component.js +12 -8
- package/esm2015/lib/components/sk-wandering-cubes/sk-wandering-cubes.component.js +12 -8
- package/esm2015/lib/components/sk-wave/sk-wave.component.js +12 -8
- package/esm2015/lib/ng-http-loader.module.js +31 -16
- package/esm2015/lib/services/pending-requests-interceptor.service.js +9 -7
- package/esm2015/lib/services/spinner-visibility.service.js +9 -11
- package/fesm2015/ng-http-loader.js +190 -145
- package/fesm2015/ng-http-loader.js.map +1 -1
- package/lib/components/abstract.loader.directive.d.ts +3 -0
- package/lib/components/ng-http-loader.component.d.ts +4 -0
- package/lib/components/sk-chasing-dots/sk-chasing-dots.component.d.ts +3 -0
- package/lib/components/sk-cube-grid/sk-cube-grid.component.d.ts +3 -0
- package/lib/components/sk-double-bounce/sk-double-bounce.component.d.ts +3 -0
- package/lib/components/sk-rotating-plane/sk-rotating-plane.component.d.ts +3 -0
- package/lib/components/sk-spinner-pulse/sk-spinner-pulse.component.d.ts +3 -0
- package/lib/components/sk-three-bounce/sk-three-bounce.component.d.ts +3 -0
- package/lib/components/sk-wandering-cubes/sk-wandering-cubes.component.d.ts +3 -0
- package/lib/components/sk-wave/sk-wave.component.d.ts +3 -0
- package/lib/ng-http-loader.module.d.ts +14 -0
- package/lib/services/pending-requests-interceptor.service.d.ts +3 -0
- package/lib/services/spinner-visibility.service.d.ts +3 -0
- package/ng-http-loader.d.ts +1 -0
- package/package.json +6 -7
- package/CHANGELOG.md +0 -216
- package/bundles/ng-http-loader.umd.min.js +0 -16
- package/bundles/ng-http-loader.umd.min.js.map +0 -1
- package/ng-http-loader.metadata.json +0 -1
|
@@ -1,8 +1,29 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('rxjs/operators'), require('@angular/common/http'), require('@angular/common')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('ng-http-loader', ['exports', '@angular/core', 'rxjs', 'rxjs/operators', '@angular/common/http', '@angular/common'], factory) :
|
|
4
|
-
(global = global || self, factory(global[
|
|
5
|
-
}(this, (function (exports, i0, rxjs, operators, http,
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["ng-http-loader"] = {}, global.ng.core, global.rxjs, global.rxjs.operators, global.ng.common.http, global.ng.common));
|
|
5
|
+
})(this, (function (exports, i0, rxjs, operators, http, i11) { 'use strict';
|
|
6
|
+
|
|
7
|
+
function _interopNamespace(e) {
|
|
8
|
+
if (e && e.__esModule) return e;
|
|
9
|
+
var n = Object.create(null);
|
|
10
|
+
if (e) {
|
|
11
|
+
Object.keys(e).forEach(function (k) {
|
|
12
|
+
if (k !== 'default') {
|
|
13
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return e[k]; }
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
n["default"] = e;
|
|
22
|
+
return Object.freeze(n);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
+
var i11__namespace = /*#__PURE__*/_interopNamespace(i11);
|
|
6
27
|
|
|
7
28
|
/*! *****************************************************************************
|
|
8
29
|
Copyright (c) Microsoft Corporation.
|
|
@@ -23,11 +44,13 @@
|
|
|
23
44
|
extendStatics = Object.setPrototypeOf ||
|
|
24
45
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
25
46
|
function (d, b) { for (var p in b)
|
|
26
|
-
if (
|
|
47
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
27
48
|
d[p] = b[p]; };
|
|
28
49
|
return extendStatics(d, b);
|
|
29
50
|
};
|
|
30
51
|
function __extends(d, b) {
|
|
52
|
+
if (typeof b !== "function" && b !== null)
|
|
53
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
31
54
|
extendStatics(d, b);
|
|
32
55
|
function __() { this.constructor = d; }
|
|
33
56
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -170,10 +193,10 @@
|
|
|
170
193
|
k2 = k;
|
|
171
194
|
o[k2] = m[k];
|
|
172
195
|
});
|
|
173
|
-
function __exportStar(m,
|
|
196
|
+
function __exportStar(m, o) {
|
|
174
197
|
for (var p in m)
|
|
175
|
-
if (p !== "default" && !
|
|
176
|
-
__createBinding(
|
|
198
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
199
|
+
__createBinding(o, m, p);
|
|
177
200
|
}
|
|
178
201
|
function __values(o) {
|
|
179
202
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
@@ -213,11 +236,13 @@
|
|
|
213
236
|
}
|
|
214
237
|
return ar;
|
|
215
238
|
}
|
|
239
|
+
/** @deprecated */
|
|
216
240
|
function __spread() {
|
|
217
241
|
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
218
242
|
ar = ar.concat(__read(arguments[i]));
|
|
219
243
|
return ar;
|
|
220
244
|
}
|
|
245
|
+
/** @deprecated */
|
|
221
246
|
function __spreadArrays() {
|
|
222
247
|
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
223
248
|
s += arguments[i].length;
|
|
@@ -226,7 +251,17 @@
|
|
|
226
251
|
r[k] = a[j];
|
|
227
252
|
return r;
|
|
228
253
|
}
|
|
229
|
-
|
|
254
|
+
function __spreadArray(to, from, pack) {
|
|
255
|
+
if (pack || arguments.length === 2)
|
|
256
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
257
|
+
if (ar || !(i in from)) {
|
|
258
|
+
if (!ar)
|
|
259
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
260
|
+
ar[i] = from[i];
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
264
|
+
}
|
|
230
265
|
function __await(v) {
|
|
231
266
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
232
267
|
}
|
|
@@ -283,7 +318,7 @@
|
|
|
283
318
|
var result = {};
|
|
284
319
|
if (mod != null)
|
|
285
320
|
for (var k in mod)
|
|
286
|
-
if (Object.hasOwnProperty.call(mod, k))
|
|
321
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
287
322
|
__createBinding(result, mod, k);
|
|
288
323
|
__setModuleDefault(result, mod);
|
|
289
324
|
return result;
|
|
@@ -291,18 +326,21 @@
|
|
|
291
326
|
function __importDefault(mod) {
|
|
292
327
|
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
293
328
|
}
|
|
294
|
-
function __classPrivateFieldGet(receiver,
|
|
295
|
-
if (!
|
|
296
|
-
throw new TypeError("
|
|
297
|
-
|
|
298
|
-
|
|
329
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
330
|
+
if (kind === "a" && !f)
|
|
331
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
332
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
333
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
334
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
299
335
|
}
|
|
300
|
-
function __classPrivateFieldSet(receiver,
|
|
301
|
-
if (
|
|
302
|
-
throw new TypeError("
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
336
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
337
|
+
if (kind === "m")
|
|
338
|
+
throw new TypeError("Private method is not writable");
|
|
339
|
+
if (kind === "a" && !f)
|
|
340
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
341
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
342
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
343
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
306
344
|
}
|
|
307
345
|
|
|
308
346
|
/*
|
|
@@ -318,12 +356,13 @@
|
|
|
318
356
|
}
|
|
319
357
|
return AbstractLoaderDirective;
|
|
320
358
|
}());
|
|
321
|
-
AbstractLoaderDirective
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
359
|
+
AbstractLoaderDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: AbstractLoaderDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
360
|
+
AbstractLoaderDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.11", type: AbstractLoaderDirective, inputs: { backgroundColor: "backgroundColor" }, ngImport: i0__namespace });
|
|
361
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: AbstractLoaderDirective, decorators: [{
|
|
362
|
+
type: i0.Directive
|
|
363
|
+
}], propDecorators: { backgroundColor: [{
|
|
364
|
+
type: i0.Input
|
|
365
|
+
}] } });
|
|
327
366
|
|
|
328
367
|
var SkChasingDotsComponent = /** @class */ (function (_super) {
|
|
329
368
|
__extends(SkChasingDotsComponent, _super);
|
|
@@ -332,13 +371,16 @@
|
|
|
332
371
|
}
|
|
333
372
|
return SkChasingDotsComponent;
|
|
334
373
|
}(AbstractLoaderDirective));
|
|
335
|
-
SkChasingDotsComponent
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
374
|
+
SkChasingDotsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: SkChasingDotsComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
375
|
+
SkChasingDotsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.11", type: SkChasingDotsComponent, selector: "sk-chasing-dots", usesInheritance: true, ngImport: i0__namespace, template: "<!--\nCopyright (c) 2015 Tobias Ahlin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n-->\n\n<div class=\"sk-chasing-dots\" [class.colored]=\"!backgroundColor\">\n <div class=\"sk-child sk-dot1\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-child sk-dot2\" [style.background-color]='backgroundColor'></div>\n</div>\n", styles: [".sk-chasing-dots{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation:sk-chasingDotsRotate 2s infinite linear}.sk-chasing-dots .sk-child{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:sk-chasingDotsBounce 2s infinite ease-in-out}.sk-chasing-dots .sk-dot2{top:auto;bottom:0;animation-delay:-1s}@keyframes sk-chasingDotsRotate{to{transform:rotate(360deg)}}@keyframes sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}\n"] });
|
|
376
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: SkChasingDotsComponent, decorators: [{
|
|
377
|
+
type: i0.Component,
|
|
378
|
+
args: [{
|
|
379
|
+
selector: 'sk-chasing-dots',
|
|
380
|
+
templateUrl: './sk-chasing-dots.component.html',
|
|
381
|
+
styleUrls: ['./sk-chasing-dots.component.scss']
|
|
382
|
+
}]
|
|
383
|
+
}] });
|
|
342
384
|
|
|
343
385
|
var SkCubeGridComponent = /** @class */ (function (_super) {
|
|
344
386
|
__extends(SkCubeGridComponent, _super);
|
|
@@ -347,13 +389,16 @@
|
|
|
347
389
|
}
|
|
348
390
|
return SkCubeGridComponent;
|
|
349
391
|
}(AbstractLoaderDirective));
|
|
350
|
-
SkCubeGridComponent
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
392
|
+
SkCubeGridComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: SkCubeGridComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
393
|
+
SkCubeGridComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.11", type: SkCubeGridComponent, selector: "sk-cube-grid", usesInheritance: true, ngImport: i0__namespace, template: "<!--\nCopyright (c) 2015 Tobias Ahlin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n-->\n\n<div class=\"sk-cube-grid\" [class.colored]=\"!backgroundColor\">\n <div class=\"sk-cube sk-cube1\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-cube sk-cube2\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-cube sk-cube3\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-cube sk-cube4\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-cube sk-cube5\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-cube sk-cube6\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-cube sk-cube7\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-cube sk-cube8\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-cube sk-cube9\" [style.background-color]='backgroundColor'></div>\n</div>\n", styles: [".sk-cube-grid{position:relative;top:50%;width:40px;height:40px;margin:auto}.sk-cube-grid .sk-cube{width:33.33%;height:33.33%;float:left;animation:sk-cubeGridScaleDelay 1.3s infinite ease-in-out}.sk-cube-grid .sk-cube1{animation-delay:.2s}.sk-cube-grid .sk-cube2{animation-delay:.3s}.sk-cube-grid .sk-cube3{animation-delay:.4s}.sk-cube-grid .sk-cube4{animation-delay:.1s}.sk-cube-grid .sk-cube5{animation-delay:.2s}.sk-cube-grid .sk-cube6{animation-delay:.3s}.sk-cube-grid .sk-cube7{animation-delay:0s}.sk-cube-grid .sk-cube8{animation-delay:.1s}.sk-cube-grid .sk-cube9{animation-delay:.2s}@keyframes sk-cubeGridScaleDelay{0%,70%,to{transform:scale(1)}35%{transform:scale(0)}}\n"] });
|
|
394
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: SkCubeGridComponent, decorators: [{
|
|
395
|
+
type: i0.Component,
|
|
396
|
+
args: [{
|
|
397
|
+
selector: 'sk-cube-grid',
|
|
398
|
+
templateUrl: './sk-cube-grid.component.html',
|
|
399
|
+
styleUrls: ['./sk-cube-grid.component.scss']
|
|
400
|
+
}]
|
|
401
|
+
}] });
|
|
357
402
|
|
|
358
403
|
var SkDoubleBounceComponent = /** @class */ (function (_super) {
|
|
359
404
|
__extends(SkDoubleBounceComponent, _super);
|
|
@@ -362,13 +407,16 @@
|
|
|
362
407
|
}
|
|
363
408
|
return SkDoubleBounceComponent;
|
|
364
409
|
}(AbstractLoaderDirective));
|
|
365
|
-
SkDoubleBounceComponent
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
410
|
+
SkDoubleBounceComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: SkDoubleBounceComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
411
|
+
SkDoubleBounceComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.11", type: SkDoubleBounceComponent, selector: "sk-double-bounce", usesInheritance: true, ngImport: i0__namespace, template: "<!--\nCopyright (c) 2015 Tobias Ahlin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n-->\n\n<div class=\"sk-double-bounce\" [class.colored]=\"!backgroundColor\">\n <div class=\"sk-child sk-double-bounce1\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-child sk-double-bounce2\" [style.background-color]='backgroundColor'></div>\n</div>\n", styles: [".sk-double-bounce{top:50%;width:40px;height:40px;position:relative;margin:auto}.sk-double-bounce .sk-child{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;animation:sk-doubleBounce 2s infinite ease-in-out}.sk-double-bounce .sk-double-bounce2{animation-delay:-1s}@keyframes sk-doubleBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}\n"] });
|
|
412
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: SkDoubleBounceComponent, decorators: [{
|
|
413
|
+
type: i0.Component,
|
|
414
|
+
args: [{
|
|
415
|
+
selector: 'sk-double-bounce',
|
|
416
|
+
templateUrl: './sk-double-bounce.component.html',
|
|
417
|
+
styleUrls: ['./sk-double-bounce.component.scss']
|
|
418
|
+
}]
|
|
419
|
+
}] });
|
|
372
420
|
|
|
373
421
|
var SkRotatingPlaneComponent = /** @class */ (function (_super) {
|
|
374
422
|
__extends(SkRotatingPlaneComponent, _super);
|
|
@@ -377,13 +425,16 @@
|
|
|
377
425
|
}
|
|
378
426
|
return SkRotatingPlaneComponent;
|
|
379
427
|
}(AbstractLoaderDirective));
|
|
380
|
-
SkRotatingPlaneComponent
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
428
|
+
SkRotatingPlaneComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: SkRotatingPlaneComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
429
|
+
SkRotatingPlaneComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.11", type: SkRotatingPlaneComponent, selector: "sk-rotating-plane", usesInheritance: true, ngImport: i0__namespace, template: "<!--\nCopyright (c) 2015 Tobias Ahlin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n-->\n\n<div class=\"sk-rotating-plane colored-parent\" [style.background-color]='backgroundColor'></div>\n", styles: [".sk-rotating-plane{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:sk-rotatePlane 1.2s infinite ease-in-out}@keyframes sk-rotatePlane{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}\n"] });
|
|
430
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: SkRotatingPlaneComponent, decorators: [{
|
|
431
|
+
type: i0.Component,
|
|
432
|
+
args: [{
|
|
433
|
+
selector: 'sk-rotating-plane',
|
|
434
|
+
templateUrl: './sk-rotating-plane.component.html',
|
|
435
|
+
styleUrls: ['./sk-rotating-plane.component.scss']
|
|
436
|
+
}]
|
|
437
|
+
}] });
|
|
387
438
|
|
|
388
439
|
var SkSpinnerPulseComponent = /** @class */ (function (_super) {
|
|
389
440
|
__extends(SkSpinnerPulseComponent, _super);
|
|
@@ -392,13 +443,16 @@
|
|
|
392
443
|
}
|
|
393
444
|
return SkSpinnerPulseComponent;
|
|
394
445
|
}(AbstractLoaderDirective));
|
|
395
|
-
SkSpinnerPulseComponent
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
446
|
+
SkSpinnerPulseComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: SkSpinnerPulseComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
447
|
+
SkSpinnerPulseComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.11", type: SkSpinnerPulseComponent, selector: "sk-spinner-pulse", usesInheritance: true, ngImport: i0__namespace, template: "<!--\nCopyright (c) 2015 Tobias Ahlin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n-->\n\n<div class=\"sk-spinner sk-spinner-pulse colored-parent\" [style.background-color]='backgroundColor'></div>\n", styles: [".sk-spinner-pulse{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:sk-pulseScaleOut 1s infinite ease-in-out}@keyframes sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}\n"] });
|
|
448
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: SkSpinnerPulseComponent, decorators: [{
|
|
449
|
+
type: i0.Component,
|
|
450
|
+
args: [{
|
|
451
|
+
selector: 'sk-spinner-pulse',
|
|
452
|
+
templateUrl: './sk-spinner-pulse.component.html',
|
|
453
|
+
styleUrls: ['./sk-spinner-pulse.component.scss']
|
|
454
|
+
}]
|
|
455
|
+
}] });
|
|
402
456
|
|
|
403
457
|
var SkThreeBounceComponent = /** @class */ (function (_super) {
|
|
404
458
|
__extends(SkThreeBounceComponent, _super);
|
|
@@ -407,13 +461,16 @@
|
|
|
407
461
|
}
|
|
408
462
|
return SkThreeBounceComponent;
|
|
409
463
|
}(AbstractLoaderDirective));
|
|
410
|
-
SkThreeBounceComponent
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
464
|
+
SkThreeBounceComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: SkThreeBounceComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
465
|
+
SkThreeBounceComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.11", type: SkThreeBounceComponent, selector: "sk-three-bounce", usesInheritance: true, ngImport: i0__namespace, template: "<!--\nCopyright (c) 2015 Tobias Ahlin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n-->\n\n<div class=\"sk-three-bounce\" [class.colored]=\"!backgroundColor\">\n <div class=\"sk-child sk-bounce1\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-child sk-bounce2\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-child sk-bounce3\" [style.background-color]='backgroundColor'></div>\n</div>\n", styles: [".sk-three-bounce{top:50%;position:relative;margin:auto;width:80px;text-align:center}.sk-three-bounce .sk-child{width:20px;height:20px;border-radius:100%;display:inline-block;animation:sk-three-bounce 1.4s ease-in-out 0s infinite both}.sk-three-bounce .sk-bounce1{animation-delay:-.32s}.sk-three-bounce .sk-bounce2{animation-delay:-.16s}@keyframes sk-three-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}\n"] });
|
|
466
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: SkThreeBounceComponent, decorators: [{
|
|
467
|
+
type: i0.Component,
|
|
468
|
+
args: [{
|
|
469
|
+
selector: 'sk-three-bounce',
|
|
470
|
+
templateUrl: './sk-three-bounce.component.html',
|
|
471
|
+
styleUrls: ['./sk-three-bounce.component.scss']
|
|
472
|
+
}]
|
|
473
|
+
}] });
|
|
417
474
|
|
|
418
475
|
var SkWanderingCubesComponent = /** @class */ (function (_super) {
|
|
419
476
|
__extends(SkWanderingCubesComponent, _super);
|
|
@@ -422,13 +479,16 @@
|
|
|
422
479
|
}
|
|
423
480
|
return SkWanderingCubesComponent;
|
|
424
481
|
}(AbstractLoaderDirective));
|
|
425
|
-
SkWanderingCubesComponent
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
482
|
+
SkWanderingCubesComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: SkWanderingCubesComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
483
|
+
SkWanderingCubesComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.11", type: SkWanderingCubesComponent, selector: "sk-wandering-cubes", usesInheritance: true, ngImport: i0__namespace, template: "<!--\nCopyright (c) 2015 Tobias Ahlin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n-->\n\n<div class=\"sk-wandering-cubes\" [class.colored]=\"!backgroundColor\">\n <div class=\"sk-cube sk-cube1\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-cube sk-cube2\" [style.background-color]='backgroundColor'></div>\n</div>\n", styles: [".sk-wandering-cubes{top:50%;margin:auto;width:40px;height:40px;position:relative}.sk-wandering-cubes .sk-cube{width:10px;height:10px;position:absolute;top:0;left:0;animation:sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-wandering-cubes .sk-cube2{animation-delay:-.9s}@keyframes sk-wanderingCube{0%{transform:rotate(0)}25%{transform:translate(30px) rotate(-90deg) scale(.5)}50%{transform:translate(30px) translateY(30px) rotate(-179deg)}50.1%{transform:translate(30px) translateY(30px) rotate(-180deg)}75%{transform:translate(0) translateY(30px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}\n"] });
|
|
484
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: SkWanderingCubesComponent, decorators: [{
|
|
485
|
+
type: i0.Component,
|
|
486
|
+
args: [{
|
|
487
|
+
selector: 'sk-wandering-cubes',
|
|
488
|
+
templateUrl: './sk-wandering-cubes.component.html',
|
|
489
|
+
styleUrls: ['./sk-wandering-cubes.component.scss']
|
|
490
|
+
}]
|
|
491
|
+
}] });
|
|
432
492
|
|
|
433
493
|
var SkWaveComponent = /** @class */ (function (_super) {
|
|
434
494
|
__extends(SkWaveComponent, _super);
|
|
@@ -437,12 +497,44 @@
|
|
|
437
497
|
}
|
|
438
498
|
return SkWaveComponent;
|
|
439
499
|
}(AbstractLoaderDirective));
|
|
440
|
-
SkWaveComponent
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
500
|
+
SkWaveComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: SkWaveComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
501
|
+
SkWaveComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.11", type: SkWaveComponent, selector: "sk-wave", usesInheritance: true, ngImport: i0__namespace, template: "<!--\nCopyright (c) 2015 Tobias Ahlin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n-->\n\n<div class=\"sk-wave\" [class.colored]=\"!backgroundColor\">\n <div class=\"sk-rect sk-rect1\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-rect sk-rect2\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-rect sk-rect3\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-rect sk-rect4\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-rect sk-rect5\" [style.background-color]='backgroundColor'></div>\n</div>\n", styles: [".sk-wave{position:relative;top:50%;margin:auto;width:50px;height:40px;text-align:center;font-size:10px}.sk-wave .sk-rect{float:left;margin-right:1px;height:100%;width:6px;display:inline-block;animation:sk-waveStretchDelay 1.2s infinite ease-in-out}.sk-wave .sk-rect1{animation-delay:-1.2s}.sk-wave .sk-rect2{animation-delay:-1.1s}.sk-wave .sk-rect3{animation-delay:-1s}.sk-wave .sk-rect4{animation-delay:-.9s}.sk-wave .sk-rect5{animation-delay:-.8s}@keyframes sk-waveStretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}\n"] });
|
|
502
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: SkWaveComponent, decorators: [{
|
|
503
|
+
type: i0.Component,
|
|
504
|
+
args: [{
|
|
505
|
+
selector: 'sk-wave',
|
|
506
|
+
templateUrl: './sk-wave.component.html',
|
|
507
|
+
styleUrls: ['./sk-wave.component.scss']
|
|
508
|
+
}]
|
|
509
|
+
}] });
|
|
510
|
+
|
|
511
|
+
/*
|
|
512
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
513
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
514
|
+
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
515
|
+
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
516
|
+
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
517
|
+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
518
|
+
*/
|
|
519
|
+
var Spinkit = {
|
|
520
|
+
skChasingDots: 'sk-chasing-dots',
|
|
521
|
+
skCubeGrid: 'sk-cube-grid',
|
|
522
|
+
skDoubleBounce: 'sk-double-bounce',
|
|
523
|
+
skRotatingPlane: 'sk-rotationg-plane',
|
|
524
|
+
skSpinnerPulse: 'sk-spinner-pulse',
|
|
525
|
+
skThreeBounce: 'sk-three-bounce',
|
|
526
|
+
skWanderingCubes: 'sk-wandering-cubes',
|
|
527
|
+
skWave: 'sk-wave'
|
|
528
|
+
};
|
|
529
|
+
var SPINKIT_COMPONENTS = [
|
|
530
|
+
SkCubeGridComponent,
|
|
531
|
+
SkChasingDotsComponent,
|
|
532
|
+
SkDoubleBounceComponent,
|
|
533
|
+
SkRotatingPlaneComponent,
|
|
534
|
+
SkSpinnerPulseComponent,
|
|
535
|
+
SkThreeBounceComponent,
|
|
536
|
+
SkWanderingCubesComponent,
|
|
537
|
+
SkWaveComponent,
|
|
446
538
|
];
|
|
447
539
|
|
|
448
540
|
/*
|
|
@@ -545,12 +637,14 @@
|
|
|
545
637
|
};
|
|
546
638
|
return PendingRequestsInterceptor;
|
|
547
639
|
}());
|
|
548
|
-
PendingRequestsInterceptor.ɵ
|
|
549
|
-
PendingRequestsInterceptor
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
640
|
+
PendingRequestsInterceptor.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: PendingRequestsInterceptor, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
641
|
+
PendingRequestsInterceptor.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: PendingRequestsInterceptor, providedIn: 'root' });
|
|
642
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: PendingRequestsInterceptor, decorators: [{
|
|
643
|
+
type: i0.Injectable,
|
|
644
|
+
args: [{
|
|
645
|
+
providedIn: 'root'
|
|
646
|
+
}]
|
|
647
|
+
}] });
|
|
554
648
|
var PendingRequestsInterceptorProvider = [{
|
|
555
649
|
provide: http.HTTP_INTERCEPTORS,
|
|
556
650
|
useExisting: PendingRequestsInterceptor,
|
|
@@ -587,44 +681,14 @@
|
|
|
587
681
|
};
|
|
588
682
|
return SpinnerVisibilityService;
|
|
589
683
|
}());
|
|
590
|
-
SpinnerVisibilityService.ɵ
|
|
591
|
-
SpinnerVisibilityService
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
]; };
|
|
599
|
-
|
|
600
|
-
/*
|
|
601
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
602
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
603
|
-
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
604
|
-
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
605
|
-
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
606
|
-
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
607
|
-
*/
|
|
608
|
-
var Spinkit = {
|
|
609
|
-
skChasingDots: 'sk-chasing-dots',
|
|
610
|
-
skCubeGrid: 'sk-cube-grid',
|
|
611
|
-
skDoubleBounce: 'sk-double-bounce',
|
|
612
|
-
skRotatingPlane: 'sk-rotationg-plane',
|
|
613
|
-
skSpinnerPulse: 'sk-spinner-pulse',
|
|
614
|
-
skThreeBounce: 'sk-three-bounce',
|
|
615
|
-
skWanderingCubes: 'sk-wandering-cubes',
|
|
616
|
-
skWave: 'sk-wave'
|
|
617
|
-
};
|
|
618
|
-
var SPINKIT_COMPONENTS = [
|
|
619
|
-
SkCubeGridComponent,
|
|
620
|
-
SkChasingDotsComponent,
|
|
621
|
-
SkDoubleBounceComponent,
|
|
622
|
-
SkRotatingPlaneComponent,
|
|
623
|
-
SkSpinnerPulseComponent,
|
|
624
|
-
SkThreeBounceComponent,
|
|
625
|
-
SkWanderingCubesComponent,
|
|
626
|
-
SkWaveComponent,
|
|
627
|
-
];
|
|
684
|
+
SpinnerVisibilityService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: SpinnerVisibilityService, deps: [{ token: PendingRequestsInterceptor }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
685
|
+
SpinnerVisibilityService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: SpinnerVisibilityService, providedIn: 'root' });
|
|
686
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: SpinnerVisibilityService, decorators: [{
|
|
687
|
+
type: i0.Injectable,
|
|
688
|
+
args: [{
|
|
689
|
+
providedIn: 'root'
|
|
690
|
+
}]
|
|
691
|
+
}], ctorParameters: function () { return [{ type: PendingRequestsInterceptor }]; } });
|
|
628
692
|
|
|
629
693
|
var NgHttpLoaderComponent = /** @class */ (function () {
|
|
630
694
|
function NgHttpLoaderComponent(pendingRequestsInterceptor, spinnerVisibility) {
|
|
@@ -641,6 +705,7 @@
|
|
|
641
705
|
this.filteredUrlPatterns = [];
|
|
642
706
|
this.minDuration = 0;
|
|
643
707
|
this.opacity = '.7';
|
|
708
|
+
this.backdropBackgroundColor = '#f1f1f1';
|
|
644
709
|
this.spinner = Spinkit.skWave;
|
|
645
710
|
}
|
|
646
711
|
NgHttpLoaderComponent.prototype.ngOnInit = function () {
|
|
@@ -687,30 +752,40 @@
|
|
|
687
752
|
};
|
|
688
753
|
return NgHttpLoaderComponent;
|
|
689
754
|
}());
|
|
690
|
-
NgHttpLoaderComponent
|
|
691
|
-
{ type:
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
755
|
+
NgHttpLoaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: NgHttpLoaderComponent, deps: [{ token: PendingRequestsInterceptor }, { token: SpinnerVisibilityService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
756
|
+
NgHttpLoaderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.11", type: NgHttpLoaderComponent, selector: "ng-http-loader", inputs: { backdrop: "backdrop", backgroundColor: "backgroundColor", debounceDelay: "debounceDelay", entryComponent: "entryComponent", extraDuration: "extraDuration", filteredHeaders: "filteredHeaders", filteredMethods: "filteredMethods", filteredUrlPatterns: "filteredUrlPatterns", minDuration: "minDuration", opacity: "opacity", backdropBackgroundColor: "backdropBackgroundColor", spinner: "spinner" }, ngImport: i0__namespace, template: "<div id=\"spinner\"\n *ngIf=\"isVisible$ | async\"\n [class.backdrop]=\"backdrop\"\n [style.opacity]=\"opacity\"\n [ngStyle]=\"{'background-color': backdrop ? backdropBackgroundColor : 'transparent'}\">\n\n <ng-container *ngComponentOutlet=\"entryComponent\"></ng-container>\n\n <sk-cube-grid\n *ngIf=\"spinner === spinkit.skCubeGrid\"\n [backgroundColor]=\"backgroundColor\">\n </sk-cube-grid>\n\n <sk-chasing-dots\n *ngIf=\"spinner === spinkit.skChasingDots\"\n [backgroundColor]=\"backgroundColor\">\n </sk-chasing-dots>\n\n <sk-double-bounce\n *ngIf=\"spinner === spinkit.skDoubleBounce\"\n [backgroundColor]=\"backgroundColor\">\n </sk-double-bounce>\n\n <sk-rotating-plane\n *ngIf=\"spinner === spinkit.skRotatingPlane\"\n [backgroundColor]=\"backgroundColor\">\n </sk-rotating-plane>\n\n <sk-spinner-pulse\n *ngIf=\"spinner === spinkit.skSpinnerPulse\"\n [backgroundColor]=\"backgroundColor\">\n </sk-spinner-pulse>\n\n <sk-three-bounce\n *ngIf=\"spinner === spinkit.skThreeBounce\"\n [backgroundColor]=\"backgroundColor\">\n </sk-three-bounce>\n\n <sk-wandering-cubes\n *ngIf=\"spinner === spinkit.skWanderingCubes\"\n [backgroundColor]=\"backgroundColor\">\n </sk-wandering-cubes>\n\n <sk-wave\n *ngIf=\"spinner === spinkit.skWave\"\n [backgroundColor]=\"backgroundColor\">\n </sk-wave>\n\n</div>\n\n", styles: ["#spinner{top:50%;left:50%;transform:translate(-50%,-50%);position:fixed;z-index:9999}#spinner.backdrop{top:0;left:0;height:100%;width:100%;display:flex;align-items:center;justify-content:center;transform:none}::ng-deep .colored-parent,::ng-deep .colored>div{background-color:#333}\n"], components: [{ type: SkCubeGridComponent, selector: "sk-cube-grid" }, { type: SkChasingDotsComponent, selector: "sk-chasing-dots" }, { type: SkDoubleBounceComponent, selector: "sk-double-bounce" }, { type: SkRotatingPlaneComponent, selector: "sk-rotating-plane" }, { type: SkSpinnerPulseComponent, selector: "sk-spinner-pulse" }, { type: SkThreeBounceComponent, selector: "sk-three-bounce" }, { type: SkWanderingCubesComponent, selector: "sk-wandering-cubes" }, { type: SkWaveComponent, selector: "sk-wave" }], directives: [{ type: i11__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11__namespace.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i11__namespace.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModuleFactory"] }], pipes: { "async": i11__namespace.AsyncPipe } });
|
|
757
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: NgHttpLoaderComponent, decorators: [{
|
|
758
|
+
type: i0.Component,
|
|
759
|
+
args: [{
|
|
760
|
+
selector: 'ng-http-loader',
|
|
761
|
+
templateUrl: './ng-http-loader.component.html',
|
|
762
|
+
styleUrls: ['./ng-http-loader.component.scss']
|
|
763
|
+
}]
|
|
764
|
+
}], ctorParameters: function () { return [{ type: PendingRequestsInterceptor }, { type: SpinnerVisibilityService }]; }, propDecorators: { backdrop: [{
|
|
765
|
+
type: i0.Input
|
|
766
|
+
}], backgroundColor: [{
|
|
767
|
+
type: i0.Input
|
|
768
|
+
}], debounceDelay: [{
|
|
769
|
+
type: i0.Input
|
|
770
|
+
}], entryComponent: [{
|
|
771
|
+
type: i0.Input
|
|
772
|
+
}], extraDuration: [{
|
|
773
|
+
type: i0.Input
|
|
774
|
+
}], filteredHeaders: [{
|
|
775
|
+
type: i0.Input
|
|
776
|
+
}], filteredMethods: [{
|
|
777
|
+
type: i0.Input
|
|
778
|
+
}], filteredUrlPatterns: [{
|
|
779
|
+
type: i0.Input
|
|
780
|
+
}], minDuration: [{
|
|
781
|
+
type: i0.Input
|
|
782
|
+
}], opacity: [{
|
|
783
|
+
type: i0.Input
|
|
784
|
+
}], backdropBackgroundColor: [{
|
|
785
|
+
type: i0.Input
|
|
786
|
+
}], spinner: [{
|
|
787
|
+
type: i0.Input
|
|
788
|
+
}] } });
|
|
714
789
|
|
|
715
790
|
var NgHttpLoaderModule = /** @class */ (function () {
|
|
716
791
|
function NgHttpLoaderModule() {
|
|
@@ -725,19 +800,25 @@
|
|
|
725
800
|
};
|
|
726
801
|
return NgHttpLoaderModule;
|
|
727
802
|
}());
|
|
728
|
-
NgHttpLoaderModule
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
803
|
+
NgHttpLoaderModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: NgHttpLoaderModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
804
|
+
NgHttpLoaderModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: NgHttpLoaderModule, declarations: [NgHttpLoaderComponent, SkCubeGridComponent, SkChasingDotsComponent, SkDoubleBounceComponent, SkRotatingPlaneComponent, SkSpinnerPulseComponent, SkThreeBounceComponent, SkWanderingCubesComponent, SkWaveComponent], imports: [i11.CommonModule], exports: [NgHttpLoaderComponent, SkCubeGridComponent, SkChasingDotsComponent, SkDoubleBounceComponent, SkRotatingPlaneComponent, SkSpinnerPulseComponent, SkThreeBounceComponent, SkWanderingCubesComponent, SkWaveComponent] });
|
|
805
|
+
NgHttpLoaderModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: NgHttpLoaderModule, imports: [[
|
|
806
|
+
i11.CommonModule,
|
|
807
|
+
]] });
|
|
808
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: NgHttpLoaderModule, decorators: [{
|
|
809
|
+
type: i0.NgModule,
|
|
810
|
+
args: [{
|
|
811
|
+
declarations: __spreadArray([
|
|
812
|
+
NgHttpLoaderComponent
|
|
813
|
+
], __read(SPINKIT_COMPONENTS)),
|
|
814
|
+
imports: [
|
|
815
|
+
i11.CommonModule,
|
|
816
|
+
],
|
|
817
|
+
exports: __spreadArray([
|
|
818
|
+
NgHttpLoaderComponent
|
|
819
|
+
], __read(SPINKIT_COMPONENTS))
|
|
820
|
+
}]
|
|
821
|
+
}] });
|
|
741
822
|
|
|
742
823
|
/*
|
|
743
824
|
* Public API Surface of ng-http-loader
|
|
@@ -766,5 +847,5 @@
|
|
|
766
847
|
|
|
767
848
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
768
849
|
|
|
769
|
-
}))
|
|
850
|
+
}));
|
|
770
851
|
//# sourceMappingURL=ng-http-loader.umd.js.map
|