@rangertechnologies/ngnxt 2.1.76 → 2.1.77
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/README.md +29 -29
- package/esm2022/lib/ar.i18n.mjs +29 -29
- package/esm2022/lib/components/custom-button/custom-button.component.mjs +39 -39
- package/esm2022/lib/components/custom-calendar/custom-calendar.component.mjs +366 -366
- package/esm2022/lib/components/custom-date/custom-date.component.mjs +47 -47
- package/esm2022/lib/components/custom-date-picker/custom-date-picker.component.mjs +48 -48
- package/esm2022/lib/components/custom-dropdown/custom-dropdown.component.mjs +219 -212
- package/esm2022/lib/components/custom-image/custom-image.component.mjs +34 -34
- package/esm2022/lib/components/custom-input/custom-input.component.mjs +93 -93
- package/esm2022/lib/components/custom-label/custom-label.component.mjs +21 -21
- package/esm2022/lib/components/custom-model/custom-model.component.mjs +48 -48
- package/esm2022/lib/components/custom-radio/custom-radio.component.mjs +115 -115
- package/esm2022/lib/components/custom-rich-text/custom-rich-text.component.mjs +177 -0
- package/esm2022/lib/components/custom-table/custom-table.component.mjs +169 -169
- package/esm2022/lib/components/custom-text-area/custom-text-area.component.mjs +65 -65
- package/esm2022/lib/components/custom-time/custom-time.component.mjs +61 -61
- package/esm2022/lib/components/dependent-table/dependent-table.component.mjs +42 -42
- package/esm2022/lib/components/dropdown-with-flag/dropdown-with-flag.component.mjs +39 -39
- package/esm2022/lib/components/file-upload/file-upload.component.mjs +233 -233
- package/esm2022/lib/components/file-view/file-view.component.mjs +46 -46
- package/esm2022/lib/components/loader/loader.component.mjs +23 -23
- package/esm2022/lib/components/pick-location/pick-location.component.mjs +188 -188
- package/esm2022/lib/components/search-box/search-box.component.mjs +130 -130
- package/esm2022/lib/components/table-appendix/table-appendix.component.mjs +123 -123
- package/esm2022/lib/directives/componenthost/componenthost.directive.mjs +19 -19
- package/esm2022/lib/en.i18n.mjs +29 -29
- package/esm2022/lib/i18n-config.service.mjs +4 -4
- package/esm2022/lib/i18n.component.mjs +47 -47
- package/esm2022/lib/i18n.module.mjs +38 -38
- package/esm2022/lib/i18n.pipe.mjs +25 -25
- package/esm2022/lib/i18n.service.mjs +56 -56
- package/esm2022/lib/interfaces/actionMeta.mjs +2 -2
- package/esm2022/lib/interfaces/apimeta.mjs +2 -2
- package/esm2022/lib/interfaces/dependencyMeta.mjs +2 -2
- package/esm2022/lib/model/bookletWrapper.mjs +9 -9
- package/esm2022/lib/model/changeWrapper.mjs +11 -11
- package/esm2022/lib/model/errorWrapper.mjs +6 -6
- package/esm2022/lib/model/tableWrapper.mjs +20 -20
- package/esm2022/lib/nxt-app.component.mjs +22 -22
- package/esm2022/lib/nxt-app.module.mjs +368 -352
- package/esm2022/lib/nxt-app.service.mjs +14 -14
- package/esm2022/lib/pages/booklet/booklet.component.mjs +541 -541
- package/esm2022/lib/pages/questionbook/questionbook.component.mjs +414 -407
- package/esm2022/lib/pages/questionnaire/questionnaire.component.mjs +2392 -2373
- package/esm2022/lib/pages/summary-page/summary-page.component.mjs +76 -76
- package/esm2022/lib/pipe/get-value.pipe.mjs +50 -50
- package/esm2022/lib/sample.mjs +3715 -3431
- package/esm2022/lib/services/change.service.mjs +53 -53
- package/esm2022/lib/services/data.service.mjs +80 -80
- package/esm2022/lib/services/salesforce.service.mjs +46 -46
- package/esm2022/lib/services/shared.service.mjs +100 -100
- package/esm2022/lib/services/storage.service.mjs +44 -44
- package/esm2022/lib/tam.i18n.mjs +29 -29
- package/esm2022/lib/wrapper.mjs +175 -175
- package/esm2022/public-api.mjs +15 -15
- package/esm2022/rangertechnologies-ngnxt.mjs +4 -4
- package/fesm2022/rangertechnologies-ngnxt.mjs +10305 -9805
- package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/ar.i18n.d.ts +24 -24
- package/lib/components/custom-button/custom-button.component.d.ts +16 -16
- package/lib/components/custom-calendar/custom-calendar.component.d.ts +65 -65
- package/lib/components/custom-date/custom-date.component.d.ts +18 -18
- package/lib/components/custom-date-picker/custom-date-picker.component.d.ts +19 -19
- package/lib/components/custom-dropdown/custom-dropdown.component.d.ts +39 -39
- package/lib/components/custom-image/custom-image.component.d.ts +13 -13
- package/lib/components/custom-input/custom-input.component.d.ts +31 -31
- package/lib/components/custom-label/custom-label.component.d.ts +10 -10
- package/lib/components/custom-model/custom-model.component.d.ts +19 -19
- package/lib/components/custom-radio/custom-radio.component.d.ts +33 -33
- package/lib/components/custom-rich-text/custom-rich-text.component.d.ts +29 -0
- package/lib/components/custom-table/custom-table.component.d.ts +43 -43
- package/lib/components/custom-text-area/custom-text-area.component.d.ts +22 -22
- package/lib/components/custom-time/custom-time.component.d.ts +18 -18
- package/lib/components/dependent-table/dependent-table.component.d.ts +15 -15
- package/lib/components/dropdown-with-flag/dropdown-with-flag.component.d.ts +16 -16
- package/lib/components/file-upload/file-upload.component.d.ts +42 -42
- package/lib/components/file-view/file-view.component.d.ts +16 -16
- package/lib/components/loader/loader.component.d.ts +11 -11
- package/lib/components/pick-location/pick-location.component.d.ts +42 -42
- package/lib/components/search-box/search-box.component.d.ts +40 -40
- package/lib/components/table-appendix/table-appendix.component.d.ts +30 -30
- package/lib/directives/componenthost/componenthost.directive.d.ts +8 -8
- package/lib/en.i18n.d.ts +24 -24
- package/lib/i18n-config.service.d.ts +2 -2
- package/lib/i18n.component.d.ts +11 -11
- package/lib/i18n.module.d.ts +9 -9
- package/lib/i18n.pipe.d.ts +10 -10
- package/lib/i18n.service.d.ts +14 -14
- package/lib/interfaces/actionMeta.d.ts +5 -5
- package/lib/interfaces/apimeta.d.ts +14 -13
- package/lib/interfaces/dependencyMeta.d.ts +8 -8
- package/lib/model/bookletWrapper.d.ts +5 -5
- package/lib/model/changeWrapper.d.ts +10 -10
- package/lib/model/errorWrapper.d.ts +5 -5
- package/lib/model/tableWrapper.d.ts +18 -18
- package/lib/nxt-app.component.d.ts +8 -8
- package/lib/nxt-app.module.d.ts +49 -46
- package/lib/nxt-app.service.d.ts +6 -6
- package/lib/pages/booklet/booklet.component.d.ts +68 -68
- package/lib/pages/questionbook/questionbook.component.d.ts +66 -66
- package/lib/pages/questionnaire/questionnaire.component.d.ts +220 -218
- package/lib/pages/summary-page/summary-page.component.d.ts +20 -20
- package/lib/pipe/get-value.pipe.d.ts +7 -7
- package/lib/sample.d.ts +11 -10
- package/lib/services/change.service.d.ts +22 -22
- package/lib/services/data.service.d.ts +13 -13
- package/lib/services/salesforce.service.d.ts +11 -11
- package/lib/services/shared.service.d.ts +15 -15
- package/lib/services/storage.service.d.ts +13 -13
- package/lib/tam.i18n.d.ts +24 -24
- package/lib/wrapper.d.ts +203 -203
- package/package.json +1 -1
- package/public-api.d.ts +10 -10
- package/rangertechnologies-ngnxt-2.1.77.tgz +0 -0
- package/rangertechnologies-ngnxt-2.1.76.tgz +0 -0
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import { OnInit, EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { Question, QuestionBook } from '../../wrapper';
|
|
3
|
-
import { SalesforceService } from "../../services/salesforce.service";
|
|
4
|
-
import { DataService } from '../../services/data.service';
|
|
5
|
-
import { ChangeService } from '../../services/change.service';
|
|
6
|
-
import { StorageService } from '../../services/storage.service';
|
|
7
|
-
import { I18nService } from '../../i18n.service';
|
|
8
|
-
import { BehaviorSubject, Subscription } from 'rxjs';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class QuestionbookComponent implements OnInit {
|
|
11
|
-
private sfService;
|
|
12
|
-
private dataService;
|
|
13
|
-
private changeService;
|
|
14
|
-
private storageService;
|
|
15
|
-
i18nService: I18nService;
|
|
16
|
-
private cdr;
|
|
17
|
-
private document;
|
|
18
|
-
qbItem: QuestionBook;
|
|
19
|
-
questionItem: Question;
|
|
20
|
-
translatedQuestions: any[];
|
|
21
|
-
questions: Question[];
|
|
22
|
-
errorFieldId: any;
|
|
23
|
-
labelValue: string;
|
|
24
|
-
token: string;
|
|
25
|
-
handleDropDown: EventEmitter<any>;
|
|
26
|
-
handleQuestion: EventEmitter<any>;
|
|
27
|
-
dropDownData: any;
|
|
28
|
-
subQuestions: Question[];
|
|
29
|
-
selectedFileData: any[];
|
|
30
|
-
loadComponent$: BehaviorSubject<boolean>;
|
|
31
|
-
qbRef: QuestionBook;
|
|
32
|
-
style: any;
|
|
33
|
-
langDirection: string;
|
|
34
|
-
bookStyle: any;
|
|
35
|
-
subscription: Subscription;
|
|
36
|
-
hadleDropDownDependent: EventEmitter<any>;
|
|
37
|
-
handleCalendarDate: EventEmitter<any>;
|
|
38
|
-
handleCalendarEvent: EventEmitter<any>;
|
|
39
|
-
bookQuestionsMap: any;
|
|
40
|
-
constructor(sfService: SalesforceService, dataService: DataService, changeService: ChangeService, storageService: StorageService, i18nService: I18nService, cdr: ChangeDetectorRef, document: Document);
|
|
41
|
-
ngOnInit(): void;
|
|
42
|
-
processData(): void;
|
|
43
|
-
hideDependentElements(elementId: any): void;
|
|
44
|
-
clearSQError(quesId: any): void;
|
|
45
|
-
processTranslatedQuestions(): void;
|
|
46
|
-
setSubQuestions(records: any): void;
|
|
47
|
-
childEventCapture(event: any, ques?: any): void;
|
|
48
|
-
deleteFile(fileData: any): void;
|
|
49
|
-
getDropDown(event: any): void;
|
|
50
|
-
getCurrentCalendar(event: any): void;
|
|
51
|
-
getCalendarEvent(event: any): void;
|
|
52
|
-
removeCharacters(questionText: string): string;
|
|
53
|
-
isCalendarModalOpen: boolean;
|
|
54
|
-
calendarModalTitle: any;
|
|
55
|
-
calendarModalSize: any;
|
|
56
|
-
calendarSaveButtonValue: any;
|
|
57
|
-
referenceQuestions: any[];
|
|
58
|
-
qbRefrenceBook: any;
|
|
59
|
-
modalCalendarModalFooter: any;
|
|
60
|
-
openCalendarModal(event: any): void;
|
|
61
|
-
onCalendarModalSave(): void;
|
|
62
|
-
handleQuestionEvent(event: any): void;
|
|
63
|
-
closeCalendarModal(event: any): void;
|
|
64
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QuestionbookComponent, never>;
|
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QuestionbookComponent, "lib-questionbook", never, { "qbItem": "qbItem"; "questionItem": "questionItem"; "translatedQuestions": "translatedQuestions"; "questions": "questions"; "errorFieldId": "errorFieldId"; "labelValue": "labelValue"; "token": "token"; "dropDownData": "dropDownData"; }, { "handleDropDown": "handleDropDown"; "handleQuestion": "handleQuestion"; "hadleDropDownDependent": "hadleDropDownDependent"; "handleCalendarDate": "handleCalendarDate"; "handleCalendarEvent": "handleCalendarEvent"; }, never, never, false>;
|
|
66
|
-
}
|
|
1
|
+
import { OnInit, EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { Question, QuestionBook } from '../../wrapper';
|
|
3
|
+
import { SalesforceService } from "../../services/salesforce.service";
|
|
4
|
+
import { DataService } from '../../services/data.service';
|
|
5
|
+
import { ChangeService } from '../../services/change.service';
|
|
6
|
+
import { StorageService } from '../../services/storage.service';
|
|
7
|
+
import { I18nService } from '../../i18n.service';
|
|
8
|
+
import { BehaviorSubject, Subscription } from 'rxjs';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class QuestionbookComponent implements OnInit {
|
|
11
|
+
private sfService;
|
|
12
|
+
private dataService;
|
|
13
|
+
private changeService;
|
|
14
|
+
private storageService;
|
|
15
|
+
i18nService: I18nService;
|
|
16
|
+
private cdr;
|
|
17
|
+
private document;
|
|
18
|
+
qbItem: QuestionBook;
|
|
19
|
+
questionItem: Question;
|
|
20
|
+
translatedQuestions: any[];
|
|
21
|
+
questions: Question[];
|
|
22
|
+
errorFieldId: any;
|
|
23
|
+
labelValue: string;
|
|
24
|
+
token: string;
|
|
25
|
+
handleDropDown: EventEmitter<any>;
|
|
26
|
+
handleQuestion: EventEmitter<any>;
|
|
27
|
+
dropDownData: any;
|
|
28
|
+
subQuestions: Question[];
|
|
29
|
+
selectedFileData: any[];
|
|
30
|
+
loadComponent$: BehaviorSubject<boolean>;
|
|
31
|
+
qbRef: QuestionBook;
|
|
32
|
+
style: any;
|
|
33
|
+
langDirection: string;
|
|
34
|
+
bookStyle: any;
|
|
35
|
+
subscription: Subscription;
|
|
36
|
+
hadleDropDownDependent: EventEmitter<any>;
|
|
37
|
+
handleCalendarDate: EventEmitter<any>;
|
|
38
|
+
handleCalendarEvent: EventEmitter<any>;
|
|
39
|
+
bookQuestionsMap: any;
|
|
40
|
+
constructor(sfService: SalesforceService, dataService: DataService, changeService: ChangeService, storageService: StorageService, i18nService: I18nService, cdr: ChangeDetectorRef, document: Document);
|
|
41
|
+
ngOnInit(): void;
|
|
42
|
+
processData(): void;
|
|
43
|
+
hideDependentElements(elementId: any): void;
|
|
44
|
+
clearSQError(quesId: any): void;
|
|
45
|
+
processTranslatedQuestions(): void;
|
|
46
|
+
setSubQuestions(records: any): void;
|
|
47
|
+
childEventCapture(event: any, ques?: any): void;
|
|
48
|
+
deleteFile(fileData: any): void;
|
|
49
|
+
getDropDown(event: any): void;
|
|
50
|
+
getCurrentCalendar(event: any): void;
|
|
51
|
+
getCalendarEvent(event: any): void;
|
|
52
|
+
removeCharacters(questionText: string): string;
|
|
53
|
+
isCalendarModalOpen: boolean;
|
|
54
|
+
calendarModalTitle: any;
|
|
55
|
+
calendarModalSize: any;
|
|
56
|
+
calendarSaveButtonValue: any;
|
|
57
|
+
referenceQuestions: any[];
|
|
58
|
+
qbRefrenceBook: any;
|
|
59
|
+
modalCalendarModalFooter: any;
|
|
60
|
+
openCalendarModal(event: any): void;
|
|
61
|
+
onCalendarModalSave(): void;
|
|
62
|
+
handleQuestionEvent(event: any): void;
|
|
63
|
+
closeCalendarModal(event: any): void;
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QuestionbookComponent, never>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QuestionbookComponent, "lib-questionbook", never, { "qbItem": "qbItem"; "questionItem": "questionItem"; "translatedQuestions": "translatedQuestions"; "questions": "questions"; "errorFieldId": "errorFieldId"; "labelValue": "labelValue"; "token": "token"; "dropDownData": "dropDownData"; }, { "handleDropDown": "handleDropDown"; "handleQuestion": "handleQuestion"; "hadleDropDownDependent": "hadleDropDownDependent"; "handleCalendarDate": "handleCalendarDate"; "handleCalendarEvent": "handleCalendarEvent"; }, never, never, false>;
|
|
66
|
+
}
|
|
@@ -1,218 +1,220 @@
|
|
|
1
|
-
import { OnInit, EventEmitter, ElementRef, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { ActivatedRoute, Params } from "@angular/router";
|
|
3
|
-
import { SalesforceService } from "../../services/salesforce.service";
|
|
4
|
-
import { IMyDateModel, IMyDpOptions } from "mydatepicker";
|
|
5
|
-
import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
|
|
6
|
-
import { UntypedFormBuilder } from "@angular/forms";
|
|
7
|
-
import { NgxSpinnerService } from "ngx-spinner";
|
|
8
|
-
import { DeviceDetectorService } from 'ngx-device-detector';
|
|
9
|
-
import { DataService } from '../../services/data.service';
|
|
10
|
-
import { ChangeService } from '../../services/change.service';
|
|
11
|
-
import { SharedService } from "../../services/shared.service";
|
|
12
|
-
import { Question, QuestionBook, AnswerBook, AnswerWrapper, OptionValue, LocalQuestion } from "../../wrapper";
|
|
13
|
-
import { I18nService } from "../../i18n.service";
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
export declare class QuestionnaireComponent implements OnInit {
|
|
16
|
-
private sfService;
|
|
17
|
-
private dataService;
|
|
18
|
-
private changeService;
|
|
19
|
-
private sharedService;
|
|
20
|
-
private route;
|
|
21
|
-
private sanitizer;
|
|
22
|
-
private spinner;
|
|
23
|
-
private _formBuilder;
|
|
24
|
-
private deviceService;
|
|
25
|
-
i18nService: I18nService;
|
|
26
|
-
qbId: string;
|
|
27
|
-
insuranceStartDate: string;
|
|
28
|
-
serv: string;
|
|
29
|
-
tkn: string;
|
|
30
|
-
api: string;
|
|
31
|
-
handleEvent: EventEmitter<any>;
|
|
32
|
-
handlePage: EventEmitter<any>;
|
|
33
|
-
handleQuestion: EventEmitter<any>;
|
|
34
|
-
handleBook: EventEmitter<any>;
|
|
35
|
-
handleSubmit: EventEmitter<any>;
|
|
36
|
-
params: Params;
|
|
37
|
-
deviceInfo: any;
|
|
38
|
-
abItem: AnswerBook;
|
|
39
|
-
qbItem: QuestionBook;
|
|
40
|
-
questionItem: Question;
|
|
41
|
-
answerWrap: AnswerWrapper;
|
|
42
|
-
radioFlag: boolean;
|
|
43
|
-
dataFlag: boolean;
|
|
44
|
-
dropdownFlag: boolean;
|
|
45
|
-
checkboxFlag: boolean;
|
|
46
|
-
textFlag: boolean;
|
|
47
|
-
taFlag: boolean;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
private
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
private
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
private
|
|
156
|
-
private
|
|
157
|
-
private
|
|
158
|
-
private
|
|
159
|
-
private
|
|
160
|
-
private
|
|
161
|
-
private
|
|
162
|
-
private
|
|
163
|
-
private
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
private
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
private
|
|
170
|
-
private
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
private
|
|
187
|
-
private
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
private
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
1
|
+
import { OnInit, EventEmitter, ElementRef, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { ActivatedRoute, Params } from "@angular/router";
|
|
3
|
+
import { SalesforceService } from "../../services/salesforce.service";
|
|
4
|
+
import { IMyDateModel, IMyDpOptions } from "mydatepicker";
|
|
5
|
+
import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
|
|
6
|
+
import { UntypedFormBuilder } from "@angular/forms";
|
|
7
|
+
import { NgxSpinnerService } from "ngx-spinner";
|
|
8
|
+
import { DeviceDetectorService } from 'ngx-device-detector';
|
|
9
|
+
import { DataService } from '../../services/data.service';
|
|
10
|
+
import { ChangeService } from '../../services/change.service';
|
|
11
|
+
import { SharedService } from "../../services/shared.service";
|
|
12
|
+
import { Question, QuestionBook, AnswerBook, AnswerWrapper, OptionValue, LocalQuestion } from "../../wrapper";
|
|
13
|
+
import { I18nService } from "../../i18n.service";
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
export declare class QuestionnaireComponent implements OnInit {
|
|
16
|
+
private sfService;
|
|
17
|
+
private dataService;
|
|
18
|
+
private changeService;
|
|
19
|
+
private sharedService;
|
|
20
|
+
private route;
|
|
21
|
+
private sanitizer;
|
|
22
|
+
private spinner;
|
|
23
|
+
private _formBuilder;
|
|
24
|
+
private deviceService;
|
|
25
|
+
i18nService: I18nService;
|
|
26
|
+
qbId: string;
|
|
27
|
+
insuranceStartDate: string;
|
|
28
|
+
serv: string;
|
|
29
|
+
tkn: string;
|
|
30
|
+
api: string;
|
|
31
|
+
handleEvent: EventEmitter<any>;
|
|
32
|
+
handlePage: EventEmitter<any>;
|
|
33
|
+
handleQuestion: EventEmitter<any>;
|
|
34
|
+
handleBook: EventEmitter<any>;
|
|
35
|
+
handleSubmit: EventEmitter<any>;
|
|
36
|
+
params: Params;
|
|
37
|
+
deviceInfo: any;
|
|
38
|
+
abItem: AnswerBook;
|
|
39
|
+
qbItem: QuestionBook;
|
|
40
|
+
questionItem: Question;
|
|
41
|
+
answerWrap: AnswerWrapper;
|
|
42
|
+
radioFlag: boolean;
|
|
43
|
+
dataFlag: boolean;
|
|
44
|
+
dropdownFlag: boolean;
|
|
45
|
+
checkboxFlag: boolean;
|
|
46
|
+
textFlag: boolean;
|
|
47
|
+
taFlag: boolean;
|
|
48
|
+
rtaFlag: boolean;
|
|
49
|
+
dtFlag: boolean;
|
|
50
|
+
timeFlag: boolean;
|
|
51
|
+
dateFlag: boolean;
|
|
52
|
+
fileFlag: boolean;
|
|
53
|
+
emailFlag: boolean;
|
|
54
|
+
numberFlag: boolean;
|
|
55
|
+
alphanumericFlag: boolean;
|
|
56
|
+
bookFlag: boolean;
|
|
57
|
+
listFlag: boolean;
|
|
58
|
+
backButtonFlag: boolean;
|
|
59
|
+
isButtonDisabled: boolean;
|
|
60
|
+
optionValues: OptionValue[];
|
|
61
|
+
subQuestions: Question[];
|
|
62
|
+
inpValue: string;
|
|
63
|
+
answerMap: Map<any, any>;
|
|
64
|
+
dateMap: Map<any, any>;
|
|
65
|
+
selectedhourMap: Map<any, any>;
|
|
66
|
+
selectedminuteMap: Map<any, any>;
|
|
67
|
+
attachmentsMap: Map<any, any>;
|
|
68
|
+
sqOptions: Map<any, any>;
|
|
69
|
+
subAnsMap: Map<any, any>;
|
|
70
|
+
localSubQuestions: LocalQuestion[];
|
|
71
|
+
questionStack: any[];
|
|
72
|
+
questionName: any[];
|
|
73
|
+
attachments: any[];
|
|
74
|
+
attachmentIdList: any[];
|
|
75
|
+
attachmentId: string;
|
|
76
|
+
attachment: any;
|
|
77
|
+
allowedFileExtension: string[];
|
|
78
|
+
fileExceededLimit: boolean;
|
|
79
|
+
fileTypeIncorrect: boolean;
|
|
80
|
+
back: boolean;
|
|
81
|
+
backicon: boolean;
|
|
82
|
+
check: boolean;
|
|
83
|
+
pop: boolean;
|
|
84
|
+
localDate: string;
|
|
85
|
+
currentName: string;
|
|
86
|
+
pathquestion: number;
|
|
87
|
+
percent: number;
|
|
88
|
+
count: number;
|
|
89
|
+
taFocusOut: boolean;
|
|
90
|
+
notValidAccNum: boolean;
|
|
91
|
+
splCCBackClick: boolean;
|
|
92
|
+
summary: any[];
|
|
93
|
+
localSubQMap: Map<any, any>;
|
|
94
|
+
keyIndex: number;
|
|
95
|
+
selDate: any;
|
|
96
|
+
selectDate: string;
|
|
97
|
+
private today;
|
|
98
|
+
private el;
|
|
99
|
+
innerhtml: any;
|
|
100
|
+
possibilities: any;
|
|
101
|
+
innerhtml1: any;
|
|
102
|
+
summaryData: any[];
|
|
103
|
+
hours: any[];
|
|
104
|
+
minutes: string[];
|
|
105
|
+
selectedHour: string;
|
|
106
|
+
selectedMinute: string;
|
|
107
|
+
selectedMeridiem: string;
|
|
108
|
+
valueName: string;
|
|
109
|
+
valueName1: string;
|
|
110
|
+
bookFlagAccept: string[];
|
|
111
|
+
recordId: string;
|
|
112
|
+
currentQuestionId: string;
|
|
113
|
+
spinnerType: string;
|
|
114
|
+
spinnerName: string;
|
|
115
|
+
nextValue: string;
|
|
116
|
+
start_date?: any;
|
|
117
|
+
tempoAddress: any[];
|
|
118
|
+
selectedValue: string;
|
|
119
|
+
selectedPostalcode: string;
|
|
120
|
+
selectedProvince: string;
|
|
121
|
+
selectedCity: string;
|
|
122
|
+
selectedArea: string;
|
|
123
|
+
localaddress: any[];
|
|
124
|
+
allAddress: any[];
|
|
125
|
+
PostalCode: string;
|
|
126
|
+
places: any[];
|
|
127
|
+
province: any[];
|
|
128
|
+
progressStyle: string;
|
|
129
|
+
answerCount: number;
|
|
130
|
+
indexCount: number;
|
|
131
|
+
addFlag: boolean;
|
|
132
|
+
myDatePickerOptions: IMyDpOptions;
|
|
133
|
+
individualBookButton: boolean;
|
|
134
|
+
allInputValues: any[];
|
|
135
|
+
constructor(sfService: SalesforceService, dataService: DataService, changeService: ChangeService, sharedService: SharedService, route: ActivatedRoute, sanitizer: DomSanitizer, spinner: NgxSpinnerService, _formBuilder: UntypedFormBuilder, deviceService: DeviceDetectorService, el: ElementRef, i18nService: I18nService);
|
|
136
|
+
onDateChanged(event: IMyDateModel, ques: any): void;
|
|
137
|
+
ngOnInit(): void;
|
|
138
|
+
ngOnChanges(simplechanges: SimpleChanges): void;
|
|
139
|
+
date_TimeMap(): void;
|
|
140
|
+
day(): void;
|
|
141
|
+
change(): void;
|
|
142
|
+
processQB(): void;
|
|
143
|
+
trimLastDummy(input: string): string;
|
|
144
|
+
getProperTime(def: string, input: string): string;
|
|
145
|
+
handleEditClick(value: string): void;
|
|
146
|
+
handleNextClick(): void;
|
|
147
|
+
AnswerSave(): void;
|
|
148
|
+
next(): void;
|
|
149
|
+
getText(value: any): SafeHtml;
|
|
150
|
+
handleBackClick(): void;
|
|
151
|
+
handleBackClickNew(): void;
|
|
152
|
+
private updateAnswerBook;
|
|
153
|
+
private successupdateAB;
|
|
154
|
+
deleteAnswers(answerbook: any): void;
|
|
155
|
+
private successDeleteAB;
|
|
156
|
+
private failureupdateAB;
|
|
157
|
+
private readQuestionBook;
|
|
158
|
+
private successReadBook;
|
|
159
|
+
private failureReadBook;
|
|
160
|
+
private readAnswerbook;
|
|
161
|
+
private successAnswerBookRead;
|
|
162
|
+
private failureAnswerBookRead;
|
|
163
|
+
private readQuestion;
|
|
164
|
+
private successRead;
|
|
165
|
+
trackId(): void;
|
|
166
|
+
private failureRead;
|
|
167
|
+
private saveAnswer;
|
|
168
|
+
htmlDecode(input: any): string;
|
|
169
|
+
private successSave;
|
|
170
|
+
private failureSave;
|
|
171
|
+
private processQuestion;
|
|
172
|
+
setFlag(typ: any): void;
|
|
173
|
+
resetFlag(typ: any): void;
|
|
174
|
+
setOptions(records: any): void;
|
|
175
|
+
childEventCapture(event: any, ques?: any): void;
|
|
176
|
+
handleRichTextChange(value: string): void;
|
|
177
|
+
setSubQuestions(records: any): void;
|
|
178
|
+
optionChange(selValue: any): void;
|
|
179
|
+
clearError(): void;
|
|
180
|
+
clearLocalSubQuesError(quesId: any): void;
|
|
181
|
+
inputValidate(e: any): boolean;
|
|
182
|
+
CCOnChange(inpValue: string): void;
|
|
183
|
+
isNotValidAccNumber(s: string): boolean;
|
|
184
|
+
clearSQError(quesId: any): void;
|
|
185
|
+
uploadFile(event: any, ques?: any): void;
|
|
186
|
+
private successAttachmentCreate;
|
|
187
|
+
private successAttachmentDelete;
|
|
188
|
+
private failureAttachmentCreate;
|
|
189
|
+
private failureAttachmentDelete;
|
|
190
|
+
handleSubmitClick(): void;
|
|
191
|
+
handleCancelClick(): void;
|
|
192
|
+
private createAttachment;
|
|
193
|
+
deleteAttachment(attachmentId: string): void;
|
|
194
|
+
private deleteSFAttachment;
|
|
195
|
+
getFileName(fileNamewithIdandType: any): any;
|
|
196
|
+
fileUI(): void;
|
|
197
|
+
updateProgress(): void;
|
|
198
|
+
townName(area: any): void;
|
|
199
|
+
getTownLocal(): void;
|
|
200
|
+
clearList(): void;
|
|
201
|
+
setSearchListWidth(): void;
|
|
202
|
+
getCode(): void;
|
|
203
|
+
getPostalcode(value: any): void;
|
|
204
|
+
closeDropdown(): void;
|
|
205
|
+
structLocalSubQuestion(ques: LocalQuestion): void;
|
|
206
|
+
addInputBox(question: LocalQuestion, index: number): void;
|
|
207
|
+
removeAddress(quesUniqueId: string, qName: string): void;
|
|
208
|
+
getLocalSubQuestions(id: String): any;
|
|
209
|
+
Add(question: LocalQuestion): void;
|
|
210
|
+
handleLocationSelected(location: any, ques: any): void;
|
|
211
|
+
selectedInput(input: any, ques: any): void;
|
|
212
|
+
handleTextareaValueChange(value: string): void;
|
|
213
|
+
getData(data: any): void;
|
|
214
|
+
dependentChange(value: any): void;
|
|
215
|
+
displayDate(dateSelected: any, ques: any): void;
|
|
216
|
+
getKey(item: any): any;
|
|
217
|
+
getValue(item: any): any;
|
|
218
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QuestionnaireComponent, never>;
|
|
219
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QuestionnaireComponent, "lib-questionnaire", never, { "qbId": "qbId"; "insuranceStartDate": "insuranceStartDate"; "serv": "serv"; "tkn": "tkn"; "api": "api"; }, { "handleEvent": "handleEvent"; "handlePage": "handlePage"; "handleQuestion": "handleQuestion"; "handleBook": "handleBook"; "handleSubmit": "handleSubmit"; }, never, never, false>;
|
|
220
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { I18nService } from '../../i18n.service';
|
|
3
|
-
import { ActionMeta } from '../../interfaces/actionMeta';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SummaryPageComponent implements OnInit {
|
|
6
|
-
i18nService: I18nService;
|
|
7
|
-
answerJson: any;
|
|
8
|
-
api: string;
|
|
9
|
-
booklet: any[];
|
|
10
|
-
bookQuestionsMap: any;
|
|
11
|
-
actions: ActionMeta[];
|
|
12
|
-
private sqOptions;
|
|
13
|
-
questions: any[];
|
|
14
|
-
filteredQuestion: any[];
|
|
15
|
-
constructor(i18nService: I18nService);
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
processSummary(data: any): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SummaryPageComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SummaryPageComponent, "lib-summary-page", never, { "answerJson": "answerJson"; "api": "api"; }, {}, never, never, false>;
|
|
20
|
-
}
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { I18nService } from '../../i18n.service';
|
|
3
|
+
import { ActionMeta } from '../../interfaces/actionMeta';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SummaryPageComponent implements OnInit {
|
|
6
|
+
i18nService: I18nService;
|
|
7
|
+
answerJson: any;
|
|
8
|
+
api: string;
|
|
9
|
+
booklet: any[];
|
|
10
|
+
bookQuestionsMap: any;
|
|
11
|
+
actions: ActionMeta[];
|
|
12
|
+
private sqOptions;
|
|
13
|
+
questions: any[];
|
|
14
|
+
filteredQuestion: any[];
|
|
15
|
+
constructor(i18nService: I18nService);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
processSummary(data: any): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SummaryPageComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SummaryPageComponent, "lib-summary-page", never, { "answerJson": "answerJson"; "api": "api"; }, {}, never, never, false>;
|
|
20
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class GetValuePipe implements PipeTransform {
|
|
4
|
-
transform(arg: any, element: any, column: any): any;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GetValuePipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<GetValuePipe, "getValue", true>;
|
|
7
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GetValuePipe implements PipeTransform {
|
|
4
|
+
transform(arg: any, element: any, column: any): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetValuePipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<GetValuePipe, "getValue", true>;
|
|
7
|
+
}
|