@pisell/private-materials 3.0.202 → 3.0.204

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 (292) 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 +142 -142
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +27 -12
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +33 -18
  11. package/es/components/booking/components/customSelect/index.d.ts +0 -1
  12. package/es/components/booking/components/customSelect/index.js +2 -6
  13. package/es/components/booking/components/footer/amount.js +22 -46
  14. package/es/components/booking/components/footer/index.js +40 -84
  15. package/es/components/booking/components/footer/utils.js +35 -266
  16. package/es/components/booking/forms/model.d.ts +1 -1
  17. package/es/components/booking/info/addServiceVariant/index.js +1 -8
  18. package/es/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +0 -1
  19. package/es/components/booking/info/clientVariant/vertical/SelectDrawer.js +13 -14
  20. package/es/components/booking/info/clientVariant/vertical/index.js +9 -124
  21. package/es/components/booking/info/main.js +15 -28
  22. package/es/components/booking/info/model.js +0 -3
  23. package/es/components/booking/info/pet/index.js +5 -54
  24. package/es/components/booking/info/service/addService/index.js +96 -187
  25. package/es/components/booking/info/service/addService/index.less +3 -13
  26. package/es/components/booking/info/service/addService/utils.d.ts +2 -12
  27. package/es/components/booking/info/service/addService/utils.js +26 -103
  28. package/es/components/booking/info/service/editService/index.js +132 -435
  29. package/es/components/booking/info/service/editService/index.less +13 -18
  30. package/es/components/booking/info/service/serve.d.ts +0 -10
  31. package/es/components/booking/info/service/serve.js +0 -28
  32. package/es/components/booking/info/utils.d.ts +0 -20
  33. package/es/components/booking/info/utils.js +0 -37
  34. package/es/components/booking/locales.d.ts +0 -66
  35. package/es/components/booking/locales.js +3 -81
  36. package/es/components/booking/model.d.ts +1 -5
  37. package/es/components/booking/model.js +2 -4
  38. package/es/components/booking/notes/index.d.ts +1 -1
  39. package/es/components/booking/notes/model.d.ts +1 -1
  40. package/es/components/booking/payments/model.d.ts +1 -1
  41. package/es/components/booking/utils.d.ts +3 -12
  42. package/es/components/booking/utils.js +26 -143
  43. package/es/components/eftpos/form/index.js +12 -6
  44. package/es/components/eftpos/group/index.d.ts +1 -2
  45. package/es/components/eftpos/group/index.js +1 -2
  46. package/es/components/eftpos/hooks.d.ts +4 -4
  47. package/es/components/eftpos/index.js +2 -2
  48. package/es/components/eftpos/receipt/index.d.ts +24 -0
  49. package/es/components/eftpos/receipt/index.js +96 -0
  50. package/es/components/eftposPay/app.d.ts +11 -0
  51. package/es/components/eftposPay/app.js +173 -0
  52. package/es/components/eftposPay/component/fail/failCustom.js +1 -0
  53. package/es/components/eftposPay/component/fail/index.js +1 -0
  54. package/es/components/eftposPay/component/manual/index.js +4 -1
  55. package/es/components/eftposPay/component/step/index.d.ts +6 -6
  56. package/es/components/eftposPay/component/step/step.d.ts +4 -4
  57. package/es/components/eftposPay/const.d.ts +27 -1
  58. package/es/components/eftposPay/const.js +22 -0
  59. package/es/components/eftposPay/device.d.ts +1 -1
  60. package/es/components/eftposPay/device.js +2 -2
  61. package/es/components/eftposPay/helper.d.ts +6 -0
  62. package/es/components/eftposPay/helper.js +24 -4
  63. package/es/components/eftposPay/hooks.d.ts +2 -1
  64. package/es/components/eftposPay/hooks.js +22 -16
  65. package/es/components/eftposPay/index.d.ts +1 -1
  66. package/es/components/eftposPay/index.js +130 -179
  67. package/es/components/eftposPay/locales.d.ts +15 -0
  68. package/es/components/eftposPay/locales.js +15 -0
  69. package/es/components/eftposPay/payo/config.js +20 -8
  70. package/es/components/eftposPay/store/index.d.ts +1 -1
  71. package/es/components/eftposPay/tip.d.ts +10 -0
  72. package/es/components/eftposPay/tip.js +177 -0
  73. package/es/components/eftposPay/tip.less +9 -0
  74. package/es/components/eftposPay/tyro/hooks.d.ts +2 -2
  75. package/es/components/eftposPay/tyro/index.js +55 -22
  76. package/es/components/eftposPay/windcave/helper.d.ts +1 -1
  77. package/es/components/eftposPay/windcave/windcave.js +17 -6
  78. package/es/components/schedules/index.d.ts +1 -1
  79. package/es/components/schedules/model.d.ts +1 -1
  80. package/es/index.d.ts +0 -1
  81. package/es/index.js +1 -2
  82. package/lib/components/booking/components/customSelect/index.d.ts +0 -1
  83. package/lib/components/booking/components/customSelect/index.js +2 -6
  84. package/lib/components/booking/components/footer/amount.js +8 -27
  85. package/lib/components/booking/components/footer/index.js +4 -25
  86. package/lib/components/booking/components/footer/utils.js +35 -161
  87. package/lib/components/booking/forms/model.d.ts +1 -1
  88. package/lib/components/booking/info/addServiceVariant/index.js +0 -5
  89. package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +0 -1
  90. package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.js +7 -8
  91. package/lib/components/booking/info/clientVariant/vertical/index.js +11 -87
  92. package/lib/components/booking/info/main.js +9 -17
  93. package/lib/components/booking/info/model.js +0 -3
  94. package/lib/components/booking/info/pet/index.js +25 -61
  95. package/lib/components/booking/info/service/addService/index.js +84 -115
  96. package/lib/components/booking/info/service/addService/index.less +3 -13
  97. package/lib/components/booking/info/service/addService/utils.d.ts +2 -12
  98. package/lib/components/booking/info/service/addService/utils.js +10 -58
  99. package/lib/components/booking/info/service/editService/index.js +182 -425
  100. package/lib/components/booking/info/service/editService/index.less +13 -18
  101. package/lib/components/booking/info/service/serve.d.ts +0 -10
  102. package/lib/components/booking/info/service/serve.js +2 -7
  103. package/lib/components/booking/info/utils.d.ts +0 -20
  104. package/lib/components/booking/info/utils.js +0 -41
  105. package/lib/components/booking/locales.d.ts +0 -66
  106. package/lib/components/booking/locales.js +3 -69
  107. package/lib/components/booking/model.d.ts +1 -5
  108. package/lib/components/booking/model.js +2 -4
  109. package/lib/components/booking/notes/index.d.ts +1 -1
  110. package/lib/components/booking/notes/model.d.ts +1 -1
  111. package/lib/components/booking/payments/model.d.ts +1 -1
  112. package/lib/components/booking/utils.d.ts +3 -12
  113. package/lib/components/booking/utils.js +18 -89
  114. package/lib/components/eftpos/form/index.js +12 -6
  115. package/lib/components/eftpos/group/index.d.ts +1 -2
  116. package/lib/components/eftpos/group/index.js +0 -1
  117. package/lib/components/eftpos/hooks.d.ts +4 -4
  118. package/lib/components/eftpos/index.js +2 -2
  119. package/lib/components/eftpos/receipt/index.d.ts +24 -0
  120. package/lib/components/eftpos/receipt/index.js +88 -0
  121. package/lib/components/eftposPay/app.d.ts +11 -0
  122. package/lib/components/eftposPay/app.js +166 -0
  123. package/lib/components/eftposPay/component/fail/failCustom.js +1 -1
  124. package/lib/components/eftposPay/component/fail/index.js +1 -1
  125. package/lib/components/eftposPay/component/manual/index.js +19 -5
  126. package/lib/components/eftposPay/component/step/index.d.ts +6 -6
  127. package/lib/components/eftposPay/component/step/step.d.ts +4 -4
  128. package/lib/components/eftposPay/const.d.ts +27 -1
  129. package/lib/components/eftposPay/const.js +18 -0
  130. package/lib/components/eftposPay/device.d.ts +1 -1
  131. package/lib/components/eftposPay/device.js +2 -2
  132. package/lib/components/eftposPay/helper.d.ts +6 -0
  133. package/lib/components/eftposPay/helper.js +29 -4
  134. package/lib/components/eftposPay/hooks.d.ts +2 -1
  135. package/lib/components/eftposPay/hooks.js +8 -2
  136. package/lib/components/eftposPay/index.d.ts +1 -1
  137. package/lib/components/eftposPay/index.js +106 -144
  138. package/lib/components/eftposPay/locales.d.ts +15 -0
  139. package/lib/components/eftposPay/locales.js +15 -0
  140. package/lib/components/eftposPay/payo/config.js +33 -9
  141. package/lib/components/eftposPay/store/index.d.ts +1 -1
  142. package/lib/components/eftposPay/tip.d.ts +10 -0
  143. package/lib/components/eftposPay/tip.js +159 -0
  144. package/lib/components/eftposPay/tip.less +9 -0
  145. package/lib/components/eftposPay/tyro/hooks.d.ts +2 -2
  146. package/lib/components/eftposPay/tyro/index.js +40 -9
  147. package/lib/components/eftposPay/windcave/helper.d.ts +1 -1
  148. package/lib/components/eftposPay/windcave/windcave.js +29 -6
  149. package/lib/components/schedules/index.d.ts +1 -1
  150. package/lib/components/schedules/model.d.ts +1 -1
  151. package/lib/index.d.ts +0 -1
  152. package/lib/index.js +0 -3
  153. package/package.json +4 -4
  154. package/es/components/booking/components/footer/AppointmentProductModal/index.d.ts +0 -3
  155. package/es/components/booking/components/footer/AppointmentProductModal/index.js +0 -38
  156. package/es/components/booking/components/footer/AppointmentProductModal/index.less +0 -0
  157. package/es/components/booking/info/Provider.d.ts +0 -0
  158. package/es/components/booking/info/Provider.js +0 -54
  159. package/es/components/booking/info/dateRange/index.d.ts +0 -5
  160. package/es/components/booking/info/dateRange/index.js +0 -98
  161. package/es/components/booking/info/dateRange/index.less +0 -21
  162. package/es/components/booking/info/pet/ChangePetModal/index.d.ts +0 -4
  163. package/es/components/booking/info/pet/ChangePetModal/index.js +0 -134
  164. package/es/components/booking/info/pet/ChangePetModal/index.less +0 -4
  165. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -5
  166. package/es/components/booking/info/service/editService/BookingList/index.js +0 -39
  167. package/es/components/booking/info/service/editService/EditTabs/index.d.ts +0 -3
  168. package/es/components/booking/info/service/editService/EditTabs/index.js +0 -35
  169. package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +0 -11
  170. package/es/components/booking/info/service/serviceManager/distributeDiscount.js +0 -55
  171. package/es/components/booking/info/service/serviceManager/index.d.ts +0 -20
  172. package/es/components/booking/info/service/serviceManager/index.js +0 -277
  173. package/es/components/booking/info/service/serviceManager/utils.d.ts +0 -0
  174. package/es/components/booking/info/service/serviceManager/utils.js +0 -0
  175. package/es/components/booking/info/service2/Group/utils.d.ts +0 -14
  176. package/es/components/booking/info/service2/Group/utils.js +0 -146
  177. package/es/components/booking/info/service2/Lists.d.ts +0 -3
  178. package/es/components/booking/info/service2/Lists.js +0 -152
  179. package/es/components/booking/info/service2/hooks/useSelectPet.d.ts +0 -6
  180. package/es/components/booking/info/service2/hooks/useSelectPet.js +0 -54
  181. package/es/components/booking/info/service2/index.d.ts +0 -6
  182. package/es/components/booking/info/service2/index.js +0 -57
  183. package/es/components/booking/info/service2/status.d.ts +0 -31
  184. package/es/components/booking/info/service2/status.js +0 -78
  185. package/es/components/booking/info/service2/utils.d.ts +0 -237
  186. package/es/components/booking/info/service2/utils.js +0 -1062
  187. package/es/components/booking/materiels/holder/index.d.ts +0 -7
  188. package/es/components/booking/materiels/holder/index.js +0 -51
  189. package/es/components/shoppingCart/Provider.d.ts +0 -3
  190. package/es/components/shoppingCart/Provider.js +0 -86
  191. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -4
  192. package/es/components/shoppingCart/components/Cart/Product.js +0 -68
  193. package/es/components/shoppingCart/components/Cart/index.d.ts +0 -4
  194. package/es/components/shoppingCart/components/Cart/index.js +0 -72
  195. package/es/components/shoppingCart/components/Cart/index.less +0 -68
  196. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -4
  197. package/es/components/shoppingCart/components/Empty/index.js +0 -14
  198. package/es/components/shoppingCart/components/Empty/index.less +0 -19
  199. package/es/components/shoppingCart/components/Render/index.d.ts +0 -4
  200. package/es/components/shoppingCart/components/Render/index.js +0 -69
  201. package/es/components/shoppingCart/components/Render/index.less +0 -2
  202. package/es/components/shoppingCart/components/SelectHolderModal/index.d.ts +0 -4
  203. package/es/components/shoppingCart/components/SelectHolderModal/index.js +0 -132
  204. package/es/components/shoppingCart/components/SelectHolderModal/index.less +0 -32
  205. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -3
  206. package/es/components/shoppingCart/hooks/useAddService.js +0 -23
  207. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -3
  208. package/es/components/shoppingCart/hooks/useClearCart.js +0 -59
  209. package/es/components/shoppingCart/hooks/useContext.d.ts +0 -1
  210. package/es/components/shoppingCart/hooks/useContext.js +0 -5
  211. package/es/components/shoppingCart/index.d.ts +0 -4
  212. package/es/components/shoppingCart/index.js +0 -24
  213. package/es/components/shoppingCart/locales.d.ts +0 -33
  214. package/es/components/shoppingCart/locales.js +0 -38
  215. package/es/components/shoppingCart/mock.d.ts +0 -40
  216. package/es/components/shoppingCart/mock.js +0 -40
  217. package/es/components/shoppingCart/status.d.ts +0 -2
  218. package/es/components/shoppingCart/status.js +0 -22
  219. package/es/components/shoppingCart/type.d.ts +0 -39
  220. package/es/components/shoppingCart/type.js +0 -1
  221. package/es/components/shoppingCart/utils.d.ts +0 -63
  222. package/es/components/shoppingCart/utils.js +0 -116
  223. package/lib/components/booking/components/footer/AppointmentProductModal/index.d.ts +0 -3
  224. package/lib/components/booking/components/footer/AppointmentProductModal/index.js +0 -60
  225. package/lib/components/booking/components/footer/AppointmentProductModal/index.less +0 -0
  226. package/lib/components/booking/info/Provider.d.ts +0 -0
  227. package/lib/components/booking/info/Provider.js +0 -0
  228. package/lib/components/booking/info/dateRange/index.d.ts +0 -5
  229. package/lib/components/booking/info/dateRange/index.js +0 -111
  230. package/lib/components/booking/info/dateRange/index.less +0 -21
  231. package/lib/components/booking/info/pet/ChangePetModal/index.d.ts +0 -4
  232. package/lib/components/booking/info/pet/ChangePetModal/index.js +0 -121
  233. package/lib/components/booking/info/pet/ChangePetModal/index.less +0 -4
  234. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -5
  235. package/lib/components/booking/info/service/editService/BookingList/index.js +0 -55
  236. package/lib/components/booking/info/service/editService/EditTabs/index.d.ts +0 -3
  237. package/lib/components/booking/info/service/editService/EditTabs/index.js +0 -75
  238. package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +0 -11
  239. package/lib/components/booking/info/service/serviceManager/distributeDiscount.js +0 -70
  240. package/lib/components/booking/info/service/serviceManager/index.d.ts +0 -20
  241. package/lib/components/booking/info/service/serviceManager/index.js +0 -207
  242. package/lib/components/booking/info/service/serviceManager/utils.d.ts +0 -0
  243. package/lib/components/booking/info/service/serviceManager/utils.js +0 -0
  244. package/lib/components/booking/info/service2/Group/utils.d.ts +0 -14
  245. package/lib/components/booking/info/service2/Group/utils.js +0 -142
  246. package/lib/components/booking/info/service2/Lists.d.ts +0 -3
  247. package/lib/components/booking/info/service2/Lists.js +0 -115
  248. package/lib/components/booking/info/service2/hooks/useSelectPet.d.ts +0 -6
  249. package/lib/components/booking/info/service2/hooks/useSelectPet.js +0 -50
  250. package/lib/components/booking/info/service2/index.d.ts +0 -6
  251. package/lib/components/booking/info/service2/index.js +0 -75
  252. package/lib/components/booking/info/service2/status.d.ts +0 -31
  253. package/lib/components/booking/info/service2/status.js +0 -81
  254. package/lib/components/booking/info/service2/utils.d.ts +0 -237
  255. package/lib/components/booking/info/service2/utils.js +0 -675
  256. package/lib/components/booking/materiels/holder/index.d.ts +0 -7
  257. package/lib/components/booking/materiels/holder/index.js +0 -65
  258. package/lib/components/shoppingCart/Provider.d.ts +0 -3
  259. package/lib/components/shoppingCart/Provider.js +0 -110
  260. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -4
  261. package/lib/components/shoppingCart/components/Cart/Product.js +0 -73
  262. package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -4
  263. package/lib/components/shoppingCart/components/Cart/index.js +0 -77
  264. package/lib/components/shoppingCart/components/Cart/index.less +0 -68
  265. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -4
  266. package/lib/components/shoppingCart/components/Empty/index.js +0 -43
  267. package/lib/components/shoppingCart/components/Empty/index.less +0 -19
  268. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -4
  269. package/lib/components/shoppingCart/components/Render/index.js +0 -75
  270. package/lib/components/shoppingCart/components/Render/index.less +0 -2
  271. package/lib/components/shoppingCart/components/SelectHolderModal/index.d.ts +0 -4
  272. package/lib/components/shoppingCart/components/SelectHolderModal/index.js +0 -124
  273. package/lib/components/shoppingCart/components/SelectHolderModal/index.less +0 -32
  274. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -3
  275. package/lib/components/shoppingCart/hooks/useAddService.js +0 -55
  276. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -3
  277. package/lib/components/shoppingCart/hooks/useClearCart.js +0 -66
  278. package/lib/components/shoppingCart/hooks/useContext.d.ts +0 -1
  279. package/lib/components/shoppingCart/hooks/useContext.js +0 -31
  280. package/lib/components/shoppingCart/index.d.ts +0 -4
  281. package/lib/components/shoppingCart/index.js +0 -60
  282. package/lib/components/shoppingCart/locales.d.ts +0 -33
  283. package/lib/components/shoppingCart/locales.js +0 -56
  284. package/lib/components/shoppingCart/mock.d.ts +0 -40
  285. package/lib/components/shoppingCart/mock.js +0 -76
  286. package/lib/components/shoppingCart/status.d.ts +0 -2
  287. package/lib/components/shoppingCart/status.js +0 -60
  288. package/lib/components/shoppingCart/type.d.ts +0 -39
  289. package/lib/components/shoppingCart/type.js +0 -17
  290. package/lib/components/shoppingCart/utils.d.ts +0 -63
  291. package/lib/components/shoppingCart/utils.js +0 -86
  292. package/lowcode/shopping-cart/meta.ts +0 -98
