@zeniai/web-cockpit-ui 1.14.84-qa → 1.14.85-qa
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-BXgsd50c-RayuRG_c.js → ACHDetailsPage-Dzk7YdoJ-BKaSHUuj.js} +2 -2
- package/dist/assets/{AIPerformancePage-BdDTidCL-C4KAZN5D.js → AIPerformancePage-DBCH9dJi-bE5RWAe8.js} +19 -19
- package/dist/assets/{AccountInfoPage-w0STaK9a-DtmPJmpY.js → AccountInfoPage-Mzw-22d_-CCoqMCSF.js} +2 -2
- package/dist/assets/{AccountInfoPageContent-CsuUhHXU-BIJUOaA1.js → AccountInfoPageContent-Bjp81drF-DB2W7ayc.js} +15 -15
- package/dist/assets/{AccountLockedInfoModal-iYb31wv7-BVoKu5K7.js → AccountLockedInfoModal-Zg2PAu1o-Df3OvkzS.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-DmkLTIkW-Ctf-W4YD.js → AccountReconDetailsDrawerPage-BTkrwp4Q-Bk39KqjF.js} +9 -9
- package/dist/assets/{AccountRow-BObEIy6l-JC0yFhHa.js → AccountRow-CIsbwvGp-ZIFgl_Im.js} +10 -10
- package/dist/assets/{AccountsPromoCardStack-B8gJFsYh-DI-Y_-Io.js → AccountsPromoCardStack-DrElZh-K-B4FZzLwL.js} +13 -13
- package/dist/assets/{AddAddressForCardDrawer-vOgzMYWA-Cx4gewRv.js → AddAddressForCardDrawer-D5Kqxx0c-Bi_qZWl4.js} +1 -1
- package/dist/assets/{AddToWalletPage-BhphXgem-BhW_6xuA.js → AddToWalletPage-B68eBsAU-B-JCq2Pc.js} +5 -5
- package/dist/assets/{AgingReportsPage-DEgupWct-CpVx3Q04.js → AgingReportsPage-BlQHxYjL-CTEtpOC6.js} +4 -4
- package/dist/assets/{AllUserItems-S2DAZpO6-kxAusdwm.js → AllUserItems-DsECKAGD-B1sfm_tO.js} +4 -4
- package/dist/assets/{ApAgingDetailPage-CvDD8-s7-DGquoD-J.js → ApAgingDetailPage-Bg0ZrGXm-DfKTTbuj.js} +2 -2
- package/dist/assets/{AppBasePage-C4z5I-xG-CtjY6TFp.js → AppBasePage-tPaBc2ei-IL6Pg0vq.js} +7 -7
- package/dist/assets/{AppDrawerContent-Dka5HlPs-Bkb__PnR.js → AppDrawerContent-Cx4zDKi_-CkuEgeXL.js} +2 -2
- package/dist/assets/ApprovalRulesSettingsPage-BcRZvSQH-1Lh5lnll.js +47 -0
- package/dist/assets/{ArAgingChart-CJ7XKU9h-LfROBqc3.js → ArAgingChart-RdGwOP5k-woxI4pXg.js} +1 -1
- package/dist/assets/ArAgingDetailPage-Bh7NAVZf-BTJoCYDK.js +46 -0
- package/dist/assets/{AttachmentView-Dg6PizI7-hamHr9X2.js → AttachmentView-ClnTjRCg-BPEUwU_4.js} +6 -6
- package/dist/assets/{BankAccountSection-Chay7X-G-Z28HgbT-.js → BankAccountSection-D3sQOQ-c-BjaXUvX_.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-CSChi1lw-BsQ6oo-h.js → BankAccountWarningSection-CxLBPI_P-i3e1DCwO.js} +9 -9
- package/dist/assets/{BankConnectionsSettingsPage-DJV7q1Kp-V95L2p6f.js → BankConnectionsSettingsPage-Bsix2nzV-DJ5-P-Nn.js} +6 -6
- package/dist/assets/{BillDetailPage-DM06uZnD-F8ZzZkyq.js → BillDetailPage-B52FZrvM-1qyA-J2I.js} +10 -10
- package/dist/assets/{BillPayApprovalRuleDetailPage-MsPIxgUt-Sv6jZgUx.js → BillPayApprovalRuleDetailPage-CswUbxdi-CgSfpv2q.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BhDdco2x-CnuVsiEs.js → BillPayApprovalRulesPage-B-8sIYjs-DbiaNFOu.js} +1 -1
- package/dist/assets/{BillPayPromoPage-Dy-opG76-CjecywkF.js → BillPayPromoPage-B6jW_8rf-DXEUyex_.js} +5 -5
- package/dist/assets/{BillPaySetUpPage-DUvwWlaD-6bcs0JvT.js → BillPaySetUpPage-Rqxy02BM-BPbQCWQO.js} +2 -2
- package/dist/assets/{BillingSettingsPage-wj_sIJgc-alf7Yr1G.js → BillingSettingsPage-CPs5zrIc-CjifZajb.js} +4 -4
- package/dist/assets/{BillsBulkReviewDrawerPage-DbC84oxR-D86-edxD.js → BillsBulkReviewDrawerPage-DLQsxJi8-B39gZGlj.js} +1 -1
- package/dist/assets/{BoxItem-CdqDzfZN-C4lBJFfu.js → BoxItem-CP9cPZQd-CSn7Ygfo.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BMtHNNcG-C4macZAB.js → BusinessVerificationPage-Cayj-kYe-pSugvbna.js} +1 -1
- package/dist/assets/{CardNumberSubText-lh7fQJis-DxcsJYtX.js → CardNumberSubText-FdCtSIHd-BtBGArDp.js} +1 -1
- package/dist/assets/{CashbackDetailPage-KRbsYA09-B4B21rSt.js → CashbackDetailPage-CZICE37r-B3xb5OqW.js} +11 -11
- package/dist/assets/{ChargeCardDetailPage--WP6KTfb-DBuFHobS.js → ChargeCardDetailPage-Be2X4Rx8-B-1BNKW8.js} +27 -27
- package/dist/assets/{ChargeCardListPage-knAPmob6-DSbwddj8.js → ChargeCardListPage-DzfBzM8o-CIMnY0H5.js} +13 -13
- package/dist/assets/{ChargeCardListTable-DsfnKX3P-Fh1-EuqB.js → ChargeCardListTable-Bc-4mcCz-D2MvEBNL.js} +44 -44
- package/dist/assets/{ChargeCardPromoPage-C9610LtW-4EBblZoV.js → ChargeCardPromoPage-D_C7hXGy-Cpdn465i.js} +7 -7
- package/dist/assets/{ChargeCardSetupPage-Cy4JhjJW-BY6uHVaB.js → ChargeCardSetupPage-BwNi9-pq-CsqV0UQc.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-C7uS1jEO-IexGEsRS.js → ChargeCardStatementsPage-Bf04MOoK-69M4TX8o.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-TfiJwtqN-BjxF98AB.js → CheckDepositDrawerPage-B-A9fkGZ-DOZIezKJ.js} +7 -7
- package/dist/assets/{CollapsableReportTable-NYu8Bq-g-CWsTIw0C.js → CollapsableReportTable-DdMyzUD0--wJzCav0.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-CiVliExW-CcW3grWl.js → CompanyOfficerDetailsSection-kRtuUd2c-BDOfbcA1.js} +18 -18
- package/dist/assets/{CompanyPassportCard-8zvCdmxt-BRhXivWU.js → CompanyPassportCard-KhSJJMcy-Bi5DUkHg.js} +1 -1
- package/dist/assets/{CompanyPassportPage-AS4N7oT2-DX218yxv.js → CompanyPassportPage--ckOuqML-BcuwRrO1.js} +10 -10
- package/dist/assets/{CompleteProfile-Dj080UdJ-CiN9P0TB.js → CompleteProfile-D8egRg8d-_YNfKT6_.js} +1 -1
- package/dist/assets/{ConfettiBurst-DcCUSSaX-FzUSe03V.js → ConfettiBurst-CvRhNEAY-BX123ruM.js} +1 -1
- package/dist/assets/CreateOrEditVendorPage-DrZh60Xs-HAhEf4aG.js +281 -0
- package/dist/assets/{CreditCardPaymentDrawerPage-BKvqMwnt-ViVbJgx9.js → CreditCardPaymentDrawerPage-B7ssB1GM-FsgTe5sv.js} +8 -8
- package/dist/assets/{CurrencySelectField-ksMvik33-X-oQzLxm.js → CurrencySelectField-BXp2mtZ7-Dt0f2QTx.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-DfT_gkE4-Cu8egbhC.js → CustomerOnboardingActivationPage-BX7STQsk-CWECpMr9.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-BkPTeV9_-D0qGF62T.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DfOtXgss-D9v3243e.js → CustomerOnboardingDetailPageSkeleton-C5tSpmSB-CT9OnoNT.js} +5 -5
- package/dist/assets/{CustomerOnboardingNoStepsPage-61UorFvn-CADfl9k6.js → CustomerOnboardingNoStepsPage-CQUQlLbj-iaf9XbWt.js} +4 -4
- package/dist/assets/CustomerOnboardingPage-D0p8khnC-De7VRnWp.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-CTowHB2X-AwsQP1ww.js → CustomerOnboardingProductSuitePage-BRk3TA9f-myMy3tlD.js} +1 -1
- package/dist/assets/{Dashboard-2RpETnqH-AvqFex-D.js → Dashboard-CBOma7mv-CB-fjJXI.js} +1 -1
- package/dist/assets/{DashboardReportPage-DRRWpGiJ-BZ9L9iDT.js → DashboardReportPage-DRYx3AOy-sCN3mDaE.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-0cCKM3E9-BNIN3OuI.js → DashboardSidebarBackgroundAnimation-DYsp7Imm-DXZdIVWK.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DjbheijR-CnFza0I7.js → DepositAccTransactionItem-BQU7vZKr-DzA1dQJ_.js} +1 -1
- package/dist/assets/DepositAccTransactionListPage-DQDt_2kb-Cmoz177C.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-DuKrVIAL-CvBecXsA.js → DomesticWireDetailsPage-B0KbC9m8-C3xZlp8g.js} +1 -1
- package/dist/assets/{DownloadOverlay-f6SOW8iK-wYT98R7A.js → DownloadOverlay-D2vm9EYI-TMjbNOOf.js} +18 -18
- package/dist/assets/{DrawerPage-BkIQ6mLJ-B_5frYMF.js → DrawerPage-DHIaNEwf-BcuvEnin.js} +7 -7
- package/dist/assets/{EditPeoplePage-lZcM4Zfw-DUKuVkhQ.js → EditPeoplePage-B4OaKX89-DH6N2CrB.js} +2 -2
- package/dist/assets/{EditReimbursementDetailPage-WO3U-vVY-GokOyVTd.js → EditReimbursementDetailPage-C_JOnUnR-BYPTXCAh.js} +1 -1
- package/dist/assets/{EntityDetailPage-AP27Niqu-kfqH8lU7.js → EntityDetailPage-DGq_Sr4I-s-Vh7y0v.js} +2 -2
- package/dist/assets/{EntitySummarySection-B6khdAJg-DnNjy2K7.js → EntitySummarySection-CAKPRhm9-D3_AQ4m_.js} +10 -10
- package/dist/assets/{ExpenseAutomationOverviewPage-CcTGou9x-8xIF0tTx.js → ExpenseAutomationOverviewPage-c4H81maP-CM7wYtrQ.js} +9 -9
- package/dist/assets/{ExpenseAutomationPage-DEleaYKs-DYnoea9F.js → ExpenseAutomationPage-DoI_XKeY-KyYVm4Rg.js} +160 -160
- package/dist/assets/{ExpressPayPage-CLYzefaM-Dk6YSFR2.js → ExpressPayPage-CjhXfVeX-CBIg2-wb.js} +12 -12
- package/dist/assets/{FeaturePreviewPage-T78A34---CWpen7rV.js → FeaturePreviewPage-CwrW_5lN-CG9FDP_L.js} +1 -1
- package/dist/assets/{FollowStepsSection-B_mTbqHf-vEAOrw2N.js → FollowStepsSection-DwVibYwI-CCHij9WF.js} +6 -6
- package/dist/assets/{GlobalReviewListPage-XfxDC9vP-BoYHPWF9.js → GlobalReviewListPage-JUSXRKq4-D7AXLVyt.js} +45 -45
- package/dist/assets/{InformationCardStack-Buibt8cT-BAqP85Lc.js → InformationCardStack-CK1Ztw1n-COQwXvXn.js} +1 -1
- package/dist/assets/{InsightsCardStack-Cj5iIm_T-C9OIEU2I.js → InsightsCardStack-BKAezFjz-13npgA9C.js} +2 -2
- package/dist/assets/{InsightsSection-DuPqQb5Z-B1_CJ6S1.js → InsightsSection-Bauri5yR-DPN1_7eh.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-VZDSLMHK-7HkNgQus.js → IntegrationsSettingsPage-CnRe_xH3-CrEQxjwb.js} +9 -9
- package/dist/assets/{InternationalWireSwiftDetailsPage-BUa1svL--D_p9pN5U.js → InternationalWireSwiftDetailsPage-BJkaLuNw-Bg_pnv6g.js} +10 -10
- package/dist/assets/{InternationalWireVerificationPage-C1qKNhqJ-UJH47599.js → InternationalWireVerificationPage-pPH2bNM7-DjVbyTKO.js} +1 -1
- package/dist/assets/{InviteFormPage-GPXu2hLn-nkRrWKH8.js → InviteFormPage-CsL2egNG-DTJP9wwA.js} +1 -1
- package/dist/assets/{InvitePageListView-FEFeEFZJ-DOB91LiD.js → InvitePageListView-rt3KC_c5-CJHSWQiL.js} +33 -33
- package/dist/assets/{InvitePeoplePage-C6E594rf-BfTOrmrG.js → InvitePeoplePage-Cdr0dhtJ-DyXn-UCg.js} +4 -4
- package/dist/assets/{InvoiceUploadSection-uvB-_dyl-ZtXwm7KR.js → InvoiceUploadSection-NVvtQvoL-DpqEqqRJ.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-DSPlu840-DkzSOMVm.js → IssueChargeCardPage-D5KenKnm-D7Jw7e79.js} +13 -13
- package/dist/assets/{LabeledAddressValue-CzDn9ZY4-BvvJC2-h.js → LabeledAddressValue-Bwkw-Ez_-DfDzbIxB.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-C_8kPzjy-B8qV6Urv.js → LabeledAddressValueField-BgkRIdwJ-CPDP8vKp.js} +2 -2
- package/dist/assets/{LabeledControlledCheckBoxField-LwfkGeF--C-sgFNDj.js → LabeledControlledCheckBoxField-RzyuT5ZX-C-wG1Xfm.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-sEf-9BOE-D5r4inyT.js → LabeledCreatableSingleSelectField-BP_p62Nk-D48wVG6d.js} +2 -2
- package/dist/assets/{LabeledDocumentField-rGzXpShn-ljpFtvvt.js → LabeledDocumentField-DGncRe-Q-DRwiiLfW.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-CIQk7Jhu-DnZPHcAA.js → LabeledDropDownFormattedTextField-DWUVcIR8-BCTd_bRL.js} +7 -7
- package/dist/assets/{LabeledText-Dc-697nR-64mK5bXs.js → LabeledText-BzD_-lgI-xrg5aSMC.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B0D7IWfA-BEObQALW.js → LabeledUserSingleSelectWithSubtitlesField-D3kjxF9V-B_DLvUE2.js} +10 -10
- package/dist/assets/{LabeledZeniRolesDropDownField-BO8f1yqV-DQ1p6Tiz.js → LabeledZeniRolesDropDownField-BlmybTGB-C-kVrXJK.js} +25 -25
- package/dist/assets/{LinkJETransactionPage-DDSo8zJn-DQmP81m2.js → LinkJETransactionPage-CUnfHHeT-Dlfamkpr.js} +9 -9
- package/dist/assets/{LockCardPage-CvZcUUc8-CdhzDjL-.js → LockCardPage-2jOFCVkW-DS4nv7Va.js} +19 -19
- package/dist/assets/{LowBalancePopup-DJQCz0Ed-CIetm9UK.js → LowBalancePopup-Du0kX_mJ-B8WzESMM.js} +2 -2
- package/dist/assets/{MagicLinkACHDetailsPage-CEtaoWk8-wTULz4sv.js → MagicLinkACHDetailsPage-CkbNMu7Z-D3sVw0UF.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-qdgMQR3_-uY1axbfX.js → MagicLinkDomesticWireDetailsPage-D0XBf5_X-CxsaTBoA.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-DNwtPZ-u-B36fru_I.js → MagicLinkInternationalWireDetailsPage-Bl93T-SF-DQ07uCBL.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-60TBVrSw-C3Bb9puu.js → MagicLinkSuccessPage-C26glp7T-BOq7rCgE.js} +2 -2
- package/dist/assets/{MagicLinkTitleSection-D2fXbnDV-CRSogR9y.js → MagicLinkTitleSection-B4nxLzap-RCPRRPoc.js} +1 -1
- package/dist/assets/{MailingDetailsSection-C6cVooC3-XQiKKaRJ.js → MailingDetailsSection-Cou_W8JF-DC51Brwz.js} +1 -1
- package/dist/assets/Menu-CdF7UWPF-R23UrAsk.js +17 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-D2EPH9WZ-Dv-ZkwPt.js → MyBankConnectionsSettingsPage-BAjjxA98-CoFZsSZZ.js} +5 -5
- package/dist/assets/{MyPendingActivationChargeCardListPage-Bidsd2bk-BHUPwj-r.js → MyPendingActivationChargeCardListPage-DsRGcA8F-C4XfJ0le.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BH2ZVQTk-DkHMfeMP.js → MyProfileSettingsPage-y-iZgUqL-Caida869.js} +6 -6
- package/dist/assets/{NavBarWithPicker-Cg2TZjBi-BbjcZh07.js → NavBarWithPicker-ph4heJns-BCzHAdvF.js} +4 -4
- package/dist/assets/{NavigationArrow-CYserS2B-BkLVNIMe.js → NavigationArrow-BojAUI53-BlBjpPnB.js} +1 -1
- package/dist/assets/{NavigationDots-CT_oO_7z-ClcpkikJ.js → NavigationDots-Bf66leAL-BLHurO-c.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-D3MQU5Sh-JwYtYtso.js → NewGlobalMerchantPage-D43XJhIa-BR3jY1at.js} +5 -5
- package/dist/assets/{NoDataChart-BItQZAQ9-S55_3TEG.js → NoDataChart-6R5pxJVo-BGfPKAT7.js} +1 -1
- package/dist/assets/{NoDataTable-R8OCdB2c-D6dlg8-F.js → NoDataTable-CNx0KCKn-BT2XibSF.js} +1 -1
- package/dist/assets/{NotFoundPage-DLHYdRdN-B8g0aKra.js → NotFoundPage-CE9BW_aV-CKGas-J8.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-CIwxb6c9-BMHqzXB5.js → NotificationSettingsPage-etN6HEwO-rCbyVM4q.js} +12 -12
- package/dist/assets/{NotificationsListConfig-DSgUS0hE-Blbvq0lf.js → NotificationsListConfig-15ae4nik-ex-tLsTf.js} +1 -1
- package/dist/assets/{NotificationsPage-W5ZhprRe-lZrgymvK.js → NotificationsPage-BwbxqKxd-B9k3uvqw.js} +23 -23
- package/dist/assets/{OpExByVendorPage-DIi58wXa-C4-j8w-9.js → OpExByVendorPage-FR3oloXp-zt9ukJEA.js} +24 -24
- package/dist/assets/{OverlayContainerPage-BsY9_22w-Dt24t_bm.js → OverlayContainerPage-CrZuT2Jj-cnUmP2ys.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-BvMxFrqo-ze7p6tuk.js → PandLWithForecastPage-Bx3ZyA3l-DUdLhhJX.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-kUAm-v-A-Df5ftzDu.js → PaymentAccountSetupBillingAddressSection-R1O20DhA-DuPJZt7d.js} +6 -6
- package/dist/assets/{PeoplePage-CtnWc0LE-DMLbifxJ.js → PeoplePage-B3HRaJWz-DyZUm1U1.js} +15 -15
- package/dist/assets/{ProductsCarousel-n0ZNrr7--Cmsv1zu3.js → ProductsCarousel-Dn4vuZwM-DzGlK7VR.js} +4 -4
- package/dist/assets/{PromoBaseCards-CeS0HoCZ-3hfiayC0.js → PromoBaseCards-BKo4wO-U-CXoz-NX0.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-BxSTc99Z-CD6GLd65.js → QBOConnectionDialog-CPq0aUew-kv6e6FTT.js} +5 -5
- package/dist/assets/{QBOSetupSection-FrO9rgct-C_PUqy37.js → QBOSetupSection-BjImTh7O-BN5FY64h.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BjtdatXs-CVZb_80f.js → ReimbursementApprovalRuleDetailPage-DD1HwLO0-CMcdweVg.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-B0_FgpJf-Ct41_HUm.js → ReimbursementApprovalRulesPage-DHQHS0eD-B68Ea6Jy.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-BWhPxHY--BzwLeZBB.js → ReimbursementDetailPage-DiMXs0_o-CuJygWqO.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-CFG0yxOE-C35ZkWSa.js → ReimbursementPromoPage-BinqJ3lR-DBbNzqfV.js} +5 -5
- package/dist/assets/{ReimbursementSetUpPage-BmUdLEa9-DPiaOwzY.js → ReimbursementSetUpPage-BD6B-0CO-zumyHW0v.js} +17 -17
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CkJqhXEf-uKjpTOO-.js → ReimbursementsBulkReviewDrawerPage-DK-nCoay-DL8SFW_8.js} +1 -1
- package/dist/assets/{ReloadCard-CNKwqjPJ-YnH5lD2A.js → ReloadCard-Bt8qxAUx-DhvD6eKQ.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-B0DXgLgJ-D7Qg6jRX.js → ReportTableViewSelector-Dv7BwM1q-CHDWYQ9Z.js} +6 -6
- package/dist/assets/{ReportsPage-C5iOQU55-CNSsMo53.js → ReportsPage-BOY8oCAr-g-a1XdU1.js} +5 -5
- package/dist/assets/{RevenueChart-C2CMFAQ--9i0f6zk_.js → RevenueChart-D_yexiAR-Cdb73YB2.js} +16 -16
- package/dist/assets/{ReviewDetailsPage-5vOZ0rd7-jxMwmXxW.js → ReviewDetailsPage-Czrlb8BL-DvPkJYAO.js} +14 -14
- package/dist/assets/{ReviewOverlay-BAG_6iyV-DVCub6Uq.js → ReviewOverlay-BHUy3fWf-C9dReOH3.js} +10 -10
- package/dist/assets/{RoleWithToolTip-GUYLjJwW-r9JBfRcl.js → RoleWithToolTip-BxI2nAro-BoF2Lv-N.js} +4 -4
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-sPjMfOtt-OtvS7n4m.js → ScheduleDetailsFixedAssetsPage-DsNhFGrc-D3ykKYde.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-DI4C0o6b-BvXrDAyO.js → ScheduleDetailsPage-Dy2poGsp-KFnjNS29.js} +4 -4
- package/dist/assets/{ScheduleSequenceTable-DhXwtG-x-BxYowFsO.js → ScheduleSequenceTable-Bv1feMZc-C6gjAJ5P.js} +47 -47
- package/dist/assets/{ScreenRoutes-DVcMzFrA.js → ScreenRoutes-ZYm4L7TS.js} +1 -1
- package/dist/assets/{SetUpAccountSection-DOavnCkG-CzCWMcok.js → SetUpAccountSection-SSkLhU2W-CqLIqZLq.js} +14 -14
- package/dist/assets/{SignIn-DqrG5nEJ-DIR1_BNj.js → SignIn-Chuf9_2E-ChL0flrF.js} +10 -10
- package/dist/assets/{SignInScreen-BvkcJf23.js → SignInScreen-BvSQqwIe.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DHY_hZQm-BPwTUzGf.js → SpendManagementListViewPage-BpCZzQ7I-BFnG0p73.js} +8 -8
- package/dist/assets/{SpendManagementPerTabPage-CoKTIQ2b-B3UZW97j.js → SpendManagementPerTabPage-DbXTM50B-DdgQCPn4.js} +32 -32
- package/dist/assets/{SpendManagementSection-UkTY6qX0-BIM5797j.js → SpendManagementSection-BMU1BTEo-Mt_g6lSj.js} +12 -12
- package/dist/assets/{StatementItem-Bx6mxa3U-B9qGz6O-.js → StatementItem-qLZEMVrM-NfxUME3s.js} +5 -5
- package/dist/assets/{StatementsPage-ULjFE30P-CBDZIU10.js → StatementsPage-B3qY1D4K-BW6Sqdz2.js} +1 -1
- package/dist/assets/{StatusSwitcher-DlBY_FC1-BZi0rJQ6.js → StatusSwitcher-xQ_AW7ze-CA2waxEM.js} +1 -1
- package/dist/assets/{SubTabSwitcher-DjEElTWE-BWM1ddey.js → SubTabSwitcher-w8vLc-35-BTjQYOX_.js} +1 -1
- package/dist/assets/{SummaryCard-BNESDUnN-B_OD9ZQR.js → SummaryCard-CTq_yqTg-BUkX3_lX.js} +1 -1
- package/dist/assets/{TaskManagementPage-BFF3ATPV-CJl96IgY.js → TaskManagementPage-keXFNmIv-BKviNnTl.js} +33 -33
- package/dist/assets/{TimeRangeSwitcher-xILz-EO6-CF6h2u8x.js → TimeRangeSwitcher-C4Tph63B-CnvlU8hl.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-CZhQm7rH-LhMnQPla.js → TimeframeSwitcher-LLgotbh8-D_D5zRxK.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CduB3ZjN-Bc8snpDR.js → TimeframeSwitcherWithToggle-Cw3a9d0I-Bs9-Ocvt.js} +1 -1
- package/dist/assets/{TopExCard-C_HWsAL1-BNvPE6hk.js → TopExCard-Dj0wtF6g-DrnC-svA.js} +3 -3
- package/dist/assets/{TopExDetailPage-BEKo6juU-BpuXflks.js → TopExDetailPage-JutaMmtR-Bc6seP8u.js} +5 -5
- package/dist/assets/{TransactionDetailPage-Bzgtmi3U-CUNsBAnj.js → TransactionDetailPage-BdFHqSCv-CeCc7q4d.js} +30 -30
- package/dist/assets/{TransactionList-Dw78Q0Sx-Dd3Ecl2O.js → TransactionList-C85wyFeI-C-vWOuGh.js} +4 -4
- package/dist/assets/{TransactionListBig-BofakL17-CpCaYWGi.js → TransactionListBig-DPev2-Mm-yVr06qG2.js} +6 -6
- package/dist/assets/{TransactionListPage-tpOg0ax5-DKkGWPvy.js → TransactionListPage-D127NU4T-DEA1BnsY.js} +4 -4
- package/dist/assets/{TransactionVendorDetailPage-BqIcXz6b-DFVXpfQo.js → TransactionVendorDetailPage-BJ1YnPif-DwRXQsxr.js} +5 -5
- package/dist/assets/{TransferDrawerPage-DnnZBOyK-DHPnGpDx.js → TransferDrawerPage-DcrfmXH1-azJNfbL9.js} +21 -21
- package/dist/assets/{TreasuryOverviewPage-C9ROzNHl-dAyZi1PP.js → TreasuryOverviewPage-D-Zw4Npq-B_aQ78ZT.js} +22 -22
- package/dist/assets/{TreasuryPromoPage--j_2YjQn-DrWu-589.js → TreasuryPromoPage-BhBPhhbb-DSQU3Za1.js} +131 -131
- package/dist/assets/{TreasuryStatementsPage-BLrceDQm-B1HbugZ0.js → TreasuryStatementsPage-Dxjg_QN7-BikH7VDM.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-BoqkgdLm-B7t38h3i.js → TreasuryTaxLetterPage-Dm552RDZ-BnMxv4IS.js} +7 -7
- package/dist/assets/{TrendChart-KnFi8NXQ-BLbRutmX.js → TrendChart-_c8z5Kxm-BWOHYiVc.js} +1 -1
- package/dist/assets/{TrendWithTransactions-C_T0I9xe-B2RFC6B8.js → TrendWithTransactions-B2rde1MW-bMdNjEiM.js} +4 -4
- package/dist/assets/{UncategorizedAccountsMappingPage-DOuzy2aS-Cjy9zZxx.js → UncategorizedAccountsMappingPage-77nkQFar-j8iYmcxc.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-DxhlNHvt-BFh73dHR.js → UnitIntegrationPage-3_YMV_f4-C7d-WsKT.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-BAvSyhDW-D9eq74iT.js → UploadAdditionalDocumentOverlay-D72fkcgM-B3vVka1C.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BFjVFON8-D578XUKc.js → Vendor2FAPopup-DLbGF5_q-BbOpTpz3.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-8BG5DD-0-DML5nDiV.js → VendorACHDetailsPage-CaNQylEA-BYgrqYPD.js} +1 -1
- package/dist/assets/{VendorDetailPage-C16CrNJo-lfwKJzFE.js → VendorDetailPage-DqdH4UMj-VRDmeuC2.js} +18 -18
- package/dist/assets/{VendorDomesticWireDetailsPage-DXhugXZa-D2deiUxT.js → VendorDomesticWireDetailsPage-9pyV_r_g-D90FkLpZ.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-2QPpdbuN-DmV9iFrX.js → VendorFiling1099EditablePage-nb9_V73Z-DDwxYok1.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-DLshEh_s-29QEqBR3.js → VendorFirstReviewPage-C2RjaA8x-8-x_5ztb.js} +58 -58
- package/dist/assets/{VendorInternationalWireDetailsPage-_WoNgw66-RXvmQY2U.js → VendorInternationalWireDetailsPage-VOAgofls-OVhEVANW.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Dyt1ZPOh-Dvv7mFPN.js → VendorInternationalWireSwiftDetailsPage-CcRuLO-_-B-hlEjh8.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-Dxq0YSgP-CQ3Vw-hX.js → VendorsAccountsSection-RzVUJ8IV-CQYg7bhr.js} +14 -14
- package/dist/assets/{VerifyDevice-DEwEqoHA-o-B1EyGV.js → VerifyDevice-DUxQHfLf-DmDw91a7.js} +1 -1
- package/dist/assets/{VideoPlayer-_1Msrww9-DzCjuwYG.js → VideoPlayer-BxuhQQfM-BLB3D1Ho.js} +1 -1
- package/dist/assets/{VideoPopup-BzQ_Dl9b-CPjeGrGA.js → VideoPopup-DdtmLcPB-DcKI9zHT.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-CMBST3p1-By1WKuQW.js → WarningsDrawerPage-DC5ophK0-CB2XJ-M-.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-DVLYYC-q-C2IM3BG5.js → ZeniAccountDetailPage-C1KKeyYC-CUbyaa1B.js} +14 -14
- package/dist/assets/{ZeniAccountListViewPage-BHkoMOx5--XEIxzf-.js → ZeniAccountListViewPage-Bw5_2Q-c-C2zPdexY.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-CCFzNOcx-BTbwqUAG.js → ZeniAccountNavBarPieces-DlfwFtOB-5k_hUo-v.js} +3 -3
- package/dist/assets/{ZeniAccountPromoPage-C3Rl-hWL-Dxr3qnyn.js → ZeniAccountPromoPage-B8cXf7Ni-Bvx2nr8r.js} +13 -13
- package/dist/assets/{ZeniAccountSetupPage-Bf1OOF0Q-CVWU_nTY.js → ZeniAccountSetupPage-Cae0pB-b-D6we0_wu.js} +3 -3
- package/dist/assets/{ZeniCopyright-CdqD8vO4-GOUGz5oO.js → ZeniCopyright-gTS4uZlF-9d53P3V0.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BTudpQjV-C-ERY6Ys.js → ZeniTransferAmountSlider-17kY7kNO-CSMzaVAX.js} +1 -1
- package/dist/assets/analyticsHelper-BxikVYXm.js +1 -0
- package/dist/assets/{analyticsHelper-_u1yj9ge-CQN7AQjp.js → analyticsHelper-DXVBA0aW-CSspLHH9.js} +1 -1
- package/dist/assets/{chartTypes-vQ8GTDEq-Bzji-J7a.js → chartTypes-BXBHlosV-Cc-jEoVc.js} +1 -1
- package/dist/assets/{commonDimensions-znFHURNY-BYw9nu0T.js → commonDimensions-Bm2CSHrw-BKSCi07X.js} +1 -1
- package/dist/assets/{detailCommon-DmLhlrjU-QJ3x5gZG.js → detailCommon-VW4xegQy-DmnH63_j.js} +3 -3
- package/dist/assets/{downloadPdf-CCUPfpyu-CLDRZEaM.js → downloadPdf-DUAAPKqC-D7Ynipfz.js} +1 -1
- package/dist/assets/{index-DdsM_njZ.js → index-CMt9tlas.js} +3698 -3698
- package/dist/assets/{mapLoadingInProgressToTreeNode-Cw74bTou-DytzWuKd.js → mapLoadingInProgressToTreeNode-D5WZ1WGx-DiAz3qps.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CWFxnMpB-CaiEsiC-.js → mapSectionWithAcOnlyToTreeNode-BxzLwMCb-Dlepwbuz.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-JUrBuZAz-CZWi6rgT.js → mapSpacerToTreeNode-CScyNZ9s-BXHJzapf.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-B2iYfeF3-DPdNoTaa.js → mapTimeframeBalancesToTreeNode-Caj8eqsL-BMo8_7tN.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BbQHYZk7-BsTucrUk.js → mapTimeframeBalancesToTreeNode-CdVqeC27-D8CtL2AH.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BeqGSN9x-CRBIGAA9.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CUFXYz6j-T1aD5fLz.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DeZfEmbT-BYnyj8Vs.js → toCOABalancesWithID-CqzWoD-C-CxRkcbP_.js} +1 -1
- package/dist/assets/{toChartData-KibzV7pa-BIBW1wkQ.js → toChartData-X878W8tN-D2MfBzaW.js} +1 -1
- package/dist/assets/{uploadAttachment-U9nX0Ka9-ByggkyFe.js → uploadAttachment-DNKgJox4-DLP_GDHJ.js} +13 -13
- package/dist/assets/{uploadReceipts-CDPM7zcb-Bl8TSXaa.js → uploadReceipts-Bkf_PaOH-DXE1bIi8.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/ApprovalRulesSettingsPage-BOJE5Fb_-CtBvorfk.js +0 -47
- package/dist/assets/ArAgingDetailPage-ZjaiAH-C-P2cbl-8k.js +0 -46
- package/dist/assets/CreateOrEditVendorPage-flCFtC2N-AdYl79w3.js +0 -281
- package/dist/assets/CustomerOnboardingContainerPage-DZ9vkiEO--NuA2aDE.js +0 -1
- package/dist/assets/CustomerOnboardingPage-C12XXjv0-BcXZ0f7B.js +0 -107
- package/dist/assets/DepositAccTransactionListPage-keSFBKDU-DxyDpFrs.js +0 -66
- package/dist/assets/Menu-D_6Dje0H-BZ0tGHak.js +0 -17
- package/dist/assets/analyticsHelper-BHPP6wwz.js +0 -1
package/dist/assets/{ACHDetailsPage-BXgsd50c-RayuRG_c.js → ACHDetailsPage-Dzk7YdoJ-BKaSHUuj.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as
|
|
1
|
+
import{Q as V,a8 as W,F as A,cB as E,V as n,cm as F,cn as H,co as O,ab as Y,aO as Q,y as s,eV as U,b5 as _,o as q,u as t}from"./index-CMt9tlas.js";import{a as x}from"./core-3dlyNYRL.js";import{n as d}from"./mui-bYXq4XMS.js";import{W as G,A as J}from"./BankAccountWarningSection-CxLBPI_P-i3e1DCwO.js";import{j as K}from"./MagicLinkTitleSection-B4nxLzap-RCPRRPoc.js";import{e as X}from"./BankAccountSection-D3sQOQ-c-BjaXUvX_.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`,ue=({bankAccountCreationState:e,bankAccountToCreate:g,fetchBankNameByRoutingStatus:k,isDisabled:y,style:T,onSaveHandler:N,onBackClick:f,onACHDetailsUpdated:j,onFetchBankName:w,isMagicLink:u,companyName:v,currencySymbol:$,amount:D,bankAccountContext:P})=>{const c=V(),i=W({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Z(g),[g])}),[z,m]=x.useState(!1),r=A.getLocalizedStrings().spendManagement.billPay.vendorCreation,L=A.getLocalizedStrings().common.footer,{achDetails:C,bankAccountCommon:h}=r,R={onOkClick:()=>{m(!1),i.reset(),f?.()},onCancelClick:()=>{m(!1)}},M=async(p,l)=>{const o=l[b].bankRoutingNumber;j(l),p===`${b}.bankRoutingNumber`&&o?.length===9&&U.test(o)===!0&&w?.(o)};x.useEffect(()=>{const p=i.watch((l,{name:o})=>{o!=null&&l!=null&&E(()=>M(o,l))});return()=>{p.unsubscribe()}});const I=i.handleSubmit(p=>{k.fetchState!=="In-Progress"&&N("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:T,size:c,children:[z===!0?n.jsx(F,{titleComponent:n.jsx(O,{children:r.discardTitle}),descriptionComponent:n.jsx(H,{children:r.discardDescription}),primaryButtonText:r.discard,secondaryButtonText:r.cancel,action:R}):null,n.jsx(G,{header:u?n.jsx(K,{companyName:v??"",currencySymbol:$??"",amount:D??0}):C.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,P==="express-pay"?null:n.jsx(ae,{size:c,children:C.title}),n.jsx(ie,{children:n.jsx(Y,{...i,children:n.jsx("form",{id:S(B),onSubmit:I,children:n.jsx(ee,{size:c,children:n.jsx(X,{bankAccountToCreate:g,fetchBankNameByRoutingStatus:k,sectionId:b,isDisabled:y})})})})})]}),n.jsx(Q,{formId:S(B),primaryBtn:{label:u?h.submitDetails:h.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(c)},isDisabled:y!=null},showCancel:!u,cancelBtn:{label:L.cancel,style:{width:a.buttonWidth.value(c)},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)};
|
|
@@ -16,6 +16,6 @@ import{Q as W,a8 as E,F as A,cB as V,V as n,cm as F,cn as H,co as O,ab as U,aO a
|
|
|
16
16
|
color: ${e=>e.theme.colors.champion};
|
|
17
17
|
margin-left: ${e=>a.sectionTitleMarginLeft.valuePx(e.size)};
|
|
18
18
|
margin-top: ${e=>a.sectionTitleMarginTop.valuePx(e.size)};
|
|
19
|
-
`,
|
|
19
|
+
`,ie=d.div`
|
|
20
20
|
margin-top: ${q.sp5};
|
|
21
21
|
`;export{ue as f};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as k,a7 as y1,Q as M,F as j,ca as j1,V as C,aK as $1,bQ as v1,o as r,
|
|
1
|
+
import{y as k,a7 as y1,Q as M,F as j,ca as j1,V as C,aK as $1,bQ as v1,o as r,k3 as T,b as D,ch as b1,u as n,bM as f,du as h1,p as d,a6 as S1,b1 as p1,d as m1,k4 as g,ag as x,k5 as Z1,k6 as B1,aq as S,E as J,b5 as X,al as F1,k7 as W1,dP as _1,fZ as D1,cf as k1,ak as H1}from"./index-CMt9tlas.js";import{a as e}from"./core-3dlyNYRL.js";import{n as o,b as P1,k as T1}from"./mui-bYXq4XMS.js";import{gd as E,ge as e1,gf as F}from"./zeni-epic-state-LPACxnXP.js";import{R as V1}from"./NavBarWithPicker-ph4heJns-BCzHAdvF.js";import{A as u1,X as x1,Y as U,C as z1,T as O1,a as t1}from"./recharts-BHhx6CLo.js";import"./sentry-o6h_D-9x.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./lexical-DPEnH3HH.js";const C1={titleLoaderWidth:new k(200,200,300),subtitleLoaderWidth:new k(100,100,200)},R1=o.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 100%;
|
|
4
4
|
border: 1px solid ${t=>t.theme.colors.grey3};
|
|
@@ -39,16 +39,16 @@ import{y as k,a7 as y1,Q as M,F as j,ca as j1,V as C,aK as $1,bQ as v1,o as r,k2
|
|
|
39
39
|
box-shadow: ${t=>t.theme.colors.elevation1};
|
|
40
40
|
background-color: ${t=>t.theme.colors.grey5};
|
|
41
41
|
padding: ${r.sp4};
|
|
42
|
-
`,
|
|
42
|
+
`,J1=o.div`
|
|
43
43
|
display: flex;
|
|
44
44
|
align-items: flex-start;
|
|
45
45
|
gap: ${r.sp4};
|
|
46
46
|
margin-bottom: ${r.sp5};
|
|
47
|
-
`,
|
|
47
|
+
`,X1=o.div`
|
|
48
48
|
display: flex;
|
|
49
49
|
flex-direction: column;
|
|
50
50
|
gap: ${r.sp2};
|
|
51
|
-
`,
|
|
51
|
+
`,Y1=o.div`
|
|
52
52
|
display: flex;
|
|
53
53
|
flex-direction: column;
|
|
54
54
|
gap: ${r.sp4};
|
|
@@ -70,7 +70,7 @@ import{y as k,a7 as y1,Q as M,F as j,ca as j1,V as C,aK as $1,bQ as v1,o as r,k2
|
|
|
70
70
|
display: flex;
|
|
71
71
|
flex-direction: column;
|
|
72
72
|
gap: ${r.sp1};
|
|
73
|
-
`,t2=({customStyle:t})=>C.jsxs(K1,{style:t,children:[C.jsx(
|
|
73
|
+
`,t2=({customStyle:t})=>C.jsxs(K1,{style:t,children:[C.jsx(J1,{children:C.jsxs(X1,{children:[C.jsx(f,{width:180,height:n[4]}),C.jsx(f,{width:300,height:21})]})}),C.jsx(Y1,{children:[...Array(3)].map((a,s)=>C.jsxs(q1,{children:[C.jsxs(Q1,{children:[C.jsx(h1,{width:n[6],height:n[6]}),C.jsxs(e2,{children:[C.jsx(f,{width:120,height:18}),C.jsx(f,{width:n[11],height:n[3]})]})]}),C.jsx(f,{width:n[11],height:18}),C.jsx(f,{width:n[11],height:18})]},s))})]}),C2={containerMarginLeft:new k(0,0,n[9],n[9],n[9])},r2=o.div`
|
|
74
74
|
display: flex;
|
|
75
75
|
flex-direction: row;
|
|
76
76
|
margin-left: ${t=>C2.containerMarginLeft.valuePx(t.windowSize)};
|
|
@@ -141,7 +141,7 @@ import{y as k,a7 as y1,Q as M,F as j,ca as j1,V as C,aK as $1,bQ as v1,o as r,k2
|
|
|
141
141
|
display: flex;
|
|
142
142
|
align-items: center;
|
|
143
143
|
gap: 12px;
|
|
144
|
-
`,w2=o(
|
|
144
|
+
`,w2=o(X)`
|
|
145
145
|
color: ${t=>t.theme.colors.primary};
|
|
146
146
|
margin-left: ${r.sp3};
|
|
147
147
|
`,O=o(c2)`
|
|
@@ -222,7 +222,7 @@ import{y as k,a7 as y1,Q as M,F as j,ca as j1,V as C,aK as $1,bQ as v1,o as r,k2
|
|
|
222
222
|
gap: ${r.sp1};
|
|
223
223
|
margin-top: ${r.sp5};
|
|
224
224
|
align-items: baseline;
|
|
225
|
-
`,R=o(
|
|
225
|
+
`,R=o(J)`
|
|
226
226
|
color: ${t=>t.theme.colors.primary};
|
|
227
227
|
gap: ${r.sp2};
|
|
228
228
|
`,R2=o(W1)`
|
|
@@ -254,11 +254,11 @@ import{y as k,a7 as y1,Q as M,F as j,ca as j1,V as C,aK as $1,bQ as v1,o as r,k2
|
|
|
254
254
|
display: flex;
|
|
255
255
|
flex-direction: column;
|
|
256
256
|
gap: ${r.sp1};
|
|
257
|
-
`,
|
|
257
|
+
`,J2=o(S)`
|
|
258
258
|
color: ${d.graphColor16Dark};
|
|
259
|
-
`,
|
|
259
|
+
`,X2=o(x)`
|
|
260
260
|
color: ${t=>t.theme.colors.brandColorOnyx};
|
|
261
|
-
`,
|
|
261
|
+
`,Y2=o.div`
|
|
262
262
|
width: ${r.sp7};
|
|
263
263
|
height: ${r.sp7};
|
|
264
264
|
min-width: ${r.sp7};
|
|
@@ -277,7 +277,7 @@ import{y as k,a7 as y1,Q as M,F as j,ca as j1,V as C,aK as $1,bQ as v1,o as r,k2
|
|
|
277
277
|
display: flex;
|
|
278
278
|
align-items: flex-end;
|
|
279
279
|
gap: ${r.sp1};
|
|
280
|
-
`,W=o(
|
|
280
|
+
`,W=o(J)`
|
|
281
281
|
font-size: 28px;
|
|
282
282
|
color: ${t=>t.theme.colors.brandColorOnyx};
|
|
283
283
|
`,e3=o(x)`
|
|
@@ -288,7 +288,7 @@ import{y as k,a7 as y1,Q as M,F as j,ca as j1,V as C,aK as $1,bQ as v1,o as r,k2
|
|
|
288
288
|
width: ${r.sp4};
|
|
289
289
|
height: ${r.sp4};
|
|
290
290
|
color: ${t=>t.theme.colors.brandColorOnyx};
|
|
291
|
-
`;function C3({performanceSummary:t,currency:a,isPerformanceReportNotFound:s}){const{common:i,aiPerformanceDashboard:l}=j.getLocalizedStrings(),c=M(),h=v=>Math.round(v/60),p=Z1(t.forecastAnnualSavings.timeSavedMinutes).toFixed(),u=B1(t.forecastAnnualSavings.timeSavedMinutes).toFixed();return C.jsx(A2,{windowSize:c,children:C.jsxs(U2,{windowSize:c,children:[C.jsx(
|
|
291
|
+
`;function C3({performanceSummary:t,currency:a,isPerformanceReportNotFound:s}){const{common:i,aiPerformanceDashboard:l}=j.getLocalizedStrings(),c=M(),h=v=>Math.round(v/60),p=Z1(t.forecastAnnualSavings.timeSavedMinutes).toFixed(),u=B1(t.forecastAnnualSavings.timeSavedMinutes).toFixed();return C.jsx(A2,{windowSize:c,children:C.jsxs(U2,{windowSize:c,children:[C.jsx(Y2,{children:C.jsx(t3,{})}),C.jsxs(I2,{children:[C.jsxs(K2,{children:[C.jsx(J2,{children:l.annualizedImpact.title}),C.jsx(X2,{children:l.annualizedImpact.subtitle})]}),C.jsxs(q2,{isPerformanceReportNotFound:s,windowSize:c,children:[C.jsxs(n1,{children:[C.jsx(x,{style:{color:d.graphColor16Dark},children:l.aiTimeSavedTile.title}),s?C.jsx(W,{children:i.strings.hyphen}):C.jsxs(Q2,{children:[C.jsxs(W,{children:[Number(h(t.forecastAnnualSavings.timeSavedMinutes).toFixed()).toLocaleString()," "]}),C.jsxs(e3,{children:[i.timeStrings.hours,i.strings.space,Number(p)<=1?C.jsxs(C.Fragment,{children:[i.strings.openingBrace,Number(u).toLocaleString(),i.strings.space,Number(u)>1?i.timeStrings.days:i.timeStrings.day,i.strings.closingBrace]}):C.jsxs(C.Fragment,{children:[i.strings.openingBrace,Number(p).toLocaleString(),i.strings.space,Number(p)<2?i.timeStrings.week:i.timeStrings.weeks,i.strings.closingBrace]})]})]})]}),C.jsxs(n1,{children:[C.jsx(x,{style:{color:d.graphColor16Dark},children:l.aiCostSavedTile.title}),s?C.jsx(W,{children:i.strings.hyphen}):C.jsxs(W,{children:[a.currencySymbol,Number(t.forecastAnnualSavings.costSaved.toFixed()).toLocaleString()]})]})]})]})]})})}const r3=t=>e.createElement("svg",{width:91,height:90,viewBox:"0 0 91 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.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}),e.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"}),e.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}),e.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"}),e.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"}),e.createElement("path",{d:"M10.2031 58.269C10.5781 57.219 11.6881 54.714 13.1281 53.094",stroke:"#97C3B9",strokeWidth:.9}),e.createElement("path",{d:"M16.5034 49.2688C17.2972 48.4859 19.2031 46.5689 21.0822 45.6607",stroke:"#97C3B9",strokeWidth:.9}),e.createElement("path",{d:"M9.07801 63.219C9.00301 64.194 9.03301 66.729 9.75301 69.069",stroke:"#97C3B9",strokeWidth:.9}),e.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}),e.createElement("path",{d:"M32.9281 78.969H39.0031M43.7281 78.969H50.2531M54.9781 78.969H61.2781",stroke:"#97C3B9",strokeWidth:.9}),e.createElement("path",{d:"M66.0031 79.4189C67.2031 79.4189 70.0981 79.5539 72.0781 80.0939",stroke:"#97C3B9",strokeWidth:.9}),e.createElement("path",{d:"M76.8031 81.4438C77.9281 81.7438 80.6281 82.6588 82.4281 83.9188",stroke:"#97C3B9",strokeWidth:.9})),o3=o.div`
|
|
292
292
|
display: flex;
|
|
293
293
|
flex-direction: column;
|
|
294
294
|
background-color: ${t=>t.theme.colors.grey5};
|
|
@@ -329,7 +329,7 @@ import{y as k,a7 as y1,Q as M,F as j,ca as j1,V as C,aK as $1,bQ as v1,o as r,k2
|
|
|
329
329
|
display: flex;
|
|
330
330
|
flex-direction: column;
|
|
331
331
|
gap: ${r.sp1};
|
|
332
|
-
`,u3=o(
|
|
332
|
+
`,u3=o(X)`
|
|
333
333
|
max-width: 400px;
|
|
334
334
|
color: ${t=>t.theme.colors.brandColorOpalDark};
|
|
335
335
|
z-index: 1;
|
|
@@ -380,7 +380,7 @@ import{y as k,a7 as y1,Q as M,F as j,ca as j1,V as C,aK as $1,bQ as v1,o as r,k2
|
|
|
380
380
|
display: flex;
|
|
381
381
|
flex-direction: column;
|
|
382
382
|
gap: ${t=>y3.headerGap.valuePx(t.windowSize)};
|
|
383
|
-
`,B3=o(
|
|
383
|
+
`,B3=o(X)`
|
|
384
384
|
max-width: 400px;
|
|
385
385
|
color: ${t=>t.theme.colors.brandColorOpalDark};
|
|
386
386
|
`,F3=o.div`
|
|
@@ -455,7 +455,7 @@ import{y as k,a7 as y1,Q as M,F as j,ca as j1,V as C,aK as $1,bQ as v1,o as r,k2
|
|
|
455
455
|
display: flex;
|
|
456
456
|
align-items: flex-end;
|
|
457
457
|
gap: ${r.sp1};
|
|
458
|
-
`,N=o(
|
|
458
|
+
`,N=o(J)`
|
|
459
459
|
color: ${t=>t.theme.colors.brandColorOnyx};
|
|
460
460
|
font-size: 28px;
|
|
461
461
|
`,A=o(x)`
|
|
@@ -466,7 +466,7 @@ import{y as k,a7 as y1,Q as M,F as j,ca as j1,V as C,aK as $1,bQ as v1,o as r,k2
|
|
|
466
466
|
width: ${r.sp4};
|
|
467
467
|
height: ${r.sp4};
|
|
468
468
|
color: ${t=>t.theme.colors.brandColorOnyx};
|
|
469
|
-
`;function I3({performanceSummary:t,currency:a,isPerformanceReportNotFound:s}){const{common:i,aiPerformanceDashboard:l}=j.getLocalizedStrings(),c=M();return C.jsx(T3,{windowSize:c,children:C.jsxs(V3,{windowSize:c,children:[C.jsx(N3,{children:C.jsx(U3,{})}),C.jsxs(z3,{children:[C.jsxs(O3,{children:[C.jsx(R3,{children:l.valueDelivered.title}),C.jsx(G3,{children:l.valueDelivered.subtitle})]}),C.jsxs(A3,{isPerformanceReportNotFound:s,windowSize:c,children:[C.jsxs(d1,{children:[C.jsx(x,{style:{color:d.brandColorGoldDark},children:l.valueDelivered.title}),s?C.jsx(N,{children:i.strings.hyphen}):C.jsxs(G,{children:[C.jsxs(N,{children:[(100*t.valueMultiplier).toFixed(),i.strings.percentage]}),C.jsxs(A,{children:[i.strings.openingBrace,a.currencySymbol,Number(t.valueDelivered.toFixed()).toLocaleString(),i.strings.closingBrace]})]})]}),!s&&C.jsx(G,{children:C.jsx(A,{children:i.of})}),C.jsxs(d1,{children:[C.jsx(x,{style:{color:d.brandColorGoldDark},children:l.valueDelivered.zeniSubscriptionPlan}),C.jsxs(G,{children:[C.jsxs(N,{children:[a.currencySymbol,s?`${i.currency.currencySymbol}499`:Number(t.subscriptionCost.toFixed()).toLocaleString()]}),C.jsxs(A,{children:[i.strings.backspace,i.timeStrings.month]})]})]})]})]})]})})}const _={contentPaddingLeft:new k(n[3],n[3],n[8]),contentPaddingRight:new k(n[3],n[3],n[8]),containerPadding:new k(n[4],n[4],n[8]),savingsChartMinWidth:new k(300,300,500)},K3=new k(52,52,62),
|
|
469
|
+
`;function I3({performanceSummary:t,currency:a,isPerformanceReportNotFound:s}){const{common:i,aiPerformanceDashboard:l}=j.getLocalizedStrings(),c=M();return C.jsx(T3,{windowSize:c,children:C.jsxs(V3,{windowSize:c,children:[C.jsx(N3,{children:C.jsx(U3,{})}),C.jsxs(z3,{children:[C.jsxs(O3,{children:[C.jsx(R3,{children:l.valueDelivered.title}),C.jsx(G3,{children:l.valueDelivered.subtitle})]}),C.jsxs(A3,{isPerformanceReportNotFound:s,windowSize:c,children:[C.jsxs(d1,{children:[C.jsx(x,{style:{color:d.brandColorGoldDark},children:l.valueDelivered.title}),s?C.jsx(N,{children:i.strings.hyphen}):C.jsxs(G,{children:[C.jsxs(N,{children:[(100*t.valueMultiplier).toFixed(),i.strings.percentage]}),C.jsxs(A,{children:[i.strings.openingBrace,a.currencySymbol,Number(t.valueDelivered.toFixed()).toLocaleString(),i.strings.closingBrace]})]})]}),!s&&C.jsx(G,{children:C.jsx(A,{children:i.of})}),C.jsxs(d1,{children:[C.jsx(x,{style:{color:d.brandColorGoldDark},children:l.valueDelivered.zeniSubscriptionPlan}),C.jsxs(G,{children:[C.jsxs(N,{children:[a.currencySymbol,s?`${i.currency.currencySymbol}499`:Number(t.subscriptionCost.toFixed()).toLocaleString()]}),C.jsxs(A,{children:[i.strings.backspace,i.timeStrings.month]})]})]})]})]})]})})}const _={contentPaddingLeft:new k(n[3],n[3],n[8]),contentPaddingRight:new k(n[3],n[3],n[8]),containerPadding:new k(n[4],n[4],n[8]),savingsChartMinWidth:new k(300,300,500)},K3=new k(52,52,62),J3=o.div`
|
|
470
470
|
display: flex;
|
|
471
471
|
width: 100%;
|
|
472
472
|
flex-direction: column;
|
|
@@ -481,13 +481,13 @@ import{y as k,a7 as y1,Q as M,F as j,ca as j1,V as C,aK as $1,bQ as v1,o as r,k2
|
|
|
481
481
|
top: ${r.sp0};
|
|
482
482
|
width: 100%;
|
|
483
483
|
${t=>t.isScrolled&&`border-bottom: 1px solid ${t.theme.colors.grey3}`}
|
|
484
|
-
`,
|
|
484
|
+
`,X3=o.div`
|
|
485
485
|
display: flex;
|
|
486
486
|
flex-direction: column;
|
|
487
487
|
gap: ${r.sp3};
|
|
488
488
|
width: 100%;
|
|
489
489
|
background-color: ${t=>t.theme.colors.grey4};
|
|
490
|
-
`,
|
|
490
|
+
`,Y3=o.div`
|
|
491
491
|
padding: 0 ${t=>_.containerPadding.valuePx(t.windowSize)};
|
|
492
492
|
`,q3=o.div`
|
|
493
493
|
display: flex;
|
|
@@ -536,4 +536,4 @@ import{y as k,a7 as y1,Q as M,F as j,ca as j1,V as C,aK as $1,bQ as v1,o as r,k2
|
|
|
536
536
|
&:hover {
|
|
537
537
|
color: ${t=>t.theme.colors.primary};
|
|
538
538
|
}
|
|
539
|
-
`,i4=(t,a)=>t===a?`(${T(t)})`:`(${T(t)} - ${T(a)})`;function g4({aggregatedReport:t,onBackClick:a,onReload:s,onTimeRangeSelect:i,onClickMenuIcon:l}){const c=y1().analytics,h=M(),{common:p}=j.getLocalizedStrings(),[u,v]=e.useState(!1),[y,$]=e.useState(null),H=[...e1],w=e1[1],[P,
|
|
539
|
+
`,i4=(t,a)=>t===a?`(${T(t)})`:`(${T(t)} - ${T(a)})`;function g4({aggregatedReport:t,onBackClick:a,onReload:s,onTimeRangeSelect:i,onClickMenuIcon:l}){const c=y1().analytics,h=M(),{common:p}=j.getLocalizedStrings(),[u,v]=e.useState(!1),[y,$]=e.useState(null),H=[...e1],w=e1[1],[P,Y]=e.useState(E(w)),[Z,q]=e.useState(w),[g1,f1]=e.useState(!1);j1({componentName:"aiPerformance",enabled:t.fetchState==="Completed"});const b=t.fetchState==="Not-Started"||t.fetchState==="In-Progress",L=t.fetchState==="Error",L1=m=>m.flatMap(M1=>M1.eventGroups.map(B=>({event_name:B.eventName,events_count:B.eventsCount,time_saved_in_minutes:B.timeSavedInMinutes,total_cost_saved:B.totalCostSaved})));e.useEffect(()=>{$("home"),i(E(Z).fromMonth,E(Z).toMonth)},[]),e.useEffect(()=>{if(t.fetchState==="Completed"&&y){const m={period_selected:Z,cost_saved:t.summary.totalCostSaved,time_saved:t.summary.totalTimeSavedMinutes,task_performed:L1(t.personas)};y==="home"?c.trackAIPerfHome(m):y==="refresh"?c.trackAIPerfRefresh(m):y==="timePeriodSelect"&&c.trackAIPerfTimePeriodSelect(m),$(null)}},[t.fetchState,y]),e.useEffect(()=>{const m=()=>{f1(window.scrollY>0)};return window.addEventListener("scroll",m),m(),()=>{window.removeEventListener("scroll",m)}},[]);const E1=C.jsx(C4,{"data-testid":`${$1("ai-performance-page","refresh-icon")}`,onClick:()=>{v(!0),$("refresh"),s(E(w).fromMonth,E(w).toMonth),q(w),Y(E(w))},children:C.jsx(v1,{style:{marginTop:r.sp1},placement:"bottom",title:p.texts.refresh,enterDelay:600,children:C.jsx(o4,{spinning:b&&u})})}),w1={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:H,valueToLabel:m=>m,selectedValue:`${Z} ${i4(P.fromMonth,P.toMonth)}`,titleTextStyle:D.largeMedium,onPickerSelectionChanged:m=>{m!=null&&($("timePeriodSelect"),q(F(m)),Y(E(F(m))),i(E(F(m)).fromMonth,E(F(m)).toMonth))},styles:{justifyContent:h==="small"?"left":"center"},isPickerDisabled:!1},onBackClick:a,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:l,rightSideComponent:E1},Q=Number.parseFloat((t?.summary?.totalTimeSavedMinutes/60).toFixed());return C.jsxs(X3,{children:[C.jsx(J3,{isScrolled:g1,windowSize:h,paddingLeft:_.contentPaddingLeft.value(h),paddingRight:_.contentPaddingRight.value(h),children:C.jsx(V1,{...w1})}),C.jsxs(Y3,{windowSize:h,children:[C.jsxs(q3,{windowSize:h,children:[C.jsxs(e4,{windowSize:h,children:[b?C.jsx(r1,{customStyle:{margin:`0 0 ${r.sp3} 0`}}):C.jsx(i1,{type:"cost",value:L?`${p.strings.hyphen}`:Number(t.summary?.totalCostSaved.toFixed()).toLocaleString(),currency:t.currency,style:{margin:`0 0 ${r.sp3} 0`},noData:L}),b?C.jsx(r1,{customStyle:{margin:"0"}}):C.jsx(i1,{type:"time",value:L?`${p.strings.hyphen}`:t.summary?.totalTimeSavedMinutes<60?Number(t.summary?.totalTimeSavedMinutes).toFixed().toLocaleString():Q.toLocaleString(),currency:t.currency,noData:L,timeUnit:L?"":t.summary?.totalTimeSavedMinutes<60?t.summary?.totalTimeSavedMinutes>1?p.timeStrings.minutes:p.timeStrings.minute:Q>1?p.timeStrings.hours:p.timeStrings.hour})]}),C.jsx(t4,{windowSize:h,children:b?C.jsx(A1,{customStyle:{margin:`0 0 ${r.sp3} 0`}}):L?C.jsx(w3,{selectedTimeSeries:P}):C.jsx(H3,{performanceTimeSeries:t.monthlySummary})})]}),b?C.jsx(c1,{windowSize:h,children:C.jsx(t2,{})}):C.jsxs(C.Fragment,{children:[C.jsx(c1,{windowSize:h,children:L||t.personas.length===0?C.jsx(c3,{}):C.jsx(W2,{personas:t.personas,currency:t.currency})}),C.jsxs(Q3,{windowSize:h,children:[C.jsx(I3,{performanceSummary:t.summary,currency:t.currency,isPerformanceReportNotFound:L}),C.jsx(C3,{performanceSummary:t.summary,currency:t.currency,isPerformanceReportNotFound:L})]})]})]})]})}export{g4 as default,K3 as navBarHeight};
|
package/dist/assets/{AccountInfoPage-w0STaK9a-DtmPJmpY.js → AccountInfoPage-Mzw-22d_-CCoqMCSF.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as w,Q as y,V as t,gI as $,o as n,y as a,hu as P,u as e}from"./index-CMt9tlas.js";import{a as z}from"./core-3dlyNYRL.js";import{n as o}from"./mui-bYXq4XMS.js";import{K as A}from"./StatusSwitcher-xQ_AW7ze-CA2waxEM.js";import{r as S}from"./AccountInfoPageContent-Bjp81drF-DB2W7ayc.js";import"./sentry-o6h_D-9x.js";import"./zeni-epic-state-LPACxnXP.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";import"./downloadPdf-DUAAPKqC-D7Ynipfz.js";import"./commonDimensions-Bm2CSHrw-BKSCi07X.js";const r={pageTitleMarginXAxis:new a(e[4],e[8]),containerPaddingLeft:new a(e[3],e[6],e[8]),containerPaddingRight:new a(e[3],e[6],e[8])},B=({authParams:i,downloadAccountDetailEndPoint:l,depositAccount:s,zeniAccountsConfigDetail:m,currentTenant:p,onDismissClick:u})=>{const g=w(),d=y(),[c,h]=z.useState("achDetails"),x=f=>{h(f)};return t.jsxs(v,{children:[t.jsx($,{title:"",backgroundColor:g.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:u}),t.jsx(D,{windowSize:d,children:s.accountName}),t.jsx(T,{children:t.jsx(A,{tabIds:["achDetails","wireDetails"],selectedTab:c,entity:"zeni_accounts",onTabSelectedChange:x,isSwitcherLeftAlign:!0})}),t.jsx(j,{windowSize:d,children:t.jsx(S,{authParams:i,downloadAccountDetailEndPoint:l,currentTab:c,zeniAccountsConfigDetail:m,currentTenant:p,depositAccount:s})})]})},j=o.div`
|
|
2
2
|
padding-left: ${i=>`${r.containerPaddingLeft.valuePx(i.windowSize)}`};
|
|
3
3
|
padding-right: ${i=>`${r.containerPaddingRight.valuePx(i.windowSize)}`};
|
|
4
4
|
`,v=o.div`
|
|
@@ -15,4 +15,4 @@ import{e as f,Q as y,V as t,gH as $,o as n,y as a,ht as P,u as e}from"./index-Dd
|
|
|
15
15
|
`,T=o.div`
|
|
16
16
|
display: flex;
|
|
17
17
|
justify-content: flex-start;
|
|
18
|
-
`;export{
|
|
18
|
+
`;export{B as default};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{Q as we,
|
|
1
|
+
import{Q as we,gR as Ae,hv as J,V as r,F as Se,bQ as D,A as Te,aK as z,o as a,b5 as ve,c0 as Ce,p as E,ag as ee,s as De,gT as ze,ak as re}from"./index-CMt9tlas.js";import{a as s}from"./core-3dlyNYRL.js";import{n as t}from"./mui-bYXq4XMS.js";import{w as Le}from"./downloadPdf-DUAAPKqC-D7Ynipfz.js";import{o as _e}from"./commonDimensions-Bm2CSHrw-BKSCi07X.js";const{common:{strings:Ee,copyToClipBoard:y},spendManagement:{zeniAccounts:{zeniAccountDetail:K},billPay:{vendorCreation:{achDetails:o}},downloads:W}}=Se.getLocalizedStrings(),er=({authParams:e,downloadAccountDetailEndPoint:ae,currentTab:f,depositAccount:n,zeniAccountsConfigDetail:u,currentTenant:g})=>{const oe=we(),[,R]=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,I]=s.useState(!1),[N,P]=s.useState(!1),[j,Q]=s.useState(!1),[w,F]=s.useState(!1),[A,O]=s.useState(!1),[S,V]=s.useState(!1),[T,q]=s.useState(!1),[$,U]=s.useState(!1),v=g?.company?.companyInfo.companyLegalName,C=J(u.zeniAccountsConfigDetail.mailingAddress).text2,m=J(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(p||S||T||$||A||$||j||N||w)&&setTimeout(()=>{I(!1),V(!1),q(!1),U(!1),O(!1),F(!1),Q(!1),P(!1)},1200)},[p,S,T,$,A,w,j,N]);const B=(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
|
|
|
5
5
|
${o.bankAccountNumber} ${n.accountNumber}
|
|
6
6
|
|
|
7
|
-
${o.bankName} ${
|
|
7
|
+
${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
|
|
8
8
|
|
|
9
9
|
${o.bankAddress} ${m}`:c=`${o.bankRoutingNumber} ${n.routingNumberAch}
|
|
10
10
|
|
|
@@ -12,13 +12,13 @@ ${o.accountTypeLabel} ${n.accountSubType.name??""}
|
|
|
12
12
|
|
|
13
13
|
${o.bankAccountNumber} ${n.accountNumber}
|
|
14
14
|
|
|
15
|
-
${o.bankName} ${
|
|
15
|
+
${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
|
|
16
16
|
|
|
17
17
|
${o.beneficiaryName} ${v}
|
|
18
18
|
|
|
19
19
|
${o.bankAddress} ${m}
|
|
20
20
|
|
|
21
|
-
${o.beneficiaryAddress} ${
|
|
21
|
+
${o.beneficiaryAddress} ${C}`,R(c),I(!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":V(!0);break;case"acccountNumber":q(!0);break;case"routingNumber":U(!0);break;case"bankName":O(!0);break;case"beneficiaryName":P(!0);break;case"beneficiaryAddress":F(!0);break;case"bankAddress":Q(!0);break}};return r.jsxs(Oe,{onMouseEnter:()=>B(x,!0),onMouseLeave:()=>B(x,!1),children:[r.jsx(Ve,{children:h}),r.jsx(Ue,{children:r.jsxs(Be,{children:[r.jsxs(qe,{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(Z,{}):r.jsx(Y,{"data-testid":z("account-info-copy",x),onClick:()=>{R(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(Me,{children:r.jsxs(Re,{children:[r.jsxs(Ie,{children:[r.jsx(Qe,{children:f==="achDetails"?K.achTitle:K.wireTitle}),r.jsxs(Pe,{children:[r.jsx(L,{children:r.jsx(D,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:k,children:k?W.downloading:W.download}),enterDelay:600,children:k===!0?r.jsx(Te,{size:"Small",start:!0}):r.jsx(Fe,{"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(Z,{}):r.jsx(Y,{onClick:()=>ye(f),"data-testid":z("title-text-copy")})})})]})]}),f==="achDetails"?r.jsxs(Je,{children:[r.jsx(G,{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(X,{children:i(o.bankAddress,m,"bankAddress")}):null]}):f==="wireDetails"?r.jsxs(Ke,{children:[r.jsx(G,{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(X,{children:i(o.beneficiaryAddress,C,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},Me=t.div``,Re=t.div`
|
|
22
22
|
margin: ${a.sp4};
|
|
23
23
|
margin-left: ${a.sp0};
|
|
24
24
|
`,Ie=t.div`
|
|
@@ -32,7 +32,7 @@ ${o.beneficiaryAddress} ${D}`,R(c),I(!0)},i=(h,c,x,B)=>{let d,l;switch(x){case"a
|
|
|
32
32
|
`,Qe=t(ve)`
|
|
33
33
|
color: ${e=>e.theme.colors.primary};
|
|
34
34
|
margin-right: ${a.sp2};
|
|
35
|
-
`,
|
|
35
|
+
`,Fe=t(Ce)`
|
|
36
36
|
height: ${a.sp3};
|
|
37
37
|
width: ${a.sp3};
|
|
38
38
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -57,7 +57,7 @@ ${o.beneficiaryAddress} ${D}`,R(c),I(!0)},i=(h,c,x,B)=>{let d,l;switch(x){case"a
|
|
|
57
57
|
color: ${e=>e.theme.colors.grey1};
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
`,
|
|
60
|
+
`,G=t(M)`
|
|
61
61
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
62
62
|
display: flex;
|
|
63
63
|
border-top-width: 1px;
|
|
@@ -103,38 +103,38 @@ ${o.beneficiaryAddress} ${D}`,R(c),I(!0)},i=(h,c,x,B)=>{let d,l;switch(x){case"a
|
|
|
103
103
|
&:hover {
|
|
104
104
|
color: ${e=>e.theme.colors.primary};
|
|
105
105
|
}
|
|
106
|
-
`,Z=t(
|
|
106
|
+
`,Z=t(De)`
|
|
107
107
|
height: ${a.sp3};
|
|
108
108
|
width: ${a.sp3};
|
|
109
109
|
color: ${E.success};
|
|
110
|
-
`,
|
|
110
|
+
`,Oe=t.div`
|
|
111
111
|
display: flex;
|
|
112
112
|
flex-direction: row;
|
|
113
113
|
padding: ${a.sp3} ${a.sp4};
|
|
114
114
|
justify-content: space-between;
|
|
115
115
|
width: 100%;
|
|
116
116
|
gap: ${a.sp4};
|
|
117
|
-
`,
|
|
117
|
+
`,Ve=t(re)`
|
|
118
118
|
color: ${e=>e.theme.colors.hero};
|
|
119
|
-
`,
|
|
119
|
+
`,qe=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
|
-
`,Oe=t.div`
|
|
127
|
-
display: flex;
|
|
128
126
|
`,Ue=t.div`
|
|
129
127
|
display: flex;
|
|
128
|
+
`,Be=t.div`
|
|
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
|
-
`,
|
|
137
|
+
`,b=t(M)`
|
|
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} ${D}`,R(c),I(!0)},i=(h,c,x,B)=>{let d,l;switch(x){case"a
|
|
|
146
146
|
border-top-width: 1px;
|
|
147
147
|
border-bottom-width: 1px;
|
|
148
148
|
}
|
|
149
|
-
`,
|
|
149
|
+
`,Je=t.div``,Ke=t.div``;export{er as r};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as g,F as l,V as e,ak as f,b8 as d,n as j,o,p as m,ap as $,bW as y,bX as b,bY as k,bP as w}from"./index-CMt9tlas.js";import{n as r}from"./mui-bYXq4XMS.js";import{t as v}from"./handshake-BPg58FML-D7G7L1P7.js";import"./core-3dlyNYRL.js";import"./sentry-o6h_D-9x.js";import"./zeni-epic-state-LPACxnXP.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";const p="support@zeni.ai",i=l.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:t,onSubmit:n})=>{const s=g(),x=t.format(l.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=t.format(l.getLocalizedStrings().dateFormat.visual.HHMMFormat);return e.jsxs(S,{children:[e.jsx(C,{children:i.accountLockedTitle}),e.jsxs(L,{children:[e.jsxs(a,{children:[e.jsx(c,{theme:s,children:e.jsx(Y,{})}),e.jsx(f,{children:i.accountLockedSecurityMessage})]}),e.jsxs(a,{children:[e.jsx(c,{theme:s,children:e.jsx(F,{})}),e.jsxs(d,{children:[i.tryAgainAfter,e.jsxs(D,{children:[x,e.jsx(A,{children:"•"}),u]}),i.signInViaGoogleOrMicrosoft]})]}),e.jsxs(a,{children:[e.jsx(c,{theme:s,children:e.jsx(_,{})}),e.jsxs(d,{children:[i.accountLockedContactMessage,e.jsx(z,{href:`mailto:${p}`,children:p})]})]}),e.jsx(j,{variant:"primary",label:i.understood,onClick:n})]})]})};function M({unlockDate:t,onClose:n}){return e.jsx(w,{open:!0,onClose:n,children:e.jsx(O,{children:e.jsx(h,{unlockDate:t,onSubmit:n})})})}const S=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a8 as xe,
|
|
1
|
+
import{a8 as xe,fv as fe,V as t,ab as ge,cm as ye,F as je,cn as Se,co as $e,o as i,M as ke,b5 as X,al as G,_ as ve,a9 as Ce,dO as we,eT as be,d1 as J,dx as Z,ak as l,d as Ee,aL as Pe,bu as ee,dR as te,at as Re,p as ne,s as De}from"./index-CMt9tlas.js";import{a as r}from"./core-3dlyNYRL.js";import{n as o}from"./mui-bYXq4XMS.js";import{bO as oe,gu as Ie,gv as Te}from"./zeni-epic-state-LPACxnXP.js";import{E as _e,C as Fe,w as Ue,f as Le}from"./AccountRow-CIsbwvGp-ZIFgl_Im.js";import"./sentry-o6h_D-9x.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";const m={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,navBarHeight:i.sp10,navBarPaddingRight:i.sp4,navBarPaddingLeft:i.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Me=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -58,7 +58,7 @@ import{a8 as xe,fu as fe,V as t,ab as ge,cm as ye,F as je,cn as Se,co as $e,o as
|
|
|
58
58
|
align-items: center;
|
|
59
59
|
justify-content: center;
|
|
60
60
|
overflow: hidden;
|
|
61
|
-
`,ie=o(
|
|
61
|
+
`,ie=o(G)`
|
|
62
62
|
display: flex;
|
|
63
63
|
color: ${e=>e.theme.colors.hero};
|
|
64
64
|
align-items: center;
|
|
@@ -85,18 +85,18 @@ import{a8 as xe,fu as fe,V as t,ab as ge,cm as ye,F as je,cn as Se,co as $e,o as
|
|
|
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
|
+
`,Ke=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
|
-
`,W=o(
|
|
94
|
+
`,W=o(G)`
|
|
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
|
+
`,Qe=o(l)`
|
|
100
100
|
color: ${e=>e.theme.colors.primary};
|
|
101
101
|
text-align: left;
|
|
102
102
|
`,Xe=o.div`
|
|
@@ -105,12 +105,12 @@ import{a8 as xe,fu as fe,V as t,ab as ge,cm as ye,F as je,cn as Se,co as $e,o as
|
|
|
105
105
|
align-items: flex-start;
|
|
106
106
|
justify-content: flex-start;
|
|
107
107
|
min-width: ${m.balanceContainerWidth}px;
|
|
108
|
-
`,
|
|
108
|
+
`,Ge=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
|
+
`,Ze=o.div`
|
|
114
114
|
display: flex;
|
|
115
115
|
flex-direction: row;
|
|
116
116
|
align-items: flex-start;
|
|
@@ -187,7 +187,7 @@ import{a8 as xe,fu as fe,V as t,ab as ge,cm as ye,F as je,cn as Se,co as $e,o as
|
|
|
187
187
|
color: ${e=>e.theme.colors.hero};
|
|
188
188
|
align-items: center;
|
|
189
189
|
justify-content: flex-end;
|
|
190
|
-
`,
|
|
190
|
+
`,T=o(l)`
|
|
191
191
|
display: flex;
|
|
192
192
|
color: ${e=>e.theme.colors.primary};
|
|
193
193
|
align-items: center;
|
|
@@ -236,4 +236,4 @@ import{a8 as xe,fu as fe,V as t,ab as ge,cm as ye,F as je,cn as Se,co as $e,o as
|
|
|
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:K,expenseAutomation:{accountRecon:c}}=je.getLocalizedStrings(),xt=(e,n)=>`${e}.${n}`,ft="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Mt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:d,openFilePicker:u,filesEndPoint:f,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L}){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,M]=r.useState(s.linkToken??null),[a,w]=r.useState(!1),[N,Y]=r.useState(!1),[O,B]=r.useState(void 0),[re,z]=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),B(void 0)),z(void 0),Y(!1)},onCancelClick:()=>{B(void 0),Y(!1)}},H=r.useRef(h);r.useEffect(()=>{H.current=h},[h]);const pe=r.useCallback(D=>{P(D,e.accountReconEntity.account.accountId,H.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(()=>{(oe(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&&M(s.linkToken)},[s.fetchStatus.fetchState,s.linkToken,y]),r.useEffect(()=>{a&&V()},[a,V]),t.jsxs(Me,{children:[t.jsx(Oe,{children:t.jsx(Ae,{children:t.jsxs(Ne,{children:[t.jsx(Ye,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ie,{children:t.jsx(vt,{monthYearPeriod:d})})]}),t.jsx(Ve,{children:t.jsx(Be,{onClick:$})})]})})}),t.jsxs(We,{children:[t.jsx(ge,{...x,children:t.jsx("form",{style:{width:"100%"},id:ft,onSubmit:k,children:t.jsx(gt,{monthYearPeriod:d,accountReconciliation:e,filesEndPoint:f,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L,showConfirmationPopup:N,setShowConfirmationPopup:Y,deleteFileId:O,setDeleteFileId:B,uploadErrorMessage:re,setUploadErrorMessage:z})})}),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 gt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:d,authParams:u,openFilePicker:f,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:_,onSelectSourceType:R,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U,uploadErrorMessage:L,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=[];n.accountReconEntity.account.accountType==="bank"&&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(_e(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"],M=n.accountReconEntity.reconciliationStatus!=null&&y.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(qe,{children:[t.jsxs(Je,{children:[t.jsxs(Ke,{children:[t.jsx(W,{children:c.reconciliation.headers.bankBalance}),t.jsx(Qe,{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(Xe,{children:[t.jsx(W,{children:c.reconciliation.headers.clearedBalance}),t.jsx(Ge,{children:t.jsx(Ue,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(et,{children:[t.jsx(W,{children:c.reconciliation.headers.variance}),t.jsx(tt,{children:t.jsx($t,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(st,{children:[t.jsxs(rt,{children:[" ",c.reconciliation.drawer.source," "]}),t.jsxs(lt,{children:[t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.type}),t.jsx(T,{children:s!=null?t.jsx(j,{children:s==="plaid"&&n.accountReconEntity.account.accountType==="bank"?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(yt,{selectedSourceType:C}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:i.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:a=>{R(Ie(a))},valueToIcon:a=>a==="plaid"?t.jsx(ut,{}):a==="bank_statement"?t.jsx(pt,{}):null})})})]}),C==="bank_statement"?t.jsx(b,{children:t.jsx(be,{name:xt(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:M,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:Te,metadataPayload:{accountId:n.accountReconEntity.account.accountId,monthYearPeriod:e},errorMessage:L,onUploadError:a=>{x(a?.message)},onUploadSuccess:a=>{F(a),h(!1)},onUploadStart:()=>{h(!0),x(void 0)},onUploadWindowOpenedOnce:()=>{U()}},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(T,{children:C!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.accountType}),t.jsx(T,{children:t.jsx(kt,{accountSubType:J(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.lastUpdated}),t.jsx(T,{children:t.jsx(Z,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:g!=null?t.jsx(j,{children:J(g.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},yt=({selectedSourceType:e})=>t.jsxs(it,{children:[e==null||e==="plaid"?t.jsx(ce,{}):t.jsx(ae,{}),t.jsx(ct,{children:e==null||e==="plaid"?c.reconciliation.menu.bankConnection:c.reconciliation.menu.statement}),t.jsx(at,{})]}),jt=({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(dt,{}),t.jsx(ht,{children:c.reconciliation.drawer.values.connected})]}):t.jsx(A,{onClick:e==="reconnect"?u:d,children:t.jsx(mt,{status:e,children:e==="reconnect"?c.reconciliation.drawer.values.reconnect:c.reconciliation.drawer.values.connect})}),St=({status:e,uploadInProgress:n})=>n?t.jsx(Z,{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}),$t=({variance:e,variancePercentage:n,reconciliationStatusCode:d})=>{const u=Ee(),{varianceColor:f,variancePercentageColor:S,variancePercentageContainerColor:$}=Le(u,e,d,!0);return t.jsxs(Ze,{children:[t.jsx(nt,{textColor:f,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(ot,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},kt=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},vt=({monthYearPeriod:e})=>t.jsx(ie,{children:Ct(e)}),Ct=e=>{const{month:n,year:d}=e,u=oe(`${d}-${String(n).padStart(2,"0")}-01`);let f=u.endOf("month");return`${u.format(K.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${f.format(K.visual.DMMMYYYYFormat)}`},Q=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Mt as default,xt as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,F as se,aL as E,bQ as f,o,aK as y,a9 as re,
|
|
1
|
+
import{V as t,F as se,aL as E,bQ as f,o,aK as y,a9 as re,dO as le,ak as w,dP as de,p as m,dQ as Z,dR as Y,cY as ue,aS as x,ag as X,u as p,Q as xe,d as S,aZ as pe,dv as he,am as me,n as ge,al as I,bI as fe,dH as je}from"./index-CMt9tlas.js";import{a as ye}from"./core-3dlyNYRL.js";import{n as a,b as we}from"./mui-bYXq4XMS.js";const $e=a.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
|
|
4
4
|
content: "";
|
|
@@ -119,20 +119,20 @@ import{V as t,F as se,aL as E,bQ as f,o,aK as y,a9 as re,dN as le,ak as w,dO as
|
|
|
119
119
|
color: ${e=>e.theme.colors.hero};
|
|
120
120
|
width: ${u.leftLabelWidth}px;
|
|
121
121
|
min-width: ${u.leftLabelWidth}px;
|
|
122
|
-
`,
|
|
122
|
+
`,Oe=a.div`
|
|
123
123
|
display: flex;
|
|
124
124
|
flex: 1 1 auto;
|
|
125
125
|
justify-content: flex-end;
|
|
126
126
|
align-items: center;
|
|
127
127
|
color: ${e=>e.theme.colors.hero};
|
|
128
|
-
`,
|
|
128
|
+
`,Qe=a(w)`
|
|
129
129
|
width: ${u.bankBalanceWidth}px;
|
|
130
130
|
min-width: ${u.bankBalanceWidth}px;
|
|
131
131
|
text-align: right;
|
|
132
|
-
`,
|
|
132
|
+
`,Ve=a.div`
|
|
133
133
|
width: ${u.bankBalanceRightWidth}px;
|
|
134
134
|
min-width: ${u.bankBalanceRightWidth}px;
|
|
135
|
-
`,
|
|
135
|
+
`,Fe=a(w)`
|
|
136
136
|
width: ${u.clearedBalanceWidth}px;
|
|
137
137
|
min-width: ${u.clearedBalanceWidth}px;
|
|
138
138
|
text-align: right;
|
|
@@ -233,7 +233,7 @@ import{V as t,F as se,aL as E,bQ as f,o,aK as y,a9 as re,dN as le,ak as w,dO as
|
|
|
233
233
|
`,it=a(de)`
|
|
234
234
|
width: ${o.sp3};
|
|
235
235
|
height: ${o.sp3};
|
|
236
|
-
`,
|
|
236
|
+
`,O=a(fe)`
|
|
237
237
|
width: 12px;
|
|
238
238
|
height: 12px;
|
|
239
239
|
color: ${e=>e.iconColor.hex()};
|
|
@@ -241,18 +241,18 @@ import{V as t,F as se,aL as E,bQ as f,o,aK as y,a9 as re,dN as le,ak as w,dO as
|
|
|
241
241
|
`,$=a.div`
|
|
242
242
|
display: flex;
|
|
243
243
|
gap: ${o.sp1};
|
|
244
|
-
`,
|
|
244
|
+
`,Q=a.div`
|
|
245
245
|
display: flex;
|
|
246
246
|
flex-direction: column;
|
|
247
247
|
align-items: center;
|
|
248
248
|
`,K=a(w)`
|
|
249
249
|
color: ${e=>e.theme.colors.hero};
|
|
250
|
-
`,
|
|
250
|
+
`,V=a.div`
|
|
251
251
|
display: flex;
|
|
252
252
|
flex-direction: row;
|
|
253
253
|
align-items: center;
|
|
254
254
|
gap: ${o.sp1};
|
|
255
|
-
`,
|
|
255
|
+
`,F=a(I)`
|
|
256
256
|
color: ${e=>e.textColor.hex()};
|
|
257
257
|
`,M=a(I)`
|
|
258
258
|
color: ${e=>e.textColor.hex()};
|
|
@@ -295,4 +295,4 @@ import{V as t,F as se,aL as E,bQ as f,o,aK as y,a9 as re,dN as le,ak as w,dO as
|
|
|
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:mt}}}=se.getLocalizedStrings();function Bt({height:e,accountRecon:n,isLastRow:c,isSelectedRow:i,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:g,onStatementAddClicked:k}){const P=xe(),_=S(),v=n.accountReconEntity.account.accountName,W=n.accountReconEntity.balance,j=n.accountReconEntity.clearedBalance,N=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{g?.(n.accountReconEntity.account.accountId)},ce=()=>{k?.(n.accountReconEntity.account.accountId)},z=()=>{l?.(n.accountReconEntity.account.accountId)},[ie,D]=ye.useState(!1),q=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=q==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let G=e;return c&&(G=e+p[8]),t.jsxs(Le,{"data-testid":y("account-recon-row-root-container",n.accountReconEntity.account.accountName),heightValue:G,isLastRow:c,windowSize:P,isSelectedRow:i,onClick:()=>{ie!==!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(_.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Ae,{className:"any-text-container",children:v})})})]}),t.jsxs(Qe,{children:[t.jsx(Ve,{children:t.jsx(wt,{accountType:n.accountReconEntity.account.accountType,lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:D,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:W,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ce,isLoading:T,onReconnectClicked:ae})}),t.jsx(Fe,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Oe,{children:t.jsx($t,{clearedBalance:j,isLoading:T})}),t.jsx(gt,{isLoading:T,variance:N,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Ue,{children:t.jsx(He,{heightValue:e})}),t.jsx(Me,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:q==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:z}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:z})})]})]}),t.jsx(Pe,{kind:"account_separator",isScrolling:!1}),c?t.jsx(Be,{}):null]})}const gt=({variance:e,variancePercentage:n,reconciliationStatusCode:c,isLoading:i})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:g}=ft(l,e,c),k=i?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${mt}`:h;return t.jsxs(ze,{children:[t.jsx(qe,{textColor:d,className:"any-text-container",children:e==null||i?h:E("0,0",e)}),t.jsx(Ge,{textColor:r,bgColor:g,className:"any-text-container",children:k})]})},ft=(e,n,c,i)=>{let l,d,r;return n!=null&&n.amount===0&&c!=null&&c==="reconciled"?(l=new x(m.success),d=new x(m.success),r=new x(m.successLight)):i===!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:c})=>{const i=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 g="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?g=s.status.balanceNotFound:e.accountReconEntity.balance==null?g=s.status.bankBalanceNotFound:g=s.status.clearedBalanceNotFound,t.jsx(bt,{status:g,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(A,{tooltipText:r,showTooltip:d!=null});if(i==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});if(i!=null)switch(i.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});case"reconciled":return t.jsx(B,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(B,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(A,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:c})=>{const i=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(i==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});if(i!=null)switch(i.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});case"reconciled":return t.jsx(B,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(B,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});default:return null}else return t.jsx(A,{showTooltip:d!=null,tooltipText:r})},L=({buttonLabel:e,isDisabled:n,tooltipText:c,dataTestId:i,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:c}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Je,{children:t.jsx(ge,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":i,onClick:d=>{d.stopPropagation(),l()}})})}),B=({user:e,isQBO:n,tooltipText:c})=>t.jsx(f,{title:t.jsx(b,{tooltipText:c}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Ke,{children:[t.jsxs(Ze,{children:[t.jsx(Xe,{}),t.jsx(Ye,{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]})]})}),wt=({bankBalance:e,accountType:n,bankConnection:c,statementStatus:i,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:r,onReconnectClicked:g,isLoading:k,accountId:P,onStatementAddClicked:_,setIsHovering:v})=>{const W=Tt(n);if(d===!0)return t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h});if(k===!0)return t.jsx(C,{className:"any-text-container",children:h});if(c==="reconnect"){const j=l!=null?`${l.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(ct,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(it,{})})}),t.jsx(C,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",P),onClick:N=>{N.stopPropagation(),g?.()},children:s.connect.reconnnect})]})}else return c==="connected"||i==="uploaded"?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",P),onMouseEnter:()=>{v(!0)},onMouseLeave:()=>{v(!1)},children:t.jsx(re,{controller:W.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:W,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"?r?.():j==="statement"&&_?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},$t=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(C,{className:"any-text-container",children:h}),ee=({tooltipText:e})=>{const n=new x(m.important);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(V,{children:[t.jsx(Q,{iconColor:n}),t.jsx(F,{children:t.jsx(O,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(U,{children:t.jsx(M,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const c=new x(m.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(Q,{iconColor:c}),t.jsxs(V,{children:[t.jsx(F,{children:t.jsx(O,{textColor:c,children:e})}),t.jsx(U,{children:t.jsx(M,{textColor:c,children:s.status.reconcileViaQBO})})]})]})})},te=({tooltipText:e})=>{const n=S(),c=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:c,children:s.status.autoReconInProgress}),t.jsx(R,{textColor:c,children:s.status.isInProgress})]})})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:c})=>{const i=new x(m.important),l=Et(e,"list",c);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(Q,{iconColor:i}),t.jsxs(V,{children:[t.jsx(F,{children:t.jsx(O,{textColor:i,children:l})}),t.jsx(U,{children:t.jsx(M,{textColor:i,children:s.status.failed})})]})]})})},A=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx($,{children:t.jsx(K,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsx(K,{children:h})})}),b=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:c,connectionInProgress:i})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=c==="connected"||c==="reconnect"||i===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(e){const n=[];return e!=null&&e==="bank"&&n.push({label:s.menu.bankConnection,value:"bank_connection"}),n.push({label:s.menu.statement,value:"statement"}),n}const Et=(e,n,c)=>{if(c!=null&&n==="drawer")return c;let i="";switch(e){case"parsing_failed":i=s.status.statementParseError;break;case"validation_failed":i=s.status.statementValidationFailed;break;case"processing_failed":i=s.status.statementProcessingFailed;break;default:i=s.status.statementParseError;break}return n==="drawer"&&(i=i+" "+s.status.failed),i};export{Te as B,wt as C,Lt as D,Et as E,Wt as N,Bt as R,ft as f,u,$t as w};
|
|
298
|
+
`,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:mt}}}=se.getLocalizedStrings();function Bt({height:e,accountRecon:n,isLastRow:c,isSelectedRow:i,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:g,onStatementAddClicked:k}){const P=xe(),_=S(),v=n.accountReconEntity.account.accountName,W=n.accountReconEntity.balance,j=n.accountReconEntity.clearedBalance,N=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{g?.(n.accountReconEntity.account.accountId)},ce=()=>{k?.(n.accountReconEntity.account.accountId)},z=()=>{l?.(n.accountReconEntity.account.accountId)},[ie,D]=ye.useState(!1),q=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=q==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let G=e;return c&&(G=e+p[8]),t.jsxs(Le,{"data-testid":y("account-recon-row-root-container",n.accountReconEntity.account.accountName),heightValue:G,isLastRow:c,windowSize:P,isSelectedRow:i,onClick:()=>{ie!==!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(_.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Ae,{className:"any-text-container",children:v})})})]}),t.jsxs(Oe,{children:[t.jsx(Qe,{children:t.jsx(wt,{accountType:n.accountReconEntity.account.accountType,lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:D,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:W,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ce,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(Fe,{children:t.jsx($t,{clearedBalance:j,isLoading:T})}),t.jsx(gt,{isLoading:T,variance:N,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Ue,{children:t.jsx(He,{heightValue:e})}),t.jsx(Me,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:q==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:z}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:z})})]})]}),t.jsx(Pe,{kind:"account_separator",isScrolling:!1}),c?t.jsx(Be,{}):null]})}const gt=({variance:e,variancePercentage:n,reconciliationStatusCode:c,isLoading:i})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:g}=ft(l,e,c),k=i?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${mt}`:h;return t.jsxs(ze,{children:[t.jsx(qe,{textColor:d,className:"any-text-container",children:e==null||i?h:E("0,0",e)}),t.jsx(Ge,{textColor:r,bgColor:g,className:"any-text-container",children:k})]})},ft=(e,n,c,i)=>{let l,d,r;return n!=null&&n.amount===0&&c!=null&&c==="reconciled"?(l=new x(m.success),d=new x(m.success),r=new x(m.successLight)):i===!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:c})=>{const i=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 g="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?g=s.status.balanceNotFound:e.accountReconEntity.balance==null?g=s.status.bankBalanceNotFound:g=s.status.clearedBalanceNotFound,t.jsx(bt,{status:g,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(A,{tooltipText:r,showTooltip:d!=null});if(i==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});if(i!=null)switch(i.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});case"reconciled":return t.jsx(B,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(B,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(A,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:c})=>{const i=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(i==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});if(i!=null)switch(i.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});case"reconciled":return t.jsx(B,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(B,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});default:return null}else return t.jsx(A,{showTooltip:d!=null,tooltipText:r})},L=({buttonLabel:e,isDisabled:n,tooltipText:c,dataTestId:i,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:c}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Je,{children:t.jsx(ge,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":i,onClick:d=>{d.stopPropagation(),l()}})})}),B=({user:e,isQBO:n,tooltipText:c})=>t.jsx(f,{title:t.jsx(b,{tooltipText:c}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Ke,{children:[t.jsxs(Ze,{children:[t.jsx(Xe,{}),t.jsx(Ye,{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]})]})}),wt=({bankBalance:e,accountType:n,bankConnection:c,statementStatus:i,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:r,onReconnectClicked:g,isLoading:k,accountId:P,onStatementAddClicked:_,setIsHovering:v})=>{const W=Tt(n);if(d===!0)return t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h});if(k===!0)return t.jsx(C,{className:"any-text-container",children:h});if(c==="reconnect"){const j=l!=null?`${l.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(ct,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(it,{})})}),t.jsx(C,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",P),onClick:N=>{N.stopPropagation(),g?.()},children:s.connect.reconnnect})]})}else return c==="connected"||i==="uploaded"?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",P),onMouseEnter:()=>{v(!0)},onMouseLeave:()=>{v(!1)},children:t.jsx(re,{controller:W.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:W,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"?r?.():j==="statement"&&_?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},$t=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(C,{className:"any-text-container",children:h}),ee=({tooltipText:e})=>{const n=new x(m.important);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(Q,{children:[t.jsx(O,{iconColor:n}),t.jsx(V,{children:t.jsx(F,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(U,{children:t.jsx(M,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const c=new x(m.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(O,{iconColor:c}),t.jsxs(Q,{children:[t.jsx(V,{children:t.jsx(F,{textColor:c,children:e})}),t.jsx(U,{children:t.jsx(M,{textColor:c,children:s.status.reconcileViaQBO})})]})]})})},te=({tooltipText:e})=>{const n=S(),c=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:c,children:s.status.autoReconInProgress}),t.jsx(R,{textColor:c,children:s.status.isInProgress})]})})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:c})=>{const i=new x(m.important),l=Et(e,"list",c);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(O,{iconColor:i}),t.jsxs(Q,{children:[t.jsx(V,{children:t.jsx(F,{textColor:i,children:l})}),t.jsx(U,{children:t.jsx(M,{textColor:i,children:s.status.failed})})]})]})})},A=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx($,{children:t.jsx(K,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsx(K,{children:h})})}),b=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:c,connectionInProgress:i})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=c==="connected"||c==="reconnect"||i===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(e){const n=[];return e!=null&&e==="bank"&&n.push({label:s.menu.bankConnection,value:"bank_connection"}),n.push({label:s.menu.statement,value:"statement"}),n}const Et=(e,n,c)=>{if(c!=null&&n==="drawer")return c;let i="";switch(e){case"parsing_failed":i=s.status.statementParseError;break;case"validation_failed":i=s.status.statementValidationFailed;break;case"processing_failed":i=s.status.statementProcessingFailed;break;default:i=s.status.statementParseError;break}return n==="drawer"&&(i=i+" "+s.status.failed),i};export{Te as B,wt as C,Lt as D,Et as E,Wt as N,Bt as R,ft as f,u,$t as w};
|