@syncfusion/ej2-layouts 19.2.60 → 19.3.53

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.
Files changed (103) hide show
  1. package/.eslintrc.json +1 -1
  2. package/CHANGELOG.md +10 -0
  3. package/dist/ej2-layouts.umd.min.js +2 -2
  4. package/dist/ej2-layouts.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-layouts.es2015.js +84 -164
  6. package/dist/es6/ej2-layouts.es2015.js.map +1 -1
  7. package/dist/es6/ej2-layouts.es5.js +84 -165
  8. package/dist/es6/ej2-layouts.es5.js.map +1 -1
  9. package/dist/global/ej2-layouts.min.js +2 -2
  10. package/dist/global/ej2-layouts.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/helpers/e2e/dashboardHelper.d.ts +63 -0
  13. package/helpers/e2e/dashboardHelper.js +97 -0
  14. package/helpers/e2e/index.d.ts +1 -0
  15. package/helpers/e2e/index.js +1 -0
  16. package/package.json +6 -6
  17. package/src/dashboard-layout/dashboard-layout.js +0 -6
  18. package/src/splitter/splitter-model.d.ts +1 -1
  19. package/src/splitter/splitter.d.ts +5 -1
  20. package/src/splitter/splitter.js +84 -158
  21. package/styles/avatar/_bootstrap5-dark-definition.scss +1 -0
  22. package/styles/avatar/_bootstrap5-definition.scss +25 -0
  23. package/styles/avatar/_layout.scss +5 -5
  24. package/styles/avatar/_tailwind-dark-definition.scss +1 -25
  25. package/styles/avatar/bootstrap5-dark.css +61 -0
  26. package/styles/avatar/bootstrap5-dark.scss +3 -0
  27. package/styles/avatar/bootstrap5.css +61 -0
  28. package/styles/avatar/bootstrap5.scss +3 -0
  29. package/styles/bootstrap-dark.css +8 -0
  30. package/styles/bootstrap.css +8 -0
  31. package/styles/bootstrap4.css +8 -0
  32. package/styles/bootstrap5-dark.css +1618 -0
  33. package/styles/bootstrap5-dark.scss +4 -0
  34. package/styles/bootstrap5.css +1618 -0
  35. package/styles/bootstrap5.scss +4 -0
  36. package/styles/card/_bootstrap5-dark-definition.scss +1 -0
  37. package/styles/card/_bootstrap5-definition.scss +119 -0
  38. package/styles/card/_fabric-dark-definition.scss +5 -18
  39. package/styles/card/_layout.scss +2 -2
  40. package/styles/card/_tailwind-dark-definition.scss +1 -122
  41. package/styles/card/_tailwind-definition.scss +5 -9
  42. package/styles/card/bootstrap5-dark.css +593 -0
  43. package/styles/card/bootstrap5-dark.scss +3 -0
  44. package/styles/card/bootstrap5.css +593 -0
  45. package/styles/card/bootstrap5.scss +3 -0
  46. package/styles/card/fabric-dark.css +12 -12
  47. package/styles/card/tailwind-dark.css +2 -3
  48. package/styles/card/tailwind.css +0 -1
  49. package/styles/dashboard-layout/_bootstrap5-dark-definition.scss +1 -0
  50. package/styles/dashboard-layout/_bootstrap5-definition.scss +109 -0
  51. package/styles/dashboard-layout/_layout.scss +14 -5
  52. package/styles/dashboard-layout/_tailwind-dark-definition.scss +1 -109
  53. package/styles/dashboard-layout/_tailwind-definition.scss +27 -28
  54. package/styles/dashboard-layout/_theme.scss +4 -4
  55. package/styles/dashboard-layout/bootstrap5-dark.css +393 -0
  56. package/styles/dashboard-layout/bootstrap5-dark.scss +4 -0
  57. package/styles/dashboard-layout/bootstrap5.css +393 -0
  58. package/styles/dashboard-layout/bootstrap5.scss +4 -0
  59. package/styles/dashboard-layout/icons/_bootstrap5-dark.scss +1 -0
  60. package/styles/dashboard-layout/icons/_bootstrap5.scss +81 -0
  61. package/styles/dashboard-layout/material-dark.css +3 -3
  62. package/styles/dashboard-layout/tailwind-dark.css +10 -8
  63. package/styles/dashboard-layout/tailwind.css +5 -3
  64. package/styles/fabric-dark.css +20 -12
  65. package/styles/fabric.css +8 -0
  66. package/styles/highcontrast-light.css +8 -0
  67. package/styles/highcontrast.css +8 -0
  68. package/styles/material-dark.css +19 -11
  69. package/styles/material.css +8 -0
  70. package/styles/splitter/_bootstrap5-dark-definition.scss +1 -0
  71. package/styles/splitter/_bootstrap5-definition.scss +26 -0
  72. package/styles/splitter/_tailwind-dark-definition.scss +1 -23
  73. package/styles/splitter/_tailwind-definition.scss +14 -11
  74. package/styles/splitter/bootstrap-dark.css +8 -0
  75. package/styles/splitter/bootstrap.css +8 -0
  76. package/styles/splitter/bootstrap4.css +8 -0
  77. package/styles/splitter/bootstrap5-dark.css +568 -0
  78. package/styles/splitter/bootstrap5-dark.scss +4 -0
  79. package/styles/splitter/bootstrap5.css +568 -0
  80. package/styles/splitter/bootstrap5.scss +4 -0
  81. package/styles/splitter/fabric-dark.css +8 -0
  82. package/styles/splitter/fabric.css +8 -0
  83. package/styles/splitter/highcontrast-light.css +8 -0
  84. package/styles/splitter/highcontrast.css +8 -0
  85. package/styles/splitter/icons/_bootstrap-dark.scss +12 -0
  86. package/styles/splitter/icons/_bootstrap.scss +12 -0
  87. package/styles/splitter/icons/_bootstrap4.scss +12 -0
  88. package/styles/splitter/icons/_bootstrap5-dark.scss +1 -0
  89. package/styles/splitter/icons/_bootstrap5.scss +39 -0
  90. package/styles/splitter/icons/_fabric-dark.scss +12 -0
  91. package/styles/splitter/icons/_fabric.scss +12 -0
  92. package/styles/splitter/icons/_highcontrast-light.scss +12 -0
  93. package/styles/splitter/icons/_highcontrast.scss +12 -0
  94. package/styles/splitter/icons/_material-dark.scss +12 -0
  95. package/styles/splitter/icons/_material.scss +12 -0
  96. package/styles/splitter/icons/_tailwind-dark.scss +1 -39
  97. package/styles/splitter/icons/_tailwind.scss +12 -0
  98. package/styles/splitter/material-dark.css +16 -8
  99. package/styles/splitter/material.css +8 -0
  100. package/styles/splitter/tailwind-dark.css +14 -7
  101. package/styles/splitter/tailwind.css +8 -1
  102. package/styles/tailwind-dark.css +26 -18
  103. package/styles/tailwind.css +13 -5
