@arsedizioni/ars-utils 22.0.86 → 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.0.86",
3
+ "version": "22.1.1",
4
4
  "author": {
5
5
  "email": "software@arsedizioni.it",
6
6
  "name": "Fabio Buscaroli, Alberto Doria"
@@ -1049,7 +1049,7 @@ declare class ClipperDocumentMenuComponent {
1049
1049
  private readonly renderer2;
1050
1050
  private readonly clipperService;
1051
1051
  readonly useSelections: _angular_core.InputSignal<boolean>;
1052
- readonly selectionSource: _angular_core.InputSignal<"none" | "selection" | "bag">;
1052
+ readonly selectionSource: _angular_core.InputSignal<"selection" | "bag" | "none">;
1053
1053
  /**
1054
1054
  * Computed signal that returns the current effective document selection.
1055
1055
  * Re-evaluates when any input signal or the underlying selection model changes.
@@ -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
  }
@@ -1005,7 +1005,7 @@ declare class ChipsSelectorComponent implements OnDestroy, ControlValueAccessor
1005
1005
  /** Minimum width in pixels when collapsed. Use `-1` for automatic. */
1006
1006
  readonly collapsedWidth: _angular_core.InputSignal<number>;
1007
1007
  /** Display mode used when the selector is in collapsed state. */
1008
- readonly collapsedDisplayMode: _angular_core.InputSignal<"button" | "dropdown">;
1008
+ readonly collapsedDisplayMode: _angular_core.InputSignal<"dropdown" | "button">;
1009
1009
  /** Pixel threshold below which the selector collapses. Use `-1` to disable. */
1010
1010
  readonly collapseAt: _angular_core.InputSignal<number>;
1011
1011
  /** When `true`, `collapseAt` is compared against the container width rather than the window width. */
@@ -1018,7 +1018,7 @@ declare class ChipsSelectorComponent implements OnDestroy, ControlValueAccessor
1018
1018
  /** When `true`, at least one item must remain selected. */
1019
1019
  readonly mustSelect: _angular_core.InputSignal<boolean>;
1020
1020
  /** Layout mode: `'collapsed'` forces dropdown mode, `'dynamic'` collapses based on `collapseAt`. */
1021
- readonly mode: _angular_core.InputSignal<"dynamic" | "collapsed">;
1021
+ readonly mode: _angular_core.InputSignal<"collapsed" | "dynamic">;
1022
1022
  /** When `true`, chips are stacked vertically instead of wrapping horizontally. */
1023
1023
  readonly stacked: _angular_core.InputSignal<boolean>;
1024
1024
  /** Chips below this index receive extra padding to align with other UI elements. */
@@ -410,7 +410,7 @@ declare class BusyDialogComponent {
410
410
  /** Current progress value (0–100). Used when `progressMode` is `'determinate'`. */
411
411
  readonly progress: _angular_core.WritableSignal<number>;
412
412
  /** Progress mode passed to the Material progress components. */
413
- readonly progressMode: _angular_core.WritableSignal<"indeterminate" | "determinate">;
413
+ readonly progressMode: _angular_core.WritableSignal<"determinate" | "indeterminate">;
414
414
  /** Message displayed above the progress indicator. */
415
415
  readonly message: _angular_core.WritableSignal<string>;
416
416
  /**