@pisell/private-materials 6.0.25 → 6.2.1

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 (1270) 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 +152 -148
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +12 -12
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +12 -12
  11. package/es/businessModel/SalesModel/Sales/index.js +37 -4
  12. package/es/businessModel/SalesModel/index.d.ts +0 -1
  13. package/es/components/Sales/Cart/index.js +38 -16
  14. package/es/components/Sales/Cart/types.d.ts +12 -0
  15. package/es/components/Sales/Cart/utils.d.ts +63 -0
  16. package/es/components/Sales/Cart/utils.js +332 -0
  17. package/es/components/Sales/Checkout/index.d.ts +4 -0
  18. package/es/components/Sales/Checkout/index.js +52 -8
  19. package/es/components/Sales/Checkout/serve.d.ts +13 -0
  20. package/es/components/Sales/Checkout/serve.js +16 -2
  21. package/es/components/Sales/Checkout/utils.d.ts +14 -1
  22. package/es/components/Sales/Checkout/utils.js +37 -4
  23. package/es/components/Sales/Customer/index.d.ts +1 -0
  24. package/es/components/Sales/Customer/index.js +4 -1
  25. package/es/components/Sales/Event/Detail.d.ts +2 -0
  26. package/es/components/Sales/Event/Detail.js +60 -13
  27. package/es/components/Sales/Event/index.js +7 -7
  28. package/es/components/Sales/Event/serve.d.ts +13 -0
  29. package/es/components/Sales/Event/serve.js +26 -1
  30. package/es/components/Sales/Init/index.d.ts +1 -0
  31. package/es/components/Sales/Init/index.js +3 -2
  32. package/es/components/Sales/Resource/index.js +2 -2
  33. package/es/components/Sales/Resource/serve.d.ts +7 -0
  34. package/es/components/Sales/Resource/serve.js +10 -0
  35. package/es/components/Sales/Step/index.d.ts +2 -0
  36. package/es/components/Sales/Step/index.js +13 -4
  37. package/es/components/Sales/Summary/index.d.ts +10 -0
  38. package/es/components/Sales/Summary/index.js +17 -2
  39. package/es/components/Sales/Summary/serve.d.ts +1 -0
  40. package/es/components/Sales/Summary/serve.js +6 -0
  41. package/es/components/Sales/Summary/utils.d.ts +16 -1
  42. package/es/components/Sales/Summary/utils.js +44 -1
  43. package/es/components/appointmentBooking/assets/alert-circle.png +0 -0
  44. package/es/components/appointmentBooking/assets/calendar-heart.svg +5 -0
  45. package/es/components/appointmentBooking/assets/compass.svg +13 -0
  46. package/es/components/appointmentBooking/assets/guests.svg +1 -0
  47. package/es/components/appointmentBooking/assets/image.svg +5 -0
  48. package/es/components/appointmentBooking/assets/phone.svg +5 -0
  49. package/es/components/appointmentBooking/assets/resource.svg +1 -0
  50. package/es/components/appointmentBooking/assets/shopping-cart.svg +10 -0
  51. package/es/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +7 -0
  52. package/es/components/appointmentBooking/components/Cart/ContinueButton/index.js +152 -0
  53. package/es/components/appointmentBooking/components/Cart/ContinueButton/index.less +0 -0
  54. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +3 -0
  55. package/es/components/appointmentBooking/components/Cart/Item/Total.js +45 -0
  56. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
  57. package/es/components/appointmentBooking/components/Cart/Item/index.js +262 -0
  58. package/es/components/appointmentBooking/components/Cart/Item/index.less +108 -0
  59. package/es/components/appointmentBooking/components/Cart/index.d.ts +3 -0
  60. package/es/components/appointmentBooking/components/Cart/index.js +29 -0
  61. package/es/components/appointmentBooking/components/Cart/index.less +2 -0
  62. package/es/components/appointmentBooking/components/Cart/utils.d.ts +56 -0
  63. package/es/components/appointmentBooking/components/Cart/utils.js +170 -0
  64. package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
  65. package/es/components/appointmentBooking/components/ConfirmInformation/index.js +277 -0
  66. package/es/components/appointmentBooking/components/ConfirmInformation/index.less +35 -0
  67. package/es/components/appointmentBooking/components/ConfirmInformation/utils.d.ts +12 -0
  68. package/es/components/appointmentBooking/components/ConfirmInformation/utils.js +17 -0
  69. package/es/components/appointmentBooking/components/Content/index.d.ts +3 -0
  70. package/es/components/appointmentBooking/components/Content/index.js +257 -0
  71. package/es/components/appointmentBooking/components/Content/index.less +113 -0
  72. package/es/components/appointmentBooking/components/Date/index.d.ts +4 -0
  73. package/es/components/appointmentBooking/components/Date/index.js +403 -0
  74. package/es/components/appointmentBooking/components/Date/index.less +142 -0
  75. package/es/components/appointmentBooking/components/Date/state.d.ts +63 -0
  76. package/es/components/appointmentBooking/components/Date/state.js +223 -0
  77. package/es/components/appointmentBooking/components/Deposit/index.d.ts +9 -0
  78. package/es/components/appointmentBooking/components/Deposit/index.js +50 -0
  79. package/es/components/appointmentBooking/components/Deposit/index.less +17 -0
  80. package/es/components/appointmentBooking/components/Footer/index.d.ts +3 -0
  81. package/es/components/appointmentBooking/components/Footer/index.js +63 -0
  82. package/es/components/appointmentBooking/components/Footer/index.less +64 -0
  83. package/es/components/appointmentBooking/components/Form/index.d.ts +4 -0
  84. package/es/components/appointmentBooking/components/Form/index.js +157 -0
  85. package/es/components/appointmentBooking/components/Form/index.less +3 -0
  86. package/es/components/appointmentBooking/components/Form/utils.d.ts +8 -0
  87. package/es/components/appointmentBooking/components/Form/utils.js +38 -0
  88. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +3 -0
  89. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.js +50 -0
  90. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.less +28 -0
  91. package/es/components/appointmentBooking/components/Guest/index.d.ts +4 -0
  92. package/es/components/appointmentBooking/components/Guest/index.js +185 -0
  93. package/es/components/appointmentBooking/components/Guest/index.less +92 -0
  94. package/es/components/appointmentBooking/components/Header/index.d.ts +3 -0
  95. package/es/components/appointmentBooking/components/Header/index.js +200 -0
  96. package/es/components/appointmentBooking/components/Header/index.less +0 -0
  97. package/es/components/appointmentBooking/components/Resource/index.d.ts +7 -0
  98. package/es/components/appointmentBooking/components/Resource/index.js +286 -0
  99. package/es/components/appointmentBooking/components/Resource/index.less +10 -0
  100. package/es/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
  101. package/es/components/appointmentBooking/components/Resource/utils.js +16 -0
  102. package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
  103. package/es/components/appointmentBooking/components/Services/index.js +257 -0
  104. package/es/components/appointmentBooking/components/Services/index.less +3 -0
  105. package/es/components/appointmentBooking/components/TimeSlicing/index.d.ts +4 -0
  106. package/es/components/appointmentBooking/components/TimeSlicing/index.js +118 -0
  107. package/es/components/appointmentBooking/components/TimeSlicing/index.less +33 -0
  108. package/es/components/appointmentBooking/components/Voucher/index.d.ts +4 -0
  109. package/es/components/appointmentBooking/components/Voucher/index.js +267 -0
  110. package/es/components/appointmentBooking/components/Voucher/index.less +116 -0
  111. package/es/components/appointmentBooking/context.d.ts +35 -0
  112. package/es/components/appointmentBooking/context.js +241 -0
  113. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  114. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.js +139 -0
  115. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.less +18 -0
  116. package/es/components/appointmentBooking/deposit/index.d.ts +3 -0
  117. package/es/components/appointmentBooking/deposit/index.js +103 -0
  118. package/es/components/appointmentBooking/deposit/index.less +57 -0
  119. package/es/components/appointmentBooking/hooks.d.ts +106 -0
  120. package/es/components/appointmentBooking/hooks.js +976 -0
  121. package/es/components/appointmentBooking/index.d.ts +3 -0
  122. package/es/components/appointmentBooking/index.js +48 -0
  123. package/es/components/appointmentBooking/index.less +23 -0
  124. package/es/components/appointmentBooking/locales.d.ts +360 -0
  125. package/es/components/appointmentBooking/locales.js +413 -0
  126. package/es/components/appointmentBooking/mock.d.ts +627 -0
  127. package/es/components/appointmentBooking/mock.js +1172 -0
  128. package/es/components/appointmentBooking/status.d.ts +21 -0
  129. package/es/components/appointmentBooking/status.js +51 -0
  130. package/es/components/appointmentBooking/type.d.ts +17 -0
  131. package/es/components/appointmentBooking/type.js +1 -0
  132. package/es/components/appointmentBooking/utils.d.ts +203 -0
  133. package/es/components/appointmentBooking/utils.js +768 -0
  134. package/es/components/booking/addons/index.js +56 -35
  135. package/es/components/booking/addons/model.js +5 -0
  136. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  137. package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  138. package/es/components/booking/components/TabProduct/productItem/index.js +14 -2
  139. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  140. package/es/components/booking/components/TabProduct/selectProductItem/index.js +3 -1
  141. package/es/components/booking/components/TabProduct/selectProductItem/index.less +6 -0
  142. package/es/components/booking/components/TabProduct/tabs/index.js +1 -5
  143. package/es/components/booking/components/browserSelect/index.js +1 -1
  144. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  145. package/es/components/booking/components/customSelect/index.js +2 -0
  146. package/es/components/booking/components/drawer/index.js +4 -2
  147. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  148. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  149. package/es/components/booking/components/footer/amount.d.ts +1 -0
  150. package/es/components/booking/components/footer/amount.js +5 -4
  151. package/es/components/booking/components/footer/index.d.ts +0 -1
  152. package/es/components/booking/components/footer/index.js +197 -117
  153. package/es/components/booking/components/footer/index.less +6 -1
  154. package/es/components/booking/components/footer/utils.d.ts +22 -0
  155. package/es/components/booking/components/footer/utils.js +213 -62
  156. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  157. package/es/components/booking/components/reloadResourceModal/index.d.ts +8 -0
  158. package/es/components/booking/components/reloadResourceModal/index.js +73 -0
  159. package/es/components/booking/components/reloadResourceModal/index.less +6 -0
  160. package/es/components/booking/components/voucher/index.d.ts +3 -0
  161. package/es/components/booking/components/voucher/index.js +319 -0
  162. package/es/components/booking/components/voucher/index.less +87 -0
  163. package/es/components/booking/components/voucher/utils.d.ts +4 -0
  164. package/es/components/booking/components/voucher/utils.js +15 -0
  165. package/es/components/booking/deposit/DepositItem/index.js +1 -0
  166. package/es/components/booking/deposit/index.d.ts +0 -1
  167. package/es/components/booking/deposit/index.js +5 -3
  168. package/es/components/booking/editBookingModal/index.d.ts +5 -0
  169. package/es/components/booking/editBookingModal/index.js +386 -0
  170. package/es/components/booking/editBookingModal/index.less +8 -0
  171. package/es/components/booking/editBookingModal/locales.d.ts +21 -0
  172. package/es/components/booking/editBookingModal/locales.js +20 -0
  173. package/es/components/booking/editBookingModal/mock.d.ts +807 -0
  174. package/es/components/booking/editBookingModal/mock.js +2993 -0
  175. package/es/components/booking/editBookingModal/serve.d.ts +51 -0
  176. package/es/components/booking/editBookingModal/serve.js +288 -0
  177. package/es/components/booking/editBookingModal/type.d.ts +12 -0
  178. package/es/components/booking/editBookingModal/type.js +1 -0
  179. package/es/components/booking/editBookingModal/utils.d.ts +12 -0
  180. package/es/components/booking/editBookingModal/utils.js +157 -0
  181. package/es/components/booking/forms/footer.d.ts +6 -0
  182. package/es/components/booking/forms/footer.js +88 -0
  183. package/es/components/booking/forms/forms.d.ts +4 -0
  184. package/es/components/booking/forms/forms.js +15 -3
  185. package/es/components/booking/forms/index.d.ts +1 -1
  186. package/es/components/booking/forms/index.js +25 -20
  187. package/es/components/booking/forms/index.less +7 -0
  188. package/es/components/booking/forms/model.js +5 -5
  189. package/es/components/booking/forms/sendModal/index.d.ts +27 -0
  190. package/es/components/booking/forms/sendModal/index.js +82 -0
  191. package/es/components/booking/forms/sendModal/index.less +9 -0
  192. package/es/components/booking/forms/sendModal/useSendModal.d.ts +9 -0
  193. package/es/components/booking/forms/sendModal/useSendModal.js +79 -0
  194. package/es/components/booking/forms/serve.d.ts +9 -0
  195. package/es/components/booking/forms/serve.js +20 -0
  196. package/es/components/booking/forms/single/index.d.ts +1 -2
  197. package/es/components/booking/forms/single/index.js +83 -27
  198. package/es/components/booking/forms/table/index.d.ts +0 -1
  199. package/es/components/booking/hooks/useCreateBookingPageHeader.js +3 -0
  200. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  201. package/es/components/booking/hooks/useIsBooking4Shop.js +10 -0
  202. package/es/components/booking/hooks/useQuotation.d.ts +5 -0
  203. package/es/components/booking/hooks/useQuotation.js +266 -0
  204. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
  205. package/es/components/booking/info/client/index.js +40 -8
  206. package/es/components/booking/info/client/index.less +39 -0
  207. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  208. package/es/components/booking/info/clientVariant/hooks/useClientFn.js +10 -1
  209. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  210. package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
  211. package/es/components/booking/info/clientVariant/utils.js +6 -0
  212. package/es/components/booking/info/clientVariant/vertical/SelectDrawer.js +17 -2
  213. package/es/components/booking/info/clientVariant/vertical/SelectDrawer.less +17 -0
  214. package/es/components/booking/info/clientVariant/vertical/index.js +33 -7
  215. package/es/components/booking/info/clientVariant/vertical/index.less +18 -0
  216. package/es/components/booking/info/date/index.d.ts +0 -1
  217. package/es/components/booking/info/header/index.d.ts +0 -1
  218. package/es/components/booking/info/hooks/useAddHolder.d.ts +9 -0
  219. package/es/components/booking/info/hooks/useAddHolder.js +171 -0
  220. package/es/components/booking/info/hooks/useGetHolderList.d.ts +2 -0
  221. package/es/components/booking/info/hooks/useGetHolderList.js +48 -0
  222. package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  223. package/es/components/booking/info/hooks/useHolderConfig.js +40 -0
  224. package/es/components/booking/info/hooks/useInfoHolder.d.ts +9 -0
  225. package/es/components/booking/info/hooks/useInfoHolder.js +69 -0
  226. package/es/components/booking/info/index.d.ts +0 -1
  227. package/es/components/booking/info/index.js +15 -2
  228. package/es/components/booking/info/main.js +1 -1
  229. package/es/components/booking/info/model.js +5 -0
  230. package/es/components/booking/info/notes/index.d.ts +0 -1
  231. package/es/components/booking/info/pet/index.js +107 -25
  232. package/es/components/booking/info/pet/serve.d.ts +1 -0
  233. package/es/components/booking/info/pet/serve.js +27 -0
  234. package/es/components/booking/info/service/Lists.d.ts +2 -0
  235. package/es/components/booking/info/service/Lists.js +121 -0
  236. package/es/components/booking/info/service/actions/index.d.ts +0 -1
  237. package/es/components/booking/info/service/addService/index.js +33 -31
  238. package/es/components/booking/info/service/editService/index.d.ts +1 -1
  239. package/es/components/booking/info/service/editService/index.js +115 -61
  240. package/es/components/booking/info/service/index.js +8 -5
  241. package/es/components/booking/info/service/like/index.d.ts +0 -1
  242. package/es/components/booking/info/service/like/index.js +1 -1
  243. package/es/components/booking/info/service/serve.d.ts +9 -0
  244. package/es/components/booking/info/service/serve.js +21 -0
  245. package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
  246. package/es/components/booking/info/service/serviceList/index.js +1 -0
  247. package/es/components/booking/info/service/serviceManager/index.js +16 -11
  248. package/es/components/booking/info/service2/Group/utils.js +3 -2
  249. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  250. package/es/components/booking/info/service2/hooks/useSelectPet.js +13 -5
  251. package/es/components/booking/info/service2/index.js +6 -3
  252. package/es/components/booking/info/service2/utils.d.ts +13 -6
  253. package/es/components/booking/info/service2/utils.js +405 -95
  254. package/es/components/booking/info/utils.d.ts +6 -0
  255. package/es/components/booking/info/utils.js +62 -1
  256. package/es/components/booking/info2/index.js +54 -22
  257. package/es/components/booking/info2/serve.d.ts +2 -2
  258. package/es/components/booking/info2/serve.js +9 -12
  259. package/es/components/booking/info2/service/actions/index.d.ts +0 -1
  260. package/es/components/booking/info2/service/addService/index.d.ts +0 -1
  261. package/es/components/booking/info2/service/addService/index.js +99 -42
  262. package/es/components/booking/info2/service/addService/utils.d.ts +30 -3
  263. package/es/components/booking/info2/service/addService/utils.js +192 -75
  264. package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
  265. package/es/components/booking/info2/service/addTimeModal/index.js +33 -11
  266. package/es/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.js +2 -4
  267. package/es/components/booking/info2/service/editService/Resources/index.js +44 -11
  268. package/es/components/booking/info2/service/editService/Resources/index.less +6 -0
  269. package/es/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +7 -0
  270. package/es/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.js +26 -0
  271. package/es/components/booking/info2/service/editService/ResourcesV2/index.d.ts +10 -0
  272. package/es/components/booking/info2/service/editService/ResourcesV2/index.js +308 -0
  273. package/es/components/booking/info2/service/editService/ResourcesV2/index.less +44 -0
  274. package/es/components/booking/info2/service/editService/index.js +126 -30
  275. package/es/components/booking/info2/service/editService/utils.d.ts +4 -2
  276. package/es/components/booking/info2/service/editService/utils.js +18 -0
  277. package/es/components/booking/info2/service/index.js +22 -38
  278. package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
  279. package/es/components/booking/info2/utils.d.ts +4 -0
  280. package/es/components/booking/info2/utils.js +42 -0
  281. package/es/components/booking/info2/utilsByBooking.d.ts +2 -1
  282. package/es/components/booking/info2/utilsByBooking.js +55 -16
  283. package/es/components/booking/locales.d.ts +99 -0
  284. package/es/components/booking/locales.js +120 -3
  285. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  286. package/es/components/booking/materiels/duration/index.d.ts +0 -1
  287. package/es/components/booking/materiels/holder/index.d.ts +0 -1
  288. package/es/components/booking/materiels/holder/index.js +2 -2
  289. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  290. package/es/components/booking/materiels/startTime/index.js +1 -1
  291. package/es/components/booking/model.d.ts +1 -0
  292. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  293. package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
  294. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  295. package/es/components/booking/notes/NoteBlock/index.js +11 -11
  296. package/es/components/booking/notes/addNote/index.d.ts +0 -1
  297. package/es/components/booking/notes/addNote/index.js +1 -1
  298. package/es/components/booking/notes/addNote/index.less +3 -0
  299. package/es/components/booking/notes/model.js +5 -5
  300. package/es/components/booking/payments/index.js +2 -1
  301. package/es/components/booking/payments/model.js +5 -5
  302. package/es/components/booking/utils.d.ts +5 -2
  303. package/es/components/booking/utils.js +66 -21
  304. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  305. package/es/components/eftpos/form/index.d.ts +0 -1
  306. package/es/components/eftpos/group/index.d.ts +0 -1
  307. package/es/components/eftpos/hooks.d.ts +0 -1
  308. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  309. package/es/components/eftpos/icon/device.d.ts +0 -1
  310. package/es/components/eftpos/index.d.ts +0 -1
  311. package/es/components/eftpos/pos.d.ts +0 -1
  312. package/es/components/eftpos/receipt/index.d.ts +0 -1
  313. package/es/components/eftpos/surcharge/index.d.ts +0 -1
  314. package/es/components/eftposPay/amount.d.ts +1 -2
  315. package/es/components/eftposPay/app.d.ts +0 -1
  316. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  317. package/es/components/eftposPay/component/fail/network.d.ts +0 -1
  318. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  319. package/es/components/eftposPay/component/manual/index.d.ts +0 -1
  320. package/es/components/eftposPay/component/signature/index.d.ts +0 -1
  321. package/es/components/eftposPay/component/step/index.d.ts +0 -1
  322. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  323. package/es/components/eftposPay/const.d.ts +4 -1
  324. package/es/components/eftposPay/const.js +3 -1
  325. package/es/components/eftposPay/device.d.ts +1 -2
  326. package/es/components/eftposPay/hooks.d.ts +1 -1
  327. package/es/components/eftposPay/hooks.js +3 -1
  328. package/es/components/eftposPay/index.js +1 -1
  329. package/es/components/eftposPay/linkly/const.d.ts +23 -0
  330. package/es/components/eftposPay/linkly/const.js +82 -0
  331. package/es/components/eftposPay/linkly/hooks/index.d.ts +2 -0
  332. package/es/components/eftposPay/linkly/hooks/index.js +2 -0
  333. package/es/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
  334. package/es/components/eftposPay/linkly/hooks/normal.js +321 -0
  335. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  336. package/es/components/eftposPay/linkly/hooks/useTimeQuery.js +273 -0
  337. package/es/components/eftposPay/linkly/index.d.ts +2 -0
  338. package/es/components/eftposPay/linkly/index.js +197 -0
  339. package/es/components/eftposPay/linkly/service.d.ts +32 -0
  340. package/es/components/eftposPay/linkly/service.js +81 -0
  341. package/es/components/eftposPay/manufacturer.d.ts +1 -0
  342. package/es/components/eftposPay/manufacturer.js +4 -0
  343. package/es/components/eftposPay/pay.d.ts +1 -1
  344. package/es/components/eftposPay/pay.js +6 -2
  345. package/es/components/eftposPay/payo/config.js +44 -6
  346. package/es/components/eftposPay/payo/hooks.js +12 -1
  347. package/es/components/eftposPay/store/index.d.ts +2 -2
  348. package/es/components/eftposPay/tip.d.ts +0 -1
  349. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  350. package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  351. package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
  352. package/es/components/eftposPay/windcave/windcave.js +12 -2
  353. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +325 -61
  354. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -0
  355. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.js +17 -0
  356. package/es/components/eventBooking/components/Provider/Cart/Item/Total.js +10 -6
  357. package/es/components/eventBooking/components/Provider/Cart/Item/index.js +4 -2
  358. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  359. package/es/components/eventBooking/components/Provider/Event/index.js +32 -7
  360. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  361. package/es/components/eventBooking/components/Provider/Resource/index.js +26 -5
  362. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  363. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  364. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -1
  365. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  366. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  367. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -1
  368. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  369. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +2 -2
  370. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +1 -1
  371. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +3 -1
  372. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.js +30 -8
  373. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  374. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  375. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.js +6 -3
  376. package/es/components/eventBooking/components/bookingDetailModal/index.js +91 -16
  377. package/es/components/eventBooking/components/progressBar/index.js +17 -1
  378. package/es/components/eventBooking/components/resourceDisplay/index.js +2 -2
  379. package/es/components/eventBooking/components/resourceDisplay/index.less +1 -0
  380. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  381. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  382. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.js +7 -2
  383. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +3 -0
  384. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.js +60 -0
  385. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.less +63 -0
  386. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimes/index.d.ts +9 -0
  387. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimes/index.js +59 -0
  388. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimes/index.less +7 -0
  389. package/es/components/eventBooking/components/scheduleCalendar/index.d.ts +1 -0
  390. package/es/components/eventBooking/components/scheduleCalendar/index.js +30 -21
  391. package/es/components/eventBooking/components/scheduleCalendar/index.less +2 -0
  392. package/es/components/eventBooking/components/timeResourceSelector/index.less +0 -1
  393. package/es/components/eventBooking/index.d.ts +0 -1
  394. package/es/components/eventBooking/index.js +23 -9
  395. package/es/components/eventBooking/locales.d.ts +30 -0
  396. package/es/components/eventBooking/locales.js +196 -166
  397. package/es/components/eventBooking/utils.js +8 -8
  398. package/es/components/index.d.ts +4 -1
  399. package/es/components/index.js +4 -1
  400. package/es/components/listComponent/index.js +5 -5
  401. package/es/components/login/index.d.ts +0 -1
  402. package/es/components/pay/toC/PaymentList/index.js +10 -4
  403. package/es/components/pay/toC/PaymentList/serve.d.ts +1 -1
  404. package/es/components/pay/toC/PaymentList/serve.js +9 -3
  405. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  406. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  407. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  408. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  409. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  410. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  411. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  412. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.js +30 -13
  413. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.js +30 -13
  414. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +3 -0
  415. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.js +3 -2
  416. package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +5 -0
  417. package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +73 -20
  418. package/es/components/pay/toC/PaymentMethods/WalletPass/index.less +30 -0
  419. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +2 -0
  420. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +2 -1
  421. package/es/components/pay/toC/PaymentMethods/index.js +29 -2
  422. package/es/components/pay/toC/WalletPassBlock/components/WalletAvailable/index.d.ts +16 -0
  423. package/es/components/pay/toC/WalletPassBlock/components/WalletAvailable/index.js +60 -0
  424. package/es/components/pay/toC/WalletPassBlock/components/WalletAvailable/index.less +38 -0
  425. package/es/components/pay/toC/WalletPassBlock/components/WalletBestValueFound/index.d.ts +17 -0
  426. package/es/components/pay/toC/WalletPassBlock/components/WalletBestValueFound/index.js +98 -0
  427. package/es/components/pay/toC/WalletPassBlock/components/WalletBestValueFound/index.less +133 -0
  428. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +7 -0
  429. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.js +34 -0
  430. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.less +23 -0
  431. package/es/components/pay/toC/WalletPassBlock/index.d.ts +9 -2
  432. package/es/components/pay/toC/WalletPassBlock/index.js +119 -21
  433. package/es/components/pay/toC/WalletPassBlock/index.less +86 -13
  434. package/es/components/pay/toC/index.js +173 -116
  435. package/es/components/pay/toC/locales.d.ts +69 -3
  436. package/es/components/pay/toC/locales.js +132 -6
  437. package/es/components/pay/toC/model.d.ts +4 -0
  438. package/es/components/pay/toC/model.js +9 -0
  439. package/es/components/pay/toC/serve.d.ts +23 -0
  440. package/es/components/pay/toC/serve.js +36 -4
  441. package/es/components/pay/toC/utils.d.ts +9 -1
  442. package/es/components/pay/toC/utils.js +29 -3
  443. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  444. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  445. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  446. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.js +4 -1
  447. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  448. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  449. package/es/components/productExtension/card/index.js +3 -3
  450. package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
  451. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  452. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  453. package/es/components/productExtension/fields/Forms/index.js +12 -12
  454. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -2
  455. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.js +18 -6
  456. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  457. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
  458. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  459. package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
  460. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  461. package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
  462. package/es/components/productExtension/index.d.ts +0 -1
  463. package/es/components/productExtension/server.js +2 -2
  464. package/es/components/productSelect/components/TabProduct/index.d.ts +2 -0
  465. package/es/components/productSelect/components/TabProduct/index.js +196 -0
  466. package/es/components/productSelect/components/TabProduct/tabs/index.d.ts +21 -0
  467. package/es/components/productSelect/components/TabProduct/tabs/index.js +243 -0
  468. package/es/components/productSelect/components/TabProduct/tabs/index.less +126 -0
  469. package/es/components/productSelect/components/gridLayout/index.d.ts +9 -0
  470. package/es/components/productSelect/components/gridLayout/index.js +28 -0
  471. package/es/components/productSelect/components/gridLayout/index.less +6 -0
  472. package/es/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
  473. package/es/components/productSelect/components/pisellPriceText/index.js +43 -0
  474. package/es/components/productSelect/components/productGroup/index.d.ts +38 -0
  475. package/es/components/productSelect/components/productGroup/index.js +171 -0
  476. package/es/components/productSelect/components/productGroup/index.less +227 -0
  477. package/es/components/productSelect/hooks/useToken.d.ts +18 -0
  478. package/es/components/productSelect/hooks/useToken.js +35 -0
  479. package/es/components/productSelect/index.d.ts +24 -0
  480. package/es/components/productSelect/index.js +107 -0
  481. package/es/components/productSelect/index.less +75 -0
  482. package/es/components/productSelect/locales.d.ts +18 -0
  483. package/es/components/productSelect/locales.js +17 -0
  484. package/es/components/productSelect/mock.d.ts +134 -0
  485. package/es/components/productSelect/mock.js +202 -0
  486. package/es/components/productSelect/theme/token.d.ts +17 -0
  487. package/es/components/productSelect/theme/token.js +19 -0
  488. package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  489. package/es/components/ruleSetting/ruleBorder/index.js +1 -1
  490. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  491. package/es/components/schedules/calendar/index.d.ts +0 -1
  492. package/es/components/schedules/calendar/index.js +4 -4
  493. package/es/components/schedules/calendar/index.less +158 -152
  494. package/es/components/schedules/calendar/serve.js +2 -2
  495. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  496. package/es/components/schedules/components/CurrentDay/index.js +5 -5
  497. package/es/components/schedules/components/CurrentDay/serve.js +2 -2
  498. package/es/components/schedules/components/DropdownSort/index.js +1 -1
  499. package/es/components/schedules/components/ResourceList/index.js +1 -1
  500. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  501. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  502. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  503. package/es/components/schedules/components/Search/index.js +5 -5
  504. package/es/components/schedules/model.js +5 -5
  505. package/es/components/schedules/openHours/index.js +1 -1
  506. package/es/components/schedules/openHours/serve.js +2 -2
  507. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  508. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
  509. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  510. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
  511. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  512. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  513. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
  514. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  515. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  516. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  517. package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
  518. package/es/components/schedules/products/index.d.ts +0 -1
  519. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  520. package/es/components/schedules/products/list/index.d.ts +0 -1
  521. package/es/components/schedules/products/serve.js +2 -2
  522. package/es/components/schedules/products/utils.js +5 -5
  523. package/es/components/schedules/resources/detail/detailContent.js +2 -2
  524. package/es/components/schedules/resources/detail/index.js +10 -10
  525. package/es/components/schedules/resources/index.d.ts +0 -1
  526. package/es/components/schedules/resources/list/index.d.ts +0 -1
  527. package/es/components/schedules/resources/list/index.js +2 -2
  528. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  529. package/es/components/schedules/resources/relationProduct/index.js +1 -1
  530. package/es/components/schedules/resources/serve.js +2 -2
  531. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  532. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  533. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
  534. package/es/components/schedules/schedules/index.d.ts +0 -1
  535. package/es/components/schedules/schedules/utils.js +1 -1
  536. package/es/components/schedules/utils.d.ts +1 -1
  537. package/es/components/schedules/utils.js +4 -4
  538. package/es/components/selectModal/index.js +2 -2
  539. package/es/components/shoppingCart/Provider.d.ts +1 -1
  540. package/es/components/shoppingCart/Provider.js +3 -2
  541. package/es/components/shoppingCart/components/Cart/Product.js +27 -3
  542. package/es/components/shoppingCart/components/Cart/index.less +15 -15
  543. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  544. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  545. package/es/components/shoppingCart/components/Render/index.js +0 -1
  546. package/es/components/shoppingCart/components/Render/index.less +15 -0
  547. package/es/components/shoppingCart/hooks/useAddService.js +7 -1
  548. package/es/components/shoppingCart/hooks/useClearCart.js +3 -4
  549. package/es/components/shoppingCart/index.d.ts +1 -2
  550. package/es/components/shoppingCart/index.js +3 -1
  551. package/es/components/shoppingCart/status.js +5 -1
  552. package/es/components/shoppingCart/type.d.ts +8 -0
  553. package/es/components/stepController/components/Content/index.d.ts +7 -0
  554. package/es/components/stepController/components/Content/index.js +9 -0
  555. package/es/components/stepController/components/Content/index.less +8 -0
  556. package/es/components/stepController/components/Footer/index.d.ts +8 -0
  557. package/es/components/stepController/components/Footer/index.js +15 -0
  558. package/es/components/stepController/components/Footer/index.less +39 -0
  559. package/es/components/stepController/components/Header/index.d.ts +20 -0
  560. package/es/components/stepController/components/Header/index.js +97 -0
  561. package/es/components/stepController/components/Header/index.less +21 -0
  562. package/es/components/stepController/index.d.ts +5 -0
  563. package/es/components/stepController/index.js +64 -0
  564. package/es/components/stepController/index.less +11 -0
  565. package/es/components/stepController/locales.d.ts +27 -0
  566. package/es/components/stepController/locales.js +32 -0
  567. package/es/components/stepController/types.d.ts +23 -0
  568. package/es/components/stepController/types.js +1 -0
  569. package/es/components/subTotal/index.d.ts +22 -0
  570. package/es/components/subTotal/index.js +234 -0
  571. package/es/components/subTotal/index.less +70 -0
  572. package/es/components/subTotal/locales.d.ts +42 -0
  573. package/es/components/subTotal/locales.js +41 -0
  574. package/es/components/taxSelect/index.d.ts +0 -1
  575. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
  576. package/es/components/ticketBooking/components/addServiceVariant/addService.js +518 -0
  577. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +6 -0
  578. package/es/components/ticketBooking/components/addServiceVariant/index.js +28 -0
  579. package/es/components/ticketBooking/components/addServiceVariant/index.less +10 -0
  580. package/es/components/ticketBooking/components/menuBar/index.d.ts +3 -0
  581. package/es/components/ticketBooking/components/menuBar/index.js +54 -0
  582. package/es/components/ticketBooking/components/menuBar/index.less +83 -0
  583. package/es/components/ticketBooking/components/notAvailable/index.d.ts +3 -0
  584. package/es/components/ticketBooking/components/notAvailable/index.js +39 -0
  585. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
  586. package/es/components/ticketBooking/components/ticketBooking/index.js +954 -0
  587. package/es/components/ticketBooking/components/ticketBooking/index.less +16 -0
  588. package/es/components/ticketBooking/components/timeBar/index.d.ts +12 -0
  589. package/es/components/ticketBooking/components/timeBar/index.js +115 -0
  590. package/es/components/ticketBooking/components/timeBar/index.less +22 -0
  591. package/es/components/ticketBooking/data.d.ts +58 -0
  592. package/es/components/ticketBooking/data.js +82 -0
  593. package/es/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
  594. package/es/components/ticketBooking/hooks/useNetworkStatus.js +52 -0
  595. package/es/components/ticketBooking/index.d.ts +7 -0
  596. package/es/components/ticketBooking/index.js +157 -0
  597. package/es/components/ticketBooking/index.less +4 -0
  598. package/es/components/ticketBooking/locales.d.ts +171 -0
  599. package/es/components/ticketBooking/locales.js +206 -0
  600. package/es/components/ticketBooking/miniRedux.d.ts +22 -0
  601. package/es/components/ticketBooking/miniRedux.js +105 -0
  602. package/es/components/ticketBooking/serve.d.ts +287 -0
  603. package/es/components/ticketBooking/serve.js +990 -0
  604. package/es/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
  605. package/es/components/ticketBooking/utils/formatProductMessage.js +62 -0
  606. package/es/components/ticketBooking/utils/formatTime.d.ts +31 -0
  607. package/es/components/ticketBooking/utils/formatTime.js +144 -0
  608. package/es/components/ticketBooking/utils/index.d.ts +23 -0
  609. package/es/components/ticketBooking/utils/index.js +220 -0
  610. package/es/components/wallet/Detail/index.js +21 -15
  611. package/es/components/wallet/DiscountCard/index.less +0 -1
  612. package/es/components/wallet/PointCard/index.less +0 -1
  613. package/es/components/wallet/RechargeableCard/index.less +5 -9
  614. package/es/components/wallet/Voucher/index.js +1 -0
  615. package/es/components/wallet/Voucher/index.less +0 -1
  616. package/es/components/wallet/components/WalletCard.js +2 -2
  617. package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
  618. package/es/components/wallet/index.js +66 -6
  619. package/es/components/wallet/index.less +0 -4
  620. package/es/components/wallet/locales.d.ts +3 -0
  621. package/es/components/wallet/locales.js +3 -0
  622. package/es/components/wallet/model.d.ts +1 -1
  623. package/es/components/wallet/utils/formatUtils.js +1 -1
  624. package/es/components/walletList/index.js +60 -8
  625. package/es/components/walletList/index.less +17 -15
  626. package/es/components/walletList/locales.d.ts +18 -0
  627. package/es/components/walletList/locales.js +17 -0
  628. package/es/components/walletList/serve.d.ts +8 -0
  629. package/es/components/walletList/serve.js +38 -0
  630. package/es/components/walletList/status.d.ts +38 -0
  631. package/es/components/walletList/status.js +47 -0
  632. package/es/components/workSpaceList/components/AppearanceEdit/IconPanel.js +1 -1
  633. package/es/components/workSpaceList/components/AppearanceEdit/constants.js +1 -11
  634. package/es/components/workSpaceList/components/Card/constants.js +1 -2
  635. package/es/components/workSpaceList/components/EditableString/index.js +1 -1
  636. package/es/components/workSpaceList/components/SearchBar/index.js +1 -4
  637. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.js +1 -1
  638. package/es/components/workSpaceList/components/Sort/index.js +1 -1
  639. package/es/components/workSpaceList/components/WorkspaceItem/index.js +1 -1
  640. package/es/hooks/useComponents.js +1 -1
  641. package/es/hooks/useEngineContext.d.ts +1 -0
  642. package/es/hooks/useEngineContext.js +7 -0
  643. package/es/hooks/useLocale.d.ts +2 -0
  644. package/es/hooks/useLocale.js +7 -0
  645. package/es/hooks/useLoginUser.d.ts +2 -0
  646. package/es/hooks/useLoginUser.js +19 -0
  647. package/es/hooks/useWindowSize.d.ts +5 -0
  648. package/es/hooks/useWindowSize.js +26 -0
  649. package/es/index.d.ts +6 -0
  650. package/es/index.js +7 -1
  651. package/es/utils/date.d.ts +11 -0
  652. package/es/utils/date.js +49 -0
  653. package/es/utils/index.d.ts +1 -1
  654. package/es/utils/tasks/index.d.ts +16 -0
  655. package/es/utils/tasks/index.js +114 -0
  656. package/es/utils/tasks/type.d.ts +4 -0
  657. package/es/utils/tasks/type.js +1 -0
  658. package/lib/businessModel/SalesModel/Sales/index.js +22 -8
  659. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  660. package/lib/components/Sales/Cart/index.js +39 -22
  661. package/lib/components/Sales/Cart/types.d.ts +12 -0
  662. package/lib/components/Sales/Cart/utils.d.ts +63 -0
  663. package/lib/components/Sales/Cart/utils.js +269 -0
  664. package/lib/components/Sales/Checkout/index.d.ts +4 -0
  665. package/lib/components/Sales/Checkout/index.js +39 -7
  666. package/lib/components/Sales/Checkout/serve.d.ts +13 -0
  667. package/lib/components/Sales/Checkout/serve.js +7 -2
  668. package/lib/components/Sales/Checkout/utils.d.ts +14 -1
  669. package/lib/components/Sales/Checkout/utils.js +23 -5
  670. package/lib/components/Sales/Customer/index.d.ts +1 -0
  671. package/lib/components/Sales/Customer/index.js +4 -1
  672. package/lib/components/Sales/Event/Detail.d.ts +2 -0
  673. package/lib/components/Sales/Event/Detail.js +38 -10
  674. package/lib/components/Sales/Event/index.js +1 -5
  675. package/lib/components/Sales/Event/serve.d.ts +13 -0
  676. package/lib/components/Sales/Event/serve.js +5 -2
  677. package/lib/components/Sales/Init/index.d.ts +1 -0
  678. package/lib/components/Sales/Init/index.js +3 -2
  679. package/lib/components/Sales/Resource/index.js +1 -1
  680. package/lib/components/Sales/Resource/serve.d.ts +7 -0
  681. package/lib/components/Sales/Resource/serve.js +9 -2
  682. package/lib/components/Sales/Step/index.d.ts +2 -0
  683. package/lib/components/Sales/Step/index.js +13 -4
  684. package/lib/components/Sales/Summary/index.d.ts +10 -0
  685. package/lib/components/Sales/Summary/index.js +7 -1
  686. package/lib/components/Sales/Summary/serve.d.ts +1 -0
  687. package/lib/components/Sales/Summary/serve.js +32 -0
  688. package/lib/components/Sales/Summary/utils.d.ts +16 -1
  689. package/lib/components/Sales/Summary/utils.js +31 -1
  690. package/lib/components/appointmentBooking/assets/alert-circle.png +0 -0
  691. package/lib/components/appointmentBooking/assets/calendar-heart.svg +5 -0
  692. package/lib/components/appointmentBooking/assets/compass.svg +13 -0
  693. package/lib/components/appointmentBooking/assets/guests.svg +1 -0
  694. package/lib/components/appointmentBooking/assets/image.svg +5 -0
  695. package/lib/components/appointmentBooking/assets/phone.svg +5 -0
  696. package/lib/components/appointmentBooking/assets/resource.svg +1 -0
  697. package/lib/components/appointmentBooking/assets/shopping-cart.svg +10 -0
  698. package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +7 -0
  699. package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.js +113 -0
  700. package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.less +0 -0
  701. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +3 -0
  702. package/lib/components/appointmentBooking/components/Cart/Item/Total.js +79 -0
  703. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
  704. package/lib/components/appointmentBooking/components/Cart/Item/index.js +213 -0
  705. package/lib/components/appointmentBooking/components/Cart/Item/index.less +108 -0
  706. package/lib/components/appointmentBooking/components/Cart/index.d.ts +3 -0
  707. package/lib/components/appointmentBooking/components/Cart/index.js +60 -0
  708. package/lib/components/appointmentBooking/components/Cart/index.less +2 -0
  709. package/lib/components/appointmentBooking/components/Cart/utils.d.ts +56 -0
  710. package/lib/components/appointmentBooking/components/Cart/utils.js +125 -0
  711. package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
  712. package/lib/components/appointmentBooking/components/ConfirmInformation/index.js +155 -0
  713. package/lib/components/appointmentBooking/components/ConfirmInformation/index.less +35 -0
  714. package/lib/components/appointmentBooking/components/ConfirmInformation/utils.d.ts +12 -0
  715. package/lib/components/appointmentBooking/components/ConfirmInformation/utils.js +37 -0
  716. package/lib/components/appointmentBooking/components/Content/index.d.ts +3 -0
  717. package/lib/components/appointmentBooking/components/Content/index.js +226 -0
  718. package/lib/components/appointmentBooking/components/Content/index.less +113 -0
  719. package/lib/components/appointmentBooking/components/Date/index.d.ts +4 -0
  720. package/lib/components/appointmentBooking/components/Date/index.js +247 -0
  721. package/lib/components/appointmentBooking/components/Date/index.less +142 -0
  722. package/lib/components/appointmentBooking/components/Date/state.d.ts +63 -0
  723. package/lib/components/appointmentBooking/components/Date/state.js +202 -0
  724. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +9 -0
  725. package/lib/components/appointmentBooking/components/Deposit/index.js +93 -0
  726. package/lib/components/appointmentBooking/components/Deposit/index.less +17 -0
  727. package/lib/components/appointmentBooking/components/Footer/index.d.ts +3 -0
  728. package/lib/components/appointmentBooking/components/Footer/index.js +78 -0
  729. package/lib/components/appointmentBooking/components/Footer/index.less +64 -0
  730. package/lib/components/appointmentBooking/components/Form/index.d.ts +4 -0
  731. package/lib/components/appointmentBooking/components/Form/index.js +132 -0
  732. package/lib/components/appointmentBooking/components/Form/index.less +3 -0
  733. package/lib/components/appointmentBooking/components/Form/utils.d.ts +8 -0
  734. package/lib/components/appointmentBooking/components/Form/utils.js +46 -0
  735. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +3 -0
  736. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.js +74 -0
  737. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.less +28 -0
  738. package/lib/components/appointmentBooking/components/Guest/index.d.ts +4 -0
  739. package/lib/components/appointmentBooking/components/Guest/index.js +166 -0
  740. package/lib/components/appointmentBooking/components/Guest/index.less +92 -0
  741. package/lib/components/appointmentBooking/components/Header/index.d.ts +3 -0
  742. package/lib/components/appointmentBooking/components/Header/index.js +152 -0
  743. package/lib/components/appointmentBooking/components/Header/index.less +0 -0
  744. package/lib/components/appointmentBooking/components/Resource/index.d.ts +7 -0
  745. package/lib/components/appointmentBooking/components/Resource/index.js +226 -0
  746. package/lib/components/appointmentBooking/components/Resource/index.less +10 -0
  747. package/lib/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
  748. package/lib/components/appointmentBooking/components/Resource/utils.js +36 -0
  749. package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
  750. package/lib/components/appointmentBooking/components/Services/index.js +193 -0
  751. package/lib/components/appointmentBooking/components/Services/index.less +3 -0
  752. package/lib/components/appointmentBooking/components/TimeSlicing/index.d.ts +4 -0
  753. package/lib/components/appointmentBooking/components/TimeSlicing/index.js +102 -0
  754. package/lib/components/appointmentBooking/components/TimeSlicing/index.less +33 -0
  755. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +4 -0
  756. package/lib/components/appointmentBooking/components/Voucher/index.js +241 -0
  757. package/lib/components/appointmentBooking/components/Voucher/index.less +116 -0
  758. package/lib/components/appointmentBooking/context.d.ts +35 -0
  759. package/lib/components/appointmentBooking/context.js +192 -0
  760. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  761. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.js +135 -0
  762. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.less +18 -0
  763. package/lib/components/appointmentBooking/deposit/index.d.ts +3 -0
  764. package/lib/components/appointmentBooking/deposit/index.js +111 -0
  765. package/lib/components/appointmentBooking/deposit/index.less +57 -0
  766. package/lib/components/appointmentBooking/hooks.d.ts +106 -0
  767. package/lib/components/appointmentBooking/hooks.js +559 -0
  768. package/lib/components/appointmentBooking/index.d.ts +3 -0
  769. package/lib/components/appointmentBooking/index.js +80 -0
  770. package/lib/components/appointmentBooking/index.less +23 -0
  771. package/lib/components/appointmentBooking/locales.d.ts +360 -0
  772. package/lib/components/appointmentBooking/locales.js +383 -0
  773. package/lib/components/appointmentBooking/mock.d.ts +627 -0
  774. package/lib/components/appointmentBooking/mock.js +1352 -0
  775. package/lib/components/appointmentBooking/status.d.ts +21 -0
  776. package/lib/components/appointmentBooking/status.js +70 -0
  777. package/lib/components/appointmentBooking/type.d.ts +17 -0
  778. package/lib/components/appointmentBooking/type.js +17 -0
  779. package/lib/components/appointmentBooking/utils.d.ts +203 -0
  780. package/lib/components/appointmentBooking/utils.js +519 -0
  781. package/lib/components/booking/addons/index.js +53 -31
  782. package/lib/components/booking/addons/model.js +3 -0
  783. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  784. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  785. package/lib/components/booking/components/TabProduct/productItem/index.js +8 -1
  786. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  787. package/lib/components/booking/components/TabProduct/selectProductItem/index.js +5 -1
  788. package/lib/components/booking/components/TabProduct/selectProductItem/index.less +6 -0
  789. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  790. package/lib/components/booking/components/customSelect/index.js +2 -0
  791. package/lib/components/booking/components/drawer/index.js +2 -2
  792. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  793. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  794. package/lib/components/booking/components/footer/amount.d.ts +1 -0
  795. package/lib/components/booking/components/footer/amount.js +5 -2
  796. package/lib/components/booking/components/footer/index.d.ts +0 -1
  797. package/lib/components/booking/components/footer/index.js +187 -69
  798. package/lib/components/booking/components/footer/index.less +6 -1
  799. package/lib/components/booking/components/footer/utils.d.ts +22 -0
  800. package/lib/components/booking/components/footer/utils.js +148 -36
  801. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  802. package/lib/components/booking/components/reloadResourceModal/index.d.ts +8 -0
  803. package/lib/components/booking/components/reloadResourceModal/index.js +74 -0
  804. package/lib/components/booking/components/reloadResourceModal/index.less +6 -0
  805. package/lib/components/booking/components/voucher/index.d.ts +3 -0
  806. package/lib/components/booking/components/voucher/index.js +305 -0
  807. package/lib/components/booking/components/voucher/index.less +87 -0
  808. package/lib/components/booking/components/voucher/utils.d.ts +4 -0
  809. package/lib/components/booking/components/voucher/utils.js +43 -0
  810. package/lib/components/booking/deposit/DepositItem/index.js +1 -0
  811. package/lib/components/booking/deposit/index.d.ts +0 -1
  812. package/lib/components/booking/deposit/index.js +5 -3
  813. package/lib/components/booking/editBookingModal/index.d.ts +5 -0
  814. package/lib/components/booking/editBookingModal/index.js +363 -0
  815. package/lib/components/booking/editBookingModal/index.less +8 -0
  816. package/lib/components/booking/editBookingModal/locales.d.ts +21 -0
  817. package/lib/components/booking/editBookingModal/locales.js +44 -0
  818. package/lib/components/booking/editBookingModal/mock.d.ts +807 -0
  819. package/lib/components/booking/editBookingModal/mock.js +3314 -0
  820. package/lib/components/booking/editBookingModal/serve.d.ts +51 -0
  821. package/lib/components/booking/editBookingModal/serve.js +178 -0
  822. package/lib/components/booking/editBookingModal/type.d.ts +12 -0
  823. package/lib/components/booking/editBookingModal/type.js +17 -0
  824. package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
  825. package/lib/components/booking/editBookingModal/utils.js +158 -0
  826. package/lib/components/booking/forms/footer.d.ts +6 -0
  827. package/lib/components/booking/forms/footer.js +81 -0
  828. package/lib/components/booking/forms/forms.d.ts +4 -0
  829. package/lib/components/booking/forms/forms.js +13 -3
  830. package/lib/components/booking/forms/index.d.ts +1 -1
  831. package/lib/components/booking/forms/index.js +4 -2
  832. package/lib/components/booking/forms/index.less +7 -0
  833. package/lib/components/booking/forms/sendModal/index.d.ts +27 -0
  834. package/lib/components/booking/forms/sendModal/index.js +128 -0
  835. package/lib/components/booking/forms/sendModal/index.less +9 -0
  836. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +9 -0
  837. package/lib/components/booking/forms/sendModal/useSendModal.js +70 -0
  838. package/lib/components/booking/forms/serve.d.ts +9 -0
  839. package/lib/components/booking/forms/serve.js +5 -2
  840. package/lib/components/booking/forms/single/index.d.ts +1 -2
  841. package/lib/components/booking/forms/single/index.js +35 -1
  842. package/lib/components/booking/forms/table/index.d.ts +0 -1
  843. package/lib/components/booking/hooks/useCreateBookingPageHeader.js +3 -0
  844. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  845. package/lib/components/booking/hooks/useIsBooking4Shop.js +51 -0
  846. package/lib/components/booking/hooks/useQuotation.d.ts +5 -0
  847. package/lib/components/booking/hooks/useQuotation.js +214 -0
  848. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
  849. package/lib/components/booking/info/client/index.js +34 -8
  850. package/lib/components/booking/info/client/index.less +39 -0
  851. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  852. package/lib/components/booking/info/clientVariant/hooks/useClientFn.js +8 -1
  853. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  854. package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
  855. package/lib/components/booking/info/clientVariant/utils.js +34 -0
  856. package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.js +11 -3
  857. package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.less +17 -0
  858. package/lib/components/booking/info/clientVariant/vertical/index.js +32 -7
  859. package/lib/components/booking/info/clientVariant/vertical/index.less +18 -0
  860. package/lib/components/booking/info/date/index.d.ts +0 -1
  861. package/lib/components/booking/info/header/index.d.ts +0 -1
  862. package/lib/components/booking/info/hooks/useAddHolder.d.ts +9 -0
  863. package/lib/components/booking/info/hooks/useAddHolder.js +145 -0
  864. package/lib/components/booking/info/hooks/useGetHolderList.d.ts +2 -0
  865. package/lib/components/booking/info/hooks/useGetHolderList.js +61 -0
  866. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  867. package/lib/components/booking/info/hooks/useHolderConfig.js +59 -0
  868. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +9 -0
  869. package/lib/components/booking/info/hooks/useInfoHolder.js +92 -0
  870. package/lib/components/booking/info/index.d.ts +0 -1
  871. package/lib/components/booking/info/index.js +10 -4
  872. package/lib/components/booking/info/main.js +1 -1
  873. package/lib/components/booking/info/model.js +3 -0
  874. package/lib/components/booking/info/notes/index.d.ts +0 -1
  875. package/lib/components/booking/info/pet/index.js +66 -12
  876. package/lib/components/booking/info/pet/serve.d.ts +1 -0
  877. package/lib/components/booking/info/pet/serve.js +33 -0
  878. package/lib/components/booking/info/service/Lists.d.ts +2 -0
  879. package/lib/components/booking/info/service/Lists.js +120 -0
  880. package/lib/components/booking/info/service/actions/index.d.ts +0 -1
  881. package/lib/components/booking/info/service/addService/index.js +26 -23
  882. package/lib/components/booking/info/service/editService/index.d.ts +1 -1
  883. package/lib/components/booking/info/service/editService/index.js +71 -26
  884. package/lib/components/booking/info/service/index.js +5 -3
  885. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  886. package/lib/components/booking/info/service/serve.d.ts +9 -0
  887. package/lib/components/booking/info/service/serve.js +3 -0
  888. package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
  889. package/lib/components/booking/info/service/serviceList/index.js +1 -0
  890. package/lib/components/booking/info/service/serviceManager/index.js +9 -4
  891. package/lib/components/booking/info/service2/Group/utils.js +4 -3
  892. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  893. package/lib/components/booking/info/service2/hooks/useSelectPet.js +13 -6
  894. package/lib/components/booking/info/service2/index.js +5 -3
  895. package/lib/components/booking/info/service2/utils.d.ts +13 -6
  896. package/lib/components/booking/info/service2/utils.js +356 -43
  897. package/lib/components/booking/info/utils.d.ts +6 -0
  898. package/lib/components/booking/info/utils.js +97 -1
  899. package/lib/components/booking/info2/index.js +61 -19
  900. package/lib/components/booking/info2/serve.d.ts +2 -2
  901. package/lib/components/booking/info2/serve.js +3 -10
  902. package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
  903. package/lib/components/booking/info2/service/addService/index.d.ts +0 -1
  904. package/lib/components/booking/info2/service/addService/index.js +81 -37
  905. package/lib/components/booking/info2/service/addService/utils.d.ts +30 -3
  906. package/lib/components/booking/info2/service/addService/utils.js +138 -30
  907. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
  908. package/lib/components/booking/info2/service/addTimeModal/index.js +27 -12
  909. package/lib/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.js +1 -2
  910. package/lib/components/booking/info2/service/editService/Resources/index.js +70 -9
  911. package/lib/components/booking/info2/service/editService/Resources/index.less +6 -0
  912. package/lib/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +7 -0
  913. package/lib/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.js +53 -0
  914. package/lib/components/booking/info2/service/editService/ResourcesV2/index.d.ts +10 -0
  915. package/lib/components/booking/info2/service/editService/ResourcesV2/index.js +311 -0
  916. package/lib/components/booking/info2/service/editService/ResourcesV2/index.less +44 -0
  917. package/lib/components/booking/info2/service/editService/index.js +133 -35
  918. package/lib/components/booking/info2/service/editService/utils.d.ts +4 -2
  919. package/lib/components/booking/info2/service/editService/utils.js +48 -0
  920. package/lib/components/booking/info2/service/index.js +20 -28
  921. package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
  922. package/lib/components/booking/info2/utils.d.ts +4 -0
  923. package/lib/components/booking/info2/utils.js +51 -0
  924. package/lib/components/booking/info2/utilsByBooking.d.ts +2 -1
  925. package/lib/components/booking/info2/utilsByBooking.js +36 -15
  926. package/lib/components/booking/locales.d.ts +99 -0
  927. package/lib/components/booking/locales.js +120 -3
  928. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  929. package/lib/components/booking/materiels/duration/index.d.ts +0 -1
  930. package/lib/components/booking/materiels/holder/index.d.ts +0 -1
  931. package/lib/components/booking/materiels/holder/index.js +2 -2
  932. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  933. package/lib/components/booking/model.d.ts +1 -0
  934. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  935. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  936. package/lib/components/booking/notes/addNote/index.d.ts +0 -1
  937. package/lib/components/booking/notes/addNote/index.js +1 -1
  938. package/lib/components/booking/notes/addNote/index.less +3 -0
  939. package/lib/components/booking/payments/index.js +2 -2
  940. package/lib/components/booking/utils.d.ts +5 -2
  941. package/lib/components/booking/utils.js +58 -13
  942. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  943. package/lib/components/eftpos/form/index.d.ts +0 -1
  944. package/lib/components/eftpos/group/index.d.ts +0 -1
  945. package/lib/components/eftpos/hooks.d.ts +0 -1
  946. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  947. package/lib/components/eftpos/icon/device.d.ts +0 -1
  948. package/lib/components/eftpos/index.d.ts +0 -1
  949. package/lib/components/eftpos/pos.d.ts +0 -1
  950. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  951. package/lib/components/eftpos/surcharge/index.d.ts +0 -1
  952. package/lib/components/eftposPay/amount.d.ts +1 -2
  953. package/lib/components/eftposPay/app.d.ts +0 -1
  954. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  955. package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
  956. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  957. package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
  958. package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
  959. package/lib/components/eftposPay/component/step/index.d.ts +0 -1
  960. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  961. package/lib/components/eftposPay/const.d.ts +4 -1
  962. package/lib/components/eftposPay/const.js +2 -0
  963. package/lib/components/eftposPay/device.d.ts +1 -2
  964. package/lib/components/eftposPay/hooks.d.ts +1 -1
  965. package/lib/components/eftposPay/hooks.js +11 -4
  966. package/lib/components/eftposPay/index.js +1 -1
  967. package/lib/components/eftposPay/linkly/const.d.ts +23 -0
  968. package/lib/components/eftposPay/linkly/const.js +102 -0
  969. package/lib/components/eftposPay/linkly/hooks/index.d.ts +2 -0
  970. package/lib/components/eftposPay/linkly/hooks/index.js +25 -0
  971. package/lib/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
  972. package/lib/components/eftposPay/linkly/hooks/normal.js +242 -0
  973. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  974. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.js +222 -0
  975. package/lib/components/eftposPay/linkly/index.d.ts +2 -0
  976. package/lib/components/eftposPay/linkly/index.js +208 -0
  977. package/lib/components/eftposPay/linkly/service.d.ts +32 -0
  978. package/lib/components/eftposPay/linkly/service.js +55 -0
  979. package/lib/components/eftposPay/manufacturer.d.ts +1 -0
  980. package/lib/components/eftposPay/manufacturer.js +6 -0
  981. package/lib/components/eftposPay/pay.d.ts +1 -1
  982. package/lib/components/eftposPay/pay.js +13 -2
  983. package/lib/components/eftposPay/payo/config.js +34 -3
  984. package/lib/components/eftposPay/payo/hooks.js +10 -0
  985. package/lib/components/eftposPay/store/index.d.ts +2 -2
  986. package/lib/components/eftposPay/tip.d.ts +0 -1
  987. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  988. package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  989. package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
  990. package/lib/components/eftposPay/windcave/windcave.js +11 -0
  991. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +174 -16
  992. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -0
  993. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.js +55 -0
  994. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.js +8 -5
  995. package/lib/components/eventBooking/components/Provider/Cart/Item/index.js +4 -2
  996. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  997. package/lib/components/eventBooking/components/Provider/Event/index.js +25 -6
  998. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  999. package/lib/components/eventBooking/components/Provider/Resource/index.js +16 -3
  1000. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  1001. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  1002. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -1
  1003. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  1004. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  1005. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -1
  1006. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  1007. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +2 -2
  1008. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +7 -7
  1009. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +3 -1
  1010. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.js +25 -10
  1011. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  1012. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  1013. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.js +4 -2
  1014. package/lib/components/eventBooking/components/bookingDetailModal/index.js +88 -27
  1015. package/lib/components/eventBooking/components/progressBar/index.js +16 -1
  1016. package/lib/components/eventBooking/components/resourceDisplay/index.js +2 -2
  1017. package/lib/components/eventBooking/components/resourceDisplay/index.less +1 -0
  1018. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  1019. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  1020. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.js +6 -5
  1021. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +3 -0
  1022. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.js +75 -0
  1023. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.less +63 -0
  1024. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimes/index.d.ts +9 -0
  1025. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimes/index.js +64 -0
  1026. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimes/index.less +7 -0
  1027. package/lib/components/eventBooking/components/scheduleCalendar/index.d.ts +1 -0
  1028. package/lib/components/eventBooking/components/scheduleCalendar/index.js +17 -11
  1029. package/lib/components/eventBooking/components/scheduleCalendar/index.less +2 -0
  1030. package/lib/components/eventBooking/components/timeResourceSelector/index.less +0 -1
  1031. package/lib/components/eventBooking/index.d.ts +0 -1
  1032. package/lib/components/eventBooking/index.js +13 -9
  1033. package/lib/components/eventBooking/locales.d.ts +30 -0
  1034. package/lib/components/eventBooking/locales.js +47 -17
  1035. package/lib/components/eventBooking/utils.js +5 -3
  1036. package/lib/components/index.d.ts +4 -1
  1037. package/lib/components/index.js +9 -0
  1038. package/lib/components/login/index.d.ts +0 -1
  1039. package/lib/components/pay/toC/PaymentList/index.js +11 -6
  1040. package/lib/components/pay/toC/PaymentList/serve.d.ts +1 -1
  1041. package/lib/components/pay/toC/PaymentList/serve.js +6 -3
  1042. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  1043. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  1044. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  1045. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  1046. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  1047. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  1048. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  1049. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.js +10 -1
  1050. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.js +10 -1
  1051. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +3 -0
  1052. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.js +2 -2
  1053. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +5 -0
  1054. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +52 -11
  1055. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.less +30 -0
  1056. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +2 -0
  1057. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +2 -1
  1058. package/lib/components/pay/toC/PaymentMethods/index.js +30 -6
  1059. package/lib/components/pay/toC/WalletPassBlock/components/WalletAvailable/index.d.ts +16 -0
  1060. package/lib/components/pay/toC/WalletPassBlock/components/WalletAvailable/index.js +87 -0
  1061. package/lib/components/pay/toC/WalletPassBlock/components/WalletAvailable/index.less +38 -0
  1062. package/lib/components/pay/toC/WalletPassBlock/components/WalletBestValueFound/index.d.ts +17 -0
  1063. package/lib/components/pay/toC/WalletPassBlock/components/WalletBestValueFound/index.js +103 -0
  1064. package/lib/components/pay/toC/WalletPassBlock/components/WalletBestValueFound/index.less +133 -0
  1065. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +7 -0
  1066. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.js +52 -0
  1067. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.less +23 -0
  1068. package/lib/components/pay/toC/WalletPassBlock/index.d.ts +9 -2
  1069. package/lib/components/pay/toC/WalletPassBlock/index.js +115 -20
  1070. package/lib/components/pay/toC/WalletPassBlock/index.less +86 -13
  1071. package/lib/components/pay/toC/index.js +55 -22
  1072. package/lib/components/pay/toC/locales.d.ts +69 -3
  1073. package/lib/components/pay/toC/locales.js +72 -6
  1074. package/lib/components/pay/toC/model.d.ts +4 -0
  1075. package/lib/components/pay/toC/model.js +10 -0
  1076. package/lib/components/pay/toC/serve.d.ts +23 -0
  1077. package/lib/components/pay/toC/serve.js +13 -7
  1078. package/lib/components/pay/toC/utils.d.ts +9 -1
  1079. package/lib/components/pay/toC/utils.js +23 -3
  1080. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  1081. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  1082. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  1083. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.js +4 -1
  1084. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  1085. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  1086. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  1087. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  1088. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -2
  1089. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.js +8 -1
  1090. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  1091. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  1092. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  1093. package/lib/components/productExtension/index.d.ts +0 -1
  1094. package/lib/components/productSelect/components/TabProduct/index.d.ts +2 -0
  1095. package/lib/components/productSelect/components/TabProduct/index.js +189 -0
  1096. package/lib/components/productSelect/components/TabProduct/tabs/index.d.ts +21 -0
  1097. package/lib/components/productSelect/components/TabProduct/tabs/index.js +202 -0
  1098. package/lib/components/productSelect/components/TabProduct/tabs/index.less +126 -0
  1099. package/lib/components/productSelect/components/gridLayout/index.d.ts +9 -0
  1100. package/lib/components/productSelect/components/gridLayout/index.js +58 -0
  1101. package/lib/components/productSelect/components/gridLayout/index.less +6 -0
  1102. package/lib/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
  1103. package/lib/components/productSelect/components/pisellPriceText/index.js +72 -0
  1104. package/lib/components/productSelect/components/productGroup/index.d.ts +38 -0
  1105. package/lib/components/productSelect/components/productGroup/index.js +144 -0
  1106. package/lib/components/productSelect/components/productGroup/index.less +227 -0
  1107. package/lib/components/productSelect/hooks/useToken.d.ts +18 -0
  1108. package/lib/components/productSelect/hooks/useToken.js +51 -0
  1109. package/lib/components/productSelect/index.d.ts +24 -0
  1110. package/lib/components/productSelect/index.js +133 -0
  1111. package/lib/components/productSelect/index.less +75 -0
  1112. package/lib/components/productSelect/locales.d.ts +18 -0
  1113. package/lib/components/productSelect/locales.js +41 -0
  1114. package/lib/components/productSelect/mock.d.ts +134 -0
  1115. package/lib/components/productSelect/mock.js +276 -0
  1116. package/lib/components/productSelect/theme/token.d.ts +17 -0
  1117. package/lib/components/productSelect/theme/token.js +47 -0
  1118. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  1119. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  1120. package/lib/components/schedules/calendar/index.d.ts +0 -1
  1121. package/lib/components/schedules/calendar/index.less +158 -152
  1122. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  1123. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  1124. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  1125. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  1126. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  1127. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  1128. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  1129. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  1130. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  1131. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  1132. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  1133. package/lib/components/schedules/products/index.d.ts +0 -1
  1134. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  1135. package/lib/components/schedules/products/list/index.d.ts +0 -1
  1136. package/lib/components/schedules/resources/index.d.ts +0 -1
  1137. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  1138. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  1139. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  1140. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  1141. package/lib/components/schedules/schedules/index.d.ts +0 -1
  1142. package/lib/components/schedules/schedules/utils.js +1 -1
  1143. package/lib/components/schedules/utils.d.ts +1 -1
  1144. package/lib/components/schedules/utils.js +1 -1
  1145. package/lib/components/shoppingCart/Provider.d.ts +1 -1
  1146. package/lib/components/shoppingCart/Provider.js +3 -2
  1147. package/lib/components/shoppingCart/components/Cart/Product.js +35 -3
  1148. package/lib/components/shoppingCart/components/Cart/index.less +15 -15
  1149. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  1150. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  1151. package/lib/components/shoppingCart/components/Render/index.js +0 -1
  1152. package/lib/components/shoppingCart/components/Render/index.less +15 -0
  1153. package/lib/components/shoppingCart/hooks/useAddService.js +1 -2
  1154. package/lib/components/shoppingCart/hooks/useClearCart.js +3 -3
  1155. package/lib/components/shoppingCart/index.d.ts +1 -2
  1156. package/lib/components/shoppingCart/index.js +2 -0
  1157. package/lib/components/shoppingCart/status.js +5 -1
  1158. package/lib/components/shoppingCart/type.d.ts +8 -0
  1159. package/lib/components/stepController/components/Content/index.d.ts +7 -0
  1160. package/lib/components/stepController/components/Content/index.js +40 -0
  1161. package/lib/components/stepController/components/Content/index.less +8 -0
  1162. package/lib/components/stepController/components/Footer/index.d.ts +8 -0
  1163. package/lib/components/stepController/components/Footer/index.js +49 -0
  1164. package/lib/components/stepController/components/Footer/index.less +39 -0
  1165. package/lib/components/stepController/components/Header/index.d.ts +20 -0
  1166. package/lib/components/stepController/components/Header/index.js +104 -0
  1167. package/lib/components/stepController/components/Header/index.less +21 -0
  1168. package/lib/components/stepController/index.d.ts +5 -0
  1169. package/lib/components/stepController/index.js +89 -0
  1170. package/lib/components/stepController/index.less +11 -0
  1171. package/lib/components/stepController/locales.d.ts +27 -0
  1172. package/lib/components/stepController/locales.js +50 -0
  1173. package/lib/components/stepController/types.d.ts +23 -0
  1174. package/lib/components/stepController/types.js +17 -0
  1175. package/lib/components/subTotal/index.d.ts +22 -0
  1176. package/lib/components/subTotal/index.js +175 -0
  1177. package/lib/components/subTotal/index.less +70 -0
  1178. package/lib/components/subTotal/locales.d.ts +42 -0
  1179. package/lib/components/subTotal/locales.js +65 -0
  1180. package/lib/components/taxSelect/index.d.ts +0 -1
  1181. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
  1182. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +443 -0
  1183. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +6 -0
  1184. package/lib/components/ticketBooking/components/addServiceVariant/index.js +56 -0
  1185. package/lib/components/ticketBooking/components/addServiceVariant/index.less +10 -0
  1186. package/lib/components/ticketBooking/components/menuBar/index.d.ts +3 -0
  1187. package/lib/components/ticketBooking/components/menuBar/index.js +87 -0
  1188. package/lib/components/ticketBooking/components/menuBar/index.less +83 -0
  1189. package/lib/components/ticketBooking/components/notAvailable/index.d.ts +3 -0
  1190. package/lib/components/ticketBooking/components/notAvailable/index.js +61 -0
  1191. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
  1192. package/lib/components/ticketBooking/components/ticketBooking/index.js +914 -0
  1193. package/lib/components/ticketBooking/components/ticketBooking/index.less +16 -0
  1194. package/lib/components/ticketBooking/components/timeBar/index.d.ts +12 -0
  1195. package/lib/components/ticketBooking/components/timeBar/index.js +149 -0
  1196. package/lib/components/ticketBooking/components/timeBar/index.less +22 -0
  1197. package/lib/components/ticketBooking/data.d.ts +58 -0
  1198. package/lib/components/ticketBooking/data.js +0 -0
  1199. package/lib/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
  1200. package/lib/components/ticketBooking/hooks/useNetworkStatus.js +80 -0
  1201. package/lib/components/ticketBooking/index.d.ts +7 -0
  1202. package/lib/components/ticketBooking/index.js +195 -0
  1203. package/lib/components/ticketBooking/index.less +4 -0
  1204. package/lib/components/ticketBooking/locales.d.ts +171 -0
  1205. package/lib/components/ticketBooking/locales.js +194 -0
  1206. package/lib/components/ticketBooking/miniRedux.d.ts +22 -0
  1207. package/lib/components/ticketBooking/miniRedux.js +96 -0
  1208. package/lib/components/ticketBooking/serve.d.ts +287 -0
  1209. package/lib/components/ticketBooking/serve.js +224 -0
  1210. package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
  1211. package/lib/components/ticketBooking/utils/formatProductMessage.js +84 -0
  1212. package/lib/components/ticketBooking/utils/formatTime.d.ts +31 -0
  1213. package/lib/components/ticketBooking/utils/formatTime.js +139 -0
  1214. package/lib/components/ticketBooking/utils/index.d.ts +23 -0
  1215. package/lib/components/ticketBooking/utils/index.js +240 -0
  1216. package/lib/components/wallet/Detail/index.js +7 -2
  1217. package/lib/components/wallet/DiscountCard/index.less +0 -1
  1218. package/lib/components/wallet/PointCard/index.less +0 -1
  1219. package/lib/components/wallet/RechargeableCard/index.less +5 -9
  1220. package/lib/components/wallet/Voucher/index.js +1 -0
  1221. package/lib/components/wallet/Voucher/index.less +0 -1
  1222. package/lib/components/wallet/components/WalletCard.js +2 -2
  1223. package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
  1224. package/lib/components/wallet/index.js +41 -2
  1225. package/lib/components/wallet/index.less +0 -4
  1226. package/lib/components/wallet/locales.d.ts +3 -0
  1227. package/lib/components/wallet/locales.js +3 -0
  1228. package/lib/components/wallet/model.d.ts +1 -1
  1229. package/lib/components/wallet/utils/formatUtils.js +1 -1
  1230. package/lib/components/walletList/index.js +48 -16
  1231. package/lib/components/walletList/index.less +17 -15
  1232. package/lib/components/walletList/locales.d.ts +18 -0
  1233. package/lib/components/walletList/locales.js +41 -0
  1234. package/lib/components/walletList/serve.d.ts +8 -0
  1235. package/lib/components/walletList/serve.js +15 -2
  1236. package/lib/components/walletList/status.d.ts +38 -0
  1237. package/lib/components/walletList/status.js +66 -0
  1238. package/lib/components/workSpaceList/components/AppearanceEdit/IconPanel.js +2 -2
  1239. package/lib/components/workSpaceList/components/AppearanceEdit/constants.js +12 -32
  1240. package/lib/components/workSpaceList/components/Card/constants.js +3 -4
  1241. package/lib/components/workSpaceList/components/EditableString/index.js +2 -2
  1242. package/lib/components/workSpaceList/components/SearchBar/index.js +5 -8
  1243. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.js +2 -2
  1244. package/lib/components/workSpaceList/components/Sort/index.js +2 -2
  1245. package/lib/components/workSpaceList/components/WorkspaceItem/index.js +2 -2
  1246. package/lib/hooks/useEngineContext.d.ts +1 -0
  1247. package/lib/hooks/useEngineContext.js +14 -1
  1248. package/lib/hooks/useLocale.d.ts +2 -0
  1249. package/lib/hooks/useLocale.js +41 -0
  1250. package/lib/hooks/useLoginUser.d.ts +2 -0
  1251. package/lib/hooks/useLoginUser.js +50 -0
  1252. package/lib/hooks/useWindowSize.d.ts +5 -0
  1253. package/lib/hooks/useWindowSize.js +51 -0
  1254. package/lib/index.d.ts +6 -0
  1255. package/lib/index.js +18 -0
  1256. package/lib/utils/date.d.ts +11 -0
  1257. package/lib/utils/date.js +57 -0
  1258. package/lib/utils/index.d.ts +1 -1
  1259. package/lib/utils/tasks/index.d.ts +16 -0
  1260. package/lib/utils/tasks/index.js +63 -0
  1261. package/lib/utils/tasks/type.d.ts +4 -0
  1262. package/lib/utils/tasks/type.js +17 -0
  1263. package/lowcode/appointment-deposit/meta.ts +58 -0
  1264. package/lowcode/edit-booking-modal/meta.ts +53 -0
  1265. package/lowcode/parallel-resource-booking/meta.ts +69 -0
  1266. package/lowcode/product-select/meta.ts +201 -0
  1267. package/lowcode/step-controller/meta.ts +88 -0
  1268. package/lowcode/sub-total/meta.ts +134 -0
  1269. package/lowcode/ticket-booking/meta.ts +55 -0
  1270. package/package.json +4 -4
