@pisell/private-materials 6.4.49 → 6.4.50

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 (250) 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/meta.js +1 -1
  5. package/build/lowcode/preview.js +146 -146
  6. package/build/lowcode/render/default/view.css +1 -1
  7. package/build/lowcode/render/default/view.js +1 -1
  8. package/build/lowcode/view.css +1 -1
  9. package/build/lowcode/view.js +3 -3
  10. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  11. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  12. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  13. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  14. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  15. package/es/components/booking/components/footer/index.js +12 -4
  16. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  17. package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -1
  18. package/es/components/booking/deposit/index.d.ts +0 -1
  19. package/es/components/booking/forms/single/index.d.ts +0 -1
  20. package/es/components/booking/forms/table/index.d.ts +0 -1
  21. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
  22. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  23. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  24. package/es/components/booking/info/date/index.d.ts +0 -1
  25. package/es/components/booking/info/header/index.d.ts +0 -1
  26. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  27. package/es/components/booking/info/index.d.ts +0 -1
  28. package/es/components/booking/info/service/actions/index.d.ts +0 -1
  29. package/es/components/booking/info/service/addService/index.d.ts +0 -1
  30. package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  31. package/es/components/booking/info/service/like/index.d.ts +0 -1
  32. package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
  33. package/es/components/booking/info2/service/actions/index.d.ts +0 -1
  34. package/es/components/booking/info2/service/addService/index.d.ts +0 -1
  35. package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
  36. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  37. package/es/components/booking/materiels/duration/index.d.ts +0 -1
  38. package/es/components/booking/materiels/holder/index.d.ts +0 -1
  39. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  40. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  41. package/es/components/booking/utils.d.ts +2 -2
  42. package/es/components/checkout/PaymentModal.js +78 -42
  43. package/es/components/checkout/components/AmountSummary/index.js +39 -4
  44. package/es/components/checkout/components/PaymentDetailModal/index.js +72 -20
  45. package/es/components/checkout/components/PaymentDetailModal/index.less +23 -2
  46. package/es/components/checkout/hooks/useWalletPass.js +1 -0
  47. package/es/components/checkout/locales.d.ts +3 -0
  48. package/es/components/checkout/locales.js +3 -0
  49. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  50. package/es/components/eftpos/form/index.d.ts +0 -1
  51. package/es/components/eftpos/group/index.d.ts +0 -1
  52. package/es/components/eftpos/hooks.d.ts +0 -1
  53. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  54. package/es/components/eftpos/icon/device.d.ts +0 -1
  55. package/es/components/eftpos/index.d.ts +0 -1
  56. package/es/components/eftpos/pos.d.ts +0 -1
  57. package/es/components/eftpos/receipt/index.d.ts +0 -1
  58. package/es/components/eftpos/surcharge/index.d.ts +0 -1
  59. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  60. package/es/components/eftposPay/component/fail/network.d.ts +0 -1
  61. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
  62. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  63. package/es/components/eftposPay/component/manual/index.d.ts +0 -1
  64. package/es/components/eftposPay/component/signature/index.d.ts +0 -1
  65. package/es/components/eftposPay/component/step/index.d.ts +0 -1
  66. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  67. package/es/components/eftposPay/hooks.d.ts +1 -1
  68. package/es/components/eftposPay/payo/config.d.ts +0 -1
  69. package/es/components/eftposPay/store/index.d.ts +4 -4
  70. package/es/components/eftposPay/tip.d.ts +0 -1
  71. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  72. package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  73. package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
  74. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  75. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  76. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  77. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  78. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  79. package/es/components/login/index.d.ts +0 -1
  80. package/es/components/pay/toB/components/Content/Header.d.ts +0 -1
  81. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  82. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  83. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  84. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  85. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  86. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  87. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  88. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  89. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  90. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  91. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  92. package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  93. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  94. package/es/components/schedules/calendar/index.d.ts +0 -1
  95. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  96. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  97. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  98. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  99. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  100. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  101. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  102. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  103. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  104. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  105. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  106. package/es/components/schedules/products/index.d.ts +0 -1
  107. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  108. package/es/components/schedules/products/list/index.d.ts +0 -1
  109. package/es/components/schedules/resources/index.d.ts +0 -1
  110. package/es/components/schedules/resources/list/index.d.ts +0 -1
  111. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  112. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  113. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  114. package/es/components/schedules/schedules/index.d.ts +0 -1
  115. package/es/components/taxSelect/index.d.ts +0 -1
  116. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  117. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  118. package/es/hooks/usePaymentLogger.d.ts +0 -1
  119. package/es/plus/clientName/index.d.ts +0 -1
  120. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
  121. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
  122. package/es/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  123. package/es/plus/saasCreateOrganization/index.d.ts +0 -1
  124. package/es/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  125. package/es/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  126. package/es/plus/saasRegister/components/GoLogin.d.ts +0 -1
  127. package/es/plus/saasRegister/components/Header.d.ts +0 -1
  128. package/es/plus/saasRegister/components/VerifyError.d.ts +0 -1
  129. package/es/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  130. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  131. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  132. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  133. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  134. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  135. package/lib/components/booking/components/footer/index.js +6 -1
  136. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  137. package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -1
  138. package/lib/components/booking/deposit/index.d.ts +0 -1
  139. package/lib/components/booking/forms/single/index.d.ts +0 -1
  140. package/lib/components/booking/forms/table/index.d.ts +0 -1
  141. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
  142. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  143. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  144. package/lib/components/booking/info/date/index.d.ts +0 -1
  145. package/lib/components/booking/info/header/index.d.ts +0 -1
  146. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  147. package/lib/components/booking/info/index.d.ts +0 -1
  148. package/lib/components/booking/info/service/actions/index.d.ts +0 -1
  149. package/lib/components/booking/info/service/addService/index.d.ts +0 -1
  150. package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  151. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  152. package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
  153. package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
  154. package/lib/components/booking/info2/service/addService/index.d.ts +0 -1
  155. package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
  156. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  157. package/lib/components/booking/materiels/duration/index.d.ts +0 -1
  158. package/lib/components/booking/materiels/holder/index.d.ts +0 -1
  159. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  160. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  161. package/lib/components/booking/utils.d.ts +2 -2
  162. package/lib/components/checkout/PaymentModal.js +36 -9
  163. package/lib/components/checkout/components/AmountSummary/index.js +31 -3
  164. package/lib/components/checkout/components/PaymentDetailModal/index.js +49 -11
  165. package/lib/components/checkout/components/PaymentDetailModal/index.less +23 -2
  166. package/lib/components/checkout/hooks/useWalletPass.js +1 -0
  167. package/lib/components/checkout/locales.d.ts +3 -0
  168. package/lib/components/checkout/locales.js +3 -0
  169. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  170. package/lib/components/eftpos/form/index.d.ts +0 -1
  171. package/lib/components/eftpos/group/index.d.ts +0 -1
  172. package/lib/components/eftpos/hooks.d.ts +0 -1
  173. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  174. package/lib/components/eftpos/icon/device.d.ts +0 -1
  175. package/lib/components/eftpos/index.d.ts +0 -1
  176. package/lib/components/eftpos/pos.d.ts +0 -1
  177. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  178. package/lib/components/eftpos/surcharge/index.d.ts +0 -1
  179. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  180. package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
  181. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
  182. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  183. package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
  184. package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
  185. package/lib/components/eftposPay/component/step/index.d.ts +0 -1
  186. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  187. package/lib/components/eftposPay/hooks.d.ts +1 -1
  188. package/lib/components/eftposPay/payo/config.d.ts +0 -1
  189. package/lib/components/eftposPay/store/index.d.ts +4 -4
  190. package/lib/components/eftposPay/tip.d.ts +0 -1
  191. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  192. package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  193. package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
  194. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  195. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  196. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  197. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  198. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  199. package/lib/components/login/index.d.ts +0 -1
  200. package/lib/components/pay/toB/components/Content/Header.d.ts +0 -1
  201. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  202. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  203. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  204. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  205. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  206. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  207. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  208. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  209. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  210. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  211. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  212. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  213. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  214. package/lib/components/schedules/calendar/index.d.ts +0 -1
  215. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  216. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  217. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  218. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  219. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  220. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  221. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  222. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  223. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  224. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  225. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  226. package/lib/components/schedules/products/index.d.ts +0 -1
  227. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  228. package/lib/components/schedules/products/list/index.d.ts +0 -1
  229. package/lib/components/schedules/resources/index.d.ts +0 -1
  230. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  231. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  232. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  233. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  234. package/lib/components/schedules/schedules/index.d.ts +0 -1
  235. package/lib/components/taxSelect/index.d.ts +0 -1
  236. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  237. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  238. package/lib/hooks/usePaymentLogger.d.ts +0 -1
  239. package/lib/plus/clientName/index.d.ts +0 -1
  240. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
  241. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
  242. package/lib/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  243. package/lib/plus/saasCreateOrganization/index.d.ts +0 -1
  244. package/lib/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  245. package/lib/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  246. package/lib/plus/saasRegister/components/GoLogin.d.ts +0 -1
  247. package/lib/plus/saasRegister/components/Header.d.ts +0 -1
  248. package/lib/plus/saasRegister/components/VerifyError.d.ts +0 -1
  249. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  250. package/package.json +2 -2
