vuetable-next 1.1.0 → 1.1.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 +351 -1
- package/dist/style.css +2 -2
- package/dist/types/components/Vuetable.vue.d.ts +1 -0
- package/dist/vue2.cjs +8 -8
- package/dist/vue2.cjs.map +1 -1
- package/dist/vue2.js +1020 -955
- package/dist/vue2.js.map +1 -1
- package/dist/vue3.cjs +2 -2
- package/dist/vue3.cjs.map +1 -1
- package/dist/vue3.js +1291 -1223
- package/dist/vue3.js.map +1 -1
- package/package.json +1 -1
- package/style.css +2 -2
package/README.md
CHANGED
|
@@ -16,7 +16,8 @@ Data tables, custom fields, selection, pagination and expandable rows — across
|
|
|
16
16
|
- [Quick start](#quick-start): [install](#install) · [Vue 3](#vue-3) · [Vue 2.6](#vue-26) · [Vue 2.7](#vue-27)
|
|
17
17
|
- [Compatibility](#compatibility)
|
|
18
18
|
- [Features in 1.1.0](#features-in-110): [declarative columns](#declarative-columns-opt-in) · [grouped headers and slots](#grouped-headers-and-extra-rows-opt-in) · [fixed columns](#fixed-columns-opt-in)
|
|
19
|
-
- [Documentation and migration](#documentation-and-migration): [upstream API](#familiar-vuetable-2-documentation) · [performance](#vue-3-automatic-row-render-optimization) · [migration](#moving-an-existing-table) · [mixins and composables](#mixins-or-composables) · [TypeScript](#explicit-framework-entries-and-types)
|
|
19
|
+
- [Documentation and migration](#documentation-and-migration): [upstream API](#familiar-vuetable-2-documentation) · [performance](#vue-3-automatic-row-render-optimization) · [migration](#moving-an-existing-table) · [API request ordering](#overlapping-api-requests) · [initial page](#initial-page-in-api-mode) · [checkbox events](#checkbox-events-and-row-data) · [row identity](#row-identity-and-custom-field-loading) · [row order](#row-order-and-drag-handles) · [mixins and composables](#mixins-or-composables) · [TypeScript](#explicit-framework-entries-and-types)
|
|
20
|
+
- [Semantic UI and Vuetify styles](#semantic-ui-and-vuetify-styles)
|
|
20
21
|
- [Live demos](#live-demos) · [screenshots](#screenshots)
|
|
21
22
|
- [Development and checks](#development-and-checks) · [contributing](#contributing)
|
|
22
23
|
- [Limitations and security](#limitations-and-security) · [license and credits](#license-and-credits)
|
|
@@ -364,6 +365,355 @@ Built-in field components `VuetableFieldCheckbox`, `VuetableFieldHandle` and
|
|
|
364
365
|
`VuetableFieldSequence`, plus `VuetableColGutter`, are also named exports.
|
|
365
366
|
Internal `.vue` source paths are not public package entry points.
|
|
366
367
|
|
|
368
|
+
### Semantic UI and Vuetify styles
|
|
369
|
+
|
|
370
|
+
The built-in class defaults target Semantic UI. Include your Semantic UI theme
|
|
371
|
+
and import the library stylesheet once:
|
|
372
|
+
|
|
373
|
+
```js
|
|
374
|
+
import "vuetable-next/style.css";
|
|
375
|
+
```
|
|
376
|
+
|
|
377
|
+
Vuetify 2 uses generic `blue` and `grey` utility classes that can otherwise
|
|
378
|
+
paint the table and sorting/drag icons with solid backgrounds
|
|
379
|
+
([upstream vuetable-2 #691](https://github.com/ratiw/vuetable-2/issues/691)).
|
|
380
|
+
Inside Vuetify's `.v-application` container, the library protects its built-in
|
|
381
|
+
defaults: the table stays white with the standard Semantic UI blue top border,
|
|
382
|
+
and the icons keep transparent backgrounds. This also covers the separate
|
|
383
|
+
header/body tables used by fixed headers. Outside Vuetify, the existing theme
|
|
384
|
+
classes and styling are unchanged.
|
|
385
|
+
|
|
386
|
+
Explicit `css` entries remain application-owned and are not rewritten. For a
|
|
387
|
+
custom theme, supply its table and icon classes through the existing `css` prop:
|
|
388
|
+
|
|
389
|
+
```vue
|
|
390
|
+
<Vuetable
|
|
391
|
+
:fields="fields"
|
|
392
|
+
:css="{ tableClass: 'my-table', sortableIcon: 'my-sort-icon' }"
|
|
393
|
+
/>
|
|
394
|
+
```
|
|
395
|
+
|
|
396
|
+
An explicitly supplied `tableClass` containing `blue` still opts into that
|
|
397
|
+
class's framework styles; remove conflicting utilities from your custom theme
|
|
398
|
+
or resolve their cascade in application CSS. The compatibility correction is
|
|
399
|
+
not a replacement for a full Vuetify table theme.
|
|
400
|
+
|
|
401
|
+
### Overlapping API requests
|
|
402
|
+
|
|
403
|
+
API tables apply results from the **most recently started load**, not whichever
|
|
404
|
+
response happens to arrive last. This applies to Vue 2.6, Vue 2.7 and Vue 3,
|
|
405
|
+
including `createVuetable()` and custom `http-fetch` transports.
|
|
406
|
+
|
|
407
|
+
For example, searching `Ju` and then `Junaid` can produce two overlapping
|
|
408
|
+
requests. If the `Junaid` response is empty, a slower `Ju` response must not bring
|
|
409
|
+
the previous rows back. This fixes the request-ordering scenario reported in
|
|
410
|
+
[upstream vuetable-2 #618](https://github.com/ratiw/vuetable-2/issues/618).
|
|
411
|
+
|
|
412
|
+
```js
|
|
413
|
+
methods: {
|
|
414
|
+
async searchChanged(value) {
|
|
415
|
+
this.filters.search = value
|
|
416
|
+
await this.$nextTick()
|
|
417
|
+
await this.$refs.table.refresh()
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
```
|
|
421
|
+
|
|
422
|
+
Bind `filters` with `:append-params="filters"`. `refresh()` resets to `first-page`;
|
|
423
|
+
`reload()` keeps the current page. No debounce or cancellation setup is required
|
|
424
|
+
for correct response ordering. Debouncing remains an optional application-level
|
|
425
|
+
way to reduce network traffic.
|
|
426
|
+
|
|
427
|
+
- Obsolete responses do not replace rows or pagination, invoke the response
|
|
428
|
+
transform/custom completion callbacks, or emit new success/error/completion
|
|
429
|
+
events. Already-emitted events are not undone.
|
|
430
|
+
- Starting another load inside a loading/completion handler also supersedes the
|
|
431
|
+
older operation. Its remaining work and queued pagination/loaded events are
|
|
432
|
+
skipped; an old response cannot finish a newer load's spinner.
|
|
433
|
+
- Unmounting, `resetData()` or an explicit non-null `setData()` invalidates pending
|
|
434
|
+
responses. Overlapping asynchronous data-manager results follow the same rule.
|
|
435
|
+
- Each request receives its own top-level options and query parameters; POST
|
|
436
|
+
requests do not remove `params` from the supplied `http-options` object.
|
|
437
|
+
- Requests are **not automatically cancelled** on the server. `instanceFetch`
|
|
438
|
+
remains the raw transport promise; it can still settle even when the table
|
|
439
|
+
ignores that request's result. The promise returned by `reload()` / `loadData()`
|
|
440
|
+
still waits for its own request. Arbitrary async side effects inside your own
|
|
441
|
+
callbacks remain your application's responsibility.
|
|
442
|
+
|
|
443
|
+
This is response-order protection, not server-side filtering: the API must still
|
|
444
|
+
return the correct records and pagination for the requested filter.
|
|
445
|
+
|
|
446
|
+
### Initial page in API mode
|
|
447
|
+
|
|
448
|
+
Use a numeric binding to start the first API request on another page:
|
|
449
|
+
|
|
450
|
+
```vue
|
|
451
|
+
<Vuetable
|
|
452
|
+
ref="table"
|
|
453
|
+
api-url="/api/articles"
|
|
454
|
+
:fields="fields"
|
|
455
|
+
:initial-page="3"
|
|
456
|
+
/>
|
|
457
|
+
```
|
|
458
|
+
|
|
459
|
+
The first request sends `page=3`, not an initial page-one request followed by
|
|
460
|
+
page three. This works with GET, POST, custom `queryParams` mappings/callbacks,
|
|
461
|
+
and all three supported Vue runtimes. Your server must honor the page parameter
|
|
462
|
+
and return matching rows and pagination metadata.
|
|
463
|
+
|
|
464
|
+
- `initial-page` defaults to `1` and initializes the table when it is created;
|
|
465
|
+
it is not a controlled current-page prop. Changing it later does not navigate.
|
|
466
|
+
- `reload()` loads the current page. With `:load-on-start="false"`, calling
|
|
467
|
+
`reload()` for the first time still uses `initial-page`.
|
|
468
|
+
- `refresh()` intentionally resets to `first-page` (default `1`). Sorting and a
|
|
469
|
+
changed `api-url` with `reactive-api-url` enabled also reset the page.
|
|
470
|
+
- If a saved page number or URL arrives asynchronously, use `v-if` to create the
|
|
471
|
+
table only after both are ready. Otherwise an initial value of `1` can already
|
|
472
|
+
have been read, or a later URL change can trigger a reset.
|
|
473
|
+
- A `queryParams` callback owns the generated parameters; forward its `page`
|
|
474
|
+
argument. Avoid a conflicting page key in `append-params`, whose values
|
|
475
|
+
override generated query parameters.
|
|
476
|
+
|
|
477
|
+
[Upstream vuetable-2 #727 — initial-page not working](https://github.com/ratiw/vuetable-2/issues/727)
|
|
478
|
+
reports page one being requested despite an initial page of three. This symptom
|
|
479
|
+
does **not** reproduce in this fork's current implementation. Regression tests
|
|
480
|
+
verify the first request, rendered rows and pagination event across Vue 2.6,
|
|
481
|
+
Vue 2.7 and Vue 3; no runtime behavior was changed for this issue.
|
|
482
|
+
|
|
483
|
+
#### Zero-based API pagination
|
|
484
|
+
|
|
485
|
+
For an API whose first page index is `0`, configure the table and the separate
|
|
486
|
+
pagination component consistently:
|
|
487
|
+
|
|
488
|
+
```vue
|
|
489
|
+
<Vuetable
|
|
490
|
+
ref="table"
|
|
491
|
+
api-url="/api/articles"
|
|
492
|
+
:fields="fields"
|
|
493
|
+
pagination-path="pagination"
|
|
494
|
+
:initial-page="0"
|
|
495
|
+
:first-page="0"
|
|
496
|
+
@vuetable:pagination-data="onPaginationData"
|
|
497
|
+
/>
|
|
498
|
+
<VuetablePagination
|
|
499
|
+
ref="pagination"
|
|
500
|
+
:first-page="0"
|
|
501
|
+
@vuetable-pagination:change-page="onChangePage"
|
|
502
|
+
/>
|
|
503
|
+
```
|
|
504
|
+
|
|
505
|
+
```js
|
|
506
|
+
onPaginationData(data) {
|
|
507
|
+
this.$refs.pagination.setPaginationData(data);
|
|
508
|
+
},
|
|
509
|
+
onChangePage(page) {
|
|
510
|
+
this.$refs.table.changePage(page);
|
|
511
|
+
}
|
|
512
|
+
```
|
|
513
|
+
|
|
514
|
+
The handlers belong in the application's `methods`. `initial-page` controls the
|
|
515
|
+
first request; the table's `first-page` controls reset/navigation boundaries;
|
|
516
|
+
the paginator's `first-page` controls emitted page indices. Setting only the
|
|
517
|
+
table's `first-page` does not replace its default `initial-page="1"` behavior.
|
|
518
|
+
`VuetablePaginationDropdown` accepts the same numeric `first-page` setting.
|
|
519
|
+
|
|
520
|
+
API pagination metadata must use the same zero-based convention: for three
|
|
521
|
+
pages, return `current_page` in `0..2` and `last_page: 2`, not `3`. Visible page
|
|
522
|
+
labels remain human-readable `1`, `2`, `3`; their request indices are `0`, `1`,
|
|
523
|
+
`2`. Forward `vuetable:pagination-data` explicitly; a separate paginator is not
|
|
524
|
+
automatically connected to the table.
|
|
525
|
+
|
|
526
|
+
[Upstream #627](https://github.com/ratiw/vuetable-2/issues/627) reports confusion
|
|
527
|
+
about this configuration. The configured API flow works in the current package;
|
|
528
|
+
the behavior is covered by regression tests rather than a runtime correction.
|
|
529
|
+
|
|
530
|
+
### Checkbox events and row data
|
|
531
|
+
|
|
532
|
+
The built-in `__checkbox` field emits `vuetable:checkbox-toggled` when an
|
|
533
|
+
individual row is checked or unchecked. The handler receives three arguments:
|
|
534
|
+
|
|
535
|
+
```js
|
|
536
|
+
function onCheckboxToggled(checked, fieldName, rowData) {
|
|
537
|
+
console.log(checked, fieldName, rowData.id);
|
|
538
|
+
}
|
|
539
|
+
```
|
|
540
|
+
|
|
541
|
+
```vue
|
|
542
|
+
<Vuetable
|
|
543
|
+
:fields="['__checkbox', 'name']"
|
|
544
|
+
:data="rows"
|
|
545
|
+
:api-mode="false"
|
|
546
|
+
@vuetable:checkbox-toggled="onCheckboxToggled"
|
|
547
|
+
/>
|
|
548
|
+
```
|
|
549
|
+
|
|
550
|
+
The same signature applies on Vue 2.6, Vue 2.7 and Vue 3:
|
|
551
|
+
|
|
552
|
+
- `checked` is the new boolean state.
|
|
553
|
+
- `fieldName` is the normalized checkbox field name, not the record or its ID.
|
|
554
|
+
- `rowData` is the complete current-row object, using your configured `track-by`
|
|
555
|
+
identifier. It is supplied on both selection and deselection, after the
|
|
556
|
+
table's selected IDs have been updated.
|
|
557
|
+
|
|
558
|
+
Existing handlers taking only `(checked, fieldName)` can continue to ignore the
|
|
559
|
+
third argument. Do not treat the first argument (`$event` in an inline listener)
|
|
560
|
+
as the row: it is the boolean. A custom `event-prefix` changes the event name,
|
|
561
|
+
not the argument order.
|
|
562
|
+
|
|
563
|
+
`vuetable:checkbox-toggled-all` remains a separate bulk event with only the
|
|
564
|
+
`checked` boolean; there is no single row associated with select-all.
|
|
565
|
+
|
|
566
|
+
This corrects the missing row payload described in
|
|
567
|
+
[upstream vuetable-2 #716](https://github.com/ratiw/vuetable-2/issues/716). Earlier
|
|
568
|
+
builds passed the row into the table's checkbox handler but dropped it when
|
|
569
|
+
emitting the outward event. The correction is included in [1.1.1](CHANGELOG.md#111---2026-12-02).
|
|
570
|
+
|
|
571
|
+
### Row identity and custom-field loading
|
|
572
|
+
|
|
573
|
+
**`track-by` selects the identifier; `rowKeys` is the internal render identity.**
|
|
574
|
+
`track-by` is an existing public prop naming the record property used for
|
|
575
|
+
identity. It defaults to `"id"` and is also used by row selection and expanded
|
|
576
|
+
details. The internal computed `rowKeys` derives Vue render keys from those
|
|
577
|
+
values; it is not another prop you need to supply. Neither mechanism searches
|
|
578
|
+
the API or generates a business ID for your records.
|
|
579
|
+
|
|
580
|
+
#### Can I omit track-by?
|
|
581
|
+
|
|
582
|
+
Yes, if your records already contain stable, unique `id` values. These two
|
|
583
|
+
declarations are equivalent on Vue 2.6, Vue 2.7 and Vue 3:
|
|
584
|
+
|
|
585
|
+
```vue
|
|
586
|
+
<!-- rows: [{ id: 101, name: "Ada" }, { id: 102, name: "Sam" }] -->
|
|
587
|
+
<Vuetable :fields="fields" :data="rows" :api-mode="false" />
|
|
588
|
+
<Vuetable :fields="fields" :data="rows" :api-mode="false" track-by="id" />
|
|
589
|
+
```
|
|
590
|
+
|
|
591
|
+
If the identifier has another name, specify it explicitly:
|
|
592
|
+
|
|
593
|
+
```vue
|
|
594
|
+
<!-- rows: [{ articleId: "article-101", title: "First article" }] -->
|
|
595
|
+
<Vuetable
|
|
596
|
+
:fields="fields"
|
|
597
|
+
:data="rows"
|
|
598
|
+
:api-mode="false"
|
|
599
|
+
track-by="articleId"
|
|
600
|
+
/>
|
|
601
|
+
```
|
|
602
|
+
|
|
603
|
+
The lookup is the direct property `row[trackBy]`, not a nested path. For example,
|
|
604
|
+
`track-by="article.id"` refers to a literal property named `"article.id"`; it
|
|
605
|
+
does not read `row.article.id`. Normalize nested API identifiers to a top-level
|
|
606
|
+
property when needed.
|
|
607
|
+
|
|
608
|
+
#### Can I omit the identifier itself?
|
|
609
|
+
|
|
610
|
+
Ordinary cells can still render without IDs, but that is not equivalent to
|
|
611
|
+
having reliable record identity. Give every record a stable, unique identifier:
|
|
612
|
+
it must be unique across pages, not a row number starting again on each page.
|
|
613
|
+
Use string or finite-number IDs (`0` and the empty string are supported). Rows
|
|
614
|
+
with missing, unsupported or duplicated IDs retain positional fallback behavior;
|
|
615
|
+
they cannot reliably preserve record-specific component state across pages.
|
|
616
|
+
Selection and expanded details also need unique IDs; positional render fallback
|
|
617
|
+
does not provide them. Do not generate a fresh random ID on every refresh or use
|
|
618
|
+
the array index as a substitute for a persistent record ID.
|
|
619
|
+
|
|
620
|
+
#### Why not just use the row index?
|
|
621
|
+
|
|
622
|
+
Vue uses keys to decide which rendered component belongs to which item; see
|
|
623
|
+
[maintaining state with key](https://vuejs.org/guide/essentials/list.html#maintaining-state-with-key).
|
|
624
|
+
An index identifies a position, not a record: row zero on page two is usually a
|
|
625
|
+
different record from row zero on page one. Reusing the positional component can
|
|
626
|
+
therefore reuse its old local state as well.
|
|
627
|
+
|
|
628
|
+
The internal key calculation separates numeric and string IDs, keeps fallback
|
|
629
|
+
keys separate from real IDs, and handles every duplicate consistently. It uses
|
|
630
|
+
two linear passes, cached in a computed value. Replacing it with
|
|
631
|
+
`row[trackBy] || index` would lose valid `0`/empty-string IDs and reintroduce key
|
|
632
|
+
collisions; the extra handling is deliberate, not extra configuration for users.
|
|
633
|
+
|
|
634
|
+
#### Pagination fix: upstream issue #737
|
|
635
|
+
|
|
636
|
+
The symptom reported in
|
|
637
|
+
[vuetable-2 #737 — calling api in component field error with pagination](https://github.com/ratiw/vuetable-2/issues/737)
|
|
638
|
+
was that a custom field fetching data in `mounted` kept showing the first page's
|
|
639
|
+
result after moving to the second page. We reproduced the same symptom in this
|
|
640
|
+
fork and corrected its positional row keys. This fix is recorded under
|
|
641
|
+
[1.1.1](CHANGELOG.md#111---2026-12-02); it does not change the upstream repository.
|
|
642
|
+
|
|
643
|
+
Stateful cells follow their record when rows reorder. Changing pages to different
|
|
644
|
+
record IDs creates new cell instances, so a custom field that loads data in
|
|
645
|
+
`mounted` loads it for the new record instead of retaining the previous page's
|
|
646
|
+
result. Refreshing the same ID preserves its component state.
|
|
647
|
+
Expanded details also receive record-specific keys so they cannot display another
|
|
648
|
+
record's cached content. Vue 2 may recreate expanded detail components when rows
|
|
649
|
+
reorder; do not rely on their local state surviving a reorder.
|
|
650
|
+
|
|
651
|
+
If the loaded data also depends on a property that can change **without changing
|
|
652
|
+
the record ID**, watch that property in your custom component and reload there.
|
|
653
|
+
`mounted` runs once per component instance, not on every data refresh. Cancel or
|
|
654
|
+
ignore stale asynchronous requests when their component is unmounted or their
|
|
655
|
+
input changes.
|
|
656
|
+
|
|
657
|
+
### Row order and drag handles
|
|
658
|
+
|
|
659
|
+
**Programmatic row reordering is supported; built-in drag-and-drop is not.**
|
|
660
|
+
In local data mode, the table displays rows in the order supplied through `data`.
|
|
661
|
+
Replace that array with a reordered copy to move records. Use unique, stable
|
|
662
|
+
`track-by` values, not array positions, so selection and record identity keep
|
|
663
|
+
following the same records.
|
|
664
|
+
|
|
665
|
+
```vue
|
|
666
|
+
<template>
|
|
667
|
+
<div>
|
|
668
|
+
<button type="button" @click="moveRow(0, 1)">Move first row down</button>
|
|
669
|
+
<Vuetable :fields="fields" :data="rows" :api-mode="false" track-by="id" />
|
|
670
|
+
</div>
|
|
671
|
+
</template>
|
|
672
|
+
|
|
673
|
+
<script>
|
|
674
|
+
import Vuetable from "vuetable-next"
|
|
675
|
+
|
|
676
|
+
export default {
|
|
677
|
+
components: { Vuetable },
|
|
678
|
+
data() {
|
|
679
|
+
return {
|
|
680
|
+
fields: ["name"],
|
|
681
|
+
rows: [{ id: 1, name: "Alice" }, { id: 2, name: "Bob" }]
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
methods: {
|
|
685
|
+
moveRow(fromIndex, toIndex) {
|
|
686
|
+
if (!Number.isInteger(fromIndex) || !Number.isInteger(toIndex) ||
|
|
687
|
+
fromIndex < 0 || toIndex < 0 ||
|
|
688
|
+
fromIndex >= this.rows.length || toIndex >= this.rows.length) return
|
|
689
|
+
const reordered = [...this.rows]
|
|
690
|
+
const [record] = reordered.splice(fromIndex, 1)
|
|
691
|
+
reordered.splice(toIndex, 0, record)
|
|
692
|
+
this.rows = reordered
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
</script>
|
|
697
|
+
```
|
|
698
|
+
|
|
699
|
+
This Options API example works on Vue 2.6, Vue 2.7 and Vue 3 with the appropriate
|
|
700
|
+
[runtime bootstrap](#quick-start). Vue 3 `createVuetable()` tables use the same
|
|
701
|
+
data-order behavior. Expanded detail components have the Vue 2 lifecycle
|
|
702
|
+
limitation described in [row identity](#row-identity-and-custom-field-loading).
|
|
703
|
+
|
|
704
|
+
The legacy `__handle` field renders a handle icon with the `.handle-icon` class.
|
|
705
|
+
It does **not** initialize SortableJS, attach drag listeners, update the data array
|
|
706
|
+
or save a new order. The question in
|
|
707
|
+
[upstream vuetable-2 #612](https://github.com/ratiw/vuetable-2/issues/612) concerns
|
|
708
|
+
this distinction. External drag integrations must synchronize application data,
|
|
709
|
+
not only move DOM elements, and must account for expanded detail and empty rows.
|
|
710
|
+
No ready-made SortableJS adapter is shipped or documented as supported.
|
|
711
|
+
|
|
712
|
+
In API mode the server controls returned order. Persisting a move, handling
|
|
713
|
+
pagination/filtering/sorting conflicts and retaining that order after a reload
|
|
714
|
+
are application/server responsibilities. An opt-in drag-and-drop feature is
|
|
715
|
+
planned for a future feature release, not included in the current bugfix release.
|
|
716
|
+
|
|
367
717
|
### Mixins or composables?
|
|
368
718
|
|
|
369
719
|
Keep legacy mixins for existing Options API components, or choose a composable
|
package/dist/style.css
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
.vuetable-th-gutter[data-v-c45e8fef]{padding:0!important;border-left:none!important;border-right:none!important}.vuetable-fixed-columns .vuetable-body-wrapper{overflow-x:auto}.vuetable .vuetable-fixed-column{z-index:var(--vuetable-fixed-z-index, 2);background:var(--vuetable-fixed-background, #fff)}.vuetable .vuetable-fixed-header{z-index:var(--vuetable-fixed-header-z-index, 3);background:var(--vuetable-fixed-header-background, var(--vuetable-fixed-background, #fff))}.vuetable .vuetable-fixed-footer{background:var(--vuetable-fixed-footer-background, var(--vuetable-fixed-background, #fff))}[v-cloak]{display:none}table.vuetable.fixed-header{table-layout:fixed}.vuetable th.sortable:hover{color:#2185d0;cursor:pointer}.vuetable-head-wrapper{overflow-x:hidden}.vuetable-head-wrapper table.vuetable{border-bottom-left-radius:0;border-bottom-right-radius:0}.vuetable-body-wrapper.fixed-header{position:relative;overflow-y:auto}.vuetable-body-wrapper table.vuetable.fixed-header{border-top:none!important;margin-top:0!important;border-top-left-radius:0;border-top-right-radius:0}.vuetable-empty-result{text-align:center}.vuetable-pagination{background:#f9fafb!important}.vuetable-pagination-info{margin-top:auto;margin-bottom:auto}
|
|
1
|
+
.vuetable-th-gutter[data-v-c45e8fef]{padding:0!important;border-left:none!important;border-right:none!important}.v-application .vuetable.vuetable-semantic-table{background-color:#fff!important;border-color:#22242626!important;border-top-color:#2185d0!important}.v-application .vuetable .vuetable-semantic-icon{background-color:transparent!important;border-color:transparent!important}.vuetable-fixed-columns .vuetable-body-wrapper{overflow-x:auto}.vuetable .vuetable-fixed-column{z-index:var(--vuetable-fixed-z-index, 2);background:var(--vuetable-fixed-background, #fff)}.vuetable .vuetable-fixed-header{z-index:var(--vuetable-fixed-header-z-index, 3);background:var(--vuetable-fixed-header-background, var(--vuetable-fixed-background, #fff))}.vuetable .vuetable-fixed-footer{background:var(--vuetable-fixed-footer-background, var(--vuetable-fixed-background, #fff))}[v-cloak]{display:none}table.vuetable.fixed-header{table-layout:fixed}.vuetable th.sortable:hover{color:#2185d0;cursor:pointer}.vuetable-head-wrapper{overflow-x:hidden}.vuetable-head-wrapper table.vuetable{border-bottom-left-radius:0;border-bottom-right-radius:0}.vuetable-body-wrapper.fixed-header{position:relative;overflow-y:auto}.vuetable-body-wrapper table.vuetable.fixed-header{border-top:none!important;margin-top:0!important;border-top-left-radius:0;border-top-right-radius:0}.vuetable-empty-result{text-align:center}.vuetable-pagination{background:#f9fafb!important}.vuetable-pagination-info{margin-top:auto;margin-bottom:auto}
|
|
2
2
|
|
|
3
|
-
.vuetable-th-gutter[data-v-05d64983]{padding:0!important;border-left:none!important;border-right:none!important}.vuetable-fixed-columns .vuetable-body-wrapper[data-v-d3ef3e5c]{overflow-x:auto}.vuetable .vuetable-fixed-column[data-v-d3ef3e5c]{z-index:var(--vuetable-fixed-z-index, 2);background:var(--vuetable-fixed-background, #fff)}.vuetable .vuetable-fixed-header[data-v-d3ef3e5c]{z-index:var(--vuetable-fixed-header-z-index, 3);background:var(--vuetable-fixed-header-background, var(--vuetable-fixed-background, #fff))}.vuetable .vuetable-fixed-footer[data-v-d3ef3e5c]{background:var(--vuetable-fixed-footer-background, var(--vuetable-fixed-background, #fff))}[v-cloak][data-v-d3ef3e5c]{display:none}table.vuetable.fixed-header[data-v-d3ef3e5c]{table-layout:fixed}.vuetable th.sortable[data-v-d3ef3e5c]:hover{color:#2185d0;cursor:pointer}.vuetable-head-wrapper[data-v-d3ef3e5c]{overflow-x:hidden}.vuetable-head-wrapper table.vuetable[data-v-d3ef3e5c]{border-bottom-left-radius:0;border-bottom-right-radius:0}.vuetable-body-wrapper.fixed-header[data-v-d3ef3e5c]{position:relative;overflow-y:auto}.vuetable-body-wrapper table.vuetable.fixed-header[data-v-d3ef3e5c]{border-top:none!important;margin-top:0!important;border-top-left-radius:0;border-top-right-radius:0}.vuetable-empty-result[data-v-d3ef3e5c]{text-align:center}.vuetable-pagination[data-v-27f1ae20]{background:#f9fafb!important}.vuetable-pagination-info[data-v-89f2e9b6]{margin-top:auto;margin-bottom:auto}
|
|
3
|
+
.vuetable-th-gutter[data-v-05d64983]{padding:0!important;border-left:none!important;border-right:none!important}.v-application .vuetable.vuetable-semantic-table[data-v-d3ef3e5c]{background-color:#fff!important;border-color:#22242626!important;border-top-color:#2185d0!important}.v-application .vuetable .vuetable-semantic-icon[data-v-d3ef3e5c]{background-color:transparent!important;border-color:transparent!important}.vuetable-fixed-columns .vuetable-body-wrapper[data-v-d3ef3e5c]{overflow-x:auto}.vuetable .vuetable-fixed-column[data-v-d3ef3e5c]{z-index:var(--vuetable-fixed-z-index, 2);background:var(--vuetable-fixed-background, #fff)}.vuetable .vuetable-fixed-header[data-v-d3ef3e5c]{z-index:var(--vuetable-fixed-header-z-index, 3);background:var(--vuetable-fixed-header-background, var(--vuetable-fixed-background, #fff))}.vuetable .vuetable-fixed-footer[data-v-d3ef3e5c]{background:var(--vuetable-fixed-footer-background, var(--vuetable-fixed-background, #fff))}[v-cloak][data-v-d3ef3e5c]{display:none}table.vuetable.fixed-header[data-v-d3ef3e5c]{table-layout:fixed}.vuetable th.sortable[data-v-d3ef3e5c]:hover{color:#2185d0;cursor:pointer}.vuetable-head-wrapper[data-v-d3ef3e5c]{overflow-x:hidden}.vuetable-head-wrapper table.vuetable[data-v-d3ef3e5c]{border-bottom-left-radius:0;border-bottom-right-radius:0}.vuetable-body-wrapper.fixed-header[data-v-d3ef3e5c]{position:relative;overflow-y:auto}.vuetable-body-wrapper table.vuetable.fixed-header[data-v-d3ef3e5c]{border-top:none!important;margin-top:0!important;border-top-left-radius:0;border-top-right-radius:0}.vuetable-empty-result[data-v-d3ef3e5c]{text-align:center}.vuetable-pagination[data-v-27f1ae20]{background:#f9fafb!important}.vuetable-pagination-info[data-v-89f2e9b6]{margin-top:auto;margin-bottom:auto}
|
|
@@ -565,6 +565,7 @@ declare const _default: DefineComponent<import('vue').ExtractPropTypes<{
|
|
|
565
565
|
$_index: number;
|
|
566
566
|
}[], Field[]>;
|
|
567
567
|
tableData: import('vue').Ref<any[] | null, any[] | null>;
|
|
568
|
+
rowKeys: import('vue').ComputedRef<string[]>;
|
|
568
569
|
tablePagination: import('vue').Ref<{
|
|
569
570
|
total: number;
|
|
570
571
|
per_page: number;
|