@zeniai/web-cockpit-ui 1.14.35-qa → 1.14.36-dev
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/dist/assets/{ACHDetailsPage-MP6kdpXK-BAG6ONUf.js → ACHDetailsPage-3oKbHC1_-Qn9d1Xyv.js} +1 -1
- package/dist/assets/{AIPerformancePage-BhOaFmfv-DJPCQGme.js → AIPerformancePage-Cn2skpeY-BNc-HLpr.js} +26 -26
- package/dist/assets/{AccountInfoPage-D9Ft_CT9-Co34pWp7.js → AccountInfoPage-Dxnr3s2C-ByHNSUfv.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-DvWx52e0-JoBHhmtJ.js → AccountInfoPageContent-CMT1vJ_n-DgA1oKva.js} +30 -30
- package/dist/assets/{AccountLockedInfoModal-B1_3C1ER-CsXXKJaZ.js → AccountLockedInfoModal-2GuYlOQJ-Cb5egJeS.js} +4 -4
- package/dist/assets/{AccountReconDetailsDrawerPage-D9e7qhm0-DJD0R9bB.js → AccountReconDetailsDrawerPage-Cu_lsw9T-Ct4NG0ON.js} +13 -13
- package/dist/assets/{AccountRow-CiIWoLq3-BYr2bUH2.js → AccountRow-BcSPuOPF-R9MJWqpQ.js} +14 -14
- package/dist/assets/{AccountsPromoCardStack-CC72plKm-Matqa_MR.js → AccountsPromoCardStack-Ch88Cvn8-B36ZrxM-.js} +30 -30
- package/dist/assets/{AddAddressForCardDrawer-CIj76DoU-B9TffAvk.js → AddAddressForCardDrawer-Df4OROTJ-Ccg4Z6Tb.js} +1 -1
- package/dist/assets/{AddToWalletPage-B3vdkyWl-VZV_7F8R.js → AddToWalletPage-DgVLkIkz-CQF3I5rp.js} +19 -19
- package/dist/assets/{AgingReportsPage-CbkMxxO_-BABl_foK.js → AgingReportsPage-M1xr5QPt-DB06_ukJ.js} +15 -15
- package/dist/assets/{AllUserItems-DJo9kLSI-CnxvFofk.js → AllUserItems-CzMARJS5-DMwRKAgK.js} +11 -11
- package/dist/assets/{ApAgingDetailPage-DcAh6DLg-COmx3rdg.js → ApAgingDetailPage-C3YN724_-CRhegmmd.js} +3 -3
- package/dist/assets/{AppBasePage-DztnPkfs-C6ROiaUG.js → AppBasePage-CP4BX_QO-B6mlxKAR.js} +16 -16
- package/dist/assets/{AppDrawerContent-DDmKn21i-B0r6j2g7.js → AppDrawerContent-Dc3UorVz-DdpZ1z1h.js} +8 -8
- package/dist/assets/{ApprovalRulesSettingsPage-Di8tAJ8K-sRJdWOYr.js → ApprovalRulesSettingsPage-DHw_cGEb-DsqpcHH3.js} +1 -1
- package/dist/assets/ArAgingChart-D6396NAQ-B7eZ8sbL.js +24 -0
- package/dist/assets/{ArAgingDetailPage-B3JQ08nH-yWZ4Q_gU.js → ArAgingDetailPage-BU6gubOU-BkAN4ZrM.js} +1 -1
- package/dist/assets/{AttachmentView-p8mBqYjm-DXZMkL5k.js → AttachmentView-Cjq9bT2R-B9cOvAgG.js} +6 -6
- package/dist/assets/{BankAccountSection-AuQLRvdb-C_Pp6K1g.js → BankAccountSection-DcBAe_nk-Cj8Y52AW.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-HvUMABu0-7weYEdUg.js → BankAccountWarningSection-CgdNj2lq-DoFj2r_M.js} +19 -19
- package/dist/assets/{BankConnectionsSettingsPage-D61w90F9-DfyisqdH.js → BankConnectionsSettingsPage-DN-l_MKN-CZ9NiTex.js} +10 -10
- package/dist/assets/{BillDetailPage-nqHoph6T-DVUv4kUT.js → BillDetailPage-DSNj9dZa-GtcAJ7zm.js} +11 -11
- package/dist/assets/BillPayApprovalRuleDetailPage-Bn_93mxC-PbuiMjZ5.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-Bd87v4ca-Bux_Krxh.js → BillPayApprovalRulesPage-3E7Zb7Tv-8xvci8F-.js} +7 -7
- package/dist/assets/{BillPayPromoPage-CNiTD_mM-BuGb7q9e.js → BillPayPromoPage-iqi-3PsJ-BJG1XRwv.js} +32 -32
- package/dist/assets/{BillPaySetUpPage-BUSwkzqv-DIcHGcbo.js → BillPaySetUpPage-DkBnCNVT-DuhN0B9J.js} +2 -2
- package/dist/assets/{BillingSettingsPage-aPRvtlqA-CvfD2Y8F.js → BillingSettingsPage-Bxl_rTxp-CiR8VS-8.js} +4 -4
- package/dist/assets/{BillsBulkReviewDrawerPage-BU3VuxEm-VUKCHen3.js → BillsBulkReviewDrawerPage-BAQfge2H-BRM7aN30.js} +1 -1
- package/dist/assets/{BoxItem-CZKWkdxd-B5o_Xoj8.js → BoxItem-BiXktaUJ-Cfy2EaaH.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CeDGi-RH-xh2K8rbM.js → BusinessVerificationPage-BvtQdbIO-BG9aG986.js} +7 -7
- package/dist/assets/CardNumberSubText-usoiubBx-JT9ehyHX.js +21 -0
- package/dist/assets/{CashbackDetailPage-V-W_U5k1-DPPyNC8_.js → CashbackDetailPage-CKSxtvZL-C5tKHPnX.js} +17 -17
- package/dist/assets/{ChargeCardDetailPage-BP-zAMYI-C3fXrPWG.js → ChargeCardDetailPage-Dwb3MwPx-DGZ2FMyW.js} +40 -40
- package/dist/assets/{ChargeCardListPage-DORW9YE4-V1Xd3RQj.js → ChargeCardListPage-CQ3lUqTC-ClOjN4Tj.js} +27 -27
- package/dist/assets/{ChargeCardListTable-C32mZrwY-BKVvlwyx.js → ChargeCardListTable-B2MUmgfU-D_6CnuuE.js} +14 -14
- package/dist/assets/{ChargeCardPromoPage-CE4kH4Js-DA3SyzWk.js → ChargeCardPromoPage-DNZ_qrk1-Ckodpm9A.js} +14 -14
- package/dist/assets/{ChargeCardSetupPage-CumpB2GQ-CLFpKwEI.js → ChargeCardSetupPage-DX4VlcBt-9AzPA1m8.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-DPIAjww0-B4pg53DT.js → ChargeCardStatementsPage-DlVfCfY8-Ciq-TW-L.js} +6 -6
- package/dist/assets/ChargeCardUtils-i4In9Us5-BeJKYV4x.js +1 -0
- package/dist/assets/{ChaseOverlay-BGZfbx0H-CY_E45BY.js → ChaseOverlay-DYQYE0RM-Cl7PDEtm.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-Bl52b4SW-CZzuzj_7.js → CheckDepositDrawerPage-C653BICE-BliVsvVN.js} +11 -11
- package/dist/assets/{CollapsableReportTable-B0wI9SM1-DyxRAEGL.js → CollapsableReportTable-KGZROyWO-BB5JbMLM.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-DyOVRvtQ-qzbkNJ8X.js → CompanyOfficerDetailsSection-WlKm-fM0-DT0aWaVM.js} +30 -30
- package/dist/assets/{CompanyPassportCard-C_YUK3R3-BmAXdeyi.js → CompanyPassportCard-BXQt77bL-CgrFJoow.js} +5 -5
- package/dist/assets/{CompanyPassportPage-QFJ0G7X7-usFLRy-E.js → CompanyPassportPage-CdM9x1g7-DHJ-ptII.js} +29 -29
- package/dist/assets/{CompleteProfile-DVE16v3y-CMtnbQZR.js → CompleteProfile-g0ErQlZA-BaxE51VT.js} +1 -1
- package/dist/assets/{ConfettiBurst-BA8BvtO--w2UtNkAF.js → ConfettiBurst-Cu0ce9ZQ-B47uGNY_.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-ncBGwfXK-BUe0tXGP.js → CreateOrEditVendorPage-Zn--1Mu0-xtwEugAO.js} +8 -8
- package/dist/assets/{CreditCardPaymentDrawerPage-DqEVQgMx-DFK6MZ6X.js → CreditCardPaymentDrawerPage-BSS4YcVE-BNPDfaX6.js} +19 -19
- package/dist/assets/{CreditCardPaymentPlgSection-vmErttTD-CytN37qx.js → CreditCardPaymentPlgSection-QKLSnyR5-DUyvaz3Z.js} +8 -8
- package/dist/assets/{CurrencySelectField-BEb19UaA-BoldRT0Z.js → CurrencySelectField-DxrwSaJK-Cu5VbUzb.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-L4l1ybmh-B2kuCczW.js → CustomerOnboardingActivationPage-BbfI4g9k-bQf7ee-N.js} +2 -2
- package/dist/assets/CustomerOnboardingContainerPage-DkXWw44M-DCp1xd8r.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-D3Zm658F-BuH9tDfF.js → CustomerOnboardingDetailPageSkeleton-DyIeAi4x-Ciojhx6k.js} +9 -9
- package/dist/assets/{CustomerOnboardingNoStepsPage-BXsJFpEX-DgMgRgZi.js → CustomerOnboardingNoStepsPage-BbHZQvuH-pcu4RngU.js} +2 -2
- package/dist/assets/{CustomerOnboardingPage-D3zpI1df-COxdjvpq.js → CustomerOnboardingPage-BGKjRruK-C_-kvbjL.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-DjVZfC2C-9VLKFifa.js → CustomerOnboardingProductSuitePage-Cmwfbh1x-D3ospPa7.js} +1 -1
- package/dist/assets/{Dashboard-wY0FneRs-CscNuWPH.js → Dashboard-DCbGYUNO-CggBXce9.js} +114 -114
- package/dist/assets/{DashboardReportPage-CMgr0CSc-DFK7qDD5.js → DashboardReportPage-7sacscjb-CCrnEMLn.js} +19 -19
- package/dist/assets/{DashboardSidebarBackgroundAnimation-B73UBY5T-CojDVgPF.js → DashboardSidebarBackgroundAnimation-CcQR2lMq-Cf2eLsVD.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DrqBG940-BL30cPZ9.js → DepositAccTransactionItem-u7kiVxu3-Cq_mC_h_.js} +3 -3
- package/dist/assets/DepositAccTransactionListPage-BTMDl7KO-CkFA5sso.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-vRHD5DmW-CB41e-Go.js → DomesticWireDetailsPage-CjliTPRp-Cxo45rzx.js} +1 -1
- package/dist/assets/{DownloadOverlay-D_UoB4Xy-CXZqPF3W.js → DownloadOverlay-LzyYQ7X7-Cqsz6Go0.js} +1 -1
- package/dist/assets/{DrawerPage-ijHe0bCp-DiEqZBob.js → DrawerPage-DVu3OGym-ELFavZIA.js} +5 -5
- package/dist/assets/{EditPeoplePage-BehcmP1s-B0OWtRsu.js → EditPeoplePage-COZuksUu-BAJ712Zd.js} +5 -5
- package/dist/assets/{EditReimbursementDetailPage-Cz82Vz26-BRJ7TMrj.js → EditReimbursementDetailPage-P7gybbTe-DhmHzkez.js} +59 -59
- package/dist/assets/{EntityDetailPage-CN-ewzjy-BWpB3zGM.js → EntityDetailPage-CMAFiXng-EHp1vVUv.js} +2 -2
- package/dist/assets/{EntitySummarySection-B4ozhtlU-Bh59rhzI.js → EntitySummarySection-BezHSTT7-CA4YQ14w.js} +5 -5
- package/dist/assets/{ExpenseAutomationOverviewPage-BmNuSoUs-u9wwMA7C.js → ExpenseAutomationOverviewPage-CX5wpbbp-BxzSM0jW.js} +17 -17
- package/dist/assets/ExpenseAutomationPage-CaeVli6J-DwDyMFlL.js +1650 -0
- package/dist/assets/{ExpressPayPage-CgrGtZ4F-DhVG-NpX.js → ExpressPayPage-KpzY-AC4-B3x4TcSO.js} +9 -9
- package/dist/assets/{FeaturePreviewPage-Dk_c37Rm-DmGR9BMT.js → FeaturePreviewPage-T7VgNi57-XquGM-uR.js} +2 -2
- package/dist/assets/{FollowStepsSection-BVi7m38_-DCvEuFsi.js → FollowStepsSection-BffVXexb-Wb7yroWy.js} +23 -23
- package/dist/assets/{GlobalReviewListPage-DiZGC9B1-DVmZQU9C.js → GlobalReviewListPage-DPJug-7p-FbhUXbzf.js} +14 -14
- package/dist/assets/{HelpButton-DiIoYeXn-B1h-JEp9.js → HelpButton-BkxT0f9t-DltO0YWd.js} +4 -4
- package/dist/assets/{InformationCardStack-C8-4dhWR-CkAP-hMp.js → InformationCardStack-CiO7p4bX-Ca7THwnz.js} +4 -4
- package/dist/assets/{InsightsCardStack-BKm0dSeJ-BPY6fmB5.js → InsightsCardStack-CCx4eRv0-BoXCNjZt.js} +9 -9
- package/dist/assets/{InsightsSection-C9MHOCQd-CxH8mnp9.js → InsightsSection-CQRpIy9c-BVaWF-TR.js} +4 -4
- package/dist/assets/{IntegrationsSettingsPage-4qlL5Dsx-pk08ZRqz.js → IntegrationsSettingsPage-CDHIF3ky-BZdWjiMh.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-DqCtPykV-RePKT-cw.js → InternationalWireSwiftDetailsPage-BTB0YTLP-Fw5hYyJd.js} +13 -13
- package/dist/assets/{InternationalWireVerificationPage-Cl-p0inO-N3ibBM1E.js → InternationalWireVerificationPage-DZAa5CXK-CShVs05a.js} +10 -10
- package/dist/assets/{InviteFormPage-L6j0rOBW-BljG3gyG.js → InviteFormPage-CVIA_4cc-xvdMmRWy.js} +20 -20
- package/dist/assets/{InvitePageListView-KYjMIc4q-BvLSTtNP.js → InvitePageListView-BapkK9dR-CMoNigd7.js} +40 -40
- package/dist/assets/InvitePeoplePage-ChM26gAd-3PSfXhTf.js +12 -0
- package/dist/assets/{InvoiceUploadSection-DZC4oscG-qxWcqOIO.js → InvoiceUploadSection-CfoxMKse-CDgcPY9V.js} +6 -6
- package/dist/assets/{IssueChargeCardPage-DMdZCfqA-CZcxwjMQ.js → IssueChargeCardPage-DoNxoxCV-BuHBJdzr.js} +22 -22
- package/dist/assets/{LabeledAddressValue-CBOrzSsG-nee1vU4U.js → LabeledAddressValue-DzKLuwO0-Dbmo8xwC.js} +1 -1
- package/dist/assets/LabeledAddressValueField-C-fJPbDr-BL1p3tu1.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-BoXsUqpR-oiIFvQRa.js → LabeledControlledCheckBoxField-BsXmJGaz-B9D7gdxU.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CQPkrdRe-DDLZPwbC.js → LabeledCreatableSingleSelectField-CNcoKtBi-DbNXS5w-.js} +2 -2
- package/dist/assets/{LabeledDocumentField-DEeeTuVw-uCiSHKoS.js → LabeledDocumentField-DB-XX9hy-ARW_yKHV.js} +3 -3
- package/dist/assets/{LabeledDropDownFormattedTextField-DYRkxlY--Bk-7Qy7i.js → LabeledDropDownFormattedTextField-ChF-tfZl-CoOdklmM.js} +3 -3
- package/dist/assets/{LabeledText-DQiR_FIX-Cq-hk8XI.js → LabeledText-DQjY46zj-CJXj8rFi.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-dgPgTmNg-BgLjIn8p.js → LabeledUserSingleSelectWithSubtitlesField-Dg_jyvIT-BII3s1HZ.js} +7 -7
- package/dist/assets/{LabeledZeniRolesDropDownField-azPB8idg-Dod-yMmJ.js → LabeledZeniRolesDropDownField-qeHXm7K1-iR_szjxt.js} +6 -6
- package/dist/assets/{LinkJETransactionPage-Ct0HcxvN-CoVcew-v.js → LinkJETransactionPage-DWq96C-C-BScn3NVF.js} +6 -6
- package/dist/assets/{LowBalancePopup-Zvy2iURT-CKL7oXqu.js → LowBalancePopup-DIu4EJtv-FHHWLFWk.js} +4 -4
- package/dist/assets/{MagicLinkACHDetailsPage-BY6pEieF-CMSi32Px.js → MagicLinkACHDetailsPage-0uTQmYPp-CFGb5gZH.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-BK5RZSiS-BptWrimx.js → MagicLinkDomesticWireDetailsPage-CtkSDg_U-DqPdzilp.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-hK5cNiNB-WwKIYKSe.js → MagicLinkInternationalWireDetailsPage-qNEvVVcm-C2m2KEe0.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Drn_p982-Dd9Y_AlA.js → MagicLinkSuccessPage-D4C3XF4W-EgVx2lLe.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DRMHVOzF-BonTYr-V.js → MagicLinkTitleSection-DXZCLfIM-2GWQnCnZ.js} +9 -9
- package/dist/assets/{MailingDetailsSection-DgdAYgpS-CFXayn-8.js → MailingDetailsSection-7_w5PfFQ-C9R3FLGa.js} +6 -6
- package/dist/assets/{MeetingCalenderPopup-CAh7iae0-CIOK3_iA.js → MeetingCalenderPopup-2P6uhLqh-CkyOJaM-.js} +1 -1
- package/dist/assets/{Menu-bleLgSLu-DaNN7jzz.js → Menu-Ya9EH9T1-XEx08cqQ.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-DRxmQCbq-Bx9nexN4.js → MyBankConnectionsSettingsPage-Bz9BP12B-B0raEGfA.js} +11 -11
- package/dist/assets/{MyPendingActivationChargeCardListPage-BYLhb47G-pes3OjvP.js → MyPendingActivationChargeCardListPage-BxFFCBYU-CmVzmveh.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-eVfCRTfx-C1C2MWMx.js → MyProfileSettingsPage-BRTEYBf1-BuzCCWQu.js} +11 -11
- package/dist/assets/{NavBarWithPicker-BE2MW7hB-C2Q1UUPB.js → NavBarWithPicker-Cx1ldzdT-ByHGGAzI.js} +4 -4
- package/dist/assets/{NavigationArrow-eEaMttBX-dVTivT8M.js → NavigationArrow-Cic_S7sL-CafjbEnx.js} +1 -1
- package/dist/assets/{NavigationDots-CNwL0a7I-eyaik967.js → NavigationDots-BnqdhDar-BHuykGzD.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-CSWqCqAC-3LX-Lnzn.js → NewGlobalMerchantPage-BMLnV68V-Df2U2-Pi.js} +11 -11
- package/dist/assets/{NoDataChart-DNmdY5gQ-CMwiaxGm.js → NoDataChart-CyIzcvzb-CVVPhPRo.js} +3 -3
- package/dist/assets/{NoDataTable-DW2wAX3o-7ZoMqIrJ.js → NoDataTable-Cf9Qv-ms-BIxVQmVT.js} +1 -1
- package/dist/assets/{NotFoundPage-BMJTG-tj-BCL9lImd.js → NotFoundPage-BP2jA51O-DvlpUk9Z.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-Vd3UvdLu-S0VOV4Ql.js → NotificationSettingsPage-Bhj72XzL-DgHNUBYw.js} +17 -17
- package/dist/assets/NotificationsListConfig-BcRqz3T--CwofCBLm.js +1 -0
- package/dist/assets/{NotificationsPage-BaekDEw7-Cs7zF3k-.js → NotificationsPage-DEQ0muyV-AFyu-A1B.js} +29 -29
- package/dist/assets/{OpExByVendorPage-DNyTA9nx-D6E7lJvv.js → OpExByVendorPage-BPvIdjMh-GjqInlE8.js} +6 -6
- package/dist/assets/{OverlayContainerPage-Bmu909Fo-DQ82QsuS.js → OverlayContainerPage-Bmu909Fo-B4CijHVT.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DbP4ybN4-DeKOl1Oc.js → PandLWithForecastPage-CgMYDel--CrwH5GHU.js} +6 -6
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Dd4Aen8j-Ctc3Ha-y.js → PaymentAccountSetupBillingAddressSection-CfUpfrt6-DiMg5_6V.js} +12 -12
- package/dist/assets/{PeoplePage-B3n7ek2h-uuc0_T22.js → PeoplePage-BrL4O-03-BHA1i9-R.js} +18 -18
- package/dist/assets/{PortfolioAllocationFormPage-CzA_c7hR-D4H-GZTH.js → PortfolioAllocationFormPage-C24sa7Lv-D7dV2koR.js} +7 -7
- package/dist/assets/{PortfolioDetails-Drgv4Osg-Wtx195rT.js → PortfolioDetails-wAtPiO4w-C8Xq6LTb.js} +23 -23
- package/dist/assets/{ProductsCarousel-BnnfJR0o-1ucX8gqh.js → ProductsCarousel-B8KxzJsX-BAeIItJs.js} +5 -5
- package/dist/assets/{PromoBaseCards-BGHJivI8-QTKlmjbr.js → PromoBaseCards-DKu8lmMb-CbitZiAU.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-uiW9eeZu-CJhmYtAn.js → QBOConnectionDialog-CSRVcpvB-DsmFVlUU.js} +9 -9
- package/dist/assets/{QBOSetupSection-DPb0VAii-CLt6Rb6_.js → QBOSetupSection-CwO2OwTA-DfOK3FQy.js} +10 -10
- package/dist/assets/ReimbursementApprovalRuleDetailPage-DWAgRWah-DAeIJHt1.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-C1AFF_DM-vNX_0PWy.js → ReimbursementApprovalRulesPage-CWZIqbqf-2nP7no61.js} +32 -32
- package/dist/assets/{ReimbursementDetailPage-Du6R1zje-DfmTmZh3.js → ReimbursementDetailPage-DaiOed8i-t4bX9i7-.js} +8 -8
- package/dist/assets/{ReimbursementPromoPage-CW9eyjp9-hg5pl-np.js → ReimbursementPromoPage-CTpCa9C7-WAySoU1n.js} +6 -6
- package/dist/assets/{ReimbursementSetUpPage-CbPwgIqt-DlHsYtWb.js → ReimbursementSetUpPage-Cd0w6zdZ-CapxuQlm.js} +3 -3
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-D_IG6Yzl-B2GWCVK0.js +1 -0
- package/dist/assets/{ReloadCard-Dvn17Oxl-DzvJVrId.js → ReloadCard-D8XT-nw--BGnVgOtj.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-C5_qr5qe-ClZSH2bH.js → ReportTableViewSelector-kf12PTIw-_koMJS6q.js} +10 -10
- package/dist/assets/{ReportsPage-BNcymVwf-C0BED4Ok.js → ReportsPage-D0dEACVc-CgqzQVRZ.js} +9 -9
- package/dist/assets/{RevenueChart-DILkui6c-DnsmI5K2.js → RevenueChart-D67Egnoj-B0BJYpf4.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-ZYzvK95X-KVKmpgCn.js → ReviewDetailsPage-DX3JdY2D-BVW8q6gp.js} +5 -5
- package/dist/assets/{ReviewOverlay-DhUFI1ES-r1eu-OFz.js → ReviewOverlay-BUmIoEZp-D3xvXshe.js} +4 -4
- package/dist/assets/{RoleWithToolTip-_W95JBwt-C0fe2sAV.js → RoleWithToolTip-QUDWRgyn-DzrP2xLD.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-iQXV-V_H-BhZNXgbs.js → ScheduleDetailsFixedAssetsPage-ffFbqWqR-mWiNohG4.js} +4 -4
- package/dist/assets/{ScheduleDetailsPage-KgHwQGrw-B2V1iuf9.js → ScheduleDetailsPage-Btyinpxx-TW4CABi6.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-Bixq8Q7W-N1kxr5zg.js → ScheduleSequenceTable-nubG9ZPF-CmzJbQeN.js} +17 -17
- package/dist/assets/{ScreenRoutes-65j87oC2.js → ScreenRoutes-BC18Q4eZ.js} +1 -1
- package/dist/assets/SetUpAccountSection-C9PPpmcc-puvAr14h.js +378 -0
- package/dist/assets/{SetUpDefaultSection-CI0mxu3H-JpA1rufD.js → SetUpDefaultSection-D54P9sLQ-DIoImqvg.js} +9 -9
- package/dist/assets/{SignIn-DslenepV-m8WTqnO1.js → SignIn-DQERofSd-BPkKMSDj.js} +11 -11
- package/dist/assets/{SignInScreen-Bs1sd9WX.js → SignInScreen-BbeWg9hl.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-D7SzmCmM-DsyAjyVx.js → SpendManagementListViewPage-B9iJVZhK-Dd5zS51l.js} +10 -10
- package/dist/assets/{SpendManagementPerTabPage-DKaDr4mu-CQG-8bWa.js → SpendManagementPerTabPage-DiduNPFx-BvN2qFiJ.js} +12 -12
- package/dist/assets/{SpendManagementSection-Ddfq2u6H-DjhY5rM_.js → SpendManagementSection-BPJDk9AQ-DNTgKL_h.js} +5 -5
- package/dist/assets/{SpendMgmtSetupAccountSection-CPnNzjr--CVGBUj7h.js → SpendMgmtSetupAccountSection-BVOwbOVv-BbEelpUf.js} +6 -6
- package/dist/assets/StatementItem-DPiBruWm-BTp46EGg.js +31 -0
- package/dist/assets/{StatementsPage-o7MvNKvd-D45F8BwH.js → StatementsPage-BzG0fWr9-B7zKsVpb.js} +6 -6
- package/dist/assets/{StatusSwitcher-kWLQCCwS-B1OCqMuJ.js → StatusSwitcher-aZiGS6I4-CW57CAir.js} +4 -4
- package/dist/assets/{SubTabSwitcher-BKm9FxhL-x8uzq0sl.js → SubTabSwitcher-BPzCR9_G-CKWRfEmM.js} +1 -1
- package/dist/assets/{SummaryCard-DBMfNfN2-CzWqfaGl.js → SummaryCard-DE3DiW4z-DCcTNI78.js} +1 -1
- package/dist/assets/{TaskManagementPage-D_wjK-S2-5FRXGPBR.js → TaskManagementPage-bmYzZzlx-BQOYF4T3.js} +14 -14
- package/dist/assets/{TimeRangeSwitcher-2vDR_AEV-BCS0yx4E.js → TimeRangeSwitcher-D10b_iT0-B6MHaMu9.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-BB3_i5V0-_2lvvQWN.js → TimeframeSwitcher-w4308CL0-B-m8rZcD.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CdP0ViK8-Blh3jpmT.js → TimeframeSwitcherWithToggle-DP7dCTZ--Dr3OM9sZ.js} +1 -1
- package/dist/assets/{TopExCard-BGgGFzmK-CseYSNZP.js → TopExCard-C9Dwe5gi-HuLCC_VB.js} +6 -6
- package/dist/assets/{TopExDetailPage-CbzYG54M-Cn_cL4Fl.js → TopExDetailPage-Ch4gEAFc-CW6a2lM7.js} +14 -14
- package/dist/assets/TransactionDetailPage-y3Jwxln6-CGGNkWbu.js +912 -0
- package/dist/assets/{TransactionList-C0xK6_zI-DXurFqrv.js → TransactionList-Dy4LSOLF-DLQzM8h7.js} +5 -5
- package/dist/assets/{TransactionListBig-CIX6CdX--k6cdfuui.js → TransactionListBig-BOmqcsRt-CoBJs1L1.js} +13 -13
- package/dist/assets/{TransactionListPage-B7ppBJig-Cw4vRsI1.js → TransactionListPage-D1XobIP_-CQ1XF-sO.js} +4 -4
- package/dist/assets/TransactionVendorDetailPage-DNbFFCAy-DiSmfMU1.js +80 -0
- package/dist/assets/{TransferDrawerPage-DerGmul8-CuVOWq-U.js → TransferDrawerPage-DEK-tLwC-CMAkImaq.js} +19 -19
- package/dist/assets/{TreasuryOverviewPage-DW2gZwip-BnPT0qco.js → TreasuryOverviewPage-Bv8YOcOu-DgYbKZRI.js} +45 -45
- package/dist/assets/TreasuryPromoPage-BpJ4G2tW-wrKqn45d.js +477 -0
- package/dist/assets/{TreasurySetupPage-Bo0HQeeU-CiRulceo.js → TreasurySetupPage-DmXhUnJ2-CTKxmbjB.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-DS_VK4WN-Cnn4qXHn.js → TreasuryStatementsPage-iOhX7bQX-C-86zNAp.js} +3 -3
- package/dist/assets/{TreasuryTaxLetterPage-DgwqyL6v-BEtv0yga.js → TreasuryTaxLetterPage-SKYFef4J-CxXJUgOP.js} +3 -3
- package/dist/assets/{TreasuryTransferOrReviewPage-ZrSACgLJ-B-C18Uw6.js → TreasuryTransferOrReviewPage-BAQy6UbF-5smN8wwG.js} +42 -42
- package/dist/assets/{TrendChart-D07k3uRr-DX_P6NGJ.js → TrendChart-DrNmAOxp-D32D_fQx.js} +4 -4
- package/dist/assets/{TrendWithTransactions-ibwuOssC-wAxC5G58.js → TrendWithTransactions-CFapbjqF-Tluomzgb.js} +5 -5
- package/dist/assets/{UncategorizedAccountsMappingPage-D1m2Ok2e-Bc7XjWkf.js → UncategorizedAccountsMappingPage-BjyEIyD--q-mXglLO.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-BJxRjjfK-CSfDNJiC.js → UnitIntegrationPage-CMRuNXKH-W-172t0m.js} +2 -2
- package/dist/assets/{UploadAdditionalDocumentOverlay-DI_GZA8A-D7qH6H92.js → UploadAdditionalDocumentOverlay-BJNFsBN7-CW3s6tmn.js} +2 -2
- package/dist/assets/{Vendor2FAPopup-80vvc7gE-DfCBbxkB.js → Vendor2FAPopup-Dk_XUHkP-BfvRXa0R.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-CQcuiNPr-CceAJ-hu.js → VendorACHDetailsPage-DS1-IldK-BBUTN6DM.js} +1 -1
- package/dist/assets/{VendorDetailPage-Dx_yfZDH-CdV4fZHt.js → VendorDetailPage-CzECD1Tt-BxCeFQBa.js} +8 -8
- package/dist/assets/{VendorDomesticWireDetailsPage-DN5x3F_Z-Bq-suC9S.js → VendorDomesticWireDetailsPage-Bd-dOP2Q-B1c_niFG.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-8Jz187lD-DiuMGs7f.js → VendorFiling1099EditablePage-C7D_fWCV-ar_0EIM_.js} +14 -14
- package/dist/assets/{VendorFirstReviewPage-CokvYaRq-C8O10dnC.js → VendorFirstReviewPage-B4YffYJO-BW-F4-km.js} +10 -10
- package/dist/assets/{VendorInternationalWireDetailsPage-lo9l2Q88-BNP_VZvO.js → VendorInternationalWireDetailsPage-D1i4RwUe-BBAccWWe.js} +7 -7
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CPj3zrDk-Gct01KpS.js → VendorInternationalWireSwiftDetailsPage-QqA8DADQ-CetqwMx2.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-BqoW4DlP-BublwzKM.js → VendorsAccountsSection-C8qo0vKx-DOST9l3F.js} +2 -2
- package/dist/assets/{VerifyDevice-D8iPRJ3k-CjjdiKnG.js → VerifyDevice-Cku9_tdW-BTj-mHAb.js} +1 -1
- package/dist/assets/VideoPlayer-DqxblGWn-BXG0P4e3.js +38 -0
- package/dist/assets/VideoPopup-8253nBrT-DoJHFZMN.js +31 -0
- package/dist/assets/{WarningsDrawerPage-qYWFsE3s-zj7-7ffo.js → WarningsDrawerPage-B08Au4yQ-B9IzdYhz.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-BL2a5Dmz-B_6wvsrQ.js → ZeniAccountDetailPage-Dx-w2w6D-4cfDv73S.js} +16 -16
- package/dist/assets/{ZeniAccountListViewPage-CWqzDWcO-DwWqzBYy.js → ZeniAccountListViewPage-DH4BnQ7k-CHjigIuG.js} +13 -13
- package/dist/assets/ZeniAccountNavBarPieces-ce5jAGIl-DVfSolpZ.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-CBm3w0kN-DJjJeczH.js → ZeniAccountPromoPage-D4J2Yoil-BDHpq4Eb.js} +9 -9
- package/dist/assets/{ZeniAccountSetupPage-C5VzT9lH-Cdnhgc2k.js → ZeniAccountSetupPage-DTkO1ASr-1XYqtTaw.js} +3 -3
- package/dist/assets/{ZeniCopyright-BUctH39C-C_feHk3O.js → ZeniCopyright-BiSq0yhI-CQbT1WRc.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-B-iWjIM--_5mAEjc_.js +63 -0
- package/dist/assets/{analyticsHelper-B3uAu0es-CqogBTHJ.js → analyticsHelper-Dc3DtVTm-Y5fPzPLq.js} +1 -1
- package/dist/assets/{analyticsHelper-B34YX2ij.js → analyticsHelper-lnjVamrT.js} +1 -1
- package/dist/assets/{chartTypes-CJmQ6FtI-TiHHrGYV.js → chartTypes-C7uaeRCc-CtqAquQd.js} +1 -1
- package/dist/assets/{commonDimensions-WRL2ZVK_-CxdZfQVs.js → commonDimensions-MaxjMSVa-n5Ul9FT7.js} +1 -1
- package/dist/assets/{detailCommon-Dfxas1Kf-D_ZxAMOH.js → detailCommon-OK9JA2hc-EAouVA2X.js} +6 -6
- package/dist/assets/{downloadPdf-B1f0mDl2-BZJtGTOh.js → downloadPdf-QtapKpnq-D53WP2BZ.js} +1 -1
- package/dist/assets/{index-LQh-jIrB.js → index-4y_mNX1u.js} +3415 -3415
- package/dist/assets/{mapLoadingInProgressToTreeNode-BG784RuM-B-LxqW1w.js → mapLoadingInProgressToTreeNode-pvoDlh5w-BH0I_ZXQ.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CtIgxsPZ-DPeWjfgv.js → mapSectionWithAcOnlyToTreeNode-CVUpGQKE-B2Y7wF15.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CcgVbOH5-TVZJ590D.js → mapSpacerToTreeNode-P_HzYMUQ-T8bNyKbZ.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CU583ICK-CZ9bt-pf.js → mapTimeframeBalancesToTreeNode-B8xJouuF-0J2xTAj5.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DTlwFauL-CZ3n-orV.js → mapTimeframeBalancesToTreeNode-CB6RE8w9-CAzsziRN.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-B_n9jWVz-Bh46qWxB.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BAAatv-Y-C-hpmEKv.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DTfegixr-3BrKm7V-.js → toCOABalancesWithID-JkvOa9nR-BuY_FDkW.js} +1 -1
- package/dist/assets/{toChartData-CH5DcWUY-CCr3PEX8.js → toChartData-CEfu5Lvp-ztIWW0aM.js} +1 -1
- package/dist/assets/{treasuryColorHelper-BdPkQoh7-2QT0NfKg.js → treasuryColorHelper-Bvcahv9r-CJj1lXeK.js} +1 -1
- package/dist/assets/{uploadAttachment-COwu5Mqo-D1mpbLnD.js → uploadAttachment-DNrYcaTL-7XpOhOp_.js} +14 -14
- package/dist/assets/{uploadReceipts-dxsKhm9I-BSggA-oy.js → uploadReceipts-dxsKhm9I-Dv2hG-YC.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ArAgingChart-tm5ZiNuY-4-nNFTyo.js +0 -24
- package/dist/assets/BillPayApprovalRuleDetailPage-fZnmOmyN-R8AfUVmE.js +0 -27
- package/dist/assets/CardNumberSubText-1BRQQyfd-JE07s-Fs.js +0 -21
- package/dist/assets/ChargeCardUtils-Wp4Ko18L-GTVU2RZO.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-BB4D77z8-C0-g-aXs.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-2xDjOUwm-DDOM6-AH.js +0 -66
- package/dist/assets/ExpenseAutomationPage-Cz3JsW-E-BrcVbkfQ.js +0 -1650
- package/dist/assets/InvitePeoplePage-CbZqVsTp-ByvmG5mg.js +0 -12
- package/dist/assets/LabeledAddressValueField-YuLcra47-Cc5nlJue.js +0 -45
- package/dist/assets/NotificationsListConfig-DbHYPEWZ-DjqGq2mH.js +0 -1
- package/dist/assets/ReimbursementApprovalRuleDetailPage-Cvok7KBA-C0WmzojS.js +0 -26
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DmRIywf6-C6sXIYK8.js +0 -1
- package/dist/assets/SetUpAccountSection-D8FMVhkL--eJk_Euq.js +0 -378
- package/dist/assets/StatementItem-B2uPIFUk-jLxVfDq5.js +0 -31
- package/dist/assets/TransactionDetailPage-C-CfEtCO-B6iRDC7J.js +0 -912
- package/dist/assets/TransactionVendorDetailPage---HGdQiZ-B2-rEsH7.js +0 -80
- package/dist/assets/TreasuryPromoPage-DzqdEmPJ-Cgk-JJnE.js +0 -439
- package/dist/assets/VideoPopup-SdlRHLkM-agneM1Zx.js +0 -31
- package/dist/assets/ZeniAccountNavBarPieces-C0MyICK2-Bjp8UANv.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-q37z6XvR-omF-65ky.js +0 -63
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as xe,
|
|
1
|
+
import{a as xe,f2 as fe,j as t,l as _,F as ge,bV as ye,M as je,bX as Se,bY as $e,o as i,g as ke,am as J,B as Z,a3 as ve,b as Ce,dL as we,eT as be,k3 as Q,du as ee,y as l,u as Ee,a0 as Pe,aS as te,dO as ne,b2 as Re,f as oe,az as De}from"./index-4y_mNX1u.js";import{b as r,n as o}from"./vendor-rkTZJa59.js";import{E as Ie,C as Fe,w as _e,f as Te}from"./AccountRow-BcSPuOPF-R9MJWqpQ.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const m={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,navBarHeight:i.sp10,navBarPaddingRight:i.sp4,navBarPaddingLeft:i.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Ue=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -11,7 +11,7 @@ import{a as xe,f1 as fe,j as t,l as F,F as ge,bV as ye,B as je,bX as Se,bY as $e
|
|
|
11
11
|
display: flex;
|
|
12
12
|
flex: 0 0 auto;
|
|
13
13
|
width: ${i.sp4};
|
|
14
|
-
`,
|
|
14
|
+
`,Me=o.div`
|
|
15
15
|
min-height: ${m.navBarHeight};
|
|
16
16
|
position: sticky;
|
|
17
17
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -19,7 +19,7 @@ import{a as xe,f1 as fe,j as t,l as F,F as ge,bV as ye,B as je,bX as Se,bY as $e
|
|
|
19
19
|
z-index: 2;
|
|
20
20
|
top: ${i.sp0};
|
|
21
21
|
width: 100%;
|
|
22
|
-
`,
|
|
22
|
+
`,Ye=o(ve)`
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
color: ${e=>e.theme.colors.hero};
|
|
25
25
|
width: ${i.sp4};
|
|
@@ -29,7 +29,7 @@ import{a as xe,f1 as fe,j as t,l as F,F as ge,bV as ye,B as je,bX as Se,bY as $e
|
|
|
29
29
|
color: ${e=>e.theme.colors.primary};
|
|
30
30
|
}
|
|
31
31
|
flex: 0 0 auto;
|
|
32
|
-
`,
|
|
32
|
+
`,Be=o.div`
|
|
33
33
|
padding-left: ${m.containerPaddingLeft};
|
|
34
34
|
padding-right: ${m.containerPaddingRight};
|
|
35
35
|
`,Oe=o.div`
|
|
@@ -52,7 +52,7 @@ import{a as xe,f1 as fe,j as t,l as F,F as ge,bV as ye,B as je,bX as Se,bY as $e
|
|
|
52
52
|
flex: 1 1 0;
|
|
53
53
|
justify-content: center;
|
|
54
54
|
flex-direction: column;
|
|
55
|
-
`,ze=o(
|
|
55
|
+
`,ze=o(J)`
|
|
56
56
|
display: flex;
|
|
57
57
|
color: ${e=>e.theme.colors.primary};
|
|
58
58
|
align-items: center;
|
|
@@ -96,27 +96,27 @@ import{a as xe,f1 as fe,j as t,l as F,F as ge,bV as ye,B as je,bX as Se,bY as $e
|
|
|
96
96
|
color: ${e=>e.theme.colors.hero};
|
|
97
97
|
align-items: center;
|
|
98
98
|
justify-content: flex-end;
|
|
99
|
-
`,
|
|
99
|
+
`,Ke=o(l)`
|
|
100
100
|
color: ${e=>e.theme.colors.primary};
|
|
101
101
|
text-align: left;
|
|
102
|
-
`,
|
|
102
|
+
`,Qe=o.div`
|
|
103
103
|
display: flex;
|
|
104
104
|
flex-direction: column;
|
|
105
105
|
align-items: flex-start;
|
|
106
106
|
justify-content: flex-start;
|
|
107
107
|
min-width: ${m.balanceContainerWidth}px;
|
|
108
|
-
`,
|
|
108
|
+
`,Xe=o(l)`
|
|
109
109
|
display: flex;
|
|
110
110
|
color: ${e=>e.theme.colors.primary};
|
|
111
111
|
align-items: center;
|
|
112
112
|
justify-content: flex-start;
|
|
113
|
-
`,
|
|
113
|
+
`,Ge=o.div`
|
|
114
114
|
display: flex;
|
|
115
115
|
flex-direction: row;
|
|
116
116
|
align-items: flex-start;
|
|
117
117
|
justify-content: flex-start;
|
|
118
118
|
gap: ${i.sp1};
|
|
119
|
-
`,
|
|
119
|
+
`,Je=o.div`
|
|
120
120
|
display: flex;
|
|
121
121
|
flex-direction: column;
|
|
122
122
|
align-items: flex-start;
|
|
@@ -162,7 +162,7 @@ import{a as xe,f1 as fe,j as t,l as F,F as ge,bV as ye,B as je,bX as Se,bY as $e
|
|
|
162
162
|
justify-content: center;
|
|
163
163
|
min-width: ${m.sourceContainerWidth}px;
|
|
164
164
|
gap: ${i.sp2};
|
|
165
|
-
`,at=o(
|
|
165
|
+
`,at=o(J)`
|
|
166
166
|
display: flex;
|
|
167
167
|
color: ${e=>e.theme.colors.primary};
|
|
168
168
|
align-items: center;
|
|
@@ -187,7 +187,7 @@ import{a as xe,f1 as fe,j as t,l as F,F as ge,bV as ye,B as je,bX as Se,bY as $e
|
|
|
187
187
|
color: ${e=>e.theme.colors.hero};
|
|
188
188
|
align-items: center;
|
|
189
189
|
justify-content: flex-end;
|
|
190
|
-
`,
|
|
190
|
+
`,F=o(l)`
|
|
191
191
|
display: flex;
|
|
192
192
|
color: ${e=>e.theme.colors.primary};
|
|
193
193
|
align-items: center;
|
|
@@ -236,4 +236,4 @@ import{a as xe,f1 as fe,j as t,l as F,F as ge,bV as ye,B as je,bX as Se,bY as $e
|
|
|
236
236
|
color: ${e=>e.status==="connected"?e.theme.colors.success:e.status==="reconnect"?e.theme.colors.important:e.theme.colors.link};
|
|
237
237
|
cursor: pointer;
|
|
238
238
|
text-decoration: underline;
|
|
239
|
-
`,{common:p,dateFormat:
|
|
239
|
+
`,{common:p,dateFormat:X,expenseAutomation:{accountRecon:c}}=je.getLocalizedStrings(),ht=(e,n)=>`${e}.${n}`,mt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function _t({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:d,openFilePicker:u,filesEndPoint:f,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:L,onUploadWindowOpenedOnce:M}){const x=xe({mode:"all",reValidateMode:"onChange",defaultValues:G(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:G(e)}),k=x.handleSubmit(()=>{}),[h,g]=r.useState(void 0),v=n.link_account_no_microdeposit,C=n.update_account,s=h==="update_account"?C:v,[y,Y]=r.useState(s.linkToken??null),[a,w]=r.useState(!1),[N,B]=r.useState(!1),[O,W]=r.useState(void 0),[re,H]=r.useState(void 0),le=r.useCallback(()=>{g("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{g("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{O!=null&&(R(O),W(void 0)),H(void 0),B(!1)},onCancelClick:()=>{W(void 0),B(!1)}},q=r.useRef(h);r.useEffect(()=>{q.current=h},[h]);const pe=r.useCallback(D=>{P(D,e.accountReconEntity.account.accountId,q.current),g(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((D,me)=>{D!=null&&console.log("Plaid Connection Error",D,me),g(void 0),w(!1)},[]),{open:V,ready:K}=fe({token:y,onSuccess:pe,onExit:he});return r.useEffect(()=>{(_.zeniDate(new Date().toISOString()).isAfter(s.expiration)||s.linkToken==null)&&s.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[s.fetchStatus.fetchState]),r.useEffect(()=>{!a&&h!=null&&s.linkToken===y&&s.fetchStatus.fetchState==="Completed"&&K&&w(!0)},[K,y,s.fetchStatus.fetchState,s.linkToken,h,a]),r.useEffect(()=>{s.fetchStatus.fetchState==="Completed"&&s.linkToken!=null&&s.linkToken!==y&&Y(s.linkToken)},[s.fetchStatus.fetchState,s.linkToken,y]),r.useEffect(()=>{a&&V()},[a,V]),t.jsxs(Ue,{children:[t.jsx(Me,{children:t.jsx(Oe,{children:t.jsxs(We,{children:[t.jsx(Le,{}),t.jsxs(Ae,{children:[t.jsx(ze,{children:e.accountReconEntity.account.accountName}),t.jsx(ie,{children:t.jsx($t,{monthYearPeriod:d})})]}),t.jsx(Ne,{children:t.jsx(Ye,{onClick:$})})]})})}),t.jsxs(Be,{children:[t.jsx(ge,{...x,children:t.jsx("form",{style:{width:"100%"},id:mt,onSubmit:k,children:t.jsx(xt,{monthYearPeriod:d,accountReconciliation:e,filesEndPoint:f,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:L,onUploadWindowOpenedOnce:M,showConfirmationPopup:N,setShowConfirmationPopup:B,deleteFileId:O,setDeleteFileId:W,uploadErrorMessage:re,setUploadErrorMessage:H})})}),N===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ye,{titleComponent:t.jsx($e,{children:c.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(Se,{children:c.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const xt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:d,authParams:u,openFilePicker:f,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L,uploadErrorMessage:M,setUploadErrorMessage:x})=>{const[k,h]=r.useState(!1),g=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,v=[];v.push({label:c.reconciliation.menu.bankConnection,value:"plaid"}),v.push({label:c.reconciliation.menu.statement,value:"bank_statement"});const C=n.localData?.accountSource,s=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||k?"bank_statement":void 0;r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&x(Ie(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,x]);const y=["reconciled","in_progress","reconciled_via_qbo"],Y=n.accountReconEntity.reconciliationStatus!=null&&y.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(He,{children:[t.jsxs(qe,{children:[t.jsxs(Ve,{children:[t.jsx(A,{children:c.reconciliation.headers.bankBalance}),t.jsx(Ke,{children:t.jsx(Fe,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Qe,{children:[t.jsx(A,{children:c.reconciliation.headers.clearedBalance}),t.jsx(Xe,{children:t.jsx(_e,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(Je,{children:[t.jsx(A,{children:c.reconciliation.headers.variance}),t.jsx(Ze,{children:t.jsx(jt,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(ct,{children:[t.jsxs(at,{children:[" ",c.reconciliation.drawer.source," "]}),t.jsxs(st,{children:[t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.type}),t.jsx(F,{children:s!=null?t.jsx(j,{children:s==="plaid"?t.jsxs(t.Fragment,{children:[t.jsx(ce,{}),c.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),c.reconciliation.menu.statement]})}):t.jsx(Ce,{controller:!0,children:t.jsx(we,{moreIconType:"custom",customIcon:t.jsx(ft,{selectedSourceType:C}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:i.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:a=>{R(_.toReconciliationAccountSource(a))},valueToIcon:a=>a==="plaid"?t.jsx(lt,{}):a==="bank_statement"?t.jsx(dt,{}):null})})})]}),C==="bank_statement"?t.jsx(b,{children:t.jsx(be,{name:ht(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:Y,sizeLimit:1e7,onFileSizeError:a=>{a&&x(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:d,authParams:u,acceptableTypes:["application/pdf"],placeholderText:c.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:f,accountStatementUpload:{uploadHelper:_.uploadAccountStatementIntoDocumentAI,metadataPayload:{accountId:n.accountReconEntity.account.accountId,monthYearPeriod:e},errorMessage:M,onUploadError:a=>{x(a?.message)},onUploadSuccess:a=>{U(a),h(!1)},onUploadStart:()=>{h(!0),x(void 0)},onUploadWindowOpenedOnce:()=>{L()}},onDeleteFile:a=>{E(a),P(!0)},onEditFileName:(a,w)=>{T(a,w)}})}):null,t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.status}),t.jsx(F,{children:C!=="bank_statement"?t.jsx(gt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(yt,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.accountType}),t.jsx(F,{children:t.jsx(St,{accountSubType:Q(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.lastUpdated}),t.jsx(F,{children:t.jsx(ee,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:g!=null?t.jsx(j,{children:Q(g.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},ft=({selectedSourceType:e})=>t.jsxs(nt,{children:[e==null||e==="plaid"?t.jsx(ce,{}):t.jsx(ae,{}),t.jsx(ot,{children:e==null||e==="plaid"?c.reconciliation.menu.bankConnection:c.reconciliation.menu.statement}),t.jsx(it,{})]}),gt=({status:e,connectionInProgress:n,onConnectClick:d,onReconnectClick:u})=>n?t.jsx(z,{children:c.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(z,{children:[t.jsx(rt,{}),t.jsx(ut,{children:c.reconciliation.drawer.values.connected})]}):t.jsx(z,{onClick:e==="reconnect"?u:d,children:t.jsx(pt,{status:e,children:e==="reconnect"?c.reconciliation.drawer.values.reconnect:c.reconciliation.drawer.values.connect})}),yt=({status:e,uploadInProgress:n})=>n?t.jsx(ee,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:c.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:c.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),jt=({variance:e,variancePercentage:n,reconciliationStatusCode:d})=>{const u=Ee(),{varianceColor:f,variancePercentageColor:S,variancePercentageContainerColor:$}=Te(u,e,d,!0);return t.jsxs(Ge,{children:[t.jsx(et,{textColor:f,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(tt,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},St=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},$t=({monthYearPeriod:e})=>t.jsx(ie,{children:kt(e)}),kt=e=>{const{month:n,year:d}=e,u=_.zeniDate(`${d}-${String(n).padStart(2,"0")}-01`);let f=u.endOf("month");return`${u.format(X.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${f.format(X.visual.DMMMYYYYFormat)}`},G=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{_t as default,ht as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,
|
|
1
|
+
import{j as t,M as se,a0 as E,bp as f,o,_ as y,b as re,dL as le,y as w,dM as de,f as g,dN as J,dO as X,cx as ue,a8 as x,w as Z,r as p,e as xe,u as S,af as pe,ds as he,p as ge,K as me,B as I,b6 as fe,dE as je}from"./index-4y_mNX1u.js";import{n as a,b as ye,j as we}from"./vendor-rkTZJa59.js";const $e=a.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
|
|
4
4
|
content: "";
|
|
@@ -108,7 +108,7 @@ import{j as t,B as se,a0 as E,bp as f,o,$ as y,b as re,dL as le,t as w,dM as de,
|
|
|
108
108
|
align-items: center;
|
|
109
109
|
gap: ${o.sp1};
|
|
110
110
|
margin-top: ${o.sp1};
|
|
111
|
-
`,
|
|
111
|
+
`,Me=a(w)`
|
|
112
112
|
user-select: none;
|
|
113
113
|
clear: both;
|
|
114
114
|
display: inline-block;
|
|
@@ -119,7 +119,7 @@ import{j as t,B as se,a0 as E,bp as f,o,$ as y,b as re,dL as le,t as w,dM as de,
|
|
|
119
119
|
color: ${e=>e.theme.colors.hero};
|
|
120
120
|
width: ${u.leftLabelWidth}px;
|
|
121
121
|
min-width: ${u.leftLabelWidth}px;
|
|
122
|
-
`,
|
|
122
|
+
`,Ae=a.div`
|
|
123
123
|
display: flex;
|
|
124
124
|
flex: 1 1 auto;
|
|
125
125
|
justify-content: flex-end;
|
|
@@ -129,14 +129,14 @@ import{j as t,B as se,a0 as E,bp as f,o,$ as y,b as re,dL as le,t as w,dM as de,
|
|
|
129
129
|
width: ${u.bankBalanceWidth}px;
|
|
130
130
|
min-width: ${u.bankBalanceWidth}px;
|
|
131
131
|
text-align: right;
|
|
132
|
-
`,
|
|
132
|
+
`,Ue=a.div`
|
|
133
133
|
width: ${u.bankBalanceRightWidth}px;
|
|
134
134
|
min-width: ${u.bankBalanceRightWidth}px;
|
|
135
|
-
`,
|
|
135
|
+
`,Ve=a(w)`
|
|
136
136
|
width: ${u.clearedBalanceWidth}px;
|
|
137
137
|
min-width: ${u.clearedBalanceWidth}px;
|
|
138
138
|
text-align: right;
|
|
139
|
-
`,
|
|
139
|
+
`,Qe=a(w)`
|
|
140
140
|
width: ${u.statusWidth}px;
|
|
141
141
|
min-width: ${u.statusWidth}px;
|
|
142
142
|
height: 1px;
|
|
@@ -155,7 +155,7 @@ import{j as t,B as se,a0 as E,bp as f,o,$ as y,b as re,dL as le,t as w,dM as de,
|
|
|
155
155
|
margin-left: ${o.sp3};
|
|
156
156
|
height: ${e=>e.heightValue}px;
|
|
157
157
|
background-color: ${e=>e.theme.colors.grey3};
|
|
158
|
-
`,
|
|
158
|
+
`,ze=a.div`
|
|
159
159
|
display: flex;
|
|
160
160
|
flex-shrink: 0;
|
|
161
161
|
width: ${u.varianceTimeframeWidth}px;
|
|
@@ -166,7 +166,7 @@ import{j as t,B as se,a0 as E,bp as f,o,$ as y,b as re,dL as le,t as w,dM as de,
|
|
|
166
166
|
text-align: center;
|
|
167
167
|
gap: ${o.sp2};
|
|
168
168
|
margin-left: ${u.tickLeftMargin}px;
|
|
169
|
-
`,
|
|
169
|
+
`,qe=a(w)`
|
|
170
170
|
border-radius: ${o.sp1};
|
|
171
171
|
color: ${e=>e.textColor.hex()};
|
|
172
172
|
min-width: ${u.varianceNumberWidth}px;
|
|
@@ -233,7 +233,7 @@ import{j as t,B as se,a0 as E,bp as f,o,$ as y,b as re,dL as le,t as w,dM as de,
|
|
|
233
233
|
`,ct=a(de)`
|
|
234
234
|
width: ${o.sp3};
|
|
235
235
|
height: ${o.sp3};
|
|
236
|
-
`,
|
|
236
|
+
`,M=a(fe)`
|
|
237
237
|
width: 12px;
|
|
238
238
|
height: 12px;
|
|
239
239
|
color: ${e=>e.iconColor.hex()};
|
|
@@ -241,7 +241,7 @@ import{j as t,B as se,a0 as E,bp as f,o,$ as y,b as re,dL as le,t as w,dM as de,
|
|
|
241
241
|
`,$=a.div`
|
|
242
242
|
display: flex;
|
|
243
243
|
gap: ${o.sp1};
|
|
244
|
-
`,
|
|
244
|
+
`,A=a.div`
|
|
245
245
|
display: flex;
|
|
246
246
|
flex-direction: column;
|
|
247
247
|
align-items: center;
|
|
@@ -252,11 +252,11 @@ import{j as t,B as se,a0 as E,bp as f,o,$ as y,b as re,dL as le,t as w,dM as de,
|
|
|
252
252
|
flex-direction: row;
|
|
253
253
|
align-items: center;
|
|
254
254
|
gap: ${o.sp1};
|
|
255
|
-
`,
|
|
255
|
+
`,U=a(I)`
|
|
256
256
|
color: ${e=>e.textColor.hex()};
|
|
257
|
-
`,
|
|
257
|
+
`,V=a(I)`
|
|
258
258
|
color: ${e=>e.textColor.hex()};
|
|
259
|
-
`,
|
|
259
|
+
`,Q=a.div`
|
|
260
260
|
display: flex;
|
|
261
261
|
flex-direction: row;
|
|
262
262
|
align-items: center;
|
|
@@ -295,4 +295,4 @@ import{j as t,B as se,a0 as E,bp as f,o,$ as y,b as re,dL as le,t as w,dM as de,
|
|
|
295
295
|
width: ${o.sp3};
|
|
296
296
|
height: ${o.sp3};
|
|
297
297
|
margin-top: 2px;
|
|
298
|
-
`,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:gt}}}=se.getLocalizedStrings();function Pt({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:m,onStatementAddClicked:C}){const B=xe(),L=S(),v=n.accountReconEntity.account.accountName,j=n.accountReconEntity.balance,_=n.accountReconEntity.clearedBalance,te=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{C?.(n.accountReconEntity.account.accountId)},H=()=>{l?.(n.accountReconEntity.account.accountId)},[ce,N]=ye.useState(!1),q=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=q==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let z=e;return i&&(z=e+p[8]),t.jsxs(Pe,{"data-testid":y("total-row-root-container"),heightValue:z,isLastRow:i,windowSize:B,isSelectedRow:c,onClick:()=>{ce!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(_e,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:v.charAt(0),color:new x(L.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Ae,{className:"any-text-container",children:v})})})]}),t.jsxs(Me,{children:[t.jsx(Oe,{children:t.jsx(wt,{lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:N,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:j,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ie,isLoading:T,onReconnectClicked:ae})}),t.jsx(Ve,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Qe,{children:t.jsx($t,{clearedBalance:_,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:te,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Fe,{children:t.jsx(He,{heightValue:e})}),t.jsx(Ue,{onMouseEnter:()=>{N(!0)},onMouseLeave:()=>{N(!1)},children:q==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:H}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:H})})]})]}),t.jsx(Le,{kind:"account_separator",isScrolling:!1}),i?t.jsx(Be,{}):null]})}const mt=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=ft(l,e,i),C=c?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${gt}`:h;return t.jsxs(qe,{children:[t.jsx(ze,{textColor:d,className:"any-text-container",children:e==null||c?h:E("0,0",e)}),t.jsx(Ge,{textColor:r,bgColor:m,className:"any-text-container",children:C})]})},ft=(e,n,i,c)=>{let l,d,r;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(g.success),d=new x(g.success),r=new x(g.successLight)):c===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),r=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),r=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:r}},jt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountConnectionStatus,d=e.accountReconEntity.reconciliationId!=null?e.accountReconEntity.reconUpdatedAt:e.accountReconEntity.accountUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(Ct,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let m="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?m=s.status.balanceNotFound:e.accountReconEntity.balance==null?m=s.status.bankBalanceNotFound:m=s.status.clearedBalanceNotFound,t.jsx(bt,{status:m,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(D,{tooltipText:r,showTooltip:d!=null});if(c==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(P,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Y,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(P,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(D,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(vt,{});if(c==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(P,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(P,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Y,{tooltipText:r});default:return null}else return t.jsx(D,{showTooltip:d!=null,tooltipText:r})},W=({buttonLabel:e,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Ke,{children:t.jsx(me,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":c,onClick:d=>{d.stopPropagation(),l()}})})}),P=({user:e,isQBO:n,tooltipText:i})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Je,{children:[t.jsxs(Xe,{children:[t.jsx(Ye,{}),t.jsx(Ze,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(G,{children:s.status.QBOUser}):e&&t.jsxs(G,{children:[e.firstName," ",e.lastName]})]})}),wt=({bankBalance:e,bankConnection:n,statementStatus:i,lastUpdatedAt:c,fromDrawer:l=!1,onConnectClicked:d,onReconnectClicked:r,isLoading:m,accountId:C,onStatementAddClicked:B,setIsHovering:L})=>{const v=Tt();if(l===!0)return t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h});if(m===!0)return t.jsx(R,{className:"any-text-container",children:h});if(n==="reconnect"){const j=c!=null?`${c.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(it,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(ct,{})})}),t.jsx(R,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",C),onClick:_=>{_.stopPropagation(),r?.()},children:s.connect.reconnnect})]})}else return n==="connected"||i==="uploaded"?t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",C),onMouseEnter:()=>{L(!0)},onMouseLeave:()=>{L(!1)},children:t.jsx(re,{controller:v.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(le,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:j=>{j==="bank_connection"?d?.():j==="statement"&&B?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},$t=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(R,{className:"any-text-container",children:h}),Y=({tooltipText:e})=>{const n=new x(g.important);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(M,{children:[t.jsx(A,{iconColor:n}),t.jsx(O,{children:t.jsx(V,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(U,{children:t.jsx(Q,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const i=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:i}),t.jsxs(M,{children:[t.jsx(O,{children:t.jsx(V,{textColor:i,children:e})}),t.jsx(U,{children:t.jsx(Q,{textColor:i,children:s.status.reconcileViaQBO})})]})]})})},ee=({tooltipText:e})=>{const n=S(),i=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:i,children:s.status.autoReconInProgress}),t.jsx(k,{textColor:i,children:s.status.isInProgress})]})})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(k,{textColor:n,children:s.status.isInProgress})]})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(k,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:i})=>{const c=new x(g.important),l=Et(e,"list",i);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:c}),t.jsxs(M,{children:[t.jsx(O,{children:t.jsx(V,{textColor:c,children:l})}),t.jsx(U,{children:t.jsx(Q,{textColor:c,children:s.status.failed})})]})]})})},D=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx($,{children:t.jsx(K,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsx(K,{children:h})})}),b=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(){const e=[];return e.push({label:s.menu.bankConnection,value:"bank_connection"}),e.push({label:s.menu.statement,value:"statement"}),e}const Et=(e,n,i)=>{if(i!=null&&n==="drawer")return i;let c="";switch(e){case"parsing_failed":c=s.status.statementParseError;break;case"validation_failed":c=s.status.statementValidationFailed;break;case"processing_failed":c=s.status.statementProcessingFailed;break;default:c=s.status.statementParseError;break}return n==="drawer"&&(c=c+" "+s.status.failed),c};export{Te as B,wt as C,Pt as D,Et as E,Lt as L,Wt as N,ft as f,u,$t as w};
|
|
298
|
+
`,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:gt}}}=se.getLocalizedStrings();function Pt({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:m,onStatementAddClicked:C}){const B=xe(),L=S(),v=n.accountReconEntity.account.accountName,j=n.accountReconEntity.balance,_=n.accountReconEntity.clearedBalance,te=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{C?.(n.accountReconEntity.account.accountId)},H=()=>{l?.(n.accountReconEntity.account.accountId)},[ce,N]=ye.useState(!1),z=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=z==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let q=e;return i&&(q=e+p[8]),t.jsxs(Pe,{"data-testid":y("total-row-root-container"),heightValue:q,isLastRow:i,windowSize:B,isSelectedRow:c,onClick:()=>{ce!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(_e,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:v.charAt(0),color:new x(L.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Me,{className:"any-text-container",children:v})})})]}),t.jsxs(Ae,{children:[t.jsx(Oe,{children:t.jsx(wt,{lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:N,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:j,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ie,isLoading:T,onReconnectClicked:ae})}),t.jsx(Ue,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Ve,{children:t.jsx($t,{clearedBalance:_,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:te,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Fe,{children:t.jsx(He,{heightValue:e})}),t.jsx(Qe,{onMouseEnter:()=>{N(!0)},onMouseLeave:()=>{N(!1)},children:z==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:H}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:H})})]})]}),t.jsx(Le,{kind:"account_separator",isScrolling:!1}),i?t.jsx(Be,{}):null]})}const mt=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=ft(l,e,i),C=c?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${gt}`:h;return t.jsxs(ze,{children:[t.jsx(qe,{textColor:d,className:"any-text-container",children:e==null||c?h:E("0,0",e)}),t.jsx(Ge,{textColor:r,bgColor:m,className:"any-text-container",children:C})]})},ft=(e,n,i,c)=>{let l,d,r;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(g.success),d=new x(g.success),r=new x(g.successLight)):c===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),r=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),r=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:r}},jt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountConnectionStatus,d=e.accountReconEntity.reconciliationId!=null?e.accountReconEntity.reconUpdatedAt:e.accountReconEntity.accountUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(Ct,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let m="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?m=s.status.balanceNotFound:e.accountReconEntity.balance==null?m=s.status.bankBalanceNotFound:m=s.status.clearedBalanceNotFound,t.jsx(bt,{status:m,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(D,{tooltipText:r,showTooltip:d!=null});if(c==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(P,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Y,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(P,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(D,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(vt,{});if(c==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(P,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(P,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Y,{tooltipText:r});default:return null}else return t.jsx(D,{showTooltip:d!=null,tooltipText:r})},W=({buttonLabel:e,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Ke,{children:t.jsx(me,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":c,onClick:d=>{d.stopPropagation(),l()}})})}),P=({user:e,isQBO:n,tooltipText:i})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Je,{children:[t.jsxs(Xe,{children:[t.jsx(Ye,{}),t.jsx(Ze,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(G,{children:s.status.QBOUser}):e&&t.jsxs(G,{children:[e.firstName," ",e.lastName]})]})}),wt=({bankBalance:e,bankConnection:n,statementStatus:i,lastUpdatedAt:c,fromDrawer:l=!1,onConnectClicked:d,onReconnectClicked:r,isLoading:m,accountId:C,onStatementAddClicked:B,setIsHovering:L})=>{const v=Tt();if(l===!0)return t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h});if(m===!0)return t.jsx(R,{className:"any-text-container",children:h});if(n==="reconnect"){const j=c!=null?`${c.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(it,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(ct,{})})}),t.jsx(R,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",C),onClick:_=>{_.stopPropagation(),r?.()},children:s.connect.reconnnect})]})}else return n==="connected"||i==="uploaded"?t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",C),onMouseEnter:()=>{L(!0)},onMouseLeave:()=>{L(!1)},children:t.jsx(re,{controller:v.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(le,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:j=>{j==="bank_connection"?d?.():j==="statement"&&B?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},$t=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(R,{className:"any-text-container",children:h}),Y=({tooltipText:e})=>{const n=new x(g.important);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(A,{children:[t.jsx(M,{iconColor:n}),t.jsx(O,{children:t.jsx(U,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(Q,{children:t.jsx(V,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const i=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(M,{iconColor:i}),t.jsxs(A,{children:[t.jsx(O,{children:t.jsx(U,{textColor:i,children:e})}),t.jsx(Q,{children:t.jsx(V,{textColor:i,children:s.status.reconcileViaQBO})})]})]})})},ee=({tooltipText:e})=>{const n=S(),i=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:i,children:s.status.autoReconInProgress}),t.jsx(k,{textColor:i,children:s.status.isInProgress})]})})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(k,{textColor:n,children:s.status.isInProgress})]})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(k,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:i})=>{const c=new x(g.important),l=Et(e,"list",i);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(M,{iconColor:c}),t.jsxs(A,{children:[t.jsx(O,{children:t.jsx(U,{textColor:c,children:l})}),t.jsx(Q,{children:t.jsx(V,{textColor:c,children:s.status.failed})})]})]})})},D=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx($,{children:t.jsx(K,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsx(K,{children:h})})}),b=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(){const e=[];return e.push({label:s.menu.bankConnection,value:"bank_connection"}),e.push({label:s.menu.statement,value:"statement"}),e}const Et=(e,n,i)=>{if(i!=null&&n==="drawer")return i;let c="";switch(e){case"parsing_failed":c=s.status.statementParseError;break;case"validation_failed":c=s.status.statementValidationFailed;break;case"processing_failed":c=s.status.statementProcessingFailed;break;default:c=s.status.statementParseError;break}return n==="drawer"&&(c=c+" "+s.status.failed),c};export{Te as B,wt as C,Pt as D,Et as E,Lt as L,Wt as N,ft as f,u,$t as w};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{M as _,j as o,o as t,ab as D,f as j,s as ne,v as ae,aQ as se,aR as ie,aS as ce,aT as le,aU as J,T as de,a1 as Y,X as pe,u as Q,Y as me,l as ue,_ as L,aa as he,Z as ge,a5 as xe,w as q,ac as fe,ak as ye,y as Ce,ap as $e}from"./index-4y_mNX1u.js";import{n as r,k as F,j as K,b as X,f as S}from"./vendor-rkTZJa59.js";import{c as ve}from"./SummaryCard-DE3DiW4z-DCcTNI78.js";import{x as E}from"./NavigationArrow-Cic_S7sL-CafjbEnx.js";import{k as je}from"./NavigationDots-BnqdhDar-BHuykGzD.js";const Ae="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png",be="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png",ke="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png",I=(e,n)=>{const s=e==="right"?`-${n}%`:`${n}%`;return F`
|
|
2
2
|
0% {
|
|
3
3
|
opacity: 0;
|
|
4
4
|
transform: translateX(${s});
|
|
@@ -7,23 +7,23 @@ import{B as F,j as o,o as t,ab as D,g as j,r as ne,v as ae,aQ as se,aR as ie,aS
|
|
|
7
7
|
opacity: 1;
|
|
8
8
|
transform: translateX(0%);
|
|
9
9
|
}
|
|
10
|
-
`},we=
|
|
10
|
+
`},we=F`
|
|
11
11
|
0% {
|
|
12
12
|
height: 0;
|
|
13
13
|
}
|
|
14
14
|
100%{
|
|
15
15
|
height: ${t.sp10};
|
|
16
16
|
}
|
|
17
|
-
`,Pe=(e,n)=>{const s=n*100,a=e==="up"?"0%":`-${n*100}%`,i=e==="up"?`-${s}%`:"0%";return
|
|
17
|
+
`,Pe=(e,n)=>{const s=n*100,a=e==="up"?"0%":`-${n*100}%`,i=e==="up"?`-${s}%`:"0%";return F`
|
|
18
18
|
0% {
|
|
19
19
|
transform: translateY(${a});
|
|
20
20
|
}
|
|
21
21
|
100%{
|
|
22
22
|
transform: translateY(${i});
|
|
23
23
|
}
|
|
24
|
-
`},ze=(e,n)=>{const s=e==="down"?`-${n*100}%`:"0%";return
|
|
24
|
+
`},ze=(e,n)=>{const s=e==="down"?`-${n*100}%`:"0%";return K`
|
|
25
25
|
transform: translateY(${s});
|
|
26
|
-
`},V=
|
|
26
|
+
`},V=K`
|
|
27
27
|
width: ${t.sp7};
|
|
28
28
|
height: ${t.sp7};
|
|
29
29
|
border-radius: 50%;
|
|
@@ -36,7 +36,7 @@ import{B as F,j as o,o as t,ab as D,g as j,r as ne,v as ae,aQ as se,aR as ie,aS
|
|
|
36
36
|
gap: ${t.sp2};
|
|
37
37
|
margin-bottom: ${t.sp4};
|
|
38
38
|
padding: ${t.sp0} ${t.sp2};
|
|
39
|
-
`,Se=r(
|
|
39
|
+
`,Se=r($e)`
|
|
40
40
|
text-align: center;
|
|
41
41
|
max-width: 222px;
|
|
42
42
|
white-space: pre-line;
|
|
@@ -54,9 +54,9 @@ import{B as F,j as o,o as t,ab as D,g as j,r as ne,v as ae,aQ as se,aR as ie,aS
|
|
|
54
54
|
`,w=r(se)`
|
|
55
55
|
${ae.accountsPromoHighlightText.css};
|
|
56
56
|
color: ${e=>e.theme.colors.zeniAccountsPromoCardHighlightText};
|
|
57
|
-
`,
|
|
57
|
+
`,Ie=r(Ce)`
|
|
58
58
|
color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
59
|
-
`,
|
|
59
|
+
`,Be=r(le)`
|
|
60
60
|
color: ${j.brandColorJade};
|
|
61
61
|
height: ${t.sp4};
|
|
62
62
|
width: ${t.sp4};
|
|
@@ -70,12 +70,12 @@ import{B as F,j as o,o as t,ab as D,g as j,r as ne,v as ae,aQ as se,aR as ie,aS
|
|
|
70
70
|
justify-content: center;
|
|
71
71
|
gap: 20px;
|
|
72
72
|
margin-right: ${t.sp2};
|
|
73
|
-
`,
|
|
73
|
+
`,Le=r.div`
|
|
74
74
|
height: 100%;
|
|
75
75
|
width: 1px;
|
|
76
76
|
background-color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
77
77
|
margin-right: 2px;
|
|
78
|
-
`,
|
|
78
|
+
`,Ze=r.div`
|
|
79
79
|
display: flex;
|
|
80
80
|
flex-direction: column;
|
|
81
81
|
justify-content: center;
|
|
@@ -85,14 +85,14 @@ import{B as F,j as o,o as t,ab as D,g as j,r as ne,v as ae,aQ as se,aR as ie,aS
|
|
|
85
85
|
display: flex;
|
|
86
86
|
align-items: center;
|
|
87
87
|
gap: ${t.sp1};
|
|
88
|
-
animation: ${
|
|
88
|
+
animation: ${I("right",100)} normal 0.3s 1
|
|
89
89
|
forwards;
|
|
90
90
|
`,Ne=r.div`
|
|
91
91
|
height: 34px;
|
|
92
92
|
width: ${t.sp5};
|
|
93
93
|
border-radius: ${t.sp0} ${t.sp1} ${t.sp1} ${t.sp0};
|
|
94
94
|
background-color: ${j.brandColorGold};
|
|
95
|
-
`,
|
|
95
|
+
`,Xe=r.div`
|
|
96
96
|
display: flex;
|
|
97
97
|
align-items: center;
|
|
98
98
|
height: 34px;
|
|
@@ -100,16 +100,16 @@ import{B as F,j as o,o as t,ab as D,g as j,r as ne,v as ae,aQ as se,aR as ie,aS
|
|
|
100
100
|
border-radius: ${t.sp0} ${t.sp1} ${t.sp1} ${t.sp0};
|
|
101
101
|
background-color: ${j.brandColorJade};
|
|
102
102
|
opacity: 0;
|
|
103
|
-
animation: ${
|
|
103
|
+
animation: ${I("right",100)} normal 0.5s 1
|
|
104
104
|
forwards;
|
|
105
105
|
animation-delay: 0.5s;
|
|
106
|
-
`,
|
|
106
|
+
`,_e=r(de)`
|
|
107
107
|
color: ${e=>e.theme.colors.brandColorOnyx};
|
|
108
108
|
margin-left: ${t.sp3};
|
|
109
109
|
margin-right: ${t.sp1};
|
|
110
|
-
`,R=r(
|
|
110
|
+
`,R=r(J)`
|
|
111
111
|
color: ${e=>e.isZeniProgressBar?e.theme.colors.brandColorOnyx:e.theme.colors.primary};
|
|
112
|
-
`,
|
|
112
|
+
`,Fe=r.div`
|
|
113
113
|
width: 2px;
|
|
114
114
|
height: ${t.sp0};
|
|
115
115
|
background-color: ${j.important};
|
|
@@ -120,27 +120,27 @@ import{B as F,j as o,o as t,ab as D,g as j,r as ne,v as ae,aQ as se,aR as ie,aS
|
|
|
120
120
|
transform-origin: top;
|
|
121
121
|
animation: ${we} normal 0.6s 1 forwards;
|
|
122
122
|
animation-delay: 0.6s;
|
|
123
|
-
`,
|
|
123
|
+
`,W=r.div`
|
|
124
124
|
opacity: 0;
|
|
125
125
|
transform: translateX(-50%);
|
|
126
|
-
animation: ${
|
|
126
|
+
animation: ${I("right",50)} normal 0.6s 1
|
|
127
127
|
forwards;
|
|
128
128
|
animation-delay: 1.2s;
|
|
129
|
-
`,
|
|
129
|
+
`,Oe=r.div`
|
|
130
130
|
max-height: ${t.sp6};
|
|
131
131
|
animation: 1s normal 0.5s 1
|
|
132
132
|
${e=>Pe(e.direction,e.stepCount)};
|
|
133
133
|
animation-fill-mode: forwards;
|
|
134
134
|
${e=>ze(e.direction,e.stepCount)}
|
|
135
|
-
`,
|
|
135
|
+
`,Ye=r.div`
|
|
136
136
|
display: flex;
|
|
137
137
|
`,T=r.div`
|
|
138
138
|
margin-right: -${t.sp3};
|
|
139
139
|
opacity: 0;
|
|
140
140
|
transform: translateX(50%);
|
|
141
|
-
animation: ${
|
|
141
|
+
animation: ${I("left",75)} ease-out 0.3s 1
|
|
142
142
|
forwards;
|
|
143
|
-
`,
|
|
143
|
+
`,Z=r.img`
|
|
144
144
|
${V}
|
|
145
145
|
`,Ee=r(T)`
|
|
146
146
|
display: flex;
|
|
@@ -151,14 +151,14 @@ import{B as F,j as o,o as t,ab as D,g as j,r as ne,v as ae,aQ as se,aR as ie,aS
|
|
|
151
151
|
background-color:${j.brandColorGold};
|
|
152
152
|
`,Re=r(ne)`
|
|
153
153
|
color: ${e=>e.theme.colors.brandColorOnyx};
|
|
154
|
-
`,
|
|
154
|
+
`,We=r(ie)`
|
|
155
155
|
width: ${t.sp4};
|
|
156
156
|
height: ${t.sp4};
|
|
157
157
|
color: ${e=>e.theme.colors.zeniAccountsPromoCardHighlightText};
|
|
158
158
|
path {
|
|
159
159
|
stroke-width: 2px;
|
|
160
160
|
}
|
|
161
|
-
`,
|
|
161
|
+
`,Ge=(e,n)=>{const{common:s}=_.getLocalizedStrings();switch(e){case"keepInterest":case"noHiddenFees":return o.jsx(o.Fragment,{children:n.map((a,i)=>o.jsx(Oe,{className:"card-highlight-text-stack",direction:a.direction,stepCount:a.stepCount,children:a.values.map((p,h)=>o.jsx(w,{className:"card-highlight-text",children:p},`${p}_${h}`))},`${a.direction}_${i}`))});case"protectCash":return o.jsxs(o.Fragment,{children:[o.jsxs(He,{children:[o.jsx(Me,{}),o.jsx(Be,{})]}),o.jsx(Le,{}),o.jsxs(Ze,{children:[o.jsxs(Ue,{children:[o.jsx(Ne,{}),o.jsxs(R,{isZeniProgressBar:!1,children:[n[0].values[0]," ",s.texts.insured]})]}),o.jsxs(Xe,{children:[o.jsx(_e,{children:n[0].values[1]}),o.jsx(R,{isZeniProgressBar:!0,style:{marginTop:"6px"},children:s.texts.insured})]})]})]});case"freeWire":return o.jsxs(ee,{style:{gap:t.sp2},children:[o.jsxs(w,{style:{position:"relative"},children:[n[0].values[0],o.jsx(Fe,{})]}),o.jsx(w,{children:o.jsx(W,{children:o.jsx(We,{})})}),o.jsx(w,{children:o.jsx(W,{style:{animationDelay:"1.5s"},children:n[0].values[1]})})]});case"expertSupport":return o.jsxs(Ye,{children:[o.jsx(T,{style:{animationDelay:"0.2s"},children:o.jsx(Z,{src:Ae})}),o.jsx(T,{style:{animationDelay:"0.4s",zIndex:1},children:o.jsx(Z,{src:be})}),o.jsx(T,{style:{animationDelay:"0.6s",zIndex:2},children:o.jsx(Z,{src:ke})}),o.jsx(Ee,{style:{animationDelay:"0.8s",zIndex:3},children:o.jsxs(Re,{children:[" ",n[0].values[0]]})})]})}};let G;function Je({zeniAccountsPromoCardContent:e,showConfetti:n}){const[s]=fe("Confetti"),a=Q(),[i,p]=X.useState(!1);X.useEffect(()=>(n&&(G=setTimeout(()=>{p(!0)},2e3)),()=>{clearTimeout(G),p(!1)}),[n]);const{prefix:h,header:d,headerAnimationData:m,showAnimation:f,key:g}=e;return o.jsxs(De,{children:[n&&i&&s!=null?o.jsx(ye,{loop:!1,play:!0,onComplete:()=>{p(!1)},segments:[100,299],animationData:s,style:{position:"absolute",top:`-${t.sp8}`,left:t.sp0},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null,o.jsxs(Te,{children:[d!=null?o.jsx(Ie,{children:d}):null,o.jsx(ee,{children:f?Ge(g,m):null})]}),o.jsx(Se,{themeContext:a,children:h})]})}const Qe=r(ge)`
|
|
162
162
|
flex-wrap: wrap;
|
|
163
163
|
overflow: hidden;
|
|
164
164
|
& .styledNav {
|
|
@@ -166,7 +166,7 @@ import{B as F,j as o,o as t,ab as D,g as j,r as ne,v as ae,aQ as se,aR as ie,aS
|
|
|
166
166
|
margin-right: -${t.sp1};
|
|
167
167
|
background-color: ${e=>e.theme.colors.zeniAccountsPromoNavigationArrowColor};
|
|
168
168
|
}
|
|
169
|
-
`,
|
|
169
|
+
`,qe=r(xe)`
|
|
170
170
|
flex-direction: row;
|
|
171
171
|
justify-content: space-between;
|
|
172
172
|
margin: 2px;
|
|
@@ -175,7 +175,7 @@ import{B as F,j as o,o as t,ab as D,g as j,r as ne,v as ae,aQ as se,aR as ie,aS
|
|
|
175
175
|
`,U=r.div`
|
|
176
176
|
display: flex;
|
|
177
177
|
flex-direction: column;
|
|
178
|
-
`,
|
|
178
|
+
`,Ke=r.div`
|
|
179
179
|
border: 1px solid
|
|
180
180
|
${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
181
181
|
border-radius: ${t.sp2};
|
|
@@ -190,18 +190,18 @@ import{B as F,j as o,o as t,ab as D,g as j,r as ne,v as ae,aQ as se,aR as ie,aS
|
|
|
190
190
|
border: 1px solid
|
|
191
191
|
${e=>e.theme.colors.zeniAccountsPromoButtonHoverColor};
|
|
192
192
|
}
|
|
193
|
-
`,Ve=r(
|
|
193
|
+
`,Ve=r(q)`
|
|
194
194
|
color: ${e=>e.theme.colors.zeniAccountsPromoButtonTextColor};
|
|
195
195
|
`,eo=r.div`
|
|
196
196
|
margin-top: ${t.sp4};
|
|
197
197
|
margin-bottom: ${t.sp3};
|
|
198
|
-
`,oo=r(
|
|
198
|
+
`,oo=r(q)`
|
|
199
199
|
color: ${e=>e.theme.colors.zeniAccountsPromoCardTitle};
|
|
200
200
|
text-align: center;
|
|
201
201
|
`,to=r.div`
|
|
202
202
|
width: 100%;
|
|
203
203
|
position: absolute;
|
|
204
204
|
bottom: 6px;
|
|
205
|
-
`,ro=r(
|
|
205
|
+
`,ro=r(J)`
|
|
206
206
|
color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
207
|
-
`,P=
|
|
207
|
+
`,P=_.getLocalizedStrings().zeniAccountsPromoCard;function no({analytics:e,cardPosition:n,card:s,data:a,activeCardIndex:i,isZeniAccountsSetUp:p,handleLearnMoreClick:h,handleCardNavigation:d}){const m=Q(),f=me(),[g,x]=S.useState(0),[y,C]=S.useState(0),[B,A]=S.useState("left"),b=(l,$)=>{l.stopPropagation(),A($);const re=$=="left"?i+1:i-1;e.trackZeniAccountsPromoCardClick(n,$==="left"?"Next":"Back"),d(k(re),$)},M=l=>{d(k(l),"left")};function u(l){x(l.targetTouches[0].clientX)}function oe(l){C(l.targetTouches[0].clientX)}function k(l){return l<0?a.length+l:l%a.length}function te(){g-y>50&&y!==0?(d(k(i+1),"left"),A("left"),x(0),C(0)):g-y<-50&&y!==0&&(d(k(i-1),"right"),A("right"),x(0),C(0))}const H=a.length>1,O=ue.hasZeniAccountsAdminLevelAccess(f.loggedInUserRoleMap);return o.jsx(Qe,{"data-testid":L("dashboard",s.cardType),style:{cursor:"default"},dimension:s.dimension,onTouchStart:l=>H?u(l):null,onTouchMove:l=>H?oe(l):null,onTouchEnd:()=>H?te():null,children:o.jsxs(qe,{children:[o.jsx(U,{children:o.jsx(E,{"data-testid":L("dashboard-navigation-arrow-left",s.cardType),isSpendManagementPromoCard:!0,navType:"left",handleClick:b,promoColor:m.colors.zeniAccountsPromoButtonColor,promoBorderColor:m.colors.zeniAccountsPromoButtonColor})}),o.jsxs(U,{style:{height:"100%",position:"relative",alignItems:"center"},children:[o.jsx(eo,{children:o.jsx(oo,{children:P.title})}),a.map((l,$)=>o.jsx(he,{activeCardIndex:i,currentIndex:$,which:B,children:o.jsx(Je,{zeniAccountsPromoCardContent:l,showConfetti:i===2})},l.key)),o.jsx(Ke,{onClick:()=>h(O?p?"Move Money":"Sign Up for Free":"Learn More"),children:o.jsx(Ve,{children:O?p?P.button:P.signUp:P.learnMore})}),o.jsx(je,{spendManagementPromoCardActive:!0,numberOfDots:a.length,activeIndex:i,handleClick:M,promoColor:m.colors.zeniAccountsPromoButtonColor,promoColorHover:m.colors.zeniAccountsPromoNavigationDotHoverColor,style:{cursor:"default",position:"absolute",bottom:t.sp5}}),i===0?o.jsx(to,{children:o.jsx(ro,{children:a[0].footer})}):null]}),o.jsx(U,{children:o.jsx(E,{"data-testid":L("dashboard-navigation-arrow-right",s.cardType),isSpendManagementPromoCard:!0,navType:"right",handleClick:b,promoColor:m.colors.zeniAccountsPromoButtonColor,promoBorderColor:m.colors.zeniAccountsPromoButtonColor})})]})})}const{zeniAccountsPromoCard:c,common:v}=_.getLocalizedStrings(),z={key:"keepInterest",title:c.title,prefix:c.keepInterest.prefixDashboard,header:c.keepInterest.header,headerAnimationData:[],footer:c.keepInterest.footer,showAnimation:!0},N={key:"protectCash",title:c.title,prefix:c.protectCash.prefix,headerAnimationData:[],showAnimation:!0},ao=[{key:"noHiddenFees",title:c.title,prefix:c.noHiddenFees.prefix,headerAnimationData:[{direction:"down",stepCount:6,values:c.noHiddenFees.headerAnimationData}],showAnimation:!0},{key:"freeWire",title:c.title,prefix:c.freeWire.prefix,headerAnimationData:[{direction:"right",stepCount:1,values:c.freeWire.headerAnimationData}],showAnimation:!0},{key:"expertSupport",title:c.title,prefix:c.expertSupport.prefix,header:c.expertSupport.header,headerAnimationData:[{direction:"left",stepCount:1,values:c.expertSupport.headerAnimationData}],showAnimation:!0}];function so({card:e,data:n,analytics:s,actions:a,isZeniAccountsEnabled:i,columnKey:p,index:h,dndProps:d}){const[m,f]=X.useState(0),g=u=>{f(u)},x=(p+1)*(h+1),y=u=>{s.trackZeniAccountsPromoCardClick(x,u),n.depositAccountId!=null?a.onCardBtnClick?.("zeni_accounts_promo_card",n.depositAccountId):a.onCardBtnClick?.("zeni_accounts_promo_card")},{maxInsuredAmount:C,maxPossibleInterest:B,maxAnnualPercentageYield:A,maxCashBalanceAvailable:b=0}=n;z.headerAnimationData=io(B??25e4),z.prefix=c.keepInterest.prefixDashboard.replace(/<amount>/,D("0,0",b,v.currency.currencySymbol).toUpperCase()),z.footer=c.keepInterest.footer.replace(/<interest>/,A.toString()),N.headerAnimationData=[{direction:"right",stepCount:1,values:[...c.protectCash.headerAnimationData,D(Y(C),C,v.currency.currencySymbol).toUpperCase()]}],N.prefix=c.protectCash.prefix.replace(/<amount>/,D(Y(C),C,v.currency.currencySymbol).toUpperCase());const M=[z,N,...ao];return o.jsx(pe,{isDragging:d?.draggedCardType!=null,isDragOver:d?.dragOverCard===e.cardType,draggable:!0,onDragStart:u=>d?.onDragStart(e.cardType,u),onDragOver:u=>d?.onDragOver(u,e.cardType),onDragLeave:u=>d?.onDragLeave(u),onDrop:u=>d?.onDrop(u,e.cardType),dimension:e.dimension,children:o.jsx(ve,{card:e,actions:{onCardClick:()=>{},onReloadData:()=>{}},children:o.jsx(no,{card:e,data:M,handleCardNavigation:g,activeCardIndex:m,handleLearnMoreClick:y,isZeniAccountsSetUp:i&&n.depositAccountId!=null,analytics:s,cardPosition:x})})},e.cardIndex)}S.memo(so);function io(e){const n=[],s=D("0,0",Math.floor(e),v.currency.currencySymbol);for(let a=0;a<s.length;a++){const i=s[a],p={direction:"up",stepCount:0,values:[i]};if(i===v.currency.currencySymbol||i===v.strings.comma)n.push(p);else{const h=parseInt(s[a]),d=a===1&&h<=1?1:Math.floor(h/2),m=a%2===0?"down":"up",f=h-d,g=[];for(let x=0;x<=f;x++){const y=d+x;g.push(y.toString())}m==="down"&&g.reverse(),n.push({direction:m,stepCount:f,values:g})}}return n}export{Ge as G,so as a,io as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as f,e as T,a2 as x,v as a,j as n
|
|
1
|
+
import{u as f,e as T,a2 as x,v as a,j as n,_ as y,iF as B,o as t,M as C,C as m,r as d}from"./index-4y_mNX1u.js";import{b as j,n as w}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const p={marginTop:new m(d[0],18),marginBottom:new m(d[0],d[3])},{spendManagement:{chargeCard:{chargeCardsPromo:l}},common:P}=C.getLocalizedStrings(),K=({googleAPIKey:o,customAddress:c,customAddressStatus:e,onDismissClick:r,onSubmitHandler:g})=>{const u=f(),s=T(),i=x(e.fetchState);j.useEffect(()=>{i==="In-Progress"&&e.fetchState==="Completed"&&r()},[e.fetchState,r,i]);const h=s==="small"?a.extraSmallRegular.cssObject:a.standardRegular.cssObject,S=s==="small"?a.standardMedium.cssObject:a.h5Regular.cssObject;return n.jsx(v,{"data-testid":y("add-address-for-card-drawer"),children:n.jsx(B,{googleAPIKey:o,loadingState:e.fetchState,addressToEdit:c,onSubmitHandler:b=>g(b),onCancel:r,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:l.addAddress,subTitleMessage:l.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:p.marginTop.valuePx(s),marginBottom:p.marginBottom.valuePx(s),...S},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...h,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:t.sp2,paddingRight:t.sp3},sectionStyles:{paddingTop:t.sp4,paddingBottom:t.sp4},footerButtons:{primaryButtonLabel:P.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},v=w.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
background-color: ${o=>o.theme.colors.grey4};
|
|
4
4
|
height: 100%;
|