@pisell/private-materials 6.3.131 → 6.3.133

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 (225) 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/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +6 -6
  6. package/build/lowcode/view.js +6 -6
  7. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  8. package/es/components/booking/utils.d.ts +2 -2
  9. package/es/components/ecocup/components/CupStatusModal/hooks.d.ts +1 -1
  10. package/es/components/eftposPay/hooks.d.ts +2 -2
  11. package/es/components/eftposPay/store/index.d.ts +5 -5
  12. package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
  13. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  14. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  15. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  16. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  17. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  18. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  19. package/es/components/venueBooking/components/Cart/index.js +7 -7
  20. package/es/components/venueBooking/components/Checkout/index.js +2 -12
  21. package/es/components/venueBooking/components/Content/index.js +10 -9
  22. package/es/components/venueBooking/components/Footer/index.js +2 -8
  23. package/es/components/venueBooking/components/Header/index.js +38 -17
  24. package/es/components/venueBooking/components/VenueSelection/components/CourtFilter.js +1 -17
  25. package/es/components/venueBooking/components/VenueSelection/components/TimeGrid.js +63 -26
  26. package/es/components/venueBooking/components/VenueSelection/index.js +2 -6
  27. package/es/components/venueBooking/context.js +95 -44
  28. package/es/components/venueBooking/hooks.d.ts +1 -0
  29. package/es/components/venueBooking/hooks.js +8 -2
  30. package/es/components/venueBooking/index.js +30 -2
  31. package/es/components/venueBooking/locales.d.ts +20 -0
  32. package/es/components/venueBooking/locales.js +25 -5
  33. package/es/components/venueBooking/utils.d.ts +8 -0
  34. package/es/components/venueBooking/utils.js +12 -2
  35. package/es/hooks/usePaymentLogger.d.ts +1 -0
  36. package/es/plus/pisellSalesManagement/config/booking.d.ts +6 -6
  37. package/es/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +1 -0
  38. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  39. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  40. package/lib/components/booking/utils.d.ts +2 -2
  41. package/lib/components/ecocup/components/CupStatusModal/hooks.d.ts +1 -1
  42. package/lib/components/eftposPay/hooks.d.ts +2 -2
  43. package/lib/components/eftposPay/store/index.d.ts +5 -5
  44. package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
  45. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  46. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  47. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  48. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  49. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  50. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  51. package/lib/components/venueBooking/components/Cart/index.js +3 -8
  52. package/lib/components/venueBooking/components/Checkout/index.js +1 -5
  53. package/lib/components/venueBooking/components/Content/index.js +20 -15
  54. package/lib/components/venueBooking/components/Footer/index.js +1 -9
  55. package/lib/components/venueBooking/components/Header/index.js +12 -6
  56. package/lib/components/venueBooking/components/VenueSelection/components/CourtFilter.js +1 -10
  57. package/lib/components/venueBooking/components/VenueSelection/components/TimeGrid.js +29 -10
  58. package/lib/components/venueBooking/components/VenueSelection/index.js +2 -3
  59. package/lib/components/venueBooking/context.js +52 -25
  60. package/lib/components/venueBooking/hooks.d.ts +1 -0
  61. package/lib/components/venueBooking/hooks.js +6 -1
  62. package/lib/components/venueBooking/index.js +19 -1
  63. package/lib/components/venueBooking/locales.d.ts +20 -0
  64. package/lib/components/venueBooking/locales.js +25 -5
  65. package/lib/components/venueBooking/utils.d.ts +8 -0
  66. package/lib/components/venueBooking/utils.js +3 -2
  67. package/lib/hooks/usePaymentLogger.d.ts +1 -0
  68. package/lib/plus/pisellSalesManagement/config/booking.d.ts +6 -6
  69. package/lib/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +1 -0
  70. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  71. package/package.json +18 -18
  72. package/es/components/appointmentBooking/components/Form/index.d.ts +0 -4
  73. package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
  74. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -4
  75. package/es/components/appointmentBooking/hooks.d.ts +0 -107
  76. package/es/components/appointmentBooking/utils.d.ts +0 -227
  77. package/es/components/booking/components/footer/utils.d.ts +0 -47
  78. package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -9
  79. package/es/components/booking/components/voucher/index.d.ts +0 -4
  80. package/es/components/booking/info/service/editService/constants.d.ts +0 -1
  81. package/es/components/booking/info/service/editService/index.d.ts +0 -7
  82. package/es/components/booking/info/service2/utils.d.ts +0 -248
  83. package/es/components/booking/info2/index.d.ts +0 -12
  84. package/es/components/booking/info2/service/addService/index.d.ts +0 -12
  85. package/es/components/booking/locales.d.ts +0 -1489
  86. package/es/components/booking/model.d.ts +0 -120
  87. package/es/components/eftposPay/amount.d.ts +0 -21
  88. package/es/components/eftposPay/app.d.ts +0 -11
  89. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -4
  90. package/es/components/eftposPay/component/fail/index.d.ts +0 -4
  91. package/es/components/eftposPay/component/fail/network.d.ts +0 -9
  92. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -10
  93. package/es/components/eftposPay/component/manual/index.d.ts +0 -10
  94. package/es/components/eftposPay/component/signature/index.d.ts +0 -9
  95. package/es/components/eftposPay/device.d.ts +0 -24
  96. package/es/components/eftposPay/index.d.ts +0 -5
  97. package/es/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
  98. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
  99. package/es/components/eftposPay/linkly/index.d.ts +0 -3
  100. package/es/components/eftposPay/pay.d.ts +0 -21
  101. package/es/components/eftposPay/payo/config.d.ts +0 -13
  102. package/es/components/eftposPay/payo/hooks.d.ts +0 -10
  103. package/es/components/eftposPay/payo/payment.d.ts +0 -66
  104. package/es/components/eftposPay/tip.d.ts +0 -10
  105. package/es/components/eftposPay/tyro/index.d.ts +0 -9
  106. package/es/components/eftposPay/utils/payLog.d.ts +0 -81
  107. package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -23
  108. package/es/components/eftposPay/windcave/windcave.d.ts +0 -7
  109. package/es/components/kioskSkuDetail/index.d.ts +0 -39
  110. package/es/components/kioskSkuDetail/locales.d.ts +0 -48
  111. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
  112. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +0 -10
  113. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +0 -10
  114. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +0 -16
  115. package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +0 -15
  116. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -83
  117. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
  118. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +0 -10
  119. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -22
  120. package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -25
  121. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -16
  122. package/es/components/pay/toC/PaymentMethods/index.d.ts +0 -9
  123. package/es/components/pay/toC/index.d.ts +0 -3
  124. package/es/components/pay/toC/locales.d.ts +0 -631
  125. package/es/components/pay/toC/payGroup.d.ts +0 -59
  126. package/es/components/pay/toC/serve.d.ts +0 -87
  127. package/es/components/pay/toC/utils.d.ts +0 -65
  128. package/es/components/ruleSetting/locales.d.ts +0 -78
  129. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -10
  130. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -5
  131. package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -13
  132. package/es/components/ticketBooking/index.d.ts +0 -8
  133. package/es/components/venueBooking/components/Cart/index.d.ts +0 -28
  134. package/es/components/venueBooking/components/Footer/index.d.ts +0 -8
  135. package/es/index.d.ts +0 -87
  136. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -6
  137. package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -4
  138. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -16
  139. package/es/plus/skuOptionsSelection/index.d.ts +0 -5
  140. package/es/plus/skuOptionsSelection/locales.d.ts +0 -58
  141. package/es/plus/skuOptionsSelection/types.d.ts +0 -458
  142. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
  143. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
  144. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
  145. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
  146. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
  147. package/es/pro/Cards/components/SKUCard/index.d.ts +0 -5
  148. package/es/pro/Login2.0/components/phoneValidation.d.ts +0 -17
  149. package/lib/components/appointmentBooking/components/Form/index.d.ts +0 -4
  150. package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
  151. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -4
  152. package/lib/components/appointmentBooking/hooks.d.ts +0 -107
  153. package/lib/components/appointmentBooking/utils.d.ts +0 -227
  154. package/lib/components/booking/components/footer/utils.d.ts +0 -47
  155. package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -9
  156. package/lib/components/booking/components/voucher/index.d.ts +0 -4
  157. package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
  158. package/lib/components/booking/info/service/editService/index.d.ts +0 -7
  159. package/lib/components/booking/info/service2/utils.d.ts +0 -248
  160. package/lib/components/booking/info2/index.d.ts +0 -12
  161. package/lib/components/booking/info2/service/addService/index.d.ts +0 -12
  162. package/lib/components/booking/locales.d.ts +0 -1489
  163. package/lib/components/booking/model.d.ts +0 -120
  164. package/lib/components/eftposPay/amount.d.ts +0 -21
  165. package/lib/components/eftposPay/app.d.ts +0 -11
  166. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -4
  167. package/lib/components/eftposPay/component/fail/index.d.ts +0 -4
  168. package/lib/components/eftposPay/component/fail/network.d.ts +0 -9
  169. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -10
  170. package/lib/components/eftposPay/component/manual/index.d.ts +0 -10
  171. package/lib/components/eftposPay/component/signature/index.d.ts +0 -9
  172. package/lib/components/eftposPay/device.d.ts +0 -24
  173. package/lib/components/eftposPay/index.d.ts +0 -5
  174. package/lib/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
  175. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
  176. package/lib/components/eftposPay/linkly/index.d.ts +0 -3
  177. package/lib/components/eftposPay/pay.d.ts +0 -21
  178. package/lib/components/eftposPay/payo/config.d.ts +0 -13
  179. package/lib/components/eftposPay/payo/hooks.d.ts +0 -10
  180. package/lib/components/eftposPay/payo/payment.d.ts +0 -66
  181. package/lib/components/eftposPay/tip.d.ts +0 -10
  182. package/lib/components/eftposPay/tyro/index.d.ts +0 -9
  183. package/lib/components/eftposPay/utils/payLog.d.ts +0 -81
  184. package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -23
  185. package/lib/components/eftposPay/windcave/windcave.d.ts +0 -7
  186. package/lib/components/kioskSkuDetail/index.d.ts +0 -39
  187. package/lib/components/kioskSkuDetail/locales.d.ts +0 -48
  188. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
  189. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +0 -10
  190. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +0 -10
  191. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +0 -16
  192. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +0 -15
  193. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -83
  194. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
  195. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +0 -10
  196. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -22
  197. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -25
  198. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -16
  199. package/lib/components/pay/toC/PaymentMethods/index.d.ts +0 -9
  200. package/lib/components/pay/toC/index.d.ts +0 -3
  201. package/lib/components/pay/toC/locales.d.ts +0 -631
  202. package/lib/components/pay/toC/payGroup.d.ts +0 -59
  203. package/lib/components/pay/toC/serve.d.ts +0 -87
  204. package/lib/components/pay/toC/utils.d.ts +0 -65
  205. package/lib/components/ruleSetting/locales.d.ts +0 -78
  206. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -10
  207. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -5
  208. package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -13
  209. package/lib/components/ticketBooking/index.d.ts +0 -8
  210. package/lib/components/venueBooking/components/Cart/index.d.ts +0 -28
  211. package/lib/components/venueBooking/components/Footer/index.d.ts +0 -8
  212. package/lib/index.d.ts +0 -87
  213. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -6
  214. package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -4
  215. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -16
  216. package/lib/plus/skuOptionsSelection/index.d.ts +0 -5
  217. package/lib/plus/skuOptionsSelection/locales.d.ts +0 -58
  218. package/lib/plus/skuOptionsSelection/types.d.ts +0 -458
  219. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
  220. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
  221. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
  222. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
  223. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
  224. package/lib/pro/Cards/components/SKUCard/index.d.ts +0 -5
  225. package/lib/pro/Login2.0/components/phoneValidation.d.ts +0 -17
