@pisell/private-materials 3.2.12 → 3.2.13

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 (444) 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 +14 -18
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +9 -9
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +9 -9
  11. package/es/businessModel/SalesModel/index.d.ts +0 -1
  12. package/es/components/booking/addons/index.js +7 -5
  13. package/es/components/booking/addons/model.d.ts +1 -10
  14. package/es/components/booking/components/footer/index.d.ts +0 -1
  15. package/es/components/booking/deposit/index.d.ts +0 -1
  16. package/es/components/booking/forms/model.d.ts +1 -10
  17. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
  18. package/es/components/booking/info/header/index.d.ts +0 -1
  19. package/es/components/booking/info/index.d.ts +0 -1
  20. package/es/components/booking/info/model.d.ts +1 -10
  21. package/es/components/booking/info/service/addService/index.d.ts +0 -1
  22. package/es/components/booking/info/service/addService/index.js +3 -3
  23. package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  24. package/es/components/booking/info/service/editService/index.js +58 -48
  25. package/es/components/booking/info/service2/utils.d.ts +1 -1
  26. package/es/components/booking/info2/service/addService/index.d.ts +0 -1
  27. package/es/components/booking/info2/service/addService/index.js +3 -2
  28. package/es/components/booking/info2/service/addService/utils.js +57 -5
  29. package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
  30. package/es/components/booking/info2/service/editService/Resources/index.js +20 -2
  31. package/es/components/booking/info2/service/editService/index.js +4 -3
  32. package/es/components/booking/info2/service/editService/utils.d.ts +4 -2
  33. package/es/components/booking/info2/service/editService/utils.js +18 -0
  34. package/es/components/booking/locales.d.ts +3 -0
  35. package/es/components/booking/locales.js +3 -0
  36. package/es/components/booking/model.d.ts +1 -9
  37. package/es/components/booking/notes/model.d.ts +1 -10
  38. package/es/components/booking/payments/model.d.ts +1 -10
  39. package/es/components/booking/utils.d.ts +2 -2
  40. package/es/components/eftpos/surcharge/index.d.ts +0 -1
  41. package/es/components/eftposPay/amount.d.ts +1 -1
  42. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  43. package/es/components/eftposPay/component/fail/index.d.ts +0 -1
  44. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
  45. package/es/components/eftposPay/device.d.ts +1 -1
  46. package/es/components/eftposPay/hooks.d.ts +2 -2
  47. package/es/components/eftposPay/index.d.ts +0 -1
  48. package/es/components/eftposPay/pay.d.ts +0 -1
  49. package/es/components/eftposPay/payo/config.d.ts +0 -1
  50. package/es/components/eftposPay/store/index.d.ts +5 -5
  51. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  52. package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  53. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  54. package/es/components/eventBooking/index.d.ts +0 -1
  55. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  56. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  57. package/es/components/pay/toC/model.d.ts +1 -9
  58. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  59. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  60. package/es/components/pisellSelectCustomerModal/index.d.ts +0 -1
  61. package/es/components/productExtension/index.d.ts +0 -1
  62. package/es/components/ruleSetting/index.d.ts +0 -1
  63. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  64. package/es/components/schedules/model.d.ts +1 -9
  65. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  66. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  67. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  68. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  69. package/es/components/taxSelect/index.d.ts +0 -1
  70. package/es/components/wallet/Detail/model.d.ts +1 -13
  71. package/es/components/wallet/DiscountCard/model.d.ts +1 -14
  72. package/es/components/wallet/PointCard/model.d.ts +1 -13
  73. package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
  74. package/es/components/wallet/Voucher/model.d.ts +1 -13
  75. package/es/components/wallet/model.d.ts +1 -9
  76. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  77. package/es/index.d.ts +0 -1
  78. package/es/index.js +1 -2
  79. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  80. package/lib/components/booking/addons/index.js +7 -5
  81. package/lib/components/booking/addons/model.d.ts +1 -10
  82. package/lib/components/booking/components/footer/index.d.ts +0 -1
  83. package/lib/components/booking/deposit/index.d.ts +0 -1
  84. package/lib/components/booking/forms/model.d.ts +1 -10
  85. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
  86. package/lib/components/booking/info/header/index.d.ts +0 -1
  87. package/lib/components/booking/info/index.d.ts +0 -1
  88. package/lib/components/booking/info/model.d.ts +1 -10
  89. package/lib/components/booking/info/service/addService/index.d.ts +0 -1
  90. package/lib/components/booking/info/service/addService/index.js +2 -2
  91. package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  92. package/lib/components/booking/info/service/editService/index.js +3 -2
  93. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  94. package/lib/components/booking/info2/service/addService/index.d.ts +0 -1
  95. package/lib/components/booking/info2/service/addService/index.js +3 -2
  96. package/lib/components/booking/info2/service/addService/utils.js +36 -1
  97. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
  98. package/lib/components/booking/info2/service/editService/Resources/index.js +16 -1
  99. package/lib/components/booking/info2/service/editService/index.js +3 -2
  100. package/lib/components/booking/info2/service/editService/utils.d.ts +4 -2
  101. package/lib/components/booking/info2/service/editService/utils.js +48 -0
  102. package/lib/components/booking/locales.d.ts +3 -0
  103. package/lib/components/booking/locales.js +3 -0
  104. package/lib/components/booking/model.d.ts +1 -9
  105. package/lib/components/booking/notes/model.d.ts +1 -10
  106. package/lib/components/booking/payments/model.d.ts +1 -10
  107. package/lib/components/booking/utils.d.ts +2 -2
  108. package/lib/components/eftpos/surcharge/index.d.ts +0 -1
  109. package/lib/components/eftposPay/amount.d.ts +1 -1
  110. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  111. package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
  112. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
  113. package/lib/components/eftposPay/device.d.ts +1 -1
  114. package/lib/components/eftposPay/hooks.d.ts +2 -2
  115. package/lib/components/eftposPay/index.d.ts +0 -1
  116. package/lib/components/eftposPay/pay.d.ts +0 -1
  117. package/lib/components/eftposPay/payo/config.d.ts +0 -1
  118. package/lib/components/eftposPay/store/index.d.ts +5 -5
  119. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  120. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  121. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  122. package/lib/components/eventBooking/index.d.ts +0 -1
  123. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  124. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  125. package/lib/components/pay/toC/model.d.ts +1 -9
  126. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  127. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  128. package/lib/components/pisellSelectCustomerModal/index.d.ts +0 -1
  129. package/lib/components/productExtension/index.d.ts +0 -1
  130. package/lib/components/ruleSetting/index.d.ts +0 -1
  131. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  132. package/lib/components/schedules/model.d.ts +1 -9
  133. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  134. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  135. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  136. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  137. package/lib/components/taxSelect/index.d.ts +0 -1
  138. package/lib/components/wallet/Detail/model.d.ts +1 -13
  139. package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
  140. package/lib/components/wallet/PointCard/model.d.ts +1 -13
  141. package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
  142. package/lib/components/wallet/Voucher/model.d.ts +1 -13
  143. package/lib/components/wallet/model.d.ts +1 -9
  144. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  145. package/lib/index.d.ts +0 -1
  146. package/lib/index.js +0 -3
  147. package/package.json +4 -4
  148. package/es/components/eventBooking/components/Provider/SelectProduct/index.d.ts +0 -4
  149. package/es/components/eventBooking/components/Provider/SelectProduct/index.js +0 -77
  150. package/es/components/eventBooking/components/Provider/SelectProduct/index.less +0 -131
  151. package/es/components/parallelResourceBooking/assets/alert-circle.png +0 -0
  152. package/es/components/parallelResourceBooking/assets/calendar-heart.svg +0 -5
  153. package/es/components/parallelResourceBooking/assets/compass.svg +0 -13
  154. package/es/components/parallelResourceBooking/assets/image.svg +0 -5
  155. package/es/components/parallelResourceBooking/assets/phone.svg +0 -5
  156. package/es/components/parallelResourceBooking/assets/shopping-cart.svg +0 -10
  157. package/es/components/parallelResourceBooking/components/ErrorTip/index.d.ts +0 -3
  158. package/es/components/parallelResourceBooking/components/ErrorTip/index.js +0 -14
  159. package/es/components/parallelResourceBooking/components/ErrorTip/index.less +0 -51
  160. package/es/components/parallelResourceBooking/components/OpenCard/index.d.ts +0 -4
  161. package/es/components/parallelResourceBooking/components/OpenCard/index.js +0 -65
  162. package/es/components/parallelResourceBooking/components/OpenCard/index.less +0 -52
  163. package/es/components/parallelResourceBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -3
  164. package/es/components/parallelResourceBooking/components/Provider/Cart/ContinueButton/index.js +0 -274
  165. package/es/components/parallelResourceBooking/components/Provider/Cart/ContinueButton/index.less +0 -0
  166. package/es/components/parallelResourceBooking/components/Provider/Cart/Item/Total.d.ts +0 -3
  167. package/es/components/parallelResourceBooking/components/Provider/Cart/Item/Total.js +0 -46
  168. package/es/components/parallelResourceBooking/components/Provider/Cart/Item/index.d.ts +0 -3
  169. package/es/components/parallelResourceBooking/components/Provider/Cart/Item/index.js +0 -63
  170. package/es/components/parallelResourceBooking/components/Provider/Cart/Item/index.less +0 -87
  171. package/es/components/parallelResourceBooking/components/Provider/Cart/index.d.ts +0 -3
  172. package/es/components/parallelResourceBooking/components/Provider/Cart/index.js +0 -30
  173. package/es/components/parallelResourceBooking/components/Provider/Cart/index.less +0 -2
  174. package/es/components/parallelResourceBooking/components/Provider/Content/index.d.ts +0 -3
  175. package/es/components/parallelResourceBooking/components/Provider/Content/index.js +0 -65
  176. package/es/components/parallelResourceBooking/components/Provider/Content/index.less +0 -31
  177. package/es/components/parallelResourceBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -3
  178. package/es/components/parallelResourceBooking/components/Provider/EmptyHolderModal/index.js +0 -34
  179. package/es/components/parallelResourceBooking/components/Provider/EmptyHolderModal/index.less +0 -17
  180. package/es/components/parallelResourceBooking/components/Provider/Event/index.d.ts +0 -3
  181. package/es/components/parallelResourceBooking/components/Provider/Event/index.js +0 -93
  182. package/es/components/parallelResourceBooking/components/Provider/Event/index.less +0 -20
  183. package/es/components/parallelResourceBooking/components/Provider/Footer/index.d.ts +0 -3
  184. package/es/components/parallelResourceBooking/components/Provider/Footer/index.js +0 -76
  185. package/es/components/parallelResourceBooking/components/Provider/Footer/index.less +0 -64
  186. package/es/components/parallelResourceBooking/components/Provider/Header/index.d.ts +0 -3
  187. package/es/components/parallelResourceBooking/components/Provider/Header/index.js +0 -75
  188. package/es/components/parallelResourceBooking/components/Provider/Header/index.less +0 -2
  189. package/es/components/parallelResourceBooking/components/Provider/Information/index.d.ts +0 -3
  190. package/es/components/parallelResourceBooking/components/Provider/Information/index.js +0 -178
  191. package/es/components/parallelResourceBooking/components/Provider/Information/index.less +0 -92
  192. package/es/components/parallelResourceBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -3
  193. package/es/components/parallelResourceBooking/components/Provider/InformationOptionsModal/index.js +0 -34
  194. package/es/components/parallelResourceBooking/components/Provider/InformationOptionsModal/index.less +0 -27
  195. package/es/components/parallelResourceBooking/components/Provider/OrderProductModal/index.d.ts +0 -3
  196. package/es/components/parallelResourceBooking/components/Provider/OrderProductModal/index.js +0 -27
  197. package/es/components/parallelResourceBooking/components/Provider/OrderProductModal/index.less +0 -32
  198. package/es/components/parallelResourceBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -2
  199. package/es/components/parallelResourceBooking/components/Provider/RemoveOptionConfirmModal.js +0 -31
  200. package/es/components/parallelResourceBooking/components/Provider/Resource/index.d.ts +0 -3
  201. package/es/components/parallelResourceBooking/components/Provider/Resource/index.js +0 -79
  202. package/es/components/parallelResourceBooking/components/Provider/Resource/index.less +0 -46
  203. package/es/components/parallelResourceBooking/components/Provider/SelectHolderModal.d.ts +0 -2
  204. package/es/components/parallelResourceBooking/components/Provider/SelectHolderModal.js +0 -90
  205. package/es/components/parallelResourceBooking/components/Provider/SelectProduct/index.d.ts +0 -4
  206. package/es/components/parallelResourceBooking/components/Provider/SelectProduct/index.js +0 -77
  207. package/es/components/parallelResourceBooking/components/Provider/SelectProduct/index.less +0 -131
  208. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -3
  209. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.js +0 -26
  210. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.less +0 -25
  211. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -10
  212. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.js +0 -65
  213. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -32
  214. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -3
  215. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.js +0 -69
  216. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.less +0 -12
  217. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -12
  218. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.js +0 -152
  219. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.less +0 -35
  220. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -3
  221. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.js +0 -20
  222. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.less +0 -28
  223. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -4
  224. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.js +0 -38
  225. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -87
  226. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -3
  227. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.js +0 -28
  228. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.less +0 -25
  229. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.d.ts +0 -4
  230. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.js +0 -269
  231. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.less +0 -119
  232. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +0 -63
  233. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.js +0 -256
  234. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +0 -4
  235. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +0 -173
  236. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.less +0 -4
  237. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
  238. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.js +0 -36
  239. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.less +0 -2
  240. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
  241. package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/utils.js +0 -70
  242. package/es/components/parallelResourceBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -2
  243. package/es/components/parallelResourceBooking/components/bookingDetailModal/components/BookingOptions.js +0 -38
  244. package/es/components/parallelResourceBooking/components/bookingDetailModal/components/Resource.d.ts +0 -2
  245. package/es/components/parallelResourceBooking/components/bookingDetailModal/components/Resource.js +0 -33
  246. package/es/components/parallelResourceBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -2
  247. package/es/components/parallelResourceBooking/components/bookingDetailModal/components/Schedule.js +0 -30
  248. package/es/components/parallelResourceBooking/components/bookingDetailModal/index.d.ts +0 -7
  249. package/es/components/parallelResourceBooking/components/bookingDetailModal/index.js +0 -337
  250. package/es/components/parallelResourceBooking/components/bookingDetailModal/index.less +0 -82
  251. package/es/components/parallelResourceBooking/components/bookingServiceList/index.d.ts +0 -17
  252. package/es/components/parallelResourceBooking/components/bookingServiceList/index.js +0 -52
  253. package/es/components/parallelResourceBooking/components/bookingServiceList/index.less +0 -6
  254. package/es/components/parallelResourceBooking/components/eventCard/index.d.ts +0 -14
  255. package/es/components/parallelResourceBooking/components/eventCard/index.js +0 -116
  256. package/es/components/parallelResourceBooking/components/eventCard/index.less +0 -81
  257. package/es/components/parallelResourceBooking/components/productCard/index.d.ts +0 -16
  258. package/es/components/parallelResourceBooking/components/productCard/index.js +0 -79
  259. package/es/components/parallelResourceBooking/components/productCard/index.less +0 -60
  260. package/es/components/parallelResourceBooking/components/progressBar/index.d.ts +0 -16
  261. package/es/components/parallelResourceBooking/components/progressBar/index.js +0 -93
  262. package/es/components/parallelResourceBooking/components/progressBar/index.less +0 -15
  263. package/es/components/parallelResourceBooking/components/resourceDisplay/index.d.ts +0 -23
  264. package/es/components/parallelResourceBooking/components/resourceDisplay/index.js +0 -148
  265. package/es/components/parallelResourceBooking/components/resourceDisplay/index.less +0 -95
  266. package/es/components/parallelResourceBooking/components/resourceUsability/index.d.ts +0 -12
  267. package/es/components/parallelResourceBooking/components/resourceUsability/index.js +0 -44
  268. package/es/components/parallelResourceBooking/components/resourceUsability/index.less +0 -40
  269. package/es/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -9
  270. package/es/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.js +0 -37
  271. package/es/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.less +0 -58
  272. package/es/components/parallelResourceBooking/components/scheduleCalendar/calendarItem.d.ts +0 -11
  273. package/es/components/parallelResourceBooking/components/scheduleCalendar/calendarItem.js +0 -127
  274. package/es/components/parallelResourceBooking/components/scheduleCalendar/index.d.ts +0 -13
  275. package/es/components/parallelResourceBooking/components/scheduleCalendar/index.js +0 -142
  276. package/es/components/parallelResourceBooking/components/scheduleCalendar/index.less +0 -222
  277. package/es/components/parallelResourceBooking/components/selectHolder/index.d.ts +0 -22
  278. package/es/components/parallelResourceBooking/components/selectHolder/index.js +0 -118
  279. package/es/components/parallelResourceBooking/components/selectHolder/index.less +0 -70
  280. package/es/components/parallelResourceBooking/components/timeResourceSelector/index.d.ts +0 -20
  281. package/es/components/parallelResourceBooking/components/timeResourceSelector/index.js +0 -168
  282. package/es/components/parallelResourceBooking/components/timeResourceSelector/index.less +0 -74
  283. package/es/components/parallelResourceBooking/index.d.ts +0 -3
  284. package/es/components/parallelResourceBooking/index.js +0 -58
  285. package/es/components/parallelResourceBooking/index.less +0 -22
  286. package/es/components/parallelResourceBooking/locales.d.ts +0 -216
  287. package/es/components/parallelResourceBooking/locales.js +0 -251
  288. package/es/components/parallelResourceBooking/mock.d.ts +0 -627
  289. package/es/components/parallelResourceBooking/mock.js +0 -1172
  290. package/es/components/parallelResourceBooking/status.d.ts +0 -21
  291. package/es/components/parallelResourceBooking/status.js +0 -51
  292. package/es/components/parallelResourceBooking/type.d.ts +0 -17
  293. package/es/components/parallelResourceBooking/type.js +0 -1
  294. package/es/components/parallelResourceBooking/utils.d.ts +0 -45
  295. package/es/components/parallelResourceBooking/utils.js +0 -99
  296. package/lib/components/eventBooking/components/Provider/SelectProduct/index.d.ts +0 -4
  297. package/lib/components/eventBooking/components/Provider/SelectProduct/index.js +0 -69
  298. package/lib/components/eventBooking/components/Provider/SelectProduct/index.less +0 -131
  299. package/lib/components/parallelResourceBooking/assets/alert-circle.png +0 -0
  300. package/lib/components/parallelResourceBooking/assets/calendar-heart.svg +0 -5
  301. package/lib/components/parallelResourceBooking/assets/compass.svg +0 -13
  302. package/lib/components/parallelResourceBooking/assets/image.svg +0 -5
  303. package/lib/components/parallelResourceBooking/assets/phone.svg +0 -5
  304. package/lib/components/parallelResourceBooking/assets/shopping-cart.svg +0 -10
  305. package/lib/components/parallelResourceBooking/components/ErrorTip/index.d.ts +0 -3
  306. package/lib/components/parallelResourceBooking/components/ErrorTip/index.js +0 -30
  307. package/lib/components/parallelResourceBooking/components/ErrorTip/index.less +0 -51
  308. package/lib/components/parallelResourceBooking/components/OpenCard/index.d.ts +0 -4
  309. package/lib/components/parallelResourceBooking/components/OpenCard/index.js +0 -90
  310. package/lib/components/parallelResourceBooking/components/OpenCard/index.less +0 -52
  311. package/lib/components/parallelResourceBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -3
  312. package/lib/components/parallelResourceBooking/components/Provider/Cart/ContinueButton/index.js +0 -158
  313. package/lib/components/parallelResourceBooking/components/Provider/Cart/ContinueButton/index.less +0 -0
  314. package/lib/components/parallelResourceBooking/components/Provider/Cart/Item/Total.d.ts +0 -3
  315. package/lib/components/parallelResourceBooking/components/Provider/Cart/Item/Total.js +0 -82
  316. package/lib/components/parallelResourceBooking/components/Provider/Cart/Item/index.d.ts +0 -3
  317. package/lib/components/parallelResourceBooking/components/Provider/Cart/Item/index.js +0 -92
  318. package/lib/components/parallelResourceBooking/components/Provider/Cart/Item/index.less +0 -87
  319. package/lib/components/parallelResourceBooking/components/Provider/Cart/index.d.ts +0 -3
  320. package/lib/components/parallelResourceBooking/components/Provider/Cart/index.js +0 -59
  321. package/lib/components/parallelResourceBooking/components/Provider/Cart/index.less +0 -2
  322. package/lib/components/parallelResourceBooking/components/Provider/Content/index.d.ts +0 -3
  323. package/lib/components/parallelResourceBooking/components/Provider/Content/index.js +0 -90
  324. package/lib/components/parallelResourceBooking/components/Provider/Content/index.less +0 -31
  325. package/lib/components/parallelResourceBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -3
  326. package/lib/components/parallelResourceBooking/components/Provider/EmptyHolderModal/index.js +0 -60
  327. package/lib/components/parallelResourceBooking/components/Provider/EmptyHolderModal/index.less +0 -17
  328. package/lib/components/parallelResourceBooking/components/Provider/Event/index.d.ts +0 -3
  329. package/lib/components/parallelResourceBooking/components/Provider/Event/index.js +0 -100
  330. package/lib/components/parallelResourceBooking/components/Provider/Event/index.less +0 -20
  331. package/lib/components/parallelResourceBooking/components/Provider/Footer/index.d.ts +0 -3
  332. package/lib/components/parallelResourceBooking/components/Provider/Footer/index.js +0 -87
  333. package/lib/components/parallelResourceBooking/components/Provider/Footer/index.less +0 -64
  334. package/lib/components/parallelResourceBooking/components/Provider/Header/index.d.ts +0 -3
  335. package/lib/components/parallelResourceBooking/components/Provider/Header/index.js +0 -80
  336. package/lib/components/parallelResourceBooking/components/Provider/Header/index.less +0 -2
  337. package/lib/components/parallelResourceBooking/components/Provider/Information/index.d.ts +0 -3
  338. package/lib/components/parallelResourceBooking/components/Provider/Information/index.js +0 -151
  339. package/lib/components/parallelResourceBooking/components/Provider/Information/index.less +0 -92
  340. package/lib/components/parallelResourceBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -3
  341. package/lib/components/parallelResourceBooking/components/Provider/InformationOptionsModal/index.js +0 -67
  342. package/lib/components/parallelResourceBooking/components/Provider/InformationOptionsModal/index.less +0 -27
  343. package/lib/components/parallelResourceBooking/components/Provider/OrderProductModal/index.d.ts +0 -3
  344. package/lib/components/parallelResourceBooking/components/Provider/OrderProductModal/index.js +0 -57
  345. package/lib/components/parallelResourceBooking/components/Provider/OrderProductModal/index.less +0 -32
  346. package/lib/components/parallelResourceBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -2
  347. package/lib/components/parallelResourceBooking/components/Provider/RemoveOptionConfirmModal.js +0 -62
  348. package/lib/components/parallelResourceBooking/components/Provider/Resource/index.d.ts +0 -3
  349. package/lib/components/parallelResourceBooking/components/Provider/Resource/index.js +0 -90
  350. package/lib/components/parallelResourceBooking/components/Provider/Resource/index.less +0 -46
  351. package/lib/components/parallelResourceBooking/components/Provider/SelectHolderModal.d.ts +0 -2
  352. package/lib/components/parallelResourceBooking/components/Provider/SelectHolderModal.js +0 -97
  353. package/lib/components/parallelResourceBooking/components/Provider/SelectProduct/index.d.ts +0 -4
  354. package/lib/components/parallelResourceBooking/components/Provider/SelectProduct/index.js +0 -69
  355. package/lib/components/parallelResourceBooking/components/Provider/SelectProduct/index.less +0 -131
  356. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -3
  357. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.js +0 -55
  358. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.less +0 -25
  359. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -10
  360. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.js +0 -78
  361. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -32
  362. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -3
  363. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.js +0 -86
  364. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.less +0 -12
  365. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -12
  366. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.js +0 -121
  367. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.less +0 -35
  368. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -3
  369. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.js +0 -37
  370. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.less +0 -28
  371. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -4
  372. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.js +0 -58
  373. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -87
  374. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -3
  375. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.js +0 -55
  376. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.less +0 -25
  377. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.d.ts +0 -4
  378. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.js +0 -196
  379. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.less +0 -119
  380. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +0 -63
  381. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.js +0 -198
  382. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +0 -4
  383. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +0 -122
  384. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.less +0 -4
  385. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
  386. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.js +0 -70
  387. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.less +0 -2
  388. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
  389. package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/utils.js +0 -70
  390. package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -2
  391. package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/BookingOptions.js +0 -75
  392. package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/Resource.d.ts +0 -2
  393. package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/Resource.js +0 -66
  394. package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -2
  395. package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/Schedule.js +0 -69
  396. package/lib/components/parallelResourceBooking/components/bookingDetailModal/index.d.ts +0 -7
  397. package/lib/components/parallelResourceBooking/components/bookingDetailModal/index.js +0 -248
  398. package/lib/components/parallelResourceBooking/components/bookingDetailModal/index.less +0 -82
  399. package/lib/components/parallelResourceBooking/components/bookingServiceList/index.d.ts +0 -17
  400. package/lib/components/parallelResourceBooking/components/bookingServiceList/index.js +0 -79
  401. package/lib/components/parallelResourceBooking/components/bookingServiceList/index.less +0 -6
  402. package/lib/components/parallelResourceBooking/components/eventCard/index.d.ts +0 -14
  403. package/lib/components/parallelResourceBooking/components/eventCard/index.js +0 -124
  404. package/lib/components/parallelResourceBooking/components/eventCard/index.less +0 -81
  405. package/lib/components/parallelResourceBooking/components/productCard/index.d.ts +0 -16
  406. package/lib/components/parallelResourceBooking/components/productCard/index.js +0 -77
  407. package/lib/components/parallelResourceBooking/components/productCard/index.less +0 -60
  408. package/lib/components/parallelResourceBooking/components/progressBar/index.d.ts +0 -16
  409. package/lib/components/parallelResourceBooking/components/progressBar/index.js +0 -100
  410. package/lib/components/parallelResourceBooking/components/progressBar/index.less +0 -15
  411. package/lib/components/parallelResourceBooking/components/resourceDisplay/index.d.ts +0 -23
  412. package/lib/components/parallelResourceBooking/components/resourceDisplay/index.js +0 -116
  413. package/lib/components/parallelResourceBooking/components/resourceDisplay/index.less +0 -95
  414. package/lib/components/parallelResourceBooking/components/resourceUsability/index.d.ts +0 -12
  415. package/lib/components/parallelResourceBooking/components/resourceUsability/index.js +0 -76
  416. package/lib/components/parallelResourceBooking/components/resourceUsability/index.less +0 -40
  417. package/lib/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -9
  418. package/lib/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.js +0 -73
  419. package/lib/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.less +0 -58
  420. package/lib/components/parallelResourceBooking/components/scheduleCalendar/calendarItem.d.ts +0 -11
  421. package/lib/components/parallelResourceBooking/components/scheduleCalendar/calendarItem.js +0 -135
  422. package/lib/components/parallelResourceBooking/components/scheduleCalendar/index.d.ts +0 -13
  423. package/lib/components/parallelResourceBooking/components/scheduleCalendar/index.js +0 -125
  424. package/lib/components/parallelResourceBooking/components/scheduleCalendar/index.less +0 -222
  425. package/lib/components/parallelResourceBooking/components/selectHolder/index.d.ts +0 -22
  426. package/lib/components/parallelResourceBooking/components/selectHolder/index.js +0 -106
  427. package/lib/components/parallelResourceBooking/components/selectHolder/index.less +0 -70
  428. package/lib/components/parallelResourceBooking/components/timeResourceSelector/index.d.ts +0 -20
  429. package/lib/components/parallelResourceBooking/components/timeResourceSelector/index.js +0 -146
  430. package/lib/components/parallelResourceBooking/components/timeResourceSelector/index.less +0 -74
  431. package/lib/components/parallelResourceBooking/index.d.ts +0 -3
  432. package/lib/components/parallelResourceBooking/index.js +0 -78
  433. package/lib/components/parallelResourceBooking/index.less +0 -22
  434. package/lib/components/parallelResourceBooking/locales.d.ts +0 -216
  435. package/lib/components/parallelResourceBooking/locales.js +0 -239
  436. package/lib/components/parallelResourceBooking/mock.d.ts +0 -627
  437. package/lib/components/parallelResourceBooking/mock.js +0 -1352
  438. package/lib/components/parallelResourceBooking/status.d.ts +0 -21
  439. package/lib/components/parallelResourceBooking/status.js +0 -70
  440. package/lib/components/parallelResourceBooking/type.d.ts +0 -17
  441. package/lib/components/parallelResourceBooking/type.js +0 -17
  442. package/lib/components/parallelResourceBooking/utils.d.ts +0 -45
  443. package/lib/components/parallelResourceBooking/utils.js +0 -90
  444. package/lowcode/parallel-resource-booking/meta.ts +0 -69
