edvoyui-component-library-test-flight 0.0.186 → 0.0.187
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/edvoy-ui.cjs.js +1 -1
- package/dist/edvoy-ui.css +1 -1
- package/dist/edvoy-ui.es.js +22 -20
- package/dist/edvoy-ui.umd.js +2 -2
- package/dist/table/EUITable.vue.d.ts +1 -1
- package/package.json +1 -1
package/dist/edvoy-ui.es.js
CHANGED
|
@@ -25489,40 +25489,42 @@ const XS = /* @__PURE__ */ mt(YS, [["render", GS]]), QS = { class: "whitespace-n
|
|
|
25489
25489
|
},
|
|
25490
25490
|
emits: ["updateLimit", "refetch"],
|
|
25491
25491
|
setup(e, { emit: n }) {
|
|
25492
|
-
const t = e, { pageLimit: r } = Ut(t), i = n, l = ee([5, 10, 20, 30, 40, 50, 100]), u = (s) => {
|
|
25493
|
-
i("updateLimit",
|
|
25492
|
+
const t = e, { pageLimit: r } = Ut(t), i = n, l = ee([5, 10, 20, 30, 40, 50, 100]), u = ee(!1), s = (c) => {
|
|
25493
|
+
i("updateLimit", c), i("refetch"), u.value = !1;
|
|
25494
25494
|
};
|
|
25495
|
-
return (
|
|
25495
|
+
return (c, f) => (_(), O("div", null, [
|
|
25496
25496
|
Pe(Ux, {
|
|
25497
|
+
visible: u.value,
|
|
25498
|
+
"onUpdate:visible": f[0] || (f[0] = (p) => u.value = p),
|
|
25497
25499
|
trigger: "click",
|
|
25498
25500
|
placement: "top",
|
|
25499
25501
|
className: "max-w-40 min-w-40",
|
|
25500
|
-
customButton: "px-3 py-2 text-sm font-medium text-gray-900 bg-white rounded-md group hover:text-opacity-100 focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-75 gap-x-1"
|
|
25502
|
+
customButton: "px-3 py-2 text-sm font-medium text-gray-900 bg-white rounded-md group hover:text-opacity-100 focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-75 gap-x-1 select-none"
|
|
25501
25503
|
}, {
|
|
25502
|
-
referenceButton: De(({ open:
|
|
25504
|
+
referenceButton: De(({ open: p }) => [
|
|
25503
25505
|
$("span", QS, ye(S(r)), 1),
|
|
25504
25506
|
(_(), Le(Mt(e.iconStyle ? XS : rr), {
|
|
25505
|
-
class: ae([
|
|
25507
|
+
class: ae([p ? "text-gray-900 -rotate-180" : "text-gray-500 rotate-0", "transition duration-100 ease-in-out transform size-6 group-hover:text-opacity-80"]),
|
|
25506
25508
|
"aria-hidden": "true"
|
|
25507
25509
|
}, null, 8, ["class"]))
|
|
25508
25510
|
]),
|
|
25509
25511
|
default: De(() => [
|
|
25510
25512
|
$("div", qS, [
|
|
25511
25513
|
$("ul", null, [
|
|
25512
|
-
(_(!0), O(Te, null, ze(l.value, (
|
|
25513
|
-
key:
|
|
25514
|
+
(_(!0), O(Te, null, ze(l.value, (p) => (_(), O("li", {
|
|
25515
|
+
key: p,
|
|
25514
25516
|
class: ae(["block w-full px-4 py-2 text-sm font-medium cursor-pointer hover:bg-gray-50", [
|
|
25515
|
-
|
|
25517
|
+
p === S(r) ? "bg-violet-100 text-violet-600" : "text-gray-700"
|
|
25516
25518
|
]]),
|
|
25517
25519
|
role: "button",
|
|
25518
25520
|
"aria-roledescription": "button",
|
|
25519
|
-
onClick: (
|
|
25520
|
-
}, ye(
|
|
25521
|
+
onClick: (v) => s(p)
|
|
25522
|
+
}, ye(p) + " per page ", 11, JS))), 128))
|
|
25521
25523
|
])
|
|
25522
25524
|
])
|
|
25523
25525
|
]),
|
|
25524
25526
|
_: 1
|
|
25525
|
-
})
|
|
25527
|
+
}, 8, ["visible"])
|
|
25526
25528
|
]));
|
|
25527
25529
|
}
|
|
25528
25530
|
}), ZS = { class: "table-checkbox" }, eI = ["value"], Pi = /* @__PURE__ */ Ke({
|
|
@@ -26881,7 +26883,7 @@ const MI = { class: "absolute flex items-center z-[calc(infinity)] w-full h-auto
|
|
|
26881
26883
|
}, kT = ["stroke"], $T = ["stroke"], CT = ["id", "onMouseenter", "onMouseleave"], ET = {
|
|
26882
26884
|
key: 1,
|
|
26883
26885
|
class: "norecords"
|
|
26884
|
-
}, OT = ["colspan"], ST = { class: "sticky bottom-0 left-0 z-50 flex items-center justify-between px-2 py-1 bg-white" }, IT = { class: "inline-flex items-center gap-x-2" }, TT = { class: "text-sm font-medium text-gray-900" }, AT = { class: "inline-flex items-center" }, MT = /* @__PURE__ */ Ke({
|
|
26886
|
+
}, OT = ["colspan"], ST = { class: "sticky bottom-0 left-0 z-50 flex items-center justify-between px-2 py-1 bg-white shadow-[0_-6px_24px_-6px_#0c0c0d1c]" }, IT = { class: "inline-flex items-center gap-x-2" }, TT = { class: "text-sm font-medium text-gray-900" }, AT = { class: "inline-flex items-center" }, MT = /* @__PURE__ */ Ke({
|
|
26885
26887
|
__name: "EUITable",
|
|
26886
26888
|
props: {
|
|
26887
26889
|
checkable: {
|
|
@@ -27045,7 +27047,7 @@ const MI = { class: "absolute flex items-center z-[calc(infinity)] w-full h-auto
|
|
|
27045
27047
|
}, () => [
|
|
27046
27048
|
$("div", {
|
|
27047
27049
|
class: ae([
|
|
27048
|
-
"overflow-hidden relative z-0 isolate bg-white backdrop-blur transition-colors duration-150 ease-in-out rounded-xl border border-gray-
|
|
27050
|
+
"overflow-hidden relative z-0 isolate bg-white backdrop-blur transition-colors duration-150 ease-in-out rounded-xl border border-gray-200",
|
|
27049
27051
|
e.tableHeight ? e.tableHeight : "h-[calc(100svh-9rem)] max-h-[calc(100svh-9rem)]"
|
|
27050
27052
|
])
|
|
27051
27053
|
}, [
|
|
@@ -27057,7 +27059,7 @@ const MI = { class: "absolute flex items-center z-[calc(infinity)] w-full h-auto
|
|
|
27057
27059
|
$("div", {
|
|
27058
27060
|
id: "student-table",
|
|
27059
27061
|
class: ae([
|
|
27060
|
-
"
|
|
27062
|
+
"border border-gray-200 rounded-xl scrollbar--auto overscroll-auto",
|
|
27061
27063
|
A.value.length === 0 ? "overflow-hidden" : "overflow-auto",
|
|
27062
27064
|
e.tableHeight ? e.tableHeight : "h-[calc(100svh-12rem)] max-h-[calc(100svh-12rem)]"
|
|
27063
27065
|
]),
|
|
@@ -27129,7 +27131,7 @@ const MI = { class: "absolute flex items-center z-[calc(infinity)] w-full h-auto
|
|
|
27129
27131
|
$("tr", {
|
|
27130
27132
|
id: `row-${K}`,
|
|
27131
27133
|
class: ae(
|
|
27132
|
-
S(C) == K ? "!bg-
|
|
27134
|
+
S(C) == K ? "!bg-violet-50 !ring-1 !ring-violet-100 !ring-inset" : ""
|
|
27133
27135
|
),
|
|
27134
27136
|
onMouseenter: (U) => T.$attrs.mouseenter ? T.$emit("mouseenter", g, K) : null,
|
|
27135
27137
|
onMouseleave: (U) => T.$attrs.mouseleave ? T.$emit("mouseleave", g, K) : null
|
|
@@ -27138,7 +27140,7 @@ const MI = { class: "absolute flex items-center z-[calc(infinity)] w-full h-auto
|
|
|
27138
27140
|
key: 0,
|
|
27139
27141
|
class: ae([
|
|
27140
27142
|
"checkable",
|
|
27141
|
-
S(C) == K ? "!bg-
|
|
27143
|
+
S(C) == K ? "!bg-violet-50 !ring-1 !ring-violet-100 !ring-inset" : ""
|
|
27142
27144
|
])
|
|
27143
27145
|
}, [
|
|
27144
27146
|
Pe(Pi, {
|
|
@@ -27154,7 +27156,7 @@ const MI = { class: "absolute flex items-center z-[calc(infinity)] w-full h-auto
|
|
|
27154
27156
|
key: Oe,
|
|
27155
27157
|
class: ae([
|
|
27156
27158
|
le.value && Oe === 0 ? pe.value.body : "",
|
|
27157
|
-
S(C) == K ? "!bg-
|
|
27159
|
+
S(C) == K ? "!bg-violet-50 !ring-1 !ring-violet-100 !ring-inset" : ""
|
|
27158
27160
|
])
|
|
27159
27161
|
}, [
|
|
27160
27162
|
oe(T.$slots, `item.${U == null ? void 0 : U.value}`, {
|
|
@@ -27194,7 +27196,7 @@ const MI = { class: "absolute flex items-center z-[calc(infinity)] w-full h-auto
|
|
|
27194
27196
|
"page-limit": I.value,
|
|
27195
27197
|
onUpdateLimit: X[0] || (X[0] = (g) => H(g)),
|
|
27196
27198
|
onRefetch: X[1] || (X[1] = (g) => P()),
|
|
27197
|
-
iconStyle: !
|
|
27199
|
+
iconStyle: !1
|
|
27198
27200
|
}, null, 8, ["page-limit"])
|
|
27199
27201
|
])
|
|
27200
27202
|
])
|
|
@@ -27214,7 +27216,7 @@ const MI = { class: "absolute flex items-center z-[calc(infinity)] w-full h-auto
|
|
|
27214
27216
|
})
|
|
27215
27217
|
]));
|
|
27216
27218
|
}
|
|
27217
|
-
}), TP = /* @__PURE__ */ mt(MT, [["__scopeId", "data-v-
|
|
27219
|
+
}), TP = /* @__PURE__ */ mt(MT, [["__scopeId", "data-v-0c428f26"]]), RT = { class: "absolute flex items-center z-[calc(infinity)] w-full h-auto pointer-events-none inset-0" }, PT = {
|
|
27218
27220
|
key: 1,
|
|
27219
27221
|
class: "relative w-full mx-auto overflow-hidden"
|
|
27220
27222
|
}, DT = { class: "sticky top-0 left-0 z-50 bg-violet-100" }, LT = {
|