@spare-technologies/spare-link 0.1.0-beta.0
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/CHANGELOG.md +66 -0
- package/LICENSE +21 -0
- package/README.md +173 -0
- package/assets/fonts/MetroSans-Bold.otf +0 -0
- package/assets/fonts/MetroSans-Light.otf +0 -0
- package/assets/fonts/MetroSans-Medium.otf +0 -0
- package/assets/fonts/MetroSans-Regular.otf +0 -0
- package/assets/fonts/MetroSans-SemiBold.otf +0 -0
- package/assets/images/altareq_logo_mini.png +0 -0
- package/assets/images/altareq_logo_transparent_bg.png +0 -0
- package/assets/images/altareq_logo_white_bg.png +0 -0
- package/assets/images/spare_logo.png +0 -0
- package/lib/commonjs/core/client/link-api-client.js +297 -0
- package/lib/commonjs/core/client/link-api-client.js.map +1 -0
- package/lib/commonjs/core/errors/payment-api-error.js +35 -0
- package/lib/commonjs/core/errors/payment-api-error.js.map +1 -0
- package/lib/commonjs/core/models/index.js +2 -0
- package/lib/commonjs/core/models/index.js.map +1 -0
- package/lib/commonjs/core/models/link-session-status.js +14 -0
- package/lib/commonjs/core/models/link-session-status.js.map +1 -0
- package/lib/commonjs/core/models/payment-return-params.js +42 -0
- package/lib/commonjs/core/models/payment-return-params.js.map +1 -0
- package/lib/commonjs/core/models/payment-type.js +45 -0
- package/lib/commonjs/core/models/payment-type.js.map +1 -0
- package/lib/commonjs/core/models/wire-mappers.js +277 -0
- package/lib/commonjs/core/models/wire-mappers.js.map +1 -0
- package/lib/commonjs/core/services/consent-presenter.js +150 -0
- package/lib/commonjs/core/services/consent-presenter.js.map +1 -0
- package/lib/commonjs/core/services/execute-resume-if-needed.js +216 -0
- package/lib/commonjs/core/services/execute-resume-if-needed.js.map +1 -0
- package/lib/commonjs/core/services/multi-payment-rules-presenter.js +151 -0
- package/lib/commonjs/core/services/multi-payment-rules-presenter.js.map +1 -0
- package/lib/commonjs/core/services/payment-flow-controller.js +547 -0
- package/lib/commonjs/core/services/payment-flow-controller.js.map +1 -0
- package/lib/commonjs/core/services/payment-flow-state.js +110 -0
- package/lib/commonjs/core/services/payment-flow-state.js.map +1 -0
- package/lib/commonjs/core/services/payment-result-mapper.js +49 -0
- package/lib/commonjs/core/services/payment-result-mapper.js.map +1 -0
- package/lib/commonjs/core/services/pending-session-store.js +6 -0
- package/lib/commonjs/core/services/pending-session-store.js.map +1 -0
- package/lib/commonjs/core/services/presentation-utils.js +11 -0
- package/lib/commonjs/core/services/presentation-utils.js.map +1 -0
- package/lib/commonjs/core/services/redirect-buffer.js +40 -0
- package/lib/commonjs/core/services/redirect-buffer.js.map +1 -0
- package/lib/commonjs/core/services/user-friendly-messages.js +46 -0
- package/lib/commonjs/core/services/user-friendly-messages.js.map +1 -0
- package/lib/commonjs/index.js +294 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/internal/bank-redirect.js +53 -0
- package/lib/commonjs/internal/bank-redirect.js.map +1 -0
- package/lib/commonjs/internal/deep-link-listener.js +39 -0
- package/lib/commonjs/internal/deep-link-listener.js.map +1 -0
- package/lib/commonjs/internal/event-emitter.js +36 -0
- package/lib/commonjs/internal/event-emitter.js.map +1 -0
- package/lib/commonjs/internal/index.js +34 -0
- package/lib/commonjs/internal/index.js.map +1 -0
- package/lib/commonjs/internal/logger.js +67 -0
- package/lib/commonjs/internal/logger.js.map +1 -0
- package/lib/commonjs/internal/redact-uri.js +25 -0
- package/lib/commonjs/internal/redact-uri.js.map +1 -0
- package/lib/commonjs/internal/secure-store-pending-session-store.js +92 -0
- package/lib/commonjs/internal/secure-store-pending-session-store.js.map +1 -0
- package/lib/commonjs/internal/telemetry-collector.js +80 -0
- package/lib/commonjs/internal/telemetry-collector.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/public/constants.js +21 -0
- package/lib/commonjs/public/constants.js.map +1 -0
- package/lib/commonjs/public/index.js +152 -0
- package/lib/commonjs/public/index.js.map +1 -0
- package/lib/commonjs/public/payment-result.js +48 -0
- package/lib/commonjs/public/payment-result.js.map +1 -0
- package/lib/commonjs/public/recovery-result.js +40 -0
- package/lib/commonjs/public/recovery-result.js.map +1 -0
- package/lib/commonjs/public/spare-link-callbacks.js +6 -0
- package/lib/commonjs/public/spare-link-callbacks.js.map +1 -0
- package/lib/commonjs/public/spare-link-config.js +62 -0
- package/lib/commonjs/public/spare-link-config.js.map +1 -0
- package/lib/commonjs/public/spare-link-event.js +120 -0
- package/lib/commonjs/public/spare-link-event.js.map +1 -0
- package/lib/commonjs/public/spare-link-host-api.js +6 -0
- package/lib/commonjs/public/spare-link-host-api.js.map +1 -0
- package/lib/commonjs/public/spare-link-instance.js +285 -0
- package/lib/commonjs/public/spare-link-instance.js.map +1 -0
- package/lib/commonjs/public/spare-link-session.js +26 -0
- package/lib/commonjs/public/spare-link-session.js.map +1 -0
- package/lib/commonjs/public/spare-link.js +31 -0
- package/lib/commonjs/public/spare-link.js.map +1 -0
- package/lib/commonjs/ui/consent/charge-bearer-display.js +99 -0
- package/lib/commonjs/ui/consent/charge-bearer-display.js.map +1 -0
- package/lib/commonjs/ui/consent/consent-accordion.js +94 -0
- package/lib/commonjs/ui/consent/consent-accordion.js.map +1 -0
- package/lib/commonjs/ui/consent/consent-summary-section.js +27 -0
- package/lib/commonjs/ui/consent/consent-summary-section.js.map +1 -0
- package/lib/commonjs/ui/consent/cop-information.js +168 -0
- package/lib/commonjs/ui/consent/cop-information.js.map +1 -0
- package/lib/commonjs/ui/consent/international-payment-summary.js +98 -0
- package/lib/commonjs/ui/consent/international-payment-summary.js.map +1 -0
- package/lib/commonjs/ui/consent/label-value-rows.js +59 -0
- package/lib/commonjs/ui/consent/label-value-rows.js.map +1 -0
- package/lib/commonjs/ui/consent/multi-payment-rules-list.js +130 -0
- package/lib/commonjs/ui/consent/multi-payment-rules-list.js.map +1 -0
- package/lib/commonjs/ui/consent/multi-payment-summary.js +99 -0
- package/lib/commonjs/ui/consent/multi-payment-summary.js.map +1 -0
- package/lib/commonjs/ui/consent/single-payment-summary.js +158 -0
- package/lib/commonjs/ui/consent/single-payment-summary.js.map +1 -0
- package/lib/commonjs/ui/consent/terms-link.js +35 -0
- package/lib/commonjs/ui/consent/terms-link.js.map +1 -0
- package/lib/commonjs/ui/hooks/use-payment-flow-state.js +16 -0
- package/lib/commonjs/ui/hooks/use-payment-flow-state.js.map +1 -0
- package/lib/commonjs/ui/payment-flow-page.js +235 -0
- package/lib/commonjs/ui/payment-flow-page.js.map +1 -0
- package/lib/commonjs/ui/screens/bank-selection-screen.js +215 -0
- package/lib/commonjs/ui/screens/bank-selection-screen.js.map +1 -0
- package/lib/commonjs/ui/screens/consent-details-screen.js +124 -0
- package/lib/commonjs/ui/screens/consent-details-screen.js.map +1 -0
- package/lib/commonjs/ui/screens/index.js +48 -0
- package/lib/commonjs/ui/screens/index.js.map +1 -0
- package/lib/commonjs/ui/screens/mandate-setup-success-screen.js +79 -0
- package/lib/commonjs/ui/screens/mandate-setup-success-screen.js.map +1 -0
- package/lib/commonjs/ui/screens/redirect-handoff-screen.js +42 -0
- package/lib/commonjs/ui/screens/redirect-handoff-screen.js.map +1 -0
- package/lib/commonjs/ui/screens/result-screen.js +83 -0
- package/lib/commonjs/ui/screens/result-screen.js.map +1 -0
- package/lib/commonjs/ui/screens/resume-processing-screen.js +109 -0
- package/lib/commonjs/ui/screens/resume-processing-screen.js.map +1 -0
- package/lib/commonjs/ui/spare-link-host.js +354 -0
- package/lib/commonjs/ui/spare-link-host.js.map +1 -0
- package/lib/commonjs/ui/theme/assets.js +20 -0
- package/lib/commonjs/ui/theme/assets.js.map +1 -0
- package/lib/commonjs/ui/theme/colors.js +36 -0
- package/lib/commonjs/ui/theme/colors.js.map +1 -0
- package/lib/commonjs/ui/theme/fonts.js +29 -0
- package/lib/commonjs/ui/theme/fonts.js.map +1 -0
- package/lib/commonjs/ui/theme/index.js +53 -0
- package/lib/commonjs/ui/theme/index.js.map +1 -0
- package/lib/commonjs/ui/theme/typography.js +76 -0
- package/lib/commonjs/ui/theme/typography.js.map +1 -0
- package/lib/commonjs/ui/widgets/footer.js +144 -0
- package/lib/commonjs/ui/widgets/footer.js.map +1 -0
- package/lib/commonjs/ui/widgets/gradient-spinner.js +172 -0
- package/lib/commonjs/ui/widgets/gradient-spinner.js.map +1 -0
- package/lib/commonjs/ui/widgets/handoff-screen-layout.js +77 -0
- package/lib/commonjs/ui/widgets/handoff-screen-layout.js.map +1 -0
- package/lib/commonjs/ui/widgets/index.js +41 -0
- package/lib/commonjs/ui/widgets/index.js.map +1 -0
- package/lib/commonjs/ui/widgets/layout-w-header.js +106 -0
- package/lib/commonjs/ui/widgets/layout-w-header.js.map +1 -0
- package/lib/commonjs/ui/widgets/modal-dismiss-button.js +47 -0
- package/lib/commonjs/ui/widgets/modal-dismiss-button.js.map +1 -0
- package/lib/commonjs/ui/widgets/stepper.js +124 -0
- package/lib/commonjs/ui/widgets/stepper.js.map +1 -0
- package/lib/commonjs/version.js +14 -0
- package/lib/commonjs/version.js.map +1 -0
- package/lib/module/core/client/link-api-client.js +292 -0
- package/lib/module/core/client/link-api-client.js.map +1 -0
- package/lib/module/core/errors/payment-api-error.js +29 -0
- package/lib/module/core/errors/payment-api-error.js.map +1 -0
- package/lib/module/core/models/index.js +2 -0
- package/lib/module/core/models/index.js.map +1 -0
- package/lib/module/core/models/link-session-status.js +10 -0
- package/lib/module/core/models/link-session-status.js.map +1 -0
- package/lib/module/core/models/payment-return-params.js +37 -0
- package/lib/module/core/models/payment-return-params.js.map +1 -0
- package/lib/module/core/models/payment-type.js +36 -0
- package/lib/module/core/models/payment-type.js.map +1 -0
- package/lib/module/core/models/wire-mappers.js +263 -0
- package/lib/module/core/models/wire-mappers.js.map +1 -0
- package/lib/module/core/services/consent-presenter.js +140 -0
- package/lib/module/core/services/consent-presenter.js.map +1 -0
- package/lib/module/core/services/execute-resume-if-needed.js +211 -0
- package/lib/module/core/services/execute-resume-if-needed.js.map +1 -0
- package/lib/module/core/services/multi-payment-rules-presenter.js +146 -0
- package/lib/module/core/services/multi-payment-rules-presenter.js.map +1 -0
- package/lib/module/core/services/payment-flow-controller.js +544 -0
- package/lib/module/core/services/payment-flow-controller.js.map +1 -0
- package/lib/module/core/services/payment-flow-state.js +106 -0
- package/lib/module/core/services/payment-flow-state.js.map +1 -0
- package/lib/module/core/services/payment-result-mapper.js +45 -0
- package/lib/module/core/services/payment-result-mapper.js.map +1 -0
- package/lib/module/core/services/pending-session-store.js +4 -0
- package/lib/module/core/services/pending-session-store.js.map +1 -0
- package/lib/module/core/services/presentation-utils.js +7 -0
- package/lib/module/core/services/presentation-utils.js.map +1 -0
- package/lib/module/core/services/redirect-buffer.js +33 -0
- package/lib/module/core/services/redirect-buffer.js.map +1 -0
- package/lib/module/core/services/user-friendly-messages.js +42 -0
- package/lib/module/core/services/user-friendly-messages.js.map +1 -0
- package/lib/module/index.js +40 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/internal/bank-redirect.js +49 -0
- package/lib/module/internal/bank-redirect.js.map +1 -0
- package/lib/module/internal/deep-link-listener.js +34 -0
- package/lib/module/internal/deep-link-listener.js.map +1 -0
- package/lib/module/internal/event-emitter.js +32 -0
- package/lib/module/internal/event-emitter.js.map +1 -0
- package/lib/module/internal/index.js +7 -0
- package/lib/module/internal/index.js.map +1 -0
- package/lib/module/internal/logger.js +61 -0
- package/lib/module/internal/logger.js.map +1 -0
- package/lib/module/internal/redact-uri.js +21 -0
- package/lib/module/internal/redact-uri.js.map +1 -0
- package/lib/module/internal/secure-store-pending-session-store.js +88 -0
- package/lib/module/internal/secure-store-pending-session-store.js.map +1 -0
- package/lib/module/internal/telemetry-collector.js +75 -0
- package/lib/module/internal/telemetry-collector.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/public/constants.js +17 -0
- package/lib/module/public/constants.js.map +1 -0
- package/lib/module/public/index.js +11 -0
- package/lib/module/public/index.js.map +1 -0
- package/lib/module/public/payment-result.js +41 -0
- package/lib/module/public/payment-result.js.map +1 -0
- package/lib/module/public/recovery-result.js +34 -0
- package/lib/module/public/recovery-result.js.map +1 -0
- package/lib/module/public/spare-link-callbacks.js +4 -0
- package/lib/module/public/spare-link-callbacks.js.map +1 -0
- package/lib/module/public/spare-link-config.js +54 -0
- package/lib/module/public/spare-link-config.js.map +1 -0
- package/lib/module/public/spare-link-event.js +115 -0
- package/lib/module/public/spare-link-event.js.map +1 -0
- package/lib/module/public/spare-link-host-api.js +4 -0
- package/lib/module/public/spare-link-host-api.js.map +1 -0
- package/lib/module/public/spare-link-instance.js +273 -0
- package/lib/module/public/spare-link-instance.js.map +1 -0
- package/lib/module/public/spare-link-session.js +21 -0
- package/lib/module/public/spare-link-session.js.map +1 -0
- package/lib/module/public/spare-link.js +4 -0
- package/lib/module/public/spare-link.js.map +1 -0
- package/lib/module/ui/consent/charge-bearer-display.js +95 -0
- package/lib/module/ui/consent/charge-bearer-display.js.map +1 -0
- package/lib/module/ui/consent/consent-accordion.js +90 -0
- package/lib/module/ui/consent/consent-accordion.js.map +1 -0
- package/lib/module/ui/consent/consent-summary-section.js +23 -0
- package/lib/module/ui/consent/consent-summary-section.js.map +1 -0
- package/lib/module/ui/consent/cop-information.js +165 -0
- package/lib/module/ui/consent/cop-information.js.map +1 -0
- package/lib/module/ui/consent/international-payment-summary.js +94 -0
- package/lib/module/ui/consent/international-payment-summary.js.map +1 -0
- package/lib/module/ui/consent/label-value-rows.js +55 -0
- package/lib/module/ui/consent/label-value-rows.js.map +1 -0
- package/lib/module/ui/consent/multi-payment-rules-list.js +125 -0
- package/lib/module/ui/consent/multi-payment-rules-list.js.map +1 -0
- package/lib/module/ui/consent/multi-payment-summary.js +95 -0
- package/lib/module/ui/consent/multi-payment-summary.js.map +1 -0
- package/lib/module/ui/consent/single-payment-summary.js +154 -0
- package/lib/module/ui/consent/single-payment-summary.js.map +1 -0
- package/lib/module/ui/consent/terms-link.js +31 -0
- package/lib/module/ui/consent/terms-link.js.map +1 -0
- package/lib/module/ui/hooks/use-payment-flow-state.js +12 -0
- package/lib/module/ui/hooks/use-payment-flow-state.js.map +1 -0
- package/lib/module/ui/payment-flow-page.js +232 -0
- package/lib/module/ui/payment-flow-page.js.map +1 -0
- package/lib/module/ui/screens/bank-selection-screen.js +211 -0
- package/lib/module/ui/screens/bank-selection-screen.js.map +1 -0
- package/lib/module/ui/screens/consent-details-screen.js +120 -0
- package/lib/module/ui/screens/consent-details-screen.js.map +1 -0
- package/lib/module/ui/screens/index.js +9 -0
- package/lib/module/ui/screens/index.js.map +1 -0
- package/lib/module/ui/screens/mandate-setup-success-screen.js +75 -0
- package/lib/module/ui/screens/mandate-setup-success-screen.js.map +1 -0
- package/lib/module/ui/screens/redirect-handoff-screen.js +39 -0
- package/lib/module/ui/screens/redirect-handoff-screen.js.map +1 -0
- package/lib/module/ui/screens/result-screen.js +79 -0
- package/lib/module/ui/screens/result-screen.js.map +1 -0
- package/lib/module/ui/screens/resume-processing-screen.js +105 -0
- package/lib/module/ui/screens/resume-processing-screen.js.map +1 -0
- package/lib/module/ui/spare-link-host.js +350 -0
- package/lib/module/ui/spare-link-host.js.map +1 -0
- package/lib/module/ui/theme/assets.js +16 -0
- package/lib/module/ui/theme/assets.js.map +1 -0
- package/lib/module/ui/theme/colors.js +32 -0
- package/lib/module/ui/theme/colors.js.map +1 -0
- package/lib/module/ui/theme/fonts.js +23 -0
- package/lib/module/ui/theme/fonts.js.map +1 -0
- package/lib/module/ui/theme/index.js +13 -0
- package/lib/module/ui/theme/index.js.map +1 -0
- package/lib/module/ui/theme/typography.js +49 -0
- package/lib/module/ui/theme/typography.js.map +1 -0
- package/lib/module/ui/widgets/footer.js +140 -0
- package/lib/module/ui/widgets/footer.js.map +1 -0
- package/lib/module/ui/widgets/gradient-spinner.js +168 -0
- package/lib/module/ui/widgets/gradient-spinner.js.map +1 -0
- package/lib/module/ui/widgets/handoff-screen-layout.js +73 -0
- package/lib/module/ui/widgets/handoff-screen-layout.js.map +1 -0
- package/lib/module/ui/widgets/index.js +8 -0
- package/lib/module/ui/widgets/index.js.map +1 -0
- package/lib/module/ui/widgets/layout-w-header.js +102 -0
- package/lib/module/ui/widgets/layout-w-header.js.map +1 -0
- package/lib/module/ui/widgets/modal-dismiss-button.js +43 -0
- package/lib/module/ui/widgets/modal-dismiss-button.js.map +1 -0
- package/lib/module/ui/widgets/stepper.js +120 -0
- package/lib/module/ui/widgets/stepper.js.map +1 -0
- package/lib/module/version.js +10 -0
- package/lib/module/version.js.map +1 -0
- package/lib/typescript/commonjs/core/client/link-api-client.d.ts +70 -0
- package/lib/typescript/commonjs/core/client/link-api-client.d.ts.map +1 -0
- package/lib/typescript/commonjs/core/errors/payment-api-error.d.ts +15 -0
- package/lib/typescript/commonjs/core/errors/payment-api-error.d.ts.map +1 -0
- package/lib/typescript/commonjs/core/models/index.d.ts +124 -0
- package/lib/typescript/commonjs/core/models/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/core/models/link-session-status.d.ts +6 -0
- package/lib/typescript/commonjs/core/models/link-session-status.d.ts.map +1 -0
- package/lib/typescript/commonjs/core/models/payment-return-params.d.ts +15 -0
- package/lib/typescript/commonjs/core/models/payment-return-params.d.ts.map +1 -0
- package/lib/typescript/commonjs/core/models/payment-type.d.ts +18 -0
- package/lib/typescript/commonjs/core/models/payment-type.d.ts.map +1 -0
- package/lib/typescript/commonjs/core/models/wire-mappers.d.ts +19 -0
- package/lib/typescript/commonjs/core/models/wire-mappers.d.ts.map +1 -0
- package/lib/typescript/commonjs/core/services/consent-presenter.d.ts +67 -0
- package/lib/typescript/commonjs/core/services/consent-presenter.d.ts.map +1 -0
- package/lib/typescript/commonjs/core/services/execute-resume-if-needed.d.ts +32 -0
- package/lib/typescript/commonjs/core/services/execute-resume-if-needed.d.ts.map +1 -0
- package/lib/typescript/commonjs/core/services/multi-payment-rules-presenter.d.ts +9 -0
- package/lib/typescript/commonjs/core/services/multi-payment-rules-presenter.d.ts.map +1 -0
- package/lib/typescript/commonjs/core/services/payment-flow-controller.d.ts +146 -0
- package/lib/typescript/commonjs/core/services/payment-flow-controller.d.ts.map +1 -0
- package/lib/typescript/commonjs/core/services/payment-flow-state.d.ts +64 -0
- package/lib/typescript/commonjs/core/services/payment-flow-state.d.ts.map +1 -0
- package/lib/typescript/commonjs/core/services/payment-result-mapper.d.ts +5 -0
- package/lib/typescript/commonjs/core/services/payment-result-mapper.d.ts.map +1 -0
- package/lib/typescript/commonjs/core/services/pending-session-store.d.ts +12 -0
- package/lib/typescript/commonjs/core/services/pending-session-store.d.ts.map +1 -0
- package/lib/typescript/commonjs/core/services/presentation-utils.d.ts +5 -0
- package/lib/typescript/commonjs/core/services/presentation-utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/core/services/redirect-buffer.d.ts +6 -0
- package/lib/typescript/commonjs/core/services/redirect-buffer.d.ts.map +1 -0
- package/lib/typescript/commonjs/core/services/user-friendly-messages.d.ts +6 -0
- package/lib/typescript/commonjs/core/services/user-friendly-messages.d.ts.map +1 -0
- package/lib/typescript/commonjs/index.d.ts +19 -0
- package/lib/typescript/commonjs/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/internal/bank-redirect.d.ts +6 -0
- package/lib/typescript/commonjs/internal/bank-redirect.d.ts.map +1 -0
- package/lib/typescript/commonjs/internal/deep-link-listener.d.ts +3 -0
- package/lib/typescript/commonjs/internal/deep-link-listener.d.ts.map +1 -0
- package/lib/typescript/commonjs/internal/event-emitter.d.ts +13 -0
- package/lib/typescript/commonjs/internal/event-emitter.d.ts.map +1 -0
- package/lib/typescript/commonjs/internal/index.d.ts +5 -0
- package/lib/typescript/commonjs/internal/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/internal/logger.d.ts +23 -0
- package/lib/typescript/commonjs/internal/logger.d.ts.map +1 -0
- package/lib/typescript/commonjs/internal/redact-uri.d.ts +3 -0
- package/lib/typescript/commonjs/internal/redact-uri.d.ts.map +1 -0
- package/lib/typescript/commonjs/internal/secure-store-pending-session-store.d.ts +33 -0
- package/lib/typescript/commonjs/internal/secure-store-pending-session-store.d.ts.map +1 -0
- package/lib/typescript/commonjs/internal/telemetry-collector.d.ts +2 -0
- package/lib/typescript/commonjs/internal/telemetry-collector.d.ts.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/public/constants.d.ts +12 -0
- package/lib/typescript/commonjs/public/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/public/index.d.ts +11 -0
- package/lib/typescript/commonjs/public/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/public/payment-result.d.ts +43 -0
- package/lib/typescript/commonjs/public/payment-result.d.ts.map +1 -0
- package/lib/typescript/commonjs/public/recovery-result.d.ts +36 -0
- package/lib/typescript/commonjs/public/recovery-result.d.ts.map +1 -0
- package/lib/typescript/commonjs/public/spare-link-callbacks.d.ts +14 -0
- package/lib/typescript/commonjs/public/spare-link-callbacks.d.ts.map +1 -0
- package/lib/typescript/commonjs/public/spare-link-config.d.ts +49 -0
- package/lib/typescript/commonjs/public/spare-link-config.d.ts.map +1 -0
- package/lib/typescript/commonjs/public/spare-link-event.d.ts +90 -0
- package/lib/typescript/commonjs/public/spare-link-event.d.ts.map +1 -0
- package/lib/typescript/commonjs/public/spare-link-host-api.d.ts +29 -0
- package/lib/typescript/commonjs/public/spare-link-host-api.d.ts.map +1 -0
- package/lib/typescript/commonjs/public/spare-link-instance.d.ts +89 -0
- package/lib/typescript/commonjs/public/spare-link-instance.d.ts.map +1 -0
- package/lib/typescript/commonjs/public/spare-link-session.d.ts +20 -0
- package/lib/typescript/commonjs/public/spare-link-session.d.ts.map +1 -0
- package/lib/typescript/commonjs/public/spare-link.d.ts +3 -0
- package/lib/typescript/commonjs/public/spare-link.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/consent/charge-bearer-display.d.ts +5 -0
- package/lib/typescript/commonjs/ui/consent/charge-bearer-display.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/consent/consent-accordion.d.ts +10 -0
- package/lib/typescript/commonjs/ui/consent/consent-accordion.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/consent/consent-summary-section.d.ts +6 -0
- package/lib/typescript/commonjs/ui/consent/consent-summary-section.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/consent/cop-information.d.ts +6 -0
- package/lib/typescript/commonjs/ui/consent/cop-information.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/consent/international-payment-summary.d.ts +6 -0
- package/lib/typescript/commonjs/ui/consent/international-payment-summary.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/consent/label-value-rows.d.ts +10 -0
- package/lib/typescript/commonjs/ui/consent/label-value-rows.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/consent/multi-payment-rules-list.d.ts +15 -0
- package/lib/typescript/commonjs/ui/consent/multi-payment-rules-list.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/consent/multi-payment-summary.d.ts +6 -0
- package/lib/typescript/commonjs/ui/consent/multi-payment-summary.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/consent/single-payment-summary.d.ts +6 -0
- package/lib/typescript/commonjs/ui/consent/single-payment-summary.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/consent/terms-link.d.ts +2 -0
- package/lib/typescript/commonjs/ui/consent/terms-link.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/use-payment-flow-state.d.ts +9 -0
- package/lib/typescript/commonjs/ui/hooks/use-payment-flow-state.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/payment-flow-page.d.ts +20 -0
- package/lib/typescript/commonjs/ui/payment-flow-page.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/bank-selection-screen.d.ts +15 -0
- package/lib/typescript/commonjs/ui/screens/bank-selection-screen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/consent-details-screen.d.ts +13 -0
- package/lib/typescript/commonjs/ui/screens/consent-details-screen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/index.d.ts +7 -0
- package/lib/typescript/commonjs/ui/screens/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/mandate-setup-success-screen.d.ts +10 -0
- package/lib/typescript/commonjs/ui/screens/mandate-setup-success-screen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/redirect-handoff-screen.d.ts +3 -0
- package/lib/typescript/commonjs/ui/screens/redirect-handoff-screen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/result-screen.d.ts +7 -0
- package/lib/typescript/commonjs/ui/screens/result-screen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/resume-processing-screen.d.ts +10 -0
- package/lib/typescript/commonjs/ui/screens/resume-processing-screen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/spare-link-host.d.ts +23 -0
- package/lib/typescript/commonjs/ui/spare-link-host.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/theme/assets.d.ts +15 -0
- package/lib/typescript/commonjs/ui/theme/assets.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/theme/colors.d.ts +31 -0
- package/lib/typescript/commonjs/ui/theme/colors.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/theme/fonts.d.ts +12 -0
- package/lib/typescript/commonjs/ui/theme/fonts.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/theme/index.d.ts +11 -0
- package/lib/typescript/commonjs/ui/theme/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/theme/typography.d.ts +12 -0
- package/lib/typescript/commonjs/ui/theme/typography.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/widgets/footer.d.ts +23 -0
- package/lib/typescript/commonjs/ui/widgets/footer.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/widgets/gradient-spinner.d.ts +13 -0
- package/lib/typescript/commonjs/ui/widgets/gradient-spinner.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/widgets/handoff-screen-layout.d.ts +11 -0
- package/lib/typescript/commonjs/ui/widgets/handoff-screen-layout.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/widgets/index.d.ts +6 -0
- package/lib/typescript/commonjs/ui/widgets/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/widgets/layout-w-header.d.ts +20 -0
- package/lib/typescript/commonjs/ui/widgets/layout-w-header.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/widgets/modal-dismiss-button.d.ts +6 -0
- package/lib/typescript/commonjs/ui/widgets/modal-dismiss-button.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/widgets/stepper.d.ts +15 -0
- package/lib/typescript/commonjs/ui/widgets/stepper.d.ts.map +1 -0
- package/lib/typescript/commonjs/version.d.ts +8 -0
- package/lib/typescript/commonjs/version.d.ts.map +1 -0
- package/lib/typescript/module/core/client/link-api-client.d.ts +70 -0
- package/lib/typescript/module/core/client/link-api-client.d.ts.map +1 -0
- package/lib/typescript/module/core/errors/payment-api-error.d.ts +15 -0
- package/lib/typescript/module/core/errors/payment-api-error.d.ts.map +1 -0
- package/lib/typescript/module/core/models/index.d.ts +124 -0
- package/lib/typescript/module/core/models/index.d.ts.map +1 -0
- package/lib/typescript/module/core/models/link-session-status.d.ts +6 -0
- package/lib/typescript/module/core/models/link-session-status.d.ts.map +1 -0
- package/lib/typescript/module/core/models/payment-return-params.d.ts +15 -0
- package/lib/typescript/module/core/models/payment-return-params.d.ts.map +1 -0
- package/lib/typescript/module/core/models/payment-type.d.ts +18 -0
- package/lib/typescript/module/core/models/payment-type.d.ts.map +1 -0
- package/lib/typescript/module/core/models/wire-mappers.d.ts +19 -0
- package/lib/typescript/module/core/models/wire-mappers.d.ts.map +1 -0
- package/lib/typescript/module/core/services/consent-presenter.d.ts +67 -0
- package/lib/typescript/module/core/services/consent-presenter.d.ts.map +1 -0
- package/lib/typescript/module/core/services/execute-resume-if-needed.d.ts +32 -0
- package/lib/typescript/module/core/services/execute-resume-if-needed.d.ts.map +1 -0
- package/lib/typescript/module/core/services/multi-payment-rules-presenter.d.ts +9 -0
- package/lib/typescript/module/core/services/multi-payment-rules-presenter.d.ts.map +1 -0
- package/lib/typescript/module/core/services/payment-flow-controller.d.ts +146 -0
- package/lib/typescript/module/core/services/payment-flow-controller.d.ts.map +1 -0
- package/lib/typescript/module/core/services/payment-flow-state.d.ts +64 -0
- package/lib/typescript/module/core/services/payment-flow-state.d.ts.map +1 -0
- package/lib/typescript/module/core/services/payment-result-mapper.d.ts +5 -0
- package/lib/typescript/module/core/services/payment-result-mapper.d.ts.map +1 -0
- package/lib/typescript/module/core/services/pending-session-store.d.ts +12 -0
- package/lib/typescript/module/core/services/pending-session-store.d.ts.map +1 -0
- package/lib/typescript/module/core/services/presentation-utils.d.ts +5 -0
- package/lib/typescript/module/core/services/presentation-utils.d.ts.map +1 -0
- package/lib/typescript/module/core/services/redirect-buffer.d.ts +6 -0
- package/lib/typescript/module/core/services/redirect-buffer.d.ts.map +1 -0
- package/lib/typescript/module/core/services/user-friendly-messages.d.ts +6 -0
- package/lib/typescript/module/core/services/user-friendly-messages.d.ts.map +1 -0
- package/lib/typescript/module/index.d.ts +19 -0
- package/lib/typescript/module/index.d.ts.map +1 -0
- package/lib/typescript/module/internal/bank-redirect.d.ts +6 -0
- package/lib/typescript/module/internal/bank-redirect.d.ts.map +1 -0
- package/lib/typescript/module/internal/deep-link-listener.d.ts +3 -0
- package/lib/typescript/module/internal/deep-link-listener.d.ts.map +1 -0
- package/lib/typescript/module/internal/event-emitter.d.ts +13 -0
- package/lib/typescript/module/internal/event-emitter.d.ts.map +1 -0
- package/lib/typescript/module/internal/index.d.ts +5 -0
- package/lib/typescript/module/internal/index.d.ts.map +1 -0
- package/lib/typescript/module/internal/logger.d.ts +23 -0
- package/lib/typescript/module/internal/logger.d.ts.map +1 -0
- package/lib/typescript/module/internal/redact-uri.d.ts +3 -0
- package/lib/typescript/module/internal/redact-uri.d.ts.map +1 -0
- package/lib/typescript/module/internal/secure-store-pending-session-store.d.ts +33 -0
- package/lib/typescript/module/internal/secure-store-pending-session-store.d.ts.map +1 -0
- package/lib/typescript/module/internal/telemetry-collector.d.ts +2 -0
- package/lib/typescript/module/internal/telemetry-collector.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/public/constants.d.ts +12 -0
- package/lib/typescript/module/public/constants.d.ts.map +1 -0
- package/lib/typescript/module/public/index.d.ts +11 -0
- package/lib/typescript/module/public/index.d.ts.map +1 -0
- package/lib/typescript/module/public/payment-result.d.ts +43 -0
- package/lib/typescript/module/public/payment-result.d.ts.map +1 -0
- package/lib/typescript/module/public/recovery-result.d.ts +36 -0
- package/lib/typescript/module/public/recovery-result.d.ts.map +1 -0
- package/lib/typescript/module/public/spare-link-callbacks.d.ts +14 -0
- package/lib/typescript/module/public/spare-link-callbacks.d.ts.map +1 -0
- package/lib/typescript/module/public/spare-link-config.d.ts +49 -0
- package/lib/typescript/module/public/spare-link-config.d.ts.map +1 -0
- package/lib/typescript/module/public/spare-link-event.d.ts +90 -0
- package/lib/typescript/module/public/spare-link-event.d.ts.map +1 -0
- package/lib/typescript/module/public/spare-link-host-api.d.ts +29 -0
- package/lib/typescript/module/public/spare-link-host-api.d.ts.map +1 -0
- package/lib/typescript/module/public/spare-link-instance.d.ts +89 -0
- package/lib/typescript/module/public/spare-link-instance.d.ts.map +1 -0
- package/lib/typescript/module/public/spare-link-session.d.ts +20 -0
- package/lib/typescript/module/public/spare-link-session.d.ts.map +1 -0
- package/lib/typescript/module/public/spare-link.d.ts +3 -0
- package/lib/typescript/module/public/spare-link.d.ts.map +1 -0
- package/lib/typescript/module/ui/consent/charge-bearer-display.d.ts +5 -0
- package/lib/typescript/module/ui/consent/charge-bearer-display.d.ts.map +1 -0
- package/lib/typescript/module/ui/consent/consent-accordion.d.ts +10 -0
- package/lib/typescript/module/ui/consent/consent-accordion.d.ts.map +1 -0
- package/lib/typescript/module/ui/consent/consent-summary-section.d.ts +6 -0
- package/lib/typescript/module/ui/consent/consent-summary-section.d.ts.map +1 -0
- package/lib/typescript/module/ui/consent/cop-information.d.ts +6 -0
- package/lib/typescript/module/ui/consent/cop-information.d.ts.map +1 -0
- package/lib/typescript/module/ui/consent/international-payment-summary.d.ts +6 -0
- package/lib/typescript/module/ui/consent/international-payment-summary.d.ts.map +1 -0
- package/lib/typescript/module/ui/consent/label-value-rows.d.ts +10 -0
- package/lib/typescript/module/ui/consent/label-value-rows.d.ts.map +1 -0
- package/lib/typescript/module/ui/consent/multi-payment-rules-list.d.ts +15 -0
- package/lib/typescript/module/ui/consent/multi-payment-rules-list.d.ts.map +1 -0
- package/lib/typescript/module/ui/consent/multi-payment-summary.d.ts +6 -0
- package/lib/typescript/module/ui/consent/multi-payment-summary.d.ts.map +1 -0
- package/lib/typescript/module/ui/consent/single-payment-summary.d.ts +6 -0
- package/lib/typescript/module/ui/consent/single-payment-summary.d.ts.map +1 -0
- package/lib/typescript/module/ui/consent/terms-link.d.ts +2 -0
- package/lib/typescript/module/ui/consent/terms-link.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/use-payment-flow-state.d.ts +9 -0
- package/lib/typescript/module/ui/hooks/use-payment-flow-state.d.ts.map +1 -0
- package/lib/typescript/module/ui/payment-flow-page.d.ts +20 -0
- package/lib/typescript/module/ui/payment-flow-page.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/bank-selection-screen.d.ts +15 -0
- package/lib/typescript/module/ui/screens/bank-selection-screen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/consent-details-screen.d.ts +13 -0
- package/lib/typescript/module/ui/screens/consent-details-screen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/index.d.ts +7 -0
- package/lib/typescript/module/ui/screens/index.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/mandate-setup-success-screen.d.ts +10 -0
- package/lib/typescript/module/ui/screens/mandate-setup-success-screen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/redirect-handoff-screen.d.ts +3 -0
- package/lib/typescript/module/ui/screens/redirect-handoff-screen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/result-screen.d.ts +7 -0
- package/lib/typescript/module/ui/screens/result-screen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/resume-processing-screen.d.ts +10 -0
- package/lib/typescript/module/ui/screens/resume-processing-screen.d.ts.map +1 -0
- package/lib/typescript/module/ui/spare-link-host.d.ts +23 -0
- package/lib/typescript/module/ui/spare-link-host.d.ts.map +1 -0
- package/lib/typescript/module/ui/theme/assets.d.ts +15 -0
- package/lib/typescript/module/ui/theme/assets.d.ts.map +1 -0
- package/lib/typescript/module/ui/theme/colors.d.ts +31 -0
- package/lib/typescript/module/ui/theme/colors.d.ts.map +1 -0
- package/lib/typescript/module/ui/theme/fonts.d.ts +12 -0
- package/lib/typescript/module/ui/theme/fonts.d.ts.map +1 -0
- package/lib/typescript/module/ui/theme/index.d.ts +11 -0
- package/lib/typescript/module/ui/theme/index.d.ts.map +1 -0
- package/lib/typescript/module/ui/theme/typography.d.ts +12 -0
- package/lib/typescript/module/ui/theme/typography.d.ts.map +1 -0
- package/lib/typescript/module/ui/widgets/footer.d.ts +23 -0
- package/lib/typescript/module/ui/widgets/footer.d.ts.map +1 -0
- package/lib/typescript/module/ui/widgets/gradient-spinner.d.ts +13 -0
- package/lib/typescript/module/ui/widgets/gradient-spinner.d.ts.map +1 -0
- package/lib/typescript/module/ui/widgets/handoff-screen-layout.d.ts +11 -0
- package/lib/typescript/module/ui/widgets/handoff-screen-layout.d.ts.map +1 -0
- package/lib/typescript/module/ui/widgets/index.d.ts +6 -0
- package/lib/typescript/module/ui/widgets/index.d.ts.map +1 -0
- package/lib/typescript/module/ui/widgets/layout-w-header.d.ts +20 -0
- package/lib/typescript/module/ui/widgets/layout-w-header.d.ts.map +1 -0
- package/lib/typescript/module/ui/widgets/modal-dismiss-button.d.ts +6 -0
- package/lib/typescript/module/ui/widgets/modal-dismiss-button.d.ts.map +1 -0
- package/lib/typescript/module/ui/widgets/stepper.d.ts +15 -0
- package/lib/typescript/module/ui/widgets/stepper.d.ts.map +1 -0
- package/lib/typescript/module/version.d.ts +8 -0
- package/lib/typescript/module/version.d.ts.map +1 -0
- package/package.json +124 -0
- package/plugins/with-spare-link.js +98 -0
- package/src/core/client/link-api-client.ts +414 -0
- package/src/core/errors/payment-api-error.ts +35 -0
- package/src/core/models/index.ts +139 -0
- package/src/core/models/link-session-status.ts +7 -0
- package/src/core/models/payment-return-params.ts +34 -0
- package/src/core/models/payment-type.ts +54 -0
- package/src/core/models/wire-mappers.ts +315 -0
- package/src/core/services/consent-presenter.ts +213 -0
- package/src/core/services/execute-resume-if-needed.ts +243 -0
- package/src/core/services/multi-payment-rules-presenter.ts +158 -0
- package/src/core/services/payment-flow-controller.ts +607 -0
- package/src/core/services/payment-flow-state.ts +124 -0
- package/src/core/services/payment-result-mapper.ts +41 -0
- package/src/core/services/pending-session-store.ts +12 -0
- package/src/core/services/presentation-utils.ts +4 -0
- package/src/core/services/redirect-buffer.ts +34 -0
- package/src/core/services/user-friendly-messages.ts +39 -0
- package/src/index.ts +115 -0
- package/src/internal/bank-redirect.ts +61 -0
- package/src/internal/deep-link-listener.ts +31 -0
- package/src/internal/event-emitter.ts +42 -0
- package/src/internal/index.ts +4 -0
- package/src/internal/logger.ts +81 -0
- package/src/internal/redact-uri.ts +18 -0
- package/src/internal/secure-store-pending-session-store.ts +131 -0
- package/src/internal/telemetry-collector.ts +90 -0
- package/src/public/constants.ts +14 -0
- package/src/public/index.ts +80 -0
- package/src/public/payment-result.ts +61 -0
- package/src/public/recovery-result.ts +49 -0
- package/src/public/spare-link-callbacks.ts +20 -0
- package/src/public/spare-link-config.ts +87 -0
- package/src/public/spare-link-event.ts +146 -0
- package/src/public/spare-link-host-api.ts +28 -0
- package/src/public/spare-link-instance.ts +289 -0
- package/src/public/spare-link-session.ts +28 -0
- package/src/public/spare-link.ts +2 -0
- package/src/ui/consent/charge-bearer-display.tsx +68 -0
- package/src/ui/consent/consent-accordion.tsx +89 -0
- package/src/ui/consent/consent-summary-section.tsx +19 -0
- package/src/ui/consent/cop-information.tsx +121 -0
- package/src/ui/consent/international-payment-summary.tsx +83 -0
- package/src/ui/consent/label-value-rows.tsx +50 -0
- package/src/ui/consent/multi-payment-rules-list.tsx +138 -0
- package/src/ui/consent/multi-payment-summary.tsx +82 -0
- package/src/ui/consent/single-payment-summary.tsx +123 -0
- package/src/ui/consent/terms-link.tsx +27 -0
- package/src/ui/hooks/use-payment-flow-state.ts +16 -0
- package/src/ui/payment-flow-page.tsx +254 -0
- package/src/ui/screens/bank-selection-screen.tsx +209 -0
- package/src/ui/screens/consent-details-screen.tsx +106 -0
- package/src/ui/screens/index.ts +12 -0
- package/src/ui/screens/mandate-setup-success-screen.tsx +72 -0
- package/src/ui/screens/redirect-handoff-screen.tsx +33 -0
- package/src/ui/screens/result-screen.tsx +71 -0
- package/src/ui/screens/resume-processing-screen.tsx +111 -0
- package/src/ui/spare-link-host.tsx +394 -0
- package/src/ui/theme/assets.ts +17 -0
- package/src/ui/theme/colors.ts +32 -0
- package/src/ui/theme/fonts.ts +25 -0
- package/src/ui/theme/index.ts +11 -0
- package/src/ui/theme/typography.ts +47 -0
- package/src/ui/widgets/footer.tsx +138 -0
- package/src/ui/widgets/gradient-spinner.tsx +156 -0
- package/src/ui/widgets/handoff-screen-layout.tsx +70 -0
- package/src/ui/widgets/index.ts +5 -0
- package/src/ui/widgets/layout-w-header.tsx +89 -0
- package/src/ui/widgets/modal-dismiss-button.tsx +44 -0
- package/src/ui/widgets/stepper.tsx +126 -0
- package/src/version.ts +7 -0
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.BankSelectionScreen = BankSelectionScreen;
|
|
7
|
+
var _vectorIcons = require("@expo/vector-icons");
|
|
8
|
+
var _react = require("react");
|
|
9
|
+
var _reactNative = require("react-native");
|
|
10
|
+
var _index = require("../theme/index.js");
|
|
11
|
+
var _index2 = require("../widgets/index.js");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
+
/**
|
|
14
|
+
* CBUAE-approved bank picker. Port of Flutter `bank_selection_screen.dart`:
|
|
15
|
+
* "Choose your bank" inside a white card with a search field and logo rows
|
|
16
|
+
* (blue-outline selection), wrapped in the shared {@link LayoutWHeader} stepper
|
|
17
|
+
* chrome with a "Proceed using Altareq" footer.
|
|
18
|
+
*/
|
|
19
|
+
function BankSelectionScreen(props) {
|
|
20
|
+
const [query, setQuery] = (0, _react.useState)('');
|
|
21
|
+
const [selectedId, setSelectedId] = (0, _react.useState)(undefined);
|
|
22
|
+
const trimmed = query.trim().toLowerCase();
|
|
23
|
+
const filtered = (0, _react.useMemo)(() => trimmed ? props.providers.filter(p => p.name.toLowerCase().includes(trimmed)) : props.providers, [props.providers, trimmed]);
|
|
24
|
+
const isBankSelected = !!selectedId;
|
|
25
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.LayoutWHeader, {
|
|
26
|
+
progress: 0,
|
|
27
|
+
onBackPress: props.onCancel,
|
|
28
|
+
...(props.isProcessing ? {
|
|
29
|
+
backDisabled: true
|
|
30
|
+
} : {}),
|
|
31
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
32
|
+
style: styles.container,
|
|
33
|
+
testID: "bank-selection-screen",
|
|
34
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
35
|
+
style: styles.card,
|
|
36
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
37
|
+
style: styles.cardTitle,
|
|
38
|
+
testID: "bank-selection-title",
|
|
39
|
+
children: "Choose your bank"
|
|
40
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
41
|
+
style: styles.searchRow,
|
|
42
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TextInput, {
|
|
43
|
+
accessibilityLabel: "Search account providers",
|
|
44
|
+
testID: "bank-selection-search",
|
|
45
|
+
value: query,
|
|
46
|
+
onChangeText: setQuery,
|
|
47
|
+
placeholder: "Enter account provider...",
|
|
48
|
+
placeholderTextColor: _index.Colors.textMuted,
|
|
49
|
+
style: styles.searchInput
|
|
50
|
+
}), query.length > 0 ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Pressable, {
|
|
51
|
+
accessibilityRole: "button",
|
|
52
|
+
testID: "bank-selection-search-clear",
|
|
53
|
+
onPress: () => setQuery(''),
|
|
54
|
+
hitSlop: 8,
|
|
55
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
56
|
+
name: "close",
|
|
57
|
+
size: 18,
|
|
58
|
+
color: _index.Colors.textMuted
|
|
59
|
+
})
|
|
60
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
61
|
+
name: "search",
|
|
62
|
+
size: 18,
|
|
63
|
+
color: _index.Colors.textMuted
|
|
64
|
+
})]
|
|
65
|
+
}), filtered.length === 0 ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
66
|
+
testID: "bank-selection-empty",
|
|
67
|
+
style: styles.empty,
|
|
68
|
+
children: trimmed ? `No banks match "${query.trim()}"` : 'No banks available'
|
|
69
|
+
}) : filtered.map(provider => /*#__PURE__*/(0, _jsxRuntime.jsx)(BankRow, {
|
|
70
|
+
provider: provider,
|
|
71
|
+
isSelected: provider.id === selectedId,
|
|
72
|
+
onPress: () => setSelectedId(provider.id)
|
|
73
|
+
}, provider.id))]
|
|
74
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
75
|
+
style: styles.spacer
|
|
76
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Footer, {
|
|
77
|
+
continueButtonText: "Proceed using Altareq",
|
|
78
|
+
continueTestID: "bank-selection-continue-btn",
|
|
79
|
+
cancelTestID: "bank-selection-cancel-btn",
|
|
80
|
+
onCancel: props.onCancel,
|
|
81
|
+
disabledContinueButton: !isBankSelected,
|
|
82
|
+
...(isBankSelected ? {
|
|
83
|
+
onContinue: () => props.onSelected(selectedId)
|
|
84
|
+
} : {}),
|
|
85
|
+
...(props.isProcessing ? {
|
|
86
|
+
isLoading: true
|
|
87
|
+
} : {})
|
|
88
|
+
})]
|
|
89
|
+
})
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
function BankRow(props) {
|
|
93
|
+
const {
|
|
94
|
+
provider,
|
|
95
|
+
isSelected
|
|
96
|
+
} = props;
|
|
97
|
+
const [logoFailed, setLogoFailed] = (0, _react.useState)(false);
|
|
98
|
+
const showLogo = !!provider.logoUrl && !logoFailed;
|
|
99
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Pressable, {
|
|
100
|
+
testID: `bank-row-${provider.code}`,
|
|
101
|
+
accessibilityRole: "button",
|
|
102
|
+
onPress: props.onPress,
|
|
103
|
+
style: [styles.row, isSelected && styles.rowSelected],
|
|
104
|
+
children: [showLogo ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Image, {
|
|
105
|
+
source: {
|
|
106
|
+
uri: provider.logoUrl
|
|
107
|
+
},
|
|
108
|
+
style: styles.logo,
|
|
109
|
+
resizeMode: "contain",
|
|
110
|
+
onError: () => setLogoFailed(true)
|
|
111
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
112
|
+
style: [styles.logo, styles.logoFallback],
|
|
113
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
114
|
+
name: "business-outline",
|
|
115
|
+
size: 20,
|
|
116
|
+
color: _index.Colors.textMuted
|
|
117
|
+
})
|
|
118
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
119
|
+
style: [styles.rowName, isSelected && styles.rowNameSelected],
|
|
120
|
+
numberOfLines: 1,
|
|
121
|
+
children: provider.name
|
|
122
|
+
})]
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
const styles = _reactNative.StyleSheet.create({
|
|
126
|
+
container: {
|
|
127
|
+
flex: 1
|
|
128
|
+
},
|
|
129
|
+
card: {
|
|
130
|
+
backgroundColor: _index.Colors.surfaceCard,
|
|
131
|
+
borderRadius: 12,
|
|
132
|
+
paddingHorizontal: 12,
|
|
133
|
+
paddingVertical: 16,
|
|
134
|
+
borderWidth: _reactNative.StyleSheet.hairlineWidth,
|
|
135
|
+
borderColor: _index.Colors.divider,
|
|
136
|
+
shadowColor: '#000000',
|
|
137
|
+
shadowOpacity: 0.06,
|
|
138
|
+
shadowRadius: 6,
|
|
139
|
+
shadowOffset: {
|
|
140
|
+
width: 0,
|
|
141
|
+
height: 2
|
|
142
|
+
},
|
|
143
|
+
elevation: 2
|
|
144
|
+
},
|
|
145
|
+
cardTitle: {
|
|
146
|
+
fontFamily: _index.FONT_FAMILY,
|
|
147
|
+
fontSize: 16,
|
|
148
|
+
fontWeight: '700',
|
|
149
|
+
color: _index.Colors.textPrimary,
|
|
150
|
+
marginBottom: 12
|
|
151
|
+
},
|
|
152
|
+
searchRow: {
|
|
153
|
+
flexDirection: 'row',
|
|
154
|
+
alignItems: 'center',
|
|
155
|
+
borderWidth: _reactNative.StyleSheet.hairlineWidth,
|
|
156
|
+
borderColor: _index.Colors.divider,
|
|
157
|
+
borderRadius: 12,
|
|
158
|
+
paddingHorizontal: 12,
|
|
159
|
+
height: 44,
|
|
160
|
+
marginBottom: _index.Spacing.md
|
|
161
|
+
},
|
|
162
|
+
searchInput: {
|
|
163
|
+
flex: 1,
|
|
164
|
+
fontFamily: _index.FONT_FAMILY,
|
|
165
|
+
fontSize: 14,
|
|
166
|
+
color: _index.Colors.textPrimary,
|
|
167
|
+
paddingVertical: 0
|
|
168
|
+
},
|
|
169
|
+
empty: {
|
|
170
|
+
fontFamily: _index.FONT_FAMILY,
|
|
171
|
+
fontSize: 14,
|
|
172
|
+
color: _index.Colors.textMuted,
|
|
173
|
+
textAlign: 'center',
|
|
174
|
+
paddingVertical: _index.Spacing.xl
|
|
175
|
+
},
|
|
176
|
+
row: {
|
|
177
|
+
flexDirection: 'row',
|
|
178
|
+
alignItems: 'center',
|
|
179
|
+
paddingHorizontal: 12,
|
|
180
|
+
paddingVertical: 10,
|
|
181
|
+
marginVertical: 4,
|
|
182
|
+
borderRadius: 10,
|
|
183
|
+
borderWidth: 1.5,
|
|
184
|
+
borderColor: 'transparent'
|
|
185
|
+
},
|
|
186
|
+
rowSelected: {
|
|
187
|
+
borderColor: _index.Colors.spareBlue
|
|
188
|
+
},
|
|
189
|
+
logo: {
|
|
190
|
+
width: 36,
|
|
191
|
+
height: 36,
|
|
192
|
+
borderRadius: 4
|
|
193
|
+
},
|
|
194
|
+
logoFallback: {
|
|
195
|
+
backgroundColor: _index.Colors.surfaceMuted,
|
|
196
|
+
alignItems: 'center',
|
|
197
|
+
justifyContent: 'center'
|
|
198
|
+
},
|
|
199
|
+
rowName: {
|
|
200
|
+
flex: 1,
|
|
201
|
+
marginLeft: 12,
|
|
202
|
+
fontFamily: _index.FONT_FAMILY,
|
|
203
|
+
fontSize: 14,
|
|
204
|
+
color: _index.Colors.textPrimary
|
|
205
|
+
},
|
|
206
|
+
rowNameSelected: {
|
|
207
|
+
color: _index.Colors.spareBlue,
|
|
208
|
+
fontWeight: '600'
|
|
209
|
+
},
|
|
210
|
+
spacer: {
|
|
211
|
+
flex: 1,
|
|
212
|
+
minHeight: _index.Spacing.xl
|
|
213
|
+
}
|
|
214
|
+
});
|
|
215
|
+
//# sourceMappingURL=bank-selection-screen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_vectorIcons","require","_react","_reactNative","_index","_index2","_jsxRuntime","BankSelectionScreen","props","query","setQuery","useState","selectedId","setSelectedId","undefined","trimmed","trim","toLowerCase","filtered","useMemo","providers","filter","p","name","includes","isBankSelected","jsx","LayoutWHeader","progress","onBackPress","onCancel","isProcessing","backDisabled","children","jsxs","View","style","styles","container","testID","card","Text","cardTitle","searchRow","TextInput","accessibilityLabel","value","onChangeText","placeholder","placeholderTextColor","Colors","textMuted","searchInput","length","Pressable","accessibilityRole","onPress","hitSlop","Ionicons","size","color","empty","map","provider","BankRow","isSelected","id","spacer","Footer","continueButtonText","continueTestID","cancelTestID","disabledContinueButton","onContinue","onSelected","isLoading","logoFailed","setLogoFailed","showLogo","logoUrl","code","row","rowSelected","Image","source","uri","logo","resizeMode","onError","logoFallback","rowName","rowNameSelected","numberOfLines","StyleSheet","create","flex","backgroundColor","surfaceCard","borderRadius","paddingHorizontal","paddingVertical","borderWidth","hairlineWidth","borderColor","divider","shadowColor","shadowOpacity","shadowRadius","shadowOffset","width","height","elevation","fontFamily","FONT_FAMILY","fontSize","fontWeight","textPrimary","marginBottom","flexDirection","alignItems","Spacing","md","textAlign","xl","marginVertical","spareBlue","surfaceMuted","justifyContent","marginLeft","minHeight"],"sourceRoot":"../../../../src","sources":["ui/screens/bank-selection-screen.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AAEA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AAAmD,IAAAK,WAAA,GAAAL,OAAA;AASnD;AACA;AACA;AACA;AACA;AACA;AACO,SAASM,mBAAmBA,CAACC,KAA+B,EAAe;EAChF,MAAM,CAACC,KAAK,EAAEC,QAAQ,CAAC,GAAG,IAAAC,eAAQ,EAAC,EAAE,CAAC;EACtC,MAAM,CAACC,UAAU,EAAEC,aAAa,CAAC,GAAG,IAAAF,eAAQ,EAAqBG,SAAS,CAAC;EAE3E,MAAMC,OAAO,GAAGN,KAAK,CAACO,IAAI,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC;EAC1C,MAAMC,QAAQ,GAAG,IAAAC,cAAO,EACtB,MACEJ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AAEqB,WAAW,EAAErD,aAAM,CAAC2E;EAAU,CAAC;EAC9CvC,IAAI,EAAE;IAAEuB,KAAK,EAAE,EAAE;IAAEC,MAAM,EAAE,EAAE;IAAEZ,YAAY,EAAE;EAAE,CAAC;EAChDT,YAAY,EAAE;IACZO,eAAe,EAAE9C,aAAM,CAAC4E,YAAY;IACpCP,UAAU,EAAE,QAAQ;IACpBQ,cAAc,EAAE;EAClB,CAAC;EACDrC,OAAO,EAAE;IACPK,IAAI,EAAE,CAAC;IACPiC,UAAU,EAAE,EAAE;IACdhB,UAAU,EAAEC,kBAAW;IACvBC,QAAQ,EAAE,EAAE;IACZtD,KAAK,EAAEV,aAAM,CAACkE;EAChB,CAAC;EACDzB,eAAe,EAAE;IAAE/B,KAAK,EAAEV,aAAM,CAAC2E,SAAS;IAAEV,UAAU,EAAE;EAAM,CAAC;EAC/DhD,MAAM,EAAE;IAAE4B,IAAI,EAAE,CAAC;IAAEkC,SAAS,EAAET,cAAO,CAACG;EAAG;AAC3C,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ConsentDetailsScreen = ConsentDetailsScreen;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
var _consentSummarySection = require("../consent/consent-summary-section.js");
|
|
9
|
+
var _labelValueRows = require("../consent/label-value-rows.js");
|
|
10
|
+
var _index = require("../theme/index.js");
|
|
11
|
+
var _index2 = require("../widgets/index.js");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
+
/**
|
|
14
|
+
* CBUAE-approved consent screen. Port of Flutter `consent_details_screen.dart`.
|
|
15
|
+
*/
|
|
16
|
+
function ConsentDetailsScreen(props) {
|
|
17
|
+
const {
|
|
18
|
+
display,
|
|
19
|
+
onContinue,
|
|
20
|
+
onCancel,
|
|
21
|
+
isProcessing,
|
|
22
|
+
isCopLoading
|
|
23
|
+
} = props;
|
|
24
|
+
const bankName = (0, _labelValueRows.present)(display.bankName, 'your bank');
|
|
25
|
+
const disableContinue = isCopLoading ?? (display.variant === 'singlePayment' ? display.isCopLoading : false);
|
|
26
|
+
const backDisabled = !!isProcessing;
|
|
27
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.LayoutWHeader, {
|
|
28
|
+
progress: 0.5,
|
|
29
|
+
onBackPress: onCancel,
|
|
30
|
+
backDisabled: backDisabled,
|
|
31
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.ScrollView, {
|
|
32
|
+
style: styles.scroll,
|
|
33
|
+
contentContainerStyle: styles.content,
|
|
34
|
+
testID: "consent-details-screen",
|
|
35
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
36
|
+
style: styles.title,
|
|
37
|
+
testID: "consent-details-title",
|
|
38
|
+
children: "Permission to make a payment"
|
|
39
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
|
40
|
+
style: styles.intro,
|
|
41
|
+
testID: "consent-details-intro",
|
|
42
|
+
children: ["To make a payment we need your permission to securely initiate payment order from", ' ', bankName, "."]
|
|
43
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_consentSummarySection.ConsentSummarySection, {
|
|
44
|
+
data: display
|
|
45
|
+
}), display.variant === 'multiPayment' ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
46
|
+
style: styles.balancePermission,
|
|
47
|
+
testID: "consent-balance-permission",
|
|
48
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
49
|
+
style: styles.title,
|
|
50
|
+
children: "Permission to check balance"
|
|
51
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
52
|
+
style: styles.balanceIntro,
|
|
53
|
+
children: "You also allow us to check the available funds before making a payment"
|
|
54
|
+
})]
|
|
55
|
+
}) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
56
|
+
style: styles.footerWrap,
|
|
57
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Footer, {
|
|
58
|
+
onContinue: onContinue,
|
|
59
|
+
continueButtonText: "Pay using Altareq",
|
|
60
|
+
continueTestID: "consent-proceed-btn",
|
|
61
|
+
showCancelButton: false,
|
|
62
|
+
disabledContinueButton: disableContinue,
|
|
63
|
+
...(isProcessing ? {
|
|
64
|
+
isLoading: true
|
|
65
|
+
} : {})
|
|
66
|
+
})
|
|
67
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
|
68
|
+
style: styles.disclaimer,
|
|
69
|
+
testID: "consent-details-disclaimer",
|
|
70
|
+
children: ["We will securely transfer you to", ' ', /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
71
|
+
style: styles.disclaimerBold,
|
|
72
|
+
children: display.bankName
|
|
73
|
+
}), " to authorize and make the payment."]
|
|
74
|
+
})]
|
|
75
|
+
})
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
const styles = _reactNative.StyleSheet.create({
|
|
79
|
+
scroll: {
|
|
80
|
+
flex: 1
|
|
81
|
+
},
|
|
82
|
+
content: {
|
|
83
|
+
paddingBottom: _index.Spacing.xl
|
|
84
|
+
},
|
|
85
|
+
title: {
|
|
86
|
+
fontFamily: _index.FONT_FAMILY,
|
|
87
|
+
fontSize: 18,
|
|
88
|
+
fontWeight: '700',
|
|
89
|
+
color: _index.Colors.textPrimary
|
|
90
|
+
},
|
|
91
|
+
intro: {
|
|
92
|
+
fontFamily: _index.FONT_FAMILY,
|
|
93
|
+
fontSize: 14,
|
|
94
|
+
color: _index.Colors.textMuted,
|
|
95
|
+
lineHeight: 22,
|
|
96
|
+
marginTop: 10,
|
|
97
|
+
marginBottom: 20
|
|
98
|
+
},
|
|
99
|
+
balancePermission: {
|
|
100
|
+
marginTop: 20
|
|
101
|
+
},
|
|
102
|
+
balanceIntro: {
|
|
103
|
+
fontFamily: _index.FONT_FAMILY,
|
|
104
|
+
fontSize: 14,
|
|
105
|
+
color: _index.Colors.textMuted,
|
|
106
|
+
lineHeight: 22,
|
|
107
|
+
marginTop: _index.Spacing.sm
|
|
108
|
+
},
|
|
109
|
+
footerWrap: {
|
|
110
|
+
marginTop: 20
|
|
111
|
+
},
|
|
112
|
+
disclaimer: {
|
|
113
|
+
fontFamily: _index.FONT_FAMILY,
|
|
114
|
+
fontSize: 14,
|
|
115
|
+
color: _index.Colors.textMuted,
|
|
116
|
+
lineHeight: 22,
|
|
117
|
+
marginTop: _index.Spacing.md
|
|
118
|
+
},
|
|
119
|
+
disclaimerBold: {
|
|
120
|
+
fontWeight: '700',
|
|
121
|
+
color: _index.Colors.textMuted
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
//# sourceMappingURL=consent-details-screen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_consentSummarySection","_labelValueRows","_index","_index2","_jsxRuntime","ConsentDetailsScreen","props","display","onContinue","onCancel","isProcessing","isCopLoading","bankName","present","disableContinue","variant","backDisabled","jsx","LayoutWHeader","progress","onBackPress","children","jsxs","ScrollView","style","styles","scroll","contentContainerStyle","content","testID","Text","title","intro","ConsentSummarySection","data","View","balancePermission","balanceIntro","footerWrap","Footer","continueButtonText","continueTestID","showCancelButton","disabledContinueButton","isLoading","disclaimer","disclaimerBold","StyleSheet","create","flex","paddingBottom","Spacing","xl","fontFamily","FONT_FAMILY","fontSize","fontWeight","color","Colors","textPrimary","textMuted","lineHeight","marginTop","marginBottom","sm","md"],"sourceRoot":"../../../../src","sources":["ui/screens/consent-details-screen.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,sBAAA,GAAAD,OAAA;AACA,IAAAE,eA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ignoreList":[]}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "BankSelectionScreen", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _bankSelectionScreen.BankSelectionScreen;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "ConsentDetailsScreen", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () {
|
|
15
|
+
return _consentDetailsScreen.ConsentDetailsScreen;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "MandateSetupSuccessScreen", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return _mandateSetupSuccessScreen.MandateSetupSuccessScreen;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "RedirectHandoffScreen", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () {
|
|
27
|
+
return _redirectHandoffScreen.RedirectHandoffScreen;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "ResultScreen", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () {
|
|
33
|
+
return _resultScreen.ResultScreen;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "ResumeProcessingScreen", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () {
|
|
39
|
+
return _resumeProcessingScreen.ResumeProcessingScreen;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
var _bankSelectionScreen = require("./bank-selection-screen.js");
|
|
43
|
+
var _consentDetailsScreen = require("./consent-details-screen.js");
|
|
44
|
+
var _redirectHandoffScreen = require("./redirect-handoff-screen.js");
|
|
45
|
+
var _resumeProcessingScreen = require("./resume-processing-screen.js");
|
|
46
|
+
var _resultScreen = require("./result-screen.js");
|
|
47
|
+
var _mandateSetupSuccessScreen = require("./mandate-setup-success-screen.js");
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_bankSelectionScreen","require","_consentDetailsScreen","_redirectHandoffScreen","_resumeProcessingScreen","_resultScreen","_mandateSetupSuccessScreen"],"sourceRoot":"../../../../src","sources":["ui/screens/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,oBAAA,GAAAC,OAAA;AACA,IAAAC,qBAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAF,OAAA;AACA,IAAAG,uBAAA,GAAAH,OAAA;AAIA,IAAAI,aAAA,GAAAJ,OAAA;AACA,IAAAK,0BAAA,GAAAL,OAAA","ignoreList":[]}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.MandateSetupSuccessScreen = MandateSetupSuccessScreen;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
var _multiPaymentRulesList = require("../consent/multi-payment-rules-list.js");
|
|
9
|
+
var _index = require("../theme/index.js");
|
|
10
|
+
var _index2 = require("../widgets/index.js");
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
+
function MandateSetupSuccessScreen(props) {
|
|
13
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
14
|
+
style: styles.root,
|
|
15
|
+
testID: "mandate-setup-success-screen",
|
|
16
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
17
|
+
style: styles.title,
|
|
18
|
+
children: "Setup successful"
|
|
19
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
20
|
+
style: styles.subtitle,
|
|
21
|
+
children: "Successfully set up your payment method"
|
|
22
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ScrollView, {
|
|
23
|
+
style: styles.scroll,
|
|
24
|
+
contentContainerStyle: styles.scrollContent,
|
|
25
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
26
|
+
style: styles.card,
|
|
27
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_multiPaymentRulesList.MultiPaymentRulesList, {
|
|
28
|
+
rulesTitle: props.rulesTitle,
|
|
29
|
+
rules: props.rules,
|
|
30
|
+
paymentType: props.paymentType
|
|
31
|
+
})
|
|
32
|
+
})
|
|
33
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Footer, {
|
|
34
|
+
onContinue: props.onDone,
|
|
35
|
+
continueButtonText: "Done",
|
|
36
|
+
continueTestID: "mandate-success-done-btn",
|
|
37
|
+
showCancelButton: false
|
|
38
|
+
})]
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
const styles = _reactNative.StyleSheet.create({
|
|
42
|
+
root: {
|
|
43
|
+
flex: 1,
|
|
44
|
+
backgroundColor: _index.Colors.surfacePage,
|
|
45
|
+
paddingHorizontal: 24,
|
|
46
|
+
paddingTop: 32,
|
|
47
|
+
paddingBottom: _index.Spacing.lg
|
|
48
|
+
},
|
|
49
|
+
title: {
|
|
50
|
+
fontFamily: _index.FONT_FAMILY,
|
|
51
|
+
fontSize: 22,
|
|
52
|
+
fontWeight: '700',
|
|
53
|
+
color: _index.Colors.textPrimary,
|
|
54
|
+
textAlign: 'center'
|
|
55
|
+
},
|
|
56
|
+
subtitle: {
|
|
57
|
+
fontFamily: _index.FONT_FAMILY,
|
|
58
|
+
fontSize: 14,
|
|
59
|
+
color: _index.Colors.textMuted,
|
|
60
|
+
textAlign: 'center',
|
|
61
|
+
marginTop: 12,
|
|
62
|
+
marginBottom: 24
|
|
63
|
+
},
|
|
64
|
+
scroll: {
|
|
65
|
+
flex: 1
|
|
66
|
+
},
|
|
67
|
+
scrollContent: {
|
|
68
|
+
paddingBottom: _index.Spacing.md
|
|
69
|
+
},
|
|
70
|
+
card: {
|
|
71
|
+
backgroundColor: _index.Colors.cardMutedBg,
|
|
72
|
+
borderRadius: 16,
|
|
73
|
+
paddingVertical: 16,
|
|
74
|
+
paddingHorizontal: 20,
|
|
75
|
+
borderWidth: _reactNative.StyleSheet.hairlineWidth,
|
|
76
|
+
borderColor: _index.Colors.divider
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
//# sourceMappingURL=mandate-setup-success-screen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_multiPaymentRulesList","_index","_index2","_jsxRuntime","MandateSetupSuccessScreen","props","jsxs","View","style","styles","root","testID","children","jsx","Text","title","subtitle","ScrollView","scroll","contentContainerStyle","scrollContent","card","MultiPaymentRulesList","rulesTitle","rules","paymentType","Footer","onContinue","onDone","continueButtonText","continueTestID","showCancelButton","StyleSheet","create","flex","backgroundColor","Colors","surfacePage","paddingHorizontal","paddingTop","paddingBottom","Spacing","lg","fontFamily","FONT_FAMILY","fontSize","fontWeight","color","textPrimary","textAlign","textMuted","marginTop","marginBottom","md","cardMutedBg","borderRadius","paddingVertical","borderWidth","hairlineWidth","borderColor","divider"],"sourceRoot":"../../../../src","sources":["ui/screens/mandate-setup-success-screen.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAGA,IAAAC,sBAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAAoC,IAAAI,WAAA,GAAAJ,OAAA;AAS7B,SAASK,yBAAyBA,CAACC,KAAqC,EAAe;EAC5F,oBACE,IAAAF,WAAA,CAAAG,IAAA,EAACR,YAAA,CAAAS,IAAI;IAACC,KAAK,EAAEC,MAAM,C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AO,CAACC;EACzB,CAAC;EACD3B,KAAK,EAAE;IACL4B,UAAU,EAAEC,kBAAW;IACvBC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBC,KAAK,EAAEX,aAAM,CAACY,WAAW;IACzBC,SAAS,EAAE;EACb,CAAC;EACDjC,QAAQ,EAAE;IACR2B,UAAU,EAAEC,kBAAW;IACvBC,QAAQ,EAAE,EAAE;IACZE,KAAK,EAAEX,aAAM,CAACc,SAAS;IACvBD,SAAS,EAAE,QAAQ;IACnBE,SAAS,EAAE,EAAE;IACbC,YAAY,EAAE;EAChB,CAAC;EACDlC,MAAM,EAAE;IAAEgB,IAAI,EAAE;EAAE,CAAC;EACnBd,aAAa,EAAE;IAAEoB,aAAa,EAAEC,cAAO,CAACY;EAAG,CAAC;EAC5ChC,IAAI,EAAE;IACJc,eAAe,EAAEC,aAAM,CAACkB,WAAW;IACnCC,YAAY,EAAE,EAAE;IAChBC,eAAe,EAAE,EAAE;IACnBlB,iBAAiB,EAAE,EAAE;IACrBmB,WAAW,EAAEzB,uBAAU,CAAC0B,aAAa;IACrCC,WAAW,EAAEvB,aAAM,CAACwB;EACtB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.RedirectHandoffScreen = RedirectHandoffScreen;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
var _fonts = require("../theme/fonts.js");
|
|
9
|
+
var _gradientSpinner = require("../widgets/gradient-spinner.js");
|
|
10
|
+
var _handoffScreenLayout = require("../widgets/handoff-screen-layout.js");
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
+
/** Shown while the SDK is opening the bank app/browser. Purely informational. */
|
|
13
|
+
function RedirectHandoffScreen() {
|
|
14
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_handoffScreenLayout.HandoffScreenLayout, {
|
|
15
|
+
testID: "redirect-handoff-screen",
|
|
16
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
17
|
+
style: styles.content,
|
|
18
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_gradientSpinner.GradientSpinner, {
|
|
19
|
+
testID: "redirect-handoff-spinner"
|
|
20
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
21
|
+
style: styles.message,
|
|
22
|
+
testID: "redirect-handoff-message",
|
|
23
|
+
children: "You'll be redirected to your bank,\ndon't close this window."
|
|
24
|
+
})]
|
|
25
|
+
})
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
const styles = _reactNative.StyleSheet.create({
|
|
29
|
+
content: {
|
|
30
|
+
alignItems: 'center',
|
|
31
|
+
gap: 32
|
|
32
|
+
},
|
|
33
|
+
message: {
|
|
34
|
+
fontFamily: (0, _fonts.linkFontFamilyForWeight)('400'),
|
|
35
|
+
fontSize: 16,
|
|
36
|
+
fontWeight: '400',
|
|
37
|
+
color: '#FFFFFF',
|
|
38
|
+
textAlign: 'center',
|
|
39
|
+
lineHeight: 24
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
//# sourceMappingURL=redirect-handoff-screen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_fonts","_gradientSpinner","_handoffScreenLayout","_jsxRuntime","RedirectHandoffScreen","jsx","HandoffScreenLayout","testID","children","jsxs","View","style","styles","content","GradientSpinner","Text","message","StyleSheet","create","alignItems","gap","fontFamily","linkFontFamilyForWeight","fontSize","fontWeight","color","textAlign","lineHeight"],"sourceRoot":"../../../../src","sources":["ui/screens/redirect-handoff-screen.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,gBAAA,GAAAF,OAAA;AACA,IAAAG,oBAAA,GAAAH,OAAA;AAAuE,IAAAI,WAAA,GAAAJ,OAAA;AAEvE;AACO,SAASK,qBAAqBA,CAAA,EAAgB;EACnD,oBACE,IAAAD,WAAA,CAAAE,GAAA,EAACH,oBAAA,CAAAI,mBAAmB;IAACC,MAAM,EAAC,yBAAyB;IAAAC,QAAA,eACnD,IAAAL,WAAA,CAAAM,IAAA,EAACX,YAAA,CAAAY,IAAI;MAACC,KAAK,EAAEC,MAAM,CAACC,OAAQ;MAAAL,QAAA,gBAC1B,IAAAL,WAAA,CAAAE,GAAA,EAACJ,gBAAA,CAAAa,eAAe;QAACP,MAAM,EAAC;MAA0B,CAAE,CAAC,eACrD,IAAAJ,WAAA,CAAAE,GAAA,EAACP,YAAA,CAAAiB,IAAI;QAACJ,KAAK,EAAEC,MAAM,CAACI,OAAQ;QAACT,MAAM,EAAC,0BAA0B;QAAAC,QAAA,EAC3D;MAA8D,CAC3D,CAAC;IAAA,CACH;EAAC,CACY,CAAC;AAE1B;AAEA,MAAMI,MAAM,GAAGK,uBAAU,CAACC,MAAM,CAAC;EAC/BL,OAAO,EAAE;IACPM,UAAU,EAAE,QAAQ;IACpBC,GAAG,EAAE;EACP,CAAC;EACDJ,OAAO,EAAE;IACPK,UAAU,EAAE,IAAAC,8BAAuB,EAAC,KAAK,CAAC;IAC1CC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBC,KAAK,EAAE,SAAS;IAChBC,SAAS,EAAE,QAAQ;IACnBC,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ResultScreen = ResultScreen;
|
|
7
|
+
var _vectorIcons = require("@expo/vector-icons");
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _index = require("../theme/index.js");
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
function ResultScreen({
|
|
12
|
+
title,
|
|
13
|
+
isSuccess,
|
|
14
|
+
onDone
|
|
15
|
+
}) {
|
|
16
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
17
|
+
style: styles.container,
|
|
18
|
+
testID: "result-screen",
|
|
19
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
20
|
+
testID: isSuccess ? 'result-success-icon' : 'result-failure-icon',
|
|
21
|
+
style: [styles.iconBubble, {
|
|
22
|
+
backgroundColor: isSuccess ? _index.Colors.successGreen : _index.Colors.errorRed
|
|
23
|
+
}],
|
|
24
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
25
|
+
name: isSuccess ? 'checkmark-sharp' : 'close-sharp',
|
|
26
|
+
size: 40,
|
|
27
|
+
color: "#FFFFFF"
|
|
28
|
+
})
|
|
29
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
30
|
+
style: _index.Typography.title,
|
|
31
|
+
testID: "result-heading",
|
|
32
|
+
children: isSuccess ? 'Payment complete' : 'Payment failed'
|
|
33
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
34
|
+
style: _index.Typography.bodyMuted,
|
|
35
|
+
testID: "result-message",
|
|
36
|
+
children: title
|
|
37
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Pressable, {
|
|
38
|
+
onPress: onDone,
|
|
39
|
+
accessibilityRole: "button",
|
|
40
|
+
testID: "result-done-btn",
|
|
41
|
+
style: [styles.button, {
|
|
42
|
+
backgroundColor: isSuccess ? _index.Colors.spareBlue : _index.Colors.surfaceMuted
|
|
43
|
+
}],
|
|
44
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
45
|
+
style: [_index.Typography.button, {
|
|
46
|
+
color: isSuccess ? '#FFFFFF' : _index.Colors.textPrimary
|
|
47
|
+
}],
|
|
48
|
+
children: "Done"
|
|
49
|
+
})
|
|
50
|
+
})]
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
const styles = _reactNative.StyleSheet.create({
|
|
54
|
+
container: {
|
|
55
|
+
flex: 1,
|
|
56
|
+
alignItems: 'center',
|
|
57
|
+
justifyContent: 'center',
|
|
58
|
+
padding: _index.Spacing.xl,
|
|
59
|
+
gap: _index.Spacing.lg,
|
|
60
|
+
backgroundColor: _index.Colors.surfacePage
|
|
61
|
+
},
|
|
62
|
+
iconBubble: {
|
|
63
|
+
width: 72,
|
|
64
|
+
height: 72,
|
|
65
|
+
borderRadius: 36,
|
|
66
|
+
alignItems: 'center',
|
|
67
|
+
justifyContent: 'center'
|
|
68
|
+
},
|
|
69
|
+
iconGlyph: {
|
|
70
|
+
color: '#FFFFFF',
|
|
71
|
+
fontSize: 36,
|
|
72
|
+
fontWeight: '700'
|
|
73
|
+
},
|
|
74
|
+
button: {
|
|
75
|
+
paddingHorizontal: _index.Spacing.xl,
|
|
76
|
+
paddingVertical: _index.Spacing.md,
|
|
77
|
+
borderRadius: 12,
|
|
78
|
+
minWidth: 160,
|
|
79
|
+
alignItems: 'center',
|
|
80
|
+
marginTop: _index.Spacing.lg
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
//# sourceMappingURL=result-screen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_vectorIcons","require","_reactNative","_index","_jsxRuntime","ResultScreen","title","isSuccess","onDone","jsxs","View","style","styles","container","testID","children","jsx","iconBubble","backgroundColor","Colors","successGreen","errorRed","Ionicons","name","size","color","Text","Typography","bodyMuted","Pressable","onPress","accessibilityRole","button","spareBlue","surfaceMuted","textPrimary","StyleSheet","create","flex","alignItems","justifyContent","padding","Spacing","xl","gap","lg","surfacePage","width","height","borderRadius","iconGlyph","fontSize","fontWeight","paddingHorizontal","paddingVertical","md","minWidth","marginTop"],"sourceRoot":"../../../../src","sources":["ui/screens/result-screen.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AAAuD,IAAAG,WAAA,GAAAH,OAAA;AAQhD,SAASI,YAAYA,CAAC;EAAEC,KAAK;EAAEC,SAAS;EAAEC;AAA0B,CAAC,EAAe;EACzF,oBACE,IAAAJ,WAAA,CAAAK,IAAA,EAACP,YAAA,CAAAQ,IAAI;IAACC,KAAK,EAAEC,MAAM,CAACC,SAAU;IAACC,MAAM,EAAC,eAAe;IAAAC,QAAA,gBACnD,IAAAX,WAAA,CAAAY,GAAA,EAACd,YAAA,CAAAQ,IAAI;MACHI,MAAM,EAAEP,SAAS,GAAG,qBAAqB,GAAG,qBAAsB;MAClEI,KAAK,EAAE,CACLC,MAAM,CAACK,UAAU,EACjB;QAAEC,eAAe,EAAEX,SAAS,GAAGY,aAAM,CAACC,YAAY,GAAGD,aAAM,CAACE;MAAS,CAAC,CACtE;MAAAN,QAAA,eAEF,IAAAX,WAAA,CAAAY,GAAA,EAAChB,YAAA,CAAAsB,QAAQ;QAACC,IAAI,EAAEhB,SAAS,GAAG,iBAAiB,GAAG,aAAc;QAACiB,IAAI,EAAE,EAAG;QAACC,KAAK,EAAC;MAAS,CAAE;IAAC,CACvF,CAAC,eACP,IAAArB,WAAA,CAAAY,GAAA,EAACd,YAAA,CAAAwB,IAAI;MAACf,KAAK,EAAEgB,iBAAU,CAACrB,KAAM;MAACQ,MAAM,EAAC,gBAAgB;MAAAC,QAAA,EACnDR,SAAS,GAAG,kBAAkB,GAAG;IAAgB,CAC9C,CAAC,eACP,IAAAH,WAAA,CAAAY,GAAA,EAACd,YAAA,CAAAwB,IAAI;MAACf,KAAK,EAAEgB,iBAAU,CAACC,SAAU;MAACd,MAAM,EAAC,gBAAgB;MA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