compote-ui 0.43.6 → 0.43.7

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.
@@ -55,6 +55,26 @@
55
55
  return getSelectedRowCount(table);
56
56
  });
57
57
  const isColumnResizing = $derived(tableState.columnSizingInfo.isResizingColumn !== false);
58
+
59
+ $effect(() => {
60
+ console.log('VIRTUAL DATA TABLE DEBUG', {
61
+ columnVisibility: { ...tableState.columnVisibility },
62
+ visibleLeafColumns: table.getVisibleLeafColumns().map((column) => column.id),
63
+ allLeafColumns: table.getAllLeafColumns().map((column) => ({
64
+ id: column.id,
65
+ isVisible: column.getIsVisible()
66
+ })),
67
+ headerGroups: table.getHeaderGroups().map((group) => ({
68
+ id: group.id,
69
+ headers: group.headers.map((header) => ({
70
+ id: header.id,
71
+ columnId: header.column.id,
72
+ colSpan: header.colSpan,
73
+ isPlaceholder: header.isPlaceholder
74
+ }))
75
+ }))
76
+ });
77
+ });
58
78
  </script>
59
79
 
60
80
  <div
@@ -74,6 +74,26 @@
74
74
  return getSelectedRowCount(table);
75
75
  });
76
76
  const isColumnResizing = $derived(tableState.columnSizingInfo.isResizingColumn !== false);
77
+
78
+ $effect(() => {
79
+ console.log('DATA TABLE DEBUG', {
80
+ columnVisibility: { ...tableState.columnVisibility },
81
+ visibleLeafColumns: table.getVisibleLeafColumns().map((column) => column.id),
82
+ allLeafColumns: table.getAllLeafColumns().map((column) => ({
83
+ id: column.id,
84
+ isVisible: column.getIsVisible()
85
+ })),
86
+ headerGroups: table.getHeaderGroups().map((group) => ({
87
+ id: group.id,
88
+ headers: group.headers.map((header) => ({
89
+ id: header.id,
90
+ columnId: header.column.id,
91
+ colSpan: header.colSpan,
92
+ isPlaceholder: header.isPlaceholder
93
+ }))
94
+ }))
95
+ });
96
+ });
77
97
  </script>
78
98
 
79
99
  <div
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "compote-ui",
3
- "version": "0.43.6",
3
+ "version": "0.43.7",
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "dev": "vite dev --open",