@pisell/private-materials 6.3.149 → 6.3.150

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 (567) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/businessModel/SalesModel/index.d.ts +1 -0
  8. package/es/components/Sales/Summary/utils.d.ts +58 -0
  9. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  10. package/es/components/appointmentBooking/components/Date/index.d.ts +4 -0
  11. package/es/components/appointmentBooking/components/Footer/index.d.ts +3 -0
  12. package/es/components/appointmentBooking/components/Form/index.d.ts +4 -0
  13. package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
  14. package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
  15. package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +1 -0
  16. package/es/components/appointmentBooking/context.d.ts +35 -0
  17. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  18. package/es/components/appointmentBooking/hooks.d.ts +107 -0
  19. package/es/components/appointmentBooking/hooks.js +27 -20
  20. package/es/components/appointmentBooking/index.d.ts +1 -0
  21. package/es/components/appointmentBooking/locales.d.ts +606 -0
  22. package/es/components/appointmentBooking/utils.d.ts +227 -0
  23. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  24. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  25. package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  26. package/es/components/booking/addons/model.d.ts +1 -10
  27. package/es/components/booking/components/footer/amount.d.ts +25 -0
  28. package/es/components/booking/components/footer/index.d.ts +0 -1
  29. package/es/components/booking/components/footer/utils.d.ts +47 -0
  30. package/es/components/booking/components/reloadResourceModal/index.d.ts +8 -0
  31. package/es/components/booking/components/tabPane/index.d.ts +4 -0
  32. package/es/components/booking/components/voucher/index.d.ts +3 -0
  33. package/es/components/booking/components/voucher/utils.d.ts +4 -0
  34. package/es/components/booking/dashboard/serve.d.ts +1 -0
  35. package/es/components/booking/deposit/ClientItem/index.d.ts +18 -0
  36. package/es/components/booking/deposit/DepositItem/index.d.ts +26 -0
  37. package/es/components/booking/deposit/index.d.ts +3 -0
  38. package/es/components/booking/editBookingModal/utils.d.ts +12 -0
  39. package/es/components/booking/forms/forms.d.ts +30 -0
  40. package/es/components/booking/forms/model.d.ts +1 -10
  41. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  42. package/es/components/booking/forms/serve.d.ts +18 -0
  43. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  44. package/es/components/booking/info/addServiceVariant/index.d.ts +7 -0
  45. package/es/components/booking/info/client/index.d.ts +4 -0
  46. package/es/components/booking/info/client/serve.d.ts +2 -0
  47. package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
  48. package/es/components/booking/info/header/index.d.ts +3 -0
  49. package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  50. package/es/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
  51. package/es/components/booking/info/model.d.ts +5 -0
  52. package/es/components/booking/info/notes/index.d.ts +1 -0
  53. package/es/components/booking/info/pet/serve.d.ts +1 -0
  54. package/es/components/booking/info/service/Lists.d.ts +1 -0
  55. package/es/components/booking/info/service/addService/index.d.ts +1 -0
  56. package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  57. package/es/components/booking/info/service/addTimeModal/utils.d.ts +31 -0
  58. package/es/components/booking/info/service/editService/constants.d.ts +1 -0
  59. package/es/components/booking/info/service/editService/index.d.ts +7 -0
  60. package/es/components/booking/info/service/serve.d.ts +20 -0
  61. package/es/components/booking/info/service/serviceList/index.d.ts +6 -0
  62. package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
  63. package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
  64. package/es/components/booking/info/service2/Group/utils.d.ts +14 -0
  65. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  66. package/es/components/booking/info/service2/utils.d.ts +248 -0
  67. package/es/components/booking/info/utils.d.ts +50 -0
  68. package/es/components/booking/info2/serve.d.ts +6 -0
  69. package/es/components/booking/info2/service/addService/index.d.ts +11 -0
  70. package/es/components/booking/info2/service/addService/utils.d.ts +98 -0
  71. package/es/components/booking/info2/service/editService/utils.d.ts +28 -0
  72. package/es/components/booking/info2/service/serviceList/index.d.ts +6 -0
  73. package/es/components/booking/info2/utilsByBooking.d.ts +35 -0
  74. package/es/components/booking/locales.d.ts +1489 -0
  75. package/es/components/booking/model.d.ts +112 -0
  76. package/es/components/booking/notes/addNote/index.d.ts +4 -0
  77. package/es/components/booking/notes/model.d.ts +1 -10
  78. package/es/components/booking/payments/model.d.ts +1 -10
  79. package/es/components/booking/utils.d.ts +175 -0
  80. package/es/components/ecocup/utils/download.d.ts +7 -0
  81. package/es/components/ecocup/utils/index.d.ts +2 -0
  82. package/es/components/eftpos/const.d.ts +64 -0
  83. package/es/components/eftpos/device.d.ts +9 -0
  84. package/es/components/eftpos/hooks.d.ts +34 -0
  85. package/es/components/eftpos/index.d.ts +47 -0
  86. package/es/components/eftpos/locales.d.ts +163 -0
  87. package/es/components/eftpos/surcharge/index.d.ts +1 -0
  88. package/es/components/eftpos/table.d.ts +21 -0
  89. package/es/components/eftposPay/amount.d.ts +21 -0
  90. package/es/components/eftposPay/app.d.ts +11 -0
  91. package/es/components/eftposPay/component/fail/failCustom.d.ts +4 -0
  92. package/es/components/eftposPay/component/fail/index.d.ts +3 -0
  93. package/es/components/eftposPay/component/fail/network.d.ts +9 -0
  94. package/es/components/eftposPay/component/fail/unknow.d.ts +10 -0
  95. package/es/components/eftposPay/component/manual/index.d.ts +10 -0
  96. package/es/components/eftposPay/component/signature/index.d.ts +9 -0
  97. package/es/components/eftposPay/const.d.ts +186 -0
  98. package/es/components/eftposPay/device.d.ts +24 -0
  99. package/es/components/eftposPay/hooks.d.ts +36 -0
  100. package/es/components/eftposPay/index.d.ts +5 -0
  101. package/es/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
  102. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  103. package/es/components/eftposPay/linkly/index.d.ts +3 -0
  104. package/es/components/eftposPay/locales.d.ts +572 -0
  105. package/es/components/eftposPay/manufacturer.d.ts +7 -0
  106. package/es/components/eftposPay/pay.d.ts +21 -0
  107. package/es/components/eftposPay/payo/config.d.ts +13 -0
  108. package/es/components/eftposPay/payo/hooks.d.ts +10 -0
  109. package/es/components/eftposPay/payo/payment.d.ts +66 -0
  110. package/es/components/eftposPay/store/index.d.ts +358 -0
  111. package/es/components/eftposPay/tip.d.ts +10 -0
  112. package/es/components/eftposPay/tyro/index.d.ts +9 -0
  113. package/es/components/eftposPay/utils/log/index.d.ts +110 -0
  114. package/es/components/eftposPay/utils/payLog.d.ts +81 -0
  115. package/es/components/eftposPay/windcave/helper.d.ts +23 -0
  116. package/es/components/eftposPay/windcave/receiptAction.d.ts +23 -0
  117. package/es/components/eftposPay/windcave/windcave.d.ts +7 -0
  118. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  119. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  120. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  121. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  122. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  123. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  124. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  125. package/es/components/eventBooking/index.d.ts +1 -0
  126. package/es/components/kioskSkuDetail/index.d.ts +39 -0
  127. package/es/components/kioskSkuDetail/locales.d.ts +48 -0
  128. package/es/components/pay/toC/PaymentMethods/BankDeposit/index.d.ts +10 -0
  129. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
  130. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
  131. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
  132. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +16 -0
  133. package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +15 -0
  134. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +83 -0
  135. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  136. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
  137. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  138. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
  139. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
  140. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  141. package/es/components/pay/toC/PaymentMethods/StripePay/index.d.ts +10 -0
  142. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
  143. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
  144. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +22 -0
  145. package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
  146. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +16 -0
  147. package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
  148. package/es/components/pay/toC/index.d.ts +3 -0
  149. package/es/components/pay/toC/locales.d.ts +631 -0
  150. package/es/components/pay/toC/model.d.ts +32 -0
  151. package/es/components/pay/toC/payGroup.d.ts +59 -0
  152. package/es/components/pay/toC/serve.d.ts +87 -0
  153. package/es/components/pay/toC/utils.d.ts +65 -0
  154. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  155. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  156. package/es/components/pisellSelectCustomerModal/locales.d.ts +133 -0
  157. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  158. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  159. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  160. package/es/components/productExtension/index.d.ts +1 -0
  161. package/es/components/ruleSetting/index.d.ts +1 -0
  162. package/es/components/ruleSetting/locales.d.ts +78 -0
  163. package/es/components/scanOrder/components/Checkout/index.d.ts +7 -0
  164. package/es/components/scanOrder/components/ErrorState/index.d.ts +8 -0
  165. package/es/components/scanOrder/components/FulfillmentMode/index.d.ts +11 -0
  166. package/es/components/scanOrder/context.d.ts +4 -0
  167. package/es/components/scanOrder/hooks.d.ts +14 -0
  168. package/es/components/scanOrder/index.d.ts +5 -0
  169. package/es/components/scanOrder/locales.d.ts +248 -0
  170. package/es/components/scanOrder/types.d.ts +79 -0
  171. package/es/components/scanOrder/utils/toShoppingCartProducts.d.ts +21 -0
  172. package/es/components/scanOrder/utils/transformProductDetail.d.ts +59 -0
  173. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  174. package/es/components/schedules/locales.d.ts +143 -0
  175. package/es/components/schedules/model.d.ts +1 -9
  176. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  177. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  178. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  179. package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
  180. package/es/components/shoppingCart/index.d.ts +1 -0
  181. package/es/components/shoppingCart/locales.d.ts +53 -0
  182. package/es/components/shoppingCart/type.d.ts +48 -0
  183. package/es/components/subTotal/locales.d.ts +68 -0
  184. package/es/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
  185. package/es/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  186. package/es/components/systemSettings/registry/index.d.ts +5 -0
  187. package/es/components/systemSettings/registry/locales.d.ts +534 -0
  188. package/es/components/systemSettings/registry/services.d.ts +99 -0
  189. package/es/components/systemSettings/registry/types.d.ts +143 -0
  190. package/es/components/taxSelect/index.d.ts +1 -0
  191. package/es/components/taxSelect/locales.d.ts +38 -0
  192. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
  193. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
  194. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
  195. package/es/components/ticketBooking/components/timeBar/index.d.ts +12 -0
  196. package/es/components/ticketBooking/index.d.ts +0 -1
  197. package/es/components/ticketBooking/locales.d.ts +299 -0
  198. package/es/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
  199. package/es/components/ticketBooking/utils/index.d.ts +25 -0
  200. package/es/components/venueBooking/components/Deposit/index.d.ts +14 -0
  201. package/es/components/venueBooking/components/VenueSelection/components/PriceLegend.d.ts +2 -0
  202. package/es/components/venueBooking/hooks.d.ts +72 -0
  203. package/es/components/venueBooking/locales.d.ts +627 -0
  204. package/es/components/venueBooking/mock.d.ts +23 -0
  205. package/es/components/venueBooking/temp.d.ts +2 -0
  206. package/es/components/venueBooking/types.d.ts +204 -0
  207. package/es/components/venueBooking/utils/transformProductDetail.d.ts +8 -0
  208. package/es/components/venueBooking/utils.d.ts +66 -0
  209. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  210. package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
  211. package/es/hooks/useEngineContext.d.ts +11 -0
  212. package/es/hooks/useWindowSize.d.ts +5 -0
  213. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  214. package/es/plus/clinetSearch/index.d.ts +18 -0
  215. package/es/plus/orderList/locales.d.ts +618 -0
  216. package/es/plus/pisellFinancialSummary/components/Collapse/Collapse.d.ts +8 -0
  217. package/es/plus/pisellFinancialSummary/components/Collapse/Collapse.stories.d.ts +7 -0
  218. package/es/plus/pisellFinancialSummary/components/Collapse/index.d.ts +2 -0
  219. package/es/plus/pisellFinancialSummary/components/Collapse/types.d.ts +48 -0
  220. package/es/plus/pisellFinancialSummary/locales.d.ts +28 -0
  221. package/es/plus/pisellFinancialSummary/types.d.ts +139 -0
  222. package/es/plus/pisellFinancialSummary/utils/buildSummaryItems.d.ts +44 -0
  223. package/es/plus/pisellFinancialSummary/utils/index.d.ts +2 -0
  224. package/es/plus/pisellReservation/components/bookingDetailModal/bookingProductToProductCard.d.ts +10 -0
  225. package/es/plus/pisellReservation/data/filterBookingsAtTimeCursor.d.ts +9 -0
  226. package/es/plus/pisellReservation/floorMap/floorMapHostCheckout.d.ts +6 -0
  227. package/es/plus/pisellReservation/floorMap/floorPlanApi.d.ts +5 -5
  228. package/es/plus/pisellReservation/floorMap/reservationCards.d.ts +7 -7
  229. package/es/plus/pisellReservation/floorMap/useReservationFloorMapMerged.d.ts +1 -1
  230. package/es/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +1 -1
  231. package/es/plus/pisellReservation/floorRoomCard/floorRoomCardDom.d.ts +3 -0
  232. package/es/plus/pisellReservation/floorRoomCard/floorRoomCardHeaderFormat.d.ts +3 -0
  233. package/es/plus/pisellReservation/floorRoomCard/floorRoomCardModel.d.ts +59 -0
  234. package/es/plus/pisellReservation/floorRoomCard/floorRoomCardPaymentUi.d.ts +9 -0
  235. package/es/plus/pisellReservation/floorRoomCard/mapFloorRoomCardViewProps.d.ts +10 -0
  236. package/es/plus/pisellReservation/floorRoomCard/views/RoomCardHeaderView.d.ts +12 -0
  237. package/es/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +4 -0
  238. package/es/plus/pisellReservation/floorRoomCard/views/RoomCardShellView.d.ts +9 -0
  239. package/es/plus/pisellReservation/hooks/useNewReservationRoutesFromEngine.d.ts +8 -0
  240. package/es/plus/pisellReservation/hooks/usePisellReservationBookingData.d.ts +47 -0
  241. package/es/plus/pisellReservation/hooks/useReservationLoadingShownDebounced.d.ts +5 -0
  242. package/es/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +3 -3
  243. package/es/plus/pisellReservation/locales/locales-ja.d.ts +133 -0
  244. package/es/plus/pisellReservation/locales/locales-pt.d.ts +133 -0
  245. package/es/plus/pisellReservation/locales/locales.d.ts +666 -0
  246. package/es/plus/pisellReservation/reservationConstants.d.ts +1117 -0
  247. package/es/plus/pisellSalesGrid/types.d.ts +197 -0
  248. package/es/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +30 -0
  249. package/es/plus/pisellSalesProductCard/locales.d.ts +38 -0
  250. package/es/plus/pisellSalesProductCard/types.d.ts +134 -0
  251. package/es/plus/pisellSalesProductCard/utils.d.ts +17 -0
  252. package/es/plus/productSelect/CategoryTabs/index.d.ts +21 -0
  253. package/es/plus/productSelect/ProductCard/ProductCardV2.d.ts +21 -0
  254. package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
  255. package/es/plus/saasCreateOrganization/index.d.ts +1 -0
  256. package/es/plus/saasTeamMembers/locales.d.ts +546 -0
  257. package/es/plus/selectHolder/locales.d.ts +35 -0
  258. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
  259. package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +3 -0
  260. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +15 -0
  261. package/es/plus/skuOptionsSelection/index.d.ts +5 -0
  262. package/es/plus/skuOptionsSelection/locales.d.ts +58 -0
  263. package/es/plus/skuOptionsSelection/types.d.ts +458 -0
  264. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  265. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  266. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  267. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  268. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  269. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  270. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +10 -0
  271. package/es/plus/walletPassGallery/locales.d.ts +488 -0
  272. package/es/pro/Cards/components/SKUCard/index.d.ts +5 -0
  273. package/es/pro/Cards/components/SKUCard/types.d.ts +73 -0
  274. package/es/pro/Login2.0/Register2.d.ts +65 -0
  275. package/es/pro/Login2.0/components/PhoneInput.d.ts +53 -0
  276. package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  277. package/es/pro/Login2.0/shared/registerFlow.d.ts +117 -0
  278. package/es/pro/Login2.0/shared/types.d.ts +234 -0
  279. package/es/pro/Login2.0/steps/CodeInput.d.ts +24 -0
  280. package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
  281. package/es/pro/NumericStepper/index.d.ts +96 -0
  282. package/es/pro/Selector/Selector.stories.d.ts +78 -0
  283. package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  284. package/es/pro/pisellNumberSelector/example.d.ts +3 -0
  285. package/es/pro/pisellPaymentList/example.d.ts +1 -0
  286. package/es/test/setup.d.ts +1 -0
  287. package/lib/businessModel/SalesModel/index.d.ts +1 -0
  288. package/lib/components/Sales/Summary/utils.d.ts +58 -0
  289. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  290. package/lib/components/appointmentBooking/components/Date/index.d.ts +4 -0
  291. package/lib/components/appointmentBooking/components/Footer/index.d.ts +3 -0
  292. package/lib/components/appointmentBooking/components/Form/index.d.ts +4 -0
  293. package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
  294. package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
  295. package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +1 -0
  296. package/lib/components/appointmentBooking/context.d.ts +35 -0
  297. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  298. package/lib/components/appointmentBooking/hooks.d.ts +107 -0
  299. package/lib/components/appointmentBooking/hooks.js +8 -1
  300. package/lib/components/appointmentBooking/index.d.ts +1 -0
  301. package/lib/components/appointmentBooking/locales.d.ts +606 -0
  302. package/lib/components/appointmentBooking/utils.d.ts +227 -0
  303. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  304. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  305. package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  306. package/lib/components/booking/addons/model.d.ts +1 -10
  307. package/lib/components/booking/components/footer/amount.d.ts +25 -0
  308. package/lib/components/booking/components/footer/index.d.ts +0 -1
  309. package/lib/components/booking/components/footer/utils.d.ts +47 -0
  310. package/lib/components/booking/components/reloadResourceModal/index.d.ts +8 -0
  311. package/lib/components/booking/components/tabPane/index.d.ts +4 -0
  312. package/lib/components/booking/components/voucher/index.d.ts +3 -0
  313. package/lib/components/booking/components/voucher/utils.d.ts +4 -0
  314. package/lib/components/booking/dashboard/serve.d.ts +1 -0
  315. package/lib/components/booking/deposit/ClientItem/index.d.ts +18 -0
  316. package/lib/components/booking/deposit/DepositItem/index.d.ts +26 -0
  317. package/lib/components/booking/deposit/index.d.ts +3 -0
  318. package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
  319. package/lib/components/booking/forms/forms.d.ts +30 -0
  320. package/lib/components/booking/forms/model.d.ts +1 -10
  321. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  322. package/lib/components/booking/forms/serve.d.ts +18 -0
  323. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  324. package/lib/components/booking/info/addServiceVariant/index.d.ts +7 -0
  325. package/lib/components/booking/info/client/index.d.ts +4 -0
  326. package/lib/components/booking/info/client/serve.d.ts +2 -0
  327. package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
  328. package/lib/components/booking/info/header/index.d.ts +3 -0
  329. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  330. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
  331. package/lib/components/booking/info/model.d.ts +5 -0
  332. package/lib/components/booking/info/notes/index.d.ts +1 -0
  333. package/lib/components/booking/info/pet/serve.d.ts +1 -0
  334. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  335. package/lib/components/booking/info/service/addService/index.d.ts +1 -0
  336. package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  337. package/lib/components/booking/info/service/addTimeModal/utils.d.ts +31 -0
  338. package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
  339. package/lib/components/booking/info/service/editService/index.d.ts +7 -0
  340. package/lib/components/booking/info/service/serve.d.ts +20 -0
  341. package/lib/components/booking/info/service/serviceList/index.d.ts +6 -0
  342. package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
  343. package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
  344. package/lib/components/booking/info/service2/Group/utils.d.ts +14 -0
  345. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  346. package/lib/components/booking/info/service2/utils.d.ts +248 -0
  347. package/lib/components/booking/info/utils.d.ts +50 -0
  348. package/lib/components/booking/info2/serve.d.ts +6 -0
  349. package/lib/components/booking/info2/service/addService/index.d.ts +11 -0
  350. package/lib/components/booking/info2/service/addService/utils.d.ts +98 -0
  351. package/lib/components/booking/info2/service/editService/utils.d.ts +28 -0
  352. package/lib/components/booking/info2/service/serviceList/index.d.ts +6 -0
  353. package/lib/components/booking/info2/utilsByBooking.d.ts +35 -0
  354. package/lib/components/booking/locales.d.ts +1489 -0
  355. package/lib/components/booking/model.d.ts +112 -0
  356. package/lib/components/booking/notes/addNote/index.d.ts +4 -0
  357. package/lib/components/booking/notes/model.d.ts +1 -10
  358. package/lib/components/booking/payments/model.d.ts +1 -10
  359. package/lib/components/booking/utils.d.ts +175 -0
  360. package/lib/components/ecocup/utils/download.d.ts +7 -0
  361. package/lib/components/ecocup/utils/index.d.ts +2 -0
  362. package/lib/components/eftpos/const.d.ts +64 -0
  363. package/lib/components/eftpos/device.d.ts +9 -0
  364. package/lib/components/eftpos/hooks.d.ts +34 -0
  365. package/lib/components/eftpos/index.d.ts +47 -0
  366. package/lib/components/eftpos/locales.d.ts +163 -0
  367. package/lib/components/eftpos/surcharge/index.d.ts +1 -0
  368. package/lib/components/eftpos/table.d.ts +21 -0
  369. package/lib/components/eftposPay/amount.d.ts +21 -0
  370. package/lib/components/eftposPay/app.d.ts +11 -0
  371. package/lib/components/eftposPay/component/fail/failCustom.d.ts +4 -0
  372. package/lib/components/eftposPay/component/fail/index.d.ts +3 -0
  373. package/lib/components/eftposPay/component/fail/network.d.ts +9 -0
  374. package/lib/components/eftposPay/component/fail/unknow.d.ts +10 -0
  375. package/lib/components/eftposPay/component/manual/index.d.ts +10 -0
  376. package/lib/components/eftposPay/component/signature/index.d.ts +9 -0
  377. package/lib/components/eftposPay/const.d.ts +186 -0
  378. package/lib/components/eftposPay/device.d.ts +24 -0
  379. package/lib/components/eftposPay/hooks.d.ts +36 -0
  380. package/lib/components/eftposPay/index.d.ts +5 -0
  381. package/lib/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
  382. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  383. package/lib/components/eftposPay/linkly/index.d.ts +3 -0
  384. package/lib/components/eftposPay/locales.d.ts +572 -0
  385. package/lib/components/eftposPay/manufacturer.d.ts +7 -0
  386. package/lib/components/eftposPay/pay.d.ts +21 -0
  387. package/lib/components/eftposPay/payo/config.d.ts +13 -0
  388. package/lib/components/eftposPay/payo/hooks.d.ts +10 -0
  389. package/lib/components/eftposPay/payo/payment.d.ts +66 -0
  390. package/lib/components/eftposPay/store/index.d.ts +358 -0
  391. package/lib/components/eftposPay/tip.d.ts +10 -0
  392. package/lib/components/eftposPay/tyro/index.d.ts +9 -0
  393. package/lib/components/eftposPay/utils/log/index.d.ts +110 -0
  394. package/lib/components/eftposPay/utils/payLog.d.ts +81 -0
  395. package/lib/components/eftposPay/windcave/helper.d.ts +23 -0
  396. package/lib/components/eftposPay/windcave/receiptAction.d.ts +23 -0
  397. package/lib/components/eftposPay/windcave/windcave.d.ts +7 -0
  398. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  399. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  400. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  401. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  402. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  403. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  404. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  405. package/lib/components/eventBooking/index.d.ts +1 -0
  406. package/lib/components/kioskSkuDetail/index.d.ts +39 -0
  407. package/lib/components/kioskSkuDetail/locales.d.ts +48 -0
  408. package/lib/components/pay/toC/PaymentMethods/BankDeposit/index.d.ts +10 -0
  409. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
  410. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
  411. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
  412. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +16 -0
  413. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +15 -0
  414. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +83 -0
  415. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  416. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
  417. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  418. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
  419. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
  420. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  421. package/lib/components/pay/toC/PaymentMethods/StripePay/index.d.ts +10 -0
  422. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
  423. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
  424. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +22 -0
  425. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
  426. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +16 -0
  427. package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
  428. package/lib/components/pay/toC/index.d.ts +3 -0
  429. package/lib/components/pay/toC/locales.d.ts +631 -0
  430. package/lib/components/pay/toC/model.d.ts +32 -0
  431. package/lib/components/pay/toC/payGroup.d.ts +59 -0
  432. package/lib/components/pay/toC/serve.d.ts +87 -0
  433. package/lib/components/pay/toC/utils.d.ts +65 -0
  434. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  435. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  436. package/lib/components/pisellSelectCustomerModal/locales.d.ts +133 -0
  437. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  438. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  439. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  440. package/lib/components/productExtension/index.d.ts +1 -0
  441. package/lib/components/ruleSetting/index.d.ts +1 -0
  442. package/lib/components/ruleSetting/locales.d.ts +78 -0
  443. package/lib/components/scanOrder/components/Checkout/index.d.ts +7 -0
  444. package/lib/components/scanOrder/components/ErrorState/index.d.ts +8 -0
  445. package/lib/components/scanOrder/components/FulfillmentMode/index.d.ts +11 -0
  446. package/lib/components/scanOrder/context.d.ts +4 -0
  447. package/lib/components/scanOrder/hooks.d.ts +14 -0
  448. package/lib/components/scanOrder/index.d.ts +5 -0
  449. package/lib/components/scanOrder/locales.d.ts +248 -0
  450. package/lib/components/scanOrder/types.d.ts +79 -0
  451. package/lib/components/scanOrder/utils/toShoppingCartProducts.d.ts +21 -0
  452. package/lib/components/scanOrder/utils/transformProductDetail.d.ts +59 -0
  453. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  454. package/lib/components/schedules/locales.d.ts +143 -0
  455. package/lib/components/schedules/model.d.ts +1 -9
  456. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  457. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  458. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  459. package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
  460. package/lib/components/shoppingCart/index.d.ts +1 -0
  461. package/lib/components/shoppingCart/locales.d.ts +53 -0
  462. package/lib/components/shoppingCart/type.d.ts +48 -0
  463. package/lib/components/subTotal/locales.d.ts +68 -0
  464. package/lib/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
  465. package/lib/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  466. package/lib/components/systemSettings/registry/index.d.ts +5 -0
  467. package/lib/components/systemSettings/registry/locales.d.ts +534 -0
  468. package/lib/components/systemSettings/registry/services.d.ts +99 -0
  469. package/lib/components/systemSettings/registry/types.d.ts +143 -0
  470. package/lib/components/taxSelect/index.d.ts +1 -0
  471. package/lib/components/taxSelect/locales.d.ts +38 -0
  472. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
  473. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
  474. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
  475. package/lib/components/ticketBooking/components/timeBar/index.d.ts +12 -0
  476. package/lib/components/ticketBooking/index.d.ts +0 -1
  477. package/lib/components/ticketBooking/locales.d.ts +299 -0
  478. package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
  479. package/lib/components/ticketBooking/utils/index.d.ts +25 -0
  480. package/lib/components/venueBooking/components/Deposit/index.d.ts +14 -0
  481. package/lib/components/venueBooking/components/VenueSelection/components/PriceLegend.d.ts +2 -0
  482. package/lib/components/venueBooking/hooks.d.ts +72 -0
  483. package/lib/components/venueBooking/locales.d.ts +627 -0
  484. package/lib/components/venueBooking/mock.d.ts +23 -0
  485. package/lib/components/venueBooking/temp.d.ts +2 -0
  486. package/lib/components/venueBooking/types.d.ts +204 -0
  487. package/lib/components/venueBooking/utils/transformProductDetail.d.ts +8 -0
  488. package/lib/components/venueBooking/utils.d.ts +66 -0
  489. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  490. package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
  491. package/lib/hooks/useEngineContext.d.ts +11 -0
  492. package/lib/hooks/useWindowSize.d.ts +5 -0
  493. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  494. package/lib/plus/clinetSearch/index.d.ts +18 -0
  495. package/lib/plus/orderList/locales.d.ts +618 -0
  496. package/lib/plus/pisellFinancialSummary/components/Collapse/Collapse.d.ts +8 -0
  497. package/lib/plus/pisellFinancialSummary/components/Collapse/Collapse.stories.d.ts +7 -0
  498. package/lib/plus/pisellFinancialSummary/components/Collapse/index.d.ts +2 -0
  499. package/lib/plus/pisellFinancialSummary/components/Collapse/types.d.ts +48 -0
  500. package/lib/plus/pisellFinancialSummary/locales.d.ts +28 -0
  501. package/lib/plus/pisellFinancialSummary/types.d.ts +139 -0
  502. package/lib/plus/pisellFinancialSummary/utils/buildSummaryItems.d.ts +44 -0
  503. package/lib/plus/pisellFinancialSummary/utils/index.d.ts +2 -0
  504. package/lib/plus/pisellReservation/components/bookingDetailModal/bookingProductToProductCard.d.ts +10 -0
  505. package/lib/plus/pisellReservation/data/filterBookingsAtTimeCursor.d.ts +9 -0
  506. package/lib/plus/pisellReservation/floorMap/floorMapHostCheckout.d.ts +6 -0
  507. package/lib/plus/pisellReservation/floorMap/floorPlanApi.d.ts +5 -5
  508. package/lib/plus/pisellReservation/floorMap/reservationCards.d.ts +7 -7
  509. package/lib/plus/pisellReservation/floorMap/useReservationFloorMapMerged.d.ts +1 -1
  510. package/lib/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +1 -1
  511. package/lib/plus/pisellReservation/floorRoomCard/floorRoomCardDom.d.ts +3 -0
  512. package/lib/plus/pisellReservation/floorRoomCard/floorRoomCardHeaderFormat.d.ts +3 -0
  513. package/lib/plus/pisellReservation/floorRoomCard/floorRoomCardModel.d.ts +59 -0
  514. package/lib/plus/pisellReservation/floorRoomCard/floorRoomCardPaymentUi.d.ts +9 -0
  515. package/lib/plus/pisellReservation/floorRoomCard/mapFloorRoomCardViewProps.d.ts +10 -0
  516. package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardHeaderView.d.ts +12 -0
  517. package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +4 -0
  518. package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardShellView.d.ts +9 -0
  519. package/lib/plus/pisellReservation/hooks/useNewReservationRoutesFromEngine.d.ts +8 -0
  520. package/lib/plus/pisellReservation/hooks/usePisellReservationBookingData.d.ts +47 -0
  521. package/lib/plus/pisellReservation/hooks/useReservationLoadingShownDebounced.d.ts +5 -0
  522. package/lib/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +3 -3
  523. package/lib/plus/pisellReservation/locales/locales-ja.d.ts +133 -0
  524. package/lib/plus/pisellReservation/locales/locales-pt.d.ts +133 -0
  525. package/lib/plus/pisellReservation/locales/locales.d.ts +666 -0
  526. package/lib/plus/pisellReservation/reservationConstants.d.ts +1117 -0
  527. package/lib/plus/pisellSalesGrid/types.d.ts +197 -0
  528. package/lib/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +30 -0
  529. package/lib/plus/pisellSalesProductCard/locales.d.ts +38 -0
  530. package/lib/plus/pisellSalesProductCard/types.d.ts +134 -0
  531. package/lib/plus/pisellSalesProductCard/utils.d.ts +17 -0
  532. package/lib/plus/productSelect/CategoryTabs/index.d.ts +21 -0
  533. package/lib/plus/productSelect/ProductCard/ProductCardV2.d.ts +21 -0
  534. package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
  535. package/lib/plus/saasCreateOrganization/index.d.ts +1 -0
  536. package/lib/plus/saasTeamMembers/locales.d.ts +546 -0
  537. package/lib/plus/selectHolder/locales.d.ts +35 -0
  538. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
  539. package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +3 -0
  540. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +15 -0
  541. package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
  542. package/lib/plus/skuOptionsSelection/locales.d.ts +58 -0
  543. package/lib/plus/skuOptionsSelection/types.d.ts +458 -0
  544. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  545. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  546. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  547. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  548. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  549. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  550. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +10 -0
  551. package/lib/plus/walletPassGallery/locales.d.ts +488 -0
  552. package/lib/pro/Cards/components/SKUCard/index.d.ts +5 -0
  553. package/lib/pro/Cards/components/SKUCard/types.d.ts +73 -0
  554. package/lib/pro/Login2.0/Register2.d.ts +65 -0
  555. package/lib/pro/Login2.0/components/PhoneInput.d.ts +53 -0
  556. package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  557. package/lib/pro/Login2.0/shared/registerFlow.d.ts +117 -0
  558. package/lib/pro/Login2.0/shared/types.d.ts +234 -0
  559. package/lib/pro/Login2.0/steps/CodeInput.d.ts +24 -0
  560. package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
  561. package/lib/pro/NumericStepper/index.d.ts +96 -0
  562. package/lib/pro/Selector/Selector.stories.d.ts +78 -0
  563. package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  564. package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
  565. package/lib/pro/pisellPaymentList/example.d.ts +1 -0
  566. package/lib/test/setup.d.ts +1 -0
  567. package/package.json +1 -1
