@syncfusion/ej2-layouts 19.2.55 → 19.3.48

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.
Files changed (103) hide show
  1. package/.eslintrc.json +1 -1
  2. package/CHANGELOG.md +10 -0
  3. package/dist/ej2-layouts.umd.min.js +2 -2
  4. package/dist/ej2-layouts.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-layouts.es2015.js +84 -164
  6. package/dist/es6/ej2-layouts.es2015.js.map +1 -1
  7. package/dist/es6/ej2-layouts.es5.js +84 -165
  8. package/dist/es6/ej2-layouts.es5.js.map +1 -1
  9. package/dist/global/ej2-layouts.min.js +2 -2
  10. package/dist/global/ej2-layouts.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/helpers/e2e/dashboardHelper.d.ts +63 -0
  13. package/helpers/e2e/dashboardHelper.js +97 -0
  14. package/helpers/e2e/index.d.ts +1 -0
  15. package/helpers/e2e/index.js +1 -0
  16. package/package.json +6 -6
  17. package/src/dashboard-layout/dashboard-layout.js +0 -6
  18. package/src/splitter/splitter-model.d.ts +1 -1
  19. package/src/splitter/splitter.d.ts +5 -1
  20. package/src/splitter/splitter.js +84 -158
  21. package/styles/avatar/_bootstrap5-dark-definition.scss +1 -0
  22. package/styles/avatar/_bootstrap5-definition.scss +25 -0
  23. package/styles/avatar/_layout.scss +5 -5
  24. package/styles/avatar/_tailwind-dark-definition.scss +1 -25
  25. package/styles/avatar/bootstrap5-dark.css +61 -0
  26. package/styles/avatar/bootstrap5-dark.scss +3 -0
  27. package/styles/avatar/bootstrap5.css +61 -0
  28. package/styles/avatar/bootstrap5.scss +3 -0
  29. package/styles/bootstrap-dark.css +8 -0
  30. package/styles/bootstrap.css +8 -0
  31. package/styles/bootstrap4.css +8 -0
  32. package/styles/bootstrap5-dark.css +1618 -0
  33. package/styles/bootstrap5-dark.scss +4 -0
  34. package/styles/bootstrap5.css +1618 -0
  35. package/styles/bootstrap5.scss +4 -0
  36. package/styles/card/_bootstrap5-dark-definition.scss +1 -0
  37. package/styles/card/_bootstrap5-definition.scss +119 -0
  38. package/styles/card/_fabric-dark-definition.scss +5 -18
  39. package/styles/card/_layout.scss +2 -2
  40. package/styles/card/_tailwind-dark-definition.scss +1 -122
  41. package/styles/card/_tailwind-definition.scss +5 -9
  42. package/styles/card/bootstrap5-dark.css +593 -0
  43. package/styles/card/bootstrap5-dark.scss +3 -0
  44. package/styles/card/bootstrap5.css +593 -0
  45. package/styles/card/bootstrap5.scss +3 -0
  46. package/styles/card/fabric-dark.css +12 -12
  47. package/styles/card/tailwind-dark.css +2 -3
  48. package/styles/card/tailwind.css +0 -1
  49. package/styles/dashboard-layout/_bootstrap5-dark-definition.scss +1 -0
  50. package/styles/dashboard-layout/_bootstrap5-definition.scss +109 -0
  51. package/styles/dashboard-layout/_layout.scss +14 -5
  52. package/styles/dashboard-layout/_tailwind-dark-definition.scss +1 -109
  53. package/styles/dashboard-layout/_tailwind-definition.scss +27 -28
  54. package/styles/dashboard-layout/_theme.scss +4 -4
  55. package/styles/dashboard-layout/bootstrap5-dark.css +393 -0
  56. package/styles/dashboard-layout/bootstrap5-dark.scss +4 -0
  57. package/styles/dashboard-layout/bootstrap5.css +393 -0
  58. package/styles/dashboard-layout/bootstrap5.scss +4 -0
  59. package/styles/dashboard-layout/icons/_bootstrap5-dark.scss +1 -0
  60. package/styles/dashboard-layout/icons/_bootstrap5.scss +81 -0
  61. package/styles/dashboard-layout/material-dark.css +3 -3
  62. package/styles/dashboard-layout/tailwind-dark.css +10 -8
  63. package/styles/dashboard-layout/tailwind.css +5 -3
  64. package/styles/fabric-dark.css +20 -12
  65. package/styles/fabric.css +8 -0
  66. package/styles/highcontrast-light.css +8 -0
  67. package/styles/highcontrast.css +8 -0
  68. package/styles/material-dark.css +19 -11
  69. package/styles/material.css +8 -0
  70. package/styles/splitter/_bootstrap5-dark-definition.scss +1 -0
  71. package/styles/splitter/_bootstrap5-definition.scss +26 -0
  72. package/styles/splitter/_tailwind-dark-definition.scss +1 -23
  73. package/styles/splitter/_tailwind-definition.scss +14 -11
  74. package/styles/splitter/bootstrap-dark.css +8 -0
  75. package/styles/splitter/bootstrap.css +8 -0
  76. package/styles/splitter/bootstrap4.css +8 -0
  77. package/styles/splitter/bootstrap5-dark.css +568 -0
  78. package/styles/splitter/bootstrap5-dark.scss +4 -0
  79. package/styles/splitter/bootstrap5.css +568 -0
  80. package/styles/splitter/bootstrap5.scss +4 -0
  81. package/styles/splitter/fabric-dark.css +8 -0
  82. package/styles/splitter/fabric.css +8 -0
  83. package/styles/splitter/highcontrast-light.css +8 -0
  84. package/styles/splitter/highcontrast.css +8 -0
  85. package/styles/splitter/icons/_bootstrap-dark.scss +12 -0
  86. package/styles/splitter/icons/_bootstrap.scss +12 -0
  87. package/styles/splitter/icons/_bootstrap4.scss +12 -0
  88. package/styles/splitter/icons/_bootstrap5-dark.scss +1 -0
  89. package/styles/splitter/icons/_bootstrap5.scss +39 -0
  90. package/styles/splitter/icons/_fabric-dark.scss +12 -0
  91. package/styles/splitter/icons/_fabric.scss +12 -0
  92. package/styles/splitter/icons/_highcontrast-light.scss +12 -0
  93. package/styles/splitter/icons/_highcontrast.scss +12 -0
  94. package/styles/splitter/icons/_material-dark.scss +12 -0
  95. package/styles/splitter/icons/_material.scss +12 -0
  96. package/styles/splitter/icons/_tailwind-dark.scss +1 -39
  97. package/styles/splitter/icons/_tailwind.scss +12 -0
  98. package/styles/splitter/material-dark.css +16 -8
  99. package/styles/splitter/material.css +8 -0
  100. package/styles/splitter/tailwind-dark.css +14 -7
  101. package/styles/splitter/tailwind.css +8 -1
  102. package/styles/tailwind-dark.css +26 -18
  103. package/styles/tailwind.css +13 -5
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 19.2.55
3
+ * version : 19.3.48
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
@@ -0,0 +1,63 @@
1
+ import { TestHelper } from '@syncfusion/ej2-base/helpers/e2e';
2
+ export declare class DashboardHelper extends TestHelper {
3
+ id: string;
4
+ wrapperFn: Function;
5
+ /**
6
+ * Initialize the Dashboard Layout E2E helpers.
7
+ * @param id element id of the Dashboard Layout component.
8
+ * @param wrapperFn pass the wrapper function.
9
+ */
10
+ constructor(id: string, wrapperFn: Function);
11
+ /**
12
+ * Gets the selector of the Dashboard Layout component.
13
+ */
14
+ selector(arg: any): any;
15
+ /**
16
+ * Gets root element of the Dashboard Layout component.
17
+ */
18
+ getElement(): any;
19
+ /**
20
+ * Gets the element of the Dashboard Layout component.
21
+ */
22
+ getDashboardLayout(): any;
23
+ /**
24
+ * Gets a panel container and its inner elements with the given id from dashboard layout component.
25
+ */
26
+ getPanelContainer(): any;
27
+ /**
28
+ * Gets the panel element of Dashboard Layout component which consists the panel container and its inner elements
29
+ */
30
+ getPanelElement(): any;
31
+ /**
32
+ * Used to get the panel header of Dashboard Layout component which contains the header details.
33
+ */
34
+ getPanelHeader(): any;
35
+ /**
36
+ * Gets the panel content of Dashboard Layout component which contains the panel content class.
37
+ */
38
+ getPanelContent(): any;
39
+ /**
40
+ * Gets the resize icon positioned on the South-East side in panel container.
41
+ */
42
+ getSouthEastResizeIcon(): any;
43
+ /**
44
+ * Gets the resize icon positioned on the North-East side in panel container.
45
+ */
46
+ getNorthEastResizeIcon(): any;
47
+ /**
48
+ * Gets the resize icon positioned on the North-West side in panel container.
49
+ */
50
+ getNorthWestResizeIcon(): any;
51
+ /**
52
+ * Gets the resize icon positioned on the South-West side in panel container.
53
+ */
54
+ getSouthWestResizeIcon(): any;
55
+ /**
56
+ * Gets the clear icon from the panel element.
57
+ */
58
+ getClearIcon(): any;
59
+ /**
60
+ * Gets the transition of panel in Dashboard Layout component which is used to achieve the resizing behavior.
61
+ */
62
+ getPanelTansition(): any;
63
+ }
@@ -0,0 +1,97 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const e2e_1 = require("@syncfusion/ej2-base/helpers/e2e");
4
+ class DashboardHelper extends e2e_1.TestHelper {
5
+ /**
6
+ * Initialize the Dashboard Layout E2E helpers.
7
+ * @param id element id of the Dashboard Layout component.
8
+ * @param wrapperFn pass the wrapper function.
9
+ */
10
+ constructor(id, wrapperFn) {
11
+ super();
12
+ this.id = id;
13
+ if (wrapperFn !== undefined) {
14
+ this.wrapperFn = wrapperFn;
15
+ }
16
+ return this;
17
+ }
18
+ /**
19
+ * Gets the selector of the Dashboard Layout component.
20
+ */
21
+ selector(arg) {
22
+ return (this.wrapperFn ? this.wrapperFn(arg) : arg);
23
+ }
24
+ /**
25
+ * Gets root element of the Dashboard Layout component.
26
+ */
27
+ getElement() {
28
+ return this.selector('#' + this.id);
29
+ }
30
+ /**
31
+ * Gets the element of the Dashboard Layout component.
32
+ */
33
+ getDashboardLayout() {
34
+ return this.selector('#' + this.id + '.e-dashboardlayout');
35
+ }
36
+ /**
37
+ * Gets a panel container and its inner elements with the given id from dashboard layout component.
38
+ */
39
+ getPanelContainer() {
40
+ return this.selector('#' + this.id + '.e-dashboardlayout .e-panel-container');
41
+ }
42
+ /**
43
+ * Gets the panel element of Dashboard Layout component which consists the panel container and its inner elements
44
+ */
45
+ getPanelElement() {
46
+ return this.selector('#' + this.id + '.e-dashboardlayout .e-panel');
47
+ }
48
+ /**
49
+ * Used to get the panel header of Dashboard Layout component which contains the header details.
50
+ */
51
+ getPanelHeader() {
52
+ return this.selector('#' + this.id + '.e-dashboardlayout .e-panel-header');
53
+ }
54
+ /**
55
+ * Gets the panel content of Dashboard Layout component which contains the panel content class.
56
+ */
57
+ getPanelContent() {
58
+ return this.selector('#' + this.id + '.e-dashboardlayout .e-panel-content');
59
+ }
60
+ /**
61
+ * Gets the resize icon positioned on the South-East side in panel container.
62
+ */
63
+ getSouthEastResizeIcon() {
64
+ return this.selector('#' + this.id + '.e-dashboardlayout .e-south-east .e-resize');
65
+ }
66
+ /**
67
+ * Gets the resize icon positioned on the North-East side in panel container.
68
+ */
69
+ getNorthEastResizeIcon() {
70
+ return this.selector('#' + this.id + '.e-dashboardlayout .e-north-east .e-resize');
71
+ }
72
+ /**
73
+ * Gets the resize icon positioned on the North-West side in panel container.
74
+ */
75
+ getNorthWestResizeIcon() {
76
+ return this.selector('#' + this.id + '.e-dashboardlayout .e-north-west .e-resize');
77
+ }
78
+ /**
79
+ * Gets the resize icon positioned on the South-West side in panel container.
80
+ */
81
+ getSouthWestResizeIcon() {
82
+ return this.selector('#' + this.id + '.e-dashboardlayout .e-south-west .e-resize');
83
+ }
84
+ /**
85
+ * Gets the clear icon from the panel element.
86
+ */
87
+ getClearIcon() {
88
+ return this.selector('#' + this.id + '.e-dashboardlayout .e-clear-icon');
89
+ }
90
+ /**
91
+ * Gets the transition of panel in Dashboard Layout component which is used to achieve the resizing behavior.
92
+ */
93
+ getPanelTansition() {
94
+ return this.selector('#' + this.id + '.e-dashboardlayout .e-panel-transition');
95
+ }
96
+ }
97
+ exports.DashboardHelper = DashboardHelper;
@@ -1 +1,2 @@
1
+ export * from './dashboardHelper';
1
2
  export * from './splitter-helper';
