@pisell/private-materials 6.3.114 → 6.3.115
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/package.json +2 -2
- package/es/components/Sales/Cart/index.d.ts +0 -53
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Date/state.d.ts +0 -63
- package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -5
- package/es/components/appointmentBooking/locales.d.ts +0 -366
- package/es/components/authentication/admin/AuthMethods/locales.d.ts +0 -249
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -84
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -41
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -72
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -33
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -27
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +0 -8
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -66
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -26
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -39
- package/es/components/authentication/admin/CustomerAuth/locales.d.ts +0 -66
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -108
- package/es/components/authentication/admin/DeviceAuth/locales.d.ts +0 -57
- package/es/components/authentication/admin/OAuthConfig/locales.d.ts +0 -90
- package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -54
- package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -48
- package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -54
- package/es/components/booking/addons/index.d.ts +0 -17
- package/es/components/booking/components/footer/amount.d.ts +0 -25
- package/es/components/booking/components/footer/index.d.ts +0 -12
- package/es/components/booking/components/footer/utils.d.ts +0 -47
- package/es/components/booking/components/tabPane/index.d.ts +0 -4
- package/es/components/booking/components/voucher/index.d.ts +0 -4
- package/es/components/booking/dashboard/index.d.ts +0 -20
- package/es/components/booking/dashboard/serve.d.ts +0 -1
- package/es/components/booking/deposit/ClientItem/index.d.ts +0 -18
- package/es/components/booking/deposit/DepositItem/index.d.ts +0 -25
- package/es/components/booking/deposit/index.d.ts +0 -3
- package/es/components/booking/editBookingModal/locales.d.ts +0 -21
- package/es/components/booking/editBookingModal/mock.d.ts +0 -807
- package/es/components/booking/forms/forms.d.ts +0 -30
- package/es/components/booking/forms/serve.d.ts +0 -18
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/es/components/booking/hooks/useQuotation.d.ts +0 -6
- package/es/components/booking/info/addServiceVariant/index.d.ts +0 -7
- package/es/components/booking/info/client/index.d.ts +0 -4
- package/es/components/booking/info/client/serve.d.ts +0 -2
- package/es/components/booking/info/clientVariant/utils.d.ts +0 -1
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/es/components/booking/info/date/index.d.ts +0 -5
- package/es/components/booking/info/header/index.d.ts +0 -4
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -9
- package/es/components/booking/info/index.d.ts +0 -4
- package/es/components/booking/info/main.d.ts +0 -12
- package/es/components/booking/info/model.d.ts +0 -14
- package/es/components/booking/info/pet/index.d.ts +0 -14
- package/es/components/booking/info/pet/serve.d.ts +0 -1
- package/es/components/booking/info/service/Lists.d.ts +0 -3
- package/es/components/booking/info/service/addService/index.d.ts +0 -12
- package/es/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -5
- package/es/components/booking/info/service/editService/index.d.ts +0 -7
- package/es/components/booking/info/service/serve.d.ts +0 -20
- package/es/components/booking/info/service/serviceItem/index.d.ts +0 -4
- package/es/components/booking/info/service/serviceList/index.d.ts +0 -6
- package/es/components/booking/info/service/serviceManager/index.d.ts +0 -20
- package/es/components/booking/info/service2/Group/utils.d.ts +0 -14
- package/es/components/booking/info/service2/Lists.d.ts +0 -3
- package/es/components/booking/info/service2/utils.d.ts +0 -248
- package/es/components/booking/info/utils.d.ts +0 -50
- package/es/components/booking/info2/index.d.ts +0 -12
- package/es/components/booking/info2/serve.d.ts +0 -6
- package/es/components/booking/info2/service/addService/index.d.ts +0 -12
- package/es/components/booking/info2/service/addService/mock.d.ts +0 -214
- package/es/components/booking/info2/service/addService/utils.d.ts +0 -98
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -4
- package/es/components/booking/info2/service/editService/index.d.ts +0 -7
- package/es/components/booking/info2/service/editService/utils.d.ts +0 -13
- package/es/components/booking/info2/service/index.d.ts +0 -4
- package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -4
- package/es/components/booking/info2/service/serviceList/index.d.ts +0 -6
- package/es/components/booking/info2/utilsByBooking.d.ts +0 -35
- package/es/components/booking/locales.d.ts +0 -846
- package/es/components/booking/model.d.ts +0 -120
- package/es/components/booking/notes/NoteBlock/index.d.ts +0 -17
- package/es/components/booking/notes/addNote/index.d.ts +0 -4
- package/es/components/booking/utils.d.ts +0 -175
- package/es/components/eftpos/PairModal/hooks.d.ts +0 -27
- package/es/components/eftpos/PairModal/index.d.ts +0 -11
- package/es/components/eftpos/SettlementModal/Action.d.ts +0 -8
- package/es/components/eftpos/SettlementModal/index.d.ts +0 -8
- package/es/components/eftpos/SettlementModal/serve.d.ts +0 -8
- package/es/components/eftpos/SettlementModal/types.d.ts +0 -138
- package/es/components/eftpos/SettlementModal/utils.d.ts +0 -18
- package/es/components/eftpos/const.d.ts +0 -66
- package/es/components/eftpos/device.d.ts +0 -11
- package/es/components/eftpos/hooks.d.ts +0 -46
- package/es/components/eftpos/index.d.ts +0 -47
- package/es/components/eftpos/locales.d.ts +0 -138
- package/es/components/eftpos/table.d.ts +0 -21
- package/es/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +0 -6
- package/es/components/eftposPay/aggregatePayment/index.d.ts +0 -3
- package/es/components/eftposPay/aggregatePayment/mock.d.ts +0 -495
- package/es/components/eftposPay/aggregatePayment/service.d.ts +0 -24
- package/es/components/eftposPay/aggregatePayment/types.d.ts +0 -101
- package/es/components/eftposPay/aggregatePayment/utils/logs.d.ts +0 -110
- package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +0 -132
- package/es/components/eftposPay/app.d.ts +0 -11
- package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -4
- package/es/components/eftposPay/component/fail/index.d.ts +0 -4
- package/es/components/eftposPay/const.d.ts +0 -191
- package/es/components/eftposPay/device.d.ts +0 -24
- package/es/components/eftposPay/index.d.ts +0 -5
- package/es/components/eftposPay/linkly/const.d.ts +0 -23
- package/es/components/eftposPay/linkly/index.d.ts +0 -3
- package/es/components/eftposPay/locales.d.ts +0 -333
- package/es/components/eftposPay/manufacturer.d.ts +0 -8
- package/es/components/eftposPay/mx51/Action.d.ts +0 -7
- package/es/components/eftposPay/mx51/Result.d.ts +0 -5
- package/es/components/eftposPay/mx51/const.d.ts +0 -5
- package/es/components/eftposPay/mx51/index.d.ts +0 -6
- package/es/components/eftposPay/mx51/types.d.ts +0 -138
- package/es/components/eftposPay/mx51/utils.d.ts +0 -10
- package/es/components/eftposPay/pay.d.ts +0 -21
- package/es/components/eftposPay/payo/config.d.ts +0 -13
- package/es/components/eftposPay/payo/const.d.ts +0 -26
- package/es/components/eftposPay/store/index.d.ts +0 -355
- package/es/components/eftposPay/tyro/const.d.ts +0 -17
- package/es/components/eftposPay/tyro/index.d.ts +0 -9
- package/es/components/eftposPay/windcave/const.d.ts +0 -119
- package/es/components/eftposPay/windcave/windcave.d.ts +0 -7
- package/es/components/eventBooking/components/Voucher/components/locales.d.ts +0 -39
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -10
- package/es/components/eventBooking/locales.d.ts +0 -246
- package/es/components/kioskSkuDetail/locales.d.ts +0 -27
- package/es/components/login/locales.d.ts +0 -24
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/index.d.ts +0 -11
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -61
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -3
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -25
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -155
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -9
- package/es/components/pay/toC/WalletPassBlock/index.d.ts +0 -21
- package/es/components/pay/toC/index.d.ts +0 -3
- package/es/components/pay/toC/locales.d.ts +0 -307
- package/es/components/pay/toC/model.d.ts +0 -40
- package/es/components/pay/toC/serve.d.ts +0 -62
- package/es/components/pay/toC/utils.d.ts +0 -57
- package/es/components/pinModal/locales.d.ts +0 -27
- package/es/components/pinVerifyModal/locales.d.ts +0 -24
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -3
- package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +0 -3
- package/es/components/pisellSelectCustomerModal/locales.d.ts +0 -81
- package/es/components/productExtension/locales.d.ts +0 -48
- package/es/components/productSelect/components/TabProduct/index.d.ts +0 -3
- package/es/components/productSelect/components/pisellPriceText/index.d.ts +0 -11
- package/es/components/productSelect/components/productGroup/index.d.ts +0 -39
- package/es/components/productSelect/locales.d.ts +0 -18
- package/es/components/ruleSetting/locales.d.ts +0 -48
- package/es/components/schedules/locales.d.ts +0 -87
- package/es/components/shoppingCart/Provider.d.ts +0 -3
- package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -4
- package/es/components/shoppingCart/components/Cart/index.d.ts +0 -4
- package/es/components/shoppingCart/locales.d.ts +0 -33
- package/es/components/shoppingCart/mock.d.ts +0 -40
- package/es/components/shoppingCart/type.d.ts +0 -48
- package/es/components/shoppingCart/utils.d.ts +0 -63
- package/es/components/stepController/locales.d.ts +0 -27
- package/es/components/subTotal/index.d.ts +0 -24
- package/es/components/subTotal/locales.d.ts +0 -42
- package/es/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
- package/es/components/systemSettings/registry/index.d.ts +0 -5
- package/es/components/systemSettings/registry/locales.d.ts +0 -272
- package/es/components/systemSettings/registry/services.d.ts +0 -77
- package/es/components/systemSettings/registry/types.d.ts +0 -126
- package/es/components/taxSelect/locales.d.ts +0 -24
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -10
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -7
- package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -4
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -5
- package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -13
- package/es/components/ticketBooking/index.d.ts +0 -8
- package/es/components/ticketBooking/locales.d.ts +0 -174
- package/es/components/ticketBooking/serve.d.ts +0 -287
- package/es/components/ticketBooking/utils/formatTime.d.ts +0 -31
- package/es/components/ticketBooking/utils/index.d.ts +0 -25
- package/es/components/wallet/utils.d.ts +0 -48
- package/es/components/walletList/index.d.ts +0 -4
- package/es/components/walletList/locales.d.ts +0 -27
- package/es/components/walletList/types/index.d.ts +0 -194
- package/es/hooks/useEngineContext.d.ts +0 -10
- package/es/hooks/useLocale.d.ts +0 -2
- package/es/hooks/useWindowSize.d.ts +0 -5
- package/es/index.d.ts +0 -66
- package/es/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
- package/es/plus/contactInfo/locales.d.ts +0 -15
- package/es/plus/contactInfoModal/locales.d.ts +0 -66
- package/es/plus/productSelect/CategoryTabs/index.d.ts +0 -21
- package/es/plus/productSelect/ProductCard/index.d.ts +0 -47
- package/es/plus/productSelect/ProductList/gridComponents.d.ts +0 -44
- package/es/plus/productSelect/components/pisellPriceText/index.d.ts +0 -12
- package/es/plus/productSelect/index.d.ts +0 -32
- package/es/plus/productSelect/locales.d.ts +0 -18
- package/es/plus/saasCreateOrganization/locales.d.ts +0 -15
- package/es/plus/saasLogin/locales.d.ts +0 -51
- package/es/plus/saasRegister/locales.d.ts +0 -117
- package/es/plus/selectHolder/index.d.ts +0 -7
- package/es/plus/selectHolder/locales.d.ts +0 -21
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -6
- package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -4
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -11
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -16
- package/es/plus/skuOptionsSelection/index.d.ts +0 -5
- package/es/plus/skuOptionsSelection/locales.d.ts +0 -33
- package/es/plus/skuOptionsSelection/store/store.d.ts +0 -4
- package/es/plus/skuOptionsSelection/types.d.ts +0 -429
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
- package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +0 -37
- package/es/plus/walletEditor/locales.d.ts +0 -135
- package/es/plus/walletEditor/types.d.ts +0 -52
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +0 -10
- package/es/plus/walletPassGallery/components/passList/index.d.ts +0 -13
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -10
- package/es/plus/walletPassGallery/index.d.ts +0 -7
- package/es/plus/walletPassGallery/locales.d.ts +0 -285
- package/es/plus/walletPassGallery/serve.d.ts +0 -243
- package/es/plus/walletPassGallery/utils.d.ts +0 -48
- package/es/pro/Cards/components/SKUCard/index.d.ts +0 -60
- package/es/pro/Login2.0/Login2.d.ts +0 -61
- package/es/pro/Login2.0/locales.d.ts +0 -543
- package/es/pro/Login2.0/shared/types.d.ts +0 -232
- package/es/pro/NumericStepper/index.d.ts +0 -43
- package/es/pro/Selector/BatchSelectorDemo.d.ts +0 -3
- package/es/pro/Selector/Item.d.ts +0 -14
- package/es/pro/Selector/Selector.d.ts +0 -14
- package/es/pro/Selector/SelectorGroup.d.ts +0 -11
- package/es/pro/Selector/components/Card/index.d.ts +0 -57
- package/es/pro/Selector/components/Indicator/index.d.ts +0 -19
- package/es/pro/Selector/components/LayoutContainer/index.d.ts +0 -16
- package/es/pro/Selector/components/Media/index.d.ts +0 -6
- package/es/pro/Selector/demo.d.ts +0 -3
- package/es/pro/Selector/hooks/usePresetItemProps.d.ts +0 -43
- package/es/pro/Selector/hooks/usePresetProps.d.ts +0 -24
- package/es/pro/Selector/locales.d.ts +0 -36
- package/es/pro/Selector/types.d.ts +0 -173
- package/es/pro/Selector/utils/index.d.ts +0 -49
- package/es/pro/numberKeyboard/locales.d.ts +0 -12
- package/es/pro/pisellNumberSelector/example.d.ts +0 -3
- package/es/pro/skuDetailModal/index.d.ts +0 -4
- package/lib/components/Sales/Cart/index.d.ts +0 -53
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Date/state.d.ts +0 -63
- package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -5
- package/lib/components/appointmentBooking/locales.d.ts +0 -366
- package/lib/components/authentication/admin/AuthMethods/locales.d.ts +0 -249
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -84
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -41
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -72
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -33
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -27
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +0 -8
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -66
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -26
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -39
- package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +0 -66
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -108
- package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +0 -57
- package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +0 -90
- package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -54
- package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -48
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -54
- package/lib/components/booking/addons/index.d.ts +0 -17
- package/lib/components/booking/components/footer/amount.d.ts +0 -25
- package/lib/components/booking/components/footer/index.d.ts +0 -12
- package/lib/components/booking/components/footer/utils.d.ts +0 -47
- package/lib/components/booking/components/tabPane/index.d.ts +0 -4
- package/lib/components/booking/components/voucher/index.d.ts +0 -4
- package/lib/components/booking/dashboard/index.d.ts +0 -20
- package/lib/components/booking/dashboard/serve.d.ts +0 -1
- package/lib/components/booking/deposit/ClientItem/index.d.ts +0 -18
- package/lib/components/booking/deposit/DepositItem/index.d.ts +0 -25
- package/lib/components/booking/deposit/index.d.ts +0 -3
- package/lib/components/booking/editBookingModal/locales.d.ts +0 -21
- package/lib/components/booking/editBookingModal/mock.d.ts +0 -807
- package/lib/components/booking/forms/forms.d.ts +0 -30
- package/lib/components/booking/forms/serve.d.ts +0 -18
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/lib/components/booking/hooks/useQuotation.d.ts +0 -6
- package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -7
- package/lib/components/booking/info/client/index.d.ts +0 -4
- package/lib/components/booking/info/client/serve.d.ts +0 -2
- package/lib/components/booking/info/clientVariant/utils.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/lib/components/booking/info/date/index.d.ts +0 -5
- package/lib/components/booking/info/header/index.d.ts +0 -4
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -9
- package/lib/components/booking/info/index.d.ts +0 -4
- package/lib/components/booking/info/main.d.ts +0 -12
- package/lib/components/booking/info/model.d.ts +0 -14
- package/lib/components/booking/info/pet/index.d.ts +0 -14
- package/lib/components/booking/info/pet/serve.d.ts +0 -1
- package/lib/components/booking/info/service/Lists.d.ts +0 -3
- package/lib/components/booking/info/service/addService/index.d.ts +0 -12
- package/lib/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -5
- package/lib/components/booking/info/service/editService/index.d.ts +0 -7
- package/lib/components/booking/info/service/serve.d.ts +0 -20
- package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -4
- package/lib/components/booking/info/service/serviceList/index.d.ts +0 -6
- package/lib/components/booking/info/service/serviceManager/index.d.ts +0 -20
- package/lib/components/booking/info/service2/Group/utils.d.ts +0 -14
- package/lib/components/booking/info/service2/Lists.d.ts +0 -3
- package/lib/components/booking/info/service2/utils.d.ts +0 -248
- package/lib/components/booking/info/utils.d.ts +0 -50
- package/lib/components/booking/info2/index.d.ts +0 -12
- package/lib/components/booking/info2/serve.d.ts +0 -6
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -12
- package/lib/components/booking/info2/service/addService/mock.d.ts +0 -214
- package/lib/components/booking/info2/service/addService/utils.d.ts +0 -98
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -4
- package/lib/components/booking/info2/service/editService/index.d.ts +0 -7
- package/lib/components/booking/info2/service/editService/utils.d.ts +0 -13
- package/lib/components/booking/info2/service/index.d.ts +0 -4
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -4
- package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -6
- package/lib/components/booking/info2/utilsByBooking.d.ts +0 -35
- package/lib/components/booking/locales.d.ts +0 -846
- package/lib/components/booking/model.d.ts +0 -120
- package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -17
- package/lib/components/booking/notes/addNote/index.d.ts +0 -4
- package/lib/components/booking/utils.d.ts +0 -175
- package/lib/components/eftpos/PairModal/hooks.d.ts +0 -27
- package/lib/components/eftpos/PairModal/index.d.ts +0 -11
- package/lib/components/eftpos/SettlementModal/Action.d.ts +0 -8
- package/lib/components/eftpos/SettlementModal/index.d.ts +0 -8
- package/lib/components/eftpos/SettlementModal/serve.d.ts +0 -8
- package/lib/components/eftpos/SettlementModal/types.d.ts +0 -138
- package/lib/components/eftpos/SettlementModal/utils.d.ts +0 -18
- package/lib/components/eftpos/const.d.ts +0 -66
- package/lib/components/eftpos/device.d.ts +0 -11
- package/lib/components/eftpos/hooks.d.ts +0 -46
- package/lib/components/eftpos/index.d.ts +0 -47
- package/lib/components/eftpos/locales.d.ts +0 -138
- package/lib/components/eftpos/table.d.ts +0 -21
- package/lib/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +0 -6
- package/lib/components/eftposPay/aggregatePayment/index.d.ts +0 -3
- package/lib/components/eftposPay/aggregatePayment/mock.d.ts +0 -495
- package/lib/components/eftposPay/aggregatePayment/service.d.ts +0 -24
- package/lib/components/eftposPay/aggregatePayment/types.d.ts +0 -101
- package/lib/components/eftposPay/aggregatePayment/utils/logs.d.ts +0 -110
- package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +0 -132
- package/lib/components/eftposPay/app.d.ts +0 -11
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -4
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -4
- package/lib/components/eftposPay/const.d.ts +0 -191
- package/lib/components/eftposPay/device.d.ts +0 -24
- package/lib/components/eftposPay/index.d.ts +0 -5
- package/lib/components/eftposPay/linkly/const.d.ts +0 -23
- package/lib/components/eftposPay/linkly/index.d.ts +0 -3
- package/lib/components/eftposPay/locales.d.ts +0 -333
- package/lib/components/eftposPay/manufacturer.d.ts +0 -8
- package/lib/components/eftposPay/mx51/Action.d.ts +0 -7
- package/lib/components/eftposPay/mx51/Result.d.ts +0 -5
- package/lib/components/eftposPay/mx51/const.d.ts +0 -5
- package/lib/components/eftposPay/mx51/index.d.ts +0 -6
- package/lib/components/eftposPay/mx51/types.d.ts +0 -138
- package/lib/components/eftposPay/mx51/utils.d.ts +0 -10
- package/lib/components/eftposPay/pay.d.ts +0 -21
- package/lib/components/eftposPay/payo/config.d.ts +0 -13
- package/lib/components/eftposPay/payo/const.d.ts +0 -26
- package/lib/components/eftposPay/store/index.d.ts +0 -355
- package/lib/components/eftposPay/tyro/const.d.ts +0 -17
- package/lib/components/eftposPay/tyro/index.d.ts +0 -9
- package/lib/components/eftposPay/windcave/const.d.ts +0 -119
- package/lib/components/eftposPay/windcave/windcave.d.ts +0 -7
- package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +0 -39
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -10
- package/lib/components/eventBooking/locales.d.ts +0 -246
- package/lib/components/kioskSkuDetail/locales.d.ts +0 -27
- package/lib/components/login/locales.d.ts +0 -24
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/index.d.ts +0 -11
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -61
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -3
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -25
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -155
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -9
- package/lib/components/pay/toC/WalletPassBlock/index.d.ts +0 -21
- package/lib/components/pay/toC/index.d.ts +0 -3
- package/lib/components/pay/toC/locales.d.ts +0 -307
- package/lib/components/pay/toC/model.d.ts +0 -40
- package/lib/components/pay/toC/serve.d.ts +0 -62
- package/lib/components/pay/toC/utils.d.ts +0 -57
- package/lib/components/pinModal/locales.d.ts +0 -27
- package/lib/components/pinVerifyModal/locales.d.ts +0 -24
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -3
- package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +0 -3
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +0 -81
- package/lib/components/productExtension/locales.d.ts +0 -48
- package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -3
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +0 -11
- package/lib/components/productSelect/components/productGroup/index.d.ts +0 -39
- package/lib/components/productSelect/locales.d.ts +0 -18
- package/lib/components/ruleSetting/locales.d.ts +0 -48
- package/lib/components/schedules/locales.d.ts +0 -87
- package/lib/components/shoppingCart/Provider.d.ts +0 -3
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -4
- package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -4
- package/lib/components/shoppingCart/locales.d.ts +0 -33
- package/lib/components/shoppingCart/mock.d.ts +0 -40
- package/lib/components/shoppingCart/type.d.ts +0 -48
- package/lib/components/shoppingCart/utils.d.ts +0 -63
- package/lib/components/stepController/locales.d.ts +0 -27
- package/lib/components/subTotal/index.d.ts +0 -24
- package/lib/components/subTotal/locales.d.ts +0 -42
- package/lib/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
- package/lib/components/systemSettings/registry/index.d.ts +0 -5
- package/lib/components/systemSettings/registry/locales.d.ts +0 -272
- package/lib/components/systemSettings/registry/services.d.ts +0 -77
- package/lib/components/systemSettings/registry/types.d.ts +0 -126
- package/lib/components/taxSelect/locales.d.ts +0 -24
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -10
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -7
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -4
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -5
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -13
- package/lib/components/ticketBooking/index.d.ts +0 -8
- package/lib/components/ticketBooking/locales.d.ts +0 -174
- package/lib/components/ticketBooking/serve.d.ts +0 -287
- package/lib/components/ticketBooking/utils/formatTime.d.ts +0 -31
- package/lib/components/ticketBooking/utils/index.d.ts +0 -25
- package/lib/components/wallet/utils.d.ts +0 -48
- package/lib/components/walletList/index.d.ts +0 -4
- package/lib/components/walletList/locales.d.ts +0 -27
- package/lib/components/walletList/types/index.d.ts +0 -194
- package/lib/hooks/useEngineContext.d.ts +0 -10
- package/lib/hooks/useLocale.d.ts +0 -2
- package/lib/hooks/useWindowSize.d.ts +0 -5
- package/lib/index.d.ts +0 -66
- package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
- package/lib/plus/contactInfo/locales.d.ts +0 -15
- package/lib/plus/contactInfoModal/locales.d.ts +0 -66
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +0 -21
- package/lib/plus/productSelect/ProductCard/index.d.ts +0 -47
- package/lib/plus/productSelect/ProductList/gridComponents.d.ts +0 -44
- package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +0 -12
- package/lib/plus/productSelect/index.d.ts +0 -32
- package/lib/plus/productSelect/locales.d.ts +0 -18
- package/lib/plus/saasCreateOrganization/locales.d.ts +0 -15
- package/lib/plus/saasLogin/locales.d.ts +0 -51
- package/lib/plus/saasRegister/locales.d.ts +0 -117
- package/lib/plus/selectHolder/index.d.ts +0 -7
- package/lib/plus/selectHolder/locales.d.ts +0 -21
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -6
- package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -11
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -16
- package/lib/plus/skuOptionsSelection/index.d.ts +0 -5
- package/lib/plus/skuOptionsSelection/locales.d.ts +0 -33
- package/lib/plus/skuOptionsSelection/store/store.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/types.d.ts +0 -429
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
- package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +0 -37
- package/lib/plus/walletEditor/locales.d.ts +0 -135
- package/lib/plus/walletEditor/types.d.ts +0 -52
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +0 -10
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +0 -13
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -10
- package/lib/plus/walletPassGallery/index.d.ts +0 -7
- package/lib/plus/walletPassGallery/locales.d.ts +0 -285
- package/lib/plus/walletPassGallery/serve.d.ts +0 -243
- package/lib/plus/walletPassGallery/utils.d.ts +0 -48
- package/lib/pro/Cards/components/SKUCard/index.d.ts +0 -60
- package/lib/pro/Login2.0/Login2.d.ts +0 -61
- package/lib/pro/Login2.0/locales.d.ts +0 -543
- package/lib/pro/Login2.0/shared/types.d.ts +0 -232
- package/lib/pro/NumericStepper/index.d.ts +0 -43
- package/lib/pro/Selector/BatchSelectorDemo.d.ts +0 -3
- package/lib/pro/Selector/Item.d.ts +0 -14
- package/lib/pro/Selector/Selector.d.ts +0 -14
- package/lib/pro/Selector/SelectorGroup.d.ts +0 -11
- package/lib/pro/Selector/components/Card/index.d.ts +0 -57
- package/lib/pro/Selector/components/Indicator/index.d.ts +0 -19
- package/lib/pro/Selector/components/LayoutContainer/index.d.ts +0 -16
- package/lib/pro/Selector/components/Media/index.d.ts +0 -6
- package/lib/pro/Selector/demo.d.ts +0 -3
- package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +0 -43
- package/lib/pro/Selector/hooks/usePresetProps.d.ts +0 -24
- package/lib/pro/Selector/locales.d.ts +0 -36
- package/lib/pro/Selector/types.d.ts +0 -173
- package/lib/pro/Selector/utils/index.d.ts +0 -49
- package/lib/pro/numberKeyboard/locales.d.ts +0 -12
- package/lib/pro/pisellNumberSelector/example.d.ts +0 -3
- package/lib/pro/skuDetailModal/index.d.ts +0 -4
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
export interface LogEntry {
|
|
2
|
-
/** 日志标题 */
|
|
3
|
-
title: string;
|
|
4
|
-
/** 日志内容 */
|
|
5
|
-
content?: any;
|
|
6
|
-
/** 支付时间(精确到毫秒) */
|
|
7
|
-
time: string;
|
|
8
|
-
}
|
|
9
|
-
interface PaymentLogRecord {
|
|
10
|
-
/** 交易记录号 */
|
|
11
|
-
number: string;
|
|
12
|
-
/** 订单ID */
|
|
13
|
-
orderId?: string | number;
|
|
14
|
-
/** 设备ID */
|
|
15
|
-
deviceId?: string | number;
|
|
16
|
-
/** 支付类型 */
|
|
17
|
-
paymentCode?: string;
|
|
18
|
-
/** 创建时间 */
|
|
19
|
-
createdAt: string;
|
|
20
|
-
/** 日志条目列表 */
|
|
21
|
-
logs: LogEntry[];
|
|
22
|
-
}
|
|
23
|
-
declare class PaymentLogInstance {
|
|
24
|
-
private static instance;
|
|
25
|
-
/** 当前交易记录号 */
|
|
26
|
-
private currentNumber;
|
|
27
|
-
/** 当前日志记录 */
|
|
28
|
-
private currentRecord;
|
|
29
|
-
private constructor();
|
|
30
|
-
/**
|
|
31
|
-
* 获取单例实例
|
|
32
|
-
*/
|
|
33
|
-
static getInstance(): PaymentLogInstance;
|
|
34
|
-
/**
|
|
35
|
-
* 初始化支付日志
|
|
36
|
-
* @param number 交易记录号
|
|
37
|
-
* @param options 初始化选项
|
|
38
|
-
*/
|
|
39
|
-
init(number: string, options?: {
|
|
40
|
-
orderId?: string | number;
|
|
41
|
-
deviceId?: string | number;
|
|
42
|
-
paymentCode?: string;
|
|
43
|
-
[key: string]: any;
|
|
44
|
-
}): void;
|
|
45
|
-
/**
|
|
46
|
-
* 添加日志条目
|
|
47
|
-
* @param title 日志标题
|
|
48
|
-
* @param content 日志内容
|
|
49
|
-
*/
|
|
50
|
-
addLog(params: {
|
|
51
|
-
title: string;
|
|
52
|
-
content?: any;
|
|
53
|
-
}): void;
|
|
54
|
-
/**
|
|
55
|
-
* 构建日志内容
|
|
56
|
-
* @param record 日志记录
|
|
57
|
-
* @returns 格式化的日志内容数组
|
|
58
|
-
*/
|
|
59
|
-
private buildLogContent;
|
|
60
|
-
/**
|
|
61
|
-
* 发送单条日志记录到飞书
|
|
62
|
-
* @param record 日志记录
|
|
63
|
-
* @param isRestore 是否是恢复上传
|
|
64
|
-
*/
|
|
65
|
-
private sendLogRecord;
|
|
66
|
-
/**
|
|
67
|
-
* 发送日志到飞书
|
|
68
|
-
* @param title 日志标题(可选,仅在需要自定义标题时使用)
|
|
69
|
-
*/
|
|
70
|
-
sendLogs(title?: string): void;
|
|
71
|
-
/**
|
|
72
|
-
* 清除当前日志
|
|
73
|
-
* @param shouldSend 清除前是否发送到飞书,默认为 true
|
|
74
|
-
*/
|
|
75
|
-
clearLogs(shouldSend?: boolean): void;
|
|
76
|
-
/**
|
|
77
|
-
* 检查并上传旧日志
|
|
78
|
-
*/
|
|
79
|
-
private checkAndUploadOldLogs;
|
|
80
|
-
/**
|
|
81
|
-
* 获取所有支付日志对象
|
|
82
|
-
*/
|
|
83
|
-
private getAllLogsObject;
|
|
84
|
-
/**
|
|
85
|
-
* 保存所有支付日志对象
|
|
86
|
-
*/
|
|
87
|
-
private saveAllLogsObject;
|
|
88
|
-
/**
|
|
89
|
-
* 保存到 localStorage
|
|
90
|
-
*/
|
|
91
|
-
private saveToLocalStorage;
|
|
92
|
-
/**
|
|
93
|
-
* 从 localStorage 中删除
|
|
94
|
-
*/
|
|
95
|
-
private removeFromLocalStorage;
|
|
96
|
-
/**
|
|
97
|
-
* 获取所有旧日志
|
|
98
|
-
*/
|
|
99
|
-
private getOldLogsFromLocalStorage;
|
|
100
|
-
/**
|
|
101
|
-
* 获取当前日志记录(用于调试)
|
|
102
|
-
*/
|
|
103
|
-
getCurrentRecord(): PaymentLogRecord | null;
|
|
104
|
-
/**
|
|
105
|
-
* 获取当前交易号(用于调试)
|
|
106
|
-
*/
|
|
107
|
-
getCurrentNumber(): string | null;
|
|
108
|
-
}
|
|
109
|
-
declare const paymentLog: PaymentLogInstance;
|
|
110
|
-
export default paymentLog;
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import { PaymentMethodOptions } from '../types';
|
|
2
|
-
declare class PaymentMethod {
|
|
3
|
-
/** 初始化参数 */
|
|
4
|
-
private initOptions;
|
|
5
|
-
private paymentNum;
|
|
6
|
-
private orderId?;
|
|
7
|
-
private deviceId?;
|
|
8
|
-
private callback;
|
|
9
|
-
private shouldContinue;
|
|
10
|
-
private config;
|
|
11
|
-
private controller;
|
|
12
|
-
private queryController;
|
|
13
|
-
private queryStartTimer;
|
|
14
|
-
private globalTimeoutTimer;
|
|
15
|
-
private requestTimeoutTimer;
|
|
16
|
-
private queryIntervalTimer;
|
|
17
|
-
private isFinished;
|
|
18
|
-
private isQuerying;
|
|
19
|
-
private currentActionType;
|
|
20
|
-
private currentQueryId;
|
|
21
|
-
private currentRunId;
|
|
22
|
-
private currentQueryApi;
|
|
23
|
-
constructor(options: PaymentMethodOptions);
|
|
24
|
-
/**
|
|
25
|
-
* 判断请求是否需要等待轮询结果
|
|
26
|
-
* 1. 有明确错误code且不是超时和支付超时,则直接失败
|
|
27
|
-
* @param code 错误码
|
|
28
|
-
*/
|
|
29
|
-
private isRequestFailed;
|
|
30
|
-
/**
|
|
31
|
-
* 清理定时器和请求控制器
|
|
32
|
-
*/
|
|
33
|
-
private cleanupTimersAndControllers;
|
|
34
|
-
/**
|
|
35
|
-
* 清理资源并重置状态
|
|
36
|
-
* @param markAsFinished 是否标记为已完成(true: 操作完成; false: 准备新操作)
|
|
37
|
-
*/
|
|
38
|
-
private clean;
|
|
39
|
-
/**
|
|
40
|
-
* 开始新的操作流程(统一的流程初始化)
|
|
41
|
-
* @param actionType 操作类型
|
|
42
|
-
* @returns 本次流程的唯一ID
|
|
43
|
-
*/
|
|
44
|
-
private startNewOperation;
|
|
45
|
-
/**
|
|
46
|
-
* 处理操作过程
|
|
47
|
-
*/
|
|
48
|
-
private handleOperationProcess;
|
|
49
|
-
/**
|
|
50
|
-
* 处理成功结果
|
|
51
|
-
*/
|
|
52
|
-
private handleOperationSuccess;
|
|
53
|
-
/**
|
|
54
|
-
* 处理错误(最终失败)
|
|
55
|
-
* @param error 错误信息
|
|
56
|
-
*/
|
|
57
|
-
private handleOperationError;
|
|
58
|
-
/**
|
|
59
|
-
* 处理接口响应
|
|
60
|
-
*/
|
|
61
|
-
private handleResponse;
|
|
62
|
-
/**
|
|
63
|
-
* 创建超时 Promise
|
|
64
|
-
*/
|
|
65
|
-
private createTimeoutPromise;
|
|
66
|
-
/**
|
|
67
|
-
* 单次查询请求
|
|
68
|
-
*/
|
|
69
|
-
private performQuery;
|
|
70
|
-
/**
|
|
71
|
-
* 安排下一次查询
|
|
72
|
-
*/
|
|
73
|
-
private scheduleNextQuery;
|
|
74
|
-
/**
|
|
75
|
-
* 开始轮询
|
|
76
|
-
*/
|
|
77
|
-
private startQuery;
|
|
78
|
-
/**
|
|
79
|
-
* 获取操作API和查询API
|
|
80
|
-
*/
|
|
81
|
-
private getActionApi;
|
|
82
|
-
/**
|
|
83
|
-
* 执行纯查询操作(不需要先调用支付/退款接口)
|
|
84
|
-
*/
|
|
85
|
-
private runQuery;
|
|
86
|
-
/**
|
|
87
|
-
* 执行操作的核心方法
|
|
88
|
-
*/
|
|
89
|
-
private run;
|
|
90
|
-
/**
|
|
91
|
-
* 执行操作
|
|
92
|
-
*/
|
|
93
|
-
private runAction;
|
|
94
|
-
/**
|
|
95
|
-
* 支付
|
|
96
|
-
* @param params 支付参数
|
|
97
|
-
*/
|
|
98
|
-
pay(params: Record<string, any>): void;
|
|
99
|
-
/**
|
|
100
|
-
* 支付取消
|
|
101
|
-
* @param params 取消参数
|
|
102
|
-
*/
|
|
103
|
-
payAction(params: Record<string, any>, config?: Record<string, any>): void;
|
|
104
|
-
/**
|
|
105
|
-
* 退款
|
|
106
|
-
* @param params 退款参数
|
|
107
|
-
*/
|
|
108
|
-
refund(params: Record<string, any>): void;
|
|
109
|
-
/**
|
|
110
|
-
* 退款取消
|
|
111
|
-
* @param params 取消参数
|
|
112
|
-
*/
|
|
113
|
-
refundAction(params: Record<string, any>, config?: Record<string, any>): void;
|
|
114
|
-
/**
|
|
115
|
-
* 支付查询(直接查询,带2分钟超时和轮询机制)
|
|
116
|
-
*/
|
|
117
|
-
payQuery(): void;
|
|
118
|
-
/**
|
|
119
|
-
* 退款查询(直接查询,带2分钟超时和轮询机制)
|
|
120
|
-
*/
|
|
121
|
-
refundQuery(): void;
|
|
122
|
-
/**
|
|
123
|
-
* 停止操作,后续依然可以重新发起操作
|
|
124
|
-
*/
|
|
125
|
-
stop(): void;
|
|
126
|
-
/**
|
|
127
|
-
* 销毁实例(完全清理并上传日志)
|
|
128
|
-
* 注意:销毁后实例不可再使用
|
|
129
|
-
*/
|
|
130
|
-
destroy(): void;
|
|
131
|
-
}
|
|
132
|
-
export default PaymentMethod;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PosProps, RouteType } from './const';
|
|
3
|
-
declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "mode" | "type" | "getApi"> & {
|
|
4
|
-
action: RouteType;
|
|
5
|
-
device_number: string | number;
|
|
6
|
-
api: ReturnType<PosProps['getApi']>;
|
|
7
|
-
isMobile: boolean;
|
|
8
|
-
channel?: string | undefined;
|
|
9
|
-
formatAmount(amount: number | string, precision: number, symbol: string): string;
|
|
10
|
-
}) => React.JSX.Element;
|
|
11
|
-
export default App;
|
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
export declare enum EftposEnum {
|
|
2
|
-
/** 后端支付 - 仅支付 */
|
|
3
|
-
Payo = "payo",
|
|
4
|
-
/** 前端支付 */
|
|
5
|
-
Tyro = "tyro",
|
|
6
|
-
/** 后端支付 - 支付 + 退款 */
|
|
7
|
-
Windcave = "windcave",
|
|
8
|
-
Stripe = "stripe",
|
|
9
|
-
/** 后端支付 - 支付 + 退款 */
|
|
10
|
-
Linkly = "linkly",
|
|
11
|
-
/** mx51支付 - 支付 + 退款 */
|
|
12
|
-
MX51 = "mx51"
|
|
13
|
-
}
|
|
14
|
-
export declare enum StatusEnum {
|
|
15
|
-
Loading = "loading",
|
|
16
|
-
Warn = "warn",
|
|
17
|
-
Fail = "fail",
|
|
18
|
-
Success = "success",
|
|
19
|
-
Pedding = "pedding",
|
|
20
|
-
Resove = "resove",
|
|
21
|
-
Reject = "reject",
|
|
22
|
-
Question = "question"
|
|
23
|
-
}
|
|
24
|
-
export declare enum ModeEnum {
|
|
25
|
-
/** 支付 */
|
|
26
|
-
Pay = "pay",
|
|
27
|
-
/** 完整支付 */
|
|
28
|
-
FullPay = "fullPay",
|
|
29
|
-
/** 退款 */
|
|
30
|
-
Refund = "refund",
|
|
31
|
-
/** 查询 */
|
|
32
|
-
Query = "query"
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* 崩溃恢复
|
|
36
|
-
*/
|
|
37
|
-
export declare enum RestoreEumn {
|
|
38
|
-
/** 常规 */
|
|
39
|
-
Normal = "normal",
|
|
40
|
-
/** 恢复 */
|
|
41
|
-
Restore = "restore"
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* 订单状态
|
|
45
|
-
*/
|
|
46
|
-
export declare enum OrderEumn {
|
|
47
|
-
/** 恢复 */
|
|
48
|
-
Restore = "restore",
|
|
49
|
-
/** 常规 */
|
|
50
|
-
Normal = "normal",
|
|
51
|
-
/** 成功 */
|
|
52
|
-
Succeed = "succeed",
|
|
53
|
-
/** 失败 */
|
|
54
|
-
Failed = "failed",
|
|
55
|
-
/** 等待 */
|
|
56
|
-
Pending = "pending",
|
|
57
|
-
/** 没有订单状态 */
|
|
58
|
-
Null = "null"
|
|
59
|
-
}
|
|
60
|
-
export declare enum ClientEnum {
|
|
61
|
-
/** 用户端 */
|
|
62
|
-
User = "user",
|
|
63
|
-
/** 商家端 */
|
|
64
|
-
Merchant = "merchant"
|
|
65
|
-
}
|
|
66
|
-
export declare enum RouteEnum {
|
|
67
|
-
/** 改价页 */
|
|
68
|
-
Amount = "amount",
|
|
69
|
-
/** 门店列表页 */
|
|
70
|
-
DeviceList = "deviceList",
|
|
71
|
-
/**支付页 */
|
|
72
|
-
Pay = "pay"
|
|
73
|
-
}
|
|
74
|
-
export declare enum PayRouteEnum {
|
|
75
|
-
Step = "step",
|
|
76
|
-
Unset = "unset"
|
|
77
|
-
}
|
|
78
|
-
export declare type RouteType = `${RouteEnum}`;
|
|
79
|
-
export declare type PayRouteType = `${PayRouteEnum}`;
|
|
80
|
-
export declare type DeviceStatusType = `${EftposEnum}`;
|
|
81
|
-
export declare type StatusType = `${StatusEnum}`;
|
|
82
|
-
export declare type ModeType = `${ModeEnum}`;
|
|
83
|
-
export interface PosProps {
|
|
84
|
-
/** 厂商类型 */
|
|
85
|
-
type: DeviceStatusType;
|
|
86
|
-
getApi: () => {
|
|
87
|
-
[key: string]: (...agrn: unknown[]) => Promise<unknown>;
|
|
88
|
-
};
|
|
89
|
-
params: {
|
|
90
|
-
[key: string]: unknown;
|
|
91
|
-
};
|
|
92
|
-
/** 回调 */
|
|
93
|
-
onChangeStatus: (status: `${StatusEnum.Success}` | `${StatusEnum.Fail}` | 'page' | 'print' | 'mark_tx_processed', params?: {
|
|
94
|
-
[keys: string]: unknown;
|
|
95
|
-
} | string, other?: any) => void;
|
|
96
|
-
onChangeParams(...agrn: unknown[]): void;
|
|
97
|
-
terminal: {
|
|
98
|
-
network: boolean;
|
|
99
|
-
};
|
|
100
|
-
device?: {
|
|
101
|
-
[key: string]: unknown;
|
|
102
|
-
};
|
|
103
|
-
mode: ModeEnum;
|
|
104
|
-
tyroUrl?: string;
|
|
105
|
-
tyroVersion?: string;
|
|
106
|
-
source: 'normal' | 'restore';
|
|
107
|
-
}
|
|
108
|
-
export interface PayProps {
|
|
109
|
-
api: ReturnType<PosProps['getApi']>;
|
|
110
|
-
onChange: PosProps['onChangeStatus'];
|
|
111
|
-
className?: string;
|
|
112
|
-
}
|
|
113
|
-
export declare type Amount = {
|
|
114
|
-
name: string;
|
|
115
|
-
/** 订单金额 */
|
|
116
|
-
money: number;
|
|
117
|
-
/** 上一轮操作订单金额 */
|
|
118
|
-
amount: number;
|
|
119
|
-
/** 金额单位 */
|
|
120
|
-
symbol: string;
|
|
121
|
-
/** 手续费-百分率 */
|
|
122
|
-
surRate: number;
|
|
123
|
-
/** 手续费-是否开启 */
|
|
124
|
-
surMoney: number;
|
|
125
|
-
/** 手续费-是否存在 */
|
|
126
|
-
surcharge: boolean;
|
|
127
|
-
/** 是否使用原始手续费 */
|
|
128
|
-
useOriginSurcharge: boolean;
|
|
129
|
-
};
|
|
130
|
-
export declare type PayAmount = {
|
|
131
|
-
/** 手续费-百分比-带百分号 例: 1% =》 数据为 0.01 */
|
|
132
|
-
surPercentRate: string;
|
|
133
|
-
/** 手续费-百分比-不带百分号 例:1% =》 数据为 1 */
|
|
134
|
-
surRate: string;
|
|
135
|
-
/** 手续费-比例金额 amount * surPercentRate */
|
|
136
|
-
surRateMoney: string;
|
|
137
|
-
/** 手续费-固定金额 */
|
|
138
|
-
surMoney: string;
|
|
139
|
-
/** 手续费 = surPercentRate + surMoney */
|
|
140
|
-
surcharge: string;
|
|
141
|
-
/** 支付金额 (不包含手续费) */
|
|
142
|
-
amount: string;
|
|
143
|
-
/** 支付总金额 = amount + surcharge */
|
|
144
|
-
total: string;
|
|
145
|
-
/** 订单金额 */
|
|
146
|
-
sourceAmount: string;
|
|
147
|
-
/** 支付总金额带单位 + 单位 */
|
|
148
|
-
totalUnit: string;
|
|
149
|
-
};
|
|
150
|
-
export declare enum PayStatus {
|
|
151
|
-
'Success' = "200",
|
|
152
|
-
/** 未生成交易记录 */
|
|
153
|
-
'NoPay' = "4004",
|
|
154
|
-
/** 配对失效 */
|
|
155
|
-
'PairingFailure' = "606020",
|
|
156
|
-
/** 支付失败 */
|
|
157
|
-
'Unknown' = "701000",
|
|
158
|
-
/** 交易请求超时 */
|
|
159
|
-
'Timeout' = "701001",
|
|
160
|
-
/** 支付失败 */
|
|
161
|
-
'PaymentFailed' = "701002",
|
|
162
|
-
/** 繁忙 EFTPOS终端暂时不可用,因为EFTPOS正在处理另一个请求。 */
|
|
163
|
-
'PayOtherEftposFailed' = "701003",
|
|
164
|
-
/** 购物者没有出示卡片/卡片金额不足/在线拒绝/卡已过期/卡被锁定 */
|
|
165
|
-
'PayCardErrorFailed' = "701004",
|
|
166
|
-
/** 断网 向EFTPOS发送消息失败。可能有网络问题,也可能没有连接websocket。 */
|
|
167
|
-
'NoNetWork' = "701005",
|
|
168
|
-
/** 交易等待超时 */
|
|
169
|
-
'PayTimeout' = "701006",
|
|
170
|
-
/** 连接失败 */
|
|
171
|
-
'SocketError' = "701007",
|
|
172
|
-
/** 银行拒绝 */
|
|
173
|
-
'PayBankRefuses' = "701008",
|
|
174
|
-
/** 签名拒绝 */
|
|
175
|
-
'SignatureDeclined' = "701009",
|
|
176
|
-
/** 配置参数错误 */
|
|
177
|
-
'UserConfigError' = "701010",
|
|
178
|
-
/** mx51未知状态 */
|
|
179
|
-
'UnknownMx51' = "702001"
|
|
180
|
-
}
|
|
181
|
-
export interface ActionProps {
|
|
182
|
-
onChange: (status: `${StatusEnum.Success}` | `${StatusEnum.Fail}` | 'page', params?: {
|
|
183
|
-
[key: string]: unknown;
|
|
184
|
-
} | string) => void;
|
|
185
|
-
api: {
|
|
186
|
-
[key: string]: (...agrn: unknown[]) => Promise<unknown>;
|
|
187
|
-
};
|
|
188
|
-
className?: string;
|
|
189
|
-
isMobile?: boolean;
|
|
190
|
-
formatAmount: (amount: number | string, precision: number, symbol: string) => string;
|
|
191
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PayProps, PosProps } from './const';
|
|
3
|
-
import './device.less';
|
|
4
|
-
/**
|
|
5
|
-
* @title: 设备选择页
|
|
6
|
-
* @description: 选择设备信息,无设备增加提示;仅有一条,默认选中跳走;多条记录则停留等待用户选择
|
|
7
|
-
* @return React.Element
|
|
8
|
-
* @Author: hongbing.wang
|
|
9
|
-
* @Date: 2024-08-12 11:40
|
|
10
|
-
*/
|
|
11
|
-
declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, }: {
|
|
12
|
-
api: PayProps['api'];
|
|
13
|
-
className?: string | undefined;
|
|
14
|
-
onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
|
|
15
|
-
[keys: string]: unknown;
|
|
16
|
-
} | undefined, other?: any) => void) | undefined;
|
|
17
|
-
onClose: () => void;
|
|
18
|
-
device_number?: string | number | undefined;
|
|
19
|
-
isMobile: boolean;
|
|
20
|
-
net: boolean;
|
|
21
|
-
client: string;
|
|
22
|
-
formatAmount(amount: number | string, precision: number, symbol: string): string;
|
|
23
|
-
}) => React.JSX.Element;
|
|
24
|
-
export default _default;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { State } from '../store';
|
|
2
|
-
import { ModeEnum } from '../const';
|
|
3
|
-
export declare const getStep: (mode?: ModeEnum) => State['steps'];
|
|
4
|
-
declare const _default: (params: any) => State;
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare enum EVisibleButtonType {
|
|
7
|
-
/** 取消按钮 */
|
|
8
|
-
CancelButton = "CancelButton",
|
|
9
|
-
/** 等待按钮 */
|
|
10
|
-
WaitButton = "WaitButton"
|
|
11
|
-
}
|
|
12
|
-
export declare enum LinklyActionStatus {
|
|
13
|
-
/** 空 */
|
|
14
|
-
Empty = "Empty",
|
|
15
|
-
/** 取消 */
|
|
16
|
-
Cancel = "Cancel",
|
|
17
|
-
/** 取消中 */
|
|
18
|
-
CancelWaiting = "CancelWaiting",
|
|
19
|
-
/** 签名 */
|
|
20
|
-
Signature = "Signature",
|
|
21
|
-
/** 签名等待中 */
|
|
22
|
-
SignatureWaiting = "SignatureWaiting"
|
|
23
|
-
}
|