ng-http-loader 16.0.0 → 16.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/README.md +17 -49
- package/esm2022/lib/components/abstract.loader.directive.mjs +5 -4
- package/esm2022/lib/components/ng-http-loader.component.mjs +41 -36
- package/esm2022/lib/components/sk-chasing-dots/sk-chasing-dots.component.mjs +5 -5
- package/esm2022/lib/components/sk-cube-grid/sk-cube-grid.component.mjs +5 -5
- package/esm2022/lib/components/sk-double-bounce/sk-double-bounce.component.mjs +5 -5
- package/esm2022/lib/components/sk-rotating-plane/sk-rotating-plane.component.mjs +5 -5
- package/esm2022/lib/components/sk-spinner-pulse/sk-spinner-pulse.component.mjs +5 -5
- package/esm2022/lib/components/sk-three-bounce/sk-three-bounce.component.mjs +5 -5
- package/esm2022/lib/components/sk-wandering-cubes/sk-wandering-cubes.component.mjs +5 -5
- package/esm2022/lib/components/sk-wave/sk-wave.component.mjs +5 -5
- package/esm2022/lib/ng-http-loader.module.mjs +17 -11
- package/esm2022/lib/services/pending-requests-interceptor-configurer.service.mjs +65 -0
- package/esm2022/lib/services/pending-requests-interceptor.mjs +30 -0
- package/esm2022/lib/services/spinner-visibility.service.mjs +12 -11
- package/esm2022/public_api.mjs +3 -2
- package/fesm2022/ng-http-loader.mjs +137 -125
- package/fesm2022/ng-http-loader.mjs.map +1 -1
- package/lib/components/ng-http-loader.component.d.ts +4 -4
- package/lib/components/sk-chasing-dots/sk-chasing-dots.component.d.ts +1 -1
- package/lib/components/sk-cube-grid/sk-cube-grid.component.d.ts +1 -1
- package/lib/components/sk-double-bounce/sk-double-bounce.component.d.ts +1 -1
- package/lib/components/sk-rotating-plane/sk-rotating-plane.component.d.ts +1 -1
- package/lib/components/sk-spinner-pulse/sk-spinner-pulse.component.d.ts +1 -1
- package/lib/components/sk-three-bounce/sk-three-bounce.component.d.ts +1 -1
- package/lib/components/sk-wandering-cubes/sk-wandering-cubes.component.d.ts +1 -1
- package/lib/components/sk-wave/sk-wave.component.d.ts +1 -1
- package/lib/ng-http-loader.module.d.ts +17 -11
- package/lib/services/{pending-requests-interceptor.service.d.ts → pending-requests-interceptor-configurer.service.d.ts} +11 -12
- package/lib/services/pending-requests-interceptor.d.ts +3 -0
- package/lib/services/spinner-visibility.service.d.ts +3 -3
- package/package.json +1 -1
- package/public_api.d.ts +2 -1
- package/esm2022/lib/services/pending-requests-interceptor.service.mjs +0 -93
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, Input, Component, Injectable, NgModule } from '@angular/core';
|
|
2
|
+
import { Directive, Input, Component, Injectable, inject, NgModule } from '@angular/core';
|
|
3
3
|
import { ReplaySubject, partition, merge, timer } from 'rxjs';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import { CommonModule } from '@angular/common';
|
|
4
|
+
import { switchMap, debounce, distinctUntilChanged, tap, finalize } from 'rxjs/operators';
|
|
5
|
+
import { NgStyle, NgComponentOutlet, NgIf, AsyncPipe, CommonModule } from '@angular/common';
|
|
6
|
+
import { provideHttpClient, withInterceptors } from '@angular/common/http';
|
|
8
7
|
|
|
9
8
|
/*
|
|
10
9
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
@@ -15,10 +14,11 @@ import { CommonModule } from '@angular/common';
|
|
|
15
14
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
16
15
|
*/
|
|
17
16
|
class AbstractLoaderDirective {
|
|
18
|
-
|
|
19
|
-
static
|
|
17
|
+
backgroundColor;
|
|
18
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: AbstractLoaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
19
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.4", type: AbstractLoaderDirective, inputs: { backgroundColor: "backgroundColor" }, ngImport: i0 });
|
|
20
20
|
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: AbstractLoaderDirective, decorators: [{
|
|
22
22
|
type: Directive
|
|
23
23
|
}], propDecorators: { backgroundColor: [{
|
|
24
24
|
type: Input
|
|
@@ -33,12 +33,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImpor
|
|
|
33
33
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
34
34
|
*/
|
|
35
35
|
class SkChasingDotsComponent extends AbstractLoaderDirective {
|
|
36
|
-
static
|
|
37
|
-
static
|
|
36
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SkChasingDotsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
37
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", type: SkChasingDotsComponent, isStandalone: true, selector: "sk-chasing-dots", usesInheritance: true, ngImport: i0, 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"] });
|
|
38
38
|
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SkChasingDotsComponent, decorators: [{
|
|
40
40
|
type: Component,
|
|
41
|
-
args: [{ selector: 'sk-chasing-dots', 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"] }]
|
|
41
|
+
args: [{ selector: 'sk-chasing-dots', standalone: true, 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"] }]
|
|
42
42
|
}] });
|
|
43
43
|
|
|
44
44
|
/*
|
|
@@ -50,12 +50,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImpor
|
|
|
50
50
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
51
51
|
*/
|
|
52
52
|
class SkCubeGridComponent extends AbstractLoaderDirective {
|
|
53
|
-
static
|
|
54
|
-
static
|
|
53
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SkCubeGridComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
54
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", type: SkCubeGridComponent, isStandalone: true, selector: "sk-cube-grid", usesInheritance: true, ngImport: i0, 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:scaleZ(1)}35%{transform:scale3D(0,0,1)}}\n"] });
|
|
55
55
|
}
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SkCubeGridComponent, decorators: [{
|
|
57
57
|
type: Component,
|
|
58
|
-
args: [{ selector: 'sk-cube-grid', 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:scaleZ(1)}35%{transform:scale3D(0,0,1)}}\n"] }]
|
|
58
|
+
args: [{ selector: 'sk-cube-grid', standalone: true, 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:scaleZ(1)}35%{transform:scale3D(0,0,1)}}\n"] }]
|
|
59
59
|
}] });
|
|
60
60
|
|
|
61
61
|
/*
|
|
@@ -67,12 +67,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImpor
|
|
|
67
67
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
68
68
|
*/
|
|
69
69
|
class SkDoubleBounceComponent extends AbstractLoaderDirective {
|
|
70
|
-
static
|
|
71
|
-
static
|
|
70
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SkDoubleBounceComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
71
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", type: SkDoubleBounceComponent, isStandalone: true, selector: "sk-double-bounce", usesInheritance: true, ngImport: i0, 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"] });
|
|
72
72
|
}
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SkDoubleBounceComponent, decorators: [{
|
|
74
74
|
type: Component,
|
|
75
|
-
args: [{ selector: 'sk-double-bounce', 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"] }]
|
|
75
|
+
args: [{ selector: 'sk-double-bounce', standalone: true, 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"] }]
|
|
76
76
|
}] });
|
|
77
77
|
|
|
78
78
|
/*
|
|
@@ -84,12 +84,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImpor
|
|
|
84
84
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
85
85
|
*/
|
|
86
86
|
class SkRotatingPlaneComponent extends AbstractLoaderDirective {
|
|
87
|
-
static
|
|
88
|
-
static
|
|
87
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SkRotatingPlaneComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
88
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", type: SkRotatingPlaneComponent, isStandalone: true, selector: "sk-rotating-plane", usesInheritance: true, ngImport: i0, 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"] });
|
|
89
89
|
}
|
|
90
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
90
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SkRotatingPlaneComponent, decorators: [{
|
|
91
91
|
type: Component,
|
|
92
|
-
args: [{ selector: 'sk-rotating-plane', 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"] }]
|
|
92
|
+
args: [{ selector: 'sk-rotating-plane', standalone: true, 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"] }]
|
|
93
93
|
}] });
|
|
94
94
|
|
|
95
95
|
/*
|
|
@@ -101,12 +101,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImpor
|
|
|
101
101
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
102
102
|
*/
|
|
103
103
|
class SkSpinnerPulseComponent extends AbstractLoaderDirective {
|
|
104
|
-
static
|
|
105
|
-
static
|
|
104
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SkSpinnerPulseComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
105
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", type: SkSpinnerPulseComponent, isStandalone: true, selector: "sk-spinner-pulse", usesInheritance: true, ngImport: i0, 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"] });
|
|
106
106
|
}
|
|
107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SkSpinnerPulseComponent, decorators: [{
|
|
108
108
|
type: Component,
|
|
109
|
-
args: [{ selector: 'sk-spinner-pulse', 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"] }]
|
|
109
|
+
args: [{ selector: 'sk-spinner-pulse', standalone: true, 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"] }]
|
|
110
110
|
}] });
|
|
111
111
|
|
|
112
112
|
/*
|
|
@@ -118,12 +118,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImpor
|
|
|
118
118
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
119
119
|
*/
|
|
120
120
|
class SkThreeBounceComponent extends AbstractLoaderDirective {
|
|
121
|
-
static
|
|
122
|
-
static
|
|
121
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SkThreeBounceComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
122
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", type: SkThreeBounceComponent, isStandalone: true, selector: "sk-three-bounce", usesInheritance: true, ngImport: i0, 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"] });
|
|
123
123
|
}
|
|
124
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
124
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SkThreeBounceComponent, decorators: [{
|
|
125
125
|
type: Component,
|
|
126
|
-
args: [{ selector: 'sk-three-bounce', 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"] }]
|
|
126
|
+
args: [{ selector: 'sk-three-bounce', standalone: true, 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"] }]
|
|
127
127
|
}] });
|
|
128
128
|
|
|
129
129
|
/*
|
|
@@ -135,12 +135,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImpor
|
|
|
135
135
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
136
136
|
*/
|
|
137
137
|
class SkWanderingCubesComponent extends AbstractLoaderDirective {
|
|
138
|
-
static
|
|
139
|
-
static
|
|
138
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SkWanderingCubesComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
139
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", type: SkWanderingCubesComponent, isStandalone: true, selector: "sk-wandering-cubes", usesInheritance: true, ngImport: i0, 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"] });
|
|
140
140
|
}
|
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SkWanderingCubesComponent, decorators: [{
|
|
142
142
|
type: Component,
|
|
143
|
-
args: [{ selector: 'sk-wandering-cubes', 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"] }]
|
|
143
|
+
args: [{ selector: 'sk-wandering-cubes', standalone: true, 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"] }]
|
|
144
144
|
}] });
|
|
145
145
|
|
|
146
146
|
/*
|
|
@@ -152,12 +152,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImpor
|
|
|
152
152
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
153
153
|
*/
|
|
154
154
|
class SkWaveComponent extends AbstractLoaderDirective {
|
|
155
|
-
static
|
|
156
|
-
static
|
|
155
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SkWaveComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
156
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", type: SkWaveComponent, isStandalone: true, selector: "sk-wave", usesInheritance: true, ngImport: i0, 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"] });
|
|
157
157
|
}
|
|
158
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SkWaveComponent, decorators: [{
|
|
159
159
|
type: Component,
|
|
160
|
-
args: [{ selector: 'sk-wave', 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"] }]
|
|
160
|
+
args: [{ selector: 'sk-wave', standalone: true, 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"] }]
|
|
161
161
|
}] });
|
|
162
162
|
|
|
163
163
|
/*
|
|
@@ -189,29 +189,25 @@ const SPINKIT_COMPONENTS = [
|
|
|
189
189
|
SkWaveComponent,
|
|
190
190
|
];
|
|
191
191
|
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
*/
|
|
200
|
-
class PendingRequestsInterceptor {
|
|
201
|
-
constructor() {
|
|
202
|
-
this._pendingRequests = 0;
|
|
203
|
-
this._pendingRequestsStatus$ = new ReplaySubject(1);
|
|
204
|
-
this._filteredUrlPatterns = [];
|
|
205
|
-
this._filteredMethods = [];
|
|
206
|
-
this._filteredHeaders = [];
|
|
207
|
-
this._forceByPass = false;
|
|
208
|
-
}
|
|
192
|
+
class PendingRequestsInterceptorConfigurer {
|
|
193
|
+
_pendingRequests = 0;
|
|
194
|
+
_pendingRequestsStatus$ = new ReplaySubject(1);
|
|
195
|
+
_filteredUrlPatterns = [];
|
|
196
|
+
_filteredMethods = [];
|
|
197
|
+
_filteredHeaders = [];
|
|
198
|
+
_forceByPass = false;
|
|
209
199
|
get pendingRequestsStatus$() {
|
|
210
200
|
return this._pendingRequestsStatus$.asObservable();
|
|
211
201
|
}
|
|
202
|
+
get pendingRequestsStatusSubject$() {
|
|
203
|
+
return this._pendingRequestsStatus$;
|
|
204
|
+
}
|
|
212
205
|
get pendingRequests() {
|
|
213
206
|
return this._pendingRequests;
|
|
214
207
|
}
|
|
208
|
+
set pendingRequests(pendingRequests) {
|
|
209
|
+
this._pendingRequests = pendingRequests;
|
|
210
|
+
}
|
|
215
211
|
get filteredUrlPatterns() {
|
|
216
212
|
return this._filteredUrlPatterns;
|
|
217
213
|
}
|
|
@@ -245,37 +241,15 @@ class PendingRequestsInterceptor {
|
|
|
245
241
|
|| this.shouldBypassMethod(req)
|
|
246
242
|
|| this.shouldBypassHeader(req);
|
|
247
243
|
}
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
if (!shouldBypass) {
|
|
251
|
-
this._pendingRequests++;
|
|
252
|
-
if (1 === this._pendingRequests) {
|
|
253
|
-
this._pendingRequestsStatus$.next(true);
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
return next.handle(req).pipe(finalize(() => {
|
|
257
|
-
if (!shouldBypass) {
|
|
258
|
-
this._pendingRequests--;
|
|
259
|
-
if (0 === this._pendingRequests) {
|
|
260
|
-
this._pendingRequestsStatus$.next(false);
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
}));
|
|
264
|
-
}
|
|
265
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: PendingRequestsInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
266
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: PendingRequestsInterceptor, providedIn: 'root' }); }
|
|
244
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: PendingRequestsInterceptorConfigurer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
245
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: PendingRequestsInterceptorConfigurer, providedIn: 'root' });
|
|
267
246
|
}
|
|
268
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
247
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: PendingRequestsInterceptorConfigurer, decorators: [{
|
|
269
248
|
type: Injectable,
|
|
270
249
|
args: [{
|
|
271
250
|
providedIn: 'root'
|
|
272
251
|
}]
|
|
273
252
|
}] });
|
|
274
|
-
const PendingRequestsInterceptorProvider = [{
|
|
275
|
-
provide: HTTP_INTERCEPTORS,
|
|
276
|
-
useExisting: PendingRequestsInterceptor,
|
|
277
|
-
multi: true
|
|
278
|
-
}];
|
|
279
253
|
|
|
280
254
|
/*
|
|
281
255
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
@@ -286,30 +260,31 @@ const PendingRequestsInterceptorProvider = [{
|
|
|
286
260
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
287
261
|
*/
|
|
288
262
|
class SpinnerVisibilityService {
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
263
|
+
pendingRequestsInterceptorConfigurer;
|
|
264
|
+
_visibility$ = new ReplaySubject(1);
|
|
265
|
+
constructor(pendingRequestsInterceptorConfigurer) {
|
|
266
|
+
this.pendingRequestsInterceptorConfigurer = pendingRequestsInterceptorConfigurer;
|
|
292
267
|
}
|
|
293
268
|
get visibility$() {
|
|
294
269
|
return this._visibility$.asObservable();
|
|
295
270
|
}
|
|
296
271
|
show() {
|
|
297
|
-
this.
|
|
272
|
+
this.pendingRequestsInterceptorConfigurer.forceByPass = true;
|
|
298
273
|
this._visibility$.next(true);
|
|
299
274
|
}
|
|
300
275
|
hide() {
|
|
301
276
|
this._visibility$.next(false);
|
|
302
|
-
this.
|
|
277
|
+
this.pendingRequestsInterceptorConfigurer.forceByPass = false;
|
|
303
278
|
}
|
|
304
|
-
static
|
|
305
|
-
static
|
|
279
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SpinnerVisibilityService, deps: [{ token: PendingRequestsInterceptorConfigurer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
280
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SpinnerVisibilityService, providedIn: 'root' });
|
|
306
281
|
}
|
|
307
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SpinnerVisibilityService, decorators: [{
|
|
308
283
|
type: Injectable,
|
|
309
284
|
args: [{
|
|
310
285
|
providedIn: 'root'
|
|
311
286
|
}]
|
|
312
|
-
}], ctorParameters: () => [{ type:
|
|
287
|
+
}], ctorParameters: () => [{ type: PendingRequestsInterceptorConfigurer }] });
|
|
313
288
|
|
|
314
289
|
/*
|
|
315
290
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
@@ -320,21 +295,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImpor
|
|
|
320
295
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
321
296
|
*/
|
|
322
297
|
class NgHttpLoaderComponent {
|
|
323
|
-
|
|
324
|
-
|
|
298
|
+
pendingRequestsInterceptorConfigurer;
|
|
299
|
+
spinnerVisibility;
|
|
300
|
+
spinkit = Spinkit;
|
|
301
|
+
isVisible$;
|
|
302
|
+
visibleUntil = Date.now();
|
|
303
|
+
backdrop = true;
|
|
304
|
+
backgroundColor;
|
|
305
|
+
debounceDelay = 0;
|
|
306
|
+
entryComponent;
|
|
307
|
+
extraDuration = 0;
|
|
308
|
+
filteredHeaders = [];
|
|
309
|
+
filteredMethods = [];
|
|
310
|
+
filteredUrlPatterns = [];
|
|
311
|
+
minDuration = 0;
|
|
312
|
+
opacity = '.7';
|
|
313
|
+
backdropBackgroundColor = '#f1f1f1';
|
|
314
|
+
spinner = Spinkit.skWave;
|
|
315
|
+
constructor(pendingRequestsInterceptorConfigurer, spinnerVisibility) {
|
|
316
|
+
this.pendingRequestsInterceptorConfigurer = pendingRequestsInterceptorConfigurer;
|
|
325
317
|
this.spinnerVisibility = spinnerVisibility;
|
|
326
|
-
this.spinkit = Spinkit;
|
|
327
|
-
this.visibleUntil = Date.now();
|
|
328
|
-
this.backdrop = true;
|
|
329
|
-
this.debounceDelay = 0;
|
|
330
|
-
this.extraDuration = 0;
|
|
331
|
-
this.filteredHeaders = [];
|
|
332
|
-
this.filteredMethods = [];
|
|
333
|
-
this.filteredUrlPatterns = [];
|
|
334
|
-
this.minDuration = 0;
|
|
335
|
-
this.opacity = '.7';
|
|
336
|
-
this.backdropBackgroundColor = '#f1f1f1';
|
|
337
|
-
this.spinner = Spinkit.skWave;
|
|
338
318
|
}
|
|
339
319
|
ngOnInit() {
|
|
340
320
|
this.initIsvisibleObservable();
|
|
@@ -342,8 +322,8 @@ class NgHttpLoaderComponent {
|
|
|
342
322
|
this.initFilters();
|
|
343
323
|
}
|
|
344
324
|
initIsvisibleObservable() {
|
|
345
|
-
const [showSpinner$, hideSpinner$] = partition(this.
|
|
346
|
-
this.isVisible$ = merge(this.
|
|
325
|
+
const [showSpinner$, hideSpinner$] = partition(this.pendingRequestsInterceptorConfigurer.pendingRequestsStatus$, h => h);
|
|
326
|
+
this.isVisible$ = merge(this.pendingRequestsInterceptorConfigurer.pendingRequestsStatus$
|
|
347
327
|
.pipe(switchMap(() => showSpinner$.pipe(debounce(() => timer(this.debounceDelay))))), showSpinner$
|
|
348
328
|
.pipe(switchMap(() => hideSpinner$.pipe(debounce(() => this.getVisibilityTimer$())))), this.spinnerVisibility.visibility$).pipe(distinctUntilChanged(), tap(h => this.updateExpirationDelay(h)));
|
|
349
329
|
}
|
|
@@ -359,14 +339,14 @@ class NgHttpLoaderComponent {
|
|
|
359
339
|
}
|
|
360
340
|
initFilteredUrlPatterns() {
|
|
361
341
|
if (!!this.filteredUrlPatterns.length) {
|
|
362
|
-
this.filteredUrlPatterns.forEach(e => this.
|
|
342
|
+
this.filteredUrlPatterns.forEach(e => this.pendingRequestsInterceptorConfigurer.filteredUrlPatterns.push(new RegExp(e)));
|
|
363
343
|
}
|
|
364
344
|
}
|
|
365
345
|
initFilteredMethods() {
|
|
366
|
-
this.
|
|
346
|
+
this.pendingRequestsInterceptorConfigurer.filteredMethods = this.filteredMethods;
|
|
367
347
|
}
|
|
368
348
|
initFilteredHeaders() {
|
|
369
|
-
this.
|
|
349
|
+
this.pendingRequestsInterceptorConfigurer.filteredHeaders = this.filteredHeaders;
|
|
370
350
|
}
|
|
371
351
|
updateExpirationDelay(showSpinner) {
|
|
372
352
|
if (showSpinner) {
|
|
@@ -376,13 +356,13 @@ class NgHttpLoaderComponent {
|
|
|
376
356
|
getVisibilityTimer$() {
|
|
377
357
|
return timer(Math.max(this.extraDuration, this.visibleUntil - Date.now()));
|
|
378
358
|
}
|
|
379
|
-
static
|
|
380
|
-
static
|
|
359
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgHttpLoaderComponent, deps: [{ token: PendingRequestsInterceptorConfigurer }, { token: SpinnerVisibilityService }], target: i0.ɵɵFactoryTarget.Component });
|
|
360
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.4", type: NgHttpLoaderComponent, isStandalone: true, 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, 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"], dependencies: [{ kind: "component", type: SkCubeGridComponent, selector: "sk-cube-grid" }, { kind: "component", type: SkChasingDotsComponent, selector: "sk-chasing-dots" }, { kind: "component", type: SkDoubleBounceComponent, selector: "sk-double-bounce" }, { kind: "component", type: SkRotatingPlaneComponent, selector: "sk-rotating-plane" }, { kind: "component", type: SkSpinnerPulseComponent, selector: "sk-spinner-pulse" }, { kind: "component", type: SkThreeBounceComponent, selector: "sk-three-bounce" }, { kind: "component", type: SkWanderingCubesComponent, selector: "sk-wandering-cubes" }, { kind: "component", type: SkWaveComponent, selector: "sk-wave" }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
381
361
|
}
|
|
382
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgHttpLoaderComponent, decorators: [{
|
|
383
363
|
type: Component,
|
|
384
|
-
args: [{ selector: 'ng-http-loader', 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"] }]
|
|
385
|
-
}], ctorParameters: () => [{ type:
|
|
364
|
+
args: [{ selector: 'ng-http-loader', standalone: true, imports: [SPINKIT_COMPONENTS, NgStyle, NgComponentOutlet, NgIf, AsyncPipe], 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"] }]
|
|
365
|
+
}], ctorParameters: () => [{ type: PendingRequestsInterceptorConfigurer }, { type: SpinnerVisibilityService }], propDecorators: { backdrop: [{
|
|
386
366
|
type: Input
|
|
387
367
|
}], backgroundColor: [{
|
|
388
368
|
type: Input
|
|
@@ -416,28 +396,60 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImpor
|
|
|
416
396
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
417
397
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
418
398
|
*/
|
|
399
|
+
function pendingRequestsInterceptor$(req, next) {
|
|
400
|
+
const pendingRequestsInterceptorConfigurer = inject(PendingRequestsInterceptorConfigurer);
|
|
401
|
+
const shouldBypass = pendingRequestsInterceptorConfigurer.shouldBypass(req);
|
|
402
|
+
if (!shouldBypass) {
|
|
403
|
+
pendingRequestsInterceptorConfigurer.pendingRequests++;
|
|
404
|
+
if (1 === pendingRequestsInterceptorConfigurer.pendingRequests) {
|
|
405
|
+
pendingRequestsInterceptorConfigurer.pendingRequestsStatusSubject$.next(true);
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
return next(req).pipe(finalize(() => {
|
|
409
|
+
if (!shouldBypass) {
|
|
410
|
+
pendingRequestsInterceptorConfigurer.pendingRequests--;
|
|
411
|
+
if (0 === pendingRequestsInterceptorConfigurer.pendingRequests) {
|
|
412
|
+
pendingRequestsInterceptorConfigurer.pendingRequestsStatusSubject$.next(false);
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
}));
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
/*
|
|
419
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
420
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
421
|
+
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
422
|
+
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
423
|
+
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
424
|
+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
425
|
+
*/
|
|
426
|
+
/**
|
|
427
|
+
* @deprecated Will be removed in the next release, standalone component will become the default.
|
|
428
|
+
*/
|
|
419
429
|
class NgHttpLoaderModule {
|
|
430
|
+
/**
|
|
431
|
+
* @deprecated Will be removed in the next release, standalone component will become the default.
|
|
432
|
+
*/
|
|
420
433
|
static forRoot() {
|
|
421
434
|
return {
|
|
422
435
|
ngModule: NgHttpLoaderModule,
|
|
423
436
|
providers: [
|
|
424
|
-
|
|
437
|
+
provideHttpClient(withInterceptors([pendingRequestsInterceptor$])),
|
|
425
438
|
]
|
|
426
439
|
};
|
|
427
440
|
}
|
|
428
|
-
static
|
|
429
|
-
static
|
|
430
|
-
|
|
441
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgHttpLoaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
442
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.4", ngImport: i0, type: NgHttpLoaderModule, imports: [CommonModule,
|
|
443
|
+
NgHttpLoaderComponent, SkCubeGridComponent, SkChasingDotsComponent, SkDoubleBounceComponent, SkRotatingPlaneComponent, SkSpinnerPulseComponent, SkThreeBounceComponent, SkWanderingCubesComponent, SkWaveComponent], exports: [NgHttpLoaderComponent, SkCubeGridComponent, SkChasingDotsComponent, SkDoubleBounceComponent, SkRotatingPlaneComponent, SkSpinnerPulseComponent, SkThreeBounceComponent, SkWanderingCubesComponent, SkWaveComponent] });
|
|
444
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgHttpLoaderModule, imports: [CommonModule] });
|
|
431
445
|
}
|
|
432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgHttpLoaderModule, decorators: [{
|
|
433
447
|
type: NgModule,
|
|
434
448
|
args: [{
|
|
435
|
-
declarations: [
|
|
436
|
-
NgHttpLoaderComponent,
|
|
437
|
-
...SPINKIT_COMPONENTS,
|
|
438
|
-
],
|
|
439
449
|
imports: [
|
|
440
450
|
CommonModule,
|
|
451
|
+
NgHttpLoaderComponent,
|
|
452
|
+
...SPINKIT_COMPONENTS,
|
|
441
453
|
],
|
|
442
454
|
exports: [
|
|
443
455
|
NgHttpLoaderComponent,
|
|
@@ -454,5 +466,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImpor
|
|
|
454
466
|
* Generated bundle index. Do not edit.
|
|
455
467
|
*/
|
|
456
468
|
|
|
457
|
-
export { AbstractLoaderDirective, NgHttpLoaderComponent, NgHttpLoaderModule,
|
|
469
|
+
export { AbstractLoaderDirective, NgHttpLoaderComponent, NgHttpLoaderModule, PendingRequestsInterceptorConfigurer, SPINKIT_COMPONENTS, SkChasingDotsComponent, SkCubeGridComponent, SkDoubleBounceComponent, SkRotatingPlaneComponent, SkSpinnerPulseComponent, SkThreeBounceComponent, SkWanderingCubesComponent, SkWaveComponent, Spinkit, SpinnerVisibilityService, pendingRequestsInterceptor$ };
|
|
458
470
|
//# sourceMappingURL=ng-http-loader.mjs.map
|