@agile-team/mach-table-vue 0.14.0 → 0.15.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/README.md +3 -1
- package/dist/mach-table.css +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# @agile-team/mach-table-vue
|
|
6
6
|
|
|
7
|
-
Official Vue 3 adapter for MachTable 0.
|
|
7
|
+
Official Vue 3 adapter for MachTable 0.15. It provides a generic `<MachTable>`, native typed slots, dedicated app/route configuration, cohesive controllers, auto/manual remote query, editing composables, optional and persistent column resizing, an optional standard toolbar, optional Element Plus editors, async boundaries, atomic reactive updates and automatic lifecycle cleanup. `RobotGrid` remains a deprecated 0.x alias.
|
|
8
8
|
|
|
9
9
|
## Install
|
|
10
10
|
|
|
@@ -43,6 +43,7 @@ const columns: ColDef<Row>[] = [{ field: "name", headerName: "Name", flex: 1 }];
|
|
|
43
43
|
:column-defs="columns"
|
|
44
44
|
row-key="id"
|
|
45
45
|
state-key="customer-list"
|
|
46
|
+
enable-column-resize
|
|
46
47
|
striped-rows
|
|
47
48
|
/>
|
|
48
49
|
</div>
|
|
@@ -95,6 +96,7 @@ import { defineMachTableConfig, defineMachTablePreset } from "@agile-team/mach-t
|
|
|
95
96
|
export default defineMachTableConfig({
|
|
96
97
|
defaults: {
|
|
97
98
|
size: "compact",
|
|
99
|
+
enableColumnResize: true,
|
|
98
100
|
pagination: { pageSize: 20, pageSizeOptions: [20, 50, 100] },
|
|
99
101
|
defaultColDef: { sortable: true, resizable: true, filter: true }
|
|
100
102
|
},
|
package/dist/mach-table.css
CHANGED
|
@@ -429,8 +429,8 @@
|
|
|
429
429
|
.mach-header-resize {
|
|
430
430
|
position: absolute;
|
|
431
431
|
top: 0;
|
|
432
|
-
right:
|
|
433
|
-
width:
|
|
432
|
+
right: 0;
|
|
433
|
+
width: 8px;
|
|
434
434
|
height: 100%;
|
|
435
435
|
cursor: col-resize;
|
|
436
436
|
z-index: 2;
|
|
@@ -441,7 +441,7 @@
|
|
|
441
441
|
.mach-root--resizing .mach-header-resize::after {
|
|
442
442
|
content: "";
|
|
443
443
|
position: absolute;
|
|
444
|
-
inset: 0;
|
|
444
|
+
inset: 0 3px;
|
|
445
445
|
background: var(--mach-primary);
|
|
446
446
|
opacity: 0.45;
|
|
447
447
|
border-radius: 1px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agile-team/mach-table-vue",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"description": "Official Vue 3 adapter for the MachTable enterprise data grid",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vue",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"**/*.css"
|
|
99
99
|
],
|
|
100
100
|
"dependencies": {
|
|
101
|
-
"@agile-team/mach-table": "0.
|
|
101
|
+
"@agile-team/mach-table": "0.15.0"
|
|
102
102
|
},
|
|
103
103
|
"peerDependencies": {
|
|
104
104
|
"vue": ">=3.2.0"
|