@rangertechnologies/ngnxt 2.1.34014 → 2.2.1

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 (81) hide show
  1. package/fesm2022/rangertechnologies-ngnxt.mjs +4717 -783
  2. package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
  3. package/package.json +7 -6
  4. package/rangertechnologies-ngnxt-2.2.1.tgz +0 -0
  5. package/src/lib/style.css +3 -7
  6. package/types/rangertechnologies-ngnxt.d.ts +2310 -0
  7. package/environments/version.d.ts +0 -11
  8. package/index.d.ts +0 -5
  9. package/lib/components/button/nxt-button.component.d.ts +0 -49
  10. package/lib/components/custom-calendar/custom-calendar.component.d.ts +0 -63
  11. package/lib/components/custom-model/custom-model.component.d.ts +0 -19
  12. package/lib/components/custom-radio/custom-radio.component.d.ts +0 -44
  13. package/lib/components/datatable/datatable.component.d.ts +0 -244
  14. package/lib/components/file-upload/file-upload.component.d.ts +0 -74
  15. package/lib/components/formula-input/formula-input.component.d.ts +0 -39
  16. package/lib/components/icon-selector/icon-selector.component.d.ts +0 -34
  17. package/lib/components/image-cropper/component/cropper.state.d.ts +0 -29
  18. package/lib/components/image-cropper/component/image-cropper.component.d.ts +0 -109
  19. package/lib/components/image-cropper/interfaces/basic-event.interface.d.ts +0 -4
  20. package/lib/components/image-cropper/interfaces/cropper-options.interface.d.ts +0 -28
  21. package/lib/components/image-cropper/interfaces/cropper-position.interface.d.ts +0 -6
  22. package/lib/components/image-cropper/interfaces/dimensions.interface.d.ts +0 -4
  23. package/lib/components/image-cropper/interfaces/exif-transform.interface.d.ts +0 -4
  24. package/lib/components/image-cropper/interfaces/image-cropped-event.interface.d.ts +0 -11
  25. package/lib/components/image-cropper/interfaces/image-transform.interface.d.ts +0 -9
  26. package/lib/components/image-cropper/interfaces/index.d.ts +0 -7
  27. package/lib/components/image-cropper/interfaces/loaded-image.interface.d.ts +0 -15
  28. package/lib/components/image-cropper/interfaces/move-start.interface.d.ts +0 -17
  29. package/lib/components/image-cropper/services/crop.service.d.ts +0 -13
  30. package/lib/components/image-cropper/services/load-image.service.d.ts +0 -17
  31. package/lib/components/image-cropper/utils/cropper-position.utils.d.ts +0 -11
  32. package/lib/components/image-cropper/utils/exif.utils.d.ts +0 -3
  33. package/lib/components/image-cropper/utils/keyboard.utils.d.ts +0 -5
  34. package/lib/components/image-cropper/utils/percentage.utils.d.ts +0 -1
  35. package/lib/components/image-cropper/utils/resize.utils.d.ts +0 -1
  36. package/lib/components/list-view-filter/list-view-filter.component.d.ts +0 -109
  37. package/lib/components/nxt-datepicker/custom-datepicker/custom-datepicker.component.d.ts +0 -68
  38. package/lib/components/nxt-datepicker/hijri-datepicker/hijri-datepicker.component.d.ts +0 -50
  39. package/lib/components/nxt-datepicker/nxt-datepicker.component.d.ts +0 -20
  40. package/lib/components/nxt-dropdown/nxt-dropdown.component.d.ts +0 -62
  41. package/lib/components/nxt-input/nxt-input.component.d.ts +0 -207
  42. package/lib/components/pagination/pagination.component.d.ts +0 -37
  43. package/lib/components/search-box/search-box.component.d.ts +0 -72
  44. package/lib/interfaces/actionMeta.d.ts +0 -6
  45. package/lib/interfaces/dependencyMeta.d.ts +0 -8
  46. package/lib/model/bookletWrapper.d.ts +0 -4
  47. package/lib/model/changeWrapper.d.ts +0 -9
  48. package/lib/model/errorWrapper.d.ts +0 -5
  49. package/lib/nxt-app.component.d.ts +0 -8
  50. package/lib/nxt-app.module.d.ts +0 -22
  51. package/lib/nxt-app.service.d.ts +0 -6
  52. package/lib/pages/booklet/booklet.component.d.ts +0 -96
  53. package/lib/pages/builder/element/element.component.d.ts +0 -64
  54. package/lib/pages/builder/form/form.component.d.ts +0 -15
  55. package/lib/pages/builder/properties/common-fields.constants.d.ts +0 -173
  56. package/lib/pages/builder/properties/properties.component.d.ts +0 -480
  57. package/lib/pages/pdfDesigner/pdf-designer/pdf-designer.component.d.ts +0 -141
  58. package/lib/pages/pdfDesigner/pdf-properties/pdf-properties.component.d.ts +0 -1169
  59. package/lib/pages/questionbook/questionbook.component.d.ts +0 -108
  60. package/lib/pages/questionnaire/questionnaire.component.d.ts +0 -213
  61. package/lib/pipe/NxtDate.pipe.d.ts +0 -14
  62. package/lib/pipe/amount-in-words/amount-in-words.pipe.d.ts +0 -9
  63. package/lib/pipe/button-styles.pipe.d.ts +0 -9
  64. package/lib/pipe/custom-translate.pipe.d.ts +0 -10
  65. package/lib/pipe/get-value.pipe.d.ts +0 -12
  66. package/lib/pipe/question-by-row.pipe.d.ts +0 -9
  67. package/lib/pipe/search-filter/search-filter.pipe.d.ts +0 -8
  68. package/lib/services/GoogleMapsLoaderService/google-maps-loader-service.service.d.ts +0 -7
  69. package/lib/services/change/change.service.d.ts +0 -21
  70. package/lib/services/country/country.service.d.ts +0 -54
  71. package/lib/services/data/data.service.d.ts +0 -18
  72. package/lib/services/form-builder/form-builder.service.d.ts +0 -103
  73. package/lib/services/pdf-designer/pdf-designer.service.d.ts +0 -59
  74. package/lib/services/salesforce/salesforce.service.d.ts +0 -11
  75. package/lib/services/shared/shared.service.d.ts +0 -15
  76. package/lib/services/storage/storage.service.d.ts +0 -20
  77. package/lib/services/template/template.service.d.ts +0 -18
  78. package/lib/services/translation/indexeddb-reader.service.d.ts +0 -13
  79. package/lib/services/translation/translation.service.d.ts +0 -32
  80. package/public-api.d.ts +0 -17
  81. package/rangertechnologies-ngnxt-2.1.34014.tgz +0 -0
