@pisell/private-materials 3.3.102 → 3.3.104

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 (409) 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 +13 -13
  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 +5 -1
  12. package/es/components/Sales/Cart/utils.d.ts +40 -0
  13. package/es/components/Sales/Cart/utils.js +167 -0
  14. package/es/components/Sales/Checkout/index.d.ts +4 -0
  15. package/es/components/Sales/Checkout/index.js +52 -8
  16. package/es/components/Sales/Checkout/serve.d.ts +13 -0
  17. package/es/components/Sales/Checkout/serve.js +16 -2
  18. package/es/components/Sales/Checkout/utils.js +7 -1
  19. package/es/components/Sales/Summary/index.d.ts +10 -0
  20. package/es/components/Sales/Summary/index.js +17 -2
  21. package/es/components/Sales/Summary/serve.d.ts +1 -0
  22. package/es/components/Sales/Summary/serve.js +6 -0
  23. package/es/components/Sales/Summary/utils.d.ts +15 -0
  24. package/es/components/Sales/Summary/utils.js +43 -1
  25. package/es/components/appointmentBooking/components/Cart/Item/index.js +1 -0
  26. package/es/components/appointmentBooking/components/Cart/Item/index.less +3 -3
  27. package/es/components/appointmentBooking/components/Content/index.js +15 -1
  28. package/es/components/appointmentBooking/components/Content/index.less +1 -1
  29. package/es/components/appointmentBooking/components/Deposit/index.d.ts +6 -0
  30. package/es/components/appointmentBooking/components/Deposit/index.js +27 -7
  31. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  32. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  33. package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
  34. package/es/components/appointmentBooking/components/Resource/index.js +1 -0
  35. package/es/components/appointmentBooking/components/Services/index.js +23 -27
  36. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.js +25 -20
  37. package/es/components/appointmentBooking/deposit/index.js +4 -2
  38. package/es/components/appointmentBooking/index.js +14 -0
  39. package/es/components/appointmentBooking/index.less +1 -1
  40. package/es/components/booking/addons/model.d.ts +10 -1
  41. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  42. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  43. package/es/components/booking/components/TabProduct/tabs/index.js +1 -5
  44. package/es/components/booking/components/browserSelect/index.js +1 -1
  45. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
  46. package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
  47. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  48. package/es/components/booking/components/footer/index.d.ts +1 -0
  49. package/es/components/booking/components/footer/utils.d.ts +41 -0
  50. package/es/components/booking/components/voucher/index.js +2 -2
  51. package/es/components/booking/deposit/index.d.ts +1 -0
  52. package/es/components/booking/forms/model.d.ts +10 -1
  53. package/es/components/booking/forms/model.js +5 -5
  54. package/es/components/booking/forms/single/index.d.ts +1 -0
  55. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
  56. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  57. package/es/components/booking/info/date/index.d.ts +1 -0
  58. package/es/components/booking/info/header/index.d.ts +1 -0
  59. package/es/components/booking/info/index.d.ts +0 -1
  60. package/es/components/booking/info/model.d.ts +10 -1
  61. package/es/components/booking/info/notes/index.d.ts +1 -0
  62. package/es/components/booking/info/service/Lists.d.ts +1 -0
  63. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  64. package/es/components/booking/info/service/like/index.js +1 -1
  65. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  66. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  67. package/es/components/booking/info/service2/utils.d.ts +1 -1
  68. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  69. package/es/components/booking/info2/service/addService/index.d.ts +1 -0
  70. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  71. package/es/components/booking/materiels/contacts/index.d.ts +1 -0
  72. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  73. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  74. package/es/components/booking/materiels/startTime/index.js +1 -1
  75. package/es/components/booking/model.d.ts +9 -1
  76. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  77. package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
  78. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  79. package/es/components/booking/notes/NoteBlock/index.js +11 -11
  80. package/es/components/booking/notes/addNote/index.d.ts +1 -0
  81. package/es/components/booking/notes/model.d.ts +10 -1
  82. package/es/components/booking/notes/model.js +5 -5
  83. package/es/components/booking/payments/model.d.ts +10 -1
  84. package/es/components/booking/payments/model.js +5 -5
  85. package/es/components/booking/utils.d.ts +2 -2
  86. package/es/components/eftpos/index.d.ts +1 -0
  87. package/es/components/eftpos/pos.d.ts +1 -0
  88. package/es/components/eftposPay/amount.d.ts +2 -1
  89. package/es/components/eftposPay/app.d.ts +1 -0
  90. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  91. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  92. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  93. package/es/components/eftposPay/const.d.ts +4 -1
  94. package/es/components/eftposPay/const.js +3 -1
  95. package/es/components/eftposPay/device.d.ts +2 -1
  96. package/es/components/eftposPay/hooks.d.ts +2 -2
  97. package/es/components/eftposPay/hooks.js +3 -1
  98. package/es/components/eftposPay/index.js +1 -1
  99. package/es/components/eftposPay/linkly/const.d.ts +23 -0
  100. package/es/components/eftposPay/linkly/const.js +82 -0
  101. package/es/components/eftposPay/linkly/hooks/index.d.ts +2 -0
  102. package/es/components/eftposPay/linkly/hooks/index.js +2 -0
  103. package/es/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
  104. package/es/components/eftposPay/linkly/hooks/normal.js +321 -0
  105. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  106. package/es/components/eftposPay/linkly/hooks/useTimeQuery.js +273 -0
  107. package/es/components/eftposPay/linkly/index.d.ts +2 -0
  108. package/es/components/eftposPay/linkly/index.js +197 -0
  109. package/es/components/eftposPay/linkly/service.d.ts +32 -0
  110. package/es/components/eftposPay/linkly/service.js +81 -0
  111. package/es/components/eftposPay/manufacturer.d.ts +1 -0
  112. package/es/components/eftposPay/manufacturer.js +4 -0
  113. package/es/components/eftposPay/pay.d.ts +1 -1
  114. package/es/components/eftposPay/pay.js +6 -2
  115. package/es/components/eftposPay/payo/config.d.ts +1 -0
  116. package/es/components/eftposPay/store/index.d.ts +6 -6
  117. package/es/components/eftposPay/tip.d.ts +1 -0
  118. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  119. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  120. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  121. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +29 -17
  122. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +3 -0
  123. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.js +17 -0
  124. package/es/components/eventBooking/components/Provider/Cart/Item/Total.js +10 -6
  125. package/es/components/eventBooking/components/Provider/Cart/Item/index.js +4 -2
  126. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  127. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  128. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  129. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  130. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  131. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  132. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  133. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  134. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  135. package/es/components/eventBooking/components/bookingDetailModal/index.js +3 -1
  136. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  137. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  138. package/es/components/eventBooking/index.d.ts +1 -0
  139. package/es/components/eventBooking/locales.d.ts +24 -0
  140. package/es/components/eventBooking/locales.js +27 -3
  141. package/es/components/listComponent/index.js +5 -5
  142. package/es/components/login/index.d.ts +1 -0
  143. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  144. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  145. package/es/components/pay/toC/PaymentMethods/index.js +5 -4
  146. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  147. package/es/components/pay/toC/model.d.ts +9 -1
  148. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  149. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  150. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  151. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  152. package/es/components/productExtension/card/index.js +3 -3
  153. package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
  154. package/es/components/productExtension/fields/Forms/index.js +12 -12
  155. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  156. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  157. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
  158. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  159. package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
  160. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  161. package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
  162. package/es/components/productExtension/index.d.ts +1 -0
  163. package/es/components/productExtension/server.js +2 -2
  164. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  165. package/es/components/ruleSetting/ruleBorder/index.js +1 -1
  166. package/es/components/schedules/calendar/index.d.ts +1 -0
  167. package/es/components/schedules/calendar/index.js +4 -4
  168. package/es/components/schedules/calendar/serve.js +2 -2
  169. package/es/components/schedules/components/CurrentDay/index.js +5 -5
  170. package/es/components/schedules/components/CurrentDay/serve.js +2 -2
  171. package/es/components/schedules/components/DropdownSort/index.js +1 -1
  172. package/es/components/schedules/components/ResourceList/index.js +1 -1
  173. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  174. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
  175. package/es/components/schedules/components/Search/index.js +5 -5
  176. package/es/components/schedules/model.d.ts +9 -1
  177. package/es/components/schedules/model.js +5 -5
  178. package/es/components/schedules/openHours/index.js +1 -1
  179. package/es/components/schedules/openHours/serve.js +2 -2
  180. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  181. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
  182. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  183. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
  184. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  185. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  186. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
  187. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  188. package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
  189. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  190. package/es/components/schedules/products/list/index.d.ts +1 -0
  191. package/es/components/schedules/products/serve.js +2 -2
  192. package/es/components/schedules/products/utils.js +5 -5
  193. package/es/components/schedules/resources/detail/detailContent.js +2 -2
  194. package/es/components/schedules/resources/detail/index.js +10 -10
  195. package/es/components/schedules/resources/index.d.ts +1 -0
  196. package/es/components/schedules/resources/list/index.d.ts +1 -0
  197. package/es/components/schedules/resources/list/index.js +2 -2
  198. package/es/components/schedules/resources/relationProduct/index.js +1 -1
  199. package/es/components/schedules/resources/serve.js +2 -2
  200. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  201. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  202. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
  203. package/es/components/schedules/schedules/index.d.ts +1 -0
  204. package/es/components/schedules/utils.d.ts +1 -1
  205. package/es/components/schedules/utils.js +4 -4
  206. package/es/components/selectModal/index.js +2 -2
  207. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  208. package/es/components/shoppingCart/index.d.ts +1 -0
  209. package/es/components/taxSelect/index.d.ts +1 -0
  210. package/es/components/ticketBooking/components/addServiceVariant/addService.js +1 -1
  211. package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -1
  212. package/es/components/ticketBooking/components/ticketBooking/index.js +120 -1
  213. package/es/components/ticketBooking/index.d.ts +1 -0
  214. package/es/components/ticketBooking/locales.d.ts +164 -146
  215. package/es/components/ticketBooking/locales.js +195 -147
  216. package/es/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
  217. package/es/components/ticketBooking/utils/formatProductMessage.js +62 -0
  218. package/es/components/ticketBooking/utils/formatTime.d.ts +31 -0
  219. package/es/components/ticketBooking/utils/formatTime.js +144 -0
  220. package/es/components/wallet/Detail/model.d.ts +13 -1
  221. package/es/components/wallet/DiscountCard/model.d.ts +14 -1
  222. package/es/components/wallet/PointCard/model.d.ts +13 -1
  223. package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
  224. package/es/components/wallet/Voucher/model.d.ts +13 -1
  225. package/es/components/wallet/hooks/useWalletCard.d.ts +1 -0
  226. package/es/components/wallet/model.d.ts +9 -1
  227. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  228. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  229. package/es/hooks/useComponents.js +1 -1
  230. package/es/utils/index.d.ts +1 -1
  231. package/lib/components/Sales/Cart/index.js +1 -0
  232. package/lib/components/Sales/Cart/utils.d.ts +40 -0
  233. package/lib/components/Sales/Cart/utils.js +117 -0
  234. package/lib/components/Sales/Checkout/index.d.ts +4 -0
  235. package/lib/components/Sales/Checkout/index.js +39 -7
  236. package/lib/components/Sales/Checkout/serve.d.ts +13 -0
  237. package/lib/components/Sales/Checkout/serve.js +7 -2
  238. package/lib/components/Sales/Checkout/utils.js +2 -0
  239. package/lib/components/Sales/Summary/index.d.ts +10 -0
  240. package/lib/components/Sales/Summary/index.js +7 -1
  241. package/lib/components/Sales/Summary/serve.d.ts +1 -0
  242. package/lib/components/Sales/Summary/serve.js +32 -0
  243. package/lib/components/Sales/Summary/utils.d.ts +15 -0
  244. package/lib/components/Sales/Summary/utils.js +30 -1
  245. package/lib/components/appointmentBooking/components/Cart/Item/index.js +1 -0
  246. package/lib/components/appointmentBooking/components/Cart/Item/index.less +3 -3
  247. package/lib/components/appointmentBooking/components/Content/index.js +6 -1
  248. package/lib/components/appointmentBooking/components/Content/index.less +1 -1
  249. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +6 -0
  250. package/lib/components/appointmentBooking/components/Deposit/index.js +36 -4
  251. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  252. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  253. package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
  254. package/lib/components/appointmentBooking/components/Resource/index.js +1 -0
  255. package/lib/components/appointmentBooking/components/Services/index.js +6 -11
  256. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.js +8 -4
  257. package/lib/components/appointmentBooking/deposit/index.js +4 -2
  258. package/lib/components/appointmentBooking/index.js +11 -0
  259. package/lib/components/appointmentBooking/index.less +1 -1
  260. package/lib/components/booking/addons/model.d.ts +10 -1
  261. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  262. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  263. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
  264. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
  265. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  266. package/lib/components/booking/components/footer/index.d.ts +1 -0
  267. package/lib/components/booking/components/footer/utils.d.ts +41 -0
  268. package/lib/components/booking/components/voucher/index.js +2 -2
  269. package/lib/components/booking/deposit/index.d.ts +1 -0
  270. package/lib/components/booking/forms/model.d.ts +10 -1
  271. package/lib/components/booking/forms/single/index.d.ts +1 -0
  272. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
  273. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  274. package/lib/components/booking/info/date/index.d.ts +1 -0
  275. package/lib/components/booking/info/header/index.d.ts +1 -0
  276. package/lib/components/booking/info/index.d.ts +0 -1
  277. package/lib/components/booking/info/model.d.ts +10 -1
  278. package/lib/components/booking/info/notes/index.d.ts +1 -0
  279. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  280. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  281. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  282. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  283. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  284. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  285. package/lib/components/booking/info2/service/addService/index.d.ts +1 -0
  286. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  287. package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
  288. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  289. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  290. package/lib/components/booking/model.d.ts +9 -1
  291. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  292. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  293. package/lib/components/booking/notes/addNote/index.d.ts +1 -0
  294. package/lib/components/booking/notes/model.d.ts +10 -1
  295. package/lib/components/booking/payments/model.d.ts +10 -1
  296. package/lib/components/booking/utils.d.ts +2 -2
  297. package/lib/components/eftpos/index.d.ts +1 -0
  298. package/lib/components/eftpos/pos.d.ts +1 -0
  299. package/lib/components/eftposPay/amount.d.ts +2 -1
  300. package/lib/components/eftposPay/app.d.ts +1 -0
  301. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  302. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  303. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  304. package/lib/components/eftposPay/const.d.ts +4 -1
  305. package/lib/components/eftposPay/const.js +2 -0
  306. package/lib/components/eftposPay/device.d.ts +2 -1
  307. package/lib/components/eftposPay/hooks.d.ts +2 -2
  308. package/lib/components/eftposPay/hooks.js +11 -4
  309. package/lib/components/eftposPay/index.js +1 -1
  310. package/lib/components/eftposPay/linkly/const.d.ts +23 -0
  311. package/lib/components/eftposPay/linkly/const.js +102 -0
  312. package/lib/components/eftposPay/linkly/hooks/index.d.ts +2 -0
  313. package/lib/components/eftposPay/linkly/hooks/index.js +25 -0
  314. package/lib/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
  315. package/lib/components/eftposPay/linkly/hooks/normal.js +242 -0
  316. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  317. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.js +222 -0
  318. package/lib/components/eftposPay/linkly/index.d.ts +2 -0
  319. package/lib/components/eftposPay/linkly/index.js +208 -0
  320. package/lib/components/eftposPay/linkly/service.d.ts +32 -0
  321. package/lib/components/eftposPay/linkly/service.js +55 -0
  322. package/lib/components/eftposPay/manufacturer.d.ts +1 -0
  323. package/lib/components/eftposPay/manufacturer.js +6 -0
  324. package/lib/components/eftposPay/pay.d.ts +1 -1
  325. package/lib/components/eftposPay/pay.js +13 -2
  326. package/lib/components/eftposPay/payo/config.d.ts +1 -0
  327. package/lib/components/eftposPay/store/index.d.ts +6 -6
  328. package/lib/components/eftposPay/tip.d.ts +1 -0
  329. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  330. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  331. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  332. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +16 -3
  333. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +3 -0
  334. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.js +55 -0
  335. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.js +8 -5
  336. package/lib/components/eventBooking/components/Provider/Cart/Item/index.js +4 -2
  337. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  338. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  339. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  340. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  341. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  342. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  343. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  344. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  345. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  346. package/lib/components/eventBooking/components/bookingDetailModal/index.js +1 -1
  347. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  348. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  349. package/lib/components/eventBooking/index.d.ts +1 -0
  350. package/lib/components/eventBooking/locales.d.ts +24 -0
  351. package/lib/components/eventBooking/locales.js +27 -3
  352. package/lib/components/login/index.d.ts +1 -0
  353. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  354. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  355. package/lib/components/pay/toC/PaymentMethods/index.js +10 -9
  356. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  357. package/lib/components/pay/toC/model.d.ts +9 -1
  358. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  359. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  360. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  361. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  362. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  363. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  364. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  365. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  366. package/lib/components/productExtension/index.d.ts +1 -0
  367. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  368. package/lib/components/schedules/calendar/index.d.ts +1 -0
  369. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  370. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
  371. package/lib/components/schedules/model.d.ts +9 -1
  372. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  373. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  374. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  375. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  376. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  377. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  378. package/lib/components/schedules/products/list/index.d.ts +1 -0
  379. package/lib/components/schedules/resources/index.d.ts +1 -0
  380. package/lib/components/schedules/resources/list/index.d.ts +1 -0
  381. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  382. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  383. package/lib/components/schedules/schedules/index.d.ts +1 -0
  384. package/lib/components/schedules/utils.d.ts +1 -1
  385. package/lib/components/schedules/utils.js +1 -1
  386. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  387. package/lib/components/shoppingCart/index.d.ts +1 -0
  388. package/lib/components/taxSelect/index.d.ts +1 -0
  389. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +1 -1
  390. package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -1
  391. package/lib/components/ticketBooking/components/ticketBooking/index.js +120 -1
  392. package/lib/components/ticketBooking/index.d.ts +1 -0
  393. package/lib/components/ticketBooking/locales.d.ts +164 -146
  394. package/lib/components/ticketBooking/locales.js +22 -4
  395. package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
  396. package/lib/components/ticketBooking/utils/formatProductMessage.js +84 -0
  397. package/lib/components/ticketBooking/utils/formatTime.d.ts +31 -0
  398. package/lib/components/ticketBooking/utils/formatTime.js +139 -0
  399. package/lib/components/wallet/Detail/model.d.ts +13 -1
  400. package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
  401. package/lib/components/wallet/PointCard/model.d.ts +13 -1
  402. package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
  403. package/lib/components/wallet/Voucher/model.d.ts +13 -1
  404. package/lib/components/wallet/hooks/useWalletCard.d.ts +1 -0
  405. package/lib/components/wallet/model.d.ts +9 -1
  406. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  407. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  408. package/lib/utils/index.d.ts +1 -1
  409. package/package.json +2 -2
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ErrorTip: ({ text }: any) => JSX.Element;
4
3
  export default ErrorTip;
