@pisell/private-materials 6.8.92 → 6.8.94

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 (211) 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 +164 -150
  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/Summary/utils.d.ts +1 -1
  12. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  13. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  14. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  15. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  16. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  17. package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
  18. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
  19. package/es/components/appointmentBooking/deposit/index.d.ts +0 -1
  20. package/es/components/booking/components/footer/index.d.ts +0 -1
  21. package/es/components/booking/components/voucher/index.d.ts +0 -1
  22. package/es/components/booking/dashboard/index.js +71 -93
  23. package/es/components/booking/dashboard/serve.d.ts +1 -0
  24. package/es/components/booking/dashboard/serve.js +22 -0
  25. package/es/components/booking/forms/footer.d.ts +0 -1
  26. package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  27. package/es/components/booking/hooks/useClearCart.d.ts +0 -1
  28. package/es/components/booking/hooks/useQuotation.d.ts +0 -1
  29. package/es/components/booking/info/date/index.d.ts +0 -1
  30. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  31. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  32. package/es/components/booking/info/service/serviceItem/index.d.ts +0 -1
  33. package/es/components/booking/info/service2/utils.js +41 -39
  34. package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  35. package/es/components/booking/utils.d.ts +2 -2
  36. package/es/components/checkout/components/SearchAndClientModule/index.d.ts +0 -1
  37. package/es/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +0 -1
  38. package/es/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +0 -1
  39. package/es/components/eftposPay/hooks.d.ts +1 -1
  40. package/es/components/eftposPay/store/index.d.ts +5 -5
  41. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  42. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
  43. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  44. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  45. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  46. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  47. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  48. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  49. package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  50. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  51. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  52. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  53. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  54. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  55. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  56. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  57. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  58. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  59. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  60. package/es/components/pay/toB/components/Cache/index.d.ts +0 -1
  61. package/es/components/pay/toB/components/Card/index.d.ts +0 -1
  62. package/es/components/pay/toB/components/ConfirmedPayment/index.d.ts +0 -1
  63. package/es/components/pay/toB/components/Content/Footer.d.ts +0 -1
  64. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  65. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  66. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  67. package/es/components/pisellSelectCustomerModal/index.d.ts +0 -1
  68. package/es/components/productSelect/components/TabProduct/index.d.ts +0 -1
  69. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  70. package/es/components/shoppingCart/components/Cart/index.d.ts +0 -1
  71. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  72. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  73. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -1
  74. package/es/components/ticketBooking/components/bookingDataPanel/index.js +2 -1
  75. package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -1
  76. package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -1
  77. package/es/components/ticketBooking/index.d.ts +1 -0
  78. package/es/components/walletList/index.d.ts +0 -1
  79. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  80. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  81. package/es/plus/contactInfoModal/ContactInfoContent.d.ts +0 -1
  82. package/es/plus/noteModal/AddTempModal.d.ts +0 -1
  83. package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -1
  84. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  85. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
  86. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +0 -1
  87. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -1
  88. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  89. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
  90. package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -1
  91. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  92. package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +0 -1
  93. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
  94. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  95. package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -1
  96. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
  97. package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  98. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
  99. package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -1
  100. package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
  101. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -1
  102. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
  103. package/es/plus/walletPassGallery/components/passList/index.d.ts +0 -1
  104. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
  105. package/es/plus/walletPassGallery/index.d.ts +0 -1
  106. package/es/pro/pisellPhoneKeyboard/index.d.ts +0 -1
  107. package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +0 -1
  108. package/es/pro/priceKeyboard/components/paymentKeyboard/index.d.ts +0 -1
  109. package/es/pro/priceKeyboard/hooks/rightItems.d.ts +0 -1
  110. package/es/pro/skuDetailModal/index.less +18 -0
  111. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  112. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  113. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  114. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  115. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  116. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  117. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
  118. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
  119. package/lib/components/appointmentBooking/deposit/index.d.ts +0 -1
  120. package/lib/components/booking/components/footer/index.d.ts +0 -1
  121. package/lib/components/booking/components/voucher/index.d.ts +0 -1
  122. package/lib/components/booking/dashboard/index.js +38 -60
  123. package/lib/components/booking/dashboard/serve.d.ts +1 -0
  124. package/lib/components/booking/dashboard/serve.js +8 -2
  125. package/lib/components/booking/forms/footer.d.ts +0 -1
  126. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  127. package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
  128. package/lib/components/booking/hooks/useQuotation.d.ts +0 -1
  129. package/lib/components/booking/info/date/index.d.ts +0 -1
  130. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  131. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  132. package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -1
  133. package/lib/components/booking/info/service2/utils.js +3 -1
  134. package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  135. package/lib/components/booking/utils.d.ts +2 -2
  136. package/lib/components/checkout/components/SearchAndClientModule/index.d.ts +0 -1
  137. package/lib/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +0 -1
  138. package/lib/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +0 -1
  139. package/lib/components/eftposPay/hooks.d.ts +1 -1
  140. package/lib/components/eftposPay/store/index.d.ts +5 -5
  141. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  142. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
  143. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  144. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  145. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  146. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  147. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  148. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  149. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  150. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  151. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  152. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  153. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  154. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  155. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  156. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  157. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  158. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  159. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  160. package/lib/components/pay/toB/components/Cache/index.d.ts +0 -1
  161. package/lib/components/pay/toB/components/Card/index.d.ts +0 -1
  162. package/lib/components/pay/toB/components/ConfirmedPayment/index.d.ts +0 -1
  163. package/lib/components/pay/toB/components/Content/Footer.d.ts +0 -1
  164. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  165. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  166. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  167. package/lib/components/pisellSelectCustomerModal/index.d.ts +0 -1
  168. package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -1
  169. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  170. package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -1
  171. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  172. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  173. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -1
  174. package/lib/components/ticketBooking/components/bookingDataPanel/index.js +3 -2
  175. package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -1
  176. package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -1
  177. package/lib/components/ticketBooking/index.d.ts +1 -0
  178. package/lib/components/walletList/index.d.ts +0 -1
  179. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  180. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  181. package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +0 -1
  182. package/lib/plus/noteModal/AddTempModal.d.ts +0 -1
  183. package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -1
  184. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  185. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
  186. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +0 -1
  187. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -1
  188. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  189. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
  190. package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -1
  191. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  192. package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +0 -1
  193. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
  194. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  195. package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -1
  196. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
  197. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  198. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
  199. package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -1
  200. package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
  201. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -1
  202. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
  203. package/lib/plus/walletPassGallery/components/passList/index.d.ts +0 -1
  204. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
  205. package/lib/plus/walletPassGallery/index.d.ts +0 -1
  206. package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -1
  207. package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +0 -1
  208. package/lib/pro/priceKeyboard/components/paymentKeyboard/index.d.ts +0 -1
  209. package/lib/pro/priceKeyboard/hooks/rightItems.d.ts +0 -1
  210. package/lib/pro/skuDetailModal/index.less +18 -0
  211. package/package.json +1 -1
