@pisell/private-materials 6.3.69 → 6.3.71

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 (318) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +2 -2
  6. package/build/lowcode/preview.js +7 -7
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +3 -3
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +3 -3
  11. package/es/businessModel/SalesModel/index.d.ts +1 -0
  12. package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  13. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  14. package/es/components/booking/addons/model.d.ts +1 -10
  15. package/es/components/booking/components/voucher/index.js +8 -7
  16. package/es/components/booking/forms/model.d.ts +1 -10
  17. package/es/components/booking/hooks/useQuotation.js +2 -2
  18. package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
  19. package/es/components/booking/info/dateRange/index.d.ts +1 -0
  20. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  21. package/es/components/booking/info/index.d.ts +1 -0
  22. package/es/components/booking/info/model.d.ts +1 -10
  23. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  24. package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  25. package/es/components/booking/info/service2/utils.d.ts +1 -1
  26. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  27. package/es/components/booking/model.d.ts +1 -9
  28. package/es/components/booking/notes/model.d.ts +1 -10
  29. package/es/components/booking/payments/model.d.ts +1 -10
  30. package/es/components/eftposPay/amount.d.ts +1 -1
  31. package/es/components/eftposPay/device.d.ts +1 -1
  32. package/es/components/eftposPay/hooks.d.ts +2 -2
  33. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  34. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  35. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  36. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  37. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  38. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  39. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  40. package/es/components/kioskSkuDetail/index.d.ts +39 -0
  41. package/es/components/kioskSkuDetail/index.js +531 -0
  42. package/es/components/kioskSkuDetail/index.less +196 -0
  43. package/es/components/kioskSkuDetail/locales.d.ts +27 -0
  44. package/es/components/kioskSkuDetail/locales.js +26 -0
  45. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +5 -0
  46. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  47. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  48. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  49. package/es/components/pay/toC/model.d.ts +1 -9
  50. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  51. package/es/components/schedules/model.d.ts +1 -9
  52. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  53. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  54. package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  55. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  56. package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
  57. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  58. package/es/components/walletList/index.js +7 -2
  59. package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
  60. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  61. package/es/index.d.ts +3 -1
  62. package/es/index.js +3 -1
  63. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
  64. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
  65. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +1 -0
  66. package/es/plus/skuOptionsSelection/components/VariantCard/index.js +30 -1
  67. package/es/plus/skuOptionsSelection/components/VariantCard/index.less +10 -0
  68. package/es/plus/skuOptionsSelection/locales.d.ts +3 -0
  69. package/es/plus/skuOptionsSelection/locales.js +3 -0
  70. package/es/plus/skuOptionsSelection/store/actions.js +17 -2
  71. package/es/plus/skuOptionsSelection/types.d.ts +5 -0
  72. package/es/plus/skuOptionsSelection/types.js +2 -1
  73. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.js +70 -3
  74. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  75. package/es/plus/walletPassGallery/index.js +2 -2
  76. package/es/pro/numberKeyboard/index.d.ts +28 -0
  77. package/es/pro/numberKeyboard/index.js +155 -0
  78. package/es/pro/numberKeyboard/index.less +25 -0
  79. package/es/pro/numberKeyboard/locales.d.ts +12 -0
  80. package/es/pro/numberKeyboard/locales.js +11 -0
  81. package/es/pro/pisellNumberSelector/example.d.ts +3 -0
  82. package/es/pro/pisellNumberSelector/example.js +68 -0
  83. package/es/pro/pisellNumberSelector/index.d.ts +29 -0
  84. package/es/pro/pisellNumberSelector/index.js +257 -0
  85. package/es/pro/pisellNumberSelector/index.less +235 -0
  86. package/es/pro/skuDetailModal/index.d.ts +4 -0
  87. package/es/pro/skuDetailModal/index.js +1031 -0
  88. package/lib/businessModel/SalesModel/index.d.ts +1 -0
  89. package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  90. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  91. package/lib/components/booking/addons/model.d.ts +1 -10
  92. package/lib/components/booking/components/voucher/index.js +0 -1
  93. package/lib/components/booking/forms/model.d.ts +1 -10
  94. package/lib/components/booking/hooks/useQuotation.js +3 -3
  95. package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
  96. package/lib/components/booking/info/dateRange/index.d.ts +1 -0
  97. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  98. package/lib/components/booking/info/index.d.ts +1 -0
  99. package/lib/components/booking/info/model.d.ts +1 -10
  100. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  101. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  102. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  103. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  104. package/lib/components/booking/model.d.ts +1 -9
  105. package/lib/components/booking/notes/model.d.ts +1 -10
  106. package/lib/components/booking/payments/model.d.ts +1 -10
  107. package/lib/components/eftposPay/amount.d.ts +1 -1
  108. package/lib/components/eftposPay/device.d.ts +1 -1
  109. package/lib/components/eftposPay/hooks.d.ts +2 -2
  110. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  111. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  112. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  113. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  114. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  115. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  116. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  117. package/lib/components/kioskSkuDetail/index.d.ts +39 -0
  118. package/lib/components/kioskSkuDetail/index.js +393 -0
  119. package/lib/components/kioskSkuDetail/index.less +196 -0
  120. package/lib/components/kioskSkuDetail/locales.d.ts +27 -0
  121. package/lib/components/kioskSkuDetail/locales.js +50 -0
  122. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +5 -0
  123. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  124. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  125. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  126. package/lib/components/pay/toC/model.d.ts +1 -9
  127. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  128. package/lib/components/schedules/model.d.ts +1 -9
  129. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  130. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  131. package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  132. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  133. package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
  134. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  135. package/lib/components/walletList/index.js +5 -1
  136. package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
  137. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  138. package/lib/index.d.ts +3 -1
  139. package/lib/index.js +7 -1
  140. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
  141. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
  142. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +1 -0
  143. package/lib/plus/skuOptionsSelection/components/VariantCard/index.js +32 -3
  144. package/lib/plus/skuOptionsSelection/components/VariantCard/index.less +10 -0
  145. package/lib/plus/skuOptionsSelection/locales.d.ts +3 -0
  146. package/lib/plus/skuOptionsSelection/locales.js +3 -0
  147. package/lib/plus/skuOptionsSelection/store/actions.js +25 -1
  148. package/lib/plus/skuOptionsSelection/types.d.ts +5 -0
  149. package/lib/plus/skuOptionsSelection/types.js +2 -1
  150. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.js +51 -5
  151. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  152. package/lib/plus/walletPassGallery/index.js +2 -2
  153. package/lib/pro/numberKeyboard/index.d.ts +28 -0
  154. package/lib/pro/numberKeyboard/index.js +182 -0
  155. package/lib/pro/numberKeyboard/index.less +25 -0
  156. package/lib/pro/numberKeyboard/locales.d.ts +12 -0
  157. package/lib/pro/numberKeyboard/locales.js +35 -0
  158. package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
  159. package/lib/pro/pisellNumberSelector/example.js +93 -0
  160. package/lib/pro/pisellNumberSelector/index.d.ts +29 -0
  161. package/lib/pro/pisellNumberSelector/index.js +275 -0
  162. package/lib/pro/pisellNumberSelector/index.less +235 -0
  163. package/lib/pro/skuDetailModal/index.d.ts +4 -0
  164. package/lib/pro/skuDetailModal/index.js +736 -0
  165. package/lowcode/kiosk-sku-detail/meta.ts +264 -0
  166. package/package.json +4 -4
  167. package/es/components/Sales/Cart/utils.d.ts +0 -63
  168. package/es/components/Sales/Summary/utils.d.ts +0 -51
  169. package/es/components/appointmentBooking/locales.d.ts +0 -363
  170. package/es/components/booking/components/tabPane/index.d.ts +0 -4
  171. package/es/components/booking/dashboard/serve.d.ts +0 -1
  172. package/es/components/booking/editBookingModal/utils.d.ts +0 -12
  173. package/es/components/booking/forms/serve.d.ts +0 -18
  174. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  175. package/es/components/booking/info/client/serve.d.ts +0 -2
  176. package/es/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
  177. package/es/components/booking/info/pet/serve.d.ts +0 -1
  178. package/es/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
  179. package/es/components/booking/info/service/editService/constants.d.ts +0 -1
  180. package/es/components/booking/info/service/serve.d.ts +0 -20
  181. package/es/components/booking/info2/serve.d.ts +0 -6
  182. package/es/components/booking/locales.d.ts +0 -843
  183. package/es/components/eftposPay/const.d.ts +0 -184
  184. package/es/components/eftposPay/locales.d.ts +0 -330
  185. package/es/components/eftposPay/manufacturer.d.ts +0 -7
  186. package/es/components/eftposPay/payo/payment.d.ts +0 -66
  187. package/es/components/pay/toC/PaymentList/utils.d.ts +0 -36
  188. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
  189. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
  190. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
  191. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -2
  192. package/es/components/pay/toC/locales.d.ts +0 -307
  193. package/es/components/pay/toC/status.d.ts +0 -13
  194. package/es/components/ruleSetting/locales.d.ts +0 -48
  195. package/es/components/shoppingCart/locales.d.ts +0 -33
  196. package/es/components/shoppingCart/type.d.ts +0 -48
  197. package/es/components/subTotal/locales.d.ts +0 -42
  198. package/es/components/systemSettings/registry/locales.d.ts +0 -272
  199. package/es/components/systemSettings/registry/services.d.ts +0 -77
  200. package/es/components/systemSettings/registry/types.d.ts +0 -126
  201. package/es/components/systemSettings/registry/utils/typeValidation.d.ts +0 -16
  202. package/es/components/systemSettings/registry/utils/validators.d.ts +0 -8
  203. package/es/components/ticketBooking/locales.d.ts +0 -174
  204. package/es/components/wallet/utils.d.ts +0 -48
  205. package/es/components/walletList/locales.d.ts +0 -27
  206. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
  207. package/es/components/workSpaceList/components/Card/constants.d.ts +0 -2
  208. package/es/hooks/useEngineContext.d.ts +0 -10
  209. package/es/hooks/useWindowSize.d.ts +0 -5
  210. package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
  211. package/es/plus/selectHolder/locales.d.ts +0 -21
  212. package/es/plus/selectHolder/types.d.ts +0 -104
  213. package/es/plus/selectHolder/utils.d.ts +0 -9
  214. package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +0 -2
  215. package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +0 -2
  216. package/es/plus/skuOptionsSelection/store/createStore.d.ts +0 -15
  217. package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +0 -6
  218. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
  219. package/es/plus/walletEditor/locales.d.ts +0 -135
  220. package/es/plus/walletPassGallery/locales.d.ts +0 -285
  221. package/es/plus/walletPassGallery/utils.d.ts +0 -48
  222. package/es/pro/Login2.0/shared/types.d.ts +0 -232
  223. package/es/pro/NumericStepper/index.d.ts +0 -43
  224. package/es/pro/Selector/BatchSelectorDemo.d.ts +0 -3
  225. package/es/pro/Selector/Item.d.ts +0 -14
  226. package/es/pro/Selector/Selector.stories.d.ts +0 -78
  227. package/es/pro/Selector/components/Card/index.d.ts +0 -57
  228. package/es/pro/Selector/components/Card/types.d.ts +0 -1
  229. package/es/pro/Selector/components/Indicator/index.d.ts +0 -19
  230. package/es/pro/Selector/components/IntersectionObserver.d.ts +0 -105
  231. package/es/pro/Selector/components/LayoutContainer/index.d.ts +0 -16
  232. package/es/pro/Selector/components/Media/index.d.ts +0 -6
  233. package/es/pro/Selector/components/Media/types.d.ts +0 -47
  234. package/es/pro/Selector/components/index.d.ts +0 -4
  235. package/es/pro/Selector/demo.d.ts +0 -2
  236. package/es/pro/Selector/hooks/usePresetItemProps.d.ts +0 -43
  237. package/es/pro/Selector/hooks/usePresetProps.d.ts +0 -24
  238. package/es/pro/Selector/index.d.ts +0 -11
  239. package/es/pro/Selector/locales.d.ts +0 -36
  240. package/es/pro/Selector/types.d.ts +0 -173
  241. package/es/pro/Selector/utils/index.d.ts +0 -49
  242. package/es/test/setup.d.ts +0 -1
  243. package/lib/components/Sales/Cart/utils.d.ts +0 -63
  244. package/lib/components/Sales/Summary/utils.d.ts +0 -51
  245. package/lib/components/appointmentBooking/locales.d.ts +0 -363
  246. package/lib/components/booking/components/tabPane/index.d.ts +0 -4
  247. package/lib/components/booking/dashboard/serve.d.ts +0 -1
  248. package/lib/components/booking/editBookingModal/utils.d.ts +0 -12
  249. package/lib/components/booking/forms/serve.d.ts +0 -18
  250. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  251. package/lib/components/booking/info/client/serve.d.ts +0 -2
  252. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
  253. package/lib/components/booking/info/pet/serve.d.ts +0 -1
  254. package/lib/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
  255. package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
  256. package/lib/components/booking/info/service/serve.d.ts +0 -20
  257. package/lib/components/booking/info2/serve.d.ts +0 -6
  258. package/lib/components/booking/locales.d.ts +0 -843
  259. package/lib/components/eftposPay/const.d.ts +0 -184
  260. package/lib/components/eftposPay/locales.d.ts +0 -330
  261. package/lib/components/eftposPay/manufacturer.d.ts +0 -7
  262. package/lib/components/eftposPay/payo/payment.d.ts +0 -66
  263. package/lib/components/pay/toC/PaymentList/utils.d.ts +0 -36
  264. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
  265. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
  266. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
  267. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -2
  268. package/lib/components/pay/toC/locales.d.ts +0 -307
  269. package/lib/components/pay/toC/status.d.ts +0 -13
  270. package/lib/components/ruleSetting/locales.d.ts +0 -48
  271. package/lib/components/shoppingCart/locales.d.ts +0 -33
  272. package/lib/components/shoppingCart/type.d.ts +0 -48
  273. package/lib/components/subTotal/locales.d.ts +0 -42
  274. package/lib/components/systemSettings/registry/locales.d.ts +0 -272
  275. package/lib/components/systemSettings/registry/services.d.ts +0 -77
  276. package/lib/components/systemSettings/registry/types.d.ts +0 -126
  277. package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +0 -16
  278. package/lib/components/systemSettings/registry/utils/validators.d.ts +0 -8
  279. package/lib/components/ticketBooking/locales.d.ts +0 -174
  280. package/lib/components/wallet/utils.d.ts +0 -48
  281. package/lib/components/walletList/locales.d.ts +0 -27
  282. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
  283. package/lib/components/workSpaceList/components/Card/constants.d.ts +0 -2
  284. package/lib/hooks/useEngineContext.d.ts +0 -10
  285. package/lib/hooks/useWindowSize.d.ts +0 -5
  286. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
  287. package/lib/plus/selectHolder/locales.d.ts +0 -21
  288. package/lib/plus/selectHolder/types.d.ts +0 -104
  289. package/lib/plus/selectHolder/utils.d.ts +0 -9
  290. package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +0 -2
  291. package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +0 -2
  292. package/lib/plus/skuOptionsSelection/store/createStore.d.ts +0 -15
  293. package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +0 -6
  294. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
  295. package/lib/plus/walletEditor/locales.d.ts +0 -135
  296. package/lib/plus/walletPassGallery/locales.d.ts +0 -285
  297. package/lib/plus/walletPassGallery/utils.d.ts +0 -48
  298. package/lib/pro/Login2.0/shared/types.d.ts +0 -232
  299. package/lib/pro/NumericStepper/index.d.ts +0 -43
  300. package/lib/pro/Selector/BatchSelectorDemo.d.ts +0 -3
  301. package/lib/pro/Selector/Item.d.ts +0 -14
  302. package/lib/pro/Selector/Selector.stories.d.ts +0 -78
  303. package/lib/pro/Selector/components/Card/index.d.ts +0 -57
  304. package/lib/pro/Selector/components/Card/types.d.ts +0 -1
  305. package/lib/pro/Selector/components/Indicator/index.d.ts +0 -19
  306. package/lib/pro/Selector/components/IntersectionObserver.d.ts +0 -105
  307. package/lib/pro/Selector/components/LayoutContainer/index.d.ts +0 -16
  308. package/lib/pro/Selector/components/Media/index.d.ts +0 -6
  309. package/lib/pro/Selector/components/Media/types.d.ts +0 -47
  310. package/lib/pro/Selector/components/index.d.ts +0 -4
  311. package/lib/pro/Selector/demo.d.ts +0 -2
  312. package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +0 -43
  313. package/lib/pro/Selector/hooks/usePresetProps.d.ts +0 -24
  314. package/lib/pro/Selector/index.d.ts +0 -11
  315. package/lib/pro/Selector/locales.d.ts +0 -36
  316. package/lib/pro/Selector/types.d.ts +0 -173
  317. package/lib/pro/Selector/utils/index.d.ts +0 -49
  318. package/lib/test/setup.d.ts +0 -1
