@stlhorizon/vue-ui 2.0.0 → 2.0.1
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/index.esm.js
CHANGED
|
@@ -10390,7 +10390,7 @@ const td = {
|
|
|
10390
10390
|
}), z = (O) => {
|
|
10391
10391
|
r("navigate", O), s.value && $();
|
|
10392
10392
|
const U = o.value && d.value && d.value.subItems.some((M) => M.route === O.route), ae = c.value && n.managementSettings.some((M) => M.route === O.route);
|
|
10393
|
-
U || ae
|
|
10393
|
+
(s.value || !(U || ae)) && V();
|
|
10394
10394
|
}, $ = () => {
|
|
10395
10395
|
r("update:mobileOpen", !1);
|
|
10396
10396
|
}, k = (O) => O.subItems && O.subItems.length > 0, h = (O) => {
|
|
@@ -10596,7 +10596,7 @@ const td = {
|
|
|
10596
10596
|
class: f(
|
|
10597
10597
|
N(x)(
|
|
10598
10598
|
"fixed z-40 bg-white border-r border-gray-200 overflow-y-auto shadow-lg",
|
|
10599
|
-
s.value ? "left-0 w-
|
|
10599
|
+
s.value ? "left-0 w-52 top-0 h-screen" : "w-56 top-16 h-[calc(100vh-4rem)]"
|
|
10600
10600
|
)
|
|
10601
10601
|
),
|
|
10602
10602
|
style: ce(b.value)
|
|
@@ -10684,7 +10684,7 @@ const td = {
|
|
|
10684
10684
|
class: f(
|
|
10685
10685
|
N(x)(
|
|
10686
10686
|
"fixed z-40 bg-white border-r border-gray-200 overflow-y-auto shadow-lg",
|
|
10687
|
-
s.value ? "left-0 w-
|
|
10687
|
+
s.value ? "left-0 w-52 top-0 h-full" : "w-56 h-[calc(100vh-4rem)]"
|
|
10688
10688
|
)
|
|
10689
10689
|
),
|
|
10690
10690
|
style: ce({ ...S.value, top: s.value ? "0px" : "4rem" })
|
|
@@ -10710,7 +10710,7 @@ const td = {
|
|
|
10710
10710
|
})
|
|
10711
10711
|
], -1)
|
|
10712
10712
|
])]),
|
|
10713
|
-
U[3] || (U[3] = i("h3", { class: "flex-1 text-
|
|
10713
|
+
U[3] || (U[3] = i("h3", { class: "flex-1 text-sm font-bold text-gray-900 ml-2" }, "Management Settings", -1))
|
|
10714
10714
|
])
|
|
10715
10715
|
]),
|
|
10716
10716
|
i("nav", zm, [
|
|
@@ -10731,7 +10731,7 @@ const td = {
|
|
|
10731
10731
|
i("div", {
|
|
10732
10732
|
class: f(
|
|
10733
10733
|
N(x)(
|
|
10734
|
-
"flex items-center justify-center w-8 h-8 rounded-lg mr-3 flex-shrink-0 transition-colors
|
|
10734
|
+
"flex items-center justify-center w-8 h-8 rounded-lg mr-3 flex-shrink-0 transition-colors",
|
|
10735
10735
|
D(M) ? "bg-gradient-to-br from-blue-500 to-blue-600 text-white shadow-md" : "bg-gray-100 text-gray-600 group-hover:bg-gray-200"
|
|
10736
10736
|
)
|
|
10737
10737
|
)
|
|
@@ -10768,7 +10768,7 @@ const td = {
|
|
|
10768
10768
|
default: E(() => [
|
|
10769
10769
|
(o.value || c.value) && s.value ? (l(), u("div", {
|
|
10770
10770
|
key: 0,
|
|
10771
|
-
class: "fixed inset-0 z-30 bg-
|
|
10771
|
+
class: "fixed inset-0 z-30 bg-transparent",
|
|
10772
10772
|
onClick: V
|
|
10773
10773
|
})) : g("", !0)
|
|
10774
10774
|
]),
|