edvoyui-component-library-test-flight 0.0.164 → 0.0.166
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/input/EUIInput.vue.d.ts +1 -1
- package/dist/input/EUINumberInput.vue.d.ts +1 -1
- package/dist/library-vue-ts.cjs.js +28 -28
- package/dist/library-vue-ts.css +1 -1
- package/dist/library-vue-ts.es.js +2564 -2534
- package/dist/library-vue-ts.umd.js +34 -34
- package/dist/radio/EUIRadio.vue.d.ts +1 -1
- package/dist/table/EUIDashboardTable.vue.d.ts +1 -1
- package/dist/table/EUITable.vue.d.ts +1 -1
- package/dist/table/GrowthTable.vue.d.ts +1 -1
- package/dist/toggle/EUIToggle.vue.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/HelloWorld.vue +1 -1
- package/src/components/checkbox/EUICheckbox.vue +1 -1
- package/src/components/datepicker/EUIDatepicker.vue +1 -1
- package/src/components/input/EUIInput.vue +1 -1
- package/src/components/input/EUINumberInput.vue +1 -1
- package/src/components/pillSelect/EUIPillSelect.vue +3 -3
- package/src/components/radio/EUIRadio.vue +3 -1
- package/src/components/select/EUISelect.vue +2 -2
- package/src/components/table/ColumnResizeTable.vue +50 -45
- package/src/components/table/EUIDashboardTable.vue +206 -188
- package/src/components/table/EUITable.vue +45 -29
- package/src/components/table/GrowthTable.vue +20 -16
- package/src/components/table/UTable.vue +78 -51
- package/src/components/textArea/EUITextArea.vue +3 -1
- package/src/components/toggle/EUIToggle.vue +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "/Volumes/work/repos/edvoy-ui-v2/src/components/radio/EUIRadio.vue?vue&type=script&setup=true&lang.ts";
|
|
2
|
-
import "/Volumes/work/repos/edvoy-ui-v2/src/components/radio/EUIRadio.vue?vue&type=style&index=0&scoped=
|
|
2
|
+
import "/Volumes/work/repos/edvoy-ui-v2/src/components/radio/EUIRadio.vue?vue&type=style&index=0&scoped=2c4d7e6e&lang.scss";
|
|
3
3
|
declare const _default: any;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=EUIRadio.vue.d.ts.map
|
|
@@ -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=96e61185&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=8982a42f&lang.scss";
|
|
3
3
|
declare const _default: any;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=EUITable.vue.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "/Volumes/work/repos/edvoy-ui-v2/src/components/table/GrowthTable.vue?vue&type=script&setup=true&lang.ts";
|
|
2
|
-
import "/Volumes/work/repos/edvoy-ui-v2/src/components/table/GrowthTable.vue?vue&type=style&index=0&scoped=
|
|
2
|
+
import "/Volumes/work/repos/edvoy-ui-v2/src/components/table/GrowthTable.vue?vue&type=style&index=0&scoped=53514ae1&lang.scss";
|
|
3
3
|
declare const _default: any;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=GrowthTable.vue.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "/Volumes/work/repos/edvoy-ui-v2/src/components/toggle/EUIToggle.vue?vue&type=script&setup=true&lang.ts";
|
|
2
|
-
import "/Volumes/work/repos/edvoy-ui-v2/src/components/toggle/EUIToggle.vue?vue&type=style&index=0&scoped=
|
|
2
|
+
import "/Volumes/work/repos/edvoy-ui-v2/src/components/toggle/EUIToggle.vue?vue&type=style&index=0&scoped=8bc6f54e&lang.scss";
|
|
3
3
|
declare const _default: any;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=EUIToggle.vue.d.ts.map
|
package/package.json
CHANGED
|
@@ -1653,7 +1653,7 @@ const selectedRows = ref([]);
|
|
|
1653
1653
|
const checkedRows = ref([]);
|
|
1654
1654
|
const defaultSortOrder = ref("asc");
|
|
1655
1655
|
const limit = ref(5);
|
|
1656
|
-
const offset = ref(
|
|
1656
|
+
const offset = ref(0);
|
|
1657
1657
|
const selectedIndex = ref(null);
|
|
1658
1658
|
const selected: { index: string } = { index: "" };
|
|
1659
1659
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<span v-if="label" class="text-sm font-medium tracking-wide text-gray-700 ms-2 first-letter:capitalize">{{ label }}</span>
|
|
20
20
|
</slot>
|
|
21
21
|
</label>
|
|
22
|
-
<template v-if="errors && errors.length">
|
|
22
|
+
<template v-if="errors && Object.keys(errors).length">
|
|
23
23
|
<EUIErrorMessage :errors="errors" :name="name" />
|
|
24
24
|
</template>
|
|
25
25
|
</div>
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
}}
|
|
28
28
|
</EUIButton>
|
|
29
29
|
</div>
|
|
30
|
-
|
|
31
|
-
<EUIErrorMessage :
|
|
32
|
-
</
|
|
30
|
+
<template v-if="errors && Object.keys(errors).length">
|
|
31
|
+
<EUIErrorMessage :errors="errors" :name="name" />
|
|
32
|
+
</template>
|
|
33
33
|
</div>
|
|
34
34
|
</template>
|
|
35
35
|
|
|
@@ -247,8 +247,8 @@
|
|
|
247
247
|
</template>
|
|
248
248
|
</vSelect>
|
|
249
249
|
|
|
250
|
-
|
|
251
|
-
<EUIErrorMessage :errors="errors" :name="name"
|
|
250
|
+
<template v-if="errors && Object.keys(errors).length">
|
|
251
|
+
<EUIErrorMessage :errors="errors" :name="name" />
|
|
252
252
|
</template>
|
|
253
253
|
</div>
|
|
254
254
|
</template>
|
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
3
|
<Transition name="fade" mode="out-in">
|
|
4
|
-
<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
4
|
+
<template v-if="loading">
|
|
5
|
+
<slot name="loader" :loading="loading" :height="tableHeight">
|
|
6
|
+
<div
|
|
7
|
+
:class="[
|
|
8
|
+
'overflow-hidden relative z-0 isolate bg-white backdrop-blur transition-colors duration-150 ease-in-out rounded-xl border border-gray-50',
|
|
9
|
+
tableHeight
|
|
10
|
+
? tableHeight
|
|
11
|
+
: 'h-[calc(100svh-9rem)] max-h-[calc(100svh-9rem)]',
|
|
12
|
+
]"
|
|
13
|
+
>
|
|
14
|
+
<div
|
|
15
|
+
class="absolute flex items-center z-[calc(infinity)] w-full h-auto pointer-events-none inset-0"
|
|
16
|
+
>
|
|
17
|
+
<EUICircleLoader />
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
</slot>
|
|
21
|
+
</template>
|
|
19
22
|
|
|
20
23
|
<div v-else class="relative max-w-full mx-auto">
|
|
21
24
|
<article
|
|
@@ -201,28 +204,30 @@
|
|
|
201
204
|
checkable === true ? headers.length + 1 : headers.length
|
|
202
205
|
"
|
|
203
206
|
>
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
207
|
+
<slot name="no-records">
|
|
208
|
+
<div
|
|
209
|
+
class="flex items-center justify-center w-[calc(100vw-14rem)]"
|
|
210
|
+
:class="[
|
|
211
|
+
tableHeight
|
|
212
|
+
? tableHeight
|
|
213
|
+
: 'h-[calc(100svh-12rem)] max-h-[calc(100svh-12rem)]',
|
|
214
|
+
]"
|
|
215
|
+
>
|
|
216
|
+
<div class="text-center">
|
|
217
|
+
<div
|
|
218
|
+
class="mx-auto overflow-hidden rounded-md size-56"
|
|
219
|
+
>
|
|
220
|
+
<img
|
|
221
|
+
src="@/assets/images/search-nodata.png"
|
|
222
|
+
alt=""
|
|
223
|
+
class="block object-contain object-center h-auto max-w-full opacity-90"
|
|
224
|
+
/>
|
|
225
|
+
</div>
|
|
226
|
+
<div class="my-2 text-xl font-medium text-gray-500">
|
|
227
|
+
No matching records found
|
|
228
|
+
</div>
|
|
223
229
|
</div>
|
|
224
230
|
</div>
|
|
225
|
-
</div>
|
|
226
231
|
</slot>
|
|
227
232
|
</td>
|
|
228
233
|
</tr>
|
|
@@ -424,7 +429,7 @@ const searchData = (_data: any) => {
|
|
|
424
429
|
|
|
425
430
|
const changeLimit = (limitData: number) => {
|
|
426
431
|
limit.value = limitData;
|
|
427
|
-
newCurrentPage.value =
|
|
432
|
+
newCurrentPage.value = 0;
|
|
428
433
|
emit("update:currentPage", newCurrentPage.value);
|
|
429
434
|
emit("changeLimit", limitData);
|
|
430
435
|
};
|
|
@@ -573,7 +578,7 @@ const tableColumnResize = () => {
|
|
|
573
578
|
|
|
574
579
|
let startX: number, startWidth: number;
|
|
575
580
|
|
|
576
|
-
const mouseDownHandler = function (e:any) {
|
|
581
|
+
const mouseDownHandler = function (e: any) {
|
|
577
582
|
startX = e.pageX;
|
|
578
583
|
startWidth = parseInt(
|
|
579
584
|
document.defaultView?.getComputedStyle(th)?.width || "0px",
|
|
@@ -587,7 +592,7 @@ const tableColumnResize = () => {
|
|
|
587
592
|
e.preventDefault();
|
|
588
593
|
};
|
|
589
594
|
|
|
590
|
-
const onMouseMove = function (e:any) {
|
|
595
|
+
const onMouseMove = function (e: any) {
|
|
591
596
|
if (isResizing) {
|
|
592
597
|
const newWidth = startWidth + (e.pageX - startX);
|
|
593
598
|
if (newWidth > 100) {
|
|
@@ -682,9 +687,9 @@ watch(() => tableContainer.value?.clientWidth, checkOverflow);
|
|
|
682
687
|
}
|
|
683
688
|
|
|
684
689
|
& > tr {
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
690
|
+
transition-property: filter, background, opacity;
|
|
691
|
+
transition-duration: 0.2s;
|
|
692
|
+
transition-timing-function: ease-out;
|
|
688
693
|
}
|
|
689
694
|
}
|
|
690
695
|
|
|
@@ -710,10 +715,10 @@ watch(() => tableContainer.value?.clientWidth, checkOverflow);
|
|
|
710
715
|
*/
|
|
711
716
|
|
|
712
717
|
// TODO: Hover Row highlight
|
|
713
|
-
& tbody:hover tr:not(:hover) td:not(:nth-child(-n+2)) {
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
718
|
+
& tbody:hover tr:not(:hover) td:not(:nth-child(-n + 2)) {
|
|
719
|
+
filter: blur(4px) saturate(0.2);
|
|
720
|
+
pointer-events: none;
|
|
721
|
+
opacity: 0.6;
|
|
717
722
|
}
|
|
718
723
|
}
|
|
719
724
|
}
|