@pisell/private-materials 6.3.65 → 6.3.66

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 (561) 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 +145 -145
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +7 -7
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +8 -8
  11. package/es/businessModel/SalesModel/index.d.ts +1 -0
  12. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  13. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  14. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  15. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  16. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
  17. package/es/components/booking/addons/model.d.ts +1 -10
  18. package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  19. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  20. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  21. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  22. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  23. package/es/components/booking/components/footer/utils.d.ts +1 -0
  24. package/es/components/booking/components/footer/utils.js +42 -23
  25. package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -1
  26. package/es/components/booking/components/voucher/index.js +7 -8
  27. package/es/components/booking/forms/footer.d.ts +0 -1
  28. package/es/components/booking/forms/model.d.ts +1 -10
  29. package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  30. package/es/components/booking/forms/single/index.d.ts +0 -1
  31. package/es/components/booking/forms/table/index.d.ts +0 -1
  32. package/es/components/booking/hooks/useClearCart.d.ts +0 -1
  33. package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
  34. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  35. package/es/components/booking/info/date/index.d.ts +0 -1
  36. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  37. package/es/components/booking/info/index.d.ts +1 -0
  38. package/es/components/booking/info/model.d.ts +1 -10
  39. package/es/components/booking/info/notes/index.d.ts +0 -1
  40. package/es/components/booking/info/service/Lists.d.ts +1 -0
  41. package/es/components/booking/info/service/actions/index.d.ts +0 -1
  42. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  43. package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  44. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  45. package/es/components/booking/info/service2/utils.d.ts +1 -1
  46. package/es/components/booking/info2/service/actions/index.d.ts +0 -1
  47. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  48. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
  49. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  50. package/es/components/booking/materiels/duration/index.d.ts +0 -1
  51. package/es/components/booking/materiels/holder/index.d.ts +0 -1
  52. package/es/components/booking/model.d.ts +1 -9
  53. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  54. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  55. package/es/components/booking/notes/model.d.ts +1 -10
  56. package/es/components/booking/payments/model.d.ts +1 -10
  57. package/es/components/eftpos/index.d.ts +0 -1
  58. package/es/components/eftpos/pos.d.ts +0 -1
  59. package/es/components/eftposPay/amount.d.ts +1 -2
  60. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  61. package/es/components/eftposPay/component/fail/network.d.ts +0 -1
  62. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
  63. package/es/components/eftposPay/component/manual/index.d.ts +0 -1
  64. package/es/components/eftposPay/component/signature/index.d.ts +0 -1
  65. package/es/components/eftposPay/device.d.ts +1 -1
  66. package/es/components/eftposPay/hooks.d.ts +1 -1
  67. package/es/components/eftposPay/pay.d.ts +0 -1
  68. package/es/components/eftposPay/payo/config.d.ts +0 -1
  69. package/es/components/eftposPay/tip.d.ts +0 -1
  70. package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  71. package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
  72. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  73. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  74. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  75. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  76. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  77. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  78. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  79. package/es/components/eventBooking/components/Provider/Header/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 +1 -0
  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/Provider/SelectHolderModal.d.ts +0 -1
  86. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  87. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  88. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  89. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  90. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  91. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  92. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  93. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  94. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  95. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  96. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  97. package/es/components/login/index.d.ts +0 -1
  98. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  99. package/es/components/pay/toC/model.d.ts +1 -9
  100. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  101. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  102. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  103. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  104. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  105. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  106. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  107. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  108. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  109. package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  110. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  111. package/es/components/schedules/calendar/index.d.ts +0 -1
  112. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  113. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  114. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  115. package/es/components/schedules/model.d.ts +1 -9
  116. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  117. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  118. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  119. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  120. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  121. package/es/components/schedules/products/index.d.ts +0 -1
  122. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  123. package/es/components/schedules/products/list/index.d.ts +0 -1
  124. package/es/components/schedules/resources/index.d.ts +0 -1
  125. package/es/components/schedules/resources/list/index.d.ts +0 -1
  126. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  127. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  128. package/es/components/schedules/schedules/index.d.ts +0 -1
  129. package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  130. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  131. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  132. package/es/components/shoppingCart/index.d.ts +0 -1
  133. package/es/components/systemSettings/registry/components/SectionList.js +5 -1
  134. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  135. package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
  136. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  137. package/es/hooks/usePaymentLogger.d.ts +0 -1
  138. package/es/index.d.ts +1 -0
  139. package/es/index.js +1 -0
  140. package/es/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  141. package/es/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  142. package/es/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  143. package/es/plus/saasRegister/components/GoLogin.d.ts +0 -1
  144. package/es/plus/saasRegister/components/Header.d.ts +0 -1
  145. package/es/plus/saasRegister/components/VerifyError.d.ts +0 -1
  146. package/es/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  147. package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  148. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
  149. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
  150. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +1 -0
  151. package/es/plus/walletEditor/components/relationProduct/index.d.ts +0 -1
  152. package/es/plus/walletPassGallery/components/passList/index.d.ts +0 -1
  153. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
  154. package/es/pro/Login2.0/components/LoginCodeInput.js +36 -3
  155. package/lib/businessModel/SalesModel/index.d.ts +1 -0
  156. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  157. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  158. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  159. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  160. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
  161. package/lib/components/booking/addons/model.d.ts +1 -10
  162. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  163. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  164. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  165. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  166. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  167. package/lib/components/booking/components/footer/utils.d.ts +1 -0
  168. package/lib/components/booking/components/footer/utils.js +20 -3
  169. package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -1
  170. package/lib/components/booking/components/voucher/index.js +1 -0
  171. package/lib/components/booking/forms/footer.d.ts +0 -1
  172. package/lib/components/booking/forms/model.d.ts +1 -10
  173. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  174. package/lib/components/booking/forms/single/index.d.ts +0 -1
  175. package/lib/components/booking/forms/table/index.d.ts +0 -1
  176. package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
  177. package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
  178. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  179. package/lib/components/booking/info/date/index.d.ts +0 -1
  180. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  181. package/lib/components/booking/info/index.d.ts +1 -0
  182. package/lib/components/booking/info/model.d.ts +1 -10
  183. package/lib/components/booking/info/notes/index.d.ts +0 -1
  184. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  185. package/lib/components/booking/info/service/actions/index.d.ts +0 -1
  186. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  187. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  188. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  189. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  190. package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
  191. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  192. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
  193. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  194. package/lib/components/booking/materiels/duration/index.d.ts +0 -1
  195. package/lib/components/booking/materiels/holder/index.d.ts +0 -1
  196. package/lib/components/booking/model.d.ts +1 -9
  197. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  198. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  199. package/lib/components/booking/notes/model.d.ts +1 -10
  200. package/lib/components/booking/payments/model.d.ts +1 -10
  201. package/lib/components/eftpos/index.d.ts +0 -1
  202. package/lib/components/eftpos/pos.d.ts +0 -1
  203. package/lib/components/eftposPay/amount.d.ts +1 -2
  204. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  205. package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
  206. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
  207. package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
  208. package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
  209. package/lib/components/eftposPay/device.d.ts +1 -1
  210. package/lib/components/eftposPay/hooks.d.ts +1 -1
  211. package/lib/components/eftposPay/pay.d.ts +0 -1
  212. package/lib/components/eftposPay/payo/config.d.ts +0 -1
  213. package/lib/components/eftposPay/tip.d.ts +0 -1
  214. package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  215. package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
  216. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  217. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  218. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  219. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  220. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  221. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  222. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  223. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  224. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  225. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  226. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  227. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  228. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  229. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  230. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  231. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  232. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  233. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  234. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  235. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  236. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  237. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  238. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  239. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  240. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  241. package/lib/components/login/index.d.ts +0 -1
  242. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  243. package/lib/components/pay/toC/model.d.ts +1 -9
  244. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  245. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  246. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  247. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  248. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  249. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  250. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  251. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  252. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  253. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  254. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  255. package/lib/components/schedules/calendar/index.d.ts +0 -1
  256. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  257. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  258. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  259. package/lib/components/schedules/model.d.ts +1 -9
  260. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  261. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  262. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  263. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  264. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  265. package/lib/components/schedules/products/index.d.ts +0 -1
  266. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  267. package/lib/components/schedules/products/list/index.d.ts +0 -1
  268. package/lib/components/schedules/resources/index.d.ts +0 -1
  269. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  270. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  271. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  272. package/lib/components/schedules/schedules/index.d.ts +0 -1
  273. package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  274. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  275. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  276. package/lib/components/shoppingCart/index.d.ts +0 -1
  277. package/lib/components/systemSettings/registry/components/SectionList.js +4 -1
  278. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  279. package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
  280. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  281. package/lib/hooks/usePaymentLogger.d.ts +0 -1
  282. package/lib/index.d.ts +1 -0
  283. package/lib/index.js +3 -0
  284. package/lib/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  285. package/lib/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  286. package/lib/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  287. package/lib/plus/saasRegister/components/GoLogin.d.ts +0 -1
  288. package/lib/plus/saasRegister/components/Header.d.ts +0 -1
  289. package/lib/plus/saasRegister/components/VerifyError.d.ts +0 -1
  290. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  291. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  292. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
  293. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
  294. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +1 -0
  295. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +0 -1
  296. package/lib/plus/walletPassGallery/components/passList/index.d.ts +0 -1
  297. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
  298. package/lib/pro/Login2.0/components/LoginCodeInput.js +26 -4
  299. package/package.json +3 -3
  300. package/es/components/Sales/Summary/utils.d.ts +0 -51
  301. package/es/components/appointmentBooking/locales.d.ts +0 -363
  302. package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +0 -11
  303. package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +0 -13
  304. package/es/components/authentication/admin/AuthMethods/locales.d.ts +0 -249
  305. package/es/components/authentication/admin/AuthMethods/types.d.ts +0 -76
  306. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -84
  307. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -41
  308. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -72
  309. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -33
  310. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -27
  311. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +0 -25
  312. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -66
  313. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -26
  314. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -39
  315. package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +0 -36
  316. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +0 -66
  317. package/es/components/authentication/admin/CustomerAuth/types.d.ts +0 -16
  318. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -108
  319. package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +0 -22
  320. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +0 -57
  321. package/es/components/authentication/admin/DeviceAuth/types.d.ts +0 -16
  322. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +0 -90
  323. package/es/components/authentication/admin/OAuthConfig/types.d.ts +0 -22
  324. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -54
  325. package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +0 -16
  326. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -48
  327. package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +0 -16
  328. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -54
  329. package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +0 -16
  330. package/es/components/authentication/index.d.ts +0 -0
  331. package/es/components/booking/components/tabPane/index.d.ts +0 -4
  332. package/es/components/booking/dashboard/serve.d.ts +0 -1
  333. package/es/components/booking/editBookingModal/utils.d.ts +0 -12
  334. package/es/components/booking/forms/serve.d.ts +0 -18
  335. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  336. package/es/components/booking/info/client/serve.d.ts +0 -2
  337. package/es/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
  338. package/es/components/booking/info/pet/serve.d.ts +0 -1
  339. package/es/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
  340. package/es/components/booking/info/service/editService/constants.d.ts +0 -1
  341. package/es/components/booking/info/service/serve.d.ts +0 -20
  342. package/es/components/booking/locales.d.ts +0 -843
  343. package/es/components/eftposPay/const.d.ts +0 -184
  344. package/es/components/eftposPay/locales.d.ts +0 -330
  345. package/es/components/pay/toC/PaymentList/utils.d.ts +0 -10
  346. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
  347. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
  348. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
  349. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -2
  350. package/es/components/pay/toC/locales.d.ts +0 -301
  351. package/es/components/pay/toC/status.d.ts +0 -13
  352. package/es/components/ruleSetting/locales.d.ts +0 -48
  353. package/es/components/shoppingCart/locales.d.ts +0 -33
  354. package/es/components/shoppingCart/type.d.ts +0 -48
  355. package/es/components/subTotal/locales.d.ts +0 -42
  356. package/es/components/systemSettings/registry/locales.d.ts +0 -272
  357. package/es/components/systemSettings/registry/services.d.ts +0 -77
  358. package/es/components/systemSettings/registry/types.d.ts +0 -126
  359. package/es/components/systemSettings/registry/utils/typeValidation.d.ts +0 -16
  360. package/es/components/systemSettings/registry/utils/validators.d.ts +0 -8
  361. package/es/components/ticketBooking/locales.d.ts +0 -174
  362. package/es/components/wallet/utils.d.ts +0 -48
  363. package/es/components/walletList/locales.d.ts +0 -27
  364. package/es/components/walletList/types/index.d.ts +0 -194
  365. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
  366. package/es/components/workSpaceList/components/Card/constants.d.ts +0 -2
  367. package/es/hooks/useEngineContext.d.ts +0 -10
  368. package/es/hooks/useWindowSize.d.ts +0 -5
  369. package/es/plus/clientName/index.d.ts +0 -4
  370. package/es/plus/clientName/type.d.ts +0 -13
  371. package/es/plus/clientName/utils.d.ts +0 -2
  372. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
  373. package/es/plus/contactInfo/locales.d.ts +0 -15
  374. package/es/plus/contactInfo/types.d.ts +0 -91
  375. package/es/plus/contactInfo/utils.d.ts +0 -7
  376. package/es/plus/contactInfoModal/locales.d.ts +0 -66
  377. package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
  378. package/es/plus/selectHolder/locales.d.ts +0 -21
  379. package/es/plus/selectHolder/types.d.ts +0 -104
  380. package/es/plus/selectHolder/utils.d.ts +0 -9
  381. package/es/plus/skuOptionsSelection/hooks/index.d.ts +0 -3
  382. package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +0 -2
  383. package/es/plus/skuOptionsSelection/hooks/useStore.d.ts +0 -2
  384. package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +0 -2
  385. package/es/plus/skuOptionsSelection/locales.d.ts +0 -30
  386. package/es/plus/skuOptionsSelection/store/actions.d.ts +0 -22
  387. package/es/plus/skuOptionsSelection/store/createStore.d.ts +0 -15
  388. package/es/plus/skuOptionsSelection/store/index.d.ts +0 -2
  389. package/es/plus/skuOptionsSelection/store/store.d.ts +0 -4
  390. package/es/plus/skuOptionsSelection/types.d.ts +0 -424
  391. package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +0 -6
  392. package/es/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +0 -37
  393. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
  394. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
  395. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
  396. package/es/plus/walletEditor/components/JsonEditor/index.d.ts +0 -11
  397. package/es/plus/walletEditor/locales.d.ts +0 -135
  398. package/es/plus/walletEditor/types.d.ts +0 -52
  399. package/es/plus/walletPassGallery/locales.d.ts +0 -285
  400. package/es/plus/walletPassGallery/utils.d.ts +0 -48
  401. package/es/pro/Login2.0/hooks/index.d.ts +0 -2
  402. package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +0 -24
  403. package/es/pro/Login2.0/hooks/useRegisterFlow.d.ts +0 -39
  404. package/es/pro/Login2.0/hooks/useRegistrationMethods.d.ts +0 -9
  405. package/es/pro/Login2.0/locales.d.ts +0 -543
  406. package/es/pro/Login2.0/shared/Header.d.ts +0 -11
  407. package/es/pro/Login2.0/shared/registerFlow.d.ts +0 -116
  408. package/es/pro/Login2.0/shared/types.d.ts +0 -232
  409. package/es/pro/Login2.0/types.d.ts +0 -167
  410. package/es/pro/NumericStepper/index.d.ts +0 -43
  411. package/es/pro/Selector/BatchSelectorDemo.d.ts +0 -3
  412. package/es/pro/Selector/Item.d.ts +0 -14
  413. package/es/pro/Selector/Selector.stories.d.ts +0 -78
  414. package/es/pro/Selector/components/Card/index.d.ts +0 -57
  415. package/es/pro/Selector/components/Card/types.d.ts +0 -1
  416. package/es/pro/Selector/components/Indicator/index.d.ts +0 -19
  417. package/es/pro/Selector/components/IntersectionObserver.d.ts +0 -105
  418. package/es/pro/Selector/components/LayoutContainer/index.d.ts +0 -16
  419. package/es/pro/Selector/components/Media/index.d.ts +0 -6
  420. package/es/pro/Selector/components/Media/types.d.ts +0 -47
  421. package/es/pro/Selector/components/index.d.ts +0 -4
  422. package/es/pro/Selector/demo.d.ts +0 -2
  423. package/es/pro/Selector/hooks/usePresetItemProps.d.ts +0 -43
  424. package/es/pro/Selector/hooks/usePresetProps.d.ts +0 -24
  425. package/es/pro/Selector/index.d.ts +0 -11
  426. package/es/pro/Selector/locales.d.ts +0 -36
  427. package/es/pro/Selector/types.d.ts +0 -173
  428. package/es/pro/Selector/utils/index.d.ts +0 -49
  429. package/es/pro/pisellPaymentList/example.d.ts +0 -19
  430. package/es/test/setup.d.ts +0 -1
  431. package/lib/components/Sales/Summary/utils.d.ts +0 -51
  432. package/lib/components/appointmentBooking/locales.d.ts +0 -363
  433. package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +0 -11
  434. package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +0 -13
  435. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +0 -249
  436. package/lib/components/authentication/admin/AuthMethods/types.d.ts +0 -76
  437. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -84
  438. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -41
  439. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -72
  440. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -33
  441. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -27
  442. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +0 -25
  443. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -66
  444. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -26
  445. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -39
  446. package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +0 -36
  447. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +0 -66
  448. package/lib/components/authentication/admin/CustomerAuth/types.d.ts +0 -16
  449. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -108
  450. package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +0 -22
  451. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +0 -57
  452. package/lib/components/authentication/admin/DeviceAuth/types.d.ts +0 -16
  453. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +0 -90
  454. package/lib/components/authentication/admin/OAuthConfig/types.d.ts +0 -22
  455. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -54
  456. package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +0 -16
  457. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -48
  458. package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +0 -16
  459. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -54
  460. package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +0 -16
  461. package/lib/components/authentication/index.d.ts +0 -0
  462. package/lib/components/booking/components/tabPane/index.d.ts +0 -4
  463. package/lib/components/booking/dashboard/serve.d.ts +0 -1
  464. package/lib/components/booking/editBookingModal/utils.d.ts +0 -12
  465. package/lib/components/booking/forms/serve.d.ts +0 -18
  466. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  467. package/lib/components/booking/info/client/serve.d.ts +0 -2
  468. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
  469. package/lib/components/booking/info/pet/serve.d.ts +0 -1
  470. package/lib/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
  471. package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
  472. package/lib/components/booking/info/service/serve.d.ts +0 -20
  473. package/lib/components/booking/locales.d.ts +0 -843
  474. package/lib/components/eftposPay/const.d.ts +0 -184
  475. package/lib/components/eftposPay/locales.d.ts +0 -330
  476. package/lib/components/pay/toC/PaymentList/utils.d.ts +0 -10
  477. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
  478. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
  479. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
  480. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -2
  481. package/lib/components/pay/toC/locales.d.ts +0 -301
  482. package/lib/components/pay/toC/status.d.ts +0 -13
  483. package/lib/components/ruleSetting/locales.d.ts +0 -48
  484. package/lib/components/shoppingCart/locales.d.ts +0 -33
  485. package/lib/components/shoppingCart/type.d.ts +0 -48
  486. package/lib/components/subTotal/locales.d.ts +0 -42
  487. package/lib/components/systemSettings/registry/locales.d.ts +0 -272
  488. package/lib/components/systemSettings/registry/services.d.ts +0 -77
  489. package/lib/components/systemSettings/registry/types.d.ts +0 -126
  490. package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +0 -16
  491. package/lib/components/systemSettings/registry/utils/validators.d.ts +0 -8
  492. package/lib/components/ticketBooking/locales.d.ts +0 -174
  493. package/lib/components/wallet/utils.d.ts +0 -48
  494. package/lib/components/walletList/locales.d.ts +0 -27
  495. package/lib/components/walletList/types/index.d.ts +0 -194
  496. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
  497. package/lib/components/workSpaceList/components/Card/constants.d.ts +0 -2
  498. package/lib/hooks/useEngineContext.d.ts +0 -10
  499. package/lib/hooks/useWindowSize.d.ts +0 -5
  500. package/lib/plus/clientName/index.d.ts +0 -4
  501. package/lib/plus/clientName/type.d.ts +0 -13
  502. package/lib/plus/clientName/utils.d.ts +0 -2
  503. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
  504. package/lib/plus/contactInfo/locales.d.ts +0 -15
  505. package/lib/plus/contactInfo/types.d.ts +0 -91
  506. package/lib/plus/contactInfo/utils.d.ts +0 -7
  507. package/lib/plus/contactInfoModal/locales.d.ts +0 -66
  508. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
  509. package/lib/plus/selectHolder/locales.d.ts +0 -21
  510. package/lib/plus/selectHolder/types.d.ts +0 -104
  511. package/lib/plus/selectHolder/utils.d.ts +0 -9
  512. package/lib/plus/skuOptionsSelection/hooks/index.d.ts +0 -3
  513. package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +0 -2
  514. package/lib/plus/skuOptionsSelection/hooks/useStore.d.ts +0 -2
  515. package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +0 -2
  516. package/lib/plus/skuOptionsSelection/locales.d.ts +0 -30
  517. package/lib/plus/skuOptionsSelection/store/actions.d.ts +0 -22
  518. package/lib/plus/skuOptionsSelection/store/createStore.d.ts +0 -15
  519. package/lib/plus/skuOptionsSelection/store/index.d.ts +0 -2
  520. package/lib/plus/skuOptionsSelection/store/store.d.ts +0 -4
  521. package/lib/plus/skuOptionsSelection/types.d.ts +0 -424
  522. package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +0 -6
  523. package/lib/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +0 -37
  524. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
  525. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
  526. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
  527. package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +0 -11
  528. package/lib/plus/walletEditor/locales.d.ts +0 -135
  529. package/lib/plus/walletEditor/types.d.ts +0 -52
  530. package/lib/plus/walletPassGallery/locales.d.ts +0 -285
  531. package/lib/plus/walletPassGallery/utils.d.ts +0 -48
  532. package/lib/pro/Login2.0/hooks/index.d.ts +0 -2
  533. package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +0 -24
  534. package/lib/pro/Login2.0/hooks/useRegisterFlow.d.ts +0 -39
  535. package/lib/pro/Login2.0/hooks/useRegistrationMethods.d.ts +0 -9
  536. package/lib/pro/Login2.0/locales.d.ts +0 -543
  537. package/lib/pro/Login2.0/shared/Header.d.ts +0 -11
  538. package/lib/pro/Login2.0/shared/registerFlow.d.ts +0 -116
  539. package/lib/pro/Login2.0/shared/types.d.ts +0 -232
  540. package/lib/pro/Login2.0/types.d.ts +0 -167
  541. package/lib/pro/NumericStepper/index.d.ts +0 -43
  542. package/lib/pro/Selector/BatchSelectorDemo.d.ts +0 -3
  543. package/lib/pro/Selector/Item.d.ts +0 -14
  544. package/lib/pro/Selector/Selector.stories.d.ts +0 -78
  545. package/lib/pro/Selector/components/Card/index.d.ts +0 -57
  546. package/lib/pro/Selector/components/Card/types.d.ts +0 -1
  547. package/lib/pro/Selector/components/Indicator/index.d.ts +0 -19
  548. package/lib/pro/Selector/components/IntersectionObserver.d.ts +0 -105
  549. package/lib/pro/Selector/components/LayoutContainer/index.d.ts +0 -16
  550. package/lib/pro/Selector/components/Media/index.d.ts +0 -6
  551. package/lib/pro/Selector/components/Media/types.d.ts +0 -47
  552. package/lib/pro/Selector/components/index.d.ts +0 -4
  553. package/lib/pro/Selector/demo.d.ts +0 -2
  554. package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +0 -43
  555. package/lib/pro/Selector/hooks/usePresetProps.d.ts +0 -24
  556. package/lib/pro/Selector/index.d.ts +0 -11
  557. package/lib/pro/Selector/locales.d.ts +0 -36
  558. package/lib/pro/Selector/types.d.ts +0 -173
  559. package/lib/pro/Selector/utils/index.d.ts +0 -49
  560. package/lib/pro/pisellPaymentList/example.d.ts +0 -19
  561. package/lib/test/setup.d.ts +0 -1
