@praxisui/table 1.0.0-beta.4 → 1.0.0-beta.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.
- package/README.md +40 -0
- package/fesm2022/praxisui-table.mjs +81 -7
- package/fesm2022/praxisui-table.mjs.map +1 -1
- package/index.d.ts +12 -1
- package/package.json +5 -5
package/index.d.ts
CHANGED
|
@@ -547,6 +547,13 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
547
547
|
tableId: string;
|
|
548
548
|
/** Habilita visual de debug para alinhamento/layouot */
|
|
549
549
|
debugLayout: boolean;
|
|
550
|
+
/**
|
|
551
|
+
* Controla a estratégia de largura/scroll horizontal.
|
|
552
|
+
* - 'auto': (padrão) cria viewport com overflow-x e deixa a tabela crescer via max-content
|
|
553
|
+
* - 'wrap': permite quebra de linha nas células, reduzindo a largura (menos scroll)
|
|
554
|
+
* - 'none': desabilita comportamento da lib (host cuida do scroll)
|
|
555
|
+
*/
|
|
556
|
+
horizontalScroll: 'auto' | 'wrap' | 'none';
|
|
550
557
|
/** Contexto opcional quando tabela está dentro do componente CRUD */
|
|
551
558
|
crudContext?: {
|
|
552
559
|
tableId: string;
|
|
@@ -683,6 +690,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
683
690
|
private isDebug;
|
|
684
691
|
private connectionKey;
|
|
685
692
|
private saveConnection;
|
|
693
|
+
private inputsKey;
|
|
686
694
|
disconnect(): void;
|
|
687
695
|
ngAfterViewInit(): void;
|
|
688
696
|
onPageChange(event: PageEvent): void;
|
|
@@ -802,7 +810,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
802
810
|
private applyAppearanceVariables;
|
|
803
811
|
ngOnDestroy(): void;
|
|
804
812
|
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisTable, never>;
|
|
805
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTable, "praxis-table", never, { "config": { "alias": "config"; "required": false; }; "resourcePath": { "alias": "resourcePath"; "required": false; }; "filterCriteria": { "alias": "filterCriteria"; "required": false; }; "notifyIfOutdated": { "alias": "notifyIfOutdated"; "required": false; }; "snoozeMs": { "alias": "snoozeMs"; "required": false; }; "autoOpenSettingsOnOutdated": { "alias": "autoOpenSettingsOnOutdated"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; "toolbarV2": { "alias": "toolbarV2"; "required": false; }; "autoDelete": { "alias": "autoDelete"; "required": false; }; "editModeEnabled": { "alias": "editModeEnabled"; "required": false; }; "dense": { "alias": "dense"; "required": false; }; "tableId": { "alias": "tableId"; "required": false; }; "debugLayout": { "alias": "debugLayout"; "required": false; }; "crudContext": { "alias": "crudContext"; "required": false; }; "idField": { "alias": "idField"; "required": false; }; }, { "rowClick": "rowClick"; "rowAction": "rowAction"; "toolbarAction": "toolbarAction"; "bulkAction": "bulkAction"; "rowDoubleClick": "rowDoubleClick"; "schemaStatusChange": "schemaStatusChange"; "beforeDelete": "beforeDelete"; "afterDelete": "afterDelete"; "deleteError": "deleteError"; "beforeBulkDelete": "beforeBulkDelete"; "afterBulkDelete": "afterBulkDelete"; "bulkDeleteError": "bulkDeleteError"; }, ["projectedFilter"], ["[advancedFilter]", "[toolbar]", "[advancedFilter]", "[toolbar]"], true, never>;
|
|
813
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTable, "praxis-table", never, { "config": { "alias": "config"; "required": false; }; "resourcePath": { "alias": "resourcePath"; "required": false; }; "filterCriteria": { "alias": "filterCriteria"; "required": false; }; "notifyIfOutdated": { "alias": "notifyIfOutdated"; "required": false; }; "snoozeMs": { "alias": "snoozeMs"; "required": false; }; "autoOpenSettingsOnOutdated": { "alias": "autoOpenSettingsOnOutdated"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; "toolbarV2": { "alias": "toolbarV2"; "required": false; }; "autoDelete": { "alias": "autoDelete"; "required": false; }; "editModeEnabled": { "alias": "editModeEnabled"; "required": false; }; "dense": { "alias": "dense"; "required": false; }; "tableId": { "alias": "tableId"; "required": false; }; "debugLayout": { "alias": "debugLayout"; "required": false; }; "horizontalScroll": { "alias": "horizontalScroll"; "required": false; }; "crudContext": { "alias": "crudContext"; "required": false; }; "idField": { "alias": "idField"; "required": false; }; }, { "rowClick": "rowClick"; "rowAction": "rowAction"; "toolbarAction": "toolbarAction"; "bulkAction": "bulkAction"; "rowDoubleClick": "rowDoubleClick"; "schemaStatusChange": "schemaStatusChange"; "beforeDelete": "beforeDelete"; "afterDelete": "afterDelete"; "deleteError": "deleteError"; "beforeBulkDelete": "beforeBulkDelete"; "afterBulkDelete": "afterBulkDelete"; "bulkDeleteError": "bulkDeleteError"; }, ["projectedFilter"], ["[advancedFilter]", "[toolbar]", "[advancedFilter]", "[toolbar]"], true, never>;
|
|
806
814
|
}
|
|
807
815
|
|
|
808
816
|
declare class PraxisTableToolbar {
|
|
@@ -1289,6 +1297,8 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
|
|
|
1289
1297
|
private initialResourcePath;
|
|
1290
1298
|
idField: string;
|
|
1291
1299
|
private initialIdField;
|
|
1300
|
+
horizontalScroll: 'auto' | 'wrap' | 'none';
|
|
1301
|
+
private initialHorizontalScroll;
|
|
1292
1302
|
crudContext?: {
|
|
1293
1303
|
tableId: string;
|
|
1294
1304
|
resourcePath?: string;
|
|
@@ -1348,6 +1358,7 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
|
|
|
1348
1358
|
getSettingsValue(): TableConfig;
|
|
1349
1359
|
onResourcePathChange(val: string): void;
|
|
1350
1360
|
onIdFieldChange(val: string): void;
|
|
1361
|
+
onHorizontalScrollChange(val: 'auto' | 'wrap' | 'none'): void;
|
|
1351
1362
|
onReconcileIdField(): void;
|
|
1352
1363
|
onAcceptServerHash(): void;
|
|
1353
1364
|
onVisualRulesConfigChange(newConfig: TableConfig): void;
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/table",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.7",
|
|
4
4
|
"description": "Advanced data table for Angular (Praxis UI) with editing, filtering, sorting, virtualization, and settings panel integration.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^20.0.0",
|
|
7
7
|
"@angular/core": "^20.0.0",
|
|
8
|
-
"@praxisui/core": "^1.0.0-beta.
|
|
9
|
-
"@praxisui/dynamic-fields": "^1.0.0-beta.
|
|
10
|
-
"@praxisui/dynamic-form": "^1.0.0-beta.
|
|
11
|
-
"@praxisui/settings-panel": "^1.0.0-beta.
|
|
8
|
+
"@praxisui/core": "^1.0.0-beta.7",
|
|
9
|
+
"@praxisui/dynamic-fields": "^1.0.0-beta.7",
|
|
10
|
+
"@praxisui/dynamic-form": "^1.0.0-beta.7",
|
|
11
|
+
"@praxisui/settings-panel": "^1.0.0-beta.7"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"tslib": "^2.3.0"
|