@pisell/private-materials 3.4.101 → 3.4.103

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 (260) 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 +145 -153
  7. package/build/lowcode/render/default/view.js +10 -10
  8. package/build/lowcode/view.js +10 -10
  9. package/build/lowcode.zip +0 -0
  10. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  11. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  12. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  13. package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -1
  14. package/es/components/appointmentBooking/hooks.js +27 -20
  15. package/es/components/booking/addons/model.d.ts +10 -1
  16. package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  17. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  18. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  19. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  20. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  21. package/es/components/booking/forms/footer.d.ts +0 -1
  22. package/es/components/booking/forms/model.d.ts +10 -1
  23. package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  24. package/es/components/booking/forms/single/index.d.ts +0 -1
  25. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  26. package/es/components/booking/info/date/index.d.ts +0 -1
  27. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  28. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  29. package/es/components/booking/info/model.d.ts +10 -1
  30. package/es/components/booking/info/notes/index.d.ts +0 -1
  31. package/es/components/booking/info/service/Lists.d.ts +0 -1
  32. package/es/components/booking/info/service/actions/index.d.ts +0 -1
  33. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  34. package/es/components/booking/info/service/serviceItem/index.d.ts +0 -1
  35. package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
  36. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  37. package/es/components/booking/info2/service/actions/index.d.ts +0 -1
  38. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
  39. package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  40. package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
  41. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  42. package/es/components/booking/materiels/duration/index.d.ts +0 -1
  43. package/es/components/booking/materiels/holder/index.d.ts +0 -1
  44. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  45. package/es/components/booking/model.d.ts +9 -1
  46. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  47. package/es/components/booking/notes/addNote/index.d.ts +0 -1
  48. package/es/components/booking/notes/model.d.ts +10 -1
  49. package/es/components/booking/payments/model.d.ts +10 -1
  50. package/es/components/ecocup/components/MoreDropdown/index.d.ts +1 -0
  51. package/es/components/ecocup/cupList/hooks/useColumns.d.ts +1 -0
  52. package/es/components/ecocup/cupList/hooks/useSummary.d.ts +1 -0
  53. package/es/components/eftpos/pos.d.ts +0 -1
  54. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  55. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  56. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  57. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  58. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  59. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  60. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  61. package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  62. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  63. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  64. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  65. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  66. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  67. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  68. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  69. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  70. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  71. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  72. package/es/components/login/index.d.ts +0 -1
  73. package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.js +3 -1
  74. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  75. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  76. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  77. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  78. package/es/components/pay/toC/model.d.ts +9 -1
  79. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  80. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  81. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  82. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  83. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  84. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  85. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  86. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  87. package/es/components/productSelect/components/TabProduct/index.d.ts +0 -1
  88. package/es/components/productSelect/components/productGroup/index.d.ts +0 -1
  89. package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  90. package/es/components/schedules/calendar/index.d.ts +0 -1
  91. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  92. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  93. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  94. package/es/components/schedules/model.d.ts +9 -1
  95. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  96. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  97. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  98. package/es/components/schedules/products/index.d.ts +0 -1
  99. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  100. package/es/components/schedules/products/list/index.d.ts +0 -1
  101. package/es/components/schedules/resources/index.d.ts +0 -1
  102. package/es/components/schedules/resources/list/index.d.ts +0 -1
  103. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  104. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  105. package/es/components/schedules/schedules/index.d.ts +0 -1
  106. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  107. package/es/components/shoppingCart/components/Cart/index.d.ts +0 -1
  108. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  109. package/es/components/shoppingCart/index.d.ts +0 -1
  110. package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -1
  111. package/es/hooks/usePaymentLogger.d.ts +0 -1
  112. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  113. package/es/plus/orderList/components/HandleActions.d.ts +1 -0
  114. package/es/plus/orderList/components/QuickFilter.d.ts +1 -0
  115. package/es/plus/orderList/components/Reset.d.ts +1 -0
  116. package/es/plus/orderList/components/Toolbar.d.ts +1 -0
  117. package/es/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  118. package/es/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  119. package/es/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  120. package/es/plus/saasRegister/components/GoLogin.d.ts +0 -1
  121. package/es/plus/saasRegister/components/Header.d.ts +0 -1
  122. package/es/plus/saasRegister/components/VerifyError.d.ts +0 -1
  123. package/es/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  124. package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  125. package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +0 -1
  126. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
  127. package/es/plus/walletEditor/components/relationProduct/index.d.ts +0 -1
  128. package/es/pro/Login2.0/Login2.js +60 -60
  129. package/es/pro/Login2.0/components/PhoneInput.js +1 -1
  130. package/es/pro/Login2.0/shared/registerFlow.d.ts +3 -2
  131. package/es/pro/Login2.0/steps/CodeInput.js +6 -1
  132. package/es/pro/Login2.0/steps/WaitEmailLink.js +2 -1
  133. package/es/pro/Selector/demo.d.ts +1 -0
  134. package/es/pro/pisellPaymentList/example.d.ts +0 -1
  135. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  136. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  137. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  138. package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -1
  139. package/lib/components/appointmentBooking/hooks.js +8 -1
  140. package/lib/components/booking/addons/model.d.ts +10 -1
  141. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  142. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  143. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  144. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  145. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  146. package/lib/components/booking/forms/footer.d.ts +0 -1
  147. package/lib/components/booking/forms/model.d.ts +10 -1
  148. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  149. package/lib/components/booking/forms/single/index.d.ts +0 -1
  150. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  151. package/lib/components/booking/info/date/index.d.ts +0 -1
  152. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  153. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  154. package/lib/components/booking/info/model.d.ts +10 -1
  155. package/lib/components/booking/info/notes/index.d.ts +0 -1
  156. package/lib/components/booking/info/service/Lists.d.ts +0 -1
  157. package/lib/components/booking/info/service/actions/index.d.ts +0 -1
  158. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  159. package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -1
  160. package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
  161. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  162. package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
  163. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
  164. package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  165. package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
  166. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  167. package/lib/components/booking/materiels/duration/index.d.ts +0 -1
  168. package/lib/components/booking/materiels/holder/index.d.ts +0 -1
  169. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  170. package/lib/components/booking/model.d.ts +9 -1
  171. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  172. package/lib/components/booking/notes/addNote/index.d.ts +0 -1
  173. package/lib/components/booking/notes/model.d.ts +10 -1
  174. package/lib/components/booking/payments/model.d.ts +10 -1
  175. package/lib/components/ecocup/components/MoreDropdown/index.d.ts +1 -0
  176. package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +1 -0
  177. package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +1 -0
  178. package/lib/components/eftpos/pos.d.ts +0 -1
  179. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  180. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  181. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  182. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  183. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  184. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  185. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  186. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  187. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  188. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  189. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  190. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  191. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  192. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  193. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  194. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  195. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  196. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  197. package/lib/components/login/index.d.ts +0 -1
  198. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.js +2 -1
  199. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  200. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  201. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  202. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  203. package/lib/components/pay/toC/model.d.ts +9 -1
  204. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  205. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  206. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  207. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  208. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  209. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  210. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  211. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  212. package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -1
  213. package/lib/components/productSelect/components/productGroup/index.d.ts +0 -1
  214. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  215. package/lib/components/schedules/calendar/index.d.ts +0 -1
  216. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  217. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  218. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  219. package/lib/components/schedules/model.d.ts +9 -1
  220. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  221. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  222. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  223. package/lib/components/schedules/products/index.d.ts +0 -1
  224. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  225. package/lib/components/schedules/products/list/index.d.ts +0 -1
  226. package/lib/components/schedules/resources/index.d.ts +0 -1
  227. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  228. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  229. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  230. package/lib/components/schedules/schedules/index.d.ts +0 -1
  231. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  232. package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -1
  233. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  234. package/lib/components/shoppingCart/index.d.ts +0 -1
  235. package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -1
  236. package/lib/hooks/usePaymentLogger.d.ts +0 -1
  237. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  238. package/lib/plus/orderList/components/HandleActions.d.ts +1 -0
  239. package/lib/plus/orderList/components/QuickFilter.d.ts +1 -0
  240. package/lib/plus/orderList/components/Reset.d.ts +1 -0
  241. package/lib/plus/orderList/components/Toolbar.d.ts +1 -0
  242. package/lib/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  243. package/lib/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  244. package/lib/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  245. package/lib/plus/saasRegister/components/GoLogin.d.ts +0 -1
  246. package/lib/plus/saasRegister/components/Header.d.ts +0 -1
  247. package/lib/plus/saasRegister/components/VerifyError.d.ts +0 -1
  248. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  249. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  250. package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +0 -1
  251. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
  252. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +0 -1
  253. package/lib/pro/Login2.0/Login2.js +50 -50
  254. package/lib/pro/Login2.0/components/PhoneInput.js +1 -0
  255. package/lib/pro/Login2.0/shared/registerFlow.d.ts +3 -2
  256. package/lib/pro/Login2.0/steps/CodeInput.js +6 -1
  257. package/lib/pro/Login2.0/steps/WaitEmailLink.js +2 -1
  258. package/lib/pro/Selector/demo.d.ts +1 -0
  259. package/lib/pro/pisellPaymentList/example.d.ts +0 -1
  260. package/package.json +1 -1
