@pisell/private-materials 6.6.24 → 6.6.26

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 (500) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +2 -2
  6. package/build/lowcode/render/default/view.css +1 -1
  7. package/build/lowcode/render/default/view.js +1 -1
  8. package/build/lowcode/view.css +1 -1
  9. package/build/lowcode/view.js +1 -1
  10. package/es/businessModel/SalesModel/index.d.ts +0 -1
  11. package/es/components/Sales/Cart/utils.d.ts +63 -0
  12. package/es/components/Sales/Summary/utils.d.ts +51 -0
  13. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  14. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  15. package/es/components/appointmentBooking/components/Voucher/index.js +22 -7
  16. package/es/components/appointmentBooking/locales.d.ts +363 -0
  17. package/es/components/booking/addons/index.js +3 -2
  18. package/es/components/booking/components/footer/amount.js +1 -1
  19. package/es/components/booking/components/footer/index.js +7 -0
  20. package/es/components/booking/components/footer/utils.d.ts +1 -1
  21. package/es/components/booking/components/footer/utils.js +7 -5
  22. package/es/components/booking/components/voucher/index.js +6 -0
  23. package/es/components/booking/components/voucher/index.less +4 -1
  24. package/es/components/booking/components/voucherModal/index.less +1 -0
  25. package/es/components/booking/dashboard/index.js +21 -5
  26. package/es/components/booking/editBookingModal/utils.d.ts +12 -0
  27. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  28. package/es/components/booking/forms/serve.d.ts +18 -0
  29. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  30. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
  31. package/es/components/booking/info/client/serve.d.ts +2 -0
  32. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  33. package/es/components/booking/info/hooks/useHolderConfig.d.ts +10 -0
  34. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  35. package/es/components/booking/info/index.d.ts +0 -1
  36. package/es/components/booking/info/pet/serve.d.ts +1 -0
  37. package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  38. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  39. package/es/components/booking/info/service/serve.d.ts +34 -0
  40. package/es/components/booking/info/service2/utils.d.ts +1 -1
  41. package/es/components/booking/info2/cartClientCard/locales.d.ts +21 -0
  42. package/es/components/booking/info2/cartClientCard/types.d.ts +18 -0
  43. package/es/components/booking/info2/cartClientCard/utils.d.ts +3 -0
  44. package/es/components/booking/info2/serve.d.ts +6 -0
  45. package/es/components/booking/info2/service/editService/index.js +33 -2
  46. package/es/components/booking/locales.d.ts +951 -0
  47. package/es/components/checkout/PaymentModal.js +42 -2
  48. package/es/components/checkout/components/AdditionalModule/locales.d.ts +36 -0
  49. package/es/components/checkout/components/PaymentResultToast/types.d.ts +59 -0
  50. package/es/components/checkout/components/PaymentResultToast/utils.d.ts +44 -0
  51. package/es/components/checkout/components/ScrollableList/index.d.ts +5 -0
  52. package/es/components/checkout/components/ScrollableList/types.d.ts +53 -0
  53. package/es/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +0 -1
  54. package/es/components/checkout/components/WalletPassModule/index.js +1 -0
  55. package/es/components/checkout/components/WalletPassModule/types.d.ts +134 -0
  56. package/es/components/checkout/components/WalletPassModule/utils.d.ts +1 -0
  57. package/es/components/checkout/components/WalletPassModule/utils.js +17 -3
  58. package/es/components/checkout/constants.d.ts +2 -0
  59. package/es/components/checkout/hooks/usePaymentLogger.d.ts +2 -0
  60. package/es/components/checkout/hooks/useWalletPass.d.ts +2 -2
  61. package/es/components/checkout/hooks/useWalletPass.js +322 -194
  62. package/es/components/checkout/locales.d.ts +513 -0
  63. package/es/components/checkout/styles.d.ts +67 -0
  64. package/es/components/checkout/types.d.ts +130 -0
  65. package/es/components/checkout/utils.d.ts +3 -0
  66. package/es/components/eftposPay/aggregatePayment/index.d.ts +3 -0
  67. package/es/components/eftposPay/aggregatePayment/types.d.ts +106 -0
  68. package/es/components/eftposPay/amount.d.ts +1 -1
  69. package/es/components/eftposPay/app.d.ts +0 -1
  70. package/es/components/eftposPay/component/fail/failCustom.js +1 -1
  71. package/es/components/eftposPay/const.d.ts +195 -0
  72. package/es/components/eftposPay/device.d.ts +1 -1
  73. package/es/components/eftposPay/hooks.d.ts +2 -2
  74. package/es/components/eftposPay/huifu/hooks.d.ts +25 -0
  75. package/es/components/eftposPay/huifu/types.d.ts +14 -0
  76. package/es/components/eftposPay/locales.d.ts +366 -0
  77. package/es/components/eftposPay/manufacturer.d.ts +8 -0
  78. package/es/components/eftposPay/payo/payment.d.ts +66 -0
  79. package/es/components/eftposPay/store/index.d.ts +362 -0
  80. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  81. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  82. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  83. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  84. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  85. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  86. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  87. package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -0
  88. package/es/components/list/components/ListItemSkeleton/index.d.ts +2 -0
  89. package/es/components/list/components/ScrollLoader/ScrollLoader.d.ts +18 -0
  90. package/es/components/list/components/ScrollLoader/index.d.ts +2 -0
  91. package/es/components/list/components/Tab/Tab.d.ts +5 -0
  92. package/es/components/list/components/Tab/index.d.ts +2 -0
  93. package/es/components/list/components/Tab/types.d.ts +14 -0
  94. package/es/components/list/components/TabSkeleton/TabSkeleton.d.ts +11 -0
  95. package/es/components/list/components/TabSkeleton/index.d.ts +2 -0
  96. package/es/components/list/components/WaterfallList/WaterfallList.d.ts +33 -0
  97. package/es/components/list/components/WaterfallList/index.d.ts +2 -0
  98. package/es/components/list/hooks/index.d.ts +5 -0
  99. package/es/components/list/hooks/useDevice.d.ts +24 -0
  100. package/es/components/list/hooks/useListState.d.ts +43 -0
  101. package/es/components/list/hooks/useWaterfall.d.ts +34 -0
  102. package/es/components/list/locales.d.ts +66 -0
  103. package/es/components/list/types.d.ts +177 -0
  104. package/es/components/list/utils/getText.d.ts +53 -0
  105. package/es/components/list/utils/index.d.ts +4 -0
  106. package/es/components/pay/toB/components/CardGroup/index.d.ts +0 -1
  107. package/es/components/pay/toB/components/Content/utils.d.ts +16 -0
  108. package/es/components/pay/toB/hooks.d.ts +12 -0
  109. package/es/components/pay/toB/locales.d.ts +54 -0
  110. package/es/components/pay/toB/store/context.d.ts +3 -0
  111. package/es/components/pay/toB/store/index.d.ts +3 -0
  112. package/es/components/pay/toB/store/provider.d.ts +4 -0
  113. package/es/components/pay/toB/types/index.d.ts +61 -0
  114. package/es/components/pay/toB/types/storeTypes.d.ts +143 -0
  115. package/es/components/pay/toC/PaymentList/utils.d.ts +36 -0
  116. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +7 -0
  117. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
  118. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
  119. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
  120. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  121. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  122. package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +5 -0
  123. package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +166 -145
  124. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +6 -0
  125. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +3 -3
  126. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  127. package/es/components/pay/toC/WalletPassBlock/index.js +3 -1
  128. package/es/components/pay/toC/index.js +66 -27
  129. package/es/components/pay/toC/locales.d.ts +307 -0
  130. package/es/components/pay/toC/model.d.ts +1 -0
  131. package/es/components/pay/toC/serve.d.ts +18 -0
  132. package/es/components/pay/toC/serve.js +29 -1
  133. package/es/components/pay/toC/status.d.ts +13 -0
  134. package/es/components/pay/toC/utils.d.ts +2 -2
  135. package/es/components/pay/toC/utils.js +4 -0
  136. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  137. package/es/components/ruleSetting/locales.d.ts +48 -0
  138. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  139. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  140. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  141. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  142. package/es/components/shoppingCart/locales.d.ts +36 -0
  143. package/es/components/shoppingCart/type.d.ts +50 -0
  144. package/es/components/subTotal/locales.d.ts +42 -0
  145. package/es/components/systemSettings/registry/components/docs/images/image-1.png +0 -0
  146. package/es/components/systemSettings/registry/components/docs/images/image-2.png +0 -0
  147. package/es/components/systemSettings/registry/components/docs/images/image-3.png +0 -0
  148. package/es/components/systemSettings/registry/components/docs/images/image-4.png +0 -0
  149. package/es/components/systemSettings/registry/components/docs/images/image-5.png +0 -0
  150. package/es/components/systemSettings/registry/components/docs/images/image-6.png +0 -0
  151. package/es/components/systemSettings/registry/components/docs/images/image-7.png +0 -0
  152. package/es/components/systemSettings/registry/components/docs/images/image-8.png +0 -0
  153. package/es/components/systemSettings/registry/components/docs/images/image.png +0 -0
  154. package/es/components/systemSettings/registry/locales.d.ts +272 -0
  155. package/es/components/systemSettings/registry/services.d.ts +77 -0
  156. package/es/components/systemSettings/registry/types.d.ts +126 -0
  157. package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  158. package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
  159. package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
  160. package/es/components/ticketBooking/components/addServiceVariant/addService.js +7 -4
  161. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  162. package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +6 -0
  163. package/es/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
  164. package/es/components/ticketBooking/context/IsActiveContext.d.ts +26 -0
  165. package/es/components/ticketBooking/context/OsKeyContext.d.ts +26 -0
  166. package/es/components/ticketBooking/context/index.d.ts +2 -0
  167. package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
  168. package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
  169. package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +6 -0
  170. package/es/components/ticketBooking/locales.d.ts +198 -0
  171. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  172. package/es/components/ticketBooking/utils/productCache.d.ts +75 -0
  173. package/es/components/wallet/utils.d.ts +48 -0
  174. package/es/components/walletList/locales.d.ts +27 -0
  175. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  176. package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
  177. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  178. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  179. package/es/hooks/useEngineContext.d.ts +3 -0
  180. package/es/hooks/useLogger.d.ts +2 -0
  181. package/es/hooks/useToast.d.ts +2 -0
  182. package/es/hooks/useTranslationOriginal.d.ts +1 -0
  183. package/es/hooks/useWindowSize.d.ts +5 -0
  184. package/es/plus/clientCard/locales.d.ts +18 -0
  185. package/es/plus/clientCard/types.d.ts +134 -0
  186. package/es/plus/clientCard/utils.d.ts +8 -0
  187. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -1
  188. package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +5 -0
  189. package/es/plus/clinetSearch/InfiniteScroll/index.d.ts +2 -0
  190. package/es/plus/clinetSearch/InfiniteScroll/types.d.ts +46 -0
  191. package/es/plus/clinetSearch/locales.d.ts +108 -0
  192. package/es/plus/clinetSearch/types.d.ts +70 -0
  193. package/es/plus/noteModal/locales.d.ts +33 -0
  194. package/es/plus/noteModal/types.d.ts +19 -0
  195. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -1
  196. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -1
  197. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -1
  198. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -1
  199. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -1
  200. package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -1
  201. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  202. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
  203. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -1
  204. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  205. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
  206. package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -1
  207. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  208. package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +0 -1
  209. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +6 -0
  210. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  211. package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +6 -0
  212. package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -1
  213. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +6 -0
  214. package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +6 -0
  215. package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +6 -0
  216. package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +3 -0
  217. package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -1
  218. package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +42 -0
  219. package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +162 -0
  220. package/es/plus/productSelect/ProductCard/SkuCard/type.d.ts +298 -0
  221. package/es/plus/productSelect/ProductCard/SkuCard/utils.d.ts +9 -0
  222. package/es/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  223. package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  224. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
  225. package/es/plus/selectHolder/locales.d.ts +24 -0
  226. package/es/plus/selectHolder/types.d.ts +104 -0
  227. package/es/plus/selectHolder/utils.d.ts +9 -0
  228. package/es/plus/walletEditor/locales.d.ts +135 -0
  229. package/es/plus/walletPassGallery/locales.d.ts +285 -0
  230. package/es/plus/walletPassGallery/utils.d.ts +48 -0
  231. package/es/pro/Login2.0/shared/types.d.ts +232 -0
  232. package/es/pro/NumberKeyboardPopover/types.d.ts +31 -0
  233. package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
  234. package/es/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +5 -0
  235. package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +9 -0
  236. package/es/pro/comprehensiveSearch/locales.d.ts +15 -0
  237. package/es/pro/comprehensiveSearch/types.d.ts +32 -0
  238. package/es/pro/multiDayTimeSelect/types.d.ts +28 -0
  239. package/es/pro/pisellPhoneKeyboard/locales.d.ts +12 -0
  240. package/es/pro/pisellPriceKeyboardModal/types.d.ts +25 -0
  241. package/es/pro/pisellPriceKeyboardPopover/index.d.ts +2 -0
  242. package/es/pro/pisellPriceKeyboardPopover/types.d.ts +33 -0
  243. package/es/pro/pisellSimplePriceKeyboardPopover/types.d.ts +33 -0
  244. package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +39 -0
  245. package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
  246. package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +42 -0
  247. package/es/pro/priceKeyboard/components/discountKeyboard/types.d.ts +17 -0
  248. package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +45 -0
  249. package/es/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +39 -0
  250. package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +18 -0
  251. package/es/pro/priceKeyboard/hooks/rightItems.d.ts +0 -1
  252. package/es/pro/skuDetailModal/locales.d.ts +48 -0
  253. package/es/pro/skuDetailModal/types.d.ts +348 -0
  254. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  255. package/lib/components/Sales/Cart/utils.d.ts +63 -0
  256. package/lib/components/Sales/Summary/utils.d.ts +51 -0
  257. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  258. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  259. package/lib/components/appointmentBooking/components/Voucher/index.js +10 -2
  260. package/lib/components/appointmentBooking/locales.d.ts +363 -0
  261. package/lib/components/booking/addons/index.js +3 -2
  262. package/lib/components/booking/components/footer/amount.js +1 -1
  263. package/lib/components/booking/components/footer/index.js +9 -0
  264. package/lib/components/booking/components/footer/utils.d.ts +1 -1
  265. package/lib/components/booking/components/footer/utils.js +5 -3
  266. package/lib/components/booking/components/voucher/index.js +6 -0
  267. package/lib/components/booking/components/voucher/index.less +4 -1
  268. package/lib/components/booking/components/voucherModal/index.less +1 -0
  269. package/lib/components/booking/dashboard/index.js +11 -1
  270. package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
  271. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  272. package/lib/components/booking/forms/serve.d.ts +18 -0
  273. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  274. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
  275. package/lib/components/booking/info/client/serve.d.ts +2 -0
  276. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  277. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +10 -0
  278. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  279. package/lib/components/booking/info/index.d.ts +0 -1
  280. package/lib/components/booking/info/pet/serve.d.ts +1 -0
  281. package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  282. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  283. package/lib/components/booking/info/service/serve.d.ts +34 -0
  284. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  285. package/lib/components/booking/info2/cartClientCard/locales.d.ts +21 -0
  286. package/lib/components/booking/info2/cartClientCard/types.d.ts +18 -0
  287. package/lib/components/booking/info2/cartClientCard/utils.d.ts +3 -0
  288. package/lib/components/booking/info2/serve.d.ts +6 -0
  289. package/lib/components/booking/info2/service/editService/index.js +48 -24
  290. package/lib/components/booking/locales.d.ts +951 -0
  291. package/lib/components/checkout/PaymentModal.js +24 -1
  292. package/lib/components/checkout/components/AdditionalModule/locales.d.ts +36 -0
  293. package/lib/components/checkout/components/PaymentResultToast/types.d.ts +59 -0
  294. package/lib/components/checkout/components/PaymentResultToast/utils.d.ts +44 -0
  295. package/lib/components/checkout/components/ScrollableList/index.d.ts +5 -0
  296. package/lib/components/checkout/components/ScrollableList/types.d.ts +53 -0
  297. package/lib/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +0 -1
  298. package/lib/components/checkout/components/WalletPassModule/index.js +1 -0
  299. package/lib/components/checkout/components/WalletPassModule/types.d.ts +134 -0
  300. package/lib/components/checkout/components/WalletPassModule/utils.d.ts +1 -0
  301. package/lib/components/checkout/components/WalletPassModule/utils.js +18 -2
  302. package/lib/components/checkout/constants.d.ts +2 -0
  303. package/lib/components/checkout/hooks/usePaymentLogger.d.ts +2 -0
  304. package/lib/components/checkout/hooks/useWalletPass.d.ts +2 -2
  305. package/lib/components/checkout/hooks/useWalletPass.js +160 -107
  306. package/lib/components/checkout/locales.d.ts +513 -0
  307. package/lib/components/checkout/styles.d.ts +67 -0
  308. package/lib/components/checkout/types.d.ts +130 -0
  309. package/lib/components/checkout/utils.d.ts +3 -0
  310. package/lib/components/eftposPay/aggregatePayment/index.d.ts +3 -0
  311. package/lib/components/eftposPay/aggregatePayment/types.d.ts +106 -0
  312. package/lib/components/eftposPay/amount.d.ts +1 -1
  313. package/lib/components/eftposPay/app.d.ts +0 -1
  314. package/lib/components/eftposPay/component/fail/failCustom.js +1 -1
  315. package/lib/components/eftposPay/const.d.ts +195 -0
  316. package/lib/components/eftposPay/device.d.ts +1 -1
  317. package/lib/components/eftposPay/hooks.d.ts +2 -2
  318. package/lib/components/eftposPay/huifu/hooks.d.ts +25 -0
  319. package/lib/components/eftposPay/huifu/types.d.ts +14 -0
  320. package/lib/components/eftposPay/locales.d.ts +366 -0
  321. package/lib/components/eftposPay/manufacturer.d.ts +8 -0
  322. package/lib/components/eftposPay/payo/payment.d.ts +66 -0
  323. package/lib/components/eftposPay/store/index.d.ts +362 -0
  324. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  325. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  326. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  327. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  328. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  329. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  330. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  331. package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -0
  332. package/lib/components/list/components/ListItemSkeleton/index.d.ts +2 -0
  333. package/lib/components/list/components/ScrollLoader/ScrollLoader.d.ts +18 -0
  334. package/lib/components/list/components/ScrollLoader/index.d.ts +2 -0
  335. package/lib/components/list/components/Tab/Tab.d.ts +5 -0
  336. package/lib/components/list/components/Tab/index.d.ts +2 -0
  337. package/lib/components/list/components/Tab/types.d.ts +14 -0
  338. package/lib/components/list/components/TabSkeleton/TabSkeleton.d.ts +11 -0
  339. package/lib/components/list/components/TabSkeleton/index.d.ts +2 -0
  340. package/lib/components/list/components/WaterfallList/WaterfallList.d.ts +33 -0
  341. package/lib/components/list/components/WaterfallList/index.d.ts +2 -0
  342. package/lib/components/list/hooks/index.d.ts +5 -0
  343. package/lib/components/list/hooks/useDevice.d.ts +24 -0
  344. package/lib/components/list/hooks/useListState.d.ts +43 -0
  345. package/lib/components/list/hooks/useWaterfall.d.ts +34 -0
  346. package/lib/components/list/locales.d.ts +66 -0
  347. package/lib/components/list/types.d.ts +177 -0
  348. package/lib/components/list/utils/getText.d.ts +53 -0
  349. package/lib/components/list/utils/index.d.ts +4 -0
  350. package/lib/components/pay/toB/components/CardGroup/index.d.ts +0 -1
  351. package/lib/components/pay/toB/components/Content/utils.d.ts +16 -0
  352. package/lib/components/pay/toB/hooks.d.ts +12 -0
  353. package/lib/components/pay/toB/locales.d.ts +54 -0
  354. package/lib/components/pay/toB/store/context.d.ts +3 -0
  355. package/lib/components/pay/toB/store/index.d.ts +3 -0
  356. package/lib/components/pay/toB/store/provider.d.ts +4 -0
  357. package/lib/components/pay/toB/types/index.d.ts +61 -0
  358. package/lib/components/pay/toB/types/storeTypes.d.ts +143 -0
  359. package/lib/components/pay/toC/PaymentList/utils.d.ts +36 -0
  360. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +7 -0
  361. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
  362. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
  363. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
  364. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  365. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  366. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +5 -0
  367. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +90 -103
  368. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +6 -0
  369. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +2 -2
  370. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  371. package/lib/components/pay/toC/WalletPassBlock/index.js +3 -1
  372. package/lib/components/pay/toC/index.js +52 -11
  373. package/lib/components/pay/toC/locales.d.ts +307 -0
  374. package/lib/components/pay/toC/model.d.ts +1 -0
  375. package/lib/components/pay/toC/serve.d.ts +18 -0
  376. package/lib/components/pay/toC/serve.js +6 -0
  377. package/lib/components/pay/toC/status.d.ts +13 -0
  378. package/lib/components/pay/toC/utils.d.ts +2 -2
  379. package/lib/components/pay/toC/utils.js +4 -0
  380. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  381. package/lib/components/ruleSetting/locales.d.ts +48 -0
  382. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  383. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  384. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  385. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  386. package/lib/components/shoppingCart/locales.d.ts +36 -0
  387. package/lib/components/shoppingCart/type.d.ts +50 -0
  388. package/lib/components/subTotal/locales.d.ts +42 -0
  389. package/lib/components/systemSettings/registry/components/docs/images/image-1.png +0 -0
  390. package/lib/components/systemSettings/registry/components/docs/images/image-2.png +0 -0
  391. package/lib/components/systemSettings/registry/components/docs/images/image-3.png +0 -0
  392. package/lib/components/systemSettings/registry/components/docs/images/image-4.png +0 -0
  393. package/lib/components/systemSettings/registry/components/docs/images/image-5.png +0 -0
  394. package/lib/components/systemSettings/registry/components/docs/images/image-6.png +0 -0
  395. package/lib/components/systemSettings/registry/components/docs/images/image-7.png +0 -0
  396. package/lib/components/systemSettings/registry/components/docs/images/image-8.png +0 -0
  397. package/lib/components/systemSettings/registry/components/docs/images/image.png +0 -0
  398. package/lib/components/systemSettings/registry/locales.d.ts +272 -0
  399. package/lib/components/systemSettings/registry/services.d.ts +77 -0
  400. package/lib/components/systemSettings/registry/types.d.ts +126 -0
  401. package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  402. package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
  403. package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
  404. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +11 -7
  405. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  406. package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +6 -0
  407. package/lib/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
  408. package/lib/components/ticketBooking/context/IsActiveContext.d.ts +26 -0
  409. package/lib/components/ticketBooking/context/OsKeyContext.d.ts +26 -0
  410. package/lib/components/ticketBooking/context/index.d.ts +2 -0
  411. package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
  412. package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
  413. package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +6 -0
  414. package/lib/components/ticketBooking/locales.d.ts +198 -0
  415. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  416. package/lib/components/ticketBooking/utils/productCache.d.ts +75 -0
  417. package/lib/components/wallet/utils.d.ts +48 -0
  418. package/lib/components/walletList/locales.d.ts +27 -0
  419. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  420. package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
  421. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  422. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  423. package/lib/hooks/useEngineContext.d.ts +3 -0
  424. package/lib/hooks/useLogger.d.ts +2 -0
  425. package/lib/hooks/useToast.d.ts +2 -0
  426. package/lib/hooks/useTranslationOriginal.d.ts +1 -0
  427. package/lib/hooks/useWindowSize.d.ts +5 -0
  428. package/lib/plus/clientCard/locales.d.ts +18 -0
  429. package/lib/plus/clientCard/types.d.ts +134 -0
  430. package/lib/plus/clientCard/utils.d.ts +8 -0
  431. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -1
  432. package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +5 -0
  433. package/lib/plus/clinetSearch/InfiniteScroll/index.d.ts +2 -0
  434. package/lib/plus/clinetSearch/InfiniteScroll/types.d.ts +46 -0
  435. package/lib/plus/clinetSearch/locales.d.ts +108 -0
  436. package/lib/plus/clinetSearch/types.d.ts +70 -0
  437. package/lib/plus/noteModal/locales.d.ts +33 -0
  438. package/lib/plus/noteModal/types.d.ts +19 -0
  439. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -1
  440. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -1
  441. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -1
  442. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -1
  443. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -1
  444. package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -1
  445. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  446. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
  447. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -1
  448. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  449. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
  450. package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -1
  451. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  452. package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +0 -1
  453. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +6 -0
  454. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  455. package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +6 -0
  456. package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -1
  457. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +6 -0
  458. package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +6 -0
  459. package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +6 -0
  460. package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +3 -0
  461. package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -1
  462. package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +42 -0
  463. package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +162 -0
  464. package/lib/plus/productSelect/ProductCard/SkuCard/type.d.ts +298 -0
  465. package/lib/plus/productSelect/ProductCard/SkuCard/utils.d.ts +9 -0
  466. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  467. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  468. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
  469. package/lib/plus/selectHolder/locales.d.ts +24 -0
  470. package/lib/plus/selectHolder/types.d.ts +104 -0
  471. package/lib/plus/selectHolder/utils.d.ts +9 -0
  472. package/lib/plus/walletEditor/locales.d.ts +135 -0
  473. package/lib/plus/walletPassGallery/locales.d.ts +285 -0
  474. package/lib/plus/walletPassGallery/utils.d.ts +48 -0
  475. package/lib/pro/Login2.0/shared/types.d.ts +232 -0
  476. package/lib/pro/NumberKeyboardPopover/types.d.ts +31 -0
  477. package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
  478. package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +5 -0
  479. package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +9 -0
  480. package/lib/pro/comprehensiveSearch/locales.d.ts +15 -0
  481. package/lib/pro/comprehensiveSearch/types.d.ts +32 -0
  482. package/lib/pro/multiDayTimeSelect/types.d.ts +28 -0
  483. package/lib/pro/pisellPhoneKeyboard/locales.d.ts +12 -0
  484. package/lib/pro/pisellPriceKeyboardModal/types.d.ts +25 -0
  485. package/lib/pro/pisellPriceKeyboardPopover/index.d.ts +2 -0
  486. package/lib/pro/pisellPriceKeyboardPopover/types.d.ts +33 -0
  487. package/lib/pro/pisellSimplePriceKeyboardPopover/types.d.ts +33 -0
  488. package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +39 -0
  489. package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
  490. package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +42 -0
  491. package/lib/pro/priceKeyboard/components/discountKeyboard/types.d.ts +17 -0
  492. package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +45 -0
  493. package/lib/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +39 -0
  494. package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +18 -0
  495. package/lib/pro/priceKeyboard/hooks/rightItems.d.ts +0 -1
  496. package/lib/pro/skuDetailModal/locales.d.ts +48 -0
  497. package/lib/pro/skuDetailModal/types.d.ts +348 -0
  498. package/lowcode/eco-cup-list/meta.ts +63 -0
  499. package/lowcode/eco-customer-list/meta.ts +63 -0
  500. package/package.json +4 -4
