@syncfusion/ej2-layouts 21.2.9 → 22.1.34
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/.eslintrc.json +1 -0
- package/CHANGELOG.md +2 -0
- 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 +19 -14
- package/dist/es6/ej2-layouts.es2015.js.map +1 -1
- package/dist/es6/ej2-layouts.es5.js +19 -14
- 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/package.json +6 -6
- package/src/dashboard-layout/dashboard-layout-model.d.ts +5 -3
- package/src/dashboard-layout/dashboard-layout.d.ts +6 -4
- package/src/dashboard-layout/dashboard-layout.js +18 -13
- package/src/splitter/splitter.js +1 -1
- package/styles/avatar/_material3-dark-definition.scss +1 -0
- package/styles/avatar/_material3-definition.scss +26 -0
- package/styles/avatar/material3-dark.css +114 -0
- package/styles/avatar/material3-dark.scss +4 -0
- package/styles/avatar/material3.css +170 -0
- package/styles/avatar/material3.scss +4 -0
- package/styles/bootstrap4.css +3 -2
- package/styles/card/_bootstrap4-definition.scss +3 -2
- package/styles/card/_layout.scss +2 -2
- package/styles/card/_material3-dark-definition.scss +1 -0
- package/styles/card/_material3-definition.scss +125 -0
- package/styles/card/bootstrap4.css +3 -2
- package/styles/card/fabric.css +1 -1
- package/styles/card/highcontrast.css +1 -1
- package/styles/card/material3-dark.css +567 -0
- package/styles/card/material3-dark.scss +4 -0
- package/styles/card/material3.css +623 -0
- package/styles/card/material3.scss +4 -0
- package/styles/dashboard-layout/_layout.scss +1 -1
- package/styles/dashboard-layout/_material3-dark-definition.scss +1 -0
- package/styles/dashboard-layout/_material3-definition.scss +108 -0
- package/styles/dashboard-layout/_theme.scss +1 -1
- package/styles/dashboard-layout/icons/_material3-dark.scss +1 -0
- package/styles/dashboard-layout/material3-dark.css +357 -0
- package/styles/dashboard-layout/material3-dark.scss +5 -0
- package/styles/dashboard-layout/material3.css +413 -0
- package/styles/dashboard-layout/material3.scss +5 -0
- package/styles/fabric.css +1 -1
- package/styles/highcontrast.css +1 -1
- package/styles/material3-dark.css +1414 -0
- package/styles/material3-dark.scss +6 -0
- package/styles/material3.css +1470 -0
- package/styles/material3.scss +6 -0
- package/styles/splitter/_material3-dark-definition.scss +1 -0
- package/styles/splitter/_material3-definition.scss +31 -0
- package/styles/splitter/icons/_material3-dark.scss +1 -0
- package/styles/splitter/material3-dark.css +543 -0
- package/styles/splitter/material3-dark.scss +5 -0
- package/styles/splitter/material3.css +599 -0
- package/styles/splitter/material3.scss +5 -0
@@ -1809,7 +1809,7 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
|
|
1809
1809
|
if (this.paneSettings[i].size === '') {
|
1810
1810
|
flexPaneCount = flexPaneCount + 1;
|
1811
1811
|
}
|
1812
|
-
else if (this.allPanes[i].style.flexBasis !== '') {
|
1812
|
+
else if ((!this.isReact) && this.allPanes[i].style.flexBasis !== '') {
|
1813
1813
|
this.paneSettings[i].size = this.allPanes[i].style.flexBasis;
|
1814
1814
|
}
|
1815
1815
|
}
|
@@ -2699,7 +2699,7 @@ var DashboardLayout = /** @__PURE__ @class */ (function (_super) {
|
|
2699
2699
|
DashboardLayout.prototype.templateParser = function (template) {
|
2700
2700
|
if (template) {
|
2701
2701
|
try {
|
2702
|
-
if (document.querySelectorAll(template).length) {
|
2702
|
+
if (typeof template !== 'function' && document.querySelectorAll(template).length) {
|
2703
2703
|
return compile(document.querySelector(template).innerHTML.trim());
|
2704
2704
|
}
|
2705
2705
|
else {
|
@@ -2833,18 +2833,23 @@ var DashboardLayout = /** @__PURE__ @class */ (function (_super) {
|
|
2833
2833
|
this.resizeEvents();
|
2834
2834
|
};
|
2835
2835
|
DashboardLayout.prototype.downResizeHandler = function (e) {
|
2836
|
-
|
2837
|
-
this.
|
2838
|
-
|
2839
|
-
|
2840
|
-
|
2841
|
-
|
2842
|
-
|
2843
|
-
|
2844
|
-
|
2845
|
-
|
2846
|
-
|
2847
|
-
|
2836
|
+
var el = closest((e.currentTarget), '.e-panel');
|
2837
|
+
for (var i = 0; this.panels.length > i; i++) {
|
2838
|
+
if (this.panels[i].enabled && this.panels[i].id === el.id) {
|
2839
|
+
this.downHandler(e);
|
2840
|
+
this.lastMouseX = e.pageX;
|
2841
|
+
this.lastMouseY = e.pageY;
|
2842
|
+
var moveEventName = (Browser.info.name === 'msie') ? 'mousemove pointermove' : 'mousemove';
|
2843
|
+
var upEventName = (Browser.info.name === 'msie') ? 'mouseup pointerup' : 'mouseup';
|
2844
|
+
if (!this.isMouseMoveBound) {
|
2845
|
+
EventHandler.add(document, moveEventName, this.moveResizeHandler, this);
|
2846
|
+
this.isMouseMoveBound = true;
|
2847
|
+
}
|
2848
|
+
if (!this.isMouseUpBound) {
|
2849
|
+
EventHandler.add(document, upEventName, this.upResizeHandler, this);
|
2850
|
+
this.isMouseUpBound = true;
|
2851
|
+
}
|
2852
|
+
}
|
2848
2853
|
}
|
2849
2854
|
};
|
2850
2855
|
DashboardLayout.prototype.downHandler = function (e) {
|