@@ -43,6 +43,7 @@ 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");
46
47
  var ContinueButton = () => {
47
48
  var _a, _b;
48
49
  const { data } = (0, import_Sales.useSales)();
@@ -53,9 +54,11 @@ var ContinueButton = () => {
53
54
  onCheckout,
54
55
  createBooking,
55
56
  onCheckBeforeBooking,
56
- checkBeforeBooking
57
+ checkBeforeBooking,
58
+ freePay
57
59
  } = (0, import_Sales.useCheckout)();
58
60
  const { openLoginModal, isLogin } = (0, import_Sales.useCustomer)();
61
+ const { deposit, isAgreeDepositPolicy } = (0, import_Sales.useSummary)();
59
62
  const [openCheckout, setOpenCheckout] = (0, import_react.useState)(false);
60
63
  const [checkedNumber, setCheckedNumber] = (0, import_react.useState)(0);
61
64
  const [openEmptyHolder, setOpenEmptyHolder] = (0, import_react.useState)(false);
@@ -226,8 +229,13 @@ var ContinueButton = () => {
226
229
  handleNextStep();
227
230
  };
228
231
  const handleContinue = async () => {
232
+ var _a2;
229
233
  if (isLastStep) {
230
234
  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
+ }
231
239
  const checkRes = await onCheckBeforeBooking(value);
232
240
  if ((checkRes == null ? void 0 : checkRes.result) === false) {
233
241
  setCheckedNumber(checkRes == null ? void 0 : checkRes.num);
@@ -263,8 +271,13 @@ var ContinueButton = () => {
263
271
  }, [currentStepData == null ? void 0 : currentStepData.key]);
264
272
  const confirmLoading = (0, import_react.useMemo)(() => {
265
273
  if (!isLastStep) return false;
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]);
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
+ ]);
268
281
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
269
282
  import_materials.Button,
