@pisell/private-materials 3.0.214 → 3.1.2

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 (647) 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 +146 -146
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +27 -12
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +33 -18
  11. package/es/components/booking/components/customSelect/index.d.ts +0 -1
  12. package/es/components/booking/components/customSelect/index.js +2 -6
  13. package/es/components/booking/components/footer/amount.js +22 -46
  14. package/es/components/booking/components/footer/index.js +79 -116
  15. package/es/components/booking/components/footer/serve.d.ts +0 -2
  16. package/es/components/booking/components/footer/serve.js +0 -44
  17. package/es/components/booking/components/footer/utils.js +68 -282
  18. package/es/components/booking/info/addServiceVariant/index.js +1 -8
  19. package/es/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +0 -1
  20. package/es/components/booking/info/clientVariant/vertical/SelectDrawer.js +13 -14
  21. package/es/components/booking/info/clientVariant/vertical/index.js +15 -131
  22. package/es/components/booking/info/main.js +28 -44
  23. package/es/components/booking/info/model.js +0 -3
  24. package/es/components/booking/info/pet/index.d.ts +1 -1
  25. package/es/components/booking/info/pet/index.js +35 -94
  26. package/es/components/booking/info/service/addService/index.js +104 -195
  27. package/es/components/booking/info/service/addService/index.less +3 -13
  28. package/es/components/booking/info/service/addService/utils.d.ts +2 -12
  29. package/es/components/booking/info/service/addService/utils.js +26 -103
  30. package/es/components/booking/info/service/editService/index.js +142 -450
  31. package/es/components/booking/info/service/editService/index.less +13 -18
  32. package/es/components/booking/info/service/serve.d.ts +0 -10
  33. package/es/components/booking/info/service/serve.js +0 -28
  34. package/es/components/booking/info/utils.d.ts +0 -20
  35. package/es/components/booking/info/utils.js +1 -38
  36. package/es/components/booking/info2/utilsByBooking.js +1 -0
  37. package/es/components/booking/locales.d.ts +0 -66
  38. package/es/components/booking/locales.js +3 -81
  39. package/es/components/booking/model.d.ts +1 -5
  40. package/es/components/booking/model.js +2 -4
  41. package/es/components/booking/utils.d.ts +3 -12
  42. package/es/components/booking/utils.js +26 -143
  43. package/es/components/eftpos/hooks.d.ts +4 -4
  44. package/es/components/eftposPay/amount.d.ts +1 -1
  45. package/es/components/eftposPay/component/step/index.d.ts +6 -6
  46. package/es/components/eftposPay/component/step/step.d.ts +4 -4
  47. package/es/components/eftposPay/device.d.ts +1 -1
  48. package/es/components/eftposPay/hooks.d.ts +2 -2
  49. package/es/components/eftposPay/tyro/hooks.d.ts +2 -2
  50. package/es/components/eftposPay/windcave/helper.d.ts +1 -1
  51. package/es/components/eftposPay/windcave/windcave.js +60 -27
  52. package/es/components/tabProduct/tabs/index.less +3 -13
  53. package/es/index.d.ts +0 -13
  54. package/es/index.js +1 -14
  55. package/lib/components/booking/components/customSelect/index.d.ts +0 -1
  56. package/lib/components/booking/components/customSelect/index.js +2 -6
  57. package/lib/components/booking/components/footer/amount.js +8 -27
  58. package/lib/components/booking/components/footer/index.js +55 -50
  59. package/lib/components/booking/components/footer/serve.d.ts +0 -2
  60. package/lib/components/booking/components/footer/serve.js +0 -12
  61. package/lib/components/booking/components/footer/utils.js +53 -167
  62. package/lib/components/booking/info/addServiceVariant/index.js +0 -5
  63. package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +0 -1
  64. package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.js +7 -8
  65. package/lib/components/booking/info/clientVariant/vertical/index.js +20 -97
  66. package/lib/components/booking/info/main.js +21 -32
  67. package/lib/components/booking/info/model.js +0 -3
  68. package/lib/components/booking/info/pet/index.d.ts +1 -1
  69. package/lib/components/booking/info/pet/index.js +44 -91
  70. package/lib/components/booking/info/service/addService/index.js +101 -132
  71. package/lib/components/booking/info/service/addService/index.less +3 -13
  72. package/lib/components/booking/info/service/addService/utils.d.ts +2 -12
  73. package/lib/components/booking/info/service/addService/utils.js +10 -58
  74. package/lib/components/booking/info/service/editService/index.js +197 -447
  75. package/lib/components/booking/info/service/editService/index.less +13 -18
  76. package/lib/components/booking/info/service/serve.d.ts +0 -10
  77. package/lib/components/booking/info/service/serve.js +2 -7
  78. package/lib/components/booking/info/utils.d.ts +0 -20
  79. package/lib/components/booking/info/utils.js +1 -42
  80. package/lib/components/booking/locales.d.ts +0 -66
  81. package/lib/components/booking/locales.js +3 -69
  82. package/lib/components/booking/model.d.ts +1 -5
  83. package/lib/components/booking/model.js +2 -4
  84. package/lib/components/booking/utils.d.ts +3 -12
  85. package/lib/components/booking/utils.js +18 -89
  86. package/lib/components/eftpos/hooks.d.ts +4 -4
  87. package/lib/components/eftposPay/amount.d.ts +1 -1
  88. package/lib/components/eftposPay/component/step/index.d.ts +6 -6
  89. package/lib/components/eftposPay/component/step/step.d.ts +4 -4
  90. package/lib/components/eftposPay/device.d.ts +1 -1
  91. package/lib/components/eftposPay/hooks.d.ts +2 -2
  92. package/lib/components/eftposPay/tyro/hooks.d.ts +2 -2
  93. package/lib/components/eftposPay/windcave/helper.d.ts +1 -1
  94. package/lib/components/eftposPay/windcave/windcave.js +28 -11
  95. package/lib/components/tabProduct/tabs/index.less +3 -13
  96. package/lib/index.d.ts +0 -13
  97. package/lib/index.js +0 -39
  98. package/package.json +4 -4
  99. package/es/businessModel/SalesModel/Sales/index.d.ts +0 -24
  100. package/es/businessModel/SalesModel/Sales/index.js +0 -69
  101. package/es/businessModel/SalesModel/hooks/index.d.ts +0 -1
  102. package/es/businessModel/SalesModel/hooks/index.js +0 -7
  103. package/es/businessModel/SalesModel/index.d.ts +0 -4
  104. package/es/businessModel/SalesModel/index.js +0 -18
  105. package/es/businessModel/index.d.ts +0 -0
  106. package/es/businessModel/index.js +0 -0
  107. package/es/components/Sales/Cart/index.d.ts +0 -53
  108. package/es/components/Sales/Cart/index.js +0 -591
  109. package/es/components/Sales/Cart/serve.d.ts +0 -2
  110. package/es/components/Sales/Cart/serve.js +0 -11
  111. package/es/components/Sales/Cart/types.d.ts +0 -19
  112. package/es/components/Sales/Cart/types.js +0 -1
  113. package/es/components/Sales/Checkout/index.d.ts +0 -33
  114. package/es/components/Sales/Checkout/index.js +0 -149
  115. package/es/components/Sales/Checkout/serve.d.ts +0 -2
  116. package/es/components/Sales/Checkout/serve.js +0 -11
  117. package/es/components/Sales/Checkout/utils.d.ts +0 -27
  118. package/es/components/Sales/Checkout/utils.js +0 -104
  119. package/es/components/Sales/Customer/index.d.ts +0 -24
  120. package/es/components/Sales/Customer/index.js +0 -56
  121. package/es/components/Sales/Event/Detail.d.ts +0 -27
  122. package/es/components/Sales/Event/Detail.js +0 -244
  123. package/es/components/Sales/Event/index.d.ts +0 -30
  124. package/es/components/Sales/Event/index.js +0 -121
  125. package/es/components/Sales/Event/serve.d.ts +0 -26
  126. package/es/components/Sales/Event/serve.js +0 -33
  127. package/es/components/Sales/Holder/index.d.ts +0 -33
  128. package/es/components/Sales/Holder/index.js +0 -226
  129. package/es/components/Sales/Holder/serve.d.ts +0 -8
  130. package/es/components/Sales/Holder/serve.js +0 -20
  131. package/es/components/Sales/Init/index.d.ts +0 -24
  132. package/es/components/Sales/Init/index.js +0 -114
  133. package/es/components/Sales/Init/serve.d.ts +0 -3
  134. package/es/components/Sales/Init/serve.js +0 -11
  135. package/es/components/Sales/Resource/index.d.ts +0 -26
  136. package/es/components/Sales/Resource/index.js +0 -126
  137. package/es/components/Sales/Resource/serve.d.ts +0 -5
  138. package/es/components/Sales/Resource/serve.js +0 -8
  139. package/es/components/Sales/Step/index.d.ts +0 -37
  140. package/es/components/Sales/Step/index.js +0 -189
  141. package/es/components/Sales/Summary/index.d.ts +0 -25
  142. package/es/components/Sales/Summary/index.js +0 -47
  143. package/es/components/Sales/Summary/serve.d.ts +0 -0
  144. package/es/components/Sales/Summary/serve.js +0 -0
  145. package/es/components/Sales/Summary/utils.d.ts +0 -36
  146. package/es/components/Sales/Summary/utils.js +0 -63
  147. package/es/components/Sales/hooks/index.d.ts +0 -1
  148. package/es/components/Sales/hooks/index.js +0 -3
  149. package/es/components/Sales/index.d.ts +0 -20
  150. package/es/components/Sales/index.js +0 -26
  151. package/es/components/Sales/utils/index.d.ts +0 -1
  152. package/es/components/Sales/utils/index.js +0 -18
  153. package/es/components/booking/components/footer/AppointmentProductModal/index.d.ts +0 -3
  154. package/es/components/booking/components/footer/AppointmentProductModal/index.js +0 -38
  155. package/es/components/booking/components/footer/AppointmentProductModal/index.less +0 -0
  156. package/es/components/booking/info/Provider.d.ts +0 -0
  157. package/es/components/booking/info/Provider.js +0 -54
  158. package/es/components/booking/info/dateRange/index.d.ts +0 -5
  159. package/es/components/booking/info/dateRange/index.js +0 -98
  160. package/es/components/booking/info/dateRange/index.less +0 -21
  161. package/es/components/booking/info/pet/ChangePetModal/index.d.ts +0 -4
  162. package/es/components/booking/info/pet/ChangePetModal/index.js +0 -134
  163. package/es/components/booking/info/pet/ChangePetModal/index.less +0 -4
  164. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -5
  165. package/es/components/booking/info/service/editService/BookingList/index.js +0 -39
  166. package/es/components/booking/info/service/editService/EditTabs/index.d.ts +0 -3
  167. package/es/components/booking/info/service/editService/EditTabs/index.js +0 -35
  168. package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +0 -11
  169. package/es/components/booking/info/service/serviceManager/distributeDiscount.js +0 -55
  170. package/es/components/booking/info/service/serviceManager/index.d.ts +0 -20
  171. package/es/components/booking/info/service/serviceManager/index.js +0 -281
  172. package/es/components/booking/info/service/serviceManager/utils.d.ts +0 -0
  173. package/es/components/booking/info/service/serviceManager/utils.js +0 -0
  174. package/es/components/booking/info/service2/Group/utils.d.ts +0 -14
  175. package/es/components/booking/info/service2/Group/utils.js +0 -146
  176. package/es/components/booking/info/service2/Lists.d.ts +0 -3
  177. package/es/components/booking/info/service2/Lists.js +0 -153
  178. package/es/components/booking/info/service2/hooks/useSelectPet.d.ts +0 -6
  179. package/es/components/booking/info/service2/hooks/useSelectPet.js +0 -54
  180. package/es/components/booking/info/service2/index.d.ts +0 -6
  181. package/es/components/booking/info/service2/index.js +0 -57
  182. package/es/components/booking/info/service2/status.d.ts +0 -31
  183. package/es/components/booking/info/service2/status.js +0 -78
  184. package/es/components/booking/info/service2/utils.d.ts +0 -240
  185. package/es/components/booking/info/service2/utils.js +0 -1077
  186. package/es/components/booking/materiels/holder/index.d.ts +0 -7
  187. package/es/components/booking/materiels/holder/index.js +0 -51
  188. package/es/components/eventBooking/assets/alert-circle.png +0 -0
  189. package/es/components/eventBooking/assets/calendar-heart.svg +0 -5
  190. package/es/components/eventBooking/assets/compass.svg +0 -13
  191. package/es/components/eventBooking/assets/image.svg +0 -5
  192. package/es/components/eventBooking/assets/phone.svg +0 -5
  193. package/es/components/eventBooking/assets/shopping-cart.svg +0 -10
  194. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -4
  195. package/es/components/eventBooking/components/ErrorTip/index.js +0 -14
  196. package/es/components/eventBooking/components/ErrorTip/index.less +0 -51
  197. package/es/components/eventBooking/components/OpenCard/index.d.ts +0 -4
  198. package/es/components/eventBooking/components/OpenCard/index.js +0 -65
  199. package/es/components/eventBooking/components/OpenCard/index.less +0 -52
  200. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -4
  201. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +0 -274
  202. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.less +0 -0
  203. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -4
  204. package/es/components/eventBooking/components/Provider/Cart/Item/Total.js +0 -46
  205. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -4
  206. package/es/components/eventBooking/components/Provider/Cart/Item/index.js +0 -63
  207. package/es/components/eventBooking/components/Provider/Cart/Item/index.less +0 -87
  208. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -4
  209. package/es/components/eventBooking/components/Provider/Cart/index.js +0 -30
  210. package/es/components/eventBooking/components/Provider/Cart/index.less +0 -2
  211. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -4
  212. package/es/components/eventBooking/components/Provider/Content/index.js +0 -65
  213. package/es/components/eventBooking/components/Provider/Content/index.less +0 -31
  214. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -4
  215. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.js +0 -34
  216. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.less +0 -17
  217. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -4
  218. package/es/components/eventBooking/components/Provider/Event/index.js +0 -93
  219. package/es/components/eventBooking/components/Provider/Event/index.less +0 -20
  220. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -4
  221. package/es/components/eventBooking/components/Provider/Footer/index.js +0 -76
  222. package/es/components/eventBooking/components/Provider/Footer/index.less +0 -64
  223. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -4
  224. package/es/components/eventBooking/components/Provider/Header/index.js +0 -75
  225. package/es/components/eventBooking/components/Provider/Header/index.less +0 -2
  226. package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -4
  227. package/es/components/eventBooking/components/Provider/Information/index.js +0 -178
  228. package/es/components/eventBooking/components/Provider/Information/index.less +0 -92
  229. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -4
  230. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.js +0 -34
  231. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.less +0 -27
  232. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -4
  233. package/es/components/eventBooking/components/Provider/OrderProductModal/index.js +0 -27
  234. package/es/components/eventBooking/components/Provider/OrderProductModal/index.less +0 -32
  235. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -3
  236. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.js +0 -31
  237. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -4
  238. package/es/components/eventBooking/components/Provider/Resource/index.js +0 -79
  239. package/es/components/eventBooking/components/Provider/Resource/index.less +0 -46
  240. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -3
  241. package/es/components/eventBooking/components/Provider/SelectHolderModal.js +0 -90
  242. package/es/components/eventBooking/components/Provider/SelectProduct/index.d.ts +0 -4
  243. package/es/components/eventBooking/components/Provider/SelectProduct/index.js +0 -77
  244. package/es/components/eventBooking/components/Provider/SelectProduct/index.less +0 -131
  245. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -4
  246. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.js +0 -26
  247. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.less +0 -25
  248. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -11
  249. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.js +0 -65
  250. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -32
  251. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -4
  252. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.js +0 -69
  253. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.less +0 -12
  254. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -13
  255. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.js +0 -152
  256. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.less +0 -35
  257. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -4
  258. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.js +0 -20
  259. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.less +0 -28
  260. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -5
  261. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.js +0 -38
  262. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -87
  263. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -4
  264. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.js +0 -28
  265. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.less +0 -25
  266. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.d.ts +0 -4
  267. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.js +0 -269
  268. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.less +0 -119
  269. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +0 -63
  270. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.js +0 -257
  271. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +0 -4
  272. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +0 -174
  273. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.less +0 -4
  274. package/es/components/eventBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
  275. package/es/components/eventBooking/components/bookingAvailabilityCalendar/index.js +0 -36
  276. package/es/components/eventBooking/components/bookingAvailabilityCalendar/index.less +0 -2
  277. package/es/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
  278. package/es/components/eventBooking/components/bookingAvailabilityCalendar/utils.js +0 -70
  279. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -3
  280. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.js +0 -38
  281. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -3
  282. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.js +0 -33
  283. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -3
  284. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.js +0 -30
  285. package/es/components/eventBooking/components/bookingDetailModal/index.d.ts +0 -7
  286. package/es/components/eventBooking/components/bookingDetailModal/index.js +0 -355
  287. package/es/components/eventBooking/components/bookingDetailModal/index.less +0 -83
  288. package/es/components/eventBooking/components/bookingServiceList/index.d.ts +0 -17
  289. package/es/components/eventBooking/components/bookingServiceList/index.js +0 -52
  290. package/es/components/eventBooking/components/bookingServiceList/index.less +0 -6
  291. package/es/components/eventBooking/components/eventCard/index.d.ts +0 -14
  292. package/es/components/eventBooking/components/eventCard/index.js +0 -116
  293. package/es/components/eventBooking/components/eventCard/index.less +0 -81
  294. package/es/components/eventBooking/components/productCard/index.d.ts +0 -16
  295. package/es/components/eventBooking/components/productCard/index.js +0 -79
  296. package/es/components/eventBooking/components/productCard/index.less +0 -60
  297. package/es/components/eventBooking/components/progressBar/index.d.ts +0 -16
  298. package/es/components/eventBooking/components/progressBar/index.js +0 -93
  299. package/es/components/eventBooking/components/progressBar/index.less +0 -15
  300. package/es/components/eventBooking/components/resourceDisplay/index.d.ts +0 -23
  301. package/es/components/eventBooking/components/resourceDisplay/index.js +0 -148
  302. package/es/components/eventBooking/components/resourceDisplay/index.less +0 -95
  303. package/es/components/eventBooking/components/resourceUsability/index.d.ts +0 -12
  304. package/es/components/eventBooking/components/resourceUsability/index.js +0 -44
  305. package/es/components/eventBooking/components/resourceUsability/index.less +0 -40
  306. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -10
  307. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.js +0 -37
  308. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.less +0 -58
  309. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -12
  310. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.js +0 -127
  311. package/es/components/eventBooking/components/scheduleCalendar/index.d.ts +0 -13
  312. package/es/components/eventBooking/components/scheduleCalendar/index.js +0 -142
  313. package/es/components/eventBooking/components/scheduleCalendar/index.less +0 -222
  314. package/es/components/eventBooking/components/selectHolder/index.d.ts +0 -22
  315. package/es/components/eventBooking/components/selectHolder/index.js +0 -118
  316. package/es/components/eventBooking/components/selectHolder/index.less +0 -70
  317. package/es/components/eventBooking/components/timeResourceSelector/index.d.ts +0 -20
  318. package/es/components/eventBooking/components/timeResourceSelector/index.js +0 -168
  319. package/es/components/eventBooking/components/timeResourceSelector/index.less +0 -74
  320. package/es/components/eventBooking/index.d.ts +0 -4
  321. package/es/components/eventBooking/index.js +0 -58
  322. package/es/components/eventBooking/index.less +0 -22
  323. package/es/components/eventBooking/locales.d.ts +0 -216
  324. package/es/components/eventBooking/locales.js +0 -251
  325. package/es/components/eventBooking/mock.d.ts +0 -627
  326. package/es/components/eventBooking/mock.js +0 -1172
  327. package/es/components/eventBooking/status.d.ts +0 -21
  328. package/es/components/eventBooking/status.js +0 -51
  329. package/es/components/eventBooking/type.d.ts +0 -17
  330. package/es/components/eventBooking/type.js +0 -1
  331. package/es/components/eventBooking/utils.d.ts +0 -45
  332. package/es/components/eventBooking/utils.js +0 -99
  333. package/es/components/shoppingCart/Provider.d.ts +0 -3
  334. package/es/components/shoppingCart/Provider.js +0 -86
  335. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -4
  336. package/es/components/shoppingCart/components/Cart/Product.js +0 -71
  337. package/es/components/shoppingCart/components/Cart/index.d.ts +0 -4
  338. package/es/components/shoppingCart/components/Cart/index.js +0 -73
  339. package/es/components/shoppingCart/components/Cart/index.less +0 -68
  340. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -4
  341. package/es/components/shoppingCart/components/Empty/index.js +0 -15
  342. package/es/components/shoppingCart/components/Empty/index.less +0 -19
  343. package/es/components/shoppingCart/components/Render/index.d.ts +0 -4
  344. package/es/components/shoppingCart/components/Render/index.js +0 -70
  345. package/es/components/shoppingCart/components/Render/index.less +0 -2
  346. package/es/components/shoppingCart/components/SelectHolderModal/index.d.ts +0 -4
  347. package/es/components/shoppingCart/components/SelectHolderModal/index.js +0 -132
  348. package/es/components/shoppingCart/components/SelectHolderModal/index.less +0 -32
  349. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -3
  350. package/es/components/shoppingCart/hooks/useAddService.js +0 -23
  351. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -3
  352. package/es/components/shoppingCart/hooks/useClearCart.js +0 -60
  353. package/es/components/shoppingCart/hooks/useContext.d.ts +0 -1
  354. package/es/components/shoppingCart/hooks/useContext.js +0 -5
  355. package/es/components/shoppingCart/index.d.ts +0 -4
  356. package/es/components/shoppingCart/index.js +0 -24
  357. package/es/components/shoppingCart/locales.d.ts +0 -33
  358. package/es/components/shoppingCart/locales.js +0 -38
  359. package/es/components/shoppingCart/mock.d.ts +0 -40
  360. package/es/components/shoppingCart/mock.js +0 -40
  361. package/es/components/shoppingCart/status.d.ts +0 -2
  362. package/es/components/shoppingCart/status.js +0 -22
  363. package/es/components/shoppingCart/type.d.ts +0 -40
  364. package/es/components/shoppingCart/type.js +0 -1
  365. package/es/components/shoppingCart/utils.d.ts +0 -63
  366. package/es/components/shoppingCart/utils.js +0 -116
  367. package/lib/businessModel/SalesModel/Sales/index.d.ts +0 -24
  368. package/lib/businessModel/SalesModel/Sales/index.js +0 -104
  369. package/lib/businessModel/SalesModel/hooks/index.d.ts +0 -1
  370. package/lib/businessModel/SalesModel/hooks/index.js +0 -34
  371. package/lib/businessModel/SalesModel/index.d.ts +0 -4
  372. package/lib/businessModel/SalesModel/index.js +0 -51
  373. package/lib/businessModel/index.d.ts +0 -0
  374. package/lib/businessModel/index.js +0 -0
  375. package/lib/components/Sales/Cart/index.d.ts +0 -53
  376. package/lib/components/Sales/Cart/index.js +0 -500
  377. package/lib/components/Sales/Cart/serve.d.ts +0 -2
  378. package/lib/components/Sales/Cart/serve.js +0 -37
  379. package/lib/components/Sales/Cart/types.d.ts +0 -19
  380. package/lib/components/Sales/Cart/types.js +0 -17
  381. package/lib/components/Sales/Checkout/index.d.ts +0 -33
  382. package/lib/components/Sales/Checkout/index.js +0 -130
  383. package/lib/components/Sales/Checkout/serve.d.ts +0 -2
  384. package/lib/components/Sales/Checkout/serve.js +0 -37
  385. package/lib/components/Sales/Checkout/utils.d.ts +0 -27
  386. package/lib/components/Sales/Checkout/utils.js +0 -88
  387. package/lib/components/Sales/Customer/index.d.ts +0 -24
  388. package/lib/components/Sales/Customer/index.js +0 -90
  389. package/lib/components/Sales/Event/Detail.d.ts +0 -27
  390. package/lib/components/Sales/Event/Detail.js +0 -224
  391. package/lib/components/Sales/Event/index.d.ts +0 -30
  392. package/lib/components/Sales/Event/index.js +0 -136
  393. package/lib/components/Sales/Event/serve.d.ts +0 -26
  394. package/lib/components/Sales/Event/serve.js +0 -54
  395. package/lib/components/Sales/Holder/index.d.ts +0 -33
  396. package/lib/components/Sales/Holder/index.js +0 -210
  397. package/lib/components/Sales/Holder/serve.d.ts +0 -8
  398. package/lib/components/Sales/Holder/serve.js +0 -37
  399. package/lib/components/Sales/Init/index.d.ts +0 -24
  400. package/lib/components/Sales/Init/index.js +0 -128
  401. package/lib/components/Sales/Init/serve.d.ts +0 -3
  402. package/lib/components/Sales/Init/serve.js +0 -34
  403. package/lib/components/Sales/Resource/index.d.ts +0 -26
  404. package/lib/components/Sales/Resource/index.js +0 -133
  405. package/lib/components/Sales/Resource/serve.d.ts +0 -5
  406. package/lib/components/Sales/Resource/serve.js +0 -32
  407. package/lib/components/Sales/Step/index.d.ts +0 -37
  408. package/lib/components/Sales/Step/index.js +0 -170
  409. package/lib/components/Sales/Summary/index.d.ts +0 -25
  410. package/lib/components/Sales/Summary/index.js +0 -83
  411. package/lib/components/Sales/Summary/serve.d.ts +0 -0
  412. package/lib/components/Sales/Summary/serve.js +0 -0
  413. package/lib/components/Sales/Summary/utils.d.ts +0 -36
  414. package/lib/components/Sales/Summary/utils.js +0 -80
  415. package/lib/components/Sales/hooks/index.d.ts +0 -1
  416. package/lib/components/Sales/hooks/index.js +0 -31
  417. package/lib/components/Sales/index.d.ts +0 -20
  418. package/lib/components/Sales/index.js +0 -79
  419. package/lib/components/Sales/utils/index.d.ts +0 -1
  420. package/lib/components/Sales/utils/index.js +0 -43
  421. package/lib/components/booking/components/footer/AppointmentProductModal/index.d.ts +0 -3
  422. package/lib/components/booking/components/footer/AppointmentProductModal/index.js +0 -60
  423. package/lib/components/booking/components/footer/AppointmentProductModal/index.less +0 -0
  424. package/lib/components/booking/info/Provider.d.ts +0 -0
  425. package/lib/components/booking/info/Provider.js +0 -0
  426. package/lib/components/booking/info/dateRange/index.d.ts +0 -5
  427. package/lib/components/booking/info/dateRange/index.js +0 -111
  428. package/lib/components/booking/info/dateRange/index.less +0 -21
  429. package/lib/components/booking/info/pet/ChangePetModal/index.d.ts +0 -4
  430. package/lib/components/booking/info/pet/ChangePetModal/index.js +0 -121
  431. package/lib/components/booking/info/pet/ChangePetModal/index.less +0 -4
  432. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -5
  433. package/lib/components/booking/info/service/editService/BookingList/index.js +0 -55
  434. package/lib/components/booking/info/service/editService/EditTabs/index.d.ts +0 -3
  435. package/lib/components/booking/info/service/editService/EditTabs/index.js +0 -75
  436. package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +0 -11
  437. package/lib/components/booking/info/service/serviceManager/distributeDiscount.js +0 -70
  438. package/lib/components/booking/info/service/serviceManager/index.d.ts +0 -20
  439. package/lib/components/booking/info/service/serviceManager/index.js +0 -211
  440. package/lib/components/booking/info/service/serviceManager/utils.d.ts +0 -0
  441. package/lib/components/booking/info/service/serviceManager/utils.js +0 -0
  442. package/lib/components/booking/info/service2/Group/utils.d.ts +0 -14
  443. package/lib/components/booking/info/service2/Group/utils.js +0 -142
  444. package/lib/components/booking/info/service2/Lists.d.ts +0 -3
  445. package/lib/components/booking/info/service2/Lists.js +0 -116
  446. package/lib/components/booking/info/service2/hooks/useSelectPet.d.ts +0 -6
  447. package/lib/components/booking/info/service2/hooks/useSelectPet.js +0 -50
  448. package/lib/components/booking/info/service2/index.d.ts +0 -6
  449. package/lib/components/booking/info/service2/index.js +0 -75
  450. package/lib/components/booking/info/service2/status.d.ts +0 -31
  451. package/lib/components/booking/info/service2/status.js +0 -81
  452. package/lib/components/booking/info/service2/utils.d.ts +0 -240
  453. package/lib/components/booking/info/service2/utils.js +0 -695
  454. package/lib/components/booking/materiels/holder/index.d.ts +0 -7
  455. package/lib/components/booking/materiels/holder/index.js +0 -65
  456. package/lib/components/eventBooking/assets/alert-circle.png +0 -0
  457. package/lib/components/eventBooking/assets/calendar-heart.svg +0 -5
  458. package/lib/components/eventBooking/assets/compass.svg +0 -13
  459. package/lib/components/eventBooking/assets/image.svg +0 -5
  460. package/lib/components/eventBooking/assets/phone.svg +0 -5
  461. package/lib/components/eventBooking/assets/shopping-cart.svg +0 -10
  462. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -4
  463. package/lib/components/eventBooking/components/ErrorTip/index.js +0 -30
  464. package/lib/components/eventBooking/components/ErrorTip/index.less +0 -51
  465. package/lib/components/eventBooking/components/OpenCard/index.d.ts +0 -4
  466. package/lib/components/eventBooking/components/OpenCard/index.js +0 -90
  467. package/lib/components/eventBooking/components/OpenCard/index.less +0 -52
  468. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -4
  469. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +0 -159
  470. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.less +0 -0
  471. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -4
  472. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.js +0 -82
  473. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -4
  474. package/lib/components/eventBooking/components/Provider/Cart/Item/index.js +0 -92
  475. package/lib/components/eventBooking/components/Provider/Cart/Item/index.less +0 -87
  476. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -4
  477. package/lib/components/eventBooking/components/Provider/Cart/index.js +0 -59
  478. package/lib/components/eventBooking/components/Provider/Cart/index.less +0 -2
  479. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -4
  480. package/lib/components/eventBooking/components/Provider/Content/index.js +0 -91
  481. package/lib/components/eventBooking/components/Provider/Content/index.less +0 -31
  482. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -4
  483. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.js +0 -60
  484. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.less +0 -17
  485. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -4
  486. package/lib/components/eventBooking/components/Provider/Event/index.js +0 -101
  487. package/lib/components/eventBooking/components/Provider/Event/index.less +0 -20
  488. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -4
  489. package/lib/components/eventBooking/components/Provider/Footer/index.js +0 -87
  490. package/lib/components/eventBooking/components/Provider/Footer/index.less +0 -64
  491. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -4
  492. package/lib/components/eventBooking/components/Provider/Header/index.js +0 -80
  493. package/lib/components/eventBooking/components/Provider/Header/index.less +0 -2
  494. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -4
  495. package/lib/components/eventBooking/components/Provider/Information/index.js +0 -151
  496. package/lib/components/eventBooking/components/Provider/Information/index.less +0 -92
  497. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -4
  498. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.js +0 -67
  499. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.less +0 -27
  500. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -4
  501. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.js +0 -57
  502. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.less +0 -32
  503. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -3
  504. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.js +0 -62
  505. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -4
  506. package/lib/components/eventBooking/components/Provider/Resource/index.js +0 -90
  507. package/lib/components/eventBooking/components/Provider/Resource/index.less +0 -46
  508. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -3
  509. package/lib/components/eventBooking/components/Provider/SelectHolderModal.js +0 -97
  510. package/lib/components/eventBooking/components/Provider/SelectProduct/index.d.ts +0 -4
  511. package/lib/components/eventBooking/components/Provider/SelectProduct/index.js +0 -69
  512. package/lib/components/eventBooking/components/Provider/SelectProduct/index.less +0 -131
  513. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -4
  514. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.js +0 -55
  515. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.less +0 -25
  516. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -11
  517. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.js +0 -78
  518. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -32
  519. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -4
  520. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.js +0 -86
  521. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.less +0 -12
  522. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -13
  523. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.js +0 -121
  524. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.less +0 -35
  525. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -4
  526. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.js +0 -37
  527. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.less +0 -28
  528. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -5
  529. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.js +0 -58
  530. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -87
  531. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -4
  532. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.js +0 -55
  533. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.less +0 -25
  534. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.d.ts +0 -4
  535. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.js +0 -198
  536. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.less +0 -119
  537. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +0 -63
  538. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.js +0 -198
  539. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +0 -4
  540. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +0 -122
  541. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.less +0 -4
  542. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
  543. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/index.js +0 -70
  544. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/index.less +0 -2
  545. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
  546. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/utils.js +0 -71
  547. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -3
  548. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.js +0 -75
  549. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -3
  550. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.js +0 -66
  551. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -3
  552. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.js +0 -70
  553. package/lib/components/eventBooking/components/bookingDetailModal/index.d.ts +0 -7
  554. package/lib/components/eventBooking/components/bookingDetailModal/index.js +0 -272
  555. package/lib/components/eventBooking/components/bookingDetailModal/index.less +0 -83
  556. package/lib/components/eventBooking/components/bookingServiceList/index.d.ts +0 -17
  557. package/lib/components/eventBooking/components/bookingServiceList/index.js +0 -79
  558. package/lib/components/eventBooking/components/bookingServiceList/index.less +0 -6
  559. package/lib/components/eventBooking/components/eventCard/index.d.ts +0 -14
  560. package/lib/components/eventBooking/components/eventCard/index.js +0 -124
  561. package/lib/components/eventBooking/components/eventCard/index.less +0 -81
  562. package/lib/components/eventBooking/components/productCard/index.d.ts +0 -16
  563. package/lib/components/eventBooking/components/productCard/index.js +0 -78
  564. package/lib/components/eventBooking/components/productCard/index.less +0 -60
  565. package/lib/components/eventBooking/components/progressBar/index.d.ts +0 -16
  566. package/lib/components/eventBooking/components/progressBar/index.js +0 -100
  567. package/lib/components/eventBooking/components/progressBar/index.less +0 -15
  568. package/lib/components/eventBooking/components/resourceDisplay/index.d.ts +0 -23
  569. package/lib/components/eventBooking/components/resourceDisplay/index.js +0 -117
  570. package/lib/components/eventBooking/components/resourceDisplay/index.less +0 -95
  571. package/lib/components/eventBooking/components/resourceUsability/index.d.ts +0 -12
  572. package/lib/components/eventBooking/components/resourceUsability/index.js +0 -76
  573. package/lib/components/eventBooking/components/resourceUsability/index.less +0 -40
  574. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -10
  575. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.js +0 -73
  576. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.less +0 -58
  577. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -12
  578. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.js +0 -135
  579. package/lib/components/eventBooking/components/scheduleCalendar/index.d.ts +0 -13
  580. package/lib/components/eventBooking/components/scheduleCalendar/index.js +0 -125
  581. package/lib/components/eventBooking/components/scheduleCalendar/index.less +0 -222
  582. package/lib/components/eventBooking/components/selectHolder/index.d.ts +0 -22
  583. package/lib/components/eventBooking/components/selectHolder/index.js +0 -106
  584. package/lib/components/eventBooking/components/selectHolder/index.less +0 -70
  585. package/lib/components/eventBooking/components/timeResourceSelector/index.d.ts +0 -20
  586. package/lib/components/eventBooking/components/timeResourceSelector/index.js +0 -146
  587. package/lib/components/eventBooking/components/timeResourceSelector/index.less +0 -74
  588. package/lib/components/eventBooking/index.d.ts +0 -4
  589. package/lib/components/eventBooking/index.js +0 -79
  590. package/lib/components/eventBooking/index.less +0 -22
  591. package/lib/components/eventBooking/locales.d.ts +0 -216
  592. package/lib/components/eventBooking/locales.js +0 -239
  593. package/lib/components/eventBooking/mock.d.ts +0 -627
  594. package/lib/components/eventBooking/mock.js +0 -1352
  595. package/lib/components/eventBooking/status.d.ts +0 -21
  596. package/lib/components/eventBooking/status.js +0 -70
  597. package/lib/components/eventBooking/type.d.ts +0 -17
  598. package/lib/components/eventBooking/type.js +0 -17
  599. package/lib/components/eventBooking/utils.d.ts +0 -45
  600. package/lib/components/eventBooking/utils.js +0 -90
  601. package/lib/components/shoppingCart/Provider.d.ts +0 -3
  602. package/lib/components/shoppingCart/Provider.js +0 -110
  603. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -4
  604. package/lib/components/shoppingCart/components/Cart/Product.js +0 -73
  605. package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -4
  606. package/lib/components/shoppingCart/components/Cart/index.js +0 -85
  607. package/lib/components/shoppingCart/components/Cart/index.less +0 -68
  608. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -4
  609. package/lib/components/shoppingCart/components/Empty/index.js +0 -43
  610. package/lib/components/shoppingCart/components/Empty/index.less +0 -19
  611. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -4
  612. package/lib/components/shoppingCart/components/Render/index.js +0 -75
  613. package/lib/components/shoppingCart/components/Render/index.less +0 -2
  614. package/lib/components/shoppingCart/components/SelectHolderModal/index.d.ts +0 -4
  615. package/lib/components/shoppingCart/components/SelectHolderModal/index.js +0 -124
  616. package/lib/components/shoppingCart/components/SelectHolderModal/index.less +0 -32
  617. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -3
  618. package/lib/components/shoppingCart/hooks/useAddService.js +0 -55
  619. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -3
  620. package/lib/components/shoppingCart/hooks/useClearCart.js +0 -66
  621. package/lib/components/shoppingCart/hooks/useContext.d.ts +0 -1
  622. package/lib/components/shoppingCart/hooks/useContext.js +0 -31
  623. package/lib/components/shoppingCart/index.d.ts +0 -4
  624. package/lib/components/shoppingCart/index.js +0 -60
  625. package/lib/components/shoppingCart/locales.d.ts +0 -33
  626. package/lib/components/shoppingCart/locales.js +0 -56
  627. package/lib/components/shoppingCart/mock.d.ts +0 -40
  628. package/lib/components/shoppingCart/mock.js +0 -76
  629. package/lib/components/shoppingCart/status.d.ts +0 -2
  630. package/lib/components/shoppingCart/status.js +0 -60
  631. package/lib/components/shoppingCart/type.d.ts +0 -40
  632. package/lib/components/shoppingCart/type.js +0 -17
  633. package/lib/components/shoppingCart/utils.d.ts +0 -63
  634. package/lib/components/shoppingCart/utils.js +0 -86
  635. package/lowcode/event-booking/meta.ts +0 -69
  636. package/lowcode/event-booking-availability-calendar/meta.ts +0 -53
  637. package/lowcode/event-booking-detail-modal/meta.ts +0 -39
  638. package/lowcode/event-booking-service-list/meta.ts +0 -77
  639. package/lowcode/event-card/meta.ts +0 -77
  640. package/lowcode/event-product-card/meta.ts +0 -79
  641. package/lowcode/event-progress-bar/meta.ts +0 -65
  642. package/lowcode/event-resource-display/meta.ts +0 -169
  643. package/lowcode/event-resource-usability/meta.ts +0 -67
  644. package/lowcode/event-schedule-calendar/meta.ts +0 -56
  645. package/lowcode/event-select-holder/meta.ts +0 -84
  646. package/lowcode/event-time-resource-selector/meta.ts +0 -69
  647. package/lowcode/shopping-cart/meta.ts +0 -98