@@ -1,4 +1,4 @@
1
- import { Browser, ChildProperty, Collection, Component, Draggable, Event, EventHandler, NotifyPropertyChanges, Property, SanitizeHtmlHelper, addClass, append, closest, compile, detach, extend, formatUnit, getValue, isBlazor, isNullOrUndefined, isUndefined, removeClass, select, selectAll, setStyleAttribute, setValue } from '@syncfusion/ej2-base';
1
+ import { Browser, ChildProperty, Collection, Component, Draggable, Event, EventHandler, NotifyPropertyChanges, Property, SanitizeHtmlHelper, addClass, append, closest, compile, detach, extend, formatUnit, getValue, isNullOrUndefined, isUndefined, removeClass, select, selectAll, setStyleAttribute, setValue } from '@syncfusion/ej2-base';
2
2
 
3
3
  var __extends = (undefined && undefined.__extends) || (function () {
4
4
  var extendStatics = function (d, b) {
@@ -258,13 +258,15 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
258
258
  };
259
259
  Splitter.prototype.preRender = function () {
260
260
  this.onReportWindowSize = this.reportWindowSize.bind(this);
261
+ this.onMouseMoveHandler = this.onMouseMove.bind(this);
262
+ this.onMouseUpHandler = this.onMouseUp.bind(this);
263
+ this.onTouchMoveHandler = this.onMouseMove.bind(this);
264
+ this.onTouchEndHandler = this.onMouseUp.bind(this);
261
265
  this.wrapper = this.element.cloneNode(true);
262
266
  this.wrapperParent = this.element.parentElement;
263
- if (!this.checkBlazor()) {
264
- removeClass([this.wrapper], ['e-control', 'e-lib', ROOT]);
265
- var orientation_1 = this.orientation === 'Horizontal' ? HORIZONTAL_PANE : VERTICAL_PANE;
266
- addClass([this.element], orientation_1);
267
- }
267
+ removeClass([this.wrapper], ['e-control', 'e-lib', ROOT]);
268
+ var orientation = this.orientation === 'Horizontal' ? HORIZONTAL_PANE : VERTICAL_PANE;
269
+ addClass([this.element], orientation);
268
270
  var name = Browser.info.name;
269
271
  var css = (name === 'msie') ? 'e-ie' : '';
270
272
  this.setCssClass(this.element, css);
@@ -291,19 +293,15 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
291
293
  * @private
292
294
  */
293
295
  Splitter.prototype.render = function () {
294
- if (!this.checkBlazor()) {
295
- this.checkDataAttributes();
296
- this.setCssClass(this.element, this.cssClass);
297
- this.isEnabled(this.enabled);
298
- this.setDimension(this.getHeight(this.element), this.getWidth(this.element));
299
- }
296
+ this.checkDataAttributes();
297
+ this.setCssClass(this.element, this.cssClass);
298
+ this.isEnabled(this.enabled);
299
+ this.setDimension(this.getHeight(this.element), this.getWidth(this.element));
300
300
  this.createSplitPane(this.element);
301
301
  this.addSeparator(this.element);
302
302
  this.getPanesDimensions();
303
303
  this.setPaneSettings();
304
- if (!this.checkBlazor()) {
305
- this.setRTL(this.enableRtl);
306
- }
304
+ this.setRTL(this.enableRtl);
307
305
  if (this.enableReversePanes) {
308
306
  this.setReversePane();
309
307
  }
@@ -331,11 +329,15 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
331
329
  this.totalPercent = previousFlexBasis + nextFlexBasis;
332
330
  this.totalWidth = this.convertPercentageToPixel(this.totalPercent + '%');
333
331
  if (e.type === 'keydown' && (!isNullOrUndefined(e.keyCode))) {
334
- if ((e.keyCode === 39 || (e.keyCode === 40)) && nextPaneSize > 0) {
332
+ if ((e.keyCode === 39 || (e.keyCode === 40)) && nextPaneSize > 0 &&
333
+ (this.getMinInPixel(this.paneSettings[this.nextPaneIndex].min) <
334
+ this.convertPercentageToPixel((nextFlexBasis - 1) + '%'))) {
335
335
  this.previousPane.style.flexBasis = (previousFlexBasis + 1) + '%';
336
336
  this.nextPane.style.flexBasis = (nextFlexBasis - 1) + '%';
337
337
  }
338
- else if ((e.keyCode === 37 || (e.keyCode === 38)) && prePaneSize > 0) {
338
+ else if ((e.keyCode === 37 || (e.keyCode === 38)) && prePaneSize > 0 &&
339
+ (this.getMinInPixel(this.paneSettings[this.prevPaneIndex].min) <
340
+ this.convertPercentageToPixel((previousFlexBasis - 1) + '%'))) {
339
341
  this.previousPane.style.flexBasis = (previousFlexBasis - 1) + '%';
340
342
  this.nextPane.style.flexBasis = (nextFlexBasis + 1) + '%';
341
343
  }
@@ -345,13 +347,15 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
345
347
  this.totalWidth = (this.orientation === 'Horizontal') ? this.previousPane.offsetWidth + this.nextPane.offsetWidth :
346
348
  this.previousPane.offsetHeight + this.nextPane.offsetHeight;
347
349
  if (e.type === 'keydown' && (!isNullOrUndefined(e.keyCode))) {
348
- if ((e.keyCode === 39 || (e.keyCode === 40)) && nextPaneSize > 0) {
350
+ if ((e.keyCode === 39 || (e.keyCode === 40)) && nextPaneSize > 0 &&
351
+ (this.getMinInPixel(this.paneSettings[this.nextPaneIndex].min) < (nextPaneSize + splitBarSize))) {
349
352
  this.addStaticPaneClass();
350
353
  this.previousPane.style.flexBasis = (prePaneSize + splitBarSize) + 'px';
351
354
  this.nextPane.style.flexBasis = (nextPaneSize < splitBarSize) ? '0px' :
352
355
  (nextPaneSize - splitBarSize) + 'px';
353
356
  }
354
- else if ((e.keyCode === 37 || (e.keyCode === 38)) && prePaneSize > 0) {
357
+ else if ((e.keyCode === 37 || (e.keyCode === 38)) && prePaneSize > 0 &&
358
+ (this.getMinInPixel(this.paneSettings[this.prevPaneIndex].min) < (prePaneSize - splitBarSize))) {
355
359
  this.addStaticPaneClass();
356
360
  this.previousPane.style.flexBasis = (prePaneSize < splitBarSize) ? '0px' :
357
361
  (prePaneSize - splitBarSize) + 'px';
@@ -372,11 +376,12 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
372
376
  && (!isPrevpaneExpanded && !isNextpaneCollapsed && !isPrevpaneCollapsed || (isPrevpaneExpanded) && !isNextpaneCollapsed) &&
373
377
  document.activeElement.classList.contains(SPLIT_BAR) && (this.paneSettings[index].resizable &&
374
378
  this.paneSettings[index + 1].resizable)) {
379
+ event.preventDefault();
375
380
  this.checkPaneSize(event);
376
381
  this.triggerResizing(event);
377
382
  }
378
383
  else if (event.keyCode === 13 && this.paneSettings[index].collapsible &&
379
- document.activeElement.classList.contains(SPLIT_BAR)) {
384
+ document.activeElement.classList.contains(SPLIT_BAR) && this.currentSeparator.classList.contains(SPLIT_BAR_ACTIVE)) {
380
385
  if (!this.previousPane.classList.contains(COLLAPSE_PANE)) {
381
386
  this.collapse(index);
382
387
  addClass([this.currentSeparator], SPLIT_BAR_ACTIVE);
@@ -388,6 +393,18 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
388
393
  }
389
394
  }
390
395
  };
396
+ Splitter.prototype.getMinInPixel = function (minValue) {
397
+ var min;
398
+ if (isNullOrUndefined(minValue)) {
399
+ return 0;
400
+ }
401
+ var paneMinRange = this.convertPixelToNumber(minValue.toString());
402
+ if (minValue.indexOf('%') > 0) {
403
+ paneMinRange = this.convertPercentageToPixel(minValue);
404
+ }
405
+ min = this.convertPixelToNumber((paneMinRange).toString());
406
+ return min;
407
+ };
391
408
  /**
392
409
  * @param {string} value - specifies the string value
393
410
  * @returns {string} returns the string
@@ -461,9 +478,6 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
461
478
  });
462
479
  this.restoreElem();
463
480
  };
464
- Splitter.prototype.checkBlazor = function () {
465
- return isBlazor() && this.isServerRendered;
466
- };
467
481
  Splitter.prototype.setPaneSettings = function () {
468
482
  var childCount = this.allPanes.length;
469
483
  var paneCollection = [];
@@ -863,52 +877,19 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
863
877
  this.isResizable() ? this.allPanes[index].classList.add(RESIZABLE_PANE) : this.allPanes[index].classList.remove(RESIZABLE_PANE);
864
878
  };
865
879
  Splitter.prototype.addSeparator = function (target) {
866
- var _this = this;
867
880
  var childCount = this.allPanes.length;
868
881
  var clonedEle = target.children;
869
882
  var separator;
870
- var proxy;
871
- if (this.checkBlazor()) {
872
- for (var j = 0; j < this.element.children.length; j++) {
873
- if (this.element.children[j].classList.contains(SPLIT_BAR)) {
874
- this.allBars.push(this.element.children[j]);
875
- }
876
- }
877
- }
878
883
  for (var i = 0; i < childCount; i++) {
879
884
  if (i < childCount - 1) {
880
- if (!this.checkBlazor()) {
881
- separator = this.createSeparator(i);
882
- setStyleAttribute(separator, { 'order': (i * 2) + 1 });
883
- this.separatorOrder.push((i * 2) + 1);
884
- clonedEle[i].parentNode.appendChild(separator);
885
- this.currentSeparator = separator;
886
- separator.setAttribute('role', 'separator');
887
- separator.setAttribute('aria-orientation', this.orientation.toLowerCase());
888
- }
889
- if (this.checkBlazor()) {
890
- proxy = this;
891
- separator = this.allBars[i];
892
- this.updateIconClass();
893
- }
894
- if (!this.checkBlazor()) {
895
- this.wireClickEvents();
896
- }
897
- if (this.checkBlazor() && !isNullOrUndefined(separator)) {
898
- this.currentSeparator = separator;
899
- this.addMouseActions(separator);
900
- this.wireClickEvents();
901
- separator.addEventListener('focus', function () {
902
- if (document.activeElement.classList.contains('e-split-bar')) {
903
- proxy.currentSeparator = document.activeElement;
904
- proxy.currentSeparator.classList.add(SPLIT_BAR_ACTIVE);
905
- }
906
- _this.getPaneDetails();
907
- });
908
- separator.addEventListener('blur', function () {
909
- proxy.currentSeparator.classList.remove(SPLIT_BAR_ACTIVE);
910
- });
911
- }
885
+ separator = this.createSeparator(i);
886
+ setStyleAttribute(separator, { 'order': (i * 2) + 1 });
887
+ this.separatorOrder.push((i * 2) + 1);
888
+ clonedEle[i].parentNode.appendChild(separator);
889
+ this.currentSeparator = separator;
890
+ separator.setAttribute('role', 'separator');
891
+ separator.setAttribute('aria-orientation', this.orientation.toLowerCase());
892
+ this.wireClickEvents();
912
893
  if (!isNullOrUndefined(separator)) {
913
894
  if (this.isResizable()) {
914
895
  EventHandler.add(separator, 'mousedown', this.onMouseDown, this);
@@ -1097,21 +1078,21 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
1097
1078
  }
1098
1079
  };
1099
1080
  Splitter.prototype.wireResizeEvents = function () {
1100
- EventHandler.add(document, 'mousemove', this.onMouseMove, this);
1101
- EventHandler.add(document, 'mouseup', this.onMouseUp, this);
1081
+ document.addEventListener('mousemove', this.onMouseMoveHandler, true);
1082
+ document.addEventListener('mouseup', this.onMouseUpHandler, true);
1102
1083
  var touchMoveEvent = (Browser.info.name === 'msie') ? 'pointermove' : 'touchmove';
1103
1084
  var touchEndEvent = (Browser.info.name === 'msie') ? 'pointerup' : 'touchend';
1104
- EventHandler.add(document, touchMoveEvent, this.onMouseMove, this);
1105
- EventHandler.add(document, touchEndEvent, this.onMouseUp, this);
1085
+ document.addEventListener(touchMoveEvent, this.onTouchMoveHandler, true);
1086
+ document.addEventListener(touchEndEvent, this.onTouchEndHandler, true);
1106
1087
  };
1107
1088
  Splitter.prototype.unwireResizeEvents = function () {
1108
1089
  this.element.ownerDocument.defaultView.removeEventListener('resize', this.onReportWindowSize);
1109
1090
  var touchMoveEvent = (Browser.info.name === 'msie') ? 'pointermove' : 'touchmove';
1110
1091
  var touchEndEvent = (Browser.info.name === 'msie') ? 'pointerup' : 'touchend';
1111
- EventHandler.remove(document, 'mousemove', this.onMouseMove);
1112
- EventHandler.remove(document, 'mouseup', this.onMouseUp);
1113
- EventHandler.remove(document, touchMoveEvent, this.onMouseMove);
1114
- EventHandler.remove(document, touchEndEvent, this.onMouseUp);
1092
+ document.removeEventListener('mousemove', this.onMouseMoveHandler, true);
1093
+ document.removeEventListener('mouseup', this.onMouseUpHandler, true);
1094
+ document.removeEventListener(touchMoveEvent, this.onTouchMoveHandler, true);
1095
+ document.removeEventListener(touchEndEvent, this.onTouchEndHandler, true);
1115
1096
  };
1116
1097
  Splitter.prototype.wireClickEvents = function () {
1117
1098
  EventHandler.add(this.currentSeparator, 'touchstart click', this.clickHandler, this);
@@ -1367,13 +1348,7 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
1367
1348
  }
1368
1349
  };
1369
1350
  Splitter.prototype.beforeAction = function (e) {
1370
- var eventArgs = isBlazor() ? {
1371
- element: this.element,
1372
- event: e,
1373
- index: [this.prevPaneIndex, this.nextPaneIndex],
1374
- separator: this.currentSeparator,
1375
- cancel: false
1376
- } : {
1351
+ var eventArgs = {
1377
1352
  element: this.element,
1378
1353
  event: e,
1379
1354
  pane: [this.previousPane, this.nextPane],
@@ -1472,12 +1447,7 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
1472
1447
  }
1473
1448
  };
1474
1449
  Splitter.prototype.afterAction = function (e) {
1475
- var eventArgs = isBlazor() ? {
1476
- element: this.element,
1477
- event: e,
1478
- index: [this.prevPaneIndex, this.nextPaneIndex],
1479
- separator: this.currentSeparator
1480
- } : {
1450
+ var eventArgs = {
1481
1451
  element: this.element,
1482
1452
  event: e,
1483
1453
  pane: [this.previousPane, this.nextPane],
@@ -1490,10 +1460,6 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
1490
1460
  this.currentBarIndex = this.getOrderIndex(parseInt(e.target.parentElement.style.order, 10), 'splitbar');
1491
1461
  };
1492
1462
  Splitter.prototype.getSeparatorIndex = function (target) {
1493
- var separator = this.orientation === 'Horizontal' ? SPLIT_H_BAR : SPLIT_V_BAR;
1494
- if (this.checkBlazor() && this.allBars.length < 1) {
1495
- this.allBars = selectAll('.' + separator, this.element);
1496
- }
1497
1463
  var array = [].slice.call(this.allBars);
1498
1464
  array = this.enableReversePanes ? array.reverse() : array;
1499
1465
  return array.indexOf(target);
@@ -1523,13 +1489,7 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
1523
1489
  this.getPaneDetails();
1524
1490
  };
1525
1491
  Splitter.prototype.triggerResizing = function (e) {
1526
- var eventArgs = isBlazor() ? {
1527
- element: this.element,
1528
- event: e,
1529
- index: [this.prevPaneIndex, this.nextPaneIndex],
1530
- paneSize: [this.prePaneDimenson, this.nextPaneDimension],
1531
- separator: this.currentSeparator
1532
- } : {
1492
+ var eventArgs = {
1533
1493
  element: this.element,
1534
1494
  event: e,
1535
1495
  pane: [this.previousPane, this.nextPane],
@@ -1550,13 +1510,7 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
1550
1510
  addClass([this.currentSeparator], SPLIT_BAR_ACTIVE);
1551
1511
  this.updateCursorPosition(e, 'previous');
1552
1512
  this.getPaneDetails();
1553
- var eventArgs = isBlazor() ? {
1554
- element: this.element,
1555
- event: e,
1556
- index: [this.getPreviousPaneIndex(), this.getNextPaneIndex()],
1557
- separator: this.currentSeparator,
1558
- cancel: false
1559
- } : {
1513
+ var eventArgs = {
1560
1514
  element: this.element,
1561
1515
  event: e,
1562
1516
  pane: [this.previousPane, this.nextPane],
@@ -1941,13 +1895,7 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
1941
1895
  Splitter.prototype.onMouseUp = function (e) {
1942
1896
  removeClass([this.currentSeparator], SPLIT_BAR_ACTIVE);
1943
1897
  this.unwireResizeEvents();
1944
- var eventArgs = isBlazor() ? {
1945
- event: e,
1946
- element: this.element,
1947
- index: [this.prevPaneIndex, this.nextPaneIndex],
1948
- separator: this.currentSeparator,
1949
- paneSize: [this.prePaneDimenson, this.nextPaneDimension]
1950
- } : {
1898
+ var eventArgs = {
1951
1899
  event: e,
1952
1900
  element: this.element,
1953
1901
  pane: [this.previousPane, this.nextPane],
@@ -2049,12 +1997,7 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
2049
1997
  }
2050
1998
  var templateFUN;
2051
1999
  if (!isNullOrUndefined(templateFn)) {
2052
- if (isBlazor() && !this.isStringTemplate) {
2053
- templateFUN = templateFn({}, this, prop, this.element.id + 'content' + this.allPanes.length.toString(), this.isStringTemplate);
2054
- }
2055
- else {
2056
- templateFUN = templateFn({}, this, prop, this.element.id + 'content' + this.allPanes.length.toString(), true);
2057
- }
2000
+ templateFUN = templateFn({}, this, prop, this.element.id + 'content' + this.allPanes.length.toString(), true);
2058
2001
  }
2059
2002
  if (!isNullOrUndefined(templateFn) && templateFUN && templateFUN.length > 0) {
2060
2003
  [].slice.call(templateFUN).forEach(function (el) {
@@ -2068,13 +2011,11 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
2068
2011
  };
2069
2012
  Splitter.prototype.createSplitPane = function (target) {
2070
2013
  var childCount = target.children.length;
2071
- if (!this.checkBlazor()) {
2072
- for (var i = 0; i < this.paneSettings.length; i++) {
2073
- if (childCount < this.paneSettings.length) {
2074
- var childElement = this.createElement('div');
2075
- this.element.appendChild(childElement);
2076
- childCount = childCount + 1;
2077
- }
2014
+ for (var i = 0; i < this.paneSettings.length; i++) {
2015
+ if (childCount < this.paneSettings.length) {
2016
+ var childElement = this.createElement('div');
2017
+ this.element.appendChild(childElement);
2018
+ childCount = childCount + 1;
2078
2019
  }
2079
2020
  }
2080
2021
  childCount = target.children.length;
@@ -2084,30 +2025,23 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
2084
2025
  for (var i = 0; i < childCount; i++) {
2085
2026
  // To accept only div and span element as pane
2086
2027
  if (child[i].nodeName === 'DIV' || child[i].nodeName === 'SPAN') {
2087
- if (this.checkBlazor() && child[i].classList.contains(PANE)) {
2088
- this.allPanes.push(child[i]);
2028
+ this.allPanes.push(child[i]);
2029
+ if (this.orientation === 'Horizontal') {
2030
+ addClass([child[i]], [PANE, SPLIT_H_PANE, SCROLL_PANE]);
2031
+ this.panesDimension(i, child);
2089
2032
  }
2090
- else if (!this.checkBlazor()) {
2091
- this.allPanes.push(child[i]);
2033
+ else {
2034
+ addClass([child[i]], [PANE, SPLIT_V_PANE, SCROLL_PANE]);
2035
+ this.panesDimension(i, child);
2092
2036
  }
2093
- if (!this.checkBlazor()) {
2094
- if (this.orientation === 'Horizontal') {
2095
- addClass([child[i]], [PANE, SPLIT_H_PANE, SCROLL_PANE]);
2096
- this.panesDimension(i, child);
2097
- }
2098
- else {
2099
- addClass([child[i]], [PANE, SPLIT_V_PANE, SCROLL_PANE]);
2100
- this.panesDimension(i, child);
2101
- }
2102
- if (!isNullOrUndefined(this.paneSettings[i]) && !isNullOrUndefined(this.paneSettings[i].content)) {
2103
- this.setTemplate(this.paneSettings[i].content, child[i]);
2104
- }
2105
- if (!isNullOrUndefined(this.paneSettings[i]) && this.paneSettings[i].cssClass) {
2106
- this.setCssClass(child[i], this.paneSettings[i].cssClass);
2107
- }
2108
- if (!isNullOrUndefined(this.paneSettings[i])) {
2109
- this.paneCollapsible(child[i], i);
2110
- }
2037
+ if (!isNullOrUndefined(this.paneSettings[i]) && !isNullOrUndefined(this.paneSettings[i].content)) {
2038
+ this.setTemplate(this.paneSettings[i].content, child[i]);
2039
+ }
2040
+ if (!isNullOrUndefined(this.paneSettings[i]) && this.paneSettings[i].cssClass) {
2041
+ this.setCssClass(child[i], this.paneSettings[i].cssClass);
2042
+ }
2043
+ if (!isNullOrUndefined(this.paneSettings[i])) {
2044
+ this.paneCollapsible(child[i], i);
2111
2045
  }
2112
2046
  }
2113
2047
  }
@@ -2140,24 +2074,15 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
2140
2074
  */
2141
2075
  Splitter.prototype.destroy = function () {
2142
2076
  if (!this.isDestroyed) {
2143
- if (!this.checkBlazor()) {
2144
- _super.prototype.destroy.call(this);
2145
- }
2077
+ _super.prototype.destroy.call(this);
2146
2078
  EventHandler.remove(document, 'touchstart click', this.onDocumentClick);
2079
+ this.element.ownerDocument.defaultView.removeEventListener('resize', this.onReportWindowSize, true);
2147
2080
  while (this.element.attributes.length > 0) {
2148
2081
  this.element.removeAttribute(this.element.attributes[0].name);
2149
2082
  }
2150
- if (this.checkBlazor()) {
2151
- var splitNodes = this.element.children;
2152
- for (var i = splitNodes.length - 1; i >= 0; i--) {
2153
- detach(splitNodes[i]);
2154
- }
2155
- }
2156
- else {
2157
- this.element.innerHTML = this.wrapper.innerHTML;
2158
- for (var i = 0; i < this.wrapper.attributes.length; i++) {
2159
- this.element.setAttribute(this.wrapper.attributes[i].name, this.wrapper.attributes[i].value);
2160
- }
2083
+ this.element.innerHTML = this.wrapper.innerHTML;
2084
+ for (var i = 0; i < this.wrapper.attributes.length; i++) {
2085
+ this.element.setAttribute(this.wrapper.attributes[i].name, this.wrapper.attributes[i].value);
2161
2086
  }
2162
2087
  if (this.refreshing) {
2163
2088
  addClass([this.element], ['e-control', 'e-lib', ROOT]);
@@ -2974,10 +2899,6 @@ var DashboardLayout = /** @__PURE__ @class */ (function (_super) {
2974
2899
  currentX = this.getMaxWidth(panelModel) - this.elementWidth;
2975
2900
  this.mOffX = dX - currentX;
2976
2901
  }
2977
- else if (this.elementX + this.elementWidth + dX > this.maxLeft) {
2978
- currentX = this.maxLeft - this.elementX - this.elementWidth;
2979
- this.mOffX = dX - currentX;
2980
- }
2981
2902
  this.elementWidth += currentX;
2982
2903
  }
2983
2904
  el.style.top = this.elementY + 'px';
@@ -3217,7 +3138,6 @@ var DashboardLayout = /** @__PURE__ @class */ (function (_super) {
3217
3138
  var row = parseInt(ele.getAttribute('data-row'), 10);
3218
3139
  var col = parseInt(ele.getAttribute('data-col'), 10);
3219
3140
  this.panelPropertyChange(cellInstance, { row: row, col: col });
3220
- this.updatePanelLayout(ele, cellInstance);
3221
3141
  this.setHeightAndWidth(ele, this.getCellInstance(ele.id));
3222
3142
  this.setPanelPosition(ele, row, col);
3223
3143
  this.updateRowHeight();
@@ -4413,7 +4333,6 @@ var DashboardLayout = /** @__PURE__ @class */ (function (_super) {
4413
4333
  _this.onDragStart(args);
4414
4334
  }
4415
4335
  });
4416
- this.dragobj.enableScrollHandler = true;
4417
4336
  if (this.dragCollection.indexOf(this.dragobj) === -1) {
4418
4337
  this.dragCollection.push(this.dragobj);
4419
4338
  }