ng-pli-commons 1.0.65 → 1.0.66-dev.0
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/fesm2022/ng-pli-commons.mjs +1138 -743
- package/fesm2022/ng-pli-commons.mjs.map +1 -1
- package/lib/components/pdf-visualizer/pdf-visualizer.component.d.ts +2 -0
- package/lib/components/token/token.component.d.ts +7 -2
- package/lib/ng-pli-commons.module.d.ts +12 -13
- package/lib/services/budget-setup.service.d.ts +12 -0
- package/lib/services/budget-simulation.service.d.ts +2 -0
- package/lib/services/codebtors.service.d.ts +14 -0
- package/lib/services/correspondence-manager.service.d.ts +1 -0
- package/lib/services/document.service.d.ts +3 -1
- package/lib/services/guarantees-summary-service.d.ts +13 -0
- package/lib/services/import-excel-gic.service.d.ts +1 -0
- package/lib/services/maintenance.service.d.ts +4 -0
- package/lib/services/pli-cnf-committee.service.d.ts +1 -0
- package/lib/services/pli-cnf-installment-simulator-config.service.d.ts +17 -0
- package/lib/services/pli-cnf-interest-rate-master.service.d.ts +17 -0
- package/lib/services/pli-cnf-use-anual-interest-rate.service.d.ts +16 -0
- package/lib/services/send-application.service.d.ts +1 -0
- package/lib/services/token.service.d.ts +3 -0
- package/lib/services/variable-interest-rate.service.d.ts +18 -0
- package/package.json +3 -6
- package/public-api.d.ts +7 -0
- package/version.d.ts +1 -1
- package/esm2022/lib/components/backoffice.commons.component.mjs +0 -40
- package/esm2022/lib/components/common.lists.component.mjs +0 -176
- package/esm2022/lib/components/configuration-token/configuration-token-subject.service.mjs +0 -23
- package/esm2022/lib/components/configuration-token/configuration-token.component.mjs +0 -665
- package/esm2022/lib/components/configuration-token/guarantee-token/guarantee-token.component.mjs +0 -103
- package/esm2022/lib/components/configuration-token/snapshot-token/snapshot-token.component.mjs +0 -108
- package/esm2022/lib/components/configuration.commons.component.mjs +0 -40
- package/esm2022/lib/components/dashboard.commons.component.mjs +0 -84
- package/esm2022/lib/components/dynamic-filter/dynamic-filter.component.mjs +0 -131
- package/esm2022/lib/components/excel-to-json/excel-to-json.component.mjs +0 -54
- package/esm2022/lib/components/frontoffice.commons.component.mjs +0 -88
- package/esm2022/lib/components/pdf-analyzer/pdf-analyzer.component.mjs +0 -162
- package/esm2022/lib/components/pdf-config/pdf-config.component.mjs +0 -170
- package/esm2022/lib/components/pdf-generator/pdf-generator.component.mjs +0 -207
- package/esm2022/lib/components/pdf-merge-visualizer/pdf-merge-visualizer.component.mjs +0 -307
- package/esm2022/lib/components/pdf-visualizer/pdf-visualizer.component.mjs +0 -387
- package/esm2022/lib/components/progress-bar/progress-bar.component.mjs +0 -92
- package/esm2022/lib/components/segmentation-tokens/segmentation-tokens.component.mjs +0 -199
- package/esm2022/lib/components/select-ppp/select-ppp.component.mjs +0 -200
- package/esm2022/lib/components/show-hide-columns/show-hide-columns-table.component.mjs +0 -116
- package/esm2022/lib/components/token/token.component.mjs +0 -1026
- package/esm2022/lib/components/tokens-calculator/tokens-calculator.component.mjs +0 -128
- package/esm2022/lib/directives/currency-colfuturo-formatter.directive.mjs +0 -47
- package/esm2022/lib/directives/currency-decimal-colfuturo-formatter.directive.mjs +0 -34
- package/esm2022/lib/ng-pli-commons.module.mjs +0 -393
- package/esm2022/lib/ng-pli-commons.service.mjs +0 -14
- package/esm2022/lib/pipes/currency-colfuturo.pipe.mjs +0 -35
- package/esm2022/lib/pipes/currency-decimal-colfuturo.pipe.mjs +0 -36
- package/esm2022/lib/pipes/currency-print-colfuturo.pipe.mjs +0 -33
- package/esm2022/lib/pipes/thousands.pipe.mjs +0 -60
- package/esm2022/lib/services/application-fill-percentage.service.mjs +0 -30
- package/esm2022/lib/services/application-pdf-form.service.mjs +0 -27
- package/esm2022/lib/services/application-tag.service.mjs +0 -56
- package/esm2022/lib/services/application.service.mjs +0 -253
- package/esm2022/lib/services/assign-task.service.mjs +0 -30
- package/esm2022/lib/services/authentication.service.mjs +0 -133
- package/esm2022/lib/services/blocked-beneficiary.service.mjs +0 -42
- package/esm2022/lib/services/budget-application.service.mjs +0 -265
- package/esm2022/lib/services/budget-simulation.service.mjs +0 -61
- package/esm2022/lib/services/budget.service.mjs +0 -205
- package/esm2022/lib/services/closure-wallet.service.mjs +0 -39
- package/esm2022/lib/services/cnf-correspondence-document-manager.service.mjs +0 -39
- package/esm2022/lib/services/committee-assistant.service.mjs +0 -55
- package/esm2022/lib/services/committee-money.service.mjs +0 -44
- package/esm2022/lib/services/committee-pdf.service.mjs +0 -27
- package/esm2022/lib/services/committee-snapshot.service.mjs +0 -60
- package/esm2022/lib/services/common-info.service.mjs +0 -51
- package/esm2022/lib/services/common.service.mjs +0 -285
- package/esm2022/lib/services/configuration-document.service.mjs +0 -297
- package/esm2022/lib/services/configuration-minisite.service.mjs +0 -26
- package/esm2022/lib/services/configuration.service.mjs +0 -53
- package/esm2022/lib/services/correspondence-document-category.service.mjs +0 -31
- package/esm2022/lib/services/correspondence-manager.service.mjs +0 -67
- package/esm2022/lib/services/credit-score.service.mjs +0 -48
- package/esm2022/lib/services/credit-study.service.mjs +0 -292
- package/esm2022/lib/services/cube.service.mjs +0 -27
- package/esm2022/lib/services/data-form-history.service.mjs +0 -25
- package/esm2022/lib/services/data-form.service.mjs +0 -176
- package/esm2022/lib/services/data-letter-segmentation.service.mjs +0 -64
- package/esm2022/lib/services/document-analysis-auto.service.mjs +0 -27
- package/esm2022/lib/services/document-history.service.mjs +0 -43
- package/esm2022/lib/services/document-management.service.mjs +0 -57
- package/esm2022/lib/services/document-process.service.mjs +0 -27
- package/esm2022/lib/services/document-validation-attempt.service.mjs +0 -32
- package/esm2022/lib/services/document.service.mjs +0 -138
- package/esm2022/lib/services/documentary.type.service.mjs +0 -69
- package/esm2022/lib/services/email.service.mjs +0 -30
- package/esm2022/lib/services/evaluation.service.mjs +0 -181
- package/esm2022/lib/services/export-excel.service.mjs +0 -32
- package/esm2022/lib/services/file.service.mjs +0 -153
- package/esm2022/lib/services/form.service.mjs +0 -112
- package/esm2022/lib/services/gic-client-disbursement-metadata.service.mjs +0 -31
- package/esm2022/lib/services/gic-client.service.mjs +0 -49
- package/esm2022/lib/services/gic-cnf-bankvision-transaction.service.mjs +0 -31
- package/esm2022/lib/services/gic-cnf-closing-date.service.mjs +0 -34
- package/esm2022/lib/services/gic-cnf-maintenance.service.mjs +0 -30
- package/esm2022/lib/services/gic-collection.service.mjs +0 -53
- package/esm2022/lib/services/gic-disbursement.service.mjs +0 -39
- package/esm2022/lib/services/gic-extract.service.mjs +0 -41
- package/esm2022/lib/services/gic-log.service.mjs +0 -41
- package/esm2022/lib/services/gic-payment-application.service.mjs +0 -35
- package/esm2022/lib/services/gic-payment-plan-cube.service.mjs +0 -27
- package/esm2022/lib/services/gic-payment-plan.service.mjs +0 -32
- package/esm2022/lib/services/gic-trm.service.mjs +0 -27
- package/esm2022/lib/services/global.show.task.service.mjs +0 -37
- package/esm2022/lib/services/guarantee-document.service.mjs +0 -52
- package/esm2022/lib/services/guarantee-enrollment.service.mjs +0 -37
- package/esm2022/lib/services/guarantee.service.mjs +0 -128
- package/esm2022/lib/services/hash.service.mjs +0 -36
- package/esm2022/lib/services/import-data.service.mjs +0 -27
- package/esm2022/lib/services/import-excel-gic.service.mjs +0 -49
- package/esm2022/lib/services/initial-configuration-gic-parameters.service.mjs +0 -51
- package/esm2022/lib/services/initial-record.service.mjs +0 -51
- package/esm2022/lib/services/integration-ado.service.mjs +0 -54
- package/esm2022/lib/services/interaction-application-user.service.mjs +0 -81
- package/esm2022/lib/services/interest-adjustment.service.mjs +0 -34
- package/esm2022/lib/services/keys-assignation.service.mjs +0 -127
- package/esm2022/lib/services/legalization.service.mjs +0 -150
- package/esm2022/lib/services/letter-campaing.service.mjs +0 -49
- package/esm2022/lib/services/letter-task-mapping.service.mjs +0 -40
- package/esm2022/lib/services/log.service.mjs +0 -41
- package/esm2022/lib/services/maintenance.service.mjs +0 -66
- package/esm2022/lib/services/master-category.service.mjs +0 -66
- package/esm2022/lib/services/master-program.service.mjs +0 -78
- package/esm2022/lib/services/master-university.service.mjs +0 -79
- package/esm2022/lib/services/migration-plis.service.mjs +0 -27
- package/esm2022/lib/services/migration-survey-queue.service.mjs +0 -24
- package/esm2022/lib/services/openkm-document.service.mjs +0 -27
- package/esm2022/lib/services/page.service.mjs +0 -38
- package/esm2022/lib/services/partner-system.service.mjs +0 -30
- package/esm2022/lib/services/partner.service.mjs +0 -34
- package/esm2022/lib/services/pdf-analyzer.service.mjs +0 -33
- package/esm2022/lib/services/people-master.service.mjs +0 -42
- package/esm2022/lib/services/permission.service.mjs +0 -29
- package/esm2022/lib/services/pli-cnf-acuity-fields.service.mjs +0 -34
- package/esm2022/lib/services/pli-cnf-app-card-filter.service.mjs +0 -40
- package/esm2022/lib/services/pli-cnf-appointment-type.service.mjs +0 -41
- package/esm2022/lib/services/pli-cnf-budget-program-type.service.mjs +0 -54
- package/esm2022/lib/services/pli-cnf-budget.service.mjs +0 -31
- package/esm2022/lib/services/pli-cnf-cloning.service.mjs +0 -27
- package/esm2022/lib/services/pli-cnf-committee-pdf-config-table-config.service.mjs +0 -47
- package/esm2022/lib/services/pli-cnf-committee-pdf-gen-status.service.mjs +0 -30
- package/esm2022/lib/services/pli-cnf-committee-valpro-columns.service.mjs +0 -42
- package/esm2022/lib/services/pli-cnf-committee-visualization-mode.service.mjs +0 -42
- package/esm2022/lib/services/pli-cnf-committee.service.mjs +0 -60
- package/esm2022/lib/services/pli-cnf-config-minisite.service.mjs +0 -90
- package/esm2022/lib/services/pli-cnf-configuration-credit-study.service.mjs +0 -41
- package/esm2022/lib/services/pli-cnf-document-management.service.mjs +0 -40
- package/esm2022/lib/services/pli-cnf-dynamic-keys-assign.service.mjs +0 -52
- package/esm2022/lib/services/pli-cnf-evaluation-task-mailing.service.mjs +0 -31
- package/esm2022/lib/services/pli-cnf-evaluation-task-template.service.mjs +0 -39
- package/esm2022/lib/services/pli-cnf-evaluation-task.service.mjs +0 -112
- package/esm2022/lib/services/pli-cnf-evaluation-template.service.mjs +0 -95
- package/esm2022/lib/services/pli-cnf-form-edit.service.mjs +0 -68
- package/esm2022/lib/services/pli-cnf-form-multiaplicacion.service.mjs +0 -46
- package/esm2022/lib/services/pli-cnf-guarantee-documents-template.service.mjs +0 -40
- package/esm2022/lib/services/pli-cnf-guarantee-token.service.mjs +0 -42
- package/esm2022/lib/services/pli-cnf-header.service.mjs +0 -39
- package/esm2022/lib/services/pli-cnf-indicator.service.mjs +0 -39
- package/esm2022/lib/services/pli-cnf-information-system.service.mjs +0 -24
- package/esm2022/lib/services/pli-cnf-interaction.service.mjs +0 -78
- package/esm2022/lib/services/pli-cnf-letter-template-type.service.mjs +0 -29
- package/esm2022/lib/services/pli-cnf-letter-template.service.mjs +0 -48
- package/esm2022/lib/services/pli-cnf-look-and-feel.service.mjs +0 -28
- package/esm2022/lib/services/pli-cnf-mail.service.mjs +0 -30
- package/esm2022/lib/services/pli-cnf-menu-form.service.mjs +0 -34
- package/esm2022/lib/services/pli-cnf-migration-plis-field-budget.service.mjs +0 -34
- package/esm2022/lib/services/pli-cnf-migration-plis-field.service.mjs +0 -47
- package/esm2022/lib/services/pli-cnf-migration-status-plis.service.mjs +0 -44
- package/esm2022/lib/services/pli-cnf-page-section-form.service.mjs +0 -66
- package/esm2022/lib/services/pli-cnf-page-sub-process.service.mjs +0 -25
- package/esm2022/lib/services/pli-cnf-pdfs.service.mjs +0 -31
- package/esm2022/lib/services/pli-cnf-profile-form.service.mjs +0 -40
- package/esm2022/lib/services/pli-cnf-profile-user.service.mjs +0 -49
- package/esm2022/lib/services/pli-cnf-project-summary.service.mjs +0 -39
- package/esm2022/lib/services/pli-cnf-scenario.service.mjs +0 -47
- package/esm2022/lib/services/pli-cnf-segmentation.service.mjs +0 -72
- package/esm2022/lib/services/pli-cnf-snapshot-token.service.mjs +0 -42
- package/esm2022/lib/services/pli-cnf-status-flow-interaction.service.mjs +0 -74
- package/esm2022/lib/services/pli-cnf-status-flow.service.mjs +0 -56
- package/esm2022/lib/services/pli-cnf-support-document-category.service.mjs +0 -47
- package/esm2022/lib/services/pli-cnf-support-document.service.mjs +0 -56
- package/esm2022/lib/services/pli-cnf-survey-document.service.mjs +0 -37
- package/esm2022/lib/services/pli-cnf-survey-pdf.service.mjs +0 -34
- package/esm2022/lib/services/pli-cnf-survey.service.mjs +0 -46
- package/esm2022/lib/services/pli-cnf-task-group.service.mjs +0 -33
- package/esm2022/lib/services/pli-cnf-text-category.service.mjs +0 -38
- package/esm2022/lib/services/pli-cnf-text-option.service.mjs +0 -39
- package/esm2022/lib/services/pli-cnf-text.service.mjs +0 -62
- package/esm2022/lib/services/pli-cnf-type-text.service.mjs +0 -45
- package/esm2022/lib/services/pli-cnf-university-article.service.mjs +0 -39
- package/esm2022/lib/services/pli-cnf-user-calendar.service.mjs +0 -36
- package/esm2022/lib/services/pli-cnf-user-workspace.service.mjs +0 -35
- package/esm2022/lib/services/pli-cnf-valpro-keys.service.mjs +0 -35
- package/esm2022/lib/services/pli-cnf-workspace-segmentation.service.mjs +0 -31
- package/esm2022/lib/services/pli-message-type.service.mjs +0 -40
- package/esm2022/lib/services/pli-multiple-value-filter.service.mjs +0 -39
- package/esm2022/lib/services/pli-promocion-username.service.mjs +0 -57
- package/esm2022/lib/services/pli-seg-action-user.service.mjs +0 -37
- package/esm2022/lib/services/pli-segmentation.service.mjs +0 -130
- package/esm2022/lib/services/pli-tag-assignment.service.mjs +0 -36
- package/esm2022/lib/services/pli-tag.service.mjs +0 -55
- package/esm2022/lib/services/pli-user.service.mjs +0 -51
- package/esm2022/lib/services/plis-beneficiario.service.mjs +0 -29
- package/esm2022/lib/services/plis-estatus-change.service.mjs +0 -30
- package/esm2022/lib/services/post-selection.service.mjs +0 -25
- package/esm2022/lib/services/ppp.service.mjs +0 -360
- package/esm2022/lib/services/profile.service.mjs +0 -60
- package/esm2022/lib/services/progress-bar.service.mjs +0 -40
- package/esm2022/lib/services/promotion-score.service.mjs +0 -44
- package/esm2022/lib/services/registry-identifier.service.mjs +0 -49
- package/esm2022/lib/services/return-refund.service.mjs +0 -53
- package/esm2022/lib/services/segmentation-tokens.service.mjs +0 -43
- package/esm2022/lib/services/segmentation-user-service.service.mjs +0 -94
- package/esm2022/lib/services/segmentation.service.mjs +0 -31
- package/esm2022/lib/services/send-application.service.mjs +0 -484
- package/esm2022/lib/services/sesion-form.service.mjs +0 -31
- package/esm2022/lib/services/sesion.service.mjs +0 -48
- package/esm2022/lib/services/spinner.service.mjs +0 -16
- package/esm2022/lib/services/sponsorship-letter.service.mjs +0 -68
- package/esm2022/lib/services/status.service.mjs +0 -104
- package/esm2022/lib/services/summary-budget.service.mjs +0 -24
- package/esm2022/lib/services/survey-metadata.service.mjs +0 -28
- package/esm2022/lib/services/survey-queue.service.mjs +0 -24
- package/esm2022/lib/services/survey.service.mjs +0 -52
- package/esm2022/lib/services/tag-management.service.mjs +0 -58
- package/esm2022/lib/services/tasa.cambio.service.mjs +0 -35
- package/esm2022/lib/services/token-transformation.service.mjs +0 -62
- package/esm2022/lib/services/token.service.mjs +0 -1431
- package/esm2022/lib/services/university.service.mjs +0 -50
- package/esm2022/lib/services/upload-documents.service.mjs +0 -60
- package/esm2022/lib/services/user.service.mjs +0 -28
- package/esm2022/lib/services/visualization-committee.service.mjs +0 -91
- package/esm2022/lib/utils/custom-validator.mjs +0 -95
- package/esm2022/lib/utils/form-util.mjs +0 -35
- package/esm2022/lib/utils/formio-util.mjs +0 -582
- package/esm2022/lib/utils/version-commons.mjs +0 -10
- package/esm2022/ng-pli-commons.mjs +0 -5
- package/esm2022/public-api.mjs +0 -223
- package/esm2022/version.mjs +0 -29
|
@@ -72,6 +72,7 @@ export declare class PdfVisualizerComponent implements OnInit, OnChanges {
|
|
|
72
72
|
id_canvas: string;
|
|
73
73
|
/** It allows to edit html */
|
|
74
74
|
edit: boolean;
|
|
75
|
+
isFullscreen: boolean;
|
|
75
76
|
constructor(commonService: CommonService, sanitization: DomSanitizer, taostrService: ToastrService, fileService: FileService);
|
|
76
77
|
ngOnChanges(changes: SimpleChanges): void;
|
|
77
78
|
/** It generates the pdf */
|
|
@@ -142,6 +143,7 @@ export declare class PdfVisualizerComponent implements OnInit, OnChanges {
|
|
|
142
143
|
*/
|
|
143
144
|
isEnableEmail(): boolean;
|
|
144
145
|
b64toBlob(b64Data: any, contentType?: string, sliceSize?: number): Blob;
|
|
146
|
+
toggleFullscreen(): void;
|
|
145
147
|
static ɵfac: i0.ɵɵFactoryDeclaration<PdfVisualizerComponent, never>;
|
|
146
148
|
static ɵcmp: i0.ɵɵComponentDeclaration<PdfVisualizerComponent, "pli-pdf-visualizer", never, { "html": { "alias": "html"; "required": false; }; "header": { "alias": "header"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; "marginTop": { "alias": "marginTop"; "required": false; }; "marginRight": { "alias": "marginRight"; "required": false; }; "marginBottom": { "alias": "marginBottom"; "required": false; }; "marginLeft": { "alias": "marginLeft"; "required": false; }; "font": { "alias": "font"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "size": { "alias": "size"; "required": false; }; "showPager": { "alias": "showPager"; "required": false; }; "repeatHeader": { "alias": "repeatHeader"; "required": false; }; "repeatFooter": { "alias": "repeatFooter"; "required": false; }; "headerHeight": { "alias": "headerHeight"; "required": false; }; "footerHeight": { "alias": "footerHeight"; "required": false; }; "enableEdit": { "alias": "enableEdit"; "required": false; }; "title": { "alias": "title"; "required": false; }; "height": { "alias": "height"; "required": false; }; "filename": { "alias": "filename"; "required": false; }; "enableEmail": { "alias": "enableEmail"; "required": false; }; "lang": { "alias": "lang"; "required": false; }; "urlFile": { "alias": "urlFile"; "required": false; }; }, { "onDownload": "onDownload"; "onSendEmail": "onSendEmail"; "onChange": "onChange"; }, never, never, false, never>;
|
|
147
149
|
}
|
|
@@ -6,15 +6,18 @@ import { ToastrService } from 'ngx-toastr';
|
|
|
6
6
|
import { AuthenticationService } from '../../services/authentication.service';
|
|
7
7
|
import 'jquery';
|
|
8
8
|
import { SesionService } from '../../services/sesion.service';
|
|
9
|
+
import { TokenTransformationService } from '../../services/token-transformation.service';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class TokenComponent implements OnInit, OnChanges {
|
|
11
12
|
private currencyPipe;
|
|
12
13
|
private tokenService;
|
|
13
14
|
private toastrService;
|
|
14
15
|
private authenticationService;
|
|
16
|
+
private tokenTransformationService;
|
|
15
17
|
private sesionService;
|
|
16
18
|
/** It contains the template html to translate */
|
|
17
19
|
template: string;
|
|
20
|
+
istemplate: boolean;
|
|
18
21
|
/** It contains the data to implement */
|
|
19
22
|
data: DataToTranslateToken;
|
|
20
23
|
/** It notifies the html is generated*/
|
|
@@ -23,6 +26,7 @@ export declare class TokenComponent implements OnInit, OnChanges {
|
|
|
23
26
|
enableDestination: boolean;
|
|
24
27
|
/** It contains the prom code */
|
|
25
28
|
promCodigo: number;
|
|
29
|
+
applicationId: string;
|
|
26
30
|
/** */
|
|
27
31
|
lTokenCalculated: Token[];
|
|
28
32
|
/** */
|
|
@@ -36,7 +40,8 @@ export declare class TokenComponent implements OnInit, OnChanges {
|
|
|
36
40
|
/** As the list of token are loaded dynamically, this manage that only replace the info once. */
|
|
37
41
|
alreadyCallReplaceTokens: boolean;
|
|
38
42
|
evaluation: Evaluation;
|
|
39
|
-
|
|
43
|
+
debtorInsurance: number;
|
|
44
|
+
constructor(currencyPipe: CurrencyPipe, tokenService: TokenService, toastrService: ToastrService, authenticationService: AuthenticationService, tokenTransformationService: TokenTransformationService, sesionService: SesionService);
|
|
40
45
|
ngOnInit(): void;
|
|
41
46
|
/** It manages the change of the every @Input */
|
|
42
47
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -98,5 +103,5 @@ export declare class TokenComponent implements OnInit, OnChanges {
|
|
|
98
103
|
*/
|
|
99
104
|
addInfoTokenResumeCategoryYear(tpresCodigo: number, idTotalBudget: string, budgetDto: BudgetDto): void;
|
|
100
105
|
static ɵfac: i0.ɵɵFactoryDeclaration<TokenComponent, never>;
|
|
101
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TokenComponent, "pli-token", never, { "template": { "alias": "template"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "onGenerate": "onGenerate"; }, never, never, false, never>;
|
|
106
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TokenComponent, "pli-token", never, { "template": { "alias": "template"; "required": false; }; "istemplate": { "alias": "istemplate"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "onGenerate": "onGenerate"; }, never, never, false, never>;
|
|
102
107
|
}
|
|
@@ -27,21 +27,20 @@ import * as i24 from "@angular/fire/compat";
|
|
|
27
27
|
import * as i25 from "@angular/fire/compat/storage";
|
|
28
28
|
import * as i26 from "@tinymce/tinymce-angular";
|
|
29
29
|
import * as i27 from "formioangular-colfuturo";
|
|
30
|
-
import * as i28 from "@angular/
|
|
31
|
-
import * as i29 from "
|
|
32
|
-
import * as i30 from "primeng/
|
|
33
|
-
import * as i31 from "primeng/
|
|
34
|
-
import * as i32 from "primeng/
|
|
35
|
-
import * as i33 from "
|
|
36
|
-
import * as i34 from "@angular/fire/
|
|
37
|
-
import * as i35 from "@angular/fire/
|
|
38
|
-
import * as i36 from "
|
|
39
|
-
import * as i37 from "primeng/
|
|
40
|
-
import * as i38 from "
|
|
41
|
-
import * as i39 from "ng-pli-util";
|
|
30
|
+
import * as i28 from "@angular/forms";
|
|
31
|
+
import * as i29 from "primeng/accordion";
|
|
32
|
+
import * as i30 from "primeng/table";
|
|
33
|
+
import * as i31 from "primeng/tieredmenu";
|
|
34
|
+
import * as i32 from "primeng/picklist";
|
|
35
|
+
import * as i33 from "@angular/fire/app";
|
|
36
|
+
import * as i34 from "@angular/fire/firestore";
|
|
37
|
+
import * as i35 from "@angular/fire/auth";
|
|
38
|
+
import * as i36 from "primeng/dropdown";
|
|
39
|
+
import * as i37 from "primeng/dialog";
|
|
40
|
+
import * as i38 from "ng-pli-util";
|
|
42
41
|
export declare class NgPliCommonsModule {
|
|
43
42
|
static forRoot(environment: any): ModuleWithProviders<NgPliCommonsModule>;
|
|
44
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgPliCommonsModule, never>;
|
|
45
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgPliCommonsModule, [typeof i1.SelectPppComponent, typeof i2.CurrencyColfuturoPipe, typeof i3.CurrencyPrintColfuturoPipe, typeof i4.CurrencyDecimalColfuturoPipe, typeof i5.CurrencyColfuturoFormatterDirective, typeof i6.CurrencyDecimalColfuturoFormatterDirective, typeof i7.PdfVisualizerComponent, typeof i8.PdfMergeVisualizerComponent, typeof i9.PdfGeneratorComponent, typeof i10.TokenComponent, typeof i11.SegmentationTokensComponent, typeof i12.TokensCalculatorComponent, typeof i13.ConfigurationTokenComponent, typeof i14.ExcelToJsonComponent, typeof i15.ThousandsPipe, typeof i16.DynamicFilterComponent, typeof i17.ShowHideColumnsTableComponent, typeof i18.PdfConfigComponent, typeof i19.SnapshotTokenComponent, typeof i20.GuaranteeTokenComponent, typeof i21.ProgressBarComponent, typeof i22.PdfAnalyzerComponent], [typeof i23.CommonModule, typeof i24.AngularFireModule, typeof i25.AngularFireStorageModule, typeof i26.EditorModule, typeof i27.FormioModule, typeof i28.
|
|
44
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgPliCommonsModule, [typeof i1.SelectPppComponent, typeof i2.CurrencyColfuturoPipe, typeof i3.CurrencyPrintColfuturoPipe, typeof i4.CurrencyDecimalColfuturoPipe, typeof i5.CurrencyColfuturoFormatterDirective, typeof i6.CurrencyDecimalColfuturoFormatterDirective, typeof i7.PdfVisualizerComponent, typeof i8.PdfMergeVisualizerComponent, typeof i9.PdfGeneratorComponent, typeof i10.TokenComponent, typeof i11.SegmentationTokensComponent, typeof i12.TokensCalculatorComponent, typeof i13.ConfigurationTokenComponent, typeof i14.ExcelToJsonComponent, typeof i15.ThousandsPipe, typeof i16.DynamicFilterComponent, typeof i17.ShowHideColumnsTableComponent, typeof i18.PdfConfigComponent, typeof i19.SnapshotTokenComponent, typeof i20.GuaranteeTokenComponent, typeof i21.ProgressBarComponent, typeof i22.PdfAnalyzerComponent], [typeof i23.CommonModule, typeof i24.AngularFireModule, typeof i25.AngularFireStorageModule, typeof i26.EditorModule, typeof i27.FormioModule, typeof i28.FormsModule, typeof i29.AccordionModule, typeof i30.TableModule, typeof i31.TieredMenuModule, typeof i32.PickListModule, typeof i28.ReactiveFormsModule, typeof i33.FirebaseAppModule, typeof i34.FirestoreModule, typeof i35.AuthModule, typeof i36.DropdownModule, typeof i37.DialogModule, typeof i38.NgPliUtilModule], [typeof i1.SelectPppComponent, typeof i7.PdfVisualizerComponent, typeof i8.PdfMergeVisualizerComponent, typeof i9.PdfGeneratorComponent, typeof i10.TokenComponent, typeof i11.SegmentationTokensComponent, typeof i12.TokensCalculatorComponent, typeof i2.CurrencyColfuturoPipe, typeof i3.CurrencyPrintColfuturoPipe, typeof i4.CurrencyDecimalColfuturoPipe, typeof i5.CurrencyColfuturoFormatterDirective, typeof i6.CurrencyDecimalColfuturoFormatterDirective, typeof i13.ConfigurationTokenComponent, typeof i15.ThousandsPipe, typeof i14.ExcelToJsonComponent, typeof i16.DynamicFilterComponent, typeof i17.ShowHideColumnsTableComponent, typeof i18.PdfConfigComponent, typeof i21.ProgressBarComponent, typeof i22.PdfAnalyzerComponent]>;
|
|
46
45
|
static ɵinj: i0.ɵɵInjectorDeclaration<NgPliCommonsModule>;
|
|
47
46
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { BudgetSetup, PliCnfPresupuestoGlobal } from 'ng-pli-util';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BudgetSetupService {
|
|
6
|
+
private environment;
|
|
7
|
+
private httpClient;
|
|
8
|
+
constructor(environment: any, httpClient: HttpClient);
|
|
9
|
+
BudgetSetup(presupuestoList: PliCnfPresupuestoGlobal[], cpreCodigo: number): Observable<BudgetSetup>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BudgetSetupService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BudgetSetupService>;
|
|
12
|
+
}
|
|
@@ -15,6 +15,7 @@ export declare class BudgetSimulationService {
|
|
|
15
15
|
findById: string;
|
|
16
16
|
findByApplications: string;
|
|
17
17
|
getBudgetSimulatorCalculation: string;
|
|
18
|
+
getTotalInsuranceAmount: string;
|
|
18
19
|
};
|
|
19
20
|
readonly headerJson: {
|
|
20
21
|
headers: HttpHeaders;
|
|
@@ -27,6 +28,7 @@ export declare class BudgetSimulationService {
|
|
|
27
28
|
save(budgetSimulation: BudgetSimulation): Observable<any>;
|
|
28
29
|
saveAll(budgetSimulations: BudgetSimulation[]): Observable<any>;
|
|
29
30
|
getBudgetSimulatorCalculation(budgetSimulations: BudgetSimulatorCalculationInput): Observable<any>;
|
|
31
|
+
getTotalInsuranceAmount(budgetSimulations: BudgetSimulatorCalculationInput): Observable<any>;
|
|
30
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<BudgetSimulationService, never>;
|
|
31
33
|
static ɵprov: i0.ɵɵInjectableDeclaration<BudgetSimulationService>;
|
|
32
34
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { ApplicationCodebtorTO, DataTableParameters } from 'ng-pli-util';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CodebtorService {
|
|
6
|
+
private environment;
|
|
7
|
+
private httpClient;
|
|
8
|
+
constructor(environment: any, httpClient: HttpClient);
|
|
9
|
+
/** It returns the list of application by dataTableParameters */
|
|
10
|
+
getApplicationsByDataTableParameters(dataTableParameters: DataTableParameters): Observable<any>;
|
|
11
|
+
updateEmailAndPhoneCodebtor(applicationCodebtorTO: ApplicationCodebtorTO): Observable<any>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CodebtorService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CodebtorService>;
|
|
14
|
+
}
|
|
@@ -8,6 +8,7 @@ export declare class CorrespondenceManagerService {
|
|
|
8
8
|
constructor(environment: any, httpClient: HttpClient);
|
|
9
9
|
save(correspondenceManager: CorrespondenceManager): Observable<any>;
|
|
10
10
|
saveEdit(correspondenceManager: CorrespondenceManagerTO): Observable<any>;
|
|
11
|
+
resendNotification(correspondenceId: string, promCodigo: number): Observable<any>;
|
|
11
12
|
deleteAttatchment(correspondenceManagerId: string, index: number): Observable<any>;
|
|
12
13
|
deleteDocument(correspondenceManagerId: string): Observable<any>;
|
|
13
14
|
getDocument(urlDocument: string): Observable<any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { Document, DataTableParameters, CheckProgramQualification, UpdateSelectionInformation } from 'ng-pli-util';
|
|
3
|
+
import { Document, DataTableParameters, CheckProgramQualification, UpdateSelectionInformation, DocumentAnalysisIAStResponse } from 'ng-pli-util';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class DocumentService {
|
|
6
6
|
private environment;
|
|
@@ -45,7 +45,9 @@ export declare class DocumentService {
|
|
|
45
45
|
/** It checks an admission letter document */
|
|
46
46
|
checkProgramQualification(checkProgramQualification: CheckProgramQualification): Observable<any>;
|
|
47
47
|
documentAnalysisWithIA(file: File, prompt: string): Observable<Boolean>;
|
|
48
|
+
documentAnalysisWithIASt(file: File, prompt: string): Observable<DocumentAnalysisIAStResponse>;
|
|
48
49
|
updateSelectionInformation(updateSelectionInformation: UpdateSelectionInformation): Observable<Object>;
|
|
50
|
+
downloadAllArchives(archives: any[]): Observable<Blob>;
|
|
49
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentService, never>;
|
|
50
52
|
static ɵprov: i0.ɵɵInjectableDeclaration<DocumentService>;
|
|
51
53
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { GuaranteesSummaryTO } from 'ng-pli-util';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class GuaranteesSummaryService {
|
|
6
|
+
private environment;
|
|
7
|
+
private httpClient;
|
|
8
|
+
private headerJson;
|
|
9
|
+
constructor(environment: any, httpClient: HttpClient);
|
|
10
|
+
updateGuaranteeFlags(guaranteesSummaryTO: GuaranteesSummaryTO): Observable<any>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GuaranteesSummaryService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GuaranteesSummaryService>;
|
|
13
|
+
}
|
|
@@ -18,6 +18,7 @@ export declare class ImportExcelGICService {
|
|
|
18
18
|
*/
|
|
19
19
|
sendCollections(collections: any[]): Observable<any>;
|
|
20
20
|
sendMaintenances(maintenances: any[]): Observable<any>;
|
|
21
|
+
sendMaintenancesFromPlis(): Observable<any>;
|
|
21
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImportExcelGICService, never>;
|
|
22
23
|
static ɵprov: i0.ɵɵInjectableDeclaration<ImportExcelGICService>;
|
|
23
24
|
}
|
|
@@ -17,7 +17,11 @@ export declare class MaintenanceService {
|
|
|
17
17
|
downloadCondonationFile(): Observable<Object>;
|
|
18
18
|
updateCondonationMaintenace(maintenanceForm: CondonationMaintenance): Observable<Object>;
|
|
19
19
|
generateCondonationMaintenance(dateGenerate: string): Observable<Object>;
|
|
20
|
+
getEstatusChangeByPlisUuid(uuidList: string[]): Observable<Object>;
|
|
20
21
|
deleteCondonationMaintenaceByIdIn(maintenanceIdList: string[]): Observable<Object>;
|
|
22
|
+
getEstatusChangePendCount(): Observable<Object>;
|
|
23
|
+
getEstatusChangePendSkipUpdate(): Observable<Object>;
|
|
24
|
+
updateStatusChangeByUiuid(uuidList: string[]): Observable<Object>;
|
|
21
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<MaintenanceService, never>;
|
|
22
26
|
static ɵprov: i0.ɵɵInjectableDeclaration<MaintenanceService>;
|
|
23
27
|
}
|
|
@@ -17,6 +17,7 @@ export declare class PliCnfCommitteeService {
|
|
|
17
17
|
delete(id: number): Observable<any>;
|
|
18
18
|
saveAll(pliCnfCommittee: PliCnfCommittee[]): Observable<any>;
|
|
19
19
|
getByPromCodigoAndBoardDirectorsType(promCodigo: number, boardDirectorsType: boolean): Observable<any>;
|
|
20
|
+
getByPromCodigoAndPostSelectionType(promCodigo: number): Observable<any>;
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<PliCnfCommitteeService, never>;
|
|
21
22
|
static ɵprov: i0.ɵɵInjectableDeclaration<PliCnfCommitteeService>;
|
|
22
23
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HttpClient } from "@angular/common/http";
|
|
2
|
+
import { PliCnfInstallmentSimulatorConfig } from "ng-pli-util";
|
|
3
|
+
import { Observable } from "rxjs";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PliCnfInstallmentSimulatorConfigService {
|
|
6
|
+
private environment;
|
|
7
|
+
private httpClient;
|
|
8
|
+
constructor(environment: any, httpClient: HttpClient);
|
|
9
|
+
getByPromCodigo(promCodigo: number): Observable<any>;
|
|
10
|
+
/**
|
|
11
|
+
* Save the PliCnfInstallmentSimulatorConfig
|
|
12
|
+
* @param pliCnfInstallmentSimulatorConfig
|
|
13
|
+
*/
|
|
14
|
+
save(pliCnfInstallmentSimulatorConfig: PliCnfInstallmentSimulatorConfig): Observable<any>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PliCnfInstallmentSimulatorConfigService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PliCnfInstallmentSimulatorConfigService>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { PliCnfInterestRateMaster } from 'ng-pli-util';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PliCnfInterestRateMasterService {
|
|
6
|
+
private environment;
|
|
7
|
+
private httpClient;
|
|
8
|
+
constructor(environment: any, httpClient: HttpClient);
|
|
9
|
+
getByPromCodigo(promCodigo: number): Observable<any>;
|
|
10
|
+
/**
|
|
11
|
+
* Save the PliCnfInterestRateMaster
|
|
12
|
+
* @param pliCnfAnnualInterestRate
|
|
13
|
+
*/
|
|
14
|
+
save(pliCnfInterestRateMaster: PliCnfInterestRateMaster): Observable<any>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PliCnfInterestRateMasterService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PliCnfInterestRateMasterService>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PliCnfUseAnnualInterestRateService {
|
|
5
|
+
private environment;
|
|
6
|
+
private httpClient;
|
|
7
|
+
constructor(environment: any, httpClient: HttpClient);
|
|
8
|
+
getByPromCodigo(promCodigo: number): Observable<any>;
|
|
9
|
+
/**
|
|
10
|
+
* Save the PliCnfAnnualInterestRate
|
|
11
|
+
* @param PliCnfUseAnnualInterestRate
|
|
12
|
+
*/
|
|
13
|
+
update(promCodigo: number, useAnnualInterestRate: Boolean): Observable<any>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PliCnfUseAnnualInterestRateService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PliCnfUseAnnualInterestRateService>;
|
|
16
|
+
}
|
|
@@ -46,6 +46,7 @@ export declare class SendApplicationService {
|
|
|
46
46
|
getListFormsByStatus(currentStatus: PliCnfStatus, listForm: any[]): any[];
|
|
47
47
|
/** it returns the validated document list */
|
|
48
48
|
getValidatedDocument(currentStatus: any, listConfigurationDocument: any, listDocument: any, application: Application, listDataForm: any, validateJustRequired: boolean): any[];
|
|
49
|
+
private isConfigActiveByDeactivationDate;
|
|
49
50
|
private fillListValidateDocumentDefault;
|
|
50
51
|
/** It gets document by configuration Id */
|
|
51
52
|
private getDocumentByConfigurationId;
|
|
@@ -70,6 +70,8 @@ export declare class TokenService {
|
|
|
70
70
|
/** */
|
|
71
71
|
static STATIC_TOKENS_KEY_FECHA_ACTUAL: string;
|
|
72
72
|
/** */
|
|
73
|
+
static STATIC_TOKENS_KEY_FECHA_ENVIO_SOLICITUD: string;
|
|
74
|
+
/** */
|
|
73
75
|
static STATIC_TOKENS_KEY_STATUS_NAME: string;
|
|
74
76
|
/** */
|
|
75
77
|
static STATIC_TOKENS_KEY_PATROCINADOR: string;
|
|
@@ -249,6 +251,7 @@ export declare class TokenService {
|
|
|
249
251
|
* @param lObjectTokens List of tokens with the values to replace
|
|
250
252
|
*/
|
|
251
253
|
replaceTokensFromListObject(tokenName: string, formula: string, lObjectTokens: any): string;
|
|
254
|
+
getQuoteContext(src: any, idx: any): "double" | "single";
|
|
252
255
|
/**
|
|
253
256
|
* MEtodo que teniendo una expresion de la forma ['tag1', 'tag2']==tag3
|
|
254
257
|
* evalua si tag3 hace parte del array si tiene el operador ==.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { VariableInterestRate } from 'ng-pli-util';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class VariableInterestRateService {
|
|
6
|
+
private environment;
|
|
7
|
+
private httpClient;
|
|
8
|
+
constructor(environment: any, httpClient: HttpClient);
|
|
9
|
+
getAll(): Observable<any>;
|
|
10
|
+
/**
|
|
11
|
+
* Save the PliCnfInterestRateMaster
|
|
12
|
+
* @param pliCnfAnnualInterestRate
|
|
13
|
+
*/
|
|
14
|
+
save(variableInterestRate: VariableInterestRate): Observable<any>;
|
|
15
|
+
getById(id: number): Observable<any>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VariableInterestRateService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<VariableInterestRateService>;
|
|
18
|
+
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ng-pli-commons",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.66-dev.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/core": "^16.0.0 || ^17.0.0",
|
|
6
|
-
"@angular/common": "^16.0.0 || ^17.0.0"
|
|
7
|
-
"zone.js": "~0.13.0 || ~0.14.0"
|
|
5
|
+
"@angular/core": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.2.14",
|
|
6
|
+
"@angular/common": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.2.14"
|
|
8
7
|
},
|
|
9
8
|
"dependencies": {
|
|
10
9
|
"tslib": "^2.3.0"
|
|
@@ -17,8 +16,6 @@
|
|
|
17
16
|
},
|
|
18
17
|
".": {
|
|
19
18
|
"types": "./index.d.ts",
|
|
20
|
-
"esm2022": "./esm2022/ng-pli-commons.mjs",
|
|
21
|
-
"esm": "./esm2022/ng-pli-commons.mjs",
|
|
22
19
|
"default": "./fesm2022/ng-pli-commons.mjs"
|
|
23
20
|
}
|
|
24
21
|
},
|
package/public-api.d.ts
CHANGED
|
@@ -38,6 +38,8 @@ export * from './lib/services/blocked-beneficiary.service';
|
|
|
38
38
|
export * from './lib/services/budget-application.service';
|
|
39
39
|
export * from './lib/services/budget-simulation.service';
|
|
40
40
|
export * from './lib/services/budget.service';
|
|
41
|
+
export * from './lib/services/budget-setup.service';
|
|
42
|
+
export * from './lib/services/codebtors.service';
|
|
41
43
|
export * from './lib/services/closure-wallet.service';
|
|
42
44
|
export * from './lib/services/committee-assistant.service';
|
|
43
45
|
export * from './lib/services/common.service';
|
|
@@ -216,3 +218,8 @@ export * from './lib/services/correspondence-manager.service';
|
|
|
216
218
|
export * from './lib/services/correspondence-document-category.service';
|
|
217
219
|
export * from './lib/services/cnf-correspondence-document-manager.service';
|
|
218
220
|
export * from './lib/services/post-selection.service';
|
|
221
|
+
export * from './lib/services/guarantees-summary-service';
|
|
222
|
+
export * from './lib/services/pli-cnf-installment-simulator-config.service';
|
|
223
|
+
export * from './lib/services/pli-cnf-interest-rate-master.service';
|
|
224
|
+
export * from './lib/services/pli-cnf-use-anual-interest-rate.service';
|
|
225
|
+
export * from './lib/services/variable-interest-rate.service';
|
package/version.d.ts
CHANGED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { CommonListsComponent } from './common.lists.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../services/common.service";
|
|
5
|
-
export class BackofficeCommonsComponent extends CommonListsComponent {
|
|
6
|
-
static { this.BEST_SCENARIO_COLUMN_ID = '-6'; }
|
|
7
|
-
constructor(commonService, cdRef) {
|
|
8
|
-
super(commonService, cdRef);
|
|
9
|
-
this.commonService = commonService;
|
|
10
|
-
this.cdRef = cdRef;
|
|
11
|
-
this.fullWidth = false;
|
|
12
|
-
}
|
|
13
|
-
ngOnInit() {
|
|
14
|
-
super.ngOnInit();
|
|
15
|
-
if (this.fullWidth) {
|
|
16
|
-
const element = document.getElementById('mainContainer');
|
|
17
|
-
if (element) {
|
|
18
|
-
element.classList.remove('container');
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
ngOnDestroy() {
|
|
23
|
-
if (this.fullWidth) {
|
|
24
|
-
const element = document.getElementById('mainContainer');
|
|
25
|
-
if (element) {
|
|
26
|
-
element.classList.add('container');
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BackofficeCommonsComponent, deps: [{ token: i1.CommonService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
31
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: BackofficeCommonsComponent, selector: "app-backoffice-commons", usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
32
|
-
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BackofficeCommonsComponent, decorators: [{
|
|
34
|
-
type: Component,
|
|
35
|
-
args: [{
|
|
36
|
-
selector: 'app-backoffice-commons',
|
|
37
|
-
template: ''
|
|
38
|
-
}]
|
|
39
|
-
}], ctorParameters: () => [{ type: i1.CommonService }, { type: i0.ChangeDetectorRef }] });
|
|
40
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFja29mZmljZS5jb21tb25zLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXBsaS1jb21tb25zL3NyYy9saWIvY29tcG9uZW50cy9iYWNrb2ZmaWNlLmNvbW1vbnMuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBcUIsU0FBUyxFQUFxQixNQUFNLGVBQWUsQ0FBQztBQUVoRixPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQzs7O0FBTWhFLE1BQU0sT0FBZ0IsMEJBQ3JCLFNBQVEsb0JBQW9CO2FBR1osNEJBQXVCLEdBQUcsSUFBSSxBQUFQLENBQVE7SUFHL0MsWUFBc0IsYUFBNEIsRUFBWSxLQUF3QjtRQUNyRixLQUFLLENBQUMsYUFBYS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9XHJcblx0fVxyXG5cclxuXHRuZ09uRGVzdHJveSgpIHtcclxuXHRcdGlmICh0aGlzLmZ1bGxXaWR0aCkge1xyXG5cdFx0XHRjb25zdCBlbGVtZW50ID0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoJ21haW5Db250YWluZXInKTtcclxuXHRcdFx0aWYgKGVsZW1lbnQpIHtcclxuXHRcdFx0XHRlbGVtZW50LmNsYXNzTGlzdC5hZGQoJ2NvbnRhaW5lcicpO1xyXG5cdFx0XHR9XHJcblx0XHR9XHJcblx0fVxyXG59XHJcbiJdfQ==
|
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
import { Inject, LOCALE_ID, Component } from '@angular/core';
|
|
2
|
-
import { UtilString, primeLocaleEs, EPermission, DateUtil } from 'ng-pli-util';
|
|
3
|
-
import { FormUtil } from '../utils/form-util';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../services/common.service";
|
|
6
|
-
export class CommonListsComponent {
|
|
7
|
-
/** Static per page label */
|
|
8
|
-
static { this.LABEL_RECORDS_PER_PAGE = 'Registros por página'; }
|
|
9
|
-
constructor(commonService, cdRef) {
|
|
10
|
-
this.commonService = commonService;
|
|
11
|
-
this.cdRef = cdRef;
|
|
12
|
-
}
|
|
13
|
-
ngOnInit() {
|
|
14
|
-
this.onCurrencyInit();
|
|
15
|
-
this.primeLocaleEs = primeLocaleEs;
|
|
16
|
-
}
|
|
17
|
-
/** It prints the monCode */
|
|
18
|
-
printCurrencyCode(currency) {
|
|
19
|
-
return currency.monCodigoIso + '-' + currency.monMoneda;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Init the info of currencies
|
|
23
|
-
*/
|
|
24
|
-
onCurrencyInit() {
|
|
25
|
-
// Subcription to the currency Subject
|
|
26
|
-
this.commonService.onCurrencyChanged().subscribe((lCurrency) => {
|
|
27
|
-
if (lCurrency) {
|
|
28
|
-
this.lCurrency = lCurrency;
|
|
29
|
-
this.lSICurrency = [];
|
|
30
|
-
for (let key in this.lCurrency) {
|
|
31
|
-
let currency = this.lCurrency[key];
|
|
32
|
-
this.lSICurrency.push({
|
|
33
|
-
label: this.printCurrencyCode(currency),
|
|
34
|
-
value: currency
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
// Subcription to the category Subject
|
|
40
|
-
this.commonService.onCategoryChanged().subscribe((lCategory) => {
|
|
41
|
-
if (lCategory) {
|
|
42
|
-
this.lCategory = lCategory;
|
|
43
|
-
this.lSICategory = [];
|
|
44
|
-
for (let key in this.lCategory) {
|
|
45
|
-
let category = this.lCategory[key];
|
|
46
|
-
this.lSICategory.push({
|
|
47
|
-
label: category.rubRubro,
|
|
48
|
-
value: category
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
// Subcription to the language Subject
|
|
54
|
-
this.commonService.onLanguageChanged().subscribe((lLanguage) => {
|
|
55
|
-
if (lLanguage) {
|
|
56
|
-
this.lLanguage = lLanguage;
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
// Subcription to the category Subject
|
|
60
|
-
this.commonService.onExchangeRateChanged().subscribe((lExchangeRate) => {
|
|
61
|
-
if (lExchangeRate) {
|
|
62
|
-
this.lExchangeRate = lExchangeRate;
|
|
63
|
-
this.adjustmentIsoExchange();
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
// Subcription to the category Subject
|
|
67
|
-
this.commonService.onProcessChanged().subscribe((lProcess) => {
|
|
68
|
-
if (lProcess) {
|
|
69
|
-
this.lProcess = lProcess;
|
|
70
|
-
this.lSIProcess = [];
|
|
71
|
-
for (let key in this.lProcess) {
|
|
72
|
-
let process = this.lProcess[key];
|
|
73
|
-
this.lSIProcess.push({
|
|
74
|
-
label: process.proNombre,
|
|
75
|
-
value: process
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
this.commonService.initValues();
|
|
81
|
-
}
|
|
82
|
-
adjustmentIsoExchange() {
|
|
83
|
-
// let i = 0;
|
|
84
|
-
let lIsoExchage = [];
|
|
85
|
-
for (let key in this.lExchangeRate) {
|
|
86
|
-
let exchangeRate = this.lExchangeRate[key];
|
|
87
|
-
let isoExchage = [];
|
|
88
|
-
if (lIsoExchage[exchangeRate.monedaOrigen.monCodigoIso] !== undefined) {
|
|
89
|
-
isoExchage = lIsoExchage[exchangeRate.monedaOrigen.monCodigoIso];
|
|
90
|
-
}
|
|
91
|
-
isoExchage[exchangeRate.monedaDestino.monCodigoIso] = exchangeRate;
|
|
92
|
-
lIsoExchage[exchangeRate.monedaOrigen.monCodigoIso] = isoExchage;
|
|
93
|
-
// console.log(i);
|
|
94
|
-
// i++;
|
|
95
|
-
}
|
|
96
|
-
if (lIsoExchage) {
|
|
97
|
-
this.lIsoExchangeRate = [];
|
|
98
|
-
for (let key in lIsoExchage) {
|
|
99
|
-
for (let keyIso in lIsoExchage[key]) {
|
|
100
|
-
let exchangeRate = lIsoExchage[key][keyIso];
|
|
101
|
-
this.lIsoExchangeRate[key + '-' + keyIso] = exchangeRate.tcamTasaCambio;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
/** It returns a boolean if the control has any error */
|
|
107
|
-
hasErrors(formControl) {
|
|
108
|
-
return FormUtil.hasErrors(formControl);
|
|
109
|
-
}
|
|
110
|
-
/** It returns a boolean if the control has a specific error */
|
|
111
|
-
hasError(formControl, error) {
|
|
112
|
-
return FormUtil.hasError(formControl, error);
|
|
113
|
-
}
|
|
114
|
-
/** It validates if form is valid */
|
|
115
|
-
isFormValid(formGroup) {
|
|
116
|
-
FormUtil.validateFormFields(formGroup);
|
|
117
|
-
if (formGroup.valid) {
|
|
118
|
-
return true;
|
|
119
|
-
}
|
|
120
|
-
else {
|
|
121
|
-
console.log('Invalid controls: ', FormUtil.getInvalidControls(formGroup));
|
|
122
|
-
return false;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
copyMessage(val) {
|
|
126
|
-
UtilString.copyMessage(val);
|
|
127
|
-
}
|
|
128
|
-
p(x) {
|
|
129
|
-
return EPermission[x];
|
|
130
|
-
}
|
|
131
|
-
cloneObject(obj) {
|
|
132
|
-
if (null == obj || 'object' != typeof obj)
|
|
133
|
-
return obj;
|
|
134
|
-
var copy = obj.constructor();
|
|
135
|
-
for (var attr in obj) {
|
|
136
|
-
if (obj.hasOwnProperty(attr))
|
|
137
|
-
copy[attr] = this.cloneObject(obj[attr]);
|
|
138
|
-
}
|
|
139
|
-
return copy;
|
|
140
|
-
}
|
|
141
|
-
getActualDate(reload = false) {
|
|
142
|
-
reload = reload === undefined ? !UtilString.isValid(this.actualDate) : reload;
|
|
143
|
-
return new Promise((resolve, reject) => {
|
|
144
|
-
if (reload) {
|
|
145
|
-
this.commonService.getActualDate().subscribe((actualDate) => {
|
|
146
|
-
this.actualDate = actualDate;
|
|
147
|
-
resolve(actualDate);
|
|
148
|
-
}, (error) => {
|
|
149
|
-
reject(error);
|
|
150
|
-
});
|
|
151
|
-
}
|
|
152
|
-
else {
|
|
153
|
-
resolve(this.actualDate);
|
|
154
|
-
}
|
|
155
|
-
});
|
|
156
|
-
}
|
|
157
|
-
get timeZoneBogota() {
|
|
158
|
-
return DateUtil.UTC_AMERICA_BOGOTA;
|
|
159
|
-
}
|
|
160
|
-
get utcBogota() {
|
|
161
|
-
return DateUtil.UTC_AMERICA_BOGOTA;
|
|
162
|
-
}
|
|
163
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CommonListsComponent, deps: [{ token: i1.CommonService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
164
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: CommonListsComponent, selector: "app-administration", ngImport: i0, template: '', isInline: true }); }
|
|
165
|
-
}
|
|
166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CommonListsComponent, decorators: [{
|
|
167
|
-
type: Component,
|
|
168
|
-
args: [{
|
|
169
|
-
selector: 'app-administration',
|
|
170
|
-
template: ''
|
|
171
|
-
}]
|
|
172
|
-
}], ctorParameters: () => [{ type: i1.CommonService }, { type: i0.ChangeDetectorRef }], propDecorators: { locale: [{
|
|
173
|
-
type: Inject,
|
|
174
|
-
args: [LOCALE_ID]
|
|
175
|
-
}] } });
|
|
176
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uLmxpc3RzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXBsaS1jb21tb25zL3NyYy9saWIvY29tcG9uZW50cy9jb21tb24ubGlzdHMuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBVSxNQUFNLEVBQUUsU0FBUyxFQUFFLFNBQVMsRUFBcUIsTUFBTSxlQUFlLENBQUM7QUFFeEYsT0FBTyxFQUNOLFVBQVUsRUFLVixhQUFhLEVBR2IsV0FBVyxFQUNYLFFBQVEsRUFDUixNQUFNLGFBQWEsQ0FBQztBQUVyQixPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7OztBQU05QyxNQUFNLE9BQWdCLG9CQUFvQjtJQUN6Qyw0QkFBNEI7YUFDckIsMkJBQXNCLEdBQVcsc0JBQXNCLEFBQWpDLENBQWtDO0lBaUMvRCxZQUFzQixhQUE0QixFQUFZLEtBQXdCO1FBQWhFLGtCQUFhLEdBQWIsYUFBYSxDQUFlO1FBQVksVUFBSyxHQUFMLEtBQUssQ0FBbUI7SUFBRyxDQUFDO0lBRTFGLFFBQVE7UUFD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