@arsedizioni/ars-utils 20.3.24 → 20.3.25

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.
@@ -1039,7 +1039,7 @@ declare class ClipperDocumentMenuComponent implements OnInit, OnDestroy {
1039
1039
  private changeDetector;
1040
1040
  private clipperService;
1041
1041
  readonly useSelections: _angular_core.InputSignal<boolean>;
1042
- readonly selectionSource: _angular_core.InputSignal<"selection" | "none" | "bag">;
1042
+ readonly selectionSource: _angular_core.InputSignal<"none" | "selection" | "bag">;
1043
1043
  protected selection: () => ClipperDocumentInfo[];
1044
1044
  readonly parent: _angular_core.InputSignal<ClipperSearchResultManager>;
1045
1045
  readonly item: _angular_core.InputSignal<ClipperDocumentInfo>;
@@ -762,13 +762,12 @@ declare class EvolutionService implements OnDestroy {
762
762
  */
763
763
  ping(): void;
764
764
  /**
765
- * Set JWT token
765
+ * Set auth token
766
766
  * @param value : the login result
767
767
  */
768
768
  private setToken;
769
769
  /**
770
- * Return current JWT token
771
- * @param refresh: true to get the refresh token. Default is false.
770
+ * Return current auth token
772
771
  */
773
772
  getAuthToken(): string | undefined;
774
773
  /**
@@ -2321,7 +2321,7 @@ class ClipperService {
2321
2321
  completeLogin(result) {
2322
2322
  // Update context info
2323
2323
  this.updateContext(result);
2324
- this.loggedIn.set(true);
2324
+ this.loggedIn.set(!result.context?.isTemporary);
2325
2325
  this.loggingIn.set(false);
2326
2326
  // Keep alive
2327
2327
  this.setKeepAlive();