@pisell/private-materials 6.4.45 → 6.4.47

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 (249) 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 +146 -146
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +1 -1
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +3 -3
  11. package/es/components/Sales/Summary/utils.d.ts +1 -1
  12. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  13. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  14. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  15. package/es/components/appointmentBooking/components/Content/index.d.ts +0 -1
  16. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  17. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  18. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  19. package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
  20. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
  21. package/es/components/appointmentBooking/deposit/index.d.ts +0 -1
  22. package/es/components/appointmentBooking/index.d.ts +0 -1
  23. package/es/components/booking/addons/model.d.ts +1 -10
  24. package/es/components/booking/components/footer/amount.js +0 -1
  25. package/es/components/booking/components/footer/index.d.ts +0 -1
  26. package/es/components/booking/components/footer/index.js +22 -13
  27. package/es/components/booking/components/voucher/index.d.ts +0 -1
  28. package/es/components/booking/forms/footer.d.ts +0 -1
  29. package/es/components/booking/forms/model.d.ts +1 -10
  30. package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  31. package/es/components/booking/hooks/useClearCart.d.ts +0 -1
  32. package/es/components/booking/hooks/useQuotation.d.ts +0 -1
  33. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  34. package/es/components/booking/info/model.d.ts +1 -10
  35. package/es/components/booking/info/service/addService/index.d.ts +0 -1
  36. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  37. package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  38. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  39. package/es/components/booking/info/service/serviceItem/index.d.ts +0 -1
  40. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  41. package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  42. package/es/components/booking/model.d.ts +1 -9
  43. package/es/components/booking/notes/model.d.ts +1 -10
  44. package/es/components/booking/payments/model.d.ts +1 -10
  45. package/es/components/booking/utils.js +10 -5
  46. package/es/components/checkout/PaymentModal.js +68 -24
  47. package/es/components/checkout/components/AdditionalModule/index.less +1 -1
  48. package/es/components/checkout/components/AmountSummary/index.js +18 -14
  49. package/es/components/checkout/components/AmountSummary/index.less +13 -0
  50. package/es/components/checkout/components/CashPaymentModule/index.js +4 -2
  51. package/es/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.js +48 -44
  52. package/es/components/checkout/components/PaymentOptionsModule/index.less +0 -6
  53. package/es/components/checkout/components/PaymentResultToast/index.js +38 -8
  54. package/es/components/checkout/components/PaymentResultToast/types.d.ts +2 -0
  55. package/es/components/checkout/components/SearchAndClientModule/index.d.ts +0 -1
  56. package/es/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +0 -1
  57. package/es/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +0 -1
  58. package/es/components/checkout/components/WalletPassModule/utils.js +6 -5
  59. package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
  60. package/es/components/checkout/hooks/useWalletPass.js +9 -4
  61. package/es/components/checkout/locales.d.ts +3 -0
  62. package/es/components/checkout/locales.js +4 -1
  63. package/es/components/eftposPay/amount.d.ts +1 -1
  64. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  65. package/es/components/eftposPay/component/fail/index.d.ts +0 -1
  66. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
  67. package/es/components/eftposPay/device.d.ts +1 -1
  68. package/es/components/eftposPay/hooks.d.ts +1 -1
  69. package/es/components/eftposPay/index.d.ts +0 -1
  70. package/es/components/eftposPay/pay.d.ts +0 -1
  71. package/es/components/eftposPay/store/index.d.ts +4 -4
  72. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  73. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
  74. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  75. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  76. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  77. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  78. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  79. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  80. package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  81. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  82. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  83. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  84. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  85. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  86. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  87. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  88. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  89. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  90. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  91. package/es/components/pay/toB/components/Cache/index.d.ts +0 -1
  92. package/es/components/pay/toB/components/Card/index.d.ts +0 -1
  93. package/es/components/pay/toB/components/ConfirmedPayment/index.d.ts +0 -1
  94. package/es/components/pay/toB/components/Content/Footer.d.ts +0 -1
  95. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  96. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  97. package/es/components/pay/toC/model.d.ts +1 -9
  98. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  99. package/es/components/pisellSelectCustomerModal/index.d.ts +0 -1
  100. package/es/components/productSelect/components/TabProduct/index.d.ts +0 -1
  101. package/es/components/ruleSetting/index.d.ts +0 -1
  102. package/es/components/schedules/model.d.ts +1 -9
  103. package/es/components/shoppingCart/components/Cart/index.d.ts +0 -1
  104. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  105. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  106. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -1
  107. package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -1
  108. package/es/components/ticketBooking/components/menuBar/index.js +3 -1
  109. package/es/components/ticketBooking/components/menuBar/index.less +7 -0
  110. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
  111. package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -1
  112. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  113. package/es/components/wallet/Detail/model.d.ts +1 -13
  114. package/es/components/wallet/DiscountCard/model.d.ts +1 -14
  115. package/es/components/wallet/PointCard/model.d.ts +1 -13
  116. package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
  117. package/es/components/wallet/Voucher/model.d.ts +1 -13
  118. package/es/components/wallet/model.d.ts +1 -9
  119. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  120. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  121. package/es/plus/noteModal/AddTempModal.d.ts +0 -1
  122. package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  123. package/es/pro/pisellPhoneKeyboard/index.d.ts +0 -1
  124. package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +0 -1
  125. package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +36 -15
  126. package/es/pro/priceKeyboard/components/discountKeyboard/index.js +55 -32
  127. package/es/pro/priceKeyboard/components/discountKeyboard/locales.js +3 -3
  128. package/es/pro/priceKeyboard/components/paymentKeyboard/index.d.ts +0 -1
  129. package/es/pro/priceKeyboard/hooks/rightItems.d.ts +0 -1
  130. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  131. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  132. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  133. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  134. package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -1
  135. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  136. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  137. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  138. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
  139. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
  140. package/lib/components/appointmentBooking/deposit/index.d.ts +0 -1
  141. package/lib/components/appointmentBooking/index.d.ts +0 -1
  142. package/lib/components/booking/addons/model.d.ts +1 -10
  143. package/lib/components/booking/components/footer/amount.js +0 -1
  144. package/lib/components/booking/components/footer/index.d.ts +0 -1
  145. package/lib/components/booking/components/footer/index.js +8 -1
  146. package/lib/components/booking/components/voucher/index.d.ts +0 -1
  147. package/lib/components/booking/forms/footer.d.ts +0 -1
  148. package/lib/components/booking/forms/model.d.ts +1 -10
  149. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  150. package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
  151. package/lib/components/booking/hooks/useQuotation.d.ts +0 -1
  152. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  153. package/lib/components/booking/info/model.d.ts +1 -10
  154. package/lib/components/booking/info/service/addService/index.d.ts +0 -1
  155. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  156. package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  157. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  158. package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -1
  159. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  160. package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  161. package/lib/components/booking/model.d.ts +1 -9
  162. package/lib/components/booking/notes/model.d.ts +1 -10
  163. package/lib/components/booking/payments/model.d.ts +1 -10
  164. package/lib/components/booking/utils.js +10 -5
  165. package/lib/components/checkout/PaymentModal.js +58 -20
  166. package/lib/components/checkout/components/AdditionalModule/index.less +1 -1
  167. package/lib/components/checkout/components/AmountSummary/index.js +7 -11
  168. package/lib/components/checkout/components/AmountSummary/index.less +13 -0
  169. package/lib/components/checkout/components/CashPaymentModule/index.js +3 -1
  170. package/lib/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.js +47 -56
  171. package/lib/components/checkout/components/PaymentOptionsModule/index.less +0 -6
  172. package/lib/components/checkout/components/PaymentResultToast/index.js +26 -1
  173. package/lib/components/checkout/components/PaymentResultToast/types.d.ts +2 -0
  174. package/lib/components/checkout/components/SearchAndClientModule/index.d.ts +0 -1
  175. package/lib/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +0 -1
  176. package/lib/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +0 -1
  177. package/lib/components/checkout/components/WalletPassModule/utils.js +5 -4
  178. package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
  179. package/lib/components/checkout/hooks/useWalletPass.js +9 -6
  180. package/lib/components/checkout/locales.d.ts +3 -0
  181. package/lib/components/checkout/locales.js +4 -1
  182. package/lib/components/eftposPay/amount.d.ts +1 -1
  183. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  184. package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
  185. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
  186. package/lib/components/eftposPay/device.d.ts +1 -1
  187. package/lib/components/eftposPay/hooks.d.ts +1 -1
  188. package/lib/components/eftposPay/index.d.ts +0 -1
  189. package/lib/components/eftposPay/pay.d.ts +0 -1
  190. package/lib/components/eftposPay/store/index.d.ts +4 -4
  191. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  192. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
  193. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  194. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  195. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  196. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  197. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  198. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  199. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  200. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  201. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  202. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  203. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  204. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  205. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  206. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  207. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  208. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  209. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  210. package/lib/components/pay/toB/components/Cache/index.d.ts +0 -1
  211. package/lib/components/pay/toB/components/Card/index.d.ts +0 -1
  212. package/lib/components/pay/toB/components/ConfirmedPayment/index.d.ts +0 -1
  213. package/lib/components/pay/toB/components/Content/Footer.d.ts +0 -1
  214. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  215. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  216. package/lib/components/pay/toC/model.d.ts +1 -9
  217. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  218. package/lib/components/pisellSelectCustomerModal/index.d.ts +0 -1
  219. package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -1
  220. package/lib/components/ruleSetting/index.d.ts +0 -1
  221. package/lib/components/schedules/model.d.ts +1 -9
  222. package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -1
  223. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  224. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  225. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -1
  226. package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -1
  227. package/lib/components/ticketBooking/components/menuBar/index.js +1 -1
  228. package/lib/components/ticketBooking/components/menuBar/index.less +7 -0
  229. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
  230. package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -1
  231. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  232. package/lib/components/wallet/Detail/model.d.ts +1 -13
  233. package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
  234. package/lib/components/wallet/PointCard/model.d.ts +1 -13
  235. package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
  236. package/lib/components/wallet/Voucher/model.d.ts +1 -13
  237. package/lib/components/wallet/model.d.ts +1 -9
  238. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  239. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  240. package/lib/plus/noteModal/AddTempModal.d.ts +0 -1
  241. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  242. package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -1
  243. package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +0 -1
  244. package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +66 -38
  245. package/lib/pro/priceKeyboard/components/discountKeyboard/index.js +51 -32
  246. package/lib/pro/priceKeyboard/components/discountKeyboard/locales.js +3 -3
  247. package/lib/pro/priceKeyboard/components/paymentKeyboard/index.d.ts +0 -1
  248. package/lib/pro/priceKeyboard/hooks/rightItems.d.ts +0 -1
  249. package/package.json +12 -12
