@rangertechnologies/ngnxt 2.0.27

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 (45) hide show
  1. package/README.md +24 -0
  2. package/esm2022/lib/components/custom-date-picker/custom-date-picker.component.mjs +33 -0
  3. package/esm2022/lib/components/custom-dropdown/custom-dropdown.component.mjs +73 -0
  4. package/esm2022/lib/components/custom-input/custom-input.component.mjs +46 -0
  5. package/esm2022/lib/components/custom-table/custom-table.component.mjs +51 -0
  6. package/esm2022/lib/components/custom-text-area/custom-text-area.component.mjs +34 -0
  7. package/esm2022/lib/components/dropdown-with-flag/dropdown-with-flag.component.mjs +34 -0
  8. package/esm2022/lib/components/pick-location/pick-location.component.mjs +134 -0
  9. package/esm2022/lib/components/search-box/search-box.component.mjs +84 -0
  10. package/esm2022/lib/interfaces/apimeta.mjs +2 -0
  11. package/esm2022/lib/nxt-app.component.mjs +22 -0
  12. package/esm2022/lib/nxt-app.module.mjs +262 -0
  13. package/esm2022/lib/nxt-app.service.mjs +14 -0
  14. package/esm2022/lib/pages/booklet/booklet.component.mjs +79 -0
  15. package/esm2022/lib/pages/questionnaire/questionnaire.component.mjs +2131 -0
  16. package/esm2022/lib/sample.mjs +433 -0
  17. package/esm2022/lib/services/data.service.mjs +40 -0
  18. package/esm2022/lib/services/salesforce.service.mjs +46 -0
  19. package/esm2022/lib/wrapper.mjs +165 -0
  20. package/esm2022/public-api.mjs +10 -0
  21. package/esm2022/rangertechnologies-ngnxt.mjs +5 -0
  22. package/fesm2022/rangertechnologies-ngnxt.mjs +3610 -0
  23. package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -0
  24. package/index.d.ts +5 -0
  25. package/lib/components/custom-date-picker/custom-date-picker.component.d.ts +14 -0
  26. package/lib/components/custom-dropdown/custom-dropdown.component.d.ts +23 -0
  27. package/lib/components/custom-input/custom-input.component.d.ts +18 -0
  28. package/lib/components/custom-table/custom-table.component.d.ts +23 -0
  29. package/lib/components/custom-text-area/custom-text-area.component.d.ts +14 -0
  30. package/lib/components/dropdown-with-flag/dropdown-with-flag.component.d.ts +14 -0
  31. package/lib/components/pick-location/pick-location.component.d.ts +38 -0
  32. package/lib/components/search-box/search-box.component.d.ts +34 -0
  33. package/lib/interfaces/apimeta.d.ts +5 -0
  34. package/lib/nxt-app.component.d.ts +8 -0
  35. package/lib/nxt-app.module.d.ts +26 -0
  36. package/lib/nxt-app.service.d.ts +6 -0
  37. package/lib/pages/booklet/booklet.component.d.ts +29 -0
  38. package/lib/pages/questionnaire/questionnaire.component.d.ts +207 -0
  39. package/lib/sample.d.ts +10 -0
  40. package/lib/services/data.service.d.ts +9 -0
  41. package/lib/services/salesforce.service.d.ts +11 -0
  42. package/lib/wrapper.d.ts +164 -0
  43. package/package.json +43 -0
  44. package/public-api.d.ts +6 -0
  45. package/rangertechnologies-ngnxt-2.0.27.tgz +0 -0
