@arsedizioni/ars-utils 20.3.23 → 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.
- package/clipper.ui/index.d.ts +1 -1
- package/core/index.d.ts +0 -1
- package/evolution.common/index.d.ts +3 -4
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +1 -2
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +8 -7
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs +9 -6
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs.map +1 -1
- package/package.json +5 -5
- package/support.common/index.d.ts +6 -3
package/clipper.ui/index.d.ts
CHANGED
|
@@ -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<"
|
|
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>;
|
package/core/index.d.ts
CHANGED
|
@@ -734,7 +734,7 @@ declare class EvolutionService implements OnDestroy {
|
|
|
734
734
|
private _flags;
|
|
735
735
|
get flags(): EvolutionServiceFlags;
|
|
736
736
|
private _loginInfo?;
|
|
737
|
-
get loginInfo():
|
|
737
|
+
get loginInfo(): EvolutionLoginInfo | undefined;
|
|
738
738
|
readonly loggedIn: i0.WritableSignal<boolean>;
|
|
739
739
|
readonly loggingIn: i0.WritableSignal<boolean>;
|
|
740
740
|
private keepAlive;
|
|
@@ -762,13 +762,12 @@ declare class EvolutionService implements OnDestroy {
|
|
|
762
762
|
*/
|
|
763
763
|
ping(): void;
|
|
764
764
|
/**
|
|
765
|
-
* Set
|
|
765
|
+
* Set auth token
|
|
766
766
|
* @param value : the login result
|
|
767
767
|
*/
|
|
768
768
|
private setToken;
|
|
769
769
|
/**
|
|
770
|
-
* Return current
|
|
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
|
/**
|
|
@@ -2278,7 +2278,6 @@ class ClipperService {
|
|
|
2278
2278
|
if (remember) {
|
|
2279
2279
|
flags |= ClipperLoginFlags.RememberCredentials;
|
|
2280
2280
|
}
|
|
2281
|
-
console.log('remember: ' + remember + ' flags: ' + flags);
|
|
2282
2281
|
return this.httpClient
|
|
2283
2282
|
.post(this._serviceUri + '/login2', {
|
|
2284
2283
|
clientId: localStorage.getItem("clipper_client_id"),
|
|
@@ -2322,7 +2321,7 @@ class ClipperService {
|
|
|
2322
2321
|
completeLogin(result) {
|
|
2323
2322
|
// Update context info
|
|
2324
2323
|
this.updateContext(result);
|
|
2325
|
-
this.loggedIn.set(
|
|
2324
|
+
this.loggedIn.set(!result.context?.isTemporary);
|
|
2326
2325
|
this.loggingIn.set(false);
|
|
2327
2326
|
// Keep alive
|
|
2328
2327
|
this.setKeepAlive();
|