@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
|
@@ -97,7 +97,7 @@ var PaymentModalContent = function PaymentModalContent(_ref) {
|
|
|
97
97
|
var getBookingDetail = /*#__PURE__*/function () {
|
|
98
98
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
99
99
|
var _Toast$loading, _bookingOrigin$paymen, _Toast$close;
|
|
100
|
-
var bookingOrigin, booking, values, ScheduleModule, total, orderTotalList, subTotalList, checkoutModule, paymentMethodList, existPayment, modalData;
|
|
100
|
+
var bookingOrigin, booking, values, ScheduleModule, total, orderTotalList, subTotalList, checkoutModule, paymentMethodList, onlineStorePaymentCodeList, existPayment, modalData;
|
|
101
101
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
102
102
|
while (1) switch (_context.prev = _context.next) {
|
|
103
103
|
case 0:
|
|
@@ -208,20 +208,30 @@ var PaymentModalContent = function PaymentModalContent(_ref) {
|
|
|
208
208
|
case 17:
|
|
209
209
|
paymentMethodList = _context.sent;
|
|
210
210
|
// 补充 values中relation_products、
|
|
211
|
+
onlineStorePaymentCodeList = ['WXPAY', 'WECHAT', 'ALIPAY', 'APPLE_PAY', 'CREDIT_CARD_3DS', 'CREDIT_CARD_TOKEN', 'GOOGLE_PAY', 'GOOGLE_PAY_3DS', 'CREDIT_CARD'];
|
|
211
212
|
existPayment = (_bookingOrigin$paymen = bookingOrigin.payments) === null || _bookingOrigin$paymen === void 0 || (_bookingOrigin$paymen = _bookingOrigin$paymen.filter(function (item) {
|
|
212
213
|
return item.status === 'paid';
|
|
213
214
|
})) === null || _bookingOrigin$paymen === void 0 ? void 0 : _bookingOrigin$paymen.map(function (item) {
|
|
215
|
+
var _paymentMethod, _paymentMethod2;
|
|
214
216
|
// 查询对应支付项的信息
|
|
215
217
|
var paymentMethod = paymentMethodList.find(function (method) {
|
|
216
218
|
return method.code === item.payment_method;
|
|
217
219
|
});
|
|
220
|
+
if (!paymentMethod && onlineStorePaymentCodeList.includes(item.payment_method)) {
|
|
221
|
+
paymentMethod = {
|
|
222
|
+
id: '',
|
|
223
|
+
name: item.payment_method,
|
|
224
|
+
code: item.payment_method,
|
|
225
|
+
type: item.payment_method
|
|
226
|
+
};
|
|
227
|
+
}
|
|
218
228
|
return {
|
|
219
229
|
uuid: item.metadata.unique_payment_number,
|
|
220
230
|
custom_payment_id: paymentMethod.id,
|
|
221
231
|
order_payment_id: item.id,
|
|
222
|
-
name: paymentMethod === null ||
|
|
232
|
+
name: (_paymentMethod = paymentMethod) === null || _paymentMethod === void 0 ? void 0 : _paymentMethod.name,
|
|
223
233
|
code: item.payment_method,
|
|
224
|
-
type: paymentMethod === null ||
|
|
234
|
+
type: (_paymentMethod2 = paymentMethod) === null || _paymentMethod2 === void 0 ? void 0 : _paymentMethod2.type,
|
|
225
235
|
amount: item.amount,
|
|
226
236
|
rounding_amount: item.rounding_amount,
|
|
227
237
|
status: 'active',
|
|
@@ -253,7 +263,7 @@ var PaymentModalContent = function PaymentModalContent(_ref) {
|
|
|
253
263
|
setData(modalData);
|
|
254
264
|
setDataReady(true);
|
|
255
265
|
Toast === null || Toast === void 0 || (_Toast$close = Toast.close) === null || _Toast$close === void 0 || _Toast$close.call(Toast);
|
|
256
|
-
case
|
|
266
|
+
case 27:
|
|
257
267
|
case "end":
|
|
258
268
|
return _context.stop();
|
|
259
269
|
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface CurrentOrderInfo {
|
|
3
|
+
/** 订单UUID */
|
|
4
|
+
uuid?: string;
|
|
5
|
+
/** 订单ID */
|
|
6
|
+
orderId?: string;
|
|
7
|
+
/** 订单状态 */
|
|
8
|
+
status?: string;
|
|
9
|
+
/** 当前步骤 */
|
|
10
|
+
step?: string;
|
|
11
|
+
/** 订单总金额 */
|
|
12
|
+
totalAmount?: string;
|
|
13
|
+
/** 待付金额 */
|
|
14
|
+
remainingAmount?: string;
|
|
15
|
+
/** 支付状态 */
|
|
16
|
+
paymentStatus?: string;
|
|
17
|
+
/** 是否为定金订单 */
|
|
18
|
+
isDeposit?: boolean;
|
|
19
|
+
/** 定金金额 */
|
|
20
|
+
depositAmount?: string;
|
|
21
|
+
/** 订单类型 */
|
|
22
|
+
orderType?: 'virtual' | 'appointment_booking';
|
|
23
|
+
/** 平台类型 */
|
|
24
|
+
platform?: 'pc' | 'h5';
|
|
25
|
+
/** 创建时间 */
|
|
26
|
+
createdAt?: string;
|
|
27
|
+
/** 商品数量 */
|
|
28
|
+
itemCount?: number;
|
|
29
|
+
/** 是否有本地订单数据 */
|
|
30
|
+
hasLocalOrderData?: boolean;
|
|
31
|
+
}
|
|
32
|
+
export interface PaymentData {
|
|
33
|
+
orderId?: string | number;
|
|
34
|
+
totalAmount?: number;
|
|
35
|
+
currency?: string;
|
|
36
|
+
customerId?: string | number;
|
|
37
|
+
customerName?: string;
|
|
38
|
+
description?: string;
|
|
39
|
+
items?: PaymentItem[];
|
|
40
|
+
}
|
|
41
|
+
export interface PaymentItem {
|
|
42
|
+
id: string | number;
|
|
43
|
+
name: string;
|
|
44
|
+
quantity: number;
|
|
45
|
+
price: number;
|
|
46
|
+
total: number;
|
|
47
|
+
}
|
|
48
|
+
export interface ModuleConfig {
|
|
49
|
+
showWalletPass?: boolean;
|
|
50
|
+
showCashPayment?: boolean;
|
|
51
|
+
showAdditionalModule?: boolean;
|
|
52
|
+
showPaymentOptions?: boolean;
|
|
53
|
+
}
|
|
54
|
+
export interface StatusConfig {
|
|
55
|
+
leftStatus?: string;
|
|
56
|
+
rightStatus?: string;
|
|
57
|
+
}
|
|
58
|
+
export interface PaymentResult {
|
|
59
|
+
type: 'cash' | 'walletpass' | 'etfpos' | 'custom' | 'mx51';
|
|
60
|
+
amount?: number;
|
|
61
|
+
status: 'success' | 'failed' | 'cancelled' | 'pending';
|
|
62
|
+
orderId?: string | number;
|
|
63
|
+
transactionId?: string;
|
|
64
|
+
message?: string;
|
|
65
|
+
timestamp?: number;
|
|
66
|
+
roundingAmount?: number;
|
|
67
|
+
}
|
|
68
|
+
export interface CheckoutCallbacks {
|
|
69
|
+
onPaymentComplete?: (result: PaymentResult) => void;
|
|
70
|
+
onPaymentCancel?: () => void;
|
|
71
|
+
onStatusChange?: (status: string) => void;
|
|
72
|
+
}
|
|
73
|
+
export interface CheckoutProps {
|
|
74
|
+
paymentData?: PaymentData;
|
|
75
|
+
moduleConfig?: ModuleConfig;
|
|
76
|
+
statusConfig?: StatusConfig;
|
|
77
|
+
cashAmountButtons?: number[];
|
|
78
|
+
onPaymentComplete?: (result: PaymentResult) => void;
|
|
79
|
+
onPaymentCancel?: () => void;
|
|
80
|
+
onStatusChange?: (status: string) => void;
|
|
81
|
+
}
|
|
82
|
+
export interface StatusSectionProps {
|
|
83
|
+
config?: StatusConfig;
|
|
84
|
+
onStatusChange?: (status: string) => void;
|
|
85
|
+
}
|
|
86
|
+
export interface AmountSummaryProps {
|
|
87
|
+
orderInfo?: CurrentOrderInfo;
|
|
88
|
+
open_deposit?: boolean;
|
|
89
|
+
customAmount?: string;
|
|
90
|
+
onAmountChange?: (amount: string) => void;
|
|
91
|
+
}
|
|
92
|
+
export interface WalletPassModuleProps {
|
|
93
|
+
orderInfo?: CurrentOrderInfo;
|
|
94
|
+
}
|
|
95
|
+
export interface CashPaymentModuleProps {
|
|
96
|
+
orderInfo?: CurrentOrderInfo;
|
|
97
|
+
onPaymentComplete?: (result: PaymentResult) => void;
|
|
98
|
+
amountButtons?: number[];
|
|
99
|
+
}
|
|
100
|
+
export interface PaymentOptionsModuleProps {
|
|
101
|
+
orderInfo?: CurrentOrderInfo;
|
|
102
|
+
onClick?: (method: PaymentMethod) => void;
|
|
103
|
+
}
|
|
104
|
+
export interface AdditionalModuleProps {
|
|
105
|
+
orderInfo?: CurrentOrderInfo;
|
|
106
|
+
customAmount?: string;
|
|
107
|
+
handleButtonClick: (key: string) => void;
|
|
108
|
+
hasOrderNote?: boolean;
|
|
109
|
+
}
|
|
110
|
+
export interface PaymentMethod {
|
|
111
|
+
id: string;
|
|
112
|
+
name: string;
|
|
113
|
+
nameEn?: string;
|
|
114
|
+
surcharge: string;
|
|
115
|
+
surchargeAmount?: number;
|
|
116
|
+
icon?: string;
|
|
117
|
+
iconComponent?: React.ReactNode;
|
|
118
|
+
color?: string;
|
|
119
|
+
enabled?: boolean;
|
|
120
|
+
code: string;
|
|
121
|
+
type: string;
|
|
122
|
+
fixed?: number;
|
|
123
|
+
percentage?: number;
|
|
124
|
+
totalAmount?: string;
|
|
125
|
+
}
|
|
126
|
+
export interface PaymentMethodSelection {
|
|
127
|
+
method: PaymentMethod;
|
|
128
|
+
amount: number;
|
|
129
|
+
totalWithSurcharge: number;
|
|
130
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { StatusClassName, ActionButtonGroupList } from '../components/PaymentResultToast';
|
|
3
|
+
export interface PaymentResultToastConfig {
|
|
4
|
+
context: any;
|
|
5
|
+
pisellos: any;
|
|
6
|
+
getData: (key: string) => any;
|
|
7
|
+
interaction: any;
|
|
8
|
+
Toast: any;
|
|
9
|
+
onToastClose?: () => void;
|
|
10
|
+
}
|
|
11
|
+
export interface PaymentResultToastParams {
|
|
12
|
+
paymentStatus: string;
|
|
13
|
+
orderTotalAmount: number;
|
|
14
|
+
gapAmount: number;
|
|
15
|
+
failureReason?: string;
|
|
16
|
+
autoCloseConfig?: {
|
|
17
|
+
autoClose: boolean;
|
|
18
|
+
autoCloseDelay: number;
|
|
19
|
+
};
|
|
20
|
+
actionButtons?: ActionButtonGroupList;
|
|
21
|
+
}
|
|
22
|
+
export declare const formatCurrency: (amount: number, amountSymbol?: string) => string | number;
|
|
23
|
+
export declare const calculateTitle: (status: string, failureReason?: string) => string;
|
|
24
|
+
export declare const calculateSubtitle: (status: string, amount: number, gapAmount?: number, getData?: ((key: string) => any) | undefined) => React.ReactNode;
|
|
25
|
+
export declare const calculateStatusClassName: (status: string) => StatusClassName;
|
|
26
|
+
export declare const calculateAutoCloseConfig: (status: string, hasChangeDue: boolean) => {
|
|
27
|
+
autoClose: boolean;
|
|
28
|
+
autoCloseDelay: number;
|
|
29
|
+
maskClosable: boolean;
|
|
30
|
+
};
|
|
31
|
+
export declare const displayPaymentResultToast: (params: PaymentResultToastParams, config: PaymentResultToastConfig) => Promise<void>;
|
|
32
|
+
export declare const createShowSuccessToast: (config: PaymentResultToastConfig, getActionButtons?: ((paymentStatus: string) => ActionButtonGroupList) | undefined) => (result: any) => Promise<void>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: React.ForwardRefExoticComponent<{
|
|
3
|
+
onEftposLoad?: ((status: boolean) => void) | undefined;
|
|
4
|
+
onPayResult?: ((res: {
|
|
5
|
+
status: string;
|
|
6
|
+
params: any;
|
|
7
|
+
}) => void) | undefined;
|
|
8
|
+
styles?: {
|
|
9
|
+
[key: string]: React.CSSProperties | undefined;
|
|
10
|
+
deviceContainer?: React.CSSProperties | undefined;
|
|
11
|
+
} | undefined;
|
|
12
|
+
isWebPos?: boolean | undefined;
|
|
13
|
+
} & React.RefAttributes<unknown>>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PosProps, RouteType } from './const';
|
|
2
|
+
declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
|
|
3
|
+
action: RouteType;
|
|
4
|
+
device_number: string | number;
|
|
5
|
+
api: ReturnType<PosProps['getApi']>;
|
|
6
|
+
isMobile: boolean;
|
|
7
|
+
channel?: string | undefined;
|
|
8
|
+
formatAmount(amount: number | string, precision: number, symbol: string): string;
|
|
9
|
+
}) => JSX.Element;
|
|
10
|
+
export default App;
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
export declare enum EftposEnum {
|
|
3
|
+
/** 后端支付 - 仅支付 */
|
|
4
|
+
Payo = "payo",
|
|
5
|
+
/** 前端支付 */
|
|
6
|
+
Tyro = "tyro",
|
|
7
|
+
/** 后端支付 - 支付 + 退款 */
|
|
8
|
+
Windcave = "windcave",
|
|
9
|
+
Stripe = "stripe",
|
|
10
|
+
Linkly = "linkly"
|
|
11
|
+
}
|
|
12
|
+
export declare enum StatusEnum {
|
|
13
|
+
Loading = "loading",
|
|
14
|
+
Warn = "warn",
|
|
15
|
+
Fail = "fail",
|
|
16
|
+
Success = "success",
|
|
17
|
+
Pedding = "pedding",
|
|
18
|
+
Resove = "resove",
|
|
19
|
+
Reject = "reject",
|
|
20
|
+
Question = "question"
|
|
21
|
+
}
|
|
22
|
+
export declare enum ModeEnum {
|
|
23
|
+
/** 支付 */
|
|
24
|
+
Pay = "pay",
|
|
25
|
+
/** 完整支付 */
|
|
26
|
+
FullPay = "fullPay",
|
|
27
|
+
/** 退款 */
|
|
28
|
+
Refund = "refund",
|
|
29
|
+
/** 查询 */
|
|
30
|
+
Query = "query"
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* 崩溃恢复
|
|
34
|
+
*/
|
|
35
|
+
export declare enum RestoreEumn {
|
|
36
|
+
/** 常规 */
|
|
37
|
+
Normal = "normal",
|
|
38
|
+
/** 恢复 */
|
|
39
|
+
Restore = "restore"
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* 订单状态
|
|
43
|
+
*/
|
|
44
|
+
export declare enum OrderEumn {
|
|
45
|
+
/** 恢复 */
|
|
46
|
+
Restore = "restore",
|
|
47
|
+
/** 常规 */
|
|
48
|
+
Normal = "normal",
|
|
49
|
+
/** 成功 */
|
|
50
|
+
Succeed = "succeed",
|
|
51
|
+
/** 失败 */
|
|
52
|
+
Failed = "failed",
|
|
53
|
+
/** 等待 */
|
|
54
|
+
Pending = "pending",
|
|
55
|
+
/** 没有订单状态 */
|
|
56
|
+
Null = "null"
|
|
57
|
+
}
|
|
58
|
+
export declare enum ClientEnum {
|
|
59
|
+
/** 用户端 */
|
|
60
|
+
User = "user",
|
|
61
|
+
/** 商家端 */
|
|
62
|
+
Merchant = "merchant"
|
|
63
|
+
}
|
|
64
|
+
export declare enum RouteEnum {
|
|
65
|
+
/** 改价页 */
|
|
66
|
+
Amount = "amount",
|
|
67
|
+
/** 门店列表页 */
|
|
68
|
+
DeviceList = "deviceList",
|
|
69
|
+
/**支付页 */
|
|
70
|
+
Pay = "pay"
|
|
71
|
+
}
|
|
72
|
+
export declare enum PayRouteEnum {
|
|
73
|
+
Step = "step",
|
|
74
|
+
Unset = "unset"
|
|
75
|
+
}
|
|
76
|
+
export declare type RouteType = `${RouteEnum}`;
|
|
77
|
+
export declare type PayRouteType = `${PayRouteEnum}`;
|
|
78
|
+
export declare type DeviceStatusType = `${EftposEnum}`;
|
|
79
|
+
export declare type StatusType = `${StatusEnum}`;
|
|
80
|
+
export declare type ModeType = `${ModeEnum}`;
|
|
81
|
+
export interface PosProps {
|
|
82
|
+
/** 厂商类型 */
|
|
83
|
+
type: DeviceStatusType;
|
|
84
|
+
getApi: () => {
|
|
85
|
+
[key: string]: (...agrn: unknown[]) => Promise<unknown>;
|
|
86
|
+
};
|
|
87
|
+
params: {
|
|
88
|
+
[key: string]: unknown;
|
|
89
|
+
};
|
|
90
|
+
/** 回调 */
|
|
91
|
+
onChangeStatus: (status: `${StatusEnum.Success}` | `${StatusEnum.Fail}` | 'page' | 'print' | 'mark_tx_processed', params?: {
|
|
92
|
+
[keys: string]: unknown;
|
|
93
|
+
} | string, other?: any) => void;
|
|
94
|
+
onChangeParams(...agrn: unknown[]): void;
|
|
95
|
+
terminal: {
|
|
96
|
+
network: boolean;
|
|
97
|
+
};
|
|
98
|
+
device?: {
|
|
99
|
+
[key: string]: unknown;
|
|
100
|
+
};
|
|
101
|
+
mode: ModeEnum;
|
|
102
|
+
tyroUrl?: string;
|
|
103
|
+
tyroVersion?: string;
|
|
104
|
+
source: 'normal' | 'restore';
|
|
105
|
+
styles?: {
|
|
106
|
+
device?: CSSProperties;
|
|
107
|
+
[key: string]: CSSProperties | undefined;
|
|
108
|
+
};
|
|
109
|
+
isWebPos?: boolean;
|
|
110
|
+
}
|
|
111
|
+
export interface PayProps {
|
|
112
|
+
api: ReturnType<PosProps['getApi']>;
|
|
113
|
+
onChange: PosProps['onChangeStatus'];
|
|
114
|
+
className?: string;
|
|
115
|
+
}
|
|
116
|
+
export declare type Amount = {
|
|
117
|
+
name: string;
|
|
118
|
+
/** 订单金额 */
|
|
119
|
+
money: number;
|
|
120
|
+
/** 上一轮操作订单金额 */
|
|
121
|
+
amount: number;
|
|
122
|
+
/** 金额单位 */
|
|
123
|
+
symbol: string;
|
|
124
|
+
/** 手续费-百分率 */
|
|
125
|
+
surRate: number;
|
|
126
|
+
/** 手续费-是否开启 */
|
|
127
|
+
surMoney: number;
|
|
128
|
+
/** 手续费-是否存在 */
|
|
129
|
+
surcharge: boolean;
|
|
130
|
+
/** 是否使用原始手续费 */
|
|
131
|
+
useOriginSurcharge: boolean;
|
|
132
|
+
};
|
|
133
|
+
export declare type PayAmount = {
|
|
134
|
+
/** 手续费-百分比-带百分号 例: 1% =》 数据为 0.01 */
|
|
135
|
+
surPercentRate: string;
|
|
136
|
+
/** 手续费-百分比-不带百分号 例:1% =》 数据为 1 */
|
|
137
|
+
surRate: string;
|
|
138
|
+
/** 手续费-比例金额 amount * surPercentRate */
|
|
139
|
+
surRateMoney: string;
|
|
140
|
+
/** 手续费-固定金额 */
|
|
141
|
+
surMoney: string;
|
|
142
|
+
/** 手续费 = surPercentRate + surMoney */
|
|
143
|
+
surcharge: string;
|
|
144
|
+
/** 支付金额 (不包含手续费) */
|
|
145
|
+
amount: string;
|
|
146
|
+
/** 支付总金额 = amount + surcharge */
|
|
147
|
+
total: string;
|
|
148
|
+
/** 订单金额 */
|
|
149
|
+
sourceAmount: string;
|
|
150
|
+
/** 支付总金额带单位 + 单位 */
|
|
151
|
+
totalUnit: string;
|
|
152
|
+
};
|
|
153
|
+
export declare enum PayStatus {
|
|
154
|
+
'Success' = "200",
|
|
155
|
+
/** 未生成交易记录 */
|
|
156
|
+
'NoPay' = "4004",
|
|
157
|
+
/** 配对失效 */
|
|
158
|
+
'PairingFailure' = "606020",
|
|
159
|
+
/** 支付失败 */
|
|
160
|
+
'Unknown' = "701000",
|
|
161
|
+
/** 交易请求超时 */
|
|
162
|
+
'Timeout' = "701001",
|
|
163
|
+
/** 繁忙 EFTPOS终端暂时不可用,因为EFTPOS正在处理另一个请求。 */
|
|
164
|
+
'PayOtherEftposFailed' = "701003",
|
|
165
|
+
/** 购物者没有出示卡片/卡片金额不足/在线拒绝/卡已过期/卡被锁定 */
|
|
166
|
+
'PayCardErrorFailed' = "701004",
|
|
167
|
+
/** 断网 向EFTPOS发送消息失败。可能有网络问题,也可能没有连接websocket。 */
|
|
168
|
+
'NoNetWork' = "701005",
|
|
169
|
+
/** 交易等待超时 */
|
|
170
|
+
'PayTimeout' = "701006",
|
|
171
|
+
/** 连接失败 */
|
|
172
|
+
'SocketError' = "701007",
|
|
173
|
+
/** 银行拒绝 */
|
|
174
|
+
'PayBankRefuses' = "701008",
|
|
175
|
+
/** 签名拒绝 */
|
|
176
|
+
'SignatureDeclined' = "701009",
|
|
177
|
+
/** 配置参数错误 */
|
|
178
|
+
'UserConfigError' = "701010"
|
|
179
|
+
}
|
|
180
|
+
export interface ActionProps {
|
|
181
|
+
onChange: (status: `${StatusEnum.Success}` | `${StatusEnum.Fail}` | 'page', params?: {
|
|
182
|
+
[key: string]: unknown;
|
|
183
|
+
} | string) => void;
|
|
184
|
+
api: {
|
|
185
|
+
[key: string]: (...agrn: unknown[]) => Promise<unknown>;
|
|
186
|
+
};
|
|
187
|
+
className?: string;
|
|
188
|
+
isMobile?: boolean;
|
|
189
|
+
formatAmount: (amount: number | string, precision: number, symbol: string) => string;
|
|
190
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { PayProps, PosProps } from './const';
|
|
3
|
+
import './device.less';
|
|
4
|
+
/**
|
|
5
|
+
* @title: 设备选择页
|
|
6
|
+
* @description: 选择设备信息,无设备增加提示;仅有一条,默认选中跳走;多条记录则停留等待用户选择
|
|
7
|
+
* @return React.Element
|
|
8
|
+
* @Author: hongbing.wang
|
|
9
|
+
* @Date: 2024-08-12 11:40
|
|
10
|
+
*/
|
|
11
|
+
declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, containerStyle, }: {
|
|
12
|
+
api: PayProps['api'];
|
|
13
|
+
className?: string | undefined;
|
|
14
|
+
onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
|
|
15
|
+
[keys: string]: unknown;
|
|
16
|
+
} | undefined, other?: any) => void) | undefined;
|
|
17
|
+
onClose: () => void;
|
|
18
|
+
device_number?: string | number | undefined;
|
|
19
|
+
isMobile: boolean;
|
|
20
|
+
net: boolean;
|
|
21
|
+
client: string;
|
|
22
|
+
formatAmount(amount: number | string, precision: number, symbol: string): string;
|
|
23
|
+
containerStyle: CSSProperties;
|
|
24
|
+
}) => JSX.Element;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { StatusEnum } from '../const';
|
|
2
|
+
export declare const POS: ({ api, onChange, }: {
|
|
3
|
+
api: {
|
|
4
|
+
[key: string]: (...agrn: unknown[]) => Promise<unknown>;
|
|
5
|
+
};
|
|
6
|
+
onChange: (status: `${StatusEnum.Success}` | `${StatusEnum.Fail}`, params?: {
|
|
7
|
+
[keys: string]: unknown;
|
|
8
|
+
} | undefined) => void;
|
|
9
|
+
}) => JSX.Element;
|
|
10
|
+
export declare const Action: ({ onChange }: {
|
|
11
|
+
onChange: any;
|
|
12
|
+
}) => JSX.Element;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
interface RunApiParams {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}
|
|
4
|
+
export declare enum ActionType {
|
|
5
|
+
Pay = "pay",
|
|
6
|
+
Refund = "refund",
|
|
7
|
+
Query = "query"
|
|
8
|
+
}
|
|
9
|
+
interface UsePaymentOptions {
|
|
10
|
+
/**
|
|
11
|
+
* 支付接口
|
|
12
|
+
*/
|
|
13
|
+
payApi: (params: RunApiParams, options?: {
|
|
14
|
+
signal?: AbortSignal;
|
|
15
|
+
}) => Promise<any>;
|
|
16
|
+
/**
|
|
17
|
+
* 退款接口
|
|
18
|
+
*/
|
|
19
|
+
refundApi?: (params: RunApiParams, options?: {
|
|
20
|
+
signal?: AbortSignal;
|
|
21
|
+
}) => Promise<any>;
|
|
22
|
+
/**
|
|
23
|
+
* 查询接口
|
|
24
|
+
*/
|
|
25
|
+
checkApi: (params: {
|
|
26
|
+
number: string;
|
|
27
|
+
}, options?: {
|
|
28
|
+
signal?: AbortSignal;
|
|
29
|
+
}) => Promise<any>;
|
|
30
|
+
/**
|
|
31
|
+
* 检查是否应该继续处理结果(用于处理网络断开、组件卸载等情况)
|
|
32
|
+
*/
|
|
33
|
+
shouldContinue?: () => boolean;
|
|
34
|
+
}
|
|
35
|
+
interface RunParams {
|
|
36
|
+
/** 支付类型 */
|
|
37
|
+
paymentType: ActionType;
|
|
38
|
+
/** 支付交易号 */
|
|
39
|
+
paymentNum: string;
|
|
40
|
+
/** 订单ID */
|
|
41
|
+
orderId?: string | number;
|
|
42
|
+
/** 设备ID */
|
|
43
|
+
deviceId?: string | number;
|
|
44
|
+
/** 支付参数 */
|
|
45
|
+
params: RunApiParams;
|
|
46
|
+
/** 回调方法 */
|
|
47
|
+
callbacks: RunCallbacks;
|
|
48
|
+
}
|
|
49
|
+
interface RunCallbacks {
|
|
50
|
+
/**
|
|
51
|
+
* 成功回调
|
|
52
|
+
*/
|
|
53
|
+
onSuccess: (res: any) => void;
|
|
54
|
+
/**
|
|
55
|
+
* 失败回调
|
|
56
|
+
*/
|
|
57
|
+
onError: (error: any) => void;
|
|
58
|
+
}
|
|
59
|
+
export declare const usePayment: (options: UsePaymentOptions) => {
|
|
60
|
+
run: (options: RunParams) => Promise<void>;
|
|
61
|
+
stop: () => void;
|
|
62
|
+
clean: (params?: {
|
|
63
|
+
clearCallbacks?: boolean;
|
|
64
|
+
}) => void;
|
|
65
|
+
};
|
|
66
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const getDeviceList: (params?: any, config?: any) => Promise<any>;
|
|
2
|
+
export declare const getEftposList: (params?: any, config?: any) => Promise<any>;
|
|
3
|
+
export declare const updateEftpos: (params: any, config?: any) => Promise<any>;
|
|
4
|
+
export declare const deviceDefault: (params: any, config?: any) => Promise<any>;
|
|
5
|
+
export declare const deleteDevice: (params: any, config?: any) => Promise<any>;
|
|
6
|
+
export declare const addDevice: (params: any, config?: any) => Promise<any>;
|
|
7
|
+
export declare const editDevice: (params: any, config?: any) => Promise<any>;
|
|
8
|
+
export declare const verifyData: (params: any, config?: any) => Promise<any>;
|
|
9
|
+
export declare const getTransaction: (params: any, config?: any) => Promise<any>;
|
|
10
|
+
export declare const payButton: (params: any, config?: any) => Promise<any>;
|
|
11
|
+
export declare const payData: (params: any, config?: any) => Promise<any>;
|
|
12
|
+
export declare const refundData: (params: any, config?: any) => Promise<any>;
|
|
13
|
+
export declare const addTransaction: (params: any, config?: any) => Promise<any>;
|
|
14
|
+
export declare const editTransaction: (id: any, params: any, config?: any) => Promise<any>;
|
|
15
|
+
export declare const linklyPayQuery: (params: any, config?: any) => Promise<any>;
|
|
16
|
+
export declare const linklyRefundQuery: (params: any, config?: any) => Promise<any>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: ({ api, onChange, children, url, version, }: {
|
|
3
|
+
api: any;
|
|
4
|
+
onChange: any;
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
url?: string | undefined;
|
|
7
|
+
version?: string | undefined;
|
|
8
|
+
}) => JSX.Element;
|
|
9
|
+
export default _default;
|