quasar-ui-danx 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
<template>
|
2
|
-
<div class="overflow-hidden">
|
2
|
+
<div class="overflow-hidden w-full">
|
3
3
|
<ActionVnode />
|
4
|
-
<
|
4
|
+
<QTable
|
5
5
|
ref="actionTable"
|
6
6
|
:selected="selectedRows"
|
7
7
|
:pagination="quasarPagination"
|
@@ -10,7 +10,7 @@
|
|
10
10
|
:rows="pagedItems?.data || []"
|
11
11
|
selection="multiple"
|
12
12
|
:rows-per-page-options="rowsPerPageOptions"
|
13
|
-
class="sticky-column sticky-header w-full !border-0"
|
13
|
+
class="sticky-column sticky-header w-full h-full !border-0"
|
14
14
|
color="blue-base"
|
15
15
|
@update:selected="$emit('update:selected-rows', $event)"
|
16
16
|
@update:pagination="() => {}"
|
@@ -33,7 +33,7 @@
|
|
33
33
|
/>
|
34
34
|
</template>
|
35
35
|
<template #header-cell="rowProps">
|
36
|
-
<
|
36
|
+
<QTh
|
37
37
|
:key="rowProps.key"
|
38
38
|
:props="rowProps"
|
39
39
|
:data-drop-zone="`resize-column-` + rowProps.col.name"
|
@@ -47,7 +47,7 @@
|
|
47
47
|
>
|
48
48
|
<RowResizeIcon class="w-4 text-neutral-base" />
|
49
49
|
</HandleDraggable>
|
50
|
-
</
|
50
|
+
</QTh>
|
51
51
|
</template>
|
52
52
|
<template #body-cell="rowProps">
|
53
53
|
<ActionTableColumn
|
@@ -58,11 +58,12 @@
|
|
58
58
|
<slot :column-name="rowProps.col.name" :row="rowProps.row" :value="rowProps.value" />
|
59
59
|
</ActionTableColumn>
|
60
60
|
</template>
|
61
|
-
</
|
61
|
+
</QTable>
|
62
62
|
</div>
|
63
63
|
</template>
|
64
64
|
|
65
65
|
<script setup>
|
66
|
+
import { QTable, QTh } from 'quasar';
|
66
67
|
import { ref } from 'vue';
|
67
68
|
import { getItem, setItem } from '../../helpers';
|
68
69
|
import { DragHandleIcon as RowResizeIcon } from '../../svg';
|
@@ -1,11 +1,11 @@
|
|
1
1
|
<template>
|
2
2
|
<div class="w-full flex justify-end items-center flex-nowrap border-b">
|
3
3
|
<FilterListToggle
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
4
|
+
:show-filters="showFilters"
|
5
|
+
:filter="filter"
|
6
|
+
class="border-r p-4 flex-shrink-0"
|
7
|
+
@update:show-filters="$emit('update:show-filters', $event)"
|
8
|
+
@update:filter="$emit('update:filter', $event)"
|
9
9
|
/>
|
10
10
|
|
11
11
|
<div class="flex-grow">
|
@@ -20,9 +20,10 @@
|
|
20
20
|
</div>
|
21
21
|
</template>
|
22
22
|
<script setup>
|
23
|
-
import {
|
23
|
+
import { QSeparator } from 'quasar';
|
24
|
+
import { FilterListToggle } from '../Filters';
|
24
25
|
|
25
|
-
defineEmits([
|
26
|
+
defineEmits(['update:show-filters', 'update:filter']);
|
26
27
|
defineProps({
|
27
28
|
filter: {
|
28
29
|
type: Object,
|