@pisell/private-materials 6.3.122 → 6.3.123

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 (1272) 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 +152 -152
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +18 -10
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +18 -10
  11. package/es/components/appointmentBooking/components/Date/state.js +3 -1
  12. package/es/components/appointmentBooking/locales.d.ts +240 -0
  13. package/es/components/appointmentBooking/locales.js +276 -0
  14. package/es/components/authentication/admin/AuthMethods/locales.d.ts +164 -0
  15. package/es/components/authentication/admin/AuthMethods/locales.js +164 -0
  16. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +27 -9
  17. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +54 -0
  18. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +54 -0
  19. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +2 -0
  20. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +2 -0
  21. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +46 -0
  22. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +46 -0
  23. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +2 -0
  24. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +17 -9
  25. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +16 -0
  26. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +16 -0
  27. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +10 -2
  28. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +42 -0
  29. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +42 -0
  30. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +2 -0
  31. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +17 -9
  32. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +24 -0
  33. package/es/components/authentication/admin/ChannelAuthSetting/locales.js +24 -0
  34. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +42 -0
  35. package/es/components/authentication/admin/CustomerAuth/locales.js +42 -0
  36. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +70 -0
  37. package/es/components/authentication/admin/CustomerOAuthConfig/locales.js +70 -0
  38. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +36 -0
  39. package/es/components/authentication/admin/DeviceAuth/locales.js +36 -0
  40. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +58 -0
  41. package/es/components/authentication/admin/OAuthConfig/locales.js +58 -0
  42. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +34 -0
  43. package/es/components/authentication/admin/OrgAdminAuth/locales.js +34 -0
  44. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +30 -0
  45. package/es/components/authentication/admin/POSOperatorAuth/locales.js +30 -0
  46. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +34 -0
  47. package/es/components/authentication/admin/SaaSAdminAuth/locales.js +34 -0
  48. package/es/components/booking/components/footer/index.js +26 -20
  49. package/es/components/booking/components/footer/utils.js +24 -11
  50. package/es/components/booking/editBookingModal/locales.d.ts +12 -0
  51. package/es/components/booking/editBookingModal/locales.js +12 -0
  52. package/es/components/booking/editBookingModal/mock.d.ts +186 -2
  53. package/es/components/booking/editBookingModal/mock.js +22 -0
  54. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  55. package/es/components/booking/hooks/useClearCart.d.ts +1 -1
  56. package/es/components/booking/hooks/useClearCart.js +39 -9
  57. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  58. package/es/components/booking/info/header/index.js +7 -7
  59. package/es/components/booking/info/header/index.less +5 -5
  60. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  61. package/es/components/booking/info/service/index.less +4 -2
  62. package/es/components/booking/info/service2/utils.js +43 -39
  63. package/es/components/booking/info2/service/addService/mock.d.ts +2 -0
  64. package/es/components/booking/info2/service/addService/mock.js +4 -0
  65. package/es/components/booking/info2/service/editService/index.js +36 -6
  66. package/es/components/booking/info2/service/editService/utils.d.ts +15 -0
  67. package/es/components/booking/info2/service/editService/utils.js +76 -0
  68. package/es/components/booking/locales.d.ts +648 -0
  69. package/es/components/booking/locales.js +742 -0
  70. package/es/components/booking/notes/NoteBlock/index.js +3 -2
  71. package/es/components/ecocup/components/AddCustomerModal/index.d.ts +10 -0
  72. package/es/components/{eftpos/PairModal → ecocup/components/AddCustomerModal}/index.js +159 -189
  73. package/es/components/ecocup/components/AddCustomerModal/index.less +9 -0
  74. package/es/components/ecocup/components/CupActionList/index.d.ts +14 -0
  75. package/es/components/ecocup/components/CupActionList/index.js +91 -0
  76. package/es/components/ecocup/components/CupActionList/index.less +102 -0
  77. package/es/components/ecocup/components/CupActionModal/hooks.d.ts +5 -0
  78. package/es/components/ecocup/components/CupActionModal/hooks.js +68 -0
  79. package/es/components/ecocup/components/CupActionModal/index.d.ts +15 -0
  80. package/es/components/ecocup/components/CupActionModal/index.js +92 -0
  81. package/es/components/ecocup/components/CupActionModal/index.less +38 -0
  82. package/es/components/ecocup/components/CupInfoCard/index.d.ts +10 -0
  83. package/es/components/ecocup/components/CupInfoCard/index.js +14 -0
  84. package/es/components/ecocup/components/CupInfoCard/index.less +11 -0
  85. package/es/components/ecocup/components/CupStatusModal/hooks.d.ts +36 -0
  86. package/es/components/ecocup/components/CupStatusModal/hooks.js +176 -0
  87. package/es/components/ecocup/components/CupStatusModal/index.d.ts +14 -0
  88. package/es/components/ecocup/components/CupStatusModal/index.js +281 -0
  89. package/es/components/ecocup/components/CupStatusModal/index.less +73 -0
  90. package/es/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +14 -0
  91. package/es/components/ecocup/components/CustomerAndCupModal/hooks.js +133 -0
  92. package/es/components/ecocup/components/CustomerAndCupModal/index.d.ts +20 -0
  93. package/es/components/ecocup/components/CustomerAndCupModal/index.js +227 -0
  94. package/es/components/ecocup/components/CustomerAndCupModal/index.less +68 -0
  95. package/es/components/ecocup/components/CustomerCard/index.d.ts +9 -0
  96. package/es/components/ecocup/components/CustomerCard/index.js +37 -0
  97. package/es/components/ecocup/components/CustomerCard/index.less +50 -0
  98. package/es/components/ecocup/components/MoreDropdown/index.d.ts +9 -0
  99. package/es/components/ecocup/components/MoreDropdown/index.js +33 -0
  100. package/es/components/ecocup/components/PageHeader/index.d.ts +9 -0
  101. package/es/components/ecocup/components/PageHeader/index.js +47 -0
  102. package/es/components/ecocup/components/PageHeader/index.less +31 -0
  103. package/es/components/ecocup/components/SearchBar/const.d.ts +4 -0
  104. package/es/components/ecocup/components/SearchBar/const.js +16 -0
  105. package/es/components/ecocup/components/SearchBar/hooks.d.ts +44 -0
  106. package/es/components/ecocup/components/SearchBar/hooks.js +184 -0
  107. package/es/components/ecocup/components/SearchBar/index.d.ts +14 -0
  108. package/es/components/ecocup/components/SearchBar/index.js +248 -0
  109. package/es/components/ecocup/components/SearchBar/index.less +88 -0
  110. package/es/components/ecocup/components/SettingModal/const.d.ts +6 -0
  111. package/es/components/ecocup/components/SettingModal/const.js +17 -0
  112. package/es/components/ecocup/components/SettingModal/index.d.ts +9 -0
  113. package/es/components/ecocup/components/SettingModal/index.js +253 -0
  114. package/es/components/ecocup/components/SettingModal/index.less +9 -0
  115. package/es/components/ecocup/cupList/const.d.ts +140 -0
  116. package/es/components/ecocup/cupList/const.js +319 -0
  117. package/es/components/ecocup/cupList/hooks/index.d.ts +4 -0
  118. package/es/components/ecocup/cupList/hooks/index.js +4 -0
  119. package/es/components/ecocup/cupList/hooks/useColumns.d.ts +45 -0
  120. package/es/components/ecocup/cupList/hooks/useColumns.js +166 -0
  121. package/es/components/ecocup/cupList/hooks/useCupApi.d.ts +41 -0
  122. package/es/components/ecocup/cupList/hooks/useCupApi.js +312 -0
  123. package/es/components/ecocup/cupList/hooks/useSummary.d.ts +3 -0
  124. package/es/components/ecocup/cupList/hooks/useSummary.js +42 -0
  125. package/es/components/ecocup/cupList/index.d.ts +7 -0
  126. package/es/components/ecocup/cupList/index.js +268 -0
  127. package/es/components/ecocup/cupList/index.less +159 -0
  128. package/es/components/ecocup/cupProject/const.d.ts +7 -0
  129. package/es/components/ecocup/cupProject/const.js +33 -0
  130. package/es/components/ecocup/cupProject/index.d.ts +3 -0
  131. package/es/components/ecocup/cupProject/index.js +112 -0
  132. package/es/components/ecocup/cupProject/index.less +41 -0
  133. package/es/components/ecocup/customerList/const.d.ts +44 -0
  134. package/es/components/ecocup/customerList/const.js +67 -0
  135. package/es/components/ecocup/customerList/hooks/index.d.ts +3 -0
  136. package/es/components/ecocup/customerList/hooks/index.js +3 -0
  137. package/es/components/ecocup/customerList/hooks/useColumns.d.ts +15 -0
  138. package/es/components/ecocup/customerList/hooks/useColumns.js +44 -0
  139. package/es/components/ecocup/customerList/hooks/useCustomerApi.d.ts +15 -0
  140. package/es/components/ecocup/customerList/hooks/useCustomerApi.js +70 -0
  141. package/es/components/ecocup/customerList/index.d.ts +7 -0
  142. package/es/components/ecocup/customerList/index.js +127 -0
  143. package/es/components/ecocup/customerList/index.less +15 -0
  144. package/es/components/ecocup/hooks.d.ts +57 -0
  145. package/es/components/ecocup/hooks.js +168 -0
  146. package/es/components/ecocup/locales.d.ts +653 -0
  147. package/es/components/ecocup/locales.js +699 -0
  148. package/es/components/ecocup/types.d.ts +103 -0
  149. package/es/components/ecocup/types.js +36 -0
  150. package/es/components/ecocup/utils/download.d.ts +7 -0
  151. package/es/components/ecocup/utils/download.js +34 -0
  152. package/es/components/ecocup/utils/index.d.ts +2 -0
  153. package/es/components/ecocup/utils/index.js +2 -0
  154. package/es/components/ecocup/utils/scanListener.d.ts +20 -0
  155. package/es/components/ecocup/utils/scanListener.js +107 -0
  156. package/es/components/eftpos/const.d.ts +1 -3
  157. package/es/components/eftpos/const.js +0 -2
  158. package/es/components/eftpos/device.d.ts +1 -3
  159. package/es/components/eftpos/device.js +3 -5
  160. package/es/components/eftpos/hooks.d.ts +0 -13
  161. package/es/components/eftpos/hooks.js +0 -35
  162. package/es/components/eftpos/index.js +25 -184
  163. package/es/components/eftpos/index.less +1 -26
  164. package/es/components/eftpos/locales.d.ts +64 -39
  165. package/es/components/eftpos/locales.js +85 -104
  166. package/es/components/eftpos/table.js +3 -47
  167. package/es/components/eftposPay/app.d.ts +1 -1
  168. package/es/components/eftposPay/component/fail/failCustom.js +17 -12
  169. package/es/components/eftposPay/component/fail/index.js +5 -4
  170. package/es/components/eftposPay/component/manual/index.js +2 -11
  171. package/es/components/eftposPay/const.d.ts +2 -7
  172. package/es/components/eftposPay/const.js +0 -2
  173. package/es/components/eftposPay/device.js +210 -42
  174. package/es/components/eftposPay/hooks.d.ts +1 -1
  175. package/es/components/eftposPay/index.js +5 -1
  176. package/es/components/eftposPay/linkly/const.js +1 -1
  177. package/es/components/eftposPay/linkly/index.js +0 -1
  178. package/es/components/eftposPay/locales.d.ts +242 -9
  179. package/es/components/eftposPay/locales.js +328 -11
  180. package/es/components/eftposPay/manufacturer.d.ts +0 -1
  181. package/es/components/eftposPay/manufacturer.js +0 -4
  182. package/es/components/eftposPay/pay.js +2 -7
  183. package/es/components/eftposPay/payo/config.js +1 -0
  184. package/es/components/eftposPay/payo/const.js +1 -1
  185. package/es/components/eftposPay/store/index.d.ts +5 -2
  186. package/es/components/eftposPay/tyro/const.js +1 -1
  187. package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
  188. package/es/components/eftposPay/windcave/const.js +1 -1
  189. package/es/components/eftposPay/windcave/windcave.js +9 -9
  190. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  191. package/es/components/eventBooking/components/Voucher/components/locales.d.ts +22 -0
  192. package/es/components/eventBooking/components/Voucher/components/locales.js +22 -0
  193. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  194. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  195. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  196. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  197. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  198. package/es/components/eventBooking/locales.d.ts +162 -0
  199. package/es/components/eventBooking/locales.js +186 -0
  200. package/es/components/kioskSkuDetail/index.js +39 -10
  201. package/es/components/kioskSkuDetail/locales.d.ts +21 -0
  202. package/es/components/kioskSkuDetail/locales.js +24 -3
  203. package/es/components/login/locales.d.ts +14 -0
  204. package/es/components/login/locales.js +14 -0
  205. package/es/components/pay/toC/PaymentList/payment/google_pay.svg +26 -8
  206. package/es/components/pay/toC/PaymentList/payment/google_pay2.svg +9 -0
  207. package/es/components/pay/toC/PaymentList/serve.js +2 -2
  208. package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.d.ts +6 -0
  209. package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.js +65 -21
  210. package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.less +110 -9
  211. package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/index.d.ts +2 -0
  212. package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/index.js +46 -18
  213. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +20 -1
  214. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.js +14 -1
  215. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.less +20 -0
  216. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +7 -1
  217. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.js +167 -56
  218. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.less +47 -0
  219. package/es/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.d.ts +34 -0
  220. package/es/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.js +83 -0
  221. package/es/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.less +52 -0
  222. package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +9 -1
  223. package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.js +260 -33
  224. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +23 -3
  225. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +309 -126
  226. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  227. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  228. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  229. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +1 -0
  230. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.js +18 -7
  231. package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +5 -0
  232. package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +167 -145
  233. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +6 -0
  234. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +3 -3
  235. package/es/components/pay/toC/PaymentMethods/index.js +12 -2
  236. package/es/components/pay/toC/WalletPassBlock/index.js +3 -1
  237. package/es/components/pay/toC/index.js +117 -48
  238. package/es/components/pay/toC/locales.d.ts +319 -0
  239. package/es/components/pay/toC/locales.js +381 -12
  240. package/es/components/pay/toC/model.d.ts +1 -0
  241. package/es/components/pay/toC/serve.d.ts +30 -0
  242. package/es/components/pay/toC/serve.js +69 -3
  243. package/es/components/pay/toC/utils.d.ts +7 -2
  244. package/es/components/pay/toC/utils.js +14 -0
  245. package/es/components/pinModal/locales.d.ts +16 -0
  246. package/es/components/pinModal/locales.js +16 -0
  247. package/es/components/pinVerifyModal/locales.d.ts +14 -0
  248. package/es/components/pinVerifyModal/locales.js +14 -0
  249. package/es/components/pisellSelectCustomerModal/locales.d.ts +52 -0
  250. package/es/components/pisellSelectCustomerModal/locales.js +52 -0
  251. package/es/components/productExtension/locales.d.ts +30 -0
  252. package/es/components/productExtension/locales.js +30 -0
  253. package/es/components/productSelect/components/pisellPriceText/index.js +8 -4
  254. package/es/components/productSelect/locales.d.ts +20 -0
  255. package/es/components/productSelect/locales.js +23 -3
  256. package/es/components/ruleSetting/locales.d.ts +30 -0
  257. package/es/components/ruleSetting/locales.js +30 -0
  258. package/es/components/schedules/locales.d.ts +56 -0
  259. package/es/components/schedules/locales.js +56 -0
  260. package/es/components/shoppingCart/components/Cart/index.less +1 -0
  261. package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -1
  262. package/es/components/shoppingCart/hooks/useClearCart.js +41 -11
  263. package/es/components/shoppingCart/locales.d.ts +20 -0
  264. package/es/components/shoppingCart/locales.js +24 -0
  265. package/es/components/stepController/locales.d.ts +16 -0
  266. package/es/components/stepController/locales.js +20 -0
  267. package/es/components/subTotal/locales.d.ts +26 -0
  268. package/es/components/subTotal/locales.js +26 -0
  269. package/es/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +59 -0
  270. package/es/components/systemSettings/registry/components/DataSourceTreeSelect/index.js +390 -0
  271. package/es/components/systemSettings/registry/components/DataSourceTreeSelect/serve.d.ts +70 -0
  272. package/es/components/systemSettings/registry/components/DataSourceTreeSelect/serve.js +367 -0
  273. package/es/components/systemSettings/registry/components/ItemModal.js +251 -47
  274. package/es/components/systemSettings/registry/components/OptionDataSource/OptionTable.d.ts +8 -0
  275. package/es/components/systemSettings/registry/components/OptionDataSource/OptionTable.js +163 -0
  276. package/es/components/systemSettings/registry/components/OptionDataSource/index.d.ts +10 -0
  277. package/es/components/systemSettings/registry/components/OptionDataSource/index.js +127 -0
  278. package/es/components/systemSettings/registry/components/OptionDataSource/index.less +37 -0
  279. package/es/components/systemSettings/registry/index.js +20 -16
  280. package/es/components/systemSettings/registry/index.less +6 -7
  281. package/es/components/systemSettings/registry/locales.d.ts +262 -0
  282. package/es/components/systemSettings/registry/locales.js +274 -3
  283. package/es/components/systemSettings/registry/services.d.ts +20 -0
  284. package/es/components/systemSettings/registry/types.d.ts +16 -2
  285. package/es/components/taxSelect/locales.d.ts +14 -0
  286. package/es/components/taxSelect/locales.js +14 -0
  287. package/es/components/ticketBooking/locales.d.ts +130 -0
  288. package/es/components/ticketBooking/locales.js +156 -0
  289. package/es/components/ticketBooking/utils/formatTime.d.ts +2 -0
  290. package/es/components/ticketBooking/utils/formatTime.js +8 -2
  291. package/es/components/wallet/utils.d.ts +1 -1
  292. package/es/components/walletList/index.js +10 -0
  293. package/es/components/walletList/locales.d.ts +16 -0
  294. package/es/components/walletList/locales.js +16 -0
  295. package/es/components/walletList/types/index.d.ts +2 -0
  296. package/es/hooks/useEngineContext.d.ts +1 -0
  297. package/es/hooks/useEngineContext.js +7 -0
  298. package/es/hooks/useLocale.js +8 -1
  299. package/es/hooks/usePaymentLogger.d.ts +1 -0
  300. package/es/hooks/useThemeTokens.d.ts +7 -0
  301. package/es/hooks/useThemeTokens.js +20 -0
  302. package/es/hooks/useTranslationOriginal.d.ts +1 -0
  303. package/es/hooks/useTranslationOriginal.js +10 -0
  304. package/es/index.d.ts +16 -3
  305. package/es/index.js +13 -1
  306. package/es/plus/clientCard/index.d.ts +7 -0
  307. package/es/plus/clientCard/index.js +462 -0
  308. package/es/plus/clientCard/index.less +515 -0
  309. package/es/plus/clientCard/line/index.d.ts +9 -0
  310. package/es/plus/clientCard/line/index.js +157 -0
  311. package/es/plus/clientCard/line/index.less +142 -0
  312. package/es/plus/clientCard/locales.d.ts +28 -0
  313. package/es/plus/clientCard/locales.js +27 -0
  314. package/es/plus/clientCard/types.d.ts +135 -0
  315. package/es/plus/clientCard/types.js +1 -0
  316. package/es/plus/clientCard/utils.d.ts +8 -0
  317. package/es/plus/clientCard/utils.js +59 -0
  318. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +3 -0
  319. package/es/plus/clinetSearch/Add/BirthdayField/index.js +277 -0
  320. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +3 -0
  321. package/es/plus/clinetSearch/Add/GenderField/index.js +18 -0
  322. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +3 -0
  323. package/es/plus/clinetSearch/Add/PhoneField/index.js +52 -0
  324. package/es/plus/clinetSearch/Add/PhoneField/serve.d.ts +2 -0
  325. package/es/plus/clinetSearch/Add/PhoneField/serve.js +166 -0
  326. package/es/plus/clinetSearch/Add/index.d.ts +18 -0
  327. package/es/plus/clinetSearch/Add/index.js +213 -0
  328. package/es/plus/clinetSearch/Add/index.less +30 -0
  329. package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +5 -0
  330. package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.js +265 -0
  331. package/es/plus/clinetSearch/InfiniteScroll/index.d.ts +2 -0
  332. package/es/plus/clinetSearch/InfiniteScroll/index.js +1 -0
  333. package/es/plus/clinetSearch/InfiniteScroll/types.d.ts +46 -0
  334. package/es/plus/clinetSearch/InfiniteScroll/types.js +1 -0
  335. package/es/plus/clinetSearch/index.d.ts +18 -0
  336. package/es/plus/clinetSearch/index.js +234 -0
  337. package/es/plus/clinetSearch/index.less +95 -0
  338. package/es/plus/clinetSearch/locales.d.ts +178 -0
  339. package/es/plus/clinetSearch/locales.js +177 -0
  340. package/es/plus/clinetSearch/serve.d.ts +1 -0
  341. package/es/plus/clinetSearch/serve.js +31 -0
  342. package/es/plus/clinetSearch/types.d.ts +70 -0
  343. package/es/plus/clinetSearch/types.js +1 -0
  344. package/es/plus/contactInfo/components/SwipeAction/index.js +1 -1
  345. package/es/plus/contactInfo/locales.d.ts +8 -0
  346. package/es/plus/contactInfo/locales.js +8 -0
  347. package/es/plus/contactInfoModal/locales.d.ts +42 -0
  348. package/es/plus/contactInfoModal/locales.js +42 -0
  349. package/es/plus/orderList/components/BatchActionBar.d.ts +9 -0
  350. package/es/plus/orderList/components/BatchActionBar.js +835 -0
  351. package/es/plus/orderList/components/FilterList.d.ts +8 -0
  352. package/es/plus/orderList/components/FilterList.js +78 -0
  353. package/es/plus/orderList/components/HandleActions.d.ts +6 -0
  354. package/es/plus/orderList/components/HandleActions.js +27 -0
  355. package/es/plus/orderList/components/QuickFilter.d.ts +5 -0
  356. package/es/plus/orderList/components/QuickFilter.js +14 -0
  357. package/es/plus/orderList/components/Reset.d.ts +7 -0
  358. package/es/plus/orderList/components/Reset.js +23 -0
  359. package/es/plus/orderList/components/Toolbar.d.ts +7 -0
  360. package/es/plus/orderList/components/Toolbar.js +59 -0
  361. package/es/plus/orderList/config.d.ts +155 -0
  362. package/es/plus/orderList/config.js +786 -0
  363. package/es/plus/orderList/index.d.ts +10 -0
  364. package/es/plus/orderList/index.js +133 -0
  365. package/es/plus/orderList/index.less +125 -0
  366. package/es/plus/orderList/locales.d.ts +618 -0
  367. package/es/plus/orderList/locales.js +733 -0
  368. package/es/plus/orderList/serve.d.ts +42 -0
  369. package/es/plus/orderList/serve.js +351 -0
  370. package/es/plus/pisellSalesGrid/PisellSalesGrid.d.ts +5 -0
  371. package/es/plus/pisellSalesGrid/PisellSalesGrid.js +363 -0
  372. package/es/plus/pisellSalesGrid/PisellSalesGrid.less +16 -0
  373. package/es/plus/pisellSalesGrid/PisellSalesGrid.stories.d.ts +14 -0
  374. package/es/plus/pisellSalesGrid/PisellSalesGrid.stories.js +559 -0
  375. package/es/plus/pisellSalesGrid/hooks/useActions.d.ts +19 -0
  376. package/es/plus/pisellSalesGrid/hooks/useActions.js +723 -0
  377. package/es/plus/pisellSalesGrid/index.d.ts +4 -0
  378. package/es/plus/pisellSalesGrid/index.js +3 -0
  379. package/es/plus/pisellSalesGrid/locales.d.ts +9 -0
  380. package/es/plus/pisellSalesGrid/locales.js +8 -0
  381. package/es/plus/pisellSalesGrid/serve.d.ts +19 -0
  382. package/es/plus/pisellSalesGrid/serve.js +151 -0
  383. package/es/plus/pisellSalesGrid/types.d.ts +170 -0
  384. package/es/plus/pisellSalesGrid/types.js +1 -0
  385. package/es/plus/pisellSalesManagement/components/BookingFormsPreview.d.ts +15 -0
  386. package/es/plus/pisellSalesManagement/components/BookingFormsPreview.js +221 -0
  387. package/es/plus/pisellSalesManagement/components/BookingNotesPreview.d.ts +19 -0
  388. package/es/plus/pisellSalesManagement/components/BookingNotesPreview.js +167 -0
  389. package/es/plus/pisellSalesManagement/components/ResourceSelector.d.ts +9 -0
  390. package/es/plus/pisellSalesManagement/components/ResourceSelector.js +102 -0
  391. package/es/plus/pisellSalesManagement/config/booking.d.ts +185 -0
  392. package/es/plus/pisellSalesManagement/config/booking.js +380 -0
  393. package/es/plus/pisellSalesManagement/config/index.d.ts +2 -0
  394. package/es/plus/pisellSalesManagement/config/index.js +11 -0
  395. package/es/plus/pisellSalesManagement/config/order.d.ts +172 -0
  396. package/es/plus/pisellSalesManagement/config/order.js +460 -0
  397. package/es/plus/pisellSalesManagement/hooks/perspectiveUtils.d.ts +15 -0
  398. package/es/plus/pisellSalesManagement/hooks/perspectiveUtils.js +66 -0
  399. package/es/plus/pisellSalesManagement/hooks/useBookingPerspective.d.ts +2 -0
  400. package/es/plus/pisellSalesManagement/hooks/useBookingPerspective.js +651 -0
  401. package/es/plus/pisellSalesManagement/hooks/useOrderPerspective.d.ts +2 -0
  402. package/es/plus/pisellSalesManagement/hooks/useOrderPerspective.js +656 -0
  403. package/es/plus/pisellSalesManagement/hooks/usePerspectives.d.ts +5 -0
  404. package/es/plus/pisellSalesManagement/hooks/usePerspectives.js +12 -0
  405. package/es/plus/pisellSalesManagement/index.d.ts +10 -0
  406. package/es/plus/pisellSalesManagement/index.js +84 -0
  407. package/es/plus/pisellSalesManagement/locales.d.ts +303 -0
  408. package/es/plus/pisellSalesManagement/locales.js +302 -0
  409. package/es/plus/pisellSalesManagement/serve.d.ts +26 -0
  410. package/es/plus/pisellSalesManagement/serve.js +222 -0
  411. package/es/plus/productSelect/components/pisellPriceText/index.js +8 -4
  412. package/es/plus/productSelect/locales.d.ts +20 -0
  413. package/es/plus/productSelect/locales.js +23 -3
  414. package/es/plus/saasAttendance/index.d.ts +6 -0
  415. package/es/plus/saasAttendance/index.js +5 -0
  416. package/es/plus/saasAttendance/locales.d.ts +591 -0
  417. package/es/plus/saasAttendance/locales.js +657 -0
  418. package/es/plus/saasAttendance/settings/BasicInfoTab.d.ts +5 -0
  419. package/es/plus/saasAttendance/settings/BasicInfoTab.js +96 -0
  420. package/es/plus/saasAttendance/settings/ClockInMethodTab.d.ts +8 -0
  421. package/es/plus/saasAttendance/settings/ClockInMethodTab.js +81 -0
  422. package/es/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +8 -0
  423. package/es/plus/saasAttendance/settings/CorrectionPolicyTab.js +293 -0
  424. package/es/plus/saasAttendance/settings/PermissonTab.d.ts +5 -0
  425. package/es/plus/saasAttendance/settings/PermissonTab.js +79 -0
  426. package/es/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +5 -0
  427. package/es/plus/saasAttendance/settings/ShiftScheduleTab.js +115 -0
  428. package/es/plus/saasAttendance/settings/components/MapField.d.ts +78 -0
  429. package/es/plus/saasAttendance/settings/components/MapField.js +848 -0
  430. package/es/plus/saasAttendance/settings/components/index.d.ts +3 -0
  431. package/es/plus/saasAttendance/settings/components/index.js +2 -0
  432. package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +8 -0
  433. package/es/plus/saasAttendance/settings/components/membersField/index.js +216 -0
  434. package/es/plus/saasAttendance/settings/components/membersField/index.less +70 -0
  435. package/es/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.d.ts +7 -0
  436. package/es/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.js +149 -0
  437. package/es/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.less +119 -0
  438. package/es/plus/saasAttendance/settings/components/shiftModal/index.d.ts +18 -0
  439. package/es/plus/saasAttendance/settings/components/shiftModal/index.js +438 -0
  440. package/es/plus/saasAttendance/settings/index.d.ts +18 -0
  441. package/es/plus/saasAttendance/settings/index.js +262 -0
  442. package/es/plus/saasAttendance/settings/index.less +510 -0
  443. package/es/plus/saasAttendance/settings/serve.d.ts +27 -0
  444. package/es/plus/saasAttendance/settings/serve.js +83 -0
  445. package/es/plus/saasAttendance/settings/types.d.ts +136 -0
  446. package/es/plus/saasAttendance/settings/types.js +1 -0
  447. package/es/plus/saasCreateOrganization/locales.d.ts +8 -0
  448. package/es/plus/saasCreateOrganization/locales.js +8 -0
  449. package/es/plus/saasLogin/locales.d.ts +32 -0
  450. package/es/plus/saasLogin/locales.js +32 -0
  451. package/es/plus/saasRegister/locales.d.ts +76 -0
  452. package/es/plus/saasRegister/locales.js +76 -0
  453. package/es/plus/saasRole/components/PermissionManager/index.d.ts +19 -0
  454. package/es/plus/saasRole/components/PermissionManager/index.js +211 -0
  455. package/es/plus/saasRole/components/PermissionManager/index.less +71 -0
  456. package/es/plus/saasRole/index.d.ts +14 -0
  457. package/es/plus/saasRole/index.js +1036 -0
  458. package/es/plus/saasRole/index.less +196 -0
  459. package/es/plus/saasRole/locales.d.ts +319 -0
  460. package/es/plus/saasRole/locales.js +319 -0
  461. package/es/plus/saasRole/serve.d.ts +72 -0
  462. package/es/plus/saasRole/serve.js +304 -0
  463. package/es/plus/saasRole/types.d.ts +177 -0
  464. package/es/plus/saasRole/types.js +1 -0
  465. package/es/plus/saasRole/utils.d.ts +0 -0
  466. package/es/plus/saasRole/utils.js +0 -0
  467. package/es/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +31 -0
  468. package/es/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.js +503 -0
  469. package/es/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +23 -0
  470. package/es/plus/saasTeamMembers/components/MemberDrawer/index.js +634 -0
  471. package/es/plus/saasTeamMembers/components/MemberDrawer/index.less +178 -0
  472. package/es/plus/saasTeamMembers/index.d.ts +5 -0
  473. package/es/plus/saasTeamMembers/index.js +529 -0
  474. package/es/plus/saasTeamMembers/index.less +87 -0
  475. package/es/plus/saasTeamMembers/locales.d.ts +546 -0
  476. package/es/plus/saasTeamMembers/locales.js +591 -0
  477. package/es/plus/saasTeamMembers/serve.d.ts +95 -0
  478. package/es/plus/saasTeamMembers/serve.js +374 -0
  479. package/es/plus/saasTeamMembers/type.d.ts +158 -0
  480. package/es/plus/saasTeamMembers/type.js +1 -0
  481. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
  482. package/es/plus/selectHolder/locales.d.ts +14 -0
  483. package/es/plus/selectHolder/locales.js +18 -0
  484. package/es/plus/skuOptionsSelection/components/NormalCard/index.js +16 -8
  485. package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.js +6 -2
  486. package/es/plus/skuOptionsSelection/components/OptionsCard/index.js +3 -2
  487. package/es/plus/skuOptionsSelection/components/OptionsCard/index.less +22 -7
  488. package/es/plus/skuOptionsSelection/components/OptionsModal/index.js +7 -10
  489. package/es/plus/skuOptionsSelection/index.js +4 -3
  490. package/es/plus/skuOptionsSelection/locales.d.ts +25 -0
  491. package/es/plus/skuOptionsSelection/locales.js +28 -3
  492. package/es/plus/skuOptionsSelection/store/store.js +2 -1
  493. package/es/plus/skuOptionsSelection/types.d.ts +29 -0
  494. package/es/plus/skuOptionsSelection/types.js +4 -0
  495. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.js +11 -2
  496. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.js +11 -2
  497. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +28 -8
  498. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.js +49 -58
  499. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.js +9 -3
  500. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +2 -0
  501. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.js +12 -4
  502. package/es/plus/walletEditor/locales.d.ts +88 -0
  503. package/es/plus/walletEditor/locales.js +100 -0
  504. package/es/plus/walletEditor/types.d.ts +2 -0
  505. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
  506. package/es/plus/walletPassGallery/components/passDetail/index.js +80 -39
  507. package/es/plus/walletPassGallery/components/passList/index.js +12 -4
  508. package/es/plus/walletPassGallery/components/recharge/index.js +13 -5
  509. package/es/plus/walletPassGallery/components/recharge/index.less +70 -1
  510. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +2 -0
  511. package/es/plus/walletPassGallery/components/timelineSection/index.js +19 -2
  512. package/es/plus/walletPassGallery/index.d.ts +4 -0
  513. package/es/plus/walletPassGallery/index.js +95 -46
  514. package/es/plus/walletPassGallery/locales.d.ts +198 -0
  515. package/es/plus/walletPassGallery/locales.js +216 -3
  516. package/es/plus/walletPassGallery/serve.d.ts +3 -1
  517. package/es/plus/walletPassGallery/serve.js +13 -13
  518. package/es/plus/walletPassGallery/utils.d.ts +1 -1
  519. package/es/pro/Cards/components/SKUCard/index.d.ts +1 -56
  520. package/es/pro/Cards/components/SKUCard/index.js +53 -20
  521. package/es/pro/Cards/components/SKUCard/index.less +41 -5
  522. package/es/pro/Cards/components/SKUCard/locales.d.ts +12 -0
  523. package/es/pro/Cards/components/SKUCard/locales.js +11 -0
  524. package/es/pro/Cards/components/SKUCard/types.d.ts +73 -0
  525. package/es/pro/Cards/components/SKUCard/types.js +1 -0
  526. package/es/pro/Login2.0/Login2.js +8 -8
  527. package/es/pro/Login2.0/locales.d.ts +365 -0
  528. package/es/pro/Login2.0/locales.js +365 -0
  529. package/es/pro/Login2.0/shared/types.d.ts +2 -0
  530. package/es/pro/NumericStepper/index.d.ts +33 -3
  531. package/es/pro/NumericStepper/index.js +181 -107
  532. package/es/pro/NumericStepper/index.less +287 -143
  533. package/es/pro/Selector/BatchSelectorDemo.js +2 -12
  534. package/es/pro/Selector/Selector.js +39 -30
  535. package/es/pro/Selector/SelectorGroup.d.ts +1 -1
  536. package/es/pro/Selector/SelectorGroup.js +5 -1
  537. package/es/pro/Selector/components/Card/index.js +11 -10
  538. package/es/pro/Selector/components/Card/index.less +30 -14
  539. package/es/pro/Selector/components/Indicator/index.d.ts +1 -0
  540. package/es/pro/Selector/components/Indicator/index.js +3 -2
  541. package/es/pro/Selector/components/Indicator/index.less +16 -13
  542. package/es/pro/Selector/components/LayoutContainer/index.d.ts +5 -3
  543. package/es/pro/Selector/components/LayoutContainer/index.js +226 -9
  544. package/es/pro/Selector/components/LayoutContainer/index.less +19 -0
  545. package/es/pro/Selector/components/Media/index.d.ts +1 -1
  546. package/es/pro/Selector/components/Media/index.less +1 -1
  547. package/es/pro/Selector/demo.js +1 -1
  548. package/es/pro/Selector/hooks/usePresetItemProps.js +2 -0
  549. package/es/pro/Selector/hooks/usePresetProps.js +60 -6
  550. package/es/pro/Selector/locales.d.ts +22 -0
  551. package/es/pro/Selector/locales.js +58 -0
  552. package/es/pro/Selector/selector.less +0 -64
  553. package/es/pro/Selector/selectorGroup.less +9 -1
  554. package/es/pro/Selector/types.d.ts +50 -0
  555. package/es/pro/comprehensiveSearch/components/deviceIconGroup/index.d.ts +11 -0
  556. package/es/pro/comprehensiveSearch/components/deviceIconGroup/index.js +54 -0
  557. package/es/pro/comprehensiveSearch/components/deviceIconGroup/index.less +28 -0
  558. package/es/pro/comprehensiveSearch/components/index.d.ts +2 -0
  559. package/es/pro/comprehensiveSearch/components/index.js +2 -0
  560. package/es/pro/comprehensiveSearch/components/searchSection/index.d.ts +24 -0
  561. package/es/pro/comprehensiveSearch/components/searchSection/index.js +141 -0
  562. package/es/pro/comprehensiveSearch/components/searchSection/index.less +100 -0
  563. package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
  564. package/es/pro/comprehensiveSearch/components/searchSection/locales.js +22 -0
  565. package/es/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +5 -0
  566. package/es/pro/comprehensiveSearch/hooks/useNativeScanner.js +24 -0
  567. package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +9 -0
  568. package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.js +44 -0
  569. package/es/pro/comprehensiveSearch/index.d.ts +7 -0
  570. package/es/pro/comprehensiveSearch/index.js +207 -0
  571. package/es/pro/comprehensiveSearch/index.less +196 -0
  572. package/es/pro/comprehensiveSearch/locales.d.ts +23 -0
  573. package/es/pro/comprehensiveSearch/locales.js +22 -0
  574. package/es/pro/comprehensiveSearch/types.d.ts +32 -0
  575. package/es/pro/comprehensiveSearch/types.js +1 -0
  576. package/es/pro/keyboards/index.d.ts +2 -0
  577. package/es/pro/keyboards/index.js +1 -0
  578. package/es/pro/keyboards/locales.d.ts +38 -0
  579. package/es/pro/keyboards/locales.js +57 -0
  580. package/es/pro/keyboards/numberKeyboard/index.d.ts +16 -0
  581. package/es/pro/keyboards/numberKeyboard/index.js +523 -0
  582. package/es/pro/keyboards/numberKeyboard/index.less +59 -0
  583. package/es/pro/keyboards/numberKeyboard/types.d.ts +63 -0
  584. package/es/pro/keyboards/numberKeyboard/types.js +1 -0
  585. package/es/pro/numberKeyboard/locales.d.ts +6 -0
  586. package/es/pro/numberKeyboard/locales.js +6 -0
  587. package/es/pro/pisellPhoneKeyboard/index.d.ts +13 -0
  588. package/es/pro/pisellPhoneKeyboard/index.js +210 -0
  589. package/es/pro/pisellPhoneKeyboard/index.less +157 -0
  590. package/es/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
  591. package/es/pro/pisellPhoneKeyboard/locales.js +17 -0
  592. package/lib/components/appointmentBooking/components/Date/state.js +3 -1
  593. package/lib/components/appointmentBooking/locales.d.ts +240 -0
  594. package/lib/components/appointmentBooking/locales.js +240 -0
  595. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +164 -0
  596. package/lib/components/authentication/admin/AuthMethods/locales.js +164 -0
  597. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +17 -9
  598. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +54 -0
  599. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +54 -0
  600. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +2 -0
  601. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +2 -0
  602. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +46 -0
  603. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +46 -0
  604. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +2 -0
  605. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +14 -6
  606. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +16 -0
  607. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +16 -0
  608. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +10 -2
  609. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +42 -0
  610. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +42 -0
  611. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +2 -0
  612. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +14 -6
  613. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +24 -0
  614. package/lib/components/authentication/admin/ChannelAuthSetting/locales.js +24 -0
  615. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +42 -0
  616. package/lib/components/authentication/admin/CustomerAuth/locales.js +42 -0
  617. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +70 -0
  618. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.js +70 -0
  619. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +36 -0
  620. package/lib/components/authentication/admin/DeviceAuth/locales.js +36 -0
  621. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +58 -0
  622. package/lib/components/authentication/admin/OAuthConfig/locales.js +58 -0
  623. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +34 -0
  624. package/lib/components/authentication/admin/OrgAdminAuth/locales.js +34 -0
  625. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +30 -0
  626. package/lib/components/authentication/admin/POSOperatorAuth/locales.js +30 -0
  627. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +34 -0
  628. package/lib/components/authentication/admin/SaaSAdminAuth/locales.js +34 -0
  629. package/lib/components/booking/components/footer/index.js +5 -0
  630. package/lib/components/booking/components/footer/utils.js +15 -3
  631. package/lib/components/booking/editBookingModal/locales.d.ts +12 -0
  632. package/lib/components/booking/editBookingModal/locales.js +12 -0
  633. package/lib/components/booking/editBookingModal/mock.d.ts +186 -2
  634. package/lib/components/booking/editBookingModal/mock.js +22 -0
  635. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  636. package/lib/components/booking/hooks/useClearCart.d.ts +1 -1
  637. package/lib/components/booking/hooks/useClearCart.js +28 -6
  638. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  639. package/lib/components/booking/info/header/index.js +7 -7
  640. package/lib/components/booking/info/header/index.less +5 -5
  641. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  642. package/lib/components/booking/info/service/index.less +4 -2
  643. package/lib/components/booking/info/service2/utils.js +15 -13
  644. package/lib/components/booking/info2/service/addService/mock.d.ts +2 -0
  645. package/lib/components/booking/info2/service/addService/mock.js +4 -0
  646. package/lib/components/booking/info2/service/editService/index.js +24 -1
  647. package/lib/components/booking/info2/service/editService/utils.d.ts +15 -0
  648. package/lib/components/booking/info2/service/editService/utils.js +38 -2
  649. package/lib/components/booking/locales.d.ts +648 -0
  650. package/lib/components/booking/locales.js +700 -0
  651. package/lib/components/booking/notes/NoteBlock/index.js +2 -1
  652. package/lib/components/ecocup/components/AddCustomerModal/index.d.ts +10 -0
  653. package/lib/components/ecocup/components/AddCustomerModal/index.js +212 -0
  654. package/lib/components/ecocup/components/AddCustomerModal/index.less +9 -0
  655. package/lib/components/ecocup/components/CupActionList/index.d.ts +14 -0
  656. package/lib/components/ecocup/components/CupActionList/index.js +116 -0
  657. package/lib/components/ecocup/components/CupActionList/index.less +102 -0
  658. package/lib/components/ecocup/components/CupActionModal/hooks.d.ts +5 -0
  659. package/lib/components/ecocup/components/CupActionModal/hooks.js +55 -0
  660. package/lib/components/ecocup/components/CupActionModal/index.d.ts +15 -0
  661. package/lib/components/ecocup/components/CupActionModal/index.js +125 -0
  662. package/lib/components/ecocup/components/CupActionModal/index.less +38 -0
  663. package/lib/components/ecocup/components/CupInfoCard/index.d.ts +10 -0
  664. package/lib/components/ecocup/components/CupInfoCard/index.js +43 -0
  665. package/lib/components/ecocup/components/CupInfoCard/index.less +11 -0
  666. package/lib/components/ecocup/components/CupStatusModal/hooks.d.ts +36 -0
  667. package/lib/components/ecocup/components/CupStatusModal/hooks.js +115 -0
  668. package/lib/components/ecocup/components/CupStatusModal/index.d.ts +14 -0
  669. package/lib/components/ecocup/components/CupStatusModal/index.js +221 -0
  670. package/lib/components/ecocup/components/CupStatusModal/index.less +73 -0
  671. package/lib/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +14 -0
  672. package/lib/components/ecocup/components/CustomerAndCupModal/hooks.js +89 -0
  673. package/lib/components/ecocup/components/CustomerAndCupModal/index.d.ts +20 -0
  674. package/lib/components/ecocup/components/CustomerAndCupModal/index.js +178 -0
  675. package/lib/components/ecocup/components/CustomerAndCupModal/index.less +68 -0
  676. package/lib/components/ecocup/components/CustomerCard/index.d.ts +9 -0
  677. package/lib/components/ecocup/components/CustomerCard/index.js +58 -0
  678. package/lib/components/ecocup/components/CustomerCard/index.less +50 -0
  679. package/lib/components/ecocup/components/MoreDropdown/index.d.ts +9 -0
  680. package/lib/components/ecocup/components/MoreDropdown/index.js +68 -0
  681. package/lib/components/ecocup/components/PageHeader/index.d.ts +9 -0
  682. package/lib/components/ecocup/components/PageHeader/index.js +66 -0
  683. package/lib/components/ecocup/components/PageHeader/index.less +31 -0
  684. package/lib/components/ecocup/components/SearchBar/const.d.ts +4 -0
  685. package/lib/components/ecocup/components/SearchBar/const.js +50 -0
  686. package/lib/components/ecocup/components/SearchBar/hooks.d.ts +44 -0
  687. package/lib/components/ecocup/components/SearchBar/hooks.js +135 -0
  688. package/lib/components/ecocup/components/SearchBar/index.d.ts +14 -0
  689. package/lib/components/ecocup/components/SearchBar/index.js +226 -0
  690. package/lib/components/ecocup/components/SearchBar/index.less +88 -0
  691. package/lib/components/ecocup/components/SettingModal/const.d.ts +6 -0
  692. package/lib/components/ecocup/components/SettingModal/const.js +48 -0
  693. package/lib/components/ecocup/components/SettingModal/index.d.ts +9 -0
  694. package/lib/components/ecocup/components/SettingModal/index.js +199 -0
  695. package/lib/components/ecocup/components/SettingModal/index.less +9 -0
  696. package/lib/components/ecocup/cupList/const.d.ts +140 -0
  697. package/lib/components/ecocup/cupList/const.js +344 -0
  698. package/lib/components/ecocup/cupList/hooks/index.d.ts +4 -0
  699. package/lib/components/ecocup/cupList/hooks/index.js +43 -0
  700. package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +45 -0
  701. package/lib/components/ecocup/cupList/hooks/useColumns.js +200 -0
  702. package/lib/components/ecocup/cupList/hooks/useCupApi.d.ts +41 -0
  703. package/lib/components/ecocup/cupList/hooks/useCupApi.js +227 -0
  704. package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +3 -0
  705. package/lib/components/ecocup/cupList/hooks/useSummary.js +83 -0
  706. package/lib/components/ecocup/cupList/index.d.ts +7 -0
  707. package/lib/components/ecocup/cupList/index.js +262 -0
  708. package/lib/components/ecocup/cupList/index.less +159 -0
  709. package/lib/components/ecocup/cupProject/const.d.ts +7 -0
  710. package/lib/components/ecocup/cupProject/const.js +65 -0
  711. package/lib/components/ecocup/cupProject/index.d.ts +3 -0
  712. package/lib/components/ecocup/cupProject/index.js +135 -0
  713. package/lib/components/ecocup/cupProject/index.less +41 -0
  714. package/lib/components/ecocup/customerList/const.d.ts +44 -0
  715. package/lib/components/ecocup/customerList/const.js +93 -0
  716. package/lib/components/ecocup/customerList/hooks/index.d.ts +3 -0
  717. package/lib/components/ecocup/customerList/hooks/index.js +32 -0
  718. package/lib/components/ecocup/customerList/hooks/useColumns.d.ts +15 -0
  719. package/lib/components/ecocup/customerList/hooks/useColumns.js +89 -0
  720. package/lib/components/ecocup/customerList/hooks/useCustomerApi.d.ts +15 -0
  721. package/lib/components/ecocup/customerList/hooks/useCustomerApi.js +56 -0
  722. package/lib/components/ecocup/customerList/index.d.ts +7 -0
  723. package/lib/components/ecocup/customerList/index.js +138 -0
  724. package/lib/components/ecocup/customerList/index.less +15 -0
  725. package/lib/components/ecocup/hooks.d.ts +57 -0
  726. package/lib/components/ecocup/hooks.js +169 -0
  727. package/lib/components/ecocup/locales.d.ts +653 -0
  728. package/lib/components/ecocup/locales.js +706 -0
  729. package/lib/components/ecocup/types.d.ts +103 -0
  730. package/lib/components/ecocup/types.js +57 -0
  731. package/lib/components/ecocup/utils/download.d.ts +7 -0
  732. package/lib/components/ecocup/utils/download.js +47 -0
  733. package/lib/components/ecocup/utils/index.d.ts +2 -0
  734. package/lib/components/{eftposPay/aggregatePayment → ecocup/utils}/index.js +10 -13
  735. package/lib/components/ecocup/utils/scanListener.d.ts +20 -0
  736. package/lib/components/ecocup/utils/scanListener.js +90 -0
  737. package/lib/components/eftpos/const.d.ts +1 -3
  738. package/lib/components/eftpos/const.js +0 -2
  739. package/lib/components/eftpos/device.d.ts +1 -3
  740. package/lib/components/eftpos/device.js +3 -3
  741. package/lib/components/eftpos/hooks.d.ts +0 -13
  742. package/lib/components/eftpos/hooks.js +0 -30
  743. package/lib/components/eftpos/index.js +8 -106
  744. package/lib/components/eftpos/index.less +1 -26
  745. package/lib/components/eftpos/locales.d.ts +64 -39
  746. package/lib/components/eftpos/locales.js +78 -101
  747. package/lib/components/eftpos/table.js +2 -30
  748. package/lib/components/eftposPay/app.d.ts +1 -1
  749. package/lib/components/eftposPay/component/fail/failCustom.js +15 -9
  750. package/lib/components/eftposPay/component/fail/index.js +4 -1
  751. package/lib/components/eftposPay/component/manual/index.js +2 -9
  752. package/lib/components/eftposPay/const.d.ts +2 -7
  753. package/lib/components/eftposPay/const.js +0 -2
  754. package/lib/components/eftposPay/device.js +94 -12
  755. package/lib/components/eftposPay/hooks.d.ts +1 -1
  756. package/lib/components/eftposPay/index.js +5 -1
  757. package/lib/components/eftposPay/linkly/const.js +1 -1
  758. package/lib/components/eftposPay/linkly/index.js +0 -1
  759. package/lib/components/eftposPay/locales.d.ts +242 -9
  760. package/lib/components/eftposPay/locales.js +252 -11
  761. package/lib/components/eftposPay/manufacturer.d.ts +0 -1
  762. package/lib/components/eftposPay/manufacturer.js +0 -6
  763. package/lib/components/eftposPay/pay.js +2 -4
  764. package/lib/components/eftposPay/payo/config.js +1 -0
  765. package/lib/components/eftposPay/payo/const.js +1 -1
  766. package/lib/components/eftposPay/store/index.d.ts +5 -2
  767. package/lib/components/eftposPay/tyro/const.js +1 -1
  768. package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
  769. package/lib/components/eftposPay/windcave/const.js +1 -1
  770. package/lib/components/eftposPay/windcave/windcave.js +9 -9
  771. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  772. package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +22 -0
  773. package/lib/components/eventBooking/components/Voucher/components/locales.js +22 -0
  774. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  775. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  776. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  777. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  778. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  779. package/lib/components/eventBooking/locales.d.ts +162 -0
  780. package/lib/components/eventBooking/locales.js +162 -0
  781. package/lib/components/kioskSkuDetail/index.js +27 -3
  782. package/lib/components/kioskSkuDetail/locales.d.ts +21 -0
  783. package/lib/components/kioskSkuDetail/locales.js +24 -3
  784. package/lib/components/login/locales.d.ts +14 -0
  785. package/lib/components/login/locales.js +14 -0
  786. package/lib/components/pay/toC/PaymentList/payment/google_pay.svg +26 -8
  787. package/lib/components/pay/toC/PaymentList/payment/google_pay2.svg +9 -0
  788. package/lib/components/pay/toC/PaymentList/serve.js +1 -1
  789. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.d.ts +6 -0
  790. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.js +40 -17
  791. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.less +110 -9
  792. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/index.d.ts +2 -0
  793. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/index.js +32 -12
  794. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +20 -1
  795. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.js +8 -2
  796. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.less +20 -0
  797. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +7 -1
  798. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.js +98 -24
  799. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.less +47 -0
  800. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.d.ts +34 -0
  801. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.js +107 -0
  802. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.less +52 -0
  803. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +9 -1
  804. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.js +149 -5
  805. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +23 -3
  806. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +121 -39
  807. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  808. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  809. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  810. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +1 -0
  811. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.js +7 -1
  812. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +5 -0
  813. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +92 -103
  814. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +6 -0
  815. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +2 -2
  816. package/lib/components/pay/toC/PaymentMethods/index.js +17 -12
  817. package/lib/components/pay/toC/WalletPassBlock/index.js +3 -1
  818. package/lib/components/pay/toC/index.js +86 -22
  819. package/lib/components/pay/toC/locales.d.ts +319 -0
  820. package/lib/components/pay/toC/locales.js +331 -12
  821. package/lib/components/pay/toC/model.d.ts +1 -0
  822. package/lib/components/pay/toC/serve.d.ts +30 -0
  823. package/lib/components/pay/toC/serve.js +17 -1
  824. package/lib/components/pay/toC/utils.d.ts +7 -2
  825. package/lib/components/pay/toC/utils.js +21 -0
  826. package/lib/components/pinModal/locales.d.ts +16 -0
  827. package/lib/components/pinModal/locales.js +16 -0
  828. package/lib/components/pinVerifyModal/locales.d.ts +14 -0
  829. package/lib/components/pinVerifyModal/locales.js +14 -0
  830. package/lib/components/pisellSelectCustomerModal/locales.d.ts +52 -0
  831. package/lib/components/pisellSelectCustomerModal/locales.js +52 -0
  832. package/lib/components/productExtension/locales.d.ts +30 -0
  833. package/lib/components/productExtension/locales.js +30 -0
  834. package/lib/components/productSelect/components/pisellPriceText/index.js +6 -4
  835. package/lib/components/productSelect/locales.d.ts +20 -0
  836. package/lib/components/productSelect/locales.js +23 -3
  837. package/lib/components/ruleSetting/locales.d.ts +30 -0
  838. package/lib/components/ruleSetting/locales.js +30 -0
  839. package/lib/components/schedules/locales.d.ts +56 -0
  840. package/lib/components/schedules/locales.js +56 -0
  841. package/lib/components/shoppingCart/components/Cart/index.less +1 -0
  842. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -1
  843. package/lib/components/shoppingCart/hooks/useClearCart.js +42 -11
  844. package/lib/components/shoppingCart/locales.d.ts +20 -0
  845. package/lib/components/shoppingCart/locales.js +20 -0
  846. package/lib/components/stepController/locales.d.ts +16 -0
  847. package/lib/components/stepController/locales.js +16 -0
  848. package/lib/components/subTotal/locales.d.ts +26 -0
  849. package/lib/components/subTotal/locales.js +26 -0
  850. package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +59 -0
  851. package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/index.js +228 -0
  852. package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/serve.d.ts +70 -0
  853. package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/serve.js +195 -0
  854. package/lib/components/systemSettings/registry/components/ItemModal.js +347 -224
  855. package/lib/components/systemSettings/registry/components/OptionDataSource/OptionTable.d.ts +8 -0
  856. package/lib/components/systemSettings/registry/components/OptionDataSource/OptionTable.js +166 -0
  857. package/lib/components/systemSettings/registry/components/OptionDataSource/index.d.ts +10 -0
  858. package/lib/components/systemSettings/registry/components/OptionDataSource/index.js +210 -0
  859. package/lib/components/systemSettings/registry/components/OptionDataSource/index.less +37 -0
  860. package/lib/components/systemSettings/registry/index.js +20 -16
  861. package/lib/components/systemSettings/registry/index.less +6 -7
  862. package/lib/components/systemSettings/registry/locales.d.ts +262 -0
  863. package/lib/components/systemSettings/registry/locales.js +274 -3
  864. package/lib/components/systemSettings/registry/services.d.ts +20 -0
  865. package/lib/components/systemSettings/registry/types.d.ts +16 -2
  866. package/lib/components/taxSelect/locales.d.ts +14 -0
  867. package/lib/components/taxSelect/locales.js +14 -0
  868. package/lib/components/ticketBooking/locales.d.ts +130 -0
  869. package/lib/components/ticketBooking/locales.js +136 -0
  870. package/lib/components/ticketBooking/utils/formatTime.d.ts +2 -0
  871. package/lib/components/ticketBooking/utils/formatTime.js +8 -2
  872. package/lib/components/wallet/utils.d.ts +1 -1
  873. package/lib/components/walletList/index.js +10 -0
  874. package/lib/components/walletList/locales.d.ts +16 -0
  875. package/lib/components/walletList/locales.js +16 -0
  876. package/lib/components/walletList/types/index.d.ts +2 -0
  877. package/lib/hooks/useEngineContext.d.ts +1 -0
  878. package/lib/hooks/useEngineContext.js +10 -2
  879. package/lib/hooks/useLocale.js +7 -2
  880. package/lib/hooks/usePaymentLogger.d.ts +1 -0
  881. package/lib/hooks/useThemeTokens.d.ts +7 -0
  882. package/lib/hooks/useThemeTokens.js +40 -0
  883. package/lib/hooks/useTranslationOriginal.d.ts +1 -0
  884. package/lib/hooks/useTranslationOriginal.js +42 -0
  885. package/lib/index.d.ts +16 -3
  886. package/lib/index.js +39 -3
  887. package/lib/plus/clientCard/index.d.ts +7 -0
  888. package/lib/plus/clientCard/index.js +457 -0
  889. package/lib/plus/clientCard/index.less +515 -0
  890. package/lib/plus/clientCard/line/index.d.ts +9 -0
  891. package/lib/plus/clientCard/line/index.js +153 -0
  892. package/lib/plus/clientCard/line/index.less +142 -0
  893. package/lib/plus/clientCard/locales.d.ts +28 -0
  894. package/lib/plus/clientCard/locales.js +51 -0
  895. package/lib/plus/clientCard/types.d.ts +135 -0
  896. package/lib/plus/clientCard/types.js +17 -0
  897. package/lib/plus/clientCard/utils.d.ts +8 -0
  898. package/lib/plus/clientCard/utils.js +75 -0
  899. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +3 -0
  900. package/lib/plus/clinetSearch/Add/BirthdayField/index.js +256 -0
  901. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +3 -0
  902. package/lib/plus/clinetSearch/Add/GenderField/index.js +52 -0
  903. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +3 -0
  904. package/lib/plus/clinetSearch/Add/PhoneField/index.js +78 -0
  905. package/lib/plus/clinetSearch/Add/PhoneField/serve.d.ts +2 -0
  906. package/lib/plus/clinetSearch/Add/PhoneField/serve.js +193 -0
  907. package/lib/plus/clinetSearch/Add/index.d.ts +18 -0
  908. package/lib/plus/clinetSearch/Add/index.js +244 -0
  909. package/lib/plus/clinetSearch/Add/index.less +30 -0
  910. package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +5 -0
  911. package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.js +235 -0
  912. package/lib/plus/clinetSearch/InfiniteScroll/index.d.ts +2 -0
  913. package/lib/plus/clinetSearch/InfiniteScroll/index.js +35 -0
  914. package/lib/plus/clinetSearch/InfiniteScroll/types.d.ts +46 -0
  915. package/lib/plus/clinetSearch/InfiniteScroll/types.js +17 -0
  916. package/lib/plus/clinetSearch/index.d.ts +18 -0
  917. package/lib/plus/clinetSearch/index.js +237 -0
  918. package/lib/plus/clinetSearch/index.less +95 -0
  919. package/lib/plus/clinetSearch/locales.d.ts +178 -0
  920. package/lib/plus/clinetSearch/locales.js +201 -0
  921. package/lib/plus/clinetSearch/serve.d.ts +1 -0
  922. package/lib/{components/eftpos/SettlementModal → plus/clinetSearch}/serve.js +7 -19
  923. package/lib/plus/clinetSearch/types.d.ts +70 -0
  924. package/lib/plus/clinetSearch/types.js +17 -0
  925. package/lib/plus/contactInfo/components/SwipeAction/index.js +23 -23
  926. package/lib/plus/contactInfo/locales.d.ts +8 -0
  927. package/lib/plus/contactInfo/locales.js +8 -0
  928. package/lib/plus/contactInfoModal/locales.d.ts +42 -0
  929. package/lib/plus/contactInfoModal/locales.js +42 -0
  930. package/lib/plus/orderList/components/BatchActionBar.d.ts +9 -0
  931. package/lib/plus/orderList/components/BatchActionBar.js +567 -0
  932. package/lib/plus/orderList/components/FilterList.d.ts +8 -0
  933. package/lib/plus/orderList/components/FilterList.js +121 -0
  934. package/lib/plus/orderList/components/HandleActions.d.ts +6 -0
  935. package/lib/plus/orderList/components/HandleActions.js +52 -0
  936. package/lib/plus/orderList/components/QuickFilter.d.ts +5 -0
  937. package/lib/plus/orderList/components/QuickFilter.js +43 -0
  938. package/lib/plus/orderList/components/Reset.d.ts +7 -0
  939. package/lib/plus/orderList/components/Reset.js +58 -0
  940. package/lib/plus/orderList/components/Toolbar.d.ts +7 -0
  941. package/lib/plus/orderList/components/Toolbar.js +68 -0
  942. package/lib/plus/orderList/config.d.ts +155 -0
  943. package/lib/plus/orderList/config.js +764 -0
  944. package/lib/plus/orderList/index.d.ts +10 -0
  945. package/lib/plus/orderList/index.js +132 -0
  946. package/lib/plus/orderList/index.less +125 -0
  947. package/lib/plus/orderList/locales.d.ts +618 -0
  948. package/lib/plus/orderList/locales.js +737 -0
  949. package/lib/plus/orderList/serve.d.ts +42 -0
  950. package/lib/plus/orderList/serve.js +177 -0
  951. package/lib/plus/pisellSalesGrid/PisellSalesGrid.d.ts +5 -0
  952. package/lib/plus/pisellSalesGrid/PisellSalesGrid.js +339 -0
  953. package/lib/plus/pisellSalesGrid/PisellSalesGrid.less +16 -0
  954. package/lib/plus/pisellSalesGrid/PisellSalesGrid.stories.d.ts +14 -0
  955. package/lib/plus/pisellSalesGrid/PisellSalesGrid.stories.js +455 -0
  956. package/lib/plus/pisellSalesGrid/hooks/useActions.d.ts +19 -0
  957. package/lib/plus/pisellSalesGrid/hooks/useActions.js +545 -0
  958. package/lib/plus/pisellSalesGrid/index.d.ts +4 -0
  959. package/lib/plus/pisellSalesGrid/index.js +42 -0
  960. package/lib/plus/pisellSalesGrid/locales.d.ts +9 -0
  961. package/lib/plus/pisellSalesGrid/locales.js +29 -0
  962. package/lib/plus/pisellSalesGrid/serve.d.ts +19 -0
  963. package/lib/plus/pisellSalesGrid/serve.js +142 -0
  964. package/lib/plus/pisellSalesGrid/types.d.ts +170 -0
  965. package/lib/plus/pisellSalesGrid/types.js +17 -0
  966. package/lib/plus/pisellSalesManagement/components/BookingFormsPreview.d.ts +15 -0
  967. package/lib/plus/pisellSalesManagement/components/BookingFormsPreview.js +253 -0
  968. package/lib/plus/pisellSalesManagement/components/BookingNotesPreview.d.ts +19 -0
  969. package/lib/plus/pisellSalesManagement/components/BookingNotesPreview.js +193 -0
  970. package/lib/plus/pisellSalesManagement/components/ResourceSelector.d.ts +9 -0
  971. package/lib/plus/pisellSalesManagement/components/ResourceSelector.js +106 -0
  972. package/lib/plus/pisellSalesManagement/config/booking.d.ts +185 -0
  973. package/lib/plus/pisellSalesManagement/config/booking.js +500 -0
  974. package/lib/plus/pisellSalesManagement/config/index.d.ts +2 -0
  975. package/lib/plus/pisellSalesManagement/config/index.js +43 -0
  976. package/lib/plus/pisellSalesManagement/config/order.d.ts +172 -0
  977. package/lib/plus/pisellSalesManagement/config/order.js +492 -0
  978. package/lib/plus/pisellSalesManagement/hooks/perspectiveUtils.d.ts +15 -0
  979. package/lib/plus/pisellSalesManagement/hooks/perspectiveUtils.js +113 -0
  980. package/lib/plus/pisellSalesManagement/hooks/useBookingPerspective.d.ts +2 -0
  981. package/lib/plus/pisellSalesManagement/hooks/useBookingPerspective.js +699 -0
  982. package/lib/plus/pisellSalesManagement/hooks/useOrderPerspective.d.ts +2 -0
  983. package/lib/plus/pisellSalesManagement/hooks/useOrderPerspective.js +700 -0
  984. package/lib/plus/pisellSalesManagement/hooks/usePerspectives.d.ts +5 -0
  985. package/lib/plus/pisellSalesManagement/hooks/usePerspectives.js +42 -0
  986. package/lib/plus/pisellSalesManagement/index.d.ts +10 -0
  987. package/lib/plus/pisellSalesManagement/index.js +113 -0
  988. package/lib/plus/pisellSalesManagement/locales.d.ts +303 -0
  989. package/lib/plus/pisellSalesManagement/locales.js +326 -0
  990. package/lib/plus/pisellSalesManagement/serve.d.ts +26 -0
  991. package/lib/plus/pisellSalesManagement/serve.js +120 -0
  992. package/lib/plus/productSelect/components/pisellPriceText/index.js +6 -4
  993. package/lib/plus/productSelect/locales.d.ts +20 -0
  994. package/lib/plus/productSelect/locales.js +23 -3
  995. package/lib/plus/saasAttendance/index.d.ts +6 -0
  996. package/lib/plus/saasAttendance/index.js +39 -0
  997. package/lib/plus/saasAttendance/locales.d.ts +591 -0
  998. package/lib/plus/saasAttendance/locales.js +615 -0
  999. package/lib/plus/saasAttendance/settings/BasicInfoTab.d.ts +5 -0
  1000. package/lib/plus/saasAttendance/settings/BasicInfoTab.js +152 -0
  1001. package/lib/plus/saasAttendance/settings/ClockInMethodTab.d.ts +8 -0
  1002. package/lib/plus/saasAttendance/settings/ClockInMethodTab.js +88 -0
  1003. package/lib/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +8 -0
  1004. package/lib/plus/saasAttendance/settings/CorrectionPolicyTab.js +369 -0
  1005. package/lib/plus/saasAttendance/settings/PermissonTab.d.ts +5 -0
  1006. package/lib/plus/saasAttendance/settings/PermissonTab.js +128 -0
  1007. package/lib/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +5 -0
  1008. package/lib/plus/saasAttendance/settings/ShiftScheduleTab.js +107 -0
  1009. package/lib/plus/saasAttendance/settings/components/MapField.d.ts +78 -0
  1010. package/lib/plus/saasAttendance/settings/components/MapField.js +670 -0
  1011. package/lib/plus/saasAttendance/settings/components/index.d.ts +3 -0
  1012. package/lib/plus/saasAttendance/settings/components/index.js +42 -0
  1013. package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +8 -0
  1014. package/lib/plus/saasAttendance/settings/components/membersField/index.js +247 -0
  1015. package/lib/plus/saasAttendance/settings/components/membersField/index.less +70 -0
  1016. package/lib/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.d.ts +7 -0
  1017. package/lib/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.js +150 -0
  1018. package/lib/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.less +119 -0
  1019. package/lib/plus/saasAttendance/settings/components/shiftModal/index.d.ts +18 -0
  1020. package/lib/plus/saasAttendance/settings/components/shiftModal/index.js +447 -0
  1021. package/lib/plus/saasAttendance/settings/index.d.ts +18 -0
  1022. package/lib/plus/saasAttendance/settings/index.js +295 -0
  1023. package/lib/plus/saasAttendance/settings/index.less +510 -0
  1024. package/lib/plus/saasAttendance/settings/serve.d.ts +27 -0
  1025. package/lib/plus/saasAttendance/settings/serve.js +54 -0
  1026. package/lib/plus/saasAttendance/settings/types.d.ts +136 -0
  1027. package/lib/plus/saasAttendance/settings/types.js +17 -0
  1028. package/lib/plus/saasCreateOrganization/locales.d.ts +8 -0
  1029. package/lib/plus/saasCreateOrganization/locales.js +8 -0
  1030. package/lib/plus/saasLogin/locales.d.ts +32 -0
  1031. package/lib/plus/saasLogin/locales.js +32 -0
  1032. package/lib/plus/saasRegister/locales.d.ts +76 -0
  1033. package/lib/plus/saasRegister/locales.js +76 -0
  1034. package/lib/plus/saasRole/components/PermissionManager/index.d.ts +19 -0
  1035. package/lib/plus/saasRole/components/PermissionManager/index.js +159 -0
  1036. package/lib/plus/saasRole/components/PermissionManager/index.less +71 -0
  1037. package/lib/plus/saasRole/index.d.ts +14 -0
  1038. package/lib/plus/saasRole/index.js +780 -0
  1039. package/lib/plus/saasRole/index.less +196 -0
  1040. package/lib/plus/saasRole/locales.d.ts +319 -0
  1041. package/lib/plus/saasRole/locales.js +345 -0
  1042. package/lib/plus/saasRole/serve.d.ts +72 -0
  1043. package/lib/plus/saasRole/serve.js +100 -0
  1044. package/lib/plus/saasRole/types.d.ts +177 -0
  1045. package/lib/plus/saasRole/types.js +17 -0
  1046. package/lib/plus/saasRole/utils.d.ts +0 -0
  1047. package/lib/plus/saasRole/utils.js +0 -0
  1048. package/lib/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +31 -0
  1049. package/lib/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.js +393 -0
  1050. package/lib/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +23 -0
  1051. package/lib/plus/saasTeamMembers/components/MemberDrawer/index.js +672 -0
  1052. package/lib/plus/saasTeamMembers/components/MemberDrawer/index.less +178 -0
  1053. package/lib/plus/saasTeamMembers/index.d.ts +5 -0
  1054. package/lib/plus/saasTeamMembers/index.js +448 -0
  1055. package/lib/plus/saasTeamMembers/index.less +87 -0
  1056. package/lib/plus/saasTeamMembers/locales.d.ts +546 -0
  1057. package/lib/plus/saasTeamMembers/locales.js +617 -0
  1058. package/lib/plus/saasTeamMembers/serve.d.ts +95 -0
  1059. package/lib/plus/saasTeamMembers/serve.js +132 -0
  1060. package/lib/plus/saasTeamMembers/type.d.ts +158 -0
  1061. package/lib/plus/saasTeamMembers/type.js +17 -0
  1062. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
  1063. package/lib/plus/selectHolder/locales.d.ts +14 -0
  1064. package/lib/plus/selectHolder/locales.js +14 -0
  1065. package/lib/plus/skuOptionsSelection/components/NormalCard/index.js +26 -19
  1066. package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.js +3 -3
  1067. package/lib/plus/skuOptionsSelection/components/OptionsCard/index.js +3 -2
  1068. package/lib/plus/skuOptionsSelection/components/OptionsCard/index.less +22 -7
  1069. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.js +7 -7
  1070. package/lib/plus/skuOptionsSelection/index.js +4 -3
  1071. package/lib/plus/skuOptionsSelection/locales.d.ts +25 -0
  1072. package/lib/plus/skuOptionsSelection/locales.js +28 -3
  1073. package/lib/plus/skuOptionsSelection/store/store.js +2 -1
  1074. package/lib/plus/skuOptionsSelection/types.d.ts +29 -0
  1075. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.js +16 -10
  1076. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.js +10 -7
  1077. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +24 -6
  1078. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.js +44 -55
  1079. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.js +9 -8
  1080. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +2 -0
  1081. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.js +12 -4
  1082. package/lib/plus/walletEditor/locales.d.ts +88 -0
  1083. package/lib/plus/walletEditor/locales.js +100 -0
  1084. package/lib/plus/walletEditor/types.d.ts +2 -0
  1085. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
  1086. package/lib/plus/walletPassGallery/components/passDetail/index.js +42 -5
  1087. package/lib/plus/walletPassGallery/components/passList/index.js +12 -5
  1088. package/lib/plus/walletPassGallery/components/recharge/index.js +7 -5
  1089. package/lib/plus/walletPassGallery/components/recharge/index.less +70 -1
  1090. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +2 -0
  1091. package/lib/plus/walletPassGallery/components/timelineSection/index.js +17 -2
  1092. package/lib/plus/walletPassGallery/index.d.ts +4 -0
  1093. package/lib/plus/walletPassGallery/index.js +116 -45
  1094. package/lib/plus/walletPassGallery/locales.d.ts +198 -0
  1095. package/lib/plus/walletPassGallery/locales.js +210 -3
  1096. package/lib/plus/walletPassGallery/serve.d.ts +3 -1
  1097. package/lib/plus/walletPassGallery/serve.js +2 -2
  1098. package/lib/plus/walletPassGallery/utils.d.ts +1 -1
  1099. package/lib/pro/Cards/components/SKUCard/index.d.ts +1 -56
  1100. package/lib/pro/Cards/components/SKUCard/index.js +60 -19
  1101. package/lib/pro/Cards/components/SKUCard/index.less +41 -5
  1102. package/lib/pro/Cards/components/SKUCard/locales.d.ts +12 -0
  1103. package/lib/pro/Cards/components/SKUCard/locales.js +35 -0
  1104. package/lib/pro/Cards/components/SKUCard/types.d.ts +73 -0
  1105. package/lib/pro/Cards/components/SKUCard/types.js +17 -0
  1106. package/lib/pro/Login2.0/Login2.js +8 -8
  1107. package/lib/pro/Login2.0/locales.d.ts +365 -0
  1108. package/lib/pro/Login2.0/locales.js +365 -0
  1109. package/lib/pro/Login2.0/shared/types.d.ts +2 -0
  1110. package/lib/pro/NumericStepper/index.d.ts +33 -3
  1111. package/lib/pro/NumericStepper/index.js +184 -88
  1112. package/lib/pro/NumericStepper/index.less +287 -143
  1113. package/lib/pro/Selector/BatchSelectorDemo.js +13 -19
  1114. package/lib/pro/Selector/Selector.js +34 -17
  1115. package/lib/pro/Selector/SelectorGroup.d.ts +1 -1
  1116. package/lib/pro/Selector/SelectorGroup.js +7 -1
  1117. package/lib/pro/Selector/components/Card/index.js +19 -8
  1118. package/lib/pro/Selector/components/Card/index.less +30 -14
  1119. package/lib/pro/Selector/components/Indicator/index.d.ts +1 -0
  1120. package/lib/pro/Selector/components/Indicator/index.js +2 -2
  1121. package/lib/pro/Selector/components/Indicator/index.less +16 -13
  1122. package/lib/pro/Selector/components/LayoutContainer/index.d.ts +5 -3
  1123. package/lib/pro/Selector/components/LayoutContainer/index.js +130 -2
  1124. package/lib/pro/Selector/components/LayoutContainer/index.less +19 -0
  1125. package/lib/pro/Selector/components/Media/index.d.ts +1 -1
  1126. package/lib/pro/Selector/components/Media/index.js +7 -4
  1127. package/lib/pro/Selector/components/Media/index.less +1 -1
  1128. package/lib/pro/Selector/demo.js +1 -1
  1129. package/lib/pro/Selector/hooks/usePresetItemProps.js +2 -0
  1130. package/lib/pro/Selector/hooks/usePresetProps.js +28 -6
  1131. package/lib/pro/Selector/locales.d.ts +22 -0
  1132. package/lib/pro/Selector/locales.js +50 -0
  1133. package/lib/pro/Selector/selector.less +0 -64
  1134. package/lib/pro/Selector/selectorGroup.less +9 -1
  1135. package/lib/pro/Selector/types.d.ts +50 -0
  1136. package/lib/pro/comprehensiveSearch/components/deviceIconGroup/index.d.ts +11 -0
  1137. package/lib/pro/comprehensiveSearch/components/deviceIconGroup/index.js +64 -0
  1138. package/lib/pro/comprehensiveSearch/components/deviceIconGroup/index.less +28 -0
  1139. package/lib/pro/comprehensiveSearch/components/index.d.ts +2 -0
  1140. package/lib/pro/comprehensiveSearch/components/index.js +42 -0
  1141. package/lib/pro/comprehensiveSearch/components/searchSection/index.d.ts +24 -0
  1142. package/lib/pro/comprehensiveSearch/components/searchSection/index.js +154 -0
  1143. package/lib/pro/comprehensiveSearch/components/searchSection/index.less +100 -0
  1144. package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
  1145. package/lib/pro/comprehensiveSearch/components/searchSection/locales.js +46 -0
  1146. package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +5 -0
  1147. package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.js +56 -0
  1148. package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +9 -0
  1149. package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.js +70 -0
  1150. package/lib/pro/comprehensiveSearch/index.d.ts +7 -0
  1151. package/lib/pro/comprehensiveSearch/index.js +190 -0
  1152. package/lib/pro/comprehensiveSearch/index.less +196 -0
  1153. package/lib/pro/comprehensiveSearch/locales.d.ts +23 -0
  1154. package/lib/pro/comprehensiveSearch/locales.js +46 -0
  1155. package/lib/pro/comprehensiveSearch/types.d.ts +32 -0
  1156. package/lib/pro/comprehensiveSearch/types.js +17 -0
  1157. package/lib/pro/keyboards/index.d.ts +2 -0
  1158. package/lib/pro/keyboards/index.js +39 -0
  1159. package/lib/pro/keyboards/locales.d.ts +38 -0
  1160. package/lib/pro/keyboards/locales.js +61 -0
  1161. package/lib/pro/keyboards/numberKeyboard/index.d.ts +16 -0
  1162. package/lib/pro/keyboards/numberKeyboard/index.js +400 -0
  1163. package/lib/pro/keyboards/numberKeyboard/index.less +59 -0
  1164. package/lib/pro/keyboards/numberKeyboard/types.d.ts +63 -0
  1165. package/lib/pro/keyboards/numberKeyboard/types.js +17 -0
  1166. package/lib/pro/numberKeyboard/locales.d.ts +6 -0
  1167. package/lib/pro/numberKeyboard/locales.js +6 -0
  1168. package/lib/pro/pisellPhoneKeyboard/index.d.ts +13 -0
  1169. package/lib/pro/pisellPhoneKeyboard/index.js +219 -0
  1170. package/lib/pro/pisellPhoneKeyboard/index.less +157 -0
  1171. package/lib/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
  1172. package/lib/pro/pisellPhoneKeyboard/locales.js +41 -0
  1173. package/lowcode/client-card/fragments/cardStyle.ts +63 -0
  1174. package/lowcode/client-card/fragments/nameStyle.ts +34 -0
  1175. package/lowcode/client-card/fragments/pisellAvatar.ts +87 -0
  1176. package/lowcode/client-card/fragments/tagConfig.ts +88 -0
  1177. package/lowcode/client-card/meta.ts +343 -0
  1178. package/lowcode/client-search/meta.ts +316 -0
  1179. package/lowcode/eco-cup-list/meta.ts +27 -0
  1180. package/lowcode/eco-customer-list/meta.ts +27 -0
  1181. package/lowcode/ecocup-cup-list/meta.ts +38 -0
  1182. package/lowcode/ecocup-cup-project/meta.ts +35 -0
  1183. package/lowcode/ecocup-customer-list/meta.ts +38 -0
  1184. package/lowcode/order-list/meta.ts +87 -0
  1185. package/lowcode/pisell-sales-management/meta.ts +88 -0
  1186. package/lowcode/saas-attendance-settings/meta.ts +56 -0
  1187. package/lowcode/saas-role/meta.ts +35 -0
  1188. package/lowcode/saas-team-members/meta.ts +35 -0
  1189. package/lowcode/selector/meta.ts +15 -2
  1190. package/lowcode/selector.group/meta.ts +15 -2
  1191. package/lowcode/sku-options-selection/meta.ts +106 -2
  1192. package/lowcode/wallet-pass-gallery/meta.ts +66 -1
  1193. package/package.json +6 -6
  1194. package/es/components/eftpos/PairModal/hooks.d.ts +0 -27
  1195. package/es/components/eftpos/PairModal/hooks.js +0 -67
  1196. package/es/components/eftpos/PairModal/index.d.ts +0 -11
  1197. package/es/components/eftpos/PairModal/index.less +0 -70
  1198. package/es/components/eftpos/SettlementModal/Action.d.ts +0 -8
  1199. package/es/components/eftpos/SettlementModal/Action.js +0 -141
  1200. package/es/components/eftpos/SettlementModal/index.d.ts +0 -8
  1201. package/es/components/eftpos/SettlementModal/index.js +0 -135
  1202. package/es/components/eftpos/SettlementModal/index.less +0 -33
  1203. package/es/components/eftpos/SettlementModal/serve.d.ts +0 -8
  1204. package/es/components/eftpos/SettlementModal/serve.js +0 -171
  1205. package/es/components/eftpos/SettlementModal/types.d.ts +0 -138
  1206. package/es/components/eftpos/SettlementModal/types.js +0 -35
  1207. package/es/components/eftpos/SettlementModal/utils.d.ts +0 -18
  1208. package/es/components/eftpos/SettlementModal/utils.js +0 -351
  1209. package/es/components/eftpos/assets/mx51SCI.svg +0 -15
  1210. package/es/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +0 -8
  1211. package/es/components/eftposPay/aggregatePayment/hooks/usePayment.js +0 -126
  1212. package/es/components/eftposPay/aggregatePayment/index.d.ts +0 -4
  1213. package/es/components/eftposPay/aggregatePayment/index.js +0 -4
  1214. package/es/components/eftposPay/aggregatePayment/mock.d.ts +0 -495
  1215. package/es/components/eftposPay/aggregatePayment/mock.js +0 -567
  1216. package/es/components/eftposPay/aggregatePayment/service.d.ts +0 -24
  1217. package/es/components/eftposPay/aggregatePayment/service.js +0 -70
  1218. package/es/components/eftposPay/aggregatePayment/types.d.ts +0 -101
  1219. package/es/components/eftposPay/aggregatePayment/types.js +0 -61
  1220. package/es/components/eftposPay/aggregatePayment/utils/logs.d.ts +0 -110
  1221. package/es/components/eftposPay/aggregatePayment/utils/logs.js +0 -385
  1222. package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +0 -132
  1223. package/es/components/eftposPay/aggregatePayment/utils/payment.js +0 -1147
  1224. package/es/components/eftposPay/mx51/Action.d.ts +0 -7
  1225. package/es/components/eftposPay/mx51/Action.js +0 -144
  1226. package/es/components/eftposPay/mx51/const.d.ts +0 -5
  1227. package/es/components/eftposPay/mx51/const.js +0 -69
  1228. package/es/components/eftposPay/mx51/index.d.ts +0 -6
  1229. package/es/components/eftposPay/mx51/index.js +0 -424
  1230. package/es/components/eftposPay/mx51/types.d.ts +0 -142
  1231. package/es/components/eftposPay/mx51/types.js +0 -35
  1232. package/es/components/eftposPay/mx51/utils.d.ts +0 -10
  1233. package/es/components/eftposPay/mx51/utils.js +0 -121
  1234. package/lib/components/eftpos/PairModal/hooks.d.ts +0 -27
  1235. package/lib/components/eftpos/PairModal/hooks.js +0 -70
  1236. package/lib/components/eftpos/PairModal/index.d.ts +0 -11
  1237. package/lib/components/eftpos/PairModal/index.js +0 -197
  1238. package/lib/components/eftpos/PairModal/index.less +0 -70
  1239. package/lib/components/eftpos/SettlementModal/Action.d.ts +0 -8
  1240. package/lib/components/eftpos/SettlementModal/Action.js +0 -153
  1241. package/lib/components/eftpos/SettlementModal/index.d.ts +0 -8
  1242. package/lib/components/eftpos/SettlementModal/index.js +0 -170
  1243. package/lib/components/eftpos/SettlementModal/index.less +0 -33
  1244. package/lib/components/eftpos/SettlementModal/serve.d.ts +0 -8
  1245. package/lib/components/eftpos/SettlementModal/types.d.ts +0 -138
  1246. package/lib/components/eftpos/SettlementModal/types.js +0 -43
  1247. package/lib/components/eftpos/SettlementModal/utils.d.ts +0 -18
  1248. package/lib/components/eftpos/SettlementModal/utils.js +0 -248
  1249. package/lib/components/eftpos/assets/mx51SCI.svg +0 -15
  1250. package/lib/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +0 -8
  1251. package/lib/components/eftposPay/aggregatePayment/hooks/usePayment.js +0 -152
  1252. package/lib/components/eftposPay/aggregatePayment/index.d.ts +0 -4
  1253. package/lib/components/eftposPay/aggregatePayment/mock.d.ts +0 -495
  1254. package/lib/components/eftposPay/aggregatePayment/mock.js +0 -679
  1255. package/lib/components/eftposPay/aggregatePayment/service.d.ts +0 -24
  1256. package/lib/components/eftposPay/aggregatePayment/service.js +0 -81
  1257. package/lib/components/eftposPay/aggregatePayment/types.d.ts +0 -101
  1258. package/lib/components/eftposPay/aggregatePayment/types.js +0 -74
  1259. package/lib/components/eftposPay/aggregatePayment/utils/logs.d.ts +0 -110
  1260. package/lib/components/eftposPay/aggregatePayment/utils/logs.js +0 -302
  1261. package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +0 -132
  1262. package/lib/components/eftposPay/aggregatePayment/utils/payment.js +0 -760
  1263. package/lib/components/eftposPay/mx51/Action.d.ts +0 -7
  1264. package/lib/components/eftposPay/mx51/Action.js +0 -154
  1265. package/lib/components/eftposPay/mx51/const.d.ts +0 -5
  1266. package/lib/components/eftposPay/mx51/const.js +0 -85
  1267. package/lib/components/eftposPay/mx51/index.d.ts +0 -6
  1268. package/lib/components/eftposPay/mx51/index.js +0 -367
  1269. package/lib/components/eftposPay/mx51/types.d.ts +0 -142
  1270. package/lib/components/eftposPay/mx51/types.js +0 -43
  1271. package/lib/components/eftposPay/mx51/utils.d.ts +0 -10
  1272. package/lib/components/eftposPay/mx51/utils.js +0 -115