@@ -59,7 +59,32 @@ function LoginCodeInput(_ref) {
59
59
  * @param value 输入的值
60
60
  */
61
61
  var handleInputChange = function handleInputChange(index, value) {
62
- if (!/^\d*$/.test(value)) return; // 只允许数字
62
+ // iOS「短信验证码一键填充」/ 粘贴可能会一次性塞进多位数字:
63
+ // - Safari 往往能正常触发
64
+ // - 微信 WebView 更依赖标准的 `autocomplete="one-time-code"`,并且需要允许一次性输入整串数字
65
+ var digitsOnly = value.replace(/\D/g, '');
66
+ if (digitsOnly !== value && value !== '') return; // 只允许数字(允许空字符串用于清空)
67
+
68
+ // 一次性输入多位数字时,拆分填充到后续输入框(兼容 iOS one-time-code / IME 粘贴)
69
+ if (digitsOnly.length > 1) {
70
+ var _inputRefs$current$ne;
71
+ if (error && onClearError) onClearError();
72
+ var nextCode = _toConsumableArray(code);
73
+ var maxFillLength = Math.min(codeLength - index, digitsOnly.length);
74
+ for (var offset = 0; offset < maxFillLength; offset += 1) {
75
+ nextCode[index + offset] = digitsOnly[offset];
76
+ }
77
+ setCode(nextCode);
78
+ var nextEmptyIndex = nextCode.findIndex(function (digit) {
79
+ return digit === '';
80
+ });
81
+ if (nextEmptyIndex === -1) {
82
+ onSubmit === null || onSubmit === void 0 || onSubmit(nextCode.join(''));
83
+ return;
84
+ }
85
+ (_inputRefs$current$ne = inputRefs.current[nextEmptyIndex]) === null || _inputRefs$current$ne === void 0 || _inputRefs$current$ne.focus();
86
+ return;
87
+ }
63
88
 
64
89
  // 如果用户开始输入且有错误,清除错误
65
90
  if (value && error && onClearError) {
@@ -164,8 +189,16 @@ function LoginCodeInput(_ref) {
164
189
  return inputRefs.current[index] = el;
165
190
  },
166
191
  type: "text",
167
- inputMode: "numeric",
168
- maxLength: 1,
192
+ inputMode: "numeric"
193
+ // 关键:第一个输入框需要支持 iOS one-time-code 一次性填充整串验证码
194
+ // 否则在微信 WebView 等环境下可能只会塞进第一位或完全不触发
195
+ ,
196
+ autoComplete: index === 0 ? 'one-time-code' : 'off',
197
+ autoCorrect: "off",
198
+ autoCapitalize: "off",
199
+ spellCheck: false,
200
+ maxLength: index === 0 ? codeLength : 1,
201
+ pattern: "[0-9]*",
169
202
  className: "code-input-box ".concat(digit ? 'has-value' : '', " ").concat(error ? 'has-error' : ''),
170
203
  value: digit,
171
204
  onChange: function onChange(e) {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const SalesModel: ({ children, hooks, config }: any) => JSX.Element;
2
3
  export * from './Sales';
3
4
  export default SalesModel;
@@ -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 Cart: ({ open, onCancel, onNext }: any) => JSX.Element;
4
3
  export default Cart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  export declare const DepositContent: (props: {
4
3
  isAgreeDepositPolicy: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const GuestOptionsModal: (props: any) => JSX.Element;
3
4
  export default GuestOptionsModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const DepositModal: (props: any) => JSX.Element;
4
3
  export default DepositModal;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
4
3
  export default ProductItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const SelectProductItem: ({ item, onClick, onChangeQuantity, amountSymbol, style, className, disabled, }: any) => JSX.Element;
4
3
  export default SelectProductItem;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const renderBundles: (item: any, amountSymbol: string) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 空状态
4
3
  * @description:
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const FooterMenus: ({ state, menuChange, items }: any) => JSX.Element | null;
4
3
  export default FooterMenus;
@@ -42,5 +42,6 @@ export declare const checkResourcesFormat: (resources: any[], service: any, isCh
42
42
  * @Date: 2024-12-23 12:05
43
43
  */
44
44
  export declare const formatProductPrice: (item: any) => number;
45
+ export declare const getMainProductSellingPrice: (item: any) => number | undefined;
45
46
  export declare const formatValues: (state: any) => any;
46
47
  export declare const checkHolderIsError: (state: any) => any;
@@ -36,7 +36,8 @@ __export(utils_exports, {
36
36
  formatProductOption: () => formatProductOption,
37
37
  formatProductPrice: () => formatProductPrice,
38
38
  formatValues: () => formatValues,
39
- getBundleDiscountList: () => getBundleDiscountList
39
+ getBundleDiscountList: () => getBundleDiscountList,
40
+ getMainProductSellingPrice: () => getMainProductSellingPrice
40
41
  });
41
42
  module.exports = __toCommonJS(utils_exports);
42
43
  var import_dayjs = __toESM(require("dayjs"));
@@ -278,6 +279,21 @@ var getSourceProductPrice = (item) => {
278
279
  }
279
280
  return price;
280
281
  };
282
+ var getMainProductSellingPrice = (item) => {
283
+ var _a, _b, _c, _d, _e;
284
+ if (!(0, import_utils5.isNumber)((_a = item._extend) == null ? void 0 : _a.main_product_selling_price)) {
285
+ return void 0;
286
+ }
287
+ let optionPrice = new import_decimal.default(0);
288
+ if (((_b = item._extend.other) == null ? void 0 : _b.option) && Array.isArray((_c = item._extend.other) == null ? void 0 : _c.option)) {
289
+ optionPrice = (_d = item._extend.other) == null ? void 0 : _d.option.reduce((accumulator, currentValue) => {
290
+ const currentPrice = new import_decimal.default(currentValue.price || 0);
291
+ const currentNum = new import_decimal.default(currentValue.num || 0);
292
+ return accumulator.add(currentPrice.mul(currentNum));
293
+ }, optionPrice);
294
+ }
295
+ return new import_decimal.default((_e = item._extend) == null ? void 0 : _e.main_product_selling_price).add(optionPrice).toNumber();
296
+ };
281
297
  var formatProducts = (item, quantity) => {
282
298
  var _a, _b, _c, _d, _e, _f, _g, _h;
283
299
  const total = Number(item._extend.total);
@@ -293,7 +309,7 @@ var formatProducts = (item, quantity) => {
293
309
  return {
294
310
  "num": quantity || item._extend.quantity,
295
311
  "price": formatProductPrice(item),
296
- "main_product_selling_price": item._extend.main_product_selling_price ?? formatProductPrice(item),
312
+ "main_product_selling_price": getMainProductSellingPrice(item) ?? formatProductPrice(item),
297
313
  "source_product_price": getSourceProductPrice(item),
298
314
  "product_id": (item == null ? void 0 : item.product_id) || item.id,
299
315
  "discount_amount": notManualDiscount.length > 0 ? 0 : discount_amount,
@@ -571,5 +587,6 @@ var checkHolderIsError = (state) => {
571
587
  formatProductOption,
572
588
  formatProductPrice,
573
589
  formatValues,
574
- getBundleDiscountList
590
+ getBundleDiscountList,
591
+ getMainProductSellingPrice
575
592
  });
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface IProps {
4
3
  modal: any;
@@ -100,6 +100,7 @@ var VoucherCard = (props) => {
100
100
  origin_total: (_b2 = value == null ? void 0 : value._extend) == null ? void 0 : _b2.origin_total,
101
101
  quantity: value._extend.quantity,
102
102
  startDate: value._extend.startDate,
103
+ quantity: value._extend.quantity,
103
104
  holder_id: (_c2 = value == null ? void 0 : value._extend) == null ? void 0 : _c2.holder_id
104
105
  };
105
106
  });
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface FooterProps {
3
2
  state: any;
4
3
  reload: () => void;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SendModalValues } from './index';
3
2
  declare const useSendModal: (bookingId?: number) => {
4
3
  open: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  /**
4
3
  * @title: 表单选择器
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Table: ({ value, onChange, field, mode, onAdd }: any) => JSX.Element;
4
3
  export default Table;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const useClearCart: (state: any, dispatch: any) => false | JSX.Element;
3
2
  export default useClearCart;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface AddServiceVariantProps {
2
3
  globalState: any;
3
4
  setGlobalState: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormState } from '../../../model';
3
2
  interface useClientFnParams {
4
3
  state: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export declare const updateServiceDate: (services: any[], date: any, isTime: boolean) => any[];
4
3
  declare const DateCom: () => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { EditServiceRef } from "../service/editService";
2
3
  declare const useInfoHolder: (state: any, dispatch: any) => {
3
4
  detailRef: import("react").MutableRefObject<EditServiceRef | undefined>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InfoProps } from './main';
2
3
  declare const APP: (props: InfoProps) => JSX.Element;
3
4
  export default APP;
@@ -1,14 +1,5 @@
1
- /// <reference types="react" />
2
- import { FormState } from '../model';
3
1
  export declare const walkInData: {
4
2
  id: number;
5
3
  nickname: string;
6
4
  };
7
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
8
- state: FormState;
9
- } & {
10
- dispatch: (params: {
11
- type: string;
12
- payload: any;
13
- }) => void;
14
- }>;
5
+ export declare const Provider: any, Context: any;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Notes: () => JSX.Element | null;
3
2
  export default Notes;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Lists: ({ onEdit, onChange, onAction, isParallelResource }: any) => JSX.Element;
2
3
  export default Lists;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Actions: ({ currentService }: {
4
3
  currentService: any;
@@ -6,7 +6,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
6
6
  type: string;
7
7
  value: number;
8
8
  };
9
- locale: string;
9
+ locale: any;
10
10
  slice: any;
11
11
  selectProps: {
12
12
  size: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const BookingList: ({ items }: {
2
3
  items: any[];
3
4
  }) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Lists: ({ onEdit, onChange }: any) => JSX.Element;
2
3
  export default Lists;
@@ -244,4 +244,4 @@ export declare const updateAppointmentServicePrice: (state: any, { start_date, e
244
244
  * @Author: WangHan
245
245
  * @Date: 2024-12-24 11:32
246
246
  */
247
- export declare const updateServicePrice: (state: any) => never[] | Promise<any>;
247
+ export declare const updateServicePrice: (state: any) => Promise<any> | never[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '../../../info/service/actions/index.less';
3
2
  declare const Actions: ({ currentService }: {
4
3
  currentService: any;
@@ -7,7 +7,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
7
7
  type: string;
8
8
  value: number;
9
9
  };
10
- locale: string;
10
+ locale: any;
11
11
  slice: any;
12
12
  selectProps: {
13
13
  size: string;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const ContactInfoMode: () => JSX.Element;
3
2
  export default ContactInfoMode;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type ContactType = {
4
3
  country_calling_code: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from 'antd';
3
2
  interface DurationProps extends SelectProps {
4
3
  locale?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from 'antd';
3
2
  interface HolderProps extends SelectProps {
4
3
  selectProps?: SelectProps;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  amountSymbol: string;
4
3
  apis: {
@@ -110,11 +109,4 @@ export declare const walkInData: {
110
109
  id: number;
111
110
  nickname: string;
112
111
  };
113
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
114
- state: FormState;
115
- } & {
116
- dispatch: (params: {
117
- type: string;
118
- payload: any;
119
- }) => void;
120
- }>;
112
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export interface InfoProps {
4
3
  isEdit: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export interface InfoProps {
4
3
  title?: string;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Eftpos, DeviceStatus } from './const';
3
2
  import './index.less';
4
3
  interface PosProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DeviceProp } from "./const";
3
2
  interface PosProps {
4
3
  eftposName: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PosProps } from './const';
3
2
  /**
4
3
  * @title: 支付金额信息配置页
@@ -9,7 +8,7 @@ import { PosProps } from './const';
9
8
  */
10
9
  declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
11
10
  className?: string | undefined;
12
- onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
11
+ onChange?: ((status: "success" | "page" | "fail" | "print" | "mark_tx_processed", params?: string | {
13
12
  [keys: string]: unknown;
14
13
  } | undefined, other?: any) => void) | undefined;
15
14
  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
  /**
4
3
  * @title: 断网(客户端)提示页
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  /**
4
3
  * @title: 支付状态未知页面
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  import './index.less';
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  /**
4
3
  * @title: 取消签名确认页
@@ -10,7 +10,7 @@ import './device.less';
10
10
  declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, }: {
11
11
  api: PayProps['api'];
12
12
  className?: string | undefined;
13
- onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
13
+ onChange?: ((status: "success" | "page" | "fail" | "print" | "mark_tx_processed", params?: string | {
14
14
  [keys: string]: unknown;
15
15
  } | undefined, other?: any) => void) | undefined;
16
16
  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<"success" | "warn" | "loading" | "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 { PayProps } from './const';
3
2
  import './index.less';
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StatusEnum } from '../const';
3
2
  export declare const POS: ({ api, onChange, }: {
4
3
  api: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './tip.less';
3
2
  /**
4
3
  * @title: 支付状态未知页面
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 按钮操作区
4
3
  * @description: 仅包含签名
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ api, onChange, formatAmount, }: {
3
2
  api: any;
4
3
  onChange: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ErrorTip: ({ text }: any) => JSX.Element;
3
4
  export default ErrorTip;
@@ -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 Layout: () => JSX.Element;
4
3
  export default Layout;
@@ -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 Header: () => JSX.Element;
4
3
  export default Header;
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const InformationOptionsModal: (props: any) => JSX.Element;
3
4
  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;