@pisell/private-materials 3.3.87 → 3.3.88

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.
Files changed (253) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +11 -11
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +11 -11
  11. package/es/businessModel/SalesModel/Sales/index.js +4 -37
  12. package/es/components/Sales/Cart/index.js +1 -5
  13. package/es/components/Sales/Cart/utils.d.ts +0 -40
  14. package/es/components/Sales/Cart/utils.js +0 -167
  15. package/es/components/Sales/Checkout/index.d.ts +0 -4
  16. package/es/components/Sales/Checkout/index.js +8 -52
  17. package/es/components/Sales/Checkout/serve.d.ts +0 -13
  18. package/es/components/Sales/Checkout/serve.js +2 -16
  19. package/es/components/Sales/Checkout/utils.js +1 -7
  20. package/es/components/Sales/Resource/index.js +2 -2
  21. package/es/components/Sales/Resource/serve.d.ts +0 -7
  22. package/es/components/Sales/Resource/serve.js +0 -10
  23. package/es/components/Sales/Summary/index.d.ts +0 -10
  24. package/es/components/Sales/Summary/index.js +2 -17
  25. package/es/components/Sales/Summary/serve.d.ts +0 -1
  26. package/es/components/Sales/Summary/serve.js +0 -6
  27. package/es/components/Sales/Summary/utils.d.ts +0 -15
  28. package/es/components/Sales/Summary/utils.js +1 -43
  29. package/es/components/appointmentBooking/components/Cart/Item/index.less +3 -3
  30. package/es/components/appointmentBooking/components/Content/index.less +1 -1
  31. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -6
  32. package/es/components/appointmentBooking/components/Deposit/index.js +7 -27
  33. package/es/components/appointmentBooking/components/Services/index.js +27 -23
  34. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.js +20 -25
  35. package/es/components/appointmentBooking/deposit/index.js +2 -4
  36. package/es/components/appointmentBooking/index.js +0 -14
  37. package/es/components/appointmentBooking/index.less +1 -1
  38. package/es/components/booking/components/footer/utils.d.ts +0 -1
  39. package/es/components/booking/components/footer/utils.js +1 -1
  40. package/es/components/booking/components/voucher/index.js +2 -2
  41. package/es/components/booking/info/service2/utils.js +2 -3
  42. package/es/components/booking/info2/service/addService/utils.d.ts +0 -10
  43. package/es/components/booking/info2/service/addService/utils.js +13 -44
  44. package/es/components/booking/info2/service/editService/Resources/index.js +8 -22
  45. package/es/components/booking/info2/service/editService/Resources/index.less +0 -6
  46. package/es/components/booking/info2/utilsByBooking.js +0 -9
  47. package/es/components/booking/locales.d.ts +0 -3
  48. package/es/components/booking/locales.js +0 -3
  49. package/es/components/eftposPay/const.d.ts +1 -4
  50. package/es/components/eftposPay/const.js +1 -3
  51. package/es/components/eftposPay/hooks.d.ts +1 -1
  52. package/es/components/eftposPay/hooks.js +1 -3
  53. package/es/components/eftposPay/index.js +1 -1
  54. package/es/components/eftposPay/manufacturer.d.ts +0 -1
  55. package/es/components/eftposPay/manufacturer.js +0 -4
  56. package/es/components/eftposPay/pay.d.ts +1 -1
  57. package/es/components/eftposPay/pay.js +2 -6
  58. package/es/components/eftposPay/store/index.d.ts +1 -1
  59. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +17 -29
  60. package/es/components/eventBooking/components/Provider/Cart/Item/Total.js +6 -10
  61. package/es/components/eventBooking/components/Provider/Cart/Item/index.js +2 -4
  62. package/es/components/eventBooking/components/Provider/Event/index.js +4 -13
  63. package/es/components/eventBooking/components/bookingDetailModal/index.js +4 -22
  64. package/es/components/eventBooking/index.js +7 -21
  65. package/es/components/eventBooking/locales.d.ts +0 -24
  66. package/es/components/eventBooking/locales.js +6 -30
  67. package/es/components/index.d.ts +1 -3
  68. package/es/components/index.js +1 -3
  69. package/es/components/pay/toC/PaymentMethods/index.js +4 -5
  70. package/es/components/ticketBooking/components/addServiceVariant/addService.js +1 -1
  71. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
  72. package/es/components/ticketBooking/components/ticketBooking/index.js +138 -257
  73. package/es/components/ticketBooking/locales.d.ts +146 -164
  74. package/es/components/ticketBooking/locales.js +147 -195
  75. package/es/index.d.ts +0 -2
  76. package/es/index.js +1 -3
  77. package/lib/businessModel/SalesModel/Sales/index.js +8 -22
  78. package/lib/components/Sales/Cart/index.js +0 -1
  79. package/lib/components/Sales/Cart/utils.d.ts +0 -40
  80. package/lib/components/Sales/Cart/utils.js +0 -117
  81. package/lib/components/Sales/Checkout/index.d.ts +0 -4
  82. package/lib/components/Sales/Checkout/index.js +7 -39
  83. package/lib/components/Sales/Checkout/serve.d.ts +0 -13
  84. package/lib/components/Sales/Checkout/serve.js +2 -7
  85. package/lib/components/Sales/Checkout/utils.js +0 -2
  86. package/lib/components/Sales/Resource/index.js +1 -1
  87. package/lib/components/Sales/Resource/serve.d.ts +0 -7
  88. package/lib/components/Sales/Resource/serve.js +2 -9
  89. package/lib/components/Sales/Summary/index.d.ts +0 -10
  90. package/lib/components/Sales/Summary/index.js +1 -7
  91. package/lib/components/Sales/Summary/serve.d.ts +0 -1
  92. package/lib/components/Sales/Summary/serve.js +0 -32
  93. package/lib/components/Sales/Summary/utils.d.ts +0 -15
  94. package/lib/components/Sales/Summary/utils.js +1 -30
  95. package/lib/components/appointmentBooking/components/Cart/Item/index.less +3 -3
  96. package/lib/components/appointmentBooking/components/Content/index.less +1 -1
  97. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -6
  98. package/lib/components/appointmentBooking/components/Deposit/index.js +4 -36
  99. package/lib/components/appointmentBooking/components/Services/index.js +11 -6
  100. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.js +4 -8
  101. package/lib/components/appointmentBooking/deposit/index.js +2 -4
  102. package/lib/components/appointmentBooking/index.js +0 -11
  103. package/lib/components/appointmentBooking/index.less +1 -1
  104. package/lib/components/booking/components/footer/utils.d.ts +0 -1
  105. package/lib/components/booking/components/footer/utils.js +0 -2
  106. package/lib/components/booking/components/voucher/index.js +2 -2
  107. package/lib/components/booking/info/service2/utils.js +2 -2
  108. package/lib/components/booking/info2/service/addService/utils.d.ts +0 -10
  109. package/lib/components/booking/info2/service/addService/utils.js +4 -27
  110. package/lib/components/booking/info2/service/editService/Resources/index.js +10 -54
  111. package/lib/components/booking/info2/service/editService/Resources/index.less +0 -6
  112. package/lib/components/booking/info2/utilsByBooking.js +0 -6
  113. package/lib/components/booking/locales.d.ts +0 -3
  114. package/lib/components/booking/locales.js +0 -3
  115. package/lib/components/eftposPay/const.d.ts +1 -4
  116. package/lib/components/eftposPay/const.js +0 -2
  117. package/lib/components/eftposPay/hooks.d.ts +1 -1
  118. package/lib/components/eftposPay/hooks.js +4 -11
  119. package/lib/components/eftposPay/index.js +1 -1
  120. package/lib/components/eftposPay/manufacturer.d.ts +0 -1
  121. package/lib/components/eftposPay/manufacturer.js +0 -6
  122. package/lib/components/eftposPay/pay.d.ts +1 -1
  123. package/lib/components/eftposPay/pay.js +2 -13
  124. package/lib/components/eftposPay/store/index.d.ts +1 -1
  125. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +3 -16
  126. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.js +5 -8
  127. package/lib/components/eventBooking/components/Provider/Cart/Item/index.js +2 -4
  128. package/lib/components/eventBooking/components/Provider/Event/index.js +3 -10
  129. package/lib/components/eventBooking/components/bookingDetailModal/index.js +4 -10
  130. package/lib/components/eventBooking/index.js +7 -11
  131. package/lib/components/eventBooking/locales.d.ts +0 -24
  132. package/lib/components/eventBooking/locales.js +6 -30
  133. package/lib/components/index.d.ts +1 -3
  134. package/lib/components/index.js +0 -6
  135. package/lib/components/pay/toC/PaymentMethods/index.js +9 -10
  136. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +1 -1
  137. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
  138. package/lib/components/ticketBooking/components/ticketBooking/index.js +139 -263
  139. package/lib/components/ticketBooking/locales.d.ts +146 -164
  140. package/lib/components/ticketBooking/locales.js +4 -22
  141. package/lib/index.d.ts +0 -2
  142. package/lib/index.js +0 -6
  143. package/package.json +3 -3
  144. package/es/components/booking/editBookingModal/index.d.ts +0 -5
  145. package/es/components/booking/editBookingModal/index.js +0 -386
  146. package/es/components/booking/editBookingModal/index.less +0 -8
  147. package/es/components/booking/editBookingModal/locales.d.ts +0 -21
  148. package/es/components/booking/editBookingModal/locales.js +0 -20
  149. package/es/components/booking/editBookingModal/mock.d.ts +0 -807
  150. package/es/components/booking/editBookingModal/mock.js +0 -2993
  151. package/es/components/booking/editBookingModal/serve.d.ts +0 -51
  152. package/es/components/booking/editBookingModal/serve.js +0 -288
  153. package/es/components/booking/editBookingModal/type.d.ts +0 -12
  154. package/es/components/booking/editBookingModal/type.js +0 -1
  155. package/es/components/booking/editBookingModal/utils.d.ts +0 -12
  156. package/es/components/booking/editBookingModal/utils.js +0 -157
  157. package/es/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +0 -7
  158. package/es/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.js +0 -26
  159. package/es/components/booking/info2/service/editService/ResourcesV2/index.d.ts +0 -10
  160. package/es/components/booking/info2/service/editService/ResourcesV2/index.js +0 -308
  161. package/es/components/booking/info2/service/editService/ResourcesV2/index.less +0 -44
  162. package/es/components/eftposPay/linkly/const.d.ts +0 -23
  163. package/es/components/eftposPay/linkly/const.js +0 -82
  164. package/es/components/eftposPay/linkly/hooks/index.d.ts +0 -2
  165. package/es/components/eftposPay/linkly/hooks/index.js +0 -2
  166. package/es/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
  167. package/es/components/eftposPay/linkly/hooks/normal.js +0 -318
  168. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
  169. package/es/components/eftposPay/linkly/hooks/useTimeQuery.js +0 -273
  170. package/es/components/eftposPay/linkly/index.d.ts +0 -2
  171. package/es/components/eftposPay/linkly/index.js +0 -197
  172. package/es/components/eftposPay/linkly/service.d.ts +0 -32
  173. package/es/components/eftposPay/linkly/service.js +0 -73
  174. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -2
  175. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.js +0 -17
  176. package/es/components/stepController/components/Content/index.d.ts +0 -7
  177. package/es/components/stepController/components/Content/index.js +0 -9
  178. package/es/components/stepController/components/Content/index.less +0 -8
  179. package/es/components/stepController/components/Footer/index.d.ts +0 -8
  180. package/es/components/stepController/components/Footer/index.js +0 -15
  181. package/es/components/stepController/components/Footer/index.less +0 -39
  182. package/es/components/stepController/components/Header/index.d.ts +0 -20
  183. package/es/components/stepController/components/Header/index.js +0 -97
  184. package/es/components/stepController/components/Header/index.less +0 -21
  185. package/es/components/stepController/index.d.ts +0 -5
  186. package/es/components/stepController/index.js +0 -64
  187. package/es/components/stepController/index.less +0 -11
  188. package/es/components/stepController/locales.d.ts +0 -27
  189. package/es/components/stepController/locales.js +0 -32
  190. package/es/components/stepController/types.d.ts +0 -23
  191. package/es/components/stepController/types.js +0 -1
  192. package/es/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
  193. package/es/components/ticketBooking/utils/formatProductMessage.js +0 -62
  194. package/es/components/ticketBooking/utils/formatTime.d.ts +0 -31
  195. package/es/components/ticketBooking/utils/formatTime.js +0 -144
  196. package/es/hooks/useWindowSize.d.ts +0 -5
  197. package/es/hooks/useWindowSize.js +0 -26
  198. package/lib/components/booking/editBookingModal/index.d.ts +0 -5
  199. package/lib/components/booking/editBookingModal/index.js +0 -363
  200. package/lib/components/booking/editBookingModal/index.less +0 -8
  201. package/lib/components/booking/editBookingModal/locales.d.ts +0 -21
  202. package/lib/components/booking/editBookingModal/locales.js +0 -44
  203. package/lib/components/booking/editBookingModal/mock.d.ts +0 -807
  204. package/lib/components/booking/editBookingModal/mock.js +0 -3314
  205. package/lib/components/booking/editBookingModal/serve.d.ts +0 -51
  206. package/lib/components/booking/editBookingModal/serve.js +0 -178
  207. package/lib/components/booking/editBookingModal/type.d.ts +0 -12
  208. package/lib/components/booking/editBookingModal/type.js +0 -17
  209. package/lib/components/booking/editBookingModal/utils.d.ts +0 -12
  210. package/lib/components/booking/editBookingModal/utils.js +0 -158
  211. package/lib/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +0 -7
  212. package/lib/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.js +0 -53
  213. package/lib/components/booking/info2/service/editService/ResourcesV2/index.d.ts +0 -10
  214. package/lib/components/booking/info2/service/editService/ResourcesV2/index.js +0 -311
  215. package/lib/components/booking/info2/service/editService/ResourcesV2/index.less +0 -44
  216. package/lib/components/eftposPay/linkly/const.d.ts +0 -23
  217. package/lib/components/eftposPay/linkly/const.js +0 -102
  218. package/lib/components/eftposPay/linkly/hooks/index.d.ts +0 -2
  219. package/lib/components/eftposPay/linkly/hooks/index.js +0 -25
  220. package/lib/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
  221. package/lib/components/eftposPay/linkly/hooks/normal.js +0 -239
  222. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
  223. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.js +0 -222
  224. package/lib/components/eftposPay/linkly/index.d.ts +0 -2
  225. package/lib/components/eftposPay/linkly/index.js +0 -208
  226. package/lib/components/eftposPay/linkly/service.d.ts +0 -32
  227. package/lib/components/eftposPay/linkly/service.js +0 -55
  228. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -2
  229. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.js +0 -55
  230. package/lib/components/stepController/components/Content/index.d.ts +0 -7
  231. package/lib/components/stepController/components/Content/index.js +0 -40
  232. package/lib/components/stepController/components/Content/index.less +0 -8
  233. package/lib/components/stepController/components/Footer/index.d.ts +0 -8
  234. package/lib/components/stepController/components/Footer/index.js +0 -49
  235. package/lib/components/stepController/components/Footer/index.less +0 -39
  236. package/lib/components/stepController/components/Header/index.d.ts +0 -20
  237. package/lib/components/stepController/components/Header/index.js +0 -104
  238. package/lib/components/stepController/components/Header/index.less +0 -21
  239. package/lib/components/stepController/index.d.ts +0 -5
  240. package/lib/components/stepController/index.js +0 -89
  241. package/lib/components/stepController/index.less +0 -11
  242. package/lib/components/stepController/locales.d.ts +0 -27
  243. package/lib/components/stepController/locales.js +0 -50
  244. package/lib/components/stepController/types.d.ts +0 -23
  245. package/lib/components/stepController/types.js +0 -17
  246. package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
  247. package/lib/components/ticketBooking/utils/formatProductMessage.js +0 -84
  248. package/lib/components/ticketBooking/utils/formatTime.d.ts +0 -31
  249. package/lib/components/ticketBooking/utils/formatTime.js +0 -139
  250. package/lib/hooks/useWindowSize.d.ts +0 -5
  251. package/lib/hooks/useWindowSize.js +0 -51
  252. package/lowcode/edit-booking-modal/meta.ts +0 -53
  253. package/lowcode/step-controller/meta.ts +0 -88
