@arsedizioni/ars-utils 20.3.40 → 20.3.41
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.common/index.d.ts +0 -2
- package/clipper.ui/index.d.ts +1 -1
- package/evolution.common/index.d.ts +0 -2
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +2 -4
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +0 -2
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs +1 -2
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs.map +1 -1
- package/package.json +5 -5
- package/support.common/index.d.ts +0 -1
|
@@ -1075,8 +1075,6 @@ declare class ClipperService implements OnDestroy {
|
|
|
1075
1075
|
* @param remember: remember credentials
|
|
1076
1076
|
* @param oauth: the optional open authentication supported
|
|
1077
1077
|
* @param oauthAccessToken: the optional OAuth2 access token
|
|
1078
|
-
* @param flags: the optional login flags
|
|
1079
|
-
* @returns: the login result
|
|
1080
1078
|
*/
|
|
1081
1079
|
login(email?: string, password?: string, remember?: boolean, oauth?: LoginOAuthType, oauthAccessToken?: string | undefined): rxjs.Observable<ApiResult<ClipperLoginResult>>;
|
|
1082
1080
|
/**
|
package/clipper.ui/index.d.ts
CHANGED
|
@@ -1033,7 +1033,7 @@ declare class ClipperDocumentMenuComponent implements OnInit, OnDestroy {
|
|
|
1033
1033
|
private changeDetector;
|
|
1034
1034
|
private clipperService;
|
|
1035
1035
|
readonly useSelections: _angular_core.InputSignal<boolean>;
|
|
1036
|
-
readonly selectionSource: _angular_core.InputSignal<"
|
|
1036
|
+
readonly selectionSource: _angular_core.InputSignal<"bag" | "selection" | "none">;
|
|
1037
1037
|
protected selection: () => ClipperDocumentInfo[];
|
|
1038
1038
|
readonly parent: _angular_core.InputSignal<ClipperSearchResultManager>;
|
|
1039
1039
|
readonly item: _angular_core.InputSignal<ClipperDocumentInfo>;
|
|
@@ -789,8 +789,6 @@ declare class EvolutionService implements OnDestroy {
|
|
|
789
789
|
* @param remember: remember credentials
|
|
790
790
|
* @param oauth: the optional open authentication supported
|
|
791
791
|
* @param oauthAccessToken: the optional OAuth2 access token
|
|
792
|
-
* @param flags: the optional login flags
|
|
793
|
-
* @returns: the login result
|
|
794
792
|
*/
|
|
795
793
|
login(email?: string, password?: string, remember?: boolean, oauth?: LoginOAuthType, oauthAccessToken?: string | undefined): rxjs.Observable<ApiResult<EvolutionLoginResult>>;
|
|
796
794
|
/**
|
|
@@ -2264,8 +2264,6 @@ class ClipperService {
|
|
|
2264
2264
|
* @param remember: remember credentials
|
|
2265
2265
|
* @param oauth: the optional open authentication supported
|
|
2266
2266
|
* @param oauthAccessToken: the optional OAuth2 access token
|
|
2267
|
-
* @param flags: the optional login flags
|
|
2268
|
-
* @returns: the login result
|
|
2269
2267
|
*/
|
|
2270
2268
|
login(email, password, remember, oauth, oauthAccessToken = sessionStorage.getItem("clipper_oauth_token") ?? undefined) {
|
|
2271
2269
|
return this.httpClient
|
|
@@ -2292,7 +2290,7 @@ class ClipperService {
|
|
|
2292
2290
|
this._loginInfo.remember = remember;
|
|
2293
2291
|
if (!oauth && r.value.requiresMfa) {
|
|
2294
2292
|
// Notify login is pending
|
|
2295
|
-
this.broadcastService.sendMessage(ClipperMessages.LOGIN_PENDING
|
|
2293
|
+
this.broadcastService.sendMessage(ClipperMessages.LOGIN_PENDING);
|
|
2296
2294
|
}
|
|
2297
2295
|
else {
|
|
2298
2296
|
// Complete login
|
|
@@ -2329,7 +2327,6 @@ class ClipperService {
|
|
|
2329
2327
|
return throwError(() => err);
|
|
2330
2328
|
}), map((r) => {
|
|
2331
2329
|
if (r.success) {
|
|
2332
|
-
// Complete login
|
|
2333
2330
|
this.completeLogin(r.value);
|
|
2334
2331
|
}
|
|
2335
2332
|
return r;
|
|
@@ -2357,6 +2354,7 @@ class ClipperService {
|
|
|
2357
2354
|
this._loginInfo = undefined;
|
|
2358
2355
|
// Logged out
|
|
2359
2356
|
this.loggedIn.set(false);
|
|
2357
|
+
this.loggingIn.set(false);
|
|
2360
2358
|
// Reset channels
|
|
2361
2359
|
this.availableChannels.set([]);
|
|
2362
2360
|
// Notify
|