@arsedizioni/ars-utils 20.2.26 → 20.2.27

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<"bag" | "selection" | "none">;
1042
+ readonly selectionSource: _angular_core.InputSignal<"selection" | "bag" | "none">;
1043
1043
  protected selection: () => ClipperDocumentInfo[];
1044
1044
  readonly parent: _angular_core.InputSignal<ClipperSearchResultManager>;
1045
1045
  readonly item: _angular_core.InputSignal<ClipperDocumentInfo>;
@@ -767,7 +767,7 @@ declare class EvolutionService implements OnDestroy {
767
767
  * Return current JWT token
768
768
  * @param refresh: true to get the refresh token. Default is false.
769
769
  */
770
- getToken(refresh?: boolean): string;
770
+ getToken(refresh?: boolean): string | undefined;
771
771
  /**
772
772
  * Store login info
773
773
  */
@@ -2145,7 +2145,6 @@ class ClipperService {
2145
2145
  const token = this.getAuthToken();
2146
2146
  if (!token)
2147
2147
  return undefined;
2148
- console.log(token);
2149
2148
  // Parse json object from base64 encoded jwt token
2150
2149
  const jwtToken = JSON.parse(atob(token.split('.')[1]));
2151
2150
  // Set a timeout to refresh the token a minute before it expires