prisma-goat 0.8.4 → 0.8.6
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/README.md +1 -1
- package/dist/prisma-goat.js +29 -29
- package/dist/prisma-goat.umd.cjs +9 -9
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/prisma-goat.js
CHANGED
|
@@ -562,7 +562,7 @@ const KA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
562
562
|
...V
|
|
563
563
|
}, f) => {
|
|
564
564
|
var EA, H, JA, yM;
|
|
565
|
-
const U = jB(), [Y, q] = J(!1), [P, MA] = J(!1), [WA, cA] = J(!1), [$A, UA] = J(null), [b,
|
|
565
|
+
const U = jB(), [Y, q] = J(!1), [P, MA] = J(!1), [WA, cA] = J(!1), [$A, UA] = J(null), [b, W] = J(null), rA = AA(null), ZA = () => q(!Y), ag = () => MA(!P), hA = () => MA(!1);
|
|
566
566
|
O(() => {
|
|
567
567
|
if (typeof window < "u" && (C != null && C.events)) {
|
|
568
568
|
const u = () => {
|
|
@@ -632,15 +632,15 @@ const KA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
632
632
|
type: "button",
|
|
633
633
|
className: R(
|
|
634
634
|
"flex items-center justify-center px-4 py-2 text-sm cursor-pointer rounded-md transition duration-300 focus:outline-none focus:ring-2 focus:ring-offset-2",
|
|
635
|
-
Q === u.link || (wA = u.subItems) != null && wA.some((
|
|
635
|
+
Q === u.link || (wA = u.subItems) != null && wA.some((x) => x.link === Q) ? tA[g] : "",
|
|
636
636
|
T[g],
|
|
637
637
|
CA[g],
|
|
638
|
-
Q === u.link ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" ? "text-white" : "text-custom-blue",
|
|
638
|
+
Q === u.link ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : g === "pikaros" ? "text-orange-300" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" || g === "pikaros" ? "text-white" : "text-custom-blue",
|
|
639
639
|
Q === u.link ? "font-semibold" : "font-normal"
|
|
640
640
|
),
|
|
641
641
|
onClick: () => Tg(u, p),
|
|
642
|
-
onMouseEnter: () =>
|
|
643
|
-
onMouseLeave: () =>
|
|
642
|
+
onMouseEnter: () => W(p),
|
|
643
|
+
onMouseLeave: () => W(null),
|
|
644
644
|
children: u.label
|
|
645
645
|
}
|
|
646
646
|
),
|
|
@@ -671,18 +671,18 @@ const KA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
671
671
|
{
|
|
672
672
|
className: `absolute left-0 mt-2 w-48 ${iA[g]} ${dg[g]} rounded-md shadow-lg ring-4 ring-black ring-opacity-5`,
|
|
673
673
|
role: "menu",
|
|
674
|
-
children: u.subItems.map((
|
|
674
|
+
children: u.subItems.map((x, Sg) => /* @__PURE__ */ i(
|
|
675
675
|
"div",
|
|
676
676
|
{
|
|
677
677
|
className: R(
|
|
678
678
|
`block px-4 py-2 text-sm cursor-pointer ${iA[g]}e`,
|
|
679
679
|
T[g] && `${T[g]}`,
|
|
680
|
-
Q ===
|
|
681
|
-
Q ===
|
|
682
|
-
Q ===
|
|
680
|
+
Q === x.link ? tA[g] : "",
|
|
681
|
+
Q === x.link ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : g === "pikaros" ? "text-orange-300" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" || g === "pikaros" ? "text-white" : "text-custom-blue",
|
|
682
|
+
Q === x.link ? "font-semibold" : "font-normal"
|
|
683
683
|
),
|
|
684
|
-
onClick: () => _A(
|
|
685
|
-
children:
|
|
684
|
+
onClick: () => _A(x, p),
|
|
685
|
+
children: x.label
|
|
686
686
|
},
|
|
687
687
|
Sg
|
|
688
688
|
))
|
|
@@ -739,7 +739,7 @@ const KA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
739
739
|
"block px-4 py-2 text-sm cursor-pointer",
|
|
740
740
|
T[g] && `${T[g]}`,
|
|
741
741
|
Q === u.link ? tA[g] : "",
|
|
742
|
-
Q === u.link ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" ? "text-white" : "text-custom-blue",
|
|
742
|
+
Q === u.link ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : g === "pikaros" ? "text-orange-300" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" || g === "pikaros" ? "text-white" : "text-custom-blue",
|
|
743
743
|
Q === u.link ? "font-semibold" : "font-normal"
|
|
744
744
|
),
|
|
745
745
|
onClick: u.label === "Cerrar sesion" ? I : () => {
|
|
@@ -761,7 +761,7 @@ const KA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
761
761
|
${T[g]}
|
|
762
762
|
rounded-md transition duration-300 focus:outline-none focus:ring-2 ${CA[g]} focus:ring-offset-2`,
|
|
763
763
|
Q === "/login" ? tA[g] : "",
|
|
764
|
-
Q === "/login" ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" ? "text-white" : "text-custom-blue",
|
|
764
|
+
Q === "/login" ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : g === "pikaros" ? "text-orange-300" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" || g === "pikaros" ? "text-white" : "text-custom-blue",
|
|
765
765
|
Q === "/login" ? "font-semibold" : "font-normal"
|
|
766
766
|
),
|
|
767
767
|
onClick: () => {
|
|
@@ -782,8 +782,8 @@ const KA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
782
782
|
className: R(
|
|
783
783
|
`block w-full px-4 py-2 text-base ${T[g]}
|
|
784
784
|
rounded-md transition duration-300 focus:outline-none focus:ring-2 ${CA[g]} focus:ring-offset-2 text-left`,
|
|
785
|
-
Q === u.link || (wA = u.subItems) != null && wA.some((
|
|
786
|
-
Q === u.link ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" ? "text-white" : "text-custom-blue",
|
|
785
|
+
Q === u.link || (wA = u.subItems) != null && wA.some((x) => x.link === Q) ? tA[g] : "",
|
|
786
|
+
Q === u.link ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : g === "pikaros" ? "text-orange-300" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" || g === "pikaros" ? "text-white" : "text-custom-blue",
|
|
787
787
|
Q === u.link ? "font-semibold" : "font-normal"
|
|
788
788
|
),
|
|
789
789
|
onClick: () => {
|
|
@@ -792,20 +792,20 @@ const KA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
792
792
|
children: u.label
|
|
793
793
|
}
|
|
794
794
|
),
|
|
795
|
-
u.subItems && u.subItems.length > 0 && $A === p && /* @__PURE__ */ i("div", { className: "pl-4 py-4", children: u.subItems.map((
|
|
795
|
+
u.subItems && u.subItems.length > 0 && $A === p && /* @__PURE__ */ i("div", { className: "pl-4 py-4", children: u.subItems.map((x, Sg) => /* @__PURE__ */ i(
|
|
796
796
|
"button",
|
|
797
797
|
{
|
|
798
798
|
className: R(
|
|
799
799
|
`block w-full px-4 py-1 text-sm ${T[g]}
|
|
800
800
|
rounded-md transition duration-300 focus:outline-none focus:ring-2 ${CA[g]} focus:ring-offset-2 text-left`,
|
|
801
|
-
Q ===
|
|
802
|
-
Q ===
|
|
803
|
-
Q ===
|
|
801
|
+
Q === x.link ? tA[g] : "",
|
|
802
|
+
Q === x.link ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : g === "pikaros" ? "text-orange-300" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" || g === "pikaros" ? "text-white" : "text-custom-blue",
|
|
803
|
+
Q === x.link ? "font-semibold" : "font-normal"
|
|
804
804
|
),
|
|
805
805
|
onClick: () => {
|
|
806
|
-
_A(
|
|
806
|
+
_A(x, p), q(!1);
|
|
807
807
|
},
|
|
808
|
-
children:
|
|
808
|
+
children: x.label
|
|
809
809
|
},
|
|
810
810
|
Sg
|
|
811
811
|
)) })
|
|
@@ -851,7 +851,7 @@ const KA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
851
851
|
`block w-full px-4 py-2 text-base ${T[g]}
|
|
852
852
|
rounded-md transition duration-300 focus:outline-none focus:ring-2 ${CA[g]} focus:ring-offset-2 text-left`,
|
|
853
853
|
Q === u.link ? tA[g] : "",
|
|
854
|
-
Q === u.link ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" ? "text-white" : "text-custom-blue",
|
|
854
|
+
Q === u.link ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : g === "pikaros" ? "text-orange-300" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" || g === "pikaros" ? "text-white" : "text-custom-blue",
|
|
855
855
|
Q === u.link ? "font-semibold" : "font-normal"
|
|
856
856
|
),
|
|
857
857
|
onClick: u.label === "Cerrar sesion" ? I : () => L(u),
|
|
@@ -867,7 +867,7 @@ const KA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
867
867
|
`block w-full px-4 py-2 text-base ${T[g]}
|
|
868
868
|
rounded-md transition duration-300 focus:outline-none focus:ring-2 ${CA[g]} focus:ring-offset-2 text-left`,
|
|
869
869
|
Q === "/login" ? tA[g] : "",
|
|
870
|
-
Q === "/login" ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" ? "text-white" : "text-custom-blue",
|
|
870
|
+
Q === "/login" ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : g === "pikaros" ? "text-orange-300" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" || g === "pikaros" ? "text-white" : "text-custom-blue",
|
|
871
871
|
Q === "/login" ? "font-semibold" : "font-normal"
|
|
872
872
|
),
|
|
873
873
|
onClick: () => {
|
|
@@ -1010,7 +1010,7 @@ const sw = N(
|
|
|
1010
1010
|
...a
|
|
1011
1011
|
}, V) => {
|
|
1012
1012
|
var cg, _A;
|
|
1013
|
-
const [f, U] = J(!0), [Y, q] = J(null), [P, MA] = J(!1), [WA, cA] = J(null), [$A, UA] = J(!1), b = AA(null),
|
|
1013
|
+
const [f, U] = J(!0), [Y, q] = J(null), [P, MA] = J(!1), [WA, cA] = J(null), [$A, UA] = J(!1), b = AA(null), W = () => MA(!P), rA = () => MA(!1), ZA = () => {
|
|
1014
1014
|
Z && Z(), U((k) => !k);
|
|
1015
1015
|
}, ag = (k, L) => {
|
|
1016
1016
|
k.subItems && k.subItems.length > 0 ? q((EA) => EA === L ? -1 : L) : k.link && Q && Q.push(k.link);
|
|
@@ -1182,7 +1182,7 @@ const sw = N(
|
|
|
1182
1182
|
] }, L);
|
|
1183
1183
|
}) }),
|
|
1184
1184
|
C && /* @__PURE__ */ m("div", { className: "relative ml-3", children: [
|
|
1185
|
-
/* @__PURE__ */ m("div", { id: "user-menu-button", style: { display: "flex", alignItems: "center", cursor: "pointer" }, onClick:
|
|
1185
|
+
/* @__PURE__ */ m("div", { id: "user-menu-button", style: { display: "flex", alignItems: "center", cursor: "pointer" }, onClick: W, children: [
|
|
1186
1186
|
/* @__PURE__ */ i(
|
|
1187
1187
|
"button",
|
|
1188
1188
|
{
|
|
@@ -4008,15 +4008,15 @@ function NC(A) {
|
|
|
4008
4008
|
...P
|
|
4009
4009
|
}, cA = (b) => {
|
|
4010
4010
|
U = !0, I.has(b) && (Y = !0, I.delete(b)), c.needsAnimating[b] = !0;
|
|
4011
|
-
const
|
|
4012
|
-
|
|
4011
|
+
const W = A.getValue(b);
|
|
4012
|
+
W && (W.liveStyle = !1);
|
|
4013
4013
|
};
|
|
4014
4014
|
for (const b in WA) {
|
|
4015
|
-
const
|
|
4015
|
+
const W = P[b], rA = MA[b];
|
|
4016
4016
|
if (n.hasOwnProperty(b))
|
|
4017
4017
|
continue;
|
|
4018
4018
|
let ZA = !1;
|
|
4019
|
-
tB(
|
|
4019
|
+
tB(W) && tB(rA) ? ZA = !Ue(W, rA) : ZA = W !== rA, ZA ? W != null ? cA(b) : I.add(b) : W !== void 0 && I.has(b) ? cA(b) : c.protectedKeys[b] = !0;
|
|
4020
4020
|
}
|
|
4021
4021
|
c.prevProp = y, c.prevResolvedValues = P, c.isActive && (n = { ...n, ...P }), M && A.blockInitialAnimation && (U = !1), U && (!(V && f) || Y) && o.push(...q.map((b) => ({
|
|
4022
4022
|
animation: b,
|