overgrid-vue 1.10.2 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +68 -18
- package/dist/overgrid.es.js +3274 -3253
- package/dist/overgrid.umd.js +31 -31
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -41,6 +41,10 @@ export declare const OverGrid: {
|
|
|
41
41
|
columnFilters: OverGridUseColumnFiltersInterface;
|
|
42
42
|
search: OverGridUseSearchInterface;
|
|
43
43
|
};
|
|
44
|
+
orderApi: OverGridUseOrderingInterface;
|
|
45
|
+
columnFiltersApi: OverGridUseColumnFiltersInterface;
|
|
46
|
+
searchApi: OverGridUseSearchInterface;
|
|
47
|
+
paginationApi: OverGridUsePaginationInterface;
|
|
44
48
|
refresh: () => Promise<void>;
|
|
45
49
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
46
50
|
operationsDropdown: ({
|
|
@@ -169,6 +173,10 @@ export declare const OverGrid: {
|
|
|
169
173
|
columnFilters: OverGridUseColumnFiltersInterface;
|
|
170
174
|
search: OverGridUseSearchInterface;
|
|
171
175
|
};
|
|
176
|
+
orderApi: OverGridUseOrderingInterface;
|
|
177
|
+
columnFiltersApi: OverGridUseColumnFiltersInterface;
|
|
178
|
+
searchApi: OverGridUseSearchInterface;
|
|
179
|
+
paginationApi: OverGridUsePaginationInterface;
|
|
172
180
|
refresh: () => Promise<void>;
|
|
173
181
|
}, {}, {}, {}, {}>;
|
|
174
182
|
__isFragment?: never;
|
|
@@ -192,29 +200,70 @@ autoRefresh: OverGridUseAutoRefreshInterface;
|
|
|
192
200
|
columnFilters: OverGridUseColumnFiltersInterface;
|
|
193
201
|
search: OverGridUseSearchInterface;
|
|
194
202
|
};
|
|
203
|
+
orderApi: OverGridUseOrderingInterface;
|
|
204
|
+
columnFiltersApi: OverGridUseColumnFiltersInterface;
|
|
205
|
+
searchApi: OverGridUseSearchInterface;
|
|
206
|
+
paginationApi: OverGridUsePaginationInterface;
|
|
195
207
|
refresh: () => Promise<void>;
|
|
196
208
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
197
|
-
$slots: {
|
|
198
|
-
search
|
|
199
|
-
config:
|
|
200
|
-
searchApi:
|
|
201
|
-
})
|
|
202
|
-
|
|
203
|
-
|
|
209
|
+
$slots: Readonly<{
|
|
210
|
+
search: (props: {
|
|
211
|
+
config: any;
|
|
212
|
+
searchApi: any;
|
|
213
|
+
}) => any;
|
|
214
|
+
toolbarSpacer: (props: {
|
|
215
|
+
config: any;
|
|
216
|
+
paginationApi: any;
|
|
217
|
+
orderApi: any;
|
|
218
|
+
columnFiltersApi: any;
|
|
219
|
+
searchApi: any;
|
|
220
|
+
}) => any;
|
|
221
|
+
cellHeader: (props: {
|
|
222
|
+
titleField: any;
|
|
223
|
+
orderActive: boolean | undefined;
|
|
224
|
+
orderable: boolean | undefined;
|
|
225
|
+
orderApi: any;
|
|
226
|
+
orderConfig: any;
|
|
227
|
+
columnFiltersApi: any;
|
|
228
|
+
columnFiltersActive: boolean | undefined;
|
|
229
|
+
}) => any;
|
|
230
|
+
extraRow: (props: {
|
|
231
|
+
record: any;
|
|
232
|
+
extraSlotParams: any;
|
|
233
|
+
}) => any;
|
|
234
|
+
emptyResult: () => any;
|
|
235
|
+
pagination: (props: {
|
|
236
|
+
paginationApi: any;
|
|
237
|
+
}) => any;
|
|
238
|
+
}> & {
|
|
239
|
+
search: (props: {
|
|
240
|
+
config: any;
|
|
241
|
+
searchApi: any;
|
|
242
|
+
}) => any;
|
|
243
|
+
toolbarSpacer: (props: {
|
|
244
|
+
config: any;
|
|
245
|
+
paginationApi: any;
|
|
246
|
+
orderApi: any;
|
|
247
|
+
columnFiltersApi: any;
|
|
248
|
+
searchApi: any;
|
|
249
|
+
}) => any;
|
|
250
|
+
cellHeader: (props: {
|
|
251
|
+
titleField: any;
|
|
204
252
|
orderActive: boolean | undefined;
|
|
205
253
|
orderable: boolean | undefined;
|
|
206
|
-
orderApi:
|
|
207
|
-
orderConfig:
|
|
208
|
-
columnFiltersApi:
|
|
209
|
-
|
|
210
|
-
|
|
254
|
+
orderApi: any;
|
|
255
|
+
orderConfig: any;
|
|
256
|
+
columnFiltersApi: any;
|
|
257
|
+
columnFiltersActive: boolean | undefined;
|
|
258
|
+
}) => any;
|
|
259
|
+
extraRow: (props: {
|
|
211
260
|
record: any;
|
|
212
|
-
extraSlotParams:
|
|
213
|
-
})
|
|
214
|
-
emptyResult
|
|
215
|
-
pagination
|
|
216
|
-
paginationApi:
|
|
217
|
-
})
|
|
261
|
+
extraSlotParams: any;
|
|
262
|
+
}) => any;
|
|
263
|
+
emptyResult: () => any;
|
|
264
|
+
pagination: (props: {
|
|
265
|
+
paginationApi: any;
|
|
266
|
+
}) => any;
|
|
218
267
|
};
|
|
219
268
|
});
|
|
220
269
|
|
|
@@ -865,6 +914,7 @@ export declare interface OverGridUseOrderingInterface {
|
|
|
865
914
|
removeOrder: (field: OverGridField) => void;
|
|
866
915
|
toggleField: (field: OverGridField) => void;
|
|
867
916
|
getFieldOrderDirection: (field: OverGridField) => string | undefined;
|
|
917
|
+
resetOrders: () => void;
|
|
868
918
|
rawState: Ref<{
|
|
869
919
|
key: string;
|
|
870
920
|
direction: string;
|