edvoyui-component-library-test-flight 0.0.58 → 0.0.59
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/dist/library-vue-ts.cjs.js +2 -2
- package/dist/library-vue-ts.es.js +528 -498
- package/dist/library-vue-ts.umd.js +8 -8
- package/dist/table/EUIDashboardTable.vue.d.ts +1 -1
- package/dist/table/EUITable.vue.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/table/EUIDashboardTable.vue +24 -16
- package/src/components/table/EUITable.vue +257 -216
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "/Volumes/work/repos/edvoy-ui-v2/src/components/table/EUIDashboardTable.vue?vue&type=script&setup=true&lang.ts";
|
|
2
|
-
import "/Volumes/work/repos/edvoy-ui-v2/src/components/table/EUIDashboardTable.vue?vue&type=style&index=0&scoped=
|
|
2
|
+
import "/Volumes/work/repos/edvoy-ui-v2/src/components/table/EUIDashboardTable.vue?vue&type=style&index=0&scoped=ae56eb51&lang.scss";
|
|
3
3
|
declare const _default: any;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=EUIDashboardTable.vue.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "/Volumes/work/repos/edvoy-ui-v2/src/components/table/EUITable.vue?vue&type=script&setup=true&lang.ts";
|
|
2
|
-
import "/Volumes/work/repos/edvoy-ui-v2/src/components/table/EUITable.vue?vue&type=style&index=0&scoped=
|
|
2
|
+
import "/Volumes/work/repos/edvoy-ui-v2/src/components/table/EUITable.vue?vue&type=style&index=0&scoped=05e35209&lang.scss";
|
|
3
3
|
declare const _default: any;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=EUITable.vue.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<
|
|
3
|
+
<Transition name="fade" mode="out-in">
|
|
4
|
+
<div
|
|
5
|
+
v-if="loading"
|
|
6
|
+
:class="[
|
|
7
|
+
'overflow-hidden relative z-0 isolate bg-white backdrop-blur transition-colors duration-150 ease-in-out rounded-xl border border-gray-50',
|
|
8
|
+
tableHeight
|
|
9
|
+
? tableHeight
|
|
10
|
+
: 'h-[calc(100svh-9rem)] max-h-[calc(100svh-9rem)]',
|
|
11
|
+
]"
|
|
12
|
+
>
|
|
13
|
+
<div
|
|
14
|
+
class="absolute flex items-center z-[calc(infinity)] w-full h-auto pointer-events-none inset-0"
|
|
15
|
+
>
|
|
16
|
+
<EUICircleLoader />
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
<div v-else class="relative w-full mx-auto overflow-hidden">
|
|
4
20
|
<div
|
|
5
21
|
id="dashboard-table"
|
|
6
|
-
:class="['
|
|
22
|
+
:class="['scrollbar--thin overscroll-none',
|
|
23
|
+
computedItems.length === 0 ? 'overflow-hidden' : 'overflow-auto', tableHeight ? tableHeight : 'h-[calc(100svh-13rem)] max-h-[calc(100svh-13rem)]']"
|
|
7
24
|
ref="tableContainer"
|
|
8
25
|
@scroll="handleScroll"
|
|
9
26
|
>
|
|
@@ -59,19 +76,9 @@
|
|
|
59
76
|
</tr>
|
|
60
77
|
</thead>
|
|
61
78
|
<tbody>
|
|
62
|
-
|
|
63
|
-
<tr class="norecords">
|
|
64
|
-
<td :colspan="headers.length">
|
|
65
|
-
<div
|
|
66
|
-
class="flex items-center justify-center min-h-96"
|
|
67
|
-
>
|
|
68
|
-
<EUICircleLoader />
|
|
69
|
-
</div>
|
|
70
|
-
</td>
|
|
71
|
-
</tr>
|
|
72
|
-
</template>
|
|
79
|
+
|
|
73
80
|
<template
|
|
74
|
-
v-
|
|
81
|
+
v-if="computedItems.length > 0"
|
|
75
82
|
v-for="(row, rowIndex) in computedItems"
|
|
76
83
|
:key="`table-row-${rowIndex}`"
|
|
77
84
|
>
|
|
@@ -116,8 +123,8 @@
|
|
|
116
123
|
<tr class="norecords">
|
|
117
124
|
<td :colspan="checkable === true ? headers.length + 1 : headers.length">
|
|
118
125
|
<div
|
|
119
|
-
|
|
120
|
-
|
|
126
|
+
class="flex items-center justify-center text-xl font-medium text-gray-500 h-[calc(100svh-18rem)] max-w-screen-xl"
|
|
127
|
+
>
|
|
121
128
|
No matching records found
|
|
122
129
|
</div>
|
|
123
130
|
</td>
|
|
@@ -158,6 +165,7 @@
|
|
|
158
165
|
</template>
|
|
159
166
|
</div>
|
|
160
167
|
</div>
|
|
168
|
+
</Transition>
|
|
161
169
|
</div>
|
|
162
170
|
</template>
|
|
163
171
|
|