@pisell/private-materials 6.3.137 → 6.3.139

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 (455) 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 +2 -2
  6. package/build/lowcode/preview.js +153 -426
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +8 -8
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +10 -10
  11. package/es/components/appointmentBooking/components/Form/index.d.ts +4 -0
  12. package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
  13. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  14. package/es/components/appointmentBooking/hooks.d.ts +107 -0
  15. package/es/components/appointmentBooking/utils.d.ts +227 -0
  16. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +24 -5
  17. package/es/components/authentication/admin/ChannelAuthSetting/index.js +1 -1
  18. package/es/components/booking/components/TabProduct/index.d.ts +1 -0
  19. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  20. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  21. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
  22. package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
  23. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  24. package/es/components/booking/components/footer/utils.d.ts +47 -0
  25. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  26. package/es/components/booking/components/reloadResourceModal/index.d.ts +9 -0
  27. package/es/components/booking/components/voucher/index.d.ts +3 -0
  28. package/es/components/booking/forms/single/index.d.ts +1 -0
  29. package/es/components/booking/forms/table/index.d.ts +1 -0
  30. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  31. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  32. package/es/components/booking/info/date/index.d.ts +1 -0
  33. package/es/components/booking/info/notes/index.d.ts +1 -0
  34. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  35. package/es/components/booking/info/service/editService/constants.d.ts +1 -0
  36. package/es/components/booking/info/service/editService/index.d.ts +7 -0
  37. package/es/components/booking/info/service/like/index.d.ts +1 -0
  38. package/es/components/booking/info/service2/utils.d.ts +248 -0
  39. package/es/components/booking/info2/index.d.ts +12 -0
  40. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  41. package/es/components/booking/info2/service/addService/index.d.ts +11 -0
  42. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  43. package/es/components/booking/locales.d.ts +1489 -0
  44. package/es/components/booking/materiels/contacts/index.d.ts +1 -0
  45. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  46. package/es/components/booking/materiels/holder/index.d.ts +1 -0
  47. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  48. package/es/components/booking/model.d.ts +120 -0
  49. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  50. package/es/components/booking/utils.d.ts +2 -2
  51. package/es/components/ecocup/components/CupInfoCard/index.d.ts +1 -0
  52. package/es/components/ecocup/components/CustomerCard/index.d.ts +1 -0
  53. package/es/components/eftpos/deviceList/index.d.ts +1 -0
  54. package/es/components/eftpos/form/index.d.ts +1 -0
  55. package/es/components/eftpos/group/index.d.ts +1 -0
  56. package/es/components/eftpos/icon/apiKey.d.ts +1 -0
  57. package/es/components/eftpos/icon/device.d.ts +1 -0
  58. package/es/components/eftpos/pos.d.ts +1 -0
  59. package/es/components/eftpos/receipt/index.d.ts +1 -0
  60. package/es/components/eftposPay/amount.d.ts +21 -0
  61. package/es/components/eftposPay/app.d.ts +10 -0
  62. package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
  63. package/es/components/eftposPay/component/fail/failCustom.d.ts +3 -0
  64. package/es/components/eftposPay/component/fail/index.d.ts +3 -0
  65. package/es/components/eftposPay/component/fail/network.d.ts +9 -0
  66. package/es/components/eftposPay/component/fail/unknow.d.ts +10 -0
  67. package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
  68. package/es/components/eftposPay/component/manual/index.d.ts +9 -0
  69. package/es/components/eftposPay/component/signature/index.d.ts +9 -0
  70. package/es/components/eftposPay/component/step/index.d.ts +1 -0
  71. package/es/components/eftposPay/component/step/step.d.ts +1 -0
  72. package/es/components/eftposPay/device.d.ts +23 -0
  73. package/es/components/eftposPay/hooks.d.ts +2 -2
  74. package/es/components/eftposPay/index.d.ts +4 -0
  75. package/es/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
  76. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  77. package/es/components/eftposPay/linkly/index.d.ts +2 -0
  78. package/es/components/eftposPay/pay.d.ts +20 -0
  79. package/es/components/eftposPay/payo/config.d.ts +13 -0
  80. package/es/components/eftposPay/payo/hooks.d.ts +10 -0
  81. package/es/components/eftposPay/payo/payment.d.ts +66 -0
  82. package/es/components/eftposPay/store/index.d.ts +5 -5
  83. package/es/components/eftposPay/tip.d.ts +10 -0
  84. package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
  85. package/es/components/eftposPay/tyro/index.d.ts +9 -0
  86. package/es/components/eftposPay/utils/payLog.d.ts +81 -0
  87. package/es/components/eftposPay/windcave/receiptAction.d.ts +23 -0
  88. package/es/components/eftposPay/windcave/windcave.d.ts +7 -0
  89. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  90. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  91. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  92. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  93. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  94. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  95. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  96. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  97. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  98. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  99. package/es/components/kioskSkuDetail/index.d.ts +39 -0
  100. package/es/components/kioskSkuDetail/locales.d.ts +48 -0
  101. package/es/components/login/index.d.ts +1 -0
  102. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
  103. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
  104. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
  105. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +16 -0
  106. package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +15 -0
  107. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +83 -0
  108. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +7 -5
  109. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  110. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  111. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
  112. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
  113. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +22 -0
  114. package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
  115. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +16 -0
  116. package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
  117. package/es/components/pay/toC/index.d.ts +3 -0
  118. package/es/components/pay/toC/locales.d.ts +631 -0
  119. package/es/components/pay/toC/payGroup.d.ts +59 -0
  120. package/es/components/pay/toC/serve.d.ts +87 -0
  121. package/es/components/pay/toC/utils.d.ts +65 -0
  122. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  123. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  124. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  125. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  126. package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
  127. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  128. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  129. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  130. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  131. package/es/components/ruleSetting/locales.d.ts +78 -0
  132. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  133. package/es/components/scanOrder/components/Cart/index.d.ts +2 -0
  134. package/es/components/scanOrder/components/Cart/index.js +58 -24
  135. package/es/components/scanOrder/components/Cart/index.less +61 -8
  136. package/es/components/scanOrder/components/Check/index.js +232 -51
  137. package/es/components/scanOrder/components/Check/index.less +30 -0
  138. package/es/components/scanOrder/components/Content/index.js +358 -121
  139. package/es/components/scanOrder/components/Footer/index.d.ts +2 -0
  140. package/es/components/scanOrder/components/Footer/index.js +4 -2
  141. package/es/components/scanOrder/components/Footer/index.less +16 -7
  142. package/es/components/scanOrder/components/FulfillmentMode/index.d.ts +11 -0
  143. package/es/components/scanOrder/components/FulfillmentMode/index.js +90 -0
  144. package/es/components/scanOrder/components/FulfillmentMode/index.less +40 -0
  145. package/es/components/scanOrder/components/ManualPickupRefModal/index.d.ts +16 -0
  146. package/es/components/scanOrder/components/ManualPickupRefModal/index.js +87 -0
  147. package/es/components/scanOrder/components/ManualPickupRefModal/index.less +61 -0
  148. package/es/components/scanOrder/context.js +104 -21
  149. package/es/components/scanOrder/locales.d.ts +55 -0
  150. package/es/components/scanOrder/locales.js +55 -0
  151. package/es/components/scanOrder/types.d.ts +23 -0
  152. package/es/components/scanOrder/utils/toShoppingCartProducts.d.ts +2 -1
  153. package/es/components/scanOrder/utils/toShoppingCartProducts.js +15 -9
  154. package/es/components/scanOrder/utils/transformProductDetail.d.ts +2 -1
  155. package/es/components/scanOrder/utils/transformProductDetail.js +7 -6
  156. package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
  157. package/es/components/schedules/calendar/index.d.ts +1 -0
  158. package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
  159. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  160. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
  161. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  162. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  163. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  164. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  165. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  166. package/es/components/schedules/products/index.d.ts +1 -0
  167. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  168. package/es/components/schedules/products/list/index.d.ts +1 -0
  169. package/es/components/schedules/resources/index.d.ts +1 -0
  170. package/es/components/schedules/resources/list/index.d.ts +1 -0
  171. package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
  172. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  173. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  174. package/es/components/schedules/schedules/index.d.ts +1 -0
  175. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  176. package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
  177. package/es/components/shoppingCart/index.d.ts +1 -0
  178. package/es/components/systemSettings/registry/components/GroupModal.js +8 -1
  179. package/es/components/systemSettings/registry/components/ItemModal.js +3 -0
  180. package/es/components/systemSettings/registry/index.js +3 -1
  181. package/es/components/systemSettings/registry/services.d.ts +2 -0
  182. package/es/components/systemSettings/registry/types.d.ts +3 -0
  183. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
  184. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
  185. package/es/components/ticketBooking/components/timeBar/index.d.ts +12 -0
  186. package/es/components/ticketBooking/index.d.ts +7 -0
  187. package/es/components/venueBooking/components/VenueSelection/components/TimeGrid.js +130 -18
  188. package/es/components/venueBooking/context.js +38 -12
  189. package/es/components/venueBooking/hooks.d.ts +16 -3
  190. package/es/components/venueBooking/hooks.js +16 -4
  191. package/es/components/venueBooking/types.d.ts +19 -2
  192. package/es/hooks/usePaymentLogger.d.ts +1 -0
  193. package/es/index.d.ts +87 -0
  194. package/es/index.js +1 -1
  195. package/es/plus/clientName/index.d.ts +1 -0
  196. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  197. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  198. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  199. package/es/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +1 -0
  200. package/es/plus/pisellSalesManagement/config/booking.d.ts +6 -6
  201. package/es/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +1 -0
  202. package/es/plus/pisellSalesProductCard/index.js +16 -1
  203. package/es/plus/pisellSalesProductCard/types.d.ts +21 -1
  204. package/es/plus/productSelect/ProductCard/ProductCardV2.js +6 -2
  205. package/es/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  206. package/es/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  207. package/es/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  208. package/es/plus/saasRegister/components/GoLogin.d.ts +1 -0
  209. package/es/plus/saasRegister/components/Header.d.ts +1 -0
  210. package/es/plus/saasRegister/components/VerifyError.d.ts +1 -0
  211. package/es/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  212. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +6 -0
  213. package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +3 -0
  214. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +15 -0
  215. package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +1 -0
  216. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -0
  217. package/es/plus/skuOptionsSelection/index.d.ts +5 -0
  218. package/es/plus/skuOptionsSelection/locales.d.ts +58 -0
  219. package/es/plus/skuOptionsSelection/types.d.ts +458 -0
  220. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  221. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  222. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  223. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  224. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  225. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  226. package/es/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
  227. package/es/pro/Cards/components/SKUCard/index.d.ts +5 -0
  228. package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  229. package/es/pro/NumericStepper/index.d.ts +19 -0
  230. package/es/pro/NumericStepper/index.js +37 -6
  231. package/es/pro/Selector/demo.d.ts +1 -0
  232. package/lib/components/appointmentBooking/components/Form/index.d.ts +4 -0
  233. package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
  234. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  235. package/lib/components/appointmentBooking/hooks.d.ts +107 -0
  236. package/lib/components/appointmentBooking/utils.d.ts +227 -0
  237. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +19 -4
  238. package/lib/components/authentication/admin/ChannelAuthSetting/index.js +1 -1
  239. package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
  240. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  241. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  242. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
  243. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
  244. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  245. package/lib/components/booking/components/footer/utils.d.ts +47 -0
  246. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  247. package/lib/components/booking/components/reloadResourceModal/index.d.ts +9 -0
  248. package/lib/components/booking/components/voucher/index.d.ts +3 -0
  249. package/lib/components/booking/forms/single/index.d.ts +1 -0
  250. package/lib/components/booking/forms/table/index.d.ts +1 -0
  251. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  252. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  253. package/lib/components/booking/info/date/index.d.ts +1 -0
  254. package/lib/components/booking/info/notes/index.d.ts +1 -0
  255. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  256. package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
  257. package/lib/components/booking/info/service/editService/index.d.ts +7 -0
  258. package/lib/components/booking/info/service/like/index.d.ts +1 -0
  259. package/lib/components/booking/info/service2/utils.d.ts +248 -0
  260. package/lib/components/booking/info2/index.d.ts +12 -0
  261. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  262. package/lib/components/booking/info2/service/addService/index.d.ts +11 -0
  263. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  264. package/lib/components/booking/locales.d.ts +1489 -0
  265. package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
  266. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  267. package/lib/components/booking/materiels/holder/index.d.ts +1 -0
  268. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  269. package/lib/components/booking/model.d.ts +120 -0
  270. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  271. package/lib/components/booking/utils.d.ts +2 -2
  272. package/lib/components/ecocup/components/CupInfoCard/index.d.ts +1 -0
  273. package/lib/components/ecocup/components/CustomerCard/index.d.ts +1 -0
  274. package/lib/components/eftpos/deviceList/index.d.ts +1 -0
  275. package/lib/components/eftpos/form/index.d.ts +1 -0
  276. package/lib/components/eftpos/group/index.d.ts +1 -0
  277. package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
  278. package/lib/components/eftpos/icon/device.d.ts +1 -0
  279. package/lib/components/eftpos/pos.d.ts +1 -0
  280. package/lib/components/eftpos/receipt/index.d.ts +1 -0
  281. package/lib/components/eftposPay/amount.d.ts +21 -0
  282. package/lib/components/eftposPay/app.d.ts +10 -0
  283. package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
  284. package/lib/components/eftposPay/component/fail/failCustom.d.ts +3 -0
  285. package/lib/components/eftposPay/component/fail/index.d.ts +3 -0
  286. package/lib/components/eftposPay/component/fail/network.d.ts +9 -0
  287. package/lib/components/eftposPay/component/fail/unknow.d.ts +10 -0
  288. package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
  289. package/lib/components/eftposPay/component/manual/index.d.ts +9 -0
  290. package/lib/components/eftposPay/component/signature/index.d.ts +9 -0
  291. package/lib/components/eftposPay/component/step/index.d.ts +1 -0
  292. package/lib/components/eftposPay/component/step/step.d.ts +1 -0
  293. package/lib/components/eftposPay/device.d.ts +23 -0
  294. package/lib/components/eftposPay/hooks.d.ts +2 -2
  295. package/lib/components/eftposPay/index.d.ts +4 -0
  296. package/lib/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
  297. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  298. package/lib/components/eftposPay/linkly/index.d.ts +2 -0
  299. package/lib/components/eftposPay/pay.d.ts +20 -0
  300. package/lib/components/eftposPay/payo/config.d.ts +13 -0
  301. package/lib/components/eftposPay/payo/hooks.d.ts +10 -0
  302. package/lib/components/eftposPay/payo/payment.d.ts +66 -0
  303. package/lib/components/eftposPay/store/index.d.ts +5 -5
  304. package/lib/components/eftposPay/tip.d.ts +10 -0
  305. package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
  306. package/lib/components/eftposPay/tyro/index.d.ts +9 -0
  307. package/lib/components/eftposPay/utils/payLog.d.ts +81 -0
  308. package/lib/components/eftposPay/windcave/receiptAction.d.ts +23 -0
  309. package/lib/components/eftposPay/windcave/windcave.d.ts +7 -0
  310. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  311. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  312. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  313. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  314. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  315. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  316. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  317. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  318. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  319. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  320. package/lib/components/kioskSkuDetail/index.d.ts +39 -0
  321. package/lib/components/kioskSkuDetail/locales.d.ts +48 -0
  322. package/lib/components/login/index.d.ts +1 -0
  323. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
  324. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
  325. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
  326. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +16 -0
  327. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +15 -0
  328. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +83 -0
  329. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +2 -0
  330. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  331. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  332. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
  333. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
  334. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +22 -0
  335. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
  336. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +16 -0
  337. package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
  338. package/lib/components/pay/toC/index.d.ts +3 -0
  339. package/lib/components/pay/toC/locales.d.ts +631 -0
  340. package/lib/components/pay/toC/payGroup.d.ts +59 -0
  341. package/lib/components/pay/toC/serve.d.ts +87 -0
  342. package/lib/components/pay/toC/utils.d.ts +65 -0
  343. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  344. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  345. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  346. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  347. package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
  348. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  349. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  350. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  351. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  352. package/lib/components/ruleSetting/locales.d.ts +78 -0
  353. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  354. package/lib/components/scanOrder/components/Cart/index.d.ts +2 -0
  355. package/lib/components/scanOrder/components/Cart/index.js +43 -9
  356. package/lib/components/scanOrder/components/Cart/index.less +61 -8
  357. package/lib/components/scanOrder/components/Check/index.js +97 -8
  358. package/lib/components/scanOrder/components/Check/index.less +30 -0
  359. package/lib/components/scanOrder/components/Content/index.js +215 -69
  360. package/lib/components/scanOrder/components/Footer/index.d.ts +2 -0
  361. package/lib/components/scanOrder/components/Footer/index.js +2 -2
  362. package/lib/components/scanOrder/components/Footer/index.less +16 -7
  363. package/lib/components/scanOrder/components/FulfillmentMode/index.d.ts +11 -0
  364. package/lib/components/scanOrder/components/FulfillmentMode/index.js +96 -0
  365. package/lib/components/scanOrder/components/FulfillmentMode/index.less +40 -0
  366. package/lib/components/scanOrder/components/ManualPickupRefModal/index.d.ts +16 -0
  367. package/lib/components/scanOrder/components/ManualPickupRefModal/index.js +116 -0
  368. package/lib/components/scanOrder/components/ManualPickupRefModal/index.less +61 -0
  369. package/lib/components/scanOrder/context.js +80 -12
  370. package/lib/components/scanOrder/locales.d.ts +55 -0
  371. package/lib/components/scanOrder/locales.js +55 -0
  372. package/lib/components/scanOrder/types.d.ts +23 -0
  373. package/lib/components/scanOrder/utils/toShoppingCartProducts.d.ts +2 -1
  374. package/lib/components/scanOrder/utils/toShoppingCartProducts.js +8 -5
  375. package/lib/components/scanOrder/utils/transformProductDetail.d.ts +2 -1
  376. package/lib/components/scanOrder/utils/transformProductDetail.js +1 -9
  377. package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
  378. package/lib/components/schedules/calendar/index.d.ts +1 -0
  379. package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
  380. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  381. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
  382. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  383. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  384. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  385. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  386. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  387. package/lib/components/schedules/products/index.d.ts +1 -0
  388. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  389. package/lib/components/schedules/products/list/index.d.ts +1 -0
  390. package/lib/components/schedules/resources/index.d.ts +1 -0
  391. package/lib/components/schedules/resources/list/index.d.ts +1 -0
  392. package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
  393. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  394. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  395. package/lib/components/schedules/schedules/index.d.ts +1 -0
  396. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  397. package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
  398. package/lib/components/shoppingCart/index.d.ts +1 -0
  399. package/lib/components/systemSettings/registry/components/GroupModal.js +71 -72
  400. package/lib/components/systemSettings/registry/components/ItemModal.js +2 -1
  401. package/lib/components/systemSettings/registry/index.js +3 -1
  402. package/lib/components/systemSettings/registry/services.d.ts +2 -0
  403. package/lib/components/systemSettings/registry/types.d.ts +3 -0
  404. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
  405. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
  406. package/lib/components/ticketBooking/components/timeBar/index.d.ts +12 -0
  407. package/lib/components/ticketBooking/index.d.ts +7 -0
  408. package/lib/components/venueBooking/components/VenueSelection/components/TimeGrid.js +119 -19
  409. package/lib/components/venueBooking/context.js +16 -7
  410. package/lib/components/venueBooking/hooks.d.ts +16 -3
  411. package/lib/components/venueBooking/hooks.js +8 -2
  412. package/lib/components/venueBooking/types.d.ts +19 -2
  413. package/lib/hooks/usePaymentLogger.d.ts +1 -0
  414. package/lib/index.d.ts +87 -0
  415. package/lib/index.js +2 -0
  416. package/lib/plus/clientName/index.d.ts +1 -0
  417. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  418. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  419. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  420. package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +1 -0
  421. package/lib/plus/pisellSalesManagement/config/booking.d.ts +6 -6
  422. package/lib/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +1 -0
  423. package/lib/plus/pisellSalesProductCard/index.js +10 -0
  424. package/lib/plus/pisellSalesProductCard/types.d.ts +21 -1
  425. package/lib/plus/productSelect/ProductCard/ProductCardV2.js +6 -2
  426. package/lib/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  427. package/lib/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  428. package/lib/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  429. package/lib/plus/saasRegister/components/GoLogin.d.ts +1 -0
  430. package/lib/plus/saasRegister/components/Header.d.ts +1 -0
  431. package/lib/plus/saasRegister/components/VerifyError.d.ts +1 -0
  432. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  433. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +6 -0
  434. package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +3 -0
  435. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +15 -0
  436. package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +1 -0
  437. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -0
  438. package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
  439. package/lib/plus/skuOptionsSelection/locales.d.ts +58 -0
  440. package/lib/plus/skuOptionsSelection/types.d.ts +458 -0
  441. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  442. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  443. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  444. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  445. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  446. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  447. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
  448. package/lib/pro/Cards/components/SKUCard/index.d.ts +5 -0
  449. package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  450. package/lib/pro/NumericStepper/index.d.ts +19 -0
  451. package/lib/pro/NumericStepper/index.js +21 -4
  452. package/lib/pro/Selector/demo.d.ts +1 -0
  453. package/lowcode/admin-auth-channel-auth/meta.ts +116 -0
  454. package/lowcode/admin-auth-online-shop-auth/meta.ts +81 -5
  455. package/package.json +1 -1
