@pisell/private-materials 6.8.27 → 6.8.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +8 -8
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +8 -8
- package/es/components/Sales/Cart/index.d.ts +53 -0
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
- package/es/components/appointmentBooking/deposit/index.d.ts +0 -1
- package/es/components/appointmentBooking/hooks.d.ts +107 -0
- package/es/components/appointmentBooking/locales.d.ts +363 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +0 -1
- package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
- package/es/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/index.d.ts +26 -0
- package/es/components/booking/components/actionButtons/index.d.ts +31 -0
- package/es/components/booking/components/footer/amount.d.ts +37 -0
- package/es/components/booking/components/footer/index.js +43 -44
- package/es/components/booking/components/tabPane/index.d.ts +4 -0
- package/es/components/booking/components/voucher/index.d.ts +3 -0
- package/es/components/booking/components/voucherModal/index.d.ts +19 -0
- package/es/components/booking/deposit/index.d.ts +3 -0
- package/es/components/booking/forms/footer.d.ts +0 -1
- package/es/components/booking/forms/forms.d.ts +30 -0
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/es/components/booking/hooks/useClearCart.d.ts +0 -1
- package/es/components/booking/hooks/useQuotation.d.ts +0 -1
- package/es/components/booking/info/client/index.d.ts +4 -0
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/es/components/booking/info/dateRange/index.d.ts +0 -1
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +11 -0
- package/es/components/booking/info/hooks/useInfoHolder.js +0 -1
- package/es/components/booking/info/index.d.ts +1 -0
- package/es/components/booking/info/model.js +0 -1
- package/es/components/booking/info/service/Lists.d.ts +3 -0
- package/es/components/booking/info/service/addService/index.d.ts +11 -0
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/es/components/booking/info/service/serve.d.ts +34 -0
- package/es/components/booking/info/service/serviceItem/index.d.ts +0 -1
- package/es/components/booking/info/service/serviceList/index.d.ts +6 -0
- package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/es/components/booking/info/service2/Group/utils.d.ts +14 -0
- package/es/components/booking/info/service2/Lists.d.ts +3 -0
- package/es/components/booking/info/service2/utils.d.ts +219 -0
- package/es/components/booking/info2/cartClientCard/types.d.ts +18 -0
- package/es/components/booking/info2/cartClientCard/utils.d.ts +3 -0
- package/es/components/booking/info2/service/addService/index.d.ts +11 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +106 -0
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +3 -0
- package/es/components/booking/info2/service/editNormalService/index.js +4 -4
- package/es/components/booking/info2/service/editService/index.js +3 -3
- package/es/components/booking/info2/service/editService/utils.js +6 -1
- package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -1
- package/es/components/booking/info2/service/serviceList/index.d.ts +6 -0
- package/es/components/booking/info2/utilsByBooking.d.ts +36 -0
- package/es/components/booking/locales.d.ts +951 -0
- package/es/components/booking/notes/addNote/index.d.ts +4 -0
- package/es/components/booking/utils/confirmHolderModal.js +3 -4
- package/es/components/booking/utils/selectHolderModal.d.ts +24 -0
- package/es/components/booking/utils.d.ts +182 -0
- package/es/components/booking/utils.js +7 -1
- package/es/components/checkout/components/CashPaymentModule/index.d.ts +26 -0
- package/es/components/checkout/components/PaymentDetailModal/index.d.ts +38 -0
- package/es/components/checkout/components/PaymentOptionsModule/index.d.ts +16 -0
- package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
- package/es/components/checkout/components/SearchAndClientModule/index.d.ts +0 -1
- package/es/components/checkout/components/SendPaymentLinkModal/index.d.ts +12 -0
- package/es/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +0 -1
- package/es/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +0 -1
- package/es/components/checkout/components/WalletPassModule/types.d.ts +134 -0
- package/es/components/checkout/payment-modal-utils.d.ts +30 -0
- package/es/components/checkout/plugin.js +14 -4
- package/es/components/checkout/types.d.ts +130 -0
- package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
- package/es/components/checkout/utils.d.ts +3 -0
- package/es/components/eftposPay/EFTPos.d.ts +14 -0
- package/es/components/eftposPay/app.d.ts +10 -0
- package/es/components/eftposPay/const.d.ts +190 -0
- package/es/components/eftposPay/device.d.ts +25 -0
- package/es/components/eftposPay/index.d.ts +4 -0
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/es/components/eftposPay/payo/config.d.ts +12 -0
- package/es/components/eftposPay/payo/payment.d.ts +66 -0
- package/es/components/eftposPay/serve.d.ts +16 -0
- package/es/components/eftposPay/tyro/index.d.ts +9 -0
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/es/components/list/ResponsiveWrapper.d.ts +16 -0
- package/es/components/list/TestResponsiveWrapper.d.ts +8 -0
- package/es/components/list/components/EmptyState/index.d.ts +2 -0
- package/es/components/list/components/Pagination/index.d.ts +1 -0
- package/es/components/list/examples/GroupedListExample.d.ts +3 -0
- package/es/components/list/hooks/index.d.ts +5 -0
- package/es/components/list/index.d.ts +10 -0
- package/es/components/pay/toB/components/Cache/index.d.ts +0 -1
- package/es/components/pay/toB/components/Card/index.d.ts +0 -1
- package/es/components/pay/toB/components/CardGroup/index.d.ts +8 -0
- package/es/components/pay/toB/components/ConfirmedPayment/index.d.ts +0 -1
- package/es/components/pay/toB/components/Content/Footer.d.ts +0 -1
- package/es/components/pay/toB/components/Content/utils.d.ts +16 -0
- package/es/components/pay/toB/components/EFTPOS/index.d.ts +8 -0
- package/es/components/pay/toB/components/MX51/index.d.ts +3 -0
- package/es/components/pay/toB/components/index.d.ts +5 -0
- package/es/components/pay/toB/index.d.ts +3 -0
- package/es/components/pay/toB/locales.d.ts +54 -0
- package/es/components/pay/toB/paymentMethods/index.d.ts +11 -0
- package/es/components/pay/toB/store/context.d.ts +3 -0
- package/es/components/pay/toB/store/hooks.d.ts +15 -0
- package/es/components/pay/toB/store/index.d.ts +3 -0
- package/es/components/pay/toB/store/provider.d.ts +4 -0
- package/es/components/pay/toB/store/utils.d.ts +13 -0
- package/es/components/pay/toB/types/index.d.ts +72 -0
- package/es/components/pay/toB/types/storeTypes.d.ts +143 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
- package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/es/components/pisellSelectCustomerModal/index.d.ts +0 -1
- package/es/components/productSelect/components/TabProduct/index.d.ts +0 -1
- package/es/components/productSelect/components/productGroup/index.d.ts +39 -0
- package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
- package/es/components/shoppingCart/components/Cart/index.d.ts +0 -1
- package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/es/components/systemSettings/registry/components/SectionList.d.ts +4 -0
- package/es/components/systemSettings/registry/components/index.d.ts +4 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +7 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -1
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +7 -2
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +10 -0
- package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +7 -0
- package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -1
- package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -1
- package/es/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +6 -0
- package/es/components/ticketBooking/hooks/pisellos/index.d.ts +4 -0
- package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
- package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
- package/es/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +6 -0
- package/es/components/ticketBooking/serve.d.ts +288 -0
- package/es/components/ticketBooking/utils/index.d.ts +101 -0
- package/es/components/walletList/index.d.ts +0 -1
- package/es/components/walletList/serve.d.ts +43 -0
- package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/es/hooks/index.d.ts +10 -0
- package/es/hooks/useModal.example.d.ts +12 -0
- package/es/hooks/useModal.integration.example.d.ts +15 -0
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +3 -0
- package/es/plus/clinetSearch/Add/PhoneField/serve.d.ts +2 -0
- package/es/plus/clinetSearch/index.d.ts +17 -0
- package/es/plus/clinetSearch/locales.d.ts +105 -0
- package/es/plus/clinetSearch/serve.d.ts +1 -0
- package/es/plus/clinetSearch/types.d.ts +61 -0
- package/es/plus/contactInfoModal/ContactInfoContent.d.ts +0 -1
- package/es/plus/noteModal/AddTempModal.d.ts +0 -1
- package/es/plus/productSelect/CategoryTabs/index.d.ts +21 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +8 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +9 -0
- package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
- package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -1
- package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/es/plus/walletEditor/index.d.ts +3 -0
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
- package/es/plus/walletPassGallery/components/passList/index.d.ts +0 -1
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
- package/es/plus/walletPassGallery/index.d.ts +0 -1
- package/es/plus/walletPassGallery/serve.d.ts +235 -0
- package/es/plus/webPosLogin/WebPosLoginCpt.d.ts +9 -0
- package/es/plus/webPosLogin/components/BrandPanel/index.d.ts +9 -0
- package/es/plus/webPosLogin/components/LoginPanel/index.d.ts +21 -0
- package/es/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
- package/es/plus/webPosLogin/index.d.ts +12 -0
- package/es/plus/webPosLogin/locales.d.ts +49 -0
- package/es/plus/webPosLogin/service.d.ts +44 -0
- package/es/plus/webPosLogin/types.d.ts +286 -0
- package/es/pro/Login2.0/components/LegalTerms.d.ts +8 -0
- package/es/pro/Login2.0/components/PhoneInput.d.ts +53 -0
- package/es/pro/Login2.0/hooks/index.d.ts +2 -0
- package/es/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
- package/es/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
- package/es/pro/Login2.0/shared/Header.d.ts +11 -0
- package/es/pro/Login2.0/shared/types.d.ts +232 -0
- package/es/pro/Login2.0/steps/index.d.ts +19 -0
- package/es/pro/NumberKeyboardPopover/index.d.ts +36 -0
- package/es/pro/comprehensiveSearch/components/index.d.ts +2 -0
- package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
- package/es/pro/multiDayTimeSelect/index.d.ts +3 -0
- package/es/pro/pisellNumberSelector/example.d.ts +3 -0
- package/es/pro/pisellPaymentList/example.d.ts +19 -0
- package/es/pro/pisellPhoneKeyboard/index.d.ts +0 -1
- package/es/pro/pisellPriceKeyboardModal/index.d.ts +2 -0
- package/es/pro/pisellPriceKeyboardPopover/PisellPriceKeyboardPopover.d.ts +5 -0
- package/es/pro/pisellPriceKeyboardPopover/index.d.ts +2 -0
- package/es/pro/pisellSimplePriceKeyboardPopover/index.d.ts +2 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +0 -1
- package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +13 -0
- package/es/pro/priceKeyboard/components/paymentKeyboard/index.d.ts +0 -1
- package/es/pro/priceKeyboard/hooks/rightItems.d.ts +0 -1
- package/es/pro/priceKeyboard/index.d.ts +3 -0
- package/es/pro/skuDetailModal/index.js +17 -2
- package/es/pro/skuDetailModal/index.less +1 -1
- package/lib/components/Sales/Cart/index.d.ts +53 -0
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
- package/lib/components/appointmentBooking/deposit/index.d.ts +0 -1
- package/lib/components/appointmentBooking/hooks.d.ts +107 -0
- package/lib/components/appointmentBooking/locales.d.ts +363 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +0 -1
- package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
- package/lib/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/index.d.ts +26 -0
- package/lib/components/booking/components/actionButtons/index.d.ts +31 -0
- package/lib/components/booking/components/footer/amount.d.ts +37 -0
- package/lib/components/booking/components/footer/index.js +9 -12
- package/lib/components/booking/components/tabPane/index.d.ts +4 -0
- package/lib/components/booking/components/voucher/index.d.ts +3 -0
- package/lib/components/booking/components/voucherModal/index.d.ts +19 -0
- package/lib/components/booking/deposit/index.d.ts +3 -0
- package/lib/components/booking/forms/footer.d.ts +0 -1
- package/lib/components/booking/forms/forms.d.ts +30 -0
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
- package/lib/components/booking/hooks/useQuotation.d.ts +0 -1
- package/lib/components/booking/info/client/index.d.ts +4 -0
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/lib/components/booking/info/dateRange/index.d.ts +0 -1
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +11 -0
- package/lib/components/booking/info/hooks/useInfoHolder.js +0 -1
- package/lib/components/booking/info/index.d.ts +1 -0
- package/lib/components/booking/info/model.js +0 -1
- package/lib/components/booking/info/service/Lists.d.ts +3 -0
- package/lib/components/booking/info/service/addService/index.d.ts +11 -0
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/lib/components/booking/info/service/serve.d.ts +34 -0
- package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -1
- package/lib/components/booking/info/service/serviceList/index.d.ts +6 -0
- package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/lib/components/booking/info/service2/Group/utils.d.ts +14 -0
- package/lib/components/booking/info/service2/Lists.d.ts +3 -0
- package/lib/components/booking/info/service2/utils.d.ts +219 -0
- package/lib/components/booking/info2/cartClientCard/types.d.ts +18 -0
- package/lib/components/booking/info2/cartClientCard/utils.d.ts +3 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +11 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +106 -0
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +3 -0
- package/lib/components/booking/info2/service/editNormalService/index.js +4 -4
- package/lib/components/booking/info2/service/editService/index.js +4 -4
- package/lib/components/booking/info2/service/editService/utils.js +4 -1
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -1
- package/lib/components/booking/info2/service/serviceList/index.d.ts +6 -0
- package/lib/components/booking/info2/utilsByBooking.d.ts +36 -0
- package/lib/components/booking/locales.d.ts +951 -0
- package/lib/components/booking/notes/addNote/index.d.ts +4 -0
- package/lib/components/booking/utils/confirmHolderModal.js +0 -1
- package/lib/components/booking/utils/selectHolderModal.d.ts +24 -0
- package/lib/components/booking/utils.d.ts +182 -0
- package/lib/components/booking/utils.js +5 -1
- package/lib/components/checkout/components/CashPaymentModule/index.d.ts +26 -0
- package/lib/components/checkout/components/PaymentDetailModal/index.d.ts +38 -0
- package/lib/components/checkout/components/PaymentOptionsModule/index.d.ts +16 -0
- package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
- package/lib/components/checkout/components/SearchAndClientModule/index.d.ts +0 -1
- package/lib/components/checkout/components/SendPaymentLinkModal/index.d.ts +12 -0
- package/lib/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +0 -1
- package/lib/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +0 -1
- package/lib/components/checkout/components/WalletPassModule/types.d.ts +134 -0
- package/lib/components/checkout/payment-modal-utils.d.ts +30 -0
- package/lib/components/checkout/plugin.js +10 -1
- package/lib/components/checkout/types.d.ts +130 -0
- package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
- package/lib/components/checkout/utils.d.ts +3 -0
- package/lib/components/eftposPay/EFTPos.d.ts +14 -0
- package/lib/components/eftposPay/app.d.ts +10 -0
- package/lib/components/eftposPay/const.d.ts +190 -0
- package/lib/components/eftposPay/device.d.ts +25 -0
- package/lib/components/eftposPay/index.d.ts +4 -0
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/lib/components/eftposPay/payo/config.d.ts +12 -0
- package/lib/components/eftposPay/payo/payment.d.ts +66 -0
- package/lib/components/eftposPay/serve.d.ts +16 -0
- package/lib/components/eftposPay/tyro/index.d.ts +9 -0
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/lib/components/list/ResponsiveWrapper.d.ts +16 -0
- package/lib/components/list/TestResponsiveWrapper.d.ts +8 -0
- package/lib/components/list/components/EmptyState/index.d.ts +2 -0
- package/lib/components/list/components/Pagination/index.d.ts +1 -0
- package/lib/components/list/examples/GroupedListExample.d.ts +3 -0
- package/lib/components/list/hooks/index.d.ts +5 -0
- package/lib/components/list/index.d.ts +10 -0
- package/lib/components/pay/toB/components/Cache/index.d.ts +0 -1
- package/lib/components/pay/toB/components/Card/index.d.ts +0 -1
- package/lib/components/pay/toB/components/CardGroup/index.d.ts +8 -0
- package/lib/components/pay/toB/components/ConfirmedPayment/index.d.ts +0 -1
- package/lib/components/pay/toB/components/Content/Footer.d.ts +0 -1
- package/lib/components/pay/toB/components/Content/utils.d.ts +16 -0
- package/lib/components/pay/toB/components/EFTPOS/index.d.ts +8 -0
- package/lib/components/pay/toB/components/MX51/index.d.ts +3 -0
- package/lib/components/pay/toB/components/index.d.ts +5 -0
- package/lib/components/pay/toB/index.d.ts +3 -0
- package/lib/components/pay/toB/locales.d.ts +54 -0
- package/lib/components/pay/toB/paymentMethods/index.d.ts +11 -0
- package/lib/components/pay/toB/store/context.d.ts +3 -0
- package/lib/components/pay/toB/store/hooks.d.ts +15 -0
- package/lib/components/pay/toB/store/index.d.ts +3 -0
- package/lib/components/pay/toB/store/provider.d.ts +4 -0
- package/lib/components/pay/toB/store/utils.d.ts +13 -0
- package/lib/components/pay/toB/types/index.d.ts +72 -0
- package/lib/components/pay/toB/types/storeTypes.d.ts +143 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/lib/components/pisellSelectCustomerModal/index.d.ts +0 -1
- package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -1
- package/lib/components/productSelect/components/productGroup/index.d.ts +39 -0
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
- package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/lib/components/systemSettings/registry/components/SectionList.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/index.d.ts +4 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +7 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -1
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +7 -3
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +10 -0
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +7 -0
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -1
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -1
- package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +6 -0
- package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +4 -0
- package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
- package/lib/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +6 -0
- package/lib/components/ticketBooking/serve.d.ts +288 -0
- package/lib/components/ticketBooking/utils/index.d.ts +101 -0
- package/lib/components/walletList/index.d.ts +0 -1
- package/lib/components/walletList/serve.d.ts +43 -0
- package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/lib/hooks/index.d.ts +10 -0
- package/lib/hooks/useModal.example.d.ts +12 -0
- package/lib/hooks/useModal.integration.example.d.ts +15 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +3 -0
- package/lib/plus/clinetSearch/Add/PhoneField/serve.d.ts +2 -0
- package/lib/plus/clinetSearch/index.d.ts +17 -0
- package/lib/plus/clinetSearch/locales.d.ts +105 -0
- package/lib/plus/clinetSearch/serve.d.ts +1 -0
- package/lib/plus/clinetSearch/types.d.ts +61 -0
- package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +0 -1
- package/lib/plus/noteModal/AddTempModal.d.ts +0 -1
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +21 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +8 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +9 -0
- package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
- package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -1
- package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/lib/plus/walletEditor/index.d.ts +3 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +0 -1
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
- package/lib/plus/walletPassGallery/index.d.ts +0 -1
- package/lib/plus/walletPassGallery/serve.d.ts +235 -0
- package/lib/plus/webPosLogin/WebPosLoginCpt.d.ts +9 -0
- package/lib/plus/webPosLogin/components/BrandPanel/index.d.ts +9 -0
- package/lib/plus/webPosLogin/components/LoginPanel/index.d.ts +21 -0
- package/lib/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
- package/lib/plus/webPosLogin/index.d.ts +12 -0
- package/lib/plus/webPosLogin/locales.d.ts +49 -0
- package/lib/plus/webPosLogin/service.d.ts +44 -0
- package/lib/plus/webPosLogin/types.d.ts +286 -0
- package/lib/pro/Login2.0/components/LegalTerms.d.ts +8 -0
- package/lib/pro/Login2.0/components/PhoneInput.d.ts +53 -0
- package/lib/pro/Login2.0/hooks/index.d.ts +2 -0
- package/lib/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
- package/lib/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
- package/lib/pro/Login2.0/shared/Header.d.ts +11 -0
- package/lib/pro/Login2.0/shared/types.d.ts +232 -0
- package/lib/pro/Login2.0/steps/index.d.ts +19 -0
- package/lib/pro/NumberKeyboardPopover/index.d.ts +36 -0
- package/lib/pro/comprehensiveSearch/components/index.d.ts +2 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
- package/lib/pro/multiDayTimeSelect/index.d.ts +3 -0
- package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
- package/lib/pro/pisellPaymentList/example.d.ts +19 -0
- package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -1
- package/lib/pro/pisellPriceKeyboardModal/index.d.ts +2 -0
- package/lib/pro/pisellPriceKeyboardPopover/PisellPriceKeyboardPopover.d.ts +5 -0
- package/lib/pro/pisellPriceKeyboardPopover/index.d.ts +2 -0
- package/lib/pro/pisellSimplePriceKeyboardPopover/index.d.ts +2 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +0 -1
- package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +13 -0
- package/lib/pro/priceKeyboard/components/paymentKeyboard/index.d.ts +0 -1
- package/lib/pro/priceKeyboard/hooks/rightItems.d.ts +0 -1
- package/lib/pro/priceKeyboard/index.d.ts +3 -0
- package/lib/pro/skuDetailModal/index.js +13 -2
- package/lib/pro/skuDetailModal/index.less +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { WalletPass, WalletBalance } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* 获取 wallet 列表
|
|
4
|
+
* @param params
|
|
5
|
+
* @returns
|
|
6
|
+
*/
|
|
7
|
+
export declare const getWalletList: () => Promise<WalletPass[]>;
|
|
8
|
+
/**
|
|
9
|
+
* 获取钱包余额
|
|
10
|
+
* @returns
|
|
11
|
+
*/
|
|
12
|
+
export declare const getWalletBalance: () => Promise<WalletBalance | null>;
|
|
13
|
+
/**
|
|
14
|
+
* 批量获取钱包余额信息
|
|
15
|
+
*/
|
|
16
|
+
export declare const batchGetWalletBalance: (walletIds: string[]) => Promise<Record<string, WalletBalance> | null>;
|
|
17
|
+
/**
|
|
18
|
+
* @title: 获取钱包店铺列表
|
|
19
|
+
* @description:
|
|
20
|
+
* @return {*}
|
|
21
|
+
* @Author: WangHan
|
|
22
|
+
* @Date: 2025-06-09 11:12
|
|
23
|
+
*/
|
|
24
|
+
export declare const getWalletShopList: (params: any) => Promise<any>;
|
|
25
|
+
/**
|
|
26
|
+
* @title: 获取持有人列表
|
|
27
|
+
* @description: 获取持有人列表
|
|
28
|
+
* @param params 查询参数
|
|
29
|
+
* @returns 持有人列表
|
|
30
|
+
*/
|
|
31
|
+
export declare const getHolderList: (params: any) => Promise<any>;
|
|
32
|
+
/**
|
|
33
|
+
* 更新持有人
|
|
34
|
+
* @param params 更新参数
|
|
35
|
+
* @returns 更新结果
|
|
36
|
+
*/
|
|
37
|
+
export declare const updateWalletHolder: (id: string, params: any) => Promise<any>;
|
|
38
|
+
/**
|
|
39
|
+
* 获取表单配置
|
|
40
|
+
* @param formId 表单ID
|
|
41
|
+
* @returns 表单配置
|
|
42
|
+
*/
|
|
43
|
+
export declare const getFormConfig: (formId: string) => Promise<any>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { default as useComponents } from './useComponents';
|
|
2
|
+
export { default as useEngineContext } from './useEngineContext';
|
|
3
|
+
export { default as useLocale } from './useLocale';
|
|
4
|
+
export { default as useLoginUser } from './useLoginUser';
|
|
5
|
+
export { default as useModal } from './useModal';
|
|
6
|
+
export { default as usePrefix } from './usePrefix';
|
|
7
|
+
export { default as useToast } from './useToast';
|
|
8
|
+
export { default as useTranslationOriginal } from './useTranslationOriginal';
|
|
9
|
+
export { default as useWindowSize } from './useWindowSize';
|
|
10
|
+
export type { UseModalOptions, UseModalReturn } from './useModal';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* useModal Hook 使用示例
|
|
4
|
+
*
|
|
5
|
+
* 这个文件展示了 useModal hook 的各种用法
|
|
6
|
+
*/
|
|
7
|
+
export declare const BasicExample: React.FC;
|
|
8
|
+
export declare const WithDefaultPropsExample: React.FC;
|
|
9
|
+
export declare const DynamicConfigExample: React.FC;
|
|
10
|
+
export declare const WithConfirmExample: React.FC;
|
|
11
|
+
export declare const ComplexContentExample: React.FC;
|
|
12
|
+
export declare const UseModalExamples: React.FC;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* 如何在现有组件中集成新的 useModal hook 的示例
|
|
4
|
+
*
|
|
5
|
+
* 这个示例展示了如何重构 SendPaymentLinkModal 来使用新的 useModal hook
|
|
6
|
+
*/
|
|
7
|
+
interface SendPaymentLinkModalProps {
|
|
8
|
+
balanceAmount?: string;
|
|
9
|
+
customerEmail?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const SendPaymentLinkModal: React.FC<SendPaymentLinkModalProps>;
|
|
12
|
+
export declare const ConfirmDeleteModal: React.FC;
|
|
13
|
+
export declare const InfoModal: React.FC;
|
|
14
|
+
export declare const IntegrationExamples: React.FC;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TableProps } from 'antd';
|
|
3
|
+
import type { ComprehensiveSearchProps } from '../../pro/comprehensiveSearch/types';
|
|
4
|
+
import type { ClientData } from './types';
|
|
5
|
+
import './index.less';
|
|
6
|
+
interface ClientSearchProps extends Omit<ComprehensiveSearchProps, 'resultDisplay' | 'onRowClick'> {
|
|
7
|
+
onRowClick?: (record: ClientData, index: number) => void;
|
|
8
|
+
onAddClient?: (record: ClientData, isChecked: boolean) => void;
|
|
9
|
+
resultProps?: TableProps<ClientData>;
|
|
10
|
+
hasMore?: boolean;
|
|
11
|
+
onLoadMore?: () => void;
|
|
12
|
+
}
|
|
13
|
+
export declare type ClientSearchRef = {
|
|
14
|
+
resetScrollPosition: () => void;
|
|
15
|
+
};
|
|
16
|
+
declare const ClientSearch: React.ForwardRefExoticComponent<ClientSearchProps & React.RefAttributes<ClientSearchRef>>;
|
|
17
|
+
export default ClientSearch;
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.text.leave-empty-for-walk-in': string;
|
|
4
|
+
'pisell2.text.date-year-text': string;
|
|
5
|
+
'pisell2.text.date-month-text': string;
|
|
6
|
+
'pisell2.text.date-day-text': string;
|
|
7
|
+
'pisell2.text.gender': string;
|
|
8
|
+
'pisell2.text.gender.male': string;
|
|
9
|
+
'pisell2.text.gender.female': string;
|
|
10
|
+
'pisell2.text.birthday': string;
|
|
11
|
+
'pisell2.text.phone': string;
|
|
12
|
+
'pisell2.text.email': string;
|
|
13
|
+
'pisell2.text.lastname': string;
|
|
14
|
+
'pisell2.text.firstname': string;
|
|
15
|
+
'pisell2.text.email-error-message': string;
|
|
16
|
+
'pisell2.text.notes': string;
|
|
17
|
+
'pisell2.text.save': string;
|
|
18
|
+
'pisell2.text.save-and-select': string;
|
|
19
|
+
'pisell2.text.no-results-found': string;
|
|
20
|
+
'pisell2.text.create-new-client': string;
|
|
21
|
+
'pisell2.text.result-found': string;
|
|
22
|
+
'pisell2.text.personnel-list': string;
|
|
23
|
+
'pisell2.text.load-more': string;
|
|
24
|
+
'pisell2.text.add-client.confirm': string;
|
|
25
|
+
'pisell2.text.search-customer-by-phone-number': string;
|
|
26
|
+
'pisell2.text.create': string;
|
|
27
|
+
'pisell2.text.loading': string;
|
|
28
|
+
'pisell2.text.no-more-data': string;
|
|
29
|
+
'pisell2.text.client-search.name': string;
|
|
30
|
+
'pisell2.text.client-search.register-time': string;
|
|
31
|
+
'pisell2.text.client-search.phone': string;
|
|
32
|
+
'pisell2.text.client-search.email': string;
|
|
33
|
+
'pisell2.text.client-search.membership': string;
|
|
34
|
+
'pisell2.text.client-search.contact-info': string;
|
|
35
|
+
};
|
|
36
|
+
'zh-CN': {
|
|
37
|
+
'pisell2.text.leave-empty-for-walk-in': string;
|
|
38
|
+
'pisell2.text.date-year-text': string;
|
|
39
|
+
'pisell2.text.date-month-text': string;
|
|
40
|
+
'pisell2.text.date-day-text': string;
|
|
41
|
+
'pisell2.text.gender': string;
|
|
42
|
+
'pisell2.text.gender.male': string;
|
|
43
|
+
'pisell2.text.gender.female': string;
|
|
44
|
+
'pisell2.text.birthday': string;
|
|
45
|
+
'pisell2.text.phone': string;
|
|
46
|
+
'pisell2.text.email': string;
|
|
47
|
+
'pisell2.text.lastname': string;
|
|
48
|
+
'pisell2.text.firstname': string;
|
|
49
|
+
'pisell2.text.email-error-message': string;
|
|
50
|
+
'pisell2.text.notes': string;
|
|
51
|
+
'pisell2.text.save': string;
|
|
52
|
+
'pisell2.text.save-and-select': string;
|
|
53
|
+
'pisell2.text.no-results-found': string;
|
|
54
|
+
'pisell2.text.create-new-client': string;
|
|
55
|
+
'pisell2.text.result-found': string;
|
|
56
|
+
'pisell2.text.personnel-list': string;
|
|
57
|
+
'pisell2.text.add-client.confirm': string;
|
|
58
|
+
'pisell2.text.load-more': string;
|
|
59
|
+
'pisell2.text.search-customer-by-phone-number': string;
|
|
60
|
+
'pisell2.text.create': string;
|
|
61
|
+
'pisell2.text.loading': string;
|
|
62
|
+
'pisell2.text.no-more-data': string;
|
|
63
|
+
'pisell2.text.client-search.name': string;
|
|
64
|
+
'pisell2.text.client-search.register-time': string;
|
|
65
|
+
'pisell2.text.client-search.phone': string;
|
|
66
|
+
'pisell2.text.client-search.email': string;
|
|
67
|
+
'pisell2.text.client-search.membership': string;
|
|
68
|
+
'pisell2.text.client-search.contact-info': string;
|
|
69
|
+
};
|
|
70
|
+
'zh-HK': {
|
|
71
|
+
'pisell2.text.leave-empty-for-walk-in': string;
|
|
72
|
+
'pisell2.text.date-year-text': string;
|
|
73
|
+
'pisell2.text.date-month-text': string;
|
|
74
|
+
'pisell2.text.date-day-text': string;
|
|
75
|
+
'pisell2.text.gender': string;
|
|
76
|
+
'pisell2.text.gender.male': string;
|
|
77
|
+
'pisell2.text.gender.female': string;
|
|
78
|
+
'pisell2.text.birthday': string;
|
|
79
|
+
'pisell2.text.phone': string;
|
|
80
|
+
'pisell2.text.email': string;
|
|
81
|
+
'pisell2.text.lastname': string;
|
|
82
|
+
'pisell2.text.firstname': string;
|
|
83
|
+
'pisell2.text.email-error-message': string;
|
|
84
|
+
'pisell2.text.notes': string;
|
|
85
|
+
'pisell2.text.save': string;
|
|
86
|
+
'pisell2.text.save-and-select': string;
|
|
87
|
+
'pisell2.text.no-results-found': string;
|
|
88
|
+
'pisell2.text.create-new-client': string;
|
|
89
|
+
'pisell2.text.result-found': string;
|
|
90
|
+
'pisell2.text.personnel-list': string;
|
|
91
|
+
'pisell2.text.add-client.confirm': string;
|
|
92
|
+
'pisell2.text.load-more': string;
|
|
93
|
+
'pisell2.text.search-customer-by-phone-number': string;
|
|
94
|
+
'pisell2.text.create': string;
|
|
95
|
+
'pisell2.text.loading': string;
|
|
96
|
+
'pisell2.text.no-more-data': string;
|
|
97
|
+
'pisell2.text.client-search.name': string;
|
|
98
|
+
'pisell2.text.client-search.register-time': string;
|
|
99
|
+
'pisell2.text.client-search.phone': string;
|
|
100
|
+
'pisell2.text.client-search.email': string;
|
|
101
|
+
'pisell2.text.client-search.membership': string;
|
|
102
|
+
'pisell2.text.client-search.contact-info': string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const addCustomer: (params: any) => Promise<any>;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface ClientData {
|
|
3
|
+
id: number;
|
|
4
|
+
display_name: string;
|
|
5
|
+
created_at: string;
|
|
6
|
+
phone: string;
|
|
7
|
+
email: string;
|
|
8
|
+
channel: string;
|
|
9
|
+
country_calling_code: string;
|
|
10
|
+
nickname: string;
|
|
11
|
+
shop_id: number;
|
|
12
|
+
updated_at: string;
|
|
13
|
+
contacts_info: {
|
|
14
|
+
value: {
|
|
15
|
+
first_name?: string;
|
|
16
|
+
last_name?: string;
|
|
17
|
+
phone?: {
|
|
18
|
+
phone?: string;
|
|
19
|
+
country_calling_code?: string;
|
|
20
|
+
country_code?: string;
|
|
21
|
+
};
|
|
22
|
+
email?: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export interface ClientSearchProps {
|
|
27
|
+
dataSource?: any;
|
|
28
|
+
isShowScanner?: boolean;
|
|
29
|
+
isShowCamera?: boolean;
|
|
30
|
+
isShowNFC?: boolean;
|
|
31
|
+
isShowNewButton?: boolean;
|
|
32
|
+
newButtonAlign?: 'left' | 'center' | 'right';
|
|
33
|
+
newButtonText?: string;
|
|
34
|
+
renderType?: 'modal' | 'drawer' | 'portal' | '';
|
|
35
|
+
containerProps?: Record<string, any>;
|
|
36
|
+
isShowSearch?: boolean;
|
|
37
|
+
isShowSearchCamera?: boolean;
|
|
38
|
+
searchIcon?: string;
|
|
39
|
+
placeholder?: string;
|
|
40
|
+
isShowSearchButton?: boolean;
|
|
41
|
+
resultSort?: 'asc' | 'desc' | 'custom';
|
|
42
|
+
sortBy?: string;
|
|
43
|
+
style?: React.CSSProperties;
|
|
44
|
+
onChange?: (value: string) => void;
|
|
45
|
+
onSearch?: (value: string) => void;
|
|
46
|
+
onAdd?: () => void;
|
|
47
|
+
onDataChange?: (data: any) => void;
|
|
48
|
+
onRowClick?: (record: ClientData, index: number) => void;
|
|
49
|
+
}
|
|
50
|
+
export interface ClientFormData {
|
|
51
|
+
display_name: string;
|
|
52
|
+
phone?: string;
|
|
53
|
+
email?: string;
|
|
54
|
+
nickname?: string;
|
|
55
|
+
}
|
|
56
|
+
export interface ClientSearchState {
|
|
57
|
+
modalVisible: boolean;
|
|
58
|
+
loading: boolean;
|
|
59
|
+
searchResults: ClientData[];
|
|
60
|
+
searchValue: string;
|
|
61
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import '../components/TabsStructure/TabsStructure.less';
|
|
3
|
+
import CategorySkeleton from './CategorySkeleton';
|
|
4
|
+
declare type TabItem = {
|
|
5
|
+
key: string;
|
|
6
|
+
label: React.ReactNode;
|
|
7
|
+
icon?: React.ReactNode;
|
|
8
|
+
};
|
|
9
|
+
interface IProps {
|
|
10
|
+
className?: string;
|
|
11
|
+
items: TabItem[];
|
|
12
|
+
activeKey: string;
|
|
13
|
+
onChange: (key: string) => void;
|
|
14
|
+
loading?: boolean;
|
|
15
|
+
skeleton?: React.ReactNode;
|
|
16
|
+
style?: React.CSSProperties;
|
|
17
|
+
id?: string;
|
|
18
|
+
}
|
|
19
|
+
declare const CategoryTabs: React.ForwardRefExoticComponent<IProps & React.RefAttributes<unknown>>;
|
|
20
|
+
export default CategoryTabs;
|
|
21
|
+
export { CategorySkeleton };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const useDynamicComponents: () => {
|
|
3
|
+
renderComponent: (key: string, props: any) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
4
|
+
renderComponents: (props: any) => any;
|
|
5
|
+
componentMap: Record<string, React.ComponentType<any>>;
|
|
6
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const SkuCard: {
|
|
3
|
+
(props: any): JSX.Element | null;
|
|
4
|
+
A1: (props: any) => JSX.Element;
|
|
5
|
+
A2: (props: any) => JSX.Element;
|
|
6
|
+
A5: (props: any) => JSX.Element;
|
|
7
|
+
A9: (props: any) => JSX.Element;
|
|
8
|
+
};
|
|
9
|
+
export default SkuCard;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import ProductCardSkeleton from './ProductCardSkeleton';
|
|
3
|
+
import './index.less';
|
|
4
|
+
declare type BoolConfigVal = 0 | 1;
|
|
5
|
+
export interface ProductCardConfig {
|
|
6
|
+
isProductCover?: BoolConfigVal;
|
|
7
|
+
imgWidth?: string;
|
|
8
|
+
imgHeight?: string;
|
|
9
|
+
radius?: number;
|
|
10
|
+
isTitle?: BoolConfigVal;
|
|
11
|
+
isSubtitle?: BoolConfigVal;
|
|
12
|
+
showSpec?: boolean;
|
|
13
|
+
isTag?: BoolConfigVal;
|
|
14
|
+
isPrice?: BoolConfigVal;
|
|
15
|
+
isOriginPrice?: BoolConfigVal;
|
|
16
|
+
showZeroPrice?: boolean;
|
|
17
|
+
showMarketingTag?: boolean;
|
|
18
|
+
showRemark?: boolean;
|
|
19
|
+
isStock?: BoolConfigVal;
|
|
20
|
+
}
|
|
21
|
+
export interface ProductCardProps {
|
|
22
|
+
item: any;
|
|
23
|
+
index: number;
|
|
24
|
+
context?: {
|
|
25
|
+
onItemIntersectionIn: (item: any) => void;
|
|
26
|
+
onItemIntersectionOut: (item: any) => void;
|
|
27
|
+
};
|
|
28
|
+
className?: string;
|
|
29
|
+
onSelectProduct?: (item: any) => void;
|
|
30
|
+
currentProductId?: number;
|
|
31
|
+
onSelect?: (item: any) => void;
|
|
32
|
+
onSelectCover?: (item: any) => void;
|
|
33
|
+
onSelectInfo?: (item: any) => void;
|
|
34
|
+
isSelected?: boolean;
|
|
35
|
+
decorateConfig?: ProductCardConfig;
|
|
36
|
+
}
|
|
37
|
+
export declare const ProductCard: React.MemoExoticComponent<({ item, index, context, onSelect, onSelectCover, onSelectInfo, isSelected, className, decorateConfig, }: ProductCardProps) => JSX.Element>;
|
|
38
|
+
export declare const DefaultItemContent: React.MemoExoticComponent<(props: {
|
|
39
|
+
item: any;
|
|
40
|
+
index: number;
|
|
41
|
+
context?: {
|
|
42
|
+
onItemIntersectionIn: (item: any) => void;
|
|
43
|
+
onItemIntersectionOut: (item: any) => void;
|
|
44
|
+
} | undefined;
|
|
45
|
+
}) => JSX.Element>;
|
|
46
|
+
export default ProductCard;
|
|
47
|
+
export { ProductCardSkeleton };
|
|
@@ -3,6 +3,6 @@ export interface ImageUploadProps {
|
|
|
3
3
|
value?: string;
|
|
4
4
|
onChange?: (val: string) => void;
|
|
5
5
|
}
|
|
6
|
-
export declare const getBaseTime: (size: number) =>
|
|
6
|
+
export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
|
|
7
7
|
declare const ImageUpload: React.FC<ImageUploadProps>;
|
|
8
8
|
export default ImageUpload;
|