@pisell/private-materials 6.3.7 → 6.3.9

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 (442) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +13 -13
  7. package/build/lowcode/render/default/view.js +1 -1
  8. package/build/lowcode/view.js +8 -8
  9. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  10. package/es/components/booking/components/TabProduct/tabs/index.js +1 -5
  11. package/es/components/booking/components/browserSelect/index.js +1 -1
  12. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  13. package/es/components/booking/forms/model.js +5 -5
  14. package/es/components/booking/forms/table/index.d.ts +0 -1
  15. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  16. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  17. package/es/components/booking/info/service/like/index.d.ts +0 -1
  18. package/es/components/booking/info/service/like/index.js +1 -1
  19. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  20. package/es/components/booking/info/service2/utils.d.ts +1 -1
  21. package/es/components/booking/info2/service/addService/utils.js +16 -1
  22. package/es/components/booking/materiels/holder/index.d.ts +0 -1
  23. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  24. package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
  25. package/es/components/booking/notes/NoteBlock/index.js +11 -11
  26. package/es/components/booking/notes/model.js +5 -5
  27. package/es/components/booking/payments/model.js +5 -5
  28. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  29. package/es/components/eftpos/form/index.d.ts +0 -1
  30. package/es/components/eftpos/group/index.d.ts +0 -1
  31. package/es/components/eftpos/hooks.d.ts +0 -1
  32. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  33. package/es/components/eftpos/icon/device.d.ts +0 -1
  34. package/es/components/eftpos/receipt/index.d.ts +0 -1
  35. package/es/components/eftpos/surcharge/index.d.ts +0 -1
  36. package/es/components/eftposPay/amount.d.ts +1 -1
  37. package/es/components/eftposPay/app.d.ts +0 -1
  38. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  39. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  40. package/es/components/eftposPay/component/step/index.d.ts +0 -1
  41. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  42. package/es/components/eftposPay/device.d.ts +1 -1
  43. package/es/components/eftposPay/hooks.d.ts +1 -1
  44. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  45. package/es/components/eventBooking/components/progressBar/index.js +0 -20
  46. package/es/components/listComponent/index.js +5 -5
  47. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  48. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  49. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  50. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  51. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  52. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  53. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -1
  54. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.js +2 -12
  55. package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +24 -31
  56. package/es/components/productExtension/card/index.js +3 -3
  57. package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
  58. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  59. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  60. package/es/components/productExtension/fields/Forms/index.js +12 -12
  61. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
  62. package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
  63. package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
  64. package/es/components/productExtension/server.js +2 -2
  65. package/es/components/ruleSetting/ruleBorder/index.js +1 -1
  66. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  67. package/es/components/schedules/calendar/index.js +4 -4
  68. package/es/components/schedules/calendar/serve.js +2 -2
  69. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  70. package/es/components/schedules/components/CurrentDay/index.js +5 -5
  71. package/es/components/schedules/components/CurrentDay/serve.js +2 -2
  72. package/es/components/schedules/components/DropdownSort/index.js +1 -1
  73. package/es/components/schedules/components/ResourceList/index.js +1 -1
  74. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  75. package/es/components/schedules/components/Search/index.js +5 -5
  76. package/es/components/schedules/model.js +5 -5
  77. package/es/components/schedules/openHours/index.js +1 -1
  78. package/es/components/schedules/openHours/serve.js +2 -2
  79. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
  80. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
  81. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
  82. package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
  83. package/es/components/schedules/products/index.d.ts +0 -1
  84. package/es/components/schedules/products/serve.js +2 -2
  85. package/es/components/schedules/products/utils.js +5 -5
  86. package/es/components/schedules/resources/detail/detailContent.js +2 -2
  87. package/es/components/schedules/resources/detail/index.js +10 -10
  88. package/es/components/schedules/resources/list/index.js +2 -2
  89. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  90. package/es/components/schedules/resources/relationProduct/index.js +1 -1
  91. package/es/components/schedules/resources/serve.js +2 -2
  92. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
  93. package/es/components/schedules/utils.d.ts +1 -1
  94. package/es/components/schedules/utils.js +4 -4
  95. package/es/components/selectModal/index.js +2 -2
  96. package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  97. package/es/components/wallet/Detail/index.js +2 -2
  98. package/es/components/wallet/components/WalletCard.js +2 -3
  99. package/es/hooks/useComponents.js +1 -1
  100. package/es/utils/index.d.ts +1 -1
  101. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  102. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  103. package/lib/components/booking/forms/table/index.d.ts +0 -1
  104. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  105. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  106. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  107. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  108. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  109. package/lib/components/booking/info2/service/addService/utils.js +15 -3
  110. package/lib/components/booking/materiels/holder/index.d.ts +0 -1
  111. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  112. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  113. package/lib/components/eftpos/form/index.d.ts +0 -1
  114. package/lib/components/eftpos/group/index.d.ts +0 -1
  115. package/lib/components/eftpos/hooks.d.ts +0 -1
  116. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  117. package/lib/components/eftpos/icon/device.d.ts +0 -1
  118. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  119. package/lib/components/eftpos/surcharge/index.d.ts +0 -1
  120. package/lib/components/eftposPay/amount.d.ts +1 -1
  121. package/lib/components/eftposPay/app.d.ts +0 -1
  122. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  123. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  124. package/lib/components/eftposPay/component/step/index.d.ts +0 -1
  125. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  126. package/lib/components/eftposPay/device.d.ts +1 -1
  127. package/lib/components/eftposPay/hooks.d.ts +1 -1
  128. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  129. package/lib/components/eventBooking/components/progressBar/index.js +0 -18
  130. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  131. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  132. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  133. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  134. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  135. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  136. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -1
  137. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.js +2 -9
  138. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +2 -6
  139. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  140. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  141. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  142. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  143. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  144. package/lib/components/schedules/products/index.d.ts +0 -1
  145. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  146. package/lib/components/schedules/utils.d.ts +1 -1
  147. package/lib/components/schedules/utils.js +1 -1
  148. package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  149. package/lib/components/wallet/Detail/index.js +3 -3
  150. package/lib/components/wallet/components/WalletCard.js +1 -1
  151. package/lib/utils/index.d.ts +1 -1
  152. package/package.json +4 -4
  153. package/es/businessModel/SalesModel/Sales/index.d.ts +0 -24
  154. package/es/businessModel/SalesModel/hooks/index.d.ts +0 -1
  155. package/es/businessModel/SalesModel/index.d.ts +0 -4
  156. package/es/businessModel/index.d.ts +0 -0
  157. package/es/components/Sales/Cart/serve.d.ts +0 -2
  158. package/es/components/Sales/Cart/types.d.ts +0 -31
  159. package/es/components/Sales/Cart/utils.d.ts +0 -63
  160. package/es/components/Sales/Checkout/index.d.ts +0 -37
  161. package/es/components/Sales/Checkout/serve.d.ts +0 -15
  162. package/es/components/Sales/Checkout/utils.d.ts +0 -41
  163. package/es/components/Sales/Customer/index.d.ts +0 -25
  164. package/es/components/Sales/Event/Detail.d.ts +0 -30
  165. package/es/components/Sales/Event/index.d.ts +0 -30
  166. package/es/components/Sales/Event/serve.d.ts +0 -49
  167. package/es/components/Sales/Holder/index.d.ts +0 -33
  168. package/es/components/Sales/Holder/serve.d.ts +0 -8
  169. package/es/components/Sales/Init/index.d.ts +0 -25
  170. package/es/components/Sales/Init/serve.d.ts +0 -3
  171. package/es/components/Sales/Resource/index.d.ts +0 -26
  172. package/es/components/Sales/Resource/serve.d.ts +0 -12
  173. package/es/components/Sales/Step/index.d.ts +0 -39
  174. package/es/components/Sales/Summary/index.d.ts +0 -35
  175. package/es/components/Sales/Summary/serve.d.ts +0 -1
  176. package/es/components/Sales/Summary/utils.d.ts +0 -51
  177. package/es/components/Sales/hooks/index.d.ts +0 -1
  178. package/es/components/Sales/index.d.ts +0 -20
  179. package/es/components/Sales/utils/index.d.ts +0 -1
  180. package/es/components/appointmentBooking/components/Cart/utils.d.ts +0 -56
  181. package/es/components/appointmentBooking/components/ConfirmInformation/utils.d.ts +0 -12
  182. package/es/components/appointmentBooking/components/Date/state.d.ts +0 -63
  183. package/es/components/appointmentBooking/components/Form/index.d.ts +0 -4
  184. package/es/components/appointmentBooking/components/Form/utils.d.ts +0 -8
  185. package/es/components/appointmentBooking/components/Resource/utils.d.ts +0 -5
  186. package/es/components/appointmentBooking/context.d.ts +0 -35
  187. package/es/components/appointmentBooking/locales.d.ts +0 -360
  188. package/es/components/appointmentBooking/type.d.ts +0 -17
  189. package/es/components/booking/components/drawer/index.d.ts +0 -19
  190. package/es/components/booking/components/tabPane/index.d.ts +0 -4
  191. package/es/components/booking/components/voucher/utils.d.ts +0 -4
  192. package/es/components/booking/editBookingModal/locales.d.ts +0 -21
  193. package/es/components/booking/editBookingModal/mock.d.ts +0 -807
  194. package/es/components/booking/editBookingModal/serve.d.ts +0 -52
  195. package/es/components/booking/editBookingModal/type.d.ts +0 -12
  196. package/es/components/booking/editBookingModal/utils.d.ts +0 -12
  197. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  198. package/es/components/booking/info/Provider.d.ts +0 -0
  199. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -7
  200. package/es/components/booking/info/hooks/useGetHolderList.d.ts +0 -2
  201. package/es/components/booking/info/index.d.ts +0 -4
  202. package/es/components/booking/info/service/editService/constants.d.ts +0 -1
  203. package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +0 -11
  204. package/es/components/booking/info/service/serviceManager/utils.d.ts +0 -0
  205. package/es/components/booking/info/service2/hooks/useSelectPet.d.ts +0 -6
  206. package/es/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +0 -7
  207. package/es/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +0 -7
  208. package/es/components/booking/info2/utils.d.ts +0 -4
  209. package/es/components/booking/locales.d.ts +0 -831
  210. package/es/components/eftposPay/const.d.ts +0 -184
  211. package/es/components/eftposPay/linkly/hooks/index.d.ts +0 -2
  212. package/es/components/eftposPay/linkly/service.d.ts +0 -32
  213. package/es/components/eftposPay/locales.d.ts +0 -330
  214. package/es/components/eftposPay/manufacturer.d.ts +0 -7
  215. package/es/components/eftposPay/store/index.d.ts +0 -355
  216. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -3
  217. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -4
  218. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -4
  219. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -5
  220. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -4
  221. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +0 -63
  222. package/es/components/eventBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
  223. package/es/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
  224. package/es/components/eventBooking/components/scheduleCalendar/index.d.ts +0 -14
  225. package/es/components/eventBooking/locales.d.ts +0 -246
  226. package/es/components/eventBooking/type.d.ts +0 -17
  227. package/es/components/eventBooking/utils.d.ts +0 -45
  228. package/es/components/login/locales.d.ts +0 -24
  229. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +0 -2
  230. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +0 -2
  231. package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +0 -2
  232. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +0 -2
  233. package/es/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +0 -2
  234. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +0 -2
  235. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +0 -2
  236. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -113
  237. package/es/components/pay/toC/locales.d.ts +0 -289
  238. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -3
  239. package/es/components/productSelect/components/TabProduct/tabs/index.d.ts +0 -21
  240. package/es/components/productSelect/hooks/useToken.d.ts +0 -18
  241. package/es/components/productSelect/locales.d.ts +0 -18
  242. package/es/components/productSelect/mock.d.ts +0 -134
  243. package/es/components/productSelect/theme/token.d.ts +0 -17
  244. package/es/components/shoppingCart/Provider.d.ts +0 -3
  245. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -4
  246. package/es/components/shoppingCart/components/Render/index.d.ts +0 -4
  247. package/es/components/shoppingCart/hooks/useContext.d.ts +0 -1
  248. package/es/components/shoppingCart/locales.d.ts +0 -33
  249. package/es/components/shoppingCart/mock.d.ts +0 -40
  250. package/es/components/shoppingCart/type.d.ts +0 -48
  251. package/es/components/shoppingCart/utils.d.ts +0 -63
  252. package/es/components/stepController/components/Content/index.d.ts +0 -7
  253. package/es/components/stepController/components/Footer/index.d.ts +0 -8
  254. package/es/components/stepController/locales.d.ts +0 -27
  255. package/es/components/stepController/types.d.ts +0 -23
  256. package/es/components/subTotal/locales.d.ts +0 -42
  257. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -7
  258. package/es/components/ticketBooking/data.d.ts +0 -58
  259. package/es/components/ticketBooking/hooks/useNetworkStatus.d.ts +0 -11
  260. package/es/components/ticketBooking/locales.d.ts +0 -174
  261. package/es/components/ticketBooking/miniRedux.d.ts +0 -22
  262. package/es/components/ticketBooking/serve.d.ts +0 -287
  263. package/es/components/wallet/Detail/locales.d.ts +0 -96
  264. package/es/components/wallet/Detail/serve.d.ts +0 -39
  265. package/es/components/wallet/RechargeableCard/serve.d.ts +0 -23
  266. package/es/components/wallet/Voucher/locales.d.ts +0 -21
  267. package/es/components/wallet/components/index.d.ts +0 -2
  268. package/es/components/wallet/locales.d.ts +0 -132
  269. package/es/components/walletList/locales.d.ts +0 -18
  270. package/es/components/walletList/model.d.ts +0 -6
  271. package/es/components/walletList/serve.d.ts +0 -20
  272. package/es/components/walletList/types/index.d.ts +0 -194
  273. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
  274. package/es/components/workSpaceList/components/Card/constants.d.ts +0 -2
  275. package/es/components/workSpaceList/components/WorkspaceItem/index.d.ts +0 -22
  276. package/es/hooks/useEngineContext.d.ts +0 -10
  277. package/es/hooks/useLocale.d.ts +0 -2
  278. package/es/hooks/useLoginUser.d.ts +0 -2
  279. package/es/hooks/useWindowSize.d.ts +0 -5
  280. package/es/plus/productSelect/CategoryTabs/CategorySkeleton.d.ts +0 -10
  281. package/es/plus/productSelect/CategoryTabs/index.d.ts +0 -18
  282. package/es/plus/productSelect/ProductCard/ProductCardSkeleton.d.ts +0 -10
  283. package/es/plus/productSelect/ProductList/gridComponents.d.ts +0 -44
  284. package/es/plus/productSelect/ProductList/index.d.ts +0 -22
  285. package/es/plus/productSelect/components/IntersectionObserver.d.ts +0 -42
  286. package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
  287. package/es/plus/productSelect/components/TabsStructure/hooks.d.ts +0 -22
  288. package/es/plus/productSelect/components/TabsStructure/index.d.ts +0 -5
  289. package/es/plus/productSelect/components/TabsStructure/styles.d.ts +0 -47
  290. package/es/plus/productSelect/components/TabsStructure/types.d.ts +0 -105
  291. package/es/plus/productSelect/components/TabsStructure/utils.d.ts +0 -12
  292. package/es/plus/productSelect/hooks/useToken.d.ts +0 -18
  293. package/es/plus/productSelect/locales.d.ts +0 -18
  294. package/es/plus/productSelect/theme/token.d.ts +0 -17
  295. package/es/utils/date.d.ts +0 -11
  296. package/es/utils/locales.d.ts +0 -1
  297. package/es/utils/tasks/type.d.ts +0 -4
  298. package/lib/businessModel/SalesModel/Sales/index.d.ts +0 -24
  299. package/lib/businessModel/SalesModel/hooks/index.d.ts +0 -1
  300. package/lib/businessModel/SalesModel/index.d.ts +0 -4
  301. package/lib/businessModel/index.d.ts +0 -0
  302. package/lib/components/Sales/Cart/serve.d.ts +0 -2
  303. package/lib/components/Sales/Cart/types.d.ts +0 -31
  304. package/lib/components/Sales/Cart/utils.d.ts +0 -63
  305. package/lib/components/Sales/Checkout/index.d.ts +0 -37
  306. package/lib/components/Sales/Checkout/serve.d.ts +0 -15
  307. package/lib/components/Sales/Checkout/utils.d.ts +0 -41
  308. package/lib/components/Sales/Customer/index.d.ts +0 -25
  309. package/lib/components/Sales/Event/Detail.d.ts +0 -30
  310. package/lib/components/Sales/Event/index.d.ts +0 -30
  311. package/lib/components/Sales/Event/serve.d.ts +0 -49
  312. package/lib/components/Sales/Holder/index.d.ts +0 -33
  313. package/lib/components/Sales/Holder/serve.d.ts +0 -8
  314. package/lib/components/Sales/Init/index.d.ts +0 -25
  315. package/lib/components/Sales/Init/serve.d.ts +0 -3
  316. package/lib/components/Sales/Resource/index.d.ts +0 -26
  317. package/lib/components/Sales/Resource/serve.d.ts +0 -12
  318. package/lib/components/Sales/Step/index.d.ts +0 -39
  319. package/lib/components/Sales/Summary/index.d.ts +0 -35
  320. package/lib/components/Sales/Summary/serve.d.ts +0 -1
  321. package/lib/components/Sales/Summary/utils.d.ts +0 -51
  322. package/lib/components/Sales/hooks/index.d.ts +0 -1
  323. package/lib/components/Sales/index.d.ts +0 -20
  324. package/lib/components/Sales/utils/index.d.ts +0 -1
  325. package/lib/components/appointmentBooking/components/Cart/utils.d.ts +0 -56
  326. package/lib/components/appointmentBooking/components/ConfirmInformation/utils.d.ts +0 -12
  327. package/lib/components/appointmentBooking/components/Date/state.d.ts +0 -63
  328. package/lib/components/appointmentBooking/components/Form/index.d.ts +0 -4
  329. package/lib/components/appointmentBooking/components/Form/utils.d.ts +0 -8
  330. package/lib/components/appointmentBooking/components/Resource/utils.d.ts +0 -5
  331. package/lib/components/appointmentBooking/context.d.ts +0 -35
  332. package/lib/components/appointmentBooking/locales.d.ts +0 -360
  333. package/lib/components/appointmentBooking/type.d.ts +0 -17
  334. package/lib/components/booking/components/drawer/index.d.ts +0 -19
  335. package/lib/components/booking/components/tabPane/index.d.ts +0 -4
  336. package/lib/components/booking/components/voucher/utils.d.ts +0 -4
  337. package/lib/components/booking/editBookingModal/locales.d.ts +0 -21
  338. package/lib/components/booking/editBookingModal/mock.d.ts +0 -807
  339. package/lib/components/booking/editBookingModal/serve.d.ts +0 -52
  340. package/lib/components/booking/editBookingModal/type.d.ts +0 -12
  341. package/lib/components/booking/editBookingModal/utils.d.ts +0 -12
  342. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  343. package/lib/components/booking/info/Provider.d.ts +0 -0
  344. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -7
  345. package/lib/components/booking/info/hooks/useGetHolderList.d.ts +0 -2
  346. package/lib/components/booking/info/index.d.ts +0 -4
  347. package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
  348. package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +0 -11
  349. package/lib/components/booking/info/service/serviceManager/utils.d.ts +0 -0
  350. package/lib/components/booking/info/service2/hooks/useSelectPet.d.ts +0 -6
  351. package/lib/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +0 -7
  352. package/lib/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +0 -7
  353. package/lib/components/booking/info2/utils.d.ts +0 -4
  354. package/lib/components/booking/locales.d.ts +0 -831
  355. package/lib/components/eftposPay/const.d.ts +0 -184
  356. package/lib/components/eftposPay/linkly/hooks/index.d.ts +0 -2
  357. package/lib/components/eftposPay/linkly/service.d.ts +0 -32
  358. package/lib/components/eftposPay/locales.d.ts +0 -330
  359. package/lib/components/eftposPay/manufacturer.d.ts +0 -7
  360. package/lib/components/eftposPay/store/index.d.ts +0 -355
  361. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -3
  362. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -4
  363. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -4
  364. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -5
  365. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -4
  366. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +0 -63
  367. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
  368. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
  369. package/lib/components/eventBooking/components/scheduleCalendar/index.d.ts +0 -14
  370. package/lib/components/eventBooking/locales.d.ts +0 -246
  371. package/lib/components/eventBooking/type.d.ts +0 -17
  372. package/lib/components/eventBooking/utils.d.ts +0 -45
  373. package/lib/components/login/locales.d.ts +0 -24
  374. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +0 -2
  375. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +0 -2
  376. package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +0 -2
  377. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +0 -2
  378. package/lib/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +0 -2
  379. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +0 -2
  380. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +0 -2
  381. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -113
  382. package/lib/components/pay/toC/locales.d.ts +0 -289
  383. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -3
  384. package/lib/components/productSelect/components/TabProduct/tabs/index.d.ts +0 -21
  385. package/lib/components/productSelect/hooks/useToken.d.ts +0 -18
  386. package/lib/components/productSelect/locales.d.ts +0 -18
  387. package/lib/components/productSelect/mock.d.ts +0 -134
  388. package/lib/components/productSelect/theme/token.d.ts +0 -17
  389. package/lib/components/shoppingCart/Provider.d.ts +0 -3
  390. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -4
  391. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -4
  392. package/lib/components/shoppingCart/hooks/useContext.d.ts +0 -1
  393. package/lib/components/shoppingCart/locales.d.ts +0 -33
  394. package/lib/components/shoppingCart/mock.d.ts +0 -40
  395. package/lib/components/shoppingCart/type.d.ts +0 -48
  396. package/lib/components/shoppingCart/utils.d.ts +0 -63
  397. package/lib/components/stepController/components/Content/index.d.ts +0 -7
  398. package/lib/components/stepController/components/Footer/index.d.ts +0 -8
  399. package/lib/components/stepController/locales.d.ts +0 -27
  400. package/lib/components/stepController/types.d.ts +0 -23
  401. package/lib/components/subTotal/locales.d.ts +0 -42
  402. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -7
  403. package/lib/components/ticketBooking/data.d.ts +0 -58
  404. package/lib/components/ticketBooking/hooks/useNetworkStatus.d.ts +0 -11
  405. package/lib/components/ticketBooking/locales.d.ts +0 -174
  406. package/lib/components/ticketBooking/miniRedux.d.ts +0 -22
  407. package/lib/components/ticketBooking/serve.d.ts +0 -287
  408. package/lib/components/wallet/Detail/locales.d.ts +0 -96
  409. package/lib/components/wallet/Detail/serve.d.ts +0 -39
  410. package/lib/components/wallet/RechargeableCard/serve.d.ts +0 -23
  411. package/lib/components/wallet/Voucher/locales.d.ts +0 -21
  412. package/lib/components/wallet/components/index.d.ts +0 -2
  413. package/lib/components/wallet/locales.d.ts +0 -132
  414. package/lib/components/walletList/locales.d.ts +0 -18
  415. package/lib/components/walletList/model.d.ts +0 -6
  416. package/lib/components/walletList/serve.d.ts +0 -20
  417. package/lib/components/walletList/types/index.d.ts +0 -194
  418. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
  419. package/lib/components/workSpaceList/components/Card/constants.d.ts +0 -2
  420. package/lib/components/workSpaceList/components/WorkspaceItem/index.d.ts +0 -22
  421. package/lib/hooks/useEngineContext.d.ts +0 -10
  422. package/lib/hooks/useLocale.d.ts +0 -2
  423. package/lib/hooks/useLoginUser.d.ts +0 -2
  424. package/lib/hooks/useWindowSize.d.ts +0 -5
  425. package/lib/plus/productSelect/CategoryTabs/CategorySkeleton.d.ts +0 -10
  426. package/lib/plus/productSelect/CategoryTabs/index.d.ts +0 -18
  427. package/lib/plus/productSelect/ProductCard/ProductCardSkeleton.d.ts +0 -10
  428. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +0 -44
  429. package/lib/plus/productSelect/ProductList/index.d.ts +0 -22
  430. package/lib/plus/productSelect/components/IntersectionObserver.d.ts +0 -42
  431. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
  432. package/lib/plus/productSelect/components/TabsStructure/hooks.d.ts +0 -22
  433. package/lib/plus/productSelect/components/TabsStructure/index.d.ts +0 -5
  434. package/lib/plus/productSelect/components/TabsStructure/styles.d.ts +0 -47
  435. package/lib/plus/productSelect/components/TabsStructure/types.d.ts +0 -105
  436. package/lib/plus/productSelect/components/TabsStructure/utils.d.ts +0 -12
  437. package/lib/plus/productSelect/hooks/useToken.d.ts +0 -18
  438. package/lib/plus/productSelect/locales.d.ts +0 -18
  439. package/lib/plus/productSelect/theme/token.d.ts +0 -17
  440. package/lib/utils/date.d.ts +0 -11
  441. package/lib/utils/locales.d.ts +0 -1
  442. package/lib/utils/tasks/type.d.ts +0 -4
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from 'antd';
3
2
  interface HolderProps extends SelectProps {
4
3
  selectProps?: SelectProps;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from "antd";
3
2
  interface StartTimeProps extends SelectProps {
4
3
  locale?: string;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ input, ...formItemProps }: any) => JSX.Element;
