@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
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ declare const Form: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
4
+ export default Form;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ declare const Services: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
4
+ export default Services;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const DepositModal: (props: any) => JSX.Element;
3
+ export default DepositModal;
@@ -0,0 +1,107 @@
1
+ export declare const useAppointmentBooking: () => any;
2
+ export declare const useShopDiscount: () => any;
3
+ export declare const contextUtils: () => any;
4
+ /**
5
+ * @title: 监听步骤发生变化
6
+ * @description:
7
+ * @return {*}
8
+ * @Author: WangHan
9
+ * @Date: 2025-04-15 11:11
10
+ */
11
+ export declare const useAppointmentBookingStep: () => {
12
+ getStepIndex: (type: string, skipNumber?: number) => any;
13
+ stepList: any;
14
+ removeStep: (key: string) => any;
15
+ addStep: (props: any, stepKey?: string) => any;
16
+ updateStep: (key: string, step: any) => void;
17
+ nextStep: (isLog?: boolean) => any;
18
+ };
19
+ /**
20
+ * @title: 获取商品数据
21
+ * @description:
22
+ * @return {*}
23
+ * @Author: WangHan
24
+ * @Date: 2025-04-15 11:12
25
+ */
26
+ export declare const useAppointmentBookingProduct: () => {
27
+ checkProductType: (productId: number) => Promise<any>;
28
+ getProducts: () => Promise<any>;
29
+ };
30
+ /**
31
+ * @title: 更新购物车数据
32
+ * @description:
33
+ * @return {*}
34
+ * @Author: WangHan
35
+ * @Date: 2025-04-15 11:12
36
+ */
37
+ export declare const useAppointmentBookingCart: () => void;
38
+ /**
39
+ * @title: 获取登录状态
40
+ * @description:
41
+ * @return {*}
42
+ * @Author: WangHan
43
+ * @Date: 2025-04-15 11:14
44
+ */
45
+ export declare const useAppointmentBookingLogin: () => {
46
+ isLogin: boolean;
47
+ openLoginModal: (params: {
48
+ callback: any;
49
+ }) => void;
50
+ };
51
+ /**
52
+ * @title: 获取账户
53
+ * @description:
54
+ * @return {*}
55
+ * @Author: WangHan
56
+ * @Date: 2025-04-15 11:15
57
+ */
58
+ export declare const useAppointmentBookingAccount: () => {
59
+ accountLists: any;
60
+ getHolders: () => Promise<any>;
61
+ form_id: any;
62
+ addAccount: (val: any, type?: string) => Promise<any>;
63
+ checkAccount: (type: any) => any;
64
+ };
65
+ /**
66
+ * @title: 获取资源数据
67
+ * @description:
68
+ * @return {*}
69
+ * @Author: WangHan
70
+ * @Date: 2025-04-15 11:29
71
+ */
72
+ export declare const useAppointmentBookingResource: () => {
73
+ getResourceTimeSlot: (index?: number) => Promise<void>;
74
+ getResourceList: () => {
75
+ resources: any[];
76
+ resourceCodes: any;
77
+ };
78
+ };
79
+ /**
80
+ * @title: 是否跳过资源选择步骤
81
+ * @description:
82
+ * @return {*}
83
+ * @Author: WangHan
84
+ * @Date: 2025-04-21 11:47
85
+ */
86
+ export declare const useIsSkipResourceStep: () => {
87
+ checkSkipResourceStep: () => Promise<boolean>;
88
+ };
89
+ /**
90
+ * @title: 获取预约配置
91
+ * @description:
92
+ * @return {*}
93
+ * @Author: WangHan
94
+ * @Date: 2025-04-24 18:15
95
+ */
96
+ export declare const useAppointmentBookingSetting: () => {
97
+ isDateSelectedFirst: boolean;
98
+ isFormSubject: boolean;
99
+ isRetailTemplate: any;
100
+ customPageId: any;
101
+ channel: any;
102
+ bookingSubject: any;
103
+ setOtherData: (key: string, val: any) => any;
104
+ getOtherData: (key: string) => any;
105
+ formName: any;
106
+ bookingSetting: any;
107
+ };
@@ -0,0 +1,227 @@
1
+ /**
2
+ * @title: 格式化holder表数据
3
+ * @description:
4
+ * @param {any} data
5
+ * @return {*}
6
+ * @Author: WangHan
7
+ * @Date: 2025-05-07 21:22
8
+ */
9
+ export declare const formatHolder: (data: any[]) => any[];
10
+ export declare const formatGuest: (data: any[], products: any) => any[];
11
+ /**
12
+ * @title: 格式化购物车中资源上挂接的表单数据
13
+ * @description:
14
+ * @param {any} data
15
+ * @param {any} resources
16
+ * @return {*}
17
+ * @Author: WangHan
18
+ * @Date: 2025-05-06 22:22
19
+ */
20
+ export declare const formatCartsResources: (carts: any[], resources: any[], setPolicyIds: any) => any[];
21
+ /**
22
+ * @title: 格式化购物车数据
23
+ * @description:
24
+ * @param {any} data
25
+ * @param {any} resources
26
+ * @param {any} accountLists
27
+ * @return {*}
28
+ * @Author: WangHan
29
+ * @Date: 2025-05-07 21:22
30
+ */
31
+ export declare const formatCarts: (data: any[], resources: any[], utils: any, accountLists?: any) => any[];
32
+ /**
33
+ * @title: 对资源进行排序
34
+ * @description:
35
+ * @param {any} currentResourcesMap
36
+ * @param {any} resourceSort
37
+ * @return {*}
38
+ * @Author: WangHan
39
+ * @Date: 2025-04-14 11:16
40
+ */
41
+ export declare const sortResources: (resources: any[], resourceSort: any[]) => any[] | undefined;
42
+ /**
43
+ * @title: 处理资源列表并提取资源代码
44
+ * @description: 对资源列表进行排序,并提取 resourceCodes
45
+ * @param {any[]} resources - 原始资源列表
46
+ * @param {any[]} resourceSort - 资源排序配置
47
+ * @return {*} 返回处理后的资源列表和资源代码数组
48
+ * @Author: WangHan
49
+ * @Date: 2025-11-21 15:33
50
+ */
51
+ export declare const processResourceList: (resources: any[], resourceSort: any[]) => {
52
+ resources: any[];
53
+ resourceCodes: any;
54
+ };
55
+ export declare const getMeAccount: (val: any[]) => any;
56
+ export declare const getCustomer: (utils: any) => any;
57
+ export declare const formatCustomer: (val: any) => {
58
+ id: any;
59
+ username: string;
60
+ };
61
+ export declare const formatCurrentUser: (utils: any) => {
62
+ id: any;
63
+ username: string;
64
+ };
65
+ /**
66
+ * @title: 定金合并的标点符号
67
+ * @description:
68
+ * @return {*}
69
+ * @Author: WangHan
70
+ * @Date: 2025-04-21 17:52
71
+ */
72
+ export declare const getPunctuationMark: (index: number, totalLength: number, isEn: boolean) => any;
73
+ /**
74
+ * @title: 判断当前选中的资源中是否有 resource_form_id 表单id,如果有表单则下一步是选择表单
75
+ * @description:
76
+ * @param {any} array
77
+ * @param {any} resources
78
+ * @return {*}
79
+ * @Author: WangHan
80
+ * @Date: 2025-04-25 19:05
81
+ */
82
+ export declare const hasResourceFormId: (array: any[]) => boolean | undefined;
83
+ export declare const formatForms: (array: any[]) => ({
84
+ form_id: any;
85
+ policy_id: any;
86
+ id: any;
87
+ cart_id: any;
88
+ } | null)[];
89
+ /**
90
+ * @title: 打开表单
91
+ * @description:
92
+ * @param {string} title
93
+ * @param {any} callback
94
+ * @return {*}
95
+ * @Author: WangHan
96
+ * @Date: 2025-04-26 15:26
97
+ */
98
+ export declare const openForm: ({ form_id, title, callback, utils }: any) => void;
99
+ /**
100
+ * @title: 更新数组
101
+ * @description:
102
+ * @return {*}
103
+ * @Author: WangHan
104
+ * @Date: 2025-04-26 18:13
105
+ */
106
+ export declare function updateLists<T extends Record<string, any>>(list: T[], key: string, value: any, newData: Partial<T>): T[];
107
+ /**
108
+ * @title: 更新表单存储
109
+ * @description:
110
+ * @param {any} bookingForm
111
+ * @param {number} id
112
+ * @param {any} newData
113
+ * @return {*}
114
+ * @Author: WangHan
115
+ * @Date: 2025-04-27 17:27
116
+ */
117
+ export declare const updateBookingFormStorage: (bookingForm: any, id: number | string, newData: any) => any;
118
+ export declare const Toast: (text: string) => void;
119
+ /**
120
+ * @title: 添加或移除表单步骤
121
+ * @description:
122
+ * @param {any} param1
123
+ * @return {*}
124
+ * @Author: WangHan
125
+ * @Date: 2025-05-06 21:51
126
+ */
127
+ export declare const checkHasFormStep: ({ setIsErrorHolder, nextStep, isSkip, checkHolder, checkAccount, carts, setCarts, hasResourceFormId, currentStep, stepList, appointmentBooking, locales, isLogin, openLoginModal, isFormSubject, utils, accountLists, getHolders }: any) => void;
128
+ export declare const getCartCurrentResourceData: (cart: any, currentKey: any, resources: any[]) => any;
129
+ /**
130
+ * @title: 获取购物车资源列表
131
+ * @description:
132
+ * @return {*}
133
+ * @Author: WangHan
134
+ * @Date: 2025-05-25 13:56
135
+ */
136
+ export declare const getMultiResources: (cart: any, currentSelectedResource: any, currentKey: string) => any[];
137
+ export declare const getCurrentBoard: (appointmentBooking: any, code: string) => any;
138
+ /**
139
+ * @title:
140
+ * @description: 根据资源code获取资源标题
141
+ * @param {any} appointmentBooking
142
+ * @param {string} code
143
+ * @return {*}
144
+ * @Author: WangHan
145
+ * @Date: 2025-05-24 18:51
146
+ */
147
+ export declare const getResourceTitle: (appointmentBooking: any, code: string, utils: any, originResource: any) => string;
148
+ /**
149
+ * @title: 监测购物车中是否有没有选择资源的
150
+ * @description:
151
+ * @param {any} carts
152
+ * @return {*}
153
+ * @Author: WangHan
154
+ * @Date: 2025-05-24 18:47
155
+ */
156
+ export declare const checkAndMarkCartRenderError: (carts: any, appointmentBooking?: any, utils?: any) => {
157
+ hasError: boolean;
158
+ updatedCartList: any;
159
+ } | {
160
+ hasError?: undefined;
161
+ updatedCartList?: undefined;
162
+ };
163
+ /**
164
+ * @title: 查表表单步骤插入到哪个步骤的后面的key
165
+ * @description:
166
+ * @param {string} currentKey
167
+ * @param {any} stepList
168
+ * @return {*}
169
+ * @Author: WangHan
170
+ * @Date: 2025-05-24 19:05
171
+ */
172
+ export declare const getFormInsertBeforeKey: (currentKey: string, stepList: any[]) => any;
173
+ /**
174
+ * @title: 监测holder数据
175
+ * @description:
176
+ * @param {any} isFormSubject
177
+ * @param {any} checkAccount
178
+ * @param {any} carts
179
+ * @return {*}
180
+ * @Author: WangHan
181
+ * @Date: 2025-05-24 22:46
182
+ */
183
+ export declare const checkAndGoNext: (isFormSubject: any, checkAccount: any, carts: any[]) => {
184
+ hasError: boolean;
185
+ updatedCartList: any[];
186
+ };
187
+ export declare const currentAppointmentBoard: (currentKey: string, resources: any[], appointmentBooking: any) => {
188
+ isRequired: boolean;
189
+ isSystem: boolean;
190
+ isSkip: boolean;
191
+ form_id: number;
192
+ form_code: any;
193
+ cart_id: string;
194
+ resource_form_id: string;
195
+ policy_id: string;
196
+ } | {
197
+ isRequired?: undefined;
198
+ isSystem?: undefined;
199
+ isSkip?: undefined;
200
+ form_id?: undefined;
201
+ form_code?: undefined;
202
+ cart_id?: undefined;
203
+ resource_form_id?: undefined;
204
+ policy_id?: undefined;
205
+ };
206
+ export declare const currentRenderLists: (resources: any[], code: any) => any;
207
+ /**
208
+ * @title: 更新购物车
209
+ * @description:
210
+ * @param {any} carts
211
+ * @param {any} value
212
+ * @return {*}
213
+ * @Author: WangHan
214
+ * @Date: 2025-05-25 23:17
215
+ */
216
+ export declare const updateCartResources: (item: any, value?: any, currentSelectedResources?: any) => any;
217
+ /**
218
+ * @title: 根据步骤key清空数据
219
+ * @param {string} key - 当前步骤的key
220
+ * @param {any} appointmentBooking - 预约预订实例
221
+ * @param {(times: any[]) => void} setTimes - 设置时间列表的回调函数
222
+ * @return {string[]} 返回需要清空的数据类型数组
223
+ * @Author: WangHan
224
+ * @Date: 2025-11-21 15:40
225
+ */
226
+ export declare const clearDataByStepKey: (key: string, appointmentBooking: any, setTimes?: ((times: any[]) => void) | undefined) => string[] | undefined;
227
+ export declare const nextStepLog: (utils: any, title: string, content?: any) => void;
@@ -37,8 +37,10 @@ var Onlineshopauth = function Onlineshopauth(_ref) {
37
37
  onSave = _ref.onSave;
38
38
  var context = useEngineContext();
39
39
  var useParams = context.appHelper.utils.getApp().history.useParams;
40
+ var channel = new URLSearchParams(window.location.search).get('channel') || '';
40
41
  var _useParams = useParams(),
41
- channel = _useParams.channel;
42
+ _channel = _useParams.channel;
43
+ channel = channel || _channel;
42
44
  var _context$appHelper$ut = context.appHelper.utils.getApp(),
43
45
  request = _context$appHelper$ut.request;
44
46
  var _useState = useState(true),
@@ -83,6 +85,9 @@ var Onlineshopauth = function Onlineshopauth(_ref) {
83
85
  }
84
86
  }).then(function (res) {
85
87
  if (res !== null && res !== void 0 && res.data) {
88
+ try {
89
+ delete res.data.deleted_at;
90
+ } catch (error) {}
86
91
  setChannelData(res === null || res === void 0 ? void 0 : res.data);
87
92
  }
88
93
  console.log('res_online_shop_auth', res);
@@ -94,13 +99,27 @@ var Onlineshopauth = function Onlineshopauth(_ref) {
94
99
  }
95
100
  }, [request, channel]);