Binary file
@@ -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 Cart: ({ open, onCancel, onNext }: any) => JSX.Element;
4
3
  export default Cart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface DepositProps {
4
3
  showTitle?: boolean;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectDate: (props: any) => JSX.Element | null;
3
2
  export default SelectDate;
@@ -823,18 +823,25 @@ export var useAppointmentBookingResource = function useAppointmentBookingResourc
823
823
  // 设置时间切片
824
824
  var getResourceTimeSlot = /*#__PURE__*/function () {
825
825
  var _ref25 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12(index) {
826
- var _getResourceList, resourceCodes, code, data;
826
+ var _appointmentBooking$o4, _basic$service_time;
827
+ var _getResourceList, resourceCodes, split, _ref26, basic, serviceTime, code, data;
827
828
  return _regeneratorRuntime().wrap(function _callee12$(_context12) {
828
829
  while (1) switch (_context12.prev = _context12.next) {
829
830
  case 0:
830
- _getResourceList = getResourceList(), resourceCodes = _getResourceList.resourceCodes;
831
+ _getResourceList = getResourceList(), resourceCodes = _getResourceList.resourceCodes; // 切片间隔, 默认10分钟
832
+ split = 10;
833
+ _ref26 = (appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$o4 = appointmentBooking.otherParams) === null || _appointmentBooking$o4 === void 0 ? void 0 : _appointmentBooking$o4.appointmentBoard) || {}, basic = _ref26.basic;
834
+ serviceTime = basic === null || basic === void 0 || (_basic$service_time = basic.service_time) === null || _basic$service_time === void 0 ? void 0 : _basic$service_time.value;
835
+ if (serviceTime) {
836
+ split = serviceTime;
837
+ }
831
838
  code = resourceCodes === null || resourceCodes === void 0 ? void 0 : resourceCodes[index || 0];
832
- _context12.next = 4;
833
- return appointmentBooking.getTimeSlotByAllResources(code);
834
- case 4:
839
+ _context12.next = 8;
840
+ return appointmentBooking.getTimeSlotByAllResources(code, split);
841
+ case 8:
835
842
  data = _context12.sent;
836
843
  setTimes(data || []);
837
- case 6:
844
+ case 10:
838
845
  case "end":
839
846
  return _context12.stop();
840
847
  }
@@ -858,8 +865,8 @@ export var useAppointmentBookingResource = function useAppointmentBookingResourc
858
865
  * @Date: 2025-04-21 11:47
859
866
  */
860
867
  export var useIsSkipResourceStep = function useIsSkipResourceStep() {
861
- var _ref26 = useAppointmentBookingContext(),
862
- currentStepParams = _ref26.currentStepParams;
868
+ var _ref27 = useAppointmentBookingContext(),
869
+ currentStepParams = _ref27.currentStepParams;
863
870
  var _useAppointmentBookin5 = useAppointmentBookingResource(),
864
871
  getResourceList = _useAppointmentBookin5.getResourceList;
865
872
  var _useAppointmentBookin6 = useAppointmentBookingSetting(),
@@ -868,7 +875,7 @@ export var useIsSkipResourceStep = function useIsSkipResourceStep() {
868
875
  var _useAppointmentBookin7 = useAppointmentBookingStep(),
869
876
  nextStep = _useAppointmentBookin7.nextStep;
870
877
  var checkSkipResourceStep = /*#__PURE__*/function () {
871
- var _ref27 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13() {
878
+ var _ref28 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13() {
872
879
  var _getResourceList2, resources, accountLists, _currentAppointmentBo, isSystem, isSkip, form_code, renderLists, _isSkip;
873
880
  return _regeneratorRuntime().wrap(function _callee13$(_context13) {
874
881
  while (1) switch (_context13.prev = _context13.next) {
@@ -924,7 +931,7 @@ export var useIsSkipResourceStep = function useIsSkipResourceStep() {
924
931
  }, _callee13, null, [[0, 22]]);
925
932
  }));
926
933
  return function checkSkipResourceStep() {
927
- return _ref27.apply(this, arguments);
934
+ return _ref28.apply(this, arguments);
928
935
  };
929
936
  }();
930
937
  return {
@@ -940,15 +947,15 @@ export var useIsSkipResourceStep = function useIsSkipResourceStep() {
940
947
  * @Date: 2025-04-24 18:15
941
948
  */
942
949
  export var useAppointmentBookingSetting = function useAppointmentBookingSetting() {
943
- var _appointmentBooking$o4, _appointmentBooking$o5, _appointmentBooking$o6;
950
+ var _appointmentBooking$o5, _appointmentBooking$o6, _appointmentBooking$o7;
944
951
  var utils = contextUtils();
945
- var _ref28 = useAppointmentBookingContext(),
946
- appointmentBooking = _ref28.appointmentBooking;
947
- var _ref29 = (appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$o4 = appointmentBooking.otherParams) === null || _appointmentBooking$o4 === void 0 ? void 0 : _appointmentBooking$o4.productModuleParams) || {},
948
- bookingProcess = _ref29.bookingProcess,
949
- bookingSubject = _ref29.bookingSubject,
950
- customPageId = _ref29.customPageId,
951
- channel = _ref29.channel;
952
+ var _ref29 = useAppointmentBookingContext(),
953
+ appointmentBooking = _ref29.appointmentBooking;
954
+ var _ref30 = (appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$o5 = appointmentBooking.otherParams) === null || _appointmentBooking$o5 === void 0 ? void 0 : _appointmentBooking$o5.productModuleParams) || {},
955
+ bookingProcess = _ref30.bookingProcess,
956
+ bookingSubject = _ref30.bookingSubject,
957
+ customPageId = _ref30.customPageId,
958
+ channel = _ref30.channel;
952
959
 
953
960
  // 设置缓存
954
961
  var setOtherData = function setOtherData(key, val) {
@@ -968,13 +975,13 @@ export var useAppointmentBookingSetting = function useAppointmentBookingSetting(
968
975
  // 主体是否是表单
969
976
  isFormSubject: (bookingSubject === null || bookingSubject === void 0 ? void 0 : bookingSubject.type) === 'form',
970
977
  // 是否是零售模版
971
- isRetailTemplate: (appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$o5 = appointmentBooking.otherParams) === null || _appointmentBooking$o5 === void 0 ? void 0 : _appointmentBooking$o5.isRetailTemplate) || false,
978
+ isRetailTemplate: (appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$o6 = appointmentBooking.otherParams) === null || _appointmentBooking$o6 === void 0 ? void 0 : _appointmentBooking$o6.isRetailTemplate) || false,
972
979
  customPageId: customPageId,
973
980
  channel: channel,
974
981
  bookingSubject: bookingSubject,
975
982
  setOtherData: setOtherData,
976
983
  getOtherData: getOtherData,
977
984
  formName: formName,
978
- bookingSetting: (appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$o6 = appointmentBooking.otherParams) === null || _appointmentBooking$o6 === void 0 ? void 0 : _appointmentBooking$o6.bookingSetting) || {}
985
+ bookingSetting: (appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$o7 = appointmentBooking.otherParams) === null || _appointmentBooking$o7 === void 0 ? void 0 : _appointmentBooking$o7.bookingSetting) || {}
979
986
  };
980
987
  };
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ import { FormState } from "../model";
3
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
+ state: FormState;
5
+ } & {
6
+ dispatch: (params: {
7
+ type: string;
8
+ payload: any;
9
+ }) => void;
10
+ }>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
4
3
  export default ProductItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const SelectProductItem: ({ item, onClick, onChangeQuantity, amountSymbol, style, className, disabled, }: any) => JSX.Element;
4
3
  export default SelectProductItem;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const renderBundles: (item: any, amountSymbol: string) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 空状态
4
3
  * @description:
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const FooterMenus: ({ state, menuChange, items }: any) => JSX.Element | null;
4
3
  export default FooterMenus;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface FooterProps {
3
2
  state: any;
4
3
  reload: () => void;
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ import { FormState } from "../model";
3
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
+ state: FormState;
5
+ } & {
6
+ dispatch: (params: {
7
+ type: string;
8
+ payload: any;
9
+ }) => void;
10
+ }>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SendModalValues } from './index';
3
2
  declare const useSendModal: (bookingId?: number) => {
4
3
  open: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  /**
4
3
  * @title: 表单选择器
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormState } from '../../../model';
3
2
  interface useClientFnParams {
4
3
  state: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export declare const updateServiceDate: (services: any[], date: any, isTime: boolean) => any[];
4
3
  declare const DateCom: () => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  export declare const disabledDate: (current: any, position: any, currentDate: any) => any;
4
3
  declare const DateRange: ({ state, dispatch, key }: any) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { EditServiceRef } from "../service/editService";
3
2
  declare const useInfoHolder: (state: any, dispatch: any) => {
4
3
  detailRef: import("react").MutableRefObject<EditServiceRef | undefined>;
@@ -1,5 +1,14 @@
1
+ /// <reference types="react" />
2
+ import { FormState } from '../model';
1
3
  export declare const walkInData: {
2
4
  id: number;
3
5
  nickname: string;
4
6
  };
5
- export declare const Provider: any, Context: any;
7
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
8
+ state: FormState;
9
+ } & {
10
+ dispatch: (params: {
11
+ type: string;
12
+ payload: any;
13
+ }) => void;
14
+ }>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Notes: () => JSX.Element | null;
3
2
  export default Notes;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Lists: ({ onEdit, onChange, onAction, isParallelResource }: any) => JSX.Element;
3
2
  export default Lists;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Actions: ({ currentService }: {
4
3
  currentService: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const BookingList: ({ items }: {
3
2
  items: any[];
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ServiceItem: ({ d, handleEditService, state, handleLike, resourceItem, errorMessage, handleDeleteService, }: any) => JSX.Element;
4
3
  export default ServiceItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ServiceList: ({ onEdit }: {
4
3
  onEdit: any;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Lists: ({ onEdit, onChange }: any) => JSX.Element;
3
2
  export default Lists;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '../../../info/service/actions/index.less';
3
2
  declare const Actions: ({ currentService }: {
4
3
  currentService: any;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const ContactInfoMode: () => JSX.Element;
3
2
  export default ContactInfoMode;
@@ -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;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ServiceList: ({ onEdit }: {
4
3
  onEdit: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type ContactType = {
4
3
  country_calling_code: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from 'antd';
3
2
  interface DurationProps extends SelectProps {
4
3
  locale?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from 'antd';
3
2
  interface HolderProps extends SelectProps {
4
3
  selectProps?: SelectProps;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from "antd";
3
2
  interface StartTimeProps extends SelectProps {
4
3
  locale?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface FormState {
2
3
  amountSymbol: string;
3
4
  apis: {
@@ -108,4 +109,11 @@ export declare const walkInData: {
108
109
  id: number;
109
110
  nickname: string;
110
111
  };
111
- export declare const Provider: any, Context: any;
112
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
113
+ state: FormState;
114
+ } & {
115
+ dispatch: (params: {
116
+ type: string;
117
+ payload: any;
118
+ }) => void;
119
+ }>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export interface InfoProps {
4
3
  isEdit: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const AddNote: ({ value, onChange, wait, title, placeholder }: any) => JSX.Element;
4
3
  export default AddNote;
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ import { FormState } from "../model";
3
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
+ state: FormState;
5
+ } & {
6
+ dispatch: (params: {
7
+ type: string;
8
+ payload: any;
9
+ }) => void;
10
+ }>;
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ import { FormState } from "../model";
3
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
+ state: FormState;
5
+ } & {
6
+ dispatch: (params: {
7
+ type: string;
8
+ payload: any;
9
+ }) => void;
10
+ }>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface MoreDropdownProps {
2
3
  locales: any;
3
4
  onClick?: (key: string) => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import '../index.less';
2
3
  interface IProps {
3
4
  onClickAction: (type: string, record: any) => void;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import '../index.less';
2
3
  export declare const useSummary: (locales: any, staticsData: any, isPartner?: boolean) => () => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DeviceProp } from "./const";
3
2
  interface PosProps {
4
3
  eftposName: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface DepositProps {
3
2
  showTitle?: boolean;
4
3
  }
@@ -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 Layout: () => JSX.Element;
4
3
  export default Layout;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const 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 Header: () => JSX.Element;
4
3
  export default Header;
@@ -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 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,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectHolderModal: (props: any) => JSX.Element;
3
2
  export default SelectHolderModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare type CallToBookProps = {
3
2
  show: boolean;
4
3
  type: 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,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Resource: (props: any) => JSX.Element;
3
2
  export default Resource;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Schedule: () => JSX.Element;
3
2
  export default Schedule;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare type Item = any;
4
3
  interface ProductItemProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const 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
  export interface LoginProps {
4
3
  title: string;
@@ -359,7 +359,9 @@ var AddMWCreditCard = function AddMWCreditCard(props, ref) {
359
359
  name: "card_name",
360
360
  rules: [{
361
361
  required: true,
362
- pattern: new RegExp(/^([A-Za-z]+|[A-Za-z,.'&-]+) ([A-Za-z]+|[A-Za-z,.'&-]+)$/, 'g'),
362
+ pattern: new RegExp(
363
+ // 至少两段英文名(名+姓),中间单空格分隔;允许后缀如 Jr、III 或中间名
364
+ /^([A-Za-z]+|[A-Za-z,.'&-]+)( ([A-Za-z]+|[A-Za-z,.'&-]+))+$/, 'g'),
363
365
  message: locales.getText('tocPay.text.enterEnglishName')
364
366
  }]
365
367
  }, /*#__PURE__*/React.createElement(PisellInput, {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const StripePayment: () => JSX.Element;
3
2
  export default StripePayment;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const PageLoading: () => JSX.Element;
3
2
  export default PageLoading;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const PaymentRequestForm: () => JSX.Element | null;
3
2
  export default PaymentRequestForm;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { WalletPassDataType } from '../../../PaymentMethods/WalletPass/serve';
3
2
  import './index.less';
4
3
  interface WalletUseListProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface FormState {
2
3
  platform: 'pc' | 'h5' | '' | undefined;
3
4
  order: any;
@@ -29,4 +30,11 @@ export interface PayGroup {
29
30
  _order: any;
30
31
  front_order_uuid?: string;
31
32
  }
32
- export declare const Provider: any, Context: any;
33
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
34
+ state: FormState;
35
+ } & {
36
+ dispatch: (params: {
37
+ type: string;
38
+ payload: any;
39
+ }) => void;
40
+ }>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DateSectionCom: ({ value, onChange, showTime, className, style, useSpace, format, itemStyle, }: any) => JSX.Element;
3
2
  export default DateSectionCom;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const GenderField: (props: any) => JSX.Element;
3
2
  export default GenderField;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface AddClientProps {
4
3
  onChange: (value: any) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface CustomerListProps {
4
3
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
4
3
  export default ProductItem;