realgrid-vue2 0.9.2 → 0.9.3

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/dist/index.d.ts +8 -8
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -131,7 +131,7 @@ export declare const RealGridVue: DefineComponent<{
131
131
  onCurrentChanging: PropType<(grid: RealGrid.GridView, oldIndex: RealGrid.CellIndex, newIndex: RealGrid.CellIndex) => boolean>;
132
132
  onCurrentChanged: PropType<(grid: RealGrid.GridView, newIndex: RealGrid.CellIndex) => void>;
133
133
  onCurrentRowChanged: PropType<(grid: RealGrid.GridView, oldRow: number, newRow: number) => void>;
134
- onValidateColumn: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, inserting: boolean, value: any, itemIndex: number, dataRow: number) => RealGrid.ValidationError>;
134
+ onValidateColumn: PropType<(grid: RealGrid.GridView, column: RealGrid.DataColumn, inserting: boolean, value: any, itemIndex: number, dataRow: number) => RealGrid.ValidationError | undefined>;
135
135
  onValidateRow: PropType<(grid: RealGrid.GridView, itemIndex: number, dataRow: number, inserting: boolean, values: any[]) => RealGrid.ValidationError>;
136
136
  onValidationFail: PropType<(grid: RealGrid.GridView, itemIndex: number, column: RealGrid.GridColumn, error: RealGrid.ValidationError) => RealGrid.ValidationError>;
137
137
  onColumnCheckedChanged: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, checked: boolean) => void>;
@@ -177,7 +177,7 @@ export declare const RealGridVue: DefineComponent<{
177
177
  onKeyPress: PropType<(grid: RealGrid.GridView, event: KeyboardEvent) => void>;
178
178
  onKeyUp: PropType<(grid: RealGrid.GridView, event: KeyboardEvent) => void>;
179
179
  onShowTooltip: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, value: any) => boolean | string>;
180
- onShowHeaderTooltip: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, value: any, layout: RealGrid.CellLayoutItem) => any>;
180
+ onShowHeaderTooltip: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, value: any, layout: RealGrid.CellLayoutItem) => string>;
181
181
  onColumnPropertyChanged: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, property: string, newValue: any, oldValue: any) => void>;
182
182
  onLayoutPropertyChanged: PropType<(grid: RealGrid.GridView, layout: RealGrid.CellLayoutItem, property: string, newValue: any, oldValue: any) => void>;
183
183
  onGridActivated: PropType<(grid: RealGrid.GridView) => void>;
@@ -235,7 +235,7 @@ export declare const RealGridVue: DefineComponent<{
235
235
  onCurrentChanging: PropType<(grid: RealGrid.GridView, oldIndex: RealGrid.CellIndex, newIndex: RealGrid.CellIndex) => boolean>;
236
236
  onCurrentChanged: PropType<(grid: RealGrid.GridView, newIndex: RealGrid.CellIndex) => void>;
237
237
  onCurrentRowChanged: PropType<(grid: RealGrid.GridView, oldRow: number, newRow: number) => void>;
238
- onValidateColumn: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, inserting: boolean, value: any, itemIndex: number, dataRow: number) => RealGrid.ValidationError>;
238
+ onValidateColumn: PropType<(grid: RealGrid.GridView, column: RealGrid.DataColumn, inserting: boolean, value: any, itemIndex: number, dataRow: number) => RealGrid.ValidationError | undefined>;
239
239
  onValidateRow: PropType<(grid: RealGrid.GridView, itemIndex: number, dataRow: number, inserting: boolean, values: any[]) => RealGrid.ValidationError>;
240
240
  onValidationFail: PropType<(grid: RealGrid.GridView, itemIndex: number, column: RealGrid.GridColumn, error: RealGrid.ValidationError) => RealGrid.ValidationError>;
241
241
  onColumnCheckedChanged: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, checked: boolean) => void>;
@@ -281,7 +281,7 @@ export declare const RealGridVue: DefineComponent<{
281
281
  onKeyPress: PropType<(grid: RealGrid.GridView, event: KeyboardEvent) => void>;
282
282
  onKeyUp: PropType<(grid: RealGrid.GridView, event: KeyboardEvent) => void>;
283
283
  onShowTooltip: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, value: any) => boolean | string>;
284
- onShowHeaderTooltip: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, value: any, layout: RealGrid.CellLayoutItem) => any>;
284
+ onShowHeaderTooltip: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, value: any, layout: RealGrid.CellLayoutItem) => string>;
285
285
  onColumnPropertyChanged: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, property: string, newValue: any, oldValue: any) => void>;
286
286
  onLayoutPropertyChanged: PropType<(grid: RealGrid.GridView, layout: RealGrid.CellLayoutItem, property: string, newValue: any, oldValue: any) => void>;
287
287
  onGridActivated: PropType<(grid: RealGrid.GridView) => void>;
