@pisell/private-materials 6.8.28 → 6.8.30

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 (291) 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/components/footer/utils.js +2 -2
  17. package/es/components/booking/deposit/index.d.ts +1 -0
  18. package/es/components/booking/editBookingModal/utils.d.ts +12 -0
  19. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  20. package/es/components/booking/forms/single/index.d.ts +1 -0
  21. package/es/components/booking/info/client/index.d.ts +4 -0
  22. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  23. package/es/components/booking/info/hooks/useInfoHolder.js +0 -1
  24. package/es/components/booking/info/notes/index.d.ts +1 -0
  25. package/es/components/booking/info/service/Lists.d.ts +1 -0
  26. package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  27. package/es/components/booking/info/service/addTimeModal/utils.d.ts +31 -0
  28. package/es/components/booking/info/service/serve.d.ts +34 -0
  29. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  30. package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
  31. package/es/components/booking/info/service2/Group/utils.d.ts +14 -0
  32. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  33. package/es/components/booking/info/service2/utils.d.ts +219 -0
  34. package/es/components/booking/info2/cartClientCard/types.d.ts +18 -0
  35. package/es/components/booking/info2/cartClientCard/utils.d.ts +3 -0
  36. package/es/components/booking/info2/service/addService/utils.d.ts +106 -0
  37. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  38. package/es/components/booking/info2/service/editNormalService/index.js +4 -4
  39. package/es/components/booking/info2/service/editService/index.js +3 -3
  40. package/es/components/booking/info2/service/editService/utils.js +6 -1
  41. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  42. package/es/components/booking/info2/utilsByBooking.d.ts +36 -0
  43. package/es/components/booking/locales.d.ts +951 -0
  44. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  45. package/es/components/booking/notes/addNote/index.d.ts +1 -0
  46. package/es/components/booking/utils/confirmHolderModal.js +3 -4
  47. package/es/components/booking/utils.d.ts +182 -0
  48. package/es/components/booking/utils.js +7 -1
  49. package/es/components/checkout/components/PaymentDetailModal/index.d.ts +38 -0
  50. package/es/components/checkout/components/WalletPassModule/types.d.ts +134 -0
  51. package/es/components/checkout/types.d.ts +130 -0
  52. package/es/components/checkout/utils.d.ts +3 -0
  53. package/es/components/eftposPay/app.d.ts +10 -0
  54. package/es/components/eftposPay/component/fail/failCustom.d.ts +3 -0
  55. package/es/components/eftposPay/component/fail/index.d.ts +3 -0
  56. package/es/components/eftposPay/component/fail/unknow.d.ts +9 -0
  57. package/es/components/eftposPay/const.d.ts +190 -0
  58. package/es/components/eftposPay/device.d.ts +25 -0
  59. package/es/components/eftposPay/hooks.d.ts +35 -0
  60. package/es/components/eftposPay/index.d.ts +4 -0
  61. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  62. package/es/components/eftposPay/locales.d.ts +330 -0
  63. package/es/components/eftposPay/manufacturer.d.ts +7 -0
  64. package/es/components/eftposPay/pay.d.ts +20 -0
  65. package/es/components/eftposPay/payo/config.d.ts +12 -0
  66. package/es/components/eftposPay/payo/payment.d.ts +66 -0
  67. package/es/components/eftposPay/tyro/index.d.ts +9 -0
  68. package/es/components/eftposPay/windcave/helper.d.ts +23 -0
  69. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  70. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  71. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  72. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  73. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  74. package/es/components/list/hooks/index.d.ts +5 -0
  75. package/es/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  76. package/es/components/pay/toB/components/Content/utils.d.ts +16 -0
  77. package/es/components/pay/toB/components/MX51/index.d.ts +3 -0
  78. package/es/components/pay/toB/locales.d.ts +54 -0
  79. package/es/components/pay/toB/store/context.d.ts +3 -0
  80. package/es/components/pay/toB/store/hooks.d.ts +15 -0
  81. package/es/components/pay/toB/store/index.d.ts +3 -0
  82. package/es/components/pay/toB/store/provider.d.ts +4 -0
  83. package/es/components/pay/toB/store/utils.d.ts +13 -0
  84. package/es/components/pay/toB/types/index.d.ts +72 -0
  85. package/es/components/pay/toB/types/storeTypes.d.ts +143 -0
  86. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  87. package/es/components/pay/toC/model.d.ts +32 -0
  88. package/es/components/pay/toC/utils.d.ts +57 -0
  89. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  90. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  91. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  92. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  93. package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
  94. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  95. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  96. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  97. package/es/components/productExtension/index.d.ts +1 -0
  98. package/es/components/productSelect/components/productGroup/index.d.ts +1 -0
  99. package/es/components/ruleSetting/locales.d.ts +48 -0
  100. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  101. package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
  102. package/es/components/shoppingCart/index.d.ts +1 -0
  103. package/es/components/systemSettings/registry/components/SectionList.d.ts +4 -0
  104. package/es/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +7 -0
  105. package/es/components/ticketBooking/components/addServiceVariant/addService.js +7 -2
  106. package/es/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +6 -0
  107. package/es/components/ticketBooking/hooks/pisellos/index.d.ts +4 -0
  108. package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
  109. package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
  110. package/es/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +6 -0
  111. package/es/components/ticketBooking/utils/index.d.ts +101 -0
  112. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  113. package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
  114. package/es/hooks/useWindowSize.d.ts +5 -0
  115. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  116. package/es/plus/clinetSearch/locales.d.ts +105 -0
  117. package/es/plus/clinetSearch/types.d.ts +61 -0
  118. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +1 -0
  119. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +1 -0
  120. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +1 -0
  121. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +1 -0
  122. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +1 -0
  123. package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +1 -0
  124. package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
  125. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  126. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +1 -0
  127. package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +1 -0
  128. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
  129. package/es/plus/skuOptionsSelection/index.d.ts +5 -0
  130. package/es/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
  131. package/es/plus/webPosLogin/locales.d.ts +49 -0
  132. package/es/plus/webPosLogin/types.d.ts +286 -0
  133. package/es/pro/Login2.0/components/LegalTerms.d.ts +8 -0
  134. package/es/pro/Login2.0/components/PhoneInput.d.ts +53 -0
  135. package/es/pro/Login2.0/hooks/index.d.ts +2 -0
  136. package/es/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
  137. package/es/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
  138. package/es/pro/Login2.0/shared/Header.d.ts +11 -0
  139. package/es/pro/Login2.0/shared/types.d.ts +232 -0
  140. package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
  141. package/es/pro/pisellNumberSelector/example.d.ts +3 -0
  142. package/es/pro/pisellPaymentList/example.d.ts +19 -0
  143. package/es/pro/pisellPriceKeyboardPopover/PisellPriceKeyboardPopover.d.ts +5 -0
  144. package/es/pro/pisellPriceKeyboardPopover/index.d.ts +2 -0
  145. package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
  146. package/es/pro/skuDetailModal/index.js +17 -2
  147. package/es/pro/skuDetailModal/index.less +1 -1
  148. package/es/test/setup.d.ts +1 -0
  149. package/lib/businessModel/SalesModel/index.d.ts +1 -0
  150. package/lib/components/appointmentBooking/locales.d.ts +363 -0
  151. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +0 -1
  152. package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
  153. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  154. package/lib/components/booking/components/footer/amount.d.ts +37 -0
  155. package/lib/components/booking/components/footer/index.js +9 -12
  156. package/lib/components/booking/components/footer/utils.js +2 -2
  157. package/lib/components/booking/deposit/index.d.ts +1 -0
  158. package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
  159. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  160. package/lib/components/booking/forms/single/index.d.ts +1 -0
  161. package/lib/components/booking/info/client/index.d.ts +4 -0
  162. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  163. package/lib/components/booking/info/hooks/useInfoHolder.js +0 -1
  164. package/lib/components/booking/info/notes/index.d.ts +1 -0
  165. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  166. package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  167. package/lib/components/booking/info/service/addTimeModal/utils.d.ts +31 -0
  168. package/lib/components/booking/info/service/serve.d.ts +34 -0
  169. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  170. package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
  171. package/lib/components/booking/info/service2/Group/utils.d.ts +14 -0
  172. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  173. package/lib/components/booking/info/service2/utils.d.ts +219 -0
  174. package/lib/components/booking/info2/cartClientCard/types.d.ts +18 -0
  175. package/lib/components/booking/info2/cartClientCard/utils.d.ts +3 -0
  176. package/lib/components/booking/info2/service/addService/utils.d.ts +106 -0
  177. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  178. package/lib/components/booking/info2/service/editNormalService/index.js +4 -4
  179. package/lib/components/booking/info2/service/editService/index.js +4 -4
  180. package/lib/components/booking/info2/service/editService/utils.js +4 -1
  181. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  182. package/lib/components/booking/info2/utilsByBooking.d.ts +36 -0
  183. package/lib/components/booking/locales.d.ts +951 -0
  184. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  185. package/lib/components/booking/notes/addNote/index.d.ts +1 -0
  186. package/lib/components/booking/utils/confirmHolderModal.js +0 -1
  187. package/lib/components/booking/utils.d.ts +182 -0
  188. package/lib/components/booking/utils.js +5 -1
  189. package/lib/components/checkout/components/PaymentDetailModal/index.d.ts +38 -0
  190. package/lib/components/checkout/components/WalletPassModule/types.d.ts +134 -0
  191. package/lib/components/checkout/types.d.ts +130 -0
  192. package/lib/components/checkout/utils.d.ts +3 -0
  193. package/lib/components/eftposPay/app.d.ts +10 -0
  194. package/lib/components/eftposPay/component/fail/failCustom.d.ts +3 -0
  195. package/lib/components/eftposPay/component/fail/index.d.ts +3 -0
  196. package/lib/components/eftposPay/component/fail/unknow.d.ts +9 -0
  197. package/lib/components/eftposPay/const.d.ts +190 -0
  198. package/lib/components/eftposPay/device.d.ts +25 -0
  199. package/lib/components/eftposPay/hooks.d.ts +35 -0
  200. package/lib/components/eftposPay/index.d.ts +4 -0
  201. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  202. package/lib/components/eftposPay/locales.d.ts +330 -0
  203. package/lib/components/eftposPay/manufacturer.d.ts +7 -0
  204. package/lib/components/eftposPay/pay.d.ts +20 -0
  205. package/lib/components/eftposPay/payo/config.d.ts +12 -0
  206. package/lib/components/eftposPay/payo/payment.d.ts +66 -0
  207. package/lib/components/eftposPay/tyro/index.d.ts +9 -0
  208. package/lib/components/eftposPay/windcave/helper.d.ts +23 -0
  209. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  210. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  211. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  212. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  213. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  214. package/lib/components/list/hooks/index.d.ts +5 -0
  215. package/lib/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  216. package/lib/components/pay/toB/components/Content/utils.d.ts +16 -0
  217. package/lib/components/pay/toB/components/MX51/index.d.ts +3 -0
  218. package/lib/components/pay/toB/locales.d.ts +54 -0
  219. package/lib/components/pay/toB/store/context.d.ts +3 -0
  220. package/lib/components/pay/toB/store/hooks.d.ts +15 -0
  221. package/lib/components/pay/toB/store/index.d.ts +3 -0
  222. package/lib/components/pay/toB/store/provider.d.ts +4 -0
  223. package/lib/components/pay/toB/store/utils.d.ts +13 -0
  224. package/lib/components/pay/toB/types/index.d.ts +72 -0
  225. package/lib/components/pay/toB/types/storeTypes.d.ts +143 -0
  226. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  227. package/lib/components/pay/toC/model.d.ts +32 -0
  228. package/lib/components/pay/toC/utils.d.ts +57 -0
  229. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  230. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  231. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  232. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  233. package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
  234. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  235. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  236. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  237. package/lib/components/productExtension/index.d.ts +1 -0
  238. package/lib/components/productSelect/components/productGroup/index.d.ts +1 -0
  239. package/lib/components/ruleSetting/locales.d.ts +48 -0
  240. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  241. package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
  242. package/lib/components/shoppingCart/index.d.ts +1 -0
  243. package/lib/components/systemSettings/registry/components/SectionList.d.ts +4 -0
  244. package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +7 -0
  245. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +7 -3
  246. package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +6 -0
  247. package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +4 -0
  248. package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
  249. package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
  250. package/lib/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +6 -0
  251. package/lib/components/ticketBooking/utils/index.d.ts +101 -0
  252. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  253. package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
  254. package/lib/hooks/useWindowSize.d.ts +5 -0
  255. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  256. package/lib/plus/clinetSearch/locales.d.ts +105 -0
  257. package/lib/plus/clinetSearch/types.d.ts +61 -0
  258. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +1 -0
  259. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +1 -0
  260. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +1 -0
  261. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +1 -0
  262. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +1 -0
  263. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +1 -0
  264. package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
  265. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  266. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +1 -0
  267. package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +1 -0
  268. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
  269. package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
  270. package/lib/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
  271. package/lib/plus/webPosLogin/locales.d.ts +49 -0
  272. package/lib/plus/webPosLogin/types.d.ts +286 -0
  273. package/lib/pro/Login2.0/components/LegalTerms.d.ts +8 -0
  274. package/lib/pro/Login2.0/components/PhoneInput.d.ts +53 -0
  275. package/lib/pro/Login2.0/hooks/index.d.ts +2 -0
  276. package/lib/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
  277. package/lib/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
  278. package/lib/pro/Login2.0/shared/Header.d.ts +11 -0
  279. package/lib/pro/Login2.0/shared/types.d.ts +232 -0
  280. package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
  281. package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
  282. package/lib/pro/pisellPaymentList/example.d.ts +19 -0
  283. package/lib/pro/pisellPriceKeyboardPopover/PisellPriceKeyboardPopover.d.ts +5 -0
  284. package/lib/pro/pisellPriceKeyboardPopover/index.d.ts +2 -0
  285. package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
  286. package/lib/pro/skuDetailModal/index.js +13 -2
  287. package/lib/pro/skuDetailModal/index.less +1 -1
  288. package/lib/test/setup.d.ts +1 -0
  289. package/package.json +3 -3
  290. package/es/components/checkout/plugin.d.ts +0 -2
  291. package/lib/components/checkout/plugin.d.ts +0 -2
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CashKeyboardBaseProps } from './types';
2
3
  export interface CashKeyboardProps extends CashKeyboardBaseProps {
3
4
  containerProps?: {
@@ -472,7 +472,7 @@ var SkuDetailModal = function SkuDetailModal(_ref, ref) {
472
472
  skuValue: latestSkuValue
473
473
  })
474
474
  }, priceOverride !== null && typeof priceOverride !== 'undefined' ? {
475
- total: priceOverride
475
+ priceOverride: priceOverride
476
476
  } : {})