@@ -108,16 +108,12 @@ var SelectDrawer = (props, ref) => {
108
108
  handleAddPet,
109
109
  modalOpen,
110
110
  franchiseeLoading,
111
- showHeader,
112
- showWalkIn
111
+ showHeader
113
112
  } = props;
114
113
  const form = (formData == null ? void 0 : formData[0]) || {};
115
114
  const valList = (childrenValue == null ? void 0 : childrenValue[form.id]) || defaultArr;
116
115
  const [_value, setValue] = (0, import_react.useState)(valList);
117
116
  const clientRef = (0, import_react.useRef)();
118
- const searchRef = (0, import_react.useRef)();
119
- const [open, setOpen] = (0, import_react.useState)(false);
120
- const [search, setSearch] = (0, import_react.useState)("");
121
117
  (0, import_react.useEffect)(() => {
122
118
  setValue(
123
119
  valList.map((item) => ({
@@ -125,7 +121,10 @@ var SelectDrawer = (props, ref) => {
125
121
  id: item.id || item.form_record_id
126
122
  }))
127
123
  );
128
- }, [valList, open]);
124
+ }, [valList]);
125
+ const searchRef = (0, import_react.useRef)();
126
+ const [open, setOpen] = (0, import_react.useState)(false);
127
+ const [search, setSearch] = (0, import_react.useState)("");
129
128
  (0, import_react.useEffect)(() => {
130
129
  if (!modalOpen) {
131
130
  setOpen(false);
@@ -318,7 +317,7 @@ var SelectDrawer = (props, ref) => {
318
317
  title: import_utils.locales.getText("pisell2.text.create-new-customer"),
319
318
  onClick: handleAddClient
320
319
  }
321
- ), showWalkIn ? /* @__PURE__ */ import_react.default.createElement(
320
+ ), /* @__PURE__ */ import_react.default.createElement(
322
321
  ActionItem,
323
322
  {
324
323
  title: "Walk-In",
@@ -327,7 +326,7 @@ var SelectDrawer = (props, ref) => {
327
326
  closeDrawer();
328
327
  }
329
328
  }
330
- ) : null), /* @__PURE__ */ import_react.default.createElement(import_antd.Spin, { spinning: !!loading, delay: 500 }, !!options.length ? options.map((item) => {
329
+ )), /* @__PURE__ */ import_react.default.createElement(import_antd.Spin, { spinning: !!loading, delay: 500 }, !!options.length ? options.map((item) => {
331
330
  var _a;
332
331
  return /* @__PURE__ */ import_react.default.createElement(
333
332
  "div",
@@ -32,36 +32,32 @@ __export(vertical_exports, {
32
32
  default: () => vertical_default
33
33
  });
34
34
  module.exports = __toCommonJS(vertical_exports);
35
- var import_PlusCircle = __toESM(require("@pisell/icon/es/PlusCircle"));
35
+ var import_react = __toESM(require("react"));
36
36
  var import_User01 = __toESM(require("@pisell/icon/es/User01"));
37
+ var import_PlusCircle = __toESM(require("@pisell/icon/es/PlusCircle"));
38
+ var import_antd = require("antd");
37
39
  var import_utils = require("@pisell/utils");
38
40
  var import_ahooks = require("ahooks");
39
- var import_antd = require("antd");
40
41
  var import_classnames = __toESM(require("classnames"));
41
- var import_react = __toESM(require("react"));
42
- var import_pet = __toESM(require("../../pet"));
43
42
  var import_useClientFn = __toESM(require("../hooks/useClientFn"));
44
43
  var import_SelectDrawer = __toESM(require("./SelectDrawer"));
44
+ var import_pet = __toESM(require("../../pet"));
45
+ var import_index = require("./index.less");
45
46
  var import_useEngineContext = __toESM(require("../../../../../hooks/useEngineContext"));
46
47
  var import_format = require("../../../forms/format");
47
- var import_utils2 = require("../../../utils");
48
- var import_model = require("../../model");
49
- var import_ChangePetModal = __toESM(require("../../pet/ChangePetModal"));
50
- var import_utils3 = require("../../service2/utils");
51
- var import_utils4 = require("../../utils");
52
- var import_index = require("./index.less");
48
+ var import_utils2 = require("../../utils");
49
+ var import_utils3 = require("../../../utils");
53
50
  var VerticalClient = (0, import_react.forwardRef)((props, ref) => {
54
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I;
51
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H;
55
52
  const { globalState, setGlobalState } = props;
56
53
  const modalRef = (0, import_react.useRef)();
57
54
  const state = globalState;
58
55
  const stateRef = (0, import_react.useRef)(state);
59
56
  const prevCustomerId = (0, import_react.useRef)(null);
60
- const changePetRef = (0, import_react.useRef)(null);
61
57
  const context = (0, import_useEngineContext.default)();
62
58
  const [isHasFormRecord, setIsHasFormRecord] = (0, import_react.useState)(true);
63
59
  const isFranchisee = (_d = (_c = (_b = (_a = context == null ? void 0 : context.appHelper) == null ? void 0 : _a.utils) == null ? void 0 : _b.businessUtils) == null ? void 0 : _c.getAppByModal) == null ? void 0 : _d.call(_c, "franchisee");
64
- import_utils2.request.setRequest(context.appHelper.utils.request);
60
+ import_utils3.request.setRequest(context.appHelper.utils.request);
65
61
  state.isFranchisee = isFranchisee;
66
62
  stateRef.current = state;
67
63
  const {
@@ -92,10 +88,9 @@ var VerticalClient = (0, import_react.forwardRef)((props, ref) => {
92
88
  });
93
89
  }
94
90
  });
95
- console.log("state.modalOpen", state.modalOpen);
96
91
  const renderList = (0, import_react.useMemo)(() => {
97
92
  let _list = [...state.client.clients];
98
- return (0, import_utils4.moveItemToFront)(_list, state.client.value.id);
93
+ return (0, import_utils2.moveItemToFront)(_list, state.client.value.id);
99
94
  }, [state.client.clients, state.client.value.id]);
100
95
  const handleClose = () => {
101
96
  setTimeout(() => {
@@ -113,14 +108,6 @@ var VerticalClient = (0, import_react.forwardRef)((props, ref) => {
113
108
  }
114
109
  });
115
110
  }
116
- if (type === "setService") {
117
- setGlobalState({
118
- service: {
119
- ...stateRef.current.service,
120
- ...payload
121
- }
122
- });
123
- }
124
111
  };
125
112
  const boardConfig = (0, import_react.useMemo)(() => {
126
113
  var _a2, _b2, _c2;
@@ -141,18 +128,6 @@ var VerticalClient = (0, import_react.forwardRef)((props, ref) => {
141
128
  state == null ? void 0 : state.modalOpen
142
129
  ]);
143
130
  const handleSelectPet = (val) => {
144
- var _a2, _b2;
145
- if ((0, import_utils3.isDayBooking)(state)) {
146
- const { ids, lists } = (0, import_utils3.isOpenDeletePet)(state, val);
147
- if ((ids == null ? void 0 : ids.length) > 0 && (lists == null ? void 0 : lists.length) > 0) {
148
- (_b2 = changePetRef.current) == null ? void 0 : _b2.open({
149
- ids,
150
- setGlobalState,
151
- service: ((_a2 = state.service) == null ? void 0 : _a2.value) || [],
152
- state
153
- });
154
- }
155
- }
156
131
  setGlobalState({
157
132
  pet: {
158
133
  ...state.pet,
@@ -284,7 +259,7 @@ var VerticalClient = (0, import_react.forwardRef)((props, ref) => {
284
259
  }, [isWalkIn, formId, (_q = state.client.value) == null ? void 0 : _q.id, currentPetValue, boardConfig]);
285
260
  const petRender = (0, import_react.useMemo)(() => {
286
261
  var _a2, _b2, _c2;
287
- if (((state == null ? void 0 : state.disabledEdit) || boardConfig.type !== "form") && !(0, import_utils3.isDayBooking)(state)) {
262
+ if ((state == null ? void 0 : state.disabledEdit) || boardConfig.type !== "form") {
288
263
  return null;
289
264
  }
290
265
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, !(currentPetValue == null ? void 0 : currentPetValue.length) && !isHasFormRecord && !isWalkIn && /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
@@ -349,8 +324,7 @@ var VerticalClient = (0, import_react.forwardRef)((props, ref) => {
349
324
  handleAddPet,
350
325
  currentPetValue,
351
326
  formId,
352
- (_x = (_w = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _w.holder) == null ? void 0 : _x.data_range,
353
- (_y = state.service) == null ? void 0 : _y.value
327
+ (_x = (_w = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _w.holder) == null ? void 0 : _x.data_range
354
328
  ]);
355
329
  const handleOpenClient = () => {
356
330
  if (!isWalkIn || (state == null ? void 0 : state.disableEventBookingEdit)) {
@@ -366,55 +340,6 @@ var VerticalClient = (0, import_react.forwardRef)((props, ref) => {
366
340
  setSearch: (_b2 = modalRef.current) == null ? void 0 : _b2.setSearch
367
341
  };
368
342
  });
369
- const isOpenDeleteProduct = (0, import_react.useMemo)(() => {
370
- if (!(0, import_utils3.isDayBooking)(state))
371
- return false;
372
- const pets = (0, import_utils3.getPets)(state);
373
- const appointmentServices = (0, import_utils3.getAppointmentService)(state);
374
- if ((pets == null ? void 0 : pets.length) && ((appointmentServices == null ? void 0 : appointmentServices.length) || (0, import_utils3.isEventBooking)(state))) {
375
- return true;
376
- }
377
- return false;
378
- }, [state]);
379
- const _handleSelectClient = async (e) => {
380
- var _a2, _b2, _c2, _d2, _e2;
381
- handleSelectClient(e);
382
- if ((0, import_utils3.isDayBooking)(state)) {
383
- let _value = (e == null ? void 0 : e[e.length - 1]) || import_model.walkInData;
384
- if (_value.loading) {
385
- return;
386
- }
387
- if ((0, import_utils3.isDayBooking)(state) && ((_b2 = (_a2 = state == null ? void 0 : state.service) == null ? void 0 : _a2.value) == null ? void 0 : _b2.length) > 0 && ((_c2 = state.client.value) == null ? void 0 : _c2.id) !== (_value == null ? void 0 : _value.id)) {
388
- const _state = {
389
- ...state,
390
- client: {
391
- ...state.client,
392
- value: {
393
- ..._value,
394
- name: getNickname(_value)
395
- }
396
- }
397
- };
398
- if (isOpenDeleteProduct) {
399
- (_e2 = changePetRef.current) == null ? void 0 : _e2.open({
400
- setGlobalState,
401
- service: ((_d2 = state.service) == null ? void 0 : _d2.value) || [],
402
- state,
403
- source: "changeClient"
404
- });
405
- }
406
- const services = await (0, import_utils3.updateServicePrice)(_state);
407
- console.log(services, state, _value, isOpenDeleteProduct, "wh98797686");
408
- setGlobalState({
409
- service: {
410
- ...stateRef.current.service,
411
- value: services,
412
- edit: true
413
- }
414
- });
415
- }
416
- }
417
- };
418
343
  return /* @__PURE__ */ import_react.default.createElement(
419
344
  "div",
420
345
  {
@@ -434,11 +359,11 @@ var VerticalClient = (0, import_react.forwardRef)((props, ref) => {
434
359
  import_antd.Avatar,
435
360
  {
436
361
  className: "pisell-lowcode__booking-client-avatar",
437
- src: import_utils.image.ali((_z = state.client.value) == null ? void 0 : _z.cover, 100),
362
+ src: import_utils.image.ali((_y = state.client.value) == null ? void 0 : _y.cover, 100),
438
363
  size: 64,
439
364
  icon: /* @__PURE__ */ import_react.default.createElement(import_User01.default, { className: "pisell-lowcode__booking-client-list-item-avatar-icon" })
440
365
  }
441
- ), isWalkIn ? /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-client-info-desc" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-client-title" }, import_utils.locales.getText("pisell2.text.add-client")), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-client-desc-item" }, import_utils.locales.getText("pisell2.text.leave-empty-for-walk-in"))) : /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-client-title" }, getNickname(state.client.value)), ((_A = state.client.value) == null ? void 0 : _A.email) ? /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-client-desc-item" }, (_B = state.client.value) == null ? void 0 : _B.email) : null, ((_C = state.client.value) == null ? void 0 : _C.phone) ? /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-client-desc-item" }, (_D = state.client.value) == null ? void 0 : _D.phone) : null), !isWalkIn && /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-client-action-wrap" }, !state.disabledEdit && /* @__PURE__ */ import_react.default.createElement(
366
+ ), isWalkIn ? /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-client-info-desc" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-client-title" }, import_utils.locales.getText("pisell2.text.add-client")), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-client-desc-item" }, import_utils.locales.getText("pisell2.text.leave-empty-for-walk-in"))) : /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-client-title" }, getNickname(state.client.value)), ((_z = state.client.value) == null ? void 0 : _z.email) ? /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-client-desc-item" }, (_A = state.client.value) == null ? void 0 : _A.email) : null, ((_B = state.client.value) == null ? void 0 : _B.phone) ? /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-client-desc-item" }, (_C = state.client.value) == null ? void 0 : _C.phone) : null), !isWalkIn && /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-client-action-wrap" }, !state.disabledEdit && /* @__PURE__ */ import_react.default.createElement(
442
367
  import_antd.Dropdown.Button,
443
368
  {
444
369
  menu: {
@@ -489,26 +414,24 @@ var VerticalClient = (0, import_react.forwardRef)((props, ref) => {
489
414
  showHeader: !state.isBookingCreatePage,
490
415
  modalOpen: state.modalOpen,
491
416
  loading,
492
- autoFocus: !((_G = (_F = (_E = context == null ? void 0 : context.appHelper) == null ? void 0 : _E.utils) == null ? void 0 : _F.isTerminal) == null ? void 0 : _G.call(_F)),
417
+ autoFocus: !((_F = (_E = (_D = context == null ? void 0 : context.appHelper) == null ? void 0 : _D.utils) == null ? void 0 : _E.isTerminal) == null ? void 0 : _F.call(_E)),
493
418
  ref: modalRef,
494
419
  onClose: handleClose,
495
- handleSelectClient: _handleSelectClient,
420
+ handleSelectClient,
496
421
  handleCreateItem,
497
422
  childrenValue: state.pet.value,
498
423
  handleSelectPet,
499
424
  formData: state.pet.formData,
500
425
  searchChange,
501
426
  options: renderList,
502
- holder: (_H = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _H.holder,
503
- client: (_I = state == null ? void 0 : state.client) == null ? void 0 : _I.value,
427
+ holder: (_G = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _G.holder,
428
+ client: (_H = state == null ? void 0 : state.client) == null ? void 0 : _H.value,
504
429
  loadMore,
505
430
  showPet: (boardConfig == null ? void 0 : boardConfig.type) === "form",
506
431
  handleAddPet,
507
- franchiseeLoading,
508
- showWalkIn: !(0, import_utils3.isDayBooking)(state)
432
+ franchiseeLoading
509
433
  }
510
- ),
511
- /* @__PURE__ */ import_react.default.createElement(import_ChangePetModal.default, { ref: changePetRef })
434
+ )
512
435
  );
513
436
  });
514
437
  var vertical_default = VerticalClient;
@@ -32,35 +32,32 @@ __export(main_exports, {
32
32
  default: () => main_default
33
33
  });
34
34
  module.exports = __toCommonJS(main_exports);
35
- var import_utils = require("@pisell/utils");
36
35
  var import_react = __toESM(require("react"));
36
+ var import_model = require("./model");
37
+ var import_client = __toESM(require("./client"));
38
+ var import_service = __toESM(require("./service"));
39
+ var import_pet = __toESM(require("./pet"));
40
+ var import_date = __toESM(require("./date"));
37
41
  var import_footer = __toESM(require("../components/footer"));
38
42
  var import_tabPane = __toESM(require("../components/tabPane"));
39
- var import_locales = __toESM(require("../locales"));
40
43
  var import_addNote = __toESM(require("../notes/addNote"));
41
- var import_client = __toESM(require("./client"));
42
- var import_date = __toESM(require("./date"));
43
44
  var import_header = __toESM(require("./header"));
44
- var import_model = require("./model");
45
- var import_pet = __toESM(require("./pet"));
46
- var import_service = __toESM(require("./service"));
47
- var import_antd = require("antd");
48
- var import_classnames = __toESM(require("classnames"));
49
- var import_useEngineContext = __toESM(require("../../../hooks/useEngineContext"));
50
- var import_useCreateBookingPageHeader = __toESM(require("../hooks/useCreateBookingPageHeader"));
45
+ var import_locales = __toESM(require("../locales"));
46
+ var import_utils = require("@pisell/utils");
51
47
  var import_utils2 = require("../utils");
52
48
  var import_date2 = require("./date");
53
- var import_index = require("./index.less");
49
+ var import_useEngineContext = __toESM(require("../../../hooks/useEngineContext"));
54
50
  var import_notes = __toESM(require("./notes"));
55
- var import_service2 = require("./service2");
56
- var import_utils3 = require("./service2/utils");
51
+ var import_index = require("./index.less");
52
+ var import_classnames = __toESM(require("classnames"));
53
+ var import_antd = require("antd");
54
+ var import_useCreateBookingPageHeader = __toESM(require("../hooks/useCreateBookingPageHeader"));
57
55
  var defaultModules = {
58
56
  client: 1,
59
57
  date: 1,
60
58
  service: 1,
61
59
  holder: 1,
62
- note: 1,
63
- service2: 0
60
+ note: 1
64
61
  };
65
62
  import_utils.locales.init(import_locales.default, localStorage.getItem("umi_locale") || "en");
66
63
  var Info = (0, import_model.Provider)((props) => {
@@ -99,8 +96,7 @@ var Info = (0, import_model.Provider)((props) => {
99
96
  ...globalState,
100
97
  isTerminal: (_g2 = (_f2 = (_e2 = context == null ? void 0 : context.appHelper) == null ? void 0 : _e2.utils) == null ? void 0 : _f2.isTerminal) == null ? void 0 : _g2.call(_f2),
101
98
  isFranchisee,
102
- timezone: (_m = (_l = (_k = (_j = (_i2 = (_h2 = context == null ? void 0 : context.appHelper) == null ? void 0 : _h2.utils) == null ? void 0 : _i2.store) == null ? void 0 : _j.getState()) == null ? void 0 : _k.global) == null ? void 0 : _l.globalConfig) == null ? void 0 : _m.timezone,
103
- isDayBooking: (globalState == null ? void 0 : globalState.renderType) === "dayBooking"
99
+ timezone: (_m = (_l = (_k = (_j = (_i2 = (_h2 = context == null ? void 0 : context.appHelper) == null ? void 0 : _h2.utils) == null ? void 0 : _i2.store) == null ? void 0 : _j.getState()) == null ? void 0 : _k.global) == null ? void 0 : _l.globalConfig) == null ? void 0 : _m.timezone
104
100
  }
105
101
  });
106
102
  }, [JSON.stringify(globalState)]);
@@ -125,17 +121,11 @@ var Info = (0, import_model.Provider)((props) => {
125
121
  globalState == null ? void 0 : globalState.renderType
126
122
  ]);
127
123
  const notes = (0, import_react.useMemo)(() => {
128
- var _a2, _b2, _c2, _d2;
124
+ var _a2, _b2;
129
125
  if (!modules.note) {
130
126
  return null;
131
127
  }
132
- if ((0, import_utils3.isEventBooking)(modal.state)) {
133
- return null;
134
- }
135
- if ((0, import_utils3.isDayBooking)(globalState)) {
136
- return /* @__PURE__ */ import_react.default.createElement(import_addNote.default, { value: (_b2 = (_a2 = modal.state) == null ? void 0 : _a2.notes) == null ? void 0 : _b2.orderNote, onChange: addNote });
137
- }
138
- return (globalState == null ? void 0 : globalState.bookingId) ? globalState.renderType === "eventBooking" || globalState.isBookingCreatePage ? /* @__PURE__ */ import_react.default.createElement(import_notes.default, null) : null : /* @__PURE__ */ import_react.default.createElement(import_addNote.default, { value: (_d2 = (_c2 = modal.state) == null ? void 0 : _c2.notes) == null ? void 0 : _d2.orderNote, onChange: addNote });
128
+ return (globalState == null ? void 0 : globalState.bookingId) ? globalState.renderType === "eventBooking" || globalState.isBookingCreatePage ? /* @__PURE__ */ import_react.default.createElement(import_notes.default, null) : null : /* @__PURE__ */ import_react.default.createElement(import_addNote.default, { value: (_b2 = (_a2 = modal.state) == null ? void 0 : _a2.notes) == null ? void 0 : _b2.orderNote, onChange: addNote });
139
129
  }, [
140
130
  modules.note,
141
131
  globalState == null ? void 0 : globalState.bookingId,
@@ -145,10 +135,7 @@ var Info = (0, import_model.Provider)((props) => {
145
135
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, !!modal.state.setGlobalState ? /* @__PURE__ */ import_react.default.createElement(
146
136
  import_tabPane.default,
147
137
  {
148
- style: {
149
- ...style,
150
- height: ((_h = (_g = context == null ? void 0 : context.appHelper) == null ? void 0 : _g.utils) == null ? void 0 : _h.isMobile) ? "100%" : "100vh"
151
- },
138
+ style,
152
139
  header,
153
140
  footer: /* @__PURE__ */ import_react.default.createElement(
154
141
  import_footer.default,
@@ -158,9 +145,12 @@ var Info = (0, import_model.Provider)((props) => {
158
145
  source: "info"
159
146
  }
160
147
  ),
148
+ style: {
149
+ height: ((_h = (_g = context == null ? void 0 : context.appHelper) == null ? void 0 : _g.utils) == null ? void 0 : _h.isMobile) ? "100%" : "100vh"
150
+ },
161
151
  bodyClassName: (0, import_classnames.default)("booking-info-warp", {
162
152
  ["create-booking-page-info-wrap"]: isBookingCreatePage,
163
- ["create-booking-page-info-wrap-create"]: isBookingCreatePageCreateMode && !(0, import_utils3.isTerminalDayBooking)(modal.state)
153
+ ["create-booking-page-info-wrap-create"]: isBookingCreatePageCreateMode
164
154
  })
165
155
  },
166
156
  /* @__PURE__ */ import_react.default.createElement("div", { className: "booking-info" }, createHeader, modules.client ? /* @__PURE__ */ import_react.default.createElement(import_client.default, null) : null, modules.holder && !((_i = modal.state) == null ? void 0 : _i.disabledEdit) ? /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, params.type === "form" ? /* @__PURE__ */ import_react.default.createElement(import_pet.default, null) : null) : null, modules.date ? /* @__PURE__ */ import_react.default.createElement(import_date.default, null) : null, /* @__PURE__ */ import_react.default.createElement(
@@ -173,7 +163,6 @@ var Info = (0, import_model.Provider)((props) => {
173
163
  style: { paddingTop: 20 }
174
164
  },
175
165
  modules.service ? /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, modal.state.date.value ? /* @__PURE__ */ import_react.default.createElement(import_service.default, null) : null) : null,
176
- modules.service2 ? /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, modal.state.date.value ? /* @__PURE__ */ import_react.default.createElement(import_service2.Service2Cart, null) : null) : null,
177
166
  notes,
178
167
  slot ? slot : null
179
168
  ))
@@ -76,9 +76,6 @@ var { Provider, Context } = (0, import_utils.miniRedux)({
76
76
  _val.disabledEdit = false;
77
77
  }
78
78
  state.setGlobalState(_val);
79
- },
80
- setActiveCartId(state, payload) {
81
- state.setGlobalState(payload);
82
79
  }
83
80
  },
84
81
  reducers: {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { InfoProps } from '../../forms/forms';
3
2
  import './index.less';
3
+ import { InfoProps } from '../../forms/forms';
4
4
  interface PetProps {
5
5
  state?: any;
6
6
  dispatch?: any;
@@ -32,19 +32,17 @@ __export(pet_exports, {
32
32
  default: () => pet_default
33
33
  });
34
34
  module.exports = __toCommonJS(pet_exports);
35
- var import_User01 = __toESM(require("@pisell/icon/es/User01"));
36
- var import_utils = require("@pisell/utils");
37
- var import_ahooks = require("ahooks");
38
- var import_antd = require("antd");
39
35
  var import_react = __toESM(require("react"));
40
- var import_useEngineContext = __toESM(require("../../../../hooks/useEngineContext"));
41
- var import_format = require("../../forms/format");
42
- var import_forms = __toESM(require("../../forms/forms"));
43
- var import_utils2 = require("../../info/service2/utils");
44
- var import_utils3 = require("../../utils");
36
+ var import_User01 = __toESM(require("@pisell/icon/es/User01"));
45
37
  var import_model = require("../model");
46
- var import_ChangePetModal = __toESM(require("./ChangePetModal"));
38
+ var import_antd = require("antd");
47
39
  var import_index = require("./index.less");
40
+ var import_utils = require("@pisell/utils");
41
+ var import_forms = __toESM(require("../../forms/forms"));
42
+ var import_format = require("../../forms/format");
43
+ var import_utils2 = require("../../utils");
44
+ var import_useEngineContext = __toESM(require("../../../../hooks/useEngineContext"));
45
+ var import_ahooks = require("ahooks");
48
46
  var defaultParams = {
49
47
  skip: 1,
50
48
  num: 20,
@@ -67,7 +65,6 @@ var Pet = (props) => {
67
65
  const context = (0, import_useEngineContext.default)();
68
66
  const { isTerminal } = ((_a = context.appHelper) == null ? void 0 : _a.utils) || {};
69
67
  const [params, setParams] = (0, import_react.useState)(defaultParams);
70
- const changePetRef = (0, import_react.useRef)(null);
71
68
  state = state || (props == null ? void 0 : props.state);
72
69
  dispatch = dispatch || (props == null ? void 0 : props.dispatch);
73
70
  const boardParams = (0, import_react.useMemo)(() => {
@@ -75,7 +72,7 @@ var Pet = (props) => {
75
72
  return ((_c2 = (_b2 = (_a2 = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _a2.config) == null ? void 0 : _b2.basic) == null ? void 0 : _c2.appointment_subject) || {};
76
73
  }, [(_d = (_c = (_b = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _b.config) == null ? void 0 : _c.basic) == null ? void 0 : _d.appointment_subject]);
77
74
  const petForm = (0, import_react.useMemo)(() => {
78
- var _a2, _b2, _c2;
75
+ var _a2;
79
76
  let _holder = (_a2 = state.bookingConfig) == null ? void 0 : _a2.holder;
80
77
  if (!_holder) {
81
78
  return null;
@@ -84,8 +81,8 @@ var Pet = (props) => {
84
81
  ..._holder,
85
82
  ..._holder == null ? void 0 : _holder.form,
86
83
  options: [],
87
- form_id: (_b2 = _holder == null ? void 0 : _holder.form) == null ? void 0 : _b2.id,
88
- field: (_c2 = _holder == null ? void 0 : _holder.form) == null ? void 0 : _c2.form_field,
84
+ form_id: _holder.form.id,
85
+ field: _holder.form.form_field,
89
86
  relation_type: "appointment_booking",
90
87
  form_record: []
91
88
  };
@@ -94,7 +91,7 @@ var Pet = (props) => {
94
91
  var _a2, _b2, _c2, _d2;
95
92
  setLoading(true);
96
93
  let _list = [];
97
- const noClient = formData.data_range === "customer" && (0, import_utils3.isWalkIn)((_b2 = (_a2 = state.client) == null ? void 0 : _a2.value) == null ? void 0 : _b2.id);
94
+ const noClient = formData.data_range === "customer" && (0, import_utils2.isWalkIn)((_b2 = (_a2 = state.client) == null ? void 0 : _a2.value) == null ? void 0 : _b2.id);
98
95
  if (!noClient) {
99
96
  let _values = {
100
97
  form_id: boardParams.form_id,
@@ -135,7 +132,7 @@ var Pet = (props) => {
135
132
  };
136
133
  const setPetOptions = (options) => {
137
134
  var _a2, _b2, _c2, _d2, _e2, _f2;
138
- const noClient = ((_b2 = (_a2 = state.pet) == null ? void 0 : _a2.formData) == null ? void 0 : _b2[0].data_range) === "customer" && (0, import_utils3.isWalkIn)((_d2 = (_c2 = state.client) == null ? void 0 : _c2.value) == null ? void 0 : _d2.id);
135
+ const noClient = ((_b2 = (_a2 = state.pet) == null ? void 0 : _a2.formData) == null ? void 0 : _b2[0].data_range) === "customer" && (0, import_utils2.isWalkIn)((_d2 = (_c2 = state.client) == null ? void 0 : _c2.value) == null ? void 0 : _d2.id);
139
136
  if (noClient) {
140
137
  return;
141
138
  }
@@ -153,22 +150,11 @@ var Pet = (props) => {
153
150
  });
154
151
  };
155
152
  const getForms = async (isUpdateValue = true) => {
156
- var _a2, _b2, _c2, _d2, _e2, _f2, _g2;
153
+ var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2;
157
154
  let values = {
158
155
  ...state.pet.value
159
156
  };
160
- let recordIds = [];
161
- if ((0, import_utils2.isEventBooking)(state)) {
162
- recordIds = (_a2 = state.bookingDetail) == null ? void 0 : _a2.bookings.list.reduce(
163
- (acc, cur) => {
164
- return Array.from(/* @__PURE__ */ new Set([...acc, ...cur.holder.form_record]));
165
- },
166
- []
167
- );
168
- } else {
169
- recordIds = ((_c2 = (_b2 = state.bookingDetail) == null ? void 0 : _b2.holder) == null ? void 0 : _c2.form_record) || [];
170
- }
171
- let isSetValue = isUpdateValue && values[boardParams == null ? void 0 : boardParams.form_id] === void 0 && (recordIds == null ? void 0 : recordIds.length);
157
+ let isSetValue = isUpdateValue && values[boardParams == null ? void 0 : boardParams.form_id] === void 0 && ((_c2 = (_b2 = (_a2 = state.bookingDetail) == null ? void 0 : _a2.holder) == null ? void 0 : _b2.form_record) == null ? void 0 : _c2.length);
172
158
  if (isSetValue) {
173
159
  setValueLoading(true);
174
160
  }
@@ -196,13 +182,13 @@ var Pet = (props) => {
196
182
  };
197
183
  if (isSetValue) {
198
184
  let records = await state.apis.getFormRecords({
199
- form_record_ids: recordIds,
185
+ form_record_ids: (_g2 = (_f2 = state.bookingDetail) == null ? void 0 : _f2.holder) == null ? void 0 : _g2.form_record,
200
186
  with: ["customer"]
201
187
  });
202
188
  console.log("records", records);
203
189
  values[boardParams == null ? void 0 : boardParams.form_id] = (0, import_format.sortFormValues)(
204
190
  records,
205
- (_g2 = (_f2 = state.client) == null ? void 0 : _f2.value) == null ? void 0 : _g2.id
191
+ (_i2 = (_h2 = state.client) == null ? void 0 : _h2.value) == null ? void 0 : _i2.id
206
192
  );
207
193
  payload.value = values;
208
194
  setValueLoading(false);
@@ -222,14 +208,10 @@ var Pet = (props) => {
222
208
  let cur = [...state.pet.value[petForm.form_id] || []];
223
209
  let options = ((_c2 = (_b2 = (_a2 = state.pet) == null ? void 0 : _a2.formData) == null ? void 0 : _b2[0]) == null ? void 0 : _c2.options) || [];
224
210
  if (res.type === "delete") {
225
- const isDay = (0, import_utils2.isDayBooking)(state);
226
- if (isDay && state.disabledEdit)
227
- return cur;
228
- cur = cur.filter((d) => d.form_record_id !== item.form_record_id);
211
+ cur = cur.filter(
212
+ (d) => d.form_record_id !== item.form_record_id
213
+ );
229
214
  addCallback();
230
- if (isDay) {
231
- handleDayChange(item);
232
- }
233
215
  } else {
234
216
  let obj = {
235
217
  customer: item == null ? void 0 : item.customer,
@@ -261,7 +243,7 @@ var Pet = (props) => {
261
243
  formDataConfig: { ...petForm },
262
244
  record: item
263
245
  };
264
- if (petForm.data_range === "customer" && !(0, import_utils3.isWalkIn)((_b2 = (_a2 = state.client) == null ? void 0 : _a2.value) == null ? void 0 : _b2.id)) {
246
+ if (petForm.data_range === "customer" && !(0, import_utils2.isWalkIn)((_b2 = (_a2 = state.client) == null ? void 0 : _a2.value) == null ? void 0 : _b2.id)) {
265
247
  _data.customerId = (_d2 = (_c2 = state.client) == null ? void 0 : _c2.value) == null ? void 0 : _d2.id;
266
248
  }
267
249
  state.action({
@@ -278,7 +260,7 @@ var Pet = (props) => {
278
260
  formDataConfig: { ...petForm },
279
261
  record: item
280
262
  };
281
- if (petForm.data_range === "customer" && !(0, import_utils3.isWalkIn)((_b2 = (_a2 = state.client) == null ? void 0 : _a2.value) == null ? void 0 : _b2.id)) {
263
+ if (petForm.data_range === "customer" && !(0, import_utils2.isWalkIn)((_b2 = (_a2 = state.client) == null ? void 0 : _a2.value) == null ? void 0 : _b2.id)) {
282
264
  _data.customerId = (_d2 = (_c2 = state.client) == null ? void 0 : _c2.value) == null ? void 0 : _d2.id;
283
265
  }
284
266
  state.action({
@@ -290,29 +272,27 @@ var Pet = (props) => {
290
272
  }
291
273
  });
292
274
  });
293
- const onValueChange = (0, import_ahooks.useMemoizedFn)(
294
- ({ values, edit = true, options }) => {
295
- var _a2, _b2;
296
- const updateObj = {};
297
- if (options) {
298
- updateObj.formData = [
299
- {
300
- ...(_b2 = (_a2 = state.pet) == null ? void 0 : _a2.formData) == null ? void 0 : _b2[0],
301
- options
302
- }
303
- ];
304
- updateObj.pets = options;
305
- }
306
- dispatch({
307
- type: "setPet",
308
- payload: {
309
- edit,
310
- value: values,
311
- ...updateObj
275
+ const onValueChange = (0, import_ahooks.useMemoizedFn)(({ values, edit = true, options }) => {
276
+ var _a2, _b2;
277
+ const updateObj = {};
278
+ if (options) {
279
+ updateObj.formData = [
280
+ {
281
+ ...(_b2 = (_a2 = state.pet) == null ? void 0 : _a2.formData) == null ? void 0 : _b2[0],
282
+ options
312
283
  }
313
- });
284
+ ];
285
+ updateObj.pets = options;
314
286
  }
315
- );
287
+ dispatch({
288
+ type: "setPet",
289
+ payload: {
290
+ edit,
291
+ value: values,
292
+ ...updateObj
293
+ }
294
+ });
295
+ });
316
296
  (0, import_react.useEffect)(() => {
317
297
  var _a2, _b2, _c2, _d2;
318
298
  if (clientChangeNotSetPet)
@@ -383,29 +363,6 @@ var Pet = (props) => {
383
363
  import_utils.locales.getText("pisell2.text.load-more")
384
364
  )) : null;
385
365
  }, [loadLoading, params, (_l = (_k = (_j = (_i = state.pet) == null ? void 0 : _i.formData) == null ? void 0 : _j[0]) == null ? void 0 : _k.options) == null ? void 0 : _l.length]);
386
- const handleDayChange = (e) => {
387
- var _a2, _b2;
388
- const id = e == null ? void 0 : e.form_record_id;
389
- const service = (_a2 = state.service.value) == null ? void 0 : _a2.filter(
390
- (item) => item._extend.holder_id === id
391
- );
392
- if (id && (service == null ? void 0 : service.length)) {
393
- changePetRef == null ? void 0 : changePetRef.current.open({
394
- ids: [id],
395
- dispatch,
396
- service: ((_b2 = state.service) == null ? void 0 : _b2.value) || []
397
- });
398
- }
399
- };
400
- const dayCustomSelect = (0, import_react.useMemo)(() => {
401
- const isDay = (0, import_utils2.isDayBooking)(state);
402
- if (isDay) {
403
- return {
404
- handleDayChange
405
- };
406
- }
407
- return {};
408
- }, [state.renderType, state.service.value]);
409
366
  return (0, import_react.useMemo)(() => {
410
367
  var _a2;
411
368
  return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-pet-wraps" }, /* @__PURE__ */ import_react.default.createElement(import_antd.Skeleton, { loading: valueLoading, active: true, round: true }, /* @__PURE__ */ import_react.default.createElement(
@@ -415,10 +372,7 @@ var Pet = (props) => {
415
372
  watch: { value: state.pet.value },
416
373
  addCallback: (formDataConfig, data) => {
417
374
  var _a3, _b2, _c2;
418
- setPetOptions([
419
- { ...data, form_id: formDataConfig == null ? void 0 : formDataConfig.form_id },
420
- ...((_c2 = (_b2 = (_a3 = state.pet) == null ? void 0 : _a3.formData) == null ? void 0 : _b2[0]) == null ? void 0 : _c2.options) || []
421
- ]);
375
+ setPetOptions([{ ...data, form_id: formDataConfig == null ? void 0 : formDataConfig.form_id }, ...((_c2 = (_b2 = (_a3 = state.pet) == null ? void 0 : _a3.formData) == null ? void 0 : _b2[0]) == null ? void 0 : _c2.options) || []]);
422
376
  },
423
377
  loading: valueLoading,
424
378
  forms: state.pet.formData,
@@ -444,8 +398,7 @@ var Pet = (props) => {
444
398
  return true;
445
399
  },
446
400
  handleOpenModal,
447
- previewItemTitleRender,
448
- ...dayCustomSelect
401
+ previewItemTitleRender
449
402
  },
450
403
  optionRender: (item) => {
451
404
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
@@ -489,7 +442,7 @@ var Pet = (props) => {
489
442
  ...addButtonProps
490
443
  }
491
444
  }
492
- )), /* @__PURE__ */ import_react.default.createElement(import_ChangePetModal.default, { ref: changePetRef }));
445
+ )));
493
446
  }, [
494
447
  valueLoading,
495
448
  hideTitle,