@@ -3,4 +3,5 @@ function __export(m) {
3
3
  for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4
4
  }
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ __export(require("./dashboardHelper"));
6
7
  __export(require("./splitter-helper"));
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-layouts@*",
3
- "_id": "@syncfusion/ej2-layouts@19.2.48",
3
+ "_id": "@syncfusion/ej2-layouts@19.3.44",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-NSlsLYKg/ydDyF1OcVDyVNYiBMraMUCJgZlLkJrB2mfXjm1sZyXLsrJd0BsTPQXR+BaXwd5UBdS02mZsS34c5w==",
5
+ "_integrity": "sha512-+tAdEU4xho9kvR35bvJnp4xfh5vb5hayEZ/4/iWMkgzGN/+YmoZ7rAySqyjk5XIrN9AVV6nYqHduNhBgqKQBTQ==",
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-hotfix/@syncfusion/ej2-layouts/-/ej2-layouts-19.2.48.tgz",
31
- "_shasum": "3bd3c318f663d8250e0e948b8858aeaa1008ff2a",
30
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-layouts/-/ej2-layouts-19.3.44.tgz",
31
+ "_shasum": "a83ee561cb5b9b02f20271de35a222269fefd27d",
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.2.55"
39
+ "@syncfusion/ej2-base": "~19.3.47"
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.2.55",
79
+ "version": "19.3.48",
80
80
  "sideEffects": false