@@ -43,7 +43,6 @@ var import_serve = require("../../../../../Sales/Event/serve");
43
43
  var import_ahooks = require("ahooks");
44
44
  var import_useEngineContext = __toESM(require("../../../../../../hooks/useEngineContext"));
45
45
  var import_index = require("./index.less");
46
- var import_utils3 = require("../../../../../appointmentBooking/utils");
47
46
  var ContinueButton = () => {
48
47
  var _a, _b;
49
48
  const { data } = (0, import_Sales.useSales)();
@@ -54,11 +53,9 @@ var ContinueButton = () => {
54
53
  onCheckout,
55
54
  createBooking,
56
55
  onCheckBeforeBooking,
57
- checkBeforeBooking,
58
- freePay
56
+ checkBeforeBooking
59
57
  } = (0, import_Sales.useCheckout)();
60
58
  const { openLoginModal, isLogin } = (0, import_Sales.useCustomer)();
61
- const { deposit, isAgreeDepositPolicy } = (0, import_Sales.useSummary)();
62
59
  const [openCheckout, setOpenCheckout] = (0, import_react.useState)(false);
63
60
  const [checkedNumber, setCheckedNumber] = (0, import_react.useState)(0);
64
61
  const [openEmptyHolder, setOpenEmptyHolder] = (0, import_react.useState)(false);
@@ -229,13 +226,8 @@ var ContinueButton = () => {
229
226
  handleNextStep();
230
227
  };
231
228
  const handleContinue = async () => {
232
- var _a2;
233
229
  if (isLastStep) {
234
230
  const value = (0, import_utils2.formatValues)(data);
235
- if ((deposit == null ? void 0 : deposit.hasDeposit) && ((_a2 = deposit == null ? void 0 : deposit.protocols) == null ? void 0 : _a2.length) > 0 && !isAgreeDepositPolicy) {
236
- (0, import_utils3.Toast)(import_utils.locales.getText("pisell2.appointment.deposit.agree.policy"));
237
- return;
238
- }
239
231
  const checkRes = await onCheckBeforeBooking(value);
240
232
  if ((checkRes == null ? void 0 : checkRes.result) === false) {
241
233
  setCheckedNumber(checkRes == null ? void 0 : checkRes.num);
@@ -271,13 +263,8 @@ var ContinueButton = () => {
271
263
  }, [currentStepData == null ? void 0 : currentStepData.key]);
272
264
  const confirmLoading = (0, import_react.useMemo)(() => {
273
265
  if (!isLastStep) return false;
274
- return (createBooking == null ? void 0 : createBooking.loading) || (checkBeforeBooking == null ? void 0 : checkBeforeBooking.loading) || (freePay == null ? void 0 : freePay.loading);
275
- }, [
276
- isLastStep,
277
- createBooking == null ? void 0 : createBooking.loading,
278
- checkBeforeBooking == null ? void 0 : checkBeforeBooking.loading,
279
- freePay == null ? void 0 : freePay.loading
280
- ]);
266
+ return (createBooking == null ? void 0 : createBooking.loading) || (checkBeforeBooking == null ? void 0 : checkBeforeBooking.loading);
267
+ }, [isLastStep, createBooking == null ? void 0 : createBooking.loading, checkBeforeBooking == null ? void 0 : checkBeforeBooking.loading]);
281
268
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
282
269
  import_materials.Button,
283
270
  {
@@ -40,9 +40,8 @@ var import_useEngineContext = __toESM(require("../../../../../../hooks/useEngine
40
40
  var import_index = require("./index.less");
41
41
  var import_classnames = __toESM(require("classnames"));
42
42
  var Total = ({ className, isFooter }) => {
43
- var _a, _b, _c, _d, _e, _f, _g, _h;
44
- const { cartData } = (0, import_Sales.useCart)();
45
- const { taxTitle, totalTaxFee, isPriceIncludeTax, total, deposit } = (0, import_Sales.useSummary)();
43
+ var _a, _b, _c, _d, _e, _f;
44
+ const { taxTitle, totalTaxFee, isPriceIncludeTax, total } = (0, import_Sales.useSummary)();
46
45
  const context = (0, import_useEngineContext.default)();
47
46
  console.log(
48
47
  taxTitle,
@@ -50,10 +49,8 @@ var Total = ({ className, isFooter }) => {
50
49
  totalTaxFee,
51
50
  total,
52
51
  (_c = (_b = (_a = context == null ? void 0 : context.appHelper) == null ? void 0 : _a.utils) == null ? void 0 : _b.getSymbolic) == null ? void 0 : _c.call(_b),
53
- deposit,
54
52
  "wh97978"
55
53
  );
56
- const showDeposit = ((_d = cartData == null ? void 0 : cartData.cartItems) == null ? void 0 : _d.length) > 0 && (deposit == null ? void 0 : deposit.hasDeposit);
57
54
  return /* @__PURE__ */ import_react.default.createElement("div", { className: `event-total-wrap ${className}` }, !isPriceIncludeTax && Number(totalTaxFee) > 0 ? /* @__PURE__ */ import_react.default.createElement("div", { className: "gst-wrap" }, /* @__PURE__ */ import_react.default.createElement("span", null, taxTitle, isFooter ? ": " : ""), /* @__PURE__ */ import_react.default.createElement(import_materials.PisellText.Amount, { value: totalTaxFee, showCurrencySymbol: true })) : null, /* @__PURE__ */ import_react.default.createElement(
58
55
  "div",
59
56
  {
@@ -61,16 +58,16 @@ var Total = ({ className, isFooter }) => {
61
58
  [["total-gst-wrap"]]: !isPriceIncludeTax && Number(totalTaxFee) > 0
62
59
  })
63
60
  },
64
- /* @__PURE__ */ import_react.default.createElement("div", { className: "left" }, /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement("span", null, isFooter && showDeposit ? import_utils.locales.getText("pisell2.appointment.deposit") : import_utils.locales.getText("pisell2.event.total"), isFooter ? ": " : ""), isFooter ? /* @__PURE__ */ import_react.default.createElement(
61
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "left" }, /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement("span", null, import_utils.locales.getText("pisell2.event.total"), isFooter ? ": " : ""), isFooter ? /* @__PURE__ */ import_react.default.createElement(
65
62
  import_materials.PisellText.Amount,
66
63
  {
67
- value: ((_e = cartData == null ? void 0 : cartData.cartItems) == null ? void 0 : _e.length) > 0 && (deposit == null ? void 0 : deposit.hasDeposit) ? deposit == null ? void 0 : deposit.total : total,
64
+ value: total,
68
65
  showCurrencySymbol: true,
69
66
  className: "event-amount"
70
67
  }
71
68
  ) : null), isPriceIncludeTax && Number(totalTaxFee) > 0 ? /* @__PURE__ */ import_react.default.createElement("span", { className: "gst" }, import_utils.locales.getText("pisell2.event.total.gst")(
72
69
  `${isFooter ? `${taxTitle}: ` : taxTitle}`,
73
- `${(_h = (_g = (_f = context == null ? void 0 : context.appHelper) == null ? void 0 : _f.utils) == null ? void 0 : _g.getSymbolic) == null ? void 0 : _h.call(_g)}${totalTaxFee}`
70
+ `${(_f = (_e = (_d = context == null ? void 0 : context.appHelper) == null ? void 0 : _d.utils) == null ? void 0 : _e.getSymbolic) == null ? void 0 : _f.call(_e)}${totalTaxFee}`
74
71
  )) : null),
75
72
  !isFooter ? /* @__PURE__ */ import_react.default.createElement(
76
73
  import_materials.PisellText.Amount,
@@ -39,10 +39,8 @@ var import_Sales = require("../../../../../Sales");
39
39
  var import_SelectHolderModal = __toESM(require("../../SelectHolderModal"));
40
40
  var import_ContinueButton = __toESM(require("../ContinueButton"));
41
41
  var import_Total = __toESM(require("./Total"));
42
- var import_Deposit = __toESM(require("../Deposit"));
43
42
  var import_index = require("./index.less");
44
43
  var CartItem = () => {
45
- var _a;
46
44
  const { open, holderData, selectedHolderIds } = (0, import_Sales.useHolder)();
47
45
  const {
48
46
  deleteCartItem,
@@ -50,7 +48,7 @@ var CartItem = () => {
50
48
  cartData,
51
49
  addNoteToCartItem
52
50
  } = (0, import_Sales.useCart)();
53
- const { deposit } = (0, import_Sales.useSummary)();
51
+ const { subtotal } = (0, import_Sales.useSummary)();
54
52
  const { isLastStep } = (0, import_Sales.useStep)();
55
53
  const handleClickCard = (e, type, key) => {
56
54
  if (type === "note") {
@@ -88,7 +86,7 @@ var CartItem = () => {
88
86
  onChange: (e, type, key) => handleClickCard(e, type, key)
89
87
  }
90
88
  )),
91
- /* @__PURE__ */ import_react.default.createElement("div", { className: "event-footer" }, /* @__PURE__ */ import_react.default.createElement(import_Total.default, null), ((_a = cartData == null ? void 0 : cartData.cartItems) == null ? void 0 : _a.length) > 0 && (deposit == null ? void 0 : deposit.hasDeposit) ? /* @__PURE__ */ import_react.default.createElement(import_Deposit.default, null) : null, /* @__PURE__ */ import_react.default.createElement(import_ContinueButton.default, null))
89
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "event-footer" }, /* @__PURE__ */ import_react.default.createElement(import_Total.default, null), /* @__PURE__ */ import_react.default.createElement(import_ContinueButton.default, null))
92
90
  ), /* @__PURE__ */ import_react.default.createElement(import_SelectHolderModal.default, { open }));
93
91
  };
94
92
  var Item_default = CartItem;
@@ -48,7 +48,6 @@ var Event = () => {
48
48
  const { onOpenEventDetail, open } = (0, import_Sales.useEventDetail)();
49
49
  const [lists, setLists] = (0, import_react.useState)();
50
50
  const customer = (0, import_useLoginUser.default)();
51
- const { appUtils } = (0, import_Sales.useCustomer)();
52
51
  (0, import_react.useEffect)(() => {
53
52
  var _a2;
54
53
  const eventList = (eventData == null ? void 0 : eventData.eventList) || [];
@@ -60,22 +59,16 @@ var Event = () => {
60
59
  }
61
60
  }, [eventData == null ? void 0 : eventData.eventList]);
62
61
  (0, import_react.useEffect)(() => {
63
- var _a2, _b2, _c, _d, _e;
62
+ var _a2, _b2;
64
63
  const id = (_b2 = (_a2 = data == null ? void 0 : data.resourceData) == null ? void 0 : _a2.currentResourceItem) == null ? void 0 : _b2.id;
65
64
  if (!id) return;
66
- const history = ((_c = appUtils == null ? void 0 : appUtils.getHistory) == null ? void 0 : _c.call(appUtils)) || {};
67
- const query = (_d = history == null ? void 0 : history.location) == null ? void 0 : _d.query;
68
- const params = {
65
+ getEventList.run({
69
66
  event_item_resource_id: id,
70
67
  skip: 1,
71
68
  num: 100,
72
69
  customer_id: customer == null ? void 0 : customer.id,
73
70
  open_quotation: 1
74
- };
75
- if (query == null ? void 0 : query.ids) {
76
- params.ids = (_e = query == null ? void 0 : query.ids) == null ? void 0 : _e.split(",");
77
- }
78
- getEventList.run(params);
71
+ });
79
72
  }, [(_b = (_a = data == null ? void 0 : data.resourceData) == null ? void 0 : _a.currentResourceItem) == null ? void 0 : _b.id, customer == null ? void 0 : customer.id]);
80
73
  const handleClick = (item) => {
81
74
  selectEvent(item);
@@ -44,7 +44,7 @@ var import_OrderProductModal = __toESM(require("../Provider/OrderProductModal/in
44
44
  var import_index = require("./index.less");
45
45
  var import_useEngineContext = __toESM(require("../../../../hooks/useEngineContext"));
46
46
  var BookingDetailModal = (props) => {
47
- var _a, _b, _c;
47
+ var _a;
48
48
  const modalContentRef = (0, import_react.useRef)(null);
49
49
  const context = (0, import_useEngineContext.default)();
50
50
  const { utils } = context.appHelper || {};
@@ -58,17 +58,11 @@ var BookingDetailModal = (props) => {
58
58
  checkBeforeSelectEventDetail
59
59
  } = (0, import_Sales.useEventDetail)();
60
60
  const { addToCart, checkBeforeAddToCart, checkBeforeAddToCartResquest } = (0, import_Sales.useCart)();
61
- const { initData } = (0, import_Sales.useInit)();
62
61
  const [activeTab, setActiveTab] = (0, import_react.useState)("introduction");
63
62
  const [isScrolling, setIsScrolling] = (0, import_react.useState)(false);
64
63
  const [openCheckout, setOpenCheckout] = (0, import_react.useState)(false);
65
64
  const isUserClickRef = (0, import_react.useRef)(false);
66
65
  const scrollTimeoutRef = (0, import_react.useRef)(null);
67
- const buttonText = (0, import_react.useMemo)(() => {
68
- var _a2, _b2, _c2;
69
- const config = ((_b2 = (_a2 = initData == null ? void 0 : initData.boardSetting) == null ? void 0 : _a2.config) == null ? void 0 : _b2.product_display_setting) || {};
70
- return ((_c2 = utils == null ? void 0 : utils.translation) == null ? void 0 : _c2.call(utils, config == null ? void 0 : config.booking_event_v2_product_detail_button)) || import_utils.locales.getText("pisell2.event.add.to.cart");
71
- }, [(_b = (_a = initData == null ? void 0 : initData.boardSetting) == null ? void 0 : _a.config) == null ? void 0 : _b.product_display_setting]);
72
66
  const anchorOptions = (0, import_react.useMemo)(
73
67
  () => [
74
68
  {
@@ -97,7 +91,7 @@ var BookingDetailModal = (props) => {
97
91
  const images = (0, import_react.useMemo)(() => {
98
92
  var _a2;
99
93
  return ((_a2 = detail == null ? void 0 : detail.introduction) == null ? void 0 : _a2.images) || [];
100
- }, [(_c = detail == null ? void 0 : detail.introduction) == null ? void 0 : _c.images]);
94
+ }, [(_a = detail == null ? void 0 : detail.introduction) == null ? void 0 : _a.images]);
101
95
  (0, import_react.useEffect)(() => {
102
96
  if (!modalContentRef.current) return;
103
97
  let isCurrentlyScrolling = false;
@@ -239,7 +233,7 @@ var BookingDetailModal = (props) => {
239
233
  utils == null ? void 0 : utils.action({
240
234
  type: "pisell1.productDetail",
241
235
  data: {
242
- detail: { ...(bookingOption == null ? void 0 : bookingOption._originData) || {}, open_deposit: 1 },
236
+ detail: { ...(bookingOption == null ? void 0 : bookingOption._originData) || {} },
243
237
  isOS: false
244
238
  },
245
239
  callback: (data) => {
@@ -289,7 +283,7 @@ var BookingDetailModal = (props) => {
289
283
  destroyOnClose: true,
290
284
  className: "booking-detail-modal",
291
285
  onCancel: onCloseEventDetail,
292
- okText: buttonText,
286
+ okText: import_utils.locales.getText("pisell2.event.add.to.cart"),
293
287
  cancelVisible: false,
294
288
  onOk: handleOk,
295
289
  width: (0, import_utils.isMobile)() ? "100%" : 600,
@@ -55,17 +55,13 @@ var Content = () => {
55
55
  getBoardSetting.run({ item_type: "event_booking_v2" });
56
56
  }, []);
57
57
  (0, import_react.useEffect)(() => {
58
- var _a2, _b, _c;
59
- const history = ((_a2 = utils == null ? void 0 : utils.getHistory) == null ? void 0 : _a2.call(utils)) || {};
60
- const query = (_b = history == null ? void 0 : history.location) == null ? void 0 : _b.query;
61
- const params = {
62
- front_end_cache_id: (query == null ? void 0 : query.cacheId) || ""
63
- };
64
- if (query == null ? void 0 : query.ids) {
65
- params.event_item_ids = (_c = query == null ? void 0 : query.ids) == null ? void 0 : _c.split(",");
66
- }
67
- getResourceList.run(params);
68
- }, []);
58
+ if (!form_id) return;
59
+ getResourceList.run({
60
+ form_id,
61
+ shop_id,
62
+ form_data_status: "active"
63
+ });
64
+ }, [form_id]);
69
65
  return /* @__PURE__ */ import_react.default.createElement(
70
66
  "div",
71
67
  {
@@ -71,14 +71,6 @@ declare const _default: {
71
71
  'pisell2.event.capacity.limit.reached.tip': string;
72
72
  'pisell2.event.schedule.item.expand': string;
73
73
  'pisell2.event.schedule.item.collapse': string;
74
- 'pisell2.appointment.deposit': string;
75
- 'pisell2.appointment.deposit.agreed': string;
76
- 'pisell2.appointment.deposit.agree.policy': string;
77
- 'pisell2.appointment.deposit.and': string;
78
- 'pisell2.appointment.deposit.amount.tip1': string;
79
- 'pisell2.appointment.deposit.amount.tip2': string;
80
- 'pisell2.appointment.deposit.close': string;
81
- 'pisell2.appointment.booking.empty.data': string;
82
74
  };
83
75
  'zh-CN': {
84
76
  'pisell2.event.calendar.limit.unavailable': string;
@@ -152,14 +144,6 @@ declare const _default: {
152
144
  'pisell2.event.capacity.limit.reached.tip': string;
153
145
  'pisell2.event.schedule.item.expand': string;
154
146
  'pisell2.event.schedule.item.collapse': string;
155
- 'pisell2.appointment.deposit': string;
156
- 'pisell2.appointment.deposit.agreed': string;
157
- 'pisell2.appointment.deposit.agree.policy': string;
158
- 'pisell2.appointment.deposit.and': string;
159
- 'pisell2.appointment.deposit.amount.tip1': string;
160
- 'pisell2.appointment.deposit.amount.tip2': string;
161
- 'pisell2.appointment.deposit.close': string;
162
- 'pisell2.appointment.booking.empty.data': string;
163
147
  };
164
148
  'zh-HK': {
165
149
  'pisell2.event.calendar.limit.unavailable': string;
@@ -233,14 +217,6 @@ declare const _default: {
233
217
  'pisell2.event.capacity.limit.reached.tip': string;
234
218
  'pisell2.event.schedule.item.expand': string;
235
219
  'pisell2.event.schedule.item.collapse': string;
236
- 'pisell2.appointment.deposit': string;
237
- 'pisell2.appointment.deposit.agreed': string;
238
- 'pisell2.appointment.deposit.agree.policy': string;
239
- 'pisell2.appointment.deposit.and': string;
240
- 'pisell2.appointment.deposit.amount.tip1': string;
241
- 'pisell2.appointment.deposit.amount.tip2': string;
242
- 'pisell2.appointment.deposit.close': string;
243
- 'pisell2.appointment.booking.empty.data': string;
244
220
  };
245
221
  };
246
222
  export default _default;
@@ -51,7 +51,7 @@ var locales_default = {
51
51
  "pisell2.event.campus": "Campus",
52
52
  "pisell2.event.resource": "Location",
53
53
  "pisell2.event.booking.options": "Booking options",
54
- "pisell2.event.add.to.cart": "Add to Cart",
54
+ "pisell2.event.add.to.cart": "Add to cart",
55
55
  "pisell2.event.description": "Description",
56
56
  "pisell2.event.view.more": "View more",
57
57
  "pisell2.event.view.less": "View less",
@@ -94,15 +94,7 @@ var locales_default = {
94
94
  "pisell2.event.capacity.limit.reached.title": "Capacity limit reached",
95
95
  "pisell2.event.capacity.limit.reached.tip": "One or more events in your cart are no longer available due to full capacity. Please remove unavailable events from your cart to complete checkout.",
96
96
  "pisell2.event.schedule.item.expand": "See more",
97
- "pisell2.event.schedule.item.collapse": "See less",
98
- "pisell2.appointment.deposit": "Deposit",
99
- "pisell2.appointment.deposit.agreed": "I have read and agree to the ",
100
- "pisell2.appointment.deposit.agree.policy": "You need to agree the policy to proceed",
101
- "pisell2.appointment.deposit.and": " & ",
102
- "pisell2.appointment.deposit.amount.tip1": " needs to be paid as deposit.",
103
- "pisell2.appointment.deposit.amount.tip2": " ",
104
- "pisell2.appointment.deposit.close": "Close",
105
- "pisell2.appointment.booking.empty.data": "No data"
97
+ "pisell2.event.schedule.item.collapse": "See less"
106
98
  },
107
99
  "zh-CN": {
108
100
  "pisell2.event.calendar.limit.unavailable": "不可预约",
@@ -132,7 +124,7 @@ var locales_default = {
132
124
  "pisell2.event.campus": "校区",
133
125
  "pisell2.event.resource": "资源",
134
126
  "pisell2.event.booking.options": "预约选项",
135
- "pisell2.event.add.to.cart": "加入购物车",
127
+ "pisell2.event.add.to.cart": "添加到购物车",
136
128
  "pisell2.event.description": "描述",
137
129
  "pisell2.event.view.more": "查看更多",
138
130
  "pisell2.event.view.less": "收起",
@@ -175,15 +167,7 @@ var locales_default = {
175
167
  "pisell2.event.capacity.limit.reached.title": "活动名额已满",
176
168
  "pisell2.event.capacity.limit.reached.tip": "购物车中有一个或多个活动已达预约上限,请将已满额的活动从购物车中移除后再完成结算。",
177
169
  "pisell2.event.schedule.item.expand": "查看更多",
178
- "pisell2.event.schedule.item.collapse": "收起",
179
- "pisell2.appointment.deposit": "定金",
180
- "pisell2.appointment.deposit.agreed": "我已阅读并同意 ",
181
- "pisell2.appointment.deposit.agree.policy": "您需要同意协议才能继续",
182
- "pisell2.appointment.deposit.and": " 和 ",
183
- "pisell2.appointment.deposit.amount.tip1": "请支付 ",
184
- "pisell2.appointment.deposit.amount.tip2": " 定金。",
185
- "pisell2.appointment.deposit.close": "关闭",
186
- "pisell2.appointment.booking.empty.data": "暂无数据"
170
+ "pisell2.event.schedule.item.collapse": "收起"
187
171
  },
188
172
  "zh-HK": {
189
173
  "pisell2.event.calendar.limit.unavailable": "不可預約",
@@ -213,7 +197,7 @@ var locales_default = {
213
197
  "pisell2.event.campus": "校區",
214
198
  "pisell2.event.resource": "資源",
215
199
  "pisell2.event.booking.options": "預約選項",
216
- "pisell2.event.add.to.cart": "加入購物車",
200
+ "pisell2.event.add.to.cart": "添加到購物車",
217
201
  "pisell2.event.description": "描述",
218
202
  "pisell2.event.view.more": "查看更多",
219
203
  "pisell2.event.view.less": "收起",
@@ -256,14 +240,6 @@ var locales_default = {
256
240
  "pisell2.event.capacity.limit.reached.title": "活動名額已滿",
257
241
  "pisell2.event.capacity.limit.reached.tip": "購物車中有一個或多個活動已達預約上限,請將已滿額的活動從購物車中移除後再完成結算。",
258
242
  "pisell2.event.schedule.item.expand": "查看更多",
259
- "pisell2.event.schedule.item.collapse": "收起",
260
- "pisell2.appointment.deposit": "定金",
261
- "pisell2.appointment.deposit.agreed": "我已閱讀並同意 ",
262
- "pisell2.appointment.deposit.agree.policy": "您需要同意協議才能繼續",
263
- "pisell2.appointment.deposit.and": " 和 ",
264
- "pisell2.appointment.deposit.amount.tip1": "請支付 ",
265
- "pisell2.appointment.deposit.amount.tip2": " 定金。",
266
- "pisell2.appointment.deposit.close": "关闭",
267
- "pisell2.appointment.booking.empty.data": "暫無數據"
243
+ "pisell2.event.schedule.item.collapse": "收起"
268
244
  }
269
245
  };
@@ -15,6 +15,4 @@ import WorkspaceListDetail from './workSpaceListDetail/';
15
15
  import WorkspaceList from './workSpaceList';
16
16
  import PisellSelectCustomerModal from './pisellSelectCustomerModal';
17
17
  import SubTotal from './subTotal';
18
- import StepController from './stepController';
19
- import EditBookingModal from './booking/editBookingModal';
20
- export { Login, BookingInfo, Booking, BookingNotes, BookingAddons, BookingForms, Schedules, ProductExtension, RuleSetting, TaxSelect, ToCPay, PisellSelectCustomerModal, Wallet, WalletList, WorkspaceList, WorkspaceListDetail, SubTotal, StepController, EditBookingModal };
18
+ export { Login, BookingInfo, Booking, BookingNotes, BookingAddons, BookingForms, Schedules, ProductExtension, RuleSetting, TaxSelect, ToCPay, PisellSelectCustomerModal, Wallet, WalletList, WorkspaceList, WorkspaceListDetail, SubTotal, };
@@ -34,13 +34,11 @@ __export(components_exports, {
34
34
  BookingForms: () => import_forms.default,
35
35
  BookingInfo: () => import_info.default,
36
36
  BookingNotes: () => import_notes.default,
37
- EditBookingModal: () => import_editBookingModal.default,
38
37
  Login: () => import_login.default,
39
38
  PisellSelectCustomerModal: () => import_pisellSelectCustomerModal.default,
40
39
  ProductExtension: () => import_productExtension.default,
41
40
  RuleSetting: () => import_ruleSetting.default,
42
41
  Schedules: () => import_schedules.default,
43
- StepController: () => import_stepController.default,
44
42
  SubTotal: () => import_subTotal.default,
45
43
  TaxSelect: () => import_taxSelect.default,
46
44
  ToCPay: () => import_toC.default,
@@ -67,8 +65,6 @@ var import_workSpaceListDetail = __toESM(require("./workSpaceListDetail/"));
67
65
  var import_workSpaceList = __toESM(require("./workSpaceList"));
68
66
  var import_pisellSelectCustomerModal = __toESM(require("./pisellSelectCustomerModal"));
69
67
  var import_subTotal = __toESM(require("./subTotal"));
70
- var import_stepController = __toESM(require("./stepController"));
71
- var import_editBookingModal = __toESM(require("./booking/editBookingModal"));
72
68
  // Annotate the CommonJS export names for ESM import in node:
73
69
  0 && (module.exports = {
74
70
  Booking,
@@ -76,13 +72,11 @@ var import_editBookingModal = __toESM(require("./booking/editBookingModal"));
76
72
  BookingForms,
77
73
  BookingInfo,
78
74
  BookingNotes,
79
- EditBookingModal,
80
75
  Login,
81
76
  PisellSelectCustomerModal,
82
77
  ProductExtension,
83
78
  RuleSetting,
84
79
  Schedules,
85
- StepController,
86
80
  SubTotal,
87
81
  TaxSelect,
88
82
  ToCPay,
@@ -65,7 +65,7 @@ var isOfflinePayment = (type) => {
65
65
  ].includes(type);
66
66
  };
67
67
  var PaymentMethods = (props, ref) => {
68
- var _a, _b, _c;
68
+ var _a;
69
69
  const MWCreditCardRef2 = (0, import_react.useRef)(null);
70
70
  const SuperPayAliPayH5Ref2 = (0, import_react.useRef)(null);
71
71
  const StripePayRef2 = (0, import_react.useRef)(null);
@@ -83,9 +83,9 @@ var PaymentMethods = (props, ref) => {
83
83
  const context = (0, import_useEngineContext.default)();
84
84
  const { interaction } = (_a = context.appHelper) == null ? void 0 : _a.utils;
85
85
  const init = async ({ type, payGroup }) => {
86
- var _a2, _b2;
86
+ var _a2, _b;
87
87
  const waitAmount = (payGroup == null ? void 0 : payGroup.wait_amount) || 0;
88
- const cards = (_b2 = (_a2 = payGroup == null ? void 0 : payGroup.walletPass) == null ? void 0 : _a2.cards) == null ? void 0 : _b2.length;
88
+ const cards = (_b = (_a2 = payGroup == null ? void 0 : payGroup.walletPass) == null ? void 0 : _a2.cards) == null ? void 0 : _b.length;
89
89
  if (cards && (waitAmount <= 0 || isOfflinePayment(type))) {
90
90
  try {
91
91
  await (0, import_serve.walletPassPay)((0, import_utils.formatWalletPassParams)(payGroup));
@@ -115,11 +115,10 @@ var PaymentMethods = (props, ref) => {
115
115
  }
116
116
  await onPayByType({ type, payGroup });
117
117
  };
118
- console.log("paymentResult isAppEnv", (_c = (_b = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _b.isAppEnv) == null ? void 0 : _c.call(_b), interaction, context);
119
118
  (0, import_react.useEffect)(() => {
120
- var _a2, _b2, _c2, _d;
121
- console.log("paymentResult isAppEnv", (_b2 = (_a2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _a2.isAppEnv) == null ? void 0 : _b2.call(_a2));
122
- if ((_d = (_c2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _c2.isAppEnv) == null ? void 0 : _d.call(_c2)) {
119
+ var _a2, _b, _c, _d;
120
+ console.log("paymentResult isAppEnv", (_b = (_a2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _a2.isAppEnv) == null ? void 0 : _b.call(_a2));
121
+ if ((_d = (_c = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _c.isAppEnv) == null ? void 0 : _d.call(_c)) {
123
122
  interaction.utils.mountFunction("global", "paymentResult", (strResult) => {
124
123
  console.log("paymentResult", strResult);
125
124
  if (!(0, import_utils2.isJson)(strResult)) return;
@@ -135,18 +134,18 @@ var PaymentMethods = (props, ref) => {
135
134
  }
136
135
  }, []);
137
136
  const onPayByType = async ({ type, payGroup }) => {
138
- var _a2, _b2, _c2, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
137
+ var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
139
138
  console.log(type, payGroup);
140
139
  if (type === "mw.apple") {
141
140
  await ((_a2 = ApplePayRef2.current) == null ? void 0 : _a2.init({ payGroup }));
142
141
  return;
143
142
  }
144
143
  if (type === "mw.google") {
145
- await ((_b2 = GooglePayRef2.current) == null ? void 0 : _b2.init({ payGroup }));
144
+ await ((_b = GooglePayRef2.current) == null ? void 0 : _b.init({ payGroup }));
146
145
  return;
147
146
  }
148
147
  if (type === "mw.credit_card") {
149
- (_c2 = MWCreditCardRef2.current) == null ? void 0 : _c2.init({ payGroup });
148
+ (_c = MWCreditCardRef2.current) == null ? void 0 : _c.init({ payGroup });
150
149
  return;
151
150
  }
152
151
  if (type === "superpay.alipay.h5") {
@@ -406,7 +406,7 @@ var AddSerivce = (props) => {
406
406
  isTitle: 1,
407
407
  isSubtitle: 1,
408
408
  isPrice: 1,
409
- isOriginPrice: 0,
409
+ isOriginPrice: 1,
410
410
  isStock: 1
411
411
  }
412
412
  }
@@ -1,4 +1,3 @@
1
1
  import './index.less';
2
- export declare const _formatBookingDetail: (data: any, modalState: any) => any;
3
2
  declare const TicketBooking: () => JSX.Element;
4
3
  export default TicketBooking;