@pisell/private-materials 6.3.108 → 6.3.109

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 (1190) 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/editBookingModal/locales.d.ts +12 -0
  50. package/es/components/booking/editBookingModal/locales.js +12 -0
  51. package/es/components/booking/editBookingModal/mock.d.ts +186 -2
  52. package/es/components/booking/editBookingModal/mock.js +22 -0
  53. package/es/components/booking/hooks/useClearCart.d.ts +1 -1
  54. package/es/components/booking/hooks/useClearCart.js +39 -9
  55. package/es/components/booking/info/header/index.js +7 -7
  56. package/es/components/booking/info/header/index.less +5 -5
  57. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  58. package/es/components/booking/info/service/index.less +4 -2
  59. package/es/components/booking/info2/service/addService/mock.d.ts +2 -0
  60. package/es/components/booking/info2/service/addService/mock.js +4 -0
  61. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  62. package/es/components/booking/locales.d.ts +648 -0
  63. package/es/components/booking/locales.js +742 -0
  64. package/es/components/booking/notes/NoteBlock/index.js +3 -2
  65. package/es/components/booking/utils.d.ts +2 -2
  66. package/es/components/ecocup/components/AddCustomerModal/index.d.ts +10 -0
  67. package/es/components/{eftpos/PairModal → ecocup/components/AddCustomerModal}/index.js +159 -189
  68. package/es/components/ecocup/components/AddCustomerModal/index.less +9 -0
  69. package/es/components/ecocup/components/CupActionList/index.d.ts +14 -0
  70. package/es/components/ecocup/components/CupActionList/index.js +91 -0
  71. package/es/components/ecocup/components/CupActionList/index.less +102 -0
  72. package/es/components/ecocup/components/CupActionModal/hooks.d.ts +5 -0
  73. package/es/components/ecocup/components/CupActionModal/hooks.js +68 -0
  74. package/es/components/ecocup/components/CupActionModal/index.d.ts +15 -0
  75. package/es/components/ecocup/components/CupActionModal/index.js +92 -0
  76. package/es/components/ecocup/components/CupActionModal/index.less +38 -0
  77. package/es/components/ecocup/components/CupInfoCard/index.d.ts +10 -0
  78. package/es/components/ecocup/components/CupInfoCard/index.js +14 -0
  79. package/es/components/ecocup/components/CupInfoCard/index.less +11 -0
  80. package/es/components/ecocup/components/CupStatusModal/hooks.d.ts +36 -0
  81. package/es/components/ecocup/components/CupStatusModal/hooks.js +176 -0
  82. package/es/components/ecocup/components/CupStatusModal/index.d.ts +14 -0
  83. package/es/components/ecocup/components/CupStatusModal/index.js +281 -0
  84. package/es/components/ecocup/components/CupStatusModal/index.less +73 -0
  85. package/es/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +14 -0
  86. package/es/components/ecocup/components/CustomerAndCupModal/hooks.js +133 -0
  87. package/es/components/ecocup/components/CustomerAndCupModal/index.d.ts +20 -0
  88. package/es/components/ecocup/components/CustomerAndCupModal/index.js +227 -0
  89. package/es/components/ecocup/components/CustomerAndCupModal/index.less +68 -0
  90. package/es/components/ecocup/components/CustomerCard/index.d.ts +9 -0
  91. package/es/components/ecocup/components/CustomerCard/index.js +37 -0
  92. package/es/components/ecocup/components/CustomerCard/index.less +50 -0
  93. package/es/components/ecocup/components/MoreDropdown/index.d.ts +9 -0
  94. package/es/components/ecocup/components/MoreDropdown/index.js +33 -0
  95. package/es/components/ecocup/components/PageHeader/index.d.ts +9 -0
  96. package/es/components/ecocup/components/PageHeader/index.js +47 -0
  97. package/es/components/ecocup/components/PageHeader/index.less +31 -0
  98. package/es/components/ecocup/components/SearchBar/const.d.ts +4 -0
  99. package/es/components/ecocup/components/SearchBar/const.js +16 -0
  100. package/es/components/ecocup/components/SearchBar/hooks.d.ts +44 -0
  101. package/es/components/ecocup/components/SearchBar/hooks.js +184 -0
  102. package/es/components/ecocup/components/SearchBar/index.d.ts +14 -0
  103. package/es/components/ecocup/components/SearchBar/index.js +248 -0
  104. package/es/components/ecocup/components/SearchBar/index.less +88 -0
  105. package/es/components/ecocup/components/SettingModal/const.d.ts +6 -0
  106. package/es/components/ecocup/components/SettingModal/const.js +17 -0
  107. package/es/components/ecocup/components/SettingModal/index.d.ts +9 -0
  108. package/es/components/ecocup/components/SettingModal/index.js +253 -0
  109. package/es/components/ecocup/components/SettingModal/index.less +9 -0
  110. package/es/components/ecocup/cupList/const.d.ts +140 -0
  111. package/es/components/ecocup/cupList/const.js +319 -0
  112. package/es/components/ecocup/cupList/hooks/index.d.ts +4 -0
  113. package/es/components/ecocup/cupList/hooks/index.js +4 -0
  114. package/es/components/ecocup/cupList/hooks/useColumns.d.ts +45 -0
  115. package/es/components/ecocup/cupList/hooks/useColumns.js +166 -0
  116. package/es/components/ecocup/cupList/hooks/useCupApi.d.ts +41 -0
  117. package/es/components/ecocup/cupList/hooks/useCupApi.js +312 -0
  118. package/es/components/ecocup/cupList/hooks/useSummary.d.ts +3 -0
  119. package/es/components/ecocup/cupList/hooks/useSummary.js +42 -0
  120. package/es/components/ecocup/cupList/index.d.ts +7 -0
  121. package/es/components/ecocup/cupList/index.js +268 -0
  122. package/es/components/ecocup/cupList/index.less +159 -0
  123. package/es/components/ecocup/cupProject/const.d.ts +7 -0
  124. package/es/components/ecocup/cupProject/const.js +33 -0
  125. package/es/components/ecocup/cupProject/index.d.ts +3 -0
  126. package/es/components/ecocup/cupProject/index.js +112 -0
  127. package/es/components/ecocup/cupProject/index.less +41 -0
  128. package/es/components/ecocup/customerList/const.d.ts +44 -0
  129. package/es/components/ecocup/customerList/const.js +67 -0
  130. package/es/components/ecocup/customerList/hooks/index.d.ts +3 -0
  131. package/es/components/ecocup/customerList/hooks/index.js +3 -0
  132. package/es/components/ecocup/customerList/hooks/useColumns.d.ts +15 -0
  133. package/es/components/ecocup/customerList/hooks/useColumns.js +44 -0
  134. package/es/components/ecocup/customerList/hooks/useCustomerApi.d.ts +15 -0
  135. package/es/components/ecocup/customerList/hooks/useCustomerApi.js +70 -0
  136. package/es/components/ecocup/customerList/index.d.ts +7 -0
  137. package/es/components/ecocup/customerList/index.js +127 -0
  138. package/es/components/ecocup/customerList/index.less +15 -0
  139. package/es/components/ecocup/hooks.d.ts +57 -0
  140. package/es/components/ecocup/hooks.js +168 -0
  141. package/es/components/ecocup/locales.d.ts +653 -0
  142. package/es/components/ecocup/locales.js +699 -0
  143. package/es/components/ecocup/types.d.ts +103 -0
  144. package/es/components/ecocup/types.js +36 -0
  145. package/es/components/ecocup/utils/download.d.ts +7 -0
  146. package/es/components/ecocup/utils/download.js +34 -0
  147. package/es/components/ecocup/utils/index.d.ts +2 -0
  148. package/es/components/ecocup/utils/index.js +2 -0
  149. package/es/components/ecocup/utils/scanListener.d.ts +20 -0
  150. package/es/components/ecocup/utils/scanListener.js +107 -0
  151. package/es/components/eftpos/const.d.ts +1 -3
  152. package/es/components/eftpos/const.js +0 -2
  153. package/es/components/eftpos/device.d.ts +1 -3
  154. package/es/components/eftpos/device.js +3 -5
  155. package/es/components/eftpos/hooks.d.ts +1 -13
  156. package/es/components/eftpos/hooks.js +0 -35
  157. package/es/components/eftpos/index.js +25 -184
  158. package/es/components/eftpos/index.less +1 -26
  159. package/es/components/eftpos/locales.d.ts +64 -39
  160. package/es/components/eftpos/locales.js +85 -104
  161. package/es/components/eftpos/table.js +3 -47
  162. package/es/components/eftposPay/amount.d.ts +1 -1
  163. package/es/components/eftposPay/app.d.ts +1 -1
  164. package/es/components/eftposPay/component/fail/failCustom.js +17 -12
  165. package/es/components/eftposPay/component/fail/index.js +5 -4
  166. package/es/components/eftposPay/const.d.ts +2 -7
  167. package/es/components/eftposPay/const.js +0 -2
  168. package/es/components/eftposPay/device.d.ts +1 -1
  169. package/es/components/eftposPay/device.js +208 -36
  170. package/es/components/eftposPay/hooks.d.ts +1 -1
  171. package/es/components/eftposPay/index.js +5 -1
  172. package/es/components/eftposPay/linkly/const.js +1 -1
  173. package/es/components/eftposPay/linkly/index.js +0 -1
  174. package/es/components/eftposPay/locales.d.ts +242 -3
  175. package/es/components/eftposPay/locales.js +328 -5
  176. package/es/components/eftposPay/manufacturer.d.ts +0 -1
  177. package/es/components/eftposPay/manufacturer.js +0 -4
  178. package/es/components/eftposPay/pay.js +2 -7
  179. package/es/components/eftposPay/payo/config.js +1 -0
  180. package/es/components/eftposPay/payo/const.js +1 -1
  181. package/es/components/eftposPay/store/index.d.ts +6 -3
  182. package/es/components/eftposPay/tyro/const.js +1 -1
  183. package/es/components/eftposPay/windcave/const.js +1 -1
  184. package/es/components/eftposPay/windcave/windcave.js +9 -9
  185. package/es/components/eventBooking/components/Voucher/components/locales.d.ts +22 -0
  186. package/es/components/eventBooking/components/Voucher/components/locales.js +22 -0
  187. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  188. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  189. package/es/components/eventBooking/locales.d.ts +162 -0
  190. package/es/components/eventBooking/locales.js +186 -0
  191. package/es/components/kioskSkuDetail/index.js +39 -10
  192. package/es/components/kioskSkuDetail/locales.d.ts +21 -0
  193. package/es/components/kioskSkuDetail/locales.js +24 -3
  194. package/es/components/login/locales.d.ts +14 -0
  195. package/es/components/login/locales.js +14 -0
  196. package/es/components/pay/toC/PaymentList/serve.js +2 -2
  197. package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/index.js +32 -16
  198. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +17 -11
  199. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +1 -0
  200. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.js +18 -7
  201. package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +3 -4
  202. package/es/components/pay/toC/locales.d.ts +204 -0
  203. package/es/components/pay/toC/locales.js +244 -0
  204. package/es/components/pay/toC/serve.d.ts +2 -0
  205. package/es/components/pay/toC/serve.js +2 -2
  206. package/es/components/pinModal/locales.d.ts +16 -0
  207. package/es/components/pinModal/locales.js +16 -0
  208. package/es/components/pinVerifyModal/locales.d.ts +14 -0
  209. package/es/components/pinVerifyModal/locales.js +14 -0
  210. package/es/components/pisellSelectCustomerModal/locales.d.ts +52 -0
  211. package/es/components/pisellSelectCustomerModal/locales.js +52 -0
  212. package/es/components/productExtension/locales.d.ts +30 -0
  213. package/es/components/productExtension/locales.js +30 -0
  214. package/es/components/productSelect/components/pisellPriceText/index.js +8 -4
  215. package/es/components/productSelect/locales.d.ts +20 -0
  216. package/es/components/productSelect/locales.js +23 -3
  217. package/es/components/ruleSetting/locales.d.ts +30 -0
  218. package/es/components/ruleSetting/locales.js +30 -0
  219. package/es/components/schedules/locales.d.ts +56 -0
  220. package/es/components/schedules/locales.js +56 -0
  221. package/es/components/shoppingCart/components/Cart/index.less +1 -0
  222. package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -1
  223. package/es/components/shoppingCart/hooks/useClearCart.js +41 -11
  224. package/es/components/shoppingCart/locales.d.ts +20 -0
  225. package/es/components/shoppingCart/locales.js +24 -0
  226. package/es/components/stepController/locales.d.ts +16 -0
  227. package/es/components/stepController/locales.js +20 -0
  228. package/es/components/subTotal/locales.d.ts +26 -0
  229. package/es/components/subTotal/locales.js +26 -0
  230. package/es/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +59 -0
  231. package/es/components/systemSettings/registry/components/DataSourceTreeSelect/index.js +390 -0
  232. package/es/components/systemSettings/registry/components/DataSourceTreeSelect/serve.d.ts +70 -0
  233. package/es/components/systemSettings/registry/components/DataSourceTreeSelect/serve.js +367 -0
  234. package/es/components/systemSettings/registry/components/ItemModal.js +251 -47
  235. package/es/components/systemSettings/registry/components/OptionDataSource/OptionTable.d.ts +8 -0
  236. package/es/components/systemSettings/registry/components/OptionDataSource/OptionTable.js +163 -0
  237. package/es/components/systemSettings/registry/components/OptionDataSource/index.d.ts +10 -0
  238. package/es/components/systemSettings/registry/components/OptionDataSource/index.js +127 -0
  239. package/es/components/systemSettings/registry/components/OptionDataSource/index.less +37 -0
  240. package/es/components/systemSettings/registry/index.js +20 -16
  241. package/es/components/systemSettings/registry/index.less +6 -7
  242. package/es/components/systemSettings/registry/locales.d.ts +262 -0
  243. package/es/components/systemSettings/registry/locales.js +274 -3
  244. package/es/components/systemSettings/registry/services.d.ts +20 -0
  245. package/es/components/systemSettings/registry/types.d.ts +16 -2
  246. package/es/components/taxSelect/locales.d.ts +14 -0
  247. package/es/components/taxSelect/locales.js +14 -0
  248. package/es/components/ticketBooking/locales.d.ts +130 -0
  249. package/es/components/ticketBooking/locales.js +156 -0
  250. package/es/components/ticketBooking/utils/formatTime.d.ts +2 -0
  251. package/es/components/ticketBooking/utils/formatTime.js +8 -2
  252. package/es/components/wallet/utils.d.ts +1 -1
  253. package/es/components/walletList/index.js +10 -0
  254. package/es/components/walletList/locales.d.ts +16 -0
  255. package/es/components/walletList/locales.js +16 -0
  256. package/es/components/walletList/types/index.d.ts +2 -0
  257. package/es/hooks/useEngineContext.d.ts +1 -0
  258. package/es/hooks/useEngineContext.js +7 -0
  259. package/es/hooks/useLocale.js +8 -1
  260. package/es/hooks/usePaymentLogger.d.ts +1 -0
  261. package/es/hooks/useThemeTokens.d.ts +7 -0
  262. package/es/hooks/useThemeTokens.js +20 -0
  263. package/es/hooks/useTranslationOriginal.d.ts +1 -0
  264. package/es/hooks/useTranslationOriginal.js +10 -0
  265. package/es/index.d.ts +16 -3
  266. package/es/index.js +13 -1
  267. package/es/plus/clientCard/index.d.ts +7 -0
  268. package/es/plus/clientCard/index.js +462 -0
  269. package/es/plus/clientCard/index.less +515 -0
  270. package/es/plus/clientCard/line/index.d.ts +9 -0
  271. package/es/plus/clientCard/line/index.js +157 -0
  272. package/es/plus/clientCard/line/index.less +142 -0
  273. package/es/plus/clientCard/locales.d.ts +28 -0
  274. package/es/plus/clientCard/locales.js +27 -0
  275. package/es/plus/clientCard/types.d.ts +135 -0
  276. package/es/plus/clientCard/types.js +1 -0
  277. package/es/plus/clientCard/utils.d.ts +8 -0
  278. package/es/plus/clientCard/utils.js +59 -0
  279. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +3 -0
  280. package/es/plus/clinetSearch/Add/BirthdayField/index.js +277 -0
  281. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +3 -0
  282. package/es/plus/clinetSearch/Add/GenderField/index.js +18 -0
  283. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +3 -0
  284. package/es/plus/clinetSearch/Add/PhoneField/index.js +52 -0
  285. package/es/plus/clinetSearch/Add/PhoneField/serve.d.ts +2 -0
  286. package/es/plus/clinetSearch/Add/PhoneField/serve.js +166 -0
  287. package/es/plus/clinetSearch/Add/index.d.ts +18 -0
  288. package/es/plus/clinetSearch/Add/index.js +213 -0
  289. package/es/plus/clinetSearch/Add/index.less +30 -0
  290. package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +5 -0
  291. package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.js +265 -0
  292. package/es/plus/clinetSearch/InfiniteScroll/index.d.ts +2 -0
  293. package/es/plus/clinetSearch/InfiniteScroll/index.js +1 -0
  294. package/es/plus/clinetSearch/InfiniteScroll/types.d.ts +46 -0
  295. package/es/plus/clinetSearch/InfiniteScroll/types.js +1 -0
  296. package/es/plus/clinetSearch/index.d.ts +18 -0
  297. package/es/plus/clinetSearch/index.js +234 -0
  298. package/es/plus/clinetSearch/index.less +95 -0
  299. package/es/plus/clinetSearch/locales.d.ts +178 -0
  300. package/es/plus/clinetSearch/locales.js +177 -0
  301. package/es/plus/clinetSearch/serve.d.ts +1 -0
  302. package/es/plus/clinetSearch/serve.js +31 -0
  303. package/es/plus/clinetSearch/types.d.ts +70 -0
  304. package/es/plus/clinetSearch/types.js +1 -0
  305. package/es/plus/contactInfo/components/SwipeAction/index.js +1 -1
  306. package/es/plus/contactInfo/locales.d.ts +8 -0
  307. package/es/plus/contactInfo/locales.js +8 -0
  308. package/es/plus/contactInfoModal/locales.d.ts +42 -0
  309. package/es/plus/contactInfoModal/locales.js +42 -0
  310. package/es/plus/orderList/components/BatchActionBar.d.ts +9 -0
  311. package/es/plus/orderList/components/BatchActionBar.js +835 -0
  312. package/es/plus/orderList/components/FilterList.d.ts +8 -0
  313. package/es/plus/orderList/components/FilterList.js +78 -0
  314. package/es/plus/orderList/components/HandleActions.d.ts +6 -0
  315. package/es/plus/orderList/components/HandleActions.js +27 -0
  316. package/es/plus/orderList/components/QuickFilter.d.ts +5 -0
  317. package/es/plus/orderList/components/QuickFilter.js +14 -0
  318. package/es/plus/orderList/components/Reset.d.ts +7 -0
  319. package/es/plus/orderList/components/Reset.js +23 -0
  320. package/es/plus/orderList/components/Toolbar.d.ts +7 -0
  321. package/es/plus/orderList/components/Toolbar.js +59 -0
  322. package/es/plus/orderList/config.d.ts +155 -0
  323. package/es/plus/orderList/config.js +786 -0
  324. package/es/plus/orderList/index.d.ts +10 -0
  325. package/es/plus/orderList/index.js +133 -0
  326. package/es/plus/orderList/index.less +125 -0
  327. package/es/plus/orderList/locales.d.ts +618 -0
  328. package/es/plus/orderList/locales.js +733 -0
  329. package/es/plus/orderList/serve.d.ts +42 -0
  330. package/es/plus/orderList/serve.js +351 -0
  331. package/es/plus/pisellSalesGrid/PisellSalesGrid.d.ts +5 -0
  332. package/es/plus/pisellSalesGrid/PisellSalesGrid.js +363 -0
  333. package/es/plus/pisellSalesGrid/PisellSalesGrid.less +16 -0
  334. package/es/plus/pisellSalesGrid/PisellSalesGrid.stories.d.ts +14 -0
  335. package/es/plus/pisellSalesGrid/PisellSalesGrid.stories.js +559 -0
  336. package/es/plus/pisellSalesGrid/hooks/useActions.d.ts +19 -0
  337. package/es/plus/pisellSalesGrid/hooks/useActions.js +723 -0
  338. package/es/plus/pisellSalesGrid/index.d.ts +4 -0
  339. package/es/plus/pisellSalesGrid/index.js +3 -0
  340. package/es/plus/pisellSalesGrid/locales.d.ts +9 -0
  341. package/es/plus/pisellSalesGrid/locales.js +8 -0
  342. package/es/plus/pisellSalesGrid/serve.d.ts +19 -0
  343. package/es/plus/pisellSalesGrid/serve.js +151 -0
  344. package/es/plus/pisellSalesGrid/types.d.ts +170 -0
  345. package/es/plus/pisellSalesGrid/types.js +1 -0
  346. package/es/plus/pisellSalesManagement/components/BookingFormsPreview.d.ts +15 -0
  347. package/es/plus/pisellSalesManagement/components/BookingFormsPreview.js +221 -0
  348. package/es/plus/pisellSalesManagement/components/BookingNotesPreview.d.ts +19 -0
  349. package/es/plus/pisellSalesManagement/components/BookingNotesPreview.js +167 -0
  350. package/es/plus/pisellSalesManagement/components/ResourceSelector.d.ts +9 -0
  351. package/es/plus/pisellSalesManagement/components/ResourceSelector.js +102 -0
  352. package/es/plus/pisellSalesManagement/config/booking.d.ts +186 -0
  353. package/es/plus/pisellSalesManagement/config/booking.js +380 -0
  354. package/es/plus/pisellSalesManagement/config/index.d.ts +2 -0
  355. package/es/plus/pisellSalesManagement/config/index.js +11 -0
  356. package/es/plus/pisellSalesManagement/config/order.d.ts +172 -0
  357. package/es/plus/pisellSalesManagement/config/order.js +460 -0
  358. package/es/plus/pisellSalesManagement/hooks/perspectiveUtils.d.ts +15 -0
  359. package/es/plus/pisellSalesManagement/hooks/perspectiveUtils.js +66 -0
  360. package/es/plus/pisellSalesManagement/hooks/useBookingPerspective.d.ts +2 -0
  361. package/es/plus/pisellSalesManagement/hooks/useBookingPerspective.js +651 -0
  362. package/es/plus/pisellSalesManagement/hooks/useOrderPerspective.d.ts +2 -0
  363. package/es/plus/pisellSalesManagement/hooks/useOrderPerspective.js +656 -0
  364. package/es/plus/pisellSalesManagement/hooks/usePerspectives.d.ts +5 -0
  365. package/es/plus/pisellSalesManagement/hooks/usePerspectives.js +12 -0
  366. package/es/plus/pisellSalesManagement/index.d.ts +10 -0
  367. package/es/plus/pisellSalesManagement/index.js +84 -0
  368. package/es/plus/pisellSalesManagement/locales.d.ts +303 -0
  369. package/es/plus/pisellSalesManagement/locales.js +302 -0
  370. package/es/plus/pisellSalesManagement/serve.d.ts +26 -0
  371. package/es/plus/pisellSalesManagement/serve.js +222 -0
  372. package/es/plus/productSelect/components/pisellPriceText/index.js +8 -4
  373. package/es/plus/productSelect/locales.d.ts +20 -0
  374. package/es/plus/productSelect/locales.js +23 -3
  375. package/es/plus/saasAttendance/index.d.ts +6 -0
  376. package/es/plus/saasAttendance/index.js +5 -0
  377. package/es/plus/saasAttendance/locales.d.ts +591 -0
  378. package/es/plus/saasAttendance/locales.js +657 -0
  379. package/es/plus/saasAttendance/settings/BasicInfoTab.d.ts +5 -0
  380. package/es/plus/saasAttendance/settings/BasicInfoTab.js +96 -0
  381. package/es/plus/saasAttendance/settings/ClockInMethodTab.d.ts +8 -0
  382. package/es/plus/saasAttendance/settings/ClockInMethodTab.js +81 -0
  383. package/es/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +8 -0
  384. package/es/plus/saasAttendance/settings/CorrectionPolicyTab.js +293 -0
  385. package/es/plus/saasAttendance/settings/PermissonTab.d.ts +5 -0
  386. package/es/plus/saasAttendance/settings/PermissonTab.js +79 -0
  387. package/es/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +5 -0
  388. package/es/plus/saasAttendance/settings/ShiftScheduleTab.js +115 -0
  389. package/es/plus/saasAttendance/settings/components/MapField.d.ts +78 -0
  390. package/es/plus/saasAttendance/settings/components/MapField.js +848 -0
  391. package/es/plus/saasAttendance/settings/components/index.d.ts +3 -0
  392. package/es/plus/saasAttendance/settings/components/index.js +2 -0
  393. package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +8 -0
  394. package/es/plus/saasAttendance/settings/components/membersField/index.js +216 -0
  395. package/es/plus/saasAttendance/settings/components/membersField/index.less +70 -0
  396. package/es/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.d.ts +7 -0
  397. package/es/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.js +149 -0
  398. package/es/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.less +119 -0
  399. package/es/plus/saasAttendance/settings/components/shiftModal/index.d.ts +18 -0
  400. package/es/plus/saasAttendance/settings/components/shiftModal/index.js +438 -0
  401. package/es/plus/saasAttendance/settings/index.d.ts +18 -0
  402. package/es/plus/saasAttendance/settings/index.js +262 -0
  403. package/es/plus/saasAttendance/settings/index.less +510 -0
  404. package/es/plus/saasAttendance/settings/serve.d.ts +27 -0
  405. package/es/plus/saasAttendance/settings/serve.js +83 -0
  406. package/es/plus/saasAttendance/settings/types.d.ts +136 -0
  407. package/es/plus/saasAttendance/settings/types.js +1 -0
  408. package/es/plus/saasCreateOrganization/locales.d.ts +8 -0
  409. package/es/plus/saasCreateOrganization/locales.js +8 -0
  410. package/es/plus/saasLogin/locales.d.ts +32 -0
  411. package/es/plus/saasLogin/locales.js +32 -0
  412. package/es/plus/saasRegister/locales.d.ts +76 -0
  413. package/es/plus/saasRegister/locales.js +76 -0
  414. package/es/plus/saasRole/components/PermissionManager/index.d.ts +19 -0
  415. package/es/plus/saasRole/components/PermissionManager/index.js +211 -0
  416. package/es/plus/saasRole/components/PermissionManager/index.less +71 -0
  417. package/es/plus/saasRole/index.d.ts +14 -0
  418. package/es/plus/saasRole/index.js +1036 -0
  419. package/es/plus/saasRole/index.less +196 -0
  420. package/es/plus/saasRole/locales.d.ts +319 -0
  421. package/es/plus/saasRole/locales.js +319 -0
  422. package/es/plus/saasRole/serve.d.ts +72 -0
  423. package/es/plus/saasRole/serve.js +304 -0
  424. package/es/plus/saasRole/types.d.ts +177 -0
  425. package/es/plus/saasRole/types.js +1 -0
  426. package/es/plus/saasRole/utils.d.ts +0 -0
  427. package/es/plus/saasRole/utils.js +0 -0
  428. package/es/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +31 -0
  429. package/es/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.js +503 -0
  430. package/es/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +23 -0
  431. package/es/plus/saasTeamMembers/components/MemberDrawer/index.js +634 -0
  432. package/es/plus/saasTeamMembers/components/MemberDrawer/index.less +178 -0
  433. package/es/plus/saasTeamMembers/index.d.ts +5 -0
  434. package/es/plus/saasTeamMembers/index.js +529 -0
  435. package/es/plus/saasTeamMembers/index.less +87 -0
  436. package/es/plus/saasTeamMembers/locales.d.ts +546 -0
  437. package/es/plus/saasTeamMembers/locales.js +591 -0
  438. package/es/plus/saasTeamMembers/serve.d.ts +95 -0
  439. package/es/plus/saasTeamMembers/serve.js +374 -0
  440. package/es/plus/saasTeamMembers/type.d.ts +158 -0
  441. package/es/plus/saasTeamMembers/type.js +1 -0
  442. package/es/plus/selectHolder/locales.d.ts +14 -0
  443. package/es/plus/selectHolder/locales.js +18 -0
  444. package/es/plus/skuOptionsSelection/components/NormalCard/index.js +6 -5
  445. package/es/plus/skuOptionsSelection/components/OptionsCard/index.js +3 -2
  446. package/es/plus/skuOptionsSelection/components/OptionsCard/index.less +2 -0
  447. package/es/plus/skuOptionsSelection/index.js +2 -2
  448. package/es/plus/skuOptionsSelection/locales.d.ts +20 -0
  449. package/es/plus/skuOptionsSelection/locales.js +20 -0
  450. package/es/plus/skuOptionsSelection/store/store.js +2 -1
  451. package/es/plus/skuOptionsSelection/types.d.ts +14 -0
  452. package/es/plus/skuOptionsSelection/types.js +4 -0
  453. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.js +10 -1
  454. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.js +10 -1
  455. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +9 -2
  456. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.js +8 -4
  457. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.js +8 -2
  458. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +2 -0
  459. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.js +12 -4
  460. package/es/plus/walletEditor/locales.d.ts +88 -0
  461. package/es/plus/walletEditor/locales.js +100 -0
  462. package/es/plus/walletEditor/types.d.ts +2 -0
  463. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
  464. package/es/plus/walletPassGallery/components/passDetail/index.js +80 -39
  465. package/es/plus/walletPassGallery/components/passList/index.js +12 -4
  466. package/es/plus/walletPassGallery/components/recharge/index.js +13 -5
  467. package/es/plus/walletPassGallery/components/recharge/index.less +70 -1
  468. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +2 -0
  469. package/es/plus/walletPassGallery/components/timelineSection/index.js +19 -2
  470. package/es/plus/walletPassGallery/index.d.ts +4 -0
  471. package/es/plus/walletPassGallery/index.js +95 -46
  472. package/es/plus/walletPassGallery/locales.d.ts +198 -0
  473. package/es/plus/walletPassGallery/locales.js +216 -3
  474. package/es/plus/walletPassGallery/serve.d.ts +3 -1
  475. package/es/plus/walletPassGallery/serve.js +13 -13
  476. package/es/plus/walletPassGallery/utils.d.ts +1 -1
  477. package/es/pro/Cards/components/SKUCard/index.d.ts +1 -56
  478. package/es/pro/Cards/components/SKUCard/index.js +50 -20
  479. package/es/pro/Cards/components/SKUCard/index.less +23 -2
  480. package/es/pro/Cards/components/SKUCard/locales.d.ts +12 -0
  481. package/es/pro/Cards/components/SKUCard/locales.js +11 -0
  482. package/es/pro/Cards/components/SKUCard/types.d.ts +73 -0
  483. package/es/pro/Cards/components/SKUCard/types.js +1 -0
  484. package/es/pro/Login2.0/Login2.js +8 -8
  485. package/es/pro/Login2.0/locales.d.ts +365 -0
  486. package/es/pro/Login2.0/locales.js +365 -0
  487. package/es/pro/Login2.0/shared/types.d.ts +2 -0
  488. package/es/pro/NumericStepper/index.d.ts +33 -3
  489. package/es/pro/NumericStepper/index.js +181 -107
  490. package/es/pro/NumericStepper/index.less +287 -143
  491. package/es/pro/Selector/BatchSelectorDemo.js +2 -12
  492. package/es/pro/Selector/Selector.js +39 -30
  493. package/es/pro/Selector/SelectorGroup.d.ts +1 -1
  494. package/es/pro/Selector/SelectorGroup.js +5 -1
  495. package/es/pro/Selector/components/Card/index.js +11 -10
  496. package/es/pro/Selector/components/Card/index.less +30 -14
  497. package/es/pro/Selector/components/Indicator/index.d.ts +1 -0
  498. package/es/pro/Selector/components/Indicator/index.js +3 -2
  499. package/es/pro/Selector/components/Indicator/index.less +16 -13
  500. package/es/pro/Selector/components/LayoutContainer/index.d.ts +5 -3
  501. package/es/pro/Selector/components/LayoutContainer/index.js +226 -9
  502. package/es/pro/Selector/components/LayoutContainer/index.less +19 -0
  503. package/es/pro/Selector/components/Media/index.d.ts +1 -1
  504. package/es/pro/Selector/components/Media/index.less +1 -1
  505. package/es/pro/Selector/demo.js +1 -1
  506. package/es/pro/Selector/hooks/usePresetItemProps.js +2 -0
  507. package/es/pro/Selector/hooks/usePresetProps.js +60 -6
  508. package/es/pro/Selector/locales.d.ts +22 -0
  509. package/es/pro/Selector/locales.js +58 -0
  510. package/es/pro/Selector/selector.less +0 -64
  511. package/es/pro/Selector/selectorGroup.less +9 -1
  512. package/es/pro/Selector/types.d.ts +50 -0
  513. package/es/pro/comprehensiveSearch/components/deviceIconGroup/index.d.ts +11 -0
  514. package/es/pro/comprehensiveSearch/components/deviceIconGroup/index.js +54 -0
  515. package/es/pro/comprehensiveSearch/components/deviceIconGroup/index.less +28 -0
  516. package/es/pro/comprehensiveSearch/components/index.d.ts +2 -0
  517. package/es/pro/comprehensiveSearch/components/index.js +2 -0
  518. package/es/pro/comprehensiveSearch/components/searchSection/index.d.ts +24 -0
  519. package/es/pro/comprehensiveSearch/components/searchSection/index.js +141 -0
  520. package/es/pro/comprehensiveSearch/components/searchSection/index.less +100 -0
  521. package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
  522. package/es/pro/comprehensiveSearch/components/searchSection/locales.js +22 -0
  523. package/es/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +5 -0
  524. package/es/pro/comprehensiveSearch/hooks/useNativeScanner.js +24 -0
  525. package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +9 -0
  526. package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.js +44 -0
  527. package/es/pro/comprehensiveSearch/index.d.ts +7 -0
  528. package/es/pro/comprehensiveSearch/index.js +207 -0
  529. package/es/pro/comprehensiveSearch/index.less +196 -0
  530. package/es/pro/comprehensiveSearch/locales.d.ts +23 -0
  531. package/es/pro/comprehensiveSearch/locales.js +22 -0
  532. package/es/pro/comprehensiveSearch/types.d.ts +32 -0
  533. package/es/pro/comprehensiveSearch/types.js +1 -0
  534. package/es/pro/keyboards/index.d.ts +2 -0
  535. package/es/pro/keyboards/index.js +1 -0
  536. package/es/pro/keyboards/locales.d.ts +38 -0
  537. package/es/pro/keyboards/locales.js +57 -0
  538. package/es/pro/keyboards/numberKeyboard/index.d.ts +16 -0
  539. package/es/pro/keyboards/numberKeyboard/index.js +523 -0
  540. package/es/pro/keyboards/numberKeyboard/index.less +59 -0
  541. package/es/pro/keyboards/numberKeyboard/types.d.ts +63 -0
  542. package/es/pro/keyboards/numberKeyboard/types.js +1 -0
  543. package/es/pro/numberKeyboard/locales.d.ts +6 -0
  544. package/es/pro/numberKeyboard/locales.js +6 -0
  545. package/es/pro/pisellPhoneKeyboard/index.d.ts +13 -0
  546. package/es/pro/pisellPhoneKeyboard/index.js +210 -0
  547. package/es/pro/pisellPhoneKeyboard/index.less +157 -0
  548. package/es/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
  549. package/es/pro/pisellPhoneKeyboard/locales.js +17 -0
  550. package/lib/components/appointmentBooking/components/Date/state.js +3 -1
  551. package/lib/components/appointmentBooking/locales.d.ts +240 -0
  552. package/lib/components/appointmentBooking/locales.js +240 -0
  553. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +164 -0
  554. package/lib/components/authentication/admin/AuthMethods/locales.js +164 -0
  555. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +17 -9
  556. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +54 -0
  557. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +54 -0
  558. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +2 -0
  559. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +2 -0
  560. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +46 -0
  561. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +46 -0
  562. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +2 -0
  563. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +14 -6
  564. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +16 -0
  565. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +16 -0
  566. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +10 -2
  567. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +42 -0
  568. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +42 -0
  569. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +2 -0
  570. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +14 -6
  571. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +24 -0
  572. package/lib/components/authentication/admin/ChannelAuthSetting/locales.js +24 -0
  573. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +42 -0
  574. package/lib/components/authentication/admin/CustomerAuth/locales.js +42 -0
  575. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +70 -0
  576. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.js +70 -0
  577. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +36 -0
  578. package/lib/components/authentication/admin/DeviceAuth/locales.js +36 -0
  579. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +58 -0
  580. package/lib/components/authentication/admin/OAuthConfig/locales.js +58 -0
  581. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +34 -0
  582. package/lib/components/authentication/admin/OrgAdminAuth/locales.js +34 -0
  583. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +30 -0
  584. package/lib/components/authentication/admin/POSOperatorAuth/locales.js +30 -0
  585. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +34 -0
  586. package/lib/components/authentication/admin/SaaSAdminAuth/locales.js +34 -0
  587. package/lib/components/booking/components/footer/index.js +5 -0
  588. package/lib/components/booking/editBookingModal/locales.d.ts +12 -0
  589. package/lib/components/booking/editBookingModal/locales.js +12 -0
  590. package/lib/components/booking/editBookingModal/mock.d.ts +186 -2
  591. package/lib/components/booking/editBookingModal/mock.js +22 -0
  592. package/lib/components/booking/hooks/useClearCart.d.ts +1 -1
  593. package/lib/components/booking/hooks/useClearCart.js +28 -6
  594. package/lib/components/booking/info/header/index.js +7 -7
  595. package/lib/components/booking/info/header/index.less +5 -5
  596. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  597. package/lib/components/booking/info/service/index.less +4 -2
  598. package/lib/components/booking/info2/service/addService/mock.d.ts +2 -0
  599. package/lib/components/booking/info2/service/addService/mock.js +4 -0
  600. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  601. package/lib/components/booking/locales.d.ts +648 -0
  602. package/lib/components/booking/locales.js +700 -0
  603. package/lib/components/booking/notes/NoteBlock/index.js +2 -1
  604. package/lib/components/booking/utils.d.ts +2 -2
  605. package/lib/components/ecocup/components/AddCustomerModal/index.d.ts +10 -0
  606. package/lib/components/ecocup/components/AddCustomerModal/index.js +212 -0
  607. package/lib/components/ecocup/components/AddCustomerModal/index.less +9 -0
  608. package/lib/components/ecocup/components/CupActionList/index.d.ts +14 -0
  609. package/lib/components/ecocup/components/CupActionList/index.js +116 -0
  610. package/lib/components/ecocup/components/CupActionList/index.less +102 -0
  611. package/lib/components/ecocup/components/CupActionModal/hooks.d.ts +5 -0
  612. package/lib/components/ecocup/components/CupActionModal/hooks.js +55 -0
  613. package/lib/components/ecocup/components/CupActionModal/index.d.ts +15 -0
  614. package/lib/components/ecocup/components/CupActionModal/index.js +125 -0
  615. package/lib/components/ecocup/components/CupActionModal/index.less +38 -0
  616. package/lib/components/ecocup/components/CupInfoCard/index.d.ts +10 -0
  617. package/lib/components/ecocup/components/CupInfoCard/index.js +43 -0
  618. package/lib/components/ecocup/components/CupInfoCard/index.less +11 -0
  619. package/lib/components/ecocup/components/CupStatusModal/hooks.d.ts +36 -0
  620. package/lib/components/ecocup/components/CupStatusModal/hooks.js +115 -0
  621. package/lib/components/ecocup/components/CupStatusModal/index.d.ts +14 -0
  622. package/lib/components/ecocup/components/CupStatusModal/index.js +221 -0
  623. package/lib/components/ecocup/components/CupStatusModal/index.less +73 -0
  624. package/lib/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +14 -0
  625. package/lib/components/ecocup/components/CustomerAndCupModal/hooks.js +89 -0
  626. package/lib/components/ecocup/components/CustomerAndCupModal/index.d.ts +20 -0
  627. package/lib/components/ecocup/components/CustomerAndCupModal/index.js +178 -0
  628. package/lib/components/ecocup/components/CustomerAndCupModal/index.less +68 -0
  629. package/lib/components/ecocup/components/CustomerCard/index.d.ts +9 -0
  630. package/lib/components/ecocup/components/CustomerCard/index.js +58 -0
  631. package/lib/components/ecocup/components/CustomerCard/index.less +50 -0
  632. package/lib/components/ecocup/components/MoreDropdown/index.d.ts +9 -0
  633. package/lib/components/{eftposPay/mx51/Result.js → ecocup/components/MoreDropdown/index.js} +31 -43
  634. package/lib/components/ecocup/components/PageHeader/index.d.ts +9 -0
  635. package/lib/components/ecocup/components/PageHeader/index.js +66 -0
  636. package/lib/components/ecocup/components/PageHeader/index.less +31 -0
  637. package/lib/components/ecocup/components/SearchBar/const.d.ts +4 -0
  638. package/lib/components/{eftposPay/mx51/types.js → ecocup/components/SearchBar/const.js} +28 -18
  639. package/lib/components/ecocup/components/SearchBar/hooks.d.ts +44 -0
  640. package/lib/components/ecocup/components/SearchBar/hooks.js +135 -0
  641. package/lib/components/ecocup/components/SearchBar/index.d.ts +14 -0
  642. package/lib/components/ecocup/components/SearchBar/index.js +226 -0
  643. package/lib/components/ecocup/components/SearchBar/index.less +88 -0
  644. package/lib/components/ecocup/components/SettingModal/const.d.ts +6 -0
  645. package/lib/components/ecocup/components/SettingModal/const.js +48 -0
  646. package/lib/components/ecocup/components/SettingModal/index.d.ts +9 -0
  647. package/lib/components/ecocup/components/SettingModal/index.js +199 -0
  648. package/lib/components/ecocup/components/SettingModal/index.less +9 -0
  649. package/lib/components/ecocup/cupList/const.d.ts +140 -0
  650. package/lib/components/ecocup/cupList/const.js +344 -0
  651. package/lib/components/ecocup/cupList/hooks/index.d.ts +4 -0
  652. package/lib/components/ecocup/cupList/hooks/index.js +43 -0
  653. package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +45 -0
  654. package/lib/components/ecocup/cupList/hooks/useColumns.js +200 -0
  655. package/lib/components/ecocup/cupList/hooks/useCupApi.d.ts +41 -0
  656. package/lib/components/ecocup/cupList/hooks/useCupApi.js +227 -0
  657. package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +3 -0
  658. package/lib/components/ecocup/cupList/hooks/useSummary.js +83 -0
  659. package/lib/components/ecocup/cupList/index.d.ts +7 -0
  660. package/lib/components/ecocup/cupList/index.js +262 -0
  661. package/lib/components/ecocup/cupList/index.less +159 -0
  662. package/lib/components/ecocup/cupProject/const.d.ts +7 -0
  663. package/lib/components/ecocup/cupProject/const.js +65 -0
  664. package/lib/components/ecocup/cupProject/index.d.ts +3 -0
  665. package/lib/components/ecocup/cupProject/index.js +135 -0
  666. package/lib/components/ecocup/cupProject/index.less +41 -0
  667. package/lib/components/ecocup/customerList/const.d.ts +44 -0
  668. package/lib/components/ecocup/customerList/const.js +93 -0
  669. package/lib/components/ecocup/customerList/hooks/index.d.ts +3 -0
  670. package/lib/components/ecocup/customerList/hooks/index.js +32 -0
  671. package/lib/components/ecocup/customerList/hooks/useColumns.d.ts +15 -0
  672. package/lib/components/ecocup/customerList/hooks/useColumns.js +89 -0
  673. package/lib/components/ecocup/customerList/hooks/useCustomerApi.d.ts +15 -0
  674. package/lib/components/ecocup/customerList/hooks/useCustomerApi.js +56 -0
  675. package/lib/components/ecocup/customerList/index.d.ts +7 -0
  676. package/lib/components/ecocup/customerList/index.js +138 -0
  677. package/lib/components/ecocup/customerList/index.less +15 -0
  678. package/lib/components/ecocup/hooks.d.ts +57 -0
  679. package/lib/components/ecocup/hooks.js +169 -0
  680. package/lib/components/ecocup/locales.d.ts +653 -0
  681. package/lib/components/ecocup/locales.js +706 -0
  682. package/lib/components/ecocup/types.d.ts +103 -0
  683. package/lib/components/ecocup/types.js +57 -0
  684. package/lib/components/ecocup/utils/download.d.ts +7 -0
  685. package/lib/components/ecocup/utils/download.js +47 -0
  686. package/lib/components/ecocup/utils/index.d.ts +2 -0
  687. package/lib/components/ecocup/utils/index.js +42 -0
  688. package/lib/components/ecocup/utils/scanListener.d.ts +20 -0
  689. package/lib/components/ecocup/utils/scanListener.js +90 -0
  690. package/lib/components/eftpos/const.d.ts +1 -3
  691. package/lib/components/eftpos/const.js +0 -2
  692. package/lib/components/eftpos/device.d.ts +1 -3
  693. package/lib/components/eftpos/device.js +3 -3
  694. package/lib/components/eftpos/hooks.d.ts +1 -13
  695. package/lib/components/eftpos/hooks.js +0 -30
  696. package/lib/components/eftpos/index.js +8 -106
  697. package/lib/components/eftpos/index.less +1 -26
  698. package/lib/components/eftpos/locales.d.ts +64 -39
  699. package/lib/components/eftpos/locales.js +78 -101
  700. package/lib/components/eftpos/table.js +2 -30
  701. package/lib/components/eftposPay/amount.d.ts +1 -1
  702. package/lib/components/eftposPay/app.d.ts +1 -1
  703. package/lib/components/eftposPay/component/fail/failCustom.js +15 -9
  704. package/lib/components/eftposPay/component/fail/index.js +4 -1
  705. package/lib/components/eftposPay/const.d.ts +2 -7
  706. package/lib/components/eftposPay/const.js +0 -2
  707. package/lib/components/eftposPay/device.d.ts +1 -1
  708. package/lib/components/eftposPay/device.js +108 -23
  709. package/lib/components/eftposPay/hooks.d.ts +1 -1
  710. package/lib/components/eftposPay/index.js +5 -1
  711. package/lib/components/eftposPay/linkly/const.js +1 -1
  712. package/lib/components/eftposPay/linkly/index.js +0 -1
  713. package/lib/components/eftposPay/locales.d.ts +242 -3
  714. package/lib/components/eftposPay/locales.js +252 -5
  715. package/lib/components/eftposPay/manufacturer.d.ts +0 -1
  716. package/lib/components/eftposPay/manufacturer.js +0 -6
  717. package/lib/components/eftposPay/pay.js +2 -4
  718. package/lib/components/eftposPay/payo/config.js +1 -0
  719. package/lib/components/eftposPay/payo/const.js +1 -1
  720. package/lib/components/eftposPay/store/index.d.ts +6 -3
  721. package/lib/components/eftposPay/tyro/const.js +1 -1
  722. package/lib/components/eftposPay/windcave/const.js +1 -1
  723. package/lib/components/eftposPay/windcave/windcave.js +9 -9
  724. package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +22 -0
  725. package/lib/components/eventBooking/components/Voucher/components/locales.js +22 -0
  726. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  727. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  728. package/lib/components/eventBooking/locales.d.ts +162 -0
  729. package/lib/components/eventBooking/locales.js +162 -0
  730. package/lib/components/kioskSkuDetail/index.js +27 -3
  731. package/lib/components/kioskSkuDetail/locales.d.ts +21 -0
  732. package/lib/components/kioskSkuDetail/locales.js +24 -3
  733. package/lib/components/login/locales.d.ts +14 -0
  734. package/lib/components/login/locales.js +14 -0
  735. package/lib/components/pay/toC/PaymentList/serve.js +1 -1
  736. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/index.js +19 -11
  737. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +22 -23
  738. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +1 -0
  739. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.js +7 -1
  740. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +3 -4
  741. package/lib/components/pay/toC/locales.d.ts +204 -0
  742. package/lib/components/pay/toC/locales.js +204 -0
  743. package/lib/components/pay/toC/serve.d.ts +2 -0
  744. package/lib/components/pay/toC/serve.js +1 -1
  745. package/lib/components/pinModal/locales.d.ts +16 -0
  746. package/lib/components/pinModal/locales.js +16 -0
  747. package/lib/components/pinVerifyModal/locales.d.ts +14 -0
  748. package/lib/components/pinVerifyModal/locales.js +14 -0
  749. package/lib/components/pisellSelectCustomerModal/locales.d.ts +52 -0
  750. package/lib/components/pisellSelectCustomerModal/locales.js +52 -0
  751. package/lib/components/productExtension/locales.d.ts +30 -0
  752. package/lib/components/productExtension/locales.js +30 -0
  753. package/lib/components/productSelect/components/pisellPriceText/index.js +6 -4
  754. package/lib/components/productSelect/locales.d.ts +20 -0
  755. package/lib/components/productSelect/locales.js +23 -3
  756. package/lib/components/ruleSetting/locales.d.ts +30 -0
  757. package/lib/components/ruleSetting/locales.js +30 -0
  758. package/lib/components/schedules/locales.d.ts +56 -0
  759. package/lib/components/schedules/locales.js +56 -0
  760. package/lib/components/shoppingCart/components/Cart/index.less +1 -0
  761. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -1
  762. package/lib/components/shoppingCart/hooks/useClearCart.js +42 -11
  763. package/lib/components/shoppingCart/locales.d.ts +20 -0
  764. package/lib/components/shoppingCart/locales.js +20 -0
  765. package/lib/components/stepController/locales.d.ts +16 -0
  766. package/lib/components/stepController/locales.js +16 -0
  767. package/lib/components/subTotal/locales.d.ts +26 -0
  768. package/lib/components/subTotal/locales.js +26 -0
  769. package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +59 -0
  770. package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/index.js +228 -0
  771. package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/serve.d.ts +70 -0
  772. package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/serve.js +195 -0
  773. package/lib/components/systemSettings/registry/components/ItemModal.js +347 -224
  774. package/lib/components/systemSettings/registry/components/OptionDataSource/OptionTable.d.ts +8 -0
  775. package/lib/components/systemSettings/registry/components/OptionDataSource/OptionTable.js +166 -0
  776. package/lib/components/systemSettings/registry/components/OptionDataSource/index.d.ts +10 -0
  777. package/lib/components/systemSettings/registry/components/OptionDataSource/index.js +210 -0
  778. package/lib/components/systemSettings/registry/components/OptionDataSource/index.less +37 -0
  779. package/lib/components/systemSettings/registry/index.js +20 -16
  780. package/lib/components/systemSettings/registry/index.less +6 -7
  781. package/lib/components/systemSettings/registry/locales.d.ts +262 -0
  782. package/lib/components/systemSettings/registry/locales.js +274 -3
  783. package/lib/components/systemSettings/registry/services.d.ts +20 -0
  784. package/lib/components/systemSettings/registry/types.d.ts +16 -2
  785. package/lib/components/taxSelect/locales.d.ts +14 -0
  786. package/lib/components/taxSelect/locales.js +14 -0
  787. package/lib/components/ticketBooking/locales.d.ts +130 -0
  788. package/lib/components/ticketBooking/locales.js +136 -0
  789. package/lib/components/ticketBooking/utils/formatTime.d.ts +2 -0
  790. package/lib/components/ticketBooking/utils/formatTime.js +8 -2
  791. package/lib/components/wallet/utils.d.ts +1 -1
  792. package/lib/components/walletList/index.js +10 -0
  793. package/lib/components/walletList/locales.d.ts +16 -0
  794. package/lib/components/walletList/locales.js +16 -0
  795. package/lib/components/walletList/types/index.d.ts +2 -0
  796. package/lib/hooks/useEngineContext.d.ts +1 -0
  797. package/lib/hooks/useEngineContext.js +10 -2
  798. package/lib/hooks/useLocale.js +7 -2
  799. package/lib/hooks/usePaymentLogger.d.ts +1 -0
  800. package/lib/hooks/useThemeTokens.d.ts +7 -0
  801. package/lib/hooks/useThemeTokens.js +40 -0
  802. package/lib/hooks/useTranslationOriginal.d.ts +1 -0
  803. package/lib/hooks/useTranslationOriginal.js +42 -0
  804. package/lib/index.d.ts +16 -3
  805. package/lib/index.js +39 -3
  806. package/lib/plus/clientCard/index.d.ts +7 -0
  807. package/lib/plus/clientCard/index.js +457 -0
  808. package/lib/plus/clientCard/index.less +515 -0
  809. package/lib/plus/clientCard/line/index.d.ts +9 -0
  810. package/lib/plus/clientCard/line/index.js +153 -0
  811. package/lib/plus/clientCard/line/index.less +142 -0
  812. package/lib/plus/clientCard/locales.d.ts +28 -0
  813. package/lib/plus/clientCard/locales.js +51 -0
  814. package/lib/plus/clientCard/types.d.ts +135 -0
  815. package/lib/plus/clientCard/types.js +17 -0
  816. package/lib/plus/clientCard/utils.d.ts +8 -0
  817. package/lib/plus/clientCard/utils.js +75 -0
  818. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +3 -0
  819. package/lib/plus/clinetSearch/Add/BirthdayField/index.js +256 -0
  820. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +3 -0
  821. package/lib/plus/clinetSearch/Add/GenderField/index.js +52 -0
  822. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +3 -0
  823. package/lib/plus/clinetSearch/Add/PhoneField/index.js +78 -0
  824. package/lib/plus/clinetSearch/Add/PhoneField/serve.d.ts +2 -0
  825. package/lib/plus/clinetSearch/Add/PhoneField/serve.js +193 -0
  826. package/lib/plus/clinetSearch/Add/index.d.ts +18 -0
  827. package/lib/plus/clinetSearch/Add/index.js +244 -0
  828. package/lib/plus/clinetSearch/Add/index.less +30 -0
  829. package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +5 -0
  830. package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.js +235 -0
  831. package/lib/plus/clinetSearch/InfiniteScroll/index.d.ts +2 -0
  832. package/lib/plus/clinetSearch/InfiniteScroll/index.js +35 -0
  833. package/lib/plus/clinetSearch/InfiniteScroll/types.d.ts +46 -0
  834. package/lib/plus/clinetSearch/InfiniteScroll/types.js +17 -0
  835. package/lib/plus/clinetSearch/index.d.ts +18 -0
  836. package/lib/plus/clinetSearch/index.js +237 -0
  837. package/lib/plus/clinetSearch/index.less +95 -0
  838. package/lib/plus/clinetSearch/locales.d.ts +178 -0
  839. package/lib/plus/clinetSearch/locales.js +201 -0
  840. package/lib/plus/clinetSearch/serve.d.ts +1 -0
  841. package/lib/{components/eftposPay/aggregatePayment/index.js → plus/clinetSearch/serve.js} +11 -10
  842. package/lib/plus/clinetSearch/types.d.ts +70 -0
  843. package/lib/plus/clinetSearch/types.js +17 -0
  844. package/lib/plus/contactInfo/components/SwipeAction/index.js +23 -23
  845. package/lib/plus/contactInfo/locales.d.ts +8 -0
  846. package/lib/plus/contactInfo/locales.js +8 -0
  847. package/lib/plus/contactInfoModal/locales.d.ts +42 -0
  848. package/lib/plus/contactInfoModal/locales.js +42 -0
  849. package/lib/plus/orderList/components/BatchActionBar.d.ts +9 -0
  850. package/lib/plus/orderList/components/BatchActionBar.js +567 -0
  851. package/lib/plus/orderList/components/FilterList.d.ts +8 -0
  852. package/lib/plus/orderList/components/FilterList.js +121 -0
  853. package/lib/plus/orderList/components/HandleActions.d.ts +6 -0
  854. package/lib/plus/orderList/components/HandleActions.js +52 -0
  855. package/lib/plus/orderList/components/QuickFilter.d.ts +5 -0
  856. package/lib/plus/orderList/components/QuickFilter.js +43 -0
  857. package/lib/plus/orderList/components/Reset.d.ts +7 -0
  858. package/lib/plus/orderList/components/Reset.js +58 -0
  859. package/lib/plus/orderList/components/Toolbar.d.ts +7 -0
  860. package/lib/plus/orderList/components/Toolbar.js +68 -0
  861. package/lib/plus/orderList/config.d.ts +155 -0
  862. package/lib/plus/orderList/config.js +764 -0
  863. package/lib/plus/orderList/index.d.ts +10 -0
  864. package/lib/plus/orderList/index.js +132 -0
  865. package/lib/plus/orderList/index.less +125 -0
  866. package/lib/plus/orderList/locales.d.ts +618 -0
  867. package/lib/plus/orderList/locales.js +737 -0
  868. package/lib/plus/orderList/serve.d.ts +42 -0
  869. package/lib/plus/orderList/serve.js +177 -0
  870. package/lib/plus/pisellSalesGrid/PisellSalesGrid.d.ts +5 -0
  871. package/lib/plus/pisellSalesGrid/PisellSalesGrid.js +339 -0
  872. package/lib/plus/pisellSalesGrid/PisellSalesGrid.less +16 -0
  873. package/lib/plus/pisellSalesGrid/PisellSalesGrid.stories.d.ts +14 -0
  874. package/lib/plus/pisellSalesGrid/PisellSalesGrid.stories.js +455 -0
  875. package/lib/plus/pisellSalesGrid/hooks/useActions.d.ts +19 -0
  876. package/lib/plus/pisellSalesGrid/hooks/useActions.js +545 -0
  877. package/lib/plus/pisellSalesGrid/index.d.ts +4 -0
  878. package/lib/plus/pisellSalesGrid/index.js +42 -0
  879. package/lib/plus/pisellSalesGrid/locales.d.ts +9 -0
  880. package/lib/plus/pisellSalesGrid/locales.js +29 -0
  881. package/lib/plus/pisellSalesGrid/serve.d.ts +19 -0
  882. package/lib/plus/pisellSalesGrid/serve.js +142 -0
  883. package/lib/plus/pisellSalesGrid/types.d.ts +170 -0
  884. package/lib/plus/pisellSalesGrid/types.js +17 -0
  885. package/lib/plus/pisellSalesManagement/components/BookingFormsPreview.d.ts +15 -0
  886. package/lib/plus/pisellSalesManagement/components/BookingFormsPreview.js +253 -0
  887. package/lib/plus/pisellSalesManagement/components/BookingNotesPreview.d.ts +19 -0
  888. package/lib/plus/pisellSalesManagement/components/BookingNotesPreview.js +193 -0
  889. package/lib/plus/pisellSalesManagement/components/ResourceSelector.d.ts +9 -0
  890. package/lib/plus/pisellSalesManagement/components/ResourceSelector.js +106 -0
  891. package/lib/plus/pisellSalesManagement/config/booking.d.ts +186 -0
  892. package/lib/plus/pisellSalesManagement/config/booking.js +500 -0
  893. package/lib/plus/pisellSalesManagement/config/index.d.ts +2 -0
  894. package/lib/plus/pisellSalesManagement/config/index.js +43 -0
  895. package/lib/plus/pisellSalesManagement/config/order.d.ts +172 -0
  896. package/lib/plus/pisellSalesManagement/config/order.js +492 -0
  897. package/lib/plus/pisellSalesManagement/hooks/perspectiveUtils.d.ts +15 -0
  898. package/lib/plus/pisellSalesManagement/hooks/perspectiveUtils.js +113 -0
  899. package/lib/plus/pisellSalesManagement/hooks/useBookingPerspective.d.ts +2 -0
  900. package/lib/plus/pisellSalesManagement/hooks/useBookingPerspective.js +699 -0
  901. package/lib/plus/pisellSalesManagement/hooks/useOrderPerspective.d.ts +2 -0
  902. package/lib/plus/pisellSalesManagement/hooks/useOrderPerspective.js +700 -0
  903. package/lib/plus/pisellSalesManagement/hooks/usePerspectives.d.ts +5 -0
  904. package/lib/plus/pisellSalesManagement/hooks/usePerspectives.js +42 -0
  905. package/lib/plus/pisellSalesManagement/index.d.ts +10 -0
  906. package/lib/plus/pisellSalesManagement/index.js +113 -0
  907. package/lib/plus/pisellSalesManagement/locales.d.ts +303 -0
  908. package/lib/plus/pisellSalesManagement/locales.js +326 -0
  909. package/lib/plus/pisellSalesManagement/serve.d.ts +26 -0
  910. package/lib/plus/pisellSalesManagement/serve.js +120 -0
  911. package/lib/plus/productSelect/components/pisellPriceText/index.js +6 -4
  912. package/lib/plus/productSelect/locales.d.ts +20 -0
  913. package/lib/plus/productSelect/locales.js +23 -3
  914. package/lib/plus/saasAttendance/index.d.ts +6 -0
  915. package/lib/plus/saasAttendance/index.js +39 -0
  916. package/lib/plus/saasAttendance/locales.d.ts +591 -0
  917. package/lib/plus/saasAttendance/locales.js +615 -0
  918. package/lib/plus/saasAttendance/settings/BasicInfoTab.d.ts +5 -0
  919. package/lib/plus/saasAttendance/settings/BasicInfoTab.js +152 -0
  920. package/lib/plus/saasAttendance/settings/ClockInMethodTab.d.ts +8 -0
  921. package/lib/plus/saasAttendance/settings/ClockInMethodTab.js +88 -0
  922. package/lib/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +8 -0
  923. package/lib/plus/saasAttendance/settings/CorrectionPolicyTab.js +369 -0
  924. package/lib/plus/saasAttendance/settings/PermissonTab.d.ts +5 -0
  925. package/lib/plus/saasAttendance/settings/PermissonTab.js +128 -0
  926. package/lib/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +5 -0
  927. package/lib/plus/saasAttendance/settings/ShiftScheduleTab.js +107 -0
  928. package/lib/plus/saasAttendance/settings/components/MapField.d.ts +78 -0
  929. package/lib/plus/saasAttendance/settings/components/MapField.js +670 -0
  930. package/lib/plus/saasAttendance/settings/components/index.d.ts +3 -0
  931. package/lib/plus/saasAttendance/settings/components/index.js +42 -0
  932. package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +8 -0
  933. package/lib/plus/saasAttendance/settings/components/membersField/index.js +247 -0
  934. package/lib/plus/saasAttendance/settings/components/membersField/index.less +70 -0
  935. package/lib/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.d.ts +7 -0
  936. package/lib/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.js +150 -0
  937. package/lib/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.less +119 -0
  938. package/lib/plus/saasAttendance/settings/components/shiftModal/index.d.ts +18 -0
  939. package/lib/plus/saasAttendance/settings/components/shiftModal/index.js +447 -0
  940. package/lib/plus/saasAttendance/settings/index.d.ts +18 -0
  941. package/lib/plus/saasAttendance/settings/index.js +295 -0
  942. package/lib/plus/saasAttendance/settings/index.less +510 -0
  943. package/lib/plus/saasAttendance/settings/serve.d.ts +27 -0
  944. package/lib/{components/eftpos/SettlementModal → plus/saasAttendance/settings}/serve.js +25 -16
  945. package/lib/plus/saasAttendance/settings/types.d.ts +136 -0
  946. package/lib/plus/saasAttendance/settings/types.js +17 -0
  947. package/lib/plus/saasCreateOrganization/locales.d.ts +8 -0
  948. package/lib/plus/saasCreateOrganization/locales.js +8 -0
  949. package/lib/plus/saasLogin/locales.d.ts +32 -0
  950. package/lib/plus/saasLogin/locales.js +32 -0
  951. package/lib/plus/saasRegister/locales.d.ts +76 -0
  952. package/lib/plus/saasRegister/locales.js +76 -0
  953. package/lib/plus/saasRole/components/PermissionManager/index.d.ts +19 -0
  954. package/lib/plus/saasRole/components/PermissionManager/index.js +159 -0
  955. package/lib/plus/saasRole/components/PermissionManager/index.less +71 -0
  956. package/lib/plus/saasRole/index.d.ts +14 -0
  957. package/lib/plus/saasRole/index.js +780 -0
  958. package/lib/plus/saasRole/index.less +196 -0
  959. package/lib/plus/saasRole/locales.d.ts +319 -0
  960. package/lib/plus/saasRole/locales.js +345 -0
  961. package/lib/plus/saasRole/serve.d.ts +72 -0
  962. package/lib/plus/saasRole/serve.js +100 -0
  963. package/lib/plus/saasRole/types.d.ts +177 -0
  964. package/lib/plus/saasRole/types.js +17 -0
  965. package/lib/plus/saasRole/utils.d.ts +0 -0
  966. package/lib/plus/saasRole/utils.js +0 -0
  967. package/lib/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +31 -0
  968. package/lib/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.js +393 -0
  969. package/lib/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +23 -0
  970. package/lib/plus/saasTeamMembers/components/MemberDrawer/index.js +672 -0
  971. package/lib/plus/saasTeamMembers/components/MemberDrawer/index.less +178 -0
  972. package/lib/plus/saasTeamMembers/index.d.ts +5 -0
  973. package/lib/plus/saasTeamMembers/index.js +448 -0
  974. package/lib/plus/saasTeamMembers/index.less +87 -0
  975. package/lib/plus/saasTeamMembers/locales.d.ts +546 -0
  976. package/lib/plus/saasTeamMembers/locales.js +617 -0
  977. package/lib/plus/saasTeamMembers/serve.d.ts +95 -0
  978. package/lib/plus/saasTeamMembers/serve.js +132 -0
  979. package/lib/plus/saasTeamMembers/type.d.ts +158 -0
  980. package/lib/plus/saasTeamMembers/type.js +17 -0
  981. package/lib/plus/selectHolder/locales.d.ts +14 -0
  982. package/lib/plus/selectHolder/locales.js +14 -0
  983. package/lib/plus/skuOptionsSelection/components/NormalCard/index.js +11 -10
  984. package/lib/plus/skuOptionsSelection/components/OptionsCard/index.js +3 -2
  985. package/lib/plus/skuOptionsSelection/components/OptionsCard/index.less +2 -0
  986. package/lib/plus/skuOptionsSelection/index.js +2 -2
  987. package/lib/plus/skuOptionsSelection/locales.d.ts +20 -0
  988. package/lib/plus/skuOptionsSelection/locales.js +20 -0
  989. package/lib/plus/skuOptionsSelection/store/store.js +2 -1
  990. package/lib/plus/skuOptionsSelection/types.d.ts +14 -0
  991. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.js +15 -9
  992. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.js +9 -6
  993. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +9 -2
  994. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.js +7 -3
  995. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.js +8 -7
  996. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +2 -0
  997. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.js +12 -4
  998. package/lib/plus/walletEditor/locales.d.ts +88 -0
  999. package/lib/plus/walletEditor/locales.js +100 -0
  1000. package/lib/plus/walletEditor/types.d.ts +2 -0
  1001. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
  1002. package/lib/plus/walletPassGallery/components/passDetail/index.js +42 -5
  1003. package/lib/plus/walletPassGallery/components/passList/index.js +12 -5
  1004. package/lib/plus/walletPassGallery/components/recharge/index.js +7 -5
  1005. package/lib/plus/walletPassGallery/components/recharge/index.less +70 -1
  1006. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +2 -0
  1007. package/lib/plus/walletPassGallery/components/timelineSection/index.js +17 -2
  1008. package/lib/plus/walletPassGallery/index.d.ts +4 -0
  1009. package/lib/plus/walletPassGallery/index.js +116 -45
  1010. package/lib/plus/walletPassGallery/locales.d.ts +198 -0
  1011. package/lib/plus/walletPassGallery/locales.js +210 -3
  1012. package/lib/plus/walletPassGallery/serve.d.ts +3 -1
  1013. package/lib/plus/walletPassGallery/serve.js +2 -2
  1014. package/lib/plus/walletPassGallery/utils.d.ts +1 -1
  1015. package/lib/pro/Cards/components/SKUCard/index.d.ts +1 -56
  1016. package/lib/pro/Cards/components/SKUCard/index.js +59 -15
  1017. package/lib/pro/Cards/components/SKUCard/index.less +23 -2
  1018. package/lib/pro/Cards/components/SKUCard/locales.d.ts +12 -0
  1019. package/lib/pro/Cards/components/SKUCard/locales.js +35 -0
  1020. package/lib/pro/Cards/components/SKUCard/types.d.ts +73 -0
  1021. package/lib/pro/Cards/components/SKUCard/types.js +17 -0
  1022. package/lib/pro/Login2.0/Login2.js +8 -8
  1023. package/lib/pro/Login2.0/locales.d.ts +365 -0
  1024. package/lib/pro/Login2.0/locales.js +365 -0
  1025. package/lib/pro/Login2.0/shared/types.d.ts +2 -0
  1026. package/lib/pro/NumericStepper/index.d.ts +33 -3
  1027. package/lib/pro/NumericStepper/index.js +184 -88
  1028. package/lib/pro/NumericStepper/index.less +287 -143
  1029. package/lib/pro/Selector/BatchSelectorDemo.js +13 -19
  1030. package/lib/pro/Selector/Selector.js +34 -17
  1031. package/lib/pro/Selector/SelectorGroup.d.ts +1 -1
  1032. package/lib/pro/Selector/SelectorGroup.js +7 -1
  1033. package/lib/pro/Selector/components/Card/index.js +19 -8
  1034. package/lib/pro/Selector/components/Card/index.less +30 -14
  1035. package/lib/pro/Selector/components/Indicator/index.d.ts +1 -0
  1036. package/lib/pro/Selector/components/Indicator/index.js +2 -2
  1037. package/lib/pro/Selector/components/Indicator/index.less +16 -13
  1038. package/lib/pro/Selector/components/LayoutContainer/index.d.ts +5 -3
  1039. package/lib/pro/Selector/components/LayoutContainer/index.js +130 -2
  1040. package/lib/pro/Selector/components/LayoutContainer/index.less +19 -0
  1041. package/lib/pro/Selector/components/Media/index.d.ts +1 -1
  1042. package/lib/pro/Selector/components/Media/index.js +7 -4
  1043. package/lib/pro/Selector/components/Media/index.less +1 -1
  1044. package/lib/pro/Selector/demo.js +1 -1
  1045. package/lib/pro/Selector/hooks/usePresetItemProps.js +2 -0
  1046. package/lib/pro/Selector/hooks/usePresetProps.js +28 -6
  1047. package/lib/pro/Selector/locales.d.ts +22 -0
  1048. package/lib/pro/Selector/locales.js +50 -0
  1049. package/lib/pro/Selector/selector.less +0 -64
  1050. package/lib/pro/Selector/selectorGroup.less +9 -1
  1051. package/lib/pro/Selector/types.d.ts +50 -0
  1052. package/lib/pro/comprehensiveSearch/components/deviceIconGroup/index.d.ts +11 -0
  1053. package/lib/pro/comprehensiveSearch/components/deviceIconGroup/index.js +64 -0
  1054. package/lib/pro/comprehensiveSearch/components/deviceIconGroup/index.less +28 -0
  1055. package/lib/pro/comprehensiveSearch/components/index.d.ts +2 -0
  1056. package/lib/pro/comprehensiveSearch/components/index.js +42 -0
  1057. package/lib/pro/comprehensiveSearch/components/searchSection/index.d.ts +24 -0
  1058. package/lib/pro/comprehensiveSearch/components/searchSection/index.js +154 -0
  1059. package/lib/pro/comprehensiveSearch/components/searchSection/index.less +100 -0
  1060. package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
  1061. package/lib/pro/comprehensiveSearch/components/searchSection/locales.js +46 -0
  1062. package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +5 -0
  1063. package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.js +56 -0
  1064. package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +9 -0
  1065. package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.js +70 -0
  1066. package/lib/pro/comprehensiveSearch/index.d.ts +7 -0
  1067. package/lib/pro/comprehensiveSearch/index.js +190 -0
  1068. package/lib/pro/comprehensiveSearch/index.less +196 -0
  1069. package/lib/pro/comprehensiveSearch/locales.d.ts +23 -0
  1070. package/lib/pro/comprehensiveSearch/locales.js +46 -0
  1071. package/lib/pro/comprehensiveSearch/types.d.ts +32 -0
  1072. package/lib/pro/comprehensiveSearch/types.js +17 -0
  1073. package/lib/pro/keyboards/index.d.ts +2 -0
  1074. package/lib/pro/keyboards/index.js +39 -0
  1075. package/lib/pro/keyboards/locales.d.ts +38 -0
  1076. package/lib/pro/keyboards/locales.js +61 -0
  1077. package/lib/pro/keyboards/numberKeyboard/index.d.ts +16 -0
  1078. package/lib/pro/keyboards/numberKeyboard/index.js +400 -0
  1079. package/lib/pro/keyboards/numberKeyboard/index.less +59 -0
  1080. package/lib/pro/keyboards/numberKeyboard/types.d.ts +63 -0
  1081. package/lib/pro/keyboards/numberKeyboard/types.js +17 -0
  1082. package/lib/pro/numberKeyboard/locales.d.ts +6 -0
  1083. package/lib/pro/numberKeyboard/locales.js +6 -0
  1084. package/lib/pro/pisellPhoneKeyboard/index.d.ts +13 -0
  1085. package/lib/pro/pisellPhoneKeyboard/index.js +219 -0
  1086. package/lib/pro/pisellPhoneKeyboard/index.less +157 -0
  1087. package/lib/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
  1088. package/lib/pro/pisellPhoneKeyboard/locales.js +41 -0
  1089. package/lowcode/client-card/fragments/cardStyle.ts +63 -0
  1090. package/lowcode/client-card/fragments/nameStyle.ts +34 -0
  1091. package/lowcode/client-card/fragments/pisellAvatar.ts +87 -0
  1092. package/lowcode/client-card/fragments/tagConfig.ts +88 -0
  1093. package/lowcode/client-card/meta.ts +343 -0
  1094. package/lowcode/client-search/meta.ts +316 -0
  1095. package/lowcode/eco-cup-list/meta.ts +20 -56
  1096. package/lowcode/eco-customer-list/meta.ts +20 -56
  1097. package/lowcode/ecocup-cup-list/meta.ts +38 -0
  1098. package/lowcode/ecocup-cup-project/meta.ts +35 -0
  1099. package/lowcode/ecocup-customer-list/meta.ts +38 -0
  1100. package/lowcode/order-list/meta.ts +87 -0
  1101. package/lowcode/pisell-sales-management/meta.ts +88 -0
  1102. package/lowcode/saas-attendance-settings/meta.ts +56 -0
  1103. package/lowcode/saas-role/meta.ts +35 -0
  1104. package/lowcode/saas-team-members/meta.ts +35 -0
  1105. package/lowcode/selector/meta.ts +15 -2
  1106. package/lowcode/selector.group/meta.ts +15 -2
  1107. package/lowcode/sku-options-selection/meta.ts +106 -2
  1108. package/lowcode/wallet-pass-gallery/meta.ts +66 -1
  1109. package/package.json +6 -6
  1110. package/es/components/eftpos/PairModal/hooks.d.ts +0 -27
  1111. package/es/components/eftpos/PairModal/hooks.js +0 -67
  1112. package/es/components/eftpos/PairModal/index.d.ts +0 -11
  1113. package/es/components/eftpos/PairModal/index.less +0 -70
  1114. package/es/components/eftpos/SettlementModal/Action.d.ts +0 -8
  1115. package/es/components/eftpos/SettlementModal/Action.js +0 -141
  1116. package/es/components/eftpos/SettlementModal/index.d.ts +0 -8
  1117. package/es/components/eftpos/SettlementModal/index.js +0 -135
  1118. package/es/components/eftpos/SettlementModal/index.less +0 -33
  1119. package/es/components/eftpos/SettlementModal/serve.d.ts +0 -8
  1120. package/es/components/eftpos/SettlementModal/serve.js +0 -171
  1121. package/es/components/eftpos/SettlementModal/types.d.ts +0 -138
  1122. package/es/components/eftpos/SettlementModal/types.js +0 -35
  1123. package/es/components/eftpos/SettlementModal/utils.d.ts +0 -18
  1124. package/es/components/eftpos/SettlementModal/utils.js +0 -351
  1125. package/es/components/eftpos/assets/mx51SCI.svg +0 -15
  1126. package/es/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +0 -6
  1127. package/es/components/eftposPay/aggregatePayment/hooks/usePayment.js +0 -125
  1128. package/es/components/eftposPay/aggregatePayment/index.d.ts +0 -3
  1129. package/es/components/eftposPay/aggregatePayment/index.js +0 -3
  1130. package/es/components/eftposPay/aggregatePayment/mock.d.ts +0 -495
  1131. package/es/components/eftposPay/aggregatePayment/mock.js +0 -567
  1132. package/es/components/eftposPay/aggregatePayment/service.d.ts +0 -24
  1133. package/es/components/eftposPay/aggregatePayment/service.js +0 -70
  1134. package/es/components/eftposPay/aggregatePayment/types.d.ts +0 -101
  1135. package/es/components/eftposPay/aggregatePayment/types.js +0 -61
  1136. package/es/components/eftposPay/aggregatePayment/utils/logs.d.ts +0 -110
  1137. package/es/components/eftposPay/aggregatePayment/utils/logs.js +0 -385
  1138. package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +0 -132
  1139. package/es/components/eftposPay/aggregatePayment/utils/payment.js +0 -1140
  1140. package/es/components/eftposPay/mx51/Action.d.ts +0 -7
  1141. package/es/components/eftposPay/mx51/Action.js +0 -139
  1142. package/es/components/eftposPay/mx51/Result.d.ts +0 -5
  1143. package/es/components/eftposPay/mx51/Result.js +0 -46
  1144. package/es/components/eftposPay/mx51/const.d.ts +0 -5
  1145. package/es/components/eftposPay/mx51/const.js +0 -69
  1146. package/es/components/eftposPay/mx51/index.d.ts +0 -6
  1147. package/es/components/eftposPay/mx51/index.js +0 -401
  1148. package/es/components/eftposPay/mx51/types.d.ts +0 -138
  1149. package/es/components/eftposPay/mx51/types.js +0 -30
  1150. package/es/components/eftposPay/mx51/utils.d.ts +0 -10
  1151. package/es/components/eftposPay/mx51/utils.js +0 -121
  1152. package/lib/components/eftpos/PairModal/hooks.d.ts +0 -27
  1153. package/lib/components/eftpos/PairModal/hooks.js +0 -70
  1154. package/lib/components/eftpos/PairModal/index.d.ts +0 -11
  1155. package/lib/components/eftpos/PairModal/index.js +0 -197
  1156. package/lib/components/eftpos/PairModal/index.less +0 -70
  1157. package/lib/components/eftpos/SettlementModal/Action.d.ts +0 -8
  1158. package/lib/components/eftpos/SettlementModal/Action.js +0 -153
  1159. package/lib/components/eftpos/SettlementModal/index.d.ts +0 -8
  1160. package/lib/components/eftpos/SettlementModal/index.js +0 -170
  1161. package/lib/components/eftpos/SettlementModal/index.less +0 -33
  1162. package/lib/components/eftpos/SettlementModal/serve.d.ts +0 -8
  1163. package/lib/components/eftpos/SettlementModal/types.d.ts +0 -138
  1164. package/lib/components/eftpos/SettlementModal/types.js +0 -43
  1165. package/lib/components/eftpos/SettlementModal/utils.d.ts +0 -18
  1166. package/lib/components/eftpos/SettlementModal/utils.js +0 -248
  1167. package/lib/components/eftpos/assets/mx51SCI.svg +0 -15
  1168. package/lib/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +0 -6
  1169. package/lib/components/eftposPay/aggregatePayment/hooks/usePayment.js +0 -152
  1170. package/lib/components/eftposPay/aggregatePayment/index.d.ts +0 -3
  1171. package/lib/components/eftposPay/aggregatePayment/mock.d.ts +0 -495
  1172. package/lib/components/eftposPay/aggregatePayment/mock.js +0 -679
  1173. package/lib/components/eftposPay/aggregatePayment/service.d.ts +0 -24
  1174. package/lib/components/eftposPay/aggregatePayment/service.js +0 -81
  1175. package/lib/components/eftposPay/aggregatePayment/types.d.ts +0 -101
  1176. package/lib/components/eftposPay/aggregatePayment/types.js +0 -74
  1177. package/lib/components/eftposPay/aggregatePayment/utils/logs.d.ts +0 -110
  1178. package/lib/components/eftposPay/aggregatePayment/utils/logs.js +0 -302
  1179. package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +0 -132
  1180. package/lib/components/eftposPay/aggregatePayment/utils/payment.js +0 -755
  1181. package/lib/components/eftposPay/mx51/Action.d.ts +0 -7
  1182. package/lib/components/eftposPay/mx51/Action.js +0 -152
  1183. package/lib/components/eftposPay/mx51/Result.d.ts +0 -5
  1184. package/lib/components/eftposPay/mx51/const.d.ts +0 -5
  1185. package/lib/components/eftposPay/mx51/const.js +0 -85
  1186. package/lib/components/eftposPay/mx51/index.d.ts +0 -6
  1187. package/lib/components/eftposPay/mx51/index.js +0 -360
  1188. package/lib/components/eftposPay/mx51/types.d.ts +0 -138
  1189. package/lib/components/eftposPay/mx51/utils.d.ts +0 -10
  1190. package/lib/components/eftposPay/mx51/utils.js +0 -115
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- /**
3
- * @title 渲染动态内容
4
- * @description 用于渲染从接口解析出来的元素
5
- */
6
- declare const Action: (props: any) => React.JSX.Element;
7
- export default Action;
@@ -1,152 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
-
29
- // src/components/eftposPay/mx51/Action.tsx
30
- var Action_exports = {};
31
- __export(Action_exports, {
32
- default: () => Action_default
33
- });
34
- module.exports = __toCommonJS(Action_exports);
35
- var import_react = __toESM(require("react"));
36
- var import_antd = require("antd");
37
- var Action = (props) => {
38
- var _a, _b;
39
- const { data, showMessage = true } = props;
40
- const [inputValues, setInputValues] = (0, import_react.useState)({});
41
- const inputValuesRef = (0, import_react.useRef)(inputValues);
42
- (0, import_react.useEffect)(() => {
43
- var _a2;
44
- if (!data) return;
45
- const inputObj = {};
46
- (_a2 = data == null ? void 0 : data.layouts) == null ? void 0 : _a2.forEach((item) => {
47
- var _a3;
48
- (_a3 = item == null ? void 0 : item.elements) == null ? void 0 : _a3.forEach((element) => {
49
- if ((element == null ? void 0 : element.type) === "input" && (element == null ? void 0 : element.name)) {
50
- inputObj[element == null ? void 0 : element.name] = inputValuesRef.current[element == null ? void 0 : element.name] || "";
51
- }
52
- });
53
- });
54
- setInputValues(inputObj);
55
- }, [data]);
56
- (0, import_react.useEffect)(() => {
57
- inputValuesRef.current = inputValues;
58
- }, [inputValues]);
59
- const handleInputChange = (key, value) => {
60
- setInputValues((prev) => ({ ...prev, [key]: value }));
61
- };
62
- return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, showMessage && (data == null ? void 0 : data.message) && /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__eft-pay-step-item pisell-lowcode__eft-pay-step-item-tip" }, data == null ? void 0 : data.message), ((_a = data == null ? void 0 : data.layouts) == null ? void 0 : _a.length) > 0 && ((_b = data == null ? void 0 : data.layouts) == null ? void 0 : _b.map((item, index) => {
63
- var _a2;
64
- return /* @__PURE__ */ import_react.default.createElement(
65
- "div",
66
- {
67
- key: index,
68
- className: "pisell-lowcode__eft-pay-step-item-btns",
69
- style: {
70
- marginTop: "20px",
71
- width: "100%",
72
- display: "flex",
73
- justifyContent: "center"
74
- }
75
- },
76
- (_a2 = item == null ? void 0 : item.elements) == null ? void 0 : _a2.map((element) => {
77
- const { key, label, type, text, name } = element;
78
- if (type === "button") {
79
- return /* @__PURE__ */ import_react.default.createElement(
80
- import_antd.Button,
81
- {
82
- key: key + label,
83
- block: true,
84
- className: "pisell-lowcode__eft-pay-step-item-btn",
85
- onClick: () => {
86
- var _a3;
87
- return (_a3 = props == null ? void 0 : props.onClick) == null ? void 0 : _a3.call(props, element, { inputValues });
88
- }
89
- },
90
- element.label
91
- );
92
- } else if (type === "text") {
93
- return /* @__PURE__ */ import_react.default.createElement(
94
- "div",
95
- {
96
- key: key + label,
97
- className: "pisell-lowcode__eft-pay-step-item-tip"
98
- },
99
- label ? `${label}: ` : "",
100
- text || ""
101
- );
102
- } else if (type === "image") {
103
- const { name: name2, data: data2, encoding } = (element == null ? void 0 : element.image) || {};
104
- const imageUrl = data2 ? `data:${name2 || "image/png"};${encoding || "base64"},${data2}` : "";
105
- return /* @__PURE__ */ import_react.default.createElement(
106
- "div",
107
- {
108
- style: {
109
- width: "100%",
110
- display: "flex",
111
- justifyContent: "center"
112
- }
113
- },
114
- /* @__PURE__ */ import_react.default.createElement("img", { key: key + label, src: imageUrl, alt: label })
115
- );
116
- } else if (type === "input") {
117
- return /* @__PURE__ */ import_react.default.createElement(
118
- "div",
119
- {
120
- style: {
121
- width: "100%",
122
- display: "flex",
123
- alignItems: "center",
124
- flexWrap: "wrap"
125
- }
126
- },
127
- /* @__PURE__ */ import_react.default.createElement("span", { style: { marginRight: "10px" } }, `${label ? `${label} ` : ""}`),
128
- /* @__PURE__ */ import_react.default.createElement(
129
- import_antd.Input,
130
- {
131
- key: key + label,
132
- alt: label,
133
- style: { flex: 1, minWidth: "200px" },
134
- value: inputValues[name] || "",
135
- onChange: (e) => handleInputChange(name, e.target.value)
136
- }
137
- )
138
- );
139
- }
140
- return null;
141
- })
142
- );
143
- })), (data == null ? void 0 : data.detailsText) && /* @__PURE__ */ import_react.default.createElement(
144
- "div",
145
- {
146
- className: "pisell-lowcode__eft-pay-step-item pisell-lowcode__eft-pay-step-item-tip",
147
- style: { marginTop: "24px" }
148
- },
149
- data == null ? void 0 : data.detailsText
150
- ));
151
- };
152
- var Action_default = Action;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- declare const Result: (props: {
3
- onClick: (type: 'yes' | 'no') => void;
4
- }) => React.JSX.Element;
5
- export default Result;
@@ -1,5 +0,0 @@
1
- import { State } from '../store';
2
- import { ModeEnum } from '../const';
3
- export declare const getStep: (mode?: ModeEnum) => State['steps'];
4
- declare const _default: (params: any) => State;
5
- export default _default;
@@ -1,85 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
-
19
- // src/components/eftposPay/mx51/const.ts
20
- var const_exports = {};
21
- __export(const_exports, {
22
- default: () => const_default,
23
- getStep: () => getStep
24
- });
25
- module.exports = __toCommonJS(const_exports);
26
- var import_utils = require("@pisell/utils");
27
- var import_const = require("../const");
28
- var getStep = (mode = import_const.ModeEnum.Pay) => [
29
- {
30
- key: Date.now(),
31
- title: import_utils.locales.getText("page.eftpos-pay.text.loading")(mode),
32
- // 'Payment in process...',
33
- text: import_utils.locales.getText("page.eftpos-pay.text.waiting.processing"),
34
- // 'Waiting for the processing...',
35
- warn: "",
36
- tip: import_utils.locales.getText("page.eftpos-pay.text.processing"),
37
- // 'processing...',
38
- status: import_const.StatusEnum.Loading
39
- }
40
- ];
41
- var const_default = (params) => {
42
- const {
43
- order_id,
44
- name,
45
- symbol,
46
- amount,
47
- mode,
48
- number,
49
- pay,
50
- device,
51
- net,
52
- client,
53
- ...other
54
- } = params || {
55
- mode: import_const.ModeEnum.Pay
56
- };
57
- console.log("params =>>>>>> ", params);
58
- return {
59
- order_id,
60
- name,
61
- symbol,
62
- amount,
63
- mode,
64
- eftpos: import_const.EftposEnum.MX51,
65
- key: Date.now(),
66
- step: 0,
67
- type: import_const.PayRouteEnum.Step,
68
- title: import_utils.locales.getText("page.eftpos-pay.text.loading")(mode),
69
- component: "",
70
- status: import_const.StatusEnum.Loading,
71
- steps: getStep(mode),
72
- render: true,
73
- client: client !== "undefined" ? client : import_const.ClientEnum.Merchant,
74
- warn: "",
75
- custom: other || {},
76
- ...typeof net !== "undefined" ? { net } : {},
77
- ...typeof number !== "undefined" ? { number } : {},
78
- ...typeof pay !== "undefined" ? { pay } : {},
79
- ...typeof device !== "undefined" ? { device } : {}
80
- };
81
- };
82
- // Annotate the CommonJS export names for ESM import in node:
83
- 0 && (module.exports = {
84
- getStep
85
- });
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- interface AggregatePaymentProps {
3
- onChange: (status: string, params: any) => void;
4
- }
5
- declare const AggregatePayment: React.FC<AggregatePaymentProps>;
6
- export default AggregatePayment;
@@ -1,360 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
-
29
- // src/components/eftposPay/mx51/index.tsx
30
- var mx51_exports = {};
31
- __export(mx51_exports, {
32
- default: () => mx51_default
33
- });
34
- module.exports = __toCommonJS(mx51_exports);
35
- var import_react = __toESM(require("react"));
36
- var import_utils = require("@pisell/utils");
37
- var import_materials = require("@pisell/materials");
38
- var import_useEngineContext = __toESM(require("../../../hooks/useEngineContext"));
39
- var import_utils2 = require("../../../utils");
40
- var import_store = require("../store");
41
- var import_const = require("../const");
42
- var import_hooks = require("../hooks");
43
- var import_aggregatePayment = require("../aggregatePayment");
44
- var import_types = require("../aggregatePayment/types");
45
- var import_utils3 = require("./utils");
46
- var import_types2 = require("./types");
47
- var import_Action = __toESM(require("./Action"));
48
- var import_store2 = require("../store");
49
- var import_hooks2 = require("../hooks");
50
- var import_manufacturer = require("../manufacturer");
51
- var import_helper = require("../helper");
52
- var import_Result = __toESM(require("./Result"));
53
- var AggregatePayment = ({ onChange }) => {
54
- const context = (0, import_useEngineContext.default)();
55
- const utils = context.appHelper.utils || {};
56
- import_utils2.request.setRequest(utils == null ? void 0 : utils.request);
57
- const {
58
- title,
59
- custom,
60
- status,
61
- eftpos,
62
- mode,
63
- name,
64
- symbol,
65
- amount,
66
- order_id
67
- } = (0, import_store.useContextData)();
68
- const {
69
- statusRef,
70
- numRef,
71
- netRef,
72
- modeRef,
73
- deviceRef,
74
- orderIdRef,
75
- amountRef,
76
- payRef
77
- } = (0, import_hooks.useStoreRef)();
78
- const dispatch = (0, import_store2.useDispatch)();
79
- const fail = (0, import_hooks2.useFail)(0);
80
- const failRef = (0, import_react.useRef)(fail);
81
- const [receiptModalShow, setReceiptModalShow] = (0, import_react.useState)(false);
82
- const [receiptModalData, setReceiptModalData] = (0, import_react.useState)(null);
83
- (0, import_react.useEffect)(() => {
84
- failRef.current = fail;
85
- }, [fail]);
86
- const initRef = (0, import_react.useRef)(false);
87
- const unloadRef = (0, import_react.useRef)(false);
88
- const updateToLoading = (title2) => {
89
- dispatch((0, import_store2.updateStatus)(import_const.StatusEnum.Loading));
90
- dispatch(
91
- (0, import_store2.updateState)({
92
- title: title2 || import_utils.locales.getText("page.eftpos-pay.text.loading")(modeRef.current)
93
- })
94
- );
95
- };
96
- const payment = (0, import_aggregatePayment.usePayment)({
97
- paymentCode: "EFTPOS_MX51",
98
- paymentNum: numRef.current || "",
99
- shouldContinue: () => !(unloadRef.current || !netRef.current),
100
- config: {
101
- hasQueryInterval: false
102
- // 不开启轮询间隔
103
- },
104
- callback: (_instance, response) => {
105
- var _a, _b, _c;
106
- console.log("callback =>>>>>> ", response);
107
- const { status: status2, data } = response || {};
108
- const { transaction, action } = ((_a = data == null ? void 0 : data.data) == null ? void 0 : _a.external_unified_response) || {};
109
- const transformedData = (0, import_utils3.parseMX51Params)(transaction, status2, data);
110
- console.log("event_transformedData =>>>>>> ", transformedData);
111
- dispatch((0, import_store2.updateCustom)({ customAction: transformedData }));
112
- if (status2 === import_types.EPaymentStatus.Processing) {
113
- if (action === "signature") {
114
- dispatch((0, import_store2.updateStatus)(import_const.StatusEnum.Question));
115
- dispatch((0, import_store2.updateState)({ title: (transformedData == null ? void 0 : transformedData.message) || "" }));
116
- _instance.stop();
117
- if ((_b = transformedData == null ? void 0 : transformedData.autoAction) == null ? void 0 : _b.includes("PRINT_MERCHANT_RECEIPT")) {
118
- const merchantReceipt = (transformedData == null ? void 0 : transformedData.merchantReceipt) || "";
119
- onChange("print", merchantReceipt ? [merchantReceipt] : []);
120
- }
121
- } else {
122
- updateToLoading();
123
- }
124
- } else if (status2 === import_types.EPaymentStatus.Success) {
125
- dispatch((0, import_store2.updateStatus)("success"));
126
- dispatch((0, import_store2.updateState)({ title: (transformedData == null ? void 0 : transformedData.message) || "" }));
127
- } else if (status2 === import_types.EPaymentStatus.Failed) {
128
- if (transformedData) {
129
- dispatch((0, import_store2.updateStatus)("fail"));
130
- dispatch((0, import_store2.updateState)({ title: (transformedData == null ? void 0 : transformedData.message) || "" }));
131
- } else {
132
- const markCode = [
133
- import_const.PayStatus.UnknownMx51,
134
- import_const.PayStatus.Timeout
135
- ];
136
- if (!(data == null ? void 0 : data.code) || markCode.includes(data == null ? void 0 : data.code)) {
137
- dispatch((0, import_store2.updateStatus)(import_const.StatusEnum.Warn));
138
- dispatch((0, import_store2.updateState)({ title: "" }));
139
- } else {
140
- (_c = failRef.current) == null ? void 0 : _c.call(failRef, data, false);
141
- }
142
- }
143
- }
144
- }
145
- });
146
- (0, import_react.useEffect)(() => {
147
- console.log("mx51页面初始化", statusRef.current);
148
- if (statusRef.current === import_const.StatusEnum.Success || statusRef.current === import_const.StatusEnum.Fail || statusRef.current === import_const.StatusEnum.Question) {
149
- return;
150
- }
151
- if (initRef.current) {
152
- return;
153
- }
154
- initRef.current = true;
155
- if (numRef.current) {
156
- console.log("payment.query");
157
- payment.query();
158
- return;
159
- }
160
- payment.run();
161
- }, []);
162
- (0, import_react.useEffect)(() => {
163
- return () => {
164
- console.log("页面卸载");
165
- unloadRef.current = true;
166
- };
167
- }, []);
168
- const onCancel = (element) => {
169
- console.log("onCancel", element);
170
- payment.action({ submit_url: element == null ? void 0 : element.submitUrl });
171
- };
172
- const onDecline = (element) => {
173
- console.log("onDecline", element);
174
- updateToLoading();
175
- payment.action({ submit_url: element == null ? void 0 : element.submitUrl });
176
- };
177
- const onAccept = (element) => {
178
- console.log("onAccept", element);
179
- updateToLoading();
180
- payment.action({ submit_url: element == null ? void 0 : element.submitUrl });
181
- };
182
- const onPrintMerchantReceipt = (element) => {
183
- console.log("onPrintMerchantReceipt", element);
184
- onChange("print", (element == null ? void 0 : element.receipt) ? [element == null ? void 0 : element.receipt] : []);
185
- setReceiptModalShow(true);
186
- setReceiptModalData(element == null ? void 0 : element.receipt);
187
- };
188
- const onPrintCustomerReceipt = (element) => {
189
- console.log("onPrintCustomerReceipt", element);
190
- onChange("print", (element == null ? void 0 : element.receipt) ? [element == null ? void 0 : element.receipt] : []);
191
- setReceiptModalShow(true);
192
- setReceiptModalData(element == null ? void 0 : element.receipt);
193
- };
194
- const onRetry = (element) => {
195
- console.log("onRetry", element);
196
- onChange("page", "pay");
197
- const _params = {
198
- ...custom || {},
199
- // 自定义参数需要重新传递
200
- mode,
201
- name,
202
- symbol,
203
- amount,
204
- order_id,
205
- number: ""
206
- };
207
- dispatch((0, import_store2.updateState)((0, import_manufacturer.getInitState)(eftpos, _params)));
208
- };
209
- const onTransactionComplete = (element) => {
210
- var _a, _b, _c;
211
- console.log("onTransactionComplete", element);
212
- const { paymentStatus, response, merchantReceipt, customerReceipt } = element._extra || {};
213
- if (paymentStatus === import_types.EPaymentStatus.Success) {
214
- const receipt = [];
215
- const card_reader_surcharge = ((_b = (_a = response == null ? void 0 : response.data) == null ? void 0 : _a.external_unified_response) == null ? void 0 : _b.external_service_fee) || 0;
216
- const deviceSetting = (_c = deviceRef.current) == null ? void 0 : _c.setting;
217
- const isEftposPrintMerchantReceipt = deviceSetting == null ? void 0 : deviceSetting.print_merchant_receipt;
218
- const isEftposPrintCustomerReceipt = deviceSetting == null ? void 0 : deviceSetting.prompt_customer_receipt;
219
- if (!isEftposPrintMerchantReceipt && merchantReceipt) {
220
- receipt.push(merchantReceipt);
221
- }
222
- if (!isEftposPrintCustomerReceipt && customerReceipt) {
223
- receipt.push(customerReceipt);
224
- }
225
- const params = (0, import_helper.getPayParams)(
226
- {
227
- mode: modeRef.current,
228
- amount: amountRef.current,
229
- order_id: orderIdRef.current,
230
- number: numRef.current,
231
- device: deviceRef.current,
232
- pay: payRef.current,
233
- custom: {
234
- card_reader_surcharge,
235
- receipt
236
- }
237
- },
238
- "success"
239
- );
240
- onChange("success", { ...params, receipt });
241
- } else {
242
- onChange("fail", {
243
- order_id: orderIdRef.current,
244
- number: numRef.current,
245
- uniquePaymentNumber: numRef.current,
246
- device: deviceRef.current
247
- });
248
- }
249
- };
250
- const onSubmitToAPI = (element, extra) => {
251
- updateToLoading();
252
- const inputValues = (extra == null ? void 0 : extra.inputValues) || {};
253
- payment.action(
254
- { submit_url: element == null ? void 0 : element.submitUrl, payload: { ...inputValues } },
255
- { needResponse: true }
256
- );
257
- };
258
- const onNormalClick = (element, config) => {
259
- if (element == null ? void 0 : element.submitUrl) {
260
- console.log("onNormalClick_submit_url", element == null ? void 0 : element.submitUrl);
261
- updateToLoading();
262
- payment.action({ submit_url: element == null ? void 0 : element.submitUrl }, config);
263
- } else {
264
- console.log("onNormalClick_no_submit_url", element);
265
- }
266
- };
267
- const onElementClick = (element, extra) => {
268
- console.log("onElementClick", element, extra);
269
- switch (element.key) {
270
- case import_types2.EButtonKeyType.CancelTransaction:
271
- onCancel(element);
272
- break;
273
- case import_types2.EButtonKeyType.DeclineSignature:
274
- onDecline(element);
275
- break;
276
- case import_types2.EButtonKeyType.ApproveSignature:
277
- onAccept(element);
278
- break;
279
- case import_types2.EButtonKeyType.PrintMerchantReceipt:
280
- onPrintMerchantReceipt(element);
281
- break;
282
- case import_types2.EButtonKeyType.PrintCustomerReceipt:
283
- onPrintCustomerReceipt(element);
284
- break;
285
- case import_types2.EButtonKeyType.RetryTransaction:
286
- onRetry(element);
287
- break;
288
- case import_types2.EButtonKeyType.TransactionComplete:
289
- onTransactionComplete(element);
290
- break;
291
- case import_types2.EButtonKeyType.SubmitToAPI:
292
- onSubmitToAPI(element, extra);
293
- break;
294
- case import_types2.EButtonKeyType.CallTestFunction:
295
- (0, import_materials.PisellToast)({ content: "Test" });
296
- break;
297
- default:
298
- onNormalClick(element);
299
- break;
300
- }
301
- };
302
- const onCloseReceiptModal = () => {
303
- setReceiptModalShow(false);
304
- setReceiptModalData(null);
305
- };
306
- const onResultClick = (type) => {
307
- console.log("onResultClick", type);
308
- updateToLoading(
309
- import_utils.locales.getText("page.eftpos-pay.text.mx51.result.loading")
310
- );
311
- payment.query();
312
- };
313
- return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__eft-pay-body" }, status === import_const.StatusEnum.Warn ? /* @__PURE__ */ import_react.default.createElement(import_Result.default, { onClick: onResultClick }) : /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, status === import_const.StatusEnum.Question ? /* @__PURE__ */ import_react.default.createElement(
314
- "div",
315
- {
316
- className: "pisell-lowcode__eft-pay-title",
317
- style: { textAlign: "center" }
318
- },
319
- title
320
- ) : null, /* @__PURE__ */ import_react.default.createElement(
321
- import_Action.default,
322
- {
323
- data: custom == null ? void 0 : custom.customAction,
324
- showMessage: status === import_const.StatusEnum.Loading,
325
- onClick: onElementClick
326
- }
327
- ))), receiptModalShow ? /* @__PURE__ */ import_react.default.createElement(
328
- import_materials.PisellModal,
329
- {
330
- open: receiptModalShow,
331
- onCancel: onCloseReceiptModal,
332
- maskClosable: true,
333
- footer: null
334
- },
335
- /* @__PURE__ */ import_react.default.createElement(
336
- "div",
337
- {
338
- style: {
339
- padding: "16px",
340
- display: "flex",
341
- alignItems: "center",
342
- justifyContent: "center"
343
- }
344
- },
345
- /* @__PURE__ */ import_react.default.createElement(
346
- "span",
347
- {
348
- style: {
349
- display: "inline-block",
350
- whiteSpace: "pre-wrap",
351
- fontFamily: "monospace",
352
- backgroundColor: "#fff"
353
- }
354
- },
355
- receiptModalData
356
- )
357
- )
358
- ) : null);
359
- };
360
- var mx51_default = AggregatePayment;