ng-http-loader 8.0.0 → 10.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +6 -2
  3. package/bundles/ng-http-loader.umd.js +243 -162
  4. package/bundles/ng-http-loader.umd.js.map +1 -1
  5. package/esm2015/lib/components/abstract.loader.directive.js +9 -7
  6. package/esm2015/lib/components/ng-http-loader.component.js +48 -27
  7. package/esm2015/lib/components/sk-chasing-dots/sk-chasing-dots.component.js +12 -8
  8. package/esm2015/lib/components/sk-cube-grid/sk-cube-grid.component.js +12 -8
  9. package/esm2015/lib/components/sk-double-bounce/sk-double-bounce.component.js +12 -8
  10. package/esm2015/lib/components/sk-rotating-plane/sk-rotating-plane.component.js +12 -8
  11. package/esm2015/lib/components/sk-spinner-pulse/sk-spinner-pulse.component.js +12 -8
  12. package/esm2015/lib/components/sk-three-bounce/sk-three-bounce.component.js +12 -8
  13. package/esm2015/lib/components/sk-wandering-cubes/sk-wandering-cubes.component.js +12 -8
  14. package/esm2015/lib/components/sk-wave/sk-wave.component.js +12 -8
  15. package/esm2015/lib/ng-http-loader.module.js +31 -16
  16. package/esm2015/lib/services/pending-requests-interceptor.service.js +9 -7
  17. package/esm2015/lib/services/spinner-visibility.service.js +9 -11
  18. package/fesm2015/ng-http-loader.js +190 -145
  19. package/fesm2015/ng-http-loader.js.map +1 -1
  20. package/lib/components/abstract.loader.directive.d.ts +3 -0
  21. package/lib/components/ng-http-loader.component.d.ts +4 -0
  22. package/lib/components/sk-chasing-dots/sk-chasing-dots.component.d.ts +3 -0
  23. package/lib/components/sk-cube-grid/sk-cube-grid.component.d.ts +3 -0
  24. package/lib/components/sk-double-bounce/sk-double-bounce.component.d.ts +3 -0
  25. package/lib/components/sk-rotating-plane/sk-rotating-plane.component.d.ts +3 -0
  26. package/lib/components/sk-spinner-pulse/sk-spinner-pulse.component.d.ts +3 -0
  27. package/lib/components/sk-three-bounce/sk-three-bounce.component.d.ts +3 -0
  28. package/lib/components/sk-wandering-cubes/sk-wandering-cubes.component.d.ts +3 -0
  29. package/lib/components/sk-wave/sk-wave.component.d.ts +3 -0
  30. package/lib/ng-http-loader.module.d.ts +14 -0
  31. package/lib/services/pending-requests-interceptor.service.d.ts +3 -0
  32. package/lib/services/spinner-visibility.service.d.ts +3 -0
  33. package/ng-http-loader.d.ts +1 -0
  34. package/package.json +6 -7
  35. package/CHANGELOG.md +0 -216
  36. package/bundles/ng-http-loader.umd.min.js +0 -16
  37. package/bundles/ng-http-loader.umd.min.js.map +0 -1
  38. package/ng-http-loader.metadata.json +0 -1
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2017-2019 mpalourdio
3
+ Copyright (c) 2017-2021 mpalourdio
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of
6
6
  this software and associated documentation files (the "Software"), to deal in
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ng-http-loader
2
2
 
3
- [![Build Status](https://travis-ci.org/mpalourdio/ng-http-loader.svg?branch=master)](https://travis-ci.org/mpalourdio/ng-http-loader)
3
+ [![Build Status](https://github.com/mpalourdio/ng-http-loader/workflows/CI/badge.svg?branch=master)](https://github.com/mpalourdio/ng-http-loader/actions)
4
4
  [![Coverage Status](https://coveralls.io/repos/github/mpalourdio/ng-http-loader/badge.svg?branch=master)](https://coveralls.io/github/mpalourdio/ng-http-loader?branch=master)
5
5
  [![npm](https://img.shields.io/npm/v/ng-http-loader.svg)](https://www.npmjs.com/package/ng-http-loader)
6
6
  [![npm](https://img.shields.io/npm/dm/ng-http-loader.svg)](https://www.npmjs.com/package/ng-http-loader)
@@ -37,7 +37,9 @@ The HTTP interceptor listens to all HTTP requests and shows a spinner / loader i
37
37
  | >=3.2.0 <5.1.0 | ^7.0.0 |
38
38
  | >=6.0.0 <7.0.0 | ^8.0.0 |
39
39
  | >=7.0.0 <8.0.0 | ^9.0.0 |
40
- | >=8.0.0 | ^10.0.0 |
40
+ | >=8.0.0 <9.0.0 | ^10.0.0 |
41
+ | >=9.0.0 | ^11.0.0 |
42
+ | >=10.0.0 | ^12.0.0 |
41
43
 
42
44
  If you experience errors like below, **please double check the version you use.**
43
45
 
@@ -90,6 +92,7 @@ You can customize the following parameters:
90
92
  - The **extra duration** (ie. how many extra milliseconds should the spinner be visible).
91
93
  - The **minimum duration** (ie. how many milliseconds should the spinner be visible at least).
92
94
  - The spinner **opacity**.
95
+ - The backdrop **background-color** (ie. the color of the spinner backdrop, if enabled).
93
96
  - The **spinner type**.
94
97
 
95
98
  ```xml
@@ -100,6 +103,7 @@ You can customize the following parameters:
100
103
  [extraDuration]="300"
101
104
  [minDuration]="300"
102
105
  [opacity]=".6"
106
+ [backdropBackgroundColor]="'#777777'"
103
107
  [spinner]="spinkit.skWave">
104
108
  </ng-http-loader>
105
109
  ```