@@ -0,0 +1,48 @@
1
+ import type React from 'react';
2
+ /**
3
+ * Figma 14256:5103 Collapse 单条可折叠项
4
+ * 设计稿:Collapse Item = Collapse Head + Collapse Body
5
+ */
6
+ /** 头部左侧信息:时间、日期、客户、渠道等 */
7
+ export interface CollapseHeadMeta {
8
+ /** 如 "20:00" */
9
+ time?: React.ReactNode;
10
+ /** 如 "30/08/2025" */
11
+ date?: React.ReactNode;
12
+ /** 如 "Customer" */
13
+ customer?: React.ReactNode;
14
+ /** 如 "Online Store" */
15
+ channel?: React.ReactNode;
16
+ /** 或直接传多段文案(按 gap 8px 排列) */
17
+ segments?: React.ReactNode[];
18
+ }
19
+ /** Body 内一行:支付方式/描述 + 金额 + 操作按钮 */
20
+ export interface CollapseBodyRow {
21
+ /** 左侧描述,如 "Visa (12****1234)",支持 bullet 列表样式 */
22
+ label: React.ReactNode;
23
+ /** 右侧金额,如 "-$30" */
24
+ amount?: React.ReactNode;
25
+ /** 操作按钮,如 { label: 'Void', onClick } */
26
+ action?: {
27
+ label: React.ReactNode;
28
+ onClick?: () => void;
29
+ };
30
+ }
31
+ export interface CollapseProps {
32
+ /** 头部左侧:时间/日期/客户/渠道等 */
33
+ headMeta: CollapseHeadMeta;
34
+ /** 头部右侧金额,如 "-$30" */
35
+ headAmount: React.ReactNode;
36
+ /** 是否展开 */
37
+ expanded?: boolean;
38
+ /** 默认是否展开 */
39
+ defaultExpanded?: boolean;
40
+ /** 展开变化回调 */
41
+ onExpandChange?: (expanded: boolean) => void;
42
+ /** Body 内容行(可多条) */
43
+ children?: React.ReactNode;
44
+ /** 或通过 bodyRows 传入结构化行(与 children 二选一) */
45
+ bodyRows?: CollapseBodyRow[];
46
+ className?: string;
47
+ style?: React.CSSProperties;
48
+ }
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Financial Summary 组件多语言文案(中/英/繁)
3
+ * 使用方式:由业务方在 init 时合并到 locales;组件内通过 locales.getText(key) 获取
4
+ */
5
+ declare const _default: {
6
+ en: {
7
+ 'pisell2.financialSummary.balanceDue': string;
8
+ 'pisell2.financialSummary.total': string;
9
+ 'pisell2.financialSummary.paid': string;
10
+ 'pisell2.financialSummary.refund': string;
11
+ 'pisell2.financialSummary.itemsCount': string;
12
+ };
13
+ 'zh-CN': {
14
+ 'pisell2.financialSummary.balanceDue': string;
15
+ 'pisell2.financialSummary.total': string;
16
+ 'pisell2.financialSummary.paid': string;
17
+ 'pisell2.financialSummary.refund': string;
18
+ 'pisell2.financialSummary.itemsCount': string;
19
+ };
20
+ 'zh-HK': {
21
+ 'pisell2.financialSummary.balanceDue': string;
22
+ 'pisell2.financialSummary.total': string;
23
+ 'pisell2.financialSummary.paid': string;
24
+ 'pisell2.financialSummary.refund': string;
25
+ 'pisell2.financialSummary.itemsCount': string;
26
+ };
27
+ };
28
+ export default _default;
@@ -0,0 +1,139 @@
1
+ import type React from 'react';
2
+ import type { CSSProperties } from 'react';
3
+ /**
4
+ * Total 区块下的单行项,支持多层级嵌套(如 Subtotal、Tax、Fee、Surcharge、Discount 等)
5
+ */
6
+ export interface FinancialSummaryLineItem {
7
+ /** 行标题 */
8
+ label: React.ReactNode;
9
+ /** 金额,缺失时展示占位符(如 "—") */
10
+ value?: number | null;
11
+ /** 子级明细 */
12
+ children?: FinancialSummaryLineItem[];
13
+ /** 稳定 key,建议传入以保证展开态稳定 */
14
+ key?: React.Key;
15
+ /** 展示在 label 旁边的条目数,如 "3 items" */
16
+ itemsCount?: React.ReactNode;
17
+ /** 提示 icon 的 tooltip 内容 */
18
+ infoTooltip?: React.ReactNode;
19
+ }
20
+ /** Collapse Body 单行(Figma 14256:5103 明细行:描述 + 金额 + 操作按钮) */
21
+ export interface FinancialSummaryCollapseBodyRow {
22
+ label: React.ReactNode;
23
+ amount?: React.ReactNode;
24
+ action?: {
25
+ label: React.ReactNode;
26
+ onClick?: () => void;
27
+ };
28
+ }
29
+ /**
30
+ * 支付记录项,作为「付款历史」下的明细行(label 可为 methodName · time 等)
31
+ */
32
+ export interface FinancialSummaryPaymentItem {
33
+ key?: React.Key;
34
+ /** 支付方式名称(非 Collapse 模式或 bodyRows 未传时使用) */
35
+ methodName?: string;
36
+ /** 支付金额 */
37
+ amount: number;
38
+ /** 支付时间,可选(Collapse 头部) */
39
+ time?: string;
40
+ /** 日期,可选(Collapse 头部,如 "30/08/2025") */
41
+ date?: string;
42
+ /** 客户/操作人(Collapse 头部,如 "Customer" / "Staff: Jenny") */
43
+ customer?: React.ReactNode;
44
+ /** 渠道/终端(Collapse 头部,如 "Online Store" / "Terminal 1100") */
45
+ channel?: React.ReactNode;
46
+ /** 额外明细 */
47
+ detail?: React.ReactNode;
48
+ /** Collapse 展开后 body 行(不传则用 methodName + amount 生成一行) */
49
+ bodyRows?: FinancialSummaryCollapseBodyRow[];
50
+ }
51
+ /**
52
+ * 退款记录项,作为「退款」下的明细行
53
+ */
54
+ export interface FinancialSummaryRefundItem {
55
+ key?: React.Key;
56
+ /** 退款说明 */
57
+ label?: React.ReactNode;
58
+ /** 退款金额 */
59
+ amount: number;
60
+ /** 退款时间,可选 */
61
+ time?: string;
62
+ date?: string;
63
+ customer?: React.ReactNode;
64
+ channel?: React.ReactNode;
65
+ /** 额外明细 */
66
+ detail?: React.ReactNode;
67
+ /** Collapse body 行 */
68
+ bodyRows?: FinancialSummaryCollapseBodyRow[];
69
+ }
70
+ /**
71
+ * Total 区块数据结构
72
+ */
73
+ export interface FinancialSummaryTotalBlock {
74
+ /** Total 汇总值,可选(可由子项聚合) */
75
+ value?: number | null;
76
+ /** Total 下明细,支持多层级 */
77
+ children?: FinancialSummaryLineItem[];
78
+ }
79
+ /**
80
+ * 组件入参数据:Balance Due + Total + Paid + Refund
81
+ */
82
+ export interface FinancialSummaryData {
83
+ /** 最终应付金额,null 时显示占位符 */
84
+ balanceDue: number | null;
85
+ /** Total 区块,无数据或不展示时可省略 */
86
+ total?: FinancialSummaryTotalBlock;
87
+ /** 支付记录,无数据时不展示 Paid 区块 */
88
+ paid?: FinancialSummaryPaymentItem[];
89
+ /** 退款记录,无数据时不展示 Refund 区块 */
90
+ refund?: FinancialSummaryRefundItem[];
91
+ }
92
+ /**
93
+ * 金额格式化选项(与 @pisell/utils formatAmountWithOptions 对齐)
94
+ */
95
+ export interface FinancialSummaryAmountFormatOptions {
96
+ /** 货币符号,默认 '' */
97
+ currencySymbol?: string;
98
+ /** 小数位数,默认 2 */
99
+ amountPrecision?: number;
100
+ /** 是否使用千分位分隔符 */
101
+ useThousandsSeparator?: boolean;
102
+ /** 整数是否隐藏 .00 */
103
+ hideDecimalForWholeNumbers?: boolean;
104
+ }
105
+ /**
106
+ * PisellFinancialSummary 组件 Props
107
+ */
108
+ export interface PisellFinancialSummaryProps extends FinancialSummaryAmountFormatOptions {
109
+ /** 资金汇总数据 */
110
+ data: FinancialSummaryData;
111
+ /** 是否显示 Total 区块,默认 true */
112
+ showTotal?: boolean;
113
+ /** 是否显示 Paid 区块,默认 true */
114
+ showPaid?: boolean;
115
+ /** 是否显示 Refund 区块,默认 true */
116
+ showRefund?: boolean;
117
+ /** 是否在 label 旁显示 N items,默认 true */
118
+ showItemsCount?: boolean;
119
+ /** 是否显示提示 icon,默认 true */
120
+ showInfoIcon?: boolean;
121
+ /** 是否隐藏金额为 0 的行,默认 false */
122
+ hideZeroAmountRows?: boolean;
123
+ /** 覆盖「Balance due」等多语言标题 */
124
+ titleBalanceDue?: React.ReactNode;
125
+ /** 覆盖「Total」标题 */
126
+ titleTotal?: React.ReactNode;
127
+ /** 覆盖「Paid」标题 */
128
+ titlePaid?: React.ReactNode;
129
+ /** 覆盖「Refund」标题 */
130
+ titleRefund?: React.ReactNode;
131
+ /** 数据缺失时展示的占位内容,默认 "—" */
132
+ missingValuePlaceholder?: React.ReactNode;
133
+ /** 默认展开层级(0=仅首行,2=展开到二级见明细,3=展开到三级),默认 0 */
134
+ defaultExpandedLevel?: number;
135
+ /** 根节点类名 */
136
+ className?: string;
137
+ /** 根节点样式 */
138
+ style?: CSSProperties;
139
+ }
@@ -0,0 +1,44 @@
1
+ import type React from 'react';
2
+ import type { FinancialSummaryData } from '../types';
3
+ /** 与 PisellHierarchicalSummaryList items 结构兼容,避免从 @pisell/materials 导入类型时的 TS2709 */
4
+ export interface SummaryListItem {
5
+ key?: React.Key;
6
+ label: React.ReactNode;
7
+ value?: React.ReactNode;
8
+ children?: SummaryListItem[];
9
+ itemsCount?: React.ReactNode;
10
+ infoTooltip?: React.ReactNode;
11
+ extra?: React.ReactNode;
12
+ }
13
+ export interface BuildSummaryItemsOptions {
14
+ /** 金额格式化 */
15
+ currencySymbol?: string;
16
+ amountPrecision?: number;
17
+ useThousandsSeparator?: boolean;
18
+ hideDecimalForWholeNumbers?: boolean;
19
+ /** 是否在 label 旁展示 N items */
20
+ showItemsCount?: boolean;
21
+ /** 是否展示提示 icon(由 list item 的 infoTooltip 决定是否渲染) */
22
+ showInfoIcon?: boolean;
23
+ /** 是否隐藏金额为 0 的行 */
24
+ hideZeroAmountRows?: boolean;
25
+ /** 数据缺失时的占位 */
26
+ missingValuePlaceholder?: React.ReactNode;
27
+ /** 标题与 N items 文案 */
28
+ getText: (key: string) => string;
29
+ /** 标题覆盖(Balance Due / Total / Paid / Refund) */
30
+ titleBalanceDue?: React.ReactNode;
31
+ titleTotal?: React.ReactNode;
32
+ titlePaid?: React.ReactNode;
33
+ titleRefund?: React.ReactNode;
34
+ /** 是否显示 Total/Paid/Refund 区块 */
35
+ showTotal?: boolean;
36
+ showPaid?: boolean;
37
+ showRefund?: boolean;
38
+ /** 为 true 时不把 Paid/Refund 加入 items(由上层注入带 expandedContent 的项,用于 Collapse 展示) */
39
+ skipPaidAndRefund?: boolean;
40
+ }
41
+ /**
42
+ * 将 FinancialSummaryData 转为 PisellHierarchicalSummaryList 所需的 items
43
+ */
44
+ export declare function buildSummaryItems(data: FinancialSummaryData, options: BuildSummaryItemsOptions): SummaryListItem[];
@@ -0,0 +1,2 @@
1
+ export { buildSummaryItems } from './buildSummaryItems';
2
+ export type { BuildSummaryItemsOptions, SummaryListItem } from './buildSummaryItems';
@@ -0,0 +1,10 @@
1
+ /**
2
+ * 将 booking 顶层 products[] 行映射为 ProductCard 的 dataSource(只读展示)。
3
+ * 字段对齐 {@link api/api-bookings-demo.json} 中 order.products 结构。
4
+ * 数据源必须为 raw.products,不得使用 order.products。
5
+ */
6
+ import type { productType } from '../../../../../../materials/src/components/productCard/types';
7
+ /**
8
+ * @param line booking.products 或 order.products 同源结构(与 api-bookings-demo 一致)
9
+ */
10
+ export declare function bookingProductLineToProductCardData(line: Record<string, unknown>, index: number): productType;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * 平面图时间轴游标:从当日预约列表中筛出「在 cursor 时刻仍有效」的项,避免仅拖动时间重复请求接口。
3
+ */
4
+ import { type Dayjs } from 'dayjs';
5
+ /**
6
+ * @param bookings GET booking 列表项(与 bookingToReservationTables 入参一致)
7
+ * @param cursor 顶栏日程带 `at`(与 PisellTimeNavigator 对齐)
8
+ */
9
+ export declare function filterBookingsVisibleAtTimeCursor(bookings: unknown[], cursor: Dayjs): unknown[];
@@ -0,0 +1,6 @@
1
+ import type { MouseEvent as ReactMouseEvent } from 'react';
2
+ /**
3
+ * 根据点击目标解析要交给宿主的预约行:多预约卡片上子块带
4
+ * {@link PISELL_FLOOR_CHECKOUT_BOOKING_SELECTOR} 时命中对应项,否则取列表首条。
5
+ */
6
+ export declare function resolveFloorMapHostCheckoutRecord(event: ReactMouseEvent<HTMLElement>, sourceBookings: Record<string, unknown>[] | undefined): Record<string, unknown> | undefined;
@@ -6,10 +6,10 @@ export declare const RESERVATION_DEFAULT_FLOOR_PLAN_ID = 1;
6
6
  export type { PostShopFloorPlanBody, PutShopFloorPlanBody, ShopFloorPlanByCodeRequestOptions, ShopFloorPlanDetail, ShopFloorPlanLayoutItem, };
