realgrid-vue 0.9.2 → 0.9.4

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 +16 -16
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -134,7 +134,7 @@ onDestroy: PropType<(grid: RealGrid.GridView) => void>;
134
134
  onCurrentChanging: PropType<(grid: RealGrid.GridView, oldIndex: RealGrid.CellIndex, newIndex: RealGrid.CellIndex) => boolean>;
135
135
  onCurrentChanged: PropType<(grid: RealGrid.GridView, newIndex: RealGrid.CellIndex) => void>;
136
136
  onCurrentRowChanged: PropType<(grid: RealGrid.GridView, oldRow: number, newRow: number) => void>;
137
- onValidateColumn: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, inserting: boolean, value: any, itemIndex: number, dataRow: number) => RealGrid.ValidationError>;
137
+ onValidateColumn: PropType<(grid: RealGrid.GridView, column: RealGrid.DataColumn, inserting: boolean, value: any, itemIndex: number, dataRow: number) => RealGrid.ValidationError | undefined>;
138
138
  onValidateRow: PropType<(grid: RealGrid.GridView, itemIndex: number, dataRow: number, inserting: boolean, values: any[]) => RealGrid.ValidationError>;
139
139
  onValidationFail: PropType<(grid: RealGrid.GridView, itemIndex: number, column: RealGrid.GridColumn, error: RealGrid.ValidationError) => RealGrid.ValidationError>;
140
140
  onColumnCheckedChanged: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, checked: boolean) => void>;
@@ -167,20 +167,20 @@ onCellEdited: PropType<(grid: RealGrid.GridView, itemIndex: number, row: number,
167
167
  onEditRowChanged: PropType<(grid: RealGrid.GridView, itemIndex: number, row: number, field: number, oldValue: any, newValue: any) => void>;
168
168
  onEditRowPasted: PropType<(grid: RealGrid.GridView, itemIndex: number, row: number, fields: number[], oldValues: any[], newValues: any[]) => void>;
169
169
  onRowsPasted: PropType<(grid: RealGrid.GridView, items: number[]) => void>;
170
- onCellPasting: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, value: any) => boolean>;
170
+ onCellPasting: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, value: any, editResult: RealGrid.EditResult) => boolean>;
171
171
  onItemChecked: PropType<(grid: RealGrid.GridView, itemIndex: number, checked: boolean) => void>;
172
172
  onItemAllChecked: PropType<(grid: RealGrid.GridView, checked: boolean) => void>;
173
173
  onErrorClicked: PropType<(grid: RealGrid.GridView, error: string) => void>;
174
174
  onSorting: PropType<(grid: RealGrid.GridView, fields: number[], directions: string[]) => boolean>;
175
175
  onSortingChanged: PropType<(grid: RealGrid.GridView) => void>;
176
176
  onFiltering: PropType<(grid: RealGrid.GridView) => boolean>;
177
- onFilteringChanged: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, filter: RealGrid.ColumnFilter) => void>;
177
+ onFilteringChanged: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, filter: RealGrid.ColumnFilter, reset: boolean) => void>;
178
178
  onWheel: PropType<(grid: RealGrid.GridView, event: WheelEvent) => boolean>;
179
179
  onKeyDown: PropType<(grid: RealGrid.GridView, event: KeyboardEvent) => boolean>;
180
180
  onKeyPress: PropType<(grid: RealGrid.GridView, event: KeyboardEvent) => void>;
181
181
  onKeyUp: PropType<(grid: RealGrid.GridView, event: KeyboardEvent) => void>;
182
182
  onShowTooltip: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, value: any) => boolean | string>;
183
- onShowHeaderTooltip: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, value: any, layout: RealGrid.CellLayoutItem) => any>;
183
+ onShowHeaderTooltip: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, value: any, layout: RealGrid.CellLayoutItem) => string>;
184
184
  onColumnPropertyChanged: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, property: string, newValue: any, oldValue: any) => void>;
185
185
  onLayoutPropertyChanged: PropType<(grid: RealGrid.GridView, layout: RealGrid.CellLayoutItem, property: string, newValue: any, oldValue: any) => void>;
186
186
  onGridActivated: PropType<(grid: RealGrid.GridView) => void>;
