@pisell/private-materials 3.3.74 → 3.3.76

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 (303) 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 +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +7 -7
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +7 -7
  11. package/es/components/appointmentBooking/components/Cart/Item/index.js +2 -4
  12. package/es/components/appointmentBooking/components/Cart/Item/index.less +3 -3
  13. package/es/components/appointmentBooking/components/Content/index.d.ts +1 -0
  14. package/es/components/appointmentBooking/components/Content/index.less +1 -1
  15. package/es/components/appointmentBooking/components/Date/index.js +14 -24
  16. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  17. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  18. package/es/components/appointmentBooking/components/Header/index.js +14 -8
  19. package/es/components/appointmentBooking/components/Services/index.js +36 -38
  20. package/es/components/appointmentBooking/components/Voucher/index.js +0 -13
  21. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.js +7 -6
  22. package/es/components/appointmentBooking/index.js +0 -14
  23. package/es/components/appointmentBooking/index.less +1 -1
  24. package/es/components/appointmentBooking/locales.js +3 -3
  25. package/es/components/booking/addons/index.js +3 -12
  26. package/es/components/booking/addons/model.js +0 -5
  27. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  28. package/es/components/booking/components/TabProduct/selectProductItem/index.js +1 -3
  29. package/es/components/booking/components/TabProduct/selectProductItem/index.less +0 -6
  30. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
  31. package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
  32. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  33. package/es/components/booking/components/footer/amount.js +1 -2
  34. package/es/components/booking/components/footer/index.js +3 -9
  35. package/es/components/booking/components/footer/utils.js +35 -73
  36. package/es/components/booking/components/voucher/index.js +66 -110
  37. package/es/components/booking/deposit/index.d.ts +1 -0
  38. package/es/components/booking/forms/single/index.d.ts +1 -0
  39. package/es/components/booking/hooks/useQuotation.d.ts +0 -1
  40. package/es/components/booking/hooks/useQuotation.js +1 -16
  41. package/es/components/booking/info/client/index.js +3 -12
  42. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  43. package/es/components/booking/info/date/index.d.ts +1 -0
  44. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  45. package/es/components/booking/info/header/index.d.ts +1 -0
  46. package/es/components/booking/info/notes/index.d.ts +1 -0
  47. package/es/components/booking/info/service/Lists.js +1 -1
  48. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  49. package/es/components/booking/info/service/addService/index.js +1 -3
  50. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  51. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  52. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  53. package/es/components/booking/info/service2/utils.d.ts +1 -1
  54. package/es/components/booking/info/service2/utils.js +2 -6
  55. package/es/components/booking/info/utils.js +1 -1
  56. package/es/components/booking/info2/index.js +4 -9
  57. package/es/components/booking/info2/serve.d.ts +1 -1
  58. package/es/components/booking/info2/serve.js +8 -12
  59. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  60. package/es/components/booking/info2/service/addService/index.js +3 -5
  61. package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  62. package/es/components/booking/info2/service/editService/index.js +2 -5
  63. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  64. package/es/components/booking/info2/utils.d.ts +1 -1
  65. package/es/components/booking/info2/utils.js +2 -3
  66. package/es/components/booking/info2/utilsByBooking.d.ts +1 -1
  67. package/es/components/booking/info2/utilsByBooking.js +3 -5
  68. package/es/components/booking/locales.d.ts +0 -3
  69. package/es/components/booking/locales.js +3 -6
  70. package/es/components/booking/materiels/contacts/index.d.ts +1 -0
  71. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  72. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  73. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  74. package/es/components/booking/notes/addNote/index.d.ts +1 -0
  75. package/es/components/booking/utils.d.ts +0 -1
  76. package/es/components/booking/utils.js +0 -4
  77. package/es/components/eftpos/index.d.ts +1 -0
  78. package/es/components/eftpos/pos.d.ts +1 -0
  79. package/es/components/eftposPay/amount.d.ts +2 -1
  80. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  81. package/es/components/eftposPay/component/fail/index.d.ts +1 -0
  82. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  83. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  84. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  85. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  86. package/es/components/eftposPay/device.d.ts +2 -1
  87. package/es/components/eftposPay/hooks.d.ts +1 -1
  88. package/es/components/eftposPay/index.d.ts +1 -0
  89. package/es/components/eftposPay/pay.d.ts +1 -0
  90. package/es/components/eftposPay/payo/config.d.ts +1 -0
  91. package/es/components/eftposPay/store/index.d.ts +2 -2
  92. package/es/components/eftposPay/tip.d.ts +1 -0
  93. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  94. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  95. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  96. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  97. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  98. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  99. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  100. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  101. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  102. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  103. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  104. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  105. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  106. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  107. package/es/components/login/index.d.ts +1 -0
  108. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  109. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  110. package/es/components/pay/toC/PaymentMethods/index.js +4 -5
  111. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  112. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  113. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  114. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  115. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  116. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  117. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  118. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  119. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  120. package/es/components/productExtension/index.d.ts +1 -0
  121. package/es/components/ruleSetting/index.d.ts +1 -0
  122. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  123. package/es/components/schedules/calendar/index.d.ts +1 -0
  124. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  125. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
  126. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  127. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  128. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  129. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  130. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  131. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  132. package/es/components/schedules/products/list/index.d.ts +1 -0
  133. package/es/components/schedules/resources/index.d.ts +1 -0
  134. package/es/components/schedules/resources/list/index.d.ts +1 -0
  135. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  136. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  137. package/es/components/schedules/schedules/index.d.ts +1 -0
  138. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  139. package/es/components/shoppingCart/index.d.ts +1 -0
  140. package/es/components/taxSelect/index.d.ts +1 -0
  141. package/es/components/ticketBooking/components/addServiceVariant/addService.js +6 -9
  142. package/es/components/ticketBooking/components/ticketBooking/index.js +3 -124
  143. package/es/components/ticketBooking/index.d.ts +1 -0
  144. package/es/components/ticketBooking/locales.d.ts +146 -164
  145. package/es/components/ticketBooking/locales.js +147 -195
  146. package/es/components/ticketBooking/utils/index.d.ts +1 -5
  147. package/es/components/ticketBooking/utils/index.js +6 -58
  148. package/es/components/wallet/hooks/useWalletCard.d.ts +1 -0
  149. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  150. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  151. package/lib/components/appointmentBooking/components/Cart/Item/index.js +4 -5
  152. package/lib/components/appointmentBooking/components/Cart/Item/index.less +3 -3
  153. package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
  154. package/lib/components/appointmentBooking/components/Content/index.less +1 -1
  155. package/lib/components/appointmentBooking/components/Date/index.js +5 -12
  156. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  157. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  158. package/lib/components/appointmentBooking/components/Header/index.js +3 -2
  159. package/lib/components/appointmentBooking/components/Services/index.js +18 -19
  160. package/lib/components/appointmentBooking/components/Voucher/index.js +0 -9
  161. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.js +1 -0
  162. package/lib/components/appointmentBooking/index.js +0 -11
  163. package/lib/components/appointmentBooking/index.less +1 -1
  164. package/lib/components/appointmentBooking/locales.js +3 -3
  165. package/lib/components/booking/addons/index.js +2 -12
  166. package/lib/components/booking/addons/model.js +0 -3
  167. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  168. package/lib/components/booking/components/TabProduct/selectProductItem/index.js +1 -5
  169. package/lib/components/booking/components/TabProduct/selectProductItem/index.less +0 -6
  170. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
  171. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
  172. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  173. package/lib/components/booking/components/footer/amount.js +1 -2
  174. package/lib/components/booking/components/footer/index.js +5 -10
  175. package/lib/components/booking/components/footer/utils.js +11 -47
  176. package/lib/components/booking/components/voucher/index.js +67 -111
  177. package/lib/components/booking/deposit/index.d.ts +1 -0
  178. package/lib/components/booking/forms/single/index.d.ts +1 -0
  179. package/lib/components/booking/hooks/useQuotation.d.ts +0 -1
  180. package/lib/components/booking/hooks/useQuotation.js +1 -19
  181. package/lib/components/booking/info/client/index.js +3 -10
  182. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  183. package/lib/components/booking/info/date/index.d.ts +1 -0
  184. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  185. package/lib/components/booking/info/header/index.d.ts +1 -0
  186. package/lib/components/booking/info/notes/index.d.ts +1 -0
  187. package/lib/components/booking/info/service/Lists.js +1 -1
  188. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  189. package/lib/components/booking/info/service/addService/index.js +0 -2
  190. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  191. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  192. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  193. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  194. package/lib/components/booking/info/service2/utils.js +1 -3
  195. package/lib/components/booking/info/utils.js +3 -1
  196. package/lib/components/booking/info2/index.js +9 -9
  197. package/lib/components/booking/info2/serve.d.ts +1 -1
  198. package/lib/components/booking/info2/serve.js +1 -1
  199. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  200. package/lib/components/booking/info2/service/addService/index.js +2 -4
  201. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  202. package/lib/components/booking/info2/service/editService/index.js +2 -5
  203. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  204. package/lib/components/booking/info2/utils.d.ts +1 -1
  205. package/lib/components/booking/info2/utils.js +2 -2
  206. package/lib/components/booking/info2/utilsByBooking.d.ts +1 -1
  207. package/lib/components/booking/info2/utilsByBooking.js +2 -3
  208. package/lib/components/booking/locales.d.ts +0 -3
  209. package/lib/components/booking/locales.js +3 -6
  210. package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
  211. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  212. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  213. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  214. package/lib/components/booking/notes/addNote/index.d.ts +1 -0
  215. package/lib/components/booking/utils.d.ts +0 -1
  216. package/lib/components/booking/utils.js +0 -6
  217. package/lib/components/eftpos/index.d.ts +1 -0
  218. package/lib/components/eftpos/pos.d.ts +1 -0
  219. package/lib/components/eftposPay/amount.d.ts +2 -1
  220. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  221. package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
  222. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  223. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  224. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  225. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  226. package/lib/components/eftposPay/device.d.ts +2 -1
  227. package/lib/components/eftposPay/hooks.d.ts +1 -1
  228. package/lib/components/eftposPay/index.d.ts +1 -0
  229. package/lib/components/eftposPay/pay.d.ts +1 -0
  230. package/lib/components/eftposPay/payo/config.d.ts +1 -0
  231. package/lib/components/eftposPay/store/index.d.ts +2 -2
  232. package/lib/components/eftposPay/tip.d.ts +1 -0
  233. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  234. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  235. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  236. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  237. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  238. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  239. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  240. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  241. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  242. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  243. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  244. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  245. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  246. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  247. package/lib/components/login/index.d.ts +1 -0
  248. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  249. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  250. package/lib/components/pay/toC/PaymentMethods/index.js +9 -10
  251. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  252. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  253. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  254. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  255. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  256. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  257. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  258. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  259. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  260. package/lib/components/productExtension/index.d.ts +1 -0
  261. package/lib/components/ruleSetting/index.d.ts +1 -0
  262. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  263. package/lib/components/schedules/calendar/index.d.ts +1 -0
  264. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  265. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
  266. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  267. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  268. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  269. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  270. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  271. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  272. package/lib/components/schedules/products/list/index.d.ts +1 -0
  273. package/lib/components/schedules/resources/index.d.ts +1 -0
  274. package/lib/components/schedules/resources/list/index.d.ts +1 -0
  275. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  276. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  277. package/lib/components/schedules/schedules/index.d.ts +1 -0
  278. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  279. package/lib/components/shoppingCart/index.d.ts +1 -0
  280. package/lib/components/taxSelect/index.d.ts +1 -0
  281. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +4 -8
  282. package/lib/components/ticketBooking/components/ticketBooking/index.js +3 -124
  283. package/lib/components/ticketBooking/index.d.ts +1 -0
  284. package/lib/components/ticketBooking/locales.d.ts +146 -164
  285. package/lib/components/ticketBooking/locales.js +4 -22
  286. package/lib/components/ticketBooking/utils/index.d.ts +1 -5
  287. package/lib/components/ticketBooking/utils/index.js +5 -48
  288. package/lib/components/wallet/hooks/useWalletCard.d.ts +1 -0
  289. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  290. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  291. package/package.json +4 -4
  292. package/es/components/booking/components/voucher/utils.d.ts +0 -4
  293. package/es/components/booking/components/voucher/utils.js +0 -15
  294. package/es/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
  295. package/es/components/ticketBooking/utils/formatProductMessage.js +0 -62
  296. package/es/components/ticketBooking/utils/formatTime.d.ts +0 -31
  297. package/es/components/ticketBooking/utils/formatTime.js +0 -144
  298. package/lib/components/booking/components/voucher/utils.d.ts +0 -4
  299. package/lib/components/booking/components/voucher/utils.js +0 -43
  300. package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
  301. package/lib/components/ticketBooking/utils/formatProductMessage.js +0 -84
  302. package/lib/components/ticketBooking/utils/formatTime.d.ts +0 -31
  303. package/lib/components/ticketBooking/utils/formatTime.js +0 -139
