@rangertechnologies/ngnxt 2.1.76 → 2.1.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/README.md +29 -29
  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 -212
  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 +177 -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 +368 -352
  41. package/esm2022/lib/nxt-app.service.mjs +14 -14
  42. package/esm2022/lib/pages/booklet/booklet.component.mjs +541 -541
  43. package/esm2022/lib/pages/questionbook/questionbook.component.mjs +414 -407
  44. package/esm2022/lib/pages/questionnaire/questionnaire.component.mjs +2392 -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 +10305 -9805
  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 -13
  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 +49 -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 +1 -1
  114. package/public-api.d.ts +10 -10
  115. package/rangertechnologies-ngnxt-2.1.77.tgz +0 -0
  116. package/rangertechnologies-ngnxt-2.1.76.tgz +0 -0
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
+ }
@@ -1,15 +1,15 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import * as i0 from "@angular/core";
3
- export declare class SharedService {
4
- private __http;
5
- constructor(__http: HttpClient);
6
- private loadingSubject;
7
- isLoading$: import("rxjs").Observable<boolean>;
8
- processViewFile(fileName: string, api: string): void;
9
- viewFile(fileName: string, api: string): import("rxjs").Observable<Object>;
10
- docIcon(ext: any): "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-PDF.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-XLSX.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-DOCX.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-AVI.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-DOC.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-GIF.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-JPG.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-MOV.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-MP3.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-MP4.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-MPEG.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-MPG.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-PNG.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-PPT.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-TXT.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-XLS.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/ic_document.svg";
11
- showLoader(): void;
12
- hideLoader(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<SharedService, [{ optional: true; }]>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<SharedService>;
15
- }
1
+ import { HttpClient } from '@angular/common/http';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SharedService {
4
+ private __http;
5
+ constructor(__http: HttpClient);
6
+ private loadingSubject;
7
+ isLoading$: import("rxjs").Observable<boolean>;
8
+ processViewFile(fileName: string, api: string): void;
9
+ viewFile(fileName: string, api: string): import("rxjs").Observable<Object>;
10
+ docIcon(ext: any): "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-PDF.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-XLSX.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-DOCX.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-AVI.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-DOC.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-GIF.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-JPG.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-MOV.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-MP3.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-MP4.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-MPEG.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-MPG.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-PNG.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-PPT.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-TXT.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-XLS.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/ic_document.svg";
11
+ showLoader(): void;
12
+ hideLoader(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<SharedService, [{ optional: true; }]>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<SharedService>;
15
+ }
@@ -1,13 +1,13 @@
1
- import { Question } from '../wrapper';
2
- import { BookletWrapper } from '../model/bookletWrapper';
3
- import * as i0 from "@angular/core";
4
- export declare class StorageService {
5
- nxtBookletAnswer: BookletWrapper;
6
- selectedData: any;
7
- constructor();
8
- save(qbJson: BookletWrapper): void;
9
- update(questionWithInput: Question): void;
10
- get(): BookletWrapper;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<StorageService, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<StorageService>;
13
- }
1
+ import { Question } from '../wrapper';
2
+ import { BookletWrapper } from '../model/bookletWrapper';
3
+ import * as i0 from "@angular/core";
4
+ export declare class StorageService {
5
+ nxtBookletAnswer: BookletWrapper;
6
+ selectedData: any;
7
+ constructor();
8
+ save(qbJson: BookletWrapper): void;
9
+ update(questionWithInput: Question): void;
10
+ get(): BookletWrapper;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<StorageService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<StorageService>;
13
+ }
package/lib/tam.i18n.d.ts CHANGED
@@ -1,24 +1,24 @@
1
- declare const tamI18n: {
2
- required: string;
3
- addMore: string;
4
- select: string;
5
- attachment: string;
6
- chooseFiles: string;
7
- uploadFile: string;
8
- thisFieldIsRequired: string;
9
- pickYourLocation: string;
10
- calibrated: string;
11
- enterValue: string;
12
- details: string;
13
- pleaseMakeChoice: string;
14
- attach: string;
15
- add: string;
16
- zeroOfZero: string;
17
- selectDate: string;
18
- toBuyTicket: string;
19
- pickLocation: string;
20
- enterLocation: string;
21
- searchNearestLocation: string;
22
- currentTheme: string;
23
- };
24
- export default tamI18n;
1
+ declare const tamI18n: {
2
+ required: string;
3
+ addMore: string;
4
+ select: string;
5
+ attachment: string;
6
+ chooseFiles: string;
7
+ uploadFile: string;
8
+ thisFieldIsRequired: string;
9
+ pickYourLocation: string;
10
+ calibrated: string;
11
+ enterValue: string;
12
+ details: string;
13
+ pleaseMakeChoice: string;
14
+ attach: string;
15
+ add: string;
16
+ zeroOfZero: string;
17
+ selectDate: string;
18
+ toBuyTicket: string;
19
+ pickLocation: string;
20
+ enterLocation: string;
21
+ searchNearestLocation: string;
22
+ currentTheme: string;
23
+ };
24
+ export default tamI18n;
package/lib/wrapper.d.ts CHANGED
@@ -1,203 +1,203 @@
1
- import { ErrorWrapper } from "./model/errorWrapper";
2
- export declare class QuestionBook {
3
- id: number;
4
- Name: string;
5
- category: string;
6
- next: string;
7
- cancel: string;
8
- back: string;
9
- submit: string;
10
- edit: string;
11
- firstQuestion: string;
12
- title: string;
13
- nextTrackingId: string;
14
- backTrackingId: string;
15
- cancelTrackingId: string;
16
- submitTrackingId: string;
17
- totalQuestions: number;
18
- summaryText?: string;
19
- Questions__r?: QuestionR;
20
- progressBar: boolean;
21
- subTitle: string;
22
- qTyp: string;
23
- possibilities: string;
24
- summarySubText: string;
25
- isShengel?: boolean;
26
- style: {
27
- labelClass: any;
28
- labelStyle: any;
29
- labelValueStyle: any;
30
- inputClass: any;
31
- inputStyle: any;
32
- showLabel: boolean;
33
- bookStyle: any;
34
- direction: any;
35
- questionStyle: any;
36
- };
37
- }
38
- export declare class Question {
39
- id: string;
40
- Name: string;
41
- referenceField?: string;
42
- dependentRef?: string;
43
- allowedFileExtensions: string;
44
- question: string;
45
- questionText: any;
46
- type: string;
47
- nextQuestion?: string;
48
- isOptional: boolean;
49
- title: string;
50
- subTitle: string;
51
- isTitle: boolean;
52
- x24Hours: boolean;
53
- errorMessage: string;
54
- isDateBackward: boolean;
55
- isDateForward: boolean;
56
- isHidden: boolean;
57
- groupName: string;
58
- questionNumber?: string;
59
- Question_Options__r?: OptionR;
60
- static x24Hours: boolean;
61
- options: any;
62
- size: number;
63
- subText: string;
64
- trackingId: string;
65
- timeText: string;
66
- dateText: string;
67
- additionalRichContent?: string;
68
- Questions__r?: QuestionR;
69
- RecordType: {
70
- Name: string;
71
- };
72
- subQuestions: any;
73
- input?: any;
74
- error?: ErrorWrapper;
75
- valueName?: string;
76
- dropDownOnly?: boolean;
77
- isDependentPicklist?: boolean;
78
- tableDataValue?: any[];
79
- tableHeader?: string;
80
- startDate?: any;
81
- selectedValue?: string;
82
- minDate?: any;
83
- isShengel?: boolean;
84
- style: {
85
- labelClass: any;
86
- labelStyle: any;
87
- labelValueStyle: any;
88
- inputClass: any;
89
- inputStyle: any;
90
- showLabel: boolean;
91
- bookStyle: any;
92
- direction: any;
93
- questionStyle: any;
94
- };
95
- }
96
- export declare class LocalQuestion {
97
- id: string;
98
- Name: string;
99
- allowedFileExtensions: string;
100
- question: string;
101
- questionText: string;
102
- type: string;
103
- title: string;
104
- subTitle: string;
105
- nextQuestion?: string;
106
- isOptional: boolean;
107
- isTitle: boolean;
108
- isHidden: boolean;
109
- x24Hours: boolean;
110
- errorMessage: string;
111
- isDateBackward: boolean;
112
- isDateForward: boolean;
113
- timeText: string;
114
- dateText: string;
115
- groupName: string;
116
- questionNumber?: string;
117
- Question_Options__r?: OptionR;
118
- subText: string;
119
- size: number;
120
- trackingId: string;
121
- additionalRichContent?: string;
122
- selectedValue: string;
123
- Questions__r?: QuestionR;
124
- RecordType: {
125
- Name: string;
126
- };
127
- input?: string;
128
- error?: ErrorWrapper;
129
- static x24Hours: boolean;
130
- uniqueSubQId: string;
131
- style: {
132
- labelClass: any;
133
- labelStyle: any;
134
- labelValueStyle: any;
135
- inputClass: any;
136
- inputStyle: any;
137
- showLabel: boolean;
138
- bookStyle: any;
139
- direction: any;
140
- questionStyle: any;
141
- };
142
- }
143
- export declare class QuestionR {
144
- records?: Question[];
145
- }
146
- export declare class OptionR {
147
- records?: Option[];
148
- }
149
- export declare class Option {
150
- id: string;
151
- Name: string;
152
- value: string;
153
- trackingId: string;
154
- nextQuestion?: string;
155
- }
156
- export declare class OptionValue {
157
- id: string;
158
- Name: string;
159
- value: string;
160
- nextQuestion?: string;
161
- checked: boolean;
162
- }
163
- export declare class AnswerBook {
164
- id: string;
165
- questionBookId: string;
166
- status: string;
167
- Answers__r?: AnswerR;
168
- answers: any;
169
- }
170
- export declare class Answer {
171
- id: string;
172
- quesValue: string;
173
- ansValue: string;
174
- qTyp: string;
175
- quesId: string;
176
- groupText: string;
177
- }
178
- export declare class AnswerR {
179
- records?: Answer[];
180
- }
181
- export declare class AnswerWrapper {
182
- ansId?: string;
183
- ansNumber?: number;
184
- abId: string;
185
- quesId: string;
186
- quesValue: string;
187
- qTyp: string;
188
- ansValue: string;
189
- groupText: string;
190
- squesValue: string;
191
- myVal: any;
192
- }
193
- export declare class AttachmentWrapper {
194
- parentId: string;
195
- fileName: string;
196
- fileContent: string;
197
- }
198
- export declare class Attachment {
199
- attachmentId: string;
200
- attachmentName: string;
201
- attachmentMetaData: any;
202
- constructor(id: string, name: string, metaData: any);
203
- }
1
+ import { ErrorWrapper } from "./model/errorWrapper";
2
+ export declare class QuestionBook {
3
+ id: number;
4
+ Name: string;
5
+ category: string;
6
+ next: string;
7
+ cancel: string;
8
+ back: string;
9
+ submit: string;
10
+ edit: string;
11
+ firstQuestion: string;
12
+ title: string;
13
+ nextTrackingId: string;
14
+ backTrackingId: string;
15
+ cancelTrackingId: string;
16
+ submitTrackingId: string;
17
+ totalQuestions: number;
18
+ summaryText?: string;
19
+ Questions__r?: QuestionR;
20
+ progressBar: boolean;
21
+ subTitle: string;
22
+ qTyp: string;
23
+ possibilities: string;
24
+ summarySubText: string;
25
+ isShengel?: boolean;
26
+ style: {
27
+ labelClass: any;
28
+ labelStyle: any;
29
+ labelValueStyle: any;
30
+ inputClass: any;
31
+ inputStyle: any;
32
+ showLabel: boolean;
33
+ bookStyle: any;
34
+ direction: any;
35
+ questionStyle: any;
36
+ };
37
+ }
38
+ export declare class Question {
39
+ id: string;
40
+ Name: string;
41
+ referenceField?: string;
42
+ dependentRef?: string;
43
+ allowedFileExtensions: string;
44
+ question: string;
45
+ questionText: any;
46
+ type: string;
47
+ nextQuestion?: string;
48
+ isOptional: boolean;
49
+ title: string;
50
+ subTitle: string;
51
+ isTitle: boolean;
52
+ x24Hours: boolean;
53
+ errorMessage: string;
54
+ isDateBackward: boolean;
55
+ isDateForward: boolean;
56
+ isHidden: boolean;
57
+ groupName: string;
58
+ questionNumber?: string;
59
+ Question_Options__r?: OptionR;
60
+ static x24Hours: boolean;
61
+ options: any;
62
+ size: number;
63
+ subText: string;
64
+ trackingId: string;
65
+ timeText: string;
66
+ dateText: string;
67
+ additionalRichContent?: string;
68
+ Questions__r?: QuestionR;
69
+ RecordType: {
70
+ Name: string;
71
+ };
72
+ subQuestions: any;
73
+ input?: any;
74
+ error?: ErrorWrapper;
75
+ valueName?: string;
76
+ dropDownOnly?: boolean;
77
+ isDependentPicklist?: boolean;
78
+ tableDataValue?: any[];
79
+ tableHeader?: string;
80
+ startDate?: any;
81
+ selectedValue?: string;
82
+ minDate?: any;
83
+ isShengel?: boolean;
84
+ style: {
85
+ labelClass: any;
86
+ labelStyle: any;
87
+ labelValueStyle: any;
88
+ inputClass: any;
89
+ inputStyle: any;
90
+ showLabel: boolean;
91
+ bookStyle: any;
92
+ direction: any;
93
+ questionStyle: any;
94
+ };
95
+ }
96
+ export declare class LocalQuestion {
97
+ id: string;
98
+ Name: string;
99
+ allowedFileExtensions: string;
100
+ question: string;
101
+ questionText: string;
102
+ type: string;
103
+ title: string;
104
+ subTitle: string;
105
+ nextQuestion?: string;
106
+ isOptional: boolean;
107
+ isTitle: boolean;
108
+ isHidden: boolean;
109
+ x24Hours: boolean;
110
+ errorMessage: string;
111
+ isDateBackward: boolean;
112
+ isDateForward: boolean;
113
+ timeText: string;
114
+ dateText: string;
115
+ groupName: string;
116
+ questionNumber?: string;
117
+ Question_Options__r?: OptionR;
118
+ subText: string;
119
+ size: number;
120
+ trackingId: string;
121
+ additionalRichContent?: string;
122
+ selectedValue: string;
123
+ Questions__r?: QuestionR;
124
+ RecordType: {
125
+ Name: string;
126
+ };
127
+ input?: string;
128
+ error?: ErrorWrapper;
129
+ static x24Hours: boolean;
130
+ uniqueSubQId: string;
131
+ style: {
132
+ labelClass: any;
133
+ labelStyle: any;
134
+ labelValueStyle: any;
135
+ inputClass: any;
136
+ inputStyle: any;
137
+ showLabel: boolean;
138
+ bookStyle: any;
139
+ direction: any;
140
+ questionStyle: any;
141
+ };
142
+ }
143
+ export declare class QuestionR {
144
+ records?: Question[];
145
+ }
146
+ export declare class OptionR {
147
+ records?: Option[];
148
+ }
149
+ export declare class Option {
150
+ id: string;
151
+ Name: string;
152
+ value: string;
153
+ trackingId: string;
154
+ nextQuestion?: string;
155
+ }
156
+ export declare class OptionValue {
157
+ id: string;
158
+ Name: string;
159
+ value: string;
160
+ nextQuestion?: string;
161
+ checked: boolean;
162
+ }
163
+ export declare class AnswerBook {
164
+ id: string;
165
+ questionBookId: string;
166
+ status: string;
167
+ Answers__r?: AnswerR;
168
+ answers: any;
169
+ }
170
+ export declare class Answer {
171
+ id: string;
172
+ quesValue: string;
173
+ ansValue: string;
174
+ qTyp: string;
175
+ quesId: string;
176
+ groupText: string;
177
+ }
178
+ export declare class AnswerR {
179
+ records?: Answer[];
180
+ }
181
+ export declare class AnswerWrapper {
182
+ ansId?: string;
183
+ ansNumber?: number;
184
+ abId: string;
185
+ quesId: string;
186
+ quesValue: string;
187
+ qTyp: string;
188
+ ansValue: string;
189
+ groupText: string;
190
+ squesValue: string;
191
+ myVal: any;
192
+ }
193
+ export declare class AttachmentWrapper {
194
+ parentId: string;
195
+ fileName: string;
196
+ fileContent: string;
197
+ }
198
+ export declare class Attachment {
199
+ attachmentId: string;
200
+ attachmentName: string;
201
+ attachmentMetaData: any;
202
+ constructor(id: string, name: string, metaData: any);
203
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rangertechnologies/ngnxt",
3
- "version": "2.1.76",
3
+ "version": "2.1.77",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.2.3",
6
6
  "@angular/core": "^14.2.3"
package/public-api.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- export * from './lib/nxt-app.service';
2
- export * from './lib/nxt-app.component';
3
- export * from './lib/nxt-app.module';
4
- export * from './lib/pages/questionnaire/questionnaire.component';
5
- export * from './lib/pages/booklet/booklet.component';
6
- export * from './lib/pages/questionbook/questionbook.component';
7
- export * from './lib/pages/summary-page/summary-page.component';
8
- export * from './lib/services/salesforce.service';
9
- export * from './lib/i18n.component';
10
- export * from './lib/i18n.pipe';
1
+ export * from './lib/nxt-app.service';
2
+ export * from './lib/nxt-app.component';
3
+ export * from './lib/nxt-app.module';
4
+ export * from './lib/pages/questionnaire/questionnaire.component';
5
+ export * from './lib/pages/booklet/booklet.component';
6
+ export * from './lib/pages/questionbook/questionbook.component';
7
+ export * from './lib/pages/summary-page/summary-page.component';
8
+ export * from './lib/services/salesforce.service';
9
+ export * from './lib/i18n.component';
10
+ export * from './lib/i18n.pipe';