realgrid-vue2 0.9.1 → 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.
- package/dist/index.d.ts +16 -16
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -80,7 +80,7 @@ export declare const RealGridVue: DefineComponent<{
|
|
|
80
80
|
onCollapsing: PropType<(grid: RealGrid.GridView, itemIndex: number) => boolean>;
|
|
81
81
|
onCollapsed: PropType<(grid: RealGrid.GridView, itemIndex: number) => void>;
|
|
82
82
|
onRowCountChanged: PropType<(provider: RealGrid.LocalDataProvider, newCount: number) => void>;
|
|
83
|
-
onRowUpdating: PropType<(provider: RealGrid.LocalDataProvider, row: number) => boolean>;
|
|
83
|
+
onRowUpdating: PropType<(provider: RealGrid.LocalDataProvider, row: number, oldValues: RealGrid.RowValues, newValues: RealGrid.RowValues) => boolean>;
|
|
84
84
|
onRowUpdated: PropType<(provider: RealGrid.LocalDataProvider, row: number) => void>;
|
|
85
85
|
onRowsUpdated: PropType<(provider: RealGrid.LocalDataProvider, row: number, count: number) => void>;
|
|
86
86
|
onRowListUpdated: PropType<(provider: RealGrid.LocalDataProvider, rows: number[]) => void>;
|
|
@@ -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.
|
|
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>;
|
|
@@ -153,7 +153,7 @@ export declare const RealGridVue: DefineComponent<{
|
|
|
153
153
|
onShowEditCommand: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex) => boolean>;
|
|
154
154
|
onHideEditor: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex) => void>;
|
|
155
155
|
onEditChange: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, value: any) => void>;
|
|
156
|
-
onGetEditValue: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, editResult: Object) => void>;
|
|
156
|
+
onGetEditValue: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, editResult: Object) => void | boolean>;
|
|
157
157
|
onEditCommit: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, oldValue: any, newValue: any) => boolean>;
|
|
158
158
|
onEditCanceled: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex) => void>;
|
|
159
159
|
onItemEditCanceled: PropType<(grid: RealGrid.GridView, itemIndex: number, state: string) => 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) =>
|
|
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.
|
|
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>;
|
|
@@ -257,7 +257,7 @@ export declare const RealGridVue: DefineComponent<{
|
|
|
257
257
|
onShowEditCommand: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex) => boolean>;
|
|
258
258
|
onHideEditor: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex) => void>;
|
|
259
259
|
onEditChange: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, value: any) => void>;
|
|
260
|
-
onGetEditValue: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, editResult: Object) => void>;
|
|
260
|
+
onGetEditValue: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, editResult: Object) => void | boolean>;
|
|
261
261
|
onEditCommit: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, oldValue: any, newValue: any) => boolean>;
|
|
262
262
|
onEditCanceled: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex) => void>;
|
|
263
263
|
onItemEditCanceled: PropType<(grid: RealGrid.GridView, itemIndex: number, state: string) => 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) =>
|
|
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>;
|
|
@@ -314,7 +314,7 @@ export declare const RealGridVue: DefineComponent<{
|
|
|
314
314
|
onCollapsing: PropType<(grid: RealGrid.GridView, itemIndex: number) => boolean>;
|
|
315
315
|
onCollapsed: PropType<(grid: RealGrid.GridView, itemIndex: number) => void>;
|
|
316
316
|
onRowCountChanged: PropType<(provider: RealGrid.LocalDataProvider, newCount: number) => void>;
|
|
317
|
-
onRowUpdating: PropType<(provider: RealGrid.LocalDataProvider, row: number) => boolean>;
|
|
317
|
+
onRowUpdating: PropType<(provider: RealGrid.LocalDataProvider, row: number, oldValues: RealGrid.RowValues, newValues: RealGrid.RowValues) => boolean>;
|
|
318
318
|
onRowUpdated: PropType<(provider: RealGrid.LocalDataProvider, row: number) => void>;
|
|
319
319
|
onRowsUpdated: PropType<(provider: RealGrid.LocalDataProvider, row: number, count: number) => void>;
|
|
320
320
|
onRowListUpdated: PropType<(provider: RealGrid.LocalDataProvider, rows: number[]) => void>;
|
|
@@ -364,7 +364,7 @@ export declare const RealTreeVue: DefineComponent<{
|
|
|
364
364
|
onRowDeleting: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => boolean>;
|
|
365
365
|
onRowDeleted: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => void>;
|
|
366
366
|
onRowsDeleted: PropType<(provider: RealGrid.LocalTreeDataProvider, rows: number[]) => void>;
|
|
367
|
-
onRowUpdating: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => boolean>;
|
|
367
|
+
onRowUpdating: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number, oldValues: RealGrid.RowValues, newValues: RealGrid.RowValues) => boolean>;
|
|
368
368
|
onRowUpdated: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => void>;
|
|
369
369
|
onRowsUpdating: PropType<(provider: RealGrid.LocalTreeDataProvider, rows: number[]) => boolean>;
|
|
370
370
|
onRowsUpdated: PropType<(provider: RealGrid.LocalTreeDataProvider, rows: number[]) => 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.
|
|
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>;
|
|
@@ -438,7 +438,7 @@ export declare const RealTreeVue: DefineComponent<{
|
|
|
438
438
|
onShowEditCommand: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex) => boolean>;
|
|
439
439
|
onHideEditor: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex) => void>;
|
|
440
440
|
onEditChange: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, value: any) => void>;
|
|
441
|
-
onGetEditValue: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, editResult: Object) => void>;
|
|
441
|
+
onGetEditValue: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, editResult: Object) => void | boolean>;
|
|
442
442
|
onEditCommit: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, oldValue: any, newValue: any) => boolean>;
|
|
443
443
|
onEditCanceled: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex) => void>;
|
|
444
444
|
onItemEditCanceled: PropType<(grid: RealGrid.TreeView, itemIndex: number, state: string) => 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) =>
|
|
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.
|
|
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>;
|
|
@@ -542,7 +542,7 @@ export declare const RealTreeVue: DefineComponent<{
|
|
|
542
542
|
onShowEditCommand: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex) => boolean>;
|
|
543
543
|
onHideEditor: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex) => void>;
|
|
544
544
|
onEditChange: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, value: any) => void>;
|
|
545
|
-
onGetEditValue: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, editResult: Object) => void>;
|
|
545
|
+
onGetEditValue: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, editResult: Object) => void | boolean>;
|
|
546
546
|
onEditCommit: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, oldValue: any, newValue: any) => boolean>;
|
|
547
547
|
onEditCanceled: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex) => void>;
|
|
548
548
|
onItemEditCanceled: PropType<(grid: RealGrid.TreeView, itemIndex: number, state: string) => 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) =>
|
|
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>;
|
|
@@ -608,7 +608,7 @@ export declare const RealTreeVue: DefineComponent<{
|
|
|
608
608
|
onRowDeleting: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => boolean>;
|
|
609
609
|
onRowDeleted: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => void>;
|
|
610
610
|
onRowsDeleted: PropType<(provider: RealGrid.LocalTreeDataProvider, rows: number[]) => void>;
|
|
611
|
-
onRowUpdating: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => boolean>;
|
|
611
|
+
onRowUpdating: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number, oldValues: RealGrid.RowValues, newValues: RealGrid.RowValues) => boolean>;
|
|
612
612
|
onRowUpdated: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => void>;
|
|
613
613
|
onRowsUpdating: PropType<(provider: RealGrid.LocalTreeDataProvider, rows: number[]) => boolean>;
|
|
614
614
|
onRowsUpdated: PropType<(provider: RealGrid.LocalTreeDataProvider, rows: number[]) => void>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "realgrid-vue2",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.9.
|
|
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": "
|
|
27
|
+
"realgrid": "*"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"vue": ">=2.7.0 <2.8.0"
|