@pisell/private-materials 6.3.66 → 6.3.68
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 +7 -7
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +9 -9
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +9 -9
- package/es/businessModel/SalesModel/index.d.ts +0 -1
- package/es/components/Sales/Summary/utils.d.ts +51 -0
- 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/locales.d.ts +363 -0
- package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
- package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
- package/es/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
- package/es/components/authentication/admin/AuthMethods/types.d.ts +76 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
- package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
- package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
- package/es/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
- package/es/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
- package/es/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
- package/es/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
- package/es/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
- package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
- package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
- package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
- package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
- package/es/components/authentication/index.d.ts +0 -0
- package/es/components/booking/addons/model.d.ts +10 -1
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
- package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
- package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
- package/es/components/booking/components/reloadResourceModal/index.d.ts +1 -0
- package/es/components/booking/components/tabPane/index.d.ts +4 -0
- package/es/components/booking/dashboard/serve.d.ts +1 -0
- package/es/components/booking/editBookingModal/utils.d.ts +12 -0
- package/es/components/booking/forms/model.d.ts +10 -1
- package/es/components/booking/forms/serve.d.ts +18 -0
- package/es/components/booking/forms/single/index.d.ts +1 -0
- package/es/components/booking/forms/table/index.d.ts +1 -0
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
- package/es/components/booking/info/client/serve.d.ts +2 -0
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/es/components/booking/info/date/index.d.ts +1 -0
- package/es/components/booking/info/dateRange/index.d.ts +0 -1
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/es/components/booking/info/index.d.ts +0 -1
- package/es/components/booking/info/model.d.ts +10 -1
- package/es/components/booking/info/notes/index.d.ts +1 -0
- package/es/components/booking/info/pet/serve.d.ts +1 -0
- package/es/components/booking/info/service/Lists.d.ts +0 -1
- package/es/components/booking/info/service/actions/index.d.ts +1 -0
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/es/components/booking/info/service/editService/constants.d.ts +1 -0
- package/es/components/booking/info/service/serve.d.ts +20 -0
- package/es/components/booking/info/service2/Lists.d.ts +0 -1
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info2/service/actions/index.d.ts +1 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
- package/es/components/booking/locales.d.ts +843 -0
- package/es/components/booking/materiels/contacts/index.d.ts +1 -0
- package/es/components/booking/materiels/duration/index.d.ts +1 -0
- package/es/components/booking/materiels/holder/index.d.ts +1 -0
- package/es/components/booking/model.d.ts +9 -1
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
- package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/es/components/booking/notes/model.d.ts +10 -1
- package/es/components/booking/payments/model.d.ts +10 -1
- package/es/components/eftpos/index.d.ts +1 -0
- package/es/components/eftpos/pos.d.ts +1 -0
- package/es/components/eftposPay/amount.d.ts +2 -1
- package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
- package/es/components/eftposPay/component/fail/network.d.ts +1 -0
- package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
- package/es/components/eftposPay/component/manual/index.d.ts +1 -0
- package/es/components/eftposPay/component/signature/index.d.ts +1 -0
- package/es/components/eftposPay/const.d.ts +184 -0
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/locales.d.ts +330 -0
- package/es/components/eftposPay/pay.d.ts +1 -0
- package/es/components/eftposPay/payo/config.d.ts +1 -0
- package/es/components/eftposPay/tip.d.ts +1 -0
- package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
- package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/es/components/login/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentList/index.d.ts +1 -1
- package/es/components/pay/toC/PaymentList/index.js +54 -5
- package/es/components/pay/toC/PaymentList/index.less +58 -1
- package/es/components/pay/toC/PaymentList/payment/credit_card.png +0 -0
- package/es/components/pay/toC/PaymentList/payment/visa.png +0 -0
- package/es/components/pay/toC/PaymentList/serve.d.ts +1 -1
- package/es/components/pay/toC/PaymentList/serve.js +8 -0
- package/es/components/pay/toC/PaymentList/utils.d.ts +36 -0
- package/es/components/pay/toC/PaymentList/utils.js +187 -6
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/es/components/pay/toC/index.js +2 -1
- package/es/components/pay/toC/locales.d.ts +307 -0
- package/es/components/pay/toC/locales.js +9 -3
- package/es/components/pay/toC/model.d.ts +9 -1
- package/es/components/pay/toC/status.d.ts +13 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/es/components/ruleSetting/locales.d.ts +48 -0
- package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/es/components/schedules/calendar/index.d.ts +1 -0
- package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/es/components/schedules/model.d.ts +9 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/products/index.d.ts +1 -0
- package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
- package/es/components/schedules/products/list/index.d.ts +1 -0
- package/es/components/schedules/resources/index.d.ts +1 -0
- package/es/components/schedules/resources/list/index.d.ts +1 -0
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/schedules/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
- package/es/components/shoppingCart/index.d.ts +1 -0
- package/es/components/shoppingCart/locales.d.ts +33 -0
- package/es/components/shoppingCart/type.d.ts +48 -0
- package/es/components/subTotal/locales.d.ts +42 -0
- package/es/components/systemSettings/registry/locales.d.ts +272 -0
- package/es/components/systemSettings/registry/services.d.ts +77 -0
- package/es/components/systemSettings/registry/types.d.ts +126 -0
- package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
- package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
- package/es/components/ticketBooking/locales.d.ts +174 -0
- package/es/components/wallet/utils.d.ts +48 -0
- package/es/components/walletList/locales.d.ts +27 -0
- package/es/components/walletList/types/index.d.ts +194 -0
- package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/es/hooks/useEngineContext.d.ts +10 -0
- package/es/hooks/usePaymentLogger.d.ts +1 -0
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/plus/clientName/index.d.ts +4 -0
- package/es/plus/clientName/type.d.ts +13 -0
- package/es/plus/clientName/utils.d.ts +2 -0
- package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
- package/es/plus/contactInfo/locales.d.ts +15 -0
- package/es/plus/contactInfo/types.d.ts +91 -0
- package/es/plus/contactInfo/utils.d.ts +7 -0
- package/es/plus/contactInfoModal/locales.d.ts +66 -0
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/es/plus/productSelect/index.js +5 -1
- package/es/plus/saasCreateOrganization/components/Header.d.ts +1 -0
- package/es/plus/saasRegister/components/EntryEmail.d.ts +1 -0
- package/es/plus/saasRegister/components/EntryInfo.d.ts +1 -0
- package/es/plus/saasRegister/components/GoLogin.d.ts +1 -0
- package/es/plus/saasRegister/components/Header.d.ts +1 -0
- package/es/plus/saasRegister/components/VerifyError.d.ts +1 -0
- package/es/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
- package/es/plus/selectHolder/locales.d.ts +21 -0
- package/es/plus/selectHolder/types.d.ts +104 -0
- package/es/plus/selectHolder/utils.d.ts +9 -0
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
- package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
- package/es/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
- package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
- package/es/plus/skuOptionsSelection/locales.d.ts +30 -0
- package/es/plus/skuOptionsSelection/store/actions.d.ts +22 -0
- package/es/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
- package/es/plus/skuOptionsSelection/store/index.d.ts +2 -0
- package/es/plus/skuOptionsSelection/store/store.d.ts +4 -0
- package/es/plus/skuOptionsSelection/types.d.ts +424 -0
- package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
- package/es/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
- package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
- package/es/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
- package/es/plus/walletEditor/locales.d.ts +135 -0
- package/es/plus/walletEditor/types.d.ts +52 -0
- package/es/plus/walletPassGallery/locales.d.ts +285 -0
- package/es/plus/walletPassGallery/utils.d.ts +48 -0
- package/es/pro/Login2.0/hooks/index.d.ts +2 -0
- package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
- package/es/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
- package/es/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
- package/es/pro/Login2.0/locales.d.ts +543 -0
- package/es/pro/Login2.0/shared/Header.d.ts +11 -0
- package/es/pro/Login2.0/shared/registerFlow.d.ts +116 -0
- package/es/pro/Login2.0/shared/types.d.ts +232 -0
- package/es/pro/Login2.0/steps/CodeInput.js +37 -7
- package/es/pro/Login2.0/types.d.ts +167 -0
- package/es/pro/NumericStepper/index.d.ts +43 -0
- package/es/pro/Selector/BatchSelectorDemo.d.ts +3 -0
- package/es/pro/Selector/Item.d.ts +14 -0
- package/es/pro/Selector/Selector.stories.d.ts +78 -0
- package/es/pro/Selector/components/Card/index.d.ts +57 -0
- package/es/pro/Selector/components/Card/types.d.ts +1 -0
- package/es/pro/Selector/components/Indicator/index.d.ts +19 -0
- package/es/pro/Selector/components/IntersectionObserver.d.ts +105 -0
- package/es/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
- package/es/pro/Selector/components/Media/index.d.ts +6 -0
- package/es/pro/Selector/components/Media/types.d.ts +47 -0
- package/es/pro/Selector/components/index.d.ts +4 -0
- package/es/pro/Selector/demo.d.ts +2 -0
- package/es/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
- package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
- package/es/pro/Selector/index.d.ts +11 -0
- package/es/pro/Selector/locales.d.ts +36 -0
- package/es/pro/Selector/types.d.ts +173 -0
- package/es/pro/Selector/utils/index.d.ts +49 -0
- package/es/pro/pisellPaymentList/example.d.ts +19 -0
- package/es/test/setup.d.ts +1 -0
- package/lib/businessModel/SalesModel/index.d.ts +0 -1
- package/lib/components/Sales/Summary/utils.d.ts +51 -0
- 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/locales.d.ts +363 -0
- package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
- package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
- package/lib/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
- package/lib/components/authentication/admin/AuthMethods/types.d.ts +76 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
- package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
- package/lib/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
- package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
- package/lib/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
- package/lib/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
- package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
- package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
- package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
- package/lib/components/authentication/index.d.ts +0 -0
- package/lib/components/booking/addons/model.d.ts +10 -1
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
- package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
- package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +1 -0
- package/lib/components/booking/components/tabPane/index.d.ts +4 -0
- package/lib/components/booking/dashboard/serve.d.ts +1 -0
- package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
- package/lib/components/booking/forms/model.d.ts +10 -1
- package/lib/components/booking/forms/serve.d.ts +18 -0
- package/lib/components/booking/forms/single/index.d.ts +1 -0
- package/lib/components/booking/forms/table/index.d.ts +1 -0
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
- package/lib/components/booking/info/client/serve.d.ts +2 -0
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/lib/components/booking/info/date/index.d.ts +1 -0
- package/lib/components/booking/info/dateRange/index.d.ts +0 -1
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/lib/components/booking/info/index.d.ts +0 -1
- package/lib/components/booking/info/model.d.ts +10 -1
- package/lib/components/booking/info/notes/index.d.ts +1 -0
- package/lib/components/booking/info/pet/serve.d.ts +1 -0
- package/lib/components/booking/info/service/Lists.d.ts +0 -1
- package/lib/components/booking/info/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
- package/lib/components/booking/info/service/serve.d.ts +20 -0
- package/lib/components/booking/info/service2/Lists.d.ts +0 -1
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
- package/lib/components/booking/locales.d.ts +843 -0
- package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
- package/lib/components/booking/materiels/duration/index.d.ts +1 -0
- package/lib/components/booking/materiels/holder/index.d.ts +1 -0
- package/lib/components/booking/model.d.ts +9 -1
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
- package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/lib/components/booking/notes/model.d.ts +10 -1
- package/lib/components/booking/payments/model.d.ts +10 -1
- package/lib/components/eftpos/index.d.ts +1 -0
- package/lib/components/eftpos/pos.d.ts +1 -0
- package/lib/components/eftposPay/amount.d.ts +2 -1
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
- package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
- package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
- package/lib/components/eftposPay/const.d.ts +184 -0
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/locales.d.ts +330 -0
- package/lib/components/eftposPay/pay.d.ts +1 -0
- package/lib/components/eftposPay/payo/config.d.ts +1 -0
- package/lib/components/eftposPay/tip.d.ts +1 -0
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
- package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/lib/components/login/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentList/index.d.ts +1 -1
- package/lib/components/pay/toC/PaymentList/index.js +36 -5
- package/lib/components/pay/toC/PaymentList/index.less +58 -1
- package/lib/components/pay/toC/PaymentList/payment/credit_card.png +0 -0
- package/lib/components/pay/toC/PaymentList/payment/visa.png +0 -0
- package/lib/components/pay/toC/PaymentList/serve.d.ts +1 -1
- package/lib/components/pay/toC/PaymentList/serve.js +6 -1
- package/lib/components/pay/toC/PaymentList/utils.d.ts +36 -0
- package/lib/components/pay/toC/PaymentList/utils.js +155 -7
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/lib/components/pay/toC/index.js +2 -1
- package/lib/components/pay/toC/locales.d.ts +307 -0
- package/lib/components/pay/toC/locales.js +9 -3
- package/lib/components/pay/toC/model.d.ts +9 -1
- package/lib/components/pay/toC/status.d.ts +13 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/lib/components/ruleSetting/locales.d.ts +48 -0
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/lib/components/schedules/calendar/index.d.ts +1 -0
- package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/lib/components/schedules/model.d.ts +9 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/products/index.d.ts +1 -0
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
- package/lib/components/schedules/products/list/index.d.ts +1 -0
- package/lib/components/schedules/resources/index.d.ts +1 -0
- package/lib/components/schedules/resources/list/index.d.ts +1 -0
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/schedules/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
- package/lib/components/shoppingCart/index.d.ts +1 -0
- package/lib/components/shoppingCart/locales.d.ts +33 -0
- package/lib/components/shoppingCart/type.d.ts +48 -0
- package/lib/components/subTotal/locales.d.ts +42 -0
- package/lib/components/systemSettings/registry/locales.d.ts +272 -0
- package/lib/components/systemSettings/registry/services.d.ts +77 -0
- package/lib/components/systemSettings/registry/types.d.ts +126 -0
- package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
- package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
- package/lib/components/ticketBooking/locales.d.ts +174 -0
- package/lib/components/wallet/utils.d.ts +48 -0
- package/lib/components/walletList/locales.d.ts +27 -0
- package/lib/components/walletList/types/index.d.ts +194 -0
- package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/lib/hooks/useEngineContext.d.ts +10 -0
- package/lib/hooks/usePaymentLogger.d.ts +1 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/plus/clientName/index.d.ts +4 -0
- package/lib/plus/clientName/type.d.ts +13 -0
- package/lib/plus/clientName/utils.d.ts +2 -0
- package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
- package/lib/plus/contactInfo/locales.d.ts +15 -0
- package/lib/plus/contactInfo/types.d.ts +91 -0
- package/lib/plus/contactInfo/utils.d.ts +7 -0
- package/lib/plus/contactInfoModal/locales.d.ts +66 -0
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/lib/plus/productSelect/index.js +4 -1
- package/lib/plus/saasCreateOrganization/components/Header.d.ts +1 -0
- package/lib/plus/saasRegister/components/EntryEmail.d.ts +1 -0
- package/lib/plus/saasRegister/components/EntryInfo.d.ts +1 -0
- package/lib/plus/saasRegister/components/GoLogin.d.ts +1 -0
- package/lib/plus/saasRegister/components/Header.d.ts +1 -0
- package/lib/plus/saasRegister/components/VerifyError.d.ts +1 -0
- package/lib/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
- package/lib/plus/selectHolder/locales.d.ts +21 -0
- package/lib/plus/selectHolder/types.d.ts +104 -0
- package/lib/plus/selectHolder/utils.d.ts +9 -0
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
- package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
- package/lib/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
- package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
- package/lib/plus/skuOptionsSelection/locales.d.ts +30 -0
- package/lib/plus/skuOptionsSelection/store/actions.d.ts +22 -0
- package/lib/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
- package/lib/plus/skuOptionsSelection/store/index.d.ts +2 -0
- package/lib/plus/skuOptionsSelection/store/store.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/types.d.ts +424 -0
- package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
- package/lib/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
- package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
- package/lib/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
- package/lib/plus/walletEditor/locales.d.ts +135 -0
- package/lib/plus/walletEditor/types.d.ts +52 -0
- package/lib/plus/walletPassGallery/locales.d.ts +285 -0
- package/lib/plus/walletPassGallery/utils.d.ts +48 -0
- package/lib/pro/Login2.0/hooks/index.d.ts +2 -0
- package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
- package/lib/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
- package/lib/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
- package/lib/pro/Login2.0/locales.d.ts +543 -0
- package/lib/pro/Login2.0/shared/Header.d.ts +11 -0
- package/lib/pro/Login2.0/shared/registerFlow.d.ts +116 -0
- package/lib/pro/Login2.0/shared/types.d.ts +232 -0
- package/lib/pro/Login2.0/steps/CodeInput.js +27 -5
- package/lib/pro/Login2.0/types.d.ts +167 -0
- package/lib/pro/NumericStepper/index.d.ts +43 -0
- package/lib/pro/Selector/BatchSelectorDemo.d.ts +3 -0
- package/lib/pro/Selector/Item.d.ts +14 -0
- package/lib/pro/Selector/Selector.stories.d.ts +78 -0
- package/lib/pro/Selector/components/Card/index.d.ts +57 -0
- package/lib/pro/Selector/components/Card/types.d.ts +1 -0
- package/lib/pro/Selector/components/Indicator/index.d.ts +19 -0
- package/lib/pro/Selector/components/IntersectionObserver.d.ts +105 -0
- package/lib/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
- package/lib/pro/Selector/components/Media/index.d.ts +6 -0
- package/lib/pro/Selector/components/Media/types.d.ts +47 -0
- package/lib/pro/Selector/components/index.d.ts +4 -0
- package/lib/pro/Selector/demo.d.ts +2 -0
- package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
- package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
- package/lib/pro/Selector/index.d.ts +11 -0
- package/lib/pro/Selector/locales.d.ts +36 -0
- package/lib/pro/Selector/types.d.ts +173 -0
- package/lib/pro/Selector/utils/index.d.ts +49 -0
- package/lib/pro/pisellPaymentList/example.d.ts +19 -0
- package/lib/test/setup.d.ts +1 -0
- package/package.json +1 -1
|
@@ -20,7 +20,7 @@ export declare const getPaymentList: (values: any) => Promise<{
|
|
|
20
20
|
* @Author: zhiwei.Wang
|
|
21
21
|
* @Date: 2024-08-16 10:57
|
|
22
22
|
*/
|
|
23
|
-
export declare const filterPaymentList: (list: any[], platform: string | undefined, isApp: boolean) => {
|
|
23
|
+
export declare const filterPaymentList: (list: any[], platform: string | undefined, isApp: boolean, amount?: number) => {
|
|
24
24
|
message: string;
|
|
25
25
|
status: string;
|
|
26
26
|
paymentList: any[];
|
|
@@ -17,6 +17,7 @@ import { request } from "../../../../utils";
|
|
|
17
17
|
import { paymentKeys } from "./status";
|
|
18
18
|
import { isWx, isIOS } from '@pisell/utils';
|
|
19
19
|
import { paymentTypes, isCustomPayment } from "./status";
|
|
20
|
+
import { formatCreditCardSurchargeList, formatCreditCardSurchargeText } from "./utils";
|
|
20
21
|
|
|
21
22
|
/**
|
|
22
23
|
* @title: 获取支付列表
|
|
@@ -72,6 +73,7 @@ var sortArr = ['mw.google', 'mw.apple', 'mw.credit_card', 'stripe', 'pisell.bank
|
|
|
72
73
|
export var filterPaymentList = function filterPaymentList(list) {
|
|
73
74
|
var platform = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'h5';
|
|
74
75
|
var isApp = arguments.length > 2 ? arguments[2] : undefined;
|
|
76
|
+
var amount = arguments.length > 3 ? arguments[3] : undefined;
|
|
75
77
|
var paymentList = _toConsumableArray(list);
|
|
76
78
|
var _paymentKeys = _toConsumableArray(paymentKeys);
|
|
77
79
|
|
|
@@ -146,6 +148,12 @@ export var filterPaymentList = function filterPaymentList(list) {
|
|
|
146
148
|
if (isCustomPayment(d.service)) {
|
|
147
149
|
service = service + '|' + d.params.custom_payment_id;
|
|
148
150
|
}
|
|
151
|
+
|
|
152
|
+
// visa/master手续费特殊处理
|
|
153
|
+
if (service === 'mw.credit_card') {
|
|
154
|
+
d.surcharge = formatCreditCardSurchargeText(d === null || d === void 0 ? void 0 : d.surcharge_config, d === null || d === void 0 ? void 0 : d.surcharge_text);
|
|
155
|
+
d.surcharge_config_result = formatCreditCardSurchargeList(d, amount !== null && amount !== void 0 ? amount : 0);
|
|
156
|
+
}
|
|
149
157
|
return _objectSpread(_objectSpread({}, d), {}, {
|
|
150
158
|
service: service,
|
|
151
159
|
title: d.name,
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @description: visa/master手续费是否一致
|
|
3
|
+
* @param {any} creditCardConfig
|
|
4
|
+
* @return {*}
|
|
5
|
+
*/
|
|
6
|
+
export declare const isCreditCardSurchargeSame: (creditCardConfig: any[]) => boolean;
|
|
7
|
+
/**
|
|
8
|
+
* @description: 格式化visa/master手续费
|
|
9
|
+
* @param {any} item 支付列表项
|
|
10
|
+
* @param {number} amount 订单金额
|
|
11
|
+
* @param {boolean} isSame 手续费是否一致
|
|
12
|
+
* @return {*}
|
|
13
|
+
*/
|
|
14
|
+
export declare const formatCreditCardSurcharge: (item: any, amount: number, isSame: boolean) => any;
|
|
15
|
+
/**
|
|
16
|
+
* @description: 格式化visa/master手续费列表
|
|
17
|
+
* @param {any} item
|
|
18
|
+
* @param {number} amount
|
|
19
|
+
* @return {*}
|
|
20
|
+
*/
|
|
21
|
+
export declare const formatCreditCardSurchargeList: (item: any, amount: number) => any;
|
|
22
|
+
/**
|
|
23
|
+
* @description: 格式化visa/master手续费文案,只显示百分比区间
|
|
24
|
+
* @return {*}
|
|
25
|
+
*/
|
|
26
|
+
export declare const formatCreditCardSurchargeText: (surcharge_config: any[], surcharge_text: string) => string;
|
|
27
|
+
/**
|
|
28
|
+
* @title: 计算支付列表的手续费
|
|
29
|
+
* @description:
|
|
30
|
+
* @param {any} paymentList
|
|
31
|
+
* @param {number} amount
|
|
32
|
+
* @return {*}
|
|
33
|
+
* @Author: zhiwei.Wang
|
|
34
|
+
* @Date: 2024-08-18 09:30
|
|
35
|
+
*/
|
|
36
|
+
export declare const calculateSurcharge: (paymentList: any[], amount: number) => any[];
|
|
@@ -1,12 +1,191 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
1
2
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
2
3
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
4
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
4
5
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
5
6
|
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
6
7
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
8
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
9
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
10
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
11
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
12
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
13
|
+
import visaIcon from "./payment/visa.png";
|
|
14
|
+
import creditCardIcon from "./payment/credit_card.png";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* @description: visa/master手续费是否一致
|
|
18
|
+
* @param {any} creditCardConfig
|
|
19
|
+
* @return {*}
|
|
20
|
+
*/
|
|
21
|
+
export var isCreditCardSurchargeSame = function isCreditCardSurchargeSame(creditCardConfig) {
|
|
22
|
+
try {
|
|
23
|
+
// 将配置项转换为map key为credit_card_type_area value为config对象
|
|
24
|
+
var configMap = {};
|
|
25
|
+
creditCardConfig.forEach(function (config) {
|
|
26
|
+
var key = "".concat((config === null || config === void 0 ? void 0 : config.credit_card_type) || '-', "_").concat((config === null || config === void 0 ? void 0 : config.area) || '-');
|
|
27
|
+
configMap[key] = config;
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
// 获取配置项
|
|
31
|
+
var visaDomestic = configMap['visa_domestic'];
|
|
32
|
+
var visaWorld = configMap['visa_world'];
|
|
33
|
+
var masterDomestic = configMap['master_domestic'];
|
|
34
|
+
var masterWorld = configMap['master_world'];
|
|
35
|
+
var formatFee = function formatFee(config) {
|
|
36
|
+
var _ref, _config$percent, _config$amount;
|
|
37
|
+
if (!config) return null;
|
|
38
|
+
|
|
39
|
+
// 后端字段不统一, 做下兼容
|
|
40
|
+
var percent = parseFloat((_ref = (_config$percent = config.percent) !== null && _config$percent !== void 0 ? _config$percent : config.percentage) !== null && _ref !== void 0 ? _ref : '0');
|
|
41
|
+
var amount = parseFloat((_config$amount = config.amount) !== null && _config$amount !== void 0 ? _config$amount : '0');
|
|
42
|
+
return {
|
|
43
|
+
percentStr: percent,
|
|
44
|
+
amountStr: amount
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
var visaDomesticFee = formatFee(visaDomestic);
|
|
48
|
+
var visaWorldFee = formatFee(visaWorld);
|
|
49
|
+
var masterDomesticFee = formatFee(masterDomestic);
|
|
50
|
+
var masterWorldFee = formatFee(masterWorld);
|
|
51
|
+
|
|
52
|
+
// 判断手续费是否一致的辅助函数
|
|
53
|
+
var isFeeSame = function isFeeSame(fee1, fee2) {
|
|
54
|
+
if (!fee1 || !fee2) return false;
|
|
55
|
+
|
|
56
|
+
// 判断百分比和固定金额是否一致
|
|
57
|
+
return fee1.percentStr === fee2.percentStr && fee1.amountStr === fee2.amountStr;
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
// 判断国内和国际手续费是否一致
|
|
61
|
+
var isDomesticSame = isFeeSame(visaDomesticFee, masterDomesticFee);
|
|
62
|
+
var isWorldSame = isFeeSame(visaWorldFee, masterWorldFee);
|
|
63
|
+
var isAllSame = isDomesticSame && isWorldSame;
|
|
64
|
+
return isAllSame;
|
|
65
|
+
} catch (error) {
|
|
66
|
+
return false;
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @description: 计算手续费 百分比 * amount + 固定金额
|
|
72
|
+
* @param {any} config
|
|
73
|
+
* @param {number} amount
|
|
74
|
+
* @return {*}
|
|
75
|
+
*/
|
|
76
|
+
var totalFee = function totalFee(config, amount) {
|
|
77
|
+
var _config$percent2;
|
|
78
|
+
// 后端字段不统一?, 做下兼容
|
|
79
|
+
var percentageFee = parseFloat((_config$percent2 = config.percent) !== null && _config$percent2 !== void 0 ? _config$percent2 : config.percentage) * Number(amount);
|
|
80
|
+
var totalFee = percentageFee + parseFloat(config.amount);
|
|
81
|
+
return totalFee;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @description: 格式化visa/master手续费
|
|
86
|
+
* @param {any} item 支付列表项
|
|
87
|
+
* @param {number} amount 订单金额
|
|
88
|
+
* @param {boolean} isSame 手续费是否一致
|
|
89
|
+
* @return {*}
|
|
90
|
+
*/
|
|
91
|
+
export var formatCreditCardSurcharge = function formatCreditCardSurcharge(item, amount, isSame) {
|
|
92
|
+
try {
|
|
93
|
+
var surcharge_config = item.surcharge_config,
|
|
94
|
+
currency_symbol = item.currency_symbol;
|
|
95
|
+
|
|
96
|
+
// 格式化手续费列表
|
|
97
|
+
var formatSurchargeList = function formatSurchargeList(list) {
|
|
98
|
+
return list === null || list === void 0 ? void 0 : list.map(function (config) {
|
|
99
|
+
var _ref2, _config$percent3;
|
|
100
|
+
// 后端字段不统一, 做下兼容
|
|
101
|
+
var percentageFee = parseFloat((_ref2 = (_config$percent3 = config === null || config === void 0 ? void 0 : config.percent) !== null && _config$percent3 !== void 0 ? _config$percent3 : config === null || config === void 0 ? void 0 : config.percentage) !== null && _ref2 !== void 0 ? _ref2 : 0);
|
|
102
|
+
var percent = (percentageFee * 100).toFixed(2);
|
|
103
|
+
var amountFee = parseFloat(config === null || config === void 0 ? void 0 : config.amount).toFixed(2);
|
|
104
|
+
var _totalFee = totalFee(config, amount).toFixed(2);
|
|
105
|
+
var areaText = (config === null || config === void 0 ? void 0 : config.area) === 'world' ? 'tocPay.text.rest-of-world' : 'tocPay.text.domestic';
|
|
106
|
+
return _objectSpread(_objectSpread({}, config), {}, {
|
|
107
|
+
area_text: areaText,
|
|
108
|
+
surcharge_text: "".concat(percent, "% + ").concat(currency_symbol).concat(amountFee),
|
|
109
|
+
surcharge_fee: "".concat(currency_symbol).concat(_totalFee)
|
|
110
|
+
});
|
|
111
|
+
});
|
|
112
|
+
};
|
|
113
|
+
if (isSame) {
|
|
114
|
+
// 手续费一致 返回visa和master的其中一条手续费列表
|
|
115
|
+
var visaResult = surcharge_config.filter(function (config) {
|
|
116
|
+
return config.credit_card_type === 'visa';
|
|
117
|
+
});
|
|
118
|
+
return [{
|
|
119
|
+
icons: [visaIcon, creditCardIcon],
|
|
120
|
+
name: 'Visa / Mastercard',
|
|
121
|
+
lists: formatSurchargeList(visaResult)
|
|
122
|
+
}];
|
|
123
|
+
} else {
|
|
124
|
+
// 手续费不一致 分别返回visa和master的手续费列表
|
|
125
|
+
var _visaResult = surcharge_config.filter(function (config) {
|
|
126
|
+
return config.credit_card_type === 'visa';
|
|
127
|
+
});
|
|
128
|
+
var masterResult = surcharge_config.filter(function (config) {
|
|
129
|
+
return config.credit_card_type === 'master';
|
|
130
|
+
});
|
|
131
|
+
return [{
|
|
132
|
+
icons: [visaIcon],
|
|
133
|
+
name: 'Visa',
|
|
134
|
+
lists: formatSurchargeList(_visaResult)
|
|
135
|
+
}, {
|
|
136
|
+
icons: [creditCardIcon],
|
|
137
|
+
name: 'Mastercard',
|
|
138
|
+
lists: formatSurchargeList(masterResult)
|
|
139
|
+
}];
|
|
140
|
+
}
|
|
141
|
+
} catch (error) {
|
|
142
|
+
console.error(error);
|
|
143
|
+
return [];
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* @description: 格式化visa/master手续费列表
|
|
149
|
+
* @param {any} item
|
|
150
|
+
* @param {number} amount
|
|
151
|
+
* @return {*}
|
|
152
|
+
*/
|
|
153
|
+
export var formatCreditCardSurchargeList = function formatCreditCardSurchargeList(item, amount) {
|
|
154
|
+
var isSame = isCreditCardSurchargeSame((item === null || item === void 0 ? void 0 : item.surcharge_config) || []);
|
|
155
|
+
return formatCreditCardSurcharge(item || {}, amount, isSame);
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* @description: 格式化visa/master手续费文案,只显示百分比区间
|
|
160
|
+
* @return {*}
|
|
161
|
+
*/
|
|
162
|
+
export var formatCreditCardSurchargeText = function formatCreditCardSurchargeText(surcharge_config, surcharge_text) {
|
|
163
|
+
try {
|
|
164
|
+
if (!Array.isArray(surcharge_config) || surcharge_config.length === 0) {
|
|
165
|
+
return surcharge_text;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
// 找出最小百分比和最大百分比
|
|
169
|
+
var percentList = surcharge_config.map(function (config) {
|
|
170
|
+
var _ref3, _config$percent4;
|
|
171
|
+
return parseFloat((_ref3 = (_config$percent4 = config.percent) !== null && _config$percent4 !== void 0 ? _config$percent4 : config.percentage) !== null && _ref3 !== void 0 ? _ref3 : '0') * 100;
|
|
172
|
+
});
|
|
173
|
+
var minPercent = Math.min.apply(Math, _toConsumableArray(percentList));
|
|
174
|
+
var maxPercent = Math.max.apply(Math, _toConsumableArray(percentList));
|
|
175
|
+
|
|
176
|
+
// 如果最大值和最小值相等,则直接使用其中一个
|
|
177
|
+
if (minPercent === maxPercent) {
|
|
178
|
+
return "".concat(surcharge_text).concat(minPercent, "%");
|
|
179
|
+
}
|
|
180
|
+
return "".concat(surcharge_text).concat(minPercent, "% ~ ").concat(maxPercent, "%");
|
|
181
|
+
} catch (error) {
|
|
182
|
+
return surcharge_text;
|
|
183
|
+
}
|
|
184
|
+
};
|
|
185
|
+
|
|
7
186
|
/**
|
|
8
187
|
* @title: 计算支付列表的手续费
|
|
9
|
-
* @description:
|
|
188
|
+
* @description:
|
|
10
189
|
* @param {any} paymentList
|
|
11
190
|
* @param {number} amount
|
|
12
191
|
* @return {*}
|
|
@@ -27,11 +206,7 @@ export var calculateSurcharge = function calculateSurcharge(paymentList, amount)
|
|
|
27
206
|
|
|
28
207
|
// 分别计算出每一项的手续费 百分比 * amount + 固定金额
|
|
29
208
|
var fees = surcharge_config.map(function (config) {
|
|
30
|
-
|
|
31
|
-
// 后端字段不统一?, 做下兼容
|
|
32
|
-
var percentageFee = parseFloat((_config$percent = config.percent) !== null && _config$percent !== void 0 ? _config$percent : config.percentage) * Number(amount);
|
|
33
|
-
var totalFee = percentageFee + parseFloat(config.amount);
|
|
34
|
-
return totalFee;
|
|
209
|
+
return totalFee(config, amount);
|
|
35
210
|
});
|
|
36
211
|
|
|
37
212
|
// 取出最小值和最大值
|
|
@@ -48,6 +223,12 @@ export var calculateSurcharge = function calculateSurcharge(paymentList, amount)
|
|
|
48
223
|
// 不一致展示区间
|
|
49
224
|
payment.surcharge = "".concat(surcharge_text).concat(currency_symbol).concat(minFee.toFixed(2), " ~ ").concat(currency_symbol).concat(maxFee.toFixed(2));
|
|
50
225
|
}
|
|
226
|
+
|
|
227
|
+
// visa/master手续费特殊处理
|
|
228
|
+
if (payment.service === 'mw.credit_card') {
|
|
229
|
+
payment.surcharge = formatCreditCardSurchargeText(surcharge_config, surcharge_text);
|
|
230
|
+
payment.surcharge_config_result = formatCreditCardSurchargeList(payment, amount);
|
|
231
|
+
}
|
|
51
232
|
return payment;
|
|
52
233
|
});
|
|
53
234
|
};
|
|
@@ -314,7 +314,7 @@ var ToCPay = function ToCPay(props, ref) {
|
|
|
314
314
|
|
|
315
315
|
// 初始化支付列表
|
|
316
316
|
_context3.next = 11;
|
|
317
|
-
return (_paymentListRef$curre = paymentListRef.current) === null || _paymentListRef$curre === void 0 ? void 0 : _paymentListRef$curre.init(payment_list);
|
|
317
|
+
return (_paymentListRef$curre = paymentListRef.current) === null || _paymentListRef$curre === void 0 ? void 0 : _paymentListRef$curre.init(payment_list, remain_amount || 0);
|
|
318
318
|
case 11:
|
|
319
319
|
// 解除loading
|
|
320
320
|
setTimeout(function () {
|
|
@@ -894,6 +894,7 @@ var ToCPay = function ToCPay(props, ref) {
|
|
|
894
894
|
open: open,
|
|
895
895
|
cancelVisible: false,
|
|
896
896
|
okText: okText,
|
|
897
|
+
wrapClassName: 'toc-pay-modal-content',
|
|
897
898
|
bodyStyle: {
|
|
898
899
|
padding: 24
|
|
899
900
|
},
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'tocPay.text.checkout': string;
|
|
4
|
+
'tocPay.text.total': string;
|
|
5
|
+
'tocPay.text.completePaymentIn': string;
|
|
6
|
+
'tocPay.text.paymentInstruction': string;
|
|
7
|
+
'tocPay.text.serviceCharge': string;
|
|
8
|
+
'tocPay.text.noAvailablePaymentMethods': string;
|
|
9
|
+
'tocPay.text.paymentMethod': string;
|
|
10
|
+
'tocPay.text.connectingApplePay': string;
|
|
11
|
+
'tocPay.text.connectingGooglePay': string;
|
|
12
|
+
'tocPay.text.enterName': string;
|
|
13
|
+
'tocPay.text.enterValidName': string;
|
|
14
|
+
'tocPay.text.enterCardNumber': string;
|
|
15
|
+
'tocPay.text.enterValidCardNumber': string;
|
|
16
|
+
'tocPay.text.enterExpirationDate': string;
|
|
17
|
+
'tocPay.text.enterCVV': string;
|
|
18
|
+
'tocPay.text.enterValidCVV': string;
|
|
19
|
+
'tocPay.text.addCard': string;
|
|
20
|
+
'tocPay.text.creditorDebitCard': string;
|
|
21
|
+
'tocPay.text.addCreditOrDebitCard': string;
|
|
22
|
+
'tocPay.text.cardNumber': string;
|
|
23
|
+
'tocPay.text.incorrectCardNumber': string;
|
|
24
|
+
'tocPay.text.expiration': string;
|
|
25
|
+
'tocPay.text.incorrectExpiryDate': string;
|
|
26
|
+
'tocPay.text.securityCode': string;
|
|
27
|
+
'tocPay.text.incorrectSecurityCode': string;
|
|
28
|
+
'tocPay.text.cardholderName': string;
|
|
29
|
+
'tocPay.text.enterEnglishName': string;
|
|
30
|
+
'tocPay.text.incorrectName': string;
|
|
31
|
+
'tocPay.text.saveCardForNextTime': string;
|
|
32
|
+
'tocPay.text.secureBankInfo': string;
|
|
33
|
+
'tocPay.text.pay': string;
|
|
34
|
+
'tocPay.text.surcharge': string;
|
|
35
|
+
'tocPay.text.done': string;
|
|
36
|
+
'tocPay.text.manageCard': string;
|
|
37
|
+
'tocPay.text.waitingForBankVerification': string;
|
|
38
|
+
'tocPay.text.successBack': string;
|
|
39
|
+
'tocPay.text.redirectingToAlipay': string;
|
|
40
|
+
'tocPay.text.redirectingToPaypal': string;
|
|
41
|
+
'tocPay.text.redirectingToWeChatPay': string;
|
|
42
|
+
'tocPay.text.submit': string;
|
|
43
|
+
'tocPay.text.clickSubmitToComplete': string;
|
|
44
|
+
'tocPay.text.noExtraPayNeeded': string;
|
|
45
|
+
'tocPay.text.continuePayment': string;
|
|
46
|
+
'tocPay.text.prompt': string;
|
|
47
|
+
'tocPay.text.confirmLeave': string;
|
|
48
|
+
'tocPay.text.continuePay': string;
|
|
49
|
+
'tocPay.text.leave': string;
|
|
50
|
+
'tocPay.text.getParamsFail': string;
|
|
51
|
+
'tocPay.text.walletPass': string;
|
|
52
|
+
'tocPay.text.toUse': string;
|
|
53
|
+
'tocPay.text.searchResult': string;
|
|
54
|
+
'tocPay.text.select': string;
|
|
55
|
+
'tocPay.text.couponCodesAdded': string;
|
|
56
|
+
'tocPay.text.redeem': string;
|
|
57
|
+
'tocPay.text.howToPay': string;
|
|
58
|
+
'tocPay.text.congrats': string;
|
|
59
|
+
'tocPay.text.creditHaveBeen': string;
|
|
60
|
+
'tocPay.text.walletPassCodesTitle': string;
|
|
61
|
+
'tocPay.text.scanBarQrCode': string;
|
|
62
|
+
'tocPay.text.enterCodes': string;
|
|
63
|
+
'tocPay.text.searchDescribe': string;
|
|
64
|
+
'tocPay.text.walletPassEmpty': (walletName: string) => string;
|
|
65
|
+
'tocPay.text.walletPassDisabled': string;
|
|
66
|
+
'tocPay.text.walletPassPermanent': string;
|
|
67
|
+
'tocPay.text.walletPassCompleteTitle': string;
|
|
68
|
+
'tocPay.text.walletPassNoExtraPay': string;
|
|
69
|
+
'tocPay.text.walletCanPay': string;
|
|
70
|
+
'tocPay.text.paymentInstructions': string;
|
|
71
|
+
'tocPay.text.walletSearchEmpty': string;
|
|
72
|
+
'tocPay.text.detectIncognitoConfirm': string;
|
|
73
|
+
'tocPay.text.copyLink': string;
|
|
74
|
+
'tocPay.text.copySuccess': string;
|
|
75
|
+
'tocPay.text.walletName': (shopName: string) => string;
|
|
76
|
+
'tocPay.text.bestValueFound': string;
|
|
77
|
+
'tocPay.text.welcomeToUseWalletPass': (walletName: string) => string;
|
|
78
|
+
'tocPay.text.totalSavings': string;
|
|
79
|
+
'tocPay.text.bestCombination': (walletName: string) => string;
|
|
80
|
+
'tocPay.text.recommended': string;
|
|
81
|
+
'tocPay.text.edit': string;
|
|
82
|
+
'tocPay.text.confirm': string;
|
|
83
|
+
'tocPay.text.unusedAndContinueToPayment': string;
|
|
84
|
+
'tocPay.text.walletPassAvailable': (walletName: string) => string;
|
|
85
|
+
'tocPay.text.useWalletPass': (walletName: string) => string;
|
|
86
|
+
'tocPay.text.useWalletPassAdd': (walletName: string) => string;
|
|
87
|
+
'tocPay.text.editWalletPass': (walletName: string) => string;
|
|
88
|
+
'tocPay.text.skipAndContinueToPayment': string;
|
|
89
|
+
'tocPay.text.youMightHaveAnEligibleWalletPass': (walletName: string) => string;
|
|
90
|
+
'tocPay.text.checkIfYouHaveAnyPointsCardRechargableCardOrVouchersToUse': string;
|
|
91
|
+
'tocPay.text.addPointsCard': string;
|
|
92
|
+
'tocPay.text.hasNoWalletPassAmount': string;
|
|
93
|
+
'tocPay.text.multipleSelectionAvailable': string;
|
|
94
|
+
'tocPay.text.youCanSelectMultipleWalletPassesToCombineForPayment': (walletName: string) => string;
|
|
95
|
+
'tocPay.text.bestValueCombination': string;
|
|
96
|
+
'tocPay.text.viewDetail': string;
|
|
97
|
+
'tocPay.text.returnAndSelectOtherPaymentMethod': string;
|
|
98
|
+
'tocPay.text.paymentCompletedAndViewOrder': string;
|
|
99
|
+
'tocPay.text.paymentFailed': string;
|
|
100
|
+
'tocPay.text.weAreVerifyingYourPaymentPleaseCheckYourOrderStatusLater': string;
|
|
101
|
+
'tocPay.text.domestic': string;
|
|
102
|
+
'tocPay.text.rest-of-world': string;
|
|
103
|
+
};
|
|
104
|
+
'zh-CN': {
|
|
105
|
+
'tocPay.text.checkout': string;
|
|
106
|
+
'tocPay.text.total': string;
|
|
107
|
+
'tocPay.text.completePaymentIn': string;
|
|
108
|
+
'tocPay.text.paymentInstructions': string;
|
|
109
|
+
'tocPay.text.serviceCharge': string;
|
|
110
|
+
'tocPay.text.noAvailablePaymentMethods': string;
|
|
111
|
+
'tocPay.text.paymentMethod': string;
|
|
112
|
+
'tocPay.text.connectingApplePay': string;
|
|
113
|
+
'tocPay.text.connectingGooglePay': string;
|
|
114
|
+
'tocPay.text.enterName': string;
|
|
115
|
+
'tocPay.text.enterValidName': string;
|
|
116
|
+
'tocPay.text.enterCardNumber': string;
|
|
117
|
+
'tocPay.text.enterValidCardNumber': string;
|
|
118
|
+
'tocPay.text.enterExpirationDate': string;
|
|
119
|
+
'tocPay.text.enterCVV': string;
|
|
120
|
+
'tocPay.text.enterValidCVV': string;
|
|
121
|
+
'tocPay.text.addCard': string;
|
|
122
|
+
'tocPay.text.creditorDebitCard': string;
|
|
123
|
+
'tocPay.text.addCreditOrDebitCard': string;
|
|
124
|
+
'tocPay.text.cardNumber': string;
|
|
125
|
+
'tocPay.text.incorrectCardNumber': string;
|
|
126
|
+
'tocPay.text.expiration': string;
|
|
127
|
+
'tocPay.text.incorrectExpiryDate': string;
|
|
128
|
+
'tocPay.text.securityCode': string;
|
|
129
|
+
'tocPay.text.incorrectSecurityCode': string;
|
|
130
|
+
'tocPay.text.cardholderName': string;
|
|
131
|
+
'tocPay.text.enterEnglishName': string;
|
|
132
|
+
'tocPay.text.incorrectName': string;
|
|
133
|
+
'tocPay.text.saveCardForNextTime': string;
|
|
134
|
+
'tocPay.text.secureBankInfo': string;
|
|
135
|
+
'tocPay.text.pay': string;
|
|
136
|
+
'tocPay.text.surcharge': string;
|
|
137
|
+
'tocPay.text.done': string;
|
|
138
|
+
'tocPay.text.manageCard': string;
|
|
139
|
+
'tocPay.text.waitingForBankVerification': string;
|
|
140
|
+
'tocPay.text.successBack': string;
|
|
141
|
+
'tocPay.text.redirectingToAlipay': string;
|
|
142
|
+
'tocPay.text.redirectingToPaypal': string;
|
|
143
|
+
'tocPay.text.redirectingToWeChatPay': string;
|
|
144
|
+
'tocPay.text.submit': string;
|
|
145
|
+
'tocPay.text.clickSubmitToComplete': string;
|
|
146
|
+
'tocPay.text.noExtraPayNeeded': string;
|
|
147
|
+
'tocPay.text.continuePayment': string;
|
|
148
|
+
'tocPay.text.prompt': string;
|
|
149
|
+
'tocPay.text.confirmLeave': string;
|
|
150
|
+
'tocPay.text.continuePay': string;
|
|
151
|
+
'tocPay.text.leave': string;
|
|
152
|
+
'tocPay.text.getParamsFail': string;
|
|
153
|
+
'tocPay.text.walletPass': string;
|
|
154
|
+
'tocPay.text.toUse': string;
|
|
155
|
+
'tocPay.text.searchResult': string;
|
|
156
|
+
'tocPay.text.select': string;
|
|
157
|
+
'tocPay.text.couponCodesAdded': string;
|
|
158
|
+
'tocPay.text.redeem': string;
|
|
159
|
+
'tocPay.text.howToPay': string;
|
|
160
|
+
'tocPay.text.congrats': string;
|
|
161
|
+
'tocPay.text.creditHaveBeen': string;
|
|
162
|
+
'tocPay.text.walletPassCodesTitle': string;
|
|
163
|
+
'tocPay.text.scanBarQrCode': string;
|
|
164
|
+
'tocPay.text.enterCodes': string;
|
|
165
|
+
'tocPay.text.searchDescribe': string;
|
|
166
|
+
'tocPay.text.walletPassEmpty': (walletName: string) => string;
|
|
167
|
+
'tocPay.text.walletPassDisabled': string;
|
|
168
|
+
'tocPay.text.walletPassPermanent': string;
|
|
169
|
+
'tocPay.text.walletPassCompleteTitle': string;
|
|
170
|
+
'tocPay.text.walletPassNoExtraPay': string;
|
|
171
|
+
'tocPay.text.walletCanPay': string;
|
|
172
|
+
'tocPay.text.walletSearchEmpty': string;
|
|
173
|
+
'tocPay.text.detectIncognitoConfirm': string;
|
|
174
|
+
'tocPay.text.copyLink': string;
|
|
175
|
+
'tocPay.text.copySuccess': string;
|
|
176
|
+
'tocPay.text.walletName': (shopName: string) => string;
|
|
177
|
+
'tocPay.text.bestValueFound': string;
|
|
178
|
+
'tocPay.text.welcomeToUseWalletPass': (walletName: string) => string;
|
|
179
|
+
'tocPay.text.totalSavings': string;
|
|
180
|
+
'tocPay.text.bestCombination': (walletName: string) => string;
|
|
181
|
+
'tocPay.text.recommended': string;
|
|
182
|
+
'tocPay.text.edit': string;
|
|
183
|
+
'tocPay.text.confirm': string;
|
|
184
|
+
'tocPay.text.unusedAndContinueToPayment': string;
|
|
185
|
+
'tocPay.text.walletPassAvailable': (walletName: string) => string;
|
|
186
|
+
'tocPay.text.useWalletPass': (walletName: string) => string;
|
|
187
|
+
'tocPay.text.useWalletPassAdd': (walletName: string) => string;
|
|
188
|
+
'tocPay.text.editWalletPass': (walletName: string) => string;
|
|
189
|
+
'tocPay.text.skipAndContinueToPayment': string;
|
|
190
|
+
'tocPay.text.youMightHaveAnEligibleWalletPass': (walletName: string) => string;
|
|
191
|
+
'tocPay.text.checkIfYouHaveAnyPointsCardRechargableCardOrVouchersToUse': string;
|
|
192
|
+
'tocPay.text.addPointsCard': string;
|
|
193
|
+
'tocPay.text.hasNoWalletPassAmount': string;
|
|
194
|
+
'tocPay.text.multipleSelectionAvailable': string;
|
|
195
|
+
'tocPay.text.youCanSelectMultipleWalletPassesToCombineForPayment': (walletName: string) => string;
|
|
196
|
+
'tocPay.text.bestValueCombination': string;
|
|
197
|
+
'tocPay.text.viewDetail': string;
|
|
198
|
+
'tocPay.text.returnAndSelectOtherPaymentMethod': string;
|
|
199
|
+
'tocPay.text.paymentCompletedAndViewOrder': string;
|
|
200
|
+
'tocPay.text.paymentFailed': string;
|
|
201
|
+
'tocPay.text.weAreVerifyingYourPaymentPleaseCheckYourOrderStatusLater': string;
|
|
202
|
+
'tocPay.text.domestic': string;
|
|
203
|
+
'tocPay.text.rest-of-world': string;
|
|
204
|
+
};
|
|
205
|
+
'zh-HK': {
|
|
206
|
+
'tocPay.text.checkout': string;
|
|
207
|
+
'tocPay.text.total': string;
|
|
208
|
+
'tocPay.text.completePaymentIn': string;
|
|
209
|
+
'tocPay.text.paymentInstructions': string;
|
|
210
|
+
'tocPay.text.serviceCharge': string;
|
|
211
|
+
'tocPay.text.noAvailablePaymentMethods': string;
|
|
212
|
+
'tocPay.text.paymentMethod': string;
|
|
213
|
+
'tocPay.text.connectingApplePay': string;
|
|
214
|
+
'tocPay.text.connectingGooglePay': string;
|
|
215
|
+
'tocPay.text.enterName': string;
|
|
216
|
+
'tocPay.text.enterValidName': string;
|
|
217
|
+
'tocPay.text.enterCardNumber': string;
|
|
218
|
+
'tocPay.text.enterValidCardNumber': string;
|
|
219
|
+
'tocPay.text.enterExpirationDate': string;
|
|
220
|
+
'tocPay.text.enterCVV': string;
|
|
221
|
+
'tocPay.text.enterValidCVV': string;
|
|
222
|
+
'tocPay.text.addCard': string;
|
|
223
|
+
'tocPay.text.creditorDebitCard': string;
|
|
224
|
+
'tocPay.text.addCreditOrDebitCard': string;
|
|
225
|
+
'tocPay.text.cardNumber': string;
|
|
226
|
+
'tocPay.text.incorrectCardNumber': string;
|
|
227
|
+
'tocPay.text.expiration': string;
|
|
228
|
+
'tocPay.text.incorrectExpiryDate': string;
|
|
229
|
+
'tocPay.text.securityCode': string;
|
|
230
|
+
'tocPay.text.incorrectSecurityCode': string;
|
|
231
|
+
'tocPay.text.cardholderName': string;
|
|
232
|
+
'tocPay.text.enterEnglishName': string;
|
|
233
|
+
'tocPay.text.incorrectName': string;
|
|
234
|
+
'tocPay.text.saveCardForNextTime': string;
|
|
235
|
+
'tocPay.text.secureBankInfo': string;
|
|
236
|
+
'tocPay.text.pay': string;
|
|
237
|
+
'tocPay.text.surcharge': string;
|
|
238
|
+
'tocPay.text.done': string;
|
|
239
|
+
'tocPay.text.manageCard': string;
|
|
240
|
+
'tocPay.text.waitingForBankVerification': string;
|
|
241
|
+
'tocPay.text.successBack': string;
|
|
242
|
+
'tocPay.text.redirectingToAlipay': string;
|
|
243
|
+
'tocPay.text.redirectingToPaypal': string;
|
|
244
|
+
'tocPay.text.redirectingToWeChatPay': string;
|
|
245
|
+
'tocPay.text.submit': string;
|
|
246
|
+
'tocPay.text.clickSubmitToComplete': string;
|
|
247
|
+
'tocPay.text.noExtraPayNeeded': string;
|
|
248
|
+
'tocPay.text.continuePayment': string;
|
|
249
|
+
'tocPay.text.prompt': string;
|
|
250
|
+
'tocPay.text.confirmLeave': string;
|
|
251
|
+
'tocPay.text.continuePay': string;
|
|
252
|
+
'tocPay.text.leave': string;
|
|
253
|
+
'tocPay.text.getParamsFail': string;
|
|
254
|
+
'tocPay.text.walletPass': string;
|
|
255
|
+
'tocPay.text.toUse': string;
|
|
256
|
+
'tocPay.text.searchResult': string;
|
|
257
|
+
'tocPay.text.select': string;
|
|
258
|
+
'tocPay.text.couponCodesAdded': string;
|
|
259
|
+
'tocPay.text.redeem': string;
|
|
260
|
+
'tocPay.text.howToPay': string;
|
|
261
|
+
'tocPay.text.congrats': string;
|
|
262
|
+
'tocPay.text.creditHaveBeen': string;
|
|
263
|
+
'tocPay.text.walletPassCodesTitle': string;
|
|
264
|
+
'tocPay.text.scanBarQrCode': string;
|
|
265
|
+
'tocPay.text.enterCodes': string;
|
|
266
|
+
'tocPay.text.searchDescribe': string;
|
|
267
|
+
'tocPay.text.walletPassEmpty': (walletName: string) => string;
|
|
268
|
+
'tocPay.text.walletPassDisabled': string;
|
|
269
|
+
'tocPay.text.walletPassPermanent': string;
|
|
270
|
+
'tocPay.text.walletPassCompleteTitle': string;
|
|
271
|
+
'tocPay.text.walletPassNoExtraPay': string;
|
|
272
|
+
'tocPay.text.walletCanPay': string;
|
|
273
|
+
'tocPay.text.walletSearchEmpty': string;
|
|
274
|
+
'tocPay.text.detectIncognitoConfirm': string;
|
|
275
|
+
'tocPay.text.copyLink': string;
|
|
276
|
+
'tocPay.text.copySuccess': string;
|
|
277
|
+
'tocPay.text.walletName': (shopName: string) => string;
|
|
278
|
+
'tocPay.text.bestValueFound': string;
|
|
279
|
+
'tocPay.text.welcomeToUseWalletPass': (walletName: string) => string;
|
|
280
|
+
'tocPay.text.totalSavings': string;
|
|
281
|
+
'tocPay.text.bestCombination': (walletName: string) => string;
|
|
282
|
+
'tocPay.text.recommended': string;
|
|
283
|
+
'tocPay.text.edit': string;
|
|
284
|
+
'tocPay.text.confirm': string;
|
|
285
|
+
'tocPay.text.unusedAndContinueToPayment': string;
|
|
286
|
+
'tocPay.text.walletPassAvailable': (walletName: string) => string;
|
|
287
|
+
'tocPay.text.useWalletPass': (walletName: string) => string;
|
|
288
|
+
'tocPay.text.useWalletPassAdd': (walletName: string) => string;
|
|
289
|
+
'tocPay.text.editWalletPass': (walletName: string) => string;
|
|
290
|
+
'tocPay.text.skipAndContinueToPayment': string;
|
|
291
|
+
'tocPay.text.youMightHaveAnEligibleWalletPass': (walletName: string) => string;
|
|
292
|
+
'tocPay.text.checkIfYouHaveAnyPointsCardRechargableCardOrVouchersToUse': string;
|
|
293
|
+
'tocPay.text.addPointsCard': string;
|
|
294
|
+
'tocPay.text.hasNoWalletPassAmount': string;
|
|
295
|
+
'tocPay.text.multipleSelectionAvailable': string;
|
|
296
|
+
'tocPay.text.youCanSelectMultipleWalletPassesToCombineForPayment': (walletName: string) => string;
|
|
297
|
+
'tocPay.text.bestValueCombination': string;
|
|
298
|
+
'tocPay.text.viewDetail': string;
|
|
299
|
+
'tocPay.text.returnAndSelectOtherPaymentMethod': string;
|
|
300
|
+
'tocPay.text.paymentCompletedAndViewOrder': string;
|
|
301
|
+
'tocPay.text.paymentFailed': string;
|
|
302
|
+
'tocPay.text.weAreVerifyingYourPaymentPleaseCheckYourOrderStatusLater': string;
|
|
303
|
+
'tocPay.text.domestic': string;
|
|
304
|
+
'tocPay.text.rest-of-world': string;
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
export default _default;
|