@unipin/angular-applet 17.2.2 → 17.2.4
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/lib/components/approval/list/approval-list.component.mjs +1 -1
- package/esm2022/lib/components/audit/detail/audit-detail.component.mjs +14 -14
- package/esm2022/lib/components/containers/column-container/column-container.component.mjs +2 -2
- package/esm2022/lib/components/containers/column-container/directives/lazy-route.directive.mjs +23 -0
- package/esm2022/lib/components/containers/modal-container/modal-container.component.mjs +1 -1
- package/esm2022/lib/components/filter/filter.component.mjs +1 -1
- package/esm2022/lib/components/filter/interfaces/filter-config.interface.mjs +1 -1
- package/esm2022/lib/components/filter/interfaces/filter-field.interface.mjs +1 -1
- package/esm2022/lib/components/filter/interfaces/filter-search-event.interface.mjs +1 -1
- package/esm2022/lib/components/forms/date/form-date.component.mjs +1 -1
- package/esm2022/lib/components/forms/input/form-input.component.mjs +1 -1
- package/esm2022/lib/components/forms/password/form-password.component.mjs +1 -1
- package/esm2022/lib/components/forms/searchable-select/form-searchable-select.component.mjs +1 -1
- package/esm2022/lib/components/forms/select/form-select.component.mjs +1 -1
- package/esm2022/lib/components/forms/textarea/form-textarea.component.mjs +1 -1
- package/esm2022/lib/components/grids/grid-pagination/grid-pagination.component.mjs +1 -1
- package/esm2022/lib/components/grids/grid-snapshot/grid-snapshot.component.mjs +1 -1
- package/esm2022/lib/components/grids/interfaces/grid-config.interface.mjs +1 -1
- package/esm2022/lib/modules/permission/directive/permission.directive.mjs +1 -1
- package/esm2022/lib/modules/permission/guards/permission.guard.mjs +1 -1
- package/esm2022/lib/resolvers/auth/auth.resolver.mjs +1 -1
- package/esm2022/lib/services/auth/auth.service.mjs +4 -4
- package/esm2022/lib/services/country/country.service.mjs +1 -1
- package/esm2022/lib/services/currency/currency.service.mjs +1 -1
- package/esm2022/lib/services/profile/profile.service.mjs +3 -2
- package/fesm2022/unipin-angular-applet.mjs +17 -16
- package/fesm2022/unipin-angular-applet.mjs.map +1 -1
- package/lib/components/audit/detail/audit-detail.component.d.ts +2 -2
- package/lib/services/auth/auth.service.d.ts +4 -3
- package/lib/services/profile/profile.service.d.ts +2 -1
- package/package.json +1 -1
- package/esm2022/lib/components/containers/column-container/directives/lazyr-route.directive.mjs +0 -23
- /package/lib/components/containers/column-container/directives/{lazyr-route.directive.d.ts → lazy-route.directive.d.ts} +0 -0
|
@@ -24,10 +24,10 @@ export declare class AuditDetailComponent implements OnDestroy {
|
|
|
24
24
|
constructor(fb: FormBuilder, service: AuditService, route: ActivatedRoute, navCtrl: NavController);
|
|
25
25
|
ngOnDestroy(): void;
|
|
26
26
|
setGridApi({ api }: GridReadyEvent): void;
|
|
27
|
+
isIsoDateString(str: string): boolean;
|
|
28
|
+
formatData(value: any): any;
|
|
27
29
|
getData(): void;
|
|
28
30
|
protected getChangedData({ oldData, newData }: any): void;
|
|
29
|
-
protected formatData(value: any): any;
|
|
30
|
-
protected isIsoDateString(str: string): boolean;
|
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuditDetailComponent, never>;
|
|
32
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<AuditDetailComponent, "up-audit-detail", never, {}, {}, never, never, true, never>;
|
|
33
33
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
1
2
|
import { Apollo, MutationResult } from 'apollo-angular';
|
|
3
|
+
import { FetchPolicy } from '@apollo/client/core';
|
|
2
4
|
import { AppLoginSubject, ChangePassRq, LoginResponse, MutationAuthMsRefreshAccessTokenArgs, Token } from '../../../graphql/generated';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { ProfileService } from '../profile/profile.service';
|
|
5
5
|
import { User } from '../../interfaces';
|
|
6
|
+
import { ProfileService } from '../profile/profile.service';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class AuthService {
|
|
8
9
|
protected readonly apollo: Apollo;
|
|
@@ -21,7 +22,7 @@ export declare class AuthService {
|
|
|
21
22
|
refreshToken(variables: MutationAuthMsRefreshAccessTokenArgs): Observable<MutationResult<{
|
|
22
23
|
authMsRefreshAccessToken: Token;
|
|
23
24
|
}>>;
|
|
24
|
-
getProfile(): Observable<AppLoginSubject | null>;
|
|
25
|
+
getProfile(fetchPolicy?: FetchPolicy): Observable<AppLoginSubject | null>;
|
|
25
26
|
initForgotPassword(email: string): Observable<MutationResult<any>>;
|
|
26
27
|
createNewPassword({ newPassword, principalId, sourcePlatform, verifCode }: {
|
|
27
28
|
confirm: string;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
+
import { FetchPolicy } from '@apollo/client/core';
|
|
2
3
|
import { Apollo } from 'apollo-angular';
|
|
3
4
|
import { AppLoginSubject } from '../../../graphql/generated';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class ProfileService {
|
|
6
7
|
protected readonly apollo: Apollo;
|
|
7
8
|
constructor(apollo: Apollo);
|
|
8
|
-
getMyProfile(): Observable<AppLoginSubject | null>;
|
|
9
|
+
getMyProfile(fetchPolicy?: FetchPolicy): Observable<AppLoginSubject | null>;
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileService, never>;
|
|
10
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<ProfileService>;
|
|
11
12
|
}
|
package/package.json
CHANGED
package/esm2022/lib/components/containers/column-container/directives/lazyr-route.directive.mjs
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Directive, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class LazyRouteDirective {
|
|
4
|
-
constructor(vcr) {
|
|
5
|
-
this.vcr = vcr;
|
|
6
|
-
}
|
|
7
|
-
ngOnInit() {
|
|
8
|
-
this.loadRoute.loadComponent().then((m) => this.vcr.createComponent(m));
|
|
9
|
-
}
|
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: LazyRouteDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
11
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.1", type: LazyRouteDirective, isStandalone: true, selector: "[loadRoute]", inputs: { loadRoute: "loadRoute" }, ngImport: i0 }); }
|
|
12
|
-
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: LazyRouteDirective, decorators: [{
|
|
14
|
-
type: Directive,
|
|
15
|
-
args: [{
|
|
16
|
-
standalone: true,
|
|
17
|
-
selector: '[loadRoute]'
|
|
18
|
-
}]
|
|
19
|
-
}], ctorParameters: () => [{ type: i0.ViewContainerRef }], propDecorators: { loadRoute: [{
|
|
20
|
-
type: Input,
|
|
21
|
-
args: [{ required: true }]
|
|
22
|
-
}] } });
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF6eXItcm91dGUuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdW5pcGluLWFuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL2NvbnRhaW5lcnMvY29sdW1uLWNvbnRhaW5lci9kaXJlY3RpdmVzL2xhenlyLXJvdXRlLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBNEIsTUFBTSxlQUFlLENBQUM7O0FBTTNFLE1BQU0sT0FBTyxrQkFBa0I7SUFJN0IsWUFDcUIsR0FBcUI7UUFBckIsUUFBRyxHQUFILEdBQUcsQ0FBa0I7SUFDeEMsQ0FBQztJQUVJLFFBQVE7UUFDYixJQUFJLENBQUMsU0F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