mitre-form-component 2.2.2 → 2.2.4

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/index.cjs CHANGED
@@ -1077,8 +1077,8 @@ var PrimaryButton = import_styled_components6.default.button`
1077
1077
  }
1078
1078
  `;
1079
1079
  var SecondaryText = import_styled_components6.default.p`
1080
- && {
1081
- margin: 2.25rem 0 0.75rem !important;
1080
+ &&& {
1081
+ margin: 3rem 0 0.5rem !important;
1082
1082
  padding: 0 !important;
1083
1083
  font-family: ${theme.fonts.primary} !important;
1084
1084
  font-size: 0.85rem !important;
@@ -1818,12 +1818,18 @@ var MitreFormComponent = import_react8.default.forwardRef(({
1818
1818
  }, REDIRECT_DELAY_MS);
1819
1819
  }
1820
1820
  } else if (channel === "chat") {
1821
+ const { channel: _channelInBody, ...requestBodyNoChannel } = requestBody;
1822
+ const effectiveIdEmpreendimento = idEmpreendimento ?? selectedProduct.id.toString();
1823
+ const effectiveIdProdutoTerceiro = idProdutoTerceiro ?? "0";
1821
1824
  const virtualObj = {
1822
- ...requestBody,
1825
+ ...requestBodyNoChannel,
1826
+ canal: channel,
1823
1827
  externalOriginId: leadId,
1828
+ idEmpreendimento: effectiveIdEmpreendimento,
1829
+ id_produto: effectiveIdEmpreendimento,
1830
+ idProdutoTerceiro: effectiveIdProdutoTerceiro,
1831
+ id_produto_terceiro: effectiveIdProdutoTerceiro,
1824
1832
  ...paginaAtual ? { pagina: paginaAtual } : {},
1825
- ...idProdutoTerceiro !== void 0 ? { idProdutoTerceiro } : {},
1826
- ...idEmpreendimento !== void 0 ? { idEmpreendimento } : {},
1827
1833
  ...naoCriarEventoEfetivo ? { naoCriarEvento: true } : {}
1828
1834
  };
1829
1835
  setActionModal({