@@ -1,4 +1,4 @@
1
- export declare const getFormatResourceListAndMap: (data: any[], bookingId?: number[]) => {
1
+ export declare const getFormatResourceListAndMap: (data: any[], bookingId?: number) => {
2
2
  list: any[];
3
3
  listMap: any;
4
4
  };
@@ -23,7 +23,7 @@ __export(utils_exports, {
23
23
  });
24
24
  module.exports = __toCommonJS(utils_exports);
25
25
  var import_mock = require("../mock");
26
- var getFormatResourceListAndMap = (data, bookingId = []) => {
26
+ var getFormatResourceListAndMap = (data, bookingId) => {
27
27
  let resourceList = (data || {}).concat([(0, import_mock.getNoResource2)({})]);
28
28
  const map = resourceList.reduce((prev, item) => {
29
29
  prev[item.id] = item;
@@ -37,7 +37,7 @@ var getFormatResourceListAndMap = (data, bookingId = []) => {
37
37
  let pax = 0;
38
38
  (((_a2 = map[cur]) == null ? void 0 : _a2.times) || []).forEach((time) => {
39
39
  time.event_list.forEach((event) => {
40
- if (!bookingId.includes(event.id)) {
40
+ if (event.id !== bookingId) {
41
41
  pax += (event == null ? void 0 : event.pax) || 0;
42
42
  }
43
43
  });
@@ -1,5 +1,5 @@
1
1
  export declare const getResourceTimeIsUsable: (item: any, cacheItem: any, resourceItem: any) => any;
2
- export declare const getSumCapacity: ({ cacheItem }: any, isCalcQuantity?: boolean) => number;
2
+ export declare const getSumCapacity: ({ cacheItem }: any) => number;
3
3
  /**
4
4
  * @title: 查找是否有可用的time
5
5
  * @description:
@@ -114,13 +114,12 @@ var getResourceTimeIsUsable = (item, cacheItem, resourceItem) => {
114
114
  };
115
115
  return time;
116
116
  };
117
- var getSumCapacity = ({ cacheItem }, isCalcQuantity = true) => {
118
- var _a;
117
+ var getSumCapacity = ({ cacheItem }) => {
119
118
  let sum = 0;
120
119
  for (let item of cacheItem._extend.capacity || []) {
121
120
  sum += item.value;
122
121
  }
123
- return sum * (isCalcQuantity ? ((_a = cacheItem == null ? void 0 : cacheItem._extend) == null ? void 0 : _a.quantity) || 1 : 1);
122
+ return sum;
124
123
  };
125
124
  var formatTimes = (resourceItem, cacheItem) => {
126
125
  let usableTimes = [];
@@ -261,7 +261,6 @@ declare const _default: {
261
261
  'pisell2.text.goodpass.code': string;
262
262
  'pisell2.text.goodpass.enter-code': string;
263
263
  'pisell2.text.goodpass.code-invalid': string;
264
- 'pisell2.text.goodpass.code-invalid-cart': string;
265
264
  'pisell2.text.status.valid': string;
266
265
  'pisell2.text.status.expired': string;
267
266
  'pisell2.text.validity.expired': (str: string) => string;
@@ -532,7 +531,6 @@ declare const _default: {
532
531
  'pisell2.text.goodpass.code': string;
533
532
  'pisell2.text.goodpass.enter-code': string;
534
533
  'pisell2.text.goodpass.code-invalid': string;
535
- 'pisell2.text.goodpass.code-invalid-cart': string;
536
534
  'pisell2.text.status.valid': string;
537
535
  'pisell2.text.status.expired': string;
538
536
  'pisell2.text.validity.expired': (str: string) => string;
@@ -803,7 +801,6 @@ declare const _default: {
803
801
  'pisell2.text.goodpass.code': string;
804
802
  'pisell2.text.goodpass.enter-code': string;
805
803
  'pisell2.text.goodpass.code-invalid': string;
806
- 'pisell2.text.goodpass.code-invalid-cart': string;
807
804
  'pisell2.text.status.valid': string;
808
805
  'pisell2.text.status.expired': string;
809
806
  'pisell2.text.validity.expired': (str: string) => string;
@@ -311,13 +311,12 @@ var locales_default = {
311
311
  "pisell2.text.send-form-reminder-tooltip": "Refresh forms",
312
312
  "pisell2.text.send-form-reminder-refresh": "Forms refreshed successfully",
313
313
  "pisell2.text.send-form-reminder-error-message": "Please select at least one reminder method",
314
- "pisell2.text.goodpass": "Promotion",
314
+ "pisell2.text.goodpass": "GoodPass",
315
315
  "pisell2.text.goodpass.product-vouchers": "Product Vouchers",
316
316
  "pisell2.text.goodpass.view-more": "View More",
317
317
  "pisell2.text.goodpass.code": "Code",
318
318
  "pisell2.text.goodpass.enter-code": "Enter Code",
319
319
  "pisell2.text.goodpass.code-invalid": "Current code is invalid",
320
- "pisell2.text.goodpass.code-invalid-cart": "No eligible items in the cart",
321
320
  "pisell2.text.status.valid": "Valid",
322
321
  "pisell2.text.status.expired": "Expired",
323
322
  "pisell2.text.validity.expired": (str) => {
@@ -614,13 +613,12 @@ var locales_default = {
614
613
  "pisell2.text.send-form-reminder-tooltip": "刷新表单",
615
614
  "pisell2.text.send-form-reminder-refresh": "已刷新表单",
616
615
  "pisell2.text.send-form-reminder-error-message": "请至少选择一种提醒方式",
617
- "pisell2.text.goodpass": "促销",
616
+ "pisell2.text.goodpass": "商品券",
618
617
  "pisell2.text.goodpass.product-vouchers": "商品兑换券",
619
618
  "pisell2.text.goodpass.view-more": "查看更多",
620
619
  "pisell2.text.goodpass.code": "券码",
621
620
  "pisell2.text.goodpass.enter-code": "请输入券码",
622
621
  "pisell2.text.goodpass.code-invalid": "当前券码不可用",
623
- "pisell2.text.goodpass.code-invalid-cart": "当前购物车中无可用商品",
624
622
  "pisell2.text.status.valid": "有效",
625
623
  "pisell2.text.status.expired": "已过期",
626
624
  "pisell2.text.validity.expired": (str) => {
@@ -917,13 +915,12 @@ var locales_default = {
917
915
  "pisell2.text.send-form-reminder-tooltip": "刷新表單",
918
916
  "pisell2.text.send-form-reminder-refresh": "已刷新表單",
919
917
  "pisell2.text.send-form-reminder-error-message": "請至少選擇一種提醒方式",
920
- "pisell2.text.goodpass": "促銷",
918
+ "pisell2.text.goodpass": "商品券",
921
919
  "pisell2.text.goodpass.product-vouchers": "商品兌換券",
922
920
  "pisell2.text.goodpass.view-more": "查看更多",
923
921
  "pisell2.text.goodpass.code": "券碼",
924
922
  "pisell2.text.goodpass.enter-code": "請輸入券碼",
925
923
  "pisell2.text.goodpass.code-invalid": "當前券碼不可用",
926
- "pisell2.text.goodpass.code-invalid-cart": "當前購物車中無可用商品",
927
924
  "pisell2.text.status.valid": "有效",
928
925
  "pisell2.text.status.expired": "已過期",
929
926
  "pisell2.text.validity.expired": (str) => {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type ContactType = {
3
4
  country_calling_code: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SelectProps } from 'antd';
2
3
  interface DurationProps extends SelectProps {
3
4
  locale?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  export interface InfoProps {
3
4
  isEdit: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  export interface InfoProps {
3
4
  title?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const AddNote: ({ value, onChange, wait, title, placeholder }: any) => JSX.Element;
3
4
  export default AddNote;
@@ -142,7 +142,6 @@ export declare const deleteCacheParams: () => void;
142
142
  export declare const getDays: (cacheItem: any, type: 'minutes' | 'days') => any;
143
143
  export declare const isSessionProduct: (cacheItem: any) => boolean;
144
144
  export declare const getIsEject: (item: any, type: 'select' | 'detail') => boolean;
145
- export declare const getIsOnlySession: (item: any) => boolean;
146
145
  /**
147
146
  * @title: 创建一个服务商品
148
147
  * @description:
@@ -44,7 +44,6 @@ __export(utils_exports, {
44
44
  getErrorList: () => getErrorList,
45
45
  getIsEdit: () => getIsEdit,
46
46
  getIsEject: () => getIsEject,
47
- getIsOnlySession: () => getIsOnlySession,
48
47
  getLastServer: () => getLastServer,
49
48
  getNowTime: () => getNowTime,
50
49
  getProductTotalPrice: () => getProductTotalPrice,
@@ -529,10 +528,6 @@ var getIsEject = (item, type) => {
529
528
  const isSession = isSessionProduct(item);
530
529
  return type === "detail" || item.bundle_group_count > 0 || item.option_group_count > 0 || item.is_variant > 0 || isSession;
531
530
  };
532
- var getIsOnlySession = (item) => {
533
- const isSession = isSessionProduct(item);
534
- return !(item.bundle_group_count > 0 || item.option_group_count > 0 || item.is_variant > 0) && isSession;
535
- };
536
531
  var getServerItemExtend = (state, cacheItem, timeObj) => {
537
532
  if (!cacheItem.new && cacheItem._extend.endDate) {
538
533
  return cacheItem._extend;
@@ -696,7 +691,6 @@ var getIsEdit = (state) => {
696
691
  getErrorList,
697
692
  getIsEdit,
698
693
  getIsEject,
699
- getIsOnlySession,
700
694
  getLastServer,
701
695
  getNowTime,
702
696
  getProductTotalPrice,
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Eftpos, DeviceStatus } from './const';
2
3
  import './index.less';
3
4
  interface PosProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DeviceProp } from "./const";
2
3
  interface PosProps {
3
4
  eftposName: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PosProps } from './const';
2
3
  /**
3
4
  * @title: 支付金额信息配置页
@@ -8,7 +9,7 @@ import { PosProps } from './const';
8
9
  */
9
10
  declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
10
11
  className?: string | undefined;
11
- onChange?: ((status: "success" | "page" | "fail" | "print" | "mark_tx_processed", params?: string | {
12
+ onChange?: ((status: "page" | "success" | "fail" | "print" | "mark_tx_processed", params?: string | {
12
13
  [keys: string]: unknown;
13
14
  } | undefined, other?: any) => void) | undefined;
14
15
  onClose: () => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  declare const _default: ({ className, isMobile, onChange }: ActionProps) => JSX.Element;
3
4
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  declare const _default: ({ onChange, className, isMobile }: ActionProps) => JSX.Element;
3
4
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  /**
3
4
  * @title: 断网(客户端)提示页
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  /**
3
4
  * @title: 支付状态未知页面
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  import './index.less';
3
4
  /**
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  /**
3
4
  * @title: 取消签名确认页
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PayProps, PosProps } from './const';
2
3
  import './device.less';
3
4
  /**
@@ -10,7 +11,7 @@ import './device.less';
10
11
  declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, }: {
11
12
  api: PayProps['api'];
12
13
  className?: string | undefined;
13
- onChange?: ((status: "success" | "page" | "fail" | "print" | "mark_tx_processed", params?: string | {
14
+ onChange?: ((status: "page" | "success" | "fail" | "print" | "mark_tx_processed", params?: string | {
14
15
  [keys: string]: unknown;
15
16
  } | undefined, other?: any) => void) | undefined;
16
17
  onClose: () => void;
@@ -15,7 +15,7 @@ export declare const useStoreRef: <T extends {
15
15
  readonly numRef: React.MutableRefObject<string | number | undefined>;
16
16
  readonly orderIdRef: React.MutableRefObject<string | number>;
17
17
  readonly modeRef: React.MutableRefObject<ModeEnum>;
18
- readonly statusRef: React.MutableRefObject<"success" | "warn" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question">;
18
+ readonly statusRef: React.MutableRefObject<"loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question">;
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PosProps } from './const';
2
3
  import './index.less';
3
4
  declare const _default: (props: PosProps) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PayProps } from './const';
2
3
  import './index.less';
3
4
  /**
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { StatusEnum } from '../const';
2
3
  export declare const POS: ({ api, onChange, }: {
3
4
  api: {
@@ -174,7 +174,7 @@ export declare const updateCustom: (payload: {
174
174
  export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
175
175
  type: EActionTypes;
176
176
  payload: {
177
- status: "success" | "warn" | "loading" | "fail" | "question";
177
+ status: "loading" | "success" | "warn" | "fail" | "question";
178
178
  };
179
179
  };
180
180
  /**
@@ -308,7 +308,7 @@ export declare const backUpFree: (payload: Partial<State>) => {
308
308
  net?: boolean | undefined;
309
309
  component?: string | undefined;
310
310
  form?: string | undefined;
311
- status?: "success" | "warn" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
311
+ status?: "loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
312
312
  warn?: string | undefined;
313
313
  steps?: {
314
314
  /** 用于重置当前步骤 */
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './tip.less';
2
3
  /**
3
4
  * @title: 支付状态未知页面
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * @title: 按钮操作区
3
4
  * @description: 仅包含签名
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: ({ api, onChange, formatAmount, }: {
2
3
  api: any;
3
4
  onChange: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ErrorTip: ({ text }: any) => JSX.Element;
4
3
  export default ErrorTip;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Layout: () => JSX.Element;
3
4
  export default Layout;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Header: () => JSX.Element;
3
4
  export default Header;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const InformationOptionsModal: (props: any) => JSX.Element;
4
3
  export default InformationOptionsModal;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SelectHolderModal: (props: any) => JSX.Element;
2
3
  export default SelectHolderModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare type CallToBookProps = {
3
2
  show: boolean;
4
3
  type: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const WeekItem: (props: any) => JSX.Element;
4
3
  export default WeekItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare type CalenDateWeekProps = {
4
3
  currentDate: string;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Resource: (props: any) => JSX.Element;
2
3
  export default Resource;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Schedule: () => JSX.Element;
2
3
  export default Schedule;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare type Item = any;
3
4
  interface ProductItemProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarDataItem } from '../../type';
3
2
  declare type CalendarItemProps = {
4
3
  month: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  export interface LoginProps {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ThreedsLoading: ({ title }: any) => JSX.Element;
3
4
  export default ThreedsLoading;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SetupForm: ({ onReady, amount, order_id, payment_method, scene, }: any) => JSX.Element;
4
3
  export default SetupForm;
@@ -65,7 +65,7 @@ var isOfflinePayment = (type) => {
65
65
  ].includes(type);
66
66
  };
67
67
  var PaymentMethods = (props, ref) => {
68
- var _a, _b, _c;
68
+ var _a;
69
69
  const MWCreditCardRef2 = (0, import_react.useRef)(null);
70
70
  const SuperPayAliPayH5Ref2 = (0, import_react.useRef)(null);
71
71
  const StripePayRef2 = (0, import_react.useRef)(null);
@@ -83,9 +83,9 @@ var PaymentMethods = (props, ref) => {
83
83
  const context = (0, import_useEngineContext.default)();
84
84
  const { interaction } = (_a = context.appHelper) == null ? void 0 : _a.utils;
85
85
  const init = async ({ type, payGroup }) => {
86
- var _a2, _b2;
86
+ var _a2, _b;
87
87
  const waitAmount = (payGroup == null ? void 0 : payGroup.wait_amount) || 0;
88
- const cards = (_b2 = (_a2 = payGroup == null ? void 0 : payGroup.walletPass) == null ? void 0 : _a2.cards) == null ? void 0 : _b2.length;
88
+ const cards = (_b = (_a2 = payGroup == null ? void 0 : payGroup.walletPass) == null ? void 0 : _a2.cards) == null ? void 0 : _b.length;
89
89
  if (cards && (waitAmount <= 0 || isOfflinePayment(type))) {
90
90
  try {
91
91
  await (0, import_serve.walletPassPay)((0, import_utils.formatWalletPassParams)(payGroup));
@@ -115,11 +115,10 @@ var PaymentMethods = (props, ref) => {
115
115
  }
116
116
  await onPayByType({ type, payGroup });
117
117
  };
118
- console.log("paymentResult isAppEnv", (_c = (_b = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _b.isAppEnv) == null ? void 0 : _c.call(_b), interaction, context);
119
118
  (0, import_react.useEffect)(() => {
120
- var _a2, _b2, _c2, _d;
121
- console.log("paymentResult isAppEnv", (_b2 = (_a2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _a2.isAppEnv) == null ? void 0 : _b2.call(_a2));
122
- if ((_d = (_c2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _c2.isAppEnv) == null ? void 0 : _d.call(_c2)) {
119
+ var _a2, _b, _c, _d;
120
+ console.log("paymentResult isAppEnv", (_b = (_a2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _a2.isAppEnv) == null ? void 0 : _b.call(_a2));
121
+ if ((_d = (_c = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _c.isAppEnv) == null ? void 0 : _d.call(_c)) {
123
122
  interaction.utils.mountFunction("global", "paymentResult", (strResult) => {
124
123
  console.log("paymentResult", strResult);
125
124
  if (!(0, import_utils2.isJson)(strResult)) return;
@@ -135,18 +134,18 @@ var PaymentMethods = (props, ref) => {
135
134
  }
136
135
  }, []);
137
136
  const onPayByType = async ({ type, payGroup }) => {
138
- var _a2, _b2, _c2, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
137
+ var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
139
138
  console.log(type, payGroup);
140
139
  if (type === "mw.apple") {
141
140
  await ((_a2 = ApplePayRef2.current) == null ? void 0 : _a2.init({ payGroup }));
142
141
  return;
143
142
  }
144
143
  if (type === "mw.google") {
145
- await ((_b2 = GooglePayRef2.current) == null ? void 0 : _b2.init({ payGroup }));
144
+ await ((_b = GooglePayRef2.current) == null ? void 0 : _b.init({ payGroup }));
146
145
  return;
147
146
  }
148
147
  if (type === "mw.credit_card") {
149
- (_c2 = MWCreditCardRef2.current) == null ? void 0 : _c2.init({ payGroup });
148
+ (_c = MWCreditCardRef2.current) == null ? void 0 : _c.init({ payGroup });
150
149
  return;
151
150
  }
152
151
  if (type === "superpay.alipay.h5") {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { WalletPassDataType } from '../../../PaymentMethods/WalletPass/serve';
3
2
  import './index.less';
4
3
  interface WalletUseListProps {
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const DateSectionCom: ({ value, onChange, showTime, className, style, useSpace, format, itemStyle, }: any) => JSX.Element;
2
3
  export default DateSectionCom;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const GenderField: (props: any) => JSX.Element;
2
3
  export default GenderField;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface AddClientProps {
3
4
  onChange: (value: any) => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface RightPanelProps {
3
4
  value: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
3
4
  export default ProductItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductItemPreview: ({ item, onClick, onRemove, amountSymbol, style, className, }: any) => JSX.Element;
3
4
  export default ProductItemPreview;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface valueType {
3
4
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const SelectResourcesTable: ({ value, onChange }: any) => JSX.Element;
3
4
  export default SelectResourcesTable;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface ProductExtensionProps {
3
4
  onDataChange: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface RuleSettingProps {
3
4
  value: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface RuleSettingProps {
3
4
  value: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const Calendar: () => JSX.Element;
3
4
  export default Calendar;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ScheduleItem } from "../../type";
2
3
  import "./index.less";
3
4
  declare type ScheduleDetailListPropsType = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ButtonProps } from 'antd';
2
3
  import { ScheduleItem } from '../../type';
3
4
  import './index.less';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const MaxParticipantsModule: ({ form, value, onChange, useSchedule, isAutoChange, onData, }: {
3
4
  form: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const ResourcesModule: ({ product }: {
2
3
  product: any;
3
4
  }) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const AddSchedules: ({ value, onChange, drawerContainer, isSelf }: any) => JSX.Element;
3
4
  export default AddSchedules;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type Value = number[];
3
4
  declare const SchedulesModule: ({ value, onChange, drawerContainer, ruleFn, tabKey, previewItemChange, isSelf, isTitle, }: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductDetailDrawer: () => JSX.Element;
3
4
  export default ProductDetailDrawer;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type Item = any;
3
4
  interface ProductItemProps {