@@ -47,10 +47,14 @@ var import_index = require("./index.less");
47
47
  var import_useEngineContext = __toESM(require("../../../../../hooks/useEngineContext"));
48
48
  var { Amount } = import_materials.PisellText;
49
49
  var WalletPass = (0, import_react.forwardRef)((props, ref) => {
50
- var _a, _b, _c, _d, _e;
51
- const { onWalletPassChange, walletPass, walletSetting } = props;
50
+ var _a, _b, _c, _d, _e, _f;
51
+ const { onWalletPassChange, walletPass, walletSetting, orderDetail, total_amount } = props;
52
52
  const context = (0, import_useEngineContext.default)();
53
- const isWalletCode = (_d = (_c = (_b = (_a = context == null ? void 0 : context.appHelper) == null ? void 0 : _a.utils) == null ? void 0 : _b.businessUtils) == null ? void 0 : _c.getAppByModal) == null ? void 0 : _d.call(_c, "wallet");
53
+ const { walletPassEvaluator } = ((_a = context == null ? void 0 : context.appHelper) == null ? void 0 : _a.utils) || {};
54
+ const { detail } = orderDetail;
55
+ const isWalletCode = (_e = (_d = (_c = (_b = context == null ? void 0 : context.appHelper) == null ? void 0 : _b.utils) == null ? void 0 : _c.businessUtils) == null ? void 0 : _d.getAppByModal) == null ? void 0 : _e.call(_d, "wallet");
56
+ const { cards: recommended, transformList, noApplicableVoucher } = walletPass;
57
+ const [selectedVoucherIds, setSelectedVoucherIds] = (0, import_react.useState)([]);
54
58
  const [currentWalletPass, setCurrentWalletPass] = (0, import_react.useState)(walletPass);
55
59
  const [loading, setLoading] = (0, import_react.useState)(false);
56
60
  const [open, setOpen] = (0, import_react.useState)(false);
@@ -63,80 +67,69 @@ var WalletPass = (0, import_react.forwardRef)((props, ref) => {
63
67
  details: []
64
68
  });
65
69
  const isAutoSelect = (0, import_react.useRef)(false);
66
- const listRef = (0, import_react.useRef)(null);
67
70
  const searchValRef = (0, import_react.useRef)(null);
68
71
  const pinVerifyModalRef = (0, import_react.useRef)(null);
69
- const { cards: walletPassSelectCards, amount } = currentWalletPass || {};
70
- const [currentCustomerWalletPass, otherCustomerWalletPass] = (0, import_react.useMemo)(() => {
71
- const current = [];
72
- const other = [];
73
- (walletPassSelectCards || []).forEach((item) => {
74
- if (item.customer_id === (order == null ? void 0 : order.customer_id)) {
75
- current.push(item);
72
+ const allVouchersForCalculation = (0, import_react.useMemo)(() => {
73
+ return [...transformList || [], ...addList || []];
74
+ }, [transformList, addList]);
75
+ const selectedVouchers = (0, import_react.useMemo)(() => {
76
+ return selectedVoucherIds.map((id) => allVouchersForCalculation.find((v) => v.id === id)).filter(Boolean);
77
+ }, [selectedVoucherIds, allVouchersForCalculation]);
78
+ const { displayVouchers, displayOtherVouchers, selectedWithDetails, totalDeduction } = (0, import_react.useMemo)(() => {
79
+ if (!walletPassEvaluator || !allVouchersForCalculation.length || !(order == null ? void 0 : order.total_amount)) {
80
+ return {
81
+ displayVouchers: [...transformList || [], ...noApplicableVoucher || []],
82
+ displayOtherVouchers: addList || [],
83
+ selectedWithDetails: [],
84
+ totalDeduction: 0
85
+ };
86
+ }
87
+ if (selectedVouchers.length === 0) {
88
+ return {
89
+ displayVouchers: [...transformList || [], ...noApplicableVoucher || []],
90
+ displayOtherVouchers: addList || [],
91
+ selectedWithDetails: [],
92
+ totalDeduction: 0
93
+ };
94
+ }
95
+ const result = walletPassEvaluator.recalculateVouchers(
96
+ allVouchersForCalculation,
97
+ selectedVouchers,
98
+ order.total_amount,
99
+ detail || []
100
+ );
101
+ const currentCustomerVouchers = [];
102
+ const otherCustomerVouchers = [];
103
+ result.allWithUpdatedStatus.forEach((voucher) => {
104
+ if (voucher.customer_id === (order == null ? void 0 : order.customer_id)) {
105
+ currentCustomerVouchers.push(voucher);
76
106
  } else {
77
- other.push(item);
107
+ otherCustomerVouchers.push(voucher);
78
108
  }
79
109
  });
80
- return [current, other];
81
- }, [walletPassSelectCards, order == null ? void 0 : order.customer_id]);
110
+ return {
111
+ displayVouchers: [...currentCustomerVouchers, ...noApplicableVoucher || []],
112
+ displayOtherVouchers: otherCustomerVouchers,
113
+ selectedWithDetails: result.selectedWithDetails,
114
+ totalDeduction: result.selectedWithDetails.reduce((sum, v) => sum + (v.actualDeduction || 0), 0)
115
+ };
116
+ }, [selectedVouchers, allVouchersForCalculation, transformList, addList, noApplicableVoucher, order == null ? void 0 : order.total_amount, order == null ? void 0 : order.customer_id, detail, walletPassEvaluator]);
82
117
  const prepare_payments = (0, import_react.useMemo)(() => {
83
118
  return (0, import_utils3.formatWalletPassList2PreparePayments)(
84
119
  (0, import_utils.uniqueByKey)(
85
- (walletPassSelectCards || []).concat(searchSelectData.details),
120
+ (selectedWithDetails || []).concat(searchSelectData.details),
86
121
  "id"
87
122
  )
88
123
  );
89
- }, [walletPassSelectCards, searchSelectData]);
124
+ }, [selectedWithDetails, searchSelectData]);
90
125
  const selectValue = (0, import_react.useMemo)(() => {
91
- return (walletPassSelectCards == null ? void 0 : walletPassSelectCards.map((item) => item.id)) || [];
92
- }, [walletPassSelectCards]);
93
- const otherCustomerWalletPassList = (0, import_react.useMemo)(() => {
94
- return (0, import_utils2.formatMachineCodeServer2CardList)(addList, selectValue);
95
- }, [addList, selectValue]);
96
- const other_exact_codes = (0, import_react.useMemo)(() => {
97
- const codes = [];
98
- addList.forEach((item) => {
99
- if (!selectValue.includes(item.id)) {
100
- codes.push(item.code);
101
- }
102
- });
103
- return codes;
104
- }, [addList, selectValue]);
105
- const refreshList = (0, import_ahooks.useMemoizedFn)(() => {
106
- var _a2, _b2;
107
- if ((order == null ? void 0 : order.order_id) && (order == null ? void 0 : order.customer_id)) {
108
- (_b2 = listRef.current) == null ? void 0 : _b2.init(
109
- {
110
- order_id: order.order_id,
111
- available: 2,
112
- prepare_payments,
113
- filter_prepare_wallet_pass: 1,
114
- sale_channel: ((_a2 = order._order) == null ? void 0 : _a2.sale_channel) || "online-store",
115
- other_exact_codes
116
- },
117
- // 已选择的卡片接口中不会返回,所以追加进入列表
118
- (val) => {
119
- const idMap = val.reduce((pre, cur) => {
120
- return {
121
- ...pre,
122
- [cur.id]: cur
123
- };
124
- }, {});
125
- setAddList((prevState) => {
126
- return prevState.map((item) => {
127
- if (idMap[item.id]) {
128
- return idMap[item.id];
129
- }
130
- return item;
131
- });
132
- });
133
- return [...currentCustomerWalletPass || [], ...val].filter(
134
- (item) => !(order == null ? void 0 : order.customer_id) || item.customer_id === (order == null ? void 0 : order.customer_id)
135
- );
136
- }
137
- );
126
+ return selectedVoucherIds;
127
+ }, [selectedVoucherIds]);
128
+ (0, import_react.useEffect)(() => {
129
+ if (recommended && recommended.length > 0) {
130
+ setSelectedVoucherIds(recommended.map((v) => v.id));
138
131
  }
139
- });
132
+ }, [recommended]);
140
133
  (0, import_react.useEffect)(() => {
141
134
  if ((order == null ? void 0 : order.order_id) && searchValRef.current) {
142
135
  searchList(searchValRef.current, true);
@@ -147,16 +140,16 @@ var WalletPass = (0, import_react.forwardRef)((props, ref) => {
147
140
  setOrder(res);
148
141
  setOpen(true);
149
142
  setCurrentWalletPass(walletPass);
150
- setTimeout(() => {
151
- refreshList();
152
- });
143
+ if (recommended && recommended.length > 0) {
144
+ setSelectedVoucherIds(recommended.map((v) => v.id));
145
+ }
153
146
  };
154
147
  const searchList = async ({ code, customer_pin_key }, isSelectChange) => {
155
148
  var _a2;
156
149
  if (!(order == null ? void 0 : order.order_id)) return;
157
150
  setLoading(true);
158
151
  try {
159
- const result = await (0, import_serve.searchMachineCodeList)({
152
+ const baseResult = await (0, import_serve.searchMachineCodeList)({
160
153
  order_id: order.order_id,
161
154
  code,
162
155
  prepare_payments,
@@ -164,7 +157,7 @@ var WalletPass = (0, import_react.forwardRef)((props, ref) => {
164
157
  sale_channel: ((_a2 = order._order) == null ? void 0 : _a2.sale_channel) || "online-store",
165
158
  customer_pin_key
166
159
  });
167
- if (!result) {
160
+ if (!baseResult) {
168
161
  if (!isSelectChange) {
169
162
  (0, import_materials.PisellToast)({
170
163
  content: import_utils.locales.getText("tocPay.text.walletSearchEmpty")
@@ -175,6 +168,11 @@ var WalletPass = (0, import_react.forwardRef)((props, ref) => {
175
168
  if (isSelectChange && !searchValRef.current) {
176
169
  return;
177
170
  }
171
+ let result = walletPassEvaluator.searchVoucherFormat({
172
+ vouchers: baseResult,
173
+ orderTotalAmount: order.total_amount,
174
+ products: detail
175
+ });
178
176
  setSearchData(
179
177
  (0, import_utils2.formatMachineCodeServer2CardList)(
180
178
  [...searchSelectData.details, ...result],
@@ -237,23 +235,23 @@ var WalletPass = (0, import_react.forwardRef)((props, ref) => {
237
235
  });
238
236
  };
239
237
  const handleSelectOk = () => {
240
- changeWalletPass(
241
- (0, import_utils.uniqueByKey)(
242
- [
243
- ...walletPassSelectCards || [],
244
- ...searchSelectData.details
245
- ],
246
- "id"
247
- )
238
+ const otherCustomerSearchVouchers = searchSelectData.details.filter(
239
+ (item) => item.customer_id !== (order == null ? void 0 : order.customer_id)
248
240
  );
249
241
  setAddList((prevState) => {
250
242
  return (0, import_utils.uniqueByKey)(
251
- [...prevState, ...searchSelectData.details],
243
+ [...prevState, ...otherCustomerSearchVouchers],
252
244
  "id"
253
- ).filter(
254
- (item) => !(order == null ? void 0 : order.customer_id) || item.customer_id !== (order == null ? void 0 : order.customer_id)
255
245
  );
256
246
  });
247
+ const newSelectedIds = (0, import_utils.uniqueByKey)(
248
+ [
249
+ ...selectedWithDetails || [],
250
+ ...searchSelectData.details
251
+ ],
252
+ "id"
253
+ ).map((v) => v.id);
254
+ setSelectedVoucherIds(newSelectedIds);
257
255
  handleSearchModalClose();
258
256
  };
259
257
  const handleAddChange = (0, import_ahooks.useMemoizedFn)(
@@ -265,26 +263,15 @@ var WalletPass = (0, import_react.forwardRef)((props, ref) => {
265
263
  });
266
264
  }
267
265
  );
268
- const changeWalletPass = (cards) => {
269
- setCurrentWalletPass == null ? void 0 : setCurrentWalletPass({
270
- cards,
271
- amount: (0, import_utils3.calcWalletPassListAmount)(cards)
272
- });
273
- setTimeout(() => {
274
- refreshList();
275
- });
276
- };
277
266
  const handleSelectChange = (val, details, type) => {
278
- let cards = details.map((item) => item.originData);
279
- if (type === "other") {
280
- cards = currentCustomerWalletPass.concat(cards);
281
- } else if (type === "current") {
282
- cards = otherCustomerWalletPass.concat(cards);
283
- }
284
- changeWalletPass(cards);
267
+ setSelectedVoucherIds(val);
285
268
  };
286
269
  const handleRedeem = () => {
287
- onWalletPassChange == null ? void 0 : onWalletPassChange(currentWalletPass);
270
+ onWalletPassChange == null ? void 0 : onWalletPassChange({
271
+ ...currentWalletPass,
272
+ cards: selectedWithDetails,
273
+ amount: totalDeduction
274
+ });
288
275
  setOpen(false);
289
276
  };
290
277
  const handleWalletClose = () => {
@@ -309,16 +296,16 @@ var WalletPass = (0, import_react.forwardRef)((props, ref) => {
309
296
  onCancel: () => handleWalletClose(),
310
297
  cancelVisible: false,
311
298
  destroyOnClose: true,
312
- okText: /* @__PURE__ */ import_react.default.createElement("div", null, import_utils.locales.getText("tocPay.text.redeem"), " ", /* @__PURE__ */ import_react.default.createElement(Amount, { value: amount })),
299
+ okText: /* @__PURE__ */ import_react.default.createElement("div", null, import_utils.locales.getText("tocPay.text.redeem"), " ", /* @__PURE__ */ import_react.default.createElement(Amount, { value: totalDeduction })),
313
300
  onOk: handleRedeem
314
301
  },
315
302
  /* @__PURE__ */ import_react.default.createElement("div", { className: "", style: { marginTop: 24 } }, /* @__PURE__ */ import_react.default.createElement(import_MultiModeSearch.default, { onChange: handleSearch }), /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-pass-modal-multi-selection-available" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-pass-modal-multi-selection-available-title" }, /* @__PURE__ */ import_react.default.createElement(import_icons.InfoCircleOutlined, { className: "wallet-pass-modal-multi-selection-available-title-icon" }), import_utils.locales.getText("tocPay.text.multipleSelectionAvailable")), /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-pass-modal-multi-selection-available-desc" }, import_utils.locales.getText(
316
303
  "tocPay.text.youCanSelectMultipleWalletPassesToCombineForPayment"
317
- )(walletSetting.name))), otherCustomerWalletPassList.length > 0 && /* @__PURE__ */ import_react.default.createElement(
304
+ )(walletSetting.name))), displayOtherVouchers.length > 0 && /* @__PURE__ */ import_react.default.createElement(
318
305
  import_List.default,
319
306
  {
320
307
  walletSetting,
321
- data: otherCustomerWalletPassList,
308
+ data: (0, import_utils2.formatMachineCodeServer2CardList)(displayOtherVouchers, selectValue),
322
309
  title: import_utils.locales.getText("tocPay.text.couponCodesAdded"),
323
310
  onChange: handleOtherChange,
324
311
  value: selectValue,
@@ -331,9 +318,11 @@ var WalletPass = (0, import_react.forwardRef)((props, ref) => {
331
318
  walletSetting,
332
319
  title: walletSetting.name,
333
320
  onChange: handleCurrentChange,
334
- ref: listRef,
321
+ data: (0, import_utils2.formatMachineCodeServer2CardList)(displayVouchers, selectValue),
335
322
  value: selectValue,
336
- onLoadingChange: setLoading
323
+ onLoadingChange: setLoading,
324
+ loading,
325
+ customer_id: order == null ? void 0 : order.customer_id
337
326
  }
338
327
  ))
339
328
  ), /* @__PURE__ */ import_react.default.createElement(
@@ -348,7 +337,7 @@ var WalletPass = (0, import_react.forwardRef)((props, ref) => {
348
337
  okText: import_utils.locales.getText("tocPay.text.select"),
349
338
  onOk: handleSelectOk,
350
339
  okButtonProps: {
351
- disabled: ((_e = searchSelectData.ids) == null ? void 0 : _e.length) === 0
340
+ disabled: ((_f = searchSelectData.ids) == null ? void 0 : _f.length) === 0
352
341
  }
353
342
  },
354
343
  /* @__PURE__ */ import_react.default.createElement("div", { className: "", style: { marginTop: 24 } }, /* @__PURE__ */ import_react.default.createElement(
@@ -56,6 +56,12 @@ export declare type WalletPassDataType = {
56
56
  metadata?: {
57
57
  validity_type: string;
58
58
  };
59
+ /** 前端计算 可用最大金额 */
60
+ _available_max_amount?: number;
61
+ /** 前端计算 统一可用状态 */
62
+ _unified_available_status?: 0 | 1;
63
+ /** 前端计算 禁用原因 */
64
+ reason?: string;
59
65
  };
60
66
  declare type Shop = {
61
67
  id: number;
@@ -53,8 +53,8 @@ var formatMachineCodeServer2CardList = (data, selectId = []) => {
53
53
  showDetail: false,
54
54
  showQrCode: false,
55
55
  code: item.code,
56
- disabled: !item.unified_available_status,
57
- disabledReason: (_b = item.unified_messages) == null ? void 0 : _b.title,
56
+ disabled: (0, import_utils.isNumber)(item._unified_available_status) ? !item._unified_available_status : !item.unified_available_status,
57
+ disabledReason: (0, import_utils.isNumber)(item._unified_available_status) ? item.reason : (_b = item.unified_messages) == null ? void 0 : _b.title,
58
58
  cover: (_c = item.product) == null ? void 0 : _c.cover,
59
59
  qrCode: item.code,
60
60
  validDate: voucherTime(item),
@@ -65,7 +65,7 @@ var isOfflinePayment = (type) => {
65
65
  ].includes(type);
66
66
  };
67
67
  var PaymentMethods = (props, ref) => {
68
- var _a, _b, _c;
68
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i;
69
69
  const MWCreditCardRef2 = (0, import_react.useRef)(null);
70
70
  const SuperPayAliPayH5Ref2 = (0, import_react.useRef)(null);
71
71
  const StripePayRef2 = (0, import_react.useRef)(null);
@@ -82,6 +82,11 @@ var PaymentMethods = (props, ref) => {
82
82
  const GlobePayQrcodeRef2 = (0, import_react.useRef)(null);
83
83
  const context = (0, import_useEngineContext.default)();
84
84
  const { interaction } = (_a = context.appHelper) == null ? void 0 : _a.utils;
85
+ const dvaStore = (_e = (_d = (_c = (_b = context.appHelper) == null ? void 0 : _b.utils) == null ? void 0 : _c.getStore) == null ? void 0 : _d.call(_c)) == null ? void 0 : _e.getState();
86
+ const shop = ((_g = (_f = dvaStore == null ? void 0 : dvaStore.core) == null ? void 0 : _f.core) == null ? void 0 : _g.shop) || {};
87
+ const shopName = (shop == null ? void 0 : shop.name) || "";
88
+ const shopPhone = (shop == null ? void 0 : shop.phone) || "";
89
+ const shopEmail = (shop == null ? void 0 : shop.contact_email) || "";
85
90
  const init = async ({ type, payGroup }) => {
86
91
  var _a2, _b2;
87
92
  const waitAmount = (payGroup == null ? void 0 : payGroup.wait_amount) || 0;
@@ -143,11 +148,11 @@ var PaymentMethods = (props, ref) => {
143
148
  }
144
149
  await onPayByType({ type, payGroup });
145
150
  };
146
- console.log("paymentResult isAppEnv", (_c = (_b = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _b.isAppEnv) == null ? void 0 : _c.call(_b), interaction, context);
151
+ console.log("paymentResult isAppEnv", (_i = (_h = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _h.isAppEnv) == null ? void 0 : _i.call(_h), interaction, context);
147
152
  (0, import_react.useEffect)(() => {
148
- var _a2, _b2, _c2, _d;
153
+ var _a2, _b2, _c2, _d2;
149
154
  console.log("paymentResult isAppEnv", (_b2 = (_a2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _a2.isAppEnv) == null ? void 0 : _b2.call(_a2));
150
- if ((_d = (_c2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _c2.isAppEnv) == null ? void 0 : _d.call(_c2)) {
155
+ if ((_d2 = (_c2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _c2.isAppEnv) == null ? void 0 : _d2.call(_c2)) {
151
156
  interaction.utils.mountFunction("global", "paymentResult", (strResult) => {
152
157
  console.log("paymentResult", strResult);
153
158
  if (!(0, import_utils2.isJson)(strResult)) return;
@@ -163,7 +168,7 @@ var PaymentMethods = (props, ref) => {
163
168
  }
164
169
  }, []);
165
170
  const onPayByType = async ({ type, payGroup }) => {
166
- var _a2, _b2, _c2, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
171
+ var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j, _k, _l, _m, _n;
167
172
  console.log(type, payGroup);
168
173
  if (type === "mw.apple") {
169
174
  await ((_a2 = ApplePayRef2.current) == null ? void 0 : _a2.init({ payGroup }));
@@ -178,27 +183,27 @@ var PaymentMethods = (props, ref) => {
178
183
  return;
179
184
  }
180
185
  if (type === "superpay.alipay.h5") {
181
- await ((_d = SuperPayAliPayH5Ref2.current) == null ? void 0 : _d.init({ payGroup }));
186
+ await ((_d2 = SuperPayAliPayH5Ref2.current) == null ? void 0 : _d2.init({ payGroup }));
182
187
  return;
183
188
  }
184
189
  if (type === "superpay.wechat.h5") {
185
- await ((_e = SuperPayWxPayH5Ref2.current) == null ? void 0 : _e.init({ payGroup }));
190
+ await ((_e2 = SuperPayWxPayH5Ref2.current) == null ? void 0 : _e2.init({ payGroup }));
186
191
  return;
187
192
  }
188
193
  if (type === "stripe") {
189
- (_f = StripePayRef2.current) == null ? void 0 : _f.init({ payGroup });
194
+ (_f2 = StripePayRef2.current) == null ? void 0 : _f2.init({ payGroup });
190
195
  return;
191
196
  }
192
197
  if (type === "pisell.offline_payment") {
193
- await ((_g = OfflinePaymentRef2.current) == null ? void 0 : _g.init({ payGroup }));
198
+ await ((_g2 = OfflinePaymentRef2.current) == null ? void 0 : _g2.init({ payGroup }));
194
199
  return;
195
200
  }
196
201
  if (type === "pisell.bank_deposit") {
197
- await ((_h = BankDepositRef2.current) == null ? void 0 : _h.init({ payGroup }));
202
+ await ((_h2 = BankDepositRef2.current) == null ? void 0 : _h2.init({ payGroup }));
198
203
  return;
199
204
  }
200
205
  if (type === "pisell.other.cashmanual") {
201
- await ((_i = CashManualRef2.current) == null ? void 0 : _i.init({ payGroup }));
206
+ await ((_i2 = CashManualRef2.current) == null ? void 0 : _i2.init({ payGroup }));
202
207
  return;
203
208
  }
204
209
  if (type === "globepay.alipay.h5") {
@@ -228,6 +233,6 @@ var PaymentMethods = (props, ref) => {
228
233
  onPay: init
229
234
  })
230
235
  );
231
- return /* @__PURE__ */ import_react.default.createElement("div", { className: "" }, /* @__PURE__ */ import_react.default.createElement(import_MWCreditCard.default, { ref: MWCreditCardRef2 }), /* @__PURE__ */ import_react.default.createElement(import_SuperPayAliPayH5.default, { ref: SuperPayAliPayH5Ref2 }), /* @__PURE__ */ import_react.default.createElement(import_StripePay.default, { ref: StripePayRef2 }), /* @__PURE__ */ import_react.default.createElement(import_OfflinePayment.default, { ref: OfflinePaymentRef2 }), /* @__PURE__ */ import_react.default.createElement(import_BankDeposit.default, { ref: BankDepositRef2 }), /* @__PURE__ */ import_react.default.createElement(import_SuperPayWxPayH5.default, { ref: SuperPayWxPayH5Ref2 }), /* @__PURE__ */ import_react.default.createElement(import_CustomPayment.default, { ref: CustomPaymentRef2 }), /* @__PURE__ */ import_react.default.createElement(import_ApplePay.default, { ref: ApplePayRef2 }), /* @__PURE__ */ import_react.default.createElement(import_GooglePay.default, { ref: GooglePayRef2 }), /* @__PURE__ */ import_react.default.createElement(import_CashManual.default, { ref: CashManualRef2 }), /* @__PURE__ */ import_react.default.createElement(import_GlobePayAliPayH5.default, { ref: GlobePayAliPayH5Ref2 }), /* @__PURE__ */ import_react.default.createElement(import_GlobePayWxH5.default, { ref: GlobePayWxH5Ref2 }), /* @__PURE__ */ import_react.default.createElement(import_GlobePayPaypalH5.default, { ref: GlobePayPaypalH5Ref2 }), /* @__PURE__ */ import_react.default.createElement(import_GlobePayQrcode.default, { ref: GlobePayQrcodeRef2 }));
236
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "" }, /* @__PURE__ */ import_react.default.createElement(import_MWCreditCard.default, { ref: MWCreditCardRef2, shopName, shopPhone, shopEmail }), /* @__PURE__ */ import_react.default.createElement(import_SuperPayAliPayH5.default, { ref: SuperPayAliPayH5Ref2 }), /* @__PURE__ */ import_react.default.createElement(import_StripePay.default, { ref: StripePayRef2 }), /* @__PURE__ */ import_react.default.createElement(import_OfflinePayment.default, { ref: OfflinePaymentRef2 }), /* @__PURE__ */ import_react.default.createElement(import_BankDeposit.default, { ref: BankDepositRef2 }), /* @__PURE__ */ import_react.default.createElement(import_SuperPayWxPayH5.default, { ref: SuperPayWxPayH5Ref2 }), /* @__PURE__ */ import_react.default.createElement(import_CustomPayment.default, { ref: CustomPaymentRef2 }), /* @__PURE__ */ import_react.default.createElement(import_ApplePay.default, { ref: ApplePayRef2 }), /* @__PURE__ */ import_react.default.createElement(import_GooglePay.default, { ref: GooglePayRef2 }), /* @__PURE__ */ import_react.default.createElement(import_CashManual.default, { ref: CashManualRef2 }), /* @__PURE__ */ import_react.default.createElement(import_GlobePayAliPayH5.default, { ref: GlobePayAliPayH5Ref2 }), /* @__PURE__ */ import_react.default.createElement(import_GlobePayWxH5.default, { ref: GlobePayWxH5Ref2 }), /* @__PURE__ */ import_react.default.createElement(import_GlobePayPaypalH5.default, { ref: GlobePayPaypalH5Ref2 }), /* @__PURE__ */ import_react.default.createElement(import_GlobePayQrcode.default, { ref: GlobePayQrcodeRef2 }));
232
237
  };
233
238
  var PaymentMethods_default = (0, import_react.forwardRef)(PaymentMethods);
@@ -166,7 +166,9 @@ var WalletPassBlock = (props, ref) => {
166
166
  ref: walletPassRef,
167
167
  walletSetting,
168
168
  onWalletPassChange,
169
- walletPass: payGroup == null ? void 0 : payGroup.walletPass
169
+ walletPass: payGroup == null ? void 0 : payGroup.walletPass,
170
+ orderDetail: payGroup == null ? void 0 : payGroup.orderDetail,
171
+ total_amount: payGroup == null ? void 0 : payGroup.total_amount
170
172
  }
171
173
  ), /* @__PURE__ */ import_react.default.createElement(
172
174
  import_WalletAvailable.default,
@@ -49,6 +49,7 @@ var import_usePaymentLogger = __toESM(require("../../../hooks/usePaymentLogger")
49
49
  var import_utils2 = require("../../../utils");
50
50
  var import_payGroup = require("./payGroup");
51
51
  var import_locales = __toESM(require("./locales"));
52
+ var import_serve2 = require("./PaymentMethods/WalletPass/serve");
52
53
  var import_utils3 = require("./utils");
53
54
  var import_status = require("./status");
54
55
  var import_index = require("./index.less");
@@ -69,6 +70,7 @@ var ToCPay = (props, ref) => {
69
70
  });
70
71
  const [showInformation, setShowInformation] = (0, import_react.useState)(false);
71
72
  const [showDetectIncognitoConfirm, setShowDetectIncognitoConfirm] = (0, import_react.useState)(false);
73
+ const [showPendingPayment, setShowPendingPayment] = (0, import_react.useState)(false);
72
74
  const utils = context.appHelper.utils || {};
73
75
  const dvaStore = (_d = (_c = (_b = context.appHelper.utils) == null ? void 0 : _b.getStore) == null ? void 0 : _c.call(_b)) == null ? void 0 : _d.getState();
74
76
  const customer_id = (_j = (_i = (_h = (_g = (_f = (_e = context.appHelper.utils) == null ? void 0 : _e.getStore()) == null ? void 0 : _f.getState) == null ? void 0 : _g.call(_f)) == null ? void 0 : _h.global) == null ? void 0 : _i.userInfo) == null ? void 0 : _j.id;
@@ -83,7 +85,7 @@ var ToCPay = (props, ref) => {
83
85
  ...initProps,
84
86
  status: "init",
85
87
  // 将支付回调储存在store, 方便其他模块调用
86
- payCallback: props.callback,
88
+ payCallback,
87
89
  history: (_a2 = context.appHelper.utils) == null ? void 0 : _a2.history,
88
90
  front_order_uuid: (0, import_utils.getUniqueId)("front_order_uuid_")
89
91
  // 支付组
@@ -120,7 +122,7 @@ var ToCPay = (props, ref) => {
120
122
  });
121
123
  };
122
124
  const init = async (initProps) => {
123
- var _a2;
125
+ var _a2, _b2, _c2;
124
126
  const { renderType: renderType2 } = initProps;
125
127
  paymentLogger.addLog({
126
128
  key: "初始化开始",
@@ -131,6 +133,18 @@ var ToCPay = (props, ref) => {
131
133
  setOpen(true);
132
134
  setSubmitLoading(false);
133
135
  setLoading(true);
136
+ const { has_pending } = await (0, import_serve.checkPendingPayment)({
137
+ order_id: (_a2 = initProps.order) == null ? void 0 : _a2.order_id
138
+ });
139
+ if (has_pending) {
140
+ paymentLogger.addLog({
141
+ key: "检测到处理中的交易",
142
+ value: `订单${(_b2 = initProps.order) == null ? void 0 : _b2.order_id} 存在处理中的交易,中断支付流程`
143
+ });
144
+ setLoading(false);
145
+ setShowPendingPayment(true);
146
+ return;
147
+ }
134
148
  _initStore(initProps);
135
149
  (0, import_payGroup.removePayGroupFromStorage)(initProps.order.order_id);
136
150
  await _getPaymentsAndWalletPass(initProps.order);
@@ -143,18 +157,20 @@ var ToCPay = (props, ref) => {
143
157
  paymentLogger.addLog({
144
158
  key: "初始化错误",
145
159
  value: {
146
- title: `订单${(_a2 = initProps == null ? void 0 : initProps.order) == null ? void 0 : _a2.order_id} 初始化失败: ${(error == null ? void 0 : error.message) || "未知错误"}`,
160
+ title: `订单${(_c2 = initProps == null ? void 0 : initProps.order) == null ? void 0 : _c2.order_id} 初始化失败: ${(error == null ? void 0 : error.message) || "未知错误"}`,
147
161
  data: {
148
162
  order: initProps == null ? void 0 : initProps.order
149
163
  }
150
164
  }
151
165
  });
152
166
  paymentLogger.sendLogs("支付初始化失败", error);
167
+ setOpen(false);
168
+ setLoading(false);
153
169
  throw error;
154
170
  }
155
171
  };
156
172
  const _getPaymentsAndWalletPass = async (order) => {
157
- var _a2, _b2;
173
+ var _a2, _b2, _c2;
158
174
  paymentLogger.addLog({
159
175
  key: "获取支付列表开始",
160
176
  value: {
@@ -162,11 +178,22 @@ var ToCPay = (props, ref) => {
162
178
  }
163
179
  });
164
180
  try {
165
- const data = await (0, import_serve.getPaymentsAndWalletPass)({
166
- order_id: order.order_id,
167
- total_amount: order.amount,
168
- sale_channel: order.sale_channel || "online-store"
169
- });
181
+ const [data, allList, orderBasicDetail] = await Promise.all([
182
+ (0, import_serve.getPaymentsAndWalletPass)({
183
+ order_id: order.order_id,
184
+ total_amount: order.amount,
185
+ sale_channel: order.sale_channel || "online-store"
186
+ }),
187
+ (0, import_serve2.getMachineCodeList)({
188
+ order_id: order.order_id,
189
+ available: 2,
190
+ prepare_payments: [],
191
+ filter_prepare_wallet_pass: 1,
192
+ sale_channel: ((_a2 = order._order) == null ? void 0 : _a2.sale_channel) || "online-store",
193
+ other_exact_codes: []
194
+ }),
195
+ (0, import_serve.getOrderBasicDetail)(order.order_id)
196
+ ]);
170
197
  const {
171
198
  remain_amount = 0,
172
199
  wallet_pass_recommend_list,
@@ -174,39 +201,60 @@ var ToCPay = (props, ref) => {
174
201
  payment_list,
175
202
  walletPass
176
203
  } = data || {};
204
+ const products = (orderBasicDetail.detail || []).map((item) => {
205
+ var _a3;
206
+ return {
207
+ ...item,
208
+ is_price_include_tax: orderBasicDetail.is_price_include_tax,
209
+ product_bundle: (_a3 = item.product_bundle || []) == null ? void 0 : _a3.map((bundle) => {
210
+ return {
211
+ ...bundle,
212
+ is_price_include_tax: orderBasicDetail.is_price_include_tax
213
+ };
214
+ })
215
+ };
216
+ });
217
+ const res = utils.walletPassEvaluator.getRecommendedVouchers({
218
+ orderTotalAmount: Math.min(orderBasicDetail.product_unpaid_total_pay_amount, order.amount),
219
+ products,
220
+ vouchers: allList || []
221
+ });
222
+ const { recommended, transformList, noApplicableVoucher, recommendedAmount } = res;
177
223
  paymentLogger.addLog({
178
224
  key: "支付数据获取",
179
225
  value: ""
180
226
  });
181
- const withCustomerIdList = (wallet_pass_recommend_list || []).map(
182
- (item) => {
183
- return {
184
- ...item,
185
- customer_id: customer_id || item.customer_id
186
- };
187
- }
188
- );
227
+ const waitAmount2 = new import_decimal.Decimal((order == null ? void 0 : order.amount) || 0).minus(new import_decimal.Decimal(recommendedAmount)).toNumber();
189
228
  dispatch({
190
229
  type: "setPayGroup",
191
230
  payload: {
192
231
  // ...state.payGroup,
193
232
  order_id: order == null ? void 0 : order.order_id,
194
233
  // total_amount: order?.amount,
234
+ orderDetail: orderBasicDetail,
195
235
  // 原订单信息
196
236
  _order: order,
197
237
  payment_group_id: order == null ? void 0 : order.payment_group_id,
198
238
  // 支付方式没有walletPass时walletPass设置null
199
239
  walletPass: walletPass ? {
200
- ...(_a2 = state.payGroup) == null ? void 0 : _a2.walletPass,
240
+ ...(_b2 = state.payGroup) == null ? void 0 : _b2.walletPass,
201
241
  ...walletPass,
202
- amount: wallet_pass_amount,
203
- cards: withCustomerIdList
242
+ // 推荐钱包
243
+ cards: recommended,
244
+ // 推荐金额
245
+ amount: recommendedAmount,
246
+ // 不可用钱包
247
+ noApplicableVoucher,
248
+ // 转换列表
249
+ transformList
250
+ // amount: wallet_pass_amount,
251
+ // cards: wallet_pass_recommend_list,
204
252
  } : null,
205
253
  total_amount: order == null ? void 0 : order.amount,
206
- wait_amount: remain_amount
254
+ wait_amount: Math.max(0, waitAmount2)
207
255
  }
208
256
  });
209
- await ((_b2 = paymentListRef.current) == null ? void 0 : _b2.init(payment_list, remain_amount || 0));
257
+ await ((_c2 = paymentListRef.current) == null ? void 0 : _c2.init(payment_list, remain_amount || 0));
210
258
  setTimeout(() => {
211
259
  setLoading(false);
212
260
  }, 100);
@@ -555,6 +603,22 @@ var ToCPay = (props, ref) => {
555
603
  }
556
604
  }
557
605
  ),
606
+ /* @__PURE__ */ import_react.default.createElement(
607
+ import_materials.PisellModal.Information,
608
+ {
609
+ open: showPendingPayment,
610
+ describe: import_utils.locales.getText("tocPay.text.pendingPaymentDesc"),
611
+ okText: import_utils.locales.getText("tocPay.text.pendingPaymentOk"),
612
+ cancelVisible: false,
613
+ closable: false,
614
+ maskClosable: false,
615
+ onOk: () => {
616
+ paymentLogger.sendLogs("此订单有一笔支付正在处理中");
617
+ setShowPendingPayment(false);
618
+ setOpen(false);
619
+ }
620
+ }
621
+ ),
558
622
  /* @__PURE__ */ import_react.default.createElement(
559
623
  import_materials.PisellModal.Information,
560
624
  {