@pisell/private-materials 3.3.79 → 3.3.80

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 (549) 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 +5 -5
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +6 -6
  11. package/es/businessModel/SalesModel/Sales/index.js +4 -37
  12. package/es/businessModel/SalesModel/index.d.ts +1 -0
  13. package/es/components/Sales/Resource/index.js +2 -2
  14. package/es/components/Sales/Resource/serve.d.ts +0 -7
  15. package/es/components/Sales/Resource/serve.js +0 -10
  16. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  17. package/es/components/appointmentBooking/components/Cart/Item/index.js +2 -4
  18. package/es/components/appointmentBooking/components/Cart/Item/index.less +3 -3
  19. package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  20. package/es/components/appointmentBooking/components/Content/index.d.ts +1 -0
  21. package/es/components/appointmentBooking/components/Content/index.less +1 -1
  22. package/es/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
  23. package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  24. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  25. package/es/components/appointmentBooking/components/Header/index.js +14 -8
  26. package/es/components/appointmentBooking/components/Services/index.js +36 -38
  27. package/es/components/appointmentBooking/components/Voucher/index.js +0 -13
  28. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.js +7 -6
  29. package/es/components/appointmentBooking/deposit/index.d.ts +1 -0
  30. package/es/components/appointmentBooking/index.js +0 -14
  31. package/es/components/appointmentBooking/index.less +1 -1
  32. package/es/components/appointmentBooking/locales.js +3 -3
  33. package/es/components/booking/addons/index.js +2 -9
  34. package/es/components/booking/addons/model.js +0 -5
  35. package/es/components/booking/components/TabProduct/index.d.ts +1 -0
  36. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  37. package/es/components/booking/components/TabProduct/selectProductItem/index.js +1 -3
  38. package/es/components/booking/components/TabProduct/selectProductItem/index.less +0 -6
  39. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
  40. package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
  41. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  42. package/es/components/booking/components/footer/amount.js +1 -2
  43. package/es/components/booking/components/footer/index.js +3 -9
  44. package/es/components/booking/components/footer/utils.d.ts +0 -1
  45. package/es/components/booking/components/footer/utils.js +37 -75
  46. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  47. package/es/components/booking/components/voucher/index.js +66 -110
  48. package/es/components/booking/deposit/index.d.ts +1 -0
  49. package/es/components/booking/forms/footer.d.ts +1 -0
  50. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  51. package/es/components/booking/forms/single/index.d.ts +1 -0
  52. package/es/components/booking/forms/table/index.d.ts +1 -0
  53. package/es/components/booking/hooks/useClearCart.d.ts +1 -0
  54. package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
  55. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  56. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  57. package/es/components/booking/info/date/index.d.ts +1 -0
  58. package/es/components/booking/info/dateRange/index.d.ts +1 -0
  59. package/es/components/booking/info/header/index.d.ts +1 -0
  60. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  61. package/es/components/booking/info/index.d.ts +1 -0
  62. package/es/components/booking/info/notes/index.d.ts +1 -0
  63. package/es/components/booking/info/service/Lists.d.ts +1 -0
  64. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  65. package/es/components/booking/info/service/addService/index.d.ts +1 -0
  66. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  67. package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  68. package/es/components/booking/info/service/like/index.d.ts +1 -0
  69. package/es/components/booking/info/service/serviceItem/index.d.ts +1 -0
  70. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  71. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  72. package/es/components/booking/info/service2/utils.d.ts +1 -1
  73. package/es/components/booking/info/service2/utils.js +4 -9
  74. package/es/components/booking/info/utils.js +1 -1
  75. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  76. package/es/components/booking/info2/service/addService/index.js +2 -2
  77. package/es/components/booking/info2/service/addService/utils.d.ts +0 -10
  78. package/es/components/booking/info2/service/addService/utils.js +13 -43
  79. package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  80. package/es/components/booking/info2/service/editService/Resources/index.js +8 -22
  81. package/es/components/booking/info2/service/editService/Resources/index.less +0 -6
  82. package/es/components/booking/info2/service/editService/index.js +2 -5
  83. package/es/components/booking/info2/service/serviceItem/index.d.ts +1 -0
  84. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  85. package/es/components/booking/info2/utilsByBooking.d.ts +1 -1
  86. package/es/components/booking/info2/utilsByBooking.js +3 -14
  87. package/es/components/booking/locales.d.ts +0 -6
  88. package/es/components/booking/locales.js +3 -9
  89. package/es/components/booking/materiels/contacts/index.d.ts +1 -0
  90. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  91. package/es/components/booking/materiels/holder/index.d.ts +1 -0
  92. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  93. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  94. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  95. package/es/components/booking/notes/addNote/index.d.ts +1 -0
  96. package/es/components/eftpos/deviceList/index.d.ts +1 -0
  97. package/es/components/eftpos/form/index.d.ts +1 -0
  98. package/es/components/eftpos/group/index.d.ts +1 -0
  99. package/es/components/eftpos/hooks.d.ts +1 -0
  100. package/es/components/eftpos/icon/apiKey.d.ts +1 -0
  101. package/es/components/eftpos/icon/device.d.ts +1 -0
  102. package/es/components/eftpos/index.d.ts +1 -0
  103. package/es/components/eftpos/pos.d.ts +1 -0
  104. package/es/components/eftpos/receipt/index.d.ts +1 -0
  105. package/es/components/eftpos/surcharge/index.d.ts +1 -0
  106. package/es/components/eftposPay/amount.d.ts +2 -1
  107. package/es/components/eftposPay/app.d.ts +1 -0
  108. package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
  109. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  110. package/es/components/eftposPay/component/fail/index.d.ts +1 -0
  111. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  112. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  113. package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
  114. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  115. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  116. package/es/components/eftposPay/component/step/index.d.ts +1 -0
  117. package/es/components/eftposPay/component/step/step.d.ts +1 -0
  118. package/es/components/eftposPay/device.d.ts +2 -1
  119. package/es/components/eftposPay/hooks.d.ts +2 -2
  120. package/es/components/eftposPay/index.d.ts +1 -0
  121. package/es/components/eftposPay/pay.d.ts +1 -0
  122. package/es/components/eftposPay/payo/config.d.ts +1 -0
  123. package/es/components/eftposPay/store/index.d.ts +5 -5
  124. package/es/components/eftposPay/tip.d.ts +1 -0
  125. package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
  126. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  127. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  128. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  129. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
  130. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
  131. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
  132. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
  133. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  134. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
  135. package/es/components/eventBooking/components/Provider/Event/index.js +4 -13
  136. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  137. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  138. package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  139. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  140. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
  141. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
  142. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  143. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  144. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  145. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  146. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  147. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  148. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  149. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  150. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  151. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  152. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  153. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  154. package/es/components/eventBooking/components/bookingDetailModal/index.js +3 -19
  155. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  156. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  157. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
  158. package/es/components/eventBooking/index.js +7 -21
  159. package/es/components/eventBooking/locales.js +3 -3
  160. package/es/components/index.d.ts +1 -3
  161. package/es/components/index.js +1 -3
  162. package/es/components/login/index.d.ts +1 -0
  163. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  164. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  165. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  166. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  167. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  168. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  169. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  170. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  171. package/es/components/pay/toC/PaymentMethods/index.js +4 -5
  172. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  173. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  174. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  175. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  176. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  177. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  178. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  179. package/es/components/pisellSelectCustomerModal/index.d.ts +1 -0
  180. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  181. package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
  182. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  183. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  184. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  185. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  186. package/es/components/productExtension/index.d.ts +1 -0
  187. package/es/components/productSelect/components/TabProduct/index.d.ts +1 -0
  188. package/es/components/productSelect/components/productGroup/index.d.ts +1 -0
  189. package/es/components/ruleSetting/index.d.ts +1 -0
  190. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  191. package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
  192. package/es/components/schedules/calendar/index.d.ts +1 -0
  193. package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
  194. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  195. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  196. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
  197. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  198. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  199. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  200. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  201. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  202. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  203. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  204. package/es/components/schedules/products/index.d.ts +1 -0
  205. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  206. package/es/components/schedules/products/list/index.d.ts +1 -0
  207. package/es/components/schedules/resources/index.d.ts +1 -0
  208. package/es/components/schedules/resources/list/index.d.ts +1 -0
  209. package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
  210. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  211. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  212. package/es/components/schedules/schedules/index.d.ts +1 -0
  213. package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  214. package/es/components/shoppingCart/components/Cart/index.d.ts +1 -0
  215. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  216. package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
  217. package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -0
  218. package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
  219. package/es/components/shoppingCart/index.d.ts +1 -0
  220. package/es/components/taxSelect/index.d.ts +1 -0
  221. package/es/components/ticketBooking/components/addServiceVariant/addService.js +5 -6
  222. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  223. package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -0
  224. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
  225. package/es/components/ticketBooking/components/ticketBooking/index.js +140 -261
  226. package/es/components/ticketBooking/components/timeBar/index.d.ts +1 -0
  227. package/es/components/ticketBooking/index.d.ts +1 -0
  228. package/es/components/ticketBooking/locales.d.ts +146 -164
  229. package/es/components/ticketBooking/locales.js +147 -195
  230. package/es/components/ticketBooking/utils/index.d.ts +1 -5
  231. package/es/components/ticketBooking/utils/index.js +6 -58
  232. package/es/components/wallet/hooks/useWalletCard.d.ts +1 -0
  233. package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
  234. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  235. package/es/index.d.ts +0 -2
  236. package/es/index.js +1 -3
  237. package/lib/businessModel/SalesModel/Sales/index.js +8 -22
  238. package/lib/businessModel/SalesModel/index.d.ts +1 -0
  239. package/lib/components/Sales/Resource/index.js +1 -1
  240. package/lib/components/Sales/Resource/serve.d.ts +0 -7
  241. package/lib/components/Sales/Resource/serve.js +2 -9
  242. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  243. package/lib/components/appointmentBooking/components/Cart/Item/index.js +4 -5
  244. package/lib/components/appointmentBooking/components/Cart/Item/index.less +3 -3
  245. package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  246. package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
  247. package/lib/components/appointmentBooking/components/Content/index.less +1 -1
  248. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
  249. package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  250. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  251. package/lib/components/appointmentBooking/components/Header/index.js +3 -2
  252. package/lib/components/appointmentBooking/components/Services/index.js +18 -19
  253. package/lib/components/appointmentBooking/components/Voucher/index.js +0 -9
  254. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.js +1 -0
  255. package/lib/components/appointmentBooking/deposit/index.d.ts +1 -0
  256. package/lib/components/appointmentBooking/index.js +0 -11
  257. package/lib/components/appointmentBooking/index.less +1 -1
  258. package/lib/components/appointmentBooking/locales.js +3 -3
  259. package/lib/components/booking/addons/index.js +2 -10
  260. package/lib/components/booking/addons/model.js +0 -3
  261. package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
  262. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  263. package/lib/components/booking/components/TabProduct/selectProductItem/index.js +1 -5
  264. package/lib/components/booking/components/TabProduct/selectProductItem/index.less +0 -6
  265. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
  266. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
  267. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  268. package/lib/components/booking/components/footer/amount.js +1 -2
  269. package/lib/components/booking/components/footer/index.js +5 -10
  270. package/lib/components/booking/components/footer/utils.d.ts +0 -1
  271. package/lib/components/booking/components/footer/utils.js +12 -50
  272. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  273. package/lib/components/booking/components/voucher/index.js +67 -111
  274. package/lib/components/booking/deposit/index.d.ts +1 -0
  275. package/lib/components/booking/forms/footer.d.ts +1 -0
  276. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  277. package/lib/components/booking/forms/single/index.d.ts +1 -0
  278. package/lib/components/booking/forms/table/index.d.ts +1 -0
  279. package/lib/components/booking/hooks/useClearCart.d.ts +1 -0
  280. package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
  281. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  282. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  283. package/lib/components/booking/info/date/index.d.ts +1 -0
  284. package/lib/components/booking/info/dateRange/index.d.ts +1 -0
  285. package/lib/components/booking/info/header/index.d.ts +1 -0
  286. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  287. package/lib/components/booking/info/index.d.ts +1 -0
  288. package/lib/components/booking/info/notes/index.d.ts +1 -0
  289. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  290. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  291. package/lib/components/booking/info/service/addService/index.d.ts +1 -0
  292. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  293. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  294. package/lib/components/booking/info/service/like/index.d.ts +1 -0
  295. package/lib/components/booking/info/service/serviceItem/index.d.ts +1 -0
  296. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  297. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  298. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  299. package/lib/components/booking/info/service2/utils.js +3 -5
  300. package/lib/components/booking/info/utils.js +3 -1
  301. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  302. package/lib/components/booking/info2/service/addService/index.js +2 -2
  303. package/lib/components/booking/info2/service/addService/utils.d.ts +0 -10
  304. package/lib/components/booking/info2/service/addService/utils.js +4 -26
  305. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  306. package/lib/components/booking/info2/service/editService/Resources/index.js +10 -54
  307. package/lib/components/booking/info2/service/editService/Resources/index.less +0 -6
  308. package/lib/components/booking/info2/service/editService/index.js +2 -5
  309. package/lib/components/booking/info2/service/serviceItem/index.d.ts +1 -0
  310. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  311. package/lib/components/booking/info2/utilsByBooking.d.ts +1 -1
  312. package/lib/components/booking/info2/utilsByBooking.js +2 -9
  313. package/lib/components/booking/locales.d.ts +0 -6
  314. package/lib/components/booking/locales.js +3 -9
  315. package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
  316. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  317. package/lib/components/booking/materiels/holder/index.d.ts +1 -0
  318. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  319. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  320. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  321. package/lib/components/booking/notes/addNote/index.d.ts +1 -0
  322. package/lib/components/eftpos/deviceList/index.d.ts +1 -0
  323. package/lib/components/eftpos/form/index.d.ts +1 -0
  324. package/lib/components/eftpos/group/index.d.ts +1 -0
  325. package/lib/components/eftpos/hooks.d.ts +1 -0
  326. package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
  327. package/lib/components/eftpos/icon/device.d.ts +1 -0
  328. package/lib/components/eftpos/index.d.ts +1 -0
  329. package/lib/components/eftpos/pos.d.ts +1 -0
  330. package/lib/components/eftpos/receipt/index.d.ts +1 -0
  331. package/lib/components/eftpos/surcharge/index.d.ts +1 -0
  332. package/lib/components/eftposPay/amount.d.ts +2 -1
  333. package/lib/components/eftposPay/app.d.ts +1 -0
  334. package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
  335. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  336. package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
  337. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  338. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  339. package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
  340. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  341. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  342. package/lib/components/eftposPay/component/step/index.d.ts +1 -0
  343. package/lib/components/eftposPay/component/step/step.d.ts +1 -0
  344. package/lib/components/eftposPay/device.d.ts +2 -1
  345. package/lib/components/eftposPay/hooks.d.ts +2 -2
  346. package/lib/components/eftposPay/index.d.ts +1 -0
  347. package/lib/components/eftposPay/pay.d.ts +1 -0
  348. package/lib/components/eftposPay/payo/config.d.ts +1 -0
  349. package/lib/components/eftposPay/store/index.d.ts +5 -5
  350. package/lib/components/eftposPay/tip.d.ts +1 -0
  351. package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
  352. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  353. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  354. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  355. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
  356. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
  357. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
  358. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
  359. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  360. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
  361. package/lib/components/eventBooking/components/Provider/Event/index.js +3 -10
  362. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  363. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  364. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  365. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  366. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
  367. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
  368. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  369. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  370. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  371. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  372. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  373. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  374. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  375. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  376. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  377. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  378. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  379. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  380. package/lib/components/eventBooking/components/bookingDetailModal/index.js +3 -9
  381. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  382. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  383. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
  384. package/lib/components/eventBooking/index.js +7 -11
  385. package/lib/components/eventBooking/locales.js +3 -3
  386. package/lib/components/index.d.ts +1 -3
  387. package/lib/components/index.js +0 -6
  388. package/lib/components/login/index.d.ts +1 -0
  389. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  390. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  391. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  392. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  393. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  394. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  395. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  396. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  397. package/lib/components/pay/toC/PaymentMethods/index.js +9 -10
  398. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  399. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  400. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  401. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  402. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  403. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  404. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  405. package/lib/components/pisellSelectCustomerModal/index.d.ts +1 -0
  406. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  407. package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
  408. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  409. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  410. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  411. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  412. package/lib/components/productExtension/index.d.ts +1 -0
  413. package/lib/components/productSelect/components/TabProduct/index.d.ts +1 -0
  414. package/lib/components/productSelect/components/productGroup/index.d.ts +1 -0
  415. package/lib/components/ruleSetting/index.d.ts +1 -0
  416. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  417. package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
  418. package/lib/components/schedules/calendar/index.d.ts +1 -0
  419. package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
  420. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  421. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  422. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
  423. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  424. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  425. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  426. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  427. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  428. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  429. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  430. package/lib/components/schedules/products/index.d.ts +1 -0
  431. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  432. package/lib/components/schedules/products/list/index.d.ts +1 -0
  433. package/lib/components/schedules/resources/index.d.ts +1 -0
  434. package/lib/components/schedules/resources/list/index.d.ts +1 -0
  435. package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
  436. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  437. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  438. package/lib/components/schedules/schedules/index.d.ts +1 -0
  439. package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  440. package/lib/components/shoppingCart/components/Cart/index.d.ts +1 -0
  441. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  442. package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
  443. package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -0
  444. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
  445. package/lib/components/shoppingCart/index.d.ts +1 -0
  446. package/lib/components/taxSelect/index.d.ts +1 -0
  447. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +4 -6
  448. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  449. package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -0
  450. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
  451. package/lib/components/ticketBooking/components/ticketBooking/index.js +141 -267
  452. package/lib/components/ticketBooking/components/timeBar/index.d.ts +1 -0
  453. package/lib/components/ticketBooking/index.d.ts +1 -0
  454. package/lib/components/ticketBooking/locales.d.ts +146 -164
  455. package/lib/components/ticketBooking/locales.js +4 -22
  456. package/lib/components/ticketBooking/utils/index.d.ts +1 -5
  457. package/lib/components/ticketBooking/utils/index.js +5 -48
  458. package/lib/components/wallet/hooks/useWalletCard.d.ts +1 -0
  459. package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
  460. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  461. package/lib/index.d.ts +0 -2
  462. package/lib/index.js +0 -6
  463. package/package.json +3 -3
  464. package/es/components/booking/components/voucher/utils.d.ts +0 -4
  465. package/es/components/booking/components/voucher/utils.js +0 -15
  466. package/es/components/booking/editBookingModal/index.d.ts +0 -5
  467. package/es/components/booking/editBookingModal/index.js +0 -386
  468. package/es/components/booking/editBookingModal/index.less +0 -8
  469. package/es/components/booking/editBookingModal/locales.d.ts +0 -21
  470. package/es/components/booking/editBookingModal/locales.js +0 -20
  471. package/es/components/booking/editBookingModal/mock.d.ts +0 -807
  472. package/es/components/booking/editBookingModal/mock.js +0 -2993
  473. package/es/components/booking/editBookingModal/serve.d.ts +0 -51
  474. package/es/components/booking/editBookingModal/serve.js +0 -288
  475. package/es/components/booking/editBookingModal/type.d.ts +0 -12
  476. package/es/components/booking/editBookingModal/type.js +0 -1
  477. package/es/components/booking/editBookingModal/utils.d.ts +0 -12
  478. package/es/components/booking/editBookingModal/utils.js +0 -157
  479. package/es/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +0 -7
  480. package/es/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.js +0 -26
  481. package/es/components/booking/info2/service/editService/ResourcesV2/index.d.ts +0 -10
  482. package/es/components/booking/info2/service/editService/ResourcesV2/index.js +0 -308
  483. package/es/components/booking/info2/service/editService/ResourcesV2/index.less +0 -44
  484. package/es/components/stepController/components/Content/index.d.ts +0 -7
  485. package/es/components/stepController/components/Content/index.js +0 -9
  486. package/es/components/stepController/components/Content/index.less +0 -8
  487. package/es/components/stepController/components/Footer/index.d.ts +0 -8
  488. package/es/components/stepController/components/Footer/index.js +0 -15
  489. package/es/components/stepController/components/Footer/index.less +0 -39
  490. package/es/components/stepController/components/Header/index.d.ts +0 -20
  491. package/es/components/stepController/components/Header/index.js +0 -97
  492. package/es/components/stepController/components/Header/index.less +0 -21
  493. package/es/components/stepController/index.d.ts +0 -5
  494. package/es/components/stepController/index.js +0 -64
  495. package/es/components/stepController/index.less +0 -11
  496. package/es/components/stepController/locales.d.ts +0 -27
  497. package/es/components/stepController/locales.js +0 -32
  498. package/es/components/stepController/types.d.ts +0 -23
  499. package/es/components/stepController/types.js +0 -1
  500. package/es/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
  501. package/es/components/ticketBooking/utils/formatProductMessage.js +0 -62
  502. package/es/components/ticketBooking/utils/formatTime.d.ts +0 -31
  503. package/es/components/ticketBooking/utils/formatTime.js +0 -144
  504. package/es/hooks/useWindowSize.d.ts +0 -5
  505. package/es/hooks/useWindowSize.js +0 -26
  506. package/lib/components/booking/components/voucher/utils.d.ts +0 -4
  507. package/lib/components/booking/components/voucher/utils.js +0 -43
  508. package/lib/components/booking/editBookingModal/index.d.ts +0 -5
  509. package/lib/components/booking/editBookingModal/index.js +0 -363
  510. package/lib/components/booking/editBookingModal/index.less +0 -8
  511. package/lib/components/booking/editBookingModal/locales.d.ts +0 -21
  512. package/lib/components/booking/editBookingModal/locales.js +0 -44
  513. package/lib/components/booking/editBookingModal/mock.d.ts +0 -807
  514. package/lib/components/booking/editBookingModal/mock.js +0 -3314
  515. package/lib/components/booking/editBookingModal/serve.d.ts +0 -51
  516. package/lib/components/booking/editBookingModal/serve.js +0 -178
  517. package/lib/components/booking/editBookingModal/type.d.ts +0 -12
  518. package/lib/components/booking/editBookingModal/type.js +0 -17
  519. package/lib/components/booking/editBookingModal/utils.d.ts +0 -12
  520. package/lib/components/booking/editBookingModal/utils.js +0 -158
  521. package/lib/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +0 -7
  522. package/lib/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.js +0 -53
  523. package/lib/components/booking/info2/service/editService/ResourcesV2/index.d.ts +0 -10
  524. package/lib/components/booking/info2/service/editService/ResourcesV2/index.js +0 -311
  525. package/lib/components/booking/info2/service/editService/ResourcesV2/index.less +0 -44
  526. package/lib/components/stepController/components/Content/index.d.ts +0 -7
  527. package/lib/components/stepController/components/Content/index.js +0 -40
  528. package/lib/components/stepController/components/Content/index.less +0 -8
  529. package/lib/components/stepController/components/Footer/index.d.ts +0 -8
  530. package/lib/components/stepController/components/Footer/index.js +0 -49
  531. package/lib/components/stepController/components/Footer/index.less +0 -39
  532. package/lib/components/stepController/components/Header/index.d.ts +0 -20
  533. package/lib/components/stepController/components/Header/index.js +0 -104
  534. package/lib/components/stepController/components/Header/index.less +0 -21
  535. package/lib/components/stepController/index.d.ts +0 -5
  536. package/lib/components/stepController/index.js +0 -89
  537. package/lib/components/stepController/index.less +0 -11
  538. package/lib/components/stepController/locales.d.ts +0 -27
  539. package/lib/components/stepController/locales.js +0 -50
  540. package/lib/components/stepController/types.d.ts +0 -23
  541. package/lib/components/stepController/types.js +0 -17
  542. package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
  543. package/lib/components/ticketBooking/utils/formatProductMessage.js +0 -84
  544. package/lib/components/ticketBooking/utils/formatTime.d.ts +0 -31
  545. package/lib/components/ticketBooking/utils/formatTime.js +0 -139
  546. package/lib/hooks/useWindowSize.d.ts +0 -5
  547. package/lib/hooks/useWindowSize.js +0 -51
  548. package/lowcode/edit-booking-modal/meta.ts +0 -53
  549. package/lowcode/step-controller/meta.ts +0 -88