@@ -62,6 +62,7 @@ var PaymentMethodItem = ({
62
62
  return baseAmount + surcharge;
63
63
  };
64
64
  const handleRightButtonClick = (e) => {
65
+ if (!isEftpos) return;
65
66
  e.preventDefault();
66
67
  if (disabled || !onClick) {
67
68
  return;
@@ -84,14 +85,11 @@ var PaymentMethodItem = ({
84
85
  }
85
86
  };
86
87
  const isEftpos = method.code === "EFTPOS" || method.type === "eftpos";
87
- const renderLeftContent = () => /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("payment-options-module-payment-method-left") }, /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("payment-options-module-icon-container") }, renderPaymentIcon(method)), /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("payment-options-module-payment-info") }, /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("payment-options-module-payment-info-inner") }, /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("payment-options-module-payment-name") }, method.name), /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("payment-options-module-payment-info-inner-surcharge") }, !!(method == null ? void 0 : method.is_surcharge) && calculateSurcharge(method) !== 0 && /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("payment-options-module-surcharge-text") }, (getText == null ? void 0 : getText("pisell2.payment-options.surcharge-label", "Surcharge")) || "Surcharge", ":", (0, import_utils.formatAmount)(calculateSurcharge(method), 2, amountSymbol)), !isEftpos && /* @__PURE__ */ import_react.default.createElement(
88
- "div",
89
- {
90
- className: (0, import_classnames.default)("payment-options-module-surcharge-text"),
91
- style: { cursor: "pointer" }
92
- },
93
- /* @__PURE__ */ import_react.default.createElement(import_materials.Iconfont, { type: "pisell2-edit-05", style: { fontSize: "24px", color: disabled ? "#D0D5DD" : "#7F56DA" } })
94
- )))));
88
+ const showKeyboard = () => {
89
+ if (isEftpos) return;
90
+ setIsKeyboardVisible(true);
91
+ };
92
+ const renderLeftContent = () => /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("payment-options-module-payment-method-left") }, /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("payment-options-module-icon-container") }, renderPaymentIcon(method)), /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("payment-options-module-payment-info") }, /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("payment-options-module-payment-info-inner") }, /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("payment-options-module-payment-name") }, method.name), /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("payment-options-module-payment-info-inner-surcharge") }, !!(method == null ? void 0 : method.is_surcharge) && calculateSurcharge(method) !== 0 && /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("payment-options-module-surcharge-text") }, (getText == null ? void 0 : getText("pisell2.payment-options.surcharge-label", "Surcharge")) || "Surcharge", ":", (0, import_utils.formatAmount)(calculateSurcharge(method), 2, amountSymbol)), false))));
95
93
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
96
94
  "button",
