@pisell/private-materials 6.8.93 → 6.8.94

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 (317) 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/render/default/view.js +7 -7
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/Sales/Summary/utils.d.ts +1 -1
  8. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  9. package/es/components/appointmentBooking/components/Content/index.d.ts +1 -0
  10. package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
  11. package/es/components/appointmentBooking/index.d.ts +1 -0
  12. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  13. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  14. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
  15. package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
  16. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  17. package/es/components/booking/components/reloadResourceModal/index.d.ts +1 -0
  18. package/es/components/booking/dashboard/index.js +71 -93
  19. package/es/components/booking/dashboard/serve.d.ts +1 -0
  20. package/es/components/booking/dashboard/serve.js +22 -0
  21. package/es/components/booking/deposit/index.d.ts +1 -0
  22. package/es/components/booking/forms/single/index.d.ts +1 -0
  23. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  24. package/es/components/booking/info/header/index.d.ts +1 -0
  25. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  26. package/es/components/booking/info/service/Lists.d.ts +1 -0
  27. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  28. package/es/components/booking/info/service/addService/index.d.ts +1 -0
  29. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  30. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  31. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  32. package/es/components/booking/info/service2/utils.js +41 -39
  33. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  34. package/es/components/booking/info2/service/addService/index.d.ts +1 -0
  35. package/es/components/booking/materiels/contacts/index.d.ts +1 -0
  36. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  37. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  38. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  39. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  40. package/es/components/booking/notes/addNote/index.d.ts +1 -0
  41. package/es/components/checkout/components/ScrollableList/index.d.ts +5 -0
  42. package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
  43. package/es/components/eftpos/index.d.ts +1 -0
  44. package/es/components/eftpos/pos.d.ts +1 -0
  45. package/es/components/eftposPay/aggregatePayment/service.d.ts +24 -0
  46. package/es/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
  47. package/es/components/eftposPay/amount.d.ts +2 -1
  48. package/es/components/eftposPay/app.d.ts +1 -0
  49. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  50. package/es/components/eftposPay/component/fail/index.d.ts +1 -0
  51. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  52. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  53. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  54. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  55. package/es/components/eftposPay/component/step/index.d.ts +1 -0
  56. package/es/components/eftposPay/device.d.ts +1 -1
  57. package/es/components/eftposPay/hooks.d.ts +1 -1
  58. package/es/components/eftposPay/index.d.ts +1 -0
  59. package/es/components/eftposPay/linkly/index.d.ts +1 -0
  60. package/es/components/eftposPay/pay.d.ts +1 -0
  61. package/es/components/eftposPay/payo/config.d.ts +1 -0
  62. package/es/components/eftposPay/store/index.d.ts +5 -5
  63. package/es/components/eftposPay/tip.d.ts +1 -0
  64. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  65. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  66. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  67. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  68. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  69. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  70. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  71. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  72. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  73. package/es/components/eventBooking/index.d.ts +1 -0
  74. package/es/components/kioskSkuDetail/locales.d.ts +27 -0
  75. package/es/components/list/hooks/useListState.d.ts +45 -0
  76. package/es/components/list/types.d.ts +178 -0
  77. package/es/components/list/utils/index.d.ts +19 -0
  78. package/es/components/login/index.d.ts +1 -0
  79. package/es/components/pay/toB/components/Cache/index.d.ts +0 -1
  80. package/es/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  81. package/es/components/pay/toB/components/Content/Header.d.ts +1 -0
  82. package/es/components/pay/toC/PaymentList/index.d.ts +19 -0
  83. package/es/components/pay/toC/PaymentList/serve.d.ts +28 -0
  84. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  85. package/es/components/pay/toC/locales.d.ts +307 -0
  86. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  87. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  88. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  89. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  90. package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  91. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  92. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  93. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  94. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  95. package/es/components/productExtension/index.d.ts +1 -0
  96. package/es/components/productSelect/components/productGroup/index.d.ts +1 -0
  97. package/es/components/ruleSetting/index.d.ts +1 -0
  98. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  99. package/es/components/schedules/calendar/index.d.ts +1 -0
  100. package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
  101. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  102. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
  103. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  104. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  105. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  106. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  107. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  108. package/es/components/schedules/products/index.d.ts +1 -0
  109. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  110. package/es/components/schedules/products/list/index.d.ts +1 -0
  111. package/es/components/schedules/resources/index.d.ts +1 -0
  112. package/es/components/schedules/resources/list/index.d.ts +1 -0
  113. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  114. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  115. package/es/components/schedules/schedules/index.d.ts +1 -0
  116. package/es/components/shoppingCart/index.d.ts +1 -0
  117. package/es/components/systemSettings/registry/components/SectionList.d.ts +4 -0
  118. package/es/components/taxSelect/index.d.ts +1 -0
  119. package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
  120. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  121. package/es/components/ticketBooking/components/bookingDataPanel/index.js +2 -1
  122. package/es/components/ticketBooking/components/timeBar/index.d.ts +14 -0
  123. package/es/components/ticketBooking/index.d.ts +1 -0
  124. package/es/components/ticketBooking/locales.d.ts +201 -0
  125. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  126. package/es/hooks/printer.d.ts +4 -0
  127. package/es/hooks/useEngineContext.d.ts +4 -0
  128. package/es/hooks/usePaymentLogger.d.ts +1 -0
  129. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  130. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  131. package/es/plus/clinetSearch/index.d.ts +18 -0
  132. package/es/plus/clinetSearch/locales.d.ts +108 -0
  133. package/es/plus/clinetSearch/types.d.ts +70 -0
  134. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  135. package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +1 -0
  136. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
  137. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  138. package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
  139. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
  140. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  141. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +1 -0
  142. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
  143. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  144. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
  145. package/es/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  146. package/es/plus/saasCreateOrganization/index.d.ts +1 -0
  147. package/es/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  148. package/es/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  149. package/es/plus/saasRegister/components/GoLogin.d.ts +1 -0
  150. package/es/plus/saasRegister/components/Header.d.ts +1 -0
  151. package/es/plus/saasRegister/components/VerifyError.d.ts +1 -0
  152. package/es/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  153. package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +1 -0
  154. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +4 -0
  155. package/es/plus/skuOptionsSelection/locales.d.ts +33 -0
  156. package/es/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
  157. package/es/pro/Login2.0/components/LoginCodeInput.d.ts +27 -0
  158. package/es/pro/Login2.0/steps/CodeInput.d.ts +24 -0
  159. package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
  160. package/es/pro/pisellPaymentList/example.d.ts +1 -0
  161. package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
  162. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  163. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  164. package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
  165. package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
  166. package/lib/components/appointmentBooking/index.d.ts +1 -0
  167. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  168. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  169. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
  170. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
  171. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  172. package/lib/components/booking/components/reloadResourceModal/index.d.ts +1 -0
  173. package/lib/components/booking/dashboard/index.js +38 -60
  174. package/lib/components/booking/dashboard/serve.d.ts +1 -0
  175. package/lib/components/booking/dashboard/serve.js +8 -2
  176. package/lib/components/booking/deposit/index.d.ts +1 -0
  177. package/lib/components/booking/forms/single/index.d.ts +1 -0
  178. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  179. package/lib/components/booking/info/header/index.d.ts +1 -0
  180. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  181. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  182. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  183. package/lib/components/booking/info/service/addService/index.d.ts +1 -0
  184. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  185. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  186. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  187. package/lib/components/booking/info/service2/utils.js +3 -1
  188. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  189. package/lib/components/booking/info2/service/addService/index.d.ts +1 -0
  190. package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
  191. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  192. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  193. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  194. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  195. package/lib/components/booking/notes/addNote/index.d.ts +1 -0
  196. package/lib/components/checkout/components/ScrollableList/index.d.ts +5 -0
  197. package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
  198. package/lib/components/eftpos/index.d.ts +1 -0
  199. package/lib/components/eftpos/pos.d.ts +1 -0
  200. package/lib/components/eftposPay/aggregatePayment/service.d.ts +24 -0
  201. package/lib/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
  202. package/lib/components/eftposPay/amount.d.ts +2 -1
  203. package/lib/components/eftposPay/app.d.ts +1 -0
  204. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  205. package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
  206. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  207. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  208. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  209. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  210. package/lib/components/eftposPay/component/step/index.d.ts +1 -0
  211. package/lib/components/eftposPay/device.d.ts +1 -1
  212. package/lib/components/eftposPay/hooks.d.ts +1 -1
  213. package/lib/components/eftposPay/index.d.ts +1 -0
  214. package/lib/components/eftposPay/linkly/index.d.ts +1 -0
  215. package/lib/components/eftposPay/pay.d.ts +1 -0
  216. package/lib/components/eftposPay/payo/config.d.ts +1 -0
  217. package/lib/components/eftposPay/store/index.d.ts +5 -5
  218. package/lib/components/eftposPay/tip.d.ts +1 -0
  219. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  220. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  221. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  222. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  223. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  224. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  225. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  226. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  227. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  228. package/lib/components/eventBooking/index.d.ts +1 -0
  229. package/lib/components/kioskSkuDetail/locales.d.ts +27 -0
  230. package/lib/components/list/hooks/useListState.d.ts +45 -0
  231. package/lib/components/list/types.d.ts +178 -0
  232. package/lib/components/list/utils/index.d.ts +19 -0
  233. package/lib/components/login/index.d.ts +1 -0
  234. package/lib/components/pay/toB/components/Cache/index.d.ts +0 -1
  235. package/lib/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  236. package/lib/components/pay/toB/components/Content/Header.d.ts +1 -0
  237. package/lib/components/pay/toC/PaymentList/index.d.ts +19 -0
  238. package/lib/components/pay/toC/PaymentList/serve.d.ts +28 -0
  239. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  240. package/lib/components/pay/toC/locales.d.ts +307 -0
  241. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  242. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  243. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  244. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  245. package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  246. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  247. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  248. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  249. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  250. package/lib/components/productExtension/index.d.ts +1 -0
  251. package/lib/components/productSelect/components/productGroup/index.d.ts +1 -0
  252. package/lib/components/ruleSetting/index.d.ts +1 -0
  253. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  254. package/lib/components/schedules/calendar/index.d.ts +1 -0
  255. package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
  256. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  257. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
  258. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  259. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  260. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  261. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  262. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  263. package/lib/components/schedules/products/index.d.ts +1 -0
  264. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  265. package/lib/components/schedules/products/list/index.d.ts +1 -0
  266. package/lib/components/schedules/resources/index.d.ts +1 -0
  267. package/lib/components/schedules/resources/list/index.d.ts +1 -0
  268. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  269. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  270. package/lib/components/schedules/schedules/index.d.ts +1 -0
  271. package/lib/components/shoppingCart/index.d.ts +1 -0
  272. package/lib/components/systemSettings/registry/components/SectionList.d.ts +4 -0
  273. package/lib/components/taxSelect/index.d.ts +1 -0
  274. package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
  275. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  276. package/lib/components/ticketBooking/components/bookingDataPanel/index.js +3 -2
  277. package/lib/components/ticketBooking/components/timeBar/index.d.ts +14 -0
  278. package/lib/components/ticketBooking/index.d.ts +1 -0
  279. package/lib/components/ticketBooking/locales.d.ts +201 -0
  280. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  281. package/lib/hooks/printer.d.ts +4 -0
  282. package/lib/hooks/useEngineContext.d.ts +4 -0
  283. package/lib/hooks/usePaymentLogger.d.ts +1 -0
  284. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  285. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  286. package/lib/plus/clinetSearch/index.d.ts +18 -0
  287. package/lib/plus/clinetSearch/locales.d.ts +108 -0
  288. package/lib/plus/clinetSearch/types.d.ts +70 -0
  289. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  290. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +1 -0
  291. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
  292. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  293. package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
  294. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
  295. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  296. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +1 -0
  297. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
  298. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  299. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
  300. package/lib/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  301. package/lib/plus/saasCreateOrganization/index.d.ts +1 -0
  302. package/lib/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  303. package/lib/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  304. package/lib/plus/saasRegister/components/GoLogin.d.ts +1 -0
  305. package/lib/plus/saasRegister/components/Header.d.ts +1 -0
  306. package/lib/plus/saasRegister/components/VerifyError.d.ts +1 -0
  307. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  308. package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +1 -0
  309. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +4 -0
  310. package/lib/plus/skuOptionsSelection/locales.d.ts +33 -0
  311. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
  312. package/lib/pro/Login2.0/components/LoginCodeInput.d.ts +27 -0
  313. package/lib/pro/Login2.0/steps/CodeInput.d.ts +24 -0
  314. package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
  315. package/lib/pro/pisellPaymentList/example.d.ts +1 -0
  316. package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
  317. package/package.json +1 -1
