@rangertechnologies/ngnxt 2.1.76 → 2.1.78
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-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 +352 -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 +407 -407
- package/esm2022/lib/pages/questionnaire/questionnaire.component.mjs +2373 -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 +3430 -3430
- 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 +9812 -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-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 +46 -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 +218 -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 +10 -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.78.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,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
|
-
dtFlag: boolean;
|
|
49
|
-
timeFlag: boolean;
|
|
50
|
-
dateFlag: boolean;
|
|
51
|
-
fileFlag: boolean;
|
|
52
|
-
emailFlag: boolean;
|
|
53
|
-
numberFlag: boolean;
|
|
54
|
-
alphanumericFlag: boolean;
|
|
55
|
-
bookFlag: boolean;
|
|
56
|
-
listFlag: boolean;
|
|
57
|
-
backButtonFlag: boolean;
|
|
58
|
-
isButtonDisabled: boolean;
|
|
59
|
-
optionValues: OptionValue[];
|
|
60
|
-
subQuestions: Question[];
|
|
61
|
-
inpValue: string;
|
|
62
|
-
answerMap: Map<any, any>;
|
|
63
|
-
dateMap: Map<any, any>;
|
|
64
|
-
selectedhourMap: Map<any, any>;
|
|
65
|
-
selectedminuteMap: Map<any, any>;
|
|
66
|
-
attachmentsMap: Map<any, any>;
|
|
67
|
-
sqOptions: Map<any, any>;
|
|
68
|
-
subAnsMap: Map<any, any>;
|
|
69
|
-
localSubQuestions: LocalQuestion[];
|
|
70
|
-
questionStack: any[];
|
|
71
|
-
questionName: any[];
|
|
72
|
-
attachments: any[];
|
|
73
|
-
attachmentIdList: any[];
|
|
74
|
-
attachmentId: string;
|
|
75
|
-
attachment: any;
|
|
76
|
-
allowedFileExtension: string[];
|
|
77
|
-
fileExceededLimit: boolean;
|
|
78
|
-
fileTypeIncorrect: boolean;
|
|
79
|
-
back: boolean;
|
|
80
|
-
backicon: boolean;
|
|
81
|
-
check: boolean;
|
|
82
|
-
pop: boolean;
|
|
83
|
-
localDate: string;
|
|
84
|
-
currentName: string;
|
|
85
|
-
pathquestion: number;
|
|
86
|
-
percent: number;
|
|
87
|
-
count: number;
|
|
88
|
-
taFocusOut: boolean;
|
|
89
|
-
notValidAccNum: boolean;
|
|
90
|
-
splCCBackClick: boolean;
|
|
91
|
-
summary: any[];
|
|
92
|
-
localSubQMap: Map<any, any>;
|
|
93
|
-
keyIndex: number;
|
|
94
|
-
selDate: any;
|
|
95
|
-
selectDate: string;
|
|
96
|
-
private today;
|
|
97
|
-
private el;
|
|
98
|
-
innerhtml: any;
|
|
99
|
-
possibilities: any;
|
|
100
|
-
innerhtml1: any;
|
|
101
|
-
summaryData: any[];
|
|
102
|
-
hours: any[];
|
|
103
|
-
minutes: string[];
|
|
104
|
-
selectedHour: string;
|
|
105
|
-
selectedMinute: string;
|
|
106
|
-
selectedMeridiem: string;
|
|
107
|
-
valueName: string;
|
|
108
|
-
valueName1: string;
|
|
109
|
-
bookFlagAccept: string[];
|
|
110
|
-
recordId: string;
|
|
111
|
-
currentQuestionId: string;
|
|
112
|
-
spinnerType: string;
|
|
113
|
-
spinnerName: string;
|
|
114
|
-
nextValue: string;
|
|
115
|
-
start_date?: any;
|
|
116
|
-
tempoAddress: any[];
|
|
117
|
-
selectedValue: string;
|
|
118
|
-
selectedPostalcode: string;
|
|
119
|
-
selectedProvince: string;
|
|
120
|
-
selectedCity: string;
|
|
121
|
-
selectedArea: string;
|
|
122
|
-
localaddress: any[];
|
|
123
|
-
allAddress: any[];
|
|
124
|
-
PostalCode: string;
|
|
125
|
-
places: any[];
|
|
126
|
-
province: any[];
|
|
127
|
-
progressStyle: string;
|
|
128
|
-
answerCount: number;
|
|
129
|
-
indexCount: number;
|
|
130
|
-
addFlag: boolean;
|
|
131
|
-
myDatePickerOptions: IMyDpOptions;
|
|
132
|
-
individualBookButton: boolean;
|
|
133
|
-
allInputValues: any[];
|
|
134
|
-
constructor(sfService: SalesforceService, dataService: DataService, changeService: ChangeService, sharedService: SharedService, route: ActivatedRoute, sanitizer: DomSanitizer, spinner: NgxSpinnerService, _formBuilder: UntypedFormBuilder, deviceService: DeviceDetectorService, el: ElementRef, i18nService: I18nService);
|
|
135
|
-
onDateChanged(event: IMyDateModel, ques: any): void;
|
|
136
|
-
ngOnInit(): void;
|
|
137
|
-
ngOnChanges(simplechanges: SimpleChanges): void;
|
|
138
|
-
date_TimeMap(): void;
|
|
139
|
-
day(): void;
|
|
140
|
-
change(): void;
|
|
141
|
-
processQB(): void;
|
|
142
|
-
trimLastDummy(input: string): string;
|
|
143
|
-
getProperTime(def: string, input: string): string;
|
|
144
|
-
handleEditClick(value: string): void;
|
|
145
|
-
handleNextClick(): void;
|
|
146
|
-
AnswerSave(): void;
|
|
147
|
-
next(): void;
|
|
148
|
-
getText(value: any): SafeHtml;
|
|
149
|
-
handleBackClick(): void;
|
|
150
|
-
handleBackClickNew(): void;
|
|
151
|
-
private updateAnswerBook;
|
|
152
|
-
private successupdateAB;
|
|
153
|
-
deleteAnswers(answerbook: any): void;
|
|
154
|
-
private successDeleteAB;
|
|
155
|
-
private failureupdateAB;
|
|
156
|
-
private readQuestionBook;
|
|
157
|
-
private successReadBook;
|
|
158
|
-
private failureReadBook;
|
|
159
|
-
private readAnswerbook;
|
|
160
|
-
private successAnswerBookRead;
|
|
161
|
-
private failureAnswerBookRead;
|
|
162
|
-
private readQuestion;
|
|
163
|
-
private successRead;
|
|
164
|
-
trackId(): void;
|
|
165
|
-
private failureRead;
|
|
166
|
-
private saveAnswer;
|
|
167
|
-
htmlDecode(input: any): string;
|
|
168
|
-
private successSave;
|
|
169
|
-
private failureSave;
|
|
170
|
-
private processQuestion;
|
|
171
|
-
setFlag(typ: any): void;
|
|
172
|
-
resetFlag(typ: any): void;
|
|
173
|
-
setOptions(records: any): void;
|
|
174
|
-
childEventCapture(event: any, ques?: any): void;
|
|
175
|
-
setSubQuestions(records: any): void;
|
|
176
|
-
optionChange(selValue: any): void;
|
|
177
|
-
clearError(): void;
|
|
178
|
-
clearLocalSubQuesError(quesId: any): void;
|
|
179
|
-
inputValidate(e: any): boolean;
|
|
180
|
-
CCOnChange(inpValue: string): void;
|
|
181
|
-
isNotValidAccNumber(s: string): boolean;
|
|
182
|
-
clearSQError(quesId: any): void;
|
|
183
|
-
uploadFile(event: any, ques?: any): void;
|
|
184
|
-
private successAttachmentCreate;
|
|
185
|
-
private successAttachmentDelete;
|
|
186
|
-
private failureAttachmentCreate;
|
|
187
|
-
private failureAttachmentDelete;
|
|
188
|
-
handleSubmitClick(): void;
|
|
189
|
-
handleCancelClick(): void;
|
|
190
|
-
private createAttachment;
|
|
191
|
-
deleteAttachment(attachmentId: string): void;
|
|
192
|
-
private deleteSFAttachment;
|
|
193
|
-
getFileName(fileNamewithIdandType: any): any;
|
|
194
|
-
fileUI(): void;
|
|
195
|
-
updateProgress(): void;
|
|
196
|
-
townName(area: any): void;
|
|
197
|
-
getTownLocal(): void;
|
|
198
|
-
clearList(): void;
|
|
199
|
-
setSearchListWidth(): void;
|
|
200
|
-
getCode(): void;
|
|
201
|
-
getPostalcode(value: any): void;
|
|
202
|
-
closeDropdown(): void;
|
|
203
|
-
structLocalSubQuestion(ques: LocalQuestion): void;
|
|
204
|
-
addInputBox(question: LocalQuestion, index: number): void;
|
|
205
|
-
removeAddress(quesUniqueId: string, qName: string): void;
|
|
206
|
-
getLocalSubQuestions(id: String): any;
|
|
207
|
-
Add(question: LocalQuestion): void;
|
|
208
|
-
handleLocationSelected(location: any, ques: any): void;
|
|
209
|
-
selectedInput(input: any, ques: any): void;
|
|
210
|
-
handleTextareaValueChange(value: string): void;
|
|
211
|
-
getData(data: any): void;
|
|
212
|
-
dependentChange(value: any): void;
|
|
213
|
-
displayDate(dateSelected: any, ques: any): void;
|
|
214
|
-
getKey(item: any): any;
|
|
215
|
-
getValue(item: any): any;
|
|
216
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QuestionnaireComponent, never>;
|
|
217
|
-
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>;
|
|
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
|
+
dtFlag: boolean;
|
|
49
|
+
timeFlag: boolean;
|
|
50
|
+
dateFlag: boolean;
|
|
51
|
+
fileFlag: boolean;
|
|
52
|
+
emailFlag: boolean;
|
|
53
|
+
numberFlag: boolean;
|
|
54
|
+
alphanumericFlag: boolean;
|
|
55
|
+
bookFlag: boolean;
|
|
56
|
+
listFlag: boolean;
|
|
57
|
+
backButtonFlag: boolean;
|
|
58
|
+
isButtonDisabled: boolean;
|
|
59
|
+
optionValues: OptionValue[];
|
|
60
|
+
subQuestions: Question[];
|
|
61
|
+
inpValue: string;
|
|
62
|
+
answerMap: Map<any, any>;
|
|
63
|
+
dateMap: Map<any, any>;
|
|
64
|
+
selectedhourMap: Map<any, any>;
|
|
65
|
+
selectedminuteMap: Map<any, any>;
|
|
66
|
+
attachmentsMap: Map<any, any>;
|
|
67
|
+
sqOptions: Map<any, any>;
|
|
68
|
+
subAnsMap: Map<any, any>;
|
|
69
|
+
localSubQuestions: LocalQuestion[];
|
|
70
|
+
questionStack: any[];
|
|
71
|
+
questionName: any[];
|
|
72
|
+
attachments: any[];
|
|
73
|
+
attachmentIdList: any[];
|
|
74
|
+
attachmentId: string;
|
|
75
|
+
attachment: any;
|
|
76
|
+
allowedFileExtension: string[];
|
|
77
|
+
fileExceededLimit: boolean;
|
|
78
|
+
fileTypeIncorrect: boolean;
|
|
79
|
+
back: boolean;
|
|
80
|
+
backicon: boolean;
|
|
81
|
+
check: boolean;
|
|
82
|
+
pop: boolean;
|
|
83
|
+
localDate: string;
|
|
84
|
+
currentName: string;
|
|
85
|
+
pathquestion: number;
|
|
86
|
+
percent: number;
|
|
87
|
+
count: number;
|
|
88
|
+
taFocusOut: boolean;
|
|
89
|
+
notValidAccNum: boolean;
|
|
90
|
+
splCCBackClick: boolean;
|
|
91
|
+
summary: any[];
|
|
92
|
+
localSubQMap: Map<any, any>;
|
|
93
|
+
keyIndex: number;
|
|
94
|
+
selDate: any;
|
|
95
|
+
selectDate: string;
|
|
96
|
+
private today;
|
|
97
|
+
private el;
|
|
98
|
+
innerhtml: any;
|
|
99
|
+
possibilities: any;
|
|
100
|
+
innerhtml1: any;
|
|
101
|
+
summaryData: any[];
|
|
102
|
+
hours: any[];
|
|
103
|
+
minutes: string[];
|
|
104
|
+
selectedHour: string;
|
|
105
|
+
selectedMinute: string;
|
|
106
|
+
selectedMeridiem: string;
|
|
107
|
+
valueName: string;
|
|
108
|
+
valueName1: string;
|
|
109
|
+
bookFlagAccept: string[];
|
|
110
|
+
recordId: string;
|
|
111
|
+
currentQuestionId: string;
|
|
112
|
+
spinnerType: string;
|
|
113
|
+
spinnerName: string;
|
|
114
|
+
nextValue: string;
|
|
115
|
+
start_date?: any;
|
|
116
|
+
tempoAddress: any[];
|
|
117
|
+
selectedValue: string;
|
|
118
|
+
selectedPostalcode: string;
|
|
119
|
+
selectedProvince: string;
|
|
120
|
+
selectedCity: string;
|
|
121
|
+
selectedArea: string;
|
|
122
|
+
localaddress: any[];
|
|
123
|
+
allAddress: any[];
|
|
124
|
+
PostalCode: string;
|
|
125
|
+
places: any[];
|
|
126
|
+
province: any[];
|
|
127
|
+
progressStyle: string;
|
|
128
|
+
answerCount: number;
|
|
129
|
+
indexCount: number;
|
|
130
|
+
addFlag: boolean;
|
|
131
|
+
myDatePickerOptions: IMyDpOptions;
|
|
132
|
+
individualBookButton: boolean;
|
|
133
|
+
allInputValues: any[];
|
|
134
|
+
constructor(sfService: SalesforceService, dataService: DataService, changeService: ChangeService, sharedService: SharedService, route: ActivatedRoute, sanitizer: DomSanitizer, spinner: NgxSpinnerService, _formBuilder: UntypedFormBuilder, deviceService: DeviceDetectorService, el: ElementRef, i18nService: I18nService);
|
|
135
|
+
onDateChanged(event: IMyDateModel, ques: any): void;
|
|
136
|
+
ngOnInit(): void;
|
|
137
|
+
ngOnChanges(simplechanges: SimpleChanges): void;
|
|
138
|
+
date_TimeMap(): void;
|
|
139
|
+
day(): void;
|
|
140
|
+
change(): void;
|
|
141
|
+
processQB(): void;
|
|
142
|
+
trimLastDummy(input: string): string;
|
|
143
|
+
getProperTime(def: string, input: string): string;
|
|
144
|
+
handleEditClick(value: string): void;
|
|
145
|
+
handleNextClick(): void;
|
|
146
|
+
AnswerSave(): void;
|
|
147
|
+
next(): void;
|
|
148
|
+
getText(value: any): SafeHtml;
|
|
149
|
+
handleBackClick(): void;
|
|
150
|
+
handleBackClickNew(): void;
|
|
151
|
+
private updateAnswerBook;
|
|
152
|
+
private successupdateAB;
|
|
153
|
+
deleteAnswers(answerbook: any): void;
|
|
154
|
+
private successDeleteAB;
|
|
155
|
+
private failureupdateAB;
|
|
156
|
+
private readQuestionBook;
|
|
157
|
+
private successReadBook;
|
|
158
|
+
private failureReadBook;
|
|
159
|
+
private readAnswerbook;
|
|
160
|
+
private successAnswerBookRead;
|
|
161
|
+
private failureAnswerBookRead;
|
|
162
|
+
private readQuestion;
|
|
163
|
+
private successRead;
|
|
164
|
+
trackId(): void;
|
|
165
|
+
private failureRead;
|
|
166
|
+
private saveAnswer;
|
|
167
|
+
htmlDecode(input: any): string;
|
|
168
|
+
private successSave;
|
|
169
|
+
private failureSave;
|
|
170
|
+
private processQuestion;
|
|
171
|
+
setFlag(typ: any): void;
|
|
172
|
+
resetFlag(typ: any): void;
|
|
173
|
+
setOptions(records: any): void;
|
|
174
|
+
childEventCapture(event: any, ques?: any): void;
|
|
175
|
+
setSubQuestions(records: any): void;
|
|
176
|
+
optionChange(selValue: any): void;
|
|
177
|
+
clearError(): void;
|
|
178
|
+
clearLocalSubQuesError(quesId: any): void;
|
|
179
|
+
inputValidate(e: any): boolean;
|
|
180
|
+
CCOnChange(inpValue: string): void;
|
|
181
|
+
isNotValidAccNumber(s: string): boolean;
|
|
182
|
+
clearSQError(quesId: any): void;
|
|
183
|
+
uploadFile(event: any, ques?: any): void;
|
|
184
|
+
private successAttachmentCreate;
|
|
185
|
+
private successAttachmentDelete;
|
|
186
|
+
private failureAttachmentCreate;
|
|
187
|
+
private failureAttachmentDelete;
|
|
188
|
+
handleSubmitClick(): void;
|
|
189
|
+
handleCancelClick(): void;
|
|
190
|
+
private createAttachment;
|
|
191
|
+
deleteAttachment(attachmentId: string): void;
|
|
192
|
+
private deleteSFAttachment;
|
|
193
|
+
getFileName(fileNamewithIdandType: any): any;
|
|
194
|
+
fileUI(): void;
|
|
195
|
+
updateProgress(): void;
|
|
196
|
+
townName(area: any): void;
|
|
197
|
+
getTownLocal(): void;
|
|
198
|
+
clearList(): void;
|
|
199
|
+
setSearchListWidth(): void;
|
|
200
|
+
getCode(): void;
|
|
201
|
+
getPostalcode(value: any): void;
|
|
202
|
+
closeDropdown(): void;
|
|
203
|
+
structLocalSubQuestion(ques: LocalQuestion): void;
|
|
204
|
+
addInputBox(question: LocalQuestion, index: number): void;
|
|
205
|
+
removeAddress(quesUniqueId: string, qName: string): void;
|
|
206
|
+
getLocalSubQuestions(id: String): any;
|
|
207
|
+
Add(question: LocalQuestion): void;
|
|
208
|
+
handleLocationSelected(location: any, ques: any): void;
|
|
209
|
+
selectedInput(input: any, ques: any): void;
|
|
210
|
+
handleTextareaValueChange(value: string): void;
|
|
211
|
+
getData(data: any): void;
|
|
212
|
+
dependentChange(value: any): void;
|
|
213
|
+
displayDate(dateSelected: any, ques: any): void;
|
|
214
|
+
getKey(item: any): any;
|
|
215
|
+
getValue(item: any): any;
|
|
216
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QuestionnaireComponent, never>;
|
|
217
|
+
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>;
|
|
218
|
+
}
|
|
@@ -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
|
+
}
|
package/lib/sample.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Question, QuestionBook } from "./wrapper";
|
|
2
|
-
export declare const TESTQB: QuestionBook;
|
|
3
|
-
export declare const TESTQUESTION: Question;
|
|
4
|
-
export declare const DTQUESTION: Question;
|
|
5
|
-
export declare const FILEQUESTION: Question;
|
|
6
|
-
export declare const TAQUESTION: Question;
|
|
7
|
-
export declare const RADIOQUESTION: Question;
|
|
8
|
-
export declare const CHECKQUESTION: Question;
|
|
9
|
-
export declare const GOOGLE_MAP_API_KEY = "AIzaSyA18odJnD-pDsu7EVJ7WiXVM5sVvpjAQxw";
|
|
10
|
-
export declare const BOOKQUESTION: Question;
|
|
1
|
+
import { Question, QuestionBook } from "./wrapper";
|
|
2
|
+
export declare const TESTQB: QuestionBook;
|
|
3
|
+
export declare const TESTQUESTION: Question;
|
|
4
|
+
export declare const DTQUESTION: Question;
|
|
5
|
+
export declare const FILEQUESTION: Question;
|
|
6
|
+
export declare const TAQUESTION: Question;
|
|
7
|
+
export declare const RADIOQUESTION: Question;
|
|
8
|
+
export declare const CHECKQUESTION: Question;
|
|
9
|
+
export declare const GOOGLE_MAP_API_KEY = "AIzaSyA18odJnD-pDsu7EVJ7WiXVM5sVvpjAQxw";
|
|
10
|
+
export declare const BOOKQUESTION: Question;
|