@pisell/private-materials 6.3.143 → 6.3.145

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 (343) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +145 -153
  7. package/build/lowcode/render/default/view.js +10 -10
  8. package/build/lowcode/view.js +10 -10
  9. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  10. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  11. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  12. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  13. package/es/components/appointmentBooking/components/Form/index.d.ts +4 -0
  14. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  15. package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
  16. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  17. package/es/components/appointmentBooking/hooks.d.ts +107 -0
  18. package/es/components/appointmentBooking/utils.d.ts +227 -0
  19. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  20. package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  21. package/es/components/booking/components/footer/utils.d.ts +47 -0
  22. package/es/components/booking/components/reloadResourceModal/index.d.ts +9 -0
  23. package/es/components/booking/components/voucher/index.d.ts +3 -0
  24. package/es/components/booking/forms/footer.d.ts +0 -1
  25. package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  26. package/es/components/booking/hooks/useClearCart.d.ts +0 -1
  27. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  28. package/es/components/booking/info/service/editService/constants.d.ts +1 -0
  29. package/es/components/booking/info/service/editService/index.d.ts +7 -0
  30. package/es/components/booking/info/service2/utils.d.ts +248 -0
  31. package/es/components/booking/info2/index.d.ts +12 -0
  32. package/es/components/booking/info2/service/addService/index.d.ts +11 -0
  33. package/es/components/booking/locales.d.ts +1489 -0
  34. package/es/components/booking/model.d.ts +120 -0
  35. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  36. package/es/components/ecocup/components/AddCustomerModal/index.d.ts +0 -1
  37. package/es/components/ecocup/components/CupActionList/index.d.ts +0 -1
  38. package/es/components/ecocup/components/CupActionModal/index.d.ts +0 -1
  39. package/es/components/ecocup/components/CupInfoCard/index.d.ts +0 -1
  40. package/es/components/ecocup/components/CupStatusModal/index.d.ts +0 -1
  41. package/es/components/ecocup/components/CustomerAndCupModal/index.d.ts +0 -1
  42. package/es/components/ecocup/components/CustomerCard/index.d.ts +0 -1
  43. package/es/components/ecocup/components/MoreDropdown/index.d.ts +0 -1
  44. package/es/components/ecocup/components/SearchBar/index.d.ts +0 -1
  45. package/es/components/ecocup/components/SettingModal/index.d.ts +0 -1
  46. package/es/components/ecocup/cupList/hooks/useColumns.d.ts +0 -1
  47. package/es/components/ecocup/cupList/hooks/useSummary.d.ts +0 -1
  48. package/es/components/ecocup/cupList/index.d.ts +0 -1
  49. package/es/components/eftpos/hooks.d.ts +1 -0
  50. package/es/components/eftpos/index.d.ts +1 -0
  51. package/es/components/eftposPay/amount.d.ts +20 -0
  52. package/es/components/eftposPay/app.d.ts +10 -0
  53. package/es/components/eftposPay/component/fail/failCustom.d.ts +3 -0
  54. package/es/components/eftposPay/component/fail/index.d.ts +3 -0
  55. package/es/components/eftposPay/component/fail/network.d.ts +8 -0
  56. package/es/components/eftposPay/component/fail/unknow.d.ts +9 -0
  57. package/es/components/eftposPay/component/manual/index.d.ts +9 -0
  58. package/es/components/eftposPay/component/signature/index.d.ts +8 -0
  59. package/es/components/eftposPay/device.d.ts +23 -0
  60. package/es/components/eftposPay/index.d.ts +4 -0
  61. package/es/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
  62. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  63. package/es/components/eftposPay/linkly/index.d.ts +2 -0
  64. package/es/components/eftposPay/pay.d.ts +20 -0
  65. package/es/components/eftposPay/payo/config.d.ts +12 -0
  66. package/es/components/eftposPay/payo/hooks.d.ts +10 -0
  67. package/es/components/eftposPay/payo/payment.d.ts +66 -0
  68. package/es/components/eftposPay/tip.d.ts +9 -0
  69. package/es/components/eftposPay/tyro/index.d.ts +9 -0
  70. package/es/components/eftposPay/utils/payLog.d.ts +81 -0
  71. package/es/components/eftposPay/windcave/receiptAction.d.ts +22 -0
  72. package/es/components/eftposPay/windcave/windcave.d.ts +6 -0
  73. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  74. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  75. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  76. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  77. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  78. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  79. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  80. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  81. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  82. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  83. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  84. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  85. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  86. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  87. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  88. package/es/components/kioskSkuDetail/index.d.ts +39 -0
  89. package/es/components/kioskSkuDetail/locales.d.ts +48 -0
  90. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
  91. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
  92. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
  93. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +16 -0
  94. package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +15 -0
  95. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +83 -0
  96. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  97. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
  98. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
  99. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +22 -0
  100. package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
  101. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +16 -0
  102. package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
  103. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  104. package/es/components/pay/toC/index.d.ts +3 -0
  105. package/es/components/pay/toC/locales.d.ts +631 -0
  106. package/es/components/pay/toC/payGroup.d.ts +59 -0
  107. package/es/components/pay/toC/serve.d.ts +87 -0
  108. package/es/components/pay/toC/utils.d.ts +65 -0
  109. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  110. package/es/components/ruleSetting/locales.d.ts +78 -0
  111. package/es/components/scanOrder/components/Cart/index.d.ts +16 -0
  112. package/es/components/scanOrder/components/Footer/index.d.ts +12 -0
  113. package/es/components/scanOrder/components/Menu/index.d.ts +18 -0
  114. package/es/components/scanOrder/context.d.ts +4 -0
  115. package/es/components/scanOrder/context.js +16 -8
  116. package/es/components/scanOrder/types.d.ts +79 -0
  117. package/es/components/scanOrder/utils/toShoppingCartProducts.d.ts +21 -0
  118. package/es/components/scanOrder/utils/transformProductDetail.d.ts +59 -0
  119. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  120. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  121. package/es/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
  122. package/es/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  123. package/es/components/systemSettings/registry/index.d.ts +5 -0
  124. package/es/components/systemSettings/registry/services.d.ts +99 -0
  125. package/es/components/systemSettings/registry/types.d.ts +143 -0
  126. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
  127. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
  128. package/es/components/ticketBooking/components/timeBar/index.d.ts +12 -0
  129. package/es/components/ticketBooking/index.d.ts +7 -0
  130. package/es/components/venueBooking/components/Addons/index.d.ts +3 -0
  131. package/es/components/venueBooking/components/Cart/index.d.ts +28 -0
  132. package/es/components/venueBooking/components/Checkout/index.d.ts +2 -0
  133. package/es/components/venueBooking/components/Footer/index.d.ts +3 -0
  134. package/es/components/venueBooking/components/Header/index.d.ts +2 -0
  135. package/es/components/venueBooking/components/VenueSelection/components/TimeGrid.d.ts +2 -0
  136. package/es/components/venueBooking/context.d.ts +9 -0
  137. package/es/components/venueBooking/hooks.d.ts +72 -0
  138. package/es/components/venueBooking/index.d.ts +6 -0
  139. package/es/components/venueBooking/locales.d.ts +627 -0
  140. package/es/components/venueBooking/types.d.ts +204 -0
  141. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  142. package/es/index.d.ts +87 -0
  143. package/es/plus/orderList/components/HandleActions.d.ts +0 -1
  144. package/es/plus/orderList/components/QuickFilter.d.ts +0 -1
  145. package/es/plus/orderList/components/Reset.d.ts +0 -1
  146. package/es/plus/orderList/components/Toolbar.d.ts +0 -1
  147. package/es/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +0 -1
  148. package/es/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +0 -1
  149. package/es/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +0 -1
  150. package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +0 -1
  151. package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  152. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
  153. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
  154. package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +3 -0
  155. package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
  156. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +15 -0
  157. package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +0 -1
  158. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
  159. package/es/plus/skuOptionsSelection/index.d.ts +5 -0
  160. package/es/plus/skuOptionsSelection/locales.d.ts +58 -0
  161. package/es/plus/skuOptionsSelection/types.d.ts +458 -0
  162. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  163. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  164. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  165. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  166. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  167. package/es/plus/walletPassGallery/components/passDetail/index.js +8 -1
  168. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
  169. package/es/plus/walletPassGallery/locales.d.ts +5 -0
  170. package/es/plus/walletPassGallery/locales.js +14 -5
  171. package/es/pro/Cards/components/SKUCard/index.d.ts +5 -0
  172. package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  173. package/es/pro/Selector/demo.d.ts +0 -1
  174. package/es/pro/pisellPaymentList/example.d.ts +1 -0
  175. package/es/pro/pisellPhoneKeyboard/index.d.ts +0 -1
  176. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  177. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  178. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  179. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  180. package/lib/components/appointmentBooking/components/Form/index.d.ts +4 -0
  181. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  182. package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
  183. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  184. package/lib/components/appointmentBooking/hooks.d.ts +107 -0
  185. package/lib/components/appointmentBooking/utils.d.ts +227 -0
  186. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  187. package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  188. package/lib/components/booking/components/footer/utils.d.ts +47 -0
  189. package/lib/components/booking/components/reloadResourceModal/index.d.ts +9 -0
  190. package/lib/components/booking/components/voucher/index.d.ts +3 -0
  191. package/lib/components/booking/forms/footer.d.ts +0 -1
  192. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  193. package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
  194. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  195. package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
  196. package/lib/components/booking/info/service/editService/index.d.ts +7 -0
  197. package/lib/components/booking/info/service2/utils.d.ts +248 -0
  198. package/lib/components/booking/info2/index.d.ts +12 -0
  199. package/lib/components/booking/info2/service/addService/index.d.ts +11 -0
  200. package/lib/components/booking/locales.d.ts +1489 -0
  201. package/lib/components/booking/model.d.ts +120 -0
  202. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  203. package/lib/components/ecocup/components/AddCustomerModal/index.d.ts +0 -1
  204. package/lib/components/ecocup/components/CupActionList/index.d.ts +0 -1
  205. package/lib/components/ecocup/components/CupActionModal/index.d.ts +0 -1
  206. package/lib/components/ecocup/components/CupInfoCard/index.d.ts +0 -1
  207. package/lib/components/ecocup/components/CupStatusModal/index.d.ts +0 -1
  208. package/lib/components/ecocup/components/CustomerAndCupModal/index.d.ts +0 -1
  209. package/lib/components/ecocup/components/CustomerCard/index.d.ts +0 -1
  210. package/lib/components/ecocup/components/MoreDropdown/index.d.ts +0 -1
  211. package/lib/components/ecocup/components/SearchBar/index.d.ts +0 -1
  212. package/lib/components/ecocup/components/SettingModal/index.d.ts +0 -1
  213. package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +0 -1
  214. package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +0 -1
  215. package/lib/components/ecocup/cupList/index.d.ts +0 -1
  216. package/lib/components/eftpos/hooks.d.ts +1 -0
  217. package/lib/components/eftpos/index.d.ts +1 -0
  218. package/lib/components/eftposPay/amount.d.ts +20 -0
  219. package/lib/components/eftposPay/app.d.ts +10 -0
  220. package/lib/components/eftposPay/component/fail/failCustom.d.ts +3 -0
  221. package/lib/components/eftposPay/component/fail/index.d.ts +3 -0
  222. package/lib/components/eftposPay/component/fail/network.d.ts +8 -0
  223. package/lib/components/eftposPay/component/fail/unknow.d.ts +9 -0
  224. package/lib/components/eftposPay/component/manual/index.d.ts +9 -0
  225. package/lib/components/eftposPay/component/signature/index.d.ts +8 -0
  226. package/lib/components/eftposPay/device.d.ts +23 -0
  227. package/lib/components/eftposPay/index.d.ts +4 -0
  228. package/lib/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
  229. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  230. package/lib/components/eftposPay/linkly/index.d.ts +2 -0
  231. package/lib/components/eftposPay/pay.d.ts +20 -0
  232. package/lib/components/eftposPay/payo/config.d.ts +12 -0
  233. package/lib/components/eftposPay/payo/hooks.d.ts +10 -0
  234. package/lib/components/eftposPay/payo/payment.d.ts +66 -0
  235. package/lib/components/eftposPay/tip.d.ts +9 -0
  236. package/lib/components/eftposPay/tyro/index.d.ts +9 -0
  237. package/lib/components/eftposPay/utils/payLog.d.ts +81 -0
  238. package/lib/components/eftposPay/windcave/receiptAction.d.ts +22 -0
  239. package/lib/components/eftposPay/windcave/windcave.d.ts +6 -0
  240. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  241. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  242. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  243. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  244. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  245. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  246. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  247. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  248. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  249. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  250. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  251. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  252. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  253. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  254. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  255. package/lib/components/kioskSkuDetail/index.d.ts +39 -0
  256. package/lib/components/kioskSkuDetail/locales.d.ts +48 -0
  257. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
  258. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
  259. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
  260. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +16 -0
  261. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +15 -0
  262. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +83 -0
  263. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  264. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
  265. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
  266. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +22 -0
  267. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
  268. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +16 -0
  269. package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
  270. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  271. package/lib/components/pay/toC/index.d.ts +3 -0
  272. package/lib/components/pay/toC/locales.d.ts +631 -0
  273. package/lib/components/pay/toC/payGroup.d.ts +59 -0
  274. package/lib/components/pay/toC/serve.d.ts +87 -0
  275. package/lib/components/pay/toC/utils.d.ts +65 -0
  276. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  277. package/lib/components/ruleSetting/locales.d.ts +78 -0
  278. package/lib/components/scanOrder/components/Cart/index.d.ts +16 -0
  279. package/lib/components/scanOrder/components/Footer/index.d.ts +12 -0
  280. package/lib/components/scanOrder/components/Menu/index.d.ts +18 -0
  281. package/lib/components/scanOrder/context.d.ts +4 -0
  282. package/lib/components/scanOrder/context.js +6 -0
  283. package/lib/components/scanOrder/types.d.ts +79 -0
  284. package/lib/components/scanOrder/utils/toShoppingCartProducts.d.ts +21 -0
  285. package/lib/components/scanOrder/utils/transformProductDetail.d.ts +59 -0
  286. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  287. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  288. package/lib/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
  289. package/lib/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  290. package/lib/components/systemSettings/registry/index.d.ts +5 -0
  291. package/lib/components/systemSettings/registry/services.d.ts +99 -0
  292. package/lib/components/systemSettings/registry/types.d.ts +143 -0
  293. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
  294. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
  295. package/lib/components/ticketBooking/components/timeBar/index.d.ts +12 -0
  296. package/lib/components/ticketBooking/index.d.ts +7 -0
  297. package/lib/components/venueBooking/components/Addons/index.d.ts +3 -0
  298. package/lib/components/venueBooking/components/Cart/index.d.ts +28 -0
  299. package/lib/components/venueBooking/components/Checkout/index.d.ts +2 -0
  300. package/lib/components/venueBooking/components/Footer/index.d.ts +3 -0
  301. package/lib/components/venueBooking/components/Header/index.d.ts +2 -0
  302. package/lib/components/venueBooking/components/VenueSelection/components/TimeGrid.d.ts +2 -0
  303. package/lib/components/venueBooking/context.d.ts +9 -0
  304. package/lib/components/venueBooking/hooks.d.ts +72 -0
  305. package/lib/components/venueBooking/index.d.ts +6 -0
  306. package/lib/components/venueBooking/locales.d.ts +627 -0
  307. package/lib/components/venueBooking/types.d.ts +204 -0
  308. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  309. package/lib/index.d.ts +87 -0
  310. package/lib/plus/orderList/components/HandleActions.d.ts +0 -1
  311. package/lib/plus/orderList/components/QuickFilter.d.ts +0 -1
  312. package/lib/plus/orderList/components/Reset.d.ts +0 -1
  313. package/lib/plus/orderList/components/Toolbar.d.ts +0 -1
  314. package/lib/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +0 -1
  315. package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +0 -1
  316. package/lib/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +0 -1
  317. package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +0 -1
  318. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  319. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
  320. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
  321. package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +3 -0
  322. package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
  323. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +15 -0
  324. package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +0 -1
  325. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
  326. package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
  327. package/lib/plus/skuOptionsSelection/locales.d.ts +58 -0
  328. package/lib/plus/skuOptionsSelection/types.d.ts +458 -0
  329. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  330. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  331. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  332. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  333. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  334. package/lib/plus/walletPassGallery/components/passDetail/index.js +4 -0
  335. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
  336. package/lib/plus/walletPassGallery/locales.d.ts +5 -0
  337. package/lib/plus/walletPassGallery/locales.js +14 -5
  338. package/lib/pro/Cards/components/SKUCard/index.d.ts +5 -0
  339. package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  340. package/lib/pro/Selector/demo.d.ts +0 -1
  341. package/lib/pro/pisellPaymentList/example.d.ts +1 -0
  342. package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -1
  343. package/package.json +1 -1