@@ -22,6 +22,8 @@ declare const _default: {
22
22
  'pisell2.text.leave-empty-for-walk-in': string;
23
23
  'pisell2.text.select-customer': string;
24
24
  'pisell2.text.create-new-customer': string;
25
+ 'pisell2.text.filled': string;
26
+ 'pisell2.text.not-filled': string;
25
27
  'pisell2.text.create-new': string;
26
28
  'pisell2.text.add-a-service': string;
27
29
  'pisell2.text.add-another-service': string;
@@ -108,6 +110,7 @@ declare const _default: {
108
110
  'pisell1.text.resource-error-message-1': (x: string, y: string) => string;
109
111
  'pisell1.text.resource-error-message-2': (x: string, y: string, z: string) => string;
110
112
  'pisell1.text.resource-error-message-3': (x: string, y: string, z: string) => string;
113
+ 'pisell1.text.resource-error-message-unbound': string;
111
114
  'pisell1.text.no-addons': string;
112
115
  'pisell1.text.no-resource': string;
113
116
  'pisell1.text.no-payments': string;
@@ -201,6 +204,7 @@ declare const _default: {
201
204
  'page.booking.text.please-choose-an-option-1': string;
202
205
  'page.booking.text.please-choose-an-option-2': string;
203
206
  'page.booking.text.resource.min-length-error': (x: number, y: string) => string;
207
+ 'page.booking.text.resource.check-auto-allocation-tip': string;
204
208
  'page.booking.text.price-extra': (origin: string, current: string) => string;
205
209
  'pisell2.booking.dashboard.groups-on-site-now': string;
206
210
  'pisell2.booking.dashboard.groups-on-site-now-tip': string;
@@ -224,6 +228,9 @@ declare const _default: {
224
228
  'pisell2.booking.info.text.create-new': string;
225
229
  'pisell2.booking.info.text.form-agreement-yes': string;
226
230
  'pisell2.booking.info.text.form-agreement-no': string;
231
+ 'pisell2.booking.info.resource.warning-title': string;
232
+ 'pisell2.booking.info.resource.warning-content': string;
233
+ 'pisell2.booking.info.resource.retry': string;
227
234
  'pisell2.text.open.items': string;
228
235
  'pisell2.text.cart.of': (val: any) => string;
229
236
  'pisell2.text.no.selected': string;
@@ -240,6 +247,32 @@ declare const _default: {
240
247
  'pisell2.text.change.pet.cancel': string;
241
248
  'pisell2.text.booking-list': string;
242
249
  'pisell2.text.edit-booking': string;
250
+ 'pisell2.text.email-error-message': string;
251
+ 'pisell2.text.phone-required-error-message': string;
252
+ 'pisell2.text.email-required-error-message': string;
253
+ 'pisell2.text.send-form-reminder': string;
254
+ 'pisell2.text.send-sms-reminder': string;
255
+ 'pisell2.text.send-email-reminder': string;
256
+ 'pisell2.text.send-form-ok': string;
257
+ 'pisell2.text.send-form-toast': string;
258
+ 'pisell2.text.send-form-reminder-completed': string;
259
+ 'pisell2.text.send-form-reminder-tooltip': string;
260
+ 'pisell2.text.send-form-reminder-refresh': string;
261
+ 'pisell2.text.send-form-reminder-error-message': string;
262
+ 'pisell2.text.goodpass': string;
263
+ 'pisell2.text.goodpass.product-vouchers': string;
264
+ 'pisell2.text.goodpass.view-more': string;
265
+ 'pisell2.text.goodpass.code': string;
266
+ 'pisell2.text.goodpass.enter-code': string;
267
+ 'pisell2.text.goodpass.code-invalid': string;
268
+ 'pisell2.text.goodpass.code-invalid-cart': string;
269
+ 'pisell2.text.status.valid': string;
270
+ 'pisell2.text.status.expired': string;
271
+ 'pisell2.text.validity.expired': (str: string) => string;
272
+ 'pisell2.text.validity.expiring_soon': (str: string) => string;
273
+ 'pisell2.text.validity.valid_through': (str: string) => string;
274
+ 'pisell2.text.quotation.product.change.title': string;
275
+ 'pisell2.text.quotation.product.change.describe': string;
243
276
  };
244
277
  'zh-CN': {
245
278
  'pisell2.text.refunded-amount': string;
@@ -269,6 +302,8 @@ declare const _default: {
269
302
  'pisell2.text.leave-empty-for-walk-in': string;
270
303
  'pisell2.text.select-customer': string;
271
304
  'pisell2.text.create-new-customer': string;
305
+ 'pisell2.text.filled': string;
306
+ 'pisell2.text.not-filled': string;
272
307
  'pisell2.text.create-new': string;
273
308
  'pisell2.text.add-a-service': string;
274
309
  'pisell2.text.add-another-service': string;
@@ -358,6 +393,7 @@ declare const _default: {
358
393
  'pisell1.text.resource-error-message-1': (x: string, y: string) => string;
359
394
  'pisell1.text.resource-error-message-2': (x: string, y: string, z: string) => string;
360
395
  'pisell1.text.resource-error-message-3': (x: string, y: string, z: string) => string;
396
+ 'pisell1.text.resource-error-message-unbound': string;
361
397
  'pisell2.text.flexible': string;
362
398
  'pisell2.text.order-discount': string;
363
399
  'pisell2.text.no-product-added': string;
@@ -443,6 +479,7 @@ declare const _default: {
443
479
  'page.booking.text.please-choose-an-option-1': string;
444
480
  'page.booking.text.please-choose-an-option-2': string;
445
481
  'page.booking.text.resource.min-length-error': (x: number, y: string) => string;
482
+ 'page.booking.text.resource.check-auto-allocation-tip': string;
446
483
  'page.booking.text.price-extra': (origin: string, current: string) => string;
447
484
  'pisell2.booking.dashboard.groups-on-site-now': string;
448
485
  'pisell2.booking.dashboard.groups-on-site-now-tip': string;
@@ -466,6 +503,9 @@ declare const _default: {
466
503
  'pisell2.booking.info.text.create-new': string;
467
504
  'pisell2.booking.info.text.form-agreement-yes': string;
468
505
  'pisell2.booking.info.text.form-agreement-no': string;
506
+ 'pisell2.booking.info.resource.warning-title': string;
507
+ 'pisell2.booking.info.resource.warning-content': string;
508
+ 'pisell2.booking.info.resource.retry': string;
469
509
  'pisell2.text.open.items': string;
470
510
  'pisell2.text.cart.of': (val: any) => string;
471
511
  'pisell2.text.no.selected': string;
@@ -482,6 +522,32 @@ declare const _default: {
482
522
  'pisell2.text.change.pet.cancel': string;
483
523
  'pisell2.text.booking-list': string;
484
524
  'pisell2.text.edit-booking': string;
525
+ 'pisell2.text.email-error-message': string;
526
+ 'pisell2.text.phone-required-error-message': string;
527
+ 'pisell2.text.email-required-error-message': string;
528
+ 'pisell2.text.send-form-reminder': string;
529
+ 'pisell2.text.send-sms-reminder': string;
530
+ 'pisell2.text.send-email-reminder': string;
531
+ 'pisell2.text.send-form-ok': string;
532
+ 'pisell2.text.send-form-toast': string;
533
+ 'pisell2.text.send-form-reminder-completed': string;
534
+ 'pisell2.text.send-form-reminder-tooltip': string;
535
+ 'pisell2.text.send-form-reminder-refresh': string;
536
+ 'pisell2.text.send-form-reminder-error-message': string;
537
+ 'pisell2.text.goodpass': string;
538
+ 'pisell2.text.goodpass.product-vouchers': string;
539
+ 'pisell2.text.goodpass.view-more': string;
540
+ 'pisell2.text.goodpass.code': string;
541
+ 'pisell2.text.goodpass.enter-code': string;
542
+ 'pisell2.text.goodpass.code-invalid': string;
543
+ 'pisell2.text.goodpass.code-invalid-cart': string;
544
+ 'pisell2.text.status.valid': string;
545
+ 'pisell2.text.status.expired': string;
546
+ 'pisell2.text.validity.expired': (str: string) => string;
547
+ 'pisell2.text.validity.expiring_soon': (str: string) => string;
548
+ 'pisell2.text.validity.valid_through': (str: string) => string;
549
+ 'pisell2.text.quotation.product.change.title': string;
550
+ 'pisell2.text.quotation.product.change.describe': string;
485
551
  };
486
552
  'zh-HK': {
487
553
  'pisell2.text.refunded-amount': string;
@@ -511,6 +577,8 @@ declare const _default: {
511
577
  'pisell2.text.leave-empty-for-walk-in': string;
512
578
  'pisell2.text.select-customer': string;
513
579
  'pisell2.text.create-new-customer': string;
580
+ 'pisell2.text.filled': string;
581
+ 'pisell2.text.not-filled': string;
514
582
  'pisell2.text.create-new': string;
515
583
  'pisell2.text.add-a-service': string;
516
584
  'pisell2.text.add-another-service': string;
@@ -600,6 +668,7 @@ declare const _default: {
600
668
  'pisell1.text.resource-error-message-1': (x: string, y: string) => string;
601
669
  'pisell1.text.resource-error-message-2': (x: string, y: string, z: string) => string;
602
670
  'pisell1.text.resource-error-message-3': (x: string, y: string, z: string) => string;
671
+ 'pisell1.text.resource-error-message-unbound': string;
603
672
  'pisell2.text.flexible': string;
604
673
  'pisell2.text.order-discount': string;
605
674
  'pisell2.text.no-product-added': string;
@@ -685,6 +754,7 @@ declare const _default: {
685
754
  'page.booking.text.please-choose-an-option-1': string;
686
755
  'page.booking.text.please-choose-an-option-2': string;
687
756
  'page.booking.text.resource.min-length-error': (x: number, y: string) => string;
757
+ 'page.booking.text.resource.check-auto-allocation-tip': string;
688
758
  'page.booking.text.price-extra': (origin: string, current: string) => string;
689
759
  'pisell2.booking.dashboard.groups-on-site-now': string;
690
760
  'pisell2.booking.dashboard.groups-on-site-now-tip': string;
@@ -708,6 +778,9 @@ declare const _default: {
708
778
  'pisell2.booking.info.text.create-new': string;
709
779
  'pisell2.booking.info.text.form-agreement-yes': string;
710
780
  'pisell2.booking.info.text.form-agreement-no': string;
781
+ 'pisell2.booking.info.resource.warning-title': string;
782
+ 'pisell2.booking.info.resource.warning-content': string;
783
+ 'pisell2.booking.info.resource.retry': string;
711
784
  'pisell2.text.open.items': string;
712
785
  'pisell2.text.cart.of': (val: any) => string;
713
786
  'pisell2.text.no.selected': string;
@@ -724,6 +797,32 @@ declare const _default: {
724
797
  'pisell2.text.change.pet.cancel': string;
725
798
  'pisell2.text.booking-list': string;
726
799
  'pisell2.text.edit-booking': string;
800
+ 'pisell2.text.email-error-message': string;
801
+ 'pisell2.text.phone-required-error-message': string;
802
+ 'pisell2.text.email-required-error-message': string;
803
+ 'pisell2.text.send-form-reminder': string;
804
+ 'pisell2.text.send-sms-reminder': string;
805
+ 'pisell2.text.send-email-reminder': string;
806
+ 'pisell2.text.send-form-ok': string;
807
+ 'pisell2.text.send-form-toast': string;
808
+ 'pisell2.text.send-form-reminder-completed': string;
809
+ 'pisell2.text.send-form-reminder-tooltip': string;
810
+ 'pisell2.text.send-form-reminder-refresh': string;
811
+ 'pisell2.text.send-form-reminder-error-message': string;
812
+ 'pisell2.text.goodpass': string;
813
+ 'pisell2.text.goodpass.product-vouchers': string;
814
+ 'pisell2.text.goodpass.view-more': string;
815
+ 'pisell2.text.goodpass.code': string;
816
+ 'pisell2.text.goodpass.enter-code': string;
817
+ 'pisell2.text.goodpass.code-invalid': string;
818
+ 'pisell2.text.goodpass.code-invalid-cart': string;
819
+ 'pisell2.text.status.valid': string;
820
+ 'pisell2.text.status.expired': string;
821
+ 'pisell2.text.validity.expired': (str: string) => string;
822
+ 'pisell2.text.validity.expiring_soon': (str: string) => string;
823
+ 'pisell2.text.validity.valid_through': (str: string) => string;
824
+ 'pisell2.text.quotation.product.change.title': string;
825
+ 'pisell2.text.quotation.product.change.describe': string;
727
826
  };
728
827
  };
729
828
  export default _default;
@@ -23,6 +23,8 @@ export default {
23
23
  'pisell2.text.leave-empty-for-walk-in': 'Leave empty for walk-in',
24
24
  'pisell2.text.select-customer': 'Select customer',
25
25
  'pisell2.text.create-new-customer': 'Create new customer',
26
+ 'pisell2.text.filled': 'Filled',
27
+ 'pisell2.text.not-filled': 'Not filled',
26
28
  'pisell2.text.create-new': 'Create new',
27
29
  'pisell2.text.add-a-service': 'Add a service',
28
30
  'pisell2.text.add-another-service': 'Add another service',
@@ -126,6 +128,7 @@ export default {
126
128
  'pisell1.text.resource-error-message-3': function pisell1TextResourceErrorMessage3(x, y, z) {
127
129
  return "".concat(x, " is fully booked between ").concat(y, " and ").concat(z, ", but your team member can still book appointments.");
128
130
  },
131
+ 'pisell1.text.resource-error-message-unbound': 'This booking product is not associated with the target resource.',
129
132
  'pisell1.text.no-addons': 'No addons',
130
133
  'pisell1.text.no-resource': 'No resource',
131
134
  'pisell1.text.no-payments': 'No payments',
@@ -234,6 +237,7 @@ export default {
234
237
  'page.booking.text.resource.min-length-error': function pageBookingTextResourceMinLengthError(x, y) {
235
238
  return "Select at least ".concat(x, " ").concat(y);
236
239
  },
240
+ 'page.booking.text.resource.check-auto-allocation-tip': "When checked, content will be automatically filled in without manual selection",
237
241
  'page.booking.text.price-extra': function pageBookingTextPriceExtra(origin, current) {
238
242
  return "Original price of the item:".concat(origin, ",Current price of the item:").concat(current);
239
243
  },
@@ -259,6 +263,9 @@ export default {
259
263
  'pisell2.booking.info.text.create-new': "Create new",
260
264
  'pisell2.booking.info.text.form-agreement-yes': "Yes",
261
265
  'pisell2.booking.info.text.form-agreement-no': "No",
266
+ 'pisell2.booking.info.resource.warning-title': "Resource Loading Failed",
267
+ 'pisell2.booking.info.resource.warning-content': "Failed to load resources due to network issues. You may click 'Retry' to attempt reloading. Otherwise, only normal products can be checkout.",
268
+ 'pisell2.booking.info.resource.retry': "Retry",
262
269
  'pisell2.text.open.items': 'Open items',
263
270
  'pisell2.text.cart.of': function pisell2TextCartOf(val) {
264
271
  return "Cart of ".concat(val);
@@ -276,7 +283,39 @@ export default {
276
283
  'pisell2.text.change.pet.confirm': 'Keep (Add to open items)',
277
284
  'pisell2.text.change.pet.cancel': 'Discard (Clear items)',
278
285
  'pisell2.text.booking-list': "List",
279
- 'pisell2.text.edit-booking': "Edit"
286
+ 'pisell2.text.edit-booking': "Edit",
287
+ 'pisell2.text.email-error-message': 'Email format error',
288
+ 'pisell2.text.phone-required-error-message': 'Please enter a phone number',
289
+ 'pisell2.text.email-required-error-message': 'Please enter an email address',
290
+ 'pisell2.text.send-form-reminder': 'Send Form Reminder',
291
+ 'pisell2.text.send-sms-reminder': 'Send SMS Reminder',
292
+ 'pisell2.text.send-email-reminder': 'Send Email Reminder',
293
+ 'pisell2.text.send-form-ok': 'Send',
294
+ 'pisell2.text.send-form-toast': 'Form reminder sent',
295
+ 'pisell2.text.send-form-reminder-completed': 'Requested Forms Completed',
296
+ 'pisell2.text.send-form-reminder-tooltip': 'Refresh forms',
297
+ 'pisell2.text.send-form-reminder-refresh': 'Forms refreshed successfully',
298
+ 'pisell2.text.send-form-reminder-error-message': 'Please select at least one reminder method',
299
+ 'pisell2.text.goodpass': "Promotion",
300
+ 'pisell2.text.goodpass.product-vouchers': "Product Vouchers",
301
+ 'pisell2.text.goodpass.view-more': "View More",
302
+ 'pisell2.text.goodpass.code': "Code",
303
+ 'pisell2.text.goodpass.enter-code': "Enter Code",
304
+ 'pisell2.text.goodpass.code-invalid': "Current code is invalid",
305
+ 'pisell2.text.goodpass.code-invalid-cart': "No eligible items in the cart",
306
+ 'pisell2.text.status.valid': 'Valid',
307
+ 'pisell2.text.status.expired': 'Expired',
308
+ 'pisell2.text.validity.expired': function pisell2TextValidityExpired(str) {
309
+ return "Expired on ".concat(str);
310
+ },
311
+ 'pisell2.text.validity.expiring_soon': function pisell2TextValidityExpiring_soon(str) {
312
+ return "Expiring soon: valid through ".concat(str);
313
+ },
314
+ 'pisell2.text.validity.valid_through': function pisell2TextValidityValid_through(str) {
315
+ return "Valid through ".concat(str);
316
+ },
317
+ 'pisell2.text.quotation.product.change.title': "Notification",
318
+ 'pisell2.text.quotation.product.change.describe': "Product updates available: Please refresh the following items to load the latest data."
280
319
  },
281
320
  'zh-CN': {
282
321
  'pisell2.text.refunded-amount': '已退金额',
@@ -306,6 +345,8 @@ export default {
306
345
  'pisell2.text.leave-empty-for-walk-in': '未选择表示 Walk-In',
307
346
  'pisell2.text.select-customer': '选择客户',
308
347
  'pisell2.text.create-new-customer': '创建新客户',
348
+ 'pisell2.text.filled': '已填写',
349
+ 'pisell2.text.not-filled': '未填写',
309
350
  'pisell2.text.create-new': '创建新的',
310
351
  'pisell2.text.add-a-service': '添加服务',
311
352
  'pisell2.text.add-another-service': '添加其他服务',
@@ -417,6 +458,7 @@ export default {
417
458
  'pisell1.text.resource-error-message-3': function pisell1TextResourceErrorMessage3(x, y, z) {
418
459
  return "".concat(x, "\u5728").concat(y, "\u5230").concat(z, "\u4E4B\u95F4\u5DF2\u7EA6\u6EE1\uFF0C\u4F46\u60A8\u7684\u56E2\u961F\u6210\u5458\u4ECD\u7136\u53EF\u4EE5\u9884\u7EA6\u3002");
419
460
  },
461
+ 'pisell1.text.resource-error-message-unbound': '该预约商品未关联目标资源。',
420
462
  'pisell2.text.flexible': "灵活",
421
463
  'pisell2.text.order-discount': "折扣",
422
464
  'pisell2.text.no-product-added': '未添加商品',
@@ -517,6 +559,7 @@ export default {
517
559
  'page.booking.text.resource.min-length-error': function pageBookingTextResourceMinLengthError(x, y) {
518
560
  return "\u81F3\u5C11\u9009\u62E9".concat(x, "\u9879").concat(y);
519
561
  },
562
+ 'page.booking.text.resource.check-auto-allocation-tip': "\u52FE\u9009\u540E\u5C06\u81EA\u52A8\u586B\u5165\u5185\u5BB9\uFF0C\u65E0\u9700\u624B\u52A8\u9009\u62E9",
520
563
  'page.booking.text.price-extra': function pageBookingTextPriceExtra(origin, current) {
521
564
  return "\u5546\u54C1\u539F\u4EF7:".concat(origin, ",\u5546\u54C1\u73B0\u4EF7:").concat(current);
522
565
  },
@@ -542,6 +585,9 @@ export default {
542
585
  'pisell2.booking.info.text.create-new': "新建",
543
586
  'pisell2.booking.info.text.form-agreement-yes': "是",
544
587
  'pisell2.booking.info.text.form-agreement-no': "否",
588
+ 'pisell2.booking.info.resource.warning-title': "资源加载失败",
589
+ 'pisell2.booking.info.resource.warning-content': "由于网络原因, 获取资源失败! 您可以点击“重试”尝试重新加载, 否则只可以下单普通商品。",
590
+ 'pisell2.booking.info.resource.retry': "重试",
545
591
  'pisell2.text.open.items': '公共购物车',
546
592
  'pisell2.text.cart.of': function pisell2TextCartOf(val) {
547
593
  return "".concat(val, "\u7684\u8D2D\u7269\u8F66");
@@ -559,7 +605,39 @@ export default {
559
605
  'pisell2.text.change.pet.confirm': '保留(添加到未分配中)',
560
606
  'pisell2.text.change.pet.cancel': '不保留(清空商品)',
561
607
  'pisell2.text.booking-list': "列表",
562
- 'pisell2.text.edit-booking': "编辑"
608
+ 'pisell2.text.edit-booking': "编辑",
609
+ 'pisell2.text.email-error-message': '电子邮件格式错误',
610
+ 'pisell2.text.phone-required-error-message': '请输入手机号码',
611
+ 'pisell2.text.email-required-error-message': '请输入邮箱地址',
612
+ 'pisell2.text.send-form-reminder': '发送表单提醒',
613
+ 'pisell2.text.send-sms-reminder': '发送短信提醒',
614
+ 'pisell2.text.send-email-reminder': '发送邮件提醒',
615
+ 'pisell2.text.send-form-ok': '发送',
616
+ 'pisell2.text.send-form-toast': '表单提醒已发送',
617
+ 'pisell2.text.send-form-reminder-completed': '已完成所需表单',
618
+ 'pisell2.text.send-form-reminder-tooltip': '刷新表单',
619
+ 'pisell2.text.send-form-reminder-refresh': '已刷新表单',
620
+ 'pisell2.text.send-form-reminder-error-message': '请至少选择一种提醒方式',
621
+ 'pisell2.text.goodpass': "促销",
622
+ 'pisell2.text.goodpass.product-vouchers': "商品兑换券",
623
+ 'pisell2.text.goodpass.view-more': "查看更多",
624
+ 'pisell2.text.goodpass.code': "券码",
625
+ 'pisell2.text.goodpass.enter-code': "请输入券码",
626
+ 'pisell2.text.goodpass.code-invalid': "当前券码不可用",
627
+ 'pisell2.text.goodpass.code-invalid-cart': "当前购物车中无可用商品",
628
+ 'pisell2.text.status.valid': '有效',
629
+ 'pisell2.text.status.expired': '已过期',
630
+ 'pisell2.text.validity.expired': function pisell2TextValidityExpired(str) {
631
+ return "\u5DF2\u4E8E ".concat(str, " \u8FC7\u671F");
632
+ },
633
+ 'pisell2.text.validity.expiring_soon': function pisell2TextValidityExpiring_soon(str) {
634
+ return "\u5373\u5C06\u8FC7\u671F\uFF1A\u6709\u6548\u671F\u81F3 ".concat(str, " \uFF08\u542B\u5F53\u65E5\uFF09");
635
+ },
636
+ 'pisell2.text.validity.valid_through': function pisell2TextValidityValid_through(str) {
637
+ return "\u6709\u6548\u671F\u81F3 ".concat(str, " \uFF08\u542B\u5F53\u65E5\uFF09");
638
+ },
639
+ 'pisell2.text.quotation.product.change.title': "提示",
640
+ 'pisell2.text.quotation.product.change.describe': "以下商品信息已更新,请重新编辑相关商品以同步最新数据。"
563
641
  },
564
642
  'zh-HK': {
565
643
  'pisell2.text.refunded-amount': '已退金額',
@@ -589,6 +667,8 @@ export default {
589
667
  'pisell2.text.leave-empty-for-walk-in': '未選擇表示 Walk-In',
590
668
  'pisell2.text.select-customer': '選擇客戶',
591
669
  'pisell2.text.create-new-customer': '創建新客戶',
670
+ 'pisell2.text.filled': '已填寫',
671
+ 'pisell2.text.not-filled': '未填寫',
592
672
  'pisell2.text.create-new': '創建新的',
593
673
  'pisell2.text.add-a-service': '添加服務',
594
674
  'pisell2.text.add-another-service': '添加其他服務',
@@ -700,6 +780,7 @@ export default {
700
780
  'pisell1.text.resource-error-message-3': function pisell1TextResourceErrorMessage3(x, y, z) {
701
781
  return "".concat(x, "\u5728").concat(y, "\u5230").concat(z, "\u4E4B\u9593\u5DF2\u7D04\u6EFF\uFF0C\u4F46\u60A8\u7684\u5718\u968A\u6210\u54E1\u4ECD\u7136\u53EF\u4EE5\u9810\u7D04\u3002");
702
782
  },
783
+ 'pisell1.text.resource-error-message-unbound': '該預約商品未關聯目標資源。',
703
784
  'pisell2.text.flexible': "靈活",
704
785
  'pisell2.text.order-discount': "折扣",
705
786
  'pisell2.text.no-product-added': '未添加商品',
@@ -800,6 +881,7 @@ export default {
800
881
  'page.booking.text.resource.min-length-error': function pageBookingTextResourceMinLengthError(x, y) {
801
882
  return "\u81F3\u5C11\u9078\u64C7".concat(x, "\u9805").concat(y);
802
883
  },
884
+ 'page.booking.text.resource.check-auto-allocation-tip': "\u52FE\u9078\u5F8C\u5C07\u81EA\u52D5\u586B\u5165\u5167\u5BB9\uFF0C\u7121\u9700\u624B\u52D5\u9078\u64C7",
803
885
  'page.booking.text.price-extra': function pageBookingTextPriceExtra(origin, current) {
804
886
  return "\u5546\u54C1\u539F\u50F9:".concat(origin, ",\u5546\u54C1\u73FE\u50F9:").concat(current);
805
887
  },
@@ -825,6 +907,9 @@ export default {
825
907
  'pisell2.booking.info.text.create-new': "新建",
826
908
  'pisell2.booking.info.text.form-agreement-yes': "是",
827
909
  'pisell2.booking.info.text.form-agreement-no': "否",
910
+ 'pisell2.booking.info.resource.warning-title': "資源載入失敗",
911
+ 'pisell2.booking.info.resource.warning-content': "由於網路問題,無法取得資源!您可以點擊「重試」重新載入,否則僅能訂購一般商品。",
912
+ 'pisell2.booking.info.resource.retry': "重試",
828
913
  'pisell2.text.open.items': '公共購物車',
829
914
  'pisell2.text.cart.of': function pisell2TextCartOf(val) {
830
915
  return "".concat(val, "\u7684\u8CFC\u7269\u8ECA");
@@ -842,6 +927,38 @@ export default {
842
927
  'pisell2.text.change.pet.confirm': '保留(添加到未分配中)',
843
928
  'pisell2.text.change.pet.cancel': '不保留(清空商品)',
844
929
  'pisell2.text.booking-list': "列表",
845
- 'pisell2.text.edit-booking': "編輯"
930
+ 'pisell2.text.edit-booking': "編輯",
931
+ 'pisell2.text.email-error-message': '電子郵件格式錯誤',
932
+ 'pisell2.text.phone-required-error-message': '請輸入手機號碼',
933
+ 'pisell2.text.email-required-error-message': '請輸入電子郵件地址',
934
+ 'pisell2.text.send-form-reminder': '發送表單提醒',
935
+ 'pisell2.text.send-sms-reminder': '發送短信提醒',
936
+ 'pisell2.text.send-email-reminder': '發送郵件提醒',
937
+ 'pisell2.text.send-form-ok': '發送',
938
+ 'pisell2.text.send-form-toast': '表單提醒已發送',
939
+ 'pisell2.text.send-form-reminder-completed': '已完成所需表單',
940
+ 'pisell2.text.send-form-reminder-tooltip': '刷新表單',
941
+ 'pisell2.text.send-form-reminder-refresh': '已刷新表單',
942
+ 'pisell2.text.send-form-reminder-error-message': '請至少選擇一種提醒方式',
943
+ 'pisell2.text.goodpass': "促銷",
944
+ 'pisell2.text.goodpass.product-vouchers': "商品兌換券",
945
+ 'pisell2.text.goodpass.view-more': "查看更多",
946
+ 'pisell2.text.goodpass.code': "券碼",
947
+ 'pisell2.text.goodpass.enter-code': "請輸入券碼",
948
+ 'pisell2.text.goodpass.code-invalid': "當前券碼不可用",
949
+ 'pisell2.text.goodpass.code-invalid-cart': "當前購物車中無可用商品",
950
+ 'pisell2.text.status.valid': '有效',
951
+ 'pisell2.text.status.expired': '已過期',
952
+ 'pisell2.text.validity.expired': function pisell2TextValidityExpired(str) {
953
+ return "\u5DF2\u65BC ".concat(str, " \u904E\u671F");
954
+ },
955
+ 'pisell2.text.validity.expiring_soon': function pisell2TextValidityExpiring_soon(str) {
956
+ return "\u5373\u5C07\u904E\u671F\uFF1A\u6709\u6548\u671F\u81F3 ".concat(str, " \uFF08\u542B\u7576\u65E5\uFF09");
957
+ },
958
+ 'pisell2.text.validity.valid_through': function pisell2TextValidityValid_through(str) {
959
+ return "\u6709\u6548\u671F\u81F3 ".concat(str, " \uFF08\u542B\u7576\u65E5\uFF09");
960
+ },
961
+ 'pisell2.text.quotation.product.change.title': "提示",
962
+ 'pisell2.text.quotation.product.change.describe': "以下商品信息已更新,请重新编辑相关商品以同步最新数据。"
846
963
  }
847
964
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type ContactType = {
4
3
  country_calling_code: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from 'antd';
3
2
  interface DurationProps extends SelectProps {
4
3
  locale?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from 'antd';
3
2
  interface HolderProps extends SelectProps {
4
3
  selectProps?: SelectProps;
@@ -25,12 +25,12 @@ var Holder = function Holder(props) {
25
25
  */
26
26
  var holders = useMemo(function () {
27
27
  var lists = holderLists === null || holderLists === void 0 ? void 0 : holderLists.filter(function (d) {
28
- return (d === null || d === void 0 ? void 0 : d.id) > 0;
28
+ return ((d === null || d === void 0 ? void 0 : d.id) || (d === null || d === void 0 ? void 0 : d.form_record_id)) > 0;
29
29
  });
30
30
  if (!(lists !== null && lists !== void 0 && lists.length)) return [];
31
31
  return lists.map(function (d) {
32
32
  return {
33
- value: d === null || d === void 0 ? void 0 : d.id,
33
+ value: (d === null || d === void 0 ? void 0 : d.id) || (d === null || d === void 0 ? void 0 : d.form_record_id),
34
34
  label: d === null || d === void 0 ? void 0 : d.main_field
35
35
  };
36
36
  });
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from "antd";
3
2
  interface StartTimeProps extends SelectProps {
4
3
  locale?: string;
@@ -25,7 +25,7 @@ var StartTime = function StartTime(props) {
25
25
  return sliceDayIntoFiveMinutes(slice, locale);
26
26
  }, [slice, locale]);
27
27
  useEffect(function () {
28
- timeObjChange === null || timeObjChange === void 0 || timeObjChange(timeObj);
28
+ timeObjChange === null || timeObjChange === void 0 ? void 0 : timeObjChange(timeObj);
29
29
  }, [timeObj]);
30
30
  var renderOptions = useCallback(function (array) {
31
31
  var value = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "value";
@@ -38,6 +38,7 @@ export interface FormState {
38
38
  services: any[];
39
39
  resources: any[];
40
40
  resourcesOrigin: any[];
41
+ reloadResourceModal: false;
41
42
  value: any[];
42
43
  cacheItem: any;
43
44
  edit: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export interface InfoProps {
4
3
  isEdit: boolean;
@@ -18,7 +18,7 @@ var NoteItem = function NoteItem(props) {
18
18
  _props$menus = props.menus,
19
19
  menus = _props$menus === void 0 ? defaultMenus : _props$menus;
20
20
  var menuChange = function menuChange(e) {
21
- onChange === null || onChange === void 0 || onChange(item, e.key);
21
+ onChange === null || onChange === void 0 ? void 0 : onChange(item, e.key);
22
22
  };
23
23
  return /*#__PURE__*/React.createElement("div", {
24
24
  className: "pisell-lowcode__booking-notes-item"
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export interface InfoProps {
4
3
  title?: string;
@@ -1,17 +1,17 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
3
3
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
4
4
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
5
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
6
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
7
7
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
9
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
10
10
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
11
11
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
12
12
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
13
13
  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; }
14
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
14
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
15
15
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
16
16
  import React, { useState, useMemo } from "react";
17
17
  import { Button, Modal, message, Skeleton } from "antd";
@@ -47,7 +47,7 @@ var NoteBlock = function NoteBlock(props) {
47
47
  onSuccess: function onSuccess(res) {
48
48
  var _props$onChange;
49
49
  message.success(locales.getText("pisell2.text.status.add-note-successfully"));
50
- (_props$onChange = props.onChange) === null || _props$onChange === void 0 || _props$onChange.call(props, res, "add", noteType);
50
+ (_props$onChange = props.onChange) === null || _props$onChange === void 0 ? void 0 : _props$onChange.call(props, res, "add", noteType);
51
51
  handleCancel();
52
52
  }
53
53
  });
@@ -63,7 +63,7 @@ var NoteBlock = function NoteBlock(props) {
63
63
  onSuccess: function onSuccess(res) {
64
64
  var _props$onChange2;
65
65
  message.success(locales.getText("pisell2.text.status.edit-note-successfully"));
66
- (_props$onChange2 = props.onChange) === null || _props$onChange2 === void 0 || _props$onChange2.call(props, res, "edit", noteType);
66
+ (_props$onChange2 = props.onChange) === null || _props$onChange2 === void 0 ? void 0 : _props$onChange2.call(props, res, "edit", noteType);
67
67
  handleCancel();
68
68
  },
69
69
  onError: function onError(err) {}
@@ -73,7 +73,7 @@ var NoteBlock = function NoteBlock(props) {
73
73
  onSuccess: function onSuccess(res, param) {
74
74
  var _props$onChange3;
75
75
  message.success(locales.getText("pisell2.text.status.edit-note-successfully"));
76
- (_props$onChange3 = props.onChange) === null || _props$onChange3 === void 0 || _props$onChange3.call(props, {
76
+ (_props$onChange3 = props.onChange) === null || _props$onChange3 === void 0 ? void 0 : _props$onChange3.call(props, {
77
77
  id: 0,
78
78
  content: param[0].note
79
79
  }, "edit", noteType);
@@ -94,7 +94,7 @@ var NoteBlock = function NoteBlock(props) {
94
94
  note: ""
95
95
  });
96
96
  }
97
- (_props$onChange4 = props.onChange) === null || _props$onChange4 === void 0 || _props$onChange4.call(props, _objectSpread(_objectSpread({}, _item), {}, {
97
+ (_props$onChange4 = props.onChange) === null || _props$onChange4 === void 0 ? void 0 : _props$onChange4.call(props, _objectSpread(_objectSpread({}, _item), {}, {
98
98
  content: ""
99
99
  }), "remove", noteType);
100
100
  }