@pisell/private-materials 6.2.18 → 6.2.20

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 (426) 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 +8 -8
  7. package/build/lowcode/render/default/view.js +2 -2
  8. package/build/lowcode/view.js +8 -8
  9. package/es/businessModel/SalesModel/index.d.ts +1 -0
  10. package/es/components/Sales/Checkout/utils.d.ts +1 -0
  11. package/es/components/Sales/Checkout/utils.js +3 -2
  12. package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  13. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  14. package/es/components/booking/addons/model.d.ts +1 -10
  15. package/es/components/booking/components/TabProduct/index.d.ts +1 -0
  16. package/es/components/booking/components/TabProduct/tabs/index.js +5 -1
  17. package/es/components/booking/components/browserSelect/index.js +1 -1
  18. package/es/components/booking/components/customSelect/index.js +1 -0
  19. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  20. package/es/components/booking/editBookingModal/index.js +29 -58
  21. package/es/components/booking/editBookingModal/serve.d.ts +0 -1
  22. package/es/components/booking/editBookingModal/serve.js +11 -19
  23. package/es/components/booking/forms/model.d.ts +1 -10
  24. package/es/components/booking/forms/model.js +5 -5
  25. package/es/components/booking/forms/table/index.d.ts +1 -0
  26. package/es/components/booking/hooks/useClearCart.js +11 -8
  27. package/es/components/booking/info/client/index.js +3 -2
  28. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  29. package/es/components/booking/info/dateRange/index.d.ts +1 -0
  30. package/es/components/booking/info/hooks/useInfoHolder.js +16 -9
  31. package/es/components/booking/info/model.d.ts +1 -10
  32. package/es/components/booking/info/service/Lists.js +36 -26
  33. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  34. package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  35. package/es/components/booking/info/service/editService/constants.d.ts +1 -0
  36. package/es/components/booking/info/service/editService/constants.js +3 -0
  37. package/es/components/booking/info/service/editService/index.js +15 -10
  38. package/es/components/booking/info/service/like/index.d.ts +1 -0
  39. package/es/components/booking/info/service/like/index.js +1 -1
  40. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  41. package/es/components/booking/info/service2/utils.js +20 -21
  42. package/es/components/booking/info/utils.js +1 -1
  43. package/es/components/booking/info2/index.js +1 -0
  44. package/es/components/booking/info2/service/addService/utils.js +7 -4
  45. package/es/components/booking/info2/service/addTimeModal/index.js +3 -0
  46. package/es/components/booking/info2/service/editService/Resources/index.js +5 -0
  47. package/es/components/booking/info2/service/editService/ResourcesV2/index.js +1 -1
  48. package/es/components/booking/info2/service/editService/index.js +264 -168
  49. package/es/components/booking/info2/service/index.js +19 -15
  50. package/es/components/booking/materiels/duration/index.js +9 -2
  51. package/es/components/booking/materiels/holder/index.d.ts +1 -0
  52. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  53. package/es/components/booking/materiels/startTime/index.js +1 -1
  54. package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
  55. package/es/components/booking/notes/NoteBlock/index.js +11 -11
  56. package/es/components/booking/notes/model.d.ts +1 -10
  57. package/es/components/booking/notes/model.js +5 -5
  58. package/es/components/booking/payments/model.d.ts +1 -10
  59. package/es/components/booking/payments/model.js +5 -5
  60. package/es/components/eftpos/deviceList/index.d.ts +1 -0
  61. package/es/components/eftpos/form/index.d.ts +1 -0
  62. package/es/components/eftpos/group/index.d.ts +1 -0
  63. package/es/components/eftpos/hooks.d.ts +1 -0
  64. package/es/components/eftpos/icon/apiKey.d.ts +1 -0
  65. package/es/components/eftpos/icon/device.d.ts +1 -0
  66. package/es/components/eftpos/receipt/index.d.ts +1 -0
  67. package/es/components/eftpos/surcharge/index.d.ts +1 -0
  68. package/es/components/eftposPay/app.d.ts +1 -0
  69. package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
  70. package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
  71. package/es/components/eftposPay/component/step/index.d.ts +1 -0
  72. package/es/components/eftposPay/component/step/step.d.ts +1 -0
  73. package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
  74. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  75. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  76. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  77. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  78. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  79. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  80. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  81. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  82. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  83. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  84. package/es/components/listComponent/index.js +5 -5
  85. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  86. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  87. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  88. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  89. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  90. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  91. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  92. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  93. package/es/components/pay/toC/model.d.ts +1 -9
  94. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  95. package/es/components/productExtension/card/index.js +3 -3
  96. package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
  97. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  98. package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
  99. package/es/components/productExtension/fields/Forms/index.js +12 -12
  100. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
  101. package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
  102. package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
  103. package/es/components/productExtension/server.js +2 -2
  104. package/es/components/ruleSetting/ruleBorder/index.js +1 -1
  105. package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
  106. package/es/components/schedules/calendar/index.js +4 -4
  107. package/es/components/schedules/calendar/serve.js +2 -2
  108. package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
  109. package/es/components/schedules/components/CurrentDay/index.js +5 -5
  110. package/es/components/schedules/components/CurrentDay/serve.js +2 -2
  111. package/es/components/schedules/components/DropdownSort/index.js +1 -1
  112. package/es/components/schedules/components/ResourceList/index.js +1 -1
  113. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  114. package/es/components/schedules/components/Search/index.js +5 -5
  115. package/es/components/schedules/model.d.ts +1 -9
  116. package/es/components/schedules/model.js +5 -5
  117. package/es/components/schedules/openHours/index.js +1 -1
  118. package/es/components/schedules/openHours/serve.js +2 -2
  119. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
  120. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
  121. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
  122. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  123. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  124. package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
  125. package/es/components/schedules/products/index.d.ts +1 -0
  126. package/es/components/schedules/products/serve.js +2 -2
  127. package/es/components/schedules/products/utils.js +5 -5
  128. package/es/components/schedules/resources/detail/detailContent.js +2 -2
  129. package/es/components/schedules/resources/detail/index.js +10 -10
  130. package/es/components/schedules/resources/list/index.js +2 -2
  131. package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
  132. package/es/components/schedules/resources/relationProduct/index.js +1 -1
  133. package/es/components/schedules/resources/serve.js +2 -2
  134. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
  135. package/es/components/schedules/utils.js +4 -4
  136. package/es/components/selectModal/index.js +2 -2
  137. package/es/components/shoppingCart/components/Cart/Product.js +48 -41
  138. package/es/components/shoppingCart/components/Cart/index.js +21 -18
  139. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  140. package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
  141. package/es/components/ticketBooking/components/addServiceVariant/addService.js +177 -157
  142. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  143. package/es/components/ticketBooking/components/timeBar/index.js +78 -71
  144. package/es/components/wallet/Detail/model.d.ts +1 -13
  145. package/es/components/wallet/DiscountCard/model.d.ts +1 -14
  146. package/es/components/wallet/PointCard/model.d.ts +1 -13
  147. package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
  148. package/es/components/wallet/Voucher/model.d.ts +1 -13
  149. package/es/components/wallet/model.d.ts +1 -9
  150. package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
  151. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  152. package/es/hooks/useComponents.js +1 -1
  153. package/lib/businessModel/SalesModel/index.d.ts +1 -0
  154. package/lib/components/Sales/Checkout/utils.d.ts +1 -0
  155. package/lib/components/Sales/Checkout/utils.js +3 -2
  156. package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  157. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  158. package/lib/components/booking/addons/model.d.ts +1 -10
  159. package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
  160. package/lib/components/booking/components/customSelect/index.js +1 -0
  161. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  162. package/lib/components/booking/editBookingModal/index.js +21 -56
  163. package/lib/components/booking/editBookingModal/serve.d.ts +0 -1
  164. package/lib/components/booking/editBookingModal/serve.js +6 -12
  165. package/lib/components/booking/forms/model.d.ts +1 -10
  166. package/lib/components/booking/forms/table/index.d.ts +1 -0
  167. package/lib/components/booking/hooks/useClearCart.js +16 -13
  168. package/lib/components/booking/info/client/index.js +5 -4
  169. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  170. package/lib/components/booking/info/dateRange/index.d.ts +1 -0
  171. package/lib/components/booking/info/hooks/useInfoHolder.js +10 -9
  172. package/lib/components/booking/info/model.d.ts +1 -10
  173. package/lib/components/booking/info/service/Lists.js +35 -23
  174. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  175. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  176. package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
  177. package/lib/components/booking/info/service/editService/constants.js +31 -0
  178. package/lib/components/booking/info/service/editService/index.js +7 -1
  179. package/lib/components/booking/info/service/like/index.d.ts +1 -0
  180. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  181. package/lib/components/booking/info/service2/utils.js +17 -17
  182. package/lib/components/booking/info/utils.js +2 -1
  183. package/lib/components/booking/info2/service/addService/utils.js +5 -3
  184. package/lib/components/booking/info2/service/addTimeModal/index.js +3 -0
  185. package/lib/components/booking/info2/service/editService/Resources/index.js +2 -0
  186. package/lib/components/booking/info2/service/editService/ResourcesV2/index.js +1 -1
  187. package/lib/components/booking/info2/service/editService/index.js +137 -72
  188. package/lib/components/booking/info2/service/index.js +13 -9
  189. package/lib/components/booking/materiels/duration/index.js +7 -2
  190. package/lib/components/booking/materiels/holder/index.d.ts +1 -0
  191. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  192. package/lib/components/booking/notes/model.d.ts +1 -10
  193. package/lib/components/booking/payments/model.d.ts +1 -10
  194. package/lib/components/eftpos/deviceList/index.d.ts +1 -0
  195. package/lib/components/eftpos/form/index.d.ts +1 -0
  196. package/lib/components/eftpos/group/index.d.ts +1 -0
  197. package/lib/components/eftpos/hooks.d.ts +1 -0
  198. package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
  199. package/lib/components/eftpos/icon/device.d.ts +1 -0
  200. package/lib/components/eftpos/receipt/index.d.ts +1 -0
  201. package/lib/components/eftpos/surcharge/index.d.ts +1 -0
  202. package/lib/components/eftposPay/app.d.ts +1 -0
  203. package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
  204. package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
  205. package/lib/components/eftposPay/component/step/index.d.ts +1 -0
  206. package/lib/components/eftposPay/component/step/step.d.ts +1 -0
  207. package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
  208. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  209. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  210. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  211. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  212. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  213. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  214. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  215. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  216. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  217. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  218. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  219. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  220. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  221. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  222. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  223. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  224. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  225. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  226. package/lib/components/pay/toC/model.d.ts +1 -9
  227. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  228. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  229. package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
  230. package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
  231. package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
  232. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  233. package/lib/components/schedules/model.d.ts +1 -9
  234. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  235. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  236. package/lib/components/schedules/products/index.d.ts +1 -0
  237. package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
  238. package/lib/components/schedules/utils.js +1 -1
  239. package/lib/components/shoppingCart/components/Cart/Product.js +31 -21
  240. package/lib/components/shoppingCart/components/Cart/index.js +18 -15
  241. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  242. package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
  243. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +145 -127
  244. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  245. package/lib/components/ticketBooking/components/timeBar/index.js +95 -88
  246. package/lib/components/wallet/Detail/model.d.ts +1 -13
  247. package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
  248. package/lib/components/wallet/PointCard/model.d.ts +1 -13
  249. package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
  250. package/lib/components/wallet/Voucher/model.d.ts +1 -13
  251. package/lib/components/wallet/model.d.ts +1 -9
  252. package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
  253. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  254. package/package.json +3 -3
  255. package/es/components/Sales/Cart/utils.d.ts +0 -63
  256. package/es/components/Sales/Checkout/index.d.ts +0 -37
  257. package/es/components/Sales/Checkout/serve.d.ts +0 -15
  258. package/es/components/Sales/Customer/index.d.ts +0 -25
  259. package/es/components/Sales/Event/Detail.d.ts +0 -30
  260. package/es/components/Sales/Event/serve.d.ts +0 -49
  261. package/es/components/Sales/Summary/index.d.ts +0 -35
  262. package/es/components/Sales/Summary/serve.d.ts +0 -1
  263. package/es/components/Sales/Summary/utils.d.ts +0 -51
  264. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -3
  265. package/es/components/appointmentBooking/components/Cart/utils.d.ts +0 -56
  266. package/es/components/appointmentBooking/components/Content/index.d.ts +0 -3
  267. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -9
  268. package/es/components/appointmentBooking/components/Form/index.d.ts +0 -4
  269. package/es/components/appointmentBooking/components/Form/utils.d.ts +0 -8
  270. package/es/components/appointmentBooking/components/Header/index.d.ts +0 -3
  271. package/es/components/appointmentBooking/components/Resource/index.d.ts +0 -7
  272. package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
  273. package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -4
  274. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
  275. package/es/components/appointmentBooking/deposit/index.d.ts +0 -3
  276. package/es/components/appointmentBooking/hooks.d.ts +0 -106
  277. package/es/components/appointmentBooking/index.d.ts +0 -3
  278. package/es/components/booking/components/customSelect/index.d.ts +0 -38
  279. package/es/components/booking/components/footer/index.d.ts +0 -11
  280. package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -8
  281. package/es/components/booking/components/voucher/index.d.ts +0 -3
  282. package/es/components/booking/hooks/useClearCart.d.ts +0 -2
  283. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  284. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -6
  285. package/es/components/booking/info/client/index.d.ts +0 -4
  286. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -9
  287. package/es/components/booking/info/index.d.ts +0 -3
  288. package/es/components/booking/info/service/Lists.d.ts +0 -2
  289. package/es/components/booking/info/service/serviceManager/index.d.ts +0 -20
  290. package/es/components/booking/info/service2/utils.d.ts +0 -247
  291. package/es/components/booking/info2/index.d.ts +0 -12
  292. package/es/components/booking/info2/service/addService/index.d.ts +0 -11
  293. package/es/components/booking/info2/service/addService/utils.d.ts +0 -98
  294. package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -3
  295. package/es/components/booking/info2/service/editService/Resources/index.d.ts +0 -4
  296. package/es/components/booking/info2/service/index.d.ts +0 -4
  297. package/es/components/booking/info2/utils.d.ts +0 -4
  298. package/es/components/booking/info2/utilsByBooking.d.ts +0 -35
  299. package/es/components/booking/locales.d.ts +0 -828
  300. package/es/components/booking/materiels/duration/index.d.ts +0 -13
  301. package/es/components/booking/model.d.ts +0 -116
  302. package/es/components/eftposPay/const.d.ts +0 -184
  303. package/es/components/eftposPay/hooks.d.ts +0 -35
  304. package/es/components/eftposPay/index.d.ts +0 -4
  305. package/es/components/eftposPay/linkly/const.d.ts +0 -23
  306. package/es/components/eftposPay/linkly/hooks/index.d.ts +0 -2
  307. package/es/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
  308. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
  309. package/es/components/eftposPay/linkly/index.d.ts +0 -2
  310. package/es/components/eftposPay/linkly/service.d.ts +0 -32
  311. package/es/components/eftposPay/manufacturer.d.ts +0 -7
  312. package/es/components/eftposPay/pay.d.ts +0 -20
  313. package/es/components/eftposPay/store/index.d.ts +0 -355
  314. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -2
  315. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -3
  316. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -3
  317. package/es/components/eventBooking/components/bookingDetailModal/index.d.ts +0 -7
  318. package/es/components/eventBooking/index.d.ts +0 -3
  319. package/es/components/eventBooking/locales.d.ts +0 -246
  320. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
  321. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -3
  322. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -61
  323. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
  324. package/es/components/pay/toC/PaymentMethods/index.d.ts +0 -9
  325. package/es/components/pay/toC/index.d.ts +0 -3
  326. package/es/components/pay/toC/locales.d.ts +0 -289
  327. package/es/components/productSelect/components/TabProduct/index.d.ts +0 -2
  328. package/es/components/productSelect/index.d.ts +0 -26
  329. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -3
  330. package/es/components/shoppingCart/components/Cart/index.d.ts +0 -3
  331. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
  332. package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -3
  333. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
  334. package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -12
  335. package/es/components/ticketBooking/index.d.ts +0 -7
  336. package/es/components/ticketBooking/locales.d.ts +0 -174
  337. package/es/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
  338. package/es/components/ticketBooking/utils/formatTime.d.ts +0 -31
  339. package/es/components/walletList/index.d.ts +0 -28
  340. package/es/utils/index.d.ts +0 -23
  341. package/lib/components/Sales/Cart/utils.d.ts +0 -63
  342. package/lib/components/Sales/Checkout/index.d.ts +0 -37
  343. package/lib/components/Sales/Checkout/serve.d.ts +0 -15
  344. package/lib/components/Sales/Customer/index.d.ts +0 -25
  345. package/lib/components/Sales/Event/Detail.d.ts +0 -30
  346. package/lib/components/Sales/Event/serve.d.ts +0 -49
  347. package/lib/components/Sales/Summary/index.d.ts +0 -35
  348. package/lib/components/Sales/Summary/serve.d.ts +0 -1
  349. package/lib/components/Sales/Summary/utils.d.ts +0 -51
  350. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -3
  351. package/lib/components/appointmentBooking/components/Cart/utils.d.ts +0 -56
  352. package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -3
  353. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -9
  354. package/lib/components/appointmentBooking/components/Form/index.d.ts +0 -4
  355. package/lib/components/appointmentBooking/components/Form/utils.d.ts +0 -8
  356. package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -3
  357. package/lib/components/appointmentBooking/components/Resource/index.d.ts +0 -7
  358. package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
  359. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -4
  360. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
  361. package/lib/components/appointmentBooking/deposit/index.d.ts +0 -3
  362. package/lib/components/appointmentBooking/hooks.d.ts +0 -106
  363. package/lib/components/appointmentBooking/index.d.ts +0 -3
  364. package/lib/components/booking/components/customSelect/index.d.ts +0 -38
  365. package/lib/components/booking/components/footer/index.d.ts +0 -11
  366. package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -8
  367. package/lib/components/booking/components/voucher/index.d.ts +0 -3
  368. package/lib/components/booking/hooks/useClearCart.d.ts +0 -2
  369. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  370. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -6
  371. package/lib/components/booking/info/client/index.d.ts +0 -4
  372. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -9
  373. package/lib/components/booking/info/index.d.ts +0 -3
  374. package/lib/components/booking/info/service/Lists.d.ts +0 -2
  375. package/lib/components/booking/info/service/serviceManager/index.d.ts +0 -20
  376. package/lib/components/booking/info/service2/utils.d.ts +0 -247
  377. package/lib/components/booking/info2/index.d.ts +0 -12
  378. package/lib/components/booking/info2/service/addService/index.d.ts +0 -11
  379. package/lib/components/booking/info2/service/addService/utils.d.ts +0 -98
  380. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -3
  381. package/lib/components/booking/info2/service/editService/Resources/index.d.ts +0 -4
  382. package/lib/components/booking/info2/service/index.d.ts +0 -4
  383. package/lib/components/booking/info2/utils.d.ts +0 -4
  384. package/lib/components/booking/info2/utilsByBooking.d.ts +0 -35
  385. package/lib/components/booking/locales.d.ts +0 -828
  386. package/lib/components/booking/materiels/duration/index.d.ts +0 -13
  387. package/lib/components/booking/model.d.ts +0 -116
  388. package/lib/components/eftposPay/const.d.ts +0 -184
  389. package/lib/components/eftposPay/hooks.d.ts +0 -35
  390. package/lib/components/eftposPay/index.d.ts +0 -4
  391. package/lib/components/eftposPay/linkly/const.d.ts +0 -23
  392. package/lib/components/eftposPay/linkly/hooks/index.d.ts +0 -2
  393. package/lib/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
  394. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
  395. package/lib/components/eftposPay/linkly/index.d.ts +0 -2
  396. package/lib/components/eftposPay/linkly/service.d.ts +0 -32
  397. package/lib/components/eftposPay/manufacturer.d.ts +0 -7
  398. package/lib/components/eftposPay/pay.d.ts +0 -20
  399. package/lib/components/eftposPay/store/index.d.ts +0 -355
  400. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -2
  401. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -3
  402. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -3
  403. package/lib/components/eventBooking/components/bookingDetailModal/index.d.ts +0 -7
  404. package/lib/components/eventBooking/index.d.ts +0 -3
  405. package/lib/components/eventBooking/locales.d.ts +0 -246
  406. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
  407. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -3
  408. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -61
  409. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
  410. package/lib/components/pay/toC/PaymentMethods/index.d.ts +0 -9
  411. package/lib/components/pay/toC/index.d.ts +0 -3
  412. package/lib/components/pay/toC/locales.d.ts +0 -289
  413. package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -2
  414. package/lib/components/productSelect/index.d.ts +0 -26
  415. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -3
  416. package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -3
  417. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
  418. package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -3
  419. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
  420. package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -12
  421. package/lib/components/ticketBooking/index.d.ts +0 -7
  422. package/lib/components/ticketBooking/locales.d.ts +0 -174
  423. package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
  424. package/lib/components/ticketBooking/utils/formatTime.d.ts +0 -31
  425. package/lib/components/walletList/index.d.ts +0 -28
  426. package/lib/utils/index.d.ts +0 -23
