@pisell/private-materials 6.6.1 → 6.7.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 (815) 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 +2 -2
  6. package/build/lowcode/preview.js +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +23 -8
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +23 -8
  11. package/es/components/Sales/Event/Detail.js +4 -3
  12. package/es/components/appointmentBooking/components/Cart/Item/index.js +0 -1
  13. package/es/components/appointmentBooking/components/Services/index.js +22 -8
  14. package/es/components/appointmentBooking/hooks.js +5 -0
  15. package/es/components/authentication/admin/AuthMethods/AuthMethods.less +136 -0
  16. package/es/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  17. package/es/components/authentication/admin/AuthMethods/SettingList.js +62 -0
  18. package/es/components/authentication/admin/AuthMethods/SettingList.less +85 -0
  19. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  20. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.js +121 -0
  21. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.less +163 -0
  22. package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  23. package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.js +15 -0
  24. package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  25. package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.js +152 -0
  26. package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  27. package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.js +114 -0
  28. package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  29. package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.js +170 -0
  30. package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  31. package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.js +116 -0
  32. package/es/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  33. package/es/components/authentication/admin/AuthMethods/components/index.js +5 -0
  34. package/es/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  35. package/es/components/authentication/admin/AuthMethods/constants.js +121 -0
  36. package/es/components/authentication/admin/AuthMethods/index.d.ts +8 -0
  37. package/es/components/authentication/admin/AuthMethods/index.js +233 -0
  38. package/es/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  39. package/es/components/authentication/admin/AuthMethods/locales.js +290 -0
  40. package/es/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  41. package/es/components/authentication/admin/AuthMethods/types.js +23 -0
  42. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/AuthenticationMethods.less +231 -0
  43. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  44. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +447 -0
  45. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  46. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +107 -0
  47. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  48. package/es/components/authentication/admin/ChannelAuthSetting/ChannelAuthSetting.less +111 -0
  49. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/CollectInfo.less +259 -0
  50. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  51. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +530 -0
  52. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  53. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +86 -0
  54. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  55. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  56. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +460 -0
  57. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.less +111 -0
  58. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/PageSetting.less +105 -0
  59. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
  60. package/es/{pro/multiDayTimeSelect/MultiDayTimeSelect.js → components/authentication/admin/ChannelAuthSetting/PageSetting/index.js} +149 -321
  61. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  62. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +32 -0
  63. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  64. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.js +1 -0
  65. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/PageSettingItem.less +272 -0
  66. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
  67. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +214 -0
  68. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  69. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +71 -0
  70. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  71. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.js +1 -0
  72. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  73. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +287 -0
  74. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.less +111 -0
  75. package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  76. package/es/components/authentication/admin/ChannelAuthSetting/index.js +228 -0
  77. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  78. package/es/components/authentication/admin/ChannelAuthSetting/locales.js +50 -0
  79. package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  80. package/es/components/authentication/admin/ChannelAuthSetting/types.js +1 -0
  81. package/es/components/authentication/admin/CustomerAuth/CustomerAuth.less +104 -0
  82. package/es/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
  83. package/es/components/authentication/admin/CustomerAuth/index.js +711 -0
  84. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  85. package/es/components/authentication/admin/CustomerAuth/locales.js +86 -0
  86. package/es/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  87. package/es/components/authentication/admin/CustomerAuth/types.js +1 -0
  88. package/es/components/authentication/admin/CustomerOAuthConfig/CustomerOAuthConfig.less +164 -0
  89. package/es/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  90. package/es/components/authentication/admin/CustomerOAuthConfig/index.js +545 -0
  91. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  92. package/es/components/authentication/admin/CustomerOAuthConfig/locales.js +137 -0
  93. package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  94. package/es/components/authentication/admin/CustomerOAuthConfig/types.js +1 -0
  95. package/es/components/authentication/admin/DeviceAuth/DeviceAuth.less +104 -0
  96. package/es/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
  97. package/es/components/authentication/admin/DeviceAuth/index.js +366 -0
  98. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  99. package/es/components/authentication/admin/DeviceAuth/locales.js +74 -0
  100. package/es/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  101. package/es/components/authentication/admin/DeviceAuth/types.js +1 -0
  102. package/es/components/authentication/admin/OAuthConfig/OAuthConfig.less +165 -0
  103. package/es/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  104. package/es/components/authentication/admin/OAuthConfig/index.js +347 -0
  105. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  106. package/es/components/authentication/admin/OAuthConfig/locales.js +116 -0
  107. package/es/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  108. package/es/components/authentication/admin/OAuthConfig/types.js +1 -0
  109. package/es/components/authentication/admin/OrgAdminAuth/OrgAdminAuth.less +104 -0
  110. package/es/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
  111. package/es/components/authentication/admin/OrgAdminAuth/index.js +543 -0
  112. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  113. package/es/components/authentication/admin/OrgAdminAuth/locales.js +74 -0
  114. package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  115. package/es/components/authentication/admin/OrgAdminAuth/types.js +1 -0
  116. package/es/components/authentication/admin/POSOperatorAuth/POSOperatorAuth.less +104 -0
  117. package/es/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
  118. package/es/components/authentication/admin/POSOperatorAuth/index.js +374 -0
  119. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  120. package/es/components/authentication/admin/POSOperatorAuth/locales.js +65 -0
  121. package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  122. package/es/components/authentication/admin/POSOperatorAuth/types.js +1 -0
  123. package/es/components/authentication/admin/SaaSAdminAuth/SaaSAdminAuth.less +104 -0
  124. package/es/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
  125. package/es/components/authentication/admin/SaaSAdminAuth/index.js +625 -0
  126. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  127. package/es/components/authentication/admin/SaaSAdminAuth/locales.js +74 -0
  128. package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  129. package/es/components/authentication/admin/SaaSAdminAuth/types.js +1 -0
  130. package/es/components/authentication/admin/index.d.ts +26 -0
  131. package/es/components/authentication/admin/index.js +23 -0
  132. package/es/components/booking/components/actionButtons/index.js +20 -34
  133. package/es/components/booking/components/customSelect/index.js +22 -3
  134. package/es/components/booking/components/footer/amount.js +8 -25
  135. package/es/components/booking/components/footer/index.js +32 -62
  136. package/es/components/booking/components/footer/utils.d.ts +0 -7
  137. package/es/components/booking/components/footer/utils.js +87 -101
  138. package/es/components/booking/components/voucher/index.js +9 -25
  139. package/es/components/booking/dashboard/serve.js +6 -1
  140. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  141. package/es/components/booking/forms/serve.js +12 -2
  142. package/es/components/booking/hooks/useQuotation.js +21 -69
  143. package/es/components/booking/info/client/serve.js +11 -2
  144. package/es/components/booking/info/hooks/useHolderConfig.d.ts +0 -1
  145. package/es/components/booking/info/hooks/useHolderConfig.js +2 -9
  146. package/es/components/booking/info/pet/serve.js +6 -1
  147. package/es/components/booking/info/service/Lists.d.ts +1 -1
  148. package/es/components/booking/info/service/Lists.js +4 -10
  149. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  150. package/es/components/booking/info/service/addTimeModal/serve.js +11 -1
  151. package/es/components/booking/info/service/serve.d.ts +0 -14
  152. package/es/components/booking/info/service/serve.js +18 -25
  153. package/es/components/booking/info/service2/Group/utils.js +0 -2
  154. package/es/components/booking/info/service2/utils.d.ts +33 -1
  155. package/es/components/booking/info/service2/utils.js +56 -92
  156. package/es/components/booking/info/utils.js +0 -5
  157. package/es/components/booking/info2/cartClientCard/index.js +9 -49
  158. package/es/components/booking/info2/index.js +1 -1
  159. package/es/components/booking/info2/serve.js +6 -1
  160. package/es/components/booking/info2/service/addService/index.js +89 -146
  161. package/es/components/booking/info2/service/addService/utils.d.ts +1 -9
  162. package/es/components/booking/info2/service/addService/utils.js +14 -83
  163. package/es/components/booking/info2/service/editService/index.js +57 -313
  164. package/es/components/booking/info2/utilsByBooking.js +14 -19
  165. package/es/components/booking/locales.d.ts +0 -30
  166. package/es/components/booking/locales.js +3 -39
  167. package/es/components/booking/utils.d.ts +7 -16
  168. package/es/components/booking/utils.js +37 -26
  169. package/es/components/checkout/PaymentModal.js +30 -61
  170. package/es/components/checkout/components/CashPaymentModule/index.js +7 -1
  171. package/es/components/checkout/components/ScrollableList/index.js +1 -0
  172. package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
  173. package/es/components/checkout/locales.d.ts +0 -3
  174. package/es/components/checkout/locales.js +0 -3
  175. package/es/components/eftposPay/amount.d.ts +1 -1
  176. package/es/components/eftposPay/device.d.ts +1 -1
  177. package/es/components/eftposPay/hooks.d.ts +2 -2
  178. package/es/components/eftposPay/store/index.d.ts +4 -4
  179. package/es/components/eftposPay/tyro/index.js +0 -12
  180. package/es/components/index.d.ts +3 -2
  181. package/es/components/index.js +3 -2
  182. package/es/components/list/List.js +0 -3
  183. package/es/components/pay/toB/components/MX51/index.js +44 -14
  184. package/es/components/pay/toB/types/index.d.ts +12 -0
  185. package/es/components/pay/toB/types/index.js +4 -0
  186. package/es/components/pay/toC/PaymentMethods/ApplePay/index.js +68 -35
  187. package/es/components/pay/toC/PaymentMethods/GooglePay/index.js +70 -42
  188. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.js +72 -41
  189. package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.d.ts +15 -0
  190. package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.js +143 -0
  191. package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.less +34 -0
  192. package/es/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
  193. package/es/components/{ticketBooking/components/addServiceVariant/MultiDayTimeSelectModal.js → pay/toC/PaymentMethods/hooks/index.js} +98 -91
  194. package/es/components/pay/toC/index.js +26 -22
  195. package/es/components/pay/toC/locales.d.ts +9 -0
  196. package/es/components/pay/toC/locales.js +12 -3
  197. package/es/components/pay/toC/model.d.ts +1 -0
  198. package/es/components/pay/toC/serve.d.ts +5 -0
  199. package/es/components/pay/toC/serve.js +9 -1
  200. package/es/components/pisellSelectCustomerModal/RightPanel/serve.js +5 -1
  201. package/es/components/shoppingCart/components/Cart/Product.js +3 -6
  202. package/es/components/shoppingCart/type.d.ts +0 -1
  203. package/es/components/ticketBooking/components/ProductDisplayAdapter/index.less +12 -0
  204. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +2 -0
  205. package/es/components/ticketBooking/components/addServiceVariant/addService.js +794 -419
  206. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +2 -0
  207. package/es/components/ticketBooking/components/addServiceVariant/index.js +4 -4
  208. package/es/components/ticketBooking/components/addServiceVariant/utils.js +2 -1
  209. package/es/components/ticketBooking/components/menuBar/index.js +12 -109
  210. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -2
  211. package/es/components/ticketBooking/components/ticketBooking/index.js +61 -32
  212. package/es/components/ticketBooking/components/timeBar/index.d.ts +1 -0
  213. package/es/components/ticketBooking/components/timeBar/index.js +4 -1
  214. package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +4 -0
  215. package/es/components/ticketBooking/hooks/pisellos/useProducts.js +170 -122
  216. package/es/components/ticketBooking/index.d.ts +1 -0
  217. package/es/components/ticketBooking/index.js +2 -0
  218. package/es/components/ticketBooking/serve.js +119 -17
  219. package/es/components/ticketBooking/utils/index.d.ts +2 -8
  220. package/es/components/ticketBooking/utils/index.js +28 -44
  221. package/es/components/walletList/index.js +92 -56
  222. package/es/components/walletList/serve.d.ts +4 -0
  223. package/es/components/walletList/serve.js +46 -13
  224. package/es/components/walletList/types/index.d.ts +12 -12
  225. package/es/components/walletList/types/index.js +2 -2
  226. package/es/hooks/printer.d.ts +4 -0
  227. package/es/hooks/printer.js +35 -0
  228. package/es/hooks/useEngineContext.d.ts +1 -0
  229. package/es/hooks/useEngineContext.js +7 -0
  230. package/es/index.d.ts +5 -3
  231. package/es/index.js +4 -3
  232. package/es/plus/clientCard/locales.js +3 -3
  233. package/es/plus/clinetSearch/index.js +30 -28
  234. package/es/plus/clinetSearch/locales.d.ts +0 -3
  235. package/es/plus/clinetSearch/locales.js +4 -7
  236. package/es/plus/clinetSearch/types.d.ts +0 -12
  237. package/es/plus/productSelect/CategoryTabs/index.d.ts +2 -0
  238. package/es/plus/productSelect/CategoryTabs/index.js +6 -3
  239. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  240. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
  241. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +1 -1
  242. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  243. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
  244. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  245. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
  246. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  247. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
  248. package/es/plus/productSelect/ProductCard/index.d.ts +3 -1
  249. package/es/plus/productSelect/ProductCard/index.js +10 -2
  250. package/es/plus/productSelect/components/TabsStructure/TabsStructure.less +0 -11
  251. package/es/plus/productSelect/index.d.ts +3 -2
  252. package/es/plus/productSelect/index.js +33 -8
  253. package/es/plus/productSelect/index.less +4 -0
  254. package/es/plus/walletEditor/WalletEditor.d.ts +5 -0
  255. package/es/plus/walletEditor/WalletEditor.js +316 -0
  256. package/es/plus/walletEditor/WalletEditor.less +129 -0
  257. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +8 -0
  258. package/es/plus/walletEditor/components/ImageUpload/index.js +223 -0
  259. package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  260. package/es/plus/walletEditor/components/JsonEditor/index.js +68 -0
  261. package/es/plus/walletEditor/components/JsonEditor/index.less +4 -0
  262. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  263. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.js +222 -0
  264. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.less +4 -0
  265. package/es/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
  266. package/es/plus/walletEditor/components/relationProduct/index.js +49 -0
  267. package/es/plus/walletEditor/components/relationProduct/index.less +15 -0
  268. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +37 -0
  269. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.js +193 -0
  270. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.less +110 -0
  271. package/es/plus/walletEditor/index.d.ts +3 -0
  272. package/es/plus/walletEditor/index.js +3 -0
  273. package/es/plus/walletEditor/locales.d.ts +126 -0
  274. package/es/plus/walletEditor/locales.js +143 -0
  275. package/es/plus/walletEditor/types.d.ts +52 -0
  276. package/es/plus/walletEditor/types.js +1 -0
  277. package/es/plus/walletPassGallery/components/footerButton/index.d.ts +14 -0
  278. package/es/{components/booking/info2/service/editService/Holder → plus/walletPassGallery/components/footerButton}/index.js +220 -166
  279. package/es/plus/walletPassGallery/components/footerButton/index.less +93 -0
  280. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +8 -0
  281. package/es/plus/walletPassGallery/components/passDetail/index.js +274 -0
  282. package/es/plus/walletPassGallery/components/passDetail/index.less +57 -0
  283. package/es/plus/walletPassGallery/components/passList/index.d.ts +11 -0
  284. package/es/plus/walletPassGallery/components/passList/index.js +115 -0
  285. package/es/plus/walletPassGallery/components/recharge/index.d.ts +11 -0
  286. package/es/plus/walletPassGallery/components/recharge/index.js +134 -0
  287. package/es/plus/walletPassGallery/components/recharge/index.less +16 -0
  288. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +8 -0
  289. package/es/plus/walletPassGallery/components/timelineSection/index.js +176 -0
  290. package/es/plus/walletPassGallery/components/timelineSection/index.less +67 -0
  291. package/es/plus/walletPassGallery/components/usageRule/index.d.ts +9 -0
  292. package/es/plus/walletPassGallery/components/usageRule/index.js +248 -0
  293. package/es/plus/walletPassGallery/components/usageRule/index.less +157 -0
  294. package/es/plus/walletPassGallery/index.d.ts +6 -0
  295. package/es/plus/walletPassGallery/index.js +602 -0
  296. package/es/plus/walletPassGallery/index.less +115 -0
  297. package/es/plus/walletPassGallery/locales.d.ts +270 -0
  298. package/es/plus/walletPassGallery/locales.js +279 -0
  299. package/es/plus/walletPassGallery/serve.d.ts +218 -0
  300. package/es/plus/walletPassGallery/serve.js +289 -0
  301. package/es/pro/Login2.0/AuthModal.d.ts +143 -0
  302. package/es/pro/Login2.0/AuthModal.js +630 -0
  303. package/es/pro/Login2.0/Login2.d.ts +61 -0
  304. package/es/pro/Login2.0/Login2.js +2236 -0
  305. package/es/pro/Login2.0/Register2.d.ts +65 -0
  306. package/es/pro/Login2.0/Register2.js +1502 -0
  307. package/es/pro/Login2.0/components/ForgotPasswordFlow.d.ts +31 -0
  308. package/es/pro/Login2.0/components/ForgotPasswordFlow.js +330 -0
  309. package/es/pro/Login2.0/components/LegalTerms.d.ts +8 -0
  310. package/es/pro/Login2.0/components/LegalTerms.js +51 -0
  311. package/es/pro/Login2.0/components/LegalTerms.less +74 -0
  312. package/es/pro/Login2.0/components/LoginCodeInput.d.ts +27 -0
  313. package/es/pro/Login2.0/components/LoginCodeInput.js +207 -0
  314. package/es/pro/Login2.0/components/OAuthButtonGroup.d.ts +22 -0
  315. package/es/pro/Login2.0/components/OAuthButtonGroup.js +55 -0
  316. package/es/pro/Login2.0/components/PhoneInput.d.ts +53 -0
  317. package/es/pro/Login2.0/components/PhoneInput.js +414 -0
  318. package/es/pro/Login2.0/components/PhoneInput.less +148 -0
  319. package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  320. package/es/pro/Login2.0/components/phoneValidation.js +228 -0
  321. package/es/pro/Login2.0/hooks/index.d.ts +2 -0
  322. package/es/pro/Login2.0/hooks/index.js +1 -0
  323. package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  324. package/es/pro/Login2.0/hooks/usePasswordValidationRules.js +87 -0
  325. package/es/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
  326. package/es/pro/Login2.0/hooks/useRegisterFlow.js +158 -0
  327. package/es/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
  328. package/es/pro/Login2.0/hooks/useRegistrationMethods.js +31 -0
  329. package/es/pro/Login2.0/index.js +8 -0
  330. package/es/pro/Login2.0/index.less +1002 -0
  331. package/es/pro/Login2.0/locales.d.ts +543 -0
  332. package/es/pro/Login2.0/locales.js +622 -0
  333. package/es/pro/Login2.0/shared/Header.d.ts +11 -0
  334. package/es/pro/Login2.0/shared/Header.js +42 -0
  335. package/es/pro/Login2.0/shared/OAuthButtons.d.ts +11 -0
  336. package/es/pro/Login2.0/shared/OAuthButtons.js +59 -0
  337. package/es/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  338. package/es/pro/Login2.0/shared/registerFlow.js +171 -0
  339. package/es/pro/Login2.0/shared/types.d.ts +232 -0
  340. package/es/pro/Login2.0/shared/types.js +1 -0
  341. package/es/pro/Login2.0/steps/CodeInput.d.ts +24 -0
  342. package/es/pro/Login2.0/steps/CodeInput.js +209 -0
  343. package/es/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
  344. package/es/pro/Login2.0/steps/EmailAlreadyRegistered.js +35 -0
  345. package/es/pro/Login2.0/steps/EmailLinkAlreadyUsed.d.ts +7 -0
  346. package/es/pro/Login2.0/steps/EmailLinkAlreadyUsed.js +25 -0
  347. package/es/pro/Login2.0/steps/EmailLinkExpired.d.ts +9 -0
  348. package/es/pro/Login2.0/steps/EmailLinkExpired.js +33 -0
  349. package/es/pro/Login2.0/steps/SetPassword.d.ts +19 -0
  350. package/es/pro/Login2.0/steps/SetPassword.js +148 -0
  351. package/es/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
  352. package/es/pro/Login2.0/steps/VerificationSuccess.js +35 -0
  353. package/es/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
  354. package/es/pro/Login2.0/steps/VerifyingEmailLink.js +17 -0
  355. package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
  356. package/es/pro/Login2.0/steps/WaitEmailLink.js +54 -0
  357. package/es/pro/Login2.0/steps/index.d.ts +19 -0
  358. package/es/pro/Login2.0/steps/index.js +11 -0
  359. package/es/pro/Login2.0/steps/steps.less +423 -0
  360. package/es/pro/Login2.0/types.d.ts +167 -0
  361. package/es/pro/Login2.0/types.js +1 -0
  362. package/es/pro/comprehensiveSearch/components/searchSection/locales.js +3 -3
  363. package/es/pro/comprehensiveSearch/locales.js +1 -1
  364. package/es/pro/pisellPaymentList/example.d.ts +19 -0
  365. package/es/pro/pisellPaymentList/example.js +434 -0
  366. package/es/pro/skuDetailModal/types.d.ts +0 -1
  367. package/lib/components/Sales/Event/Detail.js +3 -2
  368. package/lib/components/appointmentBooking/components/Cart/Item/index.js +0 -1
  369. package/lib/components/appointmentBooking/components/Services/index.js +8 -3
  370. package/lib/components/appointmentBooking/hooks.js +3 -0
  371. package/lib/components/authentication/admin/AuthMethods/AuthMethods.less +136 -0
  372. package/lib/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  373. package/lib/components/authentication/admin/AuthMethods/SettingList.js +75 -0
  374. package/lib/components/authentication/admin/AuthMethods/SettingList.less +85 -0
  375. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  376. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.js +126 -0
  377. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.less +163 -0
  378. package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  379. package/lib/{plus/selectHolder/components/HolderList/index.js → components/authentication/admin/AuthMethods/components/DefaultSettingsContent.js} +10 -31
  380. package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  381. package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.js +108 -0
  382. package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  383. package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.js +108 -0
  384. package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  385. package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.js +93 -0
  386. package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  387. package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.js +85 -0
  388. package/lib/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  389. package/lib/components/authentication/admin/AuthMethods/components/index.js +51 -0
  390. package/lib/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  391. package/lib/components/authentication/admin/AuthMethods/constants.js +115 -0
  392. package/lib/components/authentication/admin/AuthMethods/index.d.ts +8 -0
  393. package/lib/components/authentication/admin/AuthMethods/index.js +196 -0
  394. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  395. package/lib/components/authentication/admin/AuthMethods/locales.js +314 -0
  396. package/lib/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  397. package/lib/components/authentication/admin/AuthMethods/types.js +53 -0
  398. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/AuthenticationMethods.less +231 -0
  399. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  400. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +311 -0
  401. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  402. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +131 -0
  403. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  404. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.js +17 -0
  405. package/lib/components/authentication/admin/ChannelAuthSetting/ChannelAuthSetting.less +111 -0
  406. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/CollectInfo.less +259 -0
  407. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  408. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +410 -0
  409. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  410. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +110 -0
  411. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  412. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.js +17 -0
  413. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  414. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +383 -0
  415. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.less +111 -0
  416. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/PageSetting.less +105 -0
  417. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
  418. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/index.js +148 -0
  419. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  420. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +56 -0
  421. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  422. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.js +17 -0
  423. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/PageSettingItem.less +272 -0
  424. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
  425. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +206 -0
  426. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  427. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +95 -0
  428. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  429. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.js +17 -0
  430. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  431. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +246 -0
  432. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.less +111 -0
  433. package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  434. package/lib/components/authentication/admin/ChannelAuthSetting/index.js +177 -0
  435. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  436. package/lib/components/authentication/admin/ChannelAuthSetting/locales.js +74 -0
  437. package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  438. package/lib/components/authentication/admin/ChannelAuthSetting/types.js +17 -0
  439. package/lib/components/authentication/admin/CustomerAuth/CustomerAuth.less +104 -0
  440. package/lib/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
  441. package/lib/components/authentication/admin/CustomerAuth/index.js +507 -0
  442. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  443. package/lib/components/authentication/admin/CustomerAuth/locales.js +110 -0
  444. package/lib/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  445. package/lib/components/authentication/admin/CustomerAuth/types.js +17 -0
  446. package/lib/components/authentication/admin/CustomerOAuthConfig/CustomerOAuthConfig.less +164 -0
  447. package/lib/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  448. package/lib/components/authentication/admin/CustomerOAuthConfig/index.js +331 -0
  449. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  450. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.js +161 -0
  451. package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  452. package/lib/components/authentication/admin/CustomerOAuthConfig/types.js +17 -0
  453. package/lib/components/authentication/admin/DeviceAuth/DeviceAuth.less +104 -0
  454. package/lib/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
  455. package/lib/components/authentication/admin/DeviceAuth/index.js +254 -0
  456. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  457. package/lib/components/authentication/admin/DeviceAuth/locales.js +98 -0
  458. package/lib/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  459. package/lib/components/authentication/admin/DeviceAuth/types.js +17 -0
  460. package/lib/components/authentication/admin/OAuthConfig/OAuthConfig.less +165 -0
  461. package/lib/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  462. package/lib/components/authentication/admin/OAuthConfig/index.js +226 -0
  463. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  464. package/lib/components/authentication/admin/OAuthConfig/locales.js +140 -0
  465. package/lib/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  466. package/lib/components/authentication/admin/OAuthConfig/types.js +17 -0
  467. package/lib/components/authentication/admin/OrgAdminAuth/OrgAdminAuth.less +104 -0
  468. package/lib/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
  469. package/lib/components/authentication/admin/OrgAdminAuth/index.js +398 -0
  470. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  471. package/lib/components/authentication/admin/OrgAdminAuth/locales.js +98 -0
  472. package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  473. package/lib/components/authentication/admin/OrgAdminAuth/types.js +17 -0
  474. package/lib/components/authentication/admin/POSOperatorAuth/POSOperatorAuth.less +104 -0
  475. package/lib/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
  476. package/lib/components/authentication/admin/POSOperatorAuth/index.js +262 -0
  477. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  478. package/lib/components/authentication/admin/POSOperatorAuth/locales.js +89 -0
  479. package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  480. package/lib/components/authentication/admin/POSOperatorAuth/types.js +17 -0
  481. package/lib/components/authentication/admin/SaaSAdminAuth/SaaSAdminAuth.less +104 -0
  482. package/lib/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
  483. package/lib/components/authentication/admin/SaaSAdminAuth/index.js +481 -0
  484. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  485. package/lib/components/authentication/admin/SaaSAdminAuth/locales.js +98 -0
  486. package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  487. package/lib/components/authentication/admin/SaaSAdminAuth/types.js +17 -0
  488. package/lib/components/authentication/admin/index.d.ts +26 -0
  489. package/lib/components/authentication/admin/index.js +83 -0
  490. package/lib/components/authentication/index.d.ts +0 -0
  491. package/lib/components/authentication/index.js +0 -0
  492. package/lib/components/booking/components/actionButtons/index.js +2 -11
  493. package/lib/components/booking/components/customSelect/index.js +26 -3
  494. package/lib/components/booking/components/footer/amount.js +6 -23
  495. package/lib/components/booking/components/footer/index.js +4 -22
  496. package/lib/components/booking/components/footer/utils.d.ts +0 -7
  497. package/lib/components/booking/components/footer/utils.js +72 -79
  498. package/lib/components/booking/components/voucher/index.js +1 -10
  499. package/lib/components/booking/dashboard/serve.js +6 -1
  500. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  501. package/lib/components/booking/forms/serve.js +12 -2
  502. package/lib/components/booking/hooks/useQuotation.js +13 -45
  503. package/lib/components/booking/info/client/serve.js +13 -2
  504. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +0 -1
  505. package/lib/components/booking/info/hooks/useHolderConfig.js +3 -8
  506. package/lib/components/booking/info/pet/serve.js +6 -1
  507. package/lib/components/booking/info/service/Lists.d.ts +1 -1
  508. package/lib/components/booking/info/service/Lists.js +3 -5
  509. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  510. package/lib/components/booking/info/service/addTimeModal/serve.js +7 -1
  511. package/lib/components/booking/info/service/serve.d.ts +0 -14
  512. package/lib/components/booking/info/service/serve.js +17 -8
  513. package/lib/components/booking/info/service2/Group/utils.js +0 -2
  514. package/lib/components/booking/info/service2/utils.d.ts +33 -1
  515. package/lib/components/booking/info/service2/utils.js +29 -38
  516. package/lib/components/booking/info/utils.js +0 -4
  517. package/lib/components/booking/info2/cartClientCard/index.js +5 -34
  518. package/lib/components/booking/info2/index.js +2 -7
  519. package/lib/components/booking/info2/serve.js +6 -1
  520. package/lib/components/booking/info2/service/addService/index.js +3 -22
  521. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -9
  522. package/lib/components/booking/info2/service/addService/utils.js +11 -48
  523. package/lib/components/booking/info2/service/editService/index.js +32 -254
  524. package/lib/components/booking/info2/utilsByBooking.js +19 -26
  525. package/lib/components/booking/locales.d.ts +0 -30
  526. package/lib/components/booking/locales.js +3 -33
  527. package/lib/components/booking/utils.d.ts +7 -16
  528. package/lib/components/booking/utils.js +21 -18
  529. package/lib/components/checkout/PaymentModal.js +18 -41
  530. package/lib/components/checkout/components/CashPaymentModule/index.js +7 -1
  531. package/lib/components/checkout/components/ScrollableList/index.js +1 -0
  532. package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
  533. package/lib/components/checkout/locales.d.ts +0 -3
  534. package/lib/components/checkout/locales.js +0 -3
  535. package/lib/components/eftposPay/amount.d.ts +1 -1
  536. package/lib/components/eftposPay/device.d.ts +1 -1
  537. package/lib/components/eftposPay/hooks.d.ts +2 -2
  538. package/lib/components/eftposPay/store/index.d.ts +4 -4
  539. package/lib/components/eftposPay/tyro/index.js +0 -12
  540. package/lib/components/index.d.ts +3 -2
  541. package/lib/components/index.js +20 -1
  542. package/lib/components/list/List.js +0 -3
  543. package/lib/components/pay/toB/components/MX51/index.js +37 -12
  544. package/lib/components/pay/toB/types/index.d.ts +12 -0
  545. package/lib/components/pay/toC/PaymentMethods/ApplePay/index.js +27 -7
  546. package/lib/components/pay/toC/PaymentMethods/GooglePay/index.js +32 -8
  547. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.js +30 -4
  548. package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.d.ts +15 -0
  549. package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.js +88 -0
  550. package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.less +34 -0
  551. package/lib/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
  552. package/lib/components/pay/toC/PaymentMethods/hooks/index.js +90 -0
  553. package/lib/components/pay/toC/index.js +11 -2
  554. package/lib/components/pay/toC/locales.d.ts +9 -0
  555. package/lib/components/pay/toC/locales.js +12 -3
  556. package/lib/components/pay/toC/model.d.ts +1 -0
  557. package/lib/components/pay/toC/serve.d.ts +5 -0
  558. package/lib/components/pay/toC/serve.js +3 -0
  559. package/lib/components/pisellSelectCustomerModal/RightPanel/serve.js +8 -1
  560. package/lib/components/shoppingCart/components/Cart/Product.js +3 -7
  561. package/lib/components/shoppingCart/type.d.ts +0 -1
  562. package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.less +12 -0
  563. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +2 -0
  564. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +313 -279
  565. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +2 -0
  566. package/lib/components/ticketBooking/components/addServiceVariant/index.js +3 -5
  567. package/lib/components/ticketBooking/components/addServiceVariant/utils.js +2 -1
  568. package/lib/components/ticketBooking/components/menuBar/index.js +6 -42
  569. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -2
  570. package/lib/components/ticketBooking/components/ticketBooking/index.js +49 -12
  571. package/lib/components/ticketBooking/components/timeBar/index.d.ts +1 -0
  572. package/lib/components/ticketBooking/components/timeBar/index.js +3 -1
  573. package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +4 -0
  574. package/lib/components/ticketBooking/hooks/pisellos/useProducts.js +98 -69
  575. package/lib/components/ticketBooking/index.d.ts +1 -0
  576. package/lib/components/ticketBooking/index.js +2 -0
  577. package/lib/components/ticketBooking/serve.js +117 -15
  578. package/lib/components/ticketBooking/utils/index.d.ts +2 -8
  579. package/lib/components/ticketBooking/utils/index.js +23 -29
  580. package/lib/components/walletList/index.js +88 -47
  581. package/lib/components/walletList/serve.d.ts +4 -0
  582. package/lib/components/walletList/serve.js +12 -0
  583. package/lib/components/walletList/types/index.d.ts +12 -12
  584. package/lib/hooks/printer.d.ts +4 -0
  585. package/lib/hooks/printer.js +60 -0
  586. package/lib/hooks/useEngineContext.d.ts +1 -0
  587. package/lib/hooks/useEngineContext.js +10 -2
  588. package/lib/index.d.ts +5 -3
  589. package/lib/index.js +32 -9
  590. package/lib/plus/clientCard/locales.js +3 -3
  591. package/lib/plus/clinetSearch/index.js +8 -17
  592. package/lib/plus/clinetSearch/locales.d.ts +0 -3
  593. package/lib/plus/clinetSearch/locales.js +4 -7
  594. package/lib/plus/clinetSearch/types.d.ts +0 -12
  595. package/lib/plus/productSelect/CategoryTabs/index.d.ts +2 -0
  596. package/lib/plus/productSelect/CategoryTabs/index.js +86 -71
  597. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  598. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
  599. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +1 -1
  600. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  601. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
  602. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  603. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
  604. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  605. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
  606. package/lib/plus/productSelect/ProductCard/index.d.ts +3 -1
  607. package/lib/plus/productSelect/ProductCard/index.js +19 -2
  608. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.less +0 -11
  609. package/lib/plus/productSelect/index.d.ts +3 -2
  610. package/lib/plus/productSelect/index.js +20 -6
  611. package/lib/plus/productSelect/index.less +4 -0
  612. package/lib/plus/walletEditor/WalletEditor.d.ts +5 -0
  613. package/lib/plus/walletEditor/WalletEditor.js +354 -0
  614. package/lib/plus/walletEditor/WalletEditor.less +129 -0
  615. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +8 -0
  616. package/lib/plus/walletEditor/components/ImageUpload/index.js +201 -0
  617. package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  618. package/lib/plus/walletEditor/components/JsonEditor/index.js +89 -0
  619. package/lib/plus/walletEditor/components/JsonEditor/index.less +4 -0
  620. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  621. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.js +176 -0
  622. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.less +4 -0
  623. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
  624. package/lib/plus/walletEditor/components/relationProduct/index.js +73 -0
  625. package/lib/plus/walletEditor/components/relationProduct/index.less +15 -0
  626. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +37 -0
  627. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.js +211 -0
  628. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.less +110 -0
  629. package/lib/plus/walletEditor/index.d.ts +3 -0
  630. package/lib/plus/walletEditor/index.js +42 -0
  631. package/lib/plus/walletEditor/locales.d.ts +126 -0
  632. package/lib/plus/walletEditor/locales.js +167 -0
  633. package/lib/plus/walletEditor/types.d.ts +52 -0
  634. package/lib/plus/{selectHolder → walletEditor}/types.js +1 -1
  635. package/lib/plus/walletPassGallery/components/footerButton/index.d.ts +14 -0
  636. package/lib/plus/walletPassGallery/components/footerButton/index.js +187 -0
  637. package/lib/plus/walletPassGallery/components/footerButton/index.less +93 -0
  638. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +8 -0
  639. package/lib/plus/walletPassGallery/components/passDetail/index.js +287 -0
  640. package/lib/plus/walletPassGallery/components/passDetail/index.less +57 -0
  641. package/lib/plus/walletPassGallery/components/passList/index.d.ts +11 -0
  642. package/lib/plus/walletPassGallery/components/passList/index.js +136 -0
  643. package/lib/plus/walletPassGallery/components/recharge/index.d.ts +11 -0
  644. package/lib/plus/walletPassGallery/components/recharge/index.js +146 -0
  645. package/lib/plus/walletPassGallery/components/recharge/index.less +16 -0
  646. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +8 -0
  647. package/lib/plus/walletPassGallery/components/timelineSection/index.js +212 -0
  648. package/lib/plus/walletPassGallery/components/timelineSection/index.less +67 -0
  649. package/lib/plus/walletPassGallery/components/usageRule/index.d.ts +9 -0
  650. package/lib/plus/walletPassGallery/components/usageRule/index.js +209 -0
  651. package/lib/plus/walletPassGallery/components/usageRule/index.less +157 -0
  652. package/lib/plus/walletPassGallery/index.d.ts +6 -0
  653. package/lib/plus/walletPassGallery/index.js +498 -0
  654. package/lib/plus/walletPassGallery/index.less +115 -0
  655. package/lib/plus/walletPassGallery/locales.d.ts +270 -0
  656. package/lib/plus/walletPassGallery/locales.js +299 -0
  657. package/lib/plus/walletPassGallery/serve.d.ts +218 -0
  658. package/lib/plus/walletPassGallery/serve.js +98 -0
  659. package/lib/pro/Login2.0/AuthModal.d.ts +143 -0
  660. package/lib/pro/Login2.0/AuthModal.js +503 -0
  661. package/lib/pro/Login2.0/Login2.d.ts +61 -0
  662. package/lib/pro/Login2.0/Login2.js +1545 -0
  663. package/lib/pro/Login2.0/Register2.d.ts +65 -0
  664. package/lib/pro/Login2.0/Register2.js +1063 -0
  665. package/lib/pro/Login2.0/components/ForgotPasswordFlow.d.ts +31 -0
  666. package/lib/pro/Login2.0/components/ForgotPasswordFlow.js +213 -0
  667. package/lib/pro/Login2.0/components/LegalTerms.d.ts +8 -0
  668. package/lib/pro/Login2.0/components/LegalTerms.js +76 -0
  669. package/lib/pro/Login2.0/components/LegalTerms.less +74 -0
  670. package/lib/pro/Login2.0/components/LoginCodeInput.d.ts +27 -0
  671. package/lib/pro/Login2.0/components/LoginCodeInput.js +161 -0
  672. package/lib/pro/Login2.0/components/OAuthButtonGroup.d.ts +22 -0
  673. package/lib/pro/Login2.0/components/OAuthButtonGroup.js +87 -0
  674. package/lib/pro/Login2.0/components/PhoneInput.d.ts +53 -0
  675. package/lib/pro/Login2.0/components/PhoneInput.js +263 -0
  676. package/lib/pro/Login2.0/components/PhoneInput.less +148 -0
  677. package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  678. package/lib/pro/Login2.0/components/phoneValidation.js +153 -0
  679. package/lib/pro/Login2.0/hooks/index.d.ts +2 -0
  680. package/lib/{plus/selectHolder/utils.js → pro/Login2.0/hooks/index.js} +7 -12
  681. package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  682. package/lib/pro/Login2.0/hooks/usePasswordValidationRules.js +140 -0
  683. package/lib/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
  684. package/lib/pro/Login2.0/hooks/useRegisterFlow.js +149 -0
  685. package/lib/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
  686. package/lib/pro/Login2.0/hooks/useRegistrationMethods.js +51 -0
  687. package/lib/pro/{multiDayTimeSelect → Login2.0}/index.js +16 -6
  688. package/lib/pro/Login2.0/index.less +1002 -0
  689. package/lib/pro/Login2.0/locales.d.ts +543 -0
  690. package/lib/pro/Login2.0/locales.js +646 -0
  691. package/lib/pro/Login2.0/shared/Header.d.ts +11 -0
  692. package/lib/pro/Login2.0/shared/Header.js +81 -0
  693. package/lib/pro/Login2.0/shared/OAuthButtons.d.ts +11 -0
  694. package/lib/pro/Login2.0/shared/OAuthButtons.js +78 -0
  695. package/lib/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  696. package/lib/pro/Login2.0/shared/registerFlow.js +235 -0
  697. package/lib/pro/Login2.0/shared/types.d.ts +232 -0
  698. package/lib/pro/{multiDayTimeSelect → Login2.0/shared}/types.js +1 -1
  699. package/lib/pro/Login2.0/steps/CodeInput.d.ts +24 -0
  700. package/lib/pro/Login2.0/steps/CodeInput.js +160 -0
  701. package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
  702. package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.js +46 -0
  703. package/lib/pro/Login2.0/steps/EmailLinkAlreadyUsed.d.ts +7 -0
  704. package/lib/pro/Login2.0/steps/EmailLinkAlreadyUsed.js +51 -0
  705. package/lib/pro/Login2.0/steps/EmailLinkExpired.d.ts +9 -0
  706. package/lib/pro/Login2.0/steps/EmailLinkExpired.js +51 -0
  707. package/lib/pro/Login2.0/steps/SetPassword.d.ts +19 -0
  708. package/lib/pro/Login2.0/steps/SetPassword.js +131 -0
  709. package/lib/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
  710. package/lib/pro/Login2.0/steps/VerificationSuccess.js +49 -0
  711. package/lib/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
  712. package/lib/pro/Login2.0/steps/VerifyingEmailLink.js +41 -0
  713. package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
  714. package/lib/pro/Login2.0/steps/WaitEmailLink.js +67 -0
  715. package/lib/pro/Login2.0/steps/index.d.ts +19 -0
  716. package/lib/pro/Login2.0/steps/index.js +60 -0
  717. package/lib/pro/Login2.0/steps/steps.less +423 -0
  718. package/lib/pro/Login2.0/types.d.ts +167 -0
  719. package/lib/pro/Login2.0/types.js +17 -0
  720. package/lib/pro/comprehensiveSearch/components/searchSection/locales.js +3 -3
  721. package/lib/pro/comprehensiveSearch/locales.js +1 -1
  722. package/lib/pro/pisellPaymentList/example.d.ts +19 -0
  723. package/lib/pro/pisellPaymentList/example.js +416 -0
  724. package/lib/pro/skuDetailModal/types.d.ts +0 -1
  725. package/lowcode/admin-auth-customer-auth/meta.ts +29 -0
  726. package/lowcode/admin-auth-customer-oauth-config/meta.ts +55 -0
  727. package/lowcode/admin-auth-device-auth/meta.ts +30 -0
  728. package/lowcode/admin-auth-methods/meta.ts +385 -0
  729. package/lowcode/admin-auth-oauth-config/meta.ts +29 -0
  730. package/lowcode/admin-auth-online-shop-auth/meta.ts +29 -0
  731. package/lowcode/admin-auth-org-admin-auth/meta.ts +29 -0
  732. package/lowcode/admin-auth-pos-operator-auth/meta.ts +30 -0
  733. package/lowcode/admin-auth-saas-admin-auth/meta.ts +29 -0
  734. package/lowcode/admin-auth-saas-managerment-auth/meta.ts +30 -0
  735. package/lowcode/admin-setting-list/meta.ts +125 -0
  736. package/lowcode/authmodal/meta.ts +395 -0
  737. package/lowcode/event-select-holder/meta.ts +2 -2
  738. package/lowcode/login2/CONFIG.md +447 -0
  739. package/lowcode/login2/TEST_CONFIG.md +324 -0
  740. package/lowcode/login2/VERIFICATION_METHODS.md +364 -0
  741. package/lowcode/login2/meta.ts +560 -0
  742. package/lowcode/login2/snippets.ts +124 -0
  743. package/lowcode/pro-register/meta.ts +385 -0
  744. package/lowcode/register2/meta.ts +562 -0
  745. package/lowcode/register2/snippets.ts +257 -0
  746. package/lowcode/sortable-wallet-pass-types/meta.ts +267 -0
  747. package/lowcode/wallet-editor/meta.ts +57 -0
  748. package/lowcode/wallet-editor/snippets.ts +13 -0
  749. package/lowcode/wallet-pass-gallery/meta.ts +35 -0
  750. package/package.json +13 -13
  751. package/es/components/booking/info2/service/editService/Holder/index.d.ts +0 -12
  752. package/es/components/booking/info2/service/editService/Holder/index.less +0 -63
  753. package/es/components/booking/utils/confirmHolderModal.d.ts +0 -13
  754. package/es/components/booking/utils/confirmHolderModal.js +0 -318
  755. package/es/components/booking/utils/confirmHolderModal.less +0 -40
  756. package/es/components/booking/utils/selectHolderModal.d.ts +0 -24
  757. package/es/components/booking/utils/selectHolderModal.js +0 -407
  758. package/es/components/ticketBooking/components/addServiceVariant/MultiDayTimeSelectModal.d.ts +0 -18
  759. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +0 -3
  760. package/es/plus/selectHolder/components/ErrorTip/index.js +0 -14
  761. package/es/plus/selectHolder/components/ErrorTip/index.less +0 -51
  762. package/es/plus/selectHolder/components/HolderItem/index.d.ts +0 -6
  763. package/es/plus/selectHolder/components/HolderItem/index.js +0 -77
  764. package/es/plus/selectHolder/components/HolderItem/index.less +0 -105
  765. package/es/plus/selectHolder/components/HolderList/index.d.ts +0 -30
  766. package/es/plus/selectHolder/components/HolderList/index.js +0 -43
  767. package/es/plus/selectHolder/index.d.ts +0 -7
  768. package/es/plus/selectHolder/index.js +0 -273
  769. package/es/plus/selectHolder/index.less +0 -137
  770. package/es/plus/selectHolder/locales.d.ts +0 -24
  771. package/es/plus/selectHolder/locales.js +0 -29
  772. package/es/plus/selectHolder/types.d.ts +0 -104
  773. package/es/plus/selectHolder/utils.d.ts +0 -9
  774. package/es/plus/selectHolder/utils.js +0 -16
  775. package/es/pro/multiDayTimeSelect/MultiDayTimeSelect.d.ts +0 -9
  776. package/es/pro/multiDayTimeSelect/MultiDayTimeSelect.less +0 -8
  777. package/es/pro/multiDayTimeSelect/index.d.ts +0 -3
  778. package/es/pro/multiDayTimeSelect/index.js +0 -1
  779. package/es/pro/multiDayTimeSelect/types.d.ts +0 -28
  780. package/lib/components/booking/info2/service/editService/Holder/index.d.ts +0 -12
  781. package/lib/components/booking/info2/service/editService/Holder/index.js +0 -199
  782. package/lib/components/booking/info2/service/editService/Holder/index.less +0 -63
  783. package/lib/components/booking/utils/confirmHolderModal.d.ts +0 -13
  784. package/lib/components/booking/utils/confirmHolderModal.js +0 -253
  785. package/lib/components/booking/utils/confirmHolderModal.less +0 -40
  786. package/lib/components/booking/utils/selectHolderModal.d.ts +0 -24
  787. package/lib/components/booking/utils/selectHolderModal.js +0 -319
  788. package/lib/components/ticketBooking/components/addServiceVariant/MultiDayTimeSelectModal.d.ts +0 -18
  789. package/lib/components/ticketBooking/components/addServiceVariant/MultiDayTimeSelectModal.js +0 -118
  790. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +0 -3
  791. package/lib/plus/selectHolder/components/ErrorTip/index.js +0 -30
  792. package/lib/plus/selectHolder/components/ErrorTip/index.less +0 -51
  793. package/lib/plus/selectHolder/components/HolderItem/index.d.ts +0 -6
  794. package/lib/plus/selectHolder/components/HolderItem/index.js +0 -101
  795. package/lib/plus/selectHolder/components/HolderItem/index.less +0 -105
  796. package/lib/plus/selectHolder/components/HolderList/index.d.ts +0 -30
  797. package/lib/plus/selectHolder/index.d.ts +0 -7
  798. package/lib/plus/selectHolder/index.js +0 -223
  799. package/lib/plus/selectHolder/index.less +0 -137
  800. package/lib/plus/selectHolder/locales.d.ts +0 -24
  801. package/lib/plus/selectHolder/locales.js +0 -47
  802. package/lib/plus/selectHolder/types.d.ts +0 -104
  803. package/lib/plus/selectHolder/utils.d.ts +0 -9
  804. package/lib/pro/multiDayTimeSelect/MultiDayTimeSelect.d.ts +0 -9
  805. package/lib/pro/multiDayTimeSelect/MultiDayTimeSelect.js +0 -304
  806. package/lib/pro/multiDayTimeSelect/MultiDayTimeSelect.less +0 -8
  807. package/lib/pro/multiDayTimeSelect/index.d.ts +0 -3
  808. package/lib/pro/multiDayTimeSelect/types.d.ts +0 -28
  809. package/lowcode/select-holder/meta.ts +0 -220
  810. package/lowcode/select-holder/snippets.ts +0 -41
  811. package/lowcode/wallet/meta.ts +0 -79
  812. /package/es/{plus/selectHolder → components/authentication/admin/ChannelAuthSetting/AuthenticationMethods}/types.js +0 -0
  813. /package/es/{pro/multiDayTimeSelect → components/authentication/admin/ChannelAuthSetting/CollectInfo}/types.js +0 -0
  814. /package/es/components/{ticketBooking/components/addServiceVariant/MultiDayTimeSelectModal.less → authentication/index.d.ts} +0 -0
  815. /package/{lib/components/ticketBooking/components/addServiceVariant/MultiDayTimeSelectModal.less → es/components/authentication/index.js} +0 -0