7
7
  export { buildFloorPlanPutBody, floorMapSavedConfigToRemotePatch, inferCanvasSizeFromScene, mergeFloorPlanViewRemote, parseLayoutFieldToViewConfigPatch, pickFloorPlanDetail, sceneElementsToShopLayout, viewConfigToLayoutPayload, isShopFloorPlanNotFoundResponse, isHttpNotFoundError, } from '@pisell/materials';
8
8
  export declare function isFloorPlanDuplicateCodeError(err: unknown): boolean;
9
- export declare const getShopFloorPlanByCode: any;
10
- export declare const postShopFloorPlan: any;
11
- export declare const putShopFloorPlan: any;
12
- export declare const unsubscribeShopFloorPlanCodeQuery: any;
9
+ export declare const getShopFloorPlanByCode: (code: string, subscribe?: ShopFloorPlanByCodeRequestOptions | undefined) => Promise<ShopFloorPlanDetail | null>;
10
+ export declare const postShopFloorPlan: (body: PostShopFloorPlanBody) => Promise<ShopFloorPlanDetail | null>;
11
+ export declare const putShopFloorPlan: (id: number, body: PutShopFloorPlanBody) => Promise<unknown>;
12
+ export declare const unsubscribeShopFloorPlanCodeQuery: (subscriberId: string) => Promise<void>;
13
13
  /**
14
14
  * 404 时 POST 创建使用预约默认 JSON(`api/create-floor-map.json`)。
15
15
  */
