@zeniai/web-cockpit-ui 1.14.17-prod → 1.14.18-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-DDccOBrQ-xtRCcN-J.js +21 -0
- package/dist/assets/{AIPerformancePage-4oC8MJWN-CnZuazuh.js → AIPerformancePage-u3qF__mF-Cwmno93h.js} +42 -42
- package/dist/assets/{AccountInfoPage-mOPytffA-Bb_0HfAI.js → AccountInfoPage-vDWC6AMf-DzR0-3Io.js} +2 -2
- package/dist/assets/{AccountInfoPageContent-VULusDEd-B6jGNgpa.js → AccountInfoPageContent-0PqU7bCV-D6wFAbY2.js} +13 -13
- package/dist/assets/{AccountReconDetailsDrawerPage-89APlrhb-Bn5bJkKR.js → AccountReconDetailsDrawerPage-DEqtU-rh-Deoo-ctA.js} +19 -19
- package/dist/assets/{AccountRow-DJd-IAIl-CphVozdW.js → AccountRow-DTQ6Qoyr-_b2APADd.js} +25 -25
- package/dist/assets/{AccountsPromoCardStack-DE39TpIu-DddyJFZU.js → AccountsPromoCardStack-DkYqKp1i-mDnDl8sy.js} +33 -33
- package/dist/assets/{AddAddressForCardDrawer-CKdcU_pi-Cru8pian.js → AddAddressForCardDrawer-DB3HtvgV-DDm-Yx81.js} +2 -2
- package/dist/assets/{AddToWalletPage-DPXW2fbY-DpUkWVOQ.js → AddToWalletPage-DvgM0-kj-TsEzz5fI.js} +22 -22
- package/dist/assets/{AgingReportsPage--CLUwcIa-Df3CNo1p.js → AgingReportsPage-BP6-oG6W-DRhLxK4p.js} +16 -16
- package/dist/assets/{AllUserItems-CC9l-O5G-CIqB0NVu.js → AllUserItems-w6M8k5yU-DRpE6VjZ.js} +9 -9
- package/dist/assets/ApAgingDetailPage-BZuNGMx_-DRH7p0_b.js +46 -0
- package/dist/assets/{AppBasePage-CgHKYFmd-D_Q-scFo.js → AppBasePage-l_TUUps8-K0ozDeR0.js} +10 -10
- package/dist/assets/{AppDrawerContent-Cofo0-5p-C2SMJMAF.js → AppDrawerContent-_gInVeZf-CqHabOEw.js} +19 -19
- package/dist/assets/{ApprovalRulesSettingsPage-DsshEbzW-MDJUC8F8.js → ApprovalRulesSettingsPage-CKRde9he-CmSQRugq.js} +7 -7
- package/dist/assets/{ArAgingChart-K2LSe8mo-DOPhX4_p.js → ArAgingChart-Dg0oBo5K-CF9AvFJC.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-DCFL9YAy-B1OHW5_X.js → ArAgingDetailPage-CNizMSbt-CgouefYI.js} +4 -4
- package/dist/assets/{AttachmentView-Cn3VnVyO-DO8fl7Lg.js → AttachmentView-B8hloBca-DRZOHo7x.js} +7 -7
- package/dist/assets/{BankAccountSection-Au9_D0Ji-BBXMunsx.js → BankAccountSection-4HNC0ypd-BpuQrkpU.js} +8 -8
- package/dist/assets/{BankAccountWarningSection-927iR_QB-BtJVaVYW.js → BankAccountWarningSection-BqgTMjDy-DwldrkYy.js} +7 -7
- package/dist/assets/{BankConnectionsSettingsPage-CXab8fzD-CR1SLWcp.js → BankConnectionsSettingsPage-BBQh1oT8-CYERxE0e.js} +26 -26
- package/dist/assets/{BillDetailPage-yIdrE7YG-mSNBPVBH.js → BillDetailPage-R4oRrdsm-Bhl-v3vo.js} +20 -20
- package/dist/assets/{BillPayApprovalRuleDetailPage-BJl_-eJN-DfRKnShy.js → BillPayApprovalRuleDetailPage-d_A1-Gv_-D0vt2nJT.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-rXaFCSLp-cxxlZdoV.js → BillPayApprovalRulesPage-5q5b2drs-DNrIHclU.js} +8 -8
- package/dist/assets/{BillPayPromoPage-BLi_wIbj-DG-GObEW.js → BillPayPromoPage-Dz_R3Vd_-D4VHTD7W.js} +10 -10
- package/dist/assets/{BillPaySetUpPage-BFmpWT_x-DZ1bn6xG.js → BillPaySetUpPage-CwTRrElO-Dy2xJbwX.js} +2 -2
- package/dist/assets/{BillingSettingsPage-Da01aYql--XoIQE9r.js → BillingSettingsPage-_XJCl2yq-D0rAMBJt.js} +5 -5
- package/dist/assets/{BillsBulkReviewDrawerPage-J2kO9_8C-CrGFgMQq.js → BillsBulkReviewDrawerPage-B_S35aKX-pMNSaHSP.js} +1 -1
- package/dist/assets/{BoxItem-CQlEDklH-D0f8uekU.js → BoxItem-9JmA6QqI-D4hhkbCR.js} +4 -4
- package/dist/assets/{BusinessVerificationPage-DWhXCuG5-CIyaCpTi.js → BusinessVerificationPage-DJKOIC1M-BEeGVZ1S.js} +11 -11
- package/dist/assets/{CardNumberSubText-BTjxrF3b-DCQPgxX5.js → CardNumberSubText-CewmMWju-DJiRPNiZ.js} +1 -1
- package/dist/assets/{CashbackDetailPage-qcMtGUQ0-Dz_yXoTf.js → CashbackDetailPage-HtjAmPa8-DEVbhkAr.js} +26 -26
- package/dist/assets/{ChargeCardDetailPage-BurpUHl9-Ciqrx0hJ.js → ChargeCardDetailPage-D_5vb_92-DYjdXqRv.js} +27 -27
- package/dist/assets/{ChargeCardListPage-CBIYOllB-D1mmmMlz.js → ChargeCardListPage-BT-8bueF-C8QRxzgr.js} +23 -23
- package/dist/assets/{ChargeCardListTable-BTZu7ldI-DaxCsUOF.js → ChargeCardListTable-oJTQcOkc-HAou4pja.js} +104 -104
- package/dist/assets/ChargeCardPromoPage-Dp01F4cn-Br2kcjZo.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-QOdjFcsr-HqJ0CY43.js → ChargeCardSetupPage-cqydgFPZ-KP5FKJ0i.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-C1UmjyIW-t-HeuD0G.js → ChargeCardStatementsPage-URwhXATj-BVz6_ztr.js} +8 -8
- package/dist/assets/{ChargeCardUtils-C3fhOMpV-CxA3bvB_.js → ChargeCardUtils-DBEgXAMc-DYsQMmpv.js} +1 -1
- package/dist/assets/{ChaseOverlay-RPex2o5e-D5Pnk6_2.js → ChaseOverlay-HTpWDuLt-D0qtM7hD.js} +10 -10
- package/dist/assets/CheckDepositDrawerPage-DLc3qfVH-Dq_DIMy3.js +206 -0
- package/dist/assets/{CollapsableReportTable-Ds0h8x1N-D9fMaQRX.js → CollapsableReportTable-PpQgBBRC-BpxIl-X-.js} +93 -93
- package/dist/assets/{CompanyOfficerDetailsSection-B8yGAFVj-C_nLkKUv.js → CompanyOfficerDetailsSection-C1aPsDga-DX0GYxxu.js} +35 -35
- package/dist/assets/{CompanyPassportCard-BDei9Pfp-BpecpsWG.js → CompanyPassportCard-DMKqBgwh-20YLIkOw.js} +6 -6
- package/dist/assets/{CompanyPassportPage-DFA733vS-B2zKe1Pz.js → CompanyPassportPage-CHHPIqN_-CQsnT2Hp.js} +37 -37
- package/dist/assets/CompleteProfile-D6jHfaC2-Cwowcy8N.js +36 -0
- package/dist/assets/{ConfettiBurst-97CCPVCH-BD_XmOVp.js → ConfettiBurst-14a5kaEE-D-oFz-sG.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BSi6pOXN-DB5j0ELP.js → CreateOrEditVendorPage-K5rhe_y3-6e_B7drg.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-ZletyeGG-CBseyU9r.js → CreditCardPaymentDrawerPage-LQ--HUI9-Ct-Z_PH4.js} +20 -20
- package/dist/assets/{CreditCardPaymentPlgSection-BE982atG-BhAoucSV.js → CreditCardPaymentPlgSection-BM05WC-i-Bk08bY1j.js} +12 -12
- package/dist/assets/{CurrencySelectField-cnP09xH2-Bqd53-DL.js → CurrencySelectField-bhkJTNUW-TAA9r3NA.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-DhcKiTJ_-p0-cJZJZ.js → CustomerOnboardingActivationPage-BHD1irjF-BuHM5vzQ.js} +9 -9
- package/dist/assets/CustomerOnboardingContainerPage-BhS5NmVt-CloO5_fX.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-jguCmaVx-hiDye2lr.js → CustomerOnboardingDetailPageSkeleton-B--kAA3i-BtWP8-CX.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-xakP7IDr-DoZL-q4V.js → CustomerOnboardingNoStepsPage-sHKAos8m-1qMzs8BU.js} +5 -5
- package/dist/assets/{CustomerOnboardingPage-Ct5YbyHs-hceBe625.js → CustomerOnboardingPage-B_S5G-6o-Cv0ITZ4_.js} +10 -10
- package/dist/assets/{CustomerOnboardingProductSuitePage-CugfvMkw-CeReM7po.js → CustomerOnboardingProductSuitePage-CVi8WuQY-DZMQtVHo.js} +12 -12
- package/dist/assets/{Dashboard-XbVGCnvI-CRdBErKY.js → Dashboard-CIMiF6eU-SPzOaUuR.js} +1 -1
- package/dist/assets/{DashboardReportPage-OeEPg2kx-BRZthuDb.js → DashboardReportPage-6z6qBQSB-C79wD_Nr.js} +21 -21
- package/dist/assets/{DepositAccTransactionItem-Dy6qzuSL-DPoAonWw.js → DepositAccTransactionItem-BQYFrzDW-VNbpp2iU.js} +10 -10
- package/dist/assets/DepositAccTransactionListPage-xSNsUwS4-DJcgYerm.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-B0tbjNLO-N6WWRyiF.js → DomesticWireDetailsPage-b1iB1HBM-CrTulX9A.js} +1 -1
- package/dist/assets/{DownloadOverlay-BKKO1nm1-BBPGQxTo.js → DownloadOverlay-C3oy6eq7-CCVozCSE.js} +12 -12
- package/dist/assets/{DrawerPage-osM8gPVn-oFq0Mi3x.js → DrawerPage-DLVTld-y-Cb3VyNgX.js} +12 -12
- package/dist/assets/EditPeoplePage-DKJNf1oJ-6CdgkITi.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-DvLeCixY-a8i3cgCY.js → EditReimbursementDetailPage-zgUt303N-BpiV7KXr.js} +80 -80
- package/dist/assets/{EntityDetailPage-BzJbAOSj-C2me2h-9.js → EntityDetailPage-DY4i6GZK-DN-UWde9.js} +3 -3
- package/dist/assets/{EntitySummarySection-Drj07P9h-BB10Ph6X.js → EntitySummarySection-BbxeYdm8-Bf_NXajy.js} +13 -13
- package/dist/assets/{ExpenseAutomationOverviewPage-BQ9dwGkq-Dd5Wu1Oq.js → ExpenseAutomationOverviewPage-D3x3XpmU-fjM7OZCO.js} +31 -30
- package/dist/assets/{ExpenseAutomationPage-DLld6Lux-CU8XbJdU.js → ExpenseAutomationPage-BTAjM6yZ-yDXqzAOJ.js} +56 -56
- package/dist/assets/{ExpressPayPage-QBNV0dC8-CiKLiNx-.js → ExpressPayPage-C30-lVTo-C8uKTmQz.js} +11 -11
- package/dist/assets/FeaturePreviewPage-BRqSxk9H-D2VfZkvq.js +11 -0
- package/dist/assets/{FollowStepsSection-1RCO2W7K-BM-qYKhG.js → FollowStepsSection-B171fPtM-D2ueI9DZ.js} +28 -28
- package/dist/assets/{GlobalReviewListPage-ByMZFe7Y-DFTTsWiV.js → GlobalReviewListPage-BaZx32sB-CsLBtCph.js} +14 -14
- package/dist/assets/HelpButton-ewiNuwlj-a7BLQVoR.js +28 -0
- package/dist/assets/{InformationCardStack-C0AmMOu2-DYhd3hfJ.js → InformationCardStack-BtxneVKK-CvEQzEwX.js} +6 -6
- package/dist/assets/{InsightsCardStack-BiIDBYY8-2xqS770j.js → InsightsCardStack-CCee6pLA-D-hqWx-q.js} +7 -7
- package/dist/assets/InsightsSection-BZNwdoG4-BHWxrsk5.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-7wAnV8kG-DrGJO8v7.js → IntegrationsSettingsPage-CsY38-LI-tUcaBNIE.js} +9 -9
- package/dist/assets/{InternationalWireSwiftDetailsPage-C7D15jtK-DB-bqxLJ.js → InternationalWireSwiftDetailsPage-sSSgjYdh-CECQrN0I.js} +17 -17
- package/dist/assets/{InternationalWireVerificationPage-GDKPXtU--BuWSY4mt.js → InternationalWireVerificationPage-zv0FIhUz-BUPdBF6w.js} +14 -14
- package/dist/assets/{InviteFormPage-CKGJHYWa-CVTJzGcr.js → InviteFormPage-DxszbbOJ-CJWqS0tA.js} +19 -19
- package/dist/assets/{InvitePageListView-CWXyDZU2-BrT7iR9u.js → InvitePageListView-BYVWTwTc-Dq61wzB9.js} +46 -46
- package/dist/assets/InvitePeoplePage-CJ4KyyxI-Ci7vEwdq.js +12 -0
- package/dist/assets/InvoiceUploadSection-Dy_H9a8Y-CvpINn7W.js +140 -0
- package/dist/assets/{IssueChargeCardPage-DLX44XaR-DFyVTb1t.js → IssueChargeCardPage-CPmj_trJ-CTV2OfvE.js} +19 -19
- package/dist/assets/LabeledAddressValue-BVpwGdA2-5vfMRzOg.js +49 -0
- package/dist/assets/LabeledAddressValueField-Eka4fXzu-BSJMd52k.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-B6cLYSmS-DZ07Eb4a.js → LabeledControlledCheckBoxField-BnfJ3gKr-7p5KdXvW.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CV4GQQ7F-BUa9hT46.js → LabeledCreatableSingleSelectField-CJT-CuQl-C0rlBcX2.js} +4 -4
- package/dist/assets/{LabeledDocumentField-BFhyNqP8-BDvJv_kZ.js → LabeledDocumentField-BoraKtTI-BRERXK8W.js} +6 -6
- package/dist/assets/{LabeledDropDownFormattedTextField-gE3aWP_T-6PD3W-AE.js → LabeledDropDownFormattedTextField-elNvxcOB-BPm7rTz8.js} +7 -7
- package/dist/assets/{LabeledText-0pRIcJw5-r2ZCEVQ7.js → LabeledText-DhZgeQqu-Dz4gRnMS.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C-32ySGI-DQOygX87.js → LabeledUserSingleSelectWithSubtitlesField-D63Z4SE5-Hunv1W3n.js} +16 -16
- package/dist/assets/{LabeledZeniRolesDropDownField--l6D29VX-B6DyGDEy.js → LabeledZeniRolesDropDownField-MwrQ9tKT-DwAqMpNU.js} +11 -11
- package/dist/assets/{LinkJETransactionPage-DLcpx9ns-Bh9TF_MD.js → LinkJETransactionPage-BpQXs8JH-CczVuOJd.js} +6 -6
- package/dist/assets/{LowBalancePopup-BuelKDeS-CSLx6wJV.js → LowBalancePopup-DPbr0gUO-BMtDcyj7.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-NIkquHvv-yh6XMQtL.js → MagicLinkACHDetailsPage-D11FRh9u-CA4ESgf_.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CdaNz396-yCrWXvxr.js → MagicLinkDomesticWireDetailsPage-CG7yqz6X-CxkGJZaJ.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-CnEhS5PP-B5MwqJ-A.js → MagicLinkInternationalWireDetailsPage-PkDENzkO-BALvlHZZ.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-D_VJZV0O-DPuvz2hP.js → MagicLinkSuccessPage-BS9ddhQA-DfzVlezu.js} +2 -2
- package/dist/assets/MagicLinkTitleSection-CBYkZ8RD-DOnIUCAU.js +17 -0
- package/dist/assets/{MailingDetailsSection-CTrx1xoB-C-u8Huuq.js → MailingDetailsSection-Cx1s77og-DXexyF-i.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-DWvpTRQJ-zZIl1j3H.js → MeetingCalenderPopup-DNthMj1J-DCVu9x9-.js} +1 -1
- package/dist/assets/{Menu-CbQ6Zkdp-BweiK2nA.js → Menu-CIjXHu3p-BVUzW_3W.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-9dQLb8iw-Cj5yJXwt.js → MyBankConnectionsSettingsPage-D77Axpyj-Dsr9teql.js} +15 -15
- package/dist/assets/{MyPendingActivationChargeCardListPage-B2-YthuF-VM5npBIO.js → MyPendingActivationChargeCardListPage-CnZZJsMY-KyflajTT.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-CfmYPv4_-CIgxbDkF.js → MyProfileSettingsPage-iXkYV9nQ-C8PmA-Fq.js} +6 -6
- package/dist/assets/NavBarWithPicker-D8Mx-0SS-CQTf4kGi.js +30 -0
- package/dist/assets/{NavigationArrow-9pvhzLz8-DVcM928l.js → NavigationArrow-DOvptaEZ-B1BrtWg6.js} +2 -2
- package/dist/assets/{NavigationDots-CXPwKFh1-CrC7B7FZ.js → NavigationDots-HukimDRY-BSdcE3Mo.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-D6ZpP6J1-Ddado9Ux.js → NewGlobalMerchantPage-BlOMnHda-Cw8vvr0B.js} +12 -12
- package/dist/assets/{NoDataChart-BUR7CF8w-DuHnCUpX.js → NoDataChart-DyGfwFNo-Bpe0xKgS.js} +1 -1
- package/dist/assets/{NoDataTable-3L4pbKR0-BTgZwbfH.js → NoDataTable-CJseWuln-x_ccMVrT.js} +1 -1
- package/dist/assets/{NotFoundPage-CgZfmKbj-CphquTAk.js → NotFoundPage-UG00-OBF-BoQnjyIO.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-BwYT3Tdc-DgiFqwCF.js → NotificationSettingsPage-COyRIY7z-B69eM29f.js} +17 -17
- package/dist/assets/NotificationsListConfig-BR7QDiGp-CoZ9cxNa.js +1 -0
- package/dist/assets/{NotificationsPage-6qNQYQK4-Cp_wAk4A.js → NotificationsPage-DNSiZHw_-DhSCbYyU.js} +38 -38
- package/dist/assets/{OpExByVendorPage-C28MBvmW-CBPzAPyp.js → OpExByVendorPage-DmSYppgo-B8QxoNs0.js} +7 -7
- package/dist/assets/{OverlayContainerPage-9K5jaX8Z-Cd7_J73p.js → OverlayContainerPage-DB42kFLd-BB8Mm-uG.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-onJJ3Fh4-D0Ni0A1f.js → PandLWithForecastPage-Cvpj3Rx7-BBqZBlne.js} +12 -12
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-nGuJ5fbq-Dddw_6qi.js → PaymentAccountSetupBillingAddressSection-CsldB-k7-VgWcdB9R.js} +9 -9
- package/dist/assets/{PeoplePage-CKzezKqB-B4QnLpIu.js → PeoplePage-CZhJF86l-BUJerLay.js} +33 -33
- package/dist/assets/PortfolioAllocationFormPage-9GM9dOrM-B8ssUltJ.js +207 -0
- package/dist/assets/{PortfolioDetails-CIv1yXo2-DlYUzm0Y.js → PortfolioDetails-BmAHjCVw-CsG6lf5x.js} +42 -42
- package/dist/assets/{ProductsCarousel-CSUQ6rVw-Dq7KRKaA.js → ProductsCarousel-DnbMUIHf-CibvwP8L.js} +7 -7
- package/dist/assets/{PromoBaseCards-2L1JfY-v-BRtC8pzf.js → PromoBaseCards-BC5rOok_-CbjLwgXv.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-DNP_b7aK-CAIkgcbW.js → QBOConnectionDialog-Ci5zNza5-6_E7GkKa.js} +4 -4
- package/dist/assets/{QBOSetupSection-CGrGCC2j-ClZ3tkq4.js → QBOSetupSection-BTOCiyES-BQ9iHLEQ.js} +12 -12
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DqxyCfuQ-6J_ZREq6.js → ReimbursementApprovalRuleDetailPage-BfU-6jeB-4BEDb2U8.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-D_RMSSoW-CMxgtEwF.js → ReimbursementApprovalRulesPage-M8JZSUOE-C8eBggiH.js} +32 -32
- package/dist/assets/{ReimbursementDetailPage-BkT7zJoE-L1Yuetx5.js → ReimbursementDetailPage-D54RyrP4-DTi4hKLb.js} +23 -23
- package/dist/assets/ReimbursementPromoPage-B2uVT4md-CMAH_EoV.js +112 -0
- package/dist/assets/{ReimbursementSetUpPage-lH4Z7Lqi-CerDtxfZ.js → ReimbursementSetUpPage-DgZLqhEv-7jHyoRwK.js} +13 -13
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Bvh4mRws-CJIomqpb.js → ReimbursementsBulkReviewDrawerPage-DdaqWcd4-DhSMDa4E.js} +1 -1
- package/dist/assets/{ReloadCard-BQKVLlzZ-CMEhPfYG.js → ReloadCard-Brl4XdzV-avg2x7k6.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-Cvk4LxRf-DCkfwUK_.js → ReportTableViewSelector-BUwsckE_-Cr50tsiY.js} +9 -9
- package/dist/assets/{ReportsPage-C2cIfu51-B7K6BN2I.js → ReportsPage-B_p1fu0v-DX66zZ_7.js} +4 -4
- package/dist/assets/{RevenueChart-ByCekdyG-Db6fZ8Z0.js → RevenueChart-Wm8uOprY-DjqKlnHO.js} +17 -17
- package/dist/assets/{ReviewDetailsPage-DGyfz9q5-P_BYWYwL.js → ReviewDetailsPage-KBHsF8bJ-BZe7KZL0.js} +26 -26
- package/dist/assets/{ReviewOverlay-Dp5yLAdR-ppQTrb43.js → ReviewOverlay-Dw0qj7TA-qOb8xPV_.js} +21 -21
- package/dist/assets/{RoleWithToolTip-B7xRZ-3a-B3ckgpb9.js → RoleWithToolTip-XfK92pcD-DtUyDW-U.js} +4 -4
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BvJX-G-F-kKNu4fRT.js → ScheduleDetailsFixedAssetsPage-BWlIEli5-C8Xnu1wF.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-CNpkuW7O-CkNLmYrd.js → ScheduleDetailsPage-C1xCJX3o-Cpr_7FVH.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-B_90qPjE-CplVycAS.js → ScheduleSequenceTable-BprYPV37-CbJbmsNz.js} +48 -48
- package/dist/assets/{ScreenRoutes-CV0gC1Wk.js → ScreenRoutes--7yT1DKW.js} +62 -62
- package/dist/assets/{SetUpAccountSection-D5x8PZG1-B9kF2QnD.js → SetUpAccountSection-Dr1TfnG_-Cel5DtZp.js} +24 -24
- package/dist/assets/{SetUpDefaultSection-BsOdnADR-Bh52uE6Z.js → SetUpDefaultSection-Be5NU_Em-BdXA12e3.js} +9 -9
- package/dist/assets/{SignIn-Bt7hCYjV-D4UP94Cn.js → SignIn-CE6RYJOs-ty2bYK-D.js} +20 -20
- package/dist/assets/{SignInScreen-Bv_81haj.js → SignInScreen-B_Dlksbi.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-C5cJKuRq-B2Zd7jIc.js → SpendManagementListViewPage-BESddx6p-DEy09jpS.js} +11 -11
- package/dist/assets/{SpendManagementPerTabPage-IBAw8wc4-0AzTQ-pL.js → SpendManagementPerTabPage-BzOooEMS-CS5nadJ3.js} +56 -56
- package/dist/assets/{SpendManagementSection-yNP3swb6-BT4nw0il.js → SpendManagementSection-CczioNZH-D_OdnYKx.js} +12 -12
- package/dist/assets/{SpendMgmtSetupAccountSection-CYxt9dN8-Qj7YKaTJ.js → SpendMgmtSetupAccountSection-CVFRXVhZ-KbAbVozh.js} +22 -22
- package/dist/assets/{StatementItem-q9U89Htr-CZ3EdqOI.js → StatementItem-Cptht91w-CXR-Xt2m.js} +8 -8
- package/dist/assets/StatementsPage-Bk_DWBsO-D9kCpcdC.js +58 -0
- package/dist/assets/{StatusSwitcher-CtuL5COG-4YMPvI5d.js → StatusSwitcher-B3gZD4Xk-Bh4cnysY.js} +4 -4
- package/dist/assets/{SubTabSwitcher-DHiC-mOv-DIvwMpAe.js → SubTabSwitcher-ymwMdmPQ-Bui2S7lB.js} +3 -3
- package/dist/assets/{SummaryCard-D4Me-qWU-BZE9_yds.js → SummaryCard-CVO_hW5i-BNIAsEAp.js} +1 -1
- package/dist/assets/{TaskManagementPage-D-F7ufTD-Comcimqq.js → TaskManagementPage-C8FiHas2-CSgpx3sK.js} +38 -38
- package/dist/assets/{TimeRangeSwitcher-CGN9Hq2L-KXKr4hV-.js → TimeRangeSwitcher-CPklgWMn-CIOi92rx.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-BN4-ACoQ-kWUcnD9f.js → TimeframeSwitcher-Do-13K0C-DY9TYA6Y.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-BkzCFclG-ugdDHTt1.js → TimeframeSwitcherWithToggle-CtVJiYRA-BFfeCNSf.js} +2 -2
- package/dist/assets/{TopExCard-Wuzj4gLV-Cn6UEqNm.js → TopExCard-CAbVMarX-DzMoRGlM.js} +5 -5
- package/dist/assets/{TopExDetailPage-DMYNc-gj-Dz38ydtK.js → TopExDetailPage-CN49s925-BpBrFgHR.js} +10 -10
- package/dist/assets/{TransactionDetailPage-CcryBjJ4-DoUjClk8.js → TransactionDetailPage-Q9XC1VgP-B1t0fuZa.js} +35 -35
- package/dist/assets/{TransactionList-BrOpzi25-BSonELX4.js → TransactionList-Pn-voMDJ-cxv4xlA8.js} +12 -12
- package/dist/assets/{TransactionListBig-D6QMNaV6-D7d8aB_1.js → TransactionListBig-D4U1VfMP-q6KLDBuW.js} +25 -25
- package/dist/assets/{TransactionListPage-BB_LkPKR-DcfLw_bc.js → TransactionListPage-Dcr5n_hs-BCiA3wu6.js} +4 -4
- package/dist/assets/TransactionVendorDetailPage-DxDXndQ6-Cuilftgh.js +80 -0
- package/dist/assets/TransferDrawerPage-CuQct69A-B079B2IU.js +362 -0
- package/dist/assets/{TreasuryOverviewPage-EDaXKMNQ-wuIbjLRl.js → TreasuryOverviewPage-BDYqKBrS-CScokRvu.js} +56 -56
- package/dist/assets/{TreasuryPromoPage-Brja4nGR-DT0IH0vP.js → TreasuryPromoPage-CTkEFZ57-BEp9DAWk.js} +22 -23
- package/dist/assets/{TreasurySetupPage-8ZXXBvyU-C-JVco00.js → TreasurySetupPage-KI_5DQnD-D9S_zLnk.js} +3 -3
- package/dist/assets/{TreasuryStatementsPage-BjT1FVfa-RL5yYEKk.js → TreasuryStatementsPage-DB1KkguP-BSv5nFQ9.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-Cxk8TjrI-BVz73cPQ.js → TreasuryTaxLetterPage-DbHBl6-e-B10fxK69.js} +5 -5
- package/dist/assets/TreasuryTransferOrReviewPage-CLJ2x2M1-Q00AAxLj.js +506 -0
- package/dist/assets/{TrendChart-D2B0mwGW-LdF7kbJS.js → TrendChart-Ck4SVLtn-DxCRoE-5.js} +5 -5
- package/dist/assets/{TrendWithTransactions-Ch8smOOz-DvkVv9Dh.js → TrendWithTransactions-BiWHzfIf-CM8I_QYq.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-CCIn9g7v-B7z-zFAl.js → UncategorizedAccountsMappingPage-BEbiQMPB-P5OqOc0G.js} +8 -8
- package/dist/assets/{UnitIntegrationPage-SY0L_D7Z-vUoLCexN.js → UnitIntegrationPage-DghvgER8-G5psF27e.js} +5 -5
- package/dist/assets/{UploadAdditionalDocumentOverlay-BowxerPw-D8DEcBeU.js → UploadAdditionalDocumentOverlay-BasudeQ3-BthiTAoM.js} +2 -2
- package/dist/assets/Vendor2FAPopup-BVYQk2Yt-C9WsXmh_.js +1 -0
- package/dist/assets/{VendorACHDetailsPage-Ba1oMHkp-oJ6TiKqn.js → VendorACHDetailsPage-DYwQERlH-B1gQMIfP.js} +1 -1
- package/dist/assets/{VendorDetailPage-CjBeVAkw-B20qcm9f.js → VendorDetailPage-D-Mcnqod-jIU9WO5F.js} +13 -13
- package/dist/assets/{VendorDomesticWireDetailsPage-DJcyNUun-DUFWlPtJ.js → VendorDomesticWireDetailsPage-sx958z_p-CRI6ZI2U.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-CUWkLY0f-C3N9pQgD.js → VendorFiling1099EditablePage-D0AAdqa3-D6a_Y5gP.js} +11 -11
- package/dist/assets/{VendorFirstReviewPage-XUgEai-M-BVmvihBk.js → VendorFirstReviewPage-DS7Qb6O_-DE9J3Hnv.js} +30 -30
- package/dist/assets/{VendorInternationalWireDetailsPage-BgHCBv0S-BuT_JBAg.js → VendorInternationalWireDetailsPage-CUw0lbm5-B48sIzNH.js} +13 -13
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-axseacZL-CKuxxytA.js → VendorInternationalWireSwiftDetailsPage-2BGGr3aV-bgtv6P0O.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-oYghWvs6-CRDf25av.js → VendorsAccountsSection-D5-r6xWp-BXiiVWTo.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-B1his2AN-sSgMawun.js → WarningsDrawerPage-BEuiclea-2arBaAmM.js} +9 -9
- package/dist/assets/{ZeniAccountDetailPage-B21kawRR-DrYitpWf.js → ZeniAccountDetailPage-DvUTbTBC-BePzTP3_.js} +31 -31
- package/dist/assets/{ZeniAccountListViewPage-D9lefqbT-DQW5qz6U.js → ZeniAccountListViewPage-BpAa6XZc-xCgx2LuK.js} +22 -22
- package/dist/assets/ZeniAccountNavBarPieces-CBRZuAIU-D4DE3sLv.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-B8aWqCOQ-BOtOia7W.js → ZeniAccountPromoPage-BDzkOGum-ucUtzXa7.js} +22 -22
- package/dist/assets/{ZeniAccountSetupPage-BmFF5yvk-DibbYm5H.js → ZeniAccountSetupPage-B6ExD1mo-DRJ8Xy53.js} +1 -1
- package/dist/assets/{ZeniCopyright-eQoaUH08-9LhzFsYE.js → ZeniCopyright-BcpJPWHG-DnS0u_xy.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-B6ftMZ_m-C5TbZ-pE.js → ZeniTransferAmountSlider-BQDqgNKJ-Buxspfp3.js} +2 -2
- package/dist/assets/{analyticsHelper-Bns4muDg-CTVv7wZj.js → analyticsHelper-BP6myd2z-CsiFRwZa.js} +1 -1
- package/dist/assets/{analyticsHelper-CR1CL5UR.js → analyticsHelper-CL3ebWyT.js} +1 -1
- package/dist/assets/{chartTypes-ZJYcsh-k-DHtgcYfN.js → chartTypes-BU-pRq_m-4W1rDqui.js} +1 -1
- package/dist/assets/{commonDimensions-NUQEpowf-CStGzLLl.js → commonDimensions-BpaqG_u8-Hm0X7sCE.js} +1 -1
- package/dist/assets/{detailCommon-DMKakaa6-BTVbM1MP.js → detailCommon-dG26UIR2-hMVwnMUq.js} +6 -6
- package/dist/assets/{downloadPdf-CNrmv_yZ-Bfu7BMOK.js → downloadPdf-B5Tb5dp_-Ct6A3VYi.js} +1 -1
- package/dist/assets/{index-Brv5pz8V.js → index-C5chxI3W.js} +4203 -4371
- package/dist/assets/{mapLoadingInProgressToTreeNode-CwLhcXcQ-Bnwlw2M8.js → mapLoadingInProgressToTreeNode-DOBKyY4b-Cji_pzGZ.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D8iLkGEE-DfMwm5-y.js → mapSectionWithAcOnlyToTreeNode-Bja0zC1h-BgIeww8r.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CF_gEYDy-RcbX1U5k.js → mapSpacerToTreeNode-BnX1Qa3P-BdNPRcx1.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Dp2QmYvb-CHh4RoQN.js → mapTimeframeBalancesToTreeNode-BTMBlZfj-BF58Lu6L.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-B672MK55-BYMcR76x.js → mapTimeframeBalancesToTreeNode-DRU0rg28-CA6THCw5.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BaEMd-vj-Z1CengjV.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CafUd-oV-Xm435fDX.js} +1 -1
- package/dist/assets/{play-icon-CgWP2Myd-BcbDsqNd.js → play-icon-CwzVvYsB-Do7CqLGc.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DJNZCEmi-Ba1UoXC9.js → toCOABalancesWithID-CTIZoP69-DeVrMVx4.js} +1 -1
- package/dist/assets/{toChartData-HYsxUPzh-Cw5iczWw.js → toChartData-yWFIkpKX-RS3uH3U9.js} +1 -1
- package/dist/assets/{treasuryColorHelper-BgV2H9Kv-DqJwHecP.js → treasuryColorHelper-I90KNlm_-BYEIYIdA.js} +1 -1
- package/dist/assets/{uploadAttachment-BgjFjkkw-BbDLjMJx.js → uploadAttachment-BIyTb3QF-DLfW32Gd.js} +35 -35
- package/dist/assets/{uploadReceipts-CwjPukNh-DpNYAzaK.js → uploadReceipts-CB79ouJi-D3aL_mpJ.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-BwrF_fEr-pbNmirlx.js +0 -21
- package/dist/assets/ApAgingDetailPage-CsQ3DujX-DRJxl7yD.js +0 -46
- package/dist/assets/ChargeCardPromoPage-us_v89rV-5UKWLQde.js +0 -222
- package/dist/assets/CheckDepositDrawerPage-XZJ1F0aC-BIEAAJrT.js +0 -206
- package/dist/assets/CompleteProfile-BpX6H4vJ-BMsnQRr0.js +0 -52
- package/dist/assets/CustomerOnboardingContainerPage-C1higvpq-jnleJ9YW.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-BisaE6sH-D9G-Pd3w.js +0 -66
- package/dist/assets/EditPeoplePage-ixJkT03_-CPKwogul.js +0 -55
- package/dist/assets/FeaturePreviewPage-CpBX-Xic-i1vjRSe0.js +0 -11
- package/dist/assets/HelpButton-CzTfBZQj-BDPl7xid.js +0 -28
- package/dist/assets/InsightsSection-C-kpIvRH-DgYlsT5C.js +0 -27
- package/dist/assets/InvitePeoplePage-CPBMZNa--D8pSJrFO.js +0 -12
- package/dist/assets/InvoiceUploadSection-C0WzT0uv-B-3uv6I5.js +0 -140
- package/dist/assets/LabeledAddressValue-B8awEVKI-CVKgfd6H.js +0 -49
- package/dist/assets/LabeledAddressValueField-Dl5yKg2N-C-bThI-t.js +0 -45
- package/dist/assets/MagicLinkTitleSection-tHh2d5Ld-BW-9uqQ_.js +0 -17
- package/dist/assets/NavBarWithPicker-Bzkl4W0x-DJHwrAaG.js +0 -30
- package/dist/assets/NotificationsListConfig-CeeJpJ2p-Bji1yCr-.js +0 -1
- package/dist/assets/PortfolioAllocationFormPage-28Rg5Um0-CPdlBb8e.js +0 -207
- package/dist/assets/ReimbursementPromoPage-DQsLI50f-4sQmccDO.js +0 -112
- package/dist/assets/StatementsPage-BM5Glizw-DZquF5cW.js +0 -58
- package/dist/assets/TransactionVendorDetailPage-RajWBB1I-CDBAFShp.js +0 -80
- package/dist/assets/TransferDrawerPage-D-KFK0BM-D--7B2FN.js +0 -362
- package/dist/assets/TreasuryTransferOrReviewPage-DrNld8H2-MZyJT8Nm.js +0 -506
- package/dist/assets/Vendor2FAPopup-DvWVDx58-BHhhnyb9.js +0 -1
- package/dist/assets/VerifyDevice-XUExnmR9-BOqGq0NP.js +0 -67
- package/dist/assets/ZeniAccountNavBarPieces-5yZFq-zt-BN3FRsNa.js +0 -14
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as xe,
|
|
1
|
+
import{a as xe,eY as fe,j as t,l as T,F as ge,bP as ye,M as je,bR as Se,bS as $e,o as i,h as ke,am as X,m as Z,a3 as ve,T as Ce,dI as we,eO as be,j$ as K,ds as ee,e as l,u as Ee,a0 as Pe,aS as te,c$ as ne,b1 as Re,g as oe,az as De}from"./index-C5chxI3W.js";import{b as r,n as o}from"./vendor-CnQcJ2Lu.js";import{E as Ie,C as Fe,w as Te,f as _e}from"./AccountRow-DTQ6Qoyr-_b2APADd.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.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};
|
|
@@ -7,11 +7,11 @@ import{a as xe,e_ as fe,j as t,l as F,F as ge,bS as ye,M as je,bU as Se,bV as $e
|
|
|
7
7
|
height: 100vh;
|
|
8
8
|
position: relative;
|
|
9
9
|
gap: ${i.sp5};
|
|
10
|
-
`,
|
|
10
|
+
`,Me=o.div`
|
|
11
11
|
display: flex;
|
|
12
12
|
flex: 0 0 auto;
|
|
13
13
|
width: ${i.sp4};
|
|
14
|
-
`,
|
|
14
|
+
`,Ye=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,e_ as fe,j as t,l as F,F as ge,bS as ye,M as je,bU as Se,bV as $e
|
|
|
19
19
|
z-index: 2;
|
|
20
20
|
top: ${i.sp0};
|
|
21
21
|
width: 100%;
|
|
22
|
-
`,
|
|
22
|
+
`,Oe=o(ve)`
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
color: ${e=>e.theme.colors.hero};
|
|
25
25
|
width: ${i.sp4};
|
|
@@ -29,10 +29,10 @@ import{a as xe,e_ as fe,j as t,l as F,F as ge,bS as ye,M as je,bU as Se,bV as $e
|
|
|
29
29
|
color: ${e=>e.theme.colors.primary};
|
|
30
30
|
}
|
|
31
31
|
flex: 0 0 auto;
|
|
32
|
-
`,
|
|
32
|
+
`,Le=o.div`
|
|
33
33
|
padding-left: ${m.containerPaddingLeft};
|
|
34
34
|
padding-right: ${m.containerPaddingRight};
|
|
35
|
-
`,
|
|
35
|
+
`,Be=o.div`
|
|
36
36
|
position: relative;
|
|
37
37
|
min-height: 62px;
|
|
38
38
|
`,We=o.div`
|
|
@@ -47,12 +47,12 @@ import{a as xe,e_ as fe,j as t,l as F,F as ge,bS as ye,M as je,bU as Se,bV as $e
|
|
|
47
47
|
padding-right: ${m.navBarPaddingRight};
|
|
48
48
|
padding-left: ${m.navBarPaddingLeft};
|
|
49
49
|
height: 100%;
|
|
50
|
-
`,
|
|
50
|
+
`,ze=o(ke)`
|
|
51
51
|
display: flex;
|
|
52
52
|
flex: 1 1 0;
|
|
53
53
|
justify-content: center;
|
|
54
54
|
flex-direction: column;
|
|
55
|
-
`,
|
|
55
|
+
`,Ae=o(X)`
|
|
56
56
|
display: flex;
|
|
57
57
|
color: ${e=>e.theme.colors.primary};
|
|
58
58
|
align-items: center;
|
|
@@ -85,38 +85,38 @@ import{a as xe,e_ as fe,j as t,l as F,F as ge,bS as ye,M as je,bU as Se,bV as $e
|
|
|
85
85
|
background-color: ${e=>e.theme.colors.background};
|
|
86
86
|
border-radius: ${i.sp2};
|
|
87
87
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
88
|
-
`,
|
|
88
|
+
`,Ge=o.div`
|
|
89
89
|
display: flex;
|
|
90
90
|
flex-direction: column;
|
|
91
91
|
align-items: flex-start;
|
|
92
92
|
justify-content: center;
|
|
93
93
|
min-width: ${m.balanceContainerWidth}px;
|
|
94
|
-
`,
|
|
94
|
+
`,z=o(Z)`
|
|
95
95
|
display: flex;
|
|
96
96
|
color: ${e=>e.theme.colors.hero};
|
|
97
97
|
align-items: center;
|
|
98
98
|
justify-content: flex-end;
|
|
99
|
-
`,
|
|
99
|
+
`,Je=o(l)`
|
|
100
100
|
color: ${e=>e.theme.colors.primary};
|
|
101
101
|
text-align: left;
|
|
102
|
-
`,
|
|
102
|
+
`,Ke=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
|
+
`,Ve=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
|
+
`,Qe=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
|
+
`,Xe=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,e_ as fe,j as t,l as F,F as ge,bS as ye,M as je,bU as Se,bV 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(X)`
|
|
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,e_ as fe,j as t,l as F,F as ge,bS as ye,M as je,bU as Se,bV 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;
|
|
@@ -198,7 +198,7 @@ import{a as xe,e_ as fe,j as t,l as F,F as ge,bS as ye,M as je,bU as Se,bV as $e
|
|
|
198
198
|
align-items: center;
|
|
199
199
|
justify-content: flex-end;
|
|
200
200
|
gap: ${i.sp1};
|
|
201
|
-
`,
|
|
201
|
+
`,A=o.div`
|
|
202
202
|
display: flex;
|
|
203
203
|
flex-direction: row;
|
|
204
204
|
align-items: center;
|
|
@@ -236,4 +236,4 @@ import{a as xe,e_ as fe,j as t,l as F,F as ge,bS as ye,M as je,bU as Se,bV 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:V,expenseAutomation:{accountRecon:c}}=je.getLocalizedStrings(),ht=(e,n)=>`${e}.${n}`,mt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Tt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:d,openFilePicker:u,filesEndPoint:f,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:_,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:Y}){const x=xe({mode:"all",reValidateMode:"onChange",defaultValues:Q(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:Q(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,O]=r.useState(s.linkToken??null),[a,w]=r.useState(!1),[N,L]=r.useState(!1),[B,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:()=>{B!=null&&(R(B),W(void 0)),H(void 0),L(!1)},onCancelClick:()=>{W(void 0),L(!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:G,ready:J}=fe({token:y,onSuccess:pe,onExit:he});return r.useEffect(()=>{(T.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"&&J&&w(!0)},[J,y,s.fetchStatus.fetchState,s.linkToken,h,a]),r.useEffect(()=>{s.fetchStatus.fetchState==="Completed"&&s.linkToken!=null&&s.linkToken!==y&&O(s.linkToken)},[s.fetchStatus.fetchState,s.linkToken,y]),r.useEffect(()=>{a&&G()},[a,G]),t.jsxs(Ue,{children:[t.jsx(Ye,{children:t.jsx(Be,{children:t.jsxs(We,{children:[t.jsx(Me,{}),t.jsxs(ze,{children:[t.jsx(Ae,{children:e.accountReconEntity.account.accountName}),t.jsx(ie,{children:t.jsx($t,{monthYearPeriod:d})})]}),t.jsx(Ne,{children:t.jsx(Oe,{onClick:$})})]})})}),t.jsxs(Le,{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:_,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:Y,showConfirmationPopup:N,setShowConfirmationPopup:L,deleteFileId:B,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:_,onSelectSourceType:R,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:M,uploadErrorMessage:Y,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"],O=n.accountReconEntity.reconciliationStatus!=null&&y.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(He,{children:[t.jsxs(qe,{children:[t.jsxs(Ge,{children:[t.jsx(z,{children:c.reconciliation.headers.bankBalance}),t.jsx(Je,{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(Ke,{children:[t.jsx(z,{children:c.reconciliation.headers.clearedBalance}),t.jsx(Ve,{children:t.jsx(Te,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(Xe,{children:[t.jsx(z,{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(T.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:O,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:T.uploadAccountStatementIntoDocumentAI,metadataPayload:{accountId:n.accountReconEntity.account.accountId,monthYearPeriod:e},errorMessage:Y,onUploadError:a=>{x(a?.message)},onUploadSuccess:a=>{U(a),h(!1)},onUploadStart:()=>{h(!0),x(void 0)},onUploadWindowOpenedOnce:()=>{M()}},onDeleteFile:a=>{E(a),P(!0)},onEditFileName:(a,w)=>{_(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:K(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:K(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(A,{children:c.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(A,{children:[t.jsx(rt,{}),t.jsx(ut,{children:c.reconciliation.drawer.values.connected})]}):t.jsx(A,{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:$}=_e(u,e,d,!0);return t.jsxs(Qe,{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=T.zeniDate(`${d}-${String(n).padStart(2,"0")}-01`);let f=u.endOf("month");return`${u.format(V.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${f.format(V.visual.DMMMYYYYFormat)}`},Q=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Tt as default,ht as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,M as se,a0 as E,
|
|
1
|
+
import{j as t,M as se,a0 as E,bt as f,o,_ as y,T as re,dI as le,e as $,dJ as de,g,dK as J,c$ as X,cr as ue,a8 as x,v as Z,q as p,X as xe,u as S,af as pe,dq as he,n as ge,K as me,m as I,b5 as fe,d0 as je}from"./index-C5chxI3W.js";import{n as a,b as ye,j as $e}from"./vendor-CnQcJ2Lu.js";const we=a.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
|
|
4
4
|
content: "";
|
|
@@ -20,10 +20,10 @@ import{j as t,M as se,a0 as E,bx as f,o,$ as y,T as re,dL as le,n as $,dM as de,
|
|
|
20
20
|
align-items: center;
|
|
21
21
|
justify-content: center;
|
|
22
22
|
color: ${e=>e.colour.toString()};
|
|
23
|
-
`,
|
|
23
|
+
`,ve=a(ge)`
|
|
24
24
|
text-align: center;
|
|
25
25
|
color: ${e=>e.colour.toString()};
|
|
26
|
-
`,
|
|
26
|
+
`,Ce=a.div`
|
|
27
27
|
svg {
|
|
28
28
|
path {
|
|
29
29
|
stroke-width: 2;
|
|
@@ -38,7 +38,7 @@ import{j as t,M as se,a0 as E,bx as f,o,$ as y,T as re,dL as le,n as $,dM as de,
|
|
|
38
38
|
margin-left: 2px;
|
|
39
39
|
width: 12px;
|
|
40
40
|
height: 12px;
|
|
41
|
-
`;function Te({firstLetter:e,color:n,showIcon:i,showCollapsedIcon:c,showTreeLine:l=!1,className:d}){return t.jsx(we,{showTreeLine:l,collapsed:c,children:t.jsx(be,{colour:n,className:d,children:t.jsx(
|
|
41
|
+
`;function Te({firstLetter:e,color:n,showIcon:i,showCollapsedIcon:c,showTreeLine:l=!1,className:d}){return t.jsx(we,{showTreeLine:l,collapsed:c,children:t.jsx(be,{colour:n,className:d,children:t.jsx(Ce,{children:i===!0?c===!0?t.jsx(ke,{}):t.jsx(Re,{}):t.jsx(ve,{colour:n,className:d,children:e})})})})}const Ee=a.div`
|
|
42
42
|
display: flex;
|
|
43
43
|
flex: 1 1 auto;
|
|
44
44
|
max-height: 1px;
|
|
@@ -84,9 +84,9 @@ import{j as t,M as se,a0 as E,bx as f,o,$ as y,T as re,dL as le,n as $,dM as de,
|
|
|
84
84
|
display: flex;
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
`,Be=a.div`
|
|
88
|
-
height: ${o.sp8};
|
|
89
87
|
`,_e=a.div`
|
|
88
|
+
height: ${o.sp8};
|
|
89
|
+
`,Be=a.div`
|
|
90
90
|
width: 100%;
|
|
91
91
|
height: ${e=>e.heightValue-1}px;
|
|
92
92
|
user-select: none;
|
|
@@ -108,7 +108,7 @@ import{j as t,M as se,a0 as E,bx as f,o,$ as y,T as re,dL as le,n as $,dM as de,
|
|
|
108
108
|
align-items: center;
|
|
109
109
|
gap: ${o.sp1};
|
|
110
110
|
margin-top: ${o.sp1};
|
|
111
|
-
`,
|
|
111
|
+
`,Ae=a($)`
|
|
112
112
|
user-select: none;
|
|
113
113
|
clear: both;
|
|
114
114
|
display: inline-block;
|
|
@@ -119,7 +119,7 @@ import{j as t,M as se,a0 as E,bx as f,o,$ as y,T as re,dL as le,n as $,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
|
+
`,Me=a.div`
|
|
123
123
|
display: flex;
|
|
124
124
|
flex: 1 1 auto;
|
|
125
125
|
justify-content: flex-end;
|
|
@@ -150,12 +150,12 @@ import{j as t,M as se,a0 as E,bx as f,o,$ as y,T as re,dL as le,n as $,dM as de,
|
|
|
150
150
|
min-width: ${u.spacerLineWidth}px;
|
|
151
151
|
width: ${u.spacerLineWidth}px;
|
|
152
152
|
align-items: center;
|
|
153
|
-
`,
|
|
153
|
+
`,qe=a.div`
|
|
154
154
|
width: 1px;
|
|
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,12 +166,12 @@ import{j as t,M as se,a0 as E,bx as f,o,$ as y,T as re,dL as le,n as $,dM as de,
|
|
|
166
166
|
text-align: center;
|
|
167
167
|
gap: ${o.sp2};
|
|
168
168
|
margin-left: ${u.tickLeftMargin}px;
|
|
169
|
-
`,
|
|
169
|
+
`,He=a($)`
|
|
170
170
|
border-radius: ${o.sp1};
|
|
171
171
|
color: ${e=>e.textColor.hex()};
|
|
172
172
|
min-width: ${u.varianceNumberWidth}px;
|
|
173
173
|
text-align: right;
|
|
174
|
-
`,
|
|
174
|
+
`,Ke=a($)`
|
|
175
175
|
border-radius: ${o.sp1};
|
|
176
176
|
padding: ${o.sp0} ${o.sp1};
|
|
177
177
|
justify-content: center;
|
|
@@ -183,18 +183,18 @@ import{j as t,M as se,a0 as E,bx as f,o,$ as y,T as re,dL as le,n as $,dM as de,
|
|
|
183
183
|
display: flex;
|
|
184
184
|
flex-direction: row;
|
|
185
185
|
align-items: center;
|
|
186
|
-
`,
|
|
186
|
+
`,Je=a.div`
|
|
187
187
|
display: flex;
|
|
188
188
|
flex-direction: column;
|
|
189
189
|
align-items: center;
|
|
190
|
-
`,
|
|
190
|
+
`,Xe=a.div`
|
|
191
191
|
display: flex;
|
|
192
192
|
flex-direction: row;
|
|
193
193
|
align-items: center;
|
|
194
194
|
gap: ${o.sp1};
|
|
195
|
-
`,
|
|
195
|
+
`,Ze=a(I)`
|
|
196
196
|
color: ${g.success};
|
|
197
|
-
`,
|
|
197
|
+
`,K=a(I)`
|
|
198
198
|
color: ${g.success};
|
|
199
199
|
`,Ye=a(je)`
|
|
200
200
|
width: ${o.sp3};
|
|
@@ -233,7 +233,7 @@ import{j as t,M as se,a0 as E,bx as f,o,$ as y,T as re,dL as le,n as $,dM as de,
|
|
|
233
233
|
`,ct=a(de)`
|
|
234
234
|
width: ${o.sp3};
|
|
235
235
|
height: ${o.sp3};
|
|
236
|
-
`,
|
|
236
|
+
`,A=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,M as se,a0 as E,bx as f,o,$ as y,T as re,dL as le,n as $,dM as de,
|
|
|
241
241
|
`,w=a.div`
|
|
242
242
|
display: flex;
|
|
243
243
|
gap: ${o.sp1};
|
|
244
|
-
`,
|
|
244
|
+
`,M=a.div`
|
|
245
245
|
display: flex;
|
|
246
246
|
flex-direction: column;
|
|
247
247
|
align-items: center;
|
|
@@ -271,28 +271,28 @@ import{j as t,M as se,a0 as E,bx as f,o,$ as y,T as re,dL as le,n as $,dM as de,
|
|
|
271
271
|
flex-direction: column;
|
|
272
272
|
align-items: center;
|
|
273
273
|
justify-content: center;
|
|
274
|
-
`,rt=a(
|
|
274
|
+
`,rt=a(Z)`
|
|
275
275
|
color: ${e=>e.theme.colors.hero};
|
|
276
|
-
`,lt=a(
|
|
276
|
+
`,lt=a(Z)`
|
|
277
277
|
color: ${g.brandColorPearl};
|
|
278
278
|
`,dt=a.div`
|
|
279
279
|
display: flex;
|
|
280
280
|
flex-direction: row;
|
|
281
281
|
align-items: center;
|
|
282
282
|
justify-content: center;
|
|
283
|
-
`,ut=a(
|
|
283
|
+
`,ut=a(J)`
|
|
284
284
|
width: ${o.sp3};
|
|
285
285
|
height: ${o.sp3};
|
|
286
286
|
margin-top: 2px;
|
|
287
|
-
`,xt=a(
|
|
287
|
+
`,xt=a(J)`
|
|
288
288
|
width: ${o.sp3};
|
|
289
289
|
height: ${o.sp3};
|
|
290
|
-
`,pt=a(
|
|
290
|
+
`,pt=a(X)`
|
|
291
291
|
width: ${o.sp3};
|
|
292
292
|
height: ${o.sp3};
|
|
293
293
|
margin-top: 2px;
|
|
294
|
-
`,ht=a(
|
|
294
|
+
`,ht=a(X)`
|
|
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)},z=()=>{l?.(n.accountReconEntity.account.accountId)},[ce,N]=ye.useState(!1),H=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=H==="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($t,{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(Ue,{children:t.jsx(wt,{clearedBalance:_,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:te,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Qe,{children:t.jsx(ze,{heightValue:e})}),t.jsx(Fe,{onMouseEnter:()=>{N(!0)},onMouseLeave:()=>{N(!1)},children:H==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:z}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:z})})]})]}),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(He,{children:[t.jsx(qe,{textColor:d,className:"any-text-container",children:e==null||c?h:E("0,0",e)}),t.jsx(Je,{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(Ge,{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(Xe,{children:[t.jsxs(Ze,{children:[t.jsx(Ye,{}),t.jsx(Ke,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(J,{children:s.status.QBOUser}):e&&t.jsxs(J,{children:[e.firstName," ",e.lastName]})]})}),$t=({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})})})})},wt=({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(w,{children:t.jsxs(A,{children:[t.jsx(M,{iconColor:n}),t.jsx(O,{children:t.jsx(V,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(F,{children:t.jsx(U,{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(w,{children:[t.jsx(M,{iconColor:i}),t.jsxs(A,{children:[t.jsx(O,{children:t.jsx(V,{textColor:i,children:e})}),t.jsx(F,{children:t.jsx(U,{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(w,{children:t.jsxs(Q,{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(w,{children:t.jsxs(Q,{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(w,{children:t.jsxs(Q,{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(w,{children:[t.jsx(M,{iconColor:c}),t.jsxs(A,{children:[t.jsx(O,{children:t.jsx(V,{textColor:c,children:l})}),t.jsx(F,{children:t.jsx(U,{textColor:c,children:s.status.failed})})]})]})})},D=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx(w,{children:t.jsx(G,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(w,{children:t.jsx(G,{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:v}){const _=xe(),L=S(),C=n.accountReconEntity.account.accountName,j=n.accountReconEntity.balance,B=n.accountReconEntity.clearedBalance,te=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{v?.(n.accountReconEntity.account.accountId)},q=()=>{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 H=e;return i&&(H=e+p[8]),t.jsxs(Pe,{"data-testid":y("total-row-root-container"),heightValue:H,isLastRow:i,windowSize:_,isSelectedRow:c,onClick:()=>{ce!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(Be,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:C.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:C,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Ae,{className:"any-text-container",children:C})})})]}),t.jsxs(Me,{children:[t.jsx(Oe,{children:t.jsx($t,{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(Ue,{children:t.jsx(wt,{clearedBalance:B,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:te,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Qe,{children:t.jsx(qe,{heightValue:e})}),t.jsx(Fe,{onMouseEnter:()=>{N(!0)},onMouseLeave:()=>{N(!1)},children:z==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:q}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:q})})]})]}),t.jsx(Le,{kind:"account_separator",isScrolling:!1}),i?t.jsx(_e,{}):null]})}const mt=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=ft(l,e,i),v=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(He,{textColor:d,className:"any-text-container",children:e==null||c?h:E("0,0",e)}),t.jsx(Ke,{textColor:r,bgColor:m,className:"any-text-container",children:v})]})},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(vt,{});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(Ct,{});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(Ge,{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(K,{children:s.status.QBOUser}):e&&t.jsxs(K,{children:[e.firstName," ",e.lastName]})]})}),$t=({bankBalance:e,bankConnection:n,statementStatus:i,lastUpdatedAt:c,fromDrawer:l=!1,onConnectClicked:d,onReconnectClicked:r,isLoading:m,accountId:v,onStatementAddClicked:_,setIsHovering:L})=>{const C=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",v),onClick:B=>{B.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",v),onMouseEnter:()=>{L(!0)},onMouseLeave:()=>{L(!1)},children:t.jsx(re,{controller:C.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:C,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"&&_?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},wt=({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(w,{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(F,{children:t.jsx(U,{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(w,{children:[t.jsx(A,{iconColor:i}),t.jsxs(M,{children:[t.jsx(O,{children:t.jsx(V,{textColor:i,children:e})}),t.jsx(F,{children:t.jsx(U,{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(w,{children:t.jsxs(Q,{children:[t.jsx(k,{textColor:i,children:s.status.autoReconInProgress}),t.jsx(k,{textColor:i,children:s.status.isInProgress})]})})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx(w,{children:t.jsxs(Q,{children:[t.jsx(k,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(k,{textColor:n,children:s.status.isInProgress})]})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx(w,{children:t.jsxs(Q,{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(w,{children:[t.jsx(A,{iconColor:c}),t.jsxs(M,{children:[t.jsx(O,{children:t.jsx(V,{textColor:c,children:l})}),t.jsx(F,{children:t.jsx(U,{textColor:c,children:s.status.failed})})]})]})})},D=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx(w,{children:t.jsx(G,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(w,{children:t.jsx(G,{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,$t as C,Pt as D,Et as E,Lt as L,Wt as N,ft as f,u,wt as w};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import{M as
|
|
1
|
+
import{M as _,j as o,o as t,ab as D,g as j,Z as ne,f as ae,aQ as ie,aR as se,aS as ce,aT as le,Y as K,k as de,a1 as Y,U as pe,u as Q,w as me,l as ue,_ as L,aa as he,W as ge,a5 as xe,v as J,ac as fe,ak as Ce,e as ye,ap as $e}from"./index-C5chxI3W.js";import{n as r,k as F,j as V,b as O,f as S}from"./vendor-CnQcJ2Lu.js";import{c as ve}from"./SummaryCard-CVO_hW5i-BNIAsEAp.js";import{x as E}from"./NavigationArrow-DOvptaEZ-B1BrtWg6.js";import{k as je}from"./NavigationDots-HukimDRY-BSdcE3Mo.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",T=(e,n)=>{const i=e==="right"?`-${n}%`:`${n}%`;return F`
|
|
2
2
|
0% {
|
|
3
3
|
opacity: 0;
|
|
4
|
-
transform: translateX(${
|
|
4
|
+
transform: translateX(${i});
|
|
5
5
|
}
|
|
6
6
|
100%{
|
|
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
|
|
17
|
+
`,Pe=(e,n)=>{const i=n*100,a=e==="up"?"0%":`-${n*100}%`,s=e==="up"?`-${i}%`:"0%";return F`
|
|
18
18
|
0% {
|
|
19
19
|
transform: translateY(${a});
|
|
20
20
|
}
|
|
21
21
|
100%{
|
|
22
|
-
transform: translateY(${
|
|
22
|
+
transform: translateY(${s});
|
|
23
23
|
}
|
|
24
|
-
`},ze=(e,n)=>{const
|
|
25
|
-
transform: translateY(${
|
|
26
|
-
`},V
|
|
24
|
+
`},ze=(e,n)=>{const i=e==="down"?`-${n*100}%`:"0%";return V`
|
|
25
|
+
transform: translateY(${i});
|
|
26
|
+
`},q=V`
|
|
27
27
|
width: ${t.sp7};
|
|
28
28
|
height: ${t.sp7};
|
|
29
29
|
border-radius: 50%;
|
|
@@ -41,7 +41,7 @@ import{M as F,j as o,o as t,ab as D,g as j,s as ne,v as ae,aQ as se,aR as ie,aS
|
|
|
41
41
|
max-width: 222px;
|
|
42
42
|
white-space: pre-line;
|
|
43
43
|
color: ${e=>e.theme.colors.zeniAccountsPromoDetailTextColor};
|
|
44
|
-
`,
|
|
44
|
+
`,Ie=r.div`
|
|
45
45
|
min-height: 95px;
|
|
46
46
|
display: flex;
|
|
47
47
|
flex-direction: column;
|
|
@@ -51,10 +51,10 @@ import{M as F,j as o,o as t,ab as D,g as j,s as ne,v as ae,aQ as se,aR as ie,aS
|
|
|
51
51
|
`,ee=r.div`
|
|
52
52
|
overflow: hidden;
|
|
53
53
|
display: flex;
|
|
54
|
-
`,w=r(
|
|
54
|
+
`,w=r(ie)`
|
|
55
55
|
${ae.accountsPromoHighlightText.css};
|
|
56
56
|
color: ${e=>e.theme.colors.zeniAccountsPromoCardHighlightText};
|
|
57
|
-
`,
|
|
57
|
+
`,Te=r(ye)`
|
|
58
58
|
color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
59
59
|
`,Be=r(le)`
|
|
60
60
|
color: ${j.brandColorJade};
|
|
@@ -85,14 +85,14 @@ import{M as F,j as o,o as t,ab as D,g as j,s 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: ${T("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
|
+
`,Oe=r.div`
|
|
96
96
|
display: flex;
|
|
97
97
|
align-items: center;
|
|
98
98
|
height: 34px;
|
|
@@ -100,16 +100,16 @@ import{M as F,j as o,o as t,ab as D,g as j,s 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: ${T("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(K)`
|
|
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};
|
|
@@ -123,42 +123,42 @@ import{M as F,j as o,o as t,ab as D,g as j,s as ne,v as ae,aQ as se,aR as ie,aS
|
|
|
123
123
|
`,W=r.div`
|
|
124
124
|
opacity: 0;
|
|
125
125
|
transform: translateX(-50%);
|
|
126
|
-
animation: ${
|
|
126
|
+
animation: ${T("right",50)} normal 0.6s 1
|
|
127
127
|
forwards;
|
|
128
128
|
animation-delay: 1.2s;
|
|
129
|
-
`,
|
|
129
|
+
`,Xe=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
|
+
`,I=r.div`
|
|
138
138
|
margin-right: -${t.sp3};
|
|
139
139
|
opacity: 0;
|
|
140
140
|
transform: translateX(50%);
|
|
141
|
-
animation: ${
|
|
141
|
+
animation: ${T("left",75)} ease-out 0.3s 1
|
|
142
142
|
forwards;
|
|
143
143
|
`,Z=r.img`
|
|
144
|
-
${
|
|
145
|
-
`,Ee=r(
|
|
144
|
+
${q}
|
|
145
|
+
`,Ee=r(I)`
|
|
146
146
|
display: flex;
|
|
147
147
|
justify-content: center;
|
|
148
148
|
align-items: center;
|
|
149
149
|
margin-right: ${t.sp3};
|
|
150
|
-
${
|
|
150
|
+
${q}
|
|
151
151
|
background-color:${j.brandColorGold};
|
|
152
152
|
`,Re=r(ne)`
|
|
153
153
|
color: ${e=>e.theme.colors.brandColorOnyx};
|
|
154
|
-
`,We=r(
|
|
154
|
+
`,We=r(se)`
|
|
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
|
-
`,Ge=(e,n)=>{const{common:
|
|
161
|
+
`,Ge=(e,n)=>{const{common:i}=_.getLocalizedStrings();switch(e){case"keepInterest":case"noHiddenFees":return o.jsx(o.Fragment,{children:n.map((a,s)=>o.jsx(Xe,{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}_${s}`))});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]," ",i.texts.insured]})]}),o.jsxs(Oe,{children:[o.jsx(_e,{children:n[0].values[1]}),o.jsx(R,{isZeniProgressBar:!0,style:{marginTop:"6px"},children:i.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(I,{style:{animationDelay:"0.2s"},children:o.jsx(Z,{src:Ae})}),o.jsx(I,{style:{animationDelay:"0.4s",zIndex:1},children:o.jsx(Z,{src:be})}),o.jsx(I,{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 Ke({zeniAccountsPromoCardContent:e,showConfetti:n}){const[i]=fe("Confetti"),a=Q(),[s,p]=O.useState(!1);O.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&&s&&i!=null?o.jsx(Ce,{loop:!1,play:!0,onComplete:()=>{p(!1)},segments:[100,299],animationData:i,style:{position:"absolute",top:`-${t.sp8}`,left:t.sp0},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null,o.jsxs(Ie,{children:[d!=null?o.jsx(Te,{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{M as F,j as o,o as t,ab as D,g as j,s 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
|
+
`,Je=r(xe)`
|
|
170
170
|
flex-direction: row;
|
|
171
171
|
justify-content: space-between;
|
|
172
172
|
margin: 2px;
|
|
@@ -175,7 +175,7 @@ import{M as F,j as o,o as t,ab as D,g as j,s 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
|
+
`,Ve=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{M as F,j as o,o as t,ab as D,g as j,s 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
|
-
`,
|
|
193
|
+
`,qe=r(J)`
|
|
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(J)`
|
|
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(K)`
|
|
206
206
|
color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
207
|
-
`,P=
|
|
207
|
+
`,P=_.getLocalizedStrings().zeniAccountsPromoCard;function no({analytics:e,cardPosition:n,card:i,data:a,activeCardIndex:s,isZeniAccountsSetUp:p,handleLearnMoreClick:h,handleCardNavigation:d}){const m=Q(),f=me(),[g,x]=S.useState(0),[C,y]=S.useState(0),[B,A]=S.useState("left"),b=(l,$)=>{l.stopPropagation(),A($);const re=$=="left"?s+1:s-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){y(l.targetTouches[0].clientX)}function k(l){return l<0?a.length+l:l%a.length}function te(){g-C>50&&C!==0?(d(k(s+1),"left"),A("left"),x(0),y(0)):g-C<-50&&C!==0&&(d(k(s-1),"right"),A("right"),x(0),y(0))}const H=a.length>1,X=ue.hasZeniAccountsAdminLevelAccess(f.loggedInUserRoleMap);return o.jsx(Qe,{"data-testid":L("dashboard",i.cardType),style:{cursor:"default"},dimension:i.dimension,onTouchStart:l=>H?u(l):null,onTouchMove:l=>H?oe(l):null,onTouchEnd:()=>H?te():null,children:o.jsxs(Je,{children:[o.jsx(U,{children:o.jsx(E,{"data-testid":L("dashboard-navigation-arrow-left",i.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:s,currentIndex:$,which:B,children:o.jsx(Ke,{zeniAccountsPromoCardContent:l,showConfetti:s===2})},l.key)),o.jsx(Ve,{onClick:()=>h(X?p?"Move Money":"Sign Up for Free":"Learn More"),children:o.jsx(qe,{children:X?p?P.button:P.signUp:P.learnMore})}),o.jsx(je,{spendManagementPromoCardActive:!0,numberOfDots:a.length,activeIndex:s,handleClick:M,promoColor:m.colors.zeniAccountsPromoButtonColor,promoColorHover:m.colors.zeniAccountsPromoNavigationDotHoverColor,style:{cursor:"default",position:"absolute",bottom:t.sp5}}),s===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",i.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 io({card:e,data:n,analytics:i,actions:a,isZeniAccountsEnabled:s,columnKey:p,index:h,dndProps:d}){const[m,f]=O.useState(0),g=u=>{f(u)},x=(p+1)*(h+1),C=u=>{i.trackZeniAccountsPromoCardClick(x,u),n.depositAccountId!=null?a.onCardBtnClick?.("zeni_accounts_promo_card",n.depositAccountId):a.onCardBtnClick?.("zeni_accounts_promo_card")},{maxInsuredAmount:y,maxPossibleInterest:B,maxAnnualPercentageYield:A,maxCashBalanceAvailable:b=0}=n;z.headerAnimationData=so(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(y),y,v.currency.currencySymbol).toUpperCase()]}],N.prefix=c.protectCash.prefix.replace(/<amount>/,D(Y(y),y,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:C,isZeniAccountsSetUp:s&&n.depositAccountId!=null,analytics:i,cardPosition:x})})},e.cardIndex)}S.memo(io);function so(e){const n=[],i=D("0,0",Math.floor(e),v.currency.currencySymbol);for(let a=0;a<i.length;a++){const s=i[a],p={direction:"up",stepCount:0,values:[s]};if(s===v.currency.currencySymbol||s===v.strings.comma)n.push(p);else{const h=parseInt(i[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 C=d+x;g.push(C.toString())}m==="down"&&g.reverse(),n.push({direction:m,stepCount:f,values:g})}}return n}export{Ge as G,io as a,so as c};
|