@rangertechnologies/ngnxt 2.1.359 → 2.1.360
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/fesm2022/rangertechnologies-ngnxt.mjs +234 -236
- package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
- package/package.json +5 -4
- package/rangertechnologies-ngnxt-2.1.360.tgz +0 -0
- package/types/rangertechnologies-ngnxt.d.ts +2294 -0
- package/environments/version.d.ts +0 -11
- package/index.d.ts +0 -5
- package/lib/components/button/nxt-button.component.d.ts +0 -49
- package/lib/components/custom-calendar/custom-calendar.component.d.ts +0 -63
- package/lib/components/custom-model/custom-model.component.d.ts +0 -19
- package/lib/components/custom-radio/custom-radio.component.d.ts +0 -44
- package/lib/components/datatable/datatable.component.d.ts +0 -377
- package/lib/components/file-upload/file-upload.component.d.ts +0 -91
- package/lib/components/formula-input/formula-input.component.d.ts +0 -39
- package/lib/components/icon-selector/icon-selector.component.d.ts +0 -34
- package/lib/components/image-cropper/component/cropper.state.d.ts +0 -29
- package/lib/components/image-cropper/component/image-cropper.component.d.ts +0 -109
- package/lib/components/image-cropper/interfaces/basic-event.interface.d.ts +0 -4
- package/lib/components/image-cropper/interfaces/cropper-options.interface.d.ts +0 -28
- package/lib/components/image-cropper/interfaces/cropper-position.interface.d.ts +0 -6
- package/lib/components/image-cropper/interfaces/dimensions.interface.d.ts +0 -4
- package/lib/components/image-cropper/interfaces/exif-transform.interface.d.ts +0 -4
- package/lib/components/image-cropper/interfaces/image-cropped-event.interface.d.ts +0 -11
- package/lib/components/image-cropper/interfaces/image-transform.interface.d.ts +0 -9
- package/lib/components/image-cropper/interfaces/index.d.ts +0 -7
- package/lib/components/image-cropper/interfaces/loaded-image.interface.d.ts +0 -15
- package/lib/components/image-cropper/interfaces/move-start.interface.d.ts +0 -17
- package/lib/components/image-cropper/services/crop.service.d.ts +0 -13
- package/lib/components/image-cropper/services/load-image.service.d.ts +0 -17
- package/lib/components/image-cropper/utils/cropper-position.utils.d.ts +0 -11
- package/lib/components/image-cropper/utils/exif.utils.d.ts +0 -3
- package/lib/components/image-cropper/utils/keyboard.utils.d.ts +0 -5
- package/lib/components/image-cropper/utils/percentage.utils.d.ts +0 -1
- package/lib/components/image-cropper/utils/resize.utils.d.ts +0 -1
- package/lib/components/list-view-filter/list-view-filter.component.d.ts +0 -109
- package/lib/components/nxt-datepicker/custom-datepicker/custom-datepicker.component.d.ts +0 -68
- package/lib/components/nxt-datepicker/hijri-datepicker/hijri-datepicker.component.d.ts +0 -50
- package/lib/components/nxt-datepicker/nxt-datepicker.component.d.ts +0 -20
- package/lib/components/nxt-dropdown/nxt-dropdown.component.d.ts +0 -63
- package/lib/components/nxt-input/nxt-input.component.d.ts +0 -208
- package/lib/components/nxt-multi-select/nxt-multi-select.component.d.ts +0 -102
- package/lib/components/pagination/pagination.component.d.ts +0 -37
- package/lib/components/search-box/search-box.component.d.ts +0 -72
- package/lib/interfaces/actionMeta.d.ts +0 -6
- package/lib/interfaces/dependencyMeta.d.ts +0 -8
- package/lib/model/bookletWrapper.d.ts +0 -4
- package/lib/model/changeWrapper.d.ts +0 -9
- package/lib/model/errorWrapper.d.ts +0 -5
- package/lib/nxt-app.component.d.ts +0 -8
- package/lib/nxt-app.module.d.ts +0 -23
- package/lib/nxt-app.service.d.ts +0 -6
- package/lib/pages/booklet/booklet.component.d.ts +0 -99
- package/lib/pages/builder/element/element.component.d.ts +0 -64
- package/lib/pages/builder/form/form.component.d.ts +0 -15
- package/lib/pages/builder/properties/common-fields.constants.d.ts +0 -173
- package/lib/pages/builder/properties/properties.component.d.ts +0 -485
- package/lib/pages/pdfDesigner/pdf-designer/booklet.component.d.ts +0 -49
- package/lib/pages/pdfDesigner/pdf-designer/pdf-designer.component.d.ts +0 -205
- package/lib/pages/pdfDesigner/pdf-properties/pdf-properties.component.d.ts +0 -1449
- package/lib/pages/questionbook/questionbook.component.d.ts +0 -110
- package/lib/pages/questionnaire/questionnaire.component.d.ts +0 -214
- package/lib/pipe/NxtDate.pipe.d.ts +0 -14
- package/lib/pipe/amount-in-words/amount-in-words.pipe.d.ts +0 -9
- package/lib/pipe/button-styles.pipe.d.ts +0 -9
- package/lib/pipe/custom-translate.pipe.d.ts +0 -10
- package/lib/pipe/get-value.pipe.d.ts +0 -12
- package/lib/pipe/question-by-row.pipe.d.ts +0 -9
- package/lib/pipe/search-filter/search-filter.pipe.d.ts +0 -8
- package/lib/services/GoogleMapsLoaderService/google-maps-loader-service.service.d.ts +0 -7
- package/lib/services/change/change.service.d.ts +0 -21
- package/lib/services/country/country.service.d.ts +0 -54
- package/lib/services/data/data.service.d.ts +0 -18
- package/lib/services/form-builder/form-builder.service.d.ts +0 -103
- package/lib/services/pdf-designer/pdf-designer.service.d.ts +0 -189
- package/lib/services/salesforce/salesforce.service.d.ts +0 -11
- package/lib/services/shared/shared.service.d.ts +0 -15
- package/lib/services/storage/storage.service.d.ts +0 -20
- package/lib/services/template/template.service.d.ts +0 -18
- package/lib/services/translation/indexeddb-reader.service.d.ts +0 -13
- package/lib/services/translation/translation.service.d.ts +0 -32
- package/public-api.d.ts +0 -19
- package/rangertechnologies-ngnxt-2.1.359.tgz +0 -0
package/index.d.ts
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { TranslationService } from '../../services/translation/translation.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NxtButtonComponent implements OnInit {
|
|
5
|
-
private cdRef;
|
|
6
|
-
private translationService;
|
|
7
|
-
private elementRef;
|
|
8
|
-
buttonValue: string;
|
|
9
|
-
buttonType: string;
|
|
10
|
-
type: string;
|
|
11
|
-
buttonDisable: boolean;
|
|
12
|
-
btnBgColor: string;
|
|
13
|
-
btnBorder: string;
|
|
14
|
-
btnBorderRadius: string;
|
|
15
|
-
btnBorderColor: string;
|
|
16
|
-
btnTextColor: string;
|
|
17
|
-
btnHeight: string;
|
|
18
|
-
btnWidth: string;
|
|
19
|
-
btnIconLeftSrc: string;
|
|
20
|
-
btnIconRightSrc: string;
|
|
21
|
-
btnHoverBgColor: string;
|
|
22
|
-
btnHoverTextColor: string;
|
|
23
|
-
btnId: string;
|
|
24
|
-
dataDismiss: string;
|
|
25
|
-
modalToTrigger: string;
|
|
26
|
-
isImageSvg: boolean;
|
|
27
|
-
tabIndex: any;
|
|
28
|
-
buttonConfig: any;
|
|
29
|
-
mode: 'view' | 'edit' | 'print';
|
|
30
|
-
languageCode: any;
|
|
31
|
-
padding: any;
|
|
32
|
-
isLoading: boolean;
|
|
33
|
-
selector: boolean;
|
|
34
|
-
dropdownLoadingButton: any;
|
|
35
|
-
buttonClickEmit: EventEmitter<any>;
|
|
36
|
-
iconSrc: any;
|
|
37
|
-
isDropdownOpen: boolean;
|
|
38
|
-
constructor(cdRef: ChangeDetectorRef, translationService: TranslationService, elementRef: ElementRef);
|
|
39
|
-
ngOnInit(): void;
|
|
40
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
41
|
-
setActive(selectedBtn: any): void;
|
|
42
|
-
onMainButtonClick(btn: any): void;
|
|
43
|
-
onOptionSelect(btn: any, fld: any): void;
|
|
44
|
-
buttonClicked(btn: any): void;
|
|
45
|
-
toggleDropdown(): void;
|
|
46
|
-
onClickOutside(event: MouseEvent): void;
|
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NxtButtonComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NxtButtonComponent, "nxt-button", never, { "buttonValue": { "alias": "buttonValue"; "required": false; }; "buttonType": { "alias": "buttonType"; "required": false; }; "type": { "alias": "type"; "required": false; }; "buttonDisable": { "alias": "buttonDisable"; "required": false; }; "btnBgColor": { "alias": "btnBgColor"; "required": false; }; "btnBorder": { "alias": "btnBorder"; "required": false; }; "btnBorderRadius": { "alias": "btnBorderRadius"; "required": false; }; "btnBorderColor": { "alias": "btnBorderColor"; "required": false; }; "btnTextColor": { "alias": "btnTextColor"; "required": false; }; "btnHeight": { "alias": "btnHeight"; "required": false; }; "btnWidth": { "alias": "btnWidth"; "required": false; }; "btnIconLeftSrc": { "alias": "btnIconLeftSrc"; "required": false; }; "btnIconRightSrc": { "alias": "btnIconRightSrc"; "required": false; }; "btnHoverBgColor": { "alias": "btnHoverBgColor"; "required": false; }; "btnHoverTextColor": { "alias": "btnHoverTextColor"; "required": false; }; "btnId": { "alias": "btnId"; "required": false; }; "dataDismiss": { "alias": "dataDismiss"; "required": false; }; "modalToTrigger": { "alias": "modalToTrigger"; "required": false; }; "isImageSvg": { "alias": "isImageSvg"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "buttonConfig": { "alias": "buttonConfig"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "languageCode": { "alias": "languageCode"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "selector": { "alias": "selector"; "required": false; }; "dropdownLoadingButton": { "alias": "dropdownLoadingButton"; "required": false; }; }, { "buttonClickEmit": "buttonClickEmit"; }, never, never, true, never>;
|
|
49
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { ChangeService } from '../../services/change/change.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
interface CalendarDay {
|
|
5
|
-
date: Date;
|
|
6
|
-
events: any[];
|
|
7
|
-
isCurrentMonth: boolean;
|
|
8
|
-
isPast: boolean;
|
|
9
|
-
isToday: boolean;
|
|
10
|
-
isFuture: boolean;
|
|
11
|
-
isSelected?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare class CustomCalendarComponent implements OnInit {
|
|
14
|
-
private changeService;
|
|
15
|
-
eventSelected: EventEmitter<any>;
|
|
16
|
-
dateSelected: EventEmitter<any>;
|
|
17
|
-
openModal: EventEmitter<any>;
|
|
18
|
-
closeModal: EventEmitter<any>;
|
|
19
|
-
allEvents: any[];
|
|
20
|
-
question: any;
|
|
21
|
-
nxtId: string;
|
|
22
|
-
entries: any[];
|
|
23
|
-
referenceQuestions: any[];
|
|
24
|
-
qbRefrenceBook: any;
|
|
25
|
-
calendarQuestion: any[];
|
|
26
|
-
calendar: {};
|
|
27
|
-
currentDate: Date;
|
|
28
|
-
calendarDays: CalendarDay[];
|
|
29
|
-
daysOfWeek: string[];
|
|
30
|
-
newEventTitle: string;
|
|
31
|
-
newEventTime: string;
|
|
32
|
-
newDescription: string;
|
|
33
|
-
newLink: string;
|
|
34
|
-
selectedDay: CalendarDay | null;
|
|
35
|
-
isModalOpen: boolean;
|
|
36
|
-
modalTitle: string;
|
|
37
|
-
modalSize: string;
|
|
38
|
-
saveButtonValue: string;
|
|
39
|
-
modalFooter: boolean;
|
|
40
|
-
editingEventId: number;
|
|
41
|
-
editingEntryGroup: any;
|
|
42
|
-
showAppoinmentSection: boolean;
|
|
43
|
-
subscription: any;
|
|
44
|
-
constructor(changeService: ChangeService);
|
|
45
|
-
ngOnInit(): void;
|
|
46
|
-
processQuestion(): void;
|
|
47
|
-
generateCalendar(): void;
|
|
48
|
-
selectDay(day: CalendarDay): void;
|
|
49
|
-
previousMonth(): void;
|
|
50
|
-
nextMonth(): void;
|
|
51
|
-
addAppointment(): void;
|
|
52
|
-
openBookModel(): void;
|
|
53
|
-
closeCalendarModal(): void;
|
|
54
|
-
editEvent(event: any, entryGroup: any): void;
|
|
55
|
-
deleteEvent(eventId: number, entryGroup: any): void;
|
|
56
|
-
addEvent(day: CalendarDay, entryQues: any): void;
|
|
57
|
-
onSave(): void;
|
|
58
|
-
generateId(): string;
|
|
59
|
-
getEntryKeys(entryGroup: any): string[];
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CustomCalendarComponent, never>;
|
|
61
|
-
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>;
|
|
62
|
-
}
|
|
63
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CustomModelComponent implements OnInit {
|
|
4
|
-
constructor();
|
|
5
|
-
modalTitle: any;
|
|
6
|
-
isModalOpen: boolean;
|
|
7
|
-
modalSize: string;
|
|
8
|
-
saveButtonValue: string;
|
|
9
|
-
modalFooter: boolean;
|
|
10
|
-
saveButtonEmit: EventEmitter<any>;
|
|
11
|
-
cancelButtonEmit: EventEmitter<any>;
|
|
12
|
-
onSave(): void;
|
|
13
|
-
onCancel(): void;
|
|
14
|
-
ngOnInit(): void;
|
|
15
|
-
closeModal(): void;
|
|
16
|
-
saveModal(): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CustomModelComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomModelComponent, "app-custom-model", never, { "modalTitle": { "alias": "modalTitle"; "required": false; }; "isModalOpen": { "alias": "isModalOpen"; "required": false; }; "modalSize": { "alias": "modalSize"; "required": false; }; "saveButtonValue": { "alias": "saveButtonValue"; "required": false; }; "modalFooter": { "alias": "modalFooter"; "required": false; }; }, { "saveButtonEmit": "saveButtonEmit"; "cancelButtonEmit": "cancelButtonEmit"; }, never, ["*"], true, never>;
|
|
19
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { ChangeWrapper } from '../../model/changeWrapper';
|
|
3
|
-
import { Subscription } from 'rxjs';
|
|
4
|
-
import { ChangeService } from '../../services/change/change.service';
|
|
5
|
-
import { DataService } from '../../services/data/data.service';
|
|
6
|
-
import { StorageService } from '../../services/storage/storage.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class NxtRadio implements OnInit {
|
|
9
|
-
private cdRef;
|
|
10
|
-
private changeService;
|
|
11
|
-
private dataService;
|
|
12
|
-
private storageService;
|
|
13
|
-
options: any[];
|
|
14
|
-
question: any;
|
|
15
|
-
apiMeta: any;
|
|
16
|
-
selectedValue: string;
|
|
17
|
-
progressBar: boolean;
|
|
18
|
-
id: string;
|
|
19
|
-
readOnly: boolean;
|
|
20
|
-
errorMessage: string;
|
|
21
|
-
fromShengel: boolean;
|
|
22
|
-
referenceField: string;
|
|
23
|
-
token: string;
|
|
24
|
-
label: string;
|
|
25
|
-
mode: 'view' | 'edit' | 'print';
|
|
26
|
-
onlyView: boolean;
|
|
27
|
-
valueChange: EventEmitter<any>;
|
|
28
|
-
labelField: string;
|
|
29
|
-
valueField: string;
|
|
30
|
-
subscription: Subscription;
|
|
31
|
-
originalValue: any;
|
|
32
|
-
value: ChangeWrapper;
|
|
33
|
-
selectedOptionId: any;
|
|
34
|
-
constructor(cdRef: ChangeDetectorRef, changeService: ChangeService, dataService: DataService, storageService: StorageService);
|
|
35
|
-
viewEdit: boolean;
|
|
36
|
-
ngOnInit(): void;
|
|
37
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
38
|
-
radioChange(event: any): void;
|
|
39
|
-
viewEditClick(ques: any): void;
|
|
40
|
-
discardChanges(): void;
|
|
41
|
-
saveChanges(): void;
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NxtRadio, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NxtRadio, "nxt-radio", never, { "options": { "alias": "options"; "required": false; }; "question": { "alias": "question"; "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; }; "fromShengel": { "alias": "fromShengel"; "required": false; }; "referenceField": { "alias": "referenceField"; "required": false; }; "token": { "alias": "token"; "required": false; }; "label": { "alias": "label"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "onlyView": { "alias": "onlyView"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
44
|
-
}
|
|
@@ -1,377 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, ElementRef, Renderer2, SimpleChanges, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { MatSort } from '@angular/material/sort';
|
|
3
|
-
import { TranslationService } from '../../services/translation/translation.service';
|
|
4
|
-
import { DataService } from '../../services/data/data.service';
|
|
5
|
-
import { ChangeService } from '../../services/change/change.service';
|
|
6
|
-
import { StorageService } from '../../services/storage/storage.service';
|
|
7
|
-
import { CountryService } from '../../services/country/country.service';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/** Configuration for a single advanced-filter control. */
|
|
10
|
-
export interface AdvancedFilterConfig {
|
|
11
|
-
/** Data field path (supports dot-notation, e.g. 'employee.name'). */
|
|
12
|
-
field: string;
|
|
13
|
-
/** Human-readable label shown above the control. */
|
|
14
|
-
label: string;
|
|
15
|
-
/** Control type determines which reusable control is rendered. */
|
|
16
|
-
type: 'text' | 'date' | 'dropdown' | 'list';
|
|
17
|
-
/** Options list for 'dropdown' and 'searchDropdown' types.
|
|
18
|
-
* Each option should have the shape: { id, name, value, label, ... }
|
|
19
|
-
* Use `labelField` to pick the display property and `valueField` for the match value. */
|
|
20
|
-
options?: any[];
|
|
21
|
-
/** Placeholder text shown inside the control. */
|
|
22
|
-
placeholder?: string;
|
|
23
|
-
/** Property on an option object used as display label (default: 'label'). */
|
|
24
|
-
labelField?: string;
|
|
25
|
-
/** Property on an option object used as the filter/match value (default: 'value').
|
|
26
|
-
* For searchDropdown, the emitted object `{ id, name, value }` is read with this key. */
|
|
27
|
-
valueField?: string;
|
|
28
|
-
/** CSS width for the control, e.g. '180px'. Defaults to 160px for text, 190px for dropdowns. */
|
|
29
|
-
width?: string;
|
|
30
|
-
/** Evaluation priority. Lower number runs first. Default: index order. */
|
|
31
|
-
priority?: number;
|
|
32
|
-
/** Pre-populate this filter with a default value on init. */
|
|
33
|
-
defaultValue?: any;
|
|
34
|
-
/** If true, the control is rendered in read-only/disabled state. */
|
|
35
|
-
disabled?: boolean;
|
|
36
|
-
/** If true, the filter item is not rendered in the bar. */
|
|
37
|
-
hidden?: boolean;
|
|
38
|
-
}
|
|
39
|
-
/** SKS1JUL26 Represents a date-range filter value for type:'date' fields. */
|
|
40
|
-
export interface AdvancedDateRange {
|
|
41
|
-
startDate: string;
|
|
42
|
-
endDate: string;
|
|
43
|
-
}
|
|
44
|
-
/** SKS1JUL26 Map of field -> current filter value (scalar or date-range). */
|
|
45
|
-
export type AdvancedFilterValues = Record<string, string | AdvancedDateRange | null>;
|
|
46
|
-
export declare class NxtDatatable {
|
|
47
|
-
private countryService;
|
|
48
|
-
private storageService;
|
|
49
|
-
private cdRef;
|
|
50
|
-
private translationService;
|
|
51
|
-
private renderer;
|
|
52
|
-
private dataService;
|
|
53
|
-
private changeService;
|
|
54
|
-
data: any[];
|
|
55
|
-
summaryValues: {
|
|
56
|
-
[label: string]: any;
|
|
57
|
-
};
|
|
58
|
-
tableFilterData: any[];
|
|
59
|
-
columns: Array<any>;
|
|
60
|
-
withCheckBox: boolean;
|
|
61
|
-
searchBar: boolean;
|
|
62
|
-
tableSaveButton: boolean;
|
|
63
|
-
hideSaveButton: boolean;
|
|
64
|
-
stickyColumn: boolean;
|
|
65
|
-
tableWidth: string;
|
|
66
|
-
actionColumHeader: string;
|
|
67
|
-
actionButton: boolean;
|
|
68
|
-
title: any;
|
|
69
|
-
isButtons: boolean;
|
|
70
|
-
buttonArray: any;
|
|
71
|
-
tableId: any;
|
|
72
|
-
isEditRow: boolean;
|
|
73
|
-
isDeleteRow: boolean;
|
|
74
|
-
addInlineRecord: boolean;
|
|
75
|
-
searchConfigs: any;
|
|
76
|
-
direction: 'rtl' | 'ltr';
|
|
77
|
-
pagination: boolean;
|
|
78
|
-
actionButtonArray: any;
|
|
79
|
-
multipleFilter: any;
|
|
80
|
-
isPagination: any;
|
|
81
|
-
isListViews: any;
|
|
82
|
-
id: any;
|
|
83
|
-
isNosIndicator: any;
|
|
84
|
-
isEditable: any;
|
|
85
|
-
from: any;
|
|
86
|
-
question: any;
|
|
87
|
-
rowTextSize: any;
|
|
88
|
-
rowTextColor: any;
|
|
89
|
-
apiMeta: any;
|
|
90
|
-
summaryRows: any;
|
|
91
|
-
summaryColumns: any;
|
|
92
|
-
isLoading: any;
|
|
93
|
-
tableConfig: any;
|
|
94
|
-
tableParams: any;
|
|
95
|
-
listViews: any[];
|
|
96
|
-
mode: 'view' | 'edit' | 'print';
|
|
97
|
-
languageCode: string;
|
|
98
|
-
selectedColumn: string | null;
|
|
99
|
-
allIcons: any[];
|
|
100
|
-
isButtonLoading: boolean;
|
|
101
|
-
isPreview: boolean;
|
|
102
|
-
groupFilter: boolean;
|
|
103
|
-
groupFilterConfig: any;
|
|
104
|
-
groupFilterColumn: any;
|
|
105
|
-
onlyView: boolean;
|
|
106
|
-
tableHeight: any;
|
|
107
|
-
serialNumberColumn: boolean;
|
|
108
|
-
/** SKS1JUL26 SKS1JUL26: Configuration array for the advanced filter bar. Each entry produces one filter control. */
|
|
109
|
-
advancedFilters: AdvancedFilterConfig[];
|
|
110
|
-
tableRowClick: EventEmitter<any>;
|
|
111
|
-
onEditData: EventEmitter<any>;
|
|
112
|
-
onSaveData: EventEmitter<any>;
|
|
113
|
-
saveButtonData: EventEmitter<any>;
|
|
114
|
-
onDeleteData: EventEmitter<any>;
|
|
115
|
-
buttonEmit: EventEmitter<any>;
|
|
116
|
-
hyperLinkEmit: EventEmitter<any>;
|
|
117
|
-
sideNavEmit: EventEmitter<{
|
|
118
|
-
data: any;
|
|
119
|
-
col: any;
|
|
120
|
-
config: any;
|
|
121
|
-
}>;
|
|
122
|
-
actionButtonEmit: EventEmitter<any>;
|
|
123
|
-
columnSelected: EventEmitter<{
|
|
124
|
-
uniqueIdentifier: string;
|
|
125
|
-
data: any[];
|
|
126
|
-
}>;
|
|
127
|
-
removeColumn: EventEmitter<{
|
|
128
|
-
uniqueIdentifier: string;
|
|
129
|
-
data: any[];
|
|
130
|
-
}>;
|
|
131
|
-
valueChange: EventEmitter<any>;
|
|
132
|
-
selectedValues: EventEmitter<any[]>;
|
|
133
|
-
fileEmit: EventEmitter<any>;
|
|
134
|
-
NxtTableFilterEmit: EventEmitter<any>;
|
|
135
|
-
hadleDropDownDependent: EventEmitter<any>;
|
|
136
|
-
NxtTableParamsEmit: EventEmitter<any>;
|
|
137
|
-
sort: MatSort;
|
|
138
|
-
tableContainer: ElementRef<HTMLElement>;
|
|
139
|
-
selection: any;
|
|
140
|
-
stickyCondition: number;
|
|
141
|
-
searchFilter: boolean;
|
|
142
|
-
filterArray: Array<any>;
|
|
143
|
-
selectedFilter: any;
|
|
144
|
-
pageSizeOptions: Array<any>;
|
|
145
|
-
dataSource: any;
|
|
146
|
-
totalCount: number;
|
|
147
|
-
searchBoxValue: any;
|
|
148
|
-
prevSearch: any;
|
|
149
|
-
activeColumn: string | null;
|
|
150
|
-
isScrolled: boolean;
|
|
151
|
-
isShadowHidden: boolean;
|
|
152
|
-
currentSortColumn: string;
|
|
153
|
-
currentSortDirection: 'asc' | 'desc' | 'none';
|
|
154
|
-
originalData: any;
|
|
155
|
-
hoveredColumn: string | null;
|
|
156
|
-
searchText: any;
|
|
157
|
-
multipleFilterArray: any;
|
|
158
|
-
tableFilterArray: any;
|
|
159
|
-
filterDataArray: any;
|
|
160
|
-
isResized: boolean;
|
|
161
|
-
sFilterData: any;
|
|
162
|
-
currentColumns: Array<any>;
|
|
163
|
-
inlineElement: any;
|
|
164
|
-
pageSize: any;
|
|
165
|
-
pageIndex: any;
|
|
166
|
-
totalRecords: number;
|
|
167
|
-
deleteData: any;
|
|
168
|
-
deleteModal: boolean;
|
|
169
|
-
dropdownActionButton: any;
|
|
170
|
-
currentOpenIndex: number | null;
|
|
171
|
-
clickListener: any;
|
|
172
|
-
deleteIndex: number;
|
|
173
|
-
showPopover: boolean;
|
|
174
|
-
isSummaryColumn: boolean;
|
|
175
|
-
isSummaryStartColumn: any[];
|
|
176
|
-
isSummaryEndColumn: any[];
|
|
177
|
-
filterBoxData: any;
|
|
178
|
-
filterTableNos: any;
|
|
179
|
-
selectedView: any;
|
|
180
|
-
isDropdownOpen: boolean;
|
|
181
|
-
currentViewFilter: any;
|
|
182
|
-
isFullTableSummaryRow: boolean;
|
|
183
|
-
isImageHover: boolean;
|
|
184
|
-
isImageEdit: boolean;
|
|
185
|
-
selectedImageElement: any;
|
|
186
|
-
private questionsCache;
|
|
187
|
-
isResizing: boolean;
|
|
188
|
-
private currentColumn;
|
|
189
|
-
private startX;
|
|
190
|
-
private startWidth;
|
|
191
|
-
private resizeFrameId;
|
|
192
|
-
columnWidthTrack: any;
|
|
193
|
-
resizedColumns: {
|
|
194
|
-
[id: string]: boolean;
|
|
195
|
-
};
|
|
196
|
-
currentTableData: any;
|
|
197
|
-
oldTableData: any;
|
|
198
|
-
viewEdit: boolean;
|
|
199
|
-
currencyOption: any;
|
|
200
|
-
columnSourceId: any;
|
|
201
|
-
summaryRowsOrginal: any;
|
|
202
|
-
displaySummaryRows: any;
|
|
203
|
-
Array: ArrayConstructor;
|
|
204
|
-
tableEditTrack: boolean;
|
|
205
|
-
alignRight: boolean;
|
|
206
|
-
selectedIsEmpty: boolean;
|
|
207
|
-
private destroy$;
|
|
208
|
-
private timers;
|
|
209
|
-
/** Current values for every advanced filter control. */
|
|
210
|
-
advancedFilterValues: AdvancedFilterValues;
|
|
211
|
-
/**
|
|
212
|
-
* SKS1JUL26: Emits a JSON-serialised snapshot of advancedFilterValues
|
|
213
|
-
* so that debounceTime(300) + distinctUntilChanged() both work correctly.
|
|
214
|
-
* Subject<void> makes distinctUntilChanged useless because every emission
|
|
215
|
-
* looks the same. Subject<string> compares serialised state.
|
|
216
|
-
*/
|
|
217
|
-
private advancedFilter$;
|
|
218
|
-
constructor(countryService: CountryService, storageService: StorageService, cdRef: ChangeDetectorRef, translationService: TranslationService, renderer: Renderer2, dataService: DataService, changeService: ChangeService);
|
|
219
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
220
|
-
ngOnInit(): void;
|
|
221
|
-
ngAfterViewInit(): void;
|
|
222
|
-
/** SKS14JUL26 True when at least one visible column has an explicit config or user-resized width. */
|
|
223
|
-
get hasAnyFixedWidthColumn(): boolean;
|
|
224
|
-
autoDistributeExtraTableWidth(from?: any): void;
|
|
225
|
-
onResizeStart(event: MouseEvent): void;
|
|
226
|
-
private onResizeMove;
|
|
227
|
-
private applyWidthToColumn;
|
|
228
|
-
private onResizeEnd;
|
|
229
|
-
ngOnDestroy(): void;
|
|
230
|
-
computeSummaryColumns(): void;
|
|
231
|
-
computeSummaryValues(from?: any): void;
|
|
232
|
-
sortData(column: string, sortingState?: any | undefined, currentState?: any | undefined, from?: any): void;
|
|
233
|
-
onScroll(tableContainer: HTMLElement): void;
|
|
234
|
-
onDocumentClick(event: any): void;
|
|
235
|
-
filter(datas: any, event: MouseEvent): void;
|
|
236
|
-
pageParams(event: any, from?: any): void;
|
|
237
|
-
/** SKS29OCT25 Formats a cell value exactly the way it appears in the UI */
|
|
238
|
-
private formatDateForSearch;
|
|
239
|
-
applyFilter(event: any, from?: any): void;
|
|
240
|
-
/** SKS15FEB25 Whether the number of selected elements matches the total number of rows. */
|
|
241
|
-
isAllSelected(): boolean;
|
|
242
|
-
/** SKS15FEB25 Selects all rows if they are not all selected; otherwise clear selection. */
|
|
243
|
-
masterToggle(): void;
|
|
244
|
-
isSomeSelected(): boolean;
|
|
245
|
-
separateRowSelect(data: any, element: any): void;
|
|
246
|
-
tableClick(data: any): void;
|
|
247
|
-
getNestedValue(obj: any, path: string): any;
|
|
248
|
-
filterRetain(filterkeyMap: any, from?: any): void;
|
|
249
|
-
removeDuplicates(objects: any): any[];
|
|
250
|
-
deleteRecord(data: any, index: number): void;
|
|
251
|
-
deleteRecordData(): void;
|
|
252
|
-
saveButton(element: any): void;
|
|
253
|
-
private isSameRow;
|
|
254
|
-
private normalizeRow;
|
|
255
|
-
onEdit(data: any): void;
|
|
256
|
-
onSave(data: any): void;
|
|
257
|
-
commonButtonClick(button: any): void;
|
|
258
|
-
getObjValue(element: any, column: string): any;
|
|
259
|
-
onClickHyperlink(column: any, element: any, isHyperLink: any): void;
|
|
260
|
-
addTableRecord(element: any, from?: any): void;
|
|
261
|
-
prepareActionVisibility(rows: any[]): any[];
|
|
262
|
-
evaluateConditionString(row: any, condition: string): boolean;
|
|
263
|
-
onSearch(event: any, from?: any): void;
|
|
264
|
-
emptySearch(event: any): void;
|
|
265
|
-
onSideNavInfoClick(data: any, col: any): void;
|
|
266
|
-
onColumnClick(uniqueIdentifier: string): void;
|
|
267
|
-
closefilter(from?: any): void;
|
|
268
|
-
isSelected(event: any): boolean;
|
|
269
|
-
checkedData(event: any, from?: any): void;
|
|
270
|
-
private addClickOutsideListener;
|
|
271
|
-
private removeClickListener;
|
|
272
|
-
toggleDropdown(index: number): void;
|
|
273
|
-
actionButtonClicked(event: any, data: any): void;
|
|
274
|
-
removeCol(uniqueIdentifier: string): void;
|
|
275
|
-
emitTableDataValue(updatedTableData: any): void;
|
|
276
|
-
updateEdit(index: number, value: any, element: any, column: any, type?: any): void;
|
|
277
|
-
updateValue(element: any, column: string, value: any): any;
|
|
278
|
-
expenseAttachment(event: any): void;
|
|
279
|
-
listViewEmit(event: any): void;
|
|
280
|
-
onImageEdit(ques: any): Promise<void>;
|
|
281
|
-
onImageDelete(ques: any): Promise<void>;
|
|
282
|
-
fileChangeEvent(ques: any, event: any): Promise<void>;
|
|
283
|
-
private readFileAsDataURL;
|
|
284
|
-
getDropDown(event: any): void;
|
|
285
|
-
trackByRow(index: number, row: any): any;
|
|
286
|
-
trackByColumn(index: number, column: any): any;
|
|
287
|
-
trackBySummary(index: number, summary: any): any;
|
|
288
|
-
trackByIndex(index: number): number;
|
|
289
|
-
editModeChange(): void;
|
|
290
|
-
saveTable(): void;
|
|
291
|
-
discardChanges(): void;
|
|
292
|
-
groupFilterEmit(event: any, from?: any): void;
|
|
293
|
-
groupFilterRetain(filterkey: any, from?: any): void;
|
|
294
|
-
changeAnnounce(event: any): void;
|
|
295
|
-
/**
|
|
296
|
-
* THE SINGLE UNIFIED FILTER PIPELINE (client-side mode).
|
|
297
|
-
*
|
|
298
|
-
* Pipeline order matches the documented priority:
|
|
299
|
-
* originalData
|
|
300
|
-
* 1. List View → sFilterData (managed by listViewEmit / ngOnChanges)
|
|
301
|
-
* 2. Advanced Filter → applyAdvancedFilters(sFilterData)
|
|
302
|
-
* 3. Global Search → searchBoxValue contains match
|
|
303
|
-
* 4. Column Filter → filterDataArray exact match
|
|
304
|
-
* 5. Sort → currentSortColumn / currentSortDirection
|
|
305
|
-
* 6. Pagination → pageIndex / pageSize → dataSource.data
|
|
306
|
-
*
|
|
307
|
-
* For server-side (pagination=true), we skip client filtering and just emit
|
|
308
|
-
* the full params object (including advancedFilterData) to the parent.
|
|
309
|
-
*
|
|
310
|
-
* All event handlers (onAdvancedFilterChange, applyFilter, filterRetain,
|
|
311
|
-
* checkedData, closefilter, pageParams) ultimately call this method so
|
|
312
|
-
* there is exactly ONE place where filtering logic lives.
|
|
313
|
-
*/
|
|
314
|
-
refreshTableData(from?: string): void;
|
|
315
|
-
/**
|
|
316
|
-
* Builds the `advancedFilterValues` map from the current `advancedFilters` config.
|
|
317
|
-
* Existing values are preserved if their field still exists in the new config.
|
|
318
|
-
* Respects `defaultValue` from the config for initial population.
|
|
319
|
-
*/
|
|
320
|
-
initializeAdvancedFilters(): void;
|
|
321
|
-
/**
|
|
322
|
-
* Called from the template whenever any advanced filter control changes.
|
|
323
|
-
*
|
|
324
|
-
* @param field - The data field this filter maps to
|
|
325
|
-
* @param value - New value:
|
|
326
|
-
* - text/dropdown: plain string
|
|
327
|
-
* - searchDropdown: scalar extracted via config.valueField from
|
|
328
|
-
* the emitted object shape `{ id, name, value, label, ... }`
|
|
329
|
-
* - date: ISO 8601 string from app-nxt-datepicker
|
|
330
|
-
* @param subKey - For date filters only: 'startDate' | 'endDate'
|
|
331
|
-
*/
|
|
332
|
-
onAdvancedFilterChange(field: string, value: any, subKey?: 'startDate' | 'endDate'): void;
|
|
333
|
-
/**
|
|
334
|
-
* Applies current advancedFilterValues against a data array.
|
|
335
|
-
* Returns a new filtered array — never mutates the input.
|
|
336
|
-
*
|
|
337
|
-
* Reuses existing helpers:
|
|
338
|
-
* - getObjValue() for field access
|
|
339
|
-
* - formatDateForSearch() for display-safe date formatting (NxtDatePipe)
|
|
340
|
-
*
|
|
341
|
-
* Date comparison uses formatDateForSearch() on both cell and filter values
|
|
342
|
-
* so timezone handling is consistent with the rest of the table.
|
|
343
|
-
*
|
|
344
|
-
* Filter logic per type:
|
|
345
|
-
* text → case-insensitive contains
|
|
346
|
-
* dropdown → strict string equality
|
|
347
|
-
* searchDropdown → strict string equality on extracted valueField
|
|
348
|
-
* date → >= startDate and/or <= endDate (normalised via NxtDatePipe)
|
|
349
|
-
*/
|
|
350
|
-
applyAdvancedFilters(baseData: any[]): any[];
|
|
351
|
-
/**
|
|
352
|
-
* Resets all advanced filter values and re-runs the unified pipeline.
|
|
353
|
-
* pageIndex is reset to 1 so users don't get confused on high page numbers.
|
|
354
|
-
*/
|
|
355
|
-
clearAdvancedFilters(): void;
|
|
356
|
-
/**
|
|
357
|
-
* Returns true if at least one visible advanced filter field has a non-empty value.
|
|
358
|
-
* Used in the template to decide whether to show the clear-all button.
|
|
359
|
-
*/
|
|
360
|
-
hasAdvancedFilter(): boolean;
|
|
361
|
-
/**
|
|
362
|
-
* Returns a clean snapshot of the ACTIVE advanced filter values.
|
|
363
|
-
* Included in NxtTableParamsEmit so server-side implementations receive
|
|
364
|
-
* the filter state under the `advancedFilterData` key:
|
|
365
|
-
*
|
|
366
|
-
* tableParams = {
|
|
367
|
-
* pagination: { pageSize, pageIndex },
|
|
368
|
-
* tableSearch: { fields, value },
|
|
369
|
-
* searchFilterData: { [column]: [values] },
|
|
370
|
-
* advancedFilterData: { [field]: string | AdvancedDateRange }, ← NEW
|
|
371
|
-
* sort: { column, direction, listView },
|
|
372
|
-
* }
|
|
373
|
-
*/
|
|
374
|
-
buildAdvancedFilterObject(): AdvancedFilterValues;
|
|
375
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NxtDatatable, never>;
|
|
376
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NxtDatatable, "nxt-datatable", never, { "data": { "alias": "data"; "required": false; }; "summaryValues": { "alias": "summaryValues"; "required": false; }; "tableFilterData": { "alias": "tableFilterData"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "withCheckBox": { "alias": "withCheckBox"; "required": false; }; "searchBar": { "alias": "searchBar"; "required": false; }; "tableSaveButton": { "alias": "tableSaveButton"; "required": false; }; "hideSaveButton": { "alias": "hideSaveButton"; "required": false; }; "stickyColumn": { "alias": "stickyColumn"; "required": false; }; "tableWidth": { "alias": "tableWidth"; "required": false; }; "actionColumHeader": { "alias": "actionColumHeader"; "required": false; }; "actionButton": { "alias": "actionButton"; "required": false; }; "title": { "alias": "title"; "required": false; }; "isButtons": { "alias": "isButtons"; "required": false; }; "buttonArray": { "alias": "buttonArray"; "required": false; }; "tableId": { "alias": "tableId"; "required": false; }; "isEditRow": { "alias": "isEditRow"; "required": false; }; "isDeleteRow": { "alias": "isDeleteRow"; "required": false; }; "addInlineRecord": { "alias": "addInlineRecord"; "required": false; }; "searchConfigs": { "alias": "searchConfigs"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "pagination": { "alias": "pagination"; "required": false; }; "actionButtonArray": { "alias": "actionButtonArray"; "required": false; }; "multipleFilter": { "alias": "multipleFilter"; "required": false; }; "isPagination": { "alias": "isPagination"; "required": false; }; "isListViews": { "alias": "isListViews"; "required": false; }; "id": { "alias": "id"; "required": false; }; "isNosIndicator": { "alias": "isNosIndicator"; "required": false; }; "isEditable": { "alias": "isEditable"; "required": false; }; "from": { "alias": "from"; "required": false; }; "question": { "alias": "question"; "required": false; }; "rowTextSize": { "alias": "rowTextSize"; "required": false; }; "rowTextColor": { "alias": "rowTextColor"; "required": false; }; "apiMeta": { "alias": "apiMeta"; "required": false; }; "summaryRows": { "alias": "summaryRows"; "required": false; }; "summaryColumns": { "alias": "summaryColumns"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "tableConfig": { "alias": "tableConfig"; "required": false; }; "tableParams": { "alias": "tableParams"; "required": false; }; "listViews": { "alias": "listViews"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "languageCode": { "alias": "languageCode"; "required": false; }; "selectedColumn": { "alias": "selectedColumn"; "required": false; }; "allIcons": { "alias": "allIcons"; "required": false; }; "isButtonLoading": { "alias": "isButtonLoading"; "required": false; }; "isPreview": { "alias": "isPreview"; "required": false; }; "groupFilter": { "alias": "groupFilter"; "required": false; }; "groupFilterConfig": { "alias": "groupFilterConfig"; "required": false; }; "groupFilterColumn": { "alias": "groupFilterColumn"; "required": false; }; "onlyView": { "alias": "onlyView"; "required": false; }; "tableHeight": { "alias": "tableHeight"; "required": false; }; "serialNumberColumn": { "alias": "serialNumberColumn"; "required": false; }; "advancedFilters": { "alias": "advancedFilters"; "required": false; }; }, { "tableRowClick": "tableRowClick"; "onEditData": "onEditData"; "onSaveData": "onSaveData"; "saveButtonData": "saveButtonData"; "onDeleteData": "onDeleteData"; "buttonEmit": "buttonEmit"; "hyperLinkEmit": "hyperLinkEmit"; "sideNavEmit": "sideNavEmit"; "actionButtonEmit": "actionButtonEmit"; "columnSelected": "columnSelected"; "removeColumn": "removeColumn"; "valueChange": "valueChange"; "selectedValues": "selectedValues"; "fileEmit": "fileEmit"; "NxtTableFilterEmit": "NxtTableFilterEmit"; "hadleDropDownDependent": "hadleDropDownDependent"; "NxtTableParamsEmit": "NxtTableParamsEmit"; }, never, never, true, never>;
|
|
377
|
-
}
|