@pisell/private-materials 6.4.35 → 6.4.37
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 +150 -150
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +6 -6
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +8 -8
- 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/deposit/components/PolicyModal/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/es/components/booking/components/actionButtons/index.js +2 -2
- package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
- package/es/components/booking/components/customiseItemModal/index.js +2 -2
- package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
- package/es/components/booking/components/footer/index.js +48 -42
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -1
- package/es/components/booking/forms/footer.d.ts +0 -1
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/es/components/booking/forms/single/index.d.ts +0 -1
- package/es/components/booking/forms/table/index.d.ts +0 -1
- package/es/components/booking/hooks/useClearCart.d.ts +0 -1
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/es/components/booking/info/date/index.d.ts +0 -1
- package/es/components/booking/info/dateRange/index.d.ts +0 -1
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/es/components/booking/info/notes/index.d.ts +0 -1
- package/es/components/booking/info/service/actions/index.d.ts +0 -1
- package/es/components/booking/info/service/like/index.d.ts +0 -1
- package/es/components/booking/info/service/serviceItem/index.d.ts +0 -1
- package/es/components/booking/info2/cartClientCard/index.js +1 -2
- package/es/components/booking/info2/service/actions/index.d.ts +0 -1
- package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -1
- package/es/components/booking/materiels/contacts/index.d.ts +0 -1
- package/es/components/booking/materiels/duration/index.d.ts +0 -1
- package/es/components/booking/materiels/holder/index.d.ts +0 -1
- package/es/components/booking/materiels/startTime/index.d.ts +0 -1
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
- package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/es/components/booking/notes/addNote/index.d.ts +0 -1
- package/es/components/checkout/PaymentModal.js +723 -434
- 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/deviceList/index.d.ts +0 -1
- package/es/components/eftpos/form/index.d.ts +0 -1
- package/es/components/eftpos/group/index.d.ts +0 -1
- package/es/components/eftpos/hooks.d.ts +0 -1
- package/es/components/eftpos/icon/apiKey.d.ts +0 -1
- package/es/components/eftpos/icon/device.d.ts +0 -1
- package/es/components/eftpos/index.d.ts +0 -1
- package/es/components/eftpos/pos.d.ts +0 -1
- package/es/components/eftpos/receipt/index.d.ts +0 -1
- package/es/components/eftposPay/amount.d.ts +0 -1
- package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
- 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/network.d.ts +0 -1
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/es/components/eftposPay/component/manual/index.d.ts +0 -1
- package/es/components/eftposPay/component/signature/index.d.ts +0 -1
- package/es/components/eftposPay/component/step/index.d.ts +0 -1
- package/es/components/eftposPay/component/step/step.d.ts +0 -1
- package/es/components/eftposPay/pay.d.ts +0 -1
- package/es/components/eftposPay/payo/config.d.ts +0 -1
- package/es/components/eftposPay/tip.d.ts +0 -1
- package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
- package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
- 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/CalenDateStatus/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/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/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/ProductItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/es/components/login/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- 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/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
- 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/Forms/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/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/productSelect/components/TabProduct/index.d.ts +0 -1
- package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
- package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/es/components/schedules/calendar/index.d.ts +0 -1
- package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
- package/es/components/schedules/products/index.d.ts +0 -1
- package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
- package/es/components/schedules/products/list/index.d.ts +0 -1
- package/es/components/schedules/resources/index.d.ts +0 -1
- package/es/components/schedules/resources/list/index.d.ts +0 -1
- package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
- package/es/components/schedules/schedules/index.d.ts +0 -1
- package/es/components/schedules/utils.d.ts +1 -1
- package/es/components/shoppingCart/components/Cart/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
- package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/es/components/shoppingCart/index.d.ts +0 -1
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +4 -3
- package/es/components/ticketBooking/components/bookingDataPanel/index.js +1 -1
- package/es/components/ticketBooking/components/ticketBooking/index.js +2 -2
- package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -1
- 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 +1 -1
- package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
- 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 +0 -1
- package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
- package/es/plus/saasCreateOrganization/components/Header.d.ts +0 -1
- package/es/plus/saasRegister/components/EntryEmail.d.ts +0 -1
- package/es/plus/saasRegister/components/EntryInfo.d.ts +0 -1
- package/es/plus/saasRegister/components/GoLogin.d.ts +0 -1
- package/es/plus/saasRegister/components/Header.d.ts +0 -1
- package/es/plus/saasRegister/components/VerifyError.d.ts +0 -1
- package/es/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
- 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/es/pro/pisellPhoneKeyboard/index.d.ts +0 -1
- package/es/utils/index.d.ts +1 -1
- 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/deposit/components/PolicyModal/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/lib/components/booking/components/actionButtons/index.js +2 -1
- package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
- package/lib/components/booking/components/customiseItemModal/index.js +2 -2
- package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
- package/lib/components/booking/components/footer/index.js +3 -0
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -1
- package/lib/components/booking/forms/footer.d.ts +0 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/lib/components/booking/forms/single/index.d.ts +0 -1
- package/lib/components/booking/forms/table/index.d.ts +0 -1
- package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/lib/components/booking/info/date/index.d.ts +0 -1
- package/lib/components/booking/info/dateRange/index.d.ts +0 -1
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/lib/components/booking/info/notes/index.d.ts +0 -1
- package/lib/components/booking/info/service/actions/index.d.ts +0 -1
- package/lib/components/booking/info/service/like/index.d.ts +0 -1
- package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -1
- package/lib/components/booking/info2/cartClientCard/index.js +1 -2
- package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -1
- package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
- package/lib/components/booking/materiels/duration/index.d.ts +0 -1
- package/lib/components/booking/materiels/holder/index.d.ts +0 -1
- package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
- package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/lib/components/booking/notes/addNote/index.d.ts +0 -1
- package/lib/components/checkout/PaymentModal.js +225 -93
- 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/deviceList/index.d.ts +0 -1
- package/lib/components/eftpos/form/index.d.ts +0 -1
- package/lib/components/eftpos/group/index.d.ts +0 -1
- package/lib/components/eftpos/hooks.d.ts +0 -1
- package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
- package/lib/components/eftpos/icon/device.d.ts +0 -1
- package/lib/components/eftpos/index.d.ts +0 -1
- package/lib/components/eftpos/pos.d.ts +0 -1
- package/lib/components/eftpos/receipt/index.d.ts +0 -1
- package/lib/components/eftposPay/amount.d.ts +0 -1
- package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
- 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/network.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
- package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
- package/lib/components/eftposPay/component/step/index.d.ts +0 -1
- package/lib/components/eftposPay/component/step/step.d.ts +0 -1
- package/lib/components/eftposPay/pay.d.ts +0 -1
- package/lib/components/eftposPay/payo/config.d.ts +0 -1
- package/lib/components/eftposPay/tip.d.ts +0 -1
- package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
- package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
- 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/CalenDateStatus/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/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/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/ProductItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/lib/components/login/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- 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/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
- 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/Forms/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/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/productSelect/components/TabProduct/index.d.ts +0 -1
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
- package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/lib/components/schedules/calendar/index.d.ts +0 -1
- package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
- package/lib/components/schedules/products/index.d.ts +0 -1
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
- package/lib/components/schedules/products/list/index.d.ts +0 -1
- package/lib/components/schedules/resources/index.d.ts +0 -1
- package/lib/components/schedules/resources/list/index.d.ts +0 -1
- package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
- package/lib/components/schedules/schedules/index.d.ts +0 -1
- package/lib/components/schedules/utils.d.ts +1 -1
- package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/lib/components/shoppingCart/index.d.ts +0 -1
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +7 -6
- package/lib/components/ticketBooking/components/bookingDataPanel/index.js +2 -2
- package/lib/components/ticketBooking/components/ticketBooking/index.js +1 -1
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -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 +2 -12
- package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
- 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 +0 -1
- package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
- package/lib/plus/saasCreateOrganization/components/Header.d.ts +0 -1
- package/lib/plus/saasRegister/components/EntryEmail.d.ts +0 -1
- package/lib/plus/saasRegister/components/EntryInfo.d.ts +0 -1
- package/lib/plus/saasRegister/components/GoLogin.d.ts +0 -1
- package/lib/plus/saasRegister/components/Header.d.ts +0 -1
- package/lib/plus/saasRegister/components/VerifyError.d.ts +0 -1
- package/lib/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
- 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/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -1
- package/lib/utils/index.d.ts +1 -1
- package/package.json +12 -12
@@ -25,11 +25,90 @@ export var debounce = function debounce(func, wait) {
|
|
25
25
|
*/
|
26
26
|
export var getDefaultModalConfig = function getDefaultModalConfig() {
|
27
27
|
return {
|
28
|
-
width:
|
29
|
-
|
28
|
+
width: 501,
|
29
|
+
// 更新为DOM节点中的宽度
|
30
|
+
mask: false,
|
30
31
|
maskClosable: false,
|
31
32
|
// 默认值,会根据状态动态调整
|
32
33
|
closable: true,
|
33
34
|
zIndex: 1000
|
34
35
|
};
|
36
|
+
};
|
37
|
+
|
38
|
+
/**
|
39
|
+
* 一键关闭当前页面上所有的 PaymentResultToast
|
40
|
+
* 这个函数是对现有 clearAllPaymentResultToasts 函数的封装,
|
41
|
+
* 提供了更友好的 API 和额外的配置选项
|
42
|
+
*
|
43
|
+
* 使用方法:
|
44
|
+
* - closeAllPaymentResultToasts() // 带动画关闭
|
45
|
+
* - closeAllPaymentResultToasts({ immediate: true }) // 立即关闭
|
46
|
+
*
|
47
|
+
* @param options 配置选项
|
48
|
+
* @param options.immediate 是否立即关闭(跳过退出动画),默认 false
|
49
|
+
* @returns Promise<void> 返回 Promise,在所有 Toast 关闭完成后 resolve
|
50
|
+
*/
|
51
|
+
export var closeAllPaymentResultToasts = function closeAllPaymentResultToasts(options) {
|
52
|
+
var _ref = options || {},
|
53
|
+
_ref$immediate = _ref.immediate,
|
54
|
+
immediate = _ref$immediate === void 0 ? false : _ref$immediate;
|
55
|
+
return new Promise(function (resolve) {
|
56
|
+
try {
|
57
|
+
// 检查是否有 Toast 存在
|
58
|
+
var toastElements = document.querySelectorAll('[data-toast-id]');
|
59
|
+
if (toastElements.length === 0) {
|
60
|
+
resolve();
|
61
|
+
return;
|
62
|
+
}
|
63
|
+
if (immediate) {
|
64
|
+
// 立即关闭:直接移除所有 Toast DOM 元素
|
65
|
+
toastElements.forEach(function (element) {
|
66
|
+
if (element.parentNode) {
|
67
|
+
element.parentNode.removeChild(element);
|
68
|
+
}
|
69
|
+
});
|
70
|
+
resolve();
|
71
|
+
} else {
|
72
|
+
// 带动画关闭:添加退出动画类,然后等待动画完成
|
73
|
+
toastElements.forEach(function (element) {
|
74
|
+
element.classList.add('toast-exiting');
|
75
|
+
});
|
76
|
+
|
77
|
+
// 等待退出动画完成后移除元素
|
78
|
+
setTimeout(function () {
|
79
|
+
toastElements.forEach(function (element) {
|
80
|
+
if (element.parentNode) {
|
81
|
+
element.parentNode.removeChild(element);
|
82
|
+
}
|
83
|
+
});
|
84
|
+
resolve();
|
85
|
+
}, 300); // 与 CSS 退出动画时间一致
|
86
|
+
}
|
87
|
+
} catch (error) {
|
88
|
+
console.warn('关闭 PaymentResultToast 时发生错误:', error);
|
89
|
+
resolve();
|
90
|
+
}
|
91
|
+
});
|
92
|
+
};
|
93
|
+
|
94
|
+
/**
|
95
|
+
* 获取当前页面上 PaymentResultToast 的数量
|
96
|
+
* @returns number 当前显示的 Toast 数量
|
97
|
+
*/
|
98
|
+
export var getToastCount = function getToastCount() {
|
99
|
+
try {
|
100
|
+
var toastElements = document.querySelectorAll('[data-toast-id]');
|
101
|
+
return toastElements.length;
|
102
|
+
} catch (error) {
|
103
|
+
console.warn('获取 PaymentResultToast 数量时发生错误:', error);
|
104
|
+
return 0;
|
105
|
+
}
|
106
|
+
};
|
107
|
+
|
108
|
+
/**
|
109
|
+
* 检查当前页面是否有正在显示的 PaymentResultToast
|
110
|
+
* @returns boolean 是否有 Toast 正在显示
|
111
|
+
*/
|
112
|
+
export var hasActivePaymentResultToasts = function hasActivePaymentResultToasts() {
|
113
|
+
return getToastCount() > 0;
|
35
114
|
};
|
@@ -19,11 +19,10 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
19
19
|
import React, { useEffect, useMemo, useRef, useState } from 'react';
|
20
20
|
import { useDebounceFn } from 'ahooks';
|
21
21
|
import { locales } from '@pisell/utils';
|
22
|
-
import {
|
22
|
+
import { Icon, useToast } from '@pisell/materials';
|
23
23
|
import { SearchSection } from "../../../../pro/comprehensiveSearch/components";
|
24
24
|
import CartClientCard from "../../../booking/info2/cartClientCard";
|
25
25
|
import { useBookingTicket } from "../../../ticketBooking/hooks/pisellos";
|
26
|
-
import useToast from "../../../../hooks/useToast";
|
27
26
|
import "./index.less";
|
28
27
|
var SearchAndClientModule = function SearchAndClientModule(props) {
|
29
28
|
var disabledSwitch = props.disabledSwitch,
|
@@ -138,16 +137,17 @@ var SearchAndClientModule = function SearchAndClientModule(props) {
|
|
138
137
|
}, [bookingTicket, handleSearch]);
|
139
138
|
var Toast = useToast();
|
140
139
|
var dropdownProps = useMemo(function () {
|
141
|
-
var icon = /*#__PURE__*/React.createElement(
|
140
|
+
var icon = /*#__PURE__*/React.createElement(Icon, {
|
142
141
|
type: 'pisell2-switch-horizontal-01',
|
142
|
+
size: 24,
|
143
143
|
style: {
|
144
|
-
|
145
|
-
color: '#7F56DA'
|
144
|
+
color: '#667085'
|
146
145
|
}
|
147
146
|
});
|
148
147
|
var _props = {
|
149
148
|
buttonProps: {
|
150
|
-
icon: icon
|
149
|
+
icon: icon,
|
150
|
+
size: 'default'
|
151
151
|
}
|
152
152
|
};
|
153
153
|
if (disabledSwitch === true) {
|
@@ -155,6 +155,7 @@ var SearchAndClientModule = function SearchAndClientModule(props) {
|
|
155
155
|
open: false,
|
156
156
|
buttonProps: {
|
157
157
|
icon: icon,
|
158
|
+
size: 'default',
|
158
159
|
onClick: function onClick() {
|
159
160
|
var _Toast$info4;
|
160
161
|
// todo 根据当前订单付款情况判断是否可以切换
|
@@ -171,8 +172,7 @@ var SearchAndClientModule = function SearchAndClientModule(props) {
|
|
171
172
|
return /*#__PURE__*/React.createElement("div", {
|
172
173
|
style: {
|
173
174
|
display: 'flex',
|
174
|
-
gap: 8
|
175
|
-
marginBottom: 8
|
175
|
+
gap: 8
|
176
176
|
}
|
177
177
|
}, /*#__PURE__*/React.createElement(SearchSection, {
|
178
178
|
value: value,
|
@@ -185,13 +185,13 @@ var SearchAndClientModule = function SearchAndClientModule(props) {
|
|
185
185
|
searchButtonProps: {
|
186
186
|
placement: 'inside',
|
187
187
|
style: {
|
188
|
-
height:
|
188
|
+
height: 36,
|
189
189
|
padding: 8,
|
190
|
-
minWidth:
|
190
|
+
minWidth: 76
|
191
191
|
}
|
192
192
|
},
|
193
193
|
cameraButtonProps: {
|
194
|
-
icon: ['pisell2-camera-01', 'pisell2-
|
194
|
+
icon: ['pisell2-camera-01', 'pisell2-qr-code-02']
|
195
195
|
},
|
196
196
|
onSearch: function onSearch() {
|
197
197
|
return handleSearch.run(value);
|
@@ -203,13 +203,14 @@ var SearchAndClientModule = function SearchAndClientModule(props) {
|
|
203
203
|
},
|
204
204
|
clientCardProps: {
|
205
205
|
style: {
|
206
|
-
width:
|
207
|
-
minHeight:
|
208
|
-
height:
|
209
|
-
|
206
|
+
width: 326,
|
207
|
+
minHeight: 48,
|
208
|
+
height: 48,
|
209
|
+
padding: '4px 8px',
|
210
|
+
borderColor: '#D0D5DD'
|
210
211
|
},
|
211
212
|
avatar: {
|
212
|
-
size: '
|
213
|
+
size: 'sm'
|
213
214
|
},
|
214
215
|
dropdown: dropdownProps
|
215
216
|
}
|
@@ -1,18 +1,39 @@
|
|
1
1
|
.payment-modal-wrapper {
|
2
2
|
.comprehensive-search__search-input-wrapper {
|
3
|
-
padding: 4px
|
4
|
-
height:
|
5
|
-
border: 1px solid #475467;
|
3
|
+
padding: 4px;
|
4
|
+
height: 48px;
|
6
5
|
|
7
|
-
.comprehensive-
|
6
|
+
.comprehensive-search__camera-activator {
|
8
7
|
width: unset;
|
9
|
-
|
10
|
-
|
11
|
-
|
8
|
+
gap: 6px;
|
9
|
+
|
10
|
+
.comprehensive-search__camera-activator-icons-divider {
|
11
|
+
height: 16px;
|
12
12
|
}
|
13
13
|
> span {
|
14
|
-
font-size:
|
14
|
+
font-size: 16px;
|
15
15
|
}
|
16
16
|
}
|
17
17
|
}
|
18
|
+
|
19
|
+
.pisell-client-card__avatar-wrapper {
|
20
|
+
align-self: center !important;
|
21
|
+
}
|
22
|
+
|
23
|
+
.pisell-client-card__details {
|
24
|
+
gap: 0;
|
25
|
+
|
26
|
+
.pisell-client-card__name {
|
27
|
+
font-size: 14px;
|
28
|
+
}
|
29
|
+
|
30
|
+
.pisell-lowcode-tag {
|
31
|
+
font-size: 12px;
|
32
|
+
}
|
33
|
+
|
34
|
+
.pisell-client-card__contact {
|
35
|
+
font-size: 12px;
|
36
|
+
line-height: 18px;
|
37
|
+
}
|
38
|
+
}
|
18
39
|
}
|
package/es/components/checkout/components/WalletPassModule/components/WalletPassHeader/index.js
CHANGED
@@ -23,7 +23,9 @@ var WalletPassHeader = function WalletPassHeader(_ref) {
|
|
23
23
|
__html: ((_locales$getText = locales.getText('wallet-pass-module-cards-vouchers-in-wallet')) === null || _locales$getText === void 0 ? void 0 : _locales$getText("<span class=\"theme-color wallet-pass-module-customer\">".concat(customerName, "</span>"))) || ''
|
24
24
|
}
|
25
25
|
}), /*#__PURE__*/React.createElement("span", {
|
26
|
-
|
26
|
+
style: {
|
27
|
+
color: '#475467'
|
28
|
+
}
|
27
29
|
}, (_locales$getText2 = locales.getText('wallet-pass-module-applied')) === null || _locales$getText2 === void 0 ? void 0 : _locales$getText2(selectedCount)), /*#__PURE__*/React.createElement("span", {
|
28
30
|
className: classnames('error-color', 'pointer', 'underline'),
|
29
31
|
onClick: onExpiredClick
|
@@ -4,12 +4,12 @@
|
|
4
4
|
}
|
5
5
|
}
|
6
6
|
.wallet-pass-module {
|
7
|
-
|
7
|
+
border: none;
|
8
|
+
margin-top: 8px;
|
9
|
+
padding: 0px;
|
8
10
|
display: flex;
|
9
11
|
flex-direction: column;
|
10
12
|
gap: 8px;
|
11
|
-
border-radius: 8px;
|
12
|
-
border: 1px solid var(--00_Pisell-pp, #7f56da);
|
13
13
|
background: #fff;
|
14
14
|
--theme-color: #7f56da;
|
15
15
|
}
|
@@ -21,10 +21,10 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
21
21
|
import { useState, useEffect, useMemo, useRef } from 'react';
|
22
22
|
import { useMemoizedFn } from 'ahooks';
|
23
23
|
import { uniqueByKey, locales } from '@pisell/utils';
|
24
|
+
import { useToast } from '@pisell/materials';
|
24
25
|
import dayjs from 'dayjs';
|
25
26
|
import { usePisellOS } from "../../../hooks/useEngineContext";
|
26
27
|
import { formatDiscountWalletData, formatMachineCodeServer2CardList, isSameContent } from "../components/WalletPassModule/utils";
|
27
|
-
import useToast from "../../../hooks/useToast";
|
28
28
|
import usePaymentLogger from "./usePaymentLogger";
|
29
29
|
import { isWalkIn } from "../../booking/utils";
|
30
30
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
export { default as PaymentModal } from './PaymentModal';
|
2
2
|
export { PaymentProvider, usePaymentModal } from './PaymentProvider';
|
3
3
|
export type { PaymentModalProps, PaymentModalData } from './PaymentModal';
|
4
|
-
export { default as PaymentResultToast, PaymentResultToastProvider, usePaymentResultToast, showPaymentResultToastSuccess, showPaymentResultToastFailed, showPaymentResultToastWalletPassFailed, showPaymentResultToast, closePaymentResultToast } from './components/PaymentResultToast';
|
4
|
+
export { default as PaymentResultToast, PaymentResultToastProvider, usePaymentResultToast, showPaymentResultToastSuccess, showPaymentResultToastFailed, showPaymentResultToastWalletPassFailed, showPaymentResultToast, closePaymentResultToast, setTillButton } from './components/PaymentResultToast';
|
5
5
|
export type { ShowPaymentResultToastConfig, PaymentResultToastContextType, PaymentResultToastProps, PaymentResultToastConfig, ActionButtonProps, ActionButtonGroupList, StatusClassName } from './components/PaymentResultToast';
|
@@ -2,4 +2,4 @@
|
|
2
2
|
export { default as PaymentModal } from "./PaymentModal";
|
3
3
|
export { PaymentProvider, usePaymentModal } from "./PaymentProvider";
|
4
4
|
// 导出支付结果弹窗相关组件和方法
|
5
|
-
export { default as PaymentResultToast, PaymentResultToastProvider, usePaymentResultToast, showPaymentResultToastSuccess, showPaymentResultToastFailed, showPaymentResultToastWalletPassFailed, showPaymentResultToast, closePaymentResultToast } from "./components/PaymentResultToast";
|
5
|
+
export { default as PaymentResultToast, PaymentResultToastProvider, usePaymentResultToast, showPaymentResultToastSuccess, showPaymentResultToastFailed, showPaymentResultToastWalletPassFailed, showPaymentResultToast, closePaymentResultToast, setTillButton } from "./components/PaymentResultToast";
|
@@ -1,4 +1,38 @@
|
|
1
1
|
.payment-modal-wrapper {
|
2
|
+
.pisell-lowcode-modal-close {
|
3
|
+
display: none;
|
4
|
+
}
|
5
|
+
|
6
|
+
.pisell-lowcode-modal-header {
|
7
|
+
padding: 8px 16px !important;
|
8
|
+
}
|
9
|
+
|
10
|
+
// CustomHeader 样式
|
11
|
+
.payment-modal-custom-header {
|
12
|
+
display: grid;
|
13
|
+
grid-template-columns: 1fr 2fr 1fr;
|
14
|
+
align-items: center;
|
15
|
+
width: 100%;
|
16
|
+
|
17
|
+
.header__center {
|
18
|
+
text-align: center;
|
19
|
+
font-size: 20px;
|
20
|
+
height: 30px;
|
21
|
+
line-height: 30px;
|
22
|
+
}
|
23
|
+
|
24
|
+
.header__right {
|
25
|
+
display: flex;
|
26
|
+
justify-content: flex-end;
|
27
|
+
|
28
|
+
button span {
|
29
|
+
font-size: 16px;
|
30
|
+
font-weight: 600;
|
31
|
+
text-decoration: underline;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
2
36
|
// 控制模态框最大高度和自适应 - 现在通过JavaScript设置一致的百分比基准
|
3
37
|
.pisell-lowcode-modal {
|
4
38
|
// JavaScript设置: maxHeight: '90%' (基于视口)
|
@@ -18,45 +52,29 @@
|
|
18
52
|
|
19
53
|
.pisell-lowcode-modal {
|
20
54
|
.pisell-lowcode-modal-body {
|
21
|
-
padding:
|
55
|
+
padding: 16px !important;
|
22
56
|
}
|
23
57
|
}
|
24
|
-
|
25
|
-
// 根据 showCashPayment 状态调整下边距
|
26
|
-
&.no-cash-payment {
|
27
|
-
.pisell-lowcode-modal {
|
28
|
-
.pisell-lowcode-modal-body {
|
29
|
-
padding: 0 24px 88px 24px!important;
|
30
|
-
}
|
31
|
-
}
|
32
|
-
}
|
33
|
-
.comprehensive-search__search-input-wrapper {
|
34
|
-
padding: 4px 8px;
|
35
|
-
height: 60px;
|
36
|
-
border: 1px solid #475467;
|
37
58
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
}
|
47
|
-
}
|
48
|
-
}
|
59
|
+
// 根据 showCashPayment 状态调整下边距
|
60
|
+
// &.no-cash-payment {
|
61
|
+
// .pisell-lowcode-modal {
|
62
|
+
// .pisell-lowcode-modal-body {
|
63
|
+
// padding: 16px 16px 88px 16px !important;
|
64
|
+
// }
|
65
|
+
// }
|
66
|
+
// }
|
49
67
|
|
50
68
|
.payment-grid-layout {
|
51
69
|
display: grid;
|
52
70
|
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); // 强制等宽分配
|
53
|
-
grid-template-rows:
|
71
|
+
grid-template-rows: auto auto;
|
54
72
|
gap: 16px;
|
55
|
-
background-color: #
|
73
|
+
background-color: #f6f2ff;
|
56
74
|
padding: 16px 16px 0 16px;
|
57
75
|
border-radius: 0 0 12px 12px;
|
58
76
|
width: 100%; // 确保容器占满宽度
|
59
|
-
|
77
|
+
|
60
78
|
// 确保grid项不会溢出
|
61
79
|
> div {
|
62
80
|
min-width: 0; // 允许内容缩小
|
@@ -68,14 +86,14 @@
|
|
68
86
|
display: flex;
|
69
87
|
flex-direction: column;
|
70
88
|
gap: 16px;
|
71
|
-
background-color: #
|
89
|
+
background-color: #f6f2ff;
|
72
90
|
padding: 16px 16px 0 16px;
|
73
91
|
border-radius: 0 0 12px 12px;
|
74
92
|
flex: 1; // 使用弹性高度而不是固定高度
|
75
93
|
min-height: 350px; // 减少最小高度,给底部模块留空间
|
76
94
|
max-height: calc(90% - 280px); // 设置最大高度,确保不会超出屏幕
|
77
95
|
overflow: hidden; // 防止整体溢出
|
78
|
-
|
96
|
+
|
79
97
|
// 支付选项模块在弹性布局中的样式
|
80
98
|
.payment-options-module-container {
|
81
99
|
flex: 1; // 占用剩余空间
|
@@ -86,14 +104,14 @@
|
|
86
104
|
flex-direction: column;
|
87
105
|
padding-bottom: 20px;
|
88
106
|
}
|
89
|
-
|
107
|
+
|
90
108
|
// 额外模块固定在底部
|
91
|
-
.additional-module-container {
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
}
|
109
|
+
// .additional-module-container {
|
110
|
+
// flex-shrink: 0; // 不允许缩小
|
111
|
+
// min-height: 60px; // 确保额外模块有足够的显示空间
|
112
|
+
// position: absolute;
|
113
|
+
// bottom: 0;
|
114
|
+
// width: calc(100% - 80px);
|
115
|
+
// }
|
98
116
|
}
|
99
117
|
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
declare const _default: {
|
2
2
|
en: {
|
3
3
|
'order.total': string;
|
4
|
+
'order.start-new-order': string;
|
4
5
|
'pisell2.subtotal.deposit': string;
|
5
6
|
'pisell2.subtotal.total': string;
|
6
7
|
'pisell2.subtotal.subtotal': string;
|
@@ -22,6 +23,7 @@ declare const _default: {
|
|
22
23
|
'balance.due': string;
|
23
24
|
'deposit.due': string;
|
24
25
|
'partial.paid': string;
|
26
|
+
'split.payment': string;
|
25
27
|
cash: string;
|
26
28
|
rounding: string;
|
27
29
|
'cash.payment': string;
|
@@ -154,6 +156,7 @@ declare const _default: {
|
|
154
156
|
};
|
155
157
|
'zh-CN': {
|
156
158
|
'order.total': string;
|
159
|
+
'order.start-new-order': string;
|
157
160
|
'pisell2.subtotal.deposit': string;
|
158
161
|
'pisell2.subtotal.total': string;
|
159
162
|
'pisell2.subtotal.subtotal': string;
|
@@ -175,6 +178,7 @@ declare const _default: {
|
|
175
178
|
'balance.due': string;
|
176
179
|
'deposit.due': string;
|
177
180
|
'partial.paid': string;
|
181
|
+
'split.payment': string;
|
178
182
|
cash: string;
|
179
183
|
rounding: string;
|
180
184
|
'cash.payment': string;
|
@@ -307,6 +311,7 @@ declare const _default: {
|
|
307
311
|
};
|
308
312
|
'zh-HK': {
|
309
313
|
'order.total': string;
|
314
|
+
'order.start-new-order': string;
|
310
315
|
'pisell2.subtotal.deposit': string;
|
311
316
|
'pisell2.subtotal.total': string;
|
312
317
|
'pisell2.subtotal.subtotal': string;
|
@@ -328,6 +333,7 @@ declare const _default: {
|
|
328
333
|
'balance.due': string;
|
329
334
|
'deposit.due': string;
|
330
335
|
'partial.paid': string;
|
336
|
+
'split.payment': string;
|
331
337
|
cash: string;
|
332
338
|
rounding: string;
|
333
339
|
'cash.payment': string;
|
@@ -2,6 +2,7 @@ export default {
|
|
2
2
|
"en": {
|
3
3
|
// Order and Payment
|
4
4
|
'order.total': 'Total',
|
5
|
+
'order.start-new-order': 'Start New Order',
|
5
6
|
// Subtotal related
|
6
7
|
'pisell2.subtotal.deposit': 'Deposit',
|
7
8
|
'pisell2.subtotal.total': 'Total',
|
@@ -26,6 +27,7 @@ export default {
|
|
26
27
|
'balance.due': 'Balance Due',
|
27
28
|
'deposit.due': 'Deposit Due',
|
28
29
|
'partial.paid': 'Partial Paid',
|
30
|
+
'split.payment': 'Pay\nPartially',
|
29
31
|
// Cash Payment
|
30
32
|
'cash': 'Cash',
|
31
33
|
'rounding': 'Rounding',
|
@@ -122,7 +124,7 @@ export default {
|
|
122
124
|
// Payment Result Toast
|
123
125
|
'payment.result.success': 'Payment Successful',
|
124
126
|
'payment.result.failed': 'Payment Failed',
|
125
|
-
'payment.result.paid': 'Paid',
|
127
|
+
'payment.result.paid': 'Fully Paid',
|
126
128
|
'payment.result.partiallyPaid': 'Partially Paid',
|
127
129
|
'payment.result.amountDue': 'Amount Due',
|
128
130
|
'payment.result.changeDue': 'Change Due',
|
@@ -201,6 +203,7 @@ export default {
|
|
201
203
|
'zh-CN': {
|
202
204
|
// Order and Payment
|
203
205
|
'order.total': '订单总计',
|
206
|
+
'order.start-new-order': '开始新订单',
|
204
207
|
// Subtotal related
|
205
208
|
'pisell2.subtotal.deposit': '定金',
|
206
209
|
'pisell2.subtotal.total': '总计',
|
@@ -225,6 +228,7 @@ export default {
|
|
225
228
|
'balance.due': '应付金额',
|
226
229
|
'deposit.due': '定金待支付金额',
|
227
230
|
'partial.paid': '部分支付',
|
231
|
+
'split.payment': '部分付款',
|
228
232
|
// Cash Payment
|
229
233
|
'cash': '现金',
|
230
234
|
'rounding': '舍入',
|
@@ -305,7 +309,7 @@ export default {
|
|
305
309
|
// Payment Result Toast
|
306
310
|
'payment.result.success': '支付成功',
|
307
311
|
'payment.result.failed': '支付失败',
|
308
|
-
'payment.result.paid': '
|
312
|
+
'payment.result.paid': '全额支付',
|
309
313
|
'payment.result.partiallyPaid': '部分支付',
|
310
314
|
'payment.result.amountDue': '欠款金额',
|
311
315
|
'payment.result.changeDue': '找零',
|
@@ -403,6 +407,7 @@ export default {
|
|
403
407
|
'zh-HK': {
|
404
408
|
// Order and Payment
|
405
409
|
'order.total': '訂單總計',
|
410
|
+
'order.start-new-order': '開始新訂單',
|
406
411
|
// Subtotal related
|
407
412
|
'pisell2.subtotal.deposit': '定金',
|
408
413
|
'pisell2.subtotal.total': '總計',
|
@@ -427,6 +432,7 @@ export default {
|
|
427
432
|
'balance.due': '應付金額',
|
428
433
|
'deposit.due': '定金待支付金額',
|
429
434
|
'partial.paid': '部分支付',
|
435
|
+
'split.payment': '部分付款',
|
430
436
|
// Cash Payment
|
431
437
|
'cash': '現金',
|
432
438
|
'rounding': '捨入',
|
@@ -526,7 +532,7 @@ export default {
|
|
526
532
|
// Payment Result Toast
|
527
533
|
'payment.result.success': '支付成功',
|
528
534
|
'payment.result.failed': '支付失敗',
|
529
|
-
'payment.result.paid': '
|
535
|
+
'payment.result.paid': '全額支付',
|
530
536
|
'payment.result.partiallyPaid': '部分支付',
|
531
537
|
'payment.result.amountDue': '欠款金額',
|
532
538
|
'payment.result.changeDue': '找零',
|
@@ -104,31 +104,31 @@ export var calculateStatusClassName = function calculateStatusClassName(status)
|
|
104
104
|
* 根据支付状态计算自动关闭配置
|
105
105
|
*/
|
106
106
|
export var calculateAutoCloseConfig = function calculateAutoCloseConfig(status, hasChangeDue) {
|
107
|
+
var autoCloseDelay = 30;
|
107
108
|
switch (status) {
|
108
109
|
case 'paid':
|
109
110
|
return {
|
110
111
|
autoClose: true,
|
111
|
-
autoCloseDelay:
|
112
|
-
// 有找零30秒,无找零5秒
|
112
|
+
autoCloseDelay: autoCloseDelay,
|
113
113
|
maskClosable: true
|
114
114
|
};
|
115
115
|
case 'partially_paid':
|
116
116
|
return {
|
117
117
|
autoClose: true,
|
118
|
-
autoCloseDelay:
|
118
|
+
autoCloseDelay: autoCloseDelay,
|
119
119
|
maskClosable: true
|
120
120
|
};
|
121
121
|
case 'failed':
|
122
122
|
case 'wallet-pass-redemption-failed':
|
123
123
|
return {
|
124
124
|
autoClose: false,
|
125
|
-
autoCloseDelay:
|
125
|
+
autoCloseDelay: autoCloseDelay,
|
126
126
|
maskClosable: false
|
127
127
|
};
|
128
128
|
default:
|
129
129
|
return {
|
130
130
|
autoClose: false,
|
131
|
-
autoCloseDelay:
|
131
|
+
autoCloseDelay: autoCloseDelay,
|
132
132
|
maskClosable: false
|
133
133
|
};
|
134
134
|
}
|
@@ -7,7 +7,7 @@ export interface PaymentResultToastConfig {
|
|
7
7
|
interaction: any;
|
8
8
|
Toast: any;
|
9
9
|
state: any;
|
10
|
-
onToastClose
|
10
|
+
onToastClose?: () => void;
|
11
11
|
}
|
12
12
|
export interface PaymentResultToastParams {
|
13
13
|
paymentStatus: string;
|
@@ -29,5 +29,5 @@ export declare const calculateAutoCloseConfig: (status: string, hasChangeDue: bo
|
|
29
29
|
autoCloseDelay: number;
|
30
30
|
maskClosable: boolean;
|
31
31
|
};
|
32
|
-
export declare const displayPaymentResultToast: (params: PaymentResultToastParams, config: PaymentResultToastConfig) => void
|
33
|
-
export declare const createShowSuccessToast: (config: PaymentResultToastConfig, getActionButtons?: ((paymentStatus: string) => ActionButtonGroupList) | undefined) => (result: any) => void
|
32
|
+
export declare const displayPaymentResultToast: (params: PaymentResultToastParams, config: PaymentResultToastConfig) => Promise<void>;
|
33
|
+
export declare const createShowSuccessToast: (config: PaymentResultToastConfig, getActionButtons?: ((paymentStatus: string) => ActionButtonGroupList) | undefined) => (result: any) => Promise<void>;
|