@pisell/private-materials 3.3.100 → 3.3.102

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 (271) 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/index.d.ts +1 -0
  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/Summary/index.d.ts +0 -10
  21. package/es/components/Sales/Summary/index.js +2 -17
  22. package/es/components/Sales/Summary/serve.d.ts +0 -1
  23. package/es/components/Sales/Summary/serve.js +0 -6
  24. package/es/components/Sales/Summary/utils.d.ts +0 -15
  25. package/es/components/Sales/Summary/utils.js +1 -43
  26. package/es/components/appointmentBooking/components/Cart/Item/index.less +3 -3
  27. package/es/components/appointmentBooking/components/Content/index.js +1 -15
  28. package/es/components/appointmentBooking/components/Content/index.less +1 -1
  29. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -6
  30. package/es/components/appointmentBooking/components/Deposit/index.js +7 -27
  31. package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  32. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  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/TabProduct/index.d.ts +1 -0
  39. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  40. package/es/components/booking/components/voucher/index.js +2 -2
  41. package/es/components/booking/forms/table/index.d.ts +1 -0
  42. package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
  43. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  44. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  45. package/es/components/booking/info/index.d.ts +1 -0
  46. package/es/components/booking/info/service/editService/index.js +1 -1
  47. package/es/components/booking/info/service/like/index.d.ts +1 -0
  48. package/es/components/booking/info/service2/utils.d.ts +1 -1
  49. package/es/components/booking/materiels/holder/index.d.ts +1 -0
  50. package/es/components/booking/utils.d.ts +2 -2
  51. package/es/components/eftpos/deviceList/index.d.ts +1 -0
  52. package/es/components/eftpos/form/index.d.ts +1 -0
  53. package/es/components/eftpos/group/index.d.ts +1 -0
  54. package/es/components/eftpos/hooks.d.ts +1 -0
  55. package/es/components/eftpos/icon/apiKey.d.ts +1 -0
  56. package/es/components/eftpos/icon/device.d.ts +1 -0
  57. package/es/components/eftpos/receipt/index.d.ts +1 -0
  58. package/es/components/eftpos/surcharge/index.d.ts +1 -0
  59. package/es/components/eftposPay/amount.d.ts +1 -1
  60. package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
  61. package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
  62. package/es/components/eftposPay/component/step/index.d.ts +1 -0
  63. package/es/components/eftposPay/component/step/step.d.ts +1 -0
  64. package/es/components/eftposPay/const.d.ts +1 -4
  65. package/es/components/eftposPay/const.js +1 -3
  66. package/es/components/eftposPay/device.d.ts +1 -1
  67. package/es/components/eftposPay/hooks.d.ts +2 -2
  68. package/es/components/eftposPay/hooks.js +1 -3
  69. package/es/components/eftposPay/index.js +1 -1
  70. package/es/components/eftposPay/manufacturer.d.ts +0 -1
  71. package/es/components/eftposPay/manufacturer.js +0 -4
  72. package/es/components/eftposPay/pay.d.ts +1 -1
  73. package/es/components/eftposPay/pay.js +2 -6
  74. package/es/components/eftposPay/store/index.d.ts +4 -4
  75. package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
  76. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  77. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +17 -29
  78. package/es/components/eventBooking/components/Provider/Cart/Item/Total.js +6 -10
  79. package/es/components/eventBooking/components/Provider/Cart/Item/index.js +2 -4
  80. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  81. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  82. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  83. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  84. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  85. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  86. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  87. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  88. package/es/components/eventBooking/components/bookingDetailModal/index.js +1 -3
  89. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  90. package/es/components/eventBooking/locales.d.ts +0 -24
  91. package/es/components/eventBooking/locales.js +3 -27
  92. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  93. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  94. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  95. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  96. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  97. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  98. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  99. package/es/components/pay/toC/PaymentMethods/index.js +4 -5
  100. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  101. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  102. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  103. package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
  104. package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
  105. package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
  106. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  107. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  108. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  109. package/es/components/schedules/products/index.d.ts +1 -0
  110. package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
  111. package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  112. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  113. package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
  114. package/es/components/ticketBooking/components/addServiceVariant/addService.js +1 -1
  115. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  116. package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -0
  117. package/es/components/ticketBooking/components/ticketBooking/index.js +1 -120
  118. package/es/components/ticketBooking/locales.d.ts +146 -164
  119. package/es/components/ticketBooking/locales.js +147 -195
  120. package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
  121. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  122. package/lib/businessModel/SalesModel/index.d.ts +1 -0
  123. package/lib/components/Sales/Cart/index.js +0 -1
  124. package/lib/components/Sales/Cart/utils.d.ts +0 -40
  125. package/lib/components/Sales/Cart/utils.js +0 -117
  126. package/lib/components/Sales/Checkout/index.d.ts +0 -4
  127. package/lib/components/Sales/Checkout/index.js +7 -39
  128. package/lib/components/Sales/Checkout/serve.d.ts +0 -13
  129. package/lib/components/Sales/Checkout/serve.js +2 -7
  130. package/lib/components/Sales/Checkout/utils.js +0 -2
  131. package/lib/components/Sales/Summary/index.d.ts +0 -10
  132. package/lib/components/Sales/Summary/index.js +1 -7
  133. package/lib/components/Sales/Summary/serve.d.ts +0 -1
  134. package/lib/components/Sales/Summary/serve.js +0 -32
  135. package/lib/components/Sales/Summary/utils.d.ts +0 -15
  136. package/lib/components/Sales/Summary/utils.js +1 -30
  137. package/lib/components/appointmentBooking/components/Cart/Item/index.less +3 -3
  138. package/lib/components/appointmentBooking/components/Content/index.js +1 -6
  139. package/lib/components/appointmentBooking/components/Content/index.less +1 -1
  140. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -6
  141. package/lib/components/appointmentBooking/components/Deposit/index.js +4 -36
  142. package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  143. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  144. package/lib/components/appointmentBooking/components/Services/index.js +11 -6
  145. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.js +4 -8
  146. package/lib/components/appointmentBooking/deposit/index.js +2 -4
  147. package/lib/components/appointmentBooking/index.js +0 -11
  148. package/lib/components/appointmentBooking/index.less +1 -1
  149. package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
  150. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  151. package/lib/components/booking/components/voucher/index.js +2 -2
  152. package/lib/components/booking/forms/table/index.d.ts +1 -0
  153. package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
  154. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  155. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  156. package/lib/components/booking/info/index.d.ts +1 -0
  157. package/lib/components/booking/info/service/editService/index.js +1 -0
  158. package/lib/components/booking/info/service/like/index.d.ts +1 -0
  159. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  160. package/lib/components/booking/materiels/holder/index.d.ts +1 -0
  161. package/lib/components/booking/utils.d.ts +2 -2
  162. package/lib/components/eftpos/deviceList/index.d.ts +1 -0
  163. package/lib/components/eftpos/form/index.d.ts +1 -0
  164. package/lib/components/eftpos/group/index.d.ts +1 -0
  165. package/lib/components/eftpos/hooks.d.ts +1 -0
  166. package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
  167. package/lib/components/eftpos/icon/device.d.ts +1 -0
  168. package/lib/components/eftpos/receipt/index.d.ts +1 -0
  169. package/lib/components/eftpos/surcharge/index.d.ts +1 -0
  170. package/lib/components/eftposPay/amount.d.ts +1 -1
  171. package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
  172. package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
  173. package/lib/components/eftposPay/component/step/index.d.ts +1 -0
  174. package/lib/components/eftposPay/component/step/step.d.ts +1 -0
  175. package/lib/components/eftposPay/const.d.ts +1 -4
  176. package/lib/components/eftposPay/const.js +0 -2
  177. package/lib/components/eftposPay/device.d.ts +1 -1
  178. package/lib/components/eftposPay/hooks.d.ts +2 -2
  179. package/lib/components/eftposPay/hooks.js +4 -11
  180. package/lib/components/eftposPay/index.js +1 -1
  181. package/lib/components/eftposPay/manufacturer.d.ts +0 -1
  182. package/lib/components/eftposPay/manufacturer.js +0 -6
  183. package/lib/components/eftposPay/pay.d.ts +1 -1
  184. package/lib/components/eftposPay/pay.js +2 -13
  185. package/lib/components/eftposPay/store/index.d.ts +4 -4
  186. package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
  187. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  188. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +3 -16
  189. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.js +5 -8
  190. package/lib/components/eventBooking/components/Provider/Cart/Item/index.js +2 -4
  191. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  192. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  193. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  194. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  195. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  196. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  197. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  198. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  199. package/lib/components/eventBooking/components/bookingDetailModal/index.js +1 -1
  200. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  201. package/lib/components/eventBooking/locales.d.ts +0 -24
  202. package/lib/components/eventBooking/locales.js +3 -27
  203. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  204. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  205. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  206. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  207. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  208. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  209. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  210. package/lib/components/pay/toC/PaymentMethods/index.js +9 -10
  211. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  212. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  213. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  214. package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
  215. package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
  216. package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
  217. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  218. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  219. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  220. package/lib/components/schedules/products/index.d.ts +1 -0
  221. package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
  222. package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  223. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  224. package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
  225. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +1 -1
  226. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  227. package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -0
  228. package/lib/components/ticketBooking/components/ticketBooking/index.js +1 -120
  229. package/lib/components/ticketBooking/locales.d.ts +146 -164
  230. package/lib/components/ticketBooking/locales.js +4 -22
  231. package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
  232. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  233. package/package.json +2 -2
  234. package/es/components/booking/components/footer/utils.d.ts +0 -41
  235. package/es/components/eftposPay/linkly/const.d.ts +0 -23
  236. package/es/components/eftposPay/linkly/const.js +0 -82
  237. package/es/components/eftposPay/linkly/hooks/index.d.ts +0 -2
  238. package/es/components/eftposPay/linkly/hooks/index.js +0 -2
  239. package/es/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
  240. package/es/components/eftposPay/linkly/hooks/normal.js +0 -321
  241. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
  242. package/es/components/eftposPay/linkly/hooks/useTimeQuery.js +0 -273
  243. package/es/components/eftposPay/linkly/index.d.ts +0 -2
  244. package/es/components/eftposPay/linkly/index.js +0 -197
  245. package/es/components/eftposPay/linkly/service.d.ts +0 -32
  246. package/es/components/eftposPay/linkly/service.js +0 -81
  247. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -2
  248. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.js +0 -17
  249. package/es/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
  250. package/es/components/ticketBooking/utils/formatProductMessage.js +0 -62
  251. package/es/components/ticketBooking/utils/formatTime.d.ts +0 -31
  252. package/es/components/ticketBooking/utils/formatTime.js +0 -144
  253. package/lib/components/booking/components/footer/utils.d.ts +0 -41
  254. package/lib/components/eftposPay/linkly/const.d.ts +0 -23
  255. package/lib/components/eftposPay/linkly/const.js +0 -102
  256. package/lib/components/eftposPay/linkly/hooks/index.d.ts +0 -2
  257. package/lib/components/eftposPay/linkly/hooks/index.js +0 -25
  258. package/lib/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
  259. package/lib/components/eftposPay/linkly/hooks/normal.js +0 -242
  260. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
  261. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.js +0 -222
  262. package/lib/components/eftposPay/linkly/index.d.ts +0 -2
  263. package/lib/components/eftposPay/linkly/index.js +0 -208
  264. package/lib/components/eftposPay/linkly/service.d.ts +0 -32
  265. package/lib/components/eftposPay/linkly/service.js +0 -55
  266. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -2
  267. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.js +0 -55
  268. package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
  269. package/lib/components/ticketBooking/utils/formatProductMessage.js +0 -84
  270. package/lib/components/ticketBooking/utils/formatTime.d.ts +0 -31
  271. package/lib/components/ticketBooking/utils/formatTime.js +0 -139
