ng-pli-commons 0.0.1283 → 0.0.1287

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.
Files changed (32) hide show
  1. package/bundles/ng-pli-commons.umd.js +32 -17
  2. package/bundles/ng-pli-commons.umd.js.map +1 -1
  3. package/bundles/ng-pli-commons.umd.min.js +1 -1
  4. package/bundles/ng-pli-commons.umd.min.js.map +1 -1
  5. package/esm2015/lib/services/application.service.js +1 -1
  6. package/esm2015/lib/services/configuration-document.service.js +7 -1
  7. package/esm2015/lib/services/migration-survey-queue.service.js +1 -1
  8. package/esm2015/lib/services/pli-cnf-survey-document.service.js +1 -1
  9. package/esm2015/lib/services/pli-cnf-survey.service.js +1 -1
  10. package/esm2015/lib/services/survey-metadata.service.js +1 -1
  11. package/esm2015/lib/services/survey-queue.service.js +1 -1
  12. package/esm2015/lib/services/survey.service.js +1 -1
  13. package/esm2015/lib/services/token-transformation.service.js +10 -1
  14. package/esm2015/version.js +8 -8
  15. package/esm5/lib/services/application.service.js +1 -1
  16. package/esm5/lib/services/configuration-document.service.js +7 -1
  17. package/esm5/lib/services/migration-survey-queue.service.js +1 -1
  18. package/esm5/lib/services/pli-cnf-survey-document.service.js +1 -1
  19. package/esm5/lib/services/pli-cnf-survey.service.js +1 -1
  20. package/esm5/lib/services/survey-metadata.service.js +1 -1
  21. package/esm5/lib/services/survey-queue.service.js +1 -1
  22. package/esm5/lib/services/survey.service.js +1 -1
  23. package/esm5/lib/services/token-transformation.service.js +10 -1
  24. package/esm5/version.js +8 -8
  25. package/fesm2015/ng-pli-commons.js +22 -7
  26. package/fesm2015/ng-pli-commons.js.map +1 -1
  27. package/fesm5/ng-pli-commons.js +22 -7
  28. package/fesm5/ng-pli-commons.js.map +1 -1
  29. package/lib/services/configuration-document.service.d.ts +1 -0
  30. package/lib/services/token-transformation.service.d.ts +2 -0
  31. package/ng-pli-commons.metadata.json +1 -1
  32. package/package.json +1 -1
@@ -9,18 +9,18 @@
9
9
  $ = $ && $.hasOwnProperty('default') ? $['default'] : $;
10
10
 
11
11
  /*! *****************************************************************************
12
- Copyright (c) Microsoft Corporation.
12
+ Copyright (c) Microsoft Corporation. All rights reserved.
13
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
14
+ this file except in compliance with the License. You may obtain a copy of the
15
+ License at http://www.apache.org/licenses/LICENSE-2.0
13
16
 
14
- Permission to use, copy, modify, and/or distribute this software for any
15
- purpose with or without fee is hereby granted.
17
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
19
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
20
+ MERCHANTABLITY OR NON-INFRINGEMENT.
16
21
 
17
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
18
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
19
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
20
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
21
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
22
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
23
- PERFORMANCE OF THIS SOFTWARE.
22
+ See the Apache Version 2.0 License for specific language governing permissions
23
+ and limitations under the License.
24
24
  ***************************************************************************** */
25
25
  /* global Reflect, Promise */
26
26
  var extendStatics = function (d, b) {
@@ -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'
@@ -16839,9 +16854,9 @@
16839
16854
  /* tslint:disable */
16840
16855
  var VERSION = {
16841
16856
  "dirty": true,
16842
- "raw": "v0.0.18-1808-ga9ed4ce-dirty",
16843
- "hash": "ga9ed4ce",
16844
- "distance": 1808,
16857
+ "raw": "v0.0.18-1812-gd1aefc5-dirty",
16858
+ "hash": "gd1aefc5",
16859
+ "distance": 1812,
16845
16860
  "tag": "v0.0.18",
16846
16861
  "semver": {
16847
16862
  "options": {
@@ -16857,10 +16872,10 @@
16857
16872
  "build": [],
16858
16873
  "version": "0.0.18"
16859
16874
  },
16860
- "suffix": "1808-ga9ed4ce-dirty",
16861
- "semverString": "0.0.18+1808.ga9ed4ce",
16862
- "version": "0.0.1283",
16863
- "buildTimestamp": "2021-11-30T20:20:37.567Z"
16875
+ "suffix": "1812-gd1aefc5-dirty",
16876
+ "semverString": "0.0.18+1812.gd1aefc5",
16877
+ "version": "0.0.1287",
16878
+ "buildTimestamp": "2021-12-02T15:57:26.226Z"
16864
16879
  };
16865
16880
  /* tslint:enable */
16866
16881