slickgrid-vue 10.2.0 → 10.3.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 CHANGED
@@ -18,7 +18,10 @@ SlickGrid-Vue is a custom component created specifically for [VueJS](https://vue
18
18
  You can also play with the live Stackbliz [Slickgrid-Vue-Demos](https://github.com/ghiscoding/slickgrid-vue-demos).
19
19
  Stackblitz is also the recommended way to provide a repro when opening a new bug or feature request.
20
20
 
21
- [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/ghiscoding/slickgrid-vue-demos)
21
+ | Stackblitz | Description |
22
+ | ---------- | ----------- |
23
+ | [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/ghiscoding/slickgrid-vue-demos) | with I18N Translate |
24
+ | [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/ghiscoding/slickgrid-vue-demos/tree/main/single-locale-without-i18n) | Single Locale (_without i18n_) |
22
25
 
23
26
  Visit the **[Docs - Quick Start](https://ghiscoding.gitbook.io/slickgrid-vue/getting-started/quick-start)** and/or clone the [Slickgrid-Vue-Demos](https://github.com/ghiscoding/slickgrid-vue-demos) repository for a fully working local demo. Please make sure to read the documentation before opening any new issue and also consider asking installation and/or general questions on [Stack Overflow](https://stackoverflow.com/search?tab=newest&q=slickgrid) unless you think there's a bug with the library.
24
27
 
@@ -54,11 +57,11 @@ const columns: Ref<Column[]> = ref([
54
57
  { id: 'lastName', name: 'Last Name', field: 'lastName', sortable: true },
55
58
  { id: 'age', name: 'Age', field: 'age', type: 'number', sortable: true },
56
59
  ]);
60
+ const options = ref<GridOption>({ /*...*/ }); // optional grid options
57
61
  const dataset = ref<User[]>([
58
62
  { id: 1, firstName: 'John', lastName: 'Doe', age: 20 },
59
63
  { id: 2, firstName: 'Jane', lastName: 'Smith', age: 21 },
60
64
  ]);
61
- const options = ref<GridOption>({ /*...*/ }); // optional grid options
62
65
  </script>
63
66
 
64
67
  <template>
package/dist/index.d.ts CHANGED
@@ -55,6 +55,7 @@ import { OnColumnsReorderedEventArgs } from '@slickgrid-universal/common';
55
55
  import { OnColumnsResizeDblClickEventArgs } from '@slickgrid-universal/common';
56
56
  import { OnColumnsResizedEventArgs } from '@slickgrid-universal/common';
57
57
  import { OnCompositeEditorChangeEventArgs } from '@slickgrid-universal/common';
58
+ import { OnContextMenuArgs } from '@slickgrid-universal/common';
58
59
  import { OnDblClickEventArgs } from '@slickgrid-universal/common';
59
60
  import { OnDragReplaceCellsEventArgs } from '@slickgrid-universal/common';
60
61
  import { OnFooterClickEventArgs } from '@slickgrid-universal/common';
@@ -298,9 +299,7 @@ export declare interface SlickgridVueProps {
298
299
  onOnColumnsResized?: VueSlickEventHandler<OnColumnsResizedEventArgs>;
299
300
  onOnColumnsResizeDblClick?: VueSlickEventHandler<OnColumnsResizeDblClickEventArgs>;
300
301
  onOnCompositeEditorChange?: VueSlickEventHandler<OnCompositeEditorChangeEventArgs>;
301
- onOnContextMenu?: VueSlickEventHandler<{
302
- grid: SlickGrid;
303
- }>;
302
+ onOnContextMenu?: VueSlickEventHandler<OnContextMenuArgs>;
304
303
  onOnDrag?: VueSlickEventHandler<DragRowMove>;
305
304
  onOnDragEnd?: VueSlickEventHandler<DragRowMove>;
306
305
  onOnDragInit?: VueSlickEventHandler<DragRowMove>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slickgrid-vue",
3
- "version": "10.2.0",
3
+ "version": "10.3.0",
4
4
  "description": "Slickgrid-Vue",
5
5
  "license": "MIT",
6
6
  "author": "Ghislain B.",
@@ -47,17 +47,17 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@formkit/tempo": "^1.0.0",
50
- "@slickgrid-universal/common": "10.2.0",
51
- "@slickgrid-universal/custom-footer-component": "10.2.0",
52
- "@slickgrid-universal/empty-warning-component": "10.2.0",
53
- "@slickgrid-universal/event-pub-sub": "10.2.0",
54
- "@slickgrid-universal/pagination-component": "10.2.0",
55
- "@slickgrid-universal/utils": "10.2.0",
50
+ "@slickgrid-universal/common": "10.3.0",
51
+ "@slickgrid-universal/custom-footer-component": "10.3.0",
52
+ "@slickgrid-universal/empty-warning-component": "10.3.0",
53
+ "@slickgrid-universal/event-pub-sub": "10.3.0",
54
+ "@slickgrid-universal/pagination-component": "10.3.0",
55
+ "@slickgrid-universal/utils": "10.3.0",
56
56
  "dequal": "^2.0.3",
57
57
  "sortablejs": "^1.15.7"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "vue": ">=3.5.0"
61
61
  },
62
- "gitHead": "0e9face7371880a23a589f27f1c1f7dfb3ef7b6a"
62
+ "gitHead": "95f7ec4cdac5eb926916d6c22be46e689628aca1"
63
63
  }
@@ -35,6 +35,7 @@ import type {
35
35
  OnColumnsResizeDblClickEventArgs,
36
36
  OnColumnsResizedEventArgs,
37
37
  OnCompositeEditorChangeEventArgs,
38
+ OnContextMenuArgs,
38
39
  OnDblClickEventArgs,
39
40
  OnDragReplaceCellsEventArgs,
40
41
  OnFooterClickEventArgs,
@@ -108,7 +109,7 @@ export interface SlickgridVueProps {
108
109
  onOnColumnsResized?: VueSlickEventHandler<OnColumnsResizedEventArgs>;
109
110
  onOnColumnsResizeDblClick?: VueSlickEventHandler<OnColumnsResizeDblClickEventArgs>;
110
111
  onOnCompositeEditorChange?: VueSlickEventHandler<OnCompositeEditorChangeEventArgs>;
111
- onOnContextMenu?: VueSlickEventHandler<{ grid: SlickGrid }>;
112
+ onOnContextMenu?: VueSlickEventHandler<OnContextMenuArgs>;
112
113
  onOnDrag?: VueSlickEventHandler<DragRowMove>;
113
114
  onOnDragEnd?: VueSlickEventHandler<DragRowMove>;
114
115
  onOnDragInit?: VueSlickEventHandler<DragRowMove>;