@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.
@@ -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 () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "6.5.28",
3
+ "version": "6.5.29",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",