@pisell/private-materials 6.6.41 → 6.6.42

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 (460) 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 +1 -1
  6. package/build/lowcode/preview.js +16 -16
  7. package/build/lowcode/render/default/view.js +7 -7
  8. package/build/lowcode/view.js +13 -13
  9. package/es/components/Sales/Cart/utils.d.ts +63 -0
  10. package/es/components/Sales/Checkout/utils.d.ts +41 -0
  11. package/es/components/Sales/Summary/index.d.ts +35 -0
  12. package/es/components/Sales/Summary/utils.d.ts +51 -0
  13. package/es/components/appointmentBooking/locales.d.ts +603 -0
  14. package/es/components/booking/components/voucher/utils.d.ts +5 -0
  15. package/es/components/booking/dashboard/serve.d.ts +2 -0
  16. package/es/components/booking/editBookingModal/utils.d.ts +12 -0
  17. package/es/components/booking/forms/serve.d.ts +18 -0
  18. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  19. package/es/components/booking/info/addServiceVariant/index.d.ts +7 -0
  20. package/es/components/booking/info/client/serve.d.ts +2 -0
  21. package/es/components/booking/info/hooks/useHolderConfig.d.ts +10 -0
  22. package/es/components/booking/info/index.d.ts +4 -0
  23. package/es/components/booking/info/pet/serve.d.ts +1 -0
  24. package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  25. package/es/components/booking/info/service/editService/constants.d.ts +1 -0
  26. package/es/components/booking/info/service/serve.d.ts +34 -0
  27. package/es/components/booking/info2/cartClientCard/locales.d.ts +33 -0
  28. package/es/components/booking/info2/serve.d.ts +6 -0
  29. package/es/components/booking/locales.d.ts +1619 -0
  30. package/es/components/booking/utils.d.ts +2 -2
  31. package/es/components/checkout/PaymentProvider.d.ts +13 -0
  32. package/es/components/checkout/components/AdditionalModule/locales.d.ts +58 -0
  33. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
  34. package/es/components/checkout/components/PaymentResultToast/index.d.ts +9 -0
  35. package/es/components/checkout/components/PaymentResultToast/types.d.ts +59 -0
  36. package/es/components/checkout/components/PaymentResultToast/utils.d.ts +44 -0
  37. package/es/components/checkout/components/ScrollableList/index.d.ts +5 -0
  38. package/es/components/checkout/components/ScrollableList/types.d.ts +53 -0
  39. package/es/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +11 -0
  40. package/es/components/checkout/components/WalletPassModule/components/DiscountWallet/DiscountTextMode.d.ts +7 -0
  41. package/es/components/checkout/components/WalletPassModule/components/WalletPassTextMode/index.d.ts +5 -0
  42. package/es/components/checkout/components/WalletPassModule/types.d.ts +134 -0
  43. package/es/components/checkout/constants.d.ts +2 -0
  44. package/es/components/checkout/export.d.ts +9 -0
  45. package/es/components/checkout/hooks/usePaymentLogger.d.ts +2 -0
  46. package/es/components/checkout/index.d.ts +5 -0
  47. package/es/components/checkout/locales.d.ts +853 -0
  48. package/es/components/checkout/styles.d.ts +67 -0
  49. package/es/components/checkout/types.d.ts +130 -0
  50. package/es/components/checkout/utils.d.ts +3 -0
  51. package/es/components/eftpos/const.d.ts +64 -0
  52. package/es/components/eftpos/hooks.d.ts +33 -0
  53. package/es/components/eftpos/locales.d.ts +163 -0
  54. package/es/components/eftposPay/EFTPos.d.ts +14 -0
  55. package/es/components/eftposPay/aggregatePayment/index.d.ts +3 -0
  56. package/es/components/eftposPay/aggregatePayment/service.d.ts +24 -0
  57. package/es/components/eftposPay/aggregatePayment/types.d.ts +106 -0
  58. package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +139 -0
  59. package/es/components/eftposPay/amount.d.ts +1 -1
  60. package/es/components/eftposPay/const.d.ts +195 -0
  61. package/es/components/eftposPay/device.d.ts +1 -1
  62. package/es/components/eftposPay/huifu/hooks.d.ts +25 -0
  63. package/es/components/eftposPay/huifu/types.d.ts +14 -0
  64. package/es/components/eftposPay/locales.d.ts +608 -0
  65. package/es/components/eftposPay/manufacturer.d.ts +8 -0
  66. package/es/components/eftposPay/serve.d.ts +16 -0
  67. package/es/components/eftposPay/store/index.d.ts +362 -0
  68. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +3 -0
  69. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +11 -0
  70. package/es/components/list/List.d.ts +5 -0
  71. package/es/components/list/ResponsiveWrapper.d.ts +16 -0
  72. package/es/components/list/TestResponsiveWrapper.d.ts +8 -0
  73. package/es/components/list/components/EmptyState/EmptyState.d.ts +20 -0
  74. package/es/components/list/components/EmptyState/index.d.ts +2 -0
  75. package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -0
  76. package/es/components/list/components/ListItemSkeleton/index.d.ts +2 -0
  77. package/es/components/list/components/Pagination/Pagination.d.ts +30 -0
  78. package/es/components/list/components/Pagination/index.d.ts +1 -0
  79. package/es/components/list/components/ScrollLoader/ScrollLoader.d.ts +18 -0
  80. package/es/components/list/components/ScrollLoader/index.d.ts +2 -0
  81. package/es/components/list/components/Tab/Tab.d.ts +5 -0
  82. package/es/components/list/components/Tab/index.d.ts +2 -0
  83. package/es/components/list/components/Tab/types.d.ts +14 -0
  84. package/es/components/list/components/TabSkeleton/TabSkeleton.d.ts +11 -0
  85. package/es/components/list/components/TabSkeleton/index.d.ts +2 -0
  86. package/es/components/list/components/WaterfallList/WaterfallList.d.ts +33 -0
  87. package/es/components/list/components/WaterfallList/index.d.ts +2 -0
  88. package/es/components/list/examples/GroupedListExample.d.ts +3 -0
  89. package/es/components/list/hooks/index.d.ts +5 -0
  90. package/es/components/list/hooks/useDevice.d.ts +24 -0
  91. package/es/components/list/hooks/useListState.d.ts +43 -0
  92. package/es/components/list/hooks/useWaterfall.d.ts +34 -0
  93. package/es/components/list/index.d.ts +10 -0
  94. package/es/components/list/locales.d.ts +108 -0
  95. package/es/components/list/types.d.ts +177 -0
  96. package/es/components/list/utils/getText.d.ts +53 -0
  97. package/es/components/list/utils/index.d.ts +4 -0
  98. package/es/components/pay/toB/components/CardGroup/index.d.ts +8 -0
  99. package/es/components/pay/toB/components/Content/index.d.ts +4 -0
  100. package/es/components/pay/toB/components/Content/utils.d.ts +16 -0
  101. package/es/components/pay/toB/components/EFTPOS/index.d.ts +8 -0
  102. package/es/components/pay/toB/components/index.d.ts +5 -0
  103. package/es/components/pay/toB/hooks.d.ts +12 -0
  104. package/es/components/pay/toB/locales.d.ts +88 -0
  105. package/es/components/pay/toB/paymentMethods/index.d.ts +11 -0
  106. package/es/components/pay/toB/store/context.d.ts +3 -0
  107. package/es/components/pay/toB/store/index.d.ts +3 -0
  108. package/es/components/pay/toB/store/provider.d.ts +4 -0
  109. package/es/components/pay/toB/types/index.d.ts +61 -0
  110. package/es/components/pay/toB/types/storeTypes.d.ts +143 -0
  111. package/es/components/pay/toC/PaymentList/utils.d.ts +36 -0
  112. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
  113. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
  114. package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
  115. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -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 +4 -0
  120. package/es/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
  121. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
  122. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
  123. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
  124. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
  125. package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  126. package/es/components/pisellSelectCustomerModal/locales.d.ts +133 -0
  127. package/es/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
  128. package/es/components/ruleSetting/locales.d.ts +78 -0
  129. package/es/components/schedules/locales.d.ts +143 -0
  130. package/es/components/shoppingCart/Provider.d.ts +3 -0
  131. package/es/components/shoppingCart/locales.d.ts +58 -0
  132. package/es/components/shoppingCart/mock.d.ts +40 -0
  133. package/es/components/shoppingCart/type.d.ts +50 -0
  134. package/es/components/shoppingCart/utils.d.ts +63 -0
  135. package/es/components/subTotal/locales.d.ts +68 -0
  136. package/es/components/systemSettings/registry/locales.d.ts +456 -0
  137. package/es/components/systemSettings/registry/services.d.ts +77 -0
  138. package/es/components/systemSettings/registry/types.d.ts +128 -0
  139. package/es/components/taxSelect/locales.d.ts +38 -0
  140. package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +27 -0
  141. package/es/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +7 -0
  142. package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
  143. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +9 -0
  144. package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +7 -0
  145. package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +6 -0
  146. package/es/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.d.ts +14 -0
  147. package/es/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
  148. package/es/components/ticketBooking/components/floatButtons/index.d.ts +11 -0
  149. package/es/components/ticketBooking/context/IsActiveContext.d.ts +26 -0
  150. package/es/components/ticketBooking/context/OsKeyContext.d.ts +26 -0
  151. package/es/components/ticketBooking/context/index.d.ts +2 -0
  152. package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
  153. package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +12 -0
  154. package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +6 -0
  155. package/es/components/ticketBooking/locales.d.ts +328 -0
  156. package/es/components/ticketBooking/serve.d.ts +288 -0
  157. package/es/components/ticketBooking/utils/productCache.d.ts +75 -0
  158. package/es/components/walletList/serve.d.ts +43 -0
  159. package/es/components/workSpaceList/components/AppearanceEdit/IconPanel.d.ts +11 -0
  160. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  161. package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
  162. package/es/components/workSpaceList/components/SearchBar/index.d.ts +17 -0
  163. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +4 -0
  164. package/es/components/workSpaceList/components/Sort/index.d.ts +7 -0
  165. package/es/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
  166. package/es/hooks/index.d.ts +10 -0
  167. package/es/hooks/useEngineContext.d.ts +3 -0
  168. package/es/hooks/useLocale.d.ts +2 -0
  169. package/es/hooks/useLogger.d.ts +2 -0
  170. package/es/hooks/useModal.d.ts +35 -0
  171. package/es/hooks/useModal.example.d.ts +12 -0
  172. package/es/hooks/useModal.integration.example.d.ts +15 -0
  173. package/es/hooks/useToast.d.ts +2 -0
  174. package/es/hooks/useWindowSize.d.ts +5 -0
  175. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  176. package/es/plus/noteModal/locales.d.ts +53 -0
  177. package/es/plus/noteModal/types.d.ts +19 -0
  178. package/es/plus/productSelect/CategoryTabs/index.d.ts +20 -0
  179. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +4 -0
  180. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +4 -0
  181. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +4 -0
  182. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +4 -0
  183. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +4 -0
  184. package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +8 -0
  185. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
  186. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +5 -0
  187. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
  188. package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +7 -0
  189. package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +7 -0
  190. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +6 -0
  191. package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +7 -0
  192. package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +7 -0
  193. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +6 -0
  194. package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +7 -0
  195. package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +7 -0
  196. package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +4 -0
  197. package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +9 -0
  198. package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +68 -0
  199. package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +164 -0
  200. package/es/plus/productSelect/ProductCard/SkuCard/type.d.ts +298 -0
  201. package/es/plus/productSelect/ProductCard/SkuCard/utils.d.ts +9 -0
  202. package/es/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  203. package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  204. package/es/plus/productSelect/components/pisellPriceText/index.d.ts +14 -0
  205. package/es/plus/saasAttendance/locales.d.ts +528 -0
  206. package/es/plus/saasAttendance/settings/types.d.ts +130 -0
  207. package/es/plus/selectHolder/locales.d.ts +38 -0
  208. package/es/plus/walletPassGallery/components/passDetail/index.js +3 -3
  209. package/es/plus/walletPassGallery/components/timelineSection/index.js +6 -1
  210. package/es/pro/Login2.0/locales.d.ts +903 -0
  211. package/es/pro/Login2.0/shared/types.d.ts +234 -0
  212. package/es/pro/NumberKeyboardPopover/index.d.ts +36 -0
  213. package/es/pro/NumberKeyboardPopover/types.d.ts +31 -0
  214. package/es/pro/multiDayTimeSelect/index.d.ts +3 -0
  215. package/es/pro/multiDayTimeSelect/types.d.ts +28 -0
  216. package/es/pro/pisellNumberSelector/example.d.ts +3 -0
  217. package/es/pro/pisellPriceKeyboardModal/index.d.ts +2 -0
  218. package/es/pro/pisellPriceKeyboardModal/types.d.ts +25 -0
  219. package/es/pro/pisellPriceKeyboardPopover/index.d.ts +2 -0
  220. package/es/pro/pisellPriceKeyboardPopover/types.d.ts +33 -0
  221. package/es/pro/pisellPriceRadio/index.d.ts +26 -0
  222. package/es/pro/pisellSimplePriceKeyboardPopover/index.d.ts +2 -0
  223. package/es/pro/pisellSimplePriceKeyboardPopover/types.d.ts +33 -0
  224. package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +63 -0
  225. package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
  226. package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +68 -0
  227. package/es/pro/priceKeyboard/components/discountKeyboard/types.d.ts +17 -0
  228. package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +73 -0
  229. package/es/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +39 -0
  230. package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +18 -0
  231. package/es/pro/priceKeyboard/hooks/rightItems.d.ts +28 -0
  232. package/es/pro/priceKeyboard/index.d.ts +3 -0
  233. package/es/pro/skuDetailModal/locales.d.ts +78 -0
  234. package/es/pro/skuDetailModal/types.d.ts +352 -0
  235. package/lib/components/Sales/Cart/utils.d.ts +63 -0
  236. package/lib/components/Sales/Checkout/utils.d.ts +41 -0
  237. package/lib/components/Sales/Summary/index.d.ts +35 -0
  238. package/lib/components/Sales/Summary/utils.d.ts +51 -0
  239. package/lib/components/appointmentBooking/locales.d.ts +603 -0
  240. package/lib/components/booking/components/voucher/utils.d.ts +5 -0
  241. package/lib/components/booking/dashboard/serve.d.ts +2 -0
  242. package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
  243. package/lib/components/booking/forms/serve.d.ts +18 -0
  244. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  245. package/lib/components/booking/info/addServiceVariant/index.d.ts +7 -0
  246. package/lib/components/booking/info/client/serve.d.ts +2 -0
  247. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +10 -0
  248. package/lib/components/booking/info/index.d.ts +4 -0
  249. package/lib/components/booking/info/pet/serve.d.ts +1 -0
  250. package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  251. package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
  252. package/lib/components/booking/info/service/serve.d.ts +34 -0
  253. package/lib/components/booking/info2/cartClientCard/locales.d.ts +33 -0
  254. package/lib/components/booking/info2/serve.d.ts +6 -0
  255. package/lib/components/booking/locales.d.ts +1619 -0
  256. package/lib/components/booking/utils.d.ts +2 -2
  257. package/lib/components/checkout/PaymentProvider.d.ts +13 -0
  258. package/lib/components/checkout/components/AdditionalModule/locales.d.ts +58 -0
  259. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
  260. package/lib/components/checkout/components/PaymentResultToast/index.d.ts +9 -0
  261. package/lib/components/checkout/components/PaymentResultToast/types.d.ts +59 -0
  262. package/lib/components/checkout/components/PaymentResultToast/utils.d.ts +44 -0
  263. package/lib/components/checkout/components/ScrollableList/index.d.ts +5 -0
  264. package/lib/components/checkout/components/ScrollableList/types.d.ts +53 -0
  265. package/lib/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +11 -0
  266. package/lib/components/checkout/components/WalletPassModule/components/DiscountWallet/DiscountTextMode.d.ts +7 -0
  267. package/lib/components/checkout/components/WalletPassModule/components/WalletPassTextMode/index.d.ts +5 -0
  268. package/lib/components/checkout/components/WalletPassModule/types.d.ts +134 -0
  269. package/lib/components/checkout/constants.d.ts +2 -0
  270. package/lib/components/checkout/export.d.ts +9 -0
  271. package/lib/components/checkout/hooks/usePaymentLogger.d.ts +2 -0
  272. package/lib/components/checkout/index.d.ts +5 -0
  273. package/lib/components/checkout/locales.d.ts +853 -0
  274. package/lib/components/checkout/styles.d.ts +67 -0
  275. package/lib/components/checkout/types.d.ts +130 -0
  276. package/lib/components/checkout/utils.d.ts +3 -0
  277. package/lib/components/eftpos/const.d.ts +64 -0
  278. package/lib/components/eftpos/hooks.d.ts +33 -0
  279. package/lib/components/eftpos/locales.d.ts +163 -0
  280. package/lib/components/eftposPay/EFTPos.d.ts +14 -0
  281. package/lib/components/eftposPay/aggregatePayment/index.d.ts +3 -0
  282. package/lib/components/eftposPay/aggregatePayment/service.d.ts +24 -0
  283. package/lib/components/eftposPay/aggregatePayment/types.d.ts +106 -0
  284. package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +139 -0
  285. package/lib/components/eftposPay/amount.d.ts +1 -1
  286. package/lib/components/eftposPay/const.d.ts +195 -0
  287. package/lib/components/eftposPay/device.d.ts +1 -1
  288. package/lib/components/eftposPay/huifu/hooks.d.ts +25 -0
  289. package/lib/components/eftposPay/huifu/types.d.ts +14 -0
  290. package/lib/components/eftposPay/locales.d.ts +608 -0
  291. package/lib/components/eftposPay/manufacturer.d.ts +8 -0
  292. package/lib/components/eftposPay/serve.d.ts +16 -0
  293. package/lib/components/eftposPay/store/index.d.ts +362 -0
  294. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +3 -0
  295. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +11 -0
  296. package/lib/components/list/List.d.ts +5 -0
  297. package/lib/components/list/ResponsiveWrapper.d.ts +16 -0
  298. package/lib/components/list/TestResponsiveWrapper.d.ts +8 -0
  299. package/lib/components/list/components/EmptyState/EmptyState.d.ts +20 -0
  300. package/lib/components/list/components/EmptyState/index.d.ts +2 -0
  301. package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -0
  302. package/lib/components/list/components/ListItemSkeleton/index.d.ts +2 -0
  303. package/lib/components/list/components/Pagination/Pagination.d.ts +30 -0
  304. package/lib/components/list/components/Pagination/index.d.ts +1 -0
  305. package/lib/components/list/components/ScrollLoader/ScrollLoader.d.ts +18 -0
  306. package/lib/components/list/components/ScrollLoader/index.d.ts +2 -0
  307. package/lib/components/list/components/Tab/Tab.d.ts +5 -0
  308. package/lib/components/list/components/Tab/index.d.ts +2 -0
  309. package/lib/components/list/components/Tab/types.d.ts +14 -0
  310. package/lib/components/list/components/TabSkeleton/TabSkeleton.d.ts +11 -0
  311. package/lib/components/list/components/TabSkeleton/index.d.ts +2 -0
  312. package/lib/components/list/components/WaterfallList/WaterfallList.d.ts +33 -0
  313. package/lib/components/list/components/WaterfallList/index.d.ts +2 -0
  314. package/lib/components/list/examples/GroupedListExample.d.ts +3 -0
  315. package/lib/components/list/hooks/index.d.ts +5 -0
  316. package/lib/components/list/hooks/useDevice.d.ts +24 -0
  317. package/lib/components/list/hooks/useListState.d.ts +43 -0
  318. package/lib/components/list/hooks/useWaterfall.d.ts +34 -0
  319. package/lib/components/list/index.d.ts +10 -0
  320. package/lib/components/list/locales.d.ts +108 -0
  321. package/lib/components/list/types.d.ts +177 -0
  322. package/lib/components/list/utils/getText.d.ts +53 -0
  323. package/lib/components/list/utils/index.d.ts +4 -0
  324. package/lib/components/pay/toB/components/CardGroup/index.d.ts +8 -0
  325. package/lib/components/pay/toB/components/Content/index.d.ts +4 -0
  326. package/lib/components/pay/toB/components/Content/utils.d.ts +16 -0
  327. package/lib/components/pay/toB/components/EFTPOS/index.d.ts +8 -0
  328. package/lib/components/pay/toB/components/index.d.ts +5 -0
  329. package/lib/components/pay/toB/hooks.d.ts +12 -0
  330. package/lib/components/pay/toB/locales.d.ts +88 -0
  331. package/lib/components/pay/toB/paymentMethods/index.d.ts +11 -0
  332. package/lib/components/pay/toB/store/context.d.ts +3 -0
  333. package/lib/components/pay/toB/store/index.d.ts +3 -0
  334. package/lib/components/pay/toB/store/provider.d.ts +4 -0
  335. package/lib/components/pay/toB/types/index.d.ts +61 -0
  336. package/lib/components/pay/toB/types/storeTypes.d.ts +143 -0
  337. package/lib/components/pay/toC/PaymentList/utils.d.ts +36 -0
  338. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
  339. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
  340. package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
  341. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
  342. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +7 -0
  343. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
  344. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
  345. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +4 -0
  346. package/lib/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
  347. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
  348. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
  349. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
  350. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
  351. package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  352. package/lib/components/pisellSelectCustomerModal/locales.d.ts +133 -0
  353. package/lib/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
  354. package/lib/components/ruleSetting/locales.d.ts +78 -0
  355. package/lib/components/schedules/locales.d.ts +143 -0
  356. package/lib/components/shoppingCart/Provider.d.ts +3 -0
  357. package/lib/components/shoppingCart/locales.d.ts +58 -0
  358. package/lib/components/shoppingCart/mock.d.ts +40 -0
  359. package/lib/components/shoppingCart/type.d.ts +50 -0
  360. package/lib/components/shoppingCart/utils.d.ts +63 -0
  361. package/lib/components/subTotal/locales.d.ts +68 -0
  362. package/lib/components/systemSettings/registry/locales.d.ts +456 -0
  363. package/lib/components/systemSettings/registry/services.d.ts +77 -0
  364. package/lib/components/systemSettings/registry/types.d.ts +128 -0
  365. package/lib/components/taxSelect/locales.d.ts +38 -0
  366. package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +27 -0
  367. package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +7 -0
  368. package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
  369. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +9 -0
  370. package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +7 -0
  371. package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +6 -0
  372. package/lib/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.d.ts +14 -0
  373. package/lib/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
  374. package/lib/components/ticketBooking/components/floatButtons/index.d.ts +11 -0
  375. package/lib/components/ticketBooking/context/IsActiveContext.d.ts +26 -0
  376. package/lib/components/ticketBooking/context/OsKeyContext.d.ts +26 -0
  377. package/lib/components/ticketBooking/context/index.d.ts +2 -0
  378. package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
  379. package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +12 -0
  380. package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +6 -0
  381. package/lib/components/ticketBooking/locales.d.ts +328 -0
  382. package/lib/components/ticketBooking/serve.d.ts +288 -0
  383. package/lib/components/ticketBooking/utils/productCache.d.ts +75 -0
  384. package/lib/components/walletList/serve.d.ts +43 -0
  385. package/lib/components/workSpaceList/components/AppearanceEdit/IconPanel.d.ts +11 -0
  386. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  387. package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
  388. package/lib/components/workSpaceList/components/SearchBar/index.d.ts +17 -0
  389. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +4 -0
  390. package/lib/components/workSpaceList/components/Sort/index.d.ts +7 -0
  391. package/lib/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
  392. package/lib/hooks/index.d.ts +10 -0
  393. package/lib/hooks/useEngineContext.d.ts +3 -0
  394. package/lib/hooks/useLocale.d.ts +2 -0
  395. package/lib/hooks/useLogger.d.ts +2 -0
  396. package/lib/hooks/useModal.d.ts +35 -0
  397. package/lib/hooks/useModal.example.d.ts +12 -0
  398. package/lib/hooks/useModal.integration.example.d.ts +15 -0
  399. package/lib/hooks/useToast.d.ts +2 -0
  400. package/lib/hooks/useWindowSize.d.ts +5 -0
  401. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  402. package/lib/plus/noteModal/locales.d.ts +53 -0
  403. package/lib/plus/noteModal/types.d.ts +19 -0
  404. package/lib/plus/productSelect/CategoryTabs/index.d.ts +20 -0
  405. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +4 -0
  406. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +4 -0
  407. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +4 -0
  408. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +4 -0
  409. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +4 -0
  410. package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +8 -0
  411. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
  412. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +5 -0
  413. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
  414. package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +7 -0
  415. package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +7 -0
  416. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +6 -0
  417. package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +7 -0
  418. package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +7 -0
  419. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +6 -0
  420. package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +7 -0
  421. package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +7 -0
  422. package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +4 -0
  423. package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +9 -0
  424. package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +68 -0
  425. package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +164 -0
  426. package/lib/plus/productSelect/ProductCard/SkuCard/type.d.ts +298 -0
  427. package/lib/plus/productSelect/ProductCard/SkuCard/utils.d.ts +9 -0
  428. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  429. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  430. package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +14 -0
  431. package/lib/plus/saasAttendance/locales.d.ts +528 -0
  432. package/lib/plus/saasAttendance/settings/types.d.ts +130 -0
  433. package/lib/plus/selectHolder/locales.d.ts +38 -0
  434. package/lib/plus/walletPassGallery/components/timelineSection/index.js +15 -8
  435. package/lib/pro/Login2.0/locales.d.ts +903 -0
  436. package/lib/pro/Login2.0/shared/types.d.ts +234 -0
  437. package/lib/pro/NumberKeyboardPopover/index.d.ts +36 -0
  438. package/lib/pro/NumberKeyboardPopover/types.d.ts +31 -0
  439. package/lib/pro/multiDayTimeSelect/index.d.ts +3 -0
  440. package/lib/pro/multiDayTimeSelect/types.d.ts +28 -0
  441. package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
  442. package/lib/pro/pisellPriceKeyboardModal/index.d.ts +2 -0
  443. package/lib/pro/pisellPriceKeyboardModal/types.d.ts +25 -0
  444. package/lib/pro/pisellPriceKeyboardPopover/index.d.ts +2 -0
  445. package/lib/pro/pisellPriceKeyboardPopover/types.d.ts +33 -0
  446. package/lib/pro/pisellPriceRadio/index.d.ts +26 -0
  447. package/lib/pro/pisellSimplePriceKeyboardPopover/index.d.ts +2 -0
  448. package/lib/pro/pisellSimplePriceKeyboardPopover/types.d.ts +33 -0
  449. package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +63 -0
  450. package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
  451. package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +68 -0
  452. package/lib/pro/priceKeyboard/components/discountKeyboard/types.d.ts +17 -0
  453. package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +73 -0
  454. package/lib/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +39 -0
  455. package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +18 -0
  456. package/lib/pro/priceKeyboard/hooks/rightItems.d.ts +28 -0
  457. package/lib/pro/priceKeyboard/index.d.ts +3 -0
  458. package/lib/pro/skuDetailModal/locales.d.ts +78 -0
  459. package/lib/pro/skuDetailModal/types.d.ts +352 -0
  460. package/package.json +2 -2
