@orbe-agro/client-core 5.3.125 → 5.3.127
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/@types/base/configs/endpoints.config/endpoints.navigation.d.ts +0 -4
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/racao/config/segmentoProduto.d.ts +0 -4
- package/dist/@types/base/configs/endpoints.config/racao/config/segmentoProduto.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/racao/racao.d.ts +0 -4
- package/dist/@types/base/configs/endpoints.config/racao/racao.d.ts.map +1 -1
- package/dist/@types/base/services/modules/dm/tipoVeiculo/TipoVeiculoService.d.ts +1 -1
- package/dist/@types/base/services/modules/dm/tipoVeiculo/TipoVeiculoService.d.ts.map +1 -1
- package/dist/@types/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.d.ts +0 -1
- package/dist/@types/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.d.ts.map +1 -1
- package/dist/base/configs/endpoints.config/racao/config/segmentoProduto.js +0 -1
- package/dist/base/configs/endpoints.config/racao/config/segmentoProduto.js.map +1 -1
- package/dist/base/hooks/dm/tipoVeiculo/useTipoVeiculoList.js +13 -13
- package/dist/base/hooks/dm/tipoVeiculo/useTipoVeiculoList.js.map +1 -1
- package/dist/base/index.js +255 -256
- package/dist/base/services/index.js +231 -232
- package/dist/base/services/modules/dm/tipoVeiculo/TipoVeiculoService.js +5 -5
- package/dist/base/services/modules/dm/tipoVeiculo/TipoVeiculoService.js.map +1 -1
- package/dist/base/services/modules/index.js +238 -239
- package/dist/base/services/modules/racao/index.js +39 -40
- package/dist/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.js +10 -18
- package/dist/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.js.map +1 -1
- package/lib/base/configs/endpoints.config/racao/config/segmentoProduto.ts +0 -1
- package/lib/base/hooks/dm/tipoVeiculo/useTipoVeiculoList.tsx +9 -9
- package/lib/base/services/modules/dm/tipoVeiculo/TipoVeiculoService.tsx +2 -2
- package/lib/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.ts +0 -8
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.navigation.d.ts","sourceRoot":"","sources":["../../../../../lib/base/configs/endpoints.config/endpoints.navigation.ts"],"names":[],"mappings":"AAyCA,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":"AAyCA,eAAO,MAAM,SAAS,SAAS,CAAC;AAEhC,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyC7B,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"segmentoProduto.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/racao/config/segmentoProduto.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"segmentoProduto.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/racao/config/segmentoProduto.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;CAMpB,CAAA;AAED,eAAe,eAAe,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"racao.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/racao/racao.ts"],"names":[],"mappings":"AAUA,QAAA,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"racao.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/racao/racao.ts"],"names":[],"mappings":"AAUA,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUV,CAAA;AAED,eAAe,KAAK,CAAA"}
|
|
@@ -3,7 +3,7 @@ import { TTipoVeiculo } from "@base/@types/models/dm/tipoVeiculo";
|
|
|
3
3
|
type TipoVeiculoResponse = {
|
|
4
4
|
content: TTipoVeiculo[];
|
|
5
5
|
};
|
|
6
|
-
export declare function apiFindDmTipoVeiculo(
|
|
6
|
+
export declare function apiFindDmTipoVeiculo(body: any): Promise<TipoVeiculoResponse>;
|
|
7
7
|
export declare function apiFindDmTipoVeiculoByCodigo(codigo: string): Promise<TTipoVeiculo>;
|
|
8
8
|
export declare function apiFindMonitorTipoVeiculo(body?: IFilterParams): Promise<TQueryResponse<any>>;
|
|
9
9
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TipoVeiculoService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/dm/tipoVeiculo/TipoVeiculoService.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAKlE,KAAK,mBAAmB,GAAG;IACvB,OAAO,EAAE,YAAY,EAAE,CAAC;CAC3B,CAAC;AAEF,wBAAsB,oBAAoB,CAAC,IAAI,
|
|
1
|
+
{"version":3,"file":"TipoVeiculoService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/dm/tipoVeiculo/TipoVeiculoService.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAKlE,KAAK,mBAAmB,GAAG;IACvB,OAAO,EAAE,YAAY,EAAE,CAAC;CAC3B,CAAC;AAEF,wBAAsB,oBAAoB,CAAC,IAAI,KAAA,gCAM9C;AAED,wBAAsB,4BAA4B,CAAC,MAAM,EAAE,MAAM,yBAKhE;AAED,wBAAsB,yBAAyB,CAAC,IAAI,CAAC,EAAE,aAAa,gCAMnE"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { IFilterParams, TQueryResponse } from "@base/@types/api";
|
|
2
2
|
import { TSegmentoProduto } from "@base/@types/models/racao/segmentoProduto";
|
|
3
3
|
export declare function apiGetRacaoSegmentoProduto(id: string): Promise<TSegmentoProduto>;
|
|
4
|
-
export declare function apiFindRacaoSegmentoProduto(data?: {}): Promise<TSegmentoProduto[]>;
|
|
5
4
|
export declare function apiAddRacaoSegmentoProduto(body: TSegmentoProduto): Promise<TQueryResponse<TSegmentoProduto>>;
|
|
6
5
|
export declare function apiUpdateRacaoSegmentoProduto(body: TSegmentoProduto): Promise<TQueryResponse<TSegmentoProduto>>;
|
|
7
6
|
export declare function apiDeleteRacaoSegmentoProduto(id: string): Promise<TQueryResponse<TSegmentoProduto>>;
|
package/dist/@types/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentoProdutoService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAK7E,wBAAsB,0BAA0B,CAAC,EAAE,EAAE,MAAM,6BAK1D;AAED,wBAAsB,
|
|
1
|
+
{"version":3,"file":"SegmentoProdutoService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAK7E,wBAAsB,0BAA0B,CAAC,EAAE,EAAE,MAAM,6BAK1D;AAED,wBAAsB,0BAA0B,CAAC,IAAI,EAAE,gBAAgB,6CAMtE;AAED,wBAAsB,6BAA6B,CAAC,IAAI,EAAE,gBAAgB,6CAMzE;AAED,wBAAsB,6BAA6B,CAAC,EAAE,EAAE,MAAM,6CAK7D;AAED,wBAAsB,kCAAkC,CAAC,IAAI,CAAC,EAAE,aAAa,6CAM5E"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
const o = "/racao/api/racao/segmento-produto", t = {
|
|
2
2
|
findOne: { endpoint: `${o}/`, method: "get" },
|
|
3
|
-
find: { endpoint: `${o}/find`, method: "post" },
|
|
4
3
|
add: { endpoint: `${o}`, method: "post" },
|
|
5
4
|
update: { endpoint: `${o}`, method: "put" },
|
|
6
5
|
delete: { endpoint: `${o}/`, method: "delete" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"segmentoProduto.js","sources":["../../../../../../lib/base/configs/endpoints.config/racao/config/segmentoProduto.ts"],"sourcesContent":["const SEGMENTO_PRODUTO_BASE_URL = '/racao/api/racao/segmento-produto'\n\nconst segmentoProduto = {\n findOne: { endpoint: `${SEGMENTO_PRODUTO_BASE_URL}/`, method: 'get' },\n
|
|
1
|
+
{"version":3,"file":"segmentoProduto.js","sources":["../../../../../../lib/base/configs/endpoints.config/racao/config/segmentoProduto.ts"],"sourcesContent":["const SEGMENTO_PRODUTO_BASE_URL = '/racao/api/racao/segmento-produto'\n\nconst segmentoProduto = {\n findOne: { endpoint: `${SEGMENTO_PRODUTO_BASE_URL}/`, method: 'get' },\n add: { endpoint: `${SEGMENTO_PRODUTO_BASE_URL}`, method: 'post' },\n update: { endpoint: `${SEGMENTO_PRODUTO_BASE_URL}`, method: 'put' },\n delete: { endpoint: `${SEGMENTO_PRODUTO_BASE_URL}/`, method: 'delete' },\n findMonitor: { endpoint: `${SEGMENTO_PRODUTO_BASE_URL}/find-monitor`, method: 'post' },\n}\n\nexport default segmentoProduto"],"names":["SEGMENTO_PRODUTO_BASE_URL","segmentoProduto"],"mappings":"AAAA,MAAMA,IAA4B,qCAE5BC,IAAkB;AAAA,EACpB,SAAS,EAAE,UAAU,GAAGD,CAAyB,KAAK,QAAQ,MAAA;AAAA,EAC9D,KAAK,EAAE,UAAU,GAAGA,CAAyB,IAAI,QAAQ,OAAA;AAAA,EACzD,QAAQ,EAAE,UAAU,GAAGA,CAAyB,IAAI,QAAQ,MAAA;AAAA,EAC5D,QAAQ,EAAE,UAAU,GAAGA,CAAyB,KAAK,QAAQ,SAAA;AAAA,EAC7D,aAAa,EAAE,UAAU,GAAGA,CAAyB,iBAAiB,QAAQ,OAAA;AAClF;"}
|
|
@@ -2,22 +2,22 @@ import { apiFindDmTipoVeiculo as p } from "../../../services/modules/dm/tipoVeic
|
|
|
2
2
|
import { useTipoVeiculoListStore as f } from "../../../store/dm/tipoVeiculo/tipoVeiculoListStore.js";
|
|
3
3
|
import d from "swr";
|
|
4
4
|
function P() {
|
|
5
|
-
const { tableParams:
|
|
6
|
-
|
|
7
|
-
() => p(),
|
|
5
|
+
const { tableParams: e, filterParams: i, setTableParams: s, setFilterParams: a } = f((o) => o), r = ["/api/tipo-veiculo/find", i], { data: t, error: n, isLoading: c, mutate: l } = d(
|
|
6
|
+
r,
|
|
7
|
+
([, o]) => p(o),
|
|
8
8
|
{ revalidateOnFocus: !1 }
|
|
9
|
-
),
|
|
9
|
+
), u = t?.content || [], m = t?.content.length || 0;
|
|
10
10
|
return {
|
|
11
11
|
data: t,
|
|
12
|
-
tipoVeiculosList:
|
|
13
|
-
tipoVeiculosListTotal:
|
|
14
|
-
error:
|
|
15
|
-
isLoading:
|
|
16
|
-
tableParams:
|
|
17
|
-
filterParams:
|
|
18
|
-
mutate:
|
|
19
|
-
setTableParams:
|
|
20
|
-
setFilterParams:
|
|
12
|
+
tipoVeiculosList: u,
|
|
13
|
+
tipoVeiculosListTotal: m,
|
|
14
|
+
error: n,
|
|
15
|
+
isLoading: c,
|
|
16
|
+
tableParams: e,
|
|
17
|
+
filterParams: i,
|
|
18
|
+
mutate: l,
|
|
19
|
+
setTableParams: s,
|
|
20
|
+
setFilterParams: a
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTipoVeiculoList.js","sources":["../../../../../lib/base/hooks/dm/tipoVeiculo/useTipoVeiculoList.tsx"],"sourcesContent":["import { apiFindDmTipoVeiculo } from '@base/services/modules/dm/tipoVeiculo/TipoVeiculoService'
|
|
1
|
+
{"version":3,"file":"useTipoVeiculoList.js","sources":["../../../../../lib/base/hooks/dm/tipoVeiculo/useTipoVeiculoList.tsx"],"sourcesContent":["import { apiFindDmTipoVeiculo } from '@base/services/modules/dm/tipoVeiculo/TipoVeiculoService'\nimport { useTipoVeiculoListStore } from '@base/store/dm/tipoVeiculo/tipoVeiculoListStore'\nimport useSWR from 'swr'\n\nexport default function useTipoVeiculoList() {\n const { tableParams, filterParams, setTableParams, setFilterParams } =\n useTipoVeiculoListStore((state) => state)\n\n const swrKey = ['/api/tipo-veiculo/find', filterParams]\n\n const { data, error, isLoading, mutate } = useSWR(\n swrKey,\n ([, body]) => apiFindDmTipoVeiculo(body),\n { revalidateOnFocus: false },\n )\n\n const tipoVeiculosList = data?.content || []\n\n const tipoVeiculosListTotal = data?.content.length || 0\n\n return {\n data,\n tipoVeiculosList,\n tipoVeiculosListTotal,\n error,\n isLoading,\n tableParams,\n filterParams,\n mutate,\n setTableParams,\n setFilterParams,\n }\n}\n"],"names":["useTipoVeiculoList","tableParams","filterParams","setTableParams","setFilterParams","useTipoVeiculoListStore","state","swrKey","data","error","isLoading","mutate","useSWR","body","apiFindDmTipoVeiculo","tipoVeiculosList","tipoVeiculosListTotal"],"mappings":";;;AAIA,SAAwBA,IAAqB;AACzC,QAAM,EAAE,aAAAC,GAAa,cAAAC,GAAc,gBAAAC,GAAgB,iBAAAC,MAC/CC,EAAwB,CAACC,MAAUA,CAAK,GAEtCC,IAAS,CAAC,0BAA0BL,CAAY,GAEhD,EAAE,MAAAM,GAAM,OAAAC,GAAO,WAAAC,GAAW,QAAAC,MAAWC;AAAA,IACvCL;AAAA,IACA,CAAC,GAAGM,CAAI,MAAMC,EAAqBD,CAAI;AAAA,IACvC,EAAE,mBAAmB,GAAA;AAAA,EAAM,GAGzBE,IAAmBP,GAAM,WAAW,CAAA,GAEpCQ,IAAwBR,GAAM,QAAQ,UAAU;AAEtD,SAAO;AAAA,IACH,MAAAA;AAAA,IACA,kBAAAO;AAAA,IACA,uBAAAC;AAAA,IACA,OAAAP;AAAA,IACA,WAAAC;AAAA,IACA,aAAAT;AAAA,IACA,cAAAC;AAAA,IACA,QAAAS;AAAA,IACA,gBAAAR;AAAA,IACA,iBAAAC;AAAA,EAAA;AAER;"}
|