@@ -238,7 +238,7 @@ onDestroy: PropType<(grid: RealGrid.GridView) => void>;
238
238
  onCurrentChanging: PropType<(grid: RealGrid.GridView, oldIndex: RealGrid.CellIndex, newIndex: RealGrid.CellIndex) => boolean>;
239
239
  onCurrentChanged: PropType<(grid: RealGrid.GridView, newIndex: RealGrid.CellIndex) => void>;
240
240
  onCurrentRowChanged: PropType<(grid: RealGrid.GridView, oldRow: number, newRow: number) => void>;
241
- onValidateColumn: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, inserting: boolean, value: any, itemIndex: number, dataRow: number) => RealGrid.ValidationError>;
241
+ onValidateColumn: PropType<(grid: RealGrid.GridView, column: RealGrid.DataColumn, inserting: boolean, value: any, itemIndex: number, dataRow: number) => RealGrid.ValidationError | undefined>;
242
242
  onValidateRow: PropType<(grid: RealGrid.GridView, itemIndex: number, dataRow: number, inserting: boolean, values: any[]) => RealGrid.ValidationError>;
243
243
  onValidationFail: PropType<(grid: RealGrid.GridView, itemIndex: number, column: RealGrid.GridColumn, error: RealGrid.ValidationError) => RealGrid.ValidationError>;
244
244
  onColumnCheckedChanged: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, checked: boolean) => void>;
@@ -271,20 +271,20 @@ onCellEdited: PropType<(grid: RealGrid.GridView, itemIndex: number, row: number,
271
271
  onEditRowChanged: PropType<(grid: RealGrid.GridView, itemIndex: number, row: number, field: number, oldValue: any, newValue: any) => void>;
272
272
  onEditRowPasted: PropType<(grid: RealGrid.GridView, itemIndex: number, row: number, fields: number[], oldValues: any[], newValues: any[]) => void>;
273
273
  onRowsPasted: PropType<(grid: RealGrid.GridView, items: number[]) => void>;
274
- onCellPasting: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, value: any) => boolean>;
274
+ onCellPasting: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, value: any, editResult: RealGrid.EditResult) => boolean>;
275
275
  onItemChecked: PropType<(grid: RealGrid.GridView, itemIndex: number, checked: boolean) => void>;
276
276
  onItemAllChecked: PropType<(grid: RealGrid.GridView, checked: boolean) => void>;
277
277
  onErrorClicked: PropType<(grid: RealGrid.GridView, error: string) => void>;
278
278
  onSorting: PropType<(grid: RealGrid.GridView, fields: number[], directions: string[]) => boolean>;
279
279
  onSortingChanged: PropType<(grid: RealGrid.GridView) => void>;
280
280
  onFiltering: PropType<(grid: RealGrid.GridView) => boolean>;
281
- onFilteringChanged: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, filter: RealGrid.ColumnFilter) => void>;
281
+ onFilteringChanged: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, filter: RealGrid.ColumnFilter, reset: boolean) => void>;
282
282
  onWheel: PropType<(grid: RealGrid.GridView, event: WheelEvent) => boolean>;
283
283
  onKeyDown: PropType<(grid: RealGrid.GridView, event: KeyboardEvent) => boolean>;
284
284
  onKeyPress: PropType<(grid: RealGrid.GridView, event: KeyboardEvent) => void>;
285
285
  onKeyUp: PropType<(grid: RealGrid.GridView, event: KeyboardEvent) => void>;
286
286
  onShowTooltip: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, value: any) => boolean | string>;
287
- onShowHeaderTooltip: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, value: any, layout: RealGrid.CellLayoutItem) => any>;
287
+ onShowHeaderTooltip: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, value: any, layout: RealGrid.CellLayoutItem) => string>;
288
288
  onColumnPropertyChanged: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, property: string, newValue: any, oldValue: any) => void>;
289
289
  onLayoutPropertyChanged: PropType<(grid: RealGrid.GridView, layout: RealGrid.CellLayoutItem, property: string, newValue: any, oldValue: any) => void>;
290
290
  onGridActivated: PropType<(grid: RealGrid.GridView) => void>;
@@ -419,7 +419,7 @@ onDestroy: PropType<(grid: RealGrid.TreeView) => void>;
419
419
  onCurrentChanging: PropType<(grid: RealGrid.TreeView, oldIndex: RealGrid.CellIndex, newIndex: RealGrid.CellIndex) => boolean>;
