@exmg/exm-grid 1.0.7 → 1.0.8-alpha.21

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 (47) hide show
  1. package/dist/index.d.ts +14 -0
  2. package/dist/index.js +14 -0
  3. package/package.json +17 -19
  4. package/index.d.ts +0 -14
  5. package/index.js +0 -14
  6. package/src/search/exm-toolbar-search.d.ts +0 -25
  7. package/src/search/exm-toolbar-search.js +0 -197
  8. package/src/styles/exm-grid-base-toolbar-styles-css.d.ts +0 -1
  9. package/src/styles/exm-grid-base-toolbar-styles-css.js +0 -103
  10. package/src/styles/exm-grid-common-styles-css.d.ts +0 -1
  11. package/src/styles/exm-grid-common-styles-css.js +0 -104
  12. package/src/styles/exm-grid-pagination-styles-css.d.ts +0 -1
  13. package/src/styles/exm-grid-pagination-styles-css.js +0 -104
  14. package/src/styles/exm-grid-setting-selection-list-styles-css.d.ts +0 -1
  15. package/src/styles/exm-grid-setting-selection-list-styles-css.js +0 -12
  16. package/src/styles/exm-grid-styles-css.d.ts +0 -1
  17. package/src/styles/exm-grid-styles-css.js +0 -412
  18. package/src/table/exm-grid-base-toolbar.d.ts +0 -23
  19. package/src/table/exm-grid-base-toolbar.js +0 -91
  20. package/src/table/exm-grid-pagination.d.ts +0 -37
  21. package/src/table/exm-grid-pagination.js +0 -190
  22. package/src/table/exm-grid-setting-selection-list.d.ts +0 -24
  23. package/src/table/exm-grid-setting-selection-list.js +0 -124
  24. package/src/table/exm-grid-smart-toolbar.d.ts +0 -31
  25. package/src/table/exm-grid-smart-toolbar.js +0 -138
  26. package/src/table/exm-grid-toolbar-filters.d.ts +0 -36
  27. package/src/table/exm-grid-toolbar-filters.js +0 -77
  28. package/src/table/exm-grid-toolbar.d.ts +0 -42
  29. package/src/table/exm-grid-toolbar.js +0 -283
  30. package/src/table/exm-grid.d.ts +0 -130
  31. package/src/table/exm-grid.js +0 -333
  32. package/src/table/featrues/exm-column-sortable.d.ts +0 -12
  33. package/src/table/featrues/exm-column-sortable.js +0 -50
  34. package/src/table/featrues/exm-row-expandable.d.ts +0 -9
  35. package/src/table/featrues/exm-row-expandable.js +0 -42
  36. package/src/table/featrues/exm-row-selectable.d.ts +0 -20
  37. package/src/table/featrues/exm-row-selectable.js +0 -204
  38. package/src/table/featrues/exm-row-sortable.d.ts +0 -9
  39. package/src/table/featrues/exm-row-sortable.js +0 -50
  40. package/src/table/types/exm-grid-smart-toolbar-types.d.ts +0 -17
  41. package/src/table/types/exm-grid-smart-toolbar-types.js +0 -6
  42. package/src/table/types/exm-grid-toolbar-types.d.ts +0 -55
  43. package/src/table/types/exm-grid-toolbar-types.js +0 -16
  44. package/src/table/types/exm-grid-types.d.ts +0 -15
  45. package/src/table/types/exm-grid-types.js +0 -2
  46. package/src/table/utils/exm-query-selectors.d.ts +0 -12
  47. package/src/table/utils/exm-query-selectors.js +0 -37
