@suportepos/split-checkout 0.3.9 → 0.4.1
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.es.js
CHANGED
|
@@ -21697,7 +21697,7 @@ function SplitCheckoutForm({
|
|
|
21697
21697
|
onResponse,
|
|
21698
21698
|
uuid
|
|
21699
21699
|
}) {
|
|
21700
|
-
const apiUrl = producao ? "http://localhost:8003" : "
|
|
21700
|
+
const apiUrl = producao ? "http://localhost:8003" : "https://api-conciliapos-stag.suportepos.com.br";
|
|
21701
21701
|
useMediaQuery("(max-width:900px)");
|
|
21702
21702
|
const [step, setStep] = useState("card");
|
|
21703
21703
|
const maskCard = (v) => v.replace(/\D/g, "").trim();
|
|
@@ -22173,7 +22173,7 @@ function SplitPixForm({
|
|
|
22173
22173
|
onResponse,
|
|
22174
22174
|
uuid
|
|
22175
22175
|
}) {
|
|
22176
|
-
const apiUrl = producao ? "http://localhost:8003" : "
|
|
22176
|
+
const apiUrl = producao ? "http://localhost:8003" : "https://api-conciliapos-stag.suportepos.com.br";
|
|
22177
22177
|
useMediaQuery("(max-width:900px)");
|
|
22178
22178
|
const [copied, setCopied] = useState(false);
|
|
22179
22179
|
const [buyerName, setBuyerName] = useState(cliente?.nomeComprador ?? "");
|
|
@@ -22572,14 +22572,14 @@ function CheckoutFlowContent({
|
|
|
22572
22572
|
);
|
|
22573
22573
|
}
|
|
22574
22574
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(Container, { maxWidth: "lg", children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Grid, { container: true, spacing: 3, justifyContent: "center", children: [
|
|
22575
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Grid, {
|
|
22575
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Grid, { size: { xs: 12, sm: 7 }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Card, { elevation: 0, sx: { border: "1px solid #e2e8f0" }, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(CardContent, { children: [
|
|
22576
22576
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "h6", sx: { mb: 2 }, children: "Como você quer pagar?" }),
|
|
22577
22577
|
noneActive && /* @__PURE__ */ jsxRuntimeExports.jsx(Alert, { severity: "warning", sx: { mb: 2 }, children: "Nenhum meio de pagamento está disponível no momento." }),
|
|
22578
22578
|
primaryButtons.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Stack, { direction: { xs: "column", sm: "row" }, spacing: 2, sx: { mb: 2 }, children: primaryButtons }),
|
|
22579
22579
|
primaryButtons.length > 0 && listItems.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Divider, { sx: { my: 1 }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body2", color: "text.secondary", children: "ou" }) }),
|
|
22580
22580
|
listItems.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(List, { sx: { mt: primaryButtons.length ? 1 : 0 }, children: listItems })
|
|
22581
22581
|
] }) }) }),
|
|
22582
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Grid, {
|
|
22582
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Grid, { size: { xs: 12, sm: 5 }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22583
22583
|
OrderSummary,
|
|
22584
22584
|
{
|
|
22585
22585
|
amount: valor,
|