@pisell/private-materials 6.3.137 → 6.3.138

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 (299) 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.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/businessModel/SalesModel/index.d.ts +1 -0
  8. package/es/components/appointmentBooking/components/Form/index.d.ts +4 -0
  9. package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
  10. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  11. package/es/components/appointmentBooking/hooks.d.ts +107 -0
  12. package/es/components/appointmentBooking/utils.d.ts +227 -0
  13. package/es/components/booking/addons/model.d.ts +1 -10
  14. package/es/components/booking/components/TabProduct/index.d.ts +1 -0
  15. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  16. package/es/components/booking/components/footer/utils.d.ts +47 -0
  17. package/es/components/booking/components/reloadResourceModal/index.d.ts +8 -0
  18. package/es/components/booking/components/voucher/index.d.ts +3 -0
  19. package/es/components/booking/deposit/index.d.ts +1 -0
  20. package/es/components/booking/forms/model.d.ts +1 -10
  21. package/es/components/booking/forms/single/index.d.ts +1 -0
  22. package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
  23. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  24. package/es/components/booking/info/date/index.d.ts +1 -0
  25. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  26. package/es/components/booking/info/index.d.ts +1 -0
  27. package/es/components/booking/info/model.d.ts +1 -10
  28. package/es/components/booking/info/notes/index.d.ts +1 -0
  29. package/es/components/booking/info/service/Lists.d.ts +1 -0
  30. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  31. package/es/components/booking/info/service/addService/index.d.ts +1 -0
  32. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  33. package/es/components/booking/info/service/editService/constants.d.ts +1 -0
  34. package/es/components/booking/info/service/editService/index.d.ts +7 -0
  35. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  36. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  37. package/es/components/booking/info/service2/utils.d.ts +248 -0
  38. package/es/components/booking/info2/index.d.ts +12 -0
  39. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  40. package/es/components/booking/info2/service/addService/index.d.ts +11 -0
  41. package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  42. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  43. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  44. package/es/components/booking/locales.d.ts +1489 -0
  45. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  46. package/es/components/booking/materiels/holder/index.d.ts +1 -0
  47. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  48. package/es/components/booking/model.d.ts +112 -0
  49. package/es/components/booking/notes/model.d.ts +1 -10
  50. package/es/components/booking/payments/model.d.ts +1 -10
  51. package/es/components/eftposPay/amount.d.ts +21 -0
  52. package/es/components/eftposPay/app.d.ts +11 -0
  53. package/es/components/eftposPay/component/fail/failCustom.d.ts +4 -0
  54. package/es/components/eftposPay/component/fail/index.d.ts +3 -0
  55. package/es/components/eftposPay/component/fail/network.d.ts +8 -0
  56. package/es/components/eftposPay/component/fail/unknow.d.ts +9 -0
  57. package/es/components/eftposPay/component/manual/index.d.ts +9 -0
  58. package/es/components/eftposPay/component/signature/index.d.ts +8 -0
  59. package/es/components/eftposPay/device.d.ts +24 -0
  60. package/es/components/eftposPay/hooks.d.ts +2 -2
  61. package/es/components/eftposPay/index.d.ts +5 -0
  62. package/es/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
  63. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  64. package/es/components/eftposPay/linkly/index.d.ts +3 -0
  65. package/es/components/eftposPay/pay.d.ts +21 -0
  66. package/es/components/eftposPay/payo/config.d.ts +12 -0
  67. package/es/components/eftposPay/payo/hooks.d.ts +10 -0
  68. package/es/components/eftposPay/payo/payment.d.ts +66 -0
  69. package/es/components/eftposPay/store/index.d.ts +5 -5
  70. package/es/components/eftposPay/tip.d.ts +9 -0
  71. package/es/components/eftposPay/tyro/index.d.ts +9 -0
  72. package/es/components/eftposPay/utils/payLog.d.ts +81 -0
  73. package/es/components/eftposPay/windcave/receiptAction.d.ts +22 -0
  74. package/es/components/eftposPay/windcave/windcave.d.ts +6 -0
  75. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  76. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  77. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  78. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  79. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  80. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  81. package/es/components/eventBooking/index.d.ts +1 -0
  82. package/es/components/kioskSkuDetail/index.d.ts +39 -0
  83. package/es/components/kioskSkuDetail/locales.d.ts +48 -0
  84. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
  85. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
  86. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
  87. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +16 -0
  88. package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +15 -0
  89. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +83 -0
  90. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  91. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
  92. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
  93. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +22 -0
  94. package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
  95. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +16 -0
  96. package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
  97. package/es/components/pay/toC/index.d.ts +3 -0
  98. package/es/components/pay/toC/locales.d.ts +631 -0
  99. package/es/components/pay/toC/model.d.ts +1 -9
  100. package/es/components/pay/toC/payGroup.d.ts +59 -0
  101. package/es/components/pay/toC/serve.d.ts +87 -0
  102. package/es/components/pay/toC/utils.d.ts +65 -0
  103. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  104. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  105. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  106. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  107. package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
  108. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  109. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  110. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  111. package/es/components/productExtension/index.d.ts +1 -0
  112. package/es/components/ruleSetting/index.d.ts +1 -0
  113. package/es/components/ruleSetting/locales.d.ts +78 -0
  114. package/es/components/scanOrder/components/Content/index.js +251 -69
  115. package/es/components/scanOrder/context.js +6 -18
  116. package/es/components/scanOrder/utils/toShoppingCartProducts.d.ts +2 -1
  117. package/es/components/scanOrder/utils/toShoppingCartProducts.js +15 -9
  118. package/es/components/scanOrder/utils/transformProductDetail.d.ts +2 -1
  119. package/es/components/scanOrder/utils/transformProductDetail.js +7 -6
  120. package/es/components/schedules/model.d.ts +1 -9
  121. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  122. package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
  123. package/es/components/shoppingCart/index.d.ts +1 -0
  124. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
  125. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  126. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
  127. package/es/components/ticketBooking/components/timeBar/index.d.ts +12 -0
  128. package/es/components/ticketBooking/index.d.ts +7 -0
  129. package/es/components/venueBooking/components/VenueSelection/components/TimeGrid.js +1 -1
  130. package/es/components/venueBooking/context.js +32 -6
  131. package/es/index.d.ts +87 -0
  132. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  133. package/es/plus/pisellSalesManagement/config/booking.d.ts +6 -6
  134. package/es/plus/pisellSalesProductCard/index.js +16 -1
  135. package/es/plus/pisellSalesProductCard/types.d.ts +21 -1
  136. package/es/plus/productSelect/ProductCard/ProductCardV2.js +6 -2
  137. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
  138. package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +3 -0
  139. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +15 -0
  140. package/es/plus/skuOptionsSelection/index.d.ts +5 -0
  141. package/es/plus/skuOptionsSelection/locales.d.ts +58 -0
  142. package/es/plus/skuOptionsSelection/types.d.ts +458 -0
  143. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  144. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  145. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  146. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  147. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  148. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  149. package/es/pro/Cards/components/SKUCard/index.d.ts +5 -0
  150. package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  151. package/es/pro/NumericStepper/index.d.ts +19 -0
  152. package/es/pro/NumericStepper/index.js +37 -6
  153. package/lib/businessModel/SalesModel/index.d.ts +1 -0
  154. package/lib/components/appointmentBooking/components/Form/index.d.ts +4 -0
  155. package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
  156. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  157. package/lib/components/appointmentBooking/hooks.d.ts +107 -0
  158. package/lib/components/appointmentBooking/utils.d.ts +227 -0
  159. package/lib/components/booking/addons/model.d.ts +1 -10
  160. package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
  161. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  162. package/lib/components/booking/components/footer/utils.d.ts +47 -0
  163. package/lib/components/booking/components/reloadResourceModal/index.d.ts +8 -0
  164. package/lib/components/booking/components/voucher/index.d.ts +3 -0
  165. package/lib/components/booking/deposit/index.d.ts +1 -0
  166. package/lib/components/booking/forms/model.d.ts +1 -10
  167. package/lib/components/booking/forms/single/index.d.ts +1 -0
  168. package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
  169. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  170. package/lib/components/booking/info/date/index.d.ts +1 -0
  171. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  172. package/lib/components/booking/info/index.d.ts +1 -0
  173. package/lib/components/booking/info/model.d.ts +1 -10
  174. package/lib/components/booking/info/notes/index.d.ts +1 -0
  175. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  176. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  177. package/lib/components/booking/info/service/addService/index.d.ts +1 -0
  178. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  179. package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
  180. package/lib/components/booking/info/service/editService/index.d.ts +7 -0
  181. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  182. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  183. package/lib/components/booking/info/service2/utils.d.ts +248 -0
  184. package/lib/components/booking/info2/index.d.ts +12 -0
  185. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  186. package/lib/components/booking/info2/service/addService/index.d.ts +11 -0
  187. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  188. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  189. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  190. package/lib/components/booking/locales.d.ts +1489 -0
  191. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  192. package/lib/components/booking/materiels/holder/index.d.ts +1 -0
  193. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  194. package/lib/components/booking/model.d.ts +112 -0
  195. package/lib/components/booking/notes/model.d.ts +1 -10
  196. package/lib/components/booking/payments/model.d.ts +1 -10
  197. package/lib/components/eftposPay/amount.d.ts +21 -0
  198. package/lib/components/eftposPay/app.d.ts +11 -0
  199. package/lib/components/eftposPay/component/fail/failCustom.d.ts +4 -0
  200. package/lib/components/eftposPay/component/fail/index.d.ts +3 -0
  201. package/lib/components/eftposPay/component/fail/network.d.ts +8 -0
  202. package/lib/components/eftposPay/component/fail/unknow.d.ts +9 -0
  203. package/lib/components/eftposPay/component/manual/index.d.ts +9 -0
  204. package/lib/components/eftposPay/component/signature/index.d.ts +8 -0
  205. package/lib/components/eftposPay/device.d.ts +24 -0
  206. package/lib/components/eftposPay/hooks.d.ts +2 -2
  207. package/lib/components/eftposPay/index.d.ts +5 -0
  208. package/lib/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
  209. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  210. package/lib/components/eftposPay/linkly/index.d.ts +3 -0
  211. package/lib/components/eftposPay/pay.d.ts +21 -0
  212. package/lib/components/eftposPay/payo/config.d.ts +12 -0
  213. package/lib/components/eftposPay/payo/hooks.d.ts +10 -0
  214. package/lib/components/eftposPay/payo/payment.d.ts +66 -0
  215. package/lib/components/eftposPay/store/index.d.ts +5 -5
  216. package/lib/components/eftposPay/tip.d.ts +9 -0
  217. package/lib/components/eftposPay/tyro/index.d.ts +9 -0
  218. package/lib/components/eftposPay/utils/payLog.d.ts +81 -0
  219. package/lib/components/eftposPay/windcave/receiptAction.d.ts +22 -0
  220. package/lib/components/eftposPay/windcave/windcave.d.ts +6 -0
  221. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  222. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  223. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  224. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  225. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  226. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  227. package/lib/components/eventBooking/index.d.ts +1 -0
  228. package/lib/components/kioskSkuDetail/index.d.ts +39 -0
  229. package/lib/components/kioskSkuDetail/locales.d.ts +48 -0
  230. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
  231. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
  232. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
  233. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +16 -0
  234. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +15 -0
  235. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +83 -0
  236. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  237. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
  238. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
  239. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +22 -0
  240. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
  241. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +16 -0
  242. package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
  243. package/lib/components/pay/toC/index.d.ts +3 -0
  244. package/lib/components/pay/toC/locales.d.ts +631 -0
  245. package/lib/components/pay/toC/model.d.ts +1 -9
  246. package/lib/components/pay/toC/payGroup.d.ts +59 -0
  247. package/lib/components/pay/toC/serve.d.ts +87 -0
  248. package/lib/components/pay/toC/utils.d.ts +65 -0
  249. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  250. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  251. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  252. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  253. package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
  254. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  255. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  256. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  257. package/lib/components/productExtension/index.d.ts +1 -0
  258. package/lib/components/ruleSetting/index.d.ts +1 -0
  259. package/lib/components/ruleSetting/locales.d.ts +78 -0
  260. package/lib/components/scanOrder/components/Content/index.js +150 -41
  261. package/lib/components/scanOrder/context.js +0 -10
  262. package/lib/components/scanOrder/utils/toShoppingCartProducts.d.ts +2 -1
  263. package/lib/components/scanOrder/utils/toShoppingCartProducts.js +8 -5
  264. package/lib/components/scanOrder/utils/transformProductDetail.d.ts +2 -1
  265. package/lib/components/scanOrder/utils/transformProductDetail.js +1 -9
  266. package/lib/components/schedules/model.d.ts +1 -9
  267. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  268. package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
  269. package/lib/components/shoppingCart/index.d.ts +1 -0
  270. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
  271. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  272. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
  273. package/lib/components/ticketBooking/components/timeBar/index.d.ts +12 -0
  274. package/lib/components/ticketBooking/index.d.ts +7 -0
  275. package/lib/components/venueBooking/components/VenueSelection/components/TimeGrid.js +1 -1
  276. package/lib/components/venueBooking/context.js +14 -6
  277. package/lib/index.d.ts +87 -0
  278. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  279. package/lib/plus/pisellSalesManagement/config/booking.d.ts +6 -6
  280. package/lib/plus/pisellSalesProductCard/index.js +10 -0
  281. package/lib/plus/pisellSalesProductCard/types.d.ts +21 -1
  282. package/lib/plus/productSelect/ProductCard/ProductCardV2.js +6 -2
  283. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
  284. package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +3 -0
  285. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +15 -0
  286. package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
  287. package/lib/plus/skuOptionsSelection/locales.d.ts +58 -0
  288. package/lib/plus/skuOptionsSelection/types.d.ts +458 -0
  289. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  290. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  291. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  292. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  293. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  294. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  295. package/lib/pro/Cards/components/SKUCard/index.d.ts +5 -0
  296. package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  297. package/lib/pro/NumericStepper/index.d.ts +19 -0
  298. package/lib/pro/NumericStepper/index.js +21 -4
  299. package/package.json +1 -1
