reneco-hierarchized-picker 0.4.0-beta.1 → 0.4.0-beta.2

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.
@@ -18600,7 +18600,7 @@ const HierarchizedPickerComponent = class {
18600
18600
  // this.theOptions = newValue;
18601
18601
  this.optionsManager.updateOptions(newValue);
18602
18602
  this.setDisplayedValue(this.value);
18603
- const originOrNodeIdAreDifferent = (newValue.origin != oldValue.origin || newValue.options.StartNodeID != oldValue.options.StartNodeID);
18603
+ const originOrNodeIdAreDifferent = !oldValue || (newValue.origin != oldValue.origin || newValue.options.StartNodeID != oldValue.options.StartNodeID);
18604
18604
  if (this.optionsManager.getOptions().source != 'file' && (!oldValue || (oldValue && originOrNodeIdAreDifferent))) {
18605
18605
  this.rawData = null;
18606
18606
  }
@@ -100,7 +100,7 @@ export class HierarchizedPickerComponent {
100
100
  // this.theOptions = newValue;
101
101
  this.optionsManager.updateOptions(newValue);
102
102
  this.setDisplayedValue(this.value);
103
- const originOrNodeIdAreDifferent = (newValue.origin != oldValue.origin || newValue.options.StartNodeID != oldValue.options.StartNodeID);
103
+ const originOrNodeIdAreDifferent = !oldValue || (newValue.origin != oldValue.origin || newValue.options.StartNodeID != oldValue.options.StartNodeID);
104
104
  if (this.optionsManager.getOptions().source != 'file' && (!oldValue || (oldValue && originOrNodeIdAreDifferent))) {
105
105
  this.rawData = null;
106
106
  }
@@ -18597,7 +18597,7 @@ const HierarchizedPickerComponent = class extends HTMLElement {
18597
18597
  // this.theOptions = newValue;
18598
18598
  this.optionsManager.updateOptions(newValue);
18599
18599
  this.setDisplayedValue(this.value);
18600
- const originOrNodeIdAreDifferent = (newValue.origin != oldValue.origin || newValue.options.StartNodeID != oldValue.options.StartNodeID);
18600
+ const originOrNodeIdAreDifferent = !oldValue || (newValue.origin != oldValue.origin || newValue.options.StartNodeID != oldValue.options.StartNodeID);
18601
18601
  if (this.optionsManager.getOptions().source != 'file' && (!oldValue || (oldValue && originOrNodeIdAreDifferent))) {
18602
18602
  this.rawData = null;
18603
18603
  }
@@ -18596,7 +18596,7 @@ const HierarchizedPickerComponent = class {
18596
18596
  // this.theOptions = newValue;
18597
18597
  this.optionsManager.updateOptions(newValue);
18598
18598
  this.setDisplayedValue(this.value);
18599
- const originOrNodeIdAreDifferent = (newValue.origin != oldValue.origin || newValue.options.StartNodeID != oldValue.options.StartNodeID);
18599
+ const originOrNodeIdAreDifferent = !oldValue || (newValue.origin != oldValue.origin || newValue.options.StartNodeID != oldValue.options.StartNodeID);
18600
18600
  if (this.optionsManager.getOptions().source != 'file' && (!oldValue || (oldValue && originOrNodeIdAreDifferent))) {
18601
18601
  this.rawData = null;
18602
18602
  }