ng-http-loader 9.0.0 → 11.0.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.
Files changed (60) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +4 -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 +5 -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 -219
  39. package/bundles/ng-http-loader.umd.js +0 -770
  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 -97
  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 -452
  59. package/fesm2015/ng-http-loader.js.map +0 -1
  60. package/ng-http-loader.metadata.json +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ng-http-loader.mjs","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() 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 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 show(): void {\n this.pendingRequestsInterceptor.forceByPass = true;\n this._visibility$.next(true);\n }\n\n 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 spinkit = Spinkit;\n isVisible$!: Observable<boolean>;\n visibleUntil = Date.now();\n\n @Input() backdrop = true;\n @Input() backgroundColor!: string;\n @Input() debounceDelay = 0;\n @Input() entryComponent: any = null;\n @Input() extraDuration = 0;\n @Input() filteredHeaders: string[] = [];\n @Input() filteredMethods: string[] = [];\n @Input() filteredUrlPatterns: string[] = [];\n @Input() minDuration = 0;\n @Input() opacity = '.7';\n @Input() backdropBackgroundColor = '#f1f1f1';\n @Input() spinner: string | null = Spinkit.skWave;\n\n constructor(private pendingRequestsInterceptor: PendingRequestsInterceptor, private spinnerVisibility: SpinnerVisibilityService) {\n }\n\n 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 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;8BAGG,eAAe;sBAAvB,KAAK;;;ACdV;;;;;;;;MAiBa,sBAAuB,SAAQ,uBAAuB;;mHAAtD,sBAAsB;uGAAtB,sBAAsB,8ECjBnC,i0CAyBA;2FDRa,sBAAsB;kBALlC,SAAS;+BACI,iBAAiB;;;AEb/B;;;;;;;;MAiBa,mBAAoB,SAAQ,uBAAuB;;gHAAnD,mBAAmB;oGAAnB,mBAAmB,2ECjBhC,+5DAgCA;2FDfa,mBAAmB;kBAL/B,SAAS;+BACI,cAAc;;;AEb5B;;;;;;;;MAiBa,uBAAwB,SAAQ,uBAAuB;;oHAAvD,uBAAuB;wGAAvB,uBAAuB,+ECjBpC,s1CAyBA;2FDRa,uBAAuB;kBALnC,SAAS;+BACI,kBAAkB;;;AEbhC;;;;;;;;MAiBa,wBAAyB,SAAQ,uBAAuB;;qHAAxD,wBAAwB;yGAAxB,wBAAwB,gFCjBrC,wqCAsBA;2FDLa,wBAAwB;kBALpC,SAAS;+BACI,mBAAmB;;;AEbjC;;;;;;;;MAiBa,uBAAwB,SAAQ,uBAAuB;;oHAAvD,uBAAuB;wGAAvB,uBAAuB,+ECjBpC,krCAsBA;2FDLa,uBAAuB;kBALnC,SAAS;+BACI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CrBlC,k9CAkDA;2FD7Ba,qBAAqB;kBALjC,SAAS;+BACI,gBAAgB;kJAUjB,QAAQ;sBAAhB,KAAK;gBACG,eAAe;sBAAvB,KAAK;gBACG,aAAa;sBAArB,KAAK;gBACG,cAAc;sBAAtB,KAAK;gBACG,aAAa;sBAArB,KAAK;gBACG,eAAe;sBAAvB,KAAK;gBACG,eAAe;sBAAvB,KAAK;gBACG,mBAAmB;sBAA3B,KAAK;gBACG,WAAW;sBAAnB,KAAK;gBACG,OAAO;sBAAf,KAAK;gBACG,uBAAuB;sBAA/B,KAAK;gBACG,OAAO;sBAAf,KAAK;;;AEtCV;;;;;;;;MA4Ba,kBAAkB;IAC3B,OAAO,OAAO;QACV,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,3 +1,6 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare abstract class AbstractLoaderDirective {
2
3
  backgroundColor: string;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbstractLoaderDirective, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractLoaderDirective, never, never, { "backgroundColor": "backgroundColor"; }, {}, never>;
3
6
  }
@@ -2,6 +2,7 @@ import { OnInit } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
3
  import { PendingRequestsInterceptor } from '../services/pending-requests-interceptor.service';
4
4
  import { SpinnerVisibilityService } from '../services/spinner-visibility.service';
