UNPKG

863 BJavaScriptView Raw
1// Modules
2export const globalTableConfig = {
3 noDataText: 'Sin datos en la tabla.',
4 lineNumbers: false,
5 sortOptions: {
6 enabled: true
7 },
8 searchOptions: {
9 enabled: true,
10 placeholder: 'Buscar',
11 skipDiacritics: true,
12 skipHighlight: true,
13 },
14 paginationOptions: {
15 enabled: true,
16 perPage: 100,
17 perPageDropdown: [5, 20, 50, 100, 200],
18 dropdownAllowAll: false,
19 nextLabel: 'Siguiente',
20 prevLabel: 'Anterior',
21 rowsPerPageLabel: 'Filas por página',
22 ofLabel: 'de'
23 },
24 selectOptions: {
25 enabled: false,
26 selectOnCheckboxOnly: true,
27 selectionText: 'filas seleccionadas',
28 clearSelectionText: '[limpiar]'
29 }
30}
31
32export const globalTableColumns = {
33 label: 'Acciones',
34 field: 'id',
35 type: 'number',
36 thClass: 'actions',
37 tdClass: 'actions',
38 sortable: false,
39 globalSearchDisabled: true
40}