@syncfusion/ej2-layouts 19.4.38 → 19.4.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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 19.4.38
3
+ * version : 19.4.43
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. 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@19.6.1",
3
+ "_id": "@syncfusion/ej2-layouts@19.4.38",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-yZstbGKh0iOM7GI35dTDE5aGS9VbAjQ6txU9DECtFqvti2S3REdvhp4xNv2+pPEC7d+yYFvB3/wkoNBvhkHwNw==",
5
+ "_integrity": "sha512-8+kJiuIqBU/0ZllHsLHyTpBV+Hq12IiO8de+cU9iXhfqOWuMUdUF7ZB8LRodSn7gPUZYz2+nQ297BBTKr2JnCQ==",
6
6
  "_location": "/@syncfusion/ej2-layouts",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -27,8 +27,8 @@
27
27
  "/@syncfusion/ej2-react-layouts",
28
28
  "/@syncfusion/ej2-vue-layouts"
29
29
  ],
30
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-layouts/-/ej2-layouts-19.6.1.tgz",
31
- "_shasum": "55c4a2968ce826fb4c44a1761da70d1813dfd349",
30
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-layouts/-/ej2-layouts-19.4.38.tgz",
31
+ "_shasum": "5ff4a9505771ce3e18e84035b49d6dc14d5dc737",
32
32
  "_spec": "@syncfusion/ej2-layouts@*",
33
33
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
34
34
  "author": {
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "bundleDependencies": false,
38
38
  "dependencies": {
39
- "@syncfusion/ej2-base": "~19.4.38"
39
+ "@syncfusion/ej2-base": "~19.4.42"
40
40
  },
41
41
  "deprecated": false,
42
42
  "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.",
@@ -76,6 +76,6 @@
76
76
  "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/layouts"
77
77
  },
78
78
  "typings": "index.d.ts",
79
- "version": "19.4.38",
79
+ "version": "19.4.43",
80
80
  "sideEffects": false
81
81
  }
@@ -321,6 +321,7 @@ export declare class Splitter extends Component<HTMLElement> {
321
321
  */
322
322
  onPropertyChanged(newProp: SplitterModel, oldProp: SplitterModel): void;
323
323
  private updatePaneSize;
324
+ protected initializeValues(): void;
324
325
  protected preRender(): void;
325
326
  protected getPersistData(): string;
326
327
  /**
@@ -118,25 +118,7 @@ var Splitter = /** @class */ (function (_super) {
118
118
  * @param element - Specifies the element that is rendered as an Splitter.
119
119
  */
120
120
  function Splitter(options, element) {
121
- var _this = _super.call(this, options, element) || this;
122
- _this.allPanes = [];
123
- _this.paneOrder = [];
124
- _this.separatorOrder = [];
125
- _this.allBars = [];
126
- _this.previousCoordinates = {};
127
- _this.currentCoordinates = {};
128
- _this.updatePrePaneInPercentage = false;
129
- _this.updateNextPaneInPercentage = false;
130
- _this.panesDimensions = [];
131
- _this.border = 0;
132
- _this.validDataAttributes = ['data-size', 'data-min', 'data-max', 'data-collapsible',
133
- 'data-resizable', 'data-content', 'data-collapsed'];
134
- _this.validElementAttributes = ['data-orientation', 'data-width', 'data-height'];
135
- _this.iconsDelay = 300;
136
- _this.templateElement = [];
137
- _this.collapseFlag = false;
138
- _this.expandFlag = true;
139
- return _this;
121
+ return _super.call(this, options, element) || this;
140
122
  }
141
123
  /**
142
124
  * Gets called when the model property changes.The data that describes the old and new values of the property that changed.
@@ -259,7 +241,27 @@ var Splitter = /** @class */ (function (_super) {
259
241
  }
260
242
  this.allPanes[index].classList.add(STATIC_PANE);
261
243
  };
244
+ Splitter.prototype.initializeValues = function () {
245
+ this.allPanes = [];
246
+ this.paneOrder = [];
247
+ this.separatorOrder = [];
248
+ this.allBars = [];
249
+ this.previousCoordinates = {};
250
+ this.currentCoordinates = {};
251
+ this.updatePrePaneInPercentage = false;
252
+ this.updateNextPaneInPercentage = false;
253
+ this.panesDimensions = [];
254
+ this.border = 0;
255
+ this.validDataAttributes = ['data-size', 'data-min', 'data-max', 'data-collapsible',
256
+ 'data-resizable', 'data-content', 'data-collapsed'];
257
+ this.validElementAttributes = ['data-orientation', 'data-width', 'data-height'];
258
+ this.iconsDelay = 300;
259
+ this.templateElement = [];
260
+ this.collapseFlag = false;
261
+ this.expandFlag = true;
262
+ };
262
263
  Splitter.prototype.preRender = function () {
264
+ this.initializeValues();
263
265
  this.onReportWindowSize = this.reportWindowSize.bind(this);
264
266
  this.onMouseMoveHandler = this.onMouseMove.bind(this);
265
267
  this.onMouseUpHandler = this.onMouseUp.bind(this);