@grapadigital/shared-app-modules 0.0.67 → 0.0.68
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/chuncks/{card.C9MtWRkJ.js → card.DVeWc20I.js} +16 -16
- package/dist/chuncks/{hover-card.NOAOQorx.js → hover-card.BXpZwx7d.js} +3050 -3053
- package/dist/chuncks/shared-app-modules.provider.Cp6Tj30e.js +13 -0
- package/dist/chuncks/{use-shared-app-modules.hook.Cr1BKvZi.js → use-shared-app-modules.hook.pcHgcVup.js} +1 -1
- package/dist/components.js +262 -262
- package/dist/hooks.js +1 -1
- package/dist/pages.js +21 -21
- package/dist/providers.js +1 -1
- package/dist/shadcn.js +504 -505
- package/package.json +1 -1
- package/dist/chuncks/jsx-runtime.D1wuIqXR.js +0 -615
- package/dist/chuncks/shared-app-modules.provider.xfFAORBw.js +0 -13
package/dist/hooks.js
CHANGED
package/dist/pages.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as i, c as a, B as m } from "./chuncks/hover-card.
|
|
2
|
-
import {
|
|
1
|
+
import { a as i, c as a, B as m } from "./chuncks/hover-card.BXpZwx7d.js";
|
|
2
|
+
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
3
3
|
import "react";
|
|
4
|
-
import { useNavigate as
|
|
4
|
+
import { useNavigate as d } from "react-router-dom";
|
|
5
5
|
const x = [
|
|
6
6
|
[
|
|
7
7
|
"path",
|
|
@@ -10,19 +10,19 @@ const x = [
|
|
|
10
10
|
key: "1jaruq"
|
|
11
11
|
}
|
|
12
12
|
]
|
|
13
|
-
],
|
|
14
|
-
function
|
|
15
|
-
return /* @__PURE__ */ e
|
|
13
|
+
], u = i("flag", x);
|
|
14
|
+
function N() {
|
|
15
|
+
return /* @__PURE__ */ e("div", { className: a("flex items-center justify-center h-screen w-screen"), children: /* @__PURE__ */ e("div", { className: "size-16 border-gray-500 border-t-gray-700 rounded-full animate-spin border-[0.375rem]" }) });
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
btnRedirect:
|
|
19
|
-
btnLabel:
|
|
20
|
-
hideBtn:
|
|
17
|
+
function b({
|
|
18
|
+
btnRedirect: r = "/",
|
|
19
|
+
btnLabel: t = "Home",
|
|
20
|
+
hideBtn: s = !1,
|
|
21
21
|
className: n,
|
|
22
22
|
...o
|
|
23
23
|
}) {
|
|
24
|
-
const c =
|
|
25
|
-
return /* @__PURE__ */ e
|
|
24
|
+
const c = d();
|
|
25
|
+
return /* @__PURE__ */ e(
|
|
26
26
|
"div",
|
|
27
27
|
{
|
|
28
28
|
className: a(
|
|
@@ -30,17 +30,17 @@ function h({
|
|
|
30
30
|
n
|
|
31
31
|
),
|
|
32
32
|
...o,
|
|
33
|
-
children: /* @__PURE__ */
|
|
34
|
-
/* @__PURE__ */ e
|
|
35
|
-
/* @__PURE__ */ e
|
|
36
|
-
/* @__PURE__ */ e
|
|
37
|
-
!
|
|
33
|
+
children: /* @__PURE__ */ l("div", { children: [
|
|
34
|
+
/* @__PURE__ */ e(u, { className: "size-20 mb-3 mx-auto" }),
|
|
35
|
+
/* @__PURE__ */ e("h1", { className: "text-3xl mb-6 leading-snug md:text-4xl font-bold", children: "Error 404" }),
|
|
36
|
+
/* @__PURE__ */ e("p", { className: "text-[18px] mb-6 font-normal text-gray-500 mx-auto md:max-w-sm", children: "Woops. Parece que esta página não existe" }),
|
|
37
|
+
!s && /* @__PURE__ */ e(
|
|
38
38
|
m,
|
|
39
39
|
{
|
|
40
40
|
size: "lg",
|
|
41
41
|
className: "px-4 md:w-[8rem]",
|
|
42
|
-
onClick: () => c(
|
|
43
|
-
children:
|
|
42
|
+
onClick: () => c(r),
|
|
43
|
+
children: t
|
|
44
44
|
}
|
|
45
45
|
)
|
|
46
46
|
] })
|
|
@@ -48,6 +48,6 @@ function h({
|
|
|
48
48
|
);
|
|
49
49
|
}
|
|
50
50
|
export {
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
N as LoaderPage,
|
|
52
|
+
b as NotFoundPage
|
|
53
53
|
};
|
package/dist/providers.js
CHANGED