@pisell/private-materials 3.4.99 → 3.4.100

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 (515) 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/components/Sales/Cart/index.d.ts +53 -0
  8. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
  9. package/es/components/appointmentBooking/components/Content/index.d.ts +0 -1
  10. package/es/components/appointmentBooking/components/Header/index.d.ts +0 -1
  11. package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
  12. package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -1
  13. package/es/components/appointmentBooking/hooks.js +20 -27
  14. package/es/components/appointmentBooking/index.d.ts +3 -0
  15. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  16. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  17. package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  18. package/es/components/booking/addons/index.d.ts +17 -0
  19. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  20. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  21. package/es/components/booking/components/customSelect/index.d.ts +38 -0
  22. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  23. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  24. package/es/components/booking/components/footer/amount.d.ts +25 -0
  25. package/es/components/booking/components/footer/index.d.ts +11 -0
  26. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  27. package/es/components/booking/components/tabPane/index.d.ts +4 -0
  28. package/es/components/booking/dashboard/serve.d.ts +1 -0
  29. package/es/components/booking/deposit/ClientItem/index.d.ts +18 -0
  30. package/es/components/booking/deposit/DepositItem/index.d.ts +25 -0
  31. package/es/components/booking/deposit/index.d.ts +3 -0
  32. package/es/components/booking/editBookingModal/utils.d.ts +12 -0
  33. package/es/components/booking/forms/forms.d.ts +30 -0
  34. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  35. package/es/components/booking/forms/serve.d.ts +18 -0
  36. package/es/components/booking/forms/table/index.d.ts +0 -1
  37. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  38. package/es/components/booking/info/addServiceVariant/index.d.ts +7 -0
  39. package/es/components/booking/info/client/index.d.ts +4 -0
  40. package/es/components/booking/info/client/serve.d.ts +2 -0
  41. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  42. package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
  43. package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
  44. package/es/components/booking/info/date/index.d.ts +5 -0
  45. package/es/components/booking/info/header/index.d.ts +3 -0
  46. package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  47. package/es/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
  48. package/es/components/booking/info/index.d.ts +4 -0
  49. package/es/components/booking/info/main.d.ts +12 -0
  50. package/es/components/booking/info/model.d.ts +5 -0
  51. package/es/components/booking/info/pet/index.d.ts +14 -0
  52. package/es/components/booking/info/pet/serve.d.ts +1 -0
  53. package/es/components/booking/info/service/Lists.d.ts +3 -0
  54. package/es/components/booking/info/service/addService/index.d.ts +12 -0
  55. package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  56. package/es/components/booking/info/service/like/index.d.ts +0 -1
  57. package/es/components/booking/info/service/serve.d.ts +20 -0
  58. package/es/components/booking/info/service/serviceList/index.d.ts +6 -0
  59. package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
  60. package/es/components/booking/info/service2/Group/utils.d.ts +14 -0
  61. package/es/components/booking/info/service2/Lists.d.ts +3 -0
  62. package/es/components/booking/info/service2/utils.d.ts +248 -0
  63. package/es/components/booking/info/utils.d.ts +50 -0
  64. package/es/components/booking/info2/index.d.ts +12 -0
  65. package/es/components/booking/info2/serve.d.ts +6 -0
  66. package/es/components/booking/info2/service/addService/index.d.ts +11 -0
  67. package/es/components/booking/info2/service/addService/utils.d.ts +98 -0
  68. package/es/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
  69. package/es/components/booking/info2/service/editService/Capacity/index.d.ts +4 -0
  70. package/es/components/booking/info2/service/editService/utils.d.ts +28 -0
  71. package/es/components/booking/info2/service/index.d.ts +4 -0
  72. package/es/components/booking/info2/service/serviceList/index.d.ts +6 -0
  73. package/es/components/booking/info2/utilsByBooking.d.ts +35 -0
  74. package/es/components/booking/locales.d.ts +1485 -0
  75. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  76. package/es/components/booking/model.d.ts +111 -0
  77. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  78. package/es/components/booking/notes/addNote/index.d.ts +3 -0
  79. package/es/components/booking/utils.d.ts +175 -0
  80. package/es/components/ecocup/components/CupInfoCard/index.d.ts +0 -1
  81. package/es/components/ecocup/components/CustomerCard/index.d.ts +0 -1
  82. package/es/components/ecocup/cupList/const.d.ts +140 -0
  83. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  84. package/es/components/eftpos/form/index.d.ts +0 -1
  85. package/es/components/eftpos/group/index.d.ts +0 -1
  86. package/es/components/eftpos/hooks.d.ts +0 -1
  87. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  88. package/es/components/eftpos/icon/device.d.ts +0 -1
  89. package/es/components/eftpos/index.d.ts +0 -1
  90. package/es/components/eftpos/pos.d.ts +0 -1
  91. package/es/components/eftpos/receipt/index.d.ts +0 -1
  92. package/es/components/eftpos/surcharge/index.d.ts +0 -1
  93. package/es/components/eftposPay/amount.d.ts +21 -0
  94. package/es/components/eftposPay/app.d.ts +11 -0
  95. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  96. package/es/components/eftposPay/component/fail/failCustom.d.ts +4 -0
  97. package/es/components/eftposPay/component/fail/index.d.ts +3 -0
  98. package/es/components/eftposPay/component/fail/network.d.ts +8 -0
  99. package/es/components/eftposPay/component/fail/unknow.d.ts +9 -0
  100. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  101. package/es/components/eftposPay/component/manual/index.d.ts +9 -0
  102. package/es/components/eftposPay/component/signature/index.d.ts +8 -0
  103. package/es/components/eftposPay/component/step/index.d.ts +0 -1
  104. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  105. package/es/components/eftposPay/const.d.ts +186 -0
  106. package/es/components/eftposPay/device.d.ts +24 -0
  107. package/es/components/eftposPay/index.d.ts +5 -0
  108. package/es/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
  109. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  110. package/es/components/eftposPay/linkly/index.d.ts +3 -0
  111. package/es/components/eftposPay/locales.d.ts +572 -0
  112. package/es/components/eftposPay/manufacturer.d.ts +7 -0
  113. package/es/components/eftposPay/pay.d.ts +21 -0
  114. package/es/components/eftposPay/payo/config.d.ts +12 -0
  115. package/es/components/eftposPay/payo/hooks.d.ts +10 -0
  116. package/es/components/eftposPay/payo/payment.d.ts +66 -0
  117. package/es/components/eftposPay/tip.d.ts +9 -0
  118. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  119. package/es/components/eftposPay/tyro/index.d.ts +9 -0
  120. package/es/components/eftposPay/utils/payLog.d.ts +81 -0
  121. package/es/components/eftposPay/windcave/receiptAction.d.ts +22 -0
  122. package/es/components/eftposPay/windcave/windcave.d.ts +6 -0
  123. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  124. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  125. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  126. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  127. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  128. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  129. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  130. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  131. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  132. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  133. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  134. package/es/components/eventBooking/index.d.ts +0 -1
  135. package/es/components/index.d.ts +23 -0
  136. package/es/components/login/index.d.ts +0 -1
  137. package/es/components/pay/toC/PaymentList/serve.d.ts +28 -0
  138. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +23 -0
  139. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  140. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
  141. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  142. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  143. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
  144. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
  145. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
  146. package/es/components/pay/toC/locales.d.ts +631 -0
  147. package/es/components/pay/toC/model.d.ts +32 -0
  148. package/es/components/pay/toC/payGroup.d.ts +59 -0
  149. package/es/components/pay/toC/serve.d.ts +87 -0
  150. package/es/components/pay/toC/utils.d.ts +65 -0
  151. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  152. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  153. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
  154. package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  155. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  156. package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  157. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  158. package/es/components/schedules/calendar/index.d.ts +0 -1
  159. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  160. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  161. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  162. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  163. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  164. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  165. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  166. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  167. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  168. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  169. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  170. package/es/components/schedules/products/index.d.ts +0 -1
  171. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  172. package/es/components/schedules/products/list/index.d.ts +0 -1
  173. package/es/components/schedules/resources/index.d.ts +0 -1
  174. package/es/components/schedules/resources/list/index.d.ts +0 -1
  175. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  176. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  177. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  178. package/es/components/schedules/schedules/index.d.ts +0 -1
  179. package/es/components/shoppingCart/Provider.d.ts +3 -0
  180. package/es/components/shoppingCart/locales.d.ts +53 -0
  181. package/es/components/shoppingCart/mock.d.ts +40 -0
  182. package/es/components/shoppingCart/type.d.ts +48 -0
  183. package/es/components/shoppingCart/utils.d.ts +63 -0
  184. package/es/components/subTotal/locales.d.ts +68 -0
  185. package/es/components/systemSettings/registry/locales.d.ts +544 -0
  186. package/es/components/systemSettings/registry/services.d.ts +99 -0
  187. package/es/components/systemSettings/registry/types.d.ts +145 -0
  188. package/es/components/taxSelect/index.d.ts +0 -1
  189. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
  190. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
  191. package/es/components/ticketBooking/index.d.ts +7 -0
  192. package/es/components/ticketBooking/locales.d.ts +304 -0
  193. package/es/components/ticketBooking/miniRedux.d.ts +22 -0
  194. package/es/components/ticketBooking/serve.d.ts +287 -0
  195. package/es/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
  196. package/es/components/ticketBooking/utils/index.d.ts +25 -0
  197. package/es/hooks/useEngineContext.d.ts +11 -0
  198. package/es/hooks/usePaymentLogger.d.ts +0 -1
  199. package/es/hooks/useWindowSize.d.ts +5 -0
  200. package/es/index.d.ts +83 -0
  201. package/es/plus/clientName/index.d.ts +0 -1
  202. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
  203. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
  204. package/es/plus/clinetSearch/index.d.ts +18 -0
  205. package/es/plus/orderList/config.d.ts +2 -2
  206. package/es/plus/orderList/locales.d.ts +618 -0
  207. package/es/plus/pisellSalesGrid/PisellSalesGrid.stories.d.ts +14 -0
  208. package/es/plus/pisellSalesGrid/serve.d.ts +19 -0
  209. package/es/plus/pisellSalesGrid/types.d.ts +170 -0
  210. package/es/plus/pisellSalesManagement/components/ResourceSelector.d.ts +9 -0
  211. package/es/plus/pisellSalesManagement/config/booking.d.ts +185 -0
  212. package/es/plus/pisellSalesManagement/config/order.d.ts +172 -0
  213. package/es/plus/productSelect/CategoryTabs/index.d.ts +21 -0
  214. package/es/plus/productSelect/ProductCard/ProductCardSkeleton.d.ts +10 -0
  215. package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
  216. package/es/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  217. package/es/plus/productSelect/ProductList/index.d.ts +22 -0
  218. package/es/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  219. package/es/plus/saasCreateOrganization/index.d.ts +0 -1
  220. package/es/plus/saasDevice/devicePlanning/constants.d.ts +9 -0
  221. package/es/plus/saasDevice/devicePlanning/hooks.d.ts +1 -0
  222. package/es/plus/saasDevice/devicePlanning/locales.d.ts +483 -0
  223. package/es/plus/saasDevice/devicePlanning/serve.d.ts +19 -0
  224. package/es/plus/saasDevice/devicePlanning/types.d.ts +138 -0
  225. package/es/plus/saasDevice/deviceProfile/components/ProfileSetting/utils.d.ts +1 -0
  226. package/es/plus/saasDevice/deviceProfile/components/UnsavedConfirmModal/index.d.ts +2 -0
  227. package/es/plus/saasDevice/deviceProfile/hooks.d.ts +1 -0
  228. package/es/plus/saasDevice/deviceProfile/locales.d.ts +383 -0
  229. package/es/plus/saasDevice/deviceProfile/serve.d.ts +38 -0
  230. package/es/plus/saasDevice/deviceProfile/types.d.ts +190 -0
  231. package/es/plus/saasDevice/index.d.ts +0 -0
  232. package/es/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  233. package/es/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  234. package/es/plus/saasRegister/components/GoLogin.d.ts +0 -1
  235. package/es/plus/saasRegister/components/Header.d.ts +0 -1
  236. package/es/plus/saasRegister/components/VerifyError.d.ts +0 -1
  237. package/es/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  238. package/es/plus/selectHolder/locales.d.ts +35 -0
  239. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
  240. package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +0 -1
  241. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +3 -0
  242. package/es/plus/skuOptionsSelection/index.d.ts +5 -0
  243. package/es/plus/skuOptionsSelection/locales.d.ts +53 -0
  244. package/es/plus/skuOptionsSelection/types.d.ts +443 -0
  245. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  246. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  247. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  248. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  249. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  250. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  251. package/es/plus/walletEditor/components/relationProduct/index.d.ts +0 -1
  252. package/es/plus/walletPassGallery/components/passDetail/index.js +8 -1
  253. package/es/plus/walletPassGallery/locales.d.ts +488 -0
  254. package/es/plus/walletPassGallery/locales.js +14 -5
  255. package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  256. package/es/pro/NumericStepper/index.d.ts +73 -0
  257. package/es/pro/Selector/demo.d.ts +0 -1
  258. package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  259. package/es/pro/pisellNumberSelector/example.d.ts +3 -0
  260. package/es/pro/pisellPaymentList/example.d.ts +0 -1
  261. package/lib/components/Sales/Cart/index.d.ts +53 -0
  262. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
  263. package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -1
  264. package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -1
  265. package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
  266. package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -1
  267. package/lib/components/appointmentBooking/hooks.js +1 -8
  268. package/lib/components/appointmentBooking/index.d.ts +3 -0
  269. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  270. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  271. package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  272. package/lib/components/booking/addons/index.d.ts +17 -0
  273. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  274. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  275. package/lib/components/booking/components/customSelect/index.d.ts +38 -0
  276. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  277. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  278. package/lib/components/booking/components/footer/amount.d.ts +25 -0
  279. package/lib/components/booking/components/footer/index.d.ts +11 -0
  280. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  281. package/lib/components/booking/components/tabPane/index.d.ts +4 -0
  282. package/lib/components/booking/dashboard/serve.d.ts +1 -0
  283. package/lib/components/booking/deposit/ClientItem/index.d.ts +18 -0
  284. package/lib/components/booking/deposit/DepositItem/index.d.ts +25 -0
  285. package/lib/components/booking/deposit/index.d.ts +3 -0
  286. package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
  287. package/lib/components/booking/forms/forms.d.ts +30 -0
  288. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  289. package/lib/components/booking/forms/serve.d.ts +18 -0
  290. package/lib/components/booking/forms/table/index.d.ts +0 -1
  291. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  292. package/lib/components/booking/info/addServiceVariant/index.d.ts +7 -0
  293. package/lib/components/booking/info/client/index.d.ts +4 -0
  294. package/lib/components/booking/info/client/serve.d.ts +2 -0
  295. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  296. package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
  297. package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
  298. package/lib/components/booking/info/date/index.d.ts +5 -0
  299. package/lib/components/booking/info/header/index.d.ts +3 -0
  300. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  301. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
  302. package/lib/components/booking/info/index.d.ts +4 -0
  303. package/lib/components/booking/info/main.d.ts +12 -0
  304. package/lib/components/booking/info/model.d.ts +5 -0
  305. package/lib/components/booking/info/pet/index.d.ts +14 -0
  306. package/lib/components/booking/info/pet/serve.d.ts +1 -0
  307. package/lib/components/booking/info/service/Lists.d.ts +3 -0
  308. package/lib/components/booking/info/service/addService/index.d.ts +12 -0
  309. package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  310. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  311. package/lib/components/booking/info/service/serve.d.ts +20 -0
  312. package/lib/components/booking/info/service/serviceList/index.d.ts +6 -0
  313. package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
  314. package/lib/components/booking/info/service2/Group/utils.d.ts +14 -0
  315. package/lib/components/booking/info/service2/Lists.d.ts +3 -0
  316. package/lib/components/booking/info/service2/utils.d.ts +248 -0
  317. package/lib/components/booking/info/utils.d.ts +50 -0
  318. package/lib/components/booking/info2/index.d.ts +12 -0
  319. package/lib/components/booking/info2/serve.d.ts +6 -0
  320. package/lib/components/booking/info2/service/addService/index.d.ts +11 -0
  321. package/lib/components/booking/info2/service/addService/utils.d.ts +98 -0
  322. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
  323. package/lib/components/booking/info2/service/editService/Capacity/index.d.ts +4 -0
  324. package/lib/components/booking/info2/service/editService/utils.d.ts +28 -0
  325. package/lib/components/booking/info2/service/index.d.ts +4 -0
  326. package/lib/components/booking/info2/service/serviceList/index.d.ts +6 -0
  327. package/lib/components/booking/info2/utilsByBooking.d.ts +35 -0
  328. package/lib/components/booking/locales.d.ts +1485 -0
  329. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  330. package/lib/components/booking/model.d.ts +111 -0
  331. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  332. package/lib/components/booking/notes/addNote/index.d.ts +3 -0
  333. package/lib/components/booking/utils.d.ts +175 -0
  334. package/lib/components/ecocup/components/CupInfoCard/index.d.ts +0 -1
  335. package/lib/components/ecocup/components/CustomerCard/index.d.ts +0 -1
  336. package/lib/components/ecocup/cupList/const.d.ts +140 -0
  337. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  338. package/lib/components/eftpos/form/index.d.ts +0 -1
  339. package/lib/components/eftpos/group/index.d.ts +0 -1
  340. package/lib/components/eftpos/hooks.d.ts +0 -1
  341. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  342. package/lib/components/eftpos/icon/device.d.ts +0 -1
  343. package/lib/components/eftpos/index.d.ts +0 -1
  344. package/lib/components/eftpos/pos.d.ts +0 -1
  345. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  346. package/lib/components/eftpos/surcharge/index.d.ts +0 -1
  347. package/lib/components/eftposPay/amount.d.ts +21 -0
  348. package/lib/components/eftposPay/app.d.ts +11 -0
  349. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  350. package/lib/components/eftposPay/component/fail/failCustom.d.ts +4 -0
  351. package/lib/components/eftposPay/component/fail/index.d.ts +3 -0
  352. package/lib/components/eftposPay/component/fail/network.d.ts +8 -0
  353. package/lib/components/eftposPay/component/fail/unknow.d.ts +9 -0
  354. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  355. package/lib/components/eftposPay/component/manual/index.d.ts +9 -0
  356. package/lib/components/eftposPay/component/signature/index.d.ts +8 -0
  357. package/lib/components/eftposPay/component/step/index.d.ts +0 -1
  358. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  359. package/lib/components/eftposPay/const.d.ts +186 -0
  360. package/lib/components/eftposPay/device.d.ts +24 -0
  361. package/lib/components/eftposPay/index.d.ts +5 -0
  362. package/lib/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
  363. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  364. package/lib/components/eftposPay/linkly/index.d.ts +3 -0
  365. package/lib/components/eftposPay/locales.d.ts +572 -0
  366. package/lib/components/eftposPay/manufacturer.d.ts +7 -0
  367. package/lib/components/eftposPay/pay.d.ts +21 -0
  368. package/lib/components/eftposPay/payo/config.d.ts +12 -0
  369. package/lib/components/eftposPay/payo/hooks.d.ts +10 -0
  370. package/lib/components/eftposPay/payo/payment.d.ts +66 -0
  371. package/lib/components/eftposPay/tip.d.ts +9 -0
  372. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  373. package/lib/components/eftposPay/tyro/index.d.ts +9 -0
  374. package/lib/components/eftposPay/utils/payLog.d.ts +81 -0
  375. package/lib/components/eftposPay/windcave/receiptAction.d.ts +22 -0
  376. package/lib/components/eftposPay/windcave/windcave.d.ts +6 -0
  377. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  378. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  379. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  380. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  381. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  382. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  383. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  384. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  385. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  386. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  387. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  388. package/lib/components/eventBooking/index.d.ts +0 -1
  389. package/lib/components/index.d.ts +23 -0
  390. package/lib/components/login/index.d.ts +0 -1
  391. package/lib/components/pay/toC/PaymentList/serve.d.ts +28 -0
  392. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +23 -0
  393. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  394. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
  395. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  396. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  397. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
  398. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
  399. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
  400. package/lib/components/pay/toC/locales.d.ts +631 -0
  401. package/lib/components/pay/toC/model.d.ts +32 -0
  402. package/lib/components/pay/toC/payGroup.d.ts +59 -0
  403. package/lib/components/pay/toC/serve.d.ts +87 -0
  404. package/lib/components/pay/toC/utils.d.ts +65 -0
  405. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  406. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  407. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
  408. package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  409. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  410. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  411. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  412. package/lib/components/schedules/calendar/index.d.ts +0 -1
  413. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  414. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  415. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  416. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  417. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  418. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  419. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  420. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  421. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  422. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  423. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  424. package/lib/components/schedules/products/index.d.ts +0 -1
  425. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  426. package/lib/components/schedules/products/list/index.d.ts +0 -1
  427. package/lib/components/schedules/resources/index.d.ts +0 -1
  428. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  429. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  430. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  431. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  432. package/lib/components/schedules/schedules/index.d.ts +0 -1
  433. package/lib/components/shoppingCart/Provider.d.ts +3 -0
  434. package/lib/components/shoppingCart/locales.d.ts +53 -0
  435. package/lib/components/shoppingCart/mock.d.ts +40 -0
  436. package/lib/components/shoppingCart/type.d.ts +48 -0
  437. package/lib/components/shoppingCart/utils.d.ts +63 -0
  438. package/lib/components/subTotal/locales.d.ts +68 -0
  439. package/lib/components/systemSettings/registry/locales.d.ts +544 -0
  440. package/lib/components/systemSettings/registry/services.d.ts +99 -0
  441. package/lib/components/systemSettings/registry/types.d.ts +145 -0
  442. package/lib/components/taxSelect/index.d.ts +0 -1
  443. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
  444. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
  445. package/lib/components/ticketBooking/index.d.ts +7 -0
  446. package/lib/components/ticketBooking/locales.d.ts +304 -0
  447. package/lib/components/ticketBooking/miniRedux.d.ts +22 -0
  448. package/lib/components/ticketBooking/serve.d.ts +287 -0
  449. package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
  450. package/lib/components/ticketBooking/utils/index.d.ts +25 -0
  451. package/lib/hooks/useEngineContext.d.ts +11 -0
  452. package/lib/hooks/usePaymentLogger.d.ts +0 -1
  453. package/lib/hooks/useWindowSize.d.ts +5 -0
  454. package/lib/index.d.ts +83 -0
  455. package/lib/plus/clientName/index.d.ts +0 -1
  456. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
  457. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
  458. package/lib/plus/clinetSearch/index.d.ts +18 -0
  459. package/lib/plus/orderList/config.d.ts +2 -2
  460. package/lib/plus/orderList/locales.d.ts +618 -0
  461. package/lib/plus/pisellSalesGrid/PisellSalesGrid.stories.d.ts +14 -0
  462. package/lib/plus/pisellSalesGrid/serve.d.ts +19 -0
  463. package/lib/plus/pisellSalesGrid/types.d.ts +170 -0
  464. package/lib/plus/pisellSalesManagement/components/ResourceSelector.d.ts +9 -0
  465. package/lib/plus/pisellSalesManagement/config/booking.d.ts +185 -0
  466. package/lib/plus/pisellSalesManagement/config/order.d.ts +172 -0
  467. package/lib/plus/productSelect/CategoryTabs/index.d.ts +21 -0
  468. package/lib/plus/productSelect/ProductCard/ProductCardSkeleton.d.ts +10 -0
  469. package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
  470. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  471. package/lib/plus/productSelect/ProductList/index.d.ts +22 -0
  472. package/lib/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  473. package/lib/plus/saasCreateOrganization/index.d.ts +0 -1
  474. package/lib/plus/saasDevice/devicePlanning/constants.d.ts +9 -0
  475. package/lib/plus/saasDevice/devicePlanning/hooks.d.ts +1 -0
  476. package/lib/plus/saasDevice/devicePlanning/locales.d.ts +483 -0
  477. package/lib/plus/saasDevice/devicePlanning/serve.d.ts +19 -0
  478. package/lib/plus/saasDevice/devicePlanning/types.d.ts +138 -0
  479. package/lib/plus/saasDevice/deviceProfile/components/ProfileSetting/utils.d.ts +1 -0
  480. package/lib/plus/saasDevice/deviceProfile/components/UnsavedConfirmModal/index.d.ts +2 -0
  481. package/lib/plus/saasDevice/deviceProfile/hooks.d.ts +1 -0
  482. package/lib/plus/saasDevice/deviceProfile/locales.d.ts +383 -0
  483. package/lib/plus/saasDevice/deviceProfile/serve.d.ts +38 -0
  484. package/lib/plus/saasDevice/deviceProfile/types.d.ts +190 -0
  485. package/lib/plus/saasDevice/index.d.ts +0 -0
  486. package/lib/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  487. package/lib/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  488. package/lib/plus/saasRegister/components/GoLogin.d.ts +0 -1
  489. package/lib/plus/saasRegister/components/Header.d.ts +0 -1
  490. package/lib/plus/saasRegister/components/VerifyError.d.ts +0 -1
  491. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  492. package/lib/plus/selectHolder/locales.d.ts +35 -0
  493. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
  494. package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +0 -1
  495. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +3 -0
  496. package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
  497. package/lib/plus/skuOptionsSelection/locales.d.ts +53 -0
  498. package/lib/plus/skuOptionsSelection/types.d.ts +443 -0
  499. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  500. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  501. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  502. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  503. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  504. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  505. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +0 -1
  506. package/lib/plus/walletPassGallery/components/passDetail/index.js +4 -0
  507. package/lib/plus/walletPassGallery/locales.d.ts +488 -0
  508. package/lib/plus/walletPassGallery/locales.js +14 -5
  509. package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  510. package/lib/pro/NumericStepper/index.d.ts +73 -0
  511. package/lib/pro/Selector/demo.d.ts +0 -1
  512. package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  513. package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
  514. package/lib/pro/pisellPaymentList/example.d.ts +0 -1
  515. package/package.json +3 -3
