@rangertechnologies/ngnxt 2.0.37 → 2.0.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/README.md +2 -2
  2. package/esm2022/lib/components/custom-date-picker/custom-date-picker.component.mjs +33 -33
  3. package/esm2022/lib/components/custom-dropdown/custom-dropdown.component.mjs +94 -82
  4. package/esm2022/lib/components/custom-input/custom-input.component.mjs +76 -76
  5. package/esm2022/lib/components/custom-table/custom-table.component.mjs +53 -53
  6. package/esm2022/lib/components/custom-text-area/custom-text-area.component.mjs +34 -34
  7. package/esm2022/lib/components/dropdown-with-flag/dropdown-with-flag.component.mjs +34 -34
  8. package/esm2022/lib/components/file-upload/file-upload.component.mjs +110 -159
  9. package/esm2022/lib/components/file-view/file-view.component.mjs +42 -0
  10. package/esm2022/lib/components/pick-location/pick-location.component.mjs +136 -136
  11. package/esm2022/lib/components/search-box/search-box.component.mjs +106 -84
  12. package/esm2022/lib/interfaces/actionMeta.mjs +2 -2
  13. package/esm2022/lib/interfaces/apimeta.mjs +2 -2
  14. package/esm2022/lib/interfaces/dependencyMeta.mjs +2 -2
  15. package/esm2022/lib/model/bookletWrapper.mjs +9 -9
  16. package/esm2022/lib/model/changeWrapper.mjs +8 -8
  17. package/esm2022/lib/model/errorWrapper.mjs +6 -6
  18. package/esm2022/lib/model/tableWrapper.mjs +16 -16
  19. package/esm2022/lib/nxt-app.component.mjs +22 -22
  20. package/esm2022/lib/nxt-app.module.mjs +276 -268
  21. package/esm2022/lib/nxt-app.service.mjs +14 -14
  22. package/esm2022/lib/pages/booklet/booklet.component.mjs +171 -159
  23. package/esm2022/lib/pages/questionbook/questionbook.component.mjs +102 -85
  24. package/esm2022/lib/pages/questionnaire/questionnaire.component.mjs +2066 -2066
  25. package/esm2022/lib/pages/summary-page/summary-page.component.mjs +70 -0
  26. package/esm2022/lib/sample.mjs +432 -432
  27. package/esm2022/lib/services/change.service.mjs +38 -33
  28. package/esm2022/lib/services/data.service.mjs +40 -40
  29. package/esm2022/lib/services/salesforce.service.mjs +46 -46
  30. package/esm2022/lib/services/shared.service.mjs +86 -0
  31. package/esm2022/lib/services/storage.service.mjs +41 -41
  32. package/esm2022/lib/wrapper.mjs +161 -161
  33. package/esm2022/public-api.mjs +11 -10
  34. package/esm2022/rangertechnologies-ngnxt.mjs +4 -4
  35. package/fesm2022/rangertechnologies-ngnxt.mjs +4105 -3899
  36. package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
  37. package/index.d.ts +5 -5
  38. package/lib/components/custom-date-picker/custom-date-picker.component.d.ts +14 -14
  39. package/lib/components/custom-dropdown/custom-dropdown.component.d.ts +29 -26
  40. package/lib/components/custom-input/custom-input.component.d.ts +26 -26
  41. package/lib/components/custom-table/custom-table.component.d.ts +20 -20
  42. package/lib/components/custom-text-area/custom-text-area.component.d.ts +14 -14
  43. package/lib/components/dropdown-with-flag/dropdown-with-flag.component.d.ts +14 -14
  44. package/lib/components/file-upload/file-upload.component.d.ts +24 -23
  45. package/lib/components/file-view/file-view.component.d.ts +14 -0
  46. package/lib/components/pick-location/pick-location.component.d.ts +35 -35
  47. package/lib/components/search-box/search-box.component.d.ts +40 -34
  48. package/lib/interfaces/actionMeta.d.ts +5 -5
  49. package/lib/interfaces/apimeta.d.ts +5 -5
  50. package/lib/interfaces/dependencyMeta.d.ts +5 -5
  51. package/lib/model/bookletWrapper.d.ts +5 -5
  52. package/lib/model/changeWrapper.d.ts +7 -7
  53. package/lib/model/errorWrapper.d.ts +5 -5
  54. package/lib/model/tableWrapper.d.ts +15 -15
  55. package/lib/nxt-app.component.d.ts +8 -8
  56. package/lib/nxt-app.module.d.ts +30 -28
  57. package/lib/nxt-app.service.d.ts +6 -6
  58. package/lib/pages/booklet/booklet.component.d.ts +45 -43
  59. package/lib/pages/questionbook/questionbook.component.d.ts +27 -26
  60. package/lib/pages/questionnaire/questionnaire.component.d.ts +206 -206
  61. package/lib/pages/summary-page/summary-page.component.d.ts +18 -0
  62. package/lib/sample.d.ts +10 -10
  63. package/lib/services/change.service.d.ts +16 -13
  64. package/lib/services/data.service.d.ts +9 -9
  65. package/lib/services/salesforce.service.d.ts +11 -11
  66. package/lib/services/shared.service.d.ts +11 -0
  67. package/lib/services/storage.service.d.ts +12 -12
  68. package/lib/wrapper.d.ts +161 -161
  69. package/package.json +1 -1
  70. package/public-api.d.ts +7 -6
  71. package/rangertechnologies-ngnxt-2.0.39.tgz +0 -0
  72. package/rangertechnologies-ngnxt-2.0.37.tgz +0 -0