97
95
  {
@@ -102,57 +100,11 @@ var PaymentMethodItem = ({
102
100
  "payment-options-module-disabled": disabled
103
101
  }
104
102
  ),
103
+ onClick: showKeyboard,
105
104
  type: "button",
106
105
  disabled
107
106
  },
108
- !isEftpos ? /* @__PURE__ */ import_react.default.createElement(
109
- import_antd.Popover,
110
- {
111
- content: /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement(
112
- import_priceKeyboard.PaymentKeyboard,
113
- {
114
- paymentOriginalValue: String(customAmount || 0),
115
- paymentDefaultValue: String(customAmount || 0),
116
- enableExceedMaxAmount: !isEftpos,
117
- payment: {
118
- enable: true
119
- },
120
- surcharge: {
121
- enable: !!(method == null ? void 0 : method.is_surcharge) && calculateSurcharge(method) !== 0
122
- },
123
- surchargeDefaultValue: {
124
- percent: method.percentage ? String(Number(method.percentage) * 100) : "",
125
- fixed: method.fixed ? String(method.fixed) : ""
126
- },
127
- selectType: "light",
128
- onChange: (value) => {
129
- console.log(value);
130
- },
131
- onPay: (args) => {
132
- var _a, _b;
133
- console.log(args);
134
- setIsKeyboardVisible(false);
135
- if (onClick) {
136
- onClick({
137
- ...method,
138
- fixed: Number(((_a = args.surcharge) == null ? void 0 : _a.fixed) || 0),
139
- percentage: ((_b = args.surcharge) == null ? void 0 : _b.percent) ? Number(args.surcharge.percent) / 100 : 0,
140
- totalAmount: String((0, import_utils.formatAmount)(args.amount, 2))
141
- });
142
- }
143
- }
144
- }
145
- )),
146
- trigger: "click",
147
- open: isKeyboardVisible,
148
- onOpenChange: setIsKeyboardVisible,
149
- placement: "bottom",
150
- overlayClassName: "payment-keyboard-popover",
151
- arrow: true,
152
- destroyTooltipOnHide: true
153
- },
154
- /* @__PURE__ */ import_react.default.createElement("div", null, renderLeftContent())
155
- ) : renderLeftContent(),
107
+ renderLeftContent(),
156
108
  /* @__PURE__ */ import_react.default.createElement(
157
109
  "div",
158
110
  { className: (0, import_classnames.default)("payment-options-module-payment-method-right"), onClick: handleRightButtonClick },
@@ -167,6 +119,45 @@ var PaymentMethodItem = ({
167
119
  /* @__PURE__ */ import_react.default.createElement(import_materials.Iconfont, { type: "pisell2-a-arrow-circle-right2", style: { fontSize: "30px", color: disabled ? "#D0D5DD" : "#7F56DA" } })
168
120
  )
169
121
  )
122
+ ), /* @__PURE__ */ import_react.default.createElement(
123
+ import_priceKeyboard.PaymentKeyboard,
124
+ {
125
+ containerProps: {
126
+ renderType: "modal",
127
+ open: isKeyboardVisible,
128
+ onCancel: () => setIsKeyboardVisible(false)
129
+ },
130
+ paymentOriginalValue: String(customAmount || 0),
131
+ paymentDefaultValue: String(customAmount || 0),
132
+ enableExceedMaxAmount: !isEftpos,
133
+ payment: {
134
+ enable: true
135
+ },
136
+ surcharge: {
137
+ enable: !!(method == null ? void 0 : method.is_surcharge) && calculateSurcharge(method) !== 0
138
+ },
139
+ surchargeDefaultValue: {
140
+ percent: method.percentage ? String(Number(method.percentage) * 100) : "",
141
+ fixed: method.fixed ? String(method.fixed) : ""
142
+ },
143
+ selectType: "dark",
144
+ onChange: (value) => {
145
+ console.log(value);
146
+ },
147
+ onPay: (args) => {
148
+ var _a, _b;
149
+ console.log(args);
150
+ setIsKeyboardVisible(false);
151
+ if (onClick) {
152
+ onClick({
153
+ ...method,
154
+ fixed: Number(((_a = args.surcharge) == null ? void 0 : _a.fixed) || 0),
155
+ percentage: ((_b = args.surcharge) == null ? void 0 : _b.percent) ? Number(args.surcharge.percent) / 100 : 0,
156
+ totalAmount: String((0, import_utils.formatAmount)(args.amount, 2))
157
+ });
158
+ }
159
+ }
160
+ }
170
161
  ));
