@pisell/private-materials 6.8.28 → 6.8.29

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 (287) 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/meta.js +1 -1
  5. package/build/lowcode/render/default/view.css +1 -1
  6. package/build/lowcode/render/default/view.js +8 -8
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +8 -8
  9. package/es/businessModel/SalesModel/index.d.ts +1 -0
  10. package/es/components/appointmentBooking/locales.d.ts +363 -0
  11. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +0 -1
  12. package/es/components/booking/components/TabProduct/index.d.ts +1 -0
  13. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  14. package/es/components/booking/components/footer/amount.d.ts +37 -0
  15. package/es/components/booking/components/footer/index.js +43 -44
  16. package/es/components/booking/deposit/index.d.ts +1 -0
  17. package/es/components/booking/editBookingModal/utils.d.ts +12 -0
  18. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  19. package/es/components/booking/forms/single/index.d.ts +1 -0
  20. package/es/components/booking/info/client/index.d.ts +4 -0
  21. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  22. package/es/components/booking/info/hooks/useInfoHolder.js +0 -1
  23. package/es/components/booking/info/notes/index.d.ts +1 -0
  24. package/es/components/booking/info/service/Lists.d.ts +1 -0
  25. package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  26. package/es/components/booking/info/service/addTimeModal/utils.d.ts +31 -0
  27. package/es/components/booking/info/service/serve.d.ts +34 -0
  28. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  29. package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
  30. package/es/components/booking/info/service2/Group/utils.d.ts +14 -0
  31. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  32. package/es/components/booking/info/service2/utils.d.ts +219 -0
  33. package/es/components/booking/info2/cartClientCard/types.d.ts +18 -0
  34. package/es/components/booking/info2/cartClientCard/utils.d.ts +3 -0
  35. package/es/components/booking/info2/service/addService/utils.d.ts +106 -0
  36. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  37. package/es/components/booking/info2/service/editNormalService/index.js +4 -4
  38. package/es/components/booking/info2/service/editService/index.js +3 -3
  39. package/es/components/booking/info2/service/editService/utils.js +6 -1
  40. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  41. package/es/components/booking/info2/utilsByBooking.d.ts +36 -0
  42. package/es/components/booking/locales.d.ts +951 -0
  43. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  44. package/es/components/booking/notes/addNote/index.d.ts +1 -0
  45. package/es/components/booking/utils/confirmHolderModal.js +3 -4
  46. package/es/components/booking/utils.d.ts +182 -0
  47. package/es/components/booking/utils.js +7 -1
  48. package/es/components/checkout/components/PaymentDetailModal/index.d.ts +38 -0
  49. package/es/components/checkout/components/WalletPassModule/types.d.ts +134 -0
  50. package/es/components/checkout/types.d.ts +130 -0
  51. package/es/components/checkout/utils.d.ts +3 -0
  52. package/es/components/eftposPay/app.d.ts +10 -0
  53. package/es/components/eftposPay/component/fail/failCustom.d.ts +3 -0
  54. package/es/components/eftposPay/component/fail/index.d.ts +3 -0
  55. package/es/components/eftposPay/component/fail/unknow.d.ts +9 -0
  56. package/es/components/eftposPay/const.d.ts +190 -0
  57. package/es/components/eftposPay/device.d.ts +25 -0
  58. package/es/components/eftposPay/hooks.d.ts +35 -0
  59. package/es/components/eftposPay/index.d.ts +4 -0
  60. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  61. package/es/components/eftposPay/locales.d.ts +330 -0
  62. package/es/components/eftposPay/manufacturer.d.ts +7 -0
  63. package/es/components/eftposPay/pay.d.ts +20 -0
  64. package/es/components/eftposPay/payo/config.d.ts +12 -0
  65. package/es/components/eftposPay/payo/payment.d.ts +66 -0
  66. package/es/components/eftposPay/tyro/index.d.ts +9 -0
  67. package/es/components/eftposPay/windcave/helper.d.ts +23 -0
  68. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  69. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  70. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  71. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  72. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  73. package/es/components/list/hooks/index.d.ts +5 -0
  74. package/es/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  75. package/es/components/pay/toB/components/Content/utils.d.ts +16 -0
  76. package/es/components/pay/toB/components/MX51/index.d.ts +3 -0
  77. package/es/components/pay/toB/locales.d.ts +54 -0
  78. package/es/components/pay/toB/store/context.d.ts +3 -0
  79. package/es/components/pay/toB/store/hooks.d.ts +15 -0
  80. package/es/components/pay/toB/store/index.d.ts +3 -0
  81. package/es/components/pay/toB/store/provider.d.ts +4 -0
  82. package/es/components/pay/toB/store/utils.d.ts +13 -0
  83. package/es/components/pay/toB/types/index.d.ts +72 -0
  84. package/es/components/pay/toB/types/storeTypes.d.ts +143 -0
  85. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  86. package/es/components/pay/toC/model.d.ts +32 -0
  87. package/es/components/pay/toC/utils.d.ts +57 -0
  88. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  89. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  90. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  91. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  92. package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
  93. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  94. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  95. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  96. package/es/components/productExtension/index.d.ts +1 -0
  97. package/es/components/productSelect/components/productGroup/index.d.ts +1 -0
  98. package/es/components/ruleSetting/locales.d.ts +48 -0
  99. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  100. package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
  101. package/es/components/shoppingCart/index.d.ts +1 -0
  102. package/es/components/systemSettings/registry/components/SectionList.d.ts +4 -0
  103. package/es/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +7 -0
  104. package/es/components/ticketBooking/components/addServiceVariant/addService.js +7 -2
  105. package/es/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +6 -0
  106. package/es/components/ticketBooking/hooks/pisellos/index.d.ts +4 -0
  107. package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
  108. package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
  109. package/es/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +6 -0
  110. package/es/components/ticketBooking/utils/index.d.ts +101 -0
  111. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  112. package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
  113. package/es/hooks/useWindowSize.d.ts +5 -0
  114. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  115. package/es/plus/clinetSearch/locales.d.ts +105 -0
  116. package/es/plus/clinetSearch/types.d.ts +61 -0
  117. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +1 -0
  118. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +1 -0
  119. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +1 -0
  120. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +1 -0
  121. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +1 -0
  122. package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +1 -0
  123. package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
  124. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  125. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +1 -0
  126. package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +1 -0
  127. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
  128. package/es/plus/skuOptionsSelection/index.d.ts +5 -0
  129. package/es/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
  130. package/es/plus/webPosLogin/locales.d.ts +49 -0
  131. package/es/plus/webPosLogin/types.d.ts +286 -0
  132. package/es/pro/Login2.0/components/LegalTerms.d.ts +8 -0
  133. package/es/pro/Login2.0/components/PhoneInput.d.ts +53 -0
  134. package/es/pro/Login2.0/hooks/index.d.ts +2 -0
  135. package/es/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
  136. package/es/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
  137. package/es/pro/Login2.0/shared/Header.d.ts +11 -0
  138. package/es/pro/Login2.0/shared/types.d.ts +232 -0
  139. package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
  140. package/es/pro/pisellNumberSelector/example.d.ts +3 -0
  141. package/es/pro/pisellPaymentList/example.d.ts +19 -0
  142. package/es/pro/pisellPriceKeyboardPopover/PisellPriceKeyboardPopover.d.ts +5 -0
  143. package/es/pro/pisellPriceKeyboardPopover/index.d.ts +2 -0
  144. package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
  145. package/es/pro/skuDetailModal/index.js +17 -2
  146. package/es/pro/skuDetailModal/index.less +1 -1
  147. package/es/test/setup.d.ts +1 -0
  148. package/lib/businessModel/SalesModel/index.d.ts +1 -0
  149. package/lib/components/appointmentBooking/locales.d.ts +363 -0
  150. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +0 -1
  151. package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
  152. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  153. package/lib/components/booking/components/footer/amount.d.ts +37 -0
  154. package/lib/components/booking/components/footer/index.js +9 -12
  155. package/lib/components/booking/deposit/index.d.ts +1 -0
  156. package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
  157. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  158. package/lib/components/booking/forms/single/index.d.ts +1 -0
  159. package/lib/components/booking/info/client/index.d.ts +4 -0
  160. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  161. package/lib/components/booking/info/hooks/useInfoHolder.js +0 -1
  162. package/lib/components/booking/info/notes/index.d.ts +1 -0
  163. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  164. package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  165. package/lib/components/booking/info/service/addTimeModal/utils.d.ts +31 -0
  166. package/lib/components/booking/info/service/serve.d.ts +34 -0
  167. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  168. package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
  169. package/lib/components/booking/info/service2/Group/utils.d.ts +14 -0
  170. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  171. package/lib/components/booking/info/service2/utils.d.ts +219 -0
  172. package/lib/components/booking/info2/cartClientCard/types.d.ts +18 -0
  173. package/lib/components/booking/info2/cartClientCard/utils.d.ts +3 -0
  174. package/lib/components/booking/info2/service/addService/utils.d.ts +106 -0
  175. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  176. package/lib/components/booking/info2/service/editNormalService/index.js +4 -4
  177. package/lib/components/booking/info2/service/editService/index.js +4 -4
  178. package/lib/components/booking/info2/service/editService/utils.js +4 -1
  179. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  180. package/lib/components/booking/info2/utilsByBooking.d.ts +36 -0
  181. package/lib/components/booking/locales.d.ts +951 -0
  182. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  183. package/lib/components/booking/notes/addNote/index.d.ts +1 -0
  184. package/lib/components/booking/utils/confirmHolderModal.js +0 -1
  185. package/lib/components/booking/utils.d.ts +182 -0
  186. package/lib/components/booking/utils.js +5 -1
  187. package/lib/components/checkout/components/PaymentDetailModal/index.d.ts +38 -0
  188. package/lib/components/checkout/components/WalletPassModule/types.d.ts +134 -0
  189. package/lib/components/checkout/types.d.ts +130 -0
  190. package/lib/components/checkout/utils.d.ts +3 -0
  191. package/lib/components/eftposPay/app.d.ts +10 -0
  192. package/lib/components/eftposPay/component/fail/failCustom.d.ts +3 -0
  193. package/lib/components/eftposPay/component/fail/index.d.ts +3 -0
  194. package/lib/components/eftposPay/component/fail/unknow.d.ts +9 -0
  195. package/lib/components/eftposPay/const.d.ts +190 -0
  196. package/lib/components/eftposPay/device.d.ts +25 -0
  197. package/lib/components/eftposPay/hooks.d.ts +35 -0
  198. package/lib/components/eftposPay/index.d.ts +4 -0
  199. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  200. package/lib/components/eftposPay/locales.d.ts +330 -0
  201. package/lib/components/eftposPay/manufacturer.d.ts +7 -0
  202. package/lib/components/eftposPay/pay.d.ts +20 -0
  203. package/lib/components/eftposPay/payo/config.d.ts +12 -0
  204. package/lib/components/eftposPay/payo/payment.d.ts +66 -0
  205. package/lib/components/eftposPay/tyro/index.d.ts +9 -0
  206. package/lib/components/eftposPay/windcave/helper.d.ts +23 -0
  207. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  208. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  209. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  210. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  211. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  212. package/lib/components/list/hooks/index.d.ts +5 -0
  213. package/lib/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  214. package/lib/components/pay/toB/components/Content/utils.d.ts +16 -0
  215. package/lib/components/pay/toB/components/MX51/index.d.ts +3 -0
  216. package/lib/components/pay/toB/locales.d.ts +54 -0
  217. package/lib/components/pay/toB/store/context.d.ts +3 -0
  218. package/lib/components/pay/toB/store/hooks.d.ts +15 -0
  219. package/lib/components/pay/toB/store/index.d.ts +3 -0
  220. package/lib/components/pay/toB/store/provider.d.ts +4 -0
  221. package/lib/components/pay/toB/store/utils.d.ts +13 -0
  222. package/lib/components/pay/toB/types/index.d.ts +72 -0
  223. package/lib/components/pay/toB/types/storeTypes.d.ts +143 -0
  224. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  225. package/lib/components/pay/toC/model.d.ts +32 -0
  226. package/lib/components/pay/toC/utils.d.ts +57 -0
  227. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  228. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  229. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  230. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  231. package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
  232. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  233. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  234. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  235. package/lib/components/productExtension/index.d.ts +1 -0
  236. package/lib/components/productSelect/components/productGroup/index.d.ts +1 -0
  237. package/lib/components/ruleSetting/locales.d.ts +48 -0
  238. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  239. package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
  240. package/lib/components/shoppingCart/index.d.ts +1 -0
  241. package/lib/components/systemSettings/registry/components/SectionList.d.ts +4 -0
  242. package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +7 -0
  243. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +7 -3
  244. package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +6 -0
  245. package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +4 -0
  246. package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
  247. package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
  248. package/lib/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +6 -0
  249. package/lib/components/ticketBooking/utils/index.d.ts +101 -0
  250. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  251. package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
  252. package/lib/hooks/useWindowSize.d.ts +5 -0
  253. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  254. package/lib/plus/clinetSearch/locales.d.ts +105 -0
  255. package/lib/plus/clinetSearch/types.d.ts +61 -0
  256. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +1 -0
  257. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +1 -0
  258. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +1 -0
  259. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +1 -0
  260. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +1 -0
  261. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +1 -0
  262. package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
  263. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  264. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +1 -0
  265. package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +1 -0
  266. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
  267. package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
  268. package/lib/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
  269. package/lib/plus/webPosLogin/locales.d.ts +49 -0
  270. package/lib/plus/webPosLogin/types.d.ts +286 -0
  271. package/lib/pro/Login2.0/components/LegalTerms.d.ts +8 -0
  272. package/lib/pro/Login2.0/components/PhoneInput.d.ts +53 -0
  273. package/lib/pro/Login2.0/hooks/index.d.ts +2 -0
  274. package/lib/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
  275. package/lib/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
  276. package/lib/pro/Login2.0/shared/Header.d.ts +11 -0
  277. package/lib/pro/Login2.0/shared/types.d.ts +232 -0
  278. package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
  279. package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
  280. package/lib/pro/pisellPaymentList/example.d.ts +19 -0
  281. package/lib/pro/pisellPriceKeyboardPopover/PisellPriceKeyboardPopover.d.ts +5 -0
  282. package/lib/pro/pisellPriceKeyboardPopover/index.d.ts +2 -0
  283. package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
  284. package/lib/pro/skuDetailModal/index.js +13 -2
  285. package/lib/pro/skuDetailModal/index.less +1 -1
  286. package/lib/test/setup.d.ts +1 -0
  287. package/package.json +2 -2
