reneco-hierarchized-picker 0.2.2-beta.8 → 0.2.3

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.
@@ -18657,7 +18657,6 @@ const HierarchizedPickerComponent = class {
18657
18657
  let valueTranslatedPropFromNode = this.getPropertyFromNode(value, 'valueTranslated');
18658
18658
  let fullpathPropFromNode = this.getPropertyFromNode(value, 'fullpath');
18659
18659
  let fullpathTranslatedPropFromNode = this.getPropertyFromNode(value, 'fullpathTranslated');
18660
- let hasChildrenPropFromNode = this.getPropertyFromNode(value, 'hasChildren', false);
18661
18660
  let childrenPropFromNode = this.getPropertyFromNode(value, 'children', false);
18662
18661
  let deprecated = this.getPropertyFromNode(value, 'deprecated', false);
18663
18662
  let objToPush = {
@@ -18666,7 +18665,7 @@ const HierarchizedPickerComponent = class {
18666
18665
  text: valueTranslatedPropFromNode,
18667
18666
  fullpath: fullpathPropFromNode,
18668
18667
  fullpathTranslated: fullpathTranslatedPropFromNode,
18669
- children: hasChildrenPropFromNode && childrenPropFromNode && childrenPropFromNode.length == 0 ? [{}] : [],
18668
+ children: this.getPropertyFromNode(value, 'hasChildren', false) && childrenPropFromNode && childrenPropFromNode.length == 0 ? [{}] : [],
18670
18669
  deprecated: deprecated,
18671
18670
  isDesaturated: false,
18672
18671
  searchMatch: false
@@ -18773,7 +18772,8 @@ const HierarchizedPickerComponent = class {
18773
18772
  text: that.getPropertyFromNode(value, 'Name'),
18774
18773
  fullpath: that.getPropertyFromNode(value, 'Properties').FullPath,
18775
18774
  fullpathTranslated: that.getPropertyFromNode(value, 'Properties').FullPath,
18776
- children: [{}],
18775
+ children: (that.getPropertyFromNode(value, "hasChildren", false) &&
18776
+ that.getPropertyFromNode(value, "children").length == 0 ? [{}] : []),
18777
18777
  deprecated: that.getPropertyFromNode(value, 'IsDeprecated', false),
18778
18778
  isDesaturated: false,
18779
18779
  searchMatch: false
@@ -18834,7 +18834,7 @@ const HierarchizedPickerComponent = class {
18834
18834
  text: that.getPropertyFromNode(value, 'Name'),
18835
18835
  fullpath: that.getPropertyFromNode(value.Properties, 'FullPath'),
18836
18836
  fullpathTranslated: that.getPropertyFromNode(value.Properties, 'FullPath'),
18837
- children: that.getPropertyFromNode(value, 'children').length == 0 ? [{}] : [],
18837
+ children: that.getPropertyFromNode(value, 'hasChildren', false) && that.getPropertyFromNode(value, 'children').length == 0 ? [{}] : [],
18838
18838
  deprecated: that.getPropertyFromNode(value.Properties, 'IsDeprecated', false),
18839
18839
  };
18840
18840
  }
@@ -880,7 +880,6 @@ export class HierarchizedPickerComponent {
880
880
  let valueTranslatedPropFromNode = this.getPropertyFromNode(value, 'valueTranslated');
881
881
  let fullpathPropFromNode = this.getPropertyFromNode(value, 'fullpath');
882
882
  let fullpathTranslatedPropFromNode = this.getPropertyFromNode(value, 'fullpathTranslated');
883
- let hasChildrenPropFromNode = this.getPropertyFromNode(value, 'hasChildren', false);
884
883
  let childrenPropFromNode = this.getPropertyFromNode(value, 'children', false);
885
884
  let deprecated = this.getPropertyFromNode(value, 'deprecated', false);
886
885
  let objToPush = {
@@ -889,7 +888,7 @@ export class HierarchizedPickerComponent {
889
888
  text: valueTranslatedPropFromNode,
890
889
  fullpath: fullpathPropFromNode,
891
890
  fullpathTranslated: fullpathTranslatedPropFromNode,
892
- children: hasChildrenPropFromNode && childrenPropFromNode && childrenPropFromNode.length == 0 ? [{}] : [],
891
+ children: this.getPropertyFromNode(value, 'hasChildren', false) && childrenPropFromNode && childrenPropFromNode.length == 0 ? [{}] : [],
893
892
  deprecated: deprecated,
894
893
  isDesaturated: false,
895
894
  searchMatch: false
@@ -996,7 +995,8 @@ export class HierarchizedPickerComponent {
996
995
  text: that.getPropertyFromNode(value, 'Name'),
997
996
  fullpath: that.getPropertyFromNode(value, 'Properties').FullPath,
998
997
  fullpathTranslated: that.getPropertyFromNode(value, 'Properties').FullPath,
999
- children: [{}],
998
+ children: (that.getPropertyFromNode(value, "hasChildren", false) &&
999
+ that.getPropertyFromNode(value, "children").length == 0 ? [{}] : []),
1000
1000
  deprecated: that.getPropertyFromNode(value, 'IsDeprecated', false),
1001
1001
  isDesaturated: false,
1002
1002
  searchMatch: false
@@ -1057,7 +1057,7 @@ export class HierarchizedPickerComponent {
1057
1057
  text: that.getPropertyFromNode(value, 'Name'),
1058
1058
  fullpath: that.getPropertyFromNode(value.Properties, 'FullPath'),
1059
1059
  fullpathTranslated: that.getPropertyFromNode(value.Properties, 'FullPath'),
1060
- children: that.getPropertyFromNode(value, 'children').length == 0 ? [{}] : [],
1060
+ children: that.getPropertyFromNode(value, 'hasChildren', false) && that.getPropertyFromNode(value, 'children').length == 0 ? [{}] : [],
1061
1061
  deprecated: that.getPropertyFromNode(value.Properties, 'IsDeprecated', false),
1062
1062
  };
1063
1063
  }
@@ -18655,7 +18655,6 @@ const HierarchizedPickerComponent = class extends HTMLElement {
18655
18655
  let valueTranslatedPropFromNode = this.getPropertyFromNode(value, 'valueTranslated');
18656
18656
  let fullpathPropFromNode = this.getPropertyFromNode(value, 'fullpath');
18657
18657
  let fullpathTranslatedPropFromNode = this.getPropertyFromNode(value, 'fullpathTranslated');
18658
- let hasChildrenPropFromNode = this.getPropertyFromNode(value, 'hasChildren', false);
18659
18658
  let childrenPropFromNode = this.getPropertyFromNode(value, 'children', false);
18660
18659
  let deprecated = this.getPropertyFromNode(value, 'deprecated', false);
18661
18660
  let objToPush = {
@@ -18664,7 +18663,7 @@ const HierarchizedPickerComponent = class extends HTMLElement {
18664
18663
  text: valueTranslatedPropFromNode,
18665
18664
  fullpath: fullpathPropFromNode,
18666
18665
  fullpathTranslated: fullpathTranslatedPropFromNode,
18667
- children: hasChildrenPropFromNode && childrenPropFromNode && childrenPropFromNode.length == 0 ? [{}] : [],
18666
+ children: this.getPropertyFromNode(value, 'hasChildren', false) && childrenPropFromNode && childrenPropFromNode.length == 0 ? [{}] : [],
18668
18667
  deprecated: deprecated,
18669
18668
  isDesaturated: false,
18670
18669
  searchMatch: false
@@ -18771,7 +18770,8 @@ const HierarchizedPickerComponent = class extends HTMLElement {
18771
18770
  text: that.getPropertyFromNode(value, 'Name'),
18772
18771
  fullpath: that.getPropertyFromNode(value, 'Properties').FullPath,
18773
18772
  fullpathTranslated: that.getPropertyFromNode(value, 'Properties').FullPath,
18774
- children: [{}],
18773
+ children: (that.getPropertyFromNode(value, "hasChildren", false) &&
18774
+ that.getPropertyFromNode(value, "children").length == 0 ? [{}] : []),
18775
18775
  deprecated: that.getPropertyFromNode(value, 'IsDeprecated', false),
18776
18776
  isDesaturated: false,
18777
18777
  searchMatch: false
@@ -18832,7 +18832,7 @@ const HierarchizedPickerComponent = class extends HTMLElement {
18832
18832
  text: that.getPropertyFromNode(value, 'Name'),
18833
18833
  fullpath: that.getPropertyFromNode(value.Properties, 'FullPath'),
18834
18834
  fullpathTranslated: that.getPropertyFromNode(value.Properties, 'FullPath'),
18835
- children: that.getPropertyFromNode(value, 'children').length == 0 ? [{}] : [],
18835
+ children: that.getPropertyFromNode(value, 'hasChildren', false) && that.getPropertyFromNode(value, 'children').length == 0 ? [{}] : [],
18836
18836
  deprecated: that.getPropertyFromNode(value.Properties, 'IsDeprecated', false),
18837
18837
  };
18838
18838
  }
@@ -18653,7 +18653,6 @@ const HierarchizedPickerComponent = class {
18653
18653
  let valueTranslatedPropFromNode = this.getPropertyFromNode(value, 'valueTranslated');
18654
18654
  let fullpathPropFromNode = this.getPropertyFromNode(value, 'fullpath');
18655
18655
  let fullpathTranslatedPropFromNode = this.getPropertyFromNode(value, 'fullpathTranslated');
18656
- let hasChildrenPropFromNode = this.getPropertyFromNode(value, 'hasChildren', false);
18657
18656
  let childrenPropFromNode = this.getPropertyFromNode(value, 'children', false);
18658
18657
  let deprecated = this.getPropertyFromNode(value, 'deprecated', false);
18659
18658
  let objToPush = {
@@ -18662,7 +18661,7 @@ const HierarchizedPickerComponent = class {
18662
18661
  text: valueTranslatedPropFromNode,
18663
18662
  fullpath: fullpathPropFromNode,
18664
18663
  fullpathTranslated: fullpathTranslatedPropFromNode,
18665
- children: hasChildrenPropFromNode && childrenPropFromNode && childrenPropFromNode.length == 0 ? [{}] : [],
18664
+ children: this.getPropertyFromNode(value, 'hasChildren', false) && childrenPropFromNode && childrenPropFromNode.length == 0 ? [{}] : [],
18666
18665
  deprecated: deprecated,
18667
18666
  isDesaturated: false,
18668
18667
  searchMatch: false
@@ -18769,7 +18768,8 @@ const HierarchizedPickerComponent = class {
18769
18768
  text: that.getPropertyFromNode(value, 'Name'),
18770
18769
  fullpath: that.getPropertyFromNode(value, 'Properties').FullPath,
18771
18770
  fullpathTranslated: that.getPropertyFromNode(value, 'Properties').FullPath,
18772
- children: [{}],
18771
+ children: (that.getPropertyFromNode(value, "hasChildren", false) &&
18772
+ that.getPropertyFromNode(value, "children").length == 0 ? [{}] : []),
18773
18773
  deprecated: that.getPropertyFromNode(value, 'IsDeprecated', false),
18774
18774
  isDesaturated: false,
18775
18775
  searchMatch: false
@@ -18830,7 +18830,7 @@ const HierarchizedPickerComponent = class {
18830
18830
  text: that.getPropertyFromNode(value, 'Name'),
18831
18831
  fullpath: that.getPropertyFromNode(value.Properties, 'FullPath'),
18832
18832
  fullpathTranslated: that.getPropertyFromNode(value.Properties, 'FullPath'),
18833
- children: that.getPropertyFromNode(value, 'children').length == 0 ? [{}] : [],
18833
+ children: that.getPropertyFromNode(value, 'hasChildren', false) && that.getPropertyFromNode(value, 'children').length == 0 ? [{}] : [],
18834
18834
  deprecated: that.getPropertyFromNode(value.Properties, 'IsDeprecated', false),
18835
18835
  };
18836
18836
  }