ng-fusion-ui 0.7.3 → 0.7.35
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 +6 -6
- package/fesm2022/ng-fusion-ui.mjs +133 -151
- package/fesm2022/ng-fusion-ui.mjs.map +1 -1
- package/lib/button/directives/button.directive.d.ts +2 -2
- package/lib/data-table/table/table.component.d.ts +1 -1
- package/lib/table/column/column.component.d.ts +3 -0
- package/lib/table/directives/button.directive.d.ts +2 -2
- package/lib/table/directives/check-overflow.directive.d.ts +12 -0
- package/lib/table/directives/popover.directive.d.ts +17 -0
- package/lib/table/table/table.component.d.ts +36 -123
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ A flexible data table component with client/server pagination, sorting, column v
|
|
|
39
39
|
**Important Inputs**
|
|
40
40
|
- **dataSource:** (required) `T[]` — array of row objects to display.
|
|
41
41
|
- **totalItems:** `number` — total items for server-side pagination (default: `0`).
|
|
42
|
-
- **
|
|
42
|
+
- **stateKey:** `string` — key to persist table state (optional).
|
|
43
43
|
- **columnsConfig:** `FuColumnConfig[]` — override column visibility/order (optional).
|
|
44
44
|
- **configPanel:** `boolean` — show configuration sidebar (default: `false`).
|
|
45
45
|
- **filterPanel:** `boolean` — enable search panel (default: `false`).
|
|
@@ -55,11 +55,11 @@ A flexible data table component with client/server pagination, sorting, column v
|
|
|
55
55
|
- **rowClass:** `(row, index) => string | null` — function to set row CSS class.
|
|
56
56
|
|
|
57
57
|
**Outputs / Events**
|
|
58
|
-
- **
|
|
59
|
-
- **
|
|
60
|
-
- **
|
|
61
|
-
- **
|
|
62
|
-
- **
|
|
58
|
+
- **onQueryChanged:** `FuTableQuery` — emitted for server-side requests (page, size, sort).
|
|
59
|
+
- **onCellEdited:** `Record<string, unknown>` — column field -> new value when a cell is edited.
|
|
60
|
+
- **onColReorder:** `FuColumnConfig[]` — emitted when column order/visibility changes.
|
|
61
|
+
- **onRowEditComplete:** `T` — emitted when an edited row is submitted.
|
|
62
|
+
- **onRowSelect:** `T` — emitted when a row is clicked.
|
|
63
63
|
|
|
64
64
|
**Column definition**
|
|
65
65
|
Use `fu-column` inside `fu-table` to declare columns. Key inputs on `fu-column`:
|