@rangertechnologies/ngnxt 2.1.268 → 2.1.269

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.
@@ -53667,7 +53667,8 @@ class NxtFileUploadComponent {
53667
53667
  if (readFilesPromises.length > 0) {
53668
53668
  // Wait for all promises to resolve
53669
53669
  Promise.all(readFilesPromises).then(() => {
53670
- this.copyOfInputAllFiles = inputFiles;
53670
+ this.copyOfInputAllFiles = [...inputFiles];
53671
+ this.cdRef.markForCheck(); // Trigger change detection
53671
53672
  let change;
53672
53673
  change['fromQuestionId'] = this.question.id;
53673
53674
  change['valueObj'] = inputFiles;
@@ -53693,6 +53694,7 @@ class NxtFileUploadComponent {
53693
53694
  change['valueObj'] = this.copyOfInputAllFiles;
53694
53695
  change['referenceField'] = this.question.referenceField;
53695
53696
  this.selectedFileData.emit({ question: this.question, value: change });
53697
+ this.cdRef.markForCheck(); // Trigger change detection
53696
53698
  }
53697
53699
  // VD 20May24 - preview changes
53698
53700
  // RS 09DEC24 Changed keys
@@ -60805,6 +60807,7 @@ class BookletComponent {
60805
60807
  let dependentElementArray = [];
60806
60808
  // HA 22JAN24 this change to make close event work
60807
60809
  dataToParent['action'] = action.eventtoemit;
60810
+ dataToParent['actionData'] = action['actionData'];
60808
60811
  if (!(action.eventtoemit === 'close' || action.eventtoemit === 'print')) {
60809
60812
  // HA 18-JAN-24 Sending the complete json data also
60810
60813
  dataToParent['jsonBook'] = this.storageService.get();
@@ -60860,10 +60863,6 @@ class BookletComponent {
60860
60863
  }
60861
60864
  }
60862
60865
  }
60863
- // VD 13MAY24 - print QR button changes
60864
- if (action.eventtoemit === 'print') {
60865
- dataToParent['actionData'] = action['data'];
60866
- }
60867
60866
  // MSM 17JUN25 - Close button event changes
60868
60867
  if (action.eventtoemit === 'close' && this.isEdit) {
60869
60868
  this.isEdit = false;
@@ -61156,7 +61155,7 @@ const VERSION = {
61156
61155
  "semver": null,
61157
61156
  "suffix": "09440148-dirty",
61158
61157
  "semverString": null,
61159
- "version": "2.1.268"
61158
+ "version": "2.1.269"
61160
61159
  };
61161
61160
  /* tslint:enable */
61162
61161