@@ -1,20 +1,14 @@
1
1
  .pisell-lowcode__booking-service-body-edit {
2
2
  padding: 24px 32px 100px !important;
3
-
4
- .pisell-lowcode__booking-service-select-date {
5
- height: 40px;
6
- .pisell-lowcode-picker-input > input {
7
- font-size: 16px !important;
8
- }
9
- }
10
3
  }
11
4
 
5
+
12
6
  .pisell-lowcode__booking-service-body-edit-footer {
13
7
  position: absolute;
14
8
  bottom: 0;
15
9
  left: 0;
16
10
  width: 100%;
17
- border-top: 1px solid #e7e8e9;
11
+ border-top: 1px solid #E7E8E9;
18
12
  padding: 20px 32px;
19
13
  display: flex;
20
14
  align-items: center;
@@ -26,8 +20,8 @@
26
20
  height: 48px;
27
21
  width: 48px;
28
22
  border-radius: 8px;
29
- border: 1px solid var(--gray-300, #d0d5dd);
30
- background: var(--base-white, #fff);
23
+ border: 1px solid var(--gray-300, #D0D5DD);
24
+ background: var(--base-white, #FFF);
31
25
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
32
26
  cursor: pointer;
33
27
  display: flex;
@@ -35,7 +29,7 @@
35
29
  justify-content: center;
36
30
 
37
31
  .pisell-lowcode__booking-service-delete-icon {
38
- color: #b42318;
32
+ color: #B42318;
39
33
  font-size: 20px;
40
34
  }
41
35
  }
@@ -52,12 +46,14 @@
52
46
  .pisell-lowcode-select-selection-item {
53
47
  .resource-option {
54
48
  padding-left: 0;
49
+
55
50
  }
56
51
  }
57
52
 
58
53
  .pisell-lowcode-select-item-option-content {
59
54
  .resource-option {
60
55
  padding-left: 0;
56
+
61
57
  }
62
58
  }
63
59
 
@@ -67,7 +63,7 @@
67
63
  gap: 8px;
68
64
 
69
65
  .resource-option-alert-icon {
70
- color: #b42318;
66
+ color: #B42318;
71
67
  cursor: pointer;
72
68
  }
73
69
  }
@@ -86,16 +82,16 @@
86
82
  justify-content: center;
87
83
  padding: 0;
88
84
 
89
- .like-resource {
90
- }
85
+ .like-resource {}
91
86
  }
87
+
92
88
  }
93
89
 
94
90
  .current-service-info {
95
91
  min-height: 40px;
96
92
  cursor: pointer;
97
93
  background-color: #ffffff;
98
- border: 1px solid #d0d5dd;
94
+ border: 1px solid #D0D5DD;
99
95
  border-radius: 10px;
100
96
  transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
101
97
  overflow: hidden;
@@ -113,11 +109,10 @@
113
109
  flex: 1;
114
110
  }
115
111
 
116
- .current-service-info-change-btn {
117
- }
112
+ .current-service-info-change-btn {}
118
113
  }