@@ -0,0 +1,164 @@
1
+ export declare class QuestionBook {
2
+ Id: number;
3
+ Name: string;
4
+ Category__c: string;
5
+ Next__c: string;
6
+ Cancel__c: string;
7
+ Back__c: string;
8
+ Submit__c: string;
9
+ Edit__c: string;
10
+ First_Question__c: string;
11
+ Title__c: string;
12
+ Next_Tracking_ID__c: string;
13
+ Back_Tracking_ID__c: string;
14
+ Cancel_Tracking_ID__c: string;
15
+ Submit_Tracking_ID__c: string;
16
+ Total_Questions__c: number;
17
+ Summary_Text__c?: string;
18
+ Questions__r?: QuestionR;
19
+ Progress_Bar__c: boolean;
20
+ SubTitle__c: string;
21
+ Question_Type__c: string;
22
+ Possibilities__c: string;
23
+ Summary_Sub_Text__c: string;
24
+ isShengel__c?: boolean;
25
+ }
26
+ export declare class Question {
27
+ Id: string;
28
+ Name: string;
29
+ Allowed_File_Extensions__c: string;
30
+ Question__c: string;
31
+ Question_Text__c: string;
32
+ Type__c: string;
33
+ Next_Question__c?: string;
34
+ Is_Optional__c: boolean;
35
+ Is_Title__c: boolean;
36
+ X24_Hours__c: boolean;
37
+ Error_Message__c: string;
38
+ Is_Date_Backward__c: boolean;
39
+ Is_Date_Forward__c: boolean;
40
+ Group__c: string;
41
+ Question_No__c?: string;
42
+ Question_Options__r?: OptionR;
43
+ Size__c: number;
44
+ Tracking_ID__c: string;
45
+ Additional_Rich__c?: string;
46
+ Questions__r?: QuestionR;
47
+ RecordType: {
48
+ Name: string;
49
+ };
50
+ input?: any;
51
+ error?: ErrorWrapper;
52
+ static X24_Hours__c: boolean;
53
+ Time_Text__c: string;
54
+ Title__c: string;
55
+ SubTitle__c: string;
56
+ Sub_Text__c: string;
57
+ Date_Text__c: string;
58
+ valueName?: string;
59
+ dropDownOnly?: boolean;
60
+ isDependentPicklist?: boolean;
61
+ tableDataValue?: any[];
62
+ tableHeader?: string;
63
+ startDate?: any;
64
+ minDate?: any;
65
+ isShengel__c?: boolean;
66
+ }
67
+ export declare class LocalQuestion {
68
+ Id: string;
69
+ Name: string;
70
+ Allowed_File_Extensions__c: string;
71
+ Question__c: string;
72
+ Question_Text__c: string;
73
+ Type__c: string;
74
+ Title__c: string;
75
+ SubTitle__c: string;
76
+ Next_Question__c?: string;
77
+ Is_Optional__c: boolean;
78
+ Is_Title__c: boolean;
79
+ X24_Hours__c: boolean;
80
+ Error_Message__c: string;
81
+ Is_Date_Backward__c: boolean;
82
+ Is_Date_Forward__c: boolean;
83
+ Time_Text__c: string;
84
+ Date_Text__c: string;
85
+ Group__c: string;
86
+ Question_No__c?: string;
87
+ Question_Options__r?: OptionR;
88
+ Sub_Text__c: string;
89
+ Size__c: number;
90
+ Tracking_ID__c: string;
91
+ Additional_Rich__c?: string;
92
+ Questions__r?: QuestionR;
93
+ RecordType: {
94
+ Name: string;
95
+ };
96
+ input?: string;
97
+ error?: ErrorWrapper;
98
+ static X24_Hours__c: boolean;
99
+ uniqueSubQId: string;
100
+ }
101
+ export declare class QuestionR {
102
+ records?: Question[];
103
+ }
104
+ export declare class OptionR {
105
+ records?: Option[];
106
+ }
107
+ export declare class Option {
108
+ Id: string;
109
+ Name: string;
110
+ Value__c: string;
111
+ Tracking_ID__c: string;
112
+ Next_Question__c?: string;
113
+ }
114
+ export declare class OptionValue {
115
+ Id: string;
116
+ Name: string;
117
+ Value__c: string;
118
+ Next_Question__c?: string;
119
+ checked: boolean;
120
+ }
121
+ export declare class AnswerBook {
122
+ Id: string;
123
+ Question_Book__c: string;
124
+ Status__c: string;
125
+ Answers__r?: AnswerR;
126
+ }
127
+ export declare class Answer {
128
+ Id: string;
129
+ Question_Rich_Text__c: string;
130
+ Answer_Long__c: string;
131
+ Question_Type__c: string;
132
+ Question_Ref__c: string;
133
+ Question_Group_Text__c: string;
134
+ }
135
+ export declare class AnswerR {
136
+ records?: Answer[];
137
+ }
138
+ export declare class AnswerWrapper {
139
+ ansId?: string;
140
+ ansNumber?: number;
141
+ abId: string;
142
+ quesId: string;
143
+ quesValue: string;
144
+ qTyp: string;
145
+ ansValue: string;
146
+ groupText: string;
147
+ squesValue: string;
148
+ }
149
+ export declare class ErrorWrapper {
150
+ errorCode: string;
151
+ errorMsg: string;
152
+ errorDetails: string;
153
+ }
154
+ export declare class AttachmentWrapper {
155
+ parentId: string;
156
+ fileName: string;
157
+ fileContent: string;
158
+ }
159
+ export declare class Attachment {
160
+ attachmentId: string;
161
+ attachmentName: string;
162
+ attachmentMetaData: any;
163
+ constructor(id: string, name: string, metaData: any);
164
+ }
package/package.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "@rangertechnologies/ngnxt",
3
+ "version": "2.0.27",
4
+ "peerDependencies": {
5
+ "@angular/common": "^14.2.3",
6
+ "@angular/core": "^14.2.3"
7
+ },
8
+ "dependencies": {
9
+ "tslib": "^2.0.0"
10
+ },
11
+ "description": "This library was used for creating dymanic UI based on the input JSON/data",
12
+ "main": "karma.conf.js",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "git+https://github.com/rangertechnologies/ngnxt.git"
16
+ },
17
+ "keywords": [
18
+ "Configurable",
19
+ "Single",
20
+ "Page",
21
+ "Application"
22
+ ],
23
+ "author": "Mohamed Riyaz Y",
24
+ "license": "ISC",
25
+ "bugs": {
26
+ "url": "https://github.com/rangertechnologies/ngnxt/issues"
27
+ },
28
+ "homepage": "https://github.com/rangertechnologies/ngnxt#readme",
29
+ "module": "fesm2022/rangertechnologies-ngnxt.mjs",
30
+ "typings": "index.d.ts",
31
+ "exports": {
32
+ "./package.json": {
33
+ "default": "./package.json"
34
+ },
35
+ ".": {
36
+ "types": "./index.d.ts",
37
+ "esm2022": "./esm2022/rangertechnologies-ngnxt.mjs",
38
+ "esm": "./esm2022/rangertechnologies-ngnxt.mjs",
39
+ "default": "./fesm2022/rangertechnologies-ngnxt.mjs"
40
+ }
41
+ },
42
+ "sideEffects": false
43
+ }
@@ -0,0 +1,6 @@
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/services/salesforce.service';