@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var _excluded = ["gridDataSourceKey", "dataSources", "scheduleValue", "onScheduleChange", "toolBar", "floorMap", "scheduleStartSlot", "scheduleEndSlot", "onNewReservation", "timeNavigatorProps", "scheduleProps", "fab", "defaultBodyView", "data", "total", "pagination", "onPageChange", "onSearch", "onReset", "searchParams", "loading", "rowKey", "className", "style", "floorPlanId", "floorPlanCanvasWidth", "floorPlanCanvasHeight", "floorPlanCode", "floorPlanName", "floorPlanSort", "floorPlanStatus", "onFloorPlanPersisted", "putFloorPlan", "onFloorMapBookingClick", "bodyViewSwitchable", "lockedBodyView", "bodyViewStorageKey", "floorMapHudTableDrawer"],
|
|
2
|
-
_excluded2 = ["tabs", "topRight", "bottomLeft"];
|
|
2
|
+
_excluded2 = ["tabs", "topRight", "bottomLeft", "quickFilter"];
|
|
3
3
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
4
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
5
5
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
@@ -8,8 +8,6 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
|
|
|
8
8
|
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
9
9
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
10
10
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
11
|
-
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
12
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
13
11
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
12
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
13
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
@@ -17,12 +15,14 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
17
15
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18
16
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
19
17
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
20
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
21
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
22
18
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
23
19
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
24
20
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
25
21
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
22
|
+
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
23
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
24
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
25
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
26
26
|
import React, { useEffect, useMemo, useState, useCallback, useRef } from 'react';
|
|
27
27
|
import dayjs from 'dayjs';
|
|
28
28
|
import 'dayjs/locale/zh-cn';
|
|
@@ -33,7 +33,7 @@ import { message } from 'antd';
|
|
|
33
33
|
import { LocalizationProvider } from '@pisell/date-picker';
|
|
34
34
|
import { AdapterDayjs } from '@pisell/date-picker/es/AdapterDayjs';
|
|
35
35
|
import { locales } from '@pisell/utils';
|
|
36
|
-
import { PisellModal, PisellRecordBoard, Icon, DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY } from '@pisell/materials';
|
|
36
|
+
import { PisellModal, PisellRecordBoard, Icon, DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY, DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST } from '@pisell/materials';
|
|
37
37
|
import useEngineContext, { usePisellOS } from "../../hooks/useEngineContext";
|
|
38
38
|
import { ReservationBookingDetailModal } from "./components/bookingDetailModal/ReservationBookingDetailModal";
|
|
39
39
|
import { PISELL_RESERVATION_FLOOR_PLAN_CODE, RESERVATION_DEFAULT_FLOOR_PLAN_ID } from "./floorMap/floorPlanApi";
|
|
@@ -51,7 +51,6 @@ import { computeReservationDensityBuckets, fitTimelineHighlightsToSlotCount, res
|
|
|
51
51
|
import { filterBookingsByResourceIds } from "./data/bookingToReservationTables";
|
|
52
52
|
import { applyHudDrawerLocalListQuery, cloneHudDrawerSearchParams, mergeHudDrawerSearchParams, stripHudDrawerBookingDateQuickFilter } from "./data/hudDrawerLocalListQuery";
|
|
53
53
|
import { buildReservationMergedTableRows } from "./data/reservationTablesMerge";
|
|
54
|
-
import { formResourceListToReservationTableRows } from "./data/formResourceToReservationTables";
|
|
55
54
|
import { extractResourceRecordIds } from "./data/bookingToReservationTables";
|
|
56
55
|
import { buildCalendarResourcesFromMergedTables, findMergedTableRowForBookingRaw, mapFloorDayBookingsToCalendarItems, orderedCanvasResourceRecordIdStrings } from "./data/calendarAdapter";
|
|
57
56
|
import { mergeGridBookingSearchParams, mergeSearchParamsBookingWindow, mergeSearchParamsBookingRange, readBodyViewFromStorageKey, shouldUseBuiltinReservationList } from "./data/reservationDataUtils";
|
|
@@ -60,15 +59,157 @@ import { RecordBoardBodyViewCapture, ReservationDefaultScheduleStart, Reservatio
|
|
|
60
59
|
import { useReservationFloorPlan } from "./floorMap/useReservationFloorPlan";
|
|
61
60
|
import { useReservationFloorMapMerged } from "./floorMap/useReservationFloorMapMerged";
|
|
62
61
|
import { ReservationCalendarDayBookingRoomCard } from "./components/ReservationCalendarDayBookingRoomCard";
|
|
63
|
-
import { GRID_DS_KEY, PISELL_RESERVATION_HUD_DRAWER_COLUMN_STORAGE_KEY, PISELL_RESERVATION_HUD_LOCAL_PAGE_SIZE, I18N_CALENDAR_WRITE_NOT_AVAILABLE, I18N_HUD_TABLE_DRAWER_TITLE, I18N_NEW_MODAL_PLACEHOLDER, I18N_NEW_MODAL_TITLE, PISELL_RESERVATION_PAGE_LOCALES, PISELL_RESERVATION_RESOURCE_WALL_FILTER_STORAGE_PREFIX,
|
|
62
|
+
import { GRID_DS_KEY, PISELL_RESERVATION_HUD_DRAWER_COLUMN_STORAGE_KEY, PISELL_RESERVATION_HUD_LOCAL_PAGE_SIZE, I18N_CALENDAR_WRITE_NOT_AVAILABLE, I18N_HUD_TABLE_DRAWER_TITLE, I18N_NEW_MODAL_PLACEHOLDER, I18N_NEW_MODAL_TITLE, PISELL_RESERVATION_PAGE_LOCALES, PISELL_RESERVATION_RESOURCE_WALL_FILTER_STORAGE_PREFIX, RESERVATION_RESOURCE_WALL_PERSISTED_FILTER_VALUE_KEYS } from "./reservationConstants";
|
|
64
63
|
import { mapReservationRowsToVenueWallCards } from "./data/mapReservationToVenueWallCards";
|
|
65
|
-
import { ReservationResourceWallResourceSelect } from "./components/ReservationResourceWallResourceSelect";
|
|
66
64
|
import { timelineRangeFromOperatingDayBoundary } from "./data/reservationOperatingDayRange";
|
|
67
65
|
import { useReservationScheduleDebounced } from "./hooks/useReservationScheduleDebounced";
|
|
68
66
|
import { useReservationSalesHostData } from "./hooks/useReservationSalesHostData";
|
|
69
67
|
import { useNewReservationRoutesFromEngine } from "./hooks/useNewReservationRoutesFromEngine";
|
|
70
68
|
import { useReservationLoadingShownDebounced } from "./hooks/useReservationLoadingShownDebounced";
|
|
71
69
|
import { useFloorMapBookingInteraction } from "./hooks/useFloorMapBookingInteraction";
|
|
70
|
+
/**
|
|
71
|
+
* 解析资源墙 localStorage:兼容旧版纯 `string[]`,或 v1 对象(资源 id、白名单 filter 片段、六态配色覆盖)。
|
|
72
|
+
*/
|
|
73
|
+
function sanitizeVenueWallResourceLayout(raw) {
|
|
74
|
+
if (raw == null || _typeof(raw) !== 'object') return undefined;
|
|
75
|
+
var o = raw;
|
|
76
|
+
var clampInt = function clampInt(v, min, max, d) {
|
|
77
|
+
var n = typeof v === 'number' ? v : Number(v);
|
|
78
|
+
if (!Number.isFinite(n)) return d;
|
|
79
|
+
return Math.max(min, Math.min(max, Math.round(n)));
|
|
80
|
+
};
|
|
81
|
+
var heroRaw = typeof o.heroMaxWidthRatio === 'number' ? o.heroMaxWidthRatio : Number(o.heroMaxWidthRatio);
|
|
82
|
+
var heroMaxWidthRatio = Number.isFinite(heroRaw) ? Math.max(0.4, Math.min(0.8, heroRaw)) : DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST.heroMaxWidthRatio;
|
|
83
|
+
var layoutKey = typeof o.layoutKey === 'string' && o.layoutKey.length > 0 ? o.layoutKey : DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST.layoutKey;
|
|
84
|
+
return {
|
|
85
|
+
layoutKey: layoutKey,
|
|
86
|
+
customCols: clampInt(o.customCols, 1, 6, DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST.customCols),
|
|
87
|
+
customRows: clampInt(o.customRows, 1, 6, DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST.customRows),
|
|
88
|
+
pageDurationSec: clampInt(o.pageDurationSec, 3, 60, DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST.pageDurationSec),
|
|
89
|
+
boardingSoonBeforeMin: clampInt(o.boardingSoonBeforeMin, 1, 60, DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST.boardingSoonBeforeMin),
|
|
90
|
+
heroMaxWidthRatio: heroMaxWidthRatio
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
function isVenueWallAppearanceThemeNonEmpty(t) {
|
|
94
|
+
var slotHasData = function slotHasData(s) {
|
|
95
|
+
if (!s) return false;
|
|
96
|
+
if (s.occupiedCardColor || s.availableCardColor) return true;
|
|
97
|
+
var o = s.statusToneOverrides;
|
|
98
|
+
return o != null && Object.keys(o).length > 0;
|
|
99
|
+
};
|
|
100
|
+
return slotHasData(t.light) || slotHasData(t.dark);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/** 资源墙多选 id:去重且保持首次出现顺序(与勾选 / 落盘顺序一致)。 */
|
|
104
|
+
function dedupeResourceWallIdsPreserveOrder(ids) {
|
|
105
|
+
var seen = new Set();
|
|
106
|
+
var out = [];
|
|
107
|
+
var _iterator = _createForOfIteratorHelper(ids),
|
|
108
|
+
_step;
|
|
109
|
+
try {
|
|
110
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
111
|
+
var raw = _step.value;
|
|
112
|
+
var t = String(raw).trim();
|
|
113
|
+
if (!t || seen.has(t)) continue;
|
|
114
|
+
seen.add(t);
|
|
115
|
+
out.push(t);
|
|
116
|
+
}
|
|
117
|
+
} catch (err) {
|
|
118
|
+
_iterator.e(err);
|
|
119
|
+
} finally {
|
|
120
|
+
_iterator.f();
|
|
121
|
+
}
|
|
122
|
+
return out;
|
|
123
|
+
}
|
|
124
|
+
function parseResourceWallLocalStorage(raw, whitelist) {
|
|
125
|
+
var empty = {
|
|
126
|
+
filterValuePatches: {}
|
|
127
|
+
};
|
|
128
|
+
if (!raw) return empty;
|
|
129
|
+
try {
|
|
130
|
+
var parsed = JSON.parse(raw);
|
|
131
|
+
if (Array.isArray(parsed)) {
|
|
132
|
+
return {
|
|
133
|
+
resourceIds: parsed.map(String),
|
|
134
|
+
resourceWallResourceIdsInFile: true,
|
|
135
|
+
filterValuePatches: {}
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
if (!parsed || _typeof(parsed) !== 'object') return empty;
|
|
139
|
+
var o = parsed;
|
|
140
|
+
var hasRidKey = Object.prototype.hasOwnProperty.call(o, 'resource_wall_resource_ids');
|
|
141
|
+
var ridRaw = o.resource_wall_resource_ids;
|
|
142
|
+
var resourceIds = !hasRidKey ? undefined : Array.isArray(ridRaw) ? ridRaw.map(String) : [];
|
|
143
|
+
var patches = {};
|
|
144
|
+
var fv = o.filter_values;
|
|
145
|
+
if (fv && _typeof(fv) === 'object') {
|
|
146
|
+
var _iterator2 = _createForOfIteratorHelper(whitelist),
|
|
147
|
+
_step2;
|
|
148
|
+
try {
|
|
149
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
150
|
+
var k = _step2.value;
|
|
151
|
+
if (k === 'resource_wall_resource_ids') continue;
|
|
152
|
+
if (Object.prototype.hasOwnProperty.call(fv, k)) {
|
|
153
|
+
patches[k] = fv[k];
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
} catch (err) {
|
|
157
|
+
_iterator2.e(err);
|
|
158
|
+
} finally {
|
|
159
|
+
_iterator2.f();
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
var legacyTones = o.venueWallStatusToneOverrides;
|
|
163
|
+
var diskTheme = o.venueWallAppearanceTheme;
|
|
164
|
+
var venueWallAppearanceTheme = diskTheme && _typeof(diskTheme) === 'object' ? diskTheme : undefined;
|
|
165
|
+
if (!venueWallAppearanceTheme && legacyTones && _typeof(legacyTones) === 'object' && Object.keys(legacyTones).length > 0) {
|
|
166
|
+
venueWallAppearanceTheme = {
|
|
167
|
+
light: {
|
|
168
|
+
statusToneOverrides: legacyTones
|
|
169
|
+
},
|
|
170
|
+
dark: {
|
|
171
|
+
statusToneOverrides: legacyTones
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
var rawMode = o.venueWallAppearanceMode;
|
|
176
|
+
var venueWallAppearanceMode = rawMode === 'light' || rawMode === 'dark' ? rawMode : undefined;
|
|
177
|
+
var venueWallResourceLayout = sanitizeVenueWallResourceLayout(o.venueWallResourceLayout);
|
|
178
|
+
return {
|
|
179
|
+
resourceIds: resourceIds,
|
|
180
|
+
resourceWallResourceIdsInFile: hasRidKey,
|
|
181
|
+
filterValuePatches: patches,
|
|
182
|
+
venueWallAppearanceTheme: venueWallAppearanceTheme,
|
|
183
|
+
venueWallAppearanceMode: venueWallAppearanceMode,
|
|
184
|
+
venueWallResourceLayout: venueWallResourceLayout
|
|
185
|
+
};
|
|
186
|
+
} catch (_unused) {
|
|
187
|
+
return empty;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* 首屏同步读盘,供 `useState` 初值使用。
|
|
193
|
+
* 避免同一提交内「persist effect 先于 hydrate 的 setState 落盘」时用默认 layout 覆盖 localStorage 里已保存的版式。
|
|
194
|
+
*/
|
|
195
|
+
function readResourceWallPersistedSliceFromDisk(bodyViewStorageKey) {
|
|
196
|
+
var _ls$venueWallResource;
|
|
197
|
+
var key = "".concat(PISELL_RESERVATION_RESOURCE_WALL_FILTER_STORAGE_PREFIX, ":").concat(bodyViewStorageKey !== null && bodyViewStorageKey !== void 0 ? bodyViewStorageKey : 'default');
|
|
198
|
+
var raw = null;
|
|
199
|
+
try {
|
|
200
|
+
if (typeof localStorage !== 'undefined') {
|
|
201
|
+
raw = localStorage.getItem(key);
|
|
202
|
+
}
|
|
203
|
+
} catch (_unused2) {
|
|
204
|
+
raw = null;
|
|
205
|
+
}
|
|
206
|
+
var ls = parseResourceWallLocalStorage(raw, RESERVATION_RESOURCE_WALL_PERSISTED_FILTER_VALUE_KEYS);
|
|
207
|
+
return {
|
|
208
|
+
venueWallAppearanceTheme: ls.venueWallAppearanceTheme != null && isVenueWallAppearanceThemeNonEmpty(ls.venueWallAppearanceTheme) ? ls.venueWallAppearanceTheme : {},
|
|
209
|
+
venueWallAppearanceMode: ls.venueWallAppearanceMode === 'light' || ls.venueWallAppearanceMode === 'dark' ? ls.venueWallAppearanceMode : 'light',
|
|
210
|
+
venueWallResourceLayout: (_ls$venueWallResource = ls.venueWallResourceLayout) !== null && _ls$venueWallResource !== void 0 ? _ls$venueWallResource : DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST
|
|
211
|
+
};
|
|
212
|
+
}
|
|
72
213
|
|
|
73
214
|
/**
|
|
74
215
|
* 场控:仅把平面图 items 同步到父级,视口内不渲染独立 HUD(统计在固定抽屉标题栏)。
|
|
@@ -190,7 +331,7 @@ export var PisellReservationCore = function PisellReservationCore(props) {
|
|
|
190
331
|
var store = engineCtx === null || engineCtx === void 0 || (_engineCtx$appHelper2 = engineCtx.appHelper) === null || _engineCtx$appHelper2 === void 0 || (_engineCtx$appHelper2 = _engineCtx$appHelper2.utils) === null || _engineCtx$appHelper2 === void 0 || (_engineCtx$appHelper3 = _engineCtx$appHelper2.getApp) === null || _engineCtx$appHelper3 === void 0 || (_engineCtx$appHelper3 = _engineCtx$appHelper3.call(_engineCtx$appHelper2)) === null || _engineCtx$appHelper3 === void 0 || (_engineCtx$appHelper3 = _engineCtx$appHelper3.data) === null || _engineCtx$appHelper3 === void 0 || (_engineCtx$appHelper3 = _engineCtx$appHelper3.store) === null || _engineCtx$appHelper3 === void 0 || (_engineCtx$appHelper4 = _engineCtx$appHelper3.getStore) === null || _engineCtx$appHelper4 === void 0 ? void 0 : _engineCtx$appHelper4.call(_engineCtx$appHelper3);
|
|
191
332
|
var coreData = store === null || store === void 0 || (_store$getDataByModel = store.getDataByModel) === null || _store$getDataByModel === void 0 ? void 0 : _store$getDataByModel.call(store, 'core', 'core');
|
|
192
333
|
return coreData === null || coreData === void 0 || (_coreData$core = coreData.core) === null || _coreData$core === void 0 ? void 0 : _coreData$core.operating_day_boundary;
|
|
193
|
-
} catch (
|
|
334
|
+
} catch (_unused3) {
|
|
194
335
|
return undefined;
|
|
195
336
|
}
|
|
196
337
|
}, [engineCtx]);
|
|
@@ -285,11 +426,11 @@ export var PisellReservationCore = function PisellReservationCore(props) {
|
|
|
285
426
|
var floorBookingExtraParams = useMemo(function () {
|
|
286
427
|
var normalizeIds = function normalizeIds(ids) {
|
|
287
428
|
var out = [];
|
|
288
|
-
var
|
|
289
|
-
|
|
429
|
+
var _iterator3 = _createForOfIteratorHelper(ids),
|
|
430
|
+
_step3;
|
|
290
431
|
try {
|
|
291
|
-
for (
|
|
292
|
-
var id =
|
|
432
|
+
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
433
|
+
var id = _step3.value;
|
|
293
434
|
var t = String(id).trim();
|
|
294
435
|
if (!t) continue;
|
|
295
436
|
var n = Number(t);
|
|
@@ -300,9 +441,9 @@ export var PisellReservationCore = function PisellReservationCore(props) {
|
|
|
300
441
|
}
|
|
301
442
|
}
|
|
302
443
|
} catch (err) {
|
|
303
|
-
|
|
444
|
+
_iterator3.e(err);
|
|
304
445
|
} finally {
|
|
305
|
-
|
|
446
|
+
_iterator3.f();
|
|
306
447
|
}
|
|
307
448
|
return out;
|
|
308
449
|
};
|
|
@@ -425,43 +566,6 @@ export var PisellReservationCore = function PisellReservationCore(props) {
|
|
|
425
566
|
});
|
|
426
567
|
}, [dataSourcesProp, gridDataSourceKey, isInternalListData, resourceBoardData.data, floorDayBookingData.data, salesResourceBookings, dataProp]);
|
|
427
568
|
|
|
428
|
-
/**
|
|
429
|
-
* 资源墙「选资源」下拉:**全量资源**(内置列表 = GET form/resource/page),
|
|
430
|
-
* 与日历列「画布顺序 resource ids」解耦;非内置时回退为合并 `tables` 全行。
|
|
431
|
-
*/
|
|
432
|
-
var resourceWallFilterSelectOptions = useMemo(function () {
|
|
433
|
-
if (isInternalListData && Array.isArray(resourceBoardData.data) && resourceBoardData.data.length > 0) {
|
|
434
|
-
return formResourceListToReservationTableRows(resourceBoardData.data).map(function (r) {
|
|
435
|
-
return {
|
|
436
|
-
label: r.code || r.main_field || String(r.id),
|
|
437
|
-
value: String(r.id)
|
|
438
|
-
};
|
|
439
|
-
});
|
|
440
|
-
}
|
|
441
|
-
var seen = new Set();
|
|
442
|
-
var out = [];
|
|
443
|
-
var _iterator2 = _createForOfIteratorHelper(tables),
|
|
444
|
-
_step2;
|
|
445
|
-
try {
|
|
446
|
-
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
447
|
-
var row = _step2.value;
|
|
448
|
-
var id = String(row.id);
|
|
449
|
-
if (!id || id === 'undefined' || id === 'null') continue;
|
|
450
|
-
if (seen.has(id)) continue;
|
|
451
|
-
seen.add(id);
|
|
452
|
-
out.push({
|
|
453
|
-
label: row.code || row.main_field || id,
|
|
454
|
-
value: id
|
|
455
|
-
});
|
|
456
|
-
}
|
|
457
|
-
} catch (err) {
|
|
458
|
-
_iterator2.e(err);
|
|
459
|
-
} finally {
|
|
460
|
-
_iterator2.f();
|
|
461
|
-
}
|
|
462
|
-
return out;
|
|
463
|
-
}, [isInternalListData, resourceBoardData.data, tables]);
|
|
464
|
-
|
|
465
569
|
/**
|
|
466
570
|
* 日历列顺序:优先 sceneElements 绑定 id;若无(漏写 dataSourceKey、与 tables key 不一致等),
|
|
467
571
|
* 回退到合并 tables 行 id,再回退到 floorDayBooking 中出现的 relation_id,避免画布有预约但日历全空。
|
|
@@ -478,29 +582,29 @@ export var PisellReservationCore = function PisellReservationCore(props) {
|
|
|
478
582
|
var fromBookings = new Set();
|
|
479
583
|
var list = floorDayBookingData.data;
|
|
480
584
|
if (Array.isArray(list)) {
|
|
481
|
-
var
|
|
482
|
-
|
|
585
|
+
var _iterator4 = _createForOfIteratorHelper(list),
|
|
586
|
+
_step4;
|
|
483
587
|
try {
|
|
484
|
-
for (
|
|
485
|
-
var raw =
|
|
588
|
+
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
|
|
589
|
+
var raw = _step4.value;
|
|
486
590
|
if (!raw || _typeof(raw) !== 'object') continue;
|
|
487
|
-
var
|
|
488
|
-
|
|
591
|
+
var _iterator5 = _createForOfIteratorHelper(extractResourceRecordIds(raw)),
|
|
592
|
+
_step5;
|
|
489
593
|
try {
|
|
490
|
-
for (
|
|
491
|
-
var id =
|
|
594
|
+
for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
|
|
595
|
+
var id = _step5.value;
|
|
492
596
|
if (id) fromBookings.add(id);
|
|
493
597
|
}
|
|
494
598
|
} catch (err) {
|
|
495
|
-
|
|
599
|
+
_iterator5.e(err);
|
|
496
600
|
} finally {
|
|
497
|
-
|
|
601
|
+
_iterator5.f();
|
|
498
602
|
}
|
|
499
603
|
}
|
|
500
604
|
} catch (err) {
|
|
501
|
-
|
|
605
|
+
_iterator4.e(err);
|
|
502
606
|
} finally {
|
|
503
|
-
|
|
607
|
+
_iterator4.f();
|
|
504
608
|
}
|
|
505
609
|
}
|
|
506
610
|
return _toConsumableArray(fromBookings);
|
|
@@ -520,99 +624,9 @@ export var PisellReservationCore = function PisellReservationCore(props) {
|
|
|
520
624
|
canvasResourceIdSet: calendarCanvasIdSet
|
|
521
625
|
});
|
|
522
626
|
}, [floorDayBookingData.data, calendarCanvasIdSet]);
|
|
523
|
-
|
|
524
|
-
/** 调试:当前为日历视图时,打印传入 RecordBoard 日历槽位的 resources / bookings 等 */
|
|
525
|
-
useEffect(function () {
|
|
526
|
-
if (shellBodyView !== 'calendar') return;
|
|
527
|
-
var summarizeBooking = function summarizeBooking(b) {
|
|
528
|
-
return {
|
|
529
|
-
id: b.id,
|
|
530
|
-
courtId: b.courtId,
|
|
531
|
-
date: b.date,
|
|
532
|
-
startHour: b.startHour,
|
|
533
|
-
endHour: b.endHour,
|
|
534
|
-
name: b.name,
|
|
535
|
-
kind: b.kind
|
|
536
|
-
};
|
|
537
|
-
};
|
|
538
|
-
var summarizeResource = function summarizeResource(r) {
|
|
539
|
-
return {
|
|
540
|
-
id: r.id,
|
|
541
|
-
name: r.name,
|
|
542
|
-
groupType: r.groupType
|
|
543
|
-
};
|
|
544
|
-
};
|
|
545
|
-
// eslint-disable-next-line no-console -- 调试日历视图数据
|
|
546
|
-
console.log('[PisellReservation] calendar 展示数据', {
|
|
547
|
-
shellBodyView: shellBodyView,
|
|
548
|
-
calendarGranularity: calendarGranularity,
|
|
549
|
-
anchorDate: schedule.date.toISOString(),
|
|
550
|
-
scheduleAt: dayjs(schedule.at).isValid() ? dayjs(schedule.at).toISOString() : String(schedule.at),
|
|
551
|
-
timelineRange: effectiveTimelineRange,
|
|
552
|
-
floorDayBookingLoading: floorDayBookingData.loading,
|
|
553
|
-
floorDayBookingCount: Array.isArray(floorDayBookingData.data) ? floorDayBookingData.data.length : 0,
|
|
554
|
-
calendarOrderedResourceIds: calendarOrderedResourceIds,
|
|
555
|
-
resourcesCount: calendarResources.length,
|
|
556
|
-
resourcesPreview: calendarResources.slice(0, 12).map(summarizeResource),
|
|
557
|
-
bookingsCount: calendarBookings.length,
|
|
558
|
-
bookingsPreview: calendarBookings.slice(0, 12).map(summarizeBooking),
|
|
559
|
-
resourcesFull: calendarResources,
|
|
560
|
-
bookingsFull: calendarBookings
|
|
561
|
-
});
|
|
562
|
-
}, [shellBodyView, calendarGranularity, schedule.date, schedule.at, effectiveTimelineRange, floorDayBookingData.loading, floorDayBookingData.data, calendarOrderedResourceIds, calendarResources, calendarBookings]);
|
|
563
627
|
var venueWallCards = useMemo(function () {
|
|
564
628
|
return mapReservationRowsToVenueWallCards(tables);
|
|
565
629
|
}, [tables]);
|
|
566
|
-
|
|
567
|
-
/** 调试:当前为资源墙视图时,打印与 PisellRecordBoardResourceWallView 一致的展示数据(含可见卡片交集) */
|
|
568
|
-
useEffect(function () {
|
|
569
|
-
if (shellBodyView !== 'resourceWall') return;
|
|
570
|
-
var filterKey = DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY;
|
|
571
|
-
var sp = searchParams;
|
|
572
|
-
var fv = sp === null || sp === void 0 ? void 0 : sp.filter;
|
|
573
|
-
var vals = fv && _typeof(fv) === 'object' && fv !== null && _typeof(fv.values) === 'object' && fv.values !== null ? fv.values : {};
|
|
574
|
-
var selectedRaw = vals[filterKey];
|
|
575
|
-
var selectedIds = Array.isArray(selectedRaw) ? selectedRaw.map(function (x) {
|
|
576
|
-
return String(x);
|
|
577
|
-
}) : null;
|
|
578
|
-
var allCards = venueWallCards;
|
|
579
|
-
var visibleCards = selectedIds == null || selectedIds.length === 0 ? allCards : function () {
|
|
580
|
-
var set = new Set(selectedIds);
|
|
581
|
-
return allCards.filter(function (c) {
|
|
582
|
-
return set.has(String(c.resourceId));
|
|
583
|
-
});
|
|
584
|
-
}();
|
|
585
|
-
var summarize = function summarize(c) {
|
|
586
|
-
var _c$nextList;
|
|
587
|
-
return {
|
|
588
|
-
resourceId: c.resourceId,
|
|
589
|
-
resource: c.resource,
|
|
590
|
-
area: c.area,
|
|
591
|
-
status: c.status,
|
|
592
|
-
currentTime: c.currentTime,
|
|
593
|
-
currentBooking: c.currentBooking,
|
|
594
|
-
startsInMin: c.startsInMin,
|
|
595
|
-
lateMin: c.lateMin,
|
|
596
|
-
remainingMin: c.remainingMin,
|
|
597
|
-
nextListHead: (_c$nextList = c.nextList) === null || _c$nextList === void 0 ? void 0 : _c$nextList.slice(0, 2)
|
|
598
|
-
};
|
|
599
|
-
};
|
|
600
|
-
// eslint-disable-next-line no-console -- 调试资源墙展示数据
|
|
601
|
-
console.log('[PisellReservation] resourceWall 展示数据', {
|
|
602
|
-
shellBodyView: shellBodyView,
|
|
603
|
-
filterFieldKey: filterKey,
|
|
604
|
-
searchParamsFilterValues: vals,
|
|
605
|
-
selectedIds: selectedIds,
|
|
606
|
-
floorDayBookingLoading: floorDayBookingData.loading,
|
|
607
|
-
floorBookingExtraParams: floorBookingExtraParams,
|
|
608
|
-
cardsCount: allCards.length,
|
|
609
|
-
visibleCount: visibleCards.length,
|
|
610
|
-
cardsPreview: allCards.slice(0, 8).map(summarize),
|
|
611
|
-
visiblePreview: visibleCards.slice(0, 8).map(summarize),
|
|
612
|
-
cardsFull: allCards,
|
|
613
|
-
visibleFull: visibleCards
|
|
614
|
-
});
|
|
615
|
-
}, [shellBodyView, venueWallCards, floorDayBookingData.loading, searchParams, floorBookingExtraParams]);
|
|
616
630
|
var resourceWallFilterStorageKey = "".concat(PISELL_RESERVATION_RESOURCE_WALL_FILTER_STORAGE_PREFIX, ":").concat(bodyViewStorageKey !== null && bodyViewStorageKey !== void 0 ? bodyViewStorageKey : 'default');
|
|
617
631
|
|
|
618
632
|
/** 顶栏日程防抖落定后的时间键,避免 dayjs 引用抖动 */
|
|
@@ -661,26 +675,43 @@ export var PisellReservationCore = function PisellReservationCore(props) {
|
|
|
661
675
|
|
|
662
676
|
var bodyViewRef = useRef(readBodyViewFromStorageKey(bodyViewStorageKey));
|
|
663
677
|
var resourceWallFilterHydratedRef = useRef(false);
|
|
678
|
+
var _useState13 = useState(function () {
|
|
679
|
+
return readResourceWallPersistedSliceFromDisk(bodyViewStorageKey);
|
|
680
|
+
}),
|
|
681
|
+
_useState14 = _slicedToArray(_useState13, 1),
|
|
682
|
+
venueWallBoot = _useState14[0];
|
|
683
|
+
var _useState15 = useState(venueWallBoot.venueWallAppearanceTheme),
|
|
684
|
+
_useState16 = _slicedToArray(_useState15, 2),
|
|
685
|
+
venueWallAppearanceTheme = _useState16[0],
|
|
686
|
+
setVenueWallAppearanceTheme = _useState16[1];
|
|
687
|
+
var _useState17 = useState(venueWallBoot.venueWallAppearanceMode),
|
|
688
|
+
_useState18 = _slicedToArray(_useState17, 2),
|
|
689
|
+
venueWallAppearanceMode = _useState18[0],
|
|
690
|
+
setVenueWallAppearanceMode = _useState18[1];
|
|
691
|
+
var _useState19 = useState(venueWallBoot.venueWallResourceLayout),
|
|
692
|
+
_useState20 = _slicedToArray(_useState19, 2),
|
|
693
|
+
venueWallResourceLayout = _useState20[0],
|
|
694
|
+
setVenueWallResourceLayout = _useState20[1];
|
|
664
695
|
var floorMapLayoutRef = useRef(null);
|
|
665
|
-
var
|
|
666
|
-
|
|
667
|
-
followWallClock =
|
|
668
|
-
setFollowWallClock =
|
|
696
|
+
var _useState21 = useState(true),
|
|
697
|
+
_useState22 = _slicedToArray(_useState21, 2),
|
|
698
|
+
followWallClock = _useState22[0],
|
|
699
|
+
setFollowWallClock = _useState22[1];
|
|
669
700
|
/** 日历视图与顶栏日程条、右侧 Segmented 共用的日/周/月粒度 */
|
|
670
|
-
var
|
|
671
|
-
|
|
672
|
-
calendarGranularity =
|
|
673
|
-
setCalendarGranularity =
|
|
701
|
+
var _useState23 = useState('week'),
|
|
702
|
+
_useState24 = _slicedToArray(_useState23, 2),
|
|
703
|
+
calendarGranularity = _useState24[0],
|
|
704
|
+
setCalendarGranularity = _useState24[1];
|
|
674
705
|
/** 日历 key 首载缓存:同一 key 二次进入不再展示 loading(后台静默刷新) */
|
|
675
706
|
var calendarLoadedKeySetRef = useRef(new Set());
|
|
676
707
|
/** 当前一次 floorDay 请求所对应的日历 key */
|
|
677
708
|
var calendarInflightKeyRef = useRef(null);
|
|
678
709
|
/** 追踪 loading 边沿,识别请求开始/结束 */
|
|
679
710
|
var prevFloorDayLoadingRef = useRef(false);
|
|
680
|
-
var
|
|
681
|
-
|
|
682
|
-
isNewReservationModalOpen =
|
|
683
|
-
setIsNewReservationModalOpen =
|
|
711
|
+
var _useState25 = useState(false),
|
|
712
|
+
_useState26 = _slicedToArray(_useState25, 2),
|
|
713
|
+
isNewReservationModalOpen = _useState26[0],
|
|
714
|
+
setIsNewReservationModalOpen = _useState26[1];
|
|
684
715
|
var newReservationRoutes = useNewReservationRoutesFromEngine(router);
|
|
685
716
|
var searchParamsRefControlled = useRef(searchParamsProp);
|
|
686
717
|
useEffect(function () {
|
|
@@ -885,10 +916,10 @@ export var PisellReservationCore = function PisellReservationCore(props) {
|
|
|
885
916
|
});
|
|
886
917
|
}, [floorMapHudTableDrawer]);
|
|
887
918
|
var isFloorModeControlled = (floorMapProp === null || floorMapProp === void 0 ? void 0 : floorMapProp.mode) !== undefined;
|
|
888
|
-
var
|
|
889
|
-
|
|
890
|
-
mapEditInternal =
|
|
891
|
-
setMapEditInternal =
|
|
919
|
+
var _useState27 = useState(false),
|
|
920
|
+
_useState28 = _slicedToArray(_useState27, 2),
|
|
921
|
+
mapEditInternal = _useState28[0],
|
|
922
|
+
setMapEditInternal = _useState28[1];
|
|
892
923
|
var effectiveMapMode = (_floorMapProp$mode = floorMapProp === null || floorMapProp === void 0 ? void 0 : floorMapProp.mode) !== null && _floorMapProp$mode !== void 0 ? _floorMapProp$mode : mapEditInternal ? 'edit' : 'read';
|
|
893
924
|
var _useFloorMapBookingIn = useFloorMapBookingInteraction({
|
|
894
925
|
engineCtx: engineCtx,
|
|
@@ -974,21 +1005,135 @@ export var PisellReservationCore = function PisellReservationCore(props) {
|
|
|
974
1005
|
var onSearch = isInternalListData ? onGridBookingSearch : onSearchProp;
|
|
975
1006
|
var onReset = isInternalListData ? gridBookingData.onReset : onResetProp;
|
|
976
1007
|
|
|
977
|
-
/**
|
|
1008
|
+
/** 调试:当前为日历视图时,打印传入 RecordBoard 日历槽位的 resources / bookings 等 */
|
|
1009
|
+
useEffect(function () {
|
|
1010
|
+
if (shellBodyView !== 'calendar') return;
|
|
1011
|
+
var summarizeBooking = function summarizeBooking(b) {
|
|
1012
|
+
return {
|
|
1013
|
+
id: b.id,
|
|
1014
|
+
courtId: b.courtId,
|
|
1015
|
+
date: b.date,
|
|
1016
|
+
startHour: b.startHour,
|
|
1017
|
+
endHour: b.endHour,
|
|
1018
|
+
name: b.name,
|
|
1019
|
+
kind: b.kind
|
|
1020
|
+
};
|
|
1021
|
+
};
|
|
1022
|
+
var summarizeResource = function summarizeResource(r) {
|
|
1023
|
+
return {
|
|
1024
|
+
id: r.id,
|
|
1025
|
+
name: r.name,
|
|
1026
|
+
groupType: r.groupType
|
|
1027
|
+
};
|
|
1028
|
+
};
|
|
1029
|
+
// eslint-disable-next-line no-console -- 调试日历视图数据
|
|
1030
|
+
console.log('[PisellReservation] calendar 展示数据', {
|
|
1031
|
+
shellBodyView: shellBodyView,
|
|
1032
|
+
calendarGranularity: calendarGranularity,
|
|
1033
|
+
anchorDate: schedule.date.toISOString(),
|
|
1034
|
+
scheduleAt: dayjs(schedule.at).isValid() ? dayjs(schedule.at).toISOString() : String(schedule.at),
|
|
1035
|
+
timelineRange: effectiveTimelineRange,
|
|
1036
|
+
floorDayBookingLoading: floorDayBookingData.loading,
|
|
1037
|
+
floorDayBookingCount: Array.isArray(floorDayBookingData.data) ? floorDayBookingData.data.length : 0,
|
|
1038
|
+
calendarOrderedResourceIds: calendarOrderedResourceIds,
|
|
1039
|
+
resourcesCount: calendarResources.length,
|
|
1040
|
+
resourcesPreview: calendarResources.slice(0, 12).map(summarizeResource),
|
|
1041
|
+
bookingsCount: calendarBookings.length,
|
|
1042
|
+
bookingsPreview: calendarBookings.slice(0, 12).map(summarizeBooking),
|
|
1043
|
+
resourcesFull: calendarResources,
|
|
1044
|
+
bookingsFull: calendarBookings
|
|
1045
|
+
});
|
|
1046
|
+
}, [shellBodyView, calendarGranularity, schedule.date, schedule.at, effectiveTimelineRange, floorDayBookingData.loading, floorDayBookingData.data, calendarOrderedResourceIds, calendarResources, calendarBookings]);
|
|
1047
|
+
|
|
1048
|
+
/** 调试:当前为资源墙视图时,打印与 PisellRecordBoardResourceWallView 一致的展示数据(含占位卡) */
|
|
1049
|
+
useEffect(function () {
|
|
1050
|
+
if (shellBodyView !== 'resourceWall') return;
|
|
1051
|
+
var filterKey = DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY;
|
|
1052
|
+
var sp = searchParams;
|
|
1053
|
+
var fv = sp === null || sp === void 0 ? void 0 : sp.filter;
|
|
1054
|
+
var vals = fv && _typeof(fv) === 'object' && fv !== null && _typeof(fv.values) === 'object' && fv.values !== null ? fv.values : {};
|
|
1055
|
+
var selectedRaw = vals[filterKey];
|
|
1056
|
+
var selectedIds = Array.isArray(selectedRaw) ? dedupeResourceWallIdsPreserveOrder(selectedRaw.map(function (x) {
|
|
1057
|
+
return String(x);
|
|
1058
|
+
})) : [];
|
|
1059
|
+
var allCards = venueWallCards;
|
|
1060
|
+
var byId = new Map(allCards.map(function (c) {
|
|
1061
|
+
return [String(c.resourceId), c];
|
|
1062
|
+
}));
|
|
1063
|
+
var visibleCards = selectedIds.length === 0 ? [] : selectedIds.map(function (id) {
|
|
1064
|
+
var hit = byId.get(id);
|
|
1065
|
+
return hit !== null && hit !== void 0 ? hit : {
|
|
1066
|
+
resourceId: id,
|
|
1067
|
+
resource: id,
|
|
1068
|
+
status: 'available'
|
|
1069
|
+
};
|
|
1070
|
+
});
|
|
1071
|
+
var summarize = function summarize(c) {
|
|
1072
|
+
var _c$nextList;
|
|
1073
|
+
return {
|
|
1074
|
+
resourceId: c.resourceId,
|
|
1075
|
+
resource: c.resource,
|
|
1076
|
+
area: c.area,
|
|
1077
|
+
status: c.status,
|
|
1078
|
+
currentTime: c.currentTime,
|
|
1079
|
+
currentBooking: c.currentBooking,
|
|
1080
|
+
startsInMin: c.startsInMin,
|
|
1081
|
+
lateMin: c.lateMin,
|
|
1082
|
+
remainingMin: c.remainingMin,
|
|
1083
|
+
nextListHead: (_c$nextList = c.nextList) === null || _c$nextList === void 0 ? void 0 : _c$nextList.slice(0, 2)
|
|
1084
|
+
};
|
|
1085
|
+
};
|
|
1086
|
+
// eslint-disable-next-line no-console -- 调试资源墙展示数据
|
|
1087
|
+
console.log('[PisellReservation] resourceWall 展示数据', {
|
|
1088
|
+
shellBodyView: shellBodyView,
|
|
1089
|
+
filterFieldKey: filterKey,
|
|
1090
|
+
searchParamsFilterValues: vals,
|
|
1091
|
+
selectedIds: selectedIds,
|
|
1092
|
+
floorDayBookingLoading: floorDayBookingData.loading,
|
|
1093
|
+
floorBookingExtraParams: floorBookingExtraParams,
|
|
1094
|
+
cardsCount: allCards.length,
|
|
1095
|
+
visibleCount: visibleCards.length,
|
|
1096
|
+
cardsPreview: allCards.slice(0, 8).map(summarize),
|
|
1097
|
+
visiblePreview: visibleCards.slice(0, 8).map(summarize),
|
|
1098
|
+
cardsFull: allCards,
|
|
1099
|
+
visibleFull: visibleCards
|
|
1100
|
+
});
|
|
1101
|
+
}, [shellBodyView, venueWallCards, floorDayBookingData.loading, searchParams, floorBookingExtraParams]);
|
|
1102
|
+
|
|
1103
|
+
/** 大屏资源多选:localStorage v1 恢复(id 与勾选一致,不与画布/日历列表求交),并持久化变更(不上传独立接口) */
|
|
978
1104
|
useEffect(function () {
|
|
1105
|
+
var _lsParsed, _lsParsed$resourceIds;
|
|
979
1106
|
if (!isInternalListData) return;
|
|
980
1107
|
if (resourceWallFilterHydratedRef.current) return;
|
|
981
|
-
if (calendarOrderedResourceIds.length === 0) return;
|
|
982
1108
|
var fv = searchParams === null || searchParams === void 0 ? void 0 : searchParams.filter;
|
|
983
1109
|
var values = fv && _typeof(fv) === 'object' && fv !== null && _typeof(fv.values) === 'object' && fv.values !== null ? fv.values : {};
|
|
984
|
-
var
|
|
1110
|
+
var whitelist = RESERVATION_RESOURCE_WALL_PERSISTED_FILTER_VALUE_KEYS;
|
|
1111
|
+
var lsParsed = {
|
|
1112
|
+
filterValuePatches: {}
|
|
1113
|
+
};
|
|
1114
|
+
try {
|
|
1115
|
+
var raw = localStorage.getItem(resourceWallFilterStorageKey);
|
|
1116
|
+
lsParsed = parseResourceWallLocalStorage(raw, whitelist);
|
|
1117
|
+
} catch (_unused4) {
|
|
1118
|
+
/* keep default */
|
|
1119
|
+
}
|
|
1120
|
+
if (((_lsParsed = lsParsed) === null || _lsParsed === void 0 ? void 0 : _lsParsed.venueWallAppearanceTheme) != null && isVenueWallAppearanceThemeNonEmpty(lsParsed.venueWallAppearanceTheme)) {
|
|
1121
|
+
setVenueWallAppearanceTheme(lsParsed.venueWallAppearanceTheme);
|
|
1122
|
+
}
|
|
1123
|
+
if (lsParsed.venueWallAppearanceMode === 'light' || lsParsed.venueWallAppearanceMode === 'dark') {
|
|
1124
|
+
setVenueWallAppearanceMode(lsParsed.venueWallAppearanceMode);
|
|
1125
|
+
}
|
|
1126
|
+
if (lsParsed.venueWallResourceLayout != null) {
|
|
1127
|
+
setVenueWallResourceLayout(lsParsed.venueWallResourceLayout);
|
|
1128
|
+
}
|
|
985
1129
|
var existing = values.resource_wall_resource_ids;
|
|
986
1130
|
if (Array.isArray(existing) && existing.length > 0) {
|
|
987
|
-
|
|
1131
|
+
var hasPatches = Object.keys(lsParsed.filterValuePatches).length > 0;
|
|
1132
|
+
if (onSearch && hasPatches) {
|
|
988
1133
|
onSearch(_objectSpread(_objectSpread({}, searchParams), {}, {
|
|
989
1134
|
filter: _objectSpread(_objectSpread({}, _typeof(searchParams.filter) === 'object' && searchParams.filter !== null ? searchParams.filter : {}), {}, {
|
|
990
|
-
values: _objectSpread(_objectSpread({}, _typeof(values) === 'object' ? values : {}), {}, {
|
|
991
|
-
resource_wall_resource_ids: existing.
|
|
1135
|
+
values: _objectSpread(_objectSpread(_objectSpread({}, _typeof(values) === 'object' ? values : {}), lsParsed.filterValuePatches), {}, {
|
|
1136
|
+
resource_wall_resource_ids: existing.map(String)
|
|
992
1137
|
})
|
|
993
1138
|
})
|
|
994
1139
|
}));
|
|
@@ -996,42 +1141,69 @@ export var PisellReservationCore = function PisellReservationCore(props) {
|
|
|
996
1141
|
resourceWallFilterHydratedRef.current = true;
|
|
997
1142
|
return;
|
|
998
1143
|
}
|
|
999
|
-
var
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
} catch (_unused2) {
|
|
1004
|
-
/* ignore */
|
|
1005
|
-
}
|
|
1006
|
-
var all = calendarOrderedResourceIds;
|
|
1007
|
-
var storedIds = Array.isArray(stored) && stored.length > 0 ? stored : [];
|
|
1008
|
-
var picked = storedIds.length > 0 ? all.filter(function (id) {
|
|
1009
|
-
return storedIds.includes(id);
|
|
1010
|
-
}).slice(0, maxRw) : all.slice(0, maxRw);
|
|
1011
|
-
var finalList = picked.length > 0 ? picked : all.slice(0, maxRw);
|
|
1144
|
+
var explicitRid = lsParsed.resourceWallResourceIdsInFile === true;
|
|
1145
|
+
var idsFromLs = (_lsParsed$resourceIds = lsParsed.resourceIds) !== null && _lsParsed$resourceIds !== void 0 ? _lsParsed$resourceIds : [];
|
|
1146
|
+
/** 与勾选/落盘一致:显式 [] 写空;有 id 则按存储顺序原样恢复(去重),不裁剪到画布资源列表 */
|
|
1147
|
+
var finalList = explicitRid ? dedupeResourceWallIdsPreserveOrder(idsFromLs) : [];
|
|
1012
1148
|
resourceWallFilterHydratedRef.current = true;
|
|
1013
1149
|
if (!onSearch) return;
|
|
1014
1150
|
onSearch(_objectSpread(_objectSpread({}, searchParams), {}, {
|
|
1015
1151
|
filter: _objectSpread(_objectSpread({}, _typeof(searchParams.filter) === 'object' && searchParams.filter !== null ? searchParams.filter : {}), {}, {
|
|
1016
|
-
values: _objectSpread(_objectSpread({}, _typeof(values) === 'object' ? values : {}), {}, {
|
|
1152
|
+
values: _objectSpread(_objectSpread(_objectSpread({}, _typeof(values) === 'object' ? values : {}), lsParsed.filterValuePatches), {}, {
|
|
1017
1153
|
resource_wall_resource_ids: finalList
|
|
1018
1154
|
})
|
|
1019
1155
|
})
|
|
1020
1156
|
}));
|
|
1021
|
-
}, [isInternalListData,
|
|
1157
|
+
}, [isInternalListData, resourceWallFilterStorageKey, onSearch, searchParams]);
|
|
1158
|
+
|
|
1159
|
+
/**
|
|
1160
|
+
* 资源墙 localStorage:须依赖整块 `searchParams`。若仅依赖 `searchParams.filter`,
|
|
1161
|
+
* 少数路径可能只改写 `filter.values` 而复用同一 `filter` 引用,effect 不触发则多选 id 不落盘。
|
|
1162
|
+
*/
|
|
1022
1163
|
useEffect(function () {
|
|
1164
|
+
if (!isInternalListData) return;
|
|
1023
1165
|
var fv = searchParams === null || searchParams === void 0 ? void 0 : searchParams.filter;
|
|
1024
1166
|
if (!fv || _typeof(fv) !== 'object' || fv === null || _typeof(fv.values) !== 'object' || fv.values === null) {
|
|
1025
1167
|
return;
|
|
1026
1168
|
}
|
|
1027
|
-
var
|
|
1169
|
+
var vals = fv.values;
|
|
1170
|
+
var rid = vals.resource_wall_resource_ids;
|
|
1028
1171
|
if (!Array.isArray(rid)) return;
|
|
1172
|
+
var ridStable = dedupeResourceWallIdsPreserveOrder(rid.map(String));
|
|
1173
|
+
var filter_values = {};
|
|
1174
|
+
var _iterator6 = _createForOfIteratorHelper(RESERVATION_RESOURCE_WALL_PERSISTED_FILTER_VALUE_KEYS),
|
|
1175
|
+
_step6;
|
|
1029
1176
|
try {
|
|
1030
|
-
|
|
1031
|
-
|
|
1177
|
+
for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
|
|
1178
|
+
var k = _step6.value;
|
|
1179
|
+
if (k === 'resource_wall_resource_ids') continue;
|
|
1180
|
+
if (Object.prototype.hasOwnProperty.call(vals, k)) {
|
|
1181
|
+
filter_values[k] = vals[k];
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1184
|
+
} catch (err) {
|
|
1185
|
+
_iterator6.e(err);
|
|
1186
|
+
} finally {
|
|
1187
|
+
_iterator6.f();
|
|
1188
|
+
}
|
|
1189
|
+
var pack = {
|
|
1190
|
+
v: 1,
|
|
1191
|
+
resource_wall_resource_ids: ridStable
|
|
1192
|
+
};
|
|
1193
|
+
if (Object.keys(filter_values).length > 0) {
|
|
1194
|
+
pack.filter_values = filter_values;
|
|
1195
|
+
}
|
|
1196
|
+
if (isVenueWallAppearanceThemeNonEmpty(venueWallAppearanceTheme)) {
|
|
1197
|
+
pack.venueWallAppearanceTheme = venueWallAppearanceTheme;
|
|
1198
|
+
}
|
|
1199
|
+
pack.venueWallAppearanceMode = venueWallAppearanceMode;
|
|
1200
|
+
pack.venueWallResourceLayout = venueWallResourceLayout;
|
|
1201
|
+
try {
|
|
1202
|
+
localStorage.setItem(resourceWallFilterStorageKey, JSON.stringify(pack));
|
|
1203
|
+
} catch (_unused5) {
|
|
1032
1204
|
/* ignore */
|
|
1033
1205
|
}
|
|
1034
|
-
}, [
|
|
1206
|
+
}, [isInternalListData, searchParams, resourceWallFilterStorageKey, venueWallAppearanceTheme, venueWallAppearanceMode, venueWallResourceLayout]);
|
|
1035
1207
|
|
|
1036
1208
|
// --- 新建预约:引擎路由多选弹窗;单路由则直接 push ---
|
|
1037
1209
|
|
|
@@ -1121,33 +1293,15 @@ export var PisellReservationCore = function PisellReservationCore(props) {
|
|
|
1121
1293
|
return _ref3.apply(this, arguments);
|
|
1122
1294
|
};
|
|
1123
1295
|
}(), [isInternalListData, floorDayBookingData.data, data, salesTimelineHighlights, effectiveTimelineRange.start, effectiveTimelineRange.end]);
|
|
1124
|
-
|
|
1125
|
-
/** 大屏:仅一项资源多选快筛(options 为全量资源,非画布子集) */
|
|
1126
|
-
var reservationResourceWallQuickFilter = useMemo(function () {
|
|
1127
|
-
return {
|
|
1128
|
-
filterList: [{
|
|
1129
|
-
type: 'custom',
|
|
1130
|
-
key: 'resource_wall_resource_ids',
|
|
1131
|
-
name: 'resource_wall_resource_ids',
|
|
1132
|
-
label: locales.getText(I18N_RESOURCE_WALL_RESOURCES),
|
|
1133
|
-
props: {
|
|
1134
|
-
options: resourceWallFilterSelectOptions
|
|
1135
|
-
},
|
|
1136
|
-
other: {
|
|
1137
|
-
component: ReservationResourceWallResourceSelect
|
|
1138
|
-
}
|
|
1139
|
-
}],
|
|
1140
|
-
hideFilterNamesOnFloorMap: []
|
|
1141
|
-
};
|
|
1142
|
-
}, [resourceWallFilterSelectOptions]);
|
|
1143
1296
|
var toolBarMerged = useMemo(function () {
|
|
1144
1297
|
var _ref4 = toolBarProp !== null && toolBarProp !== void 0 ? toolBarProp : {},
|
|
1145
1298
|
extraTabs = _ref4.tabs,
|
|
1146
1299
|
topRightProp = _ref4.topRight,
|
|
1147
1300
|
bottomLeftProp = _ref4.bottomLeft,
|
|
1301
|
+
toolBarQuickFilterOverride = _ref4.quickFilter,
|
|
1148
1302
|
restToolbar = _objectWithoutProperties(_ref4, _excluded2);
|
|
1149
1303
|
return _objectSpread(_objectSpread(_objectSpread({}, bookingToolBar !== null && bookingToolBar !== void 0 ? bookingToolBar : {}), restToolbar), {}, {
|
|
1150
|
-
quickFilter:
|
|
1304
|
+
quickFilter: toolBarQuickFilterOverride !== undefined ? toolBarQuickFilterOverride : bookingToolBar === null || bookingToolBar === void 0 ? void 0 : bookingToolBar.quickFilter,
|
|
1151
1305
|
tabs: /*#__PURE__*/React.createElement(PisellReservationToolbarTabs, {
|
|
1152
1306
|
extraTabs: extraTabs,
|
|
1153
1307
|
schedule: schedule,
|
|
@@ -1173,7 +1327,7 @@ export var PisellReservationCore = function PisellReservationCore(props) {
|
|
|
1173
1327
|
}),
|
|
1174
1328
|
bottomLeft: bottomLeftProp !== null && bottomLeftProp !== void 0 ? bottomLeftProp : null
|
|
1175
1329
|
});
|
|
1176
|
-
}, [bookingToolBar, toolBarProp, schedule, handleScheduleChange, scheduleStartSlotProp, effectiveScheduleEndSlot, followWallClock, timeNavigatorPropsProp, mergedTimeNavigatorProps, schedulePropsProp, loadReservationDensity, calendarGranularity
|
|
1330
|
+
}, [bookingToolBar, toolBarProp, schedule, handleScheduleChange, scheduleStartSlotProp, effectiveScheduleEndSlot, followWallClock, timeNavigatorPropsProp, mergedTimeNavigatorProps, schedulePropsProp, loadReservationDensity, calendarGranularity]);
|
|
1177
1331
|
|
|
1178
1332
|
// --- 渲染:RecordBoard + 新建弹窗 + 平面图预约详情 + FAB ---
|
|
1179
1333
|
|
|
@@ -1357,9 +1511,15 @@ export var PisellReservationCore = function PisellReservationCore(props) {
|
|
|
1357
1511
|
return {
|
|
1358
1512
|
cards: venueWallCards,
|
|
1359
1513
|
loading: floorDayBookingData.loading,
|
|
1360
|
-
filterFieldKey: DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY
|
|
1514
|
+
filterFieldKey: DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY,
|
|
1515
|
+
appearanceTheme: venueWallAppearanceTheme,
|
|
1516
|
+
onAppearanceThemeChange: setVenueWallAppearanceTheme,
|
|
1517
|
+
appearanceMode: venueWallAppearanceMode,
|
|
1518
|
+
onAppearanceModeChange: setVenueWallAppearanceMode,
|
|
1519
|
+
resourceWallLayout: venueWallResourceLayout,
|
|
1520
|
+
onResourceWallLayoutChange: setVenueWallResourceLayout
|
|
1361
1521
|
};
|
|
1362
|
-
}, [venueWallCards, floorDayBookingData.loading]);
|
|
1522
|
+
}, [venueWallCards, floorDayBookingData.loading, venueWallAppearanceTheme, venueWallAppearanceMode, venueWallResourceLayout]);
|
|
1363
1523
|
return /*#__PURE__*/React.createElement(LocalizationProvider, {
|
|
1364
1524
|
dateAdapter: AdapterDayjs,
|
|
1365
1525
|
adapterLocale: muiDatePickerAdapterLocale
|
|
@@ -1390,14 +1550,14 @@ export var PisellReservationCore = function PisellReservationCore(props) {
|
|
|
1390
1550
|
bodyViewSwitchable: bodyViewSwitchable,
|
|
1391
1551
|
lockedBodyView: lockedBodyView,
|
|
1392
1552
|
floorMapLayoutRef: floorMapLayoutRef
|
|
1393
|
-
}), /*#__PURE__*/React.createElement(
|
|
1553
|
+
}), /*#__PURE__*/React.createElement(RecordBoardBodyViewCapture, {
|
|
1394
1554
|
bodyViewRef: bodyViewRef,
|
|
1395
1555
|
onBodyViewChange: setShellBodyView
|
|
1396
1556
|
}), /*#__PURE__*/React.createElement(ScheduleSyncOnFloorEnter, {
|
|
1397
1557
|
schedule: schedule,
|
|
1398
1558
|
isInternalListData: isInternalListData,
|
|
1399
1559
|
patchSearchParams: floorDayBookingData.patchSearchParams
|
|
1400
|
-
}), /*#__PURE__*/React.createElement(PisellRecordBoard.GridLayout, null), /*#__PURE__*/React.createElement(PisellRecordBoard.FloorMap, null), /*#__PURE__*/React.createElement(PisellRecordBoard.Calendar, null), /*#__PURE__*/React.createElement(PisellRecordBoard.ResourceWall, null))), /*#__PURE__*/React.createElement(PisellModal, {
|
|
1560
|
+
}), /*#__PURE__*/React.createElement(PisellRecordBoard.ShellFrame, null, /*#__PURE__*/React.createElement(PisellRecordBoard.GridLayout, null), /*#__PURE__*/React.createElement(PisellRecordBoard.FloorMap, null), /*#__PURE__*/React.createElement(PisellRecordBoard.Calendar, null), /*#__PURE__*/React.createElement(PisellRecordBoard.ResourceWall, null))), /*#__PURE__*/React.createElement(PisellModal, {
|
|
1401
1561
|
platform: "pc",
|
|
1402
1562
|
open: isNewReservationModalOpen,
|
|
1403
1563
|
title: locales.getText(I18N_NEW_MODAL_TITLE),
|