@@ -416,7 +416,7 @@ export declare const RealTreeVue: DefineComponent<{
416
416
  onCurrentChanging: PropType<(grid: RealGrid.TreeView, oldIndex: RealGrid.CellIndex, newIndex: RealGrid.CellIndex) => boolean>;
417
417
  onCurrentChanged: PropType<(grid: RealGrid.TreeView, newIndex: RealGrid.CellIndex) => void>;
418
418
  onCurrentRowChanged: PropType<(grid: RealGrid.TreeView, oldRow: number, newRow: number) => void>;
419
- onValidateColumn: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, inserting: boolean, value: any, itemIndex: number, dataRow: number) => RealGrid.ValidationError>;
419
+ onValidateColumn: PropType<(grid: RealGrid.TreeView, column: RealGrid.DataColumn, inserting: boolean, value: any, itemIndex: number, dataRow: number) => RealGrid.ValidationError | undefined>;
420
420
  onValidateRow: PropType<(grid: RealGrid.TreeView, itemIndex: number, dataRow: number, inserting: boolean, values: any[]) => RealGrid.ValidationError>;
421
421
  onValidationFail: PropType<(grid: RealGrid.TreeView, itemIndex: number, column: RealGrid.GridColumn, error: RealGrid.ValidationError) => RealGrid.ValidationError>;
422
422
  onColumnCheckedChanged: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, checked: boolean) => void>;
@@ -462,7 +462,7 @@ export declare const RealTreeVue: DefineComponent<{
462
462
  onKeyPress: PropType<(grid: RealGrid.TreeView, event: KeyboardEvent) => void>;
463
463
  onKeyUp: PropType<(grid: RealGrid.TreeView, event: KeyboardEvent) => void>;
464
464
  onShowTooltip: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, value: any) => boolean | string>;
465
- onShowHeaderTooltip: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, value: any, layout: RealGrid.CellLayoutItem) => any>;
465
+ onShowHeaderTooltip: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, value: any, layout: RealGrid.CellLayoutItem) => string>;
466
466
  onColumnPropertyChanged: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, property: string, newValue: any, oldValue: any) => void>;
467
467
  onLayoutPropertyChanged: PropType<(grid: RealGrid.TreeView, layout: RealGrid.CellLayoutItem, property: string, newValue: any, oldValue: any) => void>;
468
468
  onGridActivated: PropType<(grid: RealGrid.TreeView) => void>;
@@ -520,7 +520,7 @@ export declare const RealTreeVue: DefineComponent<{
520
520
  onCurrentChanging: PropType<(grid: RealGrid.TreeView, oldIndex: RealGrid.CellIndex, newIndex: RealGrid.CellIndex) => boolean>;
521
521
  onCurrentChanged: PropType<(grid: RealGrid.TreeView, newIndex: RealGrid.CellIndex) => void>;
522
522
  onCurrentRowChanged: PropType<(grid: RealGrid.TreeView, oldRow: number, newRow: number) => void>;
523
- onValidateColumn: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, inserting: boolean, value: any, itemIndex: number, dataRow: number) => RealGrid.ValidationError>;
523
+ onValidateColumn: PropType<(grid: RealGrid.TreeView, column: RealGrid.DataColumn, inserting: boolean, value: any, itemIndex: number, dataRow: number) => RealGrid.ValidationError | undefined>;
524
524
  onValidateRow: PropType<(grid: RealGrid.TreeView, itemIndex: number, dataRow: number, inserting: boolean, values: any[]) => RealGrid.ValidationError>;
525
525
  onValidationFail: PropType<(grid: RealGrid.TreeView, itemIndex: number, column: RealGrid.GridColumn, error: RealGrid.ValidationError) => RealGrid.ValidationError>;
526
526
  onColumnCheckedChanged: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, checked: boolean) => void>;
@@ -566,7 +566,7 @@ export declare const RealTreeVue: DefineComponent<{
566
566
  onKeyPress: PropType<(grid: RealGrid.TreeView, event: KeyboardEvent) => void>;
567
567
  onKeyUp: PropType<(grid: RealGrid.TreeView, event: KeyboardEvent) => void>;
568
568
  onShowTooltip: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, value: any) => boolean | string>;
569
- onShowHeaderTooltip: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, value: any, layout: RealGrid.CellLayoutItem) => any>;
569
+ onShowHeaderTooltip: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, value: any, layout: RealGrid.CellLayoutItem) => string>;
570
570
  onColumnPropertyChanged: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, property: string, newValue: any, oldValue: any) => void>;
571
571
  onLayoutPropertyChanged: PropType<(grid: RealGrid.TreeView, layout: RealGrid.CellLayoutItem, property: string, newValue: any, oldValue: any) => void>;
572
572
  onGridActivated: PropType<(grid: RealGrid.TreeView) => void>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "realgrid-vue2",
3
3
  "private": false,
4
- "version": "0.9.2",
4
+ "version": "0.9.3",
5
5
  "description": "RealGrid2 wrapping Component for Vue2",
6
6
  "author": {
7
7
  "name": "WooriTech",
@@ -24,7 +24,7 @@
24
24
  "module": "./dist/index.es.js",
25
25
  "types": "./dist/index.d.ts",
26
26
  "dependencies": {
27
- "realgrid": "^2.8.3"
27
+ "realgrid": "*"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "vue": ">=2.7.0 <2.8.0"