slickgrid-vue 9.1.0 → 9.2.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.
Files changed (2) hide show
  1. package/README.md +8 -1
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -42,12 +42,19 @@ npm install @slickgrid-universal/excel-export
42
42
  <script setup lang="ts">
43
43
  import { type Column, type GridOption, SlickgridVue } from 'slickgrid-vue';
44
44
 
45
+ interface User {
46
+ firstName: string;
47
+ lastName: string;
48
+ age: number;
49
+ }
50
+
51
+ // it could also be `Column<User>[]`
45
52
  const columnDefinitions: Ref<Column[]> = ref([
46
53
  { id: 'firstName', name: 'First Name', field: 'firstName', sortable: true },
47
54
  { id: 'lastName', name: 'Last Name', field: 'lastName', sortable: true },
48
55
  { id: 'age', name: 'Age', field: 'age', type: 'number', sortable: true },
49
56
  ]);
50
- const dataset = ref([
57
+ const dataset = ref<User[]>([
51
58
  { id: 1, firstName: 'John', lastName: 'Doe', age: 20 },
52
59
  { id: 2, firstName: 'Jane', lastName: 'Smith', age: 21 },
53
60
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slickgrid-vue",
3
- "version": "9.1.0",
3
+ "version": "9.2.0",
4
4
  "description": "Slickgrid-Vue",
5
5
  "license": "MIT",
6
6
  "author": "Ghislain B.",
@@ -47,12 +47,12 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@formkit/tempo": "^0.1.2",
50
- "@slickgrid-universal/common": "9.1.0",
51
- "@slickgrid-universal/custom-footer-component": "9.1.0",
52
- "@slickgrid-universal/empty-warning-component": "9.1.0",
50
+ "@slickgrid-universal/common": "9.2.0",
51
+ "@slickgrid-universal/custom-footer-component": "9.2.0",
52
+ "@slickgrid-universal/empty-warning-component": "9.2.0",
53
53
  "@slickgrid-universal/event-pub-sub": "9.0.0",
54
- "@slickgrid-universal/pagination-component": "9.1.0",
55
- "@slickgrid-universal/row-detail-view-plugin": "9.1.0",
54
+ "@slickgrid-universal/pagination-component": "9.2.0",
55
+ "@slickgrid-universal/row-detail-view-plugin": "9.2.0",
56
56
  "@slickgrid-universal/utils": "9.0.0",
57
57
  "dequal": "^2.0.3",
58
58
  "sortablejs": "^1.15.6"
@@ -60,5 +60,5 @@
60
60
  "peerDependencies": {
61
61
  "vue": ">=3.5.0"
62
62
  },
63
- "gitHead": "13b7246f58494ab65f345b8eb33c34d75c457aa5"
63
+ "gitHead": "c931d2b9f5f4f947777dcd36064763eef2a07745"
64
64
  }