@zeniai/web-app-ui 4.14.34-prod → 4.14.35-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-iiVBlQka-DOdcnea1.js → ACHDetailsPage-B5qIuZya-DhhGJFiO.js} +3 -3
- package/dist/assets/{AIPerformancePage-MBAB5kgB-GiPvCRJA.js → AIPerformancePage-BHB45mP--bMes_tkI.js} +1 -1
- package/dist/assets/AccountInfoPage-Cd5xYT1g-BezVjAGR.js +18 -0
- package/dist/assets/AccountInfoPageContent-CJ7ycVIK-DTztMN2V.js +149 -0
- package/dist/assets/{AccountLockedInfoModal-B1JxHllU-DyFOkn-g.js → AccountLockedInfoModal-Dox7IuAX-BJBuQmOL.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-DF-X46_u-Dv2VQ_UN.js → AccountReconDetailsDrawerPage-Bqty08m0-CNcZRdSW.js} +1 -1
- package/dist/assets/{AccountRow-DEtntSrL-0u2oxgMR.js → AccountRow-D1cjRJJD--D2oyMqA.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-Cvixqb_6-Cy_UpDhS.js → AccountsPromoCardStack-Bs3naJHM-eCRqE4NI.js} +11 -11
- package/dist/assets/{AddAddressForCardDrawer-B1Qfn44J-BWdxQBZs.js → AddAddressForCardDrawer-DZkBMJfp-CbavqjCF.js} +1 -1
- package/dist/assets/{AddToWalletPage-BLxUsh1Y-xvXEX-Ux.js → AddToWalletPage-CyRfqVDB-fhBwqlyz.js} +1 -1
- package/dist/assets/{AddressRoutes-ffTj4-XE.js → AddressRoutes-BOfIecri.js} +1 -1
- package/dist/assets/{AddressScreen-CwbSwP2P.js → AddressScreen-BL1pptQ5.js} +1 -1
- package/dist/assets/{AgingReportsPage-XIzuLRE4-C-s9DGYa.js → AgingReportsPage-xBFff3BM-B37Aeh0_.js} +8 -8
- package/dist/assets/{AiCfoScreen-ky7GYy31.js → AiCfoScreen-B5nbVKeh.js} +1 -1
- package/dist/assets/{AllUserItems-BGMZCYUO-Dadr9Gec.js → AllUserItems-BJf6WPDo-CPycalrU.js} +5 -5
- package/dist/assets/{ApAgingDetailPage-B-1gVAu6-CXso1m5Y.js → ApAgingDetailPage-CjBrPyi8-EnSmKZiu.js} +2 -2
- package/dist/assets/{AppBasePage-CYjdUgY4-N8in2lu3.js → AppBasePage-CqDm-hnV-Cb4xx63d.js} +1 -1
- package/dist/assets/{AppDrawerContent-CbF8TOjd-HEzUvQD5.js → AppDrawerContent-CVVWj66i-TDtj32fZ.js} +6 -6
- package/dist/assets/{ApprovalRulesSettingsPage-RCtygkuw-6E84O9sA.js → ApprovalRulesSettingsPage-Cckd2uVA-BuYxkuTi.js} +1 -1
- package/dist/assets/{ArAgingChart-ZwWwEBJ3-BSFQLwWJ.js → ArAgingChart-CBsqOd-4-Be7GSB8o.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-DtqyngrA-CcwxPD_r.js → ArAgingDetailPage-i7JObt60-CQiftrKA.js} +1 -1
- package/dist/assets/{AttachmentView-UxkSFZmq-C2YzlN6Z.js → AttachmentView-CzC4skJ3-3dq1WroI.js} +1 -1
- package/dist/assets/{BalancesInsightWithToolTip-Co6ZUc5x-BSkB04b8.js → BalancesInsightWithToolTip-B6umvmgL-BkOE6IRV.js} +2 -2
- package/dist/assets/{BankAccountSection-DnBVOkJC-vpE8xbp3.js → BankAccountSection-Di4sF52j-D_gkfCl5.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-D7OuLiLz-DfeZIMEg.js → BankAccountWarningSection-Cled-2cR-CM49bGSJ.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BDLTuNLu-OBPhlcth.js → BankConnectionsSettingsPage-Ccnzq7st-oxNYJAAG.js} +16 -16
- package/dist/assets/{BillDetailPage-V8us93cj-a4bc14UJ.js → BillDetailPage-XXOwBfO1-BoigghjD.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-CRqEGV5h.js → BillPayApprovalRoutes-D-JPXnec.js} +1 -1
- package/dist/assets/BillPayApprovalRuleDetailPage-DFZ0csaT-u4moAED-.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-C6G_eDX9-CDGGBdw4.js → BillPayApprovalRulesPage-COCypDcS-Ldsbb0Zg.js} +1 -1
- package/dist/assets/{BillPayPromoPage-CTQSknOB-C2T9b-Vq.js → BillPayPromoPage-DOE2YIqC-Qk9YcGXw.js} +11 -11
- package/dist/assets/{BillPayRoutes-IwCLBQ4C.js → BillPayRoutes-CBS2uwsj.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-BmgMLaf--hKXnXW7y.js → BillPaySetUpPage-BCJbZDsV-BIjtlBT1.js} +1 -1
- package/dist/assets/{BillingSettingsPage-IHY3ak0N-BYPEX6n6.js → BillingSettingsPage-iImtlEmO-B72lsLaH.js} +4 -4
- package/dist/assets/{BillsBulkReviewDrawerPage-ZoFahXYa-DETAm1nH.js → BillsBulkReviewDrawerPage-B11GWM_0-B4gEY1ob.js} +1 -1
- package/dist/assets/{BoxItem-XoWq-tnh-CNFx_qzU.js → BoxItem-Bxa1M4QU-DyrFdjN6.js} +4 -4
- package/dist/assets/{BusinessVerificationPage-D9HtnNOu-ZRSnva4Q.js → BusinessVerificationPage-DSuJFoW1-BwLNb7bU.js} +2 -2
- package/dist/assets/{BusinessVerificationPageScreen-CBtz2-zR.js → BusinessVerificationPageScreen-BQdQDNi4.js} +1 -1
- package/dist/assets/{BusyIndication-BLGcHlgu-DaOngyN9.js → BusyIndication-9zDqSKBP-C1ZL_6Kc.js} +1 -1
- package/dist/assets/{CardNumberSubText-Cn0EZrNE-DUYxvvHo.js → CardNumberSubText-_ZZbaz_k-DUqImiGz.js} +1 -1
- package/dist/assets/{CashbackDetailPage-Bk5ssPnj-DvaMlHNq.js → CashbackDetailPage-DAZXitLt-p_ZAuWDR.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-Ge9Aw7PA-CIu-TGGw.js → ChargeCardDetailPage-B1VIpASk-C6cq7Hcv.js} +20 -20
- package/dist/assets/{ChargeCardListPage-BNLOoSv3-B-StV0nu.js → ChargeCardListPage-BOBepN-x-Bsjhp0o3.js} +6 -6
- package/dist/assets/{ChargeCardListTable-BoufojYF-DZi3AnCd.js → ChargeCardListTable-YznzSsJo-Ck1z18a-.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-5lUxK8pF-BCsrr76G.js → ChargeCardPaymentHistoryPage--jOwsMla-BOhlFspE.js} +14 -14
- package/dist/assets/ChargeCardPromoPage-DIfakIOK-B-zay_30.js +222 -0
- package/dist/assets/{ChargeCardRoutes-qFs5VmEt.js → ChargeCardRoutes-CCifW-tf.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-Dqoel2Do-CcQz84BS.js → ChargeCardSetupPage-0bpVkeJs-SDjQa1Ra.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-Dalrj66w-4SSCFPQ4.js → ChargeCardStatementsPage-ChWyQlw6-DL7Upt8t.js} +2 -2
- package/dist/assets/{CheckDepositDrawerPage-mYjv1H0f-SmPvhIJ-.js → CheckDepositDrawerPage-BS7hnyZn-BYnpBPDj.js} +3 -3
- package/dist/assets/{CollapsableReportTable-CIaa7SIH-BHE5m01A.js → CollapsableReportTable-DNfFkAts-Ba6KUje2.js} +109 -100
- package/dist/assets/{CompanyOfficerDetailsSection-BSFNYauO-CLhqGMI2.js → CompanyOfficerDetailsSection-CrOIN4IW-BMaGz6_3.js} +16 -16
- package/dist/assets/{CompanyPassportCard-B-mBb9Q5-Djs-y_lF.js → CompanyPassportCard-CkzYFTrp-C4EBgPsw.js} +2 -2
- package/dist/assets/{CompanyPassportPage-Blyl_Z-c-CfshBdbX.js → CompanyPassportPage-FE6yli6h-KGSkM9PK.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-CfkYFhOH.js → CompanyPassportScreen-zFkQa4Cq.js} +1 -1
- package/dist/assets/{CompleteProfile-ySk9I1Ut-BkCkkFbF.js → CompleteProfile-Cb8i1XgZ-D3q04jkj.js} +1 -1
- package/dist/assets/{ConfettiBurst-CeAc4Ily-DA7b9h73.js → ConfettiBurst-BZCXEGYA-C5d5kzSC.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-Bt9nVDvl.js → ConnectionAuthScreen-CM9g7u1v.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-DpAfq4d_.js → ConstrainedInnerElement-CgdnMeoA-BgAKlXog.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BRkqkhfw-BjR4IlX5.js → CreateOrEditVendorPage-CzpSgxbO-Dqm8Zwpt.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-oUIakAtz-BWbFgsjF.js → CreditCardPaymentDrawerPage-c_q0MsSO-CdtVaa6P.js} +1 -1
- package/dist/assets/{CurrencySelectField-CSPhUjwG-CnRANTg2.js → CurrencySelectField-BAh7SHrG-D1tX6Pz9.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-CoOyWe6_-BUv4wnWa.js → CustomerOnboardingActivationPage-f3Aa6E5r-PsW9oHee.js} +1 -1
- package/dist/assets/CustomerOnboardingAuthScreen-BMwa29XG.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-DVPtZVWB.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CWNyUuRp-zXc9wagp.js → CustomerOnboardingDetailPageSkeleton-DYuiWn8s-B_5BYtTr.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-DWx46Z6R-C-ExaFC2.js → CustomerOnboardingNoStepsPage-Bh_F0-oC-SfRIKq-U.js} +12 -12
- package/dist/assets/{CustomerOnboardingPage-D86Sj2KP-D6-04E6_.js → CustomerOnboardingPage-B9hSO88_-B5iac515.js} +7 -7
- package/dist/assets/{CustomerOnboardingProductSuitePage-Bo0LFveG-BzG7cQxy.js → CustomerOnboardingProductSuitePage-CG0HKCpQ-Bqjg890b.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-DtIuxucw.js → CustomerOnboardingRoutes-MHYW-e3t.js} +1 -1
- package/dist/assets/{Dashboard-DQLJzr16-CVWpnSBo.js → Dashboard-BJ_oIHab-B1azilYN.js} +31 -31
- package/dist/assets/{DashboardReportPage-CwfTMXY5-CYxNkh7v.js → DashboardReportPage-BemzMw2e-Ywi7e9T3.js} +1 -1
- package/dist/assets/{DashboardRoutes-ChFJ7MHp.js → DashboardRoutes-C-92-XEq.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CUZGIAxW-CgiNswdF.js → DashboardSidebarBackgroundAnimation-BtA5oEGG-LNl3VR8y.js} +1 -1
- package/dist/assets/{DefaultTenantHome-DpbVQ8O_.js → DefaultTenantHome-Bim9etFd.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-Ci-LxLsk-DRNN1br-.js → DepositAccTransactionItem-CyFi1P_L-BCRifuhI.js} +5 -5
- package/dist/assets/{DepositAccTransactionListPage-RG7P8vQS-KiHqHADW.js → DepositAccTransactionListPage-DvBRRUdZ-yB8jjVIF.js} +3 -3
- package/dist/assets/{DomesticWireDetailScreen-mFjAiqsH.js → DomesticWireDetailScreen-D0LT5YWt.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-DsPFUOcE-D5dltjE3.js → DomesticWireDetailsPage-DCDo3aHI-DKoqkJmX.js} +4 -4
- package/dist/assets/{DownloadOverlay-BjTf50Dz-BTRZen3n.js → DownloadOverlay-D_lL1sPW-1PQmVEsl.js} +1 -1
- package/dist/assets/{DrawerPage-0OFinUxM-Dw-wONp5.js → DrawerPage-DesxXhZk-CE9sM7_o.js} +1 -1
- package/dist/assets/{DrawerScreen-CnU-VoMe.js → DrawerScreen-MxSrrJrd.js} +1 -1
- package/dist/assets/{EditPeoplePage-BKcOmYVv-DqbQfjtE.js → EditPeoplePage-QvPy_Six-BwgKBjDc.js} +5 -5
- package/dist/assets/{EditReimbursementDetailPage-BFIHhQbx-DZUd4Itz.js → EditReimbursementDetailPage-C0ZDkboO-CqRPRQtt.js} +13 -13
- package/dist/assets/EntityDetailPage-l7nXIsyF-CbwI2wUW.js +18 -0
- package/dist/assets/{EntityDetailRoutes-Bl0VaL7D.js → EntityDetailRoutes-BEygBdNc.js} +1 -1
- package/dist/assets/{EntitySummarySection-ORJ2pE_k-BoOr8fVU.js → EntitySummarySection-BwX0a4JL-BZFiwIuR.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-Dzf7j2zV-CwsDMrKO.js → ExpenseAutomationOverviewPage-EdyHjbff-CXMmwtfI.js} +3 -3
- package/dist/assets/{ExpenseAutomationPage-BRsKGeoM-xnjjT-mx.js → ExpenseAutomationPage-DA22Qofw-BhoqVQ10.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-D8OIvCDd.js → ExpenseAutomationRoutes-ijMZF_ZU.js} +1 -1
- package/dist/assets/{ExpressPayPage-DlBFtMaR-SeZBy6gS.js → ExpressPayPage-EMP6inpX-CBzcRvxz.js} +7 -7
- package/dist/assets/{FeaturePreviewPage-C31F3Gmz-C0P6i02u.js → FeaturePreviewPage-SYJm-3aR-BvJl8rgC.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-CcjSI5cK.js → FeaturePreviewScreen-BrgEnIPS.js} +1 -1
- package/dist/assets/{FollowStepsSection-BVT2K7mu-CY3KrJG7.js → FollowStepsSection-BxESVqJD-DBgSryEI.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-0cZe1hh0-QDZIOJkv.js → GlobalReviewListPage-D5_ACa-q-Be6ROlgu.js} +1 -1
- package/dist/assets/{InformationCardStack-t8eELRLU-Bxjmly9q.js → InformationCardStack-B_qQUEYD-DWu9uCxP.js} +3 -3
- package/dist/assets/{InsightsCardStack-CJBPZbzD-Bb1JSXvK.js → InsightsCardStack-BsQzoVzj-Dm_xsmzm.js} +1 -1
- package/dist/assets/{InsightsSection-tUBzsCix-CHqlcKsY.js → InsightsSection-B6CNlTNH-DV_5z3I5.js} +6 -6
- package/dist/assets/{IntegrationsSettingsPage-Ce0yKUWI-Bd8qZ6Sn.js → IntegrationsSettingsPage-DP6fAccq-DrN7ALwc.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-BzR-rKaL-DTdizezB.js → InternationalWireSwiftDetailsPage-VdG7bDZi-2y0ea6UL.js} +9 -9
- package/dist/assets/{InternationalWireVerificationPage-7tCXdJ3Y-CfPz5aLZ.js → InternationalWireVerificationPage-COC6lZml-DF2HxV4W.js} +10 -10
- package/dist/assets/{InviteFormPage-DePVC0CH-BoGyyI8-.js → InviteFormPage-DN02jRy5-7Lvtg9Hr.js} +1 -1
- package/dist/assets/{InvitePageListView-ChbvDKgQ-DW8tQqHU.js → InvitePageListView-CP4K9tJi-bRNoOCRv.js} +20 -20
- package/dist/assets/{InvitePeoplePage-DJiEzIeY-BVfacopw.js → InvitePeoplePage-VTM6kM1u-DFLNYNR3.js} +3 -3
- package/dist/assets/{InvoiceUploadSection-BjNMjhQR-B7H94Qr_.js → InvoiceUploadSection-it-ZYl1N-CPSEMHj6.js} +7 -7
- package/dist/assets/{IssueChargeCardPage-4xbGf5Ut-D1NZ5n0C.js → IssueChargeCardPage-CVfuvGey-BDkFfNQU.js} +11 -11
- package/dist/assets/{LabeledAddressValue-Czt7QvSJ-DQcySL2B.js → LabeledAddressValue-DDrQcHIE-BQQnm587.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-Dl3atH92-9Bh85cZL.js → LabeledAddressValueField-BgWwd5Gw-DnvIsj_n.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-DT_nxhPN-C7uKsE8n.js → LabeledControlledCheckBoxField-CcPO1k23-BZjPsfe4.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-BnljZpX0-B68SMHkZ.js → LabeledCountryMultiSelectField-BYYjzwUG-BPvc68ab.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CiInq9yD-B0SGNp0O.js → LabeledCreatableSingleSelectField-CISYMojq-CmzS04aH.js} +1 -1
- package/dist/assets/{LabeledDocumentField-Ceb8vgVH-CBxNcBjR.js → LabeledDocumentField-C_bcFxdY-CD1TCntt.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-B98gNWTE-fV4URX6J.js → LabeledDropDownFormattedTextField-ScGGCap8-BdN7qNJy.js} +1 -1
- package/dist/assets/{LabeledEmailInputField-C53P9fJl-CkFXu9dG.js → LabeledEmailInputField-BppuWRbl-Dsaj9M9p.js} +1 -1
- package/dist/assets/{LabeledNameField-BdVztq_8-DOZ2ED2j.js → LabeledNameField-mxSNQk3k-BpAc_tNL.js} +1 -1
- package/dist/assets/{LabeledSingleSelectField-sjDjhxfQ-CpanQxt-.js → LabeledSingleSelectField-C6ctNzkA-CTrwMQK7.js} +1 -1
- package/dist/assets/{LabeledText-CFJSoGtK-WYjBLL4Z.js → LabeledText-C8Y7EOsX-DCuEu6In.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-CmNHahAF.js → LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-BLPpr77S.js} +4 -4
- package/dist/assets/{LabeledZeniRolesDropDownField-CQiP2rEh-dj-ud4dM.js → LabeledZeniRolesDropDownField-BZtreVpj-KqOutsB4.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-ANY7Ns42-mjp3UwWz.js → LinkJETransactionPage-CKq4oiX9-C4YwLVFm.js} +9 -9
- package/dist/assets/{LockCardPage-0piclOz3-Ckqd1b8v.js → LockCardPage-CZENNby7-DmtCNaPi.js} +6 -6
- package/dist/assets/{LowBalancePopup-CplxkRHP-CQO3ycRf.js → LowBalancePopup-1727S1ri-DQfCP7-o.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-DLdN8Rvh.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-DaTDXMgN.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-L7bRQS1f.js +1 -0
- package/dist/assets/{MagicLinkRoutes-DaX13Is3.js → MagicLinkRoutes-DdHE5z12.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-Je-xXgqt.js → MagicLinkSignInScreen-BN_jDhip.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-BA1LfhVb-BgAj_Mic.js → MagicLinkSuccessPage-QMkZgQLG-CTsjsp6N.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DLdaV8WG-8WWnBNb8.js → MagicLinkTitleSection-CARU1oLQ-DZmT0L5L.js} +1 -1
- package/dist/assets/MailingDetailsSection-ByOPaJ05-Cq55yE-t.js +21 -0
- package/dist/assets/{MobileAppDrawer-Bcyem12-.js → MobileAppDrawer-C3TNoouV.js} +1 -1
- package/dist/assets/{MoreMenuButton-DrAQ635T-CmGmYM-R.js → MoreMenuButton-BsBKwXvk-DLOnGEff.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-BiDvyO_G-BmGEKHOY.js → MyBankConnectionsSettingsPage-BdgIIhL1-CHxTcS48.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-Bb4_b9o6-QySvTesc.js → MyPendingActivationChargeCardListPage-CX38bDdq-Ba-ajqtL.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-nY_eDqfm-CUAB-1K_.js → MyProfileSettingsPage-DYu0Fx6I-BMODc0ew.js} +4 -4
- package/dist/assets/{NavBarWithPicker-Dr5XHgP5-BMoWiwl5.js → NavBarWithPicker-CGGEvLwe-DGWn5q5A.js} +1 -1
- package/dist/assets/{NavigationArrow-DT82hMh--DsUaY4v0.js → NavigationArrow-CTNkKUtV-LsyvHBca.js} +1 -1
- package/dist/assets/{NavigationDots-CwCZ9EAa-BB9rS2z2.js → NavigationDots-Dvce3gHt-H1P3hT7y.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-D1lxnByE-DmJjA0eC.js → NewGlobalMerchantPage-D_f7z47T-DGuDs_dy.js} +1 -1
- package/dist/assets/{NoDataChart-DCTRXLc7-BRwtqbdY.js → NoDataChart-CrKeqWSr-DJdc5MTN.js} +1 -1
- package/dist/assets/{NoDataTable-D8Xw5pAY-CJGJMrLD.js → NoDataTable-4vPXmPYF-Do6t4z9R.js} +1 -1
- package/dist/assets/{NotFoundPage-B_zPUigU-CqL87o0B.js → NotFoundPage-BLWPU1wU-CBPIYV57.js} +6 -6
- package/dist/assets/{NotFoundScreen-Ceul2a4k.js → NotFoundScreen-CubXCR1V.js} +1 -1
- package/dist/assets/{NotificationRoutes-BjIV5PW8.js → NotificationRoutes-C2SuMmMM.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-aKLRiMp--gxJ4ef8p.js → NotificationSettingsPage-CDiDLX3A-DkD80zQf.js} +4 -4
- package/dist/assets/{NotificationsListConfig-CVEetkBc-DvchCo1R.js → NotificationsListConfig-B5pDa4cJ--FUSOPuJ.js} +1 -1
- package/dist/assets/{NotificationsPage-DEw6V83J-BMiLOKv6.js → NotificationsPage-Ccl7Dny1-B8jydSw6.js} +14 -14
- package/dist/assets/{OpExByVendorPage-DJMov6Ux-CSTc2zF7.js → OpExByVendorPage-spd-nKV4-BIgnMj0p.js} +6 -6
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-7YT_HLI5.js → OverlayContainerPage-BG9y5C0t-D8k0A9EC.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-RBTh1bFk-CYrlYxiW.js → PandLWithForecastPage-TSoe4Z7F-Ba-yVOXG.js} +3 -3
- package/dist/assets/{PandLWithForecastRoutes-D46AftWd.js → PandLWithForecastRoutes-BVdwQZDt.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-D-kQI4nd-BXInRRHh.js → PaymentAccountSetupBillingAddressSection-9ma8SpIa-CUyIA9r2.js} +1 -1
- package/dist/assets/{PeoplePage-BEc-Oss7-CYTf-n47.js → PeoplePage-b5_I0qOw-DAP0N6ei.js} +1 -1
- package/dist/assets/{PeopleRoutes-B6Hh54SM.js → PeopleRoutes-CAoitlRn.js} +1 -1
- package/dist/assets/{PerformanceRoutes-CZK-MKEJ.js → PerformanceRoutes-CC4-ZbOh.js} +1 -1
- package/dist/assets/{Preview-Dz6VBJ2u.js → Preview-B3lHkBD5.js} +1 -1
- package/dist/assets/{ProductsCarousel-BRo0P4GW-Bx79qkz1.js → ProductsCarousel-C3M0ocdF-CqFoMAuJ.js} +1 -1
- package/dist/assets/{PromoBaseCards-BrXJEufN-wliyWMwp.js → PromoBaseCards-BOGJI2ws-Bshwoahl.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-BIg9Iais-BhNTbLuP.js → QBOConnectionDialog-CmpnnuzP-D_Utdqzr.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-Dyzyd1p0.js → QBOConnectionScreen-W61uspBL.js} +1 -1
- package/dist/assets/{QBOSetupSection-DDoUJ7L6-DQnE3KzF.js → QBOSetupSection-DjnN9dgv-C5X6Mv_4.js} +7 -7
- package/dist/assets/{ReferralListScreen-BOWr342j.js → ReferralListScreen-CFqALHvq.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-m5L8sFJ5.js → ReimbursementApprovalRoutes--NBUuqoq.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CP0muUGK-Cd-uHeUo.js → ReimbursementApprovalRuleDetailPage-D5NXjrO9-Yh9jnSge.js} +3 -3
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CC5sxHbJ.js → ReimbursementApprovalRuleDetailScreen-Btiyq8yy.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BpVWq3rk-NVHIG-OE.js → ReimbursementApprovalRulesPage-BsCTIqUJ-Z8SJ2BhB.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-pCg86_Ty-BpFwxhjT.js → ReimbursementDetailPage-BbyxE2uL-BwRKVJZ8.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-BW6icjG5-L-8yyH_M.js → ReimbursementPromoPage-CyEgwqcf-KVfjyHVK.js} +8 -8
- package/dist/assets/{ReimbursementRoutes-LUt3h9UV.js → ReimbursementRoutes-B7ZhMTn_.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-B6OhWEWH-B07qbUkS.js → ReimbursementSetUpPage-RETPkEQd-h93k32Yy.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DmDoqEZh-uzEFRQ-S.js → ReimbursementsBulkReviewDrawerPage-DnmYl0FM-DkzJps2g.js} +1 -1
- package/dist/assets/{ReloadCard-DIFXZM9U-DBPBbgAk.js → ReloadCard-Bdoo0XiI-DQ7zH5_b.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-BsIDwouQ-CPsb7qgs.js → ReportTableViewSelector-Bc1K7mU_-DG7CvQgg.js} +5 -5
- package/dist/assets/{ReportsPage-BFTuYQt2-DMFsqd7C.js → ReportsPage-BOTHMLWh-DQAZC3St.js} +1 -1
- package/dist/assets/{ReportsRoutes-o9bGTZG2.js → ReportsRoutes-DCqEshJz.js} +1 -1
- package/dist/assets/{RevenueChart-BoFq3ebd-BKAB0VPm.js → RevenueChart-DvyZ3aO7-B4HMUW1f.js} +12 -12
- package/dist/assets/{ReviewDetailsPage-6kCQzaHm-BuMU9buw.js → ReviewDetailsPage-BIMg1n2e-DLbpGZaf.js} +5 -5
- package/dist/assets/{ReviewOverlay-Dhb-kL6G-T1Rt0JTi.js → ReviewOverlay-CxwoiOLC-BQk8pdfC.js} +1 -1
- package/dist/assets/{RewardsRoutes-BgoAL3gc.js → RewardsRoutes-CSIVaJxq.js} +1 -1
- package/dist/assets/{RoleWithToolTip-BfM8Ltz4-GXXfeOBC.js → RoleWithToolTip-Ct3_VuDM-CgjPQD6C.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Ccewwmwc-DNDpwGYk.js → ScheduleDetailsFixedAssetsPage-DiL5Dozk-pNKl0FgE.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-D4LK83qQ-CrubqPOA.js → ScheduleDetailsPage-5FWpLRtd-l5IGOvvZ.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-BZR2cL6z-w_YgKqjP.js → ScheduleSequenceTable-R3-PsXES-DyxPg04Q.js} +1 -1
- package/dist/assets/{ScreenRoutes-TOE80oct.js → ScreenRoutes-DIrZFSvZ.js} +2 -2
- package/dist/assets/{SetUpAccountSection-CxjYbrXu-DQJqTTcH.js → SetUpAccountSection-CctbMmoK-B53PK3Go.js} +1 -1
- package/dist/assets/{SettingsRoutes-DiQAnQke.js → SettingsRoutes-D3PUQXPp.js} +1 -1
- package/dist/assets/{SetupPagesScreen-B44zrHwc.js → SetupPagesScreen-KqbTYQgM.js} +1 -1
- package/dist/assets/{SignIn-CVmtPGKL-CXpuQZF7.js → SignIn-CmgmnRm4-CYN0bjHA.js} +8 -8
- package/dist/assets/{SignInScreen-C2qODMhD.js → SignInScreen-BDFrycHi.js} +1 -1
- package/dist/assets/{SignOutScreen-BuY2-rDM.js → SignOutScreen-CGJ8k7ri.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BLjP9T8h-Bnkn6BRU.js → SpendManagementListViewPage-CFUxCqkU-BnIDgS6j.js} +8 -8
- package/dist/assets/{SpendManagementPerTabPage-Ck4brjun-BbdiQcvt.js → SpendManagementPerTabPage-C-kqNTci-BPWoCLvk.js} +21 -21
- package/dist/assets/{SpendManagementSection-DAqR2c98-C5fgGVtc.js → SpendManagementSection-CIz4nE_w-BnkkQIXw.js} +9 -9
- package/dist/assets/{StatementItem-B_iG99XI-BDI0UE9q.js → StatementItem-vVtoBN2w-Dv2jVRGi.js} +2 -2
- package/dist/assets/{StatementsPage-DcKziEfZ-CpFQ2fm7.js → StatementsPage-As5WOnMR-xJO4oteU.js} +2 -2
- package/dist/assets/{StatusSwitcher-BI-dgnrK-esyU6zat.js → StatusSwitcher-Bv-ozN6U-aFxpsrjy.js} +1 -1
- package/dist/assets/{SubTabSwitcher-BpNI5Wke-DY-WyLZ7.js → SubTabSwitcher-D7QeM6nb-bmup9lZe.js} +1 -1
- package/dist/assets/{SuccessAnimation-AojDorqX-Ct3YtoCE.js → SuccessAnimation-hijccO_0-BgS0j6Ks.js} +1 -1
- package/dist/assets/{SummaryCard-HW-1WXN9-CoLCJfe-.js → SummaryCard-C2qoTsAY-DD3uQEFW.js} +1 -1
- package/dist/assets/{TaskDetailPage-Cwe193JO-NTfqA0n4.js → TaskDetailPage-QMk4DTDK-D5dNR6rN.js} +1 -1
- package/dist/assets/{TaskListScreen-pLglWsFm.js → TaskListScreen-BN0d0a63.js} +1 -1
- package/dist/assets/{TaskManagementPage-Bz1uP5hK-CpLCNkk4.js → TaskManagementPage-BJwp32Ph-YNf3iBQj.js} +30 -30
- package/dist/assets/{TaskRoutes-DnaScSH0.js → TaskRoutes-DEMuiHnC.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-oORYeFzN-D8_bwHZK.js → TimeRangeSwitcher-D00bDDhP-CGwNNnWQ.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-JcJSbn0--WBWh3QNc.js → TimeframeSwitcher-DA99HdHt-CKTTRDRO.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-BEZU-KDj-D-7PUQTb.js → TimeframeSwitcherWithToggle-DyggDIQj-DWVBybzM.js} +2 -2
- package/dist/assets/{TopExCard-CF6z0JWk-BU77sN9h.js → TopExCard-Z1WabZ8c-DRsgDR4x.js} +1 -1
- package/dist/assets/{TopExDetailPage-DrcKlFuy-DtCTyGEZ.js → TopExDetailPage-CzHG4f9E-BM9NWMt3.js} +12 -12
- package/dist/assets/{TransactionActivityLogPage-BB4q0jan-Dt9C7u25.js → TransactionActivityLogPage-CGKnjNfU-YIIG-jBr.js} +1 -1
- package/dist/assets/{TransactionDetailPage-DRG_qosz-CdI1Sif1.js → TransactionDetailPage-1-mLOWSz-CE3-Hi8u.js} +24 -24
- package/dist/assets/{TransactionDetailRoutes-LeQoOoop.js → TransactionDetailRoutes-BCnSElc9.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-DmniS92w.js → TransactionDetailScreen-DkbX0oG8.js} +1 -1
- package/dist/assets/{TransactionList-iw4pyMYF-BZXHb6ne.js → TransactionList-BB-xoIGm-BeosfrmM.js} +11 -11
- package/dist/assets/{TransactionListBig-BljAUwAB-CwuevZBI.js → TransactionListBig-C5Sf5Xh--B6eKIFdx.js} +1 -1
- package/dist/assets/TransactionListPage-Cj7h1Ros-SOf7w-b8.js +35 -0
- package/dist/assets/{TransactionListRoutes-B0NbfJGc.js → TransactionListRoutes-AdVZSKN8.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-DXuYIj-p-BAGVAnze.js → TransactionVendorDetailPage-SsrSOk3O-CHAPTeaE.js} +1 -1
- package/dist/assets/{TransferDrawerPage-C3q8h8Zy-BoniTEmb.js → TransferDrawerPage-BvKZ7vHF-ITLn4K_S.js} +15 -15
- package/dist/assets/{TreasuryOverviewPage-DqjFEV9B-DKLiFiZv.js → TreasuryOverviewPage-DwvjMR4_-BC_r0SvV.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-ByeK0W_5-CSsspYlY.js → TreasuryPromoPage-CtTFvSQW-DMtUAfPQ.js} +14 -14
- package/dist/assets/{TreasuryRoutes-RdusD-Rs.js → TreasuryRoutes-CZR8Qztx.js} +1 -1
- package/dist/assets/TreasuryStatementsPage-Catz8shX-gsqiZvC2.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-DwLyqS86-DtzjbSZs.js → TreasuryTaxLetterPage-D8hzCL5o-CxF7_s4J.js} +3 -3
- package/dist/assets/{TrendChart-Dgh_21FN-fE4rL1gs.js → TrendChart-Bnp4Pcdf-DAHDBSRg.js} +2 -2
- package/dist/assets/{TrendWithTransactions-BgIPapHk-CoxM2wed.js → TrendWithTransactions-3D1FvM8G-D5DfweO8.js} +8 -8
- package/dist/assets/{UncategorizedAccountsMappingPage-DIIJcGrj-BjS9g3RO.js → UncategorizedAccountsMappingPage-DbyY-dYB-icxwXrio.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-DIOZhQOZ-BAgYpBnA.js → UnitIntegrationPage-CTzme1te-CKwPezqe.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-qrcEQmkz-Pa5hfJ1q.js → UploadAdditionalDocumentOverlay-Wl4Spdpn-BP-fxZSw.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-C58w6vC7-BNROU96t.js → Vendor2FAPopup-D0zYKkIv-BYJemD3t.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-YYX9aQdw-CXB0C692.js +1 -0
- package/dist/assets/{VendorDetailPage-CEQFcNHr-CdHY7Z8F.js → VendorDetailPage-Br9wIOnI-Ui00Vq-Y.js} +12 -12
- package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-Cvv6-Sl5.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Dl7jZYBV-D7-yK69r.js → VendorFiling1099EditablePage-himC7iD3-CGMBRb4f.js} +5 -5
- package/dist/assets/{VendorFirstReviewPage-yVbtg_tG-DkVJi06p.js → VendorFirstReviewPage-BbknTCBD-x2LuwDBy.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-DNDv_s8G-Bjr44b-O.js → VendorInternationalWireDetailsPage-CS595Xgc-BWEjYBp2.js} +6 -6
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-CRl0YntK.js +1 -0
- package/dist/assets/{VendorsAccountsSection-Cscbgqrx-Bo3Iqcup.js → VendorsAccountsSection-CgSJu8wq-BJswZIIA.js} +1 -1
- package/dist/assets/{VendorsRoutes-SOKeFy8n.js → VendorsRoutes-05ainu55.js} +1 -1
- package/dist/assets/{VerifyDevice-D1vsUSdJ-DgLDroCx.js → VerifyDevice-Dvf0JsNN-BxFzBfzQ.js} +5 -5
- package/dist/assets/{VideoPlayer-TlEy-oD0-u3_il_Y_.js → VideoPlayer-VAzOGCDL-C6P1MPmA.js} +1 -1
- package/dist/assets/{VideoPopup-3DD646kG-DAIfDEuP.js → VideoPopup-BqvZ-XIh-tpbto8Y7.js} +4 -4
- package/dist/assets/{WiseConfirmationScreen-DH4LFnlh.js → WiseConfirmationScreen-D-O-AEQg.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-BbsXzuHD-D5t6KpKy.js → ZeniAccountDetailPage-GcwTJdB8-CtCTcpCW.js} +14 -14
- package/dist/assets/{ZeniAccountListViewPage-lmuVUpKS-BoKhHVdj.js → ZeniAccountListViewPage-CdwO0Duy-BDSbkpkS.js} +24 -24
- package/dist/assets/{ZeniAccountNavBarPieces-CQhwBKXD-w44Ezq7c.js → ZeniAccountNavBarPieces-BrSIfL36--BCCJ_B2.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-CXEb9tRE-Clp7jZPs.js → ZeniAccountPromoPage-JrcedQYB-Dn7j6upG.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-DFjwyu_L.js → ZeniAccountRoutes-C1DKaJoc.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-DPhYQu6u-CIYZ11Sw.js → ZeniAccountSetupPage-TKBfbgzJ-BqZbSZu7.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-C6QxYG3m.js → ZeniAccountStatementScreen-mRCX19Ut.js} +1 -1
- package/dist/assets/{ZeniAvatar-CCOD249Z-aNjy2A_h.js → ZeniAvatar-Bzhq25CU-B22YVvLm.js} +1 -1
- package/dist/assets/{ZeniCopyright-pvaggW6x-CiSnJmIZ.js → ZeniCopyright-DglqrTpl-DIGaFEv0.js} +1 -1
- package/dist/assets/{ZeniDatePicker-EhzRlpFY-CeeUTfjC.js → ZeniDatePicker-BHXPxPnI-vwmLROHK.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Dlyom9dD-ssTMZPmj.js → ZeniTransferAmountSlider-BcaZZuAw-9zrzQe1V.js} +1 -1
- package/dist/assets/{accountMappingHelper-BiN37Afq.js → accountMappingHelper-GPi0oD1D.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-CPiuqV_c.js → add-to-wallet-DgdBD8_G-0ekd9-Ri.js} +1 -1
- package/dist/assets/{analytics-wdo9XAAq.js → analytics-B2Q_uKwH.js} +1 -1
- package/dist/assets/{analyticsHelper-AeOsAjMK-BGRykG4C.js → analyticsHelper-CAYdbjhS-TiCqBFHc.js} +1 -1
- package/dist/assets/{analyticsHelper-DCVh2Q2D.js → analyticsHelper-eqJrrWmY.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-Cha4vEKb.js → arrow-south-east-round-PEovUgvH-DvoAU7mY.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-BOscmwTD.js → auto-transfer-rule-mbafm5D3-VBx9t_qo.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-Cy0EjR0N.js → avatar-Dz7aEm3d-ZI3JCtk7.js} +1 -1
- package/dist/assets/{bank-letter-BOcVjN6J-Dipf9hW8.js → bank-letter-BOcVjN6J-Dws2Kxmd.js} +1 -1
- package/dist/assets/{calculateSize-D-LzlJzs-DzScwWaZ.js → calculateSize-B2w5JPEU-BiAuCFz-.js} +1 -1
- package/dist/assets/{chartTypes-BLsP7rGF-Da9uYAcr.js → chartTypes-CD3vrBsI-D1eLb6aA.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-CnqntmQY.js → clock-CJkylEKt-CwvCI5hq.js} +1 -1
- package/dist/assets/common-BpxEACHl-D-qMuYEn.js +1 -0
- package/dist/assets/{commonDimensions-DIm7kTtR-BvbgEdIW.js → commonDimensions-Oz1tdAcx-6qsjkus3.js} +1 -1
- package/dist/assets/{commonTypes-B3mnx2x_-DYgG7K13.js → commonTypes-5tEXwrX4-0afSAZ02.js} +1 -1
- package/dist/assets/{core-BcVj2gTX.js → core-D9P6lLF-.js} +1 -1
- package/dist/assets/{dash.all.min-C98tiWV1.js → dash.all.min-CrF9T_sg.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-ClJHrrjv.js → decodeURIComponentSafe-BA7ebd4J.js} +1 -1
- package/dist/assets/{dnd-eXDjf6Lj.js → dnd-nSkfhkrX.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-B8-M7Nzo.js → dollar-round-D18u7nlm-DJ7jjz8a.js} +1 -1
- package/dist/assets/{downloadPdf-B5WrL0K1-CyBUyeC8.js → downloadPdf-Dsuxeias-DgqgIEmy.js} +1 -1
- package/dist/assets/{empty-wYUB3tSo.js → empty-BM1tlym1.js} +1 -1
- package/dist/assets/{empty-C4qv3p9z.js → empty-DqDGRwQI.js} +1 -1
- package/dist/assets/{epic-BQcpQKad.js → epic-C-GRNY0z.js} +1 -1
- package/dist/assets/{filter-cZIFUNvj-BvpfZxhV.js → filter-cZIFUNvj-CnTMsRoA.js} +1 -1
- package/dist/assets/{getLocaleForTenant-Cgh9LbcE.js → getLocaleForTenant-D_kHTEKc.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-DmzAN1Y2.js → gift-box-Cmt9OgIZ-CmbTqYsU.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-C2w81gyO.js → graphic-no-data-l-DU4J8fDt-qX4MU25I.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-B9Kj_9xA.js → graphic-no-data-net-burn-l-CzmycA0m-eyhdhwsy.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-C5EsxlDc.js → handshake-BPg58FML-Dy9hpFzO.js} +1 -1
- package/dist/assets/{helper-BVESv00--CCWSdc0u.js → helper-Ckm10Uko-Cft993Iq.js} +1 -1
- package/dist/assets/{hyperlink-DQyCeXx2-B8GMs2Qi.js → hyperlink-DQyCeXx2-ClAJPTpW.js} +1 -1
- package/dist/assets/{index-Lqpf6Iwl.js → index-BGoNZK9J.js} +1 -1
- package/dist/assets/{index-DlrbNfLu.js → index-BHx-AV13.js} +1 -1
- package/dist/assets/{index-DxRPAtdN.js → index-BoyH9PC5.js} +1 -1
- package/dist/assets/{index-Bnlx-O7K.js → index-C6CSTWn-.js} +1 -1
- package/dist/assets/{index-CDsOcKsG.js → index-CAltUZe8.js} +6 -6
- package/dist/assets/{index-CHxhGC-k.js → index-D3FWjv6R.js} +1 -1
- package/dist/assets/{lexical-DEeAev9O.js → lexical-Ct6cBwR8.js} +1 -1
- package/dist/assets/{liveblocks-BAIL303h.js → liveblocks-DxIK6Zp5.js} +1 -1
- package/dist/assets/{lottie-DP5A4Fs7.js → lottie-BEhoArVd.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-D0bSM41h.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BIiMj0sc-BSyDfjzw.js → mapSectionWithAcOnlyToTreeNode-Cgyt68f3-Bqo33gCA.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-CaUrNev8.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CyO5pm8k-_jPUKmdI.js → mapTimeframeBalancesToTreeNode-Bre8FfBF-CPTPOyt7.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-BwgfCZTt.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-NKafOEXu-n_XJX95T.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-Cw5QJbW7.js} +1 -1
- package/dist/assets/{media-player-Bc98lKB5.js → media-player-CsDObYZE.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-DIu_vl7e.js → money-2cg1MuG4-CTFLBPxC.js} +1 -1
- package/dist/assets/{mui-hn9thxzh.js → mui-CMSRVFAm.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-6zbdwm2S.js → page-detail-CWX5S47F-D71KSTNS.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-BOxy1JzR.js → page-summary-D7_VQHwN-C0Gmkrf2.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-B7PwrSV9.js → panelSelectedMixin-Cddsb26L-CzLNMPbQ.js} +1 -1
- package/dist/assets/{pathToGoBack-CQ5L4Qtj.js → pathToGoBack-Blub25Cp.js} +1 -1
- package/dist/assets/{pdf-Cs-mh77O.js → pdf-Be2WBqYM.js} +3 -3
- package/dist/assets/{pdf-lib-sBkKqPTU.js → pdf-lib-CnVZquuu.js} +1 -1
- package/dist/assets/{plaid-NpQK5k22.js → plaid-BfI3x5Cu.js} +1 -1
- package/dist/assets/{pusher-DWT0gMh9.js → pusher-B6_CsVbZ.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-CFx63U5w.js → radio-default-CiSgisfh-B-boFyAl.js} +1 -1
- package/dist/assets/{react-CDpJbt9S.js → react-BHFS79hd.js} +1 -1
- package/dist/assets/{react-C6SHTtsh.js → react-BU_9CVSX.js} +3 -3
- package/dist/assets/{react-D2TGyR4z.js → react-BpE8-YB1.js} +1 -1
- package/dist/assets/{react-xLLMyMiK.js → react-C0Y1QuQQ.js} +1 -1
- package/dist/assets/{react-D8Ql5Ir3.js → react-C8t61nFI.js} +1 -1
- package/dist/assets/{react-GYK8-ald.js → react-D-1D0x0x.js} +1 -1
- package/dist/assets/{react-BTmu8DG-.js → react-Df07f_EQ.js} +1 -1
- package/dist/assets/{react-D7EJTKAr.js → react-DoqYYGGT.js} +1 -1
- package/dist/assets/{recharts-B4dFoR35.js → recharts-gT6BOz1b.js} +1 -1
- package/dist/assets/{routePaths-C-_oCckx.js → routePaths-C2kSZwVH.js} +1 -1
- package/dist/assets/{sentry-BkPUuNvL.js → sentry-DQeYyYXx.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-aMF7hqRR.js → shield-DOlUxcFf-CtwAmezy.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-C-17E3uX.js → spend-limit-D6SyboD4-DgU5KXwN.js} +1 -1
- package/dist/assets/toCOABalancesWithID-aLNB35t7-Bbjw8HZY.js +1 -0
- package/dist/assets/{toChartData-BkubFDq8-CRAS8Brl.js → toChartData-DUL6vnzJ-Dwc3foiO.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-B2H47PYQ.js → transaction-placeholder-CpOwZAMG-EsW3Q-dq.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-DnfqwuXr.js → undo-b_3XZ5CX-vDqRNZiv.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-PO6XR31-.js → unlock-BPWn2I5L-DrFYUkdQ.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-CkquQ_GZ.js → upload-reimbursement-receipt-O2N8vcO7-DJbY_Oz2.js} +1 -1
- package/dist/assets/{uploadAttachment-CzgakLtr-w-CpO5ZH.js → uploadAttachment-Ck4wivBR-es3sSFtr.js} +1 -1
- package/dist/assets/{uploadReceipts-CIgkuVpu-DItV8z0n.js → uploadReceipts-CIgkuVpu-IBEc_jc1.js} +1 -1
- package/dist/assets/{url-Bagborol.js → url-DabKyEXg.js} +1 -1
- package/dist/assets/{url-DmgUP0mV.js → url-Doy-Mf6X.js} +1 -1
- package/dist/assets/{useDeviceId-eLv7tFR4.js → useDeviceId-Dx8RlRsA.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-BQU3Jo1E.js → useInitialThreadRequest-Bxf1X7cu.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-Cftpm8Z6.js → useLongPress-GCK2COYQ-CW7ST8rN.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-D_M71co8.js → usp-line-BBd1wKwW-Crs-gA1B.js} +1 -1
- package/dist/assets/{utils-DkgigH7S.js → utils-BAO5KfNy.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-H3IbO2pr.js → withTransactionSidePanel-FcH3ZlAj.js} +1 -1
- package/dist/assets/{zeni-epic-state-CsRsIUwY.js → zeni-epic-state-CHpO1ZKT.js} +3 -3
- package/dist/assets/{zeni-icon-only-QItZ_P8a.js → zeni-icon-only-4nFle2Fz.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountInfoPage-Cz9yoVl8-i4SdDCSW.js +0 -18
- package/dist/assets/AccountInfoPageContent-j85psx_A-DeBCdl3d.js +0 -149
- package/dist/assets/BillPayApprovalRuleDetailPage-C_REwEVS-B1_RM9n8.js +0 -27
- package/dist/assets/ChargeCardPromoPage-CKl6K-nr-DW3UNOti.js +0 -222
- package/dist/assets/CustomerOnboardingAuthScreen-D7hLcvD9.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-B4YFIOQJ-t-Qqzm11.js +0 -1
- package/dist/assets/EntityDetailPage-D8FzsqNk-a6QKQbsr.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-BKh8WrCR-yzbitn8u.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv19HbKi-CyHS18r2.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DbFxpWOg-EDVvFAle.js +0 -1
- package/dist/assets/MailingDetailsSection-BNVPaGFt-BxMdrzgd.js +0 -21
- package/dist/assets/TransactionListPage-ReGTmF43-3dryvOZg.js +0 -35
- package/dist/assets/TreasuryStatementsPage-BjGwvMFL-rl7Xwq3o.js +0 -58
- package/dist/assets/VendorACHDetailsPage-BbxRwrEv-Bd-GOuTM.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-C02ZhGg3-B_msRt77.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bdt0UR_b-DHmy9Qnb.js +0 -1
- package/dist/assets/common-CAmBErdt-mQeN1s1o.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DJxRl0X1-CqHpAmA4.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Bj3f2irs-BQdWgZ0d.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-AI17uMHa-BqlDWqT_.js +0 -1
- package/dist/assets/toCOABalancesWithID-BWMF0py6-COMd_TR_.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as wt,_ as $t,x as u,eB as vt,eC as jt,eD as St,V as t,eE as Ct,eF as ie,eG as Tt,eH as Dt,eI as It,eJ as Pt,a5 as k,eK as kt,b as v,eL as Mt,eM as Be,eN as Fe,eO as Re,w as U,c$ as O,f as j,eP as At,eQ as E,d5 as _,eR as Bt,eS as Ft,bo as Le,o as n,a9 as Rt,m as s,O as Lt,u as zt,bx as Nt,d as Ot,M as Et,eT as _t,bH as Vt,l as ce,H as me,eU as Zt,eV as Gt,aD as Yt,n as Ht,at as Kt,eW as Ut,D as tt,b6 as qt,C as nt,aR as Wt,eX as Qt}from"./index-CDsOcKsG.js";import{a as Z}from"./sentry-BkPUuNvL.js";import{n as a}from"./mui-hn9thxzh.js";import{cp as ze,cj as Ne,bX as D,c4 as Xt,FW as Jt,bG as re,c6 as en}from"./zeni-epic-state-CsRsIUwY.js";import{t as tn,o as nn}from"./LowBalancePopup-CplxkRHP-CQO3ycRf.js";import{S as V}from"./LabeledText-CFJSoGtK-WYjBLL4Z.js";import"./pdf-Cs-mh77O.js";import"./core-BcVj2gTX.js";import"./lottie-DP5A4Fs7.js";import"./liveblocks-BAIL303h.js";import"./recharts-B4dFoR35.js";import"./dnd-eXDjf6Lj.js";import"./analytics-wdo9XAAq.js";import"./plaid-NpQK5k22.js";import"./utils-DkgigH7S.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="c3e78ad2-7eee-4d62-a986-4348aaa25e24",e._sentryDebugIdIdentifier="sentry-dbid-c3e78ad2-7eee-4d62-a986-4348aaa25e24")}catch{}})();const at=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,s[2],s[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,s[1]),navBarContainerPaddingTop:new u(10,s[3]),sectionTitleMarginLeft:new u(s[3],s[0]),reviewContainerMarginLeft:new u(s[3],s[6]),reviewContainerMarginRight:new u(s[3],s[8]),footerRightIconMarginRight:new u(s[0],s[0],s[7]),infoLabelPaddingRight:new u(s[0],s[3]),infoLabelMarginTop:new u(s[1],s[0])},an={sectionTitle:new Ot("h6Medium","h5Medium")},{dateFormat:Oe,common:{currency:$,labels:Ee,edit:on,strings:{empty:g}},spendManagement:{billPay:ln}}=Lt.getLocalizedStrings(),{billDetails:o,paymentDetails:_e}=ln,Ve=({attachment:e})=>{const[y,x]=Z.useState(!1),M=e.fileId?.length===0;return t.jsxs(Fn,{isDisabled:e.fileId?.length===0,"data-testid":v("attachment-tag",e.fileName),onClick:()=>M===!1?x(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Zt,{title:e.fileName,file:e,onCrossClick:()=>{x(!1)},setShowFullScreenView:x}):null,t.jsx(Rn,{children:t.jsx(Gt,{contentType:e.contentType})})]})},ia=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:x,currentTenant:M,isInternationalPaymentShaVsOurEnabled:A,isLocalCurrencyEnabled:ot,style:lt,analytics:w,isRecurringBillsFeatureEnabled:it,isApprovalRequiredForMarkAsPaid:rt,isDetectInsufficientFundsEnabled:dt,billId:b,onClickEdit:pe,discardBillDetailsFromLocalStore:ue,saveBillDetails:ye,discardOutsideZeniPaymentData:st,updateBillDetailSaveBillCode:he,redirectToBillsScreen:ge,onAttachmentClick:X,retryPayment:ct})=>{const d=wt(),c=$t(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:b},F=x&&b!=null,R=`dashboard_${c.currentTenant?.companyId}`,L=m.largeLabelWidth.value(d),I=e.saveStatus,J=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,i=vt(A,ot,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),S=Oe.visual.MMMDCommaYYYYformat,xe={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},p={amount:i?.method.includes("international")===!0?jt(xe,i):e.recipientTotalAmount.amount+(i?.fee.amount??0),currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},z={amount:i?.method.includes("international")===!0?St(xe,i):i?.fee.amount??0,currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},[mt,fe]=Z.useState(!1),[te,be]=Z.useState(!1),we=()=>fe(!1),pt=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${o.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Mn,{size:d,children:t.jsx(kn,{})})]}):Ct(e.paymentDetailsSection?.paymentTo);Z.useEffect(()=>{(I?.fetchState==="Completed"||J?.fetchState==="Completed")&&(ue(),he(),ge())},[I,J,ge,ue,he]);const P=e.billPayInfo?.stage,N=e.billPayInfo?.billStatus,G=e.billPayInfo?.billPaymentStatus,ut=e.billPayInfo?.billPaymentRefundStatus,ne=P?.code==="paid"?P:N?.code=="approved"&&G?.code?G:N,yt=e.billPayInfo?.isRefundInitiated===!0?ut:N?.code=="approved"&&G?.code?G:N,ae=()=>{pe()},$e=()=>{pe()},Y=e.paymentDetailsSection?.paymentDate,oe=ie(i?.method??""),ve=oe.replace("Same Day",""),ht=e.isCollectToAccountInfoFromVendorContact?t.jsx(Tt,{paymentTypeLabel:ve,onClick:()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),fe(!0)}}):o.addedByZeni,H=y.allApprovalRules.length>0,gt=ze(i?.method!=null&&(i.method.includes(D)||i?.fee.amount!=null&&i.fee.amount!==0)?p.amount-z.amount:p.amount,i?.fee.currencyCode??Ne.currencyCode,i?.fee.currencySymbol??Ne.currencySymbol),f=Xt(e.paymentDetailsSection?.paymentType?.method),je=()=>{be(!0),w.trackBillPayMarkAsPaid(P?.code??"draft",ne?.code??"")},C=f,h=C&&!rt,Se=Ze(h,H,e.isBillMarkedForRetry),le=dt&&e.paymentDetailsSection!=null?Dt(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,Ce=()=>{Te===!0&&K(!1),e.isBillMarkedForRetry===!0?(ct(),w.trackRetryConfirmClick(ne?.code??"",P?.code??"",yt?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&((()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,T=e.recurringConfig,ft=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(b??"new_bill"),i?.method!=null&&l!=null){const bt=f?o.paymentOutsideZeni.offline:ie(i.method);if(w.trackBillPaySendForApproval(bt,l.format(Oe.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,b,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:re(T?.startDate?.toString()??"").format(S),endDate:re(T?.endDate?.toString()??"").format(S),frequency:T?.frequency??"monthly",totalAmount:ft.amount,totalPaymentCycles:T?.totalPaymentCycles??0,isApprovalRequired:T?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?T?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?T?.updateRecurringBills==="all":void 0}),le!=null){const De=P?.code??"draft",Ie=N?.code??"",Pe=e.isRecurring?["Recurring"]:["One-Time"],ke=e.invoiceNumber??"",Me=Qt(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";Se===o.scheduleBill?w.trackLowBalanceAccountSchedule(De,Ie,Pe,ke,Me,Ae):Se===o.sendForApproval&&w.trackLowBalanceAccountSentForApproval(De,Ie,Pe,ke,Me,Ae)}}})(),ye(!1,{}))},xt=Jt(p.amount,y.allApprovalRules,c.loggedInUser),[Te,K]=Z.useState(!1);return t.jsxs(gn,{children:[te?t.jsx(tn,{onCancel:()=>{st(),be(!1)},onProceedForMarkAsPaid:l=>{w.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",P?.code??"draft",ne?.code??""),ye(!0,l)},saveDetailsFetchState:I?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Te?t.jsx(nn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Ce,onCancelClick:()=>{K(!1),ae()},onClickAway:()=>{K(!1)}}):null,t.jsx(It,{anchor:"right",open:mt,onClose:we,transitionDuration:250,"data-testid":v("vendor-email-preview-drawer"),children:t.jsx(Pt,{companyName:kt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Y?.format(S)??"",paymentType:ve,amount:k("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:we})}),t.jsxs(xn,{windowSize:d,style:lt,children:[d==="small"?t.jsxs(Pn,{windowSize:d,children:[t.jsx(We,{onClick:$e,"data-testid":v("review-detail-nav-bar-small-back")}),t.jsx(He,{windowSize:d,children:o.oneLastLook})]}):t.jsx(In,{"data-testid":v("review-details-nav-bar-back"),children:t.jsx(We,{onClick:$e})}),d!=="small"?t.jsx(bn,{children:t.jsx(He,{windowSize:d,children:o.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(wn,{children:[t.jsxs($n,{children:[t.jsx(_n,{}),t.jsxs(vn,{children:[t.jsx(Sn,{children:o.duplicateBillPayWarning}),t.jsxs(jn,{children:[o.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":v("review-detail-attachment-button"),onClick:()=>X(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[o.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Nn,{children:[t.jsx(En,{children:o.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Mt(l);return l!=null?t.jsx(On,{children:at.includes(d)?t.jsxs(Ke,{windowSize:d,children:[t.jsxs(Cn,{children:[t.jsxs(Tn,{children:[l.attachments&&l.attachments.length>0?t.jsx(Ve,{attachment:l.attachments[0]}):t.jsx(Qe,{children:t.jsx(Xe,{})}),t.jsx(W,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?o.invoiceNo:null,l.documentId]})})]}),t.jsx(Je,{windowSize:d,children:k("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Ln,{"data-testid":v("review-detail-mobile-info"),onClick:()=>X(l.id,l.billPayInfo.stage.code),children:[t.jsxs(W,{children:[l.dueDate!=null?o.due:null," ",l.dueDate?.format(S)]}),t.jsx(et,{children:r!=null?Be.includes(r.code)?t.jsx(Fe,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ke,{windowSize:d,children:[l.attachments&&l.attachments.length>0?t.jsx(Ve,{attachment:l.attachments[0]}):t.jsx(Qe,{children:t.jsx(Xe,{})}),t.jsxs(zn,{"data-testid":v("review-detail-info"),onClick:()=>X(l.id,l.billPayInfo.stage.code),children:[t.jsx(W,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?o.invoiceNo:null," ",l.documentId]})}),t.jsxs(W,{style:{width:"25%"},children:[l.dueDate!=null?o.due:null," ",l.dueDate?.format(S)]}),t.jsx(Je,{style:{width:"25%"},windowSize:d,children:k("0,0[.]00",l.amount)})]}),t.jsx(et,{children:r!=null?Be.includes(r.code)?t.jsx(Fe,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Dn,{children:[t.jsx(Ue,{children:o.pay}),t.jsx(qe,{children:t.jsx(Re,{amount:gt,integerStyles:U.largeMedium.cssObject,decimalStyles:U.smallMedium.cssObject})}),t.jsx(Ue,{children:o.to}),t.jsx(qe,{children:e.vendor?.name})]}),t.jsxs(fn,{children:[f?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(V,{label:{label:o.withdrawFrom,width:L},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?At(e.paymentDetailsSection.withdrawFrom,d):g,infoLabelStyle:{textAlign:d==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(d),marginTop:m.infoLabelMarginTop.valuePx(d),color:j.brandColorGoldDark},additionalInfoLabel:le})}),t.jsx(q,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(V,{label:{label:o.paymentMethod,width:L},style:{width:"auto"},value:ie(i?.method??""),additionalInfoLabel:f?h?void 0:o.paymentOutsideZeni.reviewInfo:i?.method!=null&&i.method.includes(D)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&A&&ee===$.currencyCode?Ut(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0})}),t.jsx(q,{}),f||Y==null?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(V,{label:{label:o.paymentDate,width:L},style:{width:"auto"},value:Y.format(S),additionalInfoLabel:`${o.estimatedArrival}${re(en(Y.toDate(),[0,6],i?.maxPeriod.value??0).toDateString()).format(S)} - (${oe.length>0?`${oe} `:""}${o.deliveryTimeLabel} = ${i?.maxPeriod.value??"0"} ${o.deliveryTimeUnits})`})}),t.jsx(q,{})]}),f?null:t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(V,{label:{label:o.paymentTo,width:L},style:{width:"auto"},value:pt??"",additionalInfoLabel:ht})}),f||it?t.jsxs(t.Fragment,{children:[t.jsx(q,{}),t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(V,{label:{label:o.paymentType,width:L},style:{width:"auto"},value:Ft(e.isRecurring,f,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Bt(d,e.isRecurring,f,e.recurringConfig)})})]}):null]}),!f&&i?.method!=null&&(i.method.includes(D)||i?.fee.amount!=null&&i.fee.amount!==0)?t.jsx(pn,{children:t.jsxs(un,{windowSize:d,children:[t.jsxs(yn,{children:[t.jsx(sn,{children:o.total}),t.jsx(Le,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(mn,{children:[t.jsxs(Ye,{children:[t.jsx(se,{children:i.method.includes(D)&&ee!==$.currencyCode?_e.conversionAmountColon:Ee.invoiceAmount}),t.jsx(de,{children:k("0,0[.]00",{amount:p.amount-z.amount,currencySymbol:z.currencySymbol})})]}),t.jsxs(Ye,{children:[t.jsx(se,{children:_e.transactionFee}),t.jsx(de,{children:k("0,0[.]00",{amount:z.amount,currencySymbol:z.currencySymbol})})]}),t.jsx(cn,{}),t.jsxs(dn,{children:[t.jsx(se,{children:Ee.total}),t.jsx(de,{children:k("0,0[.]00",{amount:p.amount,currencyCode:p.currencyCode,currencySymbol:p.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(rn,{})})]}),t.jsx(hn,{children:t.jsx(Re,{amount:ze(p.amount,p.currencyCode,p.currencySymbol),integerStyles:U.h6Medium.cssObject,decimalStyles:U.standardMedium.cssObject})})]})}):null]}),t.jsx(Rt,{cancelBtn:{label:C&&!h?o.paymentOutsideZeni.markAsPaid:o.editBill,onClick:C&&!h?je:ae,isLoading:C&&!h&&te&&I?.fetchState==="In-Progress",reverseSpinnerColor:!1,style:{width:Ge(!1,C,h,H,d)}},primaryBtn:{label:Ze(h,H,e.isBillMarkedForRetry),isLoading:I?.fetchState==="In-Progress"&&(h||!te)||J?.fetchState==="In-Progress",onClick:h?je:()=>{xt&&le!=null?K(!0):Ce()},style:{width:Ge(!0,C,h,H,d)}},rightSideComponent:C&&!h&&I.fetchState!=="In-Progress"?t.jsx(Vn,{windowSize:d,children:t.jsx(Le,{style:{color:j.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:on,placement:"top",children:t.jsx(Gn,{onClick:ae,"data-testid":v("review-detail-edit-bill-button"),children:t.jsx(Zn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(D)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(D)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(D)?t.jsxs(An,{children:[o.internationalText1,t.jsx(Bn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:o.internationalTerms}),o.internationalText2]}):null})]})},Ze=(e,y,x)=>e?o.paymentOutsideZeni.markAsPaid:x===!0?o.retryPayment:y?o.sendForApproval:o.scheduleBill,Ge=(e,y,x,M,A)=>x?128:y&&!e&&A==="small"?"auto":M?165:m.footerButtonWidth.value(A),rn=a(qt)`
|
|
1
|
+
import{e as wt,_ as $t,x as u,eB as vt,eC as jt,eD as St,V as t,eE as Ct,eF as ie,eG as Tt,eH as Dt,eI as It,eJ as Pt,a5 as k,eK as kt,b as v,eL as Mt,eM as Be,eN as Fe,eO as Re,w as U,c$ as O,f as j,eP as At,eQ as E,d5 as _,eR as Bt,eS as Ft,bo as Le,o as n,a9 as Rt,m as d,O as Lt,u as zt,bx as Nt,d as Ot,M as Et,eT as _t,bH as Vt,l as ce,H as me,eU as Zt,eV as Gt,aD as Yt,n as Ht,at as Kt,eW as Ut,D as tt,b6 as qt,C as nt,aR as Wt,eX as Qt}from"./index-CAltUZe8.js";import{a as Z}from"./sentry-DQeYyYXx.js";import{n as a}from"./mui-CMSRVFAm.js";import{cp as ze,cj as Ne,bX as D,c4 as Xt,FW as Jt,bG as re,c6 as en}from"./zeni-epic-state-CHpO1ZKT.js";import{t as tn,o as nn}from"./LowBalancePopup-1727S1ri-DQfCP7-o.js";import{S as V}from"./LabeledText-C8Y7EOsX-DCuEu6In.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="9412a243-7c00-40cc-988c-56048ba49a8b",e._sentryDebugIdIdentifier="sentry-dbid-9412a243-7c00-40cc-988c-56048ba49a8b")}catch{}})();const at=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,d[2],d[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,d[1]),navBarContainerPaddingTop:new u(10,d[3]),sectionTitleMarginLeft:new u(d[3],d[0]),reviewContainerMarginLeft:new u(d[3],d[6]),reviewContainerMarginRight:new u(d[3],d[8]),footerRightIconMarginRight:new u(d[0],d[0],d[7]),infoLabelPaddingRight:new u(d[0],d[3]),infoLabelMarginTop:new u(d[1],d[0])},an={sectionTitle:new Ot("h6Medium","h5Medium")},{dateFormat:Oe,common:{currency:$,labels:Ee,edit:on,strings:{empty:g}},spendManagement:{billPay:ln}}=Lt.getLocalizedStrings(),{billDetails:o,paymentDetails:_e}=ln,Ve=({attachment:e})=>{const[y,x]=Z.useState(!1),M=e.fileId?.length===0;return t.jsxs(Fn,{isDisabled:e.fileId?.length===0,"data-testid":v("attachment-tag",e.fileName),onClick:()=>M===!1?x(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Zt,{title:e.fileName,file:e,onCrossClick:()=>{x(!1)},setShowFullScreenView:x}):null,t.jsx(Rn,{children:t.jsx(Gt,{contentType:e.contentType})})]})},ia=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:x,currentTenant:M,isInternationalPaymentShaVsOurEnabled:A,isLocalCurrencyEnabled:ot,style:lt,analytics:w,isRecurringBillsFeatureEnabled:it,isApprovalRequiredForMarkAsPaid:rt,isDetectInsufficientFundsEnabled:st,billId:b,onClickEdit:pe,discardBillDetailsFromLocalStore:ue,saveBillDetails:ye,discardOutsideZeniPaymentData:dt,updateBillDetailSaveBillCode:he,redirectToBillsScreen:ge,onAttachmentClick:X,retryPayment:ct})=>{const s=wt(),c=$t(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:b},F=x&&b!=null,R=`dashboard_${c.currentTenant?.companyId}`,L=m.largeLabelWidth.value(s),I=e.saveStatus,J=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,i=vt(A,ot,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),S=Oe.visual.MMMDCommaYYYYformat,xe={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},p={amount:i?.method.includes("international")===!0?jt(xe,i):e.recipientTotalAmount.amount+(i?.fee.amount??0),currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},z={amount:i?.method.includes("international")===!0?St(xe,i):i?.fee.amount??0,currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},[mt,fe]=Z.useState(!1),[te,be]=Z.useState(!1),we=()=>fe(!1),pt=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${o.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Mn,{size:s,children:t.jsx(kn,{})})]}):Ct(e.paymentDetailsSection?.paymentTo);Z.useEffect(()=>{(I?.fetchState==="Completed"||J?.fetchState==="Completed")&&(ue(),he(),ge())},[I,J,ge,ue,he]);const P=e.billPayInfo?.stage,N=e.billPayInfo?.billStatus,G=e.billPayInfo?.billPaymentStatus,ut=e.billPayInfo?.billPaymentRefundStatus,ne=P?.code==="paid"?P:N?.code=="approved"&&G?.code?G:N,yt=e.billPayInfo?.isRefundInitiated===!0?ut:N?.code=="approved"&&G?.code?G:N,ae=()=>{pe()},$e=()=>{pe()},Y=e.paymentDetailsSection?.paymentDate,oe=ie(i?.method??""),ve=oe.replace("Same Day",""),ht=e.isCollectToAccountInfoFromVendorContact?t.jsx(Tt,{paymentTypeLabel:ve,onClick:()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),fe(!0)}}):o.addedByZeni,H=y.allApprovalRules.length>0,gt=ze(i?.method!=null&&(i.method.includes(D)||i?.fee.amount!=null&&i.fee.amount!==0)?p.amount-z.amount:p.amount,i?.fee.currencyCode??Ne.currencyCode,i?.fee.currencySymbol??Ne.currencySymbol),f=Xt(e.paymentDetailsSection?.paymentType?.method),je=()=>{be(!0),w.trackBillPayMarkAsPaid(P?.code??"draft",ne?.code??"")},C=f,h=C&&!rt,Se=Ze(h,H,e.isBillMarkedForRetry),le=st&&e.paymentDetailsSection!=null?Dt(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,Ce=()=>{Te===!0&&K(!1),e.isBillMarkedForRetry===!0?(ct(),w.trackRetryConfirmClick(ne?.code??"",P?.code??"",yt?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&((()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,T=e.recurringConfig,ft=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(b??"new_bill"),i?.method!=null&&l!=null){const bt=f?o.paymentOutsideZeni.offline:ie(i.method);if(w.trackBillPaySendForApproval(bt,l.format(Oe.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,b,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:re(T?.startDate?.toString()??"").format(S),endDate:re(T?.endDate?.toString()??"").format(S),frequency:T?.frequency??"monthly",totalAmount:ft.amount,totalPaymentCycles:T?.totalPaymentCycles??0,isApprovalRequired:T?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?T?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?T?.updateRecurringBills==="all":void 0}),le!=null){const De=P?.code??"draft",Ie=N?.code??"",Pe=e.isRecurring?["Recurring"]:["One-Time"],ke=e.invoiceNumber??"",Me=Qt(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";Se===o.scheduleBill?w.trackLowBalanceAccountSchedule(De,Ie,Pe,ke,Me,Ae):Se===o.sendForApproval&&w.trackLowBalanceAccountSentForApproval(De,Ie,Pe,ke,Me,Ae)}}})(),ye(!1,{}))},xt=Jt(p.amount,y.allApprovalRules,c.loggedInUser),[Te,K]=Z.useState(!1);return t.jsxs(gn,{children:[te?t.jsx(tn,{onCancel:()=>{dt(),be(!1)},onProceedForMarkAsPaid:l=>{w.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",P?.code??"draft",ne?.code??""),ye(!0,l)},saveDetailsFetchState:I?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Te?t.jsx(nn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Ce,onCancelClick:()=>{K(!1),ae()},onClickAway:()=>{K(!1)}}):null,t.jsx(It,{anchor:"right",open:mt,onClose:we,transitionDuration:250,"data-testid":v("vendor-email-preview-drawer"),children:t.jsx(Pt,{companyName:kt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Y?.format(S)??"",paymentType:ve,amount:k("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:we})}),t.jsxs(xn,{windowSize:s,style:lt,children:[s==="small"?t.jsxs(Pn,{windowSize:s,children:[t.jsx(We,{onClick:$e,"data-testid":v("review-detail-nav-bar-small-back")}),t.jsx(He,{windowSize:s,children:o.oneLastLook})]}):t.jsx(In,{"data-testid":v("review-details-nav-bar-back"),children:t.jsx(We,{onClick:$e})}),s!=="small"?t.jsx(bn,{children:t.jsx(He,{windowSize:s,children:o.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(wn,{children:[t.jsxs($n,{children:[t.jsx(_n,{}),t.jsxs(vn,{children:[t.jsx(Sn,{children:o.duplicateBillPayWarning}),t.jsxs(jn,{children:[o.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":v("review-detail-attachment-button"),onClick:()=>X(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[o.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Nn,{children:[t.jsx(En,{children:o.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Mt(l);return l!=null?t.jsx(On,{children:at.includes(s)?t.jsxs(Ke,{windowSize:s,children:[t.jsxs(Cn,{children:[t.jsxs(Tn,{children:[l.attachments&&l.attachments.length>0?t.jsx(Ve,{attachment:l.attachments[0]}):t.jsx(Qe,{children:t.jsx(Xe,{})}),t.jsx(W,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?o.invoiceNo:null,l.documentId]})})]}),t.jsx(Je,{windowSize:s,children:k("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Ln,{"data-testid":v("review-detail-mobile-info"),onClick:()=>X(l.id,l.billPayInfo.stage.code),children:[t.jsxs(W,{children:[l.dueDate!=null?o.due:null," ",l.dueDate?.format(S)]}),t.jsx(et,{children:r!=null?Be.includes(r.code)?t.jsx(Fe,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ke,{windowSize:s,children:[l.attachments&&l.attachments.length>0?t.jsx(Ve,{attachment:l.attachments[0]}):t.jsx(Qe,{children:t.jsx(Xe,{})}),t.jsxs(zn,{"data-testid":v("review-detail-info"),onClick:()=>X(l.id,l.billPayInfo.stage.code),children:[t.jsx(W,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?o.invoiceNo:null," ",l.documentId]})}),t.jsxs(W,{style:{width:"25%"},children:[l.dueDate!=null?o.due:null," ",l.dueDate?.format(S)]}),t.jsx(Je,{style:{width:"25%"},windowSize:s,children:k("0,0[.]00",l.amount)})]}),t.jsx(et,{children:r!=null?Be.includes(r.code)?t.jsx(Fe,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Dn,{children:[t.jsx(Ue,{children:o.pay}),t.jsx(qe,{children:t.jsx(Re,{amount:gt,integerStyles:U.largeMedium.cssObject,decimalStyles:U.smallMedium.cssObject})}),t.jsx(Ue,{children:o.to}),t.jsx(qe,{children:e.vendor?.name})]}),t.jsxs(fn,{children:[f?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(V,{label:{label:o.withdrawFrom,width:L},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?At(e.paymentDetailsSection.withdrawFrom,s):g,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(s),marginTop:m.infoLabelMarginTop.valuePx(s),color:j.brandColorGoldDark},additionalInfoLabel:le})}),t.jsx(q,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(V,{label:{label:o.paymentMethod,width:L},style:{width:"auto"},value:ie(i?.method??""),additionalInfoLabel:f?h?void 0:o.paymentOutsideZeni.reviewInfo:i?.method!=null&&i.method.includes(D)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&A&&ee===$.currencyCode?Ut(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0})}),t.jsx(q,{}),f||Y==null?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(V,{label:{label:o.paymentDate,width:L},style:{width:"auto"},value:Y.format(S),additionalInfoLabel:`${o.estimatedArrival}${re(en(Y.toDate(),[0,6],i?.maxPeriod.value??0).toDateString()).format(S)} - (${oe.length>0?`${oe} `:""}${o.deliveryTimeLabel} = ${i?.maxPeriod.value??"0"} ${o.deliveryTimeUnits})`})}),t.jsx(q,{})]}),f?null:t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(V,{label:{label:o.paymentTo,width:L},style:{width:"auto"},value:pt??"",additionalInfoLabel:ht})}),f||it?t.jsxs(t.Fragment,{children:[t.jsx(q,{}),t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(V,{label:{label:o.paymentType,width:L},style:{width:"auto"},value:Ft(e.isRecurring,f,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Bt(s,e.isRecurring,f,e.recurringConfig)})})]}):null]}),!f&&i?.method!=null&&(i.method.includes(D)||i?.fee.amount!=null&&i.fee.amount!==0)?t.jsx(pn,{children:t.jsxs(un,{windowSize:s,children:[t.jsxs(yn,{children:[t.jsx(dn,{children:o.total}),t.jsx(Le,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(mn,{children:[t.jsxs(Ye,{children:[t.jsx(de,{children:i.method.includes(D)&&ee!==$.currencyCode?_e.conversionAmountColon:Ee.invoiceAmount}),t.jsx(se,{children:k("0,0[.]00",{amount:p.amount-z.amount,currencySymbol:z.currencySymbol})})]}),t.jsxs(Ye,{children:[t.jsx(de,{children:_e.transactionFee}),t.jsx(se,{children:k("0,0[.]00",{amount:z.amount,currencySymbol:z.currencySymbol})})]}),t.jsx(cn,{}),t.jsxs(sn,{children:[t.jsx(de,{children:Ee.total}),t.jsx(se,{children:k("0,0[.]00",{amount:p.amount,currencyCode:p.currencyCode,currencySymbol:p.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(rn,{})})]}),t.jsx(hn,{children:t.jsx(Re,{amount:ze(p.amount,p.currencyCode,p.currencySymbol),integerStyles:U.h6Medium.cssObject,decimalStyles:U.standardMedium.cssObject})})]})}):null]}),t.jsx(Rt,{cancelBtn:{label:C&&!h?o.paymentOutsideZeni.markAsPaid:o.editBill,onClick:C&&!h?je:ae,isLoading:C&&!h&&te&&I?.fetchState==="In-Progress",reverseSpinnerColor:!1,style:{width:Ge(!1,C,h,H,s)}},primaryBtn:{label:Ze(h,H,e.isBillMarkedForRetry),isLoading:I?.fetchState==="In-Progress"&&(h||!te)||J?.fetchState==="In-Progress",onClick:h?je:()=>{xt&&le!=null?K(!0):Ce()},style:{width:Ge(!0,C,h,H,s)}},rightSideComponent:C&&!h&&I.fetchState!=="In-Progress"?t.jsx(Vn,{windowSize:s,children:t.jsx(Le,{style:{color:j.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:on,placement:"top",children:t.jsx(Gn,{onClick:ae,"data-testid":v("review-detail-edit-bill-button"),children:t.jsx(Zn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(D)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(D)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(D)?t.jsxs(An,{children:[o.internationalText1,t.jsx(Bn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:o.internationalTerms}),o.internationalText2]}):null})]})},Ze=(e,y,x)=>e?o.paymentOutsideZeni.markAsPaid:x===!0?o.retryPayment:y?o.sendForApproval:o.scheduleBill,Ge=(e,y,x,M,A)=>x?128:y&&!e&&A==="small"?"auto":M?165:m.footerButtonWidth.value(A),rn=a(qt)`
|
|
2
2
|
width: ${n.sp3};
|
|
3
3
|
height: ${n.sp3};
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -9,15 +9,15 @@ import{e as wt,_ as $t,x as u,eB as vt,eC as jt,eD as St,V as t,eE as Ct,eF as i
|
|
|
9
9
|
display: flex;
|
|
10
10
|
justify-content: space-between;
|
|
11
11
|
padding-bottom: ${n.sp1};
|
|
12
|
-
`,de=a.div`
|
|
13
|
-
color: ${e=>e.theme.colors.brandColorPearl};
|
|
14
12
|
`,se=a.div`
|
|
13
|
+
color: ${e=>e.theme.colors.brandColorPearl};
|
|
14
|
+
`,de=a.div`
|
|
15
15
|
color: ${e=>e.theme.colors.hero};
|
|
16
|
-
`,
|
|
16
|
+
`,sn=a(nt)`
|
|
17
17
|
display: flex;
|
|
18
18
|
justify-content: space-between;
|
|
19
19
|
padding-top: ${n.sp1};
|
|
20
|
-
`,
|
|
20
|
+
`,dn=a.div``,cn=a.div`
|
|
21
21
|
background-color: ${j.neutralGrey3Dark};
|
|
22
22
|
height: 1px;
|
|
23
23
|
width: 280px;
|
package/dist/assets/{ReviewOverlay-Dhb-kL6G-T1Rt0JTi.js → ReviewOverlay-CxwoiOLC-BQk8pdfC.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as P,V as i,b as x,o as r,a9 as B,x as d,a8 as L,d as I,M as W,f as s,l as b,c1 as D,L as R,C as S,aC as G,m as o,dO as A,aA as _,i9 as F}from"./index-
|
|
1
|
+
import{e as P,V as i,b as x,o as r,a9 as B,x as d,a8 as L,d as I,M as W,f as s,l as b,c1 as D,L as R,C as S,aC as G,m as o,dO as A,aA as _,i9 as F}from"./index-CAltUZe8.js";import{n as t}from"./mui-CMSRVFAm.js";import{a as w}from"./sentry-DQeYyYXx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="699f086a-7225-4684-91b8-ebe09172dae6",e._sentryDebugIdIdentifier="sentry-dbid-699f086a-7225-4684-91b8-ebe09172dae6")}catch{}})();const a={containerMarginTop:new d(0,o[2]),containerMarginLeft:new d(o[3],o[8]),containerMarginRight:new d(o[3],o[8]),subTitleMarginBottom:new d(o[2],o[2]),titleMarginBotom:new d(o[0],o[2]),titleMarginRight:new d(o[0],o[3]),navBarHeight:new d(62,62,62),navBarPaddingLeft:new d(o[3],o[3],o[8]),navBarPaddingRight:new d(o[3],o[3],o[8])},H={title:new I("h6Regular","h5Regular")},xe=({title:e,description:g,reviewItems:m,showFooter:z,footerProps:{primaryButton:C,cancelButton:T,hideCancel:E},onCloseOverlay:k,onCloseReviewItem:M})=>{const l=P();return i.jsxs(Z,{children:[i.jsx(U,{windowSize:l,children:i.jsx(X,{children:i.jsx(Y,{windowSize:l,children:i.jsx(ee,{children:i.jsx(ie,{onClick:k,"data-testid":x("review-overlay-close",e)})})})})}),i.jsxs(J,{windowSize:l,children:[i.jsxs(V,{windowSize:l,children:[i.jsx(q,{children:i.jsx(K,{windowSize:l,children:e})}),i.jsx(N,{isError:g.isError,windowSize:l,children:g.content})]}),i.jsx(Q,{windowSize:l,children:m.map(n=>{const h=n.reviewStatus.code==="error",c=n.reviewStatus.code==="warning"||n.reviewStatus.code==="low-balance";return i.jsxs(re,{isLoading:!1,isActive:!0,isWarning:c,isError:h,children:[c?i.jsx(ce,{onClick:()=>M(n.id),"data-testid":x("review-close",n.id)}):null,i.jsxs(te,{children:[i.jsxs(oe,{children:[i.jsx(de,{children:O(n)}),i.jsxs(ne,{children:[i.jsxs(u,{children:[i.jsx($,{style:{marginLeft:r.sp2},isWarning:c,isError:h,children:n.leftSideText.title}),i.jsx($,{isWarning:c,isError:h,children:n.rightSideText.title})]}),i.jsxs(u,{children:[i.jsx(se,{style:{marginLeft:r.sp2},children:n.leftSideText.subTitle}),l!=="small"?i.jsxs(f,{windowSize:l,children:[i.jsx(p,{isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[n.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx(j,{})}):null,n.rightSideText.subTitle]})}),i.jsx(p,{isWarning:!0,isError:!1,children:n.rightSideText.additonalInfo})]}):null]})]})]}),l==="small"?i.jsxs(f,{windowSize:l,children:[i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[n.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx(j,{})}):null,n.rightSideText.subTitle]})}),i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isWarning:c,isError:h,children:n.rightSideText.additonalInfo})]}):null]})]},n.id)})})]}),z?i.jsx(B,{primaryBtn:C,cancelBtn:T,showCancel:!E}):null]})},O=e=>e.reviewStatus.isLoading?i.jsx(R,{size:"Small",style:{display:"flex",width:r.sp4,height:r.sp4,alignItems:"center",justifyContent:"center"},start:!0}):e.reviewStatus.code==="error"?i.jsx(y,{isError:!0}):e.reviewStatus.code==="warning"?i.jsx(y,{isError:!1}):e.reviewStatus.code==="valid"?i.jsx(le,{}):e.reviewStatus.code==="low-balance"?i.jsx(he,{}):i.jsx(ae,{}),Z=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e}from"./pdf-
|
|
1
|
+
import{j as e}from"./pdf-Be2WBqYM.js";import{aE as x,js as w,aF as y,bk as I,jz as p,J as F,mj as L,aG as P}from"./index-CAltUZe8.js";import"./mui-CMSRVFAm.js";import m from"./NotFoundScreen-CubXCR1V.js";import{a as u}from"./sentry-DQeYyYXx.js";import{i as R,u as b,j as T,h as V,k as O,R as U,m as f}from"./core-D9P6lLF-.js";import{ct as z,O3 as C,KZ as A,O4 as k,qu as G,cG as q,O5 as Y,qs as J}from"./zeni-epic-state-CHpO1ZKT.js";import{R as j}from"./ReferralListScreen-CFqALHvq.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./MobileAppDrawer-C3TNoouV.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new a.Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="234753b6-19af-48c1-8b48-7e4e913ceafa",a._sentryDebugIdIdentifier="sentry-dbid-234753b6-19af-48c1-8b48-7e4e913ceafa")}catch{}})();const K=O(function(a,t){const n=C(a);return{inviteFormView:n.localData,submitStatus:n.saveStatus,userName:t.userName,rewardsPlan:n.rewardsPlan,companyLegalName:t.companyName}},function(a,t){const{navigate:n}=t,o=w.getSignedInUser();return{onDismissClick:()=>{a(k()),n("..")},onSendClick:()=>{if(o!=null){const s=[],r=[];t.inviteFormCompayData.forEach(c=>{s.push(c.companyName),r.push(c.emailIds[0])}),p.trackInviteEmailClicked("send",s,r,s.length)}a(J())},onUpdateInviteFormLocalData:s=>{a(Y({localData:s}))},onSubmitSuccess:()=>{n("../../")},onCancelClick:()=>{o!=null&&p.trackInviteEmailClicked("cancel")}}})(L),Z=()=>{const a=R(),[t,n]=u.useState(!1),[o,s]=u.useState(!1),r=b(i=>z(i)),c=T(),D=V(),{useDynamicConfig:g}=x(),d=w.getSignedInUser();if(d==null)throw Error("Can't access invite referral screen without signing in...");const l=b(i=>C(i)),_=d?.firstName!=null?d.firstName:"User",{configValue:h}=g(y.zeniCardsConfig),{configValue:v}=g(y.zeniAccountsConfig),E=A(v);u.useEffect(()=>{a(k()),r?.rewardsLastViewedTime==null&&o===!1&&(a(G()),s(!0))},[]),u.useEffect(()=>{t||l.fetchState!=="Not-Started"||(n(!0),a(q(!0)))},[l.fetchState,a]);const N=r.company?.companyInfo.companyLegalName??r.companyName;return e.jsxs(e.Fragment,{children:[l.fetchState==="Completed"?e.jsx(I,{analytics:p,onLoad:i=>(S=>S.trackPageLoaded(F.Event.inviteEmailViewed))(i)}):null,e.jsx(K,{navigate:c,location:D,currentTenant:r,companyName:N,userName:_,inviteFormCompayData:l.localData,chargeCardCashbackRatePerTransaction:h.charge_card_cashback_rate_per_transaction!=null?h.charge_card_cashback_rate_per_transaction:.0175,maxAnnualPercentageYield:E.maxAnnualPercentageYield})]})};function la(){const{useFeatureGate:a}=x(),{isFeatureEnabled:t}=a(P.isReferralFeatureEnabled);return e.jsxs(U,{children:[e.jsx(f,{path:"/",element:t?e.jsx(j,{}):e.jsx(m,{})}),e.jsx(f,{path:"how-it-works",element:t?e.jsx(j,{isReferralDrawerOpen:!0}):e.jsx(m,{})}),e.jsx(f,{path:"refer/*",element:t?e.jsx(Z,{}):e.jsx(m,{})}),e.jsx(f,{path:"*",element:e.jsx(m,{})})]})}export{la as default};
|
package/dist/assets/{RoleWithToolTip-BfM8Ltz4-GXXfeOBC.js → RoleWithToolTip-Ct3_VuDM-CgjPQD6C.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{eg as p,eh as h,V as s,bo as f,o as a,b as l,O as g,j as x,C as c}from"./index-
|
|
1
|
+
import{eg as p,eh as h,V as s,bo as f,o as a,b as l,O as g,j as x,C as c}from"./index-CAltUZe8.js";import{n as d}from"./mui-CMSRVFAm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c424fbd2-75d5-4d8f-a0eb-e2ce1add02dc",e._sentryDebugIdIdentifier="sentry-dbid-c424fbd2-75d5-4d8f-a0eb-e2ce1add02dc")}catch{}})();const{hyphen:o}=g.getLocalizedStrings().common.strings,b=d.div``,m=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-width: 192px;
|
|
4
4
|
justify-content: space-between;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a7 as U,hI as X,g4 as fe,e3 as Le,hJ as we,T as Je,hK as Me,c8 as _e,c9 as Ve,V as a,A as Pe,bR as Fe,bS as Ne,bT as $e,a9 as qe,hL as Re,hM as Be,O as xe,E as ue,hN as Se,hO as We,cc as Ue,e as ze,h$ as He,ga as ie,m as q,f as De,x as ye,cd as Ke,hP as Ge,hQ as Qe,hR as Ye,o as V}from"./index-
|
|
1
|
+
import{a7 as U,hI as X,g4 as fe,e3 as Le,hJ as we,T as Je,hK as Me,c8 as _e,c9 as Ve,V as a,A as Pe,bR as Fe,bS as Ne,bT as $e,a9 as qe,hL as Re,hM as Be,O as xe,E as ue,hN as Se,hO as We,cc as Ue,e as ze,h$ as He,ga as ie,m as q,f as De,x as ye,cd as Ke,hP as Ge,hQ as Qe,hR as Ye,o as V}from"./index-CAltUZe8.js";import{a as D}from"./sentry-DQeYyYXx.js";import{n as B}from"./mui-CMSRVFAm.js";import{bH as Xe,bI as Ze}from"./zeni-epic-state-CHpO1ZKT.js";import{l as et,a as tt,s as lt,r as at}from"./ScheduleSequenceTable-R3-PsXES-DyxPg04Q.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="f17765b2-4469-4b1e-975e-71815c43c722",e._sentryDebugIdIdentifier="sentry-dbid-f17765b2-4469-4b1e-975e-71815c43c722")}catch{}})();const R={labelWidth:new ye(160,160,160),depCategoryLabelWidth:new ye(200,280,280)},st=B.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a7 as P,hI as Y,g4 as ke,e3 as Ae,hJ as Ie,T as Je,hK as we,c8 as Le,c9 as Me,V as a,A as Ve,bR as Pe,bS as _e,bT as $e,a9 as Fe,hL as Ne,hM as Be,O as De,E as ce,hN as pe,hO as Re,cc as Ue,e as qe,ga as me,m as X,f as ze,x as We,hP as Ke,hQ as Ge,hR as He,o as A}from"./index-
|
|
1
|
+
import{a7 as P,hI as Y,g4 as ke,e3 as Ae,hJ as Ie,T as Je,hK as we,c8 as Le,c9 as Me,V as a,A as Ve,bR as Pe,bS as _e,bT as $e,a9 as Fe,hL as Ne,hM as Be,O as De,E as ce,hN as pe,hO as Re,cc as Ue,e as qe,ga as me,m as X,f as ze,x as We,hP as Ke,hQ as Ge,hR as He,o as A}from"./index-CAltUZe8.js";import{a as D}from"./sentry-DQeYyYXx.js";import{n as M}from"./mui-CMSRVFAm.js";import{bH as Qe,bI as Ye,bG as Xe}from"./zeni-epic-state-CHpO1ZKT.js";import{l as Ze,a as et,s as tt,r as lt}from"./ScheduleSequenceTable-R3-PsXES-DyxPg04Q.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="1c415554-faab-4edb-8ec2-34a31dc56270",e._sentryDebugIdIdentifier="sentry-dbid-1c415554-faab-4edb-8ec2-34a31dc56270")}catch{}})();const N={labelWidth:new We(160,160,160)},at=M.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as T,y as Q,V as i,hS as le,d3 as ne,d as se,hT as we,dh as fe,eO as be,w as I,O as N,hU as $e,hR as je,o as t,x as j,f as S,n as Se,b as q,E as re,dc as ke,bR as ve,bT as De,cc as ee,dX as ie,c6 as Ce,hV as X,hW as ze,an as Me,hX as Ee,bV as Le,hY as Oe,m as p,l as M,at as Ie,bS as Te,k as ge,e4 as Ae,al as ae,dS as Ve,a9 as Fe,hZ as V,fH as Je,a5 as Be,h_ as Pe,ad as G,cq as Re,aC as Ne}from"./index-
|
|
1
|
+
import{e as T,y as Q,V as i,hS as le,d3 as ne,d as se,hT as we,dh as fe,eO as be,w as I,O as N,hU as $e,hR as je,o as t,x as j,f as S,n as Se,b as q,E as re,dc as ke,bR as ve,bT as De,cc as ee,dX as ie,c6 as Ce,hV as X,hW as ze,an as Me,hX as Ee,bV as Le,hY as Oe,m as p,l as M,at as Ie,bS as Te,k as ge,e4 as Ae,al as ae,dS as Ve,a9 as Fe,hZ as V,fH as Je,a5 as Be,h_ as Pe,ad as G,cq as Re,aC as Ne}from"./index-CAltUZe8.js";import{n as l,c as P}from"./mui-CMSRVFAm.js";import{a as D}from"./sentry-DQeYyYXx.js";import{bs as U,Gq as We}from"./zeni-epic-state-CHpO1ZKT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="17769978-b418-489c-997c-3c4c11712bbc",e._sentryDebugIdIdentifier="sentry-dbid-17769978-b418-489c-997c-3c4c11712bbc")}catch{}})();const W=(e,o)=>`${e}.${o}`,{formElements:{dayOfMonthSelector:C},common:de}=N.getLocalizedStrings();function He({defaultValue:e,name:o,placeholder:s,alignLeft:n=!1,style:g,isDisabled:d,registerOptions:r,onSaveClick:c,onCancelClick:$}){const[w,h]=D.useState(!1),{control:m,formState:{errors:f},setValue:b}=ee(),k=()=>{y||(c(),h(!1))},x=()=>{$(),h(!1)},y=ie(f,o),E=T(),a=Q();return i.jsx(ge,{onClickAway:()=>{h(!1)},children:i.jsx(Qe,{style:g,isDisabled:d!=null,windowSize:E,onClick:()=>{!w&&d==null&&h(!0)},children:i.jsx(Ae,{name:W(o,"dayOfMonth"),control:m,rules:{...r},render:()=>i.jsxs(Ge,{children:[i.jsx(Ye,{placeholder:s,defaultValue:e,isDisabled:d}),w?i.jsxs(Xe,{alignLeft:n===!0,children:[i.jsx(ti,{}),i.jsxs(ce,{isSelected:e.type==="day",children:[i.jsxs(ii,{isError:e.type==="day"&&y,children:[i.jsx(ae,{label:{label:C.pickDate},radioField:{id:"day",name:W(o,"type"),value:"day",radioSize:"small",checked:e.type==="day"},style:{...I.smallRegular.cssObject,padding:`${t.sp3} ${t.sp0}`,width:"fit-content",marginLeft:t.sp3,minWidth:"35%"},labelStyle:{color:e.type==="day"&&y?S.important:"inherit"}}),i.jsx(Ve,{name:W(o,"dayOfMonth"),type:"number",placeholder:C.placeholder,disableCopyPaste:!0,autoTrim:"trim",onKeyDown:u=>{u.key!=="Backspace"&&isNaN(parseInt(u.key))&&u.preventDefault()},defaultValue:e.dayOfMonth==null||isNaN(e.dayOfMonth)?0:e.dayOfMonth,registerOptions:{min:1,max:28},outerDivStyle:{width:"fit-content",marginLeft:t.sp1,marginRight:t.sp1},style:{border:`1px solid ${e.type==="day"&&y?S.important:a.colors.grey2}`,borderRadius:t.sp1,...I.smallRegular.cssObject,padding:t.sp2,maxWidth:"35px",boxSizing:"border-box"}}),i.jsx(Ke,{isSelected:e.type==="day",children:C.ofEveryMonth})]}),i.jsx(_e,{defaultValue:e.dayOfMonth,onClick:u=>{b(`${o}.dayOfMonth`,u),b(`${o}.type`,"day")}})]}),i.jsx(oi,{}),i.jsx(ce,{isSelected:e.type==="lastDayOfMonth",children:i.jsx(ae,{label:{label:C.lastDayOfMonth},radioField:{id:"lastDayOfMonth",name:W(o,"type"),value:"lastDayOfMonth",radioSize:"small",checked:e.type==="lastDayOfMonth"},style:{...I.smallRegular.cssObject,padding:`${t.sp3} ${t.sp0}`,width:"fit-content",marginLeft:t.sp3},labelStyle:{color:e.type==="lastDayOfMonth"&&y?S.important:"inherit"}})}),i.jsx(Fe,{primaryBtn:{label:de.footer.save,onClick:k,isDisabled:qe(e),type:"button",style:{minWidth:"83px"}},cancelBtn:{label:de.footer.cancel,onClick:x,style:{minWidth:"83px"}},style:{position:"unset",backgroundColor:"transparent"}})]}):null]})})})})}function Ye({placeholder:e,defaultValue:o,isDisabled:s}){return i.jsxs(Ue,{isDisabled:s!=null,children:[o?.type==null?i.jsx(Ze,{children:e}):null,o?.type=="day"&&o.dayOfMonth!=null?i.jsxs(he,{children:[i.jsx(H,{children:C.daysOfMonth[`${o.dayOfMonth}`]}),i.jsx(H,{children:C.ofEveryMonth})]}):null,o?.type==="lastDayOfMonth"?i.jsxs(he,{children:[i.jsx(H,{children:C.daysOfMonth.lastDayOfMonth}),i.jsx(H,{children:C.ofEveryMonth})]}):null]})}function _e({defaultValue:e,onClick:o}){return i.jsxs(ei,{children:[i.jsx(Y,{children:[...Array(7).keys()].map(s=>{const n=s+1;return i.jsx(_,{isSelected:n===e,onClick:()=>o(We(n)),children:n},n)})}),i.jsx(Y,{children:[...Array(7).keys()].map(s=>{const n=s+8;return i.jsx(_,{isSelected:n===e,onClick:()=>o(n),children:n},n)})}),i.jsx(Y,{children:[...Array(7).keys()].map(s=>{const n=s+15;return i.jsx(_,{isSelected:n===e,onClick:()=>o(n),children:n},n)})}),i.jsx(Y,{children:[...Array(7).keys()].map(s=>{const n=s+22;return i.jsx(_,{isSelected:n===e,onClick:()=>o(n),children:n},n)})})]})}const qe=e=>{switch(e.type){case"day":return e.dayOfMonth==null;case"lastDayOfMonth":return!1;default:return!0}},Ge=l.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
`,Ue=l.div`
|
|
4
4
|
display: flex;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/DashboardRoutes-
|
|
2
|
-
import{_ as n,bm as cs,ct as ds,cA as ms,cy as us,cz as _s,dm as As,cv as Es,bP as Ee,FY as ps,cS as Is,bF as xs,bG as gs,bs as js,cY as Ts,v as hs,Ha as Us,bt as bs,Hb as Hs,G5 as Rs,cV as ys,FX as Ds,F4 as Cs,F5 as fs,Hc as vs,Hd as Os,bM as Ps,bO as Fs,bN as Ls,bK as ks,bL as Bs,jC as pe,cu as Ie,He as Vs,c$ as xe,dr as ge,ds as je,d0 as Ss}from"./zeni-epic-state-CsRsIUwY.js";import{j as e}from"./pdf-Cs-mh77O.js";import{a as f}from"./sentry-BkPUuNvL.js";import{i as Ns,j as Ms,l as Zs,h as Gs,u as w,g as Te,N as c,R as ws,m as t}from"./core-BcVj2gTX.js";import{y as zs,jr as $s,js as b,aE as Ys,jx as Ws,aH as qs,aG as L,_ as Ks,jt as k,O as he,ju as _,jy as Xs,jz as ee,jA as l}from"./index-CDsOcKsG.js";import"./mui-hn9thxzh.js";import{f as Ue}from"./analyticsHelper-DCVh2Q2D.js";import{t as Js}from"./getLocaleForTenant-Cgh9LbcE.js";import"./lottie-DP5A4Fs7.js";import"./liveblocks-BAIL303h.js";import"./recharts-B4dFoR35.js";import"./dnd-eXDjf6Lj.js";import"./analytics-wdo9XAAq.js";import"./plaid-NpQK5k22.js";import"./utils-DkgigH7S.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},v=new i.Error().stack;v&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[v]="bd6f8e8d-f200-4f57-a19b-1a97407a80b7",i._sentryDebugIdIdentifier="sentry-dbid-bd6f8e8d-f200-4f57-a19b-1a97407a80b7")}catch{}})();const Qs={dashboard:()=>n(()=>import("./DashboardRoutes-ChFJ7MHp.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24])),bills:()=>n(()=>import("./BillPayRoutes-IwCLBQ4C.js"),__vite__mapDeps([25,1,2,3,4,5,6,7,8,9,10,11,12,13,14,26,19,27,28,29,30,22,23,31,20,18,32,33,34,35])),reimbursement:()=>n(()=>import("./ReimbursementRoutes-LUt3h9UV.js"),__vite__mapDeps([36,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,31,22,20,18,32,23,28,30,37,34,35])),transactions:()=>n(()=>import("./TransactionListRoutes-B0NbfJGc.js"),__vite__mapDeps([38,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,39])),settings:()=>n(()=>import("./SettingsRoutes-DiQAnQke.js"),__vite__mapDeps([40,1,2,3,4,5,6,7,8,9,10,11,12,13,14,22,41,26,19,20,32,18,21,33,34,37])),reports:()=>n(()=>import("./ReportsRoutes-o9bGTZG2.js"),__vite__mapDeps([42,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,23,28,18,22])),chargeCards:()=>n(()=>import("./ChargeCardRoutes-qFs5VmEt.js"),__vite__mapDeps([43,1,2,3,4,5,6,7,8,9,10,11,12,13,14,31,22,19,20,18,32,26])),people:()=>n(()=>import("./PeopleRoutes-B6Hh54SM.js"),__vite__mapDeps([44,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,22])),expenseAutomation:()=>n(()=>import("./ExpenseAutomationRoutes-D8OIvCDd.js"),__vite__mapDeps([45,1,2,3,4,19,5,6,7,8,9,10,11,12,13,14,16,17,18,15,41,30])),treasury:()=>n(()=>import("./TreasuryRoutes-RdusD-Rs.js"),__vite__mapDeps([46,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,31,22,20,18,32,23])),vendors:()=>n(()=>import("./VendorsRoutes-SOKeFy8n.js"),__vite__mapDeps([47,1,2,3,4,5,6,7,8,9,10,11,12,13,14,26,19,23,18,48,22,29,30,41])),zeniAccounts:()=>n(()=>import("./ZeniAccountRoutes-DFjwyu_L.js"),__vite__mapDeps([49,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,31,22,20,18,32,23,27,26,39]))},en=["bills","transactions","settings","reimbursement","reports","chargeCards","people"],se=i=>{"requestIdleCallback"in window?requestIdleCallback(i):setTimeout(i,100)},sn=l(()=>n(()=>import("./ReportsRoutes-o9bGTZG2.js"),__vite__mapDeps([42,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,23,28,18,22]))),nn=l(()=>n(()=>import("./AddressRoutes-ffTj4-XE.js"),__vite__mapDeps([50,1,2,3,4,26,5,6,7,8,9,10,11,12,13,14,19]))),an=l(()=>n(()=>import("./PeopleRoutes-B6Hh54SM.js"),__vite__mapDeps([44,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,22]))),tn=l(()=>n(()=>import("./PandLWithForecastRoutes-D46AftWd.js"),__vite__mapDeps([51,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,23,18,22]))),rn=l(()=>n(()=>import("./CustomerOnboardingRoutes-DtIuxucw.js"),__vite__mapDeps([52,1,2,3,4,26,5,6,7,8,9,10,11,12,13,14,19,53,54,55,56,57,58,17]))),on=l(()=>n(()=>import("./VendorsRoutes-SOKeFy8n.js"),__vite__mapDeps([47,1,2,3,4,5,6,7,8,9,10,11,12,13,14,26,19,23,18,48,22,29,30,41]))),ln=l(()=>n(()=>import("./TransactionDetailRoutes-LeQoOoop.js"),__vite__mapDeps([59,1,2,3,4,19,5,6,7,8,9,10,11,12,13,14,16,17,18]))),be=l(()=>n(()=>import("./EntityDetailRoutes-Bl0VaL7D.js"),__vite__mapDeps([60,1,2,3,4,5,6,7,8,9,10,11,12,13,14,17,15,16,18]))),cn=l(()=>n(()=>import("./DashboardRoutes-ChFJ7MHp.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24]))),He=l(()=>n(()=>import("./BillPayRoutes-IwCLBQ4C.js"),__vite__mapDeps([25,1,2,3,4,5,6,7,8,9,10,11,12,13,14,26,19,27,28,29,30,22,23,31,20,18,32,33,34,35]))),dn=l(()=>n(()=>import("./SettingsRoutes-DiQAnQke.js"),__vite__mapDeps([40,1,2,3,4,5,6,7,8,9,10,11,12,13,14,22,41,26,19,20,32,18,21,33,34,37]))),Re=l(()=>n(()=>import("./ReimbursementRoutes-LUt3h9UV.js"),__vite__mapDeps([36,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,31,22,20,18,32,23,28,30,37,34,35]))),mn=l(()=>n(()=>import("./ZeniAccountRoutes-DFjwyu_L.js"),__vite__mapDeps([49,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,31,22,20,18,32,23,27,26,39]))),un=l(()=>n(()=>import("./TreasuryRoutes-RdusD-Rs.js"),__vite__mapDeps([46,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,31,22,20,18,32,23]))),_n=l(()=>n(()=>import("./TransactionListRoutes-B0NbfJGc.js"),__vite__mapDeps([38,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,39]))),An=l(()=>n(()=>import("./ChargeCardRoutes-qFs5VmEt.js"),__vite__mapDeps([43,1,2,3,4,5,6,7,8,9,10,11,12,13,14,31,22,19,20,18,32,26]))),En=l(()=>n(()=>import("./NotificationRoutes-BjIV5PW8.js"),__vite__mapDeps([61,1,2,3,4,19,5,6,7,8,9,10,11,12,13,14]))),pn=l(()=>n(()=>import("./PerformanceRoutes-CZK-MKEJ.js"),__vite__mapDeps([62,1,2,3,4,19,5,6,7,8,9,10,11,12,13,14,22]))),In=l(()=>n(()=>import("./ExpenseAutomationRoutes-D8OIvCDd.js"),__vite__mapDeps([45,1,2,3,4,19,5,6,7,8,9,10,11,12,13,14,16,17,18,15,41,30]))),xn=l(()=>n(()=>import("./RewardsRoutes-BgoAL3gc.js"),__vite__mapDeps([63,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,24,22]))),gn=l(()=>n(()=>import("./TaskRoutes-DnaScSH0.js"),__vite__mapDeps([64,1,2,3,4,19,5,6,7,8,9,10,11,12,13,14,28,22,65]))),jn=l(()=>n(()=>import("./AiCfoScreen-ky7GYy31.js"),__vite__mapDeps([66,1,2,3,4,5,6,7,8,9,10,11,12,13,14,48]))),y=l(()=>n(()=>import("./NotFoundScreen-Ceul2a4k.js"),__vite__mapDeps([19,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))),Tn=l(()=>n(()=>import("./TaskListScreen-pLglWsFm.js"),__vite__mapDeps([65,1,2,3,4,5,6,7,8,9,10,11,12,13,14,22])));function Gn({setTenantEmailDomain:i,isAiCfoOpen:v=!1,setIsAiCfoOpen:V}){const O=Ns(),Z=Ms(),{tenantEmailDomain:o}=Zs(),D=zs().mode,{setLoading:B,clearAllLoading:De,clearLoading:K}=$s(),R=b.getSignedInUserTenant(o)?.tenantId,T=b.getSignedInUser(),X=cs(T),z=Gs(),[N,Ce]=f.useState(!1),r=w(a=>ds(a)),{useFeatureGate:P}=Ys(),J=Ws(),fe=qs(),{isFeatureEnabled:ve}=P(L.isExpenseAutomationEnabled),{isFeatureEnabled:Oe}=P(L.isExpenseAutomationEnabledV2),Pe=Oe||ve&&X,{isFeatureEnabled:Fe}=P(L.isDepositAccountsFeatureEnabled),{isFeatureEnabled:Le}=P(L.isTreasuryEnabled),{isFeatureEnabled:ke}=P(L.isChargeCardFeatureEnabled),{isFeatureEnabled:ne}=P(L.isDebitCardFeatureEnabled),h=w(a=>a.tenantState.fetchState),E=w(a=>a.tenantState.activeTenantFetchState.fetchState),u=E==="Completed"||h==="Completed"?ms(ne,r):void 0,$=E==="Completed"||h==="Completed"?us(r):void 0,Be=E==="Completed"||h==="Completed"?_s(r):void 0,Ve=ke||ne||!!Be||!!$||!!u,{isFeatureEnabled:Se}=P(L.isSettingsFeatureEnabled),{isFeatureEnabled:Ne}=P(L.isAiCfoFileUploadEnabled),Y=w(a=>As(a));if(o!=null){const a=b.getSignedInUserTenant(o);T!=null&&a!=null&&Ue(T,r,D)}const G={tenantId:R,userId:T?.userId,sessionId:T?.zeniSessionId},ae=Es(),A=Ks(),Me=r.company==null||A?.loggedInUserRoleMap!=null&&Ee(A.loggedInUserRole),Ze=ps(A?.loggedInUserRoleMap),te=f.useRef(!0),ie=Te("/:tenantEmailDomain/onboarding/*")!==null,Q=Te("/:tenantEmailDomain/month_end_close_checks/review/:selectedTab/:selectedPeriod/*"),Ge=w(a=>G.tenantId!=null?Is(a,G.tenantId):void 0);f.useEffect(()=>{B(k.TENANT_FETCHING),i(o)},[o]),f.useEffect(()=>{if(Q!=null&&R!=null){const a=Q.params.selectedPeriod;if(a!=null){const U=a.split("-");if(U.length===2){const d=xs(Number(U[0])),s=Number(U[1]),m=gs(`01-${d<10?`0${d}`:d}-${s}`,he.getLocalizedStrings().dateFormat.analytics.DDDashMMDashYYYY),M=js();m.isAfter(M,"month")===!1?O(Ts(R,{month:d,year:s})):Z("./month_end_close_checks/review")}}}},[Q,R]),f.useEffect(()=>{N||(Ce(!0),B(k.TENANT_FETCHING)),te.current?te.current=!1:!hs(ae,G)&&b.isSignedIn()&&(B(k.TENANT_FETCHING),function(a,U,d,s){if(Ie(U?.userId,U?.zeniSessionId,a.tenantId),d(Vs(!0)),d(xe(a.tenantId)),a.tenantId!=null&&_.clearTenant(a.tenantId),a.tenantId!=null){const m=b.getSignedInUserTenantWithId(a.tenantId);s&&he.updateAppLocaleID(Js(s)),m?.tenantEmailDomain!=null&&b.saveActiveTenantDomainForUser(m?.tenantEmailDomain)}a.userId!=null?ee.identify(a.userId,{tenant_id:a.tenantId}):ee.resetUserIdentity()}(G,T,O,Ge))},[G,ae,T,O,b]),f.useEffect(()=>{b.isSignedIn()&&(B(k.TENANT_FETCHING),function(a,U,d,s,m,M,S){if(d==null&&s==null)return void console.warn("There is no current tenant selected!!");const W=s!=null&&m?.zeniSessionId!=null,rs=d==null||d.tenantId!==s,os=d!=null&&d.excludedResources==null,ls=d!=null&&d.externalConnections==null;if(W&&rs){S(xe(s));const q=b.getSignedInUserTenantWithId(s);q?.tenantEmailDomain!=null&&b.saveActiveTenantDomainForUser(q?.tenantEmailDomain),Ie(m?.userId,m?.zeniSessionId,s),_.shouldFetchExcludedResources(s)&&(_.markExcludedResourcesFetchStarted(s),S(ge(m.userId,s))),_.shouldFetchConnections(s)&&(_.markConnectionsFetchStarted(s),S(je(m.userId,s)))}else W&&os&&_.shouldFetchExcludedResources(s)&&(_.markExcludedResourcesFetchStarted(s),S(ge(m.userId,s))),W&&ls&&_.shouldFetchConnections(s)&&(_.markConnectionsFetchStarted(s),S(je(m.userId,s)));if(W){ee.identify(m.userId,{tenant_id:s});const q=s==null||s!=null&&(U==="Completed"||U==="Error");a==="Completed"||U!=="Not-Started"&&U!=="Error"||s==null||!_.shouldFetchActiveTenant(s)||(_.markActiveTenantFetchStarted(s),M(k.TENANT_FETCHING),S(Ss(m.userId,s,m.zeniSessionId))),q&&(a==="Not-Started"||a==="Error")&&_.shouldFetchAllTenants()&&(_.markAllTenantsFetchStarted(),S(pe(m.userId,m.zeniSessionId)))}}(h,E,r,R,T,B,O))},[R,E]),f.useEffect(()=>{b.isSignedIn()&&h==="Completed"&&Y.tenantsBaseInOrder.length>0&&(K(k.TENANT_FETCHING),b.saveSignedInUserTenants(Us(Y.tenantsBaseInOrder)),T!=null&&Ue(T,r,D,void 0,Y.tenantsBaseInOrder))},[Y,h,r,T]),f.useEffect(()=>{E==="In-Progress"&&B(k.TENANT_FETCHING),E!=="Completed"&&E!=="Error"||(E==="Completed"&&R!=null?(De(),_.markActiveTenantFetchCompleted(R)):E==="Error"&&R!=null&&(_.markActiveTenantFetchFailed(R),K(k.TENANT_FETCHING),K(k.TENANT_SWITCHING))),h!=="Completed"&&h!=="Error"||(h==="Completed"?_.markAllTenantsFetchCompleted():h==="Error"&&_.markAllTenantsFetchFailed())},[E,h,R,N]);const re=f.useRef(!1);f.useEffect(()=>{!re.current&&E==="Completed"&&N&&(re.current=!0,function(a=en,U=3e3){setTimeout(()=>{const d=s=>{if(s>=a.length)return;const m=a[s],M=Qs[m];M!=null?M().then(()=>se(()=>d(s+1))).catch(()=>se(()=>d(s+1))):d(s+1)};se(()=>d(0))},U)}())},[E,N]);const C=r?.userRole!=null&&bs(r?.userRole),{isFeatureEnabled:we}=P(L.isReferralFeatureEnabled),ze=r?.userRole!=null&&r.userRole.includes("charge_card_user"),$e=r?.userRole!=null&&r.userRole.includes("charge_card_admin"),F=r?.userRole!=null&&Ee(r.userRole),oe=r?.company==null||r.company.featuresActivationInfo?.isBillPayFeatureEnabled&&!C,le=Ve&&!C,Ye=Hs(A?.loggedInUserRoleMap),We=r.externalConnections?.accounting[0]?.isValid,ce=r.company?.companyOnboardingInfo.isOnboardingCompleted,de=r?.company==null||r.company.featuresActivationInfo?.isReimbursementFeatureEnabled&&!C,me=de&&Rs(A?.loggedInUserRoleMap),ue=Fe&&!C,qe=r.company!=null&&ys(r.company),Ke=Le&&qe===!0&&!C,Xe=oe&&Ds(A?.loggedInUserRoleMap),Je=le&&Cs(A?.loggedInUserRoleMap),Qe=ue&&fs(A?.loggedInUserRoleMap),es=vs(A?.loggedInUserRoleMap),ss=Os(A?.loggedInUserRoleMap),p=Ps(A?.loggedInUserRoleMap),I=Fs(A?.loggedInUserRoleMap),x=Ls(A?.loggedInUserRoleMap),g=ks(A?.loggedInUserRoleMap),j=Bs(A?.loggedInUserRoleMap),_e=oe&&g,Ae=de&&j,ns=ue&&p,as=Ke&&I,ts=le&&x,is=r.excludedResources?.resources?.find(a=>a.resource==="/invites")!=null||Ze===!0||Ye===!0||es===!0||ss===!0;return b.isSignedIn()?R==null?h==="Completed"?e.jsx(c,{to:"/",replace:!0,state:{...z.state,message:"...",origin:z.pathname}}):(T!=null&&h!=="In-Progress"&&O(pe(T.userId,T.zeniSessionId)),null):E!=="In-Progress"&&E!=="Not-Started"||h==="Completed"?(ce===!0||X&&!ie)&&We===!1&&u===!1&&$===!1?(i(void 0),e.jsx(c,{to:"/connection/auth",replace:!0})):!N||ce!==!1||ie||X?N&&r?.userRole&&u!=null&&$!=null&&o!=null&&Object.keys(A.loggedInUserRoleMap).length>0?e.jsx(ws,{children:e.jsxs(t,{element:e.jsx(Xs,{}),children:[e.jsx(t,{path:"/",element:e.jsx(hn,{isDashboardAccess:F,isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,isTenantCardsOnly:$})}),e.jsx(t,{path:"dashboard/*",element:F?e.jsx(cn,{isAiCfoOpen:v,setIsAiCfoOpen:V}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"reports/*",element:F?e.jsx(sn,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"people/*",element:is||F?e.jsx(an,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"forecast/*",element:F?e.jsx(tn,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"onboarding/*",element:e.jsx(rn,{})}),e.jsx(t,{path:"transaction/*",element:F&&C===!1||ze||$e?e.jsx(ln,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"transactions/*",element:F&&C===!1?e.jsx(_n,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"customer/*",element:F&&C===!1?e.jsx(be,{entityType:"customer"}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isTenantBankingOnly:u,isUserHasTreasuryAccess:I,tenantEmailDomain:o})}),e.jsx(t,{path:"vendor/*",element:F&&C===!1?e.jsx(be,{entityType:"vendor"}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"tasks",element:e.jsx(Tn,{})}),e.jsx(t,{path:"tasks/*",element:e.jsx(gn,{})}),e.jsx(t,{path:"address/*",element:Xe||me||Qe||Je?e.jsx(nn,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"checking/*",element:ns?e.jsx(mn,{}):e.jsx(y,{})}),e.jsx(t,{path:"treasury/*",element:as?e.jsx(un,{}):e.jsx(y,{})}),e.jsx(t,{path:"performance",element:fe?e.jsx(pn,{}):e.jsx(ye,{tenantEmailDomain:o})}),e.jsx(t,{path:"month_end_close_checks/review/*",element:Pe&&C===!1?e.jsx(In,{}):e.jsx(ye,{tenantEmailDomain:o})}),e.jsx(t,{path:"notifications/*",element:e.jsx(En,{})}),e.jsx(t,{path:"vendors/*",element:Me?e.jsx(on,{}):e.jsx(y,{})}),e.jsx(t,{path:"bill/*",element:_e?e.jsx(He,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"bills/*",element:_e?e.jsx(He,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"reimbursement/*",element:Ae?e.jsx(Re,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"reimbursements/*",element:Ae?e.jsx(Re,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"settings/*",element:Se?e.jsx(dn,{hasAdminLevelAccess:me}):e.jsx(y,{})}),e.jsx(t,{path:"cards/*",element:ts?e.jsx(An,{}):e.jsx(y,{})}),e.jsx(t,{path:"rewards/*",element:we?e.jsx(xn,{}):e.jsx(y,{})}),e.jsx(t,{path:"/ai-cfo",element:J?e.jsx(c,{to:"explore"}):e.jsx(y,{})}),e.jsx(t,{path:"/ai-cfo/",element:J?e.jsx(c,{to:"explore"}):e.jsx(y,{})}),e.jsx(t,{path:"/ai-cfo/:session_id",element:J?e.jsx(jn,{setIsAiCfoOpen:V,isFileUploadEnabled:Ne}):e.jsx(y,{})}),e.jsx(t,{path:"*",element:e.jsx(y,{})})]})}):null:(i(void 0),e.jsx(c,{to:"onboarding",replace:!0})):null:(console.warn("User logged out!!"),i(void 0),e.jsx(c,{to:"/signin/auth",replace:!0,state:{...z.state,message:"...",origin:z.pathname}}))}const hn=({isDashboardAccess:i,isUserHasZeniAccountsAccess:v,isUserHasChargeCardAccess:V,isUserHasBillPayAccess:O,isUserHasReimbursementAccess:Z,isUserHasTreasuryAccess:o,isTenantBankingOnly:D,isTenantCardsOnly:B})=>D===!0&&v?e.jsx(c,{to:"checking"}):B===!0?e.jsx(c,{to:"cards"}):i?e.jsx(c,{to:"dashboard"}):v?e.jsx(c,{to:"checking"}):o?e.jsx(c,{to:"treasury"}):V?e.jsx(c,{to:"cards"}):O?e.jsx(c,{to:"bills"}):Z?e.jsx(c,{to:"reimbursements"}):e.jsx(c,{to:"dashboard"}),H=({isUserHasZeniAccountsAccess:i,isUserHasChargeCardAccess:v,isUserHasBillPayAccess:V,isUserHasReimbursementAccess:O,isUserHasTreasuryAccess:Z,isTenantBankingOnly:o,tenantEmailDomain:D})=>o===!0||i?e.jsx(Rn,{tenantEmailDomain:D}):Z?e.jsx(Hn,{tenantEmailDomain:D}):v?e.jsx(yn,{tenantEmailDomain:D}):V?e.jsx(bn,{tenantEmailDomain:D}):O?e.jsx(Un,{tenantEmailDomain:D}):e.jsx(y,{}),Un=({tenantEmailDomain:i})=>e.jsx(c,{to:`/${i}/reimbursements`}),bn=({tenantEmailDomain:i})=>e.jsx(c,{to:`/${i}/bills`}),Hn=({tenantEmailDomain:i})=>e.jsx(c,{to:`/${i}/treasury`}),Rn=({tenantEmailDomain:i})=>e.jsx(c,{to:`/${i}/checking`}),yn=({tenantEmailDomain:i})=>e.jsx(c,{to:`/${i}/cards`}),ye=({tenantEmailDomain:i})=>e.jsx(c,{to:`/${i}/dashboard`});export{H as FallBackRoute,Gn as default};
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/DashboardRoutes-C-92-XEq.js","assets/pdf-Be2WBqYM.js","assets/zeni-epic-state-CHpO1ZKT.js","assets/sentry-DQeYyYXx.js","assets/core-D9P6lLF-.js","assets/index-CAltUZe8.js","assets/mui-CMSRVFAm.js","assets/recharts-gT6BOz1b.js","assets/lottie-BEhoArVd.js","assets/liveblocks-DxIK6Zp5.js","assets/dnd-nSkfhkrX.js","assets/analytics-B2Q_uKwH.js","assets/plaid-BfI3x5Cu.js","assets/utils-BAO5KfNy.js","assets/index-D-vub4_t.css","assets/withTransactionSidePanel-FcH3ZlAj.js","assets/TransactionDetailScreen-DkbX0oG8.js","assets/decodeURIComponentSafe-BA7ebd4J.js","assets/routePaths-C2kSZwVH.js","assets/NotFoundScreen-CubXCR1V.js","assets/analyticsHelper-eqJrrWmY.js","assets/CompanyPassportScreen-zFkQa4Cq.js","assets/MobileAppDrawer-C3TNoouV.js","assets/FeaturePreviewScreen-BrgEnIPS.js","assets/ReferralListScreen-CFqALHvq.js","assets/BillPayRoutes-CBS2uwsj.js","assets/AddressScreen-BL1pptQ5.js","assets/DomesticWireDetailScreen-D0LT5YWt.js","assets/useInitialThreadRequest-Bxf1X7cu.js","assets/zeni-icon-only-4nFle2Fz.js","assets/DrawerScreen-MxSrrJrd.js","assets/SetupPagesScreen-KqbTYQgM.js","assets/BusinessVerificationPageScreen-BQdQDNi4.js","assets/BillPayApprovalRoutes-D-JPXnec.js","assets/ReimbursementApprovalRuleDetailScreen-Btiyq8yy.js","assets/getLocaleForTenant-D_kHTEKc.js","assets/ReimbursementRoutes-B7ZhMTn_.js","assets/ReimbursementApprovalRoutes--NBUuqoq.js","assets/TransactionListRoutes-AdVZSKN8.js","assets/ZeniAccountStatementScreen-mRCX19Ut.js","assets/SettingsRoutes-D3PUQXPp.js","assets/accountMappingHelper-GPi0oD1D.js","assets/ReportsRoutes-DCqEshJz.js","assets/ChargeCardRoutes-CCifW-tf.js","assets/PeopleRoutes-CAoitlRn.js","assets/ExpenseAutomationRoutes-ijMZF_ZU.js","assets/TreasuryRoutes-CZR8Qztx.js","assets/VendorsRoutes-05ainu55.js","assets/pathToGoBack-Blub25Cp.js","assets/ZeniAccountRoutes-C1DKaJoc.js","assets/AddressRoutes-BOfIecri.js","assets/PandLWithForecastRoutes-BVdwQZDt.js","assets/CustomerOnboardingRoutes-MHYW-e3t.js","assets/QBOConnectionScreen-W61uspBL.js","assets/empty-BM1tlym1.js","assets/pdf-lib-CnVZquuu.js","assets/index-BoyH9PC5.js","assets/url-Doy-Mf6X.js","assets/index-BGoNZK9J.js","assets/TransactionDetailRoutes-BCnSElc9.js","assets/EntityDetailRoutes-BEygBdNc.js","assets/NotificationRoutes-C2SuMmMM.js","assets/PerformanceRoutes-CC4-ZbOh.js","assets/RewardsRoutes-CSIVaJxq.js","assets/TaskRoutes-DEMuiHnC.js","assets/TaskListScreen-BN0d0a63.js","assets/AiCfoScreen-B5nbVKeh.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as n,bm as cs,ct as ds,cA as ms,cy as us,cz as _s,dm as As,cv as Es,bP as Ee,FY as ps,cS as Is,bF as xs,bG as gs,bs as js,cY as Ts,v as hs,Ha as Us,bt as bs,Hb as Hs,G5 as Rs,cV as ys,FX as Ds,F4 as Cs,F5 as fs,Hc as vs,Hd as Os,bM as Ps,bO as Fs,bN as Ls,bK as ks,bL as Bs,jC as pe,cu as Ie,He as Vs,c$ as xe,dr as ge,ds as je,d0 as Ss}from"./zeni-epic-state-CHpO1ZKT.js";import{j as e}from"./pdf-Be2WBqYM.js";import{a as f}from"./sentry-DQeYyYXx.js";import{i as Ns,j as Ms,l as Zs,h as Gs,u as w,g as Te,N as c,R as ws,m as t}from"./core-D9P6lLF-.js";import{y as zs,jr as $s,js as b,aE as Ys,jx as Ws,aH as qs,aG as L,_ as Ks,jt as k,O as he,ju as _,jy as Xs,jz as ee,jA as l}from"./index-CAltUZe8.js";import"./mui-CMSRVFAm.js";import{f as Ue}from"./analyticsHelper-eqJrrWmY.js";import{t as Js}from"./getLocaleForTenant-D_kHTEKc.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},v=new i.Error().stack;v&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[v]="bd6f8e8d-f200-4f57-a19b-1a97407a80b7",i._sentryDebugIdIdentifier="sentry-dbid-bd6f8e8d-f200-4f57-a19b-1a97407a80b7")}catch{}})();const Qs={dashboard:()=>n(()=>import("./DashboardRoutes-C-92-XEq.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24])),bills:()=>n(()=>import("./BillPayRoutes-CBS2uwsj.js"),__vite__mapDeps([25,1,2,3,4,5,6,7,8,9,10,11,12,13,14,26,19,27,28,29,30,22,23,31,20,18,32,33,34,35])),reimbursement:()=>n(()=>import("./ReimbursementRoutes-B7ZhMTn_.js"),__vite__mapDeps([36,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,31,22,20,18,32,23,28,30,37,34,35])),transactions:()=>n(()=>import("./TransactionListRoutes-AdVZSKN8.js"),__vite__mapDeps([38,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,39])),settings:()=>n(()=>import("./SettingsRoutes-D3PUQXPp.js"),__vite__mapDeps([40,1,2,3,4,5,6,7,8,9,10,11,12,13,14,22,41,26,19,20,32,18,21,33,34,37])),reports:()=>n(()=>import("./ReportsRoutes-DCqEshJz.js"),__vite__mapDeps([42,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,23,28,18,22])),chargeCards:()=>n(()=>import("./ChargeCardRoutes-CCifW-tf.js"),__vite__mapDeps([43,1,2,3,4,5,6,7,8,9,10,11,12,13,14,31,22,19,20,18,32,26])),people:()=>n(()=>import("./PeopleRoutes-CAoitlRn.js"),__vite__mapDeps([44,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,22])),expenseAutomation:()=>n(()=>import("./ExpenseAutomationRoutes-ijMZF_ZU.js"),__vite__mapDeps([45,1,2,3,4,19,5,6,7,8,9,10,11,12,13,14,16,17,18,15,41,30])),treasury:()=>n(()=>import("./TreasuryRoutes-CZR8Qztx.js"),__vite__mapDeps([46,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,31,22,20,18,32,23])),vendors:()=>n(()=>import("./VendorsRoutes-05ainu55.js"),__vite__mapDeps([47,1,2,3,4,5,6,7,8,9,10,11,12,13,14,26,19,23,18,48,22,29,30,41])),zeniAccounts:()=>n(()=>import("./ZeniAccountRoutes-C1DKaJoc.js"),__vite__mapDeps([49,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,31,22,20,18,32,23,27,26,39]))},en=["bills","transactions","settings","reimbursement","reports","chargeCards","people"],se=i=>{"requestIdleCallback"in window?requestIdleCallback(i):setTimeout(i,100)},sn=l(()=>n(()=>import("./ReportsRoutes-DCqEshJz.js"),__vite__mapDeps([42,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,23,28,18,22]))),nn=l(()=>n(()=>import("./AddressRoutes-BOfIecri.js"),__vite__mapDeps([50,1,2,3,4,26,5,6,7,8,9,10,11,12,13,14,19]))),an=l(()=>n(()=>import("./PeopleRoutes-CAoitlRn.js"),__vite__mapDeps([44,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,22]))),tn=l(()=>n(()=>import("./PandLWithForecastRoutes-BVdwQZDt.js"),__vite__mapDeps([51,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,23,18,22]))),rn=l(()=>n(()=>import("./CustomerOnboardingRoutes-MHYW-e3t.js"),__vite__mapDeps([52,1,2,3,4,26,5,6,7,8,9,10,11,12,13,14,19,53,54,55,56,57,58,17]))),on=l(()=>n(()=>import("./VendorsRoutes-05ainu55.js"),__vite__mapDeps([47,1,2,3,4,5,6,7,8,9,10,11,12,13,14,26,19,23,18,48,22,29,30,41]))),ln=l(()=>n(()=>import("./TransactionDetailRoutes-BCnSElc9.js"),__vite__mapDeps([59,1,2,3,4,19,5,6,7,8,9,10,11,12,13,14,16,17,18]))),be=l(()=>n(()=>import("./EntityDetailRoutes-BEygBdNc.js"),__vite__mapDeps([60,1,2,3,4,5,6,7,8,9,10,11,12,13,14,17,15,16,18]))),cn=l(()=>n(()=>import("./DashboardRoutes-C-92-XEq.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24]))),He=l(()=>n(()=>import("./BillPayRoutes-CBS2uwsj.js"),__vite__mapDeps([25,1,2,3,4,5,6,7,8,9,10,11,12,13,14,26,19,27,28,29,30,22,23,31,20,18,32,33,34,35]))),dn=l(()=>n(()=>import("./SettingsRoutes-D3PUQXPp.js"),__vite__mapDeps([40,1,2,3,4,5,6,7,8,9,10,11,12,13,14,22,41,26,19,20,32,18,21,33,34,37]))),Re=l(()=>n(()=>import("./ReimbursementRoutes-B7ZhMTn_.js"),__vite__mapDeps([36,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,31,22,20,18,32,23,28,30,37,34,35]))),mn=l(()=>n(()=>import("./ZeniAccountRoutes-C1DKaJoc.js"),__vite__mapDeps([49,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,31,22,20,18,32,23,27,26,39]))),un=l(()=>n(()=>import("./TreasuryRoutes-CZR8Qztx.js"),__vite__mapDeps([46,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,31,22,20,18,32,23]))),_n=l(()=>n(()=>import("./TransactionListRoutes-AdVZSKN8.js"),__vite__mapDeps([38,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,39]))),An=l(()=>n(()=>import("./ChargeCardRoutes-CCifW-tf.js"),__vite__mapDeps([43,1,2,3,4,5,6,7,8,9,10,11,12,13,14,31,22,19,20,18,32,26]))),En=l(()=>n(()=>import("./NotificationRoutes-C2SuMmMM.js"),__vite__mapDeps([61,1,2,3,4,19,5,6,7,8,9,10,11,12,13,14]))),pn=l(()=>n(()=>import("./PerformanceRoutes-CC4-ZbOh.js"),__vite__mapDeps([62,1,2,3,4,19,5,6,7,8,9,10,11,12,13,14,22]))),In=l(()=>n(()=>import("./ExpenseAutomationRoutes-ijMZF_ZU.js"),__vite__mapDeps([45,1,2,3,4,19,5,6,7,8,9,10,11,12,13,14,16,17,18,15,41,30]))),xn=l(()=>n(()=>import("./RewardsRoutes-CSIVaJxq.js"),__vite__mapDeps([63,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,24,22]))),gn=l(()=>n(()=>import("./TaskRoutes-DEMuiHnC.js"),__vite__mapDeps([64,1,2,3,4,19,5,6,7,8,9,10,11,12,13,14,28,22,65]))),jn=l(()=>n(()=>import("./AiCfoScreen-B5nbVKeh.js"),__vite__mapDeps([66,1,2,3,4,5,6,7,8,9,10,11,12,13,14,48]))),y=l(()=>n(()=>import("./NotFoundScreen-CubXCR1V.js"),__vite__mapDeps([19,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))),Tn=l(()=>n(()=>import("./TaskListScreen-BN0d0a63.js"),__vite__mapDeps([65,1,2,3,4,5,6,7,8,9,10,11,12,13,14,22])));function Gn({setTenantEmailDomain:i,isAiCfoOpen:v=!1,setIsAiCfoOpen:V}){const O=Ns(),Z=Ms(),{tenantEmailDomain:o}=Zs(),D=zs().mode,{setLoading:B,clearAllLoading:De,clearLoading:K}=$s(),R=b.getSignedInUserTenant(o)?.tenantId,T=b.getSignedInUser(),X=cs(T),z=Gs(),[N,Ce]=f.useState(!1),r=w(a=>ds(a)),{useFeatureGate:P}=Ys(),J=Ws(),fe=qs(),{isFeatureEnabled:ve}=P(L.isExpenseAutomationEnabled),{isFeatureEnabled:Oe}=P(L.isExpenseAutomationEnabledV2),Pe=Oe||ve&&X,{isFeatureEnabled:Fe}=P(L.isDepositAccountsFeatureEnabled),{isFeatureEnabled:Le}=P(L.isTreasuryEnabled),{isFeatureEnabled:ke}=P(L.isChargeCardFeatureEnabled),{isFeatureEnabled:ne}=P(L.isDebitCardFeatureEnabled),h=w(a=>a.tenantState.fetchState),E=w(a=>a.tenantState.activeTenantFetchState.fetchState),u=E==="Completed"||h==="Completed"?ms(ne,r):void 0,$=E==="Completed"||h==="Completed"?us(r):void 0,Be=E==="Completed"||h==="Completed"?_s(r):void 0,Ve=ke||ne||!!Be||!!$||!!u,{isFeatureEnabled:Se}=P(L.isSettingsFeatureEnabled),{isFeatureEnabled:Ne}=P(L.isAiCfoFileUploadEnabled),Y=w(a=>As(a));if(o!=null){const a=b.getSignedInUserTenant(o);T!=null&&a!=null&&Ue(T,r,D)}const G={tenantId:R,userId:T?.userId,sessionId:T?.zeniSessionId},ae=Es(),A=Ks(),Me=r.company==null||A?.loggedInUserRoleMap!=null&&Ee(A.loggedInUserRole),Ze=ps(A?.loggedInUserRoleMap),te=f.useRef(!0),ie=Te("/:tenantEmailDomain/onboarding/*")!==null,Q=Te("/:tenantEmailDomain/month_end_close_checks/review/:selectedTab/:selectedPeriod/*"),Ge=w(a=>G.tenantId!=null?Is(a,G.tenantId):void 0);f.useEffect(()=>{B(k.TENANT_FETCHING),i(o)},[o]),f.useEffect(()=>{if(Q!=null&&R!=null){const a=Q.params.selectedPeriod;if(a!=null){const U=a.split("-");if(U.length===2){const d=xs(Number(U[0])),s=Number(U[1]),m=gs(`01-${d<10?`0${d}`:d}-${s}`,he.getLocalizedStrings().dateFormat.analytics.DDDashMMDashYYYY),M=js();m.isAfter(M,"month")===!1?O(Ts(R,{month:d,year:s})):Z("./month_end_close_checks/review")}}}},[Q,R]),f.useEffect(()=>{N||(Ce(!0),B(k.TENANT_FETCHING)),te.current?te.current=!1:!hs(ae,G)&&b.isSignedIn()&&(B(k.TENANT_FETCHING),function(a,U,d,s){if(Ie(U?.userId,U?.zeniSessionId,a.tenantId),d(Vs(!0)),d(xe(a.tenantId)),a.tenantId!=null&&_.clearTenant(a.tenantId),a.tenantId!=null){const m=b.getSignedInUserTenantWithId(a.tenantId);s&&he.updateAppLocaleID(Js(s)),m?.tenantEmailDomain!=null&&b.saveActiveTenantDomainForUser(m?.tenantEmailDomain)}a.userId!=null?ee.identify(a.userId,{tenant_id:a.tenantId}):ee.resetUserIdentity()}(G,T,O,Ge))},[G,ae,T,O,b]),f.useEffect(()=>{b.isSignedIn()&&(B(k.TENANT_FETCHING),function(a,U,d,s,m,M,S){if(d==null&&s==null)return void console.warn("There is no current tenant selected!!");const W=s!=null&&m?.zeniSessionId!=null,rs=d==null||d.tenantId!==s,os=d!=null&&d.excludedResources==null,ls=d!=null&&d.externalConnections==null;if(W&&rs){S(xe(s));const q=b.getSignedInUserTenantWithId(s);q?.tenantEmailDomain!=null&&b.saveActiveTenantDomainForUser(q?.tenantEmailDomain),Ie(m?.userId,m?.zeniSessionId,s),_.shouldFetchExcludedResources(s)&&(_.markExcludedResourcesFetchStarted(s),S(ge(m.userId,s))),_.shouldFetchConnections(s)&&(_.markConnectionsFetchStarted(s),S(je(m.userId,s)))}else W&&os&&_.shouldFetchExcludedResources(s)&&(_.markExcludedResourcesFetchStarted(s),S(ge(m.userId,s))),W&&ls&&_.shouldFetchConnections(s)&&(_.markConnectionsFetchStarted(s),S(je(m.userId,s)));if(W){ee.identify(m.userId,{tenant_id:s});const q=s==null||s!=null&&(U==="Completed"||U==="Error");a==="Completed"||U!=="Not-Started"&&U!=="Error"||s==null||!_.shouldFetchActiveTenant(s)||(_.markActiveTenantFetchStarted(s),M(k.TENANT_FETCHING),S(Ss(m.userId,s,m.zeniSessionId))),q&&(a==="Not-Started"||a==="Error")&&_.shouldFetchAllTenants()&&(_.markAllTenantsFetchStarted(),S(pe(m.userId,m.zeniSessionId)))}}(h,E,r,R,T,B,O))},[R,E]),f.useEffect(()=>{b.isSignedIn()&&h==="Completed"&&Y.tenantsBaseInOrder.length>0&&(K(k.TENANT_FETCHING),b.saveSignedInUserTenants(Us(Y.tenantsBaseInOrder)),T!=null&&Ue(T,r,D,void 0,Y.tenantsBaseInOrder))},[Y,h,r,T]),f.useEffect(()=>{E==="In-Progress"&&B(k.TENANT_FETCHING),E!=="Completed"&&E!=="Error"||(E==="Completed"&&R!=null?(De(),_.markActiveTenantFetchCompleted(R)):E==="Error"&&R!=null&&(_.markActiveTenantFetchFailed(R),K(k.TENANT_FETCHING),K(k.TENANT_SWITCHING))),h!=="Completed"&&h!=="Error"||(h==="Completed"?_.markAllTenantsFetchCompleted():h==="Error"&&_.markAllTenantsFetchFailed())},[E,h,R,N]);const re=f.useRef(!1);f.useEffect(()=>{!re.current&&E==="Completed"&&N&&(re.current=!0,function(a=en,U=3e3){setTimeout(()=>{const d=s=>{if(s>=a.length)return;const m=a[s],M=Qs[m];M!=null?M().then(()=>se(()=>d(s+1))).catch(()=>se(()=>d(s+1))):d(s+1)};se(()=>d(0))},U)}())},[E,N]);const C=r?.userRole!=null&&bs(r?.userRole),{isFeatureEnabled:we}=P(L.isReferralFeatureEnabled),ze=r?.userRole!=null&&r.userRole.includes("charge_card_user"),$e=r?.userRole!=null&&r.userRole.includes("charge_card_admin"),F=r?.userRole!=null&&Ee(r.userRole),oe=r?.company==null||r.company.featuresActivationInfo?.isBillPayFeatureEnabled&&!C,le=Ve&&!C,Ye=Hs(A?.loggedInUserRoleMap),We=r.externalConnections?.accounting[0]?.isValid,ce=r.company?.companyOnboardingInfo.isOnboardingCompleted,de=r?.company==null||r.company.featuresActivationInfo?.isReimbursementFeatureEnabled&&!C,me=de&&Rs(A?.loggedInUserRoleMap),ue=Fe&&!C,qe=r.company!=null&&ys(r.company),Ke=Le&&qe===!0&&!C,Xe=oe&&Ds(A?.loggedInUserRoleMap),Je=le&&Cs(A?.loggedInUserRoleMap),Qe=ue&&fs(A?.loggedInUserRoleMap),es=vs(A?.loggedInUserRoleMap),ss=Os(A?.loggedInUserRoleMap),p=Ps(A?.loggedInUserRoleMap),I=Fs(A?.loggedInUserRoleMap),x=Ls(A?.loggedInUserRoleMap),g=ks(A?.loggedInUserRoleMap),j=Bs(A?.loggedInUserRoleMap),_e=oe&&g,Ae=de&&j,ns=ue&&p,as=Ke&&I,ts=le&&x,is=r.excludedResources?.resources?.find(a=>a.resource==="/invites")!=null||Ze===!0||Ye===!0||es===!0||ss===!0;return b.isSignedIn()?R==null?h==="Completed"?e.jsx(c,{to:"/",replace:!0,state:{...z.state,message:"...",origin:z.pathname}}):(T!=null&&h!=="In-Progress"&&O(pe(T.userId,T.zeniSessionId)),null):E!=="In-Progress"&&E!=="Not-Started"||h==="Completed"?(ce===!0||X&&!ie)&&We===!1&&u===!1&&$===!1?(i(void 0),e.jsx(c,{to:"/connection/auth",replace:!0})):!N||ce!==!1||ie||X?N&&r?.userRole&&u!=null&&$!=null&&o!=null&&Object.keys(A.loggedInUserRoleMap).length>0?e.jsx(ws,{children:e.jsxs(t,{element:e.jsx(Xs,{}),children:[e.jsx(t,{path:"/",element:e.jsx(hn,{isDashboardAccess:F,isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,isTenantCardsOnly:$})}),e.jsx(t,{path:"dashboard/*",element:F?e.jsx(cn,{isAiCfoOpen:v,setIsAiCfoOpen:V}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"reports/*",element:F?e.jsx(sn,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"people/*",element:is||F?e.jsx(an,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"forecast/*",element:F?e.jsx(tn,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"onboarding/*",element:e.jsx(rn,{})}),e.jsx(t,{path:"transaction/*",element:F&&C===!1||ze||$e?e.jsx(ln,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"transactions/*",element:F&&C===!1?e.jsx(_n,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"customer/*",element:F&&C===!1?e.jsx(be,{entityType:"customer"}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isTenantBankingOnly:u,isUserHasTreasuryAccess:I,tenantEmailDomain:o})}),e.jsx(t,{path:"vendor/*",element:F&&C===!1?e.jsx(be,{entityType:"vendor"}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"tasks",element:e.jsx(Tn,{})}),e.jsx(t,{path:"tasks/*",element:e.jsx(gn,{})}),e.jsx(t,{path:"address/*",element:Xe||me||Qe||Je?e.jsx(nn,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"checking/*",element:ns?e.jsx(mn,{}):e.jsx(y,{})}),e.jsx(t,{path:"treasury/*",element:as?e.jsx(un,{}):e.jsx(y,{})}),e.jsx(t,{path:"performance",element:fe?e.jsx(pn,{}):e.jsx(ye,{tenantEmailDomain:o})}),e.jsx(t,{path:"month_end_close_checks/review/*",element:Pe&&C===!1?e.jsx(In,{}):e.jsx(ye,{tenantEmailDomain:o})}),e.jsx(t,{path:"notifications/*",element:e.jsx(En,{})}),e.jsx(t,{path:"vendors/*",element:Me?e.jsx(on,{}):e.jsx(y,{})}),e.jsx(t,{path:"bill/*",element:_e?e.jsx(He,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"bills/*",element:_e?e.jsx(He,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"reimbursement/*",element:Ae?e.jsx(Re,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"reimbursements/*",element:Ae?e.jsx(Re,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:x,isUserHasBillPayAccess:g,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"settings/*",element:Se?e.jsx(dn,{hasAdminLevelAccess:me}):e.jsx(y,{})}),e.jsx(t,{path:"cards/*",element:ts?e.jsx(An,{}):e.jsx(y,{})}),e.jsx(t,{path:"rewards/*",element:we?e.jsx(xn,{}):e.jsx(y,{})}),e.jsx(t,{path:"/ai-cfo",element:J?e.jsx(c,{to:"explore"}):e.jsx(y,{})}),e.jsx(t,{path:"/ai-cfo/",element:J?e.jsx(c,{to:"explore"}):e.jsx(y,{})}),e.jsx(t,{path:"/ai-cfo/:session_id",element:J?e.jsx(jn,{setIsAiCfoOpen:V,isFileUploadEnabled:Ne}):e.jsx(y,{})}),e.jsx(t,{path:"*",element:e.jsx(y,{})})]})}):null:(i(void 0),e.jsx(c,{to:"onboarding",replace:!0})):null:(console.warn("User logged out!!"),i(void 0),e.jsx(c,{to:"/signin/auth",replace:!0,state:{...z.state,message:"...",origin:z.pathname}}))}const hn=({isDashboardAccess:i,isUserHasZeniAccountsAccess:v,isUserHasChargeCardAccess:V,isUserHasBillPayAccess:O,isUserHasReimbursementAccess:Z,isUserHasTreasuryAccess:o,isTenantBankingOnly:D,isTenantCardsOnly:B})=>D===!0&&v?e.jsx(c,{to:"checking"}):B===!0?e.jsx(c,{to:"cards"}):i?e.jsx(c,{to:"dashboard"}):v?e.jsx(c,{to:"checking"}):o?e.jsx(c,{to:"treasury"}):V?e.jsx(c,{to:"cards"}):O?e.jsx(c,{to:"bills"}):Z?e.jsx(c,{to:"reimbursements"}):e.jsx(c,{to:"dashboard"}),H=({isUserHasZeniAccountsAccess:i,isUserHasChargeCardAccess:v,isUserHasBillPayAccess:V,isUserHasReimbursementAccess:O,isUserHasTreasuryAccess:Z,isTenantBankingOnly:o,tenantEmailDomain:D})=>o===!0||i?e.jsx(Rn,{tenantEmailDomain:D}):Z?e.jsx(Hn,{tenantEmailDomain:D}):v?e.jsx(yn,{tenantEmailDomain:D}):V?e.jsx(bn,{tenantEmailDomain:D}):O?e.jsx(Un,{tenantEmailDomain:D}):e.jsx(y,{}),Un=({tenantEmailDomain:i})=>e.jsx(c,{to:`/${i}/reimbursements`}),bn=({tenantEmailDomain:i})=>e.jsx(c,{to:`/${i}/bills`}),Hn=({tenantEmailDomain:i})=>e.jsx(c,{to:`/${i}/treasury`}),Rn=({tenantEmailDomain:i})=>e.jsx(c,{to:`/${i}/checking`}),yn=({tenantEmailDomain:i})=>e.jsx(c,{to:`/${i}/cards`}),ye=({tenantEmailDomain:i})=>e.jsx(c,{to:`/${i}/dashboard`});export{H as FallBackRoute,Gn as default};
|