@innertia-solutions/nuxt-theme-spark 0.1.63 → 0.1.64
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/components/Table.vue +6 -6
- package/package.json +1 -1
package/components/Table.vue
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { useVueTable, getCoreRowModel } from '@tanstack/vue-table'
|
|
3
3
|
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
IconSelector,
|
|
5
|
+
IconChevronUp,
|
|
6
|
+
IconChevronDown,
|
|
7
7
|
IconReload,
|
|
8
8
|
IconBolt,
|
|
9
9
|
} from '@tabler/icons-vue'
|
|
@@ -520,9 +520,9 @@ defineExpose({
|
|
|
520
520
|
<div class="px-4 py-3 flex items-center gap-x-1 text-xs font-medium text-slate-500 dark:text-slate-400 w-full">
|
|
521
521
|
{{ header.column.columnDef.meta?.label ?? header.id }}
|
|
522
522
|
<span v-if="header.column.getCanSort()">
|
|
523
|
-
<
|
|
524
|
-
<
|
|
525
|
-
<
|
|
523
|
+
<IconSelector v-if="!header.column.getIsSorted()" class="size-4 opacity-40" />
|
|
524
|
+
<IconChevronDown v-else-if="header.column.getIsSorted() === 'desc'" class="size-4" />
|
|
525
|
+
<IconChevronUp v-else class="size-4" />
|
|
526
526
|
</span>
|
|
527
527
|
</div>
|
|
528
528
|
<!-- Resize handle -->
|