420
420
  onCurrentChanged: PropType<(grid: RealGrid.TreeView, newIndex: RealGrid.CellIndex) => void>;
421
421
  onCurrentRowChanged: PropType<(grid: RealGrid.TreeView, oldRow: number, newRow: number) => void>;
422
- onValidateColumn: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, inserting: boolean, value: any, itemIndex: number, dataRow: number) => RealGrid.ValidationError>;
422
+ onValidateColumn: PropType<(grid: RealGrid.TreeView, column: RealGrid.DataColumn, inserting: boolean, value: any, itemIndex: number, dataRow: number) => RealGrid.ValidationError | undefined>;
423
423
  onValidateRow: PropType<(grid: RealGrid.TreeView, itemIndex: number, dataRow: number, inserting: boolean, values: any[]) => RealGrid.ValidationError>;
424
424
  onValidationFail: PropType<(grid: RealGrid.TreeView, itemIndex: number, column: RealGrid.GridColumn, error: RealGrid.ValidationError) => RealGrid.ValidationError>;
425
425
  onColumnCheckedChanged: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, checked: boolean) => void>;
@@ -452,20 +452,20 @@ onCellEdited: PropType<(grid: RealGrid.TreeView, itemIndex: number, row: number,
452
452
  onEditRowChanged: PropType<(grid: RealGrid.TreeView, itemIndex: number, row: number, field: number, oldValue: any, newValue: any) => void>;
453
453
  onEditRowPasted: PropType<(grid: RealGrid.TreeView, itemIndex: number, row: number, fields: number[], oldValues: any[], newValues: any[]) => void>;
454
454
  onRowsPasted: PropType<(grid: RealGrid.TreeView, items: number[]) => void>;
455
- onCellPasting: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, value: any) => boolean>;
455
+ onCellPasting: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, value: any, editResult: RealGrid.EditResult) => boolean>;
456
456
  onItemChecked: PropType<(grid: RealGrid.TreeView, itemIndex: number, checked: boolean) => void>;
457
457
  onItemAllChecked: PropType<(grid: RealGrid.TreeView, checked: boolean) => void>;
458
458
  onErrorClicked: PropType<(grid: RealGrid.TreeView, error: string) => void>;
459
459
  onSorting: PropType<(grid: RealGrid.TreeView, fields: number[], directions: string[]) => boolean>;
460
460
  onSortingChanged: PropType<(grid: RealGrid.TreeView) => void>;
461
461
  onFiltering: PropType<(grid: RealGrid.TreeView) => boolean>;
462
- onFilteringChanged: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, filter: RealGrid.ColumnFilter) => void>;
462
+ onFilteringChanged: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, filter: RealGrid.ColumnFilter, reset: boolean) => void>;
463
463
  onWheel: PropType<(grid: RealGrid.TreeView, event: WheelEvent) => boolean>;
464
464
  onKeyDown: PropType<(grid: RealGrid.TreeView, event: KeyboardEvent) => boolean>;
465
465
  onKeyPress: PropType<(grid: RealGrid.TreeView, event: KeyboardEvent) => void>;
466
466
  onKeyUp: PropType<(grid: RealGrid.TreeView, event: KeyboardEvent) => void>;
467
467
  onShowTooltip: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, value: any) => boolean | string>;
468
- onShowHeaderTooltip: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, value: any, layout: RealGrid.CellLayoutItem) => any>;
468
+ onShowHeaderTooltip: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, value: any, layout: RealGrid.CellLayoutItem) => string>;
469
469
  onColumnPropertyChanged: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, property: string, newValue: any, oldValue: any) => void>;
470
470
  onLayoutPropertyChanged: PropType<(grid: RealGrid.TreeView, layout: RealGrid.CellLayoutItem, property: string, newValue: any, oldValue: any) => void>;
471
471
  onGridActivated: PropType<(grid: RealGrid.TreeView) => void>;
@@ -523,7 +523,7 @@ onDestroy: PropType<(grid: RealGrid.TreeView) => void>;
523
523
  onCurrentChanging: PropType<(grid: RealGrid.TreeView, oldIndex: RealGrid.CellIndex, newIndex: RealGrid.CellIndex) => boolean>;
