@pisell/private-materials 6.8.26 → 6.8.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/businessModel/SalesModel/index.d.ts +0 -1
- 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/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/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/TabProduct/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
- package/es/components/booking/components/footer/index.js +9 -6
- package/es/components/booking/components/tabPane/index.d.ts +4 -0
- package/es/components/booking/components/voucher/index.d.ts +0 -1
- package/es/components/booking/components/voucherModal/index.d.ts +19 -0
- package/es/components/booking/deposit/index.d.ts +2 -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 +1 -2
- package/es/components/booking/forms/single/index.d.ts +0 -1
- package/es/components/booking/hooks/useClearCart.d.ts +0 -1
- package/es/components/booking/hooks/useQuotation.d.ts +0 -1
- package/es/components/booking/info/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 +10 -0
- package/es/components/booking/info/index.d.ts +1 -0
- package/es/components/booking/info/model.d.ts +5 -0
- package/es/components/booking/info/notes/index.d.ts +0 -1
- package/es/components/booking/info/service/Lists.d.ts +2 -0
- package/es/components/booking/info/service/addService/index.d.ts +11 -0
- package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/es/components/booking/info/service/serviceItem/index.d.ts +0 -1
- package/es/components/booking/info/service/serviceList/index.d.ts +5 -0
- package/es/components/booking/info/service2/Lists.d.ts +2 -0
- package/es/components/booking/info2/service/addService/index.d.ts +11 -0
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
- package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -1
- package/es/components/booking/info2/service/serviceList/index.d.ts +5 -0
- package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/es/components/booking/notes/addNote/index.d.ts +3 -0
- package/es/components/booking/utils/selectHolderModal.d.ts +24 -0
- package/es/components/checkout/components/CashPaymentModule/index.d.ts +26 -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/payment-modal-utils.d.ts +30 -0
- package/es/components/checkout/plugin.js +14 -4
- package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
- package/es/components/eftposPay/EFTPos.d.ts +14 -0
- package/es/components/eftposPay/serve.d.ts +16 -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/Deposit/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/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/Header/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/es/components/list/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/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 +7 -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/EFTPOS/index.d.ts +8 -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/paymentMethods/index.d.ts +11 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/es/components/pay/toC/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 +2 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/es/components/pisellSelectCustomerModal/index.d.ts +0 -1
- package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
- package/es/components/productExtension/index.d.ts +0 -1
- package/es/components/productSelect/components/TabProduct/index.d.ts +0 -1
- package/es/components/productSelect/components/productGroup/index.d.ts +38 -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/components/Empty/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
- package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/es/components/shoppingCart/index.d.ts +0 -1
- package/es/components/systemSettings/registry/components/index.d.ts +4 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -1
- 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/serve.d.ts +288 -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/plus/clinetSearch/Add/PhoneField/index.d.ts +2 -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/serve.d.ts +1 -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 +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +3 -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 +7 -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 +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +6 -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 +8 -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/NormalCard/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -1
- package/es/plus/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/index.d.ts +12 -0
- package/es/plus/webPosLogin/service.d.ts +44 -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/multiDayTimeSelect/index.d.ts +3 -0
- package/es/pro/pisellPhoneKeyboard/index.d.ts +0 -1
- package/es/pro/pisellPriceKeyboardModal/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 +12 -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/lib/businessModel/SalesModel/index.d.ts +0 -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/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/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/TabProduct/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
- package/lib/components/booking/components/footer/index.js +9 -6
- package/lib/components/booking/components/tabPane/index.d.ts +4 -0
- package/lib/components/booking/components/voucher/index.d.ts +0 -1
- package/lib/components/booking/components/voucherModal/index.d.ts +19 -0
- package/lib/components/booking/deposit/index.d.ts +2 -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 +1 -2
- package/lib/components/booking/forms/single/index.d.ts +0 -1
- package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
- package/lib/components/booking/hooks/useQuotation.d.ts +0 -1
- package/lib/components/booking/info/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 +10 -0
- package/lib/components/booking/info/index.d.ts +1 -0
- package/lib/components/booking/info/model.d.ts +5 -0
- package/lib/components/booking/info/notes/index.d.ts +0 -1
- package/lib/components/booking/info/service/Lists.d.ts +2 -0
- package/lib/components/booking/info/service/addService/index.d.ts +11 -0
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -1
- package/lib/components/booking/info/service/serviceList/index.d.ts +5 -0
- package/lib/components/booking/info/service2/Lists.d.ts +2 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +11 -0
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -1
- package/lib/components/booking/info2/service/serviceList/index.d.ts +5 -0
- package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/lib/components/booking/notes/addNote/index.d.ts +3 -0
- package/lib/components/booking/utils/selectHolderModal.d.ts +24 -0
- package/lib/components/checkout/components/CashPaymentModule/index.d.ts +26 -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/payment-modal-utils.d.ts +30 -0
- package/lib/components/checkout/plugin.js +10 -1
- package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
- package/lib/components/eftposPay/EFTPos.d.ts +14 -0
- package/lib/components/eftposPay/serve.d.ts +16 -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/Deposit/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/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/Header/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/lib/components/list/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/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 +7 -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/EFTPOS/index.d.ts +8 -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/paymentMethods/index.d.ts +11 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/lib/components/pay/toC/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 +2 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/lib/components/pisellSelectCustomerModal/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
- package/lib/components/productExtension/index.d.ts +0 -1
- package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -1
- package/lib/components/productSelect/components/productGroup/index.d.ts +38 -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/components/Empty/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/lib/components/shoppingCart/index.d.ts +0 -1
- package/lib/components/systemSettings/registry/components/index.d.ts +4 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -1
- 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/serve.d.ts +288 -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/plus/clinetSearch/Add/PhoneField/index.d.ts +2 -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/serve.d.ts +1 -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 +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +3 -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 +7 -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 +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +6 -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 +8 -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/NormalCard/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -1
- package/lib/plus/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/index.d.ts +12 -0
- package/lib/plus/webPosLogin/service.d.ts +44 -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/multiDayTimeSelect/index.d.ts +3 -0
- package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -1
- package/lib/pro/pisellPriceKeyboardModal/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 +12 -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/package.json +4 -4
- package/es/components/booking/addons/model.d.ts +0 -1
- package/es/components/booking/editBookingModal/utils.d.ts +0 -12
- package/es/components/booking/info/service/addTimeModal/utils.d.ts +0 -31
- package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -3
- package/es/components/eftposPay/component/fail/index.d.ts +0 -3
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -9
- package/es/components/eftposPay/hooks.d.ts +0 -35
- package/es/components/eftposPay/locales.d.ts +0 -330
- package/es/components/eftposPay/manufacturer.d.ts +0 -7
- package/es/components/eftposPay/pay.d.ts +0 -20
- package/es/components/eftposPay/windcave/helper.d.ts +0 -23
- package/es/components/pay/toC/model.d.ts +0 -32
- package/es/components/pay/toC/utils.d.ts +0 -57
- package/es/components/ruleSetting/locales.d.ts +0 -48
- package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
- package/es/components/workSpaceList/components/Card/constants.d.ts +0 -2
- package/es/plus/skuOptionsSelection/index.d.ts +0 -5
- package/es/test/setup.d.ts +0 -1
- package/lib/components/booking/addons/model.d.ts +0 -1
- package/lib/components/booking/editBookingModal/utils.d.ts +0 -12
- package/lib/components/booking/info/service/addTimeModal/utils.d.ts +0 -31
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -3
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -3
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -9
- package/lib/components/eftposPay/hooks.d.ts +0 -35
- package/lib/components/eftposPay/locales.d.ts +0 -330
- package/lib/components/eftposPay/manufacturer.d.ts +0 -7
- package/lib/components/eftposPay/pay.d.ts +0 -20
- package/lib/components/eftposPay/windcave/helper.d.ts +0 -23
- package/lib/components/pay/toC/model.d.ts +0 -32
- package/lib/components/pay/toC/utils.d.ts +0 -57
- package/lib/components/ruleSetting/locales.d.ts +0 -48
- package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
- package/lib/components/workSpaceList/components/Card/constants.d.ts +0 -2
- package/lib/plus/skuOptionsSelection/index.d.ts +0 -5
- package/lib/test/setup.d.ts +0 -1
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 钱包列表查询参数接口
|
|
3
|
+
*/
|
|
4
|
+
export interface IWalletListParmsProps {
|
|
5
|
+
tags?: string[];
|
|
6
|
+
sales_status?: 1 | 0 | -1;
|
|
7
|
+
machine_search?: string;
|
|
8
|
+
createdDate?: string;
|
|
9
|
+
limit_status?: string;
|
|
10
|
+
relation_id?: string;
|
|
11
|
+
relation_type?: string;
|
|
12
|
+
customer_id?: number;
|
|
13
|
+
sort?: 'desc' | 'asc';
|
|
14
|
+
order_by?: string;
|
|
15
|
+
used_status?: string;
|
|
16
|
+
num?: number;
|
|
17
|
+
skip?: number;
|
|
18
|
+
filter_wallet_id?: string;
|
|
19
|
+
filter_holder_id?: string;
|
|
20
|
+
available: 0 | 1;
|
|
21
|
+
with?: string[];
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* 钱包列表项属性接口
|
|
25
|
+
*/
|
|
26
|
+
export interface IWalletListItemProps {
|
|
27
|
+
id?: number | string;
|
|
28
|
+
encoded?: string;
|
|
29
|
+
code?: string;
|
|
30
|
+
limit_status?: string;
|
|
31
|
+
customer_id?: number;
|
|
32
|
+
generate_method?: 'not_settable' | 'before_order' | 'after_order';
|
|
33
|
+
created_at?: string;
|
|
34
|
+
product_id?: number;
|
|
35
|
+
sales_status?: 1 | 0;
|
|
36
|
+
tag?: string;
|
|
37
|
+
status?: string;
|
|
38
|
+
redeemed_at?: string;
|
|
39
|
+
collection_time?: string;
|
|
40
|
+
order_id?: number;
|
|
41
|
+
par_value?: string;
|
|
42
|
+
write_status?: number;
|
|
43
|
+
expire_date?: string;
|
|
44
|
+
balance?: string;
|
|
45
|
+
extension_id?: string;
|
|
46
|
+
product_title?: string;
|
|
47
|
+
product_cover?: string;
|
|
48
|
+
product?: IProductProps;
|
|
49
|
+
unified_available_status?: 0 | 1;
|
|
50
|
+
unified_error_code?: number;
|
|
51
|
+
shop: IShop;
|
|
52
|
+
unified_messages: any;
|
|
53
|
+
machinecode_config?: {
|
|
54
|
+
hide_recharge?: number;
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* 商店信息接口
|
|
59
|
+
*/
|
|
60
|
+
export interface IShop {
|
|
61
|
+
name: string;
|
|
62
|
+
id: number;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* 商品属性接口
|
|
66
|
+
*/
|
|
67
|
+
export interface IProductProps {
|
|
68
|
+
id?: number;
|
|
69
|
+
title?: string;
|
|
70
|
+
description?: string;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* API响应接口
|
|
74
|
+
*/
|
|
75
|
+
export interface ApiResponse<T> {
|
|
76
|
+
data: T;
|
|
77
|
+
code?: number;
|
|
78
|
+
message?: string;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* 错误处理函数类型
|
|
82
|
+
*/
|
|
83
|
+
export declare type ErrorCallback = () => void;
|
|
84
|
+
/**
|
|
85
|
+
* 获取钱包列表
|
|
86
|
+
* @param params 查询参数
|
|
87
|
+
* @returns Promise<{list: IWalletListItemProps[], count: number}> 钱包列表和总数
|
|
88
|
+
* @throws 请求失败时抛出错误
|
|
89
|
+
*/
|
|
90
|
+
export declare const getWalletPassList: (params?: IWalletListParmsProps) => Promise<{
|
|
91
|
+
list: IWalletListItemProps[];
|
|
92
|
+
count: number;
|
|
93
|
+
}>;
|
|
94
|
+
/**
|
|
95
|
+
* 通过code绑定客户
|
|
96
|
+
* @param params 请求参数,包含code
|
|
97
|
+
* @param errCallback 错误回调
|
|
98
|
+
* @returns Promise<any> 绑定结果
|
|
99
|
+
*/
|
|
100
|
+
export declare const bindCodeToCustomer: (params: {
|
|
101
|
+
code: string;
|
|
102
|
+
}) => Promise<any>;
|
|
103
|
+
/**
|
|
104
|
+
* 用户根据code查询待绑定识别码列表
|
|
105
|
+
* @param params 请求参数,包含code和tag
|
|
106
|
+
* @param errCallback 错误回调函数
|
|
107
|
+
* @returns Promise<IWalletListItemProps[] | null> 未绑定的钱包卡列表
|
|
108
|
+
*/
|
|
109
|
+
export declare const getUnbindList: (params: {
|
|
110
|
+
code: string;
|
|
111
|
+
tag?: string;
|
|
112
|
+
}) => Promise<IWalletListItemProps[] | null>;
|
|
113
|
+
/**
|
|
114
|
+
* 下单请求参数接口
|
|
115
|
+
*/
|
|
116
|
+
export interface IOrderParams {
|
|
117
|
+
voucher_id: string;
|
|
118
|
+
product_id: string;
|
|
119
|
+
product_variant_id: string;
|
|
120
|
+
quantity: number;
|
|
121
|
+
type: string;
|
|
122
|
+
platform: string;
|
|
123
|
+
currency_code: {
|
|
124
|
+
currency_code: string;
|
|
125
|
+
currency_symbol: string;
|
|
126
|
+
currency_format: string;
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* 下单
|
|
131
|
+
* @param params 下单参数
|
|
132
|
+
* @returns Promise<any> 下单结果
|
|
133
|
+
* @throws 请求失败时抛出错误
|
|
134
|
+
*/
|
|
135
|
+
export declare const goOrder: (params: IOrderParams) => Promise<any>;
|
|
136
|
+
/**
|
|
137
|
+
* 设置请求对象
|
|
138
|
+
* @param req 请求对象
|
|
139
|
+
*/
|
|
140
|
+
export declare const setRequest: (req: any) => void;
|
|
141
|
+
interface IAssetListProps {
|
|
142
|
+
skip?: string;
|
|
143
|
+
num?: string;
|
|
144
|
+
card_id?: string;
|
|
145
|
+
sourceType?: string;
|
|
146
|
+
business_object?: string;
|
|
147
|
+
tag?: string;
|
|
148
|
+
}
|
|
149
|
+
export interface IAssetItem {
|
|
150
|
+
id?: string;
|
|
151
|
+
tag?: 'gift_card' | 'product_voucher' | 'point_card' | 'product_discount_card';
|
|
152
|
+
shop_id?: string;
|
|
153
|
+
transaction_id?: string;
|
|
154
|
+
title?: string;
|
|
155
|
+
created_at?: string;
|
|
156
|
+
amount?: string;
|
|
157
|
+
balance?: string;
|
|
158
|
+
currency_symbol?: string;
|
|
159
|
+
action?: 'recharge' | 'order_expend' | 'order_refund' | 'expire';
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* 资产明细列表
|
|
163
|
+
* @param params 接口请求参数
|
|
164
|
+
* @returns 资产明细列表
|
|
165
|
+
*/
|
|
166
|
+
export declare const getAssetList: (params: IAssetListProps) => Promise<{
|
|
167
|
+
list: IAssetItem[];
|
|
168
|
+
}>;
|
|
169
|
+
/**
|
|
170
|
+
* 获取资产详情
|
|
171
|
+
* @param params 接口请求参数
|
|
172
|
+
* @returns 资产详情
|
|
173
|
+
*/
|
|
174
|
+
export declare const getDetailApi: (params: {
|
|
175
|
+
id: string;
|
|
176
|
+
order_behavior_count_customer_id: string;
|
|
177
|
+
apiPrefix: string;
|
|
178
|
+
}) => Promise<IDetailResponse>;
|
|
179
|
+
/**
|
|
180
|
+
* 详情响应数据结构,供组件消费
|
|
181
|
+
*/
|
|
182
|
+
export interface IDetailResponse {
|
|
183
|
+
detailId?: string;
|
|
184
|
+
productId?: string;
|
|
185
|
+
gift_option?: Array<{
|
|
186
|
+
id: string;
|
|
187
|
+
name: string;
|
|
188
|
+
gift_price: number;
|
|
189
|
+
price: number;
|
|
190
|
+
variant_id?: string;
|
|
191
|
+
}>;
|
|
192
|
+
[key: string]: any;
|
|
193
|
+
}
|
|
194
|
+
interface OrderParams {
|
|
195
|
+
voucher_id: string;
|
|
196
|
+
product_id: string;
|
|
197
|
+
product_variant_id: string;
|
|
198
|
+
quantity: number;
|
|
199
|
+
type: string;
|
|
200
|
+
platform: string;
|
|
201
|
+
currency_code: {
|
|
202
|
+
currency_code: string;
|
|
203
|
+
currency_symbol: string;
|
|
204
|
+
currency_format: string;
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
interface OrderResponse {
|
|
208
|
+
order_id: string;
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* 下单接口
|
|
212
|
+
* @param params - 订单参数
|
|
213
|
+
* @returns 订单响应数据
|
|
214
|
+
*/
|
|
215
|
+
export declare const orderRechargeProduct: (params: OrderParams) => Promise<OrderResponse>;
|
|
216
|
+
/**
|
|
217
|
+
* @desc: 获取钱包信息
|
|
218
|
+
* @author: Arthur
|
|
219
|
+
* @date: 2025-11-03 15:30
|
|
220
|
+
*/
|
|
221
|
+
export declare const getWalletDetail: (id: string | number) => Promise<any>;
|
|
222
|
+
/**
|
|
223
|
+
* 更新卡券持有人
|
|
224
|
+
* @param id 卡券ID
|
|
225
|
+
* @param params 更新参数
|
|
226
|
+
* @returns 更新结果
|
|
227
|
+
*/
|
|
228
|
+
export declare const updateWalletPassHolder: (id: string, params: any) => Promise<any>;
|
|
229
|
+
/**
|
|
230
|
+
* 获取卡券详情
|
|
231
|
+
* @param id 卡券ID
|
|
232
|
+
* @returns 卡券详情
|
|
233
|
+
*/
|
|
234
|
+
export declare const getWalletPassDetail: (id: string, params: any) => Promise<any>;
|
|
235
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { WebPosLoginCptProps } from './types';
|
|
3
|
+
import './WebPosLoginCpt.less';
|
|
4
|
+
/**
|
|
5
|
+
* WebPosLoginCpt 主组件
|
|
6
|
+
* @description WebPOS 登录流程组件,包含登录、店铺选择、设备选择三个步骤
|
|
7
|
+
*/
|
|
8
|
+
declare const WebPosLoginCpt: React.FC<WebPosLoginCptProps>;
|
|
9
|
+
export default WebPosLoginCpt;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BrandPanelProps } from '../../types';
|
|
3
|
+
import './index.less';
|
|
4
|
+
/**
|
|
5
|
+
* BrandPanel 品牌区组件
|
|
6
|
+
* @description 登录页面左侧品牌展示区域,支持轮播图片/视频(预留),当前仅展示 Logo
|
|
7
|
+
*/
|
|
8
|
+
declare const BrandPanel: React.FC<BrandPanelProps>;
|
|
9
|
+
export default BrandPanel;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
/**
|
|
4
|
+
* LoginPanel 组件 Props
|
|
5
|
+
*/
|
|
6
|
+
export interface LoginPanelProps {
|
|
7
|
+
/** 自定义类名 */
|
|
8
|
+
className?: string;
|
|
9
|
+
/** 子元素 */
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
/** 登录成功回调 */
|
|
12
|
+
onLoginSuccess?: (data: any) => void;
|
|
13
|
+
/** 登录配置 */
|
|
14
|
+
config?: any;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* LoginPanel 登录面板组件
|
|
18
|
+
* @description 登录表单容器,由用户自行实现具体登录逻辑
|
|
19
|
+
*/
|
|
20
|
+
declare const LoginPanel: React.FC<LoginPanelProps>;
|
|
21
|
+
export default LoginPanel;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WebPosLogin 组件导出
|
|
3
|
+
* @description WebPOS 登录流程组件
|
|
4
|
+
*/
|
|
5
|
+
export { default } from './WebPosLogin';
|
|
6
|
+
export { default as WebPosLogin } from './WebPosLogin';
|
|
7
|
+
export { default as BrandPanel } from './components/BrandPanel';
|
|
8
|
+
export { default as LoginPanel } from './components/LoginPanel';
|
|
9
|
+
export { default as SelectStore } from './components/SelectStore';
|
|
10
|
+
export { default as SelectDevice } from './components/SelectDevice';
|
|
11
|
+
export { default as UserFooter } from './components/UserFooter';
|
|
12
|
+
export type { WebPosLoginCptProps, StoreItem, DeviceItem, DeviceClient, UserInfo, BrandConfig, CarouselItem, LoginStep, LocaleType, BrandPanelProps, SelectStoreProps, SelectDeviceProps, UserFooterProps, } from './types';
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { StoreItem } from './types';
|
|
2
|
+
interface IGetDeviceListParams {
|
|
3
|
+
type: string;
|
|
4
|
+
with: string[];
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* 获取设备列表
|
|
8
|
+
* @param params 查询参数
|
|
9
|
+
* @returns Promise<{list: any[], count: number}> 设备列表和总数
|
|
10
|
+
*/
|
|
11
|
+
export declare const getDeviceList: (parmas: IGetDeviceListParams) => Promise<any[]>;
|
|
12
|
+
/**
|
|
13
|
+
* 选择店铺
|
|
14
|
+
* @param shopId 店铺ID
|
|
15
|
+
* @returns Promise<any> 选择店铺结果
|
|
16
|
+
*/
|
|
17
|
+
export declare const selectShop: (shopId: string) => Promise<any>;
|
|
18
|
+
/**
|
|
19
|
+
* 获取租户详情
|
|
20
|
+
* @param deviceId 设备ID
|
|
21
|
+
* @returns Promise<any> 租户详情
|
|
22
|
+
*/
|
|
23
|
+
export declare const getTenantDetail: () => Promise<any>;
|
|
24
|
+
/**
|
|
25
|
+
* 获取租户列表
|
|
26
|
+
* @returns Promise<any> 租户列表
|
|
27
|
+
*/
|
|
28
|
+
export declare const getTenant: () => Promise<StoreItem[]>;
|
|
29
|
+
/**
|
|
30
|
+
* 选择设备
|
|
31
|
+
* @param deviceNumber 设备编号
|
|
32
|
+
* @returns Promise<any> 设备详情
|
|
33
|
+
*/
|
|
34
|
+
export declare const selectDevice: (params: Record<string, any>) => Promise<any>;
|
|
35
|
+
/**
|
|
36
|
+
* 解除设备绑定
|
|
37
|
+
* @param deviceNumber 设备编号
|
|
38
|
+
* @returns Promise<any> 解除设备绑定结果
|
|
39
|
+
*/
|
|
40
|
+
export declare const dissociateDevice: (params: {
|
|
41
|
+
number: string;
|
|
42
|
+
dissociateDeviceNumber: string;
|
|
43
|
+
}) => Promise<any>;
|
|
44
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 注册流程步骤组件导出
|
|
3
|
+
*/
|
|
4
|
+
export { default as WaitEmailLink } from './WaitEmailLink';
|
|
5
|
+
export { default as EmailAlreadyRegistered } from './EmailAlreadyRegistered';
|
|
6
|
+
export { default as CodeInput } from './CodeInput';
|
|
7
|
+
export { default as VerificationSuccess } from './VerificationSuccess';
|
|
8
|
+
export { default as SetPassword } from './SetPassword';
|
|
9
|
+
export { default as VerifyingEmailLink } from './VerifyingEmailLink';
|
|
10
|
+
export { default as EmailLinkExpired } from './EmailLinkExpired';
|
|
11
|
+
export { default as EmailLinkAlreadyUsed } from './EmailLinkAlreadyUsed';
|
|
12
|
+
export type { WaitEmailLinkProps } from './WaitEmailLink';
|
|
13
|
+
export type { EmailAlreadyRegisteredProps } from './EmailAlreadyRegistered';
|
|
14
|
+
export type { CodeInputProps } from './CodeInput';
|
|
15
|
+
export type { VerificationSuccessProps } from './VerificationSuccess';
|
|
16
|
+
export type { SetPasswordProps } from './SetPassword';
|
|
17
|
+
export type { VerifyingEmailLinkProps } from './VerifyingEmailLink';
|
|
18
|
+
export type { EmailLinkExpiredProps } from './EmailLinkExpired';
|
|
19
|
+
export type { EmailLinkAlreadyUsedProps } from './EmailLinkAlreadyUsed';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
export interface NumberKeyboardPopoverProps {
|
|
4
|
+
/** 触发元素 */
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
/** 当前值 */
|
|
7
|
+
value?: string;
|
|
8
|
+
/** 值变化回调 */
|
|
9
|
+
onChange?: (value: string) => void;
|
|
10
|
+
/** 确认回调 */
|
|
11
|
+
onConfirm?: (value: string) => void;
|
|
12
|
+
/** 取消回调 */
|
|
13
|
+
onCancel?: () => void;
|
|
14
|
+
/** 是否允许小数 */
|
|
15
|
+
allowDecimal?: boolean;
|
|
16
|
+
/** 小数位数 */
|
|
17
|
+
decimalPlaces?: number;
|
|
18
|
+
/** 键盘主题 */
|
|
19
|
+
selectType?: 'light' | 'dark';
|
|
20
|
+
/** 是否禁用 */
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
/** Popover 额外的类名 */
|
|
23
|
+
overlayClassName?: string;
|
|
24
|
+
max?: number;
|
|
25
|
+
maxLength?: number;
|
|
26
|
+
}
|
|
27
|
+
export interface NumberKeyboardPopoverRef {
|
|
28
|
+
/** 打开键盘 */
|
|
29
|
+
open: () => void;
|
|
30
|
+
/** 关闭键盘 */
|
|
31
|
+
close: () => void;
|
|
32
|
+
/** 获取当前是否打开 */
|
|
33
|
+
isOpen: () => boolean;
|
|
34
|
+
}
|
|
35
|
+
declare const NumberKeyboardPopover: React.ForwardRefExoticComponent<NumberKeyboardPopoverProps & React.RefAttributes<NumberKeyboardPopoverRef>>;
|
|
36
|
+
export default NumberKeyboardPopover;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CashKeyboardBaseProps } from './types';
|
|
2
|
+
export interface CashKeyboardProps extends CashKeyboardBaseProps {
|
|
3
|
+
containerProps?: {
|
|
4
|
+
renderType: 'modal' | 'popover';
|
|
5
|
+
open: boolean;
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
variant?: 'intact' | 'simple';
|
|
9
|
+
shortcutsSize?: 'default' | 'large';
|
|
10
|
+
}
|
|
11
|
+
declare const CashKeyboard: (props: CashKeyboardProps) => JSX.Element;
|
|
12
|
+
export default CashKeyboard;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.28",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -76,10 +76,10 @@
|
|
|
76
76
|
"react-infinite-scroll-component": "^6.1.0",
|
|
77
77
|
"react-resizable": "^3.0.5",
|
|
78
78
|
"styled-components": "^6.0.0-rc.3",
|
|
79
|
-
"@pisell/icon": "0.0.11",
|
|
80
|
-
"@pisell/date-picker": "3.0.7",
|
|
81
79
|
"@pisell/materials": "6.8.6",
|
|
82
|
-
"@pisell/
|
|
80
|
+
"@pisell/icon": "0.0.11",
|
|
81
|
+
"@pisell/utils": "3.0.2",
|
|
82
|
+
"@pisell/date-picker": "3.0.7"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
85
|
"react": "^18.0.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const Provider: any, Context: any;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface ResourceItem {
|
|
2
|
-
[key: string]: any;
|
|
3
|
-
}
|
|
4
|
-
/**
|
|
5
|
-
* @title: 传入资源,如果有子资源,会根据组合资源的 capacity 计算修改子资源的 capacity
|
|
6
|
-
* @description:
|
|
7
|
-
* @param {object} resource
|
|
8
|
-
* @return {*}
|
|
9
|
-
* @Author: jinglin.tan
|
|
10
|
-
*/
|
|
11
|
-
export declare const checkSubResourcesCapacity: (resource: ResourceItem) => void;
|
|
12
|
-
export declare const formatValues: (data: any, values: any) => any;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @title: 根据商品生成加时列表
|
|
3
|
-
* @description:
|
|
4
|
-
* @param {any} config
|
|
5
|
-
* @param {number} price
|
|
6
|
-
* @return {*}
|
|
7
|
-
* @Author: zhiwei.Wang
|
|
8
|
-
* @Date: 2024-07-01 09:34
|
|
9
|
-
*/
|
|
10
|
-
export declare const getAddTimeSplits: (product: any, cacheItem: any, currentResourceTimeEndDate: any) => {
|
|
11
|
-
label: any;
|
|
12
|
-
value: any;
|
|
13
|
-
price: any;
|
|
14
|
-
}[];
|
|
15
|
-
/**
|
|
16
|
-
* @title: 判断当前商品是否可用
|
|
17
|
-
* @description:
|
|
18
|
-
* @param {any} relationProduct
|
|
19
|
-
* @param {any} currentItem
|
|
20
|
-
* @return {*}
|
|
21
|
-
* @Author: zhiwei.Wang
|
|
22
|
-
* @Date: 2024-07-01 09:33
|
|
23
|
-
*/
|
|
24
|
-
export declare const isUsableProduct: (addTime: any, currentItem: any) => any;
|
|
25
|
-
export declare const addTimeRowKey: {
|
|
26
|
-
create: (product_id: number, time: number) => string;
|
|
27
|
-
getValue: (str: string) => {
|
|
28
|
-
product_id: number;
|
|
29
|
-
time: number | string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PayStatus } from './const';
|
|
3
|
-
import { ModeEnum, ClientEnum } from './const';
|
|
4
|
-
export declare const useStoreRef: <T extends {
|
|
5
|
-
[key: string]: unknown;
|
|
6
|
-
} = {
|
|
7
|
-
[key: string]: unknown;
|
|
8
|
-
}, U extends {
|
|
9
|
-
[key: string]: unknown;
|
|
10
|
-
} = {
|
|
11
|
-
[key: string]: unknown;
|
|
12
|
-
}>() => {
|
|
13
|
-
readonly deviceRef: React.MutableRefObject<T>;
|
|
14
|
-
readonly payRef: React.MutableRefObject<U>;
|
|
15
|
-
readonly numRef: React.MutableRefObject<string | number | undefined>;
|
|
16
|
-
readonly orderIdRef: React.MutableRefObject<string | number>;
|
|
17
|
-
readonly modeRef: React.MutableRefObject<ModeEnum>;
|
|
18
|
-
readonly statusRef: React.MutableRefObject<"loading" | "warn" | "success" | "fail" | "pedding" | "resove" | "reject" | "question">;
|
|
19
|
-
readonly netRef: React.MutableRefObject<boolean | undefined>;
|
|
20
|
-
readonly symbolRef: React.MutableRefObject<string>;
|
|
21
|
-
readonly amountRef: React.MutableRefObject<string | number>;
|
|
22
|
-
readonly eftposRef: React.MutableRefObject<"payo" | "tyro" | "windcave" | "stripe" | "linkly">;
|
|
23
|
-
readonly clientRef: React.MutableRefObject<ClientEnum>;
|
|
24
|
-
readonly dataRef: React.MutableRefObject<import("./store").State>;
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* @title: 通用失败处理
|
|
28
|
-
* @description: 固定步骤 错误处理逻辑
|
|
29
|
-
* @return null
|
|
30
|
-
* @Author: hongbing.wang
|
|
31
|
-
* @Date: 2024-08-12 11:54
|
|
32
|
-
*/
|
|
33
|
-
export declare const useFail: (index: number) => (res: {
|
|
34
|
-
code?: `${PayStatus}`;
|
|
35
|
-
}, isMark?: boolean) => void;
|