@pisell/private-materials 3.3.7 → 3.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 (287) 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 +4 -4
  8. package/build/lowcode/view.js +8 -8
  9. package/es/businessModel/SalesModel/index.d.ts +1 -0
  10. package/es/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +8 -0
  11. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +3 -0
  12. package/es/components/appointmentBooking/components/Cart/utils.d.ts +77 -0
  13. package/es/components/appointmentBooking/components/Content/index.d.ts +3 -0
  14. package/es/components/appointmentBooking/components/Date/index.d.ts +3 -0
  15. package/es/components/appointmentBooking/components/Date/index.js +5 -3
  16. package/es/components/appointmentBooking/components/Footer/index.d.ts +3 -0
  17. package/es/components/appointmentBooking/components/TimeSlicing/index.d.ts +3 -0
  18. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  19. package/es/components/appointmentBooking/deposit/index.d.ts +3 -0
  20. package/es/components/appointmentBooking/hooks.d.ts +105 -0
  21. package/es/components/appointmentBooking/hooks.js +3 -1
  22. package/es/components/appointmentBooking/index.d.ts +3 -0
  23. package/es/components/appointmentBooking/locales.d.ts +345 -0
  24. package/es/components/booking/addons/model.d.ts +10 -1
  25. package/es/components/booking/addons/model.js +5 -5
  26. package/es/components/booking/components/TabProduct/selectProductItem/index.js +4 -4
  27. package/es/components/booking/components/TabProduct/tabs/index.js +1 -5
  28. package/es/components/booking/components/browserSelect/index.js +1 -1
  29. package/es/components/booking/forms/model.d.ts +10 -1
  30. package/es/components/booking/forms/model.js +5 -5
  31. package/es/components/booking/info/model.d.ts +10 -1
  32. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  33. package/es/components/booking/info/service/like/index.js +1 -1
  34. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  35. package/es/components/booking/info/service2/utils.d.ts +1 -1
  36. package/es/components/booking/info/utils.js +1 -1
  37. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  38. package/es/components/booking/materiels/startTime/index.js +1 -1
  39. package/es/components/booking/model.d.ts +9 -1
  40. package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
  41. package/es/components/booking/notes/NoteBlock/index.js +11 -11
  42. package/es/components/booking/notes/model.d.ts +10 -1
  43. package/es/components/booking/notes/model.js +5 -5
  44. package/es/components/booking/payments/model.d.ts +10 -1
  45. package/es/components/booking/payments/model.js +5 -5
  46. package/es/components/eftposPay/hooks.d.ts +1 -1
  47. package/es/components/eftposPay/store/index.d.ts +1 -1
  48. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  49. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  50. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  51. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  52. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  53. package/es/components/eventBooking/index.d.ts +1 -0
  54. package/es/components/listComponent/index.js +5 -5
  55. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  56. package/es/components/pay/toC/model.d.ts +9 -1
  57. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  58. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  59. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  60. package/es/components/productExtension/card/index.js +3 -3
  61. package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
  62. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  63. package/es/components/productExtension/fields/Forms/index.js +12 -12
  64. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
  65. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  66. package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
  67. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  68. package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
  69. package/es/components/productExtension/index.d.ts +1 -0
  70. package/es/components/productExtension/server.js +2 -2
  71. package/es/components/ruleSetting/index.d.ts +1 -0
  72. package/es/components/ruleSetting/ruleBorder/index.js +1 -1
  73. package/es/components/schedules/calendar/index.js +4 -4
  74. package/es/components/schedules/calendar/serve.js +2 -2
  75. package/es/components/schedules/components/CurrentDay/index.js +5 -5
  76. package/es/components/schedules/components/CurrentDay/serve.js +2 -2
  77. package/es/components/schedules/components/DropdownSort/index.js +1 -1
  78. package/es/components/schedules/components/ResourceList/index.js +1 -1
  79. package/es/components/schedules/components/Search/index.js +5 -5
  80. package/es/components/schedules/model.d.ts +9 -1
  81. package/es/components/schedules/model.js +5 -5
  82. package/es/components/schedules/openHours/index.js +1 -1
  83. package/es/components/schedules/openHours/serve.js +2 -2
  84. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
  85. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
  86. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
  87. package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
  88. package/es/components/schedules/products/serve.js +2 -2
  89. package/es/components/schedules/products/utils.js +5 -5
  90. package/es/components/schedules/resources/detail/detailContent.js +2 -2
  91. package/es/components/schedules/resources/detail/index.js +10 -10
  92. package/es/components/schedules/resources/list/index.js +2 -2
  93. package/es/components/schedules/resources/relationProduct/index.js +1 -1
  94. package/es/components/schedules/resources/serve.js +2 -2
  95. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
  96. package/es/components/schedules/utils.d.ts +1 -1
  97. package/es/components/schedules/utils.js +4 -4
  98. package/es/components/selectModal/index.js +2 -2
  99. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  100. package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
  101. package/es/components/ticketBooking/components/ticketBooking/index.js +8 -1
  102. package/es/components/wallet/Detail/model.d.ts +13 -1
  103. package/es/components/wallet/DiscountCard/model.d.ts +14 -1
  104. package/es/components/wallet/PointCard/model.d.ts +13 -1
  105. package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
  106. package/es/components/wallet/Voucher/model.d.ts +13 -1
  107. package/es/components/wallet/hooks/useWalletCard.d.ts +1 -0
  108. package/es/components/wallet/model.d.ts +9 -1
  109. package/es/hooks/useComponents.js +1 -1
  110. package/es/utils/index.d.ts +1 -1
  111. package/lib/businessModel/SalesModel/index.d.ts +1 -0
  112. package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +8 -0
  113. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +3 -0
  114. package/lib/components/appointmentBooking/components/Cart/utils.d.ts +77 -0
  115. package/lib/components/appointmentBooking/components/Content/index.d.ts +3 -0
  116. package/lib/components/appointmentBooking/components/Date/index.d.ts +3 -0
  117. package/lib/components/appointmentBooking/components/Date/index.js +4 -3
  118. package/lib/components/appointmentBooking/components/Footer/index.d.ts +3 -0
  119. package/lib/components/appointmentBooking/components/TimeSlicing/index.d.ts +3 -0
  120. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  121. package/lib/components/appointmentBooking/deposit/index.d.ts +3 -0
  122. package/lib/components/appointmentBooking/hooks.d.ts +105 -0
  123. package/lib/components/appointmentBooking/hooks.js +2 -1
  124. package/lib/components/appointmentBooking/index.d.ts +3 -0
  125. package/lib/components/appointmentBooking/locales.d.ts +345 -0
  126. package/lib/components/booking/addons/model.d.ts +10 -1
  127. package/lib/components/booking/forms/model.d.ts +10 -1
  128. package/lib/components/booking/info/model.d.ts +10 -1
  129. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  130. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  131. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  132. package/lib/components/booking/info/utils.js +1 -1
  133. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  134. package/lib/components/booking/model.d.ts +9 -1
  135. package/lib/components/booking/notes/model.d.ts +10 -1
  136. package/lib/components/booking/payments/model.d.ts +10 -1
  137. package/lib/components/eftposPay/hooks.d.ts +1 -1
  138. package/lib/components/eftposPay/store/index.d.ts +1 -1
  139. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  140. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  141. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  142. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  143. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  144. package/lib/components/eventBooking/index.d.ts +1 -0
  145. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  146. package/lib/components/pay/toC/model.d.ts +9 -1
  147. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  148. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  149. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  150. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  151. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  152. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  153. package/lib/components/productExtension/index.d.ts +1 -0
  154. package/lib/components/ruleSetting/index.d.ts +1 -0
  155. package/lib/components/schedules/model.d.ts +9 -1
  156. package/lib/components/schedules/utils.d.ts +1 -1
  157. package/lib/components/schedules/utils.js +1 -1
  158. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  159. package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
  160. package/lib/components/ticketBooking/components/ticketBooking/index.js +7 -1
  161. package/lib/components/wallet/Detail/model.d.ts +13 -1
  162. package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
  163. package/lib/components/wallet/PointCard/model.d.ts +13 -1
  164. package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
  165. package/lib/components/wallet/Voucher/model.d.ts +13 -1
  166. package/lib/components/wallet/hooks/useWalletCard.d.ts +1 -0
  167. package/lib/components/wallet/model.d.ts +9 -1
  168. package/lib/utils/index.d.ts +1 -1
  169. package/package.json +3 -3
  170. package/es/components/Sales/Event/index.d.ts +0 -30
  171. package/es/components/appointmentBooking/utils.d.ts +0 -151
  172. package/es/components/booking/addons/index.d.ts +0 -17
  173. package/es/components/booking/components/footer/index.d.ts +0 -11
  174. package/es/components/booking/components/footer/utils.d.ts +0 -30
  175. package/es/components/booking/hooks/useCreateBookingPageHeader.d.ts +0 -6
  176. package/es/components/booking/info/hooks/useAddHolder.d.ts +0 -2
  177. package/es/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
  178. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -10
  179. package/es/components/booking/info/index.d.ts +0 -3
  180. package/es/components/booking/info/main.d.ts +0 -12
  181. package/es/components/booking/info/pet/index.d.ts +0 -14
  182. package/es/components/booking/info/service/Lists.d.ts +0 -2
  183. package/es/components/booking/info/service/addService/index.d.ts +0 -11
  184. package/es/components/booking/info/service/editService/index.d.ts +0 -7
  185. package/es/components/booking/info/service/index.d.ts +0 -4
  186. package/es/components/booking/info/service/serviceManager/index.d.ts +0 -20
  187. package/es/components/booking/info/service2/Group/utils.d.ts +0 -14
  188. package/es/components/booking/info/service2/hooks/useSelectPet.d.ts +0 -6
  189. package/es/components/booking/info2/index.d.ts +0 -12
  190. package/es/components/booking/info2/serve.d.ts +0 -6
  191. package/es/components/booking/info2/service/addService/index.d.ts +0 -12
  192. package/es/components/booking/info2/service/addService/utils.d.ts +0 -88
  193. package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -3
  194. package/es/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +0 -7
  195. package/es/components/booking/info2/service/editService/Resources/index.d.ts +0 -4
  196. package/es/components/booking/info2/service/editService/index.d.ts +0 -7
  197. package/es/components/booking/info2/service/index.d.ts +0 -4
  198. package/es/components/booking/info2/utils.d.ts +0 -4
  199. package/es/components/booking/info2/utilsByBooking.d.ts +0 -34
  200. package/es/components/booking/materiels/holder/index.d.ts +0 -7
  201. package/es/components/booking/notes/addNote/index.d.ts +0 -4
  202. package/es/components/index.d.ts +0 -18
  203. package/es/components/productSelect/components/TabProduct/index.d.ts +0 -2
  204. package/es/components/productSelect/components/gridLayout/index.d.ts +0 -9
  205. package/es/components/productSelect/components/productGroup/index.d.ts +0 -34
  206. package/es/components/productSelect/hooks/useToken.d.ts +0 -18
  207. package/es/components/productSelect/index.d.ts +0 -23
  208. package/es/components/productSelect/locales.d.ts +0 -18
  209. package/es/components/productSelect/mock.d.ts +0 -134
  210. package/es/components/productSelect/theme/token.d.ts +0 -17
  211. package/es/components/shoppingCart/Provider.d.ts +0 -3
  212. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -3
  213. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -2
  214. package/es/components/shoppingCart/index.d.ts +0 -3
  215. package/es/components/shoppingCart/type.d.ts +0 -48
  216. package/es/components/subTotal/index.d.ts +0 -22
  217. package/es/components/subTotal/locales.d.ts +0 -42
  218. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -6
  219. package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -4
  220. package/es/components/ticketBooking/data.d.ts +0 -58
  221. package/es/components/ticketBooking/hooks/useNetworkStatus.d.ts +0 -11
  222. package/es/components/ticketBooking/index.d.ts +0 -3
  223. package/es/components/ticketBooking/locales.d.ts +0 -144
  224. package/es/components/ticketBooking/miniRedux.d.ts +0 -22
  225. package/es/components/ticketBooking/serve.d.ts +0 -282
  226. package/es/components/ticketBooking/utils/index.d.ts +0 -14
  227. package/es/components/wallet/Detail/index.d.ts +0 -42
  228. package/es/index.d.ts +0 -45
  229. package/lib/components/Sales/Event/index.d.ts +0 -30
  230. package/lib/components/appointmentBooking/utils.d.ts +0 -151
  231. package/lib/components/booking/addons/index.d.ts +0 -17
  232. package/lib/components/booking/components/footer/index.d.ts +0 -11
  233. package/lib/components/booking/components/footer/utils.d.ts +0 -30
  234. package/lib/components/booking/hooks/useCreateBookingPageHeader.d.ts +0 -6
  235. package/lib/components/booking/info/hooks/useAddHolder.d.ts +0 -2
  236. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
  237. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -10
  238. package/lib/components/booking/info/index.d.ts +0 -3
  239. package/lib/components/booking/info/main.d.ts +0 -12
  240. package/lib/components/booking/info/pet/index.d.ts +0 -14
  241. package/lib/components/booking/info/service/Lists.d.ts +0 -2
  242. package/lib/components/booking/info/service/addService/index.d.ts +0 -11
  243. package/lib/components/booking/info/service/editService/index.d.ts +0 -7
  244. package/lib/components/booking/info/service/index.d.ts +0 -4
  245. package/lib/components/booking/info/service/serviceManager/index.d.ts +0 -20
  246. package/lib/components/booking/info/service2/Group/utils.d.ts +0 -14
  247. package/lib/components/booking/info/service2/hooks/useSelectPet.d.ts +0 -6
  248. package/lib/components/booking/info2/index.d.ts +0 -12
  249. package/lib/components/booking/info2/serve.d.ts +0 -6
  250. package/lib/components/booking/info2/service/addService/index.d.ts +0 -12
  251. package/lib/components/booking/info2/service/addService/utils.d.ts +0 -88
  252. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -3
  253. package/lib/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +0 -7
  254. package/lib/components/booking/info2/service/editService/Resources/index.d.ts +0 -4
  255. package/lib/components/booking/info2/service/editService/index.d.ts +0 -7
  256. package/lib/components/booking/info2/service/index.d.ts +0 -4
  257. package/lib/components/booking/info2/utils.d.ts +0 -4
  258. package/lib/components/booking/info2/utilsByBooking.d.ts +0 -34
  259. package/lib/components/booking/materiels/holder/index.d.ts +0 -7
  260. package/lib/components/booking/notes/addNote/index.d.ts +0 -4
  261. package/lib/components/index.d.ts +0 -18
  262. package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -2
  263. package/lib/components/productSelect/components/gridLayout/index.d.ts +0 -9
  264. package/lib/components/productSelect/components/productGroup/index.d.ts +0 -34
  265. package/lib/components/productSelect/hooks/useToken.d.ts +0 -18
  266. package/lib/components/productSelect/index.d.ts +0 -23
  267. package/lib/components/productSelect/locales.d.ts +0 -18
  268. package/lib/components/productSelect/mock.d.ts +0 -134
  269. package/lib/components/productSelect/theme/token.d.ts +0 -17
  270. package/lib/components/shoppingCart/Provider.d.ts +0 -3
  271. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -3
  272. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -2
  273. package/lib/components/shoppingCart/index.d.ts +0 -3
  274. package/lib/components/shoppingCart/type.d.ts +0 -48
  275. package/lib/components/subTotal/index.d.ts +0 -22
  276. package/lib/components/subTotal/locales.d.ts +0 -42
  277. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -6
  278. package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -4
  279. package/lib/components/ticketBooking/data.d.ts +0 -58
  280. package/lib/components/ticketBooking/hooks/useNetworkStatus.d.ts +0 -11
  281. package/lib/components/ticketBooking/index.d.ts +0 -3
  282. package/lib/components/ticketBooking/locales.d.ts +0 -144
  283. package/lib/components/ticketBooking/miniRedux.d.ts +0 -22
  284. package/lib/components/ticketBooking/serve.d.ts +0 -282
  285. package/lib/components/ticketBooking/utils/index.d.ts +0 -14
  286. package/lib/components/wallet/Detail/index.d.ts +0 -42
  287. package/lib/index.d.ts +0 -45