81
81
  }
@@ -639,10 +639,6 @@ var DashboardLayout = /** @class */ (function (_super) {
639
639
  currentX = this.getMaxWidth(panelModel) - this.elementWidth;
640
640
  this.mOffX = dX - currentX;
641
641
  }
642
- else if (this.elementX + this.elementWidth + dX > this.maxLeft) {
643
- currentX = this.maxLeft - this.elementX - this.elementWidth;
644
- this.mOffX = dX - currentX;
645
- }
646
642
  this.elementWidth += currentX;
647
643
  }
648
644
  el.style.top = this.elementY + 'px';
@@ -882,7 +878,6 @@ var DashboardLayout = /** @class */ (function (_super) {
882
878
  var row = parseInt(ele.getAttribute('data-row'), 10);
883
879
  var col = parseInt(ele.getAttribute('data-col'), 10);
884
880
  this.panelPropertyChange(cellInstance, { row: row, col: col });
885
- this.updatePanelLayout(ele, cellInstance);
886
881
  this.setHeightAndWidth(ele, this.getCellInstance(ele.id));
887
882
  this.setPanelPosition(ele, row, col);
888
883
  this.updateRowHeight();
@@ -2078,7 +2073,6 @@ var DashboardLayout = /** @class */ (function (_super) {
2078
2073
  _this.onDragStart(args);
2079
2074
  }
2080
2075
  });
2081
- this.dragobj.enableScrollHandler = true;
2082
2076
  if (this.dragCollection.indexOf(this.dragobj) === -1) {
2083
2077
  this.dragCollection.push(this.dragobj);
2084
2078
  }
@@ -1,4 +1,4 @@
1
- import { Component, Property, setStyleAttribute, ChildProperty, compile, isBlazor } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, addClass, Collection, isNullOrUndefined } from '@syncfusion/ej2-base';import { Event, EmitType, EventHandler, selectAll, removeClass, select, Browser, detach, formatUnit } from '@syncfusion/ej2-base';import { SanitizeHtmlHelper, extend } from '@syncfusion/ej2-base';
1
+ import { Component, Property, setStyleAttribute, ChildProperty, compile } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, addClass, Collection, isNullOrUndefined } from '@syncfusion/ej2-base';import { Event, EmitType, EventHandler, selectAll, removeClass, select, Browser, detach, formatUnit } from '@syncfusion/ej2-base';import { SanitizeHtmlHelper, extend } from '@syncfusion/ej2-base';
2
2
  import {Orientation,BeforeSanitizeHtmlArgs,ResizeEventArgs,ResizingEventArgs,BeforeExpandEventArgs,ExpandedEventArgs} from "./splitter";
