@pisell/private-materials 6.3.77 → 6.3.78

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 (267) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/businessModel/SalesModel/index.d.ts +1 -0
  8. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  9. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  10. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  11. package/es/components/appointmentBooking/components/Content/index.d.ts +1 -0
  12. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  13. package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
  14. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
  15. package/es/components/appointmentBooking/index.d.ts +1 -0
  16. package/es/components/booking/addons/model.d.ts +1 -10
  17. package/es/components/booking/components/footer/index.d.ts +1 -0
  18. package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -1
  19. package/es/components/booking/deposit/index.d.ts +1 -0
  20. package/es/components/booking/forms/footer.d.ts +0 -1
  21. package/es/components/booking/forms/model.d.ts +1 -10
  22. package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  23. package/es/components/booking/hooks/useClearCart.d.ts +0 -1
  24. package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
  25. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  26. package/es/components/booking/info/date/index.d.ts +0 -1
  27. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  28. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  29. package/es/components/booking/info/index.d.ts +1 -0
  30. package/es/components/booking/info/model.d.ts +1 -10
  31. package/es/components/booking/info/notes/index.d.ts +0 -1
  32. package/es/components/booking/info/service/Lists.d.ts +1 -0
  33. package/es/components/booking/info/service/actions/index.d.ts +0 -1
  34. package/es/components/booking/info/service/addService/index.d.ts +1 -0
  35. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  36. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  37. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  38. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  39. package/es/components/booking/info2/service/actions/index.d.ts +0 -1
  40. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  41. package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  42. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  43. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  44. package/es/components/booking/materiels/duration/index.d.ts +0 -1
  45. package/es/components/booking/materiels/holder/index.d.ts +0 -1
  46. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  47. package/es/components/booking/model.d.ts +1 -9
  48. package/es/components/booking/notes/model.d.ts +1 -10
  49. package/es/components/booking/payments/model.d.ts +1 -10
  50. package/es/components/booking/utils.d.ts +2 -2
  51. package/es/components/eftpos/index.d.ts +0 -1
  52. package/es/components/eftpos/pos.d.ts +0 -1
  53. package/es/components/eftposPay/amount.d.ts +1 -1
  54. package/es/components/eftposPay/app.d.ts +1 -0
  55. package/es/components/eftposPay/component/fail/network.d.ts +0 -1
  56. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
  57. package/es/components/eftposPay/component/manual/index.d.ts +0 -1
  58. package/es/components/eftposPay/component/signature/index.d.ts +0 -1
  59. package/es/components/eftposPay/device.d.ts +2 -1
  60. package/es/components/eftposPay/index.d.ts +1 -0
  61. package/es/components/eftposPay/linkly/index.d.ts +1 -0
  62. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  63. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  64. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  65. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  66. package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  67. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  68. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  69. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  70. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  71. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  72. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  73. package/es/components/eventBooking/index.d.ts +1 -0
  74. package/es/components/pay/toC/PaymentMethods/BankDeposit/index.js +1 -3
  75. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  76. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  77. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  78. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  79. package/es/components/productExtension/index.d.ts +1 -0
  80. package/es/components/ruleSetting/index.d.ts +1 -0
  81. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  82. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  83. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  84. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  85. package/es/components/schedules/products/index.d.ts +0 -1
  86. package/es/components/schedules/resources/index.d.ts +0 -1
  87. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  88. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  89. package/es/components/schedules/schedules/index.d.ts +0 -1
  90. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  91. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  92. package/es/components/systemSettings/registry/components/docs/images/image-1.png +0 -0
  93. package/es/components/systemSettings/registry/components/docs/images/image-2.png +0 -0
  94. package/es/components/systemSettings/registry/components/docs/images/image-3.png +0 -0
  95. package/es/components/systemSettings/registry/components/docs/images/image-4.png +0 -0
  96. package/es/components/systemSettings/registry/components/docs/images/image-5.png +0 -0
  97. package/es/components/systemSettings/registry/components/docs/images/image-6.png +0 -0
  98. package/es/components/systemSettings/registry/components/docs/images/image-7.png +0 -0
  99. package/es/components/systemSettings/registry/components/docs/images/image-8.png +0 -0
  100. package/es/components/systemSettings/registry/components/docs/images/image.png +0 -0
  101. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  102. package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  103. package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -1
  104. package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
  105. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -1
  106. package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +0 -1
  107. package/es/plus/walletEditor/components/relationProduct/index.d.ts +0 -1
  108. package/es/plus/walletPassGallery/components/passList/index.d.ts +0 -1
  109. package/lib/businessModel/SalesModel/index.d.ts +1 -0
  110. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  111. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  112. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  113. package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
  114. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  115. package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
  116. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
  117. package/lib/components/appointmentBooking/index.d.ts +1 -0
  118. package/lib/components/booking/addons/model.d.ts +1 -10
  119. package/lib/components/booking/components/footer/index.d.ts +1 -0
  120. package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -1
  121. package/lib/components/booking/deposit/index.d.ts +1 -0
  122. package/lib/components/booking/forms/footer.d.ts +0 -1
  123. package/lib/components/booking/forms/model.d.ts +1 -10
  124. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  125. package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
  126. package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
  127. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  128. package/lib/components/booking/info/date/index.d.ts +0 -1
  129. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  130. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  131. package/lib/components/booking/info/index.d.ts +1 -0
  132. package/lib/components/booking/info/model.d.ts +1 -10
  133. package/lib/components/booking/info/notes/index.d.ts +0 -1
  134. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  135. package/lib/components/booking/info/service/actions/index.d.ts +0 -1
  136. package/lib/components/booking/info/service/addService/index.d.ts +1 -0
  137. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  138. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  139. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  140. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  141. package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
  142. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  143. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  144. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  145. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  146. package/lib/components/booking/materiels/duration/index.d.ts +0 -1
  147. package/lib/components/booking/materiels/holder/index.d.ts +0 -1
  148. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  149. package/lib/components/booking/model.d.ts +1 -9
  150. package/lib/components/booking/notes/model.d.ts +1 -10
  151. package/lib/components/booking/payments/model.d.ts +1 -10
  152. package/lib/components/booking/utils.d.ts +2 -2
  153. package/lib/components/eftpos/index.d.ts +0 -1
  154. package/lib/components/eftpos/pos.d.ts +0 -1
  155. package/lib/components/eftposPay/amount.d.ts +1 -1
  156. package/lib/components/eftposPay/app.d.ts +1 -0
  157. package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
  158. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
  159. package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
  160. package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
  161. package/lib/components/eftposPay/device.d.ts +2 -1
  162. package/lib/components/eftposPay/index.d.ts +1 -0
  163. package/lib/components/eftposPay/linkly/index.d.ts +1 -0
  164. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  165. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  166. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  167. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  168. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  169. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  170. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  171. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  172. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  173. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  174. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  175. package/lib/components/eventBooking/index.d.ts +1 -0
  176. package/lib/components/pay/toC/PaymentMethods/BankDeposit/index.js +1 -1
  177. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  178. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  179. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  180. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  181. package/lib/components/productExtension/index.d.ts +1 -0
  182. package/lib/components/ruleSetting/index.d.ts +1 -0
  183. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  184. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  185. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  186. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  187. package/lib/components/schedules/products/index.d.ts +0 -1
  188. package/lib/components/schedules/resources/index.d.ts +0 -1
  189. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  190. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  191. package/lib/components/schedules/schedules/index.d.ts +0 -1
  192. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  193. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  194. package/lib/components/systemSettings/registry/components/docs/images/image-1.png +0 -0
  195. package/lib/components/systemSettings/registry/components/docs/images/image-2.png +0 -0
  196. package/lib/components/systemSettings/registry/components/docs/images/image-3.png +0 -0
  197. package/lib/components/systemSettings/registry/components/docs/images/image-4.png +0 -0
  198. package/lib/components/systemSettings/registry/components/docs/images/image-5.png +0 -0
  199. package/lib/components/systemSettings/registry/components/docs/images/image-6.png +0 -0
  200. package/lib/components/systemSettings/registry/components/docs/images/image-7.png +0 -0
  201. package/lib/components/systemSettings/registry/components/docs/images/image-8.png +0 -0
  202. package/lib/components/systemSettings/registry/components/docs/images/image.png +0 -0
  203. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  204. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  205. package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -1
  206. package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
  207. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -1
  208. package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +0 -1
  209. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +0 -1
  210. package/lib/plus/walletPassGallery/components/passList/index.d.ts +0 -1
  211. package/package.json +3 -3
  212. package/es/components/Sales/Checkout/utils.d.ts +0 -41
  213. package/es/components/Sales/Summary/utils.d.ts +0 -51
  214. package/es/components/booking/components/tabPane/index.d.ts +0 -4
  215. package/es/components/booking/deposit/DepositItem/index.d.ts +0 -25
  216. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  217. package/es/components/booking/info/clientVariant/utils.d.ts +0 -1
  218. package/es/components/booking/info2/service/editService/utils.d.ts +0 -13
  219. package/es/components/booking/notes/addNote/index.d.ts +0 -3
  220. package/es/components/eftposPay/const.d.ts +0 -184
  221. package/es/components/eftposPay/hooks.d.ts +0 -35
  222. package/es/components/eftposPay/store/index.d.ts +0 -355
  223. package/es/components/eftposPay/tyro/index.d.ts +0 -9
  224. package/es/components/pay/toC/PaymentList/utils.d.ts +0 -36
  225. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
  226. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
  227. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
  228. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -2
  229. package/es/components/pay/toC/PaymentMethods/StripePay/index.d.ts +0 -10
  230. package/es/components/pay/toC/model.d.ts +0 -40
  231. package/es/components/shoppingCart/locales.d.ts +0 -33
  232. package/es/components/shoppingCart/type.d.ts +0 -48
  233. package/es/components/subTotal/locales.d.ts +0 -42
  234. package/es/components/ticketBooking/locales.d.ts +0 -174
  235. package/es/hooks/useEngineContext.d.ts +0 -10
  236. package/es/hooks/useWindowSize.d.ts +0 -5
  237. package/es/plus/selectHolder/locales.d.ts +0 -21
  238. package/es/pro/Selector/Selector.d.ts +0 -14
  239. package/es/pro/pisellNumberSelector/example.d.ts +0 -3
  240. package/lib/components/Sales/Checkout/utils.d.ts +0 -41
  241. package/lib/components/Sales/Summary/utils.d.ts +0 -51
  242. package/lib/components/booking/components/tabPane/index.d.ts +0 -4
  243. package/lib/components/booking/deposit/DepositItem/index.d.ts +0 -25
  244. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  245. package/lib/components/booking/info/clientVariant/utils.d.ts +0 -1
  246. package/lib/components/booking/info2/service/editService/utils.d.ts +0 -13
  247. package/lib/components/booking/notes/addNote/index.d.ts +0 -3
  248. package/lib/components/eftposPay/const.d.ts +0 -184
  249. package/lib/components/eftposPay/hooks.d.ts +0 -35
  250. package/lib/components/eftposPay/store/index.d.ts +0 -355
  251. package/lib/components/eftposPay/tyro/index.d.ts +0 -9
  252. package/lib/components/pay/toC/PaymentList/utils.d.ts +0 -36
  253. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
  254. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
  255. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
  256. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -2
  257. package/lib/components/pay/toC/PaymentMethods/StripePay/index.d.ts +0 -10
  258. package/lib/components/pay/toC/model.d.ts +0 -40
  259. package/lib/components/shoppingCart/locales.d.ts +0 -33
  260. package/lib/components/shoppingCart/type.d.ts +0 -48
  261. package/lib/components/subTotal/locales.d.ts +0 -42
  262. package/lib/components/ticketBooking/locales.d.ts +0 -174
  263. package/lib/hooks/useEngineContext.d.ts +0 -10
  264. package/lib/hooks/useWindowSize.d.ts +0 -5
  265. package/lib/plus/selectHolder/locales.d.ts +0 -21
  266. package/lib/pro/Selector/Selector.d.ts +0 -14
  267. package/lib/pro/pisellNumberSelector/example.d.ts +0 -3
