@syncfusion/ej2-layouts 30.1.37 → 30.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/.eslintrc.json +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 +11 -7
- package/dist/es6/ej2-layouts.es2015.js.map +1 -1
- package/dist/es6/ej2-layouts.es5.js +11 -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/package.json +9 -43
- package/src/splitter/splitter.js +11 -7
- package/styles/bds-lite.css +6 -0
- package/styles/bds.css +6 -0
- package/styles/bootstrap-dark-lite.css +6 -0
- package/styles/bootstrap-dark.css +6 -0
- package/styles/bootstrap-lite.css +6 -0
- package/styles/bootstrap.css +6 -0
- package/styles/bootstrap4-lite.css +6 -0
- package/styles/bootstrap4.css +6 -0
- package/styles/bootstrap5-dark-lite.css +6 -0
- package/styles/bootstrap5-dark.css +6 -0
- package/styles/bootstrap5-lite.css +6 -0
- package/styles/bootstrap5.3-lite.css +6 -0
- package/styles/bootstrap5.3.css +6 -0
- package/styles/bootstrap5.css +6 -0
- package/styles/fabric-dark-lite.css +6 -0
- package/styles/fabric-dark.css +6 -0
- package/styles/fabric-lite.css +6 -0
- package/styles/fabric.css +6 -0
- package/styles/fluent-dark-lite.css +6 -0
- package/styles/fluent-dark.css +6 -0
- package/styles/fluent-lite.css +6 -0
- package/styles/fluent.css +6 -0
- package/styles/fluent2-lite.css +6 -0
- package/styles/fluent2.css +6 -0
- package/styles/highcontrast-light-lite.css +6 -0
- package/styles/highcontrast-light.css +6 -0
- package/styles/highcontrast-lite.css +6 -0
- package/styles/highcontrast.css +6 -0
- package/styles/material-dark-lite.css +6 -0
- package/styles/material-dark.css +6 -0
- package/styles/material-lite.css +6 -0
- package/styles/material.css +6 -0
- package/styles/material3-dark-lite.css +6 -0
- package/styles/material3-dark.css +6 -0
- package/styles/material3-lite.css +6 -0
- package/styles/material3.css +6 -0
- package/styles/splitter/_layout.scss +4 -0
- package/styles/splitter/bds.css +6 -0
- package/styles/splitter/bootstrap-dark.css +6 -0
- package/styles/splitter/bootstrap.css +6 -0
- package/styles/splitter/bootstrap4.css +6 -0
- package/styles/splitter/bootstrap5-dark.css +6 -0
- package/styles/splitter/bootstrap5.3.css +6 -0
- package/styles/splitter/bootstrap5.css +6 -0
- package/styles/splitter/fabric-dark.css +6 -0
- package/styles/splitter/fabric.css +6 -0
- package/styles/splitter/fluent-dark.css +6 -0
- package/styles/splitter/fluent.css +6 -0
- package/styles/splitter/fluent2.css +6 -0
- package/styles/splitter/highcontrast-light.css +6 -0
- package/styles/splitter/highcontrast.css +6 -0
- package/styles/splitter/material-dark.css +6 -0
- package/styles/splitter/material.css +6 -0
- package/styles/splitter/material3-dark.css +6 -0
- package/styles/splitter/material3.css +6 -0
- package/styles/splitter/tailwind-dark.css +6 -0
- package/styles/splitter/tailwind.css +6 -0
- package/styles/splitter/tailwind3.css +6 -0
- package/styles/tailwind-dark-lite.css +6 -0
- package/styles/tailwind-dark.css +6 -0
- package/styles/tailwind-lite.css +6 -0
- package/styles/tailwind.css +6 -0
- package/styles/tailwind3-lite.css +6 -0
- package/styles/tailwind3.css +6 -0
- package/dist/ts/dashboard-layout/dashboard-layout-model.d.ts +0 -292
- package/dist/ts/dashboard-layout/dashboard-layout.d.ts +0 -706
- package/dist/ts/dashboard-layout/dashboard-layout.ts +0 -3468
- package/dist/ts/dashboard-layout/index.d.ts +0 -5
- package/dist/ts/dashboard-layout/index.ts +0 -5
- package/dist/ts/index.d.ts +0 -6
- package/dist/ts/index.ts +0 -6
- package/dist/ts/splitter/index.d.ts +0 -5
- package/dist/ts/splitter/index.ts +0 -5
- package/dist/ts/splitter/splitter-model.d.ts +0 -236
- package/dist/ts/splitter/splitter.d.ts +0 -595
- package/dist/ts/splitter/splitter.ts +0 -2871
- package/dist/ts/timeline/index.d.ts +0 -3
- package/dist/ts/timeline/index.ts +0 -3
- package/dist/ts/timeline/timeline-model.d.ts +0 -140
- package/dist/ts/timeline/timeline.d.ts +0 -239
- package/dist/ts/timeline/timeline.ts +0 -543
@@ -85,6 +85,12 @@
|
|
85
85
|
-ms-flex-direction: column;
|
86
86
|
flex-direction: column;
|
87
87
|
}
|
88
|
+
.e-splitter.e-splitter-vertical.e-reverse {
|
89
|
+
-webkit-box-orient: vertical;
|
90
|
+
-webkit-box-direction: reverse;
|
91
|
+
-ms-flex-direction: column-reverse;
|
92
|
+
flex-direction: column-reverse;
|
93
|
+
}
|
88
94
|
.e-splitter.e-splitter-vertical.e-pane.e-scrollable {
|
89
95
|
overflow: hidden;
|
90
96
|
}
|
@@ -83,6 +83,12 @@
|
|
83
83
|
-ms-flex-direction: column;
|
84
84
|
flex-direction: column;
|
85
85
|
}
|
86
|
+
.e-splitter.e-splitter-vertical.e-reverse {
|
87
|
+
-webkit-box-orient: vertical;
|
88
|
+
-webkit-box-direction: reverse;
|
89
|
+
-ms-flex-direction: column-reverse;
|
90
|
+
flex-direction: column-reverse;
|
91
|
+
}
|
86
92
|
.e-splitter.e-splitter-vertical.e-pane.e-scrollable {
|
87
93
|
overflow: hidden;
|
88
94
|
}
|
@@ -77,6 +77,12 @@
|
|
77
77
|
-ms-flex-direction: column;
|
78
78
|
flex-direction: column;
|
79
79
|
}
|
80
|
+
.e-splitter.e-splitter-vertical.e-reverse {
|
81
|
+
-webkit-box-orient: vertical;
|
82
|
+
-webkit-box-direction: reverse;
|
83
|
+
-ms-flex-direction: column-reverse;
|
84
|
+
flex-direction: column-reverse;
|
85
|
+
}
|
80
86
|
.e-splitter.e-splitter-vertical.e-pane.e-scrollable {
|
81
87
|
overflow: hidden;
|
82
88
|
}
|
@@ -81,6 +81,12 @@
|
|
81
81
|
-ms-flex-direction: column;
|
82
82
|
flex-direction: column;
|
83
83
|
}
|
84
|
+
.e-splitter.e-splitter-vertical.e-reverse {
|
85
|
+
-webkit-box-orient: vertical;
|
86
|
+
-webkit-box-direction: reverse;
|
87
|
+
-ms-flex-direction: column-reverse;
|
88
|
+
flex-direction: column-reverse;
|
89
|
+
}
|
84
90
|
.e-splitter.e-splitter-vertical.e-pane.e-scrollable {
|
85
91
|
overflow: hidden;
|
86
92
|
}
|
@@ -77,6 +77,12 @@
|
|
77
77
|
-ms-flex-direction: column;
|
78
78
|
flex-direction: column;
|
79
79
|
}
|
80
|
+
.e-splitter.e-splitter-vertical.e-reverse {
|
81
|
+
-webkit-box-orient: vertical;
|
82
|
+
-webkit-box-direction: reverse;
|
83
|
+
-ms-flex-direction: column-reverse;
|
84
|
+
flex-direction: column-reverse;
|
85
|
+
}
|
80
86
|
.e-splitter.e-splitter-vertical.e-pane.e-scrollable {
|
81
87
|
overflow: hidden;
|
82
88
|
}
|
@@ -85,6 +85,12 @@
|
|
85
85
|
-ms-flex-direction: column;
|
86
86
|
flex-direction: column;
|
87
87
|
}
|
88
|
+
.e-splitter.e-splitter-vertical.e-reverse {
|
89
|
+
-webkit-box-orient: vertical;
|
90
|
+
-webkit-box-direction: reverse;
|
91
|
+
-ms-flex-direction: column-reverse;
|
92
|
+
flex-direction: column-reverse;
|
93
|
+
}
|
88
94
|
.e-splitter.e-splitter-vertical.e-pane.e-scrollable {
|
89
95
|
overflow: hidden;
|
90
96
|
}
|
@@ -85,6 +85,12 @@
|
|
85
85
|
-ms-flex-direction: column;
|
86
86
|
flex-direction: column;
|
87
87
|
}
|
88
|
+
.e-splitter.e-splitter-vertical.e-reverse {
|
89
|
+
-webkit-box-orient: vertical;
|
90
|
+
-webkit-box-direction: reverse;
|
91
|
+
-ms-flex-direction: column-reverse;
|
92
|
+
flex-direction: column-reverse;
|
93
|
+
}
|
88
94
|
.e-splitter.e-splitter-vertical.e-pane.e-scrollable {
|
89
95
|
overflow: hidden;
|
90
96
|
}
|
@@ -77,6 +77,12 @@
|
|
77
77
|
-ms-flex-direction: column;
|
78
78
|
flex-direction: column;
|
79
79
|
}
|
80
|
+
.e-splitter.e-splitter-vertical.e-reverse {
|
81
|
+
-webkit-box-orient: vertical;
|
82
|
+
-webkit-box-direction: reverse;
|
83
|
+
-ms-flex-direction: column-reverse;
|
84
|
+
flex-direction: column-reverse;
|
85
|
+
}
|
80
86
|
.e-splitter.e-splitter-vertical.e-pane.e-scrollable {
|
81
87
|
overflow: hidden;
|
82
88
|
}
|
@@ -77,6 +77,12 @@
|
|
77
77
|
-ms-flex-direction: column;
|
78
78
|
flex-direction: column;
|
79
79
|
}
|
80
|
+
.e-splitter.e-splitter-vertical.e-reverse {
|
81
|
+
-webkit-box-orient: vertical;
|
82
|
+
-webkit-box-direction: reverse;
|
83
|
+
-ms-flex-direction: column-reverse;
|
84
|
+
flex-direction: column-reverse;
|
85
|
+
}
|
80
86
|
.e-splitter.e-splitter-vertical.e-pane.e-scrollable {
|
81
87
|
overflow: hidden;
|
82
88
|
}
|
@@ -83,6 +83,12 @@
|
|
83
83
|
-ms-flex-direction: column;
|
84
84
|
flex-direction: column;
|
85
85
|
}
|
86
|
+
.e-splitter.e-splitter-vertical.e-reverse {
|
87
|
+
-webkit-box-orient: vertical;
|
88
|
+
-webkit-box-direction: reverse;
|
89
|
+
-ms-flex-direction: column-reverse;
|
90
|
+
flex-direction: column-reverse;
|
91
|
+
}
|
86
92
|
.e-splitter.e-splitter-vertical.e-pane.e-scrollable {
|
87
93
|
overflow: hidden;
|
88
94
|
}
|
@@ -85,6 +85,12 @@
|
|
85
85
|
-ms-flex-direction: column;
|
86
86
|
flex-direction: column;
|
87
87
|
}
|
88
|
+
.e-splitter.e-splitter-vertical.e-reverse {
|
89
|
+
-webkit-box-orient: vertical;
|
90
|
+
-webkit-box-direction: reverse;
|
91
|
+
-ms-flex-direction: column-reverse;
|
92
|
+
flex-direction: column-reverse;
|
93
|
+
}
|
88
94
|
.e-splitter.e-splitter-vertical.e-pane.e-scrollable {
|
89
95
|
overflow: hidden;
|
90
96
|
}
|
@@ -85,6 +85,12 @@
|
|
85
85
|
-ms-flex-direction: column;
|
86
86
|
flex-direction: column;
|
87
87
|
}
|
88
|
+
.e-splitter.e-splitter-vertical.e-reverse {
|
89
|
+
-webkit-box-orient: vertical;
|
90
|
+
-webkit-box-direction: reverse;
|
91
|
+
-ms-flex-direction: column-reverse;
|
92
|
+
flex-direction: column-reverse;
|
93
|
+
}
|
88
94
|
.e-splitter.e-splitter-vertical.e-pane.e-scrollable {
|
89
95
|
overflow: hidden;
|
90
96
|
}
|
@@ -83,6 +83,12 @@
|
|
83
83
|
-ms-flex-direction: column;
|
84
84
|
flex-direction: column;
|
85
85
|
}
|
86
|
+
.e-splitter.e-splitter-vertical.e-reverse {
|
87
|
+
-webkit-box-orient: vertical;
|
88
|
+
-webkit-box-direction: reverse;
|
89
|
+
-ms-flex-direction: column-reverse;
|
90
|
+
flex-direction: column-reverse;
|
91
|
+
}
|
86
92
|
.e-splitter.e-splitter-vertical.e-pane.e-scrollable {
|
87
93
|
overflow: hidden;
|
88
94
|
}
|
@@ -84,6 +84,12 @@
|
|
84
84
|
-ms-flex-direction: column;
|
85
85
|
flex-direction: column;
|
86
86
|
}
|
87
|
+
.e-splitter.e-splitter-vertical.e-reverse {
|
88
|
+
-webkit-box-orient: vertical;
|
89
|
+
-webkit-box-direction: reverse;
|
90
|
+
-ms-flex-direction: column-reverse;
|
91
|
+
flex-direction: column-reverse;
|
92
|
+
}
|
87
93
|
.e-splitter.e-splitter-vertical.e-pane.e-scrollable {
|
88
94
|
overflow: hidden;
|
89
95
|
}
|
@@ -79,6 +79,12 @@
|
|
79
79
|
-ms-flex-direction: column;
|
80
80
|
flex-direction: column;
|
81
81
|
}
|
82
|
+
.e-splitter.e-splitter-vertical.e-reverse {
|
83
|
+
-webkit-box-orient: vertical;
|
84
|
+
-webkit-box-direction: reverse;
|
85
|
+
-ms-flex-direction: column-reverse;
|
86
|
+
flex-direction: column-reverse;
|
87
|
+
}
|
82
88
|
.e-splitter.e-splitter-vertical.e-pane.e-scrollable {
|
83
89
|
overflow: hidden;
|
84
90
|
}
|
@@ -81,6 +81,12 @@
|
|
81
81
|
-ms-flex-direction: column;
|
82
82
|
flex-direction: column;
|
83
83
|
}
|
84
|
+
.e-splitter.e-splitter-vertical.e-reverse {
|
85
|
+
-webkit-box-orient: vertical;
|
86
|
+
-webkit-box-direction: reverse;
|
87
|
+
-ms-flex-direction: column-reverse;
|
88
|
+
flex-direction: column-reverse;
|
89
|
+
}
|
84
90
|
.e-splitter.e-splitter-vertical.e-pane.e-scrollable {
|
85
91
|
overflow: hidden;
|
86
92
|
}
|
@@ -77,6 +77,12 @@
|
|
77
77
|
-ms-flex-direction: column;
|
78
78
|
flex-direction: column;
|
79
79
|
}
|
80
|
+
.e-splitter.e-splitter-vertical.e-reverse {
|
81
|
+
-webkit-box-orient: vertical;
|
82
|
+
-webkit-box-direction: reverse;
|
83
|
+
-ms-flex-direction: column-reverse;
|
84
|
+
flex-direction: column-reverse;
|
85
|
+
}
|
80
86
|
.e-splitter.e-splitter-vertical.e-pane.e-scrollable {
|
81
87
|
overflow: hidden;
|
82
88
|
}
|
@@ -77,6 +77,12 @@
|
|
77
77
|
-ms-flex-direction: column;
|
78
78
|
flex-direction: column;
|
79
79
|
}
|
80
|
+
.e-splitter.e-splitter-vertical.e-reverse {
|
81
|
+
-webkit-box-orient: vertical;
|
82
|
+
-webkit-box-direction: reverse;
|
83
|
+
-ms-flex-direction: column-reverse;
|
84
|
+
flex-direction: column-reverse;
|
85
|
+
}
|
80
86
|
.e-splitter.e-splitter-vertical.e-pane.e-scrollable {
|
81
87
|
overflow: hidden;
|
82
88
|
}
|
@@ -81,6 +81,12 @@
|
|
81
81
|
-ms-flex-direction: column;
|
82
82
|
flex-direction: column;
|
83
83
|
}
|
84
|
+
.e-splitter.e-splitter-vertical.e-reverse {
|
85
|
+
-webkit-box-orient: vertical;
|
86
|
+
-webkit-box-direction: reverse;
|
87
|
+
-ms-flex-direction: column-reverse;
|
88
|
+
flex-direction: column-reverse;
|
89
|
+
}
|
84
90
|
.e-splitter.e-splitter-vertical.e-pane.e-scrollable {
|
85
91
|
overflow: hidden;
|
86
92
|
}
|
@@ -562,6 +562,12 @@
|
|
562
562
|
-ms-flex-direction: column;
|
563
563
|
flex-direction: column;
|
564
564
|
}
|
565
|
+
.e-splitter.e-splitter-vertical.e-reverse {
|
566
|
+
-webkit-box-orient: vertical;
|
567
|
+
-webkit-box-direction: reverse;
|
568
|
+
-ms-flex-direction: column-reverse;
|
569
|
+
flex-direction: column-reverse;
|
570
|
+
}
|
565
571
|
.e-splitter.e-splitter-vertical.e-pane.e-scrollable {
|
566
572
|
overflow: hidden;
|
567
573
|
}
|
package/styles/tailwind-dark.css
CHANGED
@@ -697,6 +697,12 @@
|
|
697
697
|
-ms-flex-direction: column;
|
698
698
|
flex-direction: column;
|
699
699
|
}
|
700
|
+
.e-splitter.e-splitter-vertical.e-reverse {
|
701
|
+
-webkit-box-orient: vertical;
|
702
|
+
-webkit-box-direction: reverse;
|
703
|
+
-ms-flex-direction: column-reverse;
|
704
|
+
flex-direction: column-reverse;
|
705
|
+
}
|
700
706
|
.e-splitter.e-splitter-vertical.e-pane.e-scrollable {
|
701
707
|
overflow: hidden;
|
702
708
|
}
|
package/styles/tailwind-lite.css
CHANGED
@@ -562,6 +562,12 @@
|
|
562
562
|
-ms-flex-direction: column;
|
563
563
|
flex-direction: column;
|
564
564
|
}
|
565
|
+
.e-splitter.e-splitter-vertical.e-reverse {
|
566
|
+
-webkit-box-orient: vertical;
|
567
|
+
-webkit-box-direction: reverse;
|
568
|
+
-ms-flex-direction: column-reverse;
|
569
|
+
flex-direction: column-reverse;
|
570
|
+
}
|
565
571
|
.e-splitter.e-splitter-vertical.e-pane.e-scrollable {
|
566
572
|
overflow: hidden;
|
567
573
|
}
|
package/styles/tailwind.css
CHANGED
@@ -697,6 +697,12 @@
|
|
697
697
|
-ms-flex-direction: column;
|
698
698
|
flex-direction: column;
|
699
699
|
}
|
700
|
+
.e-splitter.e-splitter-vertical.e-reverse {
|
701
|
+
-webkit-box-orient: vertical;
|
702
|
+
-webkit-box-direction: reverse;
|
703
|
+
-ms-flex-direction: column-reverse;
|
704
|
+
flex-direction: column-reverse;
|
705
|
+
}
|
700
706
|
.e-splitter.e-splitter-vertical.e-pane.e-scrollable {
|
701
707
|
overflow: hidden;
|
702
708
|
}
|
@@ -561,6 +561,12 @@
|
|
561
561
|
-ms-flex-direction: column;
|
562
562
|
flex-direction: column;
|
563
563
|
}
|
564
|
+
.e-splitter.e-splitter-vertical.e-reverse {
|
565
|
+
-webkit-box-orient: vertical;
|
566
|
+
-webkit-box-direction: reverse;
|
567
|
+
-ms-flex-direction: column-reverse;
|
568
|
+
flex-direction: column-reverse;
|
569
|
+
}
|
564
570
|
.e-splitter.e-splitter-vertical.e-pane.e-scrollable {
|
565
571
|
overflow: hidden;
|
566
572
|
}
|
package/styles/tailwind3.css
CHANGED
@@ -690,6 +690,12 @@
|
|
690
690
|
-ms-flex-direction: column;
|
691
691
|
flex-direction: column;
|
692
692
|
}
|
693
|
+
.e-splitter.e-splitter-vertical.e-reverse {
|
694
|
+
-webkit-box-orient: vertical;
|
695
|
+
-webkit-box-direction: reverse;
|
696
|
+
-ms-flex-direction: column-reverse;
|
697
|
+
flex-direction: column-reverse;
|
698
|
+
}
|
693
699
|
.e-splitter.e-splitter-vertical.e-pane.e-scrollable {
|
694
700
|
overflow: hidden;
|
695
701
|
}
|
@@ -1,292 +0,0 @@
|
|
1
|
-
import { Component, Property, NotifyPropertyChanges, INotifyPropertyChanged, isUndefined } from '@syncfusion/ej2-base';import { Collection, Draggable, isNullOrUndefined, DragEventArgs, append, setValue } from '@syncfusion/ej2-base';import { EmitType, Event, formatUnit, ChildProperty, compile, closest, SanitizeHtmlHelper, getValue } from '@syncfusion/ej2-base';import { setStyleAttribute as setStyle, addClass, detach, removeClass, EventHandler, Browser, extend } from '@syncfusion/ej2-base';
|
2
|
-
import {ChangeEventArgs,DragStartArgs,DraggedEventArgs,DragStopArgs,ResizeArgs} from "./dashboard-layout";
|
3
|
-
import {ComponentModel} from '@syncfusion/ej2-base';
|
4
|
-
|
5
|
-
/**
|
6
|
-
* Interface for a class Panel
|
7
|
-
*/
|
8
|
-
export interface PanelModel {
|
9
|
-
|
10
|
-
/**
|
11
|
-
* Defines the id of the panel.
|
12
|
-
*
|
13
|
-
* @default ''
|
14
|
-
*/
|
15
|
-
id?: string;
|
16
|
-
|
17
|
-
/**
|
18
|
-
* Defines the CSS class name that can be appended with each panel element.
|
19
|
-
*
|
20
|
-
* @default ''
|
21
|
-
*/
|
22
|
-
cssClass?: string;
|
23
|
-
|
24
|
-
/**
|
25
|
-
* Defines the template value that should be displayed as the panel's header.
|
26
|
-
*
|
27
|
-
* @aspType string
|
28
|
-
*/
|
29
|
-
header?: string | HTMLElement | Function;
|
30
|
-
|
31
|
-
/**
|
32
|
-
* Defines the template value that should be displayed as the panel's content.
|
33
|
-
*
|
34
|
-
* @aspType string
|
35
|
-
*/
|
36
|
-
|
37
|
-
content?: string | HTMLElement | Function;
|
38
|
-
|
39
|
-
/**
|
40
|
-
* Defines whether to the panel should be enabled or not.
|
41
|
-
*
|
42
|
-
* @default true
|
43
|
-
*/
|
44
|
-
enabled?: boolean;
|
45
|
-
|
46
|
-
/**
|
47
|
-
* Defines a row value where the panel should be placed.
|
48
|
-
*
|
49
|
-
* @default 0
|
50
|
-
* @aspType int
|
51
|
-
*/
|
52
|
-
row?: number;
|
53
|
-
|
54
|
-
/**
|
55
|
-
* Defines the column value where the panel to be placed.
|
56
|
-
*
|
57
|
-
* @default 0
|
58
|
-
* @aspType int
|
59
|
-
*/
|
60
|
-
col?: number;
|
61
|
-
|
62
|
-
/**
|
63
|
-
* Specifies the width of the panel in the layout in cells count.
|
64
|
-
*
|
65
|
-
* @default 1
|
66
|
-
*/
|
67
|
-
sizeX?: number;
|
68
|
-
|
69
|
-
/**
|
70
|
-
* Specifies the height of the panel in the layout in cells count.
|
71
|
-
*
|
72
|
-
* @default 1
|
73
|
-
*/
|
74
|
-
sizeY?: number;
|
75
|
-
|
76
|
-
/**
|
77
|
-
* Specifies the minimum height of the panel in cells count.
|
78
|
-
*
|
79
|
-
* @default 1
|
80
|
-
*/
|
81
|
-
minSizeY?: number;
|
82
|
-
|
83
|
-
/**
|
84
|
-
* Specifies the minimum width of the panel in cells count.
|
85
|
-
*
|
86
|
-
* @default 1
|
87
|
-
*/
|
88
|
-
minSizeX?: number;
|
89
|
-
|
90
|
-
/**
|
91
|
-
* Specifies the maximum height of the panel in cells count.
|
92
|
-
*
|
93
|
-
* @default null
|
94
|
-
* @aspType int
|
95
|
-
*
|
96
|
-
*/
|
97
|
-
maxSizeY?: number;
|
98
|
-
|
99
|
-
/**
|
100
|
-
* Specifies the maximum width of the panel in cells count.
|
101
|
-
*
|
102
|
-
* @default null
|
103
|
-
* @aspType int
|
104
|
-
*/
|
105
|
-
maxSizeX?: number;
|
106
|
-
|
107
|
-
/**
|
108
|
-
* Specifies the z-index of the panel
|
109
|
-
*
|
110
|
-
* @default 1000
|
111
|
-
* @aspType double
|
112
|
-
*/
|
113
|
-
zIndex?: number;
|
114
|
-
|
115
|
-
}
|
116
|
-
|
117
|
-
/**
|
118
|
-
* Interface for a class DashboardLayout
|
119
|
-
*/
|
120
|
-
export interface DashboardLayoutModel extends ComponentModel{
|
121
|
-
|
122
|
-
/**
|
123
|
-
* If allowDragging is set to true, then the DashboardLayout allows you to drag and reorder the panels.
|
124
|
-
*
|
125
|
-
* @default true
|
126
|
-
*/
|
127
|
-
allowDragging?: boolean;
|
128
|
-
|
129
|
-
/**
|
130
|
-
* If allowResizing is set to true, then the DashboardLayout allows you to resize the panels.
|
131
|
-
*
|
132
|
-
* @default false
|
133
|
-
*/
|
134
|
-
allowResizing?: boolean;
|
135
|
-
|
136
|
-
/**
|
137
|
-
* If pushing is set to true, then the DashboardLayout allow to push the panels when panels collide
|
138
|
-
* while dragging or resizing the panels.
|
139
|
-
*
|
140
|
-
* @default true
|
141
|
-
* @private
|
142
|
-
*/
|
143
|
-
allowPushing?: boolean;
|
144
|
-
|
145
|
-
/**
|
146
|
-
* Defines whether to allow the cross-scripting site or not.
|
147
|
-
*
|
148
|
-
* @default true
|
149
|
-
*/
|
150
|
-
enableHtmlSanitizer?: boolean;
|
151
|
-
|
152
|
-
/**
|
153
|
-
* If allowFloating is set to true, then the DashboardLayout automatically move the panels upwards to fill the empty available
|
154
|
-
* cells while dragging or resizing the panels.
|
155
|
-
*
|
156
|
-
* @default true
|
157
|
-
*/
|
158
|
-
allowFloating?: boolean;
|
159
|
-
|
160
|
-
/**
|
161
|
-
* Defines the cell aspect ratio of the panel.
|
162
|
-
*
|
163
|
-
* @default 1
|
164
|
-
*/
|
165
|
-
cellAspectRatio?: number;
|
166
|
-
|
167
|
-
/**
|
168
|
-
* Defines the spacing between the panels.
|
169
|
-
*
|
170
|
-
* @default [5,5]
|
171
|
-
*/
|
172
|
-
cellSpacing?: number[];
|
173
|
-
|
174
|
-
/**
|
175
|
-
* Defines the number of columns to be created in the DashboardLayout.
|
176
|
-
*
|
177
|
-
* @default 1
|
178
|
-
*/
|
179
|
-
columns?: number;
|
180
|
-
|
181
|
-
/**
|
182
|
-
* Enables or disables the grid lines for the Dashboard Layout panels.
|
183
|
-
*
|
184
|
-
* @default false
|
185
|
-
*/
|
186
|
-
showGridLines?: boolean;
|
187
|
-
|
188
|
-
/**
|
189
|
-
* Defines the draggable handle selector which will act as dragging handler for the panels.
|
190
|
-
*
|
191
|
-
* @default null
|
192
|
-
*/
|
193
|
-
draggableHandle?: string;
|
194
|
-
|
195
|
-
/**
|
196
|
-
* Locale property.
|
197
|
-
* This is not a dashboard layout property.
|
198
|
-
*
|
199
|
-
* @default 'en-US'
|
200
|
-
* @private
|
201
|
-
*/
|
202
|
-
locale?: string;
|
203
|
-
|
204
|
-
/**
|
205
|
-
* Defines the media query value where the dashboardlayout becomes stacked layout when the resolution meets.
|
206
|
-
*
|
207
|
-
* @default 'max-width:600px'
|
208
|
-
*/
|
209
|
-
mediaQuery?: string;
|
210
|
-
|
211
|
-
/**
|
212
|
-
*
|
213
|
-
* Defines the panels property of the DashboardLayout component.
|
214
|
-
*
|
215
|
-
* @default null
|
216
|
-
*/
|
217
|
-
panels?: PanelModel[];
|
218
|
-
|
219
|
-
/**
|
220
|
-
* Defines the resizing handles directions used for resizing the panels.
|
221
|
-
*
|
222
|
-
* @default 'e-south-east'
|
223
|
-
*
|
224
|
-
*/
|
225
|
-
resizableHandles?: string[];
|
226
|
-
|
227
|
-
/**
|
228
|
-
* Triggers whenever the panels positions are changed.
|
229
|
-
*
|
230
|
-
* @event 'object'
|
231
|
-
*/
|
232
|
-
change?: EmitType<ChangeEventArgs>;
|
233
|
-
|
234
|
-
/**
|
235
|
-
* Triggers when a panel is about to drag.
|
236
|
-
*
|
237
|
-
* @event 'object'
|
238
|
-
*/
|
239
|
-
dragStart?: EmitType<DragStartArgs>;
|
240
|
-
|
241
|
-
/**
|
242
|
-
* Triggers while a panel is dragged continuously.
|
243
|
-
*
|
244
|
-
* @event 'object'
|
245
|
-
*/
|
246
|
-
drag?: EmitType<DraggedEventArgs>;
|
247
|
-
|
248
|
-
/**
|
249
|
-
* Triggers when a dragged panel is dropped.
|
250
|
-
*
|
251
|
-
* @event 'object'
|
252
|
-
*/
|
253
|
-
dragStop?: EmitType<DragStopArgs>;
|
254
|
-
|
255
|
-
/**
|
256
|
-
* Triggers when a panel is about to resize.
|
257
|
-
*
|
258
|
-
* @event 'object'
|
259
|
-
*/
|
260
|
-
resizeStart?: EmitType<ResizeArgs>;
|
261
|
-
|
262
|
-
/**
|
263
|
-
* Triggers when a panel is being resized continuously.
|
264
|
-
*
|
265
|
-
* @event 'object'
|
266
|
-
*/
|
267
|
-
resize?: EmitType<ResizeArgs>;
|
268
|
-
|
269
|
-
/**
|
270
|
-
* Triggers when a panel resize ends.
|
271
|
-
*
|
272
|
-
* @event 'object'
|
273
|
-
*/
|
274
|
-
resizeStop?: EmitType<ResizeArgs>;
|
275
|
-
|
276
|
-
/**
|
277
|
-
* Triggers when Dashboard Layout is created.
|
278
|
-
*
|
279
|
-
* @event 'object'
|
280
|
-
*/
|
281
|
-
|
282
|
-
created?: EmitType<Object>;
|
283
|
-
|
284
|
-
/**
|
285
|
-
* Triggers when Dashboard Layout is destroyed.
|
286
|
-
*
|
287
|
-
* @event 'object'
|
288
|
-
*/
|
289
|
-
|
290
|
-
destroyed?: EmitType<Object>;
|
291
|
-
|
292
|
-
}
|