@pisell/private-materials 6.3.145 → 6.3.146
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +153 -145
- package/build/lowcode/render/default/view.js +10 -10
- package/build/lowcode/view.js +10 -10
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Content/index.d.ts +1 -0
- package/es/components/appointmentBooking/index.d.ts +1 -0
- package/es/components/booking/components/footer/index.d.ts +1 -0
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/es/components/booking/info/index.d.ts +1 -0
- package/es/components/booking/info/notes/index.d.ts +0 -1
- package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
- package/es/components/ecocup/components/CupInfoCard/index.d.ts +1 -0
- package/es/components/ecocup/components/CustomerCard/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/SelectHolderModal.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/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/es/components/productExtension/fields/Actor/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/shoppingCart/components/Empty/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
- package/es/components/shoppingCart/index.d.ts +0 -1
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -1
- package/es/plus/pisellReservation/floorMap/floorPlanApi.d.ts +5 -5
- package/es/plus/pisellReservation/floorMap/reservationCards.d.ts +7 -7
- package/es/plus/pisellReservation/floorMap/useReservationFloorMapMerged.d.ts +1 -1
- package/es/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +1 -1
- package/es/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +3 -3
- package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +1 -0
- package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -0
- package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/es/pro/Login2.0/components/PhoneInput.js +1 -1
- package/es/pro/Login2.0/shared/registerFlow.d.ts +3 -2
- package/es/pro/Login2.0/steps/CodeInput.js +6 -1
- package/es/pro/Login2.0/steps/WaitEmailLink.js +2 -1
- package/es/pro/Selector/demo.d.ts +1 -0
- package/es/pro/pisellPaymentList/example.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
- package/lib/components/appointmentBooking/index.d.ts +1 -0
- package/lib/components/booking/components/footer/index.d.ts +1 -0
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/lib/components/booking/info/index.d.ts +1 -0
- package/lib/components/booking/info/notes/index.d.ts +0 -1
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
- package/lib/components/ecocup/components/CupInfoCard/index.d.ts +1 -0
- package/lib/components/ecocup/components/CustomerCard/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.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/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Actor/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/shoppingCart/components/Empty/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
- package/lib/components/shoppingCart/index.d.ts +0 -1
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -1
- package/lib/plus/pisellReservation/floorMap/floorPlanApi.d.ts +5 -5
- package/lib/plus/pisellReservation/floorMap/reservationCards.d.ts +7 -7
- package/lib/plus/pisellReservation/floorMap/useReservationFloorMapMerged.d.ts +1 -1
- package/lib/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +1 -1
- package/lib/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +3 -3
- package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -0
- package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/lib/pro/Login2.0/components/PhoneInput.js +1 -0
- package/lib/pro/Login2.0/shared/registerFlow.d.ts +3 -2
- package/lib/pro/Login2.0/steps/CodeInput.js +6 -1
- package/lib/pro/Login2.0/steps/WaitEmailLink.js +2 -1
- package/lib/pro/Selector/demo.d.ts +1 -0
- package/lib/pro/pisellPaymentList/example.d.ts +0 -1
- package/package.json +1 -1
- package/es/components/Sales/Summary/utils.d.ts +0 -58
- package/es/components/appointmentBooking/components/Date/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Form/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/es/components/appointmentBooking/hooks.d.ts +0 -107
- package/es/components/appointmentBooking/locales.d.ts +0 -606
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +0 -6
- package/es/components/booking/components/footer/amount.d.ts +0 -25
- package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -9
- package/es/components/booking/components/tabPane/index.d.ts +0 -4
- package/es/components/booking/components/voucher/utils.d.ts +0 -4
- package/es/components/booking/dashboard/serve.d.ts +0 -1
- package/es/components/booking/deposit/ClientItem/index.d.ts +0 -18
- package/es/components/booking/deposit/DepositItem/index.d.ts +0 -26
- package/es/components/booking/deposit/index.d.ts +0 -2
- package/es/components/booking/editBookingModal/utils.d.ts +0 -12
- package/es/components/booking/forms/forms.d.ts +0 -30
- package/es/components/booking/forms/serve.d.ts +0 -18
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/es/components/booking/info/addServiceVariant/index.d.ts +0 -6
- package/es/components/booking/info/client/index.d.ts +0 -4
- package/es/components/booking/info/client/serve.d.ts +0 -2
- package/es/components/booking/info/clientVariant/utils.d.ts +0 -1
- package/es/components/booking/info/header/index.d.ts +0 -3
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -9
- package/es/components/booking/info/model.d.ts +0 -14
- package/es/components/booking/info/pet/serve.d.ts +0 -1
- package/es/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
- package/es/components/booking/info/service/addTimeModal/utils.d.ts +0 -31
- package/es/components/booking/info/service/editService/constants.d.ts +0 -1
- package/es/components/booking/info/service/serve.d.ts +0 -20
- package/es/components/booking/info/service/serviceList/index.d.ts +0 -5
- package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +0 -11
- package/es/components/booking/info/service/serviceManager/index.d.ts +0 -20
- package/es/components/booking/info/service2/Group/utils.d.ts +0 -14
- package/es/components/booking/info/service2/utils.d.ts +0 -248
- package/es/components/booking/info/utils.d.ts +0 -50
- package/es/components/booking/info2/serve.d.ts +0 -6
- package/es/components/booking/info2/service/addService/index.d.ts +0 -11
- package/es/components/booking/info2/service/addService/utils.d.ts +0 -98
- package/es/components/booking/info2/service/editService/utils.d.ts +0 -28
- package/es/components/booking/info2/service/serviceList/index.d.ts +0 -5
- package/es/components/booking/info2/utilsByBooking.d.ts +0 -35
- package/es/components/booking/locales.d.ts +0 -1489
- package/es/components/booking/model.d.ts +0 -120
- package/es/components/booking/notes/addNote/index.d.ts +0 -3
- package/es/components/booking/utils.d.ts +0 -175
- 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/amount.d.ts +0 -20
- package/es/components/eftposPay/app.d.ts +0 -10
- package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -3
- package/es/components/eftposPay/component/fail/index.d.ts +0 -3
- package/es/components/eftposPay/component/fail/network.d.ts +0 -8
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -9
- package/es/components/eftposPay/component/manual/index.d.ts +0 -9
- package/es/components/eftposPay/component/signature/index.d.ts +0 -8
- package/es/components/eftposPay/const.d.ts +0 -186
- package/es/components/eftposPay/device.d.ts +0 -23
- package/es/components/eftposPay/hooks.d.ts +0 -36
- package/es/components/eftposPay/index.d.ts +0 -4
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
- package/es/components/eftposPay/locales.d.ts +0 -572
- package/es/components/eftposPay/manufacturer.d.ts +0 -7
- package/es/components/eftposPay/pay.d.ts +0 -20
- package/es/components/eftposPay/payo/config.d.ts +0 -12
- 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 -9
- 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/utils/payLog.d.ts +0 -81
- package/es/components/eftposPay/windcave/helper.d.ts +0 -23
- package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -22
- package/es/components/eftposPay/windcave/windcave.d.ts +0 -6
- package/es/components/kioskSkuDetail/locales.d.ts +0 -48
- package/es/components/pay/toC/PaymentMethods/BankDeposit/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/index.d.ts +0 -10
- package/es/components/pay/toC/locales.d.ts +0 -631
- package/es/components/pay/toC/model.d.ts +0 -40
- package/es/components/pay/toC/payGroup.d.ts +0 -59
- package/es/components/pay/toC/utils.d.ts +0 -65
- package/es/components/pisellSelectCustomerModal/locales.d.ts +0 -133
- package/es/components/ruleSetting/locales.d.ts +0 -78
- package/es/components/scanOrder/components/Checkout/index.d.ts +0 -7
- package/es/components/scanOrder/components/ErrorState/index.d.ts +0 -8
- package/es/components/scanOrder/components/FulfillmentMode/index.d.ts +0 -11
- package/es/components/scanOrder/context.d.ts +0 -4
- package/es/components/scanOrder/hooks.d.ts +0 -14
- package/es/components/scanOrder/index.d.ts +0 -5
- package/es/components/scanOrder/locales.d.ts +0 -248
- package/es/components/scanOrder/types.d.ts +0 -79
- package/es/components/scanOrder/utils/toShoppingCartProducts.d.ts +0 -21
- package/es/components/scanOrder/utils/transformProductDetail.d.ts +0 -59
- package/es/components/schedules/locales.d.ts +0 -143
- package/es/components/shoppingCart/locales.d.ts +0 -53
- package/es/components/shoppingCart/type.d.ts +0 -48
- package/es/components/subTotal/locales.d.ts +0 -68
- package/es/components/systemSettings/registry/locales.d.ts +0 -534
- package/es/components/systemSettings/registry/services.d.ts +0 -99
- package/es/components/systemSettings/registry/types.d.ts +0 -143
- package/es/components/taxSelect/locales.d.ts +0 -38
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -6
- package/es/components/ticketBooking/locales.d.ts +0 -299
- package/es/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
- package/es/components/ticketBooking/utils/index.d.ts +0 -25
- package/es/components/venueBooking/components/Deposit/index.d.ts +0 -14
- package/es/components/venueBooking/components/VenueSelection/components/PriceLegend.d.ts +0 -2
- package/es/components/venueBooking/context.d.ts +0 -9
- package/es/components/venueBooking/hooks.d.ts +0 -72
- package/es/components/venueBooking/locales.d.ts +0 -627
- package/es/components/venueBooking/mock.d.ts +0 -23
- package/es/components/venueBooking/temp.d.ts +0 -2
- package/es/components/venueBooking/types.d.ts +0 -204
- package/es/components/venueBooking/utils/transformProductDetail.d.ts +0 -8
- package/es/components/venueBooking/utils.d.ts +0 -66
- 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/useEngineContext.d.ts +0 -11
- package/es/hooks/useWindowSize.d.ts +0 -5
- package/es/plus/clinetSearch/index.d.ts +0 -18
- 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/floorMap/floorMapHostCheckout.d.ts +0 -6
- 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 -4
- package/es/plus/pisellReservation/floorRoomCard/views/RoomCardShellView.d.ts +0 -9
- package/es/plus/pisellReservation/hooks/useNewReservationRoutesFromEngine.d.ts +0 -8
- package/es/plus/pisellReservation/hooks/usePisellReservationBookingData.d.ts +0 -47
- package/es/plus/pisellReservation/hooks/useReservationLoadingShownDebounced.d.ts +0 -5
- package/es/plus/pisellReservation/locales/locales-ja.d.ts +0 -133
- package/es/plus/pisellReservation/locales/locales-pt.d.ts +0 -133
- package/es/plus/pisellReservation/locales/locales.d.ts +0 -666
- package/es/plus/pisellReservation/reservationConstants.d.ts +0 -1117
- package/es/plus/pisellSalesGrid/types.d.ts +0 -197
- package/es/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +0 -30
- package/es/plus/pisellSalesProductCard/locales.d.ts +0 -38
- package/es/plus/pisellSalesProductCard/types.d.ts +0 -134
- package/es/plus/pisellSalesProductCard/utils.d.ts +0 -17
- package/es/plus/productSelect/CategoryTabs/index.d.ts +0 -21
- package/es/plus/productSelect/ProductCard/ProductCardV2.d.ts +0 -21
- package/es/plus/productSelect/ProductCard/index.d.ts +0 -47
- package/es/plus/saasTeamMembers/locales.d.ts +0 -546
- package/es/plus/selectHolder/locales.d.ts +0 -35
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -5
- package/es/plus/skuOptionsSelection/locales.d.ts +0 -58
- package/es/plus/skuOptionsSelection/types.d.ts +0 -458
- package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
- package/es/pro/Cards/components/SKUCard/types.d.ts +0 -73
- 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/NumericStepper/index.d.ts +0 -96
- package/es/pro/Selector/Selector.stories.d.ts +0 -78
- package/es/pro/Selector/hooks/usePresetProps.d.ts +0 -24
- package/es/pro/pisellNumberSelector/example.d.ts +0 -3
- package/es/test/setup.d.ts +0 -1
- package/lib/components/Sales/Summary/utils.d.ts +0 -58
- package/lib/components/appointmentBooking/components/Date/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Form/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/lib/components/appointmentBooking/hooks.d.ts +0 -107
- package/lib/components/appointmentBooking/locales.d.ts +0 -606
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +0 -6
- package/lib/components/booking/components/footer/amount.d.ts +0 -25
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -9
- package/lib/components/booking/components/tabPane/index.d.ts +0 -4
- package/lib/components/booking/components/voucher/utils.d.ts +0 -4
- package/lib/components/booking/dashboard/serve.d.ts +0 -1
- package/lib/components/booking/deposit/ClientItem/index.d.ts +0 -18
- package/lib/components/booking/deposit/DepositItem/index.d.ts +0 -26
- package/lib/components/booking/deposit/index.d.ts +0 -2
- package/lib/components/booking/editBookingModal/utils.d.ts +0 -12
- package/lib/components/booking/forms/forms.d.ts +0 -30
- package/lib/components/booking/forms/serve.d.ts +0 -18
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -6
- package/lib/components/booking/info/client/index.d.ts +0 -4
- package/lib/components/booking/info/client/serve.d.ts +0 -2
- package/lib/components/booking/info/clientVariant/utils.d.ts +0 -1
- package/lib/components/booking/info/header/index.d.ts +0 -3
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -9
- package/lib/components/booking/info/model.d.ts +0 -14
- package/lib/components/booking/info/pet/serve.d.ts +0 -1
- package/lib/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
- package/lib/components/booking/info/service/addTimeModal/utils.d.ts +0 -31
- package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
- package/lib/components/booking/info/service/serve.d.ts +0 -20
- package/lib/components/booking/info/service/serviceList/index.d.ts +0 -5
- package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +0 -11
- package/lib/components/booking/info/service/serviceManager/index.d.ts +0 -20
- package/lib/components/booking/info/service2/Group/utils.d.ts +0 -14
- package/lib/components/booking/info/service2/utils.d.ts +0 -248
- package/lib/components/booking/info/utils.d.ts +0 -50
- package/lib/components/booking/info2/serve.d.ts +0 -6
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -11
- package/lib/components/booking/info2/service/addService/utils.d.ts +0 -98
- package/lib/components/booking/info2/service/editService/utils.d.ts +0 -28
- package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -5
- package/lib/components/booking/info2/utilsByBooking.d.ts +0 -35
- package/lib/components/booking/locales.d.ts +0 -1489
- package/lib/components/booking/model.d.ts +0 -120
- package/lib/components/booking/notes/addNote/index.d.ts +0 -3
- package/lib/components/booking/utils.d.ts +0 -175
- 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/amount.d.ts +0 -20
- package/lib/components/eftposPay/app.d.ts +0 -10
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -3
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -3
- package/lib/components/eftposPay/component/fail/network.d.ts +0 -8
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -9
- package/lib/components/eftposPay/component/manual/index.d.ts +0 -9
- package/lib/components/eftposPay/component/signature/index.d.ts +0 -8
- package/lib/components/eftposPay/const.d.ts +0 -186
- package/lib/components/eftposPay/device.d.ts +0 -23
- package/lib/components/eftposPay/hooks.d.ts +0 -36
- package/lib/components/eftposPay/index.d.ts +0 -4
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
- package/lib/components/eftposPay/locales.d.ts +0 -572
- package/lib/components/eftposPay/manufacturer.d.ts +0 -7
- package/lib/components/eftposPay/pay.d.ts +0 -20
- package/lib/components/eftposPay/payo/config.d.ts +0 -12
- 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 -9
- 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/utils/payLog.d.ts +0 -81
- package/lib/components/eftposPay/windcave/helper.d.ts +0 -23
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -22
- package/lib/components/eftposPay/windcave/windcave.d.ts +0 -6
- package/lib/components/kioskSkuDetail/locales.d.ts +0 -48
- package/lib/components/pay/toC/PaymentMethods/BankDeposit/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/index.d.ts +0 -10
- package/lib/components/pay/toC/locales.d.ts +0 -631
- package/lib/components/pay/toC/model.d.ts +0 -40
- package/lib/components/pay/toC/payGroup.d.ts +0 -59
- package/lib/components/pay/toC/utils.d.ts +0 -65
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +0 -133
- package/lib/components/ruleSetting/locales.d.ts +0 -78
- package/lib/components/scanOrder/components/Checkout/index.d.ts +0 -7
- package/lib/components/scanOrder/components/ErrorState/index.d.ts +0 -8
- package/lib/components/scanOrder/components/FulfillmentMode/index.d.ts +0 -11
- package/lib/components/scanOrder/context.d.ts +0 -4
- package/lib/components/scanOrder/hooks.d.ts +0 -14
- package/lib/components/scanOrder/index.d.ts +0 -5
- package/lib/components/scanOrder/locales.d.ts +0 -248
- package/lib/components/scanOrder/types.d.ts +0 -79
- package/lib/components/scanOrder/utils/toShoppingCartProducts.d.ts +0 -21
- package/lib/components/scanOrder/utils/transformProductDetail.d.ts +0 -59
- package/lib/components/schedules/locales.d.ts +0 -143
- package/lib/components/shoppingCart/locales.d.ts +0 -53
- package/lib/components/shoppingCart/type.d.ts +0 -48
- package/lib/components/subTotal/locales.d.ts +0 -68
- package/lib/components/systemSettings/registry/locales.d.ts +0 -534
- package/lib/components/systemSettings/registry/services.d.ts +0 -99
- package/lib/components/systemSettings/registry/types.d.ts +0 -143
- package/lib/components/taxSelect/locales.d.ts +0 -38
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -6
- package/lib/components/ticketBooking/locales.d.ts +0 -299
- package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
- package/lib/components/ticketBooking/utils/index.d.ts +0 -25
- package/lib/components/venueBooking/components/Deposit/index.d.ts +0 -14
- package/lib/components/venueBooking/components/VenueSelection/components/PriceLegend.d.ts +0 -2
- package/lib/components/venueBooking/context.d.ts +0 -9
- package/lib/components/venueBooking/hooks.d.ts +0 -72
- package/lib/components/venueBooking/locales.d.ts +0 -627
- package/lib/components/venueBooking/mock.d.ts +0 -23
- package/lib/components/venueBooking/temp.d.ts +0 -2
- package/lib/components/venueBooking/types.d.ts +0 -204
- package/lib/components/venueBooking/utils/transformProductDetail.d.ts +0 -8
- package/lib/components/venueBooking/utils.d.ts +0 -66
- 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/useEngineContext.d.ts +0 -11
- package/lib/hooks/useWindowSize.d.ts +0 -5
- package/lib/plus/clinetSearch/index.d.ts +0 -18
- 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/floorMap/floorMapHostCheckout.d.ts +0 -6
- 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 -4
- package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardShellView.d.ts +0 -9
- package/lib/plus/pisellReservation/hooks/useNewReservationRoutesFromEngine.d.ts +0 -8
- package/lib/plus/pisellReservation/hooks/usePisellReservationBookingData.d.ts +0 -47
- package/lib/plus/pisellReservation/hooks/useReservationLoadingShownDebounced.d.ts +0 -5
- package/lib/plus/pisellReservation/locales/locales-ja.d.ts +0 -133
- package/lib/plus/pisellReservation/locales/locales-pt.d.ts +0 -133
- package/lib/plus/pisellReservation/locales/locales.d.ts +0 -666
- package/lib/plus/pisellReservation/reservationConstants.d.ts +0 -1117
- package/lib/plus/pisellSalesGrid/types.d.ts +0 -197
- package/lib/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +0 -30
- package/lib/plus/pisellSalesProductCard/locales.d.ts +0 -38
- package/lib/plus/pisellSalesProductCard/types.d.ts +0 -134
- package/lib/plus/pisellSalesProductCard/utils.d.ts +0 -17
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +0 -21
- package/lib/plus/productSelect/ProductCard/ProductCardV2.d.ts +0 -21
- package/lib/plus/productSelect/ProductCard/index.d.ts +0 -47
- package/lib/plus/saasTeamMembers/locales.d.ts +0 -546
- package/lib/plus/selectHolder/locales.d.ts +0 -35
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -5
- package/lib/plus/skuOptionsSelection/locales.d.ts +0 -58
- package/lib/plus/skuOptionsSelection/types.d.ts +0 -458
- package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
- package/lib/pro/Cards/components/SKUCard/types.d.ts +0 -73
- 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/NumericStepper/index.d.ts +0 -96
- package/lib/pro/Selector/Selector.stories.d.ts +0 -78
- package/lib/pro/Selector/hooks/usePresetProps.d.ts +0 -24
- package/lib/pro/pisellNumberSelector/example.d.ts +0 -3
- package/lib/test/setup.d.ts +0 -1
|
@@ -4,6 +4,6 @@ declare const useSendModal: (bookingId?: number) => {
|
|
|
4
4
|
setOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
5
5
|
handleOpen: () => void;
|
|
6
6
|
handleValuesChange: (val: any) => void;
|
|
7
|
-
handleOk: (values: SendModalValues) => Promise<
|
|
7
|
+
handleOk: (values: SendModalValues) => Promise<any>;
|
|
8
8
|
};
|
|
9
9
|
export default useSendModal;
|
|
@@ -6,10 +6,10 @@ export declare const RESERVATION_DEFAULT_FLOOR_PLAN_ID = 1;
|
|
|
6
6
|
export type { PostShopFloorPlanBody, PutShopFloorPlanBody, ShopFloorPlanByCodeRequestOptions, ShopFloorPlanDetail, ShopFloorPlanLayoutItem, };
|
|
7
7
|
export { buildFloorPlanPutBody, floorMapSavedConfigToRemotePatch, inferCanvasSizeFromScene, mergeFloorPlanViewRemote, parseLayoutFieldToViewConfigPatch, pickFloorPlanDetail, sceneElementsToShopLayout, viewConfigToLayoutPayload, isShopFloorPlanNotFoundResponse, isHttpNotFoundError, } from '@pisell/materials';
|
|
8
8
|
export declare function isFloorPlanDuplicateCodeError(err: unknown): boolean;
|
|
9
|
-
export declare const getShopFloorPlanByCode:
|
|
10
|
-
export declare const postShopFloorPlan:
|
|
11
|
-
export declare const putShopFloorPlan:
|
|
12
|
-
export declare const unsubscribeShopFloorPlanCodeQuery:
|
|
9
|
+
export declare const getShopFloorPlanByCode: any;
|
|
10
|
+
export declare const postShopFloorPlan: any;
|
|
11
|
+
export declare const putShopFloorPlan: any;
|
|
12
|
+
export declare const unsubscribeShopFloorPlanCodeQuery: any;
|
|
13
13
|
/**
|
|
14
14
|
* 404 时 POST 创建使用预约默认 JSON(`api/create-floor-map.json`)。
|
|
15
15
|
*/
|
|
@@ -21,7 +21,7 @@ export declare function buildDefaultReservationFloorPlanPostBody(code: string):
|
|
|
21
21
|
export declare function shopLayoutToSceneElements(layout: ShopFloorPlanLayoutItem[], options: {
|
|
22
22
|
canvasId: string;
|
|
23
23
|
dataSourceKey: string;
|
|
24
|
-
}):
|
|
24
|
+
}): any;
|
|
25
25
|
export declare function saveViewConfigToShopFloorPlan(id: number, config: import('@pisell/materials').FloorMapViewConfig, options: {
|
|
26
26
|
canvasWidth?: number;
|
|
27
27
|
canvasHeight?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type FloorMapMergedItem, type FloorMapDataSources
|
|
2
|
+
import { type FloorMapMergedItem, type FloorMapDataSources } from '@pisell/materials';
|
|
3
3
|
import type { PisellReservationTableRow } from '../types';
|
|
4
4
|
import './ReservationCards.less';
|
|
5
5
|
export declare function findReservationRow(item: FloorMapMergedItem, dataSources: FloorMapDataSources): PisellReservationTableRow | undefined;
|
|
@@ -7,10 +7,10 @@ export declare function renderReservationTableCard(item: FloorMapMergedItem, dat
|
|
|
7
7
|
export declare function renderReservationPartyCard(item: FloorMapMergedItem, dataSources: FloorMapDataSources): React.ReactNode;
|
|
8
8
|
export declare function renderReservationBarCard(item: FloorMapMergedItem, dataSources: FloorMapDataSources): React.ReactNode;
|
|
9
9
|
export declare function getReservationRenderItemByKind(dataSources: FloorMapDataSources): {
|
|
10
|
-
|
|
11
|
-
reservationBoundTable: (item: FloorMapItemBase, _index: number, _options?:
|
|
12
|
-
reservationBoundRoundTable: (item: FloorMapItemBase, _index: number, _options?:
|
|
13
|
-
reservationTable: (item: FloorMapItemBase, _index: number, _options?:
|
|
14
|
-
reservationPartyBench: (item: FloorMapItemBase, _index: number, _options?:
|
|
15
|
-
reservationBarSeat: (item: FloorMapItemBase, _index: number, _options?:
|
|
10
|
+
[x: number]: (item: FloorMapItemBase, _index: number, _options?: any) => any;
|
|
11
|
+
reservationBoundTable: (item: FloorMapItemBase, _index: number, _options?: any) => React.ReactNode;
|
|
12
|
+
reservationBoundRoundTable: (item: FloorMapItemBase, _index: number, _options?: any) => React.ReactNode;
|
|
13
|
+
reservationTable: (item: FloorMapItemBase, _index: number, _options?: any) => React.ReactNode;
|
|
14
|
+
reservationPartyBench: (item: FloorMapItemBase, _index: number, _options?: any) => React.ReactNode;
|
|
15
|
+
reservationBarSeat: (item: FloorMapItemBase, _index: number, _options?: any) => React.ReactNode;
|
|
16
16
|
};
|
|
@@ -43,4 +43,4 @@ export interface UseReservationFloorMapMergedParams {
|
|
|
43
43
|
/** 场控等:HUD 表抽屉开启时视口叠加层锚左下、Dock 默认右下(可由 floorMap 显式覆盖) */
|
|
44
44
|
floorMapHudTableDrawer?: boolean;
|
|
45
45
|
}
|
|
46
|
-
export declare function useReservationFloorMapMerged(params: UseReservationFloorMapMergedParams):
|
|
46
|
+
export declare function useReservationFloorMapMerged(params: UseReservationFloorMapMergedParams): any;
|
|
@@ -9,5 +9,5 @@ export declare function useReservationFloorPlan(options: {
|
|
|
9
9
|
}): {
|
|
10
10
|
baseFloorConfig: FloorMapViewConfig;
|
|
11
11
|
floorPlanRemoteId: number | null;
|
|
12
|
-
setRemoteFloorPlanView: import("react").Dispatch<
|
|
12
|
+
setRemoteFloorPlanView: import("react").Dispatch<any>;
|
|
13
13
|
};
|
|
@@ -7,10 +7,10 @@ export declare function useReservationScheduleDebounced(options: {
|
|
|
7
7
|
scheduleValueProp: ReservationScheduleBandValue | undefined;
|
|
8
8
|
}): {
|
|
9
9
|
internalSchedule: ReservationScheduleBandValue;
|
|
10
|
-
setInternalSchedule: import("react").Dispatch<
|
|
11
|
-
schedule:
|
|
10
|
+
setInternalSchedule: import("react").Dispatch<any>;
|
|
11
|
+
schedule: any;
|
|
12
12
|
debouncedSchedule: ReservationScheduleBandValue;
|
|
13
|
-
scheduleRef: import("react").MutableRefObject<
|
|
13
|
+
scheduleRef: import("react").MutableRefObject<any>;
|
|
14
14
|
flushCommittedSchedule: (next: ReservationScheduleBandValue) => void;
|
|
15
15
|
queueCommittedSchedule: (next: ReservationScheduleBandValue) => void;
|
|
16
16
|
};
|
|
@@ -3,6 +3,6 @@ export interface ImageUploadProps {
|
|
|
3
3
|
value?: string;
|
|
4
4
|
onChange?: (val: string) => void;
|
|
5
5
|
}
|
|
6
|
-
export declare const getBaseTime: (size: number) =>
|
|
6
|
+
export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
|
|
7
7
|
declare const ImageUpload: React.FC<ImageUploadProps>;
|
|
8
8
|
export default ImageUpload;
|
|
@@ -225,7 +225,7 @@ function PhoneInput(_ref) {
|
|
|
225
225
|
// 将输入值标准化为字符串格式(内部统一使用字符串)
|
|
226
226
|
var normalizedValue = useMemo(function () {
|
|
227
227
|
if (!value) return '';
|
|
228
|
-
|
|
228
|
+
console.log('value', value);
|
|
229
229
|
// 如果是对象格式,转换为字符串
|
|
230
230
|
if (_typeof(value) === 'object' && 'phone' in value) {
|
|
231
231
|
var phone = value.phone,
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* 注册流程配置和状态管理
|
|
3
3
|
* 支持多种验证方式的不同步骤流程
|
|
4
4
|
*/
|
|
5
|
+
import type { PhoneValueObject } from './types';
|
|
5
6
|
/** 注册步骤类型 */
|
|
6
7
|
export declare enum RegisterStep {
|
|
7
8
|
/** 初始表单 - 输入账号密码 */
|
|
@@ -66,8 +67,8 @@ export interface RegisterStepDefinition {
|
|
|
66
67
|
export interface RegisterFlowData {
|
|
67
68
|
/** 当前步骤 */
|
|
68
69
|
currentStep: RegisterStep;
|
|
69
|
-
/**
|
|
70
|
-
account: string;
|
|
70
|
+
/** 账号(邮箱字符串或手机号对象) */
|
|
71
|
+
account: string | PhoneValueObject;
|
|
71
72
|
/** 账号类型 */
|
|
72
73
|
accountType: 'email' | 'phone';
|
|
73
74
|
/** 密码(如果在第一步就输入了) */
|
|
@@ -16,6 +16,11 @@ import React, { useState, useRef, useEffect } from 'react';
|
|
|
16
16
|
import { Button } from '@pisell/materials';
|
|
17
17
|
import { locales } from '@pisell/utils';
|
|
18
18
|
import IconFont from '@pisell/materials/src/components/iconfont';
|
|
19
|
+
function formatDisplayAccount(account) {
|
|
20
|
+
if (!account) return '';
|
|
21
|
+
if (typeof account === 'string') return account;
|
|
22
|
+
return "+".concat(account.country_calling_code).concat(account.phone);
|
|
23
|
+
}
|
|
19
24
|
function CodeInput(_ref) {
|
|
20
25
|
var flowData = _ref.flowData,
|
|
21
26
|
_ref$codeLength = _ref.codeLength,
|
|
@@ -160,7 +165,7 @@ function CodeInput(_ref) {
|
|
|
160
165
|
// 根据账号类型显示不同的标题和描述
|
|
161
166
|
var title = flowData.accountType === 'email' ? locales.getText('pisell-register2-check-email-title') : locales.getText('pisell-register2-check-phone-title');
|
|
162
167
|
var description = flowData.accountType === 'email' ? locales.getText('pisell-register2-check-email-desc') : locales.getText('pisell-register2-check-phone-desc');
|
|
163
|
-
var displayAccount = flowData.account;
|
|
168
|
+
var displayAccount = formatDisplayAccount(flowData.account);
|
|
164
169
|
|
|
165
170
|
// 根据账号类型显示不同的"没有收到"提示
|
|
166
171
|
var noReceiveText = flowData.accountType === 'email' ? locales.getText('pisell-register2-no-email-received') : locales.getText('pisell-register2-no-message-received');
|
|
@@ -13,6 +13,7 @@ function WaitEmailLink(_ref) {
|
|
|
13
13
|
countdown = _ref$countdown === void 0 ? 0 : _ref$countdown,
|
|
14
14
|
verificationMethod = _ref.verificationMethod;
|
|
15
15
|
var canResend = countdown === 0;
|
|
16
|
+
var displayEmail = typeof flowData.account === 'string' ? flowData.account : '';
|
|
16
17
|
return /*#__PURE__*/React.createElement("div", {
|
|
17
18
|
className: "register-step-container"
|
|
18
19
|
}, onBack && /*#__PURE__*/React.createElement("button", {
|
|
@@ -31,7 +32,7 @@ function WaitEmailLink(_ref) {
|
|
|
31
32
|
className: "register-email-display"
|
|
32
33
|
}, /*#__PURE__*/React.createElement("span", {
|
|
33
34
|
className: "email-text"
|
|
34
|
-
},
|
|
35
|
+
}, displayEmail), onEditEmail && /*#__PURE__*/React.createElement("button", {
|
|
35
36
|
className: "edit-email-btn",
|
|
36
37
|
onClick: onEditEmail,
|
|
37
38
|
"aria-label": "Edit email"
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* 这个文件演示了如何使用 PisellPaymentList 和 PisellPaymentListItem 组件
|
|
5
5
|
* 包括如何通过 Context 访问父组件配置
|
|
6
6
|
*/
|
|
7
|
-
/// <reference types="react" />
|
|
8
7
|
export declare const BasicExample: () => JSX.Element;
|
|
9
8
|
export declare const ChildrenExample: () => JSX.Element;
|
|
10
9
|
export declare const CustomItemExample: () => JSX.Element;
|
|
@@ -4,6 +4,6 @@ declare const useSendModal: (bookingId?: number) => {
|
|
|
4
4
|
setOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
5
5
|
handleOpen: () => void;
|
|
6
6
|
handleValuesChange: (val: any) => void;
|
|
7
|
-
handleOk: (values: SendModalValues) => Promise<
|
|
7
|
+
handleOk: (values: SendModalValues) => Promise<any>;
|
|
8
8
|
};
|
|
9
9
|
export default useSendModal;
|
|
@@ -6,10 +6,10 @@ export declare const RESERVATION_DEFAULT_FLOOR_PLAN_ID = 1;
|
|
|
6
6
|
export type { PostShopFloorPlanBody, PutShopFloorPlanBody, ShopFloorPlanByCodeRequestOptions, ShopFloorPlanDetail, ShopFloorPlanLayoutItem, };
|
|
7
7
|
export { buildFloorPlanPutBody, floorMapSavedConfigToRemotePatch, inferCanvasSizeFromScene, mergeFloorPlanViewRemote, parseLayoutFieldToViewConfigPatch, pickFloorPlanDetail, sceneElementsToShopLayout, viewConfigToLayoutPayload, isShopFloorPlanNotFoundResponse, isHttpNotFoundError, } from '@pisell/materials';
|
|
8
8
|
export declare function isFloorPlanDuplicateCodeError(err: unknown): boolean;
|
|
9
|
-
export declare const getShopFloorPlanByCode:
|
|
10
|
-
export declare const postShopFloorPlan:
|
|
11
|
-
export declare const putShopFloorPlan:
|
|
12
|
-
export declare const unsubscribeShopFloorPlanCodeQuery:
|
|
9
|
+
export declare const getShopFloorPlanByCode: any;
|
|
10
|
+
export declare const postShopFloorPlan: any;
|
|
11
|
+
export declare const putShopFloorPlan: any;
|
|
12
|
+
export declare const unsubscribeShopFloorPlanCodeQuery: any;
|
|
13
13
|
/**
|
|
14
14
|
* 404 时 POST 创建使用预约默认 JSON(`api/create-floor-map.json`)。
|
|
15
15
|
*/
|
|
@@ -21,7 +21,7 @@ export declare function buildDefaultReservationFloorPlanPostBody(code: string):
|
|
|
21
21
|
export declare function shopLayoutToSceneElements(layout: ShopFloorPlanLayoutItem[], options: {
|
|
22
22
|
canvasId: string;
|
|
23
23
|
dataSourceKey: string;
|
|
24
|
-
}):
|
|
24
|
+
}): any;
|
|
25
25
|
export declare function saveViewConfigToShopFloorPlan(id: number, config: import('@pisell/materials').FloorMapViewConfig, options: {
|
|
26
26
|
canvasWidth?: number;
|
|
27
27
|
canvasHeight?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type FloorMapMergedItem, type FloorMapDataSources
|
|
2
|
+
import { type FloorMapMergedItem, type FloorMapDataSources } from '@pisell/materials';
|
|
3
3
|
import type { PisellReservationTableRow } from '../types';
|
|
4
4
|
import './ReservationCards.less';
|
|
5
5
|
export declare function findReservationRow(item: FloorMapMergedItem, dataSources: FloorMapDataSources): PisellReservationTableRow | undefined;
|
|
@@ -7,10 +7,10 @@ export declare function renderReservationTableCard(item: FloorMapMergedItem, dat
|
|
|
7
7
|
export declare function renderReservationPartyCard(item: FloorMapMergedItem, dataSources: FloorMapDataSources): React.ReactNode;
|
|
8
8
|
export declare function renderReservationBarCard(item: FloorMapMergedItem, dataSources: FloorMapDataSources): React.ReactNode;
|
|
9
9
|
export declare function getReservationRenderItemByKind(dataSources: FloorMapDataSources): {
|
|
10
|
-
|
|
11
|
-
reservationBoundTable: (item: FloorMapItemBase, _index: number, _options?:
|
|
12
|
-
reservationBoundRoundTable: (item: FloorMapItemBase, _index: number, _options?:
|
|
13
|
-
reservationTable: (item: FloorMapItemBase, _index: number, _options?:
|
|
14
|
-
reservationPartyBench: (item: FloorMapItemBase, _index: number, _options?:
|
|
15
|
-
reservationBarSeat: (item: FloorMapItemBase, _index: number, _options?:
|
|
10
|
+
[x: number]: (item: FloorMapItemBase, _index: number, _options?: any) => any;
|
|
11
|
+
reservationBoundTable: (item: FloorMapItemBase, _index: number, _options?: any) => React.ReactNode;
|
|
12
|
+
reservationBoundRoundTable: (item: FloorMapItemBase, _index: number, _options?: any) => React.ReactNode;
|
|
13
|
+
reservationTable: (item: FloorMapItemBase, _index: number, _options?: any) => React.ReactNode;
|
|
14
|
+
reservationPartyBench: (item: FloorMapItemBase, _index: number, _options?: any) => React.ReactNode;
|
|
15
|
+
reservationBarSeat: (item: FloorMapItemBase, _index: number, _options?: any) => React.ReactNode;
|
|
16
16
|
};
|
|
@@ -43,4 +43,4 @@ export interface UseReservationFloorMapMergedParams {
|
|
|
43
43
|
/** 场控等:HUD 表抽屉开启时视口叠加层锚左下、Dock 默认右下(可由 floorMap 显式覆盖) */
|
|
44
44
|
floorMapHudTableDrawer?: boolean;
|
|
45
45
|
}
|
|
46
|
-
export declare function useReservationFloorMapMerged(params: UseReservationFloorMapMergedParams):
|
|
46
|
+
export declare function useReservationFloorMapMerged(params: UseReservationFloorMapMergedParams): any;
|
|
@@ -9,5 +9,5 @@ export declare function useReservationFloorPlan(options: {
|
|
|
9
9
|
}): {
|
|
10
10
|
baseFloorConfig: FloorMapViewConfig;
|
|
11
11
|
floorPlanRemoteId: number | null;
|
|
12
|
-
setRemoteFloorPlanView: import("react").Dispatch<
|
|
12
|
+
setRemoteFloorPlanView: import("react").Dispatch<any>;
|
|
13
13
|
};
|
|
@@ -7,10 +7,10 @@ export declare function useReservationScheduleDebounced(options: {
|
|
|
7
7
|
scheduleValueProp: ReservationScheduleBandValue | undefined;
|
|
8
8
|
}): {
|
|
9
9
|
internalSchedule: ReservationScheduleBandValue;
|
|
10
|
-
setInternalSchedule: import("react").Dispatch<
|
|
11
|
-
schedule:
|
|
10
|
+
setInternalSchedule: import("react").Dispatch<any>;
|
|
11
|
+
schedule: any;
|
|
12
12
|
debouncedSchedule: ReservationScheduleBandValue;
|
|
13
|
-
scheduleRef: import("react").MutableRefObject<
|
|
13
|
+
scheduleRef: import("react").MutableRefObject<any>;
|
|
14
14
|
flushCommittedSchedule: (next: ReservationScheduleBandValue) => void;
|
|
15
15
|
queueCommittedSchedule: (next: ReservationScheduleBandValue) => void;
|
|
16
16
|
};
|
|
@@ -3,6 +3,6 @@ export interface ImageUploadProps {
|
|
|
3
3
|
value?: string;
|
|
4
4
|
onChange?: (val: string) => void;
|
|
5
5
|
}
|
|
6
|
-
export declare const getBaseTime: (size: number) =>
|
|
6
|
+
export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
|
|
7
7
|
declare const ImageUpload: React.FC<ImageUploadProps>;
|
|
8
8
|
export default ImageUpload;
|