@@ -1,11 +0,0 @@
1
- export declare const VERSION: {
2
- dirty: boolean;
3
- raw: string;
4
- hash: string;
5
- distance: any;
6
- tag: any;
7
- semver: any;
8
- suffix: string;
9
- semverString: any;
10
- version: string;
11
- };
package/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@rangertechnologies/ngnxt" />
5
- export * from './public-api';
@@ -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,244 +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
- export declare class NxtDatatable {
10
- private countryService;
11
- private storageService;
12
- private cdRef;
13
- private translationService;
14
- private renderer;
15
- private dataService;
16
- private changeService;
17
- data: any[];
18
- summaryValues: {
19
- [label: string]: any;
20
- };
21
- tableFilterData: any[];
22
- columns: Array<any>;
23
- withCheckBox: boolean;
24
- searchBar: boolean;
25
- tableSaveButton: boolean;
26
- hideSaveButton: boolean;
27
- stickyColumn: boolean;
28
- tableWidth: string;
29
- actionColumHeader: string;
30
- actionButton: boolean;
31
- title: any;
32
- isButtons: boolean;
33
- buttonArray: any;
34
- tableId: any;
35
- isEditRow: boolean;
36
- isDeleteRow: boolean;
37
- addInlineRecord: boolean;
38
- searchConfigs: any;
39
- direction: 'rtl' | 'ltr';
40
- pagination: boolean;
41
- actionButtonArray: any;
42
- multipleFilter: any;
43
- isPagination: any;
44
- isListViews: any;
45
- id: any;
46
- isNosIndicator: any;
47
- isEditable: any;
48
- from: any;
49
- question: any;
50
- rowTextSize: any;
51
- rowTextColor: any;
52
- apiMeta: any;
53
- summaryRows: any;
54
- summaryColumns: any;
55
- isLoading: any;
56
- tableConfig: any;
57
- tableParams: any;
58
- listViews: any[];
59
- mode: 'view' | 'edit' | 'print';
60
- languageCode: string;
61
- selectedColumn: string | null;
62
- allIcons: any[];
63
- isButtonLoading: boolean;
64
- isPreview: boolean;
65
- groupFilter: boolean;
66
- groupFilterConfig: any;
67
- groupFilterColumn: any;
68
- onlyView: boolean;
69
- tableHeight: any;
70
- serialNumberColumn: boolean;
71
- tableRowClick: EventEmitter<any>;
72
- onEditData: EventEmitter<any>;
73
- onSaveData: EventEmitter<any>;
74
- saveButtonData: EventEmitter<any>;
75
- onDeleteData: EventEmitter<any>;
76
- buttonEmit: EventEmitter<any>;
77
- hyperLinkEmit: EventEmitter<any>;
78
- sideNavEmit: EventEmitter<{
79
- data: any;
80
- col: any;
81
- config: any;
82
- }>;
83
- actionButtonEmit: EventEmitter<any>;
84
- columnSelected: EventEmitter<{
85
- uniqueIdentifier: string;
86
- data: any[];
87
- }>;
88
- removeColumn: EventEmitter<{
89
- uniqueIdentifier: string;
90
- data: any[];
91
- }>;
92
- valueChange: EventEmitter<any>;
93
- selectedValues: EventEmitter<any[]>;
94
- fileEmit: EventEmitter<any>;
95
- NxtTableFilterEmit: EventEmitter<any>;
96
- hadleDropDownDependent: EventEmitter<any>;
97
- NxtTableParamsEmit: EventEmitter<any>;
98
- sort: MatSort;
99
- tableContainer: ElementRef<HTMLElement>;
100
- selection: any;
101
- stickyCondition: number;
102
- searchFilter: boolean;
103
- filterArray: Array<any>;
104
- selectedFilter: any;
105
- pageSizeOptions: Array<any>;
106
- dataSource: any;
107
- totalCount: number;
108
- searchBoxValue: any;
109
- prevSearch: any;
110
- activeColumn: string | null;
111
- isScrolled: boolean;
112
- isShadowHidden: boolean;
113
- currentSortColumn: string;
114
- currentSortDirection: 'asc' | 'desc' | 'none';
115
- originalData: any;
116
- hoveredColumn: string | null;
117
- searchText: any;
118
- multipleFilterArray: any;
119
- tableFilterArray: any;
120
- filterDataArray: any;
121
- isResized: boolean;
122
- sFilterData: any;
123
- currentColumns: Array<any>;
124
- inlineElement: any;
125
- pageSize: any;
126
- pageIndex: any;
127
- totalRecords: number;
128
- deleteData: any;
129
- deleteModal: boolean;
130
- dropdownActionButton: any;
131
- currentOpenIndex: number | null;
132
- clickListener: any;
133
- deleteIndex: number;
134
- showPopover: boolean;
135
- isSummaryColumn: boolean;
136
- isSummaryStartColumn: any[];
137
- isSummaryEndColumn: any[];
138
- filterBoxData: any;
139
- filterTableNos: any;
140
- selectedView: any;
141
- isDropdownOpen: boolean;
142
- currentViewFilter: any;
143
- isFullTableSummaryRow: boolean;
144
- isImageHover: boolean;
145
- isImageEdit: boolean;
146
- selectedImageElement: any;
147
- private questionsCache;
148
- isResizing: boolean;
149
- private currentColumn;
150
- private startX;
151
- private startWidth;
152
- private resizeFrameId;
153
- columnWidthTrack: any;
154
- currentTableData: any;
155
- oldTableData: any;
156
- viewEdit: boolean;
157
- currencyOption: any;
158
- columnSourceId: any;
159
- summaryRowsOrginal: any;
160
- displaySummaryRows: any;
161
- Array: ArrayConstructor;
162
- tableEditTrack: boolean;
163
- alignRight: boolean;
164
- selectedIsEmpty: boolean;
165
- private destroy$;
166
- private timers;
167
- constructor(countryService: CountryService, storageService: StorageService, cdRef: ChangeDetectorRef, translationService: TranslationService, renderer: Renderer2, dataService: DataService, changeService: ChangeService);
168
- ngOnChanges(changes: SimpleChanges): void;
169
- ngOnInit(): void;
170
- ngAfterViewInit(): void;
171
- autoDistributeExtraTableWidth(): void;
172
- onResizeStart(event: MouseEvent): void;
173
- private onResizeMove;
174
- private applyWidthToColumn;
175
- private onResizeEnd;
176
- ngOnDestroy(): void;
177
- computeSummaryColumns(): void;
178
- computeSummaryValues(from?: any): void;
179
- sortData(column: string, sortingState?: any | undefined, currentState?: any | undefined, from?: any): void;
180
- onScroll(tableContainer: HTMLElement): void;
181
- onDocumentClick(event: any): void;
182
- filter(datas: any, event: MouseEvent): void;
183
- pageParams(event: any, from?: any): void;
184
- /** SKS29OCT25 Formats a cell value exactly the way it appears in the UI */
185
- private formatDateForSearch;
186
- applyFilter(event: any, from?: any): void;
187
- /** SKS15FEB25 Whether the number of selected elements matches the total number of rows. */
188
- isAllSelected(): boolean;
189
- /** SKS15FEB25 Selects all rows if they are not all selected; otherwise clear selection. */
190
- masterToggle(): void;
191
- isSomeSelected(): boolean;
192
- separateRowSelect(data: any, element: any): void;
193
- tableClick(data: any): void;
194
- getNestedValue(obj: any, path: string): any;
195
- filterRetain(filterkeyMap: any, from?: any): void;
196
- removeDuplicates(objects: any): any[];
197
- deleteRecord(data: any, index: number): void;
198
- deleteRecordData(): void;
199
- saveButton(element: any): void;
200
- private isSameRow;
201
- private normalizeRow;
202
- onEdit(data: any): void;
203
- onSave(data: any): void;
204
- commonButtonClick(button: any): void;
205
- getObjValue(element: any, column: string): any;
206
- onClickHyperlink(column: any, element: any, isHyperLink: any): void;
207
- addTableRecord(element: any, from?: any): void;
208
- prepareActionVisibility(rows: any[]): any[];
209
- evaluateConditionString(row: any, condition: string): boolean;
210
- onSearch(event: any, from?: any): void;
211
- emptySearch(event: any): void;
212
- onSideNavInfoClick(data: any, col: any): void;
213
- onColumnClick(uniqueIdentifier: string): void;
214
- closefilter(from?: any): void;
215
- isSelected(event: any): boolean;
216
- checkedData(event: any, from?: any): void;
217
- private addClickOutsideListener;
218
- private removeClickListener;
219
- toggleDropdown(index: number): void;
220
- actionButtonClicked(event: any, data: any): void;
221
- removeCol(uniqueIdentifier: string): void;
222
- emitTableDataValue(updatedTableData: any): void;
223
- updateEdit(index: number, value: any, element: any, column: any, type?: any): void;
224
- updateValue(element: any, column: string, value: any): any;
225
- expenseAttachment(event: any): void;
226
- listViewEmit(event: any): void;
227
- onImageEdit(ques: any): Promise<void>;
228
- onImageDelete(ques: any): Promise<void>;
229
- fileChangeEvent(ques: any, event: any): Promise<void>;
230
- private readFileAsDataURL;
231
- getDropDown(event: any): void;
232
- trackByRow(index: number, row: any): any;
233
- trackByColumn(index: number, column: any): any;
234
- trackBySummary(index: number, summary: any): any;
235
- trackByIndex(index: number): number;
236
- editModeChange(): void;
237
- saveTable(): void;
238
- discardChanges(): void;
239
- groupFilterEmit(event: any, from?: any): void;
240
- groupFilterRetain(filterkey: any, from?: any): void;
241
- changeAnnounce(event: any): void;
242
- static ɵfac: i0.ɵɵFactoryDeclaration<NxtDatatable, never>;
243
- 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; }; }, { "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>;
244
- }
@@ -1,74 +0,0 @@
1
- import { OnInit, EventEmitter, OnChanges, SimpleChanges, ChangeDetectorRef } from '@angular/core';
2
- import { SharedService } from '../../services/shared/shared.service';
3
- import { DomSanitizer } from '@angular/platform-browser';
4
- import { DataService } from '../../services/data/data.service';
5
- import * as i0 from "@angular/core";
6
- export declare class NxtFileUpload implements OnInit, OnChanges {
7
- private cdRef;
8
- private SharedService;
9
- private dataService;
10
- private sanitizer;
11
- selectedFileData: EventEmitter<any>;
12
- deletedFileData: EventEmitter<any>;
13
- allFiles: any;
14
- mode: 'view' | 'edit' | 'print';
15
- config: any;
16
- from: any;
17
- dragAndDrop: boolean;
18
- readOnly: boolean;
19
- onlyView: boolean;
20
- required: boolean;
21
- hideSubtext: boolean;
22
- label: any;
23
- fileConfig: any;
24
- allowedFileTypes: string[];
25
- maxFileSize: number;
26
- maxFiles: number;
27
- validationErrors: string[];
28
- isDragging: boolean;
29
- dragCounter: number;
30
- isPopupDragging: boolean;
31
- popupDragCounter: number;
32
- selectedFileNameArray: string[];
33
- copyOfInputAllFiles: any;
34
- fileUrl: any;
35
- isImage: boolean;
36
- fileName: string;
37
- currentFile: any;
38
- showPopup: boolean;
39
- viewEdit: boolean;
40
- originalValue: any;
41
- isLoading: boolean;
42
- constructor(cdRef: ChangeDetectorRef, SharedService: SharedService, dataService: DataService, sanitizer: DomSanitizer);
43
- ngOnInit(): void;
44
- ngOnChanges(simpleChanges: SimpleChanges): void;
45
- initializeFileConfigs(): void;
46
- openPopup(file?: any): void;
47
- closePopup(): void;
48
- uploadMultipleFiles(event: any): void;
49
- deleteFile(currentFileIndex: any): void;
50
- viewableTypes: string[];
51
- viewFile(currentFile: any): void;
52
- viewLocalFile(): void;
53
- handleFileContent(fileResponse: any): void;
54
- setFileUrl(url: any): void;
55
- getDocIcon(docName: any): "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-PDF.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-XLSX.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-DOCX.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-AVI.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-DOC.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-GIF.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-JPG.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-MOV.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-MP3.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-MP4.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-MPEG.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-MPG.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-PNG.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-PPT.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-TXT.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-XLS.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/ic_document.svg";
56
- close(): void;
57
- viewEditClick(ques: any): void;
58
- saveChanges(): void;
59
- discardChanges(): void;
60
- downloadFile(file: any): void;
61
- isPreviewable(type: string, name: string): boolean;
62
- get fileConfigTooltip(): string;
63
- onDragEnter(event: DragEvent): void;
64
- onDragOver(event: DragEvent): void;
65
- onDragLeave(event: DragEvent): void;
66
- onDrop(event: DragEvent): void;
67
- onPopupDragEnter(event: DragEvent): void;
68
- onPopupDragOver(event: DragEvent): void;
69
- onPopupDragLeave(event: DragEvent): void;
70
- onPopupDrop(event: DragEvent): void;
71
- processFiles(fileList: FileList): void;
72
- static ɵfac: i0.ɵɵFactoryDeclaration<NxtFileUpload, never>;
73
- static ɵcmp: i0.ɵɵComponentDeclaration<NxtFileUpload, "nxt-file-upload", never, { "allFiles": { "alias": "allFiles"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "config": { "alias": "config"; "required": false; }; "from": { "alias": "from"; "required": false; }; "dragAndDrop": { "alias": "dragAndDrop"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "onlyView": { "alias": "onlyView"; "required": false; }; "required": { "alias": "required"; "required": false; }; "hideSubtext": { "alias": "hideSubtext"; "required": false; }; "label": { "alias": "label"; "required": false; }; "fileConfig": { "alias": "fileConfig"; "required": false; }; }, { "selectedFileData": "selectedFileData"; "deletedFileData": "deletedFileData"; }, never, never, true, never>;
74
- }
@@ -1,39 +0,0 @@
1
- import { EventEmitter, OnInit, ElementRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class FormulaInputComponent implements OnInit {
4
- attributes: any[];
5
- initialFormula: string;
6
- formulaChange: EventEmitter<string>;
7
- formulaValidation: EventEmitter<{
8
- isValid: boolean;
9
- formula: string;
10
- tokens: any[];
11
- }>;
12
- formulaInputRef: ElementRef<HTMLInputElement>;
13
- formulaTokens: any[];
14
- currentInput: string;
15
- validationMessage: string;
16
- isValidationError: boolean;
17
- operations: {
18
- symbol: string;
19
- title: string;
20
- value: string;
21
- }[];
22
- ngOnInit(): void;
23
- focusInput(): void;
24
- addAttribute(attribute: any): void;
25
- addOperation(operation: any): void;
26
- removeToken(index: number): void;
27
- isAttributeUsed(attribute: any): boolean;
28
- onKeyDown(event: KeyboardEvent): void;
29
- commitNumber(): void;
30
- onInput(event: any): void;
31
- resetFormula(): void;
32
- validateFormula(): void;
33
- private getValidationErrors;
34
- private updateFormula;
35
- private emitValidation;
36
- private parseInitialFormula;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<FormulaInputComponent, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<FormulaInputComponent, "app-formula-input", never, { "attributes": { "alias": "attributes"; "required": false; }; "initialFormula": { "alias": "initialFormula"; "required": false; }; }, { "formulaChange": "formulaChange"; "formulaValidation": "formulaValidation"; }, never, never, true, never>;
39
- }
@@ -1,34 +0,0 @@
1
- import { ElementRef, EventEmitter, SimpleChanges } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class IconSelectorComponent {
4
- allIcons: [];
5
- themeColor: string;
6
- height: string;
7
- tooltipPosition: string;
8
- selectedIcon: any;
9
- cdnIconURL: string;
10
- label: string;
11
- labelFont: string;
12
- labelWeight: string;
13
- inputWeight: string;
14
- labelSize: string;
15
- labelColor: string;
16
- showLabel: string;
17
- required: boolean;
18
- mode: 'view' | 'edit' | 'print';
19
- question: any;
20
- options: any[];
21
- iconSelected: EventEmitter<string>;
22
- filteredIcons: any[];
23
- searchQuery: string;
24
- showDropdown: boolean;
25
- dropdownWrapper: ElementRef;
26
- ngOnInit(): void;
27
- ngOnChanges(simpleChanges: SimpleChanges): void;
28
- filterIcons(): void;
29
- selectIcon(icon: any): void;
30
- toggleDropdown(): void;
31
- onDocumentClick(event: MouseEvent): void;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<IconSelectorComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<IconSelectorComponent, "nxt-icon-selector", never, { "allIcons": { "alias": "allIcons"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; "height": { "alias": "height"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "selectedIcon": { "alias": "selectedIcon"; "required": false; }; "cdnIconURL": { "alias": "cdnIconURL"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelFont": { "alias": "labelFont"; "required": false; }; "labelWeight": { "alias": "labelWeight"; "required": false; }; "inputWeight": { "alias": "inputWeight"; "required": false; }; "labelSize": { "alias": "labelSize"; "required": false; }; "labelColor": { "alias": "labelColor"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "required": { "alias": "required"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "question": { "alias": "question"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "iconSelected": "iconSelected"; }, never, never, true, never>;
34
- }
@@ -1,29 +0,0 @@
1
- import { CropperOptions } from '../interfaces/cropper-options.interface';
2
- import { CropperPosition, Dimensions, ImageTransform, LoadedImage } from '../interfaces';
3
- import { SimpleChanges } from '@angular/core';
4
- export declare class CropperState {
5
- options: CropperOptions;
6
- loadedImage?: LoadedImage;
7
- maxSize?: Dimensions;
8
- cropper: CropperPosition;
9
- transform: ImageTransform;
10
- cropperScaledMinWidth: number;
11
- cropperScaledMinHeight: number;
12
- cropperScaledMaxWidth: number;
13
- cropperScaledMaxHeight: number;
14
- stepSize: number;
15
- setOptionsFromChanges(changes: SimpleChanges): void;
16
- setOptions(options: Partial<CropperOptions>): void;
17
- private validateOptions;
18
- setMaxSize(width: number, height: number): void;
19
- setCropperScaledMinSize(): void;
20
- setCropperScaledMinWidth(): void;
21
- setCropperScaledMinHeight(): void;
22
- setCropperScaledMaxSize(): void;
23
- equalsCropperPosition(cropper?: CropperPosition): boolean;
24
- equalsTransformTranslate(transform: ImageTransform): boolean;
25
- equalsTransform(transform: ImageTransform): boolean;
26
- aspectRatioIsCorrect(): boolean;
27
- resizeCropperPosition(oldMaxSize: Dimensions): void;
28
- maxSizeCropperPosition(): CropperPosition;
29
- }