@revolist/vue3-datagrid 3.2.1 → 3.2.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/revogrid.d.ts +364 -0
- package/dist/vgrid.d.ts +110 -0
- package/dist/vue-component-lib/utils.d.ts +20 -0
- package/dist/vue-editor-adapter.d.ts +16 -0
- package/dist/vue-editor.d.ts +4 -0
- package/dist/vue-template.d.ts +6 -0
- package/package.json +1 -1
- package/tsconfig.json +1 -1
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
import type { JSX } from '@revolist/revogrid';
|
|
2
|
+
export declare const RevoGrid: import("vue").DefineComponent<JSX.RevoGrid & import("./vue-component-lib/utils").InputProps, object, {}, Record<string, import("@vue/reactivity").ComputedGetter<any> | import("vue").WritableComputedOptions<any>>, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {
|
|
3
|
+
rowHeaders?: boolean | import("@revolist/revogrid/dist/types/interfaces").RevoGrid.RowHeaders;
|
|
4
|
+
frameSize?: number;
|
|
5
|
+
rowSize?: number;
|
|
6
|
+
colSize?: number;
|
|
7
|
+
range?: boolean;
|
|
8
|
+
readonly?: boolean;
|
|
9
|
+
resize?: boolean;
|
|
10
|
+
canFocus?: boolean;
|
|
11
|
+
useClipboard?: boolean;
|
|
12
|
+
columns?: (import("@revolist/revogrid/dist/types/interfaces").RevoGrid.ColumnRegular | import("@revolist/revogrid/dist/types/interfaces").RevoGrid.ColumnGrouping)[];
|
|
13
|
+
source?: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.DataType[];
|
|
14
|
+
pinnedTopSource?: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.DataType[];
|
|
15
|
+
pinnedBottomSource?: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.DataType[];
|
|
16
|
+
rowDefinitions?: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.RowDefinition[];
|
|
17
|
+
editors?: import("@revolist/revogrid/dist/types/interfaces").Edition.EditorBase;
|
|
18
|
+
plugins?: import("@revolist/revogrid/dist/types/interfaces").RevoPlugin.Plugin;
|
|
19
|
+
columnTypes?: unknown;
|
|
20
|
+
theme?: import("@revolist/revogrid/dist/types/interfaces").ThemeSpace.Theme;
|
|
21
|
+
rowClass?: string;
|
|
22
|
+
autoSizeColumn?: boolean | import("@revolist/revogrid/dist/types/plugins/autoSizeColumn").AutoSizeColumnConfig;
|
|
23
|
+
filter?: boolean | import("@revolist/revogrid/dist/types/plugins/filter/filter.plugin").ColumnFilterConfig;
|
|
24
|
+
canMoveColumns?: boolean;
|
|
25
|
+
trimmedRows?: unknown;
|
|
26
|
+
exporting?: boolean;
|
|
27
|
+
grouping?: import("@revolist/revogrid/dist/types/plugins/groupingRow/grouping.row.types").GroupingOptions;
|
|
28
|
+
stretch?: string | boolean;
|
|
29
|
+
toString?: string;
|
|
30
|
+
toLocaleString?: string;
|
|
31
|
+
modelValue?: string | boolean;
|
|
32
|
+
constructor?: Function;
|
|
33
|
+
valueOf?: unknown;
|
|
34
|
+
hasOwnProperty?: (v: string | number | symbol) => boolean;
|
|
35
|
+
isPrototypeOf?: (v: Object) => boolean;
|
|
36
|
+
propertyIsEnumerable?: (v: string | number | symbol) => boolean;
|
|
37
|
+
onAftercolumnresize?: (event: CustomEvent<Record<string | number, import("@revolist/revogrid/dist/types/interfaces").RevoGrid.ColumnRegular>>) => void;
|
|
38
|
+
onAftercolumnsset?: (event: CustomEvent<{
|
|
39
|
+
columns: import("@revolist/revogrid/dist/types/services/column.data.provider").ColumnCollection;
|
|
40
|
+
order: Record<string | number, "asc" | "desc">;
|
|
41
|
+
}>) => void;
|
|
42
|
+
onAfteredit?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").Edition.BeforeSaveDataDetails | import("@revolist/revogrid/dist/types/interfaces").Edition.BeforeRangeSaveDataDetails>) => void;
|
|
43
|
+
onAftersourceset?: (event: CustomEvent<{
|
|
44
|
+
type: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.DimensionRows;
|
|
45
|
+
source: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.DataType[];
|
|
46
|
+
}>) => void;
|
|
47
|
+
onAftertrimmed?: (event: CustomEvent<any>) => void;
|
|
48
|
+
onBeforeaange?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").Selection.ChangedRange>) => void;
|
|
49
|
+
onBeforeautofill?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").Selection.ChangedRange>) => void;
|
|
50
|
+
onBeforecellfocus?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").Edition.BeforeSaveDataDetails>) => void;
|
|
51
|
+
onBeforecolumnapplied?: (event: CustomEvent<import("@revolist/revogrid/dist/types/services/column.data.provider").ColumnCollection>) => void;
|
|
52
|
+
onBeforecolumnsset?: (event: CustomEvent<import("@revolist/revogrid/dist/types/services/column.data.provider").ColumnCollection>) => void;
|
|
53
|
+
onBeforeedit?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").Edition.BeforeSaveDataDetails>) => void;
|
|
54
|
+
onBeforeeditstart?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").Edition.BeforeSaveDataDetails>) => void;
|
|
55
|
+
onBeforeexport?: (event: CustomEvent<import("@revolist/revogrid/dist/types/plugins/export/types").DataInput>) => void;
|
|
56
|
+
onBeforefilterapply?: (event: CustomEvent<{
|
|
57
|
+
collection: Record<string | number, {
|
|
58
|
+
filter: import("@revolist/revogrid/dist/types/plugins/filter/filter.types").LogicFunction;
|
|
59
|
+
type: "none" | "empty" | "notEmpty" | "eq" | "notEq" | "begins" | "contains" | "notContains" | "eqN" | "neqN" | "gt" | "gte" | "lt" | "lte";
|
|
60
|
+
value?: any;
|
|
61
|
+
}>;
|
|
62
|
+
}>) => void;
|
|
63
|
+
onBeforefiltertrimmed?: (event: CustomEvent<{
|
|
64
|
+
collection: Record<string | number, {
|
|
65
|
+
filter: import("@revolist/revogrid/dist/types/plugins/filter/filter.types").LogicFunction;
|
|
66
|
+
type: "none" | "empty" | "notEmpty" | "eq" | "notEq" | "begins" | "contains" | "notContains" | "eqN" | "neqN" | "gt" | "gte" | "lt" | "lte";
|
|
67
|
+
value?: any;
|
|
68
|
+
}>;
|
|
69
|
+
itemsToFilter: Record<number, boolean>;
|
|
70
|
+
}>) => void;
|
|
71
|
+
onBeforefocuslost?: (event: CustomEvent<import("@revolist/revogrid/dist/types/components/revo-grid/viewport.service").FocusedData>) => void;
|
|
72
|
+
onBeforerangeedit?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").Edition.BeforeRangeSaveDataDetails>) => void;
|
|
73
|
+
onBeforesorting?: (event: CustomEvent<{
|
|
74
|
+
column: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.ColumnRegular;
|
|
75
|
+
order: "asc" | "desc";
|
|
76
|
+
additive: boolean;
|
|
77
|
+
}>) => void;
|
|
78
|
+
onBeforesortingapply?: (event: CustomEvent<{
|
|
79
|
+
column: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.ColumnRegular;
|
|
80
|
+
order: "asc" | "desc";
|
|
81
|
+
additive: boolean;
|
|
82
|
+
}>) => void;
|
|
83
|
+
onBeforesourceset?: (event: CustomEvent<{
|
|
84
|
+
type: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.DimensionRows;
|
|
85
|
+
source: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.DataType[];
|
|
86
|
+
}>) => void;
|
|
87
|
+
onBeforesourcesortingapply?: (event: CustomEvent<any>) => void;
|
|
88
|
+
onBeforetrimmed?: (event: CustomEvent<{
|
|
89
|
+
trimmed: Record<number, boolean>;
|
|
90
|
+
trimmedType: string;
|
|
91
|
+
type: string;
|
|
92
|
+
}>) => void;
|
|
93
|
+
onHeaderclick?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").RevoGrid.ColumnRegular>) => void;
|
|
94
|
+
onRowdragstart?: (event: CustomEvent<{
|
|
95
|
+
pos: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.PositionItem;
|
|
96
|
+
text: string;
|
|
97
|
+
}>) => void;
|
|
98
|
+
onRoworderchanged?: (event: CustomEvent<{
|
|
99
|
+
from: number;
|
|
100
|
+
to: number;
|
|
101
|
+
}>) => void;
|
|
102
|
+
onViewportscroll?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").RevoGrid.ViewPortScrollEvent>) => void;
|
|
103
|
+
}>, {}>;
|
|
104
|
+
export declare const RevogrClipboard: import("vue").DefineComponent<JSX.RevogrClipboard & import("./vue-component-lib/utils").InputProps, object, {}, Record<string, import("@vue/reactivity").ComputedGetter<any> | import("vue").WritableComputedOptions<any>>, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {
|
|
105
|
+
toString?: string;
|
|
106
|
+
toLocaleString?: string;
|
|
107
|
+
modelValue?: string | boolean;
|
|
108
|
+
constructor?: Function;
|
|
109
|
+
valueOf?: unknown;
|
|
110
|
+
hasOwnProperty?: (v: string | number | symbol) => boolean;
|
|
111
|
+
isPrototypeOf?: (v: Object) => boolean;
|
|
112
|
+
propertyIsEnumerable?: (v: string | number | symbol) => boolean;
|
|
113
|
+
onCopyRegion?: (event: CustomEvent<DataTransfer>) => void;
|
|
114
|
+
onPasteRegion?: (event: CustomEvent<string[][]>) => void;
|
|
115
|
+
}>, {}>;
|
|
116
|
+
export declare const RevogrData: import("vue").DefineComponent<JSX.RevogrData & import("./vue-component-lib/utils").InputProps, object, {}, Record<string, import("@vue/reactivity").ComputedGetter<any> | import("vue").WritableComputedOptions<any>>, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
117
|
+
rowSelectionStore: any;
|
|
118
|
+
viewportRow: any;
|
|
119
|
+
viewportCol: any;
|
|
120
|
+
dimensionRow: any;
|
|
121
|
+
colData: any;
|
|
122
|
+
dataStore: any;
|
|
123
|
+
} & {
|
|
124
|
+
range?: boolean;
|
|
125
|
+
readonly?: boolean;
|
|
126
|
+
rowClass?: string;
|
|
127
|
+
toString?: string;
|
|
128
|
+
toLocaleString?: string;
|
|
129
|
+
modelValue?: string | boolean;
|
|
130
|
+
constructor?: Function;
|
|
131
|
+
valueOf?: unknown;
|
|
132
|
+
hasOwnProperty?: (v: string | number | symbol) => boolean;
|
|
133
|
+
isPrototypeOf?: (v: Object) => boolean;
|
|
134
|
+
propertyIsEnumerable?: (v: string | number | symbol) => boolean;
|
|
135
|
+
canDrag?: boolean;
|
|
136
|
+
onDragStartCell?: (event: CustomEvent<MouseEvent>) => void;
|
|
137
|
+
}>, {
|
|
138
|
+
rowSelectionStore: any;
|
|
139
|
+
viewportRow: any;
|
|
140
|
+
viewportCol: any;
|
|
141
|
+
dimensionRow: any;
|
|
142
|
+
colData: any;
|
|
143
|
+
dataStore: any;
|
|
144
|
+
}>;
|
|
145
|
+
export declare const RevogrEdit: import("vue").DefineComponent<JSX.RevogrEdit & import("./vue-component-lib/utils").InputProps, object, {}, Record<string, import("@vue/reactivity").ComputedGetter<any> | import("vue").WritableComputedOptions<any>>, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {
|
|
146
|
+
toString?: string;
|
|
147
|
+
toLocaleString?: string;
|
|
148
|
+
modelValue?: string | boolean;
|
|
149
|
+
constructor?: Function;
|
|
150
|
+
valueOf?: unknown;
|
|
151
|
+
hasOwnProperty?: (v: string | number | symbol) => boolean;
|
|
152
|
+
isPrototypeOf?: (v: Object) => boolean;
|
|
153
|
+
propertyIsEnumerable?: (v: string | number | symbol) => boolean;
|
|
154
|
+
editCell?: import("@revolist/revogrid/dist/types/interfaces").Edition.EditCell;
|
|
155
|
+
column?: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.ColumnRegular;
|
|
156
|
+
editor?: import("@revolist/revogrid/dist/types/interfaces").Edition.EditorBase;
|
|
157
|
+
onCellEdit?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").Edition.SaveDataDetails>) => void;
|
|
158
|
+
onCloseEdit?: (event: CustomEvent<boolean>) => void;
|
|
159
|
+
}>, {}>;
|
|
160
|
+
export declare const RevogrFilterPanel: import("vue").DefineComponent<JSX.RevogrFilterPanel & import("./vue-component-lib/utils").InputProps, object, {}, Record<string, import("@vue/reactivity").ComputedGetter<any> | import("vue").WritableComputedOptions<any>>, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {
|
|
161
|
+
toString?: string;
|
|
162
|
+
toLocaleString?: string;
|
|
163
|
+
modelValue?: string | boolean;
|
|
164
|
+
constructor?: Function;
|
|
165
|
+
valueOf?: unknown;
|
|
166
|
+
hasOwnProperty?: (v: string | number | symbol) => boolean;
|
|
167
|
+
isPrototypeOf?: (v: Object) => boolean;
|
|
168
|
+
propertyIsEnumerable?: (v: string | number | symbol) => boolean;
|
|
169
|
+
uuid?: string;
|
|
170
|
+
filterItems?: unknown;
|
|
171
|
+
filterTypes?: unknown;
|
|
172
|
+
filterNames?: unknown;
|
|
173
|
+
filterEntities?: boolean;
|
|
174
|
+
filterCaptions?: import("@revolist/revogrid/dist/types/plugins/filter/filter.plugin").FilterCaptions;
|
|
175
|
+
disableDynamicFiltering?: boolean;
|
|
176
|
+
onFilterChange?: (event: CustomEvent<import("@revolist/revogrid/dist/types/plugins/filter/filter.pop").MultiFilterItem>) => void;
|
|
177
|
+
}>, {}>;
|
|
178
|
+
export declare const RevogrFocus: import("vue").DefineComponent<JSX.RevogrFocus & import("./vue-component-lib/utils").InputProps, object, {}, Record<string, import("@vue/reactivity").ComputedGetter<any> | import("vue").WritableComputedOptions<any>>, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
179
|
+
dimensionRow: any;
|
|
180
|
+
selectionStore: any;
|
|
181
|
+
dimensionCol: any;
|
|
182
|
+
} & {
|
|
183
|
+
toString?: string;
|
|
184
|
+
toLocaleString?: string;
|
|
185
|
+
modelValue?: string | boolean;
|
|
186
|
+
constructor?: Function;
|
|
187
|
+
valueOf?: unknown;
|
|
188
|
+
hasOwnProperty?: (v: string | number | symbol) => boolean;
|
|
189
|
+
isPrototypeOf?: (v: Object) => boolean;
|
|
190
|
+
propertyIsEnumerable?: (v: string | number | symbol) => boolean;
|
|
191
|
+
}>, {
|
|
192
|
+
dimensionRow: any;
|
|
193
|
+
selectionStore: any;
|
|
194
|
+
dimensionCol: any;
|
|
195
|
+
}>;
|
|
196
|
+
export declare const RevogrHeader: import("vue").DefineComponent<JSX.RevogrHeader & import("./vue-component-lib/utils").InputProps, object, {}, Record<string, import("@vue/reactivity").ComputedGetter<any> | import("vue").WritableComputedOptions<any>>, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
197
|
+
viewportCol: any;
|
|
198
|
+
selectionStore: any;
|
|
199
|
+
dimensionCol: any;
|
|
200
|
+
} & {
|
|
201
|
+
toString?: string;
|
|
202
|
+
toLocaleString?: string;
|
|
203
|
+
modelValue?: string | boolean;
|
|
204
|
+
constructor?: Function;
|
|
205
|
+
valueOf?: unknown;
|
|
206
|
+
hasOwnProperty?: (v: string | number | symbol) => boolean;
|
|
207
|
+
isPrototypeOf?: (v: Object) => boolean;
|
|
208
|
+
propertyIsEnumerable?: (v: string | number | symbol) => boolean;
|
|
209
|
+
colData?: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.ColumnRegular[];
|
|
210
|
+
parent?: string;
|
|
211
|
+
groups?: unknown;
|
|
212
|
+
groupingDepth?: number;
|
|
213
|
+
canResize?: boolean;
|
|
214
|
+
columnFilter?: boolean;
|
|
215
|
+
onHeaderdblClick?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").RevoGrid.InitialHeaderClick>) => void;
|
|
216
|
+
onHeaderresize?: (event: CustomEvent<Record<string, number>>) => void;
|
|
217
|
+
onInitialHeaderClick?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").RevoGrid.InitialHeaderClick>) => void;
|
|
218
|
+
}>, {
|
|
219
|
+
viewportCol: any;
|
|
220
|
+
selectionStore: any;
|
|
221
|
+
dimensionCol: any;
|
|
222
|
+
}>;
|
|
223
|
+
export declare const RevogrOrderEditor: import("vue").DefineComponent<JSX.RevogrOrderEditor & import("./vue-component-lib/utils").InputProps, object, {}, Record<string, import("@vue/reactivity").ComputedGetter<any> | import("vue").WritableComputedOptions<any>>, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
224
|
+
dimensionRow: any;
|
|
225
|
+
dataStore: any;
|
|
226
|
+
dimensionCol: any;
|
|
227
|
+
} & {
|
|
228
|
+
toString?: string;
|
|
229
|
+
toLocaleString?: string;
|
|
230
|
+
modelValue?: string | boolean;
|
|
231
|
+
constructor?: Function;
|
|
232
|
+
valueOf?: unknown;
|
|
233
|
+
hasOwnProperty?: (v: string | number | symbol) => boolean;
|
|
234
|
+
isPrototypeOf?: (v: Object) => boolean;
|
|
235
|
+
propertyIsEnumerable?: (v: string | number | symbol) => boolean;
|
|
236
|
+
parent?: HTMLElement;
|
|
237
|
+
onInitialRowDropped?: (event: CustomEvent<{
|
|
238
|
+
from: number;
|
|
239
|
+
to: number;
|
|
240
|
+
}>) => void;
|
|
241
|
+
onInternalRowDrag?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").RevoGrid.PositionItem>) => void;
|
|
242
|
+
onInternalRowDragEnd?: (event: CustomEvent<any>) => void;
|
|
243
|
+
onInternalRowDragStart?: (event: CustomEvent<{
|
|
244
|
+
cell: import("@revolist/revogrid/dist/types/interfaces").Selection.Cell;
|
|
245
|
+
text: string;
|
|
246
|
+
pos: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.PositionItem;
|
|
247
|
+
event: MouseEvent;
|
|
248
|
+
}>) => void;
|
|
249
|
+
onInternalRowMouseMove?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").Selection.Cell>) => void;
|
|
250
|
+
}>, {
|
|
251
|
+
dimensionRow: any;
|
|
252
|
+
dataStore: any;
|
|
253
|
+
dimensionCol: any;
|
|
254
|
+
}>;
|
|
255
|
+
export declare const RevogrOverlaySelection: import("vue").DefineComponent<JSX.RevogrOverlaySelection & import("./vue-component-lib/utils").InputProps, object, {}, Record<string, import("@vue/reactivity").ComputedGetter<any> | import("vue").WritableComputedOptions<any>>, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
256
|
+
dimensionRow: any;
|
|
257
|
+
colData: any;
|
|
258
|
+
dataStore: any;
|
|
259
|
+
selectionStore: any;
|
|
260
|
+
dimensionCol: any;
|
|
261
|
+
} & {
|
|
262
|
+
range?: boolean;
|
|
263
|
+
readonly?: boolean;
|
|
264
|
+
useClipboard?: boolean;
|
|
265
|
+
editors?: import("@revolist/revogrid/dist/types/interfaces").Edition.EditorBase;
|
|
266
|
+
toString?: string;
|
|
267
|
+
toLocaleString?: string;
|
|
268
|
+
modelValue?: string | boolean;
|
|
269
|
+
constructor?: Function;
|
|
270
|
+
valueOf?: unknown;
|
|
271
|
+
hasOwnProperty?: (v: string | number | symbol) => boolean;
|
|
272
|
+
isPrototypeOf?: (v: Object) => boolean;
|
|
273
|
+
propertyIsEnumerable?: (v: string | number | symbol) => boolean;
|
|
274
|
+
canDrag?: boolean;
|
|
275
|
+
lastCell?: import("@revolist/revogrid/dist/types/interfaces").Selection.Cell;
|
|
276
|
+
onFocusCell?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").Selection.FocusedCells>) => void;
|
|
277
|
+
onInternalCellEdit?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").Edition.BeforeSaveDataDetails>) => void;
|
|
278
|
+
onInternalCopy?: (event: CustomEvent<any>) => void;
|
|
279
|
+
onInternalFocusCell?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").Edition.BeforeSaveDataDetails>) => void;
|
|
280
|
+
onInternalPaste?: (event: CustomEvent<any>) => void;
|
|
281
|
+
onInternalRangeDataApply?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").Edition.BeforeRangeSaveDataDetails>) => void;
|
|
282
|
+
onInternalSelectionChanged?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").Selection.ChangedRange>) => void;
|
|
283
|
+
onSetEdit?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").Edition.BeforeEdit>) => void;
|
|
284
|
+
onSetRange?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").Selection.RangeArea>) => void;
|
|
285
|
+
onSetTempRange?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").Selection.TempRange>) => void;
|
|
286
|
+
}>, {
|
|
287
|
+
dimensionRow: any;
|
|
288
|
+
colData: any;
|
|
289
|
+
dataStore: any;
|
|
290
|
+
selectionStore: any;
|
|
291
|
+
dimensionCol: any;
|
|
292
|
+
}>;
|
|
293
|
+
export declare const RevogrRowHeaders: import("vue").DefineComponent<JSX.RevogrRowHeaders & import("./vue-component-lib/utils").InputProps, object, {}, Record<string, import("@vue/reactivity").ComputedGetter<any> | import("vue").WritableComputedOptions<any>>, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {
|
|
294
|
+
resize?: boolean;
|
|
295
|
+
toString?: string;
|
|
296
|
+
toLocaleString?: string;
|
|
297
|
+
modelValue?: string | boolean;
|
|
298
|
+
constructor?: Function;
|
|
299
|
+
valueOf?: unknown;
|
|
300
|
+
hasOwnProperty?: (v: string | number | symbol) => boolean;
|
|
301
|
+
isPrototypeOf?: (v: Object) => boolean;
|
|
302
|
+
propertyIsEnumerable?: (v: string | number | symbol) => boolean;
|
|
303
|
+
height?: number;
|
|
304
|
+
dataPorts?: import("@revolist/revogrid/dist/types/components/revo-grid/viewport.interfaces").ViewportData[];
|
|
305
|
+
headerProp?: unknown;
|
|
306
|
+
uiid?: string;
|
|
307
|
+
rowHeaderColumn?: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.RowHeaders;
|
|
308
|
+
onElementToScroll?: (event: CustomEvent<import("@revolist/revogrid/dist/types/components/revo-grid/viewport.scrolling.service").ElementScroll>) => void;
|
|
309
|
+
onScrollViewport?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").RevoGrid.ViewPortScrollEvent>) => void;
|
|
310
|
+
}>, {}>;
|
|
311
|
+
export declare const RevogrScrollVirtual: import("vue").DefineComponent<JSX.RevogrScrollVirtual & import("./vue-component-lib/utils").InputProps, object, {}, Record<string, import("@vue/reactivity").ComputedGetter<any> | import("vue").WritableComputedOptions<any>>, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
312
|
+
viewportStore: any;
|
|
313
|
+
dimensionStore: any;
|
|
314
|
+
} & {
|
|
315
|
+
toString?: string;
|
|
316
|
+
toLocaleString?: string;
|
|
317
|
+
modelValue?: string | boolean;
|
|
318
|
+
constructor?: Function;
|
|
319
|
+
valueOf?: unknown;
|
|
320
|
+
hasOwnProperty?: (v: string | number | symbol) => boolean;
|
|
321
|
+
isPrototypeOf?: (v: Object) => boolean;
|
|
322
|
+
propertyIsEnumerable?: (v: string | number | symbol) => boolean;
|
|
323
|
+
dimension?: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.DimensionType;
|
|
324
|
+
onScrollVirtual?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").RevoGrid.ViewPortScrollEvent>) => void;
|
|
325
|
+
}>, {
|
|
326
|
+
viewportStore: any;
|
|
327
|
+
dimensionStore: any;
|
|
328
|
+
}>;
|
|
329
|
+
export declare const RevogrTempRange: import("vue").DefineComponent<JSX.RevogrTempRange & import("./vue-component-lib/utils").InputProps, object, {}, Record<string, import("@vue/reactivity").ComputedGetter<any> | import("vue").WritableComputedOptions<any>>, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
330
|
+
dimensionRow: any;
|
|
331
|
+
selectionStore: any;
|
|
332
|
+
dimensionCol: any;
|
|
333
|
+
} & {
|
|
334
|
+
toString?: string;
|
|
335
|
+
toLocaleString?: string;
|
|
336
|
+
modelValue?: string | boolean;
|
|
337
|
+
constructor?: Function;
|
|
338
|
+
valueOf?: unknown;
|
|
339
|
+
hasOwnProperty?: (v: string | number | symbol) => boolean;
|
|
340
|
+
isPrototypeOf?: (v: Object) => boolean;
|
|
341
|
+
propertyIsEnumerable?: (v: string | number | symbol) => boolean;
|
|
342
|
+
}>, {
|
|
343
|
+
dimensionRow: any;
|
|
344
|
+
selectionStore: any;
|
|
345
|
+
dimensionCol: any;
|
|
346
|
+
}>;
|
|
347
|
+
export declare const RevogrViewportScroll: import("vue").DefineComponent<JSX.RevogrViewportScroll & import("./vue-component-lib/utils").InputProps, object, {}, Record<string, import("@vue/reactivity").ComputedGetter<any> | import("vue").WritableComputedOptions<any>>, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {
|
|
348
|
+
toString?: string;
|
|
349
|
+
toLocaleString?: string;
|
|
350
|
+
modelValue?: string | boolean;
|
|
351
|
+
constructor?: Function;
|
|
352
|
+
valueOf?: unknown;
|
|
353
|
+
hasOwnProperty?: (v: string | number | symbol) => boolean;
|
|
354
|
+
isPrototypeOf?: (v: Object) => boolean;
|
|
355
|
+
propertyIsEnumerable?: (v: string | number | symbol) => boolean;
|
|
356
|
+
onScrollViewport?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").RevoGrid.ViewPortScrollEvent>) => void;
|
|
357
|
+
contentWidth?: number;
|
|
358
|
+
contentHeight?: number;
|
|
359
|
+
onResizeViewport?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").RevoGrid.ViewPortResizeEvent>) => void;
|
|
360
|
+
onScrollchange?: (event: CustomEvent<{
|
|
361
|
+
type: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.DimensionType;
|
|
362
|
+
hasScroll: boolean;
|
|
363
|
+
}>) => void;
|
|
364
|
+
}>, {}>;
|
package/dist/vgrid.d.ts
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { App } from "vue";
|
|
2
|
+
export declare const VGrid: import("vue").DefineComponent<import("@revolist/revogrid/dist/types/components").JSX.RevoGrid & import("./vue-component-lib/utils").InputProps, object, {}, Record<string, import("@vue/reactivity").ComputedGetter<any> | import("vue").WritableComputedOptions<any>>, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {
|
|
3
|
+
rowHeaders?: boolean | import("@revolist/revogrid/dist/types/interfaces").RevoGrid.RowHeaders;
|
|
4
|
+
frameSize?: number;
|
|
5
|
+
rowSize?: number;
|
|
6
|
+
colSize?: number;
|
|
7
|
+
range?: boolean;
|
|
8
|
+
readonly?: boolean;
|
|
9
|
+
resize?: boolean;
|
|
10
|
+
canFocus?: boolean;
|
|
11
|
+
useClipboard?: boolean;
|
|
12
|
+
columns?: (import("@revolist/revogrid/dist/types/interfaces").RevoGrid.ColumnRegular | import("@revolist/revogrid/dist/types/interfaces").RevoGrid.ColumnGrouping)[];
|
|
13
|
+
source?: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.DataType[];
|
|
14
|
+
pinnedTopSource?: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.DataType[];
|
|
15
|
+
pinnedBottomSource?: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.DataType[];
|
|
16
|
+
rowDefinitions?: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.RowDefinition[];
|
|
17
|
+
editors?: import("@revolist/revogrid/dist/types/interfaces").Edition.EditorBase;
|
|
18
|
+
plugins?: import("@revolist/revogrid/dist/types/interfaces").RevoPlugin.Plugin;
|
|
19
|
+
columnTypes?: unknown;
|
|
20
|
+
theme?: import("@revolist/revogrid/dist/types/interfaces").ThemeSpace.Theme;
|
|
21
|
+
rowClass?: string;
|
|
22
|
+
autoSizeColumn?: boolean | import("@revolist/revogrid/dist/types/plugins/autoSizeColumn").AutoSizeColumnConfig;
|
|
23
|
+
filter?: boolean | import("@revolist/revogrid/dist/types/plugins/filter/filter.plugin").ColumnFilterConfig;
|
|
24
|
+
canMoveColumns?: boolean;
|
|
25
|
+
trimmedRows?: unknown;
|
|
26
|
+
exporting?: boolean;
|
|
27
|
+
grouping?: import("@revolist/revogrid/dist/types/plugins/groupingRow/grouping.row.types").GroupingOptions;
|
|
28
|
+
stretch?: string | boolean;
|
|
29
|
+
toString?: string;
|
|
30
|
+
toLocaleString?: string;
|
|
31
|
+
modelValue?: string | boolean;
|
|
32
|
+
constructor?: Function;
|
|
33
|
+
valueOf?: unknown;
|
|
34
|
+
hasOwnProperty?: (v: string | number | symbol) => boolean;
|
|
35
|
+
isPrototypeOf?: (v: Object) => boolean;
|
|
36
|
+
propertyIsEnumerable?: (v: string | number | symbol) => boolean;
|
|
37
|
+
onAftercolumnresize?: (event: CustomEvent<Record<string | number, import("@revolist/revogrid/dist/types/interfaces").RevoGrid.ColumnRegular>>) => void;
|
|
38
|
+
onAftercolumnsset?: (event: CustomEvent<{
|
|
39
|
+
columns: import("@revolist/revogrid/dist/types/services/column.data.provider").ColumnCollection;
|
|
40
|
+
order: Record<string | number, "asc" | "desc">;
|
|
41
|
+
}>) => void;
|
|
42
|
+
onAfteredit?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").Edition.BeforeSaveDataDetails | import("@revolist/revogrid/dist/types/interfaces").Edition.BeforeRangeSaveDataDetails>) => void;
|
|
43
|
+
onAftersourceset?: (event: CustomEvent<{
|
|
44
|
+
type: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.DimensionRows;
|
|
45
|
+
source: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.DataType[];
|
|
46
|
+
}>) => void;
|
|
47
|
+
onAftertrimmed?: (event: CustomEvent<any>) => void;
|
|
48
|
+
onBeforeaange?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").Selection.ChangedRange>) => void;
|
|
49
|
+
onBeforeautofill?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").Selection.ChangedRange>) => void;
|
|
50
|
+
onBeforecellfocus?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").Edition.BeforeSaveDataDetails>) => void;
|
|
51
|
+
onBeforecolumnapplied?: (event: CustomEvent<import("@revolist/revogrid/dist/types/services/column.data.provider").ColumnCollection>) => void;
|
|
52
|
+
onBeforecolumnsset?: (event: CustomEvent<import("@revolist/revogrid/dist/types/services/column.data.provider").ColumnCollection>) => void;
|
|
53
|
+
onBeforeedit?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").Edition.BeforeSaveDataDetails>) => void;
|
|
54
|
+
onBeforeeditstart?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").Edition.BeforeSaveDataDetails>) => void;
|
|
55
|
+
onBeforeexport?: (event: CustomEvent<import("@revolist/revogrid/dist/types/plugins/export/types").DataInput>) => void;
|
|
56
|
+
onBeforefilterapply?: (event: CustomEvent<{
|
|
57
|
+
collection: Record<string | number, {
|
|
58
|
+
filter: import("@revolist/revogrid/dist/types/plugins/filter/filter.types").LogicFunction;
|
|
59
|
+
type: "none" | "empty" | "notEmpty" | "eq" | "notEq" | "begins" | "contains" | "notContains" | "eqN" | "neqN" | "gt" | "gte" | "lt" | "lte";
|
|
60
|
+
value?: any;
|
|
61
|
+
}>;
|
|
62
|
+
}>) => void;
|
|
63
|
+
onBeforefiltertrimmed?: (event: CustomEvent<{
|
|
64
|
+
collection: Record<string | number, {
|
|
65
|
+
filter: import("@revolist/revogrid/dist/types/plugins/filter/filter.types").LogicFunction;
|
|
66
|
+
type: "none" | "empty" | "notEmpty" | "eq" | "notEq" | "begins" | "contains" | "notContains" | "eqN" | "neqN" | "gt" | "gte" | "lt" | "lte";
|
|
67
|
+
value?: any;
|
|
68
|
+
}>;
|
|
69
|
+
itemsToFilter: Record<number, boolean>;
|
|
70
|
+
}>) => void;
|
|
71
|
+
onBeforefocuslost?: (event: CustomEvent<import("@revolist/revogrid/dist/types/components/revo-grid/viewport.service").FocusedData>) => void;
|
|
72
|
+
onBeforerangeedit?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").Edition.BeforeRangeSaveDataDetails>) => void;
|
|
73
|
+
onBeforesorting?: (event: CustomEvent<{
|
|
74
|
+
column: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.ColumnRegular;
|
|
75
|
+
order: "asc" | "desc";
|
|
76
|
+
additive: boolean;
|
|
77
|
+
}>) => void;
|
|
78
|
+
onBeforesortingapply?: (event: CustomEvent<{
|
|
79
|
+
column: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.ColumnRegular;
|
|
80
|
+
order: "asc" | "desc";
|
|
81
|
+
additive: boolean;
|
|
82
|
+
}>) => void;
|
|
83
|
+
onBeforesourceset?: (event: CustomEvent<{
|
|
84
|
+
type: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.DimensionRows;
|
|
85
|
+
source: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.DataType[];
|
|
86
|
+
}>) => void;
|
|
87
|
+
onBeforesourcesortingapply?: (event: CustomEvent<any>) => void;
|
|
88
|
+
onBeforetrimmed?: (event: CustomEvent<{
|
|
89
|
+
trimmed: Record<number, boolean>;
|
|
90
|
+
trimmedType: string;
|
|
91
|
+
type: string;
|
|
92
|
+
}>) => void;
|
|
93
|
+
onHeaderclick?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").RevoGrid.ColumnRegular>) => void;
|
|
94
|
+
onRowdragstart?: (event: CustomEvent<{
|
|
95
|
+
pos: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.PositionItem;
|
|
96
|
+
text: string;
|
|
97
|
+
}>) => void;
|
|
98
|
+
onRoworderchanged?: (event: CustomEvent<{
|
|
99
|
+
from: number;
|
|
100
|
+
to: number;
|
|
101
|
+
}>) => void;
|
|
102
|
+
onViewportscroll?: (event: CustomEvent<import("@revolist/revogrid/dist/types/interfaces").RevoGrid.ViewPortScrollEvent>) => void;
|
|
103
|
+
}>, {}>;
|
|
104
|
+
export declare const VGridPlugin: {
|
|
105
|
+
install(app: App): void;
|
|
106
|
+
};
|
|
107
|
+
export declare const VGridVueTemplate: (vueConstructor: any) => (h: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.HyperFunc<import("@revolist/revogrid/dist/types/stencil-public-runtime").VNode>, p: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.ColumnDataSchemaModel) => JSX.Element;
|
|
108
|
+
export declare const VGridVueTemplateConstructor: (vueConstructor: import("vue").DefineComponent<{}, {}, {}, Record<string, import("@vue/reactivity").ComputedGetter<any> | import("vue").WritableComputedOptions<any>>, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {}>, {}>, e: HTMLElement, p: Record<string, any>) => any;
|
|
109
|
+
export declare const VGridVueEditor: (vueConstructor: any) => (column: import("@revolist/revogrid/dist/types/interfaces").RevoGrid.ColumnDataSchemaModel, save: Function, close: Function) => import("./vue-editor-adapter").default;
|
|
110
|
+
export default VGrid;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface InputProps extends Object {
|
|
2
|
+
modelValue: string | boolean;
|
|
3
|
+
}
|
|
4
|
+
interface ComponentOptions {
|
|
5
|
+
modelProp?: string;
|
|
6
|
+
modelUpdateEvent?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Create a callback to define a Vue component wrapper around a Web Component.
|
|
10
|
+
*
|
|
11
|
+
* @prop name - The component tag name (i.e. `ion-button`)
|
|
12
|
+
* @prop componentProps - An array of properties on the
|
|
13
|
+
* component. These usually match up with the @Prop definitions
|
|
14
|
+
* in each component's TSX file.
|
|
15
|
+
* @prop componentOptions - An object that defines additional
|
|
16
|
+
* options for the component such as router or v-model
|
|
17
|
+
* integrations.
|
|
18
|
+
*/
|
|
19
|
+
export declare const defineContainer: <Props>(name: string, componentProps?: string[], componentOptions?: ComponentOptions) => import("vue").DefineComponent<Props & InputProps, object, {}, Record<string, import("@vue/reactivity").ComputedGetter<any> | import("vue").WritableComputedOptions<any>>, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Props & InputProps>>, import("vue").ExtractDefaultPropTypes<Props & InputProps>>;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Edition, RevoGrid } from '@revolist/revogrid/dist/types/interfaces';
|
|
2
|
+
import { VNode } from '@revolist/revogrid/dist/types/stencil-public-runtime';
|
|
3
|
+
import { DefineComponent } from 'vue';
|
|
4
|
+
export default class VueEditorAdapter {
|
|
5
|
+
private VueEditorConstructor;
|
|
6
|
+
column: RevoGrid.ColumnDataSchemaModel;
|
|
7
|
+
private save;
|
|
8
|
+
private close;
|
|
9
|
+
element: Element | null;
|
|
10
|
+
editCell: Edition.EditCell | null;
|
|
11
|
+
private vueEl;
|
|
12
|
+
constructor(VueEditorConstructor: DefineComponent, column: RevoGrid.ColumnDataSchemaModel, save: Function, close: Function);
|
|
13
|
+
componentDidRender(): void;
|
|
14
|
+
disconnectedCallback(): void;
|
|
15
|
+
render(h: RevoGrid.HyperFunc<VNode>): JSX.Element;
|
|
16
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { RevoGrid } from "@revolist/revogrid/dist/types/interfaces";
|
|
2
|
+
import VueEditorAdapter from './vue-editor-adapter';
|
|
3
|
+
declare const vueEditor: (vueConstructor: any) => (column: RevoGrid.ColumnDataSchemaModel, save: Function, close: Function) => VueEditorAdapter;
|
|
4
|
+
export default vueEditor;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { RevoGrid } from '@revolist/revogrid/dist/types/interfaces';
|
|
2
|
+
import { VNode } from '@revolist/revogrid/dist/types/stencil-public-runtime';
|
|
3
|
+
import { DefineComponent } from 'vue';
|
|
4
|
+
export declare const vueTemplateConstructor: (vueConstructor: DefineComponent, e: HTMLElement | null, p: Record<string, any>) => any;
|
|
5
|
+
declare const vueTemplate: (vueConstructor: any) => (h: RevoGrid.HyperFunc<VNode>, p: RevoGrid.ColumnDataSchemaModel) => JSX.Element;
|
|
6
|
+
export default vueTemplate;
|
package/package.json
CHANGED