overview-components 1.0.22 → 1.0.24
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/dist/components/lit-data-grid-tanstack.d.ts +8 -10
- package/dist/components/lit-data-grid-tanstack.d.ts.map +1 -1
- package/dist/components/lit-data-grid-tanstack.js +58 -167
- package/dist/components/lit-data-grid-tanstack.js.map +1 -1
- package/dist/shared/filter-inputs.d.ts +11 -9
- package/dist/shared/filter-inputs.d.ts.map +1 -1
- package/dist/shared/filter-inputs.js +102 -103
- package/dist/shared/filter-inputs.js.map +1 -1
- package/dist/shared/lit-data-grid-operators-popover.d.ts.map +1 -1
- package/dist/shared/lit-data-grid-operators-popover.js +1 -6
- package/dist/shared/lit-data-grid-operators-popover.js.map +1 -1
- package/dist/shared/lit-date-picker.d.ts +2 -2
- package/dist/shared/lit-date-picker.d.ts.map +1 -1
- package/dist/shared/lit-date-picker.js +9 -4
- package/dist/shared/lit-date-picker.js.map +1 -1
- package/dist/shared/lit-icon.d.ts.map +1 -1
- package/dist/shared/lit-icon.js +0 -1
- package/dist/shared/lit-icon.js.map +1 -1
- package/dist/shared/lit-input.d.ts.map +1 -1
- package/dist/shared/lit-input.js +2 -5
- package/dist/shared/lit-input.js.map +1 -1
- package/dist/shared/lit-select.d.ts +1 -0
- package/dist/shared/lit-select.d.ts.map +1 -1
- package/dist/shared/lit-select.js +5 -1
- package/dist/shared/lit-select.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
|
-
import { ColumnFiltersState, VisibilityState } from '@tanstack/lit-table';
|
|
2
|
+
import { ColumnFiltersState, SortingState, VisibilityState } from '@tanstack/lit-table';
|
|
3
3
|
import '../shared/filter-inputs.js';
|
|
4
4
|
import '../shared/lit-icon.js';
|
|
5
5
|
import '../shared/lit-icon-button.js';
|
|
@@ -16,7 +16,6 @@ import '../shared/simple-tooltip.js';
|
|
|
16
16
|
import '../shared/lit-checkbox.js';
|
|
17
17
|
import '../shared/lit-overflow-tooltip.js';
|
|
18
18
|
import type { ActionButton } from '../shared/lit-data-grid-row-actions.js';
|
|
19
|
-
import type { Operator } from './lit-filter-modal.js';
|
|
20
19
|
declare global {
|
|
21
20
|
interface Window {
|
|
22
21
|
XLSX: any;
|
|
@@ -30,8 +29,10 @@ export type ColumnCustomFilter = {
|
|
|
30
29
|
};
|
|
31
30
|
export interface ColumnFilterServer {
|
|
32
31
|
id: string;
|
|
33
|
-
value:
|
|
34
|
-
|
|
32
|
+
value: {
|
|
33
|
+
operator: string;
|
|
34
|
+
value: string | number | boolean | Date | null;
|
|
35
|
+
};
|
|
35
36
|
}
|
|
36
37
|
export type TColumnVisibility = Record<string, boolean>;
|
|
37
38
|
export type ColumnType = 'string' | 'number' | 'date' | 'range' | 'select' | 'multiselect' | 'dateTime' | 'actions' | 'dateTimeRange' | 'dateRange' | 'numberRange';
|
|
@@ -139,7 +140,7 @@ export declare class LitDataGridTanstack extends LitElement {
|
|
|
139
140
|
actionButtonsInMenu?: boolean;
|
|
140
141
|
id: string;
|
|
141
142
|
initialGroups?: string[];
|
|
142
|
-
initialSorting?:
|
|
143
|
+
initialSorting?: SortingState;
|
|
143
144
|
initialColumnVisibility?: Record<string, boolean>;
|
|
144
145
|
initialRowExpanded: Record<string, boolean> | true;
|
|
145
146
|
columnSizing: {};
|
|
@@ -152,7 +153,7 @@ export declare class LitDataGridTanstack extends LitElement {
|
|
|
152
153
|
dateFormat?: DateFormats;
|
|
153
154
|
isLoading: boolean;
|
|
154
155
|
enableRowSelection?: boolean;
|
|
155
|
-
initialFiltering?:
|
|
156
|
+
initialFiltering?: any;
|
|
156
157
|
server?: boolean;
|
|
157
158
|
scrollEndThreshold?: number;
|
|
158
159
|
rowDensity?: 'compact' | 'standard' | 'comfort';
|
|
@@ -190,7 +191,6 @@ export declare class LitDataGridTanstack extends LitElement {
|
|
|
190
191
|
private filtersServer;
|
|
191
192
|
private columnOrder;
|
|
192
193
|
private sorting;
|
|
193
|
-
private rowExpanded;
|
|
194
194
|
table: any;
|
|
195
195
|
private rowHeight;
|
|
196
196
|
private scrollToEnd;
|
|
@@ -201,7 +201,6 @@ export declare class LitDataGridTanstack extends LitElement {
|
|
|
201
201
|
private scrollInterval;
|
|
202
202
|
private currentScrollTop;
|
|
203
203
|
private lastSelectedIndex;
|
|
204
|
-
private operatorMap;
|
|
205
204
|
tableBody: HTMLDivElement;
|
|
206
205
|
get rows(): any[];
|
|
207
206
|
get getColumns(): Column[];
|
|
@@ -211,7 +210,7 @@ export declare class LitDataGridTanstack extends LitElement {
|
|
|
211
210
|
firstUpdated(): void;
|
|
212
211
|
private initSortable;
|
|
213
212
|
loadXLSX(): Promise<void>;
|
|
214
|
-
getRowHeight():
|
|
213
|
+
getRowHeight(): 31 | 38 | 50;
|
|
215
214
|
getButtonSize(): "small" | "medium" | "large";
|
|
216
215
|
handleSetDensity(density: Density): void;
|
|
217
216
|
private handleMouseDown;
|
|
@@ -234,7 +233,6 @@ export declare class LitDataGridTanstack extends LitElement {
|
|
|
234
233
|
private stopScroll;
|
|
235
234
|
handleScroll(event: Event): void;
|
|
236
235
|
handleGetTotalNumber(): void;
|
|
237
|
-
private handleOperatorChange;
|
|
238
236
|
static styles: import("lit").CSSResult[];
|
|
239
237
|
render(): import("lit-html").TemplateResult<1>;
|
|
240
238
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lit-data-grid-tanstack.d.ts","sourceRoot":"","sources":["../../src/components/lit-data-grid-tanstack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAK5C,OAAO,EAaH,kBAAkB,
|
|
1
|
+
{"version":3,"file":"lit-data-grid-tanstack.d.ts","sourceRoot":"","sources":["../../src/components/lit-data-grid-tanstack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAK5C,OAAO,EAaH,k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,IAAI,IAAI,UAEP;IAED,IAAI,UAAU,aAEb;IAED,iBAAiB;IAQjB,oBAAoB;IAKpB,OAAO,CAAC,iBAAiB,EAAE,GAAG;IA8B9B,YAAY;YAcE,YAAY;IAoDpB,QAAQ;IAWd,YAAY;IAYZ,aAAa;IAab,gBAAgB,CAAC,OAAO,EAAE,OAAO;IAOjC,OAAO,CAAC,eAAe;IAMvB,OAAO,CAAC,yBAAyB;IAuDjC,OAAO,CAAC,aAAa,CAkDnB;IAGF,OAAO,CAAC,kBAAkB;IAW1B,OAAO,CAAC,SAAS;IAIjB,OAAO,CAAC,qBAAqB;IAW7B,OAAO,CAAC,cAAc;IA8BtB,OAAO,CAAC,oBAAoB;IAM5B,OAAO,CAAC,kBAAkB;IA4F1B,sBAAsB,GAAI,MAAM,GAAG,YAcjC;IAEF,OAAO,CAAC,sBAAsB;IAoB9B,OAAO,CAAC,SAAS;IASjB,OAAO,CAAC,eAAe;IAyDjB,iBAAiB;IA6DvB,OAAO,CAAC,0BAA0B;IAoBlC,OAAO,CAAC,iBAAiB,CASvB;IAEF,OAAO,CAAC,WAAW;IAenB,OAAO,CAAC,UAAU;IAOlB,YAAY,CAAC,KAAK,EAAE,KAAK;IAczB,oBAAoB;IAMpB,MAAM,CAAC,MAAM,4BAmRX;IAEF,MAAM;CA8zBT;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,wBAAwB,EAAE,mBAAmB,CAAC;KACjD;CACJ"}
|
|
@@ -35,7 +35,6 @@ import '../shared/lit-overflow-tooltip.js';
|
|
|
35
35
|
import { formatDate } from '../utils/date.js';
|
|
36
36
|
import { dateFilterFn, multiselectFilterFn, dateRangeFilterFn } from '../utils/custom-filters.js';
|
|
37
37
|
import { setLocale, getLocale } from '../utils/localization.js';
|
|
38
|
-
import { getDefaultOperator, isAllowedType } from '../utils/getOperatorByType.js';
|
|
39
38
|
let LitDataGridTanstack = class LitDataGridTanstack extends LitElement {
|
|
40
39
|
constructor() {
|
|
41
40
|
super(...arguments);
|
|
@@ -87,31 +86,26 @@ let LitDataGridTanstack = class LitDataGridTanstack extends LitElement {
|
|
|
87
86
|
this.filtersServer = [];
|
|
88
87
|
this.columnOrder = [];
|
|
89
88
|
this.sorting = [];
|
|
90
|
-
this.rowExpanded = {};
|
|
91
89
|
this.rowHeight = 31;
|
|
92
90
|
this.scrollToEnd = false;
|
|
93
91
|
this.tableContainerRef = createRef();
|
|
94
92
|
this.scrollInterval = null;
|
|
95
93
|
this.currentScrollTop = 0;
|
|
96
94
|
this.lastSelectedIndex = null;
|
|
97
|
-
this.operatorMap = new Map();
|
|
98
95
|
this.handleKeyDown = (event) => {
|
|
99
96
|
event.preventDefault();
|
|
100
97
|
// Skip arrow navigation if multi-selection is enabled
|
|
101
|
-
if (
|
|
98
|
+
if (this.enableMultiRowSelection || !this.table)
|
|
102
99
|
return;
|
|
103
100
|
const rows = this.table.getRowModel().rows;
|
|
104
101
|
if (!rows.length)
|
|
105
102
|
return;
|
|
106
|
-
const
|
|
107
|
-
const selectedRowModel = selectedRowId
|
|
108
|
-
? this.table.getSelectedRowModel().rowsById[selectedRowId]
|
|
109
|
-
: undefined;
|
|
110
|
-
const currentIndex = selectedRowModel?.index ?? 0;
|
|
103
|
+
const currentIndex = rows.findIndex((row) => row.getIsSelected());
|
|
111
104
|
let newIndex = currentIndex;
|
|
112
105
|
// Delegate to external handler if provided
|
|
113
|
-
|
|
114
|
-
|
|
106
|
+
const focusedRow = rows[currentIndex];
|
|
107
|
+
if (focusedRow) {
|
|
108
|
+
this.onCellKeyDown?.(event, focusedRow);
|
|
115
109
|
}
|
|
116
110
|
switch (event.key) {
|
|
117
111
|
case 'ArrowDown':
|
|
@@ -121,8 +115,8 @@ let LitDataGridTanstack = class LitDataGridTanstack extends LitElement {
|
|
|
121
115
|
newIndex = Math.max(currentIndex - 1, 0);
|
|
122
116
|
break;
|
|
123
117
|
case 'Enter':
|
|
124
|
-
if (
|
|
125
|
-
this.handleRowDoubleClick?.(
|
|
118
|
+
if (focusedRow) {
|
|
119
|
+
this.handleRowDoubleClick?.(focusedRow);
|
|
126
120
|
}
|
|
127
121
|
return;
|
|
128
122
|
default:
|
|
@@ -130,11 +124,18 @@ let LitDataGridTanstack = class LitDataGridTanstack extends LitElement {
|
|
|
130
124
|
}
|
|
131
125
|
if (newIndex !== currentIndex) {
|
|
132
126
|
const newRow = rows[newIndex];
|
|
133
|
-
this.table.setRowSelection({ [newRow.id]: true });
|
|
127
|
+
this.table.setRowSelection({ [newRow.original.id]: true });
|
|
134
128
|
this.lastSelectedIndex = newIndex;
|
|
135
129
|
// Scroll the new row into view
|
|
136
|
-
|
|
137
|
-
|
|
130
|
+
if (this.rowVirtualizerController) {
|
|
131
|
+
this.rowVirtualizerController.getVirtualizer().scrollToIndex(newIndex, {
|
|
132
|
+
align: 'center',
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
else {
|
|
136
|
+
const rowEl = this.tableBody?.querySelectorAll('tr')[newIndex];
|
|
137
|
+
rowEl?.scrollIntoView({ block: 'center' });
|
|
138
|
+
}
|
|
138
139
|
}
|
|
139
140
|
};
|
|
140
141
|
this.getCellBackgroundColor = (cell) => {
|
|
@@ -171,100 +172,52 @@ let LitDataGridTanstack = class LitDataGridTanstack extends LitElement {
|
|
|
171
172
|
}
|
|
172
173
|
// lifecycle
|
|
173
174
|
connectedCallback() {
|
|
174
|
-
super.connectedCallback();
|
|
175
|
-
this.handleKeyDown = this.handleKeyDown.bind(this);
|
|
176
175
|
this.initRowVirtualizer();
|
|
177
176
|
this.initColumnVirtualizer();
|
|
178
177
|
this.initTable();
|
|
179
178
|
window.addEventListener('resize', this.updateScrollState);
|
|
179
|
+
super.connectedCallback();
|
|
180
180
|
}
|
|
181
181
|
disconnectedCallback() {
|
|
182
182
|
super.disconnectedCallback();
|
|
183
183
|
window.removeEventListener('resize', this.updateScrollState);
|
|
184
|
-
if (this.tableBody) {
|
|
185
|
-
this.tableBody.removeEventListener('keydown', this.handleKeyDown);
|
|
186
|
-
}
|
|
187
184
|
}
|
|
188
185
|
updated(changedProperties) {
|
|
189
|
-
if (
|
|
190
|
-
this.enableRowVirtualization) {
|
|
186
|
+
if (changedProperties.has('rowsCount') && this.enableRowVirtualization) {
|
|
191
187
|
this.scrollToEnd = false;
|
|
192
|
-
this.
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
188
|
+
const virtualizer = this.rowVirtualizerController?.getVirtualizer();
|
|
189
|
+
if (virtualizer) {
|
|
190
|
+
virtualizer.setOptions({
|
|
191
|
+
...virtualizer.options,
|
|
192
|
+
count: this.table?.getRowModel()?.rows.length,
|
|
193
|
+
});
|
|
194
|
+
}
|
|
197
195
|
this.requestUpdate();
|
|
198
196
|
}
|
|
199
|
-
if (changedProperties.has('
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
const defaultOperator = getDefaultOperator(columnType);
|
|
208
|
-
this.operatorMap.set(id, defaultOperator);
|
|
209
|
-
}
|
|
210
|
-
});
|
|
211
|
-
for (const filter of this.initialFiltering) {
|
|
212
|
-
if (typeof filter.operator === 'string') {
|
|
213
|
-
this.operatorMap.set(filter.id, filter.operator);
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
this.filtersServer = [...(this.initialFiltering || [])];
|
|
217
|
-
}
|
|
218
|
-
else {
|
|
219
|
-
this.filters = [...(this.initialFiltering || [])];
|
|
197
|
+
if ((changedProperties.has('columns') || changedProperties.has('columnVisibility')) &&
|
|
198
|
+
this.enableColumnVirtualization) {
|
|
199
|
+
const virtualizer = this.columnVirtualizerController?.getVirtualizer();
|
|
200
|
+
if (virtualizer) {
|
|
201
|
+
virtualizer.setOptions({
|
|
202
|
+
...virtualizer.options,
|
|
203
|
+
count: this.table?.getVisibleLeafColumns().length,
|
|
204
|
+
});
|
|
220
205
|
}
|
|
221
206
|
}
|
|
222
|
-
if (changedProperties.has('initialSorting')) {
|
|
223
|
-
this.sorting = [...(this.initialSorting || [])];
|
|
224
|
-
}
|
|
225
|
-
if (changedProperties.has('rowDensity')) {
|
|
226
|
-
this.rowHeight = this.getRowHeight();
|
|
227
|
-
}
|
|
228
|
-
if (changedProperties.has('initialRowExpanded')) {
|
|
229
|
-
this.rowExpanded = this.initialRowExpanded;
|
|
230
|
-
}
|
|
231
207
|
if (changedProperties.has('row') || changedProperties.has('columns')) {
|
|
232
208
|
this.initTable();
|
|
233
|
-
this.requestUpdate();
|
|
234
209
|
}
|
|
235
210
|
}
|
|
236
211
|
firstUpdated() {
|
|
237
|
-
this.addEventListener('filter-operator-change', (e) => this.handleOperatorChange(e));
|
|
238
212
|
const grid = this.tableContainerRef.value;
|
|
239
213
|
if (grid) {
|
|
240
214
|
grid.addEventListener('scroll', this.updateScrollState);
|
|
241
215
|
}
|
|
242
216
|
this.updateScrollState();
|
|
243
|
-
if (this.server && this.initialFiltering) {
|
|
244
|
-
for (const filter of this.initialFiltering) {
|
|
245
|
-
if (typeof filter.operator === 'string') {
|
|
246
|
-
this.operatorMap.set(filter.id, filter.operator);
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
if (this.tableBody) {
|
|
251
|
-
this.tableBody.addEventListener('keydown', this.handleKeyDown);
|
|
252
|
-
this.tableBody.setAttribute('tabindex', '0'); // Needed to make <tbody> focusable
|
|
253
|
-
}
|
|
254
217
|
if (this.autoFocus) {
|
|
218
|
+
this.tableBody.setAttribute('tabindex', '0'); // Needed to make <tbody> focusable
|
|
255
219
|
this.tableBody?.focus();
|
|
256
220
|
}
|
|
257
|
-
if (this.server) {
|
|
258
|
-
this.columns.forEach((column) => {
|
|
259
|
-
if (!this.operatorMap.has(column.field)) {
|
|
260
|
-
const columnType = column.type;
|
|
261
|
-
if (isAllowedType(columnType)) {
|
|
262
|
-
const defaultOperator = getDefaultOperator(columnType);
|
|
263
|
-
this.operatorMap.set(column.field, defaultOperator);
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
});
|
|
267
|
-
}
|
|
268
221
|
this.initSortable();
|
|
269
222
|
}
|
|
270
223
|
async initSortable() {
|
|
@@ -417,9 +370,10 @@ let LitDataGridTanstack = class LitDataGridTanstack extends LitElement {
|
|
|
417
370
|
this.rowVirtualizerController = new VirtualizerController(this, {
|
|
418
371
|
count: this.table?.getRowModel()?.rows.length || this.row?.length || 1,
|
|
419
372
|
getScrollElement: () => this.tableContainerRef.value,
|
|
420
|
-
estimateSize: () => this.
|
|
373
|
+
estimateSize: () => this.getRowHeight(),
|
|
421
374
|
overscan: 5,
|
|
422
375
|
initialOffset: this.currentScrollTop,
|
|
376
|
+
enabled: this.enableRowVirtualization,
|
|
423
377
|
});
|
|
424
378
|
}
|
|
425
379
|
initTable() {
|
|
@@ -432,6 +386,7 @@ let LitDataGridTanstack = class LitDataGridTanstack extends LitElement {
|
|
|
432
386
|
getScrollElement: () => this.tableContainerRef.value,
|
|
433
387
|
estimateSize: (index) => this.table.getVisibleLeafColumns()[index]?.getSize() || 200,
|
|
434
388
|
overscan: 5,
|
|
389
|
+
enabled: this.enableColumnVirtualization,
|
|
435
390
|
});
|
|
436
391
|
}
|
|
437
392
|
handleRowClick(event, row) {
|
|
@@ -720,42 +675,6 @@ let LitDataGridTanstack = class LitDataGridTanstack extends LitElement {
|
|
|
720
675
|
this.getTotalNumberFn();
|
|
721
676
|
}
|
|
722
677
|
}
|
|
723
|
-
handleOperatorChange(e) {
|
|
724
|
-
if (!this.server)
|
|
725
|
-
return;
|
|
726
|
-
const { columnId, operator, silent } = e.detail;
|
|
727
|
-
this.operatorMap.set(columnId, operator);
|
|
728
|
-
const filtersState = this.filtersServer;
|
|
729
|
-
const filter = filtersState.find((f) => f.id === columnId);
|
|
730
|
-
const Operator = operator === 'isEmpty' || operator === 'isNotEmpty';
|
|
731
|
-
if (!Operator && !filter?.value) {
|
|
732
|
-
return;
|
|
733
|
-
}
|
|
734
|
-
const filtersServer = [];
|
|
735
|
-
for (const filter of filtersState) {
|
|
736
|
-
const operator = this.operatorMap.get(filter.id);
|
|
737
|
-
filtersServer.push({
|
|
738
|
-
id: filter.id,
|
|
739
|
-
value: filter.value,
|
|
740
|
-
operator: operator,
|
|
741
|
-
});
|
|
742
|
-
}
|
|
743
|
-
for (const [columnId, operator] of this.operatorMap.entries()) {
|
|
744
|
-
if (operator === 'isEmpty' || operator === 'isNotEmpty') {
|
|
745
|
-
filtersServer.push({
|
|
746
|
-
id: columnId,
|
|
747
|
-
value: undefined,
|
|
748
|
-
operator: operator,
|
|
749
|
-
});
|
|
750
|
-
}
|
|
751
|
-
}
|
|
752
|
-
if (!silent) {
|
|
753
|
-
this.filtersServer = filtersServer;
|
|
754
|
-
if (this.onColumnFiltersChanged) {
|
|
755
|
-
this.onColumnFiltersChanged(this.table, this.filtersServer);
|
|
756
|
-
}
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
678
|
render() {
|
|
760
679
|
// checbox column for multiple selection
|
|
761
680
|
const checkboxColumn = this.enableMultiRowSelection
|
|
@@ -796,7 +715,6 @@ let LitDataGridTanstack = class LitDataGridTanstack extends LitElement {
|
|
|
796
715
|
if (getLocale() !== this.userLang) {
|
|
797
716
|
setLocale(this.userLang || 'cs');
|
|
798
717
|
}
|
|
799
|
-
console.log('table.getIsAllRowsSelected()', this.table?.getIsAllRowsSelected());
|
|
800
718
|
this.table = this.tableController.table({
|
|
801
719
|
data: this.rows || [],
|
|
802
720
|
columns: [...checkboxColumn, ...this.getTanstackColumns(this.getColumns)],
|
|
@@ -820,11 +738,12 @@ let LitDataGridTanstack = class LitDataGridTanstack extends LitElement {
|
|
|
820
738
|
},
|
|
821
739
|
state: {
|
|
822
740
|
columnVisibility: this.columnVisibility,
|
|
823
|
-
columnFilters: this.server ? this.filtersServer : this.filters,
|
|
824
|
-
|
|
741
|
+
// columnFilters: this.server ? this.filtersServer : this.filters,
|
|
742
|
+
columnFilters: this.initialFiltering,
|
|
743
|
+
sorting: this.initialSorting,
|
|
825
744
|
rowSelection: this.rowsSelected,
|
|
826
745
|
columnSizing: this.columnSizing,
|
|
827
|
-
expanded: this.
|
|
746
|
+
expanded: this.initialRowExpanded,
|
|
828
747
|
columnOrder: this.columnOrder,
|
|
829
748
|
},
|
|
830
749
|
filterFns: {
|
|
@@ -858,35 +777,9 @@ let LitDataGridTanstack = class LitDataGridTanstack extends LitElement {
|
|
|
858
777
|
const filtersState = typeof updaterOrValue === 'function'
|
|
859
778
|
? updaterOrValue(this.table.getState().columnFilters)
|
|
860
779
|
: updaterOrValue;
|
|
861
|
-
this.
|
|
862
|
-
if (this.
|
|
863
|
-
|
|
864
|
-
for (const filter of filtersState) {
|
|
865
|
-
const operator = this.operatorMap.get(filter.id);
|
|
866
|
-
filtersServer.push({
|
|
867
|
-
id: filter.id,
|
|
868
|
-
value: filter.value,
|
|
869
|
-
operator: operator,
|
|
870
|
-
});
|
|
871
|
-
}
|
|
872
|
-
for (const [columnId, operator] of this.operatorMap.entries()) {
|
|
873
|
-
if (operator === 'isEmpty' || operator === 'isNotEmpty') {
|
|
874
|
-
filtersServer.push({
|
|
875
|
-
id: columnId,
|
|
876
|
-
value: undefined,
|
|
877
|
-
operator: operator,
|
|
878
|
-
});
|
|
879
|
-
}
|
|
880
|
-
}
|
|
881
|
-
this.filtersServer = [...filtersServer];
|
|
882
|
-
if (this.onColumnFiltersChanged) {
|
|
883
|
-
this.onColumnFiltersChanged(this.table, this.filtersServer);
|
|
884
|
-
}
|
|
885
|
-
}
|
|
886
|
-
else {
|
|
887
|
-
if (this.onColumnFiltersChanged) {
|
|
888
|
-
this.onColumnFiltersChanged(this.table, filtersState);
|
|
889
|
-
}
|
|
780
|
+
this.initialFiltering = filtersState;
|
|
781
|
+
if (this.onColumnFiltersChanged) {
|
|
782
|
+
this.onColumnFiltersChanged(this.table, filtersState);
|
|
890
783
|
}
|
|
891
784
|
},
|
|
892
785
|
onSortingChange: (updaterOrValue) => {
|
|
@@ -898,7 +791,7 @@ let LitDataGridTanstack = class LitDataGridTanstack extends LitElement {
|
|
|
898
791
|
const sortingState = typeof updaterOrValue === 'function'
|
|
899
792
|
? updaterOrValue(this.table.getState().sorting)
|
|
900
793
|
: updaterOrValue;
|
|
901
|
-
this.
|
|
794
|
+
this.initialSorting = sortingState;
|
|
902
795
|
if (this.onColumnSortChanged) {
|
|
903
796
|
this.onColumnSortChanged(this.table, sortingState);
|
|
904
797
|
}
|
|
@@ -925,9 +818,11 @@ let LitDataGridTanstack = class LitDataGridTanstack extends LitElement {
|
|
|
925
818
|
},
|
|
926
819
|
onExpandedChange: (updaterOrValue) => {
|
|
927
820
|
const rowExpanded = typeof updaterOrValue === 'function'
|
|
928
|
-
? updaterOrValue(this.
|
|
821
|
+
? updaterOrValue(this.initialRowExpanded)
|
|
929
822
|
: updaterOrValue;
|
|
930
|
-
this.
|
|
823
|
+
this.initialRowExpanded = _.isEmpty(rowExpanded)
|
|
824
|
+
? this.initialRowExpanded
|
|
825
|
+
: rowExpanded;
|
|
931
826
|
this.requestUpdate();
|
|
932
827
|
// if (this.onColumnResize) {
|
|
933
828
|
// this.onColumnResize(this.table, columnSizingState);
|
|
@@ -969,9 +864,9 @@ let LitDataGridTanstack = class LitDataGridTanstack extends LitElement {
|
|
|
969
864
|
: rows.map((_, index) => ({
|
|
970
865
|
key: index,
|
|
971
866
|
index,
|
|
972
|
-
start: index * this.
|
|
973
|
-
end: (index + 1) * this.
|
|
974
|
-
size: this.
|
|
867
|
+
start: index * this.getRowHeight(),
|
|
868
|
+
end: (index + 1) * this.getRowHeight(),
|
|
869
|
+
size: this.getRowHeight(),
|
|
975
870
|
lane: 0,
|
|
976
871
|
}));
|
|
977
872
|
// Calculate padding for virtualization
|
|
@@ -1232,9 +1127,6 @@ let LitDataGridTanstack = class LitDataGridTanstack extends LitElement {
|
|
|
1232
1127
|
.handleFilterTabNavigation}
|
|
1233
1128
|
.server=${this
|
|
1234
1129
|
.server}
|
|
1235
|
-
.operator=${this.operatorMap.get(header
|
|
1236
|
-
.column
|
|
1237
|
-
.id)}
|
|
1238
1130
|
></filter-inputs>
|
|
1239
1131
|
</div>
|
|
1240
1132
|
`
|
|
@@ -1281,6 +1173,8 @@ let LitDataGridTanstack = class LitDataGridTanstack extends LitElement {
|
|
|
1281
1173
|
</thead>
|
|
1282
1174
|
|
|
1283
1175
|
<tbody
|
|
1176
|
+
@keydown=${this.handleKeyDown}
|
|
1177
|
+
tabindex="0"
|
|
1284
1178
|
style="height: ${rowVirtualizer &&
|
|
1285
1179
|
this.table.getRowModel().rows.length > 0
|
|
1286
1180
|
? rowVirtualizer.getTotalSize() + 'px'
|
|
@@ -1301,8 +1195,8 @@ let LitDataGridTanstack = class LitDataGridTanstack extends LitElement {
|
|
|
1301
1195
|
transform: rowVirtualizer
|
|
1302
1196
|
? `translateY(${item.start}px)`
|
|
1303
1197
|
: 'none',
|
|
1304
|
-
height: `${this.
|
|
1305
|
-
lineHeight: `${this.
|
|
1198
|
+
height: `${this.getRowHeight()}px`,
|
|
1199
|
+
lineHeight: `${this.getRowHeight()}px`,
|
|
1306
1200
|
position: rowVirtualizer ? 'absolute' : 'relative',
|
|
1307
1201
|
};
|
|
1308
1202
|
return row
|
|
@@ -1344,7 +1238,7 @@ let LitDataGridTanstack = class LitDataGridTanstack extends LitElement {
|
|
|
1344
1238
|
width: `${cell.column?.getSize()}px`,
|
|
1345
1239
|
flexGrow: `${column.columnDef.size === undefined ? 1 : 'unset'}`,
|
|
1346
1240
|
background: this.getCellBackgroundColor(cell),
|
|
1347
|
-
lineHeight: `${this.
|
|
1241
|
+
lineHeight: `${this.getRowHeight()}px`,
|
|
1348
1242
|
padding: column.columnDef.type ===
|
|
1349
1243
|
'actions' ||
|
|
1350
1244
|
column.columnDef.type ===
|
|
@@ -1964,9 +1858,6 @@ __decorate([
|
|
|
1964
1858
|
__decorate([
|
|
1965
1859
|
state()
|
|
1966
1860
|
], LitDataGridTanstack.prototype, "sorting", void 0);
|
|
1967
|
-
__decorate([
|
|
1968
|
-
state()
|
|
1969
|
-
], LitDataGridTanstack.prototype, "rowExpanded", void 0);
|
|
1970
1861
|
__decorate([
|
|
1971
1862
|
state()
|
|
1972
1863
|
], LitDataGridTanstack.prototype, "table", void 0);
|