@pisell/private-materials 3.3.8 → 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 (285) 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/wallet/Detail/model.d.ts +13 -1
  102. package/es/components/wallet/DiscountCard/model.d.ts +14 -1
  103. package/es/components/wallet/PointCard/model.d.ts +13 -1
  104. package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
  105. package/es/components/wallet/Voucher/model.d.ts +13 -1
  106. package/es/components/wallet/hooks/useWalletCard.d.ts +1 -0
  107. package/es/components/wallet/model.d.ts +9 -1
  108. package/es/hooks/useComponents.js +1 -1
  109. package/es/utils/index.d.ts +1 -1
  110. package/lib/businessModel/SalesModel/index.d.ts +1 -0
  111. package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +8 -0
  112. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +3 -0
  113. package/lib/components/appointmentBooking/components/Cart/utils.d.ts +77 -0
  114. package/lib/components/appointmentBooking/components/Content/index.d.ts +3 -0
  115. package/lib/components/appointmentBooking/components/Date/index.d.ts +3 -0
  116. package/lib/components/appointmentBooking/components/Date/index.js +4 -3
  117. package/lib/components/appointmentBooking/components/Footer/index.d.ts +3 -0
  118. package/lib/components/appointmentBooking/components/TimeSlicing/index.d.ts +3 -0
  119. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  120. package/lib/components/appointmentBooking/deposit/index.d.ts +3 -0
  121. package/lib/components/appointmentBooking/hooks.d.ts +105 -0
  122. package/lib/components/appointmentBooking/hooks.js +2 -1
  123. package/lib/components/appointmentBooking/index.d.ts +3 -0
  124. package/lib/components/appointmentBooking/locales.d.ts +345 -0
  125. package/lib/components/booking/addons/model.d.ts +10 -1
  126. package/lib/components/booking/forms/model.d.ts +10 -1
  127. package/lib/components/booking/info/model.d.ts +10 -1
  128. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  129. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  130. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  131. package/lib/components/booking/info/utils.js +1 -1
  132. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  133. package/lib/components/booking/model.d.ts +9 -1
  134. package/lib/components/booking/notes/model.d.ts +10 -1
  135. package/lib/components/booking/payments/model.d.ts +10 -1
  136. package/lib/components/eftposPay/hooks.d.ts +1 -1
  137. package/lib/components/eftposPay/store/index.d.ts +1 -1
  138. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  139. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  140. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  141. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  142. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  143. package/lib/components/eventBooking/index.d.ts +1 -0
  144. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  145. package/lib/components/pay/toC/model.d.ts +9 -1
  146. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  147. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  148. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  149. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  150. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  151. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  152. package/lib/components/productExtension/index.d.ts +1 -0
  153. package/lib/components/ruleSetting/index.d.ts +1 -0
  154. package/lib/components/schedules/model.d.ts +9 -1
  155. package/lib/components/schedules/utils.d.ts +1 -1
  156. package/lib/components/schedules/utils.js +1 -1
  157. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  158. package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
  159. package/lib/components/wallet/Detail/model.d.ts +13 -1
  160. package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
  161. package/lib/components/wallet/PointCard/model.d.ts +13 -1
  162. package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
  163. package/lib/components/wallet/Voucher/model.d.ts +13 -1
  164. package/lib/components/wallet/hooks/useWalletCard.d.ts +1 -0
  165. package/lib/components/wallet/model.d.ts +9 -1
  166. package/lib/utils/index.d.ts +1 -1
  167. package/package.json +3 -3
  168. package/es/components/Sales/Event/index.d.ts +0 -30
  169. package/es/components/appointmentBooking/utils.d.ts +0 -151
  170. package/es/components/booking/addons/index.d.ts +0 -17
  171. package/es/components/booking/components/footer/index.d.ts +0 -11
  172. package/es/components/booking/components/footer/utils.d.ts +0 -30
  173. package/es/components/booking/hooks/useCreateBookingPageHeader.d.ts +0 -6
  174. package/es/components/booking/info/hooks/useAddHolder.d.ts +0 -2
  175. package/es/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
  176. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -10
  177. package/es/components/booking/info/index.d.ts +0 -3
  178. package/es/components/booking/info/main.d.ts +0 -12
  179. package/es/components/booking/info/pet/index.d.ts +0 -14
  180. package/es/components/booking/info/service/Lists.d.ts +0 -2
  181. package/es/components/booking/info/service/addService/index.d.ts +0 -11
  182. package/es/components/booking/info/service/editService/index.d.ts +0 -7
  183. package/es/components/booking/info/service/index.d.ts +0 -4
  184. package/es/components/booking/info/service/serviceManager/index.d.ts +0 -20
  185. package/es/components/booking/info/service2/Group/utils.d.ts +0 -14
  186. package/es/components/booking/info/service2/hooks/useSelectPet.d.ts +0 -6
  187. package/es/components/booking/info2/index.d.ts +0 -12
  188. package/es/components/booking/info2/serve.d.ts +0 -6
  189. package/es/components/booking/info2/service/addService/index.d.ts +0 -12
  190. package/es/components/booking/info2/service/addService/utils.d.ts +0 -88
  191. package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -3
  192. package/es/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +0 -7
  193. package/es/components/booking/info2/service/editService/Resources/index.d.ts +0 -4
  194. package/es/components/booking/info2/service/editService/index.d.ts +0 -7
  195. package/es/components/booking/info2/service/index.d.ts +0 -4
  196. package/es/components/booking/info2/utils.d.ts +0 -4
  197. package/es/components/booking/info2/utilsByBooking.d.ts +0 -34
  198. package/es/components/booking/materiels/holder/index.d.ts +0 -7
  199. package/es/components/booking/notes/addNote/index.d.ts +0 -4
  200. package/es/components/index.d.ts +0 -18
  201. package/es/components/productSelect/components/TabProduct/index.d.ts +0 -2
  202. package/es/components/productSelect/components/gridLayout/index.d.ts +0 -9
  203. package/es/components/productSelect/components/productGroup/index.d.ts +0 -34
  204. package/es/components/productSelect/hooks/useToken.d.ts +0 -18
  205. package/es/components/productSelect/index.d.ts +0 -23
  206. package/es/components/productSelect/locales.d.ts +0 -18
  207. package/es/components/productSelect/mock.d.ts +0 -134
  208. package/es/components/productSelect/theme/token.d.ts +0 -17
  209. package/es/components/shoppingCart/Provider.d.ts +0 -3
  210. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -3
  211. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -2
  212. package/es/components/shoppingCart/index.d.ts +0 -3
  213. package/es/components/shoppingCart/type.d.ts +0 -48
  214. package/es/components/subTotal/index.d.ts +0 -22
  215. package/es/components/subTotal/locales.d.ts +0 -42
  216. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -6
  217. package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -4
  218. package/es/components/ticketBooking/data.d.ts +0 -58
  219. package/es/components/ticketBooking/hooks/useNetworkStatus.d.ts +0 -11
  220. package/es/components/ticketBooking/index.d.ts +0 -3
  221. package/es/components/ticketBooking/locales.d.ts +0 -144
  222. package/es/components/ticketBooking/miniRedux.d.ts +0 -22
  223. package/es/components/ticketBooking/serve.d.ts +0 -282
  224. package/es/components/ticketBooking/utils/index.d.ts +0 -14
  225. package/es/components/wallet/Detail/index.d.ts +0 -42
  226. package/es/index.d.ts +0 -45
  227. package/lib/components/Sales/Event/index.d.ts +0 -30
  228. package/lib/components/appointmentBooking/utils.d.ts +0 -151
  229. package/lib/components/booking/addons/index.d.ts +0 -17
  230. package/lib/components/booking/components/footer/index.d.ts +0 -11
  231. package/lib/components/booking/components/footer/utils.d.ts +0 -30
  232. package/lib/components/booking/hooks/useCreateBookingPageHeader.d.ts +0 -6
  233. package/lib/components/booking/info/hooks/useAddHolder.d.ts +0 -2
  234. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
  235. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -10
  236. package/lib/components/booking/info/index.d.ts +0 -3
  237. package/lib/components/booking/info/main.d.ts +0 -12
  238. package/lib/components/booking/info/pet/index.d.ts +0 -14
  239. package/lib/components/booking/info/service/Lists.d.ts +0 -2
  240. package/lib/components/booking/info/service/addService/index.d.ts +0 -11
  241. package/lib/components/booking/info/service/editService/index.d.ts +0 -7
  242. package/lib/components/booking/info/service/index.d.ts +0 -4
  243. package/lib/components/booking/info/service/serviceManager/index.d.ts +0 -20
  244. package/lib/components/booking/info/service2/Group/utils.d.ts +0 -14
  245. package/lib/components/booking/info/service2/hooks/useSelectPet.d.ts +0 -6
  246. package/lib/components/booking/info2/index.d.ts +0 -12
  247. package/lib/components/booking/info2/serve.d.ts +0 -6
  248. package/lib/components/booking/info2/service/addService/index.d.ts +0 -12
  249. package/lib/components/booking/info2/service/addService/utils.d.ts +0 -88
  250. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -3
  251. package/lib/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +0 -7
  252. package/lib/components/booking/info2/service/editService/Resources/index.d.ts +0 -4
  253. package/lib/components/booking/info2/service/editService/index.d.ts +0 -7
  254. package/lib/components/booking/info2/service/index.d.ts +0 -4
  255. package/lib/components/booking/info2/utils.d.ts +0 -4
  256. package/lib/components/booking/info2/utilsByBooking.d.ts +0 -34
  257. package/lib/components/booking/materiels/holder/index.d.ts +0 -7
  258. package/lib/components/booking/notes/addNote/index.d.ts +0 -4
  259. package/lib/components/index.d.ts +0 -18
  260. package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -2
  261. package/lib/components/productSelect/components/gridLayout/index.d.ts +0 -9
  262. package/lib/components/productSelect/components/productGroup/index.d.ts +0 -34
  263. package/lib/components/productSelect/hooks/useToken.d.ts +0 -18
  264. package/lib/components/productSelect/index.d.ts +0 -23
  265. package/lib/components/productSelect/locales.d.ts +0 -18
  266. package/lib/components/productSelect/mock.d.ts +0 -134
  267. package/lib/components/productSelect/theme/token.d.ts +0 -17
  268. package/lib/components/shoppingCart/Provider.d.ts +0 -3
  269. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -3
  270. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -2
  271. package/lib/components/shoppingCart/index.d.ts +0 -3
  272. package/lib/components/shoppingCart/type.d.ts +0 -48
  273. package/lib/components/subTotal/index.d.ts +0 -22
  274. package/lib/components/subTotal/locales.d.ts +0 -42
  275. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -6
  276. package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -4
  277. package/lib/components/ticketBooking/data.d.ts +0 -58
  278. package/lib/components/ticketBooking/hooks/useNetworkStatus.d.ts +0 -11
  279. package/lib/components/ticketBooking/index.d.ts +0 -3
  280. package/lib/components/ticketBooking/locales.d.ts +0 -144
  281. package/lib/components/ticketBooking/miniRedux.d.ts +0 -22
  282. package/lib/components/ticketBooking/serve.d.ts +0 -282
  283. package/lib/components/ticketBooking/utils/index.d.ts +0 -14
  284. package/lib/components/wallet/Detail/index.d.ts +0 -42
  285. package/lib/index.d.ts +0 -45
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const SalesModel: ({ children, hooks, config }: any) => JSX.Element;
2
3
  export * from './Sales';
