@syncfusion/ej2-layouts 26.1.35 → 26.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.
- package/dist/ej2-layouts.min.js +2 -2
- package/dist/ej2-layouts.umd.min.js +2 -2
- package/dist/ej2-layouts.umd.min.js.map +1 -1
- package/dist/es6/ej2-layouts.es2015.js +14 -7
- package/dist/es6/ej2-layouts.es2015.js.map +1 -1
- package/dist/es6/ej2-layouts.es5.js +14 -7
- package/dist/es6/ej2-layouts.es5.js.map +1 -1
- package/dist/global/ej2-layouts.min.js +2 -2
- package/dist/global/ej2-layouts.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/hotfix/26.1.35_Vol2.txt +1 -0
- package/package.json +6 -6
- package/src/dashboard-layout/dashboard-layout.d.ts +1 -1
- package/src/splitter/splitter.js +1 -0
- package/src/timeline/timeline.js +13 -7
- package/styles/avatar/_fluent2-definition.scss +1 -2
- package/styles/avatar/_layout.scss +6 -0
- package/styles/avatar/fluent2.css +48 -45
- package/styles/card/_fluent2-definition.scss +4 -4
- package/styles/card/_layout.scss +13 -1
- package/styles/card/fluent2.css +54 -49
- package/styles/dashboard-layout/fluent2.css +45 -45
- package/styles/fluent2.css +57 -49
- package/styles/splitter/fluent2.css +45 -45
- package/styles/timeline/fluent2.css +45 -45
@@ -2212,6 +2212,7 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
|
|
2212
2212
|
if (!this.isDestroyed) {
|
2213
2213
|
_super.prototype.destroy.call(this);
|
2214
2214
|
EventHandler.remove(document, 'touchstart click', this.onDocumentClick);
|
2215
|
+
EventHandler.remove(this.element, 'keydown', this.onMove);
|
2215
2216
|
this.element.ownerDocument.defaultView.removeEventListener('resize', this.onReportWindowSize, true);
|
2216
2217
|
while (this.element.attributes.length > 0) {
|
2217
2218
|
this.element.removeAttribute(this.element.attributes[0].name);
|
@@ -5777,7 +5778,9 @@ var Timeline = /** @__PURE__ @class */ (function (_super) {
|
|
5777
5778
|
if (oldPropItems.dotCss !== '') {
|
5778
5779
|
(_a = dotEle.classList).remove.apply(_a, oldPropItems.dotCss.trim().split(' '));
|
5779
5780
|
}
|
5780
|
-
|
5781
|
+
if (item.dotCss !== '') {
|
5782
|
+
(_b = dotEle.classList).add.apply(_b, this.items[parseInt(index.toString(), 10)].dotCss.trim().split(' '));
|
5783
|
+
}
|
5781
5784
|
break;
|
5782
5785
|
case 'content':
|
5783
5786
|
contentEle = timelineItemElements[parseInt(index.toString(), 10)].querySelector('.' + CONTENT);
|
@@ -5798,7 +5801,9 @@ var Timeline = /** @__PURE__ @class */ (function (_super) {
|
|
5798
5801
|
if (oldPropItems.cssClass !== '') {
|
5799
5802
|
(_c = timelineItemElements[parseInt(index.toString(), 10)].classList).remove.apply(_c, oldPropItems.cssClass.trim().split(' '));
|
5800
5803
|
}
|
5801
|
-
|
5804
|
+
if (item.cssClass !== '') {
|
5805
|
+
(_d = timelineItemElements[parseInt(index.toString(), 10)].classList).add.apply(_d, item.cssClass.trim().split(' '));
|
5806
|
+
}
|
5802
5807
|
break;
|
5803
5808
|
}
|
5804
5809
|
};
|
@@ -5820,11 +5825,13 @@ var Timeline = /** @__PURE__ @class */ (function (_super) {
|
|
5820
5825
|
this.renderItems();
|
5821
5826
|
}
|
5822
5827
|
else {
|
5823
|
-
var
|
5824
|
-
for (var i = 0; i <
|
5825
|
-
var
|
5826
|
-
var
|
5827
|
-
|
5828
|
+
var itemLength = Object.keys(newProp.items).length;
|
5829
|
+
for (var i = 0; i < itemLength; i++) {
|
5830
|
+
var itemPropLength = parseInt(Object.keys(newProp.items)[i], 10);
|
5831
|
+
for (var j = 0; j < Object.keys(newProp.items[itemPropLength]).length; j++) {
|
5832
|
+
var property = Object.keys(newProp.items[itemPropLength])[j];
|
5833
|
+
this.updateItems(property, oldProp.items[itemPropLength], itemPropLength, newProp.items[itemPropLength]);
|
5834
|
+
}
|
5828
5835
|
}
|
5829
5836
|
}
|
5830
5837
|
break;
|