reneco-hierarchized-picker 0.3.2-beta.4 → 0.3.2-beta.5

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.
@@ -18420,7 +18420,14 @@ const HierarchizedPickerComponent = class {
18420
18420
  targetURL += '&searchedValue=' + options.search.searchedValue;
18421
18421
  }
18422
18422
  else {
18423
- targetURL += '/' + options.startNode;
18423
+ let urloptions = '';
18424
+ if (options.Reach) {
18425
+ urloptions += (urloptions.length == 0 ? '/?' : '&') + 'reach=' + options.Reach;
18426
+ }
18427
+ if (options.IsDeprecated) {
18428
+ urloptions += (urloptions.length == 0 ? '/?' : '&') + 'isDeprecated=' + options.isDeprecated;
18429
+ }
18430
+ targetURL += '/' + options.startNode + urloptions;
18424
18431
  }
18425
18432
  let getDataPromise = new Promise((resolve, reject) => {
18426
18433
  this.getToken().then(token => {
@@ -644,13 +644,13 @@ export class HierarchizedPickerComponent {
644
644
  }
645
645
  else {
646
646
  let urloptions = '';
647
- targetURL += '/' + options.startNode;
648
647
  if (options.Reach) {
649
648
  urloptions += (urloptions.length == 0 ? '/?' : '&') + 'reach=' + options.Reach;
650
649
  }
651
650
  if (options.IsDeprecated) {
652
651
  urloptions += (urloptions.length == 0 ? '/?' : '&') + 'isDeprecated=' + options.isDeprecated;
653
652
  }
653
+ targetURL += '/' + options.startNode + urloptions;
654
654
  }
655
655
  let getDataPromise = new Promise((resolve, reject) => {
656
656
  this.getToken().then(token => {
@@ -18418,7 +18418,14 @@ const HierarchizedPickerComponent = class extends HTMLElement {
18418
18418
  targetURL += '&searchedValue=' + options.search.searchedValue;
18419
18419
  }
18420
18420
  else {
18421
- targetURL += '/' + options.startNode;
18421
+ let urloptions = '';
18422
+ if (options.Reach) {
18423
+ urloptions += (urloptions.length == 0 ? '/?' : '&') + 'reach=' + options.Reach;
18424
+ }
18425
+ if (options.IsDeprecated) {
18426
+ urloptions += (urloptions.length == 0 ? '/?' : '&') + 'isDeprecated=' + options.isDeprecated;
18427
+ }
18428
+ targetURL += '/' + options.startNode + urloptions;
18422
18429
  }
18423
18430
  let getDataPromise = new Promise((resolve, reject) => {
18424
18431
  this.getToken().then(token => {
@@ -18416,7 +18416,14 @@ const HierarchizedPickerComponent = class {
18416
18416
  targetURL += '&searchedValue=' + options.search.searchedValue;
18417
18417
  }
18418
18418
  else {
18419
- targetURL += '/' + options.startNode;
18419
+ let urloptions = '';
18420
+ if (options.Reach) {
18421
+ urloptions += (urloptions.length == 0 ? '/?' : '&') + 'reach=' + options.Reach;
18422
+ }
18423
+ if (options.IsDeprecated) {
18424
+ urloptions += (urloptions.length == 0 ? '/?' : '&') + 'isDeprecated=' + options.isDeprecated;
18425
+ }
18426
+ targetURL += '/' + options.startNode + urloptions;
18420
18427
  }
18421
18428
  let getDataPromise = new Promise((resolve, reject) => {
18422
18429
  this.getToken().then(token => {