477
477
  });
478
478
  /**
@@ -640,7 +640,15 @@ var SkuDetailModal = function SkuDetailModal(_ref, ref) {
640
640
  className: "price-item-danger"
641
641
  }, "\xA0(", discountsCount, ")")), /*#__PURE__*/React.createElement("div", {
642
642
  className: "price-item-danger"
643
- }, discountsCount > 0 ? '-' : '', symbol, totalDiscounts)), /*#__PURE__*/React.createElement("div", {
643
+ }, discountsCount > 0 ? '-' : '', symbol, totalDiscounts)), priceOverride !== null && typeof priceOverride !== 'undefined' && /*#__PURE__*/React.createElement("div", {
644
+ className: "price-item"
645
+ }, /*#__PURE__*/React.createElement("div", {
646
+ onClick: handleManualPriceChange
647
+ }, locales.getText('pisell2.text.sku.detail.modal.manual.price.change'), /*#__PURE__*/React.createElement("span", {
648
+ className: "price-item-override"
649
+ }, priceOverrideText)), /*#__PURE__*/React.createElement("div", {
650
+ className: "price-item-danger"
651
+ }, priceChangeText)), /*#__PURE__*/React.createElement("div", {
644
652
  className: "price-item-total"
645
653
  }, /*#__PURE__*/React.createElement("div", null, locales.getText('pisell2.text.sku.detail.modal.total'), /*#__PURE__*/React.createElement("span", {
646
654
  className: "price-item-total-gst"
@@ -795,6 +803,13 @@ var SkuDetailModal = function SkuDetailModal(_ref, ref) {
795
803
  className: "sku-detail-content-footer-remove-btn",
796
804
  onClick: handleRemove
797
805
  }, locales.getText('pisell2.text.sku.detail.modal.btn.remove')), /*#__PURE__*/React.createElement(Button, {
806
+ type: "default",
807
+ size: "large",
808
+ onClick: handleManualPriceChange,
809
+ className: "sku-detail-content-footer-price-btn"
810
+ }, /*#__PURE__*/React.createElement("span", {
811
+ className: "sku-detail-content-footer-price-btn-text"
812
+ }, locales.getText('pisell2.text.sku.detail.modal.btn.manual.price.change'))), /*#__PURE__*/React.createElement(Button, {
798
813
  type: "primary",
799
814
  size: "large",
800
815
  onClick: handleConfirm,
@@ -8,7 +8,7 @@
8
8
  // PisellModal(PC)内容容器:固定高度,内部 body 使用 flex 占满剩余空间
9
9
  .pisell-lowcode-modal-content {
10
10
  height: 684px;
11
- max-height: 684px;
11
+ max-height: 684px!important;
12
12
  }
13
13
 
14
14
  // SkuDetailModal 内部使用自定义滚动容器(右侧内容区),避免整块 modal body 滚动
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom/vitest';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const SalesModel: ({ children, hooks, config }: any) => JSX.Element;
2
3
  export * from './Sales';
3
4
  export default SalesModel;
@@ -0,0 +1,363 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.event.calendar.limit.unavailable': string;
4
+ 'pisell2.event.calendar.limit.sold.out': string;
5
+ 'pisell2.event.calendar.limit.call.to.book': string;
6
+ 'pisell2.event.calendar.limit.filling.up.fast': string;
7
+ 'pisell2.event.calendar.limit.lots.of.space': string;
8
+ 'pisell2.event.calendar.booking-closed': string;
9
+ 'pisell2.event.calendar.call-to-book': string;
10
+ 'pisell2.event.calendar.email-to-book': string;
11
+ 'pisell2.event.close.title': string;
12
+ 'pisell2.event.close.tip': string;
13
+ 'pisell2.event.close.continue': string;
14
+ 'pisell2.event.close.exit': string;
15
+ 'pisell2.appointment.step': (step: number) => string;
16
+ 'pisell2.event.select.category': (val: string) => string;
17
+ 'pisell2.event.select.campus': (val: string) => string;
18
+ 'pisell2.event.select.event': string;
19
+ 'pisell2.event.cart': string;
20
+ 'pisell2.event.total': string;
21
+ 'pisell2.event.total.gst': (val: string, amount: any) => string;
22
+ 'pisell2.event.continue': string;
23
+ 'pisell2.event.details': string;
24
+ 'pisell2.event.introduction': string;
25
+ 'pisell2.event.schedule': string;
26
+ 'pisell2.event.teacher': string;
27
+ 'pisell2.event.campus': string;
28
+ 'pisell2.event.resource': string;
29
+ 'pisell2.event.booking.options': string;
30
+ 'pisell2.event.add.to.cart': string;
31
+ 'pisell2.event.description': string;
32
+ 'pisell2.event.view.more': string;
33
+ 'pisell2.event.view.less': string;
34
+ 'pisell2.event.holder.modal.title': string;
35
+ 'pisell2.event.confirm': string;
36
+ 'pisell2.event.confirm.information': string;
37
+ 'pisell2.event.confirm.information.tip': string;
38
+ 'pisell2.event.confirm.information.other': string;
39
+ 'pisell2.event.add.others': string;
40
+ 'pisell2.event.checkout': string;
41
+ 'pisell2.event.edit.event': string;
42
+ 'pisell2.event.remove': string;
43
+ 'pisell2.event.option': string;
44
+ 'pisell2.event.order.items.error.title': string;
45
+ 'pisell2.event.order.items.error.tip': (val: number) => string;
46
+ 'pisell2.event.order.items.error.proceed': string;
47
+ 'pisell2.event.order.items.error.return': string;
48
+ 'pisell2.event.order.items.error.back': string;
49
+ 'pisell2.event.order.items.error.continue': string;
50
+ 'pisell2.event.order.items.error.all.tip': string;
51
+ 'pisell2.event.remove.title': string;
52
+ 'pisell2.event.remove.tip': string;
53
+ 'pisell2.event.remove.cancel': string;
54
+ 'pisell2.event.create': string;
55
+ 'pisell2.event.search': string;
56
+ 'pisell2.event.empty.service': string;
57
+ 'pisell2.event.title': (val: number) => string;
58
+ 'pisell2.event.create.form': string;
59
+ 'pisell2.event.empty.event': string;
60
+ 'pisell2.event.error.holder': string;
61
+ 'pisell2.event.price.from': string;
62
+ 'pisell2.event.empty.holder.title': string;
63
+ 'pisell2.event.empty.holder.tip': string;
64
+ 'pisell2.event.empty.holder.continue.tip': string;
65
+ 'pisell2.event.empty.holder.go.back': string;
66
+ 'pisell2.event.empty.holder.continue.anyway': string;
67
+ 'pisell2.event.event.full.title': string;
68
+ 'pisell2.event.event.full.tip': string;
69
+ 'pisell2.event.event.full.ok': string;
70
+ 'pisell2.event.capacity.limit.reached.title': string;
71
+ 'pisell2.event.capacity.limit.reached.tip': string;
72
+ 'pisell2.appointment.booking.empty.service': string;
73
+ 'pisell2.appointment.booking.empty.data': string;
74
+ 'pisell2.appointment.booking.empty.time': string;
75
+ 'pisell2.appointment.service.title': (val: number) => string;
76
+ 'pisell2.appointment.add.guest': string;
77
+ 'pisell2.appointment.edit.service': string;
78
+ 'pisell2.appointment.remove.guest': string;
79
+ 'pisell2.appointment.no.available.service': string;
80
+ 'pisell2.appointment.max.guest': string;
81
+ 'pisell2.appointment.no.available.time': string;
82
+ 'pisell2.appointment.monday': string;
83
+ 'pisell2.appointment.tuesday': string;
84
+ 'pisell2.appointment.wednesday': string;
85
+ 'pisell2.appointment.thursday': string;
86
+ 'pisell2.appointment.friday': string;
87
+ 'pisell2.appointment.saturday': string;
88
+ 'pisell2.appointment.sunday': string;
89
+ 'pisell2.appointment.any.professional': string;
90
+ 'pisell2.appointment.for.maximum.availability': string;
91
+ 'pisell2.appointment.deposit': string;
92
+ 'pisell2.appointment.deposit.agreed': string;
93
+ 'pisell2.appointment.deposit.agree.policy': string;
94
+ 'pisell2.appointment.deposit.and': string;
95
+ 'pisell2.appointment.deposit.amount.tip1': string;
96
+ 'pisell2.appointment.deposit.amount.tip2': string;
97
+ 'pisell2.appointment.deposit.close': string;
98
+ 'pisell2.appointment.tips': string;
99
+ 'pisell2.appointment.tips.content': string;
100
+ 'pisell2.appointment.fill-form': string;
101
+ 'pisell2.appointment.select.holder': (val: string) => string;
102
+ 'pisell2.appointment.select.time': string;
103
+ 'pisell2.appointment.unselect.time': string;
104
+ 'pisell2.appointment.unselect.date': string;
105
+ 'pisell2.appointment.unuse.date': string;
106
+ 'pisell2.appointment.add-guests': string;
107
+ 'pisell2.appointment.policy': string;
108
+ 'pisell2.appointment.policy.confirm': string;
109
+ 'pisell2.appointment.resource.tip': (val: string) => string;
110
+ 'pisell2.text.apply': string;
111
+ 'pisell2.text.goodpass': string;
112
+ 'pisell2.text.goodpass.product-vouchers': string;
113
+ 'pisell2.text.goodpass.view-more': string;
114
+ 'pisell2.text.goodpass.code': string;
115
+ 'pisell2.text.goodpass.enter-code': string;
116
+ 'pisell2.text.goodpass.code-invalid': string;
117
+ 'pisell2.text.goodpass.code-invalid-cart': string;
118
+ 'pisell2.text.goodpass.login': string;
119
+ 'pisell2.text.goodpass.login-tip': string;
120
+ 'pisell2.text.contact-info.title': string;
121
+ };
122
+ 'zh-CN': {
123
+ 'pisell2.event.calendar.limit.unavailable': string;
124
+ 'pisell2.event.calendar.limit.sold.out': string;
125
+ 'pisell2.event.calendar.limit.call.to.book': string;
126
+ 'pisell2.event.calendar.limit.filling.up.fast': string;
127
+ 'pisell2.event.calendar.limit.lots.of.space': string;
128
+ 'pisell2.event.calendar.booking-closed': string;
129
+ 'pisell2.event.calendar.call-to-book': string;
130
+ 'pisell2.event.calendar.email-to-book': string;
131
+ 'pisell2.event.close.title': string;
132
+ 'pisell2.event.close.tip': string;
133
+ 'pisell2.event.close.continue': string;
134
+ 'pisell2.event.close.exit': string;
135
+ 'pisell2.appointment.step': (step: number) => string;
136
+ 'pisell2.event.select.category': (val: string) => string;
137
+ 'pisell2.event.select.event': string;
138
+ 'pisell2.event.select.campus': (val: string) => string;
139
+ 'pisell2.event.cart': string;
140
+ 'pisell2.event.total': string;
141
+ 'pisell2.event.total.gst': (val: string, amount: any) => string;
142
+ 'pisell2.event.continue': string;
143
+ 'pisell2.event.details': string;
144
+ 'pisell2.event.introduction': string;
145
+ 'pisell2.event.schedule': string;
146
+ 'pisell2.event.teacher': string;
147
+ 'pisell2.event.campus': string;
148
+ 'pisell2.event.resource': string;
149
+ 'pisell2.event.booking.options': string;
150
+ 'pisell2.event.add.to.cart': string;
151
+ 'pisell2.event.description': string;
152
+ 'pisell2.event.view.more': string;
153
+ 'pisell2.event.view.less': string;
154
+ 'pisell2.event.holder.modal.title': string;
155
+ 'pisell2.event.confirm': string;
156
+ 'pisell2.event.confirm.information': string;
157
+ 'pisell2.event.confirm.information.tip': string;
158
+ 'pisell2.event.confirm.information.other': string;
159
+ 'pisell2.event.add.others': string;
160
+ 'pisell2.event.checkout': string;
161
+ 'pisell2.event.edit.event': string;
162
+ 'pisell2.event.remove': string;
163
+ 'pisell2.event.option': string;
164
+ 'pisell2.event.order.items.error.title': string;
165
+ 'pisell2.event.order.items.error.tip': (val: number) => string;
166
+ 'pisell2.event.order.items.error.proceed': string;
167
+ 'pisell2.event.order.items.error.return': string;
168
+ 'pisell2.event.order.items.error.back': string;
169
+ 'pisell2.event.order.items.error.continue': string;
170
+ 'pisell2.event.order.items.error.all.tip': string;
171
+ 'pisell2.event.remove.title': string;
172
+ 'pisell2.event.remove.tip': string;
173
+ 'pisell2.event.remove.cancel': string;
174
+ 'pisell2.event.create': string;
175
+ 'pisell2.event.search': string;
176
+ 'pisell2.event.empty.service': string;
177
+ 'pisell2.event.title': (val: number) => string;
178
+ 'pisell2.event.create.form': string;
179
+ 'pisell2.event.empty.event': string;
180
+ 'pisell2.event.error.holder': string;
181
+ 'pisell2.event.price.from': string;
182
+ 'pisell2.event.empty.holder.title': string;
183
+ 'pisell2.event.empty.holder.tip': string;
184
+ 'pisell2.event.empty.holder.continue.tip': string;
185
+ 'pisell2.event.empty.holder.go.back': string;
186
+ 'pisell2.event.empty.holder.continue.anyway': string;
187
+ 'pisell2.event.event.full.title': string;
188
+ 'pisell2.event.event.full.tip': string;
189
+ 'pisell2.event.event.full.ok': string;
190
+ 'pisell2.event.capacity.limit.reached.title': string;
191
+ 'pisell2.event.capacity.limit.reached.tip': string;
192
+ 'pisell2.appointment.booking.empty.service': string;
193
+ 'pisell2.appointment.booking.empty.data': string;
194
+ 'pisell2.appointment.booking.empty.time': string;
195
+ 'pisell2.appointment.service.title': (val: number) => string;
196
+ 'pisell2.appointment.add.guest': string;
197
+ 'pisell2.appointment.edit.service': string;
198
+ 'pisell2.appointment.remove.guest': string;
199
+ 'pisell2.appointment.no.available.service': string;
200
+ 'pisell2.appointment.max.guest': string;
201
+ 'pisell2.appointment.no.available.time': string;
202
+ 'pisell2.appointment.monday': string;
203
+ 'pisell2.appointment.tuesday': string;
204
+ 'pisell2.appointment.wednesday': string;
205
+ 'pisell2.appointment.thursday': string;
206
+ 'pisell2.appointment.friday': string;
207
+ 'pisell2.appointment.saturday': string;
208
+ 'pisell2.appointment.sunday': string;
209
+ 'pisell2.appointment.any.professional': string;
210
+ 'pisell2.appointment.for.maximum.availability': string;
211
+ 'pisell2.appointment.deposit': string;
212
+ 'pisell2.appointment.deposit.agreed': string;
213
+ 'pisell2.appointment.deposit.agree.policy': string;
214
+ 'pisell2.appointment.deposit.and': string;
215
+ 'pisell2.appointment.deposit.amount.tip1': string;
216
+ 'pisell2.appointment.deposit.amount.tip2': string;
217
+ 'pisell2.appointment.deposit.close': string;
218
+ 'pisell2.appointment.tips': string;
219
+ 'pisell2.appointment.tips.content': string;
220
+ 'pisell2.appointment.fill-form': string;
221
+ 'pisell2.appointment.select.holder': (val: string) => string;
222
+ 'pisell2.appointment.select.time': string;
223
+ 'pisell2.appointment.unselect.time': string;
224
+ 'pisell2.appointment.unselect.date': string;
225
+ 'pisell2.appointment.unuse.date': string;
226
+ 'pisell2.appointment.add-guests': string;
227
+ 'pisell2.appointment.policy': string;
228
+ 'pisell2.appointment.policy.confirm': string;
229
+ 'pisell2.appointment.resource.tip': (val: string) => string;
230
+ 'pisell2.text.apply': string;
231
+ 'pisell2.text.goodpass': string;
232
+ 'pisell2.text.goodpass.product-vouchers': string;
233
+ 'pisell2.text.goodpass.view-more': string;
234
+ 'pisell2.text.goodpass.code': string;
235
+ 'pisell2.text.goodpass.enter-code': string;
236
+ 'pisell2.text.goodpass.code-invalid': string;
237
+ 'pisell2.text.goodpass.code-invalid-cart': string;
238
+ 'pisell2.text.goodpass.login': string;
239
+ 'pisell2.text.goodpass.login-tip': string;
240
+ 'pisell2.text.contact-info.title': string;
241
+ };
242
+ 'zh-HK': {
243
+ 'pisell2.event.calendar.limit.unavailable': string;
244
+ 'pisell2.event.calendar.limit.sold.out': string;
245
+ 'pisell2.event.calendar.limit.call.to.book': string;
246
+ 'pisell2.event.calendar.limit.filling.up.fast': string;
247
+ 'pisell2.event.calendar.limit.lots.of.space': string;
248
+ 'pisell2.event.calendar.booking-closed': string;
249
+ 'pisell2.event.calendar.call-to-book': string;
250
+ 'pisell2.event.calendar.email-to-book': string;
251
+ 'pisell2.event.close.title': string;
252
+ 'pisell2.event.close.tip': string;
253
+ 'pisell2.event.close.continue': string;
254
+ 'pisell2.event.close.exit': string;
255
+ 'pisell2.appointment.step': (step: number) => string;
256
+ 'pisell2.event.select.category': (val: string) => string;
257
+ 'pisell2.event.select.event': string;
258
+ 'pisell2.event.select.campus': (val: string) => string;
259
+ 'pisell2.event.cart': string;
260
+ 'pisell2.event.total': string;
261
+ 'pisell2.event.total.gst': (val: string, amount: any) => string;
262
+ 'pisell2.event.continue': string;
263
+ 'pisell2.event.details': string;
264
+ 'pisell2.event.introduction': string;
265
+ 'pisell2.event.schedule': string;
266
+ 'pisell2.event.teacher': string;
267
+ 'pisell2.event.campus': string;
268
+ 'pisell2.event.resource': string;
269
+ 'pisell2.event.booking.options': string;
270
+ 'pisell2.event.add.to.cart': string;
271
+ 'pisell2.event.description': string;
272
+ 'pisell2.event.view.more': string;
273
+ 'pisell2.event.view.less': string;
274
+ 'pisell2.event.holder.modal.title': string;
275
+ 'pisell2.event.confirm': string;
276
+ 'pisell2.event.confirm.information': string;
277
+ 'pisell2.event.confirm.information.tip': string;
278
+ 'pisell2.event.confirm.information.other': string;
279
+ 'pisell2.event.add.others': string;
280
+ 'pisell2.event.checkout': string;
281
+ 'pisell2.event.edit.event': string;
282
+ 'pisell2.event.remove': string;
283
+ 'pisell2.event.option': string;
284
+ 'pisell2.event.order.items.error.title': string;
285
+ 'pisell2.event.order.items.error.tip': (val: number) => string;
286
+ 'pisell2.event.order.items.error.proceed': string;
287
+ 'pisell2.event.order.items.error.return': string;
288
+ 'pisell2.event.order.items.error.back': string;
289
+ 'pisell2.event.order.items.error.continue': string;
290
+ 'pisell2.event.order.items.error.all.tip': string;
291
+ 'pisell2.event.remove.title': string;
292
+ 'pisell2.event.remove.tip': string;
293
+ 'pisell2.event.remove.cancel': string;
294
+ 'pisell2.event.create': string;
295
+ 'pisell2.event.search': string;
296
+ 'pisell2.event.empty.service': string;
297
+ 'pisell2.event.title': (val: number) => string;
298
+ 'pisell2.event.create.form': string;
299
+ 'pisell2.event.empty.event': string;
300
+ 'pisell2.event.error.holder': string;
301
+ 'pisell2.event.price.from': string;
302
+ 'pisell2.event.empty.holder.title': string;
303
+ 'pisell2.event.empty.holder.tip': string;
304
+ 'pisell2.event.empty.holder.continue.tip': string;
305
+ 'pisell2.event.empty.holder.go.back': string;
306
+ 'pisell2.event.empty.holder.continue.anyway': string;
307
+ 'pisell2.event.event.full.title': string;
308
+ 'pisell2.event.event.full.tip': string;
309
+ 'pisell2.event.event.full.ok': string;
310
+ 'pisell2.event.capacity.limit.reached.title': string;
311
+ 'pisell2.event.capacity.limit.reached.tip': string;
312
+ 'pisell2.appointment.booking.empty.service': string;
313
+ 'pisell2.appointment.booking.empty.data': string;
314
+ 'pisell2.appointment.booking.empty.time': string;
315
+ 'pisell2.appointment.service.title': (val: number) => string;
316
+ 'pisell2.appointment.add.guest': string;
317
+ 'pisell2.appointment.edit.service': string;
318
+ 'pisell2.appointment.remove.guest': string;
319
+ 'pisell2.appointment.no.available.service': string;
320
+ 'pisell2.appointment.max.guest': string;
321
+ 'pisell2.appointment.no.available.time': string;
322
+ 'pisell2.appointment.monday': string;
323
+ 'pisell2.appointment.tuesday': string;
324
+ 'pisell2.appointment.wednesday': string;
325
+ 'pisell2.appointment.thursday': string;
326
+ 'pisell2.appointment.friday': string;
327
+ 'pisell2.appointment.saturday': string;
328
+ 'pisell2.appointment.sunday': string;
329
+ 'pisell2.appointment.any.professional': string;
330
+ 'pisell2.appointment.for.maximum.availability': string;
331
+ 'pisell2.appointment.deposit': string;
332
+ 'pisell2.appointment.deposit.agreed': string;
333
+ 'pisell2.appointment.deposit.agree.policy': string;
334
+ 'pisell2.appointment.deposit.and': string;
335
+ 'pisell2.appointment.deposit.amount.tip1': string;
336
+ 'pisell2.appointment.deposit.amount.tip2': string;
337
+ 'pisell2.appointment.deposit.close': string;
338
+ 'pisell2.appointment.tips': string;
339
+ 'pisell2.appointment.tips.content': string;
340
+ 'pisell2.appointment.fill-form': string;
341
+ 'pisell2.appointment.select.holder': (val: string) => string;
342
+ 'pisell2.appointment.select.time': string;
343
+ 'pisell2.appointment.unselect.time': string;
344
+ 'pisell2.appointment.unselect.date': string;
345
+ 'pisell2.appointment.unuse.date': string;
346
+ 'pisell2.appointment.add-guests': string;
347
+ 'pisell2.appointment.policy': string;
348
+ 'pisell2.appointment.policy.confirm': string;
349
+ 'pisell2.appointment.resource.tip': (val: string) => string;
350
+ 'pisell2.text.apply': string;
351
+ 'pisell2.text.goodpass': string;
352
+ 'pisell2.text.goodpass.product-vouchers': string;
353
+ 'pisell2.text.goodpass.view-more': string;
354
+ 'pisell2.text.goodpass.code': string;
355
+ 'pisell2.text.goodpass.enter-code': string;
356
+ 'pisell2.text.goodpass.code-invalid': string;
357
+ 'pisell2.text.goodpass.code-invalid-cart': string;
358
+ 'pisell2.text.goodpass.login': string;
359
+ 'pisell2.text.goodpass.login-tip': string;
360
+ 'pisell2.text.contact-info.title': string;
361
+ };
362
+ };
363
+ export default _default;
@@ -60,7 +60,6 @@ var SaaSManagermentAuth = ({
60
60
  import_utils.locales.init(import_locales.default, ((_b = (_a = context == null ? void 0 : context.engine) == null ? void 0 : _a.props) == null ? void 0 : _b.locale) || "en");
61
61
  const allTabs = ["pageSetting"];
62
62
  const saveData = (data) => {
63
- debugger;
64
63
  request.post(`/api/tenant_channel:update?filter=%7B%22channel_code%22%3A%22${channel}%22%7D`, {
65
64
  ...channelData,
66
65
  metadata: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface TabProductProps {
3
4
  list: any[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
3
4
  export default ProductItem;
@@ -0,0 +1,37 @@
1
+ export declare const getRelationDetailsTotal: (relation_details: any) => number;
2
+ export declare const getIsPriceIncludeTax: (state: any) => any;
3
+ /**
4
+ * 总金额
5
+ * @param state
6
+ * @param options isEdit: 预约信息是否发生变动
7
+ * @returns
8
+ */
9
+ export declare const getSumTotal: (state: any, options: {
10
+ [key: string]: any;
11
+ isEdit: boolean;
12
+ ScheduleModule: any;
13
+ }) => {
14
+ productAmount: number;
15
+ duration: string;
16
+ tax: number;
17
+ taxInfo: {
18
+ title: any;
19
+ rate: any;
20
+ is_price_include_tax: any;
21
+ };
22
+ shopDiscount: number;
23
+ surcharge: any;
24
+ otherAmount: any;
25
+ sumTotalAmount: number;
26
+ paidAmount: any;
27
+ notPaidAmount: number;
28
+ paySurchargeFee: number;
29
+ expectAmount: number;
30
+ actualPaidAmount: any;
31
+ orderPaidAmount: any;
32
+ totalRefundAmount: number;
33
+ dueAmount: number;
34
+ roundingAmount: number;
35
+ originExpectAmount: number;
36
+ originExpectAmountWithoutDiscount: number;
37
+ };
@@ -612,7 +612,6 @@ var Footer = (props) => {
612
612
  const isHasDayProducts = handleDaySubmit();
613
613
  if (isHasDayProducts) return;
614
614
  }
615
- debugger;
616
615
  const hasUnspecifiedHolderProduct = (_d2 = state.service.value) == null ? void 0 : _d2.some((item) => {
617
616
  var _a3, _b3, _c3;
618
617
  return (!((_a3 = item._extend) == null ? void 0 : _a3.holder_id) || ((_c3 = (_b3 = item._extend) == null ? void 0 : _b3.holder_id) == null ? void 0 : _c3.length) === 0) && !(0, import_utils2.isNormalProductByDurationSchedule)(item);
@@ -1287,15 +1286,13 @@ var Footer = (props) => {
1287
1286
  const shopDiscount = (0, import_useShopDiscountModule.useShopDiscountModule)();
1288
1287
  const { clearAllScanListenersTaskQueue } = (0, import_useScanManager.default)();
1289
1288
  const handleClearAllAndReset = () => {
1290
- var _a2, _b2, _c2;
1291
- debugger;
1289
+ var _a2;
1292
1290
  dispatch({
1293
1291
  type: "setAddons",
1294
1292
  payload: {
1295
1293
  value: []
1296
1294
  }
1297
1295
  });
1298
- selectCustomer(null);
1299
1296
  dispatch({
1300
1297
  type: "setDate",
1301
1298
  payload: {
@@ -1321,15 +1318,15 @@ var Footer = (props) => {
1321
1318
  });
1322
1319
  (_a2 = shopDiscount == null ? void 0 : shopDiscount.clear) == null ? void 0 : _a2.call(shopDiscount);
1323
1320
  setEditOrderId(0);
1324
- (_c2 = (_b2 = window == null ? void 0 : window.shopApi) == null ? void 0 : _b2.bookingTicket) == null ? void 0 : _c2.clearAllCart();
1321
+ dispatch({
1322
+ type: "setService",
1323
+ payload: {
1324
+ value: []
1325
+ }
1326
+ });
1325
1327
  setTimeout(() => {
1326
- dispatch({
1327
- type: "setService",
1328
- payload: {
1329
- value: []
1330
- }
1331
- });
1332
- }, 200);
1328
+ selectCustomer(null);
1329
+ }, 100);
1333
1330
  clearAllScanListenersTaskQueue();
1334
1331
  };
1335
1332
  const setEditCartMode = (order_id2, payData, closeModal = false) => {
@@ -341,7 +341,7 @@ var getMainProductSellingPrice = (item) => {
341
341
  return new import_decimal.default((_f = item._extend) == null ? void 0 : _f.main_product_selling_price).add(optionPrice).toNumber();
342
342
  };
343
343
  var formatProducts = (item, quantity) => {
344
- var _a, _b, _c, _d, _e, _f, _g, _h, _i;
344
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
345
345
  if (item == null ? void 0 : item.discount_list) {
346
346
  item == null ? void 0 : item.discount_list.forEach((d) => {
347
347
  if (d == null ? void 0 : d.id) {
@@ -393,7 +393,7 @@ var formatProducts = (item, quantity) => {
393
393
  // checkout 需求新增字段
394
394
  "calculated_original_price": formatOriginalPrice(item),
395
395
  "calculated_selling_price": formatSellingPrice(item),
396
- "tax_fee": item._extend.tax_fee,
396
+ "tax_fee": item._extend.tax_fee ?? ((_j = item.metadata) == null ? void 0 : _j.main_product_attached_bundle_tax_fee),
397
397
  "custom_deposit_data": item.custom_deposit_data
398
398
  };
399
399
  };
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Deposit: (props: any) => JSX.Element;
2
3
  export default Deposit;
@@ -0,0 +1,12 @@
1
+ export interface ResourceItem {
2
+ [key: string]: any;
3
+ }
4
+ /**
5
+ * @title: 传入资源,如果有子资源,会根据组合资源的 capacity 计算修改子资源的 capacity
6
+ * @description:
7
+ * @param {object} resource
8
+ * @return {*}
9
+ * @Author: jinglin.tan
10
+ */
11
+ export declare const checkSubResourcesCapacity: (resource: ResourceItem) => void;
12
+ export declare const formatValues: (data: any, values: any) => any;
@@ -4,6 +4,6 @@ declare const useSendModal: (bookingId?: number) => {
4
4
  setOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
5
5
  handleOpen: () => void;
6
6
  handleValuesChange: (val: any) => void;
7
- handleOk: (values: SendModalValues) => Promise<any>;
7
+ handleOk: (values: SendModalValues) => Promise<boolean | undefined>;
8
8
  };
9
9
  export default useSendModal;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  /**
3
4
  * @title: 表单选择器
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ declare const _default: React.MemoExoticComponent<() => JSX.Element>;
4
+ export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { EditServiceRef } from "../service/editService";
2
3
  declare const useInfoHolder: (state: any, dispatch: any) => {
3
4
  detailRef: import("react").MutableRefObject<EditServiceRef | undefined>;
@@ -61,7 +61,6 @@ var useInfoHolder = (state, dispatch) => {
61
61
  }, [state, appointment_card.quick_time]);
62
62
  const handleEdit = (0, import_ahooks.useMemoizedFn)((cacheItem, type) => {
63
63
  var _a2, _b2, _c2;
64
- debugger;
65
64
  const isNoSpecAndPackage = (0, import_utilsByBooking.getIsNoSpecAndPackage)(cacheItem);
66
65
  if (isNoSpecAndPackage) {
67
66
  (_a2 = editNormalServiceRef.current) == null ? void 0 : _a2.init(cacheItem);
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Notes: () => JSX.Element | null;
2
3
  export default Notes;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Lists: ({ onEdit, onChange, onAction, isParallelResource, isShowDelete, isShowAmountFooter }: any) => JSX.Element;
2
3
  export default Lists;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const AddTimeModal: () => JSX.Element;
4
3
  export default AddTimeModal;