@orbe-agro/client-core 5.3.25 → 5.3.27
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/services/axios/AxiosResponseIntrceptorErrorCallback.js +11 -5
- package/dist/@ecme/services/axios/AxiosResponseIntrceptorErrorCallback.js.map +1 -1
- package/dist/@ecme/views/others/AccessDenied/AccessDenied.js +14 -10
- package/dist/@ecme/views/others/AccessDenied/AccessDenied.js.map +1 -1
- package/dist/@ecme/views/others/AccessDenied/lang/en/index.js +9 -0
- package/dist/@ecme/views/others/AccessDenied/lang/en/index.js.map +1 -0
- package/dist/@ecme/views/others/AccessDenied/lang/en/layout.js +10 -0
- package/dist/@ecme/views/others/AccessDenied/lang/en/layout.js.map +1 -0
- package/dist/@ecme/views/others/AccessDenied/lang/en/params.js +5 -0
- package/dist/@ecme/views/others/AccessDenied/lang/en/params.js.map +1 -0
- package/dist/@ecme/views/others/AccessDenied/lang/index.js +12 -0
- package/dist/@ecme/views/others/AccessDenied/lang/index.js.map +1 -0
- package/dist/@ecme/views/others/AccessDenied/lang/ptBR/index.js +9 -0
- package/dist/@ecme/views/others/AccessDenied/lang/ptBR/index.js.map +1 -0
- package/dist/@ecme/views/others/AccessDenied/lang/ptBR/layout.js +10 -0
- package/dist/@ecme/views/others/AccessDenied/lang/ptBR/layout.js.map +1 -0
- package/dist/@ecme/views/others/AccessDenied/lang/ptBR/params.js +5 -0
- package/dist/@ecme/views/others/AccessDenied/lang/ptBR/params.js.map +1 -0
- package/dist/@types/@ecme/services/axios/AxiosResponseIntrceptorErrorCallback.d.ts +2 -2
- package/dist/@types/@ecme/services/axios/AxiosResponseIntrceptorErrorCallback.d.ts.map +1 -1
- package/dist/@types/@ecme/store/authStore.d.ts +5 -3
- package/dist/@types/@ecme/store/authStore.d.ts.map +1 -1
- package/dist/@types/@ecme/store/localeStore.d.ts +15 -3
- package/dist/@types/@ecme/store/localeStore.d.ts.map +1 -1
- package/dist/@types/@ecme/store/themeStore.d.ts +5 -3
- package/dist/@types/@ecme/store/themeStore.d.ts.map +1 -1
- package/dist/@types/@ecme/views/others/AccessDenied/AccessDenied.d.ts.map +1 -1
- package/dist/@types/@ecme/views/others/AccessDenied/lang/en/index.d.ts +10 -0
- package/dist/@types/@ecme/views/others/AccessDenied/lang/en/index.d.ts.map +1 -0
- package/dist/@types/@ecme/views/others/AccessDenied/lang/en/layout.d.ts +8 -0
- package/dist/@types/@ecme/views/others/AccessDenied/lang/en/layout.d.ts.map +1 -0
- package/dist/@types/@ecme/views/others/AccessDenied/lang/en/params.d.ts +3 -0
- package/dist/@types/@ecme/views/others/AccessDenied/lang/en/params.d.ts.map +1 -0
- package/dist/@types/@ecme/views/others/AccessDenied/lang/index.d.ts +2 -0
- package/dist/@types/@ecme/views/others/AccessDenied/lang/index.d.ts.map +1 -0
- package/dist/@types/@ecme/views/others/AccessDenied/lang/ptBR/index.d.ts +4 -0
- package/dist/@types/@ecme/views/others/AccessDenied/lang/ptBR/index.d.ts.map +1 -0
- package/dist/@types/@ecme/views/others/AccessDenied/lang/ptBR/layout.d.ts +4 -0
- package/dist/@types/@ecme/views/others/AccessDenied/lang/ptBR/layout.d.ts.map +1 -0
- package/dist/@types/@ecme/views/others/AccessDenied/lang/ptBR/params.d.ts +4 -0
- package/dist/@types/@ecme/views/others/AccessDenied/lang/ptBR/params.d.ts.map +1 -0
- package/dist/@types/base/@types/api.d.ts +36 -0
- package/dist/@types/base/@types/api.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts +4 -0
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/transportadora/contratoFrete.d.ts +4 -0
- package/dist/@types/base/configs/endpoints.config/transportadora/contratoFrete.d.ts.map +1 -1
- package/dist/@types/base/services/modules/transportadora/ContratoFrete/ContratoFreteService.d.ts +2 -0
- package/dist/@types/base/services/modules/transportadora/ContratoFrete/ContratoFreteService.d.ts.map +1 -1
- package/dist/base/configs/endpoints.config/transportadora/contratoFrete.js +2 -1
- package/dist/base/configs/endpoints.config/transportadora/contratoFrete.js.map +1 -1
- package/dist/base/index.js +69 -68
- package/dist/base/services/index.js +65 -64
- package/dist/base/services/modules/index.js +65 -64
- package/dist/base/services/modules/transportadora/ContratoFrete/ContratoFreteService.js +14 -6
- package/dist/base/services/modules/transportadora/ContratoFrete/ContratoFreteService.js.map +1 -1
- package/dist/base/services/modules/transportadora/index.js +65 -64
- package/package.json +1 -1
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
import { useToken as n, useSessionUser as
|
|
2
|
-
const r = [401, 419, 440],
|
|
3
|
-
const { response: e } =
|
|
4
|
-
e && r.includes(e.status)
|
|
1
|
+
import { useToken as n, useSessionUser as t } from "../../store/authStore.js";
|
|
2
|
+
const r = [401, 403, 419, 440], a = (s) => {
|
|
3
|
+
const { response: e } = s, { setToken: o } = n();
|
|
4
|
+
if (e && r.includes(e.status)) {
|
|
5
|
+
if (e.status === 403)
|
|
6
|
+
return window.location.href = "/access-denied", new Promise(() => {
|
|
7
|
+
});
|
|
8
|
+
o(""), t.getState().setUser({}), t.getState().setSessionSignedIn(!1);
|
|
9
|
+
}
|
|
10
|
+
return Promise.reject(s);
|
|
5
11
|
};
|
|
6
12
|
export {
|
|
7
|
-
|
|
13
|
+
a as default
|
|
8
14
|
};
|
|
9
15
|
//# sourceMappingURL=AxiosResponseIntrceptorErrorCallback.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AxiosResponseIntrceptorErrorCallback.js","sources":["../../../../lib/@ecme/services/axios/AxiosResponseIntrceptorErrorCallback.ts"],"sourcesContent":["import { useSessionUser, useToken } from
|
|
1
|
+
{"version":3,"file":"AxiosResponseIntrceptorErrorCallback.js","sources":["../../../../lib/@ecme/services/axios/AxiosResponseIntrceptorErrorCallback.ts"],"sourcesContent":["import { useSessionUser, useToken } from \"@/store/authStore\";\nimport type { AxiosError } from \"axios\";\n\nconst unauthorizedCode = [401, 403, 419, 440];\n\nconst AxiosResponseIntrceptorErrorCallback = (error: AxiosError) => {\n const { response } = error;\n const { setToken } = useToken();\n\n if (response && unauthorizedCode.includes(response.status)) {\n if (response.status === 403) {\n window.location.href = \"/access-denied\";\n return new Promise(() => {});\n }\n\n setToken(\"\");\n useSessionUser.getState().setUser({});\n useSessionUser.getState().setSessionSignedIn(false);\n }\n\n return Promise.reject(error);\n};\n\nexport default AxiosResponseIntrceptorErrorCallback;\n"],"names":["unauthorizedCode","AxiosResponseIntrceptorErrorCallback","error","response","setToken","useToken","useSessionUser"],"mappings":";AAGA,MAAMA,IAAmB,CAAC,KAAK,KAAK,KAAK,GAAG,GAEtCC,IAAuC,CAACC,MAAsB;AAClE,QAAM,EAAE,UAAAC,MAAaD,GACf,EAAE,UAAAE,EAAA,IAAaC,EAAA;AAErB,MAAIF,KAAYH,EAAiB,SAASG,EAAS,MAAM,GAAG;AAC1D,QAAIA,EAAS,WAAW;AACtB,oBAAO,SAAS,OAAO,kBAChB,IAAI,QAAQ,MAAM;AAAA,MAAC,CAAC;AAG7B,IAAAC,EAAS,EAAE,GACXE,EAAe,SAAA,EAAW,QAAQ,EAAE,GACpCA,EAAe,SAAA,EAAW,mBAAmB,EAAK;AAAA,EACpD;AAEA,SAAO,QAAQ,OAAOJ,CAAK;AAC7B;"}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { jsx as e, jsxs as s } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
/* @__PURE__ */ e(
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
import l from "../../../components/shared/Container.js";
|
|
3
|
+
import a from "../../../assets/svg/SpaceSignBoard.js";
|
|
4
|
+
import { useTranslation as r } from "react-i18next";
|
|
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") })
|
|
12
|
+
] })
|
|
13
|
+
] }) });
|
|
14
|
+
};
|
|
11
15
|
export {
|
|
12
|
-
|
|
16
|
+
m as default
|
|
13
17
|
};
|
|
14
18
|
//# sourceMappingURL=AccessDenied.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccessDenied.js","sources":["../../../../../lib/@ecme/views/others/AccessDenied/AccessDenied.tsx"],"sourcesContent":["import Container from
|
|
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;"}
|
|
@@ -0,0 +1 @@
|
|
|
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;"}
|
|
@@ -0,0 +1 @@
|
|
|
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;"}
|
|
@@ -0,0 +1 @@
|
|
|
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;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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;"}
|
|
@@ -0,0 +1 @@
|
|
|
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;"}
|
|
@@ -0,0 +1 @@
|
|
|
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;"}
|
|
@@ -0,0 +1 @@
|
|
|
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,4 +1,4 @@
|
|
|
1
|
-
import type { AxiosError } from
|
|
2
|
-
declare const AxiosResponseIntrceptorErrorCallback: (error: AxiosError) =>
|
|
1
|
+
import type { AxiosError } from "axios";
|
|
2
|
+
declare const AxiosResponseIntrceptorErrorCallback: (error: AxiosError) => Promise<unknown>;
|
|
3
3
|
export default AxiosResponseIntrceptorErrorCallback;
|
|
4
4
|
//# sourceMappingURL=AxiosResponseIntrceptorErrorCallback.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AxiosResponseIntrceptorErrorCallback.d.ts","sourceRoot":"","sources":["../../../../../lib/@ecme/services/axios/AxiosResponseIntrceptorErrorCallback.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"AxiosResponseIntrceptorErrorCallback.d.ts","sourceRoot":"","sources":["../../../../../lib/@ecme/services/axios/AxiosResponseIntrceptorErrorCallback.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAIxC,QAAA,MAAM,oCAAoC,GAAI,OAAO,UAAU,qBAgB9D,CAAC;AAEF,eAAe,oCAAoC,CAAC"}
|
|
@@ -10,15 +10,17 @@ type AuthAction = {
|
|
|
10
10
|
setSessionSignedIn: (payload: boolean) => void;
|
|
11
11
|
setUser: (payload: User) => void;
|
|
12
12
|
};
|
|
13
|
-
export declare const useSessionUser: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<AuthState & AuthAction>, "persist"> & {
|
|
13
|
+
export declare const useSessionUser: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<AuthState & AuthAction>, "setState" | "persist"> & {
|
|
14
|
+
setState(partial: (AuthState & AuthAction) | Partial<AuthState & AuthAction> | ((state: AuthState & AuthAction) => (AuthState & AuthAction) | Partial<AuthState & AuthAction>), replace?: false | undefined): unknown;
|
|
15
|
+
setState(state: (AuthState & AuthAction) | ((state: AuthState & AuthAction) => AuthState & AuthAction), replace: true): unknown;
|
|
14
16
|
persist: {
|
|
15
|
-
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<AuthState & AuthAction, unknown>>) => void;
|
|
17
|
+
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<AuthState & AuthAction, unknown, unknown>>) => void;
|
|
16
18
|
clearStorage: () => void;
|
|
17
19
|
rehydrate: () => Promise<void> | void;
|
|
18
20
|
hasHydrated: () => boolean;
|
|
19
21
|
onHydrate: (fn: (state: AuthState & AuthAction) => void) => () => void;
|
|
20
22
|
onFinishHydration: (fn: (state: AuthState & AuthAction) => void) => () => void;
|
|
21
|
-
getOptions: () => Partial<import("zustand/middleware").PersistOptions<AuthState & AuthAction, unknown>>;
|
|
23
|
+
getOptions: () => Partial<import("zustand/middleware").PersistOptions<AuthState & AuthAction, unknown, unknown>>;
|
|
22
24
|
};
|
|
23
25
|
}>;
|
|
24
26
|
export declare const useToken: () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authStore.d.ts","sourceRoot":"","sources":["../../../../lib/@ecme/store/authStore.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AAEzC,KAAK,OAAO,GAAG;IACX,QAAQ,EAAE,OAAO,CAAA;CACpB,CAAA;AAED,KAAK,SAAS,GAAG;IACb,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,IAAI,CAAA;CACb,CAAA;AAED,KAAK,UAAU,GAAG;IACd,kBAAkB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;IAC9C,OAAO,EAAE,CAAC,OAAO,EAAE,IAAI,KAAK,IAAI,CAAA;CACnC,CAAA;AA0BD,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"authStore.d.ts","sourceRoot":"","sources":["../../../../lib/@ecme/store/authStore.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AAEzC,KAAK,OAAO,GAAG;IACX,QAAQ,EAAE,OAAO,CAAA;CACpB,CAAA;AAED,KAAK,SAAS,GAAG;IACb,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,IAAI,CAAA;CACb,CAAA;AAED,KAAK,UAAU,GAAG;IACd,kBAAkB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;IAC9C,OAAO,EAAE,CAAC,OAAO,EAAE,IAAI,KAAK,IAAI,CAAA;CACnC,CAAA;AA0BD,eAAO,MAAM,cAAc;;;;;;;;;;;;EAqB1B,CAAA;AAED,eAAO,MAAM,QAAQ;sBAGQ,MAAM;;CAQlC,CAAA"}
|
|
@@ -18,15 +18,27 @@ export declare const useLocaleStore: import("zustand").UseBoundStore<Omit<Omit<i
|
|
|
18
18
|
devtools: {
|
|
19
19
|
cleanup: () => void;
|
|
20
20
|
};
|
|
21
|
-
}, "persist"> & {
|
|
21
|
+
}, "setState" | "persist"> & {
|
|
22
|
+
setState(partial: LocaleState | Partial<LocaleState> | ((state: LocaleState) => LocaleState | Partial<LocaleState>), replace?: false | undefined, action?: (string | {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
[x: number]: unknown;
|
|
25
|
+
[x: symbol]: unknown;
|
|
26
|
+
type: string;
|
|
27
|
+
}) | undefined): unknown;
|
|
28
|
+
setState(state: LocaleState | ((state: LocaleState) => LocaleState), replace: true, action?: (string | {
|
|
29
|
+
[x: string]: unknown;
|
|
30
|
+
[x: number]: unknown;
|
|
31
|
+
[x: symbol]: unknown;
|
|
32
|
+
type: string;
|
|
33
|
+
}) | undefined): unknown;
|
|
22
34
|
persist: {
|
|
23
|
-
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<LocaleState, LocaleState>>) => void;
|
|
35
|
+
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<LocaleState, LocaleState, unknown>>) => void;
|
|
24
36
|
clearStorage: () => void;
|
|
25
37
|
rehydrate: () => Promise<void> | void;
|
|
26
38
|
hasHydrated: () => boolean;
|
|
27
39
|
onHydrate: (fn: (state: LocaleState) => void) => () => void;
|
|
28
40
|
onFinishHydration: (fn: (state: LocaleState) => void) => () => void;
|
|
29
|
-
getOptions: () => Partial<import("zustand/middleware").PersistOptions<LocaleState, LocaleState>>;
|
|
41
|
+
getOptions: () => Partial<import("zustand/middleware").PersistOptions<LocaleState, LocaleState, unknown>>;
|
|
30
42
|
};
|
|
31
43
|
}>;
|
|
32
44
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localeStore.d.ts","sourceRoot":"","sources":["../../../../lib/@ecme/store/localeStore.ts"],"names":[],"mappings":"AAOA,KAAK,WAAW,GAAG;IACf,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;CACrC,CAAA;AAED,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"localeStore.d.ts","sourceRoot":"","sources":["../../../../lib/@ecme/store/localeStore.ts"],"names":[],"mappings":"AAOA,KAAK,WAAW,GAAG;IACf,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;CACrC,CAAA;AAED,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyB1B,CAAA"}
|
|
@@ -9,15 +9,17 @@ type ThemeAction = {
|
|
|
9
9
|
setLayout: (payload: LayoutType) => void;
|
|
10
10
|
setPreviousLayout: (payload: LayoutType | '') => void;
|
|
11
11
|
};
|
|
12
|
-
export declare const useThemeStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<Theme & ThemeAction>, "persist"> & {
|
|
12
|
+
export declare const useThemeStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<Theme & ThemeAction>, "setState" | "persist"> & {
|
|
13
|
+
setState(partial: (Theme & ThemeAction) | Partial<Theme & ThemeAction> | ((state: Theme & ThemeAction) => (Theme & ThemeAction) | Partial<Theme & ThemeAction>), replace?: false | undefined): unknown;
|
|
14
|
+
setState(state: (Theme & ThemeAction) | ((state: Theme & ThemeAction) => Theme & ThemeAction), replace: true): unknown;
|
|
13
15
|
persist: {
|
|
14
|
-
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<Theme & ThemeAction, Theme & ThemeAction>>) => void;
|
|
16
|
+
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<Theme & ThemeAction, Theme & ThemeAction, unknown>>) => void;
|
|
15
17
|
clearStorage: () => void;
|
|
16
18
|
rehydrate: () => Promise<void> | void;
|
|
17
19
|
hasHydrated: () => boolean;
|
|
18
20
|
onHydrate: (fn: (state: Theme & ThemeAction) => void) => () => void;
|
|
19
21
|
onFinishHydration: (fn: (state: Theme & ThemeAction) => void) => () => void;
|
|
20
|
-
getOptions: () => Partial<import("zustand/middleware").PersistOptions<Theme & ThemeAction, Theme & ThemeAction>>;
|
|
22
|
+
getOptions: () => Partial<import("zustand/middleware").PersistOptions<Theme & ThemeAction, Theme & ThemeAction, unknown>>;
|
|
21
23
|
};
|
|
22
24
|
}>;
|
|
23
25
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"themeStore.d.ts","sourceRoot":"","sources":["../../../../lib/@ecme/store/themeStore.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAElE,KAAK,UAAU,GAAG,KAAK,CAAA;AAEvB,KAAK,WAAW,GAAG;IACf,SAAS,EAAE,CAAC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|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccessDenied.d.ts","sourceRoot":"","sources":["../../../../../../lib/@ecme/views/others/AccessDenied/AccessDenied.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AccessDenied.d.ts","sourceRoot":"","sources":["../../../../../../lib/@ecme/views/others/AccessDenied/AccessDenied.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,YAAY,+CAajB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../lib/@ecme/views/others/AccessDenied/lang/en/index.ts"],"names":[],"mappings":";;;;;;;;AAGA,wBAEE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../../../../../lib/@ecme/views/others/AccessDenied/lang/en/layout.ts"],"names":[],"mappings":";;;;;;AAAA,wBAKE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"params.d.ts","sourceRoot":"","sources":["../../../../../../../../lib/@ecme/views/others/AccessDenied/lang/en/params.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../lib/@ecme/views/others/AccessDenied/lang/index.ts"],"names":[],"mappings":"AAIA,wBAAgB,sBAAsB,SAGrC"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -49,4 +49,40 @@ export type TQueryResponse<T> = {
|
|
|
49
49
|
first: boolean;
|
|
50
50
|
empty: boolean;
|
|
51
51
|
};
|
|
52
|
+
export type TPageCalculoFreteRequest = {
|
|
53
|
+
dataInicial: string;
|
|
54
|
+
dataFinal: string;
|
|
55
|
+
};
|
|
56
|
+
export type TCalculoFreteResponse = {
|
|
57
|
+
cpfCnpj: string;
|
|
58
|
+
motorista: string;
|
|
59
|
+
dtEmissao: string;
|
|
60
|
+
contrato: string;
|
|
61
|
+
moduloTransporte: string;
|
|
62
|
+
produto: string;
|
|
63
|
+
cidade: string;
|
|
64
|
+
estado: string;
|
|
65
|
+
peso: number;
|
|
66
|
+
pedagio: number;
|
|
67
|
+
txEmpresa: number;
|
|
68
|
+
txMotorista: number;
|
|
69
|
+
tarifas: number;
|
|
70
|
+
vlEmpresa: number;
|
|
71
|
+
vlMotorista: number;
|
|
72
|
+
vlMotLiquido: number;
|
|
73
|
+
tarifa: number;
|
|
74
|
+
inss: number;
|
|
75
|
+
sest: number;
|
|
76
|
+
irpf: number;
|
|
77
|
+
iss: number;
|
|
78
|
+
outros: number;
|
|
79
|
+
vlLiquidoFrete: number;
|
|
80
|
+
vlLiquidoPedag: number;
|
|
81
|
+
lucro: number;
|
|
82
|
+
adto: number;
|
|
83
|
+
saldoFinal: number;
|
|
84
|
+
classe: string;
|
|
85
|
+
rota: string;
|
|
86
|
+
especie: string;
|
|
87
|
+
};
|
|
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ACf,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.navigation.d.ts","sourceRoot":"","sources":["../../../../../lib/base/configs/endpoints.config/endpoints.navigation.ts"],"names":[],"mappings":"AAqCA,eAAO,MAAM,SAAS,SAAS,CAAC;AAEhC,QAAA,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"endpoints.navigation.d.ts","sourceRoot":"","sources":["../../../../../lib/base/configs/endpoints.config/endpoints.navigation.ts"],"names":[],"mappings":"AAqCA,eAAO,MAAM,SAAS,SAAS,CAAC;AAEhC,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqC7B,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contratoFrete.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/transportadora/contratoFrete.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"contratoFrete.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/transportadora/contratoFrete.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASlB,CAAA;AACD,eAAe,aAAa,CAAA"}
|
package/dist/@types/base/services/modules/transportadora/ContratoFrete/ContratoFreteService.d.ts
CHANGED
|
@@ -2,10 +2,12 @@ import { IFilterParams, TQueryResponse } from '@base/@types/api';
|
|
|
2
2
|
import { TContratoFrete } from '@base/@types/models/transportadora/contratoFrete';
|
|
3
3
|
import { TContratoFreteViagemParcela } from '@base/@types/models/transportadora/contratoFreteViagemParcela';
|
|
4
4
|
import { TValorBrutoContrato } from '@base/@types/models/transportadora/valorBrutoContrato';
|
|
5
|
+
import { TPageCalculoFreteRequest, TCalculoFreteResponse } from '@base/@types/api';
|
|
5
6
|
export declare function apiGetContratoFrete(id: string): Promise<TContratoFrete>;
|
|
6
7
|
export declare function apiAddContratoFrete(body: TContratoFrete): Promise<TQueryResponse<TContratoFrete>>;
|
|
7
8
|
export declare function apiUpdateContratoFrete(body: TContratoFrete): Promise<TQueryResponse<TContratoFrete>>;
|
|
8
9
|
export declare function apiFindAllContratoFrete(body?: IFilterParams): Promise<TQueryResponse<TContratoFrete>>;
|
|
9
10
|
export declare function apiUpdateStatusParcela(id: number, statusParcela: string, parcelas: TContratoFreteViagemParcela[]): Promise<TContratoFrete>;
|
|
10
11
|
export declare function apiFindvalorBrutoContrato(cpf: string): Promise<TQueryResponse<TValorBrutoContrato>>;
|
|
12
|
+
export declare function apiFindCalculoFrete(request: TPageCalculoFreteRequest): Promise<TQueryResponse<TCalculoFreteResponse>>;
|
|
11
13
|
//# sourceMappingURL=ContratoFreteService.d.ts.map
|
package/dist/@types/base/services/modules/transportadora/ContratoFrete/ContratoFreteService.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContratoFreteService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/transportadora/ContratoFrete/ContratoFreteService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAGhE,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EAAE,2BAA2B,EAAE,MAAM,+DAA+D,CAAC;AAC5G,OAAO,EAAE,mBAAmB,EAAE,MAAM,uDAAuD,CAAC;
|
|
1
|
+
{"version":3,"file":"ContratoFreteService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/transportadora/ContratoFrete/ContratoFreteService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAGhE,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EAAE,2BAA2B,EAAE,MAAM,+DAA+D,CAAC;AAC5G,OAAO,EAAE,mBAAmB,EAAE,MAAM,uDAAuD,CAAC;AAC5F,OAAO,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAInF,wBAAsB,mBAAmB,CAAC,EAAE,EAAE,MAAM,2BAKnD;AAED,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,cAAc,2CAM7D;AAED,wBAAsB,sBAAsB,CAAC,IAAI,EAAE,cAAc,2CAMhE;AAED,wBAAsB,uBAAuB,CAAC,IAAI,CAAC,EAAE,aAAa,2CAMjE;AAED,wBAAsB,sBAAsB,CAAC,EAAE,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,QAAQ,EAAE,2BAA2B,EAAE,2BAMtH;AAED,wBAAsB,yBAAyB,CAAC,GAAG,EAAE,MAAM,gDAK1D;AAED,wBAAsB,mBAAmB,CAAC,OAAO,EAAE,wBAAwB,kDAM1E"}
|
|
@@ -5,7 +5,8 @@ const t = "/api/contrato-frete-pamcard", e = {
|
|
|
5
5
|
delete: { endpoint: `${t}/`, method: "delete" },
|
|
6
6
|
findAll: { endpoint: `${t}/find-monitor`, method: "post" },
|
|
7
7
|
updateStatusParcela: { endpoint: `${t}/update/status-parcela/`, method: "put" },
|
|
8
|
-
findValorBrutoContrato: { endpoint: `${t}/update/status-parcela/`, method: "get" }
|
|
8
|
+
findValorBrutoContrato: { endpoint: `${t}/update/status-parcela/`, method: "get" },
|
|
9
|
+
findCalculoFrete: { endpoint: `${t}/find-calculo-frete`, method: "post" }
|
|
9
10
|
};
|
|
10
11
|
export {
|
|
11
12
|
e as default
|
|
@@ -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}
|
|
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}\nexport default contratoFrete\n"],"names":["CONTRATO_FRETE_URL","contratoFrete"],"mappings":"AAEA,MAAMA,IAAqB,+BAErBC,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;AACrF;"}
|