realgrid-vue2 0.9.1
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 +94 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.d.ts +882 -0
- package/dist/index.es.js +782 -0
- package/license.txt +3 -0
- package/package.json +32 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,882 @@
|
|
|
1
|
+
import type { ComponentObjectPropsOptions } from 'vue/types/v3-component-props';
|
|
2
|
+
import type { ComponentOptionsMixin } from 'vue';
|
|
3
|
+
import { ComponentPublicInstance } from 'vue';
|
|
4
|
+
import type { Data } from 'vue';
|
|
5
|
+
import type { DefineComponent } from 'vue';
|
|
6
|
+
import type { ExtractPropTypes } from 'vue';
|
|
7
|
+
import type { PropType } from 'vue';
|
|
8
|
+
import * as RealGrid from 'realgrid';
|
|
9
|
+
import { VNode } from 'vue';
|
|
10
|
+
|
|
11
|
+
declare interface ConfigObject {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
declare interface IComponentBase {
|
|
16
|
+
children?: VNode;
|
|
17
|
+
$model?: any;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
declare interface IModel {
|
|
21
|
+
assignFrom: Function;
|
|
22
|
+
name: string;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare interface IRealGridCheckBar extends IComponentBase, RealGrid.CheckBar {
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
declare interface IRealGridDataField extends IComponentBase, RealGrid.DataField {
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
declare interface IRealGridFilterPanel extends IComponentBase, RealGrid.FilterPanel {
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
declare interface IRealGridFooter extends IComponentBase, RealGrid.GridFooter {
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
declare interface IRealGridFooters extends IComponentBase, RealGrid.GridFooterCollection {
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
declare interface IRealGridGroupPanel extends IComponentBase, RealGrid.GroupPanel {
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
declare interface IRealGridHeader extends IComponentBase, RealGrid.GridHeader {
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
declare interface IRealGridheaderSummaries extends IComponentBase, RealGrid.HeaderSummaryCollection {
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
declare interface IRealGridHeaderSummary extends IComponentBase, RealGrid.HeaderSummary {
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
declare interface IRealGridLiteralColumn extends IComponentBase, RealGrid.LiteralColumn {
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
declare interface IRealGridRowIndicator extends IComponentBase, RealGrid.RowIndicator {
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
declare interface IRealGridSeriesColumn extends IComponentBase, RealGrid.SeriesColumn {
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
declare interface IRealGridStateBar extends IComponentBase, RealGrid.StateBar {
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
declare interface IRGDataColumn extends RealGrid.DataColumn, IComponentBase {
|
|
65
|
+
field?: RealGrid.DataFieldInput;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
declare type Omits = keyof ComponentPublicInstance | '$model' | '$oldValue' | '_doWatchAttrs' | 'addCallback' | 'removeCallback' | '__dp' | '__gv' | 'executeCB' | '_mountCBs' | '_mountTimer' | 'concat' | 'mountCB' | 'unmountCB';
|
|
69
|
+
|
|
70
|
+
export declare const RealGridVue: DefineComponent<{
|
|
71
|
+
accessibility: BooleanConstructor;
|
|
72
|
+
waiOptions: PropType<RealGrid.WaiOptions>;
|
|
73
|
+
onPageChanging: PropType<(grid: RealGrid.GridView, page: number) => boolean>;
|
|
74
|
+
onPageChanged: PropType<(grid: RealGrid.GridView, page: number) => void>;
|
|
75
|
+
onPageCountChanged: PropType<(grid: RealGrid.GridView, pageCount: number) => void>;
|
|
76
|
+
onGrouping: PropType<(grid: RealGrid.GridView, fields: number[]) => boolean>;
|
|
77
|
+
onGrouped: PropType<(grid: RealGrid.GridView) => void>;
|
|
78
|
+
onExpanding: PropType<(grid: RealGrid.GridView, itemIndex: number) => boolean>;
|
|
79
|
+
onExpanded: PropType<(grid: RealGrid.GridView, itemIndex: number) => void>;
|
|
80
|
+
onCollapsing: PropType<(grid: RealGrid.GridView, itemIndex: number) => boolean>;
|
|
81
|
+
onCollapsed: PropType<(grid: RealGrid.GridView, itemIndex: number) => void>;
|
|
82
|
+
onRowCountChanged: PropType<(provider: RealGrid.LocalDataProvider, newCount: number) => void>;
|
|
83
|
+
onRowUpdating: PropType<(provider: RealGrid.LocalDataProvider, row: number) => boolean>;
|
|
84
|
+
onRowUpdated: PropType<(provider: RealGrid.LocalDataProvider, row: number) => void>;
|
|
85
|
+
onRowsUpdated: PropType<(provider: RealGrid.LocalDataProvider, row: number, count: number) => void>;
|
|
86
|
+
onRowListUpdated: PropType<(provider: RealGrid.LocalDataProvider, rows: number[]) => void>;
|
|
87
|
+
onDataRowInserting: PropType<(provider: RealGrid.LocalDataProvider, row: number, values: RealGrid.DataValues) => boolean>;
|
|
88
|
+
onRowInserted: PropType<(provider: RealGrid.LocalDataProvider, row: number) => void>;
|
|
89
|
+
onRowsInserted: PropType<(provider: RealGrid.LocalDataProvider, row: number, count: number) => void>;
|
|
90
|
+
onRowDeleting: PropType<(provider: RealGrid.LocalDataProvider, row: number) => boolean>;
|
|
91
|
+
onRowDeleted: PropType<(provider: RealGrid.LocalDataProvider, row: number) => void>;
|
|
92
|
+
onRowsDeleted: PropType<(provider: RealGrid.LocalDataProvider, rows: number[]) => void>;
|
|
93
|
+
onRowMoving: PropType<(provider: RealGrid.LocalDataProvider, row: number, newRow: number) => boolean>;
|
|
94
|
+
onRowMoved: PropType<(provider: RealGrid.LocalDataProvider, row: number, newRow: number) => void>;
|
|
95
|
+
onRowsMoving: PropType<(provider: RealGrid.LocalDataProvider, row: number, count: number, newRow: number) => boolean>;
|
|
96
|
+
onRowsMoved: PropType<(provider: RealGrid.LocalDataProvider, row: number, count: number, newRow: number) => void>;
|
|
97
|
+
onRowListMoving: PropType<(provider: RealGrid.LocalDataProvider, rows: number[], newRow: number) => boolean>;
|
|
98
|
+
onRowListMoved: PropType<(provider: RealGrid.LocalDataProvider, rows: number[], newRow: number) => void>;
|
|
99
|
+
onValueChanged: PropType<(provider: RealGrid.LocalDataProvider, row: number, field: number) => void>;
|
|
100
|
+
onDataChanged: PropType<(provider: RealGrid.LocalDataProvider) => void>;
|
|
101
|
+
onRowStateChanged: PropType<(provider: RealGrid.LocalDataProvider, row: number) => void>;
|
|
102
|
+
onRowStatesChanged: PropType<(provider: RealGrid.LocalDataProvider, rows: number[]) => void>;
|
|
103
|
+
onRowStatesCleared: PropType<(provider: RealGrid.LocalDataProvider) => void>;
|
|
104
|
+
onRestoreRows: PropType<(provider: RealGrid.LocalDataProvider, rows: number[]) => void>;
|
|
105
|
+
}, {}, {
|
|
106
|
+
$dataProvider: RealGrid.LocalDataProvider | null;
|
|
107
|
+
$gridView: RealGrid.GridView | null;
|
|
108
|
+
}, {}, {
|
|
109
|
+
_createGrid(container: HTMLDivElement, props: any): {
|
|
110
|
+
grid: RealGrid.GridView;
|
|
111
|
+
dataProvider: RealGrid.LocalDataProvider;
|
|
112
|
+
};
|
|
113
|
+
_doApplyOptions(options: {
|
|
114
|
+
[key: string]: any;
|
|
115
|
+
}): void;
|
|
116
|
+
_setData(options: {
|
|
117
|
+
[key: string]: any;
|
|
118
|
+
}): void;
|
|
119
|
+
}, ComponentOptionsMixin, DefineComponent<{
|
|
120
|
+
disabled: BooleanConstructor;
|
|
121
|
+
gridProps: PropType<RealGrid.ViewOptions>;
|
|
122
|
+
dataProps: PropType<RealGrid.DataOptions>;
|
|
123
|
+
locale: PropType<Partial<RealGrid.RealGridLocale>>;
|
|
124
|
+
autoGenerateField: BooleanConstructor;
|
|
125
|
+
rows: PropType<RealGrid.DataValues[]>;
|
|
126
|
+
rowStyleCallback: PropType<RealGrid.RowStyleCallback>;
|
|
127
|
+
cellStyleCallback: PropType<RealGrid.CellStyleCallback>;
|
|
128
|
+
layout: PropType<(string | RealGrid.CellLayoutGroupItem | RealGrid.CellLayoutColumnItem)[]>;
|
|
129
|
+
onInitialized: PropType<(grid: RealGrid.GridView) => void>;
|
|
130
|
+
onDestroy: PropType<(grid: RealGrid.GridView) => void>;
|
|
131
|
+
onCurrentChanging: PropType<(grid: RealGrid.GridView, oldIndex: RealGrid.CellIndex, newIndex: RealGrid.CellIndex) => boolean>;
|
|
132
|
+
onCurrentChanged: PropType<(grid: RealGrid.GridView, newIndex: RealGrid.CellIndex) => void>;
|
|
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>;
|
|
135
|
+
onValidateRow: PropType<(grid: RealGrid.GridView, itemIndex: number, dataRow: number, inserting: boolean, values: any[]) => RealGrid.ValidationError>;
|
|
136
|
+
onValidationFail: PropType<(grid: RealGrid.GridView, itemIndex: number, column: RealGrid.GridColumn, error: RealGrid.ValidationError) => RealGrid.ValidationError>;
|
|
137
|
+
onColumnCheckedChanged: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, checked: boolean) => void>;
|
|
138
|
+
onMenuItemClicked: PropType<(grid: RealGrid.GridView, item: RealGrid.PopupMenuItem, clickData: RealGrid.ClickData) => void>;
|
|
139
|
+
onContextMenuPopup: PropType<(grid: RealGrid.GridView, x: number, y: number, clickData: RealGrid.ClickData, menu: string, rightClick: boolean) => boolean | string>;
|
|
140
|
+
onContextMenuItemClicked: PropType<(grid: RealGrid.GridView, item: RealGrid.PopupMenuItem, clickData: RealGrid.ClickData) => void>;
|
|
141
|
+
onCellButtonClicked: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, column: RealGrid.GridColumn) => void>;
|
|
142
|
+
onScrollToBottom: PropType<(grid: RealGrid.GridView) => void>;
|
|
143
|
+
onTopIndexChanged: PropType<(grid: RealGrid.GridView, itemIndex: number) => void>;
|
|
144
|
+
onTopIndexChanging: PropType<(grid: RealGrid.GridView, currentTop: number, delta: number, focusing: boolean, adjust: boolean) => number>;
|
|
145
|
+
onLeftPosChanged: PropType<(grid: RealGrid.GridView, pos: number) => void>;
|
|
146
|
+
onRowsDeleting: PropType<(grid: RealGrid.GridView, rows: number[]) => boolean>;
|
|
147
|
+
onRowInserting: PropType<(grid: RealGrid.GridView, itemIndex: number, dataRow: number) => boolean>;
|
|
148
|
+
onSelectionCleared: PropType<(grid: RealGrid.GridView) => void>;
|
|
149
|
+
onSelectionChanged: PropType<(grid: RealGrid.GridView, selection: RealGrid.Selection) => void>;
|
|
150
|
+
onSelectionAdded: PropType<(grid: RealGrid.GridView, selection: RealGrid.Selection) => void>;
|
|
151
|
+
onSelectionEnded: PropType<(grid: RealGrid.GridView, selection: RealGrid.Selection) => void>;
|
|
152
|
+
onShowEditor: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, props: any, attrs: any) => boolean>;
|
|
153
|
+
onShowEditCommand: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex) => boolean>;
|
|
154
|
+
onHideEditor: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex) => void>;
|
|
155
|
+
onEditChange: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, value: any) => void>;
|
|
156
|
+
onGetEditValue: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, editResult: Object) => void>;
|
|
157
|
+
onEditCommit: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, oldValue: any, newValue: any) => boolean>;
|
|
158
|
+
onEditCanceled: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex) => void>;
|
|
159
|
+
onItemEditCanceled: PropType<(grid: RealGrid.GridView, itemIndex: number, state: string) => void>;
|
|
160
|
+
onItemEditCancel: PropType<(grid: RealGrid.GridView, itemIndex: number, state: string) => boolean>;
|
|
161
|
+
onEditSearch: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, text: string) => void>;
|
|
162
|
+
onSearchCellButtonClick: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, text: string) => void>;
|
|
163
|
+
onCellEdited: PropType<(grid: RealGrid.GridView, itemIndex: number, row: number, field: number) => void>;
|
|
164
|
+
onEditRowChanged: PropType<(grid: RealGrid.GridView, itemIndex: number, row: number, field: number, oldValue: any, newValue: any) => void>;
|
|
165
|
+
onEditRowPasted: PropType<(grid: RealGrid.GridView, itemIndex: number, row: number, fields: number[], oldValues: any[], newValues: any[]) => void>;
|
|
166
|
+
onRowsPasted: PropType<(grid: RealGrid.GridView, items: number[]) => void>;
|
|
167
|
+
onCellPasting: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, value: any) => boolean>;
|
|
168
|
+
onItemChecked: PropType<(grid: RealGrid.GridView, itemIndex: number, checked: boolean) => void>;
|
|
169
|
+
onItemAllChecked: PropType<(grid: RealGrid.GridView, checked: boolean) => void>;
|
|
170
|
+
onErrorClicked: PropType<(grid: RealGrid.GridView, error: string) => void>;
|
|
171
|
+
onSorting: PropType<(grid: RealGrid.GridView, fields: number[], directions: string[]) => boolean>;
|
|
172
|
+
onSortingChanged: PropType<(grid: RealGrid.GridView) => void>;
|
|
173
|
+
onFiltering: PropType<(grid: RealGrid.GridView) => boolean>;
|
|
174
|
+
onFilteringChanged: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, filter: RealGrid.ColumnFilter) => void>;
|
|
175
|
+
onWheel: PropType<(grid: RealGrid.GridView, event: WheelEvent) => boolean>;
|
|
176
|
+
onKeyDown: PropType<(grid: RealGrid.GridView, event: KeyboardEvent) => boolean>;
|
|
177
|
+
onKeyPress: PropType<(grid: RealGrid.GridView, event: KeyboardEvent) => void>;
|
|
178
|
+
onKeyUp: PropType<(grid: RealGrid.GridView, event: KeyboardEvent) => void>;
|
|
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>;
|
|
181
|
+
onColumnPropertyChanged: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, property: string, newValue: any, oldValue: any) => void>;
|
|
182
|
+
onLayoutPropertyChanged: PropType<(grid: RealGrid.GridView, layout: RealGrid.CellLayoutItem, property: string, newValue: any, oldValue: any) => void>;
|
|
183
|
+
onGridActivated: PropType<(grid: RealGrid.GridView) => void>;
|
|
184
|
+
onCopy: PropType<(grid: RealGrid.GridView, selection: RealGrid.Selection | RealGrid.Selection[], event: ClipboardEvent) => boolean>;
|
|
185
|
+
onPaste: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, event: ClipboardEvent) => boolean>;
|
|
186
|
+
onPasted: PropType<(grid: RealGrid.GridView) => void>;
|
|
187
|
+
onItemsChecked: PropType<(grid: RealGrid.GridView, items: number[], checked: boolean) => void>;
|
|
188
|
+
onCellClicked: PropType<(grid: RealGrid.GridView, clickData: RealGrid.ClickData) => void>;
|
|
189
|
+
onCellDblClicked: PropType<(grid: RealGrid.GridView, clickData: RealGrid.ClickData) => void>;
|
|
190
|
+
onCellItemClicked: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, clickData: RealGrid.ClickData) => boolean>;
|
|
191
|
+
onCommandStackChanged: PropType<(grid: RealGrid.GridView, undoable: boolean, redoable: boolean) => void>;
|
|
192
|
+
onDataLoadComplated: PropType<(grid: RealGrid.GridView) => void>;
|
|
193
|
+
onLayoutExpanding: PropType<(grid: RealGrid.GridView, layout: RealGrid.CellLayoutGroupItem) => boolean>;
|
|
194
|
+
onLayoutExpanded: PropType<(grid: RealGrid.GridView, layout: RealGrid.CellLayoutGroupItem) => void>;
|
|
195
|
+
onLayoutCollapsing: PropType<(grid: RealGrid.GridView, layout: RealGrid.CellLayoutGroupItem) => boolean>;
|
|
196
|
+
onLayoutCollapsed: PropType<(grid: RealGrid.GridView, layout: RealGrid.CellLayoutGroupItem) => void>;
|
|
197
|
+
}, {}, {
|
|
198
|
+
$dataProvider: RealGrid.DataProviderBase | null;
|
|
199
|
+
$gridView: RealGrid.GridBase | null;
|
|
200
|
+
_mountTimer: number | null;
|
|
201
|
+
_mountCBs: Function[];
|
|
202
|
+
}, {
|
|
203
|
+
dataProvider: {
|
|
204
|
+
get(): RealGrid.LocalDataProvider;
|
|
205
|
+
set(value: RealGrid.LocalDataProvider): void;
|
|
206
|
+
};
|
|
207
|
+
gridView: {
|
|
208
|
+
get(): RealGrid.GridView;
|
|
209
|
+
set(value: RealGrid.GridView): void;
|
|
210
|
+
};
|
|
211
|
+
}, {
|
|
212
|
+
addCallback(fn: Function): void;
|
|
213
|
+
removeCallback(fn: Function): void;
|
|
214
|
+
executeCB(): void;
|
|
215
|
+
_applyOptions(options: any): void;
|
|
216
|
+
_createGrid(container: HTMLDivElement, props: any): {
|
|
217
|
+
grid: RealGrid.GridView;
|
|
218
|
+
dataProvider: RealGrid.LocalDataProvider;
|
|
219
|
+
};
|
|
220
|
+
_doInitProc(grid: RealGrid.GridBase, props: any): void;
|
|
221
|
+
_doApplyOptions(options: any): void;
|
|
222
|
+
_setData(rows: any): void;
|
|
223
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<{
|
|
224
|
+
disabled: BooleanConstructor;
|
|
225
|
+
gridProps: PropType<RealGrid.ViewOptions>;
|
|
226
|
+
dataProps: PropType<RealGrid.DataOptions>;
|
|
227
|
+
locale: PropType<Partial<RealGrid.RealGridLocale>>;
|
|
228
|
+
autoGenerateField: BooleanConstructor;
|
|
229
|
+
rows: PropType<RealGrid.DataValues[]>;
|
|
230
|
+
rowStyleCallback: PropType<RealGrid.RowStyleCallback>;
|
|
231
|
+
cellStyleCallback: PropType<RealGrid.CellStyleCallback>;
|
|
232
|
+
layout: PropType<(string | RealGrid.CellLayoutGroupItem | RealGrid.CellLayoutColumnItem)[]>;
|
|
233
|
+
onInitialized: PropType<(grid: RealGrid.GridView) => void>;
|
|
234
|
+
onDestroy: PropType<(grid: RealGrid.GridView) => void>;
|
|
235
|
+
onCurrentChanging: PropType<(grid: RealGrid.GridView, oldIndex: RealGrid.CellIndex, newIndex: RealGrid.CellIndex) => boolean>;
|
|
236
|
+
onCurrentChanged: PropType<(grid: RealGrid.GridView, newIndex: RealGrid.CellIndex) => void>;
|
|
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>;
|
|
239
|
+
onValidateRow: PropType<(grid: RealGrid.GridView, itemIndex: number, dataRow: number, inserting: boolean, values: any[]) => RealGrid.ValidationError>;
|
|
240
|
+
onValidationFail: PropType<(grid: RealGrid.GridView, itemIndex: number, column: RealGrid.GridColumn, error: RealGrid.ValidationError) => RealGrid.ValidationError>;
|
|
241
|
+
onColumnCheckedChanged: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, checked: boolean) => void>;
|
|
242
|
+
onMenuItemClicked: PropType<(grid: RealGrid.GridView, item: RealGrid.PopupMenuItem, clickData: RealGrid.ClickData) => void>;
|
|
243
|
+
onContextMenuPopup: PropType<(grid: RealGrid.GridView, x: number, y: number, clickData: RealGrid.ClickData, menu: string, rightClick: boolean) => boolean | string>;
|
|
244
|
+
onContextMenuItemClicked: PropType<(grid: RealGrid.GridView, item: RealGrid.PopupMenuItem, clickData: RealGrid.ClickData) => void>;
|
|
245
|
+
onCellButtonClicked: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, column: RealGrid.GridColumn) => void>;
|
|
246
|
+
onScrollToBottom: PropType<(grid: RealGrid.GridView) => void>;
|
|
247
|
+
onTopIndexChanged: PropType<(grid: RealGrid.GridView, itemIndex: number) => void>;
|
|
248
|
+
onTopIndexChanging: PropType<(grid: RealGrid.GridView, currentTop: number, delta: number, focusing: boolean, adjust: boolean) => number>;
|
|
249
|
+
onLeftPosChanged: PropType<(grid: RealGrid.GridView, pos: number) => void>;
|
|
250
|
+
onRowsDeleting: PropType<(grid: RealGrid.GridView, rows: number[]) => boolean>;
|
|
251
|
+
onRowInserting: PropType<(grid: RealGrid.GridView, itemIndex: number, dataRow: number) => boolean>;
|
|
252
|
+
onSelectionCleared: PropType<(grid: RealGrid.GridView) => void>;
|
|
253
|
+
onSelectionChanged: PropType<(grid: RealGrid.GridView, selection: RealGrid.Selection) => void>;
|
|
254
|
+
onSelectionAdded: PropType<(grid: RealGrid.GridView, selection: RealGrid.Selection) => void>;
|
|
255
|
+
onSelectionEnded: PropType<(grid: RealGrid.GridView, selection: RealGrid.Selection) => void>;
|
|
256
|
+
onShowEditor: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, props: any, attrs: any) => boolean>;
|
|
257
|
+
onShowEditCommand: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex) => boolean>;
|
|
258
|
+
onHideEditor: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex) => void>;
|
|
259
|
+
onEditChange: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, value: any) => void>;
|
|
260
|
+
onGetEditValue: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, editResult: Object) => void>;
|
|
261
|
+
onEditCommit: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, oldValue: any, newValue: any) => boolean>;
|
|
262
|
+
onEditCanceled: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex) => void>;
|
|
263
|
+
onItemEditCanceled: PropType<(grid: RealGrid.GridView, itemIndex: number, state: string) => void>;
|
|
264
|
+
onItemEditCancel: PropType<(grid: RealGrid.GridView, itemIndex: number, state: string) => boolean>;
|
|
265
|
+
onEditSearch: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, text: string) => void>;
|
|
266
|
+
onSearchCellButtonClick: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, text: string) => void>;
|
|
267
|
+
onCellEdited: PropType<(grid: RealGrid.GridView, itemIndex: number, row: number, field: number) => void>;
|
|
268
|
+
onEditRowChanged: PropType<(grid: RealGrid.GridView, itemIndex: number, row: number, field: number, oldValue: any, newValue: any) => void>;
|
|
269
|
+
onEditRowPasted: PropType<(grid: RealGrid.GridView, itemIndex: number, row: number, fields: number[], oldValues: any[], newValues: any[]) => void>;
|
|
270
|
+
onRowsPasted: PropType<(grid: RealGrid.GridView, items: number[]) => void>;
|
|
271
|
+
onCellPasting: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, value: any) => boolean>;
|
|
272
|
+
onItemChecked: PropType<(grid: RealGrid.GridView, itemIndex: number, checked: boolean) => void>;
|
|
273
|
+
onItemAllChecked: PropType<(grid: RealGrid.GridView, checked: boolean) => void>;
|
|
274
|
+
onErrorClicked: PropType<(grid: RealGrid.GridView, error: string) => void>;
|
|
275
|
+
onSorting: PropType<(grid: RealGrid.GridView, fields: number[], directions: string[]) => boolean>;
|
|
276
|
+
onSortingChanged: PropType<(grid: RealGrid.GridView) => void>;
|
|
277
|
+
onFiltering: PropType<(grid: RealGrid.GridView) => boolean>;
|
|
278
|
+
onFilteringChanged: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, filter: RealGrid.ColumnFilter) => void>;
|
|
279
|
+
onWheel: PropType<(grid: RealGrid.GridView, event: WheelEvent) => boolean>;
|
|
280
|
+
onKeyDown: PropType<(grid: RealGrid.GridView, event: KeyboardEvent) => boolean>;
|
|
281
|
+
onKeyPress: PropType<(grid: RealGrid.GridView, event: KeyboardEvent) => void>;
|
|
282
|
+
onKeyUp: PropType<(grid: RealGrid.GridView, event: KeyboardEvent) => void>;
|
|
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>;
|
|
285
|
+
onColumnPropertyChanged: PropType<(grid: RealGrid.GridView, column: RealGrid.GridColumn, property: string, newValue: any, oldValue: any) => void>;
|
|
286
|
+
onLayoutPropertyChanged: PropType<(grid: RealGrid.GridView, layout: RealGrid.CellLayoutItem, property: string, newValue: any, oldValue: any) => void>;
|
|
287
|
+
onGridActivated: PropType<(grid: RealGrid.GridView) => void>;
|
|
288
|
+
onCopy: PropType<(grid: RealGrid.GridView, selection: RealGrid.Selection | RealGrid.Selection[], event: ClipboardEvent) => boolean>;
|
|
289
|
+
onPaste: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, event: ClipboardEvent) => boolean>;
|
|
290
|
+
onPasted: PropType<(grid: RealGrid.GridView) => void>;
|
|
291
|
+
onItemsChecked: PropType<(grid: RealGrid.GridView, items: number[], checked: boolean) => void>;
|
|
292
|
+
onCellClicked: PropType<(grid: RealGrid.GridView, clickData: RealGrid.ClickData) => void>;
|
|
293
|
+
onCellDblClicked: PropType<(grid: RealGrid.GridView, clickData: RealGrid.ClickData) => void>;
|
|
294
|
+
onCellItemClicked: PropType<(grid: RealGrid.GridView, index: RealGrid.CellIndex, clickData: RealGrid.ClickData) => boolean>;
|
|
295
|
+
onCommandStackChanged: PropType<(grid: RealGrid.GridView, undoable: boolean, redoable: boolean) => void>;
|
|
296
|
+
onDataLoadComplated: PropType<(grid: RealGrid.GridView) => void>;
|
|
297
|
+
onLayoutExpanding: PropType<(grid: RealGrid.GridView, layout: RealGrid.CellLayoutGroupItem) => boolean>;
|
|
298
|
+
onLayoutExpanded: PropType<(grid: RealGrid.GridView, layout: RealGrid.CellLayoutGroupItem) => void>;
|
|
299
|
+
onLayoutCollapsing: PropType<(grid: RealGrid.GridView, layout: RealGrid.CellLayoutGroupItem) => boolean>;
|
|
300
|
+
onLayoutCollapsed: PropType<(grid: RealGrid.GridView, layout: RealGrid.CellLayoutGroupItem) => void>;
|
|
301
|
+
}>>, {
|
|
302
|
+
disabled: boolean;
|
|
303
|
+
autoGenerateField: boolean;
|
|
304
|
+
}>, {}, string, Readonly<ExtractPropTypes<{
|
|
305
|
+
accessibility: BooleanConstructor;
|
|
306
|
+
waiOptions: PropType<RealGrid.WaiOptions>;
|
|
307
|
+
onPageChanging: PropType<(grid: RealGrid.GridView, page: number) => boolean>;
|
|
308
|
+
onPageChanged: PropType<(grid: RealGrid.GridView, page: number) => void>;
|
|
309
|
+
onPageCountChanged: PropType<(grid: RealGrid.GridView, pageCount: number) => void>;
|
|
310
|
+
onGrouping: PropType<(grid: RealGrid.GridView, fields: number[]) => boolean>;
|
|
311
|
+
onGrouped: PropType<(grid: RealGrid.GridView) => void>;
|
|
312
|
+
onExpanding: PropType<(grid: RealGrid.GridView, itemIndex: number) => boolean>;
|
|
313
|
+
onExpanded: PropType<(grid: RealGrid.GridView, itemIndex: number) => void>;
|
|
314
|
+
onCollapsing: PropType<(grid: RealGrid.GridView, itemIndex: number) => boolean>;
|
|
315
|
+
onCollapsed: PropType<(grid: RealGrid.GridView, itemIndex: number) => void>;
|
|
316
|
+
onRowCountChanged: PropType<(provider: RealGrid.LocalDataProvider, newCount: number) => void>;
|
|
317
|
+
onRowUpdating: PropType<(provider: RealGrid.LocalDataProvider, row: number) => boolean>;
|
|
318
|
+
onRowUpdated: PropType<(provider: RealGrid.LocalDataProvider, row: number) => void>;
|
|
319
|
+
onRowsUpdated: PropType<(provider: RealGrid.LocalDataProvider, row: number, count: number) => void>;
|
|
320
|
+
onRowListUpdated: PropType<(provider: RealGrid.LocalDataProvider, rows: number[]) => void>;
|
|
321
|
+
onDataRowInserting: PropType<(provider: RealGrid.LocalDataProvider, row: number, values: RealGrid.DataValues) => boolean>;
|
|
322
|
+
onRowInserted: PropType<(provider: RealGrid.LocalDataProvider, row: number) => void>;
|
|
323
|
+
onRowsInserted: PropType<(provider: RealGrid.LocalDataProvider, row: number, count: number) => void>;
|
|
324
|
+
onRowDeleting: PropType<(provider: RealGrid.LocalDataProvider, row: number) => boolean>;
|
|
325
|
+
onRowDeleted: PropType<(provider: RealGrid.LocalDataProvider, row: number) => void>;
|
|
326
|
+
onRowsDeleted: PropType<(provider: RealGrid.LocalDataProvider, rows: number[]) => void>;
|
|
327
|
+
onRowMoving: PropType<(provider: RealGrid.LocalDataProvider, row: number, newRow: number) => boolean>;
|
|
328
|
+
onRowMoved: PropType<(provider: RealGrid.LocalDataProvider, row: number, newRow: number) => void>;
|
|
329
|
+
onRowsMoving: PropType<(provider: RealGrid.LocalDataProvider, row: number, count: number, newRow: number) => boolean>;
|
|
330
|
+
onRowsMoved: PropType<(provider: RealGrid.LocalDataProvider, row: number, count: number, newRow: number) => void>;
|
|
331
|
+
onRowListMoving: PropType<(provider: RealGrid.LocalDataProvider, rows: number[], newRow: number) => boolean>;
|
|
332
|
+
onRowListMoved: PropType<(provider: RealGrid.LocalDataProvider, rows: number[], newRow: number) => void>;
|
|
333
|
+
onValueChanged: PropType<(provider: RealGrid.LocalDataProvider, row: number, field: number) => void>;
|
|
334
|
+
onDataChanged: PropType<(provider: RealGrid.LocalDataProvider) => void>;
|
|
335
|
+
onRowStateChanged: PropType<(provider: RealGrid.LocalDataProvider, row: number) => void>;
|
|
336
|
+
onRowStatesChanged: PropType<(provider: RealGrid.LocalDataProvider, rows: number[]) => void>;
|
|
337
|
+
onRowStatesCleared: PropType<(provider: RealGrid.LocalDataProvider) => void>;
|
|
338
|
+
onRestoreRows: PropType<(provider: RealGrid.LocalDataProvider, rows: number[]) => void>;
|
|
339
|
+
}>>, {
|
|
340
|
+
accessibility: boolean;
|
|
341
|
+
}>;
|
|
342
|
+
|
|
343
|
+
export declare type RealGridVue = Omit<InstanceType<typeof RealGridVue>, Omits>;
|
|
344
|
+
|
|
345
|
+
export declare const RealTreeVue: DefineComponent<{
|
|
346
|
+
treeOptions: PropType<RealGrid.TreeOptions>;
|
|
347
|
+
treeField: StringConstructor;
|
|
348
|
+
needSorting: BooleanConstructor;
|
|
349
|
+
childrenField: StringConstructor;
|
|
350
|
+
iconField: StringConstructor;
|
|
351
|
+
json: PropType<any>;
|
|
352
|
+
rowsProp: StringConstructor;
|
|
353
|
+
childrenProp: StringConstructor;
|
|
354
|
+
iconProp: StringConstructor;
|
|
355
|
+
onTreeItemExpanding: PropType<(tree: RealGrid.TreeView, itemIndex: number, rowId: number) => boolean>;
|
|
356
|
+
onTreeItemExpanded: PropType<(tree: RealGrid.TreeView, itemIndex: number, rowId: number) => void>;
|
|
357
|
+
onTreeItemCollapsing: PropType<(tree: RealGrid.TreeView, itemIndex: number, rowId: number) => void>;
|
|
358
|
+
onTreeItemCollapsed: PropType<(tree: RealGrid.TreeView, itemIndex: number, rowId: number) => void>;
|
|
359
|
+
onTreeItemChanged: PropType<(tree: RealGrid.TreeView, itemIndex: number, rowId: number) => void>;
|
|
360
|
+
onRowCountChanged: PropType<(provider: RealGrid.LocalTreeDataProvider, newCount: number) => void>;
|
|
361
|
+
onRowAdding: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number, index: number, child: any) => boolean>;
|
|
362
|
+
onRowAdded: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => void>;
|
|
363
|
+
onRowsAdded: PropType<(provider: RealGrid.LocalTreeDataProvider, parent: number, rows: number[]) => void>;
|
|
364
|
+
onRowDeleting: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => boolean>;
|
|
365
|
+
onRowDeleted: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => void>;
|
|
366
|
+
onRowsDeleted: PropType<(provider: RealGrid.LocalTreeDataProvider, rows: number[]) => void>;
|
|
367
|
+
onRowUpdating: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => boolean>;
|
|
368
|
+
onRowUpdated: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => void>;
|
|
369
|
+
onRowsUpdating: PropType<(provider: RealGrid.LocalTreeDataProvider, rows: number[]) => boolean>;
|
|
370
|
+
onRowsUpdated: PropType<(provider: RealGrid.LocalTreeDataProvider, rows: number[]) => void>;
|
|
371
|
+
onValueChanged: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number, field: number) => void>;
|
|
372
|
+
onDataChanged: PropType<(provider: RealGrid.LocalTreeDataProvider) => void>;
|
|
373
|
+
onRowStateChanged: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => void>;
|
|
374
|
+
onRowStatesChanged: PropType<(provider: RealGrid.LocalTreeDataProvider, rows: number[]) => void>;
|
|
375
|
+
onRowSiblingMoving: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number, offset: number) => boolean>;
|
|
376
|
+
onRowSiblingMoved: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number, offset: number) => void>;
|
|
377
|
+
onRowsSiblingMoving: PropType<(provider: RealGrid.LocalTreeDataProvider, rows: number[], offset: number) => boolean>;
|
|
378
|
+
onRowsSiblingMoved: PropType<(provider: RealGrid.LocalTreeDataProvider, rows: number[], offset: number) => void>;
|
|
379
|
+
onRowParentChanging: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number, parent: number, index: number) => boolean>;
|
|
380
|
+
onRowParentChanged: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number, parent: number, index: number) => void>;
|
|
381
|
+
}, {}, {
|
|
382
|
+
$gridView: RealGrid.TreeView | null;
|
|
383
|
+
$dataProvider: RealGrid.LocalTreeDataProvider | null;
|
|
384
|
+
}, {
|
|
385
|
+
gridView: {
|
|
386
|
+
get(): (RealGrid.GridBase & RealGrid.TreeView) | null;
|
|
387
|
+
set(value: RealGrid.TreeView): void;
|
|
388
|
+
};
|
|
389
|
+
dataProvider: {
|
|
390
|
+
get(): (RealGrid.DataProviderBase & RealGrid.LocalTreeDataProvider) | null;
|
|
391
|
+
set(value: RealGrid.LocalTreeDataProvider): void;
|
|
392
|
+
};
|
|
393
|
+
}, {
|
|
394
|
+
_createGrid(container: HTMLDivElement, props: any): {
|
|
395
|
+
grid: RealGrid.TreeView;
|
|
396
|
+
dataProvider: RealGrid.LocalTreeDataProvider;
|
|
397
|
+
};
|
|
398
|
+
_doApplyOptions(options: {
|
|
399
|
+
[key: string]: any;
|
|
400
|
+
}): void;
|
|
401
|
+
_setData(options: {
|
|
402
|
+
[key: string]: any;
|
|
403
|
+
}): void;
|
|
404
|
+
}, ComponentOptionsMixin, DefineComponent<{
|
|
405
|
+
disabled: BooleanConstructor;
|
|
406
|
+
gridProps: PropType<RealGrid.GridOptions>;
|
|
407
|
+
dataProps: PropType<RealGrid.DataOptions>;
|
|
408
|
+
locale: PropType<Partial<RealGrid.RealGridLocale>>;
|
|
409
|
+
autoGenerateField: BooleanConstructor;
|
|
410
|
+
rows: PropType<RealGrid.DataValues[]>;
|
|
411
|
+
rowStyleCallback: PropType<RealGrid.RowStyleCallback>;
|
|
412
|
+
cellStyleCallback: PropType<RealGrid.CellStyleCallback>;
|
|
413
|
+
layout: PropType<(string | RealGrid.CellLayoutGroupItem | RealGrid.CellLayoutColumnItem)[]>;
|
|
414
|
+
onInitialized: PropType<(grid: RealGrid.TreeView) => void>;
|
|
415
|
+
onDestroy: PropType<(grid: RealGrid.TreeView) => void>;
|
|
416
|
+
onCurrentChanging: PropType<(grid: RealGrid.TreeView, oldIndex: RealGrid.CellIndex, newIndex: RealGrid.CellIndex) => boolean>;
|
|
417
|
+
onCurrentChanged: PropType<(grid: RealGrid.TreeView, newIndex: RealGrid.CellIndex) => void>;
|
|
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>;
|
|
420
|
+
onValidateRow: PropType<(grid: RealGrid.TreeView, itemIndex: number, dataRow: number, inserting: boolean, values: any[]) => RealGrid.ValidationError>;
|
|
421
|
+
onValidationFail: PropType<(grid: RealGrid.TreeView, itemIndex: number, column: RealGrid.GridColumn, error: RealGrid.ValidationError) => RealGrid.ValidationError>;
|
|
422
|
+
onColumnCheckedChanged: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, checked: boolean) => void>;
|
|
423
|
+
onMenuItemClicked: PropType<(grid: RealGrid.TreeView, item: RealGrid.PopupMenuItem, clickData: RealGrid.ClickData) => void>;
|
|
424
|
+
onContextMenuPopup: PropType<(grid: RealGrid.TreeView, x: number, y: number, clickData: RealGrid.ClickData, menu: string, rightClick: boolean) => boolean | string>;
|
|
425
|
+
onContextMenuItemClicked: PropType<(grid: RealGrid.TreeView, item: RealGrid.PopupMenuItem, clickData: RealGrid.ClickData) => void>;
|
|
426
|
+
onCellButtonClicked: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, column: RealGrid.GridColumn) => void>;
|
|
427
|
+
onScrollToBottom: PropType<(grid: RealGrid.TreeView) => void>;
|
|
428
|
+
onTopIndexChanged: PropType<(grid: RealGrid.TreeView, itemIndex: number) => void>;
|
|
429
|
+
onTopIndexChanging: PropType<(grid: RealGrid.TreeView, currentTop: number, delta: number, focusing: boolean, adjust: boolean) => number>;
|
|
430
|
+
onLeftPosChanged: PropType<(grid: RealGrid.TreeView, pos: number) => void>;
|
|
431
|
+
onRowsDeleting: PropType<(grid: RealGrid.TreeView, rows: number[]) => boolean>;
|
|
432
|
+
onRowInserting: PropType<(grid: RealGrid.TreeView, itemIndex: number, dataRow: number) => boolean>;
|
|
433
|
+
onSelectionCleared: PropType<(grid: RealGrid.TreeView) => void>;
|
|
434
|
+
onSelectionChanged: PropType<(grid: RealGrid.TreeView, selection: RealGrid.Selection) => void>;
|
|
435
|
+
onSelectionAdded: PropType<(grid: RealGrid.TreeView, selection: RealGrid.Selection) => void>;
|
|
436
|
+
onSelectionEnded: PropType<(grid: RealGrid.TreeView, selection: RealGrid.Selection) => void>;
|
|
437
|
+
onShowEditor: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, props: any, attrs: any) => boolean>;
|
|
438
|
+
onShowEditCommand: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex) => boolean>;
|
|
439
|
+
onHideEditor: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex) => void>;
|
|
440
|
+
onEditChange: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, value: any) => void>;
|
|
441
|
+
onGetEditValue: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, editResult: Object) => void>;
|
|
442
|
+
onEditCommit: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, oldValue: any, newValue: any) => boolean>;
|
|
443
|
+
onEditCanceled: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex) => void>;
|
|
444
|
+
onItemEditCanceled: PropType<(grid: RealGrid.TreeView, itemIndex: number, state: string) => void>;
|
|
445
|
+
onItemEditCancel: PropType<(grid: RealGrid.TreeView, itemIndex: number, state: string) => boolean>;
|
|
446
|
+
onEditSearch: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, text: string) => void>;
|
|
447
|
+
onSearchCellButtonClick: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, text: string) => void>;
|
|
448
|
+
onCellEdited: PropType<(grid: RealGrid.TreeView, itemIndex: number, row: number, field: number) => void>;
|
|
449
|
+
onEditRowChanged: PropType<(grid: RealGrid.TreeView, itemIndex: number, row: number, field: number, oldValue: any, newValue: any) => void>;
|
|
450
|
+
onEditRowPasted: PropType<(grid: RealGrid.TreeView, itemIndex: number, row: number, fields: number[], oldValues: any[], newValues: any[]) => void>;
|
|
451
|
+
onRowsPasted: PropType<(grid: RealGrid.TreeView, items: number[]) => void>;
|
|
452
|
+
onCellPasting: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, value: any) => boolean>;
|
|
453
|
+
onItemChecked: PropType<(grid: RealGrid.TreeView, itemIndex: number, checked: boolean) => void>;
|
|
454
|
+
onItemAllChecked: PropType<(grid: RealGrid.TreeView, checked: boolean) => void>;
|
|
455
|
+
onErrorClicked: PropType<(grid: RealGrid.TreeView, error: string) => void>;
|
|
456
|
+
onSorting: PropType<(grid: RealGrid.TreeView, fields: number[], directions: string[]) => boolean>;
|
|
457
|
+
onSortingChanged: PropType<(grid: RealGrid.TreeView) => void>;
|
|
458
|
+
onFiltering: PropType<(grid: RealGrid.TreeView) => boolean>;
|
|
459
|
+
onFilteringChanged: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, filter: RealGrid.ColumnFilter) => void>;
|
|
460
|
+
onWheel: PropType<(grid: RealGrid.TreeView, event: WheelEvent) => boolean>;
|
|
461
|
+
onKeyDown: PropType<(grid: RealGrid.TreeView, event: KeyboardEvent) => boolean>;
|
|
462
|
+
onKeyPress: PropType<(grid: RealGrid.TreeView, event: KeyboardEvent) => void>;
|
|
463
|
+
onKeyUp: PropType<(grid: RealGrid.TreeView, event: KeyboardEvent) => void>;
|
|
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>;
|
|
466
|
+
onColumnPropertyChanged: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, property: string, newValue: any, oldValue: any) => void>;
|
|
467
|
+
onLayoutPropertyChanged: PropType<(grid: RealGrid.TreeView, layout: RealGrid.CellLayoutItem, property: string, newValue: any, oldValue: any) => void>;
|
|
468
|
+
onGridActivated: PropType<(grid: RealGrid.TreeView) => void>;
|
|
469
|
+
onCopy: PropType<(grid: RealGrid.TreeView, selection: RealGrid.Selection | RealGrid.Selection[], event: ClipboardEvent) => boolean>;
|
|
470
|
+
onPaste: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, event: ClipboardEvent) => boolean>;
|
|
471
|
+
onPasted: PropType<(grid: RealGrid.TreeView) => void>;
|
|
472
|
+
onItemsChecked: PropType<(grid: RealGrid.TreeView, items: number[], checked: boolean) => void>;
|
|
473
|
+
onCellClicked: PropType<(grid: RealGrid.TreeView, clickData: RealGrid.ClickData) => void>;
|
|
474
|
+
onCellDblClicked: PropType<(grid: RealGrid.TreeView, clickData: RealGrid.ClickData) => void>;
|
|
475
|
+
onCellItemClicked: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, clickData: RealGrid.ClickData) => boolean>;
|
|
476
|
+
onCommandStackChanged: PropType<(grid: RealGrid.TreeView, undoable: boolean, redoable: boolean) => void>;
|
|
477
|
+
onDataLoadComplated: PropType<(grid: RealGrid.TreeView) => void>;
|
|
478
|
+
onLayoutExpanding: PropType<(grid: RealGrid.TreeView, layout: RealGrid.CellLayoutGroupItem) => boolean>;
|
|
479
|
+
onLayoutExpanded: PropType<(grid: RealGrid.TreeView, layout: RealGrid.CellLayoutGroupItem) => void>;
|
|
480
|
+
onLayoutCollapsing: PropType<(grid: RealGrid.TreeView, layout: RealGrid.CellLayoutGroupItem) => boolean>;
|
|
481
|
+
onLayoutCollapsed: PropType<(grid: RealGrid.TreeView, layout: RealGrid.CellLayoutGroupItem) => void>;
|
|
482
|
+
}, {}, {
|
|
483
|
+
$dataProvider: RealGrid.DataProviderBase | null;
|
|
484
|
+
$gridView: RealGrid.GridBase | null;
|
|
485
|
+
_mountTimer: number | null;
|
|
486
|
+
_mountCBs: Function[];
|
|
487
|
+
}, {
|
|
488
|
+
dataProvider: {
|
|
489
|
+
get(): RealGrid.LocalTreeDataProvider;
|
|
490
|
+
set(value: RealGrid.LocalTreeDataProvider): void;
|
|
491
|
+
};
|
|
492
|
+
gridView: {
|
|
493
|
+
get(): RealGrid.TreeView;
|
|
494
|
+
set(value: RealGrid.TreeView): void;
|
|
495
|
+
};
|
|
496
|
+
}, {
|
|
497
|
+
addCallback(fn: Function): void;
|
|
498
|
+
removeCallback(fn: Function): void;
|
|
499
|
+
executeCB(): void;
|
|
500
|
+
_applyOptions(options: any): void;
|
|
501
|
+
_createGrid(container: HTMLDivElement, props: any): {
|
|
502
|
+
grid: RealGrid.TreeView;
|
|
503
|
+
dataProvider: RealGrid.LocalTreeDataProvider;
|
|
504
|
+
};
|
|
505
|
+
_doInitProc(grid: RealGrid.GridBase, props: any): void;
|
|
506
|
+
_doApplyOptions(options: any): void;
|
|
507
|
+
_setData(rows: any): void;
|
|
508
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<{
|
|
509
|
+
disabled: BooleanConstructor;
|
|
510
|
+
gridProps: PropType<RealGrid.GridOptions>;
|
|
511
|
+
dataProps: PropType<RealGrid.DataOptions>;
|
|
512
|
+
locale: PropType<Partial<RealGrid.RealGridLocale>>;
|
|
513
|
+
autoGenerateField: BooleanConstructor;
|
|
514
|
+
rows: PropType<RealGrid.DataValues[]>;
|
|
515
|
+
rowStyleCallback: PropType<RealGrid.RowStyleCallback>;
|
|
516
|
+
cellStyleCallback: PropType<RealGrid.CellStyleCallback>;
|
|
517
|
+
layout: PropType<(string | RealGrid.CellLayoutGroupItem | RealGrid.CellLayoutColumnItem)[]>;
|
|
518
|
+
onInitialized: PropType<(grid: RealGrid.TreeView) => void>;
|
|
519
|
+
onDestroy: PropType<(grid: RealGrid.TreeView) => void>;
|
|
520
|
+
onCurrentChanging: PropType<(grid: RealGrid.TreeView, oldIndex: RealGrid.CellIndex, newIndex: RealGrid.CellIndex) => boolean>;
|
|
521
|
+
onCurrentChanged: PropType<(grid: RealGrid.TreeView, newIndex: RealGrid.CellIndex) => void>;
|
|
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>;
|
|
524
|
+
onValidateRow: PropType<(grid: RealGrid.TreeView, itemIndex: number, dataRow: number, inserting: boolean, values: any[]) => RealGrid.ValidationError>;
|
|
525
|
+
onValidationFail: PropType<(grid: RealGrid.TreeView, itemIndex: number, column: RealGrid.GridColumn, error: RealGrid.ValidationError) => RealGrid.ValidationError>;
|
|
526
|
+
onColumnCheckedChanged: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, checked: boolean) => void>;
|
|
527
|
+
onMenuItemClicked: PropType<(grid: RealGrid.TreeView, item: RealGrid.PopupMenuItem, clickData: RealGrid.ClickData) => void>;
|
|
528
|
+
onContextMenuPopup: PropType<(grid: RealGrid.TreeView, x: number, y: number, clickData: RealGrid.ClickData, menu: string, rightClick: boolean) => boolean | string>;
|
|
529
|
+
onContextMenuItemClicked: PropType<(grid: RealGrid.TreeView, item: RealGrid.PopupMenuItem, clickData: RealGrid.ClickData) => void>;
|
|
530
|
+
onCellButtonClicked: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, column: RealGrid.GridColumn) => void>;
|
|
531
|
+
onScrollToBottom: PropType<(grid: RealGrid.TreeView) => void>;
|
|
532
|
+
onTopIndexChanged: PropType<(grid: RealGrid.TreeView, itemIndex: number) => void>;
|
|
533
|
+
onTopIndexChanging: PropType<(grid: RealGrid.TreeView, currentTop: number, delta: number, focusing: boolean, adjust: boolean) => number>;
|
|
534
|
+
onLeftPosChanged: PropType<(grid: RealGrid.TreeView, pos: number) => void>;
|
|
535
|
+
onRowsDeleting: PropType<(grid: RealGrid.TreeView, rows: number[]) => boolean>;
|
|
536
|
+
onRowInserting: PropType<(grid: RealGrid.TreeView, itemIndex: number, dataRow: number) => boolean>;
|
|
537
|
+
onSelectionCleared: PropType<(grid: RealGrid.TreeView) => void>;
|
|
538
|
+
onSelectionChanged: PropType<(grid: RealGrid.TreeView, selection: RealGrid.Selection) => void>;
|
|
539
|
+
onSelectionAdded: PropType<(grid: RealGrid.TreeView, selection: RealGrid.Selection) => void>;
|
|
540
|
+
onSelectionEnded: PropType<(grid: RealGrid.TreeView, selection: RealGrid.Selection) => void>;
|
|
541
|
+
onShowEditor: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, props: any, attrs: any) => boolean>;
|
|
542
|
+
onShowEditCommand: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex) => boolean>;
|
|
543
|
+
onHideEditor: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex) => void>;
|
|
544
|
+
onEditChange: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, value: any) => void>;
|
|
545
|
+
onGetEditValue: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, editResult: Object) => void>;
|
|
546
|
+
onEditCommit: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, oldValue: any, newValue: any) => boolean>;
|
|
547
|
+
onEditCanceled: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex) => void>;
|
|
548
|
+
onItemEditCanceled: PropType<(grid: RealGrid.TreeView, itemIndex: number, state: string) => void>;
|
|
549
|
+
onItemEditCancel: PropType<(grid: RealGrid.TreeView, itemIndex: number, state: string) => boolean>;
|
|
550
|
+
onEditSearch: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, text: string) => void>;
|
|
551
|
+
onSearchCellButtonClick: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, text: string) => void>;
|
|
552
|
+
onCellEdited: PropType<(grid: RealGrid.TreeView, itemIndex: number, row: number, field: number) => void>;
|
|
553
|
+
onEditRowChanged: PropType<(grid: RealGrid.TreeView, itemIndex: number, row: number, field: number, oldValue: any, newValue: any) => void>;
|
|
554
|
+
onEditRowPasted: PropType<(grid: RealGrid.TreeView, itemIndex: number, row: number, fields: number[], oldValues: any[], newValues: any[]) => void>;
|
|
555
|
+
onRowsPasted: PropType<(grid: RealGrid.TreeView, items: number[]) => void>;
|
|
556
|
+
onCellPasting: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, value: any) => boolean>;
|
|
557
|
+
onItemChecked: PropType<(grid: RealGrid.TreeView, itemIndex: number, checked: boolean) => void>;
|
|
558
|
+
onItemAllChecked: PropType<(grid: RealGrid.TreeView, checked: boolean) => void>;
|
|
559
|
+
onErrorClicked: PropType<(grid: RealGrid.TreeView, error: string) => void>;
|
|
560
|
+
onSorting: PropType<(grid: RealGrid.TreeView, fields: number[], directions: string[]) => boolean>;
|
|
561
|
+
onSortingChanged: PropType<(grid: RealGrid.TreeView) => void>;
|
|
562
|
+
onFiltering: PropType<(grid: RealGrid.TreeView) => boolean>;
|
|
563
|
+
onFilteringChanged: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, filter: RealGrid.ColumnFilter) => void>;
|
|
564
|
+
onWheel: PropType<(grid: RealGrid.TreeView, event: WheelEvent) => boolean>;
|
|
565
|
+
onKeyDown: PropType<(grid: RealGrid.TreeView, event: KeyboardEvent) => boolean>;
|
|
566
|
+
onKeyPress: PropType<(grid: RealGrid.TreeView, event: KeyboardEvent) => void>;
|
|
567
|
+
onKeyUp: PropType<(grid: RealGrid.TreeView, event: KeyboardEvent) => void>;
|
|
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>;
|
|
570
|
+
onColumnPropertyChanged: PropType<(grid: RealGrid.TreeView, column: RealGrid.GridColumn, property: string, newValue: any, oldValue: any) => void>;
|
|
571
|
+
onLayoutPropertyChanged: PropType<(grid: RealGrid.TreeView, layout: RealGrid.CellLayoutItem, property: string, newValue: any, oldValue: any) => void>;
|
|
572
|
+
onGridActivated: PropType<(grid: RealGrid.TreeView) => void>;
|
|
573
|
+
onCopy: PropType<(grid: RealGrid.TreeView, selection: RealGrid.Selection | RealGrid.Selection[], event: ClipboardEvent) => boolean>;
|
|
574
|
+
onPaste: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, event: ClipboardEvent) => boolean>;
|
|
575
|
+
onPasted: PropType<(grid: RealGrid.TreeView) => void>;
|
|
576
|
+
onItemsChecked: PropType<(grid: RealGrid.TreeView, items: number[], checked: boolean) => void>;
|
|
577
|
+
onCellClicked: PropType<(grid: RealGrid.TreeView, clickData: RealGrid.ClickData) => void>;
|
|
578
|
+
onCellDblClicked: PropType<(grid: RealGrid.TreeView, clickData: RealGrid.ClickData) => void>;
|
|
579
|
+
onCellItemClicked: PropType<(grid: RealGrid.TreeView, index: RealGrid.CellIndex, clickData: RealGrid.ClickData) => boolean>;
|
|
580
|
+
onCommandStackChanged: PropType<(grid: RealGrid.TreeView, undoable: boolean, redoable: boolean) => void>;
|
|
581
|
+
onDataLoadComplated: PropType<(grid: RealGrid.TreeView) => void>;
|
|
582
|
+
onLayoutExpanding: PropType<(grid: RealGrid.TreeView, layout: RealGrid.CellLayoutGroupItem) => boolean>;
|
|
583
|
+
onLayoutExpanded: PropType<(grid: RealGrid.TreeView, layout: RealGrid.CellLayoutGroupItem) => void>;
|
|
584
|
+
onLayoutCollapsing: PropType<(grid: RealGrid.TreeView, layout: RealGrid.CellLayoutGroupItem) => boolean>;
|
|
585
|
+
onLayoutCollapsed: PropType<(grid: RealGrid.TreeView, layout: RealGrid.CellLayoutGroupItem) => void>;
|
|
586
|
+
}>>, {
|
|
587
|
+
disabled: boolean;
|
|
588
|
+
autoGenerateField: boolean;
|
|
589
|
+
}>, {}, string, Readonly<ExtractPropTypes<{
|
|
590
|
+
treeOptions: PropType<RealGrid.TreeOptions>;
|
|
591
|
+
treeField: StringConstructor;
|
|
592
|
+
needSorting: BooleanConstructor;
|
|
593
|
+
childrenField: StringConstructor;
|
|
594
|
+
iconField: StringConstructor;
|
|
595
|
+
json: PropType<any>;
|
|
596
|
+
rowsProp: StringConstructor;
|
|
597
|
+
childrenProp: StringConstructor;
|
|
598
|
+
iconProp: StringConstructor;
|
|
599
|
+
onTreeItemExpanding: PropType<(tree: RealGrid.TreeView, itemIndex: number, rowId: number) => boolean>;
|
|
600
|
+
onTreeItemExpanded: PropType<(tree: RealGrid.TreeView, itemIndex: number, rowId: number) => void>;
|
|
601
|
+
onTreeItemCollapsing: PropType<(tree: RealGrid.TreeView, itemIndex: number, rowId: number) => void>;
|
|
602
|
+
onTreeItemCollapsed: PropType<(tree: RealGrid.TreeView, itemIndex: number, rowId: number) => void>;
|
|
603
|
+
onTreeItemChanged: PropType<(tree: RealGrid.TreeView, itemIndex: number, rowId: number) => void>;
|
|
604
|
+
onRowCountChanged: PropType<(provider: RealGrid.LocalTreeDataProvider, newCount: number) => void>;
|
|
605
|
+
onRowAdding: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number, index: number, child: any) => boolean>;
|
|
606
|
+
onRowAdded: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => void>;
|
|
607
|
+
onRowsAdded: PropType<(provider: RealGrid.LocalTreeDataProvider, parent: number, rows: number[]) => void>;
|
|
608
|
+
onRowDeleting: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => boolean>;
|
|
609
|
+
onRowDeleted: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => void>;
|
|
610
|
+
onRowsDeleted: PropType<(provider: RealGrid.LocalTreeDataProvider, rows: number[]) => void>;
|
|
611
|
+
onRowUpdating: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => boolean>;
|
|
612
|
+
onRowUpdated: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => void>;
|
|
613
|
+
onRowsUpdating: PropType<(provider: RealGrid.LocalTreeDataProvider, rows: number[]) => boolean>;
|
|
614
|
+
onRowsUpdated: PropType<(provider: RealGrid.LocalTreeDataProvider, rows: number[]) => void>;
|
|
615
|
+
onValueChanged: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number, field: number) => void>;
|
|
616
|
+
onDataChanged: PropType<(provider: RealGrid.LocalTreeDataProvider) => void>;
|
|
617
|
+
onRowStateChanged: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number) => void>;
|
|
618
|
+
onRowStatesChanged: PropType<(provider: RealGrid.LocalTreeDataProvider, rows: number[]) => void>;
|
|
619
|
+
onRowSiblingMoving: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number, offset: number) => boolean>;
|
|
620
|
+
onRowSiblingMoved: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number, offset: number) => void>;
|
|
621
|
+
onRowsSiblingMoving: PropType<(provider: RealGrid.LocalTreeDataProvider, rows: number[], offset: number) => boolean>;
|
|
622
|
+
onRowsSiblingMoved: PropType<(provider: RealGrid.LocalTreeDataProvider, rows: number[], offset: number) => void>;
|
|
623
|
+
onRowParentChanging: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number, parent: number, index: number) => boolean>;
|
|
624
|
+
onRowParentChanged: PropType<(provider: RealGrid.LocalTreeDataProvider, row: number, parent: number, index: number) => void>;
|
|
625
|
+
}>>, {
|
|
626
|
+
needSorting: boolean;
|
|
627
|
+
}>;
|
|
628
|
+
|
|
629
|
+
export declare type RealTreeVue = Omit<InstanceType<typeof RealTreeVue>, Omits>;
|
|
630
|
+
|
|
631
|
+
export declare const RGCheckBar: DefineComponent<(string[] & IRealGridCheckBar) | (ComponentObjectPropsOptions<Data> & IRealGridCheckBar), {}, {}, {}, {
|
|
632
|
+
mountCB(grid: RealGrid.GridBase): void;
|
|
633
|
+
}, ComponentOptionsMixin, DefineComponent<(string[] & IComponentBase) | (ComponentObjectPropsOptions<Data> & IComponentBase), {}, {
|
|
634
|
+
$model: IModel | null;
|
|
635
|
+
$oldValue: any;
|
|
636
|
+
}, {}, {
|
|
637
|
+
mountCB(): void;
|
|
638
|
+
unmountCB(): void;
|
|
639
|
+
_doWatchAttrs(diff: RealGrid.ConfigObject): void;
|
|
640
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<string[] & IComponentBase> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IComponentBase>>, {
|
|
641
|
+
$model?: any;
|
|
642
|
+
} | {}>, {}, string, Readonly<ExtractPropTypes<string[] & IRealGridCheckBar> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IRealGridCheckBar>>, {
|
|
643
|
+
$model?: any;
|
|
644
|
+
} | {}>;
|
|
645
|
+
|
|
646
|
+
export declare type RGCheckBar = Omit<InstanceType<typeof RGCheckBar>, Omits>;
|
|
647
|
+
|
|
648
|
+
export declare const RGDataColumn: DefineComponent<(string[] & IRGDataColumn) | (ComponentObjectPropsOptions<Data> & IRGDataColumn), {}, {}, {}, {
|
|
649
|
+
mountCB(grid: RealGrid.GridBase): void;
|
|
650
|
+
unmountCB(grid: RealGrid.GridBase): void;
|
|
651
|
+
_doWatchAttrs(diff: ConfigObject): void;
|
|
652
|
+
}, ComponentOptionsMixin, DefineComponent<(string[] & IComponentBase) | (ComponentObjectPropsOptions<Data> & IComponentBase), {}, {
|
|
653
|
+
$model: IModel | null;
|
|
654
|
+
$oldValue: any;
|
|
655
|
+
}, {}, {
|
|
656
|
+
mountCB(): void;
|
|
657
|
+
unmountCB(): void;
|
|
658
|
+
_doWatchAttrs(diff: RealGrid.ConfigObject): void;
|
|
659
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<string[] & IComponentBase> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IComponentBase>>, {
|
|
660
|
+
$model?: any;
|
|
661
|
+
} | {}>, {}, string, Readonly<ExtractPropTypes<string[] & IRGDataColumn> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IRGDataColumn>>, {
|
|
662
|
+
$model?: any;
|
|
663
|
+
tag?: any;
|
|
664
|
+
defaultValue?: any;
|
|
665
|
+
} | {}>;
|
|
666
|
+
|
|
667
|
+
export declare type RGDataColumn = Omit<InstanceType<typeof RGDataColumn>, Omits>;
|
|
668
|
+
|
|
669
|
+
export declare const RGDataField: DefineComponent<(string[] & IRealGridDataField) | (ComponentObjectPropsOptions<Data> & IRealGridDataField), {}, {}, {}, {
|
|
670
|
+
mountCB(grid: RealGrid.GridBase): void;
|
|
671
|
+
unmountDB(grid: RealGrid.GridBase): void;
|
|
672
|
+
}, ComponentOptionsMixin, DefineComponent<(string[] & IComponentBase) | (ComponentObjectPropsOptions<Data> & IComponentBase), {}, {
|
|
673
|
+
$model: IModel | null;
|
|
674
|
+
$oldValue: any;
|
|
675
|
+
}, {}, {
|
|
676
|
+
mountCB(): void;
|
|
677
|
+
unmountCB(): void;
|
|
678
|
+
_doWatchAttrs(diff: RealGrid.ConfigObject): void;
|
|
679
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<string[] & IComponentBase> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IComponentBase>>, {
|
|
680
|
+
$model?: any;
|
|
681
|
+
} | {}>, {}, string, Readonly<ExtractPropTypes<string[] & IRealGridDataField> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IRealGridDataField>>, {
|
|
682
|
+
$model?: any;
|
|
683
|
+
defaultValue?: any;
|
|
684
|
+
nullValue?: any;
|
|
685
|
+
} | {}>;
|
|
686
|
+
|
|
687
|
+
export declare type RGDataField = Omit<InstanceType<typeof RGDataField>, Omits>;
|
|
688
|
+
|
|
689
|
+
export declare const RGFilterPanel: DefineComponent<(string[] & IRealGridFilterPanel) | (ComponentObjectPropsOptions<Data> & IRealGridFilterPanel), {}, {}, {}, {
|
|
690
|
+
mountCB(grid: RealGrid.GridBase): void;
|
|
691
|
+
}, ComponentOptionsMixin, DefineComponent<(string[] & IComponentBase) | (ComponentObjectPropsOptions<Data> & IComponentBase), {}, {
|
|
692
|
+
$model: IModel | null;
|
|
693
|
+
$oldValue: any;
|
|
694
|
+
}, {}, {
|
|
695
|
+
mountCB(): void;
|
|
696
|
+
unmountCB(): void;
|
|
697
|
+
_doWatchAttrs(diff: RealGrid.ConfigObject): void;
|
|
698
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<string[] & IComponentBase> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IComponentBase>>, {
|
|
699
|
+
$model?: any;
|
|
700
|
+
} | {}>, {}, string, Readonly<ExtractPropTypes<string[] & IRealGridFilterPanel> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IRealGridFilterPanel>>, {
|
|
701
|
+
$model?: any;
|
|
702
|
+
} | {}>;
|
|
703
|
+
|
|
704
|
+
export declare type RGFilterPanel = Omit<InstanceType<typeof RGFilterPanel>, Omits>;
|
|
705
|
+
|
|
706
|
+
export declare const RGFooter: DefineComponent<(string[] & IRealGridFooters) | (ComponentObjectPropsOptions<Data> & IRealGridFooters), {}, {}, {}, {
|
|
707
|
+
mountCB(grid: RealGrid.GridBase): void;
|
|
708
|
+
}, ComponentOptionsMixin, DefineComponent<(string[] & IComponentBase) | (ComponentObjectPropsOptions<Data> & IComponentBase), {}, {
|
|
709
|
+
$model: IModel | null;
|
|
710
|
+
$oldValue: any;
|
|
711
|
+
}, {}, {
|
|
712
|
+
mountCB(): void;
|
|
713
|
+
unmountCB(): void;
|
|
714
|
+
_doWatchAttrs(diff: RealGrid.ConfigObject): void;
|
|
715
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<string[] & IComponentBase> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IComponentBase>>, {
|
|
716
|
+
$model?: any;
|
|
717
|
+
} | {}>, {}, string, Readonly<ExtractPropTypes<string[] & IRealGridFooters> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IRealGridFooters>>, {
|
|
718
|
+
$model?: any;
|
|
719
|
+
} | {}>;
|
|
720
|
+
|
|
721
|
+
export declare type RGFooter = Omit<InstanceType<typeof RGFooter>, Omits>;
|
|
722
|
+
|
|
723
|
+
export declare const RGFooters: DefineComponent<(string[] & IRealGridFooter) | (ComponentObjectPropsOptions<Data> & IRealGridFooter), {}, {}, {}, {
|
|
724
|
+
mountCB(grid: RealGrid.GridBase): void;
|
|
725
|
+
}, ComponentOptionsMixin, DefineComponent<(string[] & IComponentBase) | (ComponentObjectPropsOptions<Data> & IComponentBase), {}, {
|
|
726
|
+
$model: IModel | null;
|
|
727
|
+
$oldValue: any;
|
|
728
|
+
}, {}, {
|
|
729
|
+
mountCB(): void;
|
|
730
|
+
unmountCB(): void;
|
|
731
|
+
_doWatchAttrs(diff: RealGrid.ConfigObject): void;
|
|
732
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<string[] & IComponentBase> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IComponentBase>>, {
|
|
733
|
+
$model?: any;
|
|
734
|
+
} | {}>, {}, string, Readonly<ExtractPropTypes<string[] & IRealGridFooter> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IRealGridFooter>>, {
|
|
735
|
+
value?: any;
|
|
736
|
+
$model?: any;
|
|
737
|
+
} | {}>;
|
|
738
|
+
|
|
739
|
+
export declare type RGFooters = Omit<InstanceType<typeof RGFooters>, Omits>;
|
|
740
|
+
|
|
741
|
+
export declare const RGGroupPanel: DefineComponent<(string[] & IRealGridGroupPanel) | (ComponentObjectPropsOptions<Data> & IRealGridGroupPanel), {}, {}, {}, {
|
|
742
|
+
mountCB(grid: RealGrid.GridView): void;
|
|
743
|
+
}, ComponentOptionsMixin, DefineComponent<(string[] & IComponentBase) | (ComponentObjectPropsOptions<Data> & IComponentBase), {}, {
|
|
744
|
+
$model: IModel | null;
|
|
745
|
+
$oldValue: any;
|
|
746
|
+
}, {}, {
|
|
747
|
+
mountCB(): void;
|
|
748
|
+
unmountCB(): void;
|
|
749
|
+
_doWatchAttrs(diff: RealGrid.ConfigObject): void;
|
|
750
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<string[] & IComponentBase> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IComponentBase>>, {
|
|
751
|
+
$model?: any;
|
|
752
|
+
} | {}>, {}, string, Readonly<ExtractPropTypes<string[] & IRealGridGroupPanel> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IRealGridGroupPanel>>, {
|
|
753
|
+
$model?: any;
|
|
754
|
+
} | {}>;
|
|
755
|
+
|
|
756
|
+
export declare type RGGroupPanel = Omit<InstanceType<typeof RGGroupPanel>, Omits>;
|
|
757
|
+
|
|
758
|
+
export declare const RGHeader: DefineComponent<(string[] & IRealGridHeader) | (ComponentObjectPropsOptions<Data> & IRealGridHeader), {}, {}, {}, {
|
|
759
|
+
mountCB(grid: RealGrid.GridBase): void;
|
|
760
|
+
}, ComponentOptionsMixin, DefineComponent<(string[] & IComponentBase) | (ComponentObjectPropsOptions<Data> & IComponentBase), {}, {
|
|
761
|
+
$model: IModel | null;
|
|
762
|
+
$oldValue: any;
|
|
763
|
+
}, {}, {
|
|
764
|
+
mountCB(): void;
|
|
765
|
+
unmountCB(): void;
|
|
766
|
+
_doWatchAttrs(diff: RealGrid.ConfigObject): void;
|
|
767
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<string[] & IComponentBase> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IComponentBase>>, {
|
|
768
|
+
$model?: any;
|
|
769
|
+
} | {}>, {}, string, Readonly<ExtractPropTypes<string[] & IRealGridHeader> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IRealGridHeader>>, {
|
|
770
|
+
$model?: any;
|
|
771
|
+
} | {}>;
|
|
772
|
+
|
|
773
|
+
export declare type RGHeader = Omit<InstanceType<typeof RGHeader>, Omits>;
|
|
774
|
+
|
|
775
|
+
export declare const RGHeaderSummaries: DefineComponent<(string[] & IRealGridheaderSummaries) | (ComponentObjectPropsOptions<Data> & IRealGridheaderSummaries), {}, {}, {}, {
|
|
776
|
+
mountCB(grid: RealGrid.GridBase): void;
|
|
777
|
+
}, ComponentOptionsMixin, DefineComponent<(string[] & IComponentBase) | (ComponentObjectPropsOptions<Data> & IComponentBase), {}, {
|
|
778
|
+
$model: IModel | null;
|
|
779
|
+
$oldValue: any;
|
|
780
|
+
}, {}, {
|
|
781
|
+
mountCB(): void;
|
|
782
|
+
unmountCB(): void;
|
|
783
|
+
_doWatchAttrs(diff: RealGrid.ConfigObject): void;
|
|
784
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<string[] & IComponentBase> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IComponentBase>>, {
|
|
785
|
+
$model?: any;
|
|
786
|
+
} | {}>, {}, string, Readonly<ExtractPropTypes<string[] & IRealGridheaderSummaries> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IRealGridheaderSummaries>>, {
|
|
787
|
+
$model?: any;
|
|
788
|
+
} | {}>;
|
|
789
|
+
|
|
790
|
+
export declare type RGHeaderSummaries = Omit<InstanceType<typeof RGHeaderSummaries>, Omits>;
|
|
791
|
+
|
|
792
|
+
export declare const RGHeaderSummary: DefineComponent<(string[] & IRealGridHeaderSummary) | (ComponentObjectPropsOptions<Data> & IRealGridHeaderSummary), {}, {}, {}, {
|
|
793
|
+
mountCB(grid: RealGrid.GridBase): void;
|
|
794
|
+
}, ComponentOptionsMixin, DefineComponent<(string[] & IComponentBase) | (ComponentObjectPropsOptions<Data> & IComponentBase), {}, {
|
|
795
|
+
$model: IModel | null;
|
|
796
|
+
$oldValue: any;
|
|
797
|
+
}, {}, {
|
|
798
|
+
mountCB(): void;
|
|
799
|
+
unmountCB(): void;
|
|
800
|
+
_doWatchAttrs(diff: RealGrid.ConfigObject): void;
|
|
801
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<string[] & IComponentBase> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IComponentBase>>, {
|
|
802
|
+
$model?: any;
|
|
803
|
+
} | {}>, {}, string, Readonly<ExtractPropTypes<string[] & IRealGridHeaderSummary> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IRealGridHeaderSummary>>, {
|
|
804
|
+
value?: any;
|
|
805
|
+
$model?: any;
|
|
806
|
+
} | {}>;
|
|
807
|
+
|
|
808
|
+
export declare type RGHeaderSummary = Omit<InstanceType<typeof RGHeaderSummary>, Omits>;
|
|
809
|
+
|
|
810
|
+
export declare const RGLiteralColumn: DefineComponent<(string[] & IRealGridLiteralColumn) | (ComponentObjectPropsOptions<Data> & IRealGridLiteralColumn), {}, {}, {}, {
|
|
811
|
+
mountCB(grid: RealGrid.GridBase): void;
|
|
812
|
+
unmountCB(grid: RealGrid.GridBase): void;
|
|
813
|
+
_doWatchAttrs(diff: ConfigObject): void;
|
|
814
|
+
}, ComponentOptionsMixin, DefineComponent<(string[] & IComponentBase) | (ComponentObjectPropsOptions<Data> & IComponentBase), {}, {
|
|
815
|
+
$model: IModel | null;
|
|
816
|
+
$oldValue: any;
|
|
817
|
+
}, {}, {
|
|
818
|
+
mountCB(): void;
|
|
819
|
+
unmountCB(): void;
|
|
820
|
+
_doWatchAttrs(diff: RealGrid.ConfigObject): void;
|
|
821
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<string[] & IComponentBase> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IComponentBase>>, {
|
|
822
|
+
$model?: any;
|
|
823
|
+
} | {}>, {}, string, Readonly<ExtractPropTypes<string[] & IRealGridLiteralColumn> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IRealGridLiteralColumn>>, {
|
|
824
|
+
$model?: any;
|
|
825
|
+
} | {}>;
|
|
826
|
+
|
|
827
|
+
export declare type RGLiteralColumn = Omit<InstanceType<typeof RGLiteralColumn>, Omits>;
|
|
828
|
+
|
|
829
|
+
export declare const RGRowIndicator: DefineComponent<(string[] & IRealGridRowIndicator) | (ComponentObjectPropsOptions<Data> & IRealGridRowIndicator), {}, {}, {}, {
|
|
830
|
+
mountCB(grid: RealGrid.GridBase): void;
|
|
831
|
+
}, ComponentOptionsMixin, DefineComponent<(string[] & IComponentBase) | (ComponentObjectPropsOptions<Data> & IComponentBase), {}, {
|
|
832
|
+
$model: IModel | null;
|
|
833
|
+
$oldValue: any;
|
|
834
|
+
}, {}, {
|
|
835
|
+
mountCB(): void;
|
|
836
|
+
unmountCB(): void;
|
|
837
|
+
_doWatchAttrs(diff: RealGrid.ConfigObject): void;
|
|
838
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<string[] & IComponentBase> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IComponentBase>>, {
|
|
839
|
+
$model?: any;
|
|
840
|
+
} | {}>, {}, string, Readonly<ExtractPropTypes<string[] & IRealGridRowIndicator> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IRealGridRowIndicator>>, {
|
|
841
|
+
$model?: any;
|
|
842
|
+
} | {}>;
|
|
843
|
+
|
|
844
|
+
export declare type RGRowIndicator = Omit<InstanceType<typeof RGRowIndicator>, Omits>;
|
|
845
|
+
|
|
846
|
+
export declare const RGSeriesColumn: DefineComponent<(string[] & IRealGridSeriesColumn) | (ComponentObjectPropsOptions<Data> & IRealGridSeriesColumn), {}, {}, {}, {
|
|
847
|
+
mountCB(grid: RealGrid.GridBase): void;
|
|
848
|
+
unmountCB(grid: RealGrid.GridBase): void;
|
|
849
|
+
_doWatchAttrs(diff: ConfigObject): void;
|
|
850
|
+
}, ComponentOptionsMixin, DefineComponent<(string[] & IComponentBase) | (ComponentObjectPropsOptions<Data> & IComponentBase), {}, {
|
|
851
|
+
$model: IModel | null;
|
|
852
|
+
$oldValue: any;
|
|
853
|
+
}, {}, {
|
|
854
|
+
mountCB(): void;
|
|
855
|
+
unmountCB(): void;
|
|
856
|
+
_doWatchAttrs(diff: RealGrid.ConfigObject): void;
|
|
857
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<string[] & IComponentBase> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IComponentBase>>, {
|
|
858
|
+
$model?: any;
|
|
859
|
+
} | {}>, {}, string, Readonly<ExtractPropTypes<string[] & IRealGridSeriesColumn> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IRealGridSeriesColumn>>, {
|
|
860
|
+
$model?: any;
|
|
861
|
+
} | {}>;
|
|
862
|
+
|
|
863
|
+
export declare type RGSeriesColumn = Omit<InstanceType<typeof RGSeriesColumn>, Omits>;
|
|
864
|
+
|
|
865
|
+
export declare const RGStateBar: DefineComponent<(string[] & IRealGridStateBar) | (ComponentObjectPropsOptions<Data> & IRealGridStateBar), {}, {}, {}, {
|
|
866
|
+
mountCB(grid: RealGrid.GridBase): void;
|
|
867
|
+
}, ComponentOptionsMixin, DefineComponent<(string[] & IComponentBase) | (ComponentObjectPropsOptions<Data> & IComponentBase), {}, {
|
|
868
|
+
$model: IModel | null;
|
|
869
|
+
$oldValue: any;
|
|
870
|
+
}, {}, {
|
|
871
|
+
mountCB(): void;
|
|
872
|
+
unmountCB(): void;
|
|
873
|
+
_doWatchAttrs(diff: RealGrid.ConfigObject): void;
|
|
874
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<string[] & IComponentBase> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IComponentBase>>, {
|
|
875
|
+
$model?: any;
|
|
876
|
+
} | {}>, {}, string, Readonly<ExtractPropTypes<string[] & IRealGridStateBar> | ExtractPropTypes<ComponentObjectPropsOptions<Data> & IRealGridStateBar>>, {
|
|
877
|
+
$model?: any;
|
|
878
|
+
} | {}>;
|
|
879
|
+
|
|
880
|
+
export declare type RGStateBar = Omit<InstanceType<typeof RGStateBar>, Omits>;
|
|
881
|
+
|
|
882
|
+
export { }
|