@omniretail/lending 0.0.0-stage → 3.0.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/README.md +322 -2
- package/lib/assets/fonts/GorditaBold.ttf +0 -0
- package/lib/assets/fonts/GorditaMedium.ttf +0 -0
- package/lib/assets/fonts/GorditaRegular.ttf +0 -0
- package/lib/assets/lending/close.png +0 -0
- package/lib/assets/lending/icon-apply.png +0 -0
- package/lib/assets/lending/icon-approval-clock.png +0 -0
- package/lib/assets/lending/icon-clock.png +0 -0
- package/lib/assets/lending/icon-close.png +0 -0
- package/lib/assets/lending/icon-copy.png +0 -0
- package/lib/assets/lending/icon-download.png +0 -0
- package/lib/assets/lending/icon-eye.png +0 -0
- package/lib/assets/lending/icon-filter.png +0 -0
- package/lib/assets/lending/icon-history.png +0 -0
- package/lib/assets/lending/icon-megaphone.png +0 -0
- package/lib/assets/lending/icon-payment-success.png +0 -0
- package/lib/assets/lending/icon-plan-check.png +0 -0
- package/lib/assets/lending/icon-plus.png +0 -0
- package/lib/assets/lending/icon-radio-on.png +0 -0
- package/lib/assets/lending/icon-repay.png +0 -0
- package/lib/assets/lending/icon-statement-synced.png +0 -0
- package/lib/assets/lending/icon-step-done.png +0 -0
- package/lib/assets/lending/icon-step-pending.png +0 -0
- package/lib/assets/lending/icon-submitted-check.png +0 -0
- package/lib/assets/lending/icon-synced.png +0 -0
- package/lib/assets/lending/icon-tx-credit.png +0 -0
- package/lib/assets/lending/icon-tx-debit.png +0 -0
- package/lib/assets/lending/icon-upgrade.png +0 -0
- package/lib/assets/lending/icon-upload.png +0 -0
- package/lib/assets/lending/illo-auth-details.png +0 -0
- package/lib/assets/lending/illo-brand-selection.png +0 -0
- package/lib/assets/lending/illo-coins.png +0 -0
- package/lib/assets/lending/illo-credit-amount.png +0 -0
- package/lib/assets/lending/illo-customer-agreement.png +0 -0
- package/lib/assets/lending/illo-hand.png +0 -0
- package/lib/assets/lending/illo-limit-pending.png +0 -0
- package/lib/assets/lending/illo-limit-rejected.png +0 -0
- package/lib/assets/lending/illo-manufacturer.png +0 -0
- package/lib/assets/lending/illo-no-active-credit.png +0 -0
- package/lib/assets/lending/illo-proof-account.png +0 -0
- package/lib/assets/lending/illo-repay-phone.png +0 -0
- package/lib/assets/lending/illo-request-pending.png +0 -0
- package/lib/assets/lending/logo-cbn.png +0 -0
- package/lib/assets/lending/logo-collections.png +0 -0
- package/lib/assets/lending/logo-fmn.png +0 -0
- package/lib/assets/lending/logo-golden-penny.png +0 -0
- package/lib/assets/lending/logo-guinness.png +0 -0
- package/lib/assets/lending/logo-ndic.png +0 -0
- package/lib/assets/lending/logo-nestle.png +0 -0
- package/lib/assets/lending/logo-omnipay.png +0 -0
- package/lib/assets/lending/sig-beneficiary.png +0 -0
- package/lib/assets/lending/sig-omnipay.png +0 -0
- package/lib/assets/lending/watermark-receipt.png +0 -0
- package/lib/components/IconBack.d.ts +7 -0
- package/lib/components/IconBack.d.ts.map +1 -0
- package/lib/components/IconBack.js +17 -0
- package/lib/components/IconBack.js.map +1 -0
- package/lib/components/LicensingFooter.d.ts +6 -0
- package/lib/components/LicensingFooter.d.ts.map +1 -0
- package/lib/components/LicensingFooter.js +76 -0
- package/lib/components/LicensingFooter.js.map +1 -0
- package/lib/components/ScreenHeader.d.ts +10 -0
- package/lib/components/ScreenHeader.d.ts.map +1 -0
- package/lib/components/ScreenHeader.js +72 -0
- package/lib/components/ScreenHeader.js.map +1 -0
- package/lib/components/index.d.ts +5 -0
- package/lib/components/index.d.ts.map +1 -0
- package/lib/components/index.js +4 -0
- package/lib/components/index.js.map +1 -0
- package/lib/flows/lending/AgreementSigningSheet.d.ts +8 -0
- package/lib/flows/lending/AgreementSigningSheet.d.ts.map +1 -0
- package/lib/flows/lending/AgreementSigningSheet.js +178 -0
- package/lib/flows/lending/AgreementSigningSheet.js.map +1 -0
- package/lib/flows/lending/ApplyCreditFlow.d.ts +6 -0
- package/lib/flows/lending/ApplyCreditFlow.d.ts.map +1 -0
- package/lib/flows/lending/ApplyCreditFlow.js +64 -0
- package/lib/flows/lending/ApplyCreditFlow.js.map +1 -0
- package/lib/flows/lending/AuthorisationDetailsSheet.d.ts +9 -0
- package/lib/flows/lending/AuthorisationDetailsSheet.d.ts.map +1 -0
- package/lib/flows/lending/AuthorisationDetailsSheet.js +94 -0
- package/lib/flows/lending/AuthorisationDetailsSheet.js.map +1 -0
- package/lib/flows/lending/BankListSheet.d.ts +12 -0
- package/lib/flows/lending/BankListSheet.d.ts.map +1 -0
- package/lib/flows/lending/BankListSheet.js +105 -0
- package/lib/flows/lending/BankListSheet.js.map +1 -0
- package/lib/flows/lending/BankStatementSyncedSheet.d.ts +7 -0
- package/lib/flows/lending/BankStatementSyncedSheet.d.ts.map +1 -0
- package/lib/flows/lending/BankStatementSyncedSheet.js +71 -0
- package/lib/flows/lending/BankStatementSyncedSheet.js.map +1 -0
- package/lib/flows/lending/BottomSheet.d.ts +11 -0
- package/lib/flows/lending/BottomSheet.d.ts.map +1 -0
- package/lib/flows/lending/BottomSheet.js +72 -0
- package/lib/flows/lending/BottomSheet.js.map +1 -0
- package/lib/flows/lending/BrandCreditOverview.d.ts +6 -0
- package/lib/flows/lending/BrandCreditOverview.d.ts.map +1 -0
- package/lib/flows/lending/BrandCreditOverview.js +43 -0
- package/lib/flows/lending/BrandCreditOverview.js.map +1 -0
- package/lib/flows/lending/BrandLimitCard.d.ts +19 -0
- package/lib/flows/lending/BrandLimitCard.d.ts.map +1 -0
- package/lib/flows/lending/BrandLimitCard.js +122 -0
- package/lib/flows/lending/BrandLimitCard.js.map +1 -0
- package/lib/flows/lending/BrandSelectionSheet.d.ts +10 -0
- package/lib/flows/lending/BrandSelectionSheet.d.ts.map +1 -0
- package/lib/flows/lending/BrandSelectionSheet.js +88 -0
- package/lib/flows/lending/BrandSelectionSheet.js.map +1 -0
- package/lib/flows/lending/CompletePaymentSheet.d.ts +11 -0
- package/lib/flows/lending/CompletePaymentSheet.d.ts.map +1 -0
- package/lib/flows/lending/CompletePaymentSheet.js +139 -0
- package/lib/flows/lending/CompletePaymentSheet.js.map +1 -0
- package/lib/flows/lending/ConfirmStatusSheet.d.ts +11 -0
- package/lib/flows/lending/ConfirmStatusSheet.d.ts.map +1 -0
- package/lib/flows/lending/ConfirmStatusSheet.js +63 -0
- package/lib/flows/lending/ConfirmStatusSheet.js.map +1 -0
- package/lib/flows/lending/CreditAgreementSheet.d.ts +13 -0
- package/lib/flows/lending/CreditAgreementSheet.d.ts.map +1 -0
- package/lib/flows/lending/CreditAgreementSheet.js +242 -0
- package/lib/flows/lending/CreditAgreementSheet.js.map +1 -0
- package/lib/flows/lending/CreditAmountSheet.d.ts +9 -0
- package/lib/flows/lending/CreditAmountSheet.d.ts.map +1 -0
- package/lib/flows/lending/CreditAmountSheet.js +96 -0
- package/lib/flows/lending/CreditAmountSheet.js.map +1 -0
- package/lib/flows/lending/CreditBreakdownSheet.d.ts +8 -0
- package/lib/flows/lending/CreditBreakdownSheet.d.ts.map +1 -0
- package/lib/flows/lending/CreditBreakdownSheet.js +82 -0
- package/lib/flows/lending/CreditBreakdownSheet.js.map +1 -0
- package/lib/flows/lending/CreditFlow.d.ts +12 -0
- package/lib/flows/lending/CreditFlow.d.ts.map +1 -0
- package/lib/flows/lending/CreditFlow.js +458 -0
- package/lib/flows/lending/CreditFlow.js.map +1 -0
- package/lib/flows/lending/CreditHistory.screen.d.ts +10 -0
- package/lib/flows/lending/CreditHistory.screen.d.ts.map +1 -0
- package/lib/flows/lending/CreditHistory.screen.js +138 -0
- package/lib/flows/lending/CreditHistory.screen.js.map +1 -0
- package/lib/flows/lending/CreditReceipt.screen.d.ts +12 -0
- package/lib/flows/lending/CreditReceipt.screen.d.ts.map +1 -0
- package/lib/flows/lending/CreditReceipt.screen.js +73 -0
- package/lib/flows/lending/CreditReceipt.screen.js.map +1 -0
- package/lib/flows/lending/CreditUpgrade.screen.d.ts +12 -0
- package/lib/flows/lending/CreditUpgrade.screen.d.ts.map +1 -0
- package/lib/flows/lending/CreditUpgrade.screen.js +168 -0
- package/lib/flows/lending/CreditUpgrade.screen.js.map +1 -0
- package/lib/flows/lending/DowngradeLimitSheet.d.ts +8 -0
- package/lib/flows/lending/DowngradeLimitSheet.d.ts.map +1 -0
- package/lib/flows/lending/DowngradeLimitSheet.js +103 -0
- package/lib/flows/lending/DowngradeLimitSheet.js.map +1 -0
- package/lib/flows/lending/FindCreditSheet.d.ts +11 -0
- package/lib/flows/lending/FindCreditSheet.d.ts.map +1 -0
- package/lib/flows/lending/FindCreditSheet.js +140 -0
- package/lib/flows/lending/FindCreditSheet.js.map +1 -0
- package/lib/flows/lending/FlatLoanAgreementBody.d.ts +10 -0
- package/lib/flows/lending/FlatLoanAgreementBody.d.ts.map +1 -0
- package/lib/flows/lending/FlatLoanAgreementBody.js +224 -0
- package/lib/flows/lending/FlatLoanAgreementBody.js.map +1 -0
- package/lib/flows/lending/FlatLoanDetailsSheet.d.ts +6 -0
- package/lib/flows/lending/FlatLoanDetailsSheet.d.ts.map +1 -0
- package/lib/flows/lending/FlatLoanDetailsSheet.js +127 -0
- package/lib/flows/lending/FlatLoanDetailsSheet.js.map +1 -0
- package/lib/flows/lending/GetStatementSheet.d.ts +6 -0
- package/lib/flows/lending/GetStatementSheet.d.ts.map +1 -0
- package/lib/flows/lending/GetStatementSheet.js +90 -0
- package/lib/flows/lending/GetStatementSheet.js.map +1 -0
- package/lib/flows/lending/HistoryFilterSheet.d.ts +6 -0
- package/lib/flows/lending/HistoryFilterSheet.d.ts.map +1 -0
- package/lib/flows/lending/HistoryFilterSheet.js +140 -0
- package/lib/flows/lending/HistoryFilterSheet.js.map +1 -0
- package/lib/flows/lending/IconClose.d.ts +6 -0
- package/lib/flows/lending/IconClose.d.ts.map +1 -0
- package/lib/flows/lending/IconClose.js +11 -0
- package/lib/flows/lending/IconClose.js.map +1 -0
- package/lib/flows/lending/IconEyeOpen.d.ts +4 -0
- package/lib/flows/lending/IconEyeOpen.d.ts.map +1 -0
- package/lib/flows/lending/IconEyeOpen.js +11 -0
- package/lib/flows/lending/IconEyeOpen.js.map +1 -0
- package/lib/flows/lending/IconPayArrow.d.ts +5 -0
- package/lib/flows/lending/IconPayArrow.d.ts.map +1 -0
- package/lib/flows/lending/IconPayArrow.js +10 -0
- package/lib/flows/lending/IconPayArrow.js.map +1 -0
- package/lib/flows/lending/IconPinStar.d.ts +10 -0
- package/lib/flows/lending/IconPinStar.d.ts.map +1 -0
- package/lib/flows/lending/IconPinStar.js +11 -0
- package/lib/flows/lending/IconPinStar.js.map +1 -0
- package/lib/flows/lending/IncreaseSpendingLimitSheet.d.ts +6 -0
- package/lib/flows/lending/IncreaseSpendingLimitSheet.d.ts.map +1 -0
- package/lib/flows/lending/IncreaseSpendingLimitSheet.js +115 -0
- package/lib/flows/lending/IncreaseSpendingLimitSheet.js.map +1 -0
- package/lib/flows/lending/Lending.screen.d.ts +12 -0
- package/lib/flows/lending/Lending.screen.d.ts.map +1 -0
- package/lib/flows/lending/Lending.screen.js +244 -0
- package/lib/flows/lending/Lending.screen.js.map +1 -0
- package/lib/flows/lending/LendingDetails.screen.d.ts +5 -0
- package/lib/flows/lending/LendingDetails.screen.d.ts.map +1 -0
- package/lib/flows/lending/LendingDetails.screen.js +34 -0
- package/lib/flows/lending/LendingDetails.screen.js.map +1 -0
- package/lib/flows/lending/LimitHomeWithLimit.screen.d.ts +17 -0
- package/lib/flows/lending/LimitHomeWithLimit.screen.d.ts.map +1 -0
- package/lib/flows/lending/LimitHomeWithLimit.screen.js +295 -0
- package/lib/flows/lending/LimitHomeWithLimit.screen.js.map +1 -0
- package/lib/flows/lending/ListSearchField.d.ts +8 -0
- package/lib/flows/lending/ListSearchField.d.ts.map +1 -0
- package/lib/flows/lending/ListSearchField.js +37 -0
- package/lib/flows/lending/ListSearchField.js.map +1 -0
- package/lib/flows/lending/ManufacturerListSheet.d.ts +7 -0
- package/lib/flows/lending/ManufacturerListSheet.d.ts.map +1 -0
- package/lib/flows/lending/ManufacturerListSheet.js +83 -0
- package/lib/flows/lending/ManufacturerListSheet.js.map +1 -0
- package/lib/flows/lending/ManufacturerStatementSheet.d.ts +15 -0
- package/lib/flows/lending/ManufacturerStatementSheet.d.ts.map +1 -0
- package/lib/flows/lending/ManufacturerStatementSheet.js +177 -0
- package/lib/flows/lending/ManufacturerStatementSheet.js.map +1 -0
- package/lib/flows/lending/PaymentSuccessfulSheet.d.ts +6 -0
- package/lib/flows/lending/PaymentSuccessfulSheet.d.ts.map +1 -0
- package/lib/flows/lending/PaymentSuccessfulSheet.js +56 -0
- package/lib/flows/lending/PaymentSuccessfulSheet.js.map +1 -0
- package/lib/flows/lending/ProofOfAccountSheet.d.ts +23 -0
- package/lib/flows/lending/ProofOfAccountSheet.d.ts.map +1 -0
- package/lib/flows/lending/ProofOfAccountSheet.js +213 -0
- package/lib/flows/lending/ProofOfAccountSheet.js.map +1 -0
- package/lib/flows/lending/ReferScreenChrome.d.ts +8 -0
- package/lib/flows/lending/ReferScreenChrome.d.ts.map +1 -0
- package/lib/flows/lending/ReferScreenChrome.js +31 -0
- package/lib/flows/lending/ReferScreenChrome.js.map +1 -0
- package/lib/flows/lending/ReferralCodeSheet.d.ts +11 -0
- package/lib/flows/lending/ReferralCodeSheet.d.ts.map +1 -0
- package/lib/flows/lending/ReferralCodeSheet.js +137 -0
- package/lib/flows/lending/ReferralCodeSheet.js.map +1 -0
- package/lib/flows/lending/RepayCredit.screen.d.ts +6 -0
- package/lib/flows/lending/RepayCredit.screen.d.ts.map +1 -0
- package/lib/flows/lending/RepayCredit.screen.js +352 -0
- package/lib/flows/lending/RepayCredit.screen.js.map +1 -0
- package/lib/flows/lending/RepayErrorSheet.d.ts +6 -0
- package/lib/flows/lending/RepayErrorSheet.d.ts.map +1 -0
- package/lib/flows/lending/RepayErrorSheet.js +71 -0
- package/lib/flows/lending/RepayErrorSheet.js.map +1 -0
- package/lib/flows/lending/RepaymentPlanSheet.d.ts +8 -0
- package/lib/flows/lending/RepaymentPlanSheet.d.ts.map +1 -0
- package/lib/flows/lending/RepaymentPlanSheet.js +49 -0
- package/lib/flows/lending/RepaymentPlanSheet.js.map +1 -0
- package/lib/flows/lending/RequestPendingSheet.d.ts +9 -0
- package/lib/flows/lending/RequestPendingSheet.d.ts.map +1 -0
- package/lib/flows/lending/RequestPendingSheet.js +109 -0
- package/lib/flows/lending/RequestPendingSheet.js.map +1 -0
- package/lib/flows/lending/SubLimitEmpty.d.ts +5 -0
- package/lib/flows/lending/SubLimitEmpty.d.ts.map +1 -0
- package/lib/flows/lending/SubLimitEmpty.js +65 -0
- package/lib/flows/lending/SubLimitEmpty.js.map +1 -0
- package/lib/flows/lending/Transactions.screen.d.ts +5 -0
- package/lib/flows/lending/Transactions.screen.d.ts.map +1 -0
- package/lib/flows/lending/Transactions.screen.js +124 -0
- package/lib/flows/lending/Transactions.screen.js.map +1 -0
- package/lib/flows/lending/agreements/CustomerAgreementBody.d.ts +8 -0
- package/lib/flows/lending/agreements/CustomerAgreementBody.d.ts.map +1 -0
- package/lib/flows/lending/agreements/CustomerAgreementBody.js +35 -0
- package/lib/flows/lending/agreements/CustomerAgreementBody.js.map +1 -0
- package/lib/flows/lending/agreements/agreementFormat.d.ts +16 -0
- package/lib/flows/lending/agreements/agreementFormat.d.ts.map +1 -0
- package/lib/flows/lending/agreements/agreementFormat.js +73 -0
- package/lib/flows/lending/agreements/agreementFormat.js.map +1 -0
- package/lib/flows/lending/agreements/agreementPrintHtml.d.ts +7 -0
- package/lib/flows/lending/agreements/agreementPrintHtml.d.ts.map +1 -0
- package/lib/flows/lending/agreements/agreementPrintHtml.generated.d.ts +7 -0
- package/lib/flows/lending/agreements/agreementPrintHtml.generated.d.ts.map +1 -0
- package/lib/flows/lending/agreements/agreementPrintHtml.generated.js +5520 -0
- package/lib/flows/lending/agreements/agreementPrintHtml.generated.js.map +1 -0
- package/lib/flows/lending/agreements/agreementPrintHtml.js +32 -0
- package/lib/flows/lending/agreements/agreementPrintHtml.js.map +1 -0
- package/lib/flows/lending/agreements/agreementStyles.d.ts +92 -0
- package/lib/flows/lending/agreements/agreementStyles.d.ts.map +1 -0
- package/lib/flows/lending/agreements/agreementStyles.js +70 -0
- package/lib/flows/lending/agreements/agreementStyles.js.map +1 -0
- package/lib/flows/lending/agreements/agreementTypes.d.ts +11 -0
- package/lib/flows/lending/agreements/agreementTypes.d.ts.map +1 -0
- package/lib/flows/lending/agreements/agreementTypes.js +2 -0
- package/lib/flows/lending/agreements/agreementTypes.js.map +1 -0
- package/lib/flows/lending/agreements/generalAgreement.d.ts +4 -0
- package/lib/flows/lending/agreements/generalAgreement.d.ts.map +1 -0
- package/lib/flows/lending/agreements/generalAgreement.js +14 -0
- package/lib/flows/lending/agreements/generalAgreement.js.map +1 -0
- package/lib/flows/lending/agreements/generalAgreementV2.d.ts +4 -0
- package/lib/flows/lending/agreements/generalAgreementV2.d.ts.map +1 -0
- package/lib/flows/lending/agreements/generalAgreementV2.js +14 -0
- package/lib/flows/lending/agreements/generalAgreementV2.js.map +1 -0
- package/lib/flows/lending/agreements/generalAgreementV3.d.ts +4 -0
- package/lib/flows/lending/agreements/generalAgreementV3.d.ts.map +1 -0
- package/lib/flows/lending/agreements/generalAgreementV3.js +14 -0
- package/lib/flows/lending/agreements/generalAgreementV3.js.map +1 -0
- package/lib/flows/lending/agreements/generalAgreementV4.d.ts +4 -0
- package/lib/flows/lending/agreements/generalAgreementV4.d.ts.map +1 -0
- package/lib/flows/lending/agreements/generalAgreementV4.js +14 -0
- package/lib/flows/lending/agreements/generalAgreementV4.js.map +1 -0
- package/lib/flows/lending/agreements/generalAgreementV5.d.ts +4 -0
- package/lib/flows/lending/agreements/generalAgreementV5.d.ts.map +1 -0
- package/lib/flows/lending/agreements/generalAgreementV5.js +14 -0
- package/lib/flows/lending/agreements/generalAgreementV5.js.map +1 -0
- package/lib/flows/lending/agreements/ghanaAgreement.d.ts +4 -0
- package/lib/flows/lending/agreements/ghanaAgreement.d.ts.map +1 -0
- package/lib/flows/lending/agreements/ghanaAgreement.js +14 -0
- package/lib/flows/lending/agreements/ghanaAgreement.js.map +1 -0
- package/lib/flows/lending/agreements/mcplAgreement.d.ts +4 -0
- package/lib/flows/lending/agreements/mcplAgreement.d.ts.map +1 -0
- package/lib/flows/lending/agreements/mcplAgreement.js +14 -0
- package/lib/flows/lending/agreements/mcplAgreement.js.map +1 -0
- package/lib/flows/lending/agreements/mcplAgreementV2.d.ts +4 -0
- package/lib/flows/lending/agreements/mcplAgreementV2.d.ts.map +1 -0
- package/lib/flows/lending/agreements/mcplAgreementV2.js +14 -0
- package/lib/flows/lending/agreements/mcplAgreementV2.js.map +1 -0
- package/lib/flows/lending/agreements/omnibizAgreement.d.ts +4 -0
- package/lib/flows/lending/agreements/omnibizAgreement.d.ts.map +1 -0
- package/lib/flows/lending/agreements/omnibizAgreement.js +14 -0
- package/lib/flows/lending/agreements/omnibizAgreement.js.map +1 -0
- package/lib/flows/lending/agreements/omnibizAgreementV2.d.ts +4 -0
- package/lib/flows/lending/agreements/omnibizAgreementV2.d.ts.map +1 -0
- package/lib/flows/lending/agreements/omnibizAgreementV2.js +14 -0
- package/lib/flows/lending/agreements/omnibizAgreementV2.js.map +1 -0
- package/lib/flows/lending/agreements/pickAgreementKind.d.ts +13 -0
- package/lib/flows/lending/agreements/pickAgreementKind.d.ts.map +1 -0
- package/lib/flows/lending/agreements/pickAgreementKind.js +43 -0
- package/lib/flows/lending/agreements/pickAgreementKind.js.map +1 -0
- package/lib/flows/lending/downloadDisplayedAgreement.d.ts +13 -0
- package/lib/flows/lending/downloadDisplayedAgreement.d.ts.map +1 -0
- package/lib/flows/lending/downloadDisplayedAgreement.js +48 -0
- package/lib/flows/lending/downloadDisplayedAgreement.js.map +1 -0
- package/lib/flows/lending/ghanaBanks.d.ts +3 -0
- package/lib/flows/lending/ghanaBanks.d.ts.map +1 -0
- package/lib/flows/lending/ghanaBanks.js +7 -0
- package/lib/flows/lending/ghanaBanks.js.map +1 -0
- package/lib/flows/lending/inventoryCreditAgreementCopy.d.ts +4 -0
- package/lib/flows/lending/inventoryCreditAgreementCopy.d.ts.map +1 -0
- package/lib/flows/lending/inventoryCreditAgreementCopy.js +117 -0
- package/lib/flows/lending/inventoryCreditAgreementCopy.js.map +1 -0
- package/lib/flows/lending/manufacturers.d.ts +11 -0
- package/lib/flows/lending/manufacturers.d.ts.map +1 -0
- package/lib/flows/lending/manufacturers.js +7 -0
- package/lib/flows/lending/manufacturers.js.map +1 -0
- package/lib/flows/lending/useAccountNameInquiry.d.ts +5 -0
- package/lib/flows/lending/useAccountNameInquiry.d.ts.map +1 -0
- package/lib/flows/lending/useAccountNameInquiry.js +35 -0
- package/lib/flows/lending/useAccountNameInquiry.js.map +1 -0
- package/lib/index.d.ts +8 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +7 -0
- package/lib/index.js.map +1 -0
- package/lib/sdk/SDKRoot.d.ts +6 -0
- package/lib/sdk/SDKRoot.d.ts.map +1 -0
- package/lib/sdk/SDKRoot.js +28 -0
- package/lib/sdk/SDKRoot.js.map +1 -0
- package/lib/sdk/bootstrap/SDKConfigProvider.d.ts +7 -0
- package/lib/sdk/bootstrap/SDKConfigProvider.d.ts.map +1 -0
- package/lib/sdk/bootstrap/SDKConfigProvider.js +132 -0
- package/lib/sdk/bootstrap/SDKConfigProvider.js.map +1 -0
- package/lib/sdk/bootstrap/bootstrapScreens.d.ts +8 -0
- package/lib/sdk/bootstrap/bootstrapScreens.d.ts.map +1 -0
- package/lib/sdk/bootstrap/bootstrapScreens.js +44 -0
- package/lib/sdk/bootstrap/bootstrapScreens.js.map +1 -0
- package/lib/sdk/configIdentity.d.ts +4 -0
- package/lib/sdk/configIdentity.d.ts.map +1 -0
- package/lib/sdk/configIdentity.js +17 -0
- package/lib/sdk/configIdentity.js.map +1 -0
- package/lib/sdk/providers/ApplicationFlowProvider.d.ts +9 -0
- package/lib/sdk/providers/ApplicationFlowProvider.d.ts.map +1 -0
- package/lib/sdk/providers/ApplicationFlowProvider.js +21 -0
- package/lib/sdk/providers/ApplicationFlowProvider.js.map +1 -0
- package/lib/sdk/providers/BrandColorProvider.d.ts +19 -0
- package/lib/sdk/providers/BrandColorProvider.d.ts.map +1 -0
- package/lib/sdk/providers/BrandColorProvider.js +24 -0
- package/lib/sdk/providers/BrandColorProvider.js.map +1 -0
- package/lib/sdk/providers/PayLimitProvider.d.ts +2 -0
- package/lib/sdk/providers/PayLimitProvider.d.ts.map +1 -0
- package/lib/sdk/providers/PayLimitProvider.js +2 -0
- package/lib/sdk/providers/PayLimitProvider.js.map +1 -0
- package/lib/sdk/providers/SDKFontProvider.d.ts +5 -0
- package/lib/sdk/providers/SDKFontProvider.d.ts.map +1 -0
- package/lib/sdk/providers/SDKFontProvider.js +23 -0
- package/lib/sdk/providers/SDKFontProvider.js.map +1 -0
- package/lib/sdk/providers/SDKProviders.d.ts +6 -0
- package/lib/sdk/providers/SDKProviders.d.ts.map +1 -0
- package/lib/sdk/providers/SDKProviders.js +10 -0
- package/lib/sdk/providers/SDKProviders.js.map +1 -0
- package/lib/sdk/providers/ToastProvider.d.ts +5 -0
- package/lib/sdk/providers/ToastProvider.d.ts.map +1 -0
- package/lib/sdk/providers/ToastProvider.js +53 -0
- package/lib/sdk/providers/ToastProvider.js.map +1 -0
- package/lib/sdk/screens/InterceptAndToastScreen.d.ts +6 -0
- package/lib/sdk/screens/InterceptAndToastScreen.d.ts.map +1 -0
- package/lib/sdk/screens/InterceptAndToastScreen.js +91 -0
- package/lib/sdk/screens/InterceptAndToastScreen.js.map +1 -0
- package/lib/sdk/screens/registry.d.ts +42 -0
- package/lib/sdk/screens/registry.d.ts.map +1 -0
- package/lib/sdk/screens/registry.js +41 -0
- package/lib/sdk/screens/registry.js.map +1 -0
- package/lib/sdk/types.d.ts +104 -0
- package/lib/sdk/types.d.ts.map +1 -0
- package/lib/sdk/types.js +48 -0
- package/lib/sdk/types.js.map +1 -0
- package/lib/services/apply/accountNameInquiry.d.ts +6 -0
- package/lib/services/apply/accountNameInquiry.d.ts.map +1 -0
- package/lib/services/apply/accountNameInquiry.js +45 -0
- package/lib/services/apply/accountNameInquiry.js.map +1 -0
- package/lib/services/apply/applicationFlow.d.ts +21 -0
- package/lib/services/apply/applicationFlow.d.ts.map +1 -0
- package/lib/services/apply/applicationFlow.js +96 -0
- package/lib/services/apply/applicationFlow.js.map +1 -0
- package/lib/services/apply/bankStatement.d.ts +55 -0
- package/lib/services/apply/bankStatement.d.ts.map +1 -0
- package/lib/services/apply/bankStatement.js +154 -0
- package/lib/services/apply/bankStatement.js.map +1 -0
- package/lib/services/apply/creditTierUpgradeStatus.d.ts +10 -0
- package/lib/services/apply/creditTierUpgradeStatus.d.ts.map +1 -0
- package/lib/services/apply/creditTierUpgradeStatus.js +74 -0
- package/lib/services/apply/creditTierUpgradeStatus.js.map +1 -0
- package/lib/services/apply/customerAgreement.d.ts +42 -0
- package/lib/services/apply/customerAgreement.d.ts.map +1 -0
- package/lib/services/apply/customerAgreement.js +190 -0
- package/lib/services/apply/customerAgreement.js.map +1 -0
- package/lib/services/apply/customerProduct.d.ts +10 -0
- package/lib/services/apply/customerProduct.d.ts.map +1 -0
- package/lib/services/apply/customerProduct.js +62 -0
- package/lib/services/apply/customerProduct.js.map +1 -0
- package/lib/services/apply/customerUpgradeDetails.d.ts +6 -0
- package/lib/services/apply/customerUpgradeDetails.d.ts.map +1 -0
- package/lib/services/apply/customerUpgradeDetails.js +35 -0
- package/lib/services/apply/customerUpgradeDetails.js.map +1 -0
- package/lib/services/apply/flatLoanAmountDue.d.ts +14 -0
- package/lib/services/apply/flatLoanAmountDue.d.ts.map +1 -0
- package/lib/services/apply/flatLoanAmountDue.js +68 -0
- package/lib/services/apply/flatLoanAmountDue.js.map +1 -0
- package/lib/services/apply/getLoans.d.ts +55 -0
- package/lib/services/apply/getLoans.d.ts.map +1 -0
- package/lib/services/apply/getLoans.js +116 -0
- package/lib/services/apply/getLoans.js.map +1 -0
- package/lib/services/apply/getPaylaterTransactions.d.ts +9 -0
- package/lib/services/apply/getPaylaterTransactions.d.ts.map +1 -0
- package/lib/services/apply/getPaylaterTransactions.js +61 -0
- package/lib/services/apply/getPaylaterTransactions.js.map +1 -0
- package/lib/services/apply/getTransactions.d.ts +18 -0
- package/lib/services/apply/getTransactions.d.ts.map +1 -0
- package/lib/services/apply/getTransactions.js +73 -0
- package/lib/services/apply/getTransactions.js.map +1 -0
- package/lib/services/apply/index.d.ts +47 -0
- package/lib/services/apply/index.d.ts.map +1 -0
- package/lib/services/apply/index.js +29 -0
- package/lib/services/apply/index.js.map +1 -0
- package/lib/services/apply/loanBrands.d.ts +15 -0
- package/lib/services/apply/loanBrands.d.ts.map +1 -0
- package/lib/services/apply/loanBrands.js +63 -0
- package/lib/services/apply/loanBrands.js.map +1 -0
- package/lib/services/apply/manufacturerStatement.d.ts +41 -0
- package/lib/services/apply/manufacturerStatement.d.ts.map +1 -0
- package/lib/services/apply/manufacturerStatement.js +207 -0
- package/lib/services/apply/manufacturerStatement.js.map +1 -0
- package/lib/services/apply/mapCatalog.d.ts +30 -0
- package/lib/services/apply/mapCatalog.d.ts.map +1 -0
- package/lib/services/apply/mapCatalog.js +153 -0
- package/lib/services/apply/mapCatalog.js.map +1 -0
- package/lib/services/apply/mapLimitHome.d.ts +66 -0
- package/lib/services/apply/mapLimitHome.d.ts.map +1 -0
- package/lib/services/apply/mapLimitHome.js +152 -0
- package/lib/services/apply/mapLimitHome.js.map +1 -0
- package/lib/services/apply/paths.d.ts +87 -0
- package/lib/services/apply/paths.d.ts.map +1 -0
- package/lib/services/apply/paths.js +99 -0
- package/lib/services/apply/paths.js.map +1 -0
- package/lib/services/apply/payLaterLimitRequest.d.ts +19 -0
- package/lib/services/apply/payLaterLimitRequest.d.ts.map +1 -0
- package/lib/services/apply/payLaterLimitRequest.js +91 -0
- package/lib/services/apply/payLaterLimitRequest.js.map +1 -0
- package/lib/services/apply/productBucket.d.ts +75 -0
- package/lib/services/apply/productBucket.d.ts.map +1 -0
- package/lib/services/apply/productBucket.js +224 -0
- package/lib/services/apply/productBucket.js.map +1 -0
- package/lib/services/apply/referralDetails.d.ts +26 -0
- package/lib/services/apply/referralDetails.d.ts.map +1 -0
- package/lib/services/apply/referralDetails.js +187 -0
- package/lib/services/apply/referralDetails.js.map +1 -0
- package/lib/services/apply/repayLoan.d.ts +9 -0
- package/lib/services/apply/repayLoan.d.ts.map +1 -0
- package/lib/services/apply/repayLoan.js +58 -0
- package/lib/services/apply/repayLoan.js.map +1 -0
- package/lib/services/apply/sdkSession.d.ts +12 -0
- package/lib/services/apply/sdkSession.d.ts.map +1 -0
- package/lib/services/apply/sdkSession.js +104 -0
- package/lib/services/apply/sdkSession.js.map +1 -0
- package/lib/services/apply/statementBanks.d.ts +4 -0
- package/lib/services/apply/statementBanks.d.ts.map +1 -0
- package/lib/services/apply/statementBanks.js +17 -0
- package/lib/services/apply/statementBanks.js.map +1 -0
- package/lib/services/apply/statementParseBanks.d.ts +8 -0
- package/lib/services/apply/statementParseBanks.d.ts.map +1 -0
- package/lib/services/apply/statementParseBanks.js +84 -0
- package/lib/services/apply/statementParseBanks.js.map +1 -0
- package/lib/services/apply/sublimitDowngrade.d.ts +5 -0
- package/lib/services/apply/sublimitDowngrade.d.ts.map +1 -0
- package/lib/services/apply/sublimitDowngrade.js +27 -0
- package/lib/services/apply/sublimitDowngrade.js.map +1 -0
- package/lib/services/apply/sublimitRequestDetails.d.ts +5 -0
- package/lib/services/apply/sublimitRequestDetails.d.ts.map +1 -0
- package/lib/services/apply/sublimitRequestDetails.js +31 -0
- package/lib/services/apply/sublimitRequestDetails.js.map +1 -0
- package/lib/services/apply/walletBanks.d.ts +3 -0
- package/lib/services/apply/walletBanks.d.ts.map +1 -0
- package/lib/services/apply/walletBanks.js +14 -0
- package/lib/services/apply/walletBanks.js.map +1 -0
- package/lib/services/customerBoot.d.ts +4 -0
- package/lib/services/customerBoot.d.ts.map +1 -0
- package/lib/services/customerBoot.js +103 -0
- package/lib/services/customerBoot.js.map +1 -0
- package/lib/services/customerRuntime.d.ts +36 -0
- package/lib/services/customerRuntime.d.ts.map +1 -0
- package/lib/services/customerRuntime.js +40 -0
- package/lib/services/customerRuntime.js.map +1 -0
- package/lib/services/deviceInfo.d.ts +7 -0
- package/lib/services/deviceInfo.d.ts.map +1 -0
- package/lib/services/deviceInfo.js +22 -0
- package/lib/services/deviceInfo.js.map +1 -0
- package/lib/services/gatewayHash.d.ts +57 -0
- package/lib/services/gatewayHash.d.ts.map +1 -0
- package/lib/services/gatewayHash.js +382 -0
- package/lib/services/gatewayHash.js.map +1 -0
- package/lib/services/http.d.ts +30 -0
- package/lib/services/http.d.ts.map +1 -0
- package/lib/services/http.js +122 -0
- package/lib/services/http.js.map +1 -0
- package/lib/services/httpRuntime.d.ts +39 -0
- package/lib/services/httpRuntime.d.ts.map +1 -0
- package/lib/services/httpRuntime.js +122 -0
- package/lib/services/httpRuntime.js.map +1 -0
- package/lib/services/md5.d.ts +3 -0
- package/lib/services/md5.d.ts.map +1 -0
- package/lib/services/md5.js +134 -0
- package/lib/services/md5.js.map +1 -0
- package/lib/services/pickDocument.d.ts +15 -0
- package/lib/services/pickDocument.d.ts.map +1 -0
- package/lib/services/pickDocument.js +11 -0
- package/lib/services/pickDocument.js.map +1 -0
- package/lib/services/serviceHelper.d.ts +2 -0
- package/lib/services/serviceHelper.d.ts.map +1 -0
- package/lib/services/serviceHelper.js +19 -0
- package/lib/services/serviceHelper.js.map +1 -0
- package/lib/theme/brandColor.d.ts +8 -0
- package/lib/theme/brandColor.d.ts.map +1 -0
- package/lib/theme/brandColor.js +30 -0
- package/lib/theme/brandColor.js.map +1 -0
- package/lib/theme/fonts.d.ts +12 -0
- package/lib/theme/fonts.d.ts.map +1 -0
- package/lib/theme/fonts.js +18 -0
- package/lib/theme/fonts.js.map +1 -0
- package/lib/utils/fontScale.d.ts +13 -0
- package/lib/utils/fontScale.d.ts.map +1 -0
- package/lib/utils/fontScale.js +17 -0
- package/lib/utils/fontScale.js.map +1 -0
- package/lib/utils/formatAmount.d.ts +28 -0
- package/lib/utils/formatAmount.d.ts.map +1 -0
- package/lib/utils/formatAmount.js +88 -0
- package/lib/utils/formatAmount.js.map +1 -0
- package/lib/utils/messageCleaner.d.ts +2 -0
- package/lib/utils/messageCleaner.d.ts.map +1 -0
- package/lib/utils/messageCleaner.js +11 -0
- package/lib/utils/messageCleaner.js.map +1 -0
- package/lib/utils/responseObserver.d.ts +10 -0
- package/lib/utils/responseObserver.d.ts.map +1 -0
- package/lib/utils/responseObserver.js +50 -0
- package/lib/utils/responseObserver.js.map +1 -0
- package/lib/web/index.d.ts +8 -0
- package/lib/web/index.d.ts.map +1 -0
- package/lib/web/index.js +7 -0
- package/lib/web/index.js.map +1 -0
- package/package.json +49 -4
- package/react-native.config.js +3 -0
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { Image, Pressable, ScrollView, StyleSheet, Text, View } from "react-native";
|
|
4
|
+
import { useSafeAreaInsets } from "react-native-safe-area-context";
|
|
5
|
+
import { LicensingFooter } from "../../components/LicensingFooter";
|
|
6
|
+
import { useBrandCta } from "../../sdk/providers/BrandColorProvider";
|
|
7
|
+
import { useIsPayLimit } from "../../sdk/providers/PayLimitProvider";
|
|
8
|
+
import { GorditaFamily } from "../../theme/fonts";
|
|
9
|
+
import { currencySymbol } from "../../utils/formatAmount";
|
|
10
|
+
import { IconEyeOpen } from "./IconEyeOpen";
|
|
11
|
+
import { SubLimitEmpty } from "./SubLimitEmpty";
|
|
12
|
+
const iconEye = require("../../assets/lending/icon-eye.png");
|
|
13
|
+
const iconRepay = require("../../assets/lending/icon-repay.png");
|
|
14
|
+
const iconApply = require("../../assets/lending/icon-apply.png");
|
|
15
|
+
const illoPending = require("../../assets/lending/illo-limit-pending.png");
|
|
16
|
+
const illoRejected = require("../../assets/lending/illo-limit-rejected.png");
|
|
17
|
+
export default function LendingHomeScreen(props) {
|
|
18
|
+
const insets = useSafeAreaInsets();
|
|
19
|
+
const cta = useBrandCta();
|
|
20
|
+
const status = props.applyStatus ?? "idle";
|
|
21
|
+
const isPayLimit = useIsPayLimit() || props.isPayLimit === true;
|
|
22
|
+
const [limitVisible, setLimitVisible] = React.useState(true);
|
|
23
|
+
const rejectedDefault = isPayLimit
|
|
24
|
+
? "Your credit request was not approved due to the absence of an active Limit."
|
|
25
|
+
: "Your credit request was not approved due to the absence of an active Sub-Limit.";
|
|
26
|
+
return (_jsxs(View, { style: styles.page, children: [_jsx(View, { style: [styles.header, { paddingTop: insets.top }], children: _jsxs(View, { style: styles.headerRow, children: [_jsx(Text, { accessibilityRole: "header", style: styles.headerTitle, children: "Limit" }), props.onViewAgreement ? (_jsx(Pressable, { accessibilityRole: "button", accessibilityLabel: "View agreement", hitSlop: 8, onPress: props.onViewAgreement, style: styles.headerLink, children: _jsx(Text, { style: styles.headerLinkLabel, children: "Agreement" }) })) : null] }) }), _jsxs(ScrollView, { style: styles.scroll, contentContainerStyle: styles.scrollContent, showsVerticalScrollIndicator: false, children: [_jsxs(View, { style: styles.card, children: [_jsxs(View, { style: styles.limitPanel, children: [_jsxs(View, { style: styles.totalRow, children: [_jsx(Text, { style: styles.totalLabel, children: "TOTAL LIMIT" }), _jsx(Pressable, { accessibilityRole: "button", accessibilityLabel: limitVisible ? "Hide limit" : "Show limit", hitSlop: 8, onPress: () => setLimitVisible((on) => !on), style: styles.eyeBtn, children: limitVisible ? _jsx(IconEyeOpen, {}) : _jsx(Image, { source: iconEye, style: styles.eye }) })] }), _jsxs(Text, { style: styles.amount, children: [_jsx(Text, { style: styles.amountMain, children: limitVisible ? `${currencySymbol()}0` : `${currencySymbol()}••••••` }), _jsx(Text, { style: styles.amountMain, children: "." }), _jsx(Text, { style: styles.amountMuted, children: limitVisible ? "00" : "••" })] }), _jsxs(View, { style: styles.usagePill, children: [_jsx(Text, { style: styles.usagePct, children: limitVisible ? "0%" : "••%" }), _jsx(Text, { style: styles.usageCopy, children: " of spending limit used" })] })] }), _jsxs(View, { style: styles.actions, children: [_jsxs(Pressable, { accessibilityRole: "button", accessibilityLabel: "Repay", onPress: props.onRepay, style: [styles.action, styles.actionSplit], children: [_jsx(View, { style: styles.actionIconWrap, children: _jsx(Image, { source: iconRepay, style: styles.actionIcon }) }), _jsx(Text, { style: styles.actionLabel, children: "Repay" })] }), _jsxs(Pressable, { accessibilityRole: "button", accessibilityLabel: "Apply for Limit", onPress: props.onApplyForLimit, style: styles.action, children: [_jsx(View, { style: styles.actionIconWrap, children: _jsx(Image, { source: iconApply, style: styles.actionIcon }) }), _jsx(Text, { style: styles.actionLabel, children: "Apply for Limit" })] })] })] }), _jsxs(View, { style: styles.emptyBlock, children: [status === "pending" ? (_jsxs(View, { style: styles.statusStack, children: [_jsx(Image, { source: illoPending, style: styles.illoPending }), _jsx(View, { style: styles.pendingPill, children: _jsx(Text, { style: styles.pendingPillCopy, children: "We're checking out your credit request right now!" }) })] })) : null, status === "rejected" ? (_jsxs(View, { style: styles.statusStack, children: [_jsx(Image, { source: illoRejected, style: styles.illoRejected }), _jsx(Text, { style: styles.rejectedTitle, children: "Your Credit request was rejected" }), _jsx(Text, { style: styles.rejectedCopy, children: props.rejectionReason || rejectedDefault }), _jsx(Pressable, { accessibilityRole: "button", accessibilityLabel: "Re-Apply for Limit", onPress: props.onApplyForLimit, style: [styles.cta, cta.fill], children: _jsx(Text, { style: [styles.ctaLabel, cta.label], children: "Re-Apply for Limit" }) })] })) : null, status === "idle" ? (_jsxs(_Fragment, { children: [_jsx(SubLimitEmpty, { isPayLimit: isPayLimit }), _jsx(Pressable, { accessibilityRole: "button", accessibilityLabel: "Apply for Limit", onPress: props.onApplyForLimit, style: [styles.cta, cta.fill], children: _jsx(Text, { style: [styles.ctaLabel, cta.label], children: "Apply for Limit" }) })] })) : null] })] }), _jsx(View, { style: [styles.footerWrap, { paddingBottom: Math.max(insets.bottom, 16) }], children: _jsx(LicensingFooter, {}) })] }));
|
|
27
|
+
}
|
|
28
|
+
const styles = StyleSheet.create({
|
|
29
|
+
page: {
|
|
30
|
+
flex: 1,
|
|
31
|
+
backgroundColor: "#F8F9FA"
|
|
32
|
+
},
|
|
33
|
+
header: {
|
|
34
|
+
backgroundColor: "#ffffff"
|
|
35
|
+
},
|
|
36
|
+
headerRow: {
|
|
37
|
+
flexDirection: "row",
|
|
38
|
+
alignItems: "center",
|
|
39
|
+
gap: 13,
|
|
40
|
+
paddingHorizontal: 16,
|
|
41
|
+
paddingVertical: 20
|
|
42
|
+
},
|
|
43
|
+
back: {
|
|
44
|
+
width: 24,
|
|
45
|
+
height: 24,
|
|
46
|
+
alignItems: "center",
|
|
47
|
+
justifyContent: "center"
|
|
48
|
+
},
|
|
49
|
+
headerTitle: {
|
|
50
|
+
flex: 1,
|
|
51
|
+
fontFamily: GorditaFamily.medium,
|
|
52
|
+
fontSize: 18,
|
|
53
|
+
lineHeight: 28,
|
|
54
|
+
color: "#000000"
|
|
55
|
+
},
|
|
56
|
+
headerLink: { paddingVertical: 4, paddingLeft: 8 },
|
|
57
|
+
headerLinkLabel: {
|
|
58
|
+
fontFamily: GorditaFamily.medium,
|
|
59
|
+
fontSize: 13,
|
|
60
|
+
lineHeight: 20,
|
|
61
|
+
color: "#999999"
|
|
62
|
+
},
|
|
63
|
+
scroll: {
|
|
64
|
+
flex: 1
|
|
65
|
+
},
|
|
66
|
+
scrollContent: {
|
|
67
|
+
paddingHorizontal: 16,
|
|
68
|
+
paddingTop: 16,
|
|
69
|
+
paddingBottom: 24,
|
|
70
|
+
alignItems: "center",
|
|
71
|
+
gap: 16,
|
|
72
|
+
flexGrow: 1
|
|
73
|
+
},
|
|
74
|
+
card: {
|
|
75
|
+
width: "100%",
|
|
76
|
+
maxWidth: 358,
|
|
77
|
+
backgroundColor: "#ffffff",
|
|
78
|
+
borderWidth: 1,
|
|
79
|
+
borderColor: "#F0F0F1",
|
|
80
|
+
borderRadius: 10,
|
|
81
|
+
paddingHorizontal: 8,
|
|
82
|
+
paddingTop: 8,
|
|
83
|
+
paddingBottom: 16,
|
|
84
|
+
gap: 16
|
|
85
|
+
},
|
|
86
|
+
limitPanel: {
|
|
87
|
+
backgroundColor: "#F0F0F1",
|
|
88
|
+
borderRadius: 10,
|
|
89
|
+
paddingTop: 16,
|
|
90
|
+
paddingBottom: 8,
|
|
91
|
+
paddingHorizontal: 8,
|
|
92
|
+
alignItems: "center",
|
|
93
|
+
gap: 24
|
|
94
|
+
},
|
|
95
|
+
totalRow: {
|
|
96
|
+
flexDirection: "row",
|
|
97
|
+
alignItems: "center",
|
|
98
|
+
justifyContent: "center",
|
|
99
|
+
gap: 8
|
|
100
|
+
},
|
|
101
|
+
totalLabel: {
|
|
102
|
+
fontFamily: GorditaFamily.medium,
|
|
103
|
+
fontSize: 10,
|
|
104
|
+
lineHeight: 16,
|
|
105
|
+
color: "#999999"
|
|
106
|
+
},
|
|
107
|
+
eyeBtn: { width: 20, height: 20, alignItems: "center", justifyContent: "center" },
|
|
108
|
+
eye: {
|
|
109
|
+
width: 20,
|
|
110
|
+
height: 20
|
|
111
|
+
},
|
|
112
|
+
amount: {
|
|
113
|
+
textAlign: "center",
|
|
114
|
+
letterSpacing: -0.6
|
|
115
|
+
},
|
|
116
|
+
amountMain: {
|
|
117
|
+
fontFamily: GorditaFamily.bold,
|
|
118
|
+
fontSize: 30,
|
|
119
|
+
lineHeight: 34,
|
|
120
|
+
color: "#333333"
|
|
121
|
+
},
|
|
122
|
+
amountMuted: {
|
|
123
|
+
fontFamily: GorditaFamily.bold,
|
|
124
|
+
fontSize: 30,
|
|
125
|
+
lineHeight: 34,
|
|
126
|
+
color: "#D9D9D9"
|
|
127
|
+
},
|
|
128
|
+
usagePill: {
|
|
129
|
+
flexDirection: "row",
|
|
130
|
+
alignItems: "center",
|
|
131
|
+
backgroundColor: "#ffffff",
|
|
132
|
+
borderRadius: 99,
|
|
133
|
+
paddingHorizontal: 8,
|
|
134
|
+
paddingVertical: 4
|
|
135
|
+
},
|
|
136
|
+
usagePct: {
|
|
137
|
+
fontFamily: GorditaFamily.bold,
|
|
138
|
+
fontSize: 14,
|
|
139
|
+
lineHeight: 14,
|
|
140
|
+
color: "#28A745"
|
|
141
|
+
},
|
|
142
|
+
usageCopy: {
|
|
143
|
+
fontFamily: GorditaFamily.regular,
|
|
144
|
+
fontSize: 14,
|
|
145
|
+
lineHeight: 14,
|
|
146
|
+
color: "#999999"
|
|
147
|
+
},
|
|
148
|
+
actions: {
|
|
149
|
+
flexDirection: "row",
|
|
150
|
+
alignItems: "flex-start"
|
|
151
|
+
},
|
|
152
|
+
action: {
|
|
153
|
+
flex: 1,
|
|
154
|
+
alignItems: "center",
|
|
155
|
+
gap: 8
|
|
156
|
+
},
|
|
157
|
+
actionSplit: {
|
|
158
|
+
borderRightWidth: 1,
|
|
159
|
+
borderRightColor: "#F0F0F1"
|
|
160
|
+
},
|
|
161
|
+
actionIconWrap: {
|
|
162
|
+
width: 32,
|
|
163
|
+
height: 32,
|
|
164
|
+
padding: 4,
|
|
165
|
+
alignItems: "center",
|
|
166
|
+
justifyContent: "center"
|
|
167
|
+
},
|
|
168
|
+
actionIcon: {
|
|
169
|
+
width: 24,
|
|
170
|
+
height: 24
|
|
171
|
+
},
|
|
172
|
+
actionLabel: {
|
|
173
|
+
fontFamily: GorditaFamily.medium,
|
|
174
|
+
fontSize: 12,
|
|
175
|
+
lineHeight: 20,
|
|
176
|
+
color: "#333333",
|
|
177
|
+
textAlign: "center"
|
|
178
|
+
},
|
|
179
|
+
emptyBlock: {
|
|
180
|
+
width: "100%",
|
|
181
|
+
maxWidth: 358,
|
|
182
|
+
flexGrow: 1,
|
|
183
|
+
alignItems: "center",
|
|
184
|
+
justifyContent: "center",
|
|
185
|
+
gap: 16
|
|
186
|
+
},
|
|
187
|
+
statusStack: {
|
|
188
|
+
width: "100%",
|
|
189
|
+
alignItems: "center",
|
|
190
|
+
gap: 16
|
|
191
|
+
},
|
|
192
|
+
illoPending: { width: 80, height: 90 },
|
|
193
|
+
illoRejected: { width: 80, height: 80 },
|
|
194
|
+
pendingPill: {
|
|
195
|
+
backgroundColor: "#F0F0F1",
|
|
196
|
+
borderRadius: 8,
|
|
197
|
+
paddingHorizontal: 12,
|
|
198
|
+
paddingVertical: 8
|
|
199
|
+
},
|
|
200
|
+
pendingPillCopy: {
|
|
201
|
+
fontFamily: GorditaFamily.medium,
|
|
202
|
+
fontSize: 12,
|
|
203
|
+
lineHeight: 20,
|
|
204
|
+
color: "#333333",
|
|
205
|
+
textAlign: "center"
|
|
206
|
+
},
|
|
207
|
+
rejectedTitle: {
|
|
208
|
+
fontFamily: GorditaFamily.medium,
|
|
209
|
+
fontSize: 14,
|
|
210
|
+
lineHeight: 20,
|
|
211
|
+
color: "#DC3545",
|
|
212
|
+
textAlign: "center"
|
|
213
|
+
},
|
|
214
|
+
rejectedCopy: {
|
|
215
|
+
fontFamily: GorditaFamily.regular,
|
|
216
|
+
fontSize: 14,
|
|
217
|
+
lineHeight: 20,
|
|
218
|
+
color: "#333333",
|
|
219
|
+
textAlign: "center",
|
|
220
|
+
maxWidth: 312
|
|
221
|
+
},
|
|
222
|
+
cta: {
|
|
223
|
+
alignSelf: "stretch",
|
|
224
|
+
height: 44,
|
|
225
|
+
backgroundColor: "#0E0E0E",
|
|
226
|
+
borderRadius: 4,
|
|
227
|
+
paddingHorizontal: 10,
|
|
228
|
+
paddingVertical: 10,
|
|
229
|
+
alignItems: "center",
|
|
230
|
+
justifyContent: "center"
|
|
231
|
+
},
|
|
232
|
+
ctaLabel: {
|
|
233
|
+
fontFamily: GorditaFamily.bold,
|
|
234
|
+
fontSize: 16,
|
|
235
|
+
lineHeight: 32,
|
|
236
|
+
color: "#ffffff",
|
|
237
|
+
textAlign: "center"
|
|
238
|
+
},
|
|
239
|
+
footerWrap: {
|
|
240
|
+
alignItems: "center",
|
|
241
|
+
paddingTop: 8
|
|
242
|
+
}
|
|
243
|
+
});
|
|
244
|
+
//# sourceMappingURL=Lending.screen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Lending.screen.js","sourceRoot":"","sources":["../../../src/flows/lending/Lending.screen.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpF,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,OAAO,GAAG,OAAO,CAAC,mCAAmC,CAAC,CAAC;AAC7D,MAAM,SAAS,GAAG,OAAO,CAAC,qCAAqC,CAAC,CAAC;AACjE,MAAM,SAAS,GAAG,OAAO,CAAC,qCAAqC,CAAC,CAAC;AACjE,MAAM,WAAW,GAAG,OAAO,CAAC,6CAA6C,CAAC,CAAC;AAC3E,MAAM,YAAY,GAAG,OAAO,CAAC,8CAA8C,CAAC,CAAC;AAE7E,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,KASzC;IACC,MAAM,MAAM,GAAG,iBAAiB,EAAE,CAAC;IACnC,MAAM,GAAG,GAAG,WAAW,EAAE,CAAC;IAC1B,MAAM,MAAM,GAAG,KAAK,CAAC,WAAW,IAAI,MAAM,CAAC;IAC3C,MAAM,UAAU,GAAG,aAAa,EAAE,IAAI,KAA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@ -0,0 +1,34 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { StyleSheet, Text, View } from "react-native";
|
|
3
|
+
import { ScreenHeader } from "../../components/ScreenHeader";
|
|
4
|
+
import { GorditaFamily } from "../../theme/fonts";
|
|
5
|
+
import { sdkTypography } from "../../utils/fontScale";
|
|
6
|
+
export default function LendingDetailsScreen(props) {
|
|
7
|
+
return (_jsxs(View, { style: styles.page, children: [_jsx(ScreenHeader, { title: "Lending Details", onBack: props.onGoBack }), _jsxs(View, { style: styles.container, children: [_jsx(Text, { style: styles.subtitle, children: "Placeholder" }), _jsx(Text, { style: styles.body, children: "Lending detail content will go here." })] })] }));
|
|
8
|
+
}
|
|
9
|
+
const styles = StyleSheet.create({
|
|
10
|
+
page: {
|
|
11
|
+
flex: 1,
|
|
12
|
+
backgroundColor: "#F8F9FA"
|
|
13
|
+
},
|
|
14
|
+
container: {
|
|
15
|
+
flex: 1,
|
|
16
|
+
alignItems: "center",
|
|
17
|
+
justifyContent: "center",
|
|
18
|
+
padding: 16
|
|
19
|
+
},
|
|
20
|
+
subtitle: {
|
|
21
|
+
fontFamily: GorditaFamily.regular,
|
|
22
|
+
fontSize: sdkTypography.subtitle,
|
|
23
|
+
opacity: 0.8,
|
|
24
|
+
marginBottom: 14,
|
|
25
|
+
textAlign: "center"
|
|
26
|
+
},
|
|
27
|
+
body: {
|
|
28
|
+
fontFamily: GorditaFamily.regular,
|
|
29
|
+
fontSize: sdkTypography.body,
|
|
30
|
+
opacity: 0.9,
|
|
31
|
+
textAlign: "center"
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
//# sourceMappingURL=LendingDetails.screen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LendingDetails.screen.js","sourceRoot":"","sources":["../../../src/flows/lending/LendingDetails.screen.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,IAA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2
|
+
import { type LimitHomeTotals, type SublimitRequestRow } from "../../services/apply";
|
|
3
|
+
import { type BrandLimit } from "./BrandLimitCard";
|
|
4
|
+
export default function LimitHomeWithLimitScreen(props: {
|
|
5
|
+
envLabel: string;
|
|
6
|
+
tokenPresent: boolean;
|
|
7
|
+
rows: SublimitRequestRow[];
|
|
8
|
+
totals?: LimitHomeTotals;
|
|
9
|
+
isPayLimit?: boolean;
|
|
10
|
+
onApplyForLimit: () => void;
|
|
11
|
+
onRepay: () => void;
|
|
12
|
+
onTransactions: () => void;
|
|
13
|
+
onCreditHistory: (brand: BrandLimit) => void;
|
|
14
|
+
onDowngrade?: (brand: BrandLimit) => void;
|
|
15
|
+
onViewAgreement?: () => void;
|
|
16
|
+
}): React.JSX.Element;
|
|
17
|
+
//# sourceMappingURL=LimitHomeWithLimit.screen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LimitHomeWithLimit.screen.d.ts","sourceRoot":"","sources":["../../../src/flows/lending/LimitHomeWithLimit.screen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,EAIL,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACxB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAkB,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAkDnE,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAAC,KAAK,EAAE;IACtD,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,OAAO,CAAC;IACtB,IAAI,EAAE,kBAAkB,EAAE,CAAC;IAC3B,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,eAAe,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IAC7C,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IAC1C,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;CAC9B,qBA8MA"}
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { Image, Pressable, ScrollView, StyleSheet, Text, TextInput, View } from "react-native";
|
|
4
|
+
import { useSafeAreaInsets } from "react-native-safe-area-context";
|
|
5
|
+
import { LicensingFooter } from "../../components/LicensingFooter";
|
|
6
|
+
import { useBrandColor, useBrandCta } from "../../sdk/providers/BrandColorProvider";
|
|
7
|
+
import { useIsPayLimit } from "../../sdk/providers/PayLimitProvider";
|
|
8
|
+
import { GorditaFamily } from "../../theme/fonts";
|
|
9
|
+
import { currencySymbol, formatNairaKobo } from "../../utils/formatAmount";
|
|
10
|
+
import { getCustomerProducts, peekCustomerProducts } from "../../services/apply";
|
|
11
|
+
import { BrandLimitCard } from "./BrandLimitCard";
|
|
12
|
+
import { IconEyeOpen } from "./IconEyeOpen";
|
|
13
|
+
const iconEye = require("../../assets/lending/icon-eye.png");
|
|
14
|
+
const iconRepay = require("../../assets/lending/icon-repay.png");
|
|
15
|
+
const iconPlus = require("../../assets/lending/icon-plus.png");
|
|
16
|
+
const iconHistory = require("../../assets/lending/icon-history.png");
|
|
17
|
+
function sameProduct(left, right) {
|
|
18
|
+
const key = (value) => value.trim().toLowerCase().replace(/\s+/g, "");
|
|
19
|
+
return key(left) === key(right);
|
|
20
|
+
}
|
|
21
|
+
function toBrandLimit(row) {
|
|
22
|
+
return {
|
|
23
|
+
id: row.sublimitRequestId || String(row.id),
|
|
24
|
+
name: row.sublimitName,
|
|
25
|
+
product: row.productName,
|
|
26
|
+
logoUrl: row.logoUrl ?? undefined,
|
|
27
|
+
limit: row.creditLimit,
|
|
28
|
+
used: row.usedCredit,
|
|
29
|
+
available: row.remaining,
|
|
30
|
+
utilizationPct: row.usedPercent,
|
|
31
|
+
subLimitId: row.sublimitId,
|
|
32
|
+
sublimitReference: row.sublimitReference
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
function NairaKobo(props) {
|
|
36
|
+
const { main, kobo } = formatNairaKobo(props.amount);
|
|
37
|
+
const type = props.size === 30 ? styles.amountMain : styles.usedMain;
|
|
38
|
+
const muted = props.size === 30 ? styles.amountMuted : styles.usedMuted;
|
|
39
|
+
if (props.hidden) {
|
|
40
|
+
return (_jsxs(Text, { style: type, children: [currencySymbol(), "\u2022\u2022\u2022\u2022\u2022\u2022", _jsx(Text, { style: type, children: "." }), _jsx(Text, { style: muted, children: "\u2022\u2022" })] }));
|
|
41
|
+
}
|
|
42
|
+
return (_jsxs(Text, { style: type, children: [main, _jsx(Text, { style: type, children: "." }), _jsx(Text, { style: muted, children: kobo })] }));
|
|
43
|
+
}
|
|
44
|
+
export default function LimitHomeWithLimitScreen(props) {
|
|
45
|
+
const insets = useSafeAreaInsets();
|
|
46
|
+
const brandColor = useBrandColor();
|
|
47
|
+
const cta = useBrandCta();
|
|
48
|
+
const isPayLimit = useIsPayLimit() || props.isPayLimit === true;
|
|
49
|
+
const limitLabel = isPayLimit ? "LIMIT" : "SUB-LIMIT";
|
|
50
|
+
const [query, setQuery] = React.useState("");
|
|
51
|
+
const [filter, setFilter] = React.useState("all");
|
|
52
|
+
const [products, setProducts] = React.useState(() => peekCustomerProducts() ?? []);
|
|
53
|
+
const [limitVisible, setLimitVisible] = React.useState(true);
|
|
54
|
+
const summedLimit = props.rows.reduce((sum, row) => sum + row.creditLimit, 0);
|
|
55
|
+
const summedUsed = props.rows.reduce((sum, row) => sum + row.usedCredit, 0);
|
|
56
|
+
const summedAvailable = props.rows.reduce((sum, row) => sum + row.remaining, 0);
|
|
57
|
+
const totals = props.totals ?? {
|
|
58
|
+
limit: summedLimit,
|
|
59
|
+
used: summedUsed,
|
|
60
|
+
available: summedAvailable,
|
|
61
|
+
repaid: 0,
|
|
62
|
+
outstanding: 0,
|
|
63
|
+
utilizationPct: summedLimit > 0 ? Math.round((summedUsed / summedLimit) * 100) : 0
|
|
64
|
+
};
|
|
65
|
+
React.useEffect(() => {
|
|
66
|
+
if (isPayLimit)
|
|
67
|
+
return;
|
|
68
|
+
let cancelled = false;
|
|
69
|
+
getCustomerProducts()
|
|
70
|
+
.then((next) => {
|
|
71
|
+
if (!cancelled)
|
|
72
|
+
setProducts(next);
|
|
73
|
+
})
|
|
74
|
+
.catch(() => {
|
|
75
|
+
if (!cancelled)
|
|
76
|
+
setProducts([]);
|
|
77
|
+
});
|
|
78
|
+
return () => {
|
|
79
|
+
cancelled = true;
|
|
80
|
+
};
|
|
81
|
+
}, [isPayLimit]);
|
|
82
|
+
const selectedProduct = products.find((product) => product.id === filter);
|
|
83
|
+
const brands = isPayLimit
|
|
84
|
+
? []
|
|
85
|
+
: props.rows.map(toBrandLimit).filter((brand) => {
|
|
86
|
+
const matchesFilter = filter === "all" || (selectedProduct ? sameProduct(brand.product, selectedProduct.title) : false);
|
|
87
|
+
const matchesQuery = brand.name.toLowerCase().includes(query.trim().toLowerCase());
|
|
88
|
+
return matchesFilter && matchesQuery;
|
|
89
|
+
});
|
|
90
|
+
return (_jsxs(View, { style: styles.page, children: [_jsx(View, { style: [styles.header, { paddingTop: insets.top }], children: _jsxs(View, { style: styles.headerRow, children: [_jsx(Text, { accessibilityRole: "header", style: styles.headerTitle, children: "Limit" }), props.onViewAgreement ? (_jsx(Pressable, { accessibilityRole: "button", accessibilityLabel: "View agreement", hitSlop: 8, onPress: props.onViewAgreement, style: styles.headerLink, children: _jsx(Text, { style: styles.headerLinkLabel, children: "Agreement" }) })) : null] }) }), _jsxs(ScrollView, { style: styles.scroll, contentContainerStyle: styles.scrollContent, showsVerticalScrollIndicator: false, children: [_jsxs(View, { style: styles.card, children: [_jsxs(View, { style: styles.limitPanel, children: [_jsxs(View, { style: styles.totalRow, children: [_jsxs(Text, { style: styles.totalLabel, children: ["TOTAL ", limitLabel] }), _jsx(Pressable, { accessibilityRole: "button", accessibilityLabel: limitVisible ? "Hide limit" : "Show limit", hitSlop: 8, onPress: () => setLimitVisible((on) => !on), style: styles.eyeBtn, children: limitVisible ? _jsx(IconEyeOpen, {}) : _jsx(Image, { source: iconEye, style: styles.eye }) })] }), _jsx(NairaKobo, { amount: totals.limit, size: 30, hidden: !limitVisible }), _jsxs(View, { style: styles.usagePill, children: [_jsx(Text, { style: styles.usagePct, children: limitVisible ? `${totals.utilizationPct}%` : "••%" }), _jsx(Text, { style: styles.usageCopy, children: " of spending limit used" })] }), _jsxs(View, { style: styles.splitStack, children: [_jsxs(View, { style: styles.splitBox, children: [_jsxs(View, { style: styles.splitCol, children: [_jsxs(Text, { style: styles.splitLabel, children: ["TOTAL USED ", limitLabel] }), _jsx(NairaKobo, { amount: totals.used, size: 16, hidden: !limitVisible })] }), _jsx(View, { style: styles.splitRule }), _jsxs(View, { style: styles.splitColPad, children: [_jsxs(Text, { style: styles.splitLabel, children: ["TOTAL AVAILABLE ", limitLabel] }), _jsx(NairaKobo, { amount: totals.available, size: 16, hidden: !limitVisible })] })] }), _jsxs(View, { style: styles.splitBox, children: [_jsxs(View, { style: styles.splitCol, children: [_jsx(Text, { style: styles.splitLabel, children: "TOTAL REPAID" }), _jsx(NairaKobo, { amount: totals.repaid, size: 16, hidden: !limitVisible })] }), _jsx(View, { style: styles.splitRule }), _jsxs(View, { style: styles.splitColPad, children: [_jsx(Text, { style: styles.splitLabel, children: "TOTAL OUTSTANDING" }), _jsx(NairaKobo, { amount: totals.outstanding, size: 16, hidden: !limitVisible })] })] })] })] }), _jsxs(View, { style: styles.actions, children: [_jsxs(Pressable, { accessibilityRole: "button", onPress: props.onRepay, style: [styles.action, styles.actionSplit], children: [_jsx(View, { style: styles.actionIconWrap, children: _jsx(Image, { source: iconRepay, style: styles.actionIcon }) }), _jsx(Text, { style: styles.actionLabel, children: "Repay Credit" })] }), _jsxs(Pressable, { accessibilityRole: "button", onPress: props.onApplyForLimit, style: [styles.action, styles.actionSplit], children: [_jsx(View, { style: styles.actionIconWrap, children: _jsx(Image, { source: iconPlus, style: styles.actionIcon }) }), _jsx(Text, { style: styles.actionLabel, children: "Apply for Limit" })] }), _jsxs(Pressable, { accessibilityRole: "button", onPress: props.onTransactions, style: styles.action, children: [_jsx(View, { style: styles.actionIconWrap, children: _jsx(Image, { source: iconHistory, style: styles.actionIcon }) }), _jsx(Text, { style: styles.actionLabel, children: "Transactions" })] })] })] }), isPayLimit ? null : (_jsxs(_Fragment, { children: [_jsx(Text, { style: styles.sectionTitle, children: "Brand Limit Allocation" }), _jsxs(View, { style: styles.search, children: [_jsx(Text, { style: styles.searchGlyph, children: "\u2315" }), _jsx(TextInput, { value: query, onChangeText: setQuery, placeholder: "Search Brand", placeholderTextColor: "#D9D9D9", style: styles.searchInput })] }), _jsxs(ScrollView, { horizontal: true, showsHorizontalScrollIndicator: false, contentContainerStyle: styles.chips, children: [_jsx(Pressable, { accessibilityRole: "button", onPress: () => setFilter("all"), style: [styles.chip, filter === "all" && styles.chipOn, filter === "all" && { backgroundColor: brandColor, borderColor: brandColor }], children: _jsx(Text, { style: [styles.chipLabel, filter === "all" && styles.chipLabelOn, filter === "all" && cta.label], children: "All Product" }) }), products.map((product, index) => {
|
|
91
|
+
const on = filter === product.id;
|
|
92
|
+
return (_jsx(Pressable, { accessibilityRole: "button", onPress: () => setFilter(product.id), style: [styles.chip, on && styles.chipOn, on && { backgroundColor: brandColor, borderColor: brandColor }], children: _jsx(Text, { style: [styles.chipLabel, on && styles.chipLabelOn, on && cta.label], children: product.title }) }, `${product.id}-${index}`));
|
|
93
|
+
})] }), _jsx(View, { style: styles.brandList, children: brands.length ? (brands.map((brand, index) => (_jsx(BrandLimitCard, { brand: brand, onCreditHistory: props.onCreditHistory, onDowngrade: props.onDowngrade }, `${brand.id}-${index}`)))) : (_jsx(Text, { style: styles.emptyCopy, children: "There's no sublimit" })) })] }))] }), _jsx(View, { style: [styles.footerWrap, { paddingBottom: Math.max(insets.bottom, 16) }], children: _jsx(LicensingFooter, {}) })] }));
|
|
94
|
+
}
|
|
95
|
+
const styles = StyleSheet.create({
|
|
96
|
+
page: { flex: 1, backgroundColor: "#F8F9FA" },
|
|
97
|
+
header: { backgroundColor: "#ffffff" },
|
|
98
|
+
headerRow: {
|
|
99
|
+
flexDirection: "row",
|
|
100
|
+
alignItems: "center",
|
|
101
|
+
gap: 13,
|
|
102
|
+
paddingHorizontal: 16,
|
|
103
|
+
paddingVertical: 20
|
|
104
|
+
},
|
|
105
|
+
back: { width: 24, height: 24, alignItems: "center", justifyContent: "center" },
|
|
106
|
+
headerTitle: {
|
|
107
|
+
flex: 1,
|
|
108
|
+
fontFamily: GorditaFamily.medium,
|
|
109
|
+
fontSize: 18,
|
|
110
|
+
lineHeight: 28,
|
|
111
|
+
color: "#000000"
|
|
112
|
+
},
|
|
113
|
+
headerLink: { paddingVertical: 4, paddingLeft: 8 },
|
|
114
|
+
headerLinkLabel: {
|
|
115
|
+
fontFamily: GorditaFamily.medium,
|
|
116
|
+
fontSize: 13,
|
|
117
|
+
lineHeight: 20,
|
|
118
|
+
color: "#999999"
|
|
119
|
+
},
|
|
120
|
+
scroll: { flex: 1 },
|
|
121
|
+
scrollContent: {
|
|
122
|
+
paddingHorizontal: 16,
|
|
123
|
+
paddingTop: 16,
|
|
124
|
+
paddingBottom: 24,
|
|
125
|
+
gap: 16
|
|
126
|
+
},
|
|
127
|
+
card: {
|
|
128
|
+
backgroundColor: "#ffffff",
|
|
129
|
+
borderWidth: 1,
|
|
130
|
+
borderColor: "#F0F0F1",
|
|
131
|
+
borderRadius: 10,
|
|
132
|
+
paddingHorizontal: 8,
|
|
133
|
+
paddingTop: 8,
|
|
134
|
+
paddingBottom: 16,
|
|
135
|
+
gap: 16
|
|
136
|
+
},
|
|
137
|
+
limitPanel: {
|
|
138
|
+
backgroundColor: "#F0F0F1",
|
|
139
|
+
borderRadius: 10,
|
|
140
|
+
paddingTop: 16,
|
|
141
|
+
paddingBottom: 8,
|
|
142
|
+
paddingHorizontal: 8,
|
|
143
|
+
alignItems: "center",
|
|
144
|
+
gap: 24
|
|
145
|
+
},
|
|
146
|
+
totalRow: { flexDirection: "row", alignItems: "center", justifyContent: "center", gap: 8 },
|
|
147
|
+
totalLabel: {
|
|
148
|
+
fontFamily: GorditaFamily.medium,
|
|
149
|
+
fontSize: 10,
|
|
150
|
+
lineHeight: 16,
|
|
151
|
+
color: "#999999"
|
|
152
|
+
},
|
|
153
|
+
eyeBtn: { width: 20, height: 20, alignItems: "center", justifyContent: "center" },
|
|
154
|
+
eye: { width: 20, height: 20 },
|
|
155
|
+
amountMain: {
|
|
156
|
+
fontFamily: GorditaFamily.bold,
|
|
157
|
+
fontSize: 30,
|
|
158
|
+
lineHeight: 34,
|
|
159
|
+
color: "#333333",
|
|
160
|
+
letterSpacing: -0.6,
|
|
161
|
+
textAlign: "center"
|
|
162
|
+
},
|
|
163
|
+
amountMuted: {
|
|
164
|
+
fontFamily: GorditaFamily.bold,
|
|
165
|
+
fontSize: 30,
|
|
166
|
+
lineHeight: 34,
|
|
167
|
+
color: "#D9D9D9"
|
|
168
|
+
},
|
|
169
|
+
usagePill: {
|
|
170
|
+
flexDirection: "row",
|
|
171
|
+
alignItems: "center",
|
|
172
|
+
backgroundColor: "#ffffff",
|
|
173
|
+
borderRadius: 99,
|
|
174
|
+
paddingHorizontal: 8,
|
|
175
|
+
paddingVertical: 4
|
|
176
|
+
},
|
|
177
|
+
usagePct: {
|
|
178
|
+
fontFamily: GorditaFamily.bold,
|
|
179
|
+
fontSize: 14,
|
|
180
|
+
lineHeight: 14,
|
|
181
|
+
color: "#28A745"
|
|
182
|
+
},
|
|
183
|
+
usageCopy: {
|
|
184
|
+
fontFamily: GorditaFamily.regular,
|
|
185
|
+
fontSize: 14,
|
|
186
|
+
lineHeight: 14,
|
|
187
|
+
color: "#999999"
|
|
188
|
+
},
|
|
189
|
+
splitStack: { alignSelf: "stretch", gap: 8 },
|
|
190
|
+
splitBox: {
|
|
191
|
+
alignSelf: "stretch",
|
|
192
|
+
backgroundColor: "#ffffff",
|
|
193
|
+
borderRadius: 10,
|
|
194
|
+
padding: 8,
|
|
195
|
+
flexDirection: "row",
|
|
196
|
+
alignItems: "center"
|
|
197
|
+
},
|
|
198
|
+
splitCol: { flex: 1, gap: 8, paddingHorizontal: 8 },
|
|
199
|
+
splitColPad: { flex: 1, gap: 8, paddingLeft: 12 },
|
|
200
|
+
splitRule: { width: 1, height: 68, backgroundColor: "#F0F0F1" },
|
|
201
|
+
splitLabel: {
|
|
202
|
+
fontFamily: GorditaFamily.medium,
|
|
203
|
+
fontSize: 10,
|
|
204
|
+
lineHeight: 16,
|
|
205
|
+
color: "#999999"
|
|
206
|
+
},
|
|
207
|
+
usedMain: {
|
|
208
|
+
fontFamily: GorditaFamily.bold,
|
|
209
|
+
fontSize: 16,
|
|
210
|
+
lineHeight: 16,
|
|
211
|
+
color: "#333333",
|
|
212
|
+
letterSpacing: -0.32
|
|
213
|
+
},
|
|
214
|
+
usedMuted: {
|
|
215
|
+
fontFamily: GorditaFamily.bold,
|
|
216
|
+
fontSize: 16,
|
|
217
|
+
lineHeight: 16,
|
|
218
|
+
color: "#D9D9D9"
|
|
219
|
+
},
|
|
220
|
+
actions: { flexDirection: "row", alignItems: "flex-start" },
|
|
221
|
+
action: { flex: 1, alignItems: "center", gap: 8 },
|
|
222
|
+
actionSplit: { borderRightWidth: 1, borderRightColor: "#F0F0F1" },
|
|
223
|
+
actionIconWrap: {
|
|
224
|
+
width: 32,
|
|
225
|
+
height: 32,
|
|
226
|
+
padding: 4,
|
|
227
|
+
alignItems: "center",
|
|
228
|
+
justifyContent: "center"
|
|
229
|
+
},
|
|
230
|
+
actionIcon: { width: 24, height: 24 },
|
|
231
|
+
actionLabel: {
|
|
232
|
+
fontFamily: GorditaFamily.medium,
|
|
233
|
+
fontSize: 12,
|
|
234
|
+
lineHeight: 20,
|
|
235
|
+
color: "#333333",
|
|
236
|
+
textAlign: "center"
|
|
237
|
+
},
|
|
238
|
+
sectionTitle: {
|
|
239
|
+
fontFamily: GorditaFamily.bold,
|
|
240
|
+
fontSize: 14,
|
|
241
|
+
lineHeight: 14,
|
|
242
|
+
color: "#333333"
|
|
243
|
+
},
|
|
244
|
+
search: {
|
|
245
|
+
height: 45,
|
|
246
|
+
borderRadius: 8,
|
|
247
|
+
borderWidth: 1,
|
|
248
|
+
borderColor: "#F0F0F1",
|
|
249
|
+
backgroundColor: "#ffffff",
|
|
250
|
+
paddingHorizontal: 16,
|
|
251
|
+
flexDirection: "row",
|
|
252
|
+
alignItems: "center",
|
|
253
|
+
gap: 8
|
|
254
|
+
},
|
|
255
|
+
searchGlyph: { fontSize: 18, color: "#010611", lineHeight: 20 },
|
|
256
|
+
searchInput: {
|
|
257
|
+
flex: 1,
|
|
258
|
+
fontFamily: GorditaFamily.regular,
|
|
259
|
+
fontSize: 16,
|
|
260
|
+
lineHeight: 24,
|
|
261
|
+
color: "#333333",
|
|
262
|
+
padding: 0
|
|
263
|
+
},
|
|
264
|
+
emptyCopy: {
|
|
265
|
+
fontFamily: GorditaFamily.regular,
|
|
266
|
+
fontSize: 14,
|
|
267
|
+
lineHeight: 20,
|
|
268
|
+
color: "#333333",
|
|
269
|
+
textAlign: "center",
|
|
270
|
+
paddingVertical: 24
|
|
271
|
+
},
|
|
272
|
+
chips: { gap: 8, paddingVertical: 8 },
|
|
273
|
+
chip: {
|
|
274
|
+
borderWidth: 1,
|
|
275
|
+
borderColor: "#F0F0F1",
|
|
276
|
+
borderRadius: 40,
|
|
277
|
+
paddingHorizontal: 16,
|
|
278
|
+
paddingVertical: 8,
|
|
279
|
+
backgroundColor: "#ffffff"
|
|
280
|
+
},
|
|
281
|
+
chipOn: { backgroundColor: "#0E0E0E", borderColor: "#0E0E0E" },
|
|
282
|
+
chipLabel: {
|
|
283
|
+
fontFamily: GorditaFamily.regular,
|
|
284
|
+
fontSize: 14,
|
|
285
|
+
lineHeight: 14,
|
|
286
|
+
color: "#333333"
|
|
287
|
+
},
|
|
288
|
+
chipLabelOn: {
|
|
289
|
+
fontFamily: GorditaFamily.medium,
|
|
290
|
+
color: "#ffffff"
|
|
291
|
+
},
|
|
292
|
+
brandList: { gap: 16 },
|
|
293
|
+
footerWrap: { alignItems: "center", paddingTop: 8 }
|
|
294
|
+
});
|
|
295
|
+
//# sourceMappingURL=LimitHomeWithLimit.screen.js.map
|