@pisell/private-materials 6.5.28 → 6.5.29
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +4 -4
- package/build/lowcode/render/default/view.js +4 -4
- package/build/lowcode/view.js +4 -4
- package/es/components/checkout/PaymentModal.js +1 -0
- package/lib/components/checkout/PaymentModal.js +3 -2
- package/package.json +1 -1
|
@@ -48,6 +48,7 @@ import usePaymentLogger from "./hooks/usePaymentLogger";
|
|
|
48
48
|
import { Button } from 'antd';
|
|
49
49
|
import usePrinter from "../../hooks/printer";
|
|
50
50
|
import { DiscountKeyboard, PaymentKeyboard } from "../../pro/priceKeyboard";
|
|
51
|
+
import { useActiveExecute } from "../ticketBooking/hooks/pisellos";
|
|
51
52
|
|
|
52
53
|
// Checkout 模块的事件常量
|
|
53
54
|
var CheckoutHooks = {
|
|
@@ -65,6 +65,7 @@ var import_usePaymentLogger = __toESM(require("./hooks/usePaymentLogger"));
|
|
|
65
65
|
var import_antd = require("antd");
|
|
66
66
|
var import_printer = __toESM(require("../../hooks/printer"));
|
|
67
67
|
var import_priceKeyboard = require("../../pro/priceKeyboard");
|
|
68
|
+
var import_pisellos = require("../ticketBooking/hooks/pisellos");
|
|
68
69
|
var CheckoutHooks = {
|
|
69
70
|
OnStateAmountChanged: "checkout:onStateAmountChanged",
|
|
70
71
|
OnBalanceDueAmountChanged: "checkout:onBalanceDueAmountChanged",
|
|
@@ -105,7 +106,7 @@ var PaymentContent = (0, import_react.forwardRef)(
|
|
|
105
106
|
const utils = context.appHelper.utils || {};
|
|
106
107
|
const { pisellos, getData, pisellosAllModule, interaction } = utils;
|
|
107
108
|
const Toast = (0, import_materials.useToast)();
|
|
108
|
-
const { executeIfActive } = useActiveExecute();
|
|
109
|
+
const { executeIfActive } = (0, import_pisellos.useActiveExecute)();
|
|
109
110
|
const checkoutRef = (0, import_react.useRef)(null);
|
|
110
111
|
const savePayLaterHandlerRef = (0, import_react.useRef)(null);
|
|
111
112
|
const [customAmount, setCustomAmount] = (0, import_react.useState)("");
|
|
@@ -1123,7 +1124,7 @@ var PaymentModal = ({
|
|
|
1123
1124
|
const [showRetryModal, setShowRetryModal] = (0, import_react.useState)(false);
|
|
1124
1125
|
const [showCreateErrorModal, setShowCreateErrorModal] = (0, import_react.useState)(false);
|
|
1125
1126
|
const [currentEditOrderId, setCurrentEditOrderId] = (0, import_react.useState)(editOrderId || 0);
|
|
1126
|
-
const { executeIfActive } = useActiveExecute();
|
|
1127
|
+
const { executeIfActive } = (0, import_pisellos.useActiveExecute)();
|
|
1127
1128
|
const Toast = (0, import_materials.useToast)();
|
|
1128
1129
|
const { nativePrint } = (0, import_printer.default)();
|
|
1129
1130
|
const handleRetry = async () => {
|