@@ -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
  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 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 const Resources: () => JSX.Element;
4
3
  export default Resources;
@@ -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;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const useAddService: (id?: number, type?: string) => JSX.Element | null;
3
2
  export default useAddService;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const useClearCart: (key?: number | undefined) => JSX.Element | null;
3
2
  export default useClearCart;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface AddServiceVariantProps {
2
3
  globalState: any;
3
4
  setGlobalState: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '../index.less';
3
2
  declare const VertifyEmail: (props: {
4
3
  email: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const OptionItemCard: (props: any) => JSX.Element;
4
3
  export default OptionItemCard;
@@ -1,7 +1,6 @@
1
1
  /**
2
2
  * 单规格商品卡片,点击后需要拉起弹窗展示具体的规格信息
3
3
  */
4
- /// <reference types="react" />
5
4
  import { RenderItemProps } from '../../../../pro/Selector/types';
6
5
  import './index.less';
7
6
  declare const OptionsCard: (props: RenderItemProps & {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface OptionsModalProps {
3
2
  parentDataSource: any;
4
3
  dataSource: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const TitleExtra: (props: any) => JSX.Element;
4
3
  export default TitleExtra;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const RelationProduct: ({ value, onChange, }: {
4
3
  value?: string[] | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface IPassListProps {
3
2
  dataSource: any[];
4
3
  value?: string | number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "6.3.77",
3
+ "version": "6.3.78",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -76,9 +76,9 @@
76
76
  "react-infinite-scroll-component": "^6.1.0",
77
77
  "react-resizable": "^3.0.5",
78
78
  "styled-components": "^6.0.0-rc.3",
79
- "@pisell/utils": "3.0.5",
80
- "@pisell/materials": "6.3.23",
81
79
  "@pisell/icon": "0.0.11",
80
+ "@pisell/materials": "6.3.23",
81
+ "@pisell/utils": "3.0.5",
82
82
  "@pisell/date-picker": "3.0.8"
83
83
  },
84
84
  "peerDependencies": {
@@ -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
- };
@@ -1,51 +0,0 @@
1
- import Decimal from 'decimal.js';
2
- interface CartItem {
3
- price: number | string;
4
- quantity?: number;
5
- [k: string]: any;
6
- }
7
- interface PriceDetail {
8
- subtotal: string;
9
- total: string;
10
- taxTitle?: string;
11
- totalTaxFee?: string;
12
- isPriceIncludeTax?: 0 | 1;
13
- deposit?: {
14
- total: string;
15
- protocols: any[];
16
- hasDeposit: boolean;
17
- };
18
- }
19
- /**
20
- * 计算商品小计(不含其他费用)
21
- * @param items - 购物车商品数组
22
- * @returns 商品总价字符串,保留2位小数
23
- */
24
- export declare const calculateSubtotal: (items: CartItem[]) => string;
25
- /**
26
- * @title: 单个商品的税费
27
- * @description:
28
- * 单个商品的税费 = 商品销售单价(折扣后) * 税率 * is_charge_tax /( 1+ 税率 * is_price_include_tax)
29
- * $taxFee = $price * $taxRate * $isChargeTax / (1 + $taxRate * $isPriceIncludeTax);
30
- * @return {*}
31
- * @Author: xiangfeng.xue
32
- */
33
- export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) => Decimal | "0.00";
34
- /**
35
- * 计算所有价格明细
36
- * @param items - 购物车商品数组
37
- * @param options - 其他费用配置
38
- * @returns 价格明细对象
39
- */
40
- export declare const calculatePriceDetails: (shopInfo: any, items: CartItem[]) => PriceDetail;
41
- /**
42
- * @title: 计算定金
43
- * @param items - 购物车商品数组
44
- * @returns 定金字符串,保留2位小数
45
- */
46
- export declare const calculateDeposit: (items: CartItem[]) => {
47
- total: string;
48
- protocols: any[];
49
- hasDeposit: never;
50
- } | undefined;
51
- export {};
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import "./index.less";
3
- declare const TabPane: React.FC<any>;
4
- export default TabPane;
@@ -1,25 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare type DepositItemProps = {
4
- status: 'paid' | 'unpaid' | 'partially_paid';
5
- onEdit: React.MouseEventHandler<HTMLSpanElement>;
6
- customer: any;
7
- totalAmountStr: string;
8
- totalAmount: number;
9
- orderId: number;
10
- orderNumber: number;
11
- handleGoOrderDetail: () => void;
12
- generatePaymentLink: (orderId: number) => void;
13
- sendEmail: (orderId: number) => void;
14
- depositAmount: number;
15
- depositUnPaidAmount: number;
16
- depositPaidAmount: number;
17
- depositOriginPaidAmount: number;
18
- amountSymbol: string;
19
- createdTime: string;
20
- isPaid: boolean;
21
- isBookingCancelled: boolean;
22
- hideOrderDetail?: boolean;
23
- };
24
- declare const DepositItem: (props: DepositItemProps) => JSX.Element;
25
- export default DepositItem;
@@ -1 +0,0 @@
1
- export declare const useIsBooking4Shop: (state: any) => any;
@@ -1 +0,0 @@
1
- export declare const getWaiverTitle: (waiverForm: any[]) => string;
@@ -1,13 +0,0 @@
1
- /**
2
- 1. 在进入编辑服务前
3
-
4
- 计算出各种需要的列表
5
-
6
- 设置默认值
7
-
8
- 判断是否需要进入编辑服务页
9
- */
10
- export declare const getAutoAllocationStorage: (id: string | number) => any;
11
- export declare const setAutoAllocationStorage: (data: {
12
- [key: string]: boolean;
13
- }) => void;
@@ -1,3 +0,0 @@
1
- import "./index.less";
2
- declare const AddNote: ({ value, onChange, wait, title, placeholder }: any) => JSX.Element;
3
- export default AddNote;
@@ -1,184 +0,0 @@
1
- export declare enum EftposEnum {
2
- /** 后端支付 - 仅支付 */
3
- Payo = "payo",
4
- /** 前端支付 */
5
- Tyro = "tyro",
6
- /** 后端支付 - 支付 + 退款 */
7
- Windcave = "windcave",
8
- Stripe = "stripe",
9
- Linkly = "linkly"
10
- }
11
- export declare enum StatusEnum {
12
- Loading = "loading",
13
- Warn = "warn",
14
- Fail = "fail",
15
- Success = "success",
16
- Pedding = "pedding",
17
- Resove = "resove",
18
- Reject = "reject",
19
- Question = "question"
20
- }
21
- export declare enum ModeEnum {
22
- /** 支付 */
23
- Pay = "pay",
24
- /** 完整支付 */
25
- FullPay = "fullPay",
26
- /** 退款 */
27
- Refund = "refund",
28
- /** 查询 */
29
- Query = "query"
30
- }
31
- /**
32
- * 崩溃恢复
33
- */
34
- export declare enum RestoreEumn {
35
- /** 常规 */
36
- Normal = "normal",
37
- /** 恢复 */
38
- Restore = "restore"
39
- }
40
- /**
41
- * 订单状态
42
- */
43
- export declare enum OrderEumn {
44
- /** 恢复 */
45
- Restore = "restore",
46
- /** 常规 */
47
- Normal = "normal",
48
- /** 成功 */
49
- Succeed = "succeed",
50
- /** 失败 */
51
- Failed = "failed",
52
- /** 等待 */
53
- Pending = "pending",
54
- /** 没有订单状态 */
55
- Null = "null"
56
- }
57
- export declare enum ClientEnum {
58
- /** 用户端 */
59
- User = "user",
60
- /** 商家端 */
61
- Merchant = "merchant"
62
- }
63
- export declare enum RouteEnum {
64
- /** 改价页 */
65
- Amount = "amount",
66
- /** 门店列表页 */
67
- DeviceList = "deviceList",
68
- /**支付页 */
69
- Pay = "pay"
70
- }
71
- export declare enum PayRouteEnum {
72
- Step = "step",
73
- Unset = "unset"
74
- }
75
- export declare type RouteType = `${RouteEnum}`;
76
- export declare type PayRouteType = `${PayRouteEnum}`;
77
- export declare type DeviceStatusType = `${EftposEnum}`;
78
- export declare type StatusType = `${StatusEnum}`;
79
- export declare type ModeType = `${ModeEnum}`;
80
- export interface PosProps {
81
- /** 厂商类型 */
82
- type: DeviceStatusType;
83
- getApi: () => {
84
- [key: string]: (...agrn: unknown[]) => Promise<unknown>;
85
- };
86
- params: {
87
- [key: string]: unknown;
88
- };
89
- /** 回调 */
90
- onChangeStatus: (status: `${StatusEnum.Success}` | `${StatusEnum.Fail}` | 'page' | 'print' | 'mark_tx_processed', params?: {
91
- [keys: string]: unknown;
92
- } | string, other?: any) => void;
93
- onChangeParams(...agrn: unknown[]): void;
94
- terminal: {
95
- network: boolean;
96
- };
97
- device?: {
98
- [key: string]: unknown;
99
- };
100
- mode: ModeEnum;
101
- tyroUrl?: string;
102
- tyroVersion?: string;
103
- source: 'normal' | 'restore';
104
- }
105
- export interface PayProps {
106
- api: ReturnType<PosProps['getApi']>;
107
- onChange: PosProps['onChangeStatus'];
108
- className?: string;
109
- }
110
- export declare type Amount = {
111
- name: string;
112
- /** 订单金额 */
113
- money: number;
114
- /** 上一轮操作订单金额 */
115
- amount: number;
116
- /** 金额单位 */
117
- symbol: string;
118
- /** 手续费-百分率 */
119
- surRate: number;
120
- /** 手续费-是否开启 */
121
- surMoney: number;
122
- /** 手续费-是否存在 */
123
- surcharge: boolean;
124
- /** 是否使用原始手续费 */
125
- useOriginSurcharge: boolean;
126
- };
127
- export declare type PayAmount = {
128
- /** 手续费-百分比-带百分号 例: 1% =》 数据为 0.01 */
129
- surPercentRate: string;
130
- /** 手续费-百分比-不带百分号 例:1% =》 数据为 1 */
131
- surRate: string;
132
- /** 手续费-比例金额 amount * surPercentRate */
133
- surRateMoney: string;
134
- /** 手续费-固定金额 */
135
- surMoney: string;
136
- /** 手续费 = surPercentRate + surMoney */
137
- surcharge: string;
138
- /** 支付金额 (不包含手续费) */
139
- amount: string;
140
- /** 支付总金额 = amount + surcharge */
141
- total: string;
142
- /** 订单金额 */
143
- sourceAmount: string;
144
- /** 支付总金额带单位 + 单位 */
145
- totalUnit: string;
146
- };
147
- export declare enum PayStatus {
148
- 'Success' = "200",
149
- /** 未生成交易记录 */
150
- 'NoPay' = "4004",
151
- /** 配对失效 */
152
- 'PairingFailure' = "606020",
153
- /** 支付失败 */
154
- 'Unknown' = "701000",
155
- /** 交易请求超时 */
156
- 'Timeout' = "701001",
157
- /** 繁忙 EFTPOS终端暂时不可用,因为EFTPOS正在处理另一个请求。 */
158
- 'PayOtherEftposFailed' = "701003",
159
- /** 购物者没有出示卡片/卡片金额不足/在线拒绝/卡已过期/卡被锁定 */
160
- 'PayCardErrorFailed' = "701004",
161
- /** 断网 向EFTPOS发送消息失败。可能有网络问题,也可能没有连接websocket。 */
162
- 'NoNetWork' = "701005",
163
- /** 交易等待超时 */
164
- 'PayTimeout' = "701006",
165
- /** 连接失败 */
166
- 'SocketError' = "701007",
167
- /** 银行拒绝 */
168
- 'PayBankRefuses' = "701008",
169
- /** 签名拒绝 */
170
- 'SignatureDeclined' = "701009",
171
- /** 配置参数错误 */
172
- 'UserConfigError' = "701010"
173
- }
174
- export interface ActionProps {
175
- onChange: (status: `${StatusEnum.Success}` | `${StatusEnum.Fail}` | 'page', params?: {
176
- [key: string]: unknown;
177
- } | string) => void;
178
- api: {
179
- [key: string]: (...agrn: unknown[]) => Promise<unknown>;
180
- };
181
- className?: string;
182
- isMobile?: boolean;
183
- formatAmount: (amount: number | string, precision: number, symbol: string) => string;
184
- }
@@ -1,35 +0,0 @@
1
- import React from 'react';
2
- import { PayStatus } from './const';
3
- import { ModeEnum, ClientEnum } from './const';
4
- export declare const useStoreRef: <T extends {
5
- [key: string]: unknown;
6
- } = {
7
- [key: string]: unknown;
8
- }, U extends {
9
- [key: string]: unknown;
10
- } = {
11
- [key: string]: unknown;
12
- }>() => {
13
- readonly deviceRef: React.MutableRefObject<T>;
14
- readonly payRef: React.MutableRefObject<U>;
15
- readonly numRef: React.MutableRefObject<string | number | undefined>;
16
- readonly orderIdRef: React.MutableRefObject<string | number>;
17
- readonly modeRef: React.MutableRefObject<ModeEnum>;
18
- readonly statusRef: React.MutableRefObject<"warn" | "success" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question">;
19
- readonly netRef: React.MutableRefObject<boolean | undefined>;
20
- readonly symbolRef: React.MutableRefObject<string>;
21
- readonly amountRef: React.MutableRefObject<string | number>;
22
- readonly eftposRef: React.MutableRefObject<"stripe" | "payo" | "tyro" | "windcave" | "linkly">;
23
- readonly clientRef: React.MutableRefObject<ClientEnum>;
24
- readonly dataRef: React.MutableRefObject<import("./store").State>;
25
- };
26
- /**
27
- * @title: 通用失败处理
28
- * @description: 固定步骤 错误处理逻辑
29
- * @return null
30
- * @Author: hongbing.wang
31
- * @Date: 2024-08-12 11:54
32
- */
33
- export declare const useFail: (index: number) => (res: {
34
- code?: `${PayStatus}`;
35
- }, isMark?: boolean) => void;