@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
@@ -7,10 +7,6 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
7
7
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
8
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
9
9
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
10
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
11
- function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
12
- function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
13
- function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
14
10
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
15
11
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
16
12
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
@@ -27,7 +23,7 @@ import { message } from 'antd';
27
23
  import { locales } from '@pisell/utils';
28
24
  import { usePisellOS } from "../../hooks/useEngineContext";
29
25
  import useEngineContext from "../../hooks/useEngineContext";
30
- import { VENUE_BOOKING_STEPS, VENUE_PRODUCT_IDS, useVenueBookingModule, useVenueBookingLogin, safeRunModuleAction, createVenueBookingViewModel, loadVenueProducts, fetchResourceAvailability, getDateRangeSummary, getTimeSlotGrid, toggleSlotAction, getAllSelectedSlots, getOtherParams } from "./hooks";
26
+ import { VENUE_PRODUCT_IDS, useVenueBookingModule, useVenueBookingLogin, safeRunModuleAction, createVenueBookingViewModel, loadVenueProducts, fetchResourceAvailability, getDateRangeSummary, getTimeSlotGrid, toggleSlotAction, getAllSelectedSlots, getOtherParams } from "./hooks";
31
27
  import { formatDateKey, getWeekDays } from "./utils";
32
28
  var VenueBookingContext = /*#__PURE__*/createContext(undefined);
33
29
 
@@ -43,6 +39,13 @@ var INITIAL_VIEW_MODEL = {
43
39
  addonProductList: []
44
40
  };
45
41
 
42
+ /**
43
+ * 宿主 engineContext.appHelper.utils 缺失时的稳定兜底对象。
44
+ * 必须为模块级常量,避免在 Provider 内用 `|| {}` 字面量导致每次 render 产生新引用,
45
+ * 进而让依赖它的 useCallback / useEffect 反复失效,拖入重渲染循环。
46
+ */
47
+ var EMPTY_UTILS = {};
48
+
46
49
  /**
47
50
  * 计算 anchorDate 所在周的起止日期
48
51
  */
@@ -54,6 +57,19 @@ function getWeekRange(anchor) {
54
57
  };
55
58
  }
56
59
 
60
+ /**
61
+ * 把 startDate 夹紧到今天:避免把已过去的日期传给 OS。
62
+ * 若整段范围都已过去(endDate < 今天),返回 null 表示该段不需要请求。
63
+ */
64
+ function clampRangeToToday(startDate, endDate) {
65
+ var todayKey = formatDateKey(dayjs());
66
+ if (endDate < todayKey) return null;
67
+ return {
68
+ startDate: startDate < todayKey ? todayKey : startDate,
69
+ endDate: endDate
70
+ };
71
+ }
72
+
57
73
  /**
58
74
  * 从 submitOrder 异常中提取可读错误文案(优先规则校验提示)
59
75
  */
