ng-http-loader 9.1.0 → 11.0.1

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.
Files changed (60) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +2 -0
  3. package/esm2020/lib/components/abstract.loader.directive.mjs +20 -0
  4. package/esm2020/lib/components/ng-http-loader.component.mjs +114 -0
  5. package/esm2020/lib/components/sk-chasing-dots/sk-chasing-dots.component.mjs +20 -0
  6. package/esm2020/lib/components/sk-cube-grid/sk-cube-grid.component.mjs +20 -0
  7. package/esm2020/lib/components/sk-double-bounce/sk-double-bounce.component.mjs +20 -0
  8. package/esm2020/lib/components/sk-rotating-plane/sk-rotating-plane.component.mjs +20 -0
  9. package/esm2020/lib/components/sk-spinner-pulse/sk-spinner-pulse.component.mjs +20 -0
  10. package/esm2020/lib/components/sk-three-bounce/sk-three-bounce.component.mjs +20 -0
  11. package/esm2020/lib/components/sk-wandering-cubes/sk-wandering-cubes.component.mjs +20 -0
  12. package/esm2020/lib/components/sk-wave/sk-wave.component.mjs +20 -0
  13. package/esm2020/lib/ng-http-loader.module.mjs +54 -0
  14. package/esm2020/lib/services/pending-requests-interceptor.service.mjs +93 -0
  15. package/esm2020/lib/services/spinner-visibility.service.mjs +38 -0
  16. package/{esm2015/lib/spinkits.js → esm2020/lib/spinkits.mjs} +1 -1
  17. package/esm2020/ng-http-loader.mjs +5 -0
  18. package/esm2020/public_api.mjs +18 -0
  19. package/fesm2015/ng-http-loader.mjs +460 -0
  20. package/fesm2015/ng-http-loader.mjs.map +1 -0
  21. package/fesm2020/ng-http-loader.mjs +460 -0
  22. package/fesm2020/ng-http-loader.mjs.map +1 -0
  23. package/lib/components/abstract.loader.directive.d.ts +3 -0
  24. package/lib/components/ng-http-loader.component.d.ts +4 -1
  25. package/lib/components/sk-chasing-dots/sk-chasing-dots.component.d.ts +3 -0
  26. package/lib/components/sk-cube-grid/sk-cube-grid.component.d.ts +3 -0
  27. package/lib/components/sk-double-bounce/sk-double-bounce.component.d.ts +3 -0
  28. package/lib/components/sk-rotating-plane/sk-rotating-plane.component.d.ts +3 -0
  29. package/lib/components/sk-spinner-pulse/sk-spinner-pulse.component.d.ts +3 -0
  30. package/lib/components/sk-three-bounce/sk-three-bounce.component.d.ts +3 -0
  31. package/lib/components/sk-wandering-cubes/sk-wandering-cubes.component.d.ts +3 -0
  32. package/lib/components/sk-wave/sk-wave.component.d.ts +3 -0
  33. package/lib/ng-http-loader.module.d.ts +14 -0
  34. package/lib/services/pending-requests-interceptor.service.d.ts +3 -0
  35. package/lib/services/spinner-visibility.service.d.ts +3 -0
  36. package/ng-http-loader.d.ts +1 -0
  37. package/package.json +22 -12
  38. package/CHANGELOG.md +0 -222
  39. package/bundles/ng-http-loader.umd.js +0 -772
  40. package/bundles/ng-http-loader.umd.js.map +0 -1
  41. package/bundles/ng-http-loader.umd.min.js +0 -16
  42. package/bundles/ng-http-loader.umd.min.js.map +0 -1
  43. package/esm2015/lib/components/abstract.loader.directive.js +0 -18
  44. package/esm2015/lib/components/ng-http-loader.component.js +0 -99
  45. package/esm2015/lib/components/sk-chasing-dots/sk-chasing-dots.component.js +0 -20
  46. package/esm2015/lib/components/sk-cube-grid/sk-cube-grid.component.js +0 -20
  47. package/esm2015/lib/components/sk-double-bounce/sk-double-bounce.component.js +0 -20
  48. package/esm2015/lib/components/sk-rotating-plane/sk-rotating-plane.component.js +0 -20
  49. package/esm2015/lib/components/sk-spinner-pulse/sk-spinner-pulse.component.js +0 -20
  50. package/esm2015/lib/components/sk-three-bounce/sk-three-bounce.component.js +0 -20
  51. package/esm2015/lib/components/sk-wandering-cubes/sk-wandering-cubes.component.js +0 -20
  52. package/esm2015/lib/components/sk-wave/sk-wave.component.js +0 -20
  53. package/esm2015/lib/ng-http-loader.module.js +0 -39
  54. package/esm2015/lib/services/pending-requests-interceptor.service.js +0 -91
  55. package/esm2015/lib/services/spinner-visibility.service.js +0 -40
  56. package/esm2015/ng-http-loader.js +0 -5
  57. package/esm2015/public_api.js +0 -18
  58. package/fesm2015/ng-http-loader.js +0 -454
  59. package/fesm2015/ng-http-loader.js.map +0 -1
  60. package/ng-http-loader.metadata.json +0 -1
