@arsedizioni/ars-utils 22.1.0 → 22.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arsedizioni/ars-utils",
3
- "version": "22.1.0",
3
+ "version": "22.1.1",
4
4
  "author": {
5
5
  "email": "software@arsedizioni.it",
6
6
  "name": "Fabio Buscaroli, Alberto Doria"
@@ -1788,6 +1788,19 @@ declare class SplashService {
1788
1788
  bootstrapped(): void;
1789
1789
  /** Fade out and remove the splash overlay from the DOM. */
1790
1790
  hide(): void;
1791
+ /**
1792
+ * Give up on loading, without taking the splash away.
1793
+ *
1794
+ * The splash stays where it is but stops pretending something is still happening: the progress
1795
+ * bar goes and a reload button appears, so a user who would otherwise sit in front of an endless
1796
+ * animation has something to do. Uncovering the page instead would be worse — whatever is
1797
+ * underneath is, by definition, not ready.
1798
+ *
1799
+ * Falls back to {@link setMessage} where `index.html` does not publish `fail`: the user still
1800
+ * reads what happened, only without the button.
1801
+ * @param text - What to tell the user.
1802
+ */
1803
+ fail(text: string): void;
1791
1804
  static ɵfac: i0.ɵɵFactoryDeclaration<SplashService, never>;
1792
1805
  static ɵprov: i0.ɵɵInjectableDeclaration<SplashService>;
1793
1806
  }