@@ -0,0 +1,59 @@
1
+ import { PayGroup } from './model';
2
+ /**
3
+ * 生成 `/h5/core/stash` 的 token:前缀 + 订单号
4
+ */
5
+ export declare const buildPayGroupStashToken: (orderId: string) => string;
6
+ /**
7
+ * @title: 同步交易组到storage
8
+ * @description:
9
+ * @param {PayGroup} payGroup
10
+ * @return {*}
11
+ * @Author: zhiwei.Wang
12
+ * @Date: 2024-08-16 10:40
13
+ */
14
+ export declare const syncPayGroupToStorage: (payGroup: PayGroup) => void;
15
+ /**
16
+ * @title: 通过订单id获取交易组
17
+ * @description:
18
+ * @param {string} orderId
19
+ * @return {*}
20
+ * @Author: zhiwei.Wang
21
+ * @Date: 2024-08-16 10:40
22
+ */
23
+ export declare const getPayGroupFromStorage: (orderId: string) => PayGroup | null;
24
+ /**
25
+ * @title: 删除交易组
26
+ * @description:
27
+ * @param {string} orderId
28
+ * @return {*}
29
+ * @Author: zhiwei.Wang
30
+ * @Date: 2024-08-16 10:40
31
+ */
32
+ export declare const removePayGroupFromStorage: (orderId: string) => void;
33
+ /**
34
+ * @title: 获取交易组参数
35
+ * @description:
36
+ * @param {string} orderId
37
+ * @param {any} rest
38
+ * @return {*}
39
+ * @Author: zhiwei.Wang
40
+ * @Date: 2024-08-16 10:40
41
+ */
42
+ export declare const getPayGroupParamsFromStorage: (orderId: string, rest?: any) => any;
43
+ /**
44
+ * @title: 通过订单id设置交易号
45
+ * @description: 合并 pay_number 后调用 `/h5/core/stash` 最多 3 次;无论 stash 成败均写入 localStorage
46
+ * @param {string} orderId
47
+ * @param {string} payNumber
48
+ * @param {string} [token] 引擎 utils.token.get(),写入 stash 的 data.token
49
+ * @Author: zhiwei.Wang
50
+ * @Date: 2024-08-16 10:41
51
+ */
52
+ export declare const setPayNumber: (orderId: string, payNumber: string, token?: string) => Promise<void>;
53
+ /**
54
+ * @title: 清除服务端暂存
55
+ * @description:
56
+ * @param {string} orderId
57
+ * @return {*}
58
+ */
59
+ export declare const clearStashPayGroup: (orderId: string) => Promise<void>;
@@ -0,0 +1,87 @@
1
+ export declare const getPaymentList: (values: any) => Promise<{
2
+ message: string;
3
+ status: string;
4
+ paymentList?: undefined;
5
+ } | {
6
+ message: string;
7
+ status: string;
8
+ paymentList: any;
9
+ }>;
10
+ /**
11
+ * @title: 聚合接口, 根据订单 返回支付列表和钱包
12
+ * @description:
13
+ * @param {object} values
14
+ * @return {*}
15
+ * @Author: zhiwei.Wang
16
+ * @Date: 2024-08-15 11:52
17
+ */
18
+ export declare const getPaymentsAndWalletPass: (values: {
19
+ order_id: string;
20
+ total_amount: number;
21
+ sale_channel: string;
22
+ }) => Promise<any>;
23
+ /**
24
+ * @title: 初始化交易组
25
+ * @description:
26
+ * @param {object} values
27
+ * @return {*}
28
+ * @Author: zhiwei.Wang
29
+ * @Date: 2024-08-16 10:42
30
+ */
31
+ export declare const getPaymentInit: (values: {
32
+ order_id?: string;
33
+ amount?: number;
34
+ }) => Promise<any>;
35
+ /**
36
+ * @title: 获取钱包名称和弹窗状态
37
+ * @description:
38
+ * @param {object} values
39
+ * @return {*}
40
+ * @Author: shengjie.zuo
41
+ * @member: 马天宇
42
+ * @Date: 2025-02-21 10:42
43
+ */
44
+ export declare const getWalletNameAndPopupStatus: (values: {
45
+ setting_type?: string;
46
+ }) => Promise<{
47
+ wallet: {
48
+ name?: {
49
+ en: string;
50
+ 'zh-CN': string;
51
+ 'zh-HK': string;
52
+ 'ja': string;
53
+ 'pt': string;
54
+ };
55
+ };
56
+ wallet_setting: {
57
+ popup_status?: 1 | 0;
58
+ };
59
+ }>;
60
+ /**
61
+ * @title: 获取支付结果
62
+ * @description: 获取支付结果
63
+ */
64
+ export declare const getPaymentResult: (values: any) => Promise<any>;
65
+ /**
66
+ * @title: 检测订单是否有正在处理中的交易
67
+ * @param {object} values - { order_id: string }
68
+ * @return {Promise<{ has_pending: boolean }>}
69
+ */
70
+ export declare const checkPendingPayment: (values: {
71
+ order_id: string;
72
+ }) => Promise<{
73
+ has_pending: boolean;
74
+ }>;
75
+ /** `/h5/core/stash` 请求体 */
76
+ export interface CoreStashParams {
77
+ /** 缓存 key,由前端生成 */
78
+ token: string;
79
+ /** 暂存数据,如完整 PayGroup */
80
+ data: unknown;
81
+ /** 生命周期(秒),默认 86400(1 天) */
82
+ ttl?: number;
83
+ }
84
+ /**
85
+ * 调用服务端暂存接口,写入 payGroup 等数据。
86
+ */
87
+ export declare const postCoreStash: (params: CoreStashParams) => Promise<void>;
@@ -0,0 +1,65 @@
1
+ import { PayGroup } from "./model";
2
+ import { WalletPassDataType } from "./PaymentMethods/WalletPass/serve";
3
+ /**
4
+ * 计算walletPass列表数据的总金额
5
+ * @param list
6
+ */
7
+ export declare const calcWalletPassListAmount: (list: any[]) => any;
8
+ /**
9
+ * 将walletPass列表数据转换为prepare_payments需要的数据格式
10
+ * @param list
11
+ */
12
+ export declare const formatWalletPassList2PreparePayments: (list?: any[]) => {
13
+ voucher_id: any;
14
+ amount: number;
15
+ tag: any;
16
+ }[];
17
+ /**
18
+ * walletPass支付params
19
+ * @param payGroup
20
+ */
21
+ export declare const formatWalletPassParams: (payGroup: PayGroup) => {
22
+ order_id: string;
23
+ payment_group_id: number;
24
+ payments: {
25
+ amount: string;
26
+ wallet_pass_use_value: any;
27
+ voucher_id: any;
28
+ tag: any;
29
+ wallet_pass_usage_unit: any;
30
+ metadata: {
31
+ unique_payment_number: any;
32
+ };
33
+ }[];
34
+ };
35
+ /**
36
+ * @title: 获取是否walletPass和三方支付的组合支付
37
+ * @description: 三方支付 (stripe 支付宝 微信 苹果 谷歌)
38
+ * @return: *
39
+ * @Author: shengjie.zuo
40
+ * @Date: 2024-08-30 10:06:17
41
+ */
42
+ export declare const getIsWalletPassAndTripartitePayment: (payGroup: PayGroup) => boolean | 0 | undefined;
43
+ export declare const isFranchiseeShop: (path?: any, history?: any) => any;
44
+ /**
45
+ * @title: 获取当前连锁加盟店铺shopid
46
+ * @description:
47
+ * @param {any} param1
48
+ * @return {*}
49
+ * @Author: chensheng.gu
50
+ * @Date: 2024-08-07 10:04
51
+ */
52
+ export declare const getFranchiseeShopId: (path?: any, history?: any) => number;
53
+ export declare const formatFranchiseeRoute: (url: string, history?: any) => string;
54
+ export declare const getAvailableMaxAmount: (data: WalletPassDataType) => string;
55
+ export declare const clientPayment: (params: {
56
+ order_id: number;
57
+ type: "aliPay" | "wxPay" | 'google_pay';
58
+ values: any;
59
+ interaction?: any;
60
+ }) => void;
61
+ /**
62
+ * 获取唯一幂等token
63
+ * @returns
64
+ */
65
+ export declare const getUniqueIdempotencyToken: () => string;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DateSectionCom: ({ value, onChange, showTime, className, style, useSpace, format, itemStyle, }: any) => JSX.Element;
3
2
  export default DateSectionCom;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const GenderField: (props: any) => JSX.Element;