@@ -1,12 +0,0 @@
1
- import { css } from 'lit';
2
- export const style = css `
3
- :host {
4
- display: block;
5
- position: relative;
6
- }
7
-
8
- .action {
9
- color: var(--mdc-theme-primary);
10
- }
11
- `;
12
- //# sourceMappingURL=exm-grid-setting-selection-list-styles-css.js.map
@@ -1 +0,0 @@
1
- export declare const style: import("lit").CSSResult;
@@ -1,412 +0,0 @@
1
- import { css } from 'lit';
2
- export const style = css `
3
- :host {
4
- -moz-osx-font-smoothing: grayscale;
5
- -webkit-font-smoothing: antialiased;
6
- font-family: Roboto, sans-serif;
7
- font-family: var(--mdc-typography-font-family, Roboto, sans-serif);
8
- display: block;
9
- --exm-arrow-upward-url: url('/node_modules/@exmg/exm-grid/assets/arrow-upward.svg');
10
- --exm-table-card-width: var(--exm-theme-table-card-width, 100%);
11
- --exm-table-card-margin-bottom: var(--exm-theme-table-card-margin-bottom, 5px);
12
- --exm-table-color: var(--exm-theme-table-on-surface, var(--md-sys-color-on-surface-container));
13
- --exm-table-card-background-color: var(--exm-theme-table-surface, var(--md-sys-color-surface-container));
14
- --exm-table-row-divider-color: var(--exm-theme-table-row-divider-color, var(--md-sys-color-surface-variant));
15
- --exm-table-row-selected-color: var(
16
- --exm-theme-table-row-selected-color,
17
- var(--md-sys-color-on-secondary-container)
18
- );
19
- --exm-table-row-selected-background-color: var(
20
- --exm-theme-table-row-selected-background-color,
21
- var(--md-sys-color-secondary-container)
22
- );
23
- --exm-table-row-hover-color: var(--exm-theme-table-row-hover-color, var(--md-sys-color-on-surface));
24
- --exm-table-row-hover-background-color: var(
25
- --exm-theme-table-row-hover-background-color,
26
- var(--md-sys-color-surface-container-highest)
27
- );
28
- --exm-table-row-dragged-background-color: var(
29
- --exm-theme-table-row-dragged-background-color,
30
- var(--md-sys-color-surface-container-low)
31
- );
32
- --exm-table-rows-expanded-divider-border: var(--exm-theme-table-rows-expanded-divider-border, none);
33
- --exm-table-rows-expanded-border: var(--exm-theme-table-rows-expanded-border, none);
34
- --exm-table-rows-expanded-background-color: var(
35
- --exm-theme-table-rows-expanded-background-color,
36
- var(--md-sys-color-surface-container-low)
37
- );
38
- --exm-table-rows-expanded-color: var(--exm-theme-table-rows-expanded-color, var(--md-sys-color-on-surface));
39
- --exm-table-th-color: var(--exm-theme-table-th-on-surface, var(--md-sys-color-on-surface-container));
40
- --exm-table-th-background-color: var(--exm-theme-table-th-surface, var(--md-sys-color-surface-container));
41
- --exm-table-th-sortable-hover-color: var(--exm-theme-table-th-sortable-hover-color, var(--md-sys-color-on-surface));
42
- --exm-table-columns-background-color: var(--exm-theme-table-columns-background-color, var(--md-sys-color-surface));
43
- --exm-table-th-height: var(--exm-theme-table-th-height, 48px);
44
- --exm-table-th-sort-margin-left: var(--exm-theme-table-th-sort-margin-left, 0px);
45
- --exm-table-td-height: var(--exm-theme-table-td-height, 48px);
46
- --exm-table-th-sort-icon-height: var(--exm-theme-table-th-sort-icon-height, 1em);
47
- --exm-table-th-sort-icon-width: var(--exm-theme-table-th-sort-icon-width, 1em);
48
- --exm-table-col-number-padding-right: var(--exm-theme-table-col-number-padding-right, 10px);
49
- --exm-table-checkbox-cell-width: var(--exm-theme-table-checkbox-cell-width, 24px);
50
- --exm-paper-combobox-selected-item-color: var(var(--md-sys-color-primary), #000000);
51
- --exm-paper-combobox-color: var(--md-sys-color-on-surface);
52
- --exm-table-toolbar-setting-position: var(--exm-theme-table-toolbar-setting-position, absolute);
53
- }
54
-
55
- ::slotted([slot='pagination']) {
56
- display: flex;
57
- align-items: center;
58
- justify-content: flex-end;
59
- border-top: 1px solid var(--exm-table-row-divider-color);
60
- }
61
-
62
- ::slotted([slot='toolbar']) {
63
- display: block;
64
- }
65
-
66
- .table-card-container {
67
- -moz-osx-font-smoothing: grayscale;
68
- -webkit-font-smoothing: antialiased;
69
- font-family: Roboto, sans-serif;
70
- font-family: var(--mdc-typography-font-family, Roboto, sans-serif);
71
- border: none;
72
- width: var(--exm-table-card-width);
73
- margin: 0;
74
- padding: 0;
75
- box-shadow: var(--exm-theme-table-box-shadow, none);
76
- }
77
-
78
- :host([with-toolbar]) .table-card {
79
- border-top: 1px solid var(--exm-table-row-divider-color);
80
- }
81
-
82
- .table-card {
83
- -moz-osx-font-smoothing: grayscale;
84
- -webkit-font-smoothing: antialiased;
85
- font-family: Roboto, sans-serif;
86
- font-family: var(--mdc-typography-font-family, Roboto, sans-serif);
87
- border: none;
88
- border-bottom-left-radius: 4px;
89
- border-bottom-right-radius: 4px;
90
- width: var(--exm-table-card-width);
91
- background-color: var(--exm-table-card-background-color);
92
- margin-bottom: var(--exm-table-card-margin-bottom);
93
- border-top-left-radius: var(--exm-theme-table-radius, var(--exm-surface-border-radius, 16px));
94
- border-top-right-radius: var(--exm-theme-table-radius, var(--exm-surface-border-radius, 16px));
95
- border-bottom-left-radius: var(--exm-theme-table-radius, var(--exm-surface-border-radius, 16px));
96
- border-bottom-right-radius: var(--exm-theme-table-radius, var(--exm-surface-border-radius, 16px));
97
- }
98
-
99
- table {
100
- width: 100%;
101
- color: var(--exm-table-color);
102
- border-spacing: 0;
103
- border: none;
104
- }
105
-
106
- table[data-table-layout='fixed'] {
107
- table-layout: fixed;
108
- }
109
-
110
- table[data-table-layout='fixed'] td:not(.grid-checkbox-cell):not(.menu-cell) {
111
- overflow: hidden;
112
- white-space: nowrap;
113
- text-overflow: ellipsis;
114
- }
115
-
116
- table[data-table-layout='fixed'] th.grid-checkbox-cell,
117
- table[data-table-layout='fixed'] td.grid-checkbox-cell {
118
- width: var(--exm-table-checkbox-cell-width);
119
- }
120
-
121
- table[data-table-layout='fixed'] th.no-ellipsis,
122
- table[data-table-layout='fixed'] td.no-ellipsis {
123
- text-overflow: initial;
124
- }
125
-
126
- table thead tr,
127
- table thead th {
128
- -moz-osx-font-smoothing: grayscale;
129
- -webkit-font-smoothing: antialiased;
130
- font-family: Roboto, sans-serif;
131
- font-family: var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));
132
- font-size: 0.75rem;
133
- font-size: var(--mdc-typography-caption-font-size, 0.75rem);
134
- line-height: 1.25rem;
135
- line-height: var(--mdc-typography-caption-line-height, 1.25rem);
136
- font-weight: 400;
137
- font-weight: var(--mdc-typography-caption-font-weight, 400);
138
- letter-spacing: 0.0333333333em;
139
- letter-spacing: var(--mdc-typography-caption-letter-spacing, 0.0333333333em);
140
- text-decoration: inherit;
141
- text-decoration: var(--mdc-typography-caption-text-decoration, inherit);
142
- text-transform: inherit;
143
- text-transform: var(--mdc-typography-caption-text-transform, inherit);
144
- }
145
-
146
- table tbody tr,
147
- table tbody td,
148
- table tfoot tr,
149
- table tfoot td {
150
- -moz-osx-font-smoothing: grayscale;
151
- -webkit-font-smoothing: antialiased;
152
- font-family: Roboto, sans-serif;
153
- font-family: var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));
154
- font-size: 0.875rem;
155
- font-size: var(--mdc-typography-body2-font-size, 0.875rem);
156
- line-height: 1.25rem;
157
- line-height: var(--mdc-typography-body2-line-height, 1.25rem);
158
- font-weight: 400;
159
- font-weight: var(--mdc-typography-body2-font-weight, 400);
160
- letter-spacing: 0.0178571429em;
161
- letter-spacing: var(--mdc-typography-body2-letter-spacing, 0.0178571429em);
162
- text-decoration: inherit;
163
- text-decoration: var(--mdc-typography-body2-text-decoration, inherit);
164
- text-transform: inherit;
165
- text-transform: var(--mdc-typography-body2-text-transform, inherit);
166
- }
167
-
168
- td {
169
- height: var(--exm-table-td-height);
170
- }
171
-
172
- .grid-toolbar th {
173
- padding: 0;
174
- text-align: left;
175
- }
176
-
177
- .grid-toolbar th > * {
178
- overflow-x: auto;
179
- }
180
-
181
- .grid-columns th {
182
- height: var(--exm-table-th-height);
183
- font-weight: 500;
184
- font-style: normal;
185
- font-stretch: normal;
186
- text-transform: uppercase;
187
- line-height: 1.33;
188
- letter-spacing: 2px;
189
- color: var(--exm-table-th-color);
190
- background-color: var(--exm-table-th-background-color);
191
- vertical-align: middle;
192
- text-align: left;
193
- user-select: none;
194
- white-space: nowrap;
195
- }
196
-
197
- .grid-columns th > span {
198
- vertical-align: middle;
199
- max-width: 100%;
200
- display: inline-block;
201
- overflow: hidden;
202
- white-space: nowrap;
203
- text-overflow: ellipsis;
204
- }
205
-
206
- .grid-columns th svg {
207
- fill: var(--exm-table-th-color);
208
- }
209
-
210
- .grid-columns th,
211
- tbody td {
212
- padding-left: 16px;
213
- }
214
-
215
- .grid-columns th:last-child,
216
- tbody td:last-child {
217
- padding-right: 10px;
218
- }
219
-
220
- th,
221
- td {
222
- border-top: 1px solid var(--exm-table-row-divider-color);
223
- }
224
-
225
- tbody td {
226
- height: var(--exm-table-td-height);
227
- -moz-osx-font-smoothing: grayscale;
228
- -webkit-font-smoothing: antialiased;
229
- font-family: Roboto, sans-serif;
230
- font-family: var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));
231
- font-size: 0.875rem;
232
- font-size: var(--mdc-typography-body2-font-size, 0.875rem);
233
- line-height: 1.25rem;
234
- line-height: var(--mdc-typography-body2-line-height, 1.25rem);
235
- font-weight: 400;
236
- font-weight: var(--mdc-typography-body2-font-weight, 400);
237
- letter-spacing: 0.0178571429em;
238
- letter-spacing: var(--mdc-typography-body2-letter-spacing, 0.0178571429em);
239
- text-decoration: inherit;
240
- text-decoration: var(--mdc-typography-body2-text-decoration, inherit);
241
- text-transform: inherit;
242
- text-transform: var(--mdc-typography-body2-text-transform, inherit);
243
- font-weight: normal;
244
- font-style: normal;
245
- font-stretch: normal;
246
- line-height: 1.43px;
247
- letter-spacing: 0.3px;
248
- color: var(--exm-table-color);
249
- }
250
-
251
- tbody td svg {
252
- fill: var(--exm-table-color);
253
- }
254
-
255
- th[data-sort] {
256
- cursor: pointer;
257
- }
258
-
259
- th[data-sort]:hover {
260
- color: var(--exm-table-th-sortable-hover-color);
261
- }
262
-
263
- th[data-sort]::after {
264
- display: inline-block;
265
- content: '';
266
- -webkit-mask-image: var(--exm-arrow-upward-url);
267
- mask-image: var(--exm-arrow-upward-url);
268
- background-color: currentColor;
269
- background-size: contain;
270
- height: var(--exm-table-th-sort-icon-height);
271
- width: var(--exm-table-th-sort-icon-width);
272
- margin-left: var(--exm-table-th-sort-margin-left);
273
- vertical-align: middle;
274
- opacity: 0;
275
- }
276
-
277
- th[data-sort-direction]::after {
278
- opacity: 1;
279
- transition: transform 0.1s linear;
280
- }
281
-
282
- th[data-sort-direction='ASC']::after {
283
- transform: rotate(0deg);
284
- }
285
-
286
- th[data-sort-direction='DESC']::after {
287
- transform: rotate(180deg);
288
- }
289
-
290
- tbody > tr:not(.grid-row-detail):hover {
291
- color: var(--exm-table-row-hover-color);
292
- background-color: var(--exm-table-row-hover-background-color);
293
- }
294
-
295
- tbody > tr:not(.grid-row-detail):hover td {
296
- color: var(--exm-table-row-hover-color);
297
- }
298
-
299
- tbody > tr:not(.grid-row-detail):hover svg {
300
- fill: var(--exm-table-row-hover-color);
301
- }
302
-
303
- tr[data-selected] {
304
- color: var(--exm-table-row-selected-color);
305
- background-color: var(--exm-table-row-selected-background-color);
306
- }
307
-
308
- tr[data-selected] td {
309
- color: var(--exm-table-row-selected-color);
310
- }
311
-
312
- tr[data-selected] svg {
313
- fill: var(--exm-table-row-selected-color);
314
- }
315
-
316
- tbody tr[data-has-expanded-detail],
317
- tbody tr[data-has-expanded-detail]:hover,
318
- tbody tr[data-is-row-expanded] {
319
- background-color: var(--exm-table-rows-expanded-background-color);
320
- border: var(--exm-table-rows-expanded-border);
321
- }
322
-
323
- tbody tr[data-has-expanded-detail] td,
324
- tbody tr[data-has-expanded-detail]:hover td,
325
- tbody tr[data-is-row-expanded] td {
326
- color: var(--exm-table-rows-expanded-color);
327
- }
328
-
329
- tbody tr[data-has-expanded-detail] td svg,
330
- tbody tr[data-has-expanded-detail]:hover td svg,
331
- tbody tr[data-is-row-expanded] td svg {
332
- fill: var(--exm-table-rows-expanded-color);
333
- }
334
-
335
- tbody tr[data-is-row-expanded] td {
336
- border-bottom: none;
337
- }
338
-
339
- tbody tr[data-has-expanded-detail] td,
340
- tbody tr[data-has-expanded-detail]:hover td {
341
- border-bottom: var(--exm-table-rows-expanded-divider-border);
342
- }
343
-
344
- tr.grid-row-detail {
345
- display: none;
346
- }
347
-
348
- tr.grid-row-detail[data-is-row-expanded] {
349
- display: table-row;
350
- }
351
-
352
- tr.grid-row-detail td {
353
- padding: 20px;
354
- }
355
-
356
- tr .grid-icon-rotate[data-is-expanded] > * {
357
- transition: transform 0.1s linear;
358
- transform: rotate(180deg);
359
- }
360
-
361
- tr .grid-icon-rotate[data-is-expandable]:not([data-is-expanded]) > * {
362
- transition: transform 0.1s linear;
363
- transform: rotate(0deg);
364
- }
365
-
366
- .grid-row-drag-handler {
367
- cursor: move;
368
- vertical-align: middle;
369
- }
370
-
371
- .grid-row-drag-handler > * {
372
- vertical-align: middle;
373
- }
374
-
375
- tr.dragged {
376
- background-color: var(--exm-table-row-dragged-background-color);
377
- opacity: 0.25;
378
- box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5) inset;
379
- }
380
-
381
- tr.cloned {
382
- background-color: var(--exm-table-row-dragged-background-color);
383
- width: 100%;
384
- box-sizing: border-box;
385
- box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
386
- opacity: 0.9;
387
- }
388
-
389
- tr td.grid-cell-visible-on-hover {
390
- text-align: center;
391
- }
392
-
393
- tr td.grid-cell-visible-on-hover > * {
394
- visibility: hidden;
395
- }
396
-
397
- tr:hover td.grid-cell-visible-on-hover > *,
398
- tr[data-has-expanded-detail] td.grid-cell-visible-on-hover > * {
399
- visibility: visible;
400
- }
401
-
402
- tr td.grid-col-number,
403
- tr th.grid-col-number {
404
- padding-right: var(--exm-table-col-number-padding-right);
405
- text-align: right;
406
- }
407
-
408
- tr th.grid-col-number > span {
409
- width: 100%;
410
- }
411
- `;
412
- //# sourceMappingURL=exm-grid-styles-css.js.map
@@ -1,23 +0,0 @@
1
- import { ExmgElement } from '@exmg/lit-base/index.js';
2
- /**
3
- * ### Styling
4
- * The following custom properties are available for styling:
5
- *
6
- */
7
- export declare class ExmGridBaseToolbar extends ExmgElement {
8
- static styles: import("lit").CSSResult[];
9
- private actionsCount;
10
- private settingsCount;
11
- private active;
12
- disableSeperator: boolean;
13
- private observer?;
14
- private getChildElementCount;
15
- connectedCallback(): void;
16
- disconnectedCallback(): void;
17
- render(): import("lit-html").TemplateResult<1>;
18
- }
19
- declare global {
20
- interface HTMLElementTagNameMap {
21
- 'exm-grid-base-toolbar': ExmGridBaseToolbar;
22
- }
23
- }
@@ -1,91 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { html } from 'lit';
3
- import { customElement, property, state } from 'lit/decorators.js';
4
- import { ExmgElement } from '@exmg/lit-base/index.js';
5
- import { style } from '../styles/exm-grid-base-toolbar-styles-css.js';
6
- /**
7
- * ### Styling
8
- * The following custom properties are available for styling:
9
- *
10
- */
11
- let ExmGridBaseToolbar = class ExmGridBaseToolbar extends ExmgElement {
12
- constructor() {
13
- super(...arguments);
14
- this.actionsCount = 0;
15
- this.settingsCount = 0;
16
- this.active = false;
17
- this.disableSeperator = false;
18
- }
19
- getChildElementCount(selector) {
20
- const element = this.querySelector(selector);
21
- return element ? element.childElementCount : 0;
22
- }
23
- connectedCallback() {
24
- super.connectedCallback();
25
- this.observer = new MutationObserver((mutationsList) => {
26
- setTimeout(() => {
27
- for (const mutation of mutationsList) {
28
- if (mutation.type === 'childList') {
29
- this.actionsCount = this.getChildElementCount('div[slot=actions]');
30
- this.settingsCount = this.getChildElementCount('div[slot=settings]');
31
- this.active = this.actionsCount > 0;
32
- }
33
- }
34
- }, 60);
35
- });
36
- this.actionsCount = this.getChildElementCount('div[slot=actions]');
37
- this.settingsCount = this.getChildElementCount('div[slot=settings]');
38
- this.active = this.actionsCount > 0;
39
- this.observer.observe(this, { attributes: false, childList: true, subtree: true });
40
- }
41
- disconnectedCallback() {
42
- this.observer.disconnect();
43
- super.disconnectedCallback();
44
- }
45
- render() {
46
- return html `
47
- <div class="wrapper ${this.active ? 'active' : ''}">
48
- ${this.actionsCount > 0
49
- ? html `
50
- <div class="actions">
51
- <slot name="actions"></slot>
52
- </div>
53
- `
54
- : ''}
55
- <div class="seperator ${this.actionsCount > 0 && !this.disableSeperator ? 'with-action-separator' : ''}">
56
- &nbsp;
57
- </div>
58
- <div class="description">
59
- <slot name="description"></slot>
60
- </div>
61
- <div class="filters">
62
- <slot name="filters"></slot>
63
- </div>
64
- <div class="settings ${this.settingsCount > 0 ? 'has-settings' : ''}">
65
- <slot name="settings"></slot>
66
- </div>
67
- <div class="extra">
68
- <slot name="extra"></slot>
69
- </div>
70
- </div>
71
- `;
72
- }
73
- };
74
- ExmGridBaseToolbar.styles = [style];
75
- __decorate([
76
- state()
77
- ], ExmGridBaseToolbar.prototype, "actionsCount", void 0);
78
- __decorate([
79
- state()
80
- ], ExmGridBaseToolbar.prototype, "settingsCount", void 0);
81
- __decorate([
82
- state()
83
- ], ExmGridBaseToolbar.prototype, "active", void 0);
84
- __decorate([
85
- property({ type: Boolean })
86
- ], ExmGridBaseToolbar.prototype, "disableSeperator", void 0);
87
- ExmGridBaseToolbar = __decorate([
88
- customElement('exm-grid-base-toolbar')
89
- ], ExmGridBaseToolbar);
90
- export { ExmGridBaseToolbar };
91
- //# sourceMappingURL=exm-grid-base-toolbar.js.map
@@ -1,37 +0,0 @@
1
- import { ExmgElement } from '@exmg/lit-base/index.js';
2
- import '@material/web/iconbutton/icon-button.js';
3
- import '@material/web/icon/icon.js';
4
- import './exm-grid-toolbar-filters.js';
5
- /**
6
- * ### Styling
7
- * The following custom properties are available for styling:
8
- *
9
- * Custom property | Description | Default
10
- * ----------------|-------------|----------
11
- * `--exm-theme-table-pagination-bg-color` | pagination background color | `var(--mdc-theme-surface, #ffffff);`
12
- * `--exm-theme-table-pagination-color` | pagination foreground (mostly text) color | `var(--mdc-theme-on-surface, #02182b);`
13
- */
14
- export declare class ExmGridPagination extends ExmgElement {
15
- static styles: import("lit").CSSResult[];
16
- pageSizeLabel: string;
17
- pageSizeOptions: number[];
18
- pageSize: number;
19
- pageIndex: number;
20
- itemCount: number;
21
- private renderPageSizeLabel;
22
- private renderPageSizeOptions;
23
- private renderPageRangeLabel;
24
- private renderPageRangeActions;
25
- private renderPrevPage;
26
- private renderNextPage;
27
- private fireEventPageChanged;
28
- private handleOnClickPrev;
29
- private handleOnClickNext;
30
- private handleOnPageSizeChanged;
31
- protected render(): import("lit-html").TemplateResult<1>;
32
- }
33
- declare global {
34
- interface HTMLElementTagNameMap {
35
- 'exm-grid-pagination': ExmGridPagination;
36
- }
37
- }