270
283
  {
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Deposit: () => JSX.Element;
3
+ export default Deposit;
@@ -0,0 +1,55 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/components/eventBooking/components/Provider/Cart/Deposit/index.tsx
30
+ var Deposit_exports = {};
31
+ __export(Deposit_exports, {
32
+ default: () => Deposit_default
33
+ });
34
+ module.exports = __toCommonJS(Deposit_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var import_Sales = require("../../../../../Sales");
37
+ var import_Deposit = require("../../../../../appointmentBooking/components/Deposit");
38
+ var Deposit = () => {
39
+ const {
40
+ deposit,
41
+ isAgreeDepositPolicy,
42
+ setIsAgreeDepositPolicy,
43
+ getDepositProtocol
44
+ } = (0, import_Sales.useSummary)();
45
+ return /* @__PURE__ */ import_react.default.createElement(
46
+ import_Deposit.DepositContent,
47
+ {
48
+ isAgreeDepositPolicy: !!isAgreeDepositPolicy,
49
+ setIsAgreeDepositPolicy,
50
+ deposit,
51
+ depositProtocolRequest: getDepositProtocol
52
+ }
53
+ );
54
+ };
55
+ var Deposit_default = Deposit;
@@ -40,8 +40,9 @@ 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;
44
- const { taxTitle, totalTaxFee, isPriceIncludeTax, total } = (0, import_Sales.useSummary)();
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)();
45
46
  const context = (0, import_useEngineContext.default)();
46
47
  console.log(
47
48
  taxTitle,
@@ -49,8 +50,10 @@ var Total = ({ className, isFooter }) => {
49
50
  totalTaxFee,
50
51
  total,
51
52
  (_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,
52
54
  "wh97978"
53
55
  );
56
+ const showDeposit = ((_d = cartData == null ? void 0 : cartData.cartItems) == null ? void 0 : _d.length) > 0 && (deposit == null ? void 0 : deposit.hasDeposit);
54
57
  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(
55
58
  "div",
56
59
  {
@@ -58,16 +61,16 @@ var Total = ({ className, isFooter }) => {
58
61
  [["total-gst-wrap"]]: !isPriceIncludeTax && Number(totalTaxFee) > 0
59
62
  })
60
63
  },
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(
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(
62
65
  import_materials.PisellText.Amount,
63
66
  {
64
- value: total,
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,
65
68
  showCurrencySymbol: true,
66
69
  className: "event-amount"
67
70
  }
68
71
  ) : null), isPriceIncludeTax && Number(totalTaxFee) > 0 ? /* @__PURE__ */ import_react.default.createElement("span", { className: "gst" }, import_utils.locales.getText("pisell2.event.total.gst")(
69
72
  `${isFooter ? `${taxTitle}: ` : taxTitle}`,
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}`
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}`
71
74
  )) : null),
72
75
  !isFooter ? /* @__PURE__ */ import_react.default.createElement(
73
76
  import_materials.PisellText.Amount,
@@ -39,8 +39,10 @@ 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"));
42
43
  var import_index = require("./index.less");
43
44
  var CartItem = () => {
45
+ var _a;
44
46
  const { open, holderData, selectedHolderIds } = (0, import_Sales.useHolder)();
45
47
  const {
46
48
  deleteCartItem,
@@ -48,7 +50,7 @@ var CartItem = () => {
48
50
  cartData,
49
51
  addNoteToCartItem
50
52
  } = (0, import_Sales.useCart)();
51
- const { subtotal } = (0, import_Sales.useSummary)();
53
+ const { deposit } = (0, import_Sales.useSummary)();
52
54
  const { isLastStep } = (0, import_Sales.useStep)();
53
55
  const handleClickCard = (e, type, key) => {
54
56
  if (type === "note") {
@@ -86,7 +88,7 @@ var CartItem = () => {
86
88
  onChange: (e, type, key) => handleClickCard(e, type, key)
87
89
  }
88
90
  )),
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))
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))
90
92
  ), /* @__PURE__ */ import_react.default.createElement(import_SelectHolderModal.default, { open }));