119
114
 
120
115
  &:hover {
121
116
  border-color: #7f56d9;
122
117
  }
123
- }
118
+ }
@@ -1,11 +1 @@
1
1
  export declare const getProductDetail: (id: string, params: any) => Promise<any>;
2
- /**
3
- * @title: 跨日预约获取预约商品报价单
4
- * @description:
5
- * @param {string} id
6
- * @param {any} params
7
- * @return {*}
8
- * @Author: WangHan
9
- * @Date: 2024-12-23 17:06
10
- */
11
- export declare const postMultiDay: (id: string, params: any) => Promise<any>;
@@ -18,32 +18,4 @@ export var getProductDetail = /*#__PURE__*/function () {
18
18
  return function getProductDetail(_x, _x2) {
19
19
  return _ref.apply(this, arguments);
20
20
  };
21
- }();
22
-
23
- /**
24
- * @title: 跨日预约获取预约商品报价单
25
- * @description:
26
- * @param {string} id
27
- * @param {any} params
28
- * @return {*}
29
- * @Author: WangHan
30
- * @Date: 2024-12-23 17:06
31
- */
32
- export var postMultiDay = /*#__PURE__*/function () {
33
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(id, params) {
34
- return _regeneratorRuntime().wrap(function _callee2$(_context2) {
35
- while (1) switch (_context2.prev = _context2.next) {
36
- case 0:
37
- return _context2.abrupt("return", request.getRequest().post("/shop/product/multi-day/detail/".concat(id), params, {
38
- useCache: true
39
- }));
40
- case 1:
41
- case "end":
42
- return _context2.stop();
43
- }
44
- }, _callee2);
45
- }));
46
- return function postMultiDay(_x3, _x4) {
47
- return _ref2.apply(this, arguments);
48
- };
49
21
  }();
