@pisell/private-materials 6.11.48 → 6.11.49

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 (537) 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 +1 -1
  5. package/build/lowcode/render/default/view.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  8. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  9. package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +5 -0
  10. package/es/components/booking/info/service/serviceManager/distributeDiscount.js +26 -3
  11. package/es/components/booking/info/service2/Group/utils.js +8 -0
  12. package/es/components/booking/info/service2/utils.d.ts +1 -1
  13. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  14. package/es/components/booking/info2/service/editService/index.js +2 -23
  15. package/es/components/eftposPay/amount.d.ts +1 -1
  16. package/es/components/eftposPay/device.d.ts +1 -1
  17. package/es/components/eftposPay/hooks.d.ts +2 -2
  18. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  19. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  20. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  21. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  22. package/es/components/pay/toC/utils.d.ts +2 -2
  23. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  24. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  25. package/es/plus/orderList/config.d.ts +2 -2
  26. package/es/plus/pisellSalesManagement/config/booking.d.ts +6 -6
  27. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  28. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  29. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  30. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  31. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
  32. package/es/pro/Selector/Selector.d.ts +1 -1
  33. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  34. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  35. package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +5 -0
  36. package/lib/components/booking/info/service/serviceManager/distributeDiscount.js +29 -6
  37. package/lib/components/booking/info/service2/Group/utils.js +8 -0
  38. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  39. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  40. package/lib/components/booking/info2/service/editService/index.js +8 -22
  41. package/lib/components/eftposPay/amount.d.ts +1 -1
  42. package/lib/components/eftposPay/device.d.ts +1 -1
  43. package/lib/components/eftposPay/hooks.d.ts +2 -2
  44. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  45. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  46. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  47. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  48. package/lib/components/pay/toC/utils.d.ts +2 -2
  49. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  50. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  51. package/lib/plus/orderList/config.d.ts +2 -2
  52. package/lib/plus/pisellSalesManagement/config/booking.d.ts +6 -6
  53. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  54. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  55. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  56. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  57. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
  58. package/lib/pro/Selector/Selector.d.ts +1 -1
  59. package/package.json +3 -3
  60. package/es/components/Sales/Cart/utils.d.ts +0 -68
  61. package/es/components/Sales/Checkout/utils.d.ts +0 -41
  62. package/es/components/Sales/Summary/index.d.ts +0 -37
  63. package/es/components/Sales/Summary/utils.d.ts +0 -58
  64. package/es/components/appointmentBooking/locales.d.ts +0 -606
  65. package/es/components/booking/components/voucher/utils.d.ts +0 -4
  66. package/es/components/booking/dashboard/serve.d.ts +0 -2
  67. package/es/components/booking/editBookingModal/utils.d.ts +0 -12
  68. package/es/components/booking/forms/serve.d.ts +0 -18
  69. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  70. package/es/components/booking/info/client/serve.d.ts +0 -2
  71. package/es/components/booking/info/hooks/useHolderConfig.d.ts +0 -10
  72. package/es/components/booking/info/pet/serve.d.ts +0 -1
  73. package/es/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
  74. package/es/components/booking/info/service/editService/constants.d.ts +0 -1
  75. package/es/components/booking/info/service/serve.d.ts +0 -34
  76. package/es/components/booking/info2/cartClientCard/locales.d.ts +0 -33
  77. package/es/components/booking/info2/cartClientCard/types.d.ts +0 -19
  78. package/es/components/booking/info2/cartClientCard/utils.d.ts +0 -3
  79. package/es/components/booking/info2/model/index.d.ts +0 -1
  80. package/es/components/booking/info2/model/strategy/adapter/index.d.ts +0 -7
  81. package/es/components/booking/info2/model/strategy/adapter/promotion/evaluator.d.ts +0 -185
  82. package/es/components/booking/info2/model/strategy/adapter/promotion/type.d.ts +0 -420
  83. package/es/components/booking/info2/model/strategy/adapter/type.d.ts +0 -28
  84. package/es/components/booking/info2/model/strategy/adapter/walletPass/evaluator.d.ts +0 -84
  85. package/es/components/booking/info2/model/strategy/adapter/walletPass/example.d.ts +0 -4
  86. package/es/components/booking/info2/model/strategy/adapter/walletPass/index.d.ts +0 -32
  87. package/es/components/booking/info2/model/strategy/adapter/walletPass/locales.d.ts +0 -1
  88. package/es/components/booking/info2/model/strategy/adapter/walletPass/type.d.ts +0 -165
  89. package/es/components/booking/info2/model/strategy/adapter/walletPass/utils.d.ts +0 -50
  90. package/es/components/booking/info2/model/strategy/index.d.ts +0 -107
  91. package/es/components/booking/info2/model/strategy/strategy-example.d.ts +0 -5
  92. package/es/components/booking/info2/model/strategy/type.d.ts +0 -228
  93. package/es/components/booking/info2/serve.d.ts +0 -6
  94. package/es/components/booking/info2/service/openNormalService.d.ts +0 -37
  95. package/es/components/booking/locales.d.ts +0 -1586
  96. package/es/components/checkout/components/AdditionalModule/locales.d.ts +0 -58
  97. package/es/components/checkout/components/PaymentResultToast/types.d.ts +0 -59
  98. package/es/components/checkout/components/PaymentResultToast/utils.d.ts +0 -44
  99. package/es/components/checkout/components/ScrollableList/index.d.ts +0 -5
  100. package/es/components/checkout/components/ScrollableList/types.d.ts +0 -53
  101. package/es/components/checkout/components/WalletPassModule/types.d.ts +0 -134
  102. package/es/components/checkout/constants.d.ts +0 -2
  103. package/es/components/checkout/hooks/usePaymentLogger.d.ts +0 -2
  104. package/es/components/checkout/locales.d.ts +0 -856
  105. package/es/components/checkout/styles.d.ts +0 -67
  106. package/es/components/checkout/types.d.ts +0 -130
  107. package/es/components/checkout/utils.d.ts +0 -3
  108. package/es/components/ecocup/components/CupActionModal/hooks.d.ts +0 -5
  109. package/es/components/ecocup/components/CupStatusModal/hooks.d.ts +0 -36
  110. package/es/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +0 -14
  111. package/es/components/ecocup/components/SearchBar/const.d.ts +0 -4
  112. package/es/components/ecocup/components/SettingModal/const.d.ts +0 -6
  113. package/es/components/ecocup/cupList/const.d.ts +0 -144
  114. package/es/components/ecocup/cupProject/const.d.ts +0 -7
  115. package/es/components/ecocup/customerList/const.d.ts +0 -44
  116. package/es/components/ecocup/customerList/hooks/index.d.ts +0 -3
  117. package/es/components/ecocup/customerList/hooks/useColumns.d.ts +0 -15
  118. package/es/components/ecocup/customerList/hooks/useCustomerApi.d.ts +0 -15
  119. package/es/components/ecocup/hooks.d.ts +0 -57
  120. package/es/components/ecocup/locales.d.ts +0 -653
  121. package/es/components/ecocup/types.d.ts +0 -103
  122. package/es/components/ecocup/utils/download.d.ts +0 -7
  123. package/es/components/ecocup/utils/index.d.ts +0 -2
  124. package/es/components/ecocup/utils/scanListener.d.ts +0 -20
  125. package/es/components/eftpos/const.d.ts +0 -64
  126. package/es/components/eftpos/hooks.d.ts +0 -33
  127. package/es/components/eftpos/locales.d.ts +0 -163
  128. package/es/components/eftposPay/aggregatePayment/index.d.ts +0 -3
  129. package/es/components/eftposPay/aggregatePayment/types.d.ts +0 -106
  130. package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +0 -139
  131. package/es/components/eftposPay/const.d.ts +0 -195
  132. package/es/components/eftposPay/huifu/hooks.d.ts +0 -25
  133. package/es/components/eftposPay/huifu/types.d.ts +0 -14
  134. package/es/components/eftposPay/locales.d.ts +0 -608
  135. package/es/components/eftposPay/manufacturer.d.ts +0 -8
  136. package/es/components/eftposPay/store/index.d.ts +0 -362
  137. package/es/components/eventBooking/components/Voucher/components/locales.d.ts +0 -61
  138. package/es/components/eventBooking/components/Voucher/hooks.d.ts +0 -7
  139. package/es/components/kioskSkuDetail/locales.d.ts +0 -43
  140. package/es/components/list/TestResponsiveWrapper.d.ts +0 -8
  141. package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +0 -13
  142. package/es/components/list/components/ListItemSkeleton/index.d.ts +0 -2
  143. package/es/components/list/components/ScrollLoader/ScrollLoader.d.ts +0 -18
  144. package/es/components/list/components/ScrollLoader/index.d.ts +0 -2
  145. package/es/components/list/components/Tab/Tab.d.ts +0 -5
  146. package/es/components/list/components/Tab/index.d.ts +0 -2
  147. package/es/components/list/components/Tab/types.d.ts +0 -14
  148. package/es/components/list/components/TabSkeleton/TabSkeleton.d.ts +0 -11
  149. package/es/components/list/components/TabSkeleton/index.d.ts +0 -2
  150. package/es/components/list/components/WaterfallList/WaterfallList.d.ts +0 -33
  151. package/es/components/list/components/WaterfallList/index.d.ts +0 -2
  152. package/es/components/list/hooks/useDevice.d.ts +0 -24
  153. package/es/components/list/hooks/useWaterfall.d.ts +0 -34
  154. package/es/components/list/locales.d.ts +0 -108
  155. package/es/components/list/types.d.ts +0 -181
  156. package/es/components/list/utils/getText.d.ts +0 -53
  157. package/es/components/list/utils/index.d.ts +0 -19
  158. package/es/components/pay/toB/components/Content/utils.d.ts +0 -16
  159. package/es/components/pay/toB/components/MX51/index.d.ts +0 -3
  160. package/es/components/pay/toB/hooks.d.ts +0 -12
  161. package/es/components/pay/toB/locales.d.ts +0 -88
  162. package/es/components/pay/toB/store/context.d.ts +0 -3
  163. package/es/components/pay/toB/store/hooks.d.ts +0 -15
  164. package/es/components/pay/toB/store/index.d.ts +0 -3
  165. package/es/components/pay/toB/store/provider.d.ts +0 -4
  166. package/es/components/pay/toB/types/index.d.ts +0 -81
  167. package/es/components/pay/toB/types/storeTypes.d.ts +0 -143
  168. package/es/components/pay/toC/PaymentList/utils.d.ts +0 -36
  169. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -7
  170. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -3
  171. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -3
  172. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -4
  173. package/es/components/pay/toC/PaymentMethods/StripePay/index.d.ts +0 -10
  174. package/es/components/pay/toC/locales.d.ts +0 -511
  175. package/es/components/pisellSelectCustomerModal/locales.d.ts +0 -133
  176. package/es/components/ruleSetting/locales.d.ts +0 -78
  177. package/es/components/schedules/locales.d.ts +0 -143
  178. package/es/components/shoppingCart/Provider.d.ts +0 -3
  179. package/es/components/shoppingCart/locales.d.ts +0 -93
  180. package/es/components/shoppingCart/mock.d.ts +0 -54
  181. package/es/components/shoppingCart/type.d.ts +0 -58
  182. package/es/components/subTotal/locales.d.ts +0 -71
  183. package/es/components/systemSettings/registry/locales.d.ts +0 -525
  184. package/es/components/systemSettings/registry/services.d.ts +0 -97
  185. package/es/components/systemSettings/registry/types.d.ts +0 -139
  186. package/es/components/taxSelect/locales.d.ts +0 -38
  187. package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
  188. package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
  189. package/es/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
  190. package/es/components/ticketBooking/context/IsActiveContext.d.ts +0 -26
  191. package/es/components/ticketBooking/context/OsKeyContext.d.ts +0 -29
  192. package/es/components/ticketBooking/context/index.d.ts +0 -2
  193. package/es/components/ticketBooking/hooks/pisellos/index.d.ts +0 -4
  194. package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +0 -21
  195. package/es/components/ticketBooking/hooks/pisellos/useCartChangeEffect.d.ts +0 -5
  196. package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +0 -25
  197. package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -16
  198. package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +0 -6
  199. package/es/components/ticketBooking/locales.d.ts +0 -340
  200. package/es/components/ticketBooking/utils/edit.d.ts +0 -1
  201. package/es/components/ticketBooking/utils/productCache.d.ts +0 -75
  202. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
  203. package/es/components/workSpaceList/components/Card/constants.d.ts +0 -2
  204. package/es/hooks/printer.d.ts +0 -4
  205. package/es/hooks/useEngineContext.d.ts +0 -4
  206. package/es/hooks/useLocale.d.ts +0 -2
  207. package/es/hooks/useLogger.d.ts +0 -2
  208. package/es/hooks/useThemeTokens.d.ts +0 -7
  209. package/es/hooks/useToast.d.ts +0 -2
  210. package/es/hooks/useWindowSize.d.ts +0 -5
  211. package/es/plus/clientCard/types.d.ts +0 -135
  212. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
  213. package/es/plus/noteModal/locales.d.ts +0 -53
  214. package/es/plus/noteModal/types.d.ts +0 -19
  215. package/es/plus/orderList/locales.d.ts +0 -618
  216. package/es/plus/pisellSalesGrid/locales.d.ts +0 -9
  217. package/es/plus/pisellSalesGrid/types.d.ts +0 -170
  218. package/es/plus/pisellSalesManagement/hooks/perspectiveUtils.d.ts +0 -15
  219. package/es/plus/pisellSalesManagement/locales.d.ts +0 -303
  220. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
  221. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +0 -6
  222. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +0 -6
  223. package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -7
  224. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +0 -6
  225. package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +0 -7
  226. package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -7
  227. package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -4
  228. package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -68
  229. package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -173
  230. package/es/plus/productSelect/ProductCard/SkuCard/type.d.ts +0 -298
  231. package/es/plus/productSelect/ProductCard/SkuCard/utils.d.ts +0 -9
  232. package/es/plus/productSelect/ProductCard/utils.d.ts +0 -49
  233. package/es/plus/productSelect/ProductList/gridComponents.d.ts +0 -46
  234. package/es/plus/productSelect/ProductList/index.d.ts +0 -22
  235. package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
  236. package/es/plus/saasAttendance/locales.d.ts +0 -591
  237. package/es/plus/saasAttendance/settings/types.d.ts +0 -136
  238. package/es/plus/saasTeamMembers/locales.d.ts +0 -546
  239. package/es/plus/selectHolder/locales.d.ts +0 -38
  240. package/es/plus/skuOptionsSelection/hooks/index.d.ts +0 -3
  241. package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +0 -2
  242. package/es/plus/skuOptionsSelection/hooks/useStore.d.ts +0 -2
  243. package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +0 -2
  244. package/es/plus/skuOptionsSelection/locales.d.ts +0 -53
  245. package/es/plus/skuOptionsSelection/store/actions.d.ts +0 -22
  246. package/es/plus/skuOptionsSelection/store/createStore.d.ts +0 -15
  247. package/es/plus/skuOptionsSelection/store/index.d.ts +0 -2
  248. package/es/plus/skuOptionsSelection/store/store.d.ts +0 -4
  249. package/es/plus/skuOptionsSelection/types.d.ts +0 -445
  250. package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +0 -6
  251. package/es/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +0 -37
  252. package/es/plus/skuOptionsSelection/utils/index.d.ts +0 -7
  253. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
  254. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
  255. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
  256. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
  257. package/es/plus/webPosLogin/components/MediaDisplay/type.d.ts +0 -54
  258. package/es/plus/webPosLogin/locales.d.ts +0 -92
  259. package/es/plus/webPosLogin/types.d.ts +0 -288
  260. package/es/pro/Cards/components/SKUCard/locales.d.ts +0 -12
  261. package/es/pro/Cards/components/SKUCard/types.d.ts +0 -73
  262. package/es/pro/Login2.0/locales.d.ts +0 -903
  263. package/es/pro/Login2.0/shared/types.d.ts +0 -234
  264. package/es/pro/NumberKeyboardPopover/types.d.ts +0 -31
  265. package/es/pro/Selector/BatchSelectorDemo.d.ts +0 -3
  266. package/es/pro/Selector/Selector.stories.d.ts +0 -78
  267. package/es/pro/Selector/components/Card/index.d.ts +0 -57
  268. package/es/pro/Selector/components/Card/types.d.ts +0 -1
  269. package/es/pro/Selector/components/Indicator/index.d.ts +0 -20
  270. package/es/pro/Selector/components/IntersectionObserver.d.ts +0 -105
  271. package/es/pro/Selector/components/LayoutContainer/index.d.ts +0 -18
  272. package/es/pro/Selector/components/Media/index.d.ts +0 -6
  273. package/es/pro/Selector/components/Media/types.d.ts +0 -47
  274. package/es/pro/Selector/components/index.d.ts +0 -4
  275. package/es/pro/Selector/demo.d.ts +0 -3
  276. package/es/pro/Selector/hooks/usePresetItemProps.d.ts +0 -43
  277. package/es/pro/Selector/hooks/usePresetProps.d.ts +0 -24
  278. package/es/pro/Selector/locales.d.ts +0 -58
  279. package/es/pro/Selector/types.d.ts +0 -223
  280. package/es/pro/Selector/utils/index.d.ts +0 -49
  281. package/es/pro/keyboards/locales.d.ts +0 -38
  282. package/es/pro/keyboards/numberKeyboard/types.d.ts +0 -63
  283. package/es/pro/multiDayTimeSelect/types.d.ts +0 -28
  284. package/es/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
  285. package/es/pro/pisellPriceKeyboardPopover/index.d.ts +0 -2
  286. package/es/pro/pisellPriceKeyboardPopover/types.d.ts +0 -33
  287. package/es/pro/pisellSimplePriceKeyboardPopover/types.d.ts +0 -33
  288. package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +0 -63
  289. package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +0 -98
  290. package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +0 -68
  291. package/es/pro/priceKeyboard/components/discountKeyboard/types.d.ts +0 -17
  292. package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +0 -73
  293. package/es/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +0 -39
  294. package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +0 -18
  295. package/es/pro/skuDetailModal/locales.d.ts +0 -159
  296. package/es/pro/skuDetailModal/types.d.ts +0 -395
  297. package/es/pro/skuDetailModal/utils.d.ts +0 -4
  298. package/es/test/setup.d.ts +0 -1
  299. package/lib/components/Sales/Cart/utils.d.ts +0 -68
  300. package/lib/components/Sales/Checkout/utils.d.ts +0 -41
  301. package/lib/components/Sales/Summary/index.d.ts +0 -37
  302. package/lib/components/Sales/Summary/utils.d.ts +0 -58
  303. package/lib/components/appointmentBooking/locales.d.ts +0 -606
  304. package/lib/components/booking/components/voucher/utils.d.ts +0 -4
  305. package/lib/components/booking/dashboard/serve.d.ts +0 -2
  306. package/lib/components/booking/editBookingModal/utils.d.ts +0 -12
  307. package/lib/components/booking/forms/serve.d.ts +0 -18
  308. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  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/pet/serve.d.ts +0 -1
  312. package/lib/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
  313. package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
  314. package/lib/components/booking/info/service/serve.d.ts +0 -34
  315. package/lib/components/booking/info2/cartClientCard/locales.d.ts +0 -33
  316. package/lib/components/booking/info2/cartClientCard/types.d.ts +0 -19
  317. package/lib/components/booking/info2/cartClientCard/utils.d.ts +0 -3
  318. package/lib/components/booking/info2/model/index.d.ts +0 -1
  319. package/lib/components/booking/info2/model/strategy/adapter/index.d.ts +0 -7
  320. package/lib/components/booking/info2/model/strategy/adapter/promotion/evaluator.d.ts +0 -185
  321. package/lib/components/booking/info2/model/strategy/adapter/promotion/type.d.ts +0 -420
  322. package/lib/components/booking/info2/model/strategy/adapter/type.d.ts +0 -28
  323. package/lib/components/booking/info2/model/strategy/adapter/walletPass/evaluator.d.ts +0 -84
  324. package/lib/components/booking/info2/model/strategy/adapter/walletPass/example.d.ts +0 -4
  325. package/lib/components/booking/info2/model/strategy/adapter/walletPass/index.d.ts +0 -32
  326. package/lib/components/booking/info2/model/strategy/adapter/walletPass/locales.d.ts +0 -1
  327. package/lib/components/booking/info2/model/strategy/adapter/walletPass/type.d.ts +0 -165
  328. package/lib/components/booking/info2/model/strategy/adapter/walletPass/utils.d.ts +0 -50
  329. package/lib/components/booking/info2/model/strategy/index.d.ts +0 -107
  330. package/lib/components/booking/info2/model/strategy/strategy-example.d.ts +0 -5
  331. package/lib/components/booking/info2/model/strategy/type.d.ts +0 -228
  332. package/lib/components/booking/info2/serve.d.ts +0 -6
  333. package/lib/components/booking/info2/service/openNormalService.d.ts +0 -37
  334. package/lib/components/booking/locales.d.ts +0 -1586
  335. package/lib/components/checkout/components/AdditionalModule/locales.d.ts +0 -58
  336. package/lib/components/checkout/components/PaymentResultToast/types.d.ts +0 -59
  337. package/lib/components/checkout/components/PaymentResultToast/utils.d.ts +0 -44
  338. package/lib/components/checkout/components/ScrollableList/index.d.ts +0 -5
  339. package/lib/components/checkout/components/ScrollableList/types.d.ts +0 -53
  340. package/lib/components/checkout/components/WalletPassModule/types.d.ts +0 -134
  341. package/lib/components/checkout/constants.d.ts +0 -2
  342. package/lib/components/checkout/hooks/usePaymentLogger.d.ts +0 -2
  343. package/lib/components/checkout/locales.d.ts +0 -856
  344. package/lib/components/checkout/styles.d.ts +0 -67
  345. package/lib/components/checkout/types.d.ts +0 -130
  346. package/lib/components/checkout/utils.d.ts +0 -3
  347. package/lib/components/ecocup/components/CupActionModal/hooks.d.ts +0 -5
  348. package/lib/components/ecocup/components/CupStatusModal/hooks.d.ts +0 -36
  349. package/lib/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +0 -14
  350. package/lib/components/ecocup/components/SearchBar/const.d.ts +0 -4
  351. package/lib/components/ecocup/components/SettingModal/const.d.ts +0 -6
  352. package/lib/components/ecocup/cupList/const.d.ts +0 -144
  353. package/lib/components/ecocup/cupProject/const.d.ts +0 -7
  354. package/lib/components/ecocup/customerList/const.d.ts +0 -44
  355. package/lib/components/ecocup/customerList/hooks/index.d.ts +0 -3
  356. package/lib/components/ecocup/customerList/hooks/useColumns.d.ts +0 -15
  357. package/lib/components/ecocup/customerList/hooks/useCustomerApi.d.ts +0 -15
  358. package/lib/components/ecocup/hooks.d.ts +0 -57
  359. package/lib/components/ecocup/locales.d.ts +0 -653
  360. package/lib/components/ecocup/types.d.ts +0 -103
  361. package/lib/components/ecocup/utils/download.d.ts +0 -7
  362. package/lib/components/ecocup/utils/index.d.ts +0 -2
  363. package/lib/components/ecocup/utils/scanListener.d.ts +0 -20
  364. package/lib/components/eftpos/const.d.ts +0 -64
  365. package/lib/components/eftpos/hooks.d.ts +0 -33
  366. package/lib/components/eftpos/locales.d.ts +0 -163
  367. package/lib/components/eftposPay/aggregatePayment/index.d.ts +0 -3
  368. package/lib/components/eftposPay/aggregatePayment/types.d.ts +0 -106
  369. package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +0 -139
  370. package/lib/components/eftposPay/const.d.ts +0 -195
  371. package/lib/components/eftposPay/huifu/hooks.d.ts +0 -25
  372. package/lib/components/eftposPay/huifu/types.d.ts +0 -14
  373. package/lib/components/eftposPay/locales.d.ts +0 -608
  374. package/lib/components/eftposPay/manufacturer.d.ts +0 -8
  375. package/lib/components/eftposPay/store/index.d.ts +0 -362
  376. package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +0 -61
  377. package/lib/components/eventBooking/components/Voucher/hooks.d.ts +0 -7
  378. package/lib/components/kioskSkuDetail/locales.d.ts +0 -43
  379. package/lib/components/list/TestResponsiveWrapper.d.ts +0 -8
  380. package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +0 -13
  381. package/lib/components/list/components/ListItemSkeleton/index.d.ts +0 -2
  382. package/lib/components/list/components/ScrollLoader/ScrollLoader.d.ts +0 -18
  383. package/lib/components/list/components/ScrollLoader/index.d.ts +0 -2
  384. package/lib/components/list/components/Tab/Tab.d.ts +0 -5
  385. package/lib/components/list/components/Tab/index.d.ts +0 -2
  386. package/lib/components/list/components/Tab/types.d.ts +0 -14
  387. package/lib/components/list/components/TabSkeleton/TabSkeleton.d.ts +0 -11
  388. package/lib/components/list/components/TabSkeleton/index.d.ts +0 -2
  389. package/lib/components/list/components/WaterfallList/WaterfallList.d.ts +0 -33
  390. package/lib/components/list/components/WaterfallList/index.d.ts +0 -2
  391. package/lib/components/list/hooks/useDevice.d.ts +0 -24
  392. package/lib/components/list/hooks/useWaterfall.d.ts +0 -34
  393. package/lib/components/list/locales.d.ts +0 -108
  394. package/lib/components/list/types.d.ts +0 -181
  395. package/lib/components/list/utils/getText.d.ts +0 -53
  396. package/lib/components/list/utils/index.d.ts +0 -19
  397. package/lib/components/pay/toB/components/Content/utils.d.ts +0 -16
  398. package/lib/components/pay/toB/components/MX51/index.d.ts +0 -3
  399. package/lib/components/pay/toB/hooks.d.ts +0 -12
  400. package/lib/components/pay/toB/locales.d.ts +0 -88
  401. package/lib/components/pay/toB/store/context.d.ts +0 -3
  402. package/lib/components/pay/toB/store/hooks.d.ts +0 -15
  403. package/lib/components/pay/toB/store/index.d.ts +0 -3
  404. package/lib/components/pay/toB/store/provider.d.ts +0 -4
  405. package/lib/components/pay/toB/types/index.d.ts +0 -81
  406. package/lib/components/pay/toB/types/storeTypes.d.ts +0 -143
  407. package/lib/components/pay/toC/PaymentList/utils.d.ts +0 -36
  408. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -7
  409. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -3
  410. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -3
  411. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -4
  412. package/lib/components/pay/toC/PaymentMethods/StripePay/index.d.ts +0 -10
  413. package/lib/components/pay/toC/locales.d.ts +0 -511
  414. package/lib/components/pisellSelectCustomerModal/locales.d.ts +0 -133
  415. package/lib/components/ruleSetting/locales.d.ts +0 -78
  416. package/lib/components/schedules/locales.d.ts +0 -143
  417. package/lib/components/shoppingCart/Provider.d.ts +0 -3
  418. package/lib/components/shoppingCart/locales.d.ts +0 -93
  419. package/lib/components/shoppingCart/mock.d.ts +0 -54
  420. package/lib/components/shoppingCart/type.d.ts +0 -58
  421. package/lib/components/subTotal/locales.d.ts +0 -71
  422. package/lib/components/systemSettings/registry/locales.d.ts +0 -525
  423. package/lib/components/systemSettings/registry/services.d.ts +0 -97
  424. package/lib/components/systemSettings/registry/types.d.ts +0 -139
  425. package/lib/components/taxSelect/locales.d.ts +0 -38
  426. package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
  427. package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
  428. package/lib/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
  429. package/lib/components/ticketBooking/context/IsActiveContext.d.ts +0 -26
  430. package/lib/components/ticketBooking/context/OsKeyContext.d.ts +0 -29
  431. package/lib/components/ticketBooking/context/index.d.ts +0 -2
  432. package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +0 -4
  433. package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +0 -21
  434. package/lib/components/ticketBooking/hooks/pisellos/useCartChangeEffect.d.ts +0 -5
  435. package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +0 -25
  436. package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -16
  437. package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +0 -6
  438. package/lib/components/ticketBooking/locales.d.ts +0 -340
  439. package/lib/components/ticketBooking/utils/edit.d.ts +0 -1
  440. package/lib/components/ticketBooking/utils/productCache.d.ts +0 -75
  441. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
  442. package/lib/components/workSpaceList/components/Card/constants.d.ts +0 -2
  443. package/lib/hooks/printer.d.ts +0 -4
  444. package/lib/hooks/useEngineContext.d.ts +0 -4
  445. package/lib/hooks/useLocale.d.ts +0 -2
  446. package/lib/hooks/useLogger.d.ts +0 -2
  447. package/lib/hooks/useThemeTokens.d.ts +0 -7
  448. package/lib/hooks/useToast.d.ts +0 -2
  449. package/lib/hooks/useWindowSize.d.ts +0 -5
  450. package/lib/plus/clientCard/types.d.ts +0 -135
  451. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
  452. package/lib/plus/noteModal/locales.d.ts +0 -53
  453. package/lib/plus/noteModal/types.d.ts +0 -19
  454. package/lib/plus/orderList/locales.d.ts +0 -618
  455. package/lib/plus/pisellSalesGrid/locales.d.ts +0 -9
  456. package/lib/plus/pisellSalesGrid/types.d.ts +0 -170
  457. package/lib/plus/pisellSalesManagement/hooks/perspectiveUtils.d.ts +0 -15
  458. package/lib/plus/pisellSalesManagement/locales.d.ts +0 -303
  459. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
  460. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +0 -6
  461. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +0 -6
  462. package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -7
  463. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +0 -6
  464. package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +0 -7
  465. package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -7
  466. package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -4
  467. package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -68
  468. package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -173
  469. package/lib/plus/productSelect/ProductCard/SkuCard/type.d.ts +0 -298
  470. package/lib/plus/productSelect/ProductCard/SkuCard/utils.d.ts +0 -9
  471. package/lib/plus/productSelect/ProductCard/utils.d.ts +0 -49
  472. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +0 -46
  473. package/lib/plus/productSelect/ProductList/index.d.ts +0 -22
  474. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
  475. package/lib/plus/saasAttendance/locales.d.ts +0 -591
  476. package/lib/plus/saasAttendance/settings/types.d.ts +0 -136
  477. package/lib/plus/saasTeamMembers/locales.d.ts +0 -546
  478. package/lib/plus/selectHolder/locales.d.ts +0 -38
  479. package/lib/plus/skuOptionsSelection/hooks/index.d.ts +0 -3
  480. package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +0 -2
  481. package/lib/plus/skuOptionsSelection/hooks/useStore.d.ts +0 -2
  482. package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +0 -2
  483. package/lib/plus/skuOptionsSelection/locales.d.ts +0 -53
  484. package/lib/plus/skuOptionsSelection/store/actions.d.ts +0 -22
  485. package/lib/plus/skuOptionsSelection/store/createStore.d.ts +0 -15
  486. package/lib/plus/skuOptionsSelection/store/index.d.ts +0 -2
  487. package/lib/plus/skuOptionsSelection/store/store.d.ts +0 -4
  488. package/lib/plus/skuOptionsSelection/types.d.ts +0 -445
  489. package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +0 -6
  490. package/lib/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +0 -37
  491. package/lib/plus/skuOptionsSelection/utils/index.d.ts +0 -7
  492. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
  493. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
  494. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
  495. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
  496. package/lib/plus/webPosLogin/components/MediaDisplay/type.d.ts +0 -54
  497. package/lib/plus/webPosLogin/locales.d.ts +0 -92
  498. package/lib/plus/webPosLogin/types.d.ts +0 -288
  499. package/lib/pro/Cards/components/SKUCard/locales.d.ts +0 -12
  500. package/lib/pro/Cards/components/SKUCard/types.d.ts +0 -73
  501. package/lib/pro/Login2.0/locales.d.ts +0 -903
  502. package/lib/pro/Login2.0/shared/types.d.ts +0 -234
  503. package/lib/pro/NumberKeyboardPopover/types.d.ts +0 -31
  504. package/lib/pro/Selector/BatchSelectorDemo.d.ts +0 -3
  505. package/lib/pro/Selector/Selector.stories.d.ts +0 -78
  506. package/lib/pro/Selector/components/Card/index.d.ts +0 -57
  507. package/lib/pro/Selector/components/Card/types.d.ts +0 -1
  508. package/lib/pro/Selector/components/Indicator/index.d.ts +0 -20
  509. package/lib/pro/Selector/components/IntersectionObserver.d.ts +0 -105
  510. package/lib/pro/Selector/components/LayoutContainer/index.d.ts +0 -18
  511. package/lib/pro/Selector/components/Media/index.d.ts +0 -6
  512. package/lib/pro/Selector/components/Media/types.d.ts +0 -47
  513. package/lib/pro/Selector/components/index.d.ts +0 -4
  514. package/lib/pro/Selector/demo.d.ts +0 -3
  515. package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +0 -43
  516. package/lib/pro/Selector/hooks/usePresetProps.d.ts +0 -24
  517. package/lib/pro/Selector/locales.d.ts +0 -58
  518. package/lib/pro/Selector/types.d.ts +0 -223
  519. package/lib/pro/Selector/utils/index.d.ts +0 -49
  520. package/lib/pro/keyboards/locales.d.ts +0 -38
  521. package/lib/pro/keyboards/numberKeyboard/types.d.ts +0 -63
  522. package/lib/pro/multiDayTimeSelect/types.d.ts +0 -28
  523. package/lib/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
  524. package/lib/pro/pisellPriceKeyboardPopover/index.d.ts +0 -2
  525. package/lib/pro/pisellPriceKeyboardPopover/types.d.ts +0 -33
  526. package/lib/pro/pisellSimplePriceKeyboardPopover/types.d.ts +0 -33
  527. package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +0 -63
  528. package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +0 -98
  529. package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +0 -68
  530. package/lib/pro/priceKeyboard/components/discountKeyboard/types.d.ts +0 -17
  531. package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +0 -73
  532. package/lib/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +0 -39
  533. package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +0 -18
  534. package/lib/pro/skuDetailModal/locales.d.ts +0 -159
  535. package/lib/pro/skuDetailModal/types.d.ts +0 -395
  536. package/lib/pro/skuDetailModal/utils.d.ts +0 -4
  537. package/lib/test/setup.d.ts +0 -1
