@pisell/private-materials 6.3.75 → 6.3.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/Sales/Cart/index.d.ts +53 -0
- package/es/components/Sales/Cart/utils.d.ts +68 -0
- package/es/components/Sales/Event/Detail.d.ts +30 -0
- package/es/components/Sales/Summary/index.d.ts +35 -0
- package/es/components/Sales/Summary/utils.d.ts +51 -0
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Content/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Date/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Header/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Header/index.js +12 -12
- package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +2 -0
- package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.js +82 -0
- package/es/components/appointmentBooking/components/TimeSlicing/index.js +46 -5
- package/es/components/appointmentBooking/hooks.d.ts +107 -0
- package/es/components/appointmentBooking/hooks.js +6 -13
- package/es/components/appointmentBooking/index.d.ts +3 -0
- package/es/components/appointmentBooking/locales.d.ts +363 -0
- package/es/components/appointmentBooking/utils.d.ts +23 -0
- package/es/components/appointmentBooking/utils.js +159 -0
- package/es/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
- package/es/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
- package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
- package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
- package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
- package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
- package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
- package/es/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
- package/es/components/authentication/admin/AuthMethods/constants.d.ts +22 -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/index.d.ts +6 -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/index.d.ts +6 -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/OnlineShopAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -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/SaaSManagermentAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -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/index.d.ts +6 -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/index.d.ts +6 -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/index.d.ts +6 -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/index.d.ts +6 -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/index.d.ts +6 -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/index.d.ts +6 -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/index.d.ts +6 -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/admin/index.d.ts +26 -0
- package/es/components/authentication/index.d.ts +0 -0
- package/es/components/booking/addons/index.d.ts +17 -0
- package/es/components/booking/components/customSelect/index.d.ts +38 -0
- package/es/components/booking/components/reloadResourceModal/index.d.ts +8 -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/deposit/ClientItem/index.d.ts +18 -0
- package/es/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/es/components/booking/deposit/index.d.ts +2 -0
- package/es/components/booking/editBookingModal/utils.d.ts +12 -0
- package/es/components/booking/forms/forms.d.ts +30 -0
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/es/components/booking/forms/serve.d.ts +18 -0
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +6 -0
- package/es/components/booking/info/client/index.d.ts +4 -0
- package/es/components/booking/info/client/serve.d.ts +2 -0
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
- package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
- package/es/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
- package/es/components/booking/info/date/index.d.ts +4 -0
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +9 -0
- package/es/components/booking/info/index.d.ts +3 -0
- package/es/components/booking/info/model.d.ts +5 -0
- package/es/components/booking/info/pet/serve.d.ts +1 -0
- package/es/components/booking/info/service/addTimeModal/index.d.ts +3 -0
- package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
- package/es/components/booking/info/service/addTimeModal/utils.d.ts +31 -0
- 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/service/serviceList/index.d.ts +5 -0
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info2/index.d.ts +12 -0
- package/es/components/booking/info2/serve.d.ts +6 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +98 -0
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +3 -0
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
- package/es/components/booking/info2/service/editService/utils.d.ts +13 -0
- package/es/components/booking/info2/service/index.d.ts +4 -0
- package/es/components/booking/info2/service/serviceList/index.d.ts +5 -0
- package/es/components/booking/info2/utilsByBooking.d.ts +35 -0
- package/es/components/booking/locales.d.ts +843 -0
- package/es/components/booking/model.d.ts +112 -0
- package/es/components/booking/notes/addNote/index.d.ts +3 -0
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/eftposPay/app.d.ts +10 -0
- package/es/components/eftposPay/component/fail/failCustom.d.ts +3 -0
- package/es/components/eftposPay/component/fail/index.d.ts +3 -0
- package/es/components/eftposPay/component/fail/unknow.d.ts +9 -0
- package/es/components/eftposPay/const.d.ts +184 -0
- package/es/components/eftposPay/device.d.ts +23 -0
- package/es/components/eftposPay/hooks.d.ts +35 -0
- package/es/components/eftposPay/index.d.ts +4 -0
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/es/components/eftposPay/linkly/index.d.ts +2 -0
- package/es/components/eftposPay/locales.d.ts +330 -0
- package/es/components/eftposPay/manufacturer.d.ts +7 -0
- package/es/components/eftposPay/pay.d.ts +20 -0
- package/es/components/eftposPay/payo/config.d.ts +12 -0
- package/es/components/eftposPay/payo/payment.d.ts +66 -0
- package/es/components/eftposPay/store/index.d.ts +355 -0
- package/es/components/eftposPay/tyro/index.d.ts +9 -0
- package/es/components/eftposPay/utils/log/index.d.ts +110 -0
- package/es/components/eftposPay/windcave/helper.d.ts +23 -0
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -0
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +3 -0
- package/es/components/eventBooking/components/Voucher/components/locales.d.ts +39 -0
- package/es/components/eventBooking/components/Voucher/hooks.d.ts +7 -0
- package/es/components/eventBooking/index.d.ts +3 -0
- package/es/components/index.d.ts +24 -0
- package/es/components/kioskSkuDetail/locales.d.ts +27 -0
- package/es/components/pay/toC/PaymentList/serve.d.ts +28 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
- 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/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
- package/es/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
- package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- package/es/components/pay/toC/locales.d.ts +307 -0
- package/es/components/pay/toC/model.d.ts +32 -0
- package/es/components/pay/toC/serve.d.ts +62 -0
- package/es/components/pay/toC/status.d.ts +13 -0
- package/es/components/pay/toC/utils.d.ts +57 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +2 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/es/components/ruleSetting/index.d.ts +9 -0
- package/es/components/ruleSetting/locales.d.ts +48 -0
- package/es/components/ruleSetting/server.d.ts +4 -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/components/ModuleList.d.ts +4 -0
- package/es/components/systemSettings/registry/components/SectionList.d.ts +4 -0
- package/es/components/systemSettings/registry/components/index.d.ts +4 -0
- package/es/components/systemSettings/registry/locales.d.ts +272 -0
- package/es/components/systemSettings/registry/services.d.ts +77 -0
- package/es/components/systemSettings/registry/types.d.ts +126 -0
- package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
- package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +6 -0
- package/es/components/ticketBooking/index.d.ts +7 -0
- package/es/components/ticketBooking/locales.d.ts +174 -0
- package/es/components/ticketBooking/serve.d.ts +287 -0
- package/es/components/wallet/utils.d.ts +48 -0
- package/es/components/walletList/locales.d.ts +27 -0
- package/es/components/walletList/serve.d.ts +43 -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/WorkspaceItem/index.d.ts +22 -0
- package/es/hooks/useEngineContext.d.ts +10 -0
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/index.d.ts +66 -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/CategoryTabs/index.d.ts +21 -0
- package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
- package/es/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/es/plus/productSelect/utils.d.ts +39 -0
- 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 +5 -0
- package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +3 -0
- package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +3 -0
- 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/index.d.ts +5 -0
- package/es/plus/skuOptionsSelection/locales.d.ts +33 -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 +429 -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/index.d.ts +7 -0
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
- package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -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/ImageUpload/index.d.ts +1 -1
- package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
- package/es/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
- package/es/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
- package/es/plus/walletEditor/index.d.ts +3 -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/serve.d.ts +243 -0
- package/es/plus/walletPassGallery/utils.d.ts +48 -0
- package/es/pro/Cards/index.d.ts +1 -0
- package/es/pro/Login2.0/components/LegalTerms.d.ts +8 -0
- package/es/pro/Login2.0/components/PhoneInput.d.ts +53 -0
- package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -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/EmailAlreadyRegistered.d.ts +12 -0
- package/es/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
- package/es/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
- package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
- package/es/pro/Login2.0/steps/index.d.ts +19 -0
- 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.d.ts +14 -0
- package/es/pro/Selector/Selector.stories.d.ts +78 -0
- package/es/pro/Selector/SelectorGroup.d.ts +11 -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/hooks/useSelectionController.d.ts +49 -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/numberKeyboard/locales.d.ts +12 -0
- package/es/pro/pisellNumberSelector/example.d.ts +3 -0
- package/es/pro/pisellPaymentList/example.d.ts +19 -0
- package/es/test/setup.d.ts +1 -0
- package/lib/components/Sales/Cart/index.d.ts +53 -0
- package/lib/components/Sales/Cart/utils.d.ts +68 -0
- package/lib/components/Sales/Event/Detail.d.ts +30 -0
- package/lib/components/Sales/Summary/index.d.ts +35 -0
- package/lib/components/Sales/Summary/utils.d.ts +51 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Content/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Date/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Header/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Header/index.js +3 -8
- package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +2 -0
- package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.js +89 -0
- package/lib/components/appointmentBooking/components/TimeSlicing/index.js +27 -7
- package/lib/components/appointmentBooking/hooks.d.ts +107 -0
- package/lib/components/appointmentBooking/hooks.js +6 -11
- package/lib/components/appointmentBooking/index.d.ts +3 -0
- package/lib/components/appointmentBooking/locales.d.ts +363 -0
- package/lib/components/appointmentBooking/utils.d.ts +23 -0
- package/lib/components/appointmentBooking/utils.js +103 -0
- package/lib/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
- package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
- package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
- package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
- package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
- package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
- package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
- package/lib/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
- package/lib/components/authentication/admin/AuthMethods/constants.d.ts +22 -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/index.d.ts +6 -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/index.d.ts +6 -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/OnlineShopAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -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/SaaSManagermentAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -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/index.d.ts +6 -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/index.d.ts +6 -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/index.d.ts +6 -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/index.d.ts +6 -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/index.d.ts +6 -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/index.d.ts +6 -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/index.d.ts +6 -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/admin/index.d.ts +26 -0
- package/lib/components/authentication/index.d.ts +0 -0
- package/lib/components/booking/addons/index.d.ts +17 -0
- package/lib/components/booking/components/customSelect/index.d.ts +38 -0
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +8 -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/deposit/ClientItem/index.d.ts +18 -0
- package/lib/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/lib/components/booking/deposit/index.d.ts +2 -0
- package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
- package/lib/components/booking/forms/forms.d.ts +30 -0
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/lib/components/booking/forms/serve.d.ts +18 -0
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +6 -0
- package/lib/components/booking/info/client/index.d.ts +4 -0
- package/lib/components/booking/info/client/serve.d.ts +2 -0
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
- package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
- package/lib/components/booking/info/date/index.d.ts +4 -0
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +9 -0
- package/lib/components/booking/info/index.d.ts +3 -0
- package/lib/components/booking/info/model.d.ts +5 -0
- package/lib/components/booking/info/pet/serve.d.ts +1 -0
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +3 -0
- package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
- package/lib/components/booking/info/service/addTimeModal/utils.d.ts +31 -0
- 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/service/serviceList/index.d.ts +5 -0
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info2/index.d.ts +12 -0
- package/lib/components/booking/info2/serve.d.ts +6 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +98 -0
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +3 -0
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
- package/lib/components/booking/info2/service/editService/utils.d.ts +13 -0
- package/lib/components/booking/info2/service/index.d.ts +4 -0
- package/lib/components/booking/info2/service/serviceList/index.d.ts +5 -0
- package/lib/components/booking/info2/utilsByBooking.d.ts +35 -0
- package/lib/components/booking/locales.d.ts +843 -0
- package/lib/components/booking/model.d.ts +112 -0
- package/lib/components/booking/notes/addNote/index.d.ts +3 -0
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/eftposPay/app.d.ts +10 -0
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +3 -0
- package/lib/components/eftposPay/component/fail/index.d.ts +3 -0
- package/lib/components/eftposPay/component/fail/unknow.d.ts +9 -0
- package/lib/components/eftposPay/const.d.ts +184 -0
- package/lib/components/eftposPay/device.d.ts +23 -0
- package/lib/components/eftposPay/hooks.d.ts +35 -0
- package/lib/components/eftposPay/index.d.ts +4 -0
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/lib/components/eftposPay/linkly/index.d.ts +2 -0
- package/lib/components/eftposPay/locales.d.ts +330 -0
- package/lib/components/eftposPay/manufacturer.d.ts +7 -0
- package/lib/components/eftposPay/pay.d.ts +20 -0
- package/lib/components/eftposPay/payo/config.d.ts +12 -0
- package/lib/components/eftposPay/payo/payment.d.ts +66 -0
- package/lib/components/eftposPay/store/index.d.ts +355 -0
- package/lib/components/eftposPay/tyro/index.d.ts +9 -0
- package/lib/components/eftposPay/utils/log/index.d.ts +110 -0
- package/lib/components/eftposPay/windcave/helper.d.ts +23 -0
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -0
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +3 -0
- package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +39 -0
- package/lib/components/eventBooking/components/Voucher/hooks.d.ts +7 -0
- package/lib/components/eventBooking/index.d.ts +3 -0
- package/lib/components/index.d.ts +24 -0
- package/lib/components/kioskSkuDetail/locales.d.ts +27 -0
- package/lib/components/pay/toC/PaymentList/serve.d.ts +28 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
- 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/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
- package/lib/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- package/lib/components/pay/toC/locales.d.ts +307 -0
- package/lib/components/pay/toC/model.d.ts +32 -0
- package/lib/components/pay/toC/serve.d.ts +62 -0
- package/lib/components/pay/toC/status.d.ts +13 -0
- package/lib/components/pay/toC/utils.d.ts +57 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +2 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/lib/components/ruleSetting/index.d.ts +9 -0
- package/lib/components/ruleSetting/locales.d.ts +48 -0
- package/lib/components/ruleSetting/server.d.ts +4 -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/components/ModuleList.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/SectionList.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/index.d.ts +4 -0
- package/lib/components/systemSettings/registry/locales.d.ts +272 -0
- package/lib/components/systemSettings/registry/services.d.ts +77 -0
- package/lib/components/systemSettings/registry/types.d.ts +126 -0
- package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
- package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +6 -0
- package/lib/components/ticketBooking/index.d.ts +7 -0
- package/lib/components/ticketBooking/locales.d.ts +174 -0
- package/lib/components/ticketBooking/serve.d.ts +287 -0
- package/lib/components/wallet/utils.d.ts +48 -0
- package/lib/components/walletList/locales.d.ts +27 -0
- package/lib/components/walletList/serve.d.ts +43 -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/WorkspaceItem/index.d.ts +22 -0
- package/lib/hooks/useEngineContext.d.ts +10 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/index.d.ts +66 -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/CategoryTabs/index.d.ts +21 -0
- package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
- package/lib/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/lib/plus/productSelect/utils.d.ts +39 -0
- 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 +5 -0
- package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +3 -0
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +3 -0
- 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/index.d.ts +5 -0
- package/lib/plus/skuOptionsSelection/locales.d.ts +33 -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 +429 -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/index.d.ts +7 -0
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
- package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -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/ImageUpload/index.d.ts +1 -1
- package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
- package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
- package/lib/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
- package/lib/plus/walletEditor/index.d.ts +3 -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/serve.d.ts +243 -0
- package/lib/plus/walletPassGallery/utils.d.ts +48 -0
- package/lib/pro/Cards/index.d.ts +1 -0
- package/lib/pro/Login2.0/components/LegalTerms.d.ts +8 -0
- package/lib/pro/Login2.0/components/PhoneInput.d.ts +53 -0
- package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -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/EmailAlreadyRegistered.d.ts +12 -0
- package/lib/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
- package/lib/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
- package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
- package/lib/pro/Login2.0/steps/index.d.ts +19 -0
- 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.d.ts +14 -0
- package/lib/pro/Selector/Selector.stories.d.ts +78 -0
- package/lib/pro/Selector/SelectorGroup.d.ts +11 -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/hooks/useSelectionController.d.ts +49 -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/numberKeyboard/locales.d.ts +12 -0
- package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
- package/lib/pro/pisellPaymentList/example.d.ts +19 -0
- package/lib/test/setup.d.ts +1 -0
- package/package.json +4 -4
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
export declare type MachineCodeListParams = {
|
|
2
|
+
order_id: number | string;
|
|
3
|
+
available: number;
|
|
4
|
+
prepare_payments: {
|
|
5
|
+
voucher_id: number;
|
|
6
|
+
amount: number;
|
|
7
|
+
tag: string;
|
|
8
|
+
}[];
|
|
9
|
+
filter_prepare_wallet_pass: 1 | 0;
|
|
10
|
+
sale_channel: string;
|
|
11
|
+
other_exact_codes?: string[];
|
|
12
|
+
};
|
|
13
|
+
export declare type WalletPassDataType = {
|
|
14
|
+
id: number;
|
|
15
|
+
shop_id: number;
|
|
16
|
+
customer_id: number;
|
|
17
|
+
code: string;
|
|
18
|
+
encoded: string;
|
|
19
|
+
status: string;
|
|
20
|
+
cover: string;
|
|
21
|
+
tag: string;
|
|
22
|
+
relation_type: string;
|
|
23
|
+
product_id: number;
|
|
24
|
+
limit_status: string;
|
|
25
|
+
sales_status: number;
|
|
26
|
+
par_value: string;
|
|
27
|
+
used_par_value: string;
|
|
28
|
+
start_date: string;
|
|
29
|
+
expire_date: string;
|
|
30
|
+
end_time: string;
|
|
31
|
+
start_time: string;
|
|
32
|
+
created_at: string;
|
|
33
|
+
product_name: string;
|
|
34
|
+
expire_time: string;
|
|
35
|
+
available_max_par_value: string;
|
|
36
|
+
available_max_amount: string;
|
|
37
|
+
recommended_usage_amount: string;
|
|
38
|
+
custom_expire_status: number;
|
|
39
|
+
wallet_pass_usage_unit: WalletPassUsageUnit;
|
|
40
|
+
custom_order_deduct_exhausted: number;
|
|
41
|
+
available_product_status: number;
|
|
42
|
+
available_product_ids: any[];
|
|
43
|
+
available_product_type: string;
|
|
44
|
+
available_num: number;
|
|
45
|
+
available_product_title: string;
|
|
46
|
+
unified_available_status: number;
|
|
47
|
+
unified_messages: UnifiedMessages;
|
|
48
|
+
external_card: any[];
|
|
49
|
+
product: Product;
|
|
50
|
+
shop: Shop;
|
|
51
|
+
wallet_pass_usage?: any;
|
|
52
|
+
balance_par_value: string;
|
|
53
|
+
custom_schedule_snapshot?: {
|
|
54
|
+
data: any[];
|
|
55
|
+
};
|
|
56
|
+
metadata?: {
|
|
57
|
+
validity_type: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
declare type Shop = {
|
|
61
|
+
id: number;
|
|
62
|
+
name: string;
|
|
63
|
+
default_url: string;
|
|
64
|
+
};
|
|
65
|
+
declare type Product = {
|
|
66
|
+
id: number;
|
|
67
|
+
title: string;
|
|
68
|
+
cover: string;
|
|
69
|
+
is_charge_tax: number;
|
|
70
|
+
};
|
|
71
|
+
declare type UnifiedMessages = {
|
|
72
|
+
title: string;
|
|
73
|
+
desc: string;
|
|
74
|
+
alert: string;
|
|
75
|
+
};
|
|
76
|
+
declare type WalletPassUsageUnit = {
|
|
77
|
+
price: number;
|
|
78
|
+
points: number;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* 查询支付识别码列表
|
|
82
|
+
*/
|
|
83
|
+
export declare const getMachineCodeList: (params: MachineCodeListParams) => Promise<WalletPassDataType[]>;
|
|
84
|
+
/**
|
|
85
|
+
* 获取推荐的支付识别码
|
|
86
|
+
*/
|
|
87
|
+
export declare const getRecommendMachineCodeList: (order_id: number) => Promise<WalletPassDataType[]>;
|
|
88
|
+
/**
|
|
89
|
+
* 搜索支付识别码
|
|
90
|
+
*/
|
|
91
|
+
export declare const searchMachineCodeList: (params: {
|
|
92
|
+
order_id: number | string;
|
|
93
|
+
code?: string;
|
|
94
|
+
sale_channel: string;
|
|
95
|
+
prepare_payments: {
|
|
96
|
+
voucher_id: number;
|
|
97
|
+
amount: number;
|
|
98
|
+
tag: string;
|
|
99
|
+
}[];
|
|
100
|
+
filter_prepare_wallet_pass?: 1 | 0;
|
|
101
|
+
customer_pin_key?: string;
|
|
102
|
+
}) => Promise<WalletPassDataType[]>;
|
|
103
|
+
/**
|
|
104
|
+
* walletpass支付
|
|
105
|
+
*/
|
|
106
|
+
export declare const walletPassPay: (params: {
|
|
107
|
+
order_id: number | string;
|
|
108
|
+
payment_group_id: number;
|
|
109
|
+
payments: {
|
|
110
|
+
amount: string;
|
|
111
|
+
wallet_pass_use_value: string;
|
|
112
|
+
voucher_id: number;
|
|
113
|
+
tag: string;
|
|
114
|
+
wallet_pass_usage_unit: {
|
|
115
|
+
price: number;
|
|
116
|
+
points: number;
|
|
117
|
+
};
|
|
118
|
+
}[];
|
|
119
|
+
}) => Promise<WalletPassDataType[]>;
|
|
120
|
+
/**
|
|
121
|
+
* 搜索wallet code
|
|
122
|
+
*/
|
|
123
|
+
export declare const searchWalletCode: (params: {
|
|
124
|
+
code: string;
|
|
125
|
+
with_customer: 1 | 0;
|
|
126
|
+
}) => Promise<{
|
|
127
|
+
code: string;
|
|
128
|
+
id: number;
|
|
129
|
+
status: 'enable' | 'disable' | 'expired';
|
|
130
|
+
expired_at: string;
|
|
131
|
+
customer: Record<string, any>;
|
|
132
|
+
check_max_count: number;
|
|
133
|
+
failed_count: number;
|
|
134
|
+
}>;
|
|
135
|
+
/**
|
|
136
|
+
* 验证pin码
|
|
137
|
+
*/
|
|
138
|
+
export declare const verifyPinCode: (params: {
|
|
139
|
+
wallet_detail_id: number;
|
|
140
|
+
pin: string;
|
|
141
|
+
}) => Promise<{
|
|
142
|
+
status: number;
|
|
143
|
+
customer_id: number;
|
|
144
|
+
msg: string;
|
|
145
|
+
customer_pin_key: string;
|
|
146
|
+
}>;
|
|
147
|
+
/**
|
|
148
|
+
* 获取pin码
|
|
149
|
+
*/
|
|
150
|
+
export declare const getPin: (params: {
|
|
151
|
+
wallet_detail_id: number;
|
|
152
|
+
}) => Promise<{
|
|
153
|
+
pin: string;
|
|
154
|
+
}>;
|
|
155
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface UsePaymentRedirectOptions {
|
|
2
|
+
orderId?: string;
|
|
3
|
+
paymentType: string;
|
|
4
|
+
onAfterReturn?: () => void;
|
|
5
|
+
}
|
|
6
|
+
export interface UsePaymentRedirectReturn {
|
|
7
|
+
isReturned: boolean;
|
|
8
|
+
handleRedirect: (url: string) => Promise<void>;
|
|
9
|
+
resetState: () => void;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* 支付跳转 Hook
|
|
13
|
+
* 用于处理跳转到外部支付页面的逻辑,包括:
|
|
14
|
+
* 1. 保存跳转标记到 history state
|
|
15
|
+
* 2. 跳转到外部支付页面
|
|
16
|
+
* 3. 监听页面返回事件
|
|
17
|
+
* 4. 返回后更新状态
|
|
18
|
+
*/
|
|
19
|
+
export declare const usePaymentRedirect: (options: UsePaymentRedirectOptions) => UsePaymentRedirectReturn;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface PaymentMethodsRef {
|
|
3
|
+
onPay: (props: any) => void;
|
|
4
|
+
}
|
|
5
|
+
interface PaymentMethodsProps {
|
|
6
|
+
payCallback: (props: any) => void;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: React.ForwardRefExoticComponent<PaymentMethodsProps & React.RefAttributes<unknown>>;
|
|
9
|
+
export default _default;
|
|
@@ -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;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export interface FormState {
|
|
2
|
+
platform: 'pc' | 'h5' | '' | undefined;
|
|
3
|
+
order: any;
|
|
4
|
+
status: 'init' | 'ready' | 'loading' | 'success' | 'error';
|
|
5
|
+
payCallback: (res?: any) => void;
|
|
6
|
+
history?: any;
|
|
7
|
+
payGroup?: PayGroup;
|
|
8
|
+
walletSetting: {
|
|
9
|
+
name: string;
|
|
10
|
+
popup_status: 0 | 1 | null;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export interface PayGroup {
|
|
14
|
+
order_id?: string;
|
|
15
|
+
total_amount?: number;
|
|
16
|
+
walletPass?: {
|
|
17
|
+
amount: number;
|
|
18
|
+
cards: any[];
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
paid?: boolean;
|
|
21
|
+
};
|
|
22
|
+
otherPayment?: {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
wait_amount?: number;
|
|
26
|
+
payment_group_id?: number;
|
|
27
|
+
payment_priority?: string[];
|
|
28
|
+
pay_number?: string;
|
|
29
|
+
_order: any;
|
|
30
|
+
front_order_uuid?: string;
|
|
31
|
+
}
|
|
32
|
+
export declare const Provider: any, Context: any;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export declare const getPaymentList: (values: any) => Promise<{
|
|
2
|
+
message: string;
|
|
3
|
+
status: string;
|
|
4
|
+
paymentList?: undefined;
|
|
5
|
+
} | {
|
|
6
|
+
message: string;
|
|
7
|
+
status: string;
|
|
8
|
+
paymentList: any;
|
|
9
|
+
}>;
|
|
10
|
+
/**
|
|
11
|
+
* @title: 聚合接口, 根据订单 返回支付列表和钱包
|
|
12
|
+
* @description:
|
|
13
|
+
* @param {object} values
|
|
14
|
+
* @return {*}
|
|
15
|
+
* @Author: zhiwei.Wang
|
|
16
|
+
* @Date: 2024-08-15 11:52
|
|
17
|
+
*/
|
|
18
|
+
export declare const getPaymentsAndWalletPass: (values: {
|
|
19
|
+
order_id: string;
|
|
20
|
+
total_amount: number;
|
|
21
|
+
sale_channel: string;
|
|
22
|
+
}) => Promise<any>;
|
|
23
|
+
/**
|
|
24
|
+
* @title: 初始化交易组
|
|
25
|
+
* @description:
|
|
26
|
+
* @param {object} values
|
|
27
|
+
* @return {*}
|
|
28
|
+
* @Author: zhiwei.Wang
|
|
29
|
+
* @Date: 2024-08-16 10:42
|
|
30
|
+
*/
|
|
31
|
+
export declare const getPaymentInit: (values: {
|
|
32
|
+
order_id?: string;
|
|
33
|
+
amount?: number;
|
|
34
|
+
}) => Promise<any>;
|
|
35
|
+
/**
|
|
36
|
+
* @title: 获取钱包名称和弹窗状态
|
|
37
|
+
* @description:
|
|
38
|
+
* @param {object} values
|
|
39
|
+
* @return {*}
|
|
40
|
+
* @Author: shengjie.zuo
|
|
41
|
+
* @member: 马天宇
|
|
42
|
+
* @Date: 2025-02-21 10:42
|
|
43
|
+
*/
|
|
44
|
+
export declare const getWalletNameAndPopupStatus: (values: {
|
|
45
|
+
setting_type?: string;
|
|
46
|
+
}) => Promise<{
|
|
47
|
+
wallet: {
|
|
48
|
+
name?: {
|
|
49
|
+
en: string;
|
|
50
|
+
'zh-CN': string;
|
|
51
|
+
'zh-HK': string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
wallet_setting: {
|
|
55
|
+
popup_status?: 1 | 0;
|
|
56
|
+
};
|
|
57
|
+
}>;
|
|
58
|
+
/**
|
|
59
|
+
* @title: 获取支付结果
|
|
60
|
+
* @description: 获取支付结果
|
|
61
|
+
*/
|
|
62
|
+
export declare const getPaymentResult: (values: any) => Promise<any>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const paymentServices: any;
|
|
2
|
+
export declare const paymentTypes: any[];
|
|
3
|
+
export declare const tripartitePaymentKeys: string[];
|
|
4
|
+
export declare const paymentKeys: string[];
|
|
5
|
+
/**
|
|
6
|
+
* @title: 判断是否是三方支付
|
|
7
|
+
* @description:
|
|
8
|
+
* @return: *
|
|
9
|
+
* @Author: shengjie.zuo
|
|
10
|
+
* @Date: 2024-08-30 10:16:26
|
|
11
|
+
*/
|
|
12
|
+
export declare const isTripartitePayment: (service: string) => boolean;
|
|
13
|
+
export declare const saleChannelMap: Record<string, string>;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { PayGroup } from "./model";
|
|
2
|
+
import { WalletPassDataType } from "./PaymentMethods/WalletPass/serve";
|
|
3
|
+
/**
|
|
4
|
+
* 计算walletPass列表数据的总金额
|
|
5
|
+
* @param list
|
|
6
|
+
*/
|
|
7
|
+
export declare const calcWalletPassListAmount: (list: any[]) => any;
|
|
8
|
+
/**
|
|
9
|
+
* 将walletPass列表数据转换为prepare_payments需要的数据格式
|
|
10
|
+
* @param list
|
|
11
|
+
*/
|
|
12
|
+
export declare const formatWalletPassList2PreparePayments: (list?: any[]) => {
|
|
13
|
+
voucher_id: any;
|
|
14
|
+
amount: number;
|
|
15
|
+
tag: any;
|
|
16
|
+
}[];
|
|
17
|
+
/**
|
|
18
|
+
* walletPass支付params
|
|
19
|
+
* @param payGroup
|
|
20
|
+
*/
|
|
21
|
+
export declare const formatWalletPassParams: (payGroup: PayGroup) => {
|
|
22
|
+
order_id: string;
|
|
23
|
+
payment_group_id: number;
|
|
24
|
+
payments: {
|
|
25
|
+
amount: string;
|
|
26
|
+
wallet_pass_use_value: any;
|
|
27
|
+
voucher_id: any;
|
|
28
|
+
tag: any;
|
|
29
|
+
wallet_pass_usage_unit: any;
|
|
30
|
+
}[];
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @title: 获取是否walletPass和三方支付的组合支付
|
|
34
|
+
* @description: 三方支付 (stripe 支付宝 微信 苹果 谷歌)
|
|
35
|
+
* @return: *
|
|
36
|
+
* @Author: shengjie.zuo
|
|
37
|
+
* @Date: 2024-08-30 10:06:17
|
|
38
|
+
*/
|
|
39
|
+
export declare const getIsWalletPassAndTripartitePayment: (payGroup: PayGroup) => boolean | 0 | undefined;
|
|
40
|
+
export declare const isFranchiseeShop: (path?: any, history?: any) => any;
|
|
41
|
+
/**
|
|
42
|
+
* @title: 获取当前连锁加盟店铺shopid
|
|
43
|
+
* @description:
|
|
44
|
+
* @param {any} param1
|
|
45
|
+
* @return {*}
|
|
46
|
+
* @Author: chensheng.gu
|
|
47
|
+
* @Date: 2024-08-07 10:04
|
|
48
|
+
*/
|
|
49
|
+
export declare const getFranchiseeShopId: (path?: any, history?: any) => number;
|
|
50
|
+
export declare const formatFranchiseeRoute: (url: string, history?: any) => string;
|
|
51
|
+
export declare const getAvailableMaxAmount: (data: WalletPassDataType) => string;
|
|
52
|
+
export declare const clientPayment: (params: {
|
|
53
|
+
order_id: number;
|
|
54
|
+
type: "aliPay" | "wxPay" | 'google_pay';
|
|
55
|
+
values: any;
|
|
56
|
+
interaction?: any;
|
|
57
|
+
}) => void;
|