@@ -94,7 +110,7 @@ function findNearestAvailableDate(params) {
94
110
  * 管理步骤导航、场地选择状态、OS 模块集成
95
111
  */
96
112
  export function VenueBookingProvider(_ref) {
97
- var _engineContext$appHel, _viewModel$summary2;
113
+ var _viewModel$addonProdu2, _engineContext$appHel, _viewModel$summary2;
98
114
  var entryContext = _ref.entryContext,
99
115
  children = _ref.children;
100
116
  var pisellOS = usePisellOS();
@@ -105,7 +121,6 @@ export function VenueBookingProvider(_ref) {
105
121
  _useState2 = _slicedToArray(_useState, 2),
106
122
  currentStep = _useState2[0],
107
123
  setCurrentStep = _useState2[1];
108
- var stepList = _toConsumableArray(VENUE_BOOKING_STEPS);
109
124
 
110
125
  // ── 视图模型 ──
111
126
  var _useState3 = useState(INITIAL_VIEW_MODEL),
@@ -113,6 +128,17 @@ export function VenueBookingProvider(_ref) {
113
128
  viewModel = _useState4[0],
114
129
  setViewModel = _useState4[1];
115
130
 
131
+ /**
132
+ * 步骤列表:当 addonProductList 为空时跳过 addons 步骤。
133
+ * - 有附加商品:select-venue → addons → checkout(3 步)
134
+ * - 无附加商品:select-venue → checkout(2 步)
135
+ */
136
+ var stepList = useMemo(function () {
137
+ var _viewModel$addonProdu;
138
+ var hasAddons = (((_viewModel$addonProdu = viewModel.addonProductList) === null || _viewModel$addonProdu === void 0 ? void 0 : _viewModel$addonProdu.length) || 0) > 0;
139
+ return hasAddons ? ['select-venue', 'addons', 'checkout'] : ['select-venue', 'checkout'];
140
+ }, [(_viewModel$addonProdu2 = viewModel.addonProductList) === null || _viewModel$addonProdu2 === void 0 ? void 0 : _viewModel$addonProdu2.length]);
141
+
116
142
  // ── 加载状态 ──
117
143
  var _useState5 = useState(true),
118
144
  _useState6 = _slicedToArray(_useState5, 2),
@@ -165,7 +191,7 @@ export function VenueBookingProvider(_ref) {
165
191
  isLogin = _useVenueBookingLogin.isLogin,
166
192
  openLoginModal = _useVenueBookingLogin.openLoginModal;
167
193
  var engineContext = useEngineContext();
168
- var utils = (engineContext === null || engineContext === void 0 || (_engineContext$appHel = engineContext.appHelper) === null || _engineContext$appHel === void 0 ? void 0 : _engineContext$appHel.utils) || {};
194
+ var utils = (engineContext === null || engineContext === void 0 || (_engineContext$appHel = engineContext.appHelper) === null || _engineContext$appHel === void 0 ? void 0 : _engineContext$appHel.utils) || EMPTY_UTILS;
169
195
 
170
196
  // ── 折扣/优惠券状态 ──
171
197
  var _useState25 = useState([]),
@@ -286,7 +312,7 @@ export function VenueBookingProvider(_ref) {
286
312
  */
287
313
  var fetchWeekData = useCallback( /*#__PURE__*/function () {
288
314
  var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(startDate, endDate) {
289
- var summary, currentDateKey, grid;
315
+ var clamped, summary, raw, currentDateKey, grid;
290
316
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
291
317
  while (1) switch (_context2.prev = _context2.next) {
292
318
  case 0:
@@ -298,27 +324,36 @@ export function VenueBookingProvider(_ref) {
298
324
  case 2:
299
325
  setIsWeekLoading(true);
300
326
  _context2.prev = 3;
301
- _context2.next = 6;
302
- return fetchResourceAvailability(venueBookingModule, startDate, endDate);
303
- case 6:
304
- summary = getDateRangeSummary(venueBookingModule, startDate, endDate);
327
+ // 把区间起点夹紧到今天,避免把已过去的日期传给 OS;整段已过去时直接跳过 OS 请求
328
+ clamped = clampRangeToToday(startDate, endDate);
329
+ summary = [];
330
+ if (!clamped) {
331
+ _context2.next = 11;
332
+ break;
333
+ }
334
+ _context2.next = 9;
335
+ return fetchResourceAvailability(venueBookingModule, clamped.startDate, clamped.endDate);
336
+ case 9:
337
+ raw = getDateRangeSummary(venueBookingModule, clamped.startDate, clamped.endDate);
338
+ summary = Array.isArray(raw) ? raw : [];
339
+ case 11:
305
340
  currentDateKey = formatDateKey(anchorDateRef.current);
306
341
  grid = getTimeSlotGrid(venueBookingModule, currentDateKey);
307
342
  setViewModel(function (prev) {
308
343
  return _objectSpread(_objectSpread({}, prev), {}, {
309
- dateSummary: Array.isArray(summary) ? summary : [],
344
+ dateSummary: summary,
310
345
  timeSlotGrid: grid
311
346
  });
312
347
  });
313
- case 10:
314
- _context2.prev = 10;
348
+ case 14:
349
+ _context2.prev = 14;
315
350
  setIsWeekLoading(false);
316
- return _context2.finish(10);
317
- case 13:
351
+ return _context2.finish(14);
352
+ case 17:
318
353
  case "end":
319
354
  return _context2.stop();
320
355
  }
321
- }, _callee2, null, [[3,, 10, 13]]);
356
+ }, _callee2, null, [[3,, 14, 17]]);
322
357
  }));
323
358
  return function (_x2, _x3) {
324
359
  return _ref3.apply(this, arguments);
@@ -347,27 +382,34 @@ export function VenueBookingProvider(_ref) {
347
382
  MAX_FORWARD_WEEKS = 8;
348
383
  fallbackSummary = [];
349
384
  _loop = /*#__PURE__*/_regeneratorRuntime().mark(function _loop() {
350
- var probeDate, _getWeekRange, startDate, endDate, weekSummary, candidateDate, grid;
385
+ var probeDate, _getWeekRange, startDate, endDate, clamped, weekSummary, candidateDate, grid;
351
386
  return _regeneratorRuntime().wrap(function _loop$(_context3) {
352
387
  while (1) switch (_context3.prev = _context3.next) {
353
388
  case 0:
354
389
  probeDate = fromDate.add(weekOffset * 7, 'day');
355
- _getWeekRange = getWeekRange(probeDate), startDate = _getWeekRange.startDate, endDate = _getWeekRange.endDate;
356
- _context3.next = 4;
357
- return fetchResourceAvailability(venueBookingModule, startDate, endDate);
358
- case 4:
359
- weekSummary = getDateRangeSummary(venueBookingModule, startDate, endDate);
390
+ _getWeekRange = getWeekRange(probeDate), startDate = _getWeekRange.startDate, endDate = _getWeekRange.endDate; // 夹紧到今天再请求 OS:当前周会从今天开始,未来周不受影响;整段已过去则跳过
391
+ clamped = clampRangeToToday(startDate, endDate);
392
+ if (clamped) {
393
+ _context3.next = 5;
394
+ break;
395
+ }
396
+ return _context3.abrupt("return", 0);
397
+ case 5:
398
+ _context3.next = 7;
399
+ return fetchResourceAvailability(venueBookingModule, clamped.startDate, clamped.endDate);
400
+ case 7:
401
+ weekSummary = getDateRangeSummary(venueBookingModule, clamped.startDate, clamped.endDate);
360
402
  if (weekOffset === 0) fallbackSummary = Array.isArray(weekSummary) ? weekSummary : [];
361
403
  candidateDate = findNearestAvailableDate({
362
404
  summary: Array.isArray(weekSummary) ? weekSummary : [],
363
405
  preferredDate: weekOffset === 0 ? fromDate : probeDate.startOf('week')
364
406
  });
365
407
  if (candidateDate) {
366
- _context3.next = 9;
408
+ _context3.next = 12;
367
409
  break;
368
410
  }
369
411
  return _context3.abrupt("return", 0);
370
- case 9:
412
+ case 12:
371
413
  setAnchorDate(candidateDate);
372
414
  setMonthCursor(candidateDate.startOf('month'));
373
415
  grid = getTimeSlotGrid(venueBookingModule, formatDateKey(candidateDate));
@@ -380,7 +422,7 @@ export function VenueBookingProvider(_ref) {
380
422
  return _context3.abrupt("return", {
381
423
  v: void 0
382
424
  });
383
- case 14:
425
+ case 17:
384
426
  case "end":
385
427
  return _context3.stop();
386
428
  }
@@ -734,7 +776,24 @@ export function VenueBookingProvider(_ref) {
734
776
  }, _callee10);
735
777
  })), [isLogin, openLoginModal, handleLoginSuccess, submitOrder]);
736
778
 
737
- /** 主操作按钮行为(含登录门禁) */
779
+ /** 跳转到 checkout,并在未登录时插入登录门禁(参照 scanOrder gotoCheckOrder) */
780
+ var proceedToCheckout = useCallback(function () {
781
+ if (!isLogin) {
782
+ openLoginModal({
783
+ callback: function callback(status) {
784
+ if (status === 'success') {
785
+ handleLoginSuccess().then(function () {
786
+ return goToStep('checkout');
787
+ });
788
+ }
789
+ }
790
+ });
791
+ return;
792
+ }
793
+ goToStep('checkout');
794
+ }, [isLogin, openLoginModal, handleLoginSuccess, goToStep]);
795
+
796
+ /** 主操作按钮行为(含登录门禁,自适应 2/3 步流程) */
738
797
  var handlePrimaryAction = useCallback(function () {
739
798
  var _viewModel$summary3, _deposit$deposit_poli;
740
799
  if (currentStep === 'select-venue') {
@@ -745,24 +804,16 @@ export function VenueBookingProvider(_ref) {
745
804
  });
746
805
  return;
747
806
  }
807
+ // 2 步模式:select-venue 直接进 checkout(带登录门禁);3 步模式:先去 addons
808
+ if (stepList[1] === 'checkout') {
809
+ proceedToCheckout();
810
+ return;
811
+ }
748
812
  goToStep('addons');
749
813
  return;
750
814
  }
751
- // addons -> checkout:插入登录门禁(参照 scanOrder gotoCheckOrder)
752
815
  if (currentStep === 'addons') {
753
- if (!isLogin) {
754
- openLoginModal({
755
- callback: function callback(status) {
756
- if (status === 'success') {
757
- handleLoginSuccess().then(function () {
758
- return goToStep('checkout');
759
- });
760
- }
761
- }
762
- });
763
- return;
764
- }
765
- goToStep('checkout');
816
+ proceedToCheckout();
766
817
  return;
767
818
  }
768
819
  // checkout -> 支付:有定金协议时必须已勾选,否则 Toast 提示
@@ -772,7 +823,7 @@ export function VenueBookingProvider(_ref) {
772
823
  return;
773
824
  }
774
825
  void handleSubmitOrder();
775
- }, [currentStep, canNext, isLogin, isAgreeDepositPolicy, viewModel.summary, goToStep, openLoginModal, handleLoginSuccess, handleSubmitOrder]);
826
+ }, [currentStep, canNext, isAgreeDepositPolicy, viewModel.summary, stepList, proceedToCheckout, goToStep, handleSubmitOrder]);
776
827
 
777
828
  // ── 监听全局登录成功事件(Voucher 区域内登录等场景) ──
778
829
  useEffect(function () {
@@ -5,6 +5,7 @@ export declare const VENUE_BOOKING_STEPS: readonly ["select-venue", "addons", "c
5
5
  export declare const VENUE_PRODUCT_IDS: number[];
6
6
  /**
7
7
  * 获取 PisellOS venueBooking 业务模块
8
+ * 使用 useRef 稳定模块引用,防止 getModule 返回值每次渲染变化时触发 bootstrap useEffect 重跑
8
9
  */
9
10
  export declare function useVenueBookingModule(): any;
10
11
  /** 统一获取货币前缀(优先引擎配置,兜底 '$') */
@@ -6,6 +6,7 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
6
6
  * venueBooking 核心 hooks
7
7
  * 模块获取、ViewModel 构建、入口上下文标准化、模块方法封装
8
8
  */
9
+ import { useRef } from 'react';
9
10
  import { usePisellOS } from "../../hooks/useEngineContext";
10
11
  import useEngineContext from "../../hooks/useEngineContext";
11
12
  import { toShoppingCartProducts } from "../scanOrder/utils/toShoppingCartProducts";
@@ -17,11 +18,16 @@ export var VENUE_PRODUCT_IDS = [61947, 61948];
17
18
 
18
19
  /**
19
20
  * 获取 PisellOS venueBooking 业务模块
21
+ * 使用 useRef 稳定模块引用,防止 getModule 返回值每次渲染变化时触发 bootstrap useEffect 重跑
20
22
  */
21
23
  export function useVenueBookingModule() {
22
- var _pisellOS$getModule;
23
24
  var pisellOS = usePisellOS();
24
- return pisellOS === null || pisellOS === void 0 || (_pisellOS$getModule = pisellOS.getModule) === null || _pisellOS$getModule === void 0 ? void 0 : _pisellOS$getModule.call(pisellOS, 'venueBooking');
25
+ var moduleRef = useRef(null);
26
+ if (!moduleRef.current) {
27
+ var _pisellOS$getModule, _pisellOS$getModule2;
28
+ moduleRef.current = (_pisellOS$getModule = pisellOS === null || pisellOS === void 0 || (_pisellOS$getModule2 = pisellOS.getModule) === null || _pisellOS$getModule2 === void 0 ? void 0 : _pisellOS$getModule2.call(pisellOS, 'venueBooking')) !== null && _pisellOS$getModule !== void 0 ? _pisellOS$getModule : null;
29
+ }
30
+ return moduleRef.current;
25
31
  }
26
32
 
27
33
  /** 统一获取货币前缀(优先引擎配置,兜底 '$') */
@@ -1,8 +1,14 @@
1
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
5
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
1
7
  /**
2
8
  * venueBooking 入口组件
3
9
  * 初始化国际化、标准化入口上下文,并挂载 Provider + Content
4
10
  */
5
- import React from 'react';
11
+ import React, { useState, useEffect } from 'react';
6
12
  import { locales } from '@pisell/utils';
7
13
  import useEngineContext from "../../hooks/useEngineContext";
8
14
  import { VenueBookingProvider } from "./context";
@@ -16,8 +22,30 @@ function VenueBooking(props) {
16
22
  var context = useEngineContext();
17
23
  var entryContext = normalizeEntryContext(context === null || context === void 0 || (_context$engine = context.engine) === null || _context$engine === void 0 ? void 0 : _context$engine.props);
18
24
  locales.init(localeTexts, (context === null || context === void 0 || (_context$engine2 = context.engine) === null || _context$engine2 === void 0 || (_context$engine2 = _context$engine2.props) === null || _context$engine2 === void 0 ? void 0 : _context$engine2.locale) || 'en');
25
+
26
+ // h-full 依赖父链上每一层都有明确高度,但宿主环境(如 KeepAlive wrapper)可能打断此链。
27
+ // 直接用 window.innerHeight 作为组件高度,绕开父链继承问题。
28
+ var _useState = useState(typeof window !== 'undefined' ? window.innerHeight : undefined),
29
+ _useState2 = _slicedToArray(_useState, 2),
30
+ viewportHeight = _useState2[0],
31
+ setViewportHeight = _useState2[1];
32
+ useEffect(function () {
33
+ function onResize() {
34
+ setViewportHeight(window.innerHeight);
35
+ }
36
+ setViewportHeight(window.innerHeight);
37
+ window.addEventListener('resize', onResize);
38
+ return function () {
39
+ return window.removeEventListener('resize', onResize);
40
+ };
41
+ }, []);
19
42
  return /*#__PURE__*/React.createElement("div", {
20
- className: "venue-booking-scope h-full overflow-x-hidden overscroll-none bg-[#f5f5f3] text-zinc-900"
43
+ className: "venue-booking-scope overflow-x-hidden overscroll-none bg-[#f5f5f3] text-zinc-900",
44
+ style: viewportHeight !== undefined ? {
45
+ height: viewportHeight
46
+ } : {
47
+ height: '100vh'
48
+ }
21
49
  }, /*#__PURE__*/React.createElement(VenueBookingProvider, {
22
50
  entryContext: entryContext
23
51
  }, /*#__PURE__*/React.createElement(Content, null)));
@@ -23,6 +23,7 @@ declare const _default: {
23
23
  'pisell2.venue.cart.delete.venue.only.step1': string;
24
24
  'pisell2.venue.cart.addons.ready': string;
25
25
  'pisell2.venue.cart.review.all': string;
26
+ 'pisell2.venue.action.next': string;
26
27
  'pisell2.venue.action.next.addons': string;
27
28
  'pisell2.venue.action.review.pay': string;
28
29
  'pisell2.venue.action.pay.now': string;
@@ -40,6 +41,7 @@ declare const _default: {
40
41
  'pisell2.venue.label.selected': string;
41
42
  'pisell2.venue.label.sold.out': string;
42
43
  'pisell2.venue.label.few.left': string;
44
+ 'pisell2.venue.label.bookable': string;
43
45
  'pisell2.venue.label.off.peak': string;
44
46
  'pisell2.venue.label.peak': string;
45
47
  'pisell2.venue.label.promo': string;
@@ -91,6 +93,7 @@ declare const _default: {
91
93
  'pisell2.venue.calendar.weekday.short.sun': string;
92
94
  'pisell2.venue.time.am': string;
93
95
  'pisell2.venue.time.pm': string;
96
+ 'pisell2.venue.time.hour.format': string;
94
97
  'pisell2.venue.limit.message': string;
95
98
  'pisell2.text.goodpass': string;
96
99
  'pisell2.text.goodpass.product-vouchers': string;
@@ -119,6 +122,7 @@ declare const _default: {
119
122
  'pisell2.appointment.policy': string;
120
123
  'pisell2.appointment.policy.confirm': string;
121
124
  'pisell2.appointment.booking.empty.data': string;
125
+ 'pisell2.product-select.search': string;
122
126
  };
123
127
  'zh-CN': {
124
128
  'pisell2.venue.step.select': string;
@@ -140,6 +144,7 @@ declare const _default: {
140
144
  'pisell2.venue.cart.delete.venue.only.step1': string;
141
145
  'pisell2.venue.cart.addons.ready': string;
142
146
  'pisell2.venue.cart.review.all': string;
147
+ 'pisell2.venue.action.next': string;
143
148
  'pisell2.venue.action.next.addons': string;
144
149
  'pisell2.venue.action.review.pay': string;
145
150
  'pisell2.venue.action.pay.now': string;
@@ -157,6 +162,7 @@ declare const _default: {
157
162
  'pisell2.venue.label.selected': string;
158
163
  'pisell2.venue.label.sold.out': string;
159
164
  'pisell2.venue.label.few.left': string;
165
+ 'pisell2.venue.label.bookable': string;
160
166
  'pisell2.venue.label.off.peak': string;
161
167
  'pisell2.venue.label.peak': string;
162
168
  'pisell2.venue.label.promo': string;
@@ -208,6 +214,7 @@ declare const _default: {
208
214
  'pisell2.venue.calendar.weekday.short.sun': string;
209
215
  'pisell2.venue.time.am': string;
210
216
  'pisell2.venue.time.pm': string;
217
+ 'pisell2.venue.time.hour.format': string;
211
218
  'pisell2.venue.limit.message': string;
212
219
  'pisell2.text.goodpass': string;
213
220
  'pisell2.text.goodpass.product-vouchers': string;
@@ -236,6 +243,7 @@ declare const _default: {
236
243
  'pisell2.appointment.policy': string;
237
244
  'pisell2.appointment.policy.confirm': string;
238
245
  'pisell2.appointment.booking.empty.data': string;
246
+ 'pisell2.product-select.search': string;
239
247
  };
240
248
  'zh-HK': {
241
249
  'pisell2.venue.step.select': string;
@@ -257,6 +265,7 @@ declare const _default: {
257
265
  'pisell2.venue.cart.delete.venue.only.step1': string;
258
266
  'pisell2.venue.cart.addons.ready': string;
259
267
  'pisell2.venue.cart.review.all': string;
268
+ 'pisell2.venue.action.next': string;
260
269
  'pisell2.venue.action.next.addons': string;
261
270
  'pisell2.venue.action.review.pay': string;
262
271
  'pisell2.venue.action.pay.now': string;
@@ -274,6 +283,7 @@ declare const _default: {
274
283
  'pisell2.venue.label.selected': string;
275
284
  'pisell2.venue.label.sold.out': string;
276
285
  'pisell2.venue.label.few.left': string;
286
+ 'pisell2.venue.label.bookable': string;
277
287
  'pisell2.venue.label.off.peak': string;
278
288
  'pisell2.venue.label.peak': string;
279
289
  'pisell2.venue.label.promo': string;
@@ -325,6 +335,7 @@ declare const _default: {
325
335
  'pisell2.venue.calendar.weekday.short.sun': string;
326
336
  'pisell2.venue.time.am': string;
327
337
  'pisell2.venue.time.pm': string;
338
+ 'pisell2.venue.time.hour.format': string;
328
339
  'pisell2.venue.limit.message': string;
329
340
  'pisell2.text.goodpass': string;
330
341
  'pisell2.text.goodpass.product-vouchers': string;
@@ -353,6 +364,7 @@ declare const _default: {
353
364
  'pisell2.appointment.policy': string;
354
365
  'pisell2.appointment.policy.confirm': string;
355
366
  'pisell2.appointment.booking.empty.data': string;
367
+ 'pisell2.product-select.search': string;
356
368
  };
357
369
  ja: {
358
370
  'pisell2.venue.step.select': string;
@@ -374,6 +386,7 @@ declare const _default: {
374
386
  'pisell2.venue.cart.delete.venue.only.step1': string;
375
387
  'pisell2.venue.cart.addons.ready': string;
376
388
  'pisell2.venue.cart.review.all': string;
389
+ 'pisell2.venue.action.next': string;
377
390
  'pisell2.venue.action.next.addons': string;
378
391
  'pisell2.venue.action.review.pay': string;
379
392
  'pisell2.venue.action.pay.now': string;
@@ -391,6 +404,7 @@ declare const _default: {
391
404
  'pisell2.venue.label.selected': string;
392
405
  'pisell2.venue.label.sold.out': string;
393
406
  'pisell2.venue.label.few.left': string;
407
+ 'pisell2.venue.label.bookable': string;
394
408
  'pisell2.venue.label.off.peak': string;
395
409
  'pisell2.venue.label.peak': string;
396
410
  'pisell2.venue.label.promo': string;
@@ -442,6 +456,7 @@ declare const _default: {
442
456
  'pisell2.venue.calendar.weekday.short.sun': string;
443
457
  'pisell2.venue.time.am': string;
444
458
  'pisell2.venue.time.pm': string;
459
+ 'pisell2.venue.time.hour.format': string;
445
460
  'pisell2.venue.limit.message': string;
446
461
  'pisell2.text.goodpass': string;
447
462
  'pisell2.text.goodpass.product-vouchers': string;
@@ -470,6 +485,7 @@ declare const _default: {
470
485
  'pisell2.appointment.policy': string;
471
486
  'pisell2.appointment.policy.confirm': string;
472
487
  'pisell2.appointment.booking.empty.data': string;
488
+ 'pisell2.product-select.search': string;
473
489
  };
474
490
  pt: {
475
491
  'pisell2.venue.step.select': string;
@@ -491,6 +507,7 @@ declare const _default: {
491
507
  'pisell2.venue.cart.delete.venue.only.step1': string;
492
508
  'pisell2.venue.cart.addons.ready': string;
493
509
  'pisell2.venue.cart.review.all': string;
510
+ 'pisell2.venue.action.next': string;
494
511
  'pisell2.venue.action.next.addons': string;
495
512
  'pisell2.venue.action.review.pay': string;
496
513
  'pisell2.venue.action.pay.now': string;
@@ -508,6 +525,7 @@ declare const _default: {
508
525
  'pisell2.venue.label.selected': string;
509
526
  'pisell2.venue.label.sold.out': string;
510
527
  'pisell2.venue.label.few.left': string;
528
+ 'pisell2.venue.label.bookable': string;
511
529
  'pisell2.venue.label.off.peak': string;
512
530
  'pisell2.venue.label.peak': string;
513
531
  'pisell2.venue.label.promo': string;
@@ -559,6 +577,7 @@ declare const _default: {
559
577
  'pisell2.venue.calendar.weekday.short.sun': string;
560
578
  'pisell2.venue.time.am': string;
561
579
  'pisell2.venue.time.pm': string;
580
+ 'pisell2.venue.time.hour.format': string;
562
581
  'pisell2.venue.limit.message': string;
563
582
  'pisell2.text.goodpass': string;
564
583
  'pisell2.text.goodpass.product-vouchers': string;
@@ -587,6 +606,7 @@ declare const _default: {
587
606
  'pisell2.appointment.policy': string;
588
607
  'pisell2.appointment.policy.confirm': string;
589
608
  'pisell2.appointment.booking.empty.data': string;
609
+ 'pisell2.product-select.search': string;
590
610
  };
591
611
  };
592
612
  export default _default;