@@ -43,6 +43,7 @@ var locales_default = {
43
43
  "pisell2.venue.cart.delete.venue.only.step1": "Please return to Step 1 before removing court bookings",
44
44
  "pisell2.venue.cart.addons.ready": "Add-ons are ready below.",
45
45
  "pisell2.venue.cart.review.all": "Review everything before payment.",
46
+ "pisell2.venue.action.next": "Next",
46
47
  "pisell2.venue.action.next.addons": "Next: Add-ons",
47
48
  "pisell2.venue.action.review.pay": "Review & Pay",
48
49
  "pisell2.venue.action.pay.now": "Pay now",
@@ -60,6 +61,7 @@ var locales_default = {
60
61
  "pisell2.venue.label.selected": "Selected",
61
62
  "pisell2.venue.label.sold.out": "Sold out",
62
63
  "pisell2.venue.label.few.left": "Few left",
64
+ "pisell2.venue.label.bookable": "Bookable",
63
65
  "pisell2.venue.label.off.peak": "Off-Peak",
64
66
  "pisell2.venue.label.peak": "Peak",
65
67
  "pisell2.venue.label.promo": "Promo",
@@ -111,6 +113,7 @@ var locales_default = {
111
113
  "pisell2.venue.calendar.weekday.short.sun": "Sun",
112
114
  "pisell2.venue.time.am": "am",
113
115
  "pisell2.venue.time.pm": "pm",
116
+ "pisell2.venue.time.hour.format": "{hour}{suffix}",
114
117
  "pisell2.venue.limit.message": "You can book up to 4 bookings or max 8 hours.",
115
118
  "pisell2.text.goodpass": "Promotion",
116
119
  "pisell2.text.goodpass.product-vouchers": "Product Vouchers",
@@ -138,7 +141,8 @@ var locales_default = {
138
141
  "pisell2.appointment.deposit.close": "Close",
139
142
  "pisell2.appointment.policy": "You have read and agreed to this policy",
140
143
  "pisell2.appointment.policy.confirm": "Confirm",
141
- "pisell2.appointment.booking.empty.data": "No data"
144
+ "pisell2.appointment.booking.empty.data": "No data",
145
+ "pisell2.product-select.search": "Search"
142
146
  },
143
147
  "zh-CN": {
144
148
  "pisell2.venue.step.select": "选择场地",
@@ -160,6 +164,7 @@ var locales_default = {
160
164
  "pisell2.venue.cart.delete.venue.only.step1": "请返回第一步后再删除场地商品",
161
165
  "pisell2.venue.cart.addons.ready": "附加项已准备就绪。",
162
166
  "pisell2.venue.cart.review.all": "请在支付前检查所有信息。",
167
+ "pisell2.venue.action.next": "下一步",
163
168
  "pisell2.venue.action.next.addons": "下一步:附加项",
164
169
  "pisell2.venue.action.review.pay": "确认 & 支付",
165
170
  "pisell2.venue.action.pay.now": "立即支付",
@@ -177,6 +182,7 @@ var locales_default = {
177
182
  "pisell2.venue.label.selected": "已选",
178
183
  "pisell2.venue.label.sold.out": "已满",
179
184
  "pisell2.venue.label.few.left": "即将满",
185
+ "pisell2.venue.label.bookable": "充足",
180
186
  "pisell2.venue.label.off.peak": "非高峰",
181
187
  "pisell2.venue.label.peak": "高峰",
182
188
  "pisell2.venue.label.promo": "促销",
@@ -228,6 +234,7 @@ var locales_default = {
228
234
  "pisell2.venue.calendar.weekday.short.sun": "周日",
229
235
  "pisell2.venue.time.am": "上午",
230
236
  "pisell2.venue.time.pm": "下午",
237
+ "pisell2.venue.time.hour.format": "{suffix}{hour}点",
231
238
  "pisell2.venue.limit.message": "最多可预订 4 个场次或 8 小时。",
232
239
  "pisell2.text.goodpass": "促销",
233
240
  "pisell2.text.goodpass.product-vouchers": "商品兑换券",
@@ -255,7 +262,8 @@ var locales_default = {
255
262
  "pisell2.appointment.deposit.close": "关闭",
256
263
  "pisell2.appointment.policy": "您已仔细阅读并同意此协议",
257
264
  "pisell2.appointment.policy.confirm": "确定",
258
- "pisell2.appointment.booking.empty.data": "暂无数据"
265
+ "pisell2.appointment.booking.empty.data": "暂无数据",
266
+ "pisell2.product-select.search": "搜索"
259
267
  },
260
268
  "zh-HK": {
261
269
  "pisell2.venue.step.select": "選擇場地",
@@ -277,6 +285,7 @@ var locales_default = {
277
285
  "pisell2.venue.cart.delete.venue.only.step1": "請返回第一步後再刪除場地商品",
278
286
  "pisell2.venue.cart.addons.ready": "附加項已準備就緒。",
279
287
  "pisell2.venue.cart.review.all": "請在支付前檢查所有資訊。",
288
+ "pisell2.venue.action.next": "下一步",
280
289
  "pisell2.venue.action.next.addons": "下一步:附加項",
281
290
  "pisell2.venue.action.review.pay": "確認 & 支付",
282
291
  "pisell2.venue.action.pay.now": "立即支付",
@@ -294,6 +303,7 @@ var locales_default = {
294
303
  "pisell2.venue.label.selected": "已選",
295
304
  "pisell2.venue.label.sold.out": "已滿",
296
305
  "pisell2.venue.label.few.left": "即將滿",
306
+ "pisell2.venue.label.bookable": "充足",
297
307
  "pisell2.venue.label.off.peak": "非高峰",
298
308
  "pisell2.venue.label.peak": "高峰",
299
309
  "pisell2.venue.label.promo": "促銷",
@@ -345,6 +355,7 @@ var locales_default = {
345
355
  "pisell2.venue.calendar.weekday.short.sun": "週日",
346
356
  "pisell2.venue.time.am": "上午",
347
357
  "pisell2.venue.time.pm": "下午",
358
+ "pisell2.venue.time.hour.format": "{suffix}{hour}點",
348
359
  "pisell2.venue.limit.message": "最多可預訂 4 個場次或 8 小時。",
349
360
  "pisell2.text.goodpass": "促銷",
350
361
  "pisell2.text.goodpass.product-vouchers": "商品兌換券",
@@ -372,7 +383,8 @@ var locales_default = {
372
383
  "pisell2.appointment.deposit.close": "關閉",
373
384
  "pisell2.appointment.policy": "您已仔細閱讀並同意此協議",
374
385
  "pisell2.appointment.policy.confirm": "確定",
375
- "pisell2.appointment.booking.empty.data": "暫無數據"
386
+ "pisell2.appointment.booking.empty.data": "暫無數據",
387
+ "pisell2.product-select.search": "搜索"
376
388
  },
377
389
  ja: {
378
390
  "pisell2.venue.step.select": "コートを選択",
@@ -394,6 +406,7 @@ var locales_default = {
394
406
  "pisell2.venue.cart.delete.venue.only.step1": "コート予約を削除するには、ステップ1に戻ってください",
395
407
  "pisell2.venue.cart.addons.ready": "追加オプションを下から選択できます。",
396
408
  "pisell2.venue.cart.review.all": "支払い前に内容を確認してください。",
409
+ "pisell2.venue.action.next": "次へ",
397
410
  "pisell2.venue.action.next.addons": "次へ:追加オプション",
398
411
  "pisell2.venue.action.review.pay": "確認して支払う",
399
412
  "pisell2.venue.action.pay.now": "今すぐ支払う",
@@ -411,6 +424,7 @@ var locales_default = {
411
424
  "pisell2.venue.label.selected": "選択済み",
412
425
  "pisell2.venue.label.sold.out": "満席",
413
426
  "pisell2.venue.label.few.left": "残りわずか",
427
+ "pisell2.venue.label.bookable": "予約可",
414
428
  "pisell2.venue.label.off.peak": "オフピーク",
415
429
  "pisell2.venue.label.peak": "ピーク",
416
430
  "pisell2.venue.label.promo": "プロモ",
@@ -462,6 +476,7 @@ var locales_default = {
462
476
  "pisell2.venue.calendar.weekday.short.sun": "日",
463
477
  "pisell2.venue.time.am": "午前",
464
478
  "pisell2.venue.time.pm": "午後",
479
+ "pisell2.venue.time.hour.format": "{suffix}{hour}時",
465
480
  "pisell2.venue.limit.message": "最大 4 件の予約、または合計 8 時間まで予約できます。",
466
481
  "pisell2.text.goodpass": "プロモーション",
467
482
  "pisell2.text.goodpass.product-vouchers": "商品バウチャー",
@@ -489,7 +504,8 @@ var locales_default = {
489
504
  "pisell2.appointment.deposit.close": "閉じる",
490
505
  "pisell2.appointment.policy": "このポリシーを読み、同意しました",
491
506
  "pisell2.appointment.policy.confirm": "確認",
492
- "pisell2.appointment.booking.empty.data": "データなし"
507
+ "pisell2.appointment.booking.empty.data": "データなし",
508
+ "pisell2.product-select.search": "検索"
493
509
  },
494
510
  pt: {
495
511
  "pisell2.venue.step.select": "Escolher quadra",
@@ -511,6 +527,7 @@ var locales_default = {
511
527
  "pisell2.venue.cart.delete.venue.only.step1": "Volte para a Etapa 1 antes de remover reservas de quadra",
512
528
  "pisell2.venue.cart.addons.ready": "Os adicionais estão prontos abaixo.",
513
529
  "pisell2.venue.cart.review.all": "Revise tudo antes do pagamento.",
530
+ "pisell2.venue.action.next": "Próximo",
514
531
  "pisell2.venue.action.next.addons": "Próximo: adicionais",
515
532
  "pisell2.venue.action.review.pay": "Revisar e pagar",
516
533
  "pisell2.venue.action.pay.now": "Pagar agora",
@@ -528,6 +545,7 @@ var locales_default = {
528
545
  "pisell2.venue.label.selected": "Selecionado",
529
546
  "pisell2.venue.label.sold.out": "Esgotado",
530
547
  "pisell2.venue.label.few.left": "Poucas vagas",
548
+ "pisell2.venue.label.bookable": "Disponível",
531
549
  "pisell2.venue.label.off.peak": "Fora de pico",
532
550
  "pisell2.venue.label.peak": "Pico",
533
551
  "pisell2.venue.label.promo": "Promoção",
@@ -579,6 +597,7 @@ var locales_default = {
579
597
  "pisell2.venue.calendar.weekday.short.sun": "Dom",
580
598
  "pisell2.venue.time.am": "am",
581
599
  "pisell2.venue.time.pm": "pm",
600
+ "pisell2.venue.time.hour.format": "{hour}{suffix}",
582
601
  "pisell2.venue.limit.message": "Você pode reservar até 4 reservas ou no máximo 8 horas.",
583
602
  "pisell2.text.goodpass": "Promoção",
584
603
  "pisell2.text.goodpass.product-vouchers": "Vales de Produto",
@@ -606,6 +625,7 @@ var locales_default = {
606
625
  "pisell2.appointment.deposit.close": "Fechar",
607
626
  "pisell2.appointment.policy": "Você leu e concordou com esta política",
608
627
  "pisell2.appointment.policy.confirm": "Confirmar",
609
- "pisell2.appointment.booking.empty.data": "Sem dados"
628
+ "pisell2.appointment.booking.empty.data": "Sem dados",
629
+ "pisell2.product-select.search": "Pesquisar"
610
630
  }
611
631
  };
@@ -16,6 +16,14 @@ export declare function pad(n: number): string;
16
16
  export declare function timeToMinutes(time: string): number;
17
17
  export declare function minutesToTime(minutes: number): string;
18
18
  export declare function isHourBoundary(slot: string): boolean;
19
+ /**
20
+ * 格式化小时列头
21
+ * 使用 i18n 模板 `pisell2.venue.time.hour.format`,支持 {suffix} / {hour} 两个占位符
22
+ * - en / pt: "{hour}{suffix}" → "6pm"
23
+ * - zh-CN / zh-TW: "{suffix}{hour}点/點" → "下午6点"
24
+ * - ja: "{suffix}{hour}時" → "午後6時"
25
+ * 未命中模板时回退到 "{hour}{suffix}" 兼容旧行为
26
+ */
19
27
  export declare function formatHourHeader(slot: string): string;
20
28
  /** 从 timeLabels 中提取整点小时(用于表头合并列) */
21
29
  export declare function buildHourGroups(timeLabels: string[]): string[];
@@ -118,9 +118,10 @@ function isHourBoundary(slot) {
118
118
  }
119
119
  function formatHourHeader(slot) {
120
120
  const [hour] = slot.split(":").map(Number);
121
- const suffix = hour >= 12 ? import_utils.locales.getText("pisell2.venue.time.pm") || "下午" : import_utils.locales.getText("pisell2.venue.time.am") || "上午";
121
+ const suffix = hour >= 12 ? import_utils.locales.getText("pisell2.venue.time.pm") || "pm" : import_utils.locales.getText("pisell2.venue.time.am") || "am";
122
122
  const hour12 = hour % 12 === 0 ? 12 : hour % 12;
123
- return `${hour12}${suffix}`;
123
+ const template = import_utils.locales.getText("pisell2.venue.time.hour.format") || "{hour}{suffix}";
124
+ return template.replace("{hour}", String(hour12)).replace("{suffix}", suffix);
124
125
  }
125
126
  function buildHourGroups(timeLabels) {
126
127
  return timeLabels.filter((slot) => slot.endsWith(":00"));
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface LogData {
2
3
  key: string;
3
4
  value: any;
@@ -20,7 +20,7 @@ export declare const getFilterButtonList: () => ({
20
20
  }[];
21
21
  minInputNumberProps?: undefined;
22
22
  maxInputNumberProps?: undefined;
23
- readonly component?: undefined;
23
+ component?: undefined;
24
24
  isSearchServer?: undefined;
25
25
  showSearch?: undefined;
26
26
  showTime?: undefined;
@@ -46,7 +46,7 @@ export declare const getFilterButtonList: () => ({
46
46
  mode?: undefined;
47
47
  maxTagCount?: undefined;
48
48
  options?: undefined;
49
- readonly component?: undefined;
49
+ component?: undefined;
50
50
  isSearchServer?: undefined;
51
51
  showSearch?: undefined;
52
52
  showTime?: undefined;
@@ -91,7 +91,7 @@ export declare const getFilterButtonList: () => ({
91
91
  options: () => Promise<any>;
92
92
  minInputNumberProps?: undefined;
93
93
  maxInputNumberProps?: undefined;
94
- readonly component?: undefined;
94
+ component?: undefined;
95
95
  isSearchServer?: undefined;
96
96
  showSearch?: undefined;
97
97
  showTime?: undefined;
@@ -111,7 +111,7 @@ export declare const getFilterButtonList: () => ({
111
111
  options?: undefined;
112
112
  minInputNumberProps?: undefined;
113
113
  maxInputNumberProps?: undefined;
114
- readonly component?: undefined;
114
+ component?: undefined;
115
115
  isSearchServer?: undefined;
116
116
  showSearch?: undefined;
117
117
  showTime?: undefined;
@@ -133,7 +133,7 @@ export declare const getFilterButtonList: () => ({
133
133
  maxTagCount?: undefined;
134
134
  minInputNumberProps?: undefined;
135
135
  maxInputNumberProps?: undefined;
136
- readonly component?: undefined;
136
+ component?: undefined;
137
137
  showTime?: undefined;
138
138
  };
139
139
  sort?: undefined;
@@ -152,7 +152,7 @@ export declare const getFilterButtonList: () => ({
152
152
  options?: undefined;
153
153
  minInputNumberProps?: undefined;
154
154
  maxInputNumberProps?: undefined;
155
- readonly component?: undefined;
155
+ component?: undefined;
156
156
  isSearchServer?: undefined;
157
157
  showSearch?: undefined;
158
158
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface UseSalesGridDataParams {
2
3
  perspective: 'monitor' | 'handle';
3
4
  extParams?: {
@@ -3,6 +3,6 @@ export interface ImageUploadProps {
3
3
  value?: string;
4
4
  onChange?: (val: string) => void;
5
5
  }
6
- export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
6
+ export declare const getBaseTime: (size: number) => 2000 | 1000 | 4000 | 8000;
7
7
  declare const ImageUpload: React.FC<ImageUploadProps>;
8
8
  export default ImageUpload;
package/package.json CHANGED
@@ -1,6 +1,18 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "6.3.131",
3
+ "version": "6.3.133",
4
+ "scripts": {
5
+ "dev": "father dev",
6
+ "build": "father build",
7
+ "lowcode:dev": "build-scripts start --config ./build.lowcode.js",
8
+ "lowcode:build": " build-scripts build --config ./build.lowcode.js",
9
+ "test": "vitest",
10
+ "test:run": "vitest run",
11
+ "test:coverage": "vitest run --coverage",
12
+ "test:ui": "vitest --ui",
13
+ "storybook": "storybook dev -p 6006",
14
+ "build-storybook": "storybook build"
15
+ },
4
16
  "main": "./lib/index.js",
5
17
  "module": "./es/index.js",
6
18
  "types": "./lib/index.d.ts",
@@ -61,6 +73,10 @@
61
73
  ],
62
74
  "dependencies": {
63
75
  "antd": "5.10.1",
76
+ "@pisell/utils": "workspace:*",
77
+ "@pisell/materials": "workspace:*",
78
+ "@pisell/icon": "workspace:*",
79
+ "@pisell/date-picker": "workspace:*",
64
80
  "@ant-design/icons": "^5.6.1",
65
81
  "@dnd-kit/core": "^6.0.8",
66
82
  "@dnd-kit/modifiers": "^6.0.1",
@@ -75,11 +91,7 @@
75
91
  "rc-virtual-list": "^3.11.3",
76
92
  "react-infinite-scroll-component": "^6.1.0",
77
93
  "react-resizable": "^3.0.5",
78
- "styled-components": "^6.0.0-rc.3",
79
- "@pisell/utils": "3.0.5",
80
- "@pisell/icon": "0.0.11",
81
- "@pisell/date-picker": "3.0.8",
82
- "@pisell/materials": "6.3.34"
94
+ "styled-components": "^6.0.0-rc.3"
83
95
  },
84
96
  "peerDependencies": {
85
97
  "react": "^18.0.0",
@@ -87,17 +99,5 @@
87
99
  },
88
100
  "componentConfig": {
89
101
  "materialSchema": "https://unpkg.com/@pisell/materials@1.0.1/build/lowcode/assets-prod.json"
90
- },
91
- "scripts": {
92
- "dev": "father dev",
93
- "build": "father build",
94
- "lowcode:dev": "build-scripts start --config ./build.lowcode.js",
95
- "lowcode:build": " build-scripts build --config ./build.lowcode.js",
96
- "test": "vitest",
97
- "test:run": "vitest run",
98
- "test:coverage": "vitest run --coverage",
99
- "test:ui": "vitest --ui",
100
- "storybook": "storybook dev -p 6006",
101
- "build-storybook": "storybook build"
102
102
  }
103
103
  }
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare const Form: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
4
- export default Form;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare const Services: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
4
- export default Services;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare const DepositModal: (props: any) => React.JSX.Element;
4
- export default DepositModal;
@@ -1,107 +0,0 @@
1
- export declare const useAppointmentBooking: () => any;
2
- export declare const useShopDiscount: () => any;
3
- export declare const contextUtils: () => any;
4
- /**
5
- * @title: 监听步骤发生变化
6
- * @description:
7
- * @return {*}
8
- * @Author: WangHan
9
- * @Date: 2025-04-15 11:11
10
- */
11
- export declare const useAppointmentBookingStep: () => {
12
- getStepIndex: (type: string, skipNumber?: number) => any;
13
- stepList: any;
14
- removeStep: (key: string) => any;
15
- addStep: (props: any, stepKey?: string) => any;
16
- updateStep: (key: string, step: any) => void;
17
- nextStep: (isLog?: boolean) => any;
18
- };
19
- /**
20
- * @title: 获取商品数据
21
- * @description:
22
- * @return {*}
23
- * @Author: WangHan
24
- * @Date: 2025-04-15 11:12
25
- */
26
- export declare const useAppointmentBookingProduct: () => {
27
- checkProductType: (productId: number) => Promise<any>;
28
- getProducts: () => Promise<any>;
29
- };
30
- /**
31
- * @title: 更新购物车数据
32
- * @description:
33
- * @return {*}
34
- * @Author: WangHan
35
- * @Date: 2025-04-15 11:12
36
- */
37
- export declare const useAppointmentBookingCart: () => void;
38
- /**
39
- * @title: 获取登录状态
40
- * @description:
41
- * @return {*}
42
- * @Author: WangHan
43
- * @Date: 2025-04-15 11:14
44
- */
45
- export declare const useAppointmentBookingLogin: () => {
46
- isLogin: boolean;
47
- openLoginModal: (params: {
48
- callback: any;
49
- }) => void;
50
- };
51
- /**
52
- * @title: 获取账户
53
- * @description:
54
- * @return {*}
55
- * @Author: WangHan
56
- * @Date: 2025-04-15 11:15
57
- */
58
- export declare const useAppointmentBookingAccount: () => {
59
- accountLists: any;
60
- getHolders: () => Promise<any>;
61
- form_id: any;
62
- addAccount: (val: any, type?: string) => Promise<any>;
63
- checkAccount: (type: any) => any;
64
- };
65
- /**
66
- * @title: 获取资源数据
67
- * @description:
68
- * @return {*}
69
- * @Author: WangHan
70
- * @Date: 2025-04-15 11:29
71
- */
72
- export declare const useAppointmentBookingResource: () => {
73
- getResourceTimeSlot: (index?: number) => Promise<void>;
74
- getResourceList: () => {
75
- resources: any[];
76
- resourceCodes: any;
77
- };
78
- };
79
- /**
80
- * @title: 是否跳过资源选择步骤
81
- * @description:
82
- * @return {*}
83
- * @Author: WangHan
84
- * @Date: 2025-04-21 11:47
85
- */
86
- export declare const useIsSkipResourceStep: () => {
87
- checkSkipResourceStep: () => Promise<boolean>;
88
- };
89
- /**
90
- * @title: 获取预约配置
91
- * @description:
92
- * @return {*}
93
- * @Author: WangHan
94
- * @Date: 2025-04-24 18:15
95
- */
96
- export declare const useAppointmentBookingSetting: () => {
97
- isDateSelectedFirst: boolean;
98
- isFormSubject: boolean;
99
- isRetailTemplate: any;
100
- customPageId: any;
101
- channel: any;
102
- bookingSubject: any;
103
- setOtherData: (key: string, val: any) => any;
104
- getOtherData: (key: string) => any;
105
- formName: any;
106
- bookingSetting: any;
107
- };
@@ -1,227 +0,0 @@
1
- /**
2
- * @title: 格式化holder表数据
3
- * @description:
4
- * @param {any} data
5
- * @return {*}
6
- * @Author: WangHan
7
- * @Date: 2025-05-07 21:22
8
- */
9
- export declare const formatHolder: (data: any[]) => any[];
10
- export declare const formatGuest: (data: any[], products: any) => any[];
11
- /**
12
- * @title: 格式化购物车中资源上挂接的表单数据
13
- * @description:
14
- * @param {any} data
15
- * @param {any} resources
16
- * @return {*}
17
- * @Author: WangHan
18
- * @Date: 2025-05-06 22:22
19
- */
20
- export declare const formatCartsResources: (carts: any[], resources: any[], setPolicyIds: any) => any[];
21
- /**
22
- * @title: 格式化购物车数据
23
- * @description:
24
- * @param {any} data
25
- * @param {any} resources
26
- * @param {any} accountLists
27
- * @return {*}
28
- * @Author: WangHan
29
- * @Date: 2025-05-07 21:22
30
- */
31
- export declare const formatCarts: (data: any[], resources: any[], utils: any, accountLists?: any) => any[];
32
- /**
33
- * @title: 对资源进行排序
34
- * @description:
35
- * @param {any} currentResourcesMap
36
- * @param {any} resourceSort
37
- * @return {*}
38
- * @Author: WangHan
39
- * @Date: 2025-04-14 11:16
40
- */
41
- export declare const sortResources: (resources: any[], resourceSort: any[]) => any[] | undefined;
42
- /**
43
- * @title: 处理资源列表并提取资源代码
44
- * @description: 对资源列表进行排序,并提取 resourceCodes
45
- * @param {any[]} resources - 原始资源列表
46
- * @param {any[]} resourceSort - 资源排序配置
47
- * @return {*} 返回处理后的资源列表和资源代码数组
48
- * @Author: WangHan
49
- * @Date: 2025-11-21 15:33
50
- */
51
- export declare const processResourceList: (resources: any[], resourceSort: any[]) => {
52
- resources: any[];
53
- resourceCodes: any;
54
- };
55
- export declare const getMeAccount: (val: any[]) => any;
56
- export declare const getCustomer: (utils: any) => any;
57
- export declare const formatCustomer: (val: any) => {
58
- id: any;
59
- username: string;
60
- };
61
- export declare const formatCurrentUser: (utils: any) => {
62
- id: any;
63
- username: string;
64
- };
65
- /**
66
- * @title: 定金合并的标点符号
67
- * @description:
68
- * @return {*}
69
- * @Author: WangHan
70
- * @Date: 2025-04-21 17:52
71
- */
72
- export declare const getPunctuationMark: (index: number, totalLength: number, isEn: boolean) => any;
73
- /**
74
- * @title: 判断当前选中的资源中是否有 resource_form_id 表单id,如果有表单则下一步是选择表单
75
- * @description:
76
- * @param {any} array
77
- * @param {any} resources
78
- * @return {*}
79
- * @Author: WangHan
80
- * @Date: 2025-04-25 19:05
81
- */
82
- export declare const hasResourceFormId: (array: any[]) => boolean | undefined;
83
- export declare const formatForms: (array: any[]) => ({
84
- form_id: any;
85
- policy_id: any;
86
- id: any;
87
- cart_id: any;
88
- } | null)[];
89
- /**
90
- * @title: 打开表单
91
- * @description:
92
- * @param {string} title
93
- * @param {any} callback
94
- * @return {*}
95
- * @Author: WangHan
96
- * @Date: 2025-04-26 15:26
97
- */
98
- export declare const openForm: ({ form_id, title, callback, utils }: any) => void;
99
- /**
100
- * @title: 更新数组
101
- * @description:
102
- * @return {*}
103
- * @Author: WangHan
104
- * @Date: 2025-04-26 18:13
105
- */
106
- export declare function updateLists<T extends Record<string, any>>(list: T[], key: string, value: any, newData: Partial<T>): T[];
107
- /**
108
- * @title: 更新表单存储
109
- * @description:
110
- * @param {any} bookingForm
111
- * @param {number} id
112
- * @param {any} newData
113
- * @return {*}
114
- * @Author: WangHan
115
- * @Date: 2025-04-27 17:27
116
- */
117
- export declare const updateBookingFormStorage: (bookingForm: any, id: number | string, newData: any) => any;
118
- export declare const Toast: (text: string) => void;
119
- /**
120
- * @title: 添加或移除表单步骤
121
- * @description:
122
- * @param {any} param1
123
- * @return {*}
124
- * @Author: WangHan
125
- * @Date: 2025-05-06 21:51
126
- */
127
- export declare const checkHasFormStep: ({ setIsErrorHolder, nextStep, isSkip, checkHolder, checkAccount, carts, setCarts, hasResourceFormId, currentStep, stepList, appointmentBooking, locales, isLogin, openLoginModal, isFormSubject, utils, accountLists, getHolders }: any) => void;
128
- export declare const getCartCurrentResourceData: (cart: any, currentKey: any, resources: any[]) => any;
129
- /**
130
- * @title: 获取购物车资源列表
131
- * @description:
132
- * @return {*}
133
- * @Author: WangHan
134
- * @Date: 2025-05-25 13:56
135
- */
136
- export declare const getMultiResources: (cart: any, currentSelectedResource: any, currentKey: string) => any[];
137
- export declare const getCurrentBoard: (appointmentBooking: any, code: string) => any;
138
- /**
139
- * @title:
140
- * @description: 根据资源code获取资源标题
141
- * @param {any} appointmentBooking
142
- * @param {string} code
143
- * @return {*}
144
- * @Author: WangHan
145
- * @Date: 2025-05-24 18:51
146
- */
147
- export declare const getResourceTitle: (appointmentBooking: any, code: string, utils: any, originResource: any) => string;
148
- /**
149
- * @title: 监测购物车中是否有没有选择资源的
150
- * @description:
151
- * @param {any} carts
152
- * @return {*}
153
- * @Author: WangHan
154
- * @Date: 2025-05-24 18:47
155
- */
156
- export declare const checkAndMarkCartRenderError: (carts: any, appointmentBooking?: any, utils?: any) => {
157
- hasError: boolean;
158
- updatedCartList: any;
159
- } | {
160
- hasError?: undefined;
161
- updatedCartList?: undefined;
162
- };
163
- /**
164
- * @title: 查表表单步骤插入到哪个步骤的后面的key
165
- * @description:
166
- * @param {string} currentKey
167
- * @param {any} stepList
168
- * @return {*}
169
- * @Author: WangHan
170
- * @Date: 2025-05-24 19:05
171
- */
172
- export declare const getFormInsertBeforeKey: (currentKey: string, stepList: any[]) => any;
173
- /**
174
- * @title: 监测holder数据
175
- * @description:
176
- * @param {any} isFormSubject
177
- * @param {any} checkAccount
178
- * @param {any} carts
179
- * @return {*}
180
- * @Author: WangHan
181
- * @Date: 2025-05-24 22:46
182
- */
183
- export declare const checkAndGoNext: (isFormSubject: any, checkAccount: any, carts: any[]) => {
184
- hasError: boolean;
185
- updatedCartList: any[];
186
- };
187
- export declare const currentAppointmentBoard: (currentKey: string, resources: any[], appointmentBooking: any) => {
188
- isRequired: boolean;
189
- isSystem: boolean;
190
- isSkip: boolean;
191
- form_id: number;
192
- form_code: any;
193
- cart_id: string;
194
- resource_form_id: string;
195
- policy_id: string;
196
- } | {
197
- isRequired?: undefined;
198
- isSystem?: undefined;
199
- isSkip?: undefined;
200
- form_id?: undefined;
201
- form_code?: undefined;
202
- cart_id?: undefined;
203
- resource_form_id?: undefined;
204
- policy_id?: undefined;
205
- };
206
- export declare const currentRenderLists: (resources: any[], code: any) => any;
207
- /**
208
- * @title: 更新购物车
209
- * @description:
210
- * @param {any} carts
211
- * @param {any} value
212
- * @return {*}
213
- * @Author: WangHan
214
- * @Date: 2025-05-25 23:17
215
- */
216
- export declare const updateCartResources: (item: any, value?: any, currentSelectedResources?: any) => any;
217
- /**
218
- * @title: 根据步骤key清空数据
219
- * @param {string} key - 当前步骤的key
220
- * @param {any} appointmentBooking - 预约预订实例
221
- * @param {(times: any[]) => void} setTimes - 设置时间列表的回调函数
222
- * @return {string[]} 返回需要清空的数据类型数组
223
- * @Author: WangHan
224
- * @Date: 2025-11-21 15:40
225
- */
226
- export declare const clearDataByStepKey: (key: string, appointmentBooking: any, setTimes?: ((times: any[]) => void) | undefined) => string[] | undefined;
227
- export declare const nextStepLog: (utils: any, title: string, content?: any) => void;