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 +11 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1043,8 +1043,8 @@ var PrimaryButton = styled6.button`
|
|
|
1043
1043
|
}
|
|
1044
1044
|
`;
|
|
1045
1045
|
var SecondaryText = styled6.p`
|
|
1046
|
-
|
|
1047
|
-
margin:
|
|
1046
|
+
&&& {
|
|
1047
|
+
margin: 3rem 0 0.5rem !important;
|
|
1048
1048
|
padding: 0 !important;
|
|
1049
1049
|
font-family: ${theme.fonts.primary} !important;
|
|
1050
1050
|
font-size: 0.85rem !important;
|
|
@@ -1788,12 +1788,18 @@ var MitreFormComponent = React2.forwardRef(({
|
|
|
1788
1788
|
}, REDIRECT_DELAY_MS);
|
|
1789
1789
|
}
|
|
1790
1790
|
} else if (channel === "chat") {
|
|
1791
|
+
const { channel: _channelInBody, ...requestBodyNoChannel } = requestBody;
|
|
1792
|
+
const effectiveIdEmpreendimento = idEmpreendimento ?? selectedProduct.id.toString();
|
|
1793
|
+
const effectiveIdProdutoTerceiro = idProdutoTerceiro ?? "0";
|
|
1791
1794
|
const virtualObj = {
|
|
1792
|
-
...
|
|
1795
|
+
...requestBodyNoChannel,
|
|
1796
|
+
canal: channel,
|
|
1793
1797
|
externalOriginId: leadId,
|
|
1798
|
+
idEmpreendimento: effectiveIdEmpreendimento,
|
|
1799
|
+
id_produto: effectiveIdEmpreendimento,
|
|
1800
|
+
idProdutoTerceiro: effectiveIdProdutoTerceiro,
|
|
1801
|
+
id_produto_terceiro: effectiveIdProdutoTerceiro,
|
|
1794
1802
|
...paginaAtual ? { pagina: paginaAtual } : {},
|
|
1795
|
-
...idProdutoTerceiro !== void 0 ? { idProdutoTerceiro } : {},
|
|
1796
|
-
...idEmpreendimento !== void 0 ? { idEmpreendimento } : {},
|
|
1797
1803
|
...naoCriarEventoEfetivo ? { naoCriarEvento: true } : {}
|
|
1798
1804
|
};
|
|
1799
1805
|
setActionModal({
|