@@ -0,0 +1,68 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'discount-keyboard-price-override': string;
4
+ 'discount-keyboard-discount': string;
5
+ 'discount-keyboard-amount': string;
6
+ 'discount-keyboard-percentage': string;
7
+ 'discount-keyboard-max-discount': string;
8
+ 'discount-keyboard-discount-amount': string;
9
+ 'discount-keyboard-total': string;
10
+ 'discount-keyboard-payable': string;
11
+ 'discount-keyboard-reset': string;
12
+ 'discount-keyboard-done': string;
13
+ 'discount-keyboard-pay': string;
14
+ };
15
+ 'zh-CN': {
16
+ 'discount-keyboard-price-override': string;
17
+ 'discount-keyboard-discount': string;
18
+ 'discount-keyboard-amount': string;
19
+ 'discount-keyboard-percentage': string;
20
+ 'discount-keyboard-max-discount': string;
21
+ 'discount-keyboard-discount-amount': string;
22
+ 'discount-keyboard-total': string;
23
+ 'discount-keyboard-payable': string;
24
+ 'discount-keyboard-reset': string;
25
+ 'discount-keyboard-done': string;
26
+ 'discount-keyboard-pay': string;
27
+ };
28
+ 'zh-HK': {
29
+ 'discount-keyboard-price-override': string;
30
+ 'discount-keyboard-discount': string;
31
+ 'discount-keyboard-amount': string;
32
+ 'discount-keyboard-percentage': string;
33
+ 'discount-keyboard-max-discount': string;
34
+ 'discount-keyboard-discount-amount': string;
35
+ 'discount-keyboard-total': string;
36
+ 'discount-keyboard-payable': string;
37
+ 'discount-keyboard-reset': string;
38
+ 'discount-keyboard-done': string;
39
+ 'discount-keyboard-pay': string;
40
+ };
41
+ ja: {
42
+ 'discount-keyboard-price-override': string;
43
+ 'discount-keyboard-discount': string;
44
+ 'discount-keyboard-amount': string;
45
+ 'discount-keyboard-percentage': string;
46
+ 'discount-keyboard-max-discount': string;
47
+ 'discount-keyboard-discount-amount': string;
48
+ 'discount-keyboard-total': string;
49
+ 'discount-keyboard-payable': string;
50
+ 'discount-keyboard-reset': string;
51
+ 'discount-keyboard-done': string;
52
+ 'discount-keyboard-pay': string;
53
+ };
54
+ pt: {
55
+ 'discount-keyboard-price-override': string;
56
+ 'discount-keyboard-discount': string;
57
+ 'discount-keyboard-amount': string;
58
+ 'discount-keyboard-percentage': string;
59
+ 'discount-keyboard-max-discount': string;
60
+ 'discount-keyboard-discount-amount': string;
61
+ 'discount-keyboard-total': string;
62
+ 'discount-keyboard-payable': string;
63
+ 'discount-keyboard-reset': string;
64
+ 'discount-keyboard-done': string;
65
+ 'discount-keyboard-pay': string;
66
+ };
67
+ };
68
+ export default _default;
@@ -0,0 +1,17 @@
1
+ export interface DiscountKeyboardBaseProps {
2
+ /** 金额符 */
3
+ amountSymbol?: string;
4
+ /** 初始值,多用于展示及计算,不同于原始值 */
5
+ defaultValue?: string | number;
6
+ /** 原始值,多用于重置 */
7
+ originalValue?: string | number;
8
+ placeholder?: string;
9
+ doneText?: string;
10
+ resetText?: string;
11
+ /** 键盘主题 */
12
+ selectType?: 'light' | 'dark';
13
+ onEnter?: (val: string) => void;
14
+ onReset?: () => void;
15
+ onChange?: (val: string) => void;
16
+ enableExceedMaxAmount?: boolean;
17
+ }
@@ -0,0 +1,73 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'payment-keyboard-payment': string;
4
+ 'payment-keyboard-surcharge': string;
5
+ 'payment-keyboard-percent': string;
6
+ 'payment-keyboard-fixed': string;
7
+ 'payment-keyboard-max': string;
8
+ 'payment-keyboard-remaining': string;
9
+ 'payment-keyboard-change-due': string;
10
+ 'payment-keyboard-total-amount-due': string;
11
+ 'payment-keyboard-inc-surcharge': string;
12
+ 'payment-keyboard-reset': string;
13
+ 'payment-keyboard-done': string;
14
+ 'payment-keyboard-pay': string;
15
+ };
16
+ 'zh-CN': {
17
+ 'payment-keyboard-payment': string;
18
+ 'payment-keyboard-surcharge': string;
19
+ 'payment-keyboard-percent': string;
20
+ 'payment-keyboard-change-due': string;
21
+ 'payment-keyboard-fixed': string;
22
+ 'payment-keyboard-max': string;
23
+ 'payment-keyboard-remaining': string;
24
+ 'payment-keyboard-total-amount-due': string;
25
+ 'payment-keyboard-inc-surcharge': string;
26
+ 'payment-keyboard-reset': string;
27
+ 'payment-keyboard-done': string;
28
+ 'payment-keyboard-pay': string;
29
+ };
30
+ 'zh-HK': {
31
+ 'payment-keyboard-payment': string;
32
+ 'payment-keyboard-surcharge': string;
33
+ 'payment-keyboard-percent': string;
34
+ 'payment-keyboard-fixed': string;
35
+ 'payment-keyboard-max': string;
36
+ 'payment-keyboard-remaining': string;
37
+ 'payment-keyboard-change-due': string;
38
+ 'payment-keyboard-total-amount-due': string;
39
+ 'payment-keyboard-inc-surcharge': string;
40
+ 'payment-keyboard-reset': string;
41
+ 'payment-keyboard-done': string;
42
+ 'payment-keyboard-pay': string;
43
+ };
44
+ ja: {
45
+ 'payment-keyboard-payment': string;
46
+ 'payment-keyboard-surcharge': string;
47
+ 'payment-keyboard-percent': string;
48
+ 'payment-keyboard-fixed': string;
49
+ 'payment-keyboard-max': string;
50
+ 'payment-keyboard-remaining': string;
51
+ 'payment-keyboard-change-due': string;
52
+ 'payment-keyboard-total-amount-due': string;
53
+ 'payment-keyboard-inc-surcharge': string;
54
+ 'payment-keyboard-reset': string;
55
+ 'payment-keyboard-done': string;
56
+ 'payment-keyboard-pay': string;
57
+ };
58
+ pt: {
59
+ 'payment-keyboard-payment': string;
60
+ 'payment-keyboard-surcharge': string;
61
+ 'payment-keyboard-percent': string;
62
+ 'payment-keyboard-fixed': string;
63
+ 'payment-keyboard-max': string;
64
+ 'payment-keyboard-remaining': string;
65
+ 'payment-keyboard-change-due': string;
66
+ 'payment-keyboard-total-amount-due': string;
67
+ 'payment-keyboard-inc-surcharge': string;
68
+ 'payment-keyboard-reset': string;
69
+ 'payment-keyboard-done': string;
70
+ 'payment-keyboard-pay': string;
71
+ };
72
+ };
73
+ export default _default;
@@ -0,0 +1,39 @@
1
+ export declare type SurchargeValue = {
2
+ percent?: string;
3
+ fixed?: string;
4
+ };
5
+ export interface PaymentKeyboardBaseProps {
6
+ /** 自定义支付允许超出最大值, EFTPOS不允许 */
7
+ enableExceedMaxAmount?: boolean;
8
+ /** payment 原始值 */
9
+ paymentOriginalValue?: string;
10
+ /** payment 当前值 */
11
+ paymentValue?: string;
12
+ /** payment 默认值, 非受控 */
13
+ paymentDefaultValue?: string;
14
+ /** surcharge 原始值 */
15
+ surchargeOriginalValue?: SurchargeValue;
16
+ /** surcharge 当前值 */
17
+ surchargeValue?: SurchargeValue;
18
+ /** surcharge 默认值, 非受控 */
19
+ surchargeDefaultValue?: SurchargeValue;
20
+ onReset?: () => void;
21
+ onPay?: (args: {
22
+ surcharge: SurchargeValue;
23
+ amount: string;
24
+ }) => void;
25
+ onChange?: (v: string | SurchargeValue) => void;
26
+ payment?: {
27
+ enable?: boolean;
28
+ };
29
+ surcharge?: {
30
+ enable?: boolean;
31
+ };
32
+ title?: {
33
+ text?: string;
34
+ };
35
+ subTitle?: {
36
+ text?: string;
37
+ };
38
+ [key: string]: any;
39
+ }
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export declare type ShortcutsItem = {
4
+ label: string;
5
+ value: number | string;
6
+ style?: React.CSSProperties;
7
+ onClick?: (item: ShortcutsItem, _next: () => void) => void;
8
+ render?: (item: ShortcutsItem) => React.ReactNode;
9
+ disabled?: boolean;
10
+ };
11
+ export interface ShortcutsProps {
12
+ presets?: ShortcutsItem[];
13
+ onChange?: (val: string) => void;
14
+ disabled?: boolean;
15
+ size?: 'default' | 'large';
16
+ }
17
+ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<ShortcutsProps & React.RefAttributes<HTMLDivElement>>>;
18
+ export default _default;
@@ -0,0 +1,28 @@
1
+ import React from 'react';
2
+ declare const useRightItems: (props: {
3
+ rightItemsStyle?: any;
4
+ doneText?: string;
5
+ resetText?: string;
6
+ }) => ({
7
+ value: string;
8
+ label: React.JSX.Element;
9
+ disabled: boolean;
10
+ type: string;
11
+ style: any;
12
+ size?: undefined;
13
+ } | {
14
+ value: string;
15
+ label: string;
16
+ disabled: boolean;
17
+ type: string;
18
+ style: any;
19
+ size?: undefined;
20
+ } | {
21
+ value: string;
22
+ label: string;
23
+ disabled: boolean;
24
+ type: string;
25
+ size: number;
26
+ style: any;
27
+ })[];
28
+ export default useRightItems;
@@ -0,0 +1,3 @@
1
+ export { default as CashKeyboard } from './components/cashKeyboard';
2
+ export { default as PaymentKeyboard } from './components/paymentKeyboard';
3
+ export { default as DiscountKeyboard } from './components/discountKeyboard';
@@ -0,0 +1,78 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.text.sku.detail.modal.quantity': string;
4
+ 'pisell2.text.sku.detail.modal.note': string;
5
+ 'pisell2.text.sku.detail.modal.subtotal': string;
6
+ 'pisell2.text.sku.detail.modal.discount': string;
7
+ 'pisell2.text.sku.detail.modal.manual.price.change': string;
8
+ 'pisell2.text.sku.detail.modal.price.override': string;
9
+ 'pisell2.text.sku.detail.modal.total': string;
10
+ 'pisell2.text.sku.detail.modal.gst.excl': string;
11
+ 'pisell2.text.sku.detail.modal.gst.incl': string;
12
+ 'pisell2.text.sku.detail.modal.btn.add.note': string;
13
+ 'pisell2.text.sku.detail.modal.btn.remove': string;
14
+ 'pisell2.text.sku.detail.modal.btn.confirm': string;
15
+ 'pisell2.text.sku.detail.modal.btn.manual.price.change': string;
16
+ };
17
+ 'zh-CN': {
18
+ 'pisell2.text.sku.detail.modal.quantity': string;
19
+ 'pisell2.text.sku.detail.modal.note': string;
20
+ 'pisell2.text.sku.detail.modal.subtotal': string;
21
+ 'pisell2.text.sku.detail.modal.discount': string;
22
+ 'pisell2.text.sku.detail.modal.manual.price.change': string;
23
+ 'pisell2.text.sku.detail.modal.price.override': string;
24
+ 'pisell2.text.sku.detail.modal.total': string;
25
+ 'pisell2.text.sku.detail.modal.gst.excl': string;
26
+ 'pisell2.text.sku.detail.modal.gst.incl': string;
27
+ 'pisell2.text.sku.detail.modal.btn.add.note': string;
28
+ 'pisell2.text.sku.detail.modal.btn.remove': string;
29
+ 'pisell2.text.sku.detail.modal.btn.confirm': string;
30
+ 'pisell2.text.sku.detail.modal.btn.manual.price.change': string;
31
+ };
32
+ 'zh-HK': {
33
+ 'pisell2.text.sku.detail.modal.quantity': string;
34
+ 'pisell2.text.sku.detail.modal.note': string;
35
+ 'pisell2.text.sku.detail.modal.subtotal': string;
36
+ 'pisell2.text.sku.detail.modal.discount': string;
37
+ 'pisell2.text.sku.detail.modal.manual.price.change': string;
38
+ 'pisell2.text.sku.detail.modal.price.override': string;
39
+ 'pisell2.text.sku.detail.modal.total': string;
40
+ 'pisell2.text.sku.detail.modal.gst.excl': string;
41
+ 'pisell2.text.sku.detail.modal.gst.incl': string;
42
+ 'pisell2.text.sku.detail.modal.btn.add.note': string;
43
+ 'pisell2.text.sku.detail.modal.btn.remove': string;
44
+ 'pisell2.text.sku.detail.modal.btn.confirm': string;
45
+ 'pisell2.text.sku.detail.modal.btn.manual.price.change': string;
46
+ };
47
+ ja: {
48
+ 'pisell2.text.sku.detail.modal.quantity': string;
49
+ 'pisell2.text.sku.detail.modal.note': string;
50
+ 'pisell2.text.sku.detail.modal.subtotal': string;
51
+ 'pisell2.text.sku.detail.modal.discount': string;
52
+ 'pisell2.text.sku.detail.modal.manual.price.change': string;
53
+ 'pisell2.text.sku.detail.modal.price.override': string;
54
+ 'pisell2.text.sku.detail.modal.total': string;
55
+ 'pisell2.text.sku.detail.modal.gst.excl': string;
56
+ 'pisell2.text.sku.detail.modal.gst.incl': string;
57
+ 'pisell2.text.sku.detail.modal.btn.add.note': string;
58
+ 'pisell2.text.sku.detail.modal.btn.remove': string;
59
+ 'pisell2.text.sku.detail.modal.btn.confirm': string;
60
+ 'pisell2.text.sku.detail.modal.btn.manual.price.change': string;
61
+ };
62
+ pt: {
63
+ 'pisell2.text.sku.detail.modal.quantity': string;
64
+ 'pisell2.text.sku.detail.modal.note': string;
65
+ 'pisell2.text.sku.detail.modal.subtotal': string;
66
+ 'pisell2.text.sku.detail.modal.discount': string;
67
+ 'pisell2.text.sku.detail.modal.manual.price.change': string;
68
+ 'pisell2.text.sku.detail.modal.price.override': string;
69
+ 'pisell2.text.sku.detail.modal.total': string;
70
+ 'pisell2.text.sku.detail.modal.gst.excl': string;
71
+ 'pisell2.text.sku.detail.modal.gst.incl': string;
72
+ 'pisell2.text.sku.detail.modal.btn.add.note': string;
73
+ 'pisell2.text.sku.detail.modal.btn.remove': string;
74
+ 'pisell2.text.sku.detail.modal.btn.confirm': string;
75
+ 'pisell2.text.sku.detail.modal.btn.manual.price.change': string;
76
+ };
77
+ };
78
+ export default _default;
@@ -0,0 +1,352 @@
1
+ export declare type ChannelApplication = 'online-store' | 'pos' | 'wholesalebusiness' | 'kiosk';
2
+ export declare type ProductType = 'physical' | 'virtual';
3
+ export declare type WeightUnit = 'KILOGRAMS' | 'GRAMS' | 'POUNDS' | 'OUNCES';
4
+ export declare type DurationType = 'minutes' | 'hours' | 'days';
5
+ export declare type ResourceType = 'single' | 'multiple';
6
+ export declare type RelationType = 'form';
7
+ export declare type EventType = 'schedule_event';
8
+ export declare type MaxParticipantsType = 'custom-limit' | 'unlimited';
9
+ export interface TimeSlice {
10
+ label: string;
11
+ value: string;
12
+ }
13
+ export interface DurationSlice {
14
+ label: string;
15
+ value: number;
16
+ }
17
+ export interface MultiLanguageName {
18
+ en?: string;
19
+ 'zh-CN'?: string;
20
+ 'zh-HK'?: string;
21
+ original?: string;
22
+ 'ja'?: string;
23
+ 'pt'?: string;
24
+ auto?: string;
25
+ }
26
+ export interface MultiLanguageTitle {
27
+ label: {
28
+ type: 'i18n';
29
+ 'en-US': string;
30
+ 'zh-CN': string;
31
+ 'ja'?: string;
32
+ 'pt'?: string;
33
+ };
34
+ }
35
+ export interface SelectType {
36
+ type: 'single' | 'multiple';
37
+ min: number;
38
+ max: number;
39
+ }
40
+ export interface Duration {
41
+ type: DurationType;
42
+ value: number;
43
+ }
44
+ export interface CutOffTime {
45
+ unit: number;
46
+ unit_type: DurationType;
47
+ future_day: number;
48
+ type: 'advance';
49
+ ongoing: {
50
+ type: 'before_end';
51
+ unit: number;
52
+ };
53
+ }
54
+ export interface MachineCode {
55
+ make_over: number;
56
+ beforehand: number;
57
+ limit_count: number;
58
+ customer: number;
59
+ send_action: string;
60
+ hide_recharge: number;
61
+ distributor_automatic: number;
62
+ }
63
+ export interface Form {
64
+ id: number;
65
+ shop_id: number;
66
+ title: string;
67
+ navigation_display: number;
68
+ button: string;
69
+ describe: string;
70
+ status: 'published' | 'draft';
71
+ resource_sort: number;
72
+ code: string;
73
+ type: 'manual' | 'auto';
74
+ version: number;
75
+ setting: any;
76
+ created_at: string;
77
+ updated_at: string;
78
+ }
79
+ export interface PartyroomPackage {
80
+ type: 'product_all' | 'product_part';
81
+ }
82
+ export interface EventListItem {
83
+ id: number;
84
+ start_date?: string;
85
+ start_time?: string;
86
+ end_date?: string;
87
+ end_time?: string;
88
+ relation_id: number;
89
+ number?: number;
90
+ start_at?: string;
91
+ end_at?: string;
92
+ keys?: string;
93
+ pax: number;
94
+ type: EventType;
95
+ pax_list: Record<string, number>;
96
+ }
97
+ export interface TimeConfig {
98
+ keys: string;
99
+ schedule_id: number;
100
+ item_type: string;
101
+ item_id: number;
102
+ start_date: string;
103
+ end_date: string;
104
+ start_time: string;
105
+ end_time: string;
106
+ is_all: number;
107
+ relation_type: RelationType;
108
+ start_at: string;
109
+ end_at: string;
110
+ event_list: EventListItem[];
111
+ max_participants_type?: MaxParticipantsType;
112
+ max_participants_limit?: number;
113
+ is_blocked?: number;
114
+ blocked_times?: any[];
115
+ order_event_count?: number;
116
+ unique?: string;
117
+ _extend?: {
118
+ isMaxLimitRange: boolean;
119
+ isDateRange: boolean;
120
+ isCountRange: boolean;
121
+ isUsable: boolean;
122
+ };
123
+ }
124
+ export interface ResourceMetadata {
125
+ combined_resource: any;
126
+ }
127
+ export interface ResourceItem {
128
+ id: number;
129
+ main_field: string;
130
+ sort: number;
131
+ form_id: number;
132
+ times: TimeConfig[];
133
+ capacity: number;
134
+ combined_resource: any;
135
+ resource_form_id: string | number;
136
+ form_code: string;
137
+ resourceType: ResourceType;
138
+ children: any[];
139
+ metadata: ResourceMetadata;
140
+ form_tag?: any;
141
+ policy?: number;
142
+ partyroom_package?: PartyroomPackage;
143
+ status?: string;
144
+ description?: string;
145
+ media?: string;
146
+ subtitle?: string;
147
+ room_name?: string;
148
+ labelText?: string;
149
+ form_record_id?: number;
150
+ item_type?: string;
151
+ form_resource_sort?: number;
152
+ form_title?: string;
153
+ form?: Form;
154
+ _extend?: {
155
+ usableTime?: TimeConfig;
156
+ };
157
+ usable?: boolean;
158
+ label?: any;
159
+ }
160
+ export interface ResourceTypeInfo {
161
+ id: number;
162
+ title: string;
163
+ status: number;
164
+ code: string;
165
+ created_at: string;
166
+ updated_at: string | null;
167
+ type: ResourceType;
168
+ optional_resource: number[];
169
+ default_resource: any[];
170
+ select_type: SelectType;
171
+ resource_type_id: number;
172
+ renderList?: ResourceItem[];
173
+ form_id?: number;
174
+ renderListMaps?: Record<string, ResourceItem>;
175
+ }
176
+ export interface ProductResource {
177
+ resources: ResourceTypeInfo[];
178
+ }
179
+ export interface CapacityCustom {
180
+ name: MultiLanguageName;
181
+ min: number;
182
+ max: number;
183
+ id: string;
184
+ }
185
+ export interface CapacityPackage {
186
+ }
187
+ export interface Capacity {
188
+ type: 'product' | 'package';
189
+ custom: CapacityCustom[];
190
+ package: CapacityPackage[];
191
+ }
192
+ export interface ProductDisplaySetting {
193
+ kiosk: {
194
+ use_display_mode: number;
195
+ product_option_mode: any;
196
+ product_option_mode_paging: any;
197
+ product_bundle_mode: any;
198
+ product_bundle_mode_paging: any;
199
+ };
200
+ }
201
+ export interface ShelfProductData {
202
+ }
203
+ export interface Category {
204
+ id: number;
205
+ name: string;
206
+ icon: string;
207
+ slug: string;
208
+ sort: number;
209
+ }
210
+ export interface Collection {
211
+ id: number;
212
+ title: string;
213
+ cover: string;
214
+ }
215
+ export interface ExtendData {
216
+ duration: number;
217
+ start_time: string;
218
+ start_date: string;
219
+ quantity: number;
220
+ price: string;
221
+ product_name: string;
222
+ other: {
223
+ bundle: any[];
224
+ key: number;
225
+ option: any[];
226
+ product_id: number;
227
+ product_variant_id: number;
228
+ quantity: number;
229
+ rowKey: number;
230
+ session: any;
231
+ unique: string;
232
+ };
233
+ total: number;
234
+ origin_total: number;
235
+ startDate: string;
236
+ endDate: string;
237
+ capacity: Array<{
238
+ id: number;
239
+ value: number;
240
+ name: string;
241
+ }>;
242
+ resource: Record<string, Array<{
243
+ children: any[];
244
+ form_id: number;
245
+ relation_id: number;
246
+ like_status: string;
247
+ errors: any[];
248
+ metadata: {
249
+ form_name: string;
250
+ resource_name: string;
251
+ };
252
+ }>>;
253
+ note?: string;
254
+ }
255
+ export interface TimeObj {
256
+ timeSlices: TimeSlice[];
257
+ durationSlicesBasedOnTime: DurationSlice[];
258
+ }
259
+ export interface DataObj {
260
+ timeObj: TimeObj;
261
+ capacitys: Capacity;
262
+ resourcesOrigin: ResourceTypeInfo[];
263
+ resources: ResourceTypeInfo[];
264
+ resourceMaps: Record<string, ResourceTypeInfo>;
265
+ }
266
+ export interface DiscountItem {
267
+ amount: number;
268
+ type: 'discount_card' | 'discount_code' | 'discount_package';
269
+ discount: {
270
+ resource_id: number;
271
+ title: MultiLanguageTitle;
272
+ original_amount: number;
273
+ product_id: number;
274
+ percent: string;
275
+ };
276
+ num: number;
277
+ }
278
+ export interface ProductData {
279
+ id: number;
280
+ extension_id: number;
281
+ extension_type: string;
282
+ shop_id: number;
283
+ title: string;
284
+ slug: string;
285
+ status: 'published' | 'draft' | 'archived';
286
+ stock_quantity: number;
287
+ sales_quantity: number;
288
+ sum_stock: number;
289
+ price: string;
290
+ original_price: string;
291
+ cost_price: string;
292
+ cover: string;
293
+ channel_application: ChannelApplication[];
294
+ is_track: number;
295
+ over_sold: number;
296
+ is_gst: number;
297
+ code: string;
298
+ barcode: string;
299
+ is_delivery: number;
300
+ weight_unit: WeightUnit;
301
+ weight_value: string;
302
+ type: ProductType;
303
+ unit: string;
304
+ sort: number;
305
+ subtitle: string;
306
+ minimum_markup_price: string;
307
+ is_bundle: number;
308
+ bundle_group_count: number;
309
+ option_group_count: number;
310
+ is_variant: number;
311
+ variant_count: number;
312
+ cut_off_time: CutOffTime;
313
+ policy: number;
314
+ machine_code: MachineCode;
315
+ duration: Duration;
316
+ product_resource: ProductResource;
317
+ capacity: Capacity;
318
+ product_display_setting: ProductDisplaySetting;
319
+ shelf_product_datas: ShelfProductData[];
320
+ step_value: number;
321
+ min_num_unit: number;
322
+ schedules: any[];
323
+ is_charge_tax: number;
324
+ base_price: string;
325
+ variant: any[];
326
+ category: Category[];
327
+ collection: Collection[];
328
+ product_id: number;
329
+ _id: string;
330
+ _key: number;
331
+ _extend: ExtendData;
332
+ new: number;
333
+ currentDefaultTime: string;
334
+ _data: DataObj;
335
+ autoClose: boolean;
336
+ _serviceKey: string;
337
+ _holderKey: string;
338
+ discount_list: DiscountItem[];
339
+ }
340
+ export declare type SkuDetailModalData = ProductData;
341
+ export interface SkuDetailModalProps {
342
+ /** 确认回调 */
343
+ onConfirm?: (data: ProductData) => void;
344
+ /** 删除回调 */
345
+ onRemove?: (productData: ProductData) => void;
346
+ /** 关闭回调 */
347
+ onClose?: () => void;
348
+ }
349
+ export interface SkuDetailModalRef {
350
+ /** 打开弹窗 */
351
+ open: (data: ProductData) => void;
352
+ }