@orbe-agro/client-core 5.3.42 → 5.3.43

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.
Files changed (45) hide show
  1. package/dist/@ecme/components/route/AuthorityGuard.js +6 -6
  2. package/dist/@ecme/components/route/AuthorityGuard.js.map +1 -1
  3. package/dist/@ecme/locales/lang/en/pages.js +6 -0
  4. package/dist/@ecme/locales/lang/en/pages.js.map +1 -1
  5. package/dist/@ecme/locales/lang/ptBR/pages.js +6 -0
  6. package/dist/@ecme/locales/lang/ptBR/pages.js.map +1 -1
  7. package/dist/@ecme/views/others/AccessDenied/AccessDenied.js +10 -10
  8. package/dist/@ecme/views/others/AccessDenied/AccessDenied.js.map +1 -1
  9. package/dist/@types/@ecme/components/route/AuthorityGuard.d.ts.map +1 -1
  10. package/dist/@types/@ecme/locales/lang/en/index.d.ts +6 -0
  11. package/dist/@types/@ecme/locales/lang/en/index.d.ts.map +1 -1
  12. package/dist/@types/@ecme/locales/lang/en/pages.d.ts +6 -0
  13. package/dist/@types/@ecme/locales/lang/en/pages.d.ts.map +1 -1
  14. package/dist/@types/@ecme/locales/lang/ptBR/index.d.ts +6 -0
  15. package/dist/@types/@ecme/locales/lang/ptBR/index.d.ts.map +1 -1
  16. package/dist/@types/@ecme/locales/lang/ptBR/pages.d.ts.map +1 -1
  17. package/package.json +1 -1
  18. package/dist/@ecme/views/others/AccessDenied/lang/en/index.js +0 -9
  19. package/dist/@ecme/views/others/AccessDenied/lang/en/index.js.map +0 -1
  20. package/dist/@ecme/views/others/AccessDenied/lang/en/layout.js +0 -10
  21. package/dist/@ecme/views/others/AccessDenied/lang/en/layout.js.map +0 -1
  22. package/dist/@ecme/views/others/AccessDenied/lang/en/params.js +0 -5
  23. package/dist/@ecme/views/others/AccessDenied/lang/en/params.js.map +0 -1
  24. package/dist/@ecme/views/others/AccessDenied/lang/index.js +0 -12
  25. package/dist/@ecme/views/others/AccessDenied/lang/index.js.map +0 -1
  26. package/dist/@ecme/views/others/AccessDenied/lang/ptBR/index.js +0 -9
  27. package/dist/@ecme/views/others/AccessDenied/lang/ptBR/index.js.map +0 -1
  28. package/dist/@ecme/views/others/AccessDenied/lang/ptBR/layout.js +0 -10
  29. package/dist/@ecme/views/others/AccessDenied/lang/ptBR/layout.js.map +0 -1
  30. package/dist/@ecme/views/others/AccessDenied/lang/ptBR/params.js +0 -5
  31. package/dist/@ecme/views/others/AccessDenied/lang/ptBR/params.js.map +0 -1
  32. package/dist/@types/@ecme/views/others/AccessDenied/lang/en/index.d.ts +0 -10
  33. package/dist/@types/@ecme/views/others/AccessDenied/lang/en/index.d.ts.map +0 -1
  34. package/dist/@types/@ecme/views/others/AccessDenied/lang/en/layout.d.ts +0 -8
  35. package/dist/@types/@ecme/views/others/AccessDenied/lang/en/layout.d.ts.map +0 -1
  36. package/dist/@types/@ecme/views/others/AccessDenied/lang/en/params.d.ts +0 -3
  37. package/dist/@types/@ecme/views/others/AccessDenied/lang/en/params.d.ts.map +0 -1
  38. package/dist/@types/@ecme/views/others/AccessDenied/lang/index.d.ts +0 -2
  39. package/dist/@types/@ecme/views/others/AccessDenied/lang/index.d.ts.map +0 -1
  40. package/dist/@types/@ecme/views/others/AccessDenied/lang/ptBR/index.d.ts +0 -4
  41. package/dist/@types/@ecme/views/others/AccessDenied/lang/ptBR/index.d.ts.map +0 -1
  42. package/dist/@types/@ecme/views/others/AccessDenied/lang/ptBR/layout.d.ts +0 -4
  43. package/dist/@types/@ecme/views/others/AccessDenied/lang/ptBR/layout.d.ts.map +0 -1
  44. package/dist/@types/@ecme/views/others/AccessDenied/lang/ptBR/params.d.ts +0 -4
  45. package/dist/@types/@ecme/views/others/AccessDenied/lang/ptBR/params.d.ts.map +0 -1
@@ -1,9 +1,9 @@
1
- import { jsx as t, Fragment as s } from "react/jsx-runtime";
2
- import { Navigate as u } from "react-router-dom";
3
- import c from "../../utils/hooks/useAuthority.js";
4
- const m = (r) => {
5
- const { userAuthority: o = [], authority: e = [], children: i } = r, a = c(o, e);
6
- return /* @__PURE__ */ t(s, { children: a ? i : /* @__PURE__ */ t(u, { to: "/access-denied" }) });
1
+ import { jsx as t, Fragment as e } from "react/jsx-runtime";
2
+ import { Navigate as c } from "react-router-dom";
3
+ import s from "../../utils/hooks/useAuthority.js";
4
+ const m = (o) => {
5
+ const { userAuthority: i = [], authority: a = [], children: r } = o, n = s(i, a);
6
+ return window.location.pathname === "/access-denied" ? /* @__PURE__ */ t(e, { children: r }) : /* @__PURE__ */ t(e, { children: n ? r : /* @__PURE__ */ t(c, { to: "/access-denied" }) });
7
7
  };
8
8
  export {
9
9
  m as default
@@ -1 +1 @@
1
- {"version":3,"file":"AuthorityGuard.js","sources":["../../../../lib/@ecme/components/route/AuthorityGuard.tsx"],"sourcesContent":["import { PropsWithChildren } from 'react'\nimport { Navigate } from 'react-router-dom'\nimport useAuthority from '@/utils/hooks/useAuthority'\n\ntype AuthorityGuardProps = PropsWithChildren<{\n userAuthority?: string[]\n authority?: string[]\n}>\n\nconst AuthorityGuard = (props: AuthorityGuardProps) => {\n const { userAuthority = [], authority = [], children } = props\n\n const roleMatched = useAuthority(userAuthority, authority)\n\n return <>{roleMatched ? children : <Navigate to=\"/access-denied\" />}</>\n}\n\nexport default AuthorityGuard\n"],"names":["AuthorityGuard","props","userAuthority","authority","children","roleMatched","useAuthority","Navigate"],"mappings":";;;AASA,MAAMA,IAAiB,CAACC,MAA+B;AACnD,QAAM,EAAE,eAAAC,IAAgB,CAAA,GAAI,WAAAC,IAAY,CAAA,GAAI,UAAAC,MAAaH,GAEnDI,IAAcC,EAAaJ,GAAeC,CAAS;AAEzD,gCAAU,UAAAE,IAAcD,sBAAYG,GAAA,EAAS,IAAG,kBAAiB,EAAA,CAAG;AACxE;"}
1
+ {"version":3,"file":"AuthorityGuard.js","sources":["../../../../lib/@ecme/components/route/AuthorityGuard.tsx"],"sourcesContent":["import { PropsWithChildren } from 'react'\nimport { Navigate } from 'react-router-dom'\nimport useAuthority from '@/utils/hooks/useAuthority'\n\ntype AuthorityGuardProps = PropsWithChildren<{\n userAuthority?: string[]\n authority?: string[]\n}>\n\nconst AuthorityGuard = (props: AuthorityGuardProps) => {\n const { userAuthority = [], authority = [], children } = props\n\n const roleMatched = useAuthority(userAuthority, authority)\n\n if (window.location.pathname === '/access-denied') {\n return <>{children}</>\n }\n\n return <>{roleMatched ? children : <Navigate to=\"/access-denied\" />}</>\n}\n\nexport default AuthorityGuard\n"],"names":["AuthorityGuard","props","userAuthority","authority","children","roleMatched","useAuthority","Navigate"],"mappings":";;;AASA,MAAMA,IAAiB,CAACC,MAA+B;AACnD,QAAM,EAAE,eAAAC,IAAgB,CAAA,GAAI,WAAAC,IAAY,CAAA,GAAI,UAAAC,MAAaH,GAEnDI,IAAcC,EAAaJ,GAAeC,CAAS;AAEzD,SAAI,OAAO,SAAS,aAAa,0CACnB,UAAAC,GAAS,2BAGb,UAAAC,IAAcD,sBAAYG,GAAA,EAAS,IAAG,kBAAiB,EAAA,CAAG;AACxE;"}
@@ -7,6 +7,12 @@ const e = {
7
7
  mailSent: "Check your email",
8
8
  mailSentDesc: "We have sent a password recovery to your email"
9
9
  }
10
+ },
11
+ accessDenied: {
12
+ layout: {
13
+ title: "Access Denied",
14
+ subtitle: "You don't have permission to access this page."
15
+ }
10
16
  }
11
17
  }