171
162
  };
172
163
  var PaymentMethodItem_default = PaymentMethodItem;
@@ -281,9 +281,3 @@
281
281
  /* 标题保持正常颜色 */
282
282
  }
283
283
  }
284
-
285
- .payment-keyboard-popover {
286
- .pisell-lowcode-popover-inner{
287
- padding: 0;
288
- }
289
- }
@@ -92,10 +92,13 @@ var PaymentResultToast = (0, import_react.memo)((props) => {
92
92
  mask = false,
93
93
  maskClosable = false,
94
94
  closable = true,
95
- zIndex
95
+ zIndex,
96
+ clickOutsideToClose = true
96
97
  } = props;
97
98
  const [isAnimating, setIsAnimating] = (0, import_react.useState)(false);
98
99
  const countdownTimeoutRef = (0, import_react.useRef)(null);
100
+ const modalContentRef = (0, import_react.useRef)(null);
101
+ const modalRef = (0, import_react.useRef)(null);
99
102
  const onCloseRef = (0, import_react.useRef)(onClose);
100
103
  const onCountdownCompleteRef = (0, import_react.useRef)(onCountdownComplete);
101
104
  onCloseRef.current = onClose;
@@ -133,6 +136,27 @@ var PaymentResultToast = (0, import_react.memo)((props) => {
133
136
  (0, import_react.useEffect)(() => {
134
137
  return clearCountdown;
135
138
  }, [clearCountdown]);
139
+ (0, import_react.useEffect)(() => {
140
+ if (!clickOutsideToClose || !visible) {
141
+ return;
142
+ }
143
+ const handleClickOutside = (event) => {
144
+ var _a;
145
+ const target = event.target;
146
+ const modalContent = modalContentRef.current;
147
+ if (!modalContent) {
148
+ return;
149
+ }
150
+ if (!modalContent.contains(target)) {
151
+ clearCountdown();
152
+ (_a = onCloseRef.current) == null ? void 0 : _a.call(onCloseRef);
153
+ }
154
+ };
155
+ document.addEventListener("mousedown", handleClickOutside);
156
+ return () => {
157
+ document.removeEventListener("mousedown", handleClickOutside);
158
+ };
159
+ }, [clickOutsideToClose, visible, clearCountdown]);
136
160
  const handleClose = (0, import_react.useCallback)(() => {
137
161
  var _a;
138
162
  clearCountdown();
@@ -228,6 +252,7 @@ var PaymentResultToast = (0, import_react.memo)((props) => {
228
252
  /* @__PURE__ */ import_react.default.createElement(
229
253
  "div",
230
254
  {
255
+ ref: modalContentRef,
231
256
  className: getClassName("content", statusClassName),
232
257
  style: {
233
258
  position: "relative",
@@ -54,4 +54,6 @@ export interface PaymentResultToastConfig {
54
54
  closable?: boolean;
55
55
  /** 弹窗层级 */
56
56
  zIndex?: number;
57
+ /** 是否启用点击外部区域关闭弹窗(使用纯JS实现) */
58
+ clickOutsideToClose?: boolean;
57
59
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  export interface IScanResult {
4
3
  status: 'success' | 'failed';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellWalletPassCardProps } from '../../types';
3
2
  export declare const TestModule: () => JSX.Element;
4
3
  declare const ConflictModal: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface DiscountWalletProps {
4
3
  isCardMode: boolean;
@@ -89,14 +89,14 @@ var formatDiscountWalletData = (data, selectId = []) => {
89
89
  var _a, _b, _c;
90
90
  let name = "";
91
91
  let storeName = "";
92
- if (item.tag === "product_discount_card") {
92
+ if (item.tag === "product_discount_card" || item.tag === "discount_card") {
93
93
  if (((_a = item == null ? void 0 : item.metadata) == null ? void 0 : _a.discount_card_type) === "fixed_amount") {
94
94
  const amountValue = (item == null ? void 0 : item.savedAmount) ? item == null ? void 0 : item.savedAmount : item.par_value;
95
95
  name = /* @__PURE__ */ import_react.default.createElement("span", null, import_utils.locales.getText("pisell2.checkout.discount.fixed_amount"), " ", /* @__PURE__ */ import_react.default.createElement(Amount, { value: amountValue, showCurrencySymbol: true }));
96
96
  } else {
97
- name = import_utils.locales.getText("pisell2.checkout.discount.percentage.off")(item.par_value);
97
+ name = import_utils.locales.getText("pisell2.checkout.discount.percentage.off")(item.par_value || item.discount.percent);
98
98
  }
99
- storeName = item.product_name;
99
+ storeName = item.product_name || item.format_title.auto;
100
100
  } else if (item.tag === "good_pass") {
101
101
  name = item.product_name;
102
102
  const left = Number(item.balance) || 0;
@@ -106,7 +106,8 @@ var formatDiscountWalletData = (data, selectId = []) => {
106
106
  name = item.product_name;
107
107
  }
108
108
  if (!name && item.isEditMode) {
109
- name = item.name;
109
+ name = item.amount;
110
+ storeName = item.format_title.auto;
110
111
  }
111
112
  return {
112
113
  ...item,
@@ -17,7 +17,7 @@ export declare const useWalletPass: (props: {
17
17
  cardData: any;
18
18
  handleSelectWallet: (value: number[]) => void;
19
19
  selectedWalletIds: any[];
20
- expiredWalletIds: any;
20
+ expiredWalletIds: any[];
21
21
  expiredWalletData: any;
22
22
  disabledWalletData: any[];
23
23
  clearAllSelectedWallet: () => void;
@@ -539,14 +539,17 @@ var useWalletPass = (props) => {
539
539
  import_utils.locales.getText("wallet-pass-module-already-best-combination")
540
540
  );
541
541
  } else {
542
- setWalletSelect(searchIdentificationCodeList);
542
+ const select = searchIdentificationCodeList.filter((item) => item.unified_available_status);
543
+ setWalletSelect(select);
543
544
  handleFetchUserIdentificationCodes(
544
- searchIdentificationCodeList.map((item) => item.id),
545
- searchIdentificationCodeList
546
- );
547
- Toast == null ? void 0 : Toast.success(
548
- import_utils.locales.getText("wallet-pass-module-best-combination-selected")
545
+ select.map((item) => item.id),
546
+ select
549
547
  );
548
+ if (select.length) {
549
+ Toast == null ? void 0 : Toast.success(
550
+ import_utils.locales.getText("wallet-pass-module-best-combination-selected")
551
+ );
552
+ }
550
553
  }
551
554
  }
552
555
  return;
@@ -25,6 +25,7 @@ declare const _default: {
25
25
  'partial.paid': string;
26
26
  'deposit.partial.paid': string;
27
27
  'split.payment': string;
28
+ 'split.cancel': string;
28
29
  cash: string;
29
30
  rounding: string;
30
31
  'cash.payment': string;
@@ -191,6 +192,7 @@ declare const _default: {
191
192
  'partial.paid': string;
192
193
  'deposit.partial.paid': string;
193
194
  'split.payment': string;
195
+ 'split.cancel': string;
194
196
  cash: string;
195
197
  rounding: string;
196
198
  'cash.payment': string;
@@ -357,6 +359,7 @@ declare const _default: {
357
359
  'partial.paid': string;
358
360
  'deposit.partial.paid': string;
359
361
  'split.payment': string;
362
+ 'split.cancel': string;
360
363
  cash: string;
361
364
  rounding: string;
362
365
  'cash.payment': string;
@@ -53,6 +53,7 @@ var locales_default = {
53
53
  "partial.paid": "Partial Paid",
54
54
  "deposit.partial.paid": "Deposit Paid",
55
55
  "split.payment": "Pay\nPartially",
56
+ "split.cancel": "Cancel\nPartial",
56
57
  // Cash Payment
57
58
  "cash": "Cash",
58
59
  "rounding": "Rounding",
@@ -100,7 +101,7 @@ var locales_default = {
100
101
  "wallet-pass-module-applied": (count) => `${count} Applied`,
101
102
  "wallet-pass-module-expired": (count) => `${count} Expired`,
102
103
  "wallet-pass-module-best-saving": "Select Best",
103
- "wallet-pass-module-clear-all": "Clear All",
104
+ "wallet-pass-module-clear-all": "Clear Selection",
104
105
  "wallet-pass-module-expired-modal-title": (count) => `${count} Expired Vouchers`,
105
106
  "wallet-pass-module-expired-modal-empty": "No expired cards or coupons",
106
107
  "wallet-pass-module-expired-modal-close": "Close",
@@ -252,6 +253,7 @@ var locales_default = {
252
253
  "partial.paid": "部分支付",
253
254
  "deposit.partial.paid": "定金部分支付",
254
255
  "split.payment": "部分付款",
256
+ "split.cancel": "取消\n部分支付",
255
257
  // Cash Payment
256
258
  "cash": "现金",
257
259
  "rounding": "舍入",
@@ -455,6 +457,7 @@ var locales_default = {
455
457
  "partial.paid": "部分支付",
456
458
  "deposit.partial.paid": "定金部分支付",
457
459
  "split.payment": "部分付款",
460
+ "split.cancel": "取消\n部分支付",
458
461
  // Cash Payment
459
462
  "cash": "現金",
460
463
  "rounding": "捨入",
@@ -9,7 +9,7 @@ import { PosProps } from './const';
9
9
  */
10
10
  declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
11
11
  className?: string | undefined;
12
- onChange?: ((status: "success" | "fail" | "page" | "print" | "mark_tx_processed", params?: string | {
12
+ onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
13
13
  [keys: string]: unknown;
14
14
  } | undefined, other?: any) => void) | undefined;
15
15
  onClose: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  declare const _default: ({ className, isMobile, onChange }: ActionProps) => JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  declare const _default: ({ onChange, className, isMobile }: ActionProps) => JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  /**
4
3
  * @title: 支付状态未知页面
@@ -11,7 +11,7 @@ import './device.less';
11
11
  declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, containerStyle, }: {
12
12
  api: PayProps['api'];
13
13
  className?: string | undefined;
14
- onChange?: ((status: "success" | "fail" | "page" | "print" | "mark_tx_processed", params?: string | {
14
+ onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
15
15
  [keys: string]: unknown;
16
16
  } | undefined, other?: any) => void) | undefined;
17
17
  onClose: () => void;
@@ -15,7 +15,7 @@ export declare const useStoreRef: <T extends {
15
15
  readonly numRef: React.MutableRefObject<string | number | undefined>;
16
16
  readonly orderIdRef: React.MutableRefObject<string | number>;
17
17
  readonly modeRef: React.MutableRefObject<ModeEnum>;
18
- readonly statusRef: React.MutableRefObject<"loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question">;
18
+ readonly statusRef: React.MutableRefObject<"loading" | "warn" | "success" | "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 { PosProps } from './const';
3
2
  import './index.less';
4
3
  declare const _default: (props: PosProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PayProps } from './const';
3
2
  import './index.less';
4
3
  /**
@@ -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" | "success" | "warn" | "fail" | "question";
177
+ status: "loading" | "warn" | "success" | "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?: "pay" | "fullPay" | "refund" | "query" | undefined;
298
+ mode?: "refund" | "fullPay" | "pay" | "query" | undefined;
299
299
  order_id?: string | number | undefined;
300
300
  eftpos?: "payo" | "tyro" | "windcave" | "stripe" | "linkly" | undefined;
301
- action?: "pay" | "amount" | "deviceList" | undefined;
301
+ action?: "amount" | "pay" | "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" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
311
+ status?: "loading" | "warn" | "success" | "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 './index.less';
3
2
  declare const ErrorTip: ({ text }: any) => JSX.Element;
4
3
  export default ErrorTip;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ContinueButton: () => JSX.Element;
4
3
  export default ContinueButton;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Total: ({ className, isFooter }: any) => JSX.Element;
4
3
  export default Total;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const CartItem: () => JSX.Element;
4
3
  export default CartItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Cart: ({ open, onCancel }: any) => JSX.Element;
4
3
  export default Cart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const EmptyHolderModal: (props: any) => JSX.Element;
4
3
  export default EmptyHolderModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Event: () => JSX.Element;
4
3
  export default Event;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Footer: () => JSX.Element;
4
3
  export default Footer;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Information: () => JSX.Element;
4
3
  export default Information;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const InformationOptionsModal: (props: any) => JSX.Element;
4
3
  export default InformationOptionsModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const OrderProductModal: (props: any) => JSX.Element;
4
3
  export default OrderProductModal;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const RemoveOptionConfirmModal: (props: any) => JSX.Element;
3
2
  export default RemoveOptionConfirmModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Resource: () => JSX.Element;
4
3
  export default Resource;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare type CallToBookProps = {
4
3
  show: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const WeekItem: (props: any) => JSX.Element;
4
3
  export default WeekItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare type CalenDateWeekProps = {
4
3
  currentDate: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const BookingOptions: (props: {
3
2
  onChangeBookingOption?: ((bookingOption: any) => void) | undefined;
4
3
  }) => JSX.Element;
@@ -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 ScheduleTimeItem: ({ timeList }: any) => JSX.Element;
4
3
  export default ScheduleTimeItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ToBPayCache: (props: {
4
3
  open: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PayMethod } from '../../types';
3
2
  import './index.less';
4
3
  declare const ToBPayCard: ({ data, onChange, }: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Payment } from '../../types';
3
2
  import './index.less';
4
3
  declare const ConfirmedPayment: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const ToBPayFooter: (props: {
3
2
  loading: boolean;
4
3
  submitDisabled: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SetupForm: ({ onReady, amount, order_id, payment_method, scene, }: any) => JSX.Element;
4
3
  export default SetupForm;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { WalletPassDataType } from '../../../PaymentMethods/WalletPass/serve';
3
2
  import './index.less';
4
3
  interface WalletUseListProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  platform: 'pc' | 'h5' | '' | undefined;
4
3
  order: any;
@@ -29,11 +28,4 @@ export interface PayGroup {
29
28
  pay_number?: string;
30
29
  _order: any;
31
30
  }
32
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
33
- state: FormState;
34
- } & {
35
- dispatch: (params: {
36
- type: string;
37
- payload: any;
38
- }) => void;
39
- }>;
31
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface CustomerListProps {
4
3
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PopoverProps } from 'antd';
3
2
  import { CustomerCardProps } from './CustomerCard';
4
3
  import './index.less';
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const TabProduct: (props: any) => JSX.Element;
3
2
  export default TabProduct;