ng-pli-commons 1.0.11 → 1.0.13
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/backoffice.commons.component.mjs +1 -1
- package/esm2022/lib/components/common.lists.component.mjs +1 -19
- package/esm2022/lib/components/configuration-token/configuration-token.component.mjs +2 -2
- package/esm2022/lib/components/configuration.commons.component.mjs +1 -1
- package/esm2022/lib/components/frontoffice.commons.component.mjs +4 -2
- package/esm2022/lib/services/common.service.mjs +4 -10
- package/esm2022/lib/services/send-application.service.mjs +1 -9
- package/esm2022/lib/services/token.service.mjs +72 -1
- package/esm2022/version.mjs +8 -8
- package/fesm2022/ng-pli-commons.mjs +1611 -1567
- package/fesm2022/ng-pli-commons.mjs.map +1 -1
- package/lib/components/backoffice.commons.component.d.ts +1 -1
- package/lib/components/common.lists.component.d.ts +0 -1
- package/lib/components/configuration.commons.component.d.ts +1 -1
- package/lib/services/common.service.d.ts +1 -7
- package/lib/services/send-application.service.d.ts +1 -2
- package/lib/services/token.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit,
|
|
1
|
+
import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { CommonService } from '../services/common.service';
|
|
3
3
|
import { CommonListsComponent } from './common.lists.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -50,7 +50,6 @@ export declare abstract class CommonListsComponent implements OnInit {
|
|
|
50
50
|
/** It validates if form is valid */
|
|
51
51
|
isFormValid(formGroup: UntypedFormGroup): boolean;
|
|
52
52
|
copyMessage(val: string): void;
|
|
53
|
-
/** returns the permission according to x */
|
|
54
53
|
p(x: any): string;
|
|
55
54
|
cloneObject(obj: any): any;
|
|
56
55
|
getActualDate(reload?: boolean): Promise<string>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit,
|
|
1
|
+
import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { CommonService } from '../services/common.service';
|
|
3
3
|
import { CommonListsComponent } from './common.lists.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -2,17 +2,11 @@ import { HttpClient } from '@angular/common/http';
|
|
|
2
2
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
3
|
import { Moneda, Rubro, TasaCambio, Idioma, Proceso, RequestPdf } from 'ng-pli-util';
|
|
4
4
|
import { TasaCambioService } from './tasa.cambio.service';
|
|
5
|
-
import { StatusService } from './status.service';
|
|
6
|
-
import { ConfigurationService } from './configuration.service';
|
|
7
|
-
import { PppService } from './ppp.service';
|
|
8
5
|
import * as i0 from "@angular/core";
|
|
9
6
|
export declare class CommonService {
|
|
10
7
|
private environment;
|
|
11
8
|
private httpClient;
|
|
12
9
|
private tasaCambioService;
|
|
13
|
-
private pppService;
|
|
14
|
-
private statusService;
|
|
15
|
-
private configurationService;
|
|
16
10
|
private headerJson;
|
|
17
11
|
/** Notify when the currencies info change */
|
|
18
12
|
currencyChanged: BehaviorSubject<Moneda[]>;
|
|
@@ -34,7 +28,7 @@ export declare class CommonService {
|
|
|
34
28
|
processChanged: BehaviorSubject<Proceso[]>;
|
|
35
29
|
/** List of process */
|
|
36
30
|
private lProcess;
|
|
37
|
-
constructor(environment: any, httpClient: HttpClient, tasaCambioService: TasaCambioService
|
|
31
|
+
constructor(environment: any, httpClient: HttpClient, tasaCambioService: TasaCambioService);
|
|
38
32
|
/** It has an observable to notify if the language is changed */
|
|
39
33
|
onLanguageChanged(): Observable<Idioma[]>;
|
|
40
34
|
/** It has an observable to notify if the cateogry is changed */
|
|
@@ -2,7 +2,7 @@ import { Observable } from 'rxjs';
|
|
|
2
2
|
import { TokenService } from './token.service';
|
|
3
3
|
import { EmailService } from './email.service';
|
|
4
4
|
import { InteractionApplicationUserService } from './interaction-application-user.service';
|
|
5
|
-
import { Application, BudgetData, ConfigurationDocument, SendApplication, Document,
|
|
5
|
+
import { Application, BudgetData, ConfigurationDocument, SendApplication, Document, PliCnfStatusFlowInteraction, PliCnfStatus } from 'ng-pli-util';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class SendApplicationService {
|
|
8
8
|
private environment;
|
|
@@ -30,7 +30,6 @@ export declare class SendApplicationService {
|
|
|
30
30
|
sendEmail(application: Application): Observable<any>;
|
|
31
31
|
/** It saves the interaction */
|
|
32
32
|
saveInteraction(applicationId: string, promCodigo: number, pliCnfStatusFlowInteraction: PliCnfStatusFlowInteraction, observation?: string): Observable<any>;
|
|
33
|
-
saveInteractionInformation(interactionAppUser: InteractionApplicationUser, resolve: any, reject: any): void;
|
|
34
33
|
/**
|
|
35
34
|
* It validates the data
|
|
36
35
|
* @param listApplication
|
|
@@ -167,6 +167,7 @@ export declare class TokenService {
|
|
|
167
167
|
constructor(environment: any, httpClient: HttpClient, formService: FormService, currencyPipe: CurrencyPipe);
|
|
168
168
|
/** This promise allows to execute a function when consulting the form fields. */
|
|
169
169
|
getFormFieldsByPromCode(promCodigo: any): Promise<any[]>;
|
|
170
|
+
getFormFieldsByPromCodeWithEditGrids(promCodigo: any): Promise<any[]>;
|
|
170
171
|
getFormFieldsByFormId(formId: string): Promise<any[]>;
|
|
171
172
|
/** This promise allows to execute a function when consulting the form fields. */
|
|
172
173
|
getFormPanelsByPromCode(promCodigo: any): Promise<any[]>;
|