@@ -0,0 +1,460 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Directive, Input, Component, Injectable, NgModule } from '@angular/core';
3
+ import { ReplaySubject, partition, merge, timer } from 'rxjs';
4
+ import { finalize, switchMap, debounce, distinctUntilChanged, tap } from 'rxjs/operators';
5
+ import { HTTP_INTERCEPTORS } from '@angular/common/http';
6
+ import * as i11 from '@angular/common';
7
+ import { CommonModule } from '@angular/common';
8
+
9
+ /*
10
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
12
+ * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
13
+ * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
14
+ * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
15
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
16
+ */
17
+ class AbstractLoaderDirective {
18
+ }
19
+ AbstractLoaderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: AbstractLoaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
20
+ AbstractLoaderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0", type: AbstractLoaderDirective, inputs: { backgroundColor: "backgroundColor" }, ngImport: i0 });
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: AbstractLoaderDirective, decorators: [{
22
+ type: Directive
23
+ }], propDecorators: { backgroundColor: [{
24
+ type: Input
25
+ }] } });
26
+
27
+ /*
28
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
29
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
30
+ * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
31
+ * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
32
+ * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
33
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
34
+ */
35
+ class SkChasingDotsComponent extends AbstractLoaderDirective {
36
+ }
37
+ SkChasingDotsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SkChasingDotsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
38
+ SkChasingDotsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0", 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: "13.0.0", ngImport: i0, type: SkChasingDotsComponent, decorators: [{
40
+ type: Component,
41
+ args: [{ selector: 'sk-chasing-dots', template: "<!--\nCopyright (c) 2015 Tobias Ahlin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n-->\n\n<div class=\"sk-chasing-dots\" [class.colored]=\"!backgroundColor\">\n <div class=\"sk-child sk-dot1\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-child sk-dot2\" [style.background-color]='backgroundColor'></div>\n</div>\n", styles: [".sk-chasing-dots{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation:sk-chasingDotsRotate 2s infinite linear}.sk-chasing-dots .sk-child{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:sk-chasingDotsBounce 2s infinite ease-in-out}.sk-chasing-dots .sk-dot2{top:auto;bottom:0;animation-delay:-1s}@keyframes sk-chasingDotsRotate{to{transform:rotate(360deg)}}@keyframes sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}\n"] }]
42
+ }] });
43
+
44
+ /*
45
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
46
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
47
+ * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
48
+ * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
49
+ * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
50
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
51
+ */
52
+ class SkCubeGridComponent extends AbstractLoaderDirective {
53
+ }
54
+ SkCubeGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SkCubeGridComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
55
+ SkCubeGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0", 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"] });
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SkCubeGridComponent, decorators: [{
57
+ type: Component,
58
+ args: [{ selector: 'sk-cube-grid', template: "<!--\nCopyright (c) 2015 Tobias Ahlin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n-->\n\n<div class=\"sk-cube-grid\" [class.colored]=\"!backgroundColor\">\n <div class=\"sk-cube sk-cube1\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-cube sk-cube2\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-cube sk-cube3\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-cube sk-cube4\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-cube sk-cube5\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-cube sk-cube6\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-cube sk-cube7\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-cube sk-cube8\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-cube sk-cube9\" [style.background-color]='backgroundColor'></div>\n</div>\n", styles: [".sk-cube-grid{position:relative;top:50%;width:40px;height:40px;margin:auto}.sk-cube-grid .sk-cube{width:33.33%;height:33.33%;float:left;animation:sk-cubeGridScaleDelay 1.3s infinite ease-in-out}.sk-cube-grid .sk-cube1{animation-delay:.2s}.sk-cube-grid .sk-cube2{animation-delay:.3s}.sk-cube-grid .sk-cube3{animation-delay:.4s}.sk-cube-grid .sk-cube4{animation-delay:.1s}.sk-cube-grid .sk-cube5{animation-delay:.2s}.sk-cube-grid .sk-cube6{animation-delay:.3s}.sk-cube-grid .sk-cube7{animation-delay:0s}.sk-cube-grid .sk-cube8{animation-delay:.1s}.sk-cube-grid .sk-cube9{animation-delay:.2s}@keyframes sk-cubeGridScaleDelay{0%,70%,to{transform:scale(1)}35%{transform:scale(0)}}\n"] }]
59
+ }] });
60
+
61
+ /*
62
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
63
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
64
+ * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
65
+ * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
66
+ * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
67
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
68
+ */
69
+ class SkDoubleBounceComponent extends AbstractLoaderDirective {
70
+ }
71
+ SkDoubleBounceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SkDoubleBounceComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
72
+ SkDoubleBounceComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0", 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"] });
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SkDoubleBounceComponent, decorators: [{
74
+ type: Component,
75
+ args: [{ selector: 'sk-double-bounce', template: "<!--\nCopyright (c) 2015 Tobias Ahlin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n-->\n\n<div class=\"sk-double-bounce\" [class.colored]=\"!backgroundColor\">\n <div class=\"sk-child sk-double-bounce1\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-child sk-double-bounce2\" [style.background-color]='backgroundColor'></div>\n</div>\n", styles: [".sk-double-bounce{top:50%;width:40px;height:40px;position:relative;margin:auto}.sk-double-bounce .sk-child{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;animation:sk-doubleBounce 2s infinite ease-in-out}.sk-double-bounce .sk-double-bounce2{animation-delay:-1s}@keyframes sk-doubleBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}\n"] }]
76
+ }] });
77
+
78
+ /*
79
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
80
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
81
+ * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
82
+ * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
83
+ * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
84
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
85
+ */
86
+ class SkRotatingPlaneComponent extends AbstractLoaderDirective {
87
+ }
88
+ SkRotatingPlaneComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SkRotatingPlaneComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
89
+ SkRotatingPlaneComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0", 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"] });
90
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SkRotatingPlaneComponent, decorators: [{
91
+ type: Component,
92
+ args: [{ selector: 'sk-rotating-plane', template: "<!--\nCopyright (c) 2015 Tobias Ahlin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n-->\n\n<div class=\"sk-rotating-plane colored-parent\" [style.background-color]='backgroundColor'></div>\n", styles: [".sk-rotating-plane{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:sk-rotatePlane 1.2s infinite ease-in-out}@keyframes sk-rotatePlane{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}\n"] }]
93
+ }] });
94
+
95
+ /*
96
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
97
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
98
+ * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
99
+ * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
100
+ * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
101
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
102
+ */
103
+ class SkSpinnerPulseComponent extends AbstractLoaderDirective {
104
+ }
105
+ SkSpinnerPulseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SkSpinnerPulseComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
106
+ SkSpinnerPulseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0", 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"] });
107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SkSpinnerPulseComponent, decorators: [{
108
+ type: Component,
109
+ args: [{ selector: 'sk-spinner-pulse', template: "<!--\nCopyright (c) 2015 Tobias Ahlin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n-->\n\n<div class=\"sk-spinner sk-spinner-pulse colored-parent\" [style.background-color]='backgroundColor'></div>\n", styles: [".sk-spinner-pulse{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:sk-pulseScaleOut 1s infinite ease-in-out}@keyframes sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}\n"] }]
110
+ }] });
111
+
112
+ /*
113
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
114
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
115
+ * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
116
+ * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
117
+ * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
118
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
119
+ */
120
+ class SkThreeBounceComponent extends AbstractLoaderDirective {
121
+ }
122
+ SkThreeBounceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SkThreeBounceComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
123
+ SkThreeBounceComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0", 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"] });
124
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SkThreeBounceComponent, decorators: [{
125
+ type: Component,
126
+ args: [{ selector: 'sk-three-bounce', template: "<!--\nCopyright (c) 2015 Tobias Ahlin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n-->\n\n<div class=\"sk-three-bounce\" [class.colored]=\"!backgroundColor\">\n <div class=\"sk-child sk-bounce1\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-child sk-bounce2\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-child sk-bounce3\" [style.background-color]='backgroundColor'></div>\n</div>\n", styles: [".sk-three-bounce{top:50%;position:relative;margin:auto;width:80px;text-align:center}.sk-three-bounce .sk-child{width:20px;height:20px;border-radius:100%;display:inline-block;animation:sk-three-bounce 1.4s ease-in-out 0s infinite both}.sk-three-bounce .sk-bounce1{animation-delay:-.32s}.sk-three-bounce .sk-bounce2{animation-delay:-.16s}@keyframes sk-three-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}\n"] }]
127
+ }] });
128
+
129
+ /*
130
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
131
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
132
+ * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
133
+ * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
134
+ * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
135
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
136
+ */
137
+ class SkWanderingCubesComponent extends AbstractLoaderDirective {
138
+ }
139
+ SkWanderingCubesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SkWanderingCubesComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
140
+ SkWanderingCubesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0", 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"] });
141
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SkWanderingCubesComponent, decorators: [{
142
+ type: Component,
143
+ args: [{ selector: 'sk-wandering-cubes', template: "<!--\nCopyright (c) 2015 Tobias Ahlin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n-->\n\n<div class=\"sk-wandering-cubes\" [class.colored]=\"!backgroundColor\">\n <div class=\"sk-cube sk-cube1\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-cube sk-cube2\" [style.background-color]='backgroundColor'></div>\n</div>\n", styles: [".sk-wandering-cubes{top:50%;margin:auto;width:40px;height:40px;position:relative}.sk-wandering-cubes .sk-cube{width:10px;height:10px;position:absolute;top:0;left:0;animation:sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-wandering-cubes .sk-cube2{animation-delay:-.9s}@keyframes sk-wanderingCube{0%{transform:rotate(0)}25%{transform:translate(30px) rotate(-90deg) scale(.5)}50%{transform:translate(30px) translateY(30px) rotate(-179deg)}50.1%{transform:translate(30px) translateY(30px) rotate(-180deg)}75%{transform:translate(0) translateY(30px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}\n"] }]
144
+ }] });
145
+
146
+ /*
147
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
148
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
149
+ * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
150
+ * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
151
+ * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
152
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
153
+ */
154
+ class SkWaveComponent extends AbstractLoaderDirective {
155
+ }
156
+ SkWaveComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SkWaveComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
157
+ SkWaveComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0", 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"] });
158
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SkWaveComponent, decorators: [{
159
+ type: Component,
160
+ args: [{ selector: 'sk-wave', template: "<!--\nCopyright (c) 2015 Tobias Ahlin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n-->\n\n<div class=\"sk-wave\" [class.colored]=\"!backgroundColor\">\n <div class=\"sk-rect sk-rect1\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-rect sk-rect2\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-rect sk-rect3\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-rect sk-rect4\" [style.background-color]='backgroundColor'></div>\n <div class=\"sk-rect sk-rect5\" [style.background-color]='backgroundColor'></div>\n</div>\n", styles: [".sk-wave{position:relative;top:50%;margin:auto;width:50px;height:40px;text-align:center;font-size:10px}.sk-wave .sk-rect{float:left;margin-right:1px;height:100%;width:6px;display:inline-block;animation:sk-waveStretchDelay 1.2s infinite ease-in-out}.sk-wave .sk-rect1{animation-delay:-1.2s}.sk-wave .sk-rect2{animation-delay:-1.1s}.sk-wave .sk-rect3{animation-delay:-1s}.sk-wave .sk-rect4{animation-delay:-.9s}.sk-wave .sk-rect5{animation-delay:-.8s}@keyframes sk-waveStretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}\n"] }]
161
+ }] });
162
+
163
+ /*
164
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
165
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
166
+ * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
167
+ * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
168
+ * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
169
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
170
+ */
171
+ const Spinkit = {
172
+ skChasingDots: 'sk-chasing-dots',
173
+ skCubeGrid: 'sk-cube-grid',
174
+ skDoubleBounce: 'sk-double-bounce',
175
+ skRotatingPlane: 'sk-rotationg-plane',
176
+ skSpinnerPulse: 'sk-spinner-pulse',
177
+ skThreeBounce: 'sk-three-bounce',
178
+ skWanderingCubes: 'sk-wandering-cubes',
179
+ skWave: 'sk-wave'
180
+ };
181
+ const SPINKIT_COMPONENTS = [
182
+ SkCubeGridComponent,
183
+ SkChasingDotsComponent,
184
+ SkDoubleBounceComponent,
185
+ SkRotatingPlaneComponent,
186
+ SkSpinnerPulseComponent,
187
+ SkThreeBounceComponent,
188
+ SkWanderingCubesComponent,
189
+ SkWaveComponent,
190
+ ];
191
+
192
+ /*
193
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
194
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
195
+ * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
196
+ * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
197
+ * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
198
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
199
+ */
200
+ class PendingRequestsInterceptor {
201
+ constructor() {
202
+ this._pendingRequests = 0;
203
+ this._pendingRequestsStatus$ = new ReplaySubject(1);
204
+ this._filteredUrlPatterns = [];
205
+ this._filteredMethods = [];
206
+ this._filteredHeaders = [];
207
+ this._forceByPass = false;
208
+ }
209
+ get pendingRequestsStatus$() {
210
+ return this._pendingRequestsStatus$.asObservable();
211
+ }
212
+ get pendingRequests() {
213
+ return this._pendingRequests;
214
+ }
215
+ get filteredUrlPatterns() {
216
+ return this._filteredUrlPatterns;
217
+ }
218
+ set filteredMethods(httpMethods) {
219
+ this._filteredMethods = httpMethods;
220
+ }
221
+ set filteredHeaders(value) {
222
+ this._filteredHeaders = value;
223
+ }
224
+ set forceByPass(value) {
225
+ this._forceByPass = value;
226
+ }
227
+ shouldBypassUrl(url) {
228
+ return this._filteredUrlPatterns.some(e => {
229
+ return e.test(url);
230
+ });
231
+ }
232
+ shouldBypassMethod(req) {
233
+ return this._filteredMethods.some(e => {
234
+ return e.toUpperCase() === req.method.toUpperCase();
235
+ });
236
+ }
237
+ shouldBypassHeader(req) {
238
+ return this._filteredHeaders.some(e => {
239
+ return req.headers.has(e);
240
+ });
241
+ }
242
+ shouldBypass(req) {
243
+ return this._forceByPass
244
+ || this.shouldBypassUrl(req.urlWithParams)
245
+ || this.shouldBypassMethod(req)
246
+ || this.shouldBypassHeader(req);
247
+ }
248
+ intercept(req, next) {
249
+ const shouldBypass = this.shouldBypass(req);
250
+ if (!shouldBypass) {
251
+ this._pendingRequests++;
252
+ if (1 === this._pendingRequests) {
253
+ this._pendingRequestsStatus$.next(true);
254
+ }
255
+ }
256
+ return next.handle(req).pipe(finalize(() => {
257
+ if (!shouldBypass) {
258
+ this._pendingRequests--;
259
+ if (0 === this._pendingRequests) {
260
+ this._pendingRequestsStatus$.next(false);
261
+ }
262
+ }
263
+ }));
264
+ }
265
+ }
266
+ PendingRequestsInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: PendingRequestsInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
267
+ PendingRequestsInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: PendingRequestsInterceptor, providedIn: 'root' });
268
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: PendingRequestsInterceptor, decorators: [{
269
+ type: Injectable,
270
+ args: [{
271
+ providedIn: 'root'
272
+ }]
273
+ }] });
274
+ const PendingRequestsInterceptorProvider = [{
275
+ provide: HTTP_INTERCEPTORS,
276
+ useExisting: PendingRequestsInterceptor,
277
+ multi: true
278
+ }];
279
+
280
+ /*
281
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
282
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
283
+ * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
284
+ * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
285
+ * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
286
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
287
+ */
288
+ class SpinnerVisibilityService {
289
+ constructor(pendingRequestsInterceptor) {
290
+ this.pendingRequestsInterceptor = pendingRequestsInterceptor;
291
+ this._visibility$ = new ReplaySubject(1);
292
+ }
293
+ get visibility$() {
294
+ return this._visibility$.asObservable();
295
+ }
296
+ show() {
297
+ this.pendingRequestsInterceptor.forceByPass = true;
298
+ this._visibility$.next(true);
299
+ }
300
+ hide() {
301
+ this._visibility$.next(false);
302
+ this.pendingRequestsInterceptor.forceByPass = false;
303
+ }
304
+ }
305
+ SpinnerVisibilityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SpinnerVisibilityService, deps: [{ token: PendingRequestsInterceptor }], target: i0.ɵɵFactoryTarget.Injectable });
306
+ SpinnerVisibilityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SpinnerVisibilityService, providedIn: 'root' });
307
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SpinnerVisibilityService, decorators: [{
308
+ type: Injectable,
309
+ args: [{
310
+ providedIn: 'root'
311
+ }]
312
+ }], ctorParameters: function () { return [{ type: PendingRequestsInterceptor }]; } });
313
+
314
+ /*
315
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
316
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
317
+ * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
318
+ * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
319
+ * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
320
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
321
+ */
322
+ class NgHttpLoaderComponent {
323
+ constructor(pendingRequestsInterceptor, spinnerVisibility) {
324
+ this.pendingRequestsInterceptor = pendingRequestsInterceptor;
325
+ this.spinnerVisibility = spinnerVisibility;
326
+ this.spinkit = Spinkit;
327
+ this.visibleUntil = Date.now();
328
+ this.backdrop = true;
329
+ this.debounceDelay = 0;
330
+ this.entryComponent = null;
331
+ this.extraDuration = 0;
332
+ this.filteredHeaders = [];
333
+ this.filteredMethods = [];
334
+ this.filteredUrlPatterns = [];
335
+ this.minDuration = 0;
336
+ this.opacity = '.7';
337
+ this.backdropBackgroundColor = '#f1f1f1';
338
+ this.spinner = Spinkit.skWave;
339
+ }
340
+ ngOnInit() {
341
+ this.initIsvisibleObservable();
342
+ this.nullifySpinnerIfEntryComponentIsDefined();
343
+ this.initFilters();
344
+ }
345
+ initIsvisibleObservable() {
346
+ const [showSpinner$, hideSpinner$] = partition(this.pendingRequestsInterceptor.pendingRequestsStatus$, h => h);
347
+ this.isVisible$ = merge(this.pendingRequestsInterceptor.pendingRequestsStatus$
348
+ .pipe(switchMap(() => showSpinner$.pipe(debounce(() => timer(this.debounceDelay))))), showSpinner$
349
+ .pipe(switchMap(() => hideSpinner$.pipe(debounce(() => this.getVisibilityTimer$())))), this.spinnerVisibility.visibility$).pipe(distinctUntilChanged(), tap(h => this.updateExpirationDelay(h)));
350
+ }
351
+ nullifySpinnerIfEntryComponentIsDefined() {
352
+ if (this.entryComponent) {
353
+ this.spinner = null;
354
+ }
355
+ }
356
+ initFilters() {
357
+ this.initFilteredUrlPatterns();
358
+ this.initFilteredMethods();
359
+ this.initFilteredHeaders();
360
+ }
361
+ initFilteredUrlPatterns() {
362
+ if (!!this.filteredUrlPatterns.length) {
363
+ this.filteredUrlPatterns.forEach(e => this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(e)));
364
+ }
365
+ }
366
+ initFilteredMethods() {
367
+ this.pendingRequestsInterceptor.filteredMethods = this.filteredMethods;
368
+ }
369
+ initFilteredHeaders() {
370
+ this.pendingRequestsInterceptor.filteredHeaders = this.filteredHeaders;
371
+ }
372
+ updateExpirationDelay(showSpinner) {
373
+ if (showSpinner) {
374
+ this.visibleUntil = Date.now() + this.minDuration;
375
+ }
376
+ }
377
+ getVisibilityTimer$() {
378
+ return timer(Math.max(this.extraDuration, this.visibleUntil - Date.now()));
379
+ }
380
+ }
381
+ NgHttpLoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: NgHttpLoaderComponent, deps: [{ token: PendingRequestsInterceptor }, { token: SpinnerVisibilityService }], target: i0.ɵɵFactoryTarget.Component });
382
+ NgHttpLoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0", 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 } });
383
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: NgHttpLoaderComponent, decorators: [{
384
+ type: Component,
385
+ args: [{ selector: 'ng-http-loader', template: "<div id=\"spinner\"\n *ngIf=\"isVisible$ | async\"\n [class.backdrop]=\"backdrop\"\n [style.opacity]=\"opacity\"\n [ngStyle]=\"{'background-color': backdrop ? backdropBackgroundColor : 'transparent'}\">\n\n <ng-container *ngComponentOutlet=\"entryComponent\"></ng-container>\n\n <sk-cube-grid\n *ngIf=\"spinner === spinkit.skCubeGrid\"\n [backgroundColor]=\"backgroundColor\">\n </sk-cube-grid>\n\n <sk-chasing-dots\n *ngIf=\"spinner === spinkit.skChasingDots\"\n [backgroundColor]=\"backgroundColor\">\n </sk-chasing-dots>\n\n <sk-double-bounce\n *ngIf=\"spinner === spinkit.skDoubleBounce\"\n [backgroundColor]=\"backgroundColor\">\n </sk-double-bounce>\n\n <sk-rotating-plane\n *ngIf=\"spinner === spinkit.skRotatingPlane\"\n [backgroundColor]=\"backgroundColor\">\n </sk-rotating-plane>\n\n <sk-spinner-pulse\n *ngIf=\"spinner === spinkit.skSpinnerPulse\"\n [backgroundColor]=\"backgroundColor\">\n </sk-spinner-pulse>\n\n <sk-three-bounce\n *ngIf=\"spinner === spinkit.skThreeBounce\"\n [backgroundColor]=\"backgroundColor\">\n </sk-three-bounce>\n\n <sk-wandering-cubes\n *ngIf=\"spinner === spinkit.skWanderingCubes\"\n [backgroundColor]=\"backgroundColor\">\n </sk-wandering-cubes>\n\n <sk-wave\n *ngIf=\"spinner === spinkit.skWave\"\n [backgroundColor]=\"backgroundColor\">\n </sk-wave>\n\n</div>\n\n", styles: ["#spinner{top:50%;left:50%;transform:translate(-50%,-50%);position:fixed;z-index:9999}#spinner.backdrop{top:0;left:0;height:100%;width:100%;display:flex;align-items:center;justify-content:center;transform:none}::ng-deep .colored-parent,::ng-deep .colored>div{background-color:#333}\n"] }]
386
+ }], ctorParameters: function () { return [{ type: PendingRequestsInterceptor }, { type: SpinnerVisibilityService }]; }, propDecorators: { backdrop: [{
387
+ type: Input
388
+ }], backgroundColor: [{
389
+ type: Input
390
+ }], debounceDelay: [{
391
+ type: Input
392
+ }], entryComponent: [{
393
+ type: Input
394
+ }], extraDuration: [{
395
+ type: Input
396
+ }], filteredHeaders: [{
397
+ type: Input
398
+ }], filteredMethods: [{
399
+ type: Input
400
+ }], filteredUrlPatterns: [{
401
+ type: Input
402
+ }], minDuration: [{
403
+ type: Input
404
+ }], opacity: [{
405
+ type: Input
406
+ }], backdropBackgroundColor: [{
407
+ type: Input
408
+ }], spinner: [{
409
+ type: Input
410
+ }] } });
411
+
412
+ /*
413
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
414
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
415
+ * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
416
+ * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
417
+ * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
418
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
419
+ */
420
+ class NgHttpLoaderModule {
421
+ static forRoot() {
422
+ return {
423
+ ngModule: NgHttpLoaderModule,
424
+ providers: [
425
+ PendingRequestsInterceptorProvider,
426
+ ]
427
+ };
428
+ }
429
+ }
430
+ NgHttpLoaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: NgHttpLoaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
431
+ NgHttpLoaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0", 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] });
432
+ NgHttpLoaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: NgHttpLoaderModule, imports: [[
433
+ CommonModule,
434
+ ]] });
435
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: NgHttpLoaderModule, decorators: [{
436
+ type: NgModule,
437
+ args: [{
438
+ declarations: [
439
+ NgHttpLoaderComponent,
440
+ ...SPINKIT_COMPONENTS,
441
+ ],
442
+ imports: [
443
+ CommonModule,
444
+ ],
445
+ exports: [
446
+ NgHttpLoaderComponent,
447
+ ...SPINKIT_COMPONENTS,
448
+ ]
449
+ }]
450
+ }] });
451
+
452
+ /*
453
+ * Public API Surface of ng-http-loader
454
+ */
455
+
456
+ /**
457
+ * Generated bundle index. Do not edit.
458
+ */
459
+
460
+ export { AbstractLoaderDirective, NgHttpLoaderComponent, NgHttpLoaderModule, PendingRequestsInterceptor, PendingRequestsInterceptorProvider, SPINKIT_COMPONENTS, SkChasingDotsComponent, SkCubeGridComponent, SkDoubleBounceComponent, SkRotatingPlaneComponent, SkSpinnerPulseComponent, SkThreeBounceComponent, SkWanderingCubesComponent, SkWaveComponent, Spinkit, SpinnerVisibilityService };