@rangertechnologies/ngnxt 2.1.246 → 2.1.247
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/environments/version.mjs +2 -2
- package/esm2022/lib/components/button/nxt-button.component.mjs +1 -2
- package/esm2022/lib/components/custom-calendar/custom-calendar.component.mjs +3 -7
- package/esm2022/lib/components/custom-dropdown/custom-dropdown.component.mjs +11 -28
- package/esm2022/lib/components/custom-radio/custom-radio.component.mjs +11 -15
- package/esm2022/lib/components/datatable/datatable.component.mjs +26 -22
- package/esm2022/lib/components/file-upload/file-upload.component.mjs +16 -4
- package/esm2022/lib/components/nxt-input/nxt-input.component.mjs +18 -6
- package/esm2022/lib/components/pick-location/pick-location.component.mjs +11 -15
- package/esm2022/lib/components/search-box/search-box.component.mjs +76 -37
- package/esm2022/lib/interfaces/apimeta.mjs +1 -1
- package/esm2022/lib/interfaces/dependencyMeta.mjs +1 -1
- package/esm2022/lib/model/changeWrapper.mjs +1 -2
- package/esm2022/lib/pages/booklet/booklet.component.mjs +2 -2
- package/esm2022/lib/pages/builder/properties/properties.component.mjs +19 -1
- package/esm2022/lib/pages/pdfDesigner/pdf-properties/pdf-properties.component.mjs +1 -3
- package/esm2022/lib/pages/questionbook/questionbook.component.mjs +27 -43
- package/esm2022/lib/pages/questionnaire/questionnaire.component.mjs +10 -28
- package/esm2022/lib/pipe/get-value.pipe.mjs +22 -17
- package/esm2022/lib/services/form-builder.service.mjs +13 -1
- package/esm2022/lib/services/storage.service.mjs +17 -1
- package/fesm2022/rangertechnologies-ngnxt.mjs +303 -252
- package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
- package/lib/components/custom-calendar/custom-calendar.component.d.ts +0 -1
- package/lib/components/custom-dropdown/custom-dropdown.component.d.ts +0 -1
- package/lib/components/pick-location/pick-location.component.d.ts +0 -1
- package/lib/components/search-box/search-box.component.d.ts +7 -2
- package/lib/interfaces/apimeta.d.ts +1 -1
- package/lib/interfaces/dependencyMeta.d.ts +1 -1
- package/lib/model/changeWrapper.d.ts +0 -1
- package/lib/pages/questionbook/questionbook.component.d.ts +0 -1
- package/lib/pages/questionnaire/questionnaire.component.d.ts +0 -1
- package/lib/services/storage.service.d.ts +5 -0
- package/package.json +1 -1
- package/rangertechnologies-ngnxt-2.1.247.tgz +0 -0
- package/rangertechnologies-ngnxt-2.1.246.tgz +0 -0
|
@@ -58,7 +58,6 @@ export declare class CustomCalendarComponent implements OnInit {
|
|
|
58
58
|
onSave(): void;
|
|
59
59
|
generateId(): string;
|
|
60
60
|
getEntryKeys(entryGroup: any): string[];
|
|
61
|
-
removeCharacters(questionText: string): string;
|
|
62
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomCalendarComponent, never>;
|
|
63
62
|
static ɵcmp: i0.ɵɵComponentDeclaration<CustomCalendarComponent, "app-custom-calendar", never, { "allEvents": { "alias": "allEvents"; "required": false; }; "question": { "alias": "question"; "required": false; }; "nxtId": { "alias": "nxtId"; "required": false; }; }, { "eventSelected": "eventSelected"; "dateSelected": "dateSelected"; "openModal": "openModal"; "closeModal": "closeModal"; }, never, never, true, never>;
|
|
64
63
|
}
|
|
@@ -40,7 +40,6 @@ export declare class CustomDropdownComponent implements OnInit {
|
|
|
40
40
|
toggle(): void;
|
|
41
41
|
onDocumentClick(event: MouseEvent): void;
|
|
42
42
|
clearSelection(): void;
|
|
43
|
-
removeCharacters(questionText: string): string;
|
|
44
43
|
inputValue(event: any, ques: any): void;
|
|
45
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomDropdownComponent, never>;
|
|
46
45
|
static ɵcmp: i0.ɵɵComponentDeclaration<CustomDropdownComponent, "app-custom-dropdown", never, { "options": { "alias": "options"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "apiMeta": { "alias": "apiMeta"; "required": false; }; "selectedValue": { "alias": "selectedValue"; "required": false; }; "progressBar": { "alias": "progressBar"; "required": false; }; "id": { "alias": "id"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "error": { "alias": "error"; "required": false; }; "fromShengel": { "alias": "fromShengel"; "required": false; }; "question": { "alias": "question"; "required": false; }; "referenceField": { "alias": "referenceField"; "required": false; }; "token": { "alias": "token"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "from": { "alias": "from"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
@@ -41,7 +41,6 @@ export declare class PickLocationComponent implements OnInit, OnChanges {
|
|
|
41
41
|
getAddress(latitude: number, longitude: number): void;
|
|
42
42
|
openMap(): void;
|
|
43
43
|
closeModal(): void;
|
|
44
|
-
removeCharacters(questionText: string): string;
|
|
45
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<PickLocationComponent, never>;
|
|
46
45
|
static ɵcmp: i0.ɵɵComponentDeclaration<PickLocationComponent, "app-pick-location", never, { "address": { "alias": "address"; "required": false; }; "from": { "alias": "from"; "required": false; }; "question": { "alias": "question"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "apiKey": { "alias": "apiKey"; "required": false; }; }, { "locationSelected": "locationSelected"; }, never, never, true, never>;
|
|
47
46
|
}
|
|
@@ -2,8 +2,13 @@ import { OnInit, OnDestroy, OnChanges, EventEmitter, ElementRef, SimpleChanges,
|
|
|
2
2
|
import { DataService } from '../../services/data.service';
|
|
3
3
|
import { I18nService } from "../../i18n.service";
|
|
4
4
|
import { CountryService } from "../../services/country.service";
|
|
5
|
+
import { Subscription } from "rxjs";
|
|
6
|
+
import { ChangeService } from "../../services/change.service";
|
|
7
|
+
import { StorageService } from "../../services/storage.service";
|
|
5
8
|
import * as i0 from "@angular/core";
|
|
6
9
|
export declare class NxtSearchBox implements OnInit, OnChanges, OnDestroy {
|
|
10
|
+
private storageService;
|
|
11
|
+
private changeService;
|
|
7
12
|
private dataService;
|
|
8
13
|
i18nService: I18nService;
|
|
9
14
|
private countryService;
|
|
@@ -33,8 +38,9 @@ export declare class NxtSearchBox implements OnInit, OnChanges, OnDestroy {
|
|
|
33
38
|
filterName: string;
|
|
34
39
|
private destroy$;
|
|
35
40
|
private searchSubject;
|
|
41
|
+
subscription: Subscription;
|
|
36
42
|
trackByFn: TrackByFunction<any>;
|
|
37
|
-
constructor(dataService: DataService, i18nService: I18nService, countryService: CountryService, elementRef: ElementRef);
|
|
43
|
+
constructor(storageService: StorageService, changeService: ChangeService, dataService: DataService, i18nService: I18nService, countryService: CountryService, elementRef: ElementRef);
|
|
38
44
|
ngOnInit(): void;
|
|
39
45
|
ngOnChanges(changes: SimpleChanges): void;
|
|
40
46
|
ngOnDestroy(): void;
|
|
@@ -56,7 +62,6 @@ export declare class NxtSearchBox implements OnInit, OnChanges, OnDestroy {
|
|
|
56
62
|
getValues(element: any, columns: any): any;
|
|
57
63
|
getKeys(obj: any): string[];
|
|
58
64
|
clickItem(event: any): void;
|
|
59
|
-
removeCharacters(questionText: string): string;
|
|
60
65
|
inputValue(event: any, ques: any): void;
|
|
61
66
|
highlightText(text: string, searchTerm: string): string;
|
|
62
67
|
private sanitizeHtml;
|
|
@@ -77,7 +77,6 @@ export declare class QuestionbookComponent implements OnInit, AfterViewInit {
|
|
|
77
77
|
getDropDown(event: any): void;
|
|
78
78
|
getCurrentCalendar(event: any): void;
|
|
79
79
|
getCalendarEvent(event: any): void;
|
|
80
|
-
removeCharacters(questionText: string): string;
|
|
81
80
|
isCalendarModalOpen: boolean;
|
|
82
81
|
calendarModalTitle: any;
|
|
83
82
|
calendarModalSize: any;
|
|
@@ -211,7 +211,6 @@ export declare class QuestionnaireComponent implements OnInit {
|
|
|
211
211
|
displayDate(dateSelected: any, ques: any): void;
|
|
212
212
|
getKey(item: any): any;
|
|
213
213
|
getValue(item: any): any;
|
|
214
|
-
removeCharacters(questionText: string): string;
|
|
215
214
|
static ɵfac: i0.ɵɵFactoryDeclaration<QuestionnaireComponent, never>;
|
|
216
215
|
static ɵcmp: i0.ɵɵComponentDeclaration<QuestionnaireComponent, "lib-questionnaire", never, { "qbId": { "alias": "qbId"; "required": false; }; "insuranceStartDate": { "alias": "insuranceStartDate"; "required": false; }; "serv": { "alias": "serv"; "required": false; }; "tkn": { "alias": "tkn"; "required": false; }; "api": { "alias": "api"; "required": false; }; "isEdit": { "alias": "isEdit"; "required": false; }; }, { "handleEvent": "handleEvent"; "handlePage": "handlePage"; "handleQuestion": "handleQuestion"; "handleBook": "handleBook"; "handleSubmit": "handleSubmit"; }, never, never, true, never>;
|
|
217
216
|
}
|
|
@@ -4,10 +4,15 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class StorageService {
|
|
5
5
|
nxtBookletAnswer: BookletWrapper;
|
|
6
6
|
selectedData: any;
|
|
7
|
+
private queryValueMap;
|
|
7
8
|
constructor();
|
|
8
9
|
save(qbJson: BookletWrapper): void;
|
|
9
10
|
update(questionWithInput: Question): void;
|
|
10
11
|
get(): BookletWrapper;
|
|
12
|
+
queryValueStore(questionId: string, key: string, value: any): void;
|
|
13
|
+
getQueryValue(questionId: string): any;
|
|
14
|
+
clearQueryValue(questionId: string): void;
|
|
15
|
+
clearAllQueryValues(): void;
|
|
11
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<StorageService, never>;
|
|
12
17
|
static ɵprov: i0.ɵɵInjectableDeclaration<StorageService>;
|
|
13
18
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|