@@ -1,38 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- interface CustomSelectProps {
4
- options: any[];
5
- onValueChange: (value: any[]) => void;
6
- value: any[];
7
- rowKey: string;
8
- previewItemRender?: (item: any) => React.ReactNode;
9
- previewItemTitleRender?: (item: any, index: number, values: any[]) => React.ReactNode;
10
- addButtonRender?: () => React.ReactNode;
11
- optionRender: (item: any) => React.ReactNode;
12
- addButtonProps?: any;
13
- drawerProps?: any;
14
- createItemText?: string;
15
- loading?: boolean;
16
- previewItemClassName?: string;
17
- optionClassName?: string;
18
- mode?: 'single' | 'multiple' | 'form';
19
- filterItem?: (item: any, search: string) => boolean;
20
- isPreview?: boolean;
21
- name?: string;
22
- handleCreateItem?: () => void;
23
- handleViewItem?: (item: any) => void;
24
- searchChange?: (e: string) => void;
25
- loadMore?: any;
26
- virtualListHeight?: number;
27
- disabled?: boolean;
28
- searchValue?: string;
29
- onVirtualListScroll?: any;
30
- modalOpen?: boolean;
31
- closeCallback?: () => any;
32
- autoFocus?: boolean;
33
- showDropDown?: boolean;
34
- handleOpenModal?: () => void;
35
- handleDayChange?: (value: any) => void;
36
- }
37
- declare const _default: React.ForwardRefExoticComponent<CustomSelectProps & React.RefAttributes<unknown>>;
38
- export default _default;
@@ -1,11 +0,0 @@
1
- import './index.less';
2
- /**
3
- * @title: 底部
4
- * @description:
5
- * @param {any} props
6
- * @return {*}
7
- * @Author: zhiwei.Wang
8
- * @Date: 2024-01-30 16:51
9
- */
10
- declare const Footer: (props: any) => JSX.Element;
11
- export default Footer;
@@ -1,8 +0,0 @@
1
- import './index.less';
2
- interface IProps {
3
- modal: any;
4
- onReload: () => Promise<any>;
5
- onCancel: () => void;
6
- }
7
- declare const ReloadResourceModal: ({ modal, onReload, onCancel }: IProps) => JSX.Element;
8
- export default ReloadResourceModal;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const VoucherCard: (props: any) => JSX.Element | null;
3
- export default VoucherCard;
@@ -1,2 +0,0 @@
1
- declare const useClearCart: (state: any, dispatch: any) => false | JSX.Element;
2
- export default useClearCart;
@@ -1 +0,0 @@
1
- export declare const useIsBooking4Shop: (state: any) => any;
@@ -1,6 +0,0 @@
1
- interface AddServiceVariantProps {
2
- globalState: any;
3
- setGlobalState: any;
4
- }
5
- declare const AddServiceVariant: (props: AddServiceVariantProps) => JSX.Element;
6
- export default AddServiceVariant;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare const _default: React.MemoExoticComponent<() => JSX.Element>;
4
- export default _default;
@@ -1,9 +0,0 @@
1
- import { EditServiceRef } from "../service/editService";
2
- declare const useInfoHolder: (state: any, dispatch: any) => {
3
- detailRef: import("react").MutableRefObject<EditServiceRef | undefined>;
4
- handleEdit: (cacheItem: any, type?: string) => void;
5
- dispatchService: (type: string, payload: any) => void;
6
- handleAction: (dataSource: any) => void;
7
- showAddTimeModal: boolean;
8
- };
9
- export default useInfoHolder;
@@ -1,3 +0,0 @@
1
- import { InfoProps } from './main';
2
- declare const APP: (props: InfoProps) => JSX.Element;
3
- export default APP;
@@ -1,2 +0,0 @@
1
- declare const Lists: ({ onEdit, onChange, onAction, isParallelResource }: any) => JSX.Element;
2
- export default Lists;
@@ -1,20 +0,0 @@
1
- export declare const useService: ({ renderMode, onEdit, state, dispatch, }: {
2
- renderMode?: any;
3
- onEdit?: any;
4
- state?: any;
5
- dispatch?: any;
6
- }) => {
7
- createBookingData: ({ product }: any) => Promise<any>;
8
- editBookingData: ({ changeValues }: {
9
- changeValues: any;
10
- }) => Promise<any>;
11
- createBooking: ({ booking }: {
12
- booking: any;
13
- }) => Promise<void>;
14
- editBooking: ({ booking }: {
15
- booking: any;
16
- }) => Promise<void>;
17
- goEditPanel: ({ booking }: {
18
- booking: any;
19
- }) => void;
20
- };
@@ -1,247 +0,0 @@
1
- import dayjs from 'dayjs';
2
- export declare const formatActiveKey: (lists: any[], platform: string, isEdit: boolean) => any[];
3
- /**
4
- * @title: 获取资源名称
5
- * @description:
6
- * @param {any} id
7
- * @param {any} state
8
- * @return {*}
9
- * @Author: WangHan
10
- * @Date: 2024-11-29 18:02
11
- */
12
- export declare const getResourceItem: (id: any, state: any) => any;
13
- /**
14
- * @title: 错误提示
15
- * @description:
16
- * @param {any} service
17
- * @param {any} resourceItem
18
- * @return {*}
19
- * @Author: WangHan
20
- * @Date: 2024-11-29 18:41
21
- */
22
- export declare const getErrorMessage: (service: any, resourceItem: any, isDay?: boolean) => any;
23
- /**
24
- * @title: 格式化主体列表
25
- * @description:
26
- * @param {any} lists
27
- * @param {boolean} isOpenGroup
28
- * @return {*}
29
- * @Author: WangHan
30
- * @Date: 2024-12-04 11:27
31
- */
32
- export declare const formatHolderLists: (lists: any) => any;
33
- export declare const isBookingProduct: (extension_type: any, bol?: boolean) => boolean | undefined;
34
- /**
35
- * @title: 是否是预约商品
36
- * @description:
37
- * @return {*}
38
- * @Author: WangHan
39
- * @Date: 2024-12-06 11:24
40
- */
41
- export declare const isDayBookingProduct: (item: any, state: any) => boolean | undefined;
42
- export declare const handleChangeHolder: (products: any[], currentItem: any, other: any) => any[];
43
- /**
44
- * @title: 更新商品数据
45
- * @description:
46
- * @param {any} state
47
- * @param currentItem
48
- * @param {string} type
49
- * @param {any} other
50
- * @param actions
51
- * @return {*}
52
- * @Author: WangHan
53
- * @Date: 2025-01-03 15:00
54
- */
55
- export declare const updateServices: (state: any, currentItem: any, type?: string, other?: any, actions?: any) => any;
56
- export declare const formItems: (items: any[]) => any[];
57
- export declare const getIsSubjectRequire: (state: any) => boolean;
58
- export declare const isNormalProductByDurationSchedule: (item: any) => boolean;
59
- export declare const isAllNormalProduct: (items: any[]) => boolean;
60
- export declare const isAllNormalProductByState: (state: any) => boolean;
61
- /**
62
- * @title: 格式化商品数据
63
- * @description:
64
- * @param {any} lists
65
- * @return {*}
66
- * @Author: WangHan
67
- * @Date: 2024-11-29 17:36
68
- */
69
- export declare const formatProducts: (lists: any[], state: any, isRenderGroup?: boolean, isGeneral?: boolean, isParallelResource?: boolean) => {
70
- _origin: any;
71
- id: any;
72
- _id: any;
73
- name: any;
74
- price: any;
75
- total: number;
76
- origin_total: number;
77
- num: any;
78
- image: any;
79
- isShowNote: boolean;
80
- note: any;
81
- like_status: any;
82
- bundle: any;
83
- options: any;
84
- errorMessage: string;
85
- product_option_string: any;
86
- discount_reason: any;
87
- resource_id: any;
88
- relation_form_name: any;
89
- holder_title: any;
90
- start_date: any;
91
- end_date: any;
92
- holder_id: any;
93
- isNormalProduct: boolean;
94
- locale: any;
95
- symbol: any;
96
- relation_products: any;
97
- items: any[];
98
- }[];
99
- /**
100
- * @title: 禁用日期
101
- * @description:
102
- * @param {any} current
103
- * @param {string} position
104
- * @param {any} startDate
105
- * @return {*}
106
- * @Author: WangHan
107
- * @Date: 2024-12-03 17:51
108
- */
109
- export declare const disabledDate: (current: any, position: string, currentDate: any) => any;
110
- /**
111
- * @title: 是否是跨日预约
112
- * @description:
113
- * @param {any} state
114
- * @return {*}
115
- * @Author: WangHan
116
- * @Date: 2024-12-04 09:49
117
- */
118
- export declare const isDayBooking: (state: any) => boolean;
119
- export declare const isDaysBooking: (state: any) => boolean;
120
- export declare const isEventBooking: (state: any) => boolean;
121
- export declare const isAppointmentProduct: (item: any) => boolean;
122
- /**
123
- * @title: 是否是terminal上的跨日预约
124
- * @description:
125
- * @param {any} state
126
- * @return {*}
127
- * @Author: WangHan
128
- * @Date: 2024-12-04 15:31
129
- */
130
- export declare const isTerminalDayBooking: (state: any) => any;
131
- export declare const formatDayDate: (_extend: any) => any;
132
- /**
133
- * @title: 根据营业日时间格式化时间
134
- * @description:
135
- * @param {any} state
136
- * @return {*}
137
- * @Author: WangHan
138
- * @Date: 2024-12-04 12:07
139
- */
140
- export declare const formatDayTime: ({ startDate, endDate }: any) => {
141
- startDateTime: dayjs.Dayjs;
142
- endDateTime: dayjs.Dayjs;
143
- };
144
- export declare const formatDateTime: (start_date: any, end_date: any) => {
145
- value: dayjs.Dayjs;
146
- end_date: dayjs.Dayjs;
147
- };
148
- /**
149
- * @title: 初始化日期
150
- * @description:
151
- * @return {*}
152
- * @Author: WangHan
153
- * @Date: 2024-12-06 17:24
154
- */
155
- export declare const initDate: () => {
156
- value: dayjs.Dayjs;
157
- end_date: dayjs.Dayjs;
158
- };
159
- /**
160
- * @title: 是否有预约商品
161
- * @description:
162
- * @return {*}
163
- * @Author: WangHan
164
- * @Date: 2024-12-12 15:47
165
- */
166
- export declare const isHasDayAppointmentProduct: (state: any) => boolean;
167
- /**
168
- * @title: 过滤出如果是预约商品,则只获取跨日的预约商品
169
- * @description:
170
- * @param {any} lists
171
- * @return {*}
172
- * @Author: WangHan
173
- * @Date: 2024-12-13 16:44
174
- */
175
- export declare const getDayProducts: (holderId: number, lists: any, isTerminal?: boolean) => any;
176
- /**
177
- * @title: 格式化表单数据
178
- * @description:
179
- * @param {any} state
180
- * @return {*}
181
- * @Author: WangHan
182
- * @Date: 2024-12-30 22:19
183
- */
184
- export declare const getPets: (state: any) => any;
185
- /**
186
- * @title: 得出预约商品
187
- * @description:
188
- * @param {any} state
189
- * @return {*}
190
- * @Author: WangHan
191
- * @Date: 2024-12-30 22:26
192
- */
193
- export declare const getAppointmentService: (state: any) => any;
194
- /**
195
- * @title: 判断是否打开删除宠物弹窗
196
- * @description:
197
- * @param {any} state
198
- * @param {any} newVal
199
- * @return {*}
200
- * @Author: WangHan
201
- * @Date: 2024-12-16 16:12
202
- */
203
- export declare const isOpenDeletePet: (state: any, newVal: any) => {
204
- ids: any;
205
- lists: any;
206
- };
207
- /**
208
- * @title: 当前选中的表单id
209
- * @description:
210
- * @param {any} state
211
- * @return {*}
212
- * @Author: WangHan
213
- * @Date: 2024-12-17 14:40
214
- */
215
- export declare const holderId: (state: any) => number;
216
- /**
217
- * @title: 更新套餐的价格
218
- * @description:
219
- * @param {any} currentValue
220
- * @param {any} newBundleData
221
- * @return {*}
222
- * @Author: WangHan
223
- * @Date: 2024-12-31 15:16
224
- */
225
- export declare function updateNormalBundlePrice(currentValue: any, newBundleData: any): any[];
226
- /**
227
- * @title: 更新预约商品报价单
228
- * @description:
229
- * @param {any} state
230
- * @param {any} cacheItem
231
- * @return {*}
232
- * @Author: WangHan
233
- * @Date: 2024-12-25 16:41
234
- */
235
- export declare const updateAppointmentServicePrice: (state: any, { start_date, end_date, product_id }: any) => Promise<{
236
- multiDayPrices: any;
237
- price: number;
238
- }>;
239
- /**
240
- * @title: 更新普通商品报价单价格
241
- * @description:
242
- * @param {any} state
243
- * @return {*}
244
- * @Author: WangHan
245
- * @Date: 2024-12-24 11:32
246
- */
247
- export declare const updateServicePrice: (state: any) => Promise<any> | never[];
@@ -1,12 +0,0 @@
1
- import '../info/index.less';
2
- export interface InfoProps {
3
- style: any;
4
- globalState: any;
5
- callback: any;
6
- setGlobalState: any;
7
- modules: any;
8
- slot: any;
9
- setState: any;
10
- }
11
- declare const Info: any;
12
- export default Info;
@@ -1,11 +0,0 @@
1
- import { PisellDrawerProps } from '../../../components/drawer';
2
- import '../../../info/service/addService/index.less';
3
- interface AddServiceProps {
4
- onEdit: any;
5
- dispatch?: any;
6
- state?: any;
7
- drawerProps?: PisellDrawerProps;
8
- renderMode?: 'current' | 'drawer';
9
- }
10
- declare const Info: (props: AddServiceProps) => JSX.Element;
11
- export default Info;
@@ -1,98 +0,0 @@
1
- import dayjs from 'dayjs';
2
- export declare const getUsableTime: (cacheItem: any) => any;
3
- export declare const getDurationProps: ({ cacheItem, useStartTime, currentResource, slice, }: any) => {
4
- startDate: dayjs.Dayjs;
5
- usableTime: any;
6
- duration: string | number | {
7
- type: string;
8
- value: number;
9
- };
10
- locale: string;
11
- slice: any;
12
- selectProps: {
13
- size: string;
14
- };
15
- };
16
- /**
17
- * @title: 灵活时长选项
18
- * @description:
19
- * @param {*} useMemo
20
- * @return {*}
21
- * @Author: zhiwei.Wang
22
- * @Date: 2024-02-23 10:10
23
- */
24
- export declare const getFlexibleOption: ({ cacheItem, useStartTime, currentResource, slice, durationProps, }: any) => {
25
- label: any;
26
- value: any;
27
- } | null;
28
- export declare const getTimeSlices: ({ state }: any) => {
29
- timeSlices: {
30
- label: string;
31
- value: string;
32
- }[];
33
- };
34
- /**
35
- * @title: 时间切片
36
- * @description:
37
- * @return {*}
38
- * @Author: zhiwei.Wang
39
- * @Date: 2024-01-09 13:37
40
- */
41
- export declare const getTimeObj: ({ cacheItem, useStartTime, currentResource, state, useDuration, durationProps, }: any) => {
42
- timeSlices: {
43
- label: string;
44
- value: string;
45
- }[];
46
- durationSlicesBasedOnTime: {
47
- label: string;
48
- value: number;
49
- }[];
50
- };
51
- /**
52
- * @title: 获取资源列表
53
- * @description:
54
- * @return {*}
55
- * @Author: zhiwei.Wang
56
- * @Date: 2024-01-09 13:38
57
- */
58
- export declare const formatResources: ({ cacheItem, resourcesOrigin, id }: any) => {
59
- list: any;
60
- maps: any;
61
- };
62
- export declare const setDefaultResource: ({ cacheItem, resources }: any) => any;
63
- /**
64
- * @title: 设置默认容量
65
- * @description:
66
- * @param {any} param1
67
- * @return {*}
68
- * @Author: zhiwei.Wang
69
- * @Date: 2024-09-19 20:26
70
- */
71
- export declare const setDefaultCapacitys: ({ capacitys, cacheItem }: any) => any;
72
- /**
73
- * @title: 将商品内关联的资源id还原成数据
74
- * @description:
75
- * @param {any} resourcesOriginMap
76
- * @param {any} cacheItem
77
- * @return {*}
78
- * @Author: zhiwei.Wang
79
- * @Date: 2024-09-19 20:23
80
- */
81
- export declare const getResourceByIds: (resourcesOriginMap: any, cacheItem: any, extraParams?: any) => any[];
82
- /**
83
- * @title: 预生成服务的 extend
84
- * @description:
85
- * @param {any} param1
86
- * @return {*}
87
- * @Author: zhiwei.Wang
88
- * @Date: 2024-06-01 13:25
89
- */
90
- export declare const getProductExtend: ({ cacheItem, state, isDisabledTime }: any) => any;
91
- /**
92
- * @title: 格式化服务列表
93
- * @description: 后端列表返回的product_resource.resources 的optional_resource等不是最新数据
94
- * 使用with resourceRelation后 返回的resource_relation是实时数据
95
- * 这里做一次转换
96
- * @param list
97
- */
98
- export declare const transServiceList: (list: any[]) => any[];
@@ -1,3 +0,0 @@
1
- import '../../../info/service/addTimeModal/index.less';
2
- declare const AddTimeModal: () => JSX.Element;
3
- export default AddTimeModal;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
4
- export default _default;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import '../../info/service/index.less';
3
- declare const _default: React.MemoExoticComponent<() => JSX.Element>;
4
- export default _default;
@@ -1,4 +0,0 @@
1
- export declare const getFormatResourceListAndMap: (data: any[], bookingId?: number[]) => {
2
- list: any[];
3
- listMap: any;
4
- };
@@ -1,35 +0,0 @@
1
- export declare const getResourceTimeIsUsable: (item: any, cacheItem: any, resourceItem: any) => any;
2
- export declare const getSumCapacity: ({ cacheItem }: any, isCalcQuantity?: boolean) => number;
3
- /**
4
- * @title: 查找是否有可用的time
5
- * @description:
6
- * @param {any} resourceItem
7
- * @return {*}
8
- * @Author: zhiwei.Wang
9
- * @Date: 2024-01-09 13:57
10
- */
11
- export declare const formatTimes: (resourceItem: any, cacheItem: any) => any;
12
- export declare const getErrorList: (resource: any, cacheItem: any) => {
13
- label: any;
14
- type: string;
15
- }[];
16
- /**
17
- * @title: 格式化资源, 添加自定义参数
18
- * @description:
19
- * @param {any} resourceItem
20
- * @return {*}
21
- * @Author: zhiwei.Wang
22
- * @Date: 2024-01-09 13:40
23
- */
24
- export declare const formatResource: (resourceItem: any, cacheItem?: any, formatLabel?: any) => any;
25
- export declare const getAppointmentTimingPreference: (state: any) => any;
26
- /**
27
- * @title: 创建服务的开始时间和结束时间
28
- * @description:
29
- * @param {any} state
30
- * @param {any} item
31
- * @return {*}
32
- * @Author: zhiwei.Wang
33
- * @Date: 2024-01-26 14:09
34
- */
35
- export declare const getServiceStartTimeAndEndTime: (state: any, cacheItem: any, timeObj: any) => any;