@unipin/angular-applet 18.7.5 → 18.7.7
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/esm2022/graphql/generated.mjs +278 -3
- package/esm2022/lib/components/filter/filter.component.mjs +18 -15
- package/esm2022/lib/services/auth/auth.service.mjs +16 -1
- package/fesm2022/unipin-angular-applet.mjs +309 -16
- package/fesm2022/unipin-angular-applet.mjs.map +1 -1
- package/graphql/generated.d.ts +7191 -409
- package/lib/components/filter/filter.component.d.ts +1 -1
- package/lib/services/auth/auth.service.d.ts +3 -6
- package/package.json +1 -1
|
@@ -36,7 +36,7 @@ export declare class FilterComponent implements OnInit {
|
|
|
36
36
|
key: string;
|
|
37
37
|
value: string;
|
|
38
38
|
};
|
|
39
|
-
protected emitValue(extraAction?: (key: string, value:
|
|
39
|
+
protected emitValue(extraAction?: (key: string, value: any) => void): void;
|
|
40
40
|
protected createFormControl(key: string, val?: any, isIrresolute?: boolean): void;
|
|
41
41
|
protected saveState(): void;
|
|
42
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent, [{ attribute: "placeholder"; }, null, null]>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { Apollo, MutationResult } from 'apollo-angular';
|
|
3
3
|
import { FetchPolicy } from '@apollo/client/core';
|
|
4
|
-
import { AppLoginSubject, ChangePassRq, LoginResponse, MutationAuthMsRefreshAccessTokenArgs, Token } from '../../../graphql/generated';
|
|
4
|
+
import { AppLoginSubject, ChangePassRq, LoginResponse, LoginRq, MutationAuthMsRefreshAccessTokenArgs, Token } from '../../../graphql/generated';
|
|
5
5
|
import { User } from '../../interfaces';
|
|
6
6
|
import { ProfileService } from '../profile/profile.service';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
@@ -12,11 +12,7 @@ export declare class AuthService {
|
|
|
12
12
|
static refreshToken: string;
|
|
13
13
|
user?: User;
|
|
14
14
|
constructor(apollo: Apollo, profileService: ProfileService);
|
|
15
|
-
login(input: {
|
|
16
|
-
email: string;
|
|
17
|
-
password: string;
|
|
18
|
-
sourcePlatform: string;
|
|
19
|
-
}): Observable<MutationResult<{
|
|
15
|
+
login(input: LoginRq): Observable<MutationResult<{
|
|
20
16
|
authMsLogin: LoginResponse;
|
|
21
17
|
}>>;
|
|
22
18
|
refreshToken(variables: MutationAuthMsRefreshAccessTokenArgs): Observable<MutationResult<{
|
|
@@ -24,6 +20,7 @@ export declare class AuthService {
|
|
|
24
20
|
}>>;
|
|
25
21
|
getProfile(fetchPolicy?: FetchPolicy): Observable<AppLoginSubject | null>;
|
|
26
22
|
initForgotPassword(email: string): Observable<MutationResult<any>>;
|
|
23
|
+
initOtpCode(email: string): Observable<MutationResult<any>>;
|
|
27
24
|
createNewPassword({ newPassword, principalId, sourcePlatform, verifCode }: {
|
|
28
25
|
confirm: string;
|
|
29
26
|
newPassword: string;
|