@@ -44,9 +44,6 @@ declare const _default: {
44
44
  'pisell2.text.order-notes': string;
45
45
  'pisell2.text.add-order-notes': string;
46
46
  'pisell2.text.add-internal-notes': string;
47
- 'pisell2.text.holder-unassigned': (count: number) => string;
48
- 'pisell2.text.press-card-assign-holder': string;
49
- 'pisell2.text.skip-for-now': string;
50
47
  'pisell2.text.add-notes': string;
51
48
  'pisell2.text.notes': string;
52
49
  'pisell2.text.new-appointment': string;
@@ -201,7 +198,6 @@ declare const _default: {
201
198
  'page.booking.text.refund': string;
202
199
  'page.booking.text.confirm': string;
203
200
  'page.booking.text.go-back': string;
204
- 'page.booking.text.undo': string;
205
201
  'page.booking.text.cancel-booking': string;
206
202
  'page.booking.text.cancel-booking.msg': string;
207
203
  'page.booking.text.disabled-tickets': string;
@@ -211,7 +207,6 @@ declare const _default: {
211
207
  'page.booking.text.please-choose-an-option-2': string;
212
208
  'page.booking.text.resource.min-length-error': (x: number, y: string) => string;
213
209
  'page.booking.text.resource.check-auto-allocation-tip': string;
214
- 'page.booking.text.holder.length-error': string;
215
210
  'page.booking.text.price-extra': (origin: string, current: string) => string;
216
211
  'pisell2.booking.dashboard.groups-on-site-now': string;
217
212
  'pisell2.booking.dashboard.groups-on-site-now-tip': string;
@@ -233,8 +228,6 @@ declare const _default: {
233
228
  'pisell2.booking.info.text.clear': string;
234
229
  'pisell2.booking.info.text.clear-cart': string;
235
230
  'pisell2.booking.info.text.clear-all': string;
236
- 'pisell2.booking.info.text.add-holder': string;
237
- 'pisell2.booking.info.text.select-holder-title': string;
238
231
  'pisell2.booking.info.text.create-new': string;
239
232
  'pisell2.booking.info.text.form-agreement-yes': string;
240
233
  'pisell2.booking.info.text.form-agreement-no': string;
@@ -250,7 +243,6 @@ declare const _default: {
250
243
  'pisell2.text.missing.reservation.content': string;
251
244
  'pisell2.text.confirm': string;
252
245
  'pisell2.text.cancel': string;
253
- 'pisell2.text.close-confirm-message': string;
254
246
  'pisell2.action-buttons.clear': string;
255
247
  'pisell2.action-buttons.manuel-order': string;
256
248
  'pisell2.action-buttons.customise-item': string;
@@ -312,8 +304,6 @@ declare const _default: {
312
304
  'pisell2.text.form.link.to.another.record.more': string;
313
305
  'pisell2.booking.text.contact-info.title': string;
314
306
  'pisell2.booking.text.search-placeholder': string;
315
- 'pisell-select-holder-please-select': string;
316
- 'pisell-select-holder-selected': string;
317
307
  };
318
308
  'zh-CN': {
319
309
  'pisell2.text.refunded-amount': string;
@@ -365,9 +355,6 @@ declare const _default: {
365
355
  'pisell2.text.order-notes': string;
366
356
  'pisell2.text.add-order-notes': string;
367
357
  'pisell2.text.add-internal-notes': string;
368
- 'pisell2.text.holder-unassigned': (count: number) => string;
369
- 'pisell2.text.press-card-assign-holder': string;
370
- 'pisell2.text.skip-for-now': string;
371
358
  'pisell2.text.add-notes': string;
372
359
  'pisell2.text.notes': string;
373
360
  'pisell2.text.new-appointment': string;
@@ -517,7 +504,6 @@ declare const _default: {
517
504
  'page.booking.text.refund': string;
518
505
  'page.booking.text.confirm': string;
519
506
  'page.booking.text.go-back': string;
520
- 'page.booking.text.undo': string;
521
507
  'page.booking.text.cancel-booking': string;
522
508
  'page.booking.text.cancel-booking.msg': string;
523
509
  'page.booking.text.disabled-tickets': string;
@@ -527,7 +513,6 @@ declare const _default: {
527
513
  'page.booking.text.please-choose-an-option-2': string;
528
514
  'page.booking.text.resource.min-length-error': (x: number, y: string) => string;
529
515
  'page.booking.text.resource.check-auto-allocation-tip': string;
530
- 'page.booking.text.holder.length-error': string;
531
516
  'page.booking.text.price-extra': (origin: string, current: string) => string;
532
517
  'pisell2.booking.dashboard.groups-on-site-now': string;
533
518
  'pisell2.booking.dashboard.groups-on-site-now-tip': string;
@@ -549,8 +534,6 @@ declare const _default: {
549
534
  'pisell2.booking.info.text.clear': string;
550
535
  'pisell2.booking.info.text.clear-cart': string;
551
536
  'pisell2.booking.info.text.clear-all': string;
552
- 'pisell2.booking.info.text.add-holder': string;
553
- 'pisell2.booking.info.text.select-holder-title': string;
554
537
  'pisell2.booking.info.text.create-new': string;
555
538
  'pisell2.booking.info.text.form-agreement-yes': string;
556
539
  'pisell2.booking.info.text.form-agreement-no': string;
@@ -566,7 +549,6 @@ declare const _default: {
566
549
  'pisell2.text.missing.reservation.content': string;
567
550
  'pisell2.text.confirm': string;
568
551
  'pisell2.text.cancel': string;
569
- 'pisell2.text.close-confirm-message': string;
570
552
  'pisell2.action-buttons.clear': string;
571
553
  'pisell2.action-buttons.manuel-order': string;
572
554
  'pisell2.action-buttons.customise-item': string;
@@ -628,8 +610,6 @@ declare const _default: {
628
610
  'pisell2.text.form.link.to.another.record.more': string;
629
611
  'pisell2.booking.text.contact-info.title': string;
630
612
  'pisell2.booking.text.search-placeholder': string;
631
- 'pisell-select-holder-please-select': string;
632
- 'pisell-select-holder-selected': string;
633
613
  };
634
614
  'zh-HK': {
635
615
  'pisell2.text.refunded-amount': string;
@@ -681,9 +661,6 @@ declare const _default: {
681
661
  'pisell2.text.order-notes': string;
682
662
  'pisell2.text.add-order-notes': string;
683
663
  'pisell2.text.add-internal-notes': string;
684
- 'pisell2.text.holder-unassigned': (count: number) => string;
685
- 'pisell2.text.press-card-assign-holder': string;
686
- 'pisell2.text.skip-for-now': string;
687
664
  'pisell2.text.add-notes': string;
688
665
  'pisell2.text.notes': string;
689
666
  'pisell2.text.new-appointment': string;
@@ -833,7 +810,6 @@ declare const _default: {
833
810
  'page.booking.text.refund': string;
834
811
  'page.booking.text.confirm': string;
835
812
  'page.booking.text.go-back': string;
836
- 'page.booking.text.undo': string;
837
813
  'page.booking.text.cancel-booking': string;
838
814
  'page.booking.text.cancel-booking.msg': string;
839
815
  'page.booking.text.disabled-tickets': string;
@@ -843,7 +819,6 @@ declare const _default: {
843
819
  'page.booking.text.please-choose-an-option-2': string;
844
820
  'page.booking.text.resource.min-length-error': (x: number, y: string) => string;
845
821
  'page.booking.text.resource.check-auto-allocation-tip': string;
846
- 'page.booking.text.holder.length-error': string;
847
822
  'page.booking.text.price-extra': (origin: string, current: string) => string;
848
823
  'pisell2.booking.dashboard.groups-on-site-now': string;
849
824
  'pisell2.booking.dashboard.groups-on-site-now-tip': string;
@@ -865,8 +840,6 @@ declare const _default: {
865
840
  'pisell2.booking.info.text.clear': string;
866
841
  'pisell2.booking.info.text.clear-cart': string;
867
842
  'pisell2.booking.info.text.clear-all': string;
868
- 'pisell2.booking.info.text.add-holder': string;
869
- 'pisell2.booking.info.text.select-holder-title': string;
870
843
  'pisell2.booking.info.text.create-new': string;
871
844
  'pisell2.booking.info.text.form-agreement-yes': string;
872
845
  'pisell2.booking.info.text.form-agreement-no': string;
@@ -882,7 +855,6 @@ declare const _default: {
882
855
  'pisell2.text.missing.reservation.content': string;
883
856
  'pisell2.text.confirm': string;
884
857
  'pisell2.text.cancel': string;
885
- 'pisell2.text.close-confirm-message': string;
886
858
  'pisell2.action-buttons.clear': string;
887
859
  'pisell2.action-buttons.manuel-order': string;
888
860
  'pisell2.action-buttons.customise-item': string;
@@ -944,8 +916,6 @@ declare const _default: {
944
916
  'pisell2.text.form.link.to.another.record.more': string;
945
917
  'pisell2.booking.text.contact-info.title': string;
946
918
  'pisell2.booking.text.search-placeholder': string;
947
- 'pisell-select-holder-please-select': string;
948
- 'pisell-select-holder-selected': string;
949
919
  };
950
920
  };
951
921
  export default _default;
@@ -79,9 +79,6 @@ var locales_default = {
79
79
  "pisell2.text.order-notes": "Order notes",
80
80
  "pisell2.text.add-order-notes": "Add Order Note",
81
81
  "pisell2.text.add-internal-notes": "Add Internal note",
82
- "pisell2.text.holder-unassigned": (count) => `${count} Holder(s) Unassigned`,
83
- "pisell2.text.press-card-assign-holder": "Please Press Each Card to Assign Holder",
84
- "pisell2.text.skip-for-now": "Skip for Now",
85
82
  "pisell2.text.add-notes": "Add Notes",
86
83
  "pisell2.text.notes": "Notes",
87
84
  "pisell2.text.new-appointment": "New appointment",
@@ -257,7 +254,6 @@ var locales_default = {
257
254
  "page.booking.text.refund": "Refund",
258
255
  "page.booking.text.confirm": "Confirm",
259
256
  "page.booking.text.go-back": "Go back",
260
- "page.booking.text.undo": "Undo",
261
257
  "page.booking.text.cancel-booking": "Cancel Booking",
262
258
  "page.booking.text.cancel-booking.msg": "The action is irreversible. Please proceed with caution. ",
263
259
  "page.booking.text.disabled-tickets": "All tickets will be disabled.",
@@ -267,7 +263,6 @@ var locales_default = {
267
263
  "page.booking.text.please-choose-an-option-2": "Cancel only: Cancel the appointment without processing a refund. (You can still process a refund after cancellation if needed)",
268
264
  "page.booking.text.resource.min-length-error": (x, y) => `Select at least ${x} ${y}`,
269
265
  "page.booking.text.resource.check-auto-allocation-tip": `When checked, content will be automatically filled in without manual selection`,
270
- "page.booking.text.holder.length-error": "Please select enough holder(s)",
271
266
  "page.booking.text.price-extra": (origin, current) => `Original price of the item:${origin},Current price of the item:${current}`,
272
267
  "pisell2.booking.dashboard.groups-on-site-now": "Groups on-site now",
273
268
  "pisell2.booking.dashboard.groups-on-site-now-tip": "Tip: Total number of groups who have checked in and are currently on-site",
@@ -289,8 +284,6 @@ var locales_default = {
289
284
  "pisell2.booking.info.text.clear": "Clear",
290
285
  "pisell2.booking.info.text.clear-cart": "Clear cart",
291
286
  "pisell2.booking.info.text.clear-all": "Clear all",
292
- "pisell2.booking.info.text.add-holder": "Select",
293
- "pisell2.booking.info.text.select-holder-title": "Who would you like to book this event for?",
294
287
  "pisell2.booking.info.text.create-new": "Create new",
295
288
  "pisell2.booking.info.text.form-agreement-yes": "Yes",
296
289
  "pisell2.booking.info.text.form-agreement-no": "No",
@@ -306,7 +299,6 @@ var locales_default = {
306
299
  "pisell2.text.missing.reservation.content": "You have not selected a reservation type, Please select one before proceeding.",
307
300
  "pisell2.text.confirm": "Confirm",
308
301
  "pisell2.text.cancel": "Cancel",
309
- "pisell2.text.close-confirm-message": "Closing will discard all changes. Are you sure you want to close?",
310
302
  // Action Buttons
311
303
  "pisell2.action-buttons.clear": "Clear",
312
304
  "pisell2.action-buttons.manuel-order": "Manual\nOrder $",
@@ -380,9 +372,7 @@ var locales_default = {
380
372
  "pisell2.text.form.link.to.another.record.more": "View More",
381
373
  // 联系信息
382
374
  "pisell2.booking.text.contact-info.title": "Contact info",
383
- "pisell2.booking.text.search-placeholder": "Search Customers / Contacts",
384
- "pisell-select-holder-please-select": "Please Select",
385
- "pisell-select-holder-selected": "Selected: "
375
+ "pisell2.booking.text.search-placeholder": "Search Customers / Contacts"
386
376
  },
387
377
  "zh-CN": {
388
378
  "pisell2.text.refunded-amount": "已退金额",
@@ -434,9 +424,6 @@ var locales_default = {
434
424
  "pisell2.text.order-notes": "订单备注",
435
425
  "pisell2.text.add-order-notes": "添加订单备注",
436
426
  "pisell2.text.add-internal-notes": "添加内部备注",
437
- "pisell2.text.holder-unassigned": (count) => `${count} 个预约主体未分配`,
438
- "pisell2.text.press-card-assign-holder": "请点击每个卡片来分配预约主体",
439
- "pisell2.text.skip-for-now": "稍后处理",
440
427
  "pisell2.text.add-notes": "添加备注",
441
428
  "pisell2.text.notes": "备注",
442
429
  "pisell2.text.new-appointment": "新预约",
@@ -612,7 +599,6 @@ var locales_default = {
612
599
  "page.booking.text.refund": "退款",
613
600
  "page.booking.text.confirm": "确认",
614
601
  "page.booking.text.go-back": "返回",
615
- "page.booking.text.undo": "撤销",
616
602
  "page.booking.text.cancel-booking": "取消预约",
617
603
  "page.booking.text.cancel-booking.msg": "该操作不可撤销,请谨慎操作。",
618
604
  "page.booking.text.disabled-tickets": "所有票单将被禁用。",
@@ -622,7 +608,6 @@ var locales_default = {
622
608
  "page.booking.text.please-choose-an-option-2": "仅取消:仅取消预约,但不进行退款处理。(您仍然可以在取消后再进行退款操作)",
623
609
  "page.booking.text.resource.min-length-error": (x, y) => `至少选择${x}项${y}`,
624
610
  "page.booking.text.resource.check-auto-allocation-tip": `勾选后将自动填入内容,无需手动选择`,
625
- "page.booking.text.holder.length-error": "请选择足够的持有者",
626
611
  "page.booking.text.price-extra": (origin, current) => `商品原价:${origin},商品现价:${current}`,
627
612
  "pisell2.booking.dashboard.groups-on-site-now": "当前在场团体",
628
613
  "pisell2.booking.dashboard.groups-on-site-now-tip": "提示:已检票并在场内的团体总数",
@@ -644,8 +629,6 @@ var locales_default = {
644
629
  "pisell2.booking.info.text.clear": "清空",
645
630
  "pisell2.booking.info.text.clear-cart": "清空购物车",
646
631
  "pisell2.booking.info.text.clear-all": "清空",
647
- "pisell2.booking.info.text.add-holder": "请选择",
648
- "pisell2.booking.info.text.select-holder-title": "您想为谁预订这个活动?",
649
632
  "pisell2.booking.info.text.create-new": "新建",
650
633
  "pisell2.booking.info.text.form-agreement-yes": "是",
651
634
  "pisell2.booking.info.text.form-agreement-no": "否",
@@ -661,7 +644,6 @@ var locales_default = {
661
644
  "pisell2.text.missing.reservation.content": "您尚未选择预约类型,请在继续操作前选择。",
662
645
  "pisell2.text.confirm": "确定",
663
646
  "pisell2.text.cancel": "取消",
664
- "pisell2.text.close-confirm-message": "关闭后,已填写或操作的内容将不会保存,确定要关闭吗?",
665
647
  // Action Buttons
666
648
  "pisell2.action-buttons.clear": "清空",
667
649
  "pisell2.action-buttons.manuel-order": "手动\n订单 $",
@@ -735,9 +717,7 @@ var locales_default = {
735
717
  "pisell2.text.form.link.to.another.record.more": "查看更多",
736
718
  // 联系信息
737
719
  "pisell2.booking.text.contact-info.title": "联系信息",
738
- "pisell2.booking.text.search-placeholder": "搜索客户/联系信息",
739
- "pisell-select-holder-please-select": "请选择",
740
- "pisell-select-holder-selected": "已选择:"
720
+ "pisell2.booking.text.search-placeholder": "搜索客户/联系信息"
741
721
  },
742
722
  "zh-HK": {
743
723
  "pisell2.text.refunded-amount": "已退金額",
@@ -789,9 +769,6 @@ var locales_default = {
789
769
  "pisell2.text.order-notes": "訂單備注",
790
770
  "pisell2.text.add-order-notes": "添加訂單備注",
791
771
  "pisell2.text.add-internal-notes": "添加內部備注",
792
- "pisell2.text.holder-unassigned": (count) => `${count} 個預約主體未分配`,
793
- "pisell2.text.press-card-assign-holder": "請點擊每個卡片來分配預約主體",
794
- "pisell2.text.skip-for-now": "稍後處理",
795
772
  "pisell2.text.add-notes": "添加備注",
796
773
  "pisell2.text.notes": "備注",
797
774
  "pisell2.text.new-appointment": "新預約",
@@ -967,7 +944,6 @@ var locales_default = {
967
944
  "page.booking.text.refund": "退款",
968
945
  "page.booking.text.confirm": "確認",
969
946
  "page.booking.text.go-back": "返回",
970
- "page.booking.text.undo": "撤销",
971
947
  "page.booking.text.cancel-booking": "取消預約",
972
948
  "page.booking.text.cancel-booking.msg": "該操作不可撤銷,請謹慎操作。",
973
949
  "page.booking.text.disabled-tickets": "所有票單將被禁用。",
@@ -977,7 +953,6 @@ var locales_default = {
977
953
  "page.booking.text.please-choose-an-option-2": "僅取消:僅取消預約,但不進行退款處理。(您仍然可以在取消後再進行退款操作)",
978
954
  "page.booking.text.resource.min-length-error": (x, y) => `至少選擇${x}項${y}`,
979
955
  "page.booking.text.resource.check-auto-allocation-tip": `勾選後將自動填入內容,無需手動選擇`,
980
- "page.booking.text.holder.length-error": "請選擇足夠的持有者",
981
956
  "page.booking.text.price-extra": (origin, current) => `商品原價:${origin},商品現價:${current}`,
982
957
  "pisell2.booking.dashboard.groups-on-site-now": "當前在場團體",
983
958
  "pisell2.booking.dashboard.groups-on-site-now-tip": "提示:已檢票並在場內的團體總數",
@@ -999,8 +974,6 @@ var locales_default = {
999
974
  "pisell2.booking.info.text.clear": "清空",
1000
975
  "pisell2.booking.info.text.clear-cart": "清空購物車",
1001
976
  "pisell2.booking.info.text.clear-all": "清空",
1002
- "pisell2.booking.info.text.add-holder": "请选择",
1003
- "pisell2.booking.info.text.select-holder-title": "您想为谁预订这个活动?",
1004
977
  "pisell2.booking.info.text.create-new": "新建",
1005
978
  "pisell2.booking.info.text.form-agreement-yes": "是",
1006
979
  "pisell2.booking.info.text.form-agreement-no": "否",
@@ -1016,7 +989,6 @@ var locales_default = {
1016
989
  "pisell2.text.missing.reservation.content": "您尚未選擇預約類型,請在繼續操作前選擇。",
1017
990
  "pisell2.text.confirm": "確定",
1018
991
  "pisell2.text.cancel": "取消",
1019
- "pisell2.text.close-confirm-message": "關閉後,已填寫或操作的內容將不會保存,確定要關閉嗎?",
1020
992
  // Action Buttons
1021
993
  "pisell2.action-buttons.clear": "清空",
1022
994
  "pisell2.action-buttons.manuel-order": "手動\n訂單 $",
@@ -1090,8 +1062,6 @@ var locales_default = {
1090
1062
  "pisell2.text.form.link.to.another.record.more": "查看更多",
1091
1063
  // 联系信息
1092
1064
  "pisell2.booking.text.contact-info.title": "聯繫信息",
1093
- "pisell2.booking.text.search-placeholder": "搜索客戶/聯系信息",
1094
- "pisell-select-holder-please-select": "請選擇",
1095
- "pisell-select-holder-selected": "已選擇:"
1065
+ "pisell2.booking.text.search-placeholder": "搜索客戶/聯系信息"
1096
1066
  }
1097
1067
  };
@@ -1,4 +1,8 @@
1
1
  import dayjs from 'dayjs';
2
+ /**
3
+ * @title: 高阶函数结果缓存(Memoization)
4
+ */
5
+ export declare function memoize<T extends (...args: any[]) => any>(fn: T): T;
2
6
  declare type RType = (url: string, data?: {} | undefined, config?: {} | undefined) => Promise<any>;
3
7
  declare class Request {
4
8
  private request;
@@ -23,21 +27,8 @@ export declare const request: Request;
23
27
  */
24
28
  export declare const getDiscountTime: (service_times: number, isDay?: boolean) => string;
25
29
  /**
26
- * @title: 格式化跨日预约的时长用于展示
27
- * @description:
28
- * @param {number} days
29
- * @param {number} minutes
30
- * @return {*}
31
- */
32
- export declare const getDiscountTimeByDayMinutes: (days: number, minutes: number) => string;
33
- /**
34
- * @title: 时间切片
35
- * @description:
36
- * @param {any} config
37
- * @param {string} locale
38
- * @return {*}
39
- * @Author: zhiwei.Wang
40
- * @Date: 2024-04-26 13:59
30
+ * @title: 时间切片(带缓存版本)
31
+ * @description: 使用 memoize 高阶函数包裹 sliceDayIntoFiveMinutes,相同参数时直接返回缓存结果
41
32
  */
42
33
  export declare const sliceDayIntoFiveMinutes: (config: any, locale: string, isDay?: boolean) => {
43
34
  timeSlices: {
@@ -121,7 +112,7 @@ export declare const flexibleObj: {
121
112
  export declare const getEndDate: (startDate: any, duration: string | number, endDate: any) => any;
122
113
  export declare const getServiceTimes: (service: any) => {
123
114
  startDate: dayjs.Dayjs;
124
- endDate: any;
115
+ endDate: dayjs.Dayjs;
125
116
  };
126
117
  export declare const getErrorList: (resource: any, cacheItem: any, isDay?: boolean) => {
127
118
  label: any;
@@ -39,7 +39,6 @@ __export(utils_exports, {
39
39
  getCacheParams: () => getCacheParams,
40
40
  getDays: () => getDays,
41
41
  getDiscountTime: () => getDiscountTime,
42
- getDiscountTimeByDayMinutes: () => getDiscountTimeByDayMinutes,
43
42
  getDuration: () => getDuration,
44
43
  getEndDate: () => getEndDate,
45
44
  getErrorList: () => getErrorList,
@@ -58,6 +57,7 @@ __export(utils_exports, {
58
57
  isNowTime: () => isNowTime,
59
58
  isSessionProduct: () => isSessionProduct,
60
59
  isWalkIn: () => isWalkIn,
60
+ memoize: () => memoize,
61
61
  request: () => request,
62
62
  sliceDayIntoFiveMinutes: () => sliceDayIntoFiveMinutes
63
63
  });
@@ -68,7 +68,18 @@ var import_utils2 = require("./info/service2/utils");
68
68
  var import_lodash = require("lodash");
69
69
  var import_utilsByBooking = require("./info2/utilsByBooking");
70
70
  var import_decimal = __toESM(require("decimal.js"));
71
- var import_utils3 = require("./info2/service/addService/utils");
71
+ function memoize(fn) {
72
+ const cache = /* @__PURE__ */ new Map();
73
+ return function(...args) {
74
+ const key = JSON.stringify(args);
75
+ if (cache.has(key)) {
76
+ return cache.get(key);
77
+ }
78
+ const result = fn.apply(this, args);
79
+ cache.set(key, result);
80
+ return result;
81
+ };
82
+ }
72
83
  var Request = class {
73
84
  request = {};
74
85
  constructor() {
@@ -101,13 +112,7 @@ var getDiscountTime = (service_times, isDay) => {
101
112
  return str;
102
113
  }
103
114
  };
104
- var getDiscountTimeByDayMinutes = (days, minutes) => {
105
- if (days === 0) {
106
- return getDiscountTime(minutes);
107
- }
108
- return `${days} ${import_utils.locales.getText("pisell2.text.day")(days)} ${getDiscountTime(minutes)}`;
109
- };
110
- var sliceDayIntoFiveMinutes = (config, locale, isDay) => {
115
+ var _sliceDayIntoFiveMinutes = (config, locale, isDay) => {
111
116
  let _locale = locale;
112
117
  let dayjsLocale = _locale === "en-US" || _locale === "en" ? "en" : "zh-cn";
113
118
  import_dayjs.default.locale(dayjsLocale);
@@ -156,6 +161,7 @@ var sliceDayIntoFiveMinutes = (config, locale, isDay) => {
156
161
  }
157
162
  return { timeSlices, durationSlicesBasedOnTime };
158
163
  };
164
+ var sliceDayIntoFiveMinutes = memoize(_sliceDayIntoFiveMinutes);
159
165
  var getNowTime = () => {
160
166
  return (0, import_dayjs.default)().format("HH:mm");
161
167
  };
@@ -193,12 +199,15 @@ var findNextSlice = ({
193
199
  return timeSlices[index].value;
194
200
  };
195
201
  var findNextDuration = (current, array, defaultValue) => {
202
+ if (defaultValue) {
203
+ return defaultValue;
204
+ }
196
205
  for (let i = 0; i < array.length; i++) {
197
206
  if (array[i].value == (current == null ? void 0 : current.value)) {
198
207
  return array[i].value;
199
208
  }
200
209
  }
201
- return defaultValue || array[0].value;
210
+ return array[0].value;
202
211
  };
203
212
  var formatProductListByCategory = (list, filterItem) => {
204
213
  let _list = list || [];
@@ -416,12 +425,6 @@ var getServiceTimes = (service) => {
416
425
  const startDate = (0, import_dayjs.default)(
417
426
  (0, import_dayjs.default)(service._extend.start_date).format("YYYY-MM-DD ") + getServeStartTime(service._extend.start_time)
418
427
  );
419
- if ((0, import_utils3.isMultiDayProduct)(service)) {
420
- return {
421
- startDate,
422
- endDate: service._extend.end_date
423
- };
424
- }
425
428
  const endDate = startDate.add(
426
429
  flexibleObj.getValue(service._extend.duration),
427
430
  "minute"
@@ -517,7 +520,7 @@ var formatResource = (resourceItem, cacheItem, formatLabel) => {
517
520
  return _resourceItem;
518
521
  };
519
522
  var getLastServer = (list) => {
520
- return list[list.length - 1];
523
+ return list == null ? void 0 : list[0];
521
524
  };
522
525
  var getCacheParams = () => {
523
526
  const sessionData = sessionStorage.getItem("pisell2.booking.serviceParams");
@@ -710,7 +713,6 @@ var getIsEdit = (state) => {
710
713
  getCacheParams,
711
714
  getDays,
712
715
  getDiscountTime,
713
- getDiscountTimeByDayMinutes,
714
716
  getDuration,
715
717
  getEndDate,
716
718
  getErrorList,
@@ -729,6 +731,7 @@ var getIsEdit = (state) => {
729
731
  isNowTime,
730
732
  isSessionProduct,
731
733
  isWalkIn,
734
+ memoize,
732
735
  request,
733
736
  sliceDayIntoFiveMinutes
734
737
  });
@@ -63,6 +63,7 @@ var import_lodash = require("lodash");
63
63
  var import_utils2 = require("./utils");
64
64
  var import_usePaymentLogger = __toESM(require("./hooks/usePaymentLogger"));
65
65
  var import_antd = require("antd");
66
+ var import_printer = __toESM(require("../../hooks/printer"));
66
67
  var import_priceKeyboard = require("../../pro/priceKeyboard");
67
68
  var import_pisellos = require("../ticketBooking/hooks/pisellos");
68
69
  var CheckoutHooks = {
@@ -122,6 +123,7 @@ var PaymentContent = (0, import_react.forwardRef)(
122
123
  const walletPassRef = (0, import_react.useRef)(null);
123
124
  const [paymentItems, setPaymentItems] = (0, import_react.useState)([]);
124
125
  const [walletPassData, setWalletPassData] = (0, import_react.useState)({});
126
+ const { nativePrint } = (0, import_printer.default)();
125
127
  const [syncingLock, setSyncingLock] = (0, import_react.useState)(false);
126
128
  const isOrderFree = (0, import_react.useMemo)(() => {
127
129
  if (!customAmount) return false;
@@ -418,11 +420,13 @@ var PaymentContent = (0, import_react.forwardRef)(
418
420
  );
419
421
  const orderSubmitStartUnsubscribe = core.effects.on(
420
422
  CheckoutHooks.OnOrderSubmitStart,
421
- executeIfActive(() => {
422
- var _a2;
423
- setSyncingLock(true);
424
- (_a2 = Toast == null ? void 0 : Toast.loading) == null ? void 0 : _a2.call(Toast, "", 0);
425
- })
423
+ executeIfActive(
424
+ () => {
425
+ var _a2;
426
+ setSyncingLock(true);
427
+ (_a2 = Toast == null ? void 0 : Toast.loading) == null ? void 0 : _a2.call(Toast, "", 0);
428
+ }
429
+ )
426
430
  );
427
431
  const orderSubmitEndUnsubscribe = core.effects.on(
428
432
  CheckoutHooks.OnOrderSubmitEnd,
@@ -590,11 +594,12 @@ var PaymentContent = (0, import_react.forwardRef)(
590
594
  data: {
591
595
  order_id: responseData.order_id,
592
596
  machine_code_print_info: responseData == null ? void 0 : responseData.machine_code_print_info,
593
- small_ticket_data: (_b2 = responseData == null ? void 0 : responseData.payment_info) == null ? void 0 : _b2.small_ticket_data
597
+ small_ticket_data: (_b2 = responseData == null ? void 0 : responseData.payment_info) == null ? void 0 : _b2.small_ticket_data,
598
+ machine_code_print_info_v2: responseData == null ? void 0 : responseData.machine_code_print_info_v2
594
599
  }
595
600
  };
596
601
  console.log("print_order_onOrderSynced_params>>>>", params);
597
- (0, import_utils.webPrint)(params, (res) => {
602
+ nativePrint(params, (res) => {
598
603
  console.log("print_order_onOrderSynced_res>>>>", res);
599
604
  });
600
605
  } catch (error) {
@@ -760,7 +765,7 @@ var PaymentContent = (0, import_react.forwardRef)(
760
765
  data: { order_id: data.orderId }
761
766
  };
762
767
  try {
763
- (0, import_utils.webPrint)(params, (res) => {
768
+ nativePrint(params, (res) => {
764
769
  console.log("handleButtonClick_print-receipt_res>>>>", res);
765
770
  if (!(res == null ? void 0 : res.result)) {
766
771
  Toast == null ? void 0 : Toast.error((res == null ? void 0 : res.msg) || "");
@@ -1063,10 +1068,10 @@ var PaymentModal = ({
1063
1068
  const [actualShowCashPayment, setActualShowCashPayment] = (0, import_react.useState)(true);
1064
1069
  const [windowHeight, setWindowHeight] = (0, import_react.useState)(0);
1065
1070
  const [showRetryModal, setShowRetryModal] = (0, import_react.useState)(false);
1066
- const [showCreateErrorModal, setShowCreateErrorModal] = (0, import_react.useState)(false);
1067
1071
  const [currentEditOrderId, setCurrentEditOrderId] = (0, import_react.useState)(editOrderId || 0);
1068
1072
  const { executeIfActive } = (0, import_pisellos.useActiveExecute)();
1069
1073
  const Toast = (0, import_materials.useToast)();
1074
+ const { nativePrint } = (0, import_printer.default)();
1070
1075
  const handleRetry = async () => {
1071
1076
  const checkoutModule = pisellos == null ? void 0 : pisellos.getModule("checkout");
1072
1077
  const res = await (checkoutModule == null ? void 0 : checkoutModule.manualSyncOrderAsync());
@@ -1501,7 +1506,8 @@ var PaymentModal = ({
1501
1506
  data: {
1502
1507
  order_id: responseData.order_id,
1503
1508
  machine_code_print_info: responseData == null ? void 0 : responseData.machine_code_print_info,
1504
- small_ticket_data: (_c3 = responseData == null ? void 0 : responseData.payment_info) == null ? void 0 : _c3.small_ticket_data
1509
+ small_ticket_data: (_c3 = responseData == null ? void 0 : responseData.payment_info) == null ? void 0 : _c3.small_ticket_data,
1510
+ machine_code_print_info_v2: responseData == null ? void 0 : responseData.machine_code_print_info_v2
1505
1511
  }
1506
1512
  };
1507
1513
  console.log("print_order_onOrderSynced_params>>>>", params);
@@ -1512,7 +1518,7 @@ var PaymentModal = ({
1512
1518
  params
1513
1519
  }
1514
1520
  });
1515
- (0, import_utils.webPrint)(params, (res) => {
1521
+ nativePrint(params, (res) => {
1516
1522
  console.log("print_order_onOrderSynced_res>>>>", res);
1517
1523
  logger == null ? void 0 : logger.addLog({
1518
1524
  type: "info",
@@ -1621,7 +1627,6 @@ var PaymentModal = ({
1621
1627
  error
1622
1628
  }
1623
1629
  });
1624
- setShowCreateErrorModal(true);
1625
1630
  }
1626
1631
  };
1627
1632
  if (data) {
@@ -1689,7 +1694,7 @@ var PaymentModal = ({
1689
1694
  data: { order_id: data2.orderId }
1690
1695
  };
1691
1696
  try {
1692
- (0, import_utils.webPrint)(params, (res) => {
1697
+ nativePrint(params, (res) => {
1693
1698
  console.log("handleButtonClick_print-receipt_res>>>>", res);
1694
1699
  if (!(res == null ? void 0 : res.result)) {
1695
1700
  Toast == null ? void 0 : Toast.error((res == null ? void 0 : res.msg) || "");
@@ -2054,34 +2059,6 @@ var PaymentModal = ({
2054
2059
  },
2055
2060
  import_utils.locales.getText("retry") || "重试"
2056
2061
  ))
2057
- ), /* @__PURE__ */ import_react.default.createElement(
2058
- import_materials.PisellContainer,
2059
- {
2060
- renderType: "modal",
2061
- props: {
2062
- open: showCreateErrorModal,
2063
- title: import_utils.locales.getText("pisell2.checkout.tips"),
2064
- footer: null,
2065
- keyboard: false,
2066
- onCancel: () => {
2067
- setShowCreateErrorModal(false);
2068
- }
2069
- // 禁用关闭
2070
- }
2071
- },
2072
- /* @__PURE__ */ import_react.default.createElement("div", { style: { textAlign: "center", padding: "20px" } }, /* @__PURE__ */ import_react.default.createElement("div", { style: { marginBottom: "16px", fontSize: "16px" } }, import_utils.locales.getText("pisell2.checkout.order-create-failed")), /* @__PURE__ */ import_react.default.createElement(
2073
- import_antd.Button,
2074
- {
2075
- type: "primary",
2076
- size: "large",
2077
- onClick: () => {
2078
- setShowCreateErrorModal(false);
2079
- window.location.reload();
2080
- },
2081
- style: { width: "100%", marginTop: "80px" }
2082
- },
2083
- import_utils.locales.getText("confirm") || "确认"
2084
- ))
2085
2062
  ));
2086
2063
  };
2087
2064
  var PaymentModal_default = PaymentModal;
@@ -38,8 +38,8 @@ var import_useEngineContext = __toESM(require("../../../../hooks/useEngineContex
38
38
  var import_utils = require("@pisell/utils");
39
39
  var import_locales = __toESM(require("../../locales"));
40
40
  var import_useToast = __toESM(require("../../../../hooks/useToast"));
41
- var import_priceKeyboard = require("../../../../pro/priceKeyboard");
42
41
  var import_ahooks = require("ahooks");
42
+ var import_priceKeyboard = require("../../../../pro/priceKeyboard");
43
43
  var import_index = require("./index.less");
44
44
  function CashPaymentModule({
45
45
  amountSymbol,
@@ -76,6 +76,12 @@ function CashPaymentModule({
76
76
  }, [customAmount, balanceDueAmount, orderInfo == null ? void 0 : orderInfo.isDeposit]);
77
77
  const isAmountButtonsDisabled = disabled || Number(customAmount || 0) === 0;
78
78
  const isInputDisabled = disabled || Number(customAmount || 0) === 0;
79
+ const handleAmountClick = (clickedAmount) => {
80
+ if (isAmountButtonsDisabled) return;
81
+ const amountStr = clickedAmount.toString();
82
+ setAmount(amountStr);
83
+ setRoundingAmount(0);
84
+ };
79
85
  const handleCashPayInternal = () => {
80
86
  if (isAmountButtonsDisabled) return;
81
87
  if (onPaymentComplete) {
@@ -216,6 +216,7 @@ var ScrollableList = ({
216
216
  {
217
217
  style: {
218
218
  ...bottomGradientStyle,
219
+ width: "100%",
219
220
  border: "none",
220
221
  background: "linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #A78BE1 100%)",
221
222
  ...gradientStyle
@@ -17,7 +17,7 @@ export declare const useWalletPass: (props: {
17
17
  cardData: any;
18
18
  handleSelectWallet: (value: number[]) => void;
19
19
  selectedWalletIds: any[];
20
- expiredWalletIds: any;
20
+ expiredWalletIds: any[];
21
21
  expiredWalletData: any;
22
22
  disabledWalletData: any[];
23
23
  clearAllSelectedWallet: () => void;