@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
@@ -0,0 +1,84 @@
1
+ /**
2
+ * 格式化 SKU 数据源,适配 SkuCard 组件
3
+ */
4
+ export declare const formatSkuDataSource: (dataSource: any) => {
5
+ id: any;
6
+ title: any;
7
+ subtitle: any;
8
+ cover: any;
9
+ price: any;
10
+ original_price: any;
11
+ stock: any;
12
+ sortKeys: string[];
13
+ };
14
+ /**
15
+ * Tab 项接口定义(与 List 组件保持一致)
16
+ */
17
+ export interface TabItem {
18
+ key: string;
19
+ label: string;
20
+ group?: string;
21
+ }
22
+ /**
23
+ * 产品分类信息接口
24
+ */
25
+ interface ProductCategory {
26
+ id: number;
27
+ name: string;
28
+ icon?: string;
29
+ slug?: string;
30
+ sort?: number;
31
+ /** 父级分类 ID,0 或 null/undefined 表示一级分类 */
32
+ parent_id?: number | null;
33
+ parent_category?: ProductCategory;
34
+ }
35
+ /**
36
+ * 产品项接口
37
+ */
38
+ interface Product {
39
+ id: number;
40
+ title: string;
41
+ category?: ProductCategory[];
42
+ [key: string]: any;
43
+ }
44
+ /**
45
+ * 分类树节点接口(Switch 模式返回值)
46
+ */
47
+ export interface CategoryTreeNode {
48
+ /** 分类 ID,All 节点为 '{父级路径}_all' 格式 */
49
+ id: number | string;
50
+ /** 分类唯一标识 兼容 List 组件的 key 字段 */
51
+ key: number | string;
52
+ /** 分类名称 兼容 List 组件的 label 字段 */
53
+ label: string;
54
+ /** 分类分组 兼容 List 组件的 group 字段 */
55
+ group: number | string;
56
+ /** 分类名称 */
57
+ name: string;
58
+ /** 分类图标 */
59
+ icon?: string;
60
+ /**
61
+ * 路径式父级标识
62
+ * - 一级分类:无此字段
63
+ * - 二级分类:'1'(父级 id)
64
+ * - 三级分类:'1_2'(路径格式)
65
+ * - 以此类推
66
+ */
67
+ pid?: string;
68
+ /** 该分类下所有商品的 ID 数组(包含子分类的商品) */
69
+ productIds: number[];
70
+ /** 子分类列表,如果有子分类,第一个为 All 节点 */
71
+ children?: CategoryTreeNode[];
72
+ /** 子分类最大层级 */
73
+ childrenMaxLevel: number;
74
+ }
75
+ /**
76
+ * 根据产品数据生成分类 Tabs(Switch 模式)
77
+ * 参考 TestResponsiveWrapper 的 generateSimpleTabItems 函数
78
+ *
79
+ * @param products 产品列表
80
+ * @param tabStyle tab 样式类型
81
+ * @returns Switch 模式返回 CategoryTreeNode[],Anchor 模式返回 TabItem[]
82
+ */
83
+ export declare const generateProductTabs: (products: Product[], tabStyle?: 'switch' | 'anchor') => CategoryTreeNode[] | TabItem[];
84
+ export {};
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { ProductDisplayConfig, ProductDisplayPresetKey } from '../ProductDisplayAdapter/types';
3
+ interface AddServiceVariantProps {
4
+ globalState: any;
5
+ setGlobalState: any;
6
+ onPrerenderComplete?: () => void;
7
+ onGetProductsReady?: (getProducts: any) => void;
8
+ productDisplayConfig?: ProductDisplayPresetKey | ProductDisplayConfig;
9
+ }
10
+ declare const AddServiceVariant: (props: AddServiceVariantProps) => JSX.Element;
11
+ export default AddServiceVariant;
@@ -0,0 +1,9 @@
1
+ export declare const formatVariantGroupTitle: (title: any, variant_group?: never[]) => string | undefined;
2
+ export declare const createCacheItem: (detail: any, values: any, state: any) => any;
3
+ export declare const formatDataKey: (data: any) => any;
4
+ export declare const isVariant: (item: any) => boolean;
5
+ export declare const isOption: (item: any) => boolean;
6
+ export declare const isBundle: (item: any) => boolean;
7
+ export declare const genValues: (item: any, code: string) => any;
8
+ export declare const setHandleSetService: (fn: ((list: any[], code: string) => void) | null) => void;
9
+ export declare const getHandleSetService: () => ((list: any[], code: string) => void) | null;
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ /**
3
+ * OsKey Context
4
+ * 用于在 TicketBooking 组件树中提供 pisellos 的 osKey
5
+ * osKey 用于区分不同页面使用同一个组件时的模块标识
6
+ */
7
+ interface OsKeyContextType {
8
+ /** pisellos 模块的唯一标识 */
9
+ osKey: string | undefined;
10
+ }
11
+ declare const OsKeyContext: React.Context<OsKeyContextType>;
12
+ interface OsKeyProviderProps {
13
+ osKey: string | undefined;
14
+ children: React.ReactNode;
15
+ }
16
+ /**
17
+ * OsKey Provider
18
+ * 提供 osKey 给子组件使用
19
+ */
20
+ export declare const OsKeyProvider: React.FC<OsKeyProviderProps>;
21
+ /**
22
+ * useOsKey Hook
23
+ * 在子组件中使用此 hook 获取 osKey
24
+ */
25
+ export declare const useOsKey: () => string;
26
+ export default OsKeyContext;
@@ -0,0 +1,2 @@
1
+ export { OsKeyProvider, useOsKey } from './OsKeyContext';
2
+ export { default as OsKeyContext } from './OsKeyContext';
@@ -0,0 +1,25 @@
1
+ import { ClientData } from '../../../booking/info2/cartClientCard/types';
2
+ export declare const useCustomer: (props: {
3
+ changeCustomerToGlobalState?: ((value: ClientData, options?: any) => void) | undefined;
4
+ }) => {
5
+ customers: never[];
6
+ selectedCustomer: ClientData | null;
7
+ loading: boolean;
8
+ error: null;
9
+ pagination: {
10
+ page: number;
11
+ pageSize: number;
12
+ total: number;
13
+ };
14
+ loadCustomers: (params?: {
15
+ skip?: number;
16
+ num?: number;
17
+ search?: string;
18
+ }) => Promise<void>;
19
+ changePage: (page: number, pageSize: number) => Promise<void>;
20
+ selectCustomer: (customer: ClientData | null, options?: any) => void;
21
+ addCustomerToFirst: (customer: ClientData) => void;
22
+ initLoad: (this: any, keyword: any, formId: number) => Promise<void>;
23
+ hasMore: boolean;
24
+ loadMore: () => Promise<void>;
25
+ };
@@ -0,0 +1,16 @@
1
+ interface IGetProductsParams {
2
+ schedule_date?: string;
3
+ customer_id?: number;
4
+ menu_list_ids?: number[];
5
+ schedule_datetime?: string;
6
+ }
7
+ interface IGetScheduleTimePointsParams {
8
+ menu_list_ids?: number[];
9
+ }
10
+ export declare const useProducts: (notAvailableRef: any) => {
11
+ getScheduleTimePoints: (params?: IGetScheduleTimePointsParams) => Promise<void>;
12
+ getProducts: (params?: IGetProductsParams) => Promise<void>;
13
+ products: any[];
14
+ loading: boolean;
15
+ };
16
+ export {};
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ import { ProductDisplayConfig, ProductDisplayPresetKey } from './components/ProductDisplayAdapter/types';
3
+ import './index.less';
4
+ interface TicketBookingProps {
5
+ productExtensionType: string[];
6
+ bookingConfigParams: Record<string, any>;
7
+ isShowMenuBar?: boolean;
8
+ onPrerenderComplete?: () => void;
9
+ isShowTimeBar?: boolean;
10
+ isShowFloatButtons?: boolean;
11
+ productDisplayConfig?: ProductDisplayPresetKey | ProductDisplayConfig;
12
+ isActive?: boolean;
13
+ rulesHooks?: any;
14
+ }
15
+ declare const _default: (props: TicketBookingProps) => JSX.Element;
16
+ export default _default;
@@ -0,0 +1,201 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.ticket-booking.info': string;
4
+ 'pisell2.ticket-booking.notes': string;
5
+ 'pisell2.ticket-booking.note': string;
6
+ 'pisell2.ticket-booking.forms': string;
7
+ 'pisell2.ticket-booking.sales': string;
8
+ 'pisell2.ticket-booking.payment': string;
9
+ 'pisell2.ticket-booking.unsaved-changes': string;
10
+ 'pisell2.ticket-booking.exit-confirm': string;
11
+ 'pisell2.ticket-booking.go-back': string;
12
+ 'pisell2.ticket-booking.exit': string;
13
+ 'pisell2.ticket-booking.deposit': string;
14
+ 'pisell2.ticket-booking.copy-success': string;
15
+ 'pisell2.ticket-booking.no-data': string;
16
+ 'pisell2.ticket-booking.authorized': string;
17
+ 'pisell2.ticket-booking.paid': string;
18
+ 'pisell2.ticket-booking.partially-paid': string;
19
+ 'pisell2.ticket-booking.partially-refunded': string;
20
+ 'pisell2.ticket-booking.payment-pending': string;
21
+ 'pisell2.ticket-booking.refunded': string;
22
+ 'pisell2.ticket-booking.unpaid': string;
23
+ 'pisell2.ticket-booking.voided': string;
24
+ 'pisell2.ticket-booking.pending': string;
25
+ 'pisell2.ticket-booking.all': string;
26
+ 'pisell2.ticket-booking.not-started': string;
27
+ 'pisell2.ticket-booking.started': string;
28
+ 'pisell2.ticket-booking.finished': string;
29
+ 'pisell2.ticket-booking.canceled': string;
30
+ 'pisell2.ticket-booking.inform': string;
31
+ 'pisell2.ticket-booking.check-management': string;
32
+ 'pisell2.ticket-booking.confirm': string;
33
+ 'pisell2.ticket-booking.dashboard': string;
34
+ 'pisell2.ticket-booking.booking-list': string;
35
+ 'pisell2.ticket-booking.full-data': string;
36
+ 'pisell2.ticket-booking.today': string;
37
+ 'pisell2.ticket-booking.now': string;
38
+ 'pisell2.ticket-booking.start-time': string;
39
+ 'pisell2.ticket-booking.create-time': string;
40
+ 'pisell2.ticket-booking.customer': string;
41
+ 'pisell2.ticket-booking.total': string;
42
+ 'pisell2.ticket-booking.search': string;
43
+ 'pisell2.ticket-booking.refresh-success': string;
44
+ 'pisell2.ticket-booking.loading': string;
45
+ 'pisell2.ticket-booking.appointment-not-found': string;
46
+ 'pisell2.ticket-booking.scan': string;
47
+ 'pisell2.ticket-booking.create-new': string;
48
+ 'pisell2.ticket-booking.add-to-cart': string;
49
+ 'pisell2.ticket-booking.not-available-title': string;
50
+ 'pisell2.ticket-booking.not-available-ok': string;
51
+ 'pisell2.ticket-booking.in-cart': (number: number) => string;
52
+ 'pisell2.product.card.cart-items': (number: number) => string;
53
+ 'pisell2.product.card.subtotal': string;
54
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
55
+ 'pisell2.product.card.day': (val: number) => string;
56
+ 'pisell2.product.card.day.event': (val: number) => string;
57
+ 'pisell2.product.card.minute': (val: number) => string;
58
+ 'pisell2.ticket-booking.reload': string;
59
+ 'pisell2.text.scan-global-failed': string;
60
+ 'pisell2.ticket-booking.terminal-upgrade-title': string;
61
+ 'pisell2.ticket-booking.terminal-upgrade-description': string;
62
+ 'pisell2.ticket-booking.terminal-upgrade-ok': string;
63
+ 'pisell2.ticket-booking.terminal-upgrade-cancel': string;
64
+ 'pisell2.ticket-booking.collapse': string;
65
+ 'pisell2.ticket-booking.expand': string;
66
+ 'pisell2.product-select.search': string;
67
+ };
68
+ 'zh-CN': {
69
+ 'pisell2.ticket-booking.info': string;
70
+ 'pisell2.ticket-booking.notes': string;
71
+ 'pisell2.ticket-booking.note': string;
72
+ 'pisell2.ticket-booking.forms': string;
73
+ 'pisell2.ticket-booking.sales': string;
74
+ 'pisell2.ticket-booking.payment': string;
75
+ 'pisell2.ticket-booking.unsaved-changes': string;
76
+ 'pisell2.ticket-booking.exit-confirm': string;
77
+ 'pisell2.ticket-booking.go-back': string;
78
+ 'pisell2.ticket-booking.exit': string;
79
+ 'pisell2.ticket-booking.deposit': string;
80
+ 'pisell2.ticket-booking.copy-success': string;
81
+ 'pisell2.ticket-booking.no-data': string;
82
+ 'pisell2.ticket-booking.authorized': string;
83
+ 'pisell2.ticket-booking.paid': string;
84
+ 'pisell2.ticket-booking.partially-paid': string;
85
+ 'pisell2.ticket-booking.partially-refunded': string;
86
+ 'pisell2.ticket-booking.payment-pending': string;
87
+ 'pisell2.ticket-booking.refunded': string;
88
+ 'pisell2.ticket-booking.unpaid': string;
89
+ 'pisell2.ticket-booking.voided': string;
90
+ 'pisell2.ticket-booking.pending': string;
91
+ 'pisell2.ticket-booking.all': string;
92
+ 'pisell2.ticket-booking.not-started': string;
93
+ 'pisell2.ticket-booking.started': string;
94
+ 'pisell2.ticket-booking.finished': string;
95
+ 'pisell2.ticket-booking.canceled': string;
96
+ 'pisell2.ticket-booking.inform': string;
97
+ 'pisell2.ticket-booking.check-management': string;
98
+ 'pisell2.ticket-booking.confirm': string;
99
+ 'pisell2.ticket-booking.dashboard': string;
100
+ 'pisell2.ticket-booking.booking-list': string;
101
+ 'pisell2.ticket-booking.full-data': string;
102
+ 'pisell2.ticket-booking.today': string;
103
+ 'pisell2.ticket-booking.now': string;
104
+ 'pisell2.ticket-booking.start-time': string;
105
+ 'pisell2.ticket-booking.create-time': string;
106
+ 'pisell2.ticket-booking.customer': string;
107
+ 'pisell2.ticket-booking.total': string;
108
+ 'pisell2.ticket-booking.search': string;
109
+ 'pisell2.ticket-booking.refresh-success': string;
110
+ 'pisell2.ticket-booking.loading': string;
111
+ 'pisell2.ticket-booking.appointment-not-found': string;
112
+ 'pisell2.ticket-booking.scan': string;
113
+ 'pisell2.ticket-booking.create-new': string;
114
+ 'pisell2.ticket-booking.add-to-cart': string;
115
+ 'pisell2.ticket-booking.not-available-title': string;
116
+ 'pisell2.ticket-booking.not-available-ok': string;
117
+ 'pisell2.product.card.cart-items': (number: number) => string;
118
+ 'pisell2.product.card.subtotal': string;
119
+ 'pisell2.ticket-booking.in-cart': (number: number) => string;
120
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
121
+ 'pisell2.product.card.day': (val: number) => string;
122
+ 'pisell2.product.card.day.event': (val: number) => string;
123
+ 'pisell2.product.card.minute': (val: number) => string;
124
+ 'pisell2.ticket-booking.reload': string;
125
+ 'pisell2.text.scan-global-failed': string;
126
+ 'pisell2.ticket-booking.terminal-upgrade-title': string;
127
+ 'pisell2.ticket-booking.terminal-upgrade-description': string;
128
+ 'pisell2.ticket-booking.terminal-upgrade-ok': string;
129
+ 'pisell2.ticket-booking.terminal-upgrade-cancel': string;
130
+ 'pisell2.ticket-booking.collapse': string;
131
+ 'pisell2.ticket-booking.expand': string;
132
+ 'pisell2.product-select.search': string;
133
+ };
134
+ 'zh-HK': {
135
+ 'pisell2.ticket-booking.info': string;
136
+ 'pisell2.ticket-booking.notes': string;
137
+ 'pisell2.ticket-booking.note': string;
138
+ 'pisell2.ticket-booking.forms': string;
139
+ 'pisell2.ticket-booking.sales': string;
140
+ 'pisell2.ticket-booking.payment': string;
141
+ 'pisell2.ticket-booking.unsaved-changes': string;
142
+ 'pisell2.ticket-booking.exit-confirm': string;
143
+ 'pisell2.ticket-booking.go-back': string;
144
+ 'pisell2.ticket-booking.exit': string;
145
+ 'pisell2.ticket-booking.deposit': string;
146
+ 'pisell2.ticket-booking.copy-success': string;
147
+ 'pisell2.ticket-booking.no-data': string;
148
+ 'pisell2.ticket-booking.authorized': string;
149
+ 'pisell2.ticket-booking.paid': string;
150
+ 'pisell2.ticket-booking.partially-paid': string;
151
+ 'pisell2.ticket-booking.partially-refunded': string;
152
+ 'pisell2.ticket-booking.payment-pending': string;
153
+ 'pisell2.ticket-booking.refunded': string;
154
+ 'pisell2.ticket-booking.unpaid': string;
155
+ 'pisell2.ticket-booking.voided': string;
156
+ 'pisell2.ticket-booking.pending': string;
157
+ 'pisell2.ticket-booking.all': string;
158
+ 'pisell2.ticket-booking.not-started': string;
159
+ 'pisell2.ticket-booking.started': string;
160
+ 'pisell2.ticket-booking.finished': string;
161
+ 'pisell2.ticket-booking.canceled': string;
162
+ 'pisell2.ticket-booking.inform': string;
163
+ 'pisell2.ticket-booking.check-management': string;
164
+ 'pisell2.ticket-booking.confirm': string;
165
+ 'pisell2.ticket-booking.dashboard': string;
166
+ 'pisell2.ticket-booking.booking-list': string;
167
+ 'pisell2.ticket-booking.full-data': string;
168
+ 'pisell2.ticket-booking.today': string;
169
+ 'pisell2.ticket-booking.now': string;
170
+ 'pisell2.ticket-booking.start-time': string;
171
+ 'pisell2.ticket-booking.create-time': string;
172
+ 'pisell2.ticket-booking.customer': string;
173
+ 'pisell2.ticket-booking.total': string;
174
+ 'pisell2.ticket-booking.search': string;
175
+ 'pisell2.ticket-booking.refresh-success': string;
176
+ 'pisell2.ticket-booking.loading': string;
177
+ 'pisell2.ticket-booking.appointment-not-found': string;
178
+ 'pisell2.ticket-booking.scan': string;
179
+ 'pisell2.ticket-booking.create-new': string;
180
+ 'pisell2.ticket-booking.add-to-cart': string;
181
+ 'pisell2.ticket-booking.not-available-title': string;
182
+ 'pisell2.ticket-booking.not-available-ok': string;
183
+ 'pisell2.ticket-booking.in-cart': (number: number) => string;
184
+ 'pisell2.product.card.cart-items': (number: number) => string;
185
+ 'pisell2.product.card.subtotal': string;
186
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
187
+ 'pisell2.product.card.day': (val: number) => string;
188
+ 'pisell2.product.card.day.event': (val: number) => string;
189
+ 'pisell2.product.card.minute': (val: number) => string;
190
+ 'pisell2.ticket-booking.reload': string;
191
+ 'pisell2.text.scan-global-failed': string;
192
+ 'pisell2.ticket-booking.terminal-upgrade-title': string;
193
+ 'pisell2.ticket-booking.terminal-upgrade-description': string;
194
+ 'pisell2.ticket-booking.terminal-upgrade-ok': string;
195
+ 'pisell2.ticket-booking.terminal-upgrade-cancel': string;
196
+ 'pisell2.ticket-booking.collapse': string;
197
+ 'pisell2.ticket-booking.expand': string;
198
+ 'pisell2.product-select.search': string;
199
+ };
200
+ };
201
+ export default _default;
@@ -0,0 +1,288 @@
1
+ /**
2
+ * @title: 获取客户列表
3
+ * @description: 获取客户列表
4
+ * @param {any} params
5
+ * @return {*}
6
+ * @Author: cong.shao
7
+ * @Date: 2025-04-24 16:28
8
+ */
9
+ export declare const getClients: (params: any) => Promise<any>;
10
+ /**
11
+ * @title: 获取服务列表
12
+ * @description: 查询服务列表
13
+ * @param {any} params
14
+ * @return {*}
15
+ * @Author: cong.shao
16
+ * @Date: 2025-04-24 16:28
17
+ */
18
+ export declare const getServices: (params: any) => Promise<any>;
19
+ /**
20
+ * @title: 获取资源列表
21
+ * @description: 资源列表
22
+ * @param {any} params
23
+ * @return {*}
24
+ * @Author: cong.shao
25
+ * @Date: 2025-04-24 16:28
26
+ */
27
+ export declare const getResources: (params: any) => Promise<any>;
28
+ /**
29
+ * @title: 获取产品列表
30
+ * @description: 查询产品列表
31
+ * @param {any} params
32
+ * @return {*}
33
+ * @Author: cong.shao
34
+ * @Date: 2025-04-24 16:28
35
+ */
36
+ export declare const getProducts: (params: any) => Promise<any>;
37
+ /**
38
+ * @title: 获取表单列表
39
+ * @description: 获取关联记录表单列表
40
+ * @param {any} params
41
+ * @return {*}
42
+ * @Author: cong.shao
43
+ * @Date: 2025-04-24 16:28
44
+ */
45
+ export declare const getForms: (params: any) => Promise<any>;
46
+ /**
47
+ * @title: 获取预约配置
48
+ * @description: 获取预约相关配置信息
49
+ * @param {any} params
50
+ * @return {*}
51
+ * @Author: cong.shao
52
+ * @Date: 2025-04-24 16:28
53
+ */
54
+ export declare const getBookingConfig: (params: any) => Promise<any>;
55
+ /**
56
+ * @title: 获取宠物信息
57
+ * @description: 根据ID获取宠物信息
58
+ * @param {string} formId
59
+ * @param {any} params
60
+ * @return {*}
61
+ * @Author: cong.shao
62
+ * @Date: 2025-04-24 16:28
63
+ */
64
+ export declare const getPets: (formId: string, params: any) => Promise<any>;
65
+ /**
66
+ * @title: 获取宠物数据
67
+ * @description: 获取宠物数据
68
+ * @param {any} params
69
+ * @return {*}
70
+ * @Author: cong.shao
71
+ * @Date: 2025-04-24 16:28
72
+ */
73
+ export declare const getPetsData: (params: any) => Promise<any>;
74
+ /**
75
+ * @title: 创建预约
76
+ * @description: 创建新的预约记录
77
+ * @param {any} params
78
+ * @return {*}
79
+ * @Author: cong.shao
80
+ * @Date: 2025-04-24 16:28
81
+ */
82
+ export declare const createBooking: (params: any) => Promise<any>;
83
+ /**
84
+ * @title: 获取预约附加服务
85
+ * @description: 根据预约ID获取附加服务信息
86
+ * @param {string} bookingId
87
+ * @param {any} params
88
+ * @return {*}
89
+ * @Author: cong.shao
90
+ * @Date: 2025-04-24 16:28
91
+ */
92
+ export declare const getAddonsByOrderId: (bookingId: string, params: any) => Promise<any>;
93
+ /**
94
+ * @title: 保存预约附加服务
95
+ * @description: 保存预约的附加服务信息
96
+ * @param {string} bookingId
97
+ * @param {any} params
98
+ * @return {*}
99
+ * @Author: cong.shao
100
+ * @Date: 2025-04-24 16:28
101
+ */
102
+ export declare const saveAddonsByOrderId: (bookingId: string, params: any) => Promise<any>;
103
+ /**
104
+ * @title: 获取预约详情
105
+ * @description: 获取预约详细信息
106
+ * @param {number} bookingId
107
+ * @param {any} params
108
+ * @return {*}
109
+ * @Author: cong.shao
110
+ * @Date: 2025-04-24 16:28
111
+ */
112
+ export declare const getBookingDetail: (bookingId: number, params?: any) => Promise<any>;
113
+ /**
114
+ * @title: 编辑预约状态
115
+ * @description: 更新预约状态
116
+ * @param {string} bookingId
117
+ * @param {any} params
118
+ * @return {*}
119
+ * @Author: cong.shao
120
+ * @Date: 2025-04-24 16:28
121
+ */
122
+ export declare const editBookingStatus: (bookingId: string, params: any) => Promise<any>;
123
+ /**
124
+ * @title: 编辑预约信息
125
+ * @description: 更新预约信息
126
+ * @param {string} bookingId
127
+ * @param {any} params
128
+ * @return {*}
129
+ * @Author: cong.shao
130
+ * @Date: 2025-04-24 16:28
131
+ */
132
+ export declare const editBooking: (bookingId: string, params: any) => Promise<any>;
133
+ /**
134
+ * @title: 获取预约备注
135
+ * @description: 获取预约相关备注信息
136
+ * @param {any} params
137
+ * @return {*}
138
+ * @Author: cong.shao
139
+ * @Date: 2025-04-24 16:28
140
+ */
141
+ export declare const getNotesByOrder: (params: any) => Promise<any>;
142
+ /**
143
+ * @title: 添加预约备注
144
+ * @description: 添加预约相关备注
145
+ * @param {any} params
146
+ * @return {*}
147
+ * @Author: cong.shao
148
+ * @Date: 2025-04-24 16:28
149
+ */
150
+ export declare const addNotesByOrder: (params: any) => Promise<any>;
151
+ /**
152
+ * @title: 编辑预约备注
153
+ * @description: 更新预约备注信息
154
+ * @param {string} bookingId
155
+ * @param {any} params
156
+ * @return {*}
157
+ * @Author: cong.shao
158
+ * @Date: 2025-04-24 16:28
159
+ */
160
+ export declare const editNoteByOrder: (bookingId: string, params: any) => Promise<any>;
161
+ /**
162
+ * @title: 删除预约备注
163
+ * @description: 删除预约相关备注
164
+ * @param {string} bookingId
165
+ * @param {any} params
166
+ * @return {*}
167
+ * @Author: cong.shao
168
+ * @Date: 2025-04-24 16:28
169
+ */
170
+ export declare const removeNoteByOrder: (bookingId: string, params: any) => Promise<any>;
171
+ /**
172
+ * @title: 保存预约表单数据
173
+ * @description: 保存预约相关的表单数据
174
+ * @param {any} params
175
+ * @return {*}
176
+ * @Author: cong.shao
177
+ * @Date: 2025-04-24 16:28
178
+ */
179
+ export declare const saveBookingFormData: (params: any) => Promise<any>;
180
+ /**
181
+ * @title: 获取支付列表
182
+ * @description: 获取支付相关列表数据
183
+ * @param {any} params
184
+ * @return {*}
185
+ * @Author: cong.shao
186
+ * @Date: 2025-04-24 16:28
187
+ */
188
+ export declare const getPaymentList: (params: any) => Promise<any>;
189
+ /**
190
+ * @title: 编辑订单备注
191
+ * @description: 更新订单备注信息
192
+ * @param {string} bookingId
193
+ * @param {any} params
194
+ * @return {*}
195
+ * @Author: cong.shao
196
+ * @Date: 2025-04-24 16:28
197
+ */
198
+ export declare const editOrderNote: (bookingId: string, params: any) => Promise<any>;
199
+ /**
200
+ * @title: 获取退款信息
201
+ * @description: 获取退款相关信息
202
+ * @param {string} bookingId
203
+ * @param {any} params
204
+ * @return {*}
205
+ * @Author: cong.shao
206
+ * @Date: 2025-04-24 16:28
207
+ */
208
+ export declare const getRefundInfo: (bookingId: string, params: any) => Promise<any>;
209
+ /**
210
+ * @title: 创建活动预约
211
+ * @description: 创建新的活动预约记录
212
+ * @param {any} params
213
+ * @return {*}
214
+ * @Author: cong.shao
215
+ * @Date: 2025-04-24 16:28
216
+ */
217
+ export declare const createEventBooking: (params: any) => Promise<any>;
218
+ /**
219
+ * @title: 获取活动预约详情
220
+ * @description: 获取活动预约详细信息
221
+ * @param {number} bookingId
222
+ * @param {any} params
223
+ * @return {*}
224
+ * @Author: cong.shao
225
+ * @Date: 2025-04-24 16:28
226
+ */
227
+ export declare const getEventBookingDetail: (bookingId: number, params?: any) => Promise<any>;
228
+ /**
229
+ * @title: 编辑活动预约
230
+ * @description: 更新活动预约信息
231
+ * @param {string} bookingId
232
+ * @param {any} params
233
+ * @return {*}
234
+ * @Author: cong.shao
235
+ * @Date: 2025-04-24 16:28
236
+ */
237
+ export declare const editEventBooking: (bookingId: string, params: any) => Promise<any>;
238
+ /**
239
+ * @title: 获取定金显示配置
240
+ * @description: 获取定金相关显示配置
241
+ * @param {any} params
242
+ * @return {*}
243
+ * @Author: cong.shao
244
+ * @Date: 2025-04-24 16:28
245
+ */
246
+ export declare const getDepositShow: (params: any) => Promise<any>;
247
+ /**
248
+ * @title: 获取表单记录
249
+ * @description: 获取表单记录数据
250
+ * @param {any} params
251
+ * @return {*}
252
+ * @Author: cong.shao
253
+ * @Date: 2025-04-24 16:28
254
+ */
255
+ export declare const getFormRecords: (params: any) => Promise<any>;
256
+ /**
257
+ * @title: 获取预约列表
258
+ * @description: 获取预约列表数据
259
+ * @param {any} params
260
+ * @return {*}
261
+ * @Author: cong.shao
262
+ * @Date: 2025-04-24 16:28
263
+ */
264
+ export declare const getBookingList2: (params: any) => Promise<any>;
265
+ /**
266
+ * @title: 获取订单信息
267
+ * @description: 根据机器码获取订单信息
268
+ * @param {any} params
269
+ * @return {*}
270
+ * @Author: cong.shao
271
+ * @Date: 2025-04-24 16:28
272
+ */
273
+ export declare const getOrderInfoByCode: (params: any) => Promise<any>;
274
+ /**
275
+ * @title: 获取ES客户数据
276
+ * @description: 从ES获取客户数据
277
+ * @param {any} params
278
+ * @return {*}
279
+ * @Author: cong.shao
280
+ * @Date: 2025-04-24 16:28
281
+ */
282
+ export declare const getClientsEs: (params: any) => Promise<any>;
283
+ /**
284
+ * 作废2.0预约订单
285
+ * @param order_id
286
+ */
287
+ export declare const voidAppointment: (order_id: number) => Promise<any>;
288
+ export declare const getProductList: (params: any) => Promise<any>;