@@ -22,23 +22,3 @@ export declare const isInterval: (time1: number, time2: number, interval?: numbe
22
22
  */
23
23
  export declare const formatServiceListByTime: (list: any[]) => any[];
24
24
  export declare const isBooking4Shop: (shopId: number, renderType?: string) => boolean;
25
- declare type DataEntry = {
26
- total: number;
27
- origin_total: number;
28
- num: number;
29
- quotation_id: number;
30
- start_date: string;
31
- end_date: string;
32
- };
33
- declare type ResultStructure = Record<string, Record<string, any>>;
34
- export declare const getMultiDayPrices: (data: DataEntry[]) => ResultStructure;
35
- /**
36
- * @title: 是否是跨日预约
37
- * @description:
38
- * @param {number} shopId
39
- * @return {*}
40
- * @Author: WangHan
41
- * @Date: 2024-11-29 11:19
42
- */
43
- export declare const isDayBooking: (shopId: number) => boolean;
44
- export {};
@@ -4,7 +4,6 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
4
4
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
5
5
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
6
6
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
- import dayjs from "dayjs";
8
7
  // 商品是套餐或单规格多规格
9
8
  export var getIsBundleOrCombination = function getIsBundleOrCombination(productDetail) {
10
9
  var _productDetail$bundle;
@@ -49,10 +48,6 @@ export var moveItemToFront = function moveItemToFront(arr, targetId) {
49
48
  */
50
49
  export var isInterval = function isInterval(time1, time2) {
51
50
  var interval = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1000;
52
- // 相同的为复制的, 不影响
53
- if (time2 === time1) {
54
- return false;
55
- }
56
51
  return Math.abs(time2 - time1) < interval;
57
52
  };
58
53
 
@@ -95,36 +90,4 @@ export var isBooking4Shop = function isBooking4Shop(shopId, renderType) {
95
90
  }
96
91
  var booking4Shops = [1350, 1401, 3013, 7154, 7572, 7007, 8119, 7320, 7362, 6497, 6087, 6303, 6726, 8191];
97
92
  return booking4Shops.includes(shopId);
98
- };
99
- function generateDateRange(start, end) {
100
- var dateRange = [];
101
- var currentDate = dayjs(start);
102
- while (currentDate.isBefore(dayjs(end).add(1, "day"))) {
103
- dateRange.push(currentDate.format("YYYY-MM-DD"));
104
- currentDate = currentDate.add(1, "day");
105
- }
106
- return dateRange;
107
- }
108
- export var getMultiDayPrices = function getMultiDayPrices(data) {
109
- var result = {};
110
- data.forEach(function (entry) {
111
- var dateRange = generateDateRange(entry.start_date, entry.end_date);
112
- dateRange.forEach(function (date) {
113
- result[date] = entry;
114
- });
115
- });
116
- return result;
117
- };
118
-
119
- /**
120
- * @title: 是否是跨日预约
121
- * @description:
122
- * @param {number} shopId
123
- * @return {*}
124
- * @Author: WangHan
125
- * @Date: 2024-11-29 11:19
126
- */
127
- export var isDayBooking = function isDayBooking(shopId) {
128
- var dayBookingShops = [9];
129
- return dayBookingShops.includes(shopId);
130
93
  };
@@ -33,11 +33,6 @@ declare const _default: {
33
33
  'pisell2.text.start_time': string;
34
34
  'pisell2.text.duration': string;
35
35
  'pisell2.text.resource': string;
36
- 'pisell2.text.end_time': string;
37
- 'pisell2.text.start_date': string;
38
- 'pisell2.text.end_date': string;
39
- 'pisell2.text.quantity': string;
40
- 'pisell2.text.holder': string;
41
36
  'pisell2.text.warnings': string;
42
37
  'pisell2.text.order-notes': string;
43
38
  'pisell2.text.add-order-notes': string;
@@ -53,7 +48,6 @@ declare const _default: {
53
48
  'pisell2.text.updated': string;
54
49
  'pisell2.text.appointment-updated': string;
55
50
  'pisell2.text.please-create-an-appointment-first': string;
56
- 'pisell2.text.day': (val: number) => string;
57
51
  'pisell2.text.min': string;
58
52
  'pisell2.text.h': string;
59
53
  'pisell2.text.other': string;
@@ -224,22 +218,6 @@ declare const _default: {
224
218
  'pisell2.booking.info.text.create-new': string;
225
219
  'pisell2.booking.info.text.form-agreement-yes': string;
226
220
  'pisell2.booking.info.text.form-agreement-no': string;
227
- 'pisell2.text.open.items': string;
228
- 'pisell2.text.cart.of': (val: any) => string;
229
- 'pisell2.text.no.selected': string;
230
- 'pisell2.text.select.items': string;
231
- 'pisell2.text.edit-select-service': string;
232
- 'pisell2.text.missing.reservation.title': string;
233
- 'pisell2.text.missing.reservation.content': string;
234
- 'pisell2.text.confirm': string;
235
- 'pisell2.text.cancel': string;
236
- 'pisell2.text.change.pet.title': string;
237
- 'pisell2.text.change.pet.content': string;
238
- 'pisell2.text.change.pet.content1': string;
239
- 'pisell2.text.change.pet.confirm': string;
240
- 'pisell2.text.change.pet.cancel': string;
241
- 'pisell2.text.booking-list': string;
242
- 'pisell2.text.edit-booking': string;
243
221
  };
244
222
  'zh-CN': {
245
223
  'pisell2.text.refunded-amount': string;
@@ -278,11 +256,6 @@ declare const _default: {
278
256
  'pisell2.text.discount': string;
279
257
  'pisell2.text.discount-reason': string;
280
258
  'pisell2.text.start_time': string;
281
- 'pisell2.text.end_time': string;
282
- 'pisell2.text.start_date': string;
283
- 'pisell2.text.end_date': string;
284
- 'pisell2.text.quantity': string;
285
- 'pisell2.text.holder': string;
286
259
  'pisell2.text.duration': string;
287
260
  'pisell2.text.resource': string;
288
261
  'pisell2.text.warnings': string;
@@ -302,7 +275,6 @@ declare const _default: {
302
275
  'pisell2.text.appointment-updated': string;
303
276
  'pisell2.text.updated': string;
304
277
  'pisell2.text.please-create-an-appointment-first': string;
305
- 'pisell2.text.day': (val: number) => string;
306
278
  'pisell2.text.min': string;
307
279
  'pisell2.text.h': string;
308
280
  'pisell2.text.other': string;
@@ -466,22 +438,6 @@ declare const _default: {
466
438
  'pisell2.booking.info.text.create-new': string;
467
439
  'pisell2.booking.info.text.form-agreement-yes': string;
468
440
  'pisell2.booking.info.text.form-agreement-no': string;
469
- 'pisell2.text.open.items': string;
470
- 'pisell2.text.cart.of': (val: any) => string;
471
- 'pisell2.text.no.selected': string;
472
- 'pisell2.text.select.items': string;
473
- 'pisell2.text.edit-select-service': string;
474
- 'pisell2.text.missing.reservation.title': string;
475
- 'pisell2.text.missing.reservation.content': string;
476
- 'pisell2.text.confirm': string;
477
- 'pisell2.text.cancel': string;
478
- 'pisell2.text.change.pet.title': string;
479
- 'pisell2.text.change.pet.content': string;
480
- 'pisell2.text.change.pet.content1': string;
481
- 'pisell2.text.change.pet.confirm': string;
482
- 'pisell2.text.change.pet.cancel': string;
483
- 'pisell2.text.booking-list': string;
484
- 'pisell2.text.edit-booking': string;
485
441
  };
486
442
  'zh-HK': {
487
443
  'pisell2.text.refunded-amount': string;
@@ -520,11 +476,6 @@ declare const _default: {
520
476
  'pisell2.text.discount': string;
521
477
  'pisell2.text.discount-reason': string;
522
478
  'pisell2.text.start_time': string;
523
- 'pisell2.text.end_time': string;
524
- 'pisell2.text.start_date': string;
525
- 'pisell2.text.end_date': string;
526
- 'pisell2.text.quantity': string;
527
- 'pisell2.text.holder': string;
528
479
  'pisell2.text.duration': string;
529
480
  'pisell2.text.resource': string;
530
481
  'pisell2.text.warnings': string;
@@ -542,7 +493,6 @@ declare const _default: {
542
493
  'pisell2.text.appointment-updated': string;
543
494
  'pisell2.text.updated': string;
544
495
  'pisell2.text.please-create-an-appointment-first': string;
545
- 'pisell2.text.day': (val: number) => string;
546
496
  'pisell2.text.min': string;
547
497
  'pisell2.text.h': string;
548
498
  'pisell2.text.other': string;
@@ -708,22 +658,6 @@ declare const _default: {
708
658
  'pisell2.booking.info.text.create-new': string;
709
659
  'pisell2.booking.info.text.form-agreement-yes': string;
710
660
  'pisell2.booking.info.text.form-agreement-no': string;
711
- 'pisell2.text.open.items': string;
712
- 'pisell2.text.cart.of': (val: any) => string;
713
- 'pisell2.text.no.selected': string;
714
- 'pisell2.text.select.items': string;
715
- 'pisell2.text.edit-select-service': string;
716
- 'pisell2.text.missing.reservation.title': string;
717
- 'pisell2.text.missing.reservation.content': string;
718
- 'pisell2.text.confirm': string;
719
- 'pisell2.text.cancel': string;
720
- 'pisell2.text.change.pet.title': string;
721
- 'pisell2.text.change.pet.content': string;
722
- 'pisell2.text.change.pet.content1': string;
723
- 'pisell2.text.change.pet.confirm': string;
724
- 'pisell2.text.change.pet.cancel': string;
725
- 'pisell2.text.booking-list': string;
726
- 'pisell2.text.edit-booking': string;
727
661
  };
728
662
  };
729
663
  export default _default;
@@ -34,11 +34,6 @@ export default {
34
34
  'pisell2.text.start_time': 'Start time',
35
35
  'pisell2.text.duration': 'Duration',
36
36
  'pisell2.text.resource': 'Resource',
37
- 'pisell2.text.end_time': 'End time',
38
- 'pisell2.text.start_date': 'Start date',
39
- 'pisell2.text.end_date': 'End date',
40
- 'pisell2.text.quantity': 'Quantity',
41
- 'pisell2.text.holder': 'Holder',
42
37
  'pisell2.text.warnings': 'Warnings',
43
38
  'pisell2.text.order-notes': 'Order notes',
44
39
  'pisell2.text.add-order-notes': 'Add Order note',
@@ -54,9 +49,6 @@ export default {
54
49
  'pisell2.text.updated': ' updated',
55
50
  'pisell2.text.appointment-updated': 'Appointment updated',
56
51
  'pisell2.text.please-create-an-appointment-first': 'Please create an appointment first',
57
- 'pisell2.text.day': function pisell2TextDay(val) {
58
- return "".concat(val > 1 ? 'days' : 'day');
59
- },
60
52
  'pisell2.text.min': 'min',
61
53
  'pisell2.text.h': 'h',
62
54
  'pisell2.text.other': 'Other',
@@ -258,25 +250,7 @@ export default {
258
250
  'pisell2.booking.info.text.clear-all': "Clear all",
259
251
  'pisell2.booking.info.text.create-new': "Create new",
260
252
  'pisell2.booking.info.text.form-agreement-yes': "Yes",
261
- 'pisell2.booking.info.text.form-agreement-no': "No",
262
- 'pisell2.text.open.items': 'Open items',
263
- 'pisell2.text.cart.of': function pisell2TextCartOf(val) {
264
- return "Cart of ".concat(val);
265
- },
266
- 'pisell2.text.no.selected': 'No items selected',
267
- 'pisell2.text.select.items': 'Select items',
268
- 'pisell2.text.edit-select-service': 'Edit items',
269
- 'pisell2.text.missing.reservation.title': 'Missing Reservation Type',
270
- 'pisell2.text.missing.reservation.content': 'You have not selected a reservation type, Please select one before proceeding.',
271
- 'pisell2.text.confirm': 'Confirm',
272
- 'pisell2.text.cancel': 'Cancel',
273
- 'pisell2.text.change.pet.title': 'You have changed the holder information. Do you want to keep the items under their name?',
274
- 'pisell2.text.change.pet.content': 'Selecting “Keep” will move the items to Open Items. Selecting “Discard” will clear all items under the holder’s name.',
275
- 'pisell2.text.change.pet.content1': 'Reservation-type items cannot be added to the Open Items cart and will be removed.',
276
- 'pisell2.text.change.pet.confirm': 'Keep (Add to open items)',
277
- 'pisell2.text.change.pet.cancel': 'Discard (Clear items)',
278
- 'pisell2.text.booking-list': "List",
279
- 'pisell2.text.edit-booking': "Edit"
253
+ 'pisell2.booking.info.text.form-agreement-no': "No"
280
254
  },
281
255
  'zh-CN': {
282
256
  'pisell2.text.refunded-amount': '已退金额',
@@ -315,11 +289,6 @@ export default {
315
289
  'pisell2.text.discount': '折扣',
316
290
  'pisell2.text.discount-reason': '折扣原因',
317
291
  'pisell2.text.start_time': '开始时间',
318
- 'pisell2.text.end_time': '结束时间',
319
- 'pisell2.text.start_date': '开始日期',
320
- 'pisell2.text.end_date': '结束日期',
321
- 'pisell2.text.quantity': '数量',
322
- 'pisell2.text.holder': '预约主体',
323
292
  'pisell2.text.duration': '时长',
324
293
  'pisell2.text.resource': '资源',
325
294
  'pisell2.text.warnings': '个警告',
@@ -340,9 +309,6 @@ export default {
340
309
  'pisell2.text.appointment-updated': '预约已更新',
341
310
  'pisell2.text.updated': '已更新',
342
311
  'pisell2.text.please-create-an-appointment-first': '请先创建预约',
343
- 'pisell2.text.day': function pisell2TextDay(val) {
344
- return '天';
345
- },
346
312
  'pisell2.text.min': '分钟',
347
313
  'pisell2.text.h': '小时',
348
314
  'pisell2.text.other': '未分类',
@@ -541,25 +507,7 @@ export default {
541
507
  'pisell2.booking.info.text.clear-all': "清空",
542
508
  'pisell2.booking.info.text.create-new': "新建",
543
509
  'pisell2.booking.info.text.form-agreement-yes': "是",
544
- 'pisell2.booking.info.text.form-agreement-no': "否",
545
- 'pisell2.text.open.items': '公共购物车',
546
- 'pisell2.text.cart.of': function pisell2TextCartOf(val) {
547
- return "".concat(val, "\u7684\u8D2D\u7269\u8F66");
548
- },
549
- 'pisell2.text.no.selected': '未选择任何项目',
550
- 'pisell2.text.select.items': '选择项目',
551
- 'pisell2.text.edit-select-service': '编辑项目',
552
- 'pisell2.text.missing.reservation.title': '缺少预约类型',
553
- 'pisell2.text.missing.reservation.content': '您尚未选择预约类型,请在继续操作前选择。',
554
- 'pisell2.text.confirm': '确定',
555
- 'pisell2.text.cancel': '取消',
556
- 'pisell2.text.change.pet.title': '您已变更持有人信息,是否保留该持有人名下的商品?',
557
- 'pisell2.text.change.pet.content': '选择“保留”将商品添加到未分配商品(公共购物车)中;选择“不保留”将清空该持有人名下的所有商品。',
558
- 'pisell2.text.change.pet.content1': '预约类商品无法添加到公共购物车,将会被删除。',
559
- 'pisell2.text.change.pet.confirm': '保留(添加到未分配中)',
560
- 'pisell2.text.change.pet.cancel': '不保留(清空商品)',
561
- 'pisell2.text.booking-list': "列表",
562
- 'pisell2.text.edit-booking': "编辑"
510
+ 'pisell2.booking.info.text.form-agreement-no': "否"
563
511
  },
564
512
  'zh-HK': {
565
513
  'pisell2.text.refunded-amount': '已退金額',
@@ -598,11 +546,6 @@ export default {
598
546
  'pisell2.text.discount': '折扣',
599
547
  'pisell2.text.discount-reason': '折扣原因',
600
548
  'pisell2.text.start_time': '開始時間',
601
- 'pisell2.text.end_time': '結束時間',
602
- 'pisell2.text.start_date': '開始日期',
603
- 'pisell2.text.end_date': '結束日期',
604
- 'pisell2.text.quantity': '數量',
605
- 'pisell2.text.holder': '預約主體',
606
549
  'pisell2.text.duration': '時長',
607
550
  'pisell2.text.resource': '資源',
608
551
  'pisell2.text.warnings': '個警告',
@@ -621,9 +564,6 @@ export default {
621
564
  'pisell2.text.appointment-updated': '預約已更新',
622
565
  'pisell2.text.updated': '已更新',
623
566
  'pisell2.text.please-create-an-appointment-first': '請先創建預約',
624
- 'pisell2.text.day': function pisell2TextDay(val) {
625
- return '天';
626
- },
627
567
  'pisell2.text.min': '分鍾',
628
568
  'pisell2.text.h': '小時',
629
569
  'pisell2.text.other': '未分類',
@@ -824,24 +764,6 @@ export default {
824
764
  'pisell2.booking.info.text.clear-all': "清空",
825
765
  'pisell2.booking.info.text.create-new': "新建",
826
766
  'pisell2.booking.info.text.form-agreement-yes': "是",
827
- 'pisell2.booking.info.text.form-agreement-no': "否",
828
- 'pisell2.text.open.items': '公共購物車',
829
- 'pisell2.text.cart.of': function pisell2TextCartOf(val) {
830
- return "".concat(val, "\u7684\u8CFC\u7269\u8ECA");
831
- },
832
- 'pisell2.text.no.selected': '未選擇任何項目',
833
- 'pisell2.text.select.items': '選擇項目',
834
- 'pisell2.text.edit-select-service': '編輯項目',
835
- 'pisell2.text.missing.reservation.title': '缺少預約類型',
836
- 'pisell2.text.missing.reservation.content': '您尚未選擇預約類型,請在繼續操作前選擇。',
837
- 'pisell2.text.confirm': '確定',
838
- 'pisell2.text.cancel': '取消',
839
- 'pisell2.text.change.pet.title': '您已變更持有人信息,是否保留該持有人名下的商品?',
840
- 'pisell2.text.change.pet.content': '選擇“保留”將商品添加到未分配商品(公共購物車)中;選擇“不保留”將清空該持有人名下的所有商品。',
841
- 'pisell2.text.change.pet.content1': '預約類商品無法添加到公共購物車,將會被刪除。',
842
- 'pisell2.text.change.pet.confirm': '保留(添加到未分配中)',
843
- 'pisell2.text.change.pet.cancel': '不保留(清空商品)',
844
- 'pisell2.text.booking-list': "列表",
845
- 'pisell2.text.edit-booking': "編輯"
767
+ 'pisell2.booking.info.text.form-agreement-no': "否"
846
768
  }
847
769
  };
@@ -29,7 +29,6 @@ export interface FormState {
29
29
  };
30
30
  date: {
31
31
  value: any;
32
- end_date: any;
33
32
  edit: boolean;
34
33
  };
35
34
  service: {
@@ -76,7 +75,7 @@ export interface FormState {
76
75
  bookingId: string | number;
77
76
  bookingDetail: any;
78
77
  channelDisabledEdit: boolean;
79
- renderType?: 'eventBooking' | 'dayBooking';
78
+ renderType?: 'eventBooking';
80
79
  modalOpen?: boolean;
81
80
  isTerminal?: boolean;
82
81
  isFranchisee?: boolean;
@@ -97,9 +96,6 @@ export interface FormState {
97
96
  /** 是否terminal创建booking页面 */
98
97
  isBookingCreatePage?: boolean;
99
98
  loading: boolean;
100
- isTerminalDayBookingPage?: boolean;
101
- activeCartId?: any[];
102
- isDayBooking: boolean;
103
99
  }
104
100
  export declare const walkInData: {
105
101
  id: number;
@@ -42,8 +42,7 @@ var defaultState = {
42
42
  value: walkInData
43
43
  },
44
44
  date: {
45
- value: dayjs(),
46
- end_date: dayjs().add(1, 'days')
45
+ value: dayjs()
47
46
  },
48
47
  service: {
49
48
  addModal: false,
@@ -93,8 +92,7 @@ var defaultState = {
93
92
  action: function action(props) {
94
93
  console.log(props);
95
94
  },
96
- bookingId: 0,
97
- activeCartId: [0]
95
+ bookingId: 0
98
96
  };
99
97
  var _miniRedux = miniRedux({
100
98
  namespace: 'state',
@@ -4,5 +4,5 @@ export interface InfoProps {
4
4
  globalState: any;
5
5
  setGlobalState: any;
6
6
  }
7
- declare const Notes: any;
7
+ declare const Notes: (props: any) => any;
8
8
  export default Notes;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
3
+ export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
4
4
  state: FormState;
5
5
  } & {
6
6
  dispatch: (params: {
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
3
+ export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
4
4
  state: FormState;
5
5
  } & {
6
6
  dispatch: (params: {
@@ -21,7 +21,7 @@ export declare const request: Request;
21
21
  * @Author: zhiwei.Wang
22
22
  * @Date: 2024-04-26 14:00
23
23
  */
24
- export declare const getDiscountTime: (service_times: number, isDay?: boolean) => string;
24
+ export declare const getDiscountTime: (service_times: number) => string;
25
25
  /**
26
26
  * @title: 时间切片
27
27
  * @description:
@@ -31,7 +31,7 @@ export declare const getDiscountTime: (service_times: number, isDay?: boolean) =
31
31
  * @Author: zhiwei.Wang
32
32
  * @Date: 2024-04-26 13:59
33
33
  */
34
- export declare const sliceDayIntoFiveMinutes: (config: any, locale: string, isDay?: boolean) => {
34
+ export declare const sliceDayIntoFiveMinutes: (config: any, locale: string) => {
35
35
  timeSlices: {
36
36
  label: string;
37
37
  value: string;
@@ -115,7 +115,7 @@ export declare const getServiceTimes: (service: any) => {
115
115
  startDate: dayjs.Dayjs;
116
116
  endDate: dayjs.Dayjs;
117
117
  };
118
- export declare const getErrorList: (resource: any, cacheItem: any, isDay?: boolean) => {
118
+ export declare const getErrorList: (resource: any, cacheItem: any) => {
119
119
  label: any;
120
120
  type: string;
121
121
  }[];
@@ -131,15 +131,6 @@ export declare const formatResource: (resourceItem: any, cacheItem?: any, format
131
131
  export declare const getLastServer: (list: any) => any;
132
132
  export declare const getCacheParams: () => any;
133
133
  export declare const deleteCacheParams: () => void;
134
- /**
135
- * @title: 获取跨日预约的时长
136
- * @description:
137
- * @param {any} cacheItem
138
- * @return {*}
139
- * @Author: WangHan
140
- * @Date: 2024-12-01 22:43
141
- */
142
- export declare const getDays: (cacheItem: any, type: 'minutes' | 'days') => any;
143
134
  /**
144
135
  * @title: 创建一个服务商品
145
136
  * @description: