@pisell/private-materials 6.8.27 → 6.8.29
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.css +1 -1
- package/build/lowcode/render/default/view.js +8 -8
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +8 -8
- package/es/components/Sales/Cart/index.d.ts +53 -0
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
- 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/appointmentBooking/hooks.d.ts +107 -0
- package/es/components/appointmentBooking/locales.d.ts +363 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +0 -1
- package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
- package/es/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/index.d.ts +26 -0
- package/es/components/booking/components/actionButtons/index.d.ts +31 -0
- package/es/components/booking/components/footer/amount.d.ts +37 -0
- package/es/components/booking/components/footer/index.js +43 -44
- package/es/components/booking/components/tabPane/index.d.ts +4 -0
- package/es/components/booking/components/voucher/index.d.ts +3 -0
- package/es/components/booking/components/voucherModal/index.d.ts +19 -0
- package/es/components/booking/deposit/index.d.ts +3 -0
- package/es/components/booking/forms/footer.d.ts +0 -1
- package/es/components/booking/forms/forms.d.ts +30 -0
- package/es/components/booking/forms/sendModal/useSendModal.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/client/index.d.ts +4 -0
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/es/components/booking/info/dateRange/index.d.ts +0 -1
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +11 -0
- package/es/components/booking/info/hooks/useInfoHolder.js +0 -1
- package/es/components/booking/info/index.d.ts +1 -0
- package/es/components/booking/info/model.js +0 -1
- package/es/components/booking/info/service/Lists.d.ts +3 -0
- package/es/components/booking/info/service/addService/index.d.ts +11 -0
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/es/components/booking/info/service/serve.d.ts +34 -0
- package/es/components/booking/info/service/serviceItem/index.d.ts +0 -1
- package/es/components/booking/info/service/serviceList/index.d.ts +6 -0
- package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/es/components/booking/info/service2/Group/utils.d.ts +14 -0
- package/es/components/booking/info/service2/Lists.d.ts +3 -0
- package/es/components/booking/info/service2/utils.d.ts +219 -0
- package/es/components/booking/info2/cartClientCard/types.d.ts +18 -0
- package/es/components/booking/info2/cartClientCard/utils.d.ts +3 -0
- package/es/components/booking/info2/service/addService/index.d.ts +11 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +106 -0
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +3 -0
- package/es/components/booking/info2/service/editNormalService/index.js +4 -4
- package/es/components/booking/info2/service/editService/index.js +3 -3
- package/es/components/booking/info2/service/editService/utils.js +6 -1
- package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -1
- package/es/components/booking/info2/service/serviceList/index.d.ts +6 -0
- package/es/components/booking/info2/utilsByBooking.d.ts +36 -0
- package/es/components/booking/locales.d.ts +951 -0
- package/es/components/booking/notes/addNote/index.d.ts +4 -0
- package/es/components/booking/utils/confirmHolderModal.js +3 -4
- package/es/components/booking/utils/selectHolderModal.d.ts +24 -0
- package/es/components/booking/utils.d.ts +182 -0
- package/es/components/booking/utils.js +7 -1
- package/es/components/checkout/components/CashPaymentModule/index.d.ts +26 -0
- package/es/components/checkout/components/PaymentDetailModal/index.d.ts +38 -0
- package/es/components/checkout/components/PaymentOptionsModule/index.d.ts +16 -0
- package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
- package/es/components/checkout/components/SearchAndClientModule/index.d.ts +0 -1
- package/es/components/checkout/components/SendPaymentLinkModal/index.d.ts +12 -0
- 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/checkout/components/WalletPassModule/types.d.ts +134 -0
- package/es/components/checkout/payment-modal-utils.d.ts +30 -0
- package/es/components/checkout/plugin.js +14 -4
- package/es/components/checkout/types.d.ts +130 -0
- package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
- package/es/components/checkout/utils.d.ts +3 -0
- package/es/components/eftposPay/EFTPos.d.ts +14 -0
- package/es/components/eftposPay/app.d.ts +10 -0
- package/es/components/eftposPay/const.d.ts +190 -0
- package/es/components/eftposPay/device.d.ts +25 -0
- package/es/components/eftposPay/index.d.ts +4 -0
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/es/components/eftposPay/payo/config.d.ts +12 -0
- package/es/components/eftposPay/payo/payment.d.ts +66 -0
- package/es/components/eftposPay/serve.d.ts +16 -0
- package/es/components/eftposPay/tyro/index.d.ts +9 -0
- 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/Item/Total.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/index.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/Footer/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/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/scheduleCalendar/calendarItem.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/es/components/list/ResponsiveWrapper.d.ts +16 -0
- package/es/components/list/TestResponsiveWrapper.d.ts +8 -0
- package/es/components/list/components/EmptyState/index.d.ts +2 -0
- package/es/components/list/components/Pagination/index.d.ts +1 -0
- package/es/components/list/examples/GroupedListExample.d.ts +3 -0
- package/es/components/list/hooks/index.d.ts +5 -0
- package/es/components/list/index.d.ts +10 -0
- 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 +8 -0
- 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/toB/components/Content/utils.d.ts +16 -0
- package/es/components/pay/toB/components/EFTPOS/index.d.ts +8 -0
- package/es/components/pay/toB/components/MX51/index.d.ts +3 -0
- package/es/components/pay/toB/components/index.d.ts +5 -0
- package/es/components/pay/toB/index.d.ts +3 -0
- package/es/components/pay/toB/locales.d.ts +54 -0
- package/es/components/pay/toB/paymentMethods/index.d.ts +11 -0
- package/es/components/pay/toB/store/context.d.ts +3 -0
- package/es/components/pay/toB/store/hooks.d.ts +15 -0
- package/es/components/pay/toB/store/index.d.ts +3 -0
- package/es/components/pay/toB/store/provider.d.ts +4 -0
- package/es/components/pay/toB/store/utils.d.ts +13 -0
- package/es/components/pay/toB/types/index.d.ts +72 -0
- package/es/components/pay/toB/types/storeTypes.d.ts +143 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
- package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/es/components/pisellSelectCustomerModal/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 +39 -0
- 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/hooks/useAddService.d.ts +0 -1
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/es/components/systemSettings/registry/components/SectionList.d.ts +4 -0
- package/es/components/systemSettings/registry/components/index.d.ts +4 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +7 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -1
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +7 -2
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +10 -0
- package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +7 -0
- 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/hooks/pisellos/bookingTicket.d.ts +6 -0
- package/es/components/ticketBooking/hooks/pisellos/index.d.ts +4 -0
- package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
- package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
- package/es/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +6 -0
- package/es/components/ticketBooking/serve.d.ts +288 -0
- package/es/components/ticketBooking/utils/index.d.ts +101 -0
- package/es/components/walletList/index.d.ts +0 -1
- package/es/components/walletList/serve.d.ts +43 -0
- package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/es/hooks/index.d.ts +10 -0
- package/es/hooks/useModal.example.d.ts +12 -0
- package/es/hooks/useModal.integration.example.d.ts +15 -0
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +3 -0
- package/es/plus/clinetSearch/Add/PhoneField/serve.d.ts +2 -0
- package/es/plus/clinetSearch/index.d.ts +17 -0
- package/es/plus/clinetSearch/locales.d.ts +105 -0
- package/es/plus/clinetSearch/serve.d.ts +1 -0
- package/es/plus/clinetSearch/types.d.ts +61 -0
- package/es/plus/contactInfoModal/ContactInfoContent.d.ts +0 -1
- package/es/plus/noteModal/AddTempModal.d.ts +0 -1
- package/es/plus/productSelect/CategoryTabs/index.d.ts +21 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +8 -0
- 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 +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +7 -0
- 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/hooks/useDynamicComponents.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +9 -0
- package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
- 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/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/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/es/plus/walletEditor/index.d.ts +3 -0
- 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/walletPassGallery/serve.d.ts +235 -0
- package/es/plus/webPosLogin/WebPosLoginCpt.d.ts +9 -0
- package/es/plus/webPosLogin/components/BrandPanel/index.d.ts +9 -0
- package/es/plus/webPosLogin/components/LoginPanel/index.d.ts +21 -0
- package/es/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
- package/es/plus/webPosLogin/index.d.ts +12 -0
- package/es/plus/webPosLogin/locales.d.ts +49 -0
- package/es/plus/webPosLogin/service.d.ts +44 -0
- package/es/plus/webPosLogin/types.d.ts +286 -0
- package/es/pro/Login2.0/components/LegalTerms.d.ts +8 -0
- package/es/pro/Login2.0/components/PhoneInput.d.ts +53 -0
- package/es/pro/Login2.0/hooks/index.d.ts +2 -0
- package/es/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
- package/es/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
- package/es/pro/Login2.0/shared/Header.d.ts +11 -0
- package/es/pro/Login2.0/shared/types.d.ts +232 -0
- package/es/pro/Login2.0/steps/index.d.ts +19 -0
- package/es/pro/NumberKeyboardPopover/index.d.ts +36 -0
- package/es/pro/comprehensiveSearch/components/index.d.ts +2 -0
- package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
- package/es/pro/multiDayTimeSelect/index.d.ts +3 -0
- package/es/pro/pisellNumberSelector/example.d.ts +3 -0
- package/es/pro/pisellPaymentList/example.d.ts +19 -0
- package/es/pro/pisellPhoneKeyboard/index.d.ts +0 -1
- package/es/pro/pisellPriceKeyboardModal/index.d.ts +2 -0
- package/es/pro/pisellPriceKeyboardPopover/PisellPriceKeyboardPopover.d.ts +5 -0
- package/es/pro/pisellPriceKeyboardPopover/index.d.ts +2 -0
- package/es/pro/pisellSimplePriceKeyboardPopover/index.d.ts +2 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +0 -1
- package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +13 -0
- package/es/pro/priceKeyboard/components/paymentKeyboard/index.d.ts +0 -1
- package/es/pro/priceKeyboard/hooks/rightItems.d.ts +0 -1
- package/es/pro/priceKeyboard/index.d.ts +3 -0
- package/es/pro/skuDetailModal/index.js +17 -2
- package/es/pro/skuDetailModal/index.less +1 -1
- package/lib/components/Sales/Cart/index.d.ts +53 -0
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
- 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/appointmentBooking/hooks.d.ts +107 -0
- package/lib/components/appointmentBooking/locales.d.ts +363 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +0 -1
- package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
- package/lib/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/index.d.ts +26 -0
- package/lib/components/booking/components/actionButtons/index.d.ts +31 -0
- package/lib/components/booking/components/footer/amount.d.ts +37 -0
- package/lib/components/booking/components/footer/index.js +9 -12
- package/lib/components/booking/components/tabPane/index.d.ts +4 -0
- package/lib/components/booking/components/voucher/index.d.ts +3 -0
- package/lib/components/booking/components/voucherModal/index.d.ts +19 -0
- package/lib/components/booking/deposit/index.d.ts +3 -0
- package/lib/components/booking/forms/footer.d.ts +0 -1
- package/lib/components/booking/forms/forms.d.ts +30 -0
- package/lib/components/booking/forms/sendModal/useSendModal.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/client/index.d.ts +4 -0
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/lib/components/booking/info/dateRange/index.d.ts +0 -1
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +11 -0
- package/lib/components/booking/info/hooks/useInfoHolder.js +0 -1
- package/lib/components/booking/info/index.d.ts +1 -0
- package/lib/components/booking/info/model.js +0 -1
- package/lib/components/booking/info/service/Lists.d.ts +3 -0
- package/lib/components/booking/info/service/addService/index.d.ts +11 -0
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/lib/components/booking/info/service/serve.d.ts +34 -0
- package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -1
- package/lib/components/booking/info/service/serviceList/index.d.ts +6 -0
- package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/lib/components/booking/info/service2/Group/utils.d.ts +14 -0
- package/lib/components/booking/info/service2/Lists.d.ts +3 -0
- package/lib/components/booking/info/service2/utils.d.ts +219 -0
- package/lib/components/booking/info2/cartClientCard/types.d.ts +18 -0
- package/lib/components/booking/info2/cartClientCard/utils.d.ts +3 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +11 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +106 -0
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +3 -0
- package/lib/components/booking/info2/service/editNormalService/index.js +4 -4
- package/lib/components/booking/info2/service/editService/index.js +4 -4
- package/lib/components/booking/info2/service/editService/utils.js +4 -1
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -1
- package/lib/components/booking/info2/service/serviceList/index.d.ts +6 -0
- package/lib/components/booking/info2/utilsByBooking.d.ts +36 -0
- package/lib/components/booking/locales.d.ts +951 -0
- package/lib/components/booking/notes/addNote/index.d.ts +4 -0
- package/lib/components/booking/utils/confirmHolderModal.js +0 -1
- package/lib/components/booking/utils/selectHolderModal.d.ts +24 -0
- package/lib/components/booking/utils.d.ts +182 -0
- package/lib/components/booking/utils.js +5 -1
- package/lib/components/checkout/components/CashPaymentModule/index.d.ts +26 -0
- package/lib/components/checkout/components/PaymentDetailModal/index.d.ts +38 -0
- package/lib/components/checkout/components/PaymentOptionsModule/index.d.ts +16 -0
- package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
- package/lib/components/checkout/components/SearchAndClientModule/index.d.ts +0 -1
- package/lib/components/checkout/components/SendPaymentLinkModal/index.d.ts +12 -0
- 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/checkout/components/WalletPassModule/types.d.ts +134 -0
- package/lib/components/checkout/payment-modal-utils.d.ts +30 -0
- package/lib/components/checkout/plugin.js +10 -1
- package/lib/components/checkout/types.d.ts +130 -0
- package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
- package/lib/components/checkout/utils.d.ts +3 -0
- package/lib/components/eftposPay/EFTPos.d.ts +14 -0
- package/lib/components/eftposPay/app.d.ts +10 -0
- package/lib/components/eftposPay/const.d.ts +190 -0
- package/lib/components/eftposPay/device.d.ts +25 -0
- package/lib/components/eftposPay/index.d.ts +4 -0
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/lib/components/eftposPay/payo/config.d.ts +12 -0
- package/lib/components/eftposPay/payo/payment.d.ts +66 -0
- package/lib/components/eftposPay/serve.d.ts +16 -0
- package/lib/components/eftposPay/tyro/index.d.ts +9 -0
- 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/Item/Total.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/index.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/Footer/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/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/scheduleCalendar/calendarItem.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/lib/components/list/ResponsiveWrapper.d.ts +16 -0
- package/lib/components/list/TestResponsiveWrapper.d.ts +8 -0
- package/lib/components/list/components/EmptyState/index.d.ts +2 -0
- package/lib/components/list/components/Pagination/index.d.ts +1 -0
- package/lib/components/list/examples/GroupedListExample.d.ts +3 -0
- package/lib/components/list/hooks/index.d.ts +5 -0
- package/lib/components/list/index.d.ts +10 -0
- 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 +8 -0
- 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/toB/components/Content/utils.d.ts +16 -0
- package/lib/components/pay/toB/components/EFTPOS/index.d.ts +8 -0
- package/lib/components/pay/toB/components/MX51/index.d.ts +3 -0
- package/lib/components/pay/toB/components/index.d.ts +5 -0
- package/lib/components/pay/toB/index.d.ts +3 -0
- package/lib/components/pay/toB/locales.d.ts +54 -0
- package/lib/components/pay/toB/paymentMethods/index.d.ts +11 -0
- package/lib/components/pay/toB/store/context.d.ts +3 -0
- package/lib/components/pay/toB/store/hooks.d.ts +15 -0
- package/lib/components/pay/toB/store/index.d.ts +3 -0
- package/lib/components/pay/toB/store/provider.d.ts +4 -0
- package/lib/components/pay/toB/store/utils.d.ts +13 -0
- package/lib/components/pay/toB/types/index.d.ts +72 -0
- package/lib/components/pay/toB/types/storeTypes.d.ts +143 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/lib/components/pisellSelectCustomerModal/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 +39 -0
- 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/hooks/useAddService.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/lib/components/systemSettings/registry/components/SectionList.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/index.d.ts +4 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +7 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -1
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +7 -3
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +10 -0
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +7 -0
- 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/hooks/pisellos/bookingTicket.d.ts +6 -0
- package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +4 -0
- package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
- package/lib/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +6 -0
- package/lib/components/ticketBooking/serve.d.ts +288 -0
- package/lib/components/ticketBooking/utils/index.d.ts +101 -0
- package/lib/components/walletList/index.d.ts +0 -1
- package/lib/components/walletList/serve.d.ts +43 -0
- package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/lib/hooks/index.d.ts +10 -0
- package/lib/hooks/useModal.example.d.ts +12 -0
- package/lib/hooks/useModal.integration.example.d.ts +15 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +3 -0
- package/lib/plus/clinetSearch/Add/PhoneField/serve.d.ts +2 -0
- package/lib/plus/clinetSearch/index.d.ts +17 -0
- package/lib/plus/clinetSearch/locales.d.ts +105 -0
- package/lib/plus/clinetSearch/serve.d.ts +1 -0
- package/lib/plus/clinetSearch/types.d.ts +61 -0
- package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +0 -1
- package/lib/plus/noteModal/AddTempModal.d.ts +0 -1
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +21 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +8 -0
- 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 +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +7 -0
- 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/hooks/useDynamicComponents.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +9 -0
- package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
- 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/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/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/lib/plus/walletEditor/index.d.ts +3 -0
- 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/walletPassGallery/serve.d.ts +235 -0
- package/lib/plus/webPosLogin/WebPosLoginCpt.d.ts +9 -0
- package/lib/plus/webPosLogin/components/BrandPanel/index.d.ts +9 -0
- package/lib/plus/webPosLogin/components/LoginPanel/index.d.ts +21 -0
- package/lib/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
- package/lib/plus/webPosLogin/index.d.ts +12 -0
- package/lib/plus/webPosLogin/locales.d.ts +49 -0
- package/lib/plus/webPosLogin/service.d.ts +44 -0
- package/lib/plus/webPosLogin/types.d.ts +286 -0
- package/lib/pro/Login2.0/components/LegalTerms.d.ts +8 -0
- package/lib/pro/Login2.0/components/PhoneInput.d.ts +53 -0
- package/lib/pro/Login2.0/hooks/index.d.ts +2 -0
- package/lib/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
- package/lib/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
- package/lib/pro/Login2.0/shared/Header.d.ts +11 -0
- package/lib/pro/Login2.0/shared/types.d.ts +232 -0
- package/lib/pro/Login2.0/steps/index.d.ts +19 -0
- package/lib/pro/NumberKeyboardPopover/index.d.ts +36 -0
- package/lib/pro/comprehensiveSearch/components/index.d.ts +2 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
- package/lib/pro/multiDayTimeSelect/index.d.ts +3 -0
- package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
- package/lib/pro/pisellPaymentList/example.d.ts +19 -0
- package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -1
- package/lib/pro/pisellPriceKeyboardModal/index.d.ts +2 -0
- package/lib/pro/pisellPriceKeyboardPopover/PisellPriceKeyboardPopover.d.ts +5 -0
- package/lib/pro/pisellPriceKeyboardPopover/index.d.ts +2 -0
- package/lib/pro/pisellSimplePriceKeyboardPopover/index.d.ts +2 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +0 -1
- package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +13 -0
- package/lib/pro/priceKeyboard/components/paymentKeyboard/index.d.ts +0 -1
- package/lib/pro/priceKeyboard/hooks/rightItems.d.ts +0 -1
- package/lib/pro/priceKeyboard/index.d.ts +3 -0
- package/lib/pro/skuDetailModal/index.js +13 -2
- package/lib/pro/skuDetailModal/index.less +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export type { AuthMethodsProps, AuthMethod } from './AuthMethods';
|
|
2
|
+
export { AuthMethodType, AuthMethodCategory } from './AuthMethods';
|
|
3
|
+
export { default as ChannelAuthSetting } from './ChannelAuthSetting';
|
|
4
|
+
export type { ChannelAuthSettingProps, ChannelAuthSettingValue, TabKey } from './ChannelAuthSetting';
|
|
5
|
+
export { default as PageSetting } from './ChannelAuthSetting/PageSetting';
|
|
6
|
+
export { default as PageSettingItem } from './ChannelAuthSetting/PageSettingItem';
|
|
7
|
+
export { default as AuthenticationMethods } from './ChannelAuthSetting/AuthenticationMethods';
|
|
8
|
+
export { default as CollectInfo } from './ChannelAuthSetting/CollectInfo';
|
|
9
|
+
export type { PageSettingProps, PageSettingValue, } from './ChannelAuthSetting/PageSetting/types';
|
|
10
|
+
export type { PageSettingItemProps, PageSettingItemValue, TermsCondition, TranslationValue as PageTranslationValue, } from './ChannelAuthSetting/PageSettingItem/types';
|
|
11
|
+
export type { AuthenticationMethodsProps, AuthenticationMethodsValue, GlobalAuthMethod, AuthenticationMethod, AuthenticationSettingsMode, } from './ChannelAuthSetting/AuthenticationMethods/types';
|
|
12
|
+
export type { CollectInfoProps, CollectInfoValue, AccountField, CustomerFormItem, TranslationValue as CollectInfoTranslationValue, } from './ChannelAuthSetting/CollectInfo/types';
|
|
13
|
+
export type { SaaSAdminAuthProps } from './SaaSAdminAuth';
|
|
14
|
+
export type { OrgAdminAuthProps } from './OrgAdminAuth';
|
|
15
|
+
export type { DeviceAuthProps } from './DeviceAuth';
|
|
16
|
+
export type { POSOperatorAuthProps } from './POSOperatorAuth';
|
|
17
|
+
export type { CustomerOAuthConfigProps } from './CustomerOAuthConfig';
|
|
18
|
+
export { default as SaaSAdminAuth } from './SaaSAdminAuth';
|
|
19
|
+
export { default as OrgAdminAuth } from './OrgAdminAuth';
|
|
20
|
+
export { default as OAuthConfig } from './OAuthConfig';
|
|
21
|
+
export { default as CustomerAuth } from './CustomerAuth';
|
|
22
|
+
export { default as CustomerOAuthConfig } from './CustomerOAuthConfig';
|
|
23
|
+
export { default as DeviceAuth } from './DeviceAuth';
|
|
24
|
+
export { default as POSOperatorAuth } from './POSOperatorAuth';
|
|
25
|
+
export { default as OnlineShopAuth } from './ChannelAuthSetting/OnlineShopAuth';
|
|
26
|
+
export { default as SaaSManagermentAuth } from './ChannelAuthSetting/SaaSManagermentAuth';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface ActionButtonsProps {
|
|
4
|
+
/** booking 状态对象,包含 service、addons 等数据 */
|
|
5
|
+
state: {
|
|
6
|
+
service?: {
|
|
7
|
+
value?: any[];
|
|
8
|
+
};
|
|
9
|
+
addons?: {
|
|
10
|
+
value?: any[];
|
|
11
|
+
};
|
|
12
|
+
disabledEdit?: boolean;
|
|
13
|
+
channelDisabledEdit?: boolean;
|
|
14
|
+
shop_discount?: string;
|
|
15
|
+
bookingDetail?: {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
};
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
};
|
|
20
|
+
/** dispatch 函数,用于触发状态更新 */
|
|
21
|
+
dispatch: (action: {
|
|
22
|
+
type: string;
|
|
23
|
+
payload?: any;
|
|
24
|
+
}) => void;
|
|
25
|
+
/** 是否禁用所有按钮 */
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
/** 数据源,传递给 VoucherCard */
|
|
28
|
+
source?: any;
|
|
29
|
+
}
|
|
30
|
+
declare const ActionButtons: React.FC<ActionButtonsProps>;
|
|
31
|
+
export default ActionButtons;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare const getRelationDetailsTotal: (relation_details: any) => number;
|
|
2
|
+
export declare const getIsPriceIncludeTax: (state: any) => any;
|
|
3
|
+
/**
|
|
4
|
+
* 总金额
|
|
5
|
+
* @param state
|
|
6
|
+
* @param options isEdit: 预约信息是否发生变动
|
|
7
|
+
* @returns
|
|
8
|
+
*/
|
|
9
|
+
export declare const getSumTotal: (state: any, options: {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
isEdit: boolean;
|
|
12
|
+
ScheduleModule: any;
|
|
13
|
+
}) => {
|
|
14
|
+
productAmount: number;
|
|
15
|
+
duration: string;
|
|
16
|
+
tax: number;
|
|
17
|
+
taxInfo: {
|
|
18
|
+
title: any;
|
|
19
|
+
rate: any;
|
|
20
|
+
is_price_include_tax: any;
|
|
21
|
+
};
|
|
22
|
+
shopDiscount: number;
|
|
23
|
+
surcharge: any;
|
|
24
|
+
otherAmount: any;
|
|
25
|
+
sumTotalAmount: number;
|
|
26
|
+
paidAmount: any;
|
|
27
|
+
notPaidAmount: number;
|
|
28
|
+
paySurchargeFee: number;
|
|
29
|
+
expectAmount: number;
|
|
30
|
+
actualPaidAmount: any;
|
|
31
|
+
orderPaidAmount: any;
|
|
32
|
+
totalRefundAmount: number;
|
|
33
|
+
dueAmount: number;
|
|
34
|
+
roundingAmount: number;
|
|
35
|
+
originExpectAmount: number;
|
|
36
|
+
originExpectAmountWithoutDiscount: number;
|
|
37
|
+
};
|
|
@@ -881,24 +881,23 @@ var Footer = function Footer(props) {
|
|
|
881
881
|
}
|
|
882
882
|
return _context6.abrupt("return");
|
|
883
883
|
case 7:
|
|
884
|
-
debugger;
|
|
885
884
|
hasUnspecifiedHolderProduct = (_state$service$value2 = state.service.value) === null || _state$service$value2 === void 0 ? void 0 : _state$service$value2.some(function (item) {
|
|
886
885
|
var _item$_extend, _item$_extend2;
|
|
887
886
|
return (!((_item$_extend = item._extend) !== null && _item$_extend !== void 0 && _item$_extend.holder_id) || ((_item$_extend2 = item._extend) === null || _item$_extend2 === void 0 || (_item$_extend2 = _item$_extend2.holder_id) === null || _item$_extend2 === void 0 ? void 0 : _item$_extend2.length) === 0) && !isNormalProductByDurationSchedule(item);
|
|
888
887
|
});
|
|
889
888
|
if (!(!isWalkIn((_state$client3 = state.client) === null || _state$client3 === void 0 || (_state$client3 = _state$client3.value) === null || _state$client3 === void 0 ? void 0 : _state$client3.id) && getIsSubjectRequire(state) && hasUnspecifiedHolderProduct)) {
|
|
890
|
-
_context6.next =
|
|
889
|
+
_context6.next = 11;
|
|
891
890
|
break;
|
|
892
891
|
}
|
|
893
|
-
_context6.next =
|
|
892
|
+
_context6.next = 11;
|
|
894
893
|
return showConfirmHolderModal(state, dispatch);
|
|
895
|
-
case
|
|
894
|
+
case 11:
|
|
896
895
|
if (!(isBooking4Shop && getIsSubjectRequire(state) && checkHolderIsError(state))) {
|
|
897
|
-
_context6.next =
|
|
896
|
+
_context6.next = 13;
|
|
898
897
|
break;
|
|
899
898
|
}
|
|
900
899
|
return _context6.abrupt("return");
|
|
901
|
-
case
|
|
900
|
+
case 13:
|
|
902
901
|
// 区分loading, 是点击的checkout 还是save
|
|
903
902
|
_setLoading = type === 'checkout' ? setCheckoutLoading : setLoading;
|
|
904
903
|
_setLoading(true);
|
|
@@ -907,34 +906,34 @@ var Footer = function Footer(props) {
|
|
|
907
906
|
createApi = state.renderType === 'eventBooking' ? createEventBooking : createBooking;
|
|
908
907
|
saveOtherValue = {};
|
|
909
908
|
if (!(type === 'save')) {
|
|
910
|
-
_context6.next =
|
|
909
|
+
_context6.next = 26;
|
|
911
910
|
break;
|
|
912
911
|
}
|
|
913
|
-
_context6.next =
|
|
912
|
+
_context6.next = 22;
|
|
914
913
|
return state === null || state === void 0 || (_state$onSave = state.onSave) === null || _state$onSave === void 0 ? void 0 : _state$onSave.call(state, state.client);
|
|
915
|
-
case
|
|
914
|
+
case 22:
|
|
916
915
|
_context6.t0 = _context6.sent;
|
|
917
916
|
if (_context6.t0) {
|
|
918
|
-
_context6.next =
|
|
917
|
+
_context6.next = 25;
|
|
919
918
|
break;
|
|
920
919
|
}
|
|
921
920
|
_context6.t0 = {};
|
|
922
|
-
case
|
|
921
|
+
case 25:
|
|
923
922
|
saveOtherValue = _context6.t0;
|
|
924
|
-
case
|
|
925
|
-
_context6.prev =
|
|
923
|
+
case 26:
|
|
924
|
+
_context6.prev = 26;
|
|
926
925
|
callbackData = null; // 格式化提交的参数
|
|
927
926
|
values = formatValues(_objectSpread(_objectSpread({}, state), saveOtherValue)); // checkout 2.0 补充商品总税费字段
|
|
928
927
|
values.product_tax_fee = total.tax || 0;
|
|
929
928
|
if (!noSubmit) {
|
|
930
|
-
_context6.next =
|
|
929
|
+
_context6.next = 32;
|
|
931
930
|
break;
|
|
932
931
|
}
|
|
933
932
|
return _context6.abrupt("return", values);
|
|
934
|
-
case
|
|
933
|
+
case 32:
|
|
935
934
|
checkout = pisellos.getModule('checkout'); // 如果有 orderid,则应该走更新逻辑
|
|
936
935
|
if (!editOrderId) {
|
|
937
|
-
_context6.next =
|
|
936
|
+
_context6.next = 42;
|
|
938
937
|
break;
|
|
939
938
|
}
|
|
940
939
|
subtotal_info = {
|
|
@@ -943,7 +942,7 @@ var Footer = function Footer(props) {
|
|
|
943
942
|
total: cloneDeep(total),
|
|
944
943
|
showDetail: showDetail
|
|
945
944
|
};
|
|
946
|
-
_context6.next =
|
|
945
|
+
_context6.next = 37;
|
|
947
946
|
return checkout.updateLocalOrderAsync({
|
|
948
947
|
orderId: editOrderId,
|
|
949
948
|
orderData: values,
|
|
@@ -951,10 +950,10 @@ var Footer = function Footer(props) {
|
|
|
951
950
|
autoPayment: true,
|
|
952
951
|
totalInfo: subtotal_info
|
|
953
952
|
});
|
|
954
|
-
case
|
|
955
|
-
_context6.next =
|
|
953
|
+
case 37:
|
|
954
|
+
_context6.next = 39;
|
|
956
955
|
return checkout.manualSyncOrderAsync();
|
|
957
|
-
case
|
|
956
|
+
case 39:
|
|
958
957
|
res = _context6.sent;
|
|
959
958
|
if (res.success) {
|
|
960
959
|
// 回调关闭弹窗
|
|
@@ -962,7 +961,7 @@ var Footer = function Footer(props) {
|
|
|
962
961
|
_setLoading(false);
|
|
963
962
|
}
|
|
964
963
|
return _context6.abrupt("return");
|
|
965
|
-
case
|
|
964
|
+
case 42:
|
|
966
965
|
// 如果是保存,检查是否需要支付定金
|
|
967
966
|
if (type === 'save') {
|
|
968
967
|
isNeedDeposit = checkout.checkIsNeedDepositAsync(values.bookings, values.relation_products);
|
|
@@ -1026,43 +1025,43 @@ var Footer = function Footer(props) {
|
|
|
1026
1025
|
|
|
1027
1026
|
// 如果有addons改动, 则先保存
|
|
1028
1027
|
if (!addonsEdit) {
|
|
1029
|
-
_context6.next =
|
|
1028
|
+
_context6.next = 48;
|
|
1030
1029
|
break;
|
|
1031
1030
|
}
|
|
1032
|
-
_context6.next =
|
|
1031
|
+
_context6.next = 48;
|
|
1033
1032
|
return handleSaveAddons();
|
|
1034
|
-
case
|
|
1033
|
+
case 48:
|
|
1035
1034
|
if (!infoEdit) {
|
|
1036
|
-
_context6.next =
|
|
1035
|
+
_context6.next = 53;
|
|
1037
1036
|
break;
|
|
1038
1037
|
}
|
|
1039
|
-
_context6.next =
|
|
1038
|
+
_context6.next = 51;
|
|
1040
1039
|
return api(values, state.bookingId || editOrderId);
|
|
1041
|
-
case
|
|
1040
|
+
case 51:
|
|
1042
1041
|
callbackData = _context6.sent;
|
|
1043
1042
|
if (messageShow) {
|
|
1044
1043
|
message.success(locales.getText(state.bookingId ? 'pisell2.text.appointment-updated' : 'pisell2.text.created-successfully'));
|
|
1045
1044
|
}
|
|
1046
|
-
case
|
|
1045
|
+
case 53:
|
|
1047
1046
|
// 回调关闭弹窗
|
|
1048
1047
|
state === null || state === void 0 || state.callback(callbackData, type);
|
|
1049
1048
|
_setLoading(false);
|
|
1050
1049
|
|
|
1051
1050
|
// return数据 checkout时需要
|
|
1052
1051
|
return _context6.abrupt("return", callbackData || values);
|
|
1053
|
-
case
|
|
1054
|
-
_context6.prev =
|
|
1055
|
-
_context6.t1 = _context6["catch"](
|
|
1052
|
+
case 58:
|
|
1053
|
+
_context6.prev = 58;
|
|
1054
|
+
_context6.t1 = _context6["catch"](26);
|
|
1056
1055
|
console.log(_context6.t1);
|
|
1057
1056
|
if ((_context6.t1 === null || _context6.t1 === void 0 ? void 0 : _context6.t1.code) === 70101) {
|
|
1058
1057
|
message.error(_context6.t1 === null || _context6.t1 === void 0 ? void 0 : _context6.t1.message);
|
|
1059
1058
|
}
|
|
1060
1059
|
_setLoading(false);
|
|
1061
|
-
case
|
|
1060
|
+
case 63:
|
|
1062
1061
|
case "end":
|
|
1063
1062
|
return _context6.stop();
|
|
1064
1063
|
}
|
|
1065
|
-
}, _callee6, null, [[
|
|
1064
|
+
}, _callee6, null, [[26, 58]]);
|
|
1066
1065
|
}));
|
|
1067
1066
|
return function handleSave(_x5) {
|
|
1068
1067
|
return _ref7.apply(this, arguments);
|
|
@@ -1786,8 +1785,7 @@ var Footer = function Footer(props) {
|
|
|
1786
1785
|
clearAllScanListenersTaskQueue = _useScanManager2.clearAllScanListenersTaskQueue;
|
|
1787
1786
|
// 清空所有内容并重置购物车
|
|
1788
1787
|
var handleClearAllAndReset = function handleClearAllAndReset() {
|
|
1789
|
-
var _shopDiscount$clear
|
|
1790
|
-
debugger;
|
|
1788
|
+
var _shopDiscount$clear;
|
|
1791
1789
|
// 清空附加服务
|
|
1792
1790
|
dispatch({
|
|
1793
1791
|
type: 'setAddons',
|
|
@@ -1804,7 +1802,6 @@ var Footer = function Footer(props) {
|
|
|
1804
1802
|
// edit: true, // 添加 edit: true 标识
|
|
1805
1803
|
// },
|
|
1806
1804
|
// });
|
|
1807
|
-
selectCustomer(null);
|
|
1808
1805
|
|
|
1809
1806
|
// 重置时间为当前时间(使用dayjs默认值)
|
|
1810
1807
|
dispatch({
|
|
@@ -1837,16 +1834,18 @@ var Footer = function Footer(props) {
|
|
|
1837
1834
|
// 清空商品券
|
|
1838
1835
|
shopDiscount === null || shopDiscount === void 0 || (_shopDiscount$clear = shopDiscount.clear) === null || _shopDiscount$clear === void 0 || _shopDiscount$clear.call(shopDiscount);
|
|
1839
1836
|
setEditOrderId(0);
|
|
1840
|
-
|
|
1837
|
+
|
|
1838
|
+
// (window as any)?.shopApi?.bookingTicket?.clearAllCart();
|
|
1841
1839
|
// 清空服务项目
|
|
1840
|
+
dispatch({
|
|
1841
|
+
type: 'setService',
|
|
1842
|
+
payload: {
|
|
1843
|
+
value: []
|
|
1844
|
+
}
|
|
1845
|
+
});
|
|
1842
1846
|
setTimeout(function () {
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
payload: {
|
|
1846
|
-
value: []
|
|
1847
|
-
}
|
|
1848
|
-
});
|
|
1849
|
-
}, 200);
|
|
1847
|
+
selectCustomer(null);
|
|
1848
|
+
}, 100);
|
|
1850
1849
|
clearAllScanListenersTaskQueue();
|
|
1851
1850
|
};
|
|
1852
1851
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface VoucherModalProps {
|
|
4
|
+
/** 是否显示弹窗 */
|
|
5
|
+
visible: boolean;
|
|
6
|
+
/** 关闭弹窗回调 */
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
/** booking 状态对象 */
|
|
9
|
+
state: any;
|
|
10
|
+
/** dispatch 函数 */
|
|
11
|
+
dispatch: (action: {
|
|
12
|
+
type: string;
|
|
13
|
+
payload?: any;
|
|
14
|
+
}) => void;
|
|
15
|
+
/** 数据源 */
|
|
16
|
+
source?: any;
|
|
17
|
+
}
|
|
18
|
+
declare const VoucherModal: React.FC<VoucherModalProps>;
|
|
19
|
+
export default VoucherModal;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import './index.less';
|
|
2
|
+
export interface InfoProps {
|
|
3
|
+
forms: any[];
|
|
4
|
+
value: any;
|
|
5
|
+
onChange: any;
|
|
6
|
+
modalOpen: boolean;
|
|
7
|
+
action: any;
|
|
8
|
+
customSelectProps: any;
|
|
9
|
+
optionRender: any;
|
|
10
|
+
hideTitle?: boolean;
|
|
11
|
+
addCallback?: any;
|
|
12
|
+
client: any;
|
|
13
|
+
loading?: boolean;
|
|
14
|
+
addButtonProps?: any;
|
|
15
|
+
drawerProps?: any;
|
|
16
|
+
isMinorAndWaiver?: boolean;
|
|
17
|
+
waiverForm?: any;
|
|
18
|
+
addCallbackService?: () => void;
|
|
19
|
+
getHolders?: () => void;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @title: 表单模块
|
|
23
|
+
* @description:
|
|
24
|
+
* @param {*} Provider
|
|
25
|
+
* @return {*}
|
|
26
|
+
* @Author: zhiwei.Wang
|
|
27
|
+
* @Date: 2024-01-30 17:10
|
|
28
|
+
*/
|
|
29
|
+
declare const Forms: any;
|
|
30
|
+
export default Forms;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface VerticalClientProps {
|
|
4
|
+
globalState: any;
|
|
5
|
+
setGlobalState: any;
|
|
6
|
+
}
|
|
7
|
+
declare const VerticalClient: React.ForwardRefExoticComponent<VerticalClientProps & React.RefAttributes<unknown>>;
|
|
8
|
+
export default VerticalClient;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { EditServiceRef } from "../service/editService";
|
|
3
|
+
declare const useInfoHolder: (state: any, dispatch: any) => {
|
|
4
|
+
detailRef: import("react").MutableRefObject<EditServiceRef | undefined>;
|
|
5
|
+
handleEdit: (cacheItem: any, type?: string) => void;
|
|
6
|
+
dispatchService: (type: string, payload: any) => void;
|
|
7
|
+
handleAction: (dataSource: any) => void;
|
|
8
|
+
showAddTimeModal: boolean;
|
|
9
|
+
editNormalServiceRef: import("react").MutableRefObject<any>;
|
|
10
|
+
};
|
|
11
|
+
export default useInfoHolder;
|
|
@@ -35,7 +35,6 @@ var useInfoHolder = function useInfoHolder(state, dispatch) {
|
|
|
35
35
|
return isOpenAddTime(state);
|
|
36
36
|
}, [state, appointment_card.quick_time]);
|
|
37
37
|
var handleEdit = useMemoizedFn(function (cacheItem, type) {
|
|
38
|
-
debugger;
|
|
39
38
|
var isNoSpecAndPackage = getIsNoSpecAndPackage(cacheItem);
|
|
40
39
|
if (isNoSpecAndPackage) {
|
|
41
40
|
var _editNormalServiceRef;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PisellDrawerProps } from '../../../components/drawer';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface AddServiceProps {
|
|
4
|
+
onEdit?: any;
|
|
5
|
+
dispatch?: any;
|
|
6
|
+
state?: any;
|
|
7
|
+
drawerProps?: PisellDrawerProps;
|
|
8
|
+
renderMode?: 'current' | 'drawer';
|
|
9
|
+
}
|
|
10
|
+
declare const Info: (props: AddServiceProps) => JSX.Element;
|
|
11
|
+
export default Info;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare const getProductDetail: (id: string, params: any) => Promise<any>;
|
|
2
|
+
/**
|
|
3
|
+
* @title: 跨日预约获取预约商品报价单
|
|
4
|
+
* @description:
|
|
5
|
+
* @param {string} id
|
|
6
|
+
* @param {any} params
|
|
7
|
+
* @return {*}
|
|
8
|
+
* @Author: WangHan
|
|
9
|
+
* @Date: 2024-12-23 17:06
|
|
10
|
+
*/
|
|
11
|
+
export declare const postMultiDay: (id: string, params: any) => Promise<any>;
|
|
12
|
+
/**
|
|
13
|
+
* 批量查询指定商品的最新价格
|
|
14
|
+
* @param params
|
|
15
|
+
*/
|
|
16
|
+
export declare const getProductPrice: (params: {
|
|
17
|
+
ids: number[];
|
|
18
|
+
customer_id: number;
|
|
19
|
+
schedule_date: string;
|
|
20
|
+
}) => Promise<any>;
|
|
21
|
+
declare type MultiDayProductPriceParams = {
|
|
22
|
+
customer_id: number;
|
|
23
|
+
data: {
|
|
24
|
+
product_id: number;
|
|
25
|
+
schedule_date: string;
|
|
26
|
+
}[];
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* 获取普通商品和跨日预约的价格
|
|
30
|
+
* @param params
|
|
31
|
+
* @returns
|
|
32
|
+
*/
|
|
33
|
+
export declare const getNormalAndMultiDayProductPrice: (params: MultiDayProductPriceParams) => Promise<any>;
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const useService: ({ renderMode, onEdit, state, dispatch, }: {
|
|
2
|
+
renderMode?: any;
|
|
3
|
+
onEdit?: any;
|
|
4
|
+
state?: any;
|
|
5
|
+
dispatch?: any;
|
|
6
|
+
}) => {
|
|
7
|
+
createBookingData: ({ product }: any) => Promise<any>;
|
|
8
|
+
editBookingData: ({ changeValues }: {
|
|
9
|
+
changeValues: any;
|
|
10
|
+
}) => Promise<any>;
|
|
11
|
+
createBooking: ({ booking }: {
|
|
12
|
+
booking: any;
|
|
13
|
+
}) => Promise<void>;
|
|
14
|
+
editBooking: ({ booking }: {
|
|
15
|
+
booking: any;
|
|
16
|
+
}) => Promise<void>;
|
|
17
|
+
goEditPanel: ({ booking }: {
|
|
18
|
+
booking: any;
|
|
19
|
+
}) => void;
|
|
20
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const getGroupTotalPrice: (items: any[]) => any;
|
|
2
|
+
/**
|
|
3
|
+
* @title: 创建一个虚拟的组
|
|
4
|
+
* @description:
|
|
5
|
+
* @param {any} items
|
|
6
|
+
* @return {*}
|
|
7
|
+
* @Author: zhiwei.Wang
|
|
8
|
+
*/
|
|
9
|
+
export declare const concatBookings: (items: any[]) => any;
|
|
10
|
+
export declare const createBookingItemsByGroup: (item: any, isBatchEdit?: any) => any[];
|
|
11
|
+
export declare const isGroupBooking: (_id: any) => boolean;
|
|
12
|
+
export declare const getProductByGroupId: (groupId: string, items: any[]) => any[];
|
|
13
|
+
export declare const getGroupBooking: (groupId: string, items: any[]) => any;
|
|
14
|
+
export declare const filterItemByGroupId: (groupId: string, items: any[]) => any[];
|