@orbe-agro/client-core 5.3.41 → 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.
- package/dist/@ecme/components/route/AuthorityGuard.js +6 -6
- package/dist/@ecme/components/route/AuthorityGuard.js.map +1 -1
- package/dist/@ecme/locales/lang/en/pages.js +6 -0
- package/dist/@ecme/locales/lang/en/pages.js.map +1 -1
- package/dist/@ecme/locales/lang/ptBR/pages.js +6 -0
- package/dist/@ecme/locales/lang/ptBR/pages.js.map +1 -1
- package/dist/@ecme/views/others/AccessDenied/AccessDenied.js +10 -10
- package/dist/@ecme/views/others/AccessDenied/AccessDenied.js.map +1 -1
- package/dist/@types/@ecme/components/route/AuthorityGuard.d.ts.map +1 -1
- package/dist/@types/@ecme/locales/lang/en/index.d.ts +6 -0
- package/dist/@types/@ecme/locales/lang/en/index.d.ts.map +1 -1
- package/dist/@types/@ecme/locales/lang/en/pages.d.ts +6 -0
- package/dist/@types/@ecme/locales/lang/en/pages.d.ts.map +1 -1
- package/dist/@types/@ecme/locales/lang/ptBR/index.d.ts +6 -0
- package/dist/@types/@ecme/locales/lang/ptBR/index.d.ts.map +1 -1
- package/dist/@types/@ecme/locales/lang/ptBR/pages.d.ts.map +1 -1
- package/dist/base/configs/endpoints.config/transportadora/contratoFrete.js +1 -1
- package/dist/base/configs/endpoints.config/transportadora/contratoFrete.js.map +1 -1
- package/package.json +1 -1
- package/dist/@ecme/views/others/AccessDenied/lang/en/index.js +0 -9
- package/dist/@ecme/views/others/AccessDenied/lang/en/index.js.map +0 -1
- package/dist/@ecme/views/others/AccessDenied/lang/en/layout.js +0 -10
- package/dist/@ecme/views/others/AccessDenied/lang/en/layout.js.map +0 -1
- package/dist/@ecme/views/others/AccessDenied/lang/en/params.js +0 -5
- package/dist/@ecme/views/others/AccessDenied/lang/en/params.js.map +0 -1
- package/dist/@ecme/views/others/AccessDenied/lang/index.js +0 -12
- package/dist/@ecme/views/others/AccessDenied/lang/index.js.map +0 -1
- package/dist/@ecme/views/others/AccessDenied/lang/ptBR/index.js +0 -9
- package/dist/@ecme/views/others/AccessDenied/lang/ptBR/index.js.map +0 -1
- package/dist/@ecme/views/others/AccessDenied/lang/ptBR/layout.js +0 -10
- package/dist/@ecme/views/others/AccessDenied/lang/ptBR/layout.js.map +0 -1
- package/dist/@ecme/views/others/AccessDenied/lang/ptBR/params.js +0 -5
- package/dist/@ecme/views/others/AccessDenied/lang/ptBR/params.js.map +0 -1
- package/dist/@types/@ecme/views/others/AccessDenied/lang/en/index.d.ts +0 -10
- package/dist/@types/@ecme/views/others/AccessDenied/lang/en/index.d.ts.map +0 -1
- package/dist/@types/@ecme/views/others/AccessDenied/lang/en/layout.d.ts +0 -8
- package/dist/@types/@ecme/views/others/AccessDenied/lang/en/layout.d.ts.map +0 -1
- package/dist/@types/@ecme/views/others/AccessDenied/lang/en/params.d.ts +0 -3
- package/dist/@types/@ecme/views/others/AccessDenied/lang/en/params.d.ts.map +0 -1
- package/dist/@types/@ecme/views/others/AccessDenied/lang/index.d.ts +0 -2
- package/dist/@types/@ecme/views/others/AccessDenied/lang/index.d.ts.map +0 -1
- package/dist/@types/@ecme/views/others/AccessDenied/lang/ptBR/index.d.ts +0 -4
- package/dist/@types/@ecme/views/others/AccessDenied/lang/ptBR/index.d.ts.map +0 -1
- package/dist/@types/@ecme/views/others/AccessDenied/lang/ptBR/layout.d.ts +0 -4
- package/dist/@types/@ecme/views/others/AccessDenied/lang/ptBR/layout.d.ts.map +0 -1
- package/dist/@types/@ecme/views/others/AccessDenied/lang/ptBR/params.d.ts +0 -4
- 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
|
|
2
|
-
import { Navigate as
|
|
3
|
-
import
|
|
4
|
-
const m = (
|
|
5
|
-
const { userAuthority:
|
|
6
|
-
return /* @__PURE__ */ t(
|
|
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,
|
|
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
|
|
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,
|
|
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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { useTranslation as
|
|
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 } =
|
|
7
|
-
return /* @__PURE__ */ e(
|
|
8
|
-
/* @__PURE__ */ e(
|
|
9
|
-
/* @__PURE__ */
|
|
10
|
-
/* @__PURE__ */ e("h3", { className: "mb-2", children:
|
|
11
|
-
/* @__PURE__ */ e("p", { className: "text-base", children:
|
|
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(\"
|
|
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,
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../lib/@ecme/locales/lang/en/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../lib/@ecme/locales/lang/en/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pages.d.ts","sourceRoot":"","sources":["../../../../../../lib/@ecme/locales/lang/en/pages.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pages.d.ts","sourceRoot":"","sources":["../../../../../../lib/@ecme/locales/lang/en/pages.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,wBAiBE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../lib/@ecme/locales/lang/ptBR/index.ts"],"names":[],"mappings":"
|
|
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;
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contratoFrete.js","sources":["../../../../../lib/base/configs/endpoints.config/transportadora/contratoFrete.ts"],"sourcesContent":["import { update } from \"lodash\"\n\nconst CONTRATO_FRETE_URL = '/api/contrato-frete-pamcard'\n\nconst contratoFrete = {\n findOne: {endpoint: `${CONTRATO_FRETE_URL}/`, method: 'get'},\n add: {endpoint: `${CONTRATO_FRETE_URL}`, method: 'post'},\n update: {endpoint: `${CONTRATO_FRETE_URL}`, method: 'put'},\n delete: {endpoint: `${CONTRATO_FRETE_URL}/`, method: 'delete'},\n findAll: {endpoint: `${CONTRATO_FRETE_URL}/find-monitor`, method: 'post'},\n updateStatusParcela: {endpoint: `${CONTRATO_FRETE_URL}/update/status-parcela/`, method: 'put'},\n findValorBrutoContrato: {endpoint: `${CONTRATO_FRETE_URL}/update/status-parcela/`, method: 'get'},\n findCalculoFrete: {endpoint: `${CONTRATO_FRETE_URL}/find-calculo-frete`, method: 'post'},\n findContratoPorDocumento: {endpoint: `${CONTRATO_FRETE_URL}/contrato-por-documento`, method: 'post'},\n}\nexport default contratoFrete\n"],"names":["CONTRATO_FRETE_URL","contratoFrete"],"mappings":"AAEA,MAAMA,IAAqB
|
|
1
|
+
{"version":3,"file":"contratoFrete.js","sources":["../../../../../lib/base/configs/endpoints.config/transportadora/contratoFrete.ts"],"sourcesContent":["import { update } from \"lodash\"\n\nconst CONTRATO_FRETE_URL = '/transportadora/api/contrato-frete-pamcard'\n\nconst contratoFrete = {\n findOne: {endpoint: `${CONTRATO_FRETE_URL}/`, method: 'get'},\n add: {endpoint: `${CONTRATO_FRETE_URL}`, method: 'post'},\n update: {endpoint: `${CONTRATO_FRETE_URL}`, method: 'put'},\n delete: {endpoint: `${CONTRATO_FRETE_URL}/`, method: 'delete'},\n findAll: {endpoint: `${CONTRATO_FRETE_URL}/find-monitor`, method: 'post'},\n updateStatusParcela: {endpoint: `${CONTRATO_FRETE_URL}/update/status-parcela/`, method: 'put'},\n findValorBrutoContrato: {endpoint: `${CONTRATO_FRETE_URL}/update/status-parcela/`, method: 'get'},\n findCalculoFrete: {endpoint: `${CONTRATO_FRETE_URL}/find-calculo-frete`, method: 'post'},\n findContratoPorDocumento: {endpoint: `${CONTRATO_FRETE_URL}/contrato-por-documento`, method: 'post'},\n}\nexport default contratoFrete\n"],"names":["CONTRATO_FRETE_URL","contratoFrete"],"mappings":"AAEA,MAAMA,IAAqB,8CAErBC,IAAgB;AAAA,EAClB,SAAS,EAAC,UAAU,GAAGD,CAAkB,KAAK,QAAQ,MAAA;AAAA,EACtD,KAAK,EAAC,UAAU,GAAGA,CAAkB,IAAI,QAAQ,OAAA;AAAA,EACjD,QAAQ,EAAC,UAAU,GAAGA,CAAkB,IAAI,QAAQ,MAAA;AAAA,EACpD,QAAQ,EAAC,UAAU,GAAGA,CAAkB,KAAK,QAAQ,SAAA;AAAA,EACrD,SAAS,EAAC,UAAU,GAAGA,CAAkB,iBAAiB,QAAQ,OAAA;AAAA,EAClE,qBAAqB,EAAC,UAAU,GAAGA,CAAkB,2BAA2B,QAAQ,MAAA;AAAA,EACxF,wBAAwB,EAAC,UAAU,GAAGA,CAAkB,2BAA2B,QAAQ,MAAA;AAAA,EAC3F,kBAAkB,EAAC,UAAU,GAAGA,CAAkB,uBAAuB,QAAQ,OAAA;AAAA,EACjF,0BAA0B,EAAC,UAAU,GAAGA,CAAkB,2BAA2B,QAAQ,OAAA;AACjG;"}
|
package/package.json
CHANGED
|
@@ -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 +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 +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 +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 +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 +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 +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 +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 +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 +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 +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 +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 +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"}
|