@@ -41,6 +41,17 @@ var locales_default = {
41
41
  "pisell2.scan.order.store.status.exception": "The store is currently closed or in an abnormal state. Please contact staff.",
42
42
  "pisell2.scan.order.note.title": "Order notes",
43
43
  "pisell2.scan.order.note.placeholder": "Add order notes",
44
+ "pisell2.scan.order.fulfillment.title": "Fulfillment",
45
+ "pisell2.scan.order.fulfillment.table_service": "Table service",
46
+ "pisell2.scan.order.fulfillment.pickup": "Pickup",
47
+ "pisell2.scan.order.current.table": "Current table",
48
+ "pisell2.scan.order.pickup.ref.title": "Table Service",
49
+ "pisell2.scan.order.pickup.ref.heading": "Use any name you like",
50
+ "pisell2.scan.order.pickup.ref.description": "Enter your nickname, or anything fun!",
51
+ "pisell2.scan.order.pickup.ref.placeholder": "e.g. John",
52
+ "pisell2.scan.order.products.title": "Products",
53
+ "pisell2.scan.order.products.empty.tip": "Please select products",
54
+ "pisell2.scan.order.submit.disabled.default": "Order submission is currently disabled.",
44
55
  "pisell2.appointment.booking.empty.data": "No data",
45
56
  "pisell2.appointment.deposit.close": "Close",
46
57
  "pisell2.appointment.policy": "You have read and agreed to this policy",
@@ -65,6 +76,17 @@ var locales_default = {
65
76
  "pisell2.scan.order.store.status.exception": "当前店铺不在营业中或者状态异常,请联系工作人员",
66
77
  "pisell2.scan.order.note.title": "备注",
67
78
  "pisell2.scan.order.note.placeholder": "请输入备注",
79
+ "pisell2.scan.order.fulfillment.title": "取餐方式",
80
+ "pisell2.scan.order.fulfillment.table_service": "送餐到桌",
81
+ "pisell2.scan.order.fulfillment.pickup": "到店自取",
82
+ "pisell2.scan.order.current.table": "当前桌台",
83
+ "pisell2.scan.order.pickup.ref.title": "桌边服务",
84
+ "pisell2.scan.order.pickup.ref.heading": "随便起个名字吧",
85
+ "pisell2.scan.order.pickup.ref.description": "输入你的昵称,或任何有趣的名字!",
86
+ "pisell2.scan.order.pickup.ref.placeholder": "例如:小明",
87
+ "pisell2.scan.order.products.title": "商品",
88
+ "pisell2.scan.order.products.empty.tip": "请选择商品",
89
+ "pisell2.scan.order.submit.disabled.default": "当前暂不可下单",
68
90
  "pisell2.appointment.booking.empty.data": "暂无数据",
69
91
  "pisell2.appointment.deposit.close": "关闭",
70
92
  "pisell2.appointment.policy": "您已仔细阅读并同意此协议",
@@ -89,6 +111,17 @@ var locales_default = {
89
111
  "pisell2.scan.order.store.status.exception": "當前店鋪不在營業中或者狀態異常,請聯繫工作人員",
90
112
  "pisell2.scan.order.note.title": "備註",
91
113
  "pisell2.scan.order.note.placeholder": "請輸入備註",
114
+ "pisell2.scan.order.fulfillment.title": "取餐方式",
115
+ "pisell2.scan.order.fulfillment.table_service": "送餐到桌",
116
+ "pisell2.scan.order.fulfillment.pickup": "到店自取",
117
+ "pisell2.scan.order.current.table": "當前桌台",
118
+ "pisell2.scan.order.pickup.ref.title": "桌邊服務",
119
+ "pisell2.scan.order.pickup.ref.heading": "隨便起個名字吧",
120
+ "pisell2.scan.order.pickup.ref.description": "輸入你的暱稱,或任何有趣的名字!",
121
+ "pisell2.scan.order.pickup.ref.placeholder": "例如:小明",
122
+ "pisell2.scan.order.products.title": "商品",
123
+ "pisell2.scan.order.products.empty.tip": "請選擇商品",
124
+ "pisell2.scan.order.submit.disabled.default": "當前暫不可下單",
92
125
  "pisell2.appointment.booking.empty.data": "暫無數據",
93
126
  "pisell2.appointment.deposit.close": "关闭",
94
127
  "pisell2.appointment.policy": "您已仔細閱讀並同意此協議",
@@ -113,6 +146,17 @@ var locales_default = {
113
146
  "pisell2.scan.order.store.status.exception": "現在、店舗は営業時間外または状態が異常です。スタッフまでお問い合わせください。",
114
147
  "pisell2.scan.order.note.title": "備考",
115
148
  "pisell2.scan.order.note.placeholder": "備考を入力してください",
149
+ "pisell2.scan.order.fulfillment.title": "受け取り方法",
150
+ "pisell2.scan.order.fulfillment.table_service": "テーブルサービス",
151
+ "pisell2.scan.order.fulfillment.pickup": "ピックアップ",
152
+ "pisell2.scan.order.current.table": "現在のテーブル",
153
+ "pisell2.scan.order.pickup.ref.title": "テーブルサービス",
154
+ "pisell2.scan.order.pickup.ref.heading": "好きな名前をどうぞ",
155
+ "pisell2.scan.order.pickup.ref.description": "ニックネームや楽しい名前を入力してね!",
156
+ "pisell2.scan.order.pickup.ref.placeholder": "例: ジョン",
157
+ "pisell2.scan.order.products.title": "商品",
158
+ "pisell2.scan.order.products.empty.tip": "商品を選択してください",
159
+ "pisell2.scan.order.submit.disabled.default": "現在、注文を送信できません。",
116
160
  "pisell2.appointment.booking.empty.data": "データなし",
117
161
  "pisell2.appointment.deposit.close": "閉じる",
118
162
  "pisell2.appointment.policy": "このポリシーを読み、同意しました",
@@ -137,6 +181,17 @@ var locales_default = {
137
181
  "pisell2.scan.order.store.status.exception": "A loja está fechada no momento ou em estado anormal. Entre em contato com a equipe.",
138
182
  "pisell2.scan.order.note.title": "Observações do pedido",
139
183
  "pisell2.scan.order.note.placeholder": "Adicione observações do pedido",
184
+ "pisell2.scan.order.fulfillment.title": "Forma de retirada",
185
+ "pisell2.scan.order.fulfillment.table_service": "Serviço à mesa",
186
+ "pisell2.scan.order.fulfillment.pickup": "Retirada",
187
+ "pisell2.scan.order.current.table": "Mesa atual",
188
+ "pisell2.scan.order.pickup.ref.title": "Serviço à mesa",
189
+ "pisell2.scan.order.pickup.ref.heading": "Use o nome que quiser",
190
+ "pisell2.scan.order.pickup.ref.description": "Digite seu apelido ou algo divertido!",
191
+ "pisell2.scan.order.pickup.ref.placeholder": "Ex.: João",
192
+ "pisell2.scan.order.products.title": "Produtos",
193
+ "pisell2.scan.order.products.empty.tip": "Selecione produtos",
194
+ "pisell2.scan.order.submit.disabled.default": "No momento, não é possível enviar pedidos.",
140
195
  "pisell2.appointment.booking.empty.data": "Sem dados",
141
196
  "pisell2.appointment.deposit.close": "Fechar",
142
197
  "pisell2.appointment.policy": "Você leu e concordou com esta política",
@@ -11,6 +11,15 @@ export interface ScanOrderProps {
11
11
  entryContext?: ScanOrderEntryContext;
12
12
  }
13
13
  export declare type ScanOrderStepKey = 'init' | 'product' | 'check' | 'error';
14
+ export declare type ScanOrderEntryMode = 'default' | 'additional_order';
15
+ /** 步骤缓存中记录的 gate 标记(对应协议 / 表单 / 人数 modal 是否已走过) */
16
+ export declare type ScanOrderGateKey = 'policyAccepted' | 'formSubmitted' | 'paxEntered';
17
+ /** 存入 sessionStorage 桶内的 entryContext 快照(用于校验是否同一扫码场景) */
18
+ export interface ScanOrderCachedEntryContext {
19
+ resourceId?: string;
20
+ hasOrderId?: boolean;
21
+ biz?: string;
22
+ }
14
23
  export interface ScanOrderViewModel {
15
24
  menuItems: any[];
16
25
  cartItems: any[];
@@ -30,8 +39,14 @@ export interface ScanOrderContextValue {
30
39
  stepList: ScanOrderStepKey[];
31
40
  viewModel: ScanOrderViewModel;
32
41
  footerActionText: string;
42
+ tableName: string;
43
+ entryMode: ScanOrderEntryMode;
44
+ submitDisabledTips: string;
33
45
  isReady: boolean;
34
46
  setCurrentStep: (step: ScanOrderStepKey) => void;
47
+ setTableName: (name: string) => void;
48
+ setEntryMode: (mode: ScanOrderEntryMode) => void;
49
+ setSubmitDisabledTips: (tips: string) => void;
35
50
  goToStep: (step: ScanOrderStepKey) => void;
36
51
  nextStep: () => void;
37
52
  prevStep: () => void;
@@ -39,6 +54,14 @@ export interface ScanOrderContextValue {
39
54
  runModuleAction: (actionName: string, ...args: any[]) => Promise<any>;
40
55
  setFooterActionText: (text: string) => void;
41
56
  updateOrderNote: (note: string) => Promise<void>;
57
+ /** 步骤缓存 hydrate 是否已完成(未完成时不建议写入 step,避免覆盖缓存) */
58
+ isCacheHydrated: boolean;
59
+ /** 将 gate 标记为已完成(写入 sessionStorage 桶) */
60
+ markGate: (flag: ScanOrderGateKey) => void;
61
+ /** 查询某个 gate 是否已完成 */
62
+ isGatePassed: (flag: ScanOrderGateKey) => boolean;
63
+ /** 整桶清空(提交成功 / restoreOrder 等场景) */
64
+ clearStepCache: () => void;
42
65
  }
43
66
  export interface ScanOrderProviderProps {
44
67
  entryContext: ScanOrderEntryContext;
@@ -2,8 +2,9 @@ interface ScanOrderOrderProduct {
2
2
  product_id: number | null;
3
3
  product_variant_id: number;
4
4
  num?: number;
5
- payment_price?: string | number;
5
+ /** 券后单品单价(订单域成交单价)。 */
6
6
  selling_price?: string | number;
7
+ /** 券前单品单价(店铺售价)。 */
7
8
  original_price?: string | number;
8
9
  product_option_item?: any[];
9
10
  product_bundle?: any[];
@@ -37,19 +37,22 @@ function getDisplayName(product) {
37
37
  const origin = (product == null ? void 0 : product._origin) || {};
38
38
  const callbackData = (origin == null ? void 0 : origin.callbackData) || {};
39
39
  const callbackOrigin = (callbackData == null ? void 0 : callbackData.origin) || {};
40
- return (callbackData == null ? void 0 : callbackData.name) || (callbackData == null ? void 0 : callbackData.title) || (callbackOrigin == null ? void 0 : callbackOrigin.name) || (callbackOrigin == null ? void 0 : callbackOrigin.title) || (origin == null ? void 0 : origin.name) || (origin == null ? void 0 : origin.title) || ((_b = (_a = origin == null ? void 0 : origin.resources) == null ? void 0 : _a[0]) == null ? void 0 : _b.main_field) || ((_c = product == null ? void 0 : product.metadata) == null ? void 0 : _c.resource_name) || `Product #${product.product_id ?? "unknown"}`;
40
+ const sourceItem = (origin == null ? void 0 : origin.sourceItem) || {};
41
+ return (callbackData == null ? void 0 : callbackData.name) || (callbackData == null ? void 0 : callbackData.title) || (callbackOrigin == null ? void 0 : callbackOrigin.name) || (callbackOrigin == null ? void 0 : callbackOrigin.title) || (sourceItem == null ? void 0 : sourceItem.name) || (sourceItem == null ? void 0 : sourceItem.title) || (origin == null ? void 0 : origin.name) || (origin == null ? void 0 : origin.title) || ((_b = (_a = origin == null ? void 0 : origin.resources) == null ? void 0 : _a[0]) == null ? void 0 : _b.main_field) || ((_c = product == null ? void 0 : product.metadata) == null ? void 0 : _c.resource_name) || `Product #${product.product_id ?? "unknown"}`;
41
42
  }
42
43
  function getDisplayImage(product) {
43
44
  const origin = (product == null ? void 0 : product._origin) || {};
44
45
  const callbackData = (origin == null ? void 0 : origin.callbackData) || {};
45
46
  const callbackOrigin = (callbackData == null ? void 0 : callbackData.origin) || {};
46
- return (callbackData == null ? void 0 : callbackData.image) || (callbackData == null ? void 0 : callbackData.cover) || (callbackOrigin == null ? void 0 : callbackOrigin.image) || (callbackOrigin == null ? void 0 : callbackOrigin.cover) || (origin == null ? void 0 : origin.image) || (origin == null ? void 0 : origin.cover) || "";
47
+ const sourceItem = (origin == null ? void 0 : origin.sourceItem) || {};
48
+ return (callbackData == null ? void 0 : callbackData.image) || (callbackData == null ? void 0 : callbackData.cover) || (callbackOrigin == null ? void 0 : callbackOrigin.image) || (callbackOrigin == null ? void 0 : callbackOrigin.cover) || (sourceItem == null ? void 0 : sourceItem.image) || (sourceItem == null ? void 0 : sourceItem.cover) || (origin == null ? void 0 : origin.image) || (origin == null ? void 0 : origin.cover) || "";
47
49
  }
48
50
  function getUnitPrice(product) {
49
- const origin = (product == null ? void 0 : product._origin) || {};
50
- const callbackData = (origin == null ? void 0 : origin.callbackData) || {};
51
+ var _a, _b;
52
+ const callbackData = ((_a = product == null ? void 0 : product._origin) == null ? void 0 : _a.callbackData) || {};
51
53
  const callbackOrigin = (callbackData == null ? void 0 : callbackData.origin) || {};
52
- return toNumber(product.payment_price, NaN) || toNumber(product.selling_price, NaN) || toNumber(product.original_price, NaN) || toNumber(callbackData == null ? void 0 : callbackData.price, NaN) || toNumber(callbackOrigin == null ? void 0 : callbackOrigin.price, NaN) || toNumber(origin == null ? void 0 : origin.price, NaN) || toNumber(origin == null ? void 0 : origin.selling_price, NaN) || toNumber(origin == null ? void 0 : origin.base_price, 0);
54
+ const sourceItem = ((_b = product == null ? void 0 : product._origin) == null ? void 0 : _b.sourceItem) || {};
55
+ return toNumber(product.selling_price, NaN) || toNumber(product.original_price, NaN) || toNumber(callbackData == null ? void 0 : callbackData.price, NaN) || toNumber(callbackOrigin == null ? void 0 : callbackOrigin.price, NaN) || toNumber(sourceItem == null ? void 0 : sourceItem.price, 0);
53
56
  }
54
57
  function normalizeOptions(product) {
55
58
  var _a;
@@ -43,9 +43,10 @@ export interface ScanOrderOrderProductInput {
43
43
  price: number;
44
44
  }>;
45
45
  product_bundle: ProductDetailBundleItem[];
46
+ /** 券后单品单价;初次加购由入口置为 selling_price,之后由 SDK Rules 引擎维护。 */
46
47
  selling_price: string;
48
+ /** 券前单品单价(店铺售价)。 */
47
49
  original_price: string;
48
- payment_price: string;
49
50
  tax_fee: string;
50
51
  is_charge_tax: number;
51
52
  metadata: Record<string, any>;
@@ -83,14 +83,7 @@ function transformProductDetailToOrderProduct(params) {
83
83
  (payload == null ? void 0 : payload.price) ?? (payload == null ? void 0 : payload.selling_price) ?? (callbackOrigin == null ? void 0 : callbackOrigin.price) ?? (sourceItem == null ? void 0 : sourceItem.price) ?? (sourceItem == null ? void 0 : sourceItem.selling_price) ?? (sourceItem == null ? void 0 : sourceItem.base_price),
84
84
  "0.00"
85
85
  );
86
- const originalPrice = toPriceString(
87
- (payload == null ? void 0 : payload.original_price) ?? (callbackOrigin == null ? void 0 : callbackOrigin.original_price) ?? (sourceItem == null ? void 0 : sourceItem.original_price) ?? sellingPrice,
88
- sellingPrice
89
- );
90
- const paymentPrice = toPriceString(
91
- (payload == null ? void 0 : payload.payment_price) ?? (callbackOrigin == null ? void 0 : callbackOrigin.payment_price) ?? (sourceItem == null ? void 0 : sourceItem.payment_price) ?? sellingPrice,
92
- sellingPrice
93
- );
86
+ const originalPrice = sellingPrice;
94
87
  const taxFee = toPriceString(
95
88
  (payload == null ? void 0 : payload.tax_fee) ?? (callbackOrigin == null ? void 0 : callbackOrigin.tax_fee) ?? (sourceItem == null ? void 0 : sourceItem.tax_fee),
96
89
  "0.00"
@@ -111,7 +104,6 @@ function transformProductDetailToOrderProduct(params) {
111
104
  ),
112
105
  selling_price: sellingPrice,
113
106
  original_price: originalPrice,
114
- payment_price: paymentPrice,
115
107
  tax_fee: taxFee,
116
108
  is_charge_tax: isChargeTax,
117
109
  metadata: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CalendarDataItem } from "../type";
2
3
  declare type CalendarItemProps = {
3
4
  month: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const Calendar: () => JSX.Element;
3
4
  export default Calendar;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type CurrentDayProps = {
3
4
  onClose: () => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ScheduleItem } from "../../type";
2
3
  import "./index.less";
3
4
  declare type ScheduleDetailListPropsType = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ButtonProps } from 'antd';
2
3
  import { ScheduleItem } from '../../type';
3
4
  import './index.less';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const MaxParticipantsModule: ({ form, value, onChange, useSchedule, isAutoChange, onData, }: {
3
4
  form: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const ResourcesModule: ({ product }: {
2
3
  product: any;
3
4
  }) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductDetail: ({ form, currentProduct, }: {
3
4
  form: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductDetailByDate: () => JSX.Element;
3
4
  export default ProductDetailByDate;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductDetailDrawer: () => JSX.Element;
3
4
  export default ProductDetailDrawer;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Products: () => JSX.Element;
3
4
  export default Products;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type Item = any;
3
4
  interface ProductItemProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface ProductListProps {
3
4
  loading: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Resources: () => JSX.Element;
3
4
  export default Resources;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type ResourcesListProps = {
3
4
  list: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const RelationProduct: ({ value, onChange, }: {
3
4
  value?: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ScheduleItem } from '../../type';
2
3
  import './index.less';
3
4
  declare type AllSchedulesPropsType = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { DrawerProps } from "antd";
2
3
  import { ScheduleItem } from "../../type";
3
4
  import "./index.less";
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SchedulesConnect: () => JSX.Element;
2
3
  export default SchedulesConnect;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Empty: (props: any) => JSX.Element;
3
4
  export default Empty;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Content: () => JSX.Element;
3
4
  export default Content;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { shoppingCartProps } from './type';
2
3
  declare const shoppingCart: ({ onCard, onAction, onChange, onAddProduct, onActiveKey, ...props }: shoppingCartProps) => JSX.Element;
3
4
  export default shoppingCart;
@@ -59,7 +59,8 @@ var GroupModal = ({
59
59
  if (type === "edit" && data) {
60
60
  form.setFieldsValue({
61
61
  title: data.title,
62
- code: data.code
62
+ code: data.code,
63
+ description: data == null ? void 0 : data.description
63
64
  });
64
65
  } else {
65
66
  form.resetFields();
@@ -92,86 +93,84 @@ var GroupModal = ({
92
93
  destroyOnClose: true,
93
94
  footer: /* @__PURE__ */ import_react.default.createElement("div", { style: { textAlign: "right" } }, /* @__PURE__ */ import_react.default.createElement(import_antd.Space, { size: "small" }, /* @__PURE__ */ import_react.default.createElement(import_materials.Button, { onClick: handleCancel }, import_utils.locales.getText("registry.button.cancel")), /* @__PURE__ */ import_react.default.createElement(import_materials.Button, { type: "primary", onClick: handleOk }, import_utils.locales.getText("registry.button.save"))))
94
95
  },
95
- /* @__PURE__ */ import_react.default.createElement(
96
- import_antd.Form,
96
+ /* @__PURE__ */ import_react.default.createElement(import_antd.Form, { form, layout: "vertical", requiredMark: true }, /* @__PURE__ */ import_react.default.createElement(
97
+ import_antd.Form.Item,
97
98
  {
98
- form,
99
- layout: "vertical",
100
- requiredMark: true
101
- },
102
- /* @__PURE__ */ import_react.default.createElement(
103
- import_antd.Form.Item,
104
- {
105
- name: "title",
106
- label: import_utils.locales.getText("registry.form.title"),
107
- rules: [
108
- {
109
- required: true,
110
- message: import_utils.locales.getText("registry.message.required")
111
- }
112
- ]
113
- },
114
- /* @__PURE__ */ import_react.default.createElement(
115
- import_materials.BaseTranslation,
99
+ name: "title",
100
+ label: import_utils.locales.getText("registry.form.title"),
101
+ rules: [
116
102
  {
117
- placeholder: import_utils.locales.getText("registry.form.name.placeholder")
103
+ required: true,
104
+ message: import_utils.locales.getText("registry.message.required")
118
105
  }
119
- )
120
- ),
106
+ ]
107
+ },
121
108
  /* @__PURE__ */ import_react.default.createElement(
122
- import_antd.Form.Item,
109
+ import_materials.BaseTranslation,
123
110
  {
124
- name: "code",
125
- label: import_utils.locales.getText("registry.form.code"),
126
- rules: [
127
- {
128
- required: true,
129
- message: import_utils.locales.getText("registry.message.required")
130
- },
131
- {
132
- validator: (_, value) => {
133
- if (!value) return Promise.resolve();
134
- if (!/^[a-z0-9\._]+$/.test(value)) {
135
- return Promise.reject(
136
- new Error(
137
- getText("registry.message.code.format")
138
- )
139
- );
140
- }
141
- if (!/^[a-z]/.test(value)) {
142
- return Promise.reject(
143
- new Error(
144
- getText("registry.message.code.start")
145
- )
146
- );
147
- }
148
- if (/[\._]$/.test(value)) {
149
- return Promise.reject(
150
- new Error(
151
- getText("registry.message.code.end")
152
- )
153
- );
154
- }
155
- if (/[\.]{2,}|[\_]{2,}/.test(value)) {
156
- return Promise.reject(
157
- new Error(
158
- getText("registry.message.code.consecutive")
159
- )
160
- );
161
- }
162
- return Promise.resolve();
111
+ placeholder: import_utils.locales.getText("registry.form.name.placeholder")
112
+ }
113
+ )
114
+ ), /* @__PURE__ */ import_react.default.createElement(
115
+ import_antd.Form.Item,
116
+ {
117
+ name: "code",
118
+ label: import_utils.locales.getText("registry.form.code"),
119
+ rules: [
120
+ {
121
+ required: true,
122
+ message: import_utils.locales.getText("registry.message.required")
123
+ },
124
+ {
125
+ validator: (_, value) => {
126
+ if (!value) return Promise.resolve();
127
+ if (!/^[a-z0-9\._]+$/.test(value)) {
128
+ return Promise.reject(
129
+ new Error(getText("registry.message.code.format"))
130
+ );
131
+ }
132
+ if (!/^[a-z]/.test(value)) {
133
+ return Promise.reject(
134
+ new Error(getText("registry.message.code.start"))
135
+ );
136
+ }
137
+ if (/[\._]$/.test(value)) {
138
+ return Promise.reject(
139
+ new Error(getText("registry.message.code.end"))
140
+ );
163
141
  }
142
+ if (/[\.]{2,}|[\_]{2,}/.test(value)) {
143
+ return Promise.reject(
144
+ new Error(getText("registry.message.code.consecutive"))
145
+ );
146
+ }
147
+ return Promise.resolve();
164
148
  }
165
- ]
166
- },
167
- /* @__PURE__ */ import_react.default.createElement(
168
- import_antd.Input,
169
- {
170
- placeholder: import_utils.locales.getText("registry.form.code.placeholder")
171
149
  }
172
- )
150
+ ]
151
+ },
152
+ /* @__PURE__ */ import_react.default.createElement(
153
+ import_antd.Input,
154
+ {
155
+ placeholder: import_utils.locales.getText("registry.form.code.placeholder")
156
+ }
157
+ )
158
+ ), /* @__PURE__ */ import_react.default.createElement(
159
+ import_antd.Form.Item,
160
+ {
161
+ name: "description",
162
+ label: import_utils.locales.getText("registry.form.description")
163
+ },
164
+ /* @__PURE__ */ import_react.default.createElement(
165
+ import_materials.BaseTranslation,
166
+ {
167
+ placeholder: import_utils.locales.getText(
168
+ "registry.form.description.placeholder"
169
+ ),
170
+ renderMode: "edit"
171
+ }
173
172
  )
174
- )
173
+ ))
175
174
  );
176
175
  };
177
176
  var GroupModal_default = GroupModal;
@@ -72,7 +72,8 @@ var interfaceTypeOptions = {
72
72
  array: [
73
73
  { value: "Select", label: "多选下拉框" },
74
74
  { value: "Input.JSON", label: "JSON编辑器" },
75
- { value: "RecordListWrapper", label: "记录列表包装器" }
75
+ { value: "RecordListWrapper", label: "记录列表包装器" },
76
+ { value: "Translation", label: "多语言输入框" }
76
77
  ]
77
78
  };
78
79
  var ItemModal = ({
@@ -382,6 +382,7 @@ var Registry = ({
382
382
  section_code: currentSection.code,
383
383
  code: formData.code,
384
384
  title: formData.title,
385
+ description: formData == null ? void 0 : formData.description,
385
386
  sort: newSort
386
387
  });
387
388
  } else {
@@ -392,7 +393,8 @@ var Registry = ({
392
393
  await handleUpdateGroup({
393
394
  id: editingGroup.id,
394
395
  code: formData.code,
395
- title: formData.title
396
+ title: formData.title,
397
+ description: formData == null ? void 0 : formData.description
396
398
  });
397
399
  }
398
400
  setGroupModalOpen(false);
@@ -4,11 +4,13 @@ export interface CreateGroupParams {
4
4
  code: string;
5
5
  title: MultiLanguageText;
6
6
  sort: number;
7
+ description?: MultiLanguageText;
7
8
  }
8
9
  export interface UpdateGroupParams {
9
10
  id: number;
10
11
  code: string;
11
12
  title: MultiLanguageText;
13
+ description?: MultiLanguageText;
12
14
  }
13
15
  export interface DeleteGroupParams {
14
16
  id: number;
@@ -36,6 +36,8 @@ export interface SettingGroup extends BaseItem {
36
36
  items: SettingItem[];
37
37
  expanded?: boolean;
38
38
  sort: number;
39
+ description?: MultiLanguageText;
40
+ title?: MultiLanguageText;
39
41
  }
40
42
  export interface Section extends BaseItem {
41
43
  icon?: string;
@@ -90,6 +92,7 @@ export interface SettingsTableProps {
90
92
  export interface GroupFormData {
91
93
  title: MultiLanguageText;
92
94
  code: string;
95
+ description?: MultiLanguageText;
93
96
  }
94
97
  export interface ItemFormData {
95
98
  name: MultiLanguageText;
@@ -0,0 +1,9 @@
1
+ import './index.less';
2
+ interface AddServiceProps {
3
+ onEdit?: any;
4
+ dispatch?: any;
5
+ state?: any;
6
+ renderMode?: 'current' | 'drawer';
7
+ }
8
+ declare const AddSerivce: (props: AddServiceProps) => JSX.Element | null;
9
+ export default AddSerivce;
@@ -0,0 +1,4 @@
1
+ import './index.less';
2
+ export declare const _formatBookingDetail: (data: any, modalState: any) => any;
3
+ declare const TicketBooking: () => JSX.Element;
4
+ export default TicketBooking;
@@ -0,0 +1,12 @@
1
+ import type { Dayjs } from 'dayjs';
2
+ import './index.less';
3
+ interface ITimeBarProps {
4
+ globalState: any;
5
+ setGlobalState: any;
6
+ onDateChange: (date: Dayjs, dateString?: string) => void;
7
+ onDateTimeChange: (date: Dayjs, timeString: string) => void;
8
+ setIntervalTime: (value: boolean) => void;
9
+ locale: string;
10
+ }
11
+ declare const TimeBar: (props: ITimeBarProps) => JSX.Element;
12
+ export default TimeBar;
@@ -0,0 +1,7 @@
1
+ import './index.less';
2
+ interface TicketBookingProps {
3
+ productExtensionType: string[];
4
+ bookingConfigParams: Record<string, any>;
5
+ }
6
+ declare const _default: (props: TicketBookingProps) => JSX.Element;
7
+ export default _default;