@zeniai/web-cockpit-ui 1.14.24-qa → 1.14.25-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-DZv7I3Jm-YQnMOYp1.js → ACHDetailsPage-Dnaajiit-DPQvVIrY.js} +1 -1
- package/dist/assets/{AIPerformancePage-DCq95N_N-CXDNIqrC.js → AIPerformancePage-Daw-cRXC-BnOl0sSl.js} +24 -24
- package/dist/assets/{AccountInfoPage-wfDS5ToF-Dk38sAxC.js → AccountInfoPage-Dr_EV68J-Dy7B8Ixb.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-dgeBtGlm-D-b-iQe0.js → AccountInfoPageContent-CC5MUG47-DaadDuh7.js} +15 -15
- package/dist/assets/{AccountLockedInfoModal-CqjvVPUE-DQpjXn2Q.js → AccountLockedInfoModal-wwzfemk2-D_gLp3zY.js} +2 -2
- package/dist/assets/{AccountReconDetailsDrawerPage-BJ1TTvni-CcW2jKAi.js → AccountReconDetailsDrawerPage-CxLOKPZL-DXp_tiIi.js} +5 -5
- package/dist/assets/{AccountRow-99zfxKet-C9Nd9F1S.js → AccountRow-CE24vibs-BeG7a0dl.js} +31 -31
- package/dist/assets/{AccountsPromoCardStack-CZwrQBcr-CmN3crLg.js → AccountsPromoCardStack-DIj8Lzw_-D6FaQOg3.js} +25 -25
- package/dist/assets/{AddAddressForCardDrawer-BcOX27nY-CtiOCTsA.js → AddAddressForCardDrawer-DkS25_j--r1d3UvOC.js} +1 -1
- package/dist/assets/{AddToWalletPage-CoW0Ppg4-J2VnTm3x.js → AddToWalletPage-Dea21gHA-Bp4QNxQm.js} +17 -17
- package/dist/assets/{AgingReportsPage-Dgi5oFl4-Ce7bMUR6.js → AgingReportsPage-B0QeJFi3-sZ5UMlim.js} +1 -1
- package/dist/assets/{AllUserItems-6iESftSq-CsmBRymW.js → AllUserItems-B4hCDMjV-gKfLm3-3.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-jEL75hOV-JTEWmEwV.js → ApAgingDetailPage-DaJoS0dH-DfkxWfAu.js} +3 -3
- package/dist/assets/{AppBasePage-CMHbFdBh-Bo2XhsLy.js → AppBasePage-DssduDyW-DFTlQl-q.js} +5 -5
- package/dist/assets/{AppDrawerContent-NAyrnDCL-zWt12xZ6.js → AppDrawerContent-CbbgZnfp-DzI9LWAe.js} +6 -6
- package/dist/assets/{ApprovalRulesSettingsPage-BWraRVsT-sq_E7aI8.js → ApprovalRulesSettingsPage-BXmqQlwD-CWFKCLKr.js} +3 -3
- package/dist/assets/{ArAgingChart-DPrIHwSE-C_2WpeiM.js → ArAgingChart-D6JqUDEG-AFSroOat.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-CdNiD7uR-CME9SOhC.js → ArAgingDetailPage-DsmlwAqB--L9cmpiU.js} +1 -1
- package/dist/assets/{AttachmentView-Cmh726Zl-CgfzBbdX.js → AttachmentView-C1-yT0s8-CT_a09u3.js} +6 -6
- package/dist/assets/{BankAccountSection-jRnEB-Ut-5BYJoDk4.js → BankAccountSection-Cb6aph-a-DuZ4WmNC.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-KznYA-cf-DOVsFGdl.js → BankAccountWarningSection-EhX6uury-BPk65Kcm.js} +18 -18
- package/dist/assets/{BankConnectionsSettingsPage-BXrsOxcg-DTzvfI-B.js → BankConnectionsSettingsPage-CM5grE5E-kW8remzx.js} +9 -9
- package/dist/assets/{BillDetailPage-glKjF2MJ-D3l7IvWg.js → BillDetailPage-BK_uvtAn-1i2teGn-.js} +7 -7
- package/dist/assets/BillPayApprovalRuleDetailPage-9iw179oG-DBwy8M8j.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-jctlpXwj-CmhRHJvR.js → BillPayApprovalRulesPage-CodIhk9Z-BxI29Egp.js} +7 -7
- package/dist/assets/BillPayPromoPage-CmIXJyPx-qo9MiUmN.js +84 -0
- package/dist/assets/{BillPaySetUpPage-UfM6FOqW-DiGKIWDe.js → BillPaySetUpPage-A_oRpNoW-CzrXD8De.js} +1 -1
- package/dist/assets/{BillingSettingsPage-BfMIxeqM-1cKvDtpW.js → BillingSettingsPage-BEDmZgpH-CExdBU0e.js} +5 -5
- package/dist/assets/{BillsBulkReviewDrawerPage-DhoLC2aT-D0k9QhkW.js → BillsBulkReviewDrawerPage-BZhQ9qq5-CCCPnCXA.js} +1 -1
- package/dist/assets/{BoxItem-CIOib-WX-DEJIIppW.js → BoxItem-7efiVHrX-gIWD7SzU.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Czf-y16x-CBCn2hfu.js → BusinessVerificationPage-CGyAMZF_-M7hgZV6x.js} +8 -8
- package/dist/assets/CardNumberSubText-DWvfR19t-DE7est1t.js +21 -0
- package/dist/assets/{CashbackDetailPage-BOTxd8DW-CmEQ1WEw.js → CashbackDetailPage-CtUV5555-CGUzig_d.js} +19 -19
- package/dist/assets/{ChargeCardDetailPage-DbtvRfDc-xzBtT-ID.js → ChargeCardDetailPage-DDh9vz3a-Cnl8i_PL.js} +23 -23
- package/dist/assets/{ChargeCardListPage-Q1zat_TQ-0_0FZfyS.js → ChargeCardListPage-D8cV_Pir-Cr7nCz19.js} +18 -18
- package/dist/assets/{ChargeCardListTable-CKH-EZW4-Cd1KUnIO.js → ChargeCardListTable-DHS1cdle-DAwaOV_c.js} +19 -19
- package/dist/assets/ChargeCardPromoPage-CpOdwFtx-W_T6Yn6m.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-DM15gWD1-WcsJHEqP.js → ChargeCardSetupPage-sV183SET-D5ryWFlf.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-xedf3XEE-DXuw1yy7.js → ChargeCardStatementsPage-C5VALN0g-DYKxahz3.js} +6 -6
- package/dist/assets/ChargeCardUtils-aPC5GoNp-DNIL0uw_.js +1 -0
- package/dist/assets/{ChaseOverlay-IbWtzNzT-DyjXkZNO.js → ChaseOverlay-De4Qu9qP-B6ZR5Jtp.js} +7 -7
- package/dist/assets/CheckDepositDrawerPage-Bf9BNkbA-DtOLd0xX.js +206 -0
- package/dist/assets/{CollapsableReportTable-jOFcWQi9-D9Cn8RFJ.js → CollapsableReportTable-C4NioPjf-CL8A5qpd.js} +109 -109
- package/dist/assets/{CompanyOfficerDetailsSection-DMCZTk1e-CdzOYXTm.js → CompanyOfficerDetailsSection-BjkrtiV9-wJhKxYTD.js} +14 -14
- package/dist/assets/{CompanyPassportCard-BbJLMFqe-CFYXrwOI.js → CompanyPassportCard-CXFn-wF8-DFs13HCt.js} +6 -6
- package/dist/assets/{CompanyPassportPage-BwCMcjB9-EhkSO3MY.js → CompanyPassportPage-BDB3rjFV-q4ymY5oH.js} +9 -9
- package/dist/assets/{CompleteProfile-Dz4laW45-t2WOdgnE.js → CompleteProfile-trSw9pbM-C9tjupH9.js} +1 -1
- package/dist/assets/{ConfettiBurst-B2j3QxzW-C7Hrv_Rv.js → ConfettiBurst-DGVvcZr3-C4LVa8Qf.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-z2chPZUl-Bt138LfS.js → CreateOrEditVendorPage-C9Mf_ICr-Gp1eqMoH.js} +8 -8
- package/dist/assets/{CreditCardPaymentDrawerPage-Z9RiL1h7-9F216iMd.js → CreditCardPaymentDrawerPage-DWLfJzPP-Bux3br_f.js} +21 -21
- package/dist/assets/{CreditCardPaymentPlgSection-Cg-oo7DU-Br5JMnsp.js → CreditCardPaymentPlgSection-BDA8jYAa-Dyv79lbf.js} +13 -13
- package/dist/assets/{CurrencySelectField-CxNprN2u-CL181MHj.js → CurrencySelectField-BwDZkugY-CnGwREoZ.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-diAJ07bX-CsQ5TTri.js → CustomerOnboardingActivationPage-B5MfS1sv-Baeo1JJB.js} +7 -7
- package/dist/assets/CustomerOnboardingContainerPage-udfu9eI--BS2ZxOvL.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton--8DBjaCm-DGUaOh56.js → CustomerOnboardingDetailPageSkeleton-CMo7leFT-AMqD-6Q4.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-Ccq8kI-v-D8yRunsk.js → CustomerOnboardingNoStepsPage-DRJaAZhA-iimuZEwJ.js} +2 -2
- package/dist/assets/{CustomerOnboardingPage-s3GNwP8c-CPXa6rx2.js → CustomerOnboardingPage-BKk_PDqM-D-4x8Jow.js} +3 -3
- package/dist/assets/{CustomerOnboardingProductSuitePage-C-tToXNK-D-oPzPaT.js → CustomerOnboardingProductSuitePage-_Vl2g0gl-10ZLiwPM.js} +7 -7
- package/dist/assets/{Dashboard-BtcnzaY6-p3zeHNmW.js → Dashboard-els5FzHO-Dh7hNslD.js} +1 -1
- package/dist/assets/{DashboardReportPage-C6jLfLtF-B5G4HLsH.js → DashboardReportPage-BkqXGUF0-DT4CcRgQ.js} +27 -27
- package/dist/assets/{DashboardSidebarBackgroundAnimation-s8Nl8CmH-zwQVOM7e.js → DashboardSidebarBackgroundAnimation-yg8GX_hV-CX2KQ6LO.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-Bm63W_1e-DVqMxFEK.js → DepositAccTransactionItem-CjHyYNYu-RBBjBoNW.js} +3 -3
- package/dist/assets/DepositAccTransactionListPage-B1rERpKn-DzZA-c5-.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-DX0BA5i3-amEgmkhH.js → DomesticWireDetailsPage-CoKdnOHK-BHUXWz4M.js} +1 -1
- package/dist/assets/{DownloadOverlay-BcH72YTL-B62Er70B.js → DownloadOverlay-F_OSkI0t-BVAyHat1.js} +6 -6
- package/dist/assets/{DrawerPage-CzHhh0IP-Be7m4gY2.js → DrawerPage-CKRgC8zD-D0TMwLtR.js} +10 -10
- package/dist/assets/{EditPeoplePage-Z5btEDax-BebZCzVz.js → EditPeoplePage-CbHzmCDq-DfkIM-kP.js} +5 -5
- package/dist/assets/{EditReimbursementDetailPage-D_FsqRgU-BhAW7PtZ.js → EditReimbursementDetailPage-ChXC9rfg-5j-r9uid.js} +17 -17
- package/dist/assets/{EntityDetailPage-Bc4YVpPC-D4GtCT9-.js → EntityDetailPage-427PoMHb-DugrODtd.js} +3 -3
- package/dist/assets/{EntitySummarySection-Ba6AWxNi-L5EN9bhV.js → EntitySummarySection-bVBpyGBB-B2MApz9k.js} +9 -9
- package/dist/assets/ExpenseAutomationOverviewPage-DuVNFnJ1-DKgdA2WQ.js +222 -0
- package/dist/assets/{ExpenseAutomationPage-EjI20a6v-D5pEVPH_.js → ExpenseAutomationPage-Btw1vMsR-CWjy7SIj.js} +1 -1
- package/dist/assets/{ExpressPayPage-562vstqT-CCL9eF19.js → ExpressPayPage-dxAJ34CZ-CQbAjueg.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-eUvRNjsx-B0l2W-9A.js → FeaturePreviewPage-DV9L7b41-XD4D9byb.js} +1 -1
- package/dist/assets/{FollowStepsSection-D60JM8h_-CckSxC9O.js → FollowStepsSection-DrwqT5qI-DLguenxm.js} +11 -11
- package/dist/assets/{GlobalReviewListPage-BpXEtrb4-DQ6Mw89s.js → GlobalReviewListPage-B8GTsN3z-DEt1AOjp.js} +7 -7
- package/dist/assets/{HelpButton-hflpTkYP-BPMkeu0J.js → HelpButton-BdkhmROe-Bd84gRvW.js} +4 -4
- package/dist/assets/{InformationCardStack-BsxmscQq-BVYoOHQR.js → InformationCardStack-B4kayaXA-jbXyNSEh.js} +4 -4
- package/dist/assets/{InsightsCardStack-5JDl2mCA-D8idgd3z.js → InsightsCardStack-CtGUwH8B-C93opeZu.js} +9 -9
- package/dist/assets/InsightsSection-DLeJHy_5-CQC3yXku.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-MQDeidS6-j6Ew3-s2.js → IntegrationsSettingsPage-V5CRVTE7-CujfgQ2i.js} +5 -5
- package/dist/assets/{InternationalWireSwiftDetailsPage-CpT4WPn3-emHrkTKE.js → InternationalWireSwiftDetailsPage-YScZkZ3T-B4isfB0V.js} +14 -14
- package/dist/assets/{InternationalWireVerificationPage-DlBFLwxy-laRMBnc9.js → InternationalWireVerificationPage-CU7nDSLB-57YsQsYb.js} +7 -7
- package/dist/assets/{InviteFormPage-D0QCEMkX-BO-lOazV.js → InviteFormPage-CuKrTHPL-D0pCRRCl.js} +17 -17
- package/dist/assets/{InvitePageListView-CVf8HrhY-mqZvxSGz.js → InvitePageListView-UnErwZjA-B6fQ6u5F.js} +24 -24
- package/dist/assets/{InvitePeoplePage-Dg7iuq2i-vvepYHu_.js → InvitePeoplePage-2Wt38URi-BnjdFSAB.js} +2 -2
- package/dist/assets/{InvoiceUploadSection-BuwWumE2-COAgE2f8.js → InvoiceUploadSection-DBeEv7pl-D7U5cZZb.js} +6 -6
- package/dist/assets/{IssueChargeCardPage-DL23WAiQ-BGDsNpha.js → IssueChargeCardPage-CtOVKu2u-BaMeYx1Q.js} +9 -9
- package/dist/assets/{LabeledAddressValue-CnL_9Mgq-CVpIDtQa.js → LabeledAddressValue-fMxbPIcj-L294sEHK.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-DLou-2Lm-hN3Yi48B.js → LabeledAddressValueField-DlUmtYXY-Cs_gnXQQ.js} +2 -2
- package/dist/assets/{LabeledControlledCheckBoxField-DqrqiFhz-Bu5rppjm.js → LabeledControlledCheckBoxField-zGMeMXy8-CgAXI_Cv.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CxnC4AFe-D-JkO1RP.js → LabeledCreatableSingleSelectField-B2tnkBes-WTYRlYy4.js} +2 -2
- package/dist/assets/LabeledDocumentField-DIZb6TGh-BGGslw6p.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-BF37XlAJ-BaQcEb_i.js → LabeledDropDownFormattedTextField-g9EUyLAN-C6fgQW4J.js} +5 -5
- package/dist/assets/{LabeledText-D4fC1Hz2-VzfyK_lh.js → LabeledText-DpHcCRTu-D7mPb_6F.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DMxSLbjX-CJztlZ6l.js → LabeledUserSingleSelectWithSubtitlesField-CxqD4p8b-D40nlXRv.js} +10 -10
- package/dist/assets/{LabeledZeniRolesDropDownField-CTA3JLz4-BjYewmih.js → LabeledZeniRolesDropDownField-CCEWFs00-DoEA7vPs.js} +5 -5
- package/dist/assets/{LinkJETransactionPage-CLAyFAJh-BRCeFYVj.js → LinkJETransactionPage-CHRrLxA5-DUc0uYck.js} +8 -8
- package/dist/assets/{LowBalancePopup-TCSP5zrD-C-mSPg9_.js → LowBalancePopup-Ciah5OLh-BrGyf1Jf.js} +2 -2
- package/dist/assets/{MagicLinkACHDetailsPage-C9sNEDPT-LvQ8f8NK.js → MagicLinkACHDetailsPage-DS3oJgLQ-V288YZUD.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-D4C-a5QY-BaQEjwuD.js → MagicLinkDomesticWireDetailsPage-DKtf0MEV-Kf5NpYu0.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-oKAXWkRz-C3YaWr8p.js → MagicLinkInternationalWireDetailsPage-CyrBo1eH-BQjhU1d6.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-DTKe1Hxk-C9A401Wb.js → MagicLinkSuccessPage-Clyl0DAk-CRKqo-oj.js} +1 -1
- package/dist/assets/MagicLinkTitleSection-BVmJnjIM-CauR-pM0.js +17 -0
- package/dist/assets/{MailingDetailsSection-DOuPh_kK-BSVwPRCr.js → MailingDetailsSection-Gr8nHYJX-Bb0nQJ4z.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-Bn5picNg-BBLVilIj.js → MeetingCalenderPopup-Z8cw7xGj-CwGNacrF.js} +1 -1
- package/dist/assets/{Menu-D_vf2LDo-BFcfUwqs.js → Menu-DdtklnLU-BpofGVyT.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-DJZVD_j4-4y7IMDFB.js → MyBankConnectionsSettingsPage-6XMaaONC-CvUmwJnE.js} +14 -14
- package/dist/assets/{MyPendingActivationChargeCardListPage-DyhXBMCi-D4oC_o0x.js → MyPendingActivationChargeCardListPage-CycEPGif-BJj28ies.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-gPNoKP10-DiBey7CP.js → MyProfileSettingsPage-FPXg5BVk-DGPfsKal.js} +7 -7
- package/dist/assets/{NavBarWithPicker-BlYfbDi0-BnGgNUZt.js → NavBarWithPicker-C1RdmaCB-C8vggXa3.js} +3 -3
- package/dist/assets/{NavigationArrow-CQ_K0Bon-CawXlbrW.js → NavigationArrow-BddVpdpR-DbkdAJbG.js} +1 -1
- package/dist/assets/{NavigationDots-CI0cjpQA-DLC_4Z2x.js → NavigationDots-XsH5foe--BOOtSigy.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BHQiRWO8-CkuCSAal.js → NewGlobalMerchantPage-BDl4sMXs-CBuZEijk.js} +4 -4
- package/dist/assets/{NoDataChart-Dg1_sU_O-BSOy8Xqm.js → NoDataChart-DWgj32LB-BPsCyU00.js} +3 -3
- package/dist/assets/{NoDataTable-qTYBbL2H-DM9qxqvN.js → NoDataTable-CLJr9bOe-BrdyVD6V.js} +1 -1
- package/dist/assets/{NotFoundPage-DYjrSF7l-CQN0tUCx.js → NotFoundPage-UJYxc5Cc-D4p8kfwg.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-DZHlnrbH-QzcGE4E_.js → NotificationSettingsPage-CrHnNMcu-Bg6vV-Qh.js} +11 -11
- package/dist/assets/NotificationsListConfig-BvqX-YNT-C3lBLq2n.js +1 -0
- package/dist/assets/{NotificationsPage-QgnztPHs-Dl0evqI4.js → NotificationsPage-z6CyuWlj-BwW1gi3t.js} +21 -21
- package/dist/assets/{OpExByVendorPage-_AMvFFwS-BI72ljun.js → OpExByVendorPage-imk8yOJ3-TtSwFlGK.js} +6 -6
- package/dist/assets/{OverlayContainerPage-Bmu909Fo-DEiBNUrj.js → OverlayContainerPage-Bmu909Fo-BZWOYlah.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-D_3EfFjd-B-t4XzLD.js → PandLWithForecastPage-DDS9ThKq-Df5zmkm_.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Ch5yJBuG-DHGF0FaM.js → PaymentAccountSetupBillingAddressSection-Dtd3PnbX-DSXMtbLs.js} +8 -8
- package/dist/assets/{PeoplePage-DZr3Lusf-hEmQAyog.js → PeoplePage-x1LDFwDQ-Zd_bqkIV.js} +19 -19
- package/dist/assets/{PortfolioAllocationFormPage-Byu_8Js7-DS7y6gw-.js → PortfolioAllocationFormPage-hSjTvk25-ZQESLZ6G.js} +6 -6
- package/dist/assets/{PortfolioDetails-BH-sfG9j-DxGBZzz0.js → PortfolioDetails-B1dQC_Xa-ByVcQSW7.js} +5 -5
- package/dist/assets/{ProductsCarousel-C4J19mb--CD1XfI-1.js → ProductsCarousel-D9cvenZp-BWJI4cxP.js} +5 -5
- package/dist/assets/{PromoBaseCards-Bj4SLu8_-BIrkv3Tm.js → PromoBaseCards-nzemBKyd-CNE70VVz.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-Bx6ZDEvY-BMKA6Yj_.js → QBOConnectionDialog-Cdh8vSaY-COlqnmsO.js} +7 -7
- package/dist/assets/{QBOSetupSection-BCdoUjwK-DBDhCM3w.js → QBOSetupSection-BWcvYjNb-nke4kL0N.js} +14 -14
- package/dist/assets/ReimbursementApprovalRuleDetailPage-C_oUUTHb-Cq_kOO5b.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-CJLcH9Ov-Cig3L3Bd.js → ReimbursementApprovalRulesPage-CMmYiBA--CrdMeZfY.js} +33 -33
- package/dist/assets/{ReimbursementDetailPage-Ctgt3Dcz-f6KrZU7c.js → ReimbursementDetailPage-DHuJHhx2-BOxHjSFr.js} +10 -10
- package/dist/assets/{ReimbursementPromoPage-DCmevd5G-wQNAiqBv.js → ReimbursementPromoPage-DyMGQ-p6-BrIO-u3b.js} +7 -7
- package/dist/assets/{ReimbursementSetUpPage-Dc9xJUbM-BR8GmF7i.js → ReimbursementSetUpPage-h61-hzK3-BiumEfPp.js} +2 -2
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CKjHGxjw-CDUlYRNg.js → ReimbursementsBulkReviewDrawerPage-Dwx-V4Bz-DvuE1U30.js} +1 -1
- package/dist/assets/{ReloadCard-DxJMY9If-nW7iK9Fy.js → ReloadCard-DHExBNFX-DM0aXM9S.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-lMBROmrI-N5GobH7z.js → ReportTableViewSelector-I-E8djHt-8CU2obFL.js} +8 -8
- package/dist/assets/{ReportsPage-DMYLnwc7-DCYlz8or.js → ReportsPage-BME0CMeV-Bmq0qbx4.js} +5 -5
- package/dist/assets/{RevenueChart-DD8vb3zi-C_UY7ZQL.js → RevenueChart-0Wc-f_WH-DcVxD5xk.js} +15 -15
- package/dist/assets/{ReviewDetailsPage-C-6hNb3q-KrkMkA8R.js → ReviewDetailsPage-BmGAqycE-in95VKyl.js} +15 -15
- package/dist/assets/{ReviewOverlay-sqbjCjkE-snBZ7y9m.js → ReviewOverlay-NgbFy65i-DibK2Nxh.js} +7 -7
- package/dist/assets/{RoleWithToolTip-BpMhPbAJ-DWdyATom.js → RoleWithToolTip-EJik-IDk-BzPBZfqT.js} +5 -5
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-D1uRcS4p-DVQ50rIP.js → ScheduleDetailsFixedAssetsPage-D3gHdT8C-BJd1IKXv.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-D8Cvxd7m-BnOiYhbP.js → ScheduleDetailsPage-OwtRLzyh-DW6B52KA.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-CvqXlh31-CwVMjXUG.js → ScheduleSequenceTable-TPeNlVLG-ChBzLHB_.js} +50 -50
- package/dist/assets/{ScreenRoutes-CI0AzXAT.js → ScreenRoutes-DzY9NZif.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CDXmRiGQ-HkusFLSS.js → SetUpAccountSection-Cs6puvUd-Dhlo8Ufa.js} +16 -16
- package/dist/assets/{SetUpDefaultSection-VPie4JZS-4qiMaYlL.js → SetUpDefaultSection-B3K4uwNR-B18eEgx5.js} +4 -4
- package/dist/assets/{SignIn-9DfCxy9Q-D4JpW9pe.js → SignIn-waypOYzb-C46Nnd60.js} +7 -7
- package/dist/assets/{SignInScreen-BbLwe7Jj.js → SignInScreen-CYIRNr4n.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-Q5bQb3hk-DfgpHKj_.js → SpendManagementListViewPage-DSgh7ish-BAVvhcJ2.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-CD-kDdxa-Dy7S4NDC.js → SpendManagementPerTabPage-DFR_RubK-CDWi9rmQ.js} +14 -14
- package/dist/assets/{SpendManagementSection-DGGOMGEz-pjZ87EhJ.js → SpendManagementSection-OISpkX-z-BJ53j2-y.js} +10 -10
- package/dist/assets/{SpendMgmtSetupAccountSection-CjqaRCUW-CRO2vJ11.js → SpendMgmtSetupAccountSection-jAvWpgvm-CJIvPJ3w.js} +12 -12
- package/dist/assets/{StatementItem-1vBLASxl-DdTLs-OC.js → StatementItem-GW12r1Iw-CJvbUqer.js} +5 -5
- package/dist/assets/StatementsPage-C7fma8fv-M1h2v7ej.js +58 -0
- package/dist/assets/{StatusSwitcher-efLzDuyw-xo5uppxy.js → StatusSwitcher-DFTN_Xis-BPYWMG2w.js} +7 -7
- package/dist/assets/{SubTabSwitcher-BfYlJKJ6-B-F59cPN.js → SubTabSwitcher-BZxGbsNY-DslvQO7v.js} +7 -7
- package/dist/assets/{SummaryCard-BsPejHZG-Brt0nr39.js → SummaryCard-BNLe-1HR-C_RfG6jc.js} +1 -1
- package/dist/assets/{TaskManagementPage-CkdITpbn-CxUxcnHV.js → TaskManagementPage-9ZENc76E-CE4s9qMu.js} +11 -11
- package/dist/assets/{TimeRangeSwitcher-DVB0vP5W-WYEIuuWg.js → TimeRangeSwitcher-Ccz3adIk-CsyW9hcg.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-BmhH741X-DEVymh4n.js → TimeframeSwitcher-kDwlck-n-DwbTkb9h.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-DGsAhHA2-B5P9Cxhq.js +31 -0
- package/dist/assets/{TopExCard-DBuo1QUF-DOV-VWcR.js → TopExCard-D_qKivD5-DDImpDJG.js} +7 -7
- package/dist/assets/{TopExDetailPage-CGPgaWRb-BdIi4GHq.js → TopExDetailPage-Diptq28B-D5TEFrQN.js} +7 -7
- package/dist/assets/TransactionDetailPage-6PT_A8cy-BA99-Eyl.js +912 -0
- package/dist/assets/{TransactionList-DP9cEVya-BXcbKAlV.js → TransactionList-B5HwjwQ_-CXKBG0MM.js} +10 -10
- package/dist/assets/{TransactionListBig-B_s15U1P-B6nmm19w.js → TransactionListBig-DIJl_L0P-B6wBk0g5.js} +16 -16
- package/dist/assets/{TransactionListPage-DpYLFl8A-CG4bgQSq.js → TransactionListPage-CLY5ad85-BnXLO91d.js} +4 -4
- package/dist/assets/{TransactionVendorDetailPage-DqqSV533-ClW_Ym1b.js → TransactionVendorDetailPage-Bm1jseAb-SlaBV7lN.js} +4 -4
- package/dist/assets/{TransferDrawerPage-CxdQzo0m-DJdXjena.js → TransferDrawerPage-C376Jj1t-CTODsEty.js} +31 -31
- package/dist/assets/{TreasuryOverviewPage-D7vqj60i-DqlHCc2-.js → TreasuryOverviewPage-9i9ft-2g-DXeo8ZrJ.js} +21 -21
- package/dist/assets/{TreasuryPromoPage-BuxEHMpT-CoWfKW9J.js → TreasuryPromoPage-CKUSAyi9-CWpKX4Ov.js} +10 -10
- package/dist/assets/{TreasurySetupPage-BIfbbeL3-D1Mjek99.js → TreasurySetupPage-Cor8zLR3-CBLdmPc2.js} +5 -5
- package/dist/assets/{TreasuryStatementsPage-BeUdQZBc-Byh46stc.js → TreasuryStatementsPage-CteWlPmm-gyjWv12T.js} +3 -3
- package/dist/assets/{TreasuryTaxLetterPage-uFRMjqLn-DqSDq6k1.js → TreasuryTaxLetterPage-CBeQAQFE-BUwspbw-.js} +3 -3
- package/dist/assets/{TreasuryTransferOrReviewPage-BWybwqhc-C3uU9hVX.js → TreasuryTransferOrReviewPage-CgochQAe-bc5ZSOJG.js} +37 -37
- package/dist/assets/{TrendChart-7kPgcETh-BaCfzFDE.js → TrendChart-BNjNpGGV-DeJ54QC4.js} +3 -3
- package/dist/assets/{TrendWithTransactions-DPby1I5u-DuRZBcAW.js → TrendWithTransactions-DLq6FRIX-CmF8BV30.js} +5 -5
- package/dist/assets/{UncategorizedAccountsMappingPage-DEkSWWRY-Dv2mcgjG.js → UncategorizedAccountsMappingPage-CfRZdUo4-D3rE1qoU.js} +8 -8
- package/dist/assets/{UnitIntegrationPage-B5yzIJDg-CjDfkeUr.js → UnitIntegrationPage-DmWneokh-DK7To6Ke.js} +3 -3
- package/dist/assets/{UploadAdditionalDocumentOverlay-Deu0hM2I-DMqRpRdl.js → UploadAdditionalDocumentOverlay-Ck3jSIy3-B5jtbgfv.js} +8 -8
- package/dist/assets/{Vendor2FAPopup-DUyiI_-r-5dHx30Bc.js → Vendor2FAPopup-CpVKMC-V-DzVTm8mc.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-DycUU3MN-mmDLeV3K.js → VendorACHDetailsPage-CGZq9rHs-Cb3Eg4e2.js} +1 -1
- package/dist/assets/{VendorDetailPage-B9pWIvXP-BYqLZBRP.js → VendorDetailPage-DjbJdkG0-BD_TM_IR.js} +17 -17
- package/dist/assets/{VendorDomesticWireDetailsPage-Cs35uQOp-Cg9TxdaS.js → VendorDomesticWireDetailsPage-D-m_AY6V-DSr1i1UN.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-BeuSWFCY-FB3D0rN0.js → VendorFiling1099EditablePage-BBQUHvZF-CQkAcjv9.js} +6 -6
- package/dist/assets/{VendorFirstReviewPage-ANhBsl69-DvP6Pv5V.js → VendorFirstReviewPage-BKiSfhh5-D6n53p2q.js} +12 -12
- package/dist/assets/{VendorInternationalWireDetailsPage-BShiEKaz-DZwsuWAH.js → VendorInternationalWireDetailsPage-CbiTxo4--51iz2iZc.js} +8 -8
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-B_NlK1ak-fUcmsjpu.js → VendorInternationalWireSwiftDetailsPage-gRVzJ9zM-BqqvVE2d.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-BclWgEaB-Dx-ETZud.js → VendorsAccountsSection-BvY35sKD-PIKLHY63.js} +2 -2
- package/dist/assets/{VerifyDevice-CRrOo66b-Bqzt75Zy.js → VerifyDevice-DvG46tbP-C_qTlqhh.js} +4 -4
- package/dist/assets/{VideoPopup-qS-ig_U0-CFnqbh5J.js → VideoPopup-BTi1tNaK-DDZF4fDp.js} +3 -3
- package/dist/assets/{WarningsDrawerPage-DgRtxLoa-BtAoBPQW.js → WarningsDrawerPage-CrY3Lv_X-CyET4uGb.js} +21 -21
- package/dist/assets/{ZeniAccountDetailPage-B66nIr0V-D0Vvqj6R.js → ZeniAccountDetailPage-D0Sp-9r0-BxhU3RD9.js} +24 -24
- package/dist/assets/{ZeniAccountListViewPage-CWhZKmoP-UtAi1p2f.js → ZeniAccountListViewPage-DE2S97vd-Cci7TkWe.js} +12 -12
- package/dist/assets/ZeniAccountNavBarPieces-D3E4bGUf-v477yzXX.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-C-oF3-HO-Dhnar7Lt.js → ZeniAccountPromoPage-qk4MGE20-D8g-1o6A.js} +21 -21
- package/dist/assets/{ZeniAccountSetupPage-DY-nCuiT-gbHJrTbG.js → ZeniAccountSetupPage-BvCOc6V4-SXAof7Nr.js} +3 -3
- package/dist/assets/{ZeniCopyright-rY1T9xhh-DuSeCVwe.js → ZeniCopyright-DZEJD4DK-DFCIndJ-.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-CGrjDEO_-DqBN-dZT.js +63 -0
- package/dist/assets/{analyticsHelper-DUPAuOy2.js → analyticsHelper-BxXohuM3.js} +1 -1
- package/dist/assets/{analyticsHelper-BcJgRhqY-CuYHNkab.js → analyticsHelper-C4OJsqY1-DEUl6kM9.js} +1 -1
- package/dist/assets/{chartTypes-BoblEsVF-XjODWukX.js → chartTypes-4WPzsIf3-TZwbMJ8c.js} +1 -1
- package/dist/assets/{commonDimensions-CFd7y7qU-DRU-Xx_W.js → commonDimensions-Btr3Ruk2--EjhN8RD.js} +1 -1
- package/dist/assets/{detailCommon-MYixZ3RD-BU_WVLw2.js → detailCommon-BffITRe2-DyxxqlhA.js} +5 -5
- package/dist/assets/{downloadPdf-CgupyHRa-23YMr18r.js → downloadPdf-EaFUuw1_-CTrXJ5wG.js} +1 -1
- package/dist/assets/{index-Dg4A8nvL.js → index-B9FgmOrh.js} +1347 -1347
- package/dist/assets/{mapLoadingInProgressToTreeNode-B8Y_euQR-Lurb19iR.js → mapLoadingInProgressToTreeNode-Nh09VvTY-7rzf-GR1.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-jBSc45Na-BxkTVZ8G.js → mapSectionWithAcOnlyToTreeNode-CqrS4-sA--1xO43Gq.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-COy8gZAM-COWpkVf-.js → mapSpacerToTreeNode-BVsiguz2-Dg8tyVW2.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BodkMcFj-B7W1kIkp.js → mapTimeframeBalancesToTreeNode-C6LIzL1r-CL44LvLk.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DXla81BF-Cx9i4sqP.js → mapTimeframeBalancesToTreeNode-CHMw_ZJj-Bp4XrEqv.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-XVJ2Hm74-DfeVdWNH.js → mapTimeframeHeaderLoadingInProgressToTreeNode-vhz8vVqo-Bzd7AJ3d.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-CndsNNsv-CKK4tSuL.js → toCOABalancesWithID-vlVs7Gn4-ccOvypAU.js} +1 -1
- package/dist/assets/{toChartData-B9eYLI57-CNEoJSOd.js → toChartData-nXazR01S-D88QfXJq.js} +1 -1
- package/dist/assets/{treasuryColorHelper-D4iDeX95-D0czat0Y.js → treasuryColorHelper-DqciQwbz-CiEpGb56.js} +1 -1
- package/dist/assets/{uploadAttachment-C2I6mBBB-BB5ap_aT.js → uploadAttachment-BQCLr45m-C_KMpfLC.js} +9 -9
- package/dist/assets/{uploadReceipts-dxsKhm9I-f6XSvbix.js → uploadReceipts-dxsKhm9I-kOCmsgfk.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/BillPayApprovalRuleDetailPage-DyH2jp6G-DBnZXx-2.js +0 -27
- package/dist/assets/BillPayPromoPage-DGyWwW1t-BAGJEnpn.js +0 -84
- package/dist/assets/CardNumberSubText-B8CivrXd-Bv0oLYl_.js +0 -21
- package/dist/assets/ChargeCardPromoPage-BRkny-dl-D9_i54WA.js +0 -222
- package/dist/assets/ChargeCardUtils-D4KmVUMt-CZbHQ6K3.js +0 -1
- package/dist/assets/CheckDepositDrawerPage-BCIvt4pQ-Ds9p--_E.js +0 -206
- package/dist/assets/CustomerOnboardingContainerPage-BZzvupuA-KOUquQmH.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-D4QcTw4n-8VgPk6Ib.js +0 -66
- package/dist/assets/ExpenseAutomationOverviewPage-Cg0sM_PI-94AIzN51.js +0 -222
- package/dist/assets/InsightsSection-DsO5tfQL-BFXwjc-s.js +0 -27
- package/dist/assets/LabeledDocumentField-By7zV2VD-DNFqIRCg.js +0 -41
- package/dist/assets/MagicLinkTitleSection-BZ9PbTY5-CljXn46a.js +0 -17
- package/dist/assets/NotificationsListConfig-BSBZHM3y--H3hUPl8.js +0 -1
- package/dist/assets/ReimbursementApprovalRuleDetailPage-DsTMXav9-CvbEeovQ.js +0 -26
- package/dist/assets/StatementsPage-cCluGN33-BaiT4gPd.js +0 -58
- package/dist/assets/TimeframeSwitcherWithToggle-B1bMIGal-BfV_webc.js +0 -31
- package/dist/assets/TransactionDetailPage-BUP-dxVE-BaqindUV.js +0 -912
- package/dist/assets/ZeniAccountNavBarPieces-C6MQhfnU-DOLMr0pF.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-Bh5zkWst-BY8RrzMr.js +0 -63
package/dist/assets/{ACHDetailsPage-DZv7I3Jm-YQnMOYp1.js → ACHDetailsPage-Dnaajiit-DPQvVIrY.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as I,a as W,
|
|
1
|
+
import{e as I,a as W,B as A,ca as F,j as n,bV as H,bX as V,bY as q,F as O,a4 as U,C as s,eU as X,am as Y,o as _,q as t}from"./index-B9FgmOrh.js";import{b as x,n as d}from"./vendor-rkTZJa59.js";import{W as G,A as J}from"./BankAccountWarningSection-EhX6uury-BPk65Kcm.js";import{M as K}from"./MagicLinkTitleSection-BVmJnjIM-CauR-pM0.js";import{e as Q}from"./BankAccountSection-Cb6aph-a-DuZ4WmNC.js";const a={paddingTopBottomContainer:new s(t[3],t[3]),paddingLeftContainer:new s(t[3],t[6]),paddingRightContainer:new s(t[3],t[8]),sectionTitleMarginLeft:new s(t[4],t[6]),sectionTitleMarginTop:new s(12,t[3]),buttonWidth:new s(140,140)},B="achDetailsPage",b="bankAccountSection",S=e=>`${e}_form`,de=({bankAccountCreationState:e,bankAccountToCreate:g,fetchBankNameByRoutingStatus:k,isDisabled:C,style:j,onSaveHandler:N,onBackClick:f,onACHDetailsUpdated:T,onFetchBankName:v,isMagicLink:u,companyName:w,currencySymbol:P,amount:$,bankAccountContext:z})=>{const r=I(),i=W({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Z(g),[g])}),[D,m]=x.useState(!1),c=A.getLocalizedStrings().spendManagement.billPay.vendorCreation,L=A.getLocalizedStrings().common.footer,{achDetails:y,bankAccountCommon:h}=c,R={onOkClick:()=>{m(!1),i.reset(),f?.()},onCancelClick:()=>{m(!1)}},M=async(p,l)=>{const o=l[b].bankRoutingNumber;T(l),p===`${b}.bankRoutingNumber`&&o?.length===9&&X.test(o)===!0&&v?.(o)};x.useEffect(()=>{const p=i.watch((l,{name:o})=>{o!=null&&l!=null&&F(()=>M(o,l))});return()=>{p.unsubscribe()}});const E=i.handleSubmit(p=>{k.fetchState!=="In-Progress"&&N("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:j,size:r,children:[D===!0?n.jsx(H,{titleComponent:n.jsx(q,{children:c.discardTitle}),descriptionComponent:n.jsx(V,{children:c.discardDescription}),primaryButtonText:c.discard,secondaryButtonText:c.cancel,action:R}):null,n.jsx(G,{header:u?n.jsx(K,{companyName:w??"",currencySymbol:P??"",amount:$??0}):y.addACHDetails,isMagicLink:u,isDirty:i.formState.isDirty,onBackClick:f,setShowConfirmationPopup:m}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(J,{warningText:h.accountExistWarning}):null,z==="express-pay"?null:n.jsx(ae,{size:r,children:y.title}),n.jsx(ie,{children:n.jsx(O,{...i,children:n.jsx("form",{id:S(B),onSubmit:E,children:n.jsx(ee,{size:r,children:n.jsx(Q,{bankAccountToCreate:g,fetchBankNameByRoutingStatus:k,sectionId:b,isDisabled:C})})})})})]}),n.jsx(U,{formId:S(B),primaryBtn:{label:u?h.submitDetails:h.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:C!=null},showCancel:!u,cancelBtn:{label:L.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?m(!0):(i.reset(),f?.())}}})]})},Z=e=>({[b]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=d.div`
|
|
2
2
|
padding-left: ${e=>a.paddingLeftContainer.valuePx(e.size)};
|
|
3
3
|
padding-right: ${e=>a.paddingRightContainer.valuePx(e.size)};
|
|
4
4
|
padding-top: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{C as u,x as w1,e as M,
|
|
1
|
+
import{C as u,x as w1,e as M,B as y,l as k,bJ as M1,j as r,$ as j1,bB as y1,o,jn as H,v as _,bQ as $1,q as n,bh as L,dr as d1,g as d,z as v1,aj as c1,at as h1,aw as p1,av as G,u as m1,b8 as S1,b9 as b1,au as Q,jo as f,w as g,jp as B1,jq as Z1,t as b,c7 as J,am as K,k as W1,jr as F1,dM as D1,fA as _1,bO as u1,s as P1}from"./index-B9FgmOrh.js";import{b as t,n as i,j as T1,k as H1}from"./vendor-rkTZJa59.js";import{L as V1}from"./NavBarWithPicker-C1RdmaCB-C8vggXa3.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 e1={titleLoaderWidth:new u(200,200,300),subtitleLoaderWidth:new u(100,100,200)},z1=i.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 100%;
|
|
4
4
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
@@ -32,14 +32,14 @@ import{C as u,x as w1,e as M,M as y,m as k,bJ as M1,j as r,$ as j1,bB as y1,o,jn
|
|
|
32
32
|
display: flex;
|
|
33
33
|
flex-direction: column;
|
|
34
34
|
gap: ${o.sp2};
|
|
35
|
-
`,t1=({customStyle:e})=>r.jsxs(N1,{style:{...e},children:[r.jsxs(G1,{children:[r.jsx(L,{width:150,height:24}),r.jsx(L,{width:245,height:21})]}),r.jsx(d1,{width:32,height:32})]}),
|
|
35
|
+
`,t1=({customStyle:e})=>r.jsxs(N1,{style:{...e},children:[r.jsxs(G1,{children:[r.jsx(L,{width:150,height:24}),r.jsx(L,{width:245,height:21})]}),r.jsx(d1,{width:32,height:32})]}),I1=i.div`
|
|
36
36
|
width: 100%;
|
|
37
37
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
38
38
|
border-radius: ${o.sp2};
|
|
39
39
|
box-shadow: ${e=>e.theme.colors.elevation1};
|
|
40
40
|
background-color: ${e=>e.theme.colors.grey5};
|
|
41
41
|
padding: ${o.sp4};
|
|
42
|
-
`,
|
|
42
|
+
`,U1=i.div`
|
|
43
43
|
display: flex;
|
|
44
44
|
align-items: flex-start;
|
|
45
45
|
gap: ${o.sp4};
|
|
@@ -52,7 +52,7 @@ import{C as u,x as w1,e as M,M as y,m as k,bJ as M1,j as r,$ as j1,bB as y1,o,jn
|
|
|
52
52
|
display: flex;
|
|
53
53
|
flex-direction: column;
|
|
54
54
|
gap: ${o.sp4};
|
|
55
|
-
`,
|
|
55
|
+
`,Y1=i.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
justify-content: space-between;
|
|
58
58
|
align-items: center;
|
|
@@ -62,7 +62,7 @@ import{C as u,x as w1,e as M,M as y,m as k,bJ as M1,j as r,$ as j1,bB as y1,o,jn
|
|
|
62
62
|
&:last-of-type {
|
|
63
63
|
border-bottom: none;
|
|
64
64
|
}
|
|
65
|
-
`,
|
|
65
|
+
`,X1=i.div`
|
|
66
66
|
display: flex;
|
|
67
67
|
align-items: center;
|
|
68
68
|
gap: ${o.sp4};
|
|
@@ -70,7 +70,7 @@ import{C as u,x as w1,e as M,M as y,m as k,bJ as M1,j as r,$ as j1,bB as y1,o,jn
|
|
|
70
70
|
display: flex;
|
|
71
71
|
flex-direction: column;
|
|
72
72
|
gap: ${o.sp1};
|
|
73
|
-
`,Q1=({customStyle:e})=>r.jsxs(
|
|
73
|
+
`,Q1=({customStyle:e})=>r.jsxs(I1,{style:e,children:[r.jsx(U1,{children:r.jsxs(J1,{children:[r.jsx(L,{width:180,height:n[4]}),r.jsx(L,{width:300,height:21})]})}),r.jsx(K1,{children:[...Array(3)].map((s,a)=>r.jsxs(Y1,{children:[r.jsxs(X1,{children:[r.jsx(d1,{width:n[6],height:n[6]}),r.jsxs(q1,{children:[r.jsx(L,{width:120,height:18}),r.jsx(L,{width:n[11],height:n[3]})]})]}),r.jsx(L,{width:n[11],height:18}),r.jsx(L,{width:n[11],height:18})]},a))})]}),e2={containerMarginLeft:new u(0,0,n[9],n[9],n[9])},t2=i.div`
|
|
74
74
|
display: flex;
|
|
75
75
|
flex-direction: row;
|
|
76
76
|
margin-left: ${e=>e2.containerMarginLeft.valuePx(e.windowSize)};
|
|
@@ -224,7 +224,7 @@ import{C as u,x as w1,e as M,M as y,m as k,bJ as M1,j as r,$ as j1,bB as y1,o,jn
|
|
|
224
224
|
width: ${o.sp3};
|
|
225
225
|
height: ${o.sp3};
|
|
226
226
|
color: ${e=>e.theme.colors.brandColorOnyx};
|
|
227
|
-
`;function o1({type:e,value:s,currency:a,timeUnit:C,style:l,noData:c}){const{common:h,aiPerformanceDashboard:p}=y.getLocalizedStrings(),x=e==="cost",v=x?r.jsx(H2,{}):r.jsx(V2,{}),j=x?d.brandColorGoldLight:d.graphColor16Light,$=x?p.aiCostSavedTile.title:p.aiTimeSavedTile.title,P=x?d.brandColorGoldDark:d.graphColor16Dark,w=x?p.aiCostSavedTile.subtitle:p.aiTimeSavedTile.subtitle;return r.jsxs(B2,{style:l,children:[r.jsxs(Z2,{children:[r.jsxs(W2,{children:[r.jsx(F2,{children:r.jsx(D2,{color:P,children:$})}),r.jsx(_2,{children:w})]}),r.jsx(P2,{bg:j,children:v})]}),r.jsxs(T2,{children:[x&&!(c??!1)?r.jsx(R,{children:a.currencySymbol}):null,r.jsx(R,{children:s===""?h.strings.hyphen:s}),!x&&!(c??!1)?r.jsx(R,{style:{fontSize:_.largeSemiBold.fontSize},children:C}):null]})]})}const z2=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{clipPath:"url(#clip0_4001_4844)"},t.createElement("path",{d:"M12.0037 7.78125V6.84375",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.4065 7.78125H11.5043C11.2122 7.78145 10.9293 7.88329 10.7041 8.06928C10.4789 8.25528 10.3254 8.51384 10.2699 8.80063C10.2145 9.08742 10.2606 9.38456 10.4003 9.64108C10.54 9.89761 10.7646 10.0975 11.0356 10.2066L12.9706 10.9809C13.2416 11.09 13.4662 11.2899 13.6059 11.5464C13.7455 11.8029 13.7916 12.1001 13.7362 12.3869C13.6808 12.6737 13.5273 12.9322 13.3021 13.1182C13.0768 13.3042 12.7939 13.406 12.5018 13.4062H10.594",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M12.0037 14.3438V13.4062",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M2.09766 14.7266C4.17328 16.7469 7.82859 18.0931 12.0005 18.0931C16.1723 18.0931 19.8314 16.7478 21.907 14.7275",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M17.6466 17.2013C20.5519 12.3131 15.7791 1.21875 12 1.21875C8.22095 1.21875 3.45001 12.3122 6.35626 17.2013",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M5.50031 12.418C3.17719 13.1886 1.6875 14.458 1.6875 16.2195C1.6875 20.4383 6.30469 22.782 12 22.782C17.6953 22.782 22.3125 20.4383 22.3125 16.2195C22.3125 14.458 20.8266 13.1886 18.5034 12.418",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_4001_4844"},t.createElement("rect",{width:24,height:24,fill:"white"})))),
|
|
227
|
+
`;function o1({type:e,value:s,currency:a,timeUnit:C,style:l,noData:c}){const{common:h,aiPerformanceDashboard:p}=y.getLocalizedStrings(),x=e==="cost",v=x?r.jsx(H2,{}):r.jsx(V2,{}),j=x?d.brandColorGoldLight:d.graphColor16Light,$=x?p.aiCostSavedTile.title:p.aiTimeSavedTile.title,P=x?d.brandColorGoldDark:d.graphColor16Dark,w=x?p.aiCostSavedTile.subtitle:p.aiTimeSavedTile.subtitle;return r.jsxs(B2,{style:l,children:[r.jsxs(Z2,{children:[r.jsxs(W2,{children:[r.jsx(F2,{children:r.jsx(D2,{color:P,children:$})}),r.jsx(_2,{children:w})]}),r.jsx(P2,{bg:j,children:v})]}),r.jsxs(T2,{children:[x&&!(c??!1)?r.jsx(R,{children:a.currencySymbol}):null,r.jsx(R,{children:s===""?h.strings.hyphen:s}),!x&&!(c??!1)?r.jsx(R,{style:{fontSize:_.largeSemiBold.fontSize},children:C}):null]})]})}const z2=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{clipPath:"url(#clip0_4001_4844)"},t.createElement("path",{d:"M12.0037 7.78125V6.84375",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.4065 7.78125H11.5043C11.2122 7.78145 10.9293 7.88329 10.7041 8.06928C10.4789 8.25528 10.3254 8.51384 10.2699 8.80063C10.2145 9.08742 10.2606 9.38456 10.4003 9.64108C10.54 9.89761 10.7646 10.0975 11.0356 10.2066L12.9706 10.9809C13.2416 11.09 13.4662 11.2899 13.6059 11.5464C13.7455 11.8029 13.7916 12.1001 13.7362 12.3869C13.6808 12.6737 13.5273 12.9322 13.3021 13.1182C13.0768 13.3042 12.7939 13.406 12.5018 13.4062H10.594",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M12.0037 14.3438V13.4062",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M2.09766 14.7266C4.17328 16.7469 7.82859 18.0931 12.0005 18.0931C16.1723 18.0931 19.8314 16.7478 21.907 14.7275",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M17.6466 17.2013C20.5519 12.3131 15.7791 1.21875 12 1.21875C8.22095 1.21875 3.45001 12.3122 6.35626 17.2013",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M5.50031 12.418C3.17719 13.1886 1.6875 14.458 1.6875 16.2195C1.6875 20.4383 6.30469 22.782 12 22.782C17.6953 22.782 22.3125 20.4383 22.3125 16.2195C22.3125 14.458 20.8266 13.1886 18.5034 12.418",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_4001_4844"},t.createElement("rect",{width:24,height:24,fill:"white"})))),I={tileContainerGap:new u(n[2],n[2],n[4]),amountRowMarginTop:new u(n[3],n[5],n[5]),amountRowGap:new u(n[2],n[4],n[4])},R2=i.div`
|
|
228
228
|
border-radius: 10px;
|
|
229
229
|
padding: 3px;
|
|
230
230
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -235,7 +235,7 @@ import{C as u,x as w1,e as M,M as y,m as k,bJ as M1,j as r,$ as j1,bB as y1,o,jn
|
|
|
235
235
|
`,O2=i.div`
|
|
236
236
|
display: flex;
|
|
237
237
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
238
|
-
gap: ${e=>
|
|
238
|
+
gap: ${e=>I.tileContainerGap.valuePx(e.windowSize)};
|
|
239
239
|
border-radius: ${o.sp2};
|
|
240
240
|
padding: ${o.sp4};
|
|
241
241
|
position: relative;
|
|
@@ -247,9 +247,9 @@ import{C as u,x as w1,e as M,M as y,m as k,bJ as M1,j as r,$ as j1,bB as y1,o,jn
|
|
|
247
247
|
gap: ${o.sp1};
|
|
248
248
|
`,G2=i(b)`
|
|
249
249
|
color: ${d.graphColor16Dark};
|
|
250
|
-
`,
|
|
250
|
+
`,I2=i(g)`
|
|
251
251
|
color: ${e=>e.theme.colors.brandColorOnyx};
|
|
252
|
-
`,
|
|
252
|
+
`,U2=i.div`
|
|
253
253
|
width: ${o.sp7};
|
|
254
254
|
height: ${o.sp7};
|
|
255
255
|
min-width: ${o.sp7};
|
|
@@ -262,8 +262,8 @@ import{C as u,x as w1,e as M,M as y,m as k,bJ as M1,j as r,$ as j1,bB as y1,o,jn
|
|
|
262
262
|
`,J2=i.div`
|
|
263
263
|
display: flex;
|
|
264
264
|
flex-direction: row;
|
|
265
|
-
gap: ${e=>e.isPerformanceReportNotFound?o.sp12:
|
|
266
|
-
margin-top: ${e=>
|
|
265
|
+
gap: ${e=>e.isPerformanceReportNotFound?o.sp12:I.amountRowGap.valuePx(e.windowSize)};
|
|
266
|
+
margin-top: ${e=>I.amountRowMarginTop.valuePx(e.windowSize)};
|
|
267
267
|
`,K2=i.div`
|
|
268
268
|
display: flex;
|
|
269
269
|
align-items: flex-end;
|
|
@@ -271,15 +271,15 @@ import{C as u,x as w1,e as M,M as y,m as k,bJ as M1,j as r,$ as j1,bB as y1,o,jn
|
|
|
271
271
|
`,F=i(J)`
|
|
272
272
|
font-size: 28px;
|
|
273
273
|
color: ${e=>e.theme.colors.brandColorOnyx};
|
|
274
|
-
`,
|
|
274
|
+
`,Y2=i(g)`
|
|
275
275
|
font-size: 16px;
|
|
276
276
|
color: ${e=>e.theme.colors.brandColorOnyx};
|
|
277
277
|
line-height: 2;
|
|
278
|
-
`,
|
|
278
|
+
`,X2=i(z2)`
|
|
279
279
|
width: ${o.sp4};
|
|
280
280
|
height: ${o.sp4};
|
|
281
281
|
color: ${e=>e.theme.colors.brandColorOnyx};
|
|
282
|
-
`;function q2({performanceSummary:e,currency:s,isPerformanceReportNotFound:a}){const{common:C,aiPerformanceDashboard:l}=y.getLocalizedStrings(),c=M(),h=v=>Math.round(v/60),p=B1(e.forecastAnnualSavings.timeSavedMinutes).toFixed(),x=Z1(e.forecastAnnualSavings.timeSavedMinutes).toFixed();return r.jsx(R2,{windowSize:c,children:r.jsxs(O2,{windowSize:c,children:[r.jsx(
|
|
282
|
+
`;function q2({performanceSummary:e,currency:s,isPerformanceReportNotFound:a}){const{common:C,aiPerformanceDashboard:l}=y.getLocalizedStrings(),c=M(),h=v=>Math.round(v/60),p=B1(e.forecastAnnualSavings.timeSavedMinutes).toFixed(),x=Z1(e.forecastAnnualSavings.timeSavedMinutes).toFixed();return r.jsx(R2,{windowSize:c,children:r.jsxs(O2,{windowSize:c,children:[r.jsx(U2,{children:r.jsx(X2,{})}),r.jsxs(A2,{children:[r.jsxs(N2,{children:[r.jsx(G2,{children:l.annualizedImpact.title}),r.jsx(I2,{children:l.annualizedImpact.subtitle})]}),r.jsxs(J2,{isPerformanceReportNotFound:a,windowSize:c,children:[r.jsxs(i1,{children:[r.jsx(g,{style:{color:d.graphColor16Dark},children:l.aiTimeSavedTile.title}),a?r.jsx(F,{children:C.strings.hyphen}):r.jsxs(K2,{children:[r.jsxs(F,{children:[Number(h(e.forecastAnnualSavings.timeSavedMinutes).toFixed()).toLocaleString()," "]}),r.jsxs(Y2,{children:[C.timeStrings.hours,C.strings.space,Number(p)<=1?r.jsxs(r.Fragment,{children:[C.strings.openingBrace,x,C.strings.space,Number(x)>1?C.timeStrings.days:C.timeStrings.day,C.strings.closingBrace]}):r.jsxs(r.Fragment,{children:[C.strings.openingBrace,p,C.strings.space,Number(p)<2?C.timeStrings.week:C.timeStrings.weeks,C.strings.closingBrace]})]})]})]}),r.jsxs(i1,{children:[r.jsx(g,{style:{color:d.graphColor16Dark},children:l.aiCostSavedTile.title}),a?r.jsx(F,{children:C.strings.hyphen}):r.jsxs(F,{children:[s.currencySymbol,Number(e.forecastAnnualSavings.costSaved.toFixed()).toLocaleString()]})]})]})]})]})})}const Q2=e=>t.createElement("svg",{width:91,height:90,viewBox:"0 0 91 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M80.6 6.30005L9.04999 29.25L24.35 34.2M80.6 6.30005L55.85 55.5751L41.225 40.9501M80.6 6.30005L24.35 34.2M80.6 6.30005L35.825 35.55M35.825 35.55L28.4 46.8001M35.825 35.55L41.225 40.9501M28.4 46.8001L41.225 40.9501M28.4 46.8001L24.35 34.2",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{opacity:.2,d:"M9.95001 30.5999L81.5 7.6499L56.75 56.9249L42.125 42.2999L29.3 48.1499L25.25 35.5499L9.95001 30.5999Z",fill:"#97C3B9"}),t.createElement("path",{d:"M43.0228 60.8666C38.2384 60.8666 34.3667 64.7384 34.3667 69.5227C34.3667 64.7384 30.4843 60.8666 25.7 60.8666C30.4843 60.8666 34.3667 56.9843 34.3667 52.2C34.3667 56.9843 38.2384 60.8666 43.0228 60.8666Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10}),t.createElement("path",{d:"M81.7165 42.6554C78.5503 42.6554 75.9866 45.2276 75.9866 48.4042C75.9866 45.2276 73.4162 42.6554 70.25 42.6554C73.4162 42.6554 75.9866 40.0765 75.9866 36.8999C75.9866 40.0765 78.5503 42.6554 81.7165 42.6554Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M19.4 15.752C17.4119 15.752 15.8021 17.3618 15.8021 19.3499C15.8021 17.3618 14.1881 15.752 12.2 15.752C14.1881 15.752 15.8021 14.138 15.8021 12.1499C15.8021 14.138 17.4119 15.752 19.4 15.752Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M10.2031 58.269C10.5781 57.219 11.6881 54.714 13.1281 53.094",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M16.5034 49.2688C17.2972 48.4859 19.2031 46.5689 21.0822 45.6607",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M9.07801 63.219C9.00301 64.194 9.03301 66.729 9.75301 69.069",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M12.4531 73.344C13.1281 74.169 15.0631 75.999 17.4031 76.719M22.1281 78.294C23.3281 78.444 26.2231 78.744 28.2031 78.744",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M32.9281 78.969H39.0031M43.7281 78.969H50.2531M54.9781 78.969H61.2781",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M66.0031 79.4189C67.2031 79.4189 70.0981 79.5539 72.0781 80.0939",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M76.8031 81.4438C77.9281 81.7438 80.6281 82.6588 82.4281 83.9188",stroke:"#97C3B9",strokeWidth:.9})),e3=i.div`
|
|
283
283
|
display: flex;
|
|
284
284
|
flex-direction: column;
|
|
285
285
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -402,7 +402,7 @@ import{C as u,x as w1,e as M,M as y,m as k,bJ as M1,j as r,$ as j1,bB as y1,o,jn
|
|
|
402
402
|
border-radius: 2px;
|
|
403
403
|
`,s1=i(W1)`
|
|
404
404
|
color: ${e=>e.color};
|
|
405
|
-
`,Z3=({active:e,payload:s})=>{const a=m1();return(e??!1)&&s&&s.length>0?r.jsx(E3,{children:s.map((C,l)=>{const c=C.name==="costSaved"?"Cost Saved":C.name==="timeSavedInHours"?"Time Saved":C.name,h=C.name==="costSaved"?`$${Number(C.value).toFixed().toLocaleString()}`:C.name==="timeSavedInHours"?`${Number(C.value).toFixed().toLocaleString()} hours`:C.value;return r.jsxs(w3,{style:C.name==="costSaved"?{color:a.colors.brandColorGold}:{color:a.colors.graphColor17},children:[r.jsx(M3,{children:c}),r.jsx(j3,{children:h})]},`tooltip-${l}`)})}):null};function W3({performanceTimeSeries:e}){const s=m1(),a=M(),{aiPerformanceDashboard:C}=y.getLocalizedStrings();return r.jsxs(y3,{children:[r.jsx($3,{windowSize:a,children:r.jsx(v3,{children:C.chartTitle})}),r.jsxs(S3,{children:[r.jsx(b3,{children:r.jsx(c1,{children:({width:l,height:c})=>r.jsxs(h1,{width:l,height:c,data:e,margin:{top:6,right:6,left:6,bottom:6},children:[r.jsxs("defs",{children:[r.jsxs("linearGradient",{id:"colorCost",x1:"0",y1:"0",x2:"0",y2:"1",children:[r.jsx("stop",{offset:"5%",stopColor:d.brandColorGoldLight,stopOpacity:.7}),r.jsx("stop",{offset:"95%",stopColor:d.brandColorGoldLight,stopOpacity:0})]}),r.jsxs("linearGradient",{id:"colorTime",x1:"0",y1:"0",x2:"0",y2:"1",children:[r.jsx("stop",{offset:"5%",stopColor:d.graphColor16Dark,stopOpacity:.25}),r.jsx("stop",{offset:"95%",stopColor:d.graphColor16Dark,stopOpacity:0})]})]}),r.jsx(S1,{horizontal:!1,vertical:!1}),r.jsx(p1,{dataKey:"month",tickFormatter:h=>{const[p,x]=h.split("-");return new Date(Number(p),Number(x)-1).toLocaleString("en-US",{month:"short",year:"2-digit"})},tickLine:!1,axisLine:{stroke:s.colors.grey2,strokeWidth:1},tick:{fill:s.colors.hero,..._.extraSmallRegular.cssObject},interval:"preserveStartEnd"}),r.jsx(G,{yAxisId:"left",orientation:"left",hide:!0,domain:[0,"dataMax"]}),r.jsx(G,{yAxisId:"right",orientation:"right",hide:!0,domain:[0,h=>h*f3]}),r.jsx(b1,{cursor:{stroke:s.colors.primary,strokeDasharray:5},content:r.jsx(Z3,{})}),r.jsx(Q,{yAxisId:"left",type:"monotone",dataKey:"costSaved",stroke:d.brandColorGold,fillOpacity:1,fill:"url(#colorCost)",strokeWidth:2,activeDot:{r:4,fill:d.neutralGrey5Light,stroke:d.brandColorGold,strokeWidth:2}}),r.jsx(Q,{yAxisId:"right",type:"monotone",dataKey:"timeSavedInHours",stroke:d.graphColor16Dark,fillOpacity:1,fill:"url(#colorTime)",strokeWidth:2,activeDot:{r:4,fill:d.neutralGrey5Light,stroke:d.graphColor16Dark,strokeWidth:2}})]})})}),r.jsxs(B3,{children:[r.jsxs(C1,{children:[r.jsx(n1,{color:d.brandColorGoldDark}),r.jsx(s1,{color:d.brandColorGoldDark,children:C.aiCostSavedTile.title})]}),r.jsxs(C1,{children:[r.jsx(n1,{color:d.graphColor16Dark}),r.jsx(s1,{color:d.graphColor16Dark,children:C.aiTimeSavedTile.title})]})]})]})]})}const F3=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{clipPath:"url(#clip0_4001_4887)"},t.createElement("path",{d:"M13.4062 8.71875H11.3981C11.0067 8.71889 10.6267 8.85116 10.3198 9.09415C10.0129 9.33713 9.79705 9.67659 9.70712 10.0576C9.61719 10.4385 9.65849 10.8387 9.82434 11.1933C9.99019 11.5479 10.2709 11.8361 10.6209 12.0112L12.4491 12.9263C12.7991 13.1014 13.0798 13.3896 13.2457 13.7442C13.4115 14.0988 13.4528 14.499 13.3629 14.8799C13.273 15.2609 13.0571 15.6004 12.7502 15.8434C12.4433 16.0863 12.0633 16.2186 11.6719 16.2188H9.65625",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.535 8.71875V7.3125",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.535 17.625V16.2188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M22.7812 11.9996C22.7801 11.2484 22.5534 10.5149 22.1305 9.89408C21.7076 9.27326 21.108 8.79376 20.4094 8.51771C20.7107 7.82876 20.7974 7.06494 20.6579 6.326C20.5185 5.58706 20.1594 4.90735 19.6277 4.37562C19.096 3.84389 18.4162 3.48486 17.6773 3.34541C16.9384 3.20596 16.1746 3.29258 15.4856 3.59396C15.2113 2.89391 14.7323 2.29281 14.1112 1.8691C13.49 1.44539 12.7556 1.21875 12.0037 1.21875C11.2518 1.21875 10.5174 1.44539 9.8963 1.8691C9.27518 2.29281 8.79619 2.89391 8.52186 3.59396C7.83291 3.29258 7.06909 3.20596 6.33015 3.34541C5.59122 3.48486 4.9115 3.84389 4.37977 4.37562C3.84804 4.90735 3.48901 5.58706 3.34956 6.326C3.21011 7.06494 3.29673 7.82876 3.59811 8.51771C2.89806 8.79204 2.29696 9.27102 1.87325 9.89215C1.44954 10.5133 1.2229 11.2477 1.2229 11.9996C1.2229 12.7515 1.44954 13.4859 1.87325 14.107C2.29696 14.7281 2.89806 15.2071 3.59811 15.4815C3.29673 16.1704 3.21011 16.9342 3.34956 17.6732C3.48901 18.4121 3.84804 19.0918 4.37977 19.6235C4.9115 20.1553 5.59122 20.5143 6.33015 20.6538C7.06909 20.7932 7.83291 20.7066 8.52186 20.4052C8.79619 21.1053 9.27518 21.7064 9.8963 22.1301C10.5174 22.5538 11.2518 22.7804 12.0037 22.7804C12.7556 22.7804 13.49 22.5538 14.1112 22.1301C14.7323 21.7064 15.2113 21.1053 15.4856 20.4052C16.1746 20.7066 16.9384 20.7932 17.6773 20.6538C18.4162 20.5143 19.096 20.1553 19.6277 19.6235C20.1594 19.0918 20.5185 18.4121 20.6579 17.6732C20.7974 16.9342 20.7107 16.1704 20.4094 15.4815C21.108 15.2054 21.7076 14.7259 22.1305 14.1051C22.5534 13.4843 22.7801 12.7508 22.7812 11.9996Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_4001_4887"},t.createElement("rect",{width:24,height:24,fill:"white"})))),
|
|
405
|
+
`,Z3=({active:e,payload:s})=>{const a=m1();return(e??!1)&&s&&s.length>0?r.jsx(E3,{children:s.map((C,l)=>{const c=C.name==="costSaved"?"Cost Saved":C.name==="timeSavedInHours"?"Time Saved":C.name,h=C.name==="costSaved"?`$${Number(C.value).toFixed().toLocaleString()}`:C.name==="timeSavedInHours"?`${Number(C.value).toFixed().toLocaleString()} hours`:C.value;return r.jsxs(w3,{style:C.name==="costSaved"?{color:a.colors.brandColorGold}:{color:a.colors.graphColor17},children:[r.jsx(M3,{children:c}),r.jsx(j3,{children:h})]},`tooltip-${l}`)})}):null};function W3({performanceTimeSeries:e}){const s=m1(),a=M(),{aiPerformanceDashboard:C}=y.getLocalizedStrings();return r.jsxs(y3,{children:[r.jsx($3,{windowSize:a,children:r.jsx(v3,{children:C.chartTitle})}),r.jsxs(S3,{children:[r.jsx(b3,{children:r.jsx(c1,{children:({width:l,height:c})=>r.jsxs(h1,{width:l,height:c,data:e,margin:{top:6,right:6,left:6,bottom:6},children:[r.jsxs("defs",{children:[r.jsxs("linearGradient",{id:"colorCost",x1:"0",y1:"0",x2:"0",y2:"1",children:[r.jsx("stop",{offset:"5%",stopColor:d.brandColorGoldLight,stopOpacity:.7}),r.jsx("stop",{offset:"95%",stopColor:d.brandColorGoldLight,stopOpacity:0})]}),r.jsxs("linearGradient",{id:"colorTime",x1:"0",y1:"0",x2:"0",y2:"1",children:[r.jsx("stop",{offset:"5%",stopColor:d.graphColor16Dark,stopOpacity:.25}),r.jsx("stop",{offset:"95%",stopColor:d.graphColor16Dark,stopOpacity:0})]})]}),r.jsx(S1,{horizontal:!1,vertical:!1}),r.jsx(p1,{dataKey:"month",tickFormatter:h=>{const[p,x]=h.split("-");return new Date(Number(p),Number(x)-1).toLocaleString("en-US",{month:"short",year:"2-digit"})},tickLine:!1,axisLine:{stroke:s.colors.grey2,strokeWidth:1},tick:{fill:s.colors.hero,..._.extraSmallRegular.cssObject},interval:"preserveStartEnd"}),r.jsx(G,{yAxisId:"left",orientation:"left",hide:!0,domain:[0,"dataMax"]}),r.jsx(G,{yAxisId:"right",orientation:"right",hide:!0,domain:[0,h=>h*f3]}),r.jsx(b1,{cursor:{stroke:s.colors.primary,strokeDasharray:5},content:r.jsx(Z3,{})}),r.jsx(Q,{yAxisId:"left",type:"monotone",dataKey:"costSaved",stroke:d.brandColorGold,fillOpacity:1,fill:"url(#colorCost)",strokeWidth:2,activeDot:{r:4,fill:d.neutralGrey5Light,stroke:d.brandColorGold,strokeWidth:2}}),r.jsx(Q,{yAxisId:"right",type:"monotone",dataKey:"timeSavedInHours",stroke:d.graphColor16Dark,fillOpacity:1,fill:"url(#colorTime)",strokeWidth:2,activeDot:{r:4,fill:d.neutralGrey5Light,stroke:d.graphColor16Dark,strokeWidth:2}})]})})}),r.jsxs(B3,{children:[r.jsxs(C1,{children:[r.jsx(n1,{color:d.brandColorGoldDark}),r.jsx(s1,{color:d.brandColorGoldDark,children:C.aiCostSavedTile.title})]}),r.jsxs(C1,{children:[r.jsx(n1,{color:d.graphColor16Dark}),r.jsx(s1,{color:d.graphColor16Dark,children:C.aiTimeSavedTile.title})]})]})]})]})}const F3=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{clipPath:"url(#clip0_4001_4887)"},t.createElement("path",{d:"M13.4062 8.71875H11.3981C11.0067 8.71889 10.6267 8.85116 10.3198 9.09415C10.0129 9.33713 9.79705 9.67659 9.70712 10.0576C9.61719 10.4385 9.65849 10.8387 9.82434 11.1933C9.99019 11.5479 10.2709 11.8361 10.6209 12.0112L12.4491 12.9263C12.7991 13.1014 13.0798 13.3896 13.2457 13.7442C13.4115 14.0988 13.4528 14.499 13.3629 14.8799C13.273 15.2609 13.0571 15.6004 12.7502 15.8434C12.4433 16.0863 12.0633 16.2186 11.6719 16.2188H9.65625",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.535 8.71875V7.3125",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.535 17.625V16.2188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M22.7812 11.9996C22.7801 11.2484 22.5534 10.5149 22.1305 9.89408C21.7076 9.27326 21.108 8.79376 20.4094 8.51771C20.7107 7.82876 20.7974 7.06494 20.6579 6.326C20.5185 5.58706 20.1594 4.90735 19.6277 4.37562C19.096 3.84389 18.4162 3.48486 17.6773 3.34541C16.9384 3.20596 16.1746 3.29258 15.4856 3.59396C15.2113 2.89391 14.7323 2.29281 14.1112 1.8691C13.49 1.44539 12.7556 1.21875 12.0037 1.21875C11.2518 1.21875 10.5174 1.44539 9.8963 1.8691C9.27518 2.29281 8.79619 2.89391 8.52186 3.59396C7.83291 3.29258 7.06909 3.20596 6.33015 3.34541C5.59122 3.48486 4.9115 3.84389 4.37977 4.37562C3.84804 4.90735 3.48901 5.58706 3.34956 6.326C3.21011 7.06494 3.29673 7.82876 3.59811 8.51771C2.89806 8.79204 2.29696 9.27102 1.87325 9.89215C1.44954 10.5133 1.2229 11.2477 1.2229 11.9996C1.2229 12.7515 1.44954 13.4859 1.87325 14.107C2.29696 14.7281 2.89806 15.2071 3.59811 15.4815C3.29673 16.1704 3.21011 16.9342 3.34956 17.6732C3.48901 18.4121 3.84804 19.0918 4.37977 19.6235C4.9115 20.1553 5.59122 20.5143 6.33015 20.6538C7.06909 20.7932 7.83291 20.7066 8.52186 20.4052C8.79619 21.1053 9.27518 21.7064 9.8963 22.1301C10.5174 22.5538 11.2518 22.7804 12.0037 22.7804C12.7556 22.7804 13.49 22.5538 14.1112 22.1301C14.7323 21.7064 15.2113 21.1053 15.4856 20.4052C16.1746 20.7066 16.9384 20.7932 17.6773 20.6538C18.4162 20.5143 19.096 20.1553 19.6277 19.6235C20.1594 19.0918 20.5185 18.4121 20.6579 17.6732C20.7974 16.9342 20.7107 16.1704 20.4094 15.4815C21.108 15.2054 21.7076 14.7259 22.1305 14.1051C22.5534 13.4843 22.7801 12.7508 22.7812 11.9996Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_4001_4887"},t.createElement("rect",{width:24,height:24,fill:"white"})))),U={amountRowMarginTop:new u(n[3],n[3],n[5]),amountRowGap:new u(n[2],n[2],n[4]),tileContainerGap:new u(n[2],n[4],n[4])},D3=i.div`
|
|
406
406
|
border-radius: 10px;
|
|
407
407
|
padding: 3px;
|
|
408
408
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -413,7 +413,7 @@ import{C as u,x as w1,e as M,M as y,m as k,bJ as M1,j as r,$ as j1,bB as y1,o,jn
|
|
|
413
413
|
`,_3=i.div`
|
|
414
414
|
display: flex;
|
|
415
415
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
416
|
-
gap: ${e=>
|
|
416
|
+
gap: ${e=>U.tileContainerGap.valuePx(e.windowSize)};
|
|
417
417
|
border-radius: ${o.sp2};
|
|
418
418
|
padding: ${o.sp4};
|
|
419
419
|
position: relative;
|
|
@@ -440,8 +440,8 @@ import{C as u,x as w1,e as M,M as y,m as k,bJ as M1,j as r,$ as j1,bB as y1,o,jn
|
|
|
440
440
|
`,R3=i.div`
|
|
441
441
|
display: flex;
|
|
442
442
|
flex-direction: row;
|
|
443
|
-
gap: ${e=>e.isPerformanceReportNotFound?o.sp12:
|
|
444
|
-
margin-top: ${e=>
|
|
443
|
+
gap: ${e=>e.isPerformanceReportNotFound?o.sp12:U.amountRowGap.valuePx(e.windowSize)};
|
|
444
|
+
margin-top: ${e=>U.amountRowMarginTop.valuePx(e.windowSize)};
|
|
445
445
|
`,O=i.div`
|
|
446
446
|
display: flex;
|
|
447
447
|
align-items: flex-end;
|
|
@@ -472,13 +472,13 @@ import{C as u,x as w1,e as M,M as y,m as k,bJ as M1,j as r,$ as j1,bB as y1,o,jn
|
|
|
472
472
|
top: ${o.sp0};
|
|
473
473
|
width: 100%;
|
|
474
474
|
${e=>e.isScrolled&&`border-bottom: 1px solid ${e.theme.colors.grey3}`}
|
|
475
|
-
`,
|
|
475
|
+
`,I3=i.div`
|
|
476
476
|
display: flex;
|
|
477
477
|
flex-direction: column;
|
|
478
478
|
gap: ${o.sp3};
|
|
479
479
|
width: 100%;
|
|
480
480
|
background-color: ${e=>e.theme.colors.grey4};
|
|
481
|
-
`,
|
|
481
|
+
`,U3=i.div`
|
|
482
482
|
padding: 0 ${e=>D.containerPadding.valuePx(e.windowSize)};
|
|
483
483
|
`,J3=i.div`
|
|
484
484
|
display: flex;
|
|
@@ -495,10 +495,10 @@ import{C as u,x as w1,e as M,M as y,m as k,bJ as M1,j as r,$ as j1,bB as y1,o,jn
|
|
|
495
495
|
flex-wrap: wrap;
|
|
496
496
|
gap: ${o.sp3};
|
|
497
497
|
margin-bottom: ${o.sp8};
|
|
498
|
-
`,
|
|
498
|
+
`,Y3=i.div`
|
|
499
499
|
flex: 1;
|
|
500
500
|
min-width: 300px;
|
|
501
|
-
`,
|
|
501
|
+
`,X3=i.div`
|
|
502
502
|
flex: 2;
|
|
503
503
|
min-width: ${e=>D.savingsChartMinWidth.valuePx(e.windowSize)};
|
|
504
504
|
min-height: 380px;
|
|
@@ -527,4 +527,4 @@ import{C as u,x as w1,e as M,M as y,m as k,bJ as M1,j as r,$ as j1,bB as y1,o,jn
|
|
|
527
527
|
&:hover {
|
|
528
528
|
color: ${e=>e.theme.colors.primary};
|
|
529
529
|
}
|
|
530
|
-
`,t4=(e,s)=>e===s?`(${H(e)})`:`(${H(e)} - ${H(s)})`;function h4({aggregatedReport:e,onBackClick:s,onReload:a,onTimeRangeSelect:C,onClickMenuIcon:l}){const c=w1().analytics,h=M(),{common:p}=y.getLocalizedStrings(),[x,v]=t.useState(!1),[j,$]=t.useState(null),P=[...k.TIME_SERIES_DURATIONS],w=k.TIME_SERIES_DURATIONS[1],[T,
|
|
530
|
+
`,t4=(e,s)=>e===s?`(${H(e)})`:`(${H(e)} - ${H(s)})`;function h4({aggregatedReport:e,onBackClick:s,onReload:a,onTimeRangeSelect:C,onClickMenuIcon:l}){const c=w1().analytics,h=M(),{common:p}=y.getLocalizedStrings(),[x,v]=t.useState(!1),[j,$]=t.useState(null),P=[...k.TIME_SERIES_DURATIONS],w=k.TIME_SERIES_DURATIONS[1],[T,Y]=t.useState(k.convertToTimeSeriesSelectionRange(w)),[B,X]=t.useState(w),[k1,x1]=t.useState(!1);M1({componentName:"aiPerformance",enabled:e.fetchState==="Completed"});const S=e.fetchState==="Not-Started"||e.fetchState==="In-Progress",E=e.fetchState==="Error",g1=m=>m.flatMap(E1=>E1.eventGroups.map(Z=>({event_name:Z.eventName,events_count:Z.eventsCount,time_saved_in_minutes:Z.timeSavedInMinutes,total_cost_saved:Z.totalCostSaved})));t.useEffect(()=>{$("home"),C(k.convertToTimeSeriesSelectionRange(B).fromMonth,k.convertToTimeSeriesSelectionRange(B).toMonth)},[]),t.useEffect(()=>{if(e.fetchState==="Completed"&&j){const m={period_selected:B,cost_saved:e.summary.totalCostSaved,time_saved:e.summary.totalTimeSavedMinutes,task_performed:g1(e.personas)};j==="home"?c.trackAIPerfHome(m):j==="refresh"?c.trackAIPerfRefresh(m):j==="timePeriodSelect"&&c.trackAIPerfTimePeriodSelect(m),$(null)}},[e.fetchState,j]),t.useEffect(()=>{const m=()=>{x1(window.scrollY>0)};return window.addEventListener("scroll",m),m(),()=>{window.removeEventListener("scroll",m)}},[]);const f1=r.jsx(q3,{"data-testid":`${j1("ai-performance-page","refresh-icon")}`,onClick:()=>{v(!0),$("refresh"),a(k.convertToTimeSeriesSelectionRange(w).fromMonth,k.convertToTimeSeriesSelectionRange(w).toMonth),X(w),Y(k.convertToTimeSeriesSelectionRange(w))},children:r.jsx(y1,{style:{marginTop:o.sp1},placement:"bottom",title:p.texts.refresh,enterDelay:600,children:r.jsx(e4,{spinning:S&&x})})}),L1={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:P,valueToLabel:m=>m,selectedValue:`${B} ${t4(T.fromMonth,T.toMonth)}`,titleTextStyle:_.largeMedium,onPickerSelectionChanged:m=>{m!=null&&($("timePeriodSelect"),X(k.toTimeSeriesDuration(m)),Y(k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m))),C(k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m)).fromMonth,k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m)).toMonth))},styles:{justifyContent:h==="small"?"left":"center"},isPickerDisabled:!1},onBackClick:s,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:l,rightSideComponent:f1},q=Number(parseFloat((e?.summary?.totalTimeSavedMinutes/60).toFixed()));return r.jsxs(I3,{children:[r.jsx(G3,{isScrolled:k1,windowSize:h,paddingLeft:D.contentPaddingLeft.value(h),paddingRight:D.contentPaddingRight.value(h),children:r.jsx(V1,{...L1})}),r.jsxs(U3,{windowSize:h,children:[r.jsxs(J3,{windowSize:h,children:[r.jsxs(Y3,{windowSize:h,children:[S?r.jsx(t1,{customStyle:{margin:`0 0 ${o.sp3} 0`}}):r.jsx(o1,{type:"cost",value:E?`${p.strings.hyphen}`:Number(e.summary?.totalCostSaved.toFixed()).toLocaleString(),currency:e.currency,style:{margin:`0 0 ${o.sp3} 0`},noData:E}),S?r.jsx(t1,{customStyle:{margin:"0"}}):r.jsx(o1,{type:"time",value:E?`${p.strings.hyphen}`:e.summary?.totalTimeSavedMinutes<60?Number(e.summary?.totalTimeSavedMinutes).toFixed().toLocaleString():Number(q).toFixed().toLocaleString(),currency:e.currency,noData:E,timeUnit:E?"":e.summary?.totalTimeSavedMinutes<60?e.summary?.totalTimeSavedMinutes>1?p.timeStrings.minutes:p.timeStrings.minute:q>1?p.timeStrings.hours:p.timeStrings.hour})]}),r.jsx(X3,{windowSize:h,children:S?r.jsx(A1,{customStyle:{margin:`0 0 ${o.sp3} 0`}}):E?r.jsx(g3,{selectedTimeSeries:T}):r.jsx(W3,{performanceTimeSeries:e.monthlySummary})})]}),S?r.jsx(l1,{windowSize:h,children:r.jsx(Q1,{})}):r.jsxs(r.Fragment,{children:[r.jsx(l1,{windowSize:h,children:E||e.personas.length===0?r.jsx(s3,{}):r.jsx(b2,{personas:e.personas,currency:e.currency})}),r.jsxs(K3,{windowSize:h,children:[r.jsx(A3,{performanceSummary:e.summary,currency:e.currency,isPerformanceReportNotFound:E}),r.jsx(q2,{performanceSummary:e.summary,currency:e.currency,isPerformanceReportNotFound:E})]})]})]})]})}export{h4 as default,N3 as navBarHeight};
|
package/dist/assets/{AccountInfoPage-wfDS5ToF-Dk38sAxC.js → AccountInfoPage-Dr_EV68J-Dy7B8Ixb.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as f,e as P,j as t,gh as $,o,C as a,h0 as j,
|
|
1
|
+
import{u as f,e as P,j as t,gh as $,o,C as a,h0 as j,q as i}from"./index-B9FgmOrh.js";import{b as y,n}from"./vendor-rkTZJa59.js";import{K as z}from"./StatusSwitcher-DFTN_Xis-BPYWMG2w.js";import{r as A}from"./AccountInfoPageContent-CC5MUG47-DaadDuh7.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";import"./downloadPdf-EaFUuw1_-CTrXJ5wG.js";import"./commonDimensions-Btr3Ruk2--EjhN8RD.js";const r={pageTitleMarginXAxis:new a(i[4],i[8]),containerPaddingLeft:new a(i[3],i[6],i[8]),containerPaddingRight:new a(i[3],i[6],i[8])},B=({authParams:e,downloadAccountDetailEndPoint:l,depositAccount:s,zeniAccountsConfigDetail:p,currentTenant:m,onDismissClick:u})=>{const g=f(),d=P(),[c,h]=y.useState("achDetails"),x=w=>{h(w)};return t.jsxs(D,{children:[t.jsx($,{title:"",backgroundColor:g.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:u}),t.jsx(S,{windowSize:d,children:s.accountName}),t.jsx(T,{children:t.jsx(z,{tabIds:["achDetails","wireDetails"],selectedTab:c,entity:"zeni_accounts",onTabSelectedChange:x,isSwitcherLeftAlign:!0})}),t.jsx(v,{windowSize:d,children:t.jsx(A,{authParams:e,downloadAccountDetailEndPoint:l,currentTab:c,zeniAccountsConfigDetail:p,currentTenant:m,depositAccount:s})})]})},v=n.div`
|
|
2
2
|
padding-left: ${e=>`${r.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
3
3
|
padding-right: ${e=>`${r.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
4
4
|
`,D=n.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as we,fi as Ae,h1 as
|
|
1
|
+
import{e as we,fi as Ae,h1 as K,j as r,B as Se,bB as D,m as Te,$ as z,o as a,am as ve,by as Ce,g as E,w as ee,az as De,fk as ze,s as re}from"./index-B9FgmOrh.js";import{b as s,n as t}from"./vendor-rkTZJa59.js";import{w as Le}from"./downloadPdf-EaFUuw1_-CTrXJ5wG.js";import{o as _e}from"./commonDimensions-Btr3Ruk2--EjhN8RD.js";const{common:{strings:Ee,copyToClipBoard:y},spendManagement:{zeniAccounts:{zeniAccountDetail:V},billPay:{vendorCreation:{achDetails:o}},downloads:F}}=Se.getLocalizedStrings(),We=({authParams:e,downloadAccountDetailEndPoint:ae,currentTab:f,depositAccount:n,zeniAccountsConfigDetail:u,currentTenant:g})=>{const oe=we(),[,M]=Ae(),[k,te]=s.useState(!1),[se,ce]=s.useState(!1),[ne,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[me,pe]=s.useState(!1),[he,xe]=s.useState(!1),[fe,$e]=s.useState(!1),[p,B]=s.useState(!1),[N,I]=s.useState(!1),[j,P]=s.useState(!1),[w,Q]=s.useState(!1),[A,q]=s.useState(!1),[S,G]=s.useState(!1),[T,J]=s.useState(!1),[$,O]=s.useState(!1),v=g?.company?.companyInfo.companyLegalName,C=K(u.zeniAccountsConfigDetail.mailingAddress).text2,m=K(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(p||S||T||$||A||$||j||N||w)&&setTimeout(()=>{B(!1),G(!1),J(!1),O(!1),q(!1),Q(!1),P(!1),I(!1)},1200)},[p,S,T,$,A,w,j,N]);const U=(h,c)=>{switch(h){case"accountType":ce(c);break;case"acccountNumber":ie(c);break;case"routingNumber":de(c);break;case"bankName":ue(c);break;case"beneficiaryName":xe(c);break;case"beneficiaryAddress":pe(c);break;case"bankAddress":$e(c);break}},ye=h=>{let c;h==="achDetails"?c=`${o.bankRoutingNumber} ${n.routingNumberAch}
|
|
2
2
|
|
|
3
3
|
${o.accountTypeLabel} ${n.accountSubType.name??""}
|
|
4
4
|
|
|
@@ -18,21 +18,21 @@ ${o.beneficiaryName} ${v}
|
|
|
18
18
|
|
|
19
19
|
${o.bankAddress} ${m}
|
|
20
20
|
|
|
21
|
-
${o.beneficiaryAddress} ${C}`,
|
|
21
|
+
${o.beneficiaryAddress} ${C}`,M(c),B(!0)},i=(h,c,x,H)=>{let d,l;switch(x){case"acccountNumber":d=ne,l=T;break;case"accountType":d=se,l=S;break;case"bankName":d=be,l=A;break;case"beneficiaryName":d=he,l=N;break;case"beneficiaryAddress":d=me,l=w;break;case"bankAddress":d=fe,l=j;break;default:d=le,l=$;break}const je=()=>{switch(x){case"accountType":G(!0);break;case"acccountNumber":J(!0);break;case"routingNumber":O(!0);break;case"bankName":q(!0);break;case"beneficiaryName":I(!0);break;case"beneficiaryAddress":Q(!0);break;case"bankAddress":P(!0);break}};return r.jsxs(qe,{onMouseEnter:()=>U(x,!0),onMouseLeave:()=>U(x,!1),children:[r.jsx(Ge,{children:h}),r.jsx(Oe,{children:r.jsxs(Ue,{children:[r.jsxs(Je,{children:[d||oe==="small"?r.jsx(L,{children:r.jsx(D,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:l,children:l?y.copied:y.copy}),enterDelay:600,children:l===!0?r.jsx(W,{}):r.jsx(Z,{"data-testid":z("account-info-copy",x),onClick:()=>{M(c),je()}})})}):null,c]}),H!=null?r.jsx(He,{children:H}):null]})})]})},ge={detail_type:"account_details",deposit_account_id:n.id,company_name:g?.companyName??"",company_legal_name:g?.company?.companyInfo.companyLegalName??""},ke=encodeURIComponent(JSON.stringify(ge)),Ne=`${ae}?query=${ke}`;return r.jsx(Re,{children:r.jsxs(Me,{children:[r.jsxs(Be,{children:[r.jsx(Pe,{children:f==="achDetails"?V.achTitle:V.wireTitle}),r.jsxs(Ie,{children:[r.jsx(L,{children:r.jsx(D,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:k,children:k?F.downloading:F.download}),enterDelay:600,children:k===!0?r.jsx(Te,{size:"Small",start:!0}):r.jsx(Qe,{"data-testid":z("account-info-download-pdf"),onClick:()=>{Le(Ne,Ee.empty,e,te,!0)}})})}),r.jsx(L,{children:r.jsx(D,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:p,children:p?y.copied:y.copy}),enterDelay:600,children:p===!0?r.jsx(W,{}):r.jsx(Z,{onClick:()=>ye(f),"data-testid":z("title-text-copy")})})})]})]}),f==="achDetails"?r.jsxs(Ke,{children:[r.jsx(X,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(Y,{children:i(o.bankAddress,m,"bankAddress")}):null]}):f==="wireDetails"?r.jsxs(Ve,{children:[r.jsx(X,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(b,{children:i(o.bankAddress,m,"bankAddress")}):null,v!=null?r.jsx(b,{children:i(o.beneficiaryName,v,"beneficiaryName",o.beneficiaryNameSubLabel)}):null,C!=null?r.jsx(Y,{children:i(o.beneficiaryAddress,C,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},Re=t.div``,Me=t.div`
|
|
22
22
|
margin: ${a.sp4};
|
|
23
23
|
margin-left: ${a.sp0};
|
|
24
|
-
`,
|
|
24
|
+
`,Be=t.div`
|
|
25
25
|
display: flex;
|
|
26
26
|
align-items: center;
|
|
27
27
|
justify-content: space-between;
|
|
28
28
|
margin-bottom: ${a.sp3};
|
|
29
|
-
`,
|
|
29
|
+
`,Ie=t.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
gap: ${a.sp4};
|
|
32
32
|
`,Pe=t(ve)`
|
|
33
33
|
color: ${e=>e.theme.colors.primary};
|
|
34
34
|
margin-right: ${a.sp2};
|
|
35
|
-
`,
|
|
35
|
+
`,Qe=t(Ce)`
|
|
36
36
|
height: ${a.sp3};
|
|
37
37
|
width: ${a.sp3};
|
|
38
38
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -40,7 +40,7 @@ ${o.beneficiaryAddress} ${C}`,R(c),I(!0)},i=(h,c,x,K)=>{let d,l;switch(x){case"a
|
|
|
40
40
|
&:hover {
|
|
41
41
|
color: ${e=>e.theme.colors.primary};
|
|
42
42
|
}
|
|
43
|
-
`,
|
|
43
|
+
`,R=t.div`
|
|
44
44
|
box-sizing: border-box;
|
|
45
45
|
min-height: ${_e.transactionItemHeight}px;
|
|
46
46
|
display: flex;
|
|
@@ -57,7 +57,7 @@ ${o.beneficiaryAddress} ${C}`,R(c),I(!0)},i=(h,c,x,K)=>{let d,l;switch(x){case"a
|
|
|
57
57
|
color: ${e=>e.theme.colors.grey1};
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
`,X=t(
|
|
60
|
+
`,X=t(R)`
|
|
61
61
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
62
62
|
display: flex;
|
|
63
63
|
border-top-width: 1px;
|
|
@@ -72,7 +72,7 @@ ${o.beneficiaryAddress} ${C}`,R(c),I(!0)},i=(h,c,x,K)=>{let d,l;switch(x){case"a
|
|
|
72
72
|
&:hover {
|
|
73
73
|
border-bottom-width: 1px;
|
|
74
74
|
}
|
|
75
|
-
`,Y=t(
|
|
75
|
+
`,Y=t(R)`
|
|
76
76
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
77
77
|
display: flex;
|
|
78
78
|
border-top-width: 0.5px;
|
|
@@ -107,7 +107,7 @@ ${o.beneficiaryAddress} ${C}`,R(c),I(!0)},i=(h,c,x,K)=>{let d,l;switch(x){case"a
|
|
|
107
107
|
height: ${a.sp3};
|
|
108
108
|
width: ${a.sp3};
|
|
109
109
|
color: ${E.success};
|
|
110
|
-
`,
|
|
110
|
+
`,qe=t.div`
|
|
111
111
|
display: flex;
|
|
112
112
|
flex-direction: row;
|
|
113
113
|
padding: ${a.sp3} ${a.sp4};
|
|
@@ -116,25 +116,25 @@ ${o.beneficiaryAddress} ${C}`,R(c),I(!0)},i=(h,c,x,K)=>{let d,l;switch(x){case"a
|
|
|
116
116
|
gap: ${a.sp4};
|
|
117
117
|
`,Ge=t(re)`
|
|
118
118
|
color: ${e=>e.theme.colors.hero};
|
|
119
|
-
`,
|
|
119
|
+
`,Je=t(re)`
|
|
120
120
|
display: flex;
|
|
121
121
|
align-items: center;
|
|
122
122
|
color: ${e=>e.theme.colors.primary};
|
|
123
123
|
background-color: ${e=>e.theme.colors.grey5};
|
|
124
124
|
justify-content: flex-end;
|
|
125
125
|
text-align: end;
|
|
126
|
-
`,
|
|
126
|
+
`,Oe=t.div`
|
|
127
127
|
display: flex;
|
|
128
|
-
`,
|
|
128
|
+
`,Ue=t.div`
|
|
129
129
|
display: flex;
|
|
130
130
|
flex-direction: column;
|
|
131
131
|
align-items: flex-end;
|
|
132
|
-
`,
|
|
132
|
+
`,He=t(ee)`
|
|
133
133
|
color: ${e=>e.theme.colors.grey1};
|
|
134
134
|
text-align: end;
|
|
135
135
|
`,_=t(ee)`
|
|
136
136
|
color: ${e=>e.isTextCopied?E.primaryDark:E.neutralGrey1Light};
|
|
137
|
-
`,b=t(
|
|
137
|
+
`,b=t(R)`
|
|
138
138
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
139
139
|
display: flex;
|
|
140
140
|
border-radius: ${a.sp0};
|
|
@@ -146,4 +146,4 @@ ${o.beneficiaryAddress} ${C}`,R(c),I(!0)},i=(h,c,x,K)=>{let d,l;switch(x){case"a
|
|
|
146
146
|
border-top-width: 1px;
|
|
147
147
|
border-bottom-width: 1px;
|
|
148
148
|
}
|
|
149
|
-
`,
|
|
149
|
+
`,Ke=t.div``,Ve=t.div``;export{We as r};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as C,
|
|
1
|
+
import{u as C,B as d,j as e,s as x,ap as m,K as g,bo as j,o as r,g as p,r as k,bu as f}from"./index-B9FgmOrh.js";import{n as o,b as i}from"./vendor-rkTZJa59.js";import{t as $}from"./handshake-BPg58FML-CVKh3Eii.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 w=t=>i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...t},i.createElement("path",{d:"M1.53406 12C1.53406 13.3744 1.80477 14.7354 2.33073 16.0052C2.85669 17.2749 3.62761 18.4287 4.59946 19.4005C5.57132 20.3724 6.72507 21.1433 7.99486 21.6693C9.26465 22.1952 10.6256 22.466 12 22.466C13.3744 22.466 14.7354 22.1952 16.0052 21.6693C17.2749 21.1433 18.4287 20.3724 19.4005 19.4005C20.3724 18.4287 21.1433 17.2749 21.6693 16.0052C22.1952 14.7354 22.466 13.3744 22.466 12C22.466 10.6256 22.1952 9.26465 21.6693 7.99486C21.1433 6.72507 20.3724 5.57132 19.4005 4.59946C18.4287 3.62761 17.2749 2.85669 16.0052 2.33073C14.7354 1.80477 13.3744 1.53406 12 1.53406C10.6256 1.53406 9.26465 1.80477 7.99486 2.33073C6.72507 2.85669 5.57132 3.62761 4.59946 4.59946C3.62761 5.57132 2.85669 6.72507 2.33073 7.99486C1.80477 9.26465 1.53406 10.6256 1.53406 12Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M19 5.07007C16.93 7.07007 5 19.0701 5 19.0701",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),y=t=>i.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},i.createElement("path",{d:"M10.6522 15.4781C10.6522 15.9394 10.8354 16.3817 11.1616 16.7079C11.4877 17.034 11.9301 17.2173 12.3913 17.2173C12.8526 17.2173 13.2949 17.034 13.6211 16.7079C13.9472 16.3817 14.1304 15.9394 14.1304 15.4781C14.1304 15.0169 13.9472 14.5745 13.6211 14.2484C13.2949 13.9222 12.8526 13.739 12.3913 13.739C11.9301 13.739 11.4877 13.9222 11.1616 14.2484C10.8354 14.5745 10.6522 15.0169 10.6522 15.4781Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M19.7826 13.3044C19.7826 12.3819 19.4162 11.4972 18.7639 10.8449C18.1115 10.1926 17.2268 9.82617 16.3043 9.82617H8.47826C7.55577 9.82617 6.67106 10.1926 6.01876 10.8449C5.36646 11.4972 5 12.3819 5 13.3044V18.5218C5 19.4443 5.36646 20.329 6.01876 20.9813C6.67106 21.6336 7.55577 22.0001 8.47826 22.0001H16.3043C17.2268 22.0001 18.1115 21.6336 18.7639 20.9813C19.4162 20.329 19.7826 19.4443 19.7826 18.5218V13.3044Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M7.6087 6.78261C7.6087 5.51418 8.11258 4.29771 9.0095 3.40079C9.90641 2.50388 11.1229 2 12.3913 2C13.6597 2 14.8762 2.50388 15.7731 3.40079C16.67 4.29771 17.1739 5.51418 17.1739 6.78261V9.93565",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),n=d.getLocalizedStrings().commonSetUp.twoFactorAuthentication,L=({unlockDate:t,onSubmit:s})=>{const a=C(),h=t.format(d.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=t.format(d.getLocalizedStrings().dateFormat.visual.HHMMFormat);return e.jsxs(M,{children:[e.jsx(v,{children:n.accountLockedTitle}),e.jsxs(b,{children:[e.jsxs(c,{children:[e.jsx(l,{theme:a,children:e.jsx(z,{})}),e.jsx(x,{children:n.accountLockedSecurityMessage})]}),e.jsxs(c,{children:[e.jsx(l,{theme:a,children:e.jsx(W,{})}),e.jsxs(m,{children:[n.tryAgainAfter,e.jsxs(S,{children:[h,e.jsx(D,{children:"•"}),u]}),n.signInViaGoogleOrMicrosoft]})]}),e.jsxs(c,{children:[e.jsx(l,{theme:a,children:e.jsx(A,{})}),e.jsxs(m,{children:[n.accountLockedContactMessage,e.jsx(E,{href:`mailto:${n.zeniEmail}`,children:n.zeniEmail})]})]}),e.jsx(g,{variant:"primary",label:n.understood,onClick:s})]})]})};function q({unlockDate:t,onClose:s}){return e.jsx(j,{open:!0,onClose:s,children:e.jsx(H,{children:e.jsx(L,{unlockDate:t,onSubmit:s})})})}const M=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -56,4 +56,4 @@ import{u as C,M as d,j as e,p as x,ap as m,J as g,bo as j,o as r,g as p,t as k,b
|
|
|
56
56
|
padding: ${r.sp5} ${r.sp6};
|
|
57
57
|
background: ${t=>t.theme.colors.grey5};
|
|
58
58
|
border-radius: ${r.sp2};
|
|
59
|
-
`;export{L as AccountLockedInfo,
|
|
59
|
+
`;export{L as AccountLockedInfo,q as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as xe,f1 as fe,j as t,
|
|
1
|
+
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,o as i,y as ke,am as K,k as Z,a3 as ve,b as Ce,dL as we,eS as be,k3 as X,du as ee,s as l,u as Ee,a0 as Pe,aS as te,dO as ne,b2 as Re,g as oe,az as De}from"./index-B9FgmOrh.js";import{b as r,n as o}from"./vendor-rkTZJa59.js";import{E as Ie,C as _e,w as Fe,f as Te}from"./AccountRow-CE24vibs-BeG7a0dl.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,m as F,F as ge,bV as ye,M 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
|
+
`,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,f1 as fe,j as t,m as F,F as ge,bV as ye,M as je,bX as Se,bY as $e
|
|
|
19
19
|
z-index: 2;
|
|
20
20
|
top: ${i.sp0};
|
|
21
21
|
width: 100%;
|
|
22
|
-
`,
|
|
22
|
+
`,Be=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,m as F,F as ge,bV as ye,M 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
|
+
`,Me=o.div`
|
|
33
33
|
padding-left: ${m.containerPaddingLeft};
|
|
34
34
|
padding-right: ${m.containerPaddingRight};
|
|
35
35
|
`,Oe=o.div`
|
|
@@ -236,4 +236,4 @@ import{a as xe,f1 as fe,j as t,m as F,F as ge,bV as ye,M 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:G,expenseAutomation:{accountRecon:c}}=je.getLocalizedStrings(),ht=(e,n)=>`${e}.${n}`,mt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Ft({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:
|
|
239
|
+
`,{common:p,dateFormat:G,expenseAutomation:{accountRecon:c}}=je.getLocalizedStrings(),ht=(e,n)=>`${e}.${n}`,mt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Ft({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:Y}){const x=xe({mode:"all",reValidateMode:"onChange",defaultValues:J(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:J(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,B]=r.useState(s.linkToken??null),[a,w]=r.useState(!1),[N,M]=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),M(!1)},onCancelClick:()=>{W(void 0),M(!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:Q}=fe({token:y,onSuccess:pe,onExit:he});return r.useEffect(()=>{(F.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"&&Q&&w(!0)},[Q,y,s.fetchStatus.fetchState,s.linkToken,h,a]),r.useEffect(()=>{s.fetchStatus.fetchState==="Completed"&&s.linkToken!=null&&s.linkToken!==y&&B(s.linkToken)},[s.fetchStatus.fetchState,s.linkToken,y]),r.useEffect(()=>{a&&V()},[a,V]),t.jsxs(Ue,{children:[t.jsx(Ye,{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(Be,{onClick:$})})]})})}),t.jsxs(Me,{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:Y,showConfirmationPopup:N,setShowConfirmationPopup:M,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: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"],B=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(Qe,{children:t.jsx(_e,{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(Xe,{children:[t.jsx(A,{children:c.reconciliation.headers.clearedBalance}),t.jsx(Ge,{children:t.jsx(Fe,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(Ke,{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(_,{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(F.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:B,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:F.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:()=>{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(_,{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(_,{children:t.jsx(St,{accountSubType:X(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.lastUpdated}),t.jsx(_,{children:t.jsx(ee,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:g!=null?t.jsx(j,{children:X(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(Je,{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=F.zeniDate(`${d}-${String(n).padStart(2,"0")}-01`);let f=u.endOf("month");return`${u.format(G.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${f.format(G.visual.DMMMYYYYFormat)}`},J=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Ft as default,ht as uniqueName};
|