91
93
  };
92
94
  var Item_default = CartItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Layout: () => JSX.Element;
3
4
  export default Layout;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Header: () => JSX.Element;
3
4
  export default Header;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const InformationOptionsModal: (props: any) => JSX.Element;
4
3
  export default InformationOptionsModal;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SelectHolderModal: (props: any) => JSX.Element;
2
3
  export default SelectHolderModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare type CallToBookProps = {
3
2
  show: boolean;
4
3
  type: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const WeekItem: (props: any) => JSX.Element;
4
3
  export default WeekItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare type CalenDateWeekProps = {
4
3
  currentDate: string;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Resource: (props: any) => JSX.Element;
2
3
  export default Resource;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Schedule: () => JSX.Element;
2
3
  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) || {} },
242
+ detail: { ...(bookingOption == null ? void 0 : bookingOption._originData) || {}, open_deposit: 1 },
243
243
  isOS: false
244
244
  },
245
245
  callback: (data) => {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare type Item = any;
3
4
  interface ProductItemProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarDataItem } from '../../type';
3
2
  declare type CalendarItemProps = {
4
3
  month: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const EventBooking: () => JSX.Element;
3
4
  export default EventBooking;
@@ -71,6 +71,14 @@ 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;
74
82
  };
75
83
  'zh-CN': {
76
84
  'pisell2.event.calendar.limit.unavailable': string;
@@ -144,6 +152,14 @@ declare const _default: {
144
152
  'pisell2.event.capacity.limit.reached.tip': string;
145
153
  'pisell2.event.schedule.item.expand': string;
146
154
  '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;
147
163
  };
148
164
  'zh-HK': {
149
165
  'pisell2.event.calendar.limit.unavailable': string;
@@ -217,6 +233,14 @@ declare const _default: {
217
233
  'pisell2.event.capacity.limit.reached.tip': string;
218
234
  'pisell2.event.schedule.item.expand': string;
219
235
  '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;
220
244
  };
221
245
  };
222
246
  export default _default;
@@ -94,7 +94,15 @@ 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"
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"
98
106
  },
