@pisell/private-materials 6.6.40 → 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 (518) 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/addons/model.d.ts +1 -10
  10. package/es/components/booking/forms/model.d.ts +1 -10
  11. package/es/components/booking/info/model.d.ts +1 -10
  12. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  13. package/es/components/booking/info/service2/utils.d.ts +1 -1
  14. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  15. package/es/components/booking/model.d.ts +1 -9
  16. package/es/components/booking/notes/model.d.ts +1 -10
  17. package/es/components/booking/payments/model.d.ts +1 -10
  18. package/es/components/eftposPay/amount.d.ts +1 -1
  19. package/es/components/eftposPay/device.d.ts +1 -1
  20. package/es/components/eftposPay/hooks.d.ts +2 -2
  21. package/es/components/pay/toC/model.d.ts +1 -9
  22. package/es/components/schedules/model.d.ts +1 -9
  23. package/es/components/ticketBooking/utils/index.d.ts +2 -1
  24. package/es/components/ticketBooking/utils/index.js +3 -2
  25. package/es/plus/clientCard/index.js +6 -4
  26. package/es/plus/clientCard/index.less +6 -2
  27. package/es/plus/clientCard/types.d.ts +1 -0
  28. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  29. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  30. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  31. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  32. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
  33. package/es/plus/walletPassGallery/components/passDetail/index.js +82 -40
  34. package/es/plus/walletPassGallery/components/passList/index.js +12 -4
  35. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +3 -0
  36. package/es/plus/walletPassGallery/components/timelineSection/index.js +20 -2
  37. package/es/plus/walletPassGallery/index.d.ts +4 -0
  38. package/es/plus/walletPassGallery/index.js +95 -46
  39. package/es/plus/walletPassGallery/serve.d.ts +11 -1
  40. package/es/plus/walletPassGallery/serve.js +85 -59
  41. package/lib/components/booking/addons/model.d.ts +1 -10
  42. package/lib/components/booking/forms/model.d.ts +1 -10
  43. package/lib/components/booking/info/model.d.ts +1 -10
  44. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  45. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  46. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  47. package/lib/components/booking/model.d.ts +1 -9
  48. package/lib/components/booking/notes/model.d.ts +1 -10
  49. package/lib/components/booking/payments/model.d.ts +1 -10
  50. package/lib/components/eftposPay/amount.d.ts +1 -1
  51. package/lib/components/eftposPay/device.d.ts +1 -1
  52. package/lib/components/eftposPay/hooks.d.ts +2 -2
  53. package/lib/components/pay/toC/model.d.ts +1 -9
  54. package/lib/components/schedules/model.d.ts +1 -9
  55. package/lib/components/ticketBooking/utils/index.d.ts +2 -1
  56. package/lib/components/ticketBooking/utils/index.js +3 -2
  57. package/lib/plus/clientCard/index.js +5 -4
  58. package/lib/plus/clientCard/index.less +6 -2
  59. package/lib/plus/clientCard/types.d.ts +1 -0
  60. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  61. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  62. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  63. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  64. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
  65. package/lib/plus/walletPassGallery/components/passDetail/index.js +65 -10
  66. package/lib/plus/walletPassGallery/components/passList/index.js +12 -5
  67. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +3 -0
  68. package/lib/plus/walletPassGallery/components/timelineSection/index.js +17 -2
  69. package/lib/plus/walletPassGallery/index.d.ts +4 -0
  70. package/lib/plus/walletPassGallery/index.js +116 -45
  71. package/lib/plus/walletPassGallery/serve.d.ts +11 -1
  72. package/lib/plus/walletPassGallery/serve.js +25 -12
  73. package/lowcode/client-card/meta.ts +9 -3
  74. package/lowcode/client-search/meta.ts +316 -0
  75. package/lowcode/wallet-pass-gallery/meta.ts +66 -1
  76. package/package.json +3 -3
  77. package/es/components/Sales/Cart/utils.d.ts +0 -63
  78. package/es/components/Sales/Checkout/utils.d.ts +0 -41
  79. package/es/components/Sales/Summary/index.d.ts +0 -35
  80. package/es/components/Sales/Summary/utils.d.ts +0 -51
  81. package/es/components/appointmentBooking/locales.d.ts +0 -603
  82. package/es/components/booking/components/voucher/utils.d.ts +0 -5
  83. package/es/components/booking/dashboard/serve.d.ts +0 -2
  84. package/es/components/booking/editBookingModal/utils.d.ts +0 -12
  85. package/es/components/booking/forms/serve.d.ts +0 -18
  86. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  87. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -7
  88. package/es/components/booking/info/client/serve.d.ts +0 -2
  89. package/es/components/booking/info/hooks/useHolderConfig.d.ts +0 -10
  90. package/es/components/booking/info/index.d.ts +0 -4
  91. package/es/components/booking/info/pet/serve.d.ts +0 -1
  92. package/es/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
  93. package/es/components/booking/info/service/editService/constants.d.ts +0 -1
  94. package/es/components/booking/info/service/serve.d.ts +0 -34
  95. package/es/components/booking/info2/cartClientCard/locales.d.ts +0 -33
  96. package/es/components/booking/info2/serve.d.ts +0 -6
  97. package/es/components/booking/locales.d.ts +0 -1619
  98. package/es/components/checkout/PaymentProvider.d.ts +0 -13
  99. package/es/components/checkout/components/AdditionalModule/locales.d.ts +0 -58
  100. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +0 -85
  101. package/es/components/checkout/components/PaymentResultToast/index.d.ts +0 -9
  102. package/es/components/checkout/components/PaymentResultToast/types.d.ts +0 -59
  103. package/es/components/checkout/components/PaymentResultToast/utils.d.ts +0 -44
  104. package/es/components/checkout/components/ScrollableList/index.d.ts +0 -5
  105. package/es/components/checkout/components/ScrollableList/types.d.ts +0 -53
  106. package/es/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +0 -11
  107. package/es/components/checkout/components/WalletPassModule/components/DiscountWallet/DiscountTextMode.d.ts +0 -7
  108. package/es/components/checkout/components/WalletPassModule/components/WalletPassTextMode/index.d.ts +0 -5
  109. package/es/components/checkout/components/WalletPassModule/types.d.ts +0 -134
  110. package/es/components/checkout/constants.d.ts +0 -2
  111. package/es/components/checkout/export.d.ts +0 -9
  112. package/es/components/checkout/hooks/usePaymentLogger.d.ts +0 -2
  113. package/es/components/checkout/index.d.ts +0 -5
  114. package/es/components/checkout/locales.d.ts +0 -853
  115. package/es/components/checkout/styles.d.ts +0 -67
  116. package/es/components/checkout/types.d.ts +0 -130
  117. package/es/components/checkout/utils.d.ts +0 -3
  118. package/es/components/eftpos/const.d.ts +0 -64
  119. package/es/components/eftpos/hooks.d.ts +0 -33
  120. package/es/components/eftpos/locales.d.ts +0 -163
  121. package/es/components/eftposPay/EFTPos.d.ts +0 -14
  122. package/es/components/eftposPay/aggregatePayment/index.d.ts +0 -3
  123. package/es/components/eftposPay/aggregatePayment/service.d.ts +0 -24
  124. package/es/components/eftposPay/aggregatePayment/types.d.ts +0 -106
  125. package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +0 -139
  126. package/es/components/eftposPay/const.d.ts +0 -195
  127. package/es/components/eftposPay/huifu/hooks.d.ts +0 -25
  128. package/es/components/eftposPay/huifu/types.d.ts +0 -14
  129. package/es/components/eftposPay/locales.d.ts +0 -608
  130. package/es/components/eftposPay/manufacturer.d.ts +0 -8
  131. package/es/components/eftposPay/serve.d.ts +0 -16
  132. package/es/components/eftposPay/store/index.d.ts +0 -362
  133. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -3
  134. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -11
  135. package/es/components/list/List.d.ts +0 -5
  136. package/es/components/list/ResponsiveWrapper.d.ts +0 -16
  137. package/es/components/list/TestResponsiveWrapper.d.ts +0 -8
  138. package/es/components/list/components/EmptyState/EmptyState.d.ts +0 -20
  139. package/es/components/list/components/EmptyState/index.d.ts +0 -2
  140. package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +0 -13
  141. package/es/components/list/components/ListItemSkeleton/index.d.ts +0 -2
  142. package/es/components/list/components/Pagination/Pagination.d.ts +0 -30
  143. package/es/components/list/components/Pagination/index.d.ts +0 -1
  144. package/es/components/list/components/ScrollLoader/ScrollLoader.d.ts +0 -18
  145. package/es/components/list/components/ScrollLoader/index.d.ts +0 -2
  146. package/es/components/list/components/Tab/Tab.d.ts +0 -5
  147. package/es/components/list/components/Tab/index.d.ts +0 -2
  148. package/es/components/list/components/Tab/types.d.ts +0 -14
  149. package/es/components/list/components/TabSkeleton/TabSkeleton.d.ts +0 -11
  150. package/es/components/list/components/TabSkeleton/index.d.ts +0 -2
  151. package/es/components/list/components/WaterfallList/WaterfallList.d.ts +0 -33
  152. package/es/components/list/components/WaterfallList/index.d.ts +0 -2
  153. package/es/components/list/examples/GroupedListExample.d.ts +0 -3
  154. package/es/components/list/hooks/index.d.ts +0 -5
  155. package/es/components/list/hooks/useDevice.d.ts +0 -24
  156. package/es/components/list/hooks/useListState.d.ts +0 -43
  157. package/es/components/list/hooks/useWaterfall.d.ts +0 -34
  158. package/es/components/list/index.d.ts +0 -10
  159. package/es/components/list/locales.d.ts +0 -108
  160. package/es/components/list/types.d.ts +0 -177
  161. package/es/components/list/utils/getText.d.ts +0 -53
  162. package/es/components/list/utils/index.d.ts +0 -4
  163. package/es/components/pay/toB/components/CardGroup/index.d.ts +0 -8
  164. package/es/components/pay/toB/components/Content/index.d.ts +0 -4
  165. package/es/components/pay/toB/components/Content/utils.d.ts +0 -16
  166. package/es/components/pay/toB/components/EFTPOS/index.d.ts +0 -8
  167. package/es/components/pay/toB/components/index.d.ts +0 -5
  168. package/es/components/pay/toB/hooks.d.ts +0 -12
  169. package/es/components/pay/toB/locales.d.ts +0 -88
  170. package/es/components/pay/toB/paymentMethods/index.d.ts +0 -11
  171. package/es/components/pay/toB/store/context.d.ts +0 -3
  172. package/es/components/pay/toB/store/index.d.ts +0 -3
  173. package/es/components/pay/toB/store/provider.d.ts +0 -4
  174. package/es/components/pay/toB/types/index.d.ts +0 -61
  175. package/es/components/pay/toB/types/storeTypes.d.ts +0 -143
  176. package/es/components/pay/toC/PaymentList/utils.d.ts +0 -36
  177. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +0 -2
  178. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +0 -2
  179. package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +0 -2
  180. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +0 -2
  181. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -7
  182. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -3
  183. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -3
  184. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -4
  185. package/es/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +0 -2
  186. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +0 -2
  187. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +0 -2
  188. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -155
  189. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -3
  190. package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +0 -3
  191. package/es/components/pisellSelectCustomerModal/locales.d.ts +0 -133
  192. package/es/components/productSelect/components/pisellPriceText/index.d.ts +0 -11
  193. package/es/components/ruleSetting/locales.d.ts +0 -78
  194. package/es/components/schedules/locales.d.ts +0 -143
  195. package/es/components/shoppingCart/Provider.d.ts +0 -3
  196. package/es/components/shoppingCart/locales.d.ts +0 -58
  197. package/es/components/shoppingCart/mock.d.ts +0 -40
  198. package/es/components/shoppingCart/type.d.ts +0 -50
  199. package/es/components/shoppingCart/utils.d.ts +0 -63
  200. package/es/components/subTotal/locales.d.ts +0 -68
  201. package/es/components/systemSettings/registry/locales.d.ts +0 -456
  202. package/es/components/systemSettings/registry/services.d.ts +0 -77
  203. package/es/components/systemSettings/registry/types.d.ts +0 -128
  204. package/es/components/taxSelect/locales.d.ts +0 -38
  205. package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +0 -27
  206. package/es/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +0 -7
  207. package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
  208. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -9
  209. package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +0 -7
  210. package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
  211. package/es/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.d.ts +0 -14
  212. package/es/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
  213. package/es/components/ticketBooking/components/floatButtons/index.d.ts +0 -11
  214. package/es/components/ticketBooking/context/IsActiveContext.d.ts +0 -26
  215. package/es/components/ticketBooking/context/OsKeyContext.d.ts +0 -26
  216. package/es/components/ticketBooking/context/index.d.ts +0 -2
  217. package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +0 -21
  218. package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -12
  219. package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +0 -6
  220. package/es/components/ticketBooking/locales.d.ts +0 -328
  221. package/es/components/ticketBooking/serve.d.ts +0 -288
  222. package/es/components/ticketBooking/utils/productCache.d.ts +0 -75
  223. package/es/components/walletList/serve.d.ts +0 -43
  224. package/es/components/workSpaceList/components/AppearanceEdit/IconPanel.d.ts +0 -11
  225. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
  226. package/es/components/workSpaceList/components/Card/constants.d.ts +0 -2
  227. package/es/components/workSpaceList/components/SearchBar/index.d.ts +0 -17
  228. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -4
  229. package/es/components/workSpaceList/components/Sort/index.d.ts +0 -7
  230. package/es/components/workSpaceList/components/WorkspaceItem/index.d.ts +0 -22
  231. package/es/hooks/index.d.ts +0 -10
  232. package/es/hooks/useEngineContext.d.ts +0 -3
  233. package/es/hooks/useLocale.d.ts +0 -2
  234. package/es/hooks/useLogger.d.ts +0 -2
  235. package/es/hooks/useModal.d.ts +0 -35
  236. package/es/hooks/useModal.example.d.ts +0 -12
  237. package/es/hooks/useModal.integration.example.d.ts +0 -15
  238. package/es/hooks/useToast.d.ts +0 -2
  239. package/es/hooks/useWindowSize.d.ts +0 -5
  240. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
  241. package/es/plus/noteModal/locales.d.ts +0 -53
  242. package/es/plus/noteModal/types.d.ts +0 -19
  243. package/es/plus/productSelect/CategoryTabs/index.d.ts +0 -20
  244. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -4
  245. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -4
  246. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -4
  247. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -4
  248. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -4
  249. package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -8
  250. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
  251. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -5
  252. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +0 -6
  253. package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -7
  254. package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +0 -7
  255. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +0 -6
  256. package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -7
  257. package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -7
  258. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +0 -6
  259. package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +0 -7
  260. package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -7
  261. package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -4
  262. package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -9
  263. package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -68
  264. package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -164
  265. package/es/plus/productSelect/ProductCard/SkuCard/type.d.ts +0 -298
  266. package/es/plus/productSelect/ProductCard/SkuCard/utils.d.ts +0 -9
  267. package/es/plus/productSelect/ProductList/gridComponents.d.ts +0 -44
  268. package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
  269. package/es/plus/productSelect/components/pisellPriceText/index.d.ts +0 -14
  270. package/es/plus/saasAttendance/locales.d.ts +0 -528
  271. package/es/plus/saasAttendance/settings/types.d.ts +0 -130
  272. package/es/plus/selectHolder/locales.d.ts +0 -38
  273. package/es/pro/Login2.0/locales.d.ts +0 -903
  274. package/es/pro/Login2.0/shared/types.d.ts +0 -234
  275. package/es/pro/NumberKeyboardPopover/index.d.ts +0 -36
  276. package/es/pro/NumberKeyboardPopover/types.d.ts +0 -31
  277. package/es/pro/multiDayTimeSelect/index.d.ts +0 -3
  278. package/es/pro/multiDayTimeSelect/types.d.ts +0 -28
  279. package/es/pro/pisellNumberSelector/example.d.ts +0 -3
  280. package/es/pro/pisellPriceKeyboardModal/index.d.ts +0 -2
  281. package/es/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
  282. package/es/pro/pisellPriceKeyboardPopover/index.d.ts +0 -2
  283. package/es/pro/pisellPriceKeyboardPopover/types.d.ts +0 -33
  284. package/es/pro/pisellPriceRadio/index.d.ts +0 -26
  285. package/es/pro/pisellSimplePriceKeyboardPopover/index.d.ts +0 -2
  286. package/es/pro/pisellSimplePriceKeyboardPopover/types.d.ts +0 -33
  287. package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +0 -63
  288. package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +0 -98
  289. package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +0 -68
  290. package/es/pro/priceKeyboard/components/discountKeyboard/types.d.ts +0 -17
  291. package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +0 -73
  292. package/es/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +0 -39
  293. package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +0 -18
  294. package/es/pro/priceKeyboard/hooks/rightItems.d.ts +0 -28
  295. package/es/pro/priceKeyboard/index.d.ts +0 -3
  296. package/es/pro/skuDetailModal/locales.d.ts +0 -78
  297. package/es/pro/skuDetailModal/types.d.ts +0 -352
  298. package/lib/components/Sales/Cart/utils.d.ts +0 -63
  299. package/lib/components/Sales/Checkout/utils.d.ts +0 -41
  300. package/lib/components/Sales/Summary/index.d.ts +0 -35
  301. package/lib/components/Sales/Summary/utils.d.ts +0 -51
  302. package/lib/components/appointmentBooking/locales.d.ts +0 -603
  303. package/lib/components/booking/components/voucher/utils.d.ts +0 -5
  304. package/lib/components/booking/dashboard/serve.d.ts +0 -2
  305. package/lib/components/booking/editBookingModal/utils.d.ts +0 -12
  306. package/lib/components/booking/forms/serve.d.ts +0 -18
  307. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  308. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -7
  309. package/lib/components/booking/info/client/serve.d.ts +0 -2
  310. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +0 -10
  311. package/lib/components/booking/info/index.d.ts +0 -4
  312. package/lib/components/booking/info/pet/serve.d.ts +0 -1
  313. package/lib/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
  314. package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
  315. package/lib/components/booking/info/service/serve.d.ts +0 -34
  316. package/lib/components/booking/info2/cartClientCard/locales.d.ts +0 -33
  317. package/lib/components/booking/info2/serve.d.ts +0 -6
  318. package/lib/components/booking/locales.d.ts +0 -1619
  319. package/lib/components/checkout/PaymentProvider.d.ts +0 -13
  320. package/lib/components/checkout/components/AdditionalModule/locales.d.ts +0 -58
  321. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +0 -85
  322. package/lib/components/checkout/components/PaymentResultToast/index.d.ts +0 -9
  323. package/lib/components/checkout/components/PaymentResultToast/types.d.ts +0 -59
  324. package/lib/components/checkout/components/PaymentResultToast/utils.d.ts +0 -44
  325. package/lib/components/checkout/components/ScrollableList/index.d.ts +0 -5
  326. package/lib/components/checkout/components/ScrollableList/types.d.ts +0 -53
  327. package/lib/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +0 -11
  328. package/lib/components/checkout/components/WalletPassModule/components/DiscountWallet/DiscountTextMode.d.ts +0 -7
  329. package/lib/components/checkout/components/WalletPassModule/components/WalletPassTextMode/index.d.ts +0 -5
  330. package/lib/components/checkout/components/WalletPassModule/types.d.ts +0 -134
  331. package/lib/components/checkout/constants.d.ts +0 -2
  332. package/lib/components/checkout/export.d.ts +0 -9
  333. package/lib/components/checkout/hooks/usePaymentLogger.d.ts +0 -2
  334. package/lib/components/checkout/index.d.ts +0 -5
  335. package/lib/components/checkout/locales.d.ts +0 -853
  336. package/lib/components/checkout/styles.d.ts +0 -67
  337. package/lib/components/checkout/types.d.ts +0 -130
  338. package/lib/components/checkout/utils.d.ts +0 -3
  339. package/lib/components/eftpos/const.d.ts +0 -64
  340. package/lib/components/eftpos/hooks.d.ts +0 -33
  341. package/lib/components/eftpos/locales.d.ts +0 -163
  342. package/lib/components/eftposPay/EFTPos.d.ts +0 -14
  343. package/lib/components/eftposPay/aggregatePayment/index.d.ts +0 -3
  344. package/lib/components/eftposPay/aggregatePayment/service.d.ts +0 -24
  345. package/lib/components/eftposPay/aggregatePayment/types.d.ts +0 -106
  346. package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +0 -139
  347. package/lib/components/eftposPay/const.d.ts +0 -195
  348. package/lib/components/eftposPay/huifu/hooks.d.ts +0 -25
  349. package/lib/components/eftposPay/huifu/types.d.ts +0 -14
  350. package/lib/components/eftposPay/locales.d.ts +0 -608
  351. package/lib/components/eftposPay/manufacturer.d.ts +0 -8
  352. package/lib/components/eftposPay/serve.d.ts +0 -16
  353. package/lib/components/eftposPay/store/index.d.ts +0 -362
  354. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -3
  355. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -11
  356. package/lib/components/list/List.d.ts +0 -5
  357. package/lib/components/list/ResponsiveWrapper.d.ts +0 -16
  358. package/lib/components/list/TestResponsiveWrapper.d.ts +0 -8
  359. package/lib/components/list/components/EmptyState/EmptyState.d.ts +0 -20
  360. package/lib/components/list/components/EmptyState/index.d.ts +0 -2
  361. package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +0 -13
  362. package/lib/components/list/components/ListItemSkeleton/index.d.ts +0 -2
  363. package/lib/components/list/components/Pagination/Pagination.d.ts +0 -30
  364. package/lib/components/list/components/Pagination/index.d.ts +0 -1
  365. package/lib/components/list/components/ScrollLoader/ScrollLoader.d.ts +0 -18
  366. package/lib/components/list/components/ScrollLoader/index.d.ts +0 -2
  367. package/lib/components/list/components/Tab/Tab.d.ts +0 -5
  368. package/lib/components/list/components/Tab/index.d.ts +0 -2
  369. package/lib/components/list/components/Tab/types.d.ts +0 -14
  370. package/lib/components/list/components/TabSkeleton/TabSkeleton.d.ts +0 -11
  371. package/lib/components/list/components/TabSkeleton/index.d.ts +0 -2
  372. package/lib/components/list/components/WaterfallList/WaterfallList.d.ts +0 -33
  373. package/lib/components/list/components/WaterfallList/index.d.ts +0 -2
  374. package/lib/components/list/examples/GroupedListExample.d.ts +0 -3
  375. package/lib/components/list/hooks/index.d.ts +0 -5
  376. package/lib/components/list/hooks/useDevice.d.ts +0 -24
  377. package/lib/components/list/hooks/useListState.d.ts +0 -43
  378. package/lib/components/list/hooks/useWaterfall.d.ts +0 -34
  379. package/lib/components/list/index.d.ts +0 -10
  380. package/lib/components/list/locales.d.ts +0 -108
  381. package/lib/components/list/types.d.ts +0 -177
  382. package/lib/components/list/utils/getText.d.ts +0 -53
  383. package/lib/components/list/utils/index.d.ts +0 -4
  384. package/lib/components/pay/toB/components/CardGroup/index.d.ts +0 -8
  385. package/lib/components/pay/toB/components/Content/index.d.ts +0 -4
  386. package/lib/components/pay/toB/components/Content/utils.d.ts +0 -16
  387. package/lib/components/pay/toB/components/EFTPOS/index.d.ts +0 -8
  388. package/lib/components/pay/toB/components/index.d.ts +0 -5
  389. package/lib/components/pay/toB/hooks.d.ts +0 -12
  390. package/lib/components/pay/toB/locales.d.ts +0 -88
  391. package/lib/components/pay/toB/paymentMethods/index.d.ts +0 -11
  392. package/lib/components/pay/toB/store/context.d.ts +0 -3
  393. package/lib/components/pay/toB/store/index.d.ts +0 -3
  394. package/lib/components/pay/toB/store/provider.d.ts +0 -4
  395. package/lib/components/pay/toB/types/index.d.ts +0 -61
  396. package/lib/components/pay/toB/types/storeTypes.d.ts +0 -143
  397. package/lib/components/pay/toC/PaymentList/utils.d.ts +0 -36
  398. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +0 -2
  399. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +0 -2
  400. package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +0 -2
  401. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +0 -2
  402. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -7
  403. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -3
  404. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -3
  405. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -4
  406. package/lib/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +0 -2
  407. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +0 -2
  408. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +0 -2
  409. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -155
  410. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -3
  411. package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +0 -3
  412. package/lib/components/pisellSelectCustomerModal/locales.d.ts +0 -133
  413. package/lib/components/productSelect/components/pisellPriceText/index.d.ts +0 -11
  414. package/lib/components/ruleSetting/locales.d.ts +0 -78
  415. package/lib/components/schedules/locales.d.ts +0 -143
  416. package/lib/components/shoppingCart/Provider.d.ts +0 -3
  417. package/lib/components/shoppingCart/locales.d.ts +0 -58
  418. package/lib/components/shoppingCart/mock.d.ts +0 -40
  419. package/lib/components/shoppingCart/type.d.ts +0 -50
  420. package/lib/components/shoppingCart/utils.d.ts +0 -63
  421. package/lib/components/subTotal/locales.d.ts +0 -68
  422. package/lib/components/systemSettings/registry/locales.d.ts +0 -456
  423. package/lib/components/systemSettings/registry/services.d.ts +0 -77
  424. package/lib/components/systemSettings/registry/types.d.ts +0 -128
  425. package/lib/components/taxSelect/locales.d.ts +0 -38
  426. package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +0 -27
  427. package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +0 -7
  428. package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
  429. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -9
  430. package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +0 -7
  431. package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
  432. package/lib/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.d.ts +0 -14
  433. package/lib/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
  434. package/lib/components/ticketBooking/components/floatButtons/index.d.ts +0 -11
  435. package/lib/components/ticketBooking/context/IsActiveContext.d.ts +0 -26
  436. package/lib/components/ticketBooking/context/OsKeyContext.d.ts +0 -26
  437. package/lib/components/ticketBooking/context/index.d.ts +0 -2
  438. package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +0 -21
  439. package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -12
  440. package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +0 -6
  441. package/lib/components/ticketBooking/locales.d.ts +0 -328
  442. package/lib/components/ticketBooking/serve.d.ts +0 -288
  443. package/lib/components/ticketBooking/utils/productCache.d.ts +0 -75
  444. package/lib/components/walletList/serve.d.ts +0 -43
  445. package/lib/components/workSpaceList/components/AppearanceEdit/IconPanel.d.ts +0 -11
  446. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
  447. package/lib/components/workSpaceList/components/Card/constants.d.ts +0 -2
  448. package/lib/components/workSpaceList/components/SearchBar/index.d.ts +0 -17
  449. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -4
  450. package/lib/components/workSpaceList/components/Sort/index.d.ts +0 -7
  451. package/lib/components/workSpaceList/components/WorkspaceItem/index.d.ts +0 -22
  452. package/lib/hooks/index.d.ts +0 -10
  453. package/lib/hooks/useEngineContext.d.ts +0 -3
  454. package/lib/hooks/useLocale.d.ts +0 -2
  455. package/lib/hooks/useLogger.d.ts +0 -2
  456. package/lib/hooks/useModal.d.ts +0 -35
  457. package/lib/hooks/useModal.example.d.ts +0 -12
  458. package/lib/hooks/useModal.integration.example.d.ts +0 -15
  459. package/lib/hooks/useToast.d.ts +0 -2
  460. package/lib/hooks/useWindowSize.d.ts +0 -5
  461. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
  462. package/lib/plus/noteModal/locales.d.ts +0 -53
  463. package/lib/plus/noteModal/types.d.ts +0 -19
  464. package/lib/plus/productSelect/CategoryTabs/index.d.ts +0 -20
  465. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -4
  466. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -4
  467. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -4
  468. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -4
  469. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -4
  470. package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -8
  471. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
  472. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -5
  473. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +0 -6
  474. package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -7
  475. package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +0 -7
  476. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +0 -6
  477. package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -7
  478. package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -7
  479. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +0 -6
  480. package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +0 -7
  481. package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -7
  482. package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -4
  483. package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -9
  484. package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -68
  485. package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -164
  486. package/lib/plus/productSelect/ProductCard/SkuCard/type.d.ts +0 -298
  487. package/lib/plus/productSelect/ProductCard/SkuCard/utils.d.ts +0 -9
  488. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +0 -44
  489. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
  490. package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +0 -14
  491. package/lib/plus/saasAttendance/locales.d.ts +0 -528
  492. package/lib/plus/saasAttendance/settings/types.d.ts +0 -130
  493. package/lib/plus/selectHolder/locales.d.ts +0 -38
  494. package/lib/pro/Login2.0/locales.d.ts +0 -903
  495. package/lib/pro/Login2.0/shared/types.d.ts +0 -234
  496. package/lib/pro/NumberKeyboardPopover/index.d.ts +0 -36
  497. package/lib/pro/NumberKeyboardPopover/types.d.ts +0 -31
  498. package/lib/pro/multiDayTimeSelect/index.d.ts +0 -3
  499. package/lib/pro/multiDayTimeSelect/types.d.ts +0 -28
  500. package/lib/pro/pisellNumberSelector/example.d.ts +0 -3
  501. package/lib/pro/pisellPriceKeyboardModal/index.d.ts +0 -2
  502. package/lib/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
  503. package/lib/pro/pisellPriceKeyboardPopover/index.d.ts +0 -2
  504. package/lib/pro/pisellPriceKeyboardPopover/types.d.ts +0 -33
  505. package/lib/pro/pisellPriceRadio/index.d.ts +0 -26
  506. package/lib/pro/pisellSimplePriceKeyboardPopover/index.d.ts +0 -2
  507. package/lib/pro/pisellSimplePriceKeyboardPopover/types.d.ts +0 -33
  508. package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +0 -63
  509. package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +0 -98
  510. package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +0 -68
  511. package/lib/pro/priceKeyboard/components/discountKeyboard/types.d.ts +0 -17
  512. package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +0 -73
  513. package/lib/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +0 -39
  514. package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +0 -18
  515. package/lib/pro/priceKeyboard/hooks/rightItems.d.ts +0 -28
  516. package/lib/pro/priceKeyboard/index.d.ts +0 -3
  517. package/lib/pro/skuDetailModal/locales.d.ts +0 -78
  518. package/lib/pro/skuDetailModal/types.d.ts +0 -352
