@archbase/components 3.0.3 → 3.0.4
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@archbase/components",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.4",
|
|
4
4
|
"description": "UI Components for Archbase React v3 - Form editors, data visualization, and business components",
|
|
5
5
|
"author": "Edson Martins <edsonmartins2005@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"react-dom": "^18.3.0 || ^19.2.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@archbase/core": "3.0.
|
|
42
|
-
"@archbase/data": "3.0.
|
|
43
|
-
"@archbase/layout": "3.0.
|
|
41
|
+
"@archbase/core": "3.0.4",
|
|
42
|
+
"@archbase/data": "3.0.4",
|
|
43
|
+
"@archbase/layout": "3.0.4",
|
|
44
44
|
"@datou/react-vis-timeline": "^1.4.0",
|
|
45
45
|
"@gfazioli/mantine-list-view-table": "^1.1.9",
|
|
46
46
|
"@gfazioli/mantine-onboarding-tour": "^2.6.5",
|
|
@@ -288,6 +288,8 @@ export interface ArchbaseDataGridProps<T extends object = any, ID = any> {
|
|
|
288
288
|
|
|
289
289
|
// Flags de exibição
|
|
290
290
|
showProgressBars?: boolean;
|
|
291
|
+
/** Oculta o footer interno do MUI DataGrid. Default: true (footer é gerenciado externamente) */
|
|
292
|
+
hideFooter?: boolean;
|
|
291
293
|
|
|
292
294
|
// Callbacks
|
|
293
295
|
onSelectedRowsChanged?: (rows: T[]) => void;
|
|
@@ -165,6 +165,7 @@ function ArchbaseDataGrid<T extends object = any, ID = any>(props: ArchbaseDataG
|
|
|
165
165
|
onPrint,
|
|
166
166
|
onFilterModelChange,
|
|
167
167
|
showProgressBars = true,
|
|
168
|
+
hideFooter = true,
|
|
168
169
|
variant = 'filled',
|
|
169
170
|
fontSize,
|
|
170
171
|
cellPadding,
|
|
@@ -885,7 +886,19 @@ function ArchbaseDataGrid<T extends object = any, ID = any>(props: ArchbaseDataG
|
|
|
885
886
|
},
|
|
886
887
|
|
|
887
888
|
'& .MuiDataGrid-virtualScroller': {
|
|
888
|
-
paddingBottom: '
|
|
889
|
+
paddingBottom: '0px !important',
|
|
890
|
+
display: 'flex',
|
|
891
|
+
flexDirection: 'column',
|
|
892
|
+
},
|
|
893
|
+
|
|
894
|
+
'& .MuiDataGrid-virtualScrollerContent': {
|
|
895
|
+
flexBasis: 'auto !important',
|
|
896
|
+
flexGrow: '1 !important',
|
|
897
|
+
flexShrink: '0 !important',
|
|
898
|
+
},
|
|
899
|
+
|
|
900
|
+
'& .MuiDataGrid-filler': {
|
|
901
|
+
display: 'none !important',
|
|
889
902
|
}
|
|
890
903
|
}
|
|
891
904
|
}
|
|
@@ -1463,6 +1476,7 @@ function ArchbaseDataGrid<T extends object = any, ID = any>(props: ArchbaseDataG
|
|
|
1463
1476
|
sx={getThemedStyles().root}
|
|
1464
1477
|
disableColumnFilter={!allowColumnFilters}
|
|
1465
1478
|
disableColumnMenu={true}
|
|
1479
|
+
hideFooter={hideFooter}
|
|
1466
1480
|
slots={{
|
|
1467
1481
|
// Removemos os slots de toolbar e paginação pois eles agora estão fora da grid
|
|
1468
1482
|
toolbar: null,
|