@@ -0,0 +1,143 @@
1
+ import { CSSProperties } from 'react';
2
+ export interface MultiLanguageText {
3
+ en: string;
4
+ 'zh-CN': string;
5
+ 'zh-HK': string;
6
+ 'ja': string;
7
+ 'pt': string;
8
+ original: string;
9
+ }
10
+ export interface BaseItem {
11
+ id: number;
12
+ name: string | MultiLanguageText;
13
+ code: string;
14
+ order?: number;
15
+ }
16
+ export interface SettingItem extends BaseItem {
17
+ key?: string;
18
+ scopes?: string[];
19
+ groupId?: number;
20
+ group_id?: number;
21
+ fieldType?: string;
22
+ type?: string;
23
+ interfaceType?: string;
24
+ interface?: string;
25
+ description?: string | MultiLanguageText;
26
+ systemDefaultValue?: string;
27
+ default?: string;
28
+ schema?: any;
29
+ title?: string | MultiLanguageText;
30
+ sort: number;
31
+ created_at?: string | null;
32
+ updated_at?: string | null;
33
+ deleted_at?: string | null;
34
+ }
35
+ export interface SettingGroup extends BaseItem {
36
+ items: SettingItem[];
37
+ expanded?: boolean;
38
+ sort: number;
39
+ description?: MultiLanguageText;
40
+ title?: MultiLanguageText;
41
+ }
42
+ export interface Section extends BaseItem {
43
+ icon?: string;
44
+ description?: string | MultiLanguageText;
45
+ groups: SettingGroup[];
46
+ created_at?: string | null;
47
+ updated_at?: string | null;
48
+ deleted_at?: string | null;
49
+ }
50
+ export interface TreeNode {
51
+ key: string;
52
+ type: 'group' | 'item';
53
+ data: SettingGroup | SettingItem;
54
+ children?: TreeNode[];
55
+ parentKey?: string;
56
+ }
57
+ export declare type OperationType = 'add' | 'edit' | 'delete';
58
+ export interface DragItem {
59
+ id: number;
60
+ type: 'group' | 'item';
61
+ groupId?: number;
62
+ }
63
+ export interface RegistryProps {
64
+ className?: string;
65
+ style?: CSSProperties;
66
+ sections?: Section[];
67
+ selectedSectionId?: number;
68
+ onSectionSelect?: (sectionId: number) => void;
69
+ onDataChange?: (sections: Section[]) => void;
70
+ }
71
+ export interface SectionListProps {
72
+ sections: Section[];
73
+ selectedSectionId?: number;
74
+ onSectionSelect: (sectionId: number) => void;
75
+ loading?: boolean;
76
+ hasMore?: boolean;
77
+ onLoadMore?: () => void;
78
+ }
79
+ export interface SettingsTableProps {
80
+ section?: Section;
81
+ groupList?: SettingGroup[];
82
+ groupLoading?: boolean;
83
+ onDataChange?: (section: Section) => void;
84
+ onEditGroup?: (group: SettingGroup) => void;
85
+ onDeleteGroup?: (groupId: number) => void;
86
+ onAddItem?: (groupId: number) => void;
87
+ onEditItem?: (item: SettingItem) => void;
88
+ onDeleteItem?: (itemId: number) => void;
89
+ onGroupReorder?: (groupIds: number[]) => void;
90
+ onItemMove?: (itemId: number, targetGroupId: number, newOrder: number) => void;
91
+ }
92
+ export interface GroupFormData {
93
+ title: MultiLanguageText;
94
+ code: string;
95
+ description?: MultiLanguageText;
96
+ }
97
+ export interface ItemFormData {
98
+ name: MultiLanguageText;
99
+ key: string;
100
+ fieldType: string;
101
+ interfaceType?: string;
102
+ scopes: string[];
103
+ description?: MultiLanguageText;
104
+ default?: string | null;
105
+ schema?: Record<string, any>;
106
+ xDataSource?: {
107
+ type?: string;
108
+ options?: Array<{
109
+ id?: string;
110
+ label: string | MultiLanguageText;
111
+ value: string;
112
+ color?: string;
113
+ }>;
114
+ dataSource?: Record<string, any>;
115
+ extraParams?: string;
116
+ };
117
+ xCustomUiSchema?: string;
118
+ xRecordSchema?: string;
119
+ }
120
+ export interface GroupModalProps {
121
+ open: boolean;
122
+ type: OperationType;
123
+ data?: SettingGroup;
124
+ onOk: (data: GroupFormData) => void | Promise<void>;
125
+ onCancel: () => void;
126
+ }
127
+ export interface ItemModalProps {
128
+ open: boolean;
129
+ type: OperationType;
130
+ data?: SettingItem;
131
+ section?: Section;
132
+ onOk: (data: ItemFormData) => void | Promise<void>;
133
+ onCancel: () => void;
134
+ }
135
+ export interface ApiResponse<T> {
136
+ data: T[];
137
+ meta: {
138
+ count: number;
139
+ page: number;
140
+ pageSize: number;
141
+ totalPage: number;
142
+ };
143
+ }
@@ -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;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import './index.less';
3
+ export default function Addons(): JSX.Element;
@@ -0,0 +1,28 @@
1
+ /**
2
+ * venueBooking 购物车组件
3
+ * 参照 scanOrder/Cart 实现,使用系统内置 ShoppingCart + SubTotal 组件
4
+ * 支持两种模式:embedded(桌面端内嵌)和 drawer(移动端抽屉弹出)
5
+ */
6
+ import React from 'react';
7
+ import './index.less';
8
+ /** Cart 组件 Props,与 scanOrder/Cart 对齐 */
9
+ interface CartProps {
10
+ /** 是否打开(drawer 模式生效) */
11
+ open: boolean;
12
+ /** 关闭回调(drawer 模式) */
13
+ onCancel: () => void;
14
+ /** 确认/下一步回调 */
15
+ onNext: () => void;
16
+ /** 购物车商品列表(从 OS 模块获取后由 toShoppingCartProducts 转换) */
17
+ items: any[];
18
+ /** 金额汇总(从 OS 模块 getSummary 获取) */
19
+ summary: Record<string, any>;
20
+ /** 是否内嵌模式(桌面端侧边栏使用) */
21
+ embedded?: boolean;
22
+ /** 确认按钮 loading 状态 */
23
+ confirmLoading?: boolean;
24
+ /** 购物车底部额外内容插槽 */
25
+ extraContent?: React.ReactNode;
26
+ }
27
+ export default function Cart(props: CartProps): JSX.Element | null;
28
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export default function Checkout(): JSX.Element;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import './index.less';
3
+ export default function Footer(): JSX.Element;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export default function Header(): JSX.Element;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export default function TimeGrid(): JSX.Element;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import type { VenueBookingContextValue, VenueBookingProviderProps } from './types';
3
+ /**
4
+ * VenueBookingProvider -- 场地预订全局 Context
5
+ * 管理步骤导航、场地选择状态、OS 模块集成
6
+ */
7
+ export declare function VenueBookingProvider({ entryContext, children }: VenueBookingProviderProps): JSX.Element;
8
+ /** 消费 venueBooking Context 的 hook */
9
+ export declare function useVenueBookingContext(): VenueBookingContextValue;
@@ -0,0 +1,72 @@
1
+ import type { VenueBookingProps, VenueBookingEntryContext, VenueBookingViewModel, VenueTimeSlotGrid, VenueDateSummaryItem } from './types';
2
+ /** 步骤定义常量 */
3
+ export declare const VENUE_BOOKING_STEPS: readonly ["select-venue", "addons", "checkout"];
4
+ /** 写死的场地商品 ID(后续改为从配置读取) */
5
+ export declare const VENUE_PRODUCT_IDS: number[];
6
+ /**
7
+ * 获取 PisellOS venueBooking 业务模块
8
+ * 使用 useRef 稳定模块引用,防止 getModule 返回值每次渲染变化时触发 bootstrap useEffect 重跑
9
+ */
10
+ export declare function useVenueBookingModule(): any;
11
+ /** 统一获取货币前缀(优先引擎配置,兜底 '$') */
12
+ export declare function useVenueBookingSymbol(): string;
13
+ /** 获取引擎上下文中的 utils 工具集(action / token 等) */
14
+ export declare function contextUtils(): any;
15
+ /** 从 engine props 提取标准化的入口上下文 */
16
+ export declare function normalizeEntryContext(props: VenueBookingProps): VenueBookingEntryContext;
17
+ /**
18
+ * 安全调用模块异步方法
19
+ * 检查模块和方法是否存在,不存在时抛出友好错误
20
+ */
21
+ export declare function safeRunModuleAction(module: any, actionName: string, ...args: any[]): Promise<any>;
22
+ /** 加载场地商品(初始化时调用一次) */
23
+ export declare function loadVenueProducts(module: any, productIds: number[]): Promise<any>;
24
+ /** 拉取资源可用性数据(按日期范围,翻周时调用) */
25
+ export declare function fetchResourceAvailability(module: any, startDate: string, endDate: string): Promise<any>;
26
+ /** 获取日期概览(纯计算不发请求,fetchResourceAvailability 后调用) */
27
+ export declare function getDateRangeSummary(module: any, startDate: string, endDate: string): VenueDateSummaryItem[];
28
+ /** 获取某天的时段网格(纯计算不发请求,切换日期时调用) */
29
+ export declare function getTimeSlotGrid(module: any, date: string): VenueTimeSlotGrid | null;
30
+ /** 切换选中/取消一个时段(同一资源下多商品场景必须携带 productId) */
31
+ export declare function toggleSlotAction(module: any, params: {
32
+ resourceId: number;
33
+ productId: number;
34
+ startTime: string;
35
+ endTime: string;
36
+ price: string;
37
+ }): Promise<any>;
38
+ /**
39
+ * 查询某个时段是否已被选中
40
+ * 不传 productId 时:该资源下任一商品选中即 true;传了则精确匹配
41
+ */
42
+ export declare function isSlotSelected(module: any, resourceId: number, startTime: string, productId?: number): boolean;
43
+ /**
44
+ * 询问 OS:该 (resourceId, productId, startTime) 格子是否因其它已选项而应禁用
45
+ * 覆盖:同场地多商品互斥、组合资源 ↔ 子资源联动
46
+ */
47
+ export declare function isSlotDisabledBySelection(module: any, params: {
48
+ resourceId: number;
49
+ productId: number;
50
+ startTime: string;
51
+ }): boolean;
52
+ /** 获取全部已选时段(按资源分组) */
53
+ export declare function getAllSelectedSlots(module: any): any[];
54
+ /** 查询 otherParams */
55
+ export declare function getOtherParams(module: any): any;
56
+ /**
57
+ * 获取所有“已选时段”对应的日期 key(YYYY-MM-DD)
58
+ * 兼容 venueBooking 模块返回 Map 或数组结构
59
+ */
60
+ export declare function getSelectedDateKeySet(module: any): Set<string>;
61
+ /**
62
+ * 从 OS 模块快照构建 ViewModel(购物车部分)
63
+ * 购物车数据使用 toShoppingCartProducts 转换为 ShoppingCart 组件所需格式
64
+ */
65
+ export declare function createVenueBookingViewModel(module: any): Partial<VenueBookingViewModel>;
66
+ /** 登录状态 hook(检查 token + 弹出登录弹窗) */
67
+ export declare function useVenueBookingLogin(): {
68
+ isLogin: boolean;
69
+ openLoginModal: (params: {
70
+ callback: any;
71
+ }) => void;
72
+ };
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import type { VenueBookingProps } from './types';
3
+ /** 场地预订主组件 */
4
+ declare function VenueBooking(props: VenueBookingProps): JSX.Element;
5
+ export type { VenueBookingProps } from './types';
6
+ export default VenueBooking;