@payos-inc/payos-react 1.0.42-staging.83 → 1.2.0-staging.89
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/LICENSE +96 -0
- package/README.md +160 -0
- package/dist/THIRD_PARTY_NOTICES.txt +549 -0
- package/dist/payos-react.cjs +50 -0
- package/dist/payos-react.css +1 -1
- package/dist/payos-react.esm.js +17 -11
- package/dist/payos-react.min.js +2 -1
- package/dist/payos-react.mjs +50 -0
- package/dist/types/index.d.ts +1 -57
- package/dist/types/payos-passkey-js/src/api/ApiClient.d.ts +48 -0
- package/dist/types/payos-passkey-js/src/core/PayOSPasskey.d.ts +114 -0
- package/dist/types/payos-passkey-js/src/core/types.d.ts +100 -0
- package/dist/types/payos-passkey-js/src/index.d.ts +9 -0
- package/dist/types/payos-passkey-js/src/services/mastercard/MastercardSDKService.d.ts +61 -0
- package/dist/types/payos-passkey-js/src/services/visa/VisaSDKService.d.ts +90 -0
- package/dist/types/payos-passkey-js/src/utils/diagnostics.d.ts +30 -0
- package/dist/types/payos-passkey-js/src/utils/logger.d.ts +36 -0
- package/dist/{components → types/payos-react/src/components}/payos/ActiveCardWidget.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/AgentRegistrationFlow.d.ts +1 -3
- package/dist/{components → types/payos-react/src/components}/payos/ConnectStripeLinkButton.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/IdentityVerificationFlow.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/LinkPaymentFlow.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/LinkSessionContent.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/PayOSFooter.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/PayWithLinkButton.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/PaymentMethodRow.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/PaymentSheet.d.ts +3 -4
- package/dist/types/{components → payos-react/src/components}/payos/PaymentSheetContent.d.ts +4 -3
- package/dist/types/{components → payos-react/src/components}/payos/PaymentSheetPaymentFlow.d.ts +4 -2
- package/dist/{components → types/payos-react/src/components}/payos/PaymentSheetShell.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/PaymentSheetStatusViews.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/PriceTag.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/ReceiptPanel.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/ViewHeader.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/drawer.d.ts +0 -2
- package/dist/{components → types/payos-react/src/components}/payos/order-summary.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/otp-input.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/phone-input.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/themeMode.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/usePaymentSheetDisplayData.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/usePaymentSheetLifecycle.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/usePaymentSheetSkipToAuth.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/usePaymentSheetSkipToLink.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/views/AgentRegistrationView.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/views/CardAddView.d.ts +1 -2
- package/dist/types/{components → payos-react/src/components}/payos/views/CheckoutView.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/views/IdentityView.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/views/LinkBrand.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/views/LinkCheckoutView.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/views/LinkConnectView.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/views/LinkDeniedView.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/views/LinkLoadingView.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/views/LinkSuccessView.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/views/ManageThirdPartyView.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/views/MethodListView.d.ts +8 -1
- package/dist/types/{components → payos-react/src/components}/payos/views/OTPView.d.ts +0 -1
- package/dist/types/payos-react/src/components/payos/views/ShareCardsView.d.ts +24 -0
- package/dist/types/{components → payos-react/src/components}/payos/views/SuccessView.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/views/VisaIframeView.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/payos/views/VisaMethodView.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/views/VisaOtpView.d.ts +0 -1
- package/dist/{components → types/payos-react/src/components}/payos/views/WelcomeBackView.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/ui/CardBrandIcon.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/ui/ConfirmDialog.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/ui/DigitalCard.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/ui/button.d.ts +1 -2
- package/dist/types/{components → payos-react/src/components}/ui/card.d.ts +1 -2
- package/dist/types/{components → payos-react/src/components}/ui/input.d.ts +0 -1
- package/dist/types/{components → payos-react/src/components}/ui/label.d.ts +1 -2
- package/dist/types/{components → payos-react/src/components}/ui/separator.d.ts +0 -1
- package/dist/{hooks → types/payos-react/src/hooks}/useBiometricType.d.ts +0 -1
- package/dist/types/{hooks → payos-react/src/hooks}/useBodyScrollLock.d.ts +0 -1
- package/dist/types/{hooks → payos-react/src/hooks}/useCardElement.d.ts +1 -2
- package/dist/types/{hooks → payos-react/src/hooks}/useLinkAuth.d.ts +0 -1
- package/dist/types/{hooks → payos-react/src/hooks}/useLinkDeviceAuthPoll.d.ts +0 -1
- package/dist/types/{hooks → payos-react/src/hooks}/useLinkMethods.d.ts +0 -1
- package/dist/{hooks → types/payos-react/src/hooks}/useLinkSession.d.ts +0 -1
- package/dist/{hooks → types/payos-react/src/hooks}/useLinkSpendStatusPoll.d.ts +0 -1
- package/dist/types/{hooks → payos-react/src/hooks}/usePasskeySDK.d.ts +2 -4
- package/dist/{hooks → types/payos-react/src/hooks}/useSession.d.ts +8 -1
- package/dist/types/{hooks → payos-react/src/hooks}/useVisualViewport.d.ts +0 -1
- package/dist/{index.d.ts → types/payos-react/src/index.d.ts} +3 -4
- package/dist/{lib → types/payos-react/src/lib}/utils.d.ts +0 -1
- package/dist/{services → types/payos-react/src/services}/apiService.d.ts +10 -2
- package/dist/{services → types/payos-react/src/services}/linkTokenService.d.ts +0 -1
- package/dist/types/{cardElement.d.ts → payos-react/src/types/cardElement.d.ts} +2 -3
- package/dist/types/{drawer.d.ts → payos-react/src/types/drawer.d.ts} +0 -1
- package/dist/types/{types → payos-react/src/types}/index.d.ts +0 -1
- package/dist/types/{order.d.ts → payos-react/src/types/order.d.ts} +0 -1
- package/dist/types/{types → payos-react/src/types}/payment.d.ts +1 -2
- package/dist/types/{session.d.ts → payos-react/src/types/session.d.ts} +15 -1
- package/dist/types/{utils → payos-react/src/utils}/credentialStatus.d.ts +0 -1
- package/dist/{utils → types/payos-react/src/utils}/deviceFingerprint.d.ts +0 -1
- package/dist/types/{utils → payos-react/src/utils}/environment.d.ts +0 -1
- package/dist/{utils → types/payos-react/src/utils}/formatting.d.ts +0 -1
- package/dist/types/{utils → payos-react/src/utils}/linkPopup.d.ts +0 -1
- package/dist/types/{utils → payos-react/src/utils}/selectCard.d.ts +0 -1
- package/dist/types/{utils → payos-react/src/utils}/text.d.ts +0 -1
- package/dist/{utils → types/payos-react/src/utils}/validation.d.ts +0 -1
- package/package.json +38 -13
- package/dist/components/identity/IdentityBar.d.ts +0 -8
- package/dist/components/identity/IdentityBar.d.ts.map +0 -1
- package/dist/components/order/OrderSummaryAccordion.d.ts +0 -9
- package/dist/components/order/OrderSummaryAccordion.d.ts.map +0 -1
- package/dist/components/order/ShipmentCard.d.ts +0 -8
- package/dist/components/order/ShipmentCard.d.ts.map +0 -1
- package/dist/components/payos/ActiveCardWidget.d.ts.map +0 -1
- package/dist/components/payos/AgentRegistrationFlow.d.ts.map +0 -1
- package/dist/components/payos/ConnectStripeLinkButton.d.ts.map +0 -1
- package/dist/components/payos/IdentityVerificationFlow.d.ts +0 -26
- package/dist/components/payos/IdentityVerificationFlow.d.ts.map +0 -1
- package/dist/components/payos/LinkPaymentFlow.d.ts.map +0 -1
- package/dist/components/payos/LinkSessionContent.d.ts.map +0 -1
- package/dist/components/payos/PayOSFooter.d.ts +0 -25
- package/dist/components/payos/PayOSFooter.d.ts.map +0 -1
- package/dist/components/payos/PayWithLinkButton.d.ts +0 -74
- package/dist/components/payos/PayWithLinkButton.d.ts.map +0 -1
- package/dist/components/payos/PaymentMethodRow.d.ts.map +0 -1
- package/dist/components/payos/PaymentSheet.d.ts.map +0 -1
- package/dist/components/payos/PaymentSheetContent.d.ts +0 -80
- package/dist/components/payos/PaymentSheetContent.d.ts.map +0 -1
- package/dist/components/payos/PaymentSheetPaymentFlow.d.ts +0 -43
- package/dist/components/payos/PaymentSheetPaymentFlow.d.ts.map +0 -1
- package/dist/components/payos/PaymentSheetShell.d.ts.map +0 -1
- package/dist/components/payos/PaymentSheetStatusViews.d.ts.map +0 -1
- package/dist/components/payos/PriceTag.d.ts +0 -64
- package/dist/components/payos/PriceTag.d.ts.map +0 -1
- package/dist/components/payos/ReceiptPanel.d.ts +0 -67
- package/dist/components/payos/ReceiptPanel.d.ts.map +0 -1
- package/dist/components/payos/ViewHeader.d.ts +0 -9
- package/dist/components/payos/ViewHeader.d.ts.map +0 -1
- package/dist/components/payos/drawer.d.ts +0 -107
- package/dist/components/payos/drawer.d.ts.map +0 -1
- package/dist/components/payos/order-summary.d.ts.map +0 -1
- package/dist/components/payos/otp-input.d.ts.map +0 -1
- package/dist/components/payos/phone-input.d.ts +0 -30
- package/dist/components/payos/phone-input.d.ts.map +0 -1
- package/dist/components/payos/themeMode.d.ts.map +0 -1
- package/dist/components/payos/usePaymentSheetDebug.d.ts +0 -22
- package/dist/components/payos/usePaymentSheetDebug.d.ts.map +0 -1
- package/dist/components/payos/usePaymentSheetDisplayData.d.ts +0 -29
- package/dist/components/payos/usePaymentSheetDisplayData.d.ts.map +0 -1
- package/dist/components/payos/usePaymentSheetLifecycle.d.ts +0 -39
- package/dist/components/payos/usePaymentSheetLifecycle.d.ts.map +0 -1
- package/dist/components/payos/usePaymentSheetSkipToAuth.d.ts.map +0 -1
- package/dist/components/payos/usePaymentSheetSkipToLink.d.ts.map +0 -1
- package/dist/components/payos/views/AgentRegistrationView.d.ts.map +0 -1
- package/dist/components/payos/views/CardAddView.d.ts +0 -101
- package/dist/components/payos/views/CardAddView.d.ts.map +0 -1
- package/dist/components/payos/views/CheckoutView.d.ts +0 -95
- package/dist/components/payos/views/CheckoutView.d.ts.map +0 -1
- package/dist/components/payos/views/IdentityView.d.ts +0 -51
- package/dist/components/payos/views/IdentityView.d.ts.map +0 -1
- package/dist/components/payos/views/LinkBrand.d.ts.map +0 -1
- package/dist/components/payos/views/LinkCheckoutView.d.ts.map +0 -1
- package/dist/components/payos/views/LinkConnectView.d.ts +0 -18
- package/dist/components/payos/views/LinkConnectView.d.ts.map +0 -1
- package/dist/components/payos/views/LinkDeniedView.d.ts +0 -13
- package/dist/components/payos/views/LinkDeniedView.d.ts.map +0 -1
- package/dist/components/payos/views/LinkLoadingView.d.ts.map +0 -1
- package/dist/components/payos/views/LinkSuccessView.d.ts +0 -11
- package/dist/components/payos/views/LinkSuccessView.d.ts.map +0 -1
- package/dist/components/payos/views/ManageThirdPartyView.d.ts.map +0 -1
- package/dist/components/payos/views/MethodListView.d.ts.map +0 -1
- package/dist/components/payos/views/OTPView.d.ts +0 -69
- package/dist/components/payos/views/OTPView.d.ts.map +0 -1
- package/dist/components/payos/views/SuccessView.d.ts +0 -49
- package/dist/components/payos/views/SuccessView.d.ts.map +0 -1
- package/dist/components/payos/views/VisaIframeView.d.ts.map +0 -1
- package/dist/components/payos/views/VisaMethodView.d.ts +0 -23
- package/dist/components/payos/views/VisaMethodView.d.ts.map +0 -1
- package/dist/components/payos/views/VisaOtpView.d.ts.map +0 -1
- package/dist/components/payos/views/WelcomeBackView.d.ts.map +0 -1
- package/dist/components/ui/CardBrandIcon.d.ts +0 -10
- package/dist/components/ui/CardBrandIcon.d.ts.map +0 -1
- package/dist/components/ui/ConfirmDialog.d.ts +0 -25
- package/dist/components/ui/ConfirmDialog.d.ts.map +0 -1
- package/dist/components/ui/DigitalCard.d.ts +0 -13
- package/dist/components/ui/DigitalCard.d.ts.map +0 -1
- package/dist/components/ui/InfoTooltip.d.ts +0 -8
- package/dist/components/ui/InfoTooltip.d.ts.map +0 -1
- package/dist/components/ui/PinInput.d.ts +0 -12
- package/dist/components/ui/PinInput.d.ts.map +0 -1
- package/dist/components/ui/button.d.ts +0 -14
- package/dist/components/ui/button.d.ts.map +0 -1
- package/dist/components/ui/card.d.ts +0 -15
- package/dist/components/ui/card.d.ts.map +0 -1
- package/dist/components/ui/input.d.ts +0 -6
- package/dist/components/ui/input.d.ts.map +0 -1
- package/dist/components/ui/label.d.ts +0 -6
- package/dist/components/ui/label.d.ts.map +0 -1
- package/dist/components/ui/separator.d.ts +0 -5
- package/dist/components/ui/separator.d.ts.map +0 -1
- package/dist/hooks/index.d.ts +0 -8
- package/dist/hooks/index.d.ts.map +0 -1
- package/dist/hooks/useBiometricType.d.ts.map +0 -1
- package/dist/hooks/useBodyScrollLock.d.ts +0 -32
- package/dist/hooks/useBodyScrollLock.d.ts.map +0 -1
- package/dist/hooks/useCardElement.d.ts +0 -135
- package/dist/hooks/useCardElement.d.ts.map +0 -1
- package/dist/hooks/useCheckoutFlow.d.ts +0 -29
- package/dist/hooks/useCheckoutFlow.d.ts.map +0 -1
- package/dist/hooks/useDrawerState.d.ts +0 -4
- package/dist/hooks/useDrawerState.d.ts.map +0 -1
- package/dist/hooks/useLinkAuth.d.ts +0 -24
- package/dist/hooks/useLinkAuth.d.ts.map +0 -1
- package/dist/hooks/useLinkDeviceAuthPoll.d.ts +0 -29
- package/dist/hooks/useLinkDeviceAuthPoll.d.ts.map +0 -1
- package/dist/hooks/useLinkMethods.d.ts +0 -28
- package/dist/hooks/useLinkMethods.d.ts.map +0 -1
- package/dist/hooks/useLinkSession.d.ts.map +0 -1
- package/dist/hooks/useLinkSpendStatusPoll.d.ts.map +0 -1
- package/dist/hooks/usePasskeySDK.d.ts +0 -103
- package/dist/hooks/usePasskeySDK.d.ts.map +0 -1
- package/dist/hooks/useSession.d.ts.map +0 -1
- package/dist/hooks/useVisualViewport.d.ts +0 -15
- package/dist/hooks/useVisualViewport.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/lib/theme.d.ts +0 -53
- package/dist/lib/theme.d.ts.map +0 -1
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/mocks/index.d.ts +0 -3
- package/dist/mocks/index.d.ts.map +0 -1
- package/dist/mocks/mockCheckoutFlow.d.ts +0 -25
- package/dist/mocks/mockCheckoutFlow.d.ts.map +0 -1
- package/dist/mocks/mockData.d.ts +0 -6
- package/dist/mocks/mockData.d.ts.map +0 -1
- package/dist/mocks/mockSessionData.d.ts +0 -38
- package/dist/mocks/mockSessionData.d.ts.map +0 -1
- package/dist/services/apiService.d.ts.map +0 -1
- package/dist/services/linkTokenService.d.ts.map +0 -1
- package/dist/services/mockSessionService.d.ts +0 -65
- package/dist/services/mockSessionService.d.ts.map +0 -1
- package/dist/types/cardElement.d.ts.map +0 -1
- package/dist/types/components/identity/IdentityBar.d.ts +0 -8
- package/dist/types/components/identity/IdentityBar.d.ts.map +0 -1
- package/dist/types/components/order/OrderSummaryAccordion.d.ts +0 -9
- package/dist/types/components/order/OrderSummaryAccordion.d.ts.map +0 -1
- package/dist/types/components/order/ShipmentCard.d.ts +0 -8
- package/dist/types/components/order/ShipmentCard.d.ts.map +0 -1
- package/dist/types/components/payos/ActiveCardWidget.d.ts +0 -60
- package/dist/types/components/payos/ActiveCardWidget.d.ts.map +0 -1
- package/dist/types/components/payos/AgentRegistrationFlow.d.ts +0 -24
- package/dist/types/components/payos/AgentRegistrationFlow.d.ts.map +0 -1
- package/dist/types/components/payos/ConnectStripeLinkButton.d.ts +0 -41
- package/dist/types/components/payos/ConnectStripeLinkButton.d.ts.map +0 -1
- package/dist/types/components/payos/IdentityVerificationFlow.d.ts.map +0 -1
- package/dist/types/components/payos/LinkPaymentFlow.d.ts +0 -11
- package/dist/types/components/payos/LinkPaymentFlow.d.ts.map +0 -1
- package/dist/types/components/payos/LinkSessionContent.d.ts +0 -19
- package/dist/types/components/payos/LinkSessionContent.d.ts.map +0 -1
- package/dist/types/components/payos/PayOSFooter.d.ts.map +0 -1
- package/dist/types/components/payos/PayWithLinkButton.d.ts.map +0 -1
- package/dist/types/components/payos/PaymentMethodRow.d.ts +0 -53
- package/dist/types/components/payos/PaymentMethodRow.d.ts.map +0 -1
- package/dist/types/components/payos/PaymentSheet.d.ts +0 -121
- package/dist/types/components/payos/PaymentSheet.d.ts.map +0 -1
- package/dist/types/components/payos/PaymentSheetContent.d.ts.map +0 -1
- package/dist/types/components/payos/PaymentSheetPaymentFlow.d.ts.map +0 -1
- package/dist/types/components/payos/PaymentSheetShell.d.ts +0 -25
- package/dist/types/components/payos/PaymentSheetShell.d.ts.map +0 -1
- package/dist/types/components/payos/PaymentSheetStatusViews.d.ts +0 -28
- package/dist/types/components/payos/PaymentSheetStatusViews.d.ts.map +0 -1
- package/dist/types/components/payos/PriceTag.d.ts.map +0 -1
- package/dist/types/components/payos/ReceiptPanel.d.ts.map +0 -1
- package/dist/types/components/payos/ViewHeader.d.ts.map +0 -1
- package/dist/types/components/payos/drawer.d.ts.map +0 -1
- package/dist/types/components/payos/order-summary.d.ts +0 -44
- package/dist/types/components/payos/order-summary.d.ts.map +0 -1
- package/dist/types/components/payos/otp-input.d.ts +0 -45
- package/dist/types/components/payos/otp-input.d.ts.map +0 -1
- package/dist/types/components/payos/phone-input.d.ts.map +0 -1
- package/dist/types/components/payos/themeMode.d.ts +0 -6
- package/dist/types/components/payos/themeMode.d.ts.map +0 -1
- package/dist/types/components/payos/usePaymentSheetDebug.d.ts +0 -22
- package/dist/types/components/payos/usePaymentSheetDebug.d.ts.map +0 -1
- package/dist/types/components/payos/usePaymentSheetDisplayData.d.ts.map +0 -1
- package/dist/types/components/payos/usePaymentSheetLifecycle.d.ts.map +0 -1
- package/dist/types/components/payos/usePaymentSheetSkipToAuth.d.ts +0 -18
- package/dist/types/components/payos/usePaymentSheetSkipToAuth.d.ts.map +0 -1
- package/dist/types/components/payos/usePaymentSheetSkipToLink.d.ts +0 -14
- package/dist/types/components/payos/usePaymentSheetSkipToLink.d.ts.map +0 -1
- package/dist/types/components/payos/views/AgentRegistrationView.d.ts +0 -61
- package/dist/types/components/payos/views/AgentRegistrationView.d.ts.map +0 -1
- package/dist/types/components/payos/views/CardAddView.d.ts.map +0 -1
- package/dist/types/components/payos/views/CheckoutView.d.ts.map +0 -1
- package/dist/types/components/payos/views/IdentityView.d.ts.map +0 -1
- package/dist/types/components/payos/views/LinkBrand.d.ts +0 -13
- package/dist/types/components/payos/views/LinkBrand.d.ts.map +0 -1
- package/dist/types/components/payos/views/LinkCheckoutView.d.ts +0 -31
- package/dist/types/components/payos/views/LinkCheckoutView.d.ts.map +0 -1
- package/dist/types/components/payos/views/LinkConnectView.d.ts.map +0 -1
- package/dist/types/components/payos/views/LinkDeniedView.d.ts.map +0 -1
- package/dist/types/components/payos/views/LinkLoadingView.d.ts +0 -11
- package/dist/types/components/payos/views/LinkLoadingView.d.ts.map +0 -1
- package/dist/types/components/payos/views/LinkSuccessView.d.ts.map +0 -1
- package/dist/types/components/payos/views/ManageThirdPartyView.d.ts +0 -19
- package/dist/types/components/payos/views/ManageThirdPartyView.d.ts.map +0 -1
- package/dist/types/components/payos/views/MethodListView.d.ts +0 -116
- package/dist/types/components/payos/views/MethodListView.d.ts.map +0 -1
- package/dist/types/components/payos/views/OTPView.d.ts.map +0 -1
- package/dist/types/components/payos/views/SuccessView.d.ts.map +0 -1
- package/dist/types/components/payos/views/VisaIframeView.d.ts +0 -16
- package/dist/types/components/payos/views/VisaIframeView.d.ts.map +0 -1
- package/dist/types/components/payos/views/VisaMethodView.d.ts.map +0 -1
- package/dist/types/components/payos/views/VisaOtpView.d.ts +0 -45
- package/dist/types/components/payos/views/VisaOtpView.d.ts.map +0 -1
- package/dist/types/components/payos/views/WelcomeBackView.d.ts +0 -34
- package/dist/types/components/payos/views/WelcomeBackView.d.ts.map +0 -1
- package/dist/types/components/ui/CardBrandIcon.d.ts.map +0 -1
- package/dist/types/components/ui/ConfirmDialog.d.ts.map +0 -1
- package/dist/types/components/ui/DigitalCard.d.ts.map +0 -1
- package/dist/types/components/ui/InfoTooltip.d.ts +0 -8
- package/dist/types/components/ui/InfoTooltip.d.ts.map +0 -1
- package/dist/types/components/ui/PinInput.d.ts +0 -12
- package/dist/types/components/ui/PinInput.d.ts.map +0 -1
- package/dist/types/components/ui/button.d.ts.map +0 -1
- package/dist/types/components/ui/card.d.ts.map +0 -1
- package/dist/types/components/ui/input.d.ts.map +0 -1
- package/dist/types/components/ui/label.d.ts.map +0 -1
- package/dist/types/components/ui/separator.d.ts.map +0 -1
- package/dist/types/drawer.d.ts.map +0 -1
- package/dist/types/hooks/index.d.ts +0 -8
- package/dist/types/hooks/index.d.ts.map +0 -1
- package/dist/types/hooks/useBiometricType.d.ts +0 -21
- package/dist/types/hooks/useBiometricType.d.ts.map +0 -1
- package/dist/types/hooks/useBodyScrollLock.d.ts.map +0 -1
- package/dist/types/hooks/useCardElement.d.ts.map +0 -1
- package/dist/types/hooks/useCheckoutFlow.d.ts +0 -29
- package/dist/types/hooks/useCheckoutFlow.d.ts.map +0 -1
- package/dist/types/hooks/useDrawerState.d.ts +0 -4
- package/dist/types/hooks/useDrawerState.d.ts.map +0 -1
- package/dist/types/hooks/useLinkAuth.d.ts.map +0 -1
- package/dist/types/hooks/useLinkDeviceAuthPoll.d.ts.map +0 -1
- package/dist/types/hooks/useLinkMethods.d.ts.map +0 -1
- package/dist/types/hooks/useLinkSession.d.ts +0 -81
- package/dist/types/hooks/useLinkSession.d.ts.map +0 -1
- package/dist/types/hooks/useLinkSpendStatusPoll.d.ts +0 -28
- package/dist/types/hooks/useLinkSpendStatusPoll.d.ts.map +0 -1
- package/dist/types/hooks/usePasskeySDK.d.ts.map +0 -1
- package/dist/types/hooks/useSession.d.ts +0 -87
- package/dist/types/hooks/useSession.d.ts.map +0 -1
- package/dist/types/hooks/useVisualViewport.d.ts.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/lib/theme.d.ts +0 -53
- package/dist/types/lib/theme.d.ts.map +0 -1
- package/dist/types/lib/utils.d.ts +0 -3
- package/dist/types/lib/utils.d.ts.map +0 -1
- package/dist/types/mocks/index.d.ts +0 -3
- package/dist/types/mocks/index.d.ts.map +0 -1
- package/dist/types/mocks/mockCheckoutFlow.d.ts +0 -25
- package/dist/types/mocks/mockCheckoutFlow.d.ts.map +0 -1
- package/dist/types/mocks/mockData.d.ts +0 -6
- package/dist/types/mocks/mockData.d.ts.map +0 -1
- package/dist/types/mocks/mockSessionData.d.ts +0 -38
- package/dist/types/mocks/mockSessionData.d.ts.map +0 -1
- package/dist/types/order.d.ts.map +0 -1
- package/dist/types/payment.d.ts +0 -55
- package/dist/types/payment.d.ts.map +0 -1
- package/dist/types/services/apiService.d.ts +0 -406
- package/dist/types/services/apiService.d.ts.map +0 -1
- package/dist/types/services/linkTokenService.d.ts +0 -7
- package/dist/types/services/linkTokenService.d.ts.map +0 -1
- package/dist/types/services/mockSessionService.d.ts +0 -65
- package/dist/types/services/mockSessionService.d.ts.map +0 -1
- package/dist/types/session.d.ts.map +0 -1
- package/dist/types/types/cardElement.d.ts +0 -157
- package/dist/types/types/cardElement.d.ts.map +0 -1
- package/dist/types/types/drawer.d.ts +0 -33
- package/dist/types/types/drawer.d.ts.map +0 -1
- package/dist/types/types/index.d.ts.map +0 -1
- package/dist/types/types/order.d.ts +0 -25
- package/dist/types/types/order.d.ts.map +0 -1
- package/dist/types/types/payment.d.ts.map +0 -1
- package/dist/types/types/session.d.ts +0 -165
- package/dist/types/types/session.d.ts.map +0 -1
- package/dist/types/utils/credentialStatus.d.ts.map +0 -1
- package/dist/types/utils/deviceFingerprint.d.ts +0 -27
- package/dist/types/utils/deviceFingerprint.d.ts.map +0 -1
- package/dist/types/utils/environment.d.ts.map +0 -1
- package/dist/types/utils/formatting.d.ts +0 -41
- package/dist/types/utils/formatting.d.ts.map +0 -1
- package/dist/types/utils/index.d.ts +0 -4
- package/dist/types/utils/index.d.ts.map +0 -1
- package/dist/types/utils/linkFormat.d.ts +0 -17
- package/dist/types/utils/linkFormat.d.ts.map +0 -1
- package/dist/types/utils/linkPopup.d.ts.map +0 -1
- package/dist/types/utils/selectCard.d.ts.map +0 -1
- package/dist/types/utils/text.d.ts.map +0 -1
- package/dist/types/utils/validation.d.ts +0 -90
- package/dist/types/utils/validation.d.ts.map +0 -1
- package/dist/utils/credentialStatus.d.ts +0 -8
- package/dist/utils/credentialStatus.d.ts.map +0 -1
- package/dist/utils/deviceFingerprint.d.ts.map +0 -1
- package/dist/utils/environment.d.ts +0 -22
- package/dist/utils/environment.d.ts.map +0 -1
- package/dist/utils/formatting.d.ts.map +0 -1
- package/dist/utils/index.d.ts +0 -4
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/linkFormat.d.ts +0 -17
- package/dist/utils/linkFormat.d.ts.map +0 -1
- package/dist/utils/linkPopup.d.ts +0 -19
- package/dist/utils/linkPopup.d.ts.map +0 -1
- package/dist/utils/selectCard.d.ts +0 -18
- package/dist/utils/selectCard.d.ts.map +0 -1
- package/dist/utils/text.d.ts +0 -12
- package/dist/utils/text.d.ts.map +0 -1
- package/dist/utils/validation.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usePaymentSheetDisplayData.d.ts","sourceRoot":"","sources":["../../../../src/components/payos/usePaymentSheetDisplayData.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE9E,UAAU,8BAA8B;IACtC,OAAO,EAAE,eAAe,GAAG,IAAI,CAAC;IAChC,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,EAAE,WAAW,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,KAAK,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAChC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,wBAAgB,0BAA0B,CAAC,EACzC,OAAO,EACP,WAAW,EACX,WAAW,EACX,KAAK,EACL,UAAU,EACV,KAAK,EACL,iBAAyB,GAC1B,EAAE,8BAA8B;;;;;;;;;;;;;;;EA0DhC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usePaymentSheetLifecycle.d.ts","sourceRoot":"","sources":["../../../../src/components/payos/usePaymentSheetLifecycle.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACjF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AACvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,EACV,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,WAAW,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AgB,wBAAwB,CAAC,EACvC,KAAK,EACL,IAAI,EACJ,WAAW,EACX,KAAK,EACL,OAAO,EACP,KAAK,EACL,OAAO,EACP,gBAAgB,EAChB,SAAS,EACT,WAAW,EACX,WAAW,EACX,WAAW,EACX,cAAc,EACd,eAAe,EACf,cAAc,EACd,iBAAiB,EACjB,aAAa,EACb,MAAM,EACN,oBAAoB,EACpB,iBAAiB,EACjB,aAAa,EACb,UAAU,EACV,WAAW,EACX,QAAQ,GACT,EAAE,4BAA4B;;;EA8L9B"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { SessionPhase } from '../../hooks/useSession';
|
|
2
|
-
import type { PaymentView } from '../../types/payment';
|
|
3
|
-
interface UsePaymentSheetSkipToAuthArgs {
|
|
4
|
-
skipToAuth: boolean;
|
|
5
|
-
isAgentMode: boolean;
|
|
6
|
-
open: boolean;
|
|
7
|
-
phase: SessionPhase;
|
|
8
|
-
paymentView: PaymentView;
|
|
9
|
-
hasSelectedCard: boolean;
|
|
10
|
-
loading: boolean;
|
|
11
|
-
onTrigger: () => void | Promise<void>;
|
|
12
|
-
}
|
|
13
|
-
export declare function usePaymentSheetSkipToAuth({ skipToAuth, isAgentMode, open, phase, paymentView, hasSelectedCard, loading, onTrigger, }: UsePaymentSheetSkipToAuthArgs): {
|
|
14
|
-
passkeyClosed: boolean;
|
|
15
|
-
markPasskeyClosed: () => void;
|
|
16
|
-
};
|
|
17
|
-
export {};
|
|
18
|
-
//# sourceMappingURL=usePaymentSheetSkipToAuth.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usePaymentSheetSkipToAuth.d.ts","sourceRoot":"","sources":["../../../../src/components/payos/usePaymentSheetSkipToAuth.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEvD,UAAU,6BAA6B;IACrC,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,YAAY,CAAC;IACpB,WAAW,EAAE,WAAW,CAAC;IACzB,eAAe,EAAE,OAAO,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACvC;AAED,wBAAgB,yBAAyB,CAAC,EACxC,UAAU,EACV,WAAW,EACX,IAAI,EACJ,KAAK,EACL,WAAW,EACX,eAAe,EACf,OAAO,EACP,SAAS,GACV,EAAE,6BAA6B;;;EAoF/B"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { SessionPhase } from '../../hooks/useSession';
|
|
2
|
-
import type { UseLinkSessionReturn } from '../../hooks/useLinkSession';
|
|
3
|
-
interface UsePaymentSheetSkipToLinkArgs {
|
|
4
|
-
skipToLink: boolean;
|
|
5
|
-
open: boolean;
|
|
6
|
-
phase: SessionPhase;
|
|
7
|
-
loading: boolean;
|
|
8
|
-
walletUserId: string | null;
|
|
9
|
-
isLinkCheckoutAvailable: boolean;
|
|
10
|
-
linkSession: Pick<UseLinkSessionReturn, 'phase' | 'authStatus' | 'authLoading' | 'startLinkConnect' | 'goToCheckout'>;
|
|
11
|
-
}
|
|
12
|
-
export declare function usePaymentSheetSkipToLink({ skipToLink, open, phase, loading, walletUserId, isLinkCheckoutAvailable, linkSession, }: UsePaymentSheetSkipToLinkArgs): void;
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=usePaymentSheetSkipToLink.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usePaymentSheetSkipToLink.d.ts","sourceRoot":"","sources":["../../../../src/components/payos/usePaymentSheetSkipToLink.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAEvE,UAAU,6BAA6B;IACrC,UAAU,EAAE,OAAO,CAAC;IACpB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,YAAY,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,uBAAuB,EAAE,OAAO,CAAC;IACjC,WAAW,EAAE,IAAI,CACf,oBAAoB,EAClB,OAAO,GACP,YAAY,GACZ,aAAa,GACb,kBAAkB,GAClB,cAAc,CACjB,CAAC;CACH;AAED,wBAAgB,yBAAyB,CAAC,EACxC,UAAU,EACV,IAAI,EACJ,KAAK,EACL,OAAO,EACP,YAAY,EACZ,uBAAuB,EACvB,WAAW,GACZ,EAAE,6BAA6B,QAwC/B"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import type { MultiPaymentIntent, SavedCard } from "../../../types/session";
|
|
3
|
-
/**
|
|
4
|
-
* AgentRegistrationView - Mandatory Biometric Authorization for Agent Mode
|
|
5
|
-
*
|
|
6
|
-
* Apple Human Interface Guidelines inspired design:
|
|
7
|
-
* - Single unified surface (merged context + action)
|
|
8
|
-
* - Hero visual: Digital Twin of the credit card
|
|
9
|
-
* - Dynamic biometric button based on device capabilities
|
|
10
|
-
* - Centered, clean typography
|
|
11
|
-
*
|
|
12
|
-
* Flow:
|
|
13
|
-
* - Mastercard: Clicking button → calls sdk.register()
|
|
14
|
-
* - Visa: Clicking button → triggers Visa step-up views
|
|
15
|
-
* - On Success: Returns to checkout with passkey enrolled
|
|
16
|
-
* - On Failure: Shows error with retry and optional skip
|
|
17
|
-
*/
|
|
18
|
-
export interface AgentRegistrationViewProps {
|
|
19
|
-
/**
|
|
20
|
-
* The selected card to display
|
|
21
|
-
*/
|
|
22
|
-
card: SavedCard;
|
|
23
|
-
/**
|
|
24
|
-
* Card network (determines passkey flow)
|
|
25
|
-
*/
|
|
26
|
-
cardNetwork: 'visa' | 'mastercard';
|
|
27
|
-
/**
|
|
28
|
-
* Handler for creating passkey (Mastercard SDK or Visa step-up trigger)
|
|
29
|
-
*/
|
|
30
|
-
onCreatePasskey: () => void;
|
|
31
|
-
/**
|
|
32
|
-
* Handler for skipping registration (only shown after failure)
|
|
33
|
-
*/
|
|
34
|
-
onSkip?: () => void;
|
|
35
|
-
/**
|
|
36
|
-
* Back handler (return to checkout view)
|
|
37
|
-
*/
|
|
38
|
-
onBack?: () => void;
|
|
39
|
-
/**
|
|
40
|
-
* Whether passkey creation is loading
|
|
41
|
-
*/
|
|
42
|
-
isLoading?: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* Error message to display
|
|
45
|
-
*/
|
|
46
|
-
error?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Whether to show the skip button (typically after failure)
|
|
49
|
-
*/
|
|
50
|
-
showSkip?: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Payment intent for context (optional - for showing amount)
|
|
53
|
-
*/
|
|
54
|
-
paymentIntent?: MultiPaymentIntent;
|
|
55
|
-
/**
|
|
56
|
-
* Merchant name for context
|
|
57
|
-
*/
|
|
58
|
-
merchantName?: string;
|
|
59
|
-
}
|
|
60
|
-
export declare const AgentRegistrationView: React.FC<AgentRegistrationViewProps>;
|
|
61
|
-
//# sourceMappingURL=AgentRegistrationView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AgentRegistrationView.d.ts","sourceRoot":"","sources":["../../../../../src/components/payos/views/AgentRegistrationView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAE5E;;;;;;;;;;;;;;GAcG;AAEH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,IAAI,EAAE,SAAS,CAAC;IAChB;;OAEG;IACH,WAAW,EAAE,MAA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AC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAeD,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,YAAY,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;IACpB;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IAC3D;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC;;;OAGG;IACH,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;IACpB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA4HpD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IdentityView.d.ts","sourceRoot":"","sources":["../../../../../src/components/payos/views/IdentityView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAc,KAAK,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG9D;;;;;;;GAOG;AAEH,UAAU,iBAAiB;IACzB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;OAEG;IACH,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IAC9C;;OAEG;IACH,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA0FpD,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared Link wordmark + glyph SVG — used by LinkConnectView,
|
|
3
|
-
* LinkCheckoutView, etc. Extracted from playground IdentityViewDemo so
|
|
4
|
-
* each view doesn't carry the SVG inline.
|
|
5
|
-
*/
|
|
6
|
-
interface LinkBrandProps {
|
|
7
|
-
className?: string;
|
|
8
|
-
markTone?: 'green' | 'black';
|
|
9
|
-
wordmarkTone?: 'auto' | 'black' | 'white';
|
|
10
|
-
}
|
|
11
|
-
export declare function LinkBrand({ className, markTone, wordmarkTone, }: LinkBrandProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export default LinkBrand;
|
|
13
|
-
//# sourceMappingURL=LinkBrand.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LinkBrand.d.ts","sourceRoot":"","sources":["../../../../../src/components/payos/views/LinkBrand.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,UAAU,cAAc;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;CAC3C;AAED,wBAAgB,SAAS,CAAC,EACxB,SAAkB,EAClB,QAAkB,EAClB,YAAqB,GACtB,EAAE,cAAc,2CAgChB;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* LinkCheckoutView — Link payment-method picker + spend approval state.
|
|
3
|
-
*
|
|
4
|
-
* Layout mirrors playground/src/demos/IdentityViewDemo.tsx (Pay-with-Link):
|
|
5
|
-
* single vertically-centered cluster of title → picker/timer → button so the
|
|
6
|
-
* spacing matches the original mock. Logic for popup management + polling
|
|
7
|
-
* lives in useLinkSession; this view is presentational.
|
|
8
|
-
*/
|
|
9
|
-
import type { SavedCard } from '../../../types/session';
|
|
10
|
-
export type LinkCheckoutSubState = 'idle' | 'creating' | 'awaiting' | 'completing';
|
|
11
|
-
interface LinkCheckoutViewProps {
|
|
12
|
-
methods: SavedCard[];
|
|
13
|
-
selectedMethodId: string | null;
|
|
14
|
-
onSelectMethod: (id: string) => void;
|
|
15
|
-
onContinue: () => void;
|
|
16
|
-
onCancel: () => void;
|
|
17
|
-
continueLabel?: string;
|
|
18
|
-
/** Opens the Link wallet popup at app.link.com/wallet for adding/editing cards. */
|
|
19
|
-
onOpenLinkWallet?: () => void;
|
|
20
|
-
/** Reopens the current spend approval popup if the user missed or closed it. */
|
|
21
|
-
onReopenApproval?: () => void;
|
|
22
|
-
subState: LinkCheckoutSubState;
|
|
23
|
-
approvalExpiresAt?: number | null;
|
|
24
|
-
/** Inline error (e.g. spend/create rejected by Stripe). */
|
|
25
|
-
errorMessage?: string | null;
|
|
26
|
-
/** Called when the user clicks the X to dismiss the error banner. */
|
|
27
|
-
onDismissError?: () => void;
|
|
28
|
-
}
|
|
29
|
-
export declare function LinkCheckoutView({ methods, selectedMethodId, onSelectMethod, onContinue, onCancel, continueLabel, onOpenLinkWallet, onReopenApproval, subState, approvalExpiresAt, errorMessage, onDismissError, }: LinkCheckoutViewProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
export default LinkCheckoutView;
|
|
31
|
-
//# sourceMappingURL=LinkCheckoutView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LinkCheckoutView.d.ts","sourceRoot":"","sources":["../../../../../src/components/payos/views/LinkCheckoutView.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH,OAAO,KAAK,EAAE,SAAS,EAAe,MAAM,wBAAwB,CAAC;AAErE,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,UAAU,GAAG,UAAU,GAAG,YAAY,CAAC;AAEnF,UAAU,qBAAqB;IAC7B,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,cAAc,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mFAAmF;IACnF,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,gFAAgF;IAChF,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,2DAA2D;IAC3D,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,qEAAqE;IACrE,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B;AAoFD,wBAAgB,gBAAgB,CAAC,EAC/B,OAAO,EACP,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,QAAQ,EACR,aAA0B,EAC1B,gBAAgB,EAChB,gBAAgB,EAChB,QAAQ,EACR,iBAAiB,EACjB,YAAY,EACZ,cAAc,GACf,EAAE,qBAAqB,2CA6PvB;AAED,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LinkConnectView.d.ts","sourceRoot":"","sources":["../../../../../src/components/payos/views/LinkConnectView.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAKH,UAAU,oBAAoB;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,eAAe,CAAC,EAC9B,UAAU,EACV,YAAoB,EACpB,QAAQ,EACR,QAAQ,GACT,EAAE,oBAAoB,2CA4FtB;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDeniedView.d.ts","sourceRoot":"","sources":["../../../../../src/components/payos/views/LinkDeniedView.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC;AAElE,UAAU,mBAAmB;IAC3B,MAAM,CAAC,EAAE,gBAAgB,GAAG,MAAM,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAwBD,wBAAgB,cAAc,CAAC,EAC7B,MAAM,EACN,OAAO,EACP,SAAS,GACV,EAAE,mBAAmB,2CAgDrB;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* LinkLoadingView — three-dot pulse shown briefly between device-auth
|
|
3
|
-
* approval and methods load (or any other Link transition that needs a
|
|
4
|
-
* placeholder).
|
|
5
|
-
*/
|
|
6
|
-
interface LinkLoadingViewProps {
|
|
7
|
-
message?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare function LinkLoadingView({ message, }: LinkLoadingViewProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default LinkLoadingView;
|
|
11
|
-
//# sourceMappingURL=LinkLoadingView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LinkLoadingView.d.ts","sourceRoot":"","sources":["../../../../../src/components/payos/views/LinkLoadingView.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,UAAU,oBAAoB;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,eAAe,CAAC,EAC9B,OAAqC,GACtC,EAAE,oBAAoB,2CAWtB;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LinkSuccessView.d.ts","sourceRoot":"","sources":["../../../../../src/components/payos/views/LinkSuccessView.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,UAAU,oBAAoB;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,eAAe,CAAC,EAC9B,OAAiC,GAClC,EAAE,oBAAoB,2CAoEtB;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ManageThirdPartyView — list of payment networks the user has connected
|
|
3
|
-
* to PayOS. Layout ported from playground/src/demos/IdentityViewDemo.tsx
|
|
4
|
-
* `Manage third-party methods` view.
|
|
5
|
-
*/
|
|
6
|
-
interface ManageThirdPartyViewProps {
|
|
7
|
-
expiresAt: string | null;
|
|
8
|
-
/** Called when the user taps Disconnect on the Link row. */
|
|
9
|
-
onDisconnect: () => void;
|
|
10
|
-
/** Returns to the previous view (used as the back affordance). */
|
|
11
|
-
onClose: () => void;
|
|
12
|
-
/** Opens app.link.com/wallet for adding/editing Link cards. */
|
|
13
|
-
onManageLink?: () => void;
|
|
14
|
-
/** Whether the Link account is currently connected. */
|
|
15
|
-
linkConnected?: boolean;
|
|
16
|
-
}
|
|
17
|
-
export declare function ManageThirdPartyView({ onDisconnect, onClose, onManageLink, linkConnected, }: ManageThirdPartyViewProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export default ManageThirdPartyView;
|
|
19
|
-
//# sourceMappingURL=ManageThirdPartyView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ManageThirdPartyView.d.ts","sourceRoot":"","sources":["../../../../../src/components/payos/views/ManageThirdPartyView.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,UAAU,yBAAyB;IACjC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,4DAA4D;IAC5D,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,kEAAkE;IAClE,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,+DAA+D;IAC/D,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,uDAAuD;IACvD,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,YAAY,EACZ,OAAO,EACP,YAAY,EACZ,aAAoB,GACrB,EAAE,yBAAyB,2CAyE3B;AAED,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import type { SavedCard } from "../../../types";
|
|
3
|
-
/**
|
|
4
|
-
* MethodListView - Full card list with radio-style selection
|
|
5
|
-
*
|
|
6
|
-
* **High-Density Design:**
|
|
7
|
-
* - iOS-style navigation header with back button
|
|
8
|
-
* - List of all saved cards using PaymentMethodRow
|
|
9
|
-
* - One-tap selection: clicking immediately returns to CheckoutView
|
|
10
|
-
* - "Add new card" merged INTO list as final row (not floating footer)
|
|
11
|
-
* - Card Stack Architecture pattern
|
|
12
|
-
* - Optional delete functionality with swipe-to-delete gesture
|
|
13
|
-
*
|
|
14
|
-
* Navigation Flow:
|
|
15
|
-
* - Back button → returns to CheckoutView
|
|
16
|
-
* - Selecting a card → immediately returns to CheckoutView
|
|
17
|
-
* - "Add new card" → navigates to AddCardView
|
|
18
|
-
*/
|
|
19
|
-
/** Lightweight representation of a Link-held payment method */
|
|
20
|
-
export interface LinkWalletMethod {
|
|
21
|
-
id: string;
|
|
22
|
-
brand?: string;
|
|
23
|
-
last4?: string;
|
|
24
|
-
expMonth?: number;
|
|
25
|
-
expYear?: number;
|
|
26
|
-
label?: string;
|
|
27
|
-
isDefault?: boolean;
|
|
28
|
-
type?: 'card' | 'bank_account';
|
|
29
|
-
bankName?: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Optional Link payment-source row rendered alongside saved cards.
|
|
33
|
-
* Set when the merchant org has Link enabled AND the wallet user has a LinkConnection.
|
|
34
|
-
*/
|
|
35
|
-
export interface MethodListLinkOption {
|
|
36
|
-
/** Whether the user currently has an active Link connection */
|
|
37
|
-
connected: boolean;
|
|
38
|
-
/** Short subtitle shown when connected without a methods list */
|
|
39
|
-
subtitle?: string;
|
|
40
|
-
/** Fired when the connect CTA (big button) is tapped */
|
|
41
|
-
onSelect: () => void;
|
|
42
|
-
/** Whether the connect CTA is currently selected */
|
|
43
|
-
selected: boolean;
|
|
44
|
-
/** Link-held methods. When present + connected, renders as inline rows with a link badge. */
|
|
45
|
-
methods?: LinkWalletMethod[];
|
|
46
|
-
/** ID of the currently-selected Link method (for row highlight) */
|
|
47
|
-
selectedMethodId?: string | null;
|
|
48
|
-
/** Fired when the user taps a specific Link-held method row */
|
|
49
|
-
onSelectMethod?: (methodId: string) => void;
|
|
50
|
-
/** Fired when the user taps "Sign out of Link" */
|
|
51
|
-
onSignOut?: () => void;
|
|
52
|
-
/**
|
|
53
|
-
* Layout for Link when connected:
|
|
54
|
-
* - "inline" (default): Link cards render as rows alongside saved cards with a badge
|
|
55
|
-
* - "button": always render the big "Pay with Link" CTA regardless of connection state
|
|
56
|
-
*/
|
|
57
|
-
displayMode?: 'inline' | 'button';
|
|
58
|
-
/**
|
|
59
|
-
* Fired when the user taps "Manage third-party methods" row (inline mode only).
|
|
60
|
-
* Implementations should navigate to a dedicated management view with sign-out + reconnect.
|
|
61
|
-
*/
|
|
62
|
-
onManageThirdParty?: () => void;
|
|
63
|
-
}
|
|
64
|
-
interface MethodListViewProps {
|
|
65
|
-
/**
|
|
66
|
-
* List of saved cards
|
|
67
|
-
*/
|
|
68
|
-
cards: SavedCard[];
|
|
69
|
-
/**
|
|
70
|
-
* Currently selected card ID
|
|
71
|
-
*/
|
|
72
|
-
selectedCardId: string | null;
|
|
73
|
-
/**
|
|
74
|
-
* Callback when user selects a card
|
|
75
|
-
* Implementation should:
|
|
76
|
-
* 1. Update selectedCardId
|
|
77
|
-
* 2. Immediately navigate back to CheckoutView (one-tap selection)
|
|
78
|
-
*/
|
|
79
|
-
onSelectCard: (cardId: string) => void;
|
|
80
|
-
/**
|
|
81
|
-
* Callback when user clicks "Add new card"
|
|
82
|
-
* Should navigate to AddCardView
|
|
83
|
-
*/
|
|
84
|
-
onAddNewCard: () => void;
|
|
85
|
-
/**
|
|
86
|
-
* Optional Link row. When present, renders between saved cards and "Add new card".
|
|
87
|
-
* Omit entirely when the merchant or user hasn't enabled Link.
|
|
88
|
-
*/
|
|
89
|
-
linkOption?: MethodListLinkOption;
|
|
90
|
-
/**
|
|
91
|
-
* Callback when back button is clicked
|
|
92
|
-
* Optional — when omitted, the back button is hidden (e.g. setup mode primary view)
|
|
93
|
-
*/
|
|
94
|
-
onBack?: () => void;
|
|
95
|
-
/**
|
|
96
|
-
* Optional callback when user deletes a card
|
|
97
|
-
*/
|
|
98
|
-
onDeleteCard?: (cardId: string) => void;
|
|
99
|
-
/**
|
|
100
|
-
* Display mode: 'checkout' shows blue checkmark selection,
|
|
101
|
-
* 'setup' shows "Default" text badge on default card
|
|
102
|
-
*/
|
|
103
|
-
mode?: 'checkout' | 'setup';
|
|
104
|
-
/**
|
|
105
|
-
* Optional callback when user clicks "Done" (setup mode completion)
|
|
106
|
-
* When provided, renders a "Done" button below the card list
|
|
107
|
-
*/
|
|
108
|
-
onDone?: () => void;
|
|
109
|
-
/**
|
|
110
|
-
* Loading state for the Done button
|
|
111
|
-
*/
|
|
112
|
-
isLoading?: boolean;
|
|
113
|
-
}
|
|
114
|
-
export declare const MethodListView: React.FC<MethodListViewProps>;
|
|
115
|
-
export {};
|
|
116
|
-
//# sourceMappingURL=MethodListView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MethodListView.d.ts","sourceRoot":"","sources":["../../../../../src/components/payos/views/MethodListView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAShD;;;;;;;;;;;;;;;GAeG;AAEH,+DAA+D;AAC/D,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,+DAA+D;IAC/D,SAAS,EAAE,OAAO,CAAC;IACnB,iEAAiE;IACjE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,wDAAwD;IACxD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,oDAAoD;IACpD,QAAQ,EAAE,OAAO,CAAC;IAClB,6FAA6F;IAC7F,OAAO,CAAC,EAAE,gBAAgB,EAAE,CAAC;IA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;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC;;OAEG;IACH,QAAQ,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA4H1C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SuccessView.d.ts","sourceRoot":"","sources":["../../../../../src/components/payos/views/SuccessView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,kBAAkB,EAAqB,gBAAgB,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAiClH,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC;;OAEG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,YAAY,CAAC;IAChC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC;IACpC;;;OAGG;IACH,IAAI,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;IAC5B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B;;OAEG;IACH,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAkHlD,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
/**
|
|
3
|
-
* VisaIframeView - Visa Passkey SDK Iframe Container
|
|
4
|
-
*
|
|
5
|
-
* Features:
|
|
6
|
-
* - Container div for Visa VTS SDK iframe
|
|
7
|
-
* - Shown after OTP validation succeeds
|
|
8
|
-
* - SDK injects iframe into the container via showIframe()
|
|
9
|
-
*
|
|
10
|
-
* Design Pattern: Dedicated view for Visa passkey registration UI
|
|
11
|
-
*/
|
|
12
|
-
export interface VisaIframeViewProps {
|
|
13
|
-
onCancel?: () => void;
|
|
14
|
-
}
|
|
15
|
-
export declare const VisaIframeView: React.FC<VisaIframeViewProps>;
|
|
16
|
-
//# sourceMappingURL=VisaIframeView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VisaIframeView.d.ts","sourceRoot":"","sources":["../../../../../src/components/payos/views/VisaIframeView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B;;;;;;;;;GASG;AAEH,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAkBxD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VisaMethodView.d.ts","sourceRoot":"","sources":["../../../../../src/components/payos/views/VisaMethodView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B;;;;;;;;GAQG;AAGH,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,KAAK,GAAG,OAAO,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,sBAAsB,EAAE,CAAC;IAClC,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAgIxD,CAAC"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export interface VisaOtpViewProps {
|
|
3
|
-
/**
|
|
4
|
-
* Selected method description (e.g., "(***) ***-1234")
|
|
5
|
-
*/
|
|
6
|
-
methodDescription: string;
|
|
7
|
-
/**
|
|
8
|
-
* Current OTP value
|
|
9
|
-
*/
|
|
10
|
-
otp: string;
|
|
11
|
-
/**
|
|
12
|
-
* OTP change handler
|
|
13
|
-
*/
|
|
14
|
-
onOtpChange: (otp: string) => void;
|
|
15
|
-
/**
|
|
16
|
-
* Verify handler
|
|
17
|
-
*/
|
|
18
|
-
onVerify: () => void;
|
|
19
|
-
/**
|
|
20
|
-
* Back handler (return to VisaMethodView)
|
|
21
|
-
*/
|
|
22
|
-
onBack: () => void;
|
|
23
|
-
/**
|
|
24
|
-
* Resend handler
|
|
25
|
-
*/
|
|
26
|
-
onResend?: () => void;
|
|
27
|
-
/**
|
|
28
|
-
* Handler for "verify another way" action (when locked out)
|
|
29
|
-
*/
|
|
30
|
-
onVerifyAnotherWay?: () => void;
|
|
31
|
-
/**
|
|
32
|
-
* Loading state
|
|
33
|
-
*/
|
|
34
|
-
isLoading?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Error message
|
|
37
|
-
*/
|
|
38
|
-
error?: string;
|
|
39
|
-
/**
|
|
40
|
-
* Whether user can retry OTP entry (false = locked out)
|
|
41
|
-
*/
|
|
42
|
-
canRetry?: boolean;
|
|
43
|
-
}
|
|
44
|
-
export declare const VisaOtpView: React.FC<VisaOtpViewProps>;
|
|
45
|
-
//# sourceMappingURL=VisaOtpView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VisaOtpView.d.ts","sourceRoot":"","sources":["../../../../../src/components/payos/views/VisaOtpView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAmB/B,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC;;OAEG;IACH,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA+HlD,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
/**
|
|
3
|
-
* WelcomeBackView - Profile Selection / Known User Identity Confirmation
|
|
4
|
-
*
|
|
5
|
-
* Features:
|
|
6
|
-
* - "Welcome back!" headline for warm greeting
|
|
7
|
-
* - Identity Tile: Compact card showing phone number with verified indicator
|
|
8
|
-
* - User icon in rounded gray container (non-floaty design)
|
|
9
|
-
* - Clean vertical flow: Headline → Tile → Button → Subtext
|
|
10
|
-
* - "Not you?" link for account switching
|
|
11
|
-
*
|
|
12
|
-
* Design Pattern: "Sandwich" layout with subtext below button for better hierarchy
|
|
13
|
-
*/
|
|
14
|
-
interface WelcomeBackViewProps {
|
|
15
|
-
/**
|
|
16
|
-
* Prefilled phone number (formatted)
|
|
17
|
-
*/
|
|
18
|
-
phone: string;
|
|
19
|
-
/**
|
|
20
|
-
* Continue handler (sends SMS code)
|
|
21
|
-
*/
|
|
22
|
-
onContinue: () => void;
|
|
23
|
-
/**
|
|
24
|
-
* Switch account handler (clears prefill, goes to IdentityView)
|
|
25
|
-
*/
|
|
26
|
-
onSwitchAccount: () => void;
|
|
27
|
-
/**
|
|
28
|
-
* Whether continue action is loading
|
|
29
|
-
*/
|
|
30
|
-
isLoading?: boolean;
|
|
31
|
-
}
|
|
32
|
-
export declare const WelcomeBackView: React.FC<WelcomeBackViewProps>;
|
|
33
|
-
export {};
|
|
34
|
-
//# sourceMappingURL=WelcomeBackView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WelcomeBackView.d.ts","sourceRoot":"","sources":["../../../../../src/components/payos/views/WelcomeBackView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B;;;;;;;;;;;GAWG;AAEH,UAAU,oBAAoB;IAC5B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB;;OAEG;IACH,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAsE1D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CardBrandIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/CardBrandIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD,UAAU,kBAAkB;IAC1B,KAAK,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA6DtD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/ConfirmDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B;;;;;;;;;GASG;AAEH,UAAU,kBAAkB;IAC1B,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CAChC;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAyEtD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DigitalCard.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/DigitalCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,gBAAgB;IAC/B,0CAA0C;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mBAAmB;IACnB,OAAO,EAAE,MAAM,GAAG,YAAY,CAAC;IAC/B,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAeD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAoElD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InfoTooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/InfoTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,UAAU,gBAAgB;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA2BlD,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface PinInputProps {
|
|
3
|
-
length: number;
|
|
4
|
-
value: string;
|
|
5
|
-
onChange: (value: string) => void;
|
|
6
|
-
onComplete?: () => void;
|
|
7
|
-
error?: boolean;
|
|
8
|
-
autoFocus?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare const PinInput: React.FC<PinInputProps>;
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=PinInput.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PinInput.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/PinInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAEjD,UAAU,aAAa;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAmF5C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAKlE,QAAA,MAAM,cAAc;;;mFA4BnB,CAAC;AAEF,MAAM,WAAW,WACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EACnD,YAAY,CAAC,OAAO,cAAc,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,QAAA,MAAM,MAAM,uFAuBX,CAAC;AAGF,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,QAAA,MAAM,YAAY;;mFAcjB,CAAC;AAEF,MAAM,WAAW,SACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,YAAY,CAAC,OAAO,YAAY,CAAC;CAAG;AAExC,QAAA,MAAM,IAAI,kFAQT,CAAC;AAGF,QAAA,MAAM,UAAU,6GASd,CAAC;AAGH,QAAA,MAAM,SAAS,uHAYb,CAAC;AAGH,QAAA,MAAM,eAAe,yHASnB,CAAC;AAGH,QAAA,MAAM,WAAW,6GAKf,CAAC;AAGH,QAAA,MAAM,UAAU,6GASd,CAAC;AAGH,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,UACf,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;CAAG;AAExD,QAAA,MAAM,KAAK,qFAeV,CAAC;AAGF,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAQlE,QAAA,MAAM,KAAK,iQAUT,CAAC;AAGH,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/separator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAIhE,QAAA,MAAM,SAAS,6JAoBd,CAAC;AAGF,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -1 +0,0 @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AAE,OAAO,CAAC,CAAC;CACnC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './useCheckoutFlow';
|
|
2
|
-
export * from './useDrawerState';
|
|
3
|
-
export * from './useVisualViewport';
|
|
4
|
-
export * from './useBodyScrollLock';
|
|
5
|
-
export * from './useCardElement';
|
|
6
|
-
export * from './useSession';
|
|
7
|
-
export * from './usePasskeySDK';
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { type LucideIcon } from 'lucide-react';
|
|
2
|
-
export type BiometricType = 'faceId' | 'touchId' | 'windowsHello' | 'generic';
|
|
3
|
-
export interface BiometricInfo {
|
|
4
|
-
/** Button text for the biometric action */
|
|
5
|
-
text: string;
|
|
6
|
-
/** Lucide icon component to display */
|
|
7
|
-
icon: LucideIcon;
|
|
8
|
-
/** Detected biometric type */
|
|
9
|
-
type: BiometricType;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* useBiometricType - Detects device biometric capabilities
|
|
13
|
-
*
|
|
14
|
-
* Returns appropriate button text and icon based on device:
|
|
15
|
-
* - iPhone/iPad → "Enable Face ID" with Smile icon
|
|
16
|
-
* - Mac → "Enable Touch ID" with Fingerprint icon
|
|
17
|
-
* - Windows → "Enable Windows Hello" with User icon
|
|
18
|
-
* - Default → "Enable Secure Access" with Lock icon
|
|
19
|
-
*/
|
|
20
|
-
export declare function useBiometricType(): BiometricInfo;
|
|
21
|
-
//# sourceMappingURL=useBiometricType.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useBiometricType.d.ts","sourceRoot":"","sources":["../../../src/hooks/useBiometricType.ts"],"names":[],"mappings":"AACA,OAAO,EAAkC,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/E,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,SAAS,GAAG,cAAc,GAAG,SAAS,CAAC;AAE9E,MAAM,WAAW,aAAa;IAC5B,2CAA2C;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,uCAAuC;IACvC,IAAI,EAAE,UAAU,CAAC;IACjB,8BAA8B;IAC9B,IAAI,EAAE,aAAa,CAAC;CACrB;AAED;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,IAAI,aAAa,CA2BhD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useBodyScrollLock.d.ts","sourceRoot":"","sources":["../../../src/hooks/useBodyScrollLock.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,OAAO,EACjB,OAAO,GAAE;IAAE,YAAY,CAAC,EAAE,OAAO,CAAA;CAAO,GACvC,IAAI,CAuDN"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCardElement.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCardElement.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,kBAAkB,EAClB,iBAAiB,EACjB,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,EACtB,yBAAyB,EACzB,0BAA0B,EAC3B,MAAM,sBAAsB,CAAC;AAE9B;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,GAAG,YAAY,CAAC;IAEvC;;OAEG;IACH,MAAM,CAAC,EAAE,iBAAiB,CAA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