@rangertechnologies/ngnxt 2.1.316 → 2.1.318

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.
@@ -159,6 +159,9 @@ export declare class NxtDatatable {
159
159
  summaryRowsOrginal: any;
160
160
  displaySummaryRows: any;
161
161
  Array: ArrayConstructor;
162
+ tableEditTrack: boolean;
163
+ alignRight: boolean;
164
+ selectedIsEmpty: boolean;
162
165
  constructor(countryService: CountryService, storageService: StorageService, cdRef: ChangeDetectorRef, translationService: TranslationService, renderer: Renderer2, dataService: DataService, changeService: ChangeService);
163
166
  ngOnChanges(changes: SimpleChanges): void;
164
167
  ngOnInit(): void;
@@ -174,7 +177,7 @@ export declare class NxtDatatable {
174
177
  sortData(column: string, sortingState?: any | undefined, currentState?: any | undefined, from?: any): void;
175
178
  onScroll(tableContainer: HTMLElement): void;
176
179
  onDocumentClick(event: any): void;
177
- filter(datas: any): void;
180
+ filter(datas: any, event: MouseEvent): void;
178
181
  pageParams(event: any, from?: any): void;
179
182
  /** SKS29OCT25 Formats a cell value exactly the way it appears in the UI */
180
183
  private formatDateForSearch;
@@ -191,7 +194,9 @@ export declare class NxtDatatable {
191
194
  removeDuplicates(objects: any): any[];
192
195
  deleteRecord(data: any, index: number): void;
193
196
  deleteRecordData(): void;
194
- saveButton(): void;
197
+ saveButton(element: any): void;
198
+ private isSameRow;
199
+ private normalizeRow;
195
200
  onEdit(data: any): void;
196
201
  onSave(data: any): void;
197
202
  commonButtonClick(button: any): void;
@@ -2,7 +2,7 @@ import { OnInit, EventEmitter, SimpleChanges, AfterViewInit, ElementRef, NgZone,
2
2
  import { DomSanitizer } from "@angular/platform-browser";
3
3
  import { ActionMeta } from '../../interfaces/actionMeta';
4
4
  import { BookletWrapper } from "../../model/bookletWrapper";
5
- import { Observable } from "rxjs";
5
+ import { Observable, Subscription } from "rxjs";
6
6
  import { HttpClient } from "@angular/common/http";
7
7
  import { QuestionbookComponent } from "../questionbook/questionbook.component";
8
8
  import { SalesforceService } from "../../services/salesforce/salesforce.service";
@@ -45,6 +45,7 @@ export declare class BookletComponent implements OnInit, AfterViewInit {
45
45
  hadleDropDownDependent: EventEmitter<any>;
46
46
  handleCalendarDate: EventEmitter<any>;
47
47
  handleCalendarEvent: EventEmitter<any>;
48
+ subscription: Subscription;
48
49
  nxtBooklet: BookletWrapper;
49
50
  booklet: any[];
50
51
  abItem: any;
@@ -58,6 +59,7 @@ export declare class BookletComponent implements OnInit, AfterViewInit {
58
59
  isEditVal: boolean;
59
60
  safeValue: any;
60
61
  showStickyShadow: boolean;
62
+ isSaveDisabled: boolean;
61
63
  questionbookComponent: QuestionbookComponent;
62
64
  stickyBar?: ElementRef<HTMLElement>;
63
65
  private scrollHandler;
@@ -84,6 +86,9 @@ export declare class BookletComponent implements OnInit, AfterViewInit {
84
86
  editChangeClick(action: any): void;
85
87
  ngAfterViewInit(): void;
86
88
  updateShadow(): void;
89
+ hasAnyFieldValue(): boolean;
90
+ private hasValue;
91
+ private updateSaveButtonState;
87
92
  static ɵfac: i0.ɵɵFactoryDeclaration<BookletComponent, never>;
88
93
  static ɵcmp: i0.ɵɵComponentDeclaration<BookletComponent, "lib-booklet", never, { "bookletId": { "alias": "bookletId"; "required": false; }; "serv": { "alias": "serv"; "required": false; }; "tkn": { "alias": "tkn"; "required": false; }; "bookletJSON": { "alias": "bookletJSON"; "required": false; }; "allIcons": { "alias": "allIcons"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; "cdnIconURL": { "alias": "cdnIconURL"; "required": false; }; "dropdownDependentData": { "alias": "dropdownDependentData"; "required": false; }; "labelValue": { "alias": "labelValue"; "required": false; }; "token": { "alias": "token"; "required": false; }; "languageCode": { "alias": "languageCode"; "required": false; }; "fieldRestrictions": { "alias": "fieldRestrictions"; "required": false; }; "from": { "alias": "from"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "isEdit": { "alias": "isEdit"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "onlyView": { "alias": "onlyView"; "required": false; }; "dataBind": { "alias": "dataBind"; "required": false; }; }, { "handleBookletActionEvent": "handleBookletActionEvent"; "handlePage": "handlePage"; "hadleDropDownDependent": "hadleDropDownDependent"; "handleCalendarDate": "handleCalendarDate"; "handleCalendarEvent": "handleCalendarEvent"; }, never, never, true, never>;
89
94
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rangertechnologies/ngnxt",
3
- "version": "2.1.316",
3
+ "version": "2.1.318",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.14",
6
6
  "@angular/core": "^19.2.14"