@pisell/private-materials 6.7.5 → 6.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +5 -5
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +9 -9
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +9 -9
- package/es/businessModel/SalesModel/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Content/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +1 -0
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
- package/es/components/appointmentBooking/deposit/index.d.ts +1 -0
- package/es/components/appointmentBooking/index.d.ts +1 -0
- package/es/components/booking/addons/index.js +1 -1
- package/es/components/booking/components/footer/amount.d.ts +37 -0
- package/es/components/booking/components/footer/amount.js +48 -34
- package/es/components/booking/components/footer/index.d.ts +1 -0
- package/es/components/booking/components/footer/utils.js +38 -38
- package/es/components/booking/components/voucher/index.d.ts +1 -0
- package/es/components/booking/components/voucher/index.js +3 -1
- package/es/components/booking/deposit/index.d.ts +1 -0
- package/es/components/booking/forms/footer.d.ts +1 -0
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/es/components/booking/hooks/useClearCart.d.ts +1 -0
- package/es/components/booking/hooks/useQuotation.d.ts +1 -0
- package/es/components/booking/hooks/useQuotation.js +4 -1
- package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/es/components/booking/info/dateRange/index.d.ts +1 -0
- package/es/components/booking/info/header/index.d.ts +1 -0
- package/es/components/booking/info/index.d.ts +1 -0
- package/es/components/booking/info/service/Lists.d.ts +1 -0
- package/es/components/booking/info/service/addService/index.d.ts +1 -0
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
- package/es/components/booking/info/service/serviceItem/index.d.ts +1 -0
- package/es/components/booking/info/service2/utils.d.ts +251 -0
- package/es/components/booking/info2/service/addService/index.d.ts +12 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/editNormalService/index.js +6 -0
- package/es/components/booking/info2/service/editService/index.js +16 -6
- package/es/components/booking/info2/service/editService/utils.d.ts +15 -0
- package/es/components/booking/info2/service/editService/utils.js +66 -0
- package/es/components/booking/info2/service/serviceItem/index.d.ts +1 -0
- package/es/components/booking/utils.d.ts +174 -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 +1 -0
- package/es/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +1 -0
- package/es/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +1 -0
- package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/es/components/checkout/locales.d.ts +513 -0
- package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
- package/es/components/eftpos/surcharge/index.d.ts +1 -0
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/index.d.ts +1 -0
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/es/components/eftposPay/linkly/index.d.ts +1 -0
- package/es/components/eftposPay/payo/config.d.ts +13 -0
- package/es/components/eftposPay/payo/payment.d.ts +66 -0
- package/es/components/eftposPay/store/index.d.ts +4 -4
- package/es/components/eftposPay/tyro/index.d.ts +9 -0
- package/es/components/eftposPay/utils/log/index.d.ts +110 -0
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
- package/es/components/eventBooking/index.d.ts +1 -0
- package/es/components/index.d.ts +24 -0
- package/es/components/list/List.js +56 -40
- package/es/components/list/hooks/useListState.d.ts +5 -3
- package/es/components/list/hooks/useListState.js +17 -2
- package/es/components/list/styles/header.less +3 -3
- package/es/components/list/utils/index.d.ts +13 -1
- package/es/components/list/utils/index.js +43 -1
- package/es/components/pay/toB/components/Cache/index.d.ts +1 -0
- package/es/components/pay/toB/components/Card/index.d.ts +1 -0
- package/es/components/pay/toB/components/ConfirmedPayment/index.d.ts +1 -0
- package/es/components/pay/toB/components/Content/Footer.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +1 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/es/components/pay/toC/locales.d.ts +301 -0
- package/es/components/pay/toC/status.d.ts +13 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/index.d.ts +1 -0
- package/es/components/productExtension/index.d.ts +1 -0
- package/es/components/productSelect/components/TabProduct/index.d.ts +1 -0
- package/es/components/ruleSetting/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -0
- package/es/components/shoppingCart/components/Cart/index.d.ts +1 -0
- package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -0
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
- package/es/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
- 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/systemSettings/registry/locales.d.ts +272 -0
- package/es/components/systemSettings/registry/services.d.ts +77 -0
- package/es/components/systemSettings/registry/types.d.ts +126 -0
- package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
- package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
- package/es/components/taxSelect/index.d.ts +1 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +1 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +33 -2
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.js +139 -36
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +1 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
- package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -0
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
- package/es/components/ticketBooking/components/timeBar/index.d.ts +1 -0
- package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
- package/es/components/ticketBooking/index.d.ts +1 -0
- package/es/components/ticketBooking/locales.d.ts +198 -0
- package/es/components/ticketBooking/utils/index.d.ts +93 -0
- package/es/components/wallet/Detail/locales.d.ts +153 -0
- package/es/components/wallet/hooks/useWalletCard.d.ts +1 -0
- package/es/components/wallet/serve.d.ts +150 -0
- package/es/components/wallet/utils.d.ts +48 -0
- package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
- package/es/plus/clientCard/locales.d.ts +18 -0
- package/es/plus/clinetSearch/index.d.ts +17 -0
- package/es/plus/clinetSearch/locales.d.ts +105 -0
- package/es/plus/clinetSearch/types.d.ts +61 -0
- package/es/plus/contactInfoModal/ContactInfoContent.d.ts +1 -0
- package/es/plus/noteModal/AddTempModal.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +1 -0
- package/es/plus/saasCreateOrganization/index.d.ts +1 -0
- package/es/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
- package/es/plus/walletPassGallery/components/passList/index.d.ts +1 -0
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -0
- package/es/plus/walletPassGallery/index.d.ts +1 -0
- package/es/plus/walletPassGallery/serve.d.ts +221 -0
- package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
- package/es/pro/comprehensiveSearch/locales.d.ts +15 -0
- package/es/pro/pisellPhoneKeyboard/index.d.ts +1 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +1 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +13 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
- package/es/pro/priceKeyboard/components/paymentKeyboard/index.d.ts +1 -0
- package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +18 -0
- package/es/pro/priceKeyboard/hooks/rightItems.d.ts +1 -0
- package/lib/businessModel/SalesModel/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +1 -0
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
- package/lib/components/appointmentBooking/deposit/index.d.ts +1 -0
- package/lib/components/appointmentBooking/index.d.ts +1 -0
- package/lib/components/booking/components/footer/amount.d.ts +37 -0
- package/lib/components/booking/components/footer/amount.js +29 -15
- package/lib/components/booking/components/footer/index.d.ts +1 -0
- package/lib/components/booking/components/footer/utils.js +8 -8
- package/lib/components/booking/components/voucher/index.d.ts +1 -0
- package/lib/components/booking/components/voucher/index.js +4 -2
- package/lib/components/booking/deposit/index.d.ts +1 -0
- package/lib/components/booking/forms/footer.d.ts +1 -0
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/lib/components/booking/hooks/useClearCart.d.ts +1 -0
- package/lib/components/booking/hooks/useQuotation.d.ts +1 -0
- package/lib/components/booking/hooks/useQuotation.js +2 -1
- package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/lib/components/booking/info/dateRange/index.d.ts +1 -0
- package/lib/components/booking/info/header/index.d.ts +1 -0
- package/lib/components/booking/info/index.d.ts +1 -0
- package/lib/components/booking/info/service/Lists.d.ts +1 -0
- package/lib/components/booking/info/service/addService/index.d.ts +1 -0
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
- package/lib/components/booking/info/service/serviceItem/index.d.ts +1 -0
- package/lib/components/booking/info/service2/utils.d.ts +251 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +12 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/editNormalService/index.js +6 -0
- package/lib/components/booking/info2/service/editService/index.js +12 -3
- package/lib/components/booking/info2/service/editService/utils.d.ts +15 -0
- package/lib/components/booking/info2/service/editService/utils.js +40 -3
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +1 -0
- package/lib/components/booking/utils.d.ts +174 -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 +1 -0
- package/lib/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +1 -0
- package/lib/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +1 -0
- package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/lib/components/checkout/locales.d.ts +513 -0
- package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
- package/lib/components/eftpos/surcharge/index.d.ts +1 -0
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/index.d.ts +1 -0
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/lib/components/eftposPay/linkly/index.d.ts +1 -0
- package/lib/components/eftposPay/payo/config.d.ts +13 -0
- package/lib/components/eftposPay/payo/payment.d.ts +66 -0
- package/lib/components/eftposPay/store/index.d.ts +4 -4
- package/lib/components/eftposPay/tyro/index.d.ts +9 -0
- package/lib/components/eftposPay/utils/log/index.d.ts +110 -0
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
- package/lib/components/eventBooking/index.d.ts +1 -0
- package/lib/components/index.d.ts +24 -0
- package/lib/components/list/List.js +34 -16
- package/lib/components/list/hooks/useListState.d.ts +5 -3
- package/lib/components/list/hooks/useListState.js +14 -1
- package/lib/components/list/styles/header.less +3 -3
- package/lib/components/list/utils/index.d.ts +13 -1
- package/lib/components/list/utils/index.js +27 -0
- package/lib/components/pay/toB/components/Cache/index.d.ts +1 -0
- package/lib/components/pay/toB/components/Card/index.d.ts +1 -0
- package/lib/components/pay/toB/components/ConfirmedPayment/index.d.ts +1 -0
- package/lib/components/pay/toB/components/Content/Footer.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +1 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/lib/components/pay/toC/locales.d.ts +301 -0
- package/lib/components/pay/toC/status.d.ts +13 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/index.d.ts +1 -0
- package/lib/components/productExtension/index.d.ts +1 -0
- package/lib/components/productSelect/components/TabProduct/index.d.ts +1 -0
- package/lib/components/ruleSetting/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -0
- package/lib/components/shoppingCart/components/Cart/index.d.ts +1 -0
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -0
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
- package/lib/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
- 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/systemSettings/registry/locales.d.ts +272 -0
- package/lib/components/systemSettings/registry/services.d.ts +77 -0
- package/lib/components/systemSettings/registry/types.d.ts +126 -0
- package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
- package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
- package/lib/components/taxSelect/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +1 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +33 -2
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.js +84 -24
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +1 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +1 -0
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
- package/lib/components/ticketBooking/index.d.ts +1 -0
- package/lib/components/ticketBooking/locales.d.ts +198 -0
- package/lib/components/ticketBooking/utils/index.d.ts +93 -0
- package/lib/components/wallet/Detail/locales.d.ts +153 -0
- package/lib/components/wallet/hooks/useWalletCard.d.ts +1 -0
- package/lib/components/wallet/serve.d.ts +150 -0
- package/lib/components/wallet/utils.d.ts +48 -0
- package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
- package/lib/plus/clientCard/locales.d.ts +18 -0
- package/lib/plus/clinetSearch/index.d.ts +17 -0
- package/lib/plus/clinetSearch/locales.d.ts +105 -0
- package/lib/plus/clinetSearch/types.d.ts +61 -0
- package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +1 -0
- package/lib/plus/noteModal/AddTempModal.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +1 -0
- package/lib/plus/saasCreateOrganization/index.d.ts +1 -0
- package/lib/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +1 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -0
- package/lib/plus/walletPassGallery/index.d.ts +1 -0
- package/lib/plus/walletPassGallery/serve.d.ts +221 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
- package/lib/pro/comprehensiveSearch/locales.d.ts +15 -0
- package/lib/pro/pisellPhoneKeyboard/index.d.ts +1 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +1 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +13 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
- package/lib/pro/priceKeyboard/components/paymentKeyboard/index.d.ts +1 -0
- package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +18 -0
- package/lib/pro/priceKeyboard/hooks/rightItems.d.ts +1 -0
- package/package.json +2 -2
|
@@ -2,5 +2,5 @@ import React from 'react';
|
|
|
2
2
|
import { ProductCardConfig } from '../../type';
|
|
3
3
|
declare const Stock: ({ props }: {
|
|
4
4
|
props: ProductCardConfig;
|
|
5
|
-
}) => string | number | true |
|
|
5
|
+
}) => string | number | true | React.ReactFragment | JSX.Element | null;
|
|
6
6
|
export default Stock;
|
|
@@ -2,5 +2,5 @@ import React from 'react';
|
|
|
2
2
|
import { ProductCardConfig } from '../../type';
|
|
3
3
|
declare const Time: ({ props }: {
|
|
4
4
|
props: ProductCardConfig;
|
|
5
|
-
}) => string | number | true |
|
|
5
|
+
}) => string | number | true | React.ReactFragment | JSX.Element | null;
|
|
6
6
|
export default Time;
|
|
@@ -0,0 +1,221 @@
|
|
|
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
|
+
available: 0 | 1;
|
|
20
|
+
with?: string[];
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* 钱包列表项属性接口
|
|
24
|
+
*/
|
|
25
|
+
export interface IWalletListItemProps {
|
|
26
|
+
id?: number | string;
|
|
27
|
+
encoded?: string;
|
|
28
|
+
code?: string;
|
|
29
|
+
limit_status?: string;
|
|
30
|
+
customer_id?: number;
|
|
31
|
+
generate_method?: 'not_settable' | 'before_order' | 'after_order';
|
|
32
|
+
created_at?: string;
|
|
33
|
+
product_id?: number;
|
|
34
|
+
sales_status?: 1 | 0;
|
|
35
|
+
tag?: string;
|
|
36
|
+
status?: string;
|
|
37
|
+
redeemed_at?: string;
|
|
38
|
+
collection_time?: string;
|
|
39
|
+
order_id?: number;
|
|
40
|
+
par_value?: string;
|
|
41
|
+
write_status?: number;
|
|
42
|
+
expire_date?: string;
|
|
43
|
+
balance?: string;
|
|
44
|
+
extension_id?: string;
|
|
45
|
+
product_title?: string;
|
|
46
|
+
product_cover?: string;
|
|
47
|
+
product?: IProductProps;
|
|
48
|
+
unified_available_status?: 0 | 1;
|
|
49
|
+
unified_error_code?: number;
|
|
50
|
+
shop: IShop;
|
|
51
|
+
unified_messages: any;
|
|
52
|
+
machinecode_config?: {
|
|
53
|
+
hide_recharge?: number;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* 商店信息接口
|
|
58
|
+
*/
|
|
59
|
+
export interface IShop {
|
|
60
|
+
name: string;
|
|
61
|
+
id: number;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* 商品属性接口
|
|
65
|
+
*/
|
|
66
|
+
export interface IProductProps {
|
|
67
|
+
id?: number;
|
|
68
|
+
title?: string;
|
|
69
|
+
description?: string;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* API响应接口
|
|
73
|
+
*/
|
|
74
|
+
export interface ApiResponse<T> {
|
|
75
|
+
data: T;
|
|
76
|
+
code?: number;
|
|
77
|
+
message?: string;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* 错误处理函数类型
|
|
81
|
+
*/
|
|
82
|
+
export declare type ErrorCallback = () => void;
|
|
83
|
+
/**
|
|
84
|
+
* 获取钱包列表
|
|
85
|
+
* @param params 查询参数
|
|
86
|
+
* @returns Promise<{list: IWalletListItemProps[], count: number}> 钱包列表和总数
|
|
87
|
+
* @throws 请求失败时抛出错误
|
|
88
|
+
*/
|
|
89
|
+
export declare const getWalletList: (params?: IWalletListParmsProps) => Promise<{
|
|
90
|
+
list: IWalletListItemProps[];
|
|
91
|
+
count: number;
|
|
92
|
+
}>;
|
|
93
|
+
/**
|
|
94
|
+
* 通过code绑定客户
|
|
95
|
+
* @param params 请求参数,包含code
|
|
96
|
+
* @param errCallback 错误回调
|
|
97
|
+
* @returns Promise<any> 绑定结果
|
|
98
|
+
*/
|
|
99
|
+
export declare const bindCodeToCustomer: (params: {
|
|
100
|
+
code: string;
|
|
101
|
+
}) => Promise<any>;
|
|
102
|
+
/**
|
|
103
|
+
* 用户根据code查询待绑定识别码列表
|
|
104
|
+
* @param params 请求参数,包含code和tag
|
|
105
|
+
* @param errCallback 错误回调函数
|
|
106
|
+
* @returns Promise<IWalletListItemProps[] | null> 未绑定的钱包卡列表
|
|
107
|
+
*/
|
|
108
|
+
export declare const getUnbindList: (params: {
|
|
109
|
+
code: string;
|
|
110
|
+
tag?: string;
|
|
111
|
+
}) => Promise<IWalletListItemProps[] | null>;
|
|
112
|
+
/**
|
|
113
|
+
* 下单请求参数接口
|
|
114
|
+
*/
|
|
115
|
+
export interface IOrderParams {
|
|
116
|
+
voucher_id: string;
|
|
117
|
+
product_id: string;
|
|
118
|
+
product_variant_id: string;
|
|
119
|
+
quantity: number;
|
|
120
|
+
type: string;
|
|
121
|
+
platform: string;
|
|
122
|
+
currency_code: {
|
|
123
|
+
currency_code: string;
|
|
124
|
+
currency_symbol: string;
|
|
125
|
+
currency_format: string;
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* 下单
|
|
130
|
+
* @param params 下单参数
|
|
131
|
+
* @returns Promise<any> 下单结果
|
|
132
|
+
* @throws 请求失败时抛出错误
|
|
133
|
+
*/
|
|
134
|
+
export declare const goOrder: (params: IOrderParams) => Promise<any>;
|
|
135
|
+
/**
|
|
136
|
+
* 设置请求对象
|
|
137
|
+
* @param req 请求对象
|
|
138
|
+
*/
|
|
139
|
+
export declare const setRequest: (req: any) => void;
|
|
140
|
+
interface IAssetListProps {
|
|
141
|
+
skip?: string;
|
|
142
|
+
num?: string;
|
|
143
|
+
card_id?: string;
|
|
144
|
+
sourceType?: string;
|
|
145
|
+
business_object?: string;
|
|
146
|
+
tag?: string;
|
|
147
|
+
}
|
|
148
|
+
export interface IAssetItem {
|
|
149
|
+
id?: string;
|
|
150
|
+
tag?: 'gift_card' | 'product_voucher' | 'point_card' | 'product_discount_card';
|
|
151
|
+
shop_id?: string;
|
|
152
|
+
transaction_id?: string;
|
|
153
|
+
title?: string;
|
|
154
|
+
created_at?: string;
|
|
155
|
+
amount?: string;
|
|
156
|
+
balance?: string;
|
|
157
|
+
currency_symbol?: string;
|
|
158
|
+
action?: 'recharge' | 'order_expend' | 'order_refund' | 'expire';
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* 资产明细列表
|
|
162
|
+
* @param params 接口请求参数
|
|
163
|
+
* @returns 资产明细列表
|
|
164
|
+
*/
|
|
165
|
+
export declare const getAssetList: (params: IAssetListProps) => Promise<{
|
|
166
|
+
list: IAssetItem[];
|
|
167
|
+
}>;
|
|
168
|
+
/**
|
|
169
|
+
* 获取资产详情
|
|
170
|
+
* @param params 接口请求参数
|
|
171
|
+
* @returns 资产详情
|
|
172
|
+
*/
|
|
173
|
+
export declare const getDetailApi: (params: {
|
|
174
|
+
id: string;
|
|
175
|
+
order_behavior_count_customer_id: string;
|
|
176
|
+
apiPrefix: string;
|
|
177
|
+
}) => Promise<IDetailResponse>;
|
|
178
|
+
/**
|
|
179
|
+
* 详情响应数据结构,供组件消费
|
|
180
|
+
*/
|
|
181
|
+
export interface IDetailResponse {
|
|
182
|
+
detailId?: string;
|
|
183
|
+
productId?: string;
|
|
184
|
+
gift_option?: Array<{
|
|
185
|
+
id: string;
|
|
186
|
+
name: string;
|
|
187
|
+
gift_price: number;
|
|
188
|
+
price: number;
|
|
189
|
+
variant_id?: string;
|
|
190
|
+
}>;
|
|
191
|
+
[key: string]: any;
|
|
192
|
+
}
|
|
193
|
+
interface OrderParams {
|
|
194
|
+
voucher_id: string;
|
|
195
|
+
product_id: string;
|
|
196
|
+
product_variant_id: string;
|
|
197
|
+
quantity: number;
|
|
198
|
+
type: string;
|
|
199
|
+
platform: string;
|
|
200
|
+
currency_code: {
|
|
201
|
+
currency_code: string;
|
|
202
|
+
currency_symbol: string;
|
|
203
|
+
currency_format: string;
|
|
204
|
+
};
|
|
205
|
+
}
|
|
206
|
+
interface OrderResponse {
|
|
207
|
+
order_id: string;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* 下单接口
|
|
211
|
+
* @param params - 订单参数
|
|
212
|
+
* @returns 订单响应数据
|
|
213
|
+
*/
|
|
214
|
+
export declare const orderRechargeProduct: (params: OrderParams) => Promise<OrderResponse>;
|
|
215
|
+
/**
|
|
216
|
+
* @desc: 获取钱包信息
|
|
217
|
+
* @author: Arthur
|
|
218
|
+
* @date: 2025-11-03 15:30
|
|
219
|
+
*/
|
|
220
|
+
export declare const getWalletDetail: (id: string | number) => Promise<any>;
|
|
221
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.comprehensive-search.placeholder': string;
|
|
4
|
+
'pisell2.text.search': string;
|
|
5
|
+
};
|
|
6
|
+
'zh-CN': {
|
|
7
|
+
'pisell2.comprehensive-search.placeholder': string;
|
|
8
|
+
'pisell2.text.search': string;
|
|
9
|
+
};
|
|
10
|
+
'zh-HK': {
|
|
11
|
+
'pisell2.comprehensive-search.placeholder': string;
|
|
12
|
+
'pisell2.text.search': string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.text.new-client': string;
|
|
4
|
+
'pisell2.comprehensive-search.empty': string;
|
|
5
|
+
};
|
|
6
|
+
'zh-CN': {
|
|
7
|
+
'pisell2.text.new-client': string;
|
|
8
|
+
'pisell2.comprehensive-search.empty': string;
|
|
9
|
+
};
|
|
10
|
+
'zh-HK': {
|
|
11
|
+
'pisell2.text.new-client': string;
|
|
12
|
+
'pisell2.comprehensive-search.empty': string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CashKeyboardBaseProps } from './types';
|
|
3
|
+
export interface CashKeyboardProps extends CashKeyboardBaseProps {
|
|
4
|
+
containerProps?: {
|
|
5
|
+
renderType: 'modal' | 'popover';
|
|
6
|
+
open: boolean;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
};
|
|
9
|
+
variant?: 'intact' | 'simple';
|
|
10
|
+
shortcutsSize?: 'default' | 'large';
|
|
11
|
+
}
|
|
12
|
+
declare const CashKeyboard: (props: CashKeyboardProps) => JSX.Element;
|
|
13
|
+
export default CashKeyboard;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface RightItemsStyleProps {
|
|
3
|
+
buttonBackgroundColor?: string;
|
|
4
|
+
textColor?: string;
|
|
5
|
+
resetButtonBackgroundColor?: string;
|
|
6
|
+
resetButtonTextColor?: string;
|
|
7
|
+
isDoneButtonFollowTheme?: boolean;
|
|
8
|
+
doneButtonBackgroundColor?: string;
|
|
9
|
+
doneButtonTextColor?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare type ItemValue = string | number;
|
|
12
|
+
export interface Item {
|
|
13
|
+
value: ItemValue;
|
|
14
|
+
label: React.ReactNode;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
type: 'text' | 'primary';
|
|
17
|
+
style?: React.CSSProperties;
|
|
18
|
+
size?: number;
|
|
19
|
+
}
|
|
20
|
+
export interface KeyboardProps {
|
|
21
|
+
className?: string;
|
|
22
|
+
style?: React.CSSProperties;
|
|
23
|
+
onChange?: (value?: ItemValue) => void;
|
|
24
|
+
items?: Item[];
|
|
25
|
+
rightItems?: Item[];
|
|
26
|
+
keydown?: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface TitleAreaConfig {
|
|
29
|
+
visible?: boolean;
|
|
30
|
+
title?: {
|
|
31
|
+
visible?: boolean;
|
|
32
|
+
text?: string;
|
|
33
|
+
fontSize?: string | number;
|
|
34
|
+
color?: string;
|
|
35
|
+
fontWeight?: string | number;
|
|
36
|
+
};
|
|
37
|
+
subtitle?: {
|
|
38
|
+
visible?: boolean;
|
|
39
|
+
text?: string;
|
|
40
|
+
fontSize?: string | number;
|
|
41
|
+
color?: string;
|
|
42
|
+
fontWeight?: string | number;
|
|
43
|
+
};
|
|
44
|
+
alignment?: 'left' | 'right' | 'center' | 'space-between';
|
|
45
|
+
spacing?: string | number;
|
|
46
|
+
}
|
|
47
|
+
export interface DisplayFieldConfig {
|
|
48
|
+
cashReceived?: {
|
|
49
|
+
visible?: boolean;
|
|
50
|
+
};
|
|
51
|
+
balanceDue?: {
|
|
52
|
+
visible?: boolean;
|
|
53
|
+
};
|
|
54
|
+
changeDue?: {
|
|
55
|
+
visible?: boolean;
|
|
56
|
+
};
|
|
57
|
+
gridRatio?: number[];
|
|
58
|
+
}
|
|
59
|
+
export interface CashKeyboardBaseProps {
|
|
60
|
+
amountSymbol?: string;
|
|
61
|
+
value?: string;
|
|
62
|
+
/** 默认值,非受控模式 */
|
|
63
|
+
defaultValue?: string;
|
|
64
|
+
/** 原始值,多用于重置, 当前对应 Balance Due */
|
|
65
|
+
originalValue?: string;
|
|
66
|
+
placeholder?: string;
|
|
67
|
+
max?: number;
|
|
68
|
+
min?: number;
|
|
69
|
+
disabled?: boolean;
|
|
70
|
+
doneText?: string;
|
|
71
|
+
resetText?: string;
|
|
72
|
+
presets?: any;
|
|
73
|
+
hiddenChangeDue?: boolean;
|
|
74
|
+
onChange?: (val: string) => void;
|
|
75
|
+
onEnter?: (val: string) => void;
|
|
76
|
+
onReset?: () => void;
|
|
77
|
+
onPay?: () => void;
|
|
78
|
+
rightItemsStyle?: RightItemsStyleProps;
|
|
79
|
+
titleArea?: TitleAreaConfig;
|
|
80
|
+
displayField?: DisplayFieldConfig;
|
|
81
|
+
keyboardProps?: KeyboardProps;
|
|
82
|
+
style?: React.CSSProperties;
|
|
83
|
+
selectType?: 'light' | 'dark';
|
|
84
|
+
backgroundColor?: string;
|
|
85
|
+
containerBackgroundColor?: string;
|
|
86
|
+
buttonBackgroundColor?: string;
|
|
87
|
+
textColor?: string;
|
|
88
|
+
resetButtonBackgroundColor?: string;
|
|
89
|
+
resetButtonTextColor?: string;
|
|
90
|
+
isDoneButtonFollowTheme?: boolean;
|
|
91
|
+
doneButtonBackgroundColor?: string;
|
|
92
|
+
doneButtonTextColor?: string;
|
|
93
|
+
keyboardBackgroundColor?: string;
|
|
94
|
+
keyboardButtonBackgroundColor?: string;
|
|
95
|
+
keyboardButtonTextColor?: string;
|
|
96
|
+
keyboardButtonHoverColor?: string;
|
|
97
|
+
shortcutsSize?: 'default' | 'large';
|
|
98
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
export declare type ShortcutsItem = {
|
|
4
|
+
label: string;
|
|
5
|
+
value: number | string;
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
onClick?: (item: ShortcutsItem, _next: () => void) => void;
|
|
8
|
+
render?: (item: ShortcutsItem) => React.ReactNode;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
};
|
|
11
|
+
export interface ShortcutsProps {
|
|
12
|
+
presets?: ShortcutsItem[];
|
|
13
|
+
onChange?: (val: string) => void;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
size?: 'default' | 'large';
|
|
16
|
+
}
|
|
17
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<ShortcutsProps & React.RefAttributes<HTMLDivElement>>>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare const getRelationDetailsTotal: (relation_details: any) => number;
|
|
2
|
+
export declare const getIsPriceIncludeTax: (state: any) => any;
|
|
3
|
+
/**
|
|
4
|
+
* 总金额
|
|
5
|
+
* @param state
|
|
6
|
+
* @param options isEdit: 预约信息是否发生变动
|
|
7
|
+
* @returns
|
|
8
|
+
*/
|
|
9
|
+
export declare const getSumTotal: (state: any, options: {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
isEdit: boolean;
|
|
12
|
+
ScheduleModule: any;
|
|
13
|
+
}) => {
|
|
14
|
+
productAmount: number;
|
|
15
|
+
duration: string;
|
|
16
|
+
tax: number;
|
|
17
|
+
taxInfo: {
|
|
18
|
+
title: any;
|
|
19
|
+
rate: any;
|
|
20
|
+
is_price_include_tax: any;
|
|
21
|
+
};
|
|
22
|
+
shopDiscount: number;
|
|
23
|
+
surcharge: any;
|
|
24
|
+
otherAmount: any;
|
|
25
|
+
sumTotalAmount: number;
|
|
26
|
+
paidAmount: any;
|
|
27
|
+
notPaidAmount: number;
|
|
28
|
+
paySurchargeFee: number;
|
|
29
|
+
expectAmount: number;
|
|
30
|
+
actualPaidAmount: any;
|
|
31
|
+
orderPaidAmount: any;
|
|
32
|
+
totalRefundAmount: number;
|
|
33
|
+
dueAmount: number;
|
|
34
|
+
roundingAmount: number;
|
|
35
|
+
originExpectAmount: number;
|
|
36
|
+
originExpectAmountWithoutDiscount: number;
|
|
37
|
+
};
|