3
4
  export default SalesModel;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ interface ContinueButtonProps {
4
+ onContinue?: () => void;
5
+ onIsErrorResource?: (isError: boolean) => void;
6
+ }
7
+ declare const ContinueButton: React.FC<ContinueButtonProps>;
8
+ export default ContinueButton;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Total: ({ className, isFooter }: any) => JSX.Element;
3
+ export default Total;
@@ -0,0 +1,77 @@
1
+ import { locales } from '@pisell/utils';
2
+ interface CheckLoginParams {
3
+ isLogin: boolean;
4
+ openLoginModal: (params: {
5
+ callback: (status: string) => void;
6
+ }) => void;
7
+ isFormSubject: boolean;
8
+ utils: any;
9
+ accountLists: any[];
10
+ appointmentBooking: any;
11
+ getHolders: () => void;
12
+ }
13
+ export declare const checkLogin: ({ isLogin, openLoginModal, isFormSubject, utils, accountLists, appointmentBooking, getHolders, }: CheckLoginParams) => Promise<boolean>;
14
+ interface CheckHolderParams {
15
+ isFormSubject: boolean;
16
+ checkAccount: (type: string) => boolean;
17
+ carts: any[];
18
+ }
19
+ export declare const checkHolder: ({ isFormSubject, checkAccount, carts }: CheckHolderParams) => false | any[];
20
+ interface CheckResourceParams {
21
+ carts: any[];
22
+ resources: any[];
23
+ }
24
+ /**
25
+ * @title: 检测资源数据
26
+ * @description:
27
+ * @param {CheckResourceParams} param1
28
+ * @return {*}
29
+ * @Author: WangHan
30
+ * @Date: 2025-04-29 18:02
31
+ */
32
+ export declare const checkResource: ({ carts, resources }: CheckResourceParams) => false | any[];
33
+ interface CheckResourceParams {
34
+ carts: any[];
35
+ }
36
+ interface HandleFormStepParams {
37
+ newCarts: any[];
38
+ addStep: (params: {
39
+ index: number;
40
+ key: string;
41
+ description: string;
42
+ }) => void;
43
+ removeStep: (key: string) => void;
44
+ setResourceOtherParams: (params: any) => void;
45
+ resourceOtherParams: any;
46
+ index: number;
47
+ locales: typeof locales;
48
+ }
49
+ export declare const handleFormStep: ({ newCarts, addStep, removeStep, setResourceOtherParams, resourceOtherParams, index, locales, }: HandleFormStepParams) => void;
50
+ /**
51
+ * 滚动到第一个错误卡片
52
+ * @param {string} selector - 错误卡片的 class 选择器
53
+ */
54
+ export declare const scrollToFirstErrorCard: (selector?: string) => void;
55
+ export declare type StepKey = 'select-resource' | 'fill-form' | 'select-time' | 'confirm-information' | 'select-service' | 'select-date' | 'select-guest';
56
+ interface HandleResourceParams {
57
+ handleCheckResource: () => boolean;
58
+ newCarts: any[];
59
+ locales: typeof locales;
60
+ addStep: (params: {
61
+ index: number;
62
+ key: string;
63
+ description: string;
64
+ }, key?: StepKey) => void;
65
+ removeStep: (key: string) => void;
66
+ setResourceOtherParams: (params: any) => void;
67
+ resourceOtherParams: any;
68
+ currentStep: any;
69
+ getResourceTimeSlot: () => void;
70
+ appointmentBooking: any;
71
+ onIsErrorResource?: (isError: boolean) => void;
72
+ stepList: any[];
73
+ }
74
+ export declare const handleResource: ({ handleCheckResource, newCarts, addStep, removeStep, setResourceOtherParams, resourceOtherParams, currentStep, getResourceTimeSlot, appointmentBooking, onIsErrorResource, stepList }: HandleResourceParams) => Promise<void>;
75
+ export declare const stepHandlers: Record<StepKey, (params: any) => Promise<any>>;
76
+ export declare const handleContinueStep: (key: StepKey, params: any) => Promise<any>;
77
+ export {};
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Layout: () => JSX.Element;
3
+ export default Layout;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const CalendarDate: (props: any) => JSX.Element;
3
+ export default CalendarDate;
@@ -48,7 +48,8 @@ var CalendarDate = function CalendarDate(props) {
48
48
  var _useAppointmentBookin2 = useAppointmentBookingSetting(),
49
49
  isDateSelectedFirst = _useAppointmentBookin2.isDateSelectedFirst,
50
50
  customPageId = _useAppointmentBookin2.customPageId,
51
- getLoadAllSchedule = _useAppointmentBookin2.getLoadAllSchedule;
51
+ getLoadAllSchedule = _useAppointmentBookin2.getLoadAllSchedule,
52
+ channel = _useAppointmentBookin2.channel;
52
53
  var weekListText = [locales.getText('pisell2.appointment.sunday'), locales.getText('pisell2.appointment.monday'), locales.getText('pisell2.appointment.tuesday'), locales.getText('pisell2.appointment.wednesday'), locales.getText('pisell2.appointment.thursday'), locales.getText('pisell2.appointment.friday'), locales.getText('pisell2.appointment.saturday')];
53
54
 
54
55
  // 计算开始渲染的列
@@ -144,14 +145,15 @@ var CalendarDate = function CalendarDate(props) {
144
145
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
145
146
  while (1) switch (_context2.prev = _context2.next) {
146
147
  case 0:
147
- console.log(isDateSelectedFirst, customPageId, 'wh7868');
148
+ console.log(isDateSelectedFirst, customPageId, params, channel, 'wh7868');
148
149
  // 先选日期
149
150
  if (!isDateSelectedFirst) {
150
151
  _context2.next = 3;
151
152
  break;
152
153
  }
153
154
  return _context2.abrupt("return", appointmentBooking.loadScheduleAvailableDate(_objectSpread(_objectSpread({}, params), {}, {
154
- custom_page_id: customPageId
155
+ custom_page_id: customPageId,
156
+ channel: channel
155
157
  })));
156
158
  case 3:
157
159
  _context2.next = 5;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Footer: ({ onContinue }: any) => JSX.Element;
3
+ export default Footer;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Resource: () => JSX.Element;
3
+ export default Resource;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const DepositModal: (props: any) => JSX.Element;
3
+ export default DepositModal;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Deposit: (props: any) => JSX.Element;
3
+ export default Deposit;
@@ -0,0 +1,105 @@
1
+ export declare const useAppointmentBooking: () => any;
2
+ export declare const useShopDiscount: () => any;
3
+ export declare const contextUtils: () => any;
4
+ /**
5
+ * @title: 监听步骤发生变化
6
+ * @description:
7
+ * @return {*}
8
+ * @Author: WangHan
9
+ * @Date: 2025-04-15 11:11
10
+ */
11
+ export declare const useAppointmentBookingStep: () => {
12
+ getStepIndex: (type: string, skipNumber?: number) => any;
13
+ stepList: any;
14
+ removeStep: (key: string) => any;
15
+ addStep: (props: any, stepKey?: string) => any;
16
+ };
17
+ /**
18
+ * @title: 获取商品数据
19
+ * @description:
20
+ * @return {*}
21
+ * @Author: WangHan
22
+ * @Date: 2025-04-15 11:12
23
+ */
24
+ export declare const useAppointmentBookingProduct: () => {
25
+ checkProductType: (productId: number) => Promise<any>;
26
+ getProducts: () => Promise<any>;
27
+ };
28
+ /**
29
+ * @title: 更新购物车数据
30
+ * @description:
31
+ * @return {*}
32
+ * @Author: WangHan
33
+ * @Date: 2025-04-15 11:12
34
+ */
35
+ export declare const useAppointmentBookingCart: () => void;
36
+ /**
37
+ * @title: 获取登录状态
38
+ * @description:
39
+ * @return {*}
40
+ * @Author: WangHan
41
+ * @Date: 2025-04-15 11:14
42
+ */
43
+ export declare const useAppointmentBookingLogin: () => {
44
+ isLogin: boolean;
45
+ openLoginModal: (params: {
46
+ callback: any;
47
+ }) => void;
48
+ };
49
+ /**
50
+ * @title: 获取账户
51
+ * @description:
52
+ * @return {*}
53
+ * @Author: WangHan
54
+ * @Date: 2025-04-15 11:15
55
+ */
56
+ export declare const useAppointmentBookingAccount: () => {
57
+ accountLists: any;
58
+ getHolders: () => Promise<any>;
59
+ form_id: any;
60
+ addAccount: (val: any, type?: string) => Promise<any>;
61
+ checkAccount: (type: any) => any;
62
+ };
63
+ /**
64
+ * @title: 获取资源数据
65
+ * @description:
66
+ * @return {*}
67
+ * @Author: WangHan
68
+ * @Date: 2025-04-15 11:29
69
+ */
70
+ export declare const useAppointmentBookingResource: () => {
71
+ getResourceTimeSlot: (index?: number) => Promise<void>;
72
+ getResourceList: () => {
73
+ resources: any;
74
+ resourceCodes: any;
75
+ };
76
+ autoSelectAllProductResources: (index?: number) => Promise<any>;
77
+ };
78
+ /**
79
+ * @title: 是否跳过资源选择步骤
80
+ * @description:
81
+ * @return {*}
82
+ * @Author: WangHan
83
+ * @Date: 2025-04-21 11:47
84
+ */
85
+ export declare const useIsSkipResourceStep: () => {
86
+ checkSkipResourceStep: () => Promise<boolean>;
87
+ };
88
+ /**
89
+ * @title: 获取预约配置
90
+ * @description:
91
+ * @return {*}
92
+ * @Author: WangHan
93
+ * @Date: 2025-04-24 18:15
94
+ */
95
+ export declare const useAppointmentBookingSetting: () => {
96
+ isDateSelectedFirst: boolean;
97
+ isFormSubject: boolean;
98
+ customPageId: any;
99
+ channel: any;
100
+ getLoadAllSchedule: () => void;
101
+ bookingSubject: any;
102
+ setOtherData: (key: string, val: any) => any;
103
+ getOtherData: (key: string) => any;
104
+ formName: any;
105
+ };
@@ -651,7 +651,8 @@ export var useAppointmentBookingSetting = function useAppointmentBookingSetting(
651
651
  var _ref21 = (appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$o3 = appointmentBooking.otherParams) === null || _appointmentBooking$o3 === void 0 ? void 0 : _appointmentBooking$o3.productModuleParams) || {},
652
652
  bookingProcess = _ref21.bookingProcess,
653
653
  bookingSubject = _ref21.bookingSubject,
654
- customPageId = _ref21.customPageId;
654
+ customPageId = _ref21.customPageId,
655
+ channel = _ref21.channel;
655
656
 
656
657
  // 加载日历接口
657
658
  var getLoadAllSchedule = function getLoadAllSchedule() {
@@ -677,6 +678,7 @@ export var useAppointmentBookingSetting = function useAppointmentBookingSetting(
677
678
  // 主体是否是表单
678
679
  isFormSubject: (bookingSubject === null || bookingSubject === void 0 ? void 0 : bookingSubject.type) === 'form',
679
680
  customPageId: customPageId,
681
+ channel: channel,
680
682
  getLoadAllSchedule: getLoadAllSchedule,
681
683
  bookingSubject: bookingSubject,
682
684
  setOtherData: setOtherData,
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const AppointmentBooking: () => JSX.Element;
3
+ export default AppointmentBooking;
@@ -0,0 +1,345 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.event.calendar.limit.unavailable': string;
4
+ 'pisell2.event.calendar.limit.sold.out': string;
5
+ 'pisell2.event.calendar.limit.call.to.book': string;
6
+ 'pisell2.event.calendar.limit.filling.up.fast': string;
7
+ 'pisell2.event.calendar.limit.lots.of.space': string;
8
+ 'pisell2.event.calendar.booking-closed': string;
9
+ 'pisell2.event.calendar.call-to-book': string;
10
+ 'pisell2.event.calendar.email-to-book': string;
11
+ 'pisell2.event.close.title': string;
12
+ 'pisell2.event.close.tip': string;
13
+ 'pisell2.event.close.continue': string;
14
+ 'pisell2.event.close.exit': string;
15
+ 'pisell2.appointment.step': (step: number) => string;
16
+ 'pisell2.event.select.category': (val: string) => string;
17
+ 'pisell2.event.select.campus': (val: string) => string;
18
+ 'pisell2.event.select.event': string;
19
+ 'pisell2.event.cart': string;
20
+ 'pisell2.event.total': string;
21
+ 'pisell2.event.total.gst': (val: string, amount: any) => string;
22
+ 'pisell2.event.continue': string;
23
+ 'pisell2.event.details': string;
24
+ 'pisell2.event.introduction': string;
25
+ 'pisell2.event.schedule': string;
26
+ 'pisell2.event.teacher': string;
27
+ 'pisell2.event.campus': string;
28
+ 'pisell2.event.resource': string;
29
+ 'pisell2.event.booking.options': string;
30
+ 'pisell2.event.add.to.cart': string;
31
+ 'pisell2.event.description': string;
32
+ 'pisell2.event.view.more': string;
33
+ 'pisell2.event.view.less': string;
34
+ 'pisell2.event.holder.modal.title': string;
35
+ 'pisell2.event.confirm': string;
36
+ 'pisell2.event.confirm.information': string;
37
+ 'pisell2.event.confirm.information.tip': string;
38
+ 'pisell2.event.confirm.information.other': string;
39
+ 'pisell2.event.add.others': string;
40
+ 'pisell2.event.checkout': string;
41
+ 'pisell2.event.edit.event': string;
42
+ 'pisell2.event.remove': string;
43
+ 'pisell2.event.option': string;
44
+ 'pisell2.event.order.items.error.title': string;
45
+ 'pisell2.event.order.items.error.tip': (val: number) => string;
46
+ 'pisell2.event.order.items.error.proceed': string;
47
+ 'pisell2.event.order.items.error.return': string;
48
+ 'pisell2.event.order.items.error.back': string;
49
+ 'pisell2.event.order.items.error.continue': string;
50
+ 'pisell2.event.order.items.error.all.tip': string;
51
+ 'pisell2.event.remove.title': string;
52
+ 'pisell2.event.remove.tip': string;
53
+ 'pisell2.event.remove.cancel': string;
54
+ 'pisell2.event.create': string;
55
+ 'pisell2.event.search': string;
56
+ 'pisell2.event.empty.service': string;
57
+ 'pisell2.event.title': (val: number) => string;
58
+ 'pisell2.event.create.form': string;
59
+ 'pisell2.event.empty.event': string;
60
+ 'pisell2.event.error.holder': string;
61
+ 'pisell2.event.price.from': string;
62
+ 'pisell2.event.empty.holder.title': string;
63
+ 'pisell2.event.empty.holder.tip': string;
64
+ 'pisell2.event.empty.holder.continue.tip': string;
65
+ 'pisell2.event.empty.holder.go.back': string;
66
+ 'pisell2.event.empty.holder.continue.anyway': string;
67
+ 'pisell2.event.event.full.title': string;
68
+ 'pisell2.event.event.full.tip': string;
69
+ 'pisell2.event.event.full.ok': string;
70
+ 'pisell2.event.capacity.limit.reached.title': string;
71
+ 'pisell2.event.capacity.limit.reached.tip': string;
72
+ 'pisell2.appointment.booking.empty.service': string;
73
+ 'pisell2.appointment.booking.empty.data': string;
74
+ 'pisell2.appointment.booking.empty.time': string;
75
+ 'pisell2.appointment.service.title': (val: number) => string;
76
+ 'pisell2.appointment.add.guest': string;
77
+ 'pisell2.appointment.edit.service': string;
78
+ 'pisell2.appointment.remove.guest': string;
79
+ 'pisell2.appointment.no.available.service': string;
80
+ 'pisell2.appointment.max.guest': string;
81
+ 'pisell2.appointment.no.available.time': string;
82
+ 'pisell2.appointment.monday': string;
83
+ 'pisell2.appointment.tuesday': string;
84
+ 'pisell2.appointment.wednesday': string;
85
+ 'pisell2.appointment.thursday': string;
86
+ 'pisell2.appointment.friday': string;
87
+ 'pisell2.appointment.saturday': string;
88
+ 'pisell2.appointment.sunday': string;
89
+ 'pisell2.appointment.any.professional': string;
90
+ 'pisell2.appointment.for.maximum.availability': string;
91
+ 'pisell2.appointment.deposit': string;
92
+ 'pisell2.appointment.deposit.agreed': string;
93
+ 'pisell2.appointment.deposit.agree.policy': string;
94
+ 'pisell2.appointment.deposit.and': string;
95
+ 'pisell2.appointment.deposit.amount.tip1': string;
96
+ 'pisell2.appointment.deposit.amount.tip2': string;
97
+ 'pisell2.appointment.deposit.close': string;
98
+ 'pisell2.appointment.tips': string;
99
+ 'pisell2.appointment.tips.content': string;
100
+ 'pisell2.appointment.fill-form': string;
101
+ 'pisell2.appointment.select.holder': (val: string) => string;
102
+ 'pisell2.appointment.select.time': string;
103
+ 'pisell2.appointment.unselect.time': string;
104
+ 'pisell2.appointment.unselect.date': string;
105
+ 'pisell2.appointment.add-guests': string;
106
+ 'pisell2.text.apply': string;
107
+ 'pisell2.text.goodpass': string;
108
+ 'pisell2.text.goodpass.product-vouchers': string;
109
+ 'pisell2.text.goodpass.view-more': string;
110
+ 'pisell2.text.goodpass.code': string;
111
+ 'pisell2.text.goodpass.enter-code': string;
112
+ 'pisell2.text.goodpass.code-invalid': string;
113
+ 'pisell2.text.goodpass.login': string;
114
+ 'pisell2.text.goodpass.login-tip': string;
115
+ };
116
+ 'zh-CN': {
117
+ 'pisell2.event.calendar.limit.unavailable': string;
118
+ 'pisell2.event.calendar.limit.sold.out': string;
119
+ 'pisell2.event.calendar.limit.call.to.book': string;
120
+ 'pisell2.event.calendar.limit.filling.up.fast': string;
121
+ 'pisell2.event.calendar.limit.lots.of.space': string;
122
+ 'pisell2.event.calendar.booking-closed': string;
123
+ 'pisell2.event.calendar.call-to-book': string;
124
+ 'pisell2.event.calendar.email-to-book': string;
125
+ 'pisell2.event.close.title': string;
126
+ 'pisell2.event.close.tip': string;
127
+ 'pisell2.event.close.continue': string;
128
+ 'pisell2.event.close.exit': string;
129
+ 'pisell2.appointment.step': (step: number) => string;
130
+ 'pisell2.event.select.category': (val: string) => string;
131
+ 'pisell2.event.select.event': string;
132
+ 'pisell2.event.select.campus': (val: string) => string;
133
+ 'pisell2.event.cart': string;
134
+ 'pisell2.event.total': string;
135
+ 'pisell2.event.total.gst': (val: string, amount: any) => string;
136
+ 'pisell2.event.continue': string;
137
+ 'pisell2.event.details': string;
138
+ 'pisell2.event.introduction': string;
139
+ 'pisell2.event.schedule': string;
140
+ 'pisell2.event.teacher': string;
141
+ 'pisell2.event.campus': string;
142
+ 'pisell2.event.resource': string;
143
+ 'pisell2.event.booking.options': string;
144
+ 'pisell2.event.add.to.cart': string;
145
+ 'pisell2.event.description': string;
146
+ 'pisell2.event.view.more': string;
147
+ 'pisell2.event.view.less': string;
148
+ 'pisell2.event.holder.modal.title': string;
149
+ 'pisell2.event.confirm': string;
150
+ 'pisell2.event.confirm.information': string;
151
+ 'pisell2.event.confirm.information.tip': string;
152
+ 'pisell2.event.confirm.information.other': string;
153
+ 'pisell2.event.add.others': string;
154
+ 'pisell2.event.checkout': string;
155
+ 'pisell2.event.edit.event': string;
156
+ 'pisell2.event.remove': string;
157
+ 'pisell2.event.option': string;
158
+ 'pisell2.event.order.items.error.title': string;
159
+ 'pisell2.event.order.items.error.tip': (val: number) => string;
160
+ 'pisell2.event.order.items.error.proceed': string;
161
+ 'pisell2.event.order.items.error.return': string;
162
+ 'pisell2.event.order.items.error.back': string;
163
+ 'pisell2.event.order.items.error.continue': string;
164
+ 'pisell2.event.order.items.error.all.tip': string;
165
+ 'pisell2.event.remove.title': string;
166
+ 'pisell2.event.remove.tip': string;
167
+ 'pisell2.event.remove.cancel': string;
168
+ 'pisell2.event.create': string;
169
+ 'pisell2.event.search': string;
170
+ 'pisell2.event.empty.service': string;
171
+ 'pisell2.event.title': (val: number) => string;
172
+ 'pisell2.event.create.form': string;
173
+ 'pisell2.event.empty.event': string;
174
+ 'pisell2.event.error.holder': string;
175
+ 'pisell2.event.price.from': string;
176
+ 'pisell2.event.empty.holder.title': string;
177
+ 'pisell2.event.empty.holder.tip': string;
178
+ 'pisell2.event.empty.holder.continue.tip': string;
179
+ 'pisell2.event.empty.holder.go.back': string;
180
+ 'pisell2.event.empty.holder.continue.anyway': string;
181
+ 'pisell2.event.event.full.title': string;
182
+ 'pisell2.event.event.full.tip': string;
183
+ 'pisell2.event.event.full.ok': string;
184
+ 'pisell2.event.capacity.limit.reached.title': string;
185
+ 'pisell2.event.capacity.limit.reached.tip': string;
186
+ 'pisell2.appointment.booking.empty.service': string;
187
+ 'pisell2.appointment.booking.empty.data': string;
188
+ 'pisell2.appointment.booking.empty.time': string;
189
+ 'pisell2.appointment.service.title': (val: number) => string;
190
+ 'pisell2.appointment.add.guest': string;
191
+ 'pisell2.appointment.edit.service': string;
192
+ 'pisell2.appointment.remove.guest': string;
193
+ 'pisell2.appointment.no.available.service': string;
194
+ 'pisell2.appointment.max.guest': string;
195
+ 'pisell2.appointment.no.available.time': string;
196
+ 'pisell2.appointment.monday': string;
197
+ 'pisell2.appointment.tuesday': string;
198
+ 'pisell2.appointment.wednesday': string;
199
+ 'pisell2.appointment.thursday': string;
200
+ 'pisell2.appointment.friday': string;
201
+ 'pisell2.appointment.saturday': string;
202
+ 'pisell2.appointment.sunday': string;
203
+ 'pisell2.appointment.any.professional': string;
204
+ 'pisell2.appointment.for.maximum.availability': string;
205
+ 'pisell2.appointment.deposit': string;
206
+ 'pisell2.appointment.deposit.agreed': string;
207
+ 'pisell2.appointment.deposit.agree.policy': string;
208
+ 'pisell2.appointment.deposit.and': string;
209
+ 'pisell2.appointment.deposit.amount.tip1': string;
210
+ 'pisell2.appointment.deposit.amount.tip2': string;
211
+ 'pisell2.appointment.deposit.close': string;
212
+ 'pisell2.appointment.tips': string;
213
+ 'pisell2.appointment.tips.content': string;
214
+ 'pisell2.appointment.fill-form': string;
215
+ 'pisell2.appointment.select.holder': (val: string) => string;
216
+ 'pisell2.appointment.select.time': string;
217
+ 'pisell2.appointment.unselect.time': string;
218
+ 'pisell2.appointment.unselect.date': string;
219
+ 'pisell2.appointment.add-guests': string;
220
+ 'pisell2.text.apply': string;
221
+ 'pisell2.text.goodpass': string;
222
+ 'pisell2.text.goodpass.product-vouchers': string;
223
+ 'pisell2.text.goodpass.view-more': string;
224
+ 'pisell2.text.goodpass.code': string;
225
+ 'pisell2.text.goodpass.enter-code': string;
226
+ 'pisell2.text.goodpass.code-invalid': string;
227
+ 'pisell2.text.goodpass.login': string;
228
+ 'pisell2.text.goodpass.login-tip': string;
229
+ };
230
+ 'zh-HK': {
231
+ 'pisell2.event.calendar.limit.unavailable': string;
232
+ 'pisell2.event.calendar.limit.sold.out': string;
233
+ 'pisell2.event.calendar.limit.call.to.book': string;
234
+ 'pisell2.event.calendar.limit.filling.up.fast': string;
235
+ 'pisell2.event.calendar.limit.lots.of.space': string;
236
+ 'pisell2.event.calendar.booking-closed': string;
237
+ 'pisell2.event.calendar.call-to-book': string;
238
+ 'pisell2.event.calendar.email-to-book': string;
239
+ 'pisell2.event.close.title': string;
240
+ 'pisell2.event.close.tip': string;
241
+ 'pisell2.event.close.continue': string;
242
+ 'pisell2.event.close.exit': string;
243
+ 'pisell2.appointment.step': (step: number) => string;
244
+ 'pisell2.event.select.category': (val: string) => string;
245
+ 'pisell2.event.select.event': string;
246
+ 'pisell2.event.select.campus': (val: string) => string;
247
+ 'pisell2.event.cart': string;
248
+ 'pisell2.event.total': string;
249
+ 'pisell2.event.total.gst': (val: string, amount: any) => string;
250
+ 'pisell2.event.continue': string;
251
+ 'pisell2.event.details': string;
252
+ 'pisell2.event.introduction': string;
253
+ 'pisell2.event.schedule': string;
254
+ 'pisell2.event.teacher': string;
255
+ 'pisell2.event.campus': string;
256
+ 'pisell2.event.resource': string;
257
+ 'pisell2.event.booking.options': string;
258
+ 'pisell2.event.add.to.cart': string;
259
+ 'pisell2.event.description': string;
260
+ 'pisell2.event.view.more': string;
261
+ 'pisell2.event.view.less': string;
262
+ 'pisell2.event.holder.modal.title': string;
263
+ 'pisell2.event.confirm': string;
264
+ 'pisell2.event.confirm.information': string;
265
+ 'pisell2.event.confirm.information.tip': string;
266
+ 'pisell2.event.confirm.information.other': string;
267
+ 'pisell2.event.add.others': string;
268
+ 'pisell2.event.checkout': string;
269
+ 'pisell2.event.edit.event': string;
270
+ 'pisell2.event.remove': string;
271
+ 'pisell2.event.option': string;
272
+ 'pisell2.event.order.items.error.title': string;
273
+ 'pisell2.event.order.items.error.tip': (val: number) => string;
274
+ 'pisell2.event.order.items.error.proceed': string;
275
+ 'pisell2.event.order.items.error.return': string;
276
+ 'pisell2.event.order.items.error.back': string;
277
+ 'pisell2.event.order.items.error.continue': string;
278
+ 'pisell2.event.order.items.error.all.tip': string;
279
+ 'pisell2.event.remove.title': string;
280
+ 'pisell2.event.remove.tip': string;
281
+ 'pisell2.event.remove.cancel': string;
282
+ 'pisell2.event.create': string;
283
+ 'pisell2.event.search': string;
284
+ 'pisell2.event.empty.service': string;
285
+ 'pisell2.event.title': (val: number) => string;
286
+ 'pisell2.event.create.form': string;
287
+ 'pisell2.event.empty.event': string;
288
+ 'pisell2.event.error.holder': string;
289
+ 'pisell2.event.price.from': string;
290
+ 'pisell2.event.empty.holder.title': string;
291
+ 'pisell2.event.empty.holder.tip': string;
292
+ 'pisell2.event.empty.holder.continue.tip': string;
293
+ 'pisell2.event.empty.holder.go.back': string;
294
+ 'pisell2.event.empty.holder.continue.anyway': string;
295
+ 'pisell2.event.event.full.title': string;
296
+ 'pisell2.event.event.full.tip': string;
297
+ 'pisell2.event.event.full.ok': string;
298
+ 'pisell2.event.capacity.limit.reached.title': string;
299
+ 'pisell2.event.capacity.limit.reached.tip': string;
300
+ 'pisell2.appointment.booking.empty.service': string;
301
+ 'pisell2.appointment.booking.empty.data': string;
302
+ 'pisell2.appointment.booking.empty.time': string;
303
+ 'pisell2.appointment.service.title': (val: number) => string;
304
+ 'pisell2.appointment.add.guest': string;
305
+ 'pisell2.appointment.edit.service': string;
306
+ 'pisell2.appointment.remove.guest': string;
307
+ 'pisell2.appointment.no.available.service': string;
308
+ 'pisell2.appointment.max.guest': string;
309
+ 'pisell2.appointment.no.available.time': string;
310
+ 'pisell2.appointment.monday': string;
311
+ 'pisell2.appointment.tuesday': string;
312
+ 'pisell2.appointment.wednesday': string;
313
+ 'pisell2.appointment.thursday': string;
314
+ 'pisell2.appointment.friday': string;
315
+ 'pisell2.appointment.saturday': string;
316
+ 'pisell2.appointment.sunday': string;
317
+ 'pisell2.appointment.any.professional': string;
318
+ 'pisell2.appointment.for.maximum.availability': string;
319
+ 'pisell2.appointment.deposit': string;
320
+ 'pisell2.appointment.deposit.agreed': string;
321
+ 'pisell2.appointment.deposit.agree.policy': string;
322
+ 'pisell2.appointment.deposit.and': string;
323
+ 'pisell2.appointment.deposit.amount.tip1': string;
324
+ 'pisell2.appointment.deposit.amount.tip2': string;
325
+ 'pisell2.appointment.deposit.close': string;
326
+ 'pisell2.appointment.tips': string;
327
+ 'pisell2.appointment.tips.content': string;
328
+ 'pisell2.appointment.fill-form': string;
329
+ 'pisell2.appointment.select.holder': (val: string) => string;
330
+ 'pisell2.appointment.select.time': string;
331
+ 'pisell2.appointment.unselect.time': string;
332
+ 'pisell2.appointment.unselect.date': string;
333
+ 'pisell2.appointment.add-guests': string;
334
+ 'pisell2.text.apply': string;
335
+ 'pisell2.text.goodpass': string;
336
+ 'pisell2.text.goodpass.product-vouchers': string;
337
+ 'pisell2.text.goodpass.view-more': string;
338
+ 'pisell2.text.goodpass.code': string;
339
+ 'pisell2.text.goodpass.enter-code': string;
340
+ 'pisell2.text.goodpass.code-invalid': string;
341
+ 'pisell2.text.goodpass.login': string;
342
+ 'pisell2.text.goodpass.login-tip': string;
343
+ };
344
+ };
345
+ export default _default;
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ import { FormState } from "../model";
3
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
+ state: FormState;
5
+ } & {
6
+ dispatch: (params: {
7
+ type: string;
8
+ payload: any;
9
+ }) => void;
10
+ }>;