@pisell/private-materials 6.2.30 → 6.3.1

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 (521) 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 -9
  6. package/build/lowcode/preview.js +13 -13
  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/components/Sales/Cart/index.js +0 -1
  12. package/es/components/Sales/Summary/utils.d.ts +1 -1
  13. package/es/components/booking/addons/index.js +1 -4
  14. package/es/components/booking/components/TabProduct/tabs/index.js +1 -5
  15. package/es/components/booking/components/browserSelect/index.js +1 -1
  16. package/es/components/booking/components/footer/amount.d.ts +0 -1
  17. package/es/components/booking/components/footer/amount.js +3 -15
  18. package/es/components/booking/components/footer/index.js +42 -113
  19. package/es/components/booking/components/footer/index.less +2 -3
  20. package/es/components/booking/components/footer/utils.js +23 -51
  21. package/es/components/booking/components/tabPane/index.js +5 -72
  22. package/es/components/booking/components/tabPane/index.less +1 -75
  23. package/es/components/booking/components/voucher/index.js +12 -26
  24. package/es/components/booking/components/voucher/index.less +1 -1
  25. package/es/components/booking/dashboard/index.d.ts +1 -1
  26. package/es/components/booking/dashboard/index.js +3 -10
  27. package/es/components/booking/forms/forms.js +1 -1
  28. package/es/components/booking/forms/model.js +5 -5
  29. package/es/components/booking/hooks/useQuotation.js +8 -18
  30. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  31. package/es/components/booking/info/hooks/useInfoHolder.js +12 -13
  32. package/es/components/booking/info/index.less +3 -19
  33. package/es/components/booking/info/main.js +15 -14
  34. package/es/components/booking/info/pet/index.less +1 -1
  35. package/es/components/booking/info/service/Lists.js +2 -5
  36. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  37. package/es/components/booking/info/service/index.less +1 -1
  38. package/es/components/booking/info/service/like/index.js +1 -1
  39. package/es/components/booking/info/service/serviceItem/index.js +2 -2
  40. package/es/components/booking/info/service2/utils.d.ts +0 -4
  41. package/es/components/booking/info/service2/utils.js +2 -21
  42. package/es/components/booking/info2/index.js +18 -40
  43. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  44. package/es/components/booking/info2/service/addTimeModal/index.js +1 -2
  45. package/es/components/booking/info2/service/editService/index.js +4 -4
  46. package/es/components/booking/info2/service/index.js +6 -11
  47. package/es/components/booking/info2/service/serviceItem/index.js +2 -2
  48. package/es/components/booking/info2/utilsByBooking.d.ts +0 -1
  49. package/es/components/booking/info2/utilsByBooking.js +3 -27
  50. package/es/components/booking/locales.d.ts +0 -78
  51. package/es/components/booking/locales.js +4 -106
  52. package/es/components/booking/materiels/startTime/index.js +1 -1
  53. package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
  54. package/es/components/booking/notes/NoteBlock/index.js +11 -11
  55. package/es/components/booking/notes/addNote/index.d.ts +1 -1
  56. package/es/components/booking/notes/addNote/index.js +32 -52
  57. package/es/components/booking/notes/addNote/index.less +0 -53
  58. package/es/components/booking/notes/model.js +5 -5
  59. package/es/components/booking/payments/model.js +5 -5
  60. package/es/components/booking/utils.d.ts +2 -2
  61. package/es/components/eftposPay/amount.d.ts +1 -1
  62. package/es/components/eftposPay/device.d.ts +1 -1
  63. package/es/components/eftposPay/hooks.d.ts +2 -2
  64. package/es/components/eftposPay/store/index.d.ts +6 -6
  65. package/es/components/listComponent/index.js +5 -5
  66. package/es/components/productExtension/card/index.js +3 -3
  67. package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
  68. package/es/components/productExtension/fields/Forms/index.js +12 -12
  69. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
  70. package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
  71. package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
  72. package/es/components/productExtension/server.js +2 -2
  73. package/es/components/productSelect/components/productGroup/index.js +4 -20
  74. package/es/components/productSelect/components/productGroup/index.less +0 -17
  75. package/es/components/ruleSetting/ruleBorder/index.js +1 -1
  76. package/es/components/schedules/calendar/index.js +4 -4
  77. package/es/components/schedules/calendar/serve.js +2 -2
  78. package/es/components/schedules/components/CurrentDay/index.js +5 -5
  79. package/es/components/schedules/components/CurrentDay/serve.js +2 -2
  80. package/es/components/schedules/components/DropdownSort/index.js +1 -1
  81. package/es/components/schedules/components/ResourceList/index.js +1 -1
  82. package/es/components/schedules/components/Search/index.js +5 -5
  83. package/es/components/schedules/model.js +5 -5
  84. package/es/components/schedules/openHours/index.js +1 -1
  85. package/es/components/schedules/openHours/serve.js +2 -2
  86. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
  87. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
  88. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
  89. package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
  90. package/es/components/schedules/products/serve.js +2 -2
  91. package/es/components/schedules/products/utils.js +5 -5
  92. package/es/components/schedules/resources/detail/detailContent.js +2 -2
  93. package/es/components/schedules/resources/detail/index.js +10 -10
  94. package/es/components/schedules/resources/list/index.js +2 -2
  95. package/es/components/schedules/resources/relationProduct/index.js +1 -1
  96. package/es/components/schedules/resources/serve.js +2 -2
  97. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
  98. package/es/components/schedules/utils.d.ts +1 -1
  99. package/es/components/schedules/utils.js +4 -4
  100. package/es/components/selectModal/index.js +2 -2
  101. package/es/components/shoppingCart/components/Cart/Product.js +7 -46
  102. package/es/components/shoppingCart/components/Cart/index.less +1 -15
  103. package/es/components/shoppingCart/type.d.ts +0 -1
  104. package/es/components/subTotal/index.less +1 -1
  105. package/es/components/ticketBooking/components/addServiceVariant/addService.js +291 -158
  106. package/es/components/ticketBooking/components/ticketBooking/index.js +34 -214
  107. package/es/components/ticketBooking/components/ticketBooking/index.less +1 -29
  108. package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -1
  109. package/es/components/ticketBooking/components/timeBar/index.js +15 -19
  110. package/es/components/ticketBooking/index.js +3 -21
  111. package/es/components/ticketBooking/index.less +1 -1
  112. package/es/components/ticketBooking/locales.d.ts +3 -9
  113. package/es/components/ticketBooking/locales.js +3 -9
  114. package/es/components/ticketBooking/serve.js +11 -11
  115. package/es/components/ticketBooking/utils/index.d.ts +4 -39
  116. package/es/components/ticketBooking/utils/index.js +28 -109
  117. package/es/hooks/useComponents.js +1 -1
  118. package/es/index.d.ts +0 -4
  119. package/es/index.js +1 -5
  120. package/es/utils/index.d.ts +1 -1
  121. package/lib/components/Sales/Cart/index.js +0 -1
  122. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  123. package/lib/components/booking/addons/index.js +1 -4
  124. package/lib/components/booking/components/footer/amount.d.ts +0 -1
  125. package/lib/components/booking/components/footer/amount.js +3 -5
  126. package/lib/components/booking/components/footer/index.js +23 -96
  127. package/lib/components/booking/components/footer/index.less +2 -3
  128. package/lib/components/booking/components/footer/utils.js +12 -37
  129. package/lib/components/booking/components/tabPane/index.js +4 -57
  130. package/lib/components/booking/components/tabPane/index.less +1 -75
  131. package/lib/components/booking/components/voucher/index.js +11 -23
  132. package/lib/components/booking/components/voucher/index.less +1 -1
  133. package/lib/components/booking/dashboard/index.d.ts +1 -1
  134. package/lib/components/booking/dashboard/index.js +2 -7
  135. package/lib/components/booking/forms/forms.js +1 -1
  136. package/lib/components/booking/hooks/useQuotation.js +2 -4
  137. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  138. package/lib/components/booking/info/hooks/useInfoHolder.js +6 -12
  139. package/lib/components/booking/info/index.less +3 -19
  140. package/lib/components/booking/info/main.js +5 -12
  141. package/lib/components/booking/info/pet/index.less +1 -1
  142. package/lib/components/booking/info/service/Lists.js +2 -6
  143. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  144. package/lib/components/booking/info/service/index.less +1 -1
  145. package/lib/components/booking/info/service/serviceItem/index.js +2 -2
  146. package/lib/components/booking/info/service2/utils.d.ts +0 -4
  147. package/lib/components/booking/info/service2/utils.js +2 -23
  148. package/lib/components/booking/info2/index.js +9 -30
  149. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  150. package/lib/components/booking/info2/service/addTimeModal/index.js +0 -1
  151. package/lib/components/booking/info2/service/editService/index.js +3 -3
  152. package/lib/components/booking/info2/service/index.js +6 -6
  153. package/lib/components/booking/info2/service/serviceItem/index.js +2 -2
  154. package/lib/components/booking/info2/utilsByBooking.d.ts +0 -1
  155. package/lib/components/booking/info2/utilsByBooking.js +4 -24
  156. package/lib/components/booking/locales.d.ts +0 -78
  157. package/lib/components/booking/locales.js +4 -100
  158. package/lib/components/booking/notes/addNote/index.d.ts +1 -1
  159. package/lib/components/booking/notes/addNote/index.js +23 -41
  160. package/lib/components/booking/notes/addNote/index.less +0 -53
  161. package/lib/components/booking/utils.d.ts +2 -2
  162. package/lib/components/eftposPay/amount.d.ts +1 -1
  163. package/lib/components/eftposPay/device.d.ts +1 -1
  164. package/lib/components/eftposPay/hooks.d.ts +2 -2
  165. package/lib/components/eftposPay/store/index.d.ts +6 -6
  166. package/lib/components/productSelect/components/productGroup/index.js +3 -16
  167. package/lib/components/productSelect/components/productGroup/index.less +0 -17
  168. package/lib/components/schedules/utils.d.ts +1 -1
  169. package/lib/components/schedules/utils.js +1 -1
  170. package/lib/components/shoppingCart/components/Cart/Product.js +9 -45
  171. package/lib/components/shoppingCart/components/Cart/index.less +1 -15
  172. package/lib/components/shoppingCart/type.d.ts +0 -1
  173. package/lib/components/subTotal/index.less +1 -1
  174. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +185 -45
  175. package/lib/components/ticketBooking/components/ticketBooking/index.js +81 -233
  176. package/lib/components/ticketBooking/components/ticketBooking/index.less +1 -29
  177. package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -1
  178. package/lib/components/ticketBooking/components/timeBar/index.js +8 -15
  179. package/lib/components/ticketBooking/index.js +4 -31
  180. package/lib/components/ticketBooking/index.less +1 -1
  181. package/lib/components/ticketBooking/locales.d.ts +3 -9
  182. package/lib/components/ticketBooking/locales.js +3 -9
  183. package/lib/components/ticketBooking/serve.js +11 -11
  184. package/lib/components/ticketBooking/utils/index.d.ts +4 -39
  185. package/lib/components/ticketBooking/utils/index.js +30 -69
  186. package/lib/index.d.ts +0 -4
  187. package/lib/index.js +0 -12
  188. package/lib/utils/index.d.ts +1 -1
  189. package/package.json +25 -25
  190. package/es/components/booking/components/actionButtons/index.d.ts +0 -31
  191. package/es/components/booking/components/actionButtons/index.js +0 -486
  192. package/es/components/booking/components/actionButtons/index.less +0 -215
  193. package/es/components/booking/components/clearCartModal/index.d.ts +0 -10
  194. package/es/components/booking/components/clearCartModal/index.js +0 -50
  195. package/es/components/booking/components/clearCartModal/index.less +0 -109
  196. package/es/components/booking/components/customiseItemModal/index.d.ts +0 -28
  197. package/es/components/booking/components/customiseItemModal/index.js +0 -298
  198. package/es/components/booking/components/customiseItemModal/index.less +0 -606
  199. package/es/components/booking/components/voucherModal/index.d.ts +0 -19
  200. package/es/components/booking/components/voucherModal/index.js +0 -47
  201. package/es/components/booking/components/voucherModal/index.less +0 -23
  202. package/es/components/booking/info2/cartClientCard/index.d.ts +0 -6
  203. package/es/components/booking/info2/cartClientCard/index.js +0 -343
  204. package/es/components/booking/info2/cartClientCard/index.less +0 -6
  205. package/es/components/booking/info2/cartClientCard/locales.d.ts +0 -21
  206. package/es/components/booking/info2/cartClientCard/locales.js +0 -26
  207. package/es/components/booking/info2/cartClientCard/types.d.ts +0 -13
  208. package/es/components/booking/info2/cartClientCard/types.js +0 -1
  209. package/es/components/booking/info2/cartClientCard/utils.d.ts +0 -3
  210. package/es/components/booking/info2/cartClientCard/utils.js +0 -7
  211. package/es/components/booking/info2/service/editNormalService/index.d.ts +0 -3
  212. package/es/components/booking/info2/service/editNormalService/index.js +0 -67
  213. package/es/components/ticketBooking/components/addServiceVariant/utils.d.ts +0 -8
  214. package/es/components/ticketBooking/components/addServiceVariant/utils.js +0 -191
  215. package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +0 -7
  216. package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.js +0 -33
  217. package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.less +0 -5
  218. package/es/components/ticketBooking/components/bookingDataPanel/bookingList/index.d.ts +0 -12
  219. package/es/components/ticketBooking/components/bookingDataPanel/bookingList/index.js +0 -213
  220. package/es/components/ticketBooking/components/bookingDataPanel/bookingList/index.less +0 -69
  221. package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
  222. package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.js +0 -79
  223. package/es/components/ticketBooking/components/bookingDataPanel/constants.d.ts +0 -22
  224. package/es/components/ticketBooking/components/bookingDataPanel/constants.js +0 -25
  225. package/es/components/ticketBooking/components/bookingDataPanel/index.d.ts +0 -9
  226. package/es/components/ticketBooking/components/bookingDataPanel/index.js +0 -74
  227. package/es/components/ticketBooking/components/bookingDataPanel/index.less +0 -61
  228. package/es/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.d.ts +0 -14
  229. package/es/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.js +0 -71
  230. package/es/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
  231. package/es/components/ticketBooking/components/bookingDataPanel/serve.js +0 -0
  232. package/es/components/ticketBooking/components/floatButtons/index.d.ts +0 -11
  233. package/es/components/ticketBooking/components/floatButtons/index.js +0 -19
  234. package/es/components/ticketBooking/components/floatButtons/index.less +0 -17
  235. package/es/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +0 -1
  236. package/es/components/ticketBooking/hooks/pisellos/bookingTicket.js +0 -5
  237. package/es/components/ticketBooking/hooks/pisellos/index.d.ts +0 -3
  238. package/es/components/ticketBooking/hooks/pisellos/index.js +0 -3
  239. package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +0 -25
  240. package/es/components/ticketBooking/hooks/pisellos/useCustomer.js +0 -247
  241. package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -12
  242. package/es/components/ticketBooking/hooks/pisellos/useProducts.js +0 -52
  243. package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.d.ts +0 -5
  244. package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.js +0 -30
  245. package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.d.ts +0 -5
  246. package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.js +0 -29
  247. package/es/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.d.ts +0 -2
  248. package/es/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.js +0 -49
  249. package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +0 -6
  250. package/es/components/ticketBooking/hooks/pisellos/useScanManager.js +0 -20
  251. package/es/hooks/useToast.d.ts +0 -2
  252. package/es/hooks/useToast.js +0 -9
  253. package/es/hooks/useTranslationOriginal.d.ts +0 -1
  254. package/es/hooks/useTranslationOriginal.js +0 -10
  255. package/es/plus/clientCard/index.d.ts +0 -7
  256. package/es/plus/clientCard/index.js +0 -452
  257. package/es/plus/clientCard/index.less +0 -536
  258. package/es/plus/clientCard/line/index.d.ts +0 -9
  259. package/es/plus/clientCard/line/index.js +0 -157
  260. package/es/plus/clientCard/line/index.less +0 -142
  261. package/es/plus/clientCard/locales.d.ts +0 -18
  262. package/es/plus/clientCard/locales.js +0 -17
  263. package/es/plus/clientCard/types.d.ts +0 -126
  264. package/es/plus/clientCard/types.js +0 -1
  265. package/es/plus/clientCard/utils.d.ts +0 -8
  266. package/es/plus/clientCard/utils.js +0 -59
  267. package/es/plus/clientName/index.d.ts +0 -4
  268. package/es/plus/clientName/index.js +0 -18
  269. package/es/plus/clientName/index.less +0 -10
  270. package/es/plus/clientName/type.d.ts +0 -13
  271. package/es/plus/clientName/type.js +0 -1
  272. package/es/plus/clientName/utils.d.ts +0 -2
  273. package/es/plus/clientName/utils.js +0 -18
  274. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -2
  275. package/es/plus/clinetSearch/Add/BirthdayField/index.js +0 -277
  276. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +0 -2
  277. package/es/plus/clinetSearch/Add/GenderField/index.js +0 -18
  278. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -2
  279. package/es/plus/clinetSearch/Add/PhoneField/index.js +0 -52
  280. package/es/plus/clinetSearch/Add/PhoneField/serve.d.ts +0 -2
  281. package/es/plus/clinetSearch/Add/PhoneField/serve.js +0 -166
  282. package/es/plus/clinetSearch/Add/index.d.ts +0 -18
  283. package/es/plus/clinetSearch/Add/index.js +0 -212
  284. package/es/plus/clinetSearch/Add/index.less +0 -30
  285. package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +0 -5
  286. package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.js +0 -265
  287. package/es/plus/clinetSearch/InfiniteScroll/index.d.ts +0 -2
  288. package/es/plus/clinetSearch/InfiniteScroll/index.js +0 -1
  289. package/es/plus/clinetSearch/InfiniteScroll/types.d.ts +0 -46
  290. package/es/plus/clinetSearch/InfiniteScroll/types.js +0 -1
  291. package/es/plus/clinetSearch/index.d.ts +0 -18
  292. package/es/plus/clinetSearch/index.js +0 -214
  293. package/es/plus/clinetSearch/index.less +0 -91
  294. package/es/plus/clinetSearch/locales.d.ts +0 -102
  295. package/es/plus/clinetSearch/locales.js +0 -101
  296. package/es/plus/clinetSearch/serve.d.ts +0 -1
  297. package/es/plus/clinetSearch/serve.js +0 -31
  298. package/es/plus/clinetSearch/types.d.ts +0 -49
  299. package/es/plus/clinetSearch/types.js +0 -1
  300. package/es/plus/noteModal/AddTempModal.d.ts +0 -7
  301. package/es/plus/noteModal/AddTempModal.js +0 -64
  302. package/es/plus/noteModal/index.d.ts +0 -4
  303. package/es/plus/noteModal/index.js +0 -199
  304. package/es/plus/noteModal/index.less +0 -168
  305. package/es/plus/noteModal/locales.d.ts +0 -33
  306. package/es/plus/noteModal/locales.js +0 -32
  307. package/es/plus/noteModal/types.d.ts +0 -17
  308. package/es/plus/noteModal/types.js +0 -1
  309. package/es/pro/comprehensiveSearch/camera.svg +0 -4
  310. package/es/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +0 -5
  311. package/es/pro/comprehensiveSearch/hooks/useNativeScanner.js +0 -24
  312. package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +0 -9
  313. package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.js +0 -44
  314. package/es/pro/comprehensiveSearch/index.d.ts +0 -9
  315. package/es/pro/comprehensiveSearch/index.js +0 -342
  316. package/es/pro/comprehensiveSearch/index.less +0 -323
  317. package/es/pro/comprehensiveSearch/locales.d.ts +0 -18
  318. package/es/pro/comprehensiveSearch/locales.js +0 -17
  319. package/es/pro/comprehensiveSearch/types.d.ts +0 -31
  320. package/es/pro/comprehensiveSearch/types.js +0 -1
  321. package/es/pro/numberKeyboard/index.d.ts +0 -28
  322. package/es/pro/numberKeyboard/index.js +0 -155
  323. package/es/pro/numberKeyboard/index.less +0 -25
  324. package/es/pro/numberKeyboard/locales.d.ts +0 -12
  325. package/es/pro/numberKeyboard/locales.js +0 -11
  326. package/es/pro/pisellNumberSelector/example.d.ts +0 -3
  327. package/es/pro/pisellNumberSelector/example.js +0 -68
  328. package/es/pro/pisellNumberSelector/index.d.ts +0 -26
  329. package/es/pro/pisellNumberSelector/index.js +0 -250
  330. package/es/pro/pisellNumberSelector/index.less +0 -193
  331. package/es/pro/pisellPhoneKeyboard/index.d.ts +0 -12
  332. package/es/pro/pisellPhoneKeyboard/index.js +0 -211
  333. package/es/pro/pisellPhoneKeyboard/index.less +0 -157
  334. package/es/pro/pisellPhoneKeyboard/locales.d.ts +0 -12
  335. package/es/pro/pisellPhoneKeyboard/locales.js +0 -11
  336. package/es/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.d.ts +0 -5
  337. package/es/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.js +0 -158
  338. package/es/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.less +0 -13
  339. package/es/pro/pisellPriceKeyboardModal/index.d.ts +0 -2
  340. package/es/pro/pisellPriceKeyboardModal/index.js +0 -1
  341. package/es/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
  342. package/es/pro/pisellPriceKeyboardModal/types.js +0 -1
  343. package/es/pro/pisellPriceRadio/index.d.ts +0 -26
  344. package/es/pro/pisellPriceRadio/index.js +0 -113
  345. package/es/pro/pisellPriceRadio/index.less +0 -158
  346. package/es/pro/skuDetailModal/index.d.ts +0 -5
  347. package/es/pro/skuDetailModal/index.js +0 -352
  348. package/es/pro/skuDetailModal/index.less +0 -236
  349. package/es/pro/skuDetailModal/locales.d.ts +0 -48
  350. package/es/pro/skuDetailModal/locales.js +0 -47
  351. package/es/pro/skuDetailModal/types.d.ts +0 -347
  352. package/es/pro/skuDetailModal/types.js +0 -1
  353. package/lib/components/booking/components/actionButtons/index.d.ts +0 -31
  354. package/lib/components/booking/components/actionButtons/index.js +0 -386
  355. package/lib/components/booking/components/actionButtons/index.less +0 -215
  356. package/lib/components/booking/components/clearCartModal/index.d.ts +0 -10
  357. package/lib/components/booking/components/clearCartModal/index.js +0 -80
  358. package/lib/components/booking/components/clearCartModal/index.less +0 -109
  359. package/lib/components/booking/components/customiseItemModal/index.d.ts +0 -28
  360. package/lib/components/booking/components/customiseItemModal/index.js +0 -285
  361. package/lib/components/booking/components/customiseItemModal/index.less +0 -606
  362. package/lib/components/booking/components/voucherModal/index.d.ts +0 -19
  363. package/lib/components/booking/components/voucherModal/index.js +0 -83
  364. package/lib/components/booking/components/voucherModal/index.less +0 -23
  365. package/lib/components/booking/info2/cartClientCard/index.d.ts +0 -6
  366. package/lib/components/booking/info2/cartClientCard/index.js +0 -298
  367. package/lib/components/booking/info2/cartClientCard/index.less +0 -6
  368. package/lib/components/booking/info2/cartClientCard/locales.d.ts +0 -21
  369. package/lib/components/booking/info2/cartClientCard/locales.js +0 -50
  370. package/lib/components/booking/info2/cartClientCard/types.d.ts +0 -13
  371. package/lib/components/booking/info2/cartClientCard/types.js +0 -17
  372. package/lib/components/booking/info2/cartClientCard/utils.d.ts +0 -3
  373. package/lib/components/booking/info2/cartClientCard/utils.js +0 -37
  374. package/lib/components/booking/info2/service/editNormalService/index.d.ts +0 -3
  375. package/lib/components/booking/info2/service/editNormalService/index.js +0 -100
  376. package/lib/components/ticketBooking/components/addServiceVariant/utils.d.ts +0 -8
  377. package/lib/components/ticketBooking/components/addServiceVariant/utils.js +0 -174
  378. package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +0 -7
  379. package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.js +0 -75
  380. package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.less +0 -5
  381. package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/index.d.ts +0 -12
  382. package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/index.js +0 -210
  383. package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/index.less +0 -69
  384. package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
  385. package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.js +0 -105
  386. package/lib/components/ticketBooking/components/bookingDataPanel/constants.d.ts +0 -22
  387. package/lib/components/ticketBooking/components/bookingDataPanel/constants.js +0 -57
  388. package/lib/components/ticketBooking/components/bookingDataPanel/index.d.ts +0 -9
  389. package/lib/components/ticketBooking/components/bookingDataPanel/index.js +0 -113
  390. package/lib/components/ticketBooking/components/bookingDataPanel/index.less +0 -61
  391. package/lib/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.d.ts +0 -14
  392. package/lib/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.js +0 -84
  393. package/lib/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
  394. package/lib/components/ticketBooking/components/bookingDataPanel/serve.js +0 -0
  395. package/lib/components/ticketBooking/components/floatButtons/index.d.ts +0 -11
  396. package/lib/components/ticketBooking/components/floatButtons/index.js +0 -52
  397. package/lib/components/ticketBooking/components/floatButtons/index.less +0 -17
  398. package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +0 -1
  399. package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.js +0 -33
  400. package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +0 -3
  401. package/lib/components/ticketBooking/hooks/pisellos/index.js +0 -27
  402. package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +0 -25
  403. package/lib/components/ticketBooking/hooks/pisellos/useCustomer.js +0 -147
  404. package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -12
  405. package/lib/components/ticketBooking/hooks/pisellos/useProducts.js +0 -47
  406. package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.d.ts +0 -5
  407. package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.js +0 -64
  408. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.d.ts +0 -5
  409. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.js +0 -65
  410. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.d.ts +0 -2
  411. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.js +0 -83
  412. package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +0 -6
  413. package/lib/components/ticketBooking/hooks/pisellos/useScanManager.js +0 -44
  414. package/lib/hooks/useToast.d.ts +0 -2
  415. package/lib/hooks/useToast.js +0 -42
  416. package/lib/hooks/useTranslationOriginal.d.ts +0 -1
  417. package/lib/hooks/useTranslationOriginal.js +0 -42
  418. package/lib/plus/clientCard/index.d.ts +0 -7
  419. package/lib/plus/clientCard/index.js +0 -442
  420. package/lib/plus/clientCard/index.less +0 -536
  421. package/lib/plus/clientCard/line/index.d.ts +0 -9
  422. package/lib/plus/clientCard/line/index.js +0 -153
  423. package/lib/plus/clientCard/line/index.less +0 -142
  424. package/lib/plus/clientCard/locales.d.ts +0 -18
  425. package/lib/plus/clientCard/locales.js +0 -41
  426. package/lib/plus/clientCard/types.d.ts +0 -126
  427. package/lib/plus/clientCard/types.js +0 -17
  428. package/lib/plus/clientCard/utils.d.ts +0 -8
  429. package/lib/plus/clientCard/utils.js +0 -75
  430. package/lib/plus/clientName/index.d.ts +0 -4
  431. package/lib/plus/clientName/index.js +0 -53
  432. package/lib/plus/clientName/index.less +0 -10
  433. package/lib/plus/clientName/type.d.ts +0 -13
  434. package/lib/plus/clientName/type.js +0 -17
  435. package/lib/plus/clientName/utils.d.ts +0 -2
  436. package/lib/plus/clientName/utils.js +0 -43
  437. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -2
  438. package/lib/plus/clinetSearch/Add/BirthdayField/index.js +0 -256
  439. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +0 -2
  440. package/lib/plus/clinetSearch/Add/GenderField/index.js +0 -52
  441. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -2
  442. package/lib/plus/clinetSearch/Add/PhoneField/index.js +0 -78
  443. package/lib/plus/clinetSearch/Add/PhoneField/serve.d.ts +0 -2
  444. package/lib/plus/clinetSearch/Add/PhoneField/serve.js +0 -193
  445. package/lib/plus/clinetSearch/Add/index.d.ts +0 -18
  446. package/lib/plus/clinetSearch/Add/index.js +0 -243
  447. package/lib/plus/clinetSearch/Add/index.less +0 -30
  448. package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +0 -5
  449. package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.js +0 -235
  450. package/lib/plus/clinetSearch/InfiniteScroll/index.d.ts +0 -2
  451. package/lib/plus/clinetSearch/InfiniteScroll/index.js +0 -35
  452. package/lib/plus/clinetSearch/InfiniteScroll/types.d.ts +0 -46
  453. package/lib/plus/clinetSearch/InfiniteScroll/types.js +0 -17
  454. package/lib/plus/clinetSearch/index.d.ts +0 -18
  455. package/lib/plus/clinetSearch/index.js +0 -205
  456. package/lib/plus/clinetSearch/index.less +0 -91
  457. package/lib/plus/clinetSearch/locales.d.ts +0 -102
  458. package/lib/plus/clinetSearch/locales.js +0 -125
  459. package/lib/plus/clinetSearch/serve.d.ts +0 -1
  460. package/lib/plus/clinetSearch/serve.js +0 -33
  461. package/lib/plus/clinetSearch/types.d.ts +0 -49
  462. package/lib/plus/clinetSearch/types.js +0 -17
  463. package/lib/plus/noteModal/AddTempModal.d.ts +0 -7
  464. package/lib/plus/noteModal/AddTempModal.js +0 -95
  465. package/lib/plus/noteModal/index.d.ts +0 -4
  466. package/lib/plus/noteModal/index.js +0 -199
  467. package/lib/plus/noteModal/index.less +0 -168
  468. package/lib/plus/noteModal/locales.d.ts +0 -33
  469. package/lib/plus/noteModal/locales.js +0 -56
  470. package/lib/plus/noteModal/types.d.ts +0 -17
  471. package/lib/plus/noteModal/types.js +0 -17
  472. package/lib/pro/comprehensiveSearch/camera.svg +0 -4
  473. package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +0 -5
  474. package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.js +0 -56
  475. package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +0 -9
  476. package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.js +0 -70
  477. package/lib/pro/comprehensiveSearch/index.d.ts +0 -9
  478. package/lib/pro/comprehensiveSearch/index.js +0 -259
  479. package/lib/pro/comprehensiveSearch/index.less +0 -323
  480. package/lib/pro/comprehensiveSearch/locales.d.ts +0 -18
  481. package/lib/pro/comprehensiveSearch/locales.js +0 -41
  482. package/lib/pro/comprehensiveSearch/types.d.ts +0 -31
  483. package/lib/pro/comprehensiveSearch/types.js +0 -17
  484. package/lib/pro/numberKeyboard/index.d.ts +0 -28
  485. package/lib/pro/numberKeyboard/index.js +0 -182
  486. package/lib/pro/numberKeyboard/index.less +0 -25
  487. package/lib/pro/numberKeyboard/locales.d.ts +0 -12
  488. package/lib/pro/numberKeyboard/locales.js +0 -35
  489. package/lib/pro/pisellNumberSelector/example.d.ts +0 -3
  490. package/lib/pro/pisellNumberSelector/example.js +0 -93
  491. package/lib/pro/pisellNumberSelector/index.d.ts +0 -26
  492. package/lib/pro/pisellNumberSelector/index.js +0 -270
  493. package/lib/pro/pisellNumberSelector/index.less +0 -193
  494. package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -12
  495. package/lib/pro/pisellPhoneKeyboard/index.js +0 -220
  496. package/lib/pro/pisellPhoneKeyboard/index.less +0 -157
  497. package/lib/pro/pisellPhoneKeyboard/locales.d.ts +0 -12
  498. package/lib/pro/pisellPhoneKeyboard/locales.js +0 -35
  499. package/lib/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.d.ts +0 -5
  500. package/lib/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.js +0 -158
  501. package/lib/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.less +0 -13
  502. package/lib/pro/pisellPriceKeyboardModal/index.d.ts +0 -2
  503. package/lib/pro/pisellPriceKeyboardModal/index.js +0 -35
  504. package/lib/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
  505. package/lib/pro/pisellPriceKeyboardModal/types.js +0 -17
  506. package/lib/pro/pisellPriceRadio/index.d.ts +0 -26
  507. package/lib/pro/pisellPriceRadio/index.js +0 -130
  508. package/lib/pro/pisellPriceRadio/index.less +0 -158
  509. package/lib/pro/skuDetailModal/index.d.ts +0 -5
  510. package/lib/pro/skuDetailModal/index.js +0 -311
  511. package/lib/pro/skuDetailModal/index.less +0 -236
  512. package/lib/pro/skuDetailModal/locales.d.ts +0 -48
  513. package/lib/pro/skuDetailModal/locales.js +0 -71
  514. package/lib/pro/skuDetailModal/types.d.ts +0 -347
  515. package/lib/pro/skuDetailModal/types.js +0 -17
  516. package/lowcode/client-card/fragments/cardStyle.ts +0 -63
  517. package/lowcode/client-card/fragments/nameStyle.ts +0 -34
  518. package/lowcode/client-card/fragments/pisellAvatar.ts +0 -87
  519. package/lowcode/client-card/fragments/tagConfig.ts +0 -88
  520. package/lowcode/client-card/meta.ts +0 -337
  521. package/lowcode/comprehensive-search/meta.ts +0 -261
