@syncfusion/ej2-layouts 24.1.41 → 24.2.4

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 24.1.41
3
+ * version : 24.2.4
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-layouts@*",
3
- "_id": "@syncfusion/ej2-layouts@21.4.6",
3
+ "_id": "@syncfusion/ej2-layouts@24.2.3",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-NDKk1Omo3lx85XdGk/OMhaosrLR7842ntfWhz61KXq/zoGX3Ip+o5B1bJVHd+3YYh7MQOvyQ5HNs7wa2rw/pEA==",
5
+ "_integrity": "sha512-UiNFFB7a4SAnTs6FQWJ9HaACYmQgNU7nuL52HrO+JrqIo7yl5AHJlPJeOuwNj/DYNCSiWP9VoRyECLZrG1w/wA==",
6
6
  "_location": "/@syncfusion/ej2-layouts",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -26,8 +26,8 @@
26
26
  "/@syncfusion/ej2-react-layouts",
27
27
  "/@syncfusion/ej2-vue-layouts"
28
28
  ],
29
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-layouts/-/ej2-layouts-21.4.6.tgz",
30
- "_shasum": "348ac7e4c964a3b6dc132a71b534154f917e3d75",
29
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-layouts/-/ej2-layouts-24.2.3.tgz",
30
+ "_shasum": "c14d25a73af65c362119f62ba6ea28c1fa7fdb66",
31
31
  "_spec": "@syncfusion/ej2-layouts@*",
32
32
  "_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included",
33
33
  "author": {
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
- "@syncfusion/ej2-base": "~24.1.41"
38
+ "@syncfusion/ej2-base": "~24.2.3"
39
39
  },
40
40
  "deprecated": false,
41
41
  "description": "A package of Essential JS 2 layout pure CSS components such as card and avatar. The card is used as small container to show content in specific structure, whereas the avatars are icons, initials or figures representing particular person.",
@@ -75,7 +75,7 @@
75
75
  "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/layouts"
76
76
  },
77
77
  "typings": "index.d.ts",
78
- "version": "24.1.41",
78
+ "version": "24.2.4",
79
79
  "sideEffects": false,
80
80
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
81
81
  }
@@ -911,10 +911,14 @@ var DashboardLayout = /** @class */ (function (_super) {
911
911
  this.panelResponsiveUpdate();
912
912
  this.updateGridLines();
913
913
  }
914
- this.removeResizeClasses(this.panelCollection);
915
- this.setClasses(this.panelCollection);
914
+ if (!isNullOrUndefined(this.panelCollection)) {
915
+ this.removeResizeClasses(this.panelCollection);
916
+ this.setClasses(this.panelCollection);
917
+ }
916
918
  this.resizeEvents();
917
- this.checkDragging(this.dragCollection);
919
+ if (!isNullOrUndefined(this.panelCollection)) {
920
+ this.checkDragging(this.dragCollection);
921
+ }
918
922
  };
919
923
  DashboardLayout.prototype.updateGridLines = function () {
920
924
  if (this.element.querySelector('.e-dashboard-gridline-table')) {
@@ -986,9 +990,13 @@ var DashboardLayout = /** @class */ (function (_super) {
986
990
  this.panelPropertyChange(updatedPanel[i], { row: i, col: 0 });
987
991
  this.setPanelPosition(panelElement, updatedPanel[i].row, updatedPanel[i].col);
988
992
  this.panelsSizeY = this.panelsSizeY + updatedPanel[i].sizeY;
989
- this.setClasses(this.panelCollection);
990
- this.checkDragging(this.dragCollection);
991
- this.removeResizeClasses(this.panelCollection);
993
+ if (!isNullOrUndefined(this.panelCollection)) {
994
+ this.setClasses(this.panelCollection);
995
+ this.removeResizeClasses(this.panelCollection);
996
+ }
997
+ if (!isNullOrUndefined(this.dragCollection)) {
998
+ this.checkDragging(this.dragCollection);
999
+ }
992
1000
  }
993
1001
  }
994
1002
  this.updateRowHeight();