3
3
  import {ComponentModel} from '@syncfusion/ej2-base';
4
4
 
@@ -125,6 +125,10 @@ export declare type Orientation = 'Horizontal' | 'Vertical';
125
125
  */
126
126
  export declare class Splitter extends Component<HTMLElement> {
127
127
  private onReportWindowSize;
128
+ private onMouseMoveHandler;
129
+ private onMouseUpHandler;
130
+ private onTouchMoveHandler;
131
+ private onTouchEndHandler;
128
132
  private allPanes;
129
133
  private paneOrder;
130
134
  private separatorOrder;
@@ -336,6 +340,7 @@ export declare class Splitter extends Component<HTMLElement> {
336
340
  private onDocumentClick;
337
341
  private checkPaneSize;
338
342
  private onMove;
343
+ private getMinInPixel;
339
344
  /**
340
345
  * @param {string} value - specifies the string value
341
346
  * @returns {string} returns the string
@@ -344,7 +349,6 @@ export declare class Splitter extends Component<HTMLElement> {
344
349
  sanitizeHelper(value: string): string;
345
350
  private checkDataAttributes;
346
351
  private destroyPaneSettings;
347
- private checkBlazor;
348
352
  private setPaneSettings;
349
353
  private checkArrow;
350
354
  private removeDataPrefix;