@pisell/private-materials 3.3.104 → 3.3.106

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 (343) 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/components/Sales/Cart/index.js +1 -5
  12. package/es/components/Sales/Cart/utils.d.ts +0 -40
  13. package/es/components/Sales/Cart/utils.js +0 -167
  14. package/es/components/Sales/Checkout/index.d.ts +0 -4
  15. package/es/components/Sales/Checkout/index.js +8 -52
  16. package/es/components/Sales/Checkout/serve.d.ts +0 -13
  17. package/es/components/Sales/Checkout/serve.js +2 -16
  18. package/es/components/Sales/Checkout/utils.js +1 -7
  19. package/es/components/Sales/Summary/index.d.ts +0 -10
  20. package/es/components/Sales/Summary/index.js +2 -17
  21. package/es/components/Sales/Summary/serve.d.ts +0 -1
  22. package/es/components/Sales/Summary/serve.js +0 -6
  23. package/es/components/Sales/Summary/utils.d.ts +0 -15
  24. package/es/components/Sales/Summary/utils.js +1 -43
  25. package/es/components/appointmentBooking/components/Cart/Item/index.js +0 -1
  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/Header/index.d.ts +0 -1
  32. package/es/components/appointmentBooking/components/Resource/index.js +0 -1
  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 +0 -1
  39. package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  40. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  41. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  42. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  43. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  44. package/es/components/booking/components/footer/index.d.ts +0 -1
  45. package/es/components/booking/components/voucher/index.js +2 -2
  46. package/es/components/booking/deposit/index.d.ts +0 -1
  47. package/es/components/booking/forms/single/index.d.ts +0 -1
  48. package/es/components/booking/forms/table/index.d.ts +0 -1
  49. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  50. package/es/components/booking/info/date/index.d.ts +0 -1
  51. package/es/components/booking/info/header/index.d.ts +0 -1
  52. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  53. package/es/components/booking/info/notes/index.d.ts +0 -1
  54. package/es/components/booking/info/service/Lists.d.ts +0 -1
  55. package/es/components/booking/info/service/actions/index.d.ts +0 -1
  56. package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
  57. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  58. package/es/components/booking/info/service2/utils.d.ts +1 -1
  59. package/es/components/booking/info/utils.js +1 -1
  60. package/es/components/booking/info2/service/actions/index.d.ts +0 -1
  61. package/es/components/booking/info2/service/addService/index.d.ts +0 -1
  62. package/es/components/booking/info2/service/addTimeModal/index.js +31 -8
  63. package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
  64. package/es/components/booking/info2/utils.js +13 -16
  65. package/es/components/booking/info2/utilsByBooking.js +1 -1
  66. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  67. package/es/components/booking/materiels/duration/index.d.ts +0 -1
  68. package/es/components/booking/materiels/holder/index.d.ts +0 -1
  69. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  70. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  71. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  72. package/es/components/booking/notes/addNote/index.d.ts +0 -1
  73. package/es/components/booking/utils.d.ts +2 -2
  74. package/es/components/eftpos/index.d.ts +0 -1
  75. package/es/components/eftpos/pos.d.ts +0 -1
  76. package/es/components/eftposPay/amount.d.ts +1 -2
  77. package/es/components/eftposPay/app.d.ts +0 -1
  78. package/es/components/eftposPay/component/fail/network.d.ts +0 -1
  79. package/es/components/eftposPay/component/manual/index.d.ts +0 -1
  80. package/es/components/eftposPay/component/signature/index.d.ts +0 -1
  81. package/es/components/eftposPay/component/step/index.d.ts +0 -1
  82. package/es/components/eftposPay/const.d.ts +1 -4
  83. package/es/components/eftposPay/const.js +1 -3
  84. package/es/components/eftposPay/device.d.ts +1 -2
  85. package/es/components/eftposPay/hooks.d.ts +2 -2
  86. package/es/components/eftposPay/hooks.js +1 -3
  87. package/es/components/eftposPay/index.js +1 -1
  88. package/es/components/eftposPay/manufacturer.d.ts +0 -1
  89. package/es/components/eftposPay/manufacturer.js +0 -4
  90. package/es/components/eftposPay/pay.d.ts +1 -1
  91. package/es/components/eftposPay/pay.js +2 -6
  92. package/es/components/eftposPay/payo/config.d.ts +0 -1
  93. package/es/components/eftposPay/store/index.d.ts +6 -6
  94. package/es/components/eftposPay/tip.d.ts +0 -1
  95. package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  96. package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
  97. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +17 -29
  98. package/es/components/eventBooking/components/Provider/Cart/Item/Total.js +6 -10
  99. package/es/components/eventBooking/components/Provider/Cart/Item/index.js +2 -4
  100. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  101. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  102. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  103. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  104. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  105. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  106. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  107. package/es/components/eventBooking/components/bookingDetailModal/index.js +1 -3
  108. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  109. package/es/components/eventBooking/index.d.ts +0 -1
  110. package/es/components/eventBooking/locales.d.ts +0 -24
  111. package/es/components/eventBooking/locales.js +3 -27
  112. package/es/components/login/index.d.ts +0 -1
  113. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  114. package/es/components/pay/toC/PaymentMethods/index.js +4 -5
  115. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  116. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  117. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  118. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  119. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  120. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  121. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  122. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  123. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  124. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  125. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  126. package/es/components/productExtension/index.d.ts +0 -1
  127. package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  128. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  129. package/es/components/schedules/calendar/index.d.ts +0 -1
  130. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  131. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  132. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  133. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  134. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  135. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  136. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  137. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  138. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  139. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  140. package/es/components/schedules/products/index.d.ts +0 -1
  141. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  142. package/es/components/schedules/products/list/index.d.ts +0 -1
  143. package/es/components/schedules/resources/index.d.ts +0 -1
  144. package/es/components/schedules/resources/list/index.d.ts +0 -1
  145. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  146. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  147. package/es/components/schedules/schedules/index.d.ts +0 -1
  148. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  149. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  150. package/es/components/shoppingCart/index.d.ts +0 -1
  151. package/es/components/taxSelect/index.d.ts +0 -1
  152. package/es/components/ticketBooking/components/addServiceVariant/addService.js +1 -1
  153. package/es/components/ticketBooking/components/ticketBooking/index.js +1 -120
  154. package/es/components/ticketBooking/index.d.ts +0 -1
  155. package/es/components/ticketBooking/locales.d.ts +146 -164
  156. package/es/components/ticketBooking/locales.js +147 -195
  157. package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
  158. package/lib/components/Sales/Cart/index.js +0 -1
  159. package/lib/components/Sales/Cart/utils.d.ts +0 -40
  160. package/lib/components/Sales/Cart/utils.js +0 -117
  161. package/lib/components/Sales/Checkout/index.d.ts +0 -4
  162. package/lib/components/Sales/Checkout/index.js +7 -39
  163. package/lib/components/Sales/Checkout/serve.d.ts +0 -13
  164. package/lib/components/Sales/Checkout/serve.js +2 -7
  165. package/lib/components/Sales/Checkout/utils.js +0 -2
  166. package/lib/components/Sales/Summary/index.d.ts +0 -10
  167. package/lib/components/Sales/Summary/index.js +1 -7
  168. package/lib/components/Sales/Summary/serve.d.ts +0 -1
  169. package/lib/components/Sales/Summary/serve.js +0 -32
  170. package/lib/components/Sales/Summary/utils.d.ts +0 -15
  171. package/lib/components/Sales/Summary/utils.js +1 -30
  172. package/lib/components/appointmentBooking/components/Cart/Item/index.js +0 -1
  173. package/lib/components/appointmentBooking/components/Cart/Item/index.less +3 -3
  174. package/lib/components/appointmentBooking/components/Content/index.js +1 -6
  175. package/lib/components/appointmentBooking/components/Content/index.less +1 -1
  176. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -6
  177. package/lib/components/appointmentBooking/components/Deposit/index.js +4 -36
  178. package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -1
  179. package/lib/components/appointmentBooking/components/Resource/index.js +0 -1
  180. package/lib/components/appointmentBooking/components/Services/index.js +11 -6
  181. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.js +4 -8
  182. package/lib/components/appointmentBooking/deposit/index.js +2 -4
  183. package/lib/components/appointmentBooking/index.js +0 -11
  184. package/lib/components/appointmentBooking/index.less +1 -1
  185. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  186. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  187. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  188. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  189. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  190. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  191. package/lib/components/booking/components/footer/index.d.ts +0 -1
  192. package/lib/components/booking/components/voucher/index.js +2 -2
  193. package/lib/components/booking/deposit/index.d.ts +0 -1
  194. package/lib/components/booking/forms/single/index.d.ts +0 -1
  195. package/lib/components/booking/forms/table/index.d.ts +0 -1
  196. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  197. package/lib/components/booking/info/date/index.d.ts +0 -1
  198. package/lib/components/booking/info/header/index.d.ts +0 -1
  199. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  200. package/lib/components/booking/info/notes/index.d.ts +0 -1
  201. package/lib/components/booking/info/service/Lists.d.ts +0 -1
  202. package/lib/components/booking/info/service/actions/index.d.ts +0 -1
  203. package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
  204. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  205. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  206. package/lib/components/booking/info/utils.js +2 -1
  207. package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
  208. package/lib/components/booking/info2/service/addService/index.d.ts +0 -1
  209. package/lib/components/booking/info2/service/addTimeModal/index.js +24 -8
  210. package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
  211. package/lib/components/booking/info2/utils.js +0 -15
  212. package/lib/components/booking/info2/utilsByBooking.js +1 -1
  213. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  214. package/lib/components/booking/materiels/duration/index.d.ts +0 -1
  215. package/lib/components/booking/materiels/holder/index.d.ts +0 -1
  216. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  217. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  218. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  219. package/lib/components/booking/notes/addNote/index.d.ts +0 -1
  220. package/lib/components/booking/utils.d.ts +2 -2
  221. package/lib/components/eftpos/index.d.ts +0 -1
  222. package/lib/components/eftpos/pos.d.ts +0 -1
  223. package/lib/components/eftposPay/amount.d.ts +1 -2
  224. package/lib/components/eftposPay/app.d.ts +0 -1
  225. package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
  226. package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
  227. package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
  228. package/lib/components/eftposPay/component/step/index.d.ts +0 -1
  229. package/lib/components/eftposPay/const.d.ts +1 -4
  230. package/lib/components/eftposPay/const.js +0 -2
  231. package/lib/components/eftposPay/device.d.ts +1 -2
  232. package/lib/components/eftposPay/hooks.d.ts +2 -2
  233. package/lib/components/eftposPay/hooks.js +4 -11
  234. package/lib/components/eftposPay/index.js +1 -1
  235. package/lib/components/eftposPay/manufacturer.d.ts +0 -1
  236. package/lib/components/eftposPay/manufacturer.js +0 -6
  237. package/lib/components/eftposPay/pay.d.ts +1 -1
  238. package/lib/components/eftposPay/pay.js +2 -13
  239. package/lib/components/eftposPay/payo/config.d.ts +0 -1
  240. package/lib/components/eftposPay/store/index.d.ts +6 -6
  241. package/lib/components/eftposPay/tip.d.ts +0 -1
  242. package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  243. package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
  244. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +3 -16
  245. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.js +5 -8
  246. package/lib/components/eventBooking/components/Provider/Cart/Item/index.js +2 -4
  247. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  248. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  249. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  250. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  251. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  252. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  253. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  254. package/lib/components/eventBooking/components/bookingDetailModal/index.js +1 -1
  255. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  256. package/lib/components/eventBooking/index.d.ts +0 -1
  257. package/lib/components/eventBooking/locales.d.ts +0 -24
  258. package/lib/components/eventBooking/locales.js +3 -27
  259. package/lib/components/login/index.d.ts +0 -1
  260. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  261. package/lib/components/pay/toC/PaymentMethods/index.js +9 -10
  262. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  263. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  264. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  265. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  266. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  267. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  268. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  269. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  270. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  271. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  272. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  273. package/lib/components/productExtension/index.d.ts +0 -1
  274. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  275. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  276. package/lib/components/schedules/calendar/index.d.ts +0 -1
  277. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  278. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  279. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  280. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  281. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  282. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  283. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  284. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  285. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  286. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  287. package/lib/components/schedules/products/index.d.ts +0 -1
  288. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  289. package/lib/components/schedules/products/list/index.d.ts +0 -1
  290. package/lib/components/schedules/resources/index.d.ts +0 -1
  291. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  292. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  293. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  294. package/lib/components/schedules/schedules/index.d.ts +0 -1
  295. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  296. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  297. package/lib/components/shoppingCart/index.d.ts +0 -1
  298. package/lib/components/taxSelect/index.d.ts +0 -1
  299. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +1 -1
  300. package/lib/components/ticketBooking/components/ticketBooking/index.js +1 -120
  301. package/lib/components/ticketBooking/index.d.ts +0 -1
  302. package/lib/components/ticketBooking/locales.d.ts +146 -164
  303. package/lib/components/ticketBooking/locales.js +4 -22
  304. package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
  305. package/package.json +3 -3
  306. package/es/components/booking/info2/utils.d.ts +0 -4
  307. package/es/components/eftposPay/linkly/const.d.ts +0 -23
  308. package/es/components/eftposPay/linkly/const.js +0 -82
  309. package/es/components/eftposPay/linkly/hooks/index.d.ts +0 -2
  310. package/es/components/eftposPay/linkly/hooks/index.js +0 -2
  311. package/es/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
  312. package/es/components/eftposPay/linkly/hooks/normal.js +0 -321
  313. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
  314. package/es/components/eftposPay/linkly/hooks/useTimeQuery.js +0 -273
  315. package/es/components/eftposPay/linkly/index.d.ts +0 -2
  316. package/es/components/eftposPay/linkly/index.js +0 -197
  317. package/es/components/eftposPay/linkly/service.d.ts +0 -32
  318. package/es/components/eftposPay/linkly/service.js +0 -81
  319. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -3
  320. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.js +0 -17
  321. package/es/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
  322. package/es/components/ticketBooking/utils/formatProductMessage.js +0 -62
  323. package/es/components/ticketBooking/utils/formatTime.d.ts +0 -31
  324. package/es/components/ticketBooking/utils/formatTime.js +0 -144
  325. package/lib/components/booking/info2/utils.d.ts +0 -4
  326. package/lib/components/eftposPay/linkly/const.d.ts +0 -23
  327. package/lib/components/eftposPay/linkly/const.js +0 -102
  328. package/lib/components/eftposPay/linkly/hooks/index.d.ts +0 -2
  329. package/lib/components/eftposPay/linkly/hooks/index.js +0 -25
  330. package/lib/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
  331. package/lib/components/eftposPay/linkly/hooks/normal.js +0 -242
  332. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
  333. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.js +0 -222
  334. package/lib/components/eftposPay/linkly/index.d.ts +0 -2
  335. package/lib/components/eftposPay/linkly/index.js +0 -208
  336. package/lib/components/eftposPay/linkly/service.d.ts +0 -32
  337. package/lib/components/eftposPay/linkly/service.js +0 -55
  338. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -3
  339. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.js +0 -55
  340. package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
  341. package/lib/components/ticketBooking/utils/formatProductMessage.js +0 -84
  342. package/lib/components/ticketBooking/utils/formatTime.d.ts +0 -31
  343. package/lib/components/ticketBooking/utils/formatTime.js +0 -139
