@arsedizioni/ars-utils 22.0.36 → 22.0.37

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.36",
3
+ "version": "22.0.37",
4
4
  "author": {
5
5
  "email": "software@arsedizioni.it",
6
6
  "name": "Fabio Buscaroli, Alberto Doria"
@@ -1683,6 +1683,11 @@ declare class ClipperLoginService {
1683
1683
  * @returns An observable that completes once the logout request has been processed.
1684
1684
  */
1685
1685
  logout(forget?: boolean): rxjs.Observable<any>;
1686
+ /**
1687
+ * Clears all session-storage authentication keys and resets the login state.
1688
+ * @param clearOAuthToken - When `true`, the OAuth bearer token is also removed.
1689
+ */
1690
+ clear(clearOAuthToken?: boolean): void;
1686
1691
  /**
1687
1692
  * Requests a new one-time password for the given repository.
1688
1693
  * @param id - The repository ID for which the OTP should be generated.
@@ -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<"bag" | "selection" | "none">;
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.