@syncfusion/ej2-layouts 19.2.60 → 19.3.43

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 +8 -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 +72 -151
  6. package/dist/es6/ej2-layouts.es2015.js.map +1 -1
  7. package/dist/es6/ej2-layouts.es5.js +72 -152
  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 -1
  18. package/src/splitter/splitter-model.d.ts +1 -1
  19. package/src/splitter/splitter.d.ts +1 -1
  20. package/src/splitter/splitter.js +72 -150
  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 __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
4
4
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -239,11 +239,9 @@ let Splitter = class Splitter extends Component {
239
239
  this.onReportWindowSize = this.reportWindowSize.bind(this);
240
240
  this.wrapper = this.element.cloneNode(true);
241
241
  this.wrapperParent = this.element.parentElement;
242
- if (!this.checkBlazor()) {
243
- removeClass([this.wrapper], ['e-control', 'e-lib', ROOT]);
244
- const orientation = this.orientation === 'Horizontal' ? HORIZONTAL_PANE : VERTICAL_PANE;
245
- addClass([this.element], orientation);
246
- }
242
+ removeClass([this.wrapper], ['e-control', 'e-lib', ROOT]);
243
+ const orientation = this.orientation === 'Horizontal' ? HORIZONTAL_PANE : VERTICAL_PANE;
244
+ addClass([this.element], orientation);
247
245
  const name = Browser.info.name;
248
246
  const css = (name === 'msie') ? 'e-ie' : '';
249
247
  this.setCssClass(this.element, css);
@@ -270,19 +268,15 @@ let Splitter = class Splitter extends Component {
270
268
  * @private
271
269
  */
272
270
  render() {
273
- if (!this.checkBlazor()) {
274
- this.checkDataAttributes();
275
- this.setCssClass(this.element, this.cssClass);
276
- this.isEnabled(this.enabled);
277
- this.setDimension(this.getHeight(this.element), this.getWidth(this.element));
278
- }
271
+ this.checkDataAttributes();
272
+ this.setCssClass(this.element, this.cssClass);
273
+ this.isEnabled(this.enabled);
274
+ this.setDimension(this.getHeight(this.element), this.getWidth(this.element));
279
275
  this.createSplitPane(this.element);
280
276
  this.addSeparator(this.element);
281
277
  this.getPanesDimensions();
282
278
  this.setPaneSettings();
283
- if (!this.checkBlazor()) {
284
- this.setRTL(this.enableRtl);
285
- }
279
+ this.setRTL(this.enableRtl);
286
280
  if (this.enableReversePanes) {
287
281
  this.setReversePane();
288
282
  }
@@ -310,11 +304,15 @@ let Splitter = class Splitter extends Component {
310
304
  this.totalPercent = previousFlexBasis + nextFlexBasis;
311
305
  this.totalWidth = this.convertPercentageToPixel(this.totalPercent + '%');
312
306
  if (e.type === 'keydown' && (!isNullOrUndefined(e.keyCode))) {
313
- if ((e.keyCode === 39 || (e.keyCode === 40)) && nextPaneSize > 0) {
307
+ if ((e.keyCode === 39 || (e.keyCode === 40)) && nextPaneSize > 0 &&
308
+ (this.getMinInPixel(this.paneSettings[this.nextPaneIndex].min) <
309
+ this.convertPercentageToPixel((nextFlexBasis - 1) + '%'))) {
314
310
  this.previousPane.style.flexBasis = (previousFlexBasis + 1) + '%';
315
311
  this.nextPane.style.flexBasis = (nextFlexBasis - 1) + '%';
316
312
  }
317
- else if ((e.keyCode === 37 || (e.keyCode === 38)) && prePaneSize > 0) {
313
+ else if ((e.keyCode === 37 || (e.keyCode === 38)) && prePaneSize > 0 &&
314
+ (this.getMinInPixel(this.paneSettings[this.prevPaneIndex].min) <
315
+ this.convertPercentageToPixel((previousFlexBasis - 1) + '%'))) {
318
316
  this.previousPane.style.flexBasis = (previousFlexBasis - 1) + '%';
319
317
  this.nextPane.style.flexBasis = (nextFlexBasis + 1) + '%';
320
318
  }
@@ -324,13 +322,15 @@ let Splitter = class Splitter extends Component {
324
322
  this.totalWidth = (this.orientation === 'Horizontal') ? this.previousPane.offsetWidth + this.nextPane.offsetWidth :
325
323
  this.previousPane.offsetHeight + this.nextPane.offsetHeight;
326
324
  if (e.type === 'keydown' && (!isNullOrUndefined(e.keyCode))) {
327
- if ((e.keyCode === 39 || (e.keyCode === 40)) && nextPaneSize > 0) {
325
+ if ((e.keyCode === 39 || (e.keyCode === 40)) && nextPaneSize > 0 &&
326
+ (this.getMinInPixel(this.paneSettings[this.nextPaneIndex].min) < (nextPaneSize + splitBarSize))) {
328
327
  this.addStaticPaneClass();
329
328
  this.previousPane.style.flexBasis = (prePaneSize + splitBarSize) + 'px';
330
329
  this.nextPane.style.flexBasis = (nextPaneSize < splitBarSize) ? '0px' :
331
330
  (nextPaneSize - splitBarSize) + 'px';
332
331
  }
333
- else if ((e.keyCode === 37 || (e.keyCode === 38)) && prePaneSize > 0) {
332
+ else if ((e.keyCode === 37 || (e.keyCode === 38)) && prePaneSize > 0 &&
333
+ (this.getMinInPixel(this.paneSettings[this.prevPaneIndex].min) < (prePaneSize - splitBarSize))) {
334
334
  this.addStaticPaneClass();
335
335
  this.previousPane.style.flexBasis = (prePaneSize < splitBarSize) ? '0px' :
336
336
  (prePaneSize - splitBarSize) + 'px';
@@ -351,11 +351,12 @@ let Splitter = class Splitter extends Component {
351
351
  && (!isPrevpaneExpanded && !isNextpaneCollapsed && !isPrevpaneCollapsed || (isPrevpaneExpanded) && !isNextpaneCollapsed) &&
352
352
  document.activeElement.classList.contains(SPLIT_BAR) && (this.paneSettings[index].resizable &&
353
353
  this.paneSettings[index + 1].resizable)) {
354
+ event.preventDefault();
354
355
  this.checkPaneSize(event);
355
356
  this.triggerResizing(event);
356
357
  }
357
358
  else if (event.keyCode === 13 && this.paneSettings[index].collapsible &&
358
- document.activeElement.classList.contains(SPLIT_BAR)) {
359
+ document.activeElement.classList.contains(SPLIT_BAR) && this.currentSeparator.classList.contains(SPLIT_BAR_ACTIVE)) {
359
360
  if (!this.previousPane.classList.contains(COLLAPSE_PANE)) {
360
361
  this.collapse(index);
361
362
  addClass([this.currentSeparator], SPLIT_BAR_ACTIVE);
@@ -367,6 +368,18 @@ let Splitter = class Splitter extends Component {
367
368
  }
368
369
  }
369
370
  }
371
+ getMinInPixel(minValue) {
372
+ let min;
373
+ if (isNullOrUndefined(minValue)) {
374
+ return 0;
375
+ }
376
+ let paneMinRange = this.convertPixelToNumber(minValue.toString());
377
+ if (minValue.indexOf('%') > 0) {
378
+ paneMinRange = this.convertPercentageToPixel(minValue);
379
+ }
380
+ min = this.convertPixelToNumber((paneMinRange).toString());
381
+ return min;
382
+ }
370
383
  /**
371
384
  * @param {string} value - specifies the string value
372
385
  * @returns {string} returns the string
@@ -440,9 +453,6 @@ let Splitter = class Splitter extends Component {
440
453
  });
441
454
  this.restoreElem();
442
455
  }
443
- checkBlazor() {
444
- return isBlazor() && this.isServerRendered;
445
- }
446
456
  setPaneSettings() {
447
457
  const childCount = this.allPanes.length;
448
458
  const paneCollection = [];
@@ -844,48 +854,16 @@ let Splitter = class Splitter extends Component {
844
854
  const childCount = this.allPanes.length;
845
855
  const clonedEle = target.children;
846
856
  let separator;
847
- let proxy;
848
- if (this.checkBlazor()) {
849
- for (let j = 0; j < this.element.children.length; j++) {
850
- if (this.element.children[j].classList.contains(SPLIT_BAR)) {
851
- this.allBars.push(this.element.children[j]);
852
- }
853
- }
854
- }
855
857
  for (let i = 0; i < childCount; i++) {
856
858
  if (i < childCount - 1) {
857
- if (!this.checkBlazor()) {
858
- separator = this.createSeparator(i);
859
- setStyleAttribute(separator, { 'order': (i * 2) + 1 });
860
- this.separatorOrder.push((i * 2) + 1);
861
- clonedEle[i].parentNode.appendChild(separator);
862
- this.currentSeparator = separator;
863
- separator.setAttribute('role', 'separator');
864
- separator.setAttribute('aria-orientation', this.orientation.toLowerCase());
865
- }
866
- if (this.checkBlazor()) {
867
- proxy = this;
868
- separator = this.allBars[i];
869
- this.updateIconClass();
870
- }
871
- if (!this.checkBlazor()) {
872
- this.wireClickEvents();
873
- }
874
- if (this.checkBlazor() && !isNullOrUndefined(separator)) {
875
- this.currentSeparator = separator;
876
- this.addMouseActions(separator);
877
- this.wireClickEvents();
878
- separator.addEventListener('focus', () => {
879
- if (document.activeElement.classList.contains('e-split-bar')) {
880
- proxy.currentSeparator = document.activeElement;
881
- proxy.currentSeparator.classList.add(SPLIT_BAR_ACTIVE);
882
- }
883
- this.getPaneDetails();
884
- });
885
- separator.addEventListener('blur', () => {
886
- proxy.currentSeparator.classList.remove(SPLIT_BAR_ACTIVE);
887
- });
888
- }
859
+ separator = this.createSeparator(i);
860
+ setStyleAttribute(separator, { 'order': (i * 2) + 1 });
861
+ this.separatorOrder.push((i * 2) + 1);
862
+ clonedEle[i].parentNode.appendChild(separator);
863
+ this.currentSeparator = separator;
864
+ separator.setAttribute('role', 'separator');
865
+ separator.setAttribute('aria-orientation', this.orientation.toLowerCase());
866
+ this.wireClickEvents();
889
867
  if (!isNullOrUndefined(separator)) {
890
868
  if (this.isResizable()) {
891
869
  EventHandler.add(separator, 'mousedown', this.onMouseDown, this);
@@ -1340,13 +1318,7 @@ let Splitter = class Splitter extends Component {
1340
1318
  }
1341
1319
  }
1342
1320
  beforeAction(e) {
1343
- const eventArgs = isBlazor() ? {
1344
- element: this.element,
1345
- event: e,
1346
- index: [this.prevPaneIndex, this.nextPaneIndex],
1347
- separator: this.currentSeparator,
1348
- cancel: false
1349
- } : {
1321
+ const eventArgs = {
1350
1322
  element: this.element,
1351
1323
  event: e,
1352
1324
  pane: [this.previousPane, this.nextPane],
@@ -1445,12 +1417,7 @@ let Splitter = class Splitter extends Component {
1445
1417
  }
1446
1418
  }
1447
1419
  afterAction(e) {
1448
- const eventArgs = isBlazor() ? {
1449
- element: this.element,
1450
- event: e,
1451
- index: [this.prevPaneIndex, this.nextPaneIndex],
1452
- separator: this.currentSeparator
1453
- } : {
1420
+ const eventArgs = {
1454
1421
  element: this.element,
1455
1422
  event: e,
1456
1423
  pane: [this.previousPane, this.nextPane],
@@ -1463,10 +1430,6 @@ let Splitter = class Splitter extends Component {
1463
1430
  this.currentBarIndex = this.getOrderIndex(parseInt(e.target.parentElement.style.order, 10), 'splitbar');
1464
1431
  }
1465
1432
  getSeparatorIndex(target) {
1466
- const separator = this.orientation === 'Horizontal' ? SPLIT_H_BAR : SPLIT_V_BAR;
1467
- if (this.checkBlazor() && this.allBars.length < 1) {
1468
- this.allBars = selectAll('.' + separator, this.element);
1469
- }
1470
1433
  let array = [].slice.call(this.allBars);
1471
1434
  array = this.enableReversePanes ? array.reverse() : array;
1472
1435
  return array.indexOf(target);
@@ -1496,13 +1459,7 @@ let Splitter = class Splitter extends Component {
1496
1459
  this.getPaneDetails();
1497
1460
  }
1498
1461
  triggerResizing(e) {
1499
- const eventArgs = isBlazor() ? {
1500
- element: this.element,
1501
- event: e,
1502
- index: [this.prevPaneIndex, this.nextPaneIndex],
1503
- paneSize: [this.prePaneDimenson, this.nextPaneDimension],
1504
- separator: this.currentSeparator
1505
- } : {
1462
+ const eventArgs = {
1506
1463
  element: this.element,
1507
1464
  event: e,
1508
1465
  pane: [this.previousPane, this.nextPane],
@@ -1522,13 +1479,7 @@ let Splitter = class Splitter extends Component {
1522
1479
  addClass([this.currentSeparator], SPLIT_BAR_ACTIVE);
1523
1480
  this.updateCursorPosition(e, 'previous');
1524
1481
  this.getPaneDetails();
1525
- const eventArgs = isBlazor() ? {
1526
- element: this.element,
1527
- event: e,
1528
- index: [this.getPreviousPaneIndex(), this.getNextPaneIndex()],
1529
- separator: this.currentSeparator,
1530
- cancel: false
1531
- } : {
1482
+ const eventArgs = {
1532
1483
  element: this.element,
1533
1484
  event: e,
1534
1485
  pane: [this.previousPane, this.nextPane],
@@ -1913,13 +1864,7 @@ let Splitter = class Splitter extends Component {
1913
1864
  onMouseUp(e) {
1914
1865
  removeClass([this.currentSeparator], SPLIT_BAR_ACTIVE);
1915
1866
  this.unwireResizeEvents();
1916
- const eventArgs = isBlazor() ? {
1917
- event: e,
1918
- element: this.element,
1919
- index: [this.prevPaneIndex, this.nextPaneIndex],
1920
- separator: this.currentSeparator,
1921
- paneSize: [this.prePaneDimenson, this.nextPaneDimension]
1922
- } : {
1867
+ const eventArgs = {
1923
1868
  event: e,
1924
1869
  element: this.element,
1925
1870
  pane: [this.previousPane, this.nextPane],
@@ -2021,12 +1966,7 @@ let Splitter = class Splitter extends Component {
2021
1966
  }
2022
1967
  let templateFUN;
2023
1968
  if (!isNullOrUndefined(templateFn)) {
2024
- if (isBlazor() && !this.isStringTemplate) {
2025
- templateFUN = templateFn({}, this, prop, this.element.id + 'content' + this.allPanes.length.toString(), this.isStringTemplate);
2026
- }
2027
- else {
2028
- templateFUN = templateFn({}, this, prop, this.element.id + 'content' + this.allPanes.length.toString(), true);
2029
- }
1969
+ templateFUN = templateFn({}, this, prop, this.element.id + 'content' + this.allPanes.length.toString(), true);
2030
1970
  }
2031
1971
  if (!isNullOrUndefined(templateFn) && templateFUN && templateFUN.length > 0) {
2032
1972
  [].slice.call(templateFUN).forEach((el) => {
@@ -2040,13 +1980,11 @@ let Splitter = class Splitter extends Component {
2040
1980
  }
2041
1981
  createSplitPane(target) {
2042
1982
  let childCount = target.children.length;
2043
- if (!this.checkBlazor()) {
2044
- for (let i = 0; i < this.paneSettings.length; i++) {
2045
- if (childCount < this.paneSettings.length) {
2046
- const childElement = this.createElement('div');
2047
- this.element.appendChild(childElement);
2048
- childCount = childCount + 1;
2049
- }
1983
+ for (let i = 0; i < this.paneSettings.length; i++) {
1984
+ if (childCount < this.paneSettings.length) {
1985
+ const childElement = this.createElement('div');
1986
+ this.element.appendChild(childElement);
1987
+ childCount = childCount + 1;
2050
1988
  }
2051
1989
  }
2052
1990
  childCount = target.children.length;
@@ -2056,30 +1994,23 @@ let Splitter = class Splitter extends Component {
2056
1994
  for (let i = 0; i < childCount; i++) {
2057
1995
  // To accept only div and span element as pane
2058
1996
  if (child[i].nodeName === 'DIV' || child[i].nodeName === 'SPAN') {
2059
- if (this.checkBlazor() && child[i].classList.contains(PANE)) {
2060
- this.allPanes.push(child[i]);
1997
+ this.allPanes.push(child[i]);
1998
+ if (this.orientation === 'Horizontal') {
1999
+ addClass([child[i]], [PANE, SPLIT_H_PANE, SCROLL_PANE]);
2000
+ this.panesDimension(i, child);
2061
2001
  }
2062
- else if (!this.checkBlazor()) {
2063
- this.allPanes.push(child[i]);
2002
+ else {
2003
+ addClass([child[i]], [PANE, SPLIT_V_PANE, SCROLL_PANE]);
2004
+ this.panesDimension(i, child);
2064
2005
  }
2065
- if (!this.checkBlazor()) {
2066
- if (this.orientation === 'Horizontal') {
2067
- addClass([child[i]], [PANE, SPLIT_H_PANE, SCROLL_PANE]);
2068
- this.panesDimension(i, child);
2069
- }
2070
- else {
2071
- addClass([child[i]], [PANE, SPLIT_V_PANE, SCROLL_PANE]);
2072
- this.panesDimension(i, child);
2073
- }
2074
- if (!isNullOrUndefined(this.paneSettings[i]) && !isNullOrUndefined(this.paneSettings[i].content)) {
2075
- this.setTemplate(this.paneSettings[i].content, child[i]);
2076
- }
2077
- if (!isNullOrUndefined(this.paneSettings[i]) && this.paneSettings[i].cssClass) {
2078
- this.setCssClass(child[i], this.paneSettings[i].cssClass);
2079
- }
2080
- if (!isNullOrUndefined(this.paneSettings[i])) {
2081
- this.paneCollapsible(child[i], i);
2082
- }
2006
+ if (!isNullOrUndefined(this.paneSettings[i]) && !isNullOrUndefined(this.paneSettings[i].content)) {
2007
+ this.setTemplate(this.paneSettings[i].content, child[i]);
2008
+ }
2009
+ if (!isNullOrUndefined(this.paneSettings[i]) && this.paneSettings[i].cssClass) {
2010
+ this.setCssClass(child[i], this.paneSettings[i].cssClass);
2011
+ }
2012
+ if (!isNullOrUndefined(this.paneSettings[i])) {
2013
+ this.paneCollapsible(child[i], i);
2083
2014
  }
2084
2015
  }
2085
2016
  }
@@ -2112,24 +2043,15 @@ let Splitter = class Splitter extends Component {
2112
2043
  */
2113
2044
  destroy() {
2114
2045
  if (!this.isDestroyed) {
2115
- if (!this.checkBlazor()) {
2116
- super.destroy();
2117
- }
2046
+ super.destroy();
2118
2047
  EventHandler.remove(document, 'touchstart click', this.onDocumentClick);
2048
+ this.element.ownerDocument.defaultView.removeEventListener('resize', this.onReportWindowSize, true);
2119
2049
  while (this.element.attributes.length > 0) {
2120
2050
  this.element.removeAttribute(this.element.attributes[0].name);
2121
2051
  }
2122
- if (this.checkBlazor()) {
2123
- const splitNodes = this.element.children;
2124
- for (let i = splitNodes.length - 1; i >= 0; i--) {
2125
- detach(splitNodes[i]);
2126
- }
2127
- }
2128
- else {
2129
- this.element.innerHTML = this.wrapper.innerHTML;
2130
- for (let i = 0; i < this.wrapper.attributes.length; i++) {
2131
- this.element.setAttribute(this.wrapper.attributes[i].name, this.wrapper.attributes[i].value);
2132
- }
2052
+ this.element.innerHTML = this.wrapper.innerHTML;
2053
+ for (let i = 0; i < this.wrapper.attributes.length; i++) {
2054
+ this.element.setAttribute(this.wrapper.attributes[i].name, this.wrapper.attributes[i].value);
2133
2055
  }
2134
2056
  if (this.refreshing) {
2135
2057
  addClass([this.element], ['e-control', 'e-lib', ROOT]);
@@ -4340,7 +4262,6 @@ let DashboardLayout = class DashboardLayout extends Component {
4340
4262
  this.onDragStart(args);
4341
4263
  }
4342
4264
  });
4343
- this.dragobj.enableScrollHandler = true;
4344
4265
  if (this.dragCollection.indexOf(this.dragobj) === -1) {
4345
4266
  this.dragCollection.push(this.dragobj);
4346
4267
  }