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