@pisell/private-materials 6.5.2 → 6.5.3
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 +9 -9
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +7 -7
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +7 -7
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
- 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/Header/index.d.ts +1 -0
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
- package/es/components/booking/addons/model.d.ts +1 -10
- package/es/components/booking/components/actionButtons/index.js +2 -2
- package/es/components/booking/components/customiseItemModal/index.js +2 -2
- package/es/components/booking/components/footer/index.js +48 -42
- package/es/components/booking/components/voucher/index.js +18 -4
- package/es/components/booking/deposit/index.d.ts +1 -0
- package/es/components/booking/forms/footer.d.ts +0 -1
- package/es/components/booking/forms/model.d.ts +1 -10
- 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/info/addServiceVariant/index.d.ts +1 -0
- package/es/components/booking/info/dateRange/index.d.ts +0 -1
- package/es/components/booking/info/header/index.d.ts +1 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/es/components/booking/info/index.d.ts +1 -0
- package/es/components/booking/info/model.d.ts +1 -10
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
- package/es/components/booking/info2/cartClientCard/index.js +33 -20
- package/es/components/booking/info2/cartClientCard/utils.d.ts +2 -2
- package/es/components/booking/info2/service/addService/index.d.ts +1 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
- package/es/components/booking/model.d.ts +1 -9
- package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/es/components/booking/notes/addNote/index.d.ts +1 -0
- package/es/components/booking/notes/model.d.ts +1 -10
- package/es/components/booking/payments/model.d.ts +1 -10
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/checkout/PaymentModal.js +719 -432
- package/es/components/checkout/PaymentPlugin.d.ts +1 -0
- package/es/components/checkout/components/AdditionalModule/index.d.ts +1 -1
- package/es/components/checkout/components/AdditionalModule/index.js +80 -49
- package/es/components/checkout/components/AdditionalModule/index.less +33 -34
- package/es/components/checkout/components/AdditionalModule/locales.d.ts +3 -0
- package/es/components/checkout/components/AdditionalModule/locales.js +7 -4
- package/es/components/checkout/components/AmountSummary/index.d.ts +2 -1
- package/es/components/checkout/components/AmountSummary/index.js +69 -31
- package/es/components/checkout/components/AmountSummary/index.less +27 -9
- package/es/components/checkout/components/CashPaymentModule/index.less +0 -2
- package/es/components/checkout/components/PaymentDetailModal/index.js +55 -10
- package/es/components/checkout/components/PaymentOptionsModule/index.d.ts +2 -1
- package/es/components/checkout/components/PaymentOptionsModule/index.js +40 -25
- package/es/components/checkout/components/PaymentOptionsModule/index.less +11 -6
- package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +42 -9
- package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +512 -82
- package/es/components/checkout/components/PaymentResultToast/index.d.ts +2 -1
- package/es/components/checkout/components/PaymentResultToast/index.js +90 -35
- package/es/components/checkout/components/PaymentResultToast/index.less +445 -77
- package/es/components/checkout/components/PaymentResultToast/types.d.ts +3 -3
- package/es/components/checkout/components/PaymentResultToast/utils.d.ts +26 -0
- package/es/components/checkout/components/PaymentResultToast/utils.js +81 -2
- package/es/components/checkout/components/SearchAndClientModule/index.js +17 -16
- package/es/components/checkout/components/SearchAndClientModule/index.less +29 -8
- package/es/components/checkout/components/WalletPassModule/components/WalletPassHeader/index.js +3 -1
- package/es/components/checkout/components/WalletPassModule/index.less +3 -3
- package/es/components/checkout/hooks/useWalletPass.js +1 -1
- package/es/components/checkout/index.d.ts +1 -1
- package/es/components/checkout/index.js +1 -1
- package/es/components/checkout/index.less +56 -38
- package/es/components/checkout/locales.d.ts +6 -0
- package/es/components/checkout/locales.js +9 -3
- package/es/components/checkout/payment-modal-utils.js +5 -5
- package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +3 -3
- package/es/components/checkout/utils/PaymentResultToastUtils.js +111 -72
- package/es/components/eftpos/surcharge/index.d.ts +1 -0
- package/es/components/eftposPay/app.d.ts +1 -0
- package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
- package/es/components/eftposPay/component/fail/index.d.ts +0 -1
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/pay.d.ts +0 -1
- package/es/components/eftposPay/store/index.d.ts +4 -4
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/es/components/pay/toB/components/CardGroup/index.d.ts +1 -0
- package/es/components/pay/toB/components/Content/Header.d.ts +1 -0
- package/es/components/pay/toB/components/EFTPOS/index.js +91 -58
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/es/components/pay/toC/model.d.ts +1 -9
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
- package/es/components/schedules/model.d.ts +1 -9
- 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/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
- package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/es/components/shoppingCart/index.d.ts +0 -1
- package/es/components/taxSelect/index.d.ts +1 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +4 -3
- package/es/components/ticketBooking/components/bookingDataPanel/index.js +1 -1
- package/es/components/ticketBooking/components/menuBar/index.js +1 -1
- package/es/components/ticketBooking/components/ticketBooking/index.js +2 -2
- package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.js +1 -1
- package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.js +1 -1
- package/es/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.js +4 -2
- package/es/components/ticketBooking/utils/index.d.ts +1 -1
- package/es/components/wallet/Detail/model.d.ts +1 -13
- package/es/components/wallet/DiscountCard/model.d.ts +1 -14
- package/es/components/wallet/PointCard/model.d.ts +1 -13
- package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
- package/es/components/wallet/Voucher/model.d.ts +1 -13
- package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
- package/es/components/wallet/model.d.ts +1 -9
- package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/es/plus/clientCard/index.js +3 -2
- package/es/plus/clientCard/index.less +3 -32
- package/es/plus/clientName/index.d.ts +1 -0
- package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
- package/es/plus/saasCreateOrganization/index.d.ts +1 -0
- package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
- package/es/pro/comprehensiveSearch/components/searchSection/index.js +9 -12
- package/es/pro/comprehensiveSearch/components/searchSection/index.less +22 -19
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
- 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/Header/index.d.ts +1 -0
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
- package/lib/components/booking/addons/model.d.ts +1 -10
- package/lib/components/booking/components/actionButtons/index.js +2 -1
- package/lib/components/booking/components/customiseItemModal/index.js +2 -2
- package/lib/components/booking/components/footer/index.js +3 -0
- package/lib/components/booking/components/voucher/index.js +15 -3
- package/lib/components/booking/deposit/index.d.ts +1 -0
- package/lib/components/booking/forms/footer.d.ts +0 -1
- package/lib/components/booking/forms/model.d.ts +1 -10
- 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/info/addServiceVariant/index.d.ts +1 -0
- package/lib/components/booking/info/dateRange/index.d.ts +0 -1
- package/lib/components/booking/info/header/index.d.ts +1 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/lib/components/booking/info/index.d.ts +1 -0
- package/lib/components/booking/info/model.d.ts +1 -10
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
- package/lib/components/booking/info2/cartClientCard/index.js +16 -5
- package/lib/components/booking/info2/cartClientCard/utils.d.ts +2 -2
- package/lib/components/booking/info2/service/addService/index.d.ts +1 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
- package/lib/components/booking/model.d.ts +1 -9
- package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/lib/components/booking/notes/addNote/index.d.ts +1 -0
- package/lib/components/booking/notes/model.d.ts +1 -10
- package/lib/components/booking/payments/model.d.ts +1 -10
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/checkout/PaymentModal.js +241 -109
- package/lib/components/checkout/PaymentPlugin.d.ts +1 -0
- package/lib/components/checkout/components/AdditionalModule/index.d.ts +1 -1
- package/lib/components/checkout/components/AdditionalModule/index.js +98 -34
- package/lib/components/checkout/components/AdditionalModule/index.less +33 -34
- package/lib/components/checkout/components/AdditionalModule/locales.d.ts +3 -0
- package/lib/components/checkout/components/AdditionalModule/locales.js +7 -4
- package/lib/components/checkout/components/AmountSummary/index.d.ts +2 -1
- package/lib/components/checkout/components/AmountSummary/index.js +103 -47
- package/lib/components/checkout/components/AmountSummary/index.less +27 -9
- package/lib/components/checkout/components/CashPaymentModule/index.less +0 -2
- package/lib/components/checkout/components/PaymentDetailModal/index.js +56 -11
- package/lib/components/checkout/components/PaymentOptionsModule/index.d.ts +2 -1
- package/lib/components/checkout/components/PaymentOptionsModule/index.js +11 -8
- package/lib/components/checkout/components/PaymentOptionsModule/index.less +11 -6
- package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +42 -9
- package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +279 -73
- package/lib/components/checkout/components/PaymentResultToast/index.d.ts +2 -1
- package/lib/components/checkout/components/PaymentResultToast/index.js +69 -22
- package/lib/components/checkout/components/PaymentResultToast/index.less +445 -77
- package/lib/components/checkout/components/PaymentResultToast/types.d.ts +3 -3
- package/lib/components/checkout/components/PaymentResultToast/utils.d.ts +26 -0
- package/lib/components/checkout/components/PaymentResultToast/utils.js +58 -4
- package/lib/components/checkout/components/SearchAndClientModule/index.js +17 -15
- package/lib/components/checkout/components/SearchAndClientModule/index.less +29 -8
- package/lib/components/checkout/components/WalletPassModule/components/WalletPassHeader/index.js +12 -2
- package/lib/components/checkout/components/WalletPassModule/index.less +3 -3
- package/lib/components/checkout/hooks/useWalletPass.js +2 -2
- package/lib/components/checkout/index.d.ts +1 -1
- package/lib/components/checkout/index.js +2 -0
- package/lib/components/checkout/index.less +56 -38
- package/lib/components/checkout/locales.d.ts +6 -0
- package/lib/components/checkout/locales.js +9 -3
- package/lib/components/checkout/payment-modal-utils.js +5 -5
- package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +3 -3
- package/lib/components/checkout/utils/PaymentResultToastUtils.js +26 -18
- package/lib/components/eftpos/surcharge/index.d.ts +1 -0
- package/lib/components/eftposPay/app.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/pay.d.ts +0 -1
- package/lib/components/eftposPay/store/index.d.ts +4 -4
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/lib/components/pay/toB/components/CardGroup/index.d.ts +1 -0
- package/lib/components/pay/toB/components/Content/Header.d.ts +1 -0
- package/lib/components/pay/toB/components/EFTPOS/index.js +25 -10
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/lib/components/pay/toC/model.d.ts +1 -9
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
- package/lib/components/schedules/model.d.ts +1 -9
- 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/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/lib/components/shoppingCart/index.d.ts +0 -1
- package/lib/components/taxSelect/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +7 -6
- package/lib/components/ticketBooking/components/bookingDataPanel/index.js +2 -2
- package/lib/components/ticketBooking/components/menuBar/index.js +1 -1
- package/lib/components/ticketBooking/components/ticketBooking/index.js +1 -1
- package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.js +2 -12
- package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.js +2 -12
- package/lib/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.js +5 -13
- package/lib/components/ticketBooking/utils/index.d.ts +1 -1
- package/lib/components/wallet/Detail/model.d.ts +1 -13
- package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
- package/lib/components/wallet/PointCard/model.d.ts +1 -13
- package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
- package/lib/components/wallet/Voucher/model.d.ts +1 -13
- package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
- package/lib/components/wallet/model.d.ts +1 -9
- package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/lib/plus/clientCard/index.js +5 -4
- package/lib/plus/clientCard/index.less +3 -32
- package/lib/plus/clientName/index.d.ts +1 -0
- package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
- package/lib/plus/saasCreateOrganization/index.d.ts +1 -0
- package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
- package/lib/pro/comprehensiveSearch/components/searchSection/index.js +6 -18
- package/lib/pro/comprehensiveSearch/components/searchSection/index.less +22 -19
- package/package.json +1 -1
@@ -1,39 +1,254 @@
|
|
1
|
-
@primary-color: rgba(
|
1
|
+
@primary-color: rgba(52, 64, 84, 0.8); // 毛玻璃效果的背景色
|
2
2
|
@success-color: #47CD89; // 与图片一致的成功文字颜色
|
3
|
-
@progress-color: #079455; //
|
4
|
-
@warning-color: #F79009; //
|
3
|
+
@progress-color: #079455; // 与DOM样式一致的进度条颜色
|
4
|
+
@warning-color: #F79009; // 与DOM样式一致的部分支付颜色
|
5
5
|
@error-color: #F97066; // 失败状态的红色
|
6
6
|
@paid-color: #47CD89; // 已支付金额的绿色(与成功颜色一致)
|
7
7
|
@text-color-inverse: #ffffff;
|
8
|
-
@border-radius-base:
|
8
|
+
@border-radius-base: 16px; // 更新为rounded-2xl的圆角
|
9
|
+
|
10
|
+
|
11
|
+
// Toast Modal Wrap 特定样式
|
12
|
+
.toast-modal-wrap {
|
13
|
+
position: static !important;
|
14
|
+
display: block !important;
|
15
|
+
overflow: visible !important;
|
16
|
+
padding: 0 !important;
|
17
|
+
margin: 0 !important;
|
18
|
+
pointer-events: none !important; // 让Toast Modal Wrap点击穿透
|
19
|
+
|
20
|
+
.ant-modal {
|
21
|
+
position: static !important;
|
22
|
+
top: auto !important;
|
23
|
+
left: auto !important;
|
24
|
+
right: auto !important;
|
25
|
+
bottom: auto !important;
|
26
|
+
transform: none !important;
|
27
|
+
margin: 0 !important;
|
28
|
+
padding: 0 !important;
|
29
|
+
width: 100% !important;
|
30
|
+
max-width: none !important;
|
31
|
+
pointer-events: none !important; // 让Modal点击穿透
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
// Toast容器样式 - 用于多实例定位
|
36
|
+
[data-toast-id] {
|
37
|
+
z-index: 1000;
|
38
|
+
position: fixed !important;
|
39
|
+
left: 96px !important;
|
40
|
+
/* 注意:不设置bottom的!important,让JavaScript可以动态更新 */
|
41
|
+
/* 移除强制的z-index设置,让Toast使用默认层级 */
|
42
|
+
pointer-events: none !important; // 让Toast容器本身点击穿透
|
43
|
+
/* 优化的动画过渡效果 */
|
44
|
+
transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
|
45
|
+
width: auto !important;
|
46
|
+
height: auto !important;
|
47
|
+
|
48
|
+
/* 新Toast进入动画 */
|
49
|
+
&.toast-entering {
|
50
|
+
opacity: 0;
|
51
|
+
transform: translateY(100%) scale(0.95);
|
52
|
+
animation: toast-slide-up 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
|
53
|
+
}
|
54
|
+
|
55
|
+
/* Toast位移动画 */
|
56
|
+
&.toast-moving {
|
57
|
+
transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
|
58
|
+
}
|
59
|
+
|
60
|
+
/* Toast退出动画 */
|
61
|
+
&.toast-exiting {
|
62
|
+
opacity: 0;
|
63
|
+
transform: translateX(-100%) scale(0.9);
|
64
|
+
transition: all 0.3s cubic-bezier(0.4, 0, 0.6, 1) !important;
|
65
|
+
}
|
66
|
+
|
67
|
+
// 全局Ant Design Modal样式覆盖
|
68
|
+
.ant-modal-content {
|
69
|
+
background: transparent !important;
|
70
|
+
box-shadow: none !important;
|
71
|
+
border-radius: @border-radius-base !important;
|
72
|
+
}
|
73
|
+
|
74
|
+
.ant-modal-body {
|
75
|
+
padding: 0 !important;
|
76
|
+
background: transparent !important;
|
77
|
+
}
|
78
|
+
|
79
|
+
.ant-modal-header {
|
80
|
+
display: none !important;
|
81
|
+
}
|
82
|
+
|
83
|
+
// 强制覆盖Ant Design Modal的默认定位
|
84
|
+
.ant-modal-wrap {
|
85
|
+
position: static !important;
|
86
|
+
pointer-events: none !important; // 让Modal wrap点击穿透
|
87
|
+
}
|
88
|
+
|
89
|
+
.ant-modal {
|
90
|
+
position: static !important;
|
91
|
+
top: auto !important;
|
92
|
+
left: auto !important;
|
93
|
+
transform: none !important;
|
94
|
+
margin: 0 !important;
|
95
|
+
padding: 0 !important;
|
96
|
+
pointer-events: none !important; // 让Modal本身点击穿透
|
97
|
+
}
|
98
|
+
|
99
|
+
|
100
|
+
// 覆盖所有可能的Ant Design Modal定位
|
101
|
+
.ant-modal-wrap {
|
102
|
+
position: static !important;
|
103
|
+
display: block !important;
|
104
|
+
overflow: visible !important;
|
105
|
+
pointer-events: none !important; // 让Modal wrap点击穿透
|
106
|
+
}
|
107
|
+
|
108
|
+
.ant-modal {
|
109
|
+
position: static !important;
|
110
|
+
top: auto !important;
|
111
|
+
left: auto !important;
|
112
|
+
right: auto !important;
|
113
|
+
bottom: auto !important;
|
114
|
+
transform: none !important;
|
115
|
+
margin: 0 !important;
|
116
|
+
padding: 0 !important;
|
117
|
+
width: 100% !important;
|
118
|
+
max-width: none !important;
|
119
|
+
pointer-events: none !important; // 让Modal点击穿透
|
120
|
+
}
|
121
|
+
|
122
|
+
// Toast进入动画
|
123
|
+
&.toast-enter {
|
124
|
+
opacity: 0;
|
125
|
+
transform: translateX(-100%) scale(0.95);
|
126
|
+
}
|
127
|
+
|
128
|
+
&.toast-enter-active {
|
129
|
+
opacity: 1;
|
130
|
+
transform: translateX(0) scale(1);
|
131
|
+
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
132
|
+
}
|
133
|
+
|
134
|
+
// Toast退出动画
|
135
|
+
&.toast-exit {
|
136
|
+
opacity: 1;
|
137
|
+
transform: translateX(0) scale(1);
|
138
|
+
}
|
139
|
+
|
140
|
+
&.toast-exit-active {
|
141
|
+
opacity: 0;
|
142
|
+
transform: translateX(-100%) scale(0.95);
|
143
|
+
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
144
|
+
}
|
145
|
+
}
|
9
146
|
|
10
147
|
|
11
148
|
|
12
149
|
.payment-result-toast {
|
13
|
-
width:
|
150
|
+
width: auto !important;
|
151
|
+
|
152
|
+
// 全局Ant Design Modal样式覆盖
|
153
|
+
.ant-modal-content {
|
154
|
+
background: transparent !important;
|
155
|
+
box-shadow: none !important;
|
156
|
+
border-radius: @border-radius-base !important;
|
157
|
+
}
|
158
|
+
|
159
|
+
.ant-modal-body {
|
160
|
+
padding: 0 !important;
|
161
|
+
background: transparent !important;
|
162
|
+
}
|
163
|
+
|
164
|
+
.ant-modal-header {
|
165
|
+
display: none !important;
|
166
|
+
}
|
167
|
+
|
168
|
+
// 强制覆盖Ant Design Modal的默认定位
|
169
|
+
.ant-modal-wrap {
|
170
|
+
position: static !important;
|
171
|
+
pointer-events: none !important; // 让Modal wrap点击穿透
|
172
|
+
}
|
173
|
+
|
174
|
+
.ant-modal {
|
175
|
+
position: static !important;
|
176
|
+
top: auto !important;
|
177
|
+
left: auto !important;
|
178
|
+
transform: none !important;
|
179
|
+
margin: 0 !important;
|
180
|
+
padding: 0 !important;
|
181
|
+
pointer-events: none !important; // 让Modal本身点击穿透
|
182
|
+
}
|
183
|
+
|
184
|
+
|
185
|
+
// 确保Modal不会被Ant Design默认定位影响
|
186
|
+
.ant-modal-wrap {
|
187
|
+
position: static !important;
|
188
|
+
display: block !important;
|
189
|
+
overflow: visible !important;
|
190
|
+
pointer-events: none !important; // 让Modal wrap点击穿透
|
191
|
+
}
|
192
|
+
|
193
|
+
.ant-modal {
|
194
|
+
position: static !important;
|
195
|
+
top: auto !important;
|
196
|
+
left: auto !important;
|
197
|
+
transform: none !important;
|
198
|
+
margin: 0 !important;
|
199
|
+
padding: 0 !important;
|
200
|
+
width: 100% !important;
|
201
|
+
max-width: none !important;
|
202
|
+
pointer-events: none !important; // 让Modal点击穿透
|
203
|
+
}
|
204
|
+
|
205
|
+
.ant-modal-close-x {
|
206
|
+
color: @text-color-inverse !important;
|
207
|
+
}
|
208
|
+
|
209
|
+
.ant-dropdown-trigger {
|
210
|
+
padding: 8px 12px !important;
|
211
|
+
font-size: 22px !important;
|
212
|
+
background: transparent !important;
|
213
|
+
color: @text-color-inverse !important;
|
214
|
+
box-sizing: content-box !important;
|
215
|
+
}
|
14
216
|
|
15
217
|
.pisell-lowcode-space-item {
|
218
|
+
pointer-events: auto !important; // 确保按钮组项目可以接收点击事件
|
219
|
+
|
16
220
|
.pisell-lowcode-dropdown-trigger {
|
17
|
-
width:
|
18
|
-
height:
|
19
|
-
box-sizing:
|
221
|
+
width: 56px !important; // 调整为xl尺寸
|
222
|
+
height: 56px !important;
|
223
|
+
box-sizing: border-box !important;
|
224
|
+
pointer-events: auto !important; // 确保下拉按钮可以接收点击事件
|
225
|
+
|
20
226
|
.payment-result-toast-action-icon {
|
21
|
-
font-size:
|
227
|
+
font-size: 20px;
|
22
228
|
}
|
23
229
|
}
|
24
230
|
}
|
25
231
|
|
26
|
-
.pisell-lowcode-modal-content
|
27
|
-
|
232
|
+
.pisell-lowcode-modal-content,
|
233
|
+
.ant-modal-content {
|
234
|
+
background: transparent !important; // 让content区域处理背景
|
28
235
|
border-radius: @border-radius-base !important;
|
29
|
-
padding: 0 !important;
|
30
|
-
overflow:
|
31
|
-
width:
|
32
|
-
|
33
|
-
|
236
|
+
padding: 0 !important; // 让content区域处理padding
|
237
|
+
overflow: visible !important;
|
238
|
+
width: auto !important;
|
239
|
+
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important; // 添加阴影效果
|
240
|
+
border: none !important; // 移除边框
|
241
|
+
pointer-events: none !important; // 让Modal content点击穿透
|
242
|
+
|
243
|
+
.pisell-lowcode-modal-header,
|
244
|
+
.ant-modal-header {
|
34
245
|
display: none !important;
|
35
246
|
}
|
36
247
|
|
248
|
+
// 添加关闭按钮样式
|
249
|
+
.pisell-lowcode-modal-close,
|
250
|
+
|
251
|
+
|
37
252
|
.pisell-lowcode-dropdown-trigger {
|
38
253
|
flex: 0 0 auto !important; // 更多按钮保持固定宽度,不跟随等比例分配
|
39
254
|
width: 60px !important; // 明确设置更多按钮的固定宽度
|
@@ -52,6 +267,7 @@
|
|
52
267
|
padding: 8px !important;
|
53
268
|
white-space: nowrap !important; // 防止文字换行
|
54
269
|
height: 44px !important; // 与其他按钮保持一致的高度
|
270
|
+
pointer-events: auto !important; // 确保下拉按钮可以接收点击事件
|
55
271
|
|
56
272
|
.anticon-more {
|
57
273
|
font-size: 44px;
|
@@ -59,60 +275,134 @@
|
|
59
275
|
}
|
60
276
|
}
|
61
277
|
|
62
|
-
.pisell-lowcode-modal-body
|
278
|
+
.pisell-lowcode-modal-body,
|
279
|
+
.ant-modal-body {
|
63
280
|
padding: 0;
|
64
|
-
background:
|
281
|
+
background: transparent !important; // 让内容容器的背景透明,使用content的背景
|
282
|
+
pointer-events: none !important; // 让Modal body点击穿透
|
65
283
|
}
|
66
284
|
|
67
285
|
&-content {
|
68
|
-
padding:
|
286
|
+
padding: 16px !important; // 添加内边距
|
69
287
|
text-align: center;
|
70
|
-
min-height:
|
288
|
+
min-height: auto;
|
71
289
|
display: flex;
|
72
290
|
flex-direction: column;
|
73
|
-
justify-content:
|
291
|
+
justify-content: center;
|
74
292
|
align-items: center;
|
75
293
|
position: relative;
|
294
|
+
gap: 16px; // 添加元素间隙
|
295
|
+
background: @primary-color !important; // 毛玻璃背景
|
296
|
+
border-radius: @border-radius-base !important;
|
297
|
+
backdrop-filter: blur(12px) !important;
|
298
|
+
-webkit-backdrop-filter: blur(12px) !important;
|
299
|
+
overflow: hidden !important;
|
300
|
+
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
|
301
|
+
pointer-events: none !important; // 内容区域点击穿透
|
302
|
+
|
303
|
+
// Toast内容进入动画
|
304
|
+
/* 初始状态:隐藏在底部 */
|
305
|
+
opacity: 0;
|
306
|
+
transform: translateY(100%) scale(0.95);
|
307
|
+
animation: toast-slide-up 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
|
76
308
|
|
77
309
|
.pisell-lowcode-flex-vertical {
|
78
310
|
margin-bottom: 0 !important;
|
311
|
+
pointer-events: auto !important; // 按钮组容器可点击
|
312
|
+
}
|
313
|
+
|
314
|
+
// 确保所有子元素默认穿透,只有按钮类元素可点击
|
315
|
+
>* {
|
316
|
+
pointer-events: none !important;
|
317
|
+
}
|
318
|
+
|
319
|
+
// 按钮相关元素可点击
|
320
|
+
button,
|
321
|
+
a,
|
322
|
+
[role="button"],
|
323
|
+
.ant-btn,
|
324
|
+
.pisell-lowcode-button,
|
325
|
+
.pisell-lowcode-space,
|
326
|
+
.pisell-lowcode-space-item,
|
327
|
+
.pisell-lowcode-dropdown-trigger {
|
328
|
+
pointer-events: auto !important;
|
329
|
+
}
|
330
|
+
}
|
331
|
+
|
332
|
+
// Modal关闭按钮样式 - 与标题内容垂直居中对齐
|
333
|
+
.ant-modal-close {
|
334
|
+
position: absolute !important;
|
335
|
+
top: 20px !important; // 大约与标题内容的中心位置对齐
|
336
|
+
right: 16px !important;
|
337
|
+
z-index: 1 !important; // 使用相对z-index,确保在内容之上即可
|
338
|
+
pointer-events: auto !important; // 确保关闭按钮可以接收点击事件
|
339
|
+
|
340
|
+
.ant-modal-close-x {
|
341
|
+
font-size: 40px !important;
|
342
|
+
width: 40px !important;
|
343
|
+
height: 40px !important;
|
344
|
+
background: transparent !important;
|
345
|
+
display: flex !important;
|
346
|
+
align-items: center !important;
|
347
|
+
justify-content: center !important;
|
348
|
+
color: @text-color-inverse !important;
|
349
|
+
line-height: 1 !important;
|
350
|
+
pointer-events: auto !important; // 确保关闭按钮内部元素可以接收点击事件
|
351
|
+
|
352
|
+
.anticon {
|
353
|
+
font-size: 40px !important;
|
354
|
+
pointer-events: auto !important; // 确保图标可以接收点击事件
|
355
|
+
}
|
356
|
+
|
357
|
+
&:hover {
|
358
|
+
background: rgba(255, 255, 255, 0.1) !important;
|
359
|
+
transform: scale(1.05) !important;
|
360
|
+
transition: all 0.2s ease !important;
|
361
|
+
}
|
79
362
|
}
|
80
363
|
}
|
81
364
|
|
82
365
|
// 成功状态标题
|
83
366
|
&-success-title {
|
84
367
|
color: @success-color;
|
85
|
-
font-size:
|
86
|
-
font-weight: 600;
|
87
|
-
|
88
|
-
|
368
|
+
font-size: 30px !important; // text-3xl对应30px
|
369
|
+
font-weight: 600 !important; // font-semibold
|
370
|
+
margin: 0 !important;
|
371
|
+
font-family: 'Inter', sans-serif !important;
|
89
372
|
}
|
90
373
|
|
91
374
|
// 失败状态标题
|
92
375
|
&-failed-title {
|
93
376
|
color: @error-color;
|
94
|
-
font-size:
|
95
|
-
font-weight: 600;
|
96
|
-
|
97
|
-
|
377
|
+
font-size: 30px !important;
|
378
|
+
font-weight: 600 !important;
|
379
|
+
margin: 0 !important;
|
380
|
+
font-family: 'Inter', sans-serif !important;
|
98
381
|
}
|
99
382
|
|
100
383
|
// Wallet Pass失败状态标题
|
101
384
|
&-wallet-pass-failed-title {
|
102
385
|
color: @error-color;
|
103
|
-
font-size:
|
104
|
-
font-weight: 600;
|
105
|
-
|
106
|
-
|
386
|
+
font-size: 30px !important;
|
387
|
+
font-weight: 600 !important;
|
388
|
+
margin: 0 !important;
|
389
|
+
font-family: 'Inter', sans-serif !important;
|
390
|
+
}
|
391
|
+
|
392
|
+
// 部分支付状态标题
|
393
|
+
&-partially-paid-title {
|
394
|
+
color: @warning-color !important; // amber-500颜色
|
395
|
+
font-size: 30px !important; // text-3xl
|
396
|
+
font-weight: 600 !important; // font-semibold
|
397
|
+
margin: 0 !important;
|
398
|
+
font-family: 'Inter', sans-serif !important;
|
107
399
|
}
|
108
400
|
|
109
401
|
// 副标题样式
|
110
402
|
&-subtitle {
|
111
403
|
&-text {
|
112
|
-
font-size:
|
404
|
+
font-size: 30px; // 与图片一致
|
113
405
|
font-weight: 600; // 与图片一致
|
114
|
-
line-height: 44px; // 与图片一致
|
115
|
-
margin: 16px 0 0;
|
116
406
|
text-shadow: none; // 移除阴影
|
117
407
|
|
118
408
|
// 已支付金额样式 (成功-无找零)
|
@@ -132,7 +422,7 @@
|
|
132
422
|
|
133
423
|
// 部分支付金额样式
|
134
424
|
&.partially-paid {
|
135
|
-
color: @warning-color;
|
425
|
+
color: @warning-color !important;
|
136
426
|
}
|
137
427
|
}
|
138
428
|
}
|
@@ -142,6 +432,7 @@
|
|
142
432
|
bottom: 0;
|
143
433
|
left: 0;
|
144
434
|
right: 0;
|
435
|
+
width: 100%; // 使用100%宽度
|
145
436
|
|
146
437
|
&-text {
|
147
438
|
display: none; // 图片中没有显示倒计时文字
|
@@ -149,15 +440,18 @@
|
|
149
440
|
|
150
441
|
&-progress {
|
151
442
|
width: 100%;
|
152
|
-
height:
|
443
|
+
height: 6px; // h-1.5对应6px
|
153
444
|
background: transparent;
|
154
|
-
position:
|
445
|
+
position: absolute;
|
446
|
+
bottom: 0;
|
447
|
+
left: 0;
|
448
|
+
right: 0;
|
155
449
|
border-radius: 0; // 确保无圆角
|
156
450
|
overflow: hidden;
|
157
451
|
|
158
452
|
&-bar {
|
159
453
|
height: 100%;
|
160
|
-
background: @progress-color; //
|
454
|
+
background: @progress-color !important; // emerald-600颜色
|
161
455
|
position: relative;
|
162
456
|
border-radius: 0; // 确保无圆角
|
163
457
|
width: 100%; // 初始宽度为100%
|
@@ -174,33 +468,38 @@
|
|
174
468
|
&-actions {
|
175
469
|
display: flex;
|
176
470
|
gap: 16px;
|
177
|
-
margin-top:
|
471
|
+
margin-top: 0; // 去除上边距
|
178
472
|
width: 100%;
|
179
|
-
max-width:
|
473
|
+
max-width: none; // 去除最大宽度限制
|
180
474
|
justify-content: center; // 按钮居中对齐
|
475
|
+
align-items: center;
|
476
|
+
pointer-events: auto !important; // 按钮区域可以接收点击事件
|
181
477
|
}
|
182
478
|
|
183
479
|
&-action-button {
|
184
|
-
flex: 1; //
|
185
|
-
border: 1px solid
|
186
|
-
background: transparent;
|
187
|
-
color: @text-color-inverse;
|
188
|
-
border-radius:
|
189
|
-
font-size:
|
190
|
-
font-weight: 600;
|
191
|
-
display: flex;
|
192
|
-
align-items: center;
|
193
|
-
justify-content: center;
|
194
|
-
gap:
|
195
|
-
cursor: pointer;
|
196
|
-
transition: all 0.3s ease;
|
197
|
-
padding:
|
198
|
-
white-space: nowrap; // 防止文字换行
|
199
|
-
height:
|
200
|
-
box-sizing:
|
480
|
+
flex: 1; // Print Receipt按钮使用flex: 1
|
481
|
+
border: 1px solid rgba(209, 213, 219, 1) !important; // outline-gray-300
|
482
|
+
background: transparent !important;
|
483
|
+
color: @text-color-inverse !important;
|
484
|
+
border-radius: 8px !important; // rounded-lg
|
485
|
+
font-size: 16px !important; // text-base
|
486
|
+
font-weight: 600 !important; // font-semibold
|
487
|
+
display: flex !important;
|
488
|
+
align-items: center !important;
|
489
|
+
justify-content: center !important;
|
490
|
+
gap: 8px !important; // gap-2
|
491
|
+
cursor: pointer !important;
|
492
|
+
transition: all 0.3s ease !important;
|
493
|
+
padding: 12px 20px !important; // px-5 py-3
|
494
|
+
white-space: nowrap !important; // 防止文字换行
|
495
|
+
height: auto !important;
|
496
|
+
box-sizing: border-box !important;
|
497
|
+
font-family: 'Inter', sans-serif !important;
|
498
|
+
box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05) !important;
|
499
|
+
pointer-events: auto !important; // 确保按钮可以接收点击事件
|
201
500
|
|
202
501
|
.payment-result-toast-action-icon {
|
203
|
-
font-size:
|
502
|
+
font-size: 20px;
|
204
503
|
}
|
205
504
|
|
206
505
|
// 重试按钮特殊样式
|
@@ -243,28 +542,31 @@
|
|
243
542
|
}
|
244
543
|
|
245
544
|
&-more-button {
|
246
|
-
flex: 0 0 auto !important; //
|
247
|
-
width:
|
248
|
-
height:
|
249
|
-
border: 1px solid
|
250
|
-
background: transparent;
|
251
|
-
color: @text-color-inverse;
|
252
|
-
border-radius:
|
253
|
-
font-size: 20px;
|
254
|
-
display: flex;
|
255
|
-
align-items: center;
|
256
|
-
justify-content: center;
|
257
|
-
cursor: pointer;
|
258
|
-
transition: all 0.3s ease;
|
545
|
+
flex: 0 0 auto !important; // 更多按钮保持固定宽度
|
546
|
+
width: auto !important;
|
547
|
+
height: auto !important;
|
548
|
+
border: 1px solid rgba(209, 213, 219, 1) !important; // outline-gray-300
|
549
|
+
background: transparent !important;
|
550
|
+
color: @text-color-inverse !important;
|
551
|
+
border-radius: 8px !important; // rounded-lg
|
552
|
+
font-size: 20px !important;
|
553
|
+
display: flex !important;
|
554
|
+
align-items: center !important;
|
555
|
+
justify-content: center !important;
|
556
|
+
cursor: pointer !important;
|
557
|
+
transition: all 0.3s ease !important;
|
558
|
+
padding: 14px !important; // p-3.5
|
559
|
+
box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05) !important;
|
560
|
+
pointer-events: auto !important; // 确保更多按钮可以接收点击事件
|
259
561
|
|
260
562
|
&:hover {
|
261
|
-
background: rgba(255, 255, 255, 0.1);
|
262
|
-
transform: translateY(-2px);
|
263
|
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
563
|
+
background: rgba(255, 255, 255, 0.1) !important;
|
564
|
+
transform: translateY(-2px) !important;
|
565
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
|
264
566
|
}
|
265
567
|
|
266
568
|
&:active {
|
267
|
-
transform: translateY(0);
|
569
|
+
transform: translateY(0) !important;
|
268
570
|
}
|
269
571
|
}
|
270
572
|
}
|
@@ -292,9 +594,75 @@
|
|
292
594
|
}
|
293
595
|
}
|
294
596
|
|
597
|
+
// 新Toast从底部滑入动画
|
598
|
+
@keyframes toast-slide-up {
|
599
|
+
0% {
|
600
|
+
opacity: 0;
|
601
|
+
transform: translateY(100%) scale(0.95);
|
602
|
+
}
|
603
|
+
|
604
|
+
60% {
|
605
|
+
opacity: 0.8;
|
606
|
+
transform: translateY(-10%) scale(0.98);
|
607
|
+
}
|
608
|
+
|
609
|
+
100% {
|
610
|
+
opacity: 1;
|
611
|
+
transform: translateY(0) scale(1);
|
612
|
+
}
|
613
|
+
}
|
614
|
+
|
615
|
+
// Toast滑出动画
|
616
|
+
@keyframes toast-slide-out {
|
617
|
+
from {
|
618
|
+
opacity: 1;
|
619
|
+
transform: translateX(0) scale(1);
|
620
|
+
}
|
621
|
+
|
622
|
+
to {
|
623
|
+
opacity: 0;
|
624
|
+
transform: translateX(-100%) scale(0.9);
|
625
|
+
}
|
626
|
+
}
|
627
|
+
|
628
|
+
// Toast位移动画(平滑向上移动)
|
629
|
+
@keyframes toast-position-change {
|
630
|
+
from {
|
631
|
+
transform: translateY(0);
|
632
|
+
}
|
633
|
+
|
634
|
+
to {
|
635
|
+
transform: translateY(0); // 由JavaScript控制实际位置
|
636
|
+
}
|
637
|
+
}
|
638
|
+
|
639
|
+
// 缓动效果(用于位移动画)
|
640
|
+
@keyframes toast-ease-move {
|
641
|
+
0% {
|
642
|
+
transform: translateY(0);
|
643
|
+
animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
644
|
+
}
|
645
|
+
|
646
|
+
100% {
|
647
|
+
transform: translateY(0);
|
648
|
+
}
|
649
|
+
}
|
650
|
+
|
295
651
|
// 响应式设计
|
296
652
|
@media (max-width: 768px) {
|
653
|
+
|
654
|
+
// Toast容器移动端样式
|
655
|
+
[data-toast-id] {
|
656
|
+
left: 96px !important;
|
657
|
+
bottom: 110px !important;
|
658
|
+
right: 16px !important;
|
659
|
+
width: auto !important;
|
660
|
+
}
|
661
|
+
|
297
662
|
.payment-result-toast {
|
663
|
+
max-width: none !important;
|
664
|
+
min-width: auto !important; // 移动端也移除最小宽度限制
|
665
|
+
|
298
666
|
&-content {
|
299
667
|
padding: 32px 24px 80px; // 为底部进度条预留空间
|
300
668
|
min-height: 280px;
|
@@ -14,7 +14,7 @@ export interface ActionButtonProps {
|
|
14
14
|
/** 操作按钮组列表,支持多行按钮组 */
|
15
15
|
export declare type ActionButtonGroupList = ActionButtonProps[][];
|
16
16
|
/** 状态样式类型 */
|
17
|
-
export declare type StatusClassName = 'success' | 'failed' | 'wallet-pass-failed';
|
17
|
+
export declare type StatusClassName = 'success' | 'failed' | 'wallet-pass-failed' | 'partially-paid';
|
18
18
|
export interface PaymentResultToastProps {
|
19
19
|
/** 是否可见 */
|
20
20
|
visible?: boolean;
|
@@ -22,8 +22,8 @@ export interface PaymentResultToastProps {
|
|
22
22
|
onClose?: () => void;
|
23
23
|
/** 状态样式类名,用于控制样式主题 */
|
24
24
|
statusClassName?: StatusClassName;
|
25
|
-
/**
|
26
|
-
title
|
25
|
+
/** 标题文本(已计算好的显示文本)- 已不再显示 */
|
26
|
+
title?: string;
|
27
27
|
/** 副标题内容(已计算好的金额显示内容,支持自定义样式) */
|
28
28
|
subtitle?: React.ReactNode;
|
29
29
|
/** 找零信息文本(已计算好的找零显示文本) */
|
@@ -16,3 +16,29 @@ export declare const getDefaultModalConfig: () => {
|
|
16
16
|
closable: boolean;
|
17
17
|
zIndex: number;
|
18
18
|
};
|
19
|
+
/**
|
20
|
+
* 一键关闭当前页面上所有的 PaymentResultToast
|
21
|
+
* 这个函数是对现有 clearAllPaymentResultToasts 函数的封装,
|
22
|
+
* 提供了更友好的 API 和额外的配置选项
|
23
|
+
*
|
24
|
+
* 使用方法:
|
25
|
+
* - closeAllPaymentResultToasts() // 带动画关闭
|
26
|
+
* - closeAllPaymentResultToasts({ immediate: true }) // 立即关闭
|
27
|
+
*
|
28
|
+
* @param options 配置选项
|
29
|
+
* @param options.immediate 是否立即关闭(跳过退出动画),默认 false
|
30
|
+
* @returns Promise<void> 返回 Promise,在所有 Toast 关闭完成后 resolve
|
31
|
+
*/
|
32
|
+
export declare const closeAllPaymentResultToasts: (options?: {
|
33
|
+
immediate?: boolean;
|
34
|
+
}) => Promise<void>;
|
35
|
+
/**
|
36
|
+
* 获取当前页面上 PaymentResultToast 的数量
|
37
|
+
* @returns number 当前显示的 Toast 数量
|
38
|
+
*/
|
39
|
+
export declare const getToastCount: () => number;
|
40
|
+
/**
|
41
|
+
* 检查当前页面是否有正在显示的 PaymentResultToast
|
42
|
+
* @returns boolean 是否有 Toast 正在显示
|
43
|
+
*/
|
44
|
+
export declare const hasActivePaymentResultToasts: () => boolean;
|