@syncfusion/ej2-layouts 27.1.50 → 27.1.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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 27.1.50
3
+ * version : 27.1.53
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@27.1.48",
3
+ "_id": "@syncfusion/ej2-layouts@27.1.51",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-OZOLOrTtwFaB3w+ERlk2EeQDHiPKu/WRulM4Day8YVKMx40/dR5FWu9B4sXdJwu+H8b9uTbhkPyZifKC/FYjaQ==",
5
+ "_integrity": "sha512-VIoG1eCHlpk8ytJQ431Hah/AmULbUBpi0zz2JgrhaOc1nqp25ThWWfIlLaREq4GrOMXO8f+6rCWXFMlCGtT7bA==",
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.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-layouts/-/ej2-layouts-27.1.48.tgz",
30
- "_shasum": "d8880596f16621ee7cc6e1cf0bf7b04b7ffa14c8",
29
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-layouts/-/ej2-layouts-27.1.51.tgz",
30
+ "_shasum": "d48c00bc570583c6032f5e8a0a811a3423b00b7e",
31
31
  "_spec": "@syncfusion/ej2-layouts@*",
32
32
  "_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
33
33
  "author": {
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
- "@syncfusion/ej2-base": "~27.1.50"
38
+ "@syncfusion/ej2-base": "~27.1.53"
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": "27.1.50",
78
+ "version": "27.1.53",
79
79
  "sideEffects": false,
80
80
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
81
81
  }
@@ -2389,9 +2389,12 @@ var DashboardLayout = /** @class */ (function (_super) {
2389
2389
  this.checkCollision = [];
2390
2390
  }
2391
2391
  this.setPanelPosition(cell, panelProp.row, panelProp.col);
2392
+ this.addPanelCalled = false;
2392
2393
  this.updatePanelLayout(cell, panelProp);
2393
2394
  }
2394
- this.addPanelCalled = false;
2395
+ if (this.addPanelCalled) {
2396
+ this.addPanelCalled = false;
2397
+ }
2395
2398
  if (this.allowDragging &&
2396
2399
  this.mediaQuery ? !(this.checkMediaQuery()) : false) {
2397
2400
  this.enableDraggingContent([document.getElementById(panelProp.id)]);
@@ -233,10 +233,10 @@ var Timeline = /** @class */ (function (_super) {
233
233
  for (var index = 0; index < this.items.length; index++) {
234
234
  var item = this.items[parseInt(index.toString(), 10)];
235
235
  if (!haveContent) {
236
- haveContent = item.content.length > 0;
236
+ (haveContent = item.content.length > 0 || !isNullOrUndefined(item.content));
237
237
  }
238
238
  if (!haveOppContent) {
239
- haveOppContent = item.oppositeContent.length > 0;
239
+ (haveOppContent = item.oppositeContent.length > 0 || !isNullOrUndefined(item.content));
240
240
  }
241
241
  }
242
242
  this.element.classList.remove('e-content-only', 'e-opposite-content-only');
@@ -27,7 +27,7 @@
27
27
  line-height: $avatar-base-line-height;
28
28
  }
29
29
 
30
- @if $skin-name == 'fluent2' {
30
+ @if ($skin-name == 'fluent2') {
31
31
  &:has(:not(img)) {
32
32
  border: 1px solid $avatar-border;
33
33
  }