@rangertechnologies/ngnxt 2.1.301 → 2.1.303

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.
@@ -51841,7 +51841,9 @@ class NxtDatatable {
51841
51841
  const end = start + Number(this.pageSize);
51842
51842
  this.filterBoxData = this.data;
51843
51843
  this.filterTableNos = this.filterBoxData?.length;
51844
- this.dataSource.data = this.data?.slice(start, end);
51844
+ if (!this.pagination) {
51845
+ this.dataSource.data = this.data?.slice(start, end);
51846
+ }
51845
51847
  this.data = this.originalData;
51846
51848
  this.sortData(this.currentSortColumn, this.currentSortDirection, undefined, from);
51847
51849
  }
@@ -52160,10 +52162,10 @@ class NxtDatatable {
52160
52162
  }
52161
52163
  updateEdit(index, value, element, column, type) {
52162
52164
  if (type === 'list') {
52163
- value = (value.valueObj && typeof value.valueObj === 'object' && !Array.isArray(value.valueObj)) ? value.isObject ? value?.valueObj : this.dataService.getValue(value?.valueObj, value?.field) : value.valueObj;
52165
+ value = (value.valueObj && typeof value.valueObj === 'object' && !Array.isArray(value.valueObj)) ? value.isObject ? value?.valueObj : this.dataService.getValue(value?.valueObj, value?.field) : value?.valueObj;
52164
52166
  }
52165
52167
  else {
52166
- value = value.valueObj ? value.valueObj : value;
52168
+ value = value?.valueObj ? value.valueObj : value;
52167
52169
  }
52168
52170
  const updatedElement = this.updateValue(element, column, value);
52169
52171
  // SKS22JUL25 Invalidate cache for this row and column
@@ -57145,6 +57147,9 @@ class QuestionbookComponent {
57145
57147
  }
57146
57148
  else if (ques.type === 'Table') {
57147
57149
  ques.input = event?.valueObj.data;
57150
+ if (event?.valueObj?.summaryValues) {
57151
+ ques['summaryValues'] = event?.valueObj?.summaryValues;
57152
+ }
57148
57153
  }
57149
57154
  else {
57150
57155
  ques.input = event?.valueObj;
@@ -57890,6 +57895,12 @@ class BookletComponent {
57890
57895
  else if (tempQues.type === "Boolean") { // SKS23JUN25 defaultly set value false
57891
57896
  question['input'] = typeof tempQues.input !== 'undefined' ? tempQues.input === true || tempQues.input === 'true' : typeof tempQues.defaultValue !== 'undefined' ? ((tempQues.defaultValue === true && tempQues.defaultValue !== "" && tempQues.defaultValue !== "false") || tempQues.defaultValue === 'true') : false;
57892
57897
  }
57898
+ else if (tempQues.type === 'Table') {
57899
+ question['input'] = tempQues.input || tempQues.defaultValue || null;
57900
+ if (tempQues.summaryValues) {
57901
+ question['summaryValues'] = tempQues.summaryValues;
57902
+ }
57903
+ }
57893
57904
  else {
57894
57905
  question['input'] = tempQues.input || tempQues.defaultValue || null;
57895
57906
  }
@@ -58051,7 +58062,7 @@ const VERSION = {
58051
58062
  "semver": null,
58052
58063
  "suffix": "68a4eb8b-dirty",
58053
58064
  "semverString": null,
58054
- "version": "2.1.301"
58065
+ "version": "2.1.303"
58055
58066
  };
58056
58067
  /* tslint:enable */
58057
58068