@@ -0,0 +1,48 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.text.satisfy_any_condition': string;
4
+ 'pisell2.text.add': string;
5
+ 'pisell2.text.and': string;
6
+ 'pisell2.text.or': string;
7
+ 'pisell2.text.all': string;
8
+ 'pisell2.text.rule-setting.Contain': string;
9
+ 'pisell2.text.rule-setting.Exclude': string;
10
+ 'pisell2.text.rule-setting.order_type': string;
11
+ 'pisell2.text.rule-setting.sales_channel': string;
12
+ 'pisell2.text.rule-setting.staff': string;
13
+ 'pisell2.text.rule-setting.payment_method': string;
14
+ 'pisell2.text.rule-setting.pisell_terminal_device': string;
15
+ 'pisell2.text.rule-setting.current_device': string;
16
+ };
17
+ 'zh-CN': {
18
+ 'pisell2.text.satisfy_any_condition': string;
19
+ 'pisell2.text.and': string;
20
+ 'pisell2.text.or': string;
21
+ 'pisell2.text.all': string;
22
+ 'pisell2.text.add': string;
23
+ 'pisell2.text.rule-setting.Contain': string;
24
+ 'pisell2.text.rule-setting.Exclude': string;
25
+ 'pisell2.text.rule-setting.order_type': string;
26
+ 'pisell2.text.rule-setting.sales_channel': string;
27
+ 'pisell2.text.rule-setting.staff': string;
28
+ 'pisell2.text.rule-setting.payment_method': string;
29
+ 'pisell2.text.rule-setting.pisell_terminal_device': string;
30
+ 'pisell2.text.rule-setting.current_device': string;
31
+ };
32
+ 'zh-HK': {
33
+ 'pisell2.text.satisfy_any_condition': string;
34
+ 'pisell2.text.and': string;
35
+ 'pisell2.text.or': string;
36
+ 'pisell2.text.all': string;
37
+ 'pisell2.text.add': string;
38
+ 'pisell2.text.rule-setting.Contain': string;
39
+ 'pisell2.text.rule-setting.Exclude': string;
40
+ 'pisell2.text.rule-setting.order_type': string;
41
+ 'pisell2.text.rule-setting.sales_channel': string;
42
+ 'pisell2.text.rule-setting.staff': string;
43
+ 'pisell2.text.rule-setting.payment_method': string;
44
+ 'pisell2.text.rule-setting.pisell_terminal_device': string;
45
+ 'pisell2.text.rule-setting.current_device': string;
46
+ };
47
+ };
48
+ export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Empty: (props: any) => JSX.Element;
3
4
  export default Empty;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Content: () => JSX.Element;