@@ -1,10 +1 @@
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
+ export declare const Provider: any, Context: any;
@@ -1,10 +1 @@
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
+ export declare const Provider: any, Context: any;
@@ -162,10 +162,10 @@ export declare const getProductTotalPrice: (item: any) => number;
162
162
  export declare const getDuration: (duration: number | {
163
163
  type: string;
164
164
  value: number;
165
- }) => number | {
165
+ }) => number | "flexible" | {
166
166
  type: string;
167
167
  value: number;
168
- } | "flexible";
168
+ };
169
169
  export declare const isWalkIn: (customer_id?: number | string) => boolean;
170
170
  export declare const getIsEdit: (state: any) => boolean;
171
171
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.css';
3
2
  /**
4
3
  * @title: 自定义组件设置
@@ -9,7 +9,7 @@ import { PosProps } from './const';
9
9
  */
10
10
  declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
11
11
  className?: string | undefined;
12
- onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
12
+ onChange?: ((status: "page" | "success" | "fail" | "print" | "mark_tx_processed", params?: string | {
13
13
  [keys: string]: unknown;
14
14
  } | undefined, other?: any) => void) | undefined;
15
15
  onClose: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  declare const _default: ({ className, isMobile, onChange }: ActionProps) => JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  declare const _default: ({ onChange, className, isMobile }: ActionProps) => JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  /**
4
3
  * @title: 支付状态未知页面
@@ -11,7 +11,7 @@ import './device.less';
11
11
  declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, }: {
12
12
  api: PayProps['api'];
13
13
  className?: string | undefined;
14
- onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
14
+ onChange?: ((status: "page" | "success" | "fail" | "print" | "mark_tx_processed", params?: string | {
15
15
  [keys: string]: unknown;
16
16
  } | undefined, other?: any) => void) | undefined;
17
17
  onClose: () => void;
@@ -15,11 +15,11 @@ 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<"success" | "warn" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question">;
18
+ readonly statusRef: React.MutableRefObject<"loading" | "success" | "warn" | "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>;
22
- readonly eftposRef: React.MutableRefObject<"tyro" | "windcave" | "payo" | "stripe">;
22
+ readonly eftposRef: React.MutableRefObject<"stripe" | "payo" | "tyro" | "windcave">;
23
23
  readonly clientRef: React.MutableRefObject<ClientEnum>;
24
24
  readonly dataRef: React.MutableRefObject<import("./store").State>;
25
25
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PosProps } from './const';
3
2
  import './index.less';
4
3
  declare const _default: (props: PosProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PayProps } from './const';
3
2
  import './index.less';
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StatusEnum } from '../const';
3
2
  export declare const POS: ({ api, onChange, }: {
4
3
  api: {
@@ -174,7 +174,7 @@ export declare const updateCustom: (payload: {
174
174
  export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
175
175
  type: EActionTypes;
176
176
  payload: {
177
- status: "success" | "warn" | "loading" | "fail" | "question";
177
+ status: "loading" | "success" | "warn" | "fail" | "question";
178
178
  };
179
179
  };
180
180
  /**
@@ -295,10 +295,10 @@ export declare const backUpFree: (payload: Partial<State>) => {
295
295
  name?: string | undefined;
296
296
  symbol?: string | undefined;
297
297
  amount?: string | number | undefined;
298
- mode?: "refund" | "pay" | "fullPay" | "query" | undefined;
298
+ mode?: "pay" | "fullPay" | "refund" | "query" | undefined;
299
299
  order_id?: string | number | undefined;
300
- eftpos?: "tyro" | "windcave" | "payo" | "stripe" | undefined;
301
- action?: "amount" | "deviceList" | "pay" | undefined;
300
+ eftpos?: "stripe" | "payo" | "tyro" | "windcave" | undefined;
301
+ action?: "amount" | "pay" | "deviceList" | undefined;
302
302
  key?: number | undefined;
303
303
  step?: number | undefined;
304
304
  title?: string | undefined;
@@ -308,7 +308,7 @@ export declare const backUpFree: (payload: Partial<State>) => {
308
308
  net?: boolean | undefined;
309
309
  component?: string | undefined;
310
310
  form?: string | undefined;
311
- status?: "success" | "warn" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
311
+ status?: "loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
312
312
  warn?: string | undefined;
313
313
  steps?: {
314
314
  /** 用于重置当前步骤 */