@@ -1,42 +0,0 @@
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
- };
42
- export default _default;
@@ -1,6 +0,0 @@
1
- interface AddServiceVariantProps {
2
- globalState: any;
3
- setGlobalState: any;
4
- }
5
- declare const AddServiceVariant: (props: AddServiceVariantProps) => JSX.Element;
6
- export default AddServiceVariant;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import './index.less';
3
- declare const index: () => JSX.Element;
4
- export default index;
@@ -1,58 +0,0 @@
1
- declare const mockProduct: {
2
- order_id: number;
3
- shop_id: number;
4
- product_id: number;
5
- product_variant_id: number;
6
- product_unique_string: string;
7
- product_title: string;
8
- product_cover: string;
9
- product_sku: {
10
- code: string;
11
- name: string;
12
- barcode: string;
13
- sku_ids: string;
14
- variant: never[];
15
- variant_id: string;
16
- generate_voucher: never[];
17
- };
18
- product_bundle: never[];
19
- gift_card: number;
20
- selling_price: string;
21
- original_price: string;
22
- cost_price: string;
23
- product_quantity: number;
24
- payment_price: string;
25
- deposit_price: string;
26
- tax_fee: string;
27
- is_charge_tax: number;
28
- refund_quantity: number;
29
- refund_status: string;
30
- shipping_status: string;
31
- payment_status: string;
32
- commission: number;
33
- commission_tax: number;
34
- rebate_type: string;
35
- rebate_value: string;
36
- commission_percent: string;
37
- channel: string;
38
- channel_id: number;
39
- item_relation_id: number;
40
- schedule_event_id: number;
41
- note: string;
42
- extension_type: string;
43
- before_product_quantity: number;
44
- remove_product_quantity: number;
45
- deleted_at: null;
46
- created_at: string;
47
- updated_at: string;
48
- order_detail_id: number;
49
- product_option_string: string;
50
- product_subtitle: string;
51
- source_product_price: string;
52
- discount_amount: number;
53
- product_discount_reason: string;
54
- discount_type: string;
55
- discountway: string;
56
- discount_per: string;
57
- single_discount: null;
58
- };
@@ -1,11 +0,0 @@
1
- export declare enum NetworkStatus {
2
- GOOD = "GOOD",
3
- WEAK = "WEAK",
4
- OFFLINE = "OFFLINE"
5
- }
6
- export declare const NetworkStatusColor: {
7
- GOOD: string;
8
- WEAK: string;
9
- OFFLINE: string;
10
- };
11
- export declare const useNetworkStatus: () => NetworkStatus;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const _default: () => JSX.Element;
3
- export default _default;
@@ -1,144 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- "pisell2.ticket-booking.info": string;
4
- "pisell2.ticket-booking.notes": string;
5
- "pisell2.ticket-booking.forms": string;
6
- "pisell2.ticket-booking.sales": string;
7
- "pisell2.ticket-booking.payment": string;
8
- "pisell2.ticket-booking.unsaved-changes": string;
9
- "pisell2.ticket-booking.exit-confirm": string;
10
- "pisell2.ticket-booking.go-back": string;
11
- "pisell2.ticket-booking.exit": string;
12
- "pisell2.ticket-booking.deposit": string;
13
- "pisell2.ticket-booking.copy-success": string;
14
- "pisell2.ticket-booking.no-data": string;
15
- "pisell2.ticket-booking.authorized": string;
16
- "pisell2.ticket-booking.paid": string;
17
- "pisell2.ticket-booking.partially-paid": string;
18
- "pisell2.ticket-booking.partially-refunded": string;
19
- "pisell2.ticket-booking.payment-pending": string;
20
- "pisell2.ticket-booking.refunded": string;
21
- "pisell2.ticket-booking.unpaid": string;
22
- "pisell2.ticket-booking.voided": string;
23
- "pisell2.ticket-booking.pending": string;
24
- "pisell2.ticket-booking.all": string;
25
- "pisell2.ticket-booking.not-started": string;
26
- "pisell2.ticket-booking.started": string;
27
- "pisell2.ticket-booking.finished": string;
28
- "pisell2.ticket-booking.canceled": string;
29
- "pisell2.ticket-booking.inform": string;
30
- "pisell2.ticket-booking.check-management": string;
31
- "pisell2.ticket-booking.confirm": string;
32
- "pisell2.ticket-booking.dashboard": string;
33
- "pisell2.ticket-booking.booking-list": string;
34
- "pisell2.ticket-booking.full-data": string;
35
- "pisell2.ticket-booking.today": string;
36
- "pisell2.ticket-booking.now": string;
37
- "pisell2.ticket-booking.start-time": string;
38
- "pisell2.ticket-booking.create-time": string;
39
- "pisell2.ticket-booking.customer": string;
40
- "pisell2.ticket-booking.total": string;
41
- "pisell2.ticket-booking.search": string;
42
- "pisell2.ticket-booking.refresh-success": string;
43
- "pisell2.ticket-booking.loading": string;
44
- "pisell2.ticket-booking.appointment-not-found": string;
45
- "pisell2.ticket-booking.scan": string;
46
- "pisell2.ticket-booking.create-new": string;
47
- "pisell2.ticket-booking.add-to-cart": string;
48
- };
49
- "zh-CN": {
50
- "pisell2.ticket-booking.info": string;
51
- "pisell2.ticket-booking.notes": string;
52
- "pisell2.ticket-booking.forms": string;
53
- "pisell2.ticket-booking.sales": string;
54
- "pisell2.ticket-booking.payment": string;
55
- "pisell2.ticket-booking.unsaved-changes": string;
56
- "pisell2.ticket-booking.exit-confirm": string;
57
- "pisell2.ticket-booking.go-back": string;
58
- "pisell2.ticket-booking.exit": string;
59
- "pisell2.ticket-booking.deposit": string;
60
- "pisell2.ticket-booking.copy-success": string;
61
- "pisell2.ticket-booking.no-data": string;
62
- "pisell2.ticket-booking.authorized": string;
63
- "pisell2.ticket-booking.paid": string;
64
- "pisell2.ticket-booking.partially-paid": string;
65
- "pisell2.ticket-booking.partially-refunded": string;
66
- "pisell2.ticket-booking.payment-pending": string;
67
- "pisell2.ticket-booking.refunded": string;
68
- "pisell2.ticket-booking.unpaid": string;
69
- "pisell2.ticket-booking.voided": string;
70
- "pisell2.ticket-booking.pending": string;
71
- "pisell2.ticket-booking.all": string;
72
- "pisell2.ticket-booking.not-started": string;
73
- "pisell2.ticket-booking.started": string;
74
- "pisell2.ticket-booking.finished": string;
75
- "pisell2.ticket-booking.canceled": string;
76
- "pisell2.ticket-booking.inform": string;
77
- "pisell2.ticket-booking.check-management": string;
78
- "pisell2.ticket-booking.confirm": string;
79
- "pisell2.ticket-booking.dashboard": string;
80
- "pisell2.ticket-booking.booking-list": string;
81
- "pisell2.ticket-booking.full-data": string;
82
- "pisell2.ticket-booking.today": string;
83
- "pisell2.ticket-booking.now": string;
84
- "pisell2.ticket-booking.start-time": string;
85
- "pisell2.ticket-booking.create-time": string;
86
- "pisell2.ticket-booking.customer": string;
87
- "pisell2.ticket-booking.total": string;
88
- "pisell2.ticket-booking.search": string;
89
- "pisell2.ticket-booking.refresh-success": string;
90
- "pisell2.ticket-booking.loading": string;
91
- "pisell2.ticket-booking.appointment-not-found": string;
92
- "pisell2.ticket-booking.scan": string;
93
- "pisell2.ticket-booking.create-new": string;
94
- "pisell2.ticket-booking.add-to-cart": string;
95
- };
96
- "zh-HK": {
97
- "pisell2.ticket-booking.info": string;
98
- "pisell2.ticket-booking.notes": string;
99
- "pisell2.ticket-booking.forms": string;
100
- "pisell2.ticket-booking.sales": string;
101
- "pisell2.ticket-booking.payment": string;
102
- "pisell2.ticket-booking.unsaved-changes": string;
103
- "pisell2.ticket-booking.exit-confirm": string;
104
- "pisell2.ticket-booking.go-back": string;
105
- "pisell2.ticket-booking.exit": string;
106
- "pisell2.ticket-booking.deposit": string;
107
- "pisell2.ticket-booking.copy-success": string;
108
- "pisell2.ticket-booking.no-data": string;
109
- "pisell2.ticket-booking.authorized": string;
110
- "pisell2.ticket-booking.paid": string;
111
- "pisell2.ticket-booking.partially-paid": string;
112
- "pisell2.ticket-booking.partially-refunded": string;
113
- "pisell2.ticket-booking.payment-pending": string;
114
- "pisell2.ticket-booking.refunded": string;
115
- "pisell2.ticket-booking.unpaid": string;
116
- "pisell2.ticket-booking.voided": string;
117
- "pisell2.ticket-booking.pending": string;
118
- "pisell2.ticket-booking.all": string;
119
- "pisell2.ticket-booking.not-started": string;
120
- "pisell2.ticket-booking.started": string;
121
- "pisell2.ticket-booking.finished": string;
122
- "pisell2.ticket-booking.canceled": string;
123
- "pisell2.ticket-booking.inform": string;
124
- "pisell2.ticket-booking.check-management": string;
125
- "pisell2.ticket-booking.confirm": string;
126
- "pisell2.ticket-booking.dashboard": string;
127
- "pisell2.ticket-booking.booking-list": string;
128
- "pisell2.ticket-booking.full-data": string;
129
- "pisell2.ticket-booking.today": string;
130
- "pisell2.ticket-booking.now": string;
131
- "pisell2.ticket-booking.start-time": string;
132
- "pisell2.ticket-booking.create-time": string;
133
- "pisell2.ticket-booking.customer": string;
134
- "pisell2.ticket-booking.total": string;
135
- "pisell2.ticket-booking.search": string;
136
- "pisell2.ticket-booking.refresh-success": string;
137
- "pisell2.ticket-booking.loading": string;
138
- "pisell2.ticket-booking.appointment-not-found": string;
139
- "pisell2.ticket-booking.scan": string;
140
- "pisell2.ticket-booking.create-new": string;
141
- "pisell2.ticket-booking.add-to-cart": string;
142
- };
143
- };
144
- export default _default;
@@ -1,22 +0,0 @@
1
- /// <reference types="react" />
2
- declare class Store<T extends object> {
3
- private state;
4
- private listeners;
5
- constructor(initialState: T);
6
- getState(): T;
7
- setState(partialState: Partial<T> | ((prevState: T) => Partial<T>), callback?: (state: T) => void): void;
8
- subscribe(listener: () => void): () => void;
9
- private notify;
10
- getLatestState(): T;
11
- }
12
- interface ProviderProps<T extends object> {
13
- store: Store<T>;
14
- children: React.ReactNode;
15
- }
16
- export declare function Provider<T extends object>({ store, children, }: ProviderProps<T>): JSX.Element;
17
- export declare function createStore<T extends object>(initialState: T): Store<T>;
18
- export declare function useStore<T extends object>(): [
19
- T,
20
- (update: Partial<T> | ((prevState: T) => Partial<T>), callback?: (state: T) => void) => void
21
- ];
22
- export {};
@@ -1,282 +0,0 @@
1
- /**
2
- * @title: 获取客户列表
3
- * @description: 获取客户列表
4
- * @param {any} params
5
- * @return {*}
6
- * @Author: cong.shao
7
- * @Date: 2025-04-24 16:28
8
- */
9
- export declare const getClients: (params: any) => Promise<any>;
10
- /**
11
- * @title: 获取服务列表
12
- * @description: 查询服务列表
13
- * @param {any} params
14
- * @return {*}
15
- * @Author: cong.shao
16
- * @Date: 2025-04-24 16:28
17
- */
18
- export declare const getServices: (params: any) => Promise<any>;
19
- /**
20
- * @title: 获取资源列表
21
- * @description: 资源列表
22
- * @param {any} params
23
- * @return {*}
24
- * @Author: cong.shao
25
- * @Date: 2025-04-24 16:28
26
- */
27
- export declare const getResources: (params: any) => Promise<any>;
28
- /**
29
- * @title: 获取产品列表
30
- * @description: 查询产品列表
31
- * @param {any} params
32
- * @return {*}
33
- * @Author: cong.shao
34
- * @Date: 2025-04-24 16:28
35
- */
36
- export declare const getProducts: (params: any) => Promise<any>;
37
- /**
38
- * @title: 获取表单列表
39
- * @description: 获取关联记录表单列表
40
- * @param {any} params
41
- * @return {*}
42
- * @Author: cong.shao
43
- * @Date: 2025-04-24 16:28
44
- */
45
- export declare const getForms: (params: any) => Promise<any>;
46
- /**
47
- * @title: 获取预约配置
48
- * @description: 获取预约相关配置信息
49
- * @param {any} params
50
- * @return {*}
51
- * @Author: cong.shao
52
- * @Date: 2025-04-24 16:28
53
- */
54
- export declare const getBookingConfig: (params: any) => Promise<any>;
55
- /**
56
- * @title: 获取宠物信息
57
- * @description: 根据ID获取宠物信息
58
- * @param {string} formId
59
- * @param {any} params
60
- * @return {*}
61
- * @Author: cong.shao
62
- * @Date: 2025-04-24 16:28
63
- */
64
- export declare const getPets: (formId: string, params: any) => Promise<any>;
65
- /**
66
- * @title: 获取宠物数据
67
- * @description: 获取宠物数据
68
- * @param {any} params
69
- * @return {*}
70
- * @Author: cong.shao
71
- * @Date: 2025-04-24 16:28
72
- */
73
- export declare const getPetsData: (params: any) => Promise<any>;
74
- /**
75
- * @title: 创建预约
76
- * @description: 创建新的预约记录
77
- * @param {any} params
78
- * @return {*}
79
- * @Author: cong.shao
80
- * @Date: 2025-04-24 16:28
81
- */
82
- export declare const createBooking: (params: any) => Promise<any>;
83
- /**
84
- * @title: 获取预约附加服务
85
- * @description: 根据预约ID获取附加服务信息
86
- * @param {string} bookingId
87
- * @param {any} params
88
- * @return {*}
89
- * @Author: cong.shao
90
- * @Date: 2025-04-24 16:28
91
- */
92
- export declare const getAddonsByOrderId: (bookingId: string, params: any) => Promise<any>;
93
- /**
94
- * @title: 保存预约附加服务
95
- * @description: 保存预约的附加服务信息
96
- * @param {string} bookingId
97
- * @param {any} params
98
- * @return {*}
99
- * @Author: cong.shao
100
- * @Date: 2025-04-24 16:28
101
- */
102
- export declare const saveAddonsByOrderId: (bookingId: string, params: any) => Promise<any>;
103
- /**
104
- * @title: 获取预约详情
105
- * @description: 获取预约详细信息
106
- * @param {number} bookingId
107
- * @param {any} params
108
- * @return {*}
109
- * @Author: cong.shao
110
- * @Date: 2025-04-24 16:28
111
- */
112
- export declare const getBookingDetail: (bookingId: number, params?: any) => Promise<any>;
113
- /**
114
- * @title: 编辑预约状态
115
- * @description: 更新预约状态
116
- * @param {string} bookingId
117
- * @param {any} params
118
- * @return {*}
119
- * @Author: cong.shao
120
- * @Date: 2025-04-24 16:28
121
- */
122
- export declare const editBookingStatus: (bookingId: string, params: any) => Promise<any>;
123
- /**
124
- * @title: 编辑预约信息
125
- * @description: 更新预约信息
126
- * @param {string} bookingId
127
- * @param {any} params
128
- * @return {*}
129
- * @Author: cong.shao
130
- * @Date: 2025-04-24 16:28
131
- */
132
- export declare const editBooking: (bookingId: string, params: any) => Promise<any>;
133
- /**
134
- * @title: 获取预约备注
135
- * @description: 获取预约相关备注信息
136
- * @param {any} params
137
- * @return {*}
138
- * @Author: cong.shao
139
- * @Date: 2025-04-24 16:28
140
- */
141
- export declare const getNotesByOrder: (params: any) => Promise<any>;
142
- /**
143
- * @title: 添加预约备注
144
- * @description: 添加预约相关备注
145
- * @param {any} params
146
- * @return {*}
147
- * @Author: cong.shao
148
- * @Date: 2025-04-24 16:28
149
- */
150
- export declare const addNotesByOrder: (params: any) => Promise<any>;
151
- /**
152
- * @title: 编辑预约备注
153
- * @description: 更新预约备注信息
154
- * @param {string} bookingId
155
- * @param {any} params
156
- * @return {*}
157
- * @Author: cong.shao
158
- * @Date: 2025-04-24 16:28
159
- */
160
- export declare const editNoteByOrder: (bookingId: string, params: any) => Promise<any>;
161
- /**
162
- * @title: 删除预约备注
163
- * @description: 删除预约相关备注
164
- * @param {string} bookingId
165
- * @param {any} params
166
- * @return {*}
167
- * @Author: cong.shao
168
- * @Date: 2025-04-24 16:28
169
- */
170
- export declare const removeNoteByOrder: (bookingId: string, params: any) => Promise<any>;
171
- /**
172
- * @title: 保存预约表单数据
173
- * @description: 保存预约相关的表单数据
174
- * @param {any} params
175
- * @return {*}
176
- * @Author: cong.shao
177
- * @Date: 2025-04-24 16:28
178
- */
179
- export declare const saveBookingFormData: (params: any) => Promise<any>;
180
- /**
181
- * @title: 获取支付列表
182
- * @description: 获取支付相关列表数据
183
- * @param {any} params
184
- * @return {*}
185
- * @Author: cong.shao
186
- * @Date: 2025-04-24 16:28
187
- */
188
- export declare const getPaymentList: (params: any) => Promise<any>;
189
- /**
190
- * @title: 编辑订单备注
191
- * @description: 更新订单备注信息
192
- * @param {string} bookingId
193
- * @param {any} params
194
- * @return {*}
195
- * @Author: cong.shao
196
- * @Date: 2025-04-24 16:28
197
- */
198
- export declare const editOrderNote: (bookingId: string, params: any) => Promise<any>;
199
- /**
200
- * @title: 获取退款信息
201
- * @description: 获取退款相关信息
202
- * @param {string} bookingId
203
- * @param {any} params
204
- * @return {*}
205
- * @Author: cong.shao
206
- * @Date: 2025-04-24 16:28
207
- */
208
- export declare const getRefundInfo: (bookingId: string, params: any) => Promise<any>;
209
- /**
210
- * @title: 创建活动预约
211
- * @description: 创建新的活动预约记录
212
- * @param {any} params
213
- * @return {*}
214
- * @Author: cong.shao
215
- * @Date: 2025-04-24 16:28
216
- */
217
- export declare const createEventBooking: (params: any) => Promise<any>;
218
- /**
219
- * @title: 获取活动预约详情
220
- * @description: 获取活动预约详细信息
221
- * @param {number} bookingId
222
- * @param {any} params
223
- * @return {*}
224
- * @Author: cong.shao
225
- * @Date: 2025-04-24 16:28
226
- */
227
- export declare const getEventBookingDetail: (bookingId: number, params?: any) => Promise<any>;
228
- /**
229
- * @title: 编辑活动预约
230
- * @description: 更新活动预约信息
231
- * @param {string} bookingId
232
- * @param {any} params
233
- * @return {*}
234
- * @Author: cong.shao
235
- * @Date: 2025-04-24 16:28
236
- */
237
- export declare const editEventBooking: (bookingId: string, params: any) => Promise<any>;
238
- /**
239
- * @title: 获取定金显示配置
240
- * @description: 获取定金相关显示配置
241
- * @param {any} params
242
- * @return {*}
243
- * @Author: cong.shao
244
- * @Date: 2025-04-24 16:28
245
- */
246
- export declare const getDepositShow: (params: any) => Promise<any>;
247
- /**
248
- * @title: 获取表单记录
249
- * @description: 获取表单记录数据
250
- * @param {any} params
251
- * @return {*}
252
- * @Author: cong.shao
253
- * @Date: 2025-04-24 16:28
254
- */
255
- export declare const getFormRecords: (params: any) => Promise<any>;
256
- /**
257
- * @title: 获取预约列表
258
- * @description: 获取预约列表数据
259
- * @param {any} params
260
- * @return {*}
261
- * @Author: cong.shao
262
- * @Date: 2025-04-24 16:28
263
- */
264
- export declare const getBookingList2: (params: any) => Promise<any>;
265
- /**
266
- * @title: 获取订单信息
267
- * @description: 根据机器码获取订单信息
268
- * @param {any} params
269
- * @return {*}
270
- * @Author: cong.shao
271
- * @Date: 2025-04-24 16:28
272
- */
273
- export declare const getOrderInfoByCode: (params: any) => Promise<any>;
274
- /**
275
- * @title: 获取ES客户数据
276
- * @description: 从ES获取客户数据
277
- * @param {any} params
278
- * @return {*}
279
- * @Author: cong.shao
280
- * @Date: 2025-04-24 16:28
281
- */
282
- export declare const getClientsEs: (params: any) => Promise<any>;
@@ -1,14 +0,0 @@
1
- import type { Dayjs } from 'dayjs';
2
- /** dayjs对象格式化为字符串时间 */
3
- export declare const formatDateToStr: (date: Dayjs[]) => string | string[];
4
- export declare const getDefaultStartParam: () => string | string[];
5
- export declare const formatBookingList: (bookingList: any[]) => any[];
6
- export declare const getNextTimeSlice: (sliceMinutes: number) => Dayjs;
7
- export declare const getDisabledEdit: ({ shop_discount, bookings, payment_status }: any) => boolean;
8
- export declare const restoreProductOtherData: (data: any) => {
9
- product_id: any;
10
- option: never[];
11
- bundle: any;
12
- product_variant_id: number;
13
- quantity: number;
14
- } | undefined;
@@ -1,42 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare global {
4
- interface Window {
5
- PKPass?: any;
6
- GoogleWalletPass?: any;
7
- }
8
- interface Navigator {
9
- pkpass?: {
10
- addPass(pass: any): Promise<string>;
11
- };
12
- googlewallet?: {
13
- addPass(pass: any): Promise<string>;
14
- };
15
- }
16
- }
17
- interface DetailProps {
18
- detail: {
19
- id?: string;
20
- tag?: string;
21
- code?: string;
22
- product_title?: string;
23
- encoded?: string;
24
- balance?: number;
25
- expire_date?: string;
26
- product?: any;
27
- machinecode_config?: any;
28
- [key: string]: any;
29
- };
30
- isDiscoundCard?: boolean;
31
- showWalletBar?: boolean;
32
- onBack?: () => void;
33
- buttonGroupList?: any[][];
34
- className?: string;
35
- style?: React.CSSProperties;
36
- addWalletCallback?: (addWallet: () => void) => void;
37
- }
38
- export interface WalletDetailRef {
39
- addWalletCard: () => void;
40
- }
41
- declare const Detail: React.ForwardRefExoticComponent<DetailProps & React.RefAttributes<WalletDetailRef>>;
42
- export default Detail;