12
18
  };
@@ -1 +1 @@
1
- {"version":3,"file":"pages.js","sources":["../../../../../lib/@ecme/locales/lang/en/pages.ts"],"sourcesContent":["export default {\n pages: {\n auth: {\n forgotPassword: {\n title: 'Password Recovery',\n desc: 'Please enter your email to receive a verification code.',\n mailSent: 'Check your email',\n mailSentDesc: 'We have sent a password recovery to your email',\n\n },\n },\n },\n}\n"],"names":["pages"],"mappings":"AAAA,MAAAA,IAAe;AAAA,EACX,OAAO;AAAA,IACH,MAAM;AAAA,MACF,gBAAgB;AAAA,QACZ,OAAO;AAAA,QACP,MAAM;AAAA,QACN,UAAU;AAAA,QACV,cAAc;AAAA,MAAA;AAAA,IAElB;AAAA,EACJ;AAER;"}
1
+ {"version":3,"file":"pages.js","sources":["../../../../../lib/@ecme/locales/lang/en/pages.ts"],"sourcesContent":["export default {\n pages: {\n auth: {\n forgotPassword: {\n title: \"Password Recovery\",\n desc: \"Please enter your email to receive a verification code.\",\n mailSent: \"Check your email\",\n mailSentDesc: \"We have sent a password recovery to your email\",\n },\n },\n accessDenied: {\n layout: {\n title: \"Access Denied\",\n subtitle: \"You don't have permission to access this page.\",\n },\n },\n },\n};\n"],"names":["pages"],"mappings":"AAAA,MAAAA,IAAe;AAAA,EACb,OAAO;AAAA,IACL,MAAM;AAAA,MACJ,gBAAgB;AAAA,QACd,OAAO;AAAA,QACP,MAAM;AAAA,QACN,UAAU;AAAA,QACV,cAAc;AAAA,MAAA;AAAA,IAChB;AAAA,IAEF,cAAc;AAAA,MACZ,QAAQ;AAAA,QACN,OAAO;AAAA,QACP,UAAU;AAAA,MAAA;AAAA,IACZ;AAAA,EACF;AAEJ;"}
@@ -7,6 +7,12 @@ const e = {
7
7
  mailSent: "Verifique seu email",
8
8
  mailSentDesc: "Enviamos uma recuperação de senha para seu email"
9
9
  }
10
+ },
11
+ accessDenied: {
12
+ layout: {
13
+ title: "Acesso Negado",
14
+ subtitle: "Você não tem permissão para acessar esta página."
15
+ }
10
16
  }
