@pisell/private-materials 6.8.83 → 6.8.85

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 (396) 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 +150 -164
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +11 -11
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +11 -11
  11. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  12. package/es/components/booking/addons/model.d.ts +10 -1
  13. package/es/components/booking/dashboard/serve.d.ts +1 -0
  14. package/es/components/booking/forms/model.d.ts +10 -1
  15. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  16. package/es/components/booking/forms/serve.d.ts +18 -0
  17. package/es/components/booking/info/client/serve.d.ts +2 -0
  18. package/es/components/booking/info/hooks/useInfoHolder.d.ts +11 -0
  19. package/es/components/booking/info/index.d.ts +1 -0
  20. package/es/components/booking/info/model.d.ts +10 -1
  21. package/es/components/booking/info/pet/serve.d.ts +1 -0
  22. package/es/components/booking/info/service/Lists.d.ts +3 -0
  23. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  24. package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  25. package/es/components/booking/info/service/serve.d.ts +34 -0
  26. package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
  27. package/es/components/booking/info/service2/utils.d.ts +219 -0
  28. package/es/components/booking/info2/serve.d.ts +6 -0
  29. package/es/components/booking/info2/service/addService/utils.d.ts +106 -0
  30. package/es/components/booking/info2/service/editNormalService/index.d.ts +3 -0
  31. package/es/components/booking/info2/service/editService/utils.d.ts +28 -0
  32. package/es/components/booking/info2/service/openNormalService.d.ts +34 -0
  33. package/es/components/booking/info2/utilsByBooking.d.ts +36 -0
  34. package/es/components/booking/model.d.ts +121 -0
  35. package/es/components/booking/notes/model.d.ts +10 -1
  36. package/es/components/booking/payments/model.d.ts +10 -1
  37. package/es/components/booking/utils.d.ts +182 -0
  38. package/es/components/checkout/PaymentModal.js +4 -2
  39. package/es/components/checkout/components/CashPaymentModule/index.d.ts +26 -0
  40. package/es/components/checkout/components/PaymentDetailModal/index.d.ts +38 -0
  41. package/es/components/checkout/components/PaymentOptionsModule/index.js +1 -1
  42. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
  43. package/es/components/checkout/components/ScrollableList/index.d.ts +5 -0
  44. package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
  45. package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
  46. package/es/components/eftposPay/aggregatePayment/hooks/useMicropay.d.ts +7 -0
  47. package/es/components/eftposPay/aggregatePayment/hooks/useMicropay.js +120 -0
  48. package/es/components/eftposPay/aggregatePayment/index.d.ts +3 -0
  49. package/es/components/eftposPay/aggregatePayment/index.js +3 -0
  50. package/es/components/eftposPay/aggregatePayment/service.d.ts +24 -0
  51. package/es/components/eftposPay/aggregatePayment/service.js +69 -0
  52. package/es/components/eftposPay/aggregatePayment/types.d.ts +106 -0
  53. package/es/components/eftposPay/aggregatePayment/types.js +65 -0
  54. package/es/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
  55. package/es/components/eftposPay/aggregatePayment/utils/logs.js +371 -0
  56. package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +139 -0
  57. package/es/components/eftposPay/aggregatePayment/utils/payment.js +1138 -0
  58. package/es/components/eftposPay/amount.d.ts +2 -1
  59. package/es/components/eftposPay/app.d.ts +1 -0
  60. package/es/components/eftposPay/app.js +5 -0
  61. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  62. package/es/components/eftposPay/component/fail/failCustom.js +16 -12
  63. package/es/components/eftposPay/component/fail/index.d.ts +1 -0
  64. package/es/components/eftposPay/component/fail/index.js +12 -5
  65. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  66. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  67. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  68. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  69. package/es/components/eftposPay/component/step/index.d.ts +1 -0
  70. package/es/components/eftposPay/const.d.ts +6 -1
  71. package/es/components/eftposPay/const.js +3 -0
  72. package/es/components/eftposPay/device.d.ts +1 -1
  73. package/es/components/eftposPay/hooks.d.ts +3 -2
  74. package/es/components/eftposPay/hooks.js +12 -0
  75. package/es/components/eftposPay/huifu/Action.d.ts +8 -0
  76. package/es/components/eftposPay/huifu/Action.js +146 -0
  77. package/es/components/eftposPay/huifu/const.d.ts +5 -0
  78. package/es/components/eftposPay/huifu/const.js +70 -0
  79. package/es/components/eftposPay/huifu/hooks.d.ts +25 -0
  80. package/es/components/eftposPay/huifu/hooks.js +184 -0
  81. package/es/components/eftposPay/huifu/index.d.ts +5 -0
  82. package/es/components/eftposPay/huifu/index.js +196 -0
  83. package/es/components/eftposPay/huifu/index.less +180 -0
  84. package/es/components/eftposPay/huifu/types.d.ts +14 -0
  85. package/es/components/eftposPay/huifu/types.js +1 -0
  86. package/es/components/eftposPay/index.d.ts +1 -0
  87. package/es/components/eftposPay/index.js +5 -1
  88. package/es/components/eftposPay/linkly/index.d.ts +1 -0
  89. package/es/components/eftposPay/locales.d.ts +36 -0
  90. package/es/components/eftposPay/locales.js +42 -3
  91. package/es/components/eftposPay/manufacturer.d.ts +1 -0
  92. package/es/components/eftposPay/manufacturer.js +5 -0
  93. package/es/components/eftposPay/pay.d.ts +1 -0
  94. package/es/components/eftposPay/pay.js +6 -2
  95. package/es/components/eftposPay/payo/config.d.ts +1 -0
  96. package/es/components/eftposPay/store/index.d.ts +13 -6
  97. package/es/components/eftposPay/tip.d.ts +1 -0
  98. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  99. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  100. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  101. package/es/components/eventBooking/index.d.ts +1 -0
  102. package/es/components/kioskSkuDetail/index.d.ts +3 -0
  103. package/es/components/kioskSkuDetail/index.js +266 -173
  104. package/es/components/kioskSkuDetail/index.less +49 -7
  105. package/es/components/kioskSkuDetail/locales.d.ts +6 -0
  106. package/es/components/kioskSkuDetail/locales.js +9 -3
  107. package/es/components/list/types.d.ts +178 -0
  108. package/es/components/list/utils/index.d.ts +19 -0
  109. package/es/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  110. package/es/components/pay/toB/components/EFTPOS/index.js +8 -1
  111. package/es/components/pay/toB/types/index.d.ts +1 -0
  112. package/es/components/pay/toC/PaymentList/serve.js +14 -0
  113. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +7 -6
  114. package/es/components/pay/toC/model.d.ts +9 -1
  115. package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  116. package/es/components/schedules/model.d.ts +9 -1
  117. package/es/components/shoppingCart/components/Cart/Product.js +1 -1
  118. package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
  119. package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +84 -0
  120. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +11 -0
  121. package/es/components/ticketBooking/components/addServiceVariant/utils.d.ts +9 -0
  122. package/es/components/ticketBooking/context/OsKeyContext.d.ts +26 -0
  123. package/es/components/ticketBooking/context/index.d.ts +2 -0
  124. package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
  125. package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
  126. package/es/components/ticketBooking/index.d.ts +16 -0
  127. package/es/components/ticketBooking/locales.d.ts +201 -0
  128. package/es/components/ticketBooking/serve.d.ts +288 -0
  129. package/es/components/ticketBooking/utils/index.d.ts +101 -0
  130. package/es/hooks/printer.d.ts +4 -0
  131. package/es/hooks/useEngineContext.d.ts +4 -0
  132. package/es/plus/productSelect/CategoryTabs/index.d.ts +21 -0
  133. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +1 -0
  134. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +1 -0
  135. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +1 -0
  136. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +1 -0
  137. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +1 -0
  138. package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +1 -0
  139. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  140. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +7 -0
  141. package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +1 -0
  142. package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
  143. package/es/plus/productSelect/ProductList/gridComponents.d.ts +46 -0
  144. package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  145. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +6 -0
  146. package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +4 -0
  147. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -0
  148. package/es/plus/skuOptionsSelection/components/VariantCard/index.js +1 -1
  149. package/es/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
  150. package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
  151. package/es/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
  152. package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
  153. package/es/plus/skuOptionsSelection/locales.d.ts +3 -0
  154. package/es/plus/skuOptionsSelection/locales.js +3 -0
  155. package/es/plus/skuOptionsSelection/store/actions.d.ts +22 -0
  156. package/es/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
  157. package/es/plus/skuOptionsSelection/store/index.d.ts +2 -0
  158. package/es/plus/skuOptionsSelection/store/store.d.ts +4 -0
  159. package/es/plus/skuOptionsSelection/types.d.ts +431 -0
  160. package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
  161. package/es/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
  162. package/es/plus/skuOptionsSelection/utils/index.d.ts +7 -0
  163. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  164. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  165. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  166. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  167. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  168. package/es/plus/webPosLogin/WebPosLoginCpt.d.ts +9 -0
  169. package/es/plus/webPosLogin/components/BrandPanel/index.d.ts +9 -0
  170. package/es/plus/webPosLogin/components/LoginPanel/index.d.ts +21 -0
  171. package/es/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
  172. package/es/plus/webPosLogin/index.d.ts +12 -0
  173. package/es/plus/webPosLogin/locales.d.ts +49 -0
  174. package/es/plus/webPosLogin/types.d.ts +286 -0
  175. package/es/pro/Cards/index.d.ts +1 -0
  176. package/es/pro/Login2.0/components/LoginCodeInput.js +36 -3
  177. package/es/pro/Login2.0/steps/CodeInput.js +37 -7
  178. package/es/pro/Selector/BatchSelectorDemo.d.ts +3 -0
  179. package/es/pro/Selector/Item.d.ts +14 -0
  180. package/es/pro/Selector/Selector.d.ts +14 -0
  181. package/es/pro/Selector/Selector.stories.d.ts +78 -0
  182. package/es/pro/Selector/SelectorGroup.d.ts +11 -0
  183. package/es/pro/Selector/components/Card/index.d.ts +57 -0
  184. package/es/pro/Selector/components/Card/types.d.ts +1 -0
  185. package/es/pro/Selector/components/Indicator/index.d.ts +20 -0
  186. package/es/pro/Selector/components/IntersectionObserver.d.ts +105 -0
  187. package/es/pro/Selector/components/LayoutContainer/index.d.ts +18 -0
  188. package/es/pro/Selector/components/Media/index.d.ts +6 -0
  189. package/es/pro/Selector/components/Media/types.d.ts +47 -0
  190. package/es/pro/Selector/components/index.d.ts +4 -0
  191. package/es/pro/Selector/demo.d.ts +3 -0
  192. package/es/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
  193. package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  194. package/es/pro/Selector/hooks/useSelectionController.d.ts +49 -0
  195. package/es/pro/Selector/index.d.ts +11 -0
  196. package/es/pro/Selector/locales.d.ts +36 -0
  197. package/es/pro/Selector/types.d.ts +212 -0
  198. package/es/pro/Selector/utils/index.d.ts +49 -0
  199. package/es/pro/skuDetailModal/locales.d.ts +103 -0
  200. package/es/pro/skuDetailModal/types.d.ts +354 -0
  201. package/es/pro/skuDetailModal/utils.d.ts +4 -0
  202. package/es/test/setup.d.ts +1 -0
  203. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  204. package/lib/components/booking/addons/model.d.ts +10 -1
  205. package/lib/components/booking/dashboard/serve.d.ts +1 -0
  206. package/lib/components/booking/forms/model.d.ts +10 -1
  207. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  208. package/lib/components/booking/forms/serve.d.ts +18 -0
  209. package/lib/components/booking/info/client/serve.d.ts +2 -0
  210. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +11 -0
  211. package/lib/components/booking/info/index.d.ts +1 -0
  212. package/lib/components/booking/info/model.d.ts +10 -1
  213. package/lib/components/booking/info/pet/serve.d.ts +1 -0
  214. package/lib/components/booking/info/service/Lists.d.ts +3 -0
  215. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  216. package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  217. package/lib/components/booking/info/service/serve.d.ts +34 -0
  218. package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
  219. package/lib/components/booking/info/service2/utils.d.ts +219 -0
  220. package/lib/components/booking/info2/serve.d.ts +6 -0
  221. package/lib/components/booking/info2/service/addService/utils.d.ts +106 -0
  222. package/lib/components/booking/info2/service/editNormalService/index.d.ts +3 -0
  223. package/lib/components/booking/info2/service/editService/utils.d.ts +28 -0
  224. package/lib/components/booking/info2/service/openNormalService.d.ts +34 -0
  225. package/lib/components/booking/info2/utilsByBooking.d.ts +36 -0
  226. package/lib/components/booking/model.d.ts +121 -0
  227. package/lib/components/booking/notes/model.d.ts +10 -1
  228. package/lib/components/booking/payments/model.d.ts +10 -1
  229. package/lib/components/booking/utils.d.ts +182 -0
  230. package/lib/components/checkout/PaymentModal.js +5 -2
  231. package/lib/components/checkout/components/CashPaymentModule/index.d.ts +26 -0
  232. package/lib/components/checkout/components/PaymentDetailModal/index.d.ts +38 -0
  233. package/lib/components/checkout/components/PaymentOptionsModule/index.js +2 -1
  234. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
  235. package/lib/components/checkout/components/ScrollableList/index.d.ts +5 -0
  236. package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
  237. package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
  238. package/lib/components/eftposPay/aggregatePayment/hooks/useMicropay.d.ts +7 -0
  239. package/lib/components/eftposPay/aggregatePayment/hooks/useMicropay.js +133 -0
  240. package/lib/components/eftposPay/aggregatePayment/index.d.ts +3 -0
  241. package/lib/components/eftposPay/aggregatePayment/index.js +42 -0
  242. package/lib/components/eftposPay/aggregatePayment/service.d.ts +24 -0
  243. package/lib/components/eftposPay/aggregatePayment/service.js +81 -0
  244. package/lib/components/eftposPay/aggregatePayment/types.d.ts +106 -0
  245. package/lib/components/eftposPay/aggregatePayment/types.js +74 -0
  246. package/lib/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
  247. package/lib/components/eftposPay/aggregatePayment/utils/logs.js +294 -0
  248. package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +139 -0
  249. package/lib/components/eftposPay/aggregatePayment/utils/payment.js +752 -0
  250. package/lib/components/eftposPay/amount.d.ts +2 -1
  251. package/lib/components/eftposPay/app.d.ts +1 -0
  252. package/lib/components/eftposPay/app.js +5 -0
  253. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  254. package/lib/components/eftposPay/component/fail/failCustom.js +15 -9
  255. package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
  256. package/lib/components/eftposPay/component/fail/index.js +4 -1
  257. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  258. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  259. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  260. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  261. package/lib/components/eftposPay/component/step/index.d.ts +1 -0
  262. package/lib/components/eftposPay/const.d.ts +6 -1
  263. package/lib/components/eftposPay/const.js +3 -0
  264. package/lib/components/eftposPay/device.d.ts +1 -1
  265. package/lib/components/eftposPay/hooks.d.ts +3 -2
  266. package/lib/components/eftposPay/hooks.js +16 -0
  267. package/lib/components/eftposPay/huifu/Action.d.ts +8 -0
  268. package/lib/components/eftposPay/huifu/Action.js +174 -0
  269. package/lib/components/eftposPay/huifu/const.d.ts +5 -0
  270. package/lib/components/eftposPay/huifu/const.js +86 -0
  271. package/lib/components/eftposPay/huifu/hooks.d.ts +25 -0
  272. package/lib/components/eftposPay/huifu/hooks.js +186 -0
  273. package/lib/components/eftposPay/huifu/index.d.ts +5 -0
  274. package/lib/components/eftposPay/huifu/index.js +200 -0
  275. package/lib/components/eftposPay/huifu/index.less +180 -0
  276. package/lib/components/eftposPay/huifu/types.d.ts +14 -0
  277. package/lib/components/eftposPay/huifu/types.js +17 -0
  278. package/lib/components/eftposPay/index.d.ts +1 -0
  279. package/lib/components/eftposPay/index.js +5 -1
  280. package/lib/components/eftposPay/linkly/index.d.ts +1 -0
  281. package/lib/components/eftposPay/locales.d.ts +36 -0
  282. package/lib/components/eftposPay/locales.js +42 -3
  283. package/lib/components/eftposPay/manufacturer.d.ts +1 -0
  284. package/lib/components/eftposPay/manufacturer.js +7 -0
  285. package/lib/components/eftposPay/pay.d.ts +1 -0
  286. package/lib/components/eftposPay/pay.js +3 -2
  287. package/lib/components/eftposPay/payo/config.d.ts +1 -0
  288. package/lib/components/eftposPay/store/index.d.ts +13 -6
  289. package/lib/components/eftposPay/tip.d.ts +1 -0
  290. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  291. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  292. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  293. package/lib/components/eventBooking/index.d.ts +1 -0
  294. package/lib/components/kioskSkuDetail/index.d.ts +3 -0
  295. package/lib/components/kioskSkuDetail/index.js +180 -113
  296. package/lib/components/kioskSkuDetail/index.less +49 -7
  297. package/lib/components/kioskSkuDetail/locales.d.ts +6 -0
  298. package/lib/components/kioskSkuDetail/locales.js +9 -3
  299. package/lib/components/list/types.d.ts +178 -0
  300. package/lib/components/list/utils/index.d.ts +19 -0
  301. package/lib/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  302. package/lib/components/pay/toB/components/EFTPOS/index.js +8 -1
  303. package/lib/components/pay/toB/types/index.d.ts +1 -0
  304. package/lib/components/pay/toC/PaymentList/serve.js +15 -0
  305. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +7 -6
  306. package/lib/components/pay/toC/model.d.ts +9 -1
  307. package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  308. package/lib/components/schedules/model.d.ts +9 -1
  309. package/lib/components/shoppingCart/components/Cart/Product.js +1 -1
  310. package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
  311. package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +84 -0
  312. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +11 -0
  313. package/lib/components/ticketBooking/components/addServiceVariant/utils.d.ts +9 -0
  314. package/lib/components/ticketBooking/context/OsKeyContext.d.ts +26 -0
  315. package/lib/components/ticketBooking/context/index.d.ts +2 -0
  316. package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
  317. package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
  318. package/lib/components/ticketBooking/index.d.ts +16 -0
  319. package/lib/components/ticketBooking/locales.d.ts +201 -0
  320. package/lib/components/ticketBooking/serve.d.ts +288 -0
  321. package/lib/components/ticketBooking/utils/index.d.ts +101 -0
  322. package/lib/hooks/printer.d.ts +4 -0
  323. package/lib/hooks/useEngineContext.d.ts +4 -0
  324. package/lib/plus/productSelect/CategoryTabs/index.d.ts +21 -0
  325. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +1 -0
  326. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +1 -0
  327. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +1 -0
  328. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +1 -0
  329. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +1 -0
  330. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +1 -0
  331. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  332. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +7 -0
  333. package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +1 -0
  334. package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
  335. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +46 -0
  336. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  337. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +6 -0
  338. package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +4 -0
  339. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -0
  340. package/lib/plus/skuOptionsSelection/components/VariantCard/index.js +2 -0
  341. package/lib/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
  342. package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
  343. package/lib/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
  344. package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
  345. package/lib/plus/skuOptionsSelection/locales.d.ts +3 -0
  346. package/lib/plus/skuOptionsSelection/locales.js +3 -0
  347. package/lib/plus/skuOptionsSelection/store/actions.d.ts +22 -0
  348. package/lib/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
  349. package/lib/plus/skuOptionsSelection/store/index.d.ts +2 -0
  350. package/lib/plus/skuOptionsSelection/store/store.d.ts +4 -0
  351. package/lib/plus/skuOptionsSelection/types.d.ts +431 -0
  352. package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
  353. package/lib/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
  354. package/lib/plus/skuOptionsSelection/utils/index.d.ts +7 -0
  355. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  356. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  357. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  358. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  359. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  360. package/lib/plus/webPosLogin/WebPosLoginCpt.d.ts +9 -0
  361. package/lib/plus/webPosLogin/components/BrandPanel/index.d.ts +9 -0
  362. package/lib/plus/webPosLogin/components/LoginPanel/index.d.ts +21 -0
  363. package/lib/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
  364. package/lib/plus/webPosLogin/index.d.ts +12 -0
  365. package/lib/plus/webPosLogin/locales.d.ts +49 -0
  366. package/lib/plus/webPosLogin/types.d.ts +286 -0
  367. package/lib/pro/Cards/index.d.ts +1 -0
  368. package/lib/pro/Login2.0/components/LoginCodeInput.js +26 -4
  369. package/lib/pro/Login2.0/steps/CodeInput.js +27 -5
  370. package/lib/pro/Selector/BatchSelectorDemo.d.ts +3 -0
  371. package/lib/pro/Selector/Item.d.ts +14 -0
  372. package/lib/pro/Selector/Selector.d.ts +14 -0
  373. package/lib/pro/Selector/Selector.stories.d.ts +78 -0
  374. package/lib/pro/Selector/SelectorGroup.d.ts +11 -0
  375. package/lib/pro/Selector/components/Card/index.d.ts +57 -0
  376. package/lib/pro/Selector/components/Card/types.d.ts +1 -0
  377. package/lib/pro/Selector/components/Indicator/index.d.ts +20 -0
  378. package/lib/pro/Selector/components/IntersectionObserver.d.ts +105 -0
  379. package/lib/pro/Selector/components/LayoutContainer/index.d.ts +18 -0
  380. package/lib/pro/Selector/components/Media/index.d.ts +6 -0
  381. package/lib/pro/Selector/components/Media/types.d.ts +47 -0
  382. package/lib/pro/Selector/components/index.d.ts +4 -0
  383. package/lib/pro/Selector/demo.d.ts +3 -0
  384. package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
  385. package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  386. package/lib/pro/Selector/hooks/useSelectionController.d.ts +49 -0
  387. package/lib/pro/Selector/index.d.ts +11 -0
  388. package/lib/pro/Selector/locales.d.ts +36 -0
  389. package/lib/pro/Selector/types.d.ts +212 -0
  390. package/lib/pro/Selector/utils/index.d.ts +49 -0
  391. package/lib/pro/skuDetailModal/locales.d.ts +103 -0
  392. package/lib/pro/skuDetailModal/types.d.ts +354 -0
  393. package/lib/pro/skuDetailModal/utils.d.ts +4 -0
  394. package/lib/test/setup.d.ts +1 -0
  395. package/lowcode/kiosk-sku-detail/meta.ts +229 -94
  396. package/package.json +1 -1