@@ -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,4 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ declare const Form: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
4
+ export default Form;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ declare const Services: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
4
+ export default Services;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const DepositModal: (props: any) => JSX.Element;
3
+ export default DepositModal;
@@ -0,0 +1,107 @@
1
+ export declare const useAppointmentBooking: () => any;
2
+ export declare const useShopDiscount: () => any;
3
+ export declare const contextUtils: () => any;
4
+ /**
5
+ * @title: 监听步骤发生变化
6
+ * @description:
7
+ * @return {*}
8
+ * @Author: WangHan
9
+ * @Date: 2025-04-15 11:11
10
+ */
11
+ export declare const useAppointmentBookingStep: () => {
12
+ getStepIndex: (type: string, skipNumber?: number) => any;
13
+ stepList: any;
14
+ removeStep: (key: string) => any;
15
+ addStep: (props: any, stepKey?: string) => any;
16
+ updateStep: (key: string, step: any) => void;
17
+ nextStep: (isLog?: boolean) => any;
18
+ };
19
+ /**
20
+ * @title: 获取商品数据
21
+ * @description:
22
+ * @return {*}
23
+ * @Author: WangHan
24
+ * @Date: 2025-04-15 11:12
25
+ */
26
+ export declare const useAppointmentBookingProduct: () => {
27
+ checkProductType: (productId: number) => Promise<any>;
28
+ getProducts: () => Promise<any>;
29
+ };
30
+ /**
31
+ * @title: 更新购物车数据
32
+ * @description:
33
+ * @return {*}
34
+ * @Author: WangHan
35
+ * @Date: 2025-04-15 11:12
36
+ */
37
+ export declare const useAppointmentBookingCart: () => void;
38
+ /**
39
+ * @title: 获取登录状态
40
+ * @description:
41
+ * @return {*}
42
+ * @Author: WangHan
43
+ * @Date: 2025-04-15 11:14
44
+ */
45
+ export declare const useAppointmentBookingLogin: () => {
46
+ isLogin: boolean;
47
+ openLoginModal: (params: {
48
+ callback: any;
49
+ }) => void;
50
+ };
51
+ /**
52
+ * @title: 获取账户
53
+ * @description:
54
+ * @return {*}
55
+ * @Author: WangHan
56
+ * @Date: 2025-04-15 11:15
57
+ */
58
+ export declare const useAppointmentBookingAccount: () => {
59
+ accountLists: any;
60
+ getHolders: () => Promise<any>;
61
+ form_id: any;
62
+ addAccount: (val: any, type?: string) => Promise<any>;
63
+ checkAccount: (type: any) => any;
64
+ };
65
+ /**
66
+ * @title: 获取资源数据
67
+ * @description:
68
+ * @return {*}
69
+ * @Author: WangHan
70
+ * @Date: 2025-04-15 11:29
71
+ */
72
+ export declare const useAppointmentBookingResource: () => {
73
+ getResourceTimeSlot: (index?: number) => Promise<void>;
74
+ getResourceList: () => {
75
+ resources: any[];
76
+ resourceCodes: any;
77
+ };
78
+ };
79
+ /**
80
+ * @title: 是否跳过资源选择步骤
81
+ * @description:
82
+ * @return {*}
83
+ * @Author: WangHan
84
+ * @Date: 2025-04-21 11:47
85
+ */
86
+ export declare const useIsSkipResourceStep: () => {
87
+ checkSkipResourceStep: () => Promise<boolean>;
88
+ };
89
+ /**
90
+ * @title: 获取预约配置
91
+ * @description:
92
+ * @return {*}
93
+ * @Author: WangHan
94
+ * @Date: 2025-04-24 18:15
95
+ */
96
+ export declare const useAppointmentBookingSetting: () => {
97
+ isDateSelectedFirst: boolean;
98
+ isFormSubject: boolean;
99
+ isRetailTemplate: any;
100
+ customPageId: any;
101
+ channel: any;
102
+ bookingSubject: any;
103
+ setOtherData: (key: string, val: any) => any;
104
+ getOtherData: (key: string) => any;
105
+ formName: any;
106
+ bookingSetting: any;
107
+ };
@@ -0,0 +1,227 @@
1
+ /**
2
+ * @title: 格式化holder表数据
3
+ * @description:
4
+ * @param {any} data
5
+ * @return {*}
6
+ * @Author: WangHan
7
+ * @Date: 2025-05-07 21:22
8
+ */
9
+ export declare const formatHolder: (data: any[]) => any[];
10
+ export declare const formatGuest: (data: any[], products: any) => any[];
11
+ /**
12
+ * @title: 格式化购物车中资源上挂接的表单数据
13
+ * @description:
14
+ * @param {any} data
15
+ * @param {any} resources
16
+ * @return {*}
17
+ * @Author: WangHan
18
+ * @Date: 2025-05-06 22:22
19
+ */
20
+ export declare const formatCartsResources: (carts: any[], resources: any[], setPolicyIds: any) => any[];
21
+ /**
22
+ * @title: 格式化购物车数据
23
+ * @description:
24
+ * @param {any} data
25
+ * @param {any} resources
26
+ * @param {any} accountLists
27
+ * @return {*}
28
+ * @Author: WangHan
29
+ * @Date: 2025-05-07 21:22
30
+ */
31
+ export declare const formatCarts: (data: any[], resources: any[], utils: any, accountLists?: any) => any[];
32
+ /**
33
+ * @title: 对资源进行排序
34
+ * @description:
35
+ * @param {any} currentResourcesMap
36
+ * @param {any} resourceSort
37
+ * @return {*}
38
+ * @Author: WangHan
39
+ * @Date: 2025-04-14 11:16
40
+ */
41
+ export declare const sortResources: (resources: any[], resourceSort: any[]) => any[] | undefined;
42
+ /**
43
+ * @title: 处理资源列表并提取资源代码
44
+ * @description: 对资源列表进行排序,并提取 resourceCodes
45
+ * @param {any[]} resources - 原始资源列表
46
+ * @param {any[]} resourceSort - 资源排序配置
47
+ * @return {*} 返回处理后的资源列表和资源代码数组
48
+ * @Author: WangHan
49
+ * @Date: 2025-11-21 15:33
50
+ */
51
+ export declare const processResourceList: (resources: any[], resourceSort: any[]) => {
52
+ resources: any[];
53
+ resourceCodes: any;
54
+ };
55
+ export declare const getMeAccount: (val: any[]) => any;
56
+ export declare const getCustomer: (utils: any) => any;
57
+ export declare const formatCustomer: (val: any) => {
58
+ id: any;
59
+ username: string;
60
+ };
61
+ export declare const formatCurrentUser: (utils: any) => {
62
+ id: any;
63
+ username: string;
64
+ };
65
+ /**
66
+ * @title: 定金合并的标点符号
67
+ * @description:
68
+ * @return {*}
69
+ * @Author: WangHan
70
+ * @Date: 2025-04-21 17:52
71
+ */
72
+ export declare const getPunctuationMark: (index: number, totalLength: number, isEn: boolean) => any;
73
+ /**
74
+ * @title: 判断当前选中的资源中是否有 resource_form_id 表单id,如果有表单则下一步是选择表单
75
+ * @description:
76
+ * @param {any} array
77
+ * @param {any} resources
78
+ * @return {*}
79
+ * @Author: WangHan
80
+ * @Date: 2025-04-25 19:05
81
+ */
82
+ export declare const hasResourceFormId: (array: any[]) => boolean | undefined;
83
+ export declare const formatForms: (array: any[]) => ({
84
+ form_id: any;
85
+ policy_id: any;
86
+ id: any;
87
+ cart_id: any;
88
+ } | null)[];
89
+ /**
90
+ * @title: 打开表单
91
+ * @description:
92
+ * @param {string} title
93
+ * @param {any} callback
94
+ * @return {*}
95
+ * @Author: WangHan
96
+ * @Date: 2025-04-26 15:26
97
+ */
98
+ export declare const openForm: ({ form_id, title, callback, utils }: any) => void;
99
+ /**
100
+ * @title: 更新数组
101
+ * @description:
102
+ * @return {*}
103
+ * @Author: WangHan
104
+ * @Date: 2025-04-26 18:13
105
+ */
106
+ export declare function updateLists<T extends Record<string, any>>(list: T[], key: string, value: any, newData: Partial<T>): T[];
107
+ /**
108
+ * @title: 更新表单存储
109
+ * @description:
110
+ * @param {any} bookingForm
111
+ * @param {number} id
112
+ * @param {any} newData
113
+ * @return {*}
114
+ * @Author: WangHan
115
+ * @Date: 2025-04-27 17:27
116
+ */
117
+ export declare const updateBookingFormStorage: (bookingForm: any, id: number | string, newData: any) => any;
118
+ export declare const Toast: (text: string) => void;
119
+ /**
120
+ * @title: 添加或移除表单步骤
121
+ * @description:
122
+ * @param {any} param1
123
+ * @return {*}
124
+ * @Author: WangHan
125
+ * @Date: 2025-05-06 21:51
126
+ */
127
+ export declare const checkHasFormStep: ({ setIsErrorHolder, nextStep, isSkip, checkHolder, checkAccount, carts, setCarts, hasResourceFormId, currentStep, stepList, appointmentBooking, locales, isLogin, openLoginModal, isFormSubject, utils, accountLists, getHolders }: any) => void;
128
+ export declare const getCartCurrentResourceData: (cart: any, currentKey: any, resources: any[]) => any;
129
+ /**
130
+ * @title: 获取购物车资源列表
131
+ * @description:
132
+ * @return {*}
133
+ * @Author: WangHan
134
+ * @Date: 2025-05-25 13:56
135
+ */
136
+ export declare const getMultiResources: (cart: any, currentSelectedResource: any, currentKey: string) => any[];
137
+ export declare const getCurrentBoard: (appointmentBooking: any, code: string) => any;
138
+ /**
139
+ * @title:
140
+ * @description: 根据资源code获取资源标题
141
+ * @param {any} appointmentBooking
142
+ * @param {string} code
143
+ * @return {*}
144
+ * @Author: WangHan
145
+ * @Date: 2025-05-24 18:51
146
+ */
147
+ export declare const getResourceTitle: (appointmentBooking: any, code: string, utils: any, originResource: any) => string;
148
+ /**
149
+ * @title: 监测购物车中是否有没有选择资源的
150
+ * @description:
151
+ * @param {any} carts
152
+ * @return {*}
153
+ * @Author: WangHan
154
+ * @Date: 2025-05-24 18:47
155
+ */
156
+ export declare const checkAndMarkCartRenderError: (carts: any, appointmentBooking?: any, utils?: any) => {
157
+ hasError: boolean;
158
+ updatedCartList: any;
159
+ } | {
160
+ hasError?: undefined;
161
+ updatedCartList?: undefined;
162
+ };
163
+ /**
164
+ * @title: 查表表单步骤插入到哪个步骤的后面的key
165
+ * @description:
166
+ * @param {string} currentKey
167
+ * @param {any} stepList
168
+ * @return {*}
169
+ * @Author: WangHan
170
+ * @Date: 2025-05-24 19:05
171
+ */
172
+ export declare const getFormInsertBeforeKey: (currentKey: string, stepList: any[]) => any;
173
+ /**
174
+ * @title: 监测holder数据
175
+ * @description:
176
+ * @param {any} isFormSubject
177
+ * @param {any} checkAccount
178
+ * @param {any} carts
179
+ * @return {*}
180
+ * @Author: WangHan
181
+ * @Date: 2025-05-24 22:46
182
+ */
183
+ export declare const checkAndGoNext: (isFormSubject: any, checkAccount: any, carts: any[]) => {
184
+ hasError: boolean;
185
+ updatedCartList: any[];
186
+ };
187
+ export declare const currentAppointmentBoard: (currentKey: string, resources: any[], appointmentBooking: any) => {
188
+ isRequired: boolean;
189
+ isSystem: boolean;
190
+ isSkip: boolean;
191
+ form_id: number;
192
+ form_code: any;
193
+ cart_id: string;
194
+ resource_form_id: string;
195
+ policy_id: string;
196
+ } | {
197
+ isRequired?: undefined;
198
+ isSystem?: undefined;
199
+ isSkip?: undefined;
200
+ form_id?: undefined;
201
+ form_code?: undefined;
202
+ cart_id?: undefined;
203
+ resource_form_id?: undefined;
204
+ policy_id?: undefined;
205
+ };
206
+ export declare const currentRenderLists: (resources: any[], code: any) => any;
207
+ /**
208
+ * @title: 更新购物车
209
+ * @description:
210
+ * @param {any} carts
211
+ * @param {any} value
212
+ * @return {*}
213
+ * @Author: WangHan
214
+ * @Date: 2025-05-25 23:17
215
+ */
216
+ export declare const updateCartResources: (item: any, value?: any, currentSelectedResources?: any) => any;
217
+ /**
218
+ * @title: 根据步骤key清空数据
219
+ * @param {string} key - 当前步骤的key
220
+ * @param {any} appointmentBooking - 预约预订实例
221
+ * @param {(times: any[]) => void} setTimes - 设置时间列表的回调函数
222
+ * @return {string[]} 返回需要清空的数据类型数组
223
+ * @Author: WangHan
224
+ * @Date: 2025-11-21 15:40
225
+ */
226
+ export declare const clearDataByStepKey: (key: string, appointmentBooking: any, setTimes?: ((times: any[]) => void) | undefined) => string[] | undefined;
227
+ export declare const nextStepLog: (utils: any, title: string, content?: any) => void;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -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,47 @@
1
+ /**
2
+ * @title: 套餐单规格信息
3
+ * @description:
4
+ * @param {any} option
5
+ * @return {*}
6
+ * @Author: zhiwei.Wang
7
+ * @Date: 2024-02-19 09:26
8
+ */
9
+ export declare const formatProductOption: (option: any) => any;
10
+ /**
11
+ * @title: 套餐信息
12
+ * @description:
13
+ * @param {any} bundle
14
+ * @return {*}
15
+ * @Author: zhiwei.Wang
16
+ * @Date: 2024-02-19 09:26
17
+ */
18
+ export declare const formatProductBundle: (bundle: any) => any;
19
+ /**
20
+ * 获取子商品折扣信息
21
+ * @param item
22
+ */
23
+ export declare const getBundleDiscountList: (bundle: any[]) => any[];
24
+ export interface ResourceItem {
25
+ [key: string]: any;
26
+ }
27
+ /**
28
+ * @title: 传入资源,如果有子资源,会根据组合资源的 capacity 计算修改子资源的 capacity
29
+ * @description:
30
+ * @param {object} resource
31
+ * @return {*}
32
+ * @Author: jinglin.tan
33
+ */
34
+ export declare const checkSubResourcesCapacity: (resource: ResourceItem) => void;
35
+ export declare const checkResourcesFormat: (resources: any[], service: any, isChild?: boolean) => any[];
36
+ /**
37
+ * @title: 格式化商品单价
38
+ * @description:
39
+ * @param {any} item
40
+ * @return {*}
41
+ * @Author: WangHan
42
+ * @Date: 2024-12-23 12:05
43
+ */
44
+ export declare const formatProductPrice: (item: any) => number;
45
+ export declare const getMainProductSellingPrice: (item: any) => number | undefined;
46
+ export declare const formatValues: (state: any) => any;
47
+ export declare const checkHolderIsError: (state: any) => any;
@@ -0,0 +1,8 @@
1
+ import './index.less';
2
+ interface IProps {
3
+ modal: any;
4
+ onReload: () => Promise<any>;
5
+ onCancel: () => void;
6
+ }
7
+ declare const ReloadResourceModal: ({ modal, onReload, onCancel }: IProps) => JSX.Element;
8
+ export default ReloadResourceModal;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const VoucherCard: (props: any) => JSX.Element | null;
3
+ export default VoucherCard;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Deposit: (props: any) => JSX.Element;
2
3
  export default Deposit;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  /**
3
4
  * @title: 表单选择器
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface AddServiceVariantProps {
2
3
  globalState: any;
3
4
  setGlobalState: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FormState } from '../../../model';
2
3
  interface useClientFnParams {
3
4
  state: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  export declare const updateServiceDate: (services: any[], date: any, isTime: boolean) => any[];
3
4
  declare const DateCom: () => JSX.Element;
@@ -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>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InfoProps } from './main';
2
3
  declare const APP: (props: InfoProps) => JSX.Element;
3
4
  export default APP;
@@ -1,14 +1,5 @@
1
- /// <reference types="react" />
2
- import { FormState } from '../model';
3
1
  export declare const walkInData: {
4
2
  id: number;
5
3
  nickname: string;
6
4
  };
7
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
8
- state: FormState;
9
- } & {
10
- dispatch: (params: {
11
- type: string;
12
- payload: any;
13
- }) => void;
14
- }>;
5
+ export declare const Provider: any, Context: any;
@@ -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 }: any) => JSX.Element;
2
3
  export default Lists;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const Actions: ({ currentService }: {
3
4
  currentService: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PisellDrawerProps } from '../../../components/drawer';
2
3
  import './index.less';
3
4
  interface AddServiceProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const AddTimeModal: () => JSX.Element;
3
4
  export default AddTimeModal;
@@ -0,0 +1 @@
1
+ export declare const getIsPartyRoomResourceShop: (id: number) => boolean;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface EditServiceRef {
4
+ init: (cacheItem?: any, open?: boolean, openEditProduct?: boolean) => void;
5
+ }
6
+ declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
7
+ export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ServiceList: ({ onEdit }: {
3
4
  onEdit: any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Lists: ({ onEdit, onChange }: any) => JSX.Element;
2
3
  export default Lists;