ng-http-loader 10.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/bundles/ng-http-loader.umd.js +55 -51
- package/bundles/ng-http-loader.umd.js.map +1 -1
- package/esm2015/lib/components/abstract.loader.directive.js +4 -4
- package/esm2015/lib/components/ng-http-loader.component.js +4 -4
- package/esm2015/lib/components/sk-chasing-dots/sk-chasing-dots.component.js +4 -4
- package/esm2015/lib/components/sk-cube-grid/sk-cube-grid.component.js +4 -4
- package/esm2015/lib/components/sk-double-bounce/sk-double-bounce.component.js +4 -4
- package/esm2015/lib/components/sk-rotating-plane/sk-rotating-plane.component.js +4 -4
- package/esm2015/lib/components/sk-spinner-pulse/sk-spinner-pulse.component.js +4 -4
- package/esm2015/lib/components/sk-three-bounce/sk-three-bounce.component.js +4 -4
- package/esm2015/lib/components/sk-wandering-cubes/sk-wandering-cubes.component.js +4 -4
- package/esm2015/lib/components/sk-wave/sk-wave.component.js +4 -4
- package/esm2015/lib/ng-http-loader.module.js +5 -5
- package/esm2015/lib/services/pending-requests-interceptor.service.js +4 -4
- package/esm2015/lib/services/spinner-visibility.service.js +4 -4
- package/fesm2015/ng-http-loader.js +40 -40
- package/fesm2015/ng-http-loader.js.map +1 -1
- package/package.json +3 -3
|
@@ -16,9 +16,9 @@ import { CommonModule } from '@angular/common';
|
|
|
16
16
|
*/
|
|
17
17
|
class AbstractLoaderDirective {
|
|
18
18
|
}
|
|
19
|
-
AbstractLoaderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
20
|
-
AbstractLoaderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
19
|
+
AbstractLoaderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: AbstractLoaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
+
AbstractLoaderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.11", type: AbstractLoaderDirective, inputs: { backgroundColor: "backgroundColor" }, ngImport: i0 });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: AbstractLoaderDirective, decorators: [{
|
|
22
22
|
type: Directive
|
|
23
23
|
}], propDecorators: { backgroundColor: [{
|
|
24
24
|
type: Input
|
|
@@ -34,9 +34,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.0", ngImpor
|
|
|
34
34
|
*/
|
|
35
35
|
class SkChasingDotsComponent extends AbstractLoaderDirective {
|
|
36
36
|
}
|
|
37
|
-
SkChasingDotsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
38
|
-
SkChasingDotsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
37
|
+
SkChasingDotsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: SkChasingDotsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
38
|
+
SkChasingDotsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.11", type: SkChasingDotsComponent, 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"] });
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: SkChasingDotsComponent, decorators: [{
|
|
40
40
|
type: Component,
|
|
41
41
|
args: [{
|
|
42
42
|
selector: 'sk-chasing-dots',
|
|
@@ -55,9 +55,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.0", ngImpor
|
|
|
55
55
|
*/
|
|
56
56
|
class SkCubeGridComponent extends AbstractLoaderDirective {
|
|
57
57
|
}
|
|
58
|
-
SkCubeGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
59
|
-
SkCubeGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
58
|
+
SkCubeGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: SkCubeGridComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
59
|
+
SkCubeGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.11", type: SkCubeGridComponent, 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:scale(1)}35%{transform:scale(0)}}\n"] });
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: SkCubeGridComponent, decorators: [{
|
|
61
61
|
type: Component,
|
|
62
62
|
args: [{
|
|
63
63
|
selector: 'sk-cube-grid',
|
|
@@ -76,9 +76,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.0", ngImpor
|
|
|
76
76
|
*/
|
|
77
77
|
class SkDoubleBounceComponent extends AbstractLoaderDirective {
|
|
78
78
|
}
|
|
79
|
-
SkDoubleBounceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
80
|
-
SkDoubleBounceComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.
|
|
81
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
79
|
+
SkDoubleBounceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: SkDoubleBounceComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
80
|
+
SkDoubleBounceComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.11", type: SkDoubleBounceComponent, 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"] });
|
|
81
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: SkDoubleBounceComponent, decorators: [{
|
|
82
82
|
type: Component,
|
|
83
83
|
args: [{
|
|
84
84
|
selector: 'sk-double-bounce',
|
|
@@ -97,9 +97,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.0", ngImpor
|
|
|
97
97
|
*/
|
|
98
98
|
class SkRotatingPlaneComponent extends AbstractLoaderDirective {
|
|
99
99
|
}
|
|
100
|
-
SkRotatingPlaneComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
101
|
-
SkRotatingPlaneComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.
|
|
102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
100
|
+
SkRotatingPlaneComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: SkRotatingPlaneComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
101
|
+
SkRotatingPlaneComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.11", type: SkRotatingPlaneComponent, 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"] });
|
|
102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: SkRotatingPlaneComponent, decorators: [{
|
|
103
103
|
type: Component,
|
|
104
104
|
args: [{
|
|
105
105
|
selector: 'sk-rotating-plane',
|
|
@@ -118,9 +118,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.0", ngImpor
|
|
|
118
118
|
*/
|
|
119
119
|
class SkSpinnerPulseComponent extends AbstractLoaderDirective {
|
|
120
120
|
}
|
|
121
|
-
SkSpinnerPulseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
122
|
-
SkSpinnerPulseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.
|
|
123
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
121
|
+
SkSpinnerPulseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: SkSpinnerPulseComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
122
|
+
SkSpinnerPulseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.11", type: SkSpinnerPulseComponent, 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"] });
|
|
123
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: SkSpinnerPulseComponent, decorators: [{
|
|
124
124
|
type: Component,
|
|
125
125
|
args: [{
|
|
126
126
|
selector: 'sk-spinner-pulse',
|
|
@@ -139,9 +139,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.0", ngImpor
|
|
|
139
139
|
*/
|
|
140
140
|
class SkThreeBounceComponent extends AbstractLoaderDirective {
|
|
141
141
|
}
|
|
142
|
-
SkThreeBounceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
143
|
-
SkThreeBounceComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.
|
|
144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
142
|
+
SkThreeBounceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: SkThreeBounceComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
143
|
+
SkThreeBounceComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.11", type: SkThreeBounceComponent, 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"] });
|
|
144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: SkThreeBounceComponent, decorators: [{
|
|
145
145
|
type: Component,
|
|
146
146
|
args: [{
|
|
147
147
|
selector: 'sk-three-bounce',
|
|
@@ -160,9 +160,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.0", ngImpor
|
|
|
160
160
|
*/
|
|
161
161
|
class SkWanderingCubesComponent extends AbstractLoaderDirective {
|
|
162
162
|
}
|
|
163
|
-
SkWanderingCubesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
164
|
-
SkWanderingCubesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.
|
|
165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
163
|
+
SkWanderingCubesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: SkWanderingCubesComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
164
|
+
SkWanderingCubesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.11", type: SkWanderingCubesComponent, 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"] });
|
|
165
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: SkWanderingCubesComponent, decorators: [{
|
|
166
166
|
type: Component,
|
|
167
167
|
args: [{
|
|
168
168
|
selector: 'sk-wandering-cubes',
|
|
@@ -181,9 +181,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.0", ngImpor
|
|
|
181
181
|
*/
|
|
182
182
|
class SkWaveComponent extends AbstractLoaderDirective {
|
|
183
183
|
}
|
|
184
|
-
SkWaveComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
185
|
-
SkWaveComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.
|
|
186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
184
|
+
SkWaveComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: SkWaveComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
185
|
+
SkWaveComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.11", type: SkWaveComponent, 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"] });
|
|
186
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: SkWaveComponent, decorators: [{
|
|
187
187
|
type: Component,
|
|
188
188
|
args: [{
|
|
189
189
|
selector: 'sk-wave',
|
|
@@ -295,9 +295,9 @@ class PendingRequestsInterceptor {
|
|
|
295
295
|
}));
|
|
296
296
|
}
|
|
297
297
|
}
|
|
298
|
-
PendingRequestsInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
299
|
-
PendingRequestsInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.
|
|
300
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
298
|
+
PendingRequestsInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: PendingRequestsInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
299
|
+
PendingRequestsInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: PendingRequestsInterceptor, providedIn: 'root' });
|
|
300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: PendingRequestsInterceptor, decorators: [{
|
|
301
301
|
type: Injectable,
|
|
302
302
|
args: [{
|
|
303
303
|
providedIn: 'root'
|
|
@@ -334,9 +334,9 @@ class SpinnerVisibilityService {
|
|
|
334
334
|
this.pendingRequestsInterceptor.forceByPass = false;
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
|
-
SpinnerVisibilityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
338
|
-
SpinnerVisibilityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.
|
|
339
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
337
|
+
SpinnerVisibilityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: SpinnerVisibilityService, deps: [{ token: PendingRequestsInterceptor }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
338
|
+
SpinnerVisibilityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: SpinnerVisibilityService, providedIn: 'root' });
|
|
339
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: SpinnerVisibilityService, decorators: [{
|
|
340
340
|
type: Injectable,
|
|
341
341
|
args: [{
|
|
342
342
|
providedIn: 'root'
|
|
@@ -410,9 +410,9 @@ class NgHttpLoaderComponent {
|
|
|
410
410
|
return timer(Math.max(this.extraDuration, this.visibleUntil - Date.now()));
|
|
411
411
|
}
|
|
412
412
|
}
|
|
413
|
-
NgHttpLoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
414
|
-
NgHttpLoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.
|
|
415
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
413
|
+
NgHttpLoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: NgHttpLoaderComponent, deps: [{ token: PendingRequestsInterceptor }, { token: SpinnerVisibilityService }], target: i0.ɵɵFactoryTarget.Component });
|
|
414
|
+
NgHttpLoaderComponent.ɵcmp = i0.ɵɵ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, 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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i11.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModuleFactory"] }], pipes: { "async": i11.AsyncPipe } });
|
|
415
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: NgHttpLoaderComponent, decorators: [{
|
|
416
416
|
type: Component,
|
|
417
417
|
args: [{
|
|
418
418
|
selector: 'ng-http-loader',
|
|
@@ -463,12 +463,12 @@ class NgHttpLoaderModule {
|
|
|
463
463
|
};
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
|
-
NgHttpLoaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
467
|
-
NgHttpLoaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.
|
|
468
|
-
NgHttpLoaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.
|
|
466
|
+
NgHttpLoaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: NgHttpLoaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
467
|
+
NgHttpLoaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: NgHttpLoaderModule, declarations: [NgHttpLoaderComponent, SkCubeGridComponent, SkChasingDotsComponent, SkDoubleBounceComponent, SkRotatingPlaneComponent, SkSpinnerPulseComponent, SkThreeBounceComponent, SkWanderingCubesComponent, SkWaveComponent], imports: [CommonModule], exports: [NgHttpLoaderComponent, SkCubeGridComponent, SkChasingDotsComponent, SkDoubleBounceComponent, SkRotatingPlaneComponent, SkSpinnerPulseComponent, SkThreeBounceComponent, SkWanderingCubesComponent, SkWaveComponent] });
|
|
468
|
+
NgHttpLoaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: NgHttpLoaderModule, imports: [[
|
|
469
469
|
CommonModule,
|
|
470
470
|
]] });
|
|
471
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
471
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0, type: NgHttpLoaderModule, decorators: [{
|
|
472
472
|
type: NgModule,
|
|
473
473
|
args: [{
|
|
474
474
|
declarations: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-http-loader.js","sources":["../../src/lib/components/abstract.loader.directive.ts","../../src/lib/components/sk-chasing-dots/sk-chasing-dots.component.ts","../../src/lib/components/sk-chasing-dots/sk-chasing-dots.component.html","../../src/lib/components/sk-cube-grid/sk-cube-grid.component.ts","../../src/lib/components/sk-cube-grid/sk-cube-grid.component.html","../../src/lib/components/sk-double-bounce/sk-double-bounce.component.ts","../../src/lib/components/sk-double-bounce/sk-double-bounce.component.html","../../src/lib/components/sk-rotating-plane/sk-rotating-plane.component.ts","../../src/lib/components/sk-rotating-plane/sk-rotating-plane.component.html","../../src/lib/components/sk-spinner-pulse/sk-spinner-pulse.component.ts","../../src/lib/components/sk-spinner-pulse/sk-spinner-pulse.component.html","../../src/lib/components/sk-three-bounce/sk-three-bounce.component.ts","../../src/lib/components/sk-three-bounce/sk-three-bounce.component.html","../../src/lib/components/sk-wandering-cubes/sk-wandering-cubes.component.ts","../../src/lib/components/sk-wandering-cubes/sk-wandering-cubes.component.html","../../src/lib/components/sk-wave/sk-wave.component.ts","../../src/lib/components/sk-wave/sk-wave.component.html","../../src/lib/spinkits.ts","../../src/lib/services/pending-requests-interceptor.service.ts","../../src/lib/services/spinner-visibility.service.ts","../../src/lib/components/ng-http-loader.component.ts","../../src/lib/components/ng-http-loader.component.html","../../src/lib/ng-http-loader.module.ts","../../src/public_api.ts","../../src/ng-http-loader.ts"],"sourcesContent":["/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { Input, Directive } from '@angular/core';\n\n@Directive()\nexport abstract class AbstractLoaderDirective {\n\n @Input() public backgroundColor!: string;\n}\n","/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { Component } from '@angular/core';\nimport { AbstractLoaderDirective } from '../abstract.loader.directive';\n\n@Component({\n selector: 'sk-chasing-dots',\n templateUrl: './sk-chasing-dots.component.html',\n styleUrls: ['./sk-chasing-dots.component.scss']\n})\nexport class SkChasingDotsComponent extends AbstractLoaderDirective {\n}\n","<!--\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","/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { Component } from '@angular/core';\nimport { AbstractLoaderDirective } from '../abstract.loader.directive';\n\n@Component({\n selector: 'sk-cube-grid',\n templateUrl: './sk-cube-grid.component.html',\n styleUrls: ['./sk-cube-grid.component.scss']\n})\nexport class SkCubeGridComponent extends AbstractLoaderDirective {\n}\n","<!--\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","/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { Component } from '@angular/core';\nimport { AbstractLoaderDirective } from '../abstract.loader.directive';\n\n@Component({\n selector: 'sk-double-bounce',\n templateUrl: './sk-double-bounce.component.html',\n styleUrls: ['./sk-double-bounce.component.scss']\n})\nexport class SkDoubleBounceComponent extends AbstractLoaderDirective {\n}\n","<!--\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","/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { Component } from '@angular/core';\nimport { AbstractLoaderDirective } from '../abstract.loader.directive';\n\n@Component({\n selector: 'sk-rotating-plane',\n templateUrl: './sk-rotating-plane.component.html',\n styleUrls: ['./sk-rotating-plane.component.scss']\n})\nexport class SkRotatingPlaneComponent extends AbstractLoaderDirective {\n}\n","<!--\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","/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { Component } from '@angular/core';\nimport { AbstractLoaderDirective } from '../abstract.loader.directive';\n\n@Component({\n selector: 'sk-spinner-pulse',\n templateUrl: './sk-spinner-pulse.component.html',\n styleUrls: ['./sk-spinner-pulse.component.scss']\n})\nexport class SkSpinnerPulseComponent extends AbstractLoaderDirective {\n}\n","<!--\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","/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { Component } from '@angular/core';\nimport { AbstractLoaderDirective } from '../abstract.loader.directive';\n\n@Component({\n selector: 'sk-three-bounce',\n templateUrl: './sk-three-bounce.component.html',\n styleUrls: ['./sk-three-bounce.component.scss']\n})\nexport class SkThreeBounceComponent extends AbstractLoaderDirective {\n}\n","<!--\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","/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { Component } from '@angular/core';\nimport { AbstractLoaderDirective } from '../abstract.loader.directive';\n\n@Component({\n selector: 'sk-wandering-cubes',\n templateUrl: './sk-wandering-cubes.component.html',\n styleUrls: ['./sk-wandering-cubes.component.scss']\n})\nexport class SkWanderingCubesComponent extends AbstractLoaderDirective {\n}\n","<!--\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","/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { Component } from '@angular/core';\nimport { AbstractLoaderDirective } from '../abstract.loader.directive';\n\n@Component({\n selector: 'sk-wave',\n templateUrl: './sk-wave.component.html',\n styleUrls: ['./sk-wave.component.scss']\n})\nexport class SkWaveComponent extends AbstractLoaderDirective {\n}\n","<!--\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","/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { SkChasingDotsComponent } from './components/sk-chasing-dots/sk-chasing-dots.component';\nimport { SkCubeGridComponent } from './components/sk-cube-grid/sk-cube-grid.component';\nimport { SkDoubleBounceComponent } from './components/sk-double-bounce/sk-double-bounce.component';\nimport { SkRotatingPlaneComponent } from './components/sk-rotating-plane/sk-rotating-plane.component';\nimport { SkSpinnerPulseComponent } from './components/sk-spinner-pulse/sk-spinner-pulse.component';\nimport { SkThreeBounceComponent } from './components/sk-three-bounce/sk-three-bounce.component';\nimport { SkWanderingCubesComponent } from './components/sk-wandering-cubes/sk-wandering-cubes.component';\nimport { SkWaveComponent } from './components/sk-wave/sk-wave.component';\n\nexport const Spinkit = {\n skChasingDots: 'sk-chasing-dots',\n skCubeGrid: 'sk-cube-grid',\n skDoubleBounce: 'sk-double-bounce',\n skRotatingPlane: 'sk-rotationg-plane',\n skSpinnerPulse: 'sk-spinner-pulse',\n skThreeBounce: 'sk-three-bounce',\n skWanderingCubes: 'sk-wandering-cubes',\n skWave: 'sk-wave'\n};\n\nexport const SPINKIT_COMPONENTS = [\n SkCubeGridComponent,\n SkChasingDotsComponent,\n SkDoubleBounceComponent,\n SkRotatingPlaneComponent,\n SkSpinnerPulseComponent,\n SkThreeBounceComponent,\n SkWanderingCubesComponent,\n SkWaveComponent,\n];\n","/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { HTTP_INTERCEPTORS, HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';\nimport { ExistingProvider, Injectable } from '@angular/core';\nimport { Observable, ReplaySubject } from 'rxjs';\nimport { finalize } from 'rxjs/operators';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class PendingRequestsInterceptor implements HttpInterceptor {\n\n private _pendingRequests = 0;\n private _pendingRequestsStatus$ = new ReplaySubject<boolean>(1);\n private _filteredUrlPatterns: RegExp[] = [];\n private _filteredMethods: string[] = [];\n private _filteredHeaders: string[] = [];\n private _forceByPass = false;\n\n get pendingRequestsStatus$(): Observable<boolean> {\n return this._pendingRequestsStatus$.asObservable();\n }\n\n get pendingRequests(): number {\n return this._pendingRequests;\n }\n\n get filteredUrlPatterns(): RegExp[] {\n return this._filteredUrlPatterns;\n }\n\n set filteredMethods(httpMethods: string[]) {\n this._filteredMethods = httpMethods;\n }\n\n set filteredHeaders(value: string[]) {\n this._filteredHeaders = value;\n }\n\n set forceByPass(value: boolean) {\n this._forceByPass = value;\n }\n\n private shouldBypassUrl(url: string): boolean {\n return this._filteredUrlPatterns.some(e => {\n return e.test(url);\n });\n }\n\n private shouldBypassMethod(req: HttpRequest<any>): boolean {\n return this._filteredMethods.some(e => {\n return e.toUpperCase() === req.method.toUpperCase();\n });\n }\n\n private shouldBypassHeader(req: HttpRequest<any>): boolean {\n return this._filteredHeaders.some(e => {\n return req.headers.has(e);\n });\n }\n\n private shouldBypass(req: HttpRequest<any>): boolean {\n return this._forceByPass\n || this.shouldBypassUrl(req.urlWithParams)\n || this.shouldBypassMethod(req)\n || this.shouldBypassHeader(req);\n }\n\n public intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> {\n const shouldBypass = this.shouldBypass(req);\n\n if (!shouldBypass) {\n this._pendingRequests++;\n\n if (1 === this._pendingRequests) {\n this._pendingRequestsStatus$.next(true);\n }\n }\n\n return next.handle(req).pipe(\n finalize(() => {\n if (!shouldBypass) {\n this._pendingRequests--;\n\n if (0 === this._pendingRequests) {\n this._pendingRequestsStatus$.next(false);\n }\n }\n })\n );\n }\n}\n\nexport const PendingRequestsInterceptorProvider: ExistingProvider[] = [{\n provide: HTTP_INTERCEPTORS,\n useExisting: PendingRequestsInterceptor,\n multi: true\n}];\n","/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { Injectable } from '@angular/core';\nimport { Observable, ReplaySubject } from 'rxjs';\nimport { PendingRequestsInterceptor } from './pending-requests-interceptor.service';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class SpinnerVisibilityService {\n\n private _visibility$ = new ReplaySubject<boolean>(1);\n\n constructor(private pendingRequestsInterceptor: PendingRequestsInterceptor) {\n }\n\n get visibility$(): Observable<boolean> {\n return this._visibility$.asObservable();\n }\n\n public show(): void {\n this.pendingRequestsInterceptor.forceByPass = true;\n this._visibility$.next(true);\n }\n\n public hide(): void {\n this._visibility$.next(false);\n this.pendingRequestsInterceptor.forceByPass = false;\n }\n}\n","/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { Component, Input, OnInit } from '@angular/core';\nimport { merge, Observable, partition, timer } from 'rxjs';\nimport { debounce, distinctUntilChanged, switchMap, tap } from 'rxjs/operators';\nimport { PendingRequestsInterceptor } from '../services/pending-requests-interceptor.service';\nimport { SpinnerVisibilityService } from '../services/spinner-visibility.service';\nimport { Spinkit } from '../spinkits';\n\n@Component({\n selector: 'ng-http-loader',\n templateUrl: './ng-http-loader.component.html',\n styleUrls: ['./ng-http-loader.component.scss']\n})\nexport class NgHttpLoaderComponent implements OnInit {\n\n public spinkit = Spinkit;\n public isVisible$!: Observable<boolean>;\n private visibleUntil = Date.now();\n\n @Input() public backdrop = true;\n @Input() public backgroundColor!: string;\n @Input() public debounceDelay = 0;\n @Input() public entryComponent: any = null;\n @Input() public extraDuration = 0;\n @Input() public filteredHeaders: string[] = [];\n @Input() public filteredMethods: string[] = [];\n @Input() public filteredUrlPatterns: string[] = [];\n @Input() public minDuration = 0;\n @Input() public opacity = '.7';\n @Input() public backdropBackgroundColor = '#f1f1f1';\n @Input() public spinner: string | null = Spinkit.skWave;\n\n constructor(private pendingRequestsInterceptor: PendingRequestsInterceptor, private spinnerVisibility: SpinnerVisibilityService) {\n }\n\n public ngOnInit(): void {\n this.initIsvisibleObservable();\n this.nullifySpinnerIfEntryComponentIsDefined();\n this.initFilters();\n }\n\n private initIsvisibleObservable(): void {\n const [showSpinner$, hideSpinner$] = partition(this.pendingRequestsInterceptor.pendingRequestsStatus$, h => h);\n\n this.isVisible$ = merge(\n this.pendingRequestsInterceptor.pendingRequestsStatus$\n .pipe(switchMap(() => showSpinner$.pipe(debounce(() => timer(this.debounceDelay))))),\n showSpinner$\n .pipe(switchMap(() => hideSpinner$.pipe(debounce(() => this.getVisibilityTimer$())))),\n this.spinnerVisibility.visibility$\n ).pipe(\n distinctUntilChanged(),\n tap(h => this.updateExpirationDelay(h))\n );\n }\n\n private nullifySpinnerIfEntryComponentIsDefined(): void {\n if (this.entryComponent) {\n this.spinner = null;\n }\n }\n\n private initFilters(): void {\n this.initFilteredUrlPatterns();\n this.initFilteredMethods();\n this.initFilteredHeaders();\n }\n\n private initFilteredUrlPatterns(): void {\n if (!!this.filteredUrlPatterns.length) {\n this.filteredUrlPatterns.forEach(e =>\n this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(e))\n );\n }\n }\n\n private initFilteredMethods(): void {\n this.pendingRequestsInterceptor.filteredMethods = this.filteredMethods;\n }\n\n private initFilteredHeaders(): void {\n this.pendingRequestsInterceptor.filteredHeaders = this.filteredHeaders;\n }\n\n private updateExpirationDelay(showSpinner: boolean): void {\n if (showSpinner) {\n this.visibleUntil = Date.now() + this.minDuration;\n }\n }\n\n private getVisibilityTimer$(): Observable<number> {\n return timer(Math.max(this.extraDuration, this.visibleUntil - Date.now()));\n }\n}\n","<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","/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { CommonModule } from '@angular/common';\nimport { ModuleWithProviders, NgModule } from '@angular/core';\nimport { NgHttpLoaderComponent } from './components/ng-http-loader.component';\nimport { PendingRequestsInterceptorProvider } from './services/pending-requests-interceptor.service';\nimport { SPINKIT_COMPONENTS } from './spinkits';\n\n@NgModule({\n declarations: [\n NgHttpLoaderComponent,\n ...SPINKIT_COMPONENTS,\n ],\n imports: [\n CommonModule,\n ],\n exports: [\n NgHttpLoaderComponent,\n ...SPINKIT_COMPONENTS,\n ]\n})\nexport class NgHttpLoaderModule {\n public static forRoot(): ModuleWithProviders<NgHttpLoaderModule> {\n return {\n ngModule: NgHttpLoaderModule,\n providers: [\n PendingRequestsInterceptorProvider,\n ]\n };\n }\n}\n","/*\n * Public API Surface of ng-http-loader\n */\n\nexport * from './lib/components/sk-chasing-dots/sk-chasing-dots.component';\nexport * from './lib/components/sk-cube-grid/sk-cube-grid.component';\nexport * from './lib/components/sk-double-bounce/sk-double-bounce.component';\nexport * from './lib/components/sk-rotating-plane/sk-rotating-plane.component';\nexport * from './lib/components/sk-spinner-pulse/sk-spinner-pulse.component';\nexport * from './lib/components/sk-three-bounce/sk-three-bounce.component';\nexport * from './lib/components/sk-wandering-cubes/sk-wandering-cubes.component';\nexport * from './lib/components/sk-wave/sk-wave.component';\nexport * from './lib/components/ng-http-loader.component';\nexport * from './lib/components/abstract.loader.directive';\n\nexport * from './lib/services/pending-requests-interceptor.service';\nexport * from './lib/services/spinner-visibility.service';\n\nexport * from './lib/ng-http-loader.module';\nexport * from './lib/spinkits';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;AAAA;;;;;;;;MAYsB,uBAAuB;;oHAAvB,uBAAuB;wGAAvB,uBAAuB;2FAAvB,uBAAuB;kBAD5C,SAAS;8BAGU,eAAe;sBAA9B,KAAK;;;ACdV;;;;;;;;MAiBa,sBAAuB,SAAQ,uBAAuB;;mHAAtD,sBAAsB;uGAAtB,sBAAsB,8ECjBnC,i0CAyBA;2FDRa,sBAAsB;kBALlC,SAAS;mBAAC;oBACP,QAAQ,EAAE,iBAAiB;oBAC3B,WAAW,EAAE,kCAAkC;oBAC/C,SAAS,EAAE,C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AAC;KAC9E;;kHA/EQ,qBAAqB;sGAArB,qBAAqB,0cCrBlC,k9CAkDA;2FD7Ba,qBAAqB;kBALjC,SAAS;mBAAC;oBACP,QAAQ,EAAE,gBAAgB;oBAC1B,WAAW,EAAE,iCAAiC;oBAC9C,SAAS,EAAE,CAAC,iCAAiC,CAAC;iBACjD;kJAOmB,QAAQ;sBAAvB,KAAK;gBACU,eAAe;sBAA9B,KAAK;gBACU,aAAa;sBAA5B,KAAK;gBACU,cAAc;sBAA7B,KAAK;gBACU,aAAa;sBAA5B,KAAK;gBACU,eAAe;sBAA9B,KAAK;gBACU,eAAe;sBAA9B,KAAK;gBACU,mBAAmB;sBAAlC,KAAK;gBACU,WAAW;sBAA1B,KAAK;gBACU,OAAO;sBAAtB,KAAK;gBACU,uBAAuB;sBAAtC,KAAK;gBACU,OAAO;sBAAtB,KAAK;;;AEtCV;;;;;;;;MA4Ba,kBAAkB;IACpB,OAAO,OAAO;QACjB,OAAO;YACH,QAAQ,EAAE,kBAAkB;YAC5B,SAAS,EAAE;gBACP,kCAAkC;aACrC;SACJ,CAAC;KACL;;+GARQ,kBAAkB;gHAAlB,kBAAkB,iBAXvB,qBAAqB,0MAIrB,YAAY,aAGZ,qBAAqB;gHAIhB,kBAAkB,YARlB;YACL,YAAY;SACf;2FAMQ,kBAAkB;kBAb9B,QAAQ;mBAAC;oBACN,YAAY,EAAE;wBACV,qBAAqB;wBACrB,GAAG,kBAAkB;qBACxB;oBACD,OAAO,EAAE;wBACL,YAAY;qBACf;oBACD,OAAO,EAAE;wBACL,qBAAqB;wBACrB,GAAG,kBAAkB;qBACxB;iBACJ;;;AC3BD;;;;ACAA;;;;;;"}
|
|
1
|
+
{"version":3,"file":"ng-http-loader.js","sources":["../../src/lib/components/abstract.loader.directive.ts","../../src/lib/components/sk-chasing-dots/sk-chasing-dots.component.ts","../../src/lib/components/sk-chasing-dots/sk-chasing-dots.component.html","../../src/lib/components/sk-cube-grid/sk-cube-grid.component.ts","../../src/lib/components/sk-cube-grid/sk-cube-grid.component.html","../../src/lib/components/sk-double-bounce/sk-double-bounce.component.ts","../../src/lib/components/sk-double-bounce/sk-double-bounce.component.html","../../src/lib/components/sk-rotating-plane/sk-rotating-plane.component.ts","../../src/lib/components/sk-rotating-plane/sk-rotating-plane.component.html","../../src/lib/components/sk-spinner-pulse/sk-spinner-pulse.component.ts","../../src/lib/components/sk-spinner-pulse/sk-spinner-pulse.component.html","../../src/lib/components/sk-three-bounce/sk-three-bounce.component.ts","../../src/lib/components/sk-three-bounce/sk-three-bounce.component.html","../../src/lib/components/sk-wandering-cubes/sk-wandering-cubes.component.ts","../../src/lib/components/sk-wandering-cubes/sk-wandering-cubes.component.html","../../src/lib/components/sk-wave/sk-wave.component.ts","../../src/lib/components/sk-wave/sk-wave.component.html","../../src/lib/spinkits.ts","../../src/lib/services/pending-requests-interceptor.service.ts","../../src/lib/services/spinner-visibility.service.ts","../../src/lib/components/ng-http-loader.component.ts","../../src/lib/components/ng-http-loader.component.html","../../src/lib/ng-http-loader.module.ts","../../src/public_api.ts","../../src/ng-http-loader.ts"],"sourcesContent":["/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { Input, Directive } from '@angular/core';\n\n@Directive()\nexport abstract class AbstractLoaderDirective {\n\n @Input() public backgroundColor!: string;\n}\n","/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { Component } from '@angular/core';\nimport { AbstractLoaderDirective } from '../abstract.loader.directive';\n\n@Component({\n selector: 'sk-chasing-dots',\n templateUrl: './sk-chasing-dots.component.html',\n styleUrls: ['./sk-chasing-dots.component.scss']\n})\nexport class SkChasingDotsComponent extends AbstractLoaderDirective {\n}\n","<!--\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","/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { Component } from '@angular/core';\nimport { AbstractLoaderDirective } from '../abstract.loader.directive';\n\n@Component({\n selector: 'sk-cube-grid',\n templateUrl: './sk-cube-grid.component.html',\n styleUrls: ['./sk-cube-grid.component.scss']\n})\nexport class SkCubeGridComponent extends AbstractLoaderDirective {\n}\n","<!--\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","/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { Component } from '@angular/core';\nimport { AbstractLoaderDirective } from '../abstract.loader.directive';\n\n@Component({\n selector: 'sk-double-bounce',\n templateUrl: './sk-double-bounce.component.html',\n styleUrls: ['./sk-double-bounce.component.scss']\n})\nexport class SkDoubleBounceComponent extends AbstractLoaderDirective {\n}\n","<!--\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","/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { Component } from '@angular/core';\nimport { AbstractLoaderDirective } from '../abstract.loader.directive';\n\n@Component({\n selector: 'sk-rotating-plane',\n templateUrl: './sk-rotating-plane.component.html',\n styleUrls: ['./sk-rotating-plane.component.scss']\n})\nexport class SkRotatingPlaneComponent extends AbstractLoaderDirective {\n}\n","<!--\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","/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { Component } from '@angular/core';\nimport { AbstractLoaderDirective } from '../abstract.loader.directive';\n\n@Component({\n selector: 'sk-spinner-pulse',\n templateUrl: './sk-spinner-pulse.component.html',\n styleUrls: ['./sk-spinner-pulse.component.scss']\n})\nexport class SkSpinnerPulseComponent extends AbstractLoaderDirective {\n}\n","<!--\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","/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { Component } from '@angular/core';\nimport { AbstractLoaderDirective } from '../abstract.loader.directive';\n\n@Component({\n selector: 'sk-three-bounce',\n templateUrl: './sk-three-bounce.component.html',\n styleUrls: ['./sk-three-bounce.component.scss']\n})\nexport class SkThreeBounceComponent extends AbstractLoaderDirective {\n}\n","<!--\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","/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { Component } from '@angular/core';\nimport { AbstractLoaderDirective } from '../abstract.loader.directive';\n\n@Component({\n selector: 'sk-wandering-cubes',\n templateUrl: './sk-wandering-cubes.component.html',\n styleUrls: ['./sk-wandering-cubes.component.scss']\n})\nexport class SkWanderingCubesComponent extends AbstractLoaderDirective {\n}\n","<!--\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","/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { Component } from '@angular/core';\nimport { AbstractLoaderDirective } from '../abstract.loader.directive';\n\n@Component({\n selector: 'sk-wave',\n templateUrl: './sk-wave.component.html',\n styleUrls: ['./sk-wave.component.scss']\n})\nexport class SkWaveComponent extends AbstractLoaderDirective {\n}\n","<!--\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","/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { SkChasingDotsComponent } from './components/sk-chasing-dots/sk-chasing-dots.component';\nimport { SkCubeGridComponent } from './components/sk-cube-grid/sk-cube-grid.component';\nimport { SkDoubleBounceComponent } from './components/sk-double-bounce/sk-double-bounce.component';\nimport { SkRotatingPlaneComponent } from './components/sk-rotating-plane/sk-rotating-plane.component';\nimport { SkSpinnerPulseComponent } from './components/sk-spinner-pulse/sk-spinner-pulse.component';\nimport { SkThreeBounceComponent } from './components/sk-three-bounce/sk-three-bounce.component';\nimport { SkWanderingCubesComponent } from './components/sk-wandering-cubes/sk-wandering-cubes.component';\nimport { SkWaveComponent } from './components/sk-wave/sk-wave.component';\n\nexport const Spinkit = {\n skChasingDots: 'sk-chasing-dots',\n skCubeGrid: 'sk-cube-grid',\n skDoubleBounce: 'sk-double-bounce',\n skRotatingPlane: 'sk-rotationg-plane',\n skSpinnerPulse: 'sk-spinner-pulse',\n skThreeBounce: 'sk-three-bounce',\n skWanderingCubes: 'sk-wandering-cubes',\n skWave: 'sk-wave'\n};\n\nexport const SPINKIT_COMPONENTS = [\n SkCubeGridComponent,\n SkChasingDotsComponent,\n SkDoubleBounceComponent,\n SkRotatingPlaneComponent,\n SkSpinnerPulseComponent,\n SkThreeBounceComponent,\n SkWanderingCubesComponent,\n SkWaveComponent,\n];\n","/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { HTTP_INTERCEPTORS, HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';\nimport { ExistingProvider, Injectable } from '@angular/core';\nimport { Observable, ReplaySubject } from 'rxjs';\nimport { finalize } from 'rxjs/operators';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class PendingRequestsInterceptor implements HttpInterceptor {\n\n private _pendingRequests = 0;\n private _pendingRequestsStatus$ = new ReplaySubject<boolean>(1);\n private _filteredUrlPatterns: RegExp[] = [];\n private _filteredMethods: string[] = [];\n private _filteredHeaders: string[] = [];\n private _forceByPass = false;\n\n get pendingRequestsStatus$(): Observable<boolean> {\n return this._pendingRequestsStatus$.asObservable();\n }\n\n get pendingRequests(): number {\n return this._pendingRequests;\n }\n\n get filteredUrlPatterns(): RegExp[] {\n return this._filteredUrlPatterns;\n }\n\n set filteredMethods(httpMethods: string[]) {\n this._filteredMethods = httpMethods;\n }\n\n set filteredHeaders(value: string[]) {\n this._filteredHeaders = value;\n }\n\n set forceByPass(value: boolean) {\n this._forceByPass = value;\n }\n\n private shouldBypassUrl(url: string): boolean {\n return this._filteredUrlPatterns.some(e => {\n return e.test(url);\n });\n }\n\n private shouldBypassMethod(req: HttpRequest<any>): boolean {\n return this._filteredMethods.some(e => {\n return e.toUpperCase() === req.method.toUpperCase();\n });\n }\n\n private shouldBypassHeader(req: HttpRequest<any>): boolean {\n return this._filteredHeaders.some(e => {\n return req.headers.has(e);\n });\n }\n\n private shouldBypass(req: HttpRequest<any>): boolean {\n return this._forceByPass\n || this.shouldBypassUrl(req.urlWithParams)\n || this.shouldBypassMethod(req)\n || this.shouldBypassHeader(req);\n }\n\n public intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> {\n const shouldBypass = this.shouldBypass(req);\n\n if (!shouldBypass) {\n this._pendingRequests++;\n\n if (1 === this._pendingRequests) {\n this._pendingRequestsStatus$.next(true);\n }\n }\n\n return next.handle(req).pipe(\n finalize(() => {\n if (!shouldBypass) {\n this._pendingRequests--;\n\n if (0 === this._pendingRequests) {\n this._pendingRequestsStatus$.next(false);\n }\n }\n })\n );\n }\n}\n\nexport const PendingRequestsInterceptorProvider: ExistingProvider[] = [{\n provide: HTTP_INTERCEPTORS,\n useExisting: PendingRequestsInterceptor,\n multi: true\n}];\n","/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { Injectable } from '@angular/core';\nimport { Observable, ReplaySubject } from 'rxjs';\nimport { PendingRequestsInterceptor } from './pending-requests-interceptor.service';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class SpinnerVisibilityService {\n\n private _visibility$ = new ReplaySubject<boolean>(1);\n\n constructor(private pendingRequestsInterceptor: PendingRequestsInterceptor) {\n }\n\n get visibility$(): Observable<boolean> {\n return this._visibility$.asObservable();\n }\n\n public show(): void {\n this.pendingRequestsInterceptor.forceByPass = true;\n this._visibility$.next(true);\n }\n\n public hide(): void {\n this._visibility$.next(false);\n this.pendingRequestsInterceptor.forceByPass = false;\n }\n}\n","/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { Component, Input, OnInit } from '@angular/core';\nimport { merge, Observable, partition, timer } from 'rxjs';\nimport { debounce, distinctUntilChanged, switchMap, tap } from 'rxjs/operators';\nimport { PendingRequestsInterceptor } from '../services/pending-requests-interceptor.service';\nimport { SpinnerVisibilityService } from '../services/spinner-visibility.service';\nimport { Spinkit } from '../spinkits';\n\n@Component({\n selector: 'ng-http-loader',\n templateUrl: './ng-http-loader.component.html',\n styleUrls: ['./ng-http-loader.component.scss']\n})\nexport class NgHttpLoaderComponent implements OnInit {\n\n public spinkit = Spinkit;\n public isVisible$!: Observable<boolean>;\n private visibleUntil = Date.now();\n\n @Input() public backdrop = true;\n @Input() public backgroundColor!: string;\n @Input() public debounceDelay = 0;\n @Input() public entryComponent: any = null;\n @Input() public extraDuration = 0;\n @Input() public filteredHeaders: string[] = [];\n @Input() public filteredMethods: string[] = [];\n @Input() public filteredUrlPatterns: string[] = [];\n @Input() public minDuration = 0;\n @Input() public opacity = '.7';\n @Input() public backdropBackgroundColor = '#f1f1f1';\n @Input() public spinner: string | null = Spinkit.skWave;\n\n constructor(private pendingRequestsInterceptor: PendingRequestsInterceptor, private spinnerVisibility: SpinnerVisibilityService) {\n }\n\n public ngOnInit(): void {\n this.initIsvisibleObservable();\n this.nullifySpinnerIfEntryComponentIsDefined();\n this.initFilters();\n }\n\n private initIsvisibleObservable(): void {\n const [showSpinner$, hideSpinner$] = partition(this.pendingRequestsInterceptor.pendingRequestsStatus$, h => h);\n\n this.isVisible$ = merge(\n this.pendingRequestsInterceptor.pendingRequestsStatus$\n .pipe(switchMap(() => showSpinner$.pipe(debounce(() => timer(this.debounceDelay))))),\n showSpinner$\n .pipe(switchMap(() => hideSpinner$.pipe(debounce(() => this.getVisibilityTimer$())))),\n this.spinnerVisibility.visibility$\n ).pipe(\n distinctUntilChanged(),\n tap(h => this.updateExpirationDelay(h))\n );\n }\n\n private nullifySpinnerIfEntryComponentIsDefined(): void {\n if (this.entryComponent) {\n this.spinner = null;\n }\n }\n\n private initFilters(): void {\n this.initFilteredUrlPatterns();\n this.initFilteredMethods();\n this.initFilteredHeaders();\n }\n\n private initFilteredUrlPatterns(): void {\n if (!!this.filteredUrlPatterns.length) {\n this.filteredUrlPatterns.forEach(e =>\n this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(e))\n );\n }\n }\n\n private initFilteredMethods(): void {\n this.pendingRequestsInterceptor.filteredMethods = this.filteredMethods;\n }\n\n private initFilteredHeaders(): void {\n this.pendingRequestsInterceptor.filteredHeaders = this.filteredHeaders;\n }\n\n private updateExpirationDelay(showSpinner: boolean): void {\n if (showSpinner) {\n this.visibleUntil = Date.now() + this.minDuration;\n }\n }\n\n private getVisibilityTimer$(): Observable<number> {\n return timer(Math.max(this.extraDuration, this.visibleUntil - Date.now()));\n }\n}\n","<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","/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n */\n\nimport { CommonModule } from '@angular/common';\nimport { ModuleWithProviders, NgModule } from '@angular/core';\nimport { NgHttpLoaderComponent } from './components/ng-http-loader.component';\nimport { PendingRequestsInterceptorProvider } from './services/pending-requests-interceptor.service';\nimport { SPINKIT_COMPONENTS } from './spinkits';\n\n@NgModule({\n declarations: [\n NgHttpLoaderComponent,\n ...SPINKIT_COMPONENTS,\n ],\n imports: [\n CommonModule,\n ],\n exports: [\n NgHttpLoaderComponent,\n ...SPINKIT_COMPONENTS,\n ]\n})\nexport class NgHttpLoaderModule {\n public static forRoot(): ModuleWithProviders<NgHttpLoaderModule> {\n return {\n ngModule: NgHttpLoaderModule,\n providers: [\n PendingRequestsInterceptorProvider,\n ]\n };\n }\n}\n","/*\n * Public API Surface of ng-http-loader\n */\n\nexport * from './lib/components/sk-chasing-dots/sk-chasing-dots.component';\nexport * from './lib/components/sk-cube-grid/sk-cube-grid.component';\nexport * from './lib/components/sk-double-bounce/sk-double-bounce.component';\nexport * from './lib/components/sk-rotating-plane/sk-rotating-plane.component';\nexport * from './lib/components/sk-spinner-pulse/sk-spinner-pulse.component';\nexport * from './lib/components/sk-three-bounce/sk-three-bounce.component';\nexport * from './lib/components/sk-wandering-cubes/sk-wandering-cubes.component';\nexport * from './lib/components/sk-wave/sk-wave.component';\nexport * from './lib/components/ng-http-loader.component';\nexport * from './lib/components/abstract.loader.directive';\n\nexport * from './lib/services/pending-requests-interceptor.service';\nexport * from './lib/services/spinner-visibility.service';\n\nexport * from './lib/ng-http-loader.module';\nexport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MQ,kBAAkB;kBAb9B,QAAQ;mBAAC;oBACN,YAAY,EAAE;wBACV,qBAAqB;wBACrB,GAAG,kBAAkB;qBACxB;oBACD,OAAO,EAAE;wBACL,YAAY;qBACf;oBACD,OAAO,EAAE;wBACL,qBAAqB;wBACrB,GAAG,kBAAkB;qBACxB;iBACJ;;;AC3BD;;;;ACAA;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ng-http-loader",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.1.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/mpalourdio/ng-http-loader"
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"url": "https://github.com/mpalourdio/ng-http-loader/issues"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"tslib": "^2.
|
|
34
|
+
"tslib": "^2.3.0"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"rxjs": "^6.6.0"
|
|
37
|
+
"rxjs": "^6.6.0 || ^7.0.0"
|
|
38
38
|
},
|
|
39
39
|
"main": "bundles/ng-http-loader.umd.js",
|
|
40
40
|
"module": "fesm2015/ng-http-loader.js",
|