@@ -12,6 +12,7 @@ import checkoutLocales from "../../locales";
12
12
  import "./index.less";
13
13
  import classNames from 'classnames';
14
14
  import useEngineContext from "../../../../hooks/useEngineContext";
15
+ import Decimal from 'decimal.js';
15
16
 
16
17
  // 小计数据类型
17
18
 
@@ -101,26 +102,21 @@ function PaymentDetailModal(_ref) {
101
102
  // 计算已支付总额 (只计算不带voucher_id的支付项)
102
103
  var getTotalPaidAmount = function getTotalPaidAmount() {
103
104
  return paymentItems.filter(function (item) {
104
- return !item.voucher_id;
105
+ return !item.voucher_id || item.isSynced;
105
106
  }).reduce(function (total, item) {
106
- return total + Math.abs(item.amount) + Math.abs(item.rounding_amount);
107
- }, 0);
108
- };
109
-
110
- // 计算优惠券扣减总额 (只计算带voucher_id的支付项)
111
- var getTotalVoucherAmount = function getTotalVoucherAmount() {
112
- return paymentItems.filter(function (item) {
113
- return item.voucher_id;
114
- }).reduce(function (total, item) {
115
- return total + Math.abs(item.amount);
107
+ var amount = new Decimal(Math.abs(item.amount));
108
+ var roundingAmount = new Decimal(Number(item.rounding_amount) > 0 ? 0 : item.rounding_amount || 0);
109
+ return new Decimal(total).plus(amount).plus(roundingAmount).toNumber();
116
110
  }, 0);
117
111
  };
118
112
 
119
113
  // 计算Balance Due金额 (customAmount + 所有voucher扣减金额)
120
114
  var getBalanceDueAmount = function getBalanceDueAmount() {
121
- var baseAmount = customAmount ? parseFloat(customAmount) : 0;
122
- var voucherDeductions = getTotalVoucherAmount();
123
- return baseAmount + voucherDeductions;
115
+ // debugger
116
+ // const baseAmount = customAmount ? parseFloat(customAmount) : 0;
117
+ // const voucherDeductions = getTotalVoucherAmount();
118
+ // return baseAmount + voucherDeductions;
119
+ return new Decimal(orderInfo.totalAmount || 0).sub(new Decimal(getTotalPaidAmount())).toNumber().toFixed(2);
124
120
  };
125
121
 
126
122
  // 处理 Void 按钮点击
@@ -133,25 +129,76 @@ function PaymentDetailModal(_ref) {
133
129
 
134
130
  // 渲染支付项 (只渲染不带voucher_id的支付项)
135
131
  var renderPaymentItems = function renderPaymentItems() {
132
+ var depositPayments = paymentItems.filter(function (item) {
133
+ return item.order_payment_type === 'deposit' && item.isSynced;
134
+ });
136
135
  var regularPayments = paymentItems.filter(function (item) {
137
- return !item.voucher_id;
136
+ return item.isSynced && item.order_payment_type !== 'deposit';
138
137
  });
139
- if (!paymentItems || paymentItems.length === 0 || regularPayments.length === 0) {
138
+ if (!paymentItems || paymentItems.length === 0 || regularPayments.length === 0 && depositPayments.length === 0) {
140
139
  return /*#__PURE__*/React.createElement("div", {
141
140
  className: classNames('section-content')
142
141
  }, /*#__PURE__*/React.createElement("div", {
143
142
  className: classNames('no-payment-text')
144
143
  }, getText('no.payments.recorded') || 'No payments recorded'));
145
144
  }
145
+ var depositPaymentSummary = depositPayments.reduce(function (acc, item) {
146
+ return new Decimal(acc).plus(new Decimal(item.amount)).plus(new Decimal(Number(item.rounding_amount) > 0 ? 0 : item.rounding_amount || 0)).toNumber();
147
+ }, 0);
148
+ var regularPaymentSummary = regularPayments.reduce(function (acc, item) {
149
+ return new Decimal(acc).plus(new Decimal(item.amount)).plus(new Decimal(Number(item.rounding_amount) > 0 ? 0 : item.rounding_amount || 0)).toNumber();
150
+ }, 0);
146
151
  return /*#__PURE__*/React.createElement("div", {
147
152
  className: classNames('section-content')
148
153
  }, /*#__PURE__*/React.createElement("div", {
149
154
  className: classNames('payment-record-container')
150
- }, regularPayments.map(function (item) {
155
+ }, depositPayments.length > 0 && /*#__PURE__*/React.createElement("div", {
156
+ className: classNames('payment-item-header')
157
+ }, /*#__PURE__*/React.createElement("div", null, getText('pisell2.subtotal.deposit') || 'Deposit'), /*#__PURE__*/React.createElement("div", null, formatAmountWithOptions(depositPaymentSummary, amountSymbol, {
158
+ precision: 2,
159
+ hideDecimalForWholeNumbers: false,
160
+ useThousandsSeparator: true,
161
+ showCurrencySymbol: true
162
+ }))), depositPayments.map(function (item) {
163
+ return /*#__PURE__*/React.createElement("div", {
164
+ key: item.uuid,
165
+ className: classNames('payment-item')
166
+ }, /*#__PURE__*/React.createElement("div", {
167
+ className: classNames('payment-item-bullet')
168
+ }), /*#__PURE__*/React.createElement("div", {
169
+ className: classNames('payment-item-content')
170
+ }, /*#__PURE__*/React.createElement("div", {
171
+ className: classNames('payment-item-text')
172
+ }, item.name, " - ", new Date().toLocaleDateString(), ' ', getText('pisell2.checkout.payment-detail.by') || 'by', ' ', getCustomerInfo().nickname), /*#__PURE__*/React.createElement("div", {
173
+ className: classNames('payment-item-actions')
174
+ }, /*#__PURE__*/React.createElement("div", {
175
+ className: classNames('payment-item-amount')
176
+ }, "-", formatAmountWithOptions(new Decimal(Math.abs(item.amount)).plus(new Decimal(Number(item.rounding_amount) > 0 ? 0 : item.rounding_amount || 0)).toNumber(), amountSymbol, {
177
+ precision: 2,
178
+ hideDecimalForWholeNumbers: false,
179
+ useThousandsSeparator: true,
180
+ showCurrencySymbol: true
181
+ })), shouldShowVoidButton(item) && /*#__PURE__*/React.createElement("button", {
182
+ className: classNames('void-button'),
183
+ onClick: function onClick() {
184
+ return handleVoidPayment(item);
185
+ },
186
+ type: "button"
187
+ }, getText('void') || 'Void'))));
188
+ }), regularPayments.length > 0 && /*#__PURE__*/React.createElement("div", {
189
+ className: classNames('payment-item-header')
190
+ }, /*#__PURE__*/React.createElement("div", null, getText('payment.text') || 'Payment'), /*#__PURE__*/React.createElement("div", null, formatAmountWithOptions(regularPaymentSummary, amountSymbol, {
191
+ precision: 2,
192
+ hideDecimalForWholeNumbers: false,
193
+ useThousandsSeparator: true,
194
+ showCurrencySymbol: true
195
+ }))), regularPayments.map(function (item) {
151
196
  return /*#__PURE__*/React.createElement("div", {
152
197
  key: item.uuid,
153
198
  className: classNames('payment-item')
154
199
  }, /*#__PURE__*/React.createElement("div", {
200
+ className: classNames('payment-item-bullet')
201
+ }), /*#__PURE__*/React.createElement("div", {
155
202
  className: classNames('payment-item-content')
156
203
  }, /*#__PURE__*/React.createElement("div", {
157
204
  className: classNames('payment-item-text')
@@ -159,7 +206,7 @@ function PaymentDetailModal(_ref) {
159
206
  className: classNames('payment-item-actions')
160
207
  }, /*#__PURE__*/React.createElement("div", {
161
208
  className: classNames('payment-item-amount')
162
- }, "-", formatAmountWithOptions(Math.abs(item.amount) + Math.abs(item.rounding_amount), amountSymbol, {
209
+ }, "-", formatAmountWithOptions(new Decimal(Math.abs(item.amount)).plus(new Decimal(Number(item.rounding_amount) > 0 ? 0 : item.rounding_amount || 0)).toNumber(), amountSymbol, {
163
210
  precision: 2,
164
211
  hideDecimalForWholeNumbers: false,
165
212
  useThousandsSeparator: true,
@@ -181,7 +228,7 @@ function PaymentDetailModal(_ref) {
181
228
 
182
229
  // 1. 添加 paymentItems 中带 voucher_id 的支付项
183
230
  // 这块先不用 下面钱包卡券应该包含了
184
- // const voucherPayments = paymentItems.filter(item => item.voucher_id);
231
+ // const voucherPayments = paymentItems.filter(item => item.voucher_id && !item.isSynced);
185
232
  // voucherPayments.forEach((item) => {
186
233
  // items.push(
187
234
  // <div key={`payment-${item.uuid}`} className={classNames('balance-item-row')}>
@@ -189,7 +236,12 @@ function PaymentDetailModal(_ref) {
189
236
  // {item.name} - {item.voucher_id}
190
237
  // </div>
191
238
  // <div className={classNames('balance-item-amount')}>
192
- // -${Math.abs(item.amount).toFixed(2)}
239
+ // -{formatAmountWithOptions(Math.abs(item.amount), amountSymbol, {
240
+ // precision: 2,
241
+ // hideDecimalForWholeNumbers: false,
242
+ // useThousandsSeparator: true,
243
+ // showCurrencySymbol: true,
244
+ // })}
193
245
  // </div>
194
246
  // </div>
195
247
  // );
@@ -263,7 +263,7 @@
263
263
  flex-direction: column;
264
264
  justify-content: flex-start;
265
265
  align-items: flex-start;
266
- gap: 16px;
266
+ gap: 8px;
267
267
  }
268
268
 
269
269
  .payment-record-header {
@@ -299,12 +299,33 @@
299
299
  line-height: 20px;
300
300
  word-wrap: break-word;
301
301
  }
302
+ .payment-item-header {
303
+ width: 100%;
304
+ color: black;
305
+ font-size: 14px;
306
+ font-weight: 500;
307
+ line-height: 20px;
308
+ word-wrap: break-word;
309
+ display: flex;
310
+ justify-content: space-between;
311
+ }
302
312
 
303
313
  .payment-item {
304
314
  align-self: stretch;
305
315
  display: flex;
306
- justify-content: space-between;
316
+ justify-content: flex-start;
307
317
  align-items: center;
318
+ gap: 8px;
319
+ margin-left: 10px;
320
+ margin-right: 64px;
321
+ }
322
+
323
+ .payment-item-bullet {
324
+ width: 6px;
325
+ height: 6px;
326
+ background-color: #475467;
327
+ border-radius: 50%;
328
+ flex-shrink: 0;
308
329
  }
309
330
 
310
331
  .payment-item-content {
@@ -433,6 +433,7 @@ export var useWalletPass = function useWalletPass(props) {
433
433
  } else {
434
434
  setWalletSelect([]);
435
435
  notSetWalletSelectRef.current = false;
436
+ onSelectChange === null || onSelectChange === void 0 || onSelectChange([]);
436
437
  }
437
438
 
438
439
  // 获取折扣列表并按初始顺序排序(isSelected为true的在前)
@@ -122,6 +122,7 @@ declare const _default: {
122
122
  'pisell2.checkout.manual-discount.no-amount': string;
123
123
  'pisell2.checkout.manual-discount.has-payment-items': string;
124
124
  'pisell2.checkout.manual-discount.invalid-amount': string;
125
+ 'pisell2.checkout.can-not-change-deposit-amount': string;
125
126
  'pisell2.checkout.wallet-balance-confirm.title': string;
126
127
  'pisell2.checkout.wallet-balance-confirm.description-before': string;
127
128
  'pisell2.checkout.wallet-balance-confirm.description-after': string;
@@ -281,6 +282,7 @@ declare const _default: {
281
282
  'pisell2.checkout.manual-discount.no-amount': string;
282
283
  'pisell2.checkout.manual-discount.has-payment-items': string;
283
284
  'pisell2.checkout.manual-discount.invalid-amount': string;
285
+ 'pisell2.checkout.can-not-change-deposit-amount': string;
284
286
  'pisell2.checkout.wallet-balance-confirm.title': string;
285
287
  'pisell2.checkout.wallet-balance-confirm.description-before': string;
286
288
  'pisell2.checkout.wallet-balance-confirm.description-after': string;
@@ -456,6 +458,7 @@ declare const _default: {
456
458
  'pisell2.checkout.manual-discount.no-amount': string;
457
459
  'pisell2.checkout.manual-discount.has-payment-items': string;
458
460
  'pisell2.checkout.manual-discount.invalid-amount': string;
461
+ 'pisell2.checkout.can-not-change-deposit-amount': string;
459
462
  'pisell2.checkout.wallet-balance-confirm.title': string;
460
463
  'pisell2.checkout.wallet-balance-confirm.description-before': string;
461
464
  'pisell2.checkout.wallet-balance-confirm.description-after': string;
@@ -154,6 +154,7 @@ export default {
154
154
  'pisell2.checkout.manual-discount.no-amount': 'No order amount available for discount',
155
155
  'pisell2.checkout.manual-discount.has-payment-items': 'Order already contains payment items, cannot manually adjust price',
156
156
  'pisell2.checkout.manual-discount.invalid-amount': 'Please enter a valid amount greater than 0',
157
+ 'pisell2.checkout.can-not-change-deposit-amount': 'Order already contains deposit payment items, cannot change deposit amount',
157
158
  // Wallet balance confirmation modal
158
159
  'pisell2.checkout.wallet-balance-confirm.title': 'Apply wallet balance now',
159
160
  'pisell2.checkout.wallet-balance-confirm.description-before': ' will be deducted from selected wallet balance, order will be marked as ',
@@ -352,6 +353,7 @@ export default {
352
353
  'pisell2.checkout.manual-discount.no-amount': '无可用的订单金额进行折扣',
353
354
  'pisell2.checkout.manual-discount.has-payment-items': '订单已经含有支付项,不可手动改价',
354
355
  'pisell2.checkout.manual-discount.invalid-amount': '请输入大于0的有效金额',
356
+ 'pisell2.checkout.can-not-change-deposit-amount': '已经含有定金支付项,不可修改定金金额',
355
357
  // Wallet balance confirmation modal
356
358
  'pisell2.checkout.wallet-balance-confirm.title': '立即应用钱包余额',
357
359
  'pisell2.checkout.wallet-balance-confirm.description-before': ' 将从所选钱包余额中扣除,订单将标记为 ',
@@ -588,6 +590,7 @@ export default {
588
590
  'pisell2.checkout.manual-discount.no-amount': '無可用的訂單金額進行折扣',
589
591
  'pisell2.checkout.manual-discount.has-payment-items': '訂單已經含有支付項,不可手動改價',
590
592
  'pisell2.checkout.manual-discount.invalid-amount': '請輸入大於0的有效金額',
593
+ 'pisell2.checkout.can-not-change-deposit-amount': '已經含有定金支付項,不可修改定金金額',
591
594
  // Wallet balance confirmation modal
592
595
  'pisell2.checkout.wallet-balance-confirm.title': '立即應用錢包餘額',
593
596
  'pisell2.checkout.wallet-balance-confirm.description-before': ' 將從所選錢包餘額中扣除,訂單將標記為 ',
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ input, ...formItemProps }: any) => JSX.Element;
3
2
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 递归循环表单数据
4
3
  * @Author: hongbing.wang
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { RadioGroupProps } from 'antd';
3
2
  export declare const CheckboxGroup: ({ direction, options, ...props }: any) => JSX.Element;
4
3
  export declare const RadioGroup: ({ direction, options, ...props }: RadioGroupProps & {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Eftpos } from './const';
3
2
  /**
4
3
  * @title: tyro 设备连接
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ color }: {
3
2
  color?: string | undefined;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ color }: {
3
2
  color?: string | undefined;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Eftpos, DeviceStatus } from './const';
3
2
  import './index.less';
4
3
  interface PosProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DeviceProp } from "./const";
3
2
  interface PosProps {
4
3
  eftposName: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 自定义组件设置
4
3
  * @description: 自定义组件设置
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.css';
3
2
  /**
4
3
  * @title: 自定义组件设置
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  /**
4
3
  * @title: 断网(客户端)提示页
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  /**
4
3
  * @title: 支付状态未知页面
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './titlebar.less';
3
2
  declare enum EPopupTitleBarVariantType {
4
3
  BackTitleClose = "back-title-cancel",
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  import './index.less';
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  /**
4
3
  * @title: 取消签名确认页
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StatusType } from '../../const';
3
2
  declare const _default: (props: {
4
3
  status: StatusType;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: (props: {
3
2
  status: string;
4
3
  pedding?: string;
@@ -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<"loading" | "warn" | "success" | "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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StatusEnum } from '../const';
3
2
  export declare const POS: ({ api, onChange, }: {
4
3
  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: "loading" | "warn" | "success" | "fail" | "question";
177
+ status: "loading" | "success" | "warn" | "fail" | "question";
178
178
  };
179
179
  };
180
180
  /**
@@ -295,10 +295,10 @@ export declare const backUpFree: (payload: Partial<State>) => {
295
295
  name?: string | undefined;
296
296
  symbol?: string | undefined;
297
297
  amount?: string | number | undefined;
298
- mode?: "refund" | "fullPay" | "pay" | "query" | undefined;
298
+ mode?: "pay" | "refund" | "fullPay" | "query" | undefined;
299
299
  order_id?: string | number | undefined;
300
300
  eftpos?: "stripe" | "payo" | "tyro" | "windcave" | "linkly" | undefined;
301
- action?: "amount" | "pay" | "deviceList" | undefined;
301
+ action?: "pay" | "amount" | "deviceList" | undefined;
302
302
  key?: number | undefined;
303
303
  step?: number | undefined;
304
304
  title?: string | undefined;
@@ -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?: "loading" | "warn" | "success" | "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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './tip.less';
3
2
  /**
4
3
  * @title: 支付状态未知页面
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 获取 Tyro 资源
4
3
  * @description:
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 按钮操作区
4
3
  * @description: 仅包含签名
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ api, onChange, formatAmount, }: {
3
2
  api: any;
4
3
  onChange: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Status: (props: any) => JSX.Element;
4
3
  export default Status;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const DayItem: (props: any) => JSX.Element;
4
3
  export default DayItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { CalendarItemProps } from '../../../../../type';
4
3
  declare const Item: (props: CalendarItemProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Status: (props: any) => JSX.Element;
4
3
  export default Status;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare type Item = any;
4
3
  interface ProductItemProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export interface LoginProps {
4
3
  title: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const ToBPayTitle: (props: {
3
2
  amount: number | string;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ThreedsLoading: ({ title, showSuccessBackButton, onSuccessBack }: any) => JSX.Element;
4
3
  export default ThreedsLoading;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const StripePayment: () => JSX.Element;
4
3
  export default StripePayment;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
3
2
  public_key: string;
4
3
  client_secret?: string | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
3
2
  public_key: string;
4
3
  client_secret?: string | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const PageLoading: () => JSX.Element;
4
3
  export default PageLoading;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const PaymentRequestForm: () => JSX.Element | null;
4
3
  export default PaymentRequestForm;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DateSectionCom: ({ value, onChange, showTime, className, style, useSpace, format, itemStyle, }: any) => JSX.Element;
3
2
  export default DateSectionCom;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const GenderField: (props: any) => JSX.Element;
3
2
  export default GenderField;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const Actor: ({ name }: {
3
2
  name: string;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface InfoProps {
3
2
  relation_id: any;
4
3
  action: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductItemPreview: ({ item, onClick, onRemove, amountSymbol, style, className, }: any) => JSX.Element;
4
3
  export default ProductItemPreview;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface RuleSettingProps {
4
3
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarDataItem } from "../type";
3
2
  declare type CalendarItemProps = {
4
3
  month: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Calendar: () => JSX.Element;
4
3
  export default Calendar;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type CurrentDayProps = {
4
3
  onClose: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ScheduleItem } from "../../type";
3
2
  import "./index.less";
4
3
  declare type ScheduleDetailListPropsType = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { ScheduleItem } from '../../../type';
4
3
  declare type Item = any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ButtonProps } from 'antd';
3
2
  import { ScheduleItem } from '../../type';
4
3
  import './index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const MaxParticipantsModule: ({ form, value, onChange, useSchedule, isAutoChange, onData, }: {
4
3
  form: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const ResourcesModule: ({ product }: {
3
2
  product: any;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const AddSchedules: ({ value, onChange, drawerContainer, isSelf }: any) => JSX.Element;
4
3
  export default AddSchedules;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type Value = number[];
4
3
  declare const SchedulesModule: ({ value, onChange, drawerContainer, ruleFn, tabKey, previewItemChange, isSelf, isTitle, }: {