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

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