@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,68 +1,68 @@
1
- import { OnInit, EventEmitter, ElementRef, SimpleChanges } 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 { I18nService } from "../../i18n.service";
11
- import * as i0 from "@angular/core";
12
- export declare class BookletComponent implements OnInit {
13
- private sfService;
14
- private dataService;
15
- private storageService;
16
- private route;
17
- private sanitizer;
18
- private changeService;
19
- i18nService: I18nService;
20
- bookletId: string;
21
- serv: string;
22
- tkn: string;
23
- bookletJSON: any;
24
- dropdownDependentData: any;
25
- labelValue: string;
26
- token: string;
27
- languageCode: string;
28
- fieldRestrictions: any;
29
- handleBookletActionEvent: EventEmitter<any>;
30
- handlePage: EventEmitter<any>;
31
- hadleDropDownDependent: EventEmitter<any>;
32
- handleCalendarDate: EventEmitter<any>;
33
- handleCalendarEvent: EventEmitter<any>;
34
- nxtBooklet: BookletWrapper;
35
- booklet: any[];
36
- abItem: any;
37
- actions: ActionMeta[];
38
- bookQuestionsMap: any;
39
- translateMap: any;
40
- private sqOptions;
41
- isAnswerFlag: boolean;
42
- spinnerName: string;
43
- spinnerType: string;
44
- langDirection: string;
45
- answerList: any[];
46
- dataBind: any;
47
- allEvents: any[];
48
- constructor(sfService: SalesforceService, dataService: DataService, storageService: StorageService, route: ActivatedRoute, sanitizer: DomSanitizer, changeService: ChangeService, el: ElementRef, i18nService: I18nService);
49
- ngOnInit(): void;
50
- ngOnChanges(simplechanges: SimpleChanges): void;
51
- processBooklet(): void;
52
- private readBooklet;
53
- private successReadBooklet;
54
- private failureReadBooklet;
55
- handleBookletActionClick(action: ActionMeta): void;
56
- handleCompleteBooklet(completeBooklet: any): void;
57
- handleBook(quesList: any): void;
58
- handleQues(ques: any): void;
59
- addEvent(day: any, entryQues: any): void;
60
- readQuestions(qbId: string): any[];
61
- readTransQuestions(qbId: string): any[];
62
- getText(value: any): SafeHtml;
63
- getDropDown(event: any): void;
64
- getCalendarDate(event: any): void;
65
- getCalendarEvent(event: any): void;
66
- static ɵfac: i0.ɵɵFactoryDeclaration<BookletComponent, never>;
67
- static ɵcmp: i0.ɵɵComponentDeclaration<BookletComponent, "lib-booklet", never, { "bookletId": "bookletId"; "serv": "serv"; "tkn": "tkn"; "bookletJSON": "bookletJSON"; "dropdownDependentData": "dropdownDependentData"; "labelValue": "labelValue"; "token": "token"; "languageCode": "languageCode"; "fieldRestrictions": "fieldRestrictions"; "dataBind": "dataBind"; }, { "handleBookletActionEvent": "handleBookletActionEvent"; "handlePage": "handlePage"; "hadleDropDownDependent": "hadleDropDownDependent"; "handleCalendarDate": "handleCalendarDate"; "handleCalendarEvent": "handleCalendarEvent"; }, never, never, false>;
68
- }
1
+ import { OnInit, EventEmitter, ElementRef, SimpleChanges } 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 { I18nService } from "../../i18n.service";
11
+ import * as i0 from "@angular/core";
12
+ export declare class BookletComponent implements OnInit {
13
+ private sfService;
14
+ private dataService;
15
+ private storageService;
16
+ private route;
17
+ private sanitizer;
18
+ private changeService;
19
+ i18nService: I18nService;
20
+ bookletId: string;
21
+ serv: string;
22
+ tkn: string;
23
+ bookletJSON: any;
24
+ dropdownDependentData: any;
25
+ labelValue: string;
26
+ token: string;
27
+ languageCode: string;
28
+ fieldRestrictions: any;
29
+ handleBookletActionEvent: EventEmitter<any>;
30
+ handlePage: EventEmitter<any>;
31
+ hadleDropDownDependent: EventEmitter<any>;
32
+ handleCalendarDate: EventEmitter<any>;
33
+ handleCalendarEvent: EventEmitter<any>;
34
+ nxtBooklet: BookletWrapper;
35
+ booklet: any[];
36
+ abItem: any;
37
+ actions: ActionMeta[];
38
+ bookQuestionsMap: any;
39
+ translateMap: any;
40
+ private sqOptions;
41
+ isAnswerFlag: boolean;
42
+ spinnerName: string;
43
+ spinnerType: string;
44
+ langDirection: string;
45
+ answerList: any[];
46
+ dataBind: any;
47
+ allEvents: any[];
48
+ constructor(sfService: SalesforceService, dataService: DataService, storageService: StorageService, route: ActivatedRoute, sanitizer: DomSanitizer, changeService: ChangeService, el: ElementRef, i18nService: I18nService);
49
+ ngOnInit(): void;
50
+ ngOnChanges(simplechanges: SimpleChanges): void;
51
+ processBooklet(): void;
52
+ private readBooklet;
53
+ private successReadBooklet;
54
+ private failureReadBooklet;
55
+ handleBookletActionClick(action: ActionMeta): void;
56
+ handleCompleteBooklet(completeBooklet: any): void;
57
+ handleBook(quesList: any): void;
58
+ handleQues(ques: any): void;
59
+ addEvent(day: any, entryQues: any): void;
60
+ readQuestions(qbId: string): any[];
61
+ readTransQuestions(qbId: string): any[];
62
+ getText(value: any): SafeHtml;
63
+ getDropDown(event: any): void;
64
+ getCalendarDate(event: any): void;
65
+ getCalendarEvent(event: any): void;
66
+ static ɵfac: i0.ɵɵFactoryDeclaration<BookletComponent, never>;
67
+ static ɵcmp: i0.ɵɵComponentDeclaration<BookletComponent, "lib-booklet", never, { "bookletId": { "alias": "bookletId"; "required": false; }; "serv": { "alias": "serv"; "required": false; }; "tkn": { "alias": "tkn"; "required": false; }; "bookletJSON": { "alias": "bookletJSON"; "required": false; }; "dropdownDependentData": { "alias": "dropdownDependentData"; "required": false; }; "labelValue": { "alias": "labelValue"; "required": false; }; "token": { "alias": "token"; "required": false; }; "languageCode": { "alias": "languageCode"; "required": false; }; "fieldRestrictions": { "alias": "fieldRestrictions"; "required": false; }; "dataBind": { "alias": "dataBind"; "required": false; }; }, { "handleBookletActionEvent": "handleBookletActionEvent"; "handlePage": "handlePage"; "hadleDropDownDependent": "hadleDropDownDependent"; "handleCalendarDate": "handleCalendarDate"; "handleCalendarEvent": "handleCalendarEvent"; }, never, never, false, never>;
68
+ }
@@ -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": { "alias": "qbItem"; "required": false; }; "questionItem": { "alias": "questionItem"; "required": false; }; "translatedQuestions": { "alias": "translatedQuestions"; "required": false; }; "questions": { "alias": "questions"; "required": false; }; "errorFieldId": { "alias": "errorFieldId"; "required": false; }; "labelValue": { "alias": "labelValue"; "required": false; }; "token": { "alias": "token"; "required": false; }; "dropDownData": { "alias": "dropDownData"; "required": false; }; }, { "handleDropDown": "handleDropDown"; "handleQuestion": "handleQuestion"; "hadleDropDownDependent": "hadleDropDownDependent"; "handleCalendarDate": "handleCalendarDate"; "handleCalendarEvent": "handleCalendarEvent"; }, never, never, false, never>;
66
+ }