jsl-ui 9.18.2 → 9.18.3
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/lib/grid.css +0 -8
- package/lib/index.css.map +1 -1
- package/lib/index.js +10198 -61
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/lib/components/IntervalComponent.d.ts +0 -17
- package/lib/components/IntervalComponent.js +0 -68
- package/lib/components/auto-suggest/AutoSuggestComponent.d.ts +0 -22
- package/lib/components/auto-suggest/AutoSuggestComponent.js +0 -49
- package/lib/components/button/ButtonComponent.d.ts +0 -18
- package/lib/components/button/ButtonComponent.js +0 -46
- package/lib/components/checkbox/CheckBoxComponent.d.ts +0 -28
- package/lib/components/checkbox/CheckBoxComponent.js +0 -94
- package/lib/components/checkbox/CheckBoxStyle.scss +0 -86
- package/lib/components/date/DateComponent.d.ts +0 -32
- package/lib/components/date/DateComponent.js +0 -106
- package/lib/components/date-range/DateRangeComponent.d.ts +0 -35
- package/lib/components/date-range/DateRangeComponent.js +0 -136
- package/lib/components/date-range/DateRangeStyle.scss +0 -12
- package/lib/components/date-time/DateTimeComponent.d.ts +0 -15
- package/lib/components/date-time/DateTimeComponent.js +0 -53
- package/lib/components/date-time/DateTimeStyle.scss +0 -7
- package/lib/components/dialog/DialogComponent.d.ts +0 -67
- package/lib/components/dialog/DialogComponent.js +0 -242
- package/lib/components/drop-down/DropDownComponent.d.ts +0 -27
- package/lib/components/drop-down/DropDownComponent.js +0 -74
- package/lib/components/expander/ExpanderComponent.d.ts +0 -27
- package/lib/components/expander/ExpanderComponent.js +0 -90
- package/lib/components/expander/ExpanderStyle.scss +0 -47
- package/lib/components/expander/OldExpanderStyle.scss +0 -37
- package/lib/components/form-field/FormComponent.d.ts +0 -12
- package/lib/components/form-field/FormComponent.js +0 -26
- package/lib/components/form-field/FormFieldComponent.d.ts +0 -38
- package/lib/components/form-field/FormFieldComponent.js +0 -139
- package/lib/components/form-field/FormFieldStyle.scss +0 -87
- package/lib/components/grid/GridComponent.d.ts +0 -26
- package/lib/components/grid/GridComponent.js +0 -116
- package/lib/components/input/InputComponent.d.ts +0 -33
- package/lib/components/input/InputComponent.js +0 -144
- package/lib/components/loading/LoadingComponent.d.ts +0 -8
- package/lib/components/loading/LoadingComponent.js +0 -22
- package/lib/components/loading/LoadingStyle.css +0 -29
- package/lib/components/navigation/NavigationComponent.d.ts +0 -34
- package/lib/components/navigation/NavigationComponent.js +0 -70
- package/lib/components/navigation/NavigationStyle.scss +0 -226
- package/lib/components/notification/Notification.d.ts +0 -17
- package/lib/components/notification/Notification.js +0 -56
- package/lib/components/notification/Notification.scss +0 -19
- package/lib/components/number/NumberComponent.d.ts +0 -25
- package/lib/components/number/NumberComponent.js +0 -87
- package/lib/components/overlay/OverlayComponent.d.ts +0 -27
- package/lib/components/overlay/OverlayComponent.js +0 -149
- package/lib/components/overlay/overlay.css +0 -57
- package/lib/components/progress/ProgressComponent.d.ts +0 -18
- package/lib/components/progress/ProgressComponent.js +0 -42
- package/lib/components/progress/ProgressStyle.scss +0 -15
- package/lib/components/ribbon-menu/RibbonMenuComponent.d.ts +0 -12
- package/lib/components/ribbon-menu/RibbonMenuComponent.js +0 -34
- package/lib/components/ribbon-menu/RibbonMenuStyle.scss +0 -76
- package/lib/components/select/SelectComponent.d.ts +0 -79
- package/lib/components/select/SelectComponent.js +0 -362
- package/lib/components/select/SelectDDAreaComponent.d.ts +0 -32
- package/lib/components/select/SelectDDAreaComponent.js +0 -317
- package/lib/components/select/SelectStyle.scss +0 -187
- package/lib/components/slider/nouislider.css +0 -310
- package/lib/components/slider/nouislider.d.ts +0 -44
- package/lib/components/slider/nouislider.js +0 -2158
- package/lib/components/stack-panel/SplitterComponent.d.ts +0 -21
- package/lib/components/stack-panel/SplitterComponent.js +0 -126
- package/lib/components/stack-panel/SplitterStyle.scss +0 -45
- package/lib/components/stack-panel/StackPanelComponent.d.ts +0 -20
- package/lib/components/stack-panel/StackPanelComponent.js +0 -64
- package/lib/components/stack-panel/StackPanelStyle.scss +0 -53
- package/lib/components/tabs/TabsComponent.d.ts +0 -39
- package/lib/components/tabs/TabsComponent.js +0 -177
- package/lib/components/tabs/TabsStyle.scss +0 -76
- package/lib/components/time/TimeComponent.d.ts +0 -29
- package/lib/components/time/TimeComponent.js +0 -113
- package/lib/components/time/TimeComponent.scss +0 -4
- package/lib/components/tree-view/TreeViewComponent.d.ts +0 -23
- package/lib/components/tree-view/TreeViewComponent.js +0 -45
- package/lib/components/tree-view/TreeViewStyle.scss +0 -96
- package/lib/components/virtual-render/VirtualRenderComponent.d.ts +0 -30
- package/lib/components/virtual-render/VirtualRenderComponent.js +0 -104
- package/lib/components/virtual-render/VirtualRenderStyle.scss +0 -9
- package/lib/core/culture.d.ts +0 -5
- package/lib/core/culture.js +0 -385
- package/lib/core/date.d.ts +0 -14
- package/lib/core/date.js +0 -350
- package/lib/core/helper.d.ts +0 -12
- package/lib/core/helper.js +0 -101
- package/lib/core/jq.d.ts +0 -37
- package/lib/core/jq.js +0 -371
- package/lib/core/lang.d.ts +0 -24
- package/lib/core/lang.js +0 -28
- package/lib/core/numeric.d.ts +0 -7
- package/lib/core/numeric.js +0 -143
- package/lib/core/polyfills.d.ts +0 -0
- package/lib/core/polyfills.js +0 -22
- package/lib/core.d.ts +0 -6
- package/lib/core.js +0 -6
- package/lib/grid/controls/slick.columnpicker.css +0 -46
- package/lib/grid/controls/slick.draggablegrouping.css +0 -52
- package/lib/grid/controls/slick.gridmenu.css +0 -127
- package/lib/grid/controls/slick.pager.css +0 -41
- package/lib/grid/examples/examples.css +0 -203
- package/lib/grid/filterDialogs/dateRangeFilter.d.ts +0 -7
- package/lib/grid/filterDialogs/dateRangeFilter.js +0 -156
- package/lib/grid/filterDialogs/excelFilter.d.ts +0 -9
- package/lib/grid/filterDialogs/excelFilter.js +0 -313
- package/lib/grid/plugins/ext.overlay.css +0 -28
- package/lib/grid/plugins/ext.overlay.d.ts +0 -2
- package/lib/grid/plugins/ext.overlay.js +0 -291
- package/lib/grid/plugins/slick.cellrangedecorator.d.ts +0 -12
- package/lib/grid/plugins/slick.cellrangedecorator.js +0 -68
- package/lib/grid/plugins/slick.cellrangeselector.d.ts +0 -1
- package/lib/grid/plugins/slick.cellrangeselector.js +0 -144
- package/lib/grid/plugins/slick.cellselectionmodel.d.ts +0 -1
- package/lib/grid/plugins/slick.cellselectionmodel.js +0 -194
- package/lib/grid/plugins/slick.headerbuttons.css +0 -40
- package/lib/grid/plugins/slick.headerbuttons.d.ts +0 -55
- package/lib/grid/plugins/slick.headerbuttons.js +0 -156
- package/lib/grid/plugins/slick.headermenu.css +0 -101
- package/lib/grid/plugins/slick.headermenu.d.ts +0 -74
- package/lib/grid/plugins/slick.headermenu.js +0 -260
- package/lib/grid/plugins/slick.rowdetailview.css +0 -37
- package/lib/grid/plugins/slick.rowmovemanager.css +0 -8
- package/lib/grid/plugins/slick.rowmovemanager.d.ts +0 -18
- package/lib/grid/plugins/slick.rowmovemanager.js +0 -249
- package/lib/grid/plugins/slick.rowselectionmodel.d.ts +0 -1
- package/lib/grid/plugins/slick.rowselectionmodel.js +0 -167
- package/lib/grid/slick-default-theme.css +0 -154
- package/lib/grid/slick.core.d.ts +0 -90
- package/lib/grid/slick.core.js +0 -574
- package/lib/grid/slick.creator.d.ts +0 -80
- package/lib/grid/slick.creator.js +0 -723
- package/lib/grid/slick.dataview.d.ts +0 -71
- package/lib/grid/slick.dataview.js +0 -1080
- package/lib/grid/slick.editors.core.d.ts +0 -4
- package/lib/grid/slick.editors.core.js +0 -232
- package/lib/grid/slick.editors.date.d.ts +0 -2
- package/lib/grid/slick.editors.date.js +0 -125
- package/lib/grid/slick.editors.lookup.d.ts +0 -14
- package/lib/grid/slick.editors.lookup.js +0 -353
- package/lib/grid/slick.editors.nav.d.ts +0 -6
- package/lib/grid/slick.editors.nav.js +0 -22
- package/lib/grid/slick.formatters.d.ts +0 -17
- package/lib/grid/slick.formatters.js +0 -137
- package/lib/grid/slick.grid.css +0 -325
- package/lib/grid/slick.grid.d.ts +0 -284
- package/lib/grid/slick.grid.js +0 -5395
- package/lib/grid/slick.groupitemmetadataprovider.d.ts +0 -39
- package/lib/grid/slick.groupitemmetadataprovider.js +0 -165
- package/lib/grid/slick.tree.css +0 -20
- package/lib/grid/slick.tree.d.ts +0 -33
- package/lib/grid/slick.tree.js +0 -220
- package/lib/grid.d.ts +0 -13
- package/lib/grid.js +0 -13
- package/lib/index.css +0 -2584
- package/lib/index.d.ts +0 -56
- package/lib/interaction/dataconverter.d.ts +0 -4
- package/lib/interaction/dataconverter.js +0 -1
- package/lib/interaction/eventhandler.d.ts +0 -13
- package/lib/interaction/eventhandler.js +0 -42
- package/lib/interaction/moveable.css +0 -0
- package/lib/interaction/moveable.d.ts +0 -39
- package/lib/interaction/moveable.js +0 -172
- package/lib/interaction/resizable.css +0 -33
- package/lib/interaction/resizable.d.ts +0 -37
- package/lib/interaction/resizable.js +0 -123
- package/lib/ui/auto.suggest.css +0 -14
- package/lib/ui/auto.suggest.d.ts +0 -17
- package/lib/ui/auto.suggest.js +0 -255
- package/lib/ui/base.css +0 -150
- package/lib/ui/date.picker/css/date-range-picker.css +0 -87
- package/lib/ui/date.picker/css/tiny-date-picker.css +0 -326
- package/lib/ui/date.picker/date-picker-options.d.ts +0 -11
- package/lib/ui/date.picker/date-picker-options.js +0 -76
- package/lib/ui/date.picker/lib/date-manip.d.ts +0 -74
- package/lib/ui/date.picker/lib/date-manip.js +0 -120
- package/lib/ui/date.picker/lib/dom.d.ts +0 -23
- package/lib/ui/date.picker/lib/dom.js +0 -28
- package/lib/ui/date.picker/lib/emitter.d.ts +0 -13
- package/lib/ui/date.picker/lib/emitter.js +0 -49
- package/lib/ui/date.picker/lib/fns.d.ts +0 -23
- package/lib/ui/date.picker/lib/fns.js +0 -43
- package/lib/ui/date.picker/mode/base-mode.d.ts +0 -26
- package/lib/ui/date.picker/mode/base-mode.js +0 -248
- package/lib/ui/date.picker/mode/dropdown-mode.d.ts +0 -28
- package/lib/ui/date.picker/mode/dropdown-mode.js +0 -50
- package/lib/ui/date.picker/mode/index.d.ts +0 -28
- package/lib/ui/date.picker/mode/index.js +0 -18
- package/lib/ui/date.picker/mode/modal-mode.d.ts +0 -25
- package/lib/ui/date.picker/mode/modal-mode.js +0 -17
- package/lib/ui/date.picker/mode/permanent-mode.d.ts +0 -29
- package/lib/ui/date.picker/mode/permanent-mode.js +0 -19
- package/lib/ui/date.picker/views/day-picker.d.ts +0 -40
- package/lib/ui/date.picker/views/day-picker.js +0 -155
- package/lib/ui/date.picker/views/month-picker.d.ts +0 -26
- package/lib/ui/date.picker/views/month-picker.js +0 -65
- package/lib/ui/date.picker/views/year-picker.d.ts +0 -20
- package/lib/ui/date.picker/views/year-picker.js +0 -66
- package/lib/ui/date.picker.d.ts +0 -66
- package/lib/ui/date.picker.js +0 -32
- package/lib/ui/dialog.css +0 -109
- package/lib/ui/dialog.d.ts +0 -22
- package/lib/ui/dialog.js +0 -113
- package/lib/ui/drop.down.css +0 -472
- package/lib/ui/drop.down.d.ts +0 -52
- package/lib/ui/drop.down.js +0 -2112
- package/lib/ui/number.input.css +0 -3
- package/lib/ui/number.input.d.ts +0 -12
- package/lib/ui/number.input.js +0 -64
- package/lib/ui/tabs.css +0 -53
package/lib/grid/slick.grid.css
DELETED
|
@@ -1,325 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
IMPORTANT:
|
|
3
|
-
In order to preserve the uniform grid appearance, all cell styles need to have padding, margin and border sizes.
|
|
4
|
-
No built-in (selected, editable, highlight, flashing, invalid, loading, :focus) or user-specified CSS
|
|
5
|
-
classes should alter those!
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
.slick-header.ui-state-default, .slick-headerrow.ui-state-default, .slick-footerrow.ui-state-default, .slick-top-panel-scroller.ui-state-default, .slick-group-header.ui-state-default {
|
|
9
|
-
width: 100%;
|
|
10
|
-
overflow: auto;
|
|
11
|
-
position: relative;
|
|
12
|
-
border-left: 0px !important;
|
|
13
|
-
background: white;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.slick-header.ui-state-default {
|
|
17
|
-
overflow: inherit;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.slick-header::-webkit-scrollbar, .slick-headerrow::-webkit-scrollbar, .slick-footerrow::-webkit-scrollbar {
|
|
21
|
-
display: none
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.slick-header-columns, .slick-headerrow-columns, .slick-footerrow-columns, .slick-group-header-columns {
|
|
25
|
-
position: relative;
|
|
26
|
-
white-space: nowrap;
|
|
27
|
-
cursor: default;
|
|
28
|
-
overflow: hidden;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.slick-header-column.ui-state-default, .slick-group-header-column.ui-state-default {
|
|
32
|
-
position: relative;
|
|
33
|
-
/* display: inline-block; */
|
|
34
|
-
box-sizing: content-box !important; /* this here only for Firefox! */
|
|
35
|
-
overflow: hidden;
|
|
36
|
-
-o-text-overflow: ellipsis;
|
|
37
|
-
text-overflow: ellipsis;
|
|
38
|
-
height: 20px;
|
|
39
|
-
line-height: 20px;
|
|
40
|
-
margin: 0;
|
|
41
|
-
padding: 4px;
|
|
42
|
-
border-right: 1px solid silver;
|
|
43
|
-
border-left: 0px !important;
|
|
44
|
-
border-top: 1px solid silver;
|
|
45
|
-
border-bottom: 0px !important;
|
|
46
|
-
float: left;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.slick-footerrow-column.ui-state-default {
|
|
50
|
-
-o-text-overflow: ellipsis;
|
|
51
|
-
text-overflow: ellipsis;
|
|
52
|
-
margin: 0;
|
|
53
|
-
padding: 4px;
|
|
54
|
-
border-right: 1px solid silver;
|
|
55
|
-
border-left: 0px;
|
|
56
|
-
border-top: 0px;
|
|
57
|
-
border-bottom: 0px;
|
|
58
|
-
float: left;
|
|
59
|
-
line-height: 20px;
|
|
60
|
-
vertical-align: middle;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.slick-headerrow-column.ui-state-default, .slick-footerrow-column.ui-state-default {
|
|
64
|
-
padding: 4px;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.slick-header-column-sorted {
|
|
68
|
-
font-style: italic;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.slick-sort-indicator {
|
|
72
|
-
/* display: inline-block; */
|
|
73
|
-
width: 8px;
|
|
74
|
-
height: 5px;
|
|
75
|
-
margin-left: 4px;
|
|
76
|
-
margin-top: 6px;
|
|
77
|
-
float: left;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.slick-sort-indicator-numbered {
|
|
81
|
-
/* display: inline-block; */
|
|
82
|
-
width: 8px;
|
|
83
|
-
height: 5px;
|
|
84
|
-
margin-left: 4px;
|
|
85
|
-
margin-top: 0;
|
|
86
|
-
line-height: 20px;
|
|
87
|
-
float: left;
|
|
88
|
-
font-style: normal;
|
|
89
|
-
font-weight: bold;
|
|
90
|
-
color: #6190CD;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
/* TODO TODOFIX */
|
|
95
|
-
/* .slick-sort-indicator-desc {
|
|
96
|
-
background: url(images/sort-desc.gif);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.slick-sort-indicator-asc {
|
|
100
|
-
background: url(images/sort-asc.gif);
|
|
101
|
-
} */
|
|
102
|
-
|
|
103
|
-
/* .slick-resizable-handle {
|
|
104
|
-
position: absolute;
|
|
105
|
-
font-size: 0.1px;
|
|
106
|
-
display: block;
|
|
107
|
-
cursor: col-resize;
|
|
108
|
-
width: 9px;
|
|
109
|
-
right: -5px;
|
|
110
|
-
top: 0;
|
|
111
|
-
height: 100%;
|
|
112
|
-
z-index: 1;
|
|
113
|
-
} */
|
|
114
|
-
|
|
115
|
-
.slick-sortable-placeholder {
|
|
116
|
-
background: silver;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.grid-canvas {
|
|
120
|
-
position: relative;
|
|
121
|
-
outline: 0;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.slick-row.ui-widget-content, .slick-row.ui-state-active {
|
|
125
|
-
position: absolute;
|
|
126
|
-
border: 0px;
|
|
127
|
-
width: 100%;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.slick-cell, .slick-headerrow-column , .slick-footerrow-column{
|
|
131
|
-
position: absolute;
|
|
132
|
-
border: 1px solid transparent;
|
|
133
|
-
/*border-right: 1px dotted silver;
|
|
134
|
-
border-bottom-color: silver; */
|
|
135
|
-
border-right: 1px dotted silver;
|
|
136
|
-
overflow: hidden;
|
|
137
|
-
-o-text-overflow: ellipsis;
|
|
138
|
-
text-overflow: ellipsis;
|
|
139
|
-
vertical-align: middle;
|
|
140
|
-
z-index: 1;
|
|
141
|
-
padding: 1px 2px 2px 1px;
|
|
142
|
-
margin: 0;
|
|
143
|
-
white-space: nowrap;
|
|
144
|
-
cursor: default;
|
|
145
|
-
}
|
|
146
|
-
/*.slick-cell, */.slick-headerrow-column{
|
|
147
|
-
border-bottom-color: silver;
|
|
148
|
-
}
|
|
149
|
-
.slick-footerrow-column {
|
|
150
|
-
border-top-color: silver;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.slick-group-toggle {
|
|
154
|
-
display: inline-block;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.slick-cell.highlighted {
|
|
158
|
-
background: lightskyblue;
|
|
159
|
-
background: rgba(0, 0, 255, 0.2);
|
|
160
|
-
-webkit-transition: all 0.5s;
|
|
161
|
-
-moz-transition: all 0.5s;
|
|
162
|
-
-o-transition: all 0.5s;
|
|
163
|
-
transition: all 0.5s;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.slick-cell.flashing {
|
|
167
|
-
border: 1px solid red !important;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.slick-cell.editable {
|
|
171
|
-
z-index: 11;
|
|
172
|
-
overflow: visible;
|
|
173
|
-
/* background: white;
|
|
174
|
-
border-color: black;
|
|
175
|
-
border-style: solid; */
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.slick-cell:focus {
|
|
179
|
-
outline: none;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.slick-reorder-proxy {
|
|
183
|
-
display: inline-block;
|
|
184
|
-
background: blue;
|
|
185
|
-
opacity: 0.15;
|
|
186
|
-
filter: alpha(opacity = 15);
|
|
187
|
-
cursor: move;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.slick-reorder-guide {
|
|
191
|
-
display: inline-block;
|
|
192
|
-
height: 2px;
|
|
193
|
-
background: blue;
|
|
194
|
-
opacity: 0.7;
|
|
195
|
-
filter: alpha(opacity = 70);
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.slick-selection {
|
|
199
|
-
z-index: 10;
|
|
200
|
-
position: absolute;
|
|
201
|
-
border: 2px dashed black;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.slick-pane {
|
|
205
|
-
position: absolute;
|
|
206
|
-
outline: 0;
|
|
207
|
-
overflow: hidden;
|
|
208
|
-
width: 100%;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.slick-pane-header {
|
|
212
|
-
display: block;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.slick-header, .slick-headerrow, .slick-top-panel-scroller {
|
|
216
|
-
overflow: hidden;
|
|
217
|
-
position: relative;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
.slick-top-panel {
|
|
221
|
-
width: 10000px
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
.slick-viewport {
|
|
225
|
-
position: relative;
|
|
226
|
-
outline: 0;
|
|
227
|
-
width: 100%;
|
|
228
|
-
background: white;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.slick-wrap {
|
|
232
|
-
white-space: normal;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
/* Slick.Editors.Text, Slick.Editors.Date */
|
|
236
|
-
input.editor-text, textarea.editor-text {
|
|
237
|
-
width: 100%;
|
|
238
|
-
height: 100%;
|
|
239
|
-
border: 0;
|
|
240
|
-
margin: 0;
|
|
241
|
-
background: transparent;
|
|
242
|
-
outline: 0;
|
|
243
|
-
padding: 0;
|
|
244
|
-
resize: none;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
.slick-cell .jsl-container {
|
|
248
|
-
position: absolute;
|
|
249
|
-
left:0;
|
|
250
|
-
right:0;
|
|
251
|
-
bottom:0;
|
|
252
|
-
top:0;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
.slick-cell .jsl-container .jsl-selected {
|
|
256
|
-
padding: 0;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
.slickgrid {
|
|
260
|
-
box-sizing: border-box;
|
|
261
|
-
border: solid 1px #b0b0b0;
|
|
262
|
-
border-radius: 3px;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
.slick-col-ghost {
|
|
266
|
-
box-sizing: content-box;
|
|
267
|
-
position: absolute;
|
|
268
|
-
pointer-events: none;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
.slick-ghost-content {
|
|
272
|
-
border: solid 2px #bbbbbb;
|
|
273
|
-
background: rgba(200,200,200,0.5);
|
|
274
|
-
position: absolute;
|
|
275
|
-
left: 0;
|
|
276
|
-
right: 0;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
.editor-text {
|
|
280
|
-
font-size: 100%;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
.slick-filtered-header {
|
|
284
|
-
color: #3B99FF;
|
|
285
|
-
background: #e7e7e7;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
.slick-preheader-panel .slick-column-name {
|
|
289
|
-
text-align: center;
|
|
290
|
-
float: none;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
.slick-header-column.resizable > .rs-r {
|
|
294
|
-
background: none;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
/* .slick-header-column:hover.resizable > .rs-r {
|
|
298
|
-
background: rgba(20,20,20,0.3);
|
|
299
|
-
} */
|
|
300
|
-
|
|
301
|
-
.js-touch .slick-header-column > .slick-header-menubutton {
|
|
302
|
-
display: inline-block;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
.js-touch .slick-header-column.resizable>.rs-r {
|
|
306
|
-
/* background: rgba(20,20,20,.3);
|
|
307
|
-
background-size: 0.9em 0.5em;
|
|
308
|
-
background-position: center center; */
|
|
309
|
-
|
|
310
|
-
background: rgba(0,0,0,0.04);
|
|
311
|
-
background-size: 0.5em 0.3em;
|
|
312
|
-
background-position: right center;
|
|
313
|
-
|
|
314
|
-
background: transparent;
|
|
315
|
-
background-size: 0.5em 0.3em;
|
|
316
|
-
background-position: right center;
|
|
317
|
-
|
|
318
|
-
width: 1.2rem;
|
|
319
|
-
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAYCAYAAACbU/80AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAMNSURBVEhLxVY7i1NBGM3NwzyMINiIjSKoC9tIBEG02FgkIeSxpJBlS7sV1s5fIRZqYWFhtYssEggJ5IEaFxERYdXWam1EkQVh82Lz8pzJl3jvzb1JjK8DA/lOZuacO/PNN+Po9/tT29LSktuKt2vov4B2xeo/c3M6piASiawHg8G9eDweEmoi2A/936G9wNg1oW2h0YUdKB4IBO45nU5Ht9s9ACLFYnFb/h4DxT0ez2uXy3WIca/XczQajZuVSuW+6mABWwPRaPSa3+9/DHFNKEe73a7XarWj1Wq1I5QByWQyBwMpCRVoAubL4K9ns9nPQo9guQVW4pwIK7BuJ05AZK3T6exIqMDVAx8Fn89kMieEHmHMQCwWuwrxTbM4l7JcLj8SyhL8QrfbncRKbXGMHuBDMLFtNmHYAor7fL4KxF1CKWDCcj6fj0k4EyR/7uo/hICJXZi5PNyO0Qowgbxeb8ksjgEfuH8SzgwmXrPZXMFKGJIM4qeQE+/T6fRJxmoFwuHwcRybjxA6onoJzG7ngeQTt9TwYcin3Xq9fkZLJBLnEL+C02MQG/wLaJr2HYMWf0d8CJyON5jrooQK/HC0r1oqlarh3B4W/p/D+T/Fiaml+G9jZIB7guwctT8NzNnTz48E5/Het80BZOnbQqFgSJx5wMIDsWdI8AWhFCiOsn6WK7AIR3sD+icwIIQjlJFwLoh43iyOE9eFgWWU9S/OXC73CdwFmPg2+HsAnluc3yc8x0L9MiBymx8ioQLFW61WpFQqPWescoAmsA3nWXgYDwETGi8lllWhZgbfAphzVUIFVkVUx9WhOGG4C2TJXsL1aaEUMJCJs4lKeWuWwmRzm1J8BRfallAKY+8B3b6NvYDA74BPTjKBCy2OC61gEudtegP3wwOhRhirA5ycIrwBOVAPmgL/UEJLYJU2LMT5KhoTJywLEU3w+uVAvQn8ZvbekdASWKVlbNeBhNy68qQnmaWBITiQJiBK4Y4+e+3ANyP6XkLbR3s69SqXW2li4xN71mf2sKG/z4o3tr7jB/mDdb4DhXtsAAAAAElFTkSuQmCC');
|
|
320
|
-
background-repeat: no-repeat;
|
|
321
|
-
}
|
|
322
|
-
.js-touch .slick-header-menubutton.resize-offset {
|
|
323
|
-
right: 1.2rem;
|
|
324
|
-
width: 1.2rem;
|
|
325
|
-
}
|
package/lib/grid/slick.grid.d.ts
DELETED
|
@@ -1,284 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* (c) 2009-2016 Michael Leibman
|
|
4
|
-
* michael{dot}leibman{at}gmail{dot}com
|
|
5
|
-
* http://github.com/mleibman/slickgrid
|
|
6
|
-
*
|
|
7
|
-
* Distributed under MIT license.
|
|
8
|
-
* All rights reserved.
|
|
9
|
-
*
|
|
10
|
-
* SlickGrid v2.4
|
|
11
|
-
*/
|
|
12
|
-
import { ISlickColumn, ISlickFormatter, ISlickEvent } from "./slick.core";
|
|
13
|
-
import "./slick.grid.css";
|
|
14
|
-
import "./slick-default-theme.css";
|
|
15
|
-
export interface ISlickGridOptions {
|
|
16
|
-
syncColumnCellResize?: boolean;
|
|
17
|
-
alwaysShowVerticalScroll?: boolean;
|
|
18
|
-
alwaysShowHorizontalScroll?: boolean;
|
|
19
|
-
alwaysAllowHorizontalScroll?: boolean;
|
|
20
|
-
explicitInitialization?: boolean;
|
|
21
|
-
rowHeight?: number;
|
|
22
|
-
defaultColumnWidth?: number;
|
|
23
|
-
enableAddRow?: boolean;
|
|
24
|
-
leaveSpaceForNewRows?: boolean;
|
|
25
|
-
editable?: boolean;
|
|
26
|
-
autoEdit?: boolean;
|
|
27
|
-
suppressActiveCellChangeOnEdit?: boolean;
|
|
28
|
-
enableCellNavigation?: boolean;
|
|
29
|
-
enableColumnReorder?: boolean;
|
|
30
|
-
asyncEditorLoading?: boolean;
|
|
31
|
-
asyncEditorLoadDelay?: number;
|
|
32
|
-
forceFitColumns?: boolean;
|
|
33
|
-
enableAsyncPostRender?: boolean;
|
|
34
|
-
asyncPostRenderDelay?: number;
|
|
35
|
-
enableAsyncPostRenderCleanup?: boolean;
|
|
36
|
-
asyncPostRenderCleanupDelay?: number;
|
|
37
|
-
autoHeight?: boolean;
|
|
38
|
-
editorLock?: any;
|
|
39
|
-
showHeaderRow?: boolean;
|
|
40
|
-
headerRowHeight?: number;
|
|
41
|
-
createFooterRow?: boolean;
|
|
42
|
-
showFooterRow?: boolean;
|
|
43
|
-
footerRowHeight?: number;
|
|
44
|
-
createPreHeaderPanel?: boolean;
|
|
45
|
-
showPreHeaderPanel?: boolean;
|
|
46
|
-
preHeaderPanelHeight?: number;
|
|
47
|
-
showTopPanel?: boolean;
|
|
48
|
-
topPanelHeight?: number;
|
|
49
|
-
formatterFactory?: {
|
|
50
|
-
getFormatter: (column: ISlickColumn, row?: number) => ISlickFormatter;
|
|
51
|
-
};
|
|
52
|
-
editorFactory?: {
|
|
53
|
-
getEditor: (column: ISlickColumn, row?: number) => any;
|
|
54
|
-
};
|
|
55
|
-
cellFlashingCssClass?: string;
|
|
56
|
-
selectedCellCssClass?: string;
|
|
57
|
-
multiSelect?: boolean;
|
|
58
|
-
enableTextSelectionOnCells?: boolean;
|
|
59
|
-
dataItemColumnValueExtractor?: (item: any, columnDef: ISlickColumn) => any;
|
|
60
|
-
frozenBottom?: boolean;
|
|
61
|
-
frozenColumn?: number;
|
|
62
|
-
frozenRow?: number;
|
|
63
|
-
fullWidthRows?: boolean;
|
|
64
|
-
multiColumnSort?: boolean;
|
|
65
|
-
numberedMultiColumnSort?: boolean;
|
|
66
|
-
tristateMultiColumnSort?: boolean;
|
|
67
|
-
sortColNumberInSeparateSpan?: boolean;
|
|
68
|
-
defaultFormatter?: ISlickFormatter;
|
|
69
|
-
forceSyncScrolling?: boolean;
|
|
70
|
-
addNewRowCssClass?: string;
|
|
71
|
-
preserveCopiedSelectionOnPaste?: boolean;
|
|
72
|
-
showCellSelection?: boolean;
|
|
73
|
-
viewportClass?: string;
|
|
74
|
-
minRowBuffer?: number;
|
|
75
|
-
emulatePagingWhenScrolling?: boolean;
|
|
76
|
-
editorCellNavOnLRKeys?: boolean;
|
|
77
|
-
doPaging?: boolean;
|
|
78
|
-
resizeHandleWidth?: string;
|
|
79
|
-
variableRowHeight?: boolean;
|
|
80
|
-
editCommandHandler?: (item: any, column: ISlickColumn, editCommand: any) => void;
|
|
81
|
-
resizeDelta?: number;
|
|
82
|
-
dragDelta?: number;
|
|
83
|
-
}
|
|
84
|
-
export interface ISlickGrid<T> {
|
|
85
|
-
"slickGridVersion": string;
|
|
86
|
-
"onScroll": ISlickEvent<{
|
|
87
|
-
scrollLeft: number;
|
|
88
|
-
scrollTop: number;
|
|
89
|
-
}>;
|
|
90
|
-
"onSort": ISlickEvent<{
|
|
91
|
-
multiColumnSort: boolean;
|
|
92
|
-
columnId?: string;
|
|
93
|
-
sortCol?: ISlickColumn;
|
|
94
|
-
sortAsc?: boolean;
|
|
95
|
-
sortCols?: Array<{
|
|
96
|
-
columnId?: string;
|
|
97
|
-
sortCol?: ISlickColumn;
|
|
98
|
-
sortAsc?: boolean;
|
|
99
|
-
}>;
|
|
100
|
-
}>;
|
|
101
|
-
"onAppendRow": ISlickEvent<{
|
|
102
|
-
row: number;
|
|
103
|
-
item: T;
|
|
104
|
-
}>;
|
|
105
|
-
"onBeforeRemoveRow": ISlickEvent<{
|
|
106
|
-
row: number;
|
|
107
|
-
dom: HTMLDivElement;
|
|
108
|
-
}>;
|
|
109
|
-
"onClick": ISlickEvent<{
|
|
110
|
-
row: number;
|
|
111
|
-
cell: number;
|
|
112
|
-
}>;
|
|
113
|
-
"onDblClick": ISlickEvent<{
|
|
114
|
-
row: number;
|
|
115
|
-
cell: number;
|
|
116
|
-
}>;
|
|
117
|
-
"onColumnsResized": ISlickEvent<{
|
|
118
|
-
cell: number;
|
|
119
|
-
width: number;
|
|
120
|
-
previousWidth: number;
|
|
121
|
-
column: ISlickColumn;
|
|
122
|
-
}[]>;
|
|
123
|
-
"onAppendCell": ISlickEvent<{
|
|
124
|
-
row: number;
|
|
125
|
-
cell: number;
|
|
126
|
-
value: any;
|
|
127
|
-
item: T;
|
|
128
|
-
column: ISlickColumn;
|
|
129
|
-
dom: HTMLDivElement;
|
|
130
|
-
}>;
|
|
131
|
-
"onCellChange": ISlickEvent<{
|
|
132
|
-
row: number;
|
|
133
|
-
cell: number;
|
|
134
|
-
item: T;
|
|
135
|
-
value: any;
|
|
136
|
-
}>;
|
|
137
|
-
"onAddNewRow": ISlickEvent<{
|
|
138
|
-
item: T;
|
|
139
|
-
column: ISlickColumn;
|
|
140
|
-
}>;
|
|
141
|
-
"onHeaderRowCellRendered": ISlickEvent<{
|
|
142
|
-
node: HTMLElement;
|
|
143
|
-
column: ISlickColumn;
|
|
144
|
-
grid: ISlickGrid<T>;
|
|
145
|
-
}>;
|
|
146
|
-
"onFooterRowCellRendered": ISlickEvent<{
|
|
147
|
-
node: HTMLElement;
|
|
148
|
-
column: ISlickColumn;
|
|
149
|
-
grid: ISlickGrid<T>;
|
|
150
|
-
}>;
|
|
151
|
-
"onHeaderCellRendered": ISlickEvent<{
|
|
152
|
-
node: HTMLElement;
|
|
153
|
-
column: ISlickColumn;
|
|
154
|
-
grid: ISlickGrid<T>;
|
|
155
|
-
}>;
|
|
156
|
-
"onBeforeEditCell": ISlickEvent<{
|
|
157
|
-
row: number;
|
|
158
|
-
cell: number;
|
|
159
|
-
item: T;
|
|
160
|
-
column: ISlickColumn;
|
|
161
|
-
}>;
|
|
162
|
-
"onSelectedRowsChanged": ISlickEvent<{
|
|
163
|
-
rows: number[];
|
|
164
|
-
}>;
|
|
165
|
-
"onBeforeDestroy": ISlickEvent<any>;
|
|
166
|
-
"onColumnsReordered": ISlickEvent<any>;
|
|
167
|
-
"onViewportChanged": ISlickEvent<any>;
|
|
168
|
-
"onActiveCellChanged": ISlickEvent<{
|
|
169
|
-
row: number;
|
|
170
|
-
cell: number;
|
|
171
|
-
}>;
|
|
172
|
-
"onDragInit": ISlickEvent<any>;
|
|
173
|
-
"onDragStart": ISlickEvent<any>;
|
|
174
|
-
"onDrag": ISlickEvent<any>;
|
|
175
|
-
"onDragEnd": ISlickEvent<any>;
|
|
176
|
-
"registerPlugin": (plugin: any) => void;
|
|
177
|
-
"init": () => void;
|
|
178
|
-
"resizeCanvas": () => void;
|
|
179
|
-
"invalidate": () => void;
|
|
180
|
-
"invalidateAllRows": () => void;
|
|
181
|
-
"updateRow": (row: number) => void;
|
|
182
|
-
"getColumns": () => ISlickColumn[];
|
|
183
|
-
"setColumns": (columns: ISlickColumn[]) => void;
|
|
184
|
-
"getSelectedRows": () => number[];
|
|
185
|
-
"setSelectedRows": (rows: number[]) => void;
|
|
186
|
-
"invalidateRows": (rows: number[]) => void;
|
|
187
|
-
"render": () => void;
|
|
188
|
-
"updateRowCount": () => void;
|
|
189
|
-
"getColumnIndex": (columnId: string) => number;
|
|
190
|
-
"scrollRowIntoView": (row: number, doPaging?: boolean) => void;
|
|
191
|
-
"flashCell": (row: number, cell: number, speed?: number, times?: number) => void;
|
|
192
|
-
"getActiveCell": () => {
|
|
193
|
-
row: number;
|
|
194
|
-
cell: number;
|
|
195
|
-
};
|
|
196
|
-
"setActiveCell": (row: number, cell: number, opt_editMode?: boolean, preClickModeOn?: boolean, suppressActiveCellChangedEvent?: boolean) => void;
|
|
197
|
-
"gotoCell": (row: number, cell: number, forceEdit?: boolean, e?: any) => void;
|
|
198
|
-
"destroy": () => void;
|
|
199
|
-
"getColumnById": (id: string) => ISlickColumn;
|
|
200
|
-
"getHeaderColumnWidthDiff": () => number;
|
|
201
|
-
"getPreHeaderPanel": () => HTMLDivElement;
|
|
202
|
-
"getPreHeaderPanelRight": () => HTMLDivElement;
|
|
203
|
-
"getHeadersWidth": () => number;
|
|
204
|
-
"getViewportNode": () => HTMLDivElement;
|
|
205
|
-
"updateColumnHeader": (columnId: string, title: string, toolTip: string) => void;
|
|
206
|
-
"setSortColumn": (columnId: string, ascending?: boolean) => void;
|
|
207
|
-
"setSortColumns": (columns: Array<{
|
|
208
|
-
columnId: string;
|
|
209
|
-
ascending?: boolean;
|
|
210
|
-
}>) => void;
|
|
211
|
-
"getSortColumns": () => Array<{
|
|
212
|
-
columnId: string;
|
|
213
|
-
ascending?: boolean;
|
|
214
|
-
}>;
|
|
215
|
-
"autosizeColumns": () => void;
|
|
216
|
-
"setOptions": (args: ISlickGridOptions, supressRender?: boolean) => void;
|
|
217
|
-
"getOptions": () => ISlickGridOptions;
|
|
218
|
-
"scrollRowToTop": (row: number) => void;
|
|
219
|
-
"scrollCellIntoView": (row: number, cell: number, doPaging?: boolean) => void;
|
|
220
|
-
"scrollColumnIntoView": (cell: number) => void;
|
|
221
|
-
"getCellFromPoint": (x: number, y: number) => {
|
|
222
|
-
row: number;
|
|
223
|
-
cell: number;
|
|
224
|
-
};
|
|
225
|
-
"getCellFromEvent": (e: any, dd: any) => {
|
|
226
|
-
row: number;
|
|
227
|
-
cell: number;
|
|
228
|
-
};
|
|
229
|
-
"getActiveCellNode": () => HTMLElement;
|
|
230
|
-
"getDataLength": () => number;
|
|
231
|
-
"getDataItem": (idx: number) => T;
|
|
232
|
-
"getSelectionModel": () => any;
|
|
233
|
-
"setSelectionModel": (model: any) => void;
|
|
234
|
-
"getContainerNode": () => HTMLDivElement;
|
|
235
|
-
"getDataItemValueForColumn": (item: T, columnDef: ISlickColumn) => any;
|
|
236
|
-
"getViewport": (viewPortTop?: number, viewPortLeft?: number) => {
|
|
237
|
-
top: number;
|
|
238
|
-
bottom: number;
|
|
239
|
-
leftPx: number;
|
|
240
|
-
rightPx: number;
|
|
241
|
-
};
|
|
242
|
-
"getRenderedRange": (viewportTop?: number, viewportLeft?: number) => {
|
|
243
|
-
top: number;
|
|
244
|
-
bottom: number;
|
|
245
|
-
leftPx: number;
|
|
246
|
-
rightPx: number;
|
|
247
|
-
};
|
|
248
|
-
"getEditController": () => {
|
|
249
|
-
commitCurrentEdit: () => boolean;
|
|
250
|
-
cancelCurrentEdit: () => boolean;
|
|
251
|
-
};
|
|
252
|
-
"invalidateRow": (row: number) => void;
|
|
253
|
-
"getCanvasNode": (columnIdOrIdx?: number, rowIndex?: number) => HTMLElement;
|
|
254
|
-
"focus": () => void;
|
|
255
|
-
"getActiveCellPosition": () => {
|
|
256
|
-
top: number;
|
|
257
|
-
left: number;
|
|
258
|
-
bottom: number;
|
|
259
|
-
right: number;
|
|
260
|
-
width: number;
|
|
261
|
-
height: number;
|
|
262
|
-
visible: boolean;
|
|
263
|
-
};
|
|
264
|
-
"resetActiveCell": () => void;
|
|
265
|
-
"getCellNodeBox": (row: number, cell: number) => {
|
|
266
|
-
bottom: number;
|
|
267
|
-
left: number;
|
|
268
|
-
top: number;
|
|
269
|
-
right: number;
|
|
270
|
-
height: number;
|
|
271
|
-
width: number;
|
|
272
|
-
};
|
|
273
|
-
"canCellBeSelected": (row: number, cell: number) => boolean;
|
|
274
|
-
"getGridPosition": () => {
|
|
275
|
-
top: number;
|
|
276
|
-
left: number;
|
|
277
|
-
bottom: number;
|
|
278
|
-
right: number;
|
|
279
|
-
width: number;
|
|
280
|
-
height: number;
|
|
281
|
-
visible: boolean;
|
|
282
|
-
};
|
|
283
|
-
}
|
|
284
|
-
export declare function SlickGrid(container: HTMLDivElement | string, data: any, columns: ISlickColumn[], options: ISlickGridOptions): void;
|