3
2
  export default GenderField;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const PhoneField: ({ value, onChange }: any) => JSX.Element;
3
+ export default PhoneField;
@@ -0,0 +1,3 @@
1
+ import { QueryParams } from './index';
2
+ export declare const getCustomerList: (params: QueryParams) => Promise<any>;
3
+ export declare const addCustomer: (params: any) => Promise<any>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductItemPreview: ({ item, onClick, onRemove, amountSymbol, style, className, }: any) => JSX.Element;
4
3
  export default ProductItemPreview;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface RuleSettingProps {
4
3
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarDataItem } from "../type";
3
2
  declare type CalendarItemProps = {
4
3
  month: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Calendar: () => JSX.Element;
4
3
  export default Calendar;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type CurrentDayProps = {
4
3
  onClose: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ScheduleItem } from "../../type";
3
2
  import "./index.less";
4
3
  declare type ScheduleDetailListPropsType = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { ScheduleItem } from '../../../type';
4
3
  declare type Item = any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ButtonProps } from 'antd';
3
2
  import { ScheduleItem } from '../../type';
4
3
  import './index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const MaxParticipantsModule: ({ form, value, onChange, useSchedule, isAutoChange, onData, }: {
4
3
  form: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const ResourcesModule: ({ product }: {
3
2
  product: any;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const AddSchedules: ({ value, onChange, drawerContainer, isSelf }: any) => JSX.Element;
4
3
  export default AddSchedules;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type Value = number[];
4
3
  declare const SchedulesModule: ({ value, onChange, drawerContainer, ruleFn, tabKey, previewItemChange, isSelf, isTitle, }: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductDetail: ({ form, currentProduct, }: {
4
3
  form: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductDetailByDate: () => JSX.Element;
4
3
  export default ProductDetailByDate;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductDetailDrawer: () => JSX.Element;
4
3
  export default ProductDetailDrawer;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Products: () => JSX.Element;
4
3
  export default Products;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type Item = any;
4
3
  interface ProductItemProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface ProductListProps {
4
3
  loading: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Resources: () => JSX.Element;
4
3
  export default Resources;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type ResourcesListProps = {
4
3
  list: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const RelationProduct: ({ value, onChange, }: {
4
3
  value?: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ScheduleItem } from '../../type';
3
2
  import './index.less';
4
3
  declare type AllSchedulesPropsType = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { DrawerProps } from "antd";
3
2
  import { ScheduleItem } from "../../type";
4
3
  import "./index.less";
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SchedulesConnect: () => JSX.Element;
3
2
  export default SchedulesConnect;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const CartContext: React.Context<any>;
3
+ export declare const CartProvider: ({ children, props, onCard, onAction, onChange, onAddProduct, onActiveKey, }: any) => JSX.Element;
@@ -0,0 +1,53 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.text.shopping-cart.item': (num: number) => string;
4
+ 'pisell2.text.shopping-cart.clear.cart': string;
5
+ 'pisell2.text.shopping-cart.add.service': string;
6
+ 'pisell2.text.shopping-cart.add.more': string;
7
+ 'pisell2.text.shopping-cart.no.selected': string;
8
+ 'pisell2.text.shopping-cart.confirm': string;
9
+ 'pisell2.text.shopping-cart.cancel': string;
10
+ 'pisell2.text.shopping-cart.select.holder.modal.title': string;
11
+ };
12
+ 'zh-CN': {
13
+ 'pisell2.text.shopping-cart.item': (num: number) => string;
14
+ 'pisell2.text.shopping-cart.clear.cart': string;
15
+ 'pisell2.text.shopping-cart.add.service': string;
16
+ 'pisell2.text.shopping-cart.add.more': string;
17
+ 'pisell2.text.shopping-cart.no.selected': string;
18
+ 'pisell2.text.shopping-cart.confirm': string;
19
+ 'pisell2.text.shopping-cart.cancel': string;
20
+ 'pisell2.text.shopping-cart.select.holder.modal.title': string;
21
+ };
22
+ 'zh-HK': {
23
+ 'pisell2.text.shopping-cart.item': (num: number) => string;
24
+ 'pisell2.text.shopping-cart.clear.cart': string;
25
+ 'pisell2.text.shopping-cart.add.service': string;
26
+ 'pisell2.text.shopping-cart.add.more': string;
27
+ 'pisell2.text.shopping-cart.no.selected': string;
28
+ 'pisell2.text.shopping-cart.confirm': string;
29
+ 'pisell2.text.shopping-cart.cancel': string;
30
+ 'pisell2.text.shopping-cart.select.holder.modal.title': string;
31
+ };
32
+ ja: {
33
+ 'pisell2.text.shopping-cart.item': (num: number) => string;
34
+ 'pisell2.text.shopping-cart.clear.cart': string;
35
+ 'pisell2.text.shopping-cart.add.service': string;
36
+ 'pisell2.text.shopping-cart.add.more': string;
37
+ 'pisell2.text.shopping-cart.no.selected': string;
38
+ 'pisell2.text.shopping-cart.confirm': string;
39
+ 'pisell2.text.shopping-cart.cancel': string;
40
+ 'pisell2.text.shopping-cart.select.holder.modal.title': string;
41
+ };
42
+ pt: {
43
+ 'pisell2.text.shopping-cart.item': (num: number) => string;
44
+ 'pisell2.text.shopping-cart.clear.cart': string;
45
+ 'pisell2.text.shopping-cart.add.service': string;
46
+ 'pisell2.text.shopping-cart.add.more': string;
47
+ 'pisell2.text.shopping-cart.no.selected': string;
48
+ 'pisell2.text.shopping-cart.confirm': string;
49
+ 'pisell2.text.shopping-cart.cancel': string;
50
+ 'pisell2.text.shopping-cart.select.holder.modal.title': string;
51
+ };
52
+ };
53
+ export default _default;
@@ -0,0 +1,40 @@
1
+ export declare const holder: {
2
+ key: number;
3
+ label: string;
4
+ tip: string;
5
+ img: string;
6
+ }[];
7
+ export declare const products: ({
8
+ id: number;
9
+ title: string;
10
+ from_id: number;
11
+ holder: string;
12
+ price: number;
13
+ total: number;
14
+ num: number;
15
+ origin_price: number;
16
+ symbol: string;
17
+ relation_form_name: string;
18
+ like_status: string;
19
+ _extend: {
20
+ start_time: string;
21
+ duration: number;
22
+ date: string;
23
+ like_status: string;
24
+ };
25
+ product_cover: string;
26
+ } | {
27
+ id: number;
28
+ title: string;
29
+ from_id: number;
30
+ holder: string;
31
+ price: number;
32
+ total: number;
33
+ num: number;
34
+ symbol: string;
35
+ origin_price?: undefined;
36
+ relation_form_name?: undefined;
37
+ like_status?: undefined;
38
+ _extend?: undefined;
39
+ product_cover?: undefined;
40
+ })[];
@@ -0,0 +1,48 @@
1
+ import { CollapseProps } from 'antd';
2
+ export interface productProps {
3
+ hideAddBtn?: boolean;
4
+ isShowNote?: boolean;
5
+ isShowPackageNote?: boolean;
6
+ products?: any[];
7
+ holders?: any[];
8
+ isEdit?: boolean;
9
+ disabledEdit?: boolean;
10
+ isShowChangeResource?: boolean;
11
+ isShowDelete?: boolean;
12
+ isShowChangeHolder?: boolean;
13
+ isShowHolder?: boolean;
14
+ isShowAddHolderButton?: boolean;
15
+ }
16
+ export interface shoppingCartProps {
17
+ isOpenGroup?: boolean;
18
+ carts?: any[];
19
+ platform?: 'shop' | 'h5';
20
+ emptyText?: string;
21
+ activeKey?: string[] | number[];
22
+ defaultActiveKey?: string[] | number[];
23
+ className?: string;
24
+ onCard?: (e: any) => void;
25
+ onAction?: (e: any) => void;
26
+ onChange?: (items: any, type?: string, other?: any) => void;
27
+ onAddProduct?: (e?: any) => void;
28
+ onActiveKey?: (e: any) => void;
29
+ isShowImage?: boolean;
30
+ isShowHolder?: boolean;
31
+ isShowDelete?: boolean;
32
+ collapseParams?: CollapseProps;
33
+ productParams?: productProps;
34
+ isHideClearCart?: boolean;
35
+ isParallelResource?: boolean;
36
+ }
37
+ /**
38
+ * @title: 商品卡片
39
+ * @description:
40
+ * @return {*}
41
+ * @Author: WangHan
42
+ * @Date: 2024-11-29 09:52
43
+ */
44
+ export interface ProductProps {
45
+ id?: any;
46
+ lists: any[];
47
+ isAdd?: boolean;
48
+ }
@@ -0,0 +1,63 @@
1
+ /**
2
+ * @title: 格式化购物车列表
3
+ * @description:
4
+ * @param {any} state
5
+ * @return {*}
6
+ * @Author: WangHan
7
+ * @Date: 2024-11-28 16:52
8
+ */
9
+ export declare const formatCartList: (state: any) => any;
10
+ /**
11
+ * @title: 是否是空页面
12
+ * @description:
13
+ * @param {any} state
14
+ * @return {*}
15
+ * @Author: WangHan
16
+ * @Date: 2024-11-28 16:47
17
+ */
18
+ export declare const isEmptyStatus: (state: any) => boolean;
19
+ /**
20
+ * @title: 是否是商品列表页面
21
+ * @description:
22
+ * @param {any} state
23
+ * @return {*}
24
+ * @Author: WangHan
25
+ * @Date: 2024-11-28 17:23
26
+ */
27
+ export declare const isProductList: (state: any) => boolean;
28
+ /**
29
+ * @title: 格式化数据最终结果
30
+ * @description:
31
+ * @param {any} state
32
+ * @return {*}
33
+ * @Author: WangHan
34
+ * @Date: 2024-11-28 18:35
35
+ */
36
+ export declare const formatState: (state: any) => {
37
+ isEmpty: boolean;
38
+ isProductList: boolean;
39
+ carts: any;
40
+ };
41
+ /**
42
+ * @title: 更新商品
43
+ * @description:
44
+ * @param {any} newState
45
+ * @param {any} state
46
+ * @return {*}
47
+ * @Author: WangHan
48
+ * @Date: 2024-11-28 22:30
49
+ */
50
+ export declare const updateProduct: (state: any, newProducts: any[]) => {
51
+ products: any[];
52
+ carts: any;
53
+ };
54
+ /**
55
+ * @title: 格式化服务
56
+ * @description:
57
+ * @param {any} service
58
+ * @param {number} id holder_id
59
+ * @return {*}
60
+ * @Author: WangHan
61
+ * @Date: 2024-12-09 22:47
62
+ */
63
+ export declare const formatService: (service: any[], id: number) => any[];
@@ -0,0 +1,68 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.subtotal.deposit': string;
4
+ 'pisell2.subtotal.total': string;
5
+ 'pisell2.subtotal.subtotal': string;
6
+ 'pisell2.subtotal.tax': string;
7
+ 'pisell2.subtotal.delivery-fee': string;
8
+ 'pisell2.subtotal.discount': string;
9
+ 'pisell2.subtotal.point-deduction': string;
10
+ 'pisell2.subtotal.member-deduction': string;
11
+ 'pisell2.subtotal.items': string;
12
+ 'pisell2.subtotal.not-contain': string;
13
+ 'pisell2.subtotal.included': string;
14
+ };
15
+ 'zh-CN': {
16
+ 'pisell2.subtotal.deposit': string;
17
+ 'pisell2.subtotal.total': string;
18
+ 'pisell2.subtotal.subtotal': string;
19
+ 'pisell2.subtotal.tax': string;
20
+ 'pisell2.subtotal.delivery-fee': string;
21
+ 'pisell2.subtotal.discount': string;
22
+ 'pisell2.subtotal.point-deduction': string;
23
+ 'pisell2.subtotal.member-deduction': string;
24
+ 'pisell2.subtotal.items': string;
25
+ 'pisell2.subtotal.not-contain': string;
26
+ 'pisell2.subtotal.included': string;
27
+ };
28
+ 'zh-HK': {
29
+ 'pisell2.subtotal.deposit': string;
30
+ 'pisell2.subtotal.total': string;
31
+ 'pisell2.subtotal.subtotal': string;
32
+ 'pisell2.subtotal.tax': string;
33
+ 'pisell2.subtotal.delivery-fee': string;
34
+ 'pisell2.subtotal.discount': string;
35
+ 'pisell2.subtotal.point-deduction': string;
36
+ 'pisell2.subtotal.member-deduction': string;
37
+ 'pisell2.subtotal.items': string;
38
+ 'pisell2.subtotal.not-contain': string;
39
+ 'pisell2.subtotal.included': string;
40
+ };
41
+ ja: {
42
+ 'pisell2.subtotal.deposit': string;
43
+ 'pisell2.subtotal.total': string;
44
+ 'pisell2.subtotal.subtotal': string;
45
+ 'pisell2.subtotal.tax': string;
46
+ 'pisell2.subtotal.delivery-fee': string;
47
+ 'pisell2.subtotal.discount': string;
48
+ 'pisell2.subtotal.point-deduction': string;
49
+ 'pisell2.subtotal.member-deduction': string;
50
+ 'pisell2.subtotal.items': string;
51
+ 'pisell2.subtotal.not-contain': string;
52
+ 'pisell2.subtotal.included': string;
53
+ };
54
+ pt: {
55
+ 'pisell2.subtotal.deposit': string;
56
+ 'pisell2.subtotal.total': string;
57
+ 'pisell2.subtotal.subtotal': string;
58
+ 'pisell2.subtotal.tax': string;
59
+ 'pisell2.subtotal.delivery-fee': string;
60
+ 'pisell2.subtotal.discount': string;
61
+ 'pisell2.subtotal.point-deduction': string;
62
+ 'pisell2.subtotal.member-deduction': string;
63
+ 'pisell2.subtotal.items': string;
64
+ 'pisell2.subtotal.not-contain': string;
65
+ 'pisell2.subtotal.included': string;
66
+ };
67
+ };
68
+ export default _default;