@pisell/private-materials 3.4.47 → 3.4.49
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 +2 -2
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +23 -8
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +23 -8
- package/es/components/Sales/Event/Detail.d.ts +30 -0
- package/es/components/Sales/Summary/utils.d.ts +1 -1
- 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/Services/index.d.ts +4 -0
- package/es/components/appointmentBooking/hooks.d.ts +107 -0
- package/es/components/appointmentBooking/hooks.js +5 -0
- package/es/components/appointmentBooking/locales.d.ts +363 -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/index.d.ts +8 -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/index.d.ts +8 -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/model.d.ts +10 -1
- package/es/components/booking/components/customSelect/index.d.ts +38 -0
- package/es/components/booking/components/customSelect/index.js +22 -3
- package/es/components/booking/components/footer/index.d.ts +11 -0
- package/es/components/booking/components/footer/utils.d.ts +41 -0
- package/es/components/booking/forms/footer.d.ts +6 -0
- package/es/components/booking/forms/model.d.ts +10 -1
- package/es/components/booking/info/client/index.d.ts +4 -0
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
- package/es/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/es/components/booking/info/main.d.ts +12 -0
- package/es/components/booking/info/model.d.ts +14 -0
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/index.d.ts +12 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
- package/es/components/booking/locales.d.ts +834 -0
- package/es/components/booking/model.d.ts +119 -0
- package/es/components/booking/notes/model.d.ts +10 -1
- package/es/components/booking/payments/model.d.ts +10 -1
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/linkly/index.d.ts +2 -0
- package/es/components/eftposPay/store/index.d.ts +3 -3
- package/es/components/index.d.ts +23 -0
- package/es/components/index.js +1 -1
- package/es/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +9 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.d.ts +15 -0
- package/es/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
- package/es/components/pay/toC/index.d.ts +3 -0
- package/es/components/pay/toC/locales.d.ts +298 -0
- package/es/components/pay/toC/model.d.ts +40 -0
- package/es/components/pay/toC/serve.d.ts +62 -0
- package/es/components/schedules/model.d.ts +9 -1
- package/es/components/wallet/Detail/model.d.ts +13 -1
- package/es/components/wallet/DiscountCard/model.d.ts +14 -1
- package/es/components/wallet/PointCard/model.d.ts +13 -1
- package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
- package/es/components/wallet/Voucher/model.d.ts +13 -1
- package/es/components/wallet/model.d.ts +9 -1
- package/es/components/walletList/index.d.ts +0 -25
- package/es/components/walletList/index.js +93 -61
- package/es/components/walletList/serve.d.ts +4 -0
- package/es/components/walletList/serve.js +46 -13
- package/es/components/walletList/types/index.d.ts +12 -12
- package/es/components/walletList/types/index.js +2 -2
- package/es/index.d.ts +58 -0
- package/es/index.js +3 -2
- 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/Avatar/index.d.ts +10 -0
- package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
- package/es/plus/contactInfo/index.d.ts +6 -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/ContactInfoContent.d.ts +3 -0
- package/es/plus/contactInfoModal/index.d.ts +41 -0
- package/es/plus/contactInfoModal/locales.d.ts +66 -0
- package/es/plus/productSelect/CategoryTabs/index.d.ts +2 -0
- package/es/plus/productSelect/CategoryTabs/index.js +6 -3
- package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.less +0 -11
- package/es/plus/productSelect/index.d.ts +32 -0
- package/es/plus/productSelect/utils.js +0 -1
- package/es/plus/walletEditor/WalletEditor.d.ts +5 -0
- package/es/plus/walletEditor/WalletEditor.js +316 -0
- package/es/plus/walletEditor/WalletEditor.less +129 -0
- package/es/plus/walletEditor/components/ImageUpload/index.d.ts +8 -0
- package/es/plus/walletEditor/components/ImageUpload/index.js +223 -0
- package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
- package/es/plus/walletEditor/components/JsonEditor/index.js +68 -0
- package/es/plus/walletEditor/components/JsonEditor/index.less +4 -0
- package/es/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
- package/es/plus/walletEditor/components/ValidityPeriodSelector/index.js +222 -0
- package/es/plus/walletEditor/components/ValidityPeriodSelector/index.less +4 -0
- package/es/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
- package/es/plus/walletEditor/components/relationProduct/index.js +49 -0
- package/es/plus/walletEditor/components/relationProduct/index.less +15 -0
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +37 -0
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.js +193 -0
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.less +110 -0
- package/es/plus/walletEditor/index.d.ts +3 -0
- package/es/plus/walletEditor/index.js +3 -0
- package/es/plus/walletEditor/locales.d.ts +126 -0
- package/es/plus/walletEditor/locales.js +143 -0
- package/es/plus/walletEditor/types.d.ts +52 -0
- package/es/plus/walletEditor/types.js +1 -0
- package/es/plus/walletPassGallery/components/footerButton/index.d.ts +14 -0
- package/es/plus/walletPassGallery/components/footerButton/index.js +247 -0
- package/es/plus/walletPassGallery/components/footerButton/index.less +93 -0
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +8 -0
- package/es/plus/walletPassGallery/components/passDetail/index.js +274 -0
- package/es/plus/walletPassGallery/components/passDetail/index.less +57 -0
- package/es/plus/walletPassGallery/components/passList/index.d.ts +11 -0
- package/es/plus/walletPassGallery/components/passList/index.js +115 -0
- package/es/plus/walletPassGallery/components/recharge/index.d.ts +11 -0
- package/es/plus/walletPassGallery/components/recharge/index.js +134 -0
- package/es/plus/walletPassGallery/components/recharge/index.less +16 -0
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +8 -0
- package/es/plus/walletPassGallery/components/timelineSection/index.js +176 -0
- package/es/plus/walletPassGallery/components/timelineSection/index.less +67 -0
- package/es/plus/walletPassGallery/components/usageRule/index.d.ts +9 -0
- package/es/plus/walletPassGallery/components/usageRule/index.js +248 -0
- package/es/plus/walletPassGallery/components/usageRule/index.less +157 -0
- package/es/plus/walletPassGallery/index.d.ts +6 -0
- package/es/plus/walletPassGallery/index.js +602 -0
- package/es/plus/walletPassGallery/index.less +115 -0
- package/es/plus/walletPassGallery/locales.d.ts +270 -0
- package/es/plus/walletPassGallery/locales.js +279 -0
- package/es/plus/walletPassGallery/serve.d.ts +218 -0
- package/es/plus/walletPassGallery/serve.js +289 -0
- package/es/pro/pisellPaymentList/example.d.ts +19 -0
- package/lib/components/Sales/Event/Detail.d.ts +30 -0
- package/lib/components/Sales/Summary/utils.d.ts +1 -1
- 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/Services/index.d.ts +4 -0
- package/lib/components/appointmentBooking/hooks.d.ts +107 -0
- package/lib/components/appointmentBooking/hooks.js +3 -0
- package/lib/components/appointmentBooking/locales.d.ts +363 -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/index.d.ts +8 -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/index.d.ts +8 -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/model.d.ts +10 -1
- package/lib/components/booking/components/customSelect/index.d.ts +38 -0
- package/lib/components/booking/components/customSelect/index.js +26 -3
- package/lib/components/booking/components/footer/index.d.ts +11 -0
- package/lib/components/booking/components/footer/utils.d.ts +41 -0
- package/lib/components/booking/forms/footer.d.ts +6 -0
- package/lib/components/booking/forms/model.d.ts +10 -1
- package/lib/components/booking/info/client/index.d.ts +4 -0
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
- package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/lib/components/booking/info/main.d.ts +12 -0
- package/lib/components/booking/info/model.d.ts +14 -0
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/index.d.ts +12 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
- package/lib/components/booking/locales.d.ts +834 -0
- package/lib/components/booking/model.d.ts +119 -0
- package/lib/components/booking/notes/model.d.ts +10 -1
- package/lib/components/booking/payments/model.d.ts +10 -1
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/linkly/index.d.ts +2 -0
- package/lib/components/eftposPay/store/index.d.ts +3 -3
- package/lib/components/index.d.ts +23 -0
- package/lib/components/index.js +1 -1
- package/lib/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +9 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.d.ts +15 -0
- package/lib/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
- package/lib/components/pay/toC/index.d.ts +3 -0
- package/lib/components/pay/toC/locales.d.ts +298 -0
- package/lib/components/pay/toC/model.d.ts +40 -0
- package/lib/components/pay/toC/serve.d.ts +62 -0
- package/lib/components/schedules/model.d.ts +9 -1
- package/lib/components/wallet/Detail/model.d.ts +13 -1
- package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
- package/lib/components/wallet/PointCard/model.d.ts +13 -1
- package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
- package/lib/components/wallet/Voucher/model.d.ts +13 -1
- package/lib/components/wallet/model.d.ts +9 -1
- package/lib/components/walletList/index.d.ts +0 -25
- package/lib/components/walletList/index.js +88 -47
- package/lib/components/walletList/serve.d.ts +4 -0
- package/lib/components/walletList/serve.js +12 -0
- package/lib/components/walletList/types/index.d.ts +12 -12
- package/lib/index.d.ts +58 -0
- package/lib/index.js +6 -3
- 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/Avatar/index.d.ts +10 -0
- package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
- package/lib/plus/contactInfo/index.d.ts +6 -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/ContactInfoContent.d.ts +3 -0
- package/lib/plus/contactInfoModal/index.d.ts +41 -0
- package/lib/plus/contactInfoModal/locales.d.ts +66 -0
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +2 -0
- package/lib/plus/productSelect/CategoryTabs/index.js +84 -69
- package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.less +0 -11
- package/lib/plus/productSelect/index.d.ts +32 -0
- package/lib/plus/productSelect/utils.js +0 -1
- package/lib/plus/walletEditor/WalletEditor.d.ts +5 -0
- package/lib/plus/walletEditor/WalletEditor.js +354 -0
- package/lib/plus/walletEditor/WalletEditor.less +129 -0
- package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +8 -0
- package/lib/plus/walletEditor/components/ImageUpload/index.js +201 -0
- package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
- package/lib/plus/walletEditor/components/JsonEditor/index.js +89 -0
- package/lib/plus/walletEditor/components/JsonEditor/index.less +4 -0
- package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
- package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.js +176 -0
- package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.less +4 -0
- package/lib/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
- package/lib/plus/walletEditor/components/relationProduct/index.js +73 -0
- package/lib/plus/walletEditor/components/relationProduct/index.less +15 -0
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +37 -0
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.js +211 -0
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.less +110 -0
- package/lib/plus/walletEditor/index.d.ts +3 -0
- package/lib/plus/walletEditor/index.js +42 -0
- package/lib/plus/walletEditor/locales.d.ts +126 -0
- package/lib/plus/walletEditor/locales.js +167 -0
- package/lib/plus/walletEditor/types.d.ts +52 -0
- package/lib/plus/walletEditor/types.js +17 -0
- package/lib/plus/walletPassGallery/components/footerButton/index.d.ts +14 -0
- package/lib/plus/walletPassGallery/components/footerButton/index.js +187 -0
- package/lib/plus/walletPassGallery/components/footerButton/index.less +93 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +8 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.js +287 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.less +57 -0
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +11 -0
- package/lib/plus/walletPassGallery/components/passList/index.js +136 -0
- package/lib/plus/walletPassGallery/components/recharge/index.d.ts +11 -0
- package/lib/plus/walletPassGallery/components/recharge/index.js +146 -0
- package/lib/plus/walletPassGallery/components/recharge/index.less +16 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +8 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.js +212 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.less +67 -0
- package/lib/plus/walletPassGallery/components/usageRule/index.d.ts +9 -0
- package/lib/plus/walletPassGallery/components/usageRule/index.js +209 -0
- package/lib/plus/walletPassGallery/components/usageRule/index.less +157 -0
- package/lib/plus/walletPassGallery/index.d.ts +6 -0
- package/lib/plus/walletPassGallery/index.js +498 -0
- package/lib/plus/walletPassGallery/index.less +115 -0
- package/lib/plus/walletPassGallery/locales.d.ts +270 -0
- package/lib/plus/walletPassGallery/locales.js +299 -0
- package/lib/plus/walletPassGallery/serve.d.ts +218 -0
- package/lib/plus/walletPassGallery/serve.js +98 -0
- package/lib/pro/pisellPaymentList/example.d.ts +19 -0
- package/lowcode/sortable-wallet-pass-types/meta.ts +267 -0
- package/lowcode/wallet-editor/meta.ts +57 -0
- package/lowcode/wallet-editor/snippets.ts +13 -0
- package/lowcode/wallet-pass-gallery/meta.ts +35 -0
- package/package.json +3 -3
- package/lowcode/wallet/meta.ts +0 -79
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface FormState {
|
|
3
|
+
amountSymbol: string;
|
|
4
|
+
apis: {
|
|
5
|
+
getClients: (par?: any) => any;
|
|
6
|
+
getClientsEs: (par?: any) => any;
|
|
7
|
+
getServices: (par?: any) => any;
|
|
8
|
+
getResources: (par?: any) => any;
|
|
9
|
+
getProducts: (par?: any) => any;
|
|
10
|
+
getPets: (par?: any) => any;
|
|
11
|
+
getForms: (par?: any) => any;
|
|
12
|
+
getFormData: (par?: any) => any;
|
|
13
|
+
getAddonsByOrderId: (par?: any) => any;
|
|
14
|
+
saveAddonsByOrderId: (par?: any) => any;
|
|
15
|
+
getNotesByOrder: (par?: any) => any;
|
|
16
|
+
saveBookingFormData: (par?: any) => any;
|
|
17
|
+
getPetsData: (par?: any) => any;
|
|
18
|
+
};
|
|
19
|
+
client: {
|
|
20
|
+
showModal: boolean;
|
|
21
|
+
value: any;
|
|
22
|
+
clients: any[];
|
|
23
|
+
clientsParams: {
|
|
24
|
+
skip: number;
|
|
25
|
+
num: number;
|
|
26
|
+
search: string;
|
|
27
|
+
};
|
|
28
|
+
edit: boolean;
|
|
29
|
+
};
|
|
30
|
+
contacts_info: {
|
|
31
|
+
edit: boolean;
|
|
32
|
+
value: any;
|
|
33
|
+
};
|
|
34
|
+
date: {
|
|
35
|
+
value: any;
|
|
36
|
+
end_date: any;
|
|
37
|
+
edit: boolean;
|
|
38
|
+
};
|
|
39
|
+
service: {
|
|
40
|
+
addModal: boolean;
|
|
41
|
+
editModal: boolean;
|
|
42
|
+
services: any[];
|
|
43
|
+
resources: any[];
|
|
44
|
+
resourcesOrigin: any[];
|
|
45
|
+
value: any[];
|
|
46
|
+
cacheItem: any;
|
|
47
|
+
edit: boolean;
|
|
48
|
+
addTimeModal: boolean;
|
|
49
|
+
changeService: any;
|
|
50
|
+
};
|
|
51
|
+
pet: {
|
|
52
|
+
showModal: boolean;
|
|
53
|
+
pets: any[];
|
|
54
|
+
value: any[];
|
|
55
|
+
formData: any;
|
|
56
|
+
originValue: any;
|
|
57
|
+
edit: boolean;
|
|
58
|
+
};
|
|
59
|
+
addons: {
|
|
60
|
+
showModal: boolean;
|
|
61
|
+
value: any[];
|
|
62
|
+
productList: any[];
|
|
63
|
+
originData: any[];
|
|
64
|
+
edit: boolean;
|
|
65
|
+
};
|
|
66
|
+
notes: {
|
|
67
|
+
orderNote: string;
|
|
68
|
+
internalNotes: any[];
|
|
69
|
+
edit: boolean;
|
|
70
|
+
};
|
|
71
|
+
form: {
|
|
72
|
+
value: any;
|
|
73
|
+
forms: any[];
|
|
74
|
+
edit: boolean;
|
|
75
|
+
};
|
|
76
|
+
setGlobalState: () => void;
|
|
77
|
+
disabledEdit: boolean;
|
|
78
|
+
bookingConfig: any;
|
|
79
|
+
action: any;
|
|
80
|
+
bookingId: string | number;
|
|
81
|
+
bookingDetail: any;
|
|
82
|
+
channelDisabledEdit: boolean;
|
|
83
|
+
renderType?: 'eventBooking' | 'dayBooking';
|
|
84
|
+
modalOpen?: boolean;
|
|
85
|
+
isTerminal?: boolean;
|
|
86
|
+
isFranchisee?: boolean;
|
|
87
|
+
addTimeProducts: any[];
|
|
88
|
+
eventOtherParams?: {
|
|
89
|
+
relation_id: number;
|
|
90
|
+
number: number;
|
|
91
|
+
registration_type: 'single' | 'all' | 'extra_include';
|
|
92
|
+
start_date: string;
|
|
93
|
+
start_time: string;
|
|
94
|
+
end_date: string;
|
|
95
|
+
end_time: string;
|
|
96
|
+
productIds: number[];
|
|
97
|
+
};
|
|
98
|
+
disableEventBookingEdit?: boolean;
|
|
99
|
+
/** 关闭自动打开选择服务弹窗 */
|
|
100
|
+
closeAutoOpenService?: boolean;
|
|
101
|
+
/** 是否terminal创建booking页面 */
|
|
102
|
+
isBookingCreatePage?: boolean;
|
|
103
|
+
loading: boolean;
|
|
104
|
+
isTerminalDayBookingPage?: boolean;
|
|
105
|
+
activeCartId?: any[];
|
|
106
|
+
isDayBooking: boolean;
|
|
107
|
+
}
|
|
108
|
+
export declare const walkInData: {
|
|
109
|
+
id: number;
|
|
110
|
+
nickname: string;
|
|
111
|
+
};
|
|
112
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
113
|
+
state: FormState;
|
|
114
|
+
} & {
|
|
115
|
+
dispatch: (params: {
|
|
116
|
+
type: string;
|
|
117
|
+
payload: any;
|
|
118
|
+
}) => void;
|
|
119
|
+
}>;
|
|
@@ -1 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormState } from "../model";
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
4
|
+
state: FormState;
|
|
5
|
+
} & {
|
|
6
|
+
dispatch: (params: {
|
|
7
|
+
type: string;
|
|
8
|
+
payload: any;
|
|
9
|
+
}) => void;
|
|
10
|
+
}>;
|
|
@@ -1 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormState } from "../model";
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
4
|
+
state: FormState;
|
|
5
|
+
} & {
|
|
6
|
+
dispatch: (params: {
|
|
7
|
+
type: string;
|
|
8
|
+
payload: any;
|
|
9
|
+
}) => void;
|
|
10
|
+
}>;
|
|
@@ -19,7 +19,7 @@ export declare const useStoreRef: <T extends {
|
|
|
19
19
|
readonly netRef: React.MutableRefObject<boolean | undefined>;
|
|
20
20
|
readonly symbolRef: React.MutableRefObject<string>;
|
|
21
21
|
readonly amountRef: React.MutableRefObject<string | number>;
|
|
22
|
-
readonly eftposRef: React.MutableRefObject<"
|
|
22
|
+
readonly eftposRef: React.MutableRefObject<"payo" | "tyro" | "windcave" | "stripe" | "linkly">;
|
|
23
23
|
readonly clientRef: React.MutableRefObject<ClientEnum>;
|
|
24
24
|
readonly dataRef: React.MutableRefObject<import("./store").State>;
|
|
25
25
|
};
|
|
@@ -297,13 +297,13 @@ export declare const backUpFree: (payload: Partial<State>) => {
|
|
|
297
297
|
amount?: string | number | undefined;
|
|
298
298
|
mode?: "pay" | "fullPay" | "refund" | "query" | undefined;
|
|
299
299
|
order_id?: string | number | undefined;
|
|
300
|
-
eftpos?: "
|
|
301
|
-
action?: "amount" | "
|
|
300
|
+
eftpos?: "payo" | "tyro" | "windcave" | "stripe" | "linkly" | undefined;
|
|
301
|
+
action?: "amount" | "deviceList" | "pay" | undefined;
|
|
302
302
|
key?: number | undefined;
|
|
303
303
|
step?: number | undefined;
|
|
304
304
|
title?: string | undefined;
|
|
305
305
|
subTitle?: string | undefined;
|
|
306
|
-
type?: "
|
|
306
|
+
type?: "step" | "unset" | undefined;
|
|
307
307
|
render?: boolean | undefined;
|
|
308
308
|
net?: boolean | undefined;
|
|
309
309
|
component?: string | undefined;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import Login from './login';
|
|
2
|
+
import BookingInfo from './booking/info/index';
|
|
3
|
+
import Booking from './booking';
|
|
4
|
+
import BookingNotes from './booking/notes';
|
|
5
|
+
import BookingAddons from './booking/addons';
|
|
6
|
+
import BookingForms from './booking/forms';
|
|
7
|
+
import Schedules from './schedules';
|
|
8
|
+
import ProductExtension from './productExtension';
|
|
9
|
+
import RuleSetting from './ruleSetting';
|
|
10
|
+
import TaxSelect from './taxSelect';
|
|
11
|
+
import ToCPay from './pay/toC';
|
|
12
|
+
import WalletList from './walletList';
|
|
13
|
+
import Wallet from './wallet';
|
|
14
|
+
import WorkspaceListDetail from './workSpaceListDetail/';
|
|
15
|
+
import WorkspaceList from './workSpaceList';
|
|
16
|
+
import PisellSelectCustomerModal from './pisellSelectCustomerModal';
|
|
17
|
+
import SubTotal from './subTotal';
|
|
18
|
+
import EditBookingModal from './booking/editBookingModal';
|
|
19
|
+
import StepController from './stepController';
|
|
20
|
+
import PinModal from './pinModal';
|
|
21
|
+
import PinVerifyModal from './pinVerifyModal';
|
|
22
|
+
import { OAuthConfig, SaaSAdminAuth, OrgAdminAuth, CustomerAuth, CustomerOAuthConfig, DeviceAuth, POSOperatorAuth, OnlineShopAuth, SaaSManagermentAuth } from './authentication/admin';
|
|
23
|
+
export { Login, BookingInfo, Booking, BookingNotes, BookingAddons, BookingForms, Schedules, ProductExtension, RuleSetting, TaxSelect, ToCPay, PisellSelectCustomerModal, Wallet, WalletList, WorkspaceList, WorkspaceListDetail, SubTotal, EditBookingModal, StepController, PinModal, PinVerifyModal, OAuthConfig, SaaSAdminAuth, OrgAdminAuth, CustomerAuth, CustomerOAuthConfig, DeviceAuth, POSOperatorAuth, OnlineShopAuth, SaaSManagermentAuth, };
|
package/lib/components/index.js
CHANGED
|
@@ -72,8 +72,8 @@ var import_productExtension = __toESM(require("./productExtension"));
|
|
|
72
72
|
var import_ruleSetting = __toESM(require("./ruleSetting"));
|
|
73
73
|
var import_taxSelect = __toESM(require("./taxSelect"));
|
|
74
74
|
var import_toC = __toESM(require("./pay/toC"));
|
|
75
|
-
var import_wallet = __toESM(require("./wallet"));
|
|
76
75
|
var import_walletList = __toESM(require("./walletList"));
|
|
76
|
+
var import_wallet = __toESM(require("./wallet"));
|
|
77
77
|
var import_workSpaceListDetail = __toESM(require("./workSpaceListDetail/"));
|
|
78
78
|
var import_workSpaceList = __toESM(require("./workSpaceList"));
|
|
79
79
|
var import_pisellSelectCustomerModal = __toESM(require("./pisellSelectCustomerModal"));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
export interface ApplePayRef {
|
|
4
|
+
init: (res: any) => void;
|
|
5
|
+
}
|
|
6
|
+
export interface ApplePayProps {
|
|
7
|
+
onChange?: (values: any) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: React.ForwardRefExoticComponent<ApplePayProps & React.RefAttributes<any>>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface GooglePayRef {
|
|
3
|
+
init: (res: any) => void;
|
|
4
|
+
}
|
|
5
|
+
export interface GooglePayProps {
|
|
6
|
+
onChange?: (values: any) => void;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: React.ForwardRefExoticComponent<GooglePayProps & React.RefAttributes<any>>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
export interface SuperPayAliPayH5Ref {
|
|
4
|
+
init: (res: any) => void;
|
|
5
|
+
}
|
|
6
|
+
export interface SuperPayAliPayH5Props {
|
|
7
|
+
onChange?: (values: any) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: React.ForwardRefExoticComponent<SuperPayAliPayH5Props & React.RefAttributes<any>>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
export interface PaymentReturnContentProps {
|
|
4
|
+
orderId?: string;
|
|
5
|
+
unique_payment_number?: string;
|
|
6
|
+
state?: any;
|
|
7
|
+
handleReturn?: () => void;
|
|
8
|
+
pay_number?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* 支付返回后展示的内容组件
|
|
12
|
+
* 当用户从外部支付页面返回时展示此组件
|
|
13
|
+
*/
|
|
14
|
+
declare const PaymentReturnContent: React.FC<PaymentReturnContentProps>;
|
|
15
|
+
export default PaymentReturnContent;
|
|
@@ -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,298 @@
|
|
|
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
|
+
};
|
|
101
|
+
'zh-CN': {
|
|
102
|
+
'tocPay.text.checkout': string;
|
|
103
|
+
'tocPay.text.total': string;
|
|
104
|
+
'tocPay.text.completePaymentIn': string;
|
|
105
|
+
'tocPay.text.paymentInstructions': string;
|
|
106
|
+
'tocPay.text.serviceCharge': string;
|
|
107
|
+
'tocPay.text.noAvailablePaymentMethods': string;
|
|
108
|
+
'tocPay.text.paymentMethod': string;
|
|
109
|
+
'tocPay.text.connectingApplePay': string;
|
|
110
|
+
'tocPay.text.connectingGooglePay': string;
|
|
111
|
+
'tocPay.text.enterName': string;
|
|
112
|
+
'tocPay.text.enterValidName': string;
|
|
113
|
+
'tocPay.text.enterCardNumber': string;
|
|
114
|
+
'tocPay.text.enterValidCardNumber': string;
|
|
115
|
+
'tocPay.text.enterExpirationDate': string;
|
|
116
|
+
'tocPay.text.enterCVV': string;
|
|
117
|
+
'tocPay.text.enterValidCVV': string;
|
|
118
|
+
'tocPay.text.addCard': string;
|
|
119
|
+
'tocPay.text.creditorDebitCard': string;
|
|
120
|
+
'tocPay.text.addCreditOrDebitCard': string;
|
|
121
|
+
'tocPay.text.cardNumber': string;
|
|
122
|
+
'tocPay.text.incorrectCardNumber': string;
|
|
123
|
+
'tocPay.text.expiration': string;
|
|
124
|
+
'tocPay.text.incorrectExpiryDate': string;
|
|
125
|
+
'tocPay.text.securityCode': string;
|
|
126
|
+
'tocPay.text.incorrectSecurityCode': string;
|
|
127
|
+
'tocPay.text.cardholderName': string;
|
|
128
|
+
'tocPay.text.enterEnglishName': string;
|
|
129
|
+
'tocPay.text.incorrectName': string;
|
|
130
|
+
'tocPay.text.saveCardForNextTime': string;
|
|
131
|
+
'tocPay.text.secureBankInfo': string;
|
|
132
|
+
'tocPay.text.pay': string;
|
|
133
|
+
'tocPay.text.surcharge': string;
|
|
134
|
+
'tocPay.text.done': string;
|
|
135
|
+
'tocPay.text.manageCard': string;
|
|
136
|
+
'tocPay.text.waitingForBankVerification': string;
|
|
137
|
+
'tocPay.text.successBack': string;
|
|
138
|
+
'tocPay.text.redirectingToAlipay': string;
|
|
139
|
+
'tocPay.text.redirectingToPaypal': string;
|
|
140
|
+
'tocPay.text.redirectingToWeChatPay': string;
|
|
141
|
+
'tocPay.text.submit': string;
|
|
142
|
+
'tocPay.text.clickSubmitToComplete': string;
|
|
143
|
+
'tocPay.text.noExtraPayNeeded': string;
|
|
144
|
+
'tocPay.text.continuePayment': string;
|
|
145
|
+
'tocPay.text.prompt': string;
|
|
146
|
+
'tocPay.text.confirmLeave': string;
|
|
147
|
+
'tocPay.text.continuePay': string;
|
|
148
|
+
'tocPay.text.leave': string;
|
|
149
|
+
'tocPay.text.getParamsFail': string;
|
|
150
|
+
'tocPay.text.walletPass': string;
|
|
151
|
+
'tocPay.text.toUse': string;
|
|
152
|
+
'tocPay.text.searchResult': string;
|
|
153
|
+
'tocPay.text.select': string;
|
|
154
|
+
'tocPay.text.couponCodesAdded': string;
|
|
155
|
+
'tocPay.text.redeem': string;
|
|
156
|
+
'tocPay.text.howToPay': string;
|
|
157
|
+
'tocPay.text.congrats': string;
|
|
158
|
+
'tocPay.text.creditHaveBeen': string;
|
|
159
|
+
'tocPay.text.walletPassCodesTitle': string;
|
|
160
|
+
'tocPay.text.scanBarQrCode': string;
|
|
161
|
+
'tocPay.text.enterCodes': string;
|
|
162
|
+
'tocPay.text.searchDescribe': string;
|
|
163
|
+
'tocPay.text.walletPassEmpty': (walletName: string) => string;
|
|
164
|
+
'tocPay.text.walletPassDisabled': string;
|
|
165
|
+
'tocPay.text.walletPassPermanent': string;
|
|
166
|
+
'tocPay.text.walletPassCompleteTitle': string;
|
|
167
|
+
'tocPay.text.walletPassNoExtraPay': string;
|
|
168
|
+
'tocPay.text.walletCanPay': string;
|
|
169
|
+
'tocPay.text.walletSearchEmpty': string;
|
|
170
|
+
'tocPay.text.detectIncognitoConfirm': string;
|
|
171
|
+
'tocPay.text.copyLink': string;
|
|
172
|
+
'tocPay.text.copySuccess': string;
|
|
173
|
+
'tocPay.text.walletName': (shopName: string) => string;
|
|
174
|
+
'tocPay.text.bestValueFound': string;
|
|
175
|
+
'tocPay.text.welcomeToUseWalletPass': (walletName: string) => string;
|
|
176
|
+
'tocPay.text.totalSavings': string;
|
|
177
|
+
'tocPay.text.bestCombination': (walletName: string) => string;
|
|
178
|
+
'tocPay.text.recommended': string;
|
|
179
|
+
'tocPay.text.edit': string;
|
|
180
|
+
'tocPay.text.confirm': string;
|
|
181
|
+
'tocPay.text.unusedAndContinueToPayment': string;
|
|
182
|
+
'tocPay.text.walletPassAvailable': (walletName: string) => string;
|
|
183
|
+
'tocPay.text.useWalletPass': (walletName: string) => string;
|
|
184
|
+
'tocPay.text.useWalletPassAdd': (walletName: string) => string;
|
|
185
|
+
'tocPay.text.editWalletPass': (walletName: string) => string;
|
|
186
|
+
'tocPay.text.skipAndContinueToPayment': string;
|
|
187
|
+
'tocPay.text.youMightHaveAnEligibleWalletPass': (walletName: string) => string;
|
|
188
|
+
'tocPay.text.checkIfYouHaveAnyPointsCardRechargableCardOrVouchersToUse': string;
|
|
189
|
+
'tocPay.text.addPointsCard': string;
|
|
190
|
+
'tocPay.text.hasNoWalletPassAmount': string;
|
|
191
|
+
'tocPay.text.multipleSelectionAvailable': string;
|
|
192
|
+
'tocPay.text.youCanSelectMultipleWalletPassesToCombineForPayment': (walletName: string) => string;
|
|
193
|
+
'tocPay.text.bestValueCombination': string;
|
|
194
|
+
'tocPay.text.viewDetail': string;
|
|
195
|
+
'tocPay.text.returnAndSelectOtherPaymentMethod': string;
|
|
196
|
+
'tocPay.text.paymentCompletedAndViewOrder': string;
|
|
197
|
+
'tocPay.text.paymentFailed': string;
|
|
198
|
+
};
|
|
199
|
+
'zh-HK': {
|
|
200
|
+
'tocPay.text.checkout': string;
|
|
201
|
+
'tocPay.text.total': string;
|
|
202
|
+
'tocPay.text.completePaymentIn': string;
|
|
203
|
+
'tocPay.text.paymentInstructions': string;
|
|
204
|
+
'tocPay.text.serviceCharge': string;
|
|
205
|
+
'tocPay.text.noAvailablePaymentMethods': string;
|
|
206
|
+
'tocPay.text.paymentMethod': string;
|
|
207
|
+
'tocPay.text.connectingApplePay': string;
|
|
208
|
+
'tocPay.text.connectingGooglePay': string;
|
|
209
|
+
'tocPay.text.enterName': string;
|
|
210
|
+
'tocPay.text.enterValidName': string;
|
|
211
|
+
'tocPay.text.enterCardNumber': string;
|
|
212
|
+
'tocPay.text.enterValidCardNumber': string;
|
|
213
|
+
'tocPay.text.enterExpirationDate': string;
|
|
214
|
+
'tocPay.text.enterCVV': string;
|
|
215
|
+
'tocPay.text.enterValidCVV': string;
|
|
216
|
+
'tocPay.text.addCard': string;
|
|
217
|
+
'tocPay.text.creditorDebitCard': string;
|
|
218
|
+
'tocPay.text.addCreditOrDebitCard': string;
|
|
219
|
+
'tocPay.text.cardNumber': string;
|
|
220
|
+
'tocPay.text.incorrectCardNumber': string;
|
|
221
|
+
'tocPay.text.expiration': string;
|
|
222
|
+
'tocPay.text.incorrectExpiryDate': string;
|
|
223
|
+
'tocPay.text.securityCode': string;
|
|
224
|
+
'tocPay.text.incorrectSecurityCode': string;
|
|
225
|
+
'tocPay.text.cardholderName': string;
|
|
226
|
+
'tocPay.text.enterEnglishName': string;
|
|
227
|
+
'tocPay.text.incorrectName': string;
|
|
228
|
+
'tocPay.text.saveCardForNextTime': string;
|
|
229
|
+
'tocPay.text.secureBankInfo': string;
|
|
230
|
+
'tocPay.text.pay': string;
|
|
231
|
+
'tocPay.text.surcharge': string;
|
|
232
|
+
'tocPay.text.done': string;
|
|
233
|
+
'tocPay.text.manageCard': string;
|
|
234
|
+
'tocPay.text.waitingForBankVerification': string;
|
|
235
|
+
'tocPay.text.successBack': string;
|
|
236
|
+
'tocPay.text.redirectingToAlipay': string;
|
|
237
|
+
'tocPay.text.redirectingToPaypal': string;
|
|
238
|
+
'tocPay.text.redirectingToWeChatPay': string;
|
|
239
|
+
'tocPay.text.submit': string;
|
|
240
|
+
'tocPay.text.clickSubmitToComplete': string;
|
|
241
|
+
'tocPay.text.noExtraPayNeeded': string;
|
|
242
|
+
'tocPay.text.continuePayment': string;
|
|
243
|
+
'tocPay.text.prompt': string;
|
|
244
|
+
'tocPay.text.confirmLeave': string;
|
|
245
|
+
'tocPay.text.continuePay': string;
|
|
246
|
+
'tocPay.text.leave': string;
|
|
247
|
+
'tocPay.text.getParamsFail': string;
|
|
248
|
+
'tocPay.text.walletPass': string;
|
|
249
|
+
'tocPay.text.toUse': string;
|
|
250
|
+
'tocPay.text.searchResult': string;
|
|
251
|
+
'tocPay.text.select': string;
|
|
252
|
+
'tocPay.text.couponCodesAdded': string;
|
|
253
|
+
'tocPay.text.redeem': string;
|
|
254
|
+
'tocPay.text.howToPay': string;
|
|
255
|
+
'tocPay.text.congrats': string;
|
|
256
|
+
'tocPay.text.creditHaveBeen': string;
|
|
257
|
+
'tocPay.text.walletPassCodesTitle': string;
|
|
258
|
+
'tocPay.text.scanBarQrCode': string;
|
|
259
|
+
'tocPay.text.enterCodes': string;
|
|
260
|
+
'tocPay.text.searchDescribe': string;
|
|
261
|
+
'tocPay.text.walletPassEmpty': (walletName: string) => string;
|
|
262
|
+
'tocPay.text.walletPassDisabled': string;
|
|
263
|
+
'tocPay.text.walletPassPermanent': string;
|
|
264
|
+
'tocPay.text.walletPassCompleteTitle': string;
|
|
265
|
+
'tocPay.text.walletPassNoExtraPay': string;
|
|
266
|
+
'tocPay.text.walletCanPay': string;
|
|
267
|
+
'tocPay.text.walletSearchEmpty': string;
|
|
268
|
+
'tocPay.text.detectIncognitoConfirm': string;
|
|
269
|
+
'tocPay.text.copyLink': string;
|
|
270
|
+
'tocPay.text.copySuccess': string;
|
|
271
|
+
'tocPay.text.walletName': (shopName: string) => string;
|
|
272
|
+
'tocPay.text.bestValueFound': string;
|
|
273
|
+
'tocPay.text.welcomeToUseWalletPass': (walletName: string) => string;
|
|
274
|
+
'tocPay.text.totalSavings': string;
|
|
275
|
+
'tocPay.text.bestCombination': (walletName: string) => string;
|
|
276
|
+
'tocPay.text.recommended': string;
|
|
277
|
+
'tocPay.text.edit': string;
|
|
278
|
+
'tocPay.text.confirm': string;
|
|
279
|
+
'tocPay.text.unusedAndContinueToPayment': string;
|
|
280
|
+
'tocPay.text.walletPassAvailable': (walletName: string) => string;
|
|
281
|
+
'tocPay.text.useWalletPass': (walletName: string) => string;
|
|
282
|
+
'tocPay.text.useWalletPassAdd': (walletName: string) => string;
|
|
283
|
+
'tocPay.text.editWalletPass': (walletName: string) => string;
|
|
284
|
+
'tocPay.text.skipAndContinueToPayment': string;
|
|
285
|
+
'tocPay.text.youMightHaveAnEligibleWalletPass': (walletName: string) => string;
|
|
286
|
+
'tocPay.text.checkIfYouHaveAnyPointsCardRechargableCardOrVouchersToUse': string;
|
|
287
|
+
'tocPay.text.addPointsCard': string;
|
|
288
|
+
'tocPay.text.hasNoWalletPassAmount': string;
|
|
289
|
+
'tocPay.text.multipleSelectionAvailable': string;
|
|
290
|
+
'tocPay.text.youCanSelectMultipleWalletPassesToCombineForPayment': (walletName: string) => string;
|
|
291
|
+
'tocPay.text.bestValueCombination': string;
|
|
292
|
+
'tocPay.text.viewDetail': string;
|
|
293
|
+
'tocPay.text.returnAndSelectOtherPaymentMethod': string;
|
|
294
|
+
'tocPay.text.paymentCompletedAndViewOrder': string;
|
|
295
|
+
'tocPay.text.paymentFailed': string;
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface FormState {
|
|
3
|
+
platform: 'pc' | 'h5' | '' | undefined;
|
|
4
|
+
order: any;
|
|
5
|
+
status: 'init' | 'ready' | 'loading' | 'success' | 'error';
|
|
6
|
+
payCallback: (res?: any) => void;
|
|
7
|
+
history?: any;
|
|
8
|
+
payGroup?: PayGroup;
|
|
9
|
+
walletSetting: {
|
|
10
|
+
name: string;
|
|
11
|
+
popup_status: 0 | 1 | null;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export interface PayGroup {
|
|
15
|
+
order_id?: string;
|
|
16
|
+
total_amount?: number;
|
|
17
|
+
walletPass?: {
|
|
18
|
+
amount: number;
|
|
19
|
+
cards: any[];
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
paid?: boolean;
|
|
22
|
+
};
|
|
23
|
+
otherPayment?: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
};
|
|
26
|
+
wait_amount?: number;
|
|
27
|
+
payment_group_id?: number;
|
|
28
|
+
payment_priority?: string[];
|
|
29
|
+
pay_number?: string;
|
|
30
|
+
_order: any;
|
|
31
|
+
front_order_uuid?: string;
|
|
32
|
+
}
|
|
33
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
34
|
+
state: FormState;
|
|
35
|
+
} & {
|
|
36
|
+
dispatch: (params: {
|
|
37
|
+
type: string;
|
|
38
|
+
payload: any;
|
|
39
|
+
}) => void;
|
|
40
|
+
}>;
|