@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
@@ -48,24 +48,21 @@ var import_amount = require("./amount");
48
48
  var import_index = require("./index.less");
49
49
  var import_serve2 = require("./serve");
50
50
  var import_utils3 = require("./utils");
51
- var import_noteModal = __toESM(require("../../../../plus/noteModal"));
51
+ var import_voucher = __toESM(require("../voucher"));
52
52
  var import__ = require("../../../../index");
53
53
  var import_useIsBooking4Shop = require("../../hooks/useIsBooking4Shop");
54
54
  var import_utils4 = require("@pisell/utils");
55
55
  var import_dayjs = __toESM(require("dayjs"));
56
- var import_useScanManager = __toESM(require("../../../ticketBooking/hooks/pisellos/useScanManager"));
57
56
  var Footer = (props) => {
58
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
57
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
59
58
  const { state, buttons, dispatch, source } = props;
60
59
  const [showDetail, setShowDetail] = (0, import_react.useState)(false);
61
60
  const [loading, setLoading] = (0, import_react.useState)(false);
62
61
  const [checkoutLoading, setCheckoutLoading] = (0, import_react.useState)(false);
63
- const [noteModalOpen, setNoteModalOpen] = (0, import_react.useState)(false);
64
62
  const [isShowPaymentLink, setIsShowPaymentLink] = (0, import_react.useState)(false);
65
63
  const isBooking4Shop = (0, import_useIsBooking4Shop.useIsBooking4Shop)(state);
66
64
  const appointmentProductRef = (0, import_react.useRef)(null);
67
65
  const context = (0, import_useEngineContext.default)();
68
- const { disableAllScanListeners } = (0, import_useScanManager.default)();
69
66
  const { isTerminal, interaction, store, storage, businessUtils } = (_a = context.appHelper) == null ? void 0 : _a.utils;
70
67
  (0, import_react.useEffect)(() => {
71
68
  store == null ? void 0 : store.dispatch({
@@ -196,22 +193,19 @@ var Footer = (props) => {
196
193
  }
197
194
  return false;
198
195
  }, [state, params]);
199
- const isDisabledCheckOutForNegativeOrder = (0, import_react.useMemo)(() => {
200
- return total.expectAmount < 0 && state.isBookingTicket2;
201
- }, [total, state.isBookingTicket2]);
202
- const goCheckout = async (order_id, isNewOrder) => {
196
+ const hasGoodPassApp = !!((_h = businessUtils == null ? void 0 : businessUtils.getAppByModal) == null ? void 0 : _h.call(businessUtils, "goodpass"));
197
+ const hasDiscountCardApp = !!((_i = businessUtils == null ? void 0 : businessUtils.getAppByModal) == null ? void 0 : _i.call(businessUtils, "discountcard"));
198
+ console.log("has goodpass app:", hasGoodPassApp);
199
+ const goCheckout = async (order_id) => {
203
200
  var _a2, _b2;
204
201
  if (!order_id) return;
205
202
  if (isTerminal == null ? void 0 : isTerminal()) {
206
- disableAllScanListeners();
207
203
  return (_b2 = (_a2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _a2.postMessageToApp) == null ? void 0 : _b2.call(_a2, {
208
204
  module: "booking",
209
205
  key: "booking_checkout",
210
206
  data: {
211
207
  order_id,
212
- callbackType: "pisell2",
213
- // 是新创建订单传递newOrder terminal内会执行弃单逻辑 编辑订单时不走弃单逻辑
214
- newOrder: isNewOrder
208
+ callbackType: "pisell2"
215
209
  }
216
210
  });
217
211
  }
@@ -226,7 +220,6 @@ var Footer = (props) => {
226
220
  });
227
221
  };
228
222
  const handleCheckout = async () => {
229
- const isNewOrder = !state.bookingId;
230
223
  if (isEdit) {
231
224
  if ((0, import_utils2.isDayBooking)(state)) {
232
225
  const isHasDayProducts = handleDaySubmit();
@@ -236,10 +229,10 @@ var Footer = (props) => {
236
229
  type: "checkout",
237
230
  messageShow: !(isTerminal == null ? void 0 : isTerminal())
238
231
  });
239
- goCheckout((res == null ? void 0 : res.order_id) || state.bookingId, isNewOrder);
232
+ goCheckout((res == null ? void 0 : res.order_id) || state.bookingId);
240
233
  return;
241
234
  }
242
- return goCheckout(state.bookingId, isNewOrder);
235
+ return goCheckout(state.bookingId);
243
236
  };
244
237
  const handleSaveAddons = async () => {
245
238
  try {
@@ -299,7 +292,7 @@ var Footer = (props) => {
299
292
  }
300
293
  try {
301
294
  let callbackData = null;
302
- let values = (0, import_utils3.formatValues)({ ...state, ...saveOtherValue }, context);
295
+ let values = (0, import_utils3.formatValues)({ ...state, ...saveOtherValue });
303
296
  const api = state.bookingId ? editApi : createApi;
304
297
  (0, import_utils4.sendWarningLog)({
305
298
  title: "saveBooking",
@@ -403,7 +396,7 @@ var Footer = (props) => {
403
396
  onClick: () => {
404
397
  handleCheckout();
405
398
  },
406
- disabled: isDisabled || isDisabledCheckOutForNegativeOrder
399
+ disabled: isDisabled
407
400
  },
408
401
  import_utils.locales.getText("pisell2.text.checkout")
409
402
  )
@@ -531,32 +524,6 @@ var Footer = (props) => {
531
524
  )
532
525
  );
533
526
  }, [loading, isDisabled, isEdit, infoEdit, addonsEdit, state]);
534
- const handleNote = () => {
535
- setNoteModalOpen(true);
536
- };
537
- const handleNoteConfirm = (noteValue) => {
538
- dispatch({
539
- type: "setNotes",
540
- payload: {
541
- orderNote: noteValue,
542
- edit: true
543
- }
544
- });
545
- setNoteModalOpen(false);
546
- };
547
- const handleNoteDelete = () => {
548
- dispatch({
549
- type: "setNotes",
550
- payload: {
551
- orderNote: "",
552
- edit: true
553
- }
554
- });
555
- setNoteModalOpen(false);
556
- };
557
- const handleNoteCancel = () => {
558
- setNoteModalOpen(false);
559
- };
560
527
  const completeButton = (0, import_react.useMemo)(() => {
561
528
  return /* @__PURE__ */ import_react.default.createElement(
562
529
  import_antd.Button,
@@ -615,27 +582,6 @@ var Footer = (props) => {
615
582
  )
616
583
  );
617
584
  }, []);
618
- const noteButton = (0, import_react.useMemo)(() => {
619
- return /* @__PURE__ */ import_react.default.createElement(
620
- import_antd.ConfigProvider,
621
- {
622
- theme: {
623
- token: {
624
- colorPrimary: "#0d7fa9"
625
- }
626
- }
627
- },
628
- /* @__PURE__ */ import_react.default.createElement(
629
- import_antd.Button,
630
- {
631
- className: "pisell-lowcode__booking-footer-buttons-item",
632
- type: "primary",
633
- onClick: handleNote
634
- },
635
- import_utils.locales.getText("pisell2.ticket-booking.note")
636
- )
637
- );
638
- }, []);
639
585
  let buttonMap = {
640
586
  checkout: checkoutButton,
641
587
  save: saveButton,
@@ -643,8 +589,7 @@ var Footer = (props) => {
643
589
  refund: refundButton,
644
590
  paymentLink: paymentLinkButton,
645
591
  rebook: rebookButton,
646
- clearAll: clearAllButton,
647
- note: noteButton
592
+ clearAll: clearAllButton
648
593
  };
649
594
  const isShowClearAll = (0, import_react.useMemo)(() => {
650
595
  if (!state.bookingId) {
@@ -697,8 +642,8 @@ var Footer = (props) => {
697
642
  }
698
643
  if (source === "info") {
699
644
  let arr = [];
700
- if (state.isBookingTicket2) {
701
- arr.push(buttonMap.note);
645
+ if (isShowClearAll) {
646
+ arr.push(buttonMap.clearAll);
702
647
  }
703
648
  if (isCheckout) {
704
649
  if (!isTeam) {
@@ -779,7 +724,7 @@ var Footer = (props) => {
779
724
  isShowPaymentLink,
780
725
  source,
781
726
  _buttons.length,
782
- (_h = state == null ? void 0 : state.bookingDetail) == null ? void 0 : _h.payment_status
727
+ (_j = state == null ? void 0 : state.bookingDetail) == null ? void 0 : _j.payment_status
783
728
  ]);
784
729
  const isOnlyDeposit = (0, import_react.useMemo)(() => {
785
730
  var _a2, _b2, _c2, _d2;
@@ -871,7 +816,7 @@ var Footer = (props) => {
871
816
  }, [
872
817
  state.bookingId,
873
818
  state.bookingDetail,
874
- (_i = state.addons) == null ? void 0 : _i.load,
819
+ (_k = state.addons) == null ? void 0 : _k.load,
875
820
  state.renderType
876
821
  ]);
877
822
  const menuChange = (e) => {
@@ -935,24 +880,16 @@ var Footer = (props) => {
935
880
  title: (_c2 = state == null ? void 0 : state.bookingDetail) == null ? void 0 : _c2.tax_title
936
881
  }
937
882
  },
938
- // 订单折扣(优惠券等)
883
+ // 订单折扣
939
884
  {
940
885
  hidden: !state.bookingId,
941
886
  key: "discount",
942
887
  value: total.shopDiscount
943
888
  },
944
- // 手动折扣
945
- {
946
- hidden: !state.shop_discount || !!state.bookingId,
947
- key: "shop_discount",
948
- value: Number(state.shop_discount) || 0,
949
- label: import_utils.locales.getText("pisell2.text.manual-price-adjustment")
950
- },
951
889
  // 总计
952
890
  {
953
- key: "expect_amount",
954
- value: total.expectAmount,
955
- label: import_utils.locales.getText("pisell2.subtotal.total")
891
+ key: "total",
892
+ value: total.expectAmount
956
893
  },
957
894
  // 舍入金额
958
895
  {
@@ -962,7 +899,7 @@ var Footer = (props) => {
962
899
  label: import_utils.locales.getText("pisell1.text.rounding")
963
900
  }
964
901
  ];
965
- }, [total, (_j = state.bookingDetail) == null ? void 0 : _j.surcharge, state, state.bookingId]);
902
+ }, [total, (_l = state.bookingDetail) == null ? void 0 : _l.surcharge, state, state.bookingId]);
966
903
  const orderTotalList = (0, import_react.useMemo)(() => {
967
904
  return [
968
905
  // 订单已付金额
@@ -996,8 +933,8 @@ var Footer = (props) => {
996
933
  label: import_utils.locales.getText("pisell2.text.refunded-amount")
997
934
  }
998
935
  ];
999
- }, [total, (_k = state.bookingDetail) == null ? void 0 : _k.surcharge, state, state.bookingId]);
1000
- return /* @__PURE__ */ import_react.default.createElement(import_antd.Skeleton, { title: false, round: true, loading: showFooter, active: true }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-footer-total" }, /* @__PURE__ */ import_react.default.createElement("span", { className: "pisell-lowcode__booking-footer-left" }, /* @__PURE__ */ import_react.default.createElement("span", { className: "pisell-lowcode__booking-footer-left-total" }, totalText), /* @__PURE__ */ import_react.default.createElement("span", { className: "pisell-lowcode__booking-footer-left-arrears" }, arrearsText)), /* @__PURE__ */ import_react.default.createElement(
936
+ }, [total, (_m = state.bookingDetail) == null ? void 0 : _m.surcharge, state, state.bookingId]);
937
+ return /* @__PURE__ */ import_react.default.createElement(import_antd.Skeleton, { title: false, round: true, loading: showFooter, active: true }, (hasGoodPassApp || hasDiscountCardApp) && ["addons", "info"].includes(source) && !paymentRefundedStatus ? /* @__PURE__ */ import_react.default.createElement(import_voucher.default, { state, dispatch, source }) : null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-footer-total" }, /* @__PURE__ */ import_react.default.createElement("span", { className: "pisell-lowcode__booking-footer-left" }, /* @__PURE__ */ import_react.default.createElement("span", { className: "pisell-lowcode__booking-footer-left-total" }, totalText), /* @__PURE__ */ import_react.default.createElement("span", { className: "pisell-lowcode__booking-footer-left-arrears" }, arrearsText)), /* @__PURE__ */ import_react.default.createElement(
1001
938
  "span",
1002
939
  {
1003
940
  className: "pisell-lowcode__booking-footer-right",
@@ -1066,16 +1003,6 @@ var Footer = (props) => {
1066
1003
  },
1067
1004
  actionMap.orderDetail.label
1068
1005
  )
1069
- ) : null, contextHolder, /* @__PURE__ */ import_react.default.createElement(import_AppointmentProductModal.default, { ref: appointmentProductRef }), noteModalOpen && /* @__PURE__ */ import_react.default.createElement(
1070
- import_noteModal.default,
1071
- {
1072
- open: noteModalOpen,
1073
- title: import_utils.locales.getText("pisell2.text.add-order-notes"),
1074
- value: ((_l = state.notes) == null ? void 0 : _l.orderNote) || "",
1075
- onConfirm: handleNoteConfirm,
1076
- onDelete: handleNoteDelete,
1077
- onCancel: handleNoteCancel
1078
- }
1079
- ));
1006
+ ) : null, contextHolder, /* @__PURE__ */ import_react.default.createElement(import_AppointmentProductModal.default, { ref: appointmentProductRef }));
1080
1007
  };
1081
1008
  var footer_default = Footer;
@@ -1,6 +1,6 @@
1
1
  .pisell-lowcode__booking-footer-total {
2
2
  width: 100%;
3
- padding-bottom: 8px;
3
+ padding-bottom: 16px;
4
4
  display: flex;
5
5
  align-items: flex-start;
6
6
  justify-content: space-between;
@@ -15,8 +15,7 @@
15
15
  display: flex;
16
16
  flex-direction: column;
17
17
 
18
- .pisell-lowcode__booking-footer-left-total {
19
- }
18
+ .pisell-lowcode__booking-footer-left-total {}
20
19
 
21
20
  .pisell-lowcode__booking-footer-left-arrears {
22
21
  font-size: 14px;
@@ -125,7 +125,7 @@ var formatRelationDetails = (list) => {
125
125
  return (list || []).map((item) => {
126
126
  return {
127
127
  num: item.product_quantity,
128
- price: item.original_price || 0,
128
+ price: item.payment_price || 0,
129
129
  product_id: item.product_id,
130
130
  is_charge_tax: item.is_charge_tax,
131
131
  order_detail_id: item.order_detail_id
@@ -241,34 +241,30 @@ var getSourceProductPrice = (item) => {
241
241
  return price;
242
242
  };
243
243
  var formatProducts = (item, quantity) => {
244
- var _a, _b, _c, _d, _e, _f, _g;
244
+ var _a, _b, _c, _d, _e, _f;
245
245
  const total = Number(item._extend.total);
246
246
  const origin_total = Number(item._extend.origin_total);
247
247
  const discount_amount = origin_total - total;
248
248
  const discount_list = (item == null ? void 0 : item.discount_list) || [];
249
249
  const discount_type = discount_amount < 0 ? "change_price" : "discount";
250
250
  const notManualDiscount = discount_list.filter((item2) => item2.type !== "product");
251
- if (item.isCustomItem) {
252
- item.product_id = 0;
253
- }
254
251
  return {
255
- "name": item.name,
256
252
  "num": quantity || item._extend.quantity,
257
253
  "price": formatProductPrice(item),
258
254
  "source_product_price": getSourceProductPrice(item),
259
- "product_id": (item == null ? void 0 : item.product_id) || item.product_id === 0 ? item.product_id : item.id,
255
+ "product_id": (item == null ? void 0 : item.product_id) || item.id,
260
256
  "discount_amount": notManualDiscount.length > 0 ? 0 : discount_amount,
261
257
  "product_discount_reason": item._extend.discount_reason || "",
262
258
  "is_charge_tax": item.is_charge_tax,
263
- "note": ((_a = item._extend) == null ? void 0 : _a.note) || "",
259
+ "note": (item == null ? void 0 : item.note) || "",
264
260
  "discountway": item._extend.discountway || "num",
265
261
  "discount_per": item._extend.discount_per,
266
262
  "discount_type": item._extend.discount_type || discount_type,
267
263
  "order_detail_id": item._extend.order_detail_id || 0,
268
- "product_bundle": formatProductBundle((_c = (_b = item._extend) == null ? void 0 : _b.other) == null ? void 0 : _c.bundle),
264
+ "product_bundle": formatProductBundle((_b = (_a = item._extend) == null ? void 0 : _a.other) == null ? void 0 : _b.bundle),
269
265
  "bundle_edit": item._extend.bundle_edit,
270
- "product_option_item": formatProductOption((_e = (_d = item._extend) == null ? void 0 : _d.other) == null ? void 0 : _e.option),
271
- "product_variant_id": ((_g = (_f = item._extend) == null ? void 0 : _f.other) == null ? void 0 : _g.product_variant_id) || 0,
266
+ "product_option_item": formatProductOption((_d = (_c = item._extend) == null ? void 0 : _c.other) == null ? void 0 : _d.option),
267
+ "product_variant_id": ((_f = (_e = item._extend) == null ? void 0 : _e.other) == null ? void 0 : _f.product_variant_id) || 0,
272
268
  "discount_list": notManualDiscount,
273
269
  metadata: formatMetaData(item)
274
270
  };
@@ -323,14 +319,6 @@ var formatBookings = (data, values) => {
323
319
  let bookings = [];
324
320
  list.forEach((item) => {
325
321
  var _a, _b, _c, _d;
326
- if (item.isCustomItem) {
327
- bookings.push({
328
- ...item._extend,
329
- product_id: 0
330
- // 确保后端接收到的 product_id 为 0
331
- });
332
- return;
333
- }
334
322
  let start_date = item._extend.startDate.format("YYYY-MM-DD");
335
323
  let end_date = item._extend.endDate.format("YYYY-MM-DD");
336
324
  let end_time = item._extend.endDate.format("HH:mm");
@@ -370,7 +358,6 @@ var formatBookings = (data, values) => {
370
358
  "number": item._extend.capacity ? (0, import_utilsByBooking.getSumCapacity)({ cacheItem: item }) : item._extend.number || 1,
371
359
  "resources": formatResource(item),
372
360
  "metadata": formatMetaData(item),
373
- "note": item._extend.note,
374
361
  ...eventOtherParams || {},
375
362
  ...dayParams
376
363
  };
@@ -445,9 +432,9 @@ var formatValues = (state) => {
445
432
  if (!state.bookingId || isDay) {
446
433
  values.shop_note = formatNote(state);
447
434
  }
448
- if (state.shop_discount && Number(state.shop_discount) > 0) {
449
- values.shop_discount = state.shop_discount;
450
- values.shop_discount_reason = "";
435
+ if (state.bookingId) {
436
+ values.shop_discount = state.bookingDetail.shop_discount;
437
+ values.shop_discount_reason = state.bookingDetail.shop_discount_reason;
451
438
  }
452
439
  if (state.contacts) {
453
440
  values.contacts = ((_a = state.contacts) == null ? void 0 : _a.value) || [];
@@ -482,32 +469,20 @@ var formatValues = (state) => {
482
469
  };
483
470
  var checkHolderIsError = (state) => {
484
471
  var _a, _b;
485
- let errorRowKey = "";
486
472
  const holderError = state.service.value.some((item) => {
487
- var _a2, _b2, _c, _d, _e, _f;
473
+ var _a2, _b2;
488
474
  if ((0, import_utils4.isNormalProductByDurationSchedule)(item)) {
489
475
  return false;
490
476
  }
491
477
  if (item._extend.quantity === 1 && !item._extend.holder_id) {
492
- errorRowKey = (0, import_utils4.genRowKey)((_b2 = (_a2 = item == null ? void 0 : item._extend) == null ? void 0 : _a2.other) == null ? void 0 : _b2.rowKey);
493
478
  return true;
494
479
  }
495
- if (item._extend.quantity > 1 && ((_d = (_c = item._extend) == null ? void 0 : _c.holder_id) == null ? void 0 : _d.length) !== item._extend.quantity) {
496
- errorRowKey = (0, import_utils4.genRowKey)((_f = (_e = item == null ? void 0 : item._extend) == null ? void 0 : _e.other) == null ? void 0 : _f.rowKey);
480
+ if (item._extend.quantity > 1 && ((_b2 = (_a2 = item._extend) == null ? void 0 : _a2.holder_id) == null ? void 0 : _b2.length) !== item._extend.quantity) {
497
481
  return true;
498
482
  }
499
483
  return false;
500
484
  });
501
485
  const clientId = (_b = (_a = state.client) == null ? void 0 : _a.value) == null ? void 0 : _b.id;
502
- if (holderError) {
503
- const dom = document.getElementById(errorRowKey);
504
- if (dom) {
505
- dom.scrollIntoView({
506
- behavior: "smooth",
507
- block: "start"
508
- });
509
- }
510
- }
511
486
  if (holderError && (!clientId || clientId === 0 || clientId === 1)) {
512
487
  (0, import_materials.PisellToast)({
513
488
  content: import_utils5.locales.getText("pisell2.text.please-select-the-customer-first")
@@ -37,46 +37,14 @@ var import_authWrap = __toESM(require("../authWrap"));
37
37
  var import_antd = require("antd");
38
38
  var import_index = require("./index.less");
39
39
  var import_classnames = __toESM(require("classnames"));
40
- var import_useEngineContext = __toESM(require("../../../../hooks/useEngineContext"));
41
- var import_voucher = __toESM(require("../voucher"));
42
- var import_actionButtons = __toESM(require("../actionButtons"));
43
40
  var TabPane = ({
44
41
  children,
45
42
  header,
46
43
  footer,
47
44
  style,
48
45
  loading,
49
- bodyClassName,
50
- // 新增 props 用于传递 booking 相关数据
51
- state,
52
- dispatch,
53
- source
46
+ bodyClassName
54
47
  }) => {
55
- var _a, _b, _c, _d, _e, _f;
56
- const context = (0, import_useEngineContext.default)();
57
- const { businessUtils } = ((_a = context.appHelper) == null ? void 0 : _a.utils) || {};
58
- const hasGoodPassApp = !!((_b = businessUtils == null ? void 0 : businessUtils.getAppByModal) == null ? void 0 : _b.call(businessUtils, "goodpass"));
59
- const hasDiscountCardApp = !!((_c = businessUtils == null ? void 0 : businessUtils.getAppByModal) == null ? void 0 : _c.call(businessUtils, "discountcard"));
60
- const paymentRefundedStatus = (0, import_react.useMemo)(() => {
61
- var _a2;
62
- return ["partially_refunded", "refunded"].includes(
63
- (_a2 = state == null ? void 0 : state.bookingDetail) == null ? void 0 : _a2.payment_status
64
- );
65
- }, [state == null ? void 0 : state.bookingDetail]);
66
- const voucherBaseCondition = (hasGoodPassApp || hasDiscountCardApp) && ["addons", "info"].includes(source) && !paymentRefundedStatus;
67
- const shouldShowTerminalVoucher = voucherBaseCondition && (state == null ? void 0 : state.isBookingTicket2);
68
- const shouldShowFooterVoucher = voucherBaseCondition && !(state == null ? void 0 : state.isBookingTicket2);
69
- const addNote = (noteValue) => {
70
- if (dispatch) {
71
- dispatch({
72
- type: "setNotes",
73
- payload: {
74
- orderNote: noteValue,
75
- edit: true
76
- }
77
- });
78
- }
79
- };
80
48
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-tab-pane-wrap", style }, /* @__PURE__ */ import_react.default.createElement(
81
49
  "div",
82
50
  {
@@ -102,32 +70,11 @@ var TabPane = ({
102
70
  },
103
71
  children
104
72
  )
105
- ), state && dispatch && (state == null ? void 0 : state.isBookingTicket2) && /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-tab-pane-voucher-section" }, /* @__PURE__ */ import_react.default.createElement(import_actionButtons.default, { state, dispatch })), /* @__PURE__ */ import_react.default.createElement(
73
+ ), /* @__PURE__ */ import_react.default.createElement(
106
74
  import_authWrap.default,
107
75
  {
108
- show: !!footer || shouldShowFooterVoucher,
109
- trueRender: /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-tab-pane-footer" }, shouldShowFooterVoucher && state && dispatch && /* @__PURE__ */ import_react.default.createElement(
110
- import_voucher.default,
111
- {
112
- state: {
113
- ...state,
114
- service: {
115
- ...state.service || {},
116
- value: ((_d = state.service) == null ? void 0 : _d.value) || []
117
- },
118
- addons: {
119
- ...state.addons || {},
120
- value: ((_e = state.addons) == null ? void 0 : _e.value) || []
121
- },
122
- client: {
123
- ...state.client || {},
124
- value: ((_f = state.client) == null ? void 0 : _f.value) || {}
125
- }
126
- },
127
- dispatch,
128
- source
129
- }
130
- ), footer)
76
+ show: !!footer,
77
+ trueRender: /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-tab-pane-footer" }, footer)
131
78
  }
132
79
  )));
133
80
  };
@@ -5,6 +5,7 @@
5
5
  position: relative;
6
6
  display: flex;
7
7
  flex-direction: column;
8
+
8
9
  }
9
10
 
10
11
  .pisell-lowcode__booking-tab-pane-title {
@@ -29,8 +30,6 @@
29
30
  flex: 1;
30
31
  overflow: auto;
31
32
  padding: 0 32px;
32
- // 为 voucher-section 预留空间
33
- padding-bottom: 120px;
34
33
 
35
34
  .pisell-lowcode__booking-tab-pane-label {
36
35
  font-size: 16px;
@@ -46,79 +45,6 @@
46
45
  }
47
46
  }
48
47
 
49
- // Voucher 和功能按钮区域
50
- .pisell-lowcode__booking-tab-pane-voucher-section {
51
- display: flex;
52
- flex-direction: column;
53
- padding: 10px;
54
- position: relative;
55
- z-index: 3;
56
- background-color: #1b1b1b;
57
- box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06);
58
-
59
- .pisell-lowcode__booking-footer-voucher-container {
60
- background: var(--base-white, #FFF);
61
- padding: 4px;
62
- border-radius: 8px;
63
- }
64
-
65
- // ActionButtons 在 voucher-section 中的样式
66
- .pisell-lowcode__action-buttons {
67
- margin-top: 8px;
68
- // 确保按钮可见
69
- .action-button {
70
- // 重要:确保文字颜色在深色背景下可见
71
- color: white !important;
72
-
73
- &:hover:not(:disabled) {
74
- color: white !important;
75
- }
76
- }
77
- }
78
- }
79
-
80
- // 订单备注区域
81
- .pisell-lowcode__booking-tab-pane-notes-section {
82
- background-color: #1b1b1b;
83
- position: relative;
84
- z-index: 3;
85
-
86
- .pisell-lowcode__booking-notes {
87
- background: var(--base-white, #FFF);
88
- padding: 12px;
89
- width: 100%;
90
-
91
- .pisell-lowcode__booking-notes-label {
92
- font-weight: 500;
93
- color: #333;
94
- margin-bottom: 8px;
95
- }
96
-
97
- .pisell-lowcode__booking-notes-input {
98
- .pisell-lowcode-input {
99
- height: 44px !important;
100
- min-height: 44px !important;
101
- border-radius: 6px;
102
- font-size: 16px;
103
- line-height: 36px;
104
- }
105
-
106
- // 备用选择器,以防万一
107
- textarea.pisell-lowcode-input {
108
- height: 44px !important;
109
- min-height: 44px !important;
110
- border-radius: 6px;
111
- resize: none;
112
- }
113
-
114
- // 去掉外层包装容器的边框
115
- .pisell-lowcode-input-textarea-affix-wrapper {
116
- border-width: 1px;
117
- }
118
- }
119
- }
120
- }
121
-
122
48
  .pisell-lowcode__booking-tab-pane-footer {
123
49
  position: sticky;
124
50
  bottom: 0;
@@ -43,7 +43,6 @@ var import_useIsBooking4Shop = require("../../hooks/useIsBooking4Shop");
43
43
  var import_index = require("./index.less");
44
44
  var import_ahooks = require("ahooks");
45
45
  var import_utils2 = require("./utils");
46
- var import_pisellos = require("../../../ticketBooking/hooks/pisellos");
47
46
  var ShopDiscountHooks = {
48
47
  onInited: "shopDiscount:onInited",
49
48
  onDestroy: "shopDiscount:onDestroy",
@@ -58,8 +57,8 @@ var services = {};
58
57
  var VoucherCard = (props) => {
59
58
  var _a, _b, _c, _d;
60
59
  const context = (0, import_useEngineContext.default)();
61
- const { state, dispatch, source, isInModal = false } = props;
62
- const [showDetail, setShowDetail] = (0, import_react.useState)(isInModal ? true : false);
60
+ const { state, dispatch, source } = props;
61
+ const [showDetail, setShowDetail] = (0, import_react.useState)(false);
63
62
  const { pisellos } = (_a = context.appHelper) == null ? void 0 : _a.utils;
64
63
  const [code, setCode] = (0, import_react.useState)("");
65
64
  const [discountList, setDisCountList] = (0, import_react.useState)([]);
@@ -68,20 +67,6 @@ var VoucherCard = (props) => {
68
67
  const isBooking4Shop = (0, import_useIsBooking4Shop.useIsBooking4Shop)(state);
69
68
  const shopDiscount = pisellos.getModule("shopDiscount");
70
69
  services = state.service;
71
- const changeCustomerToGlobalState = (0, import_ahooks.useMemoizedFn)((value) => {
72
- dispatch({
73
- type: "setClient",
74
- payload: {
75
- value,
76
- edit: true
77
- }
78
- });
79
- });
80
- const {
81
- selectCustomer
82
- } = (0, import_pisellos.useCustomer)({
83
- changeCustomerToGlobalState
84
- });
85
70
  (0, import_ahooks.useDebounceEffect)(
86
71
  () => {
87
72
  if (isBooking4Shop) {
@@ -111,8 +96,7 @@ var VoucherCard = (props) => {
111
96
  price: value.price,
112
97
  total: (_a3 = value == null ? void 0 : value._extend) == null ? void 0 : _a3.total,
113
98
  discount_list: value.discount_list,
114
- origin_total: (_b2 = value == null ? void 0 : value._extend) == null ? void 0 : _b2.origin_total,
115
- quantity: value._extend.quantity
99
+ origin_total: (_b2 = value == null ? void 0 : value._extend) == null ? void 0 : _b2.origin_total
116
100
  };
117
101
  });
118
102
  return val;
@@ -174,7 +158,12 @@ var VoucherCard = (props) => {
174
158
  (0, import_react.useEffect)(() => {
175
159
  if (!isBooking4Shop) return;
176
160
  const onScanCustomerChange = (customer) => {
177
- selectCustomer(customer);
161
+ dispatch({
162
+ type: "setClient",
163
+ payload: {
164
+ value: customer
165
+ }
166
+ });
178
167
  };
179
168
  const onDiscountListChange = (discount) => {
180
169
  setDisCountList(discount);
@@ -255,7 +244,7 @@ var VoucherCard = (props) => {
255
244
  return Number(b == null ? void 0 : b.isSelected) - Number(a == null ? void 0 : a.isSelected);
256
245
  });
257
246
  };
258
- return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-footer-voucher-container" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "voucher-title" }, /* @__PURE__ */ import_react.default.createElement("span", { className: "voucher-title-left" }, import_utils.locales.getText("pisell2.text.goodpass")), !isInModal && /* @__PURE__ */ import_react.default.createElement(
247
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-footer-voucher-container" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "voucher-title" }, /* @__PURE__ */ import_react.default.createElement("span", { className: "voucher-title-left" }, import_utils.locales.getText("pisell2.text.goodpass")), /* @__PURE__ */ import_react.default.createElement(
259
248
  "span",
260
249
  {
261
250
  className: "voucher-title-right",
@@ -278,14 +267,13 @@ var VoucherCard = (props) => {
278
267
  "div",
279
268
  {
280
269
  className: (0, import_classnames.default)("voucher-detail", {
281
- show: showDetail || isInModal
270
+ show: showDetail
282
271
  })
283
272
  },
284
273
  (availableData == null ? void 0 : availableData.length) > 0 ? /* @__PURE__ */ import_react.default.createElement(
285
274
  import_materials.PisellGoodPassCard,
286
275
  {
287
276
  style: { width: "100%" },
288
- isInModal: isInModal || false,
289
277
  dataSource: ((_d = (_c = state.service) == null ? void 0 : _c.value) == null ? void 0 : _d.length) ? availableData : [],
290
278
  mixedSort,
291
279
  onChange: (val) => {
@@ -4,7 +4,7 @@
4
4
  display: flex;
5
5
  align-items: center;
6
6
  justify-content: space-between;
7
- margin-bottom: 0px;
7
+ margin-bottom: 10px;
8
8
 
9
9
  .voucher-title-left {
10
10
  color: var(--base-black, #000);