@nanahoshi/mona-ui 0.47.0 → 0.49.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.
- package/docs/api/grid.json +1 -1
- package/docs/api/grid.md +18 -0
- package/docs/api/index.json +1 -1
- package/docs/api/tabs.json +1 -1
- package/docs/api/tabs.md +53 -6
- package/docs/grid-rows.md +36 -0
- package/docs/grid-server.md +6 -0
- package/docs/grid.md +3 -2
- package/docs/manifest.json +1 -1
- package/docs/tabs.md +185 -12
- package/fesm2022/{grid-colgroup.component-B4jx10Yi.mjs → grid-colgroup.component-BFbiAvkG.mjs} +2 -2
- package/fesm2022/{grid-footer-row.component-CVUltI39.mjs → grid-footer-row.component-DpSu7jvG.mjs} +3 -2
- package/fesm2022/{grid-list.component-Cv1KB5VQ.mjs → grid-list.component-B-F4bvFL.mjs} +5 -5
- package/fesm2022/{grid-row.component-BauMmps5.mjs → grid-row.component-CuCQ_Z5F.mjs} +37 -9
- package/fesm2022/{grid-virtual-list.component-DNjoZfHq.mjs → grid-virtual-list.component-rIz5AUOU.mjs} +31 -12
- package/fesm2022/{grid.styles-BJHVTT_v.mjs → grid.styles-D6jP3vwD.mjs} +110 -35
- package/fesm2022/nanahoshi-mona-ui-grid.mjs +16 -20
- package/fesm2022/nanahoshi-mona-ui-tabs.mjs +653 -107
- package/llms.txt +2 -2
- package/package.json +1 -1
- package/types/nanahoshi-mona-ui-grid.d.ts +35 -4
- package/types/nanahoshi-mona-ui-tabs.d.ts +217 -16
package/docs/api/grid.md
CHANGED
|
@@ -64,6 +64,7 @@ Component.
|
|
|
64
64
|
| `expandedKeysChange` | `unknown[]` | Emitted when `expandedKeys` changes. |
|
|
65
65
|
| `pageChange` | `PageChangeEvent` | Emitted when the user changes the page or the page size, when the user's sort or filter moves a client-side grid back to the first page, and when the grid moves back to the last page because the data shrank. Not emitted for `skip` or `pageSize` values set from code. |
|
|
66
66
|
| `pageSizeChange` | `number` | Emitted when `pageSize` changes. |
|
|
67
|
+
| `rowActivate` | `GridRowActivateEvent<T>` | Emitted when the user activates a data row, the way a file list opens an item: by double-clicking it, or by pressing `Enter` on one of its cells where the key has no other use. Editing, moving into a cell's controls and opening a detail row keep `Enter`. Not emitted for header, group, group footer, detail or add rows, for a double-click on a control inside a cell, or while an edit is open. |
|
|
67
68
|
| `skipChange` | `number` | Emitted when `skip` changes. |
|
|
68
69
|
|
|
69
70
|
## `GridCommandColumnComponent`
|
|
@@ -1217,6 +1218,23 @@ What a paste into the grid's cells would change. The grid doesn't change its dat
|
|
|
1217
1218
|
|
|
1218
1219
|
**Used by:** [`GridRangeSelectableDirective`](grid.md#gridrangeselectabledirective)
|
|
1219
1220
|
|
|
1221
|
+
## `GridRowActivateEvent`
|
|
1222
|
+
|
|
1223
|
+
Interface.
|
|
1224
|
+
|
|
1225
|
+
Emitted when the user activates a data row, the way a file list opens an item.
|
|
1226
|
+
|
|
1227
|
+
**Type parameters:** `T = Record<PropertyKey, unknown>`
|
|
1228
|
+
|
|
1229
|
+
### Properties
|
|
1230
|
+
|
|
1231
|
+
| Name | Type | Description |
|
|
1232
|
+
| --- | --- | --- |
|
|
1233
|
+
| `originalEvent` (read-only) | `KeyboardEvent \| MouseEvent` | The double-click or the `Enter` key press, to tell apart a modified one such as `Ctrl+Enter` or `Alt+Enter`, or to find the cell it happened in through its `target`. |
|
|
1234
|
+
| `rowData` (read-only) | `T` | The row's item from `data`, the same object. |
|
|
1235
|
+
|
|
1236
|
+
**Used by:** [`GridComponent`](grid.md#gridcomponent)
|
|
1237
|
+
|
|
1220
1238
|
## `GridState`
|
|
1221
1239
|
|
|
1222
1240
|
Interface.
|