ng-pli-commons 0.0.1284 → 0.0.1288
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 +29 -20
- 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/services/application.service.js +1 -1
- package/esm2015/lib/services/configuration-document.service.js +7 -1
- package/esm2015/lib/services/migration-survey-queue.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.service.js +7 -4
- package/esm2015/version.js +8 -8
- package/esm5/lib/services/application.service.js +1 -1
- package/esm5/lib/services/configuration-document.service.js +7 -1
- package/esm5/lib/services/migration-survey-queue.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.service.js +7 -4
- package/esm5/version.js +8 -8
- package/fesm2015/ng-pli-commons.js +20 -11
- package/fesm2015/ng-pli-commons.js.map +1 -1
- package/fesm5/ng-pli-commons.js +19 -10
- package/fesm5/ng-pli-commons.js.map +1 -1
- package/lib/services/configuration-document.service.d.ts +1 -0
- package/ng-pli-commons.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -9,18 +9,18 @@
|
|
|
9
9
|
$ = $ && $.hasOwnProperty('default') ? $['default'] : $;
|
|
10
10
|
|
|
11
11
|
/*! *****************************************************************************
|
|
12
|
-
Copyright (c) Microsoft Corporation.
|
|
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
|
|
12
|
+
Copyright (c) Microsoft Corporation.
|
|
16
13
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
20
|
-
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
14
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
15
|
+
purpose with or without fee is hereby granted.
|
|
21
16
|
|
|
22
|
-
|
|
23
|
-
|
|
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.
|
|
24
24
|
***************************************************************************** */
|
|
25
25
|
/* global Reflect, Promise */
|
|
26
26
|
var extendStatics = function (d, b) {
|
|
@@ -1989,8 +1989,7 @@
|
|
|
1989
1989
|
_this.formService.getById(formId).subscribe(function (result) {
|
|
1990
1990
|
var e_2, _a;
|
|
1991
1991
|
var form = result;
|
|
1992
|
-
if (!form ||
|
|
1993
|
-
!form[0]) {
|
|
1992
|
+
if (!form || !form[0]) {
|
|
1994
1993
|
resolve(lFormFieldsToken);
|
|
1995
1994
|
}
|
|
1996
1995
|
lFormFieldsToken = [];
|
|
@@ -2768,7 +2767,11 @@
|
|
|
2768
2767
|
objectToken = '';
|
|
2769
2768
|
}
|
|
2770
2769
|
if (objectToken != null) {
|
|
2771
|
-
var value = Number(objectToken)
|
|
2770
|
+
var value = Number(objectToken)
|
|
2771
|
+
? objectToken
|
|
2772
|
+
: Array.isArray(objectToken)
|
|
2773
|
+
? JSON.stringify(objectToken)
|
|
2774
|
+
: "'" + objectToken + "'";
|
|
2772
2775
|
replacedTokens = this.replaceToken(replacedTokens, tokensArray[i].value, value);
|
|
2773
2776
|
// } else {
|
|
2774
2777
|
// console.error(lObjectTokens, tokensArray);
|
|
@@ -3421,6 +3424,12 @@
|
|
|
3421
3424
|
ConfigurationDocumentService.prototype.saveAll = function (lConfigurationDocument) {
|
|
3422
3425
|
return this.httpClient.post(this.environment.host.backend.configuration + 'configuration-document/saveAll', lConfigurationDocument, this.headerJson);
|
|
3423
3426
|
};
|
|
3427
|
+
ConfigurationDocumentService.prototype.getByFormAssociationFormId = function (formId) {
|
|
3428
|
+
return this.httpClient.get(this.environment.host.backend.configuration +
|
|
3429
|
+
'configuration-document/getByFormAssociationFormId', {
|
|
3430
|
+
params: new i1$1.HttpParams().set('formId', formId.toString())
|
|
3431
|
+
});
|
|
3432
|
+
};
|
|
3424
3433
|
/** */
|
|
3425
3434
|
ConfigurationDocumentService.STATIC_TOKEN_DOCUMENTARY_KEY_ESPACIO = 'espacio';
|
|
3426
3435
|
/** */
|
|
@@ -16848,9 +16857,9 @@
|
|
|
16848
16857
|
/* tslint:disable */
|
|
16849
16858
|
var VERSION = {
|
|
16850
16859
|
"dirty": true,
|
|
16851
|
-
"raw": "v0.0.18-
|
|
16852
|
-
"hash": "
|
|
16853
|
-
"distance":
|
|
16860
|
+
"raw": "v0.0.18-1814-g6c2f10f-dirty",
|
|
16861
|
+
"hash": "g6c2f10f",
|
|
16862
|
+
"distance": 1814,
|
|
16854
16863
|
"tag": "v0.0.18",
|
|
16855
16864
|
"semver": {
|
|
16856
16865
|
"options": {
|
|
@@ -16866,10 +16875,10 @@
|
|
|
16866
16875
|
"build": [],
|
|
16867
16876
|
"version": "0.0.18"
|
|
16868
16877
|
},
|
|
16869
|
-
"suffix": "
|
|
16870
|
-
"semverString": "0.0.18+
|
|
16871
|
-
"version": "0.0.
|
|
16872
|
-
"buildTimestamp": "2021-
|
|
16878
|
+
"suffix": "1814-g6c2f10f-dirty",
|
|
16879
|
+
"semverString": "0.0.18+1814.g6c2f10f",
|
|
16880
|
+
"version": "0.0.1288",
|
|
16881
|
+
"buildTimestamp": "2021-12-06T11:59:20.021Z"
|
|
16873
16882
|
};
|
|
16874
16883
|
/* tslint:enable */
|
|
16875
16884
|
|