@@ -1,28 +1,30 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./nxt-app.component";
3
- import * as i2 from "./pages/questionnaire/questionnaire.component";
4
- import * as i3 from "./components/pick-location/pick-location.component";
5
- import * as i4 from "./components/custom-input/custom-input.component";
6
- import * as i5 from "./components/custom-text-area/custom-text-area.component";
7
- import * as i6 from "./components/custom-table/custom-table.component";
8
- import * as i7 from "./components/custom-date-picker/custom-date-picker.component";
9
- import * as i8 from "./components/dropdown-with-flag/dropdown-with-flag.component";
10
- import * as i9 from "./components/custom-dropdown/custom-dropdown.component";
11
- import * as i10 from "./pages/booklet/booklet.component";
12
- import * as i11 from "./components/search-box/search-box.component";
13
- import * as i12 from "./pages/questionbook/questionbook.component";
14
- import * as i13 from "./components/file-upload/file-upload.component";
15
- import * as i14 from "@angular/common";
16
- import * as i15 from "@angular/forms";
17
- import * as i16 from "mydatepicker";
18
- import * as i17 from "ng-pick-datetime";
19
- import * as i18 from "@angular/common/http";
20
- import * as i19 from "@ng-select/ng-select";
21
- import * as i20 from "@angular/google-maps";
22
- import * as i21 from "ngx-spinner";
23
- import * as i22 from "ng-circle-progress";
24
- export declare class NxtAppModule {
25
- static ɵfac: i0.ɵɵFactoryDeclaration<NxtAppModule, never>;
26
- static ɵmod: i0.ɵɵNgModuleDeclaration<NxtAppModule, [typeof i1.NxtAppComponent, typeof i2.QuestionnaireComponent, typeof i3.PickLocationComponent, typeof i4.CustomInputComponent, typeof i5.CustomTextAreaComponent, typeof i6.CustomTableComponent, typeof i7.CustomDatePickerComponent, typeof i8.DropdownWithFlagComponent, typeof i9.CustomDropdownComponent, typeof i10.BookletComponent, typeof i11.SearchBoxComponent, typeof i12.QuestionbookComponent, typeof i13.FileUploadComponent], [typeof i14.CommonModule, typeof i15.FormsModule, typeof i16.MyDatePickerModule, typeof i17.OwlDateTimeModule, typeof i17.OwlNativeDateTimeModule, typeof i18.HttpClientModule, typeof i19.NgSelectModule, typeof i20.GoogleMapsModule, typeof i15.ReactiveFormsModule, typeof i21.NgxSpinnerModule, typeof i22.NgCircleProgressModule], [typeof i1.NxtAppComponent, typeof i2.QuestionnaireComponent, typeof i10.BookletComponent]>;
27
- static ɵinj: i0.ɵɵInjectorDeclaration<NxtAppModule>;
28
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./nxt-app.component";
3
+ import * as i2 from "./pages/questionnaire/questionnaire.component";
4
+ import * as i3 from "./components/pick-location/pick-location.component";
5
+ import * as i4 from "./components/custom-input/custom-input.component";
6
+ import * as i5 from "./components/custom-text-area/custom-text-area.component";
7
+ import * as i6 from "./components/custom-table/custom-table.component";
8
+ import * as i7 from "./components/custom-date-picker/custom-date-picker.component";
9
+ import * as i8 from "./components/dropdown-with-flag/dropdown-with-flag.component";
10
+ import * as i9 from "./components/custom-dropdown/custom-dropdown.component";
11
+ import * as i10 from "./pages/booklet/booklet.component";
12
+ import * as i11 from "./components/search-box/search-box.component";
13
+ import * as i12 from "./pages/questionbook/questionbook.component";
14
+ import * as i13 from "./components/file-upload/file-upload.component";
15
+ import * as i14 from "./pages/summary-page/summary-page.component";
16
+ import * as i15 from "./components/file-view/file-view.component";
17
+ import * as i16 from "@angular/common";
18
+ import * as i17 from "@angular/forms";
19
+ import * as i18 from "mydatepicker";
20
+ import * as i19 from "ng-pick-datetime";
21
+ import * as i20 from "@angular/common/http";
22
+ import * as i21 from "@ng-select/ng-select";
23
+ import * as i22 from "@angular/google-maps";
24
+ import * as i23 from "ngx-spinner";
25
+ import * as i24 from "ng-circle-progress";
26
+ export declare class NxtAppModule {
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<NxtAppModule, never>;
28
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NxtAppModule, [typeof i1.NxtAppComponent, typeof i2.QuestionnaireComponent, typeof i3.PickLocationComponent, typeof i4.CustomInputComponent, typeof i5.CustomTextAreaComponent, typeof i6.CustomTableComponent, typeof i7.CustomDatePickerComponent, typeof i8.DropdownWithFlagComponent, typeof i9.CustomDropdownComponent, typeof i10.BookletComponent, typeof i11.SearchBoxComponent, typeof i12.QuestionbookComponent, typeof i13.FileUploadComponent, typeof i14.SummaryPageComponent, typeof i15.FileViewComponent], [typeof i16.CommonModule, typeof i17.FormsModule, typeof i18.MyDatePickerModule, typeof i19.OwlDateTimeModule, typeof i19.OwlNativeDateTimeModule, typeof i20.HttpClientModule, typeof i21.NgSelectModule, typeof i22.GoogleMapsModule, typeof i17.ReactiveFormsModule, typeof i23.NgxSpinnerModule, typeof i24.NgCircleProgressModule], [typeof i1.NxtAppComponent, typeof i2.QuestionnaireComponent, typeof i10.BookletComponent, typeof i14.SummaryPageComponent]>;
29
+ static ɵinj: i0.ɵɵInjectorDeclaration<NxtAppModule>;
30
+ }
@@ -1,6 +1,6 @@
1
- import * as i0 from "@angular/core";
2
- export declare class NxtAppService {
3
- constructor();
4
- static ɵfac: i0.ɵɵFactoryDeclaration<NxtAppService, never>;
5
- static ɵprov: i0.ɵɵInjectableDeclaration<NxtAppService>;
6
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class NxtAppService {
3
+ constructor();
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<NxtAppService, never>;
5
+ static ɵprov: i0.ɵɵInjectableDeclaration<NxtAppService>;
6
+ }
@@ -1,43 +1,45 @@
1
- import { OnInit, EventEmitter, ElementRef } from "@angular/core";
2
- import { SalesforceService } from "../../services/salesforce.service";
3
- import { DataService } from '../../services/data.service';
4
- import { ActivatedRoute } from "@angular/router";
5
- import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
6
- import { ActionMeta } from '../../interfaces/actionMeta';
7
- import { BookletWrapper } from "../../model/bookletWrapper";
8
- import { StorageService } from '../../services/storage.service';
9
- import * as i0 from "@angular/core";
10
- export declare class BookletComponent implements OnInit {
11
- private sfService;
12
- private dataService;
13
- private storageService;
14
- private route;
15
- private sanitizer;
16
- bookletId: string;
17
- serv: string;
18
- tkn: string;
19
- bookletJSON: any;
20
- handleBookletActionEvent: EventEmitter<any>;
21
- handlePage: EventEmitter<any>;
22
- nxtBooklet: BookletWrapper;
23
- booklet: any[];
24
- abItem: any;
25
- actions: ActionMeta[];
26
- bookQuestionsMap: any;
27
- private sqOptions;
28
- isAnswerFlag: boolean;
29
- spinnerName: string;
30
- spinnerType: string;
31
- constructor(sfService: SalesforceService, dataService: DataService, storageService: StorageService, route: ActivatedRoute, sanitizer: DomSanitizer, el: ElementRef);
32
- ngOnInit(): void;
33
- ngOnChanges(): void;
34
- processBooklet(): void;
35
- private readBooklet;
36
- private successReadBooklet;
37
- private failureReadBooklet;
38
- handleBookletActionClick(action: ActionMeta): void;
39
- readQuestions(qbId: string): any[];
40
- getText(value: any): SafeHtml;
41
- static ɵfac: i0.ɵɵFactoryDeclaration<BookletComponent, never>;
42
- static ɵcmp: i0.ɵɵComponentDeclaration<BookletComponent, "lib-booklet", never, { "bookletId": "bookletId"; "serv": "serv"; "tkn": "tkn"; "bookletJSON": "bookletJSON"; }, { "handleBookletActionEvent": "handleBookletActionEvent"; "handlePage": "handlePage"; }, never, never, false>;
43
- }
1
+ import { OnInit, EventEmitter, ElementRef } from "@angular/core";
2
+ import { SalesforceService } from "../../services/salesforce.service";
3
+ import { DataService } from '../../services/data.service';
4
+ import { ActivatedRoute } from "@angular/router";
5
+ import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
6
+ import { ActionMeta } from '../../interfaces/actionMeta';
7
+ import { BookletWrapper } from "../../model/bookletWrapper";
8
+ import { StorageService } from '../../services/storage.service';
9
+ import { ChangeService } from "../../services/change.service";
10
+ import * as i0 from "@angular/core";
11
+ export declare class BookletComponent implements OnInit {
12
+ private sfService;
13
+ private dataService;
14
+ private storageService;
15
+ private route;
16
+ private sanitizer;
17
+ private changeService;
18
+ bookletId: string;
19
+ serv: string;
20
+ tkn: string;
21
+ bookletJSON: any;
22
+ handleBookletActionEvent: EventEmitter<any>;
23
+ handlePage: EventEmitter<any>;
24
+ nxtBooklet: BookletWrapper;
25
+ booklet: any[];
26
+ abItem: any;
27
+ actions: ActionMeta[];
28
+ bookQuestionsMap: any;
29
+ private sqOptions;
30
+ isAnswerFlag: boolean;
31
+ spinnerName: string;
32
+ spinnerType: string;
33
+ constructor(sfService: SalesforceService, dataService: DataService, storageService: StorageService, route: ActivatedRoute, sanitizer: DomSanitizer, changeService: ChangeService, el: ElementRef);
34
+ ngOnInit(): void;
35
+ ngOnChanges(): void;
36
+ processBooklet(): void;
37
+ private readBooklet;
38
+ private successReadBooklet;
39
+ private failureReadBooklet;
40
+ handleBookletActionClick(action: ActionMeta): void;
41
+ readQuestions(qbId: string): any[];
42
+ getText(value: any): SafeHtml;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<BookletComponent, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<BookletComponent, "lib-booklet", never, { "bookletId": "bookletId"; "serv": "serv"; "tkn": "tkn"; "bookletJSON": "bookletJSON"; }, { "handleBookletActionEvent": "handleBookletActionEvent"; "handlePage": "handlePage"; }, never, never, false>;
45
+ }
@@ -1,26 +1,27 @@
1
- import { OnInit } 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 * as i0 from "@angular/core";
8
- export declare class QuestionbookComponent implements OnInit {
9
- private sfService;
10
- private dataService;
11
- private changeService;
12
- private storageService;
13
- qbItem: QuestionBook;
14
- questionItem: Question;
15
- questions: Question[];
16
- subQuestions: Question[];
17
- selectedFileData: any[];
18
- constructor(sfService: SalesforceService, dataService: DataService, changeService: ChangeService, storageService: StorageService);
19
- ngOnInit(): void;
20
- clearSQError(quesId: any): void;
21
- setSubQuestions(records: any): void;
22
- childEventCapture(event: any, ques?: any): void;
23
- deleteFile(fileData: any): void;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<QuestionbookComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<QuestionbookComponent, "lib-questionbook", never, { "qbItem": "qbItem"; "questionItem": "questionItem"; "questions": "questions"; }, {}, never, never, false>;
26
- }
1
+ import { OnInit } 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 * as i0 from "@angular/core";
8
+ export declare class QuestionbookComponent implements OnInit {
9
+ private sfService;
10
+ private dataService;
11
+ private changeService;
12
+ private storageService;
13
+ qbItem: QuestionBook;
14
+ questionItem: Question;
15
+ questions: Question[];
16
+ errorFieldId: any;
17
+ subQuestions: Question[];
18
+ selectedFileData: any[];
19
+ constructor(sfService: SalesforceService, dataService: DataService, changeService: ChangeService, storageService: StorageService);
20
+ ngOnInit(): void;
21
+ clearSQError(quesId: any): void;
22
+ setSubQuestions(records: any): void;
23
+ childEventCapture(event: any, ques?: any): void;
24
+ deleteFile(fileData: any): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<QuestionbookComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<QuestionbookComponent, "lib-questionbook", never, { "qbItem": "qbItem"; "questionItem": "questionItem"; "questions": "questions"; "errorFieldId": "errorFieldId"; }, {}, never, never, false>;
27
+ }
@@ -1,206 +1,206 @@
1
- import { OnInit, EventEmitter, ElementRef } 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 { Question, QuestionBook, AnswerBook, AnswerWrapper, OptionValue, LocalQuestion } from "../../wrapper";
12
- import * as i0 from "@angular/core";
13
- export declare class QuestionnaireComponent implements OnInit {
14
- private sfService;
15
- private dataService;
16
- private changeService;
17
- private route;
18
- private sanitizer;
19
- private spinner;
20
- private _formBuilder;
21
- private deviceService;
22
- qbId: string;
23
- insuranceStartDate: string;
24
- serv: string;
25
- tkn: string;
26
- handleEvent: EventEmitter<any>;
27
- handlePage: EventEmitter<any>;
28
- params: Params;
29
- deviceInfo: any;
30
- abItem: AnswerBook;
31
- qbItem: QuestionBook;
32
- questionItem: Question;
33
- answerWrap: AnswerWrapper;
34
- radioFlag: boolean;
35
- dataFlag: boolean;
36
- dropdownFlag: boolean;
37
- checkboxFlag: boolean;
38
- textFlag: boolean;
39
- taFlag: boolean;
40
- dtFlag: boolean;
41
- timeFlag: boolean;
42
- dateFlag: boolean;
43
- fileFlag: boolean;
44
- emailFlag: boolean;
45
- numberFlag: boolean;
46
- alphanumericFlag: boolean;
47
- bookFlag: boolean;
48
- listFlag: boolean;
49
- backButtonFlag: boolean;
50
- optionValues: OptionValue[];
51
- subQuestions: Question[];
52
- inpValue: string;
53
- answerMap: Map<any, any>;
54
- dateMap: Map<any, any>;
55
- selectedhourMap: Map<any, any>;
56
- selectedminuteMap: Map<any, any>;
57
- attachmentsMap: Map<any, any>;
58
- sqOptions: Map<any, any>;
59
- subAnsMap: Map<any, any>;
60
- localSubQuestions: LocalQuestion[];
61
- questionStack: any[];
62
- questionName: any[];
63
- attachments: any[];
64
- attachmentIdList: any[];
65
- attachmentId: string;
66
- attachment: any;
67
- allowedFileExtension: string[];
68
- fileExceededLimit: boolean;
69
- fileTypeIncorrect: boolean;
70
- back: boolean;
71
- backicon: boolean;
72
- check: boolean;
73
- pop: boolean;
74
- localDate: string;
75
- currentName: string;
76
- pathquestion: number;
77
- percent: number;
78
- count: number;
79
- taFocusOut: boolean;
80
- notValidAccNum: boolean;
81
- splCCBackClick: boolean;
82
- summary: any[];
83
- localSubQMap: Map<any, any>;
84
- keyIndex: number;
85
- selDate: any;
86
- selectDate: string;
87
- private today;
88
- private el;
89
- innerhtml: any;
90
- possibilities: any;
91
- innerhtml1: any;
92
- summaryData: any[];
93
- hours: any[];
94
- minutes: string[];
95
- selectedHour: string;
96
- selectedMinute: string;
97
- selectedMeridiem: string;
98
- valueName: string;
99
- valueName1: string;
100
- bookFlagAccept: string[];
101
- recordId: string;
102
- currentQuestionId: string;
103
- spinnerType: string;
104
- spinnerName: string;
105
- nextValue: string;
106
- start_date?: any;
107
- tempoAddress: any[];
108
- selectedValue: string;
109
- selectedPostalcode: string;
110
- selectedProvince: string;
111
- selectedCity: string;
112
- selectedArea: string;
113
- localaddress: any[];
114
- allAddress: any[];
115
- PostalCode: string;
116
- places: any[];
117
- province: any[];
118
- progressStyle: string;
119
- answerCount: number;
120
- indexCount: number;
121
- addFlag: boolean;
122
- myDatePickerOptions: IMyDpOptions;
123
- individualBookButton: boolean;
124
- constructor(sfService: SalesforceService, dataService: DataService, changeService: ChangeService, route: ActivatedRoute, sanitizer: DomSanitizer, spinner: NgxSpinnerService, _formBuilder: UntypedFormBuilder, deviceService: DeviceDetectorService, el: ElementRef);
125
- onDateChanged(event: IMyDateModel): void;
126
- ngOnInit(): void;
127
- ngOnChanges(): void;
128
- date_TimeMap(): void;
129
- day(): void;
130
- change(): void;
131
- processQB(): void;
132
- trimLastDummy(input: string): string;
133
- getProperTime(def: string, input: string): string;
134
- handleEditClick(value: string): void;
135
- handleNextClick(): void;
136
- AnswerSave(): void;
137
- next(): void;
138
- getText(value: any): SafeHtml;
139
- handleBackClick(): void;
140
- handleBackClickNew(): void;
141
- private updateAnswerBook;
142
- private successupdateAB;
143
- private failureupdateAB;
144
- private readQuestionBook;
145
- private successReadBook;
146
- private failureReadBook;
147
- private readAnswerbook;
148
- private successAnswerBookRead;
149
- private failureAnswerBookRead;
150
- private readQuestion;
151
- private successRead;
152
- trackId(): void;
153
- private failureRead;
154
- private saveAnswer;
155
- htmlDecode(input: any): string;
156
- private successSave;
157
- private failureSave;
158
- private processQuestion;
159
- setFlag(typ: any): void;
160
- resetFlag(typ: any): void;
161
- setOptions(records: any): void;
162
- childEventCapture(event: any, ques?: any): void;
163
- setSubQuestions(records: any): void;
164
- optionChange(selValue: any): void;
165
- clearError(): void;
166
- clearLocalSubQuesError(quesId: any): void;
167
- inputValidate(e: any): boolean;
168
- CCOnChange(inpValue: string): void;
169
- isNotValidAccNumber(s: string): boolean;
170
- clearSQError(quesId: any): void;
171
- uploadFile(event: any, ques?: any): void;
172
- private successAttachmentCreate;
173
- private successAttachmentDelete;
174
- private failureAttachmentCreate;
175
- private failureAttachmentDelete;
176
- handleSubmitClick(): void;
177
- handleCancelClick(): void;
178
- private createAttachment;
179
- deleteAttachment(attachmentId: string): void;
180
- private deleteSFAttachment;
181
- getFileName(fileNamewithIdandType: any): any;
182
- fileUI(): void;
183
- updateProgress(): void;
184
- townName(area: any): void;
185
- getTownLocal(): void;
186
- clearList(): void;
187
- setSearchListWidth(): void;
188
- getCode(): void;
189
- getPostalcode(value: any): void;
190
- closeDropdown(): void;
191
- structLocalSubQuestion(ques: LocalQuestion): void;
192
- addInputBox(question: LocalQuestion, index: number): void;
193
- removeAddress(quesUniqueId: string, qName: string): void;
194
- getLocalSubQuestions(id: String): any;
195
- Add(question: LocalQuestion): void;
196
- handleLocationSelected(location: any, ques: any): void;
197
- selectedInput(input: any, ques: any): void;
198
- handleTextareaValueChange(value: string): void;
199
- getData(data: any): void;
200
- dependentChange(value: any): void;
201
- displayDate(dateSelected: any, ques: any): void;
202
- getKey(item: any): any;
203
- getValue(item: any): any;
204
- static ɵfac: i0.ɵɵFactoryDeclaration<QuestionnaireComponent, never>;
205
- static ɵcmp: i0.ɵɵComponentDeclaration<QuestionnaireComponent, "lib-questionnaire", never, { "qbId": "qbId"; "insuranceStartDate": "insuranceStartDate"; "serv": "serv"; "tkn": "tkn"; }, { "handleEvent": "handleEvent"; "handlePage": "handlePage"; }, never, never, false>;
206
- }
1
+ import { OnInit, EventEmitter, ElementRef } 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 { Question, QuestionBook, AnswerBook, AnswerWrapper, OptionValue, LocalQuestion } from "../../wrapper";
12
+ import * as i0 from "@angular/core";
13
+ export declare class QuestionnaireComponent implements OnInit {
14
+ private sfService;
15
+ private dataService;
16
+ private changeService;
17
+ private route;
18
+ private sanitizer;
19
+ private spinner;
20
+ private _formBuilder;
21
+ private deviceService;
22
+ qbId: string;
23
+ insuranceStartDate: string;
24
+ serv: string;
25
+ tkn: string;
26
+ handleEvent: EventEmitter<any>;
27
+ handlePage: EventEmitter<any>;
28
+ params: Params;
29
+ deviceInfo: any;
30
+ abItem: AnswerBook;
31
+ qbItem: QuestionBook;
32
+ questionItem: Question;
33
+ answerWrap: AnswerWrapper;
34
+ radioFlag: boolean;
35
+ dataFlag: boolean;
36
+ dropdownFlag: boolean;
37
+ checkboxFlag: boolean;
38
+ textFlag: boolean;
39
+ taFlag: boolean;
40
+ dtFlag: boolean;
41
+ timeFlag: boolean;
42
+ dateFlag: boolean;
43
+ fileFlag: boolean;
44
+ emailFlag: boolean;
45
+ numberFlag: boolean;
46
+ alphanumericFlag: boolean;
47
+ bookFlag: boolean;
48
+ listFlag: boolean;
49
+ backButtonFlag: boolean;
50
+ optionValues: OptionValue[];
51
+ subQuestions: Question[];
52
+ inpValue: string;
53
+ answerMap: Map<any, any>;
54
+ dateMap: Map<any, any>;
55
+ selectedhourMap: Map<any, any>;
56
+ selectedminuteMap: Map<any, any>;
57
+ attachmentsMap: Map<any, any>;
58
+ sqOptions: Map<any, any>;
59
+ subAnsMap: Map<any, any>;
60
+ localSubQuestions: LocalQuestion[];
61
+ questionStack: any[];
62
+ questionName: any[];
63
+ attachments: any[];
64
+ attachmentIdList: any[];
65
+ attachmentId: string;
66
+ attachment: any;
67
+ allowedFileExtension: string[];
68
+ fileExceededLimit: boolean;
69
+ fileTypeIncorrect: boolean;
70
+ back: boolean;
71
+ backicon: boolean;
72
+ check: boolean;
73
+ pop: boolean;
74
+ localDate: string;
75
+ currentName: string;
76
+ pathquestion: number;
77
+ percent: number;
78
+ count: number;
79
+ taFocusOut: boolean;
80
+ notValidAccNum: boolean;
81
+ splCCBackClick: boolean;
82
+ summary: any[];
83
+ localSubQMap: Map<any, any>;
84
+ keyIndex: number;
85
+ selDate: any;
86
+ selectDate: string;
87
+ private today;
88
+ private el;
89
+ innerhtml: any;
90
+ possibilities: any;
91
+ innerhtml1: any;
92
+ summaryData: any[];
93
+ hours: any[];
94
+ minutes: string[];
95
+ selectedHour: string;
96
+ selectedMinute: string;
97
+ selectedMeridiem: string;
98
+ valueName: string;
99
+ valueName1: string;
100
+ bookFlagAccept: string[];
101
+ recordId: string;
102
+ currentQuestionId: string;
103
+ spinnerType: string;
104
+ spinnerName: string;
105
+ nextValue: string;
106
+ start_date?: any;
107
+ tempoAddress: any[];
108
+ selectedValue: string;
109
+ selectedPostalcode: string;
110
+ selectedProvince: string;
111
+ selectedCity: string;
112
+ selectedArea: string;
113
+ localaddress: any[];
114
+ allAddress: any[];
115
+ PostalCode: string;
116
+ places: any[];
117
+ province: any[];
118
+ progressStyle: string;
119
+ answerCount: number;
120
+ indexCount: number;
121
+ addFlag: boolean;
122
+ myDatePickerOptions: IMyDpOptions;
123
+ individualBookButton: boolean;
124
+ constructor(sfService: SalesforceService, dataService: DataService, changeService: ChangeService, route: ActivatedRoute, sanitizer: DomSanitizer, spinner: NgxSpinnerService, _formBuilder: UntypedFormBuilder, deviceService: DeviceDetectorService, el: ElementRef);
125
+ onDateChanged(event: IMyDateModel): void;
126
+ ngOnInit(): void;
127
+ ngOnChanges(): void;
128
+ date_TimeMap(): void;
129
+ day(): void;
130
+ change(): void;
131
+ processQB(): void;
132
+ trimLastDummy(input: string): string;
133
+ getProperTime(def: string, input: string): string;
134
+ handleEditClick(value: string): void;
135
+ handleNextClick(): void;
136
+ AnswerSave(): void;
137
+ next(): void;
138
+ getText(value: any): SafeHtml;
139
+ handleBackClick(): void;
140
+ handleBackClickNew(): void;
141
+ private updateAnswerBook;
142
+ private successupdateAB;
143
+ private failureupdateAB;
144
+ private readQuestionBook;
145
+ private successReadBook;
146
+ private failureReadBook;
147
+ private readAnswerbook;
148
+ private successAnswerBookRead;
149
+ private failureAnswerBookRead;
150
+ private readQuestion;
151
+ private successRead;
152
+ trackId(): void;
153
+ private failureRead;
154
+ private saveAnswer;
155
+ htmlDecode(input: any): string;
156
+ private successSave;
157
+ private failureSave;
158
+ private processQuestion;
159
+ setFlag(typ: any): void;
160
+ resetFlag(typ: any): void;
161
+ setOptions(records: any): void;
162
+ childEventCapture(event: any, ques?: any): void;
163
+ setSubQuestions(records: any): void;
164
+ optionChange(selValue: any): void;
165
+ clearError(): void;
166
+ clearLocalSubQuesError(quesId: any): void;
167
+ inputValidate(e: any): boolean;
168
+ CCOnChange(inpValue: string): void;
169
+ isNotValidAccNumber(s: string): boolean;
170
+ clearSQError(quesId: any): void;
171
+ uploadFile(event: any, ques?: any): void;
172
+ private successAttachmentCreate;
173
+ private successAttachmentDelete;
174
+ private failureAttachmentCreate;
175
+ private failureAttachmentDelete;
176
+ handleSubmitClick(): void;
177
+ handleCancelClick(): void;
178
+ private createAttachment;
179
+ deleteAttachment(attachmentId: string): void;
180
+ private deleteSFAttachment;
181
+ getFileName(fileNamewithIdandType: any): any;
182
+ fileUI(): void;
183
+ updateProgress(): void;
184
+ townName(area: any): void;
185
+ getTownLocal(): void;
186
+ clearList(): void;
187
+ setSearchListWidth(): void;
188
+ getCode(): void;
189
+ getPostalcode(value: any): void;
190
+ closeDropdown(): void;
191
+ structLocalSubQuestion(ques: LocalQuestion): void;
192
+ addInputBox(question: LocalQuestion, index: number): void;
193
+ removeAddress(quesUniqueId: string, qName: string): void;
194
+ getLocalSubQuestions(id: String): any;
195
+ Add(question: LocalQuestion): void;
196
+ handleLocationSelected(location: any, ques: any): void;
197
+ selectedInput(input: any, ques: any): void;
198
+ handleTextareaValueChange(value: string): void;
199
+ getData(data: any): void;
200
+ dependentChange(value: any): void;
201
+ displayDate(dateSelected: any, ques: any): void;
202
+ getKey(item: any): any;
203
+ getValue(item: any): any;
204
+ static ɵfac: i0.ɵɵFactoryDeclaration<QuestionnaireComponent, never>;
205
+ static ɵcmp: i0.ɵɵComponentDeclaration<QuestionnaireComponent, "lib-questionnaire", never, { "qbId": "qbId"; "insuranceStartDate": "insuranceStartDate"; "serv": "serv"; "tkn": "tkn"; }, { "handleEvent": "handleEvent"; "handlePage": "handlePage"; }, never, never, false>;
206
+ }