@@ -36,7 +36,6 @@ module.exports = __toCommonJS(ticketBooking_exports);
36
36
  var import_react = __toESM(require("react"));
37
37
  var import_utils = require("@pisell/utils");
38
38
  var import_antd = require("antd");
39
- var import_materials = require("@pisell/materials");
40
39
  var import_serve = require("../../serve");
41
40
  var apis = __toESM(require("../../serve"));
42
41
  var import_dayjs = __toESM(require("dayjs"));
@@ -46,19 +45,10 @@ var import_info = __toESM(require("../../../../components/booking/info"));
46
45
  var import_utils2 = require("../../utils");
47
46
  var import_addServiceVariant = __toESM(require("../addServiceVariant"));
48
47
  var import_timeBar = __toESM(require("../timeBar"));
48
+ var import_index = require("./index.less");
49
49
  var import_utils3 = require("../../../booking/info/service2/utils");
50
50
  var import_amount = require("../../../booking/components/footer/amount");
51
51
  var import_formatProductMessage = __toESM(require("../../utils/formatProductMessage"));
52
- var import_pisellFloatingPanel = __toESM(require("../bookingDataPanel/pisellFloatingPanel"));
53
- var import_floatButtons = __toESM(require("../floatButtons"));
54
- var import_useScanGlobal = __toESM(require("../../hooks/pisellos/useScanGlobal"));
55
- var import_useScanGlobalHandle = __toESM(require("../../hooks/pisellos/useScanGlobalHandle"));
56
- var import_bookingTicket = require("../../hooks/pisellos/bookingTicket");
57
- var import_index = require("./index.less");
58
- var import_utils4 = require("../bookingDataPanel/bookingList/utils");
59
- var import_pisellos = require("../../hooks/pisellos");
60
- var import_ahooks = require("ahooks");
61
- var import_useScanManager = __toESM(require("../../hooks/pisellos/useScanManager"));
62
52
  var _formatBookingDetail = (data, modalState) => {
63
53
  var _a, _b, _c, _d;
64
54
  let {
@@ -73,8 +63,7 @@ var _formatBookingDetail = (data, modalState) => {
73
63
  note,
74
64
  payment_status,
75
65
  is_other_entrance_edited,
76
- shop_discount,
77
- relation_details = []
66
+ shop_discount
78
67
  } = data;
79
68
  const clientValue = {
80
69
  name: ((customer == null ? void 0 : customer.display_name) || "").trim() || ((customer == null ? void 0 : customer.nickname) || "").trim() || "",
@@ -113,7 +102,7 @@ var _formatBookingDetail = (data, modalState) => {
113
102
  }
114
103
  return resetD.relation_id;
115
104
  };
116
- let serviceValue = bookings.list.map((d) => {
105
+ const serviceValue = bookings.list.map((d) => {
117
106
  let { detail, product, ...resetD } = d;
118
107
  let _detail = detail || mockProduct;
119
108
  let start_date2 = (0, import_dayjs.default)(resetD.start_date + " " + resetD.start_time);
@@ -121,10 +110,7 @@ var _formatBookingDetail = (data, modalState) => {
121
110
  return {
122
111
  _id: (Math.random() + "").replace(/\D/g, "").substring(0, 11),
123
112
  ..._detail,
124
- duration: (_detail == null ? void 0 : _detail.duration) || (product == null ? void 0 : product.duration),
125
- "schedule.ids": (_detail == null ? void 0 : _detail["schedule.ids"]) || (product == null ? void 0 : product["schedule.ids"]),
126
113
  booking_id: resetD.id,
127
- isEditBooking: true,
128
114
  id: _detail.product_id,
129
115
  title: _detail.product_title,
130
116
  quantity: Number(_detail.product_quantity),
@@ -141,8 +127,6 @@ var _formatBookingDetail = (data, modalState) => {
141
127
  start_date: start_date2,
142
128
  endDate: end_date,
143
129
  end_date,
144
- holder_id: (0, import_utils2.formatHolder)(resetD),
145
- note: _detail.note,
146
130
  // 商品本身的价格
147
131
  price: Number(_detail.source_product_price),
148
132
  product_name: _detail.product_title,
@@ -165,7 +149,6 @@ var _formatBookingDetail = (data, modalState) => {
165
149
  }
166
150
  };
167
151
  });
168
- serviceValue = [...serviceValue, ...formatProductValues(relation_details)];
169
152
  let disabledEdit = (0, import_utils2.getDisabledEdit)(data);
170
153
  let channelDisabledEdit = !!is_other_entrance_edited;
171
154
  return {
@@ -204,41 +187,8 @@ var _formatBookingDetail = (data, modalState) => {
204
187
  appointment_status: bookings == null ? void 0 : bookings.appointment_status
205
188
  };
206
189
  };
207
- var formatProductValues = (data) => {
208
- return data.map((d) => {
209
- return {
210
- ...d,
211
- _id: (Math.random() + "").replace(/\D/g, "").substring(0, 11),
212
- id: d.product_id,
213
- title: d.product_title,
214
- quantity: d.product_quantity,
215
- cover: d.product_cover,
216
- price: Number(d.source_product_price),
217
- isEditBooking: true,
218
- _extend: {
219
- discount_reason: d.product_discount_reason,
220
- order_detail_id: d.order_detail_id,
221
- discount_per: d.discount_per,
222
- discount_type: d.discount_type,
223
- discountway: d.discountway,
224
- product_name: d.product_title,
225
- total: Number(d.selling_price),
226
- origin_total: Number(d.original_price),
227
- payment_price: Number(d.payment_price),
228
- price: Number(d.source_product_price),
229
- quantity: d.product_quantity,
230
- bundle_edit: 0,
231
- other: (0, import_utils2.restoreProductOtherData)(d),
232
- startDate: (0, import_dayjs.default)(),
233
- endDate: (0, import_dayjs.default)(),
234
- note: d.note
235
- },
236
- payment_price: Number(d.payment_price)
237
- };
238
- });
239
- };
240
190
  var TicketBooking = () => {
241
- var _a, _b, _c, _d, _e;
191
+ var _a, _b, _c;
242
192
  const [state, setState] = (0, import_miniRedux.useStore)();
243
193
  const engineContext = (0, import_useEngineContext.default)();
244
194
  const { props: engineProps } = engineContext.engine;
@@ -258,28 +208,8 @@ var TicketBooking = () => {
258
208
  const _listTimerRef = (0, import_react.useRef)();
259
209
  const _timerRef = (0, import_react.useRef)();
260
210
  const _callbackFnRef = (0, import_react.useRef)();
261
- const [activeBookingId, setActiveBookingId] = (0, import_react.useState)(0);
262
- const pisellFloatingPanelRef = (0, import_react.useRef)(null);
263
- const closeRef = (0, import_react.useRef)(null);
264
- const bookingTicket = (0, import_bookingTicket.useBookingTicket)();
265
- const { openScan, closeScan } = (0, import_useScanGlobal.default)();
266
- const handleScan = (0, import_useScanGlobalHandle.default)();
267
- const { enableAllScanListeners } = (0, import_useScanManager.default)();
268
- const changeCustomerToGlobalState = (0, import_ahooks.useMemoizedFn)(() => {
269
- });
270
- const { selectCustomer } = (0, import_pisellos.useCustomer)({
271
- changeCustomerToGlobalState
272
- });
273
- (0, import_react.useMemo)(() => {
274
- openScan((data) => {
275
- handleScan(data);
276
- });
277
- return () => {
278
- closeScan();
279
- };
280
- }, []);
281
211
  (0, import_react.useEffect)(() => {
282
- var _a2, _b2, _c2, _d2, _e2;
212
+ var _a2, _b2, _c2, _d, _e, _f;
283
213
  _persistentRef.current = storage.get(`drawer-booking`) === "true" ? true : isTerminal();
284
214
  if (lowcodeRef) {
285
215
  lowcodeRef.onReady(void 0);
@@ -288,10 +218,15 @@ var TicketBooking = () => {
288
218
  action({
289
219
  type: "pisell1.registerPlugin",
290
220
  data: {
291
- pluginList: ["ProductDetailPlugin", "BookingPlugin3"]
221
+ pluginList: ["ProductDetailPlugin"]
292
222
  }
293
223
  });
294
224
  }
225
+ (_a2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _a2.mountFunction(
226
+ "booking",
227
+ "scanBookingDetailResult",
228
+ _scanBookingDetailResult
229
+ );
295
230
  const off = _addVisibilityListener(() => {
296
231
  setState({
297
232
  verticalAddServiceKey: state.verticalAddServiceKey + 1
@@ -299,7 +234,7 @@ var TicketBooking = () => {
299
234
  });
300
235
  setState(
301
236
  {
302
- amountSymbol: ((_c2 = (_b2 = (_a2 = store == null ? void 0 : store.getState) == null ? void 0 : _a2.call(store)) == null ? void 0 : _b2.global) == null ? void 0 : _c2.symbol) || "$"
237
+ amountSymbol: ((_d = (_c2 = (_b2 = store == null ? void 0 : store.getState) == null ? void 0 : _b2.call(store)) == null ? void 0 : _c2.global) == null ? void 0 : _d.symbol) || "$"
303
238
  },
304
239
  () => {
305
240
  _initStateRef.current = JSON.parse(JSON.stringify(state));
@@ -308,23 +243,19 @@ var TicketBooking = () => {
308
243
  );
309
244
  _setShopOpeningHours();
310
245
  _setIntervalTime(true);
311
- (_d2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _d2.mountFunction(
312
- "bookingTicket",
313
- "clearAllCart",
246
+ (_e = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _e.mountFunction(
247
+ "booking",
248
+ "refreshBookingDetail",
314
249
  (type, orderId) => {
315
- console.log("bookingTicket.clearAllCart");
316
250
  _initFn(() => {
317
251
  });
318
- selectCustomer(null);
319
- enableAllScanListeners();
320
252
  }
321
253
  );
322
- (_e2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _e2.mountFunction(
254
+ (_f = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _f.mountFunction(
323
255
  "booking",
324
256
  "voidBooking",
325
257
  (orderId) => {
326
258
  (0, import_serve.voidAppointment)(orderId);
327
- enableAllScanListeners();
328
259
  }
329
260
  );
330
261
  return () => {
@@ -359,10 +290,10 @@ var TicketBooking = () => {
359
290
  });
360
291
  };
361
292
  (0, import_react.useEffect)(() => {
362
- var _a2, _b2, _c2, _d2, _e2, _f, _g, _h, _i, _j;
293
+ var _a2, _b2, _c2, _d, _e, _f, _g, _h, _i, _j;
363
294
  const cartItems = (_b2 = (_a2 = state == null ? void 0 : state.modalState) == null ? void 0 : _a2.service) == null ? void 0 : _b2.value;
364
295
  if (!Array.isArray(cartItems) || cartItems.length === 0) {
365
- (_d2 = (_c2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _c2.postMessageToApp) == null ? void 0 : _d2.call(_c2, {
296
+ (_d = (_c2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _c2.postMessageToApp) == null ? void 0 : _d.call(_c2, {
366
297
  module: "cds",
367
298
  key: "cartUpdate",
368
299
  data: {
@@ -392,7 +323,7 @@ var TicketBooking = () => {
392
323
  let products = [];
393
324
  for (const item of formatedProducts) {
394
325
  const { id, name, image, origin_total, total: total2, num, note, _origin } = item;
395
- (_e2 = _origin == null ? void 0 : _origin.discount_list) == null ? void 0 : _e2.forEach((dl) => {
326
+ (_e = _origin == null ? void 0 : _origin.discount_list) == null ? void 0 : _e.forEach((dl) => {
396
327
  fees.push({
397
328
  isReduce: dl.type === "good_pass",
398
329
  title: translation(dl == null ? void 0 : dl.discount.title),
@@ -498,11 +429,11 @@ var TicketBooking = () => {
498
429
  }
499
430
  });
500
431
  setTimeout(() => {
501
- var _a2, _b2, _c2, _d2, _e2;
432
+ var _a2, _b2, _c2, _d, _e;
502
433
  if ((_b2 = (_a2 = state.modalState.service) == null ? void 0 : _a2.value) == null ? void 0 : _b2.length) {
503
- let _list = (_e2 = (_c2 = state.bookingFunctions) == null ? void 0 : _c2.updateServiceDate) == null ? void 0 : _e2.call(
434
+ let _list = (_e = (_c2 = state.bookingFunctions) == null ? void 0 : _c2.updateServiceDate) == null ? void 0 : _e.call(
504
435
  _c2,
505
- (_d2 = state.modalState.service) == null ? void 0 : _d2.value,
436
+ (_d = state.modalState.service) == null ? void 0 : _d.value,
506
437
  date,
507
438
  false
508
439
  );
@@ -517,8 +448,8 @@ var TicketBooking = () => {
517
448
  }, 100);
518
449
  };
519
450
  const _setShopOpeningHours = () => {
520
- var _a2, _b2, _c2, _d2, _e2;
521
- let time = (_e2 = (_d2 = (_c2 = (_b2 = (_a2 = store == null ? void 0 : store.getState) == null ? void 0 : _a2.call(store)) == null ? void 0 : _b2.global) == null ? void 0 : _c2.shopDetail) == null ? void 0 : _d2.operating_day_boundary) == null ? void 0 : _e2.time;
451
+ var _a2, _b2, _c2, _d, _e;
452
+ let time = (_e = (_d = (_c2 = (_b2 = (_a2 = store == null ? void 0 : store.getState) == null ? void 0 : _a2.call(store)) == null ? void 0 : _b2.global) == null ? void 0 : _c2.shopDetail) == null ? void 0 : _d.operating_day_boundary) == null ? void 0 : _e.time;
522
453
  if (time) {
523
454
  localStorage.setItem("shopOpeningHours", time);
524
455
  }
@@ -634,7 +565,7 @@ var TicketBooking = () => {
634
565
  }
635
566
  };
636
567
  const _initBookingData = (type, data) => {
637
- var _a2, _b2, _c2, _d2, _e2, _f, _g;
568
+ var _a2, _b2, _c2, _d, _e, _f, _g;
638
569
  let initState = _getInitState({
639
570
  bookingDetail: null,
640
571
  bookingConfig: state.bookingConfig,
@@ -647,8 +578,7 @@ var TicketBooking = () => {
647
578
  list: state.list,
648
579
  intervalSetTime: state.intervalSetTime,
649
580
  createCount: state.createCount,
650
- bookingFunctions: state.bookingFunctions,
651
- isParallelResourcesBooking: state.isParallelResourcesBooking
581
+ bookingFunctions: state.bookingFunctions
652
582
  });
653
583
  if (type === "edit") {
654
584
  initState.bookingDetail = data;
@@ -664,7 +594,7 @@ var TicketBooking = () => {
664
594
  JSON.stringify(data)
665
595
  );
666
596
  } else {
667
- let timezone = (_f = (_e2 = (_d2 = (_c2 = store == null ? void 0 : store.getState) == null ? void 0 : _c2.call(store)) == null ? void 0 : _d2.global) == null ? void 0 : _e2.globalConfig) == null ? void 0 : _f.timezone;
597
+ let timezone = (_f = (_e = (_d = (_c2 = store == null ? void 0 : store.getState) == null ? void 0 : _c2.call(store)) == null ? void 0 : _d.global) == null ? void 0 : _e.globalConfig) == null ? void 0 : _f.timezone;
668
598
  initState.modalState.date.value = import_dayjs.default.tz(/* @__PURE__ */ new Date(), timezone);
669
599
  sessionStorage.removeItem("pisell2.booking.serviceParams");
670
600
  }
@@ -723,8 +653,7 @@ var TicketBooking = () => {
723
653
  params,
724
654
  eventBookingServiceParams,
725
655
  renderType = "booking",
726
- openRebook,
727
- isParallelResourcesBooking = true
656
+ openRebook
728
657
  } = props || {};
729
658
  setState({
730
659
  isShowInfo: false
@@ -751,7 +680,6 @@ var TicketBooking = () => {
751
680
  bookingId: bookingId || 0,
752
681
  renderType,
753
682
  openRebook,
754
- isParallelResourcesBooking,
755
683
  disableEventBookingEdit: eventBookingServiceParams == null ? void 0 : eventBookingServiceParams.disableEventBookingEdit,
756
684
  modalState: {
757
685
  ...state.modalState,
@@ -829,10 +757,8 @@ var TicketBooking = () => {
829
757
  list: state.list,
830
758
  intervalSetTime: state.intervalSetTime,
831
759
  createCount: state.createCount,
832
- bookingFunctions: state.bookingFunctions,
833
- isParallelResourcesBooking: state.isParallelResourcesBooking
760
+ bookingFunctions: state.bookingFunctions
834
761
  }),
835
- shop_discount: "0",
836
762
  loading: false,
837
763
  open: open ?? false,
838
764
  eventOpen: false,
@@ -845,7 +771,6 @@ var TicketBooking = () => {
845
771
  );
846
772
  };
847
773
  const _callback = (data, type) => {
848
- var _a2, _b2;
849
774
  if (isTerminal() && type === "checkout") {
850
775
  return;
851
776
  }
@@ -869,9 +794,6 @@ var TicketBooking = () => {
869
794
  if (!bookingId) {
870
795
  _setIntervalTime(true);
871
796
  }
872
- if ((_a2 = pisellFloatingPanelRef.current) == null ? void 0 : _a2.getIsOpen()) {
873
- (_b2 = pisellFloatingPanelRef.current) == null ? void 0 : _b2.refresh();
874
- }
875
797
  _initFn(cb);
876
798
  };
877
799
  const _refreshData = () => {
@@ -884,125 +806,64 @@ var TicketBooking = () => {
884
806
  modalState: _getInitState().modalState
885
807
  });
886
808
  };
887
- const currentDate = (0, import_react.useMemo)(() => {
888
- var _a2, _b2, _c2;
889
- return (_c2 = (_b2 = (_a2 = state.modalState) == null ? void 0 : _a2.date) == null ? void 0 : _b2.value) == null ? void 0 : _c2.format("YYYY-MM-DD");
890
- }, [(_e = (_d = state.modalState) == null ? void 0 : _d.date) == null ? void 0 : _e.value]);
891
- const floatButtons = (0, import_react.useMemo)(() => {
892
- return [
809
+ return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
810
+ "div",
811
+ {
812
+ style: {
813
+ flex: 1,
814
+ overflow: "hidden",
815
+ display: "flex",
816
+ flexDirection: "column"
817
+ }
818
+ },
819
+ /* @__PURE__ */ import_react.default.createElement("div", { style: { flex: 1, overflow: "hidden" } }, /* @__PURE__ */ import_react.default.createElement(
820
+ import_addServiceVariant.default,
893
821
  {
894
- icon: /* @__PURE__ */ import_react.default.createElement(import_materials.Iconfont, { type: "pisell2-person" }),
895
- key: "dashboard",
896
- onClick: () => {
897
- var _a2;
898
- (_a2 = pisellFloatingPanelRef.current) == null ? void 0 : _a2.open();
899
- }
822
+ globalState: {
823
+ ...state.modalState,
824
+ amountSymbol: state.amountSymbol,
825
+ bookingConfig: state.bookingConfig,
826
+ bookingDetail: state.bookingDetail,
827
+ bookingId: state.bookingId,
828
+ bookingStatus: state.bookingStatus,
829
+ apis,
830
+ action: _onAction,
831
+ callback: _callback,
832
+ locale: engineProps.locale,
833
+ modalOpen: state.open,
834
+ onRebook: _rebook,
835
+ refreshData: _refreshData,
836
+ setActiveTab: _setActiveTab,
837
+ addTimeProducts: state.addTimeProducts,
838
+ isBookingCreatePage: true,
839
+ closeAutoOpenService: true,
840
+ productExtensionType: state.productExtensionType,
841
+ isBookingTicket2: true
842
+ },
843
+ setGlobalState: _setModalState
900
844
  }
901
- ];
902
- }, []);
903
- const onMaskClick = () => {
904
- setActiveBookingId(0);
905
- };
906
- const handleCreateClick = () => {
907
- var _a2;
908
- onMaskClick();
909
- (_a2 = pisellFloatingPanelRef.current) == null ? void 0 : _a2.close();
910
- };
911
- const handleBookingClick = (booking) => {
912
- var _a2, _b2, _c2;
913
- if (activeBookingId) {
914
- onMaskClick();
915
- (_a2 = closeRef.current) == null ? void 0 : _a2.call(closeRef, "pisell2");
916
- } else {
917
- setTimeout(() => {
918
- setActiveBookingId(booking.order.id);
919
- });
920
- const time = /* @__PURE__ */ new Date();
921
- const close = action({
922
- type: "pisell1.bookingDetail",
923
- data: {
924
- component_type: (0, import_utils4.getBookingType)(booking),
925
- booking_id: booking.order.id,
926
- type: booking.parent_id === 0 ? "list" : "detail",
927
- id: booking.id,
928
- isParallelResourcesBooking: (0, import_utils2.getIsParallelResourcesBooking)(booking),
929
- preliminaryBookingDetail: {
930
- customer: (_b2 = booking == null ? void 0 : booking.order) == null ? void 0 : _b2.customer,
931
- id: booking.order.id,
932
- order_sales_channel: (_c2 = booking == null ? void 0 : booking.order) == null ? void 0 : _c2.order_sales_channel,
933
- bookings: {
934
- booking_id: booking == null ? void 0 : booking.booking_id,
935
- appointment_status: booking == null ? void 0 : booking.appointment_status,
936
- list: [{
937
- start_date: booking == null ? void 0 : booking.start_date,
938
- start_time: booking == null ? void 0 : booking.start_time
939
- }]
940
- }
941
- }
845
+ )),
846
+ /* @__PURE__ */ import_react.default.createElement(
847
+ import_timeBar.default,
848
+ {
849
+ setGlobalState: setState,
850
+ globalState: state,
851
+ onDateChange: (...args) => {
852
+ _onDateChange(...args);
942
853
  },
943
- callback: (params) => {
944
- var _a3;
945
- const calllbackTime = /* @__PURE__ */ new Date();
946
- if (calllbackTime.getTime() - time.getTime() < 500) return;
947
- if (params.type === "close") {
948
- _clearAllValue();
949
- onMaskClick();
950
- }
951
- if (params.type === "refresh") {
952
- (_a3 = pisellFloatingPanelRef.current) == null ? void 0 : _a3.refresh();
953
- }
954
- }
955
- });
956
- closeRef.current = close;
957
- }
958
- };
959
- return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "ticket-booking-left-panel" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "ticket-booking-left-panel-content" }, /* @__PURE__ */ import_react.default.createElement(
960
- import_addServiceVariant.default,
961
- {
962
- globalState: {
963
- ...state.modalState,
964
- amountSymbol: state.amountSymbol,
965
- bookingConfig: state.bookingConfig,
966
- bookingDetail: state.bookingDetail,
967
- bookingId: state.bookingId,
968
- bookingStatus: state.bookingStatus,
969
- apis,
970
- action: _onAction,
971
- callback: _callback,
972
- locale: engineProps.locale,
973
- modalOpen: state.open,
974
- onRebook: _rebook,
975
- refreshData: _refreshData,
976
- setActiveTab: _setActiveTab,
977
- addTimeProducts: state.addTimeProducts,
978
- isBookingCreatePage: true,
979
- closeAutoOpenService: true,
980
- productExtensionType: state.productExtensionType,
981
- isBookingTicket2: true
982
- },
983
- setGlobalState: _setModalState
984
- }
985
- ), /* @__PURE__ */ import_react.default.createElement(import_floatButtons.default, { items: floatButtons })), /* @__PURE__ */ import_react.default.createElement(
986
- import_timeBar.default,
987
- {
988
- onCreateClick: handleCreateClick,
989
- setGlobalState: setState,
990
- globalState: state,
991
- onDateChange: (...args) => {
992
- _onDateChange(...args);
993
- },
994
- onDateTimeChange: (...args) => {
995
- _setDataChange(...args, true);
996
- },
997
- setIntervalTime: _setIntervalTime,
998
- locale: engineProps.locale
999
- }
1000
- )), /* @__PURE__ */ import_react.default.createElement(
854
+ onDateTimeChange: (...args) => {
855
+ _setDataChange(...args, true);
856
+ },
857
+ setIntervalTime: _setIntervalTime,
858
+ locale: engineProps.locale
859
+ }
860
+ )
861
+ ), /* @__PURE__ */ import_react.default.createElement(
1001
862
  "div",
1002
863
  {
1003
864
  style: {
1004
865
  flexShrink: 0,
1005
- width: 400
866
+ width: 355
1006
867
  }
1007
868
  },
1008
869
  /* @__PURE__ */ import_react.default.createElement(
@@ -1031,12 +892,7 @@ var TicketBooking = () => {
1031
892
  setActiveTab: _setActiveTab,
1032
893
  clearAllValue: _clearAllValue,
1033
894
  drawerMask: true,
1034
- isBookingTicket2: true,
1035
- isParallelResourcesBooking: state.isParallelResourcesBooking,
1036
- onQrCodeClick: () => {
1037
- console.log("onQrCodeClick");
1038
- bookingTicket == null ? void 0 : bookingTicket.activateCamera();
1039
- }
895
+ isBookingTicket2: true
1040
896
  },
1041
897
  setGlobalState: _setModalState,
1042
898
  setState,
@@ -1049,14 +905,6 @@ var TicketBooking = () => {
1049
905
  }
1050
906
  }
1051
907
  )
1052
- ), /* @__PURE__ */ import_react.default.createElement(
1053
- import_pisellFloatingPanel.default,
1054
- {
1055
- bookingId: activeBookingId,
1056
- ref: pisellFloatingPanelRef,
1057
- currentDate,
1058
- onBookingClick: handleBookingClick
1059
- }
1060
908
  ));
1061
909
  };
1062
910
  var ticketBooking_default = TicketBooking;
@@ -1,38 +1,10 @@
1
1
  .pisell-ticket-booking-wrapper {
2
- .ticket-booking-left-panel {
3
- flex: 1;
4
- overflow: hidden;
5
- display: flex;
6
- flex-direction: column;
7
- .ticket-booking-left-panel-content {
8
- flex: 1;
9
- overflow: hidden;
10
- position: relative;
11
- }
12
- }
13
2
  .pisell-lowcode__booking-tab-pane-footer {
14
- padding: 8px 10px;
3
+ padding: 16px;
15
4
  }
16
5
  .create-booking-page-info-wrap-create {
17
6
  background-color: #1b1b1b;
18
7
  .booking-info {
19
- height: 100%;
20
- padding-top: 10px;
21
- display: flex;
22
- flex-direction: column;
23
-
24
- .pisell-lowcode__booking-service-wrap {
25
- flex: 1;
26
- overflow-y: auto;
27
- /* 隐藏滚动条 */
28
- scrollbar-width: none; /* Firefox */
29
- -ms-overflow-style: none; /* IE and Edge */
30
-
31
- &::-webkit-scrollbar {
32
- display: none;
33
- }
34
- }
35
-
36
8
  .booking-info-create-new,
37
9
  .pisell-lowcode__booking-field-title,
38
10
  .pisell-lowcode__shopping-cart-empty,
@@ -7,7 +7,6 @@ interface ITimeBarProps {
7
7
  onDateTimeChange: (date: Dayjs, timeString: string) => void;
8
8
  setIntervalTime: (value: boolean) => void;
9
9
  locale: string;
10
- onCreateClick: () => void;
11
10
  }
12
11
  declare const TimeBar: (props: ITimeBarProps) => JSX.Element;
13
12
  export default TimeBar;
@@ -42,7 +42,7 @@ var import_utils = require("@pisell/utils");
42
42
  var import_index = require("./index.less");
43
43
  var TimeBar = (props) => {
44
44
  var _a, _b;
45
- const { globalState: state, setGlobalState, locale, onCreateClick } = props;
45
+ const { globalState: state, setGlobalState, locale } = props;
46
46
  const _onClickNext = (0, import_ahooks.useMemoizedFn)(() => {
47
47
  var _a2, _b2, _c, _d;
48
48
  const currentTime = (_b2 = (_a2 = state.modalState) == null ? void 0 : _a2.date) == null ? void 0 : _b2.value;
@@ -58,8 +58,11 @@ var TimeBar = (props) => {
58
58
  (_d = props.setIntervalTime) == null ? void 0 : _d.call(props, false);
59
59
  });
60
60
  const _onClickToday = (0, import_ahooks.useMemoizedFn)(() => {
61
- var _a2;
62
- (_a2 = props.setIntervalTime) == null ? void 0 : _a2.call(props, true);
61
+ var _a2, _b2, _c, _d;
62
+ const currentTime = (_b2 = (_a2 = state.modalState) == null ? void 0 : _a2.date) == null ? void 0 : _b2.value;
63
+ const newTime = currentTime["subtract"](1, "day");
64
+ (_c = props.onDateChange) == null ? void 0 : _c.call(props, newTime, newTime.format("YYYY-MM-DD HH:mm:ss"));
65
+ (_d = props.setIntervalTime) == null ? void 0 : _d.call(props, false);
63
66
  });
64
67
  const _onClickNow = (0, import_ahooks.useMemoizedFn)(() => {
65
68
  var _a2;
@@ -139,7 +142,7 @@ var TimeBar = (props) => {
139
142
  slice: 5
140
143
  }
141
144
  )
142
- ), !state.bookingId && /* @__PURE__ */ import_react.default.createElement(
145
+ ), /* @__PURE__ */ import_react.default.createElement(
143
146
  import_antd.Button,
144
147
  {
145
148
  onClick: _onClickNow,
@@ -147,17 +150,7 @@ var TimeBar = (props) => {
147
150
  style: state.intervalSetTime ? { background: "#000", color: "#fff" } : void 0
148
151
  },
149
152
  import_utils.locales.getText("pisell2.ticket-booking.now")
150
- ), !!state.bookingId && /* @__PURE__ */ import_react.default.createElement(
151
- import_antd.Button,
152
- {
153
- onClick: () => {
154
- onCreateClick();
155
- },
156
- size: "large",
157
- type: "primary"
158
- },
159
- import_utils.locales.getText("pisell2.ticket-booking.create-new")
160
153
  ));
161
- }, [(_b = (_a = state.modalState) == null ? void 0 : _a.date) == null ? void 0 : _b.value, state.intervalSetTime, state.isTimeChange, state.isDateChange, locale, state.bookingId]);
154
+ }, [(_b = (_a = state.modalState) == null ? void 0 : _a.date) == null ? void 0 : _b.value, state.intervalSetTime, state.isTimeChange, state.isDateChange, locale]);
162
155
  };
163
156
  var timeBar_default = TimeBar;
@@ -173,50 +173,23 @@ var initialState = {
173
173
  bookingConfigParams: {
174
174
  item_type: "appointment_booking"
175
175
  },
176
- productExtensionType: [
177
- "appointment_ticket",
178
- "session_ticket",
179
- "product_appointment",
180
- "service_product",
181
- "session_product",
182
- "normal",
183
- "product_appointment"
184
- ],
185
- // 是否是平行资源预约的booking
186
- isParallelResourcesBooking: null
176
+ productExtensionType: ["appointment_ticket", "session_ticket", "product_appointment", "service_product", "session_product", "normal", "product_appointment"]
187
177
  };
188
178
  var ticketBooking_default = (props) => {
189
- var _a, _b, _c;
179
+ var _a, _b;
190
180
  const { productExtensionType, bookingConfigParams } = props;
191
181
  const storeRef = (0, import_react.useRef)(null);
192
182
  const context = (0, import_useEngineContext.default)();
193
- const { pisellos, pisellosAllModule } = (_a = context.appHelper) == null ? void 0 : _a.utils;
194
- const { BookingTicket } = pisellosAllModule || {};
195
183
  import_utils.locales.init(
196
184
  import_locales.default,
197
- ((_c = (_b = context.appHelper.utils) == null ? void 0 : _b.storage) == null ? void 0 : _c.get("umi_locale")) || "en"
185
+ ((_b = (_a = context.appHelper.utils) == null ? void 0 : _a.storage) == null ? void 0 : _b.get("umi_locale")) || "en"
198
186
  );
199
187
  (0, import_react.useLayoutEffect)(() => {
200
188
  import_utils2.request.setRequest(context.appHelper.utils.request);
201
189
  }, []);
202
190
  (0, import_react.useMemo)(() => {
203
- const store = (0, import_miniRedux.createStore)({
204
- ...(0, import_lodash.cloneDeep)(initialState),
205
- bookingConfigParams,
206
- productExtensionType
207
- });
191
+ const store = (0, import_miniRedux.createStore)({ ...(0, import_lodash.cloneDeep)(initialState), bookingConfigParams, productExtensionType });
208
192
  storeRef.current = store;
209
193
  }, []);
210
- (0, import_react.useMemo)(() => {
211
- if (BookingTicket) {
212
- pisellos == null ? void 0 : pisellos.registerModule(new BookingTicket("bookingTicket"), {
213
- initialState: {},
214
- otherParams: {
215
- cacheId: "test-cache",
216
- platform: "shop"
217
- }
218
- });
219
- }
220
- }, []);
221
194
  return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-ticket-booking-wrapper" }, /* @__PURE__ */ import_react.default.createElement(import_menuBar.default, null), /* @__PURE__ */ import_react.default.createElement(import_miniRedux.Provider, { store: storeRef.current }, /* @__PURE__ */ import_react.default.createElement(import_ticketBooking.default, null)));
222
195
  };