524
524
  onCurrentChanged: PropType<(grid: RealGrid.TreeView, newIndex: RealGrid.CellIndex) => void>;
525
525
  onCurrentRowChanged: PropType<(grid: RealGrid.TreeView, oldRow: number, newRow: number) => void>;
526
- onValidateColumn: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, inserting: boolean, value: any, itemIndex: number, dataRow: number) => RealGrid.ValidationError>;
526
+ onValidateColumn: PropType<(grid: RealGrid.TreeView, column: RealGrid.DataColumn, inserting: boolean, value: any, itemIndex: number, dataRow: number) => RealGrid.ValidationError | undefined>;
527
527
  onValidateRow: PropType<(grid: RealGrid.TreeView, itemIndex: number, dataRow: number, inserting: boolean, values: any[]) => RealGrid.ValidationError>;
528
528
  onValidationFail: PropType<(grid: RealGrid.TreeView, itemIndex: number, column: RealGrid.GridColumn, error: RealGrid.ValidationError) => RealGrid.ValidationError>;
529
529
  onColumnCheckedChanged: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, checked: boolean) => void>;
@@ -556,20 +556,20 @@ onCellEdited: PropType<(grid: RealGrid.TreeView, itemIndex: number, row: number,
556
556
  onEditRowChanged: PropType<(grid: RealGrid.TreeView, itemIndex: number, row: number, field: number, oldValue: any, newValue: any) => void>;
557
557
  onEditRowPasted: PropType<(grid: RealGrid.TreeView, itemIndex: number, row: number, fields: number[], oldValues: any[], newValues: any[]) => void>;
558
558
  onRowsPasted: PropType<(grid: RealGrid.TreeView, items: number[]) => void>;
559
- onCellPasting: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, value: any) => boolean>;
559
+ onCellPasting: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, value: any, editResult: RealGrid.EditResult) => boolean>;
560
560
  onItemChecked: PropType<(grid: RealGrid.TreeView, itemIndex: number, checked: boolean) => void>;
561
561
  onItemAllChecked: PropType<(grid: RealGrid.TreeView, checked: boolean) => void>;
562
562
  onErrorClicked: PropType<(grid: RealGrid.TreeView, error: string) => void>;
563
563
  onSorting: PropType<(grid: RealGrid.TreeView, fields: number[], directions: string[]) => boolean>;
564
564
  onSortingChanged: PropType<(grid: RealGrid.TreeView) => void>;
565
565
  onFiltering: PropType<(grid: RealGrid.TreeView) => boolean>;
566
- onFilteringChanged: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, filter: RealGrid.ColumnFilter) => void>;
566
+ onFilteringChanged: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, filter: RealGrid.ColumnFilter, reset: boolean) => void>;
567
567
  onWheel: PropType<(grid: RealGrid.TreeView, event: WheelEvent) => boolean>;
568
568
  onKeyDown: PropType<(grid: RealGrid.TreeView, event: KeyboardEvent) => boolean>;
569
569
  onKeyPress: PropType<(grid: RealGrid.TreeView, event: KeyboardEvent) => void>;
570
570
  onKeyUp: PropType<(grid: RealGrid.TreeView, event: KeyboardEvent) => void>;
571
571
  onShowTooltip: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, value: any) => boolean | string>;
572
- onShowHeaderTooltip: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, value: any, layout: RealGrid.CellLayoutItem) => any>;
572
+ onShowHeaderTooltip: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, value: any, layout: RealGrid.CellLayoutItem) => string>;
573
573
  onColumnPropertyChanged: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, property: string, newValue: any, oldValue: any) => void>;
574
574
  onLayoutPropertyChanged: PropType<(grid: RealGrid.TreeView, layout: RealGrid.CellLayoutItem, property: string, newValue: any, oldValue: any) => void>;
575
575
  onGridActivated: PropType<(grid: RealGrid.TreeView) => void>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "realgrid-vue",
3
3
  "private": false,
4
- "version": "0.9.2",
4
+ "version": "0.9.4",
5
5
  "description": "RealGrid2 wrapping Component for Vue3",
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.6"
27
+ "realgrid": "*"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "vue": ">=3.2.25"