@pisell/private-materials 6.3.135 → 6.3.137
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.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.css +1 -1
- package/build/lowcode/preview.js +426 -145
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +20 -20
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +13 -13
- package/es/businessModel/SalesModel/index.d.ts +1 -2
- package/es/components/Sales/index.d.ts +1 -1
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -2
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -2
- package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -2
- package/es/components/appointmentBooking/components/Content/index.d.ts +1 -2
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +2 -3
- package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -2
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -2
- package/es/components/appointmentBooking/components/Header/index.d.ts +1 -2
- package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +1 -2
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +1 -2
- package/es/components/appointmentBooking/context.d.ts +2 -2
- package/es/components/appointmentBooking/deposit/index.d.ts +1 -2
- package/es/components/appointmentBooking/index.d.ts +1 -2
- package/es/components/booking/components/TabProduct/index.d.ts +1 -2
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -2
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -2
- package/es/components/booking/components/authWrap/index.d.ts +1 -1
- package/es/components/booking/components/browserSelect/index.d.ts +1 -1
- package/es/components/booking/components/collapsibleList/utils.d.ts +1 -2
- package/es/components/booking/components/drawer/index.d.ts +1 -1
- package/es/components/booking/components/emptyBooking/index.d.ts +1 -2
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -2
- package/es/components/booking/components/footer/index.d.ts +1 -2
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -2
- package/es/components/booking/components/menuButton/index.d.ts +1 -1
- package/es/components/booking/dashboard/index.d.ts +1 -1
- package/es/components/booking/deposit/ClientItem/index.d.ts +1 -1
- package/es/components/booking/deposit/DepositItem/index.d.ts +1 -1
- package/es/components/booking/deposit/index.d.ts +1 -2
- package/es/components/booking/forms/footer.d.ts +1 -2
- package/es/components/booking/forms/single/index.d.ts +1 -2
- package/es/components/booking/forms/table/index.d.ts +1 -2
- package/es/components/booking/hooks/useClearCart.d.ts +1 -2
- package/es/components/booking/hooks/useQuotation.d.ts +1 -2
- package/es/components/booking/info/addServiceVariant/index.d.ts +1 -2
- package/es/components/booking/info/client/index.d.ts +1 -1
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -2
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/es/components/booking/info/date/index.d.ts +1 -2
- package/es/components/booking/info/dateRange/index.d.ts +1 -2
- package/es/components/booking/info/header/index.d.ts +1 -2
- package/es/components/booking/info/hooks/useGetHolderList.d.ts +1 -1
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +2 -2
- package/es/components/booking/info/index.d.ts +1 -2
- package/es/components/booking/info/notes/index.d.ts +1 -2
- package/es/components/booking/info/pet/index.d.ts +1 -1
- package/es/components/booking/info/service/Lists.d.ts +1 -2
- package/es/components/booking/info/service/actions/index.d.ts +1 -2
- package/es/components/booking/info/service/addService/index.d.ts +1 -2
- package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -2
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -2
- package/es/components/booking/info/service/index.d.ts +1 -1
- package/es/components/booking/info/service/like/index.d.ts +1 -2
- package/es/components/booking/info/service/serviceItem/index.d.ts +1 -2
- package/es/components/booking/info/service/serviceList/index.d.ts +1 -2
- package/es/components/booking/info/service2/Lists.d.ts +1 -2
- package/es/components/booking/info/service2/index.d.ts +1 -1
- package/es/components/booking/info2/service/actions/index.d.ts +1 -2
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -2
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +1 -2
- package/es/components/booking/info2/service/index.d.ts +1 -1
- package/es/components/booking/info2/service/serviceItem/index.d.ts +1 -2
- package/es/components/booking/info2/service/serviceList/index.d.ts +1 -2
- package/es/components/booking/materiels/contacts/index.d.ts +1 -2
- package/es/components/booking/materiels/duration/index.d.ts +1 -2
- package/es/components/booking/materiels/holder/index.d.ts +1 -2
- package/es/components/booking/materiels/startTime/index.d.ts +1 -2
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -2
- package/es/components/booking/notes/NoteBlock/index.d.ts +1 -2
- package/es/components/booking/notes/addNote/index.d.ts +1 -2
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/ecocup/components/AddCustomerModal/index.d.ts +1 -2
- package/es/components/ecocup/components/CupActionList/index.d.ts +1 -2
- package/es/components/ecocup/components/CupActionModal/hooks.d.ts +1 -1
- package/es/components/ecocup/components/CupActionModal/index.d.ts +1 -2
- package/es/components/ecocup/components/CupInfoCard/index.d.ts +1 -2
- package/es/components/ecocup/components/CupStatusModal/hooks.d.ts +2 -2
- package/es/components/ecocup/components/CupStatusModal/index.d.ts +1 -2
- package/es/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +2 -2
- package/es/components/ecocup/components/CustomerAndCupModal/index.d.ts +1 -5
- package/es/components/ecocup/components/CustomerCard/index.d.ts +1 -2
- package/es/components/ecocup/components/MoreDropdown/index.d.ts +1 -2
- package/es/components/ecocup/components/PageHeader/index.d.ts +1 -1
- package/es/components/ecocup/components/SearchBar/index.d.ts +1 -2
- package/es/components/ecocup/components/SettingModal/index.d.ts +1 -2
- package/es/components/ecocup/cupList/hooks/useColumns.d.ts +1 -2
- package/es/components/ecocup/cupList/hooks/useSummary.d.ts +1 -2
- package/es/components/ecocup/cupList/index.d.ts +1 -2
- package/es/components/ecocup/cupProject/index.d.ts +2 -2
- package/es/components/ecocup/customerList/index.d.ts +2 -2
- package/es/components/eftpos/device.d.ts +1 -1
- package/es/components/eftpos/deviceList/index.d.ts +1 -2
- package/es/components/eftpos/form/index.d.ts +1 -2
- package/es/components/eftpos/group/index.d.ts +2 -3
- package/es/components/eftpos/icon/apiKey.d.ts +1 -2
- package/es/components/eftpos/icon/device.d.ts +1 -2
- package/es/components/eftpos/index.d.ts +1 -2
- package/es/components/eftpos/log.d.ts +2 -2
- package/es/components/eftpos/pos.d.ts +1 -2
- package/es/components/eftpos/receipt/index.d.ts +1 -2
- package/es/components/eftpos/surcharge/index.d.ts +1 -2
- package/es/components/eftposPay/component/alert/index.d.ts +1 -1
- package/es/components/eftposPay/component/alert/warn.d.ts +1 -2
- package/es/components/eftposPay/component/header/index.d.ts +1 -1
- package/es/components/eftposPay/component/header/titlebar.d.ts +1 -2
- package/es/components/eftposPay/component/step/index.d.ts +1 -2
- package/es/components/eftposPay/component/step/step.d.ts +1 -2
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/payo/index.d.ts +1 -1
- package/es/components/eftposPay/store/index.d.ts +7 -7
- package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -1
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -2
- package/es/components/eventBooking/components/Voucher/index.d.ts +1 -2
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -2
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -2
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -2
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -2
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -2
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -2
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -2
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -2
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -2
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -2
- package/es/components/eventBooking/index.d.ts +1 -2
- package/es/components/login/index.d.ts +1 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -2
- package/es/components/pay/toC/PaymentMethods/WalletPass/MultiModeSearch/index.d.ts +1 -1
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -2
- package/es/components/pisellSelectCustomerModal/CustomerCard/index.d.ts +1 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -2
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -2
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -2
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -2
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -2
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -2
- package/es/components/pisellSelectCustomerModal/index.d.ts +1 -2
- package/es/components/productExtension/fields/Actor/index.d.ts +1 -2
- package/es/components/productExtension/fields/Forms/index.d.ts +1 -2
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -2
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -2
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -2
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -2
- package/es/components/productExtension/index.d.ts +1 -2
- package/es/components/productSelect/components/TabProduct/index.d.ts +1 -2
- package/es/components/productSelect/components/pisellPriceText/index.d.ts +1 -1
- package/es/components/productSelect/components/productGroup/index.d.ts +2 -3
- package/es/components/productSelect/index.d.ts +1 -1
- package/es/components/ruleSetting/index.d.ts +1 -2
- package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -2
- package/es/components/scanOrder/components/Cart/index.d.ts +1 -1
- package/es/components/scanOrder/components/Check/index.d.ts +2 -2
- package/es/components/scanOrder/components/Checkout/index.d.ts +2 -2
- package/es/components/scanOrder/components/Content/index.d.ts +2 -2
- package/es/components/scanOrder/components/ErrorState/index.d.ts +2 -2
- package/es/components/scanOrder/components/Footer/index.d.ts +2 -2
- package/es/components/scanOrder/components/Header/index.d.ts +2 -2
- package/es/components/scanOrder/components/Initializing/index.d.ts +2 -2
- package/es/components/scanOrder/components/Menu/index.d.ts +2 -2
- package/es/components/scanOrder/context.d.ts +2 -2
- package/es/components/scanOrder/index.d.ts +2 -2
- package/es/components/scanOrder/utils/toShoppingCartProducts.js +9 -12
- package/es/components/scanOrder/utils/transformProductDetail.js +3 -4
- package/es/components/schedules/calendar/calendarItem.d.ts +1 -2
- package/es/components/schedules/calendar/index.d.ts +1 -2
- package/es/components/schedules/components/Card/index.d.ts +1 -1
- package/es/components/schedules/components/CurrentDay/index.d.ts +1 -2
- package/es/components/schedules/components/ResourceList/index.d.ts +1 -1
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -2
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -2
- package/es/components/schedules/components/ScheduleList/index.d.ts +1 -2
- package/es/components/schedules/components/Search/index.d.ts +1 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -2
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -2
- package/es/components/schedules/products/index.d.ts +1 -2
- package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -2
- package/es/components/schedules/products/list/index.d.ts +1 -2
- package/es/components/schedules/resources/index.d.ts +1 -2
- package/es/components/schedules/resources/list/index.d.ts +1 -2
- package/es/components/schedules/resources/relationProduct/index.d.ts +1 -2
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -2
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -2
- package/es/components/schedules/schedules/Schedules.d.ts +1 -1
- package/es/components/schedules/schedules/SchedulesForDay/index.d.ts +1 -1
- package/es/components/schedules/schedules/index.d.ts +1 -2
- package/es/components/shoppingCart/Provider.d.ts +1 -1
- package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -2
- package/es/components/shoppingCart/components/Cart/index.d.ts +1 -2
- package/es/components/shoppingCart/components/Empty/index.d.ts +1 -2
- package/es/components/shoppingCart/components/Render/index.d.ts +1 -2
- package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -2
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -2
- package/es/components/shoppingCart/index.d.ts +1 -2
- package/es/components/subTotal/index.d.ts +1 -1
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +1 -2
- package/es/components/tabProduct/index.d.ts +1 -1
- package/es/components/taxSelect/index.d.ts +1 -2
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -2
- package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -2
- package/es/components/ticketBooking/miniRedux.d.ts +1 -1
- package/es/components/venueBooking/components/Addons/index.d.ts +2 -7
- package/es/components/venueBooking/components/Cart/index.d.ts +28 -0
- package/es/components/venueBooking/components/Checkout/index.d.ts +2 -7
- package/es/components/venueBooking/components/Checkout/index.js +39 -16
- package/es/components/venueBooking/components/Content/index.d.ts +2 -6
- package/es/components/venueBooking/components/Deposit/index.d.ts +2 -8
- package/es/components/venueBooking/components/Footer/index.d.ts +3 -0
- package/es/components/venueBooking/components/Header/index.d.ts +2 -6
- package/es/components/venueBooking/components/VenueSelection/components/CourtFilter.d.ts +2 -7
- package/es/components/venueBooking/components/VenueSelection/components/DateNavigator.d.ts +2 -6
- package/es/components/venueBooking/components/VenueSelection/components/DayTabs.d.ts +2 -8
- package/es/components/venueBooking/components/VenueSelection/components/MonthPicker.d.ts +2 -7
- package/es/components/venueBooking/components/VenueSelection/components/PriceLegend.d.ts +2 -6
- package/es/components/venueBooking/components/VenueSelection/components/TimeGrid.d.ts +2 -14
- package/es/components/venueBooking/components/VenueSelection/index.d.ts +2 -6
- package/es/components/venueBooking/components/Voucher/index.d.ts +2 -7
- package/es/components/venueBooking/context.d.ts +2 -6
- package/es/components/venueBooking/context.js +131 -57
- package/es/components/venueBooking/index.d.ts +2 -6
- package/es/components/venueBooking/locales.d.ts +15 -0
- package/es/components/venueBooking/locales.js +15 -0
- package/es/components/venueBooking/temp.d.ts +2 -2
- package/es/components/venueBooking/utils/transformProductDetail.d.ts +2 -0
- package/es/components/venueBooking/utils/transformProductDetail.js +2 -0
- package/es/components/walletList/index.d.ts +1 -2
- package/es/components/walletList/model.d.ts +1 -1
- package/es/components/walletList/tempHolderSelector/index.d.ts +2 -2
- package/es/components/workSpaceList/components/Modal/index.d.ts +1 -2
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -2
- package/es/hooks/usePaymentLogger.d.ts +2 -3
- package/es/plus/clientName/index.d.ts +1 -2
- package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -2
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +1 -2
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -2
- package/es/plus/contactInfoModal/ContactInfoContent.d.ts +1 -2
- package/es/plus/orderList/components/HandleActions.d.ts +1 -2
- package/es/plus/orderList/components/QuickFilter.d.ts +1 -2
- package/es/plus/orderList/components/Reset.d.ts +1 -2
- package/es/plus/orderList/components/Toolbar.d.ts +1 -2
- package/es/plus/orderList/config.d.ts +3 -4
- package/es/plus/orderList/index.d.ts +1 -1
- package/es/plus/pisellReservation/components/PisellReservationSubcomponents.d.ts +6 -6
- package/es/plus/pisellReservation/components/bookingDetailModal/ReservationBookingDetailModal.d.ts +1 -1
- package/es/plus/pisellReservation/floorMap/ReservationFloorMapHud.d.ts +3 -3
- package/es/plus/pisellReservation/floorRoomCard/FloorRoomCardFromData.d.ts +2 -6
- package/es/plus/pisellReservation/floorRoomCard/ReservationFloorRoomCard.d.ts +2 -2
- package/es/plus/pisellReservation/floorRoomCard/views/RoomCardBodyView.d.ts +2 -2
- package/es/plus/pisellReservation/floorRoomCard/views/RoomCardHeaderView.d.ts +2 -5
- package/es/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +4 -5
- package/es/plus/pisellReservation/floorRoomCard/views/RoomCardShellView.d.ts +1 -1
- package/es/plus/pisellSalesManagement/components/BookingFormsPreview.d.ts +1 -2
- package/es/plus/pisellSalesManagement/components/BookingNotesPreview.d.ts +1 -1
- package/es/plus/pisellSalesManagement/components/ResourceSelector.d.ts +1 -1
- package/es/plus/pisellSalesManagement/config/booking.d.ts +7 -7
- package/es/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +0 -1
- package/es/plus/pisellSalesManagement/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/ProductCardV2.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/index.d.ts +2 -2
- package/es/plus/productSelect/ProductList/gridComponents.d.ts +6 -6
- package/es/plus/productSelect/components/pisellPriceText/index.d.ts +1 -1
- package/es/plus/productSelect/index.d.ts +1 -1
- package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +1 -2
- package/es/plus/saasCreateOrganization/components/Header.d.ts +1 -2
- package/es/plus/saasCreateOrganization/index.d.ts +1 -2
- package/es/plus/saasRegister/components/EntryEmail.d.ts +1 -2
- package/es/plus/saasRegister/components/EntryInfo.d.ts +1 -2
- package/es/plus/saasRegister/components/GoLogin.d.ts +1 -2
- package/es/plus/saasRegister/components/Header.d.ts +1 -2
- package/es/plus/saasRegister/components/VerifyError.d.ts +1 -2
- package/es/plus/saasRegister/components/VerifyingLink.d.ts +1 -2
- package/es/plus/saasRegister/components/VertifyEmail.d.ts +1 -2
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -1
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +1 -2
- package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +1 -2
- package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -2
- package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/es/plus/walletEditor/components/relationProduct/index.d.ts +1 -2
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +1 -2
- package/es/plus/walletPassGallery/components/passList/index.d.ts +1 -2
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -2
- package/es/plus/walletPassGallery/components/usageRule/index.d.ts +1 -1
- package/es/plus/walletPassGallery/index.d.ts +1 -2
- package/es/pro/Login2.0/components/ForgotPasswordFlow.d.ts +2 -9
- package/es/pro/Login2.0/components/LoginCodeInput.d.ts +2 -6
- package/es/pro/Login2.0/components/PhoneInput.d.ts +1 -1
- package/es/pro/Login2.0/steps/CodeInput.d.ts +2 -6
- package/es/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +2 -6
- package/es/pro/Login2.0/steps/EmailLinkAlreadyUsed.d.ts +2 -5
- package/es/pro/Login2.0/steps/EmailLinkExpired.d.ts +2 -5
- package/es/pro/Login2.0/steps/SetPassword.d.ts +2 -5
- package/es/pro/Login2.0/steps/VerificationSuccess.d.ts +2 -5
- package/es/pro/Login2.0/steps/VerifyingEmailLink.d.ts +2 -5
- package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +2 -5
- package/es/pro/Selector/Item.d.ts +1 -1
- package/es/pro/Selector/demo.d.ts +1 -2
- package/es/pro/keyboards/numberKeyboard/index.d.ts +1 -1
- package/es/pro/numberKeyboard/index.d.ts +1 -1
- package/es/pro/pisellPaymentList/example.d.ts +10 -11
- package/es/pro/pisellPhoneKeyboard/index.d.ts +1 -2
- package/lib/businessModel/SalesModel/index.d.ts +1 -2
- package/lib/components/Sales/index.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -2
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -2
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -2
- package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -2
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +2 -3
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -2
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -2
- package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -2
- package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +1 -2
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +1 -2
- package/lib/components/appointmentBooking/context.d.ts +2 -2
- package/lib/components/appointmentBooking/deposit/index.d.ts +1 -2
- package/lib/components/appointmentBooking/index.d.ts +1 -2
- package/lib/components/booking/components/TabProduct/index.d.ts +1 -2
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -2
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -2
- package/lib/components/booking/components/authWrap/index.d.ts +1 -1
- package/lib/components/booking/components/browserSelect/index.d.ts +1 -1
- package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -2
- package/lib/components/booking/components/drawer/index.d.ts +1 -1
- package/lib/components/booking/components/emptyBooking/index.d.ts +1 -2
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -2
- package/lib/components/booking/components/footer/index.d.ts +1 -2
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -2
- package/lib/components/booking/components/menuButton/index.d.ts +1 -1
- package/lib/components/booking/dashboard/index.d.ts +1 -1
- package/lib/components/booking/deposit/ClientItem/index.d.ts +1 -1
- package/lib/components/booking/deposit/DepositItem/index.d.ts +1 -1
- package/lib/components/booking/deposit/index.d.ts +1 -2
- package/lib/components/booking/forms/footer.d.ts +1 -2
- package/lib/components/booking/forms/single/index.d.ts +1 -2
- package/lib/components/booking/forms/table/index.d.ts +1 -2
- package/lib/components/booking/hooks/useClearCart.d.ts +1 -2
- package/lib/components/booking/hooks/useQuotation.d.ts +1 -2
- package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -2
- package/lib/components/booking/info/client/index.d.ts +1 -1
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -2
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/lib/components/booking/info/date/index.d.ts +1 -2
- package/lib/components/booking/info/dateRange/index.d.ts +1 -2
- package/lib/components/booking/info/header/index.d.ts +1 -2
- package/lib/components/booking/info/hooks/useGetHolderList.d.ts +1 -1
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +2 -2
- package/lib/components/booking/info/index.d.ts +1 -2
- package/lib/components/booking/info/notes/index.d.ts +1 -2
- package/lib/components/booking/info/pet/index.d.ts +1 -1
- package/lib/components/booking/info/service/Lists.d.ts +1 -2
- package/lib/components/booking/info/service/actions/index.d.ts +1 -2
- package/lib/components/booking/info/service/addService/index.d.ts +1 -2
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -2
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -2
- package/lib/components/booking/info/service/index.d.ts +1 -1
- package/lib/components/booking/info/service/like/index.d.ts +1 -2
- package/lib/components/booking/info/service/serviceItem/index.d.ts +1 -2
- package/lib/components/booking/info/service/serviceList/index.d.ts +1 -2
- package/lib/components/booking/info/service2/Lists.d.ts +1 -2
- package/lib/components/booking/info/service2/index.d.ts +1 -1
- package/lib/components/booking/info2/service/actions/index.d.ts +1 -2
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -2
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +1 -2
- package/lib/components/booking/info2/service/index.d.ts +1 -1
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +1 -2
- package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -2
- package/lib/components/booking/materiels/contacts/index.d.ts +1 -2
- package/lib/components/booking/materiels/duration/index.d.ts +1 -2
- package/lib/components/booking/materiels/holder/index.d.ts +1 -2
- package/lib/components/booking/materiels/startTime/index.d.ts +1 -2
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -2
- package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -2
- package/lib/components/booking/notes/addNote/index.d.ts +1 -2
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/ecocup/components/AddCustomerModal/index.d.ts +1 -2
- package/lib/components/ecocup/components/CupActionList/index.d.ts +1 -2
- package/lib/components/ecocup/components/CupActionModal/hooks.d.ts +1 -1
- package/lib/components/ecocup/components/CupActionModal/index.d.ts +1 -2
- package/lib/components/ecocup/components/CupInfoCard/index.d.ts +1 -2
- package/lib/components/ecocup/components/CupStatusModal/hooks.d.ts +2 -2
- package/lib/components/ecocup/components/CupStatusModal/index.d.ts +1 -2
- package/lib/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +2 -2
- package/lib/components/ecocup/components/CustomerAndCupModal/index.d.ts +1 -5
- package/lib/components/ecocup/components/CustomerCard/index.d.ts +1 -2
- package/lib/components/ecocup/components/MoreDropdown/index.d.ts +1 -2
- package/lib/components/ecocup/components/PageHeader/index.d.ts +1 -1
- package/lib/components/ecocup/components/SearchBar/index.d.ts +1 -2
- package/lib/components/ecocup/components/SettingModal/index.d.ts +1 -2
- package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +1 -2
- package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +1 -2
- package/lib/components/ecocup/cupList/index.d.ts +1 -2
- package/lib/components/ecocup/cupProject/index.d.ts +2 -2
- package/lib/components/ecocup/customerList/index.d.ts +2 -2
- package/lib/components/eftpos/device.d.ts +1 -1
- package/lib/components/eftpos/deviceList/index.d.ts +1 -2
- package/lib/components/eftpos/form/index.d.ts +1 -2
- package/lib/components/eftpos/group/index.d.ts +2 -3
- package/lib/components/eftpos/icon/apiKey.d.ts +1 -2
- package/lib/components/eftpos/icon/device.d.ts +1 -2
- package/lib/components/eftpos/index.d.ts +1 -2
- package/lib/components/eftpos/log.d.ts +2 -2
- package/lib/components/eftpos/pos.d.ts +1 -2
- package/lib/components/eftpos/receipt/index.d.ts +1 -2
- package/lib/components/eftpos/surcharge/index.d.ts +1 -2
- package/lib/components/eftposPay/component/alert/index.d.ts +1 -1
- package/lib/components/eftposPay/component/alert/warn.d.ts +1 -2
- package/lib/components/eftposPay/component/header/index.d.ts +1 -1
- package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -2
- package/lib/components/eftposPay/component/step/index.d.ts +1 -2
- package/lib/components/eftposPay/component/step/step.d.ts +1 -2
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/payo/index.d.ts +1 -1
- package/lib/components/eftposPay/store/index.d.ts +7 -7
- package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -1
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -2
- package/lib/components/eventBooking/components/Voucher/index.d.ts +1 -2
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -2
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -2
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -2
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -2
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -2
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -2
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -2
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -2
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -2
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -2
- package/lib/components/eventBooking/index.d.ts +1 -2
- package/lib/components/login/index.d.ts +1 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -2
- package/lib/components/pay/toC/PaymentMethods/WalletPass/MultiModeSearch/index.d.ts +1 -1
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -2
- package/lib/components/pisellSelectCustomerModal/CustomerCard/index.d.ts +1 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -2
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -2
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -2
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -2
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -2
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -2
- package/lib/components/pisellSelectCustomerModal/index.d.ts +1 -2
- package/lib/components/productExtension/fields/Actor/index.d.ts +1 -2
- package/lib/components/productExtension/fields/Forms/index.d.ts +1 -2
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -2
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -2
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -2
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -2
- package/lib/components/productExtension/index.d.ts +1 -2
- package/lib/components/productSelect/components/TabProduct/index.d.ts +1 -2
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +1 -1
- package/lib/components/productSelect/components/productGroup/index.d.ts +2 -3
- package/lib/components/productSelect/index.d.ts +1 -1
- package/lib/components/ruleSetting/index.d.ts +1 -2
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -2
- package/lib/components/scanOrder/components/Cart/index.d.ts +1 -1
- package/lib/components/scanOrder/components/Check/index.d.ts +2 -2
- package/lib/components/scanOrder/components/Checkout/index.d.ts +2 -2
- package/lib/components/scanOrder/components/Content/index.d.ts +2 -2
- package/lib/components/scanOrder/components/ErrorState/index.d.ts +2 -2
- package/lib/components/scanOrder/components/Footer/index.d.ts +2 -2
- package/lib/components/scanOrder/components/Header/index.d.ts +2 -2
- package/lib/components/scanOrder/components/Initializing/index.d.ts +2 -2
- package/lib/components/scanOrder/components/Menu/index.d.ts +2 -2
- package/lib/components/scanOrder/context.d.ts +2 -2
- package/lib/components/scanOrder/index.d.ts +2 -2
- package/lib/components/scanOrder/utils/toShoppingCartProducts.js +5 -8
- package/lib/components/scanOrder/utils/transformProductDetail.js +2 -2
- package/lib/components/schedules/calendar/calendarItem.d.ts +1 -2
- package/lib/components/schedules/calendar/index.d.ts +1 -2
- package/lib/components/schedules/components/Card/index.d.ts +1 -1
- package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -2
- package/lib/components/schedules/components/ResourceList/index.d.ts +1 -1
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -2
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -2
- package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -2
- package/lib/components/schedules/components/Search/index.d.ts +1 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -2
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -2
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -2
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -2
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -2
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -2
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -2
- package/lib/components/schedules/products/index.d.ts +1 -2
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -2
- package/lib/components/schedules/products/list/index.d.ts +1 -2
- package/lib/components/schedules/resources/index.d.ts +1 -2
- package/lib/components/schedules/resources/list/index.d.ts +1 -2
- package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -2
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -2
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -2
- package/lib/components/schedules/schedules/Schedules.d.ts +1 -1
- package/lib/components/schedules/schedules/SchedulesForDay/index.d.ts +1 -1
- package/lib/components/schedules/schedules/index.d.ts +1 -2
- package/lib/components/shoppingCart/Provider.d.ts +1 -1
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -2
- package/lib/components/shoppingCart/components/Cart/index.d.ts +1 -2
- package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -2
- package/lib/components/shoppingCart/components/Render/index.d.ts +1 -2
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -2
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -2
- package/lib/components/shoppingCart/index.d.ts +1 -2
- package/lib/components/subTotal/index.d.ts +1 -1
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +1 -2
- package/lib/components/tabProduct/index.d.ts +1 -1
- package/lib/components/taxSelect/index.d.ts +1 -2
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -2
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -2
- package/lib/components/ticketBooking/miniRedux.d.ts +1 -1
- package/lib/components/venueBooking/components/Addons/index.d.ts +2 -7
- package/lib/components/venueBooking/components/Cart/index.d.ts +28 -0
- package/lib/components/venueBooking/components/Checkout/index.d.ts +2 -7
- package/lib/components/venueBooking/components/Checkout/index.js +31 -4
- package/lib/components/venueBooking/components/Content/index.d.ts +2 -6
- package/lib/components/venueBooking/components/Deposit/index.d.ts +2 -8
- package/lib/components/venueBooking/components/Footer/index.d.ts +3 -0
- package/lib/components/venueBooking/components/Header/index.d.ts +2 -6
- package/lib/components/venueBooking/components/VenueSelection/components/CourtFilter.d.ts +2 -7
- package/lib/components/venueBooking/components/VenueSelection/components/DateNavigator.d.ts +2 -6
- package/lib/components/venueBooking/components/VenueSelection/components/DayTabs.d.ts +2 -8
- package/lib/components/venueBooking/components/VenueSelection/components/MonthPicker.d.ts +2 -7
- package/lib/components/venueBooking/components/VenueSelection/components/PriceLegend.d.ts +2 -6
- package/lib/components/venueBooking/components/VenueSelection/components/TimeGrid.d.ts +2 -14
- package/lib/components/venueBooking/components/VenueSelection/index.d.ts +2 -6
- package/lib/components/venueBooking/components/Voucher/index.d.ts +2 -7
- package/lib/components/venueBooking/context.d.ts +2 -6
- package/lib/components/venueBooking/context.js +38 -2
- package/lib/components/venueBooking/index.d.ts +2 -6
- package/lib/components/venueBooking/locales.d.ts +15 -0
- package/lib/components/venueBooking/locales.js +15 -0
- package/lib/components/venueBooking/temp.d.ts +2 -2
- package/lib/components/venueBooking/utils/transformProductDetail.d.ts +2 -0
- package/lib/components/walletList/index.d.ts +1 -2
- package/lib/components/walletList/model.d.ts +1 -1
- package/lib/components/walletList/tempHolderSelector/index.d.ts +2 -2
- package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -2
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -2
- package/lib/hooks/usePaymentLogger.d.ts +2 -3
- package/lib/plus/clientName/index.d.ts +1 -2
- package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -2
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +1 -2
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -2
- package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +1 -2
- package/lib/plus/orderList/components/HandleActions.d.ts +1 -2
- package/lib/plus/orderList/components/QuickFilter.d.ts +1 -2
- package/lib/plus/orderList/components/Reset.d.ts +1 -2
- package/lib/plus/orderList/components/Toolbar.d.ts +1 -2
- package/lib/plus/orderList/config.d.ts +3 -4
- package/lib/plus/orderList/index.d.ts +1 -1
- package/lib/plus/pisellReservation/components/PisellReservationSubcomponents.d.ts +6 -6
- package/lib/plus/pisellReservation/components/bookingDetailModal/ReservationBookingDetailModal.d.ts +1 -1
- package/lib/plus/pisellReservation/floorMap/ReservationFloorMapHud.d.ts +3 -3
- package/lib/plus/pisellReservation/floorRoomCard/FloorRoomCardFromData.d.ts +2 -6
- package/lib/plus/pisellReservation/floorRoomCard/ReservationFloorRoomCard.d.ts +2 -2
- package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardBodyView.d.ts +2 -2
- package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardHeaderView.d.ts +2 -5
- package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +4 -5
- package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardShellView.d.ts +1 -1
- package/lib/plus/pisellSalesManagement/components/BookingFormsPreview.d.ts +1 -2
- package/lib/plus/pisellSalesManagement/components/BookingNotesPreview.d.ts +1 -1
- package/lib/plus/pisellSalesManagement/components/ResourceSelector.d.ts +1 -1
- package/lib/plus/pisellSalesManagement/config/booking.d.ts +7 -7
- package/lib/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +0 -1
- package/lib/plus/pisellSalesManagement/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/ProductCardV2.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/index.d.ts +2 -2
- package/lib/plus/productSelect/ProductList/gridComponents.d.ts +6 -6
- package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +1 -1
- package/lib/plus/productSelect/index.d.ts +1 -1
- package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +1 -2
- package/lib/plus/saasCreateOrganization/components/Header.d.ts +1 -2
- package/lib/plus/saasCreateOrganization/index.d.ts +1 -2
- package/lib/plus/saasRegister/components/EntryEmail.d.ts +1 -2
- package/lib/plus/saasRegister/components/EntryInfo.d.ts +1 -2
- package/lib/plus/saasRegister/components/GoLogin.d.ts +1 -2
- package/lib/plus/saasRegister/components/Header.d.ts +1 -2
- package/lib/plus/saasRegister/components/VerifyError.d.ts +1 -2
- package/lib/plus/saasRegister/components/VerifyingLink.d.ts +1 -2
- package/lib/plus/saasRegister/components/VertifyEmail.d.ts +1 -2
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -1
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +1 -2
- package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +1 -2
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -2
- package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/lib/plus/walletEditor/components/relationProduct/index.d.ts +1 -2
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +1 -2
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +1 -2
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -2
- package/lib/plus/walletPassGallery/components/usageRule/index.d.ts +1 -1
- package/lib/plus/walletPassGallery/index.d.ts +1 -2
- package/lib/pro/Login2.0/components/ForgotPasswordFlow.d.ts +2 -9
- package/lib/pro/Login2.0/components/LoginCodeInput.d.ts +2 -6
- package/lib/pro/Login2.0/components/PhoneInput.d.ts +1 -1
- package/lib/pro/Login2.0/steps/CodeInput.d.ts +2 -6
- package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +2 -6
- package/lib/pro/Login2.0/steps/EmailLinkAlreadyUsed.d.ts +2 -5
- package/lib/pro/Login2.0/steps/EmailLinkExpired.d.ts +2 -5
- package/lib/pro/Login2.0/steps/SetPassword.d.ts +2 -5
- package/lib/pro/Login2.0/steps/VerificationSuccess.d.ts +2 -5
- package/lib/pro/Login2.0/steps/VerifyingEmailLink.d.ts +2 -5
- package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +2 -5
- package/lib/pro/Selector/Item.d.ts +1 -1
- package/lib/pro/Selector/demo.d.ts +1 -2
- package/lib/pro/keyboards/numberKeyboard/index.d.ts +1 -1
- package/lib/pro/numberKeyboard/index.d.ts +1 -1
- package/lib/pro/pisellPaymentList/example.d.ts +10 -11
- package/lib/pro/pisellPhoneKeyboard/index.d.ts +1 -2
- package/package.json +1 -1
|
@@ -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 {};
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* 展示预订明细、客户信息表单、到场须知、金额汇总
|
|
4
|
-
* 金额从 viewModel.summary(OS 模块)读取,购物车条目从 viewModel.cartItems 读取
|
|
5
|
-
*/
|
|
6
|
-
import React from 'react';
|
|
7
|
-
export default function Checkout(): React.JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export default function Checkout(): JSX.Element;
|
|
@@ -83,7 +83,7 @@ function Checkout() {
|
|
|
83
83
|
required: false
|
|
84
84
|
},
|
|
85
85
|
last_name: {
|
|
86
|
-
visible:
|
|
86
|
+
visible: true,
|
|
87
87
|
required: false
|
|
88
88
|
},
|
|
89
89
|
phone: {
|
|
@@ -91,7 +91,7 @@ function Checkout() {
|
|
|
91
91
|
required: false
|
|
92
92
|
},
|
|
93
93
|
email: {
|
|
94
|
-
visible:
|
|
94
|
+
visible: false,
|
|
95
95
|
required: false
|
|
96
96
|
}
|
|
97
97
|
}), []);
|
|
@@ -121,7 +121,7 @@ function Checkout() {
|
|
|
121
121
|
setNoteValue(nextNote);
|
|
122
122
|
lastNoteRef.current = nextNote;
|
|
123
123
|
}, [viewModel.note]);
|
|
124
|
-
return /* @__PURE__ */ import_react.default.createElement("div", { className: "space-y-3 md:space-y-5" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "grid gap-3 md:gap-4" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "rounded-[22px] bg-white p-4 shadow-[0_10px_40px_rgba(20,20,20,0.06)] ring-1 ring-black/6 md:rounded-[28px] md:p-6" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "flex items-center justify-between gap-3" }, /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement("div", { className: "
|
|
124
|
+
return /* @__PURE__ */ import_react.default.createElement("div", { className: "space-y-3 md:space-y-5" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "grid gap-3 md:gap-4" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "rounded-[22px] bg-white p-4 shadow-[0_10px_40px_rgba(20,20,20,0.06)] ring-1 ring-black/6 md:rounded-[28px] md:p-6" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "flex items-center justify-between gap-3" }, /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement("div", { className: "mt-3 text-[22px] font-extrabold text-zinc-900" }, import_utils.locales.getText("pisell2.venue.checkout.court.summary") || "场地预订摘要"))), /* @__PURE__ */ import_react.default.createElement("div", { className: "mt-5 grid gap-4 md:grid-cols-2" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "rounded-[22px] bg-[#faf7f4] p-4 ring-1 ring-black/6 md:col-span-2" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "text-sm font-semibold text-[#a69183]" }, import_utils.locales.getText("pisell2.venue.checkout.selected.courts") || "已选场地"), /* @__PURE__ */ import_react.default.createElement("div", { className: "mt-3 space-y-2 text-[15px] font-semibold text-zinc-900" }, mergedCourtSessionLines.length ? mergedCourtSessionLines.map((line, idx) => /* @__PURE__ */ import_react.default.createElement("div", { key: `venue-session-line-${idx}` }, line)) : /* @__PURE__ */ import_react.default.createElement("div", null, import_utils.locales.getText("pisell2.venue.checkout.sessions.empty") || "-"))), addonCartItems.length > 0 ? /* @__PURE__ */ import_react.default.createElement("div", { className: "rounded-[22px] bg-[#faf7f4] p-4 ring-1 ring-black/6" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "text-sm font-semibold text-[#a69183]" }, import_utils.locales.getText("pisell2.venue.checkout.addons") || "附加项"), /* @__PURE__ */ import_react.default.createElement("div", { className: "mt-3 text-[15px] font-semibold text-zinc-900" }, addonCartItems.map((item, idx) => /* @__PURE__ */ import_react.default.createElement("div", { key: `addon-${item.id || idx}` }, item.title || item.name || "-")))) : null)), /* @__PURE__ */ import_react.default.createElement("div", { className: "space-y-4" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "rounded-[28px] bg-white p-5 shadow-[0_10px_40px_rgba(20,20,20,0.06)] ring-1 ring-black/6 md:p-6" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "mt-5 rounded-[22px] bg-[#faf7f4] p-4 ring-1 ring-black/6" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "text-lg font-bold text-zinc-900" }, import_utils.locales.getText("pisell2.venue.checkout.notice") || "备注"), /* @__PURE__ */ import_react.default.createElement(
|
|
125
125
|
"textarea",
|
|
126
126
|
{
|
|
127
127
|
className: "mt-4 min-h-[120px] w-full rounded-[20px] border border-black/10 bg-white px-4 py-4 text-sm outline-none placeholder:text-zinc-400",
|
|
@@ -190,6 +190,33 @@ function toContactsInfoPayload(formValues) {
|
|
|
190
190
|
}
|
|
191
191
|
];
|
|
192
192
|
}
|
|
193
|
+
function applyI18nPlaceholders(template, vars) {
|
|
194
|
+
let result = template;
|
|
195
|
+
for (const [key, value] of Object.entries(vars)) {
|
|
196
|
+
result = result.split(`{${key}}`).join(String(value));
|
|
197
|
+
}
|
|
198
|
+
return result;
|
|
199
|
+
}
|
|
200
|
+
function formatCheckoutDurationText(totalMinutes) {
|
|
201
|
+
const hours = Math.floor(totalMinutes / 60);
|
|
202
|
+
const minutes = totalMinutes % 60;
|
|
203
|
+
if (hours > 0 && minutes > 0) {
|
|
204
|
+
const tpl2 = String(
|
|
205
|
+
import_utils.locales.getText("pisell2.venue.checkout.duration.hours_minutes") || "{hours}h {minutes}min"
|
|
206
|
+
);
|
|
207
|
+
return applyI18nPlaceholders(tpl2, { hours, minutes });
|
|
208
|
+
}
|
|
209
|
+
if (hours > 0) {
|
|
210
|
+
const tpl2 = String(
|
|
211
|
+
import_utils.locales.getText("pisell2.venue.checkout.duration.hours") || "{hours}h"
|
|
212
|
+
);
|
|
213
|
+
return applyI18nPlaceholders(tpl2, { hours });
|
|
214
|
+
}
|
|
215
|
+
const tpl = String(
|
|
216
|
+
import_utils.locales.getText("pisell2.venue.checkout.duration.minutes") || "{minutes}min"
|
|
217
|
+
);
|
|
218
|
+
return applyI18nPlaceholders(tpl, { minutes });
|
|
219
|
+
}
|
|
193
220
|
function getSessionDisplayText(item) {
|
|
194
221
|
const startRaw = String((item == null ? void 0 : item.start_date) || "");
|
|
195
222
|
const endRaw = String((item == null ? void 0 : item.end_date) || "");
|
|
@@ -198,7 +225,7 @@ function getSessionDisplayText(item) {
|
|
|
198
225
|
if (!start.isValid() || !end.isValid())
|
|
199
226
|
return String((item == null ? void 0 : item.description) || (item == null ? void 0 : item.subtitle) || "-");
|
|
200
227
|
const durationMinutes = Math.max(0, end.diff(start, "minute"));
|
|
201
|
-
const durationText =
|
|
228
|
+
const durationText = formatCheckoutDurationText(durationMinutes);
|
|
202
229
|
return `${start.format("HH:mm")} ~ ${end.format("HH:mm")} ${start.format("DD/MM/YYYY")} (${durationText})`;
|
|
203
230
|
}
|
|
204
231
|
function getVenueResourceName(item) {
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* venueBooking 定金协议组件
|
|
3
|
-
* 复用 appointmentBooking/deposit 作为渲染引擎,适配 venueBooking 的数据形状:
|
|
4
|
-
* - deposit_policy_data(场地预订)→ protocols(appointmentBooking 期望字段)
|
|
5
|
-
* - venueBookingModule.getProtocol(id) → depositProtocolRequest
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
1
|
+
/// <reference types="react" />
|
|
8
2
|
import '../../../appointmentBooking/deposit/index.less';
|
|
9
3
|
interface VenueDepositProps {
|
|
10
4
|
/** summary.deposit 对象,含 hasDeposit / total / deposit_policy_data */
|
|
@@ -16,5 +10,5 @@ interface VenueDepositProps {
|
|
|
16
10
|
/** 获取协议详情的方法,对应 venueBookingModule.getProtocol(id) */
|
|
17
11
|
getProtocol: (id: string) => Promise<any>;
|
|
18
12
|
}
|
|
19
|
-
export default function VenueDeposit({ deposit, isAgreePolicy, onChange, getProtocol, }: VenueDepositProps):
|
|
13
|
+
export default function VenueDeposit({ deposit, isAgreePolicy, onChange, getProtocol, }: VenueDepositProps): JSX.Element | null;
|
|
20
14
|
export {};
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* 包含搜索框和场地类型标签(All / Badminton / Pickleball 等)
|
|
4
|
-
* 类型从 timeSlotGrid.resources 的 productTitle 去重提取
|
|
5
|
-
*/
|
|
6
|
-
import React from 'react';
|
|
7
|
-
export default function CourtFilter(): React.JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export default function CourtFilter(): JSX.Element;
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
* 日期导航器
|
|
3
|
-
* 前后翻周按钮、月份名称(点击展开月历选择器)、回到今天按钮
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
1
|
+
/// <reference types="react" />
|
|
6
2
|
interface DateNavigatorProps {
|
|
7
3
|
onPrevWeek: () => void;
|
|
8
4
|
onNextWeek: () => void;
|
|
9
5
|
}
|
|
10
|
-
export default function DateNavigator({ onPrevWeek, onNextWeek }: DateNavigatorProps):
|
|
6
|
+
export default function DateNavigator({ onPrevWeek, onNextWeek }: DateNavigatorProps): JSX.Element;
|
|
11
7
|
export {};
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
* 周日期选项卡
|
|
3
|
-
* 横向展示一周 7 天,每天显示周几、日期数字、起步价和可用状态
|
|
4
|
-
* 数据来自 context 中的 dateSummary(PisellOS venueBooking.getDateRangeSummary)
|
|
5
|
-
* 支持左右滑动手势切换前后周
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
1
|
+
/// <reference types="react" />
|
|
8
2
|
interface DayTabsProps {
|
|
9
3
|
onPrevWeek: () => void;
|
|
10
4
|
onNextWeek: () => void;
|
|
11
5
|
}
|
|
12
|
-
export default function DayTabs({ onPrevWeek, onNextWeek }: DayTabsProps):
|
|
6
|
+
export default function DayTabs({ onPrevWeek, onNextWeek }: DayTabsProps): JSX.Element;
|
|
13
7
|
export {};
|
|
@@ -1,14 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* 核心交互组件:横轴为时间(每 30 分钟一格),纵轴为资源/场地
|
|
4
|
-
* 数据来自 PisellOS venueBooking.getTimeSlotGrid()
|
|
5
|
-
*
|
|
6
|
-
* 结构:
|
|
7
|
-
* - 表头段(sticky):外层 overflow-hidden 作为窗口,内层 grid 用 transform 跟随
|
|
8
|
-
* 表体横向 scrollLeft。纵向 sticky 相对外层页面滚动容器生效,实现吸顶。
|
|
9
|
-
* - 表体段:保留 overflow-x: auto、横向拖拽、点击选中/取消时段、切换日期自动滚到
|
|
10
|
-
* 首个可用时段。
|
|
11
|
-
* - 同步方向单向:body.scrollLeft -> headerInner.style.transform。
|
|
12
|
-
*/
|
|
13
|
-
import React from 'react';
|
|
14
|
-
export default function TimeGrid(): React.JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export default function TimeGrid(): JSX.Element;
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
* venueBooking 优惠券/Promotion 组件
|
|
3
|
-
* 参照 appointmentBooking/Voucher 实现,适配 venueBooking 模块的 scanCode / getDiscountList / setDiscountSelected
|
|
4
|
-
* 包含:标题行折叠、PisellGoodPassCard 券列表、未登录登录卡片、Code 输入 + Apply
|
|
5
|
-
*/
|
|
6
|
-
import React from 'react';
|
|
1
|
+
/// <reference types="react" />
|
|
7
2
|
import '../../../booking/components/voucher/index.less';
|
|
8
3
|
import '../../../appointmentBooking/components/Voucher/index.less';
|
|
9
4
|
/**
|
|
10
5
|
* VoucherCard -- 优惠券/Promotion 区块
|
|
11
6
|
* 嵌入购物车底部,提供券列表展示、勾选、扫码兑码、未登录引导等能力
|
|
12
7
|
*/
|
|
13
|
-
export default function VoucherCard():
|
|
8
|
+
export default function VoucherCard(): JSX.Element;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
* venueBooking 全局状态管理
|
|
3
|
-
* 集中管理步骤、场地选择、PisellOS venueBooking 模块数据等状态
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
1
|
+
/// <reference types="react" />
|
|
6
2
|
import type { VenueBookingContextValue, VenueBookingProviderProps } from './types';
|
|
7
3
|
/**
|
|
8
4
|
* VenueBookingProvider -- 场地预订全局 Context
|
|
9
5
|
* 管理步骤导航、场地选择状态、OS 模块集成
|
|
10
6
|
*/
|
|
11
|
-
export declare function VenueBookingProvider({ entryContext, children }: VenueBookingProviderProps):
|
|
7
|
+
export declare function VenueBookingProvider({ entryContext, children }: VenueBookingProviderProps): JSX.Element;
|
|
12
8
|
/** 消费 venueBooking Context 的 hook */
|
|
13
9
|
export declare function useVenueBookingContext(): VenueBookingContextValue;
|
|
@@ -91,6 +91,8 @@ function VenueBookingProvider({ entryContext, children }) {
|
|
|
91
91
|
const pisellOS = (0, import_useEngineContext.usePisellOS)();
|
|
92
92
|
const venueBookingModule = (0, import_hooks.useVenueBookingModule)();
|
|
93
93
|
const [currentStep, setCurrentStep] = (0, import_react.useState)("select-venue");
|
|
94
|
+
const hydratedRef = (0, import_react.useRef)(false);
|
|
95
|
+
const [addonsResolved, setAddonsResolved] = (0, import_react.useState)(false);
|
|
94
96
|
const [viewModel, setViewModel] = (0, import_react.useState)(INITIAL_VIEW_MODEL);
|
|
95
97
|
const stepList = (0, import_react.useMemo)(() => {
|
|
96
98
|
var _a2;
|
|
@@ -130,6 +132,28 @@ function VenueBookingProvider({ entryContext, children }) {
|
|
|
130
132
|
const timer = window.setTimeout(() => setLimitMessage(""), 3800);
|
|
131
133
|
return () => window.clearTimeout(timer);
|
|
132
134
|
}, [limitMessage]);
|
|
135
|
+
(0, import_react.useEffect)(() => {
|
|
136
|
+
var _a2, _b2, _c2;
|
|
137
|
+
if (hydratedRef.current || !venueBookingModule) return;
|
|
138
|
+
hydratedRef.current = true;
|
|
139
|
+
const pending = (_a2 = venueBookingModule.getUIState) == null ? void 0 : _a2.call(venueBookingModule, "pendingStep");
|
|
140
|
+
if (pending) {
|
|
141
|
+
(_b2 = venueBookingModule.deleteUIState) == null ? void 0 : _b2.call(venueBookingModule, "pendingStep");
|
|
142
|
+
setCurrentStep(pending);
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
145
|
+
const cached = (_c2 = venueBookingModule.getUIState) == null ? void 0 : _c2.call(venueBookingModule, "step");
|
|
146
|
+
if (cached) setCurrentStep(cached);
|
|
147
|
+
}, [venueBookingModule]);
|
|
148
|
+
(0, import_react.useEffect)(() => {
|
|
149
|
+
var _a2;
|
|
150
|
+
if (!hydratedRef.current || !venueBookingModule) return;
|
|
151
|
+
(_a2 = venueBookingModule.setUIState) == null ? void 0 : _a2.call(venueBookingModule, "step", currentStep);
|
|
152
|
+
}, [currentStep, venueBookingModule]);
|
|
153
|
+
(0, import_react.useEffect)(() => {
|
|
154
|
+
if (!hydratedRef.current || !addonsResolved) return;
|
|
155
|
+
if (!stepList.includes(currentStep)) setCurrentStep(stepList[0]);
|
|
156
|
+
}, [stepList, currentStep, addonsResolved]);
|
|
133
157
|
const refreshViewModel = (0, import_react.useCallback)(async (extraFields) => {
|
|
134
158
|
if (venueBookingModule && typeof venueBookingModule.getSummary === "function") {
|
|
135
159
|
try {
|
|
@@ -322,24 +346,32 @@ function VenueBookingProvider({ entryContext, children }) {
|
|
|
322
346
|
}
|
|
323
347
|
}, [isSubmittingOrder, venueBookingModule, refreshViewModel, utils, (_c = viewModel == null ? void 0 : viewModel.summary) == null ? void 0 : _c.total_amount]);
|
|
324
348
|
const handleSubmitOrder = (0, import_react.useCallback)(async () => {
|
|
349
|
+
var _a2;
|
|
325
350
|
if (isLogin) {
|
|
326
351
|
await submitOrder();
|
|
327
352
|
return;
|
|
328
353
|
}
|
|
354
|
+
(_a2 = venueBookingModule == null ? void 0 : venueBookingModule.setUIState) == null ? void 0 : _a2.call(venueBookingModule, "pendingStep", "checkout");
|
|
329
355
|
openLoginModal({
|
|
330
356
|
callback: (status) => {
|
|
357
|
+
var _a3;
|
|
331
358
|
if (status !== "success") return;
|
|
359
|
+
(_a3 = venueBookingModule == null ? void 0 : venueBookingModule.deleteUIState) == null ? void 0 : _a3.call(venueBookingModule, "pendingStep");
|
|
332
360
|
handleLoginSuccess().then(() => {
|
|
333
361
|
void submitOrder();
|
|
334
362
|
});
|
|
335
363
|
}
|
|
336
364
|
});
|
|
337
|
-
}, [isLogin, openLoginModal, handleLoginSuccess, submitOrder]);
|
|
365
|
+
}, [isLogin, openLoginModal, handleLoginSuccess, submitOrder, venueBookingModule]);
|
|
338
366
|
const proceedToCheckout = (0, import_react.useCallback)(() => {
|
|
367
|
+
var _a2;
|
|
339
368
|
if (!isLogin) {
|
|
369
|
+
(_a2 = venueBookingModule == null ? void 0 : venueBookingModule.setUIState) == null ? void 0 : _a2.call(venueBookingModule, "pendingStep", "checkout");
|
|
340
370
|
openLoginModal({
|
|
341
371
|
callback: (status) => {
|
|
372
|
+
var _a3;
|
|
342
373
|
if (status === "success") {
|
|
374
|
+
(_a3 = venueBookingModule == null ? void 0 : venueBookingModule.deleteUIState) == null ? void 0 : _a3.call(venueBookingModule, "pendingStep");
|
|
343
375
|
handleLoginSuccess().then(() => goToStep("checkout"));
|
|
344
376
|
}
|
|
345
377
|
}
|
|
@@ -347,7 +379,7 @@ function VenueBookingProvider({ entryContext, children }) {
|
|
|
347
379
|
return;
|
|
348
380
|
}
|
|
349
381
|
goToStep("checkout");
|
|
350
|
-
}, [isLogin, openLoginModal, handleLoginSuccess, goToStep]);
|
|
382
|
+
}, [isLogin, openLoginModal, handleLoginSuccess, goToStep, venueBookingModule]);
|
|
351
383
|
const handlePrimaryAction = (0, import_react.useCallback)(() => {
|
|
352
384
|
var _a2, _b2;
|
|
353
385
|
if (currentStep === "select-venue") {
|
|
@@ -458,7 +490,11 @@ function VenueBookingProvider({ entryContext, children }) {
|
|
|
458
490
|
}
|
|
459
491
|
}).catch((err) => {
|
|
460
492
|
console.warn("[venueBooking] prefetch getProductList failed", err);
|
|
493
|
+
}).finally(() => {
|
|
494
|
+
if (!unmounted) setAddonsResolved(true);
|
|
461
495
|
});
|
|
496
|
+
} else {
|
|
497
|
+
setAddonsResolved(true);
|
|
462
498
|
}
|
|
463
499
|
}
|
|
464
500
|
} catch (error) {
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
* venueBooking 入口组件
|
|
3
|
-
* 初始化国际化、标准化入口上下文,并挂载 Provider + Content
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
1
|
+
/// <reference types="react" />
|
|
6
2
|
import type { VenueBookingProps } from './types';
|
|
7
3
|
/** 场地预订主组件 */
|
|
8
|
-
declare function VenueBooking(props: VenueBookingProps):
|
|
4
|
+
declare function VenueBooking(props: VenueBookingProps): JSX.Element;
|
|
9
5
|
export type { VenueBookingProps } from './types';
|
|
10
6
|
export default VenueBooking;
|
|
@@ -78,6 +78,9 @@ declare const _default: {
|
|
|
78
78
|
'pisell2.venue.checkout.hotline': string;
|
|
79
79
|
'pisell2.venue.checkout.estimated.total': string;
|
|
80
80
|
'pisell2.venue.checkout.change': string;
|
|
81
|
+
'pisell2.venue.checkout.duration.hours_minutes': string;
|
|
82
|
+
'pisell2.venue.checkout.duration.hours': string;
|
|
83
|
+
'pisell2.venue.checkout.duration.minutes': string;
|
|
81
84
|
'pisell2.venue.grid.loading': string;
|
|
82
85
|
'pisell2.venue.legend.product.fallback': string;
|
|
83
86
|
'pisell2.venue.addons.empty': string;
|
|
@@ -199,6 +202,9 @@ declare const _default: {
|
|
|
199
202
|
'pisell2.venue.checkout.hotline': string;
|
|
200
203
|
'pisell2.venue.checkout.estimated.total': string;
|
|
201
204
|
'pisell2.venue.checkout.change': string;
|
|
205
|
+
'pisell2.venue.checkout.duration.hours_minutes': string;
|
|
206
|
+
'pisell2.venue.checkout.duration.hours': string;
|
|
207
|
+
'pisell2.venue.checkout.duration.minutes': string;
|
|
202
208
|
'pisell2.venue.grid.loading': string;
|
|
203
209
|
'pisell2.venue.legend.product.fallback': string;
|
|
204
210
|
'pisell2.venue.addons.empty': string;
|
|
@@ -320,6 +326,9 @@ declare const _default: {
|
|
|
320
326
|
'pisell2.venue.checkout.hotline': string;
|
|
321
327
|
'pisell2.venue.checkout.estimated.total': string;
|
|
322
328
|
'pisell2.venue.checkout.change': string;
|
|
329
|
+
'pisell2.venue.checkout.duration.hours_minutes': string;
|
|
330
|
+
'pisell2.venue.checkout.duration.hours': string;
|
|
331
|
+
'pisell2.venue.checkout.duration.minutes': string;
|
|
323
332
|
'pisell2.venue.grid.loading': string;
|
|
324
333
|
'pisell2.venue.legend.product.fallback': string;
|
|
325
334
|
'pisell2.venue.addons.empty': string;
|
|
@@ -441,6 +450,9 @@ declare const _default: {
|
|
|
441
450
|
'pisell2.venue.checkout.hotline': string;
|
|
442
451
|
'pisell2.venue.checkout.estimated.total': string;
|
|
443
452
|
'pisell2.venue.checkout.change': string;
|
|
453
|
+
'pisell2.venue.checkout.duration.hours_minutes': string;
|
|
454
|
+
'pisell2.venue.checkout.duration.hours': string;
|
|
455
|
+
'pisell2.venue.checkout.duration.minutes': string;
|
|
444
456
|
'pisell2.venue.grid.loading': string;
|
|
445
457
|
'pisell2.venue.legend.product.fallback': string;
|
|
446
458
|
'pisell2.venue.addons.empty': string;
|
|
@@ -562,6 +574,9 @@ declare const _default: {
|
|
|
562
574
|
'pisell2.venue.checkout.hotline': string;
|
|
563
575
|
'pisell2.venue.checkout.estimated.total': string;
|
|
564
576
|
'pisell2.venue.checkout.change': string;
|
|
577
|
+
'pisell2.venue.checkout.duration.hours_minutes': string;
|
|
578
|
+
'pisell2.venue.checkout.duration.hours': string;
|
|
579
|
+
'pisell2.venue.checkout.duration.minutes': string;
|
|
565
580
|
'pisell2.venue.grid.loading': string;
|
|
566
581
|
'pisell2.venue.legend.product.fallback': string;
|
|
567
582
|
'pisell2.venue.addons.empty': string;
|
|
@@ -98,6 +98,9 @@ var locales_default = {
|
|
|
98
98
|
"pisell2.venue.checkout.hotline": "Support hotline",
|
|
99
99
|
"pisell2.venue.checkout.estimated.total": "Estimated total",
|
|
100
100
|
"pisell2.venue.checkout.change": "Change",
|
|
101
|
+
"pisell2.venue.checkout.duration.hours_minutes": "{hours}h {minutes}min",
|
|
102
|
+
"pisell2.venue.checkout.duration.hours": "{hours}h",
|
|
103
|
+
"pisell2.venue.checkout.duration.minutes": "{minutes}min",
|
|
101
104
|
"pisell2.venue.grid.loading": "Loading...",
|
|
102
105
|
"pisell2.venue.legend.product.fallback": "Product",
|
|
103
106
|
"pisell2.venue.addons.empty": "No add-ons available.",
|
|
@@ -219,6 +222,9 @@ var locales_default = {
|
|
|
219
222
|
"pisell2.venue.checkout.hotline": "客服热线",
|
|
220
223
|
"pisell2.venue.checkout.estimated.total": "预估总价",
|
|
221
224
|
"pisell2.venue.checkout.change": "修改",
|
|
225
|
+
"pisell2.venue.checkout.duration.hours_minutes": "{hours}小时{minutes}分钟",
|
|
226
|
+
"pisell2.venue.checkout.duration.hours": "{hours}小时",
|
|
227
|
+
"pisell2.venue.checkout.duration.minutes": "{minutes}分钟",
|
|
222
228
|
"pisell2.venue.grid.loading": "加载中...",
|
|
223
229
|
"pisell2.venue.legend.product.fallback": "商品",
|
|
224
230
|
"pisell2.venue.addons.empty": "暂无可选附加商品",
|
|
@@ -340,6 +346,9 @@ var locales_default = {
|
|
|
340
346
|
"pisell2.venue.checkout.hotline": "客服熱線",
|
|
341
347
|
"pisell2.venue.checkout.estimated.total": "預估總價",
|
|
342
348
|
"pisell2.venue.checkout.change": "修改",
|
|
349
|
+
"pisell2.venue.checkout.duration.hours_minutes": "{hours}小時{minutes}分鐘",
|
|
350
|
+
"pisell2.venue.checkout.duration.hours": "{hours}小時",
|
|
351
|
+
"pisell2.venue.checkout.duration.minutes": "{minutes}分鐘",
|
|
343
352
|
"pisell2.venue.grid.loading": "加載中...",
|
|
344
353
|
"pisell2.venue.legend.product.fallback": "商品",
|
|
345
354
|
"pisell2.venue.addons.empty": "暫無可選附加商品",
|
|
@@ -461,6 +470,9 @@ var locales_default = {
|
|
|
461
470
|
"pisell2.venue.checkout.hotline": "サポート窓口",
|
|
462
471
|
"pisell2.venue.checkout.estimated.total": "見積合計",
|
|
463
472
|
"pisell2.venue.checkout.change": "変更",
|
|
473
|
+
"pisell2.venue.checkout.duration.hours_minutes": "{hours}時間{minutes}分",
|
|
474
|
+
"pisell2.venue.checkout.duration.hours": "{hours}時間",
|
|
475
|
+
"pisell2.venue.checkout.duration.minutes": "{minutes}分",
|
|
464
476
|
"pisell2.venue.grid.loading": "読み込み中...",
|
|
465
477
|
"pisell2.venue.legend.product.fallback": "商品",
|
|
466
478
|
"pisell2.venue.addons.empty": "追加できる商品がありません。",
|
|
@@ -582,6 +594,9 @@ var locales_default = {
|
|
|
582
594
|
"pisell2.venue.checkout.hotline": "Central de suporte",
|
|
583
595
|
"pisell2.venue.checkout.estimated.total": "Total estimado",
|
|
584
596
|
"pisell2.venue.checkout.change": "Alterar",
|
|
597
|
+
"pisell2.venue.checkout.duration.hours_minutes": "{hours} h {minutes} min",
|
|
598
|
+
"pisell2.venue.checkout.duration.hours": "{hours} h",
|
|
599
|
+
"pisell2.venue.checkout.duration.minutes": "{minutes} min",
|
|
585
600
|
"pisell2.venue.grid.loading": "Carregando...",
|
|
586
601
|
"pisell2.venue.legend.product.fallback": "Produto",
|
|
587
602
|
"pisell2.venue.addons.empty": "Nenhum adicional disponível.",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export default function RainbowTownBadmintonBookingPage():
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export default function RainbowTownBadmintonBookingPage(): JSX.Element;
|
|
@@ -2,5 +2,7 @@
|
|
|
2
2
|
* 商品详情 -> 订单行数据的转换工具
|
|
3
3
|
* 直接复用 scanOrder 的 transformProductDetail 逻辑
|
|
4
4
|
* 将商品详情弹窗回调 / 数量变更回调的 payload 转换为 OS 模块 addProductToOrder 所需的格式
|
|
5
|
+
*
|
|
6
|
+
* 订单行 _origin 与 scanOrder 一致:列表商品字段在顶层,详情回调挂在 callbackData
|
|
5
7
|
*/
|
|
6
8
|
export { transformProductDetailToOrderProduct, type ProductDetailCallbackPayload, type ScanOrderOrderProductInput, } from '../../scanOrder/utils/transformProductDetail';
|
|
@@ -2,5 +2,5 @@ import React from 'react';
|
|
|
2
2
|
import { State, WalletListContextType } from './types';
|
|
3
3
|
export declare const initialState: State;
|
|
4
4
|
export declare const Context: React.Context<WalletListContextType>;
|
|
5
|
-
export declare const Provider: (Component: React.ComponentType<any>) => (props: any) =>
|
|
5
|
+
export declare const Provider: (Component: React.ComponentType<any>) => (props: any) => JSX.Element;
|
|
6
6
|
export * from './types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import './index.less';
|
|
3
3
|
export declare const getAvatarText: (name: string) => string;
|
|
4
4
|
interface ITempHolderSelectorProps {
|
|
@@ -10,5 +10,5 @@ interface ITempHolderSelectorProps {
|
|
|
10
10
|
onCancel: () => void;
|
|
11
11
|
confirmLoading: boolean;
|
|
12
12
|
}
|
|
13
|
-
export default function TempHolderSelector(props: ITempHolderSelectorProps):
|
|
13
|
+
export default function TempHolderSelector(props: ITempHolderSelectorProps): JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { Modal as AntModal, ModalFuncProps as AntModalFuncProps, ModalProps as AntModalProps } from 'antd';
|
|
3
2
|
import './index.less';
|
|
4
3
|
interface ModalProps extends AntModalProps {
|
|
@@ -12,7 +11,7 @@ declare type ModalComponent = typeof OriginModal & {
|
|
|
12
11
|
success: typeof AntModal.success;
|
|
13
12
|
info: typeof AntModal.info;
|
|
14
13
|
};
|
|
15
|
-
declare const OriginModal: (props: ModalProps) =>
|
|
14
|
+
declare const OriginModal: (props: ModalProps) => JSX.Element;
|
|
16
15
|
declare const Modal: ModalComponent;
|
|
17
16
|
export declare type ModalFuncProps = AntModalFuncProps;
|
|
18
17
|
export default Modal;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface LogData {
|
|
3
2
|
key: string;
|
|
4
3
|
value: any;
|
|
@@ -16,8 +15,8 @@ interface UsePaymentLoggerOptions {
|
|
|
16
15
|
*/
|
|
17
16
|
declare const usePaymentLogger: (options: UsePaymentLoggerOptions) => {
|
|
18
17
|
logs: import("react").MutableRefObject<LogData[]>;
|
|
19
|
-
addLog: (
|
|
20
|
-
sendLogs: (
|
|
18
|
+
addLog: (logData: LogData) => void;
|
|
19
|
+
sendLogs: (title?: string, err?: any) => void;
|
|
21
20
|
};
|
|
22
21
|
export default usePaymentLogger;
|
|
23
22
|
export type { LogData, UsePaymentLoggerOptions };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import './index.less';
|
|
3
2
|
import { IClientNameProps } from './type';
|
|
4
|
-
declare const ClientName: ({ className, dataSource, style }: IClientNameProps) =>
|
|
3
|
+
declare const ClientName: ({ className, dataSource, style }: IClientNameProps) => JSX.Element | null;
|
|
5
4
|
export default ClientName;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
declare const DateSectionCom: ({ value, onChange, showTime, className, style, useSpace, format, itemStyle, }: any) => React.JSX.Element;
|
|
1
|
+
declare const DateSectionCom: ({ value, onChange, showTime, className, style, useSpace, format, itemStyle, }: any) => JSX.Element;
|
|
3
2
|
export default DateSectionCom;
|