11
17
  }
12
18
  };
@@ -1 +1 @@
1
- {"version":3,"file":"pages.js","sources":["../../../../../lib/@ecme/locales/lang/ptBR/pages.ts"],"sourcesContent":["import EnPages from '../en/pages'\n\nexport default {\n pages: {\n auth: {\n forgotPassword: {\n title: 'Recuperar Senha',\n desc: 'Por favor, insira seu email para receber um link de recuperação.',\n mailSent: 'Verifique seu email',\n mailSentDesc:\n 'Enviamos uma recuperação de senha para seu email',\n },\n },\n },\n} as typeof EnPages\n"],"names":["pages"],"mappings":"AAEA,MAAAA,IAAe;AAAA,EACX,OAAO;AAAA,IACH,MAAM;AAAA,MACF,gBAAgB;AAAA,QACZ,OAAO;AAAA,QACP,MAAM;AAAA,QACN,UAAU;AAAA,QACV,cACI;AAAA,MAAA;AAAA,IACR;AAAA,EACJ;AAER;"}
1
+ {"version":3,"file":"pages.js","sources":["../../../../../lib/@ecme/locales/lang/ptBR/pages.ts"],"sourcesContent":["import EnPages from '../en/pages'\n\nexport default {\n pages: {\n auth: {\n forgotPassword: {\n title: 'Recuperar Senha',\n desc: 'Por favor, insira seu email para receber um link de recuperação.',\n mailSent: 'Verifique seu email',\n mailSentDesc:\n 'Enviamos uma recuperação de senha para seu email',\n },\n },\n accessDenied: {\n layout: {\n title: 'Acesso Negado',\n subtitle:\n 'Você não tem permissão para acessar esta página.',\n },\n }\n \n },\n} as typeof EnPages\n"],"names":["pages"],"mappings":"AAEA,MAAAA,IAAe;AAAA,EACX,OAAO;AAAA,IACH,MAAM;AAAA,MACF,gBAAgB;AAAA,QACZ,OAAO;AAAA,QACP,MAAM;AAAA,QACN,UAAU;AAAA,QACV,cACI;AAAA,MAAA;AAAA,IACR;AAAA,IAEJ,cAAc;AAAA,MACT,QAAQ;AAAA,QACT,OAAO;AAAA,QACP,UACI;AAAA,MAAA;AAAA,IACR;AAAA,EACA;AAGR;"}
@@ -1,14 +1,14 @@
1
- import { jsx as e, jsxs as s } from "react/jsx-runtime";
2
- import l from "../../../components/shared/Container.js";
3
- import a from "../../../assets/svg/SpaceSignBoard.js";
4
- import { useTranslation as r } from "react-i18next";
1
+ import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
+ import a from "../../../components/shared/Container.js";
3
+ import c from "../../../assets/svg/SpaceSignBoard.js";
4
+ import { useTranslation as i } from "react-i18next";
5
5
  const m = () => {
6
- const { t } = r();
7
- return /* @__PURE__ */ e(l, { className: "h-full", children: /* @__PURE__ */ s("div", { className: "h-full flex flex-col items-center justify-center", children: [
8
- /* @__PURE__ */ e(a, { height: 280, width: 280 }),
9
- /* @__PURE__ */ s("div", { className: "mt-10 text-center", children: [
10
- /* @__PURE__ */ e("h3", { className: "mb-2", children: t("page.layout.title") }),
11
- /* @__PURE__ */ e("p", { className: "text-base", children: t("page.layout.subtitle") })
6
+ const { t: s } = i();
7
+ return /* @__PURE__ */ e(a, { className: "h-full", children: /* @__PURE__ */ t("div", { className: "h-full flex flex-col items-center justify-center", children: [
8
+ /* @__PURE__ */ e(c, { height: 280, width: 280 }),
9
+ /* @__PURE__ */ t("div", { className: "mt-10 text-center", children: [
10
+ /* @__PURE__ */ e("h3", { className: "mb-2", children: s("pages.accessDenied.layout.title") }),
11
+ /* @__PURE__ */ e("p", { className: "text-base", children: s("pages.accessDenied.layout.subtitle") })
12
12
  ] })
13
13
  ] }) });
14
14
  };
@@ -1 +1 @@
1
- {"version":3,"file":"AccessDenied.js","sources":["../../../../../lib/@ecme/views/others/AccessDenied/AccessDenied.tsx"],"sourcesContent":["import Container from \"@/components/shared/Container\";\nimport SpaceSignBoard from \"@/assets/svg/SpaceSignBoard\";\nimport { useTranslation } from \"react-i18next\";\n\nconst AccessDenied = () => {\n const { t } = useTranslation();\n return (\n <Container className=\"h-full\">\n <div className=\"h-full flex flex-col items-center justify-center\">\n <SpaceSignBoard height={280} width={280} />\n <div className=\"mt-10 text-center\">\n <h3 className=\"mb-2\">{t(\"page.layout.title\")}</h3>\n <p className=\"text-base\">{t(\"page.layout.subtitle\")}</p>\n </div>\n </div>\n </Container>\n );\n};\n\nexport default AccessDenied;\n"],"names":["AccessDenied","useTranslation","Container","jsxs","jsx","SpaceSignBoard"],"mappings":";;;;AAIA,MAAMA,IAAe,MAAM;AACzB,QAAM,EAAE,EAAA,IAAMC,EAAA;AACd,2BACGC,GAAA,EAAU,WAAU,UACnB,UAAA,gBAAAC,EAAC,OAAA,EAAI,WAAU,oDACb,UAAA;AAAA,IAAA,gBAAAC,EAACC,GAAA,EAAe,QAAQ,KAAK,OAAO,KAAK;AAAA,IACzC,gBAAAF,EAAC,OAAA,EAAI,WAAU,qBACb,UAAA;AAAA,MAAA,gBAAAC,EAAC,MAAA,EAAG,WAAU,QAAQ,UAAA,EAAE,mBAAmB,GAAE;AAAA,wBAC5C,KAAA,EAAE,WAAU,aAAa,UAAA,EAAE,sBAAsB,EAAA,CAAE;AAAA,IAAA,EAAA,CACtD;AAAA,EAAA,EAAA,CACF,EAAA,CACF;AAEJ;"}
1
+ {"version":3,"file":"AccessDenied.js","sources":["../../../../../lib/@ecme/views/others/AccessDenied/AccessDenied.tsx"],"sourcesContent":["import Container from \"@/components/shared/Container\";\nimport SpaceSignBoard from \"@/assets/svg/SpaceSignBoard\";\nimport { useTranslation } from \"react-i18next\";\n\nconst AccessDenied = () => {\n const { t } = useTranslation();\n return (\n <Container className=\"h-full\">\n <div className=\"h-full flex flex-col items-center justify-center\">\n <SpaceSignBoard height={280} width={280} />\n <div className=\"mt-10 text-center\">\n <h3 className=\"mb-2\">{t(\"pages.accessDenied.layout.title\")}</h3>\n <p className=\"text-base\">{t(\"pages.accessDenied.layout.subtitle\")}</p>\n </div>\n </div>\n </Container>\n );\n};\n\nexport default AccessDenied;\n"],"names":["AccessDenied","t","useTranslation","Container","jsxs","jsx","SpaceSignBoard"],"mappings":";;;;AAIA,MAAMA,IAAe,MAAM;AACzB,QAAM,EAAE,GAAAC,EAAA,IAAMC,EAAA;AACd,2BACGC,GAAA,EAAU,WAAU,UACnB,UAAA,gBAAAC,EAAC,OAAA,EAAI,WAAU,oDACb,UAAA;AAAA,IAAA,gBAAAC,EAACC,GAAA,EAAe,QAAQ,KAAK,OAAO,KAAK;AAAA,IACzC,gBAAAF,EAAC,OAAA,EAAI,WAAU,qBACb,UAAA;AAAA,MAAA,gBAAAC,EAAC,MAAA,EAAG,WAAU,QAAQ,UAAAJ,EAAE,iCAAiC,GAAE;AAAA,wBAC1D,KAAA,EAAE,WAAU,aAAa,UAAAA,EAAE,oCAAoC,EAAA,CAAE;AAAA,IAAA,EAAA,CACpE;AAAA,EAAA,EAAA,CACF,EAAA,CACF;AAEJ;"}
@@ -1 +1 @@
1
- {"version":3,"file":"AuthorityGuard.d.ts","sourceRoot":"","sources":["../../../../../lib/@ecme/components/route/AuthorityGuard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAIzC,KAAK,mBAAmB,GAAG,iBAAiB,CAAC;IACzC,aAAa,CAAC,EAAE,MAAM,EAAE,CAAA;IACxB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;CACvB,CAAC,CAAA;AAEF,QAAA,MAAM,cAAc,GAAI,OAAO,mBAAmB,4CAMjD,CAAA;AAED,eAAe,cAAc,CAAA"}
1
+ {"version":3,"file":"AuthorityGuard.d.ts","sourceRoot":"","sources":["../../../../../lib/@ecme/components/route/AuthorityGuard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAIzC,KAAK,mBAAmB,GAAG,iBAAiB,CAAC;IACzC,aAAa,CAAC,EAAE,MAAM,EAAE,CAAA;IACxB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;CACvB,CAAC,CAAA;AAEF,QAAA,MAAM,cAAc,GAAI,OAAO,mBAAmB,4CAUjD,CAAA;AAED,eAAe,cAAc,CAAA"}
@@ -8,6 +8,12 @@ declare const _default: {
8
8
  mailSentDesc: string;
9
9
  };
10
10
  };
11
+ accessDenied: {
12
+ layout: {
13
+ title: string;
14
+ subtitle: string;
15
+ };
16
+ };
11
17
  };
12
18
  common: {
13
19
  select: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../lib/@ecme/locales/lang/en/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../lib/@ecme/locales/lang/en/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIC"}
@@ -8,6 +8,12 @@ declare const _default: {
8
8
  mailSentDesc: string;
9
9
  };
10
10
  };
11
+ accessDenied: {
12
+ layout: {
13
+ title: string;
14
+ subtitle: string;
15
+ };
16
+ };
11
17
  };
12
18
  };
13
19
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"pages.d.ts","sourceRoot":"","sources":["../../../../../../lib/@ecme/locales/lang/en/pages.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wBAYC"}
1
+ {"version":3,"file":"pages.d.ts","sourceRoot":"","sources":["../../../../../../lib/@ecme/locales/lang/en/pages.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,wBAiBE"}
@@ -8,6 +8,12 @@ declare const _default: {
8
8
  mailSentDesc: string;
9
9
  };
10
10
  };
11
+ accessDenied: {
12
+ layout: {
13
+ title: string;
14
+ subtitle: string;
15
+ };
16
+ };
11
17
  };
12
18
  common: {
13
19
  select: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../lib/@ecme/locales/lang/ptBR/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../lib/@ecme/locales/lang/ptBR/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIC"}
@@ -1 +1 @@
1
- {"version":3,"file":"pages.d.ts","sourceRoot":"","sources":["../../../../../../lib/@ecme/locales/lang/ptBR/pages.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,aAAa,CAAA;wBAc5B,OAAO,OAAO;AAZnB,wBAYmB"}
1
+ {"version":3,"file":"pages.d.ts","sourceRoot":"","sources":["../../../../../../lib/@ecme/locales/lang/ptBR/pages.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,aAAa,CAAA;wBAsB5B,OAAO,OAAO;AApBnB,wBAoBmB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbe-agro/client-core",
3
- "version": "5.3.42",
3
+ "version": "5.3.43",
4
4
  "description": "Biblioteca principal de componentes e utilidades para os microfrontends do Orbe Agro.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,9 +0,0 @@
1
- import o from "./layout.js";
2
- import a from "./params.js";
3
- const m = {
4
- page: { ...a, ...o }
5
- };
6
- export {
7
- m as default
8
- };
9
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../lib/@ecme/views/others/AccessDenied/lang/en/index.ts"],"sourcesContent":["import layout from \"./layout\";\nimport params from \"./params\";\n\nexport default {\n page: { ...params, ...layout },\n};\n"],"names":["en","params","layout"],"mappings":";;AAGA,MAAAA,IAAe;AAAA,EACb,MAAM,EAAE,GAAGC,GAAQ,GAAGC,EAAA;AACxB;"}
@@ -1,10 +0,0 @@
1
- const t = {
2
- layout: {
3
- title: "Access Denied",
4
- subtitle: "You have no permission to visit this page"
5
- }
6
- };
7
- export {
8
- t as default
9
- };
10
- //# sourceMappingURL=layout.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"layout.js","sources":["../../../../../../../lib/@ecme/views/others/AccessDenied/lang/en/layout.ts"],"sourcesContent":["export default {\n layout: {\n title: \"Access Denied\",\n subtitle: \"You have no permission to visit this page\",\n },\n};\n"],"names":["layout"],"mappings":"AAAA,MAAAA,IAAe;AAAA,EACb,QAAQ;AAAA,IACN,OAAO;AAAA,IACP,UAAU;AAAA,EAAA;AAEd;"}
@@ -1,5 +0,0 @@
1
- const a = {};
2
- export {
3
- a as default
4
- };
5
- //# sourceMappingURL=params.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"params.js","sources":["../../../../../../../lib/@ecme/views/others/AccessDenied/lang/en/params.ts"],"sourcesContent":["export default {};\n"],"names":["params"],"mappings":"AAAA,MAAAA,IAAe,CAAA;"}
@@ -1,12 +0,0 @@
1
- import "../../../../locales/index.js";
2
- import e from "./en/index.js";
3
- import r from "./ptBR/index.js";
4
- import o from "i18next";
5
- function t() {
6
- o.addResourceBundle("en", "translation", e), o.addResourceBundle("ptBR", "translation", r);
7
- }
8
- t();
9
- export {
10
- t as addPageLocaleResources
11
- };
12
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../lib/@ecme/views/others/AccessDenied/lang/index.ts"],"sourcesContent":["import i18n from '@/locales'\nimport en from './en'\nimport ptBR from './ptBR'\n\nexport function addPageLocaleResources() {\n i18n.addResourceBundle('en', 'translation', en)\n i18n.addResourceBundle('ptBR', 'translation', ptBR)\n}\n\naddPageLocaleResources()\n"],"names":["addPageLocaleResources","i18n","en","ptBR"],"mappings":";;;;AAIO,SAASA,IAAyB;AACrC,EAAAC,EAAK,kBAAkB,MAAM,eAAeC,CAAE,GAC9CD,EAAK,kBAAkB,QAAQ,eAAeE,CAAI;AACtD;AAEAH,EAAA;"}
@@ -1,9 +0,0 @@
1
- import o from "./layout.js";
2
- import t from "./params.js";
3
- const r = {
4
- page: { ...t, ...o }
5
- };
6
- export {
7
- r as default
8
- };
9
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../lib/@ecme/views/others/AccessDenied/lang/ptBR/index.ts"],"sourcesContent":["import EnBase from \"../en\";\nimport layout from \"./layout\";\nimport params from \"./params\";\n\nexport default {\n page: { ...params, ...layout },\n} as typeof EnBase;\n"],"names":["ptBR","params","layout"],"mappings":";;AAIA,MAAAA,IAAe;AAAA,EACb,MAAM,EAAE,GAAGC,GAAQ,GAAGC,EAAA;AACxB;"}
@@ -1,10 +0,0 @@
1
- const a = {
2
- layout: {
3
- title: "Acesso Negado",
4
- subtitle: "Você não tem permissão para acessar essa página."
5
- }
6
- };
7
- export {
8
- a as default
9
- };
10
- //# sourceMappingURL=layout.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"layout.js","sources":["../../../../../../../lib/@ecme/views/others/AccessDenied/lang/ptBR/layout.ts"],"sourcesContent":["import EnLayout from \"../en/layout\";\n\nexport default {\n layout: {\n title: \"Acesso Negado\",\n subtitle: \"Você não tem permissão para acessar essa página.\",\n },\n} as typeof EnLayout;\n"],"names":["layout"],"mappings":"AAEA,MAAAA,IAAe;AAAA,EACb,QAAQ;AAAA,IACN,OAAO;AAAA,IACP,UAAU;AAAA,EAAA;AAEd;"}
@@ -1,5 +0,0 @@
1
- const a = {};
2
- export {
3
- a as default
4
- };
5
- //# sourceMappingURL=params.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"params.js","sources":["../../../../../../../lib/@ecme/views/others/AccessDenied/lang/ptBR/params.ts"],"sourcesContent":["import EnParams from '../en/params'\n\nexport default {} as typeof EnParams\n"],"names":["params"],"mappings":"AAEA,MAAAA,IAAe,CAAA;"}
@@ -1,10 +0,0 @@
1
- declare const _default: {
2
- page: {
3
- layout: {
4
- title: string;
5
- subtitle: string;
6
- };
7
- };
8
- };
9
- export default _default;
10
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../lib/@ecme/views/others/AccessDenied/lang/en/index.ts"],"names":[],"mappings":";;;;;;;;AAGA,wBAEE"}
@@ -1,8 +0,0 @@
1
- declare const _default: {
2
- layout: {
3
- title: string;
4
- subtitle: string;
5
- };
6
- };
7
- export default _default;
8
- //# sourceMappingURL=layout.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../../../../../lib/@ecme/views/others/AccessDenied/lang/en/layout.ts"],"names":[],"mappings":";;;;;;AAAA,wBAKE"}
@@ -1,3 +0,0 @@
1
- declare const _default: {};
2
- export default _default;
3
- //# sourceMappingURL=params.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"params.d.ts","sourceRoot":"","sources":["../../../../../../../../lib/@ecme/views/others/AccessDenied/lang/en/params.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
@@ -1,2 +0,0 @@
1
- export declare function addPageLocaleResources(): void;
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../lib/@ecme/views/others/AccessDenied/lang/index.ts"],"names":[],"mappings":"AAIA,wBAAgB,sBAAsB,SAGrC"}
@@ -1,4 +0,0 @@
1
- import EnBase from "../en";
2
- declare const _default: typeof EnBase;
3
- export default _default;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../lib/@ecme/views/others/AccessDenied/lang/ptBR/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,OAAO,CAAC;wBAMtB,OAAO,MAAM;AAFlB,wBAEmB"}
@@ -1,4 +0,0 @@
1
- import EnLayout from "../en/layout";
2
- declare const _default: typeof EnLayout;
3
- export default _default;
4
- //# sourceMappingURL=layout.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../../../../../lib/@ecme/views/others/AccessDenied/lang/ptBR/layout.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,cAAc,CAAC;wBAO/B,OAAO,QAAQ;AALpB,wBAKqB"}
@@ -1,4 +0,0 @@
1
- import EnParams from '../en/params';
2
- declare const _default: typeof EnParams;
3
- export default _default;
4
- //# sourceMappingURL=params.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"params.d.ts","sourceRoot":"","sources":["../../../../../../../../lib/@ecme/views/others/AccessDenied/lang/ptBR/params.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,cAAc,CAAA;wBAEd,OAAO,QAAQ;AAApC,wBAAoC"}