@pisell/private-materials 6.6.39 → 6.6.41

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 (486) 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/meta.js +2 -2
  5. package/build/lowcode/render/default/view.css +1 -1
  6. package/build/lowcode/render/default/view.js +1 -1
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +1 -1
  9. package/es/components/booking/info2/service/editService/index.js +25 -0
  10. package/es/components/booking/utils.d.ts +2 -2
  11. package/es/components/ticketBooking/utils/index.d.ts +2 -1
  12. package/es/components/ticketBooking/utils/index.js +3 -2
  13. package/es/plus/clientCard/index.js +6 -4
  14. package/es/plus/clientCard/index.less +6 -2
  15. package/es/plus/clientCard/types.d.ts +1 -0
  16. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
  17. package/es/plus/walletPassGallery/components/passDetail/index.js +82 -40
  18. package/es/plus/walletPassGallery/components/passList/index.js +12 -4
  19. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +3 -0
  20. package/es/plus/walletPassGallery/components/timelineSection/index.js +20 -2
  21. package/es/plus/walletPassGallery/index.d.ts +4 -0
  22. package/es/plus/walletPassGallery/index.js +95 -46
  23. package/es/plus/walletPassGallery/serve.d.ts +11 -1
  24. package/es/plus/walletPassGallery/serve.js +85 -59
  25. package/lib/components/booking/info2/service/editService/index.js +25 -7
  26. package/lib/components/booking/utils.d.ts +2 -2
  27. package/lib/components/ticketBooking/utils/index.d.ts +2 -1
  28. package/lib/components/ticketBooking/utils/index.js +3 -2
  29. package/lib/plus/clientCard/index.js +5 -4
  30. package/lib/plus/clientCard/index.less +6 -2
  31. package/lib/plus/clientCard/types.d.ts +1 -0
  32. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
  33. package/lib/plus/walletPassGallery/components/passDetail/index.js +65 -10
  34. package/lib/plus/walletPassGallery/components/passList/index.js +12 -5
  35. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +3 -0
  36. package/lib/plus/walletPassGallery/components/timelineSection/index.js +17 -2
  37. package/lib/plus/walletPassGallery/index.d.ts +4 -0
  38. package/lib/plus/walletPassGallery/index.js +116 -45
  39. package/lib/plus/walletPassGallery/serve.d.ts +11 -1
  40. package/lib/plus/walletPassGallery/serve.js +25 -12
  41. package/lowcode/client-card/meta.ts +9 -3
  42. package/lowcode/client-search/meta.ts +316 -0
  43. package/lowcode/wallet-pass-gallery/meta.ts +66 -1
  44. package/package.json +3 -3
  45. package/es/components/Sales/Cart/utils.d.ts +0 -63
  46. package/es/components/Sales/Checkout/utils.d.ts +0 -41
  47. package/es/components/Sales/Summary/index.d.ts +0 -35
  48. package/es/components/Sales/Summary/utils.d.ts +0 -51
  49. package/es/components/appointmentBooking/locales.d.ts +0 -603
  50. package/es/components/booking/components/voucher/utils.d.ts +0 -5
  51. package/es/components/booking/dashboard/serve.d.ts +0 -2
  52. package/es/components/booking/editBookingModal/utils.d.ts +0 -12
  53. package/es/components/booking/forms/serve.d.ts +0 -18
  54. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  55. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -7
  56. package/es/components/booking/info/client/serve.d.ts +0 -2
  57. package/es/components/booking/info/hooks/useHolderConfig.d.ts +0 -10
  58. package/es/components/booking/info/index.d.ts +0 -4
  59. package/es/components/booking/info/pet/serve.d.ts +0 -1
  60. package/es/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
  61. package/es/components/booking/info/service/editService/constants.d.ts +0 -1
  62. package/es/components/booking/info/service/serve.d.ts +0 -34
  63. package/es/components/booking/info2/cartClientCard/locales.d.ts +0 -33
  64. package/es/components/booking/info2/serve.d.ts +0 -6
  65. package/es/components/booking/locales.d.ts +0 -1619
  66. package/es/components/checkout/PaymentProvider.d.ts +0 -13
  67. package/es/components/checkout/components/AdditionalModule/locales.d.ts +0 -58
  68. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +0 -85
  69. package/es/components/checkout/components/PaymentResultToast/index.d.ts +0 -9
  70. package/es/components/checkout/components/PaymentResultToast/types.d.ts +0 -59
  71. package/es/components/checkout/components/PaymentResultToast/utils.d.ts +0 -44
  72. package/es/components/checkout/components/ScrollableList/index.d.ts +0 -5
  73. package/es/components/checkout/components/ScrollableList/types.d.ts +0 -53
  74. package/es/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +0 -11
  75. package/es/components/checkout/components/WalletPassModule/components/DiscountWallet/DiscountTextMode.d.ts +0 -7
  76. package/es/components/checkout/components/WalletPassModule/components/WalletPassTextMode/index.d.ts +0 -5
  77. package/es/components/checkout/components/WalletPassModule/types.d.ts +0 -134
  78. package/es/components/checkout/constants.d.ts +0 -2
  79. package/es/components/checkout/export.d.ts +0 -9
  80. package/es/components/checkout/hooks/usePaymentLogger.d.ts +0 -2
  81. package/es/components/checkout/index.d.ts +0 -5
  82. package/es/components/checkout/locales.d.ts +0 -853
  83. package/es/components/checkout/styles.d.ts +0 -67
  84. package/es/components/checkout/types.d.ts +0 -130
  85. package/es/components/checkout/utils.d.ts +0 -3
  86. package/es/components/eftpos/const.d.ts +0 -64
  87. package/es/components/eftpos/hooks.d.ts +0 -33
  88. package/es/components/eftpos/locales.d.ts +0 -163
  89. package/es/components/eftposPay/EFTPos.d.ts +0 -14
  90. package/es/components/eftposPay/aggregatePayment/index.d.ts +0 -3
  91. package/es/components/eftposPay/aggregatePayment/service.d.ts +0 -24
  92. package/es/components/eftposPay/aggregatePayment/types.d.ts +0 -106
  93. package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +0 -139
  94. package/es/components/eftposPay/const.d.ts +0 -195
  95. package/es/components/eftposPay/huifu/hooks.d.ts +0 -25
  96. package/es/components/eftposPay/huifu/types.d.ts +0 -14
  97. package/es/components/eftposPay/locales.d.ts +0 -608
  98. package/es/components/eftposPay/manufacturer.d.ts +0 -8
  99. package/es/components/eftposPay/serve.d.ts +0 -16
  100. package/es/components/eftposPay/store/index.d.ts +0 -362
  101. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -3
  102. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -11
  103. package/es/components/list/List.d.ts +0 -5
  104. package/es/components/list/ResponsiveWrapper.d.ts +0 -16
  105. package/es/components/list/TestResponsiveWrapper.d.ts +0 -8
  106. package/es/components/list/components/EmptyState/EmptyState.d.ts +0 -20
  107. package/es/components/list/components/EmptyState/index.d.ts +0 -2
  108. package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +0 -13
  109. package/es/components/list/components/ListItemSkeleton/index.d.ts +0 -2
  110. package/es/components/list/components/Pagination/Pagination.d.ts +0 -30
  111. package/es/components/list/components/Pagination/index.d.ts +0 -1
  112. package/es/components/list/components/ScrollLoader/ScrollLoader.d.ts +0 -18
  113. package/es/components/list/components/ScrollLoader/index.d.ts +0 -2
  114. package/es/components/list/components/Tab/Tab.d.ts +0 -5
  115. package/es/components/list/components/Tab/index.d.ts +0 -2
  116. package/es/components/list/components/Tab/types.d.ts +0 -14
  117. package/es/components/list/components/TabSkeleton/TabSkeleton.d.ts +0 -11
  118. package/es/components/list/components/TabSkeleton/index.d.ts +0 -2
  119. package/es/components/list/components/WaterfallList/WaterfallList.d.ts +0 -33
  120. package/es/components/list/components/WaterfallList/index.d.ts +0 -2
  121. package/es/components/list/examples/GroupedListExample.d.ts +0 -3
  122. package/es/components/list/hooks/index.d.ts +0 -5
  123. package/es/components/list/hooks/useDevice.d.ts +0 -24
  124. package/es/components/list/hooks/useListState.d.ts +0 -43
  125. package/es/components/list/hooks/useWaterfall.d.ts +0 -34
  126. package/es/components/list/index.d.ts +0 -10
  127. package/es/components/list/locales.d.ts +0 -108
  128. package/es/components/list/types.d.ts +0 -177
  129. package/es/components/list/utils/getText.d.ts +0 -53
  130. package/es/components/list/utils/index.d.ts +0 -4
  131. package/es/components/pay/toB/components/CardGroup/index.d.ts +0 -8
  132. package/es/components/pay/toB/components/Content/index.d.ts +0 -4
  133. package/es/components/pay/toB/components/Content/utils.d.ts +0 -16
  134. package/es/components/pay/toB/components/EFTPOS/index.d.ts +0 -8
  135. package/es/components/pay/toB/components/index.d.ts +0 -5
  136. package/es/components/pay/toB/hooks.d.ts +0 -12
  137. package/es/components/pay/toB/locales.d.ts +0 -88
  138. package/es/components/pay/toB/paymentMethods/index.d.ts +0 -11
  139. package/es/components/pay/toB/store/context.d.ts +0 -3
  140. package/es/components/pay/toB/store/index.d.ts +0 -3
  141. package/es/components/pay/toB/store/provider.d.ts +0 -4
  142. package/es/components/pay/toB/types/index.d.ts +0 -61
  143. package/es/components/pay/toB/types/storeTypes.d.ts +0 -143
  144. package/es/components/pay/toC/PaymentList/utils.d.ts +0 -36
  145. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +0 -2
  146. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +0 -2
  147. package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +0 -2
  148. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +0 -2
  149. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -7
  150. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -3
  151. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -3
  152. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -4
  153. package/es/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +0 -2
  154. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +0 -2
  155. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +0 -2
  156. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -155
  157. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -3
  158. package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +0 -3
  159. package/es/components/pisellSelectCustomerModal/locales.d.ts +0 -133
  160. package/es/components/productSelect/components/pisellPriceText/index.d.ts +0 -11
  161. package/es/components/ruleSetting/locales.d.ts +0 -78
  162. package/es/components/schedules/locales.d.ts +0 -143
  163. package/es/components/shoppingCart/Provider.d.ts +0 -3
  164. package/es/components/shoppingCart/locales.d.ts +0 -58
  165. package/es/components/shoppingCart/mock.d.ts +0 -40
  166. package/es/components/shoppingCart/type.d.ts +0 -50
  167. package/es/components/shoppingCart/utils.d.ts +0 -63
  168. package/es/components/subTotal/locales.d.ts +0 -68
  169. package/es/components/systemSettings/registry/locales.d.ts +0 -456
  170. package/es/components/systemSettings/registry/services.d.ts +0 -77
  171. package/es/components/systemSettings/registry/types.d.ts +0 -128
  172. package/es/components/taxSelect/locales.d.ts +0 -38
  173. package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +0 -27
  174. package/es/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +0 -7
  175. package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
  176. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -9
  177. package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +0 -7
  178. package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
  179. package/es/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.d.ts +0 -14
  180. package/es/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
  181. package/es/components/ticketBooking/components/floatButtons/index.d.ts +0 -11
  182. package/es/components/ticketBooking/context/IsActiveContext.d.ts +0 -26
  183. package/es/components/ticketBooking/context/OsKeyContext.d.ts +0 -26
  184. package/es/components/ticketBooking/context/index.d.ts +0 -2
  185. package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +0 -21
  186. package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -12
  187. package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +0 -6
  188. package/es/components/ticketBooking/locales.d.ts +0 -328
  189. package/es/components/ticketBooking/serve.d.ts +0 -288
  190. package/es/components/ticketBooking/utils/productCache.d.ts +0 -75
  191. package/es/components/walletList/serve.d.ts +0 -43
  192. package/es/components/workSpaceList/components/AppearanceEdit/IconPanel.d.ts +0 -11
  193. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
  194. package/es/components/workSpaceList/components/Card/constants.d.ts +0 -2
  195. package/es/components/workSpaceList/components/SearchBar/index.d.ts +0 -17
  196. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -4
  197. package/es/components/workSpaceList/components/Sort/index.d.ts +0 -7
  198. package/es/components/workSpaceList/components/WorkspaceItem/index.d.ts +0 -22
  199. package/es/hooks/index.d.ts +0 -10
  200. package/es/hooks/useEngineContext.d.ts +0 -3
  201. package/es/hooks/useLocale.d.ts +0 -2
  202. package/es/hooks/useLogger.d.ts +0 -2
  203. package/es/hooks/useModal.d.ts +0 -35
  204. package/es/hooks/useModal.example.d.ts +0 -12
  205. package/es/hooks/useModal.integration.example.d.ts +0 -15
  206. package/es/hooks/useToast.d.ts +0 -2
  207. package/es/hooks/useWindowSize.d.ts +0 -5
  208. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
  209. package/es/plus/noteModal/locales.d.ts +0 -53
  210. package/es/plus/noteModal/types.d.ts +0 -19
  211. package/es/plus/productSelect/CategoryTabs/index.d.ts +0 -20
  212. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -4
  213. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -4
  214. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -4
  215. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -4
  216. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -4
  217. package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -8
  218. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
  219. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -5
  220. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +0 -6
  221. package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -7
  222. package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +0 -7
  223. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +0 -6
  224. package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -7
  225. package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -7
  226. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +0 -6
  227. package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +0 -7
  228. package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -7
  229. package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -4
  230. package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -9
  231. package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -68
  232. package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -164
  233. package/es/plus/productSelect/ProductCard/SkuCard/type.d.ts +0 -298
  234. package/es/plus/productSelect/ProductCard/SkuCard/utils.d.ts +0 -9
  235. package/es/plus/productSelect/ProductList/gridComponents.d.ts +0 -44
  236. package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
  237. package/es/plus/productSelect/components/pisellPriceText/index.d.ts +0 -14
  238. package/es/plus/saasAttendance/locales.d.ts +0 -528
  239. package/es/plus/saasAttendance/settings/types.d.ts +0 -130
  240. package/es/plus/selectHolder/locales.d.ts +0 -38
  241. package/es/pro/Login2.0/locales.d.ts +0 -903
  242. package/es/pro/Login2.0/shared/types.d.ts +0 -234
  243. package/es/pro/NumberKeyboardPopover/index.d.ts +0 -36
  244. package/es/pro/NumberKeyboardPopover/types.d.ts +0 -31
  245. package/es/pro/multiDayTimeSelect/index.d.ts +0 -3
  246. package/es/pro/multiDayTimeSelect/types.d.ts +0 -28
  247. package/es/pro/pisellNumberSelector/example.d.ts +0 -3
  248. package/es/pro/pisellPriceKeyboardModal/index.d.ts +0 -2
  249. package/es/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
  250. package/es/pro/pisellPriceKeyboardPopover/index.d.ts +0 -2
  251. package/es/pro/pisellPriceKeyboardPopover/types.d.ts +0 -33
  252. package/es/pro/pisellPriceRadio/index.d.ts +0 -26
  253. package/es/pro/pisellSimplePriceKeyboardPopover/index.d.ts +0 -2
  254. package/es/pro/pisellSimplePriceKeyboardPopover/types.d.ts +0 -33
  255. package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +0 -63
  256. package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +0 -98
  257. package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +0 -68
  258. package/es/pro/priceKeyboard/components/discountKeyboard/types.d.ts +0 -17
  259. package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +0 -73
  260. package/es/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +0 -39
  261. package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +0 -18
  262. package/es/pro/priceKeyboard/hooks/rightItems.d.ts +0 -28
  263. package/es/pro/priceKeyboard/index.d.ts +0 -3
  264. package/es/pro/skuDetailModal/locales.d.ts +0 -78
  265. package/es/pro/skuDetailModal/types.d.ts +0 -352
  266. package/lib/components/Sales/Cart/utils.d.ts +0 -63
  267. package/lib/components/Sales/Checkout/utils.d.ts +0 -41
  268. package/lib/components/Sales/Summary/index.d.ts +0 -35
  269. package/lib/components/Sales/Summary/utils.d.ts +0 -51
  270. package/lib/components/appointmentBooking/locales.d.ts +0 -603
  271. package/lib/components/booking/components/voucher/utils.d.ts +0 -5
  272. package/lib/components/booking/dashboard/serve.d.ts +0 -2
  273. package/lib/components/booking/editBookingModal/utils.d.ts +0 -12
  274. package/lib/components/booking/forms/serve.d.ts +0 -18
  275. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  276. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -7
  277. package/lib/components/booking/info/client/serve.d.ts +0 -2
  278. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +0 -10
  279. package/lib/components/booking/info/index.d.ts +0 -4
  280. package/lib/components/booking/info/pet/serve.d.ts +0 -1
  281. package/lib/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
  282. package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
  283. package/lib/components/booking/info/service/serve.d.ts +0 -34
  284. package/lib/components/booking/info2/cartClientCard/locales.d.ts +0 -33
  285. package/lib/components/booking/info2/serve.d.ts +0 -6
  286. package/lib/components/booking/locales.d.ts +0 -1619
  287. package/lib/components/checkout/PaymentProvider.d.ts +0 -13
  288. package/lib/components/checkout/components/AdditionalModule/locales.d.ts +0 -58
  289. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +0 -85
  290. package/lib/components/checkout/components/PaymentResultToast/index.d.ts +0 -9
  291. package/lib/components/checkout/components/PaymentResultToast/types.d.ts +0 -59
  292. package/lib/components/checkout/components/PaymentResultToast/utils.d.ts +0 -44
  293. package/lib/components/checkout/components/ScrollableList/index.d.ts +0 -5
  294. package/lib/components/checkout/components/ScrollableList/types.d.ts +0 -53
  295. package/lib/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +0 -11
  296. package/lib/components/checkout/components/WalletPassModule/components/DiscountWallet/DiscountTextMode.d.ts +0 -7
  297. package/lib/components/checkout/components/WalletPassModule/components/WalletPassTextMode/index.d.ts +0 -5
  298. package/lib/components/checkout/components/WalletPassModule/types.d.ts +0 -134
  299. package/lib/components/checkout/constants.d.ts +0 -2
  300. package/lib/components/checkout/export.d.ts +0 -9
  301. package/lib/components/checkout/hooks/usePaymentLogger.d.ts +0 -2
  302. package/lib/components/checkout/index.d.ts +0 -5
  303. package/lib/components/checkout/locales.d.ts +0 -853
  304. package/lib/components/checkout/styles.d.ts +0 -67
  305. package/lib/components/checkout/types.d.ts +0 -130
  306. package/lib/components/checkout/utils.d.ts +0 -3
  307. package/lib/components/eftpos/const.d.ts +0 -64
  308. package/lib/components/eftpos/hooks.d.ts +0 -33
  309. package/lib/components/eftpos/locales.d.ts +0 -163
  310. package/lib/components/eftposPay/EFTPos.d.ts +0 -14
  311. package/lib/components/eftposPay/aggregatePayment/index.d.ts +0 -3
  312. package/lib/components/eftposPay/aggregatePayment/service.d.ts +0 -24
  313. package/lib/components/eftposPay/aggregatePayment/types.d.ts +0 -106
  314. package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +0 -139
  315. package/lib/components/eftposPay/const.d.ts +0 -195
  316. package/lib/components/eftposPay/huifu/hooks.d.ts +0 -25
  317. package/lib/components/eftposPay/huifu/types.d.ts +0 -14
  318. package/lib/components/eftposPay/locales.d.ts +0 -608
  319. package/lib/components/eftposPay/manufacturer.d.ts +0 -8
  320. package/lib/components/eftposPay/serve.d.ts +0 -16
  321. package/lib/components/eftposPay/store/index.d.ts +0 -362
  322. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -3
  323. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -11
  324. package/lib/components/list/List.d.ts +0 -5
  325. package/lib/components/list/ResponsiveWrapper.d.ts +0 -16
  326. package/lib/components/list/TestResponsiveWrapper.d.ts +0 -8
  327. package/lib/components/list/components/EmptyState/EmptyState.d.ts +0 -20
  328. package/lib/components/list/components/EmptyState/index.d.ts +0 -2
  329. package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +0 -13
  330. package/lib/components/list/components/ListItemSkeleton/index.d.ts +0 -2
  331. package/lib/components/list/components/Pagination/Pagination.d.ts +0 -30
  332. package/lib/components/list/components/Pagination/index.d.ts +0 -1
  333. package/lib/components/list/components/ScrollLoader/ScrollLoader.d.ts +0 -18
  334. package/lib/components/list/components/ScrollLoader/index.d.ts +0 -2
  335. package/lib/components/list/components/Tab/Tab.d.ts +0 -5
  336. package/lib/components/list/components/Tab/index.d.ts +0 -2
  337. package/lib/components/list/components/Tab/types.d.ts +0 -14
  338. package/lib/components/list/components/TabSkeleton/TabSkeleton.d.ts +0 -11
  339. package/lib/components/list/components/TabSkeleton/index.d.ts +0 -2
  340. package/lib/components/list/components/WaterfallList/WaterfallList.d.ts +0 -33
  341. package/lib/components/list/components/WaterfallList/index.d.ts +0 -2
  342. package/lib/components/list/examples/GroupedListExample.d.ts +0 -3
  343. package/lib/components/list/hooks/index.d.ts +0 -5
  344. package/lib/components/list/hooks/useDevice.d.ts +0 -24
  345. package/lib/components/list/hooks/useListState.d.ts +0 -43
  346. package/lib/components/list/hooks/useWaterfall.d.ts +0 -34
  347. package/lib/components/list/index.d.ts +0 -10
  348. package/lib/components/list/locales.d.ts +0 -108
  349. package/lib/components/list/types.d.ts +0 -177
  350. package/lib/components/list/utils/getText.d.ts +0 -53
  351. package/lib/components/list/utils/index.d.ts +0 -4
  352. package/lib/components/pay/toB/components/CardGroup/index.d.ts +0 -8
  353. package/lib/components/pay/toB/components/Content/index.d.ts +0 -4
  354. package/lib/components/pay/toB/components/Content/utils.d.ts +0 -16
  355. package/lib/components/pay/toB/components/EFTPOS/index.d.ts +0 -8
  356. package/lib/components/pay/toB/components/index.d.ts +0 -5
  357. package/lib/components/pay/toB/hooks.d.ts +0 -12
  358. package/lib/components/pay/toB/locales.d.ts +0 -88
  359. package/lib/components/pay/toB/paymentMethods/index.d.ts +0 -11
  360. package/lib/components/pay/toB/store/context.d.ts +0 -3
  361. package/lib/components/pay/toB/store/index.d.ts +0 -3
  362. package/lib/components/pay/toB/store/provider.d.ts +0 -4
  363. package/lib/components/pay/toB/types/index.d.ts +0 -61
  364. package/lib/components/pay/toB/types/storeTypes.d.ts +0 -143
  365. package/lib/components/pay/toC/PaymentList/utils.d.ts +0 -36
  366. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +0 -2
  367. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +0 -2
  368. package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +0 -2
  369. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +0 -2
  370. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -7
  371. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -3
  372. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -3
  373. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -4
  374. package/lib/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +0 -2
  375. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +0 -2
  376. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +0 -2
  377. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -155
  378. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -3
  379. package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +0 -3
  380. package/lib/components/pisellSelectCustomerModal/locales.d.ts +0 -133
  381. package/lib/components/productSelect/components/pisellPriceText/index.d.ts +0 -11
  382. package/lib/components/ruleSetting/locales.d.ts +0 -78
  383. package/lib/components/schedules/locales.d.ts +0 -143
  384. package/lib/components/shoppingCart/Provider.d.ts +0 -3
  385. package/lib/components/shoppingCart/locales.d.ts +0 -58
  386. package/lib/components/shoppingCart/mock.d.ts +0 -40
  387. package/lib/components/shoppingCart/type.d.ts +0 -50
  388. package/lib/components/shoppingCart/utils.d.ts +0 -63
  389. package/lib/components/subTotal/locales.d.ts +0 -68
  390. package/lib/components/systemSettings/registry/locales.d.ts +0 -456
  391. package/lib/components/systemSettings/registry/services.d.ts +0 -77
  392. package/lib/components/systemSettings/registry/types.d.ts +0 -128
  393. package/lib/components/taxSelect/locales.d.ts +0 -38
  394. package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +0 -27
  395. package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +0 -7
  396. package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
  397. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -9
  398. package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +0 -7
  399. package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
  400. package/lib/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.d.ts +0 -14
  401. package/lib/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
  402. package/lib/components/ticketBooking/components/floatButtons/index.d.ts +0 -11
  403. package/lib/components/ticketBooking/context/IsActiveContext.d.ts +0 -26
  404. package/lib/components/ticketBooking/context/OsKeyContext.d.ts +0 -26
  405. package/lib/components/ticketBooking/context/index.d.ts +0 -2
  406. package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +0 -21
  407. package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -12
  408. package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +0 -6
  409. package/lib/components/ticketBooking/locales.d.ts +0 -328
  410. package/lib/components/ticketBooking/serve.d.ts +0 -288
  411. package/lib/components/ticketBooking/utils/productCache.d.ts +0 -75
  412. package/lib/components/walletList/serve.d.ts +0 -43
  413. package/lib/components/workSpaceList/components/AppearanceEdit/IconPanel.d.ts +0 -11
  414. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
  415. package/lib/components/workSpaceList/components/Card/constants.d.ts +0 -2
  416. package/lib/components/workSpaceList/components/SearchBar/index.d.ts +0 -17
  417. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -4
  418. package/lib/components/workSpaceList/components/Sort/index.d.ts +0 -7
  419. package/lib/components/workSpaceList/components/WorkspaceItem/index.d.ts +0 -22
  420. package/lib/hooks/index.d.ts +0 -10
  421. package/lib/hooks/useEngineContext.d.ts +0 -3
  422. package/lib/hooks/useLocale.d.ts +0 -2
  423. package/lib/hooks/useLogger.d.ts +0 -2
  424. package/lib/hooks/useModal.d.ts +0 -35
  425. package/lib/hooks/useModal.example.d.ts +0 -12
  426. package/lib/hooks/useModal.integration.example.d.ts +0 -15
  427. package/lib/hooks/useToast.d.ts +0 -2
  428. package/lib/hooks/useWindowSize.d.ts +0 -5
  429. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
  430. package/lib/plus/noteModal/locales.d.ts +0 -53
  431. package/lib/plus/noteModal/types.d.ts +0 -19
  432. package/lib/plus/productSelect/CategoryTabs/index.d.ts +0 -20
  433. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -4
  434. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -4
  435. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -4
  436. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -4
  437. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -4
  438. package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -8
  439. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
  440. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -5
  441. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +0 -6
  442. package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -7
  443. package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +0 -7
  444. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +0 -6
  445. package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -7
  446. package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -7
  447. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +0 -6
  448. package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +0 -7
  449. package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -7
  450. package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -4
  451. package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -9
  452. package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -68
  453. package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -164
  454. package/lib/plus/productSelect/ProductCard/SkuCard/type.d.ts +0 -298
  455. package/lib/plus/productSelect/ProductCard/SkuCard/utils.d.ts +0 -9
  456. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +0 -44
  457. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
  458. package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +0 -14
  459. package/lib/plus/saasAttendance/locales.d.ts +0 -528
  460. package/lib/plus/saasAttendance/settings/types.d.ts +0 -130
  461. package/lib/plus/selectHolder/locales.d.ts +0 -38
  462. package/lib/pro/Login2.0/locales.d.ts +0 -903
  463. package/lib/pro/Login2.0/shared/types.d.ts +0 -234
  464. package/lib/pro/NumberKeyboardPopover/index.d.ts +0 -36
  465. package/lib/pro/NumberKeyboardPopover/types.d.ts +0 -31
  466. package/lib/pro/multiDayTimeSelect/index.d.ts +0 -3
  467. package/lib/pro/multiDayTimeSelect/types.d.ts +0 -28
  468. package/lib/pro/pisellNumberSelector/example.d.ts +0 -3
  469. package/lib/pro/pisellPriceKeyboardModal/index.d.ts +0 -2
  470. package/lib/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
  471. package/lib/pro/pisellPriceKeyboardPopover/index.d.ts +0 -2
  472. package/lib/pro/pisellPriceKeyboardPopover/types.d.ts +0 -33
  473. package/lib/pro/pisellPriceRadio/index.d.ts +0 -26
  474. package/lib/pro/pisellSimplePriceKeyboardPopover/index.d.ts +0 -2
  475. package/lib/pro/pisellSimplePriceKeyboardPopover/types.d.ts +0 -33
  476. package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +0 -63
  477. package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +0 -98
  478. package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +0 -68
  479. package/lib/pro/priceKeyboard/components/discountKeyboard/types.d.ts +0 -17
  480. package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +0 -73
  481. package/lib/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +0 -39
  482. package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +0 -18
  483. package/lib/pro/priceKeyboard/hooks/rightItems.d.ts +0 -28
  484. package/lib/pro/priceKeyboard/index.d.ts +0 -3
  485. package/lib/pro/skuDetailModal/locales.d.ts +0 -78
  486. package/lib/pro/skuDetailModal/types.d.ts +0 -352
