@rangertechnologies/ngnxt 2.1.73 → 2.1.74
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.
- package/esm2022/lib/components/custom-button/custom-button.component.mjs +4 -4
- package/esm2022/lib/components/custom-calendar/custom-calendar.component.mjs +4 -4
- package/esm2022/lib/components/custom-date/custom-date.component.mjs +4 -4
- package/esm2022/lib/components/custom-date-picker/custom-date-picker.component.mjs +4 -4
- package/esm2022/lib/components/custom-dropdown/custom-dropdown.component.mjs +4 -4
- package/esm2022/lib/components/custom-image/custom-image.component.mjs +4 -4
- package/esm2022/lib/components/custom-input/custom-input.component.mjs +4 -4
- package/esm2022/lib/components/custom-label/custom-label.component.mjs +13 -5
- package/esm2022/lib/components/custom-model/custom-model.component.mjs +4 -4
- package/esm2022/lib/components/custom-radio/custom-radio.component.mjs +4 -4
- package/esm2022/lib/components/custom-table/custom-table.component.mjs +4 -4
- package/esm2022/lib/components/custom-text-area/custom-text-area.component.mjs +4 -4
- package/esm2022/lib/components/custom-time/custom-time.component.mjs +4 -4
- package/esm2022/lib/components/dependent-table/dependent-table.component.mjs +4 -4
- package/esm2022/lib/components/dropdown-with-flag/dropdown-with-flag.component.mjs +5 -5
- package/esm2022/lib/components/file-upload/file-upload.component.mjs +5 -5
- package/esm2022/lib/components/file-view/file-view.component.mjs +5 -5
- package/esm2022/lib/components/loader/loader.component.mjs +5 -5
- package/esm2022/lib/components/pick-location/pick-location.component.mjs +4 -4
- package/esm2022/lib/components/search-box/search-box.component.mjs +4 -4
- package/esm2022/lib/components/table-appendix/table-appendix.component.mjs +5 -5
- package/esm2022/lib/directives/componenthost/componenthost.directive.mjs +4 -4
- package/esm2022/lib/i18n.component.mjs +4 -4
- package/esm2022/lib/i18n.module.mjs +5 -5
- package/esm2022/lib/i18n.pipe.mjs +4 -4
- package/esm2022/lib/i18n.service.mjs +4 -4
- package/esm2022/lib/nxt-app.component.mjs +4 -4
- package/esm2022/lib/nxt-app.module.mjs +5 -5
- package/esm2022/lib/nxt-app.service.mjs +4 -4
- package/esm2022/lib/pages/booklet/booklet.component.mjs +64 -12
- package/esm2022/lib/pages/questionbook/questionbook.component.mjs +10 -5
- package/esm2022/lib/pages/questionnaire/questionnaire.component.mjs +5 -5
- package/esm2022/lib/pages/summary-page/summary-page.component.mjs +4 -4
- package/esm2022/lib/pipe/get-value.pipe.mjs +4 -4
- package/esm2022/lib/sample.mjs +2 -1
- package/esm2022/lib/services/change.service.mjs +4 -4
- package/esm2022/lib/services/code-execution.service.mjs +30 -0
- package/esm2022/lib/services/data.service.mjs +4 -4
- package/esm2022/lib/services/salesforce.service.mjs +4 -4
- package/esm2022/lib/services/shared.service.mjs +4 -4
- package/esm2022/lib/services/storage.service.mjs +4 -4
- package/esm2022/lib/wrapper.mjs +2 -1
- package/fesm2022/rangertechnologies-ngnxt.mjs +224 -131
- package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
- package/lib/components/custom-label/custom-label.component.d.ts +3 -1
- package/lib/pages/booklet/booklet.component.d.ts +8 -2
- package/lib/pages/questionbook/questionbook.component.d.ts +2 -1
- package/lib/services/code-execution.service.d.ts +9 -0
- package/lib/wrapper.d.ts +1 -0
- package/package.json +1 -1
- package/rangertechnologies-ngnxt-2.1.74.tgz +0 -0
- package/rangertechnologies-ngnxt-2.1.73.tgz +0 -0
|
@@ -3,8 +3,10 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class CustomLabelComponent implements OnInit {
|
|
4
4
|
labelValue: string;
|
|
5
5
|
labelStyle: string;
|
|
6
|
+
error: any;
|
|
7
|
+
errorMessage: string;
|
|
6
8
|
constructor();
|
|
7
9
|
ngOnInit(): void;
|
|
8
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomLabelComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomLabelComponent, "app-custom-label", never, { "labelValue": "labelValue"; "labelStyle": "labelStyle"; }, {}, never, never, false>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomLabelComponent, "app-custom-label", never, { "labelValue": "labelValue"; "labelStyle": "labelStyle"; "error": "error"; "errorMessage": "errorMessage"; }, {}, never, never, false>;
|
|
10
12
|
}
|
|
@@ -7,6 +7,7 @@ import { ActionMeta } from '../../interfaces/actionMeta';
|
|
|
7
7
|
import { BookletWrapper } from "../../model/bookletWrapper";
|
|
8
8
|
import { StorageService } from '../../services/storage.service';
|
|
9
9
|
import { ChangeService } from "../../services/change.service";
|
|
10
|
+
import { CodeExecutionService } from "../../services/code-execution.service";
|
|
10
11
|
import { I18nService } from "../../i18n.service";
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
export declare class BookletComponent implements OnInit {
|
|
@@ -16,6 +17,7 @@ export declare class BookletComponent implements OnInit {
|
|
|
16
17
|
private route;
|
|
17
18
|
private sanitizer;
|
|
18
19
|
private changeService;
|
|
20
|
+
private codeExecutionService;
|
|
19
21
|
i18nService: I18nService;
|
|
20
22
|
bookletId: string;
|
|
21
23
|
serv: string;
|
|
@@ -41,11 +43,13 @@ export declare class BookletComponent implements OnInit {
|
|
|
41
43
|
isAnswerFlag: boolean;
|
|
42
44
|
spinnerName: string;
|
|
43
45
|
spinnerType: string;
|
|
46
|
+
validationMap: any;
|
|
44
47
|
langDirection: string;
|
|
45
48
|
answerList: any[];
|
|
46
49
|
dataBind: any;
|
|
50
|
+
errorBind: any;
|
|
47
51
|
allEvents: any[];
|
|
48
|
-
constructor(sfService: SalesforceService, dataService: DataService, storageService: StorageService, route: ActivatedRoute, sanitizer: DomSanitizer, changeService: ChangeService, el: ElementRef, i18nService: I18nService);
|
|
52
|
+
constructor(sfService: SalesforceService, dataService: DataService, storageService: StorageService, route: ActivatedRoute, sanitizer: DomSanitizer, changeService: ChangeService, codeExecutionService: CodeExecutionService, el: ElementRef, i18nService: I18nService);
|
|
49
53
|
ngOnInit(): void;
|
|
50
54
|
ngOnChanges(simplechanges: SimpleChanges): void;
|
|
51
55
|
processBooklet(): void;
|
|
@@ -56,13 +60,15 @@ export declare class BookletComponent implements OnInit {
|
|
|
56
60
|
handleCompleteBooklet(completeBooklet: any): void;
|
|
57
61
|
handleBook(quesList: any): void;
|
|
58
62
|
handleQues(ques: any): void;
|
|
63
|
+
handleQuesValidation(ques: any): void;
|
|
59
64
|
addEvent(day: any, entryQues: any): void;
|
|
60
65
|
readQuestions(qbId: string): any[];
|
|
61
66
|
readTransQuestions(qbId: string): any[];
|
|
62
67
|
getText(value: any): SafeHtml;
|
|
68
|
+
handleQuestionsVal(questions: any): void;
|
|
63
69
|
getDropDown(event: any): void;
|
|
64
70
|
getCalendarDate(event: any): void;
|
|
65
71
|
getCalendarEvent(event: any): void;
|
|
66
72
|
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>;
|
|
73
|
+
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"; "errorBind": "errorBind"; }, { "handleBookletActionEvent": "handleBookletActionEvent"; "handlePage": "handlePage"; "hadleDropDownDependent": "hadleDropDownDependent"; "handleCalendarDate": "handleCalendarDate"; "handleCalendarEvent": "handleCalendarEvent"; }, never, never, false>;
|
|
68
74
|
}
|
|
@@ -24,6 +24,7 @@ export declare class QuestionbookComponent implements OnInit {
|
|
|
24
24
|
token: string;
|
|
25
25
|
handleDropDown: EventEmitter<any>;
|
|
26
26
|
handleQuestion: EventEmitter<any>;
|
|
27
|
+
handleValidation: EventEmitter<any>;
|
|
27
28
|
dropDownData: any;
|
|
28
29
|
subQuestions: Question[];
|
|
29
30
|
selectedFileData: any[];
|
|
@@ -62,5 +63,5 @@ export declare class QuestionbookComponent implements OnInit {
|
|
|
62
63
|
handleQuestionEvent(event: any): void;
|
|
63
64
|
closeCalendarModal(event: any): void;
|
|
64
65
|
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
|
+
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"; "handleValidation": "handleValidation"; "hadleDropDownDependent": "hadleDropDownDependent"; "handleCalendarDate": "handleCalendarDate"; "handleCalendarEvent": "handleCalendarEvent"; }, never, never, false>;
|
|
66
67
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CodeExecutionService {
|
|
3
|
+
constructor();
|
|
4
|
+
executeCode(codeString: string, context?: {
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
}): any;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CodeExecutionService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CodeExecutionService>;
|
|
9
|
+
}
|
package/lib/wrapper.d.ts
CHANGED
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|