@sebgroup/green-core-ng 2.35.1 → 2.37.0

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.
@@ -53,6 +53,7 @@ export * from './filter-chip';
53
53
  export * from './formatted-account';
54
54
  export * from './formatted-date';
55
55
  export * from './formatted-number';
56
+ export * from './radio-group';
56
57
  export * from './icon-ai';
57
58
  export * from './icon-airplane-up';
58
59
  export * from './icon-archive';
@@ -392,7 +393,6 @@ export * from './icon-youtube';
392
393
  export * from './icon-zap';
393
394
  export * from './icon-zoom-in';
394
395
  export * from './icon-zoom-out';
395
- export * from './radio-group';
396
396
  export * from './segment';
397
397
  export * from './sensitive-account';
398
398
  export * from './sensitive-date';
@@ -37,6 +37,8 @@ export declare class GdsTableComponent implements OnInit, OnChanges, AfterViewIn
37
37
  density?: GdsTable['density'];
38
38
  /** Enables row selection functionality. */
39
39
  selectable?: GdsTable['selectable'];
40
+ /** Disables select all checkbox in header. */
41
+ disableSelectAll?: GdsTable['disableSelectAll'];
40
42
  /** Transforms table layout for mobile screens. */
41
43
  responsive?: GdsTable['responsive'];
42
44
  /** Removes table header and footer. */
@@ -52,6 +54,17 @@ export declare class GdsTableComponent implements OnInit, OnChanges, AfterViewIn
52
54
  actions?: GdsTable['actions'];
53
55
  /** Disables data caching mechanism. */
54
56
  nocache?: GdsTable['nocache'];
57
+ /** Configures a table footer row (`<tfoot>`) at the bottom of the table.
58
+ The footer row provides slot insertion points for each visible column,
59
+ letting consumers render any aggregation (sum, average, count, etc.).
60
+
61
+ Use `tfoot.label` to optionally show a label in the first cell (omitted by default).
62
+ Use `tfoot.sticky` to pin the footer to the bottom of the scroll area.
63
+
64
+ Slot naming convention: `tfoot:{columnKey}`
65
+
66
+ Accepts: `{ label?: string, sticky?: boolean }` or omit to disable. */
67
+ tfoot?: GdsTable['tfoot'];
55
68
  /** Key to trigger data reloading when changed. Setting this to a new value
56
69
  forces the table to clear the cache and request new data from the data provider.
57
70
 
@@ -75,7 +88,7 @@ export declare class GdsTableComponent implements OnInit, OnChanges, AfterViewIn
75
88
  gdsRowsChange: EventEmitter<CustomEvent<any>>;
76
89
  /** Fired when sorting changes. Detail: `{ sortColumn: string, sortDirection: 'asc' | 'desc' }` */
77
90
  gdsSortChange: EventEmitter<CustomEvent<any>>;
78
- /** Fired when data is successfully loaded. */
91
+ /** Fired when data is successfully loaded. Detail: `{ rows: T[], total: number, page: number, rowsPerPage: number, searchQuery: string, sortColumn?: string, sortDirection?: 'asc' | 'desc' }` */
79
92
  gdsTableDataLoaded: EventEmitter<CustomEvent<any>>;
80
93
  /** Fired when data loading fails. */
81
94
  gdsTableDataError: EventEmitter<CustomEvent<any>>;
@@ -85,8 +98,9 @@ export declare class GdsTableComponent implements OnInit, OnChanges, AfterViewIn
85
98
  ngOnChanges(changes: SimpleChanges): void;
86
99
  ngAfterViewInit(): void;
87
100
  static ɵfac: i0.ɵɵFactoryDeclaration<GdsTableComponent, never>;
88
- static ɵcmp: i0.ɵɵComponentDeclaration<GdsTableComponent, "gds-table", never, { "headline": { "alias": "headline"; "required": false; }; "headlineTag": { "alias": "headlineTag"; "required": false; }; "summary": { "alias": "summary"; "required": false; }; "searchLabel": { "alias": "searchLabel"; "required": false; }; "options": { "alias": "options"; "required": false; }; "page": { "alias": "page"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; "density": { "alias": "density"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "responsive": { "alias": "responsive"; "required": false; }; "plain": { "alias": "plain"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "settings": { "alias": "settings"; "required": false; }; "striped": { "alias": "striped"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "nocache": { "alias": "nocache"; "required": false; }; "dataLoadKey": { "alias": "dataLoadKey"; "required": false; }; "height": { "alias": "height"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, { "gdsPageChange": "gdsPageChange"; "gdsRowsChange": "gdsRowsChange"; "gdsSortChange": "gdsSortChange"; "gdsTableDataLoaded": "gdsTableDataLoaded"; "gdsTableDataError": "gdsTableDataError"; "gdsTableSelection": "gdsTableSelection"; }, never, ["*"], true, never>;
101
+ static ɵcmp: i0.ɵɵComponentDeclaration<GdsTableComponent, "gds-table", never, { "headline": { "alias": "headline"; "required": false; }; "headlineTag": { "alias": "headlineTag"; "required": false; }; "summary": { "alias": "summary"; "required": false; }; "searchLabel": { "alias": "searchLabel"; "required": false; }; "options": { "alias": "options"; "required": false; }; "page": { "alias": "page"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; "density": { "alias": "density"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "disableSelectAll": { "alias": "disableSelectAll"; "required": false; }; "responsive": { "alias": "responsive"; "required": false; }; "plain": { "alias": "plain"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "settings": { "alias": "settings"; "required": false; }; "striped": { "alias": "striped"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "nocache": { "alias": "nocache"; "required": false; }; "tfoot": { "alias": "tfoot"; "required": false; }; "dataLoadKey": { "alias": "dataLoadKey"; "required": false; }; "height": { "alias": "height"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, { "gdsPageChange": "gdsPageChange"; "gdsRowsChange": "gdsRowsChange"; "gdsSortChange": "gdsSortChange"; "gdsTableDataLoaded": "gdsTableDataLoaded"; "gdsTableDataError": "gdsTableDataError"; "gdsTableSelection": "gdsTableSelection"; }, never, ["*"], true, never>;
89
102
  static ngAcceptInputType_selectable: unknown;
103
+ static ngAcceptInputType_disableSelectAll: unknown;
90
104
  static ngAcceptInputType_responsive: unknown;
91
105
  static ngAcceptInputType_plain: unknown;
92
106
  static ngAcceptInputType_searchable: unknown;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sebgroup/green-core-ng",
3
3
  "description": "Angular wrappers for @sebgroup/green-core web components.",
4
- "version": "2.35.1",
4
+ "version": "2.37.0",
5
5
  "main": "src/index.js",
6
6
  "module": "fesm2022/sebgroup-green-core-ng.mjs",
7
7
  "type": "module",
@@ -22,7 +22,7 @@
22
22
  "directory": "../../dist/libs/core-ng"
23
23
  },
24
24
  "dependencies": {
25
- "@sebgroup/green-core": "2.35.1",
25
+ "@sebgroup/green-core": "2.37.0",
26
26
  "tslib": "^2.3.0"
27
27
  },
28
28
  "peerDependencies": {