@syncfusion/ej2-layouts 26.2.5 → 26.2.10

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 : 26.2.5
3
+ * version : 26.2.10
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@26.1.38",
3
+ "_id": "@syncfusion/ej2-layouts@26.2.5",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-C7KHBTivwwIApZzslXmS4otpLMml/3S3dTw9LHl+knija3PuaibL7C4n/UsU0tw9wzITN2F3H2sHBhIHyNYYig==",
5
+ "_integrity": "sha512-AFr8E+b5BDE2+WYyTjs+0p+tLEkdfWNNb03jrvNdSKLpiA5BrEtkfi0OM7aEeQBvxDmzF3Jc+gMhz8KCynAbaA==",
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-26.1.38.tgz",
30
- "_shasum": "4c3dfcffeb657d31e07dfb79102b5f9acbc08837",
29
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-layouts/-/ej2-layouts-26.2.5.tgz",
30
+ "_shasum": "55079d626d6b05e81892f9a9930f1dc103d79f6b",
31
31
  "_spec": "@syncfusion/ej2-layouts@*",
32
32
  "_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
33
33
  "author": {
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
- "@syncfusion/ej2-base": "~26.2.5"
38
+ "@syncfusion/ej2-base": "~26.2.10"
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": "26.2.5",
78
+ "version": "26.2.10",
79
79
  "sideEffects": false,
80
80
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
81
81
  }
@@ -463,6 +463,13 @@ export declare class DashboardLayout extends Component<HTMLElement> implements I
463
463
  protected enableDraggingContent(collections: HTMLElement[]): void;
464
464
  protected updatePanels(): void;
465
465
  protected updateDragArea(): void;
466
+ /**
467
+ * Method to update the draggable handle when draggable panel elements are bound dynamically.
468
+ *
469
+ * @returns void
470
+ *
471
+ */
472
+ refreshDraggableHandle(): void;
466
473
  protected updateRowsHeight(row: number, sizeY: number, addRows: number): void;
467
474
  private onDraggingStart;
468
475
  private cloneModels;
@@ -2145,6 +2145,21 @@ var DashboardLayout = /** @class */ (function (_super) {
2145
2145
  dragobj.setDragArea();
2146
2146
  });
2147
2147
  };
2148
+ /**
2149
+ * Method to update the draggable handle when draggable panel elements are bound dynamically.
2150
+ *
2151
+ * @returns void
2152
+ *
2153
+ */
2154
+ DashboardLayout.prototype.refreshDraggableHandle = function () {
2155
+ if (this.dragCollection && this.dragCollection.length > 0) {
2156
+ for (var i = 0; i < this.dragCollection.length; i++) {
2157
+ this.dragCollection[i].destroy();
2158
+ EventHandler.clearEvents(this.dragCollection[i].element);
2159
+ }
2160
+ this.ensureDrag();
2161
+ }
2162
+ };
2148
2163
  DashboardLayout.prototype.updateRowsHeight = function (row, sizeY, addRows) {
2149
2164
  if (row + sizeY >= this.rows) {
2150
2165
  this.rows = this.rows + addRows;
@@ -221,6 +221,7 @@ var Splitter = /** @class */ (function (_super) {
221
221
  }
222
222
  }
223
223
  else {
224
+ this.clearTemplate();
224
225
  this.destroyPaneSettings();
225
226
  this.allBars = [];
226
227
  this.allPanes = [];