@swimlane/ngx-datatable 20.1.0 → 21.0.0-alpha.1
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/CHANGELOG.md +720 -0
- package/README.md +25 -4
- package/assets/app.css +4 -3
- package/assets/icons-reference.html +5 -1
- package/assets/icons.css +3 -2
- package/{fesm2020 → fesm2022}/swimlane-ngx-datatable.mjs +3404 -2536
- package/fesm2022/swimlane-ngx-datatable.mjs.map +1 -0
- package/index.css +224 -169
- package/index.scss +13 -3
- package/lib/components/body/body-cell.component.d.ts +28 -23
- package/lib/components/body/body-group-header-template.directive.d.ts +3 -4
- package/lib/components/body/body-group-header.directive.d.ts +14 -9
- package/lib/components/body/body-row-def.component.d.ts +34 -0
- package/lib/components/body/body-row-wrapper.component.d.ts +34 -22
- package/lib/components/body/body-row.component.d.ts +28 -34
- package/lib/components/body/body.component.d.ts +88 -69
- package/lib/components/body/ghost-loader/ghost-loader.component.d.ts +12 -0
- package/lib/components/body/progress-bar.component.d.ts +1 -1
- package/lib/components/body/scroller.component.d.ts +4 -7
- package/lib/components/body/selection.component.d.ts +21 -25
- package/lib/components/body/summary/summary-row.component.d.ts +4 -3
- package/lib/components/columns/column-cell.directive.d.ts +4 -3
- package/lib/components/columns/column-ghost-cell.directive.d.ts +6 -0
- package/lib/components/columns/column-header.directive.d.ts +3 -4
- package/lib/components/columns/column.directive.d.ts +43 -18
- package/lib/components/columns/tree.directive.d.ts +1 -2
- package/lib/components/datatable.component.d.ts +142 -76
- package/lib/components/footer/footer-template.directive.d.ts +3 -4
- package/lib/components/footer/footer.component.d.ts +3 -2
- package/lib/components/footer/footer.directive.d.ts +6 -4
- package/lib/components/footer/pager.component.d.ts +6 -4
- package/lib/components/header/header-cell.component.d.ts +18 -18
- package/lib/components/header/header.component.d.ts +41 -36
- package/lib/components/row-detail/row-detail-template.directive.d.ts +3 -4
- package/lib/components/row-detail/row-detail.directive.d.ts +9 -8
- package/lib/directives/disable-row.directive.d.ts +22 -0
- package/lib/directives/draggable.directive.d.ts +11 -8
- package/lib/directives/long-press.directive.d.ts +16 -5
- package/lib/directives/orderable.directive.d.ts +21 -10
- package/lib/directives/resizeable.directive.d.ts +7 -5
- package/lib/directives/visibility.directive.d.ts +2 -3
- package/lib/ngx-datatable.module.d.ts +29 -30
- package/lib/services/scrollbar-helper.service.d.ts +0 -1
- package/lib/types/internal.types.d.ts +31 -0
- package/lib/types/public.types.d.ts +142 -0
- package/lib/types/table-column.type.d.ts +39 -66
- package/lib/utils/column-helper.d.ts +2 -2
- package/lib/utils/column-prop-getters.d.ts +1 -1
- package/lib/utils/column.d.ts +7 -14
- package/lib/utils/keys.d.ts +6 -6
- package/lib/utils/math.d.ts +4 -3
- package/lib/utils/selection.d.ts +2 -2
- package/lib/utils/sort.d.ts +5 -5
- package/lib/utils/table-token.d.ts +7 -0
- package/lib/utils/tree.d.ts +2 -2
- package/package.json +9 -17
- package/public-api.d.ts +4 -11
- package/themes/_ghost.scss +22 -0
- package/themes/_rows.scss +22 -0
- package/themes/bootstrap.css +117 -65
- package/themes/bootstrap.scss +27 -3
- package/themes/dark.css +101 -70
- package/themes/dark.scss +12 -0
- package/themes/material.css +344 -260
- package/themes/material.scss +52 -11
- package/esm2020/lib/components/body/body-cell.component.mjs +0 -432
- package/esm2020/lib/components/body/body-group-header-template.directive.mjs +0 -16
- package/esm2020/lib/components/body/body-group-header.directive.mjs +0 -62
- package/esm2020/lib/components/body/body-row-wrapper.component.mjs +0 -140
- package/esm2020/lib/components/body/body-row.component.mjs +0 -262
- package/esm2020/lib/components/body/body.component.mjs +0 -863
- package/esm2020/lib/components/body/progress-bar.component.mjs +0 -27
- package/esm2020/lib/components/body/scroller.component.mjs +0 -91
- package/esm2020/lib/components/body/selection.component.mjs +0 -150
- package/esm2020/lib/components/body/summary/summary-row.component.mjs +0 -105
- package/esm2020/lib/components/columns/column-cell.directive.mjs +0 -14
- package/esm2020/lib/components/columns/column-header.directive.mjs +0 -14
- package/esm2020/lib/components/columns/column.directive.mjs +0 -98
- package/esm2020/lib/components/columns/tree.directive.mjs +0 -14
- package/esm2020/lib/components/datatable.component.mjs +0 -1008
- package/esm2020/lib/components/footer/footer-template.directive.mjs +0 -14
- package/esm2020/lib/components/footer/footer.component.mjs +0 -128
- package/esm2020/lib/components/footer/footer.directive.mjs +0 -35
- package/esm2020/lib/components/footer/pager.component.mjs +0 -181
- package/esm2020/lib/components/header/header-cell.component.mjs +0 -243
- package/esm2020/lib/components/header/header.component.mjs +0 -376
- package/esm2020/lib/components/row-detail/row-detail-template.directive.mjs +0 -16
- package/esm2020/lib/components/row-detail/row-detail.directive.mjs +0 -63
- package/esm2020/lib/directives/draggable.directive.mjs +0 -108
- package/esm2020/lib/directives/long-press.directive.mjs +0 -117
- package/esm2020/lib/directives/orderable.directive.mjs +0 -136
- package/esm2020/lib/directives/resizeable.directive.mjs +0 -93
- package/esm2020/lib/directives/visibility.directive.mjs +0 -63
- package/esm2020/lib/events.mjs +0 -7
- package/esm2020/lib/ngx-datatable.module.mjs +0 -139
- package/esm2020/lib/services/column-changes.service.mjs +0 -24
- package/esm2020/lib/services/dimensions-helper.service.mjs +0 -17
- package/esm2020/lib/services/scrollbar-helper.service.mjs +0 -37
- package/esm2020/lib/types/click.type.mjs +0 -6
- package/esm2020/lib/types/column-mode.type.mjs +0 -7
- package/esm2020/lib/types/contextmenu.type.mjs +0 -6
- package/esm2020/lib/types/selection.type.mjs +0 -9
- package/esm2020/lib/types/sort-direction.type.mjs +0 -6
- package/esm2020/lib/types/sort-prop-dir.type.mjs +0 -2
- package/esm2020/lib/types/sort.type.mjs +0 -6
- package/esm2020/lib/types/table-column.type.mjs +0 -2
- package/esm2020/lib/utils/camel-case.mjs +0 -28
- package/esm2020/lib/utils/column-helper.mjs +0 -95
- package/esm2020/lib/utils/column-prop-getters.mjs +0 -96
- package/esm2020/lib/utils/column.mjs +0 -69
- package/esm2020/lib/utils/elm-from-point.mjs +0 -38
- package/esm2020/lib/utils/id.mjs +0 -8
- package/esm2020/lib/utils/keys.mjs +0 -10
- package/esm2020/lib/utils/math.mjs +0 -146
- package/esm2020/lib/utils/prefixes.mjs +0 -38
- package/esm2020/lib/utils/row-height-cache.mjs +0 -138
- package/esm2020/lib/utils/selection.mjs +0 -40
- package/esm2020/lib/utils/sort.mjs +0 -127
- package/esm2020/lib/utils/throttle.mjs +0 -60
- package/esm2020/lib/utils/translate.mjs +0 -25
- package/esm2020/lib/utils/tree.mjs +0 -103
- package/esm2020/public-api.mjs +0 -64
- package/esm2020/swimlane-ngx-datatable.mjs +0 -5
- package/fesm2015/swimlane-ngx-datatable.mjs +0 -5979
- package/fesm2015/swimlane-ngx-datatable.mjs.map +0 -1
- package/fesm2020/swimlane-ngx-datatable.mjs.map +0 -1
- package/lib/events.d.ts +0 -3
- package/lib/services/dimensions-helper.service.d.ts +0 -10
- package/lib/types/click.type.d.ts +0 -4
- package/lib/types/column-mode.type.d.ts +0 -5
- package/lib/types/contextmenu.type.d.ts +0 -4
- package/lib/types/selection.type.d.ts +0 -7
- package/lib/types/sort-direction.type.d.ts +0 -4
- package/lib/types/sort-prop-dir.type.d.ts +0 -6
- package/lib/types/sort.type.d.ts +0 -4
- package/lib/utils/elm-from-point.d.ts +0 -8
- package/lib/utils/prefixes.d.ts +0 -1
- package/lib/utils/translate.d.ts +0 -1
- /package/{swimlane-ngx-datatable.d.ts → index.d.ts} +0 -0
package/themes/material.css
CHANGED
|
@@ -15,237 +15,313 @@
|
|
|
15
15
|
|
|
16
16
|
That's all.
|
|
17
17
|
*/
|
|
18
|
+
.ghost-cell-container {
|
|
19
|
+
background: #fff;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.ghost-cell-strip {
|
|
23
|
+
background: #d9d8d9;
|
|
24
|
+
background-image: linear-gradient(to right, #d9d8d9 0%, #d9d8d9 10%, #fff, transparent);
|
|
25
|
+
border-radius: 0;
|
|
26
|
+
animation-duration: 10s;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.ngx-datatable .row-disabled {
|
|
30
|
+
color: #83888e;
|
|
31
|
+
}
|
|
32
|
+
.ngx-datatable .row-disabled .datatable-body-cell-label {
|
|
33
|
+
color: #83888e;
|
|
34
|
+
}
|
|
35
|
+
.ngx-datatable .datatable-row-wrapper .datatable-body-row.row-disabled:hover {
|
|
36
|
+
background-color: inherit;
|
|
37
|
+
transition: none;
|
|
38
|
+
}
|
|
39
|
+
.ngx-datatable .datatable-row-wrapper .datatable-body-row.row-disabled:hover .datatable-row-group {
|
|
40
|
+
background-color: inherit;
|
|
41
|
+
transition: none;
|
|
42
|
+
}
|
|
43
|
+
|
|
18
44
|
.ngx-datatable.material {
|
|
19
45
|
background: #fff;
|
|
20
46
|
box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
21
47
|
/**
|
|
22
|
-
|
|
23
|
-
|
|
48
|
+
* Shared Styles
|
|
49
|
+
*/
|
|
24
50
|
/**
|
|
25
|
-
|
|
26
|
-
|
|
51
|
+
* Global Row Styles
|
|
52
|
+
*/
|
|
27
53
|
/**
|
|
28
|
-
|
|
29
|
-
|
|
54
|
+
* Header Styles
|
|
55
|
+
*/
|
|
30
56
|
/**
|
|
31
|
-
|
|
32
|
-
|
|
57
|
+
* Body Styles
|
|
58
|
+
*/
|
|
33
59
|
/**
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
60
|
+
* Footer Styles
|
|
61
|
+
*/
|
|
62
|
+
}
|
|
63
|
+
.ngx-datatable.material.striped .datatable-row-odd {
|
|
64
|
+
background: #eee;
|
|
65
|
+
}
|
|
66
|
+
.ngx-datatable.material.single-selection .datatable-body-row.active, .ngx-datatable.material.single-selection .datatable-body-row.active .datatable-row-group, .ngx-datatable.material.multi-selection .datatable-body-row.active, .ngx-datatable.material.multi-selection .datatable-body-row.active .datatable-row-group, .ngx-datatable.material.multi-click-selection .datatable-body-row.active, .ngx-datatable.material.multi-click-selection .datatable-body-row.active .datatable-row-group {
|
|
67
|
+
background-color: #304ffe;
|
|
68
|
+
color: #fff;
|
|
69
|
+
}
|
|
70
|
+
.ngx-datatable.material.single-selection .datatable-body-row.active:hover, .ngx-datatable.material.single-selection .datatable-body-row.active:hover .datatable-row-group, .ngx-datatable.material.multi-selection .datatable-body-row.active:hover, .ngx-datatable.material.multi-selection .datatable-body-row.active:hover .datatable-row-group, .ngx-datatable.material.multi-click-selection .datatable-body-row.active:hover, .ngx-datatable.material.multi-click-selection .datatable-body-row.active:hover .datatable-row-group {
|
|
71
|
+
background-color: #193ae4;
|
|
72
|
+
color: #fff;
|
|
73
|
+
}
|
|
74
|
+
.ngx-datatable.material.single-selection .datatable-body-row.active:focus, .ngx-datatable.material.single-selection .datatable-body-row.active:focus .datatable-row-group, .ngx-datatable.material.multi-selection .datatable-body-row.active:focus, .ngx-datatable.material.multi-selection .datatable-body-row.active:focus .datatable-row-group, .ngx-datatable.material.multi-click-selection .datatable-body-row.active:focus, .ngx-datatable.material.multi-click-selection .datatable-body-row.active:focus .datatable-row-group {
|
|
75
|
+
background-color: #2041ef;
|
|
76
|
+
color: #fff;
|
|
77
|
+
}
|
|
78
|
+
.ngx-datatable.material:not(.cell-selection) .datatable-body-row:hover, .ngx-datatable.material:not(.cell-selection) .datatable-body-row:hover .datatable-row-group {
|
|
79
|
+
background-color: #eee;
|
|
80
|
+
transition-property: background;
|
|
81
|
+
transition-duration: 0.3s;
|
|
82
|
+
transition-timing-function: linear;
|
|
83
|
+
}
|
|
84
|
+
.ngx-datatable.material:not(.cell-selection) .datatable-body-row:focus, .ngx-datatable.material:not(.cell-selection) .datatable-body-row:focus .datatable-row-group {
|
|
85
|
+
background-color: #ddd;
|
|
86
|
+
}
|
|
87
|
+
.ngx-datatable.material.cell-selection .datatable-body-cell:hover:not(.row-disabled), .ngx-datatable.material.cell-selection .datatable-body-cell:hover:not(.row-disabled) .datatable-row-group {
|
|
88
|
+
background-color: #eee;
|
|
89
|
+
transition-property: background;
|
|
90
|
+
transition-duration: 0.3s;
|
|
91
|
+
transition-timing-function: linear;
|
|
92
|
+
}
|
|
93
|
+
.ngx-datatable.material.cell-selection .datatable-body-cell:focus:not(.row-disabled), .ngx-datatable.material.cell-selection .datatable-body-cell:focus:not(.row-disabled) .datatable-row-group {
|
|
94
|
+
background-color: #ddd;
|
|
95
|
+
}
|
|
96
|
+
.ngx-datatable.material.cell-selection .datatable-body-cell.active:not(.row-disabled), .ngx-datatable.material.cell-selection .datatable-body-cell.active:not(.row-disabled) .datatable-row-group {
|
|
97
|
+
background-color: #304ffe;
|
|
98
|
+
color: #fff;
|
|
99
|
+
}
|
|
100
|
+
.ngx-datatable.material.cell-selection .datatable-body-cell.active:hover:not(.row-disabled), .ngx-datatable.material.cell-selection .datatable-body-cell.active:hover:not(.row-disabled) .datatable-row-group {
|
|
101
|
+
background-color: #193ae4;
|
|
102
|
+
color: #fff;
|
|
103
|
+
}
|
|
104
|
+
.ngx-datatable.material.cell-selection .datatable-body-cell.active:focus:not(.row-disabled), .ngx-datatable.material.cell-selection .datatable-body-cell.active:focus:not(.row-disabled) .datatable-row-group {
|
|
105
|
+
background-color: #2041ef;
|
|
106
|
+
color: #fff;
|
|
107
|
+
}
|
|
108
|
+
.ngx-datatable.material .empty-row {
|
|
109
|
+
height: 50px;
|
|
110
|
+
text-align: left;
|
|
111
|
+
padding: 0.5rem 1.2rem;
|
|
112
|
+
vertical-align: top;
|
|
113
|
+
border-top: 0;
|
|
114
|
+
}
|
|
115
|
+
.ngx-datatable.material .loading-row {
|
|
116
|
+
text-align: left;
|
|
117
|
+
padding: 0.5rem 1.2rem;
|
|
118
|
+
vertical-align: top;
|
|
119
|
+
border-top: 0;
|
|
120
|
+
}
|
|
121
|
+
.ngx-datatable.material .datatable-header .datatable-row-left,
|
|
122
|
+
.ngx-datatable.material .datatable-body .datatable-row-left {
|
|
123
|
+
background-color: #fff;
|
|
124
|
+
background-position: 100% 0;
|
|
125
|
+
background-repeat: repeat-y;
|
|
126
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAYAAAD5PA/NAAAAFklEQVQIHWPSkNeSBmJhTQVtbiDNCgASagIIuJX8OgAAAABJRU5ErkJggg==);
|
|
127
|
+
}
|
|
128
|
+
.ngx-datatable.material .datatable-header .datatable-row-right,
|
|
129
|
+
.ngx-datatable.material .datatable-body .datatable-row-right {
|
|
130
|
+
background-position: 0 0;
|
|
131
|
+
background-color: #fff;
|
|
132
|
+
background-repeat: repeat-y;
|
|
133
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAYAAAD5PA/NAAAAFklEQVQI12PQkNdi1VTQ5gbSwkAsDQARLAIGtOSFUAAAAABJRU5ErkJggg==);
|
|
134
|
+
}
|
|
135
|
+
.ngx-datatable.material .datatable-header {
|
|
136
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
|
|
137
|
+
}
|
|
138
|
+
.ngx-datatable.material .datatable-header .datatable-header-cell {
|
|
139
|
+
flex-shrink: 0;
|
|
140
|
+
text-align: left;
|
|
141
|
+
padding: 0.9rem 1.2rem;
|
|
142
|
+
font-weight: 400;
|
|
143
|
+
background-color: #fff;
|
|
144
|
+
color: rgba(0, 0, 0, 0.54);
|
|
145
|
+
vertical-align: bottom;
|
|
146
|
+
font-size: 12px;
|
|
147
|
+
font-weight: 500;
|
|
148
|
+
}
|
|
149
|
+
.ngx-datatable.material .datatable-header .datatable-header-cell .datatable-header-cell-wrapper {
|
|
150
|
+
position: relative;
|
|
151
|
+
}
|
|
152
|
+
.ngx-datatable.material .datatable-header .datatable-header-cell.longpress .draggable::after {
|
|
153
|
+
transition: transform 400ms ease, opacity 400ms ease;
|
|
154
|
+
opacity: 0.5;
|
|
155
|
+
transform: scale(1);
|
|
156
|
+
}
|
|
157
|
+
.ngx-datatable.material .datatable-header .datatable-header-cell .draggable::after {
|
|
158
|
+
content: " ";
|
|
159
|
+
position: absolute;
|
|
160
|
+
top: 50%;
|
|
161
|
+
left: 50%;
|
|
162
|
+
margin: -30px 0 0 -30px;
|
|
163
|
+
height: 60px;
|
|
164
|
+
width: 60px;
|
|
165
|
+
background: #eee;
|
|
166
|
+
border-radius: 100%;
|
|
167
|
+
opacity: 1;
|
|
168
|
+
filter: none;
|
|
169
|
+
transform: scale(0);
|
|
170
|
+
z-index: 9999;
|
|
171
|
+
pointer-events: none;
|
|
172
|
+
}
|
|
173
|
+
.ngx-datatable.material .datatable-header .datatable-header-cell.dragging .resize-handle {
|
|
174
|
+
border-right: none;
|
|
175
|
+
}
|
|
176
|
+
.ngx-datatable.material .datatable-header .resize-handle {
|
|
177
|
+
border-right: solid 1px #eee;
|
|
178
|
+
}
|
|
179
|
+
.ngx-datatable.material .datatable-body {
|
|
180
|
+
position: relative;
|
|
181
|
+
}
|
|
182
|
+
.ngx-datatable.material .datatable-body .datatable-row-detail {
|
|
183
|
+
background: #f5f5f5;
|
|
184
|
+
padding: 10px;
|
|
185
|
+
}
|
|
186
|
+
.ngx-datatable.material .datatable-body .datatable-group-header {
|
|
187
|
+
background: #f5f5f5;
|
|
188
|
+
border-bottom: solid 1px #d9d8d9;
|
|
189
|
+
border-top: solid 1px #d9d8d9;
|
|
190
|
+
}
|
|
191
|
+
.ngx-datatable.material .datatable-body .datatable-group-header .datatable-group-cell {
|
|
192
|
+
padding-inline-start: 1.2rem;
|
|
193
|
+
display: flex;
|
|
194
|
+
}
|
|
195
|
+
.ngx-datatable.material .datatable-body datatable-row-def {
|
|
196
|
+
background-color: #fff;
|
|
197
|
+
}
|
|
198
|
+
.ngx-datatable.material .datatable-body .datatable-body-row {
|
|
199
|
+
border-bottom: 1px solid #d9d8d9;
|
|
200
|
+
}
|
|
201
|
+
.ngx-datatable.material .datatable-body .datatable-body-row .datatable-body-cell {
|
|
202
|
+
flex-shrink: 0;
|
|
203
|
+
text-align: left;
|
|
204
|
+
padding: 0.9rem 1.2rem;
|
|
205
|
+
vertical-align: top;
|
|
206
|
+
border-top: 0;
|
|
207
|
+
color: rgba(0, 0, 0, 0.87);
|
|
208
|
+
transition: width 0.3s ease;
|
|
209
|
+
font-size: 14px;
|
|
210
|
+
font-weight: 400;
|
|
211
|
+
}
|
|
212
|
+
.ngx-datatable.material .datatable-body .datatable-body-row .datatable-body-group-cell {
|
|
213
|
+
text-align: left;
|
|
214
|
+
padding: 0.9rem 1.2rem;
|
|
215
|
+
vertical-align: top;
|
|
216
|
+
border-top: 0;
|
|
217
|
+
color: rgba(0, 0, 0, 0.87);
|
|
218
|
+
transition: width 0.3s ease;
|
|
219
|
+
font-size: 14px;
|
|
220
|
+
font-weight: 400;
|
|
221
|
+
}
|
|
222
|
+
.ngx-datatable.material .datatable-body .progress-linear {
|
|
223
|
+
display: block;
|
|
224
|
+
position: sticky;
|
|
225
|
+
width: 100%;
|
|
226
|
+
height: 0;
|
|
227
|
+
z-index: 999;
|
|
228
|
+
padding: 0;
|
|
229
|
+
margin: 0;
|
|
230
|
+
top: 0;
|
|
231
|
+
}
|
|
232
|
+
.ngx-datatable.material .datatable-body .progress-linear .container {
|
|
233
|
+
display: block;
|
|
234
|
+
position: relative;
|
|
235
|
+
overflow: hidden;
|
|
236
|
+
width: 100%;
|
|
237
|
+
height: 5px;
|
|
238
|
+
-webkit-transform: translate(0, 0) scale(1, 1);
|
|
239
|
+
transform: translate(0, 0) scale(1, 1);
|
|
240
|
+
background-color: rgb(170, 209, 249);
|
|
241
|
+
}
|
|
242
|
+
.ngx-datatable.material .datatable-body .progress-linear .container .bar {
|
|
243
|
+
transition: all 0.2s linear;
|
|
244
|
+
-webkit-animation: query 0.8s infinite cubic-bezier(0.39, 0.575, 0.565, 1);
|
|
245
|
+
animation: query 0.8s infinite cubic-bezier(0.39, 0.575, 0.565, 1);
|
|
246
|
+
transition: -webkit-transform 0.2s linear;
|
|
247
|
+
transition: transform 0.2s linear;
|
|
248
|
+
background-color: rgb(16, 108, 200);
|
|
249
|
+
position: absolute;
|
|
250
|
+
left: 0;
|
|
251
|
+
top: 0;
|
|
252
|
+
bottom: 0;
|
|
253
|
+
width: 100%;
|
|
254
|
+
height: 5px;
|
|
255
|
+
}
|
|
256
|
+
.ngx-datatable.material .datatable-body .custom-loading-indicator-wrapper {
|
|
257
|
+
position: sticky;
|
|
258
|
+
top: 0;
|
|
259
|
+
height: 0;
|
|
260
|
+
z-index: 999;
|
|
261
|
+
}
|
|
262
|
+
.ngx-datatable.material .datatable-body .custom-loading-indicator-wrapper .custom-loading-content {
|
|
263
|
+
width: 100%;
|
|
264
|
+
background-color: #fff;
|
|
265
|
+
}
|
|
266
|
+
.ngx-datatable.material .datatable-footer {
|
|
267
|
+
border-top: 1px solid rgba(0, 0, 0, 0.12);
|
|
268
|
+
font-size: 12px;
|
|
269
|
+
font-weight: 400;
|
|
270
|
+
color: rgba(0, 0, 0, 0.54);
|
|
271
|
+
}
|
|
272
|
+
.ngx-datatable.material .datatable-footer .page-count {
|
|
273
|
+
line-height: 50px;
|
|
274
|
+
height: 50px;
|
|
275
|
+
padding: 0 1.2rem;
|
|
276
|
+
}
|
|
277
|
+
.ngx-datatable.material .datatable-footer .datatable-pager {
|
|
278
|
+
margin: 0 10px;
|
|
279
|
+
}
|
|
280
|
+
.ngx-datatable.material .datatable-footer .datatable-pager li {
|
|
281
|
+
vertical-align: middle;
|
|
282
|
+
}
|
|
283
|
+
.ngx-datatable.material .datatable-footer .datatable-pager li.disabled a {
|
|
284
|
+
color: rgba(0, 0, 0, 0.26) !important;
|
|
285
|
+
background-color: transparent !important;
|
|
286
|
+
}
|
|
287
|
+
.ngx-datatable.material .datatable-footer .datatable-pager li.active a {
|
|
288
|
+
background-color: rgba(158, 158, 158, 0.2);
|
|
289
|
+
font-weight: bold;
|
|
290
|
+
}
|
|
291
|
+
.ngx-datatable.material .datatable-footer .datatable-pager a {
|
|
292
|
+
height: 22px;
|
|
293
|
+
min-width: 24px;
|
|
294
|
+
line-height: 22px;
|
|
295
|
+
padding: 0 6px;
|
|
296
|
+
border-radius: 3px;
|
|
297
|
+
margin: 6px 3px;
|
|
298
|
+
text-align: center;
|
|
299
|
+
vertical-align: top;
|
|
300
|
+
color: rgba(0, 0, 0, 0.54);
|
|
301
|
+
text-decoration: none;
|
|
302
|
+
vertical-align: bottom;
|
|
303
|
+
}
|
|
304
|
+
.ngx-datatable.material .datatable-footer .datatable-pager a:hover {
|
|
305
|
+
color: rgba(0, 0, 0, 0.75);
|
|
306
|
+
background-color: rgba(158, 158, 158, 0.2);
|
|
307
|
+
}
|
|
308
|
+
.ngx-datatable.material .datatable-footer .datatable-pager .datatable-icon-left,
|
|
309
|
+
.ngx-datatable.material .datatable-footer .datatable-pager .datatable-icon-skip,
|
|
310
|
+
.ngx-datatable.material .datatable-footer .datatable-pager .datatable-icon-right,
|
|
311
|
+
.ngx-datatable.material .datatable-footer .datatable-pager .datatable-icon-prev {
|
|
312
|
+
font-size: 20px;
|
|
313
|
+
line-height: 20px;
|
|
314
|
+
padding: 0 3px;
|
|
315
|
+
}
|
|
316
|
+
.ngx-datatable.material .datatable-summary-row .datatable-body-row {
|
|
317
|
+
background-color: #ddd;
|
|
318
|
+
}
|
|
319
|
+
.ngx-datatable.material .datatable-summary-row .datatable-body-row:hover {
|
|
320
|
+
background-color: #ddd;
|
|
321
|
+
}
|
|
322
|
+
.ngx-datatable.material .datatable-summary-row .datatable-body-row .datatable-body-cell {
|
|
323
|
+
font-weight: bold;
|
|
324
|
+
}
|
|
249
325
|
|
|
250
326
|
/**
|
|
251
327
|
* Checkboxes
|
|
@@ -257,41 +333,46 @@ That's all.
|
|
|
257
333
|
vertical-align: middle;
|
|
258
334
|
display: inline-block;
|
|
259
335
|
box-sizing: border-box;
|
|
260
|
-
padding: 0;
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
336
|
+
padding: 0;
|
|
337
|
+
}
|
|
338
|
+
.datatable-checkbox input[type=checkbox] {
|
|
339
|
+
position: relative;
|
|
340
|
+
margin: 0 1rem 0 0;
|
|
341
|
+
cursor: pointer;
|
|
342
|
+
outline: none;
|
|
343
|
+
}
|
|
344
|
+
.datatable-checkbox input[type=checkbox]:before {
|
|
345
|
+
-webkit-transition: all 0.3s ease-in-out;
|
|
346
|
+
-moz-transition: all 0.3s ease-in-out;
|
|
347
|
+
transition: all 0.3s ease-in-out;
|
|
348
|
+
content: "";
|
|
349
|
+
position: absolute;
|
|
350
|
+
left: 0;
|
|
351
|
+
z-index: 1;
|
|
352
|
+
width: 1rem;
|
|
353
|
+
height: 1rem;
|
|
354
|
+
border: 2px solid #f2f2f2;
|
|
355
|
+
}
|
|
356
|
+
.datatable-checkbox input[type=checkbox]:checked:before {
|
|
357
|
+
-webkit-transform: rotate(-45deg);
|
|
358
|
+
-moz-transform: rotate(-45deg);
|
|
359
|
+
-ms-transform: rotate(-45deg);
|
|
360
|
+
transform: rotate(-45deg);
|
|
361
|
+
height: 0.5rem;
|
|
362
|
+
border-color: #009688;
|
|
363
|
+
border-top-style: none;
|
|
364
|
+
border-right-style: none;
|
|
365
|
+
}
|
|
366
|
+
.datatable-checkbox input[type=checkbox]:after {
|
|
367
|
+
content: "";
|
|
368
|
+
position: absolute;
|
|
369
|
+
top: 0;
|
|
370
|
+
left: 0;
|
|
371
|
+
width: 1rem;
|
|
372
|
+
height: 1rem;
|
|
373
|
+
background: #fff;
|
|
374
|
+
cursor: pointer;
|
|
375
|
+
}
|
|
295
376
|
|
|
296
377
|
/**
|
|
297
378
|
* Progress bar animations
|
|
@@ -299,7 +380,10 @@ That's all.
|
|
|
299
380
|
@keyframes query {
|
|
300
381
|
0% {
|
|
301
382
|
opacity: 1;
|
|
302
|
-
transform: translateX(35%) scale(0.3, 1);
|
|
383
|
+
transform: translateX(35%) scale(0.3, 1);
|
|
384
|
+
}
|
|
303
385
|
100% {
|
|
304
386
|
opacity: 0;
|
|
305
|
-
transform: translateX(-50%) scale(0, 1);
|
|
387
|
+
transform: translateX(-50%) scale(0, 1);
|
|
388
|
+
}
|
|
389
|
+
}
|