@zeniai/web-app-ui 4.14.31-qa → 4.14.32-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-CFhoboVe-DcRe2nTt.js → ACHDetailsPage-BO7lxW8c-CaH7vfBB.js} +2 -2
- package/dist/assets/{AIPerformancePage-DB-fTWME-DYZeuOnD.js → AIPerformancePage-SF-quMkk-CZFFBw1a.js} +1 -1
- package/dist/assets/AccountInfoPage-v8-NT3FJ-Bw3uGZG4.js +18 -0
- package/dist/assets/{AccountInfoPageContent-eYEsv7ac-DDYvpmDy.js → AccountInfoPageContent-DIWh6VaI-HqDSQPfy.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-jYWr_8TD-DcOOzUkE.js → AccountLockedInfoModal-DloPB9vd-BSxEQO_S.js} +6 -6
- package/dist/assets/{AccountReconDetailsDrawerPage-3Q0EPYhL-27wJMTjD.js → AccountReconDetailsDrawerPage-BAgQsFiF-CyK6H2le.js} +4 -4
- package/dist/assets/{AccountRow-CdgvnPG8-BR1hQ4Zy.js → AccountRow-Dczx5rSu-CwZA98Uy.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-DHo59LLN-ChbxyMzd.js → AccountsPromoCardStack-Ywhto4lV-cevnOXMT.js} +11 -11
- package/dist/assets/{AddAddressForCardDrawer-BzO1FXUa-kLdLeGkd.js → AddAddressForCardDrawer-B8srmVT6-DsXtVyAN.js} +1 -1
- package/dist/assets/{AddToWalletPage-BfXFbHjk-CYPGe181.js → AddToWalletPage-k__RW699-BSoFKwS5.js} +1 -1
- package/dist/assets/{AddressRoutes-XcDMlDlS.js → AddressRoutes-Bnm4H7bD.js} +1 -1
- package/dist/assets/{AddressScreen-DPPx0MfK.js → AddressScreen-INYb_JGl.js} +2 -2
- package/dist/assets/{AgingReportsPage-C1hFq4KH-DN--gN3O.js → AgingReportsPage-BuIXjljE-DwSwkj0s.js} +5 -5
- package/dist/assets/{AiCfoScreen-30SW2q3w.js → AiCfoScreen-Dg31g97F.js} +1 -1
- package/dist/assets/{AllUserItems-B6pnKByY-DyP7v-cA.js → AllUserItems-BdgTe4WF-H7QxO-h-.js} +7 -7
- package/dist/assets/ApAgingDetailPage-6F47t31h-BJY-Gjjh.js +46 -0
- package/dist/assets/{AppBasePage-DiVxF606-AXI0aqhJ.js → AppBasePage-DaTueT-x-Db3mer79.js} +1 -1
- package/dist/assets/{AppDrawerContent-B_EWsf8O-CMysKcTU.js → AppDrawerContent-CtCI6jpp-B-tHPrrL.js} +3 -3
- package/dist/assets/{ApprovalRulesSettingsPage-HHjDp_NQ-jrLhlHCF.js → ApprovalRulesSettingsPage-BVxu4soW-Nu7LfFuU.js} +1 -1
- package/dist/assets/{ArAgingChart-Ba4A-i2N-PODxdvyn.js → ArAgingChart-BK-JyW2V-CpKqA7Z3.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-prgcvsS4-BsTAVwTa.js → ArAgingDetailPage-CvqLu3q8-DFRtVqyv.js} +3 -3
- package/dist/assets/{AttachmentView-SsWJw4A8-RJr9hQhO.js → AttachmentView-DQdb3v_e-BgOMzST7.js} +1 -1
- package/dist/assets/{BalancesInsightWithToolTip-DE6gDjGA-e_65zoZY.js → BalancesInsightWithToolTip-D4q45w1q-CBufZlsy.js} +4 -4
- package/dist/assets/{BankAccountSection-B4jmT0lb-zwPodZbw.js → BankAccountSection-DgbfU8F--DERufWYy.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Bz2itMx0-BfZtVATK.js → BankAccountWarningSection-litL0o_Z-YNoMxnsQ.js} +11 -11
- package/dist/assets/{BankConnectionsSettingsPage-BcVk7bTt-C3Wp_iZl.js → BankConnectionsSettingsPage-bAj9uB9k-D373ilzg.js} +1 -1
- package/dist/assets/{BillDetailPage-Dkqmi4H1-C6mDNSc2.js → BillDetailPage-CiHal44n-DIfTrfpQ.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-CaSA1uSR.js → BillPayApprovalRoutes-BILiu13g.js} +1 -1
- package/dist/assets/BillPayApprovalRuleDetailPage-CRBli7lk-Cp1ol6-S.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-B_QwggJS-BveqhBul.js → BillPayApprovalRulesPage-BTOmSLcs-D3SM4r7K.js} +7 -7
- package/dist/assets/{BillPayPromoPage-Bx2AXpWe-BrIbmhut.js → BillPayPromoPage-B5gkQjT2-D9lr-mmz.js} +9 -9
- package/dist/assets/{BillPayRoutes-CMdKHc5T.js → BillPayRoutes-BIHt-HL2.js} +7 -7
- package/dist/assets/{BillPaySetUpPage-CM7_DkHC-Bt5CjJNs.js → BillPaySetUpPage-DM3r09by-BlBEwtA1.js} +1 -1
- package/dist/assets/{BillingSettingsPage-DM0OIfxa-CKHUmPAw.js → BillingSettingsPage-CiTKyJeG-BkRQgSD8.js} +2 -2
- package/dist/assets/{BillsBulkReviewDrawerPage-C3xmQ7wz-Cf_j4N1J.js → BillsBulkReviewDrawerPage-B6ofRDkg-B-xdke4y.js} +1 -1
- package/dist/assets/{BoxItem-CvCo0wr6-BAtsmvg4.js → BoxItem-C39hQSVg-B9WMvkwI.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BAZmkR4a-BbYTLnZH.js → BusinessVerificationPage-BiWEnJET-BPuB56i7.js} +2 -2
- package/dist/assets/{BusinessVerificationPageScreen-DVGxc_kT.js → BusinessVerificationPageScreen-C9kI0BR_.js} +2 -2
- package/dist/assets/{BusyIndication-Cp8KWKB2-paVspSd6.js → BusyIndication-DmApVsF7-DQl3VYqH.js} +1 -1
- package/dist/assets/{CardNumberSubText-DHtSIcZZ-CJNkVpEB.js → CardNumberSubText-FNfrozX6-tv8Brnnn.js} +1 -1
- package/dist/assets/{CashbackDetailPage-CNS1FA6b-DNPbsy8R.js → CashbackDetailPage-DaLICa_v-BHzYFFJ0.js} +7 -7
- package/dist/assets/{ChargeCardDetailPage-C4NeG7IM-Bqzrs3Tx.js → ChargeCardDetailPage-B0Aq7zO5-40fQ7jsk.js} +28 -28
- package/dist/assets/{ChargeCardListPage-DNYiWaEf-D4WPR4qJ.js → ChargeCardListPage-CfRto2rQ-ClyjE_iT.js} +16 -16
- package/dist/assets/{ChargeCardListTable-DdnyzdFf-BLIVQeNK.js → ChargeCardListTable-DMdC4lxo-KnHyTkme.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-CXlqzaUt-nlgSDdhG.js → ChargeCardPaymentHistoryPage-BYTmtF_y-i9mylyuZ.js} +1 -1
- package/dist/assets/ChargeCardPromoPage-AI5bladj-BDPOfxSx.js +222 -0
- package/dist/assets/{ChargeCardRoutes-DipRg107.js → ChargeCardRoutes-CUAUmOPf.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-BtikPFOq-Ci06zFqY.js → ChargeCardSetupPage-BjhqdubL-u9TM5_mu.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-RepWBbvJ-qZhzfjJs.js → ChargeCardStatementsPage-DCM92s6v-CAUZgBlq.js} +2 -2
- package/dist/assets/{CheckDepositDrawerPage-BCqg3irO-CU861UMl.js → CheckDepositDrawerPage-CkIxEqHU-B7qz4vrp.js} +1 -1
- package/dist/assets/{CollapsableReportTable-gy7Ue_fk-Cp0GdxMJ.js → CollapsableReportTable-ClHwXtCj-BfwfqIOK.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BsCx7q-g-Bqu05vNe.js → CompanyOfficerDetailsSection-BY8hFQnp-DJfNkZb4.js} +16 -16
- package/dist/assets/{CompanyPassportCard-BbUWOs1U-CQapOMzG.js → CompanyPassportCard-B3rZE3pg-CtuQmTD5.js} +2 -2
- package/dist/assets/{CompanyPassportPage-BnP2oA1U-DG-ray3n.js → CompanyPassportPage-4FXVf3EP-DhUTHw6y.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-Bsk4iSLd.js → CompanyPassportScreen-m_gXhHG_.js} +1 -1
- package/dist/assets/{CompleteProfile-TiRsm2Fm-Dmw9B9gd.js → CompleteProfile-B1BoilWd-LUJNszjE.js} +1 -1
- package/dist/assets/{ConfettiBurst-D7J36hZf-DAmXS8qh.js → ConfettiBurst-CsbAGF65-C9KfsdE7.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-CdbJnza-.js → ConnectionAuthScreen-Zn6jvlmq.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-CpoLys2G.js → ConstrainedInnerElement-CgdnMeoA-Dc3P_0OR.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-Dihzr1D5-Df0a--du.js → CreateOrEditVendorPage-C50eYOFo-D8POwrMQ.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-CZGzDuxC-CG7xBUFZ.js → CreditCardPaymentDrawerPage-Dxz_SY7N-D8up_BJ4.js} +1 -1
- package/dist/assets/{CurrencySelectField-BTAmIqPa-BOvsicp3.js → CurrencySelectField-D2Ogwvbr-B4ftuyL3.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-MVI7kqIh-B52EVUog.js → CustomerOnboardingActivationPage-5Sh7hmI9-DpPsiuW1.js} +1 -1
- package/dist/assets/CustomerOnboardingAuthScreen-BhtVN8fo.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-B5kVGk_V-DpOBarI8.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CaI_0pCb-Dx2c__Yb.js → CustomerOnboardingDetailPageSkeleton-CL-mOSUp-Crb7CsXj.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CO_c2COV-CcNi7DUF.js → CustomerOnboardingNoStepsPage-CyL1AK78-Dsu24NnA.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-BF0vuYaJ-CpeT13Rn.js → CustomerOnboardingPage-C8nxJPwo-UENXO6qW.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-BGFdLX1i-C7qSBsYV.js → CustomerOnboardingProductSuitePage-C7FbnHpU-C2FaoJHQ.js} +3 -3
- package/dist/assets/{CustomerOnboardingRoutes-BqTX1iyW.js → CustomerOnboardingRoutes-DbUQBREw.js} +1 -1
- package/dist/assets/{Dashboard-Qjedd4r--DdmcDs7e.js → Dashboard-Bpu-6Sm5-CcAT-BJw.js} +1 -1
- package/dist/assets/{DashboardReportPage-Deith_ON-BYNIuWwI.js → DashboardReportPage-B1aAikQG-BWThnMBB.js} +1 -1
- package/dist/assets/{DashboardRoutes-C3tqy16Q.js → DashboardRoutes-aFJ2Gmek.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-C7DfUDio-CXRw7JSP.js → DashboardSidebarBackgroundAnimation-C6xm-p2j-BW7a7KRi.js} +1 -1
- package/dist/assets/{DefaultTenantHome-DTL7QcJH.js → DefaultTenantHome-D-V97ZoE.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-7kYotKov-C07q_etT.js → DepositAccTransactionItem-DEU0DgtI-DX-mlAdm.js} +7 -7
- package/dist/assets/{DepositAccTransactionListPage-Bop4Uj5w-DYSx2RBP.js → DepositAccTransactionListPage-Bh0dIkE9-CF_bG5NL.js} +4 -4
- package/dist/assets/{DomesticWireDetailScreen-D_BfoPLh.js → DomesticWireDetailScreen-DBNwn4TO.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-_TyXsqEx-jkwnoEUE.js → DomesticWireDetailsPage-2WyD73c9-B2JWW3fS.js} +1 -1
- package/dist/assets/{DownloadOverlay-Cmd727bN-CUU7ZY9L.js → DownloadOverlay-B7M2VI7K-93vOHyTt.js} +14 -14
- package/dist/assets/{DrawerPage-DmGwfnGp-LTv4sDcy.js → DrawerPage-DsQTxXa8-D8CWGNJU.js} +4 -4
- package/dist/assets/{DrawerScreen-DtF71b7B.js → DrawerScreen-DDmYCdH3.js} +1 -1
- package/dist/assets/{EditPeoplePage-YyluIC6R-CXdaDa7G.js → EditPeoplePage-fY0HXvVS-C62IbLj9.js} +5 -5
- package/dist/assets/{EditReimbursementDetailPage-DeMid2Ko-Bv-8Xabp.js → EditReimbursementDetailPage-D7RUWSTZ-DVOazN97.js} +18 -18
- package/dist/assets/EntityDetailPage-BDyO7iLI-DsywTSaM.js +18 -0
- package/dist/assets/{EntityDetailRoutes-DYnivlwX.js → EntityDetailRoutes-BGXfmx5_.js} +1 -1
- package/dist/assets/{EntitySummarySection-5NbutA8l-CQbl1YIH.js → EntitySummarySection-0rRkC5V6-BD_Ykbrq.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-CQ_3WluW-CLWld5W7.js → ExpenseAutomationOverviewPage-DOGAdZXV-Bv58nG4M.js} +8 -8
- package/dist/assets/{ExpenseAutomationPage-VuU4acYd-B7T-Dg4p.js → ExpenseAutomationPage-DOsIzX0P-X4utEwdy.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-BlW2sTwn.js → ExpenseAutomationRoutes-eS-fi8G6.js} +1 -1
- package/dist/assets/{ExpressPayPage-DhoNmyC2-Bd-YVNzq.js → ExpressPayPage-CIi6jM8Y-zeultZzf.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-GSwhPxgP-CXXTQoUA.js → FeaturePreviewPage-BVn6ZUOB-QQqfkJ8p.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-CpHWA-St.js → FeaturePreviewScreen-D5VxTq6D.js} +1 -1
- package/dist/assets/{FollowStepsSection-DaueHRo4-FQso0zsG.js → FollowStepsSection-CvWPHXDW-CX31cI67.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-DG7_1HOT-_eh0o3Lh.js → GlobalReviewListPage-CS_11bx0-BWWUBfxL.js} +1 -1
- package/dist/assets/{InformationCardStack-zc-BxR7F-CH328-RF.js → InformationCardStack-B9g7W7Xx-BMa0JHtx.js} +3 -3
- package/dist/assets/{InsightsCardStack-DxCA5sFh-Y8l4503l.js → InsightsCardStack-mvzIc2uY-FQWyC3NM.js} +1 -1
- package/dist/assets/{InsightsSection-BdFG3j3R-DjHyJY78.js → InsightsSection-rGyA4lY9-ztCddwYb.js} +8 -8
- package/dist/assets/{IntegrationsSettingsPage-CaiL3kqS-CiO2l-pg.js → IntegrationsSettingsPage-Dwz4ukHF-I8L8bnwJ.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-BrQVSzeS-B8g9fXts.js → InternationalWireSwiftDetailsPage-Cm0H9oyf-Dq6HjvzW.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-NaLnhW9C-Be5m5GNN.js → InternationalWireVerificationPage-woIoME3I-Dczyy-qA.js} +10 -10
- package/dist/assets/{InviteFormPage-fjqv2l7h-CLLSBMJ2.js → InviteFormPage-DaZ-sJYV-B1D96lar.js} +13 -13
- package/dist/assets/{InvitePageListView-CQecQhxr-DHxSXSin.js → InvitePageListView-Do7EVQrj-CnaoEv-w.js} +1 -1
- package/dist/assets/{InvitePeoplePage-DAEBuOnk-CNuAu3aA.js → InvitePeoplePage-CpD7YoC2-CAkwuWqR.js} +2 -2
- package/dist/assets/{InvoiceUploadSection-58l6ePuH-CbCDsLyQ.js → InvoiceUploadSection-DOuTQPee-DNxyr3cj.js} +11 -11
- package/dist/assets/{IssueChargeCardPage-Bkxqsgax-B2E0w7s1.js → IssueChargeCardPage-ClMhr27d-m0kTf6sc.js} +9 -9
- package/dist/assets/{LabeledAddressValue-CZfFV97h-D0qxrk9o.js → LabeledAddressValue-B6_PZDTO-xVytB-P9.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-D66XOhMx-BL2wLyLH.js → LabeledAddressValueField-Cz6tRMoW-C7dop0k-.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-BtnsqE4D-B85xoPON.js → LabeledControlledCheckBoxField-BEpAlnvo-BRLqoAnU.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-kopByxLB-1-3v1UQa.js → LabeledCountryMultiSelectField-1kTcZMQW-Cq5wOhkQ.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-B6An-cwq-DFSBA92N.js → LabeledCreatableSingleSelectField-PiLB1S77-CXLJARhZ.js} +1 -1
- package/dist/assets/{LabeledDocumentField-D_ZD8JTn-vKeq6vm6.js → LabeledDocumentField-Cicw8ABs-CehJpiD9.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-CJ7ncCzH-B0WjHFnN.js → LabeledDropDownFormattedTextField-BEVVgIGK-ByxutmzB.js} +7 -7
- package/dist/assets/{LabeledEmailInputField-CSfzMDYO-CWt52Wcv.js → LabeledEmailInputField-C6gk3B5x-DQKZx3MY.js} +1 -1
- package/dist/assets/{LabeledNameField-DZJXGYR9-BrTXKAba.js → LabeledNameField-BpfxLnfN-Dp4_3qSf.js} +1 -1
- package/dist/assets/{LabeledSingleSelectField-D_LoOMiZ-BMpo-aMs.js → LabeledSingleSelectField-Utmk8KVy-Cxr5xWDf.js} +1 -1
- package/dist/assets/{LabeledText-A1h_ionS-CFl8s8G-.js → LabeledText-C56xvYuX-BYR-B_G0.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-Q6YssO3g.js → LabeledUserSingleSelectWithSubtitlesField-CF4oVI17-C2nSJ6yS.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-DmynBXbJ-B4T-A7Cu.js → LabeledZeniRolesDropDownField-B5rxYfam-qcmbm9V-.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-D6-fL4a6-tCaqs9Yj.js → LinkJETransactionPage-DbnaYlRA-UFjDu7p8.js} +10 -10
- package/dist/assets/{LockCardPage-BDlnh_zf-cKP8zIxD.js → LockCardPage-XHbTmzq8-CizhFaVR.js} +8 -8
- package/dist/assets/{LowBalancePopup-CBPl_udd-BorudEL4.js → LowBalancePopup-IF7NG9aL-DyQqJJ_L.js} +5 -5
- package/dist/assets/MagicLinkACHDetailsPage-DbhqYo7W-C6hltO5g.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D0JDLfbz-Nd5n74ys.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DChqrJN7-d6t2QZpk.js +1 -0
- package/dist/assets/{MagicLinkRoutes-CcsKjkce.js → MagicLinkRoutes-D4nTqNcw.js} +18 -18
- package/dist/assets/{MagicLinkSignInScreen-Dw8ViAP-.js → MagicLinkSignInScreen-DhnaHV0D.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Cl461HWp-01GdAVLj.js → MagicLinkSuccessPage-Cyr3p_8a-CVhCJtyQ.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DoIMYrRv-wUyCV4b7.js → MagicLinkTitleSection-A4zyF5bg-B40bJuh0.js} +1 -1
- package/dist/assets/{MailingDetailsSection-NdwWGQ88-ChhAh-Lq.js → MailingDetailsSection-DqSOlu2t-CyUaZRam.js} +1 -1
- package/dist/assets/{MobileAppDrawer-D7V2koAX.js → MobileAppDrawer-BRK9r0e2.js} +1 -1
- package/dist/assets/{MoreMenuButton-CkkW1atP-CT7ietod.js → MoreMenuButton-B1OKwXLg-CUWjb2Vn.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-BU6TBzI1-DURfzXrx.js → MyBankConnectionsSettingsPage-DtTjhna--DTBZyR2y.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-DcunCDU6-CQIAZ-Ax.js → MyPendingActivationChargeCardListPage-CKSWf7I4-5HMiO4ol.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DF7ahyXE-BEXIytCm.js → MyProfileSettingsPage-WF1pNlyU-DCBVPnlL.js} +1 -1
- package/dist/assets/NavBarWithPicker-DiCaJ8Qy-BnNZsOl6.js +30 -0
- package/dist/assets/{NavigationArrow-CWUL-6kN-CRVEGy5S.js → NavigationArrow-f4Z3TuXg-UuhH1nBa.js} +7 -7
- package/dist/assets/{NavigationDots-c-XSrFzE-Bl0Sm_Ng.js → NavigationDots-WiVjbUsC-Crp3ArrF.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-FGEO68I8-BKtwnvr_.js → NewGlobalMerchantPage-kvjjwV8d-C2-dLqkh.js} +1 -1
- package/dist/assets/{NoDataChart-DJhSgtLu-BO4-72hz.js → NoDataChart-DlSLTzZl-FuGU3dm-.js} +1 -1
- package/dist/assets/{NoDataTable-BZiwo2qK-CJLZnBQL.js → NoDataTable-9vLoRpsR-CqXldB2y.js} +1 -1
- package/dist/assets/{NotFoundPage-BN5unYX8-B80hQ8eO.js → NotFoundPage-CFlNCHFs-HVhDj2Ia.js} +5 -5
- package/dist/assets/{NotFoundScreen-BBbILNsa.js → NotFoundScreen-YeCuKQy4.js} +1 -1
- package/dist/assets/{NotificationRoutes-BH_Amwk1.js → NotificationRoutes-Dd09Cbi8.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-d8kHDj0M-2vIf0BRe.js → NotificationSettingsPage-KJzE9v4p-DOQO6pCa.js} +4 -4
- package/dist/assets/{NotificationsListConfig-ThKLok_w-Bx-0LQ4e.js → NotificationsListConfig-6sXXtF_E-BS4C2OAr.js} +1 -1
- package/dist/assets/{NotificationsPage-Uvu6XESA-D1y42vLB.js → NotificationsPage-D4AmPdo9-BPnTsbgm.js} +1 -1
- package/dist/assets/{OpExByVendorPage-QyqRkD2_-h8x1NnCW.js → OpExByVendorPage-B5Wtu3ww-DQg4-jJ4.js} +6 -6
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-B8rQHhtN.js → OverlayContainerPage-BG9y5C0t-COHi_UQx.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DJ2v5qbE-BgEHjFpy.js → PandLWithForecastPage-CjkaxTx7-DQmjDDak.js} +1 -1
- package/dist/assets/PandLWithForecastRoutes-C4ljq3MB.js +1 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-q5z8XZFC-IYhUlGT-.js → PaymentAccountSetupBillingAddressSection-eeLSg7xb-CRk9dKLv.js} +1 -1
- package/dist/assets/{PeoplePage-C5ZdpVyR-DA1lsmrN.js → PeoplePage-CQREy6SW-aaRJEBLV.js} +1 -1
- package/dist/assets/{PeopleRoutes-BLNrKR-x.js → PeopleRoutes-ChdDR42u.js} +3 -3
- package/dist/assets/{PerformanceRoutes-BBydKp8A.js → PerformanceRoutes-C9_QucnY.js} +1 -1
- package/dist/assets/{Preview-C2UYzTeJ.js → Preview-CQ45ZFEO.js} +1 -1
- package/dist/assets/{ProductsCarousel-CXjLTOLy-2QbHSm9u.js → ProductsCarousel-COZZMTcH-Bzu55dWw.js} +1 -1
- package/dist/assets/{PromoBaseCards-CN9uZfG4-CB2JkJIv.js → PromoBaseCards-Bmn6TN2k-Bz52UdXc.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-CXSi1Pd9-CSvewQW2.js → QBOConnectionDialog-DYxoiSkA-BahHoGsk.js} +4 -4
- package/dist/assets/{QBOConnectionScreen-tSJfFhQn.js → QBOConnectionScreen-CvnGX6ip.js} +1 -1
- package/dist/assets/{QBOSetupSection-BrtLMvEP-D5Os1BGx.js → QBOSetupSection-Cdz2PDxV-3UdpeU-_.js} +7 -7
- package/dist/assets/ReferralListScreen-rNybuoN2.js +5 -0
- package/dist/assets/{ReimbursementApprovalRoutes-BHsHN-u_.js → ReimbursementApprovalRoutes-CoADYXXE.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CS1BQ7pL-_lY11RDq.js → ReimbursementApprovalRuleDetailPage-C-QEoqCw-nwX6DLtF.js} +5 -5
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-Bs2ple33.js → ReimbursementApprovalRuleDetailScreen-Bqm6EOL1.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-aLRkhkZB-CV07eSYp.js → ReimbursementApprovalRulesPage-Ch2sxTFV-tKNtb0zE.js} +26 -26
- package/dist/assets/{ReimbursementDetailPage-Dr5BTvEq-DM2tEzQB.js → ReimbursementDetailPage-DSF6SfKn--PtdBuMK.js} +5 -5
- package/dist/assets/{ReimbursementPromoPage-C5Z0mVhQ-Dq3UPRZ3.js → ReimbursementPromoPage-F1ROFd63-BFHAhlMX.js} +11 -11
- package/dist/assets/{ReimbursementRoutes-iv71wb2Z.js → ReimbursementRoutes-DGj3kepc.js} +3 -3
- package/dist/assets/{ReimbursementSetUpPage-CXhOBErm-BnZZWQ1W.js → ReimbursementSetUpPage-l2mhLFuo-DfOuAAr0.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CA0n0mau-Bq7X2QJa.js → ReimbursementsBulkReviewDrawerPage-DyPxPnlu-BmJ-UskM.js} +1 -1
- package/dist/assets/{ReloadCard-Bjp8ygC2-DsEbxw3o.js → ReloadCard-CDcJMl9F-DmOo4rMc.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-DTk1dNWC-QFtHZK4J.js → ReportTableViewSelector-DvCk55Hn-DU86kKFX.js} +5 -5
- package/dist/assets/ReportsPage-DfqqKSt3-DjEpZpYh.js +269 -0
- package/dist/assets/{ReportsRoutes-BhpH3vEG.js → ReportsRoutes-DrS0PfFL.js} +1 -1
- package/dist/assets/{RevenueChart-CqGvXDr4-BDXPrwnC.js → RevenueChart-BONT9upM-Wgu_yKns.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-CWBP7FBN-XuXg3BcA.js → ReviewDetailsPage-857bVurA-DISEdilE.js} +6 -6
- package/dist/assets/{ReviewOverlay-Cxkp85Kw-BxuvLEpC.js → ReviewOverlay-ClQg7d2j-DMLhTFSB.js} +1 -1
- package/dist/assets/RewardsRoutes-BI3CFx__.js +1 -0
- package/dist/assets/RoleWithToolTip-C0G1Hgp_-C6OnScGb.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CYvlB3Nf-DLsNuhIe.js → ScheduleDetailsFixedAssetsPage-CJ_JBtxS-BI5TWCkt.js} +4 -4
- package/dist/assets/{ScheduleDetailsPage-CZXJ15tN-DK-Vvm5e.js → ScheduleDetailsPage-B1aEwPL--CmKbMEkF.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-DNPID_7F-Bz8d2Fhy.js → ScheduleSequenceTable-DhU7PI91-B_rwqPJI.js} +1 -1
- package/dist/assets/{ScreenRoutes-B0gKACTz.js → ScreenRoutes-BEfnlKLo.js} +2 -2
- package/dist/assets/{SetUpAccountSection-_WPR-q2V-BVzNpUbf.js → SetUpAccountSection-C8dulq9s-NOviRS6G.js} +20 -20
- package/dist/assets/{SettingsRoutes-BrokioTP.js → SettingsRoutes-Cv3I5FcH.js} +1 -1
- package/dist/assets/{SetupPagesScreen-BiJM7znn.js → SetupPagesScreen-DXJ1IvhH.js} +1 -1
- package/dist/assets/{SignIn-CDEsZw_T-BhKsIiWi.js → SignIn-wDe7lbGR-CsMJoTy9.js} +4 -4
- package/dist/assets/{SignInScreen-CRHQkOWq.js → SignInScreen-TFIvhVsE.js} +1 -1
- package/dist/assets/{SignOutScreen-CSmP5G0L.js → SignOutScreen-DNlfKKyW.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-MOCWuROI-DdkFjcW6.js → SpendManagementListViewPage-BdddUHrW-DddaRnSk.js} +8 -8
- package/dist/assets/{SpendManagementPerTabPage-BeK0SCeE-DPZd4om4.js → SpendManagementPerTabPage-BBJm3884-BFVFYDTY.js} +1 -1
- package/dist/assets/{SpendManagementSection-DZFPfKNi-DT0rYb2P.js → SpendManagementSection-6R5y0Hy4-BDNcg1eM.js} +9 -9
- package/dist/assets/StatementItem-qsoXKx_p-B1TzdTRA.js +31 -0
- package/dist/assets/{StatementsPage-DYLp_e7W-CYuAqH_I.js → StatementsPage-Cn7WG5-S-RUted-8P.js} +2 -2
- package/dist/assets/{StatusSwitcher-jxaonB4S-Cxq2Q9_V.js → StatusSwitcher-D3qCg5J1-CR1Mcm2E.js} +1 -1
- package/dist/assets/{SubTabSwitcher-CudjNlsi-D6kvvomf.js → SubTabSwitcher-BXajy75j-Dc5sli1z.js} +1 -1
- package/dist/assets/{SuccessAnimation-DE_x1Zz_-AQ5Y5JIA.js → SuccessAnimation-CSblamOQ-Bn7t6Lwt.js} +1 -1
- package/dist/assets/SummaryCard-B1d4_5lE-Dcb38d7W.js +1 -0
- package/dist/assets/{TaskDetailPage-CXexRKAY-BOPspi-s.js → TaskDetailPage-CrsQnhu1-DqJUU9CD.js} +1 -1
- package/dist/assets/{TaskListScreen-B0RVzFet.js → TaskListScreen-DQaj367P.js} +1 -1
- package/dist/assets/{TaskManagementPage-CTMoHv0R-BGb6WsaA.js → TaskManagementPage-h3Rb49Jj-CiFXDTcp.js} +1 -1
- package/dist/assets/TaskRoutes-DcIHRznV.js +9 -0
- package/dist/assets/{TimeRangeSwitcher-SqY2MHGs-ChpZHeuG.js → TimeRangeSwitcher-DpUOmqiR-D_tIz1xP.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-BlJ2fuHy-JP2UlRBY.js → TimeframeSwitcher-BKEtsv_r-CS6zQ4bX.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-Dgc1odUH-ChrHPbvN.js → TimeframeSwitcherWithToggle-DECnQIMT-DCOsHatx.js} +10 -10
- package/dist/assets/{TopExCard-CG8YLsYe-B5wqJJSw.js → TopExCard-leQR29Sq-DG9ySZIm.js} +1 -1
- package/dist/assets/{TopExDetailPage-TvYCbzSP-CTOCVsET.js → TopExDetailPage-Dgg7Do6D-B22efZAA.js} +3 -3
- package/dist/assets/{TransactionActivityLogPage-BL3vEAdU-Bk3OacNa.js → TransactionActivityLogPage-CU2pUJQL-CgftV9ye.js} +5 -5
- package/dist/assets/{TransactionDetailPage-DUouBL0o-DkOa5f2H.js → TransactionDetailPage-FT2IPLH7-DAfWSPCG.js} +32 -32
- package/dist/assets/{TransactionDetailRoutes-D5_-HF2Q.js → TransactionDetailRoutes-l4cqdz7w.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-DHwJH1ZP.js → TransactionDetailScreen-BxZ1AvRI.js} +1 -1
- package/dist/assets/{TransactionList-B16NONME-xM0VK0uD.js → TransactionList-C2MGkQYM-CPp22oMb.js} +8 -8
- package/dist/assets/{TransactionListBig-CItPbTRV-BpUwrWyu.js → TransactionListBig-CZ3jIxzR-BG5pwJlw.js} +6 -6
- package/dist/assets/TransactionListPage-PCa4exLO-uM7mJD-y.js +35 -0
- package/dist/assets/{TransactionListRoutes-DIJ_fkWS.js → TransactionListRoutes-veIGR3tC.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-DpqisXN8-wU2wHv2K.js → TransactionVendorDetailPage-BgcqndCu-BSSs2Jcd.js} +1 -1
- package/dist/assets/{TransferDrawerPage-Dsmbswu0-DFQDwnPy.js → TransferDrawerPage-SirvPH4z-DtzIcgDc.js} +10 -10
- package/dist/assets/{TreasuryOverviewPage-BcRpcYmB-DwdLr4Xt.js → TreasuryOverviewPage-B_WK1aOv-Bqerf9ct.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-DOO_OMRa-uzWYBUzW.js → TreasuryPromoPage-B_D63Dr2-Di08g28n.js} +6 -6
- package/dist/assets/{TreasuryRoutes-BfRwxvKx.js → TreasuryRoutes-BDfDMqyl.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-A_U7bEy5-C1uv8XvN.js → TreasuryStatementsPage-BGe0fhBe-D_xnH4qk.js} +2 -2
- package/dist/assets/{TreasuryTaxLetterPage-BsJn-BgX-Dcdm_qTO.js → TreasuryTaxLetterPage-9gNdkQZp-CGVWuYY2.js} +2 -2
- package/dist/assets/{TrendChart-GMMat-NG-BewK0MCc.js → TrendChart-COItOWPp-Bqzu2MgM.js} +2 -2
- package/dist/assets/{TrendWithTransactions-CrA4opNV-B_vQq65J.js → TrendWithTransactions-DgAw_8CI-MC8wGnO9.js} +8 -8
- package/dist/assets/{UncategorizedAccountsMappingPage-CrzbFGOi-BDtcuYej.js → UncategorizedAccountsMappingPage-B9EziB6Q-gv_x6dec.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-XZY6zJa7-D8B46vcm.js → UnitIntegrationPage-DGWNyWV1-Dx2SNOLo.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-eqwSLigx-kRVMQYF-.js → UploadAdditionalDocumentOverlay-DWmMz_8y-Dm_NzTDF.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BHDivuPB-D7ySxcXF.js → Vendor2FAPopup-dh2g8kqu-tmyn1K6T.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-C0vIRpRW-DV0u5MUr.js +1 -0
- package/dist/assets/{VendorDetailPage-DEu-yS8w-BhFmuJot.js → VendorDetailPage-CGqoIODq-DATvkiT-.js} +13 -13
- package/dist/assets/VendorDomesticWireDetailsPage-BVXSOMiH-DLIihksm.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-C461SzO0-CCIZoPU6.js → VendorFiling1099EditablePage-CsnlHrCl-DrSHAjrS.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-klbCHS04-UP-04u7X.js → VendorFirstReviewPage-DC1j2sO_-BShWc2PZ.js} +7 -7
- package/dist/assets/{VendorInternationalWireDetailsPage-DY0V-VbO-Dl3hBhoD.js → VendorInternationalWireDetailsPage-Drr00a6C-B8ypeLTf.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CZ5N8G2o-Cr3Iymam.js +1 -0
- package/dist/assets/{VendorsAccountsSection-Cqcr-ArD-CzW5lMfP.js → VendorsAccountsSection-BtdwR8u4-CH_AUGJD.js} +1 -1
- package/dist/assets/{VendorsRoutes-DLnvF6hR.js → VendorsRoutes-DTveFO9E.js} +11 -11
- package/dist/assets/{VerifyDevice-Dhu5iywf-cUES-VE2.js → VerifyDevice-Bhr_yHpE-BmXUueZN.js} +4 -4
- package/dist/assets/{VideoPlayer-ZGjx_Hp7-CjY3r1rL.js → VideoPlayer-wlJX6lEq-BRAB9bV0.js} +1 -1
- package/dist/assets/VideoPopup-BPptwR51-Dm-cn-KD.js +31 -0
- package/dist/assets/{WiseConfirmationScreen-CT86mZ0i.js → WiseConfirmationScreen-Be5nRHHx.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-DQB7sXU9-CZEM5xVV.js → ZeniAccountDetailPage-CSsu44ls-2H7-YqPq.js} +12 -12
- package/dist/assets/{ZeniAccountListViewPage-BwXKgf6g-FfpOzmd6.js → ZeniAccountListViewPage-BZwGCrzx-Hl1cOwI1.js} +32 -32
- package/dist/assets/{ZeniAccountNavBarPieces-CHUTFAWG-v671evv-.js → ZeniAccountNavBarPieces-CrNjnkNS-CNki38NN.js} +5 -5
- package/dist/assets/{ZeniAccountPromoPage-BkfJuMNV-CmI6f_1i.js → ZeniAccountPromoPage-CahV-Rmf-Dvz1FwqA.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-bnzTspvl.js → ZeniAccountRoutes-BMxuBylQ.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-C3drM4Zs-CvpINFn4.js → ZeniAccountSetupPage-DSNDNKZr-CwYlMf2d.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-B5KsFobU.js → ZeniAccountStatementScreen-BJVQBUGi.js} +1 -1
- package/dist/assets/{ZeniAvatar-C38T0-5--BM3XjRcp.js → ZeniAvatar-De0hFvIm-DzjTiqNz.js} +1 -1
- package/dist/assets/{ZeniCopyright-CznSgVJF-BhclYMa4.js → ZeniCopyright-BNGdkMOa-Cl7T_xPz.js} +1 -1
- package/dist/assets/{ZeniDatePicker-Bw9RlgoL-DDQaNsVY.js → ZeniDatePicker-CYNEE0pM-DG-NDcrF.js} +4 -4
- package/dist/assets/{ZeniTransferAmountSlider-C77DEl-C-CYKYiLaT.js → ZeniTransferAmountSlider-DuD1JtSv-DhSBAK_q.js} +1 -1
- package/dist/assets/{accountMappingHelper-B1SwIfFo.js → accountMappingHelper-FrhvxzcW.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-2vbkyqzY.js → add-to-wallet-DgdBD8_G-BqBidt5n.js} +1 -1
- package/dist/assets/{analytics-Qgv3Fhaa.js → analytics-CVqRc8fh.js} +1 -1
- package/dist/assets/{analyticsHelper-CsyUSML_.js → analyticsHelper-DJS6x-LZ.js} +1 -1
- package/dist/assets/{analyticsHelper-Bh8o1v3y-erbhoWbk.js → analyticsHelper-DjQYjslY-BxoS4N1f.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CHgaZ-yo.js → arrow-south-east-round-PEovUgvH-B3QTzBHA.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-BdBsn5Ol.js → auto-transfer-rule-mbafm5D3-de_8OjuK.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-CxU8IzEu.js → avatar-Dz7aEm3d-B-3VAvb3.js} +1 -1
- package/dist/assets/{bank-letter-BOcVjN6J-DhC6VHDB.js → bank-letter-BOcVjN6J-KdddOmyc.js} +1 -1
- package/dist/assets/{calculateSize-QoQyn_Ku-j5kLdf_t.js → calculateSize-i9QGr8q0-Dp5VSL_N.js} +1 -1
- package/dist/assets/{chartTypes-C14YY2Rq-mIXPNQxz.js → chartTypes-BGl-YMiu-DyUWLIfR.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-BBrb7jeK.js → clock-CJkylEKt-CB7HCMZv.js} +1 -1
- package/dist/assets/common-Cws59IN1-fneKv-li.js +1 -0
- package/dist/assets/{commonDimensions-CVpc-NCw-xOjrok2-.js → commonDimensions-CuKo3wam-D08uyy0o.js} +1 -1
- package/dist/assets/{commonTypes-Ec-PxfpT-DZ1xbinn.js → commonTypes-CfAg6Jvv-C_Qjl0Ts.js} +1 -1
- package/dist/assets/{core-CaikJZHD.js → core-AYNw6kyJ.js} +1 -1
- package/dist/assets/{dash.all.min-CteFsaah.js → dash.all.min-Dq_dQY1I.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-DcEFJStp.js → decodeURIComponentSafe-E-sgiudi.js} +1 -1
- package/dist/assets/{dnd-CzsffKNn.js → dnd-Dw-riVE4.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-BF4Thvjs.js → dollar-round-D18u7nlm-CvsBoEut.js} +1 -1
- package/dist/assets/{downloadPdf-BuPJ6cfr-Cy2ZBk4z.js → downloadPdf-Dcd8BY_9--BaRfov1.js} +1 -1
- package/dist/assets/{empty-B5B-FKq1.js → empty-C9c-cai_.js} +1 -1
- package/dist/assets/{empty-CTO6rJhq.js → empty-CX0U2Ty5.js} +1 -1
- package/dist/assets/{epic-DtTDCbBB.js → epic-B6fOiqme.js} +1 -1
- package/dist/assets/{filter-cZIFUNvj-CWbeOwgA.js → filter-cZIFUNvj-lFkn5gVk.js} +1 -1
- package/dist/assets/{getLocaleForTenant-DLrlmQCo.js → getLocaleForTenant-x8J8_kQc.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-BfzCBGHZ.js → gift-box-Cmt9OgIZ-BPwbjUGz.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DEuKmvBU.js → graphic-no-data-l-DU4J8fDt-CaJy2HdS.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CIA_wKU3.js → graphic-no-data-net-burn-l-CzmycA0m-C9pmzSAL.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Z_I5plJl.js → handshake-BPg58FML-BSOSNqUk.js} +1 -1
- package/dist/assets/{helper-AgH8nJln-DNDXfXpF.js → helper-DkzA3y2L-CVdrHzZT.js} +1 -1
- package/dist/assets/{hyperlink-DQyCeXx2-Bwqrw7ES.js → hyperlink-DQyCeXx2-CVVb97aA.js} +1 -1
- package/dist/assets/{index-mhb15COx.js → index-CilRLucN.js} +458 -458
- package/dist/assets/{index-BL34svil.js → index-Dm85Hu6Z.js} +1 -1
- package/dist/assets/{index-B7wRNic7.js → index-DqcXLX0N.js} +1 -1
- package/dist/assets/{index-B9eknY8q.js → index-DubSD1fb.js} +1 -1
- package/dist/assets/{index-CLf01Vy8.js → index-NZat51vK.js} +1 -1
- package/dist/assets/{index-B9myuWEH.js → index-wicPWwlB.js} +1 -1
- package/dist/assets/{lexical-CXNTSpM4.js → lexical-B-dyW3-4.js} +1 -1
- package/dist/assets/{liveblocks--AdozwCz.js → liveblocks-DJcRPJQh.js} +1 -1
- package/dist/assets/{lottie-D86WIi_0.js → lottie-DdLBMmzp.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-DTyQHWMc-BqMSzUiy.js → mapLoadingInProgressToTreeNode-lABm-2N9-Chsh4dr_.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D7pjBGp6-BMY0vZTn.js → mapSectionWithAcOnlyToTreeNode-COcUb2pF-DXYL2e9L.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-BDjo5N-i-D6CiBSSk.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CvVUjW74-CI8ETEqs.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CwHF76sn-CrCtE0Hw.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B7LYTZXQ-Dr2IrdLd.js +1 -0
- package/dist/assets/{media-player-OnsEq_AY.js → media-player-V7uSzi45.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-CfgKOIyt.js → money-2cg1MuG4-B7YE6t0I.js} +1 -1
- package/dist/assets/{mui-G2MlMTlr.js → mui-Ckdcx_YE.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CWJ8fnGp.js → page-detail-CWX5S47F-NqWvakND.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-CaK_VLEF.js → page-summary-D7_VQHwN-BvkWkaoT.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-XfdQwEMM.js → panelSelectedMixin-Cddsb26L-CROMd__p.js} +1 -1
- package/dist/assets/{pathToGoBack-Dh6AhADv.js → pathToGoBack-C_2xxQDe.js} +1 -1
- package/dist/assets/{pdf-DwfifS04.js → pdf-CwWlK-Dr.js} +3 -3
- package/dist/assets/{pdf-lib-CuGtb6jg.js → pdf-lib-DhaWOBih.js} +1 -1
- package/dist/assets/{plaid-CcxzSXZd.js → plaid-BhP6n1uc.js} +1 -1
- package/dist/assets/{pusher-BNSVRSP_.js → pusher-8DhjdTCA.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-CF7OSKL1.js → radio-default-CiSgisfh-BoUlFA9D.js} +1 -1
- package/dist/assets/{react-BEcxr4nX.js → react-BHDcRwxI.js} +1 -1
- package/dist/assets/{react-V3TERlfD.js → react-BwCmpEw6.js} +1 -1
- package/dist/assets/{react-Cobj-_wp.js → react-CB4dPBRZ.js} +3 -3
- package/dist/assets/{react-DOvM9ag3.js → react-CE6422aE.js} +1 -1
- package/dist/assets/{react-Chqt_ss-.js → react-CGVKTtsW.js} +1 -1
- package/dist/assets/{react-BUDcsgZo.js → react-D-APY71d.js} +1 -1
- package/dist/assets/{react-C0Whd_8a.js → react-D4pZVe2B.js} +1 -1
- package/dist/assets/{react-WpjiT9jD.js → react-D_0srhsg.js} +1 -1
- package/dist/assets/{recharts-3tylCZU1.js → recharts-Dr1JzI4y.js} +1 -1
- package/dist/assets/{routePaths-CDVBEe6a.js → routePaths-DqRhLReO.js} +1 -1
- package/dist/assets/{sentry-Cm8I7E9J.js → sentry-D-LCra2M.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-tt-dORuJ.js → shield-DOlUxcFf-D5PHf2Tj.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-d-tIWfnn.js → spend-limit-D6SyboD4-D85B38gI.js} +1 -1
- package/dist/assets/toCOABalancesWithID-CGYYTIjt-Cbihktyj.js +1 -0
- package/dist/assets/{toChartData-G5y-N82I-HPFXqzd4.js → toChartData-B4ligi4c-CgbG1qSk.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-CXIruzlf.js → transaction-placeholder-CpOwZAMG-Ca0HZ2W6.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-5VNbpbUY.js → undo-b_3XZ5CX-CSQ0fDLS.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-8UNw8MhM.js → unlock-BPWn2I5L-DDdPB9QU.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BhCuFTsT.js → upload-reimbursement-receipt-O2N8vcO7-DNsQOTk3.js} +1 -1
- package/dist/assets/{uploadAttachment-RbkIBMGO-BHEoxgsX.js → uploadAttachment-DgPDimcm-gkAtAf5q.js} +1 -1
- package/dist/assets/{uploadReceipts-CIgkuVpu-BPECKX43.js → uploadReceipts-CIgkuVpu-CPDGmbPp.js} +1 -1
- package/dist/assets/{url-CvhemPUG.js → url-BK92KGZc.js} +1 -1
- package/dist/assets/{url-BMzuxPwA.js → url-DUid0IO0.js} +1 -1
- package/dist/assets/{useDeviceId-BzlY8kf5.js → useDeviceId-BCros22l.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-Dldme96o.js → useInitialThreadRequest-Wj3ao3U4.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BgmUYGJ7.js → useLongPress-GCK2COYQ-Bs4IMufW.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BqojtCEK.js → usp-line-BBd1wKwW-BBaxYQlT.js} +1 -1
- package/dist/assets/{utils-BhOlvYO8.js → utils-CI1RvLss.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-DBF40Qih.js → withTransactionSidePanel-CEBXOpSa.js} +1 -1
- package/dist/assets/{zeni-epic-state-lC5X-sam.js → zeni-epic-state-B1zsDZZ4.js} +3 -3
- package/dist/assets/{zeni-icon-only-DZ6h0uLr.js → zeni-icon-only-Bb7XRMgX.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountInfoPage-pEEhPqOb-B-Hd8VtG.js +0 -18
- package/dist/assets/ApAgingDetailPage-CxLVGnpY-BYGcfd1t.js +0 -46
- package/dist/assets/BillPayApprovalRuleDetailPage-Blxlv3pa-BYAGbgwQ.js +0 -27
- package/dist/assets/ChargeCardPromoPage-D4canPX9-CjFFR5oK.js +0 -222
- package/dist/assets/CustomerOnboardingAuthScreen-DO7d0gIb.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--CSEqEIM8.js +0 -1
- package/dist/assets/EntityDetailPage-DPTSSZdS-oHoyHWu0.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-eq8wlXQr-C2vI5jVH.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BcNOhJgL-mWcNcIhr.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Df8XYlkg-bsxOE2QI.js +0 -1
- package/dist/assets/NavBarWithPicker-D2v1fhLS-CGpIi67k.js +0 -30
- package/dist/assets/PandLWithForecastRoutes-CCN_Dopf.js +0 -1
- package/dist/assets/ReferralListScreen-CJqU7RxZ.js +0 -5
- package/dist/assets/ReportsPage-DrjOGopt-xwTAFZ82.js +0 -258
- package/dist/assets/RewardsRoutes-CGI6v1LD.js +0 -1
- package/dist/assets/RoleWithToolTip-CqLxmtj6-Rnjw9i_g.js +0 -22
- package/dist/assets/StatementItem-DjvU5wiI-DmQsj9gw.js +0 -31
- package/dist/assets/SummaryCard-DPOhBmkr-Cv-w5fsm.js +0 -1
- package/dist/assets/TaskRoutes-vmd5uItQ.js +0 -9
- package/dist/assets/TransactionListPage-DNecYY8M-ptahFcY0.js +0 -35
- package/dist/assets/VendorACHDetailsPage-DJ4Crnr0-BgbOpk55.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-WFcOmpiN-DCXCuX-V.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-B8sx02I_-h6qnY29-.js +0 -1
- package/dist/assets/VideoPopup-R3u0N_if-CaG3EJQq.js +0 -31
- package/dist/assets/common-Cu5K0AJk-BihNw_Do.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Cd4FCXAf-C6nWwAzP.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Drhl_lnP-BDA52mbW.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-UsawmMLa-DrvNkcA6.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-DHD18LN5.js +0 -1
- package/dist/assets/toCOABalancesWithID-wh35N3no-2SjovFHm.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as i}from"./pdf-DwfifS04.js";import{j as z,i as ne,h as G,l as V,u as B,N as F,k as H,g as Xe,R as Je,m as E}from"./core-CaikJZHD.js";import{ct as N,LO as ae,bE as se,ye as ve,gW as Ye,LP as et,bm as ie,dp as ke,LQ as tt,I9 as nt,Ia as de,Ib as at,fI as st,L4 as it,fX as rt,y2 as ot,pc as mt,fP as lt,yO as Ae,LR as Ce,LS as ct,LT as ut,LU as dt,LV as pt,yr as bt,LW as gt,yy as pe,g1 as ht,Ld as St,ys as yt,yc as ft,LX as It,yb as Rt,LY as vt,yk as be,yC as kt,yB as At,yx as Ct,yq as Et,LZ as Ee,Dr as Bt,bn as xt,yn as Tt,z4 as wt,L_ as Dt,L$ as jt,yK as Lt,yH as ge,Kz as Ft,y9 as Ut,M0 as Be,zt as he,zB as Mt,M1 as Pt,M2 as _,M3 as _t,M4 as xe,M5 as $t,M6 as Te,M7 as we,yW as Y,bq as Nt,G5 as re,bL as oe,cA as De,cy as je,M8 as Ot,eg as Gt,KM as zt,M9 as Ht,Ma as Le,KQ as Zt,Ly as Wt,Mb as Vt,LN as Kt,zy as Se,zx as qt,Mc as Qt,Md as Xt,Me as Jt,Mf as Yt,Mg as en,Lj as tn,zo as nn,zs as an,bt as sn,FX as rn,FY as on,F5 as mn,F4 as ln,Hb as cn,bM as un,bO as dn,bN as pn,bK as bn}from"./zeni-epic-state-lC5X-sam.js";import{y as K,N as Fe,aE as q,aG as v,js as j,jQ as Z,o as me,bj as Q,jz as k,lA as gn,kv as Ue,jO as $,lB as hn,_ as X,lC as Sn,e as yn,k2 as fn,x as In,J as Me,O as Rn,k9 as vn,l4 as kn,k4 as An,lD as Cn,kc as En}from"./index-mhb15COx.js";import{n as Pe,S as Bn}from"./mui-G2MlMTlr.js";import ee from"./NotFoundScreen-BBbILNsa.js";import{S as ye}from"./SetupPagesScreen-BiJM7znn.js";import{F as _e}from"./FeaturePreviewScreen-CpHWA-St.js";import{a as f}from"./sentry-Cm8I7E9J.js";import{u as $e}from"./useInitialThreadRequest-Dldme96o.js";import{D as xn}from"./DrawerScreen-DtF71b7B.js";import{M as Ne}from"./MobileAppDrawer-D7V2koAX.js";import{R as Tn}from"./ReimbursementApprovalRoutes-BHsHN-u_.js";import{FallBackRoute as wn}from"./ScreenRoutes-B0gKACTz.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./analyticsHelper-CsyUSML_.js";import"./routePaths-CDVBEe6a.js";import"./BusinessVerificationPageScreen-DVGxc_kT.js";import"./ReimbursementApprovalRuleDetailScreen-Bs2ple33.js";import"./getLocaleForTenant-DLrlmQCo.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]="be7e98be-38ba-4610-a70a-6a806e47521a",e._sentryDebugIdIdentifier="sentry-dbid-be7e98be-38ba-4610-a70a-6a806e47521a")}catch{}})();const Oe=e=>`/${e}/reimbursements`,Dn=H(function(e,t){const n=t.currentTenant?.companyId,o=et(e.plaidAccountViewState,"user_reimbursement_account"),l=j.getSignedInUser(),u=ie(l),c=o.plaidConnectionDetails,r=ke(e.companyState,n),a=e.tenantState.currentTenantId,s={userId:l?.userId??"",sessionId:l?.zeniSessionId??"",tenantId:a??""},m=ae(e,t.reimbursementId),d=tt(e,l?.userId??"");let I=`${l?.firstName} ${l?.lastName}`,g=!0;t.reimbursementId!=null&&(I=`${m.createdBy?.firstName??"Zeni"} ${m.createdBy?.lastName??""}`,g=l?.userId===m.createdBy?.userId);const x=e.entityAutoCompleteState?.autoCompleteText?.common,p=nt(e,"common");return{remiDetails:m,uploadInvoiceEndPoint:`${Ue.communicationAgentMicroServiceBaseUrl}`,reimbursementId:t.reimbursementId,customerSearchAutoCompleteData:{autoCompleteText:x,entityAutoCompleteView:p},authParams:s,defaultCurrency:{currencySymbol:r?.company.companyLocaleInfo.currencySymbol??"$",currencyCode:r?.company.companyLocaleInfo.currencyCode??"USD"},companyMileageConfigInfo:r?.company.configInfo.mileageRateConfig,createdBy:I,isUserAdmin:se(t.currentTenant?.userRole??[]),isZeniUser:u,plaidConnectionDetails:c,bankNameByRouting:m.bankNameByRouting,bankAccountCreationState:d.bankAccountCreationState,bankAccounts:d.bankAccounts,analytics:k,bankAccountToCreate:m.bankAccountToCreate,fetchBankNameByRoutingStatus:m.fetchBankNameByRoutingStatus,isSignedInUserReimbursementCreator:g}},function(e,t){const{reimbursementId:n,currentTenant:o,location:l,navigate:u,themeState:c}=t,{tenantEmailDomain:r}=o,a=j.getSignedInUser();return{onReceiptsUpload:(s,m,d)=>{s!=null&&e(Et(s,m,d,n,a?.userId))},onExistingMerchantChange:(s,m)=>{e(be(!1,m,n,s,void 0))},fetchDuplicateReimbursement:()=>{a?.userId!=null&&e(Ct(a.userId,!0,n))},clearDuplicateReimbursementDetail:()=>{e(At())},clearRemiSaveStatus:()=>{e(kt("Not-Started",n))},onDuplicateLineClick:(s,m)=>window.open(`/${r}/reimbursement/${s}#L${m}`),onNewMerchantChange:(s,m)=>{e(be(!1,m,n,void 0,s))},removeFileFromLine:s=>{e(vt({lineId:s,reimbursementId:n}))},onAmountChanged:(s,m)=>{e(Rt(m,s,n))},updateReimbursementType:(s,m,d)=>{e(It({reimbursementId:d,lineId:m,reimbursementType:s}))},onHomeCurrencyConversionUpdate:(s,m,d)=>{e(ft({reimbursementId:d,lineId:m,amountPayload:{amount:s.amount,currency_code:s.currencyCode,currency_symbol:s.currencySymbol}}))},onReimbursementDetailsChanged:s=>{e(yt({remiDetailLocalData:s,reimbursementId:n}))},saveRemiDetails:s=>{e(pe(s,!1,n))},onUserBankDetailsUpdated:s=>{const{bankAccountSection:m}=s;e(St({data:m}))},onFetchBankName:s=>{e(ht(s))},submitRemiDetails:()=>{e(pe("pending_approval",!0,n))},discardReimbursementDetailsFromLocalStore:s=>{e(gt({reimbursementId:s}))},updateInvoiceUploadFetchState:s=>{e(bt({reimbursementId:n,fetchState:s}))},clearTentativeNameForLine:s=>{e(pt({reimbursementId:n,lineId:s}))},removeDuplicateReimbursementForLine:s=>{e(dt({lineId:s}))},onZeniLogoClick:()=>{c.toggle()},clearAddRemiAutoFields:s=>{e(ut({reimbursementId:n,lineId:s}))},redirectToReimbursementListScreen:()=>{e(Ce()),e(ct());const s=Oe(r),m=$(l.state?.pathnameStackToGoBack,l.pathname);u(s,{state:{pathnameStackToGoBack:m}})},redirectToReimbursementDetailScreen:()=>{t.navigate("../")},deleteReimbursement:()=>{n!=null&&(k.trackReimbursementDeleteReimbursement(n),e(Ae(n)))},onSaveBankAccount:()=>{a?.userId&&e(lt(a?.userId,n))},onFetchLinkTokenClick:s=>{e(mt("user_reimbursement_account",s))},onEstablishConnectionClick:s=>{e(ot(s,o.companyId,"user_reimbursement_account",void 0,"link_account_no_microdeposit"))},deleteBankAccount:s=>{e(rt(s,a?.userId??""))},onBackClickFromBankAccountPage:()=>{e(st({fetchState:"Not-Started"})),e(it())},customerSearchAutoCompleteActions:{onAutoCompleteInputChange:(s,m)=>{s.trim().length>=2?e(at({searchString:s,entityType:m,searchOrigin:"common"})):e(de("common"))},onCancelAutoComplete:()=>{e(de("common"))}}}})(gn);function fe(){const e=z(),t=ne(),n=G(),{reimbursementId:o}=V(),l=K(),u=Fe(),{useFeatureGate:c}=q(),{isFeatureEnabled:r}=c(v.isLimitedCategoryForReimbursement),{isFeatureEnabled:a}=c(v.isShowDeletedReimbursementsFeatureEnabled),{isFeatureEnabled:s}=c(v.isReimbursementCommentingEnabled),m=G().pathname,d=m.includes("edit"),I=m.includes("reimbursement/new"),[g,x]=f.useState(!1),p=j.getSignedInUser(),A=B(h=>N(h)),b=B(h=>ae(h,o)),y=$e(A?.companyId,{clearParams:b.fetchState==="Completed"}),T=se(A?.userRole??[]);f.useEffect(()=>{(I&&!g||d&&b.fetchState!="Completed"&&b.fetchState!="In-Progress")&&(x(!0),t(ve(!1,r,a,o)))});const R=B(h=>Ye(h.accountState,h.accountListState,"reimbursementAccountList"));if(p==null)throw Error("Can't access address page without signing in...");const w={pathname:`../${o}`,search:n.search};return b.isDeleted===!0||b.billStage=="paid"||b.billStage=="scheduled"||b.fetchState=="Not-Started"||T&&b.billStatus==="rejected"||T===!1&&b.billStage==="pending_approval"&&b.billStatus!=="rejected"?i.jsx(F,{to:w}):b.deleteStatus.fetchState==="In-Progress"||b.fetchState!=="Completed"?i.jsx(Z,{style:{backgroundColor:l.colors.grey5,boxShadow:`0px 2px ${me.sp1} ${l.colors.dropShadowNormal}`},fetchState:b.deleteStatus.fetchState}):i.jsxs(i.Fragment,{children:[i.jsx(Q,{analytics:k,onLoad:h=>(D=>{o!=null&&b.deleteStatus.fetchState!=="Completed"&&D.trackReimbursementEditReimbursement(o)})(h)}),i.jsx(Dn,{initialOpenThreadRequest:y??void 0,isReimbursementCommentingEnabled:s,location:n,navigate:e,currentTenant:A,reimbursementId:o,themeState:u,uncategorizedAccounts:R})]})}const jn=H(function(e,t){const n=Ee(e,t.reimbursementId),o=j.getSignedInUser(),l=ie(o),u=e.tenantState.currentTenantId,c={userId:o?.userId??"",sessionId:o?.zeniSessionId??"",tenantId:u??""},r=`${n.createdBy?.firstName??"Zeni"} ${n.createdBy?.lastName??""}`;let a=!1;n?.remiActivities.length>0&&(a=Dt(n.remiActivities,jt(t.currentTenant),o));const s=se(t.currentTenant?.userRole??[]),m=o?.userId===n.createdBy?.userId;return{remiDetails:n,uploadInvoiceEndPoint:`${Ue.communicationAgentMicroServiceBaseUrl}`,authParams:c,signedInUser:o,createdBy:r,isRealTimeApprovalEnabled:t.isRealTimeApprovalEnabled,isAdmin:s,showApproveRejectBtns:a,isZeniUser:l,isSignedInUserReimbursementCreator:m}},function(e,t){const{reimbursementId:n,currentTenant:o,location:l,navigate:u,themeState:c}=t,{tenantEmailDomain:r}=o;return{onDuplicateLineClick:(a,s)=>window.open(`/${r}/reimbursement/${a}#L${s}`),redirectToReimbursementListScreen:()=>{e(Ce());const a=Oe(r),s=$(l.state?.pathnameStackToGoBack,l.pathname);u(a,{state:{pathnameStackToGoBack:s}})},onSaveRealTimeApprovals:a=>{e(Ut(n,"reimbursement",a))},updateEditRealTimeApproverClicked:a=>{e(Ft({isEdit:a,entityId:n,entityType:"reimbursement"}))},approveOrRejectRemi:a=>{a.type==="approved"?e(ge(n,a.type,"")):e(ge(n,a.type,a.description??""))},redirectToEditableReimbursementScreen:()=>{const a=$(l.state?.pathnameStackToGoBack,l.pathname);u("./edit",{state:{pathnameStackToGoBack:a}})},deleteReimbursement:()=>{k.trackReimbursementDeleteReimbursement(n),e(Ae(n))},cancelAndDeleteReport:a=>{a===!0?k.trackReimbursementCancelAndDeleteReimbursement(n):k.trackReimbursementCancelReimbursement(n),e(Lt(n,a))},handleZeniLogoClick:()=>{c.toggle()}}})(hn);function Ln(){const e=z(),t=ne(),n=G(),o=n.hash.substring(1),l=Fe(),{reimbursementId:u}=V(),c=j.getSignedInUser(),r=B(C=>N(C)),a=B(C=>Ee(C,u??"")),s=a.remiDetails?.reimbursementInfo.stage.code==="draft",m=$e(r?.companyId,{clearParams:a.fetchState==="Completed"&&!s}),{useFeatureGate:d}=q(),{isFeatureEnabled:I}=d(v.isLimitedCategoryForReimbursement),[g,x]=f.useState(!1),[p,A]=f.useState(!1),[b,y]=f.useState(!1),{isFeatureEnabled:T}=d(v.isReimbursementCommentingEnabled),{isFeatureEnabled:R}=d(v.isShowDeletedReimbursementsFeatureEnabled),w=B(C=>ae(C,u??"")),h=K(),D=Bt(r),P=xt(r.userRole),L=a.fetchState;if(f.useEffect(()=>{g||u==null?g==1&&L==="Error"&&e("page-not-found",{replace:!0}):(x(!0),t(Tt(u,!1,R)))},[g,u,t,L]),f.useEffect(()=>{R&&a.remiDetails?.isDeleted===!0||r.isZeni===!0&&c?.userEmailDomain==="zeni.ai"&&D===!1?y(!1):y(a.remiActivities[0]?.isRealTimeApprovalEnabled&&(P||a.allApprovers.find(C=>C.user.userId===c?.userId)!=null||a.remiDetails?.lastUpdatedBy===c?.userId))},[a.remiActivities[0]?.isRealTimeApprovalEnabled,a.allApprovers,a.remiDetails?.lastUpdatedBy,P,r.isZeni,D,c]),f.useEffect(()=>{p||a.fetchState!="Completed"||a.remiDetails?.reimbursementInfo.stage.code=="paid"||a.remiDetails?.reimbursementInfo.stage.code=="scheduled"||w.fetchState=="Completed"||w.fetchState=="In-Progress"||(A(!0),t(ve(!1,I,R,u)),a.remiActivities[0]?.isRealTimeApprovalEnabled===!0&&t(wt(!1,!0,!0,a.lastUpdatedByUserId)))},[p,a,u,t]),c==null)throw Error("Can't access address page without signing in...");return a.remiDetails?.reimbursementInfo.stage.code=="draft"&&w.fetchState=="Completed"&&a.remiDetails.isDeleted===!1?i.jsx(F,{to:`./edit${n.search}`}):a.deleteStatus.fetchState==="In-Progress"||a.cancelAndDeleteStatus.fetchState==="In-Progress"||a.remiDetails?.reimbursementInfo.stage.code=="draft"&&w.fetchState!="Completed"||a.fetchState!="Completed"?i.jsx(Z,{fetchState:a.deleteStatus.fetchState,style:{backgroundColor:h.colors.grey5,boxShadow:`0px 2px ${me.sp1} ${h.colors.dropShadowNormal}`}}):i.jsxs(i.Fragment,{children:[i.jsx(Q,{analytics:k,onLoad:C=>(O=>{u!=null&&O.trackReimbursementReimbursementDetails(u)})(C)}),i.jsx(jn,{initialOpenThreadRequest:m??void 0,scrollId:o,isReimbursementCommentingEnabled:T,isShowDeletedReimbursementEnabled:R,location:n,navigate:e,isRealTimeApprovalEnabled:b,currentTenant:r,reimbursementId:u??"",themeState:l})]})}const Fn=H(function(e,t){return{remisReviewView:Be(e),analytics:t.analytics}},function(e,t){return{onCloseOverlay:()=>{t.navigate("./"),e(_())},onCloseReviewItem:n=>{e(Pt(n))},onProceedForBulkActionClick:(n,o)=>{switch(n){case"send_for_approval":e(Mt());break;case"approve":e(he("approved",o??""));break;case"reject":e(he("rejected",o??""))}}}})(Sn);function Un(){const e=z(),t=B(u=>u.remisBulkActionViewState.bulkSubmissionFetchState.fetchState),{remisForReview:n}=B(u=>Be(u)),o=X(),l=o?.loggedInUserRole?.includes("admin")===!0;return f.useEffect(()=>{t!=="Completed"&&n.length!==0||e("./")},[t,n.length]),i.jsx(Fn,{navigate:e,analytics:k,isAdmin:l})}const M=Zt(),Ge="bulk-operation-update",te="reimbursement-approval-rule-update",{spendManagement:Mn,common:Ie}=Rn.getLocalizedStrings(),Re=Mn.reimbursement.bulkActions,Pn=Pe.div`
|
|
1
|
+
import{j as i}from"./pdf-CwWlK-Dr.js";import{j as z,i as ne,h as G,l as V,u as B,N as F,k as H,g as Xe,R as Je,m as E}from"./core-AYNw6kyJ.js";import{ct as N,LO as ae,bE as se,ye as ke,gW as Ye,LP as et,bm as ie,dp as ve,LQ as tt,I9 as nt,Ia as de,Ib as at,fI as st,L4 as it,fX as rt,y2 as ot,pc as mt,fP as lt,yO as Ae,LR as Ce,LS as ct,LT as ut,LU as dt,LV as pt,yr as bt,LW as gt,yy as pe,g1 as ht,Ld as St,ys as ft,yc as yt,LX as It,yb as Rt,LY as kt,yk as be,yC as vt,yB as At,yx as Ct,yq as Et,LZ as Ee,Dr as Bt,bn as xt,yn as Tt,z4 as wt,L_ as Dt,L$ as jt,yK as Lt,yH as ge,Kz as Ft,y9 as Ut,M0 as Be,zt as he,zB as Mt,M1 as Pt,M2 as _,M3 as _t,M4 as xe,M5 as $t,M6 as Te,M7 as we,yW as Y,bq as Nt,G5 as re,bL as oe,cA as De,cy as je,M8 as Ot,eg as Gt,KM as zt,M9 as Ht,Ma as Le,KQ as Zt,Ly as Wt,Mb as Vt,LN as Kt,zy as Se,zx as qt,Mc as Qt,Md as Xt,Me as Jt,Mf as Yt,Mg as en,Lj as tn,zo as nn,zs as an,bt as sn,FX as rn,FY as on,F5 as mn,F4 as ln,Hb as cn,bM as un,bO as dn,bN as pn,bK as bn}from"./zeni-epic-state-B1zsDZZ4.js";import{y as K,N as Fe,aE as q,aG as k,js as j,jQ as Z,o as me,bk as Q,jz as v,lA as gn,kv as Ue,jO as $,lB as hn,_ as X,lC as Sn,e as fn,k2 as yn,x as In,J as Me,O as Rn,k9 as kn,l4 as vn,k4 as An,lD as Cn,kc as En}from"./index-CilRLucN.js";import{n as Pe,S as Bn}from"./mui-Ckdcx_YE.js";import ee from"./NotFoundScreen-YeCuKQy4.js";import{S as fe}from"./SetupPagesScreen-DXJ1IvhH.js";import{F as _e}from"./FeaturePreviewScreen-D5VxTq6D.js";import{a as y}from"./sentry-D-LCra2M.js";import{u as $e}from"./useInitialThreadRequest-Wj3ao3U4.js";import{D as xn}from"./DrawerScreen-DDmYCdH3.js";import{M as Ne}from"./MobileAppDrawer-BRK9r0e2.js";import{R as Tn}from"./ReimbursementApprovalRoutes-CoADYXXE.js";import{FallBackRoute as wn}from"./ScreenRoutes-BEfnlKLo.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";import"./analyticsHelper-DJS6x-LZ.js";import"./routePaths-DqRhLReO.js";import"./BusinessVerificationPageScreen-C9kI0BR_.js";import"./ReimbursementApprovalRuleDetailScreen-Bqm6EOL1.js";import"./getLocaleForTenant-x8J8_kQc.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]="e3fb9552-8662-4f9a-b5d2-3372c361d0d3",e._sentryDebugIdIdentifier="sentry-dbid-e3fb9552-8662-4f9a-b5d2-3372c361d0d3")}catch{}})();const Oe=e=>`/${e}/reimbursements`,Dn=H(function(e,t){const n=t.currentTenant?.companyId,o=et(e.plaidAccountViewState,"user_reimbursement_account"),l=j.getSignedInUser(),u=ie(l),c=o.plaidConnectionDetails,r=ve(e.companyState,n),a=e.tenantState.currentTenantId,s={userId:l?.userId??"",sessionId:l?.zeniSessionId??"",tenantId:a??""},m=ae(e,t.reimbursementId),d=tt(e,l?.userId??"");let I=`${l?.firstName} ${l?.lastName}`,g=!0;t.reimbursementId!=null&&(I=`${m.createdBy?.firstName??"Zeni"} ${m.createdBy?.lastName??""}`,g=l?.userId===m.createdBy?.userId);const x=e.entityAutoCompleteState?.autoCompleteText?.common,p=nt(e,"common");return{remiDetails:m,uploadInvoiceEndPoint:`${Ue.communicationAgentMicroServiceBaseUrl}`,reimbursementId:t.reimbursementId,customerSearchAutoCompleteData:{autoCompleteText:x,entityAutoCompleteView:p},authParams:s,defaultCurrency:{currencySymbol:r?.company.companyLocaleInfo.currencySymbol??"$",currencyCode:r?.company.companyLocaleInfo.currencyCode??"USD"},companyMileageConfigInfo:r?.company.configInfo.mileageRateConfig,createdBy:I,isUserAdmin:se(t.currentTenant?.userRole??[]),isZeniUser:u,plaidConnectionDetails:c,bankNameByRouting:m.bankNameByRouting,bankAccountCreationState:d.bankAccountCreationState,bankAccounts:d.bankAccounts,analytics:v,bankAccountToCreate:m.bankAccountToCreate,fetchBankNameByRoutingStatus:m.fetchBankNameByRoutingStatus,isSignedInUserReimbursementCreator:g}},function(e,t){const{reimbursementId:n,currentTenant:o,location:l,navigate:u,themeState:c}=t,{tenantEmailDomain:r}=o,a=j.getSignedInUser();return{onReceiptsUpload:(s,m,d)=>{s!=null&&e(Et(s,m,d,n,a?.userId))},onExistingMerchantChange:(s,m)=>{e(be(!1,m,n,s,void 0))},fetchDuplicateReimbursement:()=>{a?.userId!=null&&e(Ct(a.userId,!0,n))},clearDuplicateReimbursementDetail:()=>{e(At())},clearRemiSaveStatus:()=>{e(vt("Not-Started",n))},onDuplicateLineClick:(s,m)=>window.open(`/${r}/reimbursement/${s}#L${m}`),onNewMerchantChange:(s,m)=>{e(be(!1,m,n,void 0,s))},removeFileFromLine:s=>{e(kt({lineId:s,reimbursementId:n}))},onAmountChanged:(s,m)=>{e(Rt(m,s,n))},updateReimbursementType:(s,m,d)=>{e(It({reimbursementId:d,lineId:m,reimbursementType:s}))},onHomeCurrencyConversionUpdate:(s,m,d)=>{e(yt({reimbursementId:d,lineId:m,amountPayload:{amount:s.amount,currency_code:s.currencyCode,currency_symbol:s.currencySymbol}}))},onReimbursementDetailsChanged:s=>{e(ft({remiDetailLocalData:s,reimbursementId:n}))},saveRemiDetails:s=>{e(pe(s,!1,n))},onUserBankDetailsUpdated:s=>{const{bankAccountSection:m}=s;e(St({data:m}))},onFetchBankName:s=>{e(ht(s))},submitRemiDetails:()=>{e(pe("pending_approval",!0,n))},discardReimbursementDetailsFromLocalStore:s=>{e(gt({reimbursementId:s}))},updateInvoiceUploadFetchState:s=>{e(bt({reimbursementId:n,fetchState:s}))},clearTentativeNameForLine:s=>{e(pt({reimbursementId:n,lineId:s}))},removeDuplicateReimbursementForLine:s=>{e(dt({lineId:s}))},onZeniLogoClick:()=>{c.toggle()},clearAddRemiAutoFields:s=>{e(ut({reimbursementId:n,lineId:s}))},redirectToReimbursementListScreen:()=>{e(Ce()),e(ct());const s=Oe(r),m=$(l.state?.pathnameStackToGoBack,l.pathname);u(s,{state:{pathnameStackToGoBack:m}})},redirectToReimbursementDetailScreen:()=>{t.navigate("../")},deleteReimbursement:()=>{n!=null&&(v.trackReimbursementDeleteReimbursement(n),e(Ae(n)))},onSaveBankAccount:()=>{a?.userId&&e(lt(a?.userId,n))},onFetchLinkTokenClick:s=>{e(mt("user_reimbursement_account",s))},onEstablishConnectionClick:s=>{e(ot(s,o.companyId,"user_reimbursement_account",void 0,"link_account_no_microdeposit"))},deleteBankAccount:s=>{e(rt(s,a?.userId??""))},onBackClickFromBankAccountPage:()=>{e(st({fetchState:"Not-Started"})),e(it())},customerSearchAutoCompleteActions:{onAutoCompleteInputChange:(s,m)=>{s.trim().length>=2?e(at({searchString:s,entityType:m,searchOrigin:"common"})):e(de("common"))},onCancelAutoComplete:()=>{e(de("common"))}}}})(gn);function ye(){const e=z(),t=ne(),n=G(),{reimbursementId:o}=V(),l=K(),u=Fe(),{useFeatureGate:c}=q(),{isFeatureEnabled:r}=c(k.isLimitedCategoryForReimbursement),{isFeatureEnabled:a}=c(k.isShowDeletedReimbursementsFeatureEnabled),{isFeatureEnabled:s}=c(k.isReimbursementCommentingEnabled),m=G().pathname,d=m.includes("edit"),I=m.includes("reimbursement/new"),[g,x]=y.useState(!1),p=j.getSignedInUser(),A=B(h=>N(h)),b=B(h=>ae(h,o)),f=$e(A?.companyId,{clearParams:b.fetchState==="Completed"}),T=se(A?.userRole??[]);y.useEffect(()=>{(I&&!g||d&&b.fetchState!="Completed"&&b.fetchState!="In-Progress")&&(x(!0),t(ke(!1,r,a,o)))});const R=B(h=>Ye(h.accountState,h.accountListState,"reimbursementAccountList"));if(p==null)throw Error("Can't access address page without signing in...");const w={pathname:`../${o}`,search:n.search};return b.isDeleted===!0||b.billStage=="paid"||b.billStage=="scheduled"||b.fetchState=="Not-Started"||T&&b.billStatus==="rejected"||T===!1&&b.billStage==="pending_approval"&&b.billStatus!=="rejected"?i.jsx(F,{to:w}):b.deleteStatus.fetchState==="In-Progress"||b.fetchState!=="Completed"?i.jsx(Z,{style:{backgroundColor:l.colors.grey5,boxShadow:`0px 2px ${me.sp1} ${l.colors.dropShadowNormal}`},fetchState:b.deleteStatus.fetchState}):i.jsxs(i.Fragment,{children:[i.jsx(Q,{analytics:v,onLoad:h=>(D=>{o!=null&&b.deleteStatus.fetchState!=="Completed"&&D.trackReimbursementEditReimbursement(o)})(h)}),i.jsx(Dn,{initialOpenThreadRequest:f??void 0,isReimbursementCommentingEnabled:s,location:n,navigate:e,currentTenant:A,reimbursementId:o,themeState:u,uncategorizedAccounts:R})]})}const jn=H(function(e,t){const n=Ee(e,t.reimbursementId),o=j.getSignedInUser(),l=ie(o),u=e.tenantState.currentTenantId,c={userId:o?.userId??"",sessionId:o?.zeniSessionId??"",tenantId:u??""},r=`${n.createdBy?.firstName??"Zeni"} ${n.createdBy?.lastName??""}`;let a=!1;n?.remiActivities.length>0&&(a=Dt(n.remiActivities,jt(t.currentTenant),o));const s=se(t.currentTenant?.userRole??[]),m=o?.userId===n.createdBy?.userId;return{remiDetails:n,uploadInvoiceEndPoint:`${Ue.communicationAgentMicroServiceBaseUrl}`,authParams:c,signedInUser:o,createdBy:r,isRealTimeApprovalEnabled:t.isRealTimeApprovalEnabled,isAdmin:s,showApproveRejectBtns:a,isZeniUser:l,isSignedInUserReimbursementCreator:m}},function(e,t){const{reimbursementId:n,currentTenant:o,location:l,navigate:u,themeState:c}=t,{tenantEmailDomain:r}=o;return{onDuplicateLineClick:(a,s)=>window.open(`/${r}/reimbursement/${a}#L${s}`),redirectToReimbursementListScreen:()=>{e(Ce());const a=Oe(r),s=$(l.state?.pathnameStackToGoBack,l.pathname);u(a,{state:{pathnameStackToGoBack:s}})},onSaveRealTimeApprovals:a=>{e(Ut(n,"reimbursement",a))},updateEditRealTimeApproverClicked:a=>{e(Ft({isEdit:a,entityId:n,entityType:"reimbursement"}))},approveOrRejectRemi:a=>{a.type==="approved"?e(ge(n,a.type,"")):e(ge(n,a.type,a.description??""))},redirectToEditableReimbursementScreen:()=>{const a=$(l.state?.pathnameStackToGoBack,l.pathname);u("./edit",{state:{pathnameStackToGoBack:a}})},deleteReimbursement:()=>{v.trackReimbursementDeleteReimbursement(n),e(Ae(n))},cancelAndDeleteReport:a=>{a===!0?v.trackReimbursementCancelAndDeleteReimbursement(n):v.trackReimbursementCancelReimbursement(n),e(Lt(n,a))},handleZeniLogoClick:()=>{c.toggle()}}})(hn);function Ln(){const e=z(),t=ne(),n=G(),o=n.hash.substring(1),l=Fe(),{reimbursementId:u}=V(),c=j.getSignedInUser(),r=B(C=>N(C)),a=B(C=>Ee(C,u??"")),s=a.remiDetails?.reimbursementInfo.stage.code==="draft",m=$e(r?.companyId,{clearParams:a.fetchState==="Completed"&&!s}),{useFeatureGate:d}=q(),{isFeatureEnabled:I}=d(k.isLimitedCategoryForReimbursement),[g,x]=y.useState(!1),[p,A]=y.useState(!1),[b,f]=y.useState(!1),{isFeatureEnabled:T}=d(k.isReimbursementCommentingEnabled),{isFeatureEnabled:R}=d(k.isShowDeletedReimbursementsFeatureEnabled),w=B(C=>ae(C,u??"")),h=K(),D=Bt(r),P=xt(r.userRole),L=a.fetchState;if(y.useEffect(()=>{g||u==null?g==1&&L==="Error"&&e("page-not-found",{replace:!0}):(x(!0),t(Tt(u,!1,R)))},[g,u,t,L]),y.useEffect(()=>{R&&a.remiDetails?.isDeleted===!0||r.isZeni===!0&&c?.userEmailDomain==="zeni.ai"&&D===!1?f(!1):f(a.remiActivities[0]?.isRealTimeApprovalEnabled&&(P||a.allApprovers.find(C=>C.user.userId===c?.userId)!=null||a.remiDetails?.lastUpdatedBy===c?.userId))},[a.remiActivities[0]?.isRealTimeApprovalEnabled,a.allApprovers,a.remiDetails?.lastUpdatedBy,P,r.isZeni,D,c]),y.useEffect(()=>{p||a.fetchState!="Completed"||a.remiDetails?.reimbursementInfo.stage.code=="paid"||a.remiDetails?.reimbursementInfo.stage.code=="scheduled"||w.fetchState=="Completed"||w.fetchState=="In-Progress"||(A(!0),t(ke(!1,I,R,u)),a.remiActivities[0]?.isRealTimeApprovalEnabled===!0&&t(wt(!1,!0,!0,a.lastUpdatedByUserId)))},[p,a,u,t]),c==null)throw Error("Can't access address page without signing in...");return a.remiDetails?.reimbursementInfo.stage.code=="draft"&&w.fetchState=="Completed"&&a.remiDetails.isDeleted===!1?i.jsx(F,{to:`./edit${n.search}`}):a.deleteStatus.fetchState==="In-Progress"||a.cancelAndDeleteStatus.fetchState==="In-Progress"||a.remiDetails?.reimbursementInfo.stage.code=="draft"&&w.fetchState!="Completed"||a.fetchState!="Completed"?i.jsx(Z,{fetchState:a.deleteStatus.fetchState,style:{backgroundColor:h.colors.grey5,boxShadow:`0px 2px ${me.sp1} ${h.colors.dropShadowNormal}`}}):i.jsxs(i.Fragment,{children:[i.jsx(Q,{analytics:v,onLoad:C=>(O=>{u!=null&&O.trackReimbursementReimbursementDetails(u)})(C)}),i.jsx(jn,{initialOpenThreadRequest:m??void 0,scrollId:o,isReimbursementCommentingEnabled:T,isShowDeletedReimbursementEnabled:R,location:n,navigate:e,isRealTimeApprovalEnabled:b,currentTenant:r,reimbursementId:u??"",themeState:l})]})}const Fn=H(function(e,t){return{remisReviewView:Be(e),analytics:t.analytics}},function(e,t){return{onCloseOverlay:()=>{t.navigate("./"),e(_())},onCloseReviewItem:n=>{e(Pt(n))},onProceedForBulkActionClick:(n,o)=>{switch(n){case"send_for_approval":e(Mt());break;case"approve":e(he("approved",o??""));break;case"reject":e(he("rejected",o??""))}}}})(Sn);function Un(){const e=z(),t=B(u=>u.remisBulkActionViewState.bulkSubmissionFetchState.fetchState),{remisForReview:n}=B(u=>Be(u)),o=X(),l=o?.loggedInUserRole?.includes("admin")===!0;return y.useEffect(()=>{t!=="Completed"&&n.length!==0||e("./")},[t,n.length]),i.jsx(Fn,{navigate:e,analytics:v,isAdmin:l})}const M=Zt(),Ge="bulk-operation-update",te="reimbursement-approval-rule-update",{spendManagement:Mn,common:Ie}=Rn.getLocalizedStrings(),Re=Mn.reimbursement.bulkActions,Pn=Pe.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
width: 100%;
|
|
@@ -6,8 +6,8 @@ import{j as i}from"./pdf-DwfifS04.js";import{j as z,i as ne,h as G,l as V,u as B
|
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
align-items: center;
|
|
8
8
|
background-color: ${e=>e.theme.colors.grey4};
|
|
9
|
-
`,_n=H(function(e,t){const n=we(e,M,t.isBulkActionEnabled);let o=n.allSubTabs;const l=j.getSignedInUser(),u=ie(l),c=e.tenantState.currentTenantId,r=N(e),a=r?.companyName??"",s={userId:l?.userId??"",sessionId:l?.zeniSessionId??"",tenantId:c??""},m=e.remiListState.downloadUIState.downloadState;t.isShowDeletedReimbursementEnabled===!1&&(o=o.filter(g=>g!=="deleted"));const d=n.fetchState,I=Wt(e);return{transactionList:t.isShowDeletedReimbursementEnabled?n.reimbursements:n.reimbursements.filter(g=>g.isDeleted===!1),isAdmin:t.isAdmin,isZeniUser:u,isBillPayCommentingEnabled:t.isBillPayCommentingEnabled,isReimbursementCommentingEnabled:t.isReimbursementCommentingEnabled,allSubTabs:o,isEmployee:t.isEmployee,currentTab:n.currentTab,currentSubTab:n.currentSubTab,approvalCount:n.approvalCount,fetchState:d,botEmail:n.reimbursementBotEmail,analytics:
|
|
9
|
+
`,_n=H(function(e,t){const n=we(e,M,t.isBulkActionEnabled);let o=n.allSubTabs;const l=j.getSignedInUser(),u=ie(l),c=e.tenantState.currentTenantId,r=N(e),a=r?.companyName??"",s={userId:l?.userId??"",sessionId:l?.zeniSessionId??"",tenantId:c??""},m=e.remiListState.downloadUIState.downloadState;t.isShowDeletedReimbursementEnabled===!1&&(o=o.filter(g=>g!=="deleted"));const d=n.fetchState,I=Wt(e);return{transactionList:t.isShowDeletedReimbursementEnabled?n.reimbursements:n.reimbursements.filter(g=>g.isDeleted===!1),isAdmin:t.isAdmin,isZeniUser:u,isBillPayCommentingEnabled:t.isBillPayCommentingEnabled,isReimbursementCommentingEnabled:t.isReimbursementCommentingEnabled,allSubTabs:o,isEmployee:t.isEmployee,currentTab:n.currentTab,currentSubTab:n.currentSubTab,approvalCount:n.approvalCount,fetchState:d,botEmail:n.reimbursementBotEmail,analytics:v,uiState:n.uiState,searchText:n.searchText,filters:n.filters,downloadParams:{authParams:s,companyName:a,timePeriod:M,spendManagementEndPoint:`${An}/spendManagement`,isShowDeletedBillsEnabled:t.isShowDeletedBillsEnabled,isShowDeletedReimbursementEnabled:t.isShowDeletedReimbursementEnabled},downloadState:m,isBulkActionAllowed:n.remiListBulkActionInfo?.isBulkActionAllowed,transactionsSelectedForBulkAction:n.remiListBulkActionInfo?.remisSelectedForBulkAction,allowedBulkActions:n.remiListBulkActionInfo?.allowedBulkActions,remiApprovalRulesAffectedEntityIds:I.affectedEntityIds}},function(e,t){const{navigate:n,currentTenant:o,location:l,period:u}=t,{tenantEmailDomain:c}=o;return{updateTabToState:r=>{e(_()),e(xe(r))},onSubtabChange:r=>{e(_()),e(Te(r))},onTransactionClick:(r,a)=>{const s=On(c,r,a),m=$(l.state?.pathnameStackToGoBack,l.pathname);n(s,{state:{pathnameStackToGoBack:m}})},onClickSetupIcon:()=>{const r=Nn(c),a=$(l.state?.pathnameStackToGoBack,l.pathname);n(r,{state:{pathnameStackToGoBack:a}})},onAddTransactionClick:()=>{const{tenantEmailDomain:r}=t.currentTenant;v?.trackReimbursementNewReimbursement();const a=`/${r}/reimbursement/new`,s=$(t.location.state?.pathnameStackToGoBack,t.location.pathname);t.navigate(a,{state:{pathnameStackToGoBack:s}})},onColumnSortConfigChanged:(r,a)=>{e(en({uiState:{sortKey:r,sortOrder:a},period:t.period}))},onSearchTextChanged:r=>{e(Yt(r))},onFiltersChange:r=>{e(Jt({filters:r})),r.categories.every(a=>a.field!=null&&a.values?.length!==0)&&v.trackSpendManagmentFilterChange("reimbursement",r.categories.map(a=>`${a.field}-${JSON.stringify(a.values)}`))},updateDownloadStateHandler:r=>{r==="In-Progress"&&v.trackSpendManagementDownloadClick("reimbursement"),e(Xt({uiState:{downloadState:r}}))},onReloadTransactions:()=>{e(Y(u,!0,t.isShowDeletedReimbursementEnabled,!1,!0))},onBackClick:()=>{n("../",{relative:"path"})},onNavigateToSettings:()=>{n("../reimbursements/setup")},updateBulkActionList:r=>{e(Qt(r))},removeAllTransactionsFromBulkActionList:()=>{e(_())},onProceedForBulkActionClick:(r,a)=>{switch(r){case"delete":case"cancel":e(qt(r,a??""));break;case"send_for_approval":e(Se("send_for_approval")),t.navigate("./bulk-review");break;case"review":e(Se("approve")),t.navigate("./bulk-review")}},onReimbursementApprovalRulesEventReceived:r=>{r.endsWith(te)&&e(Kt(!1))},onEventReceived:r=>{r===Ge&&e(Vt())}}})(kn(vn));function $n(){const e=z(),t=ne(),n=G(),o=n.state,l=fn(),[u,c]=y.useState(null),r=Xe("/:tenantEmailDomain/reimbursements/bulk-review")!=null;y.useEffect(()=>{if(o?.tab!=null&&o?.subTab!=null){const S=_t(o.tab.toString());S!=null?t(xe(S)):console.log("Warning:Not a valid remiListTab");const U=$t(o.subTab.toString());U!=null?t(Te(U)):console.log("Warning:Not a valid remiListSubTab")}return()=>{t(_())}},[]);const{useFeatureGate:a}=q(),{isFeatureEnabled:s}=a(k.isShowDeletedBillsFeatureEnabled),{isFeatureEnabled:m}=a(k.isShowDeletedReimbursementsFeatureEnabled),{isFeatureEnabled:d}=a(k.isBillPayCommentingEnabled),{isFeatureEnabled:I}=a(k.isReimbursementCommentingEnabled),{isFeatureEnabled:g}=a(k.isReimbursementBulkActionEnabled),x=j.getSignedInUser(),p=B(S=>N(S)),[A,b]=y.useState(!1),[f,T]=y.useState(!1),R=X(),w=R?.loggedInUserRole?.includes("admin")===!0,h=B(S=>we(S,M,g)),{areTenantIdsInSync:D}=yn(),P=h.fetchState;if(y.useEffect(()=>{!f&&D&&(T(!0),t(Y(M,!0,m,!1,!0)))},[f,M,t,D]),x==null)throw Error("Can't access address page without signing in...");const L=!!p?.userRole&&Nt(p),C=re(R?.loggedInUserRoleMap),O=oe(R?.loggedInUserRoleMap),J=!!p.userReimbursementInfo?.isReimbursementTOSAccepted,ze=!!p.companyReimbursementInfo?.info?.isReimbursementEnabled,He=!!p.companyReimbursementInfo?.info?.isReimbursementTOSAccepted,Ze=B(S=>ve(S.companyState,p.companyId)),We=Ze?.company.featuresActivationInfo.connectedAccountProvider,le=S=>{b(S)},{isFeatureEnabled:Ve}=a(k.isDebitCardFeatureEnabled),Ke=De(Ve,p),qe=je(p),{remisProcessed:W,remisProcessing:ce}=B(S=>Ot(S));y.useEffect(()=>{W===ce&&u!=null&&(t(Gt({messageSection:"reimbursement_bulk_processed",messageText:"success",type:"success",showStatusIcon:!0,variables:[{variableName:"_report_",variableValue:W>1?Re.reports:Re.report},{variableName:"_has_",variableValue:W>1?Ie.texts.have:Ie.texts.has},{variableName:"_action_",variableValue:zt(u)}]})),t(Ht()),setTimeout(()=>{t(Y(M,!0,m,!1,!0,!0))},3e3),c(null))},[W,ce]);const Qe={events:p.companyId!=null?[`private-${p.companyId}.${Ge}`,`private-${p.companyId}.${te}`]:[],eventCallback:(S,U,ue)=>{S.endsWith(te)?ue.onReimbursementApprovalRulesEventReceived?.(S):U.entity_type==="reimbursement"&&(c(U.operation_type),ue.onEventReceived(S))}};return n.pathname.endsWith("/reimbursements/")||n.pathname.endsWith("/reimbursements")||n.pathname.endsWith("/reimbursements/bulk-review")?Ke===!0||qe===!0?i.jsx(_e,{}):ze&&(!L||C)||O&&J?i.jsxs(i.Fragment,{children:[P==="Completed"?i.jsx(Q,{analytics:v,onLoad:S=>(U=>U.trackPageLoaded(Me.Event.reimbursementHome))(S)}):null,i.jsx(Ne,{isAppContentDrawerOpen:A,handleDrawerToggle:le}),i.jsxs(Pn,{windowSize:l,children:[i.jsx(xn,{isOpen:r,drawerLeftMargin:new In(0,0,300,600),onClose:()=>{e("./"),t(_())},children:i.jsx(Gn,{onClick:S=>S.stopPropagation(),children:i.jsx(Un,{})})}),i.jsx(_n,{isShowDeletedBillsEnabled:s,isShowDeletedReimbursementEnabled:m,isBillPayCommentingEnabled:d,isReimbursementCommentingEnabled:I,location:n,navigate:e,currentTenant:p,period:M,isAdmin:w,isEmployee:L,entity:"reimbursement",onClickMenuIcon:()=>{le(!0)},createdByUserList:h.createdByUserList,createdByUserListFetchState:h.createdByUserListFetchState,isDownloadEnabled:h.isDownloadEnabled,connectedAccountProvider:We,isBulkActionEnabled:g,bulkSubmissionLimit:h.remiBulkSubmissionLimit,bulkSubmissionFetchState:h.remiListBulkActionInfo.bulkSubmissionFetchState,...Qe})]})]}):He&&C?i.jsx(F,{to:"../setup"}):R!=null&&Le(p,R.loggedInUserRoleMap)?i.jsx(F,{to:"../promo"}):i.jsx(Z,{fetchState:"In-Progress"}):i.jsx(ee,{})}const Nn=e=>`/${e}/reimbursements/setup`,On=(e,t,n)=>{let o=`/${e}/reimbursement/${encodeURIComponent(t)}`;return n=="draft"&&(o+="/edit"),o},Gn=Pe(Bn)`
|
|
10
10
|
display: flex;
|
|
11
11
|
min-height: 100%;
|
|
12
12
|
flex-direction: column;
|
|
13
|
-
`,zn=H(function(e,t){const{companyId:n}=t;return{reimbursementSetupView:tn(e,n),analytics:
|
|
13
|
+
`,zn=H(function(e,t){const{companyId:n}=t;return{reimbursementSetupView:tn(e,n),analytics:v,meetingUrl:"https://meetings.hubspot.com/niharn/demo-reimbursements?embed=true",videoUrl:"https://player.vimeo.com/video/814821498?h=e7fd11e13e&badge=0&autopause=0&player_id=0&app_id=122963"}},function(e,t){const{companyId:n,navigate:o}=t;return{onSetupButtonClick:()=>{e(an(n))},onCreateNewRemiButtonClick:()=>{e(nn(t.userRoleId))},onBackClick:()=>{o("../..",{relative:"path"})},onSetupReimbursementSuccess:()=>{t.isEmployee?o("../../reimbursement/new",{relative:"path"}):o("../reimbursements/setup",{relative:"path"})}}})(Cn),Hn=()=>{const e=z(),t=G(),{tenantEmailDomain:n}=V(),o=K(),[l,u]=y.useState(!1),c=B(f=>N(f)),r=j.getSignedInUserTenant(n)?.companyId??c.companyId,a=j.getSignedInUser(),s=c.userRoleId,m=!!c.userRole?.includes("reimbursements_user"),d=X(),I=re(d?.loggedInUserRoleMap),g=oe(d?.loggedInUserRoleMap),x=!!c.userReimbursementInfo?.isReimbursementTOSAccepted,p=!!c.companyReimbursementInfo?.info?.isReimbursementEnabled,A=!!c.companyReimbursementInfo?.info?.isReimbursementTOSAccepted,b=f=>{u(f)};if(a==null)throw Error("Can't access reimbursement promo page without signing in...");return p&&g&&x?i.jsx(F,{to:"../../../reimbursements"}):A&&I?i.jsx(F,{to:"../../reimbursements/setup"}):c.companyReimbursementInfo&&!A||c.userReimbursementInfo&&g&&x===!1?i.jsxs(i.Fragment,{children:[i.jsx(Q,{analytics:v,onLoad:f=>(T=>T.trackPageLoaded(Me.Event.reimbursementPromoPage))(f)}),i.jsx(Ne,{isAppContentDrawerOpen:l,handleDrawerToggle:b}),i.jsx(zn,{companyId:r,navigate:e,location:t,userReimbursementInfo:c.userReimbursementInfo,userRoleId:s,isEmployee:m,onClickMenuIcon:()=>{b(!0)}})]}):i.jsx(Z,{fetchState:"In-Progress",style:{backgroundColor:o.colors.grey5}})};function Sa(){const e=B(J=>N(J)),t=X(),n=!!e.company?.companyReimbursementInfo.isReimbursementEnabled,o=K(),l=!!e.company?.companyReimbursementInfo.isReimbursementTOSAccepted,u=!!e.userReimbursementInfo?.isReimbursementTOSAccepted,{useFeatureGate:c}=q(),{isFeatureEnabled:r}=c(k.isChargeCardFeatureEnabled),{isFeatureEnabled:a}=c(k.isDebitCardFeatureEnabled),s=De(a,e),m=je(e),d=e?.userRole!=null&&sn(e?.userRole),I=(e?.company==null||e.company.featuresActivationInfo?.isBillPayFeatureEnabled&&!d)&&rn(t?.loggedInUserRoleMap),g=on(t?.loggedInUserRoleMap),x=e?.company==null||e.company.featuresActivationInfo?.isReimbursementFeatureEnabled&&!d,p=re(t?.loggedInUserRoleMap),A=x&&p,{isFeatureEnabled:b}=c(k.isDepositAccountsFeatureEnabled),f=b&&!d&&mn(t?.loggedInUserRoleMap),T=En(e,r,a)&&!d&&ln(t?.loggedInUserRoleMap),R=cn(t?.loggedInUserRoleMap),w=un(t?.loggedInUserRoleMap),h=dn(t?.loggedInUserRoleMap),D=pn(t?.loggedInUserRoleMap),P=bn(t?.loggedInUserRoleMap),L=oe(t?.loggedInUserRoleMap),{tenantEmailDomain:C}=V(),O=n===!0&&(p||L&&u);return i.jsxs(Je,{children:[location.pathname.includes("/reimbursements")?i.jsxs(i.Fragment,{children:[i.jsx(E,{path:"verification",element:i.jsx(fe,{isBillPayAdminLevelAccess:I,isUserHasOnlyBillPayAccess:g,isReimbursementAdminLevelAccess:A,isZeniAccountAdminLevelAccess:f,isChargeCardAdminLevelAccess:T,isUserHasOnlyCardAccess:R,productType:"reimbursement",type:"verification"})}),i.jsx(E,{path:"setup",element:i.jsx(fe,{isBillPayAdminLevelAccess:I,isUserHasOnlyBillPayAccess:g,isReimbursementAdminLevelAccess:A,isZeniAccountAdminLevelAccess:f,isChargeCardAdminLevelAccess:T,isUserHasOnlyCardAccess:R,productType:"reimbursement",type:"setup"})}),i.jsx(E,{path:"promo",element:i.jsx(Hn,{})}),i.jsx(E,{path:"approval-rules/*",element:A?i.jsx(Tn,{}):i.jsx(wn,{isUserHasZeniAccountsAccess:w,isUserHasChargeCardAccess:D,isUserHasBillPayAccess:P,isUserHasReimbursementAccess:L,isUserHasTreasuryAccess:h,isTenantBankingOnly:s,tenantEmailDomain:C??""})}),O&&i.jsx(E,{path:"*",element:i.jsx($n,{})}),(s===!0||m===!0)&&i.jsx(E,{path:"/*",element:i.jsx(_e,{})}),t!=null&&Le(e,t?.loggedInUserRoleMap)&&i.jsx(E,{path:"*",element:i.jsx(F,{to:"../promo"})}),l&&p&&i.jsx(E,{path:"*",element:i.jsx(F,{to:"../setup"})})]}):location.pathname.includes("/reimbursement")?i.jsxs(i.Fragment,{children:[i.jsx(E,{path:"new",element:i.jsx(ye,{})}),i.jsx(E,{path:":reimbursementId",element:i.jsx(Ln,{})}),i.jsx(E,{path:":reimbursementId/edit",element:i.jsx(ye,{})}),i.jsx(E,{path:"*",element:i.jsx(ee,{})})]}):i.jsx(E,{path:"*",element:i.jsx(Z,{fetchState:"In-Progress",style:{backgroundColor:o.colors.grey5,boxShadow:`0px 2px ${me.sp1} ${o.colors.dropShadowNormal}`}})}),i.jsx(E,{path:"*",element:i.jsx(ee,{})})]})}export{Sa as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as Le,e as Ve,a7 as O,T as Ge,c8 as Ze,O as Me,ad as $e,V as i,eI as Je,f as q,x as s,a_ as Xe,L as Ye,A as Ke,eZ as Pe,de as Qe,e_ as ei,aU as ii,d4 as ti,a9 as ni,o as a,f0 as oi,m as n,bH as ai,cc as li,dX as si,f8 as Ae,f9 as je,fH as ri,a as ci,b as Ie,d as De,b8 as di,C as ui,aR as mi}from"./index-
|
|
1
|
+
import{y as Le,e as Ve,a7 as O,T as Ge,c8 as Ze,O as Me,ad as $e,V as i,eI as Je,f as q,x as s,a_ as Xe,L as Ye,A as Ke,eZ as Pe,de as Qe,e_ as ei,aU as ii,d4 as ti,a9 as ni,o as a,f0 as oi,m as n,bH as ai,cc as li,dX as si,f8 as Ae,f9 as je,fH as ri,a as ci,b as Ie,d as De,b8 as di,C as ui,aR as mi}from"./index-CilRLucN.js";import{a as o}from"./sentry-D-LCra2M.js";import{n as t}from"./mui-Ckdcx_YE.js";import{cg as pi}from"./zeni-epic-state-B1zsDZZ4.js";import{g as gi}from"./UploadAdditionalDocumentOverlay-DWmMz_8y-Dm_NzTDF.js";import"./pdf-CwWlK-Dr.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="f6d64804-0242-46d5-b64e-fb8600566626",e._sentryDebugIdIdentifier="sentry-dbid-f6d64804-0242-46d5-b64e-fb8600566626")}catch{}})();const hi=e=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M12.7113 3H2.89261C2.39963 3 2 3.39963 2 3.89261V20.8522C2 21.3451 2.39963 21.7448 2.89261 21.7448H12.7113C13.2043 21.7448 13.6039 21.3451 13.6039 20.8522V3.89261C13.6039 3.39963 13.2043 3 12.7113 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M10.4798 13.7113H9.58719C9.3407 13.7113 9.14088 13.9111 9.14088 14.1576V16.8354C9.14088 17.0819 9.3407 17.2817 9.58719 17.2817H10.4798C10.7263 17.2817 10.9261 17.0819 10.9261 16.8354V14.1576C10.9261 13.9111 10.7263 13.7113 10.4798 13.7113Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M21.6374 16.1133C21.6374 16.1961 21.6143 16.2773 21.5708 16.3477C21.5273 16.4182 21.4651 16.4752 21.391 16.5123L19.8522 17.2817V14.6039H21.1911C21.3095 14.6039 21.423 14.6509 21.5067 14.7346C21.5904 14.8183 21.6374 14.9318 21.6374 15.0502V16.1133Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 14.6039V13.265C19.8522 12.5268 22.53 10.1409 22.53 10.1409",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 17.2817V19.9596C19.8522 20.433 19.6641 20.8871 19.3293 21.2219C18.9945 21.5567 18.5404 21.7448 18.067 21.7448C17.5935 21.7448 17.1394 21.5567 16.8046 21.2219C16.4698 20.8871 16.2817 20.433 16.2817 19.9596V7.90935C16.2817 7.55424 16.1407 7.21369 15.8896 6.96259C15.6385 6.7115 15.2979 6.57043 14.9428 6.57043H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M2 10.1409H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M11.3724 4.78528H4.23154C3.98505 4.78528 3.78523 4.9851 3.78523 5.23158V7.90941C3.78523 8.15589 3.98505 8.35571 4.23154 8.35571H11.3724C11.6189 8.35571 11.8187 8.15589 11.8187 7.90941V5.23158C11.8187 4.9851 11.6189 4.78528 11.3724 4.78528Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M9.14088 19.0669H10.9261",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),h={sectionWidth:new s(343,580,726),iconContainerMaxWidthHeight:new s(n[6],n[7]),iconContainerMarginRight:new s(12,n[3]),infoLabelPaddingLeft:new s(n[0],n[3]),iconPadding:new s(10,12),iconWidthHeight:new s(20,n[4]),rowGap:new s(n[2],n[3]),containerPadding:new s(n[3],n[4])},pe={title:new De("standardSemiBold","largeSemiBold"),infoLabel:new De("extraSmallRegular","smallRegular")};function fi({companyMileageConfigInfo:e,mileageDetails:m,analytics:$,style:A,sectionId:P,isActive:d=!0,isDisabled:r,onSaveMileageClick:G}){const l=Ve(),j=Le(),{formState:{errors:Z},trigger:J}=li(),I=xi(P,"mileageAmountInDenomination"),f=si(Z,I),{localData:c,updateStatus:z,mileageStatus:b}=m,R=e?.denominationConversions.amount==null||e.denominationConversions.amount!==c?.mileageAmountInDenomination,{commonSetUp:X,spendManagement:Y}=Me.getLocalizedStrings(),{reimbursement:K}=Y,[C,D]=o.useState(R),[Q,U]=o.useState(!1);o.useEffect(()=>{f||J(I)},[]),o.useEffect(()=>{e?.denominationConversions.amount!=null&&e.denominationConversions.amount===c?.mileageAmountInDenomination&&D(!1)},[e?.denominationConversions.amount]),o.useEffect(()=>{C||U(C)},[C]);const{reimbursementSetup:x}=K,{setUp:ee}=X,ie=C===!1||z.fetchState==="In-Progress"?"readonly":r,te=c&&c?.denominationSymbol?`${c?.denominationSymbol} `:"",ne=c&&c?.mileageUnit?c?.mileageUnit:"";return i.jsxs(yi,{windowSize:l,style:A,isActive:d&&r==null,children:[i.jsxs(Ai,{windowSize:l,children:[x.mileageHeader,d===!1?i.jsx(Di,{children:ee.comingSoon}):null]}),i.jsxs($i,{windowSize:l,children:[i.jsx(ki,{windowSize:l,isDarkMode:j.mode==="dark",children:i.jsx(hi,{width:h.iconWidthHeight.valuePx(l),height:h.iconWidthHeight.valuePx(l)})}),i.jsxs(wi,{children:[i.jsxs(Pi,{children:[i.jsxs(ji,{children:[i.jsxs(Ii,{children:[i.jsx(Ci,{windowSize:l,children:e?.denominationConversions.amount==null?x.mileageAddTitle:x.mileageEditTitle}),i.jsx(Si,{children:x.mileageSubTitle})]}),b!=null&&e?.denominationConversions.amount!=null&&l==="small"?i.jsx(Ae,{style:{width:"max-content",padding:a.sp0,marginTop:a.sp2},tagTitle:b.name,textColor:je(b.code)}):null]}),i.jsxs(bi,{children:[b!=null&&e?.denominationConversions.amount!=null&&l!=="small"?i.jsx(Ae,{style:{width:"max-content"},tagTitle:b.name,textColor:je(b.code)}):null,i.jsx(vi,{})]})]}),i.jsxs(Ei,{children:[i.jsxs(Ti,{children:[i.jsx(ri,{style:{height:a.sp6,textAlign:"left"},inputStyle:{textAlign:"left",paddingRight:a.sp10,backgroundColor:f?void 0:j.colors.background,color:C||f?void 0:j.colors.grey1},isFieldError:f,type:"number",autoFocus:!1,focus:Q,name:I,defaultValue:c?.mileageAmountInDenomination,returnValueType:"floatValue",allowEmptyFormatting:!0,prefix:te,suffix:` ${x.perText} ${ne}`,decimalScale:1,allowNegative:!1,isNumericString:!1,registerOptions:{min:1,validate:E=>E!=null||r!=null,required:r==null},isDisabled:ie}),i.jsx(Vi,{children:C?i.jsx(ci,{label:x.save,"data-testid":Ie("save-mileage"),onClick:()=>{c?.mileageAmountInDenomination!=null&&R&&!f&&G?.(c.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:r!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:z.fetchState==="In-Progress"}):i.jsx(Mi,{isDisabled:r,"data-testid":Ie("edit-mileage"),onClick:E=>{E.stopPropagation(),D(!0),U(!0),$.trackReimbursementMileageRateEdit()}})})]}),c?.description!=null?i.jsx(Li,{size:l,hasError:f,children:f&&e?.defaultMileageUnitAmount!=null?x.yourMileage.replace("__defaultMileageUnitAmount__",(100*e.defaultMileageUnitAmount).toString()):c.description}):null]})]})]})]})}const xi=(e,m)=>`${e}.${m}`,yi=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
pointer-events: ${e=>e.isLoading===!0||e.isActive===!1?"none":"initial"};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as V,fm as M,V as _,bR as W,bS as z,bT as
|
|
1
|
+
import{_ as V,fm as M,V as _,bR as W,bS as z,bT as G,iU as K,ag as q,O as H}from"./index-CilRLucN.js";import{a as b}from"./sentry-D-LCra2M.js";import{GK as J}from"./zeni-epic-state-B1zsDZZ4.js";import{u as Q}from"./ReviewOverlay-ClQg7d2j-DMLhTFSB.js";import"./pdf-CwWlK-Dr.js";import"./core-AYNw6kyJ.js";import"./mui-Ckdcx_YE.js";import"./recharts-Dr1JzI4y.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.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]="ead3cd3d-8256-4a5b-8559-90dd37798fc5",e._sentryDebugIdIdentifier="sentry-dbid-ead3cd3d-8256-4a5b-8559-90dd37798fc5")}catch{}})();const{common:a,spendManagement:{reimbursement:B}}=H.getLocalizedStrings(),n=B.bulkActions;let R;const _e=({remisReviewView:e,isAdmin:o,analytics:s,onProceedForBulkActionClick:d,onCloseReviewItem:m,onCloseOverlay:t})=>{const{fetchState:i,bulkSubmissionFetchState:l,bulkOperationTypeSelected:r,currentTab:f,currentSubTab:g}=e,y=!1,T=V(),p=M(T),[v,u]=b.useState(!1),[h,A]=b.useState(P(e,y,o,p)),[w,D]=b.useState(y),[j,Z]=b.useState(0),[S,F]=b.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});b.useEffect(()=>(j===h.length&&w&&(D(!1),clearInterval(R)),e.fetchState==="Completed"&&A(P(e,!1,o,p)),()=>{clearInterval(R)}),[h.length,j,w,e.fetchState,y,e,o,p]);const $=h.length,x=h.filter(c=>c.reviewStatus.code!=="error").length,E={onOkClick:c=>{u(!1);const I=e.remisForReview.map(k=>k.reimbursement);s.trackReimbursementBulkPopupConfirm(r,f,g,J(I.map(k=>k?.reimbursementTypesIncluded??[]))),d("reject",c)},onCancelClick:()=>{u(!1)}},{title:O,description:U}=Y(i,x,$,w),C=e.fetchState==="Completed"&&x===0,L=()=>{s.trackReimbursementBulkSubmit(r,f,g),d(r)},N={label:r==="send_for_approval"?a.texts.goBack:a.footer.reject,isDisabled:r!=="reject"&&l==="In-Progress",isLoading:r==="reject"&&l==="In-Progress",reverseSpinnerColor:!1,onClick:r==="send_for_approval"?t:()=>{const{title:c,description:I}=X(x);F({type:"reject",title:c,description:I,primaryButtonText:a.texts.confirm,secondaryButtonText:a.texts.close}),s.trackReimbursementBulkSubmit(r,f,g),u(!0)},style:r==="approve"?{minWidth:"92px"}:{}};return _.jsxs(_.Fragment,{children:[v?_.jsx(W,{titleComponent:_.jsx(G,{children:S.title}),descriptionComponent:_.jsx(z,{children:S.description}),primaryButtonText:S.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:S.secondaryButtonText,action:E,isNotesIncluded:!0,isEditPopup:!0}):null,_.jsx(Q,{title:O,description:{content:U,isError:e.fetchState==="Completed"&&x===0},reviewItems:h,onCloseReviewItem:m,onCloseOverlay:t,showFooter:e.fetchState==="Completed"&&!w,footerProps:{primaryButton:(()=>{let c=a.footer.approve;return C?c=a.texts.close:r==="send_for_approval"&&(c=a.footer.submit),{label:c,isDisabled:i!=="Completed"||r==="reject"&&l==="In-Progress",isLoading:l==="In-Progress"&&(r==="send_for_approval"||r==="approve"),onClick:C?t:L,style:r==="send_for_approval"?{minWidth:"92px"}:{}}})(),cancelButton:N,hideCancel:C}})]})},P=(e,o,s,d)=>{const m=e.fetchState==="In-Progress";return e.remisForReview.map(t=>{const i=K(s,t.submittedBy,d);return{id:t.transactionId,leftSideText:{title:t.reimbursement?.reportTitle!=null?t.reimbursement.reportTitle:B.reimbursementDetail.newReimbursementTitle,subTitle:i!=null?`${a.by} ${i?.firstName} ${i?.lastName}`:a.strings.empty},rightSideText:{title:q("0,0.[00]",t.reimbursement?.amount?.amount,t.reimbursement?.amount?.currencySymbol),showThunderIcon:!1,subTitle:t.reviewInfoMessage??""},reviewStatus:{isLoading:m,code:t.reviewStatus??""}}})},X=e=>{const{this_:o,these:s,report:d,reports:m,payment:t,payments:i}=a.texts;return e>1?{title:n.popUps.reject.title.replace("__report__",n.reports),description:n.popUps.reject.description.replaceAll("<_this_>",s).replaceAll("<_payment_>",i).replaceAll("__report__",m)}:{title:n.popUps.reject.title.replace("__report__",n.report),description:n.popUps.reject.description.replaceAll("<_this_>",o).replaceAll("<_payment_>",t).replaceAll("__report__",d)}},Y=(e,o,s,d)=>{const{has:m,have:t,report:i,reports:l,are:r,is:f,do_:g,does:y}=a.texts,T=o>1,p=s>1;let v="",u="";return e!=="Completed"||d?(v=n.reviewPage.reportsReviewing.title.replace("__report__",p?l:i),u=n.reviewPage.reportsReviewing.description.replace("__report__",p?l:i)):(v=n.reviewPage.reportsReviewed.title.replace("__report__",p?B.bulkActions.reports:n.report).replace("<_has_>",p?t:m),u=o===0?n.reviewPage.reportsReviewed.descriptionError.replace("__report__",p?l:i).replace("<_do_>",p?g:y):`${o}/${s} ${n.reviewPage.reportsReviewed.description.replace("__report__",s>1?l:i).replace("<_is_>",T?r:f)}`),{title:v,description:u}};export{_e as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as h,V as r,a4 as a,an as f,am as m,O as y,b as j,aa as l,b0 as g,C as u,o as c}from"./index-
|
|
1
|
+
import{y as h,V as r,a4 as a,an as f,am as m,O as y,b as j,aa as l,b0 as g,C as u,o as c}from"./index-CilRLucN.js";import{n as s}from"./mui-Ckdcx_YE.js";import{a as d}from"./sentry-D-LCra2M.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]="db413ffe-96a3-45e6-a289-13f06584e962",e._sentryDebugIdIdentifier="sentry-dbid-db413ffe-96a3-45e6-a289-13f06584e962")}catch{}})();function w({backgroundColor:e,foregroundColor:o,animated:t,width:n,height:i}){return r.jsxs(g,{speed:2,width:n,height:i,viewBox:`0 0 ${n} ${i}`,animate:t!=0,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"64",y:"0",rx:"4",ry:"4",width:""+(n-128),height:"21"}),r.jsx("rect",{x:"24",y:"45",rx:"4",ry:"4",width:""+(n-48),height:"228"})]})}function p({backgroundColor:e,foregroundColor:o,animated:t}){return r.jsxs(g,{speed:2,width:240,height:98,viewBox:"0 0 240 98",animate:t!=0,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"66",y:"0",rx:"4",ry:"4",width:"108",height:"21"}),r.jsx("rect",{x:"44",y:"77",rx:"4",ry:"4",width:"152",height:"21"}),r.jsx("rect",{x:"0",y:"29",rx:"4",ry:"4",width:"240",height:"40"})]})}const x=s(l)`
|
|
2
2
|
justify-content: flex-start;
|
|
3
3
|
`;function E({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx(p,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o})})})}function T({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx("div",{style:{width:"100%",height:"100%"},children:r.jsx(f,{children:({height:n,width:i})=>r.jsx(w,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o,width:i,height:n})})})})})}const C=s(l)`
|
|
4
4
|
justify-content: space-between;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as X,e as de,bF as fe,T as be,V as t,k as xe,bG as te,A as ye,x as S,a9 as _e,o as r,bH as we,H as he,O as ee,bI as $e,C as ve,S as Q,b0 as
|
|
1
|
+
import{y as X,e as de,bF as fe,T as be,V as t,k as xe,bG as te,A as ye,x as S,a9 as _e,o as r,bH as we,H as he,O as ee,bI as $e,C as ve,S as Q,b0 as ke,m,ad as Ce,bJ as je,bK as Ne,bL as Ie,l as Se,$ as Oe}from"./index-CilRLucN.js";import{a as u,b as ue}from"./sentry-D-LCra2M.js";import{n as h}from"./mui-Ckdcx_YE.js";import{t as O,n as De}from"./CollapsableReportTable-ClHwXtCj-BfwfqIOK.js";import{t as Pe}from"./filter-cZIFUNvj-lFkn5gVk.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="fea25ce3-2b9c-40e5-ad49-0d3bcbc47a73",e._sentryDebugIdIdentifier="sentry-dbid-fea25ce3-2b9c-40e5-ad49-0d3bcbc47a73")}catch{}})();const z=ee.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat,Te=e=>({this_period:{start_date:e.thisPeriod.startDate.format(z),end_date:e.thisPeriod.endDate.format(z)},number_of_periods:e.numberOfPeriods,order_by:e.orderBy}),Fe=e=>e!=null?{start_date:e.startDate.format(z),end_date:e.endDate.format(z)}:void 0;async function ro(e,i,n){const s=ee.getLocalizedStrings().downloadReport,l=`${e}?query=${encodeURIComponent(JSON.stringify(function(o){return{locale_id:o.localeId,show_negative_amount_in_parenthesis:o.showNegativeAmountInParenthesis,filter_accounts_with_nil_balances:o.filterAccountsWithNilBalances,filter_account_groups_with_nil_balances:o.filterAccountGroupsWithNilBalances,include_cover_page:o.includeCoverPage,company_name:o.companyName,statement_file_type:o.statementFileType,statements:o.statements,first_month_of_fy:o.firstMonthOfFY,book_close_date:o.bookCloseDate!=null?o.bookCloseDate.format(z):void 0,timeframe:o.timeframe,additional_balances:o.additionalBalances,format:o.format,balances_filter:Te(o.balancesFilter),account_view_mode:o.accountViewMode,classes_to_filter_out:o.classesToFilterOut,data_available:Fe(o.dataAvailable),is_zeni_coa_used:o.isZeniCOAUsed,class_view_layout:o.accountViewMode==="classes"?o.classViewLayout:void 0}}(n)))}`;try{const o=await je({urlEndPoint:l,authParams:i,fileType:n.statementFileType});if(o.ok){const y=Ne(o.headers,s.defaultFileName),_=await o.arrayBuffer();Ie(_,y)}else console.error(`${s.reportErrorMessage} ${o.statusText}`)}catch(o){console.error(`${s.reportErrorMessage} ${JSON.stringify(o)}`)}}const Be=h.div`
|
|
2
2
|
padding: 0 ${r.sp3} 0 ${r.sp3};
|
|
3
3
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
4
4
|
background: ${e=>e.theme.colors.grey5};
|
|
@@ -20,16 +20,16 @@ import{y as X,e as de,bF as fe,T as be,V as t,k as xe,bG as te,A as ye,x as S,a9
|
|
|
20
20
|
:hover {
|
|
21
21
|
color: ${e=>e.theme.colors.primary};
|
|
22
22
|
}
|
|
23
|
-
`,Ee=ue.memo(e=>{const{value:i,onClick:n}=e,s=X();return t.jsxs(Be,{onClick:n,children:[t.jsx(Le,{style:{color:s.colors.primary},children:i}),t.jsx(Ae,{})]})});function Me({backgroundColor:e,foregroundColor:i,animated:n,width:s,height:l}){return t.jsxs(
|
|
23
|
+
`,Ee=ue.memo(e=>{const{value:i,onClick:n}=e,s=X();return t.jsxs(Be,{onClick:n,children:[t.jsx(Le,{style:{color:s.colors.primary},children:i}),t.jsx(Ae,{})]})});function Me({backgroundColor:e,foregroundColor:i,animated:n,width:s,height:l}){return t.jsxs(ke,{speed:2,width:s,height:l,viewBox:`0 0 ${s} ${l}`,animate:n!=0,backgroundColor:e,foregroundColor:i,style:{marginBottom:r.sp2},children:[t.jsx("rect",{x:"45",y:m[3],rx:"5",ry:"5",width:"120",height:m[4]}),t.jsx("rect",{x:"45",y:m[8],rx:"5",ry:"5",width:"120",height:m[4]}),t.jsx("rect",{x:"45",y:"96",rx:"5",ry:"5",width:"120",height:m[4]}),t.jsx("rect",{x:"45",y:"136",rx:"5",ry:"5",width:"120",height:m[4]})]})}function pe({nestedClass:e,isLastNode:i,config:n,parentNodeIDs:s}){const l=O("checkbox_and_name_only",[],e.classId[0]),o={children:[],id:l,isLastNode:i,reportElementData:{element:{kind:"checkbox_and_name_only",title:e.className,data:e,numOfBalances:0},config:n}};return o.children=e.children.map((y,_)=>pe({nestedClass:y,config:n,isLastNode:_===e.children.length-1,parentNodeIDs:[...s,l]})),o}function He(e,i){const n=e.map((s,l)=>{const o=O("checkbox_and_name_only",[],s.classId[0]),y={children:[],id:o,isLastNode:s.children.length!==0,reportElementData:{element:{kind:"checkbox_and_name_only",title:s.className,data:s,numOfBalances:0},config:i}},_=s.children.map(D=>pe({nestedClass:D,config:i,isLastNode:l===s.children.length-1,parentNodeIDs:[o]}));return y.children.push(..._),y});return{config:i,headerNodes:[],contentNodes:[...n]}}function Re(e,i){Object.assign(e.config,i);const n=e.contentNodes;return n.forEach(s=>me(s,i)),{config:i,headerNodes:[],contentNodes:[...n]}}function me(e,i){Object.assign(e.reportElementData.config,i),e.children.forEach(n=>me(n,i))}const se={contentPaddingLeft:new S(m[3],m[3],m[2]),contentPaddingRight:new S(m[3],m[3],m[2])},Ve=h.div`
|
|
24
24
|
height: ${e=>e.height}px;
|
|
25
25
|
width: 100%;
|
|
26
|
-
`,
|
|
26
|
+
`,C={width:new S(350,400,400),height:new S(165,165,165),buttonWidth:new S(62,62),buttonHeight:new S(m[5],m[5]),containerWidth:new S(150,400,400)},ze=h.div`
|
|
27
27
|
position: relative;
|
|
28
28
|
pointer-events: ${e=>e.isDisabled===!0?"none":"initial"};
|
|
29
29
|
`,We=h.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
flex-direction: column;
|
|
32
|
-
width: ${e=>
|
|
32
|
+
width: ${e=>C.containerWidth.valuePx(e.windowSize)};
|
|
33
33
|
`,Ye=h(we)`
|
|
34
34
|
display: flex;
|
|
35
35
|
flex-direction: row;
|
|
@@ -148,4 +148,4 @@ import{y as X,e as de,bF as fe,T as be,V as t,k as xe,bG as te,A as ye,x as S,a9
|
|
|
148
148
|
margin-left: ${r.sp5};
|
|
149
149
|
margin-top: -12px;
|
|
150
150
|
color: ${e=>e.theme.colors.hero};
|
|
151
|
-
`,{reportViewSelector:I,common:{footer:ie}}=ee.getLocalizedStrings(),le="tableViewSelector",ce=e=>`${e}_form`;function io({reportId:e,firstMonthOfFY:i,nodes:n,classesListFetchState:s,selectedView:l,classesToBeFilteredOut:o,showClassAccountNumber:y,onOpenAccountViewMode:_,onSaveClick:D,isClassViewDisabled:J,downloadPage:B,showAccountGroups:L=!0,onResyncReports:U,isPageFetchInProgress:P=!1,lastRefreshSuccessTime:w}){const A=X(),b=de(),[E,M]=u.useState(!1),[g,H]=u.useState(l),[T,j]=u.useState({}),R=(a,p)=>(a.forEach(x=>{p.push(x.classId),p=R(x.children,p)}),p),F=R(n,[]),[
|
|
151
|
+
`,{reportViewSelector:I,common:{footer:ie}}=ee.getLocalizedStrings(),le="tableViewSelector",ce=e=>`${e}_form`;function io({reportId:e,firstMonthOfFY:i,nodes:n,classesListFetchState:s,selectedView:l,classesToBeFilteredOut:o,showClassAccountNumber:y,onOpenAccountViewMode:_,onSaveClick:D,isClassViewDisabled:J,downloadPage:B,showAccountGroups:L=!0,onResyncReports:U,isPageFetchInProgress:P=!1,lastRefreshSuccessTime:w}){const A=X(),b=de(),[E,M]=u.useState(!1),[g,H]=u.useState(l),[T,j]=u.useState({}),R=(a,p)=>(a.forEach(x=>{p.push(x.classId),p=R(x.children,p)}),p),F=R(n,[]),[k,$]=u.useState(g==="classes"?o:F),W=s!=="Completed"||g==="classes"&&k.length===F.length,Y=u.useRef(!1),[q,d]=u.useState(!1),c=u.useRef(a=>{a&&!Y.current&&(Y.current=!0,d(!0))});fe({componentName:`reports.${e}`,enabled:q});const f=a=>a==="classes"?I.classes.label:L===!0?I.accountGroups.label:I.accounts.label,v=be({mode:"all"}),K=v.handleSubmit(()=>{M(!1),g==="classes"?D?.("classes",k):D?.("account_group")}),G=a=>{if(H(a),a==="classes")j({}),$([]);else{$(F);let p={};n.forEach(x=>{const N=O("checkbox_and_name_only",[],x.classId[0]);p=Object.assign({},p,{[N]:!1})}),j(p)}},oe=()=>{E===!0&&Z(),M(!E);let a={};n.forEach(p=>{const x=O("checkbox_and_name_only",[],p.classId[0]);a=l==="account_group"||k.find(N=>N[0]===p.classId[0])!==void 0?Object.assign({},a,{[x]:!1}):Object.assign({},a,{[x]:!0})}),j(a)},Z=()=>{M(!1),H(l),$(o)};return u.useEffect(()=>{if(s==="Completed"&&g==="account_group"){let a={};n.forEach(p=>{const x=O("checkbox_and_name_only",[],p.classId[0]);a=Object.assign({},a,{[x]:!1})}),j(a)}},[s]),t.jsx(xe,{onClickAway:Z,children:t.jsxs(ze,{ref:c.current,isDisabled:J??!1,children:[B===!0?t.jsx(Ee,{value:f(l),onClick:()=>{_?.(),oe()}}):t.jsxs(We,{windowSize:b,children:[t.jsxs(Ye,{onClick:a=>{a.preventDefault(),_?.(),oe()},children:[t.jsx(Ge,{className:"dropdownIcon"}),f(l)]}),l==="classes"?t.jsx(Ke,{onClick:()=>{P===!1&&U?.()},children:P?I.generatingReportByClass:t.jsxs(t.Fragment,{children:[w&&`${te(w)}`,t.jsx(Qe,{})]})}):null]}),E?t.jsx(ye,{...v,children:t.jsx("form",{id:ce(le),onSubmit:K,children:t.jsxs(Je,{width:C.width.value(b),children:[t.jsx(ne,{checked:g==="account_group",children:t.jsxs(ae,{onClick:()=>g!=="account_group"?G("account_group"):null,children:[t.jsx("input",{type:"radio",value:"account_group",id:"accountGroups",name:"formgroup",onChange:a=>G(a.currentTarget.value),checked:g==="account_group",disabled:s!=="Completed"}),t.jsx(re,{disabled:s!=="Completed",children:L===!0?I.accountGroups.dropdownLabel:I.accounts.dropdownLabel})]})}),t.jsx(Ze,{}),t.jsxs(ne,{checked:g==="classes",children:[t.jsxs(ae,{onClick:()=>s==="Completed"?G("classes"):null,children:[t.jsx("input",{type:"radio",value:"classes",id:"classes",name:"formgroup",onChange:a=>s==="Completed"?G(a.currentTarget.value):null,checked:g==="classes",disabled:s!=="Completed"}),t.jsx(re,{disabled:s!=="Completed",children:I.classes.dropdownLabel})]}),P||s!=="Completed"?null:t.jsx(Xe,{children:w&&`${te(w)}`}),s==="Completed"?t.jsx(Ue,{id:"sectionformcontainer",children:t.jsx(eo,{reportId:e,firstMonthOfFY:i,nestedClassHierarchy:n,classesToBeFilteredOut:k,maxTreeHeightPx:353,selectedView:g,nodeOpenStatus:T,showClassAccountNumber:y,onToggleCheck:(a,p,x)=>{if(x===!0&&(H("classes"),$(F)),p===!0){const N=O("checkbox_and_name_only",[],a[0]);T[N]=!0,j(T),$(V=>V.filter(ge=>ge[0]!==a[0]))}else{const N=O("checkbox_and_name_only",[],a[0]);T[N]=!1,k.find(V=>V[0]===a[0])===void 0&&$(V=>[...V,a])}}})}):t.jsx(Me,{backgroundColor:A.colors.grey3,foregroundColor:A.colors.grey4,width:C.width.value(b),height:C.height.value(b),animated:!0})]}),t.jsx(qe,{children:t.jsx(_e,{formId:ce(le),primaryBtn:{label:ie.save,style:{width:C.buttonWidth.valuePx(b),height:C.buttonHeight.valuePx(b)},isLoading:!1,isDisabled:W,size:"small"},showCancel:!0,cancelBtn:{label:ie.cancel,style:{width:C.buttonWidth.valuePx(b),height:C.buttonHeight.valuePx(b)},onClick:Z,size:"small",shouldResetOnCancel:!0},style:{padding:r.sp3}})})]})})}):null]})})}const eo=ue.memo(({reportId:e,firstMonthOfFY:i,nestedClassHierarchy:n,classesToBeFilteredOut:s,selectedView:l,showClassAccountNumber:o,scrollPosition:y,onScroll:_,nodeOpenStatus:D,onNodeCollapseToggled:J,onToggleCheck:B,maxTreeHeightPx:L})=>{const U=X(),P=de(),[w,A]=u.useState(void 0),[b,E]=u.useState(!1),[M,g]=u.useState({}),[H,T]=u.useState(void 0),[j,R]=u.useState(l),F=d=>l==="account_group"||s?.length>0&&s.find(c=>c[0]===d[0])!=null,k=(d,c)=>{const f=$(d);for(const v of f.children)B?.(v.classId,c),k(v.classId,c)},$=d=>{let c=n.filter(f=>f.classId[0]===d[d.length-1])[0];for(let f=d.length-2;f>=0;f--)c=c.children.filter(v=>v.classId[0]===d[f])[0];return c};u.useEffect(()=>{b&&(d=>{if(d.length>1){const c=$(d.slice(1));let f=!1;for(const v of c.children)if(s.find(K=>K[0]===v.classId[0])===void 0){f=!0;break}B?.(c.classId,f===!0),g(c.classId)}})(M)}),u.useEffect(()=>{const d={reportId:e,displayOrder:"ascending_date",reportFormat:"more_detailed",mode:"none",firstMonthOfFY:i,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",showNegativeAmountInParenthesis:!1,isClassToBeFilteredOut:F,showClassAccountNumber:o};if(w!=null&&Q(H,n)&&Q(j,l)&&b!==!0){const c=Re(w,d);A(c),R(l)}else{const c=He(n,d);T(n),A(c),R(l)}},[n,l,s]);const[W,Y]=u.useState(5),q=L!=null?Math.min(W,L):W;return w!=null?t.jsx(Ve,{height:q,children:t.jsx(De,{backgroundColor:l==="classes"?new Ce(U.colors.background):void 0,rootNodes:w,type:"name_only",compareMode:"compare_mode_amount",isSticky:{isStickyHeader:!1,isStickyName:!1},treeNodePadding:{left:se.contentPaddingLeft.value(P),right:se.contentPaddingRight.value(P)},scrollPosition:y,onScroll:_,nodeOpenStatus:D,onNodeCollapseToggled:J,onToggleCheck:(d,c)=>{E(!0),g(d),B?.(d,c,l==="account_group"||void 0),k(d,c)},onReportTableHeightChanged:d=>{const c=d+m[6];Y(c)}})}):null},Q);export{io as b,ro as x};
|