@pisell/private-materials 6.11.123 → 6.11.125
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/meta.js +1 -1
- package/build/lowcode/render/default/view.js +6 -6
- package/build/lowcode/view.js +1 -1
- package/es/businessModel/SalesModel/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Header/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -1
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
- package/es/components/appointmentBooking/deposit/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
- package/es/components/booking/components/voucher/index.d.ts +0 -1
- package/es/components/booking/deposit/index.d.ts +0 -1
- package/es/components/booking/forms/footer.d.ts +0 -1
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/es/components/booking/forms/single/index.d.ts +0 -1
- package/es/components/booking/hooks/useClearCart.d.ts +0 -1
- package/es/components/booking/hooks/useQuotation.d.ts +0 -1
- package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
- package/es/components/booking/info/date/index.d.ts +0 -1
- package/es/components/booking/info/dateRange/index.d.ts +0 -1
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/es/components/booking/info/model.d.ts +1 -10
- package/es/components/booking/info/notes/index.d.ts +0 -1
- package/es/components/booking/info/service/Lists.d.ts +0 -1
- package/es/components/booking/info/service/Lists.js +1 -1
- package/es/components/booking/info/service/actions/index.d.ts +0 -1
- package/es/components/booking/info/service/addService/index.d.ts +0 -1
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/es/components/booking/info/service/serviceItem/index.d.ts +0 -1
- package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
- package/es/components/booking/info/service2/Lists.d.ts +0 -1
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info2/service/actions/index.d.ts +0 -1
- package/es/components/booking/info2/service/addService/index.d.ts +0 -1
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
- package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -1
- package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
- package/es/components/booking/materiels/duration/index.d.ts +0 -1
- package/es/components/booking/materiels/holder/index.d.ts +0 -1
- package/es/components/booking/materiels/startTime/index.d.ts +0 -1
- package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/es/components/booking/notes/addNote/index.d.ts +0 -1
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/checkout/PaymentModal.js +57 -46
- package/es/components/checkout/components/SearchAndClientModule/index.d.ts +0 -1
- package/es/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +0 -1
- package/es/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +0 -1
- package/es/components/ecocup/components/AddCustomerModal/index.d.ts +0 -1
- package/es/components/ecocup/components/CupActionList/index.d.ts +0 -1
- package/es/components/ecocup/components/CupActionModal/index.d.ts +0 -1
- package/es/components/ecocup/components/CupStatusModal/index.d.ts +0 -1
- package/es/components/ecocup/components/CustomerAndCupModal/index.d.ts +0 -1
- package/es/components/ecocup/components/MoreDropdown/index.d.ts +0 -1
- package/es/components/ecocup/components/SearchBar/index.d.ts +0 -1
- package/es/components/ecocup/components/SettingModal/index.d.ts +0 -1
- package/es/components/ecocup/cupList/hooks/useColumns.d.ts +0 -1
- package/es/components/ecocup/cupList/hooks/useSummary.d.ts +0 -1
- package/es/components/ecocup/cupList/index.d.ts +0 -1
- package/es/components/eftposPay/amount.d.ts +1 -2
- package/es/components/eftposPay/app.d.ts +0 -1
- package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
- package/es/components/eftposPay/component/fail/index.d.ts +0 -1
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/index.d.ts +0 -1
- package/es/components/eftposPay/linkly/index.d.ts +0 -1
- package/es/components/eftposPay/pay.d.ts +0 -1
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
- package/es/components/eventBooking/components/Voucher/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/es/components/list/List.js +9 -4
- package/es/components/pay/toB/components/Cache/index.d.ts +0 -1
- package/es/components/pay/toB/components/Card/index.d.ts +0 -1
- package/es/components/pay/toB/components/CardGroup/index.d.ts +0 -1
- package/es/components/pay/toB/components/ConfirmedPayment/index.d.ts +0 -1
- package/es/components/pay/toB/components/Content/Footer.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/index.d.ts +0 -1
- package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
- package/es/components/productExtension/index.d.ts +0 -1
- package/es/components/productSelect/components/TabProduct/index.d.ts +0 -1
- package/es/components/productSelect/components/productGroup/index.d.ts +0 -1
- package/es/components/ruleSetting/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
- package/es/components/shoppingCart/components/Cart/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
- package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/es/components/shoppingCart/hooks/usePromotionModal.d.ts +0 -1
- package/es/components/shoppingCart/hooks/useSkuModal.d.ts +0 -1
- package/es/components/shoppingCart/index.d.ts +0 -1
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +0 -1
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -1
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
- package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -1
- package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -1
- package/es/components/ticketBooking/utils/index.d.ts +1 -1
- package/es/components/ticketBooking/utils/index.js +14 -8
- package/es/components/walletList/index.d.ts +0 -1
- package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -1
- package/es/plus/contactInfoModal/ContactInfoContent.d.ts +0 -1
- package/es/plus/noteModal/AddTempModal.d.ts +0 -1
- package/es/plus/orderList/components/HandleActions.d.ts +0 -1
- package/es/plus/orderList/components/QuickFilter.d.ts +0 -1
- package/es/plus/orderList/components/Reset.d.ts +0 -1
- package/es/plus/orderList/components/Toolbar.d.ts +0 -1
- package/es/plus/orderList/config.d.ts +0 -1
- package/es/plus/pisellReservation/PisellReservation.js +381 -221
- package/es/plus/pisellReservation/components/PisellReservationSubcomponents.d.ts +11 -1
- package/es/plus/pisellReservation/components/PisellReservationSubcomponents.js +26 -5
- package/es/plus/pisellReservation/components/ReservationResourceWallResourceSelect.js +3 -4
- package/es/plus/pisellReservation/data/reservationDataUtils.d.ts +10 -1
- package/es/plus/pisellReservation/data/reservationDataUtils.js +57 -3
- package/es/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +0 -1
- package/es/plus/pisellReservation/hooks/usePisellReservationBookingData.d.ts +51 -0
- package/es/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +0 -1
- package/es/plus/pisellReservation/reservationConstants.d.ts +10 -12
- package/es/plus/pisellReservation/reservationConstants.js +6 -3
- package/es/plus/pisellSalesGrid/serve.d.ts +40 -0
- package/es/plus/pisellSalesManagement/components/BookingFormsPreview.d.ts +0 -1
- package/es/plus/pisellSalesManagement/config/booking.d.ts +0 -1
- package/es/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -1
- package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +0 -1
- package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
- package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
- package/es/plus/walletPassGallery/components/passList/index.d.ts +0 -1
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
- package/es/plus/walletPassGallery/index.d.ts +0 -1
- package/es/plus/webPosLogin/WebPosLogin.js +10 -8
- package/es/pro/Selector/demo.d.ts +0 -1
- package/es/pro/pisellPhoneKeyboard/index.d.ts +0 -1
- package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +0 -1
- package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -1
- package/es/pro/priceKeyboard/components/paymentKeyboard/index.d.ts +0 -1
- package/es/pro/priceKeyboard/hooks/rightItems.d.ts +0 -1
- package/lib/businessModel/SalesModel/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
- package/lib/components/appointmentBooking/deposit/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
- package/lib/components/booking/components/voucher/index.d.ts +0 -1
- package/lib/components/booking/deposit/index.d.ts +0 -1
- package/lib/components/booking/forms/footer.d.ts +0 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/lib/components/booking/forms/single/index.d.ts +0 -1
- package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
- package/lib/components/booking/hooks/useQuotation.d.ts +0 -1
- package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
- package/lib/components/booking/info/date/index.d.ts +0 -1
- package/lib/components/booking/info/dateRange/index.d.ts +0 -1
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/lib/components/booking/info/model.d.ts +1 -10
- package/lib/components/booking/info/notes/index.d.ts +0 -1
- package/lib/components/booking/info/service/Lists.d.ts +0 -1
- package/lib/components/booking/info/service/Lists.js +1 -1
- package/lib/components/booking/info/service/actions/index.d.ts +0 -1
- package/lib/components/booking/info/service/addService/index.d.ts +0 -1
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -1
- package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
- package/lib/components/booking/info/service2/Lists.d.ts +0 -1
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -1
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -1
- package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
- package/lib/components/booking/materiels/duration/index.d.ts +0 -1
- package/lib/components/booking/materiels/holder/index.d.ts +0 -1
- package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
- package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/lib/components/booking/notes/addNote/index.d.ts +0 -1
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/checkout/PaymentModal.js +45 -35
- package/lib/components/checkout/components/SearchAndClientModule/index.d.ts +0 -1
- package/lib/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +0 -1
- package/lib/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +0 -1
- package/lib/components/ecocup/components/AddCustomerModal/index.d.ts +0 -1
- package/lib/components/ecocup/components/CupActionList/index.d.ts +0 -1
- package/lib/components/ecocup/components/CupActionModal/index.d.ts +0 -1
- package/lib/components/ecocup/components/CupStatusModal/index.d.ts +0 -1
- package/lib/components/ecocup/components/CustomerAndCupModal/index.d.ts +0 -1
- package/lib/components/ecocup/components/MoreDropdown/index.d.ts +0 -1
- package/lib/components/ecocup/components/SearchBar/index.d.ts +0 -1
- package/lib/components/ecocup/components/SettingModal/index.d.ts +0 -1
- package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +0 -1
- package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +0 -1
- package/lib/components/ecocup/cupList/index.d.ts +0 -1
- package/lib/components/eftposPay/amount.d.ts +1 -2
- package/lib/components/eftposPay/app.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/index.d.ts +0 -1
- package/lib/components/eftposPay/linkly/index.d.ts +0 -1
- package/lib/components/eftposPay/pay.d.ts +0 -1
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
- package/lib/components/eventBooking/components/Voucher/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/lib/components/list/List.js +33 -27
- package/lib/components/pay/toB/components/Cache/index.d.ts +0 -1
- package/lib/components/pay/toB/components/Card/index.d.ts +0 -1
- package/lib/components/pay/toB/components/CardGroup/index.d.ts +0 -1
- package/lib/components/pay/toB/components/ConfirmedPayment/index.d.ts +0 -1
- package/lib/components/pay/toB/components/Content/Footer.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
- package/lib/components/productExtension/index.d.ts +0 -1
- package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -1
- package/lib/components/productSelect/components/productGroup/index.d.ts +0 -1
- package/lib/components/ruleSetting/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
- package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/usePromotionModal.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/useSkuModal.d.ts +0 -1
- package/lib/components/shoppingCart/index.d.ts +0 -1
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +0 -1
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -1
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -1
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -1
- package/lib/components/ticketBooking/utils/index.d.ts +1 -1
- package/lib/components/ticketBooking/utils/index.js +10 -6
- package/lib/components/walletList/index.d.ts +0 -1
- package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -1
- package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +0 -1
- package/lib/plus/noteModal/AddTempModal.d.ts +0 -1
- package/lib/plus/orderList/components/HandleActions.d.ts +0 -1
- package/lib/plus/orderList/components/QuickFilter.d.ts +0 -1
- package/lib/plus/orderList/components/Reset.d.ts +0 -1
- package/lib/plus/orderList/components/Toolbar.d.ts +0 -1
- package/lib/plus/orderList/config.d.ts +0 -1
- package/lib/plus/pisellReservation/PisellReservation.js +325 -170
- package/lib/plus/pisellReservation/components/PisellReservationSubcomponents.d.ts +11 -1
- package/lib/plus/pisellReservation/components/PisellReservationSubcomponents.js +13 -2
- package/lib/plus/pisellReservation/components/ReservationResourceWallResourceSelect.js +2 -3
- package/lib/plus/pisellReservation/data/reservationDataUtils.d.ts +10 -1
- package/lib/plus/pisellReservation/data/reservationDataUtils.js +52 -3
- package/lib/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +0 -1
- package/lib/plus/pisellReservation/hooks/usePisellReservationBookingData.d.ts +51 -0
- package/lib/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +0 -1
- package/lib/plus/pisellReservation/reservationConstants.d.ts +10 -12
- package/lib/plus/pisellReservation/reservationConstants.js +5 -3
- package/lib/plus/pisellSalesGrid/serve.d.ts +40 -0
- package/lib/plus/pisellSalesManagement/components/BookingFormsPreview.d.ts +0 -1
- package/lib/plus/pisellSalesManagement/config/booking.d.ts +0 -1
- package/lib/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -1
- package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +0 -1
- package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
- package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +0 -1
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
- package/lib/plus/walletPassGallery/index.d.ts +0 -1
- package/lib/plus/webPosLogin/WebPosLogin.js +5 -4
- package/lib/pro/Selector/demo.d.ts +0 -1
- package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -1
- package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +0 -1
- package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -1
- package/lib/pro/priceKeyboard/components/paymentKeyboard/index.d.ts +0 -1
- package/lib/pro/priceKeyboard/hooks/rightItems.d.ts +0 -1
- package/package.json +3 -3
- package/es/components/Sales/Summary/utils.d.ts +0 -58
- package/es/components/appointmentBooking/locales.d.ts +0 -606
- package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -9
- package/es/components/booking/components/voucher/utils.d.ts +0 -4
- package/es/components/booking/editBookingModal/utils.d.ts +0 -12
- package/es/components/booking/info/clientVariant/utils.d.ts +0 -3
- package/es/components/booking/info/header/index.d.ts +0 -4
- package/es/components/booking/info/service/editService/constants.d.ts +0 -1
- package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +0 -11
- package/es/components/booking/info2/cartClientCard/locales.d.ts +0 -33
- package/es/components/booking/info2/cartClientCard/types.d.ts +0 -19
- package/es/components/booking/info2/cartClientCard/utils.d.ts +0 -3
- package/es/components/booking/info2/model/index.d.ts +0 -1
- package/es/components/booking/info2/model/strategy/adapter/index.d.ts +0 -7
- package/es/components/booking/info2/model/strategy/adapter/promotion/evaluator.d.ts +0 -185
- package/es/components/booking/info2/model/strategy/adapter/promotion/type.d.ts +0 -420
- package/es/components/booking/info2/model/strategy/adapter/type.d.ts +0 -28
- package/es/components/booking/info2/model/strategy/adapter/walletPass/evaluator.d.ts +0 -84
- package/es/components/booking/info2/model/strategy/adapter/walletPass/example.d.ts +0 -4
- package/es/components/booking/info2/model/strategy/adapter/walletPass/index.d.ts +0 -32
- package/es/components/booking/info2/model/strategy/adapter/walletPass/locales.d.ts +0 -1
- package/es/components/booking/info2/model/strategy/adapter/walletPass/type.d.ts +0 -165
- package/es/components/booking/info2/model/strategy/adapter/walletPass/utils.d.ts +0 -50
- package/es/components/booking/info2/model/strategy/index.d.ts +0 -107
- package/es/components/booking/info2/model/strategy/strategy-example.d.ts +0 -5
- package/es/components/booking/info2/model/strategy/type.d.ts +0 -228
- package/es/components/booking/info2/service/editService/utils.d.ts +0 -28
- package/es/components/booking/info2/service/openNormalService.d.ts +0 -37
- package/es/components/booking/locales.d.ts +0 -1581
- package/es/components/booking/model.d.ts +0 -121
- package/es/components/checkout/components/AdditionalModule/locales.d.ts +0 -58
- package/es/components/checkout/components/PaymentDetailModal/index.d.ts +0 -38
- package/es/components/checkout/components/PaymentResultToast/types.d.ts +0 -59
- package/es/components/checkout/components/PaymentResultToast/utils.d.ts +0 -44
- package/es/components/checkout/components/ScrollableList/index.d.ts +0 -5
- package/es/components/checkout/components/ScrollableList/types.d.ts +0 -53
- package/es/components/checkout/components/WalletPassModule/types.d.ts +0 -134
- package/es/components/checkout/constants.d.ts +0 -2
- package/es/components/checkout/hooks/usePaymentLogger.d.ts +0 -2
- package/es/components/checkout/locales.d.ts +0 -856
- package/es/components/checkout/styles.d.ts +0 -67
- package/es/components/checkout/types.d.ts +0 -130
- package/es/components/checkout/utils.d.ts +0 -3
- package/es/components/ecocup/cupList/const.d.ts +0 -144
- package/es/components/ecocup/utils/download.d.ts +0 -7
- package/es/components/ecocup/utils/index.d.ts +0 -2
- package/es/components/eftpos/const.d.ts +0 -64
- package/es/components/eftpos/device.d.ts +0 -9
- package/es/components/eftpos/hooks.d.ts +0 -34
- package/es/components/eftpos/index.d.ts +0 -47
- package/es/components/eftpos/locales.d.ts +0 -163
- package/es/components/eftpos/table.d.ts +0 -21
- package/es/components/eftposPay/aggregatePayment/utils/logs.d.ts +0 -110
- package/es/components/eftposPay/component/fail/network.d.ts +0 -9
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -10
- package/es/components/eftposPay/component/manual/index.d.ts +0 -10
- package/es/components/eftposPay/component/signature/index.d.ts +0 -9
- package/es/components/eftposPay/const.d.ts +0 -195
- package/es/components/eftposPay/hooks.d.ts +0 -36
- package/es/components/eftposPay/huifu/const.d.ts +0 -5
- package/es/components/eftposPay/huifu/hooks.d.ts +0 -25
- package/es/components/eftposPay/huifu/types.d.ts +0 -14
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
- package/es/components/eftposPay/locales.d.ts +0 -608
- package/es/components/eftposPay/payo/config.d.ts +0 -13
- package/es/components/eftposPay/payo/hooks.d.ts +0 -10
- package/es/components/eftposPay/payo/payment.d.ts +0 -66
- package/es/components/eftposPay/store/index.d.ts +0 -358
- package/es/components/eftposPay/tip.d.ts +0 -10
- package/es/components/eftposPay/tyro/index.d.ts +0 -9
- package/es/components/eftposPay/utils/log/index.d.ts +0 -110
- package/es/components/eftposPay/windcave/helper.d.ts +0 -23
- package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -23
- package/es/components/eftposPay/windcave/windcave.d.ts +0 -7
- package/es/components/kioskSkuDetail/locales.d.ts +0 -43
- package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +0 -13
- package/es/components/list/components/ListItemSkeleton/index.d.ts +0 -2
- package/es/components/list/components/ScrollLoader/ScrollLoader.d.ts +0 -18
- package/es/components/list/components/ScrollLoader/index.d.ts +0 -2
- package/es/components/list/components/Tab/Tab.d.ts +0 -5
- package/es/components/list/components/Tab/index.d.ts +0 -2
- package/es/components/list/components/Tab/types.d.ts +0 -14
- package/es/components/list/components/TabSkeleton/TabSkeleton.d.ts +0 -11
- package/es/components/list/components/TabSkeleton/index.d.ts +0 -2
- package/es/components/list/components/WaterfallList/WaterfallList.d.ts +0 -33
- package/es/components/list/components/WaterfallList/index.d.ts +0 -2
- package/es/components/list/hooks/useDevice.d.ts +0 -24
- package/es/components/list/hooks/useWaterfall.d.ts +0 -34
- package/es/components/list/locales.d.ts +0 -108
- package/es/components/list/types.d.ts +0 -181
- package/es/components/list/utils/getText.d.ts +0 -53
- package/es/components/list/utils/index.d.ts +0 -19
- package/es/components/pay/toB/components/Content/Header.d.ts +0 -5
- package/es/components/pay/toB/components/Content/utils.d.ts +0 -16
- package/es/components/pay/toB/components/MX51/index.d.ts +0 -3
- package/es/components/pay/toB/hooks.d.ts +0 -12
- package/es/components/pay/toB/locales.d.ts +0 -88
- package/es/components/pay/toB/store/context.d.ts +0 -3
- package/es/components/pay/toB/store/hooks.d.ts +0 -15
- package/es/components/pay/toB/store/index.d.ts +0 -3
- package/es/components/pay/toB/store/provider.d.ts +0 -4
- package/es/components/pay/toB/store/utils.d.ts +0 -13
- package/es/components/pay/toB/types/index.d.ts +0 -81
- package/es/components/pay/toB/types/storeTypes.d.ts +0 -143
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -4
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -7
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -4
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -4
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -4
- package/es/components/pay/toC/locales.d.ts +0 -511
- package/es/components/pay/toC/model.d.ts +0 -41
- package/es/components/pay/toC/payGroup.d.ts +0 -48
- package/es/components/pisellSelectCustomerModal/locales.d.ts +0 -133
- package/es/components/ruleSetting/locales.d.ts +0 -78
- package/es/components/schedules/locales.d.ts +0 -143
- package/es/components/shoppingCart/locales.d.ts +0 -93
- package/es/components/shoppingCart/mock.d.ts +0 -54
- package/es/components/shoppingCart/type.d.ts +0 -61
- package/es/components/subTotal/locales.d.ts +0 -71
- package/es/components/systemSettings/registry/locales.d.ts +0 -534
- package/es/components/systemSettings/registry/services.d.ts +0 -97
- package/es/components/systemSettings/registry/types.d.ts +0 -140
- package/es/components/taxSelect/locales.d.ts +0 -38
- package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +0 -94
- package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
- package/es/components/ticketBooking/components/bookingDataPanel/constants.d.ts +0 -22
- package/es/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/es/components/ticketBooking/context/IsActiveContext.d.ts +0 -26
- package/es/components/ticketBooking/context/OsKeyContext.d.ts +0 -29
- package/es/components/ticketBooking/context/PlatformContext.d.ts +0 -22
- package/es/components/ticketBooking/context/index.d.ts +0 -3
- package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +0 -21
- package/es/components/ticketBooking/hooks/useRuntime.d.ts +0 -4
- package/es/components/ticketBooking/hooks/useSync.d.ts +0 -21
- package/es/components/ticketBooking/locales.d.ts +0 -388
- package/es/components/ticketBooking/miniRedux.d.ts +0 -22
- package/es/components/ticketBooking/sync.d.ts +0 -8
- package/es/components/ticketBooking/utils/edit.d.ts +0 -1
- package/es/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
- package/es/components/ticketBooking/utils/productCache.d.ts +0 -75
- package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
- package/es/components/workSpaceList/components/Card/constants.d.ts +0 -2
- package/es/hooks/printer.d.ts +0 -4
- package/es/hooks/useEngineContext.d.ts +0 -4
- package/es/hooks/useLogger.d.ts +0 -2
- package/es/hooks/useToast.d.ts +0 -2
- package/es/hooks/useWindowSize.d.ts +0 -5
- package/es/plus/noteModal/locales.d.ts +0 -53
- package/es/plus/noteModal/types.d.ts +0 -19
- package/es/plus/orderList/locales.d.ts +0 -618
- package/es/plus/pisellFinancialSummary/components/Collapse/Collapse.d.ts +0 -8
- package/es/plus/pisellFinancialSummary/components/Collapse/Collapse.stories.d.ts +0 -7
- package/es/plus/pisellFinancialSummary/components/Collapse/index.d.ts +0 -2
- package/es/plus/pisellFinancialSummary/components/Collapse/types.d.ts +0 -48
- package/es/plus/pisellFinancialSummary/locales.d.ts +0 -28
- package/es/plus/pisellFinancialSummary/types.d.ts +0 -139
- package/es/plus/pisellFinancialSummary/utils/buildSummaryItems.d.ts +0 -44
- package/es/plus/pisellFinancialSummary/utils/index.d.ts +0 -2
- package/es/plus/pisellReservation/components/bookingDetailModal/bookingProductToProductCard.d.ts +0 -10
- package/es/plus/pisellReservation/data/filterBookingsAtTimeCursor.d.ts +0 -9
- package/es/plus/pisellReservation/floorRoomCard/floorRoomCardDom.d.ts +0 -3
- package/es/plus/pisellReservation/floorRoomCard/floorRoomCardHeaderFormat.d.ts +0 -3
- package/es/plus/pisellReservation/floorRoomCard/floorRoomCardModel.d.ts +0 -59
- package/es/plus/pisellReservation/floorRoomCard/floorRoomCardPaymentUi.d.ts +0 -9
- package/es/plus/pisellReservation/floorRoomCard/mapFloorRoomCardViewProps.d.ts +0 -10
- package/es/plus/pisellReservation/floorRoomCard/views/RoomCardHeaderView.d.ts +0 -12
- package/es/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +0 -5
- package/es/plus/pisellReservation/floorRoomCard/views/RoomCardShellView.d.ts +0 -9
- package/es/plus/pisellReservation/locales/locales-ja.d.ts +0 -143
- package/es/plus/pisellReservation/locales/locales-pt.d.ts +0 -143
- package/es/plus/pisellReservation/locales/locales.d.ts +0 -708
- package/es/plus/pisellSalesGrid/types.d.ts +0 -197
- package/es/plus/pisellSalesManagement/hooks/saas_shop_pos.code-workspace +0 -14
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -68
- package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -173
- package/es/plus/productSelect/ProductCard/SkuCard/type.d.ts +0 -298
- package/es/plus/productSelect/ProductCard/SkuCard/utils.d.ts +0 -9
- package/es/plus/productSelect/ProductList/gridComponents.d.ts +0 -46
- package/es/plus/saasTeamMembers/locales.d.ts +0 -546
- package/es/plus/selectHolder/locales.d.ts +0 -38
- package/es/plus/skuOptionsSelection/locales.d.ts +0 -53
- package/es/plus/skuOptionsSelection/types.d.ts +0 -445
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
- package/es/plus/walletPassGallery/locales.d.ts +0 -473
- package/es/plus/webPosLogin/components/MediaDisplay/type.d.ts +0 -54
- package/es/plus/webPosLogin/locales.d.ts +0 -92
- package/es/plus/webPosLogin/types.d.ts +0 -288
- package/es/pro/Cards/components/SKUCard/types.d.ts +0 -73
- package/es/pro/Login2.0/components/PhoneInput.d.ts +0 -53
- package/es/pro/Login2.0/components/phoneValidation.d.ts +0 -17
- package/es/pro/Login2.0/shared/types.d.ts +0 -234
- package/es/pro/NumberKeyboardPopover/types.d.ts +0 -31
- package/es/pro/Selector/hooks/usePresetProps.d.ts +0 -24
- package/es/pro/multiDayTimeSelect/types.d.ts +0 -28
- package/es/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
- package/es/pro/pisellPriceKeyboardPopover/types.d.ts +0 -33
- package/es/pro/pisellSimplePriceKeyboardPopover/types.d.ts +0 -33
- package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +0 -63
- package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +0 -98
- package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +0 -68
- package/es/pro/priceKeyboard/components/discountKeyboard/types.d.ts +0 -17
- package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +0 -73
- package/es/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +0 -39
- package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +0 -18
- package/es/pro/priceKeyboard/hooks/keyActions.d.ts +0 -28
- package/es/pro/priceKeyboard/utils.d.ts +0 -31
- package/es/pro/skuDetailModal/locales.d.ts +0 -129
- package/es/pro/skuDetailModal/types.d.ts +0 -395
- package/es/pro/skuDetailModal/utils.d.ts +0 -56
- package/es/shared/locales/stock.d.ts +0 -57
- package/es/test/setup.d.ts +0 -1
- package/lib/components/Sales/Summary/utils.d.ts +0 -58
- package/lib/components/appointmentBooking/locales.d.ts +0 -606
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -9
- package/lib/components/booking/components/voucher/utils.d.ts +0 -4
- package/lib/components/booking/editBookingModal/utils.d.ts +0 -12
- package/lib/components/booking/info/clientVariant/utils.d.ts +0 -3
- package/lib/components/booking/info/header/index.d.ts +0 -4
- package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
- package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +0 -11
- package/lib/components/booking/info2/cartClientCard/locales.d.ts +0 -33
- package/lib/components/booking/info2/cartClientCard/types.d.ts +0 -19
- package/lib/components/booking/info2/cartClientCard/utils.d.ts +0 -3
- package/lib/components/booking/info2/model/index.d.ts +0 -1
- package/lib/components/booking/info2/model/strategy/adapter/index.d.ts +0 -7
- package/lib/components/booking/info2/model/strategy/adapter/promotion/evaluator.d.ts +0 -185
- package/lib/components/booking/info2/model/strategy/adapter/promotion/type.d.ts +0 -420
- package/lib/components/booking/info2/model/strategy/adapter/type.d.ts +0 -28
- package/lib/components/booking/info2/model/strategy/adapter/walletPass/evaluator.d.ts +0 -84
- package/lib/components/booking/info2/model/strategy/adapter/walletPass/example.d.ts +0 -4
- package/lib/components/booking/info2/model/strategy/adapter/walletPass/index.d.ts +0 -32
- package/lib/components/booking/info2/model/strategy/adapter/walletPass/locales.d.ts +0 -1
- package/lib/components/booking/info2/model/strategy/adapter/walletPass/type.d.ts +0 -165
- package/lib/components/booking/info2/model/strategy/adapter/walletPass/utils.d.ts +0 -50
- package/lib/components/booking/info2/model/strategy/index.d.ts +0 -107
- package/lib/components/booking/info2/model/strategy/strategy-example.d.ts +0 -5
- package/lib/components/booking/info2/model/strategy/type.d.ts +0 -228
- package/lib/components/booking/info2/service/editService/utils.d.ts +0 -28
- package/lib/components/booking/info2/service/openNormalService.d.ts +0 -37
- package/lib/components/booking/locales.d.ts +0 -1581
- package/lib/components/booking/model.d.ts +0 -121
- package/lib/components/checkout/components/AdditionalModule/locales.d.ts +0 -58
- package/lib/components/checkout/components/PaymentDetailModal/index.d.ts +0 -38
- package/lib/components/checkout/components/PaymentResultToast/types.d.ts +0 -59
- package/lib/components/checkout/components/PaymentResultToast/utils.d.ts +0 -44
- package/lib/components/checkout/components/ScrollableList/index.d.ts +0 -5
- package/lib/components/checkout/components/ScrollableList/types.d.ts +0 -53
- package/lib/components/checkout/components/WalletPassModule/types.d.ts +0 -134
- package/lib/components/checkout/constants.d.ts +0 -2
- package/lib/components/checkout/hooks/usePaymentLogger.d.ts +0 -2
- package/lib/components/checkout/locales.d.ts +0 -856
- package/lib/components/checkout/styles.d.ts +0 -67
- package/lib/components/checkout/types.d.ts +0 -130
- package/lib/components/checkout/utils.d.ts +0 -3
- package/lib/components/ecocup/cupList/const.d.ts +0 -144
- package/lib/components/ecocup/utils/download.d.ts +0 -7
- package/lib/components/ecocup/utils/index.d.ts +0 -2
- package/lib/components/eftpos/const.d.ts +0 -64
- package/lib/components/eftpos/device.d.ts +0 -9
- package/lib/components/eftpos/hooks.d.ts +0 -34
- package/lib/components/eftpos/index.d.ts +0 -47
- package/lib/components/eftpos/locales.d.ts +0 -163
- package/lib/components/eftpos/table.d.ts +0 -21
- package/lib/components/eftposPay/aggregatePayment/utils/logs.d.ts +0 -110
- package/lib/components/eftposPay/component/fail/network.d.ts +0 -9
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -10
- package/lib/components/eftposPay/component/manual/index.d.ts +0 -10
- package/lib/components/eftposPay/component/signature/index.d.ts +0 -9
- package/lib/components/eftposPay/const.d.ts +0 -195
- package/lib/components/eftposPay/hooks.d.ts +0 -36
- package/lib/components/eftposPay/huifu/const.d.ts +0 -5
- package/lib/components/eftposPay/huifu/hooks.d.ts +0 -25
- package/lib/components/eftposPay/huifu/types.d.ts +0 -14
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
- package/lib/components/eftposPay/locales.d.ts +0 -608
- package/lib/components/eftposPay/payo/config.d.ts +0 -13
- package/lib/components/eftposPay/payo/hooks.d.ts +0 -10
- package/lib/components/eftposPay/payo/payment.d.ts +0 -66
- package/lib/components/eftposPay/store/index.d.ts +0 -358
- package/lib/components/eftposPay/tip.d.ts +0 -10
- package/lib/components/eftposPay/tyro/index.d.ts +0 -9
- package/lib/components/eftposPay/utils/log/index.d.ts +0 -110
- package/lib/components/eftposPay/windcave/helper.d.ts +0 -23
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -23
- package/lib/components/eftposPay/windcave/windcave.d.ts +0 -7
- package/lib/components/kioskSkuDetail/locales.d.ts +0 -43
- package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +0 -13
- package/lib/components/list/components/ListItemSkeleton/index.d.ts +0 -2
- package/lib/components/list/components/ScrollLoader/ScrollLoader.d.ts +0 -18
- package/lib/components/list/components/ScrollLoader/index.d.ts +0 -2
- package/lib/components/list/components/Tab/Tab.d.ts +0 -5
- package/lib/components/list/components/Tab/index.d.ts +0 -2
- package/lib/components/list/components/Tab/types.d.ts +0 -14
- package/lib/components/list/components/TabSkeleton/TabSkeleton.d.ts +0 -11
- package/lib/components/list/components/TabSkeleton/index.d.ts +0 -2
- package/lib/components/list/components/WaterfallList/WaterfallList.d.ts +0 -33
- package/lib/components/list/components/WaterfallList/index.d.ts +0 -2
- package/lib/components/list/hooks/useDevice.d.ts +0 -24
- package/lib/components/list/hooks/useWaterfall.d.ts +0 -34
- package/lib/components/list/locales.d.ts +0 -108
- package/lib/components/list/types.d.ts +0 -181
- package/lib/components/list/utils/getText.d.ts +0 -53
- package/lib/components/list/utils/index.d.ts +0 -19
- package/lib/components/pay/toB/components/Content/Header.d.ts +0 -5
- package/lib/components/pay/toB/components/Content/utils.d.ts +0 -16
- package/lib/components/pay/toB/components/MX51/index.d.ts +0 -3
- package/lib/components/pay/toB/hooks.d.ts +0 -12
- package/lib/components/pay/toB/locales.d.ts +0 -88
- package/lib/components/pay/toB/store/context.d.ts +0 -3
- package/lib/components/pay/toB/store/hooks.d.ts +0 -15
- package/lib/components/pay/toB/store/index.d.ts +0 -3
- package/lib/components/pay/toB/store/provider.d.ts +0 -4
- package/lib/components/pay/toB/store/utils.d.ts +0 -13
- package/lib/components/pay/toB/types/index.d.ts +0 -81
- package/lib/components/pay/toB/types/storeTypes.d.ts +0 -143
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -4
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -7
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -4
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -4
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -4
- package/lib/components/pay/toC/locales.d.ts +0 -511
- package/lib/components/pay/toC/model.d.ts +0 -41
- package/lib/components/pay/toC/payGroup.d.ts +0 -48
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +0 -133
- package/lib/components/ruleSetting/locales.d.ts +0 -78
- package/lib/components/schedules/locales.d.ts +0 -143
- package/lib/components/shoppingCart/locales.d.ts +0 -93
- package/lib/components/shoppingCart/mock.d.ts +0 -54
- package/lib/components/shoppingCart/type.d.ts +0 -61
- package/lib/components/subTotal/locales.d.ts +0 -71
- package/lib/components/systemSettings/registry/locales.d.ts +0 -534
- package/lib/components/systemSettings/registry/services.d.ts +0 -97
- package/lib/components/systemSettings/registry/types.d.ts +0 -140
- package/lib/components/taxSelect/locales.d.ts +0 -38
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +0 -94
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
- package/lib/components/ticketBooking/components/bookingDataPanel/constants.d.ts +0 -22
- package/lib/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/lib/components/ticketBooking/context/IsActiveContext.d.ts +0 -26
- package/lib/components/ticketBooking/context/OsKeyContext.d.ts +0 -29
- package/lib/components/ticketBooking/context/PlatformContext.d.ts +0 -22
- package/lib/components/ticketBooking/context/index.d.ts +0 -3
- package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +0 -21
- package/lib/components/ticketBooking/hooks/useRuntime.d.ts +0 -4
- package/lib/components/ticketBooking/hooks/useSync.d.ts +0 -21
- package/lib/components/ticketBooking/locales.d.ts +0 -388
- package/lib/components/ticketBooking/miniRedux.d.ts +0 -22
- package/lib/components/ticketBooking/sync.d.ts +0 -8
- package/lib/components/ticketBooking/utils/edit.d.ts +0 -1
- package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
- package/lib/components/ticketBooking/utils/productCache.d.ts +0 -75
- package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
- package/lib/components/workSpaceList/components/Card/constants.d.ts +0 -2
- package/lib/hooks/printer.d.ts +0 -4
- package/lib/hooks/useEngineContext.d.ts +0 -4
- package/lib/hooks/useLogger.d.ts +0 -2
- package/lib/hooks/useToast.d.ts +0 -2
- package/lib/hooks/useWindowSize.d.ts +0 -5
- package/lib/plus/noteModal/locales.d.ts +0 -53
- package/lib/plus/noteModal/types.d.ts +0 -19
- package/lib/plus/orderList/locales.d.ts +0 -618
- package/lib/plus/pisellFinancialSummary/components/Collapse/Collapse.d.ts +0 -8
- package/lib/plus/pisellFinancialSummary/components/Collapse/Collapse.stories.d.ts +0 -7
- package/lib/plus/pisellFinancialSummary/components/Collapse/index.d.ts +0 -2
- package/lib/plus/pisellFinancialSummary/components/Collapse/types.d.ts +0 -48
- package/lib/plus/pisellFinancialSummary/locales.d.ts +0 -28
- package/lib/plus/pisellFinancialSummary/types.d.ts +0 -139
- package/lib/plus/pisellFinancialSummary/utils/buildSummaryItems.d.ts +0 -44
- package/lib/plus/pisellFinancialSummary/utils/index.d.ts +0 -2
- package/lib/plus/pisellReservation/components/bookingDetailModal/bookingProductToProductCard.d.ts +0 -10
- package/lib/plus/pisellReservation/data/filterBookingsAtTimeCursor.d.ts +0 -9
- package/lib/plus/pisellReservation/floorRoomCard/floorRoomCardDom.d.ts +0 -3
- package/lib/plus/pisellReservation/floorRoomCard/floorRoomCardHeaderFormat.d.ts +0 -3
- package/lib/plus/pisellReservation/floorRoomCard/floorRoomCardModel.d.ts +0 -59
- package/lib/plus/pisellReservation/floorRoomCard/floorRoomCardPaymentUi.d.ts +0 -9
- package/lib/plus/pisellReservation/floorRoomCard/mapFloorRoomCardViewProps.d.ts +0 -10
- package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardHeaderView.d.ts +0 -12
- package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +0 -5
- package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardShellView.d.ts +0 -9
- package/lib/plus/pisellReservation/locales/locales-ja.d.ts +0 -143
- package/lib/plus/pisellReservation/locales/locales-pt.d.ts +0 -143
- package/lib/plus/pisellReservation/locales/locales.d.ts +0 -708
- package/lib/plus/pisellSalesGrid/types.d.ts +0 -197
- package/lib/plus/pisellSalesManagement/hooks/saas_shop_pos.code-workspace +0 -14
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -68
- package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -173
- package/lib/plus/productSelect/ProductCard/SkuCard/type.d.ts +0 -298
- package/lib/plus/productSelect/ProductCard/SkuCard/utils.d.ts +0 -9
- package/lib/plus/productSelect/ProductList/gridComponents.d.ts +0 -46
- package/lib/plus/saasTeamMembers/locales.d.ts +0 -546
- package/lib/plus/selectHolder/locales.d.ts +0 -38
- package/lib/plus/skuOptionsSelection/locales.d.ts +0 -53
- package/lib/plus/skuOptionsSelection/types.d.ts +0 -445
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
- package/lib/plus/walletPassGallery/locales.d.ts +0 -473
- package/lib/plus/webPosLogin/components/MediaDisplay/type.d.ts +0 -54
- package/lib/plus/webPosLogin/locales.d.ts +0 -92
- package/lib/plus/webPosLogin/types.d.ts +0 -288
- package/lib/pro/Cards/components/SKUCard/types.d.ts +0 -73
- package/lib/pro/Login2.0/components/PhoneInput.d.ts +0 -53
- package/lib/pro/Login2.0/components/phoneValidation.d.ts +0 -17
- package/lib/pro/Login2.0/shared/types.d.ts +0 -234
- package/lib/pro/NumberKeyboardPopover/types.d.ts +0 -31
- package/lib/pro/Selector/hooks/usePresetProps.d.ts +0 -24
- package/lib/pro/multiDayTimeSelect/types.d.ts +0 -28
- package/lib/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
- package/lib/pro/pisellPriceKeyboardPopover/types.d.ts +0 -33
- package/lib/pro/pisellSimplePriceKeyboardPopover/types.d.ts +0 -33
- package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +0 -63
- package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +0 -98
- package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +0 -68
- package/lib/pro/priceKeyboard/components/discountKeyboard/types.d.ts +0 -17
- package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +0 -73
- package/lib/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +0 -39
- package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +0 -18
- package/lib/pro/priceKeyboard/hooks/keyActions.d.ts +0 -28
- package/lib/pro/priceKeyboard/utils.d.ts +0 -31
- package/lib/pro/skuDetailModal/locales.d.ts +0 -129
- package/lib/pro/skuDetailModal/types.d.ts +0 -395
- package/lib/pro/skuDetailModal/utils.d.ts +0 -56
- package/lib/shared/locales/stock.d.ts +0 -57
- package/lib/test/setup.d.ts +0 -1
|
@@ -60,7 +60,6 @@ var import_reservationDensity = require("./data/reservationDensity");
|
|
|
60
60
|
var import_bookingToReservationTables = require("./data/bookingToReservationTables");
|
|
61
61
|
var import_hudDrawerLocalListQuery = require("./data/hudDrawerLocalListQuery");
|
|
62
62
|
var import_reservationTablesMerge = require("./data/reservationTablesMerge");
|
|
63
|
-
var import_formResourceToReservationTables = require("./data/formResourceToReservationTables");
|
|
64
63
|
var import_bookingToReservationTables2 = require("./data/bookingToReservationTables");
|
|
65
64
|
var import_calendarAdapter = require("./data/calendarAdapter");
|
|
66
65
|
var import_reservationDataUtils = require("./data/reservationDataUtils");
|
|
@@ -71,13 +70,148 @@ var import_useReservationFloorMapMerged = require("./floorMap/useReservationFloo
|
|
|
71
70
|
var import_ReservationCalendarDayBookingRoomCard = require("./components/ReservationCalendarDayBookingRoomCard");
|
|
72
71
|
var import_reservationConstants = require("./reservationConstants");
|
|
73
72
|
var import_mapReservationToVenueWallCards = require("./data/mapReservationToVenueWallCards");
|
|
74
|
-
var import_ReservationResourceWallResourceSelect = require("./components/ReservationResourceWallResourceSelect");
|
|
75
73
|
var import_reservationOperatingDayRange = require("./data/reservationOperatingDayRange");
|
|
76
74
|
var import_useReservationScheduleDebounced = require("./hooks/useReservationScheduleDebounced");
|
|
77
75
|
var import_useReservationSalesHostData = require("./hooks/useReservationSalesHostData");
|
|
78
76
|
var import_useNewReservationRoutesFromEngine = require("./hooks/useNewReservationRoutesFromEngine");
|
|
79
77
|
var import_useReservationLoadingShownDebounced = require("./hooks/useReservationLoadingShownDebounced");
|
|
80
78
|
var import_useFloorMapBookingInteraction = require("./hooks/useFloorMapBookingInteraction");
|
|
79
|
+
function sanitizeVenueWallResourceLayout(raw) {
|
|
80
|
+
if (raw == null || typeof raw !== "object") return void 0;
|
|
81
|
+
const o = raw;
|
|
82
|
+
const clampInt = (v, min, max, d) => {
|
|
83
|
+
const n = typeof v === "number" ? v : Number(v);
|
|
84
|
+
if (!Number.isFinite(n)) return d;
|
|
85
|
+
return Math.max(min, Math.min(max, Math.round(n)));
|
|
86
|
+
};
|
|
87
|
+
const heroRaw = typeof o.heroMaxWidthRatio === "number" ? o.heroMaxWidthRatio : Number(o.heroMaxWidthRatio);
|
|
88
|
+
const heroMaxWidthRatio = Number.isFinite(heroRaw) ? Math.max(0.4, Math.min(0.8, heroRaw)) : import_materials.DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST.heroMaxWidthRatio;
|
|
89
|
+
const layoutKey = typeof o.layoutKey === "string" && o.layoutKey.length > 0 ? o.layoutKey : import_materials.DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST.layoutKey;
|
|
90
|
+
return {
|
|
91
|
+
layoutKey,
|
|
92
|
+
customCols: clampInt(
|
|
93
|
+
o.customCols,
|
|
94
|
+
1,
|
|
95
|
+
6,
|
|
96
|
+
import_materials.DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST.customCols
|
|
97
|
+
),
|
|
98
|
+
customRows: clampInt(
|
|
99
|
+
o.customRows,
|
|
100
|
+
1,
|
|
101
|
+
6,
|
|
102
|
+
import_materials.DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST.customRows
|
|
103
|
+
),
|
|
104
|
+
pageDurationSec: clampInt(
|
|
105
|
+
o.pageDurationSec,
|
|
106
|
+
3,
|
|
107
|
+
60,
|
|
108
|
+
import_materials.DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST.pageDurationSec
|
|
109
|
+
),
|
|
110
|
+
boardingSoonBeforeMin: clampInt(
|
|
111
|
+
o.boardingSoonBeforeMin,
|
|
112
|
+
1,
|
|
113
|
+
60,
|
|
114
|
+
import_materials.DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST.boardingSoonBeforeMin
|
|
115
|
+
),
|
|
116
|
+
heroMaxWidthRatio
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
function isVenueWallAppearanceThemeNonEmpty(t) {
|
|
120
|
+
const slotHasData = (s) => {
|
|
121
|
+
if (!s) return false;
|
|
122
|
+
if (s.occupiedCardColor || s.availableCardColor) return true;
|
|
123
|
+
const o = s.statusToneOverrides;
|
|
124
|
+
return o != null && Object.keys(o).length > 0;
|
|
125
|
+
};
|
|
126
|
+
return slotHasData(t.light) || slotHasData(t.dark);
|
|
127
|
+
}
|
|
128
|
+
function dedupeResourceWallIdsPreserveOrder(ids) {
|
|
129
|
+
const seen = /* @__PURE__ */ new Set();
|
|
130
|
+
const out = [];
|
|
131
|
+
for (const raw of ids) {
|
|
132
|
+
const t = String(raw).trim();
|
|
133
|
+
if (!t || seen.has(t)) continue;
|
|
134
|
+
seen.add(t);
|
|
135
|
+
out.push(t);
|
|
136
|
+
}
|
|
137
|
+
return out;
|
|
138
|
+
}
|
|
139
|
+
function parseResourceWallLocalStorage(raw, whitelist) {
|
|
140
|
+
const empty = { filterValuePatches: {} };
|
|
141
|
+
if (!raw) return empty;
|
|
142
|
+
try {
|
|
143
|
+
const parsed = JSON.parse(raw);
|
|
144
|
+
if (Array.isArray(parsed)) {
|
|
145
|
+
return {
|
|
146
|
+
resourceIds: parsed.map(String),
|
|
147
|
+
resourceWallResourceIdsInFile: true,
|
|
148
|
+
filterValuePatches: {}
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
if (!parsed || typeof parsed !== "object") return empty;
|
|
152
|
+
const o = parsed;
|
|
153
|
+
const hasRidKey = Object.prototype.hasOwnProperty.call(
|
|
154
|
+
o,
|
|
155
|
+
"resource_wall_resource_ids"
|
|
156
|
+
);
|
|
157
|
+
const ridRaw = o.resource_wall_resource_ids;
|
|
158
|
+
const resourceIds = !hasRidKey ? void 0 : Array.isArray(ridRaw) ? ridRaw.map(String) : [];
|
|
159
|
+
const patches = {};
|
|
160
|
+
const fv = o.filter_values;
|
|
161
|
+
if (fv && typeof fv === "object") {
|
|
162
|
+
for (const k of whitelist) {
|
|
163
|
+
if (k === "resource_wall_resource_ids") continue;
|
|
164
|
+
if (Object.prototype.hasOwnProperty.call(fv, k)) {
|
|
165
|
+
patches[k] = fv[k];
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
const legacyTones = o.venueWallStatusToneOverrides;
|
|
170
|
+
const diskTheme = o.venueWallAppearanceTheme;
|
|
171
|
+
let venueWallAppearanceTheme = diskTheme && typeof diskTheme === "object" ? diskTheme : void 0;
|
|
172
|
+
if (!venueWallAppearanceTheme && legacyTones && typeof legacyTones === "object" && Object.keys(legacyTones).length > 0) {
|
|
173
|
+
venueWallAppearanceTheme = {
|
|
174
|
+
light: { statusToneOverrides: legacyTones },
|
|
175
|
+
dark: { statusToneOverrides: legacyTones }
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
const rawMode = o.venueWallAppearanceMode;
|
|
179
|
+
const venueWallAppearanceMode = rawMode === "light" || rawMode === "dark" ? rawMode : void 0;
|
|
180
|
+
const venueWallResourceLayout = sanitizeVenueWallResourceLayout(
|
|
181
|
+
o.venueWallResourceLayout
|
|
182
|
+
);
|
|
183
|
+
return {
|
|
184
|
+
resourceIds,
|
|
185
|
+
resourceWallResourceIdsInFile: hasRidKey,
|
|
186
|
+
filterValuePatches: patches,
|
|
187
|
+
venueWallAppearanceTheme,
|
|
188
|
+
venueWallAppearanceMode,
|
|
189
|
+
venueWallResourceLayout
|
|
190
|
+
};
|
|
191
|
+
} catch {
|
|
192
|
+
return empty;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
function readResourceWallPersistedSliceFromDisk(bodyViewStorageKey) {
|
|
196
|
+
const key = `${import_reservationConstants.PISELL_RESERVATION_RESOURCE_WALL_FILTER_STORAGE_PREFIX}:${bodyViewStorageKey ?? "default"}`;
|
|
197
|
+
let raw = null;
|
|
198
|
+
try {
|
|
199
|
+
if (typeof localStorage !== "undefined") {
|
|
200
|
+
raw = localStorage.getItem(key);
|
|
201
|
+
}
|
|
202
|
+
} catch {
|
|
203
|
+
raw = null;
|
|
204
|
+
}
|
|
205
|
+
const ls = parseResourceWallLocalStorage(
|
|
206
|
+
raw,
|
|
207
|
+
import_reservationConstants.RESERVATION_RESOURCE_WALL_PERSISTED_FILTER_VALUE_KEYS
|
|
208
|
+
);
|
|
209
|
+
return {
|
|
210
|
+
venueWallAppearanceTheme: ls.venueWallAppearanceTheme != null && isVenueWallAppearanceThemeNonEmpty(ls.venueWallAppearanceTheme) ? ls.venueWallAppearanceTheme : {},
|
|
211
|
+
venueWallAppearanceMode: ls.venueWallAppearanceMode === "light" || ls.venueWallAppearanceMode === "dark" ? ls.venueWallAppearanceMode : "light",
|
|
212
|
+
venueWallResourceLayout: ls.venueWallResourceLayout ?? import_materials.DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST
|
|
213
|
+
};
|
|
214
|
+
}
|
|
81
215
|
function ReservationHudMapItemsSync({
|
|
82
216
|
items,
|
|
83
217
|
setItems
|
|
@@ -377,29 +511,6 @@ var PisellReservationCore = (props) => {
|
|
|
377
511
|
dataProp
|
|
378
512
|
]
|
|
379
513
|
);
|
|
380
|
-
const resourceWallFilterSelectOptions = (0, import_react.useMemo)(() => {
|
|
381
|
-
if (isInternalListData && Array.isArray(resourceBoardData.data) && resourceBoardData.data.length > 0) {
|
|
382
|
-
return (0, import_formResourceToReservationTables.formResourceListToReservationTableRows)(
|
|
383
|
-
resourceBoardData.data
|
|
384
|
-
).map((r) => ({
|
|
385
|
-
label: r.code || r.main_field || String(r.id),
|
|
386
|
-
value: String(r.id)
|
|
387
|
-
}));
|
|
388
|
-
}
|
|
389
|
-
const seen = /* @__PURE__ */ new Set();
|
|
390
|
-
const out = [];
|
|
391
|
-
for (const row of tables) {
|
|
392
|
-
const id = String(row.id);
|
|
393
|
-
if (!id || id === "undefined" || id === "null") continue;
|
|
394
|
-
if (seen.has(id)) continue;
|
|
395
|
-
seen.add(id);
|
|
396
|
-
out.push({
|
|
397
|
-
label: row.code || row.main_field || id,
|
|
398
|
-
value: id
|
|
399
|
-
});
|
|
400
|
-
}
|
|
401
|
-
return out;
|
|
402
|
-
}, [isInternalListData, resourceBoardData.data, tables]);
|
|
403
514
|
const calendarOrderedResourceIds = (0, import_react.useMemo)(() => {
|
|
404
515
|
const fromScene = (0, import_calendarAdapter.orderedCanvasResourceRecordIdStrings)(
|
|
405
516
|
floorConfigForBindings.sceneElements,
|
|
@@ -449,103 +560,10 @@ var PisellReservationCore = (props) => {
|
|
|
449
560
|
}),
|
|
450
561
|
[floorDayBookingData.data, calendarCanvasIdSet]
|
|
451
562
|
);
|
|
452
|
-
(0, import_react.useEffect)(() => {
|
|
453
|
-
if (shellBodyView !== "calendar") return;
|
|
454
|
-
const summarizeBooking = (b) => ({
|
|
455
|
-
id: b.id,
|
|
456
|
-
courtId: b.courtId,
|
|
457
|
-
date: b.date,
|
|
458
|
-
startHour: b.startHour,
|
|
459
|
-
endHour: b.endHour,
|
|
460
|
-
name: b.name,
|
|
461
|
-
kind: b.kind
|
|
462
|
-
});
|
|
463
|
-
const summarizeResource = (r) => ({
|
|
464
|
-
id: r.id,
|
|
465
|
-
name: r.name,
|
|
466
|
-
groupType: r.groupType
|
|
467
|
-
});
|
|
468
|
-
console.log("[PisellReservation] calendar 展示数据", {
|
|
469
|
-
shellBodyView,
|
|
470
|
-
calendarGranularity,
|
|
471
|
-
anchorDate: schedule.date.toISOString(),
|
|
472
|
-
scheduleAt: (0, import_dayjs.default)(schedule.at).isValid() ? (0, import_dayjs.default)(schedule.at).toISOString() : String(schedule.at),
|
|
473
|
-
timelineRange: effectiveTimelineRange,
|
|
474
|
-
floorDayBookingLoading: floorDayBookingData.loading,
|
|
475
|
-
floorDayBookingCount: Array.isArray(floorDayBookingData.data) ? floorDayBookingData.data.length : 0,
|
|
476
|
-
calendarOrderedResourceIds,
|
|
477
|
-
resourcesCount: calendarResources.length,
|
|
478
|
-
resourcesPreview: calendarResources.slice(0, 12).map(summarizeResource),
|
|
479
|
-
bookingsCount: calendarBookings.length,
|
|
480
|
-
bookingsPreview: calendarBookings.slice(0, 12).map(summarizeBooking),
|
|
481
|
-
resourcesFull: calendarResources,
|
|
482
|
-
bookingsFull: calendarBookings
|
|
483
|
-
});
|
|
484
|
-
}, [
|
|
485
|
-
shellBodyView,
|
|
486
|
-
calendarGranularity,
|
|
487
|
-
schedule.date,
|
|
488
|
-
schedule.at,
|
|
489
|
-
effectiveTimelineRange,
|
|
490
|
-
floorDayBookingData.loading,
|
|
491
|
-
floorDayBookingData.data,
|
|
492
|
-
calendarOrderedResourceIds,
|
|
493
|
-
calendarResources,
|
|
494
|
-
calendarBookings
|
|
495
|
-
]);
|
|
496
563
|
const venueWallCards = (0, import_react.useMemo)(
|
|
497
564
|
() => (0, import_mapReservationToVenueWallCards.mapReservationRowsToVenueWallCards)(tables),
|
|
498
565
|
[tables]
|
|
499
566
|
);
|
|
500
|
-
(0, import_react.useEffect)(() => {
|
|
501
|
-
if (shellBodyView !== "resourceWall") return;
|
|
502
|
-
const filterKey = import_materials.DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY;
|
|
503
|
-
const sp = searchParams;
|
|
504
|
-
const fv = sp == null ? void 0 : sp.filter;
|
|
505
|
-
const vals = fv && typeof fv === "object" && fv !== null && typeof fv.values === "object" && fv.values !== null ? fv.values : {};
|
|
506
|
-
const selectedRaw = vals[filterKey];
|
|
507
|
-
const selectedIds = Array.isArray(selectedRaw) ? selectedRaw.map((x) => String(x)) : null;
|
|
508
|
-
const allCards = venueWallCards;
|
|
509
|
-
const visibleCards = selectedIds == null || selectedIds.length === 0 ? allCards : (() => {
|
|
510
|
-
const set = new Set(selectedIds);
|
|
511
|
-
return allCards.filter((c) => set.has(String(c.resourceId)));
|
|
512
|
-
})();
|
|
513
|
-
const summarize = (c) => {
|
|
514
|
-
var _a2;
|
|
515
|
-
return {
|
|
516
|
-
resourceId: c.resourceId,
|
|
517
|
-
resource: c.resource,
|
|
518
|
-
area: c.area,
|
|
519
|
-
status: c.status,
|
|
520
|
-
currentTime: c.currentTime,
|
|
521
|
-
currentBooking: c.currentBooking,
|
|
522
|
-
startsInMin: c.startsInMin,
|
|
523
|
-
lateMin: c.lateMin,
|
|
524
|
-
remainingMin: c.remainingMin,
|
|
525
|
-
nextListHead: (_a2 = c.nextList) == null ? void 0 : _a2.slice(0, 2)
|
|
526
|
-
};
|
|
527
|
-
};
|
|
528
|
-
console.log("[PisellReservation] resourceWall 展示数据", {
|
|
529
|
-
shellBodyView,
|
|
530
|
-
filterFieldKey: filterKey,
|
|
531
|
-
searchParamsFilterValues: vals,
|
|
532
|
-
selectedIds,
|
|
533
|
-
floorDayBookingLoading: floorDayBookingData.loading,
|
|
534
|
-
floorBookingExtraParams,
|
|
535
|
-
cardsCount: allCards.length,
|
|
536
|
-
visibleCount: visibleCards.length,
|
|
537
|
-
cardsPreview: allCards.slice(0, 8).map(summarize),
|
|
538
|
-
visiblePreview: visibleCards.slice(0, 8).map(summarize),
|
|
539
|
-
cardsFull: allCards,
|
|
540
|
-
visibleFull: visibleCards
|
|
541
|
-
});
|
|
542
|
-
}, [
|
|
543
|
-
shellBodyView,
|
|
544
|
-
venueWallCards,
|
|
545
|
-
floorDayBookingData.loading,
|
|
546
|
-
searchParams,
|
|
547
|
-
floorBookingExtraParams
|
|
548
|
-
]);
|
|
549
567
|
const resourceWallFilterStorageKey = `${import_reservationConstants.PISELL_RESERVATION_RESOURCE_WALL_FILTER_STORAGE_PREFIX}:${bodyViewStorageKey ?? "default"}`;
|
|
550
568
|
const debouncedScheduleKey = (0, import_react.useMemo)(
|
|
551
569
|
() => `${(0, import_dayjs.default)(debouncedSchedule.date).startOf("day").valueOf()}_${(0, import_dayjs.default)(
|
|
@@ -606,6 +624,16 @@ var PisellReservationCore = (props) => {
|
|
|
606
624
|
(0, import_reservationDataUtils.readBodyViewFromStorageKey)(bodyViewStorageKey)
|
|
607
625
|
);
|
|
608
626
|
const resourceWallFilterHydratedRef = (0, import_react.useRef)(false);
|
|
627
|
+
const [venueWallBoot] = (0, import_react.useState)(
|
|
628
|
+
() => readResourceWallPersistedSliceFromDisk(bodyViewStorageKey)
|
|
629
|
+
);
|
|
630
|
+
const [venueWallAppearanceTheme, setVenueWallAppearanceTheme] = (0, import_react.useState)(
|
|
631
|
+
venueWallBoot.venueWallAppearanceTheme
|
|
632
|
+
);
|
|
633
|
+
const [venueWallAppearanceMode, setVenueWallAppearanceMode] = (0, import_react.useState)(venueWallBoot.venueWallAppearanceMode);
|
|
634
|
+
const [venueWallResourceLayout, setVenueWallResourceLayout] = (0, import_react.useState)(
|
|
635
|
+
venueWallBoot.venueWallResourceLayout
|
|
636
|
+
);
|
|
609
637
|
const floorMapLayoutRef = (0, import_react.useRef)(null);
|
|
610
638
|
const [followWallClock, setFollowWallClock] = (0, import_react.useState)(true);
|
|
611
639
|
const [calendarGranularity, setCalendarGranularity] = (0, import_react.useState)("week");
|
|
@@ -938,23 +966,139 @@ var PisellReservationCore = (props) => {
|
|
|
938
966
|
);
|
|
939
967
|
const onSearch = isInternalListData ? onGridBookingSearch : onSearchProp;
|
|
940
968
|
const onReset = isInternalListData ? gridBookingData.onReset : onResetProp;
|
|
969
|
+
(0, import_react.useEffect)(() => {
|
|
970
|
+
if (shellBodyView !== "calendar") return;
|
|
971
|
+
const summarizeBooking = (b) => ({
|
|
972
|
+
id: b.id,
|
|
973
|
+
courtId: b.courtId,
|
|
974
|
+
date: b.date,
|
|
975
|
+
startHour: b.startHour,
|
|
976
|
+
endHour: b.endHour,
|
|
977
|
+
name: b.name,
|
|
978
|
+
kind: b.kind
|
|
979
|
+
});
|
|
980
|
+
const summarizeResource = (r) => ({
|
|
981
|
+
id: r.id,
|
|
982
|
+
name: r.name,
|
|
983
|
+
groupType: r.groupType
|
|
984
|
+
});
|
|
985
|
+
console.log("[PisellReservation] calendar 展示数据", {
|
|
986
|
+
shellBodyView,
|
|
987
|
+
calendarGranularity,
|
|
988
|
+
anchorDate: schedule.date.toISOString(),
|
|
989
|
+
scheduleAt: (0, import_dayjs.default)(schedule.at).isValid() ? (0, import_dayjs.default)(schedule.at).toISOString() : String(schedule.at),
|
|
990
|
+
timelineRange: effectiveTimelineRange,
|
|
991
|
+
floorDayBookingLoading: floorDayBookingData.loading,
|
|
992
|
+
floorDayBookingCount: Array.isArray(floorDayBookingData.data) ? floorDayBookingData.data.length : 0,
|
|
993
|
+
calendarOrderedResourceIds,
|
|
994
|
+
resourcesCount: calendarResources.length,
|
|
995
|
+
resourcesPreview: calendarResources.slice(0, 12).map(summarizeResource),
|
|
996
|
+
bookingsCount: calendarBookings.length,
|
|
997
|
+
bookingsPreview: calendarBookings.slice(0, 12).map(summarizeBooking),
|
|
998
|
+
resourcesFull: calendarResources,
|
|
999
|
+
bookingsFull: calendarBookings
|
|
1000
|
+
});
|
|
1001
|
+
}, [
|
|
1002
|
+
shellBodyView,
|
|
1003
|
+
calendarGranularity,
|
|
1004
|
+
schedule.date,
|
|
1005
|
+
schedule.at,
|
|
1006
|
+
effectiveTimelineRange,
|
|
1007
|
+
floorDayBookingData.loading,
|
|
1008
|
+
floorDayBookingData.data,
|
|
1009
|
+
calendarOrderedResourceIds,
|
|
1010
|
+
calendarResources,
|
|
1011
|
+
calendarBookings
|
|
1012
|
+
]);
|
|
1013
|
+
(0, import_react.useEffect)(() => {
|
|
1014
|
+
if (shellBodyView !== "resourceWall") return;
|
|
1015
|
+
const filterKey = import_materials.DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY;
|
|
1016
|
+
const sp = searchParams;
|
|
1017
|
+
const fv = sp == null ? void 0 : sp.filter;
|
|
1018
|
+
const vals = fv && typeof fv === "object" && fv !== null && typeof fv.values === "object" && fv.values !== null ? fv.values : {};
|
|
1019
|
+
const selectedRaw = vals[filterKey];
|
|
1020
|
+
const selectedIds = Array.isArray(selectedRaw) ? dedupeResourceWallIdsPreserveOrder(selectedRaw.map((x) => String(x))) : [];
|
|
1021
|
+
const allCards = venueWallCards;
|
|
1022
|
+
const byId = new Map(allCards.map((c) => [String(c.resourceId), c]));
|
|
1023
|
+
const visibleCards = selectedIds.length === 0 ? [] : selectedIds.map((id) => {
|
|
1024
|
+
const hit = byId.get(id);
|
|
1025
|
+
return hit ?? {
|
|
1026
|
+
resourceId: id,
|
|
1027
|
+
resource: id,
|
|
1028
|
+
status: "available"
|
|
1029
|
+
};
|
|
1030
|
+
});
|
|
1031
|
+
const summarize = (c) => {
|
|
1032
|
+
var _a2;
|
|
1033
|
+
return {
|
|
1034
|
+
resourceId: c.resourceId,
|
|
1035
|
+
resource: c.resource,
|
|
1036
|
+
area: c.area,
|
|
1037
|
+
status: c.status,
|
|
1038
|
+
currentTime: c.currentTime,
|
|
1039
|
+
currentBooking: c.currentBooking,
|
|
1040
|
+
startsInMin: c.startsInMin,
|
|
1041
|
+
lateMin: c.lateMin,
|
|
1042
|
+
remainingMin: c.remainingMin,
|
|
1043
|
+
nextListHead: (_a2 = c.nextList) == null ? void 0 : _a2.slice(0, 2)
|
|
1044
|
+
};
|
|
1045
|
+
};
|
|
1046
|
+
console.log("[PisellReservation] resourceWall 展示数据", {
|
|
1047
|
+
shellBodyView,
|
|
1048
|
+
filterFieldKey: filterKey,
|
|
1049
|
+
searchParamsFilterValues: vals,
|
|
1050
|
+
selectedIds,
|
|
1051
|
+
floorDayBookingLoading: floorDayBookingData.loading,
|
|
1052
|
+
floorBookingExtraParams,
|
|
1053
|
+
cardsCount: allCards.length,
|
|
1054
|
+
visibleCount: visibleCards.length,
|
|
1055
|
+
cardsPreview: allCards.slice(0, 8).map(summarize),
|
|
1056
|
+
visiblePreview: visibleCards.slice(0, 8).map(summarize),
|
|
1057
|
+
cardsFull: allCards,
|
|
1058
|
+
visibleFull: visibleCards
|
|
1059
|
+
});
|
|
1060
|
+
}, [
|
|
1061
|
+
shellBodyView,
|
|
1062
|
+
venueWallCards,
|
|
1063
|
+
floorDayBookingData.loading,
|
|
1064
|
+
searchParams,
|
|
1065
|
+
floorBookingExtraParams
|
|
1066
|
+
]);
|
|
941
1067
|
(0, import_react.useEffect)(() => {
|
|
942
1068
|
if (!isInternalListData) return;
|
|
943
1069
|
if (resourceWallFilterHydratedRef.current) return;
|
|
944
|
-
if (calendarOrderedResourceIds.length === 0) return;
|
|
945
1070
|
const fv = searchParams == null ? void 0 : searchParams.filter;
|
|
946
1071
|
const values = fv && typeof fv === "object" && fv !== null && typeof fv.values === "object" && fv.values !== null ? fv.values : {};
|
|
947
|
-
const
|
|
1072
|
+
const whitelist = import_reservationConstants.RESERVATION_RESOURCE_WALL_PERSISTED_FILTER_VALUE_KEYS;
|
|
1073
|
+
let lsParsed = {
|
|
1074
|
+
filterValuePatches: {}
|
|
1075
|
+
};
|
|
1076
|
+
try {
|
|
1077
|
+
const raw = localStorage.getItem(resourceWallFilterStorageKey);
|
|
1078
|
+
lsParsed = parseResourceWallLocalStorage(raw, whitelist);
|
|
1079
|
+
} catch {
|
|
1080
|
+
}
|
|
1081
|
+
if ((lsParsed == null ? void 0 : lsParsed.venueWallAppearanceTheme) != null && isVenueWallAppearanceThemeNonEmpty(lsParsed.venueWallAppearanceTheme)) {
|
|
1082
|
+
setVenueWallAppearanceTheme(lsParsed.venueWallAppearanceTheme);
|
|
1083
|
+
}
|
|
1084
|
+
if (lsParsed.venueWallAppearanceMode === "light" || lsParsed.venueWallAppearanceMode === "dark") {
|
|
1085
|
+
setVenueWallAppearanceMode(lsParsed.venueWallAppearanceMode);
|
|
1086
|
+
}
|
|
1087
|
+
if (lsParsed.venueWallResourceLayout != null) {
|
|
1088
|
+
setVenueWallResourceLayout(lsParsed.venueWallResourceLayout);
|
|
1089
|
+
}
|
|
948
1090
|
const existing = values.resource_wall_resource_ids;
|
|
949
1091
|
if (Array.isArray(existing) && existing.length > 0) {
|
|
950
|
-
|
|
1092
|
+
const hasPatches = Object.keys(lsParsed.filterValuePatches).length > 0;
|
|
1093
|
+
if (onSearch && hasPatches) {
|
|
951
1094
|
onSearch({
|
|
952
1095
|
...searchParams,
|
|
953
1096
|
filter: {
|
|
954
1097
|
...typeof searchParams.filter === "object" && searchParams.filter !== null ? searchParams.filter : {},
|
|
955
1098
|
values: {
|
|
956
1099
|
...typeof values === "object" ? values : {},
|
|
957
|
-
|
|
1100
|
+
...lsParsed.filterValuePatches,
|
|
1101
|
+
resource_wall_resource_ids: existing.map(String)
|
|
958
1102
|
}
|
|
959
1103
|
}
|
|
960
1104
|
});
|
|
@@ -962,16 +1106,9 @@ var PisellReservationCore = (props) => {
|
|
|
962
1106
|
resourceWallFilterHydratedRef.current = true;
|
|
963
1107
|
return;
|
|
964
1108
|
}
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
if (raw) stored = JSON.parse(raw);
|
|
969
|
-
} catch {
|
|
970
|
-
}
|
|
971
|
-
const all = calendarOrderedResourceIds;
|
|
972
|
-
const storedIds = Array.isArray(stored) && stored.length > 0 ? stored : [];
|
|
973
|
-
const picked = storedIds.length > 0 ? all.filter((id) => storedIds.includes(id)).slice(0, maxRw) : all.slice(0, maxRw);
|
|
974
|
-
const finalList = picked.length > 0 ? picked : all.slice(0, maxRw);
|
|
1109
|
+
const explicitRid = lsParsed.resourceWallResourceIdsInFile === true;
|
|
1110
|
+
const idsFromLs = lsParsed.resourceIds ?? [];
|
|
1111
|
+
const finalList = explicitRid ? dedupeResourceWallIdsPreserveOrder(idsFromLs) : [];
|
|
975
1112
|
resourceWallFilterHydratedRef.current = true;
|
|
976
1113
|
if (!onSearch) return;
|
|
977
1114
|
onSearch({
|
|
@@ -980,32 +1117,56 @@ var PisellReservationCore = (props) => {
|
|
|
980
1117
|
...typeof searchParams.filter === "object" && searchParams.filter !== null ? searchParams.filter : {},
|
|
981
1118
|
values: {
|
|
982
1119
|
...typeof values === "object" ? values : {},
|
|
1120
|
+
...lsParsed.filterValuePatches,
|
|
983
1121
|
resource_wall_resource_ids: finalList
|
|
984
1122
|
}
|
|
985
1123
|
}
|
|
986
1124
|
});
|
|
987
|
-
}, [
|
|
988
|
-
isInternalListData,
|
|
989
|
-
calendarOrderedResourceIds,
|
|
990
|
-
resourceWallFilterStorageKey,
|
|
991
|
-
onSearch,
|
|
992
|
-
searchParams
|
|
993
|
-
]);
|
|
1125
|
+
}, [isInternalListData, resourceWallFilterStorageKey, onSearch, searchParams]);
|
|
994
1126
|
(0, import_react.useEffect)(() => {
|
|
1127
|
+
if (!isInternalListData) return;
|
|
995
1128
|
const fv = searchParams == null ? void 0 : searchParams.filter;
|
|
996
1129
|
if (!fv || typeof fv !== "object" || fv === null || typeof fv.values !== "object" || fv.values === null) {
|
|
997
1130
|
return;
|
|
998
1131
|
}
|
|
999
|
-
const
|
|
1132
|
+
const vals = fv.values;
|
|
1133
|
+
const rid = vals.resource_wall_resource_ids;
|
|
1000
1134
|
if (!Array.isArray(rid)) return;
|
|
1135
|
+
const ridStable = dedupeResourceWallIdsPreserveOrder(rid.map(String));
|
|
1136
|
+
const filter_values = {};
|
|
1137
|
+
for (const k of import_reservationConstants.RESERVATION_RESOURCE_WALL_PERSISTED_FILTER_VALUE_KEYS) {
|
|
1138
|
+
if (k === "resource_wall_resource_ids") continue;
|
|
1139
|
+
if (Object.prototype.hasOwnProperty.call(vals, k)) {
|
|
1140
|
+
filter_values[k] = vals[k];
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
const pack = {
|
|
1144
|
+
v: 1,
|
|
1145
|
+
resource_wall_resource_ids: ridStable
|
|
1146
|
+
};
|
|
1147
|
+
if (Object.keys(filter_values).length > 0) {
|
|
1148
|
+
pack.filter_values = filter_values;
|
|
1149
|
+
}
|
|
1150
|
+
if (isVenueWallAppearanceThemeNonEmpty(venueWallAppearanceTheme)) {
|
|
1151
|
+
pack.venueWallAppearanceTheme = venueWallAppearanceTheme;
|
|
1152
|
+
}
|
|
1153
|
+
pack.venueWallAppearanceMode = venueWallAppearanceMode;
|
|
1154
|
+
pack.venueWallResourceLayout = venueWallResourceLayout;
|
|
1001
1155
|
try {
|
|
1002
1156
|
localStorage.setItem(
|
|
1003
1157
|
resourceWallFilterStorageKey,
|
|
1004
|
-
JSON.stringify(
|
|
1158
|
+
JSON.stringify(pack)
|
|
1005
1159
|
);
|
|
1006
1160
|
} catch {
|
|
1007
1161
|
}
|
|
1008
|
-
}, [
|
|
1162
|
+
}, [
|
|
1163
|
+
isInternalListData,
|
|
1164
|
+
searchParams,
|
|
1165
|
+
resourceWallFilterStorageKey,
|
|
1166
|
+
venueWallAppearanceTheme,
|
|
1167
|
+
venueWallAppearanceMode,
|
|
1168
|
+
venueWallResourceLayout
|
|
1169
|
+
]);
|
|
1009
1170
|
const handleRouteJump = (0, import_ahooks.useMemoizedFn)((routePath) => {
|
|
1010
1171
|
var _a2, _b2;
|
|
1011
1172
|
if (!routePath) return;
|
|
@@ -1099,37 +1260,18 @@ var PisellReservationCore = (props) => {
|
|
|
1099
1260
|
effectiveTimelineRange.end
|
|
1100
1261
|
]
|
|
1101
1262
|
);
|
|
1102
|
-
const reservationResourceWallQuickFilter = (0, import_react.useMemo)(
|
|
1103
|
-
() => ({
|
|
1104
|
-
filterList: [
|
|
1105
|
-
{
|
|
1106
|
-
type: "custom",
|
|
1107
|
-
key: "resource_wall_resource_ids",
|
|
1108
|
-
name: "resource_wall_resource_ids",
|
|
1109
|
-
label: import_utils.locales.getText(import_reservationConstants.I18N_RESOURCE_WALL_RESOURCES),
|
|
1110
|
-
props: {
|
|
1111
|
-
options: resourceWallFilterSelectOptions
|
|
1112
|
-
},
|
|
1113
|
-
other: {
|
|
1114
|
-
component: import_ReservationResourceWallResourceSelect.ReservationResourceWallResourceSelect
|
|
1115
|
-
}
|
|
1116
|
-
}
|
|
1117
|
-
],
|
|
1118
|
-
hideFilterNamesOnFloorMap: []
|
|
1119
|
-
}),
|
|
1120
|
-
[resourceWallFilterSelectOptions]
|
|
1121
|
-
);
|
|
1122
1263
|
const toolBarMerged = (0, import_react.useMemo)(() => {
|
|
1123
1264
|
const {
|
|
1124
1265
|
tabs: extraTabs,
|
|
1125
1266
|
topRight: topRightProp,
|
|
1126
1267
|
bottomLeft: bottomLeftProp,
|
|
1268
|
+
quickFilter: toolBarQuickFilterOverride,
|
|
1127
1269
|
...restToolbar
|
|
1128
1270
|
} = toolBarProp ?? {};
|
|
1129
1271
|
return {
|
|
1130
1272
|
...bookingToolBar ?? {},
|
|
1131
1273
|
...restToolbar,
|
|
1132
|
-
quickFilter:
|
|
1274
|
+
quickFilter: toolBarQuickFilterOverride !== void 0 ? toolBarQuickFilterOverride : bookingToolBar == null ? void 0 : bookingToolBar.quickFilter,
|
|
1133
1275
|
tabs: /* @__PURE__ */ import_react.default.createElement(
|
|
1134
1276
|
import_PisellReservationSubcomponents.PisellReservationToolbarTabs,
|
|
1135
1277
|
{
|
|
@@ -1162,8 +1304,7 @@ var PisellReservationCore = (props) => {
|
|
|
1162
1304
|
mergedTimeNavigatorProps,
|
|
1163
1305
|
schedulePropsProp,
|
|
1164
1306
|
loadReservationDensity,
|
|
1165
|
-
calendarGranularity
|
|
1166
|
-
reservationResourceWallQuickFilter
|
|
1307
|
+
calendarGranularity
|
|
1167
1308
|
]);
|
|
1168
1309
|
const recordBoardGrid = (0, import_react.useMemo)(() => {
|
|
1169
1310
|
return bookingChildProps.grid;
|
|
@@ -1336,9 +1477,21 @@ var PisellReservationCore = (props) => {
|
|
|
1336
1477
|
() => ({
|
|
1337
1478
|
cards: venueWallCards,
|
|
1338
1479
|
loading: floorDayBookingData.loading,
|
|
1339
|
-
filterFieldKey: import_materials.DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY
|
|
1480
|
+
filterFieldKey: import_materials.DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY,
|
|
1481
|
+
appearanceTheme: venueWallAppearanceTheme,
|
|
1482
|
+
onAppearanceThemeChange: setVenueWallAppearanceTheme,
|
|
1483
|
+
appearanceMode: venueWallAppearanceMode,
|
|
1484
|
+
onAppearanceModeChange: setVenueWallAppearanceMode,
|
|
1485
|
+
resourceWallLayout: venueWallResourceLayout,
|
|
1486
|
+
onResourceWallLayoutChange: setVenueWallResourceLayout
|
|
1340
1487
|
}),
|
|
1341
|
-
[
|
|
1488
|
+
[
|
|
1489
|
+
venueWallCards,
|
|
1490
|
+
floorDayBookingData.loading,
|
|
1491
|
+
venueWallAppearanceTheme,
|
|
1492
|
+
venueWallAppearanceMode,
|
|
1493
|
+
venueWallResourceLayout
|
|
1494
|
+
]
|
|
1342
1495
|
);
|
|
1343
1496
|
return /* @__PURE__ */ import_react.default.createElement(
|
|
1344
1497
|
import_date_picker.LocalizationProvider,
|
|
@@ -1380,20 +1533,22 @@ var PisellReservationCore = (props) => {
|
|
|
1380
1533
|
lockedBodyView,
|
|
1381
1534
|
floorMapLayoutRef
|
|
1382
1535
|
},
|
|
1383
|
-
/* @__PURE__ */ import_react.default.createElement(
|
|
1536
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
1384
1537
|
import_PisellReservationSubcomponents.RecordBoardBodyViewCapture,
|
|
1385
1538
|
{
|
|
1386
1539
|
bodyViewRef,
|
|
1387
1540
|
onBodyViewChange: setShellBodyView
|
|
1388
1541
|
}
|
|
1389
|
-
),
|
|
1542
|
+
),
|
|
1543
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
1390
1544
|
import_PisellReservationSubcomponents.ScheduleSyncOnFloorEnter,
|
|
1391
1545
|
{
|
|
1392
1546
|
schedule,
|
|
1393
1547
|
isInternalListData,
|
|
1394
1548
|
patchSearchParams: floorDayBookingData.patchSearchParams
|
|
1395
1549
|
}
|
|
1396
|
-
),
|
|
1550
|
+
),
|
|
1551
|
+
/* @__PURE__ */ import_react.default.createElement(import_materials.PisellRecordBoard.ShellFrame, null, /* @__PURE__ */ import_react.default.createElement(import_materials.PisellRecordBoard.GridLayout, null), /* @__PURE__ */ import_react.default.createElement(import_materials.PisellRecordBoard.FloorMap, null), /* @__PURE__ */ import_react.default.createElement(import_materials.PisellRecordBoard.Calendar, null), /* @__PURE__ */ import_react.default.createElement(import_materials.PisellRecordBoard.ResourceWall, null))
|
|
1397
1552
|
),
|
|
1398
1553
|
/* @__PURE__ */ import_react.default.createElement(
|
|
1399
1554
|
import_materials.PisellModal,
|
|
@@ -14,7 +14,17 @@ export declare function RecordBoardBodyViewCapture(props: {
|
|
|
14
14
|
bodyViewRef: React.MutableRefObject<RecordBoardBodyView>;
|
|
15
15
|
onBodyViewChange?: (v: RecordBoardBodyView) => void;
|
|
16
16
|
}): null;
|
|
17
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* 视图切换时统一收敛 `floorDayBookingData.searchParams`:
|
|
19
|
+
* - 从 grid / 任意非视图区切到 floorMap / calendar / resourceWall 时,锚定当前营业日单日窗;
|
|
20
|
+
* - 从 calendar / resourceWall 切回 floorMap 时,除锚定单日窗外,必须清掉 calendar 周/月视图写入的
|
|
21
|
+
* `compact_fields` / `enable_remote_memory_cache`(否则 osServer 在非今日锚定下会走 compact with,
|
|
22
|
+
* booking 缺失 resources,平面图合并落空);
|
|
23
|
+
* - 从 calendar 切到 grid / resourceWall 时,单独清 calendar-only flags,避免之后再切回 floorMap 时残留。
|
|
24
|
+
*
|
|
25
|
+
* 注意:此组件必须常驻挂载(放在 `<PisellRecordBoard>` 内、`<ShellFrame>` 外),
|
|
26
|
+
* 否则 ShellFrame 会按 bodyView 条件渲染 children,导致它只在 grid 视图下挂载而无法观测到切换事件。
|
|
27
|
+
*/
|
|
18
28
|
export declare function ScheduleSyncOnFloorEnter(props: {
|
|
19
29
|
schedule: ReservationScheduleBandValue;
|
|
20
30
|
isInternalListData: boolean;
|
|
@@ -61,12 +61,23 @@ function ScheduleSyncOnFloorEnter(props) {
|
|
|
61
61
|
const prev = prevRef.current;
|
|
62
62
|
if (props.isInternalListData && (bodyView === "floorMap" || bodyView === "calendar" || bodyView === "resourceWall") && prev !== null && prev !== "floorMap" && prev !== "calendar" && prev !== "resourceWall") {
|
|
63
63
|
props.patchSearchParams(
|
|
64
|
-
(p) => (0, import_reservationDataUtils.
|
|
64
|
+
(p) => (0, import_reservationDataUtils.stripCalendarOnlyFlags)(
|
|
65
|
+
(0, import_reservationDataUtils.mergeSearchParamsBookingWindow)(p, props.schedule.date)
|
|
66
|
+
)
|
|
65
67
|
);
|
|
66
68
|
}
|
|
67
69
|
if (props.isInternalListData && (prev === "calendar" || prev === "resourceWall") && bodyView === "floorMap") {
|
|
68
70
|
props.patchSearchParams(
|
|
69
|
-
(p) => (0, import_reservationDataUtils.
|
|
71
|
+
(p) => (0, import_reservationDataUtils.stripCalendarOnlyFlags)(
|
|
72
|
+
(0, import_reservationDataUtils.mergeSearchParamsBookingWindow)(p, props.schedule.date)
|
|
73
|
+
)
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
if (props.isInternalListData && prev === "calendar" && (bodyView === "grid" || bodyView === "resourceWall")) {
|
|
77
|
+
props.patchSearchParams(
|
|
78
|
+
(p) => (0, import_reservationDataUtils.stripCalendarOnlyFlags)(
|
|
79
|
+
(0, import_reservationDataUtils.mergeSearchParamsBookingWindow)(p, props.schedule.date)
|
|
80
|
+
)
|
|
70
81
|
);
|
|
71
82
|
}
|
|
72
83
|
prevRef.current = bodyView;
|