@archbase/template 3.0.2 → 3.0.3
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/LICENSE +21 -0
- package/README.md +52 -0
- package/dist/index.js +573 -560
- package/dist/template/src/ArchbaseGridTemplate.d.ts +12 -0
- package/package.json +8 -8
|
@@ -67,6 +67,8 @@ export interface ArchbaseGridTemplateProps<T extends Object, ID> extends Archbas
|
|
|
67
67
|
enableRowActions?: boolean;
|
|
68
68
|
/** Posição da coluna de ações */
|
|
69
69
|
positionActionsColumn: 'first' | 'last';
|
|
70
|
+
/** Largura da coluna de ações. Default: 60 */
|
|
71
|
+
actionsColumnWidth?: number;
|
|
70
72
|
/** Padding da célula do cabeçalho da tabela */
|
|
71
73
|
tableHeadCellPadding?: string;
|
|
72
74
|
/** Função para renderizar o painel de detalhes */
|
|
@@ -93,6 +95,16 @@ export interface ArchbaseGridTemplateProps<T extends Object, ID> extends Archbas
|
|
|
93
95
|
of?: string;
|
|
94
96
|
};
|
|
95
97
|
customRenderRowActions?: (row: T) => ReactNode;
|
|
98
|
+
/** Exibir borda inferior da toolbar. Default: true */
|
|
99
|
+
withToolbarBorder?: boolean;
|
|
100
|
+
/** Exibir borda superior da paginação. Default: true */
|
|
101
|
+
withPaginationBorder?: boolean;
|
|
102
|
+
/** Padding da toolbar. Default: '8px 12px' */
|
|
103
|
+
toolbarPadding?: string | number;
|
|
104
|
+
/** Padding da paginação. Default: '8px 12px' */
|
|
105
|
+
paginationPadding?: string | number;
|
|
106
|
+
/** Altura das linhas da grid. Default: 52 */
|
|
107
|
+
rowHeight?: number;
|
|
96
108
|
}
|
|
97
109
|
export interface ArchbaseGridTemplateRef {
|
|
98
110
|
refreshData: () => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@archbase/template",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"description": "Template components for Archbase React v3 - High-level templates and layouts",
|
|
5
5
|
"author": "Edson Martins <edsonmartins2005@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
"react-dom": "^18.3.0 || ^19.2.0"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@archbase/advanced": "3.0.
|
|
34
|
-
"@archbase/components": "3.0.
|
|
35
|
-
"@archbase/core": "3.0.
|
|
36
|
-
"@archbase/data": "3.0.
|
|
37
|
-
"@archbase/layout": "3.0.
|
|
38
|
-
"@archbase/security": "3.0.
|
|
39
|
-
"@archbase/security-ui": "3.0.
|
|
33
|
+
"@archbase/advanced": "3.0.3",
|
|
34
|
+
"@archbase/components": "3.0.3",
|
|
35
|
+
"@archbase/core": "3.0.3",
|
|
36
|
+
"@archbase/data": "3.0.3",
|
|
37
|
+
"@archbase/layout": "3.0.3",
|
|
38
|
+
"@archbase/security": "3.0.3",
|
|
39
|
+
"@archbase/security-ui": "3.0.3",
|
|
40
40
|
"@rehooks/component-size": "^1.0.3",
|
|
41
41
|
"dayjs": "^1.11.13",
|
|
42
42
|
"i18next": "^25.3.1",
|