@@ -1,67 +0,0 @@
1
- export declare const checkoutStyles: {
2
- readonly container: {
3
- readonly display: "flex";
4
- readonly flexDirection: "column";
5
- readonly minHeight: 0;
6
- readonly overflowY: "auto";
7
- readonly maxHeight: "90%";
8
- };
9
- readonly walletPassSearchRow: {
10
- readonly display: "flex";
11
- readonly gap: 8;
12
- };
13
- readonly moduleBase: {
14
- readonly backgroundColor: "#ff4d4f";
15
- readonly borderRadius: "8px";
16
- readonly padding: "16px";
17
- readonly marginBottom: "12px";
18
- readonly color: "white";
19
- readonly transition: "all 0.3s ease";
20
- };
21
- readonly moduleTitle: {
22
- readonly fontSize: "16px";
23
- readonly fontWeight: "500";
24
- readonly color: "#4096ff";
25
- readonly marginBottom: "8px";
26
- };
27
- readonly moduleDescription: {
28
- readonly fontSize: "12px";
29
- readonly opacity: 0.8;
30
- readonly marginBottom: "8px";
31
- };
32
- readonly button: {
33
- readonly backgroundColor: "rgba(255,255,255,0.2)";
34
- readonly border: "1px solid rgba(255,255,255,0.3)";
35
- readonly borderRadius: "4px";
36
- readonly color: "white";
37
- readonly padding: "6px 12px";
38
- readonly fontSize: "12px";
39
- readonly cursor: "pointer";
40
- readonly transition: "background-color 0.2s ease";
41
- };
42
- readonly buttonHover: {
43
- readonly backgroundColor: "rgba(255,255,255,0.3)";
44
- };
45
- readonly statusButton: {
46
- readonly backgroundColor: "#ff4d4f";
47
- readonly color: "white";
48
- readonly border: "none";
49
- readonly borderRadius: "4px";
50
- readonly padding: "8px 16px";
51
- readonly cursor: "pointer";
52
- readonly fontSize: "14px";
53
- readonly transition: "background-color 0.2s ease";
54
- };
55
- readonly amountDisplay: {
56
- readonly fontSize: "24px";
57
- readonly fontWeight: "bold";
58
- readonly marginBottom: "8px";
59
- readonly textAlign: "center";
60
- };
61
- };
62
- export declare const calculateModalHeight: (moduleConfig: {
63
- showWalletPass?: boolean;
64
- showCashPayment?: boolean;
65
- showAdditionalModule?: boolean;
66
- showPaymentOptions?: boolean;
67
- }) => number;
@@ -1,130 +0,0 @@
1
- /// <reference types="react" />
2
- export interface CurrentOrderInfo {
3
- /** 订单UUID */
4
- uuid?: string;
5
- /** 订单ID */
6
- orderId?: string;
7
- /** 订单状态 */
8
- status?: string;
9
- /** 当前步骤 */
10
- step?: string;
11
- /** 订单总金额 */
12
- totalAmount?: string;
13
- /** 待付金额 */
14
- remainingAmount?: string;
15
- /** 支付状态 */
16
- paymentStatus?: string;
17
- /** 是否为定金订单 */
18
- isDeposit?: boolean;
19
- /** 定金金额 */
20
- depositAmount?: string;
21
- /** 订单类型 */
22
- orderType?: 'virtual' | 'appointment_booking';
23
- /** 平台类型 */
24
- platform?: 'pc' | 'h5';
25
- /** 创建时间 */
26
- createdAt?: string;
27
- /** 商品数量 */
28
- itemCount?: number;
29
- /** 是否有本地订单数据 */
30
- hasLocalOrderData?: boolean;
31
- }
32
- export interface PaymentData {
33
- orderId?: string | number;
34
- totalAmount?: number;
35
- currency?: string;
36
- customerId?: string | number;
37
- customerName?: string;
38
- description?: string;
39
- items?: PaymentItem[];
40
- }
41
- export interface PaymentItem {
42
- id: string | number;
43
- name: string;
44
- quantity: number;
45
- price: number;
46
- total: number;
47
- }
48
- export interface ModuleConfig {
49
- showWalletPass?: boolean;
50
- showCashPayment?: boolean;
51
- showAdditionalModule?: boolean;
52
- showPaymentOptions?: boolean;
53
- }
54
- export interface StatusConfig {
55
- leftStatus?: string;
56
- rightStatus?: string;
57
- }
58
- export interface PaymentResult {
59
- type: 'cash' | 'walletpass' | 'etfpos' | 'custom' | 'mx51';
60
- amount?: number;
61
- status: 'success' | 'failed' | 'cancelled' | 'pending';
62
- orderId?: string | number;
63
- transactionId?: string;
64
- message?: string;
65
- timestamp?: number;
66
- roundingAmount?: number;
67
- }
68
- export interface CheckoutCallbacks {
69
- onPaymentComplete?: (result: PaymentResult) => void;
70
- onPaymentCancel?: () => void;
71
- onStatusChange?: (status: string) => void;
72
- }
73
- export interface CheckoutProps {
74
- paymentData?: PaymentData;
75
- moduleConfig?: ModuleConfig;
76
- statusConfig?: StatusConfig;
77
- cashAmountButtons?: number[];
78
- onPaymentComplete?: (result: PaymentResult) => void;
79
- onPaymentCancel?: () => void;
80
- onStatusChange?: (status: string) => void;
81
- }
82
- export interface StatusSectionProps {
83
- config?: StatusConfig;
84
- onStatusChange?: (status: string) => void;
85
- }
86
- export interface AmountSummaryProps {
87
- orderInfo?: CurrentOrderInfo;
88
- open_deposit?: boolean;
89
- customAmount?: string;
90
- onAmountChange?: (amount: string) => void;
91
- }
92
- export interface WalletPassModuleProps {
93
- orderInfo?: CurrentOrderInfo;
94
- }
95
- export interface CashPaymentModuleProps {
96
- orderInfo?: CurrentOrderInfo;
97
- onPaymentComplete?: (result: PaymentResult) => void;
98
- amountButtons?: number[];
99
- }
100
- export interface PaymentOptionsModuleProps {
101
- orderInfo?: CurrentOrderInfo;
102
- onClick?: (method: PaymentMethod) => void;
103
- }
104
- export interface AdditionalModuleProps {
105
- orderInfo?: CurrentOrderInfo;
106
- customAmount?: string;
107
- handleButtonClick: (key: string) => void;
108
- hasOrderNote?: boolean;
109
- }
110
- export interface PaymentMethod {
111
- id: string;
112
- name: string;
113
- nameEn?: string;
114
- surcharge: string;
115
- surchargeAmount?: number;
116
- icon?: string;
117
- iconComponent?: React.ReactNode;
118
- color?: string;
119
- enabled?: boolean;
120
- code: string;
121
- type: string;
122
- fixed?: number;
123
- percentage?: number;
124
- totalAmount?: string;
125
- }
126
- export interface PaymentMethodSelection {
127
- method: PaymentMethod;
128
- amount: number;
129
- totalWithSurcharge: number;
130
- }
@@ -1,3 +0,0 @@
1
- import { PaymentMethod } from './types';
2
- export declare const getShopWalletPassId: (interaction: any) => Promise<string | null>;
3
- export declare const reorderPaymentMethodList: (paymentMethodList: PaymentMethod[], interaction: any) => Promise<PaymentMethod[]>;
@@ -1,64 +0,0 @@
1
- export declare enum Eftpos {
2
- Payo = "payo",
3
- Tyro = "tyro",
4
- Windcave = "windcave",
5
- Stripe = "stripe"
6
- }
7
- export declare enum DeviceEnum {
8
- /** 新增 */
9
- Add = "add",
10
- /** 编辑 */
11
- Edit = "edit",
12
- /** 重新链接 */
13
- Repair = "repair"
14
- }
15
- export declare type DeviceStatus = `${DeviceEnum}`;
16
- /** 设备配置信息 */
17
- export interface DeviceProp {
18
- /** 设备id */
19
- id?: string | number;
20
- /** 设备名称 */
21
- name: string;
22
- /** 设备类型(厂商) */
23
- type: Eftpos.Tyro;
24
- /** 设备状态 */
25
- status: "unpaired" | "paired";
26
- /** 设备设置(商户配置) */
27
- setting: {
28
- [key: string]: unknown;
29
- } | null;
30
- /** 设备设置(第三方配置) */
31
- connection: {
32
- [key: string]: unknown;
33
- } | null;
34
- [key: string]: unknown;
35
- }
36
- /**
37
- * @title: 获取表单结果数据
38
- * @description: 获取表单结果数据
39
- * @param {any} list 表单配置信息
40
- * @return {*} 表单结果信息
41
- * @Author: hongbing.wang
42
- * @Date: 2024-08-19 11:10
43
- */
44
- export declare const getDefaultValue: (list: any) => any;
45
- /**
46
- * @title: 构建通用表单配置信息,构建动态表单
47
- * @description:
48
- * @param {any} field : array 字段信息 value 结果信息,name 上级字段信息用于嵌套, getComm : 获取字段组件配置信息
49
- * @return form 表单配置信息
50
- * @Author: hongbing.wang
51
- * @Date: 2024-08-19 11:11
52
- */
53
- export declare function getCommByFields({ field, value, name, getComm, }: {
54
- field: (string | {
55
- name: string;
56
- children: string[];
57
- })[];
58
- value?: any;
59
- name?: string[];
60
- getComm: (params: {
61
- field: string;
62
- value?: unknown;
63
- }, record?: any) => any;
64
- }): Promise<any>;
@@ -1,33 +0,0 @@
1
- import { Eftpos } from './const';
2
- /**
3
- * @title: tyro 设备连接
4
- * @Author: hongbing.wang
5
- * @Date: 2024-08-20 13:23
6
- */
7
- export declare const usePairTerminalo: (type: Eftpos, params: {
8
- url?: string;
9
- version?: string;
10
- }) => ({ mid, tid, apiKey, posProductData, }: {
11
- mid: string;
12
- tid: string;
13
- apiKey: string;
14
- posProductData: {
15
- posProductVendor: string;
16
- posProductName: string;
17
- posProductVersion: string;
18
- siteReference: string;
19
- };
20
- }, cb: (...agrn: unknown[]) => void) => Promise<void>;
21
- /**
22
- * @title: 获取 Tyro 资源
23
- * @description:
24
- * @param {Eftpos} type 类型
25
- * @param {string} url 链接
26
- * @return {*}
27
- * @Author: hongbing.wang
28
- * @Date: 2024-08-19 18:36
29
- */
30
- export declare const useTyro: (params: {
31
- url?: string;
32
- version?: string;
33
- }) => readonly [import("react").MutableRefObject<any>, boolean];
@@ -1,163 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'page.eftpos.text.manufacturer': string;
4
- 'page.eftpos.text.description': string;
5
- 'page.eftpos.text.status': string;
6
- 'page.eftpos.text.operation': string;
7
- 'page.eftpos.text.device': string;
8
- 'page.eftpos.text.device.add': (status?: string, name?: string) => string;
9
- 'page.eftpos.text.device.list': string;
10
- 'page.eftpos.text.device.name': string;
11
- 'page.eftpos.text.sucahrge': string;
12
- 'page.eftpos.text.paired': string;
13
- 'page.eftpos.text.unpaired': string;
14
- 'page.eftpos.text.repair': string;
15
- 'page.eftpos.text.edit': string;
16
- 'page.eftpos.text.delete': string;
17
- 'page.eftpos.text.save': string;
18
- 'page.eftpos.text.confim.delete': string;
19
- 'page.eftpos.text.confirm_delete-message': (x: string) => string;
20
- 'page.eftpos.text.confim.cancel': string;
21
- 'page.eftpos.text.table.name': string;
22
- 'page.eftpos.text.table.status': string;
23
- 'page.eftpos.text.table.surcharge': string;
24
- 'page.eftpos.text.table.opeartion': string;
25
- 'page.eftpos.text.table.del.title': string;
26
- 'page.eftpos.text.table.del.text': string;
27
- 'page.eftpos.text.table.del.delete': string;
28
- 'page.eftpos.text.table.del.cancel': string;
29
- 'page.eftpos.text.log': string;
30
- 'page.eftpos.text.setting': string;
31
- 'page.eftpos.text.setting.tip': string;
32
- 'page.eftpos.text.setting.btn': string;
33
- };
34
- 'zh-CN': {
35
- 'page.eftpos.text.manufacturer': string;
36
- 'page.eftpos.text.description': string;
37
- 'page.eftpos.text.status': string;
38
- 'page.eftpos.text.operation': string;
39
- 'page.eftpos.text.device': string;
40
- 'page.eftpos.text.device.add': (status?: string, name?: string) => string;
41
- 'page.eftpos.text.device.list': string;
42
- 'page.eftpos.text.device.name': string;
43
- 'page.eftpos.text.sucahrge': string;
44
- 'page.eftpos.text.paired': string;
45
- 'page.eftpos.text.unpaired': string;
46
- 'page.eftpos.text.repair': string;
47
- 'page.eftpos.text.edit': string;
48
- 'page.eftpos.text.delete': string;
49
- 'page.eftpos.text.save': string;
50
- 'page.eftpos.text.confim.delete': string;
51
- 'page.eftpos.text.confirm_delete-message': (x: string) => string;
52
- 'page.eftpos.text.confim.cancel': string;
53
- 'page.eftpos.text.table.name': string;
54
- 'page.eftpos.text.table.status': string;
55
- 'page.eftpos.text.table.surcharge': string;
56
- 'page.eftpos.text.table.opeartion': string;
57
- 'page.eftpos.text.table.del.title': string;
58
- 'page.eftpos.text.table.del.text': string;
59
- 'page.eftpos.text.table.del.delete': string;
60
- 'page.eftpos.text.table.del.cancel': string;
61
- 'page.eftpos.text.log': string;
62
- 'page.eftpos.text.setting': string;
63
- 'page.eftpos.text.setting.tip': string;
64
- 'page.eftpos.text.setting.btn': string;
65
- };
66
- 'zh-HK': {
67
- 'page.eftpos.text.manufacturer': string;
68
- 'page.eftpos.text.description': string;
69
- 'page.eftpos.text.status': string;
70
- 'page.eftpos.text.operation': string;
71
- 'page.eftpos.text.device': string;
72
- 'page.eftpos.text.device.add': (status?: string, name?: string) => string;
73
- 'page.eftpos.text.device.list': string;
74
- 'page.eftpos.text.device.name': string;
75
- 'page.eftpos.text.sucahrge': string;
76
- 'page.eftpos.text.paired': string;
77
- 'page.eftpos.text.unpaired': string;
78
- 'page.eftpos.text.repair': string;
79
- 'page.eftpos.text.edit': string;
80
- 'page.eftpos.text.delete': string;
81
- 'page.eftpos.text.save': string;
82
- 'page.eftpos.text.confim.delete': string;
83
- 'page.eftpos.text.confirm_delete-message': (x: string) => string;
84
- 'page.eftpos.text.confim.cancel': string;
85
- 'page.eftpos.text.table.name': string;
86
- 'page.eftpos.text.table.status': string;
87
- 'page.eftpos.text.table.surcharge': string;
88
- 'page.eftpos.text.table.opeartion': string;
89
- 'page.eftpos.text.table.del.title': string;
90
- 'page.eftpos.text.table.del.text': string;
91
- 'page.eftpos.text.table.del.delete': string;
92
- 'page.eftpos.text.table.del.cancel': string;
93
- 'page.eftpos.text.log': string;
94
- 'page.eftpos.text.setting': string;
95
- 'page.eftpos.text.setting.tip': string;
96
- 'page.eftpos.text.setting.btn': string;
97
- };
98
- ja: {
99
- 'page.eftpos.text.manufacturer': string;
100
- 'page.eftpos.text.description': string;
101
- 'page.eftpos.text.status': string;
102
- 'page.eftpos.text.operation': string;
103
- 'page.eftpos.text.device': string;
104
- 'page.eftpos.text.device.add': (status?: string, name?: string) => string;
105
- 'page.eftpos.text.device.list': string;
106
- 'page.eftpos.text.device.name': string;
107
- 'page.eftpos.text.sucahrge': string;
108
- 'page.eftpos.text.paired': string;
109
- 'page.eftpos.text.unpaired': string;
110
- 'page.eftpos.text.repair': string;
111
- 'page.eftpos.text.edit': string;
112
- 'page.eftpos.text.delete': string;
113
- 'page.eftpos.text.save': string;
114
- 'page.eftpos.text.confim.delete': string;
115
- 'page.eftpos.text.confirm_delete-message': (x: string) => string;
116
- 'page.eftpos.text.confim.cancel': string;
117
- 'page.eftpos.text.table.name': string;
118
- 'page.eftpos.text.table.status': string;
119
- 'page.eftpos.text.table.surcharge': string;
120
- 'page.eftpos.text.table.opeartion': string;
121
- 'page.eftpos.text.table.del.title': string;
122
- 'page.eftpos.text.table.del.text': string;
123
- 'page.eftpos.text.table.del.delete': string;
124
- 'page.eftpos.text.table.del.cancel': string;
125
- 'page.eftpos.text.log': string;
126
- 'page.eftpos.text.setting': string;
127
- 'page.eftpos.text.setting.tip': string;
128
- 'page.eftpos.text.setting.btn': string;
129
- };
130
- pt: {
131
- 'page.eftpos.text.manufacturer': string;
132
- 'page.eftpos.text.description': string;
133
- 'page.eftpos.text.status': string;
134
- 'page.eftpos.text.operation': string;
135
- 'page.eftpos.text.device': string;
136
- 'page.eftpos.text.device.add': (status?: string, name?: string) => string;
137
- 'page.eftpos.text.device.list': string;
138
- 'page.eftpos.text.device.name': string;
139
- 'page.eftpos.text.sucahrge': string;
140
- 'page.eftpos.text.paired': string;
141
- 'page.eftpos.text.unpaired': string;
142
- 'page.eftpos.text.repair': string;
143
- 'page.eftpos.text.edit': string;
144
- 'page.eftpos.text.delete': string;
145
- 'page.eftpos.text.save': string;
146
- 'page.eftpos.text.confim.delete': string;
147
- 'page.eftpos.text.confirm_delete-message': (x: string) => string;
148
- 'page.eftpos.text.confim.cancel': string;
149
- 'page.eftpos.text.table.name': string;
150
- 'page.eftpos.text.table.status': string;
151
- 'page.eftpos.text.table.surcharge': string;
152
- 'page.eftpos.text.table.opeartion': string;
153
- 'page.eftpos.text.table.del.title': string;
154
- 'page.eftpos.text.table.del.text': string;
155
- 'page.eftpos.text.table.del.delete': string;
156
- 'page.eftpos.text.table.del.cancel': string;
157
- 'page.eftpos.text.log': string;
158
- 'page.eftpos.text.setting': string;
159
- 'page.eftpos.text.setting.tip': string;
160
- 'page.eftpos.text.setting.btn': string;
161
- };
162
- };
163
- export default _default;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- declare const _default: React.ForwardRefExoticComponent<{
3
- onEftposLoad?: ((status: boolean) => void) | undefined;
4
- onPayResult?: ((res: {
5
- status: string;
6
- params: any;
7
- }) => void) | undefined;
8
- styles?: {
9
- [key: string]: React.CSSProperties | undefined;
10
- deviceContainer?: React.CSSProperties | undefined;
11
- } | undefined;
12
- isWebPos?: boolean | undefined;
13
- } & React.RefAttributes<unknown>>;
14
- export default _default;
@@ -1,3 +0,0 @@
1
- import { EActionStatus } from './types';
2
- import useMicropay from './hooks/useMicropay';
3
- export { useMicropay, EActionStatus };
@@ -1,24 +0,0 @@
1
- /**
2
- * 聚合支付-支付接口
3
- */
4
- export declare const AGPTPayApi: (data: any, config: any) => Promise<any>;
5
- /**
6
- * 聚合支付-支付-查询接口
7
- */
8
- export declare const AGPTQueryApi: (param: any, config: any) => Promise<any>;
9
- /**
10
- * 聚合支付-支付-支付行为接口
11
- */
12
- export declare const AGPTActionApi: (param: any, config: any) => Promise<any>;
13
- /**
14
- * 聚合支付-退款接口
15
- */
16
- export declare const AGPTRefundApi: (data: any, config: any) => Promise<any>;
17
- /**
18
- * 聚合支付-退款-查询接口
19
- */
20
- export declare const AGPTRefundQueryApi: (param: any, config: any) => Promise<any>;
21
- /**
22
- * 聚合支付-退款-支付行为接口
23
- */
24
- export declare const AGPTRefundActionApi: (param: any, config: any) => Promise<any>;
@@ -1,106 +0,0 @@
1
- import PaymentMethod from './utils/payment';
2
- export declare enum EVisibleButtonType {
3
- /** 取消按钮 */
4
- CancelButton = "CancelButton",
5
- /** 等待按钮 */
6
- WaitButton = "WaitButton"
7
- }
8
- export declare enum EActionStatus {
9
- /** 空 */
10
- Empty = "Empty",
11
- /** 取消 */
12
- Cancel = "Cancel",
13
- /** 取消中 */
14
- CancelWaiting = "CancelWaiting",
15
- /** 签名 */
16
- Signature = "Signature",
17
- /** 签名等待中 */
18
- SignatureWaiting = "SignatureWaiting"
19
- }
20
- export declare const QUERY_START_DELAY: number;
21
- export declare const GLOBAL_TIMEOUT: number;
22
- export declare const REQUEST_TIMEOUT: number;
23
- export declare const QUERY_INTERVAL: number;
24
- /**
25
- * 聚合支付初始化参数
26
- */
27
- export interface PaymentMethodOptions {
28
- /** 支付类型 */
29
- paymentCode: string;
30
- /** 交易号 */
31
- paymentNum: string;
32
- /** 订单ID */
33
- orderId?: string | number;
34
- /** 设备ID */
35
- deviceId?: string | number;
36
- /** 统一回调函数 */
37
- callback: PaymentCallback;
38
- /** 检查是否应该继续处理结果 */
39
- shouldContinue?: () => boolean;
40
- /** 配置 */
41
- config?: PaymentMethodConfig;
42
- }
43
- /**
44
- * 聚合支付操作类型
45
- */
46
- export declare enum ActionType {
47
- /** 支付 */
48
- Pay = "pay",
49
- /** 支付查询 */
50
- PayQuery = "payQuery",
51
- /** 支付行为 */
52
- PayAction = "payAction",
53
- /** 退款 */
54
- Refund = "refund",
55
- /** 退款查询 */
56
- RefundQuery = "refundQuery",
57
- /** 退款行为 */
58
- RefundAction = "refundAction"
59
- }
60
- /** 回调事件 */
61
- export interface CallbackEvent {
62
- /** 事件类型:成功、失败、进度 */
63
- status: EPaymentStatus;
64
- /** 操作类型 */
65
- actionType: ActionType;
66
- /** 数据:成功时是结果,失败时是错误信息,进度时是进度数据 */
67
- data: any;
68
- }
69
- /** 统一回调函数 */
70
- export declare type PaymentCallback = (instance: PaymentMethod, event: CallbackEvent) => void;
71
- /**
72
- * 执行操作参数
73
- */
74
- export interface RunOptions {
75
- /** 操作类型 */
76
- actionType: ActionType;
77
- /** 请求参数 */
78
- params?: Record<string, any>;
79
- }
80
- /**
81
- * 聚合支付配置参数
82
- */
83
- export interface PaymentMethodConfig {
84
- /** 是否需要轮询间隔 */
85
- hasQueryInterval?: boolean;
86
- }
87
- /**
88
- * 支付状态
89
- */
90
- export declare enum EPaymentStatus {
91
- /** 支付中 */
92
- Processing = "processing",
93
- /** 支付成功 */
94
- Success = "success",
95
- /** 支付失败 */
96
- Failed = "failed"
97
- }
98
- /**
99
- * 执行操作参数
100
- */
101
- export interface HooksRunParams {
102
- /** 付款码 */
103
- authCode?: string | number;
104
- /** 订单支付ID */
105
- orderPaymentId?: string | number;
106
- }