@@ -183,18 +183,10 @@ export var formatResources = function formatResources(_ref5) {
183
183
  className: "resource-option"
184
184
  }, /*#__PURE__*/React.createElement("div", {
185
185
  className: "like-wrap"
186
- }), /*#__PURE__*/React.createElement("span", {
187
- className: "resource-option-label-text"
188
- }, newData.labelText), (!newData.usable || !item.optional_resource.includes(newData.id)) && newData.id !== 0 && /*#__PURE__*/React.createElement(AlertTriangle, {
186
+ }), newData.labelText, !newData.usable && /*#__PURE__*/React.createElement(AlertTriangle, {
189
187
  className: "resource-option-alert-icon"
190
188
  }));
191
189
  });
192
- // 平行资源日历拖拽需求
193
- // 当拖入为绑定的资源中时,为了展示,会临时创建目标资源对应的resourceItem
194
- // 但是在 item.optional_resource 中并不包含目标资源id
195
- if (!item.optional_resource.includes(d.id) && d.id !== 0) {
196
- res.unbound = true;
197
- }
198
190
  renderListMaps[res.id] = res;
199
191
  return res;
200
192
  }).sort(function (a, b) {
@@ -364,12 +356,10 @@ export var setDefaultCapacitys = function setDefaultCapacitys(_ref7) {
364
356
  * @Author: zhiwei.Wang
365
357
  * @Date: 2024-09-19 20:23
366
358
  */
367
- export var getResourceByIds = function getResourceByIds(resourcesOriginMap, cacheItem, extraParams) {
359
+ var getResourceByIds = function getResourceByIds(resourcesOriginMap, cacheItem) {
368
360
  var _cacheItem$product_re;
369
361
  var _resources = _toConsumableArray((cacheItem === null || cacheItem === void 0 || (_cacheItem$product_re = cacheItem.product_resource) === null || _cacheItem$product_re === void 0 ? void 0 : _cacheItem$product_re.resources) || []);
370
- var _ref8 = extraParams || {},
371
- _ref8$extraResources = _ref8.extraResources,
372
- extraResources = _ref8$extraResources === void 0 ? [] : _ref8$extraResources;
362
+
373
363
  // 过滤出开启的资源
374
364
  _resources = _resources.filter(function (d) {
375
365
  return d.status == 1;
@@ -381,14 +371,6 @@ export var getResourceByIds = function getResourceByIds(resourcesOriginMap, cach
381
371
  var item = _step2.value;
382
372
  var form_id = item.id;
383
373
 
384
- // 将未绑定的资源,也放入 SelectOption 列表,避免出现仅展示id的情况
385
- var extraResourceIds = extraResources.filter(function (_extraItem) {
386
- return _extraItem.form_id === form_id && !item.optional_resource.includes(_extraItem.id);
387
- }).map(function (_extraItem) {
388
- return _extraItem.id;
389
- });
390
- extraResourceIds = Array.from(new Set(extraResourceIds));
391
-
392
374
  // 去重
393
375
  item.optional_resource = (item.optional_resource || []).filter(function (d) {
394
376
  return item.default_resource.indexOf(d) == -1;
@@ -411,7 +393,7 @@ export var getResourceByIds = function getResourceByIds(resourcesOriginMap, cach
411
393
  };
412
394
 
413
395
  // 可选项
414
- var optional_resource = [].concat(_toConsumableArray(item.optional_resource), _toConsumableArray(extraResourceIds)).map(function (d) {
396
+ var optional_resource = item.optional_resource.map(function (d) {
415
397
  if (!resourcesOriginMap[d]) {
416
398
  return null;
417
399
  }
@@ -472,10 +454,10 @@ var getIsAutoClose = function getIsAutoClose(cacheItem) {
472
454
  }
473
455
  }
474
456
  }
475
- return Object.entries(cacheItem._extend.resource).every(function (_ref9) {
476
- var _ref10 = _slicedToArray(_ref9, 2),
477
- key = _ref10[0],
478
- value = _ref10[1];
457
+ return Object.entries(cacheItem._extend.resource).every(function (_ref8) {
458
+ var _ref9 = _slicedToArray(_ref8, 2),
459
+ key = _ref9[0],
460
+ value = _ref9[1];
479
461
  return getAutoAllocationStorage(key) && (value === null || value === void 0 ? void 0 : value.length);
480
462
  });
481
463
  };
@@ -488,10 +470,10 @@ var getIsAutoClose = function getIsAutoClose(cacheItem) {
488
470
  * @Author: zhiwei.Wang
489
471
  * @Date: 2024-06-01 13:25
490
472
  */
491
- export var getProductExtend = function getProductExtend(_ref11) {
492
- var cacheItem = _ref11.cacheItem,
493
- state = _ref11.state,
494
- isDisabledTime = _ref11.isDisabledTime;
473
+ export var getProductExtend = function getProductExtend(_ref10) {
474
+ var cacheItem = _ref10.cacheItem,
475
+ state = _ref10.state,
476
+ isDisabledTime = _ref10.isDisabledTime;
495
477
  // 有endDate 说明是在编辑已经保存过的商品, 没有则是编辑还没保存过的商品
496
478
  var isNew = cacheItem.new || !cacheItem._extend.endDate;
497
479
  var _cacheItem = _objectSpread({}, cacheItem);
@@ -588,19 +570,7 @@ export var getProductExtend = function getProductExtend(_ref11) {
588
570
  _cacheItem._data.capacitys = cacheItem.capacity;
589
571
  }
590
572
  if (!_cacheItem._data.resourcesOrigin) {
591
- var extraResources = [];
592
- // 日历中可以将预约拖入未绑定的资源中,需要兼容未绑定资源的 selectOption展示
593
- if (Array.isArray(_cacheItem._extend.event_resources)) {
594
- _cacheItem._extend.event_resources.forEach(function (_item) {
595
- extraResources.push({
596
- form_id: _item.form_id,
597
- id: _item.relation_id
598
- });
599
- });
600
- }
601
- _cacheItem._data.resourcesOrigin = getResourceByIds(resourcesOriginMap, cacheItem, {
602
- extraResources: extraResources
603
- });
573
+ _cacheItem._data.resourcesOrigin = getResourceByIds(resourcesOriginMap, cacheItem);
604
574
  }
605
575
  if (!_cacheItem._data.resources) {
606
576
  // 资源
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import '../../../info/service/addTimeModal/index.less';
2
3
  declare const AddTimeModal: () => JSX.Element;
3
4
  export default AddTimeModal;
@@ -22,22 +22,14 @@ import { getErrorList } from "../../../utilsByBooking";
22
22
  import { isArray } from 'lodash';
23
23
  import { getAutoAllocationStorage, setAutoAllocationStorage } from "../utils";
24
24
  import { useUpdate } from 'ahooks';
25
- import { QuestionCircleOutlined } from '@ant-design/icons';
25
+ import { QuestionCircleOutlined } from "@ant-design/icons";
26
26
  var Resources = function Resources(_ref, ref) {
27
27
  var _cacheItem$_data2, _cacheItem$_data4;
28
28
  var state = _ref.state,
29
29
  cacheItem = _ref.cacheItem,
30
30
  getCurrentCacheItem = _ref.getCurrentCacheItem,
31
31
  onChange = _ref.onChange,
32
- value = _ref.value,
33
- _ref$config = _ref.config,
34
- config = _ref$config === void 0 ? {
35
- // 是否显示自动分配
36
- autoAllocation: true,
37
- // 是否显示资源错误图标
38
- resourceErrorIcon: true,
39
- disabled: false
40
- } : _ref$config;
32
+ value = _ref.value;
41
33
  var _useState = useState(false),
42
34
  _useState2 = _slicedToArray(_useState, 2),
43
35
  showError = _useState2[0],
@@ -152,7 +144,7 @@ var Resources = function Resources(_ref, ref) {
152
144
  relation_type: d.relation_type
153
145
  }), d[label]);
154
146
  });
155
- }, [config === null || config === void 0 ? void 0 : config.resourceErrorIcon]);
147
+ }, []);
156
148
 
157
149
  /**
158
150
  * @title: 检查当前资源最小选择数量
@@ -201,7 +193,6 @@ var Resources = function Resources(_ref, ref) {
201
193
  }, /*#__PURE__*/React.createElement(Form.Item, {
202
194
  label: item.title,
203
195
  required: true,
204
- labelCol: config === null || config === void 0 ? void 0 : config.labelCol,
205
196
  extra: showError && item.select_type.min > (cur === null || cur === void 0 ? void 0 : cur.length) ? /*#__PURE__*/React.createElement("span", {
206
197
  style: {
207
198
  color: '#ff4d4f'
@@ -210,17 +201,13 @@ var Resources = function Resources(_ref, ref) {
210
201
  }, /*#__PURE__*/React.createElement("div", {
211
202
  className: "resource-col"
212
203
  }, item.select_type.type === 'multiple' ? null : /*#__PURE__*/React.createElement(Button, {
213
- className: "resource-col-like-wrap ".concat(config !== null && config !== void 0 && config.disabled ? 'resource-col-like-wrap-disabled' : ''),
204
+ className: "resource-col-like-wrap",
214
205
  onClick: function onClick() {
215
206
  var _cur$;
216
- if (config !== null && config !== void 0 && config.disabled) {
217
- return;
218
- }
219
207
  setLikeStatus((cur === null || cur === void 0 || (_cur$ = cur[0]) === null || _cur$ === void 0 ? void 0 : _cur$.like_status) === 'like' ? 'common' : 'like', item.form_id, 'like_status');
220
208
  }
221
209
  }, /*#__PURE__*/React.createElement(Like, {
222
- status: cur === null || cur === void 0 || (_cur$2 = cur[0]) === null || _cur$2 === void 0 ? void 0 : _cur$2.like_status,
223
- className: "".concat(config !== null && config !== void 0 && config.disabled ? 'like-icon-disabled' : '')
210
+ status: cur === null || cur === void 0 || (_cur$2 = cur[0]) === null || _cur$2 === void 0 ? void 0 : _cur$2.like_status
224
211
  })), /*#__PURE__*/React.createElement(MaxLengthSelect, {
225
212
  className: "resource-col-select",
226
213
  size: "large",
@@ -241,16 +228,15 @@ var Resources = function Resources(_ref, ref) {
241
228
  showSearch: true,
242
229
  filterOption: function filterOption(str, option) {
243
230
  return ((option === null || option === void 0 ? void 0 : option.labelText) || '').toLowerCase().includes((str || '').toLowerCase());
244
- },
245
- disabled: config === null || config === void 0 ? void 0 : config.disabled
246
- }, renderOptions(item.renderList, 'id', config !== null && config !== void 0 && config.resourceErrorIcon ? 'label' : 'labelText', 'resource')), config !== null && config !== void 0 && config.autoAllocation ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Checkbox, {
231
+ }
232
+ }, renderOptions(item.renderList, 'id', 'label', 'resource')), /*#__PURE__*/React.createElement(Checkbox, {
247
233
  checked: getIsAutoAllocation(item.form_id),
248
234
  onChange: function onChange(e) {
249
235
  handleCheckAutoAllocation(item.form_id, e.target.checked);
250
236
  }
251
237
  }), /*#__PURE__*/React.createElement(Tooltip, {
252
238
  title: locales.getText('page.booking.text.resource.check-auto-allocation-tip')
253
- }, /*#__PURE__*/React.createElement(QuestionCircleOutlined, null))) : null)), state.renderType !== 'eventBooking' && (errors || []).map(function (d) {
239
+ }, /*#__PURE__*/React.createElement(QuestionCircleOutlined, null)))), state.renderType !== 'eventBooking' && (errors || []).map(function (d) {
254
240
  return /*#__PURE__*/React.createElement(Alert, {
255
241
  key: d.type,
256
242
  message: d.label,
@@ -15,12 +15,6 @@
15
15
  .like-resource {}
16
16
  }
17
17
 
18
- .resource-col-like-wrap-disabled,
19
- .like-icon-disabled {
20
- opacity: 0.5;
21
- cursor: not-allowed;
22
- }
23
-
24
18
  .resource-col-select {
25
19
  flex: 1;
26
20
  }
@@ -35,7 +35,6 @@ import { formatResources, getDurationProps, getFlexibleOption, getTimeObj, setDe
35
35
  import { PisellAdjustPriceInputNumber } from '@pisell/materials';
36
36
  import { editSessionProduct } from "../../../info/utils";
37
37
  import { isNormalProductByDurationSchedule } from "../../../info/service2/utils";
38
- import { addService, genServiceKey, getIsShowNumber } from "../../../../ticketBooking/utils";
39
38
  var submitLock = false;
40
39
  var Info = function Info(_, ref) {
41
40
  var _state$service3, _state$bookingConfig2, _state$service$cacheI4, _state$service$cacheI5, _state$service6, _state$service8, _window$BaseMaterials, _state$service$cacheI6, _state$service9, _state$service$cacheI7, _state$service$cacheI8, _state$service$cacheI9, _state$service$cacheI10, _state$bookingConfig3, _state$service$resour;
@@ -245,15 +244,13 @@ var Info = function Info(_, ref) {
245
244
  }
246
245
  _item._extend = _extend;
247
246
  _item._time = new Date().getTime();
248
- _item._serviceKey = genServiceKey(_item);
249
247
  var _id = _item === null || _item === void 0 ? void 0 : _item._id;
250
248
 
251
249
  // 判断是新增还是编辑
252
250
  if (!_list.some(function (d) {
253
251
  return d._id === _id;
254
252
  })) {
255
- var detail = addService(_list, _item, state);
256
- _list = detail.list;
253
+ _list.push(_item);
257
254
  } else {
258
255
  // 手动改价时移除优惠券使用
259
256
  if (isChangeTotal.current) {
@@ -431,7 +428,7 @@ var Info = function Info(_, ref) {
431
428
  session: isSession,
432
429
  variant: true,
433
430
  package: true,
434
- number: getIsShowNumber(item, state)
431
+ number: isNormalProductByDurationSchedule(item)
435
432
  },
436
433
  isOS: isSession,
437
434
  customer_id: (_state$client = state.client) === null || _state$client === void 0 || (_state$client = _state$client.value) === null || _state$client === void 0 ? void 0 : _state$client.id,
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ServiceItem: ({ d, handleEditService, state, handleLike, errorMessage, handleDeleteService, }: any) => JSX.Element;
3
4
  export default ServiceItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ServiceList: ({ onEdit }: {
3
4
  onEdit: any;
@@ -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:
@@ -162,9 +162,7 @@ export var getResourceTimeIsUsable = function getResourceTimeIsUsable(item, cach
162
162
  return time;
163
163
  };
164
164
  export var getSumCapacity = function getSumCapacity(_ref) {
165
- var _cacheItem$_extend;
166
165
  var cacheItem = _ref.cacheItem;
167
- var isCalcQuantity = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
168
166
  var sum = 0;
169
167
  var _iterator = _createForOfIteratorHelper(cacheItem._extend.capacity || []),
170
168
  _step;
@@ -178,7 +176,7 @@ export var getSumCapacity = function getSumCapacity(_ref) {
178
176
  } finally {
179
177
  _iterator.f();
180
178
  }
181
- return sum * (isCalcQuantity ? (cacheItem === null || cacheItem === void 0 || (_cacheItem$_extend = cacheItem._extend) === null || _cacheItem$_extend === void 0 ? void 0 : _cacheItem$_extend.quantity) || 1 : 1);
179
+ return sum;
182
180
  };
183
181
 
184
182
  /**
@@ -260,15 +258,6 @@ export var getErrorList = function getErrorList(resource, cacheItem) {
260
258
  }
261
259
  }
262
260
  }
263
-
264
- // 平行资源日历拖动优化需求
265
- // 拖入到未绑定的资源中
266
- if (resource.unbound) {
267
- list.push({
268
- label: locales.getText('pisell1.text.resource-error-message-unbound'),
269
- type: "time"
270
- });
271
- }
272
261
  return list;
273
262
  };
274
263
 
@@ -313,7 +302,7 @@ export var getAppointmentTimingPreference = function getAppointmentTimingPrefere
313
302
  * @Date: 2024-01-26 14:09
314
303
  */
315
304
  export var getServiceStartTimeAndEndTime = function getServiceStartTimeAndEndTime(state, cacheItem, timeObj) {
316
- var _cacheItem$duration, _cacheItem$_extend2;
305
+ var _cacheItem$duration, _cacheItem$_extend;
317
306
  var appointmentTimingPreference = getAppointmentTimingPreference(state);
318
307
 
319
308
  // 获取上一个服务商品
@@ -381,7 +370,7 @@ export var getServiceStartTimeAndEndTime = function getServiceStartTimeAndEndTim
381
370
  endDate = _getServiceTimes2.endDate;
382
371
  _extend.startDate = startDate;
383
372
  _extend.endDate = endDate;
384
- var session = cacheItem === null || cacheItem === void 0 || (_cacheItem$_extend2 = cacheItem._extend) === null || _cacheItem$_extend2 === void 0 || (_cacheItem$_extend2 = _cacheItem$_extend2.other) === null || _cacheItem$_extend2 === void 0 ? void 0 : _cacheItem$_extend2.session;
373
+ var session = cacheItem === null || cacheItem === void 0 || (_cacheItem$_extend = cacheItem._extend) === null || _cacheItem$_extend === void 0 || (_cacheItem$_extend = _cacheItem$_extend.other) === null || _cacheItem$_extend === void 0 ? void 0 : _cacheItem$_extend.session;
385
374
  if (isSessionProduct(cacheItem) && session) {
386
375
  _extend.start_date = session.start_at;
387
376
  _extend.startDate = session.start_at;
@@ -110,7 +110,6 @@ declare const _default: {
110
110
  'pisell1.text.resource-error-message-1': (x: string, y: string) => string;
111
111
  'pisell1.text.resource-error-message-2': (x: string, y: string, z: string) => string;
112
112
  'pisell1.text.resource-error-message-3': (x: string, y: string, z: string) => string;
113
- 'pisell1.text.resource-error-message-unbound': string;
114
113
  'pisell1.text.no-addons': string;
115
114
  'pisell1.text.no-resource': string;
116
115
  'pisell1.text.no-payments': string;
@@ -262,7 +261,6 @@ declare const _default: {
262
261
  'pisell2.text.goodpass.code': string;
263
262
  'pisell2.text.goodpass.enter-code': string;
264
263
  'pisell2.text.goodpass.code-invalid': string;
265
- 'pisell2.text.goodpass.code-invalid-cart': string;
266
264
  'pisell2.text.status.valid': string;
267
265
  'pisell2.text.status.expired': string;
268
266
  'pisell2.text.validity.expired': (str: string) => string;
@@ -390,7 +388,6 @@ declare const _default: {
390
388
  'pisell1.text.resource-error-message-1': (x: string, y: string) => string;
391
389
  'pisell1.text.resource-error-message-2': (x: string, y: string, z: string) => string;
392
390
  'pisell1.text.resource-error-message-3': (x: string, y: string, z: string) => string;
393
- 'pisell1.text.resource-error-message-unbound': string;
394
391
  'pisell2.text.flexible': string;
395
392
  'pisell2.text.order-discount': string;
396
393
  'pisell2.text.no-product-added': string;
@@ -534,7 +531,6 @@ declare const _default: {
534
531
  'pisell2.text.goodpass.code': string;
535
532
  'pisell2.text.goodpass.enter-code': string;
536
533
  'pisell2.text.goodpass.code-invalid': string;
537
- 'pisell2.text.goodpass.code-invalid-cart': string;
538
534
  'pisell2.text.status.valid': string;
539
535
  'pisell2.text.status.expired': string;
540
536
  'pisell2.text.validity.expired': (str: string) => string;
@@ -662,7 +658,6 @@ declare const _default: {
662
658
  'pisell1.text.resource-error-message-1': (x: string, y: string) => string;
663
659
  'pisell1.text.resource-error-message-2': (x: string, y: string, z: string) => string;
664
660
  'pisell1.text.resource-error-message-3': (x: string, y: string, z: string) => string;
665
- 'pisell1.text.resource-error-message-unbound': string;
666
661
  'pisell2.text.flexible': string;
667
662
  'pisell2.text.order-discount': string;
668
663
  'pisell2.text.no-product-added': string;
@@ -806,7 +801,6 @@ declare const _default: {
806
801
  'pisell2.text.goodpass.code': string;
807
802
  'pisell2.text.goodpass.enter-code': string;
808
803
  'pisell2.text.goodpass.code-invalid': string;
809
- 'pisell2.text.goodpass.code-invalid-cart': string;
810
804
  'pisell2.text.status.valid': string;
811
805
  'pisell2.text.status.expired': string;
812
806
  'pisell2.text.validity.expired': (str: string) => string;
@@ -128,7 +128,6 @@ export default {
128
128
  'pisell1.text.resource-error-message-3': function pisell1TextResourceErrorMessage3(x, y, z) {
129
129
  return "".concat(x, " is fully booked between ").concat(y, " and ").concat(z, ", but your team member can still book appointments.");
130
130
  },
131
- 'pisell1.text.resource-error-message-unbound': 'This booking product is not associated with the target resource.',
132
131
  'pisell1.text.no-addons': 'No addons',
133
132
  'pisell1.text.no-resource': 'No resource',
134
133
  'pisell1.text.no-payments': 'No payments',
@@ -293,13 +292,12 @@ export default {
293
292
  'pisell2.text.send-form-reminder-tooltip': 'Refresh forms',
294
293
  'pisell2.text.send-form-reminder-refresh': 'Forms refreshed successfully',
295
294
  'pisell2.text.send-form-reminder-error-message': 'Please select at least one reminder method',
296
- 'pisell2.text.goodpass': "Promotion",
295
+ 'pisell2.text.goodpass': "GoodPass",
297
296
  'pisell2.text.goodpass.product-vouchers': "Product Vouchers",
298
297
  'pisell2.text.goodpass.view-more': "View More",
299
298
  'pisell2.text.goodpass.code': "Code",
300
299
  'pisell2.text.goodpass.enter-code': "Enter Code",
301
300
  'pisell2.text.goodpass.code-invalid': "Current code is invalid",
302
- 'pisell2.text.goodpass.code-invalid-cart': "No eligible items in the cart",
303
301
  'pisell2.text.status.valid': 'Valid',
304
302
  'pisell2.text.status.expired': 'Expired',
305
303
  'pisell2.text.validity.expired': function pisell2TextValidityExpired(str) {
@@ -455,7 +453,6 @@ export default {
455
453
  'pisell1.text.resource-error-message-3': function pisell1TextResourceErrorMessage3(x, y, z) {
456
454
  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");
457
455
  },
458
- 'pisell1.text.resource-error-message-unbound': '该预约商品未关联目标资源。',
459
456
  'pisell2.text.flexible': "灵活",
460
457
  'pisell2.text.order-discount': "折扣",
461
458
  'pisell2.text.no-product-added': '未添加商品',
@@ -612,13 +609,12 @@ export default {
612
609
  'pisell2.text.send-form-reminder-tooltip': '刷新表单',
613
610
  'pisell2.text.send-form-reminder-refresh': '已刷新表单',
614
611
  'pisell2.text.send-form-reminder-error-message': '请至少选择一种提醒方式',
615
- 'pisell2.text.goodpass': "促销",
612
+ 'pisell2.text.goodpass': "商品券",
616
613
  'pisell2.text.goodpass.product-vouchers': "商品兑换券",
617
614
  'pisell2.text.goodpass.view-more': "查看更多",
618
615
  'pisell2.text.goodpass.code': "券码",
619
616
  'pisell2.text.goodpass.enter-code': "请输入券码",
620
617
  'pisell2.text.goodpass.code-invalid': "当前券码不可用",
621
- 'pisell2.text.goodpass.code-invalid-cart': "当前购物车中无可用商品",
622
618
  'pisell2.text.status.valid': '有效',
623
619
  'pisell2.text.status.expired': '已过期',
624
620
  'pisell2.text.validity.expired': function pisell2TextValidityExpired(str) {
@@ -774,7 +770,6 @@ export default {
774
770
  'pisell1.text.resource-error-message-3': function pisell1TextResourceErrorMessage3(x, y, z) {
775
771
  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");
776
772
  },
777
- 'pisell1.text.resource-error-message-unbound': '該預約商品未關聯目標資源。',
778
773
  'pisell2.text.flexible': "靈活",
779
774
  'pisell2.text.order-discount': "折扣",
780
775
  'pisell2.text.no-product-added': '未添加商品',
@@ -931,13 +926,12 @@ export default {
931
926
  'pisell2.text.send-form-reminder-tooltip': '刷新表單',
932
927
  'pisell2.text.send-form-reminder-refresh': '已刷新表單',
933
928
  'pisell2.text.send-form-reminder-error-message': '請至少選擇一種提醒方式',
934
- 'pisell2.text.goodpass': "促銷",
929
+ 'pisell2.text.goodpass': "商品券",
935
930
  'pisell2.text.goodpass.product-vouchers': "商品兌換券",
936
931
  'pisell2.text.goodpass.view-more': "查看更多",
937
932
  'pisell2.text.goodpass.code': "券碼",
938
933
  'pisell2.text.goodpass.enter-code': "請輸入券碼",
939
934
  'pisell2.text.goodpass.code-invalid': "當前券碼不可用",
940
- 'pisell2.text.goodpass.code-invalid-cart': "當前購物車中無可用商品",
941
935
  'pisell2.text.status.valid': '有效',
942
936
  'pisell2.text.status.expired': '已過期',
943
937
  'pisell2.text.validity.expired': function pisell2TextValidityExpired(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 { SelectProps } from 'antd';
2
3
  interface HolderProps extends SelectProps {
3
4
  selectProps?: SelectProps;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SelectProps } from "antd";
2
3
  interface StartTimeProps 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;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: ({ input, ...formItemProps }: any) => JSX.Element;
2
3
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * @title: 递归循环表单数据
3
4
  * @Author: hongbing.wang
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { RadioGroupProps } from 'antd';
2
3
  export declare const CheckboxGroup: ({ direction, options, ...props }: any) => JSX.Element;
3
4
  export declare const RadioGroup: ({ direction, options, ...props }: RadioGroupProps & {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Eftpos } from './const';
2
3
  /**
3
4
  * @title: tyro 设备连接
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: ({ color }: {
2
3
  color?: string | undefined;
3
4
  }) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: ({ color }: {
2
3
  color?: string | undefined;
3
4
  }) => JSX.Element;
@@ -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
  /**
2
3
  * @title: 自定义组件设置
3
4
  * @description: 自定义组件设置
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.css';
2
3
  /**
3
4
  * @title: 自定义组件设置
@@ -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" | "print" | "fail" | "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 { PosProps, RouteType } from './const';
2
3
  declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
3
4
  action: RouteType;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
@@ -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 './titlebar.less';
2
3
  declare enum EPopupTitleBarVariantType {
3
4
  BackTitleClose = "back-title-cancel",
@@ -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 { StatusType } from '../../const';
2
3
  declare const _default: (props: {
3
4
  status: StatusType;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: (props: {
2
3
  status: string;
3
4
  pedding?: string;