99
107
  "zh-CN": {
100
108
  "pisell2.event.calendar.limit.unavailable": "不可预约",
@@ -167,7 +175,15 @@ var locales_default = {
167
175
  "pisell2.event.capacity.limit.reached.title": "活动名额已满",
168
176
  "pisell2.event.capacity.limit.reached.tip": "购物车中有一个或多个活动已达预约上限,请将已满额的活动从购物车中移除后再完成结算。",
169
177
  "pisell2.event.schedule.item.expand": "查看更多",
170
- "pisell2.event.schedule.item.collapse": "收起"
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": "暂无数据"
171
187
  },
172
188
  "zh-HK": {
173
189
  "pisell2.event.calendar.limit.unavailable": "不可預約",
@@ -240,6 +256,14 @@ var locales_default = {
240
256
  "pisell2.event.capacity.limit.reached.title": "活動名額已滿",
241
257
  "pisell2.event.capacity.limit.reached.tip": "購物車中有一個或多個活動已達預約上限,請將已滿額的活動從購物車中移除後再完成結算。",
242
258
  "pisell2.event.schedule.item.expand": "查看更多",
243
- "pisell2.event.schedule.item.collapse": "收起"
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": "暫無數據"
244
268
  }
245
269
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  export interface LoginProps {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ThreedsLoading: ({ title }: any) => JSX.Element;
3
4
  export default ThreedsLoading;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SetupForm: ({ onReady, amount, order_id, payment_method, scene, }: any) => JSX.Element;
4
3
  export default SetupForm;
@@ -65,7 +65,7 @@ var isOfflinePayment = (type) => {
65
65
  ].includes(type);
66
66
  };
67
67
  var PaymentMethods = (props, ref) => {
68
- var _a;
68
+ var _a, _b, _c;
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, _b;
86
+ var _a2, _b2;
87
87
  const waitAmount = (payGroup == null ? void 0 : payGroup.wait_amount) || 0;
88
- const cards = (_b = (_a2 = payGroup == null ? void 0 : payGroup.walletPass) == null ? void 0 : _a2.cards) == null ? void 0 : _b.length;
88
+ const cards = (_b2 = (_a2 = payGroup == null ? void 0 : payGroup.walletPass) == null ? void 0 : _a2.cards) == null ? void 0 : _b2.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,10 +115,11 @@ 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);
118
119
  (0, import_react.useEffect)(() => {
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)) {
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)) {
122
123
  interaction.utils.mountFunction("global", "paymentResult", (strResult) => {
123
124
  console.log("paymentResult", strResult);
124
125
  if (!(0, import_utils2.isJson)(strResult)) return;
@@ -134,18 +135,18 @@ var PaymentMethods = (props, ref) => {
134
135
  }
135
136
  }, []);
136
137
  const onPayByType = async ({ type, payGroup }) => {
137
- var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
138
+ var _a2, _b2, _c2, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
138
139
  console.log(type, payGroup);
139
140
  if (type === "mw.apple") {
140
141
  await ((_a2 = ApplePayRef2.current) == null ? void 0 : _a2.init({ payGroup }));
141
142
  return;
142
143
  }
143
144
  if (type === "mw.google") {
144
- await ((_b = GooglePayRef2.current) == null ? void 0 : _b.init({ payGroup }));
145
+ await ((_b2 = GooglePayRef2.current) == null ? void 0 : _b2.init({ payGroup }));
145
146
  return;
146
147
  }
147
148
  if (type === "mw.credit_card") {
148
- (_c = MWCreditCardRef2.current) == null ? void 0 : _c.init({ payGroup });
149
+ (_c2 = MWCreditCardRef2.current) == null ? void 0 : _c2.init({ payGroup });
149
150
  return;
150
151
  }
151
152
  if (type === "superpay.alipay.h5") {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { WalletPassDataType } from '../../../PaymentMethods/WalletPass/serve';
3
2
  import './index.less';
4
3
  interface WalletUseListProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface FormState {
2
3
  platform: 'pc' | 'h5' | '' | undefined;
3
4
  order: any;
@@ -28,4 +29,11 @@ export interface PayGroup {
28
29
  pay_number?: string;
29
30
  _order: any;
30
31
  }
31
- export declare const Provider: any, Context: any;
32
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
33
+ state: FormState;
34
+ } & {
35
+ dispatch: (params: {
36
+ type: string;
37
+ payload: any;
38
+ }) => void;
39
+ }>;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const DateSectionCom: ({ value, onChange, showTime, className, style, useSpace, format, itemStyle, }: any) => JSX.Element;
2
3
  export default DateSectionCom;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const GenderField: (props: any) => JSX.Element;
2
3
  export default GenderField;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface AddClientProps {
3
4
  onChange: (value: any) => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface RightPanelProps {
3
4
  value: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
3
4
  export default ProductItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductItemPreview: ({ item, onClick, onRemove, amountSymbol, style, className, }: any) => JSX.Element;
3
4
  export default ProductItemPreview;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface valueType {
3
4
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const SelectResourcesTable: ({ value, onChange }: any) => JSX.Element;
3
4
  export default SelectResourcesTable;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface ProductExtensionProps {
3
4
  onDataChange: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface RuleSettingProps {
3
4
  value: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const Calendar: () => JSX.Element;
3
4
  export default Calendar;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ScheduleItem } from "../../type";
2
3
  import "./index.less";
3
4
  declare type ScheduleDetailListPropsType = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ButtonProps } from 'antd';
2
3
  import { ScheduleItem } from '../../type';
3
4
  import './index.less';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CalendarDataItem, ScheduleItem } from "./type";
2
3
  import dayjs from "dayjs";
3
4
  export interface FormState {
@@ -68,4 +69,11 @@ export interface FormState {
68
69
  };
69
70
  setGlobalState: Function | null;
70
71
  }
71
- export declare const Provider: any, Context: any;
72
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
73
+ state: FormState;
74
+ } & {
75
+ dispatch: (params: {
76
+ type: string;
77
+ payload: any;
78
+ }) => void;
79
+ }>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const MaxParticipantsModule: ({ form, value, onChange, useSchedule, isAutoChange, onData, }: {
3
4
  form: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const ResourcesModule: ({ product }: {
2
3
  product: any;
3
4
  }) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const AddSchedules: ({ value, onChange, drawerContainer, isSelf }: any) => JSX.Element;
3
4
  export default AddSchedules;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type Value = number[];
3
4
  declare const SchedulesModule: ({ value, onChange, drawerContainer, ruleFn, tabKey, previewItemChange, isSelf, isTitle, }: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductDetailDrawer: () => JSX.Element;
3
4
  export default ProductDetailDrawer;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type Item = any;
3
4
  interface ProductItemProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface ProductListProps {
3
4
  loading: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Resources: () => JSX.Element;
3
4
  export default Resources;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type ResourcesListProps = {
3
4
  list: any;