5
+ import * as i0 from "@angular/core";
5
6
  export declare class NgHttpLoaderComponent implements OnInit {
6
7
  private pendingRequestsInterceptor;
7
8
  private spinnerVisibility;
@@ -16,7 +17,7 @@ export declare class NgHttpLoaderComponent implements OnInit {
16
17
  skWave: string;
17
18
  };
18
19
  isVisible$: Observable<boolean>;
19
- private visibleUntil;
20
+ visibleUntil: number;
20
21
  backdrop: boolean;
21
22
  backgroundColor: string;
22
23
  debounceDelay: number;
@@ -27,6 +28,7 @@ export declare class NgHttpLoaderComponent implements OnInit {
27
28
  filteredUrlPatterns: string[];
28
29
  minDuration: number;
29
30
  opacity: string;
31
+ backdropBackgroundColor: string;
30
32
  spinner: string | null;
31
33
  constructor(pendingRequestsInterceptor: PendingRequestsInterceptor, spinnerVisibility: SpinnerVisibilityService);
32
34
  ngOnInit(): void;
@@ -38,4 +40,6 @@ export declare class NgHttpLoaderComponent implements OnInit {
38
40
  private initFilteredHeaders;
39
41
  private updateExpirationDelay;
40
42
  private getVisibilityTimer$;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgHttpLoaderComponent, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgHttpLoaderComponent, "ng-http-loader", never, { "backdrop": "backdrop"; "backgroundColor": "backgroundColor"; "debounceDelay": "debounceDelay"; "entryComponent": "entryComponent"; "extraDuration": "extraDuration"; "filteredHeaders": "filteredHeaders"; "filteredMethods": "filteredMethods"; "filteredUrlPatterns": "filteredUrlPatterns"; "minDuration": "minDuration"; "opacity": "opacity"; "backdropBackgroundColor": "backdropBackgroundColor"; "spinner": "spinner"; }, {}, never, never>;
41
45
  }
@@ -1,3 +1,6 @@
1
1
  import { AbstractLoaderDirective } from '../abstract.loader.directive';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class SkChasingDotsComponent extends AbstractLoaderDirective {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkChasingDotsComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkChasingDotsComponent, "sk-chasing-dots", never, {}, {}, never, never>;
3
6
  }
@@ -1,3 +1,6 @@
1
1
  import { AbstractLoaderDirective } from '../abstract.loader.directive';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class SkCubeGridComponent extends AbstractLoaderDirective {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkCubeGridComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkCubeGridComponent, "sk-cube-grid", never, {}, {}, never, never>;
3
6
  }
@@ -1,3 +1,6 @@
1
1
  import { AbstractLoaderDirective } from '../abstract.loader.directive';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class SkDoubleBounceComponent extends AbstractLoaderDirective {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkDoubleBounceComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkDoubleBounceComponent, "sk-double-bounce", never, {}, {}, never, never>;
3
6
  }
@@ -1,3 +1,6 @@
1
1
  import { AbstractLoaderDirective } from '../abstract.loader.directive';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class SkRotatingPlaneComponent extends AbstractLoaderDirective {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkRotatingPlaneComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkRotatingPlaneComponent, "sk-rotating-plane", never, {}, {}, never, never>;
3
6
  }
@@ -1,3 +1,6 @@
1
1
  import { AbstractLoaderDirective } from '../abstract.loader.directive';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class SkSpinnerPulseComponent extends AbstractLoaderDirective {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkSpinnerPulseComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkSpinnerPulseComponent, "sk-spinner-pulse", never, {}, {}, never, never>;
3
6
  }
@@ -1,3 +1,6 @@
1
1
  import { AbstractLoaderDirective } from '../abstract.loader.directive';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class SkThreeBounceComponent extends AbstractLoaderDirective {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkThreeBounceComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkThreeBounceComponent, "sk-three-bounce", never, {}, {}, never, never>;
3
6
  }
@@ -1,3 +1,6 @@
1
1
  import { AbstractLoaderDirective } from '../abstract.loader.directive';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class SkWanderingCubesComponent extends AbstractLoaderDirective {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkWanderingCubesComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkWanderingCubesComponent, "sk-wandering-cubes", never, {}, {}, never, never>;
3
6
  }
@@ -1,3 +1,6 @@
1
1
  import { AbstractLoaderDirective } from '../abstract.loader.directive';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class SkWaveComponent extends AbstractLoaderDirective {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkWaveComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkWaveComponent, "sk-wave", never, {}, {}, never, never>;
3
6
  }
@@ -1,4 +1,18 @@
1
1
  import { ModuleWithProviders } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./components/ng-http-loader.component";
4
+ import * as i2 from "./components/sk-cube-grid/sk-cube-grid.component";
5
+ import * as i3 from "./components/sk-chasing-dots/sk-chasing-dots.component";
6
+ import * as i4 from "./components/sk-double-bounce/sk-double-bounce.component";
7
+ import * as i5 from "./components/sk-rotating-plane/sk-rotating-plane.component";
8
+ import * as i6 from "./components/sk-spinner-pulse/sk-spinner-pulse.component";
9
+ import * as i7 from "./components/sk-three-bounce/sk-three-bounce.component";
10
+ import * as i8 from "./components/sk-wandering-cubes/sk-wandering-cubes.component";
11
+ import * as i9 from "./components/sk-wave/sk-wave.component";
12
+ import * as i10 from "@angular/common";
2
13
  export declare class NgHttpLoaderModule {
3
14
  static forRoot(): ModuleWithProviders<NgHttpLoaderModule>;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgHttpLoaderModule, never>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgHttpLoaderModule, [typeof i1.NgHttpLoaderComponent, typeof i2.SkCubeGridComponent, typeof i3.SkChasingDotsComponent, typeof i4.SkDoubleBounceComponent, typeof i5.SkRotatingPlaneComponent, typeof i6.SkSpinnerPulseComponent, typeof i7.SkThreeBounceComponent, typeof i8.SkWanderingCubesComponent, typeof i9.SkWaveComponent], [typeof i10.CommonModule], [typeof i1.NgHttpLoaderComponent, typeof i2.SkCubeGridComponent, typeof i3.SkChasingDotsComponent, typeof i4.SkDoubleBounceComponent, typeof i5.SkRotatingPlaneComponent, typeof i6.SkSpinnerPulseComponent, typeof i7.SkThreeBounceComponent, typeof i8.SkWanderingCubesComponent, typeof i9.SkWaveComponent]>;
17
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgHttpLoaderModule>;
4
18
  }
@@ -1,6 +1,7 @@
1
1
  import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
2
2
  import { ExistingProvider } from '@angular/core';
3
3
  import { Observable } from 'rxjs';
4
+ import * as i0 from "@angular/core";
4
5
  export declare class PendingRequestsInterceptor implements HttpInterceptor {
5
6
  private _pendingRequests;
6
7
  private _pendingRequestsStatus$;
@@ -19,5 +20,7 @@ export declare class PendingRequestsInterceptor implements HttpInterceptor {
19
20
  private shouldBypassHeader;
20
21
  private shouldBypass;
21
22
  intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<PendingRequestsInterceptor, never>;
24
+ static ɵprov: i0.ɵɵInjectableDeclaration<PendingRequestsInterceptor>;
22
25
  }
23
26
  export declare const PendingRequestsInterceptorProvider: ExistingProvider[];
@@ -1,5 +1,6 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import { PendingRequestsInterceptor } from './pending-requests-interceptor.service';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class SpinnerVisibilityService {
4
5
  private pendingRequestsInterceptor;
5
6
  private _visibility$;
@@ -7,4 +8,6 @@ export declare class SpinnerVisibilityService {
7
8
  get visibility$(): Observable<boolean>;
8
9
  show(): void;
9
10
  hide(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerVisibilityService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<SpinnerVisibilityService>;
10
13
  }
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
+ /// <amd-module name="ng-http-loader" />
4
5
  export * from './public_api';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ng-http-loader",
3
- "version": "9.0.0",
3
+ "version": "11.0.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/mpalourdio/ng-http-loader"
@@ -31,19 +31,29 @@
31
31
  "url": "https://github.com/mpalourdio/ng-http-loader/issues"
32
32
  },
33
33
  "dependencies": {
34
- "tslib": "^2.0.0"
34
+ "tslib": "^2.3.0"
35
35
  },
36
36
  "peerDependencies": {
37
- "@angular/common": "^11.0.0",
38
- "@angular/core": "^11.0.0",
39
- "rxjs": "^6.6.0"
37
+ "rxjs": "^6.6.0 || ^7.0.0"
40
38
  },
41
- "main": "bundles/ng-http-loader.umd.js",
42
- "module": "fesm2015/ng-http-loader.js",
43
- "es2015": "fesm2015/ng-http-loader.js",
44
- "esm2015": "esm2015/ng-http-loader.js",
45
- "fesm2015": "fesm2015/ng-http-loader.js",
39
+ "module": "fesm2015/ng-http-loader.mjs",
40
+ "es2020": "fesm2020/ng-http-loader.mjs",
41
+ "esm2020": "esm2020/ng-http-loader.mjs",
42
+ "fesm2020": "fesm2020/ng-http-loader.mjs",
43
+ "fesm2015": "fesm2015/ng-http-loader.mjs",
46
44
  "typings": "ng-http-loader.d.ts",
47
- "metadata": "ng-http-loader.metadata.json",
45
+ "exports": {
46
+ "./package.json": {
47
+ "default": "./package.json"
48
+ },
49
+ ".": {
50
+ "types": "./ng-http-loader.d.ts",
51
+ "esm2020": "./esm2020/ng-http-loader.mjs",
52
+ "es2020": "./fesm2020/ng-http-loader.mjs",
53
+ "es2015": "./fesm2015/ng-http-loader.mjs",
54
+ "node": "./fesm2015/ng-http-loader.mjs",
55
+ "default": "./fesm2020/ng-http-loader.mjs"
56
+ }
57
+ },
48
58
  "sideEffects": false
49
- }
59
+ }
package/CHANGELOG.md DELETED
@@ -1,219 +0,0 @@
1
- # Changelog
2
-
3
- ## v9.0.0
4
- - Added angular 11 support.
5
-
6
- ## v8.0.0
7
- - Added angular 10 support.
8
-
9
- ## v7.0.0
10
- - Added angular 9 support.
11
- - BC break : `AbstractLoader` has been renamed to `AbstractLoaderDirective`. See [here](https://next.angular.io/guide/deprecations#undecorated-base-classes) and [here](https://angular.io/guide/styleguide#style-02-03).
12
-
13
- ## v6.0.1
14
- - The `rxjs` peer dependency is now `^6.5.0`, because the module uses the new `creation function partition observable` introduced in [v6.5.0](https://github.com/ReactiveX/rxjs/blob/f07d349da8c2e0dbddca17d33a9b4a1ceaf59354/CHANGELOG.md#650-2019-04-23).
15
-
16
- ## v6.0.0
17
- - Angular 8.x is now the default supported version.
18
- - The `subscription` in `NgHttpLoaderComponent` has completely been removed in favor of an `observable`. As there's no need to unsubscribe anymore, `ngOnDestroy` has been removed.
19
- - The `observable` initialization has been moved to `ngOnInit`.
20
- - The tests suite could fail (and succeed) in some unexpected ways. This was caused by some race conditions introduced in v5.0.0. Those are now (hopefully) fixed.
21
-
22
- ## v5.1.0
23
- - This release introduces 2 new options:
24
- - **backdrop** (`true` by default): If set to `false`, the spinner background elements will remain clickable, without any background color.
25
- - **opacity**: This option lets you override the spinner opacity (0.7 by default).
26
-
27
- ## v5.0.1
28
- - The `rxjs` `peerDependency` has been relaxed from `~6.3.3` to `^6.3.3` so that no warning is thrown when the `rxjs` version has been bumped at application side.
29
-
30
- ## v5.0.0
31
- - Prior to this release, `NgHttpLoaderComponent#isSpinnerVisible` was a boolean. Because of unexpected behaviors when a component with `ChangeDetectionStrategy.OnPush` performed HTTP requests, it is now an `Observable<boolean>` and has been renamed to `NgHttpLoaderComponent#isVisible$`.
32
- The associated template now uses an `async pipe` in order to perform the show/hide logic.
33
-
34
- - `PendingInterceptorService` has been renamed to `PendingRequestsInterceptor`.
35
-
36
- ## v4.0.0
37
- - `HttpClientModule` has been removed from imports.
38
- This caused some issues when external modules were imported in an application, and those modules registered their own HTTP interceptors. See [this issue](https://github.com/angular/angular/issues/20575) for reference.
39
-
40
- - A static `forRoot()` method has been added to the module declaration. You must now [explicitly call this method](README.md#usage) when importing `NgHttpLoaderModule` in your root application module.
41
- This intends to avoid multiple providers instances when working with lazy modules in which you would want to import `NgHttpLoaderModule` again for any reason.
42
-
43
- - The default spinner is now `Spinkit.skWave` (less CPU intensive).
44
-
45
- ## v3.2.0
46
-
47
- `peerDependencies` section now targets `angular 7`. The module is still `angular 6` compatible, so this is not a major release.
48
- Users are still encouraged to upgrade their applications ASAP.
49
-
50
- ## v3.1.2
51
-
52
- - Added [browserslist](https://github.com/browserslist/browserslist) support.
53
- - Some cleanup has been done in CSS files to let the CSS auto-prefixer do the job automatically regarding supported browsers.
54
- - Spinkit CSS integration has been been replaced by SCSS.
55
-
56
- ## v3.1.1
57
-
58
- The Subscriptions that had been previously moved from constructor to `ngOnInit` are back in constructor. This avoids testing if the subscriptions exist in `ngOnDestroy` before unsubscribing them.
59
-
60
- ## v3.1.0
61
-
62
- Awesome contribution by [gnom7](https://github.com/gnom7)
63
- - Better handling of sequential HTTP requests. Particularly when mixed with the `minDuration` option. See [this issue](https://github.com/mpalourdio/ng-http-loader/issues/89) for reference.
64
-
65
- ```
66
- Min. duration time: 300ms
67
- ---0ms------------------------------200ms-------280ms----------------400ms|
68
- ----|---------------------------------------------|-----------------------|
69
- (req1 starts and spinner shows) (req1 ends) (req2 starts) (req2 ends and spinner hides)
70
- ```
71
-
72
- Before this, `minDuration` would have been applied to both HTTP requests.
73
-
74
- - Added the `extraDuration` option:
75
- - This option make the spinner visible a certain amount of time after the moment when it should have naturally been hidden. This avoids flickering when, for example, multiple HTTP requests are ran sequentially.
76
- - See [this issue](https://github.com/mpalourdio/ng-http-loader/issues/90) for reference
77
-
78
- ```
79
- Extra duration time: 60ms
80
- ---0ms----------200ms------260ms---- |
81
- ----|------------|----------|--------|
82
- req starts req ends spinner hides
83
- ```
84
-
85
- ## v3.0.0
86
-
87
- - All existing deprecations have been removed.
88
- - BC breaks =>
89
- - `SpinnerComponent` has been renamed to `NgHttpLoaderComponent`.
90
- - The `<spinner>` component-selector has been renamed to `<ng-http-loader>`.
91
-
92
- ## v2.3.0
93
-
94
- This release adds the possibility to filter HTTP requests that should not be handled by the interceptor by providing an array of HTTP headers to the component's `filteredHeaders` property.
95
-
96
- ## v2.2.0
97
-
98
- This release adds the possibility to filter HTTP requests that should not be handled by the interceptor by providing an array of HTTP methods to the component's `filteredMethods` property.
99
-
100
- ## v2.1.0
101
-
102
- This release introduces the **minimum duration** option. It gives the possibility to force a minimum duration during which the spinner should be visible.
103
- You can mix this parameter with the **debounce delay** option:
104
-
105
- ```xml
106
- <ng-http-loader
107
- [debounceDelay]="100"
108
- [minDuration]="300">
109
- </ng-http-loader>
110
- ```
111
-
112
- ```
113
- Debounce delay: 100ms
114
- Min. duration time: 300ms
115
- ---0ms--------100ms------------180ms-----------400ms--
116
- ----|----------|-----------------|---------------|----
117
- req starts spinner shows req ends spinner hides
118
- ```
119
-
120
- `SpinnerVisibilityService#visibilityObservable` and `PendingInterceptorService#pendingRequestsStatus` have been respectively deprecated in favor of `visibilityObservable$` and `pendingRequestsStatus$` (note the **$**).
121
-
122
- ## v2.0.0
123
-
124
- The module bundling now uses [ng-packagr](https://github.com/dherges/ng-packagr).
125
- From now, you must use `import { xxxxxxx } from 'ng-http-loader'` without referencing the full path.
126
-
127
- Also, `NgHttpLoaderServicesModule` && `NgHttpLoaderComponentsModule` have been removed and merged back to `NgHttpLoaderModule`.
128
- The `injectables` now take advantage of the new [Tree Shakable Providers features](https://blog.angular.io/version-6-of-angular-now-available-cc56b0efa7a4).
129
- The integration in much cleaner, particularly with lazy loaded modules, and avoids the static `forRoot()` boilerplate.
130
-
131
- ## v1.0.3
132
-
133
- Some compiler options have been reverted, so the compilation target is `es5` like before v1.0.2.
134
-
135
- ## v1.0.2
136
-
137
- The compiler options have been adjusted so ng-http-loader is now an es2015 module, and can be tree-shaked.
138
-
139
- ## v1.0.1
140
-
141
- This release is a bug fix release. It prevents the `PendingInterceptorService` from being triggered when using the `SpinnerVisibilityService`.
142
- See this [issue](https://github.com/mpalourdio/ng-http-loader/issues/64) for more details.
143
-
144
- ## v1.0.0
145
-
146
- This release introduces full support for angular 6 & RxJS 6.
147
-
148
- ## v0.9.1
149
-
150
- This release fixes a bug on the SpinKit Sk-Wave component that only appeared after template inlining.
151
-
152
- See [this thread](https://github.com/tobiasahlin/SpinKit/issues/139) for details.
153
-
154
- ## v0.9.0
155
-
156
- This release adds the more friendly SpinnerVisibilityService#show() && SpinnerVisibilityService#hide() methods as public API.
157
- The `visibilitySubject` introduced in v0.8.0 is now a `ReplaySubject`, and its getter returns now an observable.
158
-
159
- See the [Manually show and hide the spinner](https://github.com/mpalourdio/ng-http-loader#manually-show-and-hide-the-spinner) section.
160
-
161
- ## v0.8.0
162
-
163
- This release adds the `SpinnerVisibilityService`, a simple injectable service that allows you to manually show/hide the spinner.
164
-
165
- See the [Manually show and hide the spinner](https://github.com/mpalourdio/ng-http-loader#manually-show-and-hide-the-spinner) section.
166
-
167
- ## v0.7.1
168
-
169
- This release is a bug fix release. It slightly improves the behavior of the `filteredUrlPatterns` so this parameter takes care of query strings too.
170
-
171
- ## v0.7.0
172
-
173
- This release adds the `entryComponent` property. It allows to specify your own component instead of the built-in ones. It uses the [NgComponentOutlet](https://angular.io/api/common/NgComponentOutlet) feature.
174
-
175
- See the [Defining your own spinner](https://github.com/mpalourdio/ng-http-loader#defining-your-own-spinner) section.
176
-
177
- ## v0.6.0
178
-
179
- This release adds the `debounceDelay` parameter (default is 0). It allows to discard the spinner for fast and repeated HTTP requests, which can be annoying under some conditions.
180
-
181
- See [customization](https://github.com/mpalourdio/ng-http-loader#customizing-the-spinner)
182
-
183
- The library footprint has been reduced by minifying templates and stylesheets before inlining them.
184
-
185
- The library now takes advantage of [RxJS lettable operators](https://github.com/ReactiveX/rxjs/blob/master/doc/lettable-operators.md)
186
-
187
- ## v0.5.1
188
-
189
- This release fixes a bug that could cause the spinner to not show if an HTTP request were performed **before** the spinner component was initialized.
190
- The responsible `Subject` has been replaced by a `ReplaySubject`.
191
-
192
- ## v0.5.0
193
-
194
- The module is now splitted in sub-modules for more convenience. See [usage](https://github.com/mpalourdio/ng-http-loader#usage).
195
- It's an **opt-in** feature. The "old" module import method, by simply declaring `NgHttpLoaderModule`, is still fully supported.
196
-
197
- **BC break**: paths of components and services have changed.
198
- - Components are now located in the `components` folders.
199
- - Services are now located in the `services` folders.
200
-
201
- ## v0.4.0
202
-
203
- Added **angular 5** full support. The last version compatible with angular 4 is `version 0.3.4`
204
-
205
- ## v0.3.4
206
-
207
- Fixed default spinners background.
208
-
209
- ## v0.3.0
210
-
211
- This release gives the possibility to filter HTTP requests that should not be handled by the interceptor by providing an array of URL regex to the component's `filteredUrlPatterns` property.
212
-
213
- ## v0.2.0
214
-
215
- Definitely switch to the new HttpClientModule api available from angular 4.3
216
-
217
- ## v0.1.0
218
-
219
- Before completely removing HttpInterceptorService, provide a parallel implementation based on the new built-in angular 4.3 interceptor