@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.
@@ -9010,9 +9010,11 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
9010
9010
  }
9011
9011
  else if (this.heightAdjustMode === 'Fill') {
9012
9012
  addClass([this.element], [CLS_FILL]);
9013
- setStyleAttribute(this.element, { 'height': '100%' });
9013
+ var parent_1 = this.element.parentElement;
9014
+ var heightVal = parent_1.style.height || parent_1.getAttribute('height');
9015
+ setStyleAttribute(this.element, { 'height': heightVal != null ? heightVal : '100%' });
9014
9016
  this.loadContentElement();
9015
- this.cntEle.style.height = 'calc(100% - ' + this.hdrEle.offsetHeight + 'px)';
9017
+ this.cntEle.style.height = heightVal != null ? "calc(" + heightVal + " - " + this.hdrEle.offsetHeight + "px)" : 'calc(100vh - ' + this.hdrEle.offsetHeight + 'px)';
9016
9018
  }
9017
9019
  else if (this.heightAdjustMode === 'Auto') {
9018
9020
  if (this.isTemplate === true) {
@@ -10827,6 +10829,7 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
10827
10829
  _this.beforeNodeCreate(e);
10828
10830
  },
10829
10831
  enableHtmlSanitizer: this.enableHtmlSanitizer,
10832
+ disableHtmlEncode: this.disableHtmlEncode,
10830
10833
  itemNavigable: this.fullRowNavigable
10831
10834
  };
10832
10835
  this.updateListProp(this.fields);
@@ -13917,12 +13920,7 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
13917
13920
  this.renderReactTemplates();
13918
13921
  }
13919
13922
  else {
13920
- if (this.enableHtmlSanitizer) {
13921
- txtEle.innerText = SanitizeHtmlHelper.sanitize(newText);
13922
- }
13923
- else {
13924
- txtEle.innerHTML = newText;
13925
- }
13923
+ txtEle[ListBase.getDomSetter(this.listBaseOption)] = ListBase.getSanitizedText(newText, this.listBaseOption);
13926
13924
  }
13927
13925
  if (isInput) {
13928
13926
  removeClass([liEle], EDITING);
@@ -16363,6 +16361,9 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
16363
16361
  __decorate$8([
16364
16362
  Property(true)
16365
16363
  ], TreeView.prototype, "enableHtmlSanitizer", void 0);
16364
+ __decorate$8([
16365
+ Property(true)
16366
+ ], TreeView.prototype, "disableHtmlEncode", void 0);
16366
16367
  __decorate$8([
16367
16368
  Property(false)
16368
16369
  ], TreeView.prototype, "enablePersistence", void 0);
@@ -17039,6 +17040,12 @@ var Sidebar = /** @__PURE__ @class */ (function (_super) {
17039
17040
  if (!this.getState()) {
17040
17041
  this.setDock();
17041
17042
  }
17043
+ if (!this.enableDock) {
17044
+ removeClass([this.element], DOCKER);
17045
+ }
17046
+ else {
17047
+ addClass([this.element], DOCKER);
17048
+ }
17042
17049
  break;
17043
17050
  case 'zIndex':
17044
17051
  this.setZindex();