@payos-inc/payos-react 1.0.42 → 1.2.0-staging.100
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 +18 -12
- 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 +165 -0
- package/dist/types/payos-passkey-js/src/core/sessionFlow.d.ts +48 -0
- package/dist/types/payos-passkey-js/src/core/types.d.ts +183 -0
- package/dist/types/payos-passkey-js/src/index.d.ts +10 -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/types/payos-passkey-js/src/version.d.ts +5 -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 +6 -4
- 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/types/{components → payos-react/src/components}/payos/PaymentSheetStatusViews.d.ts +3 -2
- 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 +2 -1
- package/dist/types/{components → payos-react/src/components}/payos/drawer.d.ts +5 -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 +28 -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/payos-react/src/components/ui/CardArt.d.ts +22 -0
- 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/payos-react/src/components/ui/HelpPopover.d.ts +17 -0
- 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 +14 -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 +14 -3
- 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} +18 -2
- 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/payos-react/src/utils/ensureSelectedCardAttached.d.ts +10 -0
- 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/payos-react/src/utils/organizationName.d.ts +8 -0
- 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 +0 -28
- 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.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,29 +0,0 @@
|
|
|
1
|
-
import type { PaymentView } from '../../types/payment';
|
|
2
|
-
import type { CheckoutSession, PaymentSheetError } from '../../types/session';
|
|
3
|
-
interface UsePaymentSheetDisplayDataArgs {
|
|
4
|
-
session: CheckoutSession | null;
|
|
5
|
-
isSetupMode: boolean;
|
|
6
|
-
paymentView: PaymentView;
|
|
7
|
-
title?: string;
|
|
8
|
-
localError: string | null;
|
|
9
|
-
error: PaymentSheetError | null;
|
|
10
|
-
stripeLinkEnabled?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare function usePaymentSheetDisplayData({ session, isSetupMode, paymentView, title, localError, error, stripeLinkEnabled, }: UsePaymentSheetDisplayDataArgs): {
|
|
13
|
-
orderItems: {
|
|
14
|
-
label: string;
|
|
15
|
-
value: string;
|
|
16
|
-
quantity: number;
|
|
17
|
-
}[] | undefined;
|
|
18
|
-
subtotal: string | undefined;
|
|
19
|
-
tax: string | undefined;
|
|
20
|
-
shipping: string | undefined;
|
|
21
|
-
agentFee: string | undefined;
|
|
22
|
-
totalAmount: string | undefined;
|
|
23
|
-
drawerTitle: string;
|
|
24
|
-
displayError: string | undefined;
|
|
25
|
-
linkCheckoutPayment: import("../../types/session").Payment | null;
|
|
26
|
-
isLinkCheckoutAvailable: boolean;
|
|
27
|
-
};
|
|
28
|
-
export {};
|
|
29
|
-
//# sourceMappingURL=usePaymentSheetDisplayData.d.ts.map
|
|
@@ -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,39 +0,0 @@
|
|
|
1
|
-
import type { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
import type { RegistrationSubPhase, SessionPhase } from '../../hooks/useSession';
|
|
3
|
-
import type { UseLinkSessionReturn } from '../../hooks/useLinkSession';
|
|
4
|
-
import type { PaymentView } from '../../types/payment';
|
|
5
|
-
import type { CheckoutSession, CompletionResult, PaymentSheetError, PaymentSheetResult } from '../../types/session';
|
|
6
|
-
import { type CountryCode } from './phone-input';
|
|
7
|
-
interface UsePaymentSheetLifecycleArgs {
|
|
8
|
-
theme?: 'dark' | 'black' | 'light' | 'auto';
|
|
9
|
-
open: boolean;
|
|
10
|
-
linkSession: UseLinkSessionReturn;
|
|
11
|
-
error: PaymentSheetError | null;
|
|
12
|
-
onError: (error: PaymentSheetError) => void;
|
|
13
|
-
phase: SessionPhase;
|
|
14
|
-
session: CheckoutSession | null;
|
|
15
|
-
completionResult?: CompletionResult | null;
|
|
16
|
-
onSuccess: (result: PaymentSheetResult) => void;
|
|
17
|
-
isAgentMode: boolean;
|
|
18
|
-
isSetupMode: boolean;
|
|
19
|
-
skipCredentialGeneration: boolean;
|
|
20
|
-
phoneNumber: string;
|
|
21
|
-
setPhoneNumber: Dispatch<SetStateAction<string>>;
|
|
22
|
-
selectedCountry: CountryCode;
|
|
23
|
-
resendCooldown: number;
|
|
24
|
-
setResendCooldown: Dispatch<SetStateAction<number>>;
|
|
25
|
-
setRetryCount: Dispatch<SetStateAction<number>>;
|
|
26
|
-
setOTP: Dispatch<SetStateAction<string>>;
|
|
27
|
-
registrationSubPhase: RegistrationSubPhase;
|
|
28
|
-
clearPasskeyError: () => void;
|
|
29
|
-
setLocalError: Dispatch<SetStateAction<string | null>>;
|
|
30
|
-
clearError: () => void;
|
|
31
|
-
paymentView: PaymentView;
|
|
32
|
-
setPhase: (phase: SessionPhase) => void;
|
|
33
|
-
}
|
|
34
|
-
export declare function usePaymentSheetLifecycle({ theme, open, linkSession, error, onError, phase, session, completionResult, onSuccess, isAgentMode, isSetupMode, phoneNumber, setPhoneNumber, selectedCountry, resendCooldown, setResendCooldown, setRetryCount, setOTP, registrationSubPhase, clearPasskeyError, setLocalError, clearError, paymentView, setPhase, }: UsePaymentSheetLifecycleArgs): {
|
|
35
|
-
approvalDeadline: number | null;
|
|
36
|
-
secondsRemaining: number | null;
|
|
37
|
-
};
|
|
38
|
-
export {};
|
|
39
|
-
//# sourceMappingURL=usePaymentSheetLifecycle.d.ts.map
|
|
@@ -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,EAAyB,MAAM,eAAe,CAAC;AAGxE,UAAU,4BAA4B;IACpC,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;IAC5C,IAAI,EAAE,OAAO,CAAC;IACd,WAAW,EAAE,oBAAoB,CAAC;IAClC,KAAK,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAChC,OAAO,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC5C,KAAK,EAAE,YAAY,CAAC;IACpB,OAAO,EAAE,eAAe,GAAG,IAAI,CAAC;IAChC,gBAAgB,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAC3C,SAAS,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAChD,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,wBAAwB,EAAE,OAAO,CAAC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IACjD,eAAe,EAAE,WAAW,CAAC;IAC7B,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IACpD,aAAa,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAChD,MAAM,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IACzC,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,aAAa,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;IACvD,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,WAAW,EAAE,WAAW,CAAC;IACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;CACzC;AAED,wBAAgB,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 +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 +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 +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,MAAM,GAAG,YAAY,CAAC;IACnC;;OAEG;IACH,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAiGtE,CAAC"}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import type { CardElementBinWarningRule, CardElementBinWarningEvent } from "../../../hooks/useCardElement";
|
|
3
|
-
import type { CardData, BillingAddress } from "../../../types";
|
|
4
|
-
import type { CardElementAddress } from "../../../types/cardElement";
|
|
5
|
-
/**
|
|
6
|
-
* CardAddView - Secure Card Entry via PayOS Card Element (secure iframe)
|
|
7
|
-
*
|
|
8
|
-
* **PCI Compliance:**
|
|
9
|
-
* Card data capture is handled exclusively via the CardElement iframe
|
|
10
|
-
* powered by PayOS secure card capture. No manual card input fields.
|
|
11
|
-
*
|
|
12
|
-
* **Flow:**
|
|
13
|
-
* 1. CardElement iframe mounts with linkToken
|
|
14
|
-
* 2. User enters card details in secure iframe
|
|
15
|
-
* 3. On submit, iframe tokenizes card securely
|
|
16
|
-
* 4. onTokenized callback fires with card data (id, brand, last4, artwork, etc.)
|
|
17
|
-
* 5. Parent component receives CardData and BillingAddress
|
|
18
|
-
*
|
|
19
|
-
* **Design:**
|
|
20
|
-
* - iOS-style navigation header (contextual for first-time users)
|
|
21
|
-
* - CardElement iframe fills the card container
|
|
22
|
-
* - Loading and error states
|
|
23
|
-
*/
|
|
24
|
-
interface CardAddViewProps {
|
|
25
|
-
/**
|
|
26
|
-
* Link token for CardElement initialization (REQUIRED for PCI compliance)
|
|
27
|
-
*/
|
|
28
|
-
linkToken: string;
|
|
29
|
-
/**
|
|
30
|
-
* Wallet user ID for card tokenization (REQUIRED after OTP verification)
|
|
31
|
-
* This is passed to the CardElement iframe to associate the card with the user
|
|
32
|
-
*/
|
|
33
|
-
walletUserId?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Callback when user submits new card
|
|
36
|
-
* Called with tokenized card data from secure iframe
|
|
37
|
-
*/
|
|
38
|
-
onSubmit: (cardData: CardData, billingAddress: BillingAddress) => void;
|
|
39
|
-
/**
|
|
40
|
-
* Back button handler (optional - hidden when isFirstCard is true)
|
|
41
|
-
*/
|
|
42
|
-
onBack?: () => void;
|
|
43
|
-
/**
|
|
44
|
-
* Loading state (external, e.g., from parent during card save)
|
|
45
|
-
*/
|
|
46
|
-
isLoading?: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Error message (external, from parent)
|
|
49
|
-
*/
|
|
50
|
-
error?: string;
|
|
51
|
-
/**
|
|
52
|
-
* Whether this is the first card being added (user has no saved cards)
|
|
53
|
-
* When true:
|
|
54
|
-
* - Hides back button
|
|
55
|
-
* - Changes title from "Add Card" to "Secure Checkout"
|
|
56
|
-
*/
|
|
57
|
-
isFirstCard?: boolean;
|
|
58
|
-
/**
|
|
59
|
-
* Target environment for CardElement
|
|
60
|
-
*/
|
|
61
|
-
environment?: "sandbox" | "production";
|
|
62
|
-
/**
|
|
63
|
-
* Custom base URL for CardElement iframe UI (where iframe HTML is loaded from)
|
|
64
|
-
*/
|
|
65
|
-
customBaseUrl?: string;
|
|
66
|
-
/**
|
|
67
|
-
* Backend API URL for CardElement iframe (for local dev - iframe on Azure can't reach localhost)
|
|
68
|
-
* This is passed to the iframe via customParams so it knows where to make API calls
|
|
69
|
-
*/
|
|
70
|
-
devApiUrl?: string;
|
|
71
|
-
/**
|
|
72
|
-
* Optional "Pay with Link" CTA shown above the card iframe. When omitted,
|
|
73
|
-
* the Link button is hidden — useful when the merchant org hasn't enabled
|
|
74
|
-
* Link or the user already has a Link connection.
|
|
75
|
-
*/
|
|
76
|
-
onPayWithLink?: () => void;
|
|
77
|
-
/**
|
|
78
|
-
* Shipping address for "Same as shipping" feature
|
|
79
|
-
* When provided, shows a checkbox to use shipping address as billing
|
|
80
|
-
*/
|
|
81
|
-
shippingAddress?: CardElementAddress;
|
|
82
|
-
/**
|
|
83
|
-
* Valid card brands to accept (e.g., ['visa', 'mastercard'])
|
|
84
|
-
* When provided, only these brands will be accepted by secure field validation
|
|
85
|
-
* When null/undefined, all brands are accepted
|
|
86
|
-
*/
|
|
87
|
-
validCardBrands?: string[];
|
|
88
|
-
/**
|
|
89
|
-
* BIN/IIN values that should emit a warning when secure field BIN metadata is available.
|
|
90
|
-
* The card remains usable; merchants decide how to present or act on the warning.
|
|
91
|
-
*/
|
|
92
|
-
binsWarning?: CardElementBinWarningRule[];
|
|
93
|
-
onBinWarning?: (event: CardElementBinWarningEvent | null) => void;
|
|
94
|
-
/** Theme preset for the CardElement iframe. See PaymentSheet `theme` prop. */
|
|
95
|
-
theme?: 'dark' | 'black' | 'light' | 'auto';
|
|
96
|
-
/** Extra styles merged on top of the theme preset. */
|
|
97
|
-
cardElementStyles?: Record<string, any>;
|
|
98
|
-
}
|
|
99
|
-
export declare const CardAddView: React.FC<CardAddViewProps>;
|
|
100
|
-
export {};
|
|
101
|
-
//# sourceMappingURL=CardAddView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CardAddView.d.ts","sourceRoot":"","sources":["../../../../src/components/payos/views/CardAddView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EAEV,yBAAyB,EACzB,0BAA0B,EAC3B,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAErE;;;;;;;;;;;;;;;;;;GAkBG;AAEH,UAAU,gBAAgB;IACxB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,QAAQ,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,cAAc,EAAE,cAAc,KAAK,IAAI,CAAC;IAEvE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IAEpB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;;OAKG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,GAAG,YAAY,CAAC;IAEvC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAE3B;;;OAGG;IACH,eAAe,CAAC,EAAE,kBAAkB,CAAC;IAErC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAE3B;;;OAGG;IACH,WAAW,CAAC,EAAE,yBAAyB,EAAE,CAAC;IAC1C,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,0BAA0B,GAAG,IAAI,KAAK,IAAI,CAAC;IAElE,8EAA8E;IAC9E,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;IAE5C,sDAAsD;IACtD,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA2QlD,CAAC"}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import type { SavedCard } from "../../../types";
|
|
3
|
-
import type { MultiPaymentIntent } from "../../../types/session";
|
|
4
|
-
/**
|
|
5
|
-
* CheckoutView - Root payment view with payment method + submit
|
|
6
|
-
*
|
|
7
|
-
* This is the main checkout screen in the Card Stack Architecture.
|
|
8
|
-
* Features:
|
|
9
|
-
* - ActiveCardWidget (card display + CVC entry in unified component)
|
|
10
|
-
* - Pay button (disabled until CVC is valid)
|
|
11
|
-
* - Trust footer with PayOS branding
|
|
12
|
-
* - Order summary now accessible via Smart Header (receipt toggle)
|
|
13
|
-
*
|
|
14
|
-
* Navigation:
|
|
15
|
-
* - No back button (this is the root view)
|
|
16
|
-
* - "Change" button in ActiveCardWidget → navigates to MethodListView
|
|
17
|
-
*
|
|
18
|
-
* Design System:
|
|
19
|
-
* - Cards on Gray canvas
|
|
20
|
-
* - Section labels with proper hierarchy
|
|
21
|
-
* - Tactile physics on buttons
|
|
22
|
-
*/
|
|
23
|
-
export interface OrderItem {
|
|
24
|
-
label: string;
|
|
25
|
-
value: string | number;
|
|
26
|
-
description?: string;
|
|
27
|
-
}
|
|
28
|
-
export interface CheckoutViewProps {
|
|
29
|
-
/**
|
|
30
|
-
* Selected payment card
|
|
31
|
-
*/
|
|
32
|
-
selectedCard: SavedCard;
|
|
33
|
-
/**
|
|
34
|
-
* All saved cards (used to render the inline picker list below the hero)
|
|
35
|
-
*/
|
|
36
|
-
cards?: SavedCard[];
|
|
37
|
-
/**
|
|
38
|
-
* Handler when user taps a non-selected card in the inline list
|
|
39
|
-
*/
|
|
40
|
-
onSelectCard?: (cardId: string) => void;
|
|
41
|
-
/**
|
|
42
|
-
* Handler when user clicks "Add new card" in the inline list
|
|
43
|
-
*/
|
|
44
|
-
onAddNewCard?: () => void;
|
|
45
|
-
/**
|
|
46
|
-
* Optional handler to delete a card from the inline list
|
|
47
|
-
*/
|
|
48
|
-
onDeleteCard?: (cardId: string) => Promise<unknown> | void;
|
|
49
|
-
/**
|
|
50
|
-
* Optional handler for the mobile "Change payment method" button — navigates to MethodListView
|
|
51
|
-
*/
|
|
52
|
-
onChangeCard?: () => void;
|
|
53
|
-
/**
|
|
54
|
-
* Current CVC value
|
|
55
|
-
*/
|
|
56
|
-
cvc: string;
|
|
57
|
-
/**
|
|
58
|
-
* CVC change handler
|
|
59
|
-
*/
|
|
60
|
-
onCvcChange: (cvc: string) => void;
|
|
61
|
-
/**
|
|
62
|
-
* Payment intent with all order/payment details
|
|
63
|
-
* Preferred over individual props for full session integration
|
|
64
|
-
*/
|
|
65
|
-
paymentIntent?: MultiPaymentIntent;
|
|
66
|
-
/**
|
|
67
|
-
* Total amount to display (formatted, e.g., "$185.50")
|
|
68
|
-
* @deprecated Use paymentIntent instead - this is kept for backward compatibility
|
|
69
|
-
*/
|
|
70
|
-
total?: string;
|
|
71
|
-
/**
|
|
72
|
-
* Optional order line items
|
|
73
|
-
* @deprecated Use paymentIntent.payments instead
|
|
74
|
-
*/
|
|
75
|
-
items?: OrderItem[];
|
|
76
|
-
/**
|
|
77
|
-
* Whether this is an agent purchase
|
|
78
|
-
* @deprecated Use paymentIntent.type instead - derived automatically
|
|
79
|
-
*/
|
|
80
|
-
isAgentMode?: boolean;
|
|
81
|
-
/**
|
|
82
|
-
* Payment submission handler
|
|
83
|
-
*/
|
|
84
|
-
onSubmit: () => void;
|
|
85
|
-
/**
|
|
86
|
-
* Loading state during payment processing
|
|
87
|
-
*/
|
|
88
|
-
isLoading?: boolean;
|
|
89
|
-
/**
|
|
90
|
-
* Error message
|
|
91
|
-
*/
|
|
92
|
-
error?: string;
|
|
93
|
-
}
|
|
94
|
-
export declare const CheckoutView: React.FC<CheckoutViewProps>;
|
|
95
|
-
//# sourceMappingURL=CheckoutView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CheckoutView.d.ts","sourceRoot":"","sources":["../../../../src/components/payos/views/CheckoutView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,kBAAkB,EAAqB,MAAM,wBAAwB,CAAC;AAEpF;;;;;;;;;;;;;;;;;;GAkBG;AAEH,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;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,51 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { type CountryCode } from "../phone-input";
|
|
3
|
-
/**
|
|
4
|
-
* IdentityView - Phone entry screen for authentication
|
|
5
|
-
*
|
|
6
|
-
* State 1 of checkout flow:
|
|
7
|
-
* - Minimal header with context
|
|
8
|
-
* - Phone input (Engineered component)
|
|
9
|
-
* - Submit button attached below
|
|
10
|
-
*/
|
|
11
|
-
interface IdentityViewProps {
|
|
12
|
-
/**
|
|
13
|
-
* Phone number value
|
|
14
|
-
*/
|
|
15
|
-
phone: string;
|
|
16
|
-
/**
|
|
17
|
-
* Phone change handler
|
|
18
|
-
*/
|
|
19
|
-
onPhoneChange: (phone: string) => void;
|
|
20
|
-
/**
|
|
21
|
-
* Selected country code
|
|
22
|
-
*/
|
|
23
|
-
countryCode?: CountryCode;
|
|
24
|
-
/**
|
|
25
|
-
* Country change handler
|
|
26
|
-
*/
|
|
27
|
-
onCountryChange?: (code: CountryCode) => void;
|
|
28
|
-
/**
|
|
29
|
-
* Submit handler
|
|
30
|
-
*/
|
|
31
|
-
onSubmit: () => void;
|
|
32
|
-
/**
|
|
33
|
-
* Whether submission is loading
|
|
34
|
-
*/
|
|
35
|
-
isLoading?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Validation error message
|
|
38
|
-
*/
|
|
39
|
-
error?: string;
|
|
40
|
-
/**
|
|
41
|
-
* Override heading text (e.g., "Add a card" for setup mode)
|
|
42
|
-
*/
|
|
43
|
-
title?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Override subtitle text
|
|
46
|
-
*/
|
|
47
|
-
subtitle?: string;
|
|
48
|
-
}
|
|
49
|
-
export declare const IdentityView: React.FC<IdentityViewProps>;
|
|
50
|
-
export {};
|
|
51
|
-
//# sourceMappingURL=IdentityView.d.ts.map
|
|
@@ -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 +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 +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,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* LinkConnectView — shown while the device-auth popup is open. Mirrors the
|
|
3
|
-
* passphrase Stripe is showing in the popup so the user has an anti-phishing
|
|
4
|
-
* check.
|
|
5
|
-
*
|
|
6
|
-
* Ported from packages/payos-react/playground/src/demos/IdentityViewDemo.tsx
|
|
7
|
-
* (function LinkConnectView). Popup management is now in useLinkSession;
|
|
8
|
-
* this view only renders.
|
|
9
|
-
*/
|
|
10
|
-
interface LinkConnectViewProps {
|
|
11
|
-
passphrase: string;
|
|
12
|
-
popupBlocked?: boolean;
|
|
13
|
-
onReopen: () => void;
|
|
14
|
-
onCancel: () => void;
|
|
15
|
-
}
|
|
16
|
-
export declare function LinkConnectView({ passphrase, popupBlocked, onReopen, onCancel, }: LinkConnectViewProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export default LinkConnectView;
|
|
18
|
-
//# sourceMappingURL=LinkConnectView.d.ts.map
|
|
@@ -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,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* LinkDeniedView — terminal failure state for connect or spend approval.
|
|
3
|
-
* Layout matches playground/src/demos/IdentityViewDemo.tsx LinkDeniedView.
|
|
4
|
-
*/
|
|
5
|
-
export type LinkDeniedReason = 'denied' | 'expired' | 'cancelled';
|
|
6
|
-
interface LinkDeniedViewProps {
|
|
7
|
-
reason?: LinkDeniedReason | string;
|
|
8
|
-
onRetry?: () => void;
|
|
9
|
-
onDismiss?: () => void;
|
|
10
|
-
}
|
|
11
|
-
export declare function LinkDeniedView({ reason, onRetry, onDismiss, }: LinkDeniedViewProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export default LinkDeniedView;
|
|
13
|
-
//# sourceMappingURL=LinkDeniedView.d.ts.map
|
|
@@ -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 +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,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* LinkSuccessView — terminal success after spend approval + credential
|
|
3
|
-
* generation. PaymentSheet usually transitions to its own SUCCESS phase
|
|
4
|
-
* shortly after; this view exists as a brief confirmation.
|
|
5
|
-
*/
|
|
6
|
-
interface LinkSuccessViewProps {
|
|
7
|
-
message?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare function LinkSuccessView({ message, }: LinkSuccessViewProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default LinkSuccessView;
|
|
11
|
-
//# sourceMappingURL=LinkSuccessView.d.ts.map
|
|
@@ -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 +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 +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;IAC7B,mEAAmE;IACnE,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,+DAA+D;IAC/D,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,kDAAkD;IAClD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB;;;;OAIG;IACH,WAAW,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAClC;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;CACjC;AAED,UAAU,mBAAmB;IAC3B;;OAEG;IACH,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB;;OAEG;IACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;;OAKG;IACH,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC;;;OAGG;IACH,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB;;;OAGG;IACH,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAClC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC;;;OAGG;IACH,IAAI,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;IAC5B;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAiBD,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAiTxD,CAAC"}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
/**
|
|
3
|
-
* OTPView - High-Speed Verification Code Entry
|
|
4
|
-
*
|
|
5
|
-
* **Compact, High-Density Design:**
|
|
6
|
-
* - No decorative icons (pure utility)
|
|
7
|
-
* - Tight typography with precise spacing
|
|
8
|
-
* - Sharp rounded-md inputs with black focus rings
|
|
9
|
-
* - Clear vertical flow: Headline → Subtext → Inputs → Button → Resend (ALL inside card)
|
|
10
|
-
*
|
|
11
|
-
* State 2 of checkout flow:
|
|
12
|
-
* - Shows formatted phone number with edit link
|
|
13
|
-
* - 6-digit OTP grid (engineered/crisp look)
|
|
14
|
-
* - Verify button with mt-8 spacing
|
|
15
|
-
* - Resend moved INSIDE card (mt-4 below button) for compact layout
|
|
16
|
-
*/
|
|
17
|
-
interface OTPViewProps {
|
|
18
|
-
/**
|
|
19
|
-
* Phone number (masked, e.g., "(555) 123-****")
|
|
20
|
-
*/
|
|
21
|
-
phoneNumber: string;
|
|
22
|
-
/**
|
|
23
|
-
* OTP value
|
|
24
|
-
*/
|
|
25
|
-
otp: string;
|
|
26
|
-
/**
|
|
27
|
-
* OTP change handler
|
|
28
|
-
*/
|
|
29
|
-
onOtpChange: (otp: string) => void;
|
|
30
|
-
/**
|
|
31
|
-
* Submit handler (receives code directly for auto-submit)
|
|
32
|
-
*/
|
|
33
|
-
onSubmit: (code?: string) => void;
|
|
34
|
-
/**
|
|
35
|
-
* Edit phone number handler
|
|
36
|
-
*/
|
|
37
|
-
onEdit?: () => void;
|
|
38
|
-
/**
|
|
39
|
-
* Resend code handler
|
|
40
|
-
*/
|
|
41
|
-
onResend?: () => void;
|
|
42
|
-
/**
|
|
43
|
-
* Whether submission is loading
|
|
44
|
-
*/
|
|
45
|
-
isLoading?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Whether resend is loading
|
|
48
|
-
*/
|
|
49
|
-
isResending?: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* Validation error message
|
|
52
|
-
*/
|
|
53
|
-
error?: string;
|
|
54
|
-
/**
|
|
55
|
-
* Seconds remaining until resend is allowed (0 = can resend)
|
|
56
|
-
*/
|
|
57
|
-
resendCooldown?: number;
|
|
58
|
-
/**
|
|
59
|
-
* Number of failed OTP attempts
|
|
60
|
-
*/
|
|
61
|
-
retryCount?: number;
|
|
62
|
-
/**
|
|
63
|
-
* Maximum allowed retry attempts (default: 3)
|
|
64
|
-
*/
|
|
65
|
-
maxRetries?: number;
|
|
66
|
-
}
|
|
67
|
-
export declare const OTPView: React.FC<OTPViewProps>;
|
|
68
|
-
export {};
|
|
69
|
-
//# sourceMappingURL=OTPView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OTPView.d.ts","sourceRoot":"","sources":["../../../../src/components/payos/views/OTPView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B;;;;;;;;;;;;;;GAcG;AAEH,UAAU,YAAY;IACpB;;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,49 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import type { MultiPaymentIntent, CompletionResult, WalletUser } from "../../../types/session";
|
|
3
|
-
export interface SuccessViewProps {
|
|
4
|
-
/**
|
|
5
|
-
* Payment intent - used to derive success type and mode
|
|
6
|
-
* Preferred over individual props for full session integration
|
|
7
|
-
*/
|
|
8
|
-
paymentIntent?: MultiPaymentIntent;
|
|
9
|
-
/**
|
|
10
|
-
* Completion result from payment
|
|
11
|
-
*/
|
|
12
|
-
completionResult?: CompletionResult;
|
|
13
|
-
/**
|
|
14
|
-
* Wallet user for personalization
|
|
15
|
-
*/
|
|
16
|
-
walletUser?: WalletUser;
|
|
17
|
-
/**
|
|
18
|
-
* Success message type
|
|
19
|
-
* @deprecated Use paymentIntent instead - type is derived automatically
|
|
20
|
-
*/
|
|
21
|
-
type?: 'payment' | 'card-added';
|
|
22
|
-
/**
|
|
23
|
-
* Card network (determines passkey flow)
|
|
24
|
-
*/
|
|
25
|
-
cardNetwork?: 'visa' | 'mastercard';
|
|
26
|
-
/**
|
|
27
|
-
* Checkout mode - affects messaging and passkey upsell display
|
|
28
|
-
* @deprecated Use paymentIntent.type instead - mode is derived automatically
|
|
29
|
-
*/
|
|
30
|
-
mode?: 'standard' | 'agent';
|
|
31
|
-
/**
|
|
32
|
-
* Handler for creating passkey (Mastercard SDK or Visa step-up trigger)
|
|
33
|
-
*/
|
|
34
|
-
onCreatePasskey?: () => void;
|
|
35
|
-
/**
|
|
36
|
-
* Handler for dismissing upsell
|
|
37
|
-
*/
|
|
38
|
-
onDismiss: () => void;
|
|
39
|
-
/**
|
|
40
|
-
* Whether passkey creation is loading (Mastercard SDK call)
|
|
41
|
-
*/
|
|
42
|
-
isLoading?: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* Whether user already has passkey enrolled
|
|
45
|
-
*/
|
|
46
|
-
passkeyEnrolled?: boolean;
|
|
47
|
-
}
|
|
48
|
-
export declare const SuccessView: React.FC<SuccessViewProps>;
|
|
49
|
-
//# sourceMappingURL=SuccessView.d.ts.map
|
|
@@ -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 +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,23 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
/**
|
|
3
|
-
* VisaMethodView - Visa Passkey Step-Up Method Selection
|
|
4
|
-
*
|
|
5
|
-
* Redesigned for trust & clarity:
|
|
6
|
-
* - Visa logo header (centered)
|
|
7
|
-
* - Conversational copy: "Let's make sure it's you"
|
|
8
|
-
* - Radio button selection (not clickable cards)
|
|
9
|
-
* - Confirm button to proceed
|
|
10
|
-
*/
|
|
11
|
-
export interface VisaVerificationMethod {
|
|
12
|
-
id: string;
|
|
13
|
-
type: 'sms' | 'email';
|
|
14
|
-
maskedValue: string;
|
|
15
|
-
}
|
|
16
|
-
export interface VisaMethodViewProps {
|
|
17
|
-
methods: VisaVerificationMethod[];
|
|
18
|
-
onSelectMethod: (methodId: string) => void;
|
|
19
|
-
onBack?: () => void;
|
|
20
|
-
isLoading?: boolean;
|
|
21
|
-
}
|
|
22
|
-
export declare const VisaMethodView: React.FC<VisaMethodViewProps>;
|
|
23
|
-
//# sourceMappingURL=VisaMethodView.d.ts.map
|
|
@@ -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 +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 +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,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { CardBrand } from '../../types/payment';
|
|
3
|
-
interface CardBrandIconProps {
|
|
4
|
-
brand: CardBrand;
|
|
5
|
-
size?: 'sm' | 'md';
|
|
6
|
-
className?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const CardBrandIcon: React.FC<CardBrandIconProps>;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=CardBrandIcon.d.ts.map
|
|
@@ -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"}
|