@rangertechnologies/ngnxt 2.1.341 → 2.1.342

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.
@@ -58496,10 +58496,10 @@ class BookletComponent {
58496
58496
  this.translationService.setLanguage(this.languageCode);
58497
58497
  }
58498
58498
  // HA 23JAN24 To avoid undefined error
58499
- if (simplechanges['bookletId'] || (simplechanges['bookletJSON'] && simplechanges['bookletJSON'].currentValue != null) || (simplechanges['dataBind'] && simplechanges['dataBind'].currentValue != null)) {
58499
+ if ((simplechanges['bookletJSON'] && simplechanges['bookletJSON'].currentValue != null) || (simplechanges['dataBind'] && simplechanges['dataBind'].currentValue != null)) {
58500
58500
  this.allEvents = [];
58501
58501
  this.orginalDataBind = this.dataBind;
58502
- this.triggerProcessBooklet(simplechanges['dataBind'] ? 'dataBind' : null);
58502
+ this.triggerProcessBooklet(simplechanges['dataBind'] ? 'dataBind' : 'bookletJSON');
58503
58503
  }
58504
58504
  }
58505
58505
  // AP-28MAY25 - Converts old action string (JSON) into a new model (array of action objects)
@@ -58563,11 +58563,12 @@ class BookletComponent {
58563
58563
  }
58564
58564
  // HA 18-JAN-24 The condition is used for Bind-In Logic
58565
58565
  await this.handleCompleteBooklet(this.bookletJSON, from);
58566
- if (runId !== this.processBookletRunId) {
58566
+ if (runId !== this.processBookletRunId || from !== 'bookletJSON') {
58567
58567
  return;
58568
58568
  }
58569
58569
  this.booklet = this.bookletJSON?.records;
58570
58570
  this.abItem = this.bookletJSON?.answerbook;
58571
+ this.cdr.markForCheck();
58571
58572
  // Process the Questions
58572
58573
  // HA 28DEC23 this applies for booklet
58573
58574
  // HA 17JAN24 Added ternary operator to avoid undefined scenario
@@ -59101,7 +59102,7 @@ const VERSION = {
59101
59102
  "semver": null,
59102
59103
  "suffix": "ed0865a9-dirty",
59103
59104
  "semverString": null,
59104
- "version": "2.1.341"
59105
+ "version": "2.1.342"
59105
59106
  };
59106
59107
  /* tslint:enable */
59107
59108