@@ -1,49 +0,0 @@
1
- import { SelectionValue, GroupItem } from '../types';
2
- export declare type OptionEffects = Record<string, {
3
- allowOnly?: Set<any>;
4
- requireOneOf?: {
5
- values: Set<any>;
6
- message?: string;
7
- };
8
- }>;
9
- export interface Cond {
10
- groupId: string;
11
- in?: any[];
12
- op?: 'in' | 'notIn' | 'eq' | 'neq' | 'contains' | 'range' | 'exists';
13
- value?: any;
14
- values?: any[];
15
- min?: number;
16
- max?: number;
17
- }
18
- export interface Expr {
19
- allOf?: Array<Cond | Expr>;
20
- anyOf?: Array<Cond | Expr>;
21
- noneOf?: Array<Cond | Expr>;
22
- and?: Array<Cond | Expr>;
23
- or?: Array<Cond | Expr>;
24
- not?: Array<Cond | Expr>;
25
- }
26
- export interface Action {
27
- type: 'show' | 'allowOnly' | 'requireOneOf';
28
- groupId: string;
29
- values?: any[];
30
- message?: string;
31
- }
32
- export interface Rule {
33
- type?: 'expr';
34
- when?: Expr;
35
- then?: Action[];
36
- elseThen?: Action[];
37
- priority?: number;
38
- stopAfterApply?: boolean;
39
- }
40
- export declare const normalizeRules: (linkageRules: any) => Rule[];
41
- export declare const getSelectedSet: (val: SelectionValue) => Set<any>;
42
- export declare const evaluateExpr: (expr: Expr | undefined, valuesMap: Record<string, SelectionValue>) => boolean;
43
- export declare const computeAutoHiddenGroups: (rules: Rule[]) => Set<string>;
44
- export declare const computeEffects: (dataSource?: GroupItem[], rawRules?: Rule[], valuesMap?: Record<string, SelectionValue>) => {
45
- visibleGroups: Record<string, boolean>;
46
- optionEffects: OptionEffects;
47
- };
48
- export declare const pruneValuesByAllowOnly: (valuesMap: Record<string, SelectionValue>, effects: OptionEffects) => Record<string, SelectionValue>;
49
- export declare const generateSimpleUUID: () => string;
@@ -1 +0,0 @@
1
- import '@testing-library/jest-dom/vitest';
@@ -1,63 +0,0 @@
1
- import Decimal from 'decimal.js';
2
- import { ICalculatePriceParams } from './types';
3
- export declare const handleProductInfo: (eventDetail: any, num: number) => {
4
- totalPrice: number;
5
- originTotal: any;
6
- is_charge_tax: any;
7
- };
8
- /**
9
- * 获取商品总价
10
- * @description 当前总价计算基于商品数量为1
11
- * @param item 商品
12
- * @returns 商品总价
13
- */
14
- export declare const getTotalPrice: (params: ICalculatePriceParams) => number;
15
- /**
16
- * 获取商品原始总价
17
- * @description 当前总价计算基于商品数量为1
18
- * @param item 商品
19
- * @returns 商品原始总价
20
- */
21
- export declare const getOriginTotalPrice: (params: ICalculatePriceParams) => number | undefined;
22
- export declare const handleCartItemOrigin: (cartItem: any, eventDetail: any) => any;
23
- export declare const formatBundleToOrigin: (bundle: any) => any;
24
- export declare const formatOptionsToOrigin: (options: any) => any;
25
- export declare const handleProductDeposit: (cartItem: any, eventDetail: any, num: number) => {
26
- total: number;
27
- protocols: any;
28
- } | null;
29
- /**
30
- * 获取商品定金
31
- * @description 定金基于商品售价来算,最终乘商品数量
32
- * 1、如果套餐主商品有定金规则,则定金为:(套餐商品总售价 * 定金百分比 + 定金固定金额)* 商品数量
33
- * 2、如果套餐主商品没有定金规则,子商品有定金规则,则定金为:(套餐子商品售价 * 套餐子商品定金百分比 + 套餐子商品定金固定金额)* 商品数量,最终将所有子商品定金相加
34
- * 3、普通商品/单规格商品/组合规则商品,定金规则:(商品总售价 * 定金百分比 + 定金固定金额)* 商品数量
35
- * @param params 参数
36
- * @returns 商品定金
37
- */
38
- export declare const getProductDeposit: (params: {
39
- cartItem: any;
40
- product: any;
41
- bundle?: any;
42
- options?: any;
43
- num?: number;
44
- }) => {
45
- total: number;
46
- protocols: any;
47
- } | null;
48
- /**
49
- * 计算商品定金
50
- * @param params 参数
51
- * @returns 商品定金
52
- */
53
- export declare const calculateProductDeposit: (params: {
54
- depositData: {
55
- deposit_fixed?: string;
56
- deposit_percentage?: string;
57
- };
58
- total: string | number;
59
- num: number;
60
- }) => {
61
- result: boolean;
62
- depositTotal: Decimal;
63
- };
@@ -1,51 +0,0 @@
1
- import Decimal from 'decimal.js';
2
- interface CartItem {
3
- price: number | string;
4
- quantity?: number;
5
- [k: string]: any;
6
- }
7
- interface PriceDetail {
8
- subtotal: string;
9
- total: string;
10
- taxTitle?: string;
11
- totalTaxFee?: string;
12
- isPriceIncludeTax?: 0 | 1;
13
- deposit?: {
14
- total: string;
15
- protocols: any[];
16
- hasDeposit: boolean;
17
- };
18
- }
19
- /**
20
- * 计算商品小计(不含其他费用)
21
- * @param items - 购物车商品数组
22
- * @returns 商品总价字符串,保留2位小数
23
- */
24
- export declare const calculateSubtotal: (items: CartItem[]) => string;
25
- /**
26
- * @title: 单个商品的税费
27
- * @description:
28
- * 单个商品的税费 = 商品销售单价(折扣后) * 税率 * is_charge_tax /( 1+ 税率 * is_price_include_tax)
29
- * $taxFee = $price * $taxRate * $isChargeTax / (1 + $taxRate * $isPriceIncludeTax);
30
- * @return {*}
31
- * @Author: xiangfeng.xue
32
- */
33
- export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) => Decimal | "0.00";
34
- /**
35
- * 计算所有价格明细
36
- * @param items - 购物车商品数组
37
- * @param options - 其他费用配置
38
- * @returns 价格明细对象
39
- */
40
- export declare const calculatePriceDetails: (shopInfo: any, items: CartItem[]) => PriceDetail;
41
- /**
42
- * @title: 计算定金
43
- * @param items - 购物车商品数组
44
- * @returns 定金字符串,保留2位小数
45
- */
46
- export declare const calculateDeposit: (items: CartItem[]) => {
47
- total: string;
48
- protocols: any[];
49
- hasDeposit: never;
50
- } | undefined;
51
- export {};
@@ -1,363 +0,0 @@
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;
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import "./index.less";
3
- declare const TabPane: React.FC<any>;
4
- export default TabPane;
@@ -1 +0,0 @@
1
- export declare const getBookingList: (params: any) => Promise<any>;
@@ -1,12 +0,0 @@
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;
@@ -1,18 +0,0 @@
1
- /**
2
- * 获取表单数据
3
- */
4
- export declare const getFormData: (params: {
5
- form_id: number;
6
- form_record_ids: number[];
7
- num: number;
8
- skip: number;
9
- }) => Promise<any>;
10
- /**
11
- * 发送表单填写提醒
12
- */
13
- export declare const sendFormReminder: (params: {
14
- email?: string;
15
- phone?: string;
16
- order_id: number;
17
- country_calling_code?: string;
18
- }) => Promise<any>;
@@ -1 +0,0 @@
1
- export declare const useIsBooking4Shop: (state: any) => any;
@@ -1,2 +0,0 @@
1
- export declare const getFranchiseeCustomerInfo: (params: any) => Promise<any>;
2
- export declare const getFranchiseeCustomerList: (params: any) => Promise<any>;
@@ -1,9 +0,0 @@
1
- declare const useHolderConfig: (state: any) => {
2
- appointment_subject: any;
3
- holder: any;
4
- isFormSubject: boolean;
5
- isCustomerSubject: boolean;
6
- isWalkInBol: boolean;
7
- isShowChangeHolder: boolean;
8
- };
9
- export default useHolderConfig;
@@ -1 +0,0 @@
1
- export declare const getFormDetail: (id: number) => Promise<any>;
@@ -1,5 +0,0 @@
1
- export declare const getAddTimeProducts: (params: any, config: any) => Promise<any>;
2
- export declare const saveAddTimeProduct: ({ orderId, params }: {
3
- orderId: number | string;
4
- params: any;
5
- }) => Promise<any>;
@@ -1 +0,0 @@
1
- export declare const getIsPartyRoomResourceShop: (id: number) => boolean;
@@ -1,20 +0,0 @@
1
- export declare const getProductDetail: (id: string, params: any) => Promise<any>;
2
- /**
3
- * @title: 跨日预约获取预约商品报价单
4
- * @description:
5
- * @param {string} id
6
- * @param {any} params
7
- * @return {*}
8
- * @Author: WangHan
9
- * @Date: 2024-12-23 17:06
10
- */
11
- export declare const postMultiDay: (id: string, params: any) => Promise<any>;
12
- /**
13
- * 批量查询指定商品的最新价格
14
- * @param params
15
- */
16
- export declare const getProductPrice: (params: {
17
- ids: number[];
18
- customer_id: number;
19
- schedule_date: string;
20
- }) => Promise<any>;
@@ -1,6 +0,0 @@
1
- export declare const getResourceList: (params: any, bookingId?: number[]) => Promise<{
2
- list: any[];
3
- listMap: any;
4
- }>;
5
- export declare const createBookings: (params: any) => Promise<any>;
6
- export declare const editBookings: (params: any, id?: number) => Promise<any>;