vuetable-next 1.0.2 → 1.0.4
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/auto-imports.d.ts +52 -0
- package/demo/vue2/index.ts +6 -0
- package/demo/vue2/index.vue +17 -0
- package/demo/vue3/index.ts +4 -0
- package/demo/vue3/index.vue +12 -0
- package/dist/vuetable-next.d.ts +679 -0
- package/dist/vuetable-next.js +1308 -1313
- package/dist/vuetable-next.js.map +1 -1
- package/dist/vuetable-next.umd.cjs +16 -16
- package/dist/vuetable-next.umd.cjs.map +1 -1
- package/index.html +2 -77
- package/package.json +10 -3
- package/src/components/Vuetable.vue +17 -8
- package/src/components/VuetableFieldCheckbox.vue +4 -4
- package/src/components/VuetablePagination.vue +1 -1
- package/src/components/VuetablePaginationDropdown.vue +1 -1
- package/src/components/VuetablePaginationMixin.vue +2 -2
- package/src/components/VuetableRowHeader.vue +22 -16
- package/src/index.ts +13 -15
- package/src/main.ts +3 -1
- package/tsconfig.json +7 -1
- package/vite.config.ts +27 -4
- package/dist/vite.svg +0 -1
|
@@ -0,0 +1,679 @@
|
|
|
1
|
+
import { App } from 'vue-demi';
|
|
2
|
+
import { AxiosResponse } from 'axios';
|
|
3
|
+
import { ComponentOptionsMixin } from 'vue-demi';
|
|
4
|
+
import { ComponentProvideOptions } from 'vue-demi';
|
|
5
|
+
import { ComponentPublicInstance } from 'vue-demi';
|
|
6
|
+
import { ComputedRef } from 'vue-demi';
|
|
7
|
+
import { DefineComponent } from 'vue-demi';
|
|
8
|
+
import { ExtractPropTypes } from 'vue-demi';
|
|
9
|
+
import { PublicProps } from 'vue-demi';
|
|
10
|
+
import { Ref } from 'vue-demi';
|
|
11
|
+
|
|
12
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
declare function camelCase(str: string, delimiter?: string): string;
|
|
19
|
+
|
|
20
|
+
declare function changePage(page: string | number): void;
|
|
21
|
+
|
|
22
|
+
declare function checkIfRowIdentifierExists(): boolean;
|
|
23
|
+
|
|
24
|
+
declare function clearSelectedValues(): void;
|
|
25
|
+
|
|
26
|
+
declare function clearSortOrder(): void;
|
|
27
|
+
|
|
28
|
+
declare function currentSortOrderPosition(field: Field_2): number;
|
|
29
|
+
|
|
30
|
+
declare interface Data {
|
|
31
|
+
tablePagination: TablePagination | null;
|
|
32
|
+
customCss: Record<string, any>;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
declare interface Data_2 {
|
|
36
|
+
eventPrefix: string;
|
|
37
|
+
tablePagination: TablePagination_2 | null;
|
|
38
|
+
customCss: Record<string, any>;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<Props, {
|
|
42
|
+
apiUrl: string;
|
|
43
|
+
isApiMode: ComputedRef<boolean>;
|
|
44
|
+
tableFields: Ref< {
|
|
45
|
+
[x: string]: unknown;
|
|
46
|
+
name: string | DefineComponent;
|
|
47
|
+
sortField: string;
|
|
48
|
+
title: string | ((str?: any) => string);
|
|
49
|
+
titleClass: string;
|
|
50
|
+
dataClass: string;
|
|
51
|
+
formatter: <T>(...args: any[]) => T;
|
|
52
|
+
visible: boolean;
|
|
53
|
+
width: string;
|
|
54
|
+
$_index: number;
|
|
55
|
+
}[], Field[] | {
|
|
56
|
+
[x: string]: unknown;
|
|
57
|
+
name: string | DefineComponent;
|
|
58
|
+
sortField: string;
|
|
59
|
+
title: string | ((str?: any) => string);
|
|
60
|
+
titleClass: string;
|
|
61
|
+
dataClass: string;
|
|
62
|
+
formatter: <T>(...args: any[]) => T;
|
|
63
|
+
visible: boolean;
|
|
64
|
+
width: string;
|
|
65
|
+
$_index: number;
|
|
66
|
+
}[]>;
|
|
67
|
+
tableData: Ref<any[], any[]>;
|
|
68
|
+
tablePagination: Ref< {
|
|
69
|
+
total: number;
|
|
70
|
+
per_page: number;
|
|
71
|
+
from: number;
|
|
72
|
+
to: number;
|
|
73
|
+
last_page: number;
|
|
74
|
+
current_page: number;
|
|
75
|
+
first_page: number;
|
|
76
|
+
}, Pagination | {
|
|
77
|
+
total: number;
|
|
78
|
+
per_page: number;
|
|
79
|
+
from: number;
|
|
80
|
+
to: number;
|
|
81
|
+
last_page: number;
|
|
82
|
+
current_page: number;
|
|
83
|
+
first_page: number;
|
|
84
|
+
}>;
|
|
85
|
+
fieldPrefix: string;
|
|
86
|
+
countVisibleFields: ComputedRef<number>;
|
|
87
|
+
dataIsAvailable: ComputedRef<boolean>;
|
|
88
|
+
countTableData: ComputedRef<number>;
|
|
89
|
+
displayEmptyDataRow: ComputedRef<boolean>;
|
|
90
|
+
useDetailRow: ComputedRef<boolean>;
|
|
91
|
+
hasRowIdentifier: ComputedRef<boolean>;
|
|
92
|
+
lessThanMinRows: ComputedRef<boolean>;
|
|
93
|
+
blankRows: ComputedRef<number>;
|
|
94
|
+
scrollVisible: Ref<boolean, boolean>;
|
|
95
|
+
scrollBarWidth: Ref<string, string>;
|
|
96
|
+
trackBy: string;
|
|
97
|
+
showSortIcons: boolean;
|
|
98
|
+
instanceFetch: Ref<Promise<AxiosResponse<any, any>>, Promise<AxiosResponse<any, any>>>;
|
|
99
|
+
isFieldSlot: typeof isFieldSlot;
|
|
100
|
+
onHeaderEvent: typeof onHeaderEvent;
|
|
101
|
+
setData: typeof setData;
|
|
102
|
+
getFieldTitle: typeof getFieldTitle;
|
|
103
|
+
orderBy: typeof orderBy;
|
|
104
|
+
camelCase: typeof camelCase;
|
|
105
|
+
clearSortOrder: typeof clearSortOrder;
|
|
106
|
+
toggleDetailRow: typeof toggleDetailRow;
|
|
107
|
+
clearSelectedValues: typeof clearSelectedValues;
|
|
108
|
+
showField: typeof showField;
|
|
109
|
+
hideField: typeof hideField;
|
|
110
|
+
toggleField: typeof toggleField;
|
|
111
|
+
onCheckboxToggled: typeof onCheckboxToggled;
|
|
112
|
+
onCheckboxToggledAll: typeof onCheckboxToggledAll;
|
|
113
|
+
checkIfRowIdentifierExists: typeof checkIfRowIdentifierExists;
|
|
114
|
+
changePage: typeof changePage;
|
|
115
|
+
resetData: typeof resetData;
|
|
116
|
+
refresh: typeof refresh;
|
|
117
|
+
isFieldComponent: typeof isFieldComponent;
|
|
118
|
+
makeTitle: typeof makeTitle;
|
|
119
|
+
getAllQueryParams: typeof getAllQueryParams;
|
|
120
|
+
isSortable: typeof isSortable;
|
|
121
|
+
getDefaultSortParam: typeof getDefaultSortParam;
|
|
122
|
+
getObjectValue: typeof getObjectValue;
|
|
123
|
+
isSelectedRow: typeof isSelectedRow;
|
|
124
|
+
loadData: typeof loadData;
|
|
125
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
126
|
+
"vuetable:load-error": (response?: AxiosResponse<any, any>) => any;
|
|
127
|
+
"vuetable:load-success": (response?: AxiosResponse<any, any>) => any;
|
|
128
|
+
"vuetable:loaded": () => any;
|
|
129
|
+
"vuetable:loading": () => any;
|
|
130
|
+
"vuetable:scrollbar-visible": (visible: boolean) => any;
|
|
131
|
+
"vuetable:pagination-data": (tablePagination: Pagination) => any;
|
|
132
|
+
"vuetable:row-clicked": (args: {
|
|
133
|
+
data: any;
|
|
134
|
+
index: number;
|
|
135
|
+
event: Event;
|
|
136
|
+
}) => any;
|
|
137
|
+
"vuetable:row-dblclicked": (args: {
|
|
138
|
+
data: any;
|
|
139
|
+
index: number;
|
|
140
|
+
event: Event;
|
|
141
|
+
}) => any;
|
|
142
|
+
"vuetable:detail-row-clicked": (args: {
|
|
143
|
+
data: any;
|
|
144
|
+
index: number;
|
|
145
|
+
event: Event;
|
|
146
|
+
}) => any;
|
|
147
|
+
"vuetable:cell-clicked": (args: {
|
|
148
|
+
data: any;
|
|
149
|
+
index: number;
|
|
150
|
+
field: Field;
|
|
151
|
+
event: Event;
|
|
152
|
+
}) => any;
|
|
153
|
+
"vuetable:cell-dblclicked": (args: {
|
|
154
|
+
data: any;
|
|
155
|
+
index: number;
|
|
156
|
+
field: Field;
|
|
157
|
+
event: Event;
|
|
158
|
+
}) => any;
|
|
159
|
+
"vuetable:cell-rightclicked": (args: {
|
|
160
|
+
data: any;
|
|
161
|
+
index: number;
|
|
162
|
+
field: Field;
|
|
163
|
+
event: Event;
|
|
164
|
+
}) => any;
|
|
165
|
+
"vuetable:row-mouseover": (args: {
|
|
166
|
+
data: any;
|
|
167
|
+
index: number;
|
|
168
|
+
event: Event;
|
|
169
|
+
}) => any;
|
|
170
|
+
"vuetable:field-event": (type: string, payload: any, app?: ComponentPublicInstance) => any;
|
|
171
|
+
"vuetable:header-event": (type: string, payload: any, app?: ComponentPublicInstance) => any;
|
|
172
|
+
"vuetable:checkbox-toggled": (isChecked: boolean, fieldName: string) => any;
|
|
173
|
+
"vuetable:checkbox-toggled-all": (isChecked: boolean) => any;
|
|
174
|
+
"vuetable:data-reset": () => any;
|
|
175
|
+
"vuetable:initialized": (tableFields: Field[]) => any;
|
|
176
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
177
|
+
"onVuetable:load-error"?: (response?: AxiosResponse<any, any>) => any;
|
|
178
|
+
"onVuetable:load-success"?: (response?: AxiosResponse<any, any>) => any;
|
|
179
|
+
"onVuetable:loaded"?: () => any;
|
|
180
|
+
"onVuetable:loading"?: () => any;
|
|
181
|
+
"onVuetable:scrollbar-visible"?: (visible: boolean) => any;
|
|
182
|
+
"onVuetable:pagination-data"?: (tablePagination: Pagination) => any;
|
|
183
|
+
"onVuetable:row-clicked"?: (args: {
|
|
184
|
+
data: any;
|
|
185
|
+
index: number;
|
|
186
|
+
event: Event;
|
|
187
|
+
}) => any;
|
|
188
|
+
"onVuetable:row-dblclicked"?: (args: {
|
|
189
|
+
data: any;
|
|
190
|
+
index: number;
|
|
191
|
+
event: Event;
|
|
192
|
+
}) => any;
|
|
193
|
+
"onVuetable:detail-row-clicked"?: (args: {
|
|
194
|
+
data: any;
|
|
195
|
+
index: number;
|
|
196
|
+
event: Event;
|
|
197
|
+
}) => any;
|
|
198
|
+
"onVuetable:cell-clicked"?: (args: {
|
|
199
|
+
data: any;
|
|
200
|
+
index: number;
|
|
201
|
+
field: Field;
|
|
202
|
+
event: Event;
|
|
203
|
+
}) => any;
|
|
204
|
+
"onVuetable:cell-dblclicked"?: (args: {
|
|
205
|
+
data: any;
|
|
206
|
+
index: number;
|
|
207
|
+
field: Field;
|
|
208
|
+
event: Event;
|
|
209
|
+
}) => any;
|
|
210
|
+
"onVuetable:cell-rightclicked"?: (args: {
|
|
211
|
+
data: any;
|
|
212
|
+
index: number;
|
|
213
|
+
field: Field;
|
|
214
|
+
event: Event;
|
|
215
|
+
}) => any;
|
|
216
|
+
"onVuetable:row-mouseover"?: (args: {
|
|
217
|
+
data: any;
|
|
218
|
+
index: number;
|
|
219
|
+
event: Event;
|
|
220
|
+
}) => any;
|
|
221
|
+
"onVuetable:field-event"?: (type: string, payload: any, app?: ComponentPublicInstance) => any;
|
|
222
|
+
"onVuetable:header-event"?: (type: string, payload: any, app?: ComponentPublicInstance) => any;
|
|
223
|
+
"onVuetable:checkbox-toggled"?: (isChecked: boolean, fieldName: string) => any;
|
|
224
|
+
"onVuetable:checkbox-toggled-all"?: (isChecked: boolean) => any;
|
|
225
|
+
"onVuetable:data-reset"?: () => any;
|
|
226
|
+
"onVuetable:initialized"?: (tableFields: Field[]) => any;
|
|
227
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, Readonly<Record<string, any>> & Record<string, any>>;
|
|
228
|
+
export { _default as Vuetable }
|
|
229
|
+
export default _default;
|
|
230
|
+
|
|
231
|
+
declare interface Field {
|
|
232
|
+
name: string | DefineComponent;
|
|
233
|
+
sortField: string | null;
|
|
234
|
+
title: string | ((str?: any) => string);
|
|
235
|
+
titleClass: string;
|
|
236
|
+
dataClass: string;
|
|
237
|
+
formatter: (<T>(...args: any[]) => T) | null;
|
|
238
|
+
visible: boolean;
|
|
239
|
+
width: string | null;
|
|
240
|
+
$_index: number;
|
|
241
|
+
[key: string]: unknown;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
declare interface Field_2 {
|
|
245
|
+
name: string | DefineComponent;
|
|
246
|
+
sortField: string | null;
|
|
247
|
+
title: string | ((str?: any) => string);
|
|
248
|
+
titleClass: string;
|
|
249
|
+
dataClass: string;
|
|
250
|
+
formatter: (<T>(...args: any[]) => T) | null;
|
|
251
|
+
visible: boolean;
|
|
252
|
+
width: string | null;
|
|
253
|
+
$_index: number;
|
|
254
|
+
[key: string]: unknown;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
declare function fieldIsInSortOrderPosition(field: Field_2, index: number): boolean;
|
|
258
|
+
|
|
259
|
+
declare function getAllQueryParams(): Record<string, string | number>;
|
|
260
|
+
|
|
261
|
+
declare function getDefaultSortParam(): string;
|
|
262
|
+
|
|
263
|
+
declare function getFieldTitle(field: Field): string;
|
|
264
|
+
|
|
265
|
+
declare function getObjectValue(object: any, path: string | DefineComponent, defaultValue?: any): any;
|
|
266
|
+
|
|
267
|
+
declare function hasSortableIcon(field: Field_2): boolean;
|
|
268
|
+
|
|
269
|
+
declare function hideField(index: number): void;
|
|
270
|
+
|
|
271
|
+
export declare function install(Vue: App): void;
|
|
272
|
+
|
|
273
|
+
declare function isFieldComponent(fieldName: any): boolean;
|
|
274
|
+
|
|
275
|
+
declare function isFieldSlot(fieldName: string | DefineComponent): boolean;
|
|
276
|
+
|
|
277
|
+
declare function isInCurrentSortGroup(field: Field_2): boolean;
|
|
278
|
+
|
|
279
|
+
declare function isSelectedRow(key: string): boolean;
|
|
280
|
+
|
|
281
|
+
declare function isSortable(field: Field): boolean;
|
|
282
|
+
|
|
283
|
+
declare function loadData(success?: typeof loadSuccess, failed?: typeof loadFailed): Promise<void>;
|
|
284
|
+
|
|
285
|
+
declare function loadFailed(response?: AxiosResponse): void;
|
|
286
|
+
|
|
287
|
+
declare function loadPage(page: string | number): void;
|
|
288
|
+
|
|
289
|
+
declare function loadPage_2(page: string | number): void;
|
|
290
|
+
|
|
291
|
+
declare function loadSuccess(response: AxiosResponse): void;
|
|
292
|
+
|
|
293
|
+
declare function makeTitle(str: string | DefineComponent): string;
|
|
294
|
+
|
|
295
|
+
declare function onCheckboxToggled(isChecked: boolean, fieldName: string, dataItem: any): void;
|
|
296
|
+
|
|
297
|
+
declare function onCheckboxToggledAll(isChecked: boolean): void;
|
|
298
|
+
|
|
299
|
+
declare function onHeaderEvent(type: string, payload: any): void;
|
|
300
|
+
|
|
301
|
+
declare function orderBy(field: Field, event: Event & {
|
|
302
|
+
[key: string]: string;
|
|
303
|
+
}): void;
|
|
304
|
+
|
|
305
|
+
declare interface Pagination {
|
|
306
|
+
total: number;
|
|
307
|
+
per_page: number;
|
|
308
|
+
from: number;
|
|
309
|
+
to: number;
|
|
310
|
+
last_page: number;
|
|
311
|
+
current_page: number;
|
|
312
|
+
first_page: number;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
declare interface Props {
|
|
316
|
+
fields: any[];
|
|
317
|
+
loadOnStart?: boolean;
|
|
318
|
+
apiUrl?: string;
|
|
319
|
+
httpMethod?: "get" | "post";
|
|
320
|
+
reactiveApiUrl?: boolean;
|
|
321
|
+
apiMode?: boolean;
|
|
322
|
+
data?: any | null;
|
|
323
|
+
dataManager?: ((sortOrder: SortOrder[], pagination: {
|
|
324
|
+
[key: string]: any;
|
|
325
|
+
}) => any[]) | null;
|
|
326
|
+
dataPath?: string;
|
|
327
|
+
paginationPath?: string;
|
|
328
|
+
queryParams?: {
|
|
329
|
+
[key: string]: string | number;
|
|
330
|
+
} | ((sortOrder: SortOrder[] | string, currentPage: number, perPage: number) => {
|
|
331
|
+
[key: string]: string | number;
|
|
332
|
+
} | string | number);
|
|
333
|
+
appendParams?: {
|
|
334
|
+
[key: string]: string | number;
|
|
335
|
+
};
|
|
336
|
+
httpOptions?: Record<string, unknown>;
|
|
337
|
+
httpFetch?: ((apiUrl: string, httpOptions: Record<string, unknown>) => AxiosResponse) | null;
|
|
338
|
+
perPage?: number;
|
|
339
|
+
initialPage?: number; /** Page that should be displayed when the table is first displayed */
|
|
340
|
+
firstPage?: number; /** First page number. Set this prop to 0 for zero based pagination */
|
|
341
|
+
sortOrder?: SortOrder[];
|
|
342
|
+
multiSort?: boolean;
|
|
343
|
+
tableHeight?: string | null;
|
|
344
|
+
multiSortKey?: "alt" | "ctrl" | "meta" | "shift";
|
|
345
|
+
rowClass?: string | ((...args: any[]) => string | string[] | {
|
|
346
|
+
[key: string]: boolean;
|
|
347
|
+
});
|
|
348
|
+
detailRowComponent?: string | {
|
|
349
|
+
[key: string]: any;
|
|
350
|
+
};
|
|
351
|
+
detailRowTransition?: string;
|
|
352
|
+
detailRowClass?: string | ((...args: any[]) => any);
|
|
353
|
+
detailRowOptions?: {
|
|
354
|
+
[key: string]: any;
|
|
355
|
+
};
|
|
356
|
+
trackBy?: string;
|
|
357
|
+
css?: {
|
|
358
|
+
[key: string]: any;
|
|
359
|
+
};
|
|
360
|
+
minRows?: number;
|
|
361
|
+
silent?: boolean;
|
|
362
|
+
noDataTemplate?: string;
|
|
363
|
+
showSortIcons?: boolean;
|
|
364
|
+
headerRows?: string[];
|
|
365
|
+
transform?: ((response: AxiosResponse) => any) | null;
|
|
366
|
+
sortParams?: ((sortOrder: SortOrder[]) => string) | null;
|
|
367
|
+
fieldPrefix?: string;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
declare interface Props_2 {
|
|
371
|
+
css: {
|
|
372
|
+
[key: string]: string;
|
|
373
|
+
};
|
|
374
|
+
pageText?: string;
|
|
375
|
+
onEachSide: number;
|
|
376
|
+
firstPage: number;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
declare function refresh(): Promise<void>;
|
|
380
|
+
|
|
381
|
+
declare function resetData(): void;
|
|
382
|
+
|
|
383
|
+
declare function setData(data: any | null): void;
|
|
384
|
+
|
|
385
|
+
declare function showField(index: number): void;
|
|
386
|
+
|
|
387
|
+
declare type SortOrder = {
|
|
388
|
+
field: string;
|
|
389
|
+
sortField: string;
|
|
390
|
+
direction: "asc" | "desc";
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
declare function stripPrefix(name: string): string;
|
|
394
|
+
|
|
395
|
+
declare interface TablePagination {
|
|
396
|
+
from: number;
|
|
397
|
+
to: number;
|
|
398
|
+
total: number;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
declare interface TablePagination_2 {
|
|
402
|
+
current_page: number;
|
|
403
|
+
last_page: number;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
declare function toggleDetailRow(rowId: string): void;
|
|
407
|
+
|
|
408
|
+
declare function toggleField(index: number): void;
|
|
409
|
+
|
|
410
|
+
export declare const VuetableColGutter: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
411
|
+
|
|
412
|
+
export declare const VuetableFieldCheckbox: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
413
|
+
|
|
414
|
+
export declare const VuetableFieldCheckboxMixin: DefineComponent< {}, {}, {}, {}, {
|
|
415
|
+
toggleCheckbox(dataItem: any, event: Event & {
|
|
416
|
+
target: {
|
|
417
|
+
checked: boolean;
|
|
418
|
+
};
|
|
419
|
+
}): void;
|
|
420
|
+
toggleAllCheckbox(event: Event & {
|
|
421
|
+
target: {
|
|
422
|
+
checked: boolean;
|
|
423
|
+
};
|
|
424
|
+
}): void;
|
|
425
|
+
isSelected(rowData: any): any;
|
|
426
|
+
isAllItemsInCurrentPageSelected(): boolean;
|
|
427
|
+
}, DefineComponent<ExtractPropTypes< {
|
|
428
|
+
rowData: {
|
|
429
|
+
type: ObjectConstructor;
|
|
430
|
+
default: any;
|
|
431
|
+
};
|
|
432
|
+
rowIndex: {
|
|
433
|
+
type: NumberConstructor;
|
|
434
|
+
};
|
|
435
|
+
rowField: {
|
|
436
|
+
type: ObjectConstructor;
|
|
437
|
+
};
|
|
438
|
+
isHeader: {
|
|
439
|
+
type: BooleanConstructor;
|
|
440
|
+
default: boolean;
|
|
441
|
+
};
|
|
442
|
+
title: {
|
|
443
|
+
type: StringConstructor;
|
|
444
|
+
default: string;
|
|
445
|
+
};
|
|
446
|
+
vuetable: {
|
|
447
|
+
type: ObjectConstructor;
|
|
448
|
+
default: any;
|
|
449
|
+
};
|
|
450
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
451
|
+
rowData: {
|
|
452
|
+
type: ObjectConstructor;
|
|
453
|
+
default: any;
|
|
454
|
+
};
|
|
455
|
+
rowIndex: {
|
|
456
|
+
type: NumberConstructor;
|
|
457
|
+
};
|
|
458
|
+
rowField: {
|
|
459
|
+
type: ObjectConstructor;
|
|
460
|
+
};
|
|
461
|
+
isHeader: {
|
|
462
|
+
type: BooleanConstructor;
|
|
463
|
+
default: boolean;
|
|
464
|
+
};
|
|
465
|
+
title: {
|
|
466
|
+
type: StringConstructor;
|
|
467
|
+
default: string;
|
|
468
|
+
};
|
|
469
|
+
vuetable: {
|
|
470
|
+
type: ObjectConstructor;
|
|
471
|
+
default: any;
|
|
472
|
+
};
|
|
473
|
+
}>> & Readonly<{}>, {
|
|
474
|
+
rowData: Record<string, any>;
|
|
475
|
+
isHeader: boolean;
|
|
476
|
+
title: string;
|
|
477
|
+
vuetable: Record<string, any>;
|
|
478
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
479
|
+
|
|
480
|
+
export declare const VuetableFieldHandle: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
481
|
+
|
|
482
|
+
export declare const VuetableFieldMixin: DefineComponent<ExtractPropTypes< {
|
|
483
|
+
rowData: {
|
|
484
|
+
type: ObjectConstructor;
|
|
485
|
+
default: any;
|
|
486
|
+
};
|
|
487
|
+
rowIndex: {
|
|
488
|
+
type: NumberConstructor;
|
|
489
|
+
};
|
|
490
|
+
rowField: {
|
|
491
|
+
type: ObjectConstructor;
|
|
492
|
+
};
|
|
493
|
+
isHeader: {
|
|
494
|
+
type: BooleanConstructor;
|
|
495
|
+
default: boolean;
|
|
496
|
+
};
|
|
497
|
+
title: {
|
|
498
|
+
type: StringConstructor;
|
|
499
|
+
default: string;
|
|
500
|
+
};
|
|
501
|
+
vuetable: {
|
|
502
|
+
type: ObjectConstructor;
|
|
503
|
+
default: any;
|
|
504
|
+
};
|
|
505
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
506
|
+
rowData: {
|
|
507
|
+
type: ObjectConstructor;
|
|
508
|
+
default: any;
|
|
509
|
+
};
|
|
510
|
+
rowIndex: {
|
|
511
|
+
type: NumberConstructor;
|
|
512
|
+
};
|
|
513
|
+
rowField: {
|
|
514
|
+
type: ObjectConstructor;
|
|
515
|
+
};
|
|
516
|
+
isHeader: {
|
|
517
|
+
type: BooleanConstructor;
|
|
518
|
+
default: boolean;
|
|
519
|
+
};
|
|
520
|
+
title: {
|
|
521
|
+
type: StringConstructor;
|
|
522
|
+
default: string;
|
|
523
|
+
};
|
|
524
|
+
vuetable: {
|
|
525
|
+
type: ObjectConstructor;
|
|
526
|
+
default: any;
|
|
527
|
+
};
|
|
528
|
+
}>> & Readonly<{}>, {
|
|
529
|
+
rowData: Record<string, any>;
|
|
530
|
+
isHeader: boolean;
|
|
531
|
+
title: string;
|
|
532
|
+
vuetable: Record<string, any>;
|
|
533
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
534
|
+
|
|
535
|
+
export declare const VuetableFieldSequence: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
536
|
+
|
|
537
|
+
export declare const VuetablePagination: DefineComponent< {}, {
|
|
538
|
+
tablePagination: any;
|
|
539
|
+
$_css: any;
|
|
540
|
+
totalPage: any;
|
|
541
|
+
lastPage: any;
|
|
542
|
+
onEachSide: Readonly<Ref<number, number>>;
|
|
543
|
+
firstPage: Readonly<Ref<number, number>>;
|
|
544
|
+
isOnFirstPage: any;
|
|
545
|
+
isOnLastPage: any;
|
|
546
|
+
notEnoughPages: any;
|
|
547
|
+
windowSize: any;
|
|
548
|
+
windowStart: any;
|
|
549
|
+
loadPage: typeof loadPage;
|
|
550
|
+
isCurrentPage: any;
|
|
551
|
+
setPaginationData: any;
|
|
552
|
+
resetData: any;
|
|
553
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
554
|
+
"vuetable-pagination:change-page": (page: string | number) => any;
|
|
555
|
+
}, string, PublicProps, Readonly<{}> & Readonly<{
|
|
556
|
+
"onVuetable-pagination:change-page"?: (page: string | number) => any;
|
|
557
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
558
|
+
|
|
559
|
+
export declare const VuetablePaginationDropdown: DefineComponent<Props_2, {
|
|
560
|
+
tablePagination: any;
|
|
561
|
+
$_css: any;
|
|
562
|
+
firstPage: number;
|
|
563
|
+
lastPage: any;
|
|
564
|
+
onEachSide: number;
|
|
565
|
+
pageText: string;
|
|
566
|
+
notEnoughPages: any;
|
|
567
|
+
windowSize: any;
|
|
568
|
+
windowStart: any;
|
|
569
|
+
loadPage: typeof loadPage_2;
|
|
570
|
+
isCurrentPage: any;
|
|
571
|
+
setPaginationData: any;
|
|
572
|
+
resetData: any;
|
|
573
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
574
|
+
|
|
575
|
+
export declare const VuetablePaginationInfo: DefineComponent< {}, {
|
|
576
|
+
tablePagination: any;
|
|
577
|
+
$_css: Ref<any, any>;
|
|
578
|
+
infoTemplate: Readonly<Ref<string, string>>;
|
|
579
|
+
noDataTemplate: Readonly<Ref<string, string>>;
|
|
580
|
+
paginationInfo: any;
|
|
581
|
+
setPaginationData: any;
|
|
582
|
+
resetData: any;
|
|
583
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
584
|
+
|
|
585
|
+
export declare const VuetablePaginationInfoMixin: DefineComponent<ExtractPropTypes< {
|
|
586
|
+
css: {
|
|
587
|
+
type: ObjectConstructor;
|
|
588
|
+
default: () => {};
|
|
589
|
+
};
|
|
590
|
+
infoTemplate: {
|
|
591
|
+
type: StringConstructor;
|
|
592
|
+
default: string;
|
|
593
|
+
};
|
|
594
|
+
noDataTemplate: {
|
|
595
|
+
type: StringConstructor;
|
|
596
|
+
default: string;
|
|
597
|
+
};
|
|
598
|
+
}>, {}, Data, {
|
|
599
|
+
paginationInfo(): any;
|
|
600
|
+
}, {
|
|
601
|
+
mergeCss(): void;
|
|
602
|
+
setPaginationData(tablePagination: TablePagination): void;
|
|
603
|
+
resetData(): void;
|
|
604
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
605
|
+
css: {
|
|
606
|
+
type: ObjectConstructor;
|
|
607
|
+
default: () => {};
|
|
608
|
+
};
|
|
609
|
+
infoTemplate: {
|
|
610
|
+
type: StringConstructor;
|
|
611
|
+
default: string;
|
|
612
|
+
};
|
|
613
|
+
noDataTemplate: {
|
|
614
|
+
type: StringConstructor;
|
|
615
|
+
default: string;
|
|
616
|
+
};
|
|
617
|
+
}>> & Readonly<{}>, {
|
|
618
|
+
css: Record<string, any>;
|
|
619
|
+
noDataTemplate: string;
|
|
620
|
+
infoTemplate: string;
|
|
621
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
622
|
+
|
|
623
|
+
export declare const VuetablePaginationMixin: DefineComponent<ExtractPropTypes< {
|
|
624
|
+
css: {
|
|
625
|
+
type: ObjectConstructor;
|
|
626
|
+
default(): {};
|
|
627
|
+
};
|
|
628
|
+
onEachSide: {
|
|
629
|
+
type: NumberConstructor;
|
|
630
|
+
default(): 2;
|
|
631
|
+
};
|
|
632
|
+
firstPage: {
|
|
633
|
+
type: NumberConstructor;
|
|
634
|
+
default: number;
|
|
635
|
+
};
|
|
636
|
+
}>, {}, Data_2, {
|
|
637
|
+
totalPage(): number;
|
|
638
|
+
lastPage(): any;
|
|
639
|
+
isOnFirstPage(): boolean;
|
|
640
|
+
isOnLastPage(): boolean;
|
|
641
|
+
notEnoughPages(): boolean;
|
|
642
|
+
windowSize(): number;
|
|
643
|
+
windowStart(): number;
|
|
644
|
+
}, {
|
|
645
|
+
mergeCss(): void;
|
|
646
|
+
loadPage(page: number): void;
|
|
647
|
+
isCurrentPage(page: number): boolean;
|
|
648
|
+
setPaginationData(tablePagination: TablePagination_2): void;
|
|
649
|
+
resetData(): void;
|
|
650
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, "vuetable-pagination:change-page"[], "vuetable-pagination:change-page", PublicProps, Readonly<ExtractPropTypes< {
|
|
651
|
+
css: {
|
|
652
|
+
type: ObjectConstructor;
|
|
653
|
+
default(): {};
|
|
654
|
+
};
|
|
655
|
+
onEachSide: {
|
|
656
|
+
type: NumberConstructor;
|
|
657
|
+
default(): 2;
|
|
658
|
+
};
|
|
659
|
+
firstPage: {
|
|
660
|
+
type: NumberConstructor;
|
|
661
|
+
default: number;
|
|
662
|
+
};
|
|
663
|
+
}>> & Readonly<{
|
|
664
|
+
"onVuetable-pagination:change-page"?: (...args: any[]) => any;
|
|
665
|
+
}>, {
|
|
666
|
+
firstPage: number;
|
|
667
|
+
css: Record<string, any>;
|
|
668
|
+
onEachSide: number;
|
|
669
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
670
|
+
|
|
671
|
+
export declare const VuetableRowHeader: DefineComponent<{}, {
|
|
672
|
+
stripPrefix: typeof stripPrefix;
|
|
673
|
+
isInCurrentSortGroup: typeof isInCurrentSortGroup;
|
|
674
|
+
hasSortableIcon: typeof hasSortableIcon;
|
|
675
|
+
currentSortOrderPosition: typeof currentSortOrderPosition;
|
|
676
|
+
fieldIsInSortOrderPosition: typeof fieldIsInSortOrderPosition;
|
|
677
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
678
|
+
|
|
679
|
+
export { }
|