@@ -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 Information: () => JSX.Element;
4
3
  export default Information;
@@ -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 EventBooking: () => JSX.Element;
4
3
  export default EventBooking;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ThreedsLoading: ({ title }: any) => JSX.Element;
4
3
  export default ThreedsLoading;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
3
2
  public_key: string;
4
3
  client_secret?: string | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  platform: 'pc' | 'h5' | '' | undefined;
4
3
  order: any;
@@ -25,11 +24,4 @@ export interface PayGroup {
25
24
  pay_number?: string;
26
25
  _order: any;
27
26
  }
28
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
29
- state: FormState;
30
- } & {
31
- dispatch: (params: {
32
- type: string;
33
- payload: any;
34
- }) => void;
35
- }>;
27
+ export declare const Provider: any, Context: any;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const PhoneField: ({ value, onChange }: any) => JSX.Element;
3
2
  export default PhoneField;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface RightPanelProps {
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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface ProductExtensionProps {
4
3
  onDataChange: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface RuleSettingProps {
4
3
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { ScheduleItem } from '../../../type';
4
3
  declare type Item = any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarDataItem, ScheduleItem } from "./type";
3
2
  import dayjs from "dayjs";
4
3
  export interface FormState {
@@ -69,11 +68,4 @@ export interface FormState {
69
68
  };
70
69
  setGlobalState: Function | null;
71
70
  }
72
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
73
- state: FormState;
74
- } & {
75
- dispatch: (params: {
76
- type: string;
77
- payload: any;
78
- }) => void;
79
- }>;
71
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const AddSchedules: ({ value, onChange, drawerContainer, isSelf }: any) => JSX.Element;
4
3
  export default AddSchedules;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type Value = number[];
4
3
  declare const SchedulesModule: ({ value, onChange, drawerContainer, ruleFn, tabKey, previewItemChange, isSelf, isTitle, }: {
@@ -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,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 { SelectProps } from "antd";
3
2
  import "./index.less";
4
3
  interface TaxSelectProps {
@@ -1,13 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- addWalletCard: any;
4
- }
5
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
- walletDetailState: RechargeState;
7
- } & {
8
- dispatch: (params: {
9
- type: string;
10
- payload: any;
11
- }) => void;
12
- }>;
13
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,14 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- total: number;
4
- setup?: 'menu' | 'list' | 'detail' | string;
5
- }
6
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
7
- state: RechargeState;
8
- } & {
9
- dispatch: (params: {
10
- type: string;
11
- payload: any;
12
- }) => void;
13
- }>;
14
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,13 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- total: number;
4
- }
5
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
- state: RechargeState;
7
- } & {
8
- dispatch: (params: {
9
- type: string;
10
- payload: any;
11
- }) => void;
12
- }>;
13
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,29 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- selectedGiftOptionId: string | null;
4
- cardList: Array<{
5
- id: string;
6
- name: string;
7
- price: number;
8
- }>;
9
- selectedItem: {
10
- id?: string;
11
- gift_price?: number;
12
- price?: number;
13
- name?: string;
14
- variant_id?: string;
15
- };
16
- productId?: string;
17
- detailId?: string;
18
- total: string | number;
19
- rechargeModalOpen: boolean;
20
- }
21
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
22
- state: RechargeState;
23
- } & {
24
- dispatch: (params: {
25
- type: string;
26
- payload: any;
27
- }) => void;
28
- }>;
29
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,13 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- total: 0;
4
- }
5
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
- state: RechargeState;
7
- } & {
8
- dispatch: (params: {
9
- type: string;
10
- payload: any;
11
- }) => void;
12
- }>;
13
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IWalletListItemProps } from './serve';
3
2
  export interface WalletCardItemProps {
4
3
  id: string;
@@ -27,11 +26,4 @@ export interface WalletListProps {
27
26
  currentSearchListItemCode?: string;
28
27
  [key: string]: any;
29
28
  }
30
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
31
- global_wallet: WalletListProps;
32
- } & {
33
- dispatch: (params: {
34
- type: string;
35
- payload: any;
36
- }) => void;
37
- }>;
29
+ export declare const Provider: any, Context: any;
@@ -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;
package/es/index.d.ts CHANGED
@@ -39,4 +39,3 @@ export { default as EventScheduleCalendar } from './components/eventBooking/comp
39
39
  export { default as EventBookingDetailModal } from './components/eventBooking/components/bookingDetailModal';