@@ -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": "不可预约",
@@ -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": "不可預約",
@@ -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
  };
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const StripePayment: () => JSX.Element;
2
3
  export default StripePayment;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
2
3
  public_key: string;
3
4
  client_secret?: string | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
2
3
  public_key: string;
3
4
  client_secret?: string | undefined;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const PageLoading: () => JSX.Element;
2
3
  export default PageLoading;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const PaymentRequestForm: () => JSX.Element | null;
2
3
  export default PaymentRequestForm;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const SetupForm: ({ onReady, amount, order_id, payment_method, scene, }: any) => JSX.Element;
3
4
  export default SetupForm;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.module.less';
2
3
  declare const StripePayment: () => JSX.Element;
3
4
  export default StripePayment;
@@ -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") {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { WalletPassDataType } from '../../../PaymentMethods/WalletPass/serve';
2
3
  import './index.less';
3
4
  interface WalletUseListProps {
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const PhoneField: ({ value, onChange }: any) => JSX.Element;
2
3
  export default PhoneField;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const Actor: ({ name }: {
2
3
  name: string;
3
4
  }) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface InfoProps {
2
3
  relation_id: any;
3
4
  action: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CalendarDataItem } from "../type";
2
3
  declare type CalendarItemProps = {
3
4
  month: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type CurrentDayProps = {
3
4
  onClose: () => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { ScheduleItem } from '../../../type';
3
4
  declare type Item = any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductDetail: ({ form, currentProduct, }: {
3
4
  form: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductDetailByDate: () => JSX.Element;
3
4
  export default ProductDetailByDate;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Products: () => JSX.Element;
3
4
  export default Products;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const RelationProduct: ({ value, onChange, }: {
3
4
  value?: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProductProps } from '../../type';
2
3
  declare const Product: (props: ProductProps) => JSX.Element;
3
4
  export default Product;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Empty: (props: any) => JSX.Element;
3
4
  export default Empty;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Content: () => JSX.Element;
3
4
  export default Content;
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface AddServiceVariantProps {
2
3
  globalState: any;
3
4
  setGlobalState: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const index: () => JSX.Element;
3
4
  export default index;
@@ -46,9 +46,6 @@ var import_utils2 = require("../../utils");
46
46
  var import_addServiceVariant = __toESM(require("../addServiceVariant"));
47
47
  var import_timeBar = __toESM(require("../timeBar"));
48
48
  var import_index = require("./index.less");
49
- var import_utils3 = require("../../../booking/info/service2/utils");
50
- var import_amount = require("../../../booking/components/footer/amount");
51
- var import_formatProductMessage = __toESM(require("../../utils/formatProductMessage"));
52
49
  var _formatBookingDetail = (data, modalState) => {
53
50
  var _a, _b, _c, _d;
54
51
  let {
@@ -192,17 +189,7 @@ var TicketBooking = () => {
192
189
  const [state, setState] = (0, import_miniRedux.useStore)();
193
190
  const engineContext = (0, import_useEngineContext.default)();
194
191
  const { props: engineProps } = engineContext.engine;
195
- const {
196
- action,
197
- isTerminal,
198
- lowcodeRef,
199
- interaction,
200
- store,
201
- storage,
202
- Toast,
203
- getSymbolic,
204
- translation
205
- } = (_a = engineContext.appHelper) == null ? void 0 : _a.utils;
192
+ const { action, isTerminal, lowcodeRef, interaction, store, storage, Toast } = (_a = engineContext.appHelper) == null ? void 0 : _a.utils;
206
193
  const _persistentRef = (0, import_react.useRef)(false);
207
194
  const _initStateRef = (0, import_react.useRef)({});
208
195
  const _listTimerRef = (0, import_react.useRef)();
@@ -289,112 +276,6 @@ var TicketBooking = () => {
289
276
  intervalSetTime: isInterval
290
277
  });
291
278
  };
292
- (0, import_react.useEffect)(() => {
293
- var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j;
294
- const cartItems = (_b = (_a2 = state == null ? void 0 : state.modalState) == null ? void 0 : _a2.service) == null ? void 0 : _b.value;
295
- if (!Array.isArray(cartItems) || cartItems.length === 0) {
296
- (_d = (_c = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _c.postMessageToApp) == null ? void 0 : _d.call(_c, {
297
- module: "cds",
298
- key: "cartUpdate",
299
- data: {
300
- currency_symbol: getSymbolic(),
301
- total: "0",
302
- // 小计
303
- products: [],
304
- fees: []
305
- }
306
- });
307
- }
308
- const total = (0, import_amount.getSumTotal)(state.modalState, true);
309
- let formatedProducts = [];
310
- try {
311
- formatedProducts = (0, import_utils3.formatProducts)(
312
- cartItems,
313
- state.modalState,
314
- false,
315
- true,
316
- true
317
- );
318
- } catch (error) {
319
- console.error(error);
320
- }
321
- console.log("formatedProducts", total, formatedProducts);
322
- let fees = [];
323
- let products = [];
324
- for (const item of formatedProducts) {
325
- const { id, name, image, origin_total, total: total2, num, note, _origin } = item;
326
- (_e = _origin == null ? void 0 : _origin.discount_list) == null ? void 0 : _e.forEach((dl) => {
327
- fees.push({
328
- isReduce: dl.type === "good_pass",
329
- title: translation(dl == null ? void 0 : dl.discount.title),
330
- price: dl.amount,
331
- type: dl.type
332
- });
333
- });
334
- let msg = "";
335
- try {
336
- msg = (0, import_formatProductMessage.default)(
337
- {
338
- ...item,
339
- currency_symbol: getSymbolic()
340
- },
341
- (_f = engineContext.appHelper) == null ? void 0 : _f.utils
342
- );
343
- } catch (error) {
344
- console.error(error);
345
- }
346
- let _item = {
347
- productID: id,
348
- title: name,
349
- cover: image,
350
- // 封面图
351
- price: total2,
352
- // 售价
353
- buyCount: num,
354
- // 购买数量
355
- productFormatMessage: msg,
356
- note
357
- };
358
- if (origin_total !== total2) _item.modifyPrice = origin_total;
359
- products.push(_item);
360
- }
361
- console.log(
362
- "formatedProducts",
363
- (_g = import_utils.locales.getText("pisell2.product.card.cart-items")) == null ? void 0 : _g(products.length)
364
- );
365
- if (products.length > 0) {
366
- fees.unshift({
367
- title: import_utils.locales.getText("pisell2.product.card.subtotal"),
368
- price: total.productAmount,
369
- type: "subtotal",
370
- message: (_h = import_utils.locales.getText("pisell2.product.card.cart-items")) == null ? void 0 : _h(
371
- products.length
372
- )
373
- });
374
- }
375
- console.log("start post message, config:", {
376
- module: "cds",
377
- key: "cartUpdate",
378
- data: {
379
- currency_symbol: getSymbolic(),
380
- total: total.productAmount,
381
- // 小计
382
- products,
383
- fees
384
- }
385
- });
386
- (_j = (_i = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _i.postMessageToApp) == null ? void 0 : _j.call(_i, {
387
- module: "cds",
388
- key: "cartUpdate",
389
- data: {
390
- currency_symbol: getSymbolic(),
391
- total: total.expectAmount,
392
- // 小计
393
- products,
394
- fees
395
- }
396
- });
397
- }, [state.modalState]);
398
279
  const _setModalState = (props) => {
399
280
  var _a2, _b;
400
281
  console.log("同步state到外层", props);