@@ -21,7 +21,7 @@ export declare function buildDefaultReservationFloorPlanPostBody(code: string):
21
21
  export declare function shopLayoutToSceneElements(layout: ShopFloorPlanLayoutItem[], options: {
22
22
  canvasId: string;
23
23
  dataSourceKey: string;
24
- }): any;
24
+ }): import("@pisell/materials").FloorMapSceneElement[];
25
25
  export declare function saveViewConfigToShopFloorPlan(id: number, config: import('@pisell/materials').FloorMapViewConfig, options: {
26
26
  canvasWidth?: number;
27
27
  canvasHeight?: number;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type FloorMapMergedItem, type FloorMapDataSources } from '@pisell/materials';
2
+ import { type FloorMapMergedItem, type FloorMapDataSources, type FloorMapItemBase, type FloorMapRenderOptions } from '@pisell/materials';
3
3
  import type { PisellReservationTableRow } from '../types';
4
4
  import './ReservationCards.less';
5
5
  export declare function findReservationRow(item: FloorMapMergedItem, dataSources: FloorMapDataSources): PisellReservationTableRow | undefined;
@@ -7,10 +7,10 @@ export declare function renderReservationTableCard(item: FloorMapMergedItem, dat
7
7
  export declare function renderReservationPartyCard(item: FloorMapMergedItem, dataSources: FloorMapDataSources): React.ReactNode;
8
8
  export declare function renderReservationBarCard(item: FloorMapMergedItem, dataSources: FloorMapDataSources): React.ReactNode;
9
9
  export declare function getReservationRenderItemByKind(dataSources: FloorMapDataSources): {
10
- [x: number]: (item: FloorMapItemBase, _index: number, _options?: any) => any;
11
- reservationBoundTable: (item: FloorMapItemBase, _index: number, _options?: any) => React.ReactNode;
12
- reservationBoundRoundTable: (item: FloorMapItemBase, _index: number, _options?: any) => React.ReactNode;
13
- reservationTable: (item: FloorMapItemBase, _index: number, _options?: any) => React.ReactNode;
14
- reservationPartyBench: (item: FloorMapItemBase, _index: number, _options?: any) => React.ReactNode;
15
- reservationBarSeat: (item: FloorMapItemBase, _index: number, _options?: any) => React.ReactNode;
10
+ floorMapImage: (item: FloorMapItemBase, _index: number, _options?: FloorMapRenderOptions) => React.ReactNode;
11
+ reservationBoundTable: (item: FloorMapItemBase, _index: number, _options?: FloorMapRenderOptions) => React.ReactNode;
12
+ reservationBoundRoundTable: (item: FloorMapItemBase, _index: number, _options?: FloorMapRenderOptions) => React.ReactNode;
13
+ reservationTable: (item: FloorMapItemBase, _index: number, _options?: FloorMapRenderOptions) => React.ReactNode;
14
+ reservationPartyBench: (item: FloorMapItemBase, _index: number, _options?: FloorMapRenderOptions) => React.ReactNode;
15
+ reservationBarSeat: (item: FloorMapItemBase, _index: number, _options?: FloorMapRenderOptions) => React.ReactNode;
16
16
  };
@@ -43,4 +43,4 @@ export interface UseReservationFloorMapMergedParams {
43
43
  /** 场控等:HUD 表抽屉开启时视口叠加层锚左下、Dock 默认右下(可由 floorMap 显式覆盖) */
44
44
  floorMapHudTableDrawer?: boolean;
45
45
  }
46
- export declare function useReservationFloorMapMerged(params: UseReservationFloorMapMergedParams): any;
46
+ export declare function useReservationFloorMapMerged(params: UseReservationFloorMapMergedParams): Partial<import("@pisell/materials").PisellFloorMapLayoutProps<import("@pisell/materials").FloorMapItemBase>>;
@@ -9,5 +9,5 @@ export declare function useReservationFloorPlan(options: {
9
9
  }): {
10
10
  baseFloorConfig: FloorMapViewConfig;
11
11
  floorPlanRemoteId: number | null;
12
- setRemoteFloorPlanView: import("react").Dispatch<any>;
12
+ setRemoteFloorPlanView: import("react").Dispatch<import("react").SetStateAction<Partial<FloorMapViewConfig> | null>>;
13
13
  };
@@ -0,0 +1,3 @@
1
+ import type { FloorRoomCardBooking } from './floorRoomCardModel';
2
+ /** 宿主点击解析:同订单多行用 recordId 命中唯一条 raw */
3
+ export declare function floorRoomCardBookingCheckoutDomKey(b: FloorRoomCardBooking): string;
@@ -0,0 +1,3 @@
1
+ import type { FloorRoomCardBooking, FloorRoomCardData } from './floorRoomCardModel';
2
+ export declare function formatRoomCapLine(data: FloorRoomCardData, bookingsForOcc: FloorRoomCardBooking[]): string;
3
+ export declare function floorRoomCardStatusTagLabel(status: FloorRoomCardData['status']): string;
@@ -0,0 +1,59 @@
1
+ /**
2
+ * 平面图绑定桌 RoomCard 数据结构(对齐 demo/card mock,供展示与 getCardType)
3
+ */
4
+ export declare type FloorRoomCardHolder = {
5
+ name: string;
6
+ phone?: string;
7
+ };
8
+ /** 宿主单条 booking.status,用于多条列表时区分占用/预留肤(与行级聚合 status 解耦) */
9
+ export declare type FloorRoomCardHostBookingStatus = 'reserved' | 'occupied' | 'locked' | 'empty';
10
+ export declare type FloorRoomCardBooking = {
11
+ booking_id: string;
12
+ /**
13
+ * 宿主 `floorMapSourceBookings` 行 `id`;同一订单多时段时多条可共用 `booking_id`,
14
+ * 点击命中与 DOM 需用此行级 id 区分。
15
+ */
16
+ recordId?: string;
17
+ start_date: string;
18
+ start_time: string;
19
+ end_date: string;
20
+ end_time: string;
21
+ number: number;
22
+ holder?: FloorRoomCardHolder;
23
+ amount: string | number;
24
+ /** 来自宿主 `booking.status`(小写);多条 occupied 时参与 multi_occupied,纯预留多条则排序后主卡+Next */
25
+ hostBookingStatus?: FloorRoomCardHostBookingStatus;
26
+ /** 宿主:迟到时长(分钟);有值才展示「迟到 +Xm」,前端不按开始时间推算 */
27
+ lateTime?: number;
28
+ /** 宿主:超时时长(分钟);有值才展示「+Xm」,前端不按结束时间推算 */
29
+ timeoutTime?: number;
30
+ /** 宿主:进行中进度 0–100(100 为满条),优先于起止时间推算 */
31
+ progressPercent?: number;
32
+ /**
33
+ * 宿主:距预约开始剩余分钟(`remainingReserveTime`),预留 not_arrived 时用于「还有 n 分钟」展示,优先于本地起止时间推算
34
+ */
35
+ remainingReserveTime?: number;
36
+ /**
37
+ * 宿主订单支付状态(来源:接口 `booking.order.payment_status` 等,映射到模型)。
38
+ * - `paid`:已付(绿)
39
+ * - 其它(含宿主曾返回的 `partially_paid`):按需付款展示(红);映射层应写入 `unpaid`
40
+ * - 未设:按需付款展示
41
+ */
42
+ order_payment_status?: string;
43
+ /**
44
+ * 订单商品件数:`products` 有效行数优先,否则 `order.summary.product_quantity`;无则 0。
45
+ */
46
+ product_quantity?: number;
47
+ /** 接口 `is_next` / `isNext`:为 true 时仅展示在 Next 行,不参与主档/多条约预览主列表 */
48
+ isNext?: boolean;
49
+ };
50
+ export declare type FloorRoomCardRoomStatus = 'empty' | 'reserved' | 'occupied' | 'locked';
51
+ /** 细分态:与 demo `CARD_CLASS` / `getCardType` 一致 */
52
+ export declare type FloorRoomCardSubStatus = 'not_arrived' | 'late' | 'payed' | 'payment_required' | 'timeout' | '';
53
+ export declare type FloorRoomCardData = {
54
+ main_field: string;
55
+ capacity: number | string;
56
+ status: FloorRoomCardRoomStatus;
57
+ sub_status: FloorRoomCardSubStatus;
58
+ bookings: FloorRoomCardBooking[];
59
+ };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * 平面图 RoomCard:订单支付态 → UI 分支(印章 / 金额颜色)
3
+ */
4
+ /** 平面图 RoomCard 仅两种徽章:已付款 / 需付款 */
5
+ export declare type FloorRoomCardPaymentUiKind = 'paid' | 'unpaid';
6
+ /**
7
+ * @param orderPaymentStatus 来自 {@link FloorRoomCardBooking.order_payment_status}(接口多为 `order.payment_status` 映射)
8
+ */
9
+ export declare function floorRoomCardPaymentUiFromOrderStatus(orderPaymentStatus: string | undefined): FloorRoomCardPaymentUiKind;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * 将 {@link FloorRoomCardData} 映射为 {@link RoomCardHeaderView} props(供嵌入页直连纯 UI)。
3
+ */
4
+ import type { FloorRoomCardBooking, FloorRoomCardData } from './floorRoomCardModel';
5
+ import type { RoomCardHeaderViewProps } from './views/RoomCardHeaderView';
6
+ export declare function mapFloorRoomCardDataToHeaderViewProps(data: FloorRoomCardData, options?: {
7
+ hideCapacity?: boolean;
8
+ occupancyBookings?: FloorRoomCardBooking[];
9
+ showStatusTag?: boolean;
10
+ }): RoomCardHeaderViewProps;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import type { FloorRoomCardRoomStatus } from '../floorRoomCardModel';
3
+ export interface RoomCardHeaderViewProps {
4
+ roomTitle: string;
5
+ /** 为 null 或空串时不渲染 Cap 行 */
6
+ capacityLine: string | null;
7
+ status: FloorRoomCardRoomStatus;
8
+ statusLabel: string;
9
+ /** false:维护卡等仅左侧标题+Cap,无右侧状态 tag */
10
+ showStatusTag?: boolean;
11
+ }
12
+ export declare function RoomCardHeaderView(props: RoomCardHeaderViewProps): JSX.Element;
@@ -0,0 +1,4 @@
1
+ export declare const IconClock: () => JSX.Element;
2
+ export declare const IconUsers: () => JSX.Element;
3
+ export declare const IconWarn: () => JSX.Element;
4
+ export declare const IconMoney: () => JSX.Element;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ export interface RoomCardShellViewProps {
3
+ className: string;
4
+ checkoutBookingKey?: string;
5
+ header: React.ReactNode;
6
+ children?: React.ReactNode;
7
+ }
8
+ /** 单张 RoomCard 根壳:顶栏 + 可选主体(empty 仅顶栏) */
9
+ export declare function RoomCardShellView(props: RoomCardShellViewProps): JSX.Element;
@@ -0,0 +1,8 @@
1
+ export declare type NewReservationRouteItem = {
2
+ pageName: string;
3
+ router: string;
4
+ };
5
+ /**
6
+ * 从引擎 app.router 筛出「新建预约」可选路由(booking_ticket / sales2 等)。
7
+ */
8
+ export declare function useNewReservationRoutesFromEngine(router: unknown): NewReservationRouteItem[];
@@ -0,0 +1,47 @@
1
+ import { type Dayjs } from 'dayjs';
2
+ /** 避免 `?? []` 每次 render 新数组引用,触发依赖 list 的 effect 死循环 */
3
+ export declare const EMPTY_RESERVATION_LIST: unknown[];
4
+ /** 营业日锚定:当日 02:00 — 次日 02:00(与时间轴默认一致) */
5
+ export declare function bookingTimeWindowForAnchorDay(anchorDay: Dayjs): [Dayjs, Dayjs];
6
+ /**
7
+ * 表格视图初始筛选项:与 Sales Monitor 一致——支付态 + **今日营业日窗口**(`bookingTimeWindowForAnchorDay`)。
8
+ * 用户可在 QuickFilter 改日期;平面图仍用独立的 `floorDayBookingData` 与顶栏日程对齐。
9
+ */
10
+ export declare function getGridTableBookingSearchParams(): Record<string, unknown>;
11
+ export interface UsePisellReservationBookingDataOptions {
12
+ /** 列表单页条数;平面图按日合并台位时宜用大页 */
13
+ listPageSize?: number;
14
+ /** 初始筛选项;不传则与 Sales Monitor 一致(含当前营业日预约窗口) */
15
+ getInitialSearchParams?: () => Record<string, unknown>;
16
+ /**
17
+ * 合并进每次请求的扁平参数(在 `filter.values` 展开之后),如平面图
18
+ * `form_record_ids: number[]` 按当前资源桌筛选预约。
19
+ */
20
+ extraRequestParams?: Record<string, unknown>;
21
+ /**
22
+ * 是否启用列表 WebSocket 推送并用 `mutate` 覆盖当前数据(`osServer` + `subscriberId`)。
23
+ * 表格全量/分页必须与接口 HTTP 结果一致,应设为 `false`:推送常为平面图子集(如仅绑定桌),
24
+ * 会覆盖刚返回的整页列表,表现为「请求 50 条只显示几条且像平面图资源」。
25
+ * 平面图合并用 booking 请求可保持默认 `true`。
26
+ */
27
+ subscribeRealtimePush?: boolean;
28
+ }
29
+ /** 内置列表数据 hook 返回结构(booking / resource 页共用) */
30
+ export interface UsePisellReservationBookingDataResult {
31
+ data: unknown[];
32
+ loading: boolean;
33
+ total: number;
34
+ pagination: {
35
+ pageNumber: number;
36
+ pageSize: number;
37
+ };
38
+ onPageChange: (pageNumber: number, pageSize: number) => void;
39
+ searchParams: Record<string, unknown>;
40
+ onSearch: (params: Record<string, unknown>) => void;
41
+ onReset: () => void;
42
+ refresh: () => void;
43
+ refreshAsync: () => Promise<unknown>;
44
+ /** 函数式合并 searchParams 并重置到第一页(用于日程变更) */
45
+ patchSearchParams: (updater: (prev: Record<string, unknown>) => Record<string, unknown>) => void;
46
+ }
47
+ export declare function usePisellReservationBookingData(enabled: boolean, options?: UsePisellReservationBookingDataOptions): UsePisellReservationBookingDataResult;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * RecordBoard 的 loading:仅当 `loading` 持续超过 `reservationConstants` 中的延迟毫秒数才置为 true,
3
+ * 短时请求不闪遮罩;`loading` 为 false 时立即关闭。
4
+ */
5
+ export declare function useReservationLoadingShownDebounced(loading: boolean): boolean;
@@ -7,10 +7,10 @@ export declare function useReservationScheduleDebounced(options: {
7
7
  scheduleValueProp: ReservationScheduleBandValue | undefined;
8
8
  }): {
9
9
  internalSchedule: ReservationScheduleBandValue;
10
- setInternalSchedule: import("react").Dispatch<any>;
11
- schedule: any;
10
+ setInternalSchedule: import("react").Dispatch<import("react").SetStateAction<ReservationScheduleBandValue>>;
11
+ schedule: ReservationScheduleBandValue;
12
12
  debouncedSchedule: ReservationScheduleBandValue;
13
- scheduleRef: import("react").MutableRefObject<any>;
13
+ scheduleRef: import("react").MutableRefObject<ReservationScheduleBandValue>;
14
14
  flushCommittedSchedule: (next: ReservationScheduleBandValue) => void;
15
15
  queueCommittedSchedule: (next: ReservationScheduleBandValue) => void;
16
16
  };