40
40
  export { default as EventProgressBar } from './components/eventBooking/components/progressBar';
41
41
  export { default as ShoppingCart } from './components/shoppingCart';
42
- export { default as ParallelResourceBooking } from './components/parallelResourceBooking';
package/es/index.js CHANGED
@@ -42,5 +42,4 @@ export { default as EventBookingAvailabilityCalendar } from "./components/eventB
42
42
  export { default as EventScheduleCalendar } from "./components/eventBooking/components/scheduleCalendar";
43
43
  export { default as EventBookingDetailModal } from "./components/eventBooking/components/bookingDetailModal";
44
44
  export { default as EventProgressBar } from "./components/eventBooking/components/progressBar";
45
- export { default as ShoppingCart } from "./components/shoppingCart";
46
- export { default as ParallelResourceBooking } from "./components/parallelResourceBooking";
45
+ export { default as ShoppingCart } from "./components/shoppingCart";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const SalesModel: ({ children, hooks, config }: any) => JSX.Element;
3
2
  export * from './Sales';
4
3
  export default SalesModel;
@@ -223,14 +223,15 @@ var Addons = (0, import_model.Provider)((props) => {
223
223
  },
224
224
  is_eject: isEject ? 1 : 0
225
225
  },
226
- callback: (e) => {
226
+ callback: (e, extension_type, detail) => {
227
227
  console.log("e", e);
228
+ const _detail = detail || item;
228
229
  let product = {
229
- ...item,
230
+ ..._detail,
230
231
  _id: (0, import_utils3.getUniqueId)(),
231
232
  _key: e.key,
232
233
  _extend: {
233
- price: item.price,
234
+ price: _detail.price,
234
235
  other: e,
235
236
  quantity: 1
236
237
  },
@@ -377,10 +378,11 @@ var Addons = (0, import_model.Provider)((props) => {
377
378
  },
378
379
  value: item._extend.other
379
380
  },
380
- callback: (e) => {
381
+ callback: (e, extension_type, detail) => {
381
382
  var _a2;
383
+ const _detail = detail || item;
382
384
  let product = {
383
- ...item,
385
+ ..._detail,
384
386
  _extend: {
385
387
  ...item._extend,
386
388
  other: e
@@ -1,10 +1 @@
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
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  /**
4
3
  * @title: 底部
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Deposit: (props: any) => JSX.Element;
3
2
  export default Deposit;
@@ -1,10 +1 @@
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
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface AddServiceVariantProps {
3
2
  globalState: any;
4
3
  setGlobalState: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const header: ({ state, dispatch }: any) => JSX.Element;
4
3
  export default header;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InfoProps } from './main';
3
2
  declare const APP: (props: InfoProps) => JSX.Element;
4
3
  export default APP;
@@ -1,14 +1,5 @@
1
- /// <reference types="react" />
2
- import { FormState } from '../model';
3
1
  export declare const walkInData: {
4
2
  id: number;
5
3
  nickname: string;
6
4
  };
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
- }>;
5
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellDrawerProps } from '../../../components/drawer';
3
2
  import './index.less';
4
3
  interface AddServiceProps {
@@ -245,9 +245,9 @@ var Info = (props) => {
245
245
  is_eject: isEject ? 1 : 0,
246
246
  customer_id: customerId
247
247
  },
248
- callback: async (e) => {
248
+ callback: async (e, extension_type, detail) => {
249
249
  const data = await createBookingData({
250
- product: { ...item, _params: e }
250
+ product: { ...detail || item, _params: e }
251
251
  });
252
252
  createBooking({ booking: data });
253
253
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const AddTimeModal: () => JSX.Element;
4
3
  export default AddTimeModal;
@@ -423,10 +423,11 @@ var Info = (_, ref) => {
423
423
  },
424
424
  customer_id: isDayBookingMode ? ((_h2 = (_g2 = state.client) == null ? void 0 : _g2.value) == null ? void 0 : _h2.id) || 1 : void 0
425
425
  },
426
- callback: (e2) => {
426
+ callback: async (e2, extension_type, detail) => {
427
427
  var _a3, _b3, _c3, _d3;
428
+ const _detail = detail || item;
428
429
  let cacheItem = {
429
- ...item,
430
+ ..._detail,
430
431
  product_id: item.id,
431
432
  _id: item == null ? void 0 : item._id,
432
433
  _key: e2.key,
@@ -237,4 +237,4 @@ export declare const updateAppointmentServicePrice: (state: any, { start_date, e
237
237
  * @Author: WangHan
238
238
  * @Date: 2024-12-24 11:32
239
239
  */
240
- export declare const updateServicePrice: (state: any) => Promise<any> | never[];
240
+ export declare const updateServicePrice: (state: any) => never[] | Promise<any>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellDrawerProps } from '../../../components/drawer';
3
2
  import '../../../info/service/addService/index.less';
4
3
  interface AddServiceProps {
@@ -202,15 +202,16 @@ var Info = (props) => {
202
202
  setTimeout(() => {
203
203
  lock = false;
204
204
  }, 2e3);
205
+ const _detail = detail || item;
205
206
  let cacheItem = {
206
- ...detail || item,
207
+ ..._detail,
207
208
  product_id: item.id,
208
209
  _id: (0, import_utils4.getUniqueId)(),
209
210
  _key: e.key,
210
211
  _extend: {
211
212
  start_date: state.date.value,
212
213
  quantity: 1,
213
- price: item.price,
214
+ price: _detail.price,
214
215
  product_name: item.title,
215
216
  other: JSON.parse(JSON.stringify(e))
216
217
  },