@@ -196,7 +196,9 @@ var currentResource = function currentResource(state, useResource, cacheItem) {
196
196
  // 更新holder
197
197
  export var handleChangeHolder = function handleChangeHolder(products, currentItem, other) {
198
198
  return products.map(function (item) {
199
- if (item._id === currentItem._id) {
199
+ var _item$_extend, _item$_extend2, _currentItem$_origin;
200
+ var isSameGroup = (item === null || item === void 0 || (_item$_extend = item._extend) === null || _item$_extend === void 0 ? void 0 : _item$_extend.groupId) && ((_item$_extend2 = item._extend) === null || _item$_extend2 === void 0 ? void 0 : _item$_extend2.groupId) === (currentItem === null || currentItem === void 0 || (_currentItem$_origin = currentItem._origin) === null || _currentItem$_origin === void 0 || (_currentItem$_origin = _currentItem$_origin._extend) === null || _currentItem$_origin === void 0 ? void 0 : _currentItem$_origin.groupId);
201
+ if (item._id === currentItem._id || isSameGroup) {
200
202
  return _objectSpread(_objectSpread({}, item), {}, {
201
203
  _extend: _objectSpread(_objectSpread({}, item._extend), {}, {
202
204
  holder_id: isArr(other) ? other.map(function (item) {
@@ -215,10 +217,10 @@ var handleLike = function handleLike(products, currentItem, other) {
215
217
  return products.map(function (item) {
216
218
  if (currentItem.isParallelResource) {
217
219
  if (item._id === currentItem.serviceId) {
218
- var _item$_extend, _item$_extend2;
220
+ var _item$_extend3, _item$_extend4;
219
221
  return _objectSpread(_objectSpread({}, item), {}, {
220
222
  _extend: _objectSpread(_objectSpread({}, item._extend), {}, {
221
- resource: _objectSpread(_objectSpread({}, (_item$_extend = item._extend) === null || _item$_extend === void 0 ? void 0 : _item$_extend.resource), {}, _defineProperty({}, currentItem.resourceId, (_item$_extend2 = item._extend) === null || _item$_extend2 === void 0 ? void 0 : _item$_extend2.resource[currentItem.resourceId].map(function (item) {
223
+ resource: _objectSpread(_objectSpread({}, (_item$_extend3 = item._extend) === null || _item$_extend3 === void 0 ? void 0 : _item$_extend3.resource), {}, _defineProperty({}, currentItem.resourceId, (_item$_extend4 = item._extend) === null || _item$_extend4 === void 0 ? void 0 : _item$_extend4.resource[currentItem.resourceId].map(function (item) {
222
224
  return _objectSpread(_objectSpread({}, item), {}, {
223
225
  like_status: other.like_status
224
226
  });
@@ -343,8 +345,8 @@ export var updateServices = function updateServices(state, currentItem, type, ot
343
345
  if (type === 'delete_holders') {
344
346
  var _products2;
345
347
  products = (_products2 = products) === null || _products2 === void 0 ? void 0 : _products2.filter(function (item) {
346
- var _item$_extend3;
347
- return (item === null || item === void 0 || (_item$_extend3 = item._extend) === null || _item$_extend3 === void 0 ? void 0 : _item$_extend3.holder_id) !== other;
348
+ var _item$_extend5;
349
+ return (item === null || item === void 0 || (_item$_extend5 = item._extend) === null || _item$_extend5 === void 0 ? void 0 : _item$_extend5.holder_id) !== other;
348
350
  });
349
351
  }
350
352
 
@@ -558,7 +560,7 @@ export var genRowKey = function genRowKey(key) {
558
560
  return "rowKey-".concat(key);
559
561
  };
560
562
  var getGeneralParams = function getGeneralParams(item, state, isParallelResource) {
561
- var _state$bookingConfig4, _state$bookingConfig5, _formData$, _item$_extend5, _item$_extend6, _item$_extend7, _item$_extend8, _item$_extend9;
563
+ var _state$bookingConfig4, _state$bookingConfig5, _formData$, _item$_extend7, _item$_extend8, _item$_extend9, _item$_extend10, _item$_extend11;
562
564
  var pet = state.pet,
563
565
  service = state.service;
564
566
  var _ref8 = pet || {},
@@ -606,7 +608,7 @@ var getGeneralParams = function getGeneralParams(item, state, isParallelResource
606
608
  };
607
609
  });
608
610
  } else {
609
- var _item$_extend4;
611
+ var _item$_extend6;
610
612
  var _ref10 = service || {},
611
613
  resourcesOrigin = _ref10.resourcesOrigin;
612
614
  var resource = formatResources({
@@ -617,7 +619,7 @@ var getGeneralParams = function getGeneralParams(item, state, isParallelResource
617
619
  multiResources = [{
618
620
  _id: item._id,
619
621
  id: item._extend.resource,
620
- status: ((_item$_extend4 = item._extend) === null || _item$_extend4 === void 0 ? void 0 : _item$_extend4.like_status) || 'common',
622
+ status: ((_item$_extend6 = item._extend) === null || _item$_extend6 === void 0 ? void 0 : _item$_extend6.like_status) || 'common',
621
623
  lists: mapListItems(resource)
622
624
  }];
623
625
  }
@@ -642,10 +644,10 @@ var getGeneralParams = function getGeneralParams(item, state, isParallelResource
642
644
  holderMode: (item === null || item === void 0 ? void 0 : item._extend.quantity) > 1 ? 'multiple' : undefined,
643
645
  isErrorHolder: getIsSubjectRequire(state),
644
646
  addHolderButtonText: (formData === null || formData === void 0 || (_formData$ = formData[0]) === null || _formData$ === void 0 || (_formData$ = _formData$.form) === null || _formData$ === void 0 ? void 0 : _formData$.title) || "",
645
- holder_id: item === null || item === void 0 || (_item$_extend5 = item._extend) === null || _item$_extend5 === void 0 ? void 0 : _item$_extend5.holder_id,
646
- start_date: !isNormalProduct ? item === null || item === void 0 || (_item$_extend6 = item._extend) === null || _item$_extend6 === void 0 ? void 0 : _item$_extend6.startDate : "",
647
- end_date: !isNormalProduct ? (item === null || item === void 0 || (_item$_extend7 = item._extend) === null || _item$_extend7 === void 0 ? void 0 : _item$_extend7.endDate) || (item === null || item === void 0 || (_item$_extend8 = item._extend) === null || _item$_extend8 === void 0 ? void 0 : _item$_extend8.end_date) : "",
648
- rowKey: genRowKey(item === null || item === void 0 || (_item$_extend9 = item._extend) === null || _item$_extend9 === void 0 || (_item$_extend9 = _item$_extend9.other) === null || _item$_extend9 === void 0 ? void 0 : _item$_extend9.rowKey)
647
+ holder_id: item === null || item === void 0 || (_item$_extend7 = item._extend) === null || _item$_extend7 === void 0 ? void 0 : _item$_extend7.holder_id,
648
+ start_date: !isNormalProduct ? item === null || item === void 0 || (_item$_extend8 = item._extend) === null || _item$_extend8 === void 0 ? void 0 : _item$_extend8.startDate : "",
649
+ end_date: !isNormalProduct ? (item === null || item === void 0 || (_item$_extend9 = item._extend) === null || _item$_extend9 === void 0 ? void 0 : _item$_extend9.endDate) || (item === null || item === void 0 || (_item$_extend10 = item._extend) === null || _item$_extend10 === void 0 ? void 0 : _item$_extend10.end_date) : "",
650
+ rowKey: genRowKey(item === null || item === void 0 || (_item$_extend11 = item._extend) === null || _item$_extend11 === void 0 || (_item$_extend11 = _item$_extend11.other) === null || _item$_extend11 === void 0 ? void 0 : _item$_extend11.rowKey)
649
651
  }, parallelResourceOtherParams);
650
652
  };
651
653
  var calcAddTimeTotalPrice = function calcAddTimeTotalPrice(total, addTimeProducts) {
@@ -666,11 +668,11 @@ export var formatProducts = function formatProducts(lists, state) {
666
668
  var isParallelResource = arguments.length > 4 ? arguments[4] : undefined;
667
669
  if (!(lists !== null && lists !== void 0 && lists.length)) return [];
668
670
  var formItem = function formItem(item) {
669
- var _item$_extend10, _item$_extend11, _item$_extend12, _item$_extend14, _item$_extend15, _item$_extend16, _item$_extend17, _item$_extend18, _item$_extend19, _item$_extend20, _item$_extend21, _item$_extend22, _item$_extend23, _resourceItem, _item$_extend24, _item$_extend25, _item$_extend26, _item$_extend27, _item$_extend28;
671
+ var _item$_extend12, _item$_extend13, _item$_extend14, _item$_extend16, _item$_extend17, _item$_extend18, _item$_extend19, _item$_extend20, _item$_extend21, _item$_extend22, _item$_extend23, _item$_extend24, _item$_extend25, _resourceItem, _item$_extend26, _item$_extend27, _item$_extend28, _item$_extend29, _item$_extend30;
670
672
  var _isDayBookingProduct = isDayBookingProduct(item, state);
671
- var clientTitle = getHolderName(state, item === null || item === void 0 || (_item$_extend10 = item._extend) === null || _item$_extend10 === void 0 ? void 0 : _item$_extend10.holder_id);
672
- var options = formatOptions(item === null || item === void 0 || (_item$_extend11 = item._extend) === null || _item$_extend11 === void 0 || (_item$_extend11 = _item$_extend11.other) === null || _item$_extend11 === void 0 ? void 0 : _item$_extend11.option);
673
- var bundle = formatBundle(item === null || item === void 0 || (_item$_extend12 = item._extend) === null || _item$_extend12 === void 0 || (_item$_extend12 = _item$_extend12.other) === null || _item$_extend12 === void 0 ? void 0 : _item$_extend12.bundle);
673
+ var clientTitle = getHolderName(state, item === null || item === void 0 || (_item$_extend12 = item._extend) === null || _item$_extend12 === void 0 ? void 0 : _item$_extend12.holder_id);
674
+ var options = formatOptions(item === null || item === void 0 || (_item$_extend13 = item._extend) === null || _item$_extend13 === void 0 || (_item$_extend13 = _item$_extend13.other) === null || _item$_extend13 === void 0 ? void 0 : _item$_extend13.option);
675
+ var bundle = formatBundle(item === null || item === void 0 || (_item$_extend14 = item._extend) === null || _item$_extend14 === void 0 || (_item$_extend14 = _item$_extend14.other) === null || _item$_extend14 === void 0 ? void 0 : _item$_extend14.bundle);
674
676
  // 是否是普通商品
675
677
  var isNormalProduct = !appointmentTypes.includes(item === null || item === void 0 ? void 0 : item.extension_type) || (state === null || state === void 0 ? void 0 : state.renderType) === 'eventBooking';
676
678
  var isNormalProductByDurationScheduleVal = isNormalProductByDurationSchedule(item);
@@ -678,8 +680,8 @@ export var formatProducts = function formatProducts(lists, state) {
678
680
  var errorMessage = '';
679
681
  // 普通商品没有
680
682
  if ((_isDayBookingProduct || isGeneral) && !isNormalProductByDurationScheduleVal) {
681
- var _item$_extend13;
682
- resourceItem = getResourceItem(item === null || item === void 0 || (_item$_extend13 = item._extend) === null || _item$_extend13 === void 0 ? void 0 : _item$_extend13.resource, state);
683
+ var _item$_extend15;
684
+ resourceItem = getResourceItem(item === null || item === void 0 || (_item$_extend15 = item._extend) === null || _item$_extend15 === void 0 ? void 0 : _item$_extend15.resource, state);
683
685
  errorMessage = getErrorMessage(item, resourceItem, isDayBooking(state));
684
686
  }
685
687
 
@@ -694,26 +696,26 @@ export var formatProducts = function formatProducts(lists, state) {
694
696
  name: item === null || item === void 0 ? void 0 : item.title,
695
697
  title: item === null || item === void 0 ? void 0 : item.title,
696
698
  // 购物车显示需要 title 字段
697
- price: item === null || item === void 0 || (_item$_extend14 = item._extend) === null || _item$_extend14 === void 0 ? void 0 : _item$_extend14.price,
699
+ price: item === null || item === void 0 || (_item$_extend16 = item._extend) === null || _item$_extend16 === void 0 ? void 0 : _item$_extend16.price,
698
700
  totalDifference: getProductDiscountProductDiscountDifference(item),
699
- total: calcAddTimeTotalPrice(item === null || item === void 0 || (_item$_extend15 = item._extend) === null || _item$_extend15 === void 0 ? void 0 : _item$_extend15.total, item === null || item === void 0 || (_item$_extend16 = item._extend) === null || _item$_extend16 === void 0 ? void 0 : _item$_extend16.relation_details),
700
- origin_total: calcAddTimeTotalPrice(item === null || item === void 0 || (_item$_extend17 = item._extend) === null || _item$_extend17 === void 0 ? void 0 : _item$_extend17.origin_total, item === null || item === void 0 || (_item$_extend18 = item._extend) === null || _item$_extend18 === void 0 ? void 0 : _item$_extend18.relation_details),
701
+ total: calcAddTimeTotalPrice(item === null || item === void 0 || (_item$_extend17 = item._extend) === null || _item$_extend17 === void 0 ? void 0 : _item$_extend17.total, item === null || item === void 0 || (_item$_extend18 = item._extend) === null || _item$_extend18 === void 0 ? void 0 : _item$_extend18.relation_details),
702
+ origin_total: calcAddTimeTotalPrice(item === null || item === void 0 || (_item$_extend19 = item._extend) === null || _item$_extend19 === void 0 ? void 0 : _item$_extend19.origin_total, item === null || item === void 0 || (_item$_extend20 = item._extend) === null || _item$_extend20 === void 0 ? void 0 : _item$_extend20.relation_details),
701
703
  num: item === null || item === void 0 ? void 0 : item._extend.quantity,
702
704
  image: item === null || item === void 0 ? void 0 : item.cover,
703
705
  isShowNote: true,
704
- note: (item === null || item === void 0 ? void 0 : item.note) || (item === null || item === void 0 || (_item$_extend19 = item._extend) === null || _item$_extend19 === void 0 ? void 0 : _item$_extend19.note),
705
- like_status: item === null || item === void 0 || (_item$_extend20 = item._extend) === null || _item$_extend20 === void 0 ? void 0 : _item$_extend20.like_status,
706
+ note: (item === null || item === void 0 ? void 0 : item.note) || (item === null || item === void 0 || (_item$_extend21 = item._extend) === null || _item$_extend21 === void 0 ? void 0 : _item$_extend21.note),
707
+ like_status: item === null || item === void 0 || (_item$_extend22 = item._extend) === null || _item$_extend22 === void 0 ? void 0 : _item$_extend22.like_status,
706
708
  bundle: bundle,
707
709
  options: options,
708
710
  errorMessage: errorMessage,
709
- product_option_string: item === null || item === void 0 || (_item$_extend21 = item._extend) === null || _item$_extend21 === void 0 || (_item$_extend21 = _item$_extend21.other) === null || _item$_extend21 === void 0 ? void 0 : _item$_extend21.product_option_string,
710
- discount_reason: item === null || item === void 0 || (_item$_extend22 = item._extend) === null || _item$_extend22 === void 0 ? void 0 : _item$_extend22.discount_reason,
711
- resource_id: isNormalProduct ? 0 : item === null || item === void 0 || (_item$_extend23 = item._extend) === null || _item$_extend23 === void 0 ? void 0 : _item$_extend23.resource,
711
+ product_option_string: item === null || item === void 0 || (_item$_extend23 = item._extend) === null || _item$_extend23 === void 0 || (_item$_extend23 = _item$_extend23.other) === null || _item$_extend23 === void 0 ? void 0 : _item$_extend23.product_option_string,
712
+ discount_reason: item === null || item === void 0 || (_item$_extend24 = item._extend) === null || _item$_extend24 === void 0 ? void 0 : _item$_extend24.discount_reason,
713
+ resource_id: isNormalProduct ? 0 : item === null || item === void 0 || (_item$_extend25 = item._extend) === null || _item$_extend25 === void 0 ? void 0 : _item$_extend25.resource,
712
714
  relation_form_name: isNormalProduct ? '' : ((_resourceItem = resourceItem) === null || _resourceItem === void 0 ? void 0 : _resourceItem.labelText) || item.relation_form_name,
713
715
  holder_title: clientTitle,
714
- start_date: !isNormalProduct ? item === null || item === void 0 || (_item$_extend24 = item._extend) === null || _item$_extend24 === void 0 ? void 0 : _item$_extend24.start_date : '',
715
- end_date: !isNormalProduct ? item === null || item === void 0 || (_item$_extend25 = item._extend) === null || _item$_extend25 === void 0 ? void 0 : _item$_extend25.end_date : '',
716
- holder_id: (item === null || item === void 0 || (_item$_extend26 = item._extend) === null || _item$_extend26 === void 0 ? void 0 : _item$_extend26.holder_id) || 0,
716
+ start_date: !isNormalProduct ? item === null || item === void 0 || (_item$_extend26 = item._extend) === null || _item$_extend26 === void 0 ? void 0 : _item$_extend26.start_date : '',
717
+ end_date: !isNormalProduct ? item === null || item === void 0 || (_item$_extend27 = item._extend) === null || _item$_extend27 === void 0 ? void 0 : _item$_extend27.end_date : '',
718
+ holder_id: (item === null || item === void 0 || (_item$_extend28 = item._extend) === null || _item$_extend28 === void 0 ? void 0 : _item$_extend28.holder_id) || 0,
717
719
  isNormalProduct: isNormalProduct,
718
720
  isCustomItem: item === null || item === void 0 ? void 0 : item.isCustomItem,
719
721
  // 添加自定义商品标识
@@ -721,8 +723,8 @@ export var formatProducts = function formatProducts(lists, state) {
721
723
  // 是否适用优惠券/折扣
722
724
  locale: state.locale,
723
725
  symbol: state.amountSymbol,
724
- relation_products: (item === null || item === void 0 || (_item$_extend27 = item._extend) === null || _item$_extend27 === void 0 ? void 0 : _item$_extend27.relation_details) || [],
725
- items: isEventBooking(state) ? [] : formItems((item === null || item === void 0 || (_item$_extend28 = item._extend) === null || _item$_extend28 === void 0 ? void 0 : _item$_extend28.items) || [])
726
+ relation_products: (item === null || item === void 0 || (_item$_extend29 = item._extend) === null || _item$_extend29 === void 0 ? void 0 : _item$_extend29.relation_details) || [],
727
+ items: isEventBooking(state) ? [] : formItems((item === null || item === void 0 || (_item$_extend30 = item._extend) === null || _item$_extend30 === void 0 ? void 0 : _item$_extend30.items) || [])
726
728
  }, generalParams), {}, {
727
729
  _origin: item
728
730
  });
@@ -736,15 +738,15 @@ export var formatProducts = function formatProducts(lists, state) {
736
738
 
737
739
  // 将商品分为组商品和非组商品,并记录索引
738
740
  lists.forEach(function (item, index) {
739
- var _item$_extend29;
740
- if (!(item !== null && item !== void 0 && (_item$_extend29 = item._extend) !== null && _item$_extend29 !== void 0 && _item$_extend29.groupId)) {
741
+ var _item$_extend31;
742
+ if (!(item !== null && item !== void 0 && (_item$_extend31 = item._extend) !== null && _item$_extend31 !== void 0 && _item$_extend31.groupId)) {
741
743
  normalItemsWithIndex.push({
742
744
  item: item,
743
745
  index: index
744
746
  });
745
747
  } else {
746
- var _item$_extend30;
747
- var groupId = item === null || item === void 0 || (_item$_extend30 = item._extend) === null || _item$_extend30 === void 0 ? void 0 : _item$_extend30.groupId;
748
+ var _item$_extend32;
749
+ var groupId = item === null || item === void 0 || (_item$_extend32 = item._extend) === null || _item$_extend32 === void 0 ? void 0 : _item$_extend32.groupId;
748
750
  groupItemsWithIndex.push({
749
751
  item: item,
750
752
  index: index
@@ -758,9 +760,9 @@ export var formatProducts = function formatProducts(lists, state) {
758
760
 
759
761
  // 根据item._extend.groupId 进行分组
760
762
  var groups = groupItemsWithIndex.reduce(function (prev, _ref11) {
761
- var _item$_extend31;
763
+ var _item$_extend33;
762
764
  var item = _ref11.item;
763
- var groupId = item === null || item === void 0 || (_item$_extend31 = item._extend) === null || _item$_extend31 === void 0 ? void 0 : _item$_extend31.groupId;
765
+ var groupId = item === null || item === void 0 || (_item$_extend33 = item._extend) === null || _item$_extend33 === void 0 ? void 0 : _item$_extend33.groupId;
764
766
  if (!prev[groupId]) {
765
767
  prev[groupId] = [];
766
768
  }
@@ -957,8 +959,8 @@ export var isHasDayAppointmentProduct = function isHasDayAppointmentProduct(stat
957
959
  // 如果该购物车中没选择任何商品,则不需要验证,所以直接用1来填充
958
960
  // services: !holderProducts?.length ? [1] : holderProducts?.filter((d: any) => appointmentTypes.includes(d.extension_type))
959
961
  services: services.filter(function (item) {
960
- var _item$_extend32;
961
- return ((_item$_extend32 = item._extend) === null || _item$_extend32 === void 0 ? void 0 : _item$_extend32.holder_id) == d.form_record_id && checkType(item.extension_type);
962
+ var _item$_extend34;
963
+ return ((_item$_extend34 = item._extend) === null || _item$_extend34 === void 0 ? void 0 : _item$_extend34.holder_id) == d.form_record_id && checkType(item.extension_type);
962
964
  })
963
965
  });
964
966
  });
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ServiceItem: ({ d, handleEditService, state, handleLike, errorMessage, handleDeleteService, }: any) => JSX.Element;
4
3
  export default ServiceItem;
@@ -173,10 +173,10 @@ export declare const getProductTotalPrice: (item: any) => number;
173
173
  export declare const getDuration: (duration: number | {
174
174
  type: string;
175
175
  value: number;
176
- }) => number | "flexible" | {
176
+ }) => number | {
177
177
  type: string;
178
178
  value: number;
179
- };
179
+ } | "flexible";
180
180
  export declare const isWalkIn: (customer_id?: number | string) => boolean;
181
181
  export declare const getIsEdit: (state: any) => boolean;
182
182
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  export interface IScanResult {
4
3
  status: 'success' | 'failed';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellWalletPassCardProps } from '../../types';
3
2
  export declare const TestModule: () => JSX.Element;
4
3
  declare const ConflictModal: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface DiscountWalletProps {
4
3
  isCardMode: boolean;
@@ -15,7 +15,7 @@ export declare const useStoreRef: <T extends {
15
15
  readonly numRef: React.MutableRefObject<string | number | undefined>;
16
16
  readonly orderIdRef: React.MutableRefObject<string | number>;
17
17
  readonly modeRef: React.MutableRefObject<ModeEnum>;
18
- readonly statusRef: React.MutableRefObject<"loading" | "init" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question">;
18
+ readonly statusRef: React.MutableRefObject<"loading" | "warn" | "success" | "init" | "fail" | "pedding" | "resove" | "reject" | "question">;
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
@@ -178,7 +178,7 @@ export declare const updateCustom: (payload: {
178
178
  export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
179
179
  type: EActionTypes;
180
180
  payload: {
181
- status: "loading" | "success" | "warn" | "fail" | "question";
181
+ status: "loading" | "warn" | "success" | "fail" | "question";
182
182
  };
183
183
  };
184
184
  /**
@@ -299,20 +299,20 @@ export declare const backUpFree: (payload: Partial<State>) => {
299
299
  name?: string | undefined;
300
300
  symbol?: string | undefined;
301
301
  amount?: string | number | undefined;
302
- mode?: "pay" | "refund" | "fullPay" | "query" | undefined;
302
+ mode?: "refund" | "fullPay" | "pay" | "query" | undefined;
303
303
  order_id?: string | number | undefined;
304
304
  eftpos?: "payo" | "tyro" | "windcave" | "stripe" | "linkly" | "huifu" | undefined;
305
- action?: "pay" | "amount" | "deviceList" | undefined;
305
+ action?: "amount" | "deviceList" | "pay" | undefined;
306
306
  key?: number | undefined;
307
307
  step?: number | undefined;
308
308
  title?: string | undefined;
309
309
  subTitle?: string | undefined;
310
- type?: "unset" | "step" | undefined;
310
+ type?: "step" | "unset" | undefined;
311
311
  render?: boolean | undefined;
312
312
  net?: boolean | undefined;
313
313
  component?: string | undefined;
314
314
  form?: string | undefined;
315
- status?: "loading" | "init" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
315
+ status?: "loading" | "warn" | "success" | "init" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
316
316
  warn?: string | undefined;
317
317
  steps?: {
318
318
  /** 用于重置当前步骤 */
@@ -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;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ContinueButton: () => JSX.Element;
4
3
  export default ContinueButton;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Total: ({ className, isFooter }: any) => JSX.Element;
4
3
  export default Total;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const CartItem: () => JSX.Element;
4
3
  export default CartItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Cart: ({ open, onCancel }: any) => JSX.Element;
4
3
  export default Cart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const EmptyHolderModal: (props: any) => JSX.Element;
4
3
  export default EmptyHolderModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Event: () => JSX.Element;
4
3
  export default Event;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Footer: () => JSX.Element;
4
3
  export default Footer;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Information: () => JSX.Element;
4
3
  export default Information;
@@ -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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const OrderProductModal: (props: any) => JSX.Element;
4
3
  export default OrderProductModal;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const RemoveOptionConfirmModal: (props: any) => JSX.Element;
3
2
  export default RemoveOptionConfirmModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Resource: () => JSX.Element;
4
3
  export default Resource;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare type CallToBookProps = {
4
3
  show: boolean;
@@ -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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const BookingOptions: (props: {
3
2
  onChangeBookingOption?: ((bookingOption: any) => void) | undefined;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarDataItem } from '../../type';
3
2
  declare type CalendarItemProps = {
4
3
  month: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ScheduleTimeItem: ({ timeList }: any) => JSX.Element;
4
3
  export default ScheduleTimeItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ToBPayCache: (props: {
4
3
  open: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PayMethod } from '../../types';
3
2
  import './index.less';
4
3
  declare const ToBPayCard: ({ data, onChange, }: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Payment } from '../../types';
3
2
  import './index.less';
4
3
  declare const ConfirmedPayment: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const ToBPayFooter: (props: {
3
2
  loading: boolean;
4
3
  submitDisabled: boolean;
@@ -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;
@@ -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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface CustomerListProps {
4
3
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PopoverProps } from 'antd';
3
2
  import { CustomerCardProps } from './CustomerCard';
4
3
  import './index.less';
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const TabProduct: (props: any) => JSX.Element;
3
2
  export default TabProduct;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ProductProps } from '../../type';
3
2
  declare const Product: (props: ProductProps) => JSX.Element;
4
3
  export default Product;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Cart: () => JSX.Element;
4
3
  export default Cart;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const useAddService: (id?: number, type?: string) => JSX.Element | null;
3
2
  export default useAddService;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const useClearCart: (key?: number | undefined) => JSX.Element | null;
3
2
  export default useClearCart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ProductDisplayConfig, ProductDisplayPresetKey } from '../ProductDisplayAdapter';
3
2
  import './index.less';
4
3
  interface AddServiceProps {
@@ -60,8 +60,9 @@ var BookingDataPanel = /*#__PURE__*/forwardRef(function (props, ref) {
60
60
  tabBarExtraContent: /*#__PURE__*/React.createElement("div", {
61
61
  className: "pisell-ticket-booking-data-panel-tab-extra",
62
62
  onClick: function onClick() {
63
- var _bookingListRef$curre2, _Toast$success;
63
+ var _bookingListRef$curre2, _bookingDashboardRef$2, _Toast$success;
64
64
  (_bookingListRef$curre2 = bookingListRef.current) === null || _bookingListRef$curre2 === void 0 || _bookingListRef$curre2.refresh();
65
+ (_bookingDashboardRef$2 = bookingDashboardRef.current) === null || _bookingDashboardRef$2 === void 0 || _bookingDashboardRef$2.refresh();
65
66
  Toast === null || Toast === void 0 || (_Toast$success = Toast.success) === null || _Toast$success === void 0 || _Toast$success.call(Toast, locales.getText('pisell2.ticket-booking.refresh-success'));
66
67
  }
67
68
  }, /*#__PURE__*/React.createElement(SyncOutlined, null)),
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface MenuBarProps {
4
3
  activeNavKey?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Dayjs } from 'dayjs';
3
2
  import './index.less';
4
3
  interface ITimeBarProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProductDisplayConfig, ProductDisplayPresetKey } from './components/ProductDisplayAdapter/types';
2
3
  import './index.less';
3
4
  interface TicketBookingProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const WalletList: (props: any) => JSX.Element;
4
3
  export default WalletList;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Modal as AntModal, ModalFuncProps as AntModalFuncProps, ModalProps as AntModalProps } from 'antd';
3
2
  import './index.less';
4
3
  interface ModalProps extends AntModalProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './../../index.less';
3
2
  declare const Search: () => JSX.Element;
4
3
  export default Search;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ContactInfoContent: (props: any) => JSX.Element;
4
3
  export default ContactInfoContent;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const AddTempModal: ({ open, onCancel, onConfirm, }: {
4
3
  open: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { ProductCardConfig } from '../../type';
4
3
  declare const Action: ({ props, className, }: {
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import { ProductCardConfig } from '../../type';
3
3
  declare const Capacity: ({ props }: {
4
4
  props: ProductCardConfig;
5
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
5
+ }) => string | number | true | JSX.Element | React.ReactFragment | null;
6
6
  export default Capacity;
@@ -3,5 +3,5 @@ import { SkuStatusOverlayConfig } from '../../type';
3
3
  import './index.less';
4
4
  declare const CardMask: ({ props }: {
5
5
  props: SkuStatusOverlayConfig;
6
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
6
+ }) => string | number | true | JSX.Element | React.ReactFragment | null;
7
7
  export default CardMask;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const CardMoreText: (props: any) => JSX.Element;
4
3
  export default CardMoreText;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ProductCardConfig } from '../../type';
3
2
  import './index.less';
4
3
  declare const CardWrapper: (props: ProductCardConfig) => JSX.Element;
@@ -3,5 +3,5 @@ import { ProductCardConfig } from '../../type';
3
3
  import './index.less';
4
4
  declare const Countdown: ({ props }: {
5
5
  props: ProductCardConfig;
6
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
6
+ }) => string | number | true | JSX.Element | React.ReactFragment | null;
7
7
  export default Countdown;