@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,234 @@
1
+ /**
2
+ * 登录注册 2.0 共享类型定义
3
+ */
4
+ /** 验证方式枚举 */
5
+ export declare type VerificationMethod = 'verification_code' | 'password';
6
+ /** 邮箱注册验证方式 */
7
+ export declare type EmailRegistrationVerification = 'verification_link' | 'verification_code' | 'none';
8
+ /** 手机注册验证方式 */
9
+ export declare type PhoneRegistrationVerification = 'verification_code';
10
+ /** 认证方式类型 */
11
+ export declare type AuthMethodType = 'email' | 'phone' | 'google' | 'facebook' | 'apple' | 'guest';
12
+ /** 登录方式项类型 */
13
+ export declare type LoginMethodType = 'email' | 'phone' | 'google' | 'facebook' | 'apple' | 'guest';
14
+ export interface PhoneValueObject {
15
+ phone: string;
16
+ country_calling_code: string;
17
+ }
18
+ /** 邮箱登录方式项 */
19
+ export interface EmailLoginMethod {
20
+ type: 'email';
21
+ /** 启用的验证方式(按顺序),第一个为默认方式 */
22
+ verificationMethods: Array<'password' | 'verification_code'>;
23
+ /** 密码登录是否分步骤填写(先输入邮箱,再输入密码) */
24
+ stepByStep?: boolean;
25
+ }
26
+ /** 手机登录方式项 */
27
+ export interface PhoneLoginMethod {
28
+ type: 'phone';
29
+ /** 启用的验证方式(按顺序),第一个为默认方式 */
30
+ verificationMethods: Array<'password' | 'verification_code'>;
31
+ /** 密码登录是否分步骤填写(先输入手机号,再输入密码) */
32
+ stepByStep?: boolean;
33
+ }
34
+ /** Google 登录方式项 */
35
+ export interface GoogleLoginMethod {
36
+ type: 'google';
37
+ /** Google Client ID */
38
+ clientId?: string;
39
+ }
40
+ /** Facebook 登录方式项 */
41
+ export interface FacebookLoginMethod {
42
+ type: 'facebook';
43
+ /** Facebook App ID */
44
+ appId?: string;
45
+ }
46
+ /** Apple 登录方式项 */
47
+ export interface AppleLoginMethod {
48
+ type: 'apple';
49
+ /** Apple Client ID */
50
+ clientId?: string;
51
+ }
52
+ /** Guest 登录方式项 */
53
+ export interface GuestLoginMethod {
54
+ type: 'guest';
55
+ }
56
+ /** 注册方式类型 */
57
+ export declare type RegistrationMethodType = 'email' | 'phone' | 'google' | 'facebook' | 'apple';
58
+ /** 邮箱注册方式项 */
59
+ export interface EmailRegistrationMethod {
60
+ type: 'email';
61
+ /** 注册验证方式(邮箱支持验证链接/验证码/无需验证) */
62
+ verificationMethod: 'verification_link' | 'verification_code' | 'none';
63
+ }
64
+ /** 手机注册方式项 */
65
+ export interface PhoneRegistrationMethod {
66
+ type: 'phone';
67
+ /** 注册验证方式(手机仅支持验证码) */
68
+ verificationMethod: 'verification_code';
69
+ }
70
+ /** Google 注册方式项 */
71
+ export interface GoogleRegistrationMethod {
72
+ type: 'google';
73
+ /** Google Client ID */
74
+ clientId?: string;
75
+ }
76
+ /** Facebook 注册方式项 */
77
+ export interface FacebookRegistrationMethod {
78
+ type: 'facebook';
79
+ /** Facebook App ID */
80
+ appId?: string;
81
+ }
82
+ /** Apple 注册方式项 */
83
+ export interface AppleRegistrationMethod {
84
+ type: 'apple';
85
+ /** Apple Client ID */
86
+ clientId?: string;
87
+ }
88
+ /** 注册方式项联合类型 */
89
+ export declare type RegistrationMethodItem = EmailRegistrationMethod | PhoneRegistrationMethod | GoogleRegistrationMethod | FacebookRegistrationMethod | AppleRegistrationMethod;
90
+ /** 法律条款项 */
91
+ export interface LegalTermItem {
92
+ /** 条款名称 - 支持国际化对象或简单字符串 */
93
+ name: string | {
94
+ en?: string;
95
+ 'zh-CN'?: string;
96
+ 'zh-HK'?: string;
97
+ 'ja'?: string;
98
+ 'pt'?: string;
99
+ original?: string;
100
+ };
101
+ /** 条款链接 */
102
+ url: string;
103
+ }
104
+ /** 法律条款配置 */
105
+ export interface LegalTermsConfig {
106
+ /** 是否显示法律条款区域 */
107
+ enabled?: boolean;
108
+ /** 法律条款列表 */
109
+ terms?: LegalTermItem[];
110
+ /** 条款文本模板 */
111
+ textTemplate?: string;
112
+ /** 当前模式:login 或 register */
113
+ mode?: 'login' | 'register';
114
+ }
115
+ /** 登录方式项联合类型 */
116
+ export declare type LoginMethodItem = EmailLoginMethod | PhoneLoginMethod | GoogleLoginMethod | FacebookLoginMethod | AppleLoginMethod | GuestLoginMethod;
117
+ /** 邮箱认证配置 */
118
+ export interface EmailAuthConfig {
119
+ /** 是否启用邮箱认证 */
120
+ enable_email: boolean;
121
+ /** 注册验证方式 */
122
+ registration_verification?: EmailRegistrationVerification;
123
+ /** 登录验证方式列表 */
124
+ login_verification_methods?: VerificationMethod[];
125
+ }
126
+ /** 手机认证配置 */
127
+ export interface PhoneAuthConfig {
128
+ /** 是否启用手机认证 */
129
+ enable_phone_number: boolean;
130
+ /** 注册验证方式 */
131
+ registration_verification?: PhoneRegistrationVerification;
132
+ /** 登录验证方式列表 */
133
+ login_verification_methods?: VerificationMethod[];
134
+ }
135
+ /** 三方 OAuth 配置 */
136
+ export interface OAuthConfig {
137
+ /** Google 登录 */
138
+ google?: {
139
+ enabled: boolean;
140
+ client_id?: string;
141
+ };
142
+ /** Facebook 登录 */
143
+ facebook?: {
144
+ enabled: boolean;
145
+ app_id?: string;
146
+ };
147
+ /** Apple 登录 */
148
+ apple?: {
149
+ enabled: boolean;
150
+ client_id?: string;
151
+ };
152
+ }
153
+ /** UI 配置 */
154
+ export interface UIConfig {
155
+ /** Logo 配置 */
156
+ logo?: {
157
+ show: boolean;
158
+ url?: string;
159
+ position?: 'left' | 'center' | 'right';
160
+ size?: {
161
+ width: number;
162
+ height: number;
163
+ };
164
+ };
165
+ /** 标题配置 */
166
+ title?: {
167
+ show: boolean;
168
+ text?: string;
169
+ align?: 'left' | 'center' | 'right';
170
+ };
171
+ /** 副标题配置 */
172
+ subtitle?: {
173
+ show: boolean;
174
+ text?: string;
175
+ align?: 'left' | 'center' | 'right';
176
+ };
177
+ /** 描述配置 */
178
+ desc?: {
179
+ show: boolean;
180
+ text?: string;
181
+ align?: 'left' | 'center' | 'right';
182
+ };
183
+ /** 表单标签配置 */
184
+ formLabels?: {
185
+ /** 邮箱标签配置 */
186
+ email?: {
187
+ show: boolean;
188
+ text?: string;
189
+ };
190
+ /** 手机标签配置 */
191
+ phone?: {
192
+ show: boolean;
193
+ text?: string;
194
+ };
195
+ /** 密码标签配置 */
196
+ password?: {
197
+ show: boolean;
198
+ text?: string;
199
+ };
200
+ /** 验证码标签配置 */
201
+ verificationCode?: {
202
+ show: boolean;
203
+ text?: string;
204
+ };
205
+ };
206
+ /** 密码规则 */
207
+ passwordRules?: any;
208
+ /** 主题色 */
209
+ themeColor?: string;
210
+ }
211
+ /** 登录表单数据 */
212
+ export interface LoginFormData {
213
+ /** 邮箱或手机号 */
214
+ account: string | PhoneValueObject;
215
+ /** 密码 */
216
+ password?: string;
217
+ /** 验证码 */
218
+ verification_code?: string;
219
+ /** 记住我 */
220
+ remember_me?: boolean;
221
+ }
222
+ /** 注册表单数据 */
223
+ export interface RegisterFormData {
224
+ /** 邮箱或手机号 */
225
+ account: string;
226
+ /** 密码 */
227
+ password?: string;
228
+ /** 确认密码 */
229
+ confirm_password?: string;
230
+ /** 验证码 */
231
+ verification_code?: string;
232
+ /** 验证链接 token */
233
+ verification_token?: string;
234
+ }
@@ -0,0 +1,36 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface NumberKeyboardPopoverProps {
4
+ /** 触发元素 */
5
+ children: React.ReactNode;
6
+ /** 当前值 */
7
+ value?: string;
8
+ /** 值变化回调 */
9
+ onChange?: (value: string) => void;
10
+ /** 确认回调 */
11
+ onConfirm?: (value: string) => void;
12
+ /** 取消回调 */
13
+ onCancel?: () => void;
14
+ /** 是否允许小数 */
15
+ allowDecimal?: boolean;
16
+ /** 小数位数 */
17
+ decimalPlaces?: number;
18
+ /** 键盘主题 */
19
+ selectType?: 'light' | 'dark';
20
+ /** 是否禁用 */
21
+ disabled?: boolean;
22
+ /** Popover 额外的类名 */
23
+ overlayClassName?: string;
24
+ max?: number;
25
+ maxLength?: number;
26
+ }
27
+ export interface NumberKeyboardPopoverRef {
28
+ /** 打开键盘 */
29
+ open: () => void;
30
+ /** 关闭键盘 */
31
+ close: () => void;
32
+ /** 获取当前是否打开 */
33
+ isOpen: () => boolean;
34
+ }
35
+ declare const NumberKeyboardPopover: React.ForwardRefExoticComponent<NumberKeyboardPopoverProps & React.RefAttributes<NumberKeyboardPopoverRef>>;
36
+ export default NumberKeyboardPopover;
@@ -0,0 +1,31 @@
1
+ /// <reference types="react" />
2
+ export interface NumberKeyboardPopoverProps {
3
+ /** 触发元素 */
4
+ children: React.ReactNode;
5
+ /** 当前值 */
6
+ value?: string;
7
+ /** 值变化回调 */
8
+ onChange?: (value: string) => void;
9
+ /** 确认回调 */
10
+ onConfirm?: (value: string) => void;
11
+ /** 取消回调 */
12
+ onCancel?: () => void;
13
+ /** 是否允许小数 */
14
+ allowDecimal?: boolean;
15
+ /** 小数位数 */
16
+ decimalPlaces?: number;
17
+ /** 键盘主题 */
18
+ selectType?: 'light' | 'dark';
19
+ /** 是否禁用 */
20
+ disabled?: boolean;
21
+ /** Popover 额外的类名 */
22
+ overlayClassName?: string;
23
+ }
24
+ export interface NumberKeyboardPopoverRef {
25
+ /** 打开键盘 */
26
+ open: () => void;
27
+ /** 关闭键盘 */
28
+ close: () => void;
29
+ /** 获取当前是否打开 */
30
+ isOpen: () => boolean;
31
+ }
@@ -0,0 +1,3 @@
1
+ export { default } from './MultiDayTimeSelect';
2
+ export type { MultiDayTimeSelectRef } from './MultiDayTimeSelect';
3
+ export type { MultiDayTimeSelectProps, MultiDayTimeSelectValue } from './types';
@@ -0,0 +1,28 @@
1
+ import { Dayjs } from 'dayjs';
2
+ export interface MultiDayTimeSelectValue {
3
+ startDate: Dayjs;
4
+ endDate: Dayjs;
5
+ duration: number;
6
+ }
7
+ export interface MultiDayTimeSelectProps {
8
+ /** 最大天数,默认30天 */
9
+ maxDays?: number;
10
+ /** 默认开始时间 */
11
+ defaultStartDate?: Dayjs;
12
+ /** 开始时间和结束时间是否分离,false使用RangePicker,true使用两个独立的DatePicker */
13
+ separateStartEnd?: boolean;
14
+ /** 受控值 */
15
+ value?: MultiDayTimeSelectValue;
16
+ /** 值变化回调 */
17
+ onChange?: (value: MultiDayTimeSelectValue) => void;
18
+ /** 语言环境 */
19
+ locale?: string;
20
+ /** 是否禁用 */
21
+ disabled?: boolean;
22
+ /** 开始日期标签 */
23
+ startDateLabel?: string;
24
+ /** 结束日期标签 */
25
+ endDateLabel?: string;
26
+ /** 时长标签 */
27
+ durationLabel?: string;
28
+ }
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const Example: React.FC;
3
+ export default Example;
@@ -0,0 +1,2 @@
1
+ export { default } from './PisellPriceKeyboardModal';
2
+ export type { PisellPriceKeyboardModalProps, KeyboardPosition } from './types';
@@ -0,0 +1,25 @@
1
+ /// <reference types="react" />
2
+ export interface PisellPriceKeyboardModalProps {
3
+ /** 是否显示键盘 */
4
+ visible?: boolean;
5
+ /** 当前价格值 */
6
+ value?: string | number;
7
+ /** 价格变化回调(合并了 onChange 和 onEnter) */
8
+ onChange?: (value: string | number) => void;
9
+ /** 关闭键盘回调 */
10
+ onClose?: () => void;
11
+ /** 触发元素的 ref,用于计算位置 */
12
+ triggerRef?: React.RefObject<HTMLElement>;
13
+ /** 货币符号显示 */
14
+ showCurrencySymbol?: boolean;
15
+ /** 是否使用千分位分隔符 */
16
+ useThousandsSeparator?: boolean;
17
+ /** 自定义类名 */
18
+ className?: string;
19
+ /** 自定义样式 */
20
+ style?: React.CSSProperties;
21
+ }
22
+ export interface KeyboardPosition {
23
+ top: number;
24
+ left: number;
25
+ }
@@ -0,0 +1,2 @@
1
+ export { default } from './PisellPriceKeyboardPopover';
2
+ export type { PisellPriceKeyboardPopoverProps, PisellPriceKeyboardPopoverRef } from './types';
@@ -0,0 +1,33 @@
1
+ /// <reference types="react" />
2
+ export interface PisellPriceKeyboardPopoverProps {
3
+ /** 触发元素 */
4
+ children: React.ReactNode;
5
+ /** 当前价格值 */
6
+ value?: string | number;
7
+ /** 价格变化回调(合并了 onChange 和 onEnter) */
8
+ onChange?: (value: string | number) => void;
9
+ /** 确认回调 */
10
+ onConfirm?: (value: string | number) => void;
11
+ /** 取消回调 */
12
+ onCancel?: () => void;
13
+ /** 货币符号显示 */
14
+ showCurrencySymbol?: boolean;
15
+ /** 是否使用千分位分隔符 */
16
+ useThousandsSeparator?: boolean;
17
+ /** 键盘主题 */
18
+ selectType?: 'light' | 'dark';
19
+ /** 是否禁用 */
20
+ disabled?: boolean;
21
+ /** Popover 额外的类名 */
22
+ overlayClassName?: string;
23
+ /** 自定义样式 */
24
+ style?: React.CSSProperties;
25
+ }
26
+ export interface PisellPriceKeyboardPopoverRef {
27
+ /** 打开键盘 */
28
+ open: () => void;
29
+ /** 关闭键盘 */
30
+ close: () => void;
31
+ /** 获取当前是否打开 */
32
+ isOpen: () => boolean;
33
+ }
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface PisellPriceRadioProps {
4
+ /** 是否选中 */
5
+ checked?: boolean;
6
+ /** 点击选中回调 */
7
+ onSelect?: () => void;
8
+ /** 价格值 */
9
+ value?: string;
10
+ /** 价格变化回调 */
11
+ onChange?: (value: string) => void;
12
+ /** 标题 */
13
+ title?: string;
14
+ /** 货币符号 */
15
+ currencySymbol?: string;
16
+ /** 主题颜色 */
17
+ theme?: 'purple' | 'red';
18
+ /** 是否显示负号 */
19
+ showMinus?: boolean;
20
+ /** 是否禁用 */
21
+ disabled?: boolean;
22
+ /** 占位符 */
23
+ placeholder?: string;
24
+ }
25
+ declare const PisellPriceRadio: React.FC<PisellPriceRadioProps>;
26
+ export default PisellPriceRadio;
@@ -0,0 +1,2 @@
1
+ export { default } from './PisellPriceKeyboardPopover';
2
+ export type { PisellPriceKeyboardPopoverProps, PisellPriceKeyboardPopoverRef } from './types';
@@ -0,0 +1,33 @@
1
+ /// <reference types="react" />
2
+ export interface PisellPriceKeyboardPopoverProps {
3
+ /** 触发元素 */
4
+ children: React.ReactNode;
5
+ /** 当前价格值 */
6
+ value?: string | number;
7
+ /** 价格变化回调(合并了 onChange 和 onEnter) */
8
+ onChange?: (value: string | number) => void;
9
+ /** 确认回调 */
10
+ onConfirm?: (value: string | number) => void;
11
+ /** 取消回调 */
12
+ onCancel?: () => void;
13
+ /** 货币符号显示 */
14
+ showCurrencySymbol?: boolean;
15
+ /** 是否使用千分位分隔符 */
16
+ useThousandsSeparator?: boolean;
17
+ /** 键盘主题 */
18
+ selectType?: 'light' | 'dark';
19
+ /** 是否禁用 */
20
+ disabled?: boolean;
21
+ /** Popover 额外的类名 */
22
+ overlayClassName?: string;
23
+ /** 自定义样式 */
24
+ style?: React.CSSProperties;
25
+ }
26
+ export interface PisellPriceKeyboardPopoverRef {
27
+ /** 打开键盘 */
28
+ open: () => void;
29
+ /** 关闭键盘 */
30
+ close: () => void;
31
+ /** 获取当前是否打开 */
32
+ isOpen: () => boolean;
33
+ }
@@ -0,0 +1,63 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'cash-keyboard-title': string;
4
+ 'cash-keyboard-balance-due': string;
5
+ 'cash-keyboard-cash-received': string;
6
+ 'cash-keyboard-change-due': string;
7
+ 'cash-keyboard-rounding': string;
8
+ 'cash-keyboard-other': string;
9
+ 'cash-keyboard-reset': string;
10
+ 'cash-keyboard-done': string;
11
+ 'cash-keyboard-pay': string;
12
+ 'cash-keyboard-amount-cannot-be-zero': string;
13
+ };
14
+ 'zh-CN': {
15
+ 'cash-keyboard-title': string;
16
+ 'cash-keyboard-balance-due': string;
17
+ 'cash-keyboard-cash-received': string;
18
+ 'cash-keyboard-change-due': string;
19
+ 'cash-keyboard-rounding': string;
20
+ 'cash-keyboard-other': string;
21
+ 'cash-keyboard-reset': string;
22
+ 'cash-keyboard-done': string;
23
+ 'cash-keyboard-pay': string;
24
+ 'cash-keyboard-amount-cannot-be-zero': string;
25
+ };
26
+ 'zh-HK': {
27
+ 'cash-keyboard-title': string;
28
+ 'cash-keyboard-balance-due': string;
29
+ 'cash-keyboard-cash-received': string;
30
+ 'cash-keyboard-change-due': string;
31
+ 'cash-keyboard-rounding': string;
32
+ 'cash-keyboard-other': string;
33
+ 'cash-keyboard-reset': string;
34
+ 'cash-keyboard-done': string;
35
+ 'cash-keyboard-pay': string;
36
+ 'cash-keyboard-amount-cannot-be-zero': string;
37
+ };
38
+ ja: {
39
+ 'cash-keyboard-title': string;
40
+ 'cash-keyboard-balance-due': string;
41
+ 'cash-keyboard-cash-received': string;
42
+ 'cash-keyboard-change-due': string;
43
+ 'cash-keyboard-rounding': string;
44
+ 'cash-keyboard-other': string;
45
+ 'cash-keyboard-reset': string;
46
+ 'cash-keyboard-done': string;
47
+ 'cash-keyboard-pay': string;
48
+ 'cash-keyboard-amount-cannot-be-zero': string;
49
+ };
50
+ pt: {
51
+ 'cash-keyboard-title': string;
52
+ 'cash-keyboard-balance-due': string;
53
+ 'cash-keyboard-cash-received': string;
54
+ 'cash-keyboard-change-due': string;
55
+ 'cash-keyboard-rounding': string;
56
+ 'cash-keyboard-other': string;
57
+ 'cash-keyboard-reset': string;
58
+ 'cash-keyboard-done': string;
59
+ 'cash-keyboard-pay': string;
60
+ 'cash-keyboard-amount-cannot-be-zero': string;
61
+ };
62
+ };
63
+ export default _default;
@@ -0,0 +1,98 @@
1
+ /// <reference types="react" />
2
+ export interface RightItemsStyleProps {
3
+ buttonBackgroundColor?: string;
4
+ textColor?: string;
5
+ resetButtonBackgroundColor?: string;
6
+ resetButtonTextColor?: string;
7
+ isDoneButtonFollowTheme?: boolean;
8
+ doneButtonBackgroundColor?: string;
9
+ doneButtonTextColor?: string;
10
+ }
11
+ export declare type ItemValue = string | number;
12
+ export interface Item {
13
+ value: ItemValue;
14
+ label: React.ReactNode;
15
+ disabled: boolean;
16
+ type: 'text' | 'primary';
17
+ style?: React.CSSProperties;
18
+ size?: number;
19
+ }
20
+ export interface KeyboardProps {
21
+ className?: string;
22
+ style?: React.CSSProperties;
23
+ onChange?: (value?: ItemValue) => void;
24
+ items?: Item[];
25
+ rightItems?: Item[];
26
+ keydown?: boolean;
27
+ }
28
+ export interface TitleAreaConfig {
29
+ visible?: boolean;
30
+ title?: {
31
+ visible?: boolean;
32
+ text?: string;
33
+ fontSize?: string | number;
34
+ color?: string;
35
+ fontWeight?: string | number;
36
+ };
37
+ subtitle?: {
38
+ visible?: boolean;
39
+ text?: string;
40
+ fontSize?: string | number;
41
+ color?: string;
42
+ fontWeight?: string | number;
43
+ };
44
+ alignment?: 'left' | 'right' | 'center' | 'space-between';
45
+ spacing?: string | number;
46
+ }
47
+ export interface DisplayFieldConfig {
48
+ cashReceived?: {
49
+ visible?: boolean;
50
+ };
51
+ balanceDue?: {
52
+ visible?: boolean;
53
+ };
54
+ changeDue?: {
55
+ visible?: boolean;
56
+ };
57
+ gridRatio?: number[];
58
+ }
59
+ export interface CashKeyboardBaseProps {
60
+ amountSymbol?: string;
61
+ value?: string;
62
+ /** 默认值,非受控模式 */
63
+ defaultValue?: string;
64
+ /** 原始值,多用于重置, 当前对应 Balance Due */
65
+ originalValue?: string;
66
+ placeholder?: string;
67
+ max?: number;
68
+ min?: number;
69
+ disabled?: boolean;
70
+ doneText?: string;
71
+ resetText?: string;
72
+ presets?: any;
73
+ hiddenChangeDue?: boolean;
74
+ onChange?: (val: string) => void;
75
+ onEnter?: (val: string) => void;
76
+ onReset?: () => void;
77
+ onPay?: () => void;
78
+ rightItemsStyle?: RightItemsStyleProps;
79
+ titleArea?: TitleAreaConfig;
80
+ displayField?: DisplayFieldConfig;
81
+ keyboardProps?: KeyboardProps;
82
+ style?: React.CSSProperties;
83
+ selectType?: 'light' | 'dark';
84
+ backgroundColor?: string;
85
+ containerBackgroundColor?: string;
86
+ buttonBackgroundColor?: string;
87
+ textColor?: string;
88
+ resetButtonBackgroundColor?: string;
89
+ resetButtonTextColor?: string;
90
+ isDoneButtonFollowTheme?: boolean;
91
+ doneButtonBackgroundColor?: string;
92
+ doneButtonTextColor?: string;
93
+ keyboardBackgroundColor?: string;
94
+ keyboardButtonBackgroundColor?: string;
95
+ keyboardButtonTextColor?: string;
96
+ keyboardButtonHoverColor?: string;
97
+ shortcutsSize?: 'default' | 'large';
98
+ }