@@ -196,7 +196,9 @@ var currentResource = function currentResource(state, useResource, cacheItem) {
196
196
  // 更新holder
197
197
  export var handleChangeHolder = function handleChangeHolder(products, currentItem, other) {
198
198
  return products.map(function (item) {
199
- if (item._id === currentItem._id) {
199
+ var _item$_extend, _item$_extend2, _currentItem$_origin;
200
+ var isSameGroup = (item === null || item === void 0 || (_item$_extend = item._extend) === null || _item$_extend === void 0 ? void 0 : _item$_extend.groupId) && ((_item$_extend2 = item._extend) === null || _item$_extend2 === void 0 ? void 0 : _item$_extend2.groupId) === (currentItem === null || currentItem === void 0 || (_currentItem$_origin = currentItem._origin) === null || _currentItem$_origin === void 0 || (_currentItem$_origin = _currentItem$_origin._extend) === null || _currentItem$_origin === void 0 ? void 0 : _currentItem$_origin.groupId);
201
+ if (item._id === currentItem._id || isSameGroup) {
200
202
  return _objectSpread(_objectSpread({}, item), {}, {
201
203
  _extend: _objectSpread(_objectSpread({}, item._extend), {}, {
202
204
  holder_id: isArr(other) ? other.map(function (item) {
@@ -215,10 +217,10 @@ var handleLike = function handleLike(products, currentItem, other) {
215
217
  return products.map(function (item) {
216
218
  if (currentItem.isParallelResource) {
217
219
  if (item._id === currentItem.serviceId) {
218
- var _item$_extend, _item$_extend2;
220
+ var _item$_extend3, _item$_extend4;
219
221
  return _objectSpread(_objectSpread({}, item), {}, {
220
222
  _extend: _objectSpread(_objectSpread({}, item._extend), {}, {
221
- resource: _objectSpread(_objectSpread({}, (_item$_extend = item._extend) === null || _item$_extend === void 0 ? void 0 : _item$_extend.resource), {}, _defineProperty({}, currentItem.resourceId, (_item$_extend2 = item._extend) === null || _item$_extend2 === void 0 ? void 0 : _item$_extend2.resource[currentItem.resourceId].map(function (item) {
223
+ resource: _objectSpread(_objectSpread({}, (_item$_extend3 = item._extend) === null || _item$_extend3 === void 0 ? void 0 : _item$_extend3.resource), {}, _defineProperty({}, currentItem.resourceId, (_item$_extend4 = item._extend) === null || _item$_extend4 === void 0 ? void 0 : _item$_extend4.resource[currentItem.resourceId].map(function (item) {
222
224
  return _objectSpread(_objectSpread({}, item), {}, {
223
225
  like_status: other.like_status
224
226
  });
@@ -343,8 +345,8 @@ export var updateServices = function updateServices(state, currentItem, type, ot
343
345
  if (type === 'delete_holders') {
344
346
  var _products2;
345
347
  products = (_products2 = products) === null || _products2 === void 0 ? void 0 : _products2.filter(function (item) {
346
- var _item$_extend3;
347
- return (item === null || item === void 0 || (_item$_extend3 = item._extend) === null || _item$_extend3 === void 0 ? void 0 : _item$_extend3.holder_id) !== other;
348
+ var _item$_extend5;
349
+ return (item === null || item === void 0 || (_item$_extend5 = item._extend) === null || _item$_extend5 === void 0 ? void 0 : _item$_extend5.holder_id) !== other;
348
350
  });
349
351
  }
350
352
 
@@ -558,7 +560,7 @@ export var genRowKey = function genRowKey(key) {
558
560
  return "rowKey-".concat(key);
559
561
  };
560
562
  var getGeneralParams = function getGeneralParams(item, state, isParallelResource) {
561
- var _state$bookingConfig4, _state$bookingConfig5, _formData$, _item$_extend5, _item$_extend6, _item$_extend7, _item$_extend8, _item$_extend9;
563
+ var _state$bookingConfig4, _state$bookingConfig5, _formData$, _item$_extend7, _item$_extend8, _item$_extend9, _item$_extend10, _item$_extend11;
562
564
  var pet = state.pet,
563
565
  service = state.service;
564
566
  var _ref8 = pet || {},
@@ -606,7 +608,7 @@ var getGeneralParams = function getGeneralParams(item, state, isParallelResource
606
608
  };
607
609
  });
608
610
  } else {
609
- var _item$_extend4;
611
+ var _item$_extend6;
610
612
  var _ref10 = service || {},
611
613
  resourcesOrigin = _ref10.resourcesOrigin;
612
614
  var resource = formatResources({
@@ -617,7 +619,7 @@ var getGeneralParams = function getGeneralParams(item, state, isParallelResource
617
619
  multiResources = [{
618
620
  _id: item._id,
619
621
  id: item._extend.resource,
620
- status: ((_item$_extend4 = item._extend) === null || _item$_extend4 === void 0 ? void 0 : _item$_extend4.like_status) || 'common',
622
+ status: ((_item$_extend6 = item._extend) === null || _item$_extend6 === void 0 ? void 0 : _item$_extend6.like_status) || 'common',
621
623
  lists: mapListItems(resource)
622
624
  }];
623
625
  }
@@ -642,10 +644,10 @@ var getGeneralParams = function getGeneralParams(item, state, isParallelResource
642
644
  holderMode: (item === null || item === void 0 ? void 0 : item._extend.quantity) > 1 ? 'multiple' : undefined,
643
645
  isErrorHolder: getIsSubjectRequire(state),
644
646
  addHolderButtonText: (formData === null || formData === void 0 || (_formData$ = formData[0]) === null || _formData$ === void 0 || (_formData$ = _formData$.form) === null || _formData$ === void 0 ? void 0 : _formData$.title) || "",
645
- holder_id: item === null || item === void 0 || (_item$_extend5 = item._extend) === null || _item$_extend5 === void 0 ? void 0 : _item$_extend5.holder_id,
646
- start_date: !isNormalProduct ? item === null || item === void 0 || (_item$_extend6 = item._extend) === null || _item$_extend6 === void 0 ? void 0 : _item$_extend6.startDate : "",
647
- end_date: !isNormalProduct ? (item === null || item === void 0 || (_item$_extend7 = item._extend) === null || _item$_extend7 === void 0 ? void 0 : _item$_extend7.endDate) || (item === null || item === void 0 || (_item$_extend8 = item._extend) === null || _item$_extend8 === void 0 ? void 0 : _item$_extend8.end_date) : "",
648
- rowKey: genRowKey(item === null || item === void 0 || (_item$_extend9 = item._extend) === null || _item$_extend9 === void 0 || (_item$_extend9 = _item$_extend9.other) === null || _item$_extend9 === void 0 ? void 0 : _item$_extend9.rowKey)
647
+ holder_id: item === null || item === void 0 || (_item$_extend7 = item._extend) === null || _item$_extend7 === void 0 ? void 0 : _item$_extend7.holder_id,
648
+ start_date: !isNormalProduct ? item === null || item === void 0 || (_item$_extend8 = item._extend) === null || _item$_extend8 === void 0 ? void 0 : _item$_extend8.startDate : "",
649
+ end_date: !isNormalProduct ? (item === null || item === void 0 || (_item$_extend9 = item._extend) === null || _item$_extend9 === void 0 ? void 0 : _item$_extend9.endDate) || (item === null || item === void 0 || (_item$_extend10 = item._extend) === null || _item$_extend10 === void 0 ? void 0 : _item$_extend10.end_date) : "",
650
+ rowKey: genRowKey(item === null || item === void 0 || (_item$_extend11 = item._extend) === null || _item$_extend11 === void 0 || (_item$_extend11 = _item$_extend11.other) === null || _item$_extend11 === void 0 ? void 0 : _item$_extend11.rowKey)
649
651
  }, parallelResourceOtherParams);
650
652
  };
651
653
  var calcAddTimeTotalPrice = function calcAddTimeTotalPrice(total, addTimeProducts) {
@@ -666,11 +668,11 @@ export var formatProducts = function formatProducts(lists, state) {
666
668
  var isParallelResource = arguments.length > 4 ? arguments[4] : undefined;
667
669
  if (!(lists !== null && lists !== void 0 && lists.length)) return [];
668
670
  var formItem = function formItem(item) {
669
- var _item$_extend10, _item$_extend11, _item$_extend12, _item$_extend14, _item$_extend15, _item$_extend16, _item$_extend17, _item$_extend18, _item$_extend19, _item$_extend20, _item$_extend21, _item$_extend22, _item$_extend23, _resourceItem, _item$_extend24, _item$_extend25, _item$_extend26, _item$_extend27, _item$_extend28;
671
+ var _item$_extend12, _item$_extend13, _item$_extend14, _item$_extend16, _item$_extend17, _item$_extend18, _item$_extend19, _item$_extend20, _item$_extend21, _item$_extend22, _item$_extend23, _item$_extend24, _item$_extend25, _resourceItem, _item$_extend26, _item$_extend27, _item$_extend28, _item$_extend29, _item$_extend30;
670
672
  var _isDayBookingProduct = isDayBookingProduct(item, state);
671
- var clientTitle = getHolderName(state, item === null || item === void 0 || (_item$_extend10 = item._extend) === null || _item$_extend10 === void 0 ? void 0 : _item$_extend10.holder_id);
672
- var options = formatOptions(item === null || item === void 0 || (_item$_extend11 = item._extend) === null || _item$_extend11 === void 0 || (_item$_extend11 = _item$_extend11.other) === null || _item$_extend11 === void 0 ? void 0 : _item$_extend11.option);
673
- var bundle = formatBundle(item === null || item === void 0 || (_item$_extend12 = item._extend) === null || _item$_extend12 === void 0 || (_item$_extend12 = _item$_extend12.other) === null || _item$_extend12 === void 0 ? void 0 : _item$_extend12.bundle);
673
+ var clientTitle = getHolderName(state, item === null || item === void 0 || (_item$_extend12 = item._extend) === null || _item$_extend12 === void 0 ? void 0 : _item$_extend12.holder_id);
674
+ var options = formatOptions(item === null || item === void 0 || (_item$_extend13 = item._extend) === null || _item$_extend13 === void 0 || (_item$_extend13 = _item$_extend13.other) === null || _item$_extend13 === void 0 ? void 0 : _item$_extend13.option);
675
+ var bundle = formatBundle(item === null || item === void 0 || (_item$_extend14 = item._extend) === null || _item$_extend14 === void 0 || (_item$_extend14 = _item$_extend14.other) === null || _item$_extend14 === void 0 ? void 0 : _item$_extend14.bundle);
674
676
  // 是否是普通商品
675
677
  var isNormalProduct = !appointmentTypes.includes(item === null || item === void 0 ? void 0 : item.extension_type) || (state === null || state === void 0 ? void 0 : state.renderType) === 'eventBooking';
676
678
  var isNormalProductByDurationScheduleVal = isNormalProductByDurationSchedule(item);
@@ -678,8 +680,8 @@ export var formatProducts = function formatProducts(lists, state) {
678
680
  var errorMessage = '';
679
681
  // 普通商品没有
680
682
  if ((_isDayBookingProduct || isGeneral) && !isNormalProductByDurationScheduleVal) {
681
- var _item$_extend13;
682
- resourceItem = getResourceItem(item === null || item === void 0 || (_item$_extend13 = item._extend) === null || _item$_extend13 === void 0 ? void 0 : _item$_extend13.resource, state);
683
+ var _item$_extend15;
684
+ resourceItem = getResourceItem(item === null || item === void 0 || (_item$_extend15 = item._extend) === null || _item$_extend15 === void 0 ? void 0 : _item$_extend15.resource, state);
683
685
  errorMessage = getErrorMessage(item, resourceItem, isDayBooking(state));
684
686
  }
685
687
 
@@ -694,26 +696,26 @@ export var formatProducts = function formatProducts(lists, state) {
694
696
  name: item === null || item === void 0 ? void 0 : item.title,
695
697
  title: item === null || item === void 0 ? void 0 : item.title,
696
698
  // 购物车显示需要 title 字段
697
- price: item === null || item === void 0 || (_item$_extend14 = item._extend) === null || _item$_extend14 === void 0 ? void 0 : _item$_extend14.price,
699
+ price: item === null || item === void 0 || (_item$_extend16 = item._extend) === null || _item$_extend16 === void 0 ? void 0 : _item$_extend16.price,
698
700
  totalDifference: getProductDiscountProductDiscountDifference(item),
699
- total: calcAddTimeTotalPrice(item === null || item === void 0 || (_item$_extend15 = item._extend) === null || _item$_extend15 === void 0 ? void 0 : _item$_extend15.total, item === null || item === void 0 || (_item$_extend16 = item._extend) === null || _item$_extend16 === void 0 ? void 0 : _item$_extend16.relation_details),
700
- origin_total: calcAddTimeTotalPrice(item === null || item === void 0 || (_item$_extend17 = item._extend) === null || _item$_extend17 === void 0 ? void 0 : _item$_extend17.origin_total, item === null || item === void 0 || (_item$_extend18 = item._extend) === null || _item$_extend18 === void 0 ? void 0 : _item$_extend18.relation_details),
701
+ total: calcAddTimeTotalPrice(item === null || item === void 0 || (_item$_extend17 = item._extend) === null || _item$_extend17 === void 0 ? void 0 : _item$_extend17.total, item === null || item === void 0 || (_item$_extend18 = item._extend) === null || _item$_extend18 === void 0 ? void 0 : _item$_extend18.relation_details),
702
+ origin_total: calcAddTimeTotalPrice(item === null || item === void 0 || (_item$_extend19 = item._extend) === null || _item$_extend19 === void 0 ? void 0 : _item$_extend19.origin_total, item === null || item === void 0 || (_item$_extend20 = item._extend) === null || _item$_extend20 === void 0 ? void 0 : _item$_extend20.relation_details),
701
703
  num: item === null || item === void 0 ? void 0 : item._extend.quantity,
702
704
  image: item === null || item === void 0 ? void 0 : item.cover,
703
705
  isShowNote: true,
704
- note: (item === null || item === void 0 ? void 0 : item.note) || (item === null || item === void 0 || (_item$_extend19 = item._extend) === null || _item$_extend19 === void 0 ? void 0 : _item$_extend19.note),
705
- like_status: item === null || item === void 0 || (_item$_extend20 = item._extend) === null || _item$_extend20 === void 0 ? void 0 : _item$_extend20.like_status,
706
+ note: (item === null || item === void 0 ? void 0 : item.note) || (item === null || item === void 0 || (_item$_extend21 = item._extend) === null || _item$_extend21 === void 0 ? void 0 : _item$_extend21.note),
707
+ like_status: item === null || item === void 0 || (_item$_extend22 = item._extend) === null || _item$_extend22 === void 0 ? void 0 : _item$_extend22.like_status,
706
708
  bundle: bundle,
707
709
  options: options,
708
710
  errorMessage: errorMessage,
709
- product_option_string: item === null || item === void 0 || (_item$_extend21 = item._extend) === null || _item$_extend21 === void 0 || (_item$_extend21 = _item$_extend21.other) === null || _item$_extend21 === void 0 ? void 0 : _item$_extend21.product_option_string,
710
- discount_reason: item === null || item === void 0 || (_item$_extend22 = item._extend) === null || _item$_extend22 === void 0 ? void 0 : _item$_extend22.discount_reason,
711
- resource_id: isNormalProduct ? 0 : item === null || item === void 0 || (_item$_extend23 = item._extend) === null || _item$_extend23 === void 0 ? void 0 : _item$_extend23.resource,
711
+ product_option_string: item === null || item === void 0 || (_item$_extend23 = item._extend) === null || _item$_extend23 === void 0 || (_item$_extend23 = _item$_extend23.other) === null || _item$_extend23 === void 0 ? void 0 : _item$_extend23.product_option_string,
712
+ discount_reason: item === null || item === void 0 || (_item$_extend24 = item._extend) === null || _item$_extend24 === void 0 ? void 0 : _item$_extend24.discount_reason,
713
+ resource_id: isNormalProduct ? 0 : item === null || item === void 0 || (_item$_extend25 = item._extend) === null || _item$_extend25 === void 0 ? void 0 : _item$_extend25.resource,
712
714
  relation_form_name: isNormalProduct ? '' : ((_resourceItem = resourceItem) === null || _resourceItem === void 0 ? void 0 : _resourceItem.labelText) || item.relation_form_name,
713
715
  holder_title: clientTitle,
714
- start_date: !isNormalProduct ? item === null || item === void 0 || (_item$_extend24 = item._extend) === null || _item$_extend24 === void 0 ? void 0 : _item$_extend24.start_date : '',
715
- end_date: !isNormalProduct ? item === null || item === void 0 || (_item$_extend25 = item._extend) === null || _item$_extend25 === void 0 ? void 0 : _item$_extend25.end_date : '',
716
- holder_id: (item === null || item === void 0 || (_item$_extend26 = item._extend) === null || _item$_extend26 === void 0 ? void 0 : _item$_extend26.holder_id) || 0,
716
+ start_date: !isNormalProduct ? item === null || item === void 0 || (_item$_extend26 = item._extend) === null || _item$_extend26 === void 0 ? void 0 : _item$_extend26.start_date : '',
717
+ end_date: !isNormalProduct ? item === null || item === void 0 || (_item$_extend27 = item._extend) === null || _item$_extend27 === void 0 ? void 0 : _item$_extend27.end_date : '',
718
+ holder_id: (item === null || item === void 0 || (_item$_extend28 = item._extend) === null || _item$_extend28 === void 0 ? void 0 : _item$_extend28.holder_id) || 0,
717
719
  isNormalProduct: isNormalProduct,
718
720
  isCustomItem: item === null || item === void 0 ? void 0 : item.isCustomItem,
719
721
  // 添加自定义商品标识
@@ -721,8 +723,8 @@ export var formatProducts = function formatProducts(lists, state) {
721
723
  // 是否适用优惠券/折扣
722
724
  locale: state.locale,
723
725
  symbol: state.amountSymbol,
724
- relation_products: (item === null || item === void 0 || (_item$_extend27 = item._extend) === null || _item$_extend27 === void 0 ? void 0 : _item$_extend27.relation_details) || [],
725
- items: isEventBooking(state) ? [] : formItems((item === null || item === void 0 || (_item$_extend28 = item._extend) === null || _item$_extend28 === void 0 ? void 0 : _item$_extend28.items) || [])
726
+ relation_products: (item === null || item === void 0 || (_item$_extend29 = item._extend) === null || _item$_extend29 === void 0 ? void 0 : _item$_extend29.relation_details) || [],
727
+ items: isEventBooking(state) ? [] : formItems((item === null || item === void 0 || (_item$_extend30 = item._extend) === null || _item$_extend30 === void 0 ? void 0 : _item$_extend30.items) || [])
726
728
  }, generalParams), {}, {
727
729
  _origin: item
728
730
  });
@@ -736,15 +738,15 @@ export var formatProducts = function formatProducts(lists, state) {
736
738
 
737
739
  // 将商品分为组商品和非组商品,并记录索引
738
740
  lists.forEach(function (item, index) {
739
- var _item$_extend29;
740
- if (!(item !== null && item !== void 0 && (_item$_extend29 = item._extend) !== null && _item$_extend29 !== void 0 && _item$_extend29.groupId)) {
741
+ var _item$_extend31;
742
+ if (!(item !== null && item !== void 0 && (_item$_extend31 = item._extend) !== null && _item$_extend31 !== void 0 && _item$_extend31.groupId)) {
741
743
  normalItemsWithIndex.push({
742
744
  item: item,
743
745
  index: index
744
746
  });
745
747
  } else {
746
- var _item$_extend30;
747
- var groupId = item === null || item === void 0 || (_item$_extend30 = item._extend) === null || _item$_extend30 === void 0 ? void 0 : _item$_extend30.groupId;
748
+ var _item$_extend32;
749
+ var groupId = item === null || item === void 0 || (_item$_extend32 = item._extend) === null || _item$_extend32 === void 0 ? void 0 : _item$_extend32.groupId;
748
750
  groupItemsWithIndex.push({
749
751
  item: item,
750
752
  index: index
@@ -758,9 +760,9 @@ export var formatProducts = function formatProducts(lists, state) {
758
760
 
759
761
  // 根据item._extend.groupId 进行分组
760
762
  var groups = groupItemsWithIndex.reduce(function (prev, _ref11) {
761
- var _item$_extend31;
763
+ var _item$_extend33;
762
764
  var item = _ref11.item;
763
- var groupId = item === null || item === void 0 || (_item$_extend31 = item._extend) === null || _item$_extend31 === void 0 ? void 0 : _item$_extend31.groupId;
765
+ var groupId = item === null || item === void 0 || (_item$_extend33 = item._extend) === null || _item$_extend33 === void 0 ? void 0 : _item$_extend33.groupId;
764
766
  if (!prev[groupId]) {
765
767
  prev[groupId] = [];
766
768
  }
@@ -957,8 +959,8 @@ export var isHasDayAppointmentProduct = function isHasDayAppointmentProduct(stat
957
959
  // 如果该购物车中没选择任何商品,则不需要验证,所以直接用1来填充
958
960
  // services: !holderProducts?.length ? [1] : holderProducts?.filter((d: any) => appointmentTypes.includes(d.extension_type))
959
961
  services: services.filter(function (item) {
960
- var _item$_extend32;
961
- return ((_item$_extend32 = item._extend) === null || _item$_extend32 === void 0 ? void 0 : _item$_extend32.holder_id) == d.form_record_id && checkType(item.extension_type);
962
+ var _item$_extend34;
963
+ return ((_item$_extend34 = item._extend) === null || _item$_extend34 === void 0 ? void 0 : _item$_extend34.holder_id) == d.form_record_id && checkType(item.extension_type);
962
964
  })
963
965
  });
964
966
  });
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import '../../../info/service/actions/index.less';
2
3
  declare const Actions: ({ currentService }: {
3
4
  currentService: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PisellDrawerProps } from '../../../components/drawer';
2
3
  import '../../../info/service/addService/index.less';
3
4
  interface AddServiceProps {
@@ -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 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, title, placeholder }: any) => JSX.Element;
3
4
  export default AddNote;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { ScrollableListProps } from './types';
3
+ import './index.less';
4
+ declare const ScrollableList: React.FC<ScrollableListProps>;
5
+ export default ScrollableList;
@@ -0,0 +1,32 @@
1
+ import React from 'react';
2
+ import { StatusClassName, ActionButtonGroupList } from '../components/PaymentResultToast';
3
+ export interface PaymentResultToastConfig {
4
+ context: any;
5
+ pisellos: any;
6
+ getData: (key: string) => any;
7
+ interaction: any;
8
+ Toast: any;
9
+ onToastClose?: () => void;
10
+ }
11
+ export interface PaymentResultToastParams {
12
+ paymentStatus: string;
13
+ orderTotalAmount: number;
14
+ gapAmount: number;
15
+ failureReason?: string;
16
+ autoCloseConfig?: {
17
+ autoClose: boolean;
18
+ autoCloseDelay: number;
19
+ };
20
+ actionButtons?: ActionButtonGroupList;
21
+ }
22
+ export declare const formatCurrency: (amount: number, amountSymbol?: string) => string | number;
23
+ export declare const calculateTitle: (status: string, failureReason?: string) => string;
24
+ export declare const calculateSubtitle: (status: string, amount: number, gapAmount?: number, getData?: ((key: string) => any) | undefined) => React.ReactNode;
25
+ export declare const calculateStatusClassName: (status: string) => StatusClassName;
26
+ export declare const calculateAutoCloseConfig: (status: string, hasChangeDue: boolean) => {
27
+ autoClose: boolean;
28
+ autoCloseDelay: number;
29
+ maskClosable: boolean;
30
+ };
31
+ export declare const displayPaymentResultToast: (params: PaymentResultToastParams, config: PaymentResultToastConfig) => Promise<void>;
32
+ export declare const createShowSuccessToast: (config: PaymentResultToastConfig, getActionButtons?: ((paymentStatus: string) => ActionButtonGroupList) | undefined) => (result: any) => Promise<void>;
@@ -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;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * 聚合支付-支付接口
3
+ */
4
+ export declare const AGPTPayApi: (data: any, config: any) => Promise<any>;
5
+ /**
6
+ * 聚合支付-支付-查询接口
7
+ */
8
+ export declare const AGPTQueryApi: (param: any, config: any) => Promise<any>;
9
+ /**
10
+ * 聚合支付-支付-支付行为接口
11
+ */
12
+ export declare const AGPTActionApi: (param: any, config: any) => Promise<any>;
13
+ /**
14
+ * 聚合支付-退款接口
15
+ */
16
+ export declare const AGPTRefundApi: (data: any, config: any) => Promise<any>;
17
+ /**
18
+ * 聚合支付-退款-查询接口
19
+ */
20
+ export declare const AGPTRefundQueryApi: (param: any, config: any) => Promise<any>;
21
+ /**
22
+ * 聚合支付-退款-支付行为接口
23
+ */
24
+ export declare const AGPTRefundActionApi: (param: any, config: any) => Promise<any>;
@@ -0,0 +1,110 @@
1
+ export interface LogEntry {
2
+ /** 日志标题 */
3
+ title: string;
4
+ /** 日志内容 */
5
+ content?: any;
6
+ /** 支付时间(精确到毫秒) */
7
+ time: string;
8
+ }
9
+ interface PaymentLogRecord {
10
+ /** 交易记录号 */
11
+ number: string;
12
+ /** 订单ID */
13
+ orderId?: string | number;
14
+ /** 设备ID */
15
+ deviceId?: string | number;
16
+ /** 支付类型 */
17
+ paymentCode?: string;
18
+ /** 创建时间 */
19
+ createdAt: string;
20
+ /** 日志条目列表 */
21
+ logs: LogEntry[];
22
+ }
23
+ declare class PaymentLogInstance {
24
+ private static instance;
25
+ /** 当前交易记录号 */
26
+ private currentNumber;
27
+ /** 当前日志记录 */
28
+ private currentRecord;
29
+ private constructor();
30
+ /**
31
+ * 获取单例实例
32
+ */
33
+ static getInstance(): PaymentLogInstance;
34
+ /**
35
+ * 初始化支付日志
36
+ * @param number 交易记录号
37
+ * @param options 初始化选项
38
+ */
39
+ init(number: string, options?: {
40
+ orderId?: string | number;
41
+ deviceId?: string | number;
42
+ paymentCode?: string;
43
+ [key: string]: any;
44
+ }): void;
45
+ /**
46
+ * 添加日志条目
47
+ * @param title 日志标题
48
+ * @param content 日志内容
49
+ */
50
+ addLog(params: {
51
+ title: string;
52
+ content?: any;
53
+ }): void;
54
+ /**
55
+ * 构建日志内容
56
+ * @param record 日志记录
57
+ * @returns 格式化的日志内容数组
58
+ */
59
+ private buildLogContent;
60
+ /**
61
+ * 发送单条日志记录到飞书
62
+ * @param record 日志记录
63
+ * @param isRestore 是否是恢复上传
64
+ */
65
+ private sendLogRecord;
66
+ /**
67
+ * 发送日志到飞书
68
+ * @param title 日志标题(可选,仅在需要自定义标题时使用)
69
+ */
70
+ sendLogs(title?: string): void;
71
+ /**
72
+ * 清除当前日志
73
+ * @param shouldSend 清除前是否发送到飞书,默认为 true
74
+ */
75
+ clearLogs(shouldSend?: boolean): void;
76
+ /**
77
+ * 检查并上传旧日志
78
+ */
79
+ private checkAndUploadOldLogs;
80
+ /**
81
+ * 获取所有支付日志对象
82
+ */
83
+ private getAllLogsObject;
84
+ /**
85
+ * 保存所有支付日志对象
86
+ */
87
+ private saveAllLogsObject;
88
+ /**
89
+ * 保存到 localStorage
90
+ */
91
+ private saveToLocalStorage;
92
+ /**
93
+ * 从 localStorage 中删除
94
+ */
95
+ private removeFromLocalStorage;
96
+ /**
97
+ * 获取所有旧日志
98
+ */
99
+ private getOldLogsFromLocalStorage;
100
+ /**
101
+ * 获取当前日志记录(用于调试)
102
+ */
103
+ getCurrentRecord(): PaymentLogRecord | null;
104
+ /**
105
+ * 获取当前交易号(用于调试)
106
+ */
107
+ getCurrentNumber(): string | null;
108
+ }
109
+ declare const paymentLog: PaymentLogInstance;
110
+ export default paymentLog;
@@ -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" | "print" | "fail" | "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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  declare const _default: ({ className, isMobile, onChange }: ActionProps) => JSX.Element;
3
4
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  declare const _default: ({ onChange, className, isMobile }: ActionProps) => JSX.Element;
3
4
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  /**
3
4
  * @title: 断网(客户端)提示页
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  /**
3
4
  * @title: 支付状态未知页面
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  import './index.less';
3
4
  /**
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  /**
3
4
  * @title: 取消签名确认页
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { StatusType } from '../../const';
2
3
  declare const _default: (props: {
3
4
  status: StatusType;
@@ -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" | "page" | "print" | "fail" | "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" | "init" | "fail" | "pedding" | "resove" | "reject" | "question">;
18
+ readonly statusRef: React.MutableRefObject<"loading" | "warn" | "success" | "init" | "fail" | "pedding" | "resove" | "reject" | "question">;
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PosProps } from './const';
2
3
  import './index.less';
3
4
  declare const _default: (props: PosProps) => JSX.Element | null;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Linkly: ({ api, onChange }: any) => JSX.Element;
2
3
  export default Linkly;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PayProps } from './const';
2
3
  import './index.less';
3
4
  /**
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { StatusEnum } from '../const';
2
3
  export declare const POS: ({ api, onChange, }: {
3
4
  api: {
@@ -178,7 +178,7 @@ export declare const updateCustom: (payload: {
178
178
  export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
179
179
  type: EActionTypes;
180
180
  payload: {
181
- status: "loading" | "success" | "warn" | "fail" | "question";
181
+ status: "loading" | "warn" | "success" | "fail" | "question";
182
182
  };
183
183
  };
184
184
  /**
@@ -299,20 +299,20 @@ export declare const backUpFree: (payload: Partial<State>) => {
299
299
  name?: string | undefined;
300
300
  symbol?: string | undefined;
301
301
  amount?: string | number | undefined;
302
- mode?: "refund" | "pay" | "fullPay" | "query" | undefined;
302
+ mode?: "refund" | "fullPay" | "pay" | "query" | undefined;
303
303
  order_id?: string | number | undefined;
304
304
  eftpos?: "payo" | "tyro" | "windcave" | "stripe" | "linkly" | "huifu" | undefined;
305
- action?: "amount" | "pay" | "deviceList" | undefined;
305
+ action?: "amount" | "deviceList" | "pay" | undefined;
306
306
  key?: number | undefined;
307
307
  step?: number | undefined;
308
308
  title?: string | undefined;
309
309
  subTitle?: string | undefined;
310
- type?: "unset" | "step" | undefined;
310
+ type?: "step" | "unset" | undefined;
311
311
  render?: boolean | undefined;
312
312
  net?: boolean | undefined;
313
313
  component?: string | undefined;
314
314
  form?: string | undefined;
315
- status?: "loading" | "success" | "warn" | "init" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
315
+ status?: "loading" | "warn" | "success" | "init" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
316
316
  warn?: string | undefined;
317
317
  steps?: {
318
318
  /** 用于重置当前步骤 */
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './tip.less';
2
3
  /**
3
4
  * @title: 支付状态未知页面
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * @title: 按钮操作区
3
4
  * @description: 仅包含签名
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: ({ api, onChange, formatAmount, }: {
2
3
  api: any;
3
4
  onChange: any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Deposit: () => JSX.Element;
2
3
  export default Deposit;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Layout: () => JSX.Element;
3
4
  export default Layout;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Header: () => JSX.Element;
3
4
  export default Header;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SelectHolderModal: (props: any) => JSX.Element;
2
3
  export default SelectHolderModal;