@syncfusion/ej2-navigations 32.2.6 → 32.2.7

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.
@@ -8731,9 +8731,11 @@ let Tab = class Tab extends Component {
8731
8731
  }
8732
8732
  else if (this.heightAdjustMode === 'Fill') {
8733
8733
  addClass([this.element], [CLS_FILL]);
8734
- setStyleAttribute(this.element, { 'height': '100%' });
8734
+ const parent = this.element.parentElement;
8735
+ const heightVal = parent.style.height || parent.getAttribute('height');
8736
+ setStyleAttribute(this.element, { 'height': heightVal != null ? heightVal : '100%' });
8735
8737
  this.loadContentElement();
8736
- this.cntEle.style.height = 'calc(100% - ' + this.hdrEle.offsetHeight + 'px)';
8738
+ this.cntEle.style.height = heightVal != null ? `calc(${heightVal} - ${this.hdrEle.offsetHeight}px)` : 'calc(100vh - ' + this.hdrEle.offsetHeight + 'px)';
8737
8739
  }
8738
8740
  else if (this.heightAdjustMode === 'Auto') {
8739
8741
  if (this.isTemplate === true) {
@@ -10500,6 +10502,7 @@ let TreeView = TreeView_1 = class TreeView extends Component {
10500
10502
  this.beforeNodeCreate(e);
10501
10503
  },
10502
10504
  enableHtmlSanitizer: this.enableHtmlSanitizer,
10505
+ disableHtmlEncode: this.disableHtmlEncode,
10503
10506
  itemNavigable: this.fullRowNavigable
10504
10507
  };
10505
10508
  this.updateListProp(this.fields);
@@ -13553,12 +13556,7 @@ let TreeView = TreeView_1 = class TreeView extends Component {
13553
13556
  this.renderReactTemplates();
13554
13557
  }
13555
13558
  else {
13556
- if (this.enableHtmlSanitizer) {
13557
- txtEle.innerText = SanitizeHtmlHelper.sanitize(newText);
13558
- }
13559
- else {
13560
- txtEle.innerHTML = newText;
13561
- }
13559
+ txtEle[ListBase.getDomSetter(this.listBaseOption)] = ListBase.getSanitizedText(newText, this.listBaseOption);
13562
13560
  }
13563
13561
  if (isInput) {
13564
13562
  removeClass([liEle], EDITING);
@@ -15980,6 +15978,9 @@ __decorate$8([
15980
15978
  __decorate$8([
15981
15979
  Property(true)
15982
15980
  ], TreeView.prototype, "enableHtmlSanitizer", void 0);
15981
+ __decorate$8([
15982
+ Property(true)
15983
+ ], TreeView.prototype, "disableHtmlEncode", void 0);
15983
15984
  __decorate$8([
15984
15985
  Property(false)
15985
15986
  ], TreeView.prototype, "enablePersistence", void 0);
@@ -16636,6 +16637,12 @@ let Sidebar = class Sidebar extends Component {
16636
16637
  if (!this.getState()) {
16637
16638
  this.setDock();
16638
16639
  }
16640
+ if (!this.enableDock) {
16641
+ removeClass([this.element], DOCKER);
16642
+ }
16643
+ else {
16644
+ addClass([this.element], DOCKER);
16645
+ }
16639
16646
  break;
16640
16647
  case 'zIndex':
16641
16648
  this.setZindex();