@@ -1,7 +1,17 @@
1
- .pisell-kiosk-sku-detail {
1
+ .pisell-kiosk-sku-detail-viewport {
2
2
  position: relative;
3
- width: 100%;
3
+ width: 100vw;
4
4
  height: 100vh;
5
+ overflow: hidden;
6
+ background: #f2f4f7;
7
+ }
8
+
9
+ .pisell-kiosk-sku-detail {
10
+ position: absolute;
11
+ top: 0;
12
+ left: 50%;
13
+ width: 1080px;
14
+ height: 1800px;
5
15
  overflow-y: auto;
6
16
  background: #f2f4f7;
7
17
  background-size: cover;
@@ -11,12 +21,40 @@
11
21
  }
12
22
 
13
23
  .pisell-kiosk-sku-detail__content {
14
- max-width: 1000px;
24
+ width: 100%;
15
25
  margin: 0 auto;
16
26
  display: flex;
17
27
  flex-direction: column;
18
28
  gap: 40px;
19
29
  padding-bottom: 220px; // avoid overlap with footer
30
+ .pisell-pro-selector_header-content {
31
+ .pisell-pro-selector_header-content-title {
32
+ color: #101828;
33
+ font-size: 36px !important;
34
+ }
35
+ .pisell-lowcode-tag {
36
+ font-size: 22px !important;
37
+ margin-left: 20px !important;
38
+ padding-top: 5px !important;
39
+ padding-bottom: 5px !important;
40
+ }
41
+ }
42
+ .pisell-pro-selector_tip {
43
+ font-size: 36px !important;
44
+ color: #667085;
45
+ }
46
+ .pisell-sku-options-selection-variant-card__title {
47
+ font-size: 36px !important;
48
+ font-weight: 600 !important;
49
+ color: #101828;
50
+ }
51
+ .pisell-sku-options-selection-variant-card__price {
52
+ font-size: 30px !important;
53
+ }
54
+ .pisell-sku-options-selection-variant-card {
55
+ padding-top: 30px !important;
56
+ padding-bottom: 30px !important;
57
+ }
20
58
  }
21
59
 
22
60
  .pisell-kiosk-sku-detail__hero {
@@ -55,7 +93,6 @@
55
93
  }
56
94
 
57
95
  .pisell-kiosk-sku-detail__desc {
58
- max-width: 860px;
59
96
  font-size: 36px;
60
97
  line-height: 44px;
61
98
  font-weight: 400;
@@ -91,11 +128,13 @@
91
128
  }
92
129
 
93
130
  .pisell-kiosk-sku-detail__footer {
131
+ // 注意:父容器有 transform(scale),fixed 会相对该容器定位(适配小分辨率缩放舞台)
94
132
  position: fixed;
95
- left: 50%;
133
+ left: 30px;
134
+ right: 30px;
96
135
  bottom: 30px;
97
- transform: translateX(-50%);
98
- width: min(1020px, calc(100% - 60px));
136
+ transform: none;
137
+ width: auto;
99
138
  display: flex;
100
139
  align-items: center;
101
140
  justify-content: space-between;
@@ -125,6 +164,9 @@
125
164
  display: flex;
126
165
  align-items: center;
127
166
  gap: 20px;
167
+ // 靠右,并与右侧主按钮保持 20px 间距
168
+ margin-left: auto;
169
+ margin-right: 20px;
128
170
  }
129
171
 
130
172
  .pisell-kiosk-sku-detail__item-total {
@@ -3,19 +3,25 @@ declare const _default: {
3
3
  'pisell2.text.kiosk.sku.detail.btn.back': string;
4
4
  'pisell2.text.kiosk.sku.detail.item.total': string;
5
5
  'pisell2.text.kiosk.sku.detail.btn.add.to.cart': string;
6
+ 'pisell2.text.kiosk.sku.detail.btn.update': string;
6
7
  'pisell2.text.kiosk.sku.detail.loading.options': string;
8
+ 'pisell2.text.kiosk.sku.detail.toast.select.variant': string;
7
9
  };
8
10
  'zh-CN': {
9
11
  'pisell2.text.kiosk.sku.detail.btn.back': string;
10
12
  'pisell2.text.kiosk.sku.detail.item.total': string;
11
13
  'pisell2.text.kiosk.sku.detail.btn.add.to.cart': string;
14
+ 'pisell2.text.kiosk.sku.detail.btn.update': string;
12
15
  'pisell2.text.kiosk.sku.detail.loading.options': string;
16
+ 'pisell2.text.kiosk.sku.detail.toast.select.variant': string;
13
17
  };
14
18
  'zh-TW': {
15
19
  'pisell2.text.kiosk.sku.detail.btn.back': string;
16
20
  'pisell2.text.kiosk.sku.detail.item.total': string;
17
21
  'pisell2.text.kiosk.sku.detail.btn.add.to.cart': string;
22
+ 'pisell2.text.kiosk.sku.detail.btn.update': string;
18
23
  'pisell2.text.kiosk.sku.detail.loading.options': string;
24
+ 'pisell2.text.kiosk.sku.detail.toast.select.variant': string;
19
25
  };
20
26
  };
21
27
  export default _default;
@@ -27,18 +27,24 @@ var locales_default = {
27
27
  "pisell2.text.kiosk.sku.detail.btn.back": "Back",
28
28
  "pisell2.text.kiosk.sku.detail.item.total": "Item total",
29
29
  "pisell2.text.kiosk.sku.detail.btn.add.to.cart": "Add to cart",
30
- "pisell2.text.kiosk.sku.detail.loading.options": "Loading options…"
30
+ "pisell2.text.kiosk.sku.detail.btn.update": "Update",
31
+ "pisell2.text.kiosk.sku.detail.loading.options": "Loading options…",
32
+ "pisell2.text.kiosk.sku.detail.toast.select.variant": "Please select a top-up option"
31
33
  },
32
34
  "zh-CN": {
33
35
  "pisell2.text.kiosk.sku.detail.btn.back": "返回",
34
36
  "pisell2.text.kiosk.sku.detail.item.total": "小计",
35
37
  "pisell2.text.kiosk.sku.detail.btn.add.to.cart": "加入购物车",
36
- "pisell2.text.kiosk.sku.detail.loading.options": "正在加载选项…"
38
+ "pisell2.text.kiosk.sku.detail.btn.update": "更新",
39
+ "pisell2.text.kiosk.sku.detail.loading.options": "正在加载选项…",
40
+ "pisell2.text.kiosk.sku.detail.toast.select.variant": "请选择充值选项"
37
41
  },
38
42
  "zh-TW": {
39
43
  "pisell2.text.kiosk.sku.detail.btn.back": "返回",
40
44
  "pisell2.text.kiosk.sku.detail.item.total": "小計",
41
45
  "pisell2.text.kiosk.sku.detail.btn.add.to.cart": "加入購物車",
42
- "pisell2.text.kiosk.sku.detail.loading.options": "正在載入選項…"
46
+ "pisell2.text.kiosk.sku.detail.btn.update": "更新",
47
+ "pisell2.text.kiosk.sku.detail.loading.options": "正在載入選項…",
48
+ "pisell2.text.kiosk.sku.detail.toast.select.variant": "請選擇充值選項"
43
49
  }
44
50
  };