@@ -1,16 +0,0 @@
1
- export declare const getDeviceList: (params?: any, config?: any) => Promise<any>;
2
- export declare const getEftposList: (params?: any, config?: any) => Promise<any>;
3
- export declare const updateEftpos: (params: any, config?: any) => Promise<any>;
4
- export declare const deviceDefault: (params: any, config?: any) => Promise<any>;
5
- export declare const deleteDevice: (params: any, config?: any) => Promise<any>;
6
- export declare const addDevice: (params: any, config?: any) => Promise<any>;
7
- export declare const editDevice: (params: any, config?: any) => Promise<any>;
8
- export declare const verifyData: (params: any, config?: any) => Promise<any>;
9
- export declare const getTransaction: (params: any, config?: any) => Promise<any>;
10
- export declare const payButton: (params: any, config?: any) => Promise<any>;
11
- export declare const payData: (params: any, config?: any) => Promise<any>;
12
- export declare const refundData: (params: any, config?: any) => Promise<any>;
13
- export declare const addTransaction: (params: any, config?: any) => Promise<any>;
14
- export declare const editTransaction: (id: any, params: any, config?: any) => Promise<any>;
15
- export declare const linklyPayQuery: (params: any, config?: any) => Promise<any>;
16
- export declare const linklyRefundQuery: (params: any, config?: any) => Promise<any>;
@@ -1,362 +0,0 @@
1
- import React, { ReactNode } from 'react';
2
- import { DeviceStatusType, StatusType, ModeType, RouteType, ClientEnum } from '../const';
3
- import { ThunkDispatch } from './useThunkReducer';
4
- export declare enum EActionTypes {
5
- UPDATE_INIT = "UPDATE_INIT",
6
- UPDATE_CUSTOM = "UPDATE_CUSTOM",
7
- UPDATE_KEY = "UPDATE_KEY",
8
- UPDATE_STEP_KEY = "UPDATE_STEP_KEY",
9
- UPDATE_DEVICE = "UPDATE_DEVICE",
10
- UPDATE_NEXT_STEP = "UPDATE_NEXT_STEP",
11
- UPDATE_STATUS = "UPDATE_STATUS",
12
- UPDATE_TITLE = "UPDATE_TITLE",
13
- UPDATE_LOADING = "UPDATE_LOADING",
14
- UPDATE_COMPONENT = "UPDATE_COMPONENT",
15
- UPDATE_STEPS = "UPDATE_STEPS",
16
- UPDATE_STEP_CURRENT_ITEM_CUSTOM = "UPDATE_STEP_CURRENT_ITEM_CUSTOM",
17
- UPDATE_STEP_ITEM = "UPDATE_STEP_ITEM",
18
- BACKUP_PRODUCTION = "BACKUP_PRODUCTION",
19
- BACKUP_FREE = "BACKUP_FREE",
20
- UPDATE_CLIENT = "UPDATE_CLIENT"
21
- }
22
- export declare type State = {
23
- /** 支付名称 */
24
- name: string;
25
- /** 金额单位 */
26
- symbol: string;
27
- /** 支付原始金额 */
28
- amount: string | number;
29
- /** 模式 */
30
- mode: ModeType;
31
- /** 订单号 */
32
- order_id: string | number;
33
- /** 厂商 */
34
- eftpos: DeviceStatusType;
35
- action?: RouteType;
36
- /** 用于重置页面特指 =》全部步骤 */
37
- key: number;
38
- /** 当前执行到哪一步了 */
39
- step: number;
40
- /** 标题 */
41
- title: string;
42
- /** 标题 */
43
- subTitle?: string;
44
- /** step : 常规步骤页面 ,unset 自定义页面 */
45
- type: 'step' | 'unset';
46
- render: boolean;
47
- /** 网络 */
48
- net?: boolean;
49
- /** 上面 unset 自定义页面,这里需要指定到具体页面 */
50
- component: string;
51
- form?: string;
52
- /** 页面状态 */
53
- status: StatusType;
54
- /** 警告文案 */
55
- warn: string;
56
- steps: {
57
- /** 用于重置当前步骤 */
58
- key: number;
59
- title?: string;
60
- text?: string;
61
- warn?: string;
62
- tip?: string;
63
- success?: string;
64
- fail?: string;
65
- loading?: string;
66
- /** 步骤状态 */
67
- status: StatusType;
68
- custom?: {
69
- /** 步骤自定义 */
70
- [key: string]: unknown;
71
- };
72
- }[];
73
- /** 支付流水号 */
74
- number?: string | number;
75
- /** 设备信息 */
76
- device?: {
77
- [key: string]: unknown;
78
- };
79
- /** 支付信息 */
80
- pay?: {
81
- [key: string]: unknown;
82
- };
83
- custom?: {
84
- [key: string]: unknown;
85
- };
86
- manual?: {
87
- title: string;
88
- text: string;
89
- status?: boolean;
90
- money?: number;
91
- };
92
- backup?: Omit<State, 'backup'>;
93
- client: ClientEnum;
94
- /** 原始参数 - 用于 retry 时完整恢复 */
95
- originalParams?: {
96
- [key: string]: unknown;
97
- };
98
- };
99
- export declare type Action = {
100
- type: EActionTypes;
101
- payload: Partial<State>;
102
- };
103
- /**
104
- * @title: 刷新 key
105
- * @description: 用户重置组件生命周期,
106
- * @param {number} key
107
- * @Author: hongbing.wang
108
- * @Date: 2024-08-19 09:56
109
- */
110
- export declare const updateKey: (key: number) => {
111
- type: EActionTypes;
112
- payload: {
113
- key: number;
114
- };
115
- };
116
- /**
117
- * @title: 更新设备信息
118
- * @description: 用户选择设备将回填到此处
119
- * @param {object} payload
120
- * @Author: hongbing.wang
121
- * @Date: 2024-08-19 09:57
122
- */
123
- export declare const updateDevice: (payload: {
124
- device: State['device'];
125
- }) => {
126
- type: EActionTypes;
127
- payload: {
128
- device: State['device'];
129
- };
130
- };
131
- /**
132
- * @title: 刷新 步骤key
133
- * @description: 重置某一步生命周期
134
- * @Author: hongbing.wang
135
- * @Date: 2024-08-19 09:58
136
- */
137
- export declare const updateStepKey: () => {
138
- type: EActionTypes;
139
- payload: {};
140
- };
141
- /**
142
- * @title: 更新至下一步
143
- * @description: 更新至下一步
144
- * @param {string} warn?: 错误信息
145
- * @Author: hongbing.wang
146
- * @Date: 2024-08-19 09:58
147
- */
148
- export declare const updateNextStep: (warn?: string) => {
149
- type: EActionTypes;
150
- payload: {
151
- warn: string;
152
- } | {
153
- warn?: undefined;
154
- };
155
- };
156
- /**
157
- * @title: 更新自定义信息
158
- * @description: 更新自定义信息
159
- * @param {object} payload
160
- * @Author: hongbing.wang
161
- * @Date: 2024-08-19 10:03
162
- */
163
- export declare const updateCustom: (payload: {
164
- [key: string]: unknown;
165
- }) => {
166
- type: EActionTypes;
167
- payload: {
168
- [key: string]: unknown;
169
- };
170
- };
171
- /**
172
- * @title: 更新 全局状态
173
- * @description: 更新 全局状态
174
- * @param {string} status : 状态
175
- * * @Author: hongbing.wang
176
- * @Date: 2024-08-19 10:03
177
- */
178
- export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
179
- type: EActionTypes;
180
- payload: {
181
- status: "loading" | "success" | "warn" | "fail" | "question";
182
- };
183
- };
184
- /**
185
- * @title: 更新自定义组件
186
- * @description: 更新自定义组件
187
- * @param {string} component 组件名称
188
- * @param {boolean} render : true : 隐藏 原组件(维持原组件内状态) ;false : 卸载
189
- * @return {*}
190
- * @Author: hongbing.wang
191
- * @Date: 2024-08-19 10:04
192
- */
193
- export declare const updateComponent: (component: string, render?: boolean) => {
194
- type: EActionTypes;
195
- payload: {
196
- readonly component: string;
197
- readonly type: "unset";
198
- readonly render: boolean;
199
- } | {
200
- readonly type: "step";
201
- readonly render: boolean;
202
- readonly component?: undefined;
203
- };
204
- };
205
- /**
206
- * @title: 更新步骤信息
207
- * @description: 更新某一步骤信息
208
- * @param {State} steps 某一步骤信息
209
- * @Author: hongbing.wang
210
- * @Date: 2024-08-19 10:07
211
- */
212
- export declare const updateSteps: (steps: State['steps']) => {
213
- type: EActionTypes;
214
- payload: {
215
- steps: {
216
- /** 用于重置当前步骤 */
217
- key: number;
218
- title?: string | undefined;
219
- text?: string | undefined;
220
- warn?: string | undefined;
221
- tip?: string | undefined;
222
- success?: string | undefined;
223
- fail?: string | undefined;
224
- loading?: string | undefined;
225
- /** 步骤状态 */
226
- status: StatusType;
227
- custom?: {
228
- [key: string]: unknown;
229
- } | undefined;
230
- }[];
231
- };
232
- };
233
- /**
234
- * @title: 更新状态管理信息
235
- * @description: 更新状态管理信息
236
- * @param {Partial} payload
237
- * @return {*}
238
- * @Author: hongbing.wang
239
- * @Date: 2024-08-19 10:08
240
- */
241
- export declare const updateState: (payload: Partial<State>) => {
242
- type: EActionTypes;
243
- payload: Partial<State>;
244
- };
245
- /**
246
- * @title: 更新当前步骤自定义信息
247
- * @description: 更新当前步骤自定义信息
248
- * @Author: hongbing.wang
249
- * @Date: 2024-08-19 10:09
250
- */
251
- export declare const updateCurrentCustomStemItem: (payload: NonNullable<Partial<State['steps'][number]['custom']>>) => {
252
- type: EActionTypes;
253
- payload: Partial<{
254
- [key: string]: unknown;
255
- }>;
256
- };
257
- /**
258
- * @title: 更新当前步骤信息
259
- * @description: 更新当前步骤信息
260
- * @Author: hongbing.wang
261
- * @Date: 2024-08-19 10:09
262
- */
263
- export declare const updateCurrentStemItem: (payload: any) => {
264
- type: EActionTypes;
265
- payload: any;
266
- };
267
- /**
268
- * @title: 更新当前步骤信息
269
- * @description: 更新当前步骤信息
270
- * @Author: hongbing.wang
271
- * @Date: 2024-08-19 10:09
272
- */
273
- export declare const updateClient: (payload: ClientEnum) => {
274
- type: EActionTypes;
275
- payload: {
276
- client: ClientEnum;
277
- };
278
- };
279
- /**
280
- * @title: 更新备份信息
281
- * @description: 更新备份信息
282
- * @Author: hongbing.wang
283
- * @Date: 2024-08-19 10:25
284
- */
285
- export declare const backUpProduction: (payload: Partial<State>) => {
286
- type: EActionTypes;
287
- payload: Partial<State>;
288
- };
289
- /**
290
- * @title: 释放备份信息
291
- * @description: 释放备份信息
292
- * @param {Partial} payload
293
- * @Author: hongbing.wang
294
- * @Date: 2024-08-19 10:27
295
- */
296
- export declare const backUpFree: (payload: Partial<State>) => {
297
- type: EActionTypes;
298
- payload: {
299
- name?: string | undefined;
300
- symbol?: string | undefined;
301
- amount?: string | number | undefined;
302
- mode?: "pay" | "refund" | "fullPay" | "query" | undefined;
303
- order_id?: string | number | undefined;
304
- eftpos?: "stripe" | "payo" | "tyro" | "windcave" | "linkly" | "huifu" | undefined;
305
- action?: "pay" | "amount" | "deviceList" | undefined;
306
- key?: number | undefined;
307
- step?: number | undefined;
308
- title?: string | undefined;
309
- subTitle?: string | undefined;
310
- type?: "unset" | "step" | undefined;
311
- render?: boolean | undefined;
312
- net?: boolean | undefined;
313
- component?: string | undefined;
314
- form?: string | undefined;
315
- status?: "loading" | "success" | "warn" | "init" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
316
- warn?: string | undefined;
317
- steps?: {
318
- /** 用于重置当前步骤 */
319
- key: number;
320
- title?: string | undefined;
321
- text?: string | undefined;
322
- warn?: string | undefined;
323
- tip?: string | undefined;
324
- success?: string | undefined;
325
- fail?: string | undefined;
326
- loading?: string | undefined;
327
- /** 步骤状态 */
328
- status: StatusType;
329
- custom?: {
330
- [key: string]: unknown;
331
- } | undefined;
332
- }[] | undefined;
333
- number?: string | number | undefined;
334
- device?: {
335
- [key: string]: unknown;
336
- } | undefined;
337
- pay?: {
338
- [key: string]: unknown;
339
- } | undefined;
340
- custom?: {
341
- [key: string]: unknown;
342
- } | undefined;
343
- manual?: {
344
- title: string;
345
- text: string;
346
- status?: boolean | undefined;
347
- money?: number | undefined;
348
- } | undefined;
349
- backup?: Omit<State, "backup"> | undefined;
350
- client?: ClientEnum | undefined;
351
- originalParams?: {
352
- [key: string]: unknown;
353
- } | undefined;
354
- };
355
- };
356
- export declare function reducers(state: State, action: Action): State;
357
- export declare const Provider: ({ children, state: providerState, }: {
358
- children: ReactNode;
359
- state?: State | undefined;
360
- }) => React.JSX.Element;
361
- export declare function useContextData(): State;
362
- export declare function useDispatch(): ThunkDispatch<State, Action>;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const Deposit: () => React.JSX.Element;
3
- export default Deposit;
@@ -1,11 +0,0 @@
1
- import './index.less';
2
- declare type CallToBookProps = {
3
- show: boolean;
4
- type: string;
5
- shop: any;
6
- };
7
- export declare const defaultBookingConfig: {
8
- booking_mode_after_cut_off: string;
9
- };
10
- declare const CallToBook: (props: CallToBookProps) => import("react").JSX.Element | null;
11
- export default CallToBook;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import './List.less';
3
- import { ListProps, BaseListItem } from './types';
4
- declare const List: <TItem extends BaseListItem = BaseListItem>(props: ListProps<TItem>) => React.ReactElement;
5
- export default List;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { ListProps, ResponsiveConfig, ResponsiveWrapperProps } from './types';
3
- /**
4
- * ResponsiveWrapper 响应式包装器组件
5
- * 根据不同设备类型自动选择合适的配置
6
- */
7
- declare const ResponsiveWrapper: React.FC<ResponsiveWrapperProps>;
8
- /**
9
- * 用于创建响应式配置的工具函数
10
- */
11
- export declare const createResponsiveConfig: (overrides?: {
12
- pc?: Partial<ListProps>;
13
- pad?: Partial<ListProps>;
14
- mobile?: Partial<ListProps>;
15
- }) => ResponsiveConfig;
16
- export default ResponsiveWrapper;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import './TestResponsiveWrapper.less';
3
- /**
4
- * ResponsiveWrapper 测试组件
5
- * 用于测试ResponsiveWrapper组件在不同配置下的表现,支持动态配置和数据加载模拟
6
- */
7
- declare const TestResponsiveWrapper: React.FC;
8
- export default TestResponsiveWrapper;
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- import './EmptyState.less';
3
- export interface EmptyStateConfig {
4
- /** 是否显示空状态 */
5
- show?: boolean;
6
- /** 空状态文本 */
7
- text?: string;
8
- /** 空状态图标 */
9
- icon?: React.ReactNode;
10
- /** 空状态描述 */
11
- description?: string;
12
- }
13
- export interface EmptyStateProps {
14
- /** 空状态配置 */
15
- config: EmptyStateConfig;
16
- /** 是否有数据 */
17
- hasData: boolean;
18
- }
19
- declare const EmptyState: React.FC<EmptyStateProps>;
20
- export default EmptyState;
@@ -1,2 +0,0 @@
1
- export { default } from './EmptyState';
2
- export type { EmptyStateProps, EmptyStateConfig } from './EmptyState';
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import './ListItemSkeleton.less';
3
- interface ListItemSkeletonProps {
4
- className?: string;
5
- style?: React.CSSProperties;
6
- displayStyle?: 'grid' | 'waterfall';
7
- showImage?: boolean;
8
- imageWidth?: number;
9
- imageHeight?: number;
10
- rows?: number;
11
- }
12
- declare const ListItemSkeleton: React.FC<ListItemSkeletonProps>;
13
- export default ListItemSkeleton;
@@ -1,2 +0,0 @@
1
- export { default } from './ListItemSkeleton';
2
- export { default as ListItemSkeleton } from './ListItemSkeleton';
@@ -1,30 +0,0 @@
1
- import React from 'react';
2
- import './Pagination.less';
3
- export interface PaginationProps {
4
- /** 当前页码 */
5
- current: number;
6
- /** 每页条数 */
7
- pageSize: number;
8
- /** 数据总数 */
9
- total?: number;
10
- /** 总页数 (优先级高于total计算) */
11
- totalPages?: number;
12
- /** 页码改变的回调 */
13
- onChange?: (page: number, pageSize: number) => void;
14
- /** 每页条数改变的回调 */
15
- onShowSizeChange?: (current: number, size: number) => void;
16
- /** 是否显示每页条数选择器 */
17
- showSizeChanger?: boolean;
18
- /** 每页条数选择器选项 */
19
- pageSizeOptions?: string[];
20
- /** 是否显示快速跳转 */
21
- showQuickJumper?: boolean;
22
- /** 是否显示总数 */
23
- showTotal?: (total: number, range: [number, number]) => React.ReactNode;
24
- /** 自定义类名 */
25
- className?: string;
26
- /** 禁用状态 */
27
- disabled?: boolean;
28
- }
29
- declare const Pagination: React.FC<PaginationProps>;
30
- export default Pagination;
@@ -1 +0,0 @@
1
- export { default } from './Pagination';
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import './ScrollLoader.less';
3
- export interface ScrollLoadState {
4
- canLoadMore: boolean;
5
- totalLoaded: number;
6
- }
7
- export interface ScrollLoaderProps {
8
- /** 是否正在加载 */
9
- loading: boolean;
10
- /** 滚动加载状态 */
11
- scrollLoadState?: ScrollLoadState | null;
12
- /** 布局方向 */
13
- layoutDirection: 'horizontal' | 'vertical';
14
- /** 分页类型 */
15
- paginationType: 'all' | 'scroll' | 'pager' | 'more';
16
- }
17
- declare const ScrollLoader: React.FC<ScrollLoaderProps>;
18
- export default ScrollLoader;
@@ -1,2 +0,0 @@
1
- export { default } from './ScrollLoader';
2
- export type { ScrollLoaderProps, ScrollLoadState } from './ScrollLoader';
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import './Tab.less';
3
- import { TabProps } from './types';
4
- declare const Tab: React.FC<TabProps>;
5
- export default Tab;
@@ -1,2 +0,0 @@
1
- export { default } from './Tab';
2
- export type { TabProps } from './types';
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import { TabItem } from '../../types';
3
- export interface TabProps {
4
- /** 类名 */
5
- className?: string;
6
- /** 样式 */
7
- style?: React.CSSProperties;
8
- /** 当前激活的tab */
9
- activeKey?: string;
10
- /** tab项 */
11
- items: TabItem[];
12
- /** tab切换回调 */
13
- onChange?: (key: string) => void;
14
- }
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import './TabSkeleton.less';
3
- interface TabSkeletonProps {
4
- className?: string;
5
- style?: React.CSSProperties;
6
- tabCount?: number;
7
- animated?: boolean;
8
- tabStyle?: 'switch' | 'anchor';
9
- }
10
- declare const TabSkeleton: React.FC<TabSkeletonProps>;
11
- export default TabSkeleton;
@@ -1,2 +0,0 @@
1
- export { default } from './TabSkeleton';
2
- export { default as TabSkeleton } from './TabSkeleton';
@@ -1,33 +0,0 @@
1
- import React, { ReactNode } from 'react';
2
- import { WaterfallLayout } from '../../hooks/useWaterfall';
3
- import './WaterfallList.less';
4
- export interface WaterfallListProps<TItem extends {
5
- id: string | number;
6
- height?: number;
7
- width?: number;
8
- } = any> {
9
- /** 瀑布流布局数据 */
10
- layout: WaterfallLayout<TItem>;
11
- /** 布局方向 */
12
- layoutDirection: 'horizontal' | 'vertical';
13
- /** 列间距 */
14
- columnGap: number;
15
- /** 行间距 */
16
- rowGap: number;
17
- /** 列数 */
18
- columns: number;
19
- /** 行数 */
20
- rows: number;
21
- /** 注册元素引用的函数 */
22
- registerItemRef: (id: string | number, element: HTMLElement | null) => void;
23
- /** 子元素 */
24
- children?: ReactNode;
25
- /** 自定义渲染函数 */
26
- renderItem?: (item: TItem, index: number) => ReactNode;
27
- }
28
- declare const WaterfallList: <TItem extends {
29
- id: string | number;
30
- height?: number | undefined;
31
- width?: number | undefined;
32
- } = any>(props: WaterfallListProps<TItem>) => React.ReactElement;
33
- export default WaterfallList;
@@ -1,2 +0,0 @@
1
- export { default } from './WaterfallList';
2
- export type { WaterfallListProps } from './WaterfallList';
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const GroupedListExample: React.FC;
3
- export default GroupedListExample;
@@ -1,5 +0,0 @@
1
- export { useDevice, getUserAgentInfo } from './useDevice';
2
- export type { DeviceType, DeviceInfo } from './useDevice';
3
- export { default as useWaterfall } from './useWaterfall';
4
- export { useListState } from './useListState';
5
- export type { ListState, ListAction, UseListStateProps, UseListStateReturn } from './useListState';
@@ -1,24 +0,0 @@
1
- export declare type DeviceType = 'pc' | 'pad' | 'mobile';
2
- export interface DeviceInfo {
3
- type: DeviceType;
4
- isMobile: boolean;
5
- isPad: boolean;
6
- isPc: boolean;
7
- width: number;
8
- height: number;
9
- }
10
- /**
11
- * 设备检测Hook
12
- * 根据屏幕宽度和用户代理判断当前设备类型
13
- */
14
- export declare const useDevice: () => DeviceInfo;
15
- /**
16
- * 获取用户代理信息
17
- * @returns 用户代理相关信息
18
- */
19
- export declare const getUserAgentInfo: () => {
20
- isMobileUA: boolean;
21
- isTabletUA: boolean;
22
- isDesktopUA: boolean;
23
- userAgent: string;
24
- };