@glowgreen/gg-questionnaire-v2 0.0.11 → 0.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/bundles/glowgreen-gg-questionnaire-v2.umd.js +1186 -1130
- package/bundles/glowgreen-gg-questionnaire-v2.umd.js.map +1 -1
- package/bundles/glowgreen-gg-questionnaire-v2.umd.min.js +1 -1
- package/bundles/glowgreen-gg-questionnaire-v2.umd.min.js.map +1 -1
- package/esm2015/glowgreen-gg-questionnaire-v2.js +1 -1
- package/esm2015/lib/enums/condition-relationship.enum.js +1 -1
- package/esm2015/lib/enums/condition-type.enum.js +1 -1
- package/esm2015/lib/enums/input-type.enum.js +1 -1
- package/esm2015/lib/enums/question-type.enum.js +1 -1
- package/esm2015/lib/enums/repeater-question-type.enum.js +1 -1
- package/esm2015/lib/enums/validation-type.enum.js +1 -1
- package/esm2015/lib/gg-questionnaire-v2.module.js +1 -1
- package/esm2015/lib/interfaces/attachment.js +1 -1
- package/esm2015/lib/interfaces/checklist-item.js +1 -1
- package/esm2015/lib/interfaces/condition-group.js +1 -1
- package/esm2015/lib/interfaces/condition.js +1 -1
- package/esm2015/lib/interfaces/question.js +1 -1
- package/esm2015/lib/interfaces/questionnaire-options.js +1 -1
- package/esm2015/lib/interfaces/questionnaire.js +1 -1
- package/esm2015/lib/interfaces/repeater-question.js +1 -1
- package/esm2015/lib/interfaces/section.js +1 -1
- package/esm2015/lib/interfaces/select-option.js +1 -1
- package/esm2015/lib/interfaces/validator.js +1 -1
- package/esm2015/lib/services/filter.service.js +35 -33
- package/esm2015/lib/services/form-constructor.service.js +5 -6
- package/esm2015/lib/services/questionnaire.service.js +3 -3
- package/esm2015/public_api.js +1 -1
- package/esm5/glowgreen-gg-questionnaire-v2.js +1 -1
- package/esm5/lib/enums/condition-relationship.enum.js +1 -1
- package/esm5/lib/enums/condition-type.enum.js +1 -1
- package/esm5/lib/enums/input-type.enum.js +1 -1
- package/esm5/lib/enums/question-type.enum.js +1 -1
- package/esm5/lib/enums/repeater-question-type.enum.js +1 -1
- package/esm5/lib/enums/validation-type.enum.js +1 -1
- package/esm5/lib/gg-questionnaire-v2.module.js +1 -1
- package/esm5/lib/interfaces/attachment.js +1 -1
- package/esm5/lib/interfaces/checklist-item.js +1 -1
- package/esm5/lib/interfaces/condition-group.js +1 -1
- package/esm5/lib/interfaces/condition.js +1 -1
- package/esm5/lib/interfaces/question.js +1 -1
- package/esm5/lib/interfaces/questionnaire-options.js +1 -1
- package/esm5/lib/interfaces/questionnaire.js +1 -1
- package/esm5/lib/interfaces/repeater-question.js +1 -1
- package/esm5/lib/interfaces/section.js +1 -1
- package/esm5/lib/interfaces/select-option.js +1 -1
- package/esm5/lib/interfaces/validator.js +1 -1
- package/esm5/lib/services/filter.service.js +52 -50
- package/esm5/lib/services/form-constructor.service.js +7 -8
- package/esm5/lib/services/questionnaire.service.js +11 -10
- package/esm5/public_api.js +1 -1
- package/fesm2015/glowgreen-gg-questionnaire-v2.js +125 -50
- package/fesm2015/glowgreen-gg-questionnaire-v2.js.map +1 -1
- package/fesm5/glowgreen-gg-questionnaire-v2.js +151 -75
- package/fesm5/glowgreen-gg-questionnaire-v2.js.map +1 -1
- package/lib/services/questionnaire.service.d.ts +8 -8
- package/package.json +3 -3
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { __values, __awaiter, __generator } from 'tslib';
|
|
2
|
+
import { Injectable, ɵɵdefineInjectable, ɵɵinject, EventEmitter, Inject, NgModule } from '@angular/core';
|
|
3
|
+
import { Validators, FormBuilder, FormArray, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
2
4
|
import { get, keys, cloneDeep } from 'lodash';
|
|
3
|
-
import { Injectable, NgModule, defineInjectable, inject, EventEmitter, Inject } from '@angular/core';
|
|
4
|
-
import { FormBuilder, Validators, FormsModule, ReactiveFormsModule, FormArray } from '@angular/forms';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @fileoverview added by tsickle
|
|
8
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
8
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
9
9
|
*/
|
|
10
10
|
/** @enum {string} */
|
|
11
11
|
var QuestionType = {
|
|
@@ -21,7 +21,7 @@ var QuestionType = {
|
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* @fileoverview added by tsickle
|
|
24
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
24
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
25
25
|
*/
|
|
26
26
|
/** @enum {string} */
|
|
27
27
|
var ConditionType = {
|
|
@@ -35,7 +35,7 @@ var ConditionType = {
|
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
37
|
* @fileoverview added by tsickle
|
|
38
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
38
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
39
39
|
*/
|
|
40
40
|
/** @enum {string} */
|
|
41
41
|
var ConditionRelationship = {
|
|
@@ -45,7 +45,7 @@ var ConditionRelationship = {
|
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
47
|
* @fileoverview added by tsickle
|
|
48
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
48
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
49
49
|
*/
|
|
50
50
|
var FilterService = /** @class */ (function () {
|
|
51
51
|
function FilterService() {
|
|
@@ -80,56 +80,62 @@ var FilterService = /** @class */ (function () {
|
|
|
80
80
|
try {
|
|
81
81
|
for (var sections_1 = __values(sections), sections_1_1 = sections_1.next(); !sections_1_1.done; sections_1_1 = sections_1.next()) {
|
|
82
82
|
var section = sections_1_1.value;
|
|
83
|
-
if (this.meetsConditionGroups(section.conditionGroups, currentQuestionnaireForm, additionalData)) {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
finally { if (e_3) throw e_3.error; }
|
|
83
|
+
if (!this.meetsConditionGroups(section.conditionGroups, currentQuestionnaireForm, additionalData)) {
|
|
84
|
+
continue;
|
|
85
|
+
}
|
|
86
|
+
/** @type {?} */
|
|
87
|
+
var filteredQuestions = [];
|
|
88
|
+
try {
|
|
89
|
+
for (var _d = (e_2 = void 0, __values(section.questions)), _e = _d.next(); !_e.done; _e = _d.next()) {
|
|
90
|
+
var question = _e.value;
|
|
91
|
+
if (!this.meetsConditionGroups(question.conditionGroups, currentQuestionnaireForm, additionalData)) {
|
|
92
|
+
continue;
|
|
93
|
+
}
|
|
94
|
+
if (question.repeaterQuestions) {
|
|
95
|
+
/** @type {?} */
|
|
96
|
+
var filteredRepeaterQuestions = [];
|
|
97
|
+
try {
|
|
98
|
+
for (var _f = (e_3 = void 0, __values(question.repeaterQuestions)), _g = _f.next(); !_g.done; _g = _f.next()) {
|
|
99
|
+
var repeaterQuestion = _g.value;
|
|
100
|
+
if (this.meetsConditionGroups(repeaterQuestion.conditionGroups, currentQuestionnaireForm, additionalData)) {
|
|
101
|
+
filteredRepeaterQuestions.push(repeaterQuestion);
|
|
103
102
|
}
|
|
104
103
|
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
var values = this.getValuesForArray(question.fetchSelectors, currentQuestionnaireForm, additionalData);
|
|
111
|
-
options = get(additionalData[question.fetchPath], values);
|
|
112
|
-
}
|
|
113
|
-
options = this.getFinalFetchArray(options);
|
|
114
|
-
if (!question.selectOptions) {
|
|
115
|
-
question.selectOptions = [];
|
|
116
|
-
}
|
|
117
|
-
question.selectOptions = question.selectOptions.concat(options);
|
|
104
|
+
}
|
|
105
|
+
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
106
|
+
finally {
|
|
107
|
+
try {
|
|
108
|
+
if (_g && !_g.done && (_c = _f.return)) _c.call(_f);
|
|
118
109
|
}
|
|
119
|
-
|
|
110
|
+
finally { if (e_3) throw e_3.error; }
|
|
120
111
|
}
|
|
121
112
|
}
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
113
|
+
if (question.fetchPath) {
|
|
114
|
+
/** @type {?} */
|
|
115
|
+
var options = additionalData[question.fetchPath];
|
|
116
|
+
if (question.fetchSelectors && question.fetchSelectors.length > 0) {
|
|
117
|
+
/** @type {?} */
|
|
118
|
+
var values = this.getValuesForArray(question.fetchSelectors, currentQuestionnaireForm, additionalData);
|
|
119
|
+
options = get(additionalData[question.fetchPath], values);
|
|
120
|
+
}
|
|
121
|
+
options = this.getFinalFetchArray(options);
|
|
122
|
+
if (!question.selectOptions) {
|
|
123
|
+
question.selectOptions = [];
|
|
124
|
+
}
|
|
125
|
+
question.selectOptions = question.selectOptions.concat(options);
|
|
127
126
|
}
|
|
128
|
-
|
|
127
|
+
filteredQuestions.push(question);
|
|
129
128
|
}
|
|
130
|
-
section.questions = filteredQuestions;
|
|
131
|
-
filteredSections.push(section);
|
|
132
129
|
}
|
|
130
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
131
|
+
finally {
|
|
132
|
+
try {
|
|
133
|
+
if (_e && !_e.done && (_b = _d.return)) _b.call(_d);
|
|
134
|
+
}
|
|
135
|
+
finally { if (e_2) throw e_2.error; }
|
|
136
|
+
}
|
|
137
|
+
section.questions = filteredQuestions;
|
|
138
|
+
filteredSections.push(section);
|
|
133
139
|
}
|
|
134
140
|
}
|
|
135
141
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -359,7 +365,7 @@ var FilterService = /** @class */ (function () {
|
|
|
359
365
|
for (var v2s_1 = __values(v2s), v2s_1_1 = v2s_1.next(); !v2s_1_1.done; v2s_1_1 = v2s_1.next()) {
|
|
360
366
|
var v2 = v2s_1_1.value;
|
|
361
367
|
try {
|
|
362
|
-
for (var v1s_1 = __values(v1s), v1s_1_1 = v1s_1.next(); !v1s_1_1.done; v1s_1_1 = v1s_1.next()) {
|
|
368
|
+
for (var v1s_1 = (e_7 = void 0, __values(v1s)), v1s_1_1 = v1s_1.next(); !v1s_1_1.done; v1s_1_1 = v1s_1.next()) {
|
|
363
369
|
var v1 = v1s_1_1.value;
|
|
364
370
|
switch (condition.type) {
|
|
365
371
|
case ConditionType.EqualTo:
|
|
@@ -563,13 +569,13 @@ var FilterService = /** @class */ (function () {
|
|
|
563
569
|
];
|
|
564
570
|
/** @nocollapse */
|
|
565
571
|
FilterService.ctorParameters = function () { return []; };
|
|
566
|
-
/** @nocollapse */ FilterService.ngInjectableDef =
|
|
572
|
+
/** @nocollapse */ FilterService.ngInjectableDef = ɵɵdefineInjectable({ factory: function FilterService_Factory() { return new FilterService(); }, token: FilterService, providedIn: "root" });
|
|
567
573
|
return FilterService;
|
|
568
574
|
}());
|
|
569
575
|
|
|
570
576
|
/**
|
|
571
577
|
* @fileoverview added by tsickle
|
|
572
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
578
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
573
579
|
*/
|
|
574
580
|
/** @enum {string} */
|
|
575
581
|
var ValidationType = {
|
|
@@ -583,7 +589,7 @@ var ValidationType = {
|
|
|
583
589
|
|
|
584
590
|
/**
|
|
585
591
|
* @fileoverview added by tsickle
|
|
586
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
592
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
587
593
|
*/
|
|
588
594
|
var FormConstructorService = /** @class */ (function () {
|
|
589
595
|
function FormConstructorService(fb, filterService) {
|
|
@@ -736,9 +742,7 @@ var FormConstructorService = /** @class */ (function () {
|
|
|
736
742
|
case QuestionType.Repeater:
|
|
737
743
|
/** @type {?} */
|
|
738
744
|
var currentArray = currentQuestionnaireForm ? ((/** @type {?} */ (currentQuestionnaireForm.get([section.name, question.name])))) : false;
|
|
739
|
-
|
|
740
|
-
var newArray = currentArray ? currentArray.controls : [];
|
|
741
|
-
return this.fb.array(newArray, convertedValidators);
|
|
745
|
+
return currentArray ? currentArray : this.fb.array([], convertedValidators);
|
|
742
746
|
case QuestionType.Checklist:
|
|
743
747
|
return this.generateGroupForChecklist(question, convertedValidators);
|
|
744
748
|
default:
|
|
@@ -958,7 +962,7 @@ var FormConstructorService = /** @class */ (function () {
|
|
|
958
962
|
for (var sections_2 = __values(sections), sections_2_1 = sections_2.next(); !sections_2_1.done; sections_2_1 = sections_2.next()) {
|
|
959
963
|
var section = sections_2_1.value;
|
|
960
964
|
try {
|
|
961
|
-
for (var _d = __values(section.questions), _e = _d.next(); !_e.done; _e = _d.next()) {
|
|
965
|
+
for (var _d = (e_7 = void 0, __values(section.questions)), _e = _d.next(); !_e.done; _e = _d.next()) {
|
|
962
966
|
var question = _e.value;
|
|
963
967
|
if (question.type !== QuestionType.Repeater) {
|
|
964
968
|
continue;
|
|
@@ -974,7 +978,8 @@ var FormConstructorService = /** @class */ (function () {
|
|
|
974
978
|
continue;
|
|
975
979
|
}
|
|
976
980
|
try {
|
|
977
|
-
|
|
981
|
+
// For each item that used to be there push a new empty template there to be populated.
|
|
982
|
+
for (var repeaterArray_1 = (e_8 = void 0, __values(repeaterArray)), repeaterArray_1_1 = repeaterArray_1.next(); !repeaterArray_1_1.done; repeaterArray_1_1 = repeaterArray_1.next()) {
|
|
978
983
|
var repeaterItem = repeaterArray_1_1.value;
|
|
979
984
|
/** @type {?} */
|
|
980
985
|
var repeaterItemTemplate = this.generateFormsForRepeater(question);
|
|
@@ -1017,13 +1022,25 @@ var FormConstructorService = /** @class */ (function () {
|
|
|
1017
1022
|
{ type: FormBuilder },
|
|
1018
1023
|
{ type: FilterService }
|
|
1019
1024
|
]; };
|
|
1020
|
-
/** @nocollapse */ FormConstructorService.ngInjectableDef =
|
|
1025
|
+
/** @nocollapse */ FormConstructorService.ngInjectableDef = ɵɵdefineInjectable({ factory: function FormConstructorService_Factory() { return new FormConstructorService(ɵɵinject(FormBuilder), ɵɵinject(FilterService)); }, token: FormConstructorService, providedIn: "root" });
|
|
1021
1026
|
return FormConstructorService;
|
|
1022
1027
|
}());
|
|
1028
|
+
if (false) {
|
|
1029
|
+
/**
|
|
1030
|
+
* @type {?}
|
|
1031
|
+
* @private
|
|
1032
|
+
*/
|
|
1033
|
+
FormConstructorService.prototype.fb;
|
|
1034
|
+
/**
|
|
1035
|
+
* @type {?}
|
|
1036
|
+
* @private
|
|
1037
|
+
*/
|
|
1038
|
+
FormConstructorService.prototype.filterService;
|
|
1039
|
+
}
|
|
1023
1040
|
|
|
1024
1041
|
/**
|
|
1025
1042
|
* @fileoverview added by tsickle
|
|
1026
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1043
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1027
1044
|
*/
|
|
1028
1045
|
var QuestionnaireService = /** @class */ (function () {
|
|
1029
1046
|
function QuestionnaireService(formConstuctor, options) {
|
|
@@ -1057,7 +1074,8 @@ var QuestionnaireService = /** @class */ (function () {
|
|
|
1057
1074
|
*/
|
|
1058
1075
|
function (questionnaire, savedState, additionalData) {
|
|
1059
1076
|
return __awaiter(this, void 0, void 0, function () {
|
|
1060
|
-
var
|
|
1077
|
+
var newData, _a, _b, section, _c, _d, question, control;
|
|
1078
|
+
var e_1, _e, e_2, _f;
|
|
1061
1079
|
return __generator(this, function (_g) {
|
|
1062
1080
|
switch (_g.label) {
|
|
1063
1081
|
case 0:
|
|
@@ -1074,11 +1092,11 @@ var QuestionnaireService = /** @class */ (function () {
|
|
|
1074
1092
|
case 1:
|
|
1075
1093
|
_g.sent();
|
|
1076
1094
|
try {
|
|
1077
|
-
for (
|
|
1078
|
-
section =
|
|
1095
|
+
for (_a = __values(this.currentQuestionnaire.sections), _b = _a.next(); !_b.done; _b = _a.next()) {
|
|
1096
|
+
section = _b.value;
|
|
1079
1097
|
try {
|
|
1080
|
-
for (
|
|
1081
|
-
question =
|
|
1098
|
+
for (_c = (e_2 = void 0, __values(section.questions)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
1099
|
+
question = _d.value;
|
|
1082
1100
|
control = this.currentQuestionnaireForm.get([section.name, question.name]);
|
|
1083
1101
|
if (!control.value && question.defaultValue) {
|
|
1084
1102
|
control.setValue(question.defaultValue);
|
|
@@ -1088,7 +1106,7 @@ var QuestionnaireService = /** @class */ (function () {
|
|
|
1088
1106
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
1089
1107
|
finally {
|
|
1090
1108
|
try {
|
|
1091
|
-
if (
|
|
1109
|
+
if (_d && !_d.done && (_f = _c.return)) _f.call(_c);
|
|
1092
1110
|
}
|
|
1093
1111
|
finally { if (e_2) throw e_2.error; }
|
|
1094
1112
|
}
|
|
@@ -1097,7 +1115,7 @@ var QuestionnaireService = /** @class */ (function () {
|
|
|
1097
1115
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
1098
1116
|
finally {
|
|
1099
1117
|
try {
|
|
1100
|
-
if (
|
|
1118
|
+
if (_b && !_b.done && (_e = _a.return)) _e.call(_a);
|
|
1101
1119
|
}
|
|
1102
1120
|
finally { if (e_1) throw e_1.error; }
|
|
1103
1121
|
}
|
|
@@ -1901,13 +1919,72 @@ var QuestionnaireService = /** @class */ (function () {
|
|
|
1901
1919
|
{ type: FormConstructorService },
|
|
1902
1920
|
{ type: undefined, decorators: [{ type: Inject, args: ['options',] }] }
|
|
1903
1921
|
]; };
|
|
1904
|
-
/** @nocollapse */ QuestionnaireService.ngInjectableDef =
|
|
1922
|
+
/** @nocollapse */ QuestionnaireService.ngInjectableDef = ɵɵdefineInjectable({ factory: function QuestionnaireService_Factory() { return new QuestionnaireService(ɵɵinject(FormConstructorService), ɵɵinject("options")); }, token: QuestionnaireService, providedIn: "root" });
|
|
1905
1923
|
return QuestionnaireService;
|
|
1906
1924
|
}());
|
|
1925
|
+
if (false) {
|
|
1926
|
+
/** @type {?} */
|
|
1927
|
+
QuestionnaireService.prototype.dataChangedEvent;
|
|
1928
|
+
/**
|
|
1929
|
+
* @type {?}
|
|
1930
|
+
* @private
|
|
1931
|
+
*/
|
|
1932
|
+
QuestionnaireService.prototype.originalQuestionnaire;
|
|
1933
|
+
/**
|
|
1934
|
+
* @type {?}
|
|
1935
|
+
* @private
|
|
1936
|
+
*/
|
|
1937
|
+
QuestionnaireService.prototype.currentQuestionnaire;
|
|
1938
|
+
/**
|
|
1939
|
+
* @type {?}
|
|
1940
|
+
* @private
|
|
1941
|
+
*/
|
|
1942
|
+
QuestionnaireService.prototype.currentQuestionnaireForm;
|
|
1943
|
+
/**
|
|
1944
|
+
* @type {?}
|
|
1945
|
+
* @private
|
|
1946
|
+
*/
|
|
1947
|
+
QuestionnaireService.prototype.currentSectionName;
|
|
1948
|
+
/**
|
|
1949
|
+
* @type {?}
|
|
1950
|
+
* @private
|
|
1951
|
+
*/
|
|
1952
|
+
QuestionnaireService.prototype.currentQuestionName;
|
|
1953
|
+
/**
|
|
1954
|
+
* @type {?}
|
|
1955
|
+
* @private
|
|
1956
|
+
*/
|
|
1957
|
+
QuestionnaireService.prototype.questionnaireValueChangeSubscription;
|
|
1958
|
+
/**
|
|
1959
|
+
* @type {?}
|
|
1960
|
+
* @private
|
|
1961
|
+
*/
|
|
1962
|
+
QuestionnaireService.prototype.questionValueChangeSubscription;
|
|
1963
|
+
/**
|
|
1964
|
+
* @type {?}
|
|
1965
|
+
* @private
|
|
1966
|
+
*/
|
|
1967
|
+
QuestionnaireService.prototype.additionalData;
|
|
1968
|
+
/**
|
|
1969
|
+
* @type {?}
|
|
1970
|
+
* @private
|
|
1971
|
+
*/
|
|
1972
|
+
QuestionnaireService.prototype.skippable;
|
|
1973
|
+
/**
|
|
1974
|
+
* @type {?}
|
|
1975
|
+
* @private
|
|
1976
|
+
*/
|
|
1977
|
+
QuestionnaireService.prototype.formConstuctor;
|
|
1978
|
+
/**
|
|
1979
|
+
* @type {?}
|
|
1980
|
+
* @private
|
|
1981
|
+
*/
|
|
1982
|
+
QuestionnaireService.prototype.options;
|
|
1983
|
+
}
|
|
1907
1984
|
|
|
1908
1985
|
/**
|
|
1909
1986
|
* @fileoverview added by tsickle
|
|
1910
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1987
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1911
1988
|
*/
|
|
1912
1989
|
var GgQuestionnaireV2Module = /** @class */ (function () {
|
|
1913
1990
|
function GgQuestionnaireV2Module() {
|
|
@@ -1950,7 +2027,7 @@ var GgQuestionnaireV2Module = /** @class */ (function () {
|
|
|
1950
2027
|
|
|
1951
2028
|
/**
|
|
1952
2029
|
* @fileoverview added by tsickle
|
|
1953
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2030
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1954
2031
|
*/
|
|
1955
2032
|
/** @enum {string} */
|
|
1956
2033
|
var InputType = {
|
|
@@ -1969,7 +2046,7 @@ var InputType = {
|
|
|
1969
2046
|
|
|
1970
2047
|
/**
|
|
1971
2048
|
* @fileoverview added by tsickle
|
|
1972
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2049
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1973
2050
|
*/
|
|
1974
2051
|
/** @enum {string} */
|
|
1975
2052
|
var RepeaterQuestionType = {
|
|
@@ -1979,14 +2056,13 @@ var RepeaterQuestionType = {
|
|
|
1979
2056
|
|
|
1980
2057
|
/**
|
|
1981
2058
|
* @fileoverview added by tsickle
|
|
1982
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2059
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1983
2060
|
*/
|
|
1984
2061
|
|
|
1985
2062
|
/**
|
|
1986
2063
|
* @fileoverview added by tsickle
|
|
1987
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2064
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1988
2065
|
*/
|
|
1989
2066
|
|
|
1990
|
-
export {
|
|
1991
|
-
|
|
1992
|
-
//# sourceMappingURL=glowgreen-gg-questionnaire-v2.js.map
|
|
2067
|
+
export { ConditionRelationship, ConditionType, GgQuestionnaireV2Module, InputType, QuestionType, QuestionnaireService, RepeaterQuestionType, ValidationType, FormConstructorService as ɵa, FilterService as ɵb };
|
|
2068
|
+
//# sourceMappingURL=glowgreen-gg-questionnaire-v2.js.map
|