ng-pli-commons 0.0.1282 → 0.0.1286
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/bundles/ng-pli-commons.umd.js +53 -7
- package/bundles/ng-pli-commons.umd.js.map +1 -1
- package/bundles/ng-pli-commons.umd.min.js +1 -1
- package/bundles/ng-pli-commons.umd.min.js.map +1 -1
- package/esm2015/lib/components/configuration-token-multiapplication/configuration-token-multiapplication.component.js +101 -0
- package/esm2015/lib/components/project-summary-config/project-summary-config.component.js +31 -0
- package/esm2015/lib/services/application.service.js +1 -1
- package/esm2015/lib/services/configuration-document.service.js +7 -1
- package/esm2015/lib/services/document-validation-attempt.service.js +31 -0
- package/esm2015/lib/services/migration-survey-queue.service.js +1 -1
- package/esm2015/lib/services/pli-cnf-document-management.service.js +1 -1
- package/esm2015/lib/services/pli-cnf-survey-document.service.js +1 -1
- package/esm2015/lib/services/pli-cnf-survey.service.js +1 -1
- package/esm2015/lib/services/survey-metadata.service.js +1 -1
- package/esm2015/lib/services/survey-queue.service.js +1 -1
- package/esm2015/lib/services/survey.service.js +1 -1
- package/esm2015/lib/services/token-transformation.service.js +10 -1
- package/esm2015/public_api.js +2 -1
- package/esm2015/version.js +8 -8
- package/esm5/lib/components/configuration-token-multiapplication/configuration-token-multiapplication.component.js +128 -0
- package/esm5/lib/components/project-summary-config/project-summary-config.component.js +36 -0
- package/esm5/lib/services/application.service.js +1 -1
- package/esm5/lib/services/configuration-document.service.js +7 -1
- package/esm5/lib/services/document-validation-attempt.service.js +33 -0
- package/esm5/lib/services/migration-survey-queue.service.js +1 -1
- package/esm5/lib/services/pli-cnf-document-management.service.js +1 -1
- package/esm5/lib/services/pli-cnf-survey-document.service.js +1 -1
- package/esm5/lib/services/pli-cnf-survey.service.js +1 -1
- package/esm5/lib/services/survey-metadata.service.js +1 -1
- package/esm5/lib/services/survey-queue.service.js +1 -1
- package/esm5/lib/services/survey.service.js +1 -1
- package/esm5/lib/services/token-transformation.service.js +10 -1
- package/esm5/public_api.js +2 -1
- package/esm5/version.js +8 -8
- package/fesm2015/ng-pli-commons.js +50 -8
- package/fesm2015/ng-pli-commons.js.map +1 -1
- package/fesm5/ng-pli-commons.js +51 -8
- package/fesm5/ng-pli-commons.js.map +1 -1
- package/lib/components/configuration-token-multiapplication/configuration-token-multiapplication.component.d.ts +34 -0
- package/lib/components/project-summary-config/project-summary-config.component.d.ts +13 -0
- package/lib/services/configuration-document.service.d.ts +1 -0
- package/lib/services/document-validation-attempt.service.d.ts +10 -0
- package/lib/services/token-transformation.service.d.ts +2 -0
- package/ng-pli-commons.metadata.json +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
|
@@ -3421,6 +3421,12 @@
|
|
|
3421
3421
|
ConfigurationDocumentService.prototype.saveAll = function (lConfigurationDocument) {
|
|
3422
3422
|
return this.httpClient.post(this.environment.host.backend.configuration + 'configuration-document/saveAll', lConfigurationDocument, this.headerJson);
|
|
3423
3423
|
};
|
|
3424
|
+
ConfigurationDocumentService.prototype.getByFormAssociationFormId = function (formId) {
|
|
3425
|
+
return this.httpClient.get(this.environment.host.backend.configuration +
|
|
3426
|
+
'configuration-document/getByFormAssociationFormId', {
|
|
3427
|
+
params: new i1$1.HttpParams().set('formId', formId.toString())
|
|
3428
|
+
});
|
|
3429
|
+
};
|
|
3424
3430
|
/** */
|
|
3425
3431
|
ConfigurationDocumentService.STATIC_TOKEN_DOCUMENTARY_KEY_ESPACIO = 'espacio';
|
|
3426
3432
|
/** */
|
|
@@ -5288,6 +5294,15 @@
|
|
|
5288
5294
|
return this.httpClient.post(this.environment.host.backend.configuration +
|
|
5289
5295
|
'token-transformation/transformByUsername', data, this.headerJson);
|
|
5290
5296
|
};
|
|
5297
|
+
/** It returns a string with formula result */
|
|
5298
|
+
TokenTransformationService.prototype.resolveFormula = function (formula, promCodigo, applicationId) {
|
|
5299
|
+
var data = {
|
|
5300
|
+
formula: formula,
|
|
5301
|
+
promCodigo: promCodigo,
|
|
5302
|
+
applicationId: applicationId
|
|
5303
|
+
};
|
|
5304
|
+
return this.httpClient.post(this.environment.host.backend.configuration + 'token-transformation/resolveFormula', data, this.headerJson);
|
|
5305
|
+
};
|
|
5291
5306
|
TokenTransformationService.decorators = [
|
|
5292
5307
|
{ type: i0.Injectable, args: [{
|
|
5293
5308
|
providedIn: 'root'
|
|
@@ -15017,6 +15032,36 @@
|
|
|
15017
15032
|
return DataLetterSegmentationService;
|
|
15018
15033
|
}());
|
|
15019
15034
|
|
|
15035
|
+
var DocumentValidationAttemptService = /** @class */ (function () {
|
|
15036
|
+
function DocumentValidationAttemptService(environment, httpClient) {
|
|
15037
|
+
this.environment = environment;
|
|
15038
|
+
this.httpClient = httpClient;
|
|
15039
|
+
}
|
|
15040
|
+
DocumentValidationAttemptService.prototype.getByApplicationIdAndDocumentId = function (applicationId, configurationDocumentId) {
|
|
15041
|
+
return this.httpClient.get(this.environment.host.backend.frontoffice + 'getByApplicationIdAndDocumentId', {
|
|
15042
|
+
params: new i1$1.HttpParams()
|
|
15043
|
+
.set('applicationId', applicationId)
|
|
15044
|
+
.set('configurationDocumentId', configurationDocumentId.toString())
|
|
15045
|
+
});
|
|
15046
|
+
};
|
|
15047
|
+
DocumentValidationAttemptService.prototype.save = function (documentValidationAttempt) {
|
|
15048
|
+
return this.httpClient.post(this.environment.host.backend.frontoffice + 'save', documentValidationAttempt);
|
|
15049
|
+
};
|
|
15050
|
+
DocumentValidationAttemptService.decorators = [
|
|
15051
|
+
{ type: i0.Injectable, args: [{
|
|
15052
|
+
providedIn: 'root'
|
|
15053
|
+
},] }
|
|
15054
|
+
];
|
|
15055
|
+
DocumentValidationAttemptService.ctorParameters = function () {
|
|
15056
|
+
return [
|
|
15057
|
+
{ type: undefined, decorators: [{ type: i0.Inject, args: ['environment',] }] },
|
|
15058
|
+
{ type: i1$1.HttpClient }
|
|
15059
|
+
];
|
|
15060
|
+
};
|
|
15061
|
+
DocumentValidationAttemptService.ngInjectableDef = i0.defineInjectable({ factory: function DocumentValidationAttemptService_Factory() { return new DocumentValidationAttemptService(i0.inject("environment"), i0.inject(i1$1.HttpClient)); }, token: DocumentValidationAttemptService, providedIn: "root" });
|
|
15062
|
+
return DocumentValidationAttemptService;
|
|
15063
|
+
}());
|
|
15064
|
+
|
|
15020
15065
|
var InitialRecordService = /** @class */ (function () {
|
|
15021
15066
|
function InitialRecordService(environment, httpClient) {
|
|
15022
15067
|
this.environment = environment;
|
|
@@ -16809,9 +16854,9 @@
|
|
|
16809
16854
|
/* tslint:disable */
|
|
16810
16855
|
var VERSION = {
|
|
16811
16856
|
"dirty": true,
|
|
16812
|
-
"raw": "v0.0.18-
|
|
16813
|
-
"hash": "
|
|
16814
|
-
"distance":
|
|
16857
|
+
"raw": "v0.0.18-1811-ga933e58-dirty",
|
|
16858
|
+
"hash": "ga933e58",
|
|
16859
|
+
"distance": 1811,
|
|
16815
16860
|
"tag": "v0.0.18",
|
|
16816
16861
|
"semver": {
|
|
16817
16862
|
"options": {
|
|
@@ -16827,10 +16872,10 @@
|
|
|
16827
16872
|
"build": [],
|
|
16828
16873
|
"version": "0.0.18"
|
|
16829
16874
|
},
|
|
16830
|
-
"suffix": "
|
|
16831
|
-
"semverString": "0.0.18+
|
|
16832
|
-
"version": "0.0.
|
|
16833
|
-
"buildTimestamp": "2021-
|
|
16875
|
+
"suffix": "1811-ga933e58-dirty",
|
|
16876
|
+
"semverString": "0.0.18+1811.ga933e58",
|
|
16877
|
+
"version": "0.0.1286",
|
|
16878
|
+
"buildTimestamp": "2021-12-01T15:11:14.060Z"
|
|
16834
16879
|
};
|
|
16835
16880
|
/* tslint:enable */
|
|
16836
16881
|
|
|
@@ -16903,6 +16948,7 @@
|
|
|
16903
16948
|
exports.DataFormService = DataFormService;
|
|
16904
16949
|
exports.DataLetterSegmentationService = DataLetterSegmentationService;
|
|
16905
16950
|
exports.DocumentManagementService = DocumentManagementService;
|
|
16951
|
+
exports.DocumentValidationAttemptService = DocumentValidationAttemptService;
|
|
16906
16952
|
exports.DocumentService = DocumentService;
|
|
16907
16953
|
exports.DocumentaryTypeService = DocumentaryTypeService;
|
|
16908
16954
|
exports.EmailService = EmailService;
|