@@ -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;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Layout: () => JSX.Element;
4
3
  export default Layout;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Header: () => JSX.Element;
4
3
  export default Header;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectHolderModal: (props: any) => JSX.Element;
3
2
  export default SelectHolderModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Status: (props: any) => JSX.Element;
4
3
  export default Status;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Status: (props: any) => JSX.Element;
4
3
  export default Status;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Resource: (props: any) => JSX.Element;
3
2
  export default Resource;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Schedule: () => JSX.Element;
3
2
  export default Schedule;
@@ -239,7 +239,7 @@ var BookingDetailModal = (props) => {
239
239
  utils == null ? void 0 : utils.action({
240
240
  type: "pisell1.productDetail",
241
241
  data: {
242
- detail: { ...(bookingOption == null ? void 0 : bookingOption._originData) || {}, open_deposit: 1 },
242
+ detail: { ...(bookingOption == null ? void 0 : bookingOption._originData) || {} },
243
243
  isOS: false
244
244
  },
245
245
  callback: (data) => {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare type Item = any;
4
3
  interface ProductItemProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const EventBooking: () => JSX.Element;
4
3
  export default EventBooking;
@@ -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;
@@ -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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export interface LoginProps {
4
3
  title: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ThreedsLoading: ({ title }: any) => JSX.Element;
4
3
  export default ThreedsLoading;
@@ -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,2 @@
1
- /// <reference types="react" />
2
1
  declare const DateSectionCom: ({ value, onChange, showTime, className, style, useSpace, format, itemStyle, }: any) => JSX.Element;
3
2
  export default DateSectionCom;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const GenderField: (props: any) => JSX.Element;
3
2
  export default GenderField;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const PhoneField: ({ value, onChange }: any) => JSX.Element;
3
2
  export default PhoneField;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface AddClientProps {
4
3
  onChange: (value: any) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface RightPanelProps {
4
3
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const Actor: ({ name }: {
3
2
  name: string;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface InfoProps {
3
2
  relation_id: any;
4
3
  action: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
4
3
  export default ProductItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductItemPreview: ({ item, onClick, onRemove, amountSymbol, style, className, }: any) => JSX.Element;
4
3
  export default ProductItemPreview;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface valueType {
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SelectResourcesTable: ({ value, onChange }: any) => JSX.Element;
4
3
  export default SelectResourcesTable;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface ProductExtensionProps {
4
3
  onDataChange: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface RuleSettingProps {
4
3
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarDataItem } from "../type";
3
2
  declare type CalendarItemProps = {
4
3
  month: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Calendar: () => JSX.Element;
4
3
  export default Calendar;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type CurrentDayProps = {
4
3
  onClose: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ScheduleItem } from "../../type";
3
2
  import "./index.less";
4
3
  declare type ScheduleDetailListPropsType = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ButtonProps } from 'antd';
3
2
  import { ScheduleItem } from '../../type';
4
3
  import './index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const MaxParticipantsModule: ({ form, value, onChange, useSchedule, isAutoChange, onData, }: {
4
3
  form: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const ResourcesModule: ({ product }: {
3
2
  product: any;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const AddSchedules: ({ value, onChange, drawerContainer, isSelf }: any) => JSX.Element;
4
3
  export default AddSchedules;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type Value = number[];
4
3
  declare const SchedulesModule: ({ value, onChange, drawerContainer, ruleFn, tabKey, previewItemChange, isSelf, isTitle, }: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductDetail: ({ form, currentProduct, }: {
4
3
  form: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductDetailByDate: () => JSX.Element;
4
3
  export default ProductDetailByDate;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductDetailDrawer: () => JSX.Element;
4
3
  export default ProductDetailDrawer;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Products: () => JSX.Element;
4
3
  export default Products;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type Item = any;
4
3
  interface ProductItemProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface ProductListProps {
4
3
  loading: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Resources: () => JSX.Element;
4
3
  export default Resources;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type ResourcesListProps = {
4
3
  list: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ScheduleItem } from '../../type';
3
2
  import './index.less';
4
3
  declare type AllSchedulesPropsType = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { DrawerProps } from "antd";
3
2
  import { ScheduleItem } from "../../type";
4
3
  import "./index.less";
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SchedulesConnect: () => JSX.Element;
3
2
  export default SchedulesConnect;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Empty: (props: any) => JSX.Element;
4
3
  export default Empty;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Content: () => JSX.Element;
4
3
  export default Content;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { shoppingCartProps } from './type';
3
2
  declare const shoppingCart: ({ onCard, onAction, onChange, onAddProduct, onActiveKey, ...props }: shoppingCartProps) => JSX.Element;
4
3
  export default shoppingCart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from "antd";
3
2
  import "./index.less";
4
3
  interface TaxSelectProps {
@@ -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
  }