@pisell/private-materials 6.3.66 → 6.3.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +7 -7
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +9 -9
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +9 -9
- package/es/businessModel/SalesModel/index.d.ts +0 -1
- package/es/components/Sales/Summary/utils.d.ts +51 -0
- package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/appointmentBooking/locales.d.ts +363 -0
- package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
- package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
- package/es/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
- package/es/components/authentication/admin/AuthMethods/types.d.ts +76 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
- package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
- package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
- package/es/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
- package/es/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
- package/es/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
- package/es/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
- package/es/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
- package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
- package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
- package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
- package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
- package/es/components/authentication/index.d.ts +0 -0
- package/es/components/booking/addons/model.d.ts +10 -1
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
- package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
- package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
- package/es/components/booking/components/reloadResourceModal/index.d.ts +1 -0
- package/es/components/booking/components/tabPane/index.d.ts +4 -0
- package/es/components/booking/dashboard/serve.d.ts +1 -0
- package/es/components/booking/editBookingModal/utils.d.ts +12 -0
- package/es/components/booking/forms/model.d.ts +10 -1
- package/es/components/booking/forms/serve.d.ts +18 -0
- package/es/components/booking/forms/single/index.d.ts +1 -0
- package/es/components/booking/forms/table/index.d.ts +1 -0
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
- package/es/components/booking/info/client/serve.d.ts +2 -0
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/es/components/booking/info/date/index.d.ts +1 -0
- package/es/components/booking/info/dateRange/index.d.ts +0 -1
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/es/components/booking/info/index.d.ts +0 -1
- package/es/components/booking/info/model.d.ts +10 -1
- package/es/components/booking/info/notes/index.d.ts +1 -0
- package/es/components/booking/info/pet/serve.d.ts +1 -0
- package/es/components/booking/info/service/Lists.d.ts +0 -1
- package/es/components/booking/info/service/actions/index.d.ts +1 -0
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/es/components/booking/info/service/editService/constants.d.ts +1 -0
- package/es/components/booking/info/service/serve.d.ts +20 -0
- package/es/components/booking/info/service2/Lists.d.ts +0 -1
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info2/service/actions/index.d.ts +1 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
- package/es/components/booking/locales.d.ts +843 -0
- package/es/components/booking/materiels/contacts/index.d.ts +1 -0
- package/es/components/booking/materiels/duration/index.d.ts +1 -0
- package/es/components/booking/materiels/holder/index.d.ts +1 -0
- package/es/components/booking/model.d.ts +9 -1
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
- package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/es/components/booking/notes/model.d.ts +10 -1
- package/es/components/booking/payments/model.d.ts +10 -1
- package/es/components/eftpos/index.d.ts +1 -0
- package/es/components/eftpos/pos.d.ts +1 -0
- package/es/components/eftposPay/amount.d.ts +2 -1
- package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
- package/es/components/eftposPay/component/fail/network.d.ts +1 -0
- package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
- package/es/components/eftposPay/component/manual/index.d.ts +1 -0
- package/es/components/eftposPay/component/signature/index.d.ts +1 -0
- package/es/components/eftposPay/const.d.ts +184 -0
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/locales.d.ts +330 -0
- package/es/components/eftposPay/pay.d.ts +1 -0
- package/es/components/eftposPay/payo/config.d.ts +1 -0
- package/es/components/eftposPay/tip.d.ts +1 -0
- package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
- package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/es/components/login/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentList/index.d.ts +1 -1
- package/es/components/pay/toC/PaymentList/index.js +54 -5
- package/es/components/pay/toC/PaymentList/index.less +58 -1
- package/es/components/pay/toC/PaymentList/payment/credit_card.png +0 -0
- package/es/components/pay/toC/PaymentList/payment/visa.png +0 -0
- package/es/components/pay/toC/PaymentList/serve.d.ts +1 -1
- package/es/components/pay/toC/PaymentList/serve.js +8 -0
- package/es/components/pay/toC/PaymentList/utils.d.ts +36 -0
- package/es/components/pay/toC/PaymentList/utils.js +187 -6
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/es/components/pay/toC/index.js +2 -1
- package/es/components/pay/toC/locales.d.ts +307 -0
- package/es/components/pay/toC/locales.js +9 -3
- package/es/components/pay/toC/model.d.ts +9 -1
- package/es/components/pay/toC/status.d.ts +13 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/es/components/ruleSetting/locales.d.ts +48 -0
- package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/es/components/schedules/calendar/index.d.ts +1 -0
- package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/es/components/schedules/model.d.ts +9 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/products/index.d.ts +1 -0
- package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
- package/es/components/schedules/products/list/index.d.ts +1 -0
- package/es/components/schedules/resources/index.d.ts +1 -0
- package/es/components/schedules/resources/list/index.d.ts +1 -0
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/schedules/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
- package/es/components/shoppingCart/index.d.ts +1 -0
- package/es/components/shoppingCart/locales.d.ts +33 -0
- package/es/components/shoppingCart/type.d.ts +48 -0
- package/es/components/subTotal/locales.d.ts +42 -0
- package/es/components/systemSettings/registry/locales.d.ts +272 -0
- package/es/components/systemSettings/registry/services.d.ts +77 -0
- package/es/components/systemSettings/registry/types.d.ts +126 -0
- package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
- package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
- package/es/components/ticketBooking/locales.d.ts +174 -0
- package/es/components/wallet/utils.d.ts +48 -0
- package/es/components/walletList/locales.d.ts +27 -0
- package/es/components/walletList/types/index.d.ts +194 -0
- package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/es/hooks/useEngineContext.d.ts +10 -0
- package/es/hooks/usePaymentLogger.d.ts +1 -0
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/plus/clientName/index.d.ts +4 -0
- package/es/plus/clientName/type.d.ts +13 -0
- package/es/plus/clientName/utils.d.ts +2 -0
- package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
- package/es/plus/contactInfo/locales.d.ts +15 -0
- package/es/plus/contactInfo/types.d.ts +91 -0
- package/es/plus/contactInfo/utils.d.ts +7 -0
- package/es/plus/contactInfoModal/locales.d.ts +66 -0
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/es/plus/productSelect/index.js +5 -1
- package/es/plus/saasCreateOrganization/components/Header.d.ts +1 -0
- package/es/plus/saasRegister/components/EntryEmail.d.ts +1 -0
- package/es/plus/saasRegister/components/EntryInfo.d.ts +1 -0
- package/es/plus/saasRegister/components/GoLogin.d.ts +1 -0
- package/es/plus/saasRegister/components/Header.d.ts +1 -0
- package/es/plus/saasRegister/components/VerifyError.d.ts +1 -0
- package/es/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
- package/es/plus/selectHolder/locales.d.ts +21 -0
- package/es/plus/selectHolder/types.d.ts +104 -0
- package/es/plus/selectHolder/utils.d.ts +9 -0
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
- package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
- package/es/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
- package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
- package/es/plus/skuOptionsSelection/locales.d.ts +30 -0
- package/es/plus/skuOptionsSelection/store/actions.d.ts +22 -0
- package/es/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
- package/es/plus/skuOptionsSelection/store/index.d.ts +2 -0
- package/es/plus/skuOptionsSelection/store/store.d.ts +4 -0
- package/es/plus/skuOptionsSelection/types.d.ts +424 -0
- package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
- package/es/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
- package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
- package/es/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
- package/es/plus/walletEditor/locales.d.ts +135 -0
- package/es/plus/walletEditor/types.d.ts +52 -0
- package/es/plus/walletPassGallery/locales.d.ts +285 -0
- package/es/plus/walletPassGallery/utils.d.ts +48 -0
- package/es/pro/Login2.0/hooks/index.d.ts +2 -0
- package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
- package/es/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
- package/es/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
- package/es/pro/Login2.0/locales.d.ts +543 -0
- package/es/pro/Login2.0/shared/Header.d.ts +11 -0
- package/es/pro/Login2.0/shared/registerFlow.d.ts +116 -0
- package/es/pro/Login2.0/shared/types.d.ts +232 -0
- package/es/pro/Login2.0/steps/CodeInput.js +37 -7
- package/es/pro/Login2.0/types.d.ts +167 -0
- package/es/pro/NumericStepper/index.d.ts +43 -0
- package/es/pro/Selector/BatchSelectorDemo.d.ts +3 -0
- package/es/pro/Selector/Item.d.ts +14 -0
- package/es/pro/Selector/Selector.stories.d.ts +78 -0
- package/es/pro/Selector/components/Card/index.d.ts +57 -0
- package/es/pro/Selector/components/Card/types.d.ts +1 -0
- package/es/pro/Selector/components/Indicator/index.d.ts +19 -0
- package/es/pro/Selector/components/IntersectionObserver.d.ts +105 -0
- package/es/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
- package/es/pro/Selector/components/Media/index.d.ts +6 -0
- package/es/pro/Selector/components/Media/types.d.ts +47 -0
- package/es/pro/Selector/components/index.d.ts +4 -0
- package/es/pro/Selector/demo.d.ts +2 -0
- package/es/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
- package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
- package/es/pro/Selector/index.d.ts +11 -0
- package/es/pro/Selector/locales.d.ts +36 -0
- package/es/pro/Selector/types.d.ts +173 -0
- package/es/pro/Selector/utils/index.d.ts +49 -0
- package/es/pro/pisellPaymentList/example.d.ts +19 -0
- package/es/test/setup.d.ts +1 -0
- package/lib/businessModel/SalesModel/index.d.ts +0 -1
- package/lib/components/Sales/Summary/utils.d.ts +51 -0
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/appointmentBooking/locales.d.ts +363 -0
- package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
- package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
- package/lib/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
- package/lib/components/authentication/admin/AuthMethods/types.d.ts +76 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
- package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
- package/lib/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
- package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
- package/lib/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
- package/lib/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
- package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
- package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
- package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
- package/lib/components/authentication/index.d.ts +0 -0
- package/lib/components/booking/addons/model.d.ts +10 -1
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
- package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
- package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +1 -0
- package/lib/components/booking/components/tabPane/index.d.ts +4 -0
- package/lib/components/booking/dashboard/serve.d.ts +1 -0
- package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
- package/lib/components/booking/forms/model.d.ts +10 -1
- package/lib/components/booking/forms/serve.d.ts +18 -0
- package/lib/components/booking/forms/single/index.d.ts +1 -0
- package/lib/components/booking/forms/table/index.d.ts +1 -0
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
- package/lib/components/booking/info/client/serve.d.ts +2 -0
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/lib/components/booking/info/date/index.d.ts +1 -0
- package/lib/components/booking/info/dateRange/index.d.ts +0 -1
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/lib/components/booking/info/index.d.ts +0 -1
- package/lib/components/booking/info/model.d.ts +10 -1
- package/lib/components/booking/info/notes/index.d.ts +1 -0
- package/lib/components/booking/info/pet/serve.d.ts +1 -0
- package/lib/components/booking/info/service/Lists.d.ts +0 -1
- package/lib/components/booking/info/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
- package/lib/components/booking/info/service/serve.d.ts +20 -0
- package/lib/components/booking/info/service2/Lists.d.ts +0 -1
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
- package/lib/components/booking/locales.d.ts +843 -0
- package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
- package/lib/components/booking/materiels/duration/index.d.ts +1 -0
- package/lib/components/booking/materiels/holder/index.d.ts +1 -0
- package/lib/components/booking/model.d.ts +9 -1
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
- package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/lib/components/booking/notes/model.d.ts +10 -1
- package/lib/components/booking/payments/model.d.ts +10 -1
- package/lib/components/eftpos/index.d.ts +1 -0
- package/lib/components/eftpos/pos.d.ts +1 -0
- package/lib/components/eftposPay/amount.d.ts +2 -1
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
- package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
- package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
- package/lib/components/eftposPay/const.d.ts +184 -0
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/locales.d.ts +330 -0
- package/lib/components/eftposPay/pay.d.ts +1 -0
- package/lib/components/eftposPay/payo/config.d.ts +1 -0
- package/lib/components/eftposPay/tip.d.ts +1 -0
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
- package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/lib/components/login/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentList/index.d.ts +1 -1
- package/lib/components/pay/toC/PaymentList/index.js +36 -5
- package/lib/components/pay/toC/PaymentList/index.less +58 -1
- package/lib/components/pay/toC/PaymentList/payment/credit_card.png +0 -0
- package/lib/components/pay/toC/PaymentList/payment/visa.png +0 -0
- package/lib/components/pay/toC/PaymentList/serve.d.ts +1 -1
- package/lib/components/pay/toC/PaymentList/serve.js +6 -1
- package/lib/components/pay/toC/PaymentList/utils.d.ts +36 -0
- package/lib/components/pay/toC/PaymentList/utils.js +155 -7
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/lib/components/pay/toC/index.js +2 -1
- package/lib/components/pay/toC/locales.d.ts +307 -0
- package/lib/components/pay/toC/locales.js +9 -3
- package/lib/components/pay/toC/model.d.ts +9 -1
- package/lib/components/pay/toC/status.d.ts +13 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/lib/components/ruleSetting/locales.d.ts +48 -0
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/lib/components/schedules/calendar/index.d.ts +1 -0
- package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/lib/components/schedules/model.d.ts +9 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/products/index.d.ts +1 -0
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
- package/lib/components/schedules/products/list/index.d.ts +1 -0
- package/lib/components/schedules/resources/index.d.ts +1 -0
- package/lib/components/schedules/resources/list/index.d.ts +1 -0
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/schedules/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
- package/lib/components/shoppingCart/index.d.ts +1 -0
- package/lib/components/shoppingCart/locales.d.ts +33 -0
- package/lib/components/shoppingCart/type.d.ts +48 -0
- package/lib/components/subTotal/locales.d.ts +42 -0
- package/lib/components/systemSettings/registry/locales.d.ts +272 -0
- package/lib/components/systemSettings/registry/services.d.ts +77 -0
- package/lib/components/systemSettings/registry/types.d.ts +126 -0
- package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
- package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
- package/lib/components/ticketBooking/locales.d.ts +174 -0
- package/lib/components/wallet/utils.d.ts +48 -0
- package/lib/components/walletList/locales.d.ts +27 -0
- package/lib/components/walletList/types/index.d.ts +194 -0
- package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/lib/hooks/useEngineContext.d.ts +10 -0
- package/lib/hooks/usePaymentLogger.d.ts +1 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/plus/clientName/index.d.ts +4 -0
- package/lib/plus/clientName/type.d.ts +13 -0
- package/lib/plus/clientName/utils.d.ts +2 -0
- package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
- package/lib/plus/contactInfo/locales.d.ts +15 -0
- package/lib/plus/contactInfo/types.d.ts +91 -0
- package/lib/plus/contactInfo/utils.d.ts +7 -0
- package/lib/plus/contactInfoModal/locales.d.ts +66 -0
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/lib/plus/productSelect/index.js +4 -1
- package/lib/plus/saasCreateOrganization/components/Header.d.ts +1 -0
- package/lib/plus/saasRegister/components/EntryEmail.d.ts +1 -0
- package/lib/plus/saasRegister/components/EntryInfo.d.ts +1 -0
- package/lib/plus/saasRegister/components/GoLogin.d.ts +1 -0
- package/lib/plus/saasRegister/components/Header.d.ts +1 -0
- package/lib/plus/saasRegister/components/VerifyError.d.ts +1 -0
- package/lib/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
- package/lib/plus/selectHolder/locales.d.ts +21 -0
- package/lib/plus/selectHolder/types.d.ts +104 -0
- package/lib/plus/selectHolder/utils.d.ts +9 -0
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
- package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
- package/lib/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
- package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
- package/lib/plus/skuOptionsSelection/locales.d.ts +30 -0
- package/lib/plus/skuOptionsSelection/store/actions.d.ts +22 -0
- package/lib/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
- package/lib/plus/skuOptionsSelection/store/index.d.ts +2 -0
- package/lib/plus/skuOptionsSelection/store/store.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/types.d.ts +424 -0
- package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
- package/lib/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
- package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
- package/lib/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
- package/lib/plus/walletEditor/locales.d.ts +135 -0
- package/lib/plus/walletEditor/types.d.ts +52 -0
- package/lib/plus/walletPassGallery/locales.d.ts +285 -0
- package/lib/plus/walletPassGallery/utils.d.ts +48 -0
- package/lib/pro/Login2.0/hooks/index.d.ts +2 -0
- package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
- package/lib/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
- package/lib/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
- package/lib/pro/Login2.0/locales.d.ts +543 -0
- package/lib/pro/Login2.0/shared/Header.d.ts +11 -0
- package/lib/pro/Login2.0/shared/registerFlow.d.ts +116 -0
- package/lib/pro/Login2.0/shared/types.d.ts +232 -0
- package/lib/pro/Login2.0/steps/CodeInput.js +27 -5
- package/lib/pro/Login2.0/types.d.ts +167 -0
- package/lib/pro/NumericStepper/index.d.ts +43 -0
- package/lib/pro/Selector/BatchSelectorDemo.d.ts +3 -0
- package/lib/pro/Selector/Item.d.ts +14 -0
- package/lib/pro/Selector/Selector.stories.d.ts +78 -0
- package/lib/pro/Selector/components/Card/index.d.ts +57 -0
- package/lib/pro/Selector/components/Card/types.d.ts +1 -0
- package/lib/pro/Selector/components/Indicator/index.d.ts +19 -0
- package/lib/pro/Selector/components/IntersectionObserver.d.ts +105 -0
- package/lib/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
- package/lib/pro/Selector/components/Media/index.d.ts +6 -0
- package/lib/pro/Selector/components/Media/types.d.ts +47 -0
- package/lib/pro/Selector/components/index.d.ts +4 -0
- package/lib/pro/Selector/demo.d.ts +2 -0
- package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
- package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
- package/lib/pro/Selector/index.d.ts +11 -0
- package/lib/pro/Selector/locales.d.ts +36 -0
- package/lib/pro/Selector/types.d.ts +173 -0
- package/lib/pro/Selector/utils/index.d.ts +49 -0
- package/lib/pro/pisellPaymentList/example.d.ts +19 -0
- package/lib/test/setup.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'page.eftpos-pay.text.loading': (mode: string) => string;
|
|
4
|
+
'page.eftpos-pay.text.wait': (val: string, mode: string) => string;
|
|
5
|
+
'page.eftpos-pay.text.surcharge': string;
|
|
6
|
+
'page.eftpos-pay.text.card': string;
|
|
7
|
+
'page.eftpos-pay.text.account': string;
|
|
8
|
+
'page.eftpos-pay.text.pin': string;
|
|
9
|
+
'page.eftpos-pay.text.receipt': string;
|
|
10
|
+
'page.eftpos-pay.text.receipt.again.title': string;
|
|
11
|
+
'page.eftpos-pay.text.receipt.again.text': string;
|
|
12
|
+
'page.eftpos-pay.text.signature.title': string;
|
|
13
|
+
'page.eftpos-pay.text.signature.text': (mode: string) => "Decline will cause payment failure, need to pay again." | "Decline will cause refund failure; a refund needs to be processed again.";
|
|
14
|
+
'page.eftpos-pay.text.timedout.title': string;
|
|
15
|
+
'page.eftpos-pay.text.timedout.text': (mode: string) => "Please manually mark the payment result based on the payment status displayed on the card reader, to ensure the accuracy of the transaction." | "Please manually verify the refund result based on the refund status displayed on the card reader to ensure the transaction's accuracy.";
|
|
16
|
+
'page.eftpos-pay.text.request.title': (mode: string) => string;
|
|
17
|
+
'page.eftpos-pay.text.request.text': (mode: string) => "Please manually mark the payment result based on the payment status displayed on the card reader, to ensure the accuracy of the transaction." | "Please manually verify the refund result based on the refund status displayed on the card reader to ensure the transaction's accuracy.";
|
|
18
|
+
'page.eftpos-pay.text.request.unknown.title': (mode: string) => string;
|
|
19
|
+
'page.eftpos-pay.text.request.unknown.text': (mode: string) => "Please manually mark the payment result based on the payment status displayed on the card reader, to ensure the accuracy of the transaction." | "Please manually mark the refund result based on the refund status displayed on the card reader, to ensure the accuracy of the transaction.";
|
|
20
|
+
'page.eftpos-pay.text.interrupted': string;
|
|
21
|
+
'page.eftpos-pay.text.reconnect': string;
|
|
22
|
+
'page.eftpos-pay.text.waiting.pay': (mode: string) => "If you have confirmed the payment status from the EFTPOS, you can press Manual marking buttonto skip." | "If you have confirmed the refund status on the EFTPOS, you can press the Manual Marking button to skip.";
|
|
23
|
+
'page.eftpos-pay.text.restored': string;
|
|
24
|
+
'page.eftpos-pay.text.disconnected': string;
|
|
25
|
+
'page.eftpos-pay.text.waiting.network': string;
|
|
26
|
+
'page.eftpos-pay.text.waiting.wifi.title': string;
|
|
27
|
+
'page.eftpos-pay.text.waiting.wifi.connection': string;
|
|
28
|
+
'page.eftpos-pay.text.waiting.wifi.router': string;
|
|
29
|
+
'page.eftpos-pay.text.waiting.wifi.forget.reconnect': string;
|
|
30
|
+
'page.eftpos-pay.text.accept': string;
|
|
31
|
+
'page.eftpos-pay.text.decline': string;
|
|
32
|
+
'page.eftpos-pay.text.manual.marking': string;
|
|
33
|
+
'page.eftpos-pay.text.manual.title': string;
|
|
34
|
+
'page.eftpos-pay.text.manual.subtitle': (money: string) => string;
|
|
35
|
+
'page.eftpos-pay.text.manual.confirm': string;
|
|
36
|
+
'page.eftpos-pay.text.manual.btn.confirm': (money: string) => string;
|
|
37
|
+
'page.eftpos-pay.text.manual.diff': string;
|
|
38
|
+
'page.eftpos-pay.text.manual.tip': string;
|
|
39
|
+
'page.eftpos-pay.text.manual.cancel': string;
|
|
40
|
+
'page.eftpos-pay.text.manual.print_receipt': string;
|
|
41
|
+
'page.eftpos-pay.text.modify.payment.info': (mode: string) => "Modify payment info" | "Modify refund information";
|
|
42
|
+
'page.eftpos-pay.text.successful': (mode: string) => string;
|
|
43
|
+
'page.eftpos-pay.text.failed': (mode: string) => string;
|
|
44
|
+
'page.eftpos-pay.text.confirm': string;
|
|
45
|
+
'page.eftpos-pay.text.confirm.decline': string;
|
|
46
|
+
'page.eftpos-pay.text.back': string;
|
|
47
|
+
'page.eftpos-pay.text.cancel': string;
|
|
48
|
+
'page.eftpos-pay.text.waiting.processing': string;
|
|
49
|
+
'page.eftpos-pay.text.waiting.signature': string;
|
|
50
|
+
'page.eftpos-pay.text.waiting.decline': string;
|
|
51
|
+
'page.eftpos-pay.text.processing': string;
|
|
52
|
+
'page.eftpos-pay.text.transaction.processing': string;
|
|
53
|
+
'page.eftpos-pay.text.retry': string;
|
|
54
|
+
'page.eftpos-pay.text.sure': string;
|
|
55
|
+
'page.eftpos-pay.text.device': string;
|
|
56
|
+
'page.eftpos-pay.text.leave': string;
|
|
57
|
+
'page.eftpos-pay.text.latest.success': string;
|
|
58
|
+
'page.eftpos-pay.text.latest.amount': string;
|
|
59
|
+
'page.eftpos-pay.text.latest.surcharge': string;
|
|
60
|
+
'page.eftpos-pay.text.latest.time': string;
|
|
61
|
+
'page.eftpos-pay.text.latest.confirm': string;
|
|
62
|
+
'page.eftpos-pay.text.amount.to.pay': string;
|
|
63
|
+
'page.eftpos-pay.text.surcharge.percentage': string;
|
|
64
|
+
'page.eftpos-pay.text.surcharge.fixed': string;
|
|
65
|
+
'page.eftpos-pay.text.surcharge.percentage-fixed': string;
|
|
66
|
+
'page.eftpos-pay.text.surcharge.edit.title': string;
|
|
67
|
+
'page.eftpos-pay.text.input.title': (name: string) => string;
|
|
68
|
+
'page.eftpos-pay.text.amount.cash.left.pay.paid': (money: string) => string;
|
|
69
|
+
'page.eftpos-pay.text.surcharge.edit.actual.pay': string;
|
|
70
|
+
'page.eftpos-pay.text.surcharge.edit.inc.surcharge': string;
|
|
71
|
+
'page.eftpos-pay.text.surcharge.edit.rate': string;
|
|
72
|
+
'page.eftpos-pay.text.surcharge.edit.surcharge': string;
|
|
73
|
+
'page.eftpos-pay.text.transaction.end': string;
|
|
74
|
+
'page.eftpos-pay.text.transaction.user.declined.title': string;
|
|
75
|
+
'page.eftpos-pay.text.transaction.user.declined.text': string;
|
|
76
|
+
'page.eftpos-pay.text.transaction.user.config.title': string;
|
|
77
|
+
'page.eftpos-pay.text.transaction.user.config.text': string;
|
|
78
|
+
'page.eftpos-pay.text.transaction.back.declined.title': string;
|
|
79
|
+
'page.eftpos-pay.text.transaction.back.declined.text': string;
|
|
80
|
+
'page.eftpos-pay.text.transaction.fail': string;
|
|
81
|
+
'page.eftpos-pay.text.transaction.fail.timeout': string;
|
|
82
|
+
'page.eftpos-pay.text.transaction.pay.fail.timeout': string;
|
|
83
|
+
'page.eftpos-pay.text.transaction.fail.terminal.title': string;
|
|
84
|
+
'page.eftpos-pay.text.transaction.fail.terminal': string;
|
|
85
|
+
'page.eftpos-pay.text.transaction.fail.cancel.title': string;
|
|
86
|
+
'page.eftpos-pay.text.transaction.fail.cancel': string;
|
|
87
|
+
'page.eftpos-pay.text.transaction.fail.socket': string;
|
|
88
|
+
'page.eftpos-pay.text.transaction.eftpos.fail': string;
|
|
89
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.title': string;
|
|
90
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.power': string;
|
|
91
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.device': string;
|
|
92
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.network': string;
|
|
93
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.if': (mode: string) => "If you have confirmed the payment status of this order, please click on Manual marking." | "If you have confirmed the refund status of this order, please click on Manual Marking.";
|
|
94
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.other': string;
|
|
95
|
+
'page.eftpos-pay.text.application': string;
|
|
96
|
+
'page.eftpos-pay.text.approved': string;
|
|
97
|
+
'page.eftpos-pay.text.device.no.title': string;
|
|
98
|
+
'page.eftpos-pay.text.device.no.add': string;
|
|
99
|
+
'page.eftpos-pay.text.device.no.web': string;
|
|
100
|
+
'page.eftpos-pay.text.device.no.terminal': string;
|
|
101
|
+
'page.eftpos-pay.text.waiting.decline.signature': string;
|
|
102
|
+
'page.eftpos-pay.text.unknown.title': (mode: string) => string;
|
|
103
|
+
'page.eftpos-pay.text.unknown.text': (mode: string) => string;
|
|
104
|
+
'page.eftpos-pay.text.reconnecting': string;
|
|
105
|
+
'page.eftpos-pay.text.reconnect.network': string;
|
|
106
|
+
'page.eftpos-pay.text.network.disconnected': string;
|
|
107
|
+
'page.eftpos-pay.text.not.connected': string;
|
|
108
|
+
'page.eftpos-pay.text.tyro-btn': (key: string) => string;
|
|
109
|
+
'page.eftpos-pay.text.tyro': (key: string) => string;
|
|
110
|
+
};
|
|
111
|
+
'zh-CN': {
|
|
112
|
+
'page.eftpos-pay.text.loading': (mode: string) => string;
|
|
113
|
+
'page.eftpos-pay.text.wait': (val: string, mode: string) => string;
|
|
114
|
+
'page.eftpos-pay.text.surcharge': string;
|
|
115
|
+
'page.eftpos-pay.text.card': string;
|
|
116
|
+
'page.eftpos-pay.text.account': string;
|
|
117
|
+
'page.eftpos-pay.text.pin': string;
|
|
118
|
+
'page.eftpos-pay.text.receipt': string;
|
|
119
|
+
'page.eftpos-pay.text.receipt.again.title': string;
|
|
120
|
+
'page.eftpos-pay.text.receipt.again.text': string;
|
|
121
|
+
'page.eftpos-pay.text.signature.title': string;
|
|
122
|
+
'page.eftpos-pay.text.signature.text': (mode: string) => "拒绝将导致支付失败,需重新支付。" | "拒绝将导致退款失败;需要重新退款";
|
|
123
|
+
'page.eftpos-pay.text.timedout.title': string;
|
|
124
|
+
'page.eftpos-pay.text.timedout.text': (mode: string) => "请您根据刷卡机上的支付状态,手动标记支付结果,以确保交易的准确性。" | "请根据显示在刷卡机上的退款状态,手动标记退款结果,以确保交易准确性。";
|
|
125
|
+
'page.eftpos-pay.text.request.title': (mode: string) => string;
|
|
126
|
+
'page.eftpos-pay.text.request.text': (mode: string) => "请您根据刷卡机上的支付状态,手动标记支付结果,以确保交易的准确性。" | "请根据显示在刷卡机上的退款状态,手动标记退款结果,以确保交易准确性。";
|
|
127
|
+
'page.eftpos-pay.text.request.unknown.title': (mode: string) => string;
|
|
128
|
+
'page.eftpos-pay.text.request.unknown.text': (mode: string) => "请您根据刷卡机上的支付状态,手动标记支付结果,以确保交易的准确性。" | "请您根据刷卡机上的退款状态,手动标记退款结果,以确保交易的准确性。";
|
|
129
|
+
'page.eftpos-pay.text.interrupted': string;
|
|
130
|
+
'page.eftpos-pay.text.reconnect': string;
|
|
131
|
+
'page.eftpos-pay.text.waiting.pay': (mode: string) => "如果您已经从EFTPOS确认了付款状态,您可以按手动标记按钮跳过。" | "如果您已确认了EFTPOS上的退款状态,您可以按下手动标记按钮跳过。";
|
|
132
|
+
'page.eftpos-pay.text.restored': string;
|
|
133
|
+
'page.eftpos-pay.text.disconnected': string;
|
|
134
|
+
'page.eftpos-pay.text.waiting.network': string;
|
|
135
|
+
'page.eftpos-pay.text.waiting.wifi.title': string;
|
|
136
|
+
'page.eftpos-pay.text.waiting.wifi.connection': string;
|
|
137
|
+
'page.eftpos-pay.text.waiting.wifi.router': string;
|
|
138
|
+
'page.eftpos-pay.text.waiting.wifi.forget.reconnect': string;
|
|
139
|
+
'page.eftpos-pay.text.accept': string;
|
|
140
|
+
'page.eftpos-pay.text.decline': string;
|
|
141
|
+
'page.eftpos-pay.text.manual.marking': string;
|
|
142
|
+
'page.eftpos-pay.text.manual.title': string;
|
|
143
|
+
'page.eftpos-pay.text.manual.subtitle': (money: string) => string;
|
|
144
|
+
'page.eftpos-pay.text.manual.confirm': string;
|
|
145
|
+
'page.eftpos-pay.text.manual.btn.confirm': (money: string) => string;
|
|
146
|
+
'page.eftpos-pay.text.manual.diff': string;
|
|
147
|
+
'page.eftpos-pay.text.manual.tip': string;
|
|
148
|
+
'page.eftpos-pay.text.manual.cancel': string;
|
|
149
|
+
'page.eftpos-pay.text.manual.print_receipt': string;
|
|
150
|
+
'page.eftpos-pay.text.modify.payment.info': (mode: string) => "修改支付信息" | "修改退款信息";
|
|
151
|
+
'page.eftpos-pay.text.successful': (mode: string) => string;
|
|
152
|
+
'page.eftpos-pay.text.failed': (mode: string) => string;
|
|
153
|
+
'page.eftpos-pay.text.confirm': string;
|
|
154
|
+
'page.eftpos-pay.text.confirm.decline': string;
|
|
155
|
+
'page.eftpos-pay.text.back': string;
|
|
156
|
+
'page.eftpos-pay.text.cancel': string;
|
|
157
|
+
'page.eftpos-pay.text.waiting.processing': string;
|
|
158
|
+
'page.eftpos-pay.text.waiting.signature': string;
|
|
159
|
+
'page.eftpos-pay.text.waiting.decline': string;
|
|
160
|
+
'page.eftpos-pay.text.processing': string;
|
|
161
|
+
'page.eftpos-pay.text.transaction.processing': string;
|
|
162
|
+
'page.eftpos-pay.text.retry': string;
|
|
163
|
+
'page.eftpos-pay.text.sure': string;
|
|
164
|
+
'page.eftpos-pay.text.device': string;
|
|
165
|
+
'page.eftpos-pay.text.leave': string;
|
|
166
|
+
'page.eftpos-pay.text.latest.success': string;
|
|
167
|
+
'page.eftpos-pay.text.latest.amount': string;
|
|
168
|
+
'page.eftpos-pay.text.latest.surcharge': string;
|
|
169
|
+
'page.eftpos-pay.text.latest.time': string;
|
|
170
|
+
'page.eftpos-pay.text.latest.confirm': string;
|
|
171
|
+
'page.eftpos-pay.text.amount.to.pay': string;
|
|
172
|
+
'page.eftpos-pay.text.surcharge.percentage': string;
|
|
173
|
+
'page.eftpos-pay.text.surcharge.fixed': string;
|
|
174
|
+
'page.eftpos-pay.text.surcharge.percentage-fixed': string;
|
|
175
|
+
'page.eftpos-pay.text.surcharge.edit.title': string;
|
|
176
|
+
'page.eftpos-pay.text.input.title': (name: string) => string;
|
|
177
|
+
'page.eftpos-pay.text.amount.cash.left.pay.paid': (money: string) => string;
|
|
178
|
+
'page.eftpos-pay.text.surcharge.edit.actual.pay': string;
|
|
179
|
+
'page.eftpos-pay.text.surcharge.edit.inc.surcharge': string;
|
|
180
|
+
'page.eftpos-pay.text.surcharge.edit.rate': string;
|
|
181
|
+
'page.eftpos-pay.text.surcharge.edit.surcharge': string;
|
|
182
|
+
'page.eftpos-pay.text.transaction.end': string;
|
|
183
|
+
'page.eftpos-pay.text.transaction.user.declined.title': string;
|
|
184
|
+
'page.eftpos-pay.text.transaction.user.declined.text': string;
|
|
185
|
+
'page.eftpos-pay.text.transaction.user.config.title': string;
|
|
186
|
+
'page.eftpos-pay.text.transaction.user.config.text': string;
|
|
187
|
+
'page.eftpos-pay.text.transaction.back.declined.title': string;
|
|
188
|
+
'page.eftpos-pay.text.transaction.back.declined.text': string;
|
|
189
|
+
'page.eftpos-pay.text.transaction.fail': string;
|
|
190
|
+
'page.eftpos-pay.text.transaction.fail.timeout': string;
|
|
191
|
+
'page.eftpos-pay.text.transaction.pay.fail.timeout': string;
|
|
192
|
+
'page.eftpos-pay.text.transaction.fail.terminal.title': string;
|
|
193
|
+
'page.eftpos-pay.text.transaction.fail.terminal': string;
|
|
194
|
+
'page.eftpos-pay.text.transaction.fail.cancel.title': string;
|
|
195
|
+
'page.eftpos-pay.text.transaction.fail.cancel': string;
|
|
196
|
+
'page.eftpos-pay.text.transaction.fail.socket': string;
|
|
197
|
+
'page.eftpos-pay.text.transaction.eftpos.fail': string;
|
|
198
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.title': string;
|
|
199
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.power': string;
|
|
200
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.device': string;
|
|
201
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.network': string;
|
|
202
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.if': (mode: string) => "如果您已确认此交易的付款状态,请点击手动标记" | "如果您已确认此订单的退款状态,请点击手动标记。";
|
|
203
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.other': string;
|
|
204
|
+
'page.eftpos-pay.text.application': string;
|
|
205
|
+
'page.eftpos-pay.text.approved': string;
|
|
206
|
+
'page.eftpos-pay.text.device.no.title': string;
|
|
207
|
+
'page.eftpos-pay.text.device.no.add': string;
|
|
208
|
+
'page.eftpos-pay.text.device.no.web': string;
|
|
209
|
+
'page.eftpos-pay.text.device.no.terminal': string;
|
|
210
|
+
'page.eftpos-pay.text.waiting.decline.signature': string;
|
|
211
|
+
'page.eftpos-pay.text.unknown.title': (mode: string) => string;
|
|
212
|
+
'page.eftpos-pay.text.unknown.text': (mode: string) => string;
|
|
213
|
+
'page.eftpos-pay.text.reconnecting': string;
|
|
214
|
+
'page.eftpos-pay.text.reconnect.network': string;
|
|
215
|
+
'page.eftpos-pay.text.network.disconnected': string;
|
|
216
|
+
'page.eftpos-pay.text.not.connected': string;
|
|
217
|
+
'page.eftpos-pay.text.tyro-btn': (key: string) => string;
|
|
218
|
+
'page.eftpos-pay.text.tyro': (key: string) => string | string[];
|
|
219
|
+
};
|
|
220
|
+
'zh-HK': {
|
|
221
|
+
'page.eftpos-pay.text.loading': (mode: string) => string;
|
|
222
|
+
'page.eftpos-pay.text.wait': (val: string, mode: string) => string;
|
|
223
|
+
'page.eftpos-pay.text.surcharge': string;
|
|
224
|
+
'page.eftpos-pay.text.card': string;
|
|
225
|
+
'page.eftpos-pay.text.account': string;
|
|
226
|
+
'page.eftpos-pay.text.pin': string;
|
|
227
|
+
'page.eftpos-pay.text.receipt': string;
|
|
228
|
+
'page.eftpos-pay.text.receipt.again.title': string;
|
|
229
|
+
'page.eftpos-pay.text.receipt.again.text': string;
|
|
230
|
+
'page.eftpos-pay.text.signature.title': string;
|
|
231
|
+
'page.eftpos-pay.text.signature.text': (mode: string) => "拒絕將導致支付失敗,需重新支付。" | "拒絕將導致退款失敗;需要重新退款";
|
|
232
|
+
'page.eftpos-pay.text.timedout.title': string;
|
|
233
|
+
'page.eftpos-pay.text.timedout.text': (mode: string) => "請您根據刷卡機上的支付狀態,手動標記支付結果,以確保交易的準確性。" | "請根據顯示在刷卡機上的退款狀態,手動標記退款結果,以確保交易準確性。";
|
|
234
|
+
'page.eftpos-pay.text.request.title': (mode: string) => string;
|
|
235
|
+
'page.eftpos-pay.text.request.text': (mode: string) => "請您根據刷卡機上的支付狀態,手動標記支付結果,以確保交易的準確性。" | "請根據顯示在刷卡機上的退款狀態,手動標記退款結果,以確保交易準確性。";
|
|
236
|
+
'page.eftpos-pay.text.request.unknown.title': (mode: string) => string;
|
|
237
|
+
'page.eftpos-pay.text.request.unknown.text': (mode: string) => "請您根據刷卡機上的支付狀態,手動標記支付結果,以確保交易的準確性。" | "請您根據刷卡機上的退款狀態,手動標記退款結果,以確保交易的準確性。";
|
|
238
|
+
'page.eftpos-pay.text.interrupted': string;
|
|
239
|
+
'page.eftpos-pay.text.reconnect': string;
|
|
240
|
+
'page.eftpos-pay.text.waiting.pay': (mode: string) => "如果您已經從EFTPOS確認了付款狀態,您可以按手動標記按鈕跳過。" | "如果您已確認了EFTPOS上的退款狀態,您可以按下手動標記按鈕跳過。";
|
|
241
|
+
'page.eftpos-pay.text.restored': string;
|
|
242
|
+
'page.eftpos-pay.text.disconnected': string;
|
|
243
|
+
'page.eftpos-pay.text.waiting.network': string;
|
|
244
|
+
'page.eftpos-pay.text.waiting.wifi.title': string;
|
|
245
|
+
'page.eftpos-pay.text.waiting.wifi.connection': string;
|
|
246
|
+
'page.eftpos-pay.text.waiting.wifi.router': string;
|
|
247
|
+
'page.eftpos-pay.text.waiting.wifi.forget.reconnect': string;
|
|
248
|
+
'page.eftpos-pay.text.accept': string;
|
|
249
|
+
'page.eftpos-pay.text.decline': string;
|
|
250
|
+
'page.eftpos-pay.text.manual.marking': string;
|
|
251
|
+
'page.eftpos-pay.text.manual.title': string;
|
|
252
|
+
'page.eftpos-pay.text.manual.subtitle': (money: string) => string;
|
|
253
|
+
'page.eftpos-pay.text.manual.confirm': string;
|
|
254
|
+
'page.eftpos-pay.text.manual.btn.confirm': (money: string) => string;
|
|
255
|
+
'page.eftpos-pay.text.manual.diff': string;
|
|
256
|
+
'page.eftpos-pay.text.manual.tip': string;
|
|
257
|
+
'page.eftpos-pay.text.manual.cancel': string;
|
|
258
|
+
'page.eftpos-pay.text.manual.print_receipt': string;
|
|
259
|
+
'page.eftpos-pay.text.modify.payment.info': (mode: string) => "修改支付信息" | "修改退款信息";
|
|
260
|
+
'page.eftpos-pay.text.successful': (mode: string) => string;
|
|
261
|
+
'page.eftpos-pay.text.failed': (mode: string) => string;
|
|
262
|
+
'page.eftpos-pay.text.confirm': string;
|
|
263
|
+
'page.eftpos-pay.text.confirm.decline': string;
|
|
264
|
+
'page.eftpos-pay.text.back': string;
|
|
265
|
+
'page.eftpos-pay.text.cancel': string;
|
|
266
|
+
'page.eftpos-pay.text.waiting.processing': string;
|
|
267
|
+
'page.eftpos-pay.text.waiting.signature': string;
|
|
268
|
+
'page.eftpos-pay.text.waiting.decline': string;
|
|
269
|
+
'page.eftpos-pay.text.processing': string;
|
|
270
|
+
'page.eftpos-pay.text.transaction.processing': string;
|
|
271
|
+
'page.eftpos-pay.text.retry': string;
|
|
272
|
+
'page.eftpos-pay.text.sure': string;
|
|
273
|
+
'page.eftpos-pay.text.device': string;
|
|
274
|
+
'page.eftpos-pay.text.leave': string;
|
|
275
|
+
'page.eftpos-pay.text.latest.success': string;
|
|
276
|
+
'page.eftpos-pay.text.latest.amount': string;
|
|
277
|
+
'page.eftpos-pay.text.latest.surcharge': string;
|
|
278
|
+
'page.eftpos-pay.text.latest.time': string;
|
|
279
|
+
'page.eftpos-pay.text.latest.confirm': string;
|
|
280
|
+
'page.eftpos-pay.text.amount.to.pay': string;
|
|
281
|
+
'page.eftpos-pay.text.surcharge.percentage': string;
|
|
282
|
+
'page.eftpos-pay.text.surcharge.fixed': string;
|
|
283
|
+
'page.eftpos-pay.text.surcharge.percentage-fixed': string;
|
|
284
|
+
'page.eftpos-pay.text.surcharge.edit.title': string;
|
|
285
|
+
'page.eftpos-pay.text.input.title': (name: string) => string;
|
|
286
|
+
'page.eftpos-pay.text.amount.cash.left.pay.paid': (money: string) => string;
|
|
287
|
+
'page.eftpos-pay.text.surcharge.edit.actual.pay': string;
|
|
288
|
+
'page.eftpos-pay.text.surcharge.edit.inc.surcharge': string;
|
|
289
|
+
'page.eftpos-pay.text.surcharge.edit.rate': string;
|
|
290
|
+
'page.eftpos-pay.text.surcharge.edit.surcharge': string;
|
|
291
|
+
'page.eftpos-pay.text.transaction.end': string;
|
|
292
|
+
'page.eftpos-pay.text.transaction.user.declined.title': string;
|
|
293
|
+
'page.eftpos-pay.text.transaction.user.declined.text': string;
|
|
294
|
+
'page.eftpos-pay.text.transaction.user.config.title': string;
|
|
295
|
+
'page.eftpos-pay.text.transaction.user.config.text': string;
|
|
296
|
+
'page.eftpos-pay.text.transaction.back.declined.title': string;
|
|
297
|
+
'page.eftpos-pay.text.transaction.back.declined.text': string;
|
|
298
|
+
'page.eftpos-pay.text.transaction.fail': string;
|
|
299
|
+
'page.eftpos-pay.text.transaction.fail.timeout': string;
|
|
300
|
+
'page.eftpos-pay.text.transaction.pay.fail.timeout': string;
|
|
301
|
+
'page.eftpos-pay.text.transaction.fail.terminal.title': string;
|
|
302
|
+
'page.eftpos-pay.text.transaction.fail.terminal': string;
|
|
303
|
+
'page.eftpos-pay.text.transaction.fail.cancel.title': string;
|
|
304
|
+
'page.eftpos-pay.text.transaction.fail.cancel': string;
|
|
305
|
+
'page.eftpos-pay.text.transaction.fail.socket': string;
|
|
306
|
+
'page.eftpos-pay.text.transaction.eftpos.fail': string;
|
|
307
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.title': string;
|
|
308
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.power': string;
|
|
309
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.device': string;
|
|
310
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.network': string;
|
|
311
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.if': (mode: string) => "如果您已確認此交易的付款狀態,請點擊手動標記" | "如果您已確認此訂單的退款狀態,請點擊手動標記。";
|
|
312
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.other': string;
|
|
313
|
+
'page.eftpos-pay.text.application': string;
|
|
314
|
+
'page.eftpos-pay.text.approved': string;
|
|
315
|
+
'page.eftpos-pay.text.device.no.title': string;
|
|
316
|
+
'page.eftpos-pay.text.device.no.add': string;
|
|
317
|
+
'page.eftpos-pay.text.device.no.web': string;
|
|
318
|
+
'page.eftpos-pay.text.device.no.terminal': string;
|
|
319
|
+
'page.eftpos-pay.text.waiting.decline.signature': string;
|
|
320
|
+
'page.eftpos-pay.text.unknown.title': (mode: string) => string;
|
|
321
|
+
'page.eftpos-pay.text.unknown.text': (mode: string) => string;
|
|
322
|
+
'page.eftpos-pay.text.reconnecting': string;
|
|
323
|
+
'page.eftpos-pay.text.reconnect.network': string;
|
|
324
|
+
'page.eftpos-pay.text.network.disconnected': string;
|
|
325
|
+
'page.eftpos-pay.text.not.connected': string;
|
|
326
|
+
'page.eftpos-pay.text.tyro-btn': (key: string) => string;
|
|
327
|
+
'page.eftpos-pay.text.tyro': (key: string) => string | string[];
|
|
328
|
+
};
|
|
329
|
+
};
|
|
330
|
+
export default _default;
|
|
@@ -12,7 +12,7 @@ export interface PaymentListProps {
|
|
|
12
12
|
renderTitle?: () => React.ReactNode;
|
|
13
13
|
}
|
|
14
14
|
export interface PaymentListRef {
|
|
15
|
-
init: (props: any) => {};
|
|
15
|
+
init: (props: any, amount?: number) => {};
|
|
16
16
|
calculateSurcharge: (amount: number) => any;
|
|
17
17
|
}
|
|
18
18
|
declare const _default: React.ForwardRefExoticComponent<PaymentListProps & React.RefAttributes<unknown>>;
|
|
@@ -90,11 +90,11 @@ var PaymentList = (props, ref) => {
|
|
|
90
90
|
var _a2, _b2;
|
|
91
91
|
return (_b2 = (_a2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _a2.isAppEnv) == null ? void 0 : _b2.call(_a2);
|
|
92
92
|
}, []);
|
|
93
|
-
const init = (list) => {
|
|
93
|
+
const init = (list, amount) => {
|
|
94
94
|
var _a2, _b2;
|
|
95
95
|
setLoading(true);
|
|
96
96
|
const platform = ((_b2 = (_a2 = context.appHelper) == null ? void 0 : _a2.constants) == null ? void 0 : _b2.platform) || "h5";
|
|
97
|
-
const { paymentList: paymentList2, walletPass } = (0, import_serve.filterPaymentList)(list, platform, isApp);
|
|
97
|
+
const { paymentList: paymentList2, walletPass } = (0, import_serve.filterPaymentList)(list, platform, isApp, amount);
|
|
98
98
|
if (paymentList2.length > 0) {
|
|
99
99
|
let first = paymentList2[0];
|
|
100
100
|
setPaymentList(paymentList2);
|
|
@@ -147,6 +147,24 @@ var PaymentList = (props, ref) => {
|
|
|
147
147
|
}
|
|
148
148
|
));
|
|
149
149
|
};
|
|
150
|
+
const renderCreditCardToast = (_item) => {
|
|
151
|
+
var _a2;
|
|
152
|
+
return /* @__PURE__ */ import_react.default.createElement("div", { className: "surcharge-modal-wrap surcharge-modal-wrap-credit-card" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "surcharge-modal-lists" }, (_a2 = _item == null ? void 0 : _item.surcharge_config_result) == null ? void 0 : _a2.map((d) => {
|
|
153
|
+
var _a3, _b2;
|
|
154
|
+
return /* @__PURE__ */ import_react.default.createElement("div", { key: d.name, className: "surcharge-modal-list-item" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "surcharge-modal-list-item-header" }, (_a3 = d == null ? void 0 : d.icons) == null ? void 0 : _a3.map((icon) => {
|
|
155
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
156
|
+
import_materials.Image,
|
|
157
|
+
{
|
|
158
|
+
src: icon,
|
|
159
|
+
className: "header-icon",
|
|
160
|
+
isPreview: false
|
|
161
|
+
}
|
|
162
|
+
);
|
|
163
|
+
}), /* @__PURE__ */ import_react.default.createElement("span", null, d.name)), /* @__PURE__ */ import_react.default.createElement("div", { className: "surcharge-modal-list-item-content" }, (_b2 = d == null ? void 0 : d.lists) == null ? void 0 : _b2.map((item) => {
|
|
164
|
+
return /* @__PURE__ */ import_react.default.createElement("div", { key: item.name, className: "content-item" }, /* @__PURE__ */ import_react.default.createElement("span", null, import_utils2.locales.getText(item.area_text)), /* @__PURE__ */ import_react.default.createElement("span", { className: "item-fee" }, item.surcharge_fee), /* @__PURE__ */ import_react.default.createElement("span", null, item.surcharge_text));
|
|
165
|
+
})));
|
|
166
|
+
})));
|
|
167
|
+
};
|
|
150
168
|
const content = (0, import_react.useMemo)(() => {
|
|
151
169
|
if (loading) {
|
|
152
170
|
return null;
|
|
@@ -172,8 +190,9 @@ var PaymentList = (props, ref) => {
|
|
|
172
190
|
onChange: paymentTypeChange,
|
|
173
191
|
optionClassName: "payment-item",
|
|
174
192
|
renderOption: (d, active) => {
|
|
175
|
-
var _a2, _b2;
|
|
193
|
+
var _a2, _b2, _c2;
|
|
176
194
|
const showIcon = d.surcharge && d.service !== "pisell.other.cashmanual" && d.service !== "pisell.custom_payment" || ((_a2 = d == null ? void 0 : d.params) == null ? void 0 : _a2.description) && (d.service === "pisell.other.cashmanual" || d.service === "pisell.custom_payment");
|
|
195
|
+
const showCreditCardToast = (d == null ? void 0 : d.service) === "mw.credit_card" && ((_b2 = d == null ? void 0 : d.surcharge_config_result) == null ? void 0 : _b2.length) > 0;
|
|
177
196
|
return /* @__PURE__ */ import_react.default.createElement(
|
|
178
197
|
import_materials.PisellRow,
|
|
179
198
|
{
|
|
@@ -199,12 +218,24 @@ var PaymentList = (props, ref) => {
|
|
|
199
218
|
d.title,
|
|
200
219
|
" "
|
|
201
220
|
),
|
|
202
|
-
/* @__PURE__ */ import_react.default.createElement("div", { className: "" }, (((
|
|
221
|
+
/* @__PURE__ */ import_react.default.createElement("div", { className: "" }, (((_c2 = d == null ? void 0 : d.params) == null ? void 0 : _c2.description) || d.surcharge) && d.service !== "pisell.offline_payment" ? /* @__PURE__ */ import_react.default.createElement(
|
|
203
222
|
import_materials.PisellTooltip,
|
|
204
223
|
{
|
|
205
|
-
title: renderToast(d),
|
|
224
|
+
title: showCreditCardToast ? renderCreditCardToast(d) : renderToast(d),
|
|
206
225
|
onClick: (e) => {
|
|
207
226
|
e.stopPropagation();
|
|
227
|
+
},
|
|
228
|
+
overlayClassName: showCreditCardToast ? "surcharge-tooltip-overlay-wrap" : "",
|
|
229
|
+
getPopupContainer: (triggerNode) => {
|
|
230
|
+
var _a3;
|
|
231
|
+
if (showCreditCardToast) {
|
|
232
|
+
const modalContainer = (_a3 = triggerNode == null ? void 0 : triggerNode.closest) == null ? void 0 : _a3.call(
|
|
233
|
+
triggerNode,
|
|
234
|
+
".toc-pay-modal-content .pisell-lowcode-modal"
|
|
235
|
+
);
|
|
236
|
+
return modalContainer || document.body;
|
|
237
|
+
}
|
|
238
|
+
return document.body;
|
|
208
239
|
}
|
|
209
240
|
},
|
|
210
241
|
/* @__PURE__ */ import_react.default.createElement(
|
|
@@ -109,4 +109,61 @@
|
|
|
109
109
|
font-style: normal;
|
|
110
110
|
font-weight: 500;
|
|
111
111
|
}
|
|
112
|
-
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.surcharge-tooltip-overlay-wrap{
|
|
115
|
+
max-width: 92% !important;
|
|
116
|
+
width: 92%;
|
|
117
|
+
left: 4% !important;
|
|
118
|
+
.pisell-lowcode-tooltip-inner{
|
|
119
|
+
background: #F2F4F7 !important;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.surcharge-modal-wrap-credit-card {
|
|
124
|
+
.surcharge-modal-lists {
|
|
125
|
+
display: flex;
|
|
126
|
+
flex-direction: column;
|
|
127
|
+
gap: 16px;
|
|
128
|
+
.surcharge-modal-list-item {
|
|
129
|
+
display: flex;
|
|
130
|
+
flex-direction: column;
|
|
131
|
+
gap: 8px;
|
|
132
|
+
.surcharge-modal-list-item-header {
|
|
133
|
+
display: flex;
|
|
134
|
+
align-items: center;
|
|
135
|
+
gap: 12px;
|
|
136
|
+
color: #101828;
|
|
137
|
+
font-size: 14px;
|
|
138
|
+
font-weight: 600;
|
|
139
|
+
line-height: 20px;
|
|
140
|
+
.header-icon{
|
|
141
|
+
width: 58px;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
.surcharge-modal-list-item-content {
|
|
145
|
+
display: flex;
|
|
146
|
+
gap: 12px;
|
|
147
|
+
.content-item {
|
|
148
|
+
display: flex;
|
|
149
|
+
flex-direction: column;
|
|
150
|
+
flex: 1;
|
|
151
|
+
padding: 8px 12px;
|
|
152
|
+
border-radius: 8px;
|
|
153
|
+
box-shadow: 0px 2px 4px -2px rgba(16, 24, 40, 0.06);
|
|
154
|
+
background: white;
|
|
155
|
+
color: #475467;
|
|
156
|
+
font-size: 12px;
|
|
157
|
+
font-weight: 400;
|
|
158
|
+
line-height: 18px;
|
|
159
|
+
.item-fee {
|
|
160
|
+
color: black;
|
|
161
|
+
font-size: 24px;
|
|
162
|
+
font-weight: 700;
|
|
163
|
+
line-height: 32px;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
Binary file
|
|
Binary file
|
|
@@ -20,7 +20,7 @@ export declare const getPaymentList: (values: any) => Promise<{
|
|
|
20
20
|
* @Author: zhiwei.Wang
|
|
21
21
|
* @Date: 2024-08-16 10:57
|
|
22
22
|
*/
|
|
23
|
-
export declare const filterPaymentList: (list: any[], platform: string | undefined, isApp: boolean) => {
|
|
23
|
+
export declare const filterPaymentList: (list: any[], platform: string | undefined, isApp: boolean, amount?: number) => {
|
|
24
24
|
message: string;
|
|
25
25
|
status: string;
|
|
26
26
|
paymentList: any[];
|