realgrid-vue 0.9.1 → 0.9.2
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/dist/index.d.ts +8 -8
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -83,7 +83,7 @@ onExpanded: PropType<(grid: RealGrid.GridView, itemIndex: number) => void>;
|
|
|
83
83
|
onCollapsing: PropType<(grid: RealGrid.GridView, itemIndex: number) => boolean>;
|
|
84
84
|
onCollapsed: PropType<(grid: RealGrid.GridView, itemIndex: number) => void>;
|
|
85
85
|
onRowCountChanged: PropType<(provider: RealGrid.LocalDataProvider, newCount: number) => void>;
|
|
86
|
-
onRowUpdating: PropType<(provider: RealGrid.LocalDataProvider, row: number) => boolean>;
|
|
86
|
+
onRowUpdating: PropType<(provider: RealGrid.LocalDataProvider, row: number, oldValues: RealGrid.RowValues, newValues: RealGrid.RowValues) => boolean>;
|
|
87
87
|
onRowUpdated: PropType<(provider: RealGrid.LocalDataProvider, row: number) => void>;
|
|
88
88
|
onRowsUpdated: PropType<(provider: RealGrid.LocalDataProvider, row: number, count: number) => void>;
|
|
89
89
|
onRowListUpdated: PropType<(provider: RealGrid.LocalDataProvider, rows: number[]) => void>;
|
|
@@ -156,7 +156,7 @@ onShowEditor: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, prop
|
|
|
156
156
|
onShowEditCommand: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex) => boolean>;
|
|
157
157
|
onHideEditor: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex) => void>;
|
|
158
158
|
onEditChange: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, value: any) => void>;
|
|
159
|
-
onGetEditValue: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, editResult: Object) => void>;
|
|
159
|
+
onGetEditValue: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, editResult: Object) => void | boolean>;
|
|
160
160
|
onEditCommit: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, oldValue: any, newValue: any) => boolean>;
|
|
161
161
|
onEditCanceled: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex) => void>;
|
|
162
162
|
onItemEditCanceled: PropType<(grid: RealGrid.GridView, itemIndex: number, state: string) => void>;
|
|
@@ -260,7 +260,7 @@ onShowEditor: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, prop
|
|
|
260
260
|
onShowEditCommand: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex) => boolean>;
|
|
261
261
|
onHideEditor: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex) => void>;
|
|
262
262
|
onEditChange: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, value: any) => void>;
|
|
263
|
-
onGetEditValue: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, editResult: Object) => void>;
|
|
263
|
+
onGetEditValue: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, editResult: Object) => void | boolean>;
|
|
264
264
|
onEditCommit: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, oldValue: any, newValue: any) => boolean>;
|
|
265
265
|
onEditCanceled: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex) => void>;
|
|
266
266
|
onItemEditCanceled: PropType<(grid: RealGrid.GridView, itemIndex: number, state: string) => void>;
|
|
@@ -317,7 +317,7 @@ onExpanded: PropType<(grid: RealGrid.GridView, itemIndex: number) => void>;
|
|
|
317
317
|
onCollapsing: PropType<(grid: RealGrid.GridView, itemIndex: number) => boolean>;
|
|
318
318
|
onCollapsed: PropType<(grid: RealGrid.GridView, itemIndex: number) => void>;
|
|
319
319
|
onRowCountChanged: PropType<(provider: RealGrid.LocalDataProvider, newCount: number) => void>;
|
|
320
|
-
onRowUpdating: PropType<(provider: RealGrid.LocalDataProvider, row: number) => boolean>;
|
|
320
|
+
onRowUpdating: PropType<(provider: RealGrid.LocalDataProvider, row: number, oldValues: RealGrid.RowValues, newValues: RealGrid.RowValues) => boolean>;
|
|
321
321
|
onRowUpdated: PropType<(provider: RealGrid.LocalDataProvider, row: number) => void>;
|
|
322
322
|
onRowsUpdated: PropType<(provider: RealGrid.LocalDataProvider, row: number, count: number) => void>;
|
|
323
323
|
onRowListUpdated: PropType<(provider: RealGrid.LocalDataProvider, rows: number[]) => void>;
|
|
@@ -367,7 +367,7 @@ onRowsAdded: PropType<(provider: RealGrid.LocalTreeDataProvider, parent: number,
|
|
|
367
367
|
onRowDeleting: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => boolean>;
|
|
368
368
|
onRowDeleted: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => void>;
|
|
369
369
|
onRowsDeleted: PropType<(provider: RealGrid.LocalTreeDataProvider, rows: number[]) => void>;
|
|
370
|
-
onRowUpdating: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => boolean>;
|
|
370
|
+
onRowUpdating: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number, oldValues: RealGrid.RowValues, newValues: RealGrid.RowValues) => boolean>;
|
|
371
371
|
onRowUpdated: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => void>;
|
|
372
372
|
onRowsUpdating: PropType<(provider: RealGrid.LocalTreeDataProvider, rows: number[]) => boolean>;
|
|
373
373
|
onRowsUpdated: PropType<(provider: RealGrid.LocalTreeDataProvider, rows: number[]) => void>;
|
|
@@ -441,7 +441,7 @@ onShowEditor: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, prop
|
|
|
441
441
|
onShowEditCommand: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex) => boolean>;
|
|
442
442
|
onHideEditor: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex) => void>;
|
|
443
443
|
onEditChange: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, value: any) => void>;
|
|
444
|
-
onGetEditValue: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, editResult: Object) => void>;
|
|
444
|
+
onGetEditValue: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, editResult: Object) => void | boolean>;
|
|
445
445
|
onEditCommit: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, oldValue: any, newValue: any) => boolean>;
|
|
446
446
|
onEditCanceled: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex) => void>;
|
|
447
447
|
onItemEditCanceled: PropType<(grid: RealGrid.TreeView, itemIndex: number, state: string) => void>;
|
|
@@ -545,7 +545,7 @@ onShowEditor: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, prop
|
|
|
545
545
|
onShowEditCommand: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex) => boolean>;
|
|
546
546
|
onHideEditor: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex) => void>;
|
|
547
547
|
onEditChange: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, value: any) => void>;
|
|
548
|
-
onGetEditValue: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, editResult: Object) => void>;
|
|
548
|
+
onGetEditValue: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, editResult: Object) => void | boolean>;
|
|
549
549
|
onEditCommit: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, oldValue: any, newValue: any) => boolean>;
|
|
550
550
|
onEditCanceled: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex) => void>;
|
|
551
551
|
onItemEditCanceled: PropType<(grid: RealGrid.TreeView, itemIndex: number, state: string) => void>;
|
|
@@ -611,7 +611,7 @@ onRowsAdded: PropType<(provider: RealGrid.LocalTreeDataProvider, parent: number,
|
|
|
611
611
|
onRowDeleting: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => boolean>;
|
|
612
612
|
onRowDeleted: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => void>;
|
|
613
613
|
onRowsDeleted: PropType<(provider: RealGrid.LocalTreeDataProvider, rows: number[]) => void>;
|
|
614
|
-
onRowUpdating: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => boolean>;
|
|
614
|
+
onRowUpdating: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number, oldValues: RealGrid.RowValues, newValues: RealGrid.RowValues) => boolean>;
|
|
615
615
|
onRowUpdated: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => void>;
|
|
616
616
|
onRowsUpdating: PropType<(provider: RealGrid.LocalTreeDataProvider, rows: number[]) => boolean>;
|
|
617
617
|
onRowsUpdated: PropType<(provider: RealGrid.LocalTreeDataProvider, rows: number[]) => void>;
|