@@ -0,0 +1,126 @@
1
+ import { CSSProperties } from 'react';
2
+ export interface MultiLanguageText {
3
+ en: string;
4
+ 'zh-CN': string;
5
+ 'zh-HK': string;
6
+ original: string;
7
+ }
8
+ export interface BaseItem {
9
+ id: number;
10
+ name: string | MultiLanguageText;
11
+ code: string;
12
+ order?: number;
13
+ }
14
+ export interface SettingItem extends BaseItem {
15
+ key?: string;
16
+ scopes?: string[];
17
+ groupId?: number;
18
+ group_id?: number;
19
+ fieldType?: string;
20
+ type?: string;
21
+ interfaceType?: string;
22
+ interface?: string;
23
+ description?: string | MultiLanguageText;
24
+ systemDefaultValue?: string;
25
+ default?: string;
26
+ uiSchema?: string;
27
+ schema?: any;
28
+ title?: string | MultiLanguageText;
29
+ sort: number;
30
+ created_at?: string | null;
31
+ updated_at?: string | null;
32
+ deleted_at?: string | null;
33
+ }
34
+ export interface SettingGroup extends BaseItem {
35
+ items: SettingItem[];
36
+ expanded?: boolean;
37
+ sort: number;
38
+ }
39
+ export interface Section extends BaseItem {
40
+ icon?: string;
41
+ description?: string | MultiLanguageText;
42
+ groups: SettingGroup[];
43
+ created_at?: string | null;
44
+ updated_at?: string | null;
45
+ deleted_at?: string | null;
46
+ }
47
+ export interface TreeNode {
48
+ key: string;
49
+ type: 'group' | 'item';
50
+ data: SettingGroup | SettingItem;
51
+ children?: TreeNode[];
52
+ parentKey?: string;
53
+ }
54
+ export declare type OperationType = 'add' | 'edit' | 'delete';
55
+ export interface DragItem {
56
+ id: number;
57
+ type: 'group' | 'item';
58
+ groupId?: number;
59
+ }
60
+ export interface RegistryProps {
61
+ className?: string;
62
+ style?: CSSProperties;
63
+ sections?: Section[];
64
+ selectedSectionId?: number;
65
+ onSectionSelect?: (sectionId: number) => void;
66
+ onDataChange?: (sections: Section[]) => void;
67
+ }
68
+ export interface SectionListProps {
69
+ sections: Section[];
70
+ selectedSectionId?: number;
71
+ onSectionSelect: (sectionId: number) => void;
72
+ loading?: boolean;
73
+ hasMore?: boolean;
74
+ onLoadMore?: () => void;
75
+ }
76
+ export interface SettingsTableProps {
77
+ section?: Section;
78
+ groupList?: SettingGroup[];
79
+ groupLoading?: boolean;
80
+ onDataChange?: (section: Section) => void;
81
+ onEditGroup?: (group: SettingGroup) => void;
82
+ onDeleteGroup?: (groupId: number) => void;
83
+ onAddItem?: (groupId: number) => void;
84
+ onEditItem?: (item: SettingItem) => void;
85
+ onDeleteItem?: (itemId: number) => void;
86
+ onGroupReorder?: (groupIds: number[]) => void;
87
+ onItemMove?: (itemId: number, targetGroupId: number, newOrder: number) => void;
88
+ }
89
+ export interface GroupFormData {
90
+ title: MultiLanguageText;
91
+ code: string;
92
+ }
93
+ export interface ItemFormData {
94
+ name: MultiLanguageText;
95
+ key: string;
96
+ fieldType: string;
97
+ interfaceType?: string;
98
+ scopes: string[];
99
+ description?: MultiLanguageText;
100
+ default?: string | null;
101
+ uiSchema?: string;
102
+ }
103
+ export interface GroupModalProps {
104
+ open: boolean;
105
+ type: OperationType;
106
+ data?: SettingGroup;
107
+ onOk: (data: GroupFormData) => void | Promise<void>;
108
+ onCancel: () => void;
109
+ }
110
+ export interface ItemModalProps {
111
+ open: boolean;
112
+ type: OperationType;
113
+ data?: SettingItem;
114
+ section?: Section;
115
+ onOk: (data: ItemFormData) => void | Promise<void>;
116
+ onCancel: () => void;
117
+ }
118
+ export interface ApiResponse<T> {
119
+ data: T[];
120
+ meta: {
121
+ count: number;
122
+ page: number;
123
+ pageSize: number;
124
+ totalPage: number;
125
+ };
126
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * 类型验证工具函数
3
+ * 用于验证默认值是否符合指定的字段类型
4
+ */
5
+ export interface ValidationResult {
6
+ isValid: boolean;
7
+ error?: string;
8
+ }
9
+ /**
10
+ * 根据字段类型验证默认值
11
+ */
12
+ export declare const validateDefaultValue: (fieldType: string, defaultValue: any) => ValidationResult;
13
+ /**
14
+ * 解析默认值为对应的类型
15
+ */
16
+ export declare const parseDefaultValue: (fieldType: string, defaultValue: any) => any;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * 验证器工具函数
3
+ */
4
+ /**
5
+ * 创建带前缀的应用标识符验证器
6
+ * 用于验证设置项的键格式
7
+ */
8
+ export declare const createPrefixedAppIdentifierValidator: (sectionCode: string) => (_: any, value: string) => Promise<void>;
@@ -0,0 +1,115 @@
1
+ /**
2
+ * 产品展示配置类型定义
3
+ */
4
+ import type { ProductCardConfig } from '../../../../plus/productSelect/ProductCard/SkuCard/type';
5
+ /** 预设配置的字符串键 */
6
+ export declare type ProductDisplayPresetKey = 'product-select' | 'sku-list-a1' | 'sku-list-a2' | 'sku-list-a5' | 'default';
7
+ /** ProductSelect 布局配置 */
8
+ export interface ProductSelectLayout {
9
+ grid: boolean;
10
+ config: string;
11
+ }
12
+ export declare type NumberBoolean = 0 | 1;
13
+ /** ProductSelect 列表设置 */
14
+ export interface ProductListSetting {
15
+ /** 是否显示产品封面 */
16
+ isProductCover?: NumberBoolean;
17
+ /** 是否显示标题 */
18
+ isTitle?: NumberBoolean;
19
+ /** 是否显示副标题 */
20
+ isSubtitle?: NumberBoolean;
21
+ /** 是否显示价格 */
22
+ isPrice?: NumberBoolean;
23
+ /** 是否显示原价 */
24
+ isOriginPrice?: NumberBoolean;
25
+ /** 是否显示库存 */
26
+ isStock?: NumberBoolean;
27
+ }
28
+ /** ProductSelect 模式配置 */
29
+ export interface ProductSelectConfig {
30
+ /** 是否显示搜索框 */
31
+ showSearch?: boolean;
32
+ /** 是否显示分类Tab */
33
+ showTab?: boolean;
34
+ /** 布局配置 */
35
+ layout?: ProductSelectLayout;
36
+ /** 产品列表设置 */
37
+ productListSetting?: ProductListSetting;
38
+ }
39
+ /** SkuCard 显示模式 */
40
+ export declare type SkuCardDisplayMode = 'display_a1' | 'display_a2' | 'display_a5' | 'display_a9' | 'display_custom';
41
+ /**
42
+ * SkuCard 配置
43
+ * 直接使用 ProductCardConfig 类型,保持类型同步
44
+ *
45
+ * @see packages/private-materials/src/plus/productSelect/ProductCard/SkuCard/type.ts ProductCardConfig
46
+ */
47
+ export declare type SkuCardAllConfig = ProductCardConfig;
48
+ /** List 布局类型 */
49
+ export declare type ListLayoutType = 'grid' | 'list';
50
+ /** Tab 样式类型 */
51
+ export declare type TabStyleType = 'switch' | 'anchor' | 'none';
52
+ /** List 组件配置 */
53
+ export interface ListConfig {
54
+ /** 布局类型 */
55
+ layout?: ListLayoutType;
56
+ /** 列数 */
57
+ columns?: number;
58
+ /** 是否显示分页 */
59
+ showPagination?: boolean;
60
+ /** 是否显示Tab */
61
+ showTab?: boolean;
62
+ /** Tab 样式类型:switch-切换模式,anchor-锚点模式,none-不显示 */
63
+ tabStyle?: TabStyleType;
64
+ /** Tab 是否吸顶 */
65
+ stickyTop?: boolean;
66
+ /** Tab配置 */
67
+ tabConfig?: any;
68
+ /** 分页配置 */
69
+ paginationConfig?: any;
70
+ [key: string]: any;
71
+ }
72
+ /** SkuList 模式配置 */
73
+ export interface SkuListConfig {
74
+ /** List 组件配置 */
75
+ listConfig?: ListConfig;
76
+ /** SkuCard 配置 */
77
+ skuCardAllConfig?: SkuCardAllConfig;
78
+ }
79
+ /** 展示模式类型 */
80
+ export declare type DisplayMode = 'product-select' | 'sku-list';
81
+ /**
82
+ * 产品展示配置
83
+ * 用于配置化控制产品展示的方式
84
+ */
85
+ export interface ProductDisplayConfig {
86
+ /** 展示模式 */
87
+ displayMode: DisplayMode;
88
+ /** ProductSelect 模式配置 */
89
+ productSelectConfig?: ProductSelectConfig;
90
+ /** SkuList 模式配置 */
91
+ skuListConfig?: SkuListConfig;
92
+ }
93
+ /**
94
+ * 产品展示配置预设
95
+ * 支持通过字符串键或直接使用配置对象
96
+ */
97
+ export declare const ProductDisplayPresets: Record<ProductDisplayPresetKey, ProductDisplayConfig>;
98
+ /**
99
+ * 兼容性:保持原有的导出方式
100
+ * @deprecated 建议使用 ProductDisplayPresets['product-select'] 或字符串键访问
101
+ */
102
+ export declare const LegacyProductDisplayPresets: {
103
+ /** @deprecated 使用 ProductDisplayPresets['product-select'] */
104
+ DEFAULT_PRODUCT_SELECT: ProductDisplayConfig;
105
+ /** @deprecated 使用 ProductDisplayPresets['sku-list-a1'] */
106
+ DEFAULT_SKU_LIST_A1: ProductDisplayConfig;
107
+ /** @deprecated 使用 ProductDisplayPresets['sku-list-a2'] */
108
+ DEFAULT_SKU_LIST_A2: ProductDisplayConfig;
109
+ /** @deprecated 使用 ProductDisplayPresets['sku-list-a5'] */
110
+ DEFAULT_SKU_LIST_A5: ProductDisplayConfig;
111
+ };
112
+ /**
113
+ * 工具函数:将字符串键或配置对象解析为配置对象
114
+ */
115
+ export declare function resolveProductDisplayConfig(config?: ProductDisplayPresetKey | ProductDisplayConfig): ProductDisplayConfig;
@@ -51,7 +51,7 @@ var productListSetting = {
51
51
  isStock: 0
52
52
  };
53
53
  var AddSerivce = function AddSerivce(props) {
54
- var _context$appHelper, _context$appHelper$ge, _context$appHelper$ut, _context$appHelper$ut2, _context$appHelper$ut3, _state$bookingConfig2, _state$client2;
54
+ var _context$appHelper, _context$appHelper2, _context$appHelper2$g, _context$appHelper$ut2, _context$appHelper$ut3, _context$appHelper$ut4, _state$bookingConfig2, _state$client2;
55
55
  var onEdit = props.onEdit,
56
56
  state = props.state,
57
57
  dispatch = props.dispatch,
@@ -59,6 +59,8 @@ var AddSerivce = function AddSerivce(props) {
59
59
  renderMode = _props$renderMode === void 0 ? 'current' : _props$renderMode,
60
60
  productDisplayConfig = props.productDisplayConfig;
61
61
  var context = useEngineContext();
62
+ var _context$appHelper$ut = (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.utils,
63
+ getData = _context$appHelper$ut.getData;
62
64
  var notAvailableRef = useRef(null);
63
65
  request.setRequest(context.appHelper.utils.request);
64
66
  var isActive = useIsActive();
@@ -71,7 +73,7 @@ var AddSerivce = function AddSerivce(props) {
71
73
  }),
72
74
  createBookingData = _useService.createBookingData,
73
75
  createBooking = _useService.createBooking;
74
- var isBooking4 = isBooking4Shop(((_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 || (_context$appHelper = _context$appHelper.utils) === null || _context$appHelper === void 0 || (_context$appHelper$ge = _context$appHelper.getData) === null || _context$appHelper$ge === void 0 ? void 0 : _context$appHelper$ge.call(_context$appHelper, 'shop_id')) || ((_context$appHelper$ut = context.appHelper.utils.store) === null || _context$appHelper$ut === void 0 || (_context$appHelper$ut2 = _context$appHelper$ut.getState) === null || _context$appHelper$ut2 === void 0 || (_context$appHelper$ut2 = _context$appHelper$ut2.call(_context$appHelper$ut)) === null || _context$appHelper$ut2 === void 0 || (_context$appHelper$ut2 = _context$appHelper$ut2.global) === null || _context$appHelper$ut2 === void 0 || (_context$appHelper$ut2 = _context$appHelper$ut2.globalConfig) === null || _context$appHelper$ut2 === void 0 ? void 0 : _context$appHelper$ut2.id), state === null || state === void 0 ? void 0 : state.renderType, (_context$appHelper$ut3 = context.appHelper.utils) === null || _context$appHelper$ut3 === void 0 ? void 0 : _context$appHelper$ut3.businessUtils);
76
+ var isBooking4 = isBooking4Shop(((_context$appHelper2 = context.appHelper) === null || _context$appHelper2 === void 0 || (_context$appHelper2 = _context$appHelper2.utils) === null || _context$appHelper2 === void 0 || (_context$appHelper2$g = _context$appHelper2.getData) === null || _context$appHelper2$g === void 0 ? void 0 : _context$appHelper2$g.call(_context$appHelper2, 'shop_id')) || ((_context$appHelper$ut2 = context.appHelper.utils.store) === null || _context$appHelper$ut2 === void 0 || (_context$appHelper$ut3 = _context$appHelper$ut2.getState) === null || _context$appHelper$ut3 === void 0 || (_context$appHelper$ut3 = _context$appHelper$ut3.call(_context$appHelper$ut2)) === null || _context$appHelper$ut3 === void 0 || (_context$appHelper$ut3 = _context$appHelper$ut3.global) === null || _context$appHelper$ut3 === void 0 || (_context$appHelper$ut3 = _context$appHelper$ut3.globalConfig) === null || _context$appHelper$ut3 === void 0 ? void 0 : _context$appHelper$ut3.id), state === null || state === void 0 ? void 0 : state.renderType, (_context$appHelper$ut4 = context.appHelper.utils) === null || _context$appHelper$ut4 === void 0 ? void 0 : _context$appHelper$ut4.businessUtils);
75
77
  var _useState = useState(null),
76
78
  _useState2 = _slicedToArray(_useState, 2),
77
79
  currentProduct = _useState2[0],
@@ -219,7 +221,7 @@ var AddSerivce = function AddSerivce(props) {
219
221
  var processAddService = useMemoizedFn( /*#__PURE__*/function () {
220
222
  var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(item, _detail, e, notShowToast, startDate, endDate) {
221
223
  var _state$client3, _state$bookingConfig3, _state$bookingConfig4;
222
- var other, cacheItem, _total, _isEdit, _stateRef$current$ser, isMultiDay, getMultiDayCacheItem, res, _state$bookingConfig5, _addService2, _list, quantity, _context$appHelper$ut4, _context$appHelper$ut5, val, sendData, _window$openBookingEd, _window;
224
+ var other, cacheItem, _total, _isEdit, _stateRef$current$ser, isMultiDay, getMultiDayCacheItem, res, _state$bookingConfig5, _addService2, _list, quantity, _context$appHelper$ut5, _context$appHelper$ut6, val, sendData, _window$openBookingEd, _window;
223
225
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
224
226
  while (1) switch (_context2.prev = _context2.next) {
225
227
  case 0:
@@ -229,6 +231,7 @@ var AddSerivce = function AddSerivce(props) {
229
231
  product_id: item.id,
230
232
  _id: getUniqueId(),
231
233
  _key: e.key,
234
+ is_price_include_tax: getData('is_price_include_tax'),
232
235
  _extend: {
233
236
  start_date: startDate,
234
237
  quantity: (e === null || e === void 0 ? void 0 : e.quantity) || 1,
@@ -338,7 +341,7 @@ var AddSerivce = function AddSerivce(props) {
338
341
  }
339
342
  }));
340
343
  try {
341
- if (((_context$appHelper$ut4 = context.appHelper.utils.store) === null || _context$appHelper$ut4 === void 0 || (_context$appHelper$ut5 = _context$appHelper$ut4.getState) === null || _context$appHelper$ut5 === void 0 || (_context$appHelper$ut5 = _context$appHelper$ut5.call(_context$appHelper$ut4)) === null || _context$appHelper$ut5 === void 0 || (_context$appHelper$ut5 = _context$appHelper$ut5.global) === null || _context$appHelper$ut5 === void 0 || (_context$appHelper$ut5 = _context$appHelper$ut5.globalConfig) === null || _context$appHelper$ut5 === void 0 ? void 0 : _context$appHelper$ut5.id) === 2155) {
344
+ if (((_context$appHelper$ut5 = context.appHelper.utils.store) === null || _context$appHelper$ut5 === void 0 || (_context$appHelper$ut6 = _context$appHelper$ut5.getState) === null || _context$appHelper$ut6 === void 0 || (_context$appHelper$ut6 = _context$appHelper$ut6.call(_context$appHelper$ut5)) === null || _context$appHelper$ut6 === void 0 || (_context$appHelper$ut6 = _context$appHelper$ut6.global) === null || _context$appHelper$ut6 === void 0 || (_context$appHelper$ut6 = _context$appHelper$ut6.globalConfig) === null || _context$appHelper$ut6 === void 0 ? void 0 : _context$appHelper$ut6.id) === 2155) {
342
345
  val = _list === null || _list === void 0 ? void 0 : _list.map(function (s) {
343
346
  return {
344
347
  product_id: s === null || s === void 0 ? void 0 : s.product_id,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ProductDisplayConfig, ProductDisplayPresetKey } from '../ProductDisplayAdapter/types';
3
2
  interface AddServiceVariantProps {
4
3
  globalState: any;
@@ -0,0 +1,6 @@
1
+ export declare const formatShowList: (list: any[], options: {
2
+ search: string;
3
+ listSelectType: string;
4
+ sort: string;
5
+ }) => any[];
6
+ export declare const getBookingType: (record: any) => "pisell2" | "pisell1";
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ /**
3
+ * IsActive Context
4
+ * 用于在 TicketBooking 组件树中提供 isActive 状态
5
+ * isActive 用于标识当前组件是否处于激活状态
6
+ */
7
+ interface IsActiveContextType {
8
+ /** 是否激活 */
9
+ isActive: boolean;
10
+ }
11
+ declare const IsActiveContext: React.Context<IsActiveContextType>;
12
+ interface IsActiveProviderProps {
13
+ isActive: boolean;
14
+ children: React.ReactNode;
15
+ }
16
+ /**
17
+ * IsActive Provider
18
+ * 提供 isActive 给子组件使用
19
+ */
20
+ export declare const IsActiveProvider: React.FC<IsActiveProviderProps>;
21
+ /**
22
+ * useIsActive Hook
23
+ * 在子组件中使用此 hook 获取 isActive 状态
24
+ */
25
+ export declare const useIsActive: () => boolean;
26
+ export default IsActiveContext;
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ /**
3
+ * OsKey Context
4
+ * 用于在 TicketBooking 组件树中提供 pisellos 的 osKey
5
+ * osKey 用于区分不同页面使用同一个组件时的模块标识
6
+ */
7
+ interface OsKeyContextType {
8
+ /** pisellos 模块的唯一标识 */
9
+ osKey: string | undefined;
10
+ }
11
+ declare const OsKeyContext: React.Context<OsKeyContextType>;
12
+ interface OsKeyProviderProps {
13
+ osKey: string | undefined;
14
+ children: React.ReactNode;
15
+ }
16
+ /**
17
+ * OsKey Provider
18
+ * 提供 osKey 给子组件使用
19
+ */
20
+ export declare const OsKeyProvider: React.FC<OsKeyProviderProps>;
21
+ /**
22
+ * useOsKey Hook
23
+ * 在子组件中使用此 hook 获取 osKey
24
+ */
25
+ export declare const useOsKey: () => string;
26
+ export default OsKeyContext;
@@ -0,0 +1,2 @@
1
+ export { OsKeyProvider, useOsKey } from './OsKeyContext';
2
+ export { default as OsKeyContext } from './OsKeyContext';
@@ -0,0 +1,21 @@
1
+ /**
2
+ * useActiveExecute Hook
3
+ * 返回一个函数,该函数接收一个回调函数,并返回一个包装后的函数
4
+ * 包装后的函数只在 isActive 为 true 时执行原始回调
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * const { executeIfActive } = useActiveExecute();
9
+ *
10
+ * // 创建一个包装函数用于事件监听
11
+ * const handleChange = (data) => {
12
+ * console.log('data:', data);
13
+ * };
14
+ *
15
+ * // 返回的函数会在被调用时检查 isActive
16
+ * pisellos.effects.on('event', executeIfActive(handleChange));
17
+ * ```
18
+ */
19
+ export declare const useActiveExecute: () => {
20
+ executeIfActive: <T extends (...args: any[]) => any>(fn: T) => T;
21
+ };
@@ -0,0 +1,25 @@
1
+ import { ClientData } from '../../../booking/info2/cartClientCard/types';
2
+ export declare const useCustomer: (props: {
3
+ changeCustomerToGlobalState?: ((value: ClientData) => void) | undefined;
4
+ }) => {
5
+ customers: never[];
6
+ selectedCustomer: ClientData | null;
7
+ loading: boolean;
8
+ error: null;
9
+ pagination: {
10
+ page: number;
11
+ pageSize: number;
12
+ total: number;
13
+ };
14
+ loadCustomers: (params?: {
15
+ skip?: number;
16
+ num?: number;
17
+ search?: string;
18
+ }) => Promise<void>;
19
+ changePage: (page: number, pageSize: number) => Promise<void>;
20
+ selectCustomer: (customer: ClientData | null) => void;
21
+ addCustomerToFirst: (customer: ClientData) => void;
22
+ initLoad: (this: any, keyword: any, formId: number) => Promise<void>;
23
+ hasMore: boolean;
24
+ loadMore: () => Promise<void>;
25
+ };
@@ -0,0 +1,6 @@
1
+ declare const useScanManager: () => {
2
+ disableAllScanListeners: () => void;
3
+ enableAllScanListeners: () => void;
4
+ clearAllScanListenersTaskQueue: () => void;
5
+ };
6
+ export default useScanManager;
@@ -0,0 +1,198 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.ticket-booking.info': string;
4
+ 'pisell2.ticket-booking.notes': string;
5
+ 'pisell2.ticket-booking.note': string;
6
+ 'pisell2.ticket-booking.forms': string;
7
+ 'pisell2.ticket-booking.sales': string;
8
+ 'pisell2.ticket-booking.payment': string;
9
+ 'pisell2.ticket-booking.unsaved-changes': string;
10
+ 'pisell2.ticket-booking.exit-confirm': string;
11
+ 'pisell2.ticket-booking.go-back': string;
12
+ 'pisell2.ticket-booking.exit': string;
13
+ 'pisell2.ticket-booking.deposit': string;
14
+ 'pisell2.ticket-booking.copy-success': string;
15
+ 'pisell2.ticket-booking.no-data': string;
16
+ 'pisell2.ticket-booking.authorized': string;
17
+ 'pisell2.ticket-booking.paid': string;
18
+ 'pisell2.ticket-booking.partially-paid': string;
19
+ 'pisell2.ticket-booking.partially-refunded': string;
20
+ 'pisell2.ticket-booking.payment-pending': string;
21
+ 'pisell2.ticket-booking.refunded': string;
22
+ 'pisell2.ticket-booking.unpaid': string;
23
+ 'pisell2.ticket-booking.voided': string;
24
+ 'pisell2.ticket-booking.pending': string;
25
+ 'pisell2.ticket-booking.all': string;
26
+ 'pisell2.ticket-booking.not-started': string;
27
+ 'pisell2.ticket-booking.started': string;
28
+ 'pisell2.ticket-booking.finished': string;
29
+ 'pisell2.ticket-booking.canceled': string;
30
+ 'pisell2.ticket-booking.inform': string;
31
+ 'pisell2.ticket-booking.check-management': string;
32
+ 'pisell2.ticket-booking.confirm': string;
33
+ 'pisell2.ticket-booking.dashboard': string;
34
+ 'pisell2.ticket-booking.booking-list': string;
35
+ 'pisell2.ticket-booking.full-data': string;
36
+ 'pisell2.ticket-booking.today': string;
37
+ 'pisell2.ticket-booking.now': string;
38
+ 'pisell2.ticket-booking.start-time': string;
39
+ 'pisell2.ticket-booking.create-time': string;
40
+ 'pisell2.ticket-booking.customer': string;
41
+ 'pisell2.ticket-booking.total': string;
42
+ 'pisell2.ticket-booking.search': string;
43
+ 'pisell2.ticket-booking.refresh-success': string;
44
+ 'pisell2.ticket-booking.loading': string;
45
+ 'pisell2.ticket-booking.appointment-not-found': string;
46
+ 'pisell2.ticket-booking.scan': string;
47
+ 'pisell2.ticket-booking.create-new': string;
48
+ 'pisell2.ticket-booking.add-to-cart': string;
49
+ 'pisell2.ticket-booking.not-available-title': string;
50
+ 'pisell2.ticket-booking.not-available-ok': string;
51
+ 'pisell2.ticket-booking.in-cart': (number: number) => string;
52
+ 'pisell2.product.card.cart-items': (number: number) => string;
53
+ 'pisell2.product.card.subtotal': string;
54
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
55
+ 'pisell2.product.card.day': (val: number) => string;
56
+ 'pisell2.product.card.day.event': (val: number) => string;
57
+ 'pisell2.product.card.minute': (val: number) => string;
58
+ 'pisell2.ticket-booking.reload': string;
59
+ 'pisell2.text.scan-global-failed': string;
60
+ 'pisell2.ticket-booking.terminal-upgrade-title': string;
61
+ 'pisell2.ticket-booking.terminal-upgrade-description': string;
62
+ 'pisell2.ticket-booking.terminal-upgrade-ok': string;
63
+ 'pisell2.ticket-booking.terminal-upgrade-cancel': string;
64
+ 'pisell2.ticket-booking.collapse': string;
65
+ 'pisell2.ticket-booking.expand': string;
66
+ };
67
+ 'zh-CN': {
68
+ 'pisell2.ticket-booking.info': string;
69
+ 'pisell2.ticket-booking.notes': string;
70
+ 'pisell2.ticket-booking.note': string;
71
+ 'pisell2.ticket-booking.forms': string;
72
+ 'pisell2.ticket-booking.sales': string;
73
+ 'pisell2.ticket-booking.payment': string;
74
+ 'pisell2.ticket-booking.unsaved-changes': string;
75
+ 'pisell2.ticket-booking.exit-confirm': string;
76
+ 'pisell2.ticket-booking.go-back': string;
77
+ 'pisell2.ticket-booking.exit': string;
78
+ 'pisell2.ticket-booking.deposit': string;
79
+ 'pisell2.ticket-booking.copy-success': string;
80
+ 'pisell2.ticket-booking.no-data': string;
81
+ 'pisell2.ticket-booking.authorized': string;
82
+ 'pisell2.ticket-booking.paid': string;
83
+ 'pisell2.ticket-booking.partially-paid': string;
84
+ 'pisell2.ticket-booking.partially-refunded': string;
85
+ 'pisell2.ticket-booking.payment-pending': string;
86
+ 'pisell2.ticket-booking.refunded': string;
87
+ 'pisell2.ticket-booking.unpaid': string;
88
+ 'pisell2.ticket-booking.voided': string;
89
+ 'pisell2.ticket-booking.pending': string;
90
+ 'pisell2.ticket-booking.all': string;
91
+ 'pisell2.ticket-booking.not-started': string;
92
+ 'pisell2.ticket-booking.started': string;
93
+ 'pisell2.ticket-booking.finished': string;
94
+ 'pisell2.ticket-booking.canceled': string;
95
+ 'pisell2.ticket-booking.inform': string;
96
+ 'pisell2.ticket-booking.check-management': string;
97
+ 'pisell2.ticket-booking.confirm': string;
98
+ 'pisell2.ticket-booking.dashboard': string;
99
+ 'pisell2.ticket-booking.booking-list': string;
100
+ 'pisell2.ticket-booking.full-data': string;
101
+ 'pisell2.ticket-booking.today': string;
102
+ 'pisell2.ticket-booking.now': string;
103
+ 'pisell2.ticket-booking.start-time': string;
104
+ 'pisell2.ticket-booking.create-time': string;
105
+ 'pisell2.ticket-booking.customer': string;
106
+ 'pisell2.ticket-booking.total': string;
107
+ 'pisell2.ticket-booking.search': string;
108
+ 'pisell2.ticket-booking.refresh-success': string;
109
+ 'pisell2.ticket-booking.loading': string;
110
+ 'pisell2.ticket-booking.appointment-not-found': string;
111
+ 'pisell2.ticket-booking.scan': string;
112
+ 'pisell2.ticket-booking.create-new': string;
113
+ 'pisell2.ticket-booking.add-to-cart': string;
114
+ 'pisell2.ticket-booking.not-available-title': string;
115
+ 'pisell2.ticket-booking.not-available-ok': string;
116
+ 'pisell2.product.card.cart-items': (number: number) => string;
117
+ 'pisell2.product.card.subtotal': string;
118
+ 'pisell2.ticket-booking.in-cart': (number: number) => string;
119
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
120
+ 'pisell2.product.card.day': (val: number) => string;
121
+ 'pisell2.product.card.day.event': (val: number) => string;
122
+ 'pisell2.product.card.minute': (val: number) => string;
123
+ 'pisell2.ticket-booking.reload': string;
124
+ 'pisell2.text.scan-global-failed': string;
125
+ 'pisell2.ticket-booking.terminal-upgrade-title': string;
126
+ 'pisell2.ticket-booking.terminal-upgrade-description': string;
127
+ 'pisell2.ticket-booking.terminal-upgrade-ok': string;
128
+ 'pisell2.ticket-booking.terminal-upgrade-cancel': string;
129
+ 'pisell2.ticket-booking.collapse': string;
130
+ 'pisell2.ticket-booking.expand': string;
131
+ };
132
+ 'zh-HK': {
133
+ 'pisell2.ticket-booking.info': string;
134
+ 'pisell2.ticket-booking.notes': string;
135
+ 'pisell2.ticket-booking.note': string;
136
+ 'pisell2.ticket-booking.forms': string;
137
+ 'pisell2.ticket-booking.sales': string;
138
+ 'pisell2.ticket-booking.payment': string;
139
+ 'pisell2.ticket-booking.unsaved-changes': string;
140
+ 'pisell2.ticket-booking.exit-confirm': string;
141
+ 'pisell2.ticket-booking.go-back': string;
142
+ 'pisell2.ticket-booking.exit': string;
143
+ 'pisell2.ticket-booking.deposit': string;
144
+ 'pisell2.ticket-booking.copy-success': string;
145
+ 'pisell2.ticket-booking.no-data': string;
146
+ 'pisell2.ticket-booking.authorized': string;
147
+ 'pisell2.ticket-booking.paid': string;
148
+ 'pisell2.ticket-booking.partially-paid': string;
149
+ 'pisell2.ticket-booking.partially-refunded': string;
150
+ 'pisell2.ticket-booking.payment-pending': string;
151
+ 'pisell2.ticket-booking.refunded': string;
152
+ 'pisell2.ticket-booking.unpaid': string;
153
+ 'pisell2.ticket-booking.voided': string;
154
+ 'pisell2.ticket-booking.pending': string;
155
+ 'pisell2.ticket-booking.all': string;
156
+ 'pisell2.ticket-booking.not-started': string;
157
+ 'pisell2.ticket-booking.started': string;
158
+ 'pisell2.ticket-booking.finished': string;
159
+ 'pisell2.ticket-booking.canceled': string;
160
+ 'pisell2.ticket-booking.inform': string;
161
+ 'pisell2.ticket-booking.check-management': string;
162
+ 'pisell2.ticket-booking.confirm': string;
163
+ 'pisell2.ticket-booking.dashboard': string;
164
+ 'pisell2.ticket-booking.booking-list': string;
165
+ 'pisell2.ticket-booking.full-data': string;
166
+ 'pisell2.ticket-booking.today': string;
167
+ 'pisell2.ticket-booking.now': string;
168
+ 'pisell2.ticket-booking.start-time': string;
169
+ 'pisell2.ticket-booking.create-time': string;
170
+ 'pisell2.ticket-booking.customer': string;
171
+ 'pisell2.ticket-booking.total': string;
172
+ 'pisell2.ticket-booking.search': string;
173
+ 'pisell2.ticket-booking.refresh-success': string;
174
+ 'pisell2.ticket-booking.loading': string;
175
+ 'pisell2.ticket-booking.appointment-not-found': string;
176
+ 'pisell2.ticket-booking.scan': string;
177
+ 'pisell2.ticket-booking.create-new': string;
178
+ 'pisell2.ticket-booking.add-to-cart': string;
179
+ 'pisell2.ticket-booking.not-available-title': string;
180
+ 'pisell2.ticket-booking.not-available-ok': string;
181
+ 'pisell2.ticket-booking.in-cart': (number: number) => string;
182
+ 'pisell2.product.card.cart-items': (number: number) => string;
183
+ 'pisell2.product.card.subtotal': string;
184
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
185
+ 'pisell2.product.card.day': (val: number) => string;
186
+ 'pisell2.product.card.day.event': (val: number) => string;
187
+ 'pisell2.product.card.minute': (val: number) => string;
188
+ 'pisell2.ticket-booking.reload': string;
189
+ 'pisell2.text.scan-global-failed': string;
190
+ 'pisell2.ticket-booking.terminal-upgrade-title': string;
191
+ 'pisell2.ticket-booking.terminal-upgrade-description': string;
192
+ 'pisell2.ticket-booking.terminal-upgrade-ok': string;
193
+ 'pisell2.ticket-booking.terminal-upgrade-cancel': string;
194
+ 'pisell2.ticket-booking.collapse': string;
195
+ 'pisell2.ticket-booking.expand': string;
196
+ };
197
+ };
198
+ export default _default;
@@ -47,7 +47,7 @@ declare type ScanData = {
47
47
  };
48
48
  };
49
49
  export declare const formatScanCustomer: (data: ScanData) => {
50
- searchType: "customer" | "product" | "wallet" | "walletPass" | "local_product";
50
+ searchType: "product" | "customer" | "wallet" | "walletPass" | "local_product";
51
51
  data: any;
52
52
  scanCode: string;
53
53
  } | null;