@@ -1,108 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'pisell-list-tab-group-default': string;
4
- 'pisell-list-empty-text-default': string;
5
- 'pisell-list-load-more': string;
6
- 'pisell-list-view-less': string;
7
- 'pisell-list-pagination-total': (start: number, end: number, total: number) => string;
8
- 'pisell-list-pagination-total-fallback': (start: number, end: number, total: number) => string;
9
- 'pisell-list-pagination-page-of': (current: number, total: number) => string;
10
- 'pisell-list-pagination-previous': string;
11
- 'pisell-list-pagination-next': string;
12
- 'pisell-list-scroll-down': string;
13
- 'pisell-list-scroll-right': string;
14
- 'pisell-list-scroll-to-bottom': string;
15
- 'pisell-list-scroll-to-end': string;
16
- 'pisell-list-loading': string;
17
- 'pisell-list-loading-more': string;
18
- 'pisell-list-no-more-data': string;
19
- 'pisell-list-group-title-all': string;
20
- 'pisell-list-load-error': string;
21
- 'pisell-list-retry': string;
22
- };
23
- 'zh-CN': {
24
- 'pisell-list-tab-group-default': string;
25
- 'pisell-list-empty-text-default': string;
26
- 'pisell-list-load-more': string;
27
- 'pisell-list-view-less': string;
28
- 'pisell-list-pagination-total': (start: number, end: number, total: number) => string;
29
- 'pisell-list-pagination-total-fallback': (start: number, end: number, total: number) => string;
30
- 'pisell-list-pagination-page-of': (current: number, total: number) => string;
31
- 'pisell-list-pagination-previous': string;
32
- 'pisell-list-pagination-next': string;
33
- 'pisell-list-scroll-down': string;
34
- 'pisell-list-scroll-right': string;
35
- 'pisell-list-scroll-to-bottom': string;
36
- 'pisell-list-scroll-to-end': string;
37
- 'pisell-list-loading': string;
38
- 'pisell-list-loading-more': string;
39
- 'pisell-list-no-more-data': string;
40
- 'pisell-list-group-title-all': string;
41
- 'pisell-list-load-error': string;
42
- 'pisell-list-retry': string;
43
- };
44
- 'zh-HK': {
45
- 'pisell-list-tab-group-default': string;
46
- 'pisell-list-empty-text-default': string;
47
- 'pisell-list-load-more': string;
48
- 'pisell-list-view-less': string;
49
- 'pisell-list-pagination-total': (start: number, end: number, total: number) => string;
50
- 'pisell-list-pagination-total-fallback': (start: number, end: number, total: number) => string;
51
- 'pisell-list-pagination-page-of': (current: number, total: number) => string;
52
- 'pisell-list-pagination-previous': string;
53
- 'pisell-list-pagination-next': string;
54
- 'pisell-list-scroll-down': string;
55
- 'pisell-list-scroll-right': string;
56
- 'pisell-list-scroll-to-bottom': string;
57
- 'pisell-list-scroll-to-end': string;
58
- 'pisell-list-loading': string;
59
- 'pisell-list-loading-more': string;
60
- 'pisell-list-no-more-data': string;
61
- 'pisell-list-group-title-all': string;
62
- 'pisell-list-load-error': string;
63
- 'pisell-list-retry': string;
64
- };
65
- ja: {
66
- 'pisell-list-tab-group-default': string;
67
- 'pisell-list-empty-text-default': string;
68
- 'pisell-list-load-more': string;
69
- 'pisell-list-view-less': string;
70
- 'pisell-list-pagination-total': (start: number, end: number, total: number) => string;
71
- 'pisell-list-pagination-total-fallback': (start: number, end: number, total: number) => string;
72
- 'pisell-list-pagination-page-of': (current: number, total: number) => string;
73
- 'pisell-list-pagination-previous': string;
74
- 'pisell-list-pagination-next': string;
75
- 'pisell-list-scroll-down': string;
76
- 'pisell-list-scroll-right': string;
77
- 'pisell-list-scroll-to-bottom': string;
78
- 'pisell-list-scroll-to-end': string;
79
- 'pisell-list-loading': string;
80
- 'pisell-list-loading-more': string;
81
- 'pisell-list-no-more-data': string;
82
- 'pisell-list-group-title-all': string;
83
- 'pisell-list-load-error': string;
84
- 'pisell-list-retry': string;
85
- };
86
- pt: {
87
- 'pisell-list-tab-group-default': string;
88
- 'pisell-list-empty-text-default': string;
89
- 'pisell-list-load-more': string;
90
- 'pisell-list-view-less': string;
91
- 'pisell-list-pagination-total': (start: number, end: number, total: number) => string;
92
- 'pisell-list-pagination-total-fallback': (start: number, end: number, total: number) => string;
93
- 'pisell-list-pagination-page-of': (current: number, total: number) => string;
94
- 'pisell-list-pagination-previous': string;
95
- 'pisell-list-pagination-next': string;
96
- 'pisell-list-scroll-down': string;
97
- 'pisell-list-scroll-right': string;
98
- 'pisell-list-scroll-to-bottom': string;
99
- 'pisell-list-scroll-to-end': string;
100
- 'pisell-list-loading': string;
101
- 'pisell-list-loading-more': string;
102
- 'pisell-list-no-more-data': string;
103
- 'pisell-list-group-title-all': string;
104
- 'pisell-list-load-error': string;
105
- 'pisell-list-retry': string;
106
- };
107
- };
108
- export default _default;
@@ -1,181 +0,0 @@
1
- import { ReactNode, CSSProperties } from 'react';
2
- /** 设备类型 */
3
- export declare type DeviceType = 'pc' | 'pad' | 'mobile';
4
- /** 设备信息 */
5
- export interface DeviceInfo {
6
- type: DeviceType;
7
- isMobile: boolean;
8
- isPad: boolean;
9
- isPc: boolean;
10
- width: number;
11
- height: number;
12
- }
13
- /** 响应式配置接口 */
14
- export interface ResponsiveConfig {
15
- /** PC端特定配置 */
16
- pc?: Partial<ListProps>;
17
- /** 平板端特定配置 */
18
- pad?: Partial<ListProps>;
19
- /** 移动端特定配置 */
20
- mobile?: Partial<ListProps>;
21
- }
22
- /** 响应式Props接口 - 继承ListProps并添加responsive属性 */
23
- export interface ResponsiveProps extends ListProps {
24
- /** 响应式配置 */
25
- responsive?: ResponsiveConfig;
26
- }
27
- /** ResponsiveWrapper 组件属性 */
28
- export interface ResponsiveWrapperProps extends ResponsiveProps {
29
- /** 子元素 */
30
- children?: ReactNode;
31
- }
32
- /** 基础列表项接口 */
33
- export interface BaseListItem {
34
- /** 唯一标识 */
35
- id: string | number;
36
- /** 预设高度(瀑布流模式) */
37
- height?: number;
38
- /** 预设宽度(瀑布流模式) */
39
- width?: number;
40
- /** 其他任意属性,可以包含用于分组的字段 */
41
- [key: string]: any;
42
- }
43
- /** 空状态配置接口 */
44
- export interface EmptyStateConfig {
45
- /** 是否显示空状态 */
46
- show?: boolean;
47
- /** 空状态文本 */
48
- text?: string;
49
- /** 空状态图标 */
50
- icon?: ReactNode;
51
- /** 空状态描述 */
52
- description?: string;
53
- }
54
- /** 分页信息接口 */
55
- export interface PaginationInfo {
56
- /** 当前页数 */
57
- current?: number;
58
- /** 总页数 */
59
- total?: number;
60
- /** 总数据条数 */
61
- totalCount?: number;
62
- }
63
- /** 布局配置接口 */
64
- export interface LayoutConfig {
65
- /** 显示样式 */
66
- displayStyle?: 'grid' | 'waterfall';
67
- /** 排版方式 */
68
- layoutDirection?: 'horizontal' | 'vertical';
69
- /** 列数 */
70
- columns?: number;
71
- /** 行数 */
72
- rows?: number;
73
- /** 列间距 */
74
- columnGap?: number;
75
- /** 行间距 */
76
- rowGap?: number;
77
- /** 缩放倍率 */
78
- zoom?: number;
79
- }
80
- /** Tab配置接口 */
81
- export interface TabConfig {
82
- /** tab样式 */
83
- tabStyle?: 'anchor' | 'switch' | 'none';
84
- /** 指定用于分组的数据字段名,例如 'category'、'type' 等 */
85
- tabGroup?: string;
86
- /** Tab数据源 */
87
- tabData?: TabItem[];
88
- /** 顶部固定 */
89
- stickyTop?: boolean;
90
- }
91
- /** 分页配置接口 */
92
- export interface PaginationConfig {
93
- /** 分页方式 */
94
- paginationType?: 'all' | 'scroll' | 'pager' | 'more';
95
- /** 默认显示个数 */
96
- defaultPageSize?: number;
97
- /** 每次加载个数 */
98
- pageSize?: number;
99
- /** 分页信息 */
100
- pagination?: PaginationInfo;
101
- }
102
- /** 泛型List组件Props接口 */
103
- export interface ListProps<TItem extends BaseListItem = BaseListItem> {
104
- /** 基础属性 */
105
- className?: string;
106
- style?: CSSProperties;
107
- width?: string | number;
108
- height?: string | number;
109
- /** 布局配置 */
110
- displayStyle?: LayoutConfig['displayStyle'];
111
- layoutDirection?: LayoutConfig['layoutDirection'];
112
- columns?: LayoutConfig['columns'];
113
- rows?: LayoutConfig['rows'];
114
- columnGap?: LayoutConfig['columnGap'];
115
- rowGap?: LayoutConfig['rowGap'];
116
- zoom?: LayoutConfig['zoom'];
117
- /** Tab配置 */
118
- tabStyle?: TabConfig['tabStyle'];
119
- tabGroup?: TabConfig['tabGroup'];
120
- tabData?: TabConfig['tabData'];
121
- stickyTop?: TabConfig['stickyTop'];
122
- isTreeTab?: boolean;
123
- /** 分页配置 */
124
- paginationType?: PaginationConfig['paginationType'];
125
- defaultPageSize?: PaginationConfig['defaultPageSize'];
126
- pageSize?: PaginationConfig['pageSize'];
127
- pagination?: PaginationConfig['pagination'];
128
- /** 数据和渲染 */
129
- data?: TItem[];
130
- children?: ReactNode;
131
- renderItem?: (item: TItem, index: number) => ReactNode;
132
- /** 回调函数 */
133
- onLoadData?: (params: LoadDataParams) => void;
134
- /** 状态配置 */
135
- emptyConfig?: EmptyStateConfig;
136
- loading?: boolean;
137
- renderSearch?: () => ReactNode;
138
- onTabSearch?: (val: string) => void;
139
- onActiveTabChange?: (tab: any) => void;
140
- }
141
- /** 向后兼容的非泛型版本 */
142
- export interface LegacyListProps extends ListProps<any> {
143
- /** 兼容旧的any[]类型 */
144
- data?: any[];
145
- renderItem?: (item: any, index: number) => ReactNode;
146
- }
147
- export interface TabItem {
148
- /** 唯一标识,同时用作anchor模式下的锚点标识 */
149
- key: string;
150
- /** 显示文本 */
151
- label: string;
152
- /** 分组值,对应数据项中 tabGroup 指定字段的值 */
153
- group?: string;
154
- /** 是否禁用 */
155
- disabled?: boolean;
156
- }
157
- export interface LoadMoreParams {
158
- /** 当前页码 */
159
- currentPage: number;
160
- /** 每页数量 */
161
- pageSize: number;
162
- /** 当前tab */
163
- activeTab?: string;
164
- }
165
- /** 数据加载触发类型 */
166
- export declare type LoadDataTrigger = 'tabChange' | 'pagination' | 'pageSize' | 'loadMore' | 'scroll';
167
- /** 统一的数据加载参数 */
168
- export interface LoadDataParams {
169
- /** 触发类型 */
170
- trigger: LoadDataTrigger;
171
- /** 当前页码 */
172
- currentPage: number;
173
- /** 每页数量 */
174
- pageSize: number;
175
- /** 当前激活的tab */
176
- activeTab?: string;
177
- /** 上一页页码(分页变化时提供) */
178
- previousPage?: number;
179
- /** 上一页大小(页大小变化时提供) */
180
- previousPageSize?: number;
181
- }
@@ -1,53 +0,0 @@
1
- /**
2
- * 国际化文案获取工具函数
3
- * 参考 AmountSummary 组件的实现方式,使用 useEngineContext 获取语言设置
4
- *
5
- * @example
6
- * ```typescript
7
- * import { useGetText } from './utils';
8
- * import locales from './locales';
9
- *
10
- * const MyComponent = () => {
11
- * const { getText, getTextFunc } = useGetText(locales);
12
- *
13
- * // 获取字符串文案
14
- * const title = getText('component.title', 'Default Title');
15
- *
16
- * // 获取函数类型文案
17
- * const formatFunc = getTextFunc('component.format');
18
- * const formattedText = typeof formatFunc === 'function'
19
- * ? formatFunc(arg1, arg2)
20
- * : 'Default Text';
21
- *
22
- * return <div>{title}</div>;
23
- * };
24
- * ```
25
- */
26
- export declare type SupportedLanguage = 'en' | 'zh-CN' | 'zh-HK' | 'ja' | 'pt';
27
- export interface LocalesObject {
28
- [key: string]: {
29
- [key: string]: string | ((...args: any[]) => string);
30
- };
31
- }
32
- export interface GetTextFunctions {
33
- getText: (key: string, fallback?: string) => string;
34
- getTextFunc: (key: string) => any;
35
- getCurrentLanguage: () => string;
36
- }
37
- /**
38
- * 使用 useEngineContext 创建本地化文案获取函数的 Hook
39
- * @param locales - 本地化文案对象
40
- * @returns getText 和 getTextFunc 函数
41
- */
42
- export declare const useGetText: (locales: LocalesObject) => GetTextFunctions;
43
- /**
44
- * 创建本地化文案获取函数(非 Hook 版本,保持向后兼容)
45
- * @param locales - 本地化文案对象
46
- * @returns getText 和 getTextFunc 函数
47
- * @deprecated 推荐使用 useGetText Hook 版本
48
- */
49
- export declare const createGetText: (locales: LocalesObject) => GetTextFunctions;
50
- /**
51
- * 默认导出:直接创建一个通用的 getText 函数工厂
52
- */
53
- export default createGetText;
@@ -1,19 +0,0 @@
1
- /**
2
- * List 组件工具函数导出
3
- */
4
- export { useGetText, createGetText, default as createGetTextDefault, type SupportedLanguage, type LocalesObject, type GetTextFunctions, } from './getText';
5
- /**
6
- * 根据层级路径数组递归查找对应节点的 productIds
7
- * @param nodes 当前层级的节点列表
8
- * @param levelPath 层级路径数组,每个元素是对应层级的分类 ID
9
- * @param currentLevel 当前遍历的层级索引
10
- * @returns 找到的节点的 productIds,找不到返回空数组
11
- *
12
- * @description
13
- * 特殊逻辑:如果 levelPath 末尾有连续的 0,则去掉所有末尾的 0
14
- * 例如:
15
- * - [1, 2, 0] -> 取 id=2 节点的 productIds
16
- * - [1, 0, 0] -> 取 id=1 节点的 productIds
17
- * - [3, 0, 0, 0] -> 取 id=3 节点的 productIds
18
- */
19
- export declare const findProductIdsByPath: (nodes: any[], levelPath: (string | number)[], currentLevel?: number) => number[];
@@ -1,16 +0,0 @@
1
- import { Order, PayMethod, PayMethodCode } from '../../types';
2
- export declare const isEftposPay: (code: PayMethodCode) => boolean;
3
- /**
4
- * @title: 处理eftpos支付
5
- * @description: 处理eftpos支付
6
- * @param {any} action 引擎action
7
- * @param {any} params 参数
8
- * @param {any} successCallback 成功回调
9
- */
10
- export declare const handleEftposPay: (action: any, params: {
11
- payMethod: PayMethod;
12
- order: Order;
13
- symbol: string;
14
- network: any;
15
- type: string;
16
- }, successCallback: (res: any) => void) => void;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
3
- export default _default;
@@ -1,12 +0,0 @@
1
- /**
2
- * @title: 获取引擎utils
3
- */
4
- export declare const useEngineUtils: () => any;
5
- /**
6
- * @title: 获取当前的语言
7
- */
8
- export declare const useEngineLocale: () => any;
9
- /**
10
- * @title: 获取当前的货币符号
11
- */
12
- export declare const useSymbol: () => any;
@@ -1,88 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'tobPay.text.back': string;
4
- 'tobPay.text.waitPay': string;
5
- 'tobPay.text.card.edit.amount': string;
6
- 'tobPay.text.group.normalPay': string;
7
- 'tobPay.text.group.thirdPay': string;
8
- 'tobPay.text.cancel': string;
9
- 'tobPay.text.submit': string;
10
- 'tobPay.text.confirmed.payment': string;
11
- 'tobPay.text.cash.modal.amount.toPay': string;
12
- 'tobPay.text.cash.modal.input.title': string;
13
- 'tobPay.text.cash.modal.no.change.given': string;
14
- 'tobPay.text.cash.modal.amount.pay.change': (money: string) => string;
15
- 'tobPay.text.cash.modal.amount.left.pay.paid': (money: string) => string;
16
- 'tobPay.text.cash.modal.ok': string;
17
- 'tobPay.text.payment.with.surcharge': string;
18
- };
19
- 'zh-CN': {
20
- 'tobPay.text.back': string;
21
- 'tobPay.text.waitPay': string;
22
- 'tobPay.text.card.edit.amount': string;
23
- 'tobPay.text.group.normalPay': string;
24
- 'tobPay.text.group.thirdPay': string;
25
- 'tobPay.text.cancel': string;
26
- 'tobPay.text.submit': string;
27
- 'tobPay.text.confirmed.payment': string;
28
- 'tobPay.text.cash.modal.amount.toPay': string;
29
- 'tobPay.text.cash.modal.input.title': string;
30
- 'tobPay.text.cash.modal.no.change.given': string;
31
- 'tobPay.text.cash.modal.amount.pay.change': (money: string) => string;
32
- 'tobPay.text.cash.modal.amount.left.pay.paid': (money: string) => string;
33
- 'tobPay.text.cash.modal.ok': string;
34
- 'tobPay.text.payment.with.surcharge': string;
35
- };
36
- 'zh-HK': {
37
- 'tobPay.text.back': string;
38
- 'tobPay.text.waitPay': string;
39
- 'tobPay.text.card.edit.amount': string;
40
- 'tobPay.text.group.normalPay': string;
41
- 'tobPay.text.group.thirdPay': string;
42
- 'tobPay.text.cancel': string;
43
- 'tobPay.text.submit': string;
44
- 'tobPay.text.confirmed.payment': string;
45
- 'tobPay.text.cash.modal.amount.toPay': string;
46
- 'tobPay.text.cash.modal.input.title': string;
47
- 'tobPay.text.cash.modal.no.change.given': string;
48
- 'tobPay.text.cash.modal.amount.pay.change': (money: string) => string;
49
- 'tobPay.text.cash.modal.amount.left.pay.paid': (money: string) => string;
50
- 'tobPay.text.cash.modal.ok': string;
51
- 'tobPay.text.payment.with.surcharge': string;
52
- };
53
- ja: {
54
- 'tobPay.text.back': string;
55
- 'tobPay.text.waitPay': string;
56
- 'tobPay.text.card.edit.amount': string;
57
- 'tobPay.text.group.normalPay': string;
58
- 'tobPay.text.group.thirdPay': string;
59
- 'tobPay.text.cancel': string;
60
- 'tobPay.text.submit': string;
61
- 'tobPay.text.confirmed.payment': string;
62
- 'tobPay.text.cash.modal.amount.toPay': string;
63
- 'tobPay.text.cash.modal.input.title': string;
64
- 'tobPay.text.cash.modal.no.change.given': string;
65
- 'tobPay.text.cash.modal.amount.pay.change': (money: string) => string;
66
- 'tobPay.text.cash.modal.amount.left.pay.paid': (money: string) => string;
67
- 'tobPay.text.cash.modal.ok': string;
68
- 'tobPay.text.payment.with.surcharge': string;
69
- };
70
- pt: {
71
- 'tobPay.text.back': string;
72
- 'tobPay.text.waitPay': string;
73
- 'tobPay.text.card.edit.amount': string;
74
- 'tobPay.text.group.normalPay': string;
75
- 'tobPay.text.group.thirdPay': string;
76
- 'tobPay.text.cancel': string;
77
- 'tobPay.text.submit': string;
78
- 'tobPay.text.confirmed.payment': string;
79
- 'tobPay.text.cash.modal.amount.toPay': string;
80
- 'tobPay.text.cash.modal.input.title': string;
81
- 'tobPay.text.cash.modal.no.change.given': string;
82
- 'tobPay.text.cash.modal.amount.pay.change': (money: string) => string;
83
- 'tobPay.text.cash.modal.amount.left.pay.paid': (money: string) => string;
84
- 'tobPay.text.cash.modal.ok': string;
85
- 'tobPay.text.payment.with.surcharge': string;
86
- };
87
- };
88
- export default _default;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import { ToBPayContextType } from '../types';
3
- export declare const ToBPayContext: import("react").Context<ToBPayContextType>;
@@ -1,15 +0,0 @@
1
- import { ToBPayContextType } from '../types';
2
- /**
3
- * 使用商家端支付的Hook
4
- * @throws {Error} 如果在ToBPayProvider外部使用会抛出错误
5
- * @returns {ToBPayContextType} 商家端支付上下文
6
- */
7
- export declare const useToBPay: () => ToBPayContextType;
8
- export declare const useOSPayment: () => any;
9
- /**
10
- * 使用OS支付的Hook
11
- */
12
- export declare const useOSPaymentEffect: () => {
13
- osPaymentEffectOn: () => void;
14
- osPaymentEffectOff: () => void;
15
- };
@@ -1,3 +0,0 @@
1
- export * from './context';
2
- export * from './provider';
3
- export * from './hooks';
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const ToBPayProvider: ({ children }: {
3
- children: React.ReactNode;
4
- }) => React.JSX.Element;
@@ -1,81 +0,0 @@
1
- export * from './storeTypes';
2
- export interface ToBPayParams {
3
- source?: 'normal' | 'restore';
4
- data: {
5
- type?: string;
6
- payMethod: {
7
- id: string;
8
- code: string;
9
- type: string;
10
- name: string;
11
- };
12
- params: {
13
- orderId?: string | number;
14
- symbol?: string;
15
- amount: string;
16
- surcharge?: string;
17
- [key: string]: any;
18
- };
19
- mode: 'pay' | 'refund';
20
- };
21
- callback: ToBPayCallback;
22
- }
23
- export declare type ToBPayCallback = (res: {
24
- status: string;
25
- data: {
26
- amount: number;
27
- surPercentRate?: number;
28
- surMoney?: number;
29
- surcharge?: number;
30
- uniquePaymentNumber?: string;
31
- /**
32
- * @description
33
- * 支付组件返回的额外动作指令(例如:取消订单并开始新订单)
34
- * PaymentModal 里会根据该字段执行对应流程。
35
- */
36
- action?: 'cancel_order' | string;
37
- };
38
- msg?: string;
39
- }) => void;
40
- /**
41
- * @title: 支付打开参数
42
- */
43
- export interface PayOpenParams extends Omit<ToBPayParams, 'callback'> {
44
- payCallback: (res: EftposPayResult | MX51PayResult) => void;
45
- }
46
- /**
47
- * @title: eftpos支付结果
48
- */
49
- export interface EftposPayResult {
50
- status: 'success' | 'fail';
51
- params: {
52
- amount: number;
53
- surPercentRate: number;
54
- surMoney: number;
55
- uniquePaymentNumber: string;
56
- };
57
- }
58
- /**
59
- * @title: MX51支付结果
60
- */
61
- export interface MX51PayResult {
62
- result: boolean;
63
- msg?: string;
64
- amount: number;
65
- surcharge: number;
66
- uniquePaymentNumber: string;
67
- action?: 'cancel_order' | string;
68
- }
69
- /**
70
- * @title 原生MX51支付结果
71
- */
72
- export interface NativeMX51PayResult {
73
- action?: 'cancel_order' | string;
74
- code: string;
75
- msg?: string;
76
- data: {
77
- amount: number;
78
- surcharge: number;
79
- };
80
- uuid: string;
81
- }