3
4
  export default Content;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { shoppingCartProps } from './type';
2
3
  declare const shoppingCart: ({ onCard, onAction, onChange, onAddProduct, onActiveKey, ...props }: shoppingCartProps) => JSX.Element;
3
4
  export default shoppingCart;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SectionListProps } from '../types';
3
+ declare const SectionList: React.FC<SectionListProps>;
4
+ export default SectionList;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * ProductDisplayAdapter 产品展示适配器
3
+ * 支持通过配置化方式在 ProductSelect 和 SkuList 两种展示模式之间切换
4
+ */
5
+ export { default } from './ProductDisplayAdapter';
6
+ export type { ProductDisplayConfig, ProductDisplayPresetKey, ProductSelectConfig, ProductSelectLayout, ProductListSetting, SkuListConfig, SkuCardDisplayMode, ListConfig, ListLayoutType, DisplayMode, } from './types';
7
+ export { ProductDisplayPresets, LegacyProductDisplayPresets, resolveProductDisplayConfig, } from './types';
@@ -257,7 +257,7 @@ var AddSerivce = (props) => {
257
257
  return true;
258
258
  });
259
259
  const createCacheItemFromParams = (0, import_ahooks.useMemoizedFn)((item, params, detail) => {
260
- var _a2, _b2, _c2, _d2, _e2, _f2;
260
+ var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2;
261
261
  const _detail = detail || item;
262
262
  const other = JSON.parse(JSON.stringify(params));
263
263
  other.session = params.session;
@@ -275,16 +275,20 @@ var AddSerivce = (props) => {
275
275
  // end_date: endDate, 这个参数合并过来的没有入参
276
276
  isFormSubject: ((_d2 = (_c2 = (_b2 = (_a2 = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _a2.config) == null ? void 0 : _b2.basic) == null ? void 0 : _c2.appointment_subject) == null ? void 0 : _d2.type) === "form",
277
277
  isNormalProduct: (0, import_utils4.isNormalProductByDurationSchedule)(item),
278
- note: (_e2 = _detail == null ? void 0 : _detail._extend) == null ? void 0 : _e2.note
278
+ note: (_e2 = _detail == null ? void 0 : _detail._extend) == null ? void 0 : _e2.note,
279
+ priceOverride: (_f2 = _detail == null ? void 0 : _detail._extend) == null ? void 0 : _f2.priceOverride
279
280
  },
280
281
  new: 1
281
282
  };
283
+ if (((_g2 = cacheItem._extend) == null ? void 0 : _g2.priceOverride) || ((_h2 = cacheItem._extend) == null ? void 0 : _h2.priceOverride) === 0) {
284
+ cacheItem._extend.price = (_i2 = cacheItem._extend) == null ? void 0 : _i2.priceOverride;
285
+ }
282
286
  let _total = (0, import_utils2.getProductTotalPrice)(cacheItem);
283
287
  cacheItem._extend.total = _total;
284
288
  cacheItem._extend.origin_total = _total;
285
289
  const _isEdit = !!state.service.cacheItem;
286
290
  if (_isEdit) {
287
- cacheItem._id = (_f2 = state.service.cacheItem) == null ? void 0 : _f2._id;
291
+ cacheItem._id = (_j2 = state.service.cacheItem) == null ? void 0 : _j2._id;
288
292
  cacheItem.new = 0;
289
293
  }
290
294
  if (renderMode === "current") {
@@ -0,0 +1,6 @@
1
+ /**
2
+ * useBookingTicket Hook
3
+ * 获取当前 TicketBooking 实例对应的 BookingTicket 模块
4
+ * 通过 osKey 区分不同页面的模块实例
5
+ */
6
+ export declare const useBookingTicket: () => any;
@@ -0,0 +1,4 @@
1
+ export * from './bookingTicket';
2
+ export * from './useProducts';
3
+ export * from './useCustomer';
4
+ export * from './useActiveExecute';
@@ -0,0 +1,25 @@
1
+ import { ClientData } from '../../../booking/info2/cartClientCard/types';
2
+ export declare const useCustomer: (props: {
3
+ changeCustomerToGlobalState?: ((value: ClientData) => void) | undefined;
4
+ }) => {
5
+ customers: never[];
6
+ selectedCustomer: ClientData | null;
7
+ loading: boolean;
8
+ error: null;
9
+ pagination: {
10
+ page: number;
11
+ pageSize: number;
12
+ total: number;
13
+ };
14
+ loadCustomers: (params?: {
15
+ skip?: number;
16
+ num?: number;
17
+ search?: string;
18
+ }) => Promise<void>;
19
+ changePage: (page: number, pageSize: number) => Promise<void>;
20
+ selectCustomer: (customer: ClientData | null) => void;
21
+ addCustomerToFirst: (customer: ClientData) => void;
22
+ initLoad: (this: any, keyword?: any) => 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,6 @@
1
+ /**
2
+ * useShopDiscountModule Hook
3
+ * 获取当前 ShopDiscount 模块
4
+ * 通过 osKey 区分不同页面的模块实例
5
+ */
6
+ export declare const useShopDiscountModule: () => any;
@@ -0,0 +1,101 @@
1
+ import type { Dayjs } from 'dayjs';
2
+ /** dayjs对象格式化为字符串时间 */
3
+ export declare const formatDateToStr: (date: Dayjs[]) => string | string[];
4
+ export declare const getDefaultStartParam: () => string | string[];
5
+ export declare const formatBookingList: (bookingList: any[]) => any[];
6
+ export declare const getNextTimeSlice: (sliceMinutes: number) => Dayjs;
7
+ export declare const getDisabledEdit: ({ shop_discount, bookings, payment_status }: any) => boolean;
8
+ export declare const formatOptions: (detail: any) => any;
9
+ export declare const formatHolder: (detail: any) => any;
10
+ export declare const restoreProductOtherData: (data: any) => {
11
+ product_id: any;
12
+ option: any;
13
+ bundle: any;
14
+ product_variant_id: any;
15
+ quantity: number;
16
+ } | undefined;
17
+ export declare const isSameProduct: (a: any, b: any) => boolean;
18
+ export declare const addService: (list: any[], addItem: any, state: any, isMultiDay?: boolean) => {
19
+ list: any[];
20
+ count: number;
21
+ quantity?: undefined;
22
+ } | {
23
+ list: any[];
24
+ quantity: any;
25
+ count?: undefined;
26
+ };
27
+ export declare const addServiceScroll: (rowKey: string, cacheItem: any) => void;
28
+ export declare const getCartProductOverlay: (state: any) => any;
29
+ export declare const getIsOverlayProduct: (item: any, state: any) => any;
30
+ export declare const getIsShowNumber: (item: any, state: any) => any;
31
+ export declare const genServiceKey: (item: any) => string;
32
+ export declare const genHolderKey: (item: any) => string;
33
+ export declare const getIsParallelResourcesBooking: (record: any) => boolean;
34
+ declare type ScanData = {
35
+ type: string;
36
+ status: 'success' | 'failed';
37
+ scanType: 'nfc' | 'scanner';
38
+ scanCode: string;
39
+ result: {
40
+ searchType: 'customer' | 'wallet' | 'walletPass' | 'product' | 'local_product';
41
+ response: {
42
+ status: boolean;
43
+ code: number;
44
+ message: string;
45
+ data: any;
46
+ };
47
+ };
48
+ };
49
+ export declare const formatScanCustomer: (data: ScanData) => {
50
+ searchType: "product" | "customer" | "wallet" | "walletPass" | "local_product";
51
+ data: any;
52
+ scanCode: string;
53
+ } | null;
54
+ export declare const formatScanGlobal: (data: ScanData) => {
55
+ searchType: "wallet";
56
+ data: any;
57
+ scanCode: string;
58
+ } | {
59
+ searchType: "walletPass";
60
+ data: any;
61
+ scanCode: string;
62
+ } | {
63
+ searchType: "product" | "local_product";
64
+ data: any;
65
+ scanCode: string;
66
+ } | null | undefined;
67
+ export declare const createSimpleCacheItem: (item: any, e: any, state: any) => any;
68
+ export declare const getBookingTicketKey: (osKey: string) => string;
69
+ export declare const getShopDiscountKey: (osKey: string) => string;
70
+ export declare const rulesHooks: {
71
+ getProduct(product: Record<string, any>): {
72
+ booking_id: any;
73
+ id: any;
74
+ _id: any;
75
+ price: any;
76
+ total: any;
77
+ discount_list: any;
78
+ origin_total: any;
79
+ num: any;
80
+ quantity: any;
81
+ vouchersApplicable: any;
82
+ holder_id: any;
83
+ isNormalProduct: any;
84
+ startDate: any;
85
+ bundle: any;
86
+ options: any;
87
+ };
88
+ setProduct(product: Record<string, any>, values: {
89
+ total: number;
90
+ discount_list: any[];
91
+ price: number;
92
+ quantity: number;
93
+ _id?: string;
94
+ }): {
95
+ _id: any;
96
+ discount_list: any[];
97
+ _extend: any;
98
+ };
99
+ };
100
+ export { getCache, setCache, clearCache, clearAllCache, clearAllCacheByOsKey, getProductCache, setProductCache, clearProductCache, clearAllProductCache, getBoardConfigCache, setBoardConfigCache, clearBoardConfigCache, } from './productCache';
101
+ export type { CacheType } from './productCache';
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface IconItem {
3
+ name: string;
4
+ icon: React.ComponentType;
5
+ }
6
+ export declare const icons: IconItem[];
7
+ export declare const iconMap: Record<string, React.ComponentType>;
8
+ export {};
@@ -0,0 +1,2 @@
1
+ import { MenuProps } from 'antd';
2
+ export declare const items: MenuProps['items'];
@@ -0,0 +1,5 @@
1
+ interface UseWindowSizeOptions {
2
+ debounceMs?: number;
3
+ }
4
+ export declare const useWindowSize: (options?: UseWindowSizeOptions) => void;
5
+ export default useWindowSize;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const PhoneField: ({ value, onChange }: any) => JSX.Element;
2
3
  export default PhoneField;
@@ -0,0 +1,105 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.text.leave-empty-for-walk-in': string;
4
+ 'pisell2.text.date-year-text': string;
5
+ 'pisell2.text.date-month-text': string;
6
+ 'pisell2.text.date-day-text': string;
7
+ 'pisell2.text.gender': string;
8
+ 'pisell2.text.gender.male': string;
9
+ 'pisell2.text.gender.female': string;
10
+ 'pisell2.text.birthday': string;
11
+ 'pisell2.text.phone': string;
12
+ 'pisell2.text.email': string;
13
+ 'pisell2.text.lastname': string;
14
+ 'pisell2.text.firstname': string;
15
+ 'pisell2.text.email-error-message': string;
16
+ 'pisell2.text.notes': string;
17
+ 'pisell2.text.save': string;
18
+ 'pisell2.text.save-and-select': string;
19
+ 'pisell2.text.no-results-found': string;
20
+ 'pisell2.text.create-new-client': string;
21
+ 'pisell2.text.result-found': string;
22
+ 'pisell2.text.personnel-list': string;
23
+ 'pisell2.text.load-more': string;
24
+ 'pisell2.text.add-client.confirm': string;
25
+ 'pisell2.text.search-customer-by-phone-number': string;
26
+ 'pisell2.text.create': string;
27
+ 'pisell2.text.loading': string;
28
+ 'pisell2.text.no-more-data': string;
29
+ 'pisell2.text.client-search.name': string;
30
+ 'pisell2.text.client-search.register-time': string;
31
+ 'pisell2.text.client-search.phone': string;
32
+ 'pisell2.text.client-search.email': string;
33
+ 'pisell2.text.client-search.membership': string;
34
+ 'pisell2.text.client-search.contact-info': string;
35
+ };
36
+ 'zh-CN': {
37
+ 'pisell2.text.leave-empty-for-walk-in': string;
38
+ 'pisell2.text.date-year-text': string;
39
+ 'pisell2.text.date-month-text': string;
40
+ 'pisell2.text.date-day-text': string;
41
+ 'pisell2.text.gender': string;
42
+ 'pisell2.text.gender.male': string;
43
+ 'pisell2.text.gender.female': string;
44
+ 'pisell2.text.birthday': string;
45
+ 'pisell2.text.phone': string;
46
+ 'pisell2.text.email': string;
47
+ 'pisell2.text.lastname': string;
48
+ 'pisell2.text.firstname': string;
49
+ 'pisell2.text.email-error-message': string;
50
+ 'pisell2.text.notes': string;
51
+ 'pisell2.text.save': string;
52
+ 'pisell2.text.save-and-select': string;
53
+ 'pisell2.text.no-results-found': string;
54
+ 'pisell2.text.create-new-client': string;
55
+ 'pisell2.text.result-found': string;
56
+ 'pisell2.text.personnel-list': string;
57
+ 'pisell2.text.add-client.confirm': string;
58
+ 'pisell2.text.load-more': string;
59
+ 'pisell2.text.search-customer-by-phone-number': string;
60
+ 'pisell2.text.create': string;
61
+ 'pisell2.text.loading': string;
62
+ 'pisell2.text.no-more-data': string;
63
+ 'pisell2.text.client-search.name': string;
64
+ 'pisell2.text.client-search.register-time': string;
65
+ 'pisell2.text.client-search.phone': string;
66
+ 'pisell2.text.client-search.email': string;
67
+ 'pisell2.text.client-search.membership': string;
68
+ 'pisell2.text.client-search.contact-info': string;
69
+ };
70
+ 'zh-HK': {
71
+ 'pisell2.text.leave-empty-for-walk-in': string;
72
+ 'pisell2.text.date-year-text': string;
73
+ 'pisell2.text.date-month-text': string;
74
+ 'pisell2.text.date-day-text': string;
75
+ 'pisell2.text.gender': string;
76
+ 'pisell2.text.gender.male': string;
77
+ 'pisell2.text.gender.female': string;
78
+ 'pisell2.text.birthday': string;
79
+ 'pisell2.text.phone': string;
80
+ 'pisell2.text.email': string;
81
+ 'pisell2.text.lastname': string;
82
+ 'pisell2.text.firstname': string;
83
+ 'pisell2.text.email-error-message': string;
84
+ 'pisell2.text.notes': string;
85
+ 'pisell2.text.save': string;
86
+ 'pisell2.text.save-and-select': string;
87
+ 'pisell2.text.no-results-found': string;
88
+ 'pisell2.text.create-new-client': string;
89
+ 'pisell2.text.result-found': string;
90
+ 'pisell2.text.personnel-list': string;
91
+ 'pisell2.text.add-client.confirm': string;
92
+ 'pisell2.text.load-more': string;
93
+ 'pisell2.text.search-customer-by-phone-number': string;
94
+ 'pisell2.text.create': string;
95
+ 'pisell2.text.loading': string;
96
+ 'pisell2.text.no-more-data': string;
97
+ 'pisell2.text.client-search.name': string;
98
+ 'pisell2.text.client-search.register-time': string;
99
+ 'pisell2.text.client-search.phone': string;
100
+ 'pisell2.text.client-search.email': string;
101
+ 'pisell2.text.client-search.membership': string;
102
+ 'pisell2.text.client-search.contact-info': string;
103
+ };
104
+ };
105
+ export default _default;
@@ -0,0 +1,61 @@
1
+ /// <reference types="react" />
2
+ export interface ClientData {
3
+ id: number;
4
+ display_name: string;
5
+ created_at: string;
6
+ phone: string;
7
+ email: string;
8
+ channel: string;
9
+ country_calling_code: string;
10
+ nickname: string;
11
+ shop_id: number;
12
+ updated_at: string;
13
+ contacts_info: {
14
+ value: {
15
+ first_name?: string;
16
+ last_name?: string;
17
+ phone?: {
18
+ phone?: string;
19
+ country_calling_code?: string;
20
+ country_code?: string;
21
+ };
22
+ email?: string;
23
+ };
24
+ };
25
+ }
26
+ export interface ClientSearchProps {
27
+ dataSource?: any;
28
+ isShowScanner?: boolean;
29
+ isShowCamera?: boolean;
30
+ isShowNFC?: boolean;
31
+ isShowNewButton?: boolean;
32
+ newButtonAlign?: 'left' | 'center' | 'right';
33
+ newButtonText?: string;
34
+ renderType?: 'modal' | 'drawer' | 'portal' | '';
35
+ containerProps?: Record<string, any>;
36
+ isShowSearch?: boolean;
37
+ isShowSearchCamera?: boolean;
38
+ searchIcon?: string;
39
+ placeholder?: string;
40
+ isShowSearchButton?: boolean;
41
+ resultSort?: 'asc' | 'desc' | 'custom';
42
+ sortBy?: string;
43
+ style?: React.CSSProperties;
44
+ onChange?: (value: string) => void;
45
+ onSearch?: (value: string) => void;
46
+ onAdd?: () => void;
47
+ onDataChange?: (data: any) => void;
48
+ onRowClick?: (record: ClientData, index: number) => void;
49
+ }
50
+ export interface ClientFormData {
51
+ display_name: string;
52
+ phone?: string;
53
+ email?: string;
54
+ nickname?: string;
55
+ }
56
+ export interface ClientSearchState {
57
+ modalVisible: boolean;
58
+ loading: boolean;
59
+ searchResults: ClientData[];
60
+ searchValue: string;
61
+ }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const SkuCardA1: (props: any) => JSX.Element;
3
4
  export default SkuCardA1;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const SkuCardA2: (props: any) => JSX.Element;
3
4
  export default SkuCardA2;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const SkuCardA5: (props: any) => JSX.Element;
3
4
  export default SkuCardA5;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const SkuCardA9: (props: any) => JSX.Element;
3
4
  export default SkuCardA9;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const SkuCardCustom: (props: any) => JSX.Element;
3
4
  export default SkuCardCustom;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProductCardConfig } from '../../type';
2
3
  import './index.less';
3
4
  declare const CardCom: ({ props, className }: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProductCardConfig } from '../../type';
2
3
  import './index.less';
3
4
  declare const Cover: ({ props }: {
@@ -3,5 +3,5 @@ import { ProductCardConfig } from '../../type';
3
3
  import './index.less';
4
4
  declare const MemberPrice: ({ props }: {
5
5
  props: ProductCardConfig;
6
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
6
+ }) => string | number | true | JSX.Element | React.ReactFragment | null;
7
7
  export default MemberPrice;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProductCardConfig } from '../../type';
2
3
  import './index.less';
3
4
  declare const Price: ({ props }: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const SkuCard: {
2
3
  (props: any): JSX.Element | null;
3
4
  A1: (props: any) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { RenderItemProps } from '../../../../pro/Selector/types';
2
3
  declare const NormalCard: (props: RenderItemProps & {
3
4
  parentDataSource: any;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { IProps } from './types';
3
+ import './index.less';
4
+ declare const SKUOptionsSelection: React.ForwardRefExoticComponent<IProps & React.RefAttributes<unknown>>;
5
+ export default SKUOptionsSelection;
@@ -0,0 +1,54 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * 媒体轮播项
4
+ * @description 媒体展示区的轮播内容配置
5
+ */
6
+ export interface CarouselItem {
7
+ /** 内容类型:图片或视频 */
8
+ type: 'image' | 'video' | 'logo';
9
+ /** 资源URL */
10
+ url: string;
11
+ /** 背景颜色 */
12
+ backgroundColor?: string;
13
+ /** logo样式 */
14
+ logoStyle?: React.CSSProperties;
15
+ }
16
+ /**
17
+ * 媒体配置
18
+ * @description 媒体展示区域的配置
19
+ */
20
+ export interface MediaConfig {
21
+ /** 轮播内容列表(图片/视频) */
22
+ carouselItems?: CarouselItem[];
23
+ /** 默认Logo(当无轮播时显示) */
24
+ logo?: string;
25
+ /** 品牌标语 */
26
+ slogan?: string;
27
+ }
28
+ /**
29
+ * 视频播放状态
30
+ */
31
+ export declare type VideoPlayState = 'idle' | 'playing' | 'paused' | 'ended' | 'error';
32
+ /**
33
+ * MediaDisplay 媒体展示组件 Props
34
+ */
35
+ export interface MediaDisplayProps {
36
+ /** 品牌配置 */
37
+ config?: MediaConfig;
38
+ /** 自定义类名 */
39
+ className?: string;
40
+ /** 是否全屏模式 */
41
+ fullscreen?: boolean;
42
+ /** 视频是否静音,默认 true */
43
+ muted?: boolean;
44
+ /** 视频是否循环播放,默认 false */
45
+ loop?: boolean;
46
+ /** 视频播放结束回调 */
47
+ onVideoEnded?: () => void;
48
+ /** 视频播放状态变化回调 */
49
+ onVideoStateChange?: (state: VideoPlayState) => void;
50
+ /** 是否可以关闭(用于控制视频结束后是否允许关闭) */
51
+ canClose?: boolean;
52
+ /** 关闭回调(视频结束且 canClose 为 true 时触发) */
53
+ onClose?: () => void;
54
+ }
@@ -0,0 +1,49 @@
1
+ /**
2
+ * WebPosLogin 组件国际化文本
3
+ * @description 支持 en、zh-CN、zh-HK 三种语言
4
+ */
5
+ declare const _default: {
6
+ en: {
7
+ 'webpos-login-search': string;
8
+ 'webpos-login-back': string;
9
+ 'webpos-login-last-used': string;
10
+ 'webpos-login-select-store-title': string;
11
+ 'webpos-login-select-store-empty': string;
12
+ 'webpos-login-change-account': string;
13
+ 'webpos-login-store-data-missing': string;
14
+ 'webpos-login-select-device-title': string;
15
+ 'webpos-login-select-device-empty': string;
16
+ 'webpos-login-change-store': string;
17
+ 'webpos-login-device-not-in-use': string;
18
+ 'webpos-login-device-currently-used-by': string;
19
+ };
20
+ 'zh-CN': {
21
+ 'webpos-login-search': string;
22
+ 'webpos-login-back': string;
23
+ 'webpos-login-last-used': string;
24
+ 'webpos-login-select-store-title': string;
25
+ 'webpos-login-select-store-empty': string;
26
+ 'webpos-login-change-account': string;
27
+ 'webpos-login-store-data-missing': string;
28
+ 'webpos-login-select-device-title': string;
29
+ 'webpos-login-select-device-empty': string;
30
+ 'webpos-login-change-store': string;
31
+ 'webpos-login-device-not-in-use': string;
32
+ 'webpos-login-device-currently-used-by': string;
33
+ };
34
+ 'zh-HK': {
35
+ 'webpos-login-search': string;
36
+ 'webpos-login-back': string;
37
+ 'webpos-login-last-used': string;
38
+ 'webpos-login-select-store-title': string;
39
+ 'webpos-login-select-store-empty': string;
40
+ 'webpos-login-change-account': string;
41
+ 'webpos-login-store-data-missing': string;
42
+ 'webpos-login-select-device-title': string;
43
+ 'webpos-login-select-device-empty': string;
44
+ 'webpos-login-change-store': string;
45
+ 'webpos-login-device-not-in-use': string;
46
+ 'webpos-login-device-currently-used-by': string;
47
+ };
48
+ };
49
+ export default _default;