@@ -0,0 +1,178 @@
1
+ import { ReactNode, CSSProperties } from 'react';
2
+ /** 设备类型 */
3
+ export declare type DeviceType = 'pc' | 'pad' | 'mobile';
4
+ /** 设备信息 */
5
+ export interface DeviceInfo {
6
+ type: DeviceType;
7
+ isMobile: boolean;
8
+ isPad: boolean;
9
+ isPc: boolean;
10
+ width: number;
11
+ height: number;
12
+ }
13
+ /** 响应式配置接口 */
14
+ export interface ResponsiveConfig {
15
+ /** PC端特定配置 */
16
+ pc?: Partial<ListProps>;
17
+ /** 平板端特定配置 */
18
+ pad?: Partial<ListProps>;
19
+ /** 移动端特定配置 */
20
+ mobile?: Partial<ListProps>;
21
+ }
22
+ /** 响应式Props接口 - 继承ListProps并添加responsive属性 */
23
+ export interface ResponsiveProps extends ListProps {
24
+ /** 响应式配置 */
25
+ responsive?: ResponsiveConfig;
26
+ }
27
+ /** ResponsiveWrapper 组件属性 */
28
+ export interface ResponsiveWrapperProps extends ResponsiveProps {
29
+ /** 子元素 */
30
+ children?: ReactNode;
31
+ }
32
+ /** 基础列表项接口 */
33
+ export interface BaseListItem {
34
+ /** 唯一标识 */
35
+ id: string | number;
36
+ /** 预设高度(瀑布流模式) */
37
+ height?: number;
38
+ /** 预设宽度(瀑布流模式) */
39
+ width?: number;
40
+ /** 其他任意属性,可以包含用于分组的字段 */
41
+ [key: string]: any;
42
+ }
43
+ /** 空状态配置接口 */
44
+ export interface EmptyStateConfig {
45
+ /** 是否显示空状态 */
46
+ show?: boolean;
47
+ /** 空状态文本 */
48
+ text?: string;
49
+ /** 空状态图标 */
50
+ icon?: ReactNode;
51
+ /** 空状态描述 */
52
+ description?: string;
53
+ }
54
+ /** 分页信息接口 */
55
+ export interface PaginationInfo {
56
+ /** 当前页数 */
57
+ current?: number;
58
+ /** 总页数 */
59
+ total?: number;
60
+ /** 总数据条数 */
61
+ totalCount?: number;
62
+ }
63
+ /** 布局配置接口 */
64
+ export interface LayoutConfig {
65
+ /** 显示样式 */
66
+ displayStyle?: 'grid' | 'waterfall';
67
+ /** 排版方式 */
68
+ layoutDirection?: 'horizontal' | 'vertical';
69
+ /** 列数 */
70
+ columns?: number;
71
+ /** 行数 */
72
+ rows?: number;
73
+ /** 列间距 */
74
+ columnGap?: number;
75
+ /** 行间距 */
76
+ rowGap?: number;
77
+ /** 缩放倍率 */
78
+ zoom?: number;
79
+ }
80
+ /** Tab配置接口 */
81
+ export interface TabConfig {
82
+ /** tab样式 */
83
+ tabStyle?: 'anchor' | 'switch' | 'none';
84
+ /** 指定用于分组的数据字段名,例如 'category'、'type' 等 */
85
+ tabGroup?: string;
86
+ /** Tab数据源 */
87
+ tabData?: TabItem[];
88
+ /** 顶部固定 */
89
+ stickyTop?: boolean;
90
+ }
91
+ /** 分页配置接口 */
92
+ export interface PaginationConfig {
93
+ /** 分页方式 */
94
+ paginationType?: 'all' | 'scroll' | 'pager' | 'more';
95
+ /** 默认显示个数 */
96
+ defaultPageSize?: number;
97
+ /** 每次加载个数 */
98
+ pageSize?: number;
99
+ /** 分页信息 */
100
+ pagination?: PaginationInfo;
101
+ }
102
+ /** 泛型List组件Props接口 */
103
+ export interface ListProps<TItem extends BaseListItem = BaseListItem> {
104
+ /** 基础属性 */
105
+ className?: string;
106
+ style?: CSSProperties;
107
+ width?: string | number;
108
+ height?: string | number;
109
+ /** 布局配置 */
110
+ displayStyle?: LayoutConfig['displayStyle'];
111
+ layoutDirection?: LayoutConfig['layoutDirection'];
112
+ columns?: LayoutConfig['columns'];
113
+ rows?: LayoutConfig['rows'];
114
+ columnGap?: LayoutConfig['columnGap'];
115
+ rowGap?: LayoutConfig['rowGap'];
116
+ zoom?: LayoutConfig['zoom'];
117
+ /** Tab配置 */
118
+ tabStyle?: TabConfig['tabStyle'];
119
+ tabGroup?: TabConfig['tabGroup'];
120
+ tabData?: TabConfig['tabData'];
121
+ stickyTop?: TabConfig['stickyTop'];
122
+ /** 分页配置 */
123
+ paginationType?: PaginationConfig['paginationType'];
124
+ defaultPageSize?: PaginationConfig['defaultPageSize'];
125
+ pageSize?: PaginationConfig['pageSize'];
126
+ pagination?: PaginationConfig['pagination'];
127
+ /** 数据和渲染 */
128
+ data?: TItem[];
129
+ children?: ReactNode;
130
+ renderItem?: (item: TItem, index: number) => ReactNode;
131
+ /** 回调函数 */
132
+ onLoadData?: (params: LoadDataParams) => void;
133
+ /** 状态配置 */
134
+ emptyConfig?: EmptyStateConfig;
135
+ loading?: boolean;
136
+ renderSearch?: () => ReactNode;
137
+ }
138
+ /** 向后兼容的非泛型版本 */
139
+ export interface LegacyListProps extends ListProps<any> {
140
+ /** 兼容旧的any[]类型 */
141
+ data?: any[];
142
+ renderItem?: (item: any, index: number) => ReactNode;
143
+ }
144
+ export interface TabItem {
145
+ /** 唯一标识,同时用作anchor模式下的锚点标识 */
146
+ key: string;
147
+ /** 显示文本 */
148
+ label: string;
149
+ /** 分组值,对应数据项中 tabGroup 指定字段的值 */
150
+ group?: string;
151
+ /** 是否禁用 */
152
+ disabled?: boolean;
153
+ }
154
+ export interface LoadMoreParams {
155
+ /** 当前页码 */
156
+ currentPage: number;
157
+ /** 每页数量 */
158
+ pageSize: number;
159
+ /** 当前tab */
160
+ activeTab?: string;
161
+ }
162
+ /** 数据加载触发类型 */
163
+ export declare type LoadDataTrigger = 'tabChange' | 'pagination' | 'pageSize' | 'loadMore' | 'scroll';
164
+ /** 统一的数据加载参数 */
165
+ export interface LoadDataParams {
166
+ /** 触发类型 */
167
+ trigger: LoadDataTrigger;
168
+ /** 当前页码 */
169
+ currentPage: number;
170
+ /** 每页数量 */
171
+ pageSize: number;
172
+ /** 当前激活的tab */
173
+ activeTab?: string;
174
+ /** 上一页页码(分页变化时提供) */
175
+ previousPage?: number;
176
+ /** 上一页大小(页大小变化时提供) */
177
+ previousPageSize?: number;
178
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * List 组件工具函数导出
3
+ */
4
+ export { useGetText, createGetText, default as createGetTextDefault, type SupportedLanguage, type LocalesObject, type GetTextFunctions, } from './getText';
5
+ /**
6
+ * 根据层级路径数组递归查找对应节点的 productIds
7
+ * @param nodes 当前层级的节点列表
8
+ * @param levelPath 层级路径数组,每个元素是对应层级的分类 ID
9
+ * @param currentLevel 当前遍历的层级索引
10
+ * @returns 找到的节点的 productIds,找不到返回空数组
11
+ *
12
+ * @description
13
+ * 特殊逻辑:如果 levelPath 末尾有连续的 0,则去掉所有末尾的 0
14
+ * 例如:
15
+ * - [1, 2, 0] -> 取 id=2 节点的 productIds
16
+ * - [1, 0, 0] -> 取 id=1 节点的 productIds
17
+ * - [3, 0, 0, 0] -> 取 id=3 节点的 productIds
18
+ */
19
+ export declare const findProductIdsByPath: (nodes: any[], levelPath: (string | number)[], currentLevel?: number) => number[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PayMethod, PayMethodGroup } from '../../types';
2
3
  import './index.less';
3
4
  declare const ToBPayCardGroup: (props: {
@@ -97,7 +97,14 @@ var EFTPOS = (props, ref) => {
97
97
  name: payMethod.name,
98
98
  symbol: params.symbol,
99
99
  amount: params.amount,
100
- device_number
100
+ device_number,
101
+ custom_payment_id: payMethod == null ? void 0 : payMethod.id,
102
+ custom_payment_code: payMethod == null ? void 0 : payMethod.code,
103
+ custom_payment_name: payMethod == null ? void 0 : payMethod.name,
104
+ custom_payment_type: payMethod == null ? void 0 : payMethod.type,
105
+ operator_type: params == null ? void 0 : params.operator_type,
106
+ operator_id: params == null ? void 0 : params.operator_id,
107
+ platform: params == null ? void 0 : params.platform
101
108
  },
102
109
  mode
103
110
  };
@@ -14,6 +14,7 @@ export interface ToBPayParams {
14
14
  symbol?: string;
15
15
  amount: string;
16
16
  surcharge?: string;
17
+ [key: string]: any;
17
18
  };
18
19
  mode: 'pay' | 'refund';
19
20
  };
@@ -32,6 +32,18 @@ var getPaymentList = async (values) => {
32
32
  let { data = [] } = await import_utils.request.getRequest().get("/h5/pay/order/payments", values);
33
33
  return filterPaymentList(data);
34
34
  };
35
+ var sortArr = [
36
+ "mw.google",
37
+ "mw.apple",
38
+ "mw.credit_card",
39
+ "stripe",
40
+ "pisell.bank_deposit",
41
+ "superpay.alipay.h5",
42
+ "superpay.wechat.h5",
43
+ "pisell.offline_payment",
44
+ "pisell.other.cashmanual",
45
+ "pisell.custom_payment"
46
+ ];
35
47
  var filterPaymentList = (list, platform = "h5", isApp, amount) => {
36
48
  let paymentList = [...list];
37
49
  let _paymentKeys = [...import_status.paymentKeys];
@@ -62,6 +74,9 @@ var filterPaymentList = (list, platform = "h5", isApp, amount) => {
62
74
  walletPass
63
75
  };
64
76
  }
77
+ paymentList = paymentList.sort((a, b) => {
78
+ return sortArr.indexOf(a.service) - sortArr.indexOf(b.service);
79
+ });
65
80
  paymentList = paymentList.map((d) => {
66
81
  let _item = import_status2.paymentTypes.find((t) => t.service === d.service);
67
82
  let service = d.service;
@@ -159,15 +159,15 @@ var checkEnrollment = async (orderId, cardInfo, callback) => {
159
159
  }
160
160
  };
161
161
  var createThreeDSMethodIframe = async (threeDSMethodData, callback) => {
162
- var _a, _b, _c, _d, _e;
162
+ var _a, _b, _c, _d, _e, _f;
163
163
  const defaultReturnParams = {
164
- threeDSServerTransID: ((_a = threeDSMethodData == null ? void 0 : threeDSMethodData.pay_info) == null ? void 0 : _a.threeDSServerTransID) || "",
165
- threeDSCompInd: ((_b = threeDSMethodData == null ? void 0 : threeDSMethodData.pay_info) == null ? void 0 : _b.threeDSCompInd) || ""
164
+ threeDSServerTransID: ((_a = threeDSMethodData == null ? void 0 : threeDSMethodData.pay_info) == null ? void 0 : _a.threeDSServerTransID) || ((_b = threeDSMethodData == null ? void 0 : threeDSMethodData.pay_info) == null ? void 0 : _b.paReq) || "",
165
+ threeDSCompInd: ((_c = threeDSMethodData == null ? void 0 : threeDSMethodData.pay_info) == null ? void 0 : _c.threeDSCompInd) || "N"
166
166
  };
167
- if (((_c = threeDSMethodData == null ? void 0 : threeDSMethodData.pay_info) == null ? void 0 : _c.threeDSServerTransID) && ((_d = threeDSMethodData == null ? void 0 : threeDSMethodData.pay_info) == null ? void 0 : _d.threeDSCompInd)) {
167
+ if (((_d = threeDSMethodData == null ? void 0 : threeDSMethodData.pay_info) == null ? void 0 : _d.threeDSServerTransID) && ((_e = threeDSMethodData == null ? void 0 : threeDSMethodData.pay_info) == null ? void 0 : _e.threeDSCompInd)) {
168
168
  return defaultReturnParams;
169
169
  }
170
- if (!(threeDSMethodData == null ? void 0 : threeDSMethodData.pay_info.acsURL) || typeof ((_e = threeDSMethodData == null ? void 0 : threeDSMethodData.pay_info) == null ? void 0 : _e.acsURL) !== "string") {
170
+ if (!(threeDSMethodData == null ? void 0 : threeDSMethodData.pay_info.acsURL) || typeof ((_f = threeDSMethodData == null ? void 0 : threeDSMethodData.pay_info) == null ? void 0 : _f.acsURL) !== "string") {
171
171
  return defaultReturnParams;
172
172
  }
173
173
  const displayBox = document.getElementById("threeds-container");
@@ -193,13 +193,14 @@ var createThreeDSMethodIframe = async (threeDSMethodData, callback) => {
193
193
  form.submit();
194
194
  let timer = null;
195
195
  return new Promise((res, rej) => {
196
+ var _a2;
196
197
  timer = setTimeout(() => {
197
198
  res(defaultReturnParams);
198
199
  log({
199
200
  msg: "第三步: 10秒超时则走N逻辑",
200
201
  data: threeDSMethodData
201
202
  });
202
- }, 1e4);
203
+ }, ((_a2 = threeDSMethodData == null ? void 0 : threeDSMethodData.pay_info) == null ? void 0 : _a2.tdsMethodTimeoutMS) || 1e4);
203
204
  window.addEventListener(
204
205
  "message",
205
206
  (event) => {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface FormState {
2
3
  platform: 'pc' | 'h5' | '' | undefined;
3
4
  order: any;
@@ -29,4 +30,11 @@ export interface PayGroup {
29
30
  _order: any;
30
31
  front_order_uuid?: string;
31
32
  }
32
- export declare const Provider: any, Context: any;
33
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
34
+ state: FormState;
35
+ } & {
36
+ dispatch: (params: {
37
+ type: string;
38
+ payload: any;
39
+ }) => void;
40
+ }>;
@@ -0,0 +1,3 @@
1
+ import { QueryParams } from './index';
2
+ export declare const getCustomerList: (params: QueryParams) => Promise<any>;
3
+ export declare const addCustomer: (params: any) => Promise<any>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CalendarDataItem, ScheduleItem } from "./type";
2
3
  import dayjs from "dayjs";
3
4
  export interface FormState {
@@ -68,4 +69,11 @@ export interface FormState {
68
69
  };
69
70
  setGlobalState: Function | null;
70
71
  }
71
- export declare const Provider: any, Context: any;
72
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
73
+ state: FormState;
74
+ } & {
75
+ dispatch: (params: {
76
+ type: string;
77
+ payload: any;
78
+ }) => void;
79
+ }>;
@@ -142,7 +142,7 @@ var Product = (props) => {
142
142
  return /* @__PURE__ */ import_react.default.createElement(
143
143
  Comp,
144
144
  {
145
- type: isRetail ? "a2" : "a5",
145
+ type: isRetail ? "a9" : "a5",
146
146
  rightActions: [
147
147
  {
148
148
  key: "update_number",
@@ -0,0 +1,115 @@
1
+ /**
2
+ * 产品展示配置类型定义
3
+ */
4
+ import type { ProductCardConfig } from '../../../../plus/productSelect/ProductCard/SkuCard/type';
5
+ /** 预设配置的字符串键 */
6
+ export declare type ProductDisplayPresetKey = 'product-select' | 'sku-list-a1' | 'sku-list-a2' | 'sku-list-a5' | 'default';
7
+ /** ProductSelect 布局配置 */
8
+ export interface ProductSelectLayout {
9
+ grid: boolean;
10
+ config: string;
11
+ }
12
+ export declare type NumberBoolean = 0 | 1;
13
+ /** ProductSelect 列表设置 */
14
+ export interface ProductListSetting {
15
+ /** 是否显示产品封面 */
16
+ isProductCover?: NumberBoolean;
17
+ /** 是否显示标题 */
18
+ isTitle?: NumberBoolean;
19
+ /** 是否显示副标题 */
20
+ isSubtitle?: NumberBoolean;
21
+ /** 是否显示价格 */
22
+ isPrice?: NumberBoolean;
23
+ /** 是否显示原价 */
24
+ isOriginPrice?: NumberBoolean;
25
+ /** 是否显示库存 */
26
+ isStock?: NumberBoolean;
27
+ }
28
+ /** ProductSelect 模式配置 */
29
+ export interface ProductSelectConfig {
30
+ /** 是否显示搜索框 */
31
+ showSearch?: boolean;
32
+ /** 是否显示分类Tab */
33
+ showTab?: boolean;
34
+ /** 布局配置 */
35
+ layout?: ProductSelectLayout;
36
+ /** 产品列表设置 */
37
+ productListSetting?: ProductListSetting;
38
+ }
39
+ /** SkuCard 显示模式 */
40
+ export declare type SkuCardDisplayMode = 'display_a1' | 'display_a2' | 'display_a5' | 'display_a9' | 'display_custom';
41
+ /**
42
+ * SkuCard 配置
43
+ * 直接使用 ProductCardConfig 类型,保持类型同步
44
+ *
45
+ * @see packages/private-materials/src/plus/productSelect/ProductCard/SkuCard/type.ts ProductCardConfig
46
+ */
47
+ export declare type SkuCardAllConfig = ProductCardConfig;
48
+ /** List 布局类型 */
49
+ export declare type ListLayoutType = 'grid' | 'list';
50
+ /** Tab 样式类型 */
51
+ export declare type TabStyleType = 'switch' | 'anchor' | 'none';
52
+ /** List 组件配置 */
53
+ export interface ListConfig {
54
+ /** 布局类型 */
55
+ layout?: ListLayoutType;
56
+ /** 列数 */
57
+ columns?: number;
58
+ /** 是否显示分页 */
59
+ showPagination?: boolean;
60
+ /** 是否显示Tab */
61
+ showTab?: boolean;
62
+ /** Tab 样式类型:switch-切换模式,anchor-锚点模式,none-不显示 */
63
+ tabStyle?: TabStyleType;
64
+ /** Tab 是否吸顶 */
65
+ stickyTop?: boolean;
66
+ /** Tab配置 */
67
+ tabConfig?: any;
68
+ /** 分页配置 */
69
+ paginationConfig?: any;
70
+ [key: string]: any;
71
+ }
72
+ /** SkuList 模式配置 */
73
+ export interface SkuListConfig {
74
+ /** List 组件配置 */
75
+ listConfig?: ListConfig;
76
+ /** SkuCard 配置 */
77
+ skuCardAllConfig?: SkuCardAllConfig;
78
+ }
79
+ /** 展示模式类型 */
80
+ export declare type DisplayMode = 'product-select' | 'sku-list';
81
+ /**
82
+ * 产品展示配置
83
+ * 用于配置化控制产品展示的方式
84
+ */
85
+ export interface ProductDisplayConfig {
86
+ /** 展示模式 */
87
+ displayMode: DisplayMode;
88
+ /** ProductSelect 模式配置 */
89
+ productSelectConfig?: ProductSelectConfig;
90
+ /** SkuList 模式配置 */
91
+ skuListConfig?: SkuListConfig;
92
+ }
93
+ /**
94
+ * 产品展示配置预设
95
+ * 支持通过字符串键或直接使用配置对象
96
+ */
97
+ export declare const ProductDisplayPresets: Record<ProductDisplayPresetKey, ProductDisplayConfig>;
98
+ /**
99
+ * 兼容性:保持原有的导出方式
100
+ * @deprecated 建议使用 ProductDisplayPresets['product-select'] 或字符串键访问
101
+ */
102
+ export declare const LegacyProductDisplayPresets: {
103
+ /** @deprecated 使用 ProductDisplayPresets['product-select'] */
104
+ DEFAULT_PRODUCT_SELECT: ProductDisplayConfig;
105
+ /** @deprecated 使用 ProductDisplayPresets['sku-list-a1'] */
106
+ DEFAULT_SKU_LIST_A1: ProductDisplayConfig;
107
+ /** @deprecated 使用 ProductDisplayPresets['sku-list-a2'] */
108
+ DEFAULT_SKU_LIST_A2: ProductDisplayConfig;
109
+ /** @deprecated 使用 ProductDisplayPresets['sku-list-a5'] */
110
+ DEFAULT_SKU_LIST_A5: ProductDisplayConfig;
111
+ };
112
+ /**
113
+ * 工具函数:将字符串键或配置对象解析为配置对象
114
+ */
115
+ export declare function resolveProductDisplayConfig(config?: ProductDisplayPresetKey | ProductDisplayConfig): ProductDisplayConfig;