96
101
 
97
- // 确定实际显示的Tab
102
+ // 第一步:根据 visibleTabs 初步筛选可见 Tab
103
+ var filteredTabsByVisibleTabs = useMemo(function () {
104
+ if (visibleTabs && visibleTabs.length > 0) {
105
+ return allTabs.filter(function (tab) {
106
+ return visibleTabs.includes(tab);
107
+ });
108
+ }
109
+ return allTabs;
110
+ }, [visibleTabs]);
111
+
112
+ // 第二步:叠加渠道业务规则,得到最终显示的 Tab
98
113
  var displayTabs = useMemo(function () {
99
114
  if (channel === 'management') {
100
- return ['pageSetting'];
115
+ // management 渠道仅展示页面设置;若被上层过滤掉则降级到第一个可见 Tab
116
+ if (filteredTabsByVisibleTabs.includes('pageSetting')) {
117
+ return ['pageSetting'];
118
+ }
119
+ return [];
101
120
  }
102
- return allTabs;
103
- }, [channel]);
121
+ return filteredTabsByVisibleTabs;
122
+ }, [channel, filteredTabsByVisibleTabs]);
104
123
 
105
124
  // 确定初始激活的Tab
106
125
  var initialActiveTab = useMemo(function () {
@@ -42,7 +42,7 @@ var ChannelAuthSetting = function ChannelAuthSetting(_ref) {
42
42
  console.log('ChannelAuthSetting', params);
43
43
 
44
44
  // 所有可用的Tab
45
- var allTabs = ['pageSetting'];
45
+ var allTabs = ['pageSetting', 'authenticationMethods', 'collectInfo'];
46
46
 
47
47
  // 确定实际显示的Tab
48
48
  var displayTabs = useMemo(function () {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface TabProductProps {
3
4
  list: any[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
3
4
  export default ProductItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const SelectProductItem: ({ item, onClick, onChangeQuantity, amountSymbol, style, className, disabled, }: any) => JSX.Element;
3
4
  export default SelectProductItem;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare const renderBundles: (item: any, amountSymbol: string) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * @title: 空状态
3
4
  * @description:
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const FooterMenus: ({ state, menuChange, items }: any) => JSX.Element | null;
3
4
  export default FooterMenus;
@@ -0,0 +1,47 @@
1
+ /**
2
+ * @title: 套餐单规格信息
3
+ * @description:
4
+ * @param {any} option
5
+ * @return {*}
6
+ * @Author: zhiwei.Wang
7
+ * @Date: 2024-02-19 09:26
8
+ */
9
+ export declare const formatProductOption: (option: any) => any;
10
+ /**
11
+ * @title: 套餐信息
12
+ * @description:
13
+ * @param {any} bundle
14
+ * @return {*}
15
+ * @Author: zhiwei.Wang
16
+ * @Date: 2024-02-19 09:26
17
+ */
18
+ export declare const formatProductBundle: (bundle: any) => any;
19
+ /**
20
+ * 获取子商品折扣信息
21
+ * @param item
22
+ */
23
+ export declare const getBundleDiscountList: (bundle: any[]) => any[];
24
+ export interface ResourceItem {
25
+ [key: string]: any;
26
+ }
27
+ /**
28
+ * @title: 传入资源,如果有子资源,会根据组合资源的 capacity 计算修改子资源的 capacity
29
+ * @description:
30
+ * @param {object} resource
31
+ * @return {*}
32
+ * @Author: jinglin.tan
33
+ */
34
+ export declare const checkSubResourcesCapacity: (resource: ResourceItem) => void;
35
+ export declare const checkResourcesFormat: (resources: any[], service: any, isChild?: boolean) => any[];
36
+ /**
37
+ * @title: 格式化商品单价
38
+ * @description:
39
+ * @param {any} item
40
+ * @return {*}
41
+ * @Author: WangHan
42
+ * @Date: 2024-12-23 12:05
43
+ */
44
+ export declare const formatProductPrice: (item: any) => number;
45
+ export declare const getMainProductSellingPrice: (item: any) => number | undefined;
46
+ export declare const formatValues: (state: any) => any;
47
+ export declare const checkHolderIsError: (state: any) => any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const FormItemChildrenWrap: (props: any) => JSX.Element;
2
3
  export default FormItemChildrenWrap;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import './index.less';
3
+ interface IProps {
4
+ modal: any;
5
+ onReload: () => Promise<any>;
6
+ onCancel: () => void;
7
+ }
8
+ declare const ReloadResourceModal: ({ modal, onReload, onCancel }: IProps) => JSX.Element;
9
+ export default ReloadResourceModal;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const VoucherCard: (props: any) => JSX.Element | null;
3
+ export default VoucherCard;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  /**
3
4
  * @title: 表单选择器
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const Table: ({ value, onChange, field, mode, onAdd }: any) => JSX.Element;
3
4
  export default Table;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FormState } from '../../../model';
2
3
  interface useClientFnParams {
3
4
  state: any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const useIsLowSpeedNetwork: () => import("react").MutableRefObject<boolean>;
2
3
  export default useIsLowSpeedNetwork;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  export declare const updateServiceDate: (services: any[], date: any, isTime: boolean) => any[];
3
4
  declare const DateCom: () => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Notes: () => JSX.Element | null;
2
3
  export default Notes;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const Actions: ({ currentService }: {
3
4
  currentService: any;
@@ -0,0 +1 @@
1
+ export declare const getIsPartyRoomResourceShop: (id: number) => boolean;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface EditServiceRef {
4
+ init: (cacheItem?: any, open?: boolean, openEditProduct?: boolean) => void;
5
+ }
6
+ declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
7
+ export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const Like: ({ status, onChange, className, style, }: {
3
4
  style?: any;