@orbe-agro/client-core 5.6.236 → 5.6.238

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.
@@ -3,7 +3,7 @@ import Container from "../shared/Container.js";
3
3
  import classNames from "../../utils/classNames.js";
4
4
  import { APP_NAME } from "../../constants/app.constant.js";
5
5
  import { PAGE_CONTAINER_GUTTER_X } from "../../constants/theme.constant.js";
6
- const version = true ? "5.6.236" : "0.0.0";
6
+ const version = true ? "5.6.238" : "0.0.0";
7
7
  const FooterContent = () => {
8
8
  return /* @__PURE__ */ jsxs("div", { className: "flex w-full flex-auto items-center justify-between", children: [
9
9
  /* @__PURE__ */ jsxs("span", { children: [
@@ -41,6 +41,7 @@ export type TCarga = {
41
41
  valorFreteTotal?: number;
42
42
  ordens?: TOrdensCarga[];
43
43
  produtos?: TProdutosCarga[];
44
+ agendamento?: TAgendamentoCarga;
44
45
  };
45
46
  export type TOrdensCarga = {
46
47
  id?: number;
@@ -74,6 +75,26 @@ export type TProdutosCarga = {
74
75
  peso: number;
75
76
  unidadeMedidaBase: string;
76
77
  };
78
+ export type TTransportadorasAgendamentoCarga = {
79
+ id: number;
80
+ businessPartner?: string;
81
+ nomeCompleto?: string;
82
+ cnpj?: string;
83
+ cpf?: string;
84
+ };
85
+ export type TAgendamentoCarga = {
86
+ id: number;
87
+ cargaId: number;
88
+ periodoInicial: string;
89
+ periodoFinal: string;
90
+ localId: number;
91
+ cotaDiaria: number;
92
+ tipoTransporte: 'CLIENTE_AGENDAMENTO' | 'TRANSPORTADORA' | 'CLIENTE';
93
+ tipoFrete?: 'FOB' | 'CIF';
94
+ tipoContrato: string;
95
+ dataCriacao: string;
96
+ transportadoras?: TTransportadorasAgendamentoCarga[];
97
+ };
77
98
  export type TAprovarRacaoCargaPayload = {
78
99
  periodoInicial: string;
79
100
  periodoFinal: string;
@@ -81,6 +102,7 @@ export type TAprovarRacaoCargaPayload = {
81
102
  cotaDiaria: number;
82
103
  tipoTransporte: 'CLIENTE_AGENDAMENTO' | 'TRANSPORTADORA' | 'CLIENTE';
83
104
  tipoFrete?: 'FOB' | 'CIF';
105
+ transportadoraIds?: number[];
84
106
  };
85
107
  export type TAprovarRacaoCarga = TAprovarRacaoCargaPayload;
86
108
  //# sourceMappingURL=carga.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"carga.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/models/racao/carga.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACjB,WAAW,gBAAgB;IAC3B,gBAAgB,qBAAqB;CACxC;AAED,MAAM,MAAM,eAAe,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,gBAAgB,EAAE,MAAM,CAAA;IACxB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,uBAAuB,EAAE,MAAM,CAAA;IAC/B,oBAAoB,EAAE,MAAM,CAAA;IAC5B,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,eAAe,EAAE,MAAM,CAAA;IACvB,SAAS,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,MAAM,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,uBAAuB,CAAC,EAAE,MAAM,CAAA;IAChC,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,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,GAAG,gBAAgB,GAAG,SAAS,CAAA;IACpE,SAAS,CAAC,EAAE,KAAK,GAAG,KAAK,CAAA;IACzB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;CAC/B,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,yBAAyB,CAAA"}
@@ -3,6 +3,7 @@ export type TListasTecnicas = {
3
3
  };
4
4
  export type TListaTecnica = {
5
5
  codigo: string;
6
+ textoHeader: string;
6
7
  categoria: string;
7
8
  variante: string;
8
9
  versao: string;
@@ -43,5 +44,6 @@ export type TListaTecnicaItem = {
43
44
  precoComponente: string | null;
44
45
  identificadorItem: string | null;
45
46
  descricaoComponente: string | null;
47
+ localSaida: string | null;
46
48
  };
47
49
  //# sourceMappingURL=listaTecnica.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"listaTecnica.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/models/sap/listaTecnica.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC1B,cAAc,EAAE,aAAa,EAAE,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,wBAAwB,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,mBAAmB,EAAE,MAAM,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,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"carga.js","sources":["../../../../../lib/base/@types/models/racao/carga.ts"],"sourcesContent":["export enum TipoCarga {\n ORDEM_VENDA = 'ORDEM_VENDA',\n TRANSFERENCIA_CD = 'TRANSFERENCIA_CD',\n}\n\nexport type TCargaColumnDef = {\n id: number\n dataCriacao: string\n usuarioCriacaoId: number\n usuarioCriacaoNome: string\n status?: string\n vendedorId: number\n vendedorBusinessPartner: string\n vendedorNomeCompleto: string\n centroId: number\n centroCodigo: string\n centroNome: string\n municipioId: number\n municipio: string\n municipioUf: string\n pesoTotal: number\n valorFreteTotal: number\n tipoCarga: string\n}\n\nexport type TCarga = {\n id?: number\n status?: string\n justificativaReprovacao?: string\n usuarioReprovacaoId?: number\n dataReprovacao?: string\n usuarioAprovacaoId?: number\n dataAprovacao?: string\n tipoVeiculoId: number\n vendedorId: number\n centroId: number\n tipoCarga: string\n incotermsId?: number\n chapa?: boolean\n municipioId: number\n capacidadeVeiculo: number\n pesoTotal: number\n valorFreteTotal?: number\n ordens?: TOrdensCarga[]\n produtos?: TProdutosCarga[]\n}\n\nexport type TOrdensCarga = {\n id?: number\n pedidoVendaId: number\n documentoVenda: string\n emissorId: number\n emissorBusinessPartner: string\n emissorNomeCompleto: string\n vendedorId: number\n vendedorBusinessPartner: string\n vendedorNomeCompleto: string\n pesoTotal: number\n valorFrete: number\n roteiro: string\n produtos?: TProdutosOrdemCarga[]\n}\n\nexport type TProdutosOrdemCarga = {\n produtoId: number\n codigo: string\n descricao: string\n quantidade: number\n unidadeMedida: string\n}\n\nexport type TProdutosCarga = {\n id?: number\n produtoId: number\n codigo: string\n descricao: string\n quantidade: number\n pesoTotal: number\n peso: number\n unidadeMedidaBase: string\n}\n\nexport type TAprovarRacaoCargaPayload = {\n periodoInicial: string\n periodoFinal: string\n localId: number\n cotaDiaria: number\n tipoTransporte: 'CLIENTE_AGENDAMENTO' | 'TRANSPORTADORA' | 'CLIENTE'\n tipoFrete?: 'FOB' | 'CIF'\n}\n\nexport type TAprovarRacaoCarga = TAprovarRacaoCargaPayload\n"],"names":["TipoCarga"],"mappings":"AAAO,IAAK,8BAAAA,eAAL;AACHA,aAAA,aAAA,IAAc;AACdA,aAAA,kBAAA,IAAmB;AAFX,SAAAA;AAAA,GAAA,aAAA,CAAA,CAAA;"}
1
+ {"version":3,"file":"carga.js","sources":["../../../../../lib/base/@types/models/racao/carga.ts"],"sourcesContent":["export enum TipoCarga {\n ORDEM_VENDA = 'ORDEM_VENDA',\n TRANSFERENCIA_CD = 'TRANSFERENCIA_CD',\n}\n\nexport type TCargaColumnDef = {\n id: number\n dataCriacao: string\n usuarioCriacaoId: number\n usuarioCriacaoNome: string\n status?: string\n vendedorId: number\n vendedorBusinessPartner: string\n vendedorNomeCompleto: string\n centroId: number\n centroCodigo: string\n centroNome: string\n municipioId: number\n municipio: string\n municipioUf: string\n pesoTotal: number\n valorFreteTotal: number\n tipoCarga: string\n}\n\nexport type TCarga = {\n id?: number\n status?: string\n justificativaReprovacao?: string\n usuarioReprovacaoId?: number\n dataReprovacao?: string\n usuarioAprovacaoId?: number\n dataAprovacao?: string\n tipoVeiculoId: number\n vendedorId: number\n centroId: number\n tipoCarga: string\n incotermsId?: number\n chapa?: boolean\n municipioId: number\n capacidadeVeiculo: number\n pesoTotal: number\n valorFreteTotal?: number\n ordens?: TOrdensCarga[]\n produtos?: TProdutosCarga[]\n agendamento?: TAgendamentoCarga\n}\n\nexport type TOrdensCarga = {\n id?: number\n pedidoVendaId: number\n documentoVenda: string\n emissorId: number\n emissorBusinessPartner: string\n emissorNomeCompleto: string\n vendedorId: number\n vendedorBusinessPartner: string\n vendedorNomeCompleto: string\n pesoTotal: number\n valorFrete: number\n roteiro: string\n produtos?: TProdutosOrdemCarga[]\n}\n\nexport type TProdutosOrdemCarga = {\n produtoId: number\n codigo: string\n descricao: string\n quantidade: number\n unidadeMedida: string\n}\n\nexport type TProdutosCarga = {\n id?: number\n produtoId: number\n codigo: string\n descricao: string\n quantidade: number\n pesoTotal: number\n peso: number\n unidadeMedidaBase: string\n}\n\nexport type TTransportadorasAgendamentoCarga = {\n id: number\n businessPartner?: string\n nomeCompleto?: string\n cnpj?: string\n cpf?: string\n}\n\nexport type TAgendamentoCarga = {\n id: number\n cargaId: number\n periodoInicial: string\n periodoFinal: string\n localId: number\n cotaDiaria: number\n tipoTransporte: 'CLIENTE_AGENDAMENTO' | 'TRANSPORTADORA' | 'CLIENTE'\n tipoFrete?: 'FOB' | 'CIF'\n tipoContrato: string\n dataCriacao: string\n transportadoras?: TTransportadorasAgendamentoCarga[]\n}\n\nexport type TAprovarRacaoCargaPayload = {\n periodoInicial: string\n periodoFinal: string\n localId: number\n cotaDiaria: number\n tipoTransporte: 'CLIENTE_AGENDAMENTO' | 'TRANSPORTADORA' | 'CLIENTE'\n tipoFrete?: 'FOB' | 'CIF'\n transportadoraIds?: number[]\n}\n\nexport type TAprovarRacaoCarga = TAprovarRacaoCargaPayload\n"],"names":["TipoCarga"],"mappings":"AAAO,IAAK,8BAAAA,eAAL;AACHA,aAAA,aAAA,IAAc;AACdA,aAAA,kBAAA,IAAmB;AAFX,SAAAA;AAAA,GAAA,aAAA,CAAA,CAAA;"}
@@ -43,6 +43,7 @@ export type TCarga = {
43
43
  valorFreteTotal?: number
44
44
  ordens?: TOrdensCarga[]
45
45
  produtos?: TProdutosCarga[]
46
+ agendamento?: TAgendamentoCarga
46
47
  }
47
48
 
48
49
  export type TOrdensCarga = {
@@ -80,6 +81,28 @@ export type TProdutosCarga = {
80
81
  unidadeMedidaBase: string
81
82
  }
82
83
 
84
+ export type TTransportadorasAgendamentoCarga = {
85
+ id: number
86
+ businessPartner?: string
87
+ nomeCompleto?: string
88
+ cnpj?: string
89
+ cpf?: string
90
+ }
91
+
92
+ export type TAgendamentoCarga = {
93
+ id: number
94
+ cargaId: number
95
+ periodoInicial: string
96
+ periodoFinal: string
97
+ localId: number
98
+ cotaDiaria: number
99
+ tipoTransporte: 'CLIENTE_AGENDAMENTO' | 'TRANSPORTADORA' | 'CLIENTE'
100
+ tipoFrete?: 'FOB' | 'CIF'
101
+ tipoContrato: string
102
+ dataCriacao: string
103
+ transportadoras?: TTransportadorasAgendamentoCarga[]
104
+ }
105
+
83
106
  export type TAprovarRacaoCargaPayload = {
84
107
  periodoInicial: string
85
108
  periodoFinal: string
@@ -87,6 +110,7 @@ export type TAprovarRacaoCargaPayload = {
87
110
  cotaDiaria: number
88
111
  tipoTransporte: 'CLIENTE_AGENDAMENTO' | 'TRANSPORTADORA' | 'CLIENTE'
89
112
  tipoFrete?: 'FOB' | 'CIF'
113
+ transportadoraIds?: number[]
90
114
  }
91
115
 
92
116
  export type TAprovarRacaoCarga = TAprovarRacaoCargaPayload
@@ -4,6 +4,7 @@ export type TListasTecnicas = {
4
4
 
5
5
  export type TListaTecnica = {
6
6
  codigo: string; // Código do produto
7
+ textoHeader: string, // Texto do cabeçalho
7
8
  categoria: string; // Categoria
8
9
  variante: string; // Variante
9
10
  versao: string; // Versão
@@ -45,4 +46,5 @@ export type TListaTecnicaItem = {
45
46
  precoComponente: string | null;
46
47
  identificadorItem: string | null;
47
48
  descricaoComponente: string | null;
49
+ localSaida: string | null;
48
50
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbe-agro/client-core",
3
- "version": "5.6.236",
3
+ "version": "5.6.238",
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",