@rangertechnologies/ngnxt 2.1.58 → 2.1.60
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-calendar/custom-calendar.component.mjs +65 -48
- package/esm2022/lib/pages/booklet/booklet.component.mjs +2 -2
- package/esm2022/lib/pages/questionbook/questionbook.component.mjs +50 -48
- package/esm2022/lib/services/change.service.mjs +5 -5
- package/fesm2022/rangertechnologies-ngnxt.mjs +170 -146
- package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
- package/lib/components/custom-calendar/custom-calendar.component.d.ts +6 -7
- package/lib/pages/questionbook/questionbook.component.d.ts +11 -3
- package/lib/services/change.service.d.ts +3 -3
- package/package.json +1 -1
- package/rangertechnologies-ngnxt-2.1.60.tgz +0 -0
- package/rangertechnologies-ngnxt-2.1.58.tgz +0 -0
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { Question } from '../../wrapper';
|
|
3
|
-
import { ComponenthostDirective } from '../../directives/componenthost/componenthost.directive';
|
|
4
3
|
import { ChangeService } from '../../services/change.service';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
interface CalendarDay {
|
|
@@ -16,9 +15,10 @@ export declare class CustomCalendarComponent implements OnInit {
|
|
|
16
15
|
private changeService;
|
|
17
16
|
eventSelected: EventEmitter<any>;
|
|
18
17
|
dateSelected: EventEmitter<any>;
|
|
18
|
+
openModal: EventEmitter<any>;
|
|
19
|
+
closeModal: EventEmitter<any>;
|
|
19
20
|
allEvents: any[];
|
|
20
21
|
question: Question;
|
|
21
|
-
dynamicHost: ComponenthostDirective;
|
|
22
22
|
entries: any[];
|
|
23
23
|
referenceQuestions: any[];
|
|
24
24
|
qbRefrenceBook: any;
|
|
@@ -40,26 +40,25 @@ export declare class CustomCalendarComponent implements OnInit {
|
|
|
40
40
|
editingEventId: number;
|
|
41
41
|
editingEntryGroup: any;
|
|
42
42
|
showAppoinmentSection: boolean;
|
|
43
|
+
subscription: any;
|
|
43
44
|
constructor(changeService: ChangeService);
|
|
44
45
|
ngOnInit(): void;
|
|
45
46
|
processQuestion(): void;
|
|
46
|
-
openQuestionBookModal(): void;
|
|
47
47
|
generateCalendar(): void;
|
|
48
48
|
selectDay(day: CalendarDay): void;
|
|
49
49
|
previousMonth(): void;
|
|
50
50
|
nextMonth(): void;
|
|
51
51
|
addAppointment(): void;
|
|
52
|
+
openBookModel(): void;
|
|
53
|
+
closeCalendarModal(): void;
|
|
52
54
|
editEvent(event: any, entryGroup: any): void;
|
|
53
55
|
deleteEvent(eventId: number, entryGroup: any): void;
|
|
54
|
-
closeModal(): void;
|
|
55
56
|
addEvent(day: CalendarDay, entryQues: any): void;
|
|
56
57
|
onSave(): void;
|
|
57
|
-
onCancel(): void;
|
|
58
|
-
handleQuestionEvent(ques: any): void;
|
|
59
58
|
generateId(): string;
|
|
60
59
|
getEntryKeys(entryGroup: any): string[];
|
|
61
60
|
removeCharacters(questionText: string): string;
|
|
62
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomCalendarComponent, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomCalendarComponent, "app-custom-calendar", never, { "allEvents": "allEvents"; "question": "question"; }, { "eventSelected": "eventSelected"; "dateSelected": "dateSelected"; }, never, never, false>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomCalendarComponent, "app-custom-calendar", never, { "allEvents": "allEvents"; "question": "question"; }, { "eventSelected": "eventSelected"; "dateSelected": "dateSelected"; "openModal": "openModal"; "closeModal": "closeModal"; }, never, never, false>;
|
|
64
63
|
}
|
|
65
64
|
export {};
|
|
@@ -6,7 +6,6 @@ import { ChangeService } from '../../services/change.service';
|
|
|
6
6
|
import { StorageService } from '../../services/storage.service';
|
|
7
7
|
import { I18nService } from '../../i18n.service';
|
|
8
8
|
import { BehaviorSubject, Subscription } from 'rxjs';
|
|
9
|
-
import { ComponenthostDirective } from '../../directives/componenthost/componenthost.directive';
|
|
10
9
|
import * as i0 from "@angular/core";
|
|
11
10
|
export declare class QuestionbookComponent implements OnInit {
|
|
12
11
|
private sfService;
|
|
@@ -26,7 +25,6 @@ export declare class QuestionbookComponent implements OnInit {
|
|
|
26
25
|
handleDropDown: EventEmitter<any>;
|
|
27
26
|
handleQuestion: EventEmitter<any>;
|
|
28
27
|
dropDownData: any;
|
|
29
|
-
dynamicHost: ComponenthostDirective;
|
|
30
28
|
subQuestions: Question[];
|
|
31
29
|
selectedFileData: any[];
|
|
32
30
|
loadComponent$: BehaviorSubject<boolean>;
|
|
@@ -52,7 +50,17 @@ export declare class QuestionbookComponent implements OnInit {
|
|
|
52
50
|
getCurrentCalendar(event: any): void;
|
|
53
51
|
getCalendarEvent(event: any): void;
|
|
54
52
|
removeCharacters(questionText: string): string;
|
|
55
|
-
|
|
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;
|
|
56
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<QuestionbookComponent, never>;
|
|
57
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>;
|
|
58
66
|
}
|
|
@@ -6,15 +6,15 @@ export declare class ChangeService {
|
|
|
6
6
|
private changeConfirmedSource;
|
|
7
7
|
private validationSource;
|
|
8
8
|
private fieldSource;
|
|
9
|
-
private
|
|
9
|
+
private customChanges;
|
|
10
10
|
changeAnnounced$: import("rxjs").Observable<ChangeWrapper>;
|
|
11
11
|
changeConfirmed$: import("rxjs").Observable<string>;
|
|
12
12
|
submitValidate$: import("rxjs").Observable<string>;
|
|
13
13
|
changeField$: import("rxjs").Observable<any>;
|
|
14
|
-
|
|
14
|
+
customChange$: import("rxjs").Observable<any>;
|
|
15
15
|
announceChange(changeValue: ChangeWrapper): void;
|
|
16
16
|
confirmChange(childQuestion: string): void;
|
|
17
|
-
|
|
17
|
+
dataChanges(data: string): void;
|
|
18
18
|
submitChange(value: string): void;
|
|
19
19
|
fieldChange(value: any): void;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChangeService, never>;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|