3
2
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 递归循环表单数据
4
3
  * @Author: hongbing.wang
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { RadioGroupProps } from 'antd';
3
2
  export declare const CheckboxGroup: ({ direction, options, ...props }: any) => JSX.Element;
4
3
  export declare const RadioGroup: ({ direction, options, ...props }: RadioGroupProps & {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Eftpos } from './const';
3
2
  /**
4
3
  * @title: tyro 设备连接
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ color }: {
3
2
  color?: string | undefined;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ color }: {
3
2
  color?: string | undefined;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 自定义组件设置
4
3
  * @description: 自定义组件设置
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.css';
3
2
  /**
4
3
  * @title: 自定义组件设置
@@ -8,7 +8,7 @@ import { PosProps } from './const';
8
8
  */
9
9
  declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
10
10
  className?: string | undefined;
11
- onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
11
+ onChange?: ((status: "success" | "page" | "fail" | "print" | "mark_tx_processed", params?: string | {
12
12
  [keys: string]: unknown;
13
13
  } | undefined, other?: any) => void) | undefined;
14
14
  onClose: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PosProps, RouteType } from './const';
3
2
  declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
4
3
  action: RouteType;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './titlebar.less';
3
2
  declare enum EPopupTitleBarVariantType {
4
3
  BackTitleClose = "back-title-cancel",
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StatusType } from '../../const';
3
2
  declare const _default: (props: {
4
3
  status: StatusType;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: (props: {
3
2
  status: string;
4
3
  pedding?: string;
@@ -10,7 +10,7 @@ import './device.less';
10
10
  declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, }: {
11
11
  api: PayProps['api'];
12
12
  className?: string | undefined;
13
- onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
13
+ onChange?: ((status: "success" | "page" | "fail" | "print" | "mark_tx_processed", params?: string | {
14
14
  [keys: string]: unknown;
15
15
  } | undefined, other?: any) => void) | undefined;
16
16
  onClose: () => void;
@@ -15,7 +15,7 @@ export declare const useStoreRef: <T extends {
15
15
  readonly numRef: React.MutableRefObject<string | number | undefined>;
16
16
  readonly orderIdRef: React.MutableRefObject<string | number>;
17
17
  readonly modeRef: React.MutableRefObject<ModeEnum>;
18
- readonly statusRef: React.MutableRefObject<"loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question">;
18
+ readonly statusRef: React.MutableRefObject<"success" | "warn" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question">;
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 获取 Tyro 资源
4
3
  * @description:
@@ -64,24 +64,6 @@ var ProgressBar = ({
64
64
  const handleOk = () => {
65
65
  var _a2, _b;
66
66
  if ((_b = (_a2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _a2.isAppEnv) == null ? void 0 : _b.call(_a2)) {
67
- const url = window.location.href;
68
- if (url.includes("isByTabbar")) {
69
- removeSessionStorage == null ? void 0 : removeSessionStorage();
70
- const urlParams = new URLSearchParams(window.location.search);
71
- urlParams.delete("cacheId");
72
- setOpen(false);
73
- interaction.utils.postMessageToApp({
74
- module: "global",
75
- key: "openNative",
76
- data: {
77
- link: {
78
- page: "home"
79
- }
80
- }
81
- });
82
- window.location.href = window.location.pathname + "?" + urlParams.toString();
83
- return;
84
- }
85
67
  interaction.utils.postMessageToApp({
86
68
  module: "global",
87
69
  key: "paymentResultAction",
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const StripePayment: () => JSX.Element;
3
2
  export default StripePayment;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
3
2
  public_key: string;
4
3
  client_secret?: string | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
3
2
  public_key: string;
4
3
  client_secret?: string | undefined;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const PageLoading: () => JSX.Element;
3
2
  export default PageLoading;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const PaymentRequestForm: () => JSX.Element | null;
3
2
  export default PaymentRequestForm;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.module.less';
3
2
  declare const StripePayment: () => JSX.Element;
4
3
  export default StripePayment;
@@ -10,7 +10,6 @@ export interface WalletPassListProps {
10
10
  walletSetting: {
11
11
  name: string;
12
12
  };
13
- onChangeDebounce?: boolean;
14
13
  }
15
14
  export declare type WalletPassListRef = {
16
15
  init: (params: MachineCodeListParams, formatList?: (val: WalletPassDataType[]) => WalletPassDataType[]) => void;
@@ -41,7 +41,7 @@ var import_utils2 = require("../utils");
41
41
  var import_index = require("./index.less");
42
42
  var WalletPassList = (0, import_react.forwardRef)(
43
43
  (props, ref) => {
44
- const { title, onChange, data: propsData, value, walletSetting, onLoadingChange, loading: propsLoading, onChangeDebounce } = props;
44
+ const { title, onChange, data: propsData, value, walletSetting } = props;
45
45
  const [data, setData] = (0, import_react.useState)(
46
46
  propsData || []
47
47
  );
@@ -51,9 +51,6 @@ var WalletPassList = (0, import_react.forwardRef)(
51
51
  setData(propsData);
52
52
  }
53
53
  }, [propsData]);
54
- (0, import_react.useEffect)(() => {
55
- setLoading(!!propsLoading);
56
- }, [propsLoading]);
57
54
  const getList = async (params, formatList) => {
58
55
  setLoading(true);
59
56
  try {
@@ -73,9 +70,6 @@ var WalletPassList = (0, import_react.forwardRef)(
73
70
  (0, import_react.useImperativeHandle)(ref, () => ({
74
71
  init
75
72
  }));
76
- (0, import_react.useEffect)(() => {
77
- onLoadingChange == null ? void 0 : onLoadingChange(loading);
78
- }, [loading]);
79
73
  const { availableList, disabledList } = (0, import_react.useMemo)(() => {
80
74
  const _disabledList = [];
81
75
  const _availableList = [];
@@ -117,8 +111,7 @@ var WalletPassList = (0, import_react.forwardRef)(
117
111
  value,
118
112
  onChange: handleChange,
119
113
  showEmpty: data.length === 0,
120
- empty,
121
- onChangeDebounce
114
+ empty
122
115
  }
123
116
  ), !!disabledList.length && /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-walletPass-list-disabled" }, import_utils.locales.getText("tocPay.text.walletPassDisabled")), /* @__PURE__ */ import_react.default.createElement(
124
117
  import_materials.PisellCardList,
@@ -48,7 +48,6 @@ var WalletPass = (0, import_react.forwardRef)((props, ref) => {
48
48
  var _a;
49
49
  const { onWalletPassChange, walletPass, walletSetting } = props;
50
50
  const [currentWalletPass, setCurrentWalletPass] = (0, import_react.useState)(walletPass);
51
- const [loading, setLoading] = (0, import_react.useState)(false);
52
51
  const [open, setOpen] = (0, import_react.useState)(false);
53
52
  const [searchOpen, setSearchOpen] = (0, import_react.useState)(false);
54
53
  const [addList, setAddList] = (0, import_react.useState)([]);
@@ -282,9 +281,7 @@ var WalletPass = (0, import_react.forwardRef)((props, ref) => {
282
281
  data: otherCustomerWalletPassList,
283
282
  title: import_utils.locales.getText("tocPay.text.couponCodesAdded"),
284
283
  onChange: handleOtherChange,
285
- value: selectValue,
286
- loading,
287
- onChangeDebounce: true
284
+ value: selectValue
288
285
  }
289
286
  ), /* @__PURE__ */ import_react.default.createElement(
290
287
  import_List.default,
@@ -293,8 +290,7 @@ var WalletPass = (0, import_react.forwardRef)((props, ref) => {
293
290
  title: walletSetting.name,
294
291
  onChange: handleCurrentChange,
295
292
  ref: listRef,
296
- value: selectValue,
297
- onLoadingChange: setLoading
293
+ value: selectValue
298
294
  }
299
295
  ))
300
296
  ), /* @__PURE__ */ import_react.default.createElement(
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const Actor: ({ name }: {
3
2
  name: string;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface InfoProps {
3
2
  relation_id: any;
4
3
  action: 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 type CurrentDayProps = {
4
3
  onClose: () => void;
@@ -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 './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 const RelationProduct: ({ value, onChange, }: {
4
3
  value?: any;
@@ -17,6 +17,6 @@ declare let modal: Omit<ModalStaticFunctions, "warn">;
17
17
  export declare const setModal: (m: Omit<ModalStaticFunctions, "warn">) => void;
18
18
  export declare const saveConfirm: () => Promise<{
19
19
  destroy: () => void;
20
- update: (configUpdate: import("antd/es/modal/interface").ModalFuncProps | ((prevConfig: import("antd/es/modal/interface").ModalFuncProps) => import("antd/es/modal/interface").ModalFuncProps)) => void;
20
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
21
21
  }>;
22
22
  export { modal };
@@ -27,8 +27,8 @@ __export(utils_exports, {
27
27
  module.exports = __toCommonJS(utils_exports);
28
28
  var import_utils = require("@pisell/utils");
29
29
  var Request = class {
30
- request = {};
31
30
  constructor() {
31
+ this.request = {};
32
32
  }
33
33
  setRequest(val) {
34
34
  this.request = val;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProductProps } from '../../type';
2
3
  declare const Product: (props: ProductProps) => JSX.Element;
3
4
  export default Product;
@@ -50,7 +50,7 @@ var { Text } = import_materials2.Typography;
50
50
  import_dayjs.default.extend(import_timezone.default);
51
51
  import_dayjs.default.extend(import_utc.default);
52
52
  var Detail = (0, import_react.forwardRef)((props, ref) => {
53
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
53
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
54
54
  const {
55
55
  detail = {},
56
56
  buttonGroupList = [[]],
@@ -545,7 +545,7 @@ var Detail = (0, import_react.forwardRef)((props, ref) => {
545
545
  className: `wallet-detail${platform === "h5" ? " wallet-detail-h5" : " wallet-detail-pc"} ${className || ""}`,
546
546
  ref: detailWrapperRef
547
547
  },
548
- (platform === "h5" || showWalletBar) && !((_l = (_k = (_j = utils == null ? void 0 : utils.interaction) == null ? void 0 : _j.utils) == null ? void 0 : _k.isAppEnv) == null ? void 0 : _l.call(_k)) && /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-detail-header" }, /* @__PURE__ */ import_react.default.createElement(import_components.WalletBar, { setup: "detail", onBack: handleBack })),
548
+ (platform === "h5" || showWalletBar) && /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-detail-header" }, /* @__PURE__ */ import_react.default.createElement(import_components.WalletBar, { setup: "detail", onBack: handleBack })),
549
549
  /* @__PURE__ */ import_react.default.createElement(
550
550
  "div",
551
551
  {
@@ -632,7 +632,7 @@ var Detail = (0, import_react.forwardRef)((props, ref) => {
632
632
  step: "detail",
633
633
  addWalletLoading,
634
634
  onAppleWalletClick: tag === "gift_card" ? addWalletCard : void 0,
635
- onRechargeClick: tag === "gift_card" && ((_m = detail == null ? void 0 : detail.machinecode_config) == null ? void 0 : _m.hide_recharge) === 0 ? handleRecharge : void 0,
635
+ onRechargeClick: tag === "gift_card" && ((_j = detail == null ? void 0 : detail.machinecode_config) == null ? void 0 : _j.hide_recharge) === 0 ? handleRecharge : void 0,
636
636
  platform,
637
637
  isIOS: (0, import_utils.isIos)()
638
638
  }
@@ -73,7 +73,7 @@ var WalletCard = ({
73
73
  disabled: isDisabled,
74
74
  showDisabledReason: isDisabled,
75
75
  disabledReason,
76
- style: { marginBottom: 16, width: "100%" },
76
+ propStyle: { marginBottom: 16 },
77
77
  showBalanceSymbol: !["point_card", "good_pass"].includes(tag),
78
78
  active: isActive,
79
79
  name: product_title,
@@ -18,6 +18,6 @@ declare let modal: Omit<ModalStaticFunctions, 'warn'>;
18
18
  export declare const setModal: (m: Omit<ModalStaticFunctions, 'warn'>) => void;
19
19
  export declare const saveConfirm: () => Promise<{
20
20
  destroy: () => void;
21
- update: (configUpdate: import("antd/es/modal/interface").ModalFuncProps | ((prevConfig: import("antd/es/modal/interface").ModalFuncProps) => import("antd/es/modal/interface").ModalFuncProps)) => void;
21
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
22
22
  }>;
23
23
  export { modal };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "6.3.7",
3
+ "version": "6.3.9",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -59,10 +59,10 @@
59
59
  "react-infinite-scroll-component": "^6.1.0",
60
60
  "rc-virtual-list": "^3.11.3",
61
61
  "decimal.js": "^10.4.3",
62
+ "@pisell/materials": "6.3.3",
63
+ "@pisell/date-picker": "3.0.4",
62
64
  "@pisell/utils": "3.0.0",
63
- "@pisell/materials": "6.3.2",
64
- "@pisell/icon": "0.0.11",
65
- "@pisell/date-picker": "3.0.4"
65
+ "@pisell/icon": "0.0.11"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "react": "^18.0.0",
@@ -1,24 +0,0 @@
1
- import React from 'react';
2
- interface SalesProviderProps {
3
- children: React.ReactNode;
4
- hooks?: any;
5
- config?: {
6
- useSessionStorage?: boolean;
7
- };
8
- }
9
- interface SalesContextProps {
10
- data: {
11
- [key: string]: any;
12
- };
13
- setData: any;
14
- hooks: any;
15
- setHooks: any;
16
- getCurrentData: any;
17
- setSessionStorage: () => void;
18
- getSessionStorage: () => any;
19
- removeSessionStorage: () => void;
20
- }
21
- export declare const SalesContext: React.Context<SalesContextProps>;
22
- export declare const SalesProvider: React.FC<SalesProviderProps>;
23
- export declare const useSales: () => SalesContextProps;
24
- export {};
@@ -1 +0,0 @@
1
- export declare const useHooks: () => any;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- declare const SalesModel: ({ children, hooks, config }: any) => JSX.Element;
3
- export * from './Sales';
4
- export default SalesModel;
File without changes
@@ -1,2 +0,0 @@
1
- export declare const getResourceListApi: () => Promise<any>;
2
- export declare const checkBeforeAddToCartApi: (data: any) => Promise<any>;
@@ -1,31 +0,0 @@
1
- /**
2
- * available_capacity(容量)、deadline_day(截止日期)、future_day(预定天数)
3
- */
4
- export declare type TCartItemUnavailableType = 'available_capacity' | 'deadline_day' | 'future_day';
5
- /**
6
- * 商品不可用原因
7
- */
8
- export interface IUnavailableResult {
9
- event_unique_identifier: number;
10
- relation_id: number;
11
- product_id: number;
12
- details?: Array<{
13
- type: TCartItemUnavailableType;
14
- }>;
15
- }
16
- /**
17
- * 更新失效的购物车商品
18
- */
19
- export declare type TUpdateDisabledCartItem = (list: Array<IUnavailableResult>) => void;
20
- export interface ICalculatePriceParams {
21
- /** 商品 */
22
- product: any;
23
- /** 规格 */
24
- variant?: any;
25
- /** 套餐 */
26
- bundle?: any[];
27
- /** 规格 */
28
- options?: any[];
29
- /** 数量 */
30
- num?: number;
31
- }
@@ -1,63 +0,0 @@
1
- import Decimal from 'decimal.js';
2
- import { ICalculatePriceParams } from './types';
3
- export declare const handleProductInfo: (eventDetail: any, num: number) => {
4
- totalPrice: number;
5
- originTotal: any;
6
- is_charge_tax: any;
7
- };
8
- /**
9
- * 获取商品总价
10
- * @description 当前总价计算基于商品数量为1
11
- * @param item 商品
12
- * @returns 商品总价
13
- */
14
- export declare const getTotalPrice: (params: ICalculatePriceParams) => number;
15
- /**
16
- * 获取商品原始总价
17
- * @description 当前总价计算基于商品数量为1
18
- * @param item 商品
19
- * @returns 商品原始总价
20
- */
21
- export declare const getOriginTotalPrice: (params: ICalculatePriceParams) => number | undefined;
22
- export declare const handleCartItemOrigin: (cartItem: any, eventDetail: any) => any;
23
- export declare const formatBundleToOrigin: (bundle: any) => any;
24
- export declare const formatOptionsToOrigin: (options: any) => any;
25
- export declare const handleProductDeposit: (cartItem: any, eventDetail: any, num: number) => {
26
- total: number;
27
- protocols: any;
28
- } | null;
29
- /**
30
- * 获取商品定金
31
- * @description 定金基于商品售价来算,最终乘商品数量
32
- * 1、如果套餐主商品有定金规则,则定金为:(套餐商品总售价 * 定金百分比 + 定金固定金额)* 商品数量
33
- * 2、如果套餐主商品没有定金规则,子商品有定金规则,则定金为:(套餐子商品售价 * 套餐子商品定金百分比 + 套餐子商品定金固定金额)* 商品数量,最终将所有子商品定金相加
34
- * 3、普通商品/单规格商品/组合规则商品,定金规则:(商品总售价 * 定金百分比 + 定金固定金额)* 商品数量
35
- * @param params 参数
36
- * @returns 商品定金
37
- */
38
- export declare const getProductDeposit: (params: {
39
- cartItem: any;
40
- product: any;
41
- bundle?: any;
42
- options?: any;
43
- num?: number;
44
- }) => {
45
- total: number;
46
- protocols: any;
47
- } | null;
48
- /**
49
- * 计算商品定金
50
- * @param params 参数
51
- * @returns 商品定金
52
- */
53
- export declare const calculateProductDeposit: (params: {
54
- depositData: {
55
- deposit_fixed?: string;
56
- deposit_percentage?: string;
57
- };
58
- total: string | number;
59
- num: number;
60
- }) => {
61
- result: boolean;
62
- depositTotal: Decimal;
63
- };
@@ -1,37 +0,0 @@
1
- import React from 'react';
2
- interface CheckoutData {
3
- }
4
- interface PayProps {
5
- order_id: string;
6
- amount: number;
7
- sale_channel?: string;
8
- is_deposit?: number;
9
- deposit_amount?: number;
10
- total_amount?: number;
11
- }
12
- interface CheckoutContextType {
13
- onCheckBeforeBooking: (data: any) => Promise<{
14
- result: boolean;
15
- num: number;
16
- }>;
17
- onCheckout: (data: any) => Promise<any>;
18
- onPay: (payProps: PayProps) => void;
19
- createBooking: any;
20
- checkBeforeBooking: any;
21
- freePay: any;
22
- }
23
- interface CheckoutProviderProps {
24
- children: React.ReactNode;
25
- }
26
- export declare const CheckoutContext: React.Context<CheckoutContextType | undefined>;
27
- export declare const CheckoutProvider: React.FC<CheckoutProviderProps>;
28
- /**
29
- * 使用步骤管理的Hook
30
- * @throws {Error} 如果在StepProvider外部使用会抛出错误
31
- * @returns {StepContextType} 步骤管理上下文
32
- */
33
- export declare const useCheckout: () => CheckoutContextType;
34
- declare const _default: {
35
- defaultState: CheckoutData;
36
- };
37
- export default _default;
@@ -1,15 +0,0 @@
1
- /**
2
- * @title: 下单前置校验接口
3
- * @param {any} data
4
- */
5
- export declare const checkBeforeBookingApi: (data: any) => Promise<any>;
6
- /**
7
- * @title: 创建订单
8
- * @param {any} data
9
- */
10
- export declare const createBookingApi: (data: any) => Promise<any>;
11
- /**
12
- * @title: 免费支付
13
- * @param {string} orderId
14
- */
15
- export declare const freePayApi: (orderId: string) => Promise<any>;
@@ -1,41 +0,0 @@
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
- * @title: 格式化下单接口数据
21
- * @description:
22
- * @param {any} state saledModel数据源
23
- * @param {boolean} excludeDisabled 是否需要排除购物车中失效商品
24
- * @Author: xiangfeng.xue
25
- * @Date: 2025-01-21 17:57
26
- */
27
- export declare const formatValues: (params: {
28
- state: any;
29
- platform: 'h5' | 'pc';
30
- excludeDisabled?: boolean;
31
- extra?: Record<string, any>;
32
- otherValue?: Record<string, any>;
33
- }) => any;
34
- /**
35
- * @title: 获取拉开表单弹窗参数
36
- * @param state
37
- */
38
- export declare const getFormParams: (state: any) => {
39
- product_id: any;
40
- appointment_type: string;
41
- };