@rangertechnologies/ngnxt 2.1.78 → 2.1.80

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 (116) hide show
  1. package/README.md +27 -30
  2. package/esm2022/lib/ar.i18n.mjs +29 -29
  3. package/esm2022/lib/components/custom-button/custom-button.component.mjs +39 -39
  4. package/esm2022/lib/components/custom-calendar/custom-calendar.component.mjs +366 -366
  5. package/esm2022/lib/components/custom-date/custom-date.component.mjs +47 -47
  6. package/esm2022/lib/components/custom-date-picker/custom-date-picker.component.mjs +48 -48
  7. package/esm2022/lib/components/custom-dropdown/custom-dropdown.component.mjs +219 -219
  8. package/esm2022/lib/components/custom-image/custom-image.component.mjs +34 -34
  9. package/esm2022/lib/components/custom-input/custom-input.component.mjs +93 -93
  10. package/esm2022/lib/components/custom-label/custom-label.component.mjs +21 -21
  11. package/esm2022/lib/components/custom-model/custom-model.component.mjs +48 -48
  12. package/esm2022/lib/components/custom-radio/custom-radio.component.mjs +115 -115
  13. package/esm2022/lib/components/custom-rich-text/custom-rich-text.component.mjs +156 -0
  14. package/esm2022/lib/components/custom-table/custom-table.component.mjs +169 -169
  15. package/esm2022/lib/components/custom-text-area/custom-text-area.component.mjs +65 -65
  16. package/esm2022/lib/components/custom-time/custom-time.component.mjs +61 -61
  17. package/esm2022/lib/components/dependent-table/dependent-table.component.mjs +42 -42
  18. package/esm2022/lib/components/dropdown-with-flag/dropdown-with-flag.component.mjs +39 -39
  19. package/esm2022/lib/components/file-upload/file-upload.component.mjs +233 -233
  20. package/esm2022/lib/components/file-view/file-view.component.mjs +46 -46
  21. package/esm2022/lib/components/loader/loader.component.mjs +23 -23
  22. package/esm2022/lib/components/pick-location/pick-location.component.mjs +188 -188
  23. package/esm2022/lib/components/search-box/search-box.component.mjs +130 -130
  24. package/esm2022/lib/components/table-appendix/table-appendix.component.mjs +123 -123
  25. package/esm2022/lib/directives/componenthost/componenthost.directive.mjs +19 -19
  26. package/esm2022/lib/en.i18n.mjs +29 -29
  27. package/esm2022/lib/i18n-config.service.mjs +4 -4
  28. package/esm2022/lib/i18n.component.mjs +47 -47
  29. package/esm2022/lib/i18n.module.mjs +38 -38
  30. package/esm2022/lib/i18n.pipe.mjs +25 -25
  31. package/esm2022/lib/i18n.service.mjs +56 -56
  32. package/esm2022/lib/interfaces/actionMeta.mjs +2 -2
  33. package/esm2022/lib/interfaces/apimeta.mjs +2 -2
  34. package/esm2022/lib/interfaces/dependencyMeta.mjs +2 -2
  35. package/esm2022/lib/model/bookletWrapper.mjs +9 -9
  36. package/esm2022/lib/model/changeWrapper.mjs +11 -11
  37. package/esm2022/lib/model/errorWrapper.mjs +6 -6
  38. package/esm2022/lib/model/tableWrapper.mjs +20 -20
  39. package/esm2022/lib/nxt-app.component.mjs +22 -22
  40. package/esm2022/lib/nxt-app.module.mjs +364 -352
  41. package/esm2022/lib/nxt-app.service.mjs +14 -14
  42. package/esm2022/lib/pages/booklet/booklet.component.mjs +540 -541
  43. package/esm2022/lib/pages/questionbook/questionbook.component.mjs +428 -407
  44. package/esm2022/lib/pages/questionnaire/questionnaire.component.mjs +2387 -2373
  45. package/esm2022/lib/pages/summary-page/summary-page.component.mjs +76 -76
  46. package/esm2022/lib/pipe/get-value.pipe.mjs +50 -50
  47. package/esm2022/lib/sample.mjs +3715 -3431
  48. package/esm2022/lib/services/change.service.mjs +53 -53
  49. package/esm2022/lib/services/data.service.mjs +80 -80
  50. package/esm2022/lib/services/salesforce.service.mjs +46 -46
  51. package/esm2022/lib/services/shared.service.mjs +100 -100
  52. package/esm2022/lib/services/storage.service.mjs +44 -44
  53. package/esm2022/lib/tam.i18n.mjs +29 -29
  54. package/esm2022/lib/wrapper.mjs +175 -175
  55. package/esm2022/public-api.mjs +15 -15
  56. package/esm2022/rangertechnologies-ngnxt.mjs +4 -4
  57. package/fesm2022/rangertechnologies-ngnxt.mjs +10306 -9830
  58. package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
  59. package/index.d.ts +5 -5
  60. package/lib/ar.i18n.d.ts +24 -24
  61. package/lib/components/custom-button/custom-button.component.d.ts +16 -16
  62. package/lib/components/custom-calendar/custom-calendar.component.d.ts +65 -65
  63. package/lib/components/custom-date/custom-date.component.d.ts +18 -18
  64. package/lib/components/custom-date-picker/custom-date-picker.component.d.ts +19 -19
  65. package/lib/components/custom-dropdown/custom-dropdown.component.d.ts +39 -39
  66. package/lib/components/custom-image/custom-image.component.d.ts +13 -13
  67. package/lib/components/custom-input/custom-input.component.d.ts +31 -31
  68. package/lib/components/custom-label/custom-label.component.d.ts +10 -10
  69. package/lib/components/custom-model/custom-model.component.d.ts +19 -19
  70. package/lib/components/custom-radio/custom-radio.component.d.ts +33 -33
  71. package/lib/components/custom-rich-text/custom-rich-text.component.d.ts +29 -0
  72. package/lib/components/custom-table/custom-table.component.d.ts +43 -43
  73. package/lib/components/custom-text-area/custom-text-area.component.d.ts +22 -22
  74. package/lib/components/custom-time/custom-time.component.d.ts +18 -18
  75. package/lib/components/dependent-table/dependent-table.component.d.ts +15 -15
  76. package/lib/components/dropdown-with-flag/dropdown-with-flag.component.d.ts +16 -16
  77. package/lib/components/file-upload/file-upload.component.d.ts +42 -42
  78. package/lib/components/file-view/file-view.component.d.ts +16 -16
  79. package/lib/components/loader/loader.component.d.ts +11 -11
  80. package/lib/components/pick-location/pick-location.component.d.ts +42 -42
  81. package/lib/components/search-box/search-box.component.d.ts +40 -40
  82. package/lib/components/table-appendix/table-appendix.component.d.ts +30 -30
  83. package/lib/directives/componenthost/componenthost.directive.d.ts +8 -8
  84. package/lib/en.i18n.d.ts +24 -24
  85. package/lib/i18n-config.service.d.ts +2 -2
  86. package/lib/i18n.component.d.ts +11 -11
  87. package/lib/i18n.module.d.ts +9 -9
  88. package/lib/i18n.pipe.d.ts +10 -10
  89. package/lib/i18n.service.d.ts +14 -14
  90. package/lib/interfaces/actionMeta.d.ts +5 -5
  91. package/lib/interfaces/apimeta.d.ts +14 -14
  92. package/lib/interfaces/dependencyMeta.d.ts +8 -8
  93. package/lib/model/bookletWrapper.d.ts +5 -5
  94. package/lib/model/changeWrapper.d.ts +10 -10
  95. package/lib/model/errorWrapper.d.ts +5 -5
  96. package/lib/model/tableWrapper.d.ts +18 -18
  97. package/lib/nxt-app.component.d.ts +8 -8
  98. package/lib/nxt-app.module.d.ts +47 -46
  99. package/lib/nxt-app.service.d.ts +6 -6
  100. package/lib/pages/booklet/booklet.component.d.ts +68 -68
  101. package/lib/pages/questionbook/questionbook.component.d.ts +66 -66
  102. package/lib/pages/questionnaire/questionnaire.component.d.ts +220 -218
  103. package/lib/pages/summary-page/summary-page.component.d.ts +20 -20
  104. package/lib/pipe/get-value.pipe.d.ts +7 -7
  105. package/lib/sample.d.ts +11 -10
  106. package/lib/services/change.service.d.ts +22 -22
  107. package/lib/services/data.service.d.ts +13 -13
  108. package/lib/services/salesforce.service.d.ts +11 -11
  109. package/lib/services/shared.service.d.ts +15 -15
  110. package/lib/services/storage.service.d.ts +13 -13
  111. package/lib/tam.i18n.d.ts +24 -24
  112. package/lib/wrapper.d.ts +203 -203
  113. package/package.json +3 -3
  114. package/public-api.d.ts +10 -10
  115. package/rangertechnologies-ngnxt-2.1.80.tgz +0 -0
  116. package/rangertechnologies-ngnxt-2.1.78.tgz +0 -0
@@ -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
- 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
+ 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": { "alias": "qbId"; "required": false; }; "insuranceStartDate": { "alias": "insuranceStartDate"; "required": false; }; "serv": { "alias": "serv"; "required": false; }; "tkn": { "alias": "tkn"; "required": false; }; "api": { "alias": "api"; "required": false; }; }, { "handleEvent": "handleEvent"; "handlePage": "handlePage"; "handleQuestion": "handleQuestion"; "handleBook": "handleBook"; "handleSubmit": "handleSubmit"; }, never, never, false, never>;
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": { "alias": "answerJson"; "required": false; }; "api": { "alias": "api"; "required": false; }; }, {}, never, never, false, never>;
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,11 @@
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 RTAQUESTION: Question;
7
+ export declare const TAQUESTION: Question;
8
+ export declare const RADIOQUESTION: Question;
9
+ export declare const CHECKQUESTION: Question;
10
+ export declare const GOOGLE_MAP_API_KEY = "AIzaSyA18odJnD-pDsu7EVJ7WiXVM5sVvpjAQxw";
11
+ export declare const BOOKQUESTION: Question;
@@ -1,22 +1,22 @@
1
- import { ChangeWrapper } from '../model/changeWrapper';
2
- import * as i0 from "@angular/core";
3
- export declare class ChangeService {
4
- constructor();
5
- private changeAnnouncedSource;
6
- private changeConfirmedSource;
7
- private validationSource;
8
- private fieldSource;
9
- private customChanges;
10
- changeAnnounced$: import("rxjs").Observable<ChangeWrapper>;
11
- changeConfirmed$: import("rxjs").Observable<string>;
12
- submitValidate$: import("rxjs").Observable<string>;
13
- changeField$: import("rxjs").Observable<any>;
14
- customChange$: import("rxjs").Observable<any>;
15
- announceChange(changeValue: ChangeWrapper): void;
16
- confirmChange(childQuestion: string): void;
17
- dataChanges(data: string): void;
18
- submitChange(value: string): void;
19
- fieldChange(value: any): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<ChangeService, never>;
21
- static ɵprov: i0.ɵɵInjectableDeclaration<ChangeService>;
22
- }
1
+ import { ChangeWrapper } from '../model/changeWrapper';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ChangeService {
4
+ constructor();
5
+ private changeAnnouncedSource;
6
+ private changeConfirmedSource;
7
+ private validationSource;
8
+ private fieldSource;
9
+ private customChanges;
10
+ changeAnnounced$: import("rxjs").Observable<ChangeWrapper>;
11
+ changeConfirmed$: import("rxjs").Observable<string>;
12
+ submitValidate$: import("rxjs").Observable<string>;
13
+ changeField$: import("rxjs").Observable<any>;
14
+ customChange$: import("rxjs").Observable<any>;
15
+ announceChange(changeValue: ChangeWrapper): void;
16
+ confirmChange(childQuestion: string): void;
17
+ dataChanges(data: string): void;
18
+ submitChange(value: string): void;
19
+ fieldChange(value: any): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChangeService, never>;
21
+ static ɵprov: i0.ɵɵInjectableDeclaration<ChangeService>;
22
+ }
@@ -1,13 +1,13 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class DataService {
5
- private http;
6
- constructor(http: HttpClient);
7
- getAPIData(tkn: string, params: string[], resolve: any, reject: any, config?: any): void;
8
- getAPIFromNode(dataType: string, operation: string, param1: string, param2: string, api: string): Observable<any>;
9
- getValue(element: any, column: string): any;
10
- apiResponse(endpoint: string): Observable<any>;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<DataService, [{ optional: true; }]>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<DataService>;
13
- }
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DataService {
5
+ private http;
6
+ constructor(http: HttpClient);
7
+ getAPIData(tkn: string, params: string[], resolve: any, reject: any, config?: any): void;
8
+ getAPIFromNode(dataType: string, operation: string, param1: string, param2: string, api: string): Observable<any>;
9
+ getValue(element: any, column: string): any;
10
+ apiResponse(endpoint: string): Observable<any>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<DataService, [{ optional: true; }]>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<DataService>;
13
+ }
@@ -1,11 +1,11 @@
1
- import { Router } from '@angular/router';
2
- import * as i0 from "@angular/core";
3
- export declare class SalesforceService {
4
- private _router;
5
- getSFResource: (path: string) => string;
6
- getRNXTMethodName: () => string;
7
- remoteAction(methodName: string, params: string[], resolve: any, reject: any, config?: any): void;
8
- constructor(_router: Router);
9
- static ɵfac: i0.ɵɵFactoryDeclaration<SalesforceService, never>;
10
- static ɵprov: i0.ɵɵInjectableDeclaration<SalesforceService>;
11
- }
1
+ import { Router } from '@angular/router';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SalesforceService {
4
+ private _router;
5
+ getSFResource: (path: string) => string;
6
+ getRNXTMethodName: () => string;
7
+ remoteAction(methodName: string, params: string[], resolve: any, reject: any, config?: any): void;
8
+ constructor(_router: Router);
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SalesforceService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<SalesforceService>;
11
+ }