@zeniai/web-cockpit-ui 1.15.58-qa → 1.15.59-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-CfvX6zSV-BnYXr7da.js → ACHDetailsPage-CFhoboVe-NhNiWQoq.js} +1 -1
- package/dist/assets/{AIPerformancePage-BTVbAUHG-BoVD62zB.js → AIPerformancePage-DB-fTWME-C20PCC17.js} +31 -31
- package/dist/assets/AccountInfoPage-pEEhPqOb-CuwSCEbu.js +18 -0
- package/dist/assets/{AccountInfoPageContent-Bk0YQ-4C-BFfUei9K.js → AccountInfoPageContent-eYEsv7ac-CxPwO1am.js} +17 -17
- package/dist/assets/{AccountLockedInfoModal-DM2zVI24-BKusNt5D.js → AccountLockedInfoModal-jYWr_8TD-BpvSTyB8.js} +8 -8
- package/dist/assets/{AccountReconDetailsDrawerPage-B6mhnC_D-UmCS2ljL.js → AccountReconDetailsDrawerPage-3Q0EPYhL-DhctK78k.js} +44 -44
- package/dist/assets/{AccountRow-2vAGu-jm-Ban2UP27.js → AccountRow-CdgvnPG8-BbJV8Q8M.js} +22 -22
- package/dist/assets/{AccountsPromoCardStack-z9STg_F3-DQIMAcch.js → AccountsPromoCardStack-DHo59LLN-G_DVA-Yj.js} +22 -22
- package/dist/assets/AddAddressForCardDrawer-BzO1FXUa-kqMHH9Vt.js +6 -0
- package/dist/assets/{AddToWalletPage-BMPHVMEY-uJdVtbyv.js → AddToWalletPage-BfXFbHjk-QRigQSHV.js} +28 -28
- package/dist/assets/{AgingReportsPage-Bngg8YpI-C_fcRo8j.js → AgingReportsPage-C1hFq4KH-COTxuu-2.js} +7 -7
- package/dist/assets/{AllUserItems-DzHTUgrn-wXFIirZl.js → AllUserItems-B6pnKByY-BUdz_J3g.js} +10 -10
- package/dist/assets/ApAgingDetailPage-CxLVGnpY-OkmLiLaF.js +46 -0
- package/dist/assets/{AppBasePage-DUoMiO7X-DW6VTkB1.js → AppBasePage-DiVxF606-C03aQg1o.js} +7 -7
- package/dist/assets/AppDrawerContent-B_EWsf8O-16pnrlUd.js +92 -0
- package/dist/assets/{ApprovalRulesSettingsPage-BfXvTQyU-Dh6b5zsc.js → ApprovalRulesSettingsPage-HHjDp_NQ-CDZaolru.js} +6 -6
- package/dist/assets/{ArAgingChart-BwVPNYHv-3oBDpKQx.js → ArAgingChart-Ba4A-i2N-Cm3Zb2-A.js} +1 -1
- package/dist/assets/ArAgingDetailPage-prgcvsS4-CC5CLIGP.js +46 -0
- package/dist/assets/{AttachmentView-DQKnQgQK-Bu5XLE-W.js → AttachmentView-SsWJw4A8-BGK1ntZP.js} +8 -8
- package/dist/assets/BalancesInsightWithToolTip-DE6gDjGA-D3lvmUPJ.js +38 -0
- package/dist/assets/{BankAccountSection-DxW0EB-K-BfA6R4ym.js → BankAccountSection-B4jmT0lb-DzAFSATj.js} +11 -11
- package/dist/assets/{BankAccountWarningSection-BQlPiqev-DQgUD-fz.js → BankAccountWarningSection-Bz2itMx0-BwlD2-aX.js} +9 -9
- package/dist/assets/{BankConnectionsSettingsPage-CFk2aMnM-Mskj_CdN.js → BankConnectionsSettingsPage-BcVk7bTt-CT4jBj4R.js} +26 -26
- package/dist/assets/{BillDetailPage-44pWv8Nq-DZ4TiXFR.js → BillDetailPage-Dkqmi4H1-BrWo4uGz.js} +4 -4
- package/dist/assets/{BillPayApprovalRuleDetailPage-D_Q7_oVR-Dl3E9h_h.js → BillPayApprovalRuleDetailPage-Blxlv3pa-CZSNHT3K.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-iTvysPLf-B5MNc-_v.js → BillPayApprovalRulesPage-B_QwggJS-LtyCS7v3.js} +14 -14
- package/dist/assets/{BillPayPromoPage-B5AGf-Xt-024pxlZZ.js → BillPayPromoPage-Bx2AXpWe-Du89a98b.js} +5 -5
- package/dist/assets/{BillPaySetUpPage-bNDxI3Kh-6_VU18cC.js → BillPaySetUpPage-CM7_DkHC-CclJKf3M.js} +3 -3
- package/dist/assets/{BillingSettingsPage-4WGlC_Ok-DUDn5i-o.js → BillingSettingsPage-DM0OIfxa-BuoiB9BU.js} +9 -9
- package/dist/assets/{BillsBulkReviewDrawerPage-8E35ktf3-Cw9-crTl.js → BillsBulkReviewDrawerPage-C3xmQ7wz-Bwj3c210.js} +1 -1
- package/dist/assets/{BoxItem-Yk1jfFWZ-DzXp7dNR.js → BoxItem-CvCo0wr6-DKAIvhWo.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CYzudAIt-BBXKWut1.js → BusinessVerificationPage-BAZmkR4a-AnwjdvL9.js} +10 -10
- package/dist/assets/{CardNumberSubText-DjHY0FvO-CjPeFW5K.js → CardNumberSubText-DHtSIcZZ-DL8DMs-k.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BBnND02O-DWBUQ_Fx.js → CashbackDetailPage-CNS1FA6b-JWXE3hsL.js} +21 -21
- package/dist/assets/{ChargeCardDetailPage-BIR8jdTw-Czwwolcz.js → ChargeCardDetailPage-C4NeG7IM-CPxS6cRg.js} +35 -35
- package/dist/assets/{ChargeCardListPage-DIaPTqHg-CsAQvjuT.js → ChargeCardListPage-DNYiWaEf-DJhH9poc.js} +24 -24
- package/dist/assets/{ChargeCardListTable-Daaen5Xe-DifYJ3Zj.js → ChargeCardListTable-DdnyzdFf-BmYCmkcc.js} +49 -49
- package/dist/assets/{ChargeCardPaymentHistoryPage-BdQWV5hd-BxCbxBo_.js → ChargeCardPaymentHistoryPage-CXlqzaUt-BEtGgsbY.js} +36 -36
- package/dist/assets/{ChargeCardPromoPage-DAk2fYcE--OhP0cnw.js → ChargeCardPromoPage-D4canPX9-DuNs-QpK.js} +23 -23
- package/dist/assets/{ChargeCardSetupPage-64bBN1fe-BqFWzRA1.js → ChargeCardSetupPage-BtikPFOq-_QFEhM40.js} +3 -3
- package/dist/assets/ChargeCardStatementsPage-RepWBbvJ-fE-f9dTt.js +60 -0
- package/dist/assets/{CheckDepositDrawerPage-DlJJaad8-CLbfXmNK.js → CheckDepositDrawerPage-BCqg3irO-BNQC0cqt.js} +21 -21
- package/dist/assets/{CollapsableReportTable-CcyH-50D-D4qh_Iwq.js → CollapsableReportTable-gy7Ue_fk-D4P0G-Lp.js} +528 -496
- package/dist/assets/{CompanyOfficerDetailsSection-m-m1nELP-S26KFwxz.js → CompanyOfficerDetailsSection-BsCx7q-g-vYNOEpVO.js} +15 -15
- package/dist/assets/{CompanyPassportCard-ZBDBE8eV-CMQWkwBr.js → CompanyPassportCard-BbUWOs1U-BLVqocbL.js} +4 -4
- package/dist/assets/{CompanyPassportPage-B6zI52Pp-B__XqIFB.js → CompanyPassportPage-BnP2oA1U-zWSSW3Bs.js} +29 -29
- package/dist/assets/{CompleteProfile-BLWNz2VA-tYLyFWWU.js → CompleteProfile-TiRsm2Fm-CIjFxaAm.js} +3 -3
- package/dist/assets/ConfettiBurst-D7J36hZf-BKlSjT6j.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-BJt0x_QL.js → ConstrainedInnerElement-CgdnMeoA-Bv_SCMJB.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D_fPbFsR-ChtzoVO1.js → CreateOrEditVendorPage-Dihzr1D5-D9cB4SAg.js} +19 -19
- package/dist/assets/{CreditCardPaymentDrawerPage-Bl82rSY1-DDoITNb_.js → CreditCardPaymentDrawerPage-CZGzDuxC-p3RWbIDE.js} +14 -14
- package/dist/assets/{CurrencySelectField-CwNGSmb2-BfwCMrZd.js → CurrencySelectField-BTAmIqPa-BqQ2_ci5.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-L6GfGsJ9-BbZGV_dK.js → CustomerOnboardingActivationPage-MVI7kqIh-wst5cRj4.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--Dxqq0QJL.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-MP-lAuJG-UK3eLYnf.js → CustomerOnboardingDetailPageSkeleton-CaI_0pCb-CxQ8bQdr.js} +14 -14
- package/dist/assets/{CustomerOnboardingNoStepsPage-DF6CbSZs-7ZmdawXZ.js → CustomerOnboardingNoStepsPage-CO_c2COV-pLp1hFCt.js} +6 -6
- package/dist/assets/{CustomerOnboardingPage-Cl4wtP6t-Ex1UzqXa.js → CustomerOnboardingPage-BF0vuYaJ-JMRuse4Z.js} +14 -14
- package/dist/assets/{CustomerOnboardingProductSuitePage-vkblu46s-h4faigoV.js → CustomerOnboardingProductSuitePage-BGFdLX1i-DySt6BQg.js} +6 -6
- package/dist/assets/{Dashboard-C1Fn0zHa-CkDT70CD.js → Dashboard-Qjedd4r--DHZmjgJN.js} +1 -1
- package/dist/assets/{DashboardReportPage-3lvWkrXH-CKAZqKLe.js → DashboardReportPage-Deith_ON-ChcA84Vk.js} +24 -24
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Cn_5tbit-DB1raPJt.js → DashboardSidebarBackgroundAnimation-C7DfUDio-DPyKxS1U.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DnL2eweO-BVp_XIJO.js → DepositAccTransactionItem-7kYotKov-BnPXoaAG.js} +6 -6
- package/dist/assets/{DepositAccTransactionListPage-HAUhc4OH-w6xPsKCN.js → DepositAccTransactionListPage-Bop4Uj5w-ZOaAmZOC.js} +3 -3
- package/dist/assets/DomesticWireDetailsPage-_TyXsqEx-cl5Mv1ja.js +21 -0
- package/dist/assets/{DownloadOverlay-GFsPIkgY-CIatX2-l.js → DownloadOverlay-Cmd727bN-BHplNe_3.js} +23 -23
- package/dist/assets/{DrawerPage-DudtPicH-DR7eAOPs.js → DrawerPage-DmGwfnGp-B5EgKZxZ.js} +14 -14
- package/dist/assets/EditPeoplePage-YyluIC6R-CQIl30sj.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-D8RHkMHR-DhpHj6Tk.js → EditReimbursementDetailPage-DeMid2Ko-BTURFjuA.js} +84 -84
- package/dist/assets/EntityDetailPage-DPTSSZdS-B-VW2ygZ.js +18 -0
- package/dist/assets/{EntitySummarySection-Po9-k_zM-CKOvXyjt.js → EntitySummarySection-5NbutA8l-Z4HQfo2N.js} +15 -15
- package/dist/assets/{ExpenseAutomationOverviewPage-CbLRqpw3-CE6o3IC8.js → ExpenseAutomationOverviewPage-CQ_3WluW-sBkDi2LJ.js} +10 -10
- package/dist/assets/{ExpenseAutomationPage-DD33LDin-CmmvW3gw.js → ExpenseAutomationPage-VuU4acYd-DRu_62Rz.js} +239 -239
- package/dist/assets/{ExpressPayPage-BbHx9h8j-Jtoo_XSn.js → ExpressPayPage-DhoNmyC2-Ixqn7FeR.js} +15 -15
- package/dist/assets/{FeaturePreviewPage-72x3P-pq-fDKDe74V.js → FeaturePreviewPage-GSwhPxgP-C20k6nV5.js} +2 -2
- package/dist/assets/{FollowStepsSection-BT_WjsEy-6nsqXk2v.js → FollowStepsSection-DaueHRo4-DdiQ4lOn.js} +11 -11
- package/dist/assets/{GlobalReviewListPage-C5h9rvVb-BrdUyPnT.js → GlobalReviewListPage-DG7_1HOT-mLv5NHYa.js} +8 -8
- package/dist/assets/{InformationCardStack-CjpOEuJF-DF2z_fcp.js → InformationCardStack-zc-BxR7F-B2cR2Vrc.js} +4 -4
- package/dist/assets/{InsightsCardStack-CkxN0Fd6-D3ds4snJ.js → InsightsCardStack-DxCA5sFh-CBXIO7T2.js} +14 -14
- package/dist/assets/InsightsSection-BdFG3j3R-DpGjm8qb.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-CN3x9o-8-n2lkrWPc.js → IntegrationsSettingsPage-CaiL3kqS-yWfc1-ip.js} +4 -4
- package/dist/assets/{InternationalWireSwiftDetailsPage-C1WTGANK-CX6ZkpbL.js → InternationalWireSwiftDetailsPage-BrQVSzeS-DauYa5_z.js} +19 -19
- package/dist/assets/InternationalWireVerificationPage-NaLnhW9C-D3Wh10D9.js +65 -0
- package/dist/assets/InviteFormPage-fjqv2l7h-CoWToBnJ.js +312 -0
- package/dist/assets/{InvitePageListView-BbQyUnv0-DMumTMJP.js → InvitePageListView-CQecQhxr-BNu8hXMY.js} +48 -48
- package/dist/assets/InvitePeoplePage-DAEBuOnk-jK8Ueocl.js +12 -0
- package/dist/assets/InvoiceUploadSection-58l6ePuH-BuOyGSAC.js +140 -0
- package/dist/assets/{IssueChargeCardPage-BT9h01l_-siq7xJ-s.js → IssueChargeCardPage-Bkxqsgax-BMc-YwRY.js} +30 -30
- package/dist/assets/{LabeledAddressValue-DF623NAW-D4a6OVhw.js → LabeledAddressValue-CZfFV97h-DWDhZW5u.js} +2 -2
- package/dist/assets/LabeledAddressValueField-D66XOhMx-Di6mjf7B.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-DNFUkVLh-CuadpuTO.js → LabeledControlledCheckBoxField-BtnsqE4D-CLMK-CUC.js} +2 -2
- package/dist/assets/{LabeledCountryMultiSelectField-B5vytqi_-BXGWCwpL.js → LabeledCountryMultiSelectField-kopByxLB-CVecMMvH.js} +3 -3
- package/dist/assets/{LabeledCreatableSingleSelectField-DN5wCaeU-bysGqgYr.js → LabeledCreatableSingleSelectField-B6An-cwq-DxTaWad8.js} +3 -3
- package/dist/assets/LabeledDocumentField-D_ZD8JTn-BbI3Z3Te.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-BvdkjSR_-0cU3E71g.js → LabeledDropDownFormattedTextField-CJ7ncCzH-CmOBBbLT.js} +8 -8
- package/dist/assets/{LabeledText-BDkcgGG4-YJ-8g03K.js → LabeledText-A1h_ionS-YHsepFfP.js} +4 -4
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BnDEbwhn-BjMBeUGB.js → LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-BQ0ZCt10.js} +17 -17
- package/dist/assets/{LabeledZeniRolesDropDownField-CY2feiXB-HP_5dGNT.js → LabeledZeniRolesDropDownField-DmynBXbJ-BkBy6SHA.js} +16 -16
- package/dist/assets/{LinkJETransactionPage-Bc3h7Bsx-Wiea8FhX.js → LinkJETransactionPage-D6-fL4a6-DPNZmHzv.js} +5 -5
- package/dist/assets/LockCardPage-BDlnh_zf-coxMaBNB.js +623 -0
- package/dist/assets/{LowBalancePopup-CKSy3iEi-DCgRxDtE.js → LowBalancePopup-CBPl_udd-D2XBBf4O.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-eq8wlXQr-DtgQBKXr.js +1 -0
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-zLqzW0ZA-DNf2ZFPO.js → MagicLinkDomesticWireDetailsPage-BcNOhJgL-C8mUkiDX.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-OpEbz58h-DNNhjP9x.js → MagicLinkInternationalWireDetailsPage-Df8XYlkg-BRWnjp0l.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-Cl461HWp-CO6oeX5F.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-D38JxxrQ-CU50p6sN.js → MagicLinkTitleSection-DoIMYrRv-BlE9zH37.js} +4 -4
- package/dist/assets/MailingDetailsSection-NdwWGQ88-D7MwCKtI.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-TSaL2Z3R-7urnLeL-.js → MyBankConnectionsSettingsPage-BU6TBzI1-DN5Npe5i.js} +10 -10
- package/dist/assets/{MyPendingActivationChargeCardListPage-BvcQUu1g-BAib1puz.js → MyPendingActivationChargeCardListPage-DcunCDU6-gyBwBEb_.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-AqrcruM6-CFhzI6VI.js → MyProfileSettingsPage-DF7ahyXE-B1LJnYuu.js} +7 -7
- package/dist/assets/{NavBarWithPicker-BpjOj0Mh-B0IyZ-5p.js → NavBarWithPicker-D2v1fhLS-C3H8GgqL.js} +5 -5
- package/dist/assets/{NavigationArrow-wyRPTk_w-CBPTcVzh.js → NavigationArrow-CWUL-6kN-BrqMd9Lj.js} +2 -2
- package/dist/assets/{NavigationDots-D4jbU1WN-2Zgm3tFB.js → NavigationDots-c-XSrFzE-Dxzsqafk.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-B-aRURcQ-DM9ZiThQ.js → NewGlobalMerchantPage-FGEO68I8-B7wryl8V.js} +9 -9
- package/dist/assets/{NoDataChart-tpjEi1Wb-CneSdGWB.js → NoDataChart-DJhSgtLu-B7rWK9ww.js} +4 -4
- package/dist/assets/NoDataTable-BZiwo2qK-1fFq9QL7.js +8 -0
- package/dist/assets/{NotFoundPage-aEkhvzEG-5jUiDOLs.js → NotFoundPage-BN5unYX8-RIPoUtcm.js} +5 -5
- package/dist/assets/{NotificationSettingsPage-CMNyI8E6-BB9rHV42.js → NotificationSettingsPage-d8kHDj0M-BR4XfDGy.js} +31 -31
- package/dist/assets/{NotificationsListConfig-CqxCGQSM-CNk3ZSrm.js → NotificationsListConfig-ThKLok_w-DiwvAaDh.js} +1 -1
- package/dist/assets/{NotificationsPage-xmWyvsYE-DgxInQel.js → NotificationsPage-Uvu6XESA-C7IDz_PV.js} +28 -28
- package/dist/assets/{OpExByVendorPage-BwWSNQjj-ArHXz_mI.js → OpExByVendorPage-QyqRkD2_-BZtZlU0k.js} +8 -8
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-C04r--J3.js → OverlayContainerPage-BG9y5C0t-B5Ccc20I.js} +1 -1
- package/dist/assets/PandLWithForecastPage-DJ2v5qbE-D34Zu7P_.js +123 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Cg-iwsq9-yL-9Kg03.js → PaymentAccountSetupBillingAddressSection-q5z8XZFC-BXoCztnc.js} +12 -12
- package/dist/assets/{PeoplePage-CgLumn7f-DpLXgwxu.js → PeoplePage-C5ZdpVyR-D5gb3H9N.js} +34 -34
- package/dist/assets/{Preview-BoQzKWlV.js → Preview-M7TzJD6j.js} +1 -1
- package/dist/assets/{ProductsCarousel-LGZZZ4bc-BrX6HY26.js → ProductsCarousel-CXjLTOLy-qhgO5u3T.js} +4 -4
- package/dist/assets/{PromoBaseCards-DMnQ-nBZ-DDlepqsM.js → PromoBaseCards-CN9uZfG4-4ZG6rDcT.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-ufRcAeE8-jq-VIkh3.js → QBOConnectionDialog-CXSi1Pd9-BlV5xAad.js} +3 -3
- package/dist/assets/{QBOSetupSection-BaxLXdyW-Bw8JqvSl.js → QBOSetupSection-BrtLMvEP-CWf9qAKV.js} +19 -19
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CE0CxjTY-s7g4Epqs.js → ReimbursementApprovalRuleDetailPage-CS1BQ7pL-gwQi2ubd.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DDNhjbbG-e47fcCBo.js → ReimbursementApprovalRulesPage-aLRkhkZB-CtUN1jCI.js} +7 -7
- package/dist/assets/{ReimbursementDetailPage-BOW1JodW-Br3QbgaE.js → ReimbursementDetailPage-Dr5BTvEq-BkIwEWVX.js} +17 -17
- package/dist/assets/{ReimbursementPromoPage-lD4FRDbt-BTRv0wOn.js → ReimbursementPromoPage-C5Z0mVhQ-sIeJk3bD.js} +8 -8
- package/dist/assets/{ReimbursementSetUpPage-vZd1l3-L-BJb01JMz.js → ReimbursementSetUpPage-CXhOBErm-DH5oFO_k.js} +7 -7
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BV1eoHFe-Ct7RQx5a.js → ReimbursementsBulkReviewDrawerPage-CA0n0mau-YPT0uXmT.js} +1 -1
- package/dist/assets/{ReloadCard-DZJ1-x96-12T5DybX.js → ReloadCard-Bjp8ygC2-QCThgpLx.js} +6 -6
- package/dist/assets/{ReportTableViewSelector-NmHJk-6O-Bo6jFRe0.js → ReportTableViewSelector-DTk1dNWC-B6Y4EDN-.js} +9 -9
- package/dist/assets/ReportsPage-DrjOGopt-DJaJ6UxU.js +258 -0
- package/dist/assets/{RevenueChart-CKjVL6iT-Bl6arWa6.js → RevenueChart-CqGvXDr4-ls1jVoKH.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-Dm5-QehL-C1ebQa3V.js → ReviewDetailsPage-CWBP7FBN-BDBxmvOT.js} +19 -19
- package/dist/assets/{ReviewOverlay-DyTC2zKj-Cqqa9ybn.js → ReviewOverlay-Cxkp85Kw-C7d3vwBi.js} +6 -6
- package/dist/assets/RoleWithToolTip-CqLxmtj6-BNUOWMRG.js +22 -0
- package/dist/assets/ScheduleDetailsFixedAssetsPage-CYvlB3Nf-BjdxIH5b.js +37 -0
- package/dist/assets/ScheduleDetailsPage-CZXJ15tN-CjrCADWR.js +37 -0
- package/dist/assets/ScheduleSequenceTable-DNPID_7F-j2fgEjwp.js +326 -0
- package/dist/assets/{ScreenRoutes-CCqT3xt1.js → ScreenRoutes-DJ_rUo9A.js} +1 -1
- package/dist/assets/{SetUpAccountSection-BkGBS9x_-R8tgE_Z9.js → SetUpAccountSection-_WPR-q2V-DrJlA8IQ.js} +16 -16
- package/dist/assets/{SignIn-DybDQnmR-ByUOpVOm.js → SignIn-CDEsZw_T-0YUs2QmP.js} +33 -33
- package/dist/assets/SignInScreen-CUXsEOc0.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-DkEZTojy-CA6_5Fky.js → SpendManagementListViewPage-MOCWuROI-DKR38Veg.js} +11 -11
- package/dist/assets/{SpendManagementPerTabPage-CR9CphX3-BEr99KbG.js → SpendManagementPerTabPage-BeK0SCeE-D8khDgh_.js} +43 -43
- package/dist/assets/{SpendManagementSection-DqDra2TJ-DXPdzdx4.js → SpendManagementSection-DZFPfKNi-BUQ2S0Kz.js} +17 -17
- package/dist/assets/{StatementItem-DSuaMb54-ChcIWFK-.js → StatementItem-DjvU5wiI-DHTNeSpB.js} +2 -2
- package/dist/assets/StatementsPage-DYLp_e7W-C5hw_hkQ.js +58 -0
- package/dist/assets/{StatusSwitcher-Z7jo_R2B-D-RVNmDS.js → StatusSwitcher-jxaonB4S-Dw8Z5KsP.js} +2 -2
- package/dist/assets/{SubTabSwitcher-DJvtpJh2-CqJlCEZ1.js → SubTabSwitcher-CudjNlsi-Dk2m1EXt.js} +3 -3
- package/dist/assets/{SummaryCard-D4k-35Mt-CKKk3xUZ.js → SummaryCard-DPOhBmkr-Cj1Lt-Mp.js} +1 -1
- package/dist/assets/{TaskManagementPage-Cadtu3qQ-zX8lQopX.js → TaskManagementPage-CTMoHv0R-DzrReeZE.js} +13 -13
- package/dist/assets/{TimeRangeSwitcher-CXt00my3-kyL42Suj.js → TimeRangeSwitcher-SqY2MHGs-Bpa_mFEa.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-D0ujXDLd-DkH3ill0.js → TimeframeSwitcher-BlJ2fuHy-8yHS99Lr.js} +4 -4
- package/dist/assets/{TimeframeSwitcherWithToggle-CMzQ2qRz-CKP0fk1A.js → TimeframeSwitcherWithToggle-Dgc1odUH-CNwpIwWb.js} +4 -4
- package/dist/assets/{TopExCard-BmRXVrxo-D8yAs-m9.js → TopExCard-CG8YLsYe-CsdBprjg.js} +11 -11
- package/dist/assets/{TopExDetailPage-Ds-BZjbz-IOO7_XQl.js → TopExDetailPage-TvYCbzSP-C1DN6y7-.js} +16 -16
- package/dist/assets/{TransactionActivityLogPage-CKIHtz5l-D-dTYDgC.js → TransactionActivityLogPage-BL3vEAdU-B_s3Ii9P.js} +11 -11
- package/dist/assets/{TransactionDetailPage-B1UKqtkR-BE9V0dPT.js → TransactionDetailPage-DUouBL0o-BwsVWjsw.js} +26 -26
- package/dist/assets/{TransactionList-BE3ODDi0-BDIJTskc.js → TransactionList-B16NONME-MhxbTKXX.js} +18 -18
- package/dist/assets/{TransactionListBig-JcBvCcMd-HNZ38dTS.js → TransactionListBig-CItPbTRV-CTDy7YXE.js} +10 -10
- package/dist/assets/TransactionListPage-DNecYY8M-DvyKlW5R.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-BCtWJV5U-CC-HiQvd.js → TransactionVendorDetailPage-DpqisXN8-BeIl3VIo.js} +6 -6
- package/dist/assets/{TransferDrawerPage-DoIPGIdB-JAB5Sz6q.js → TransferDrawerPage-Dsmbswu0-DuQeRo8o.js} +24 -24
- package/dist/assets/{TreasuryOverviewPage-lmaT3YkG-C6wF0pBN.js → TreasuryOverviewPage-BcRpcYmB-B_2n4w_R.js} +40 -40
- package/dist/assets/{TreasuryPromoPage-avx9YENY-CaSHYgG2.js → TreasuryPromoPage-DOO_OMRa-Nn5daNmi.js} +19 -19
- package/dist/assets/{TreasuryStatementsPage-BguLbwsn-B5E0Q7zz.js → TreasuryStatementsPage-A_U7bEy5-DdFUWuDa.js} +7 -7
- package/dist/assets/TreasuryTaxLetterPage-BsJn-BgX-CQZpySFF.js +58 -0
- package/dist/assets/{TrendChart-rzKYI72b-x69qqEF1.js → TrendChart-GMMat-NG-CAc9nAfG.js} +2 -2
- package/dist/assets/{TrendWithTransactions-atLfDrR5-B0aSX9-q.js → TrendWithTransactions-CrA4opNV-BTtTpjeg.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-5VnrVRL7-DkHh43Pm.js → UncategorizedAccountsMappingPage-CrzbFGOi-B7V18O6N.js} +10 -10
- package/dist/assets/{UnitIntegrationPage-CRtWNQ9s-BlzFosEv.js → UnitIntegrationPage-XZY6zJa7-Cq4xbYW7.js} +13 -13
- package/dist/assets/{UploadAdditionalDocumentOverlay-D0FPdZ3n-DT1NoKwU.js → UploadAdditionalDocumentOverlay-eqwSLigx-Ci9eqDqb.js} +2 -2
- package/dist/assets/Vendor2FAPopup-BHDivuPB-Cn8-yps4.js +1 -0
- package/dist/assets/VendorACHDetailsPage-DJ4Crnr0-adpyH1RD.js +1 -0
- package/dist/assets/{VendorDetailPage-DJ54yvWY-DtibNEE0.js → VendorDetailPage-DEu-yS8w-DNet96B_.js} +24 -24
- package/dist/assets/VendorDomesticWireDetailsPage-WFcOmpiN-CHE49l9v.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-B0LEUR_g-CsMru02g.js → VendorFiling1099EditablePage-C461SzO0-BVUWElpF.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-7VUbqyR2-B-t_-gOw.js → VendorFirstReviewPage-klbCHS04-BFjy2m5_.js} +32 -32
- package/dist/assets/{VendorInternationalWireDetailsPage-CHFMTDYG-UTfMlqxi.js → VendorInternationalWireDetailsPage-DY0V-VbO-C2xJ0CsJ.js} +26 -26
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-B8sx02I_-CE29O6S4.js +1 -0
- package/dist/assets/{VendorsAccountsSection-By1Bhh27--5FkvREo.js → VendorsAccountsSection-Cqcr-ArD-DAAwd5Iw.js} +4 -4
- package/dist/assets/{VerifyDevice-gXwkGIjJ-ffTqb92V.js → VerifyDevice-Dhu5iywf-HX-kw30c.js} +8 -8
- package/dist/assets/{VideoPlayer-DBU7xwIG-G3eDrHhm.js → VideoPlayer-ZGjx_Hp7-Nomi0VD9.js} +3 -3
- package/dist/assets/VideoPopup-R3u0N_if-DgVn2CAl.js +31 -0
- package/dist/assets/{WarningsDrawerPage-ByCZSQ-E-S67fi1hF.js → WarningsDrawerPage-TerLFC4m-C5ptwy3N.js} +8 -8
- package/dist/assets/{ZeniAccountDetailPage-DlCJ5UGq-D5M3rInN.js → ZeniAccountDetailPage-DQB7sXU9-CETOq0EN.js} +16 -16
- package/dist/assets/{ZeniAccountListViewPage-DTiBd3Ze-DvMCmuRh.js → ZeniAccountListViewPage-BwXKgf6g-DrDKS22-.js} +29 -29
- package/dist/assets/{ZeniAccountNavBarPieces-DAcKYXqh-C3pU1dfO.js → ZeniAccountNavBarPieces-CHUTFAWG-DBX2rB9H.js} +4 -4
- package/dist/assets/{ZeniAccountPromoPage-MPekAyNe-BSRrdgoj.js → ZeniAccountPromoPage-BkfJuMNV-DSkmb6Z5.js} +28 -28
- package/dist/assets/ZeniAccountSetupPage-C3drM4Zs-D-HaFV-S.js +36 -0
- package/dist/assets/{ZeniCopyright-B1muAGCe-RlRc6Vn6.js → ZeniCopyright-CznSgVJF-iBl18n1m.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CX1FGWrl-Sctz6Ol2.js → ZeniTransferAmountSlider-C77DEl-C-CZljZWCZ.js} +7 -7
- package/dist/assets/{add-to-wallet-DgdBD8_G-D76iCYbd.js → add-to-wallet-DgdBD8_G-CM6IrCpv.js} +1 -1
- package/dist/assets/{analytics-R4GG3mhr.js → analytics-B_VWX-BQ.js} +1 -1
- package/dist/assets/analyticsHelper-B8fd42um.js +1 -0
- package/dist/assets/{analyticsHelper-BznLUYs2-PwxmAlPi.js → analyticsHelper-Bh8o1v3y-C4Sojiq_.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-BDgsRTSD.js → arrow-south-east-round-PEovUgvH-CQGzMyhs.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-keRK9wSo.js → auto-transfer-rule-mbafm5D3-Ba30im8q.js} +1 -1
- package/dist/assets/{chartTypes-Bckf_DAs-Bp9EYUYX.js → chartTypes-C14YY2Rq-DHigu710.js} +1 -1
- package/dist/assets/{commonDimensions-Bno19oYe-Ckn-nRQz.js → commonDimensions-CVpc-NCw-D6CVEqC_.js} +1 -1
- package/dist/assets/{commonTypes-CATFe6V_-DoBP4FJ5.js → commonTypes-Ec-PxfpT-Dj2109B_.js} +1 -1
- package/dist/assets/{constants-CEF2OtLN.js → constants-DgwGHN1r.js} +1 -1
- package/dist/assets/{core-DpPwA1EY.js → core-Cjh03OPu.js} +1 -1
- package/dist/assets/{dash.all.min-DdEpb4Db.js → dash.all.min-CCSNDyIp.js} +1 -1
- package/dist/assets/downloadPdf-BuPJ6cfr-Dyz4TLVR.js +1 -0
- package/dist/assets/{empty-nUYKFD2C.js → empty-DlGh28fD.js} +1 -1
- package/dist/assets/{empty-r8v2CG_J.js → empty-iTJcp-B8.js} +1 -1
- package/dist/assets/{epic-BSSFYfU0.js → epic-hN0N_N79.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-v4xTyl5z.js → gift-box-Cmt9OgIZ-TbiyaSAn.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CDoGR872.js → graphic-no-data-l-DU4J8fDt-CxIH_dl6.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BB-JG1AW.js → graphic-no-data-net-burn-l-CzmycA0m-CUkTpFd-.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-B0fu0zwh.js → handshake-BPg58FML-Dbtylvfc.js} +1 -1
- package/dist/assets/{helper-BCh4SWyd-CwI6N1FK.js → helper-AgH8nJln-Bk3G7LVh.js} +4 -4
- package/dist/assets/{index-CMalJxiA.js → index-B5cuJQnR.js} +1 -1
- package/dist/assets/{index-VSH6R5vg.js → index-Bk7UJBjY.js} +1 -1
- package/dist/assets/{index-BTvJvxFI.js → index-C4Fispms.js} +1 -1
- package/dist/assets/{index-C6nwvBZg.js → index-ChCGry2d.js} +1 -1
- package/dist/assets/{index-BlPcRVKX.js → index-DAwCqq2t.js} +1 -1
- package/dist/assets/{index-SEvYEB33.js → index-DFowIMIZ.js} +1 -1
- package/dist/assets/{index-uV9C0lq0.js → index-aCBnCBoN.js} +3602 -3593
- package/dist/assets/{lexical-WuSd_Y3l.js → lexical-9REae7LV.js} +1 -1
- package/dist/assets/{liveblocks-PPyiYwu4.js → liveblocks-CEY7tsth.js} +1 -1
- package/dist/assets/{lottie-CwowL814.js → lottie-BmLFYENY.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DTyQHWMc-CfKVg64X.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-D7pjBGp6-Bef-KTrw.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-Cd4FCXAf-BQ_XhzIu.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-Drhl_lnP-CrhrR0QG.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-UsawmMLa-_s__LV61.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-BvCkLSPj.js +1 -0
- package/dist/assets/{mui-CgOsYmSB.js → mui-BosmckWV.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-npur6fd8.js → page-detail-CWX5S47F-C2A7RuXG.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-BDFz9brn.js → panelSelectedMixin-Cddsb26L-CWVsp72I.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-CaCRbViv.js → radio-default-CiSgisfh-Dhw9u_Vt.js} +1 -1
- package/dist/assets/{react-D6M30H8E.js → react-CLFAbS9n.js} +2 -2
- package/dist/assets/{react-DzADjYrb.js → react-D8DqvAAs.js} +1 -1
- package/dist/assets/{react-1JgjrFGc.js → react-DAXSMqh2.js} +1 -1
- package/dist/assets/{react-B5r5WB2A.js → react-DSh5n3Dg.js} +1 -1
- package/dist/assets/{react-D2UrnCU4.js → react-DT8qkoNX.js} +1 -1
- package/dist/assets/{react-5VwsKWlP.js → react-DTZ405nF.js} +1 -1
- package/dist/assets/{react-Bpsw4H-g.js → react-DxfKP-TY.js} +1 -1
- package/dist/assets/{react-C_FwXK63.js → react-ddvEC0y3.js} +1 -1
- package/dist/assets/{recharts-B5a8DAKj.js → recharts-CimMNwCJ.js} +1 -1
- package/dist/assets/{sentry-rcvLxAzW.js → sentry-DzaNjvx0.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DrUeUva_.js → shield-DOlUxcFf-Cva3YFBn.js} +1 -1
- package/dist/assets/toCOABalancesWithID-wh35N3no-ClXxioRe.js +1 -0
- package/dist/assets/toChartData-G5y-N82I-BBptd2Gk.js +1 -0
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BkGK3BZ_.js → upload-reimbursement-receipt-O2N8vcO7-CMjD_kCZ.js} +1 -1
- package/dist/assets/{uploadAttachment-BLbU_iLy-Cn6htN7U.js → uploadAttachment-RbkIBMGO-TVHnian4.js} +17 -17
- package/dist/assets/{uploadReceipts-CIgkuVpu-Bgo2p-8x.js → uploadReceipts-CIgkuVpu-Dil-Qv4Z.js} +1 -1
- package/dist/assets/{url-C66ml4tg.js → url-KRGewpHH.js} +1 -1
- package/dist/assets/{url-Ce1cqXlU.js → url-ymOv7sCf.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DY03cKku.js → useLongPress-GCK2COYQ-BgaoTE4k.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BM7i27Wh.js → usp-line-BBd1wKwW-Bnk1sVWO.js} +1 -1
- package/dist/assets/{utils-GKlM-QyI.js → utils-THjX-QSp.js} +1 -1
- package/dist/assets/{zeni-epic-state-D5MWzrZ6.js → zeni-epic-state-BNpJ2txa.js} +7 -7
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AccountInfoPage-XrG_Cs9Q-BjKmCZKu.js +0 -18
- package/dist/assets/AddAddressForCardDrawer-BjL_E7Jt-BqV5wj25.js +0 -6
- package/dist/assets/ApAgingDetailPage-BdNgdMZi-DJq3tAqz.js +0 -46
- package/dist/assets/AppDrawerContent-DpoXoHZU-DR5CGNls.js +0 -92
- package/dist/assets/ArAgingDetailPage-Cl5P98Kf-BFShKipH.js +0 -46
- package/dist/assets/BalancesInsightWithToolTip-B0YZt5m3-DjqAngZd.js +0 -38
- package/dist/assets/ChargeCardStatementsPage-B-XeiOnb-DLIBzbq-.js +0 -60
- package/dist/assets/ConfettiBurst-BCkkcLA1-CXjExpzp.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-C_wG7Q8O-BR0kgKEZ.js +0 -1
- package/dist/assets/DomesticWireDetailsPage-QhDoZX5h-BgrN8fs3.js +0 -21
- package/dist/assets/EditPeoplePage-DD6wg7xI-_tzQnjsD.js +0 -55
- package/dist/assets/EntityDetailPage-levtFHaa-DA4k2cnL.js +0 -18
- package/dist/assets/InsightsSection-Cwd2cIP2-BnHpqv9D.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-H6gzEDg6-fjU1XMHZ.js +0 -65
- package/dist/assets/InviteFormPage-D56FOZEG-CMUlIs-X.js +0 -312
- package/dist/assets/InvitePeoplePage-D-XyBXhF-D4mjC05U.js +0 -12
- package/dist/assets/InvoiceUploadSection-DaJWTI5B-B6XbuKee.js +0 -140
- package/dist/assets/LabeledAddressValueField-B5eyO5LD-1yB-ANDh.js +0 -45
- package/dist/assets/LabeledDocumentField-H4V0rHKt-CfD-D1mp.js +0 -41
- package/dist/assets/LockCardPage-DIZ-1K3B-DoKRqXz4.js +0 -623
- package/dist/assets/MagicLinkACHDetailsPage-DdWD8eZA-BQF6ZaYY.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-fC1L-fjF-D0AcUoNI.js +0 -31
- package/dist/assets/MailingDetailsSection-_5DUMAiO-CN0GY3U_.js +0 -21
- package/dist/assets/NoDataTable-BtEKMdpl-5T10t8Bw.js +0 -8
- package/dist/assets/PandLWithForecastPage-GXzJgAFS-BaOt9ro5.js +0 -107
- package/dist/assets/ReportsPage-CqCp4w8y-DJ_z1O-2.js +0 -237
- package/dist/assets/RoleWithToolTip-Cu0ixEhp-CbBWt2cn.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-9XyukA76-CCXXH9fn.js +0 -37
- package/dist/assets/ScheduleDetailsPage-CkMIJDcP-Pzn7oHhr.js +0 -37
- package/dist/assets/ScheduleSequenceTable-Dgb-vhXK-B0K_kZdi.js +0 -324
- package/dist/assets/SignInScreen-DTqfud4B.js +0 -1
- package/dist/assets/StatementsPage-BO3P2kKJ-Cx3q3Xoo.js +0 -58
- package/dist/assets/TransactionListPage-DqY2twbP-CMg44It6.js +0 -35
- package/dist/assets/TreasuryTaxLetterPage-BT_G7d-D-CkFo0wcb.js +0 -58
- package/dist/assets/Vendor2FAPopup-CH44a6ok-C6c_8fAz.js +0 -1
- package/dist/assets/VendorACHDetailsPage-YgMvjx2w-C_ciXBuk.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-CRsOlxyy-CCULw521.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-D0Fnosfi-7sDGJOsu.js +0 -1
- package/dist/assets/VideoPopup-Dxc93Pwx-4nt_V7AU.js +0 -31
- package/dist/assets/ZeniAccountSetupPage-CxYZzfiZ-r8QQEMaF.js +0 -36
- package/dist/assets/analyticsHelper-C5rhp2_h.js +0 -1
- package/dist/assets/downloadPdf-CkATqzUx-Dc-uQGNf.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DcYetEpP-CsO00r3l.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-CExgzViB-CdHm7xiF.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-D02PFsN8-CpAel0E8.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CoqcGXTM-BAVPnmdP.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-D0zXBGho-BFFFE8UF.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-_7RU9lwp-BmunaChV.js +0 -1
- package/dist/assets/toCOABalancesWithID-C-wpsGXP-BaAwN-7v.js +0 -1
- package/dist/assets/toChartData-C-X2WzOE-DjbtnWdG.js +0 -1
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import{ax as s,O as r,V as t,b7 as l,o as n,ah as c,c as a,n as d}from"./index-uV9C0lq0.js";import{n as i}from"./mui-CgOsYmSB.js";import"./sentry-rcvLxAzW.js";import"./liveblocks-PPyiYwu4.js";import"./core-DpPwA1EY.js";import"./recharts-B5a8DAKj.js";import"./zeni-epic-state-D5MWzrZ6.js";import"./lottie-CwowL814.js";import"./analytics-R4GG3mhr.js";import"./lexical-WuSd_Y3l.js";import"./utils-GKlM-QyI.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]="f7e8769b-f005-4209-8d7b-e02c2ffa1cdb",e._sentryDebugIdIdentifier="sentry-dbid-f7e8769b-f005-4209-8d7b-e02c2ffa1cdb")}catch{}})();const S=()=>{const[e]=s("Confetti"),o=r.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(p,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(u,{children:t.jsx(b,{})}),t.jsxs(f,{children:[t.jsx(m,{children:o.successTitle}),t.jsx(g,{children:o.successNote})]})]}):null},p=i.div`
|
|
2
|
-
z-index: 999;
|
|
3
|
-
height: 100vh;
|
|
4
|
-
width: 100%;
|
|
5
|
-
background-color: ${e=>e.theme.colors.background};
|
|
6
|
-
position: relative;
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
justify-content: center;
|
|
10
|
-
`,f=i.div`
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
align-items: center;
|
|
14
|
-
justify-content: center;
|
|
15
|
-
opacity: 80%;
|
|
16
|
-
margin: 0 ${n.sp4};
|
|
17
|
-
`,m=i(a)`
|
|
18
|
-
color: ${e=>e.theme.colors.primary};
|
|
19
|
-
text-align: center;
|
|
20
|
-
`,g=i(d)`
|
|
21
|
-
color: ${e=>e.theme.colors.hero};
|
|
22
|
-
text-align: center;
|
|
23
|
-
`,u=i.div`
|
|
24
|
-
position: absolute;
|
|
25
|
-
top: ${n.sp5};
|
|
26
|
-
left: ${n.sp5};
|
|
27
|
-
background-color: ${e=>e.theme.colors.background};
|
|
28
|
-
`,b=i(c)`
|
|
29
|
-
color: ${e=>e.theme.colors.primary};
|
|
30
|
-
height: ${n.sp4};
|
|
31
|
-
`;export{S as default};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import{K as c,O as u,x as r,V as s,o as d,cQ as h,bb as $,u as a}from"./index-uV9C0lq0.js";import{n as g}from"./mui-CgOsYmSB.js";import{C as w}from"./LabeledAddressValueField-B5eyO5LD-1yB-ANDh.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]="01fda527-fdfd-4d1a-a235-58fb60dcd6f7",e._sentryDebugIdIdentifier="sentry-dbid-01fda527-fdfd-4d1a-a235-58fb60dcd6f7")}catch{}})();const o={largeLabelWidth:new r(120,140,220),paddingTopBottom:new r(a[3],a[3]),marginRight:new r(a[3],a[8]),marginLeft:new r(a[3],a[6]),marginLeftTitle:new r(a[4],a[6])},D=({sectionId:e,addressToEdit:i,addressType:n,isDisabled:f,onAddressClick:m})=>{const l=c(),t=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,p=o.largeLabelWidth.value(l);return s.jsxs(s.Fragment,{children:[s.jsx(v,{size:l,children:t.addressDetailTitle}),s.jsx(x,{size:l,children:s.jsx(w,{isDisabled:f,label:{label:t.address,width:p},addressValueField:{name:y(e,"mailingAddress"),placeholder:h(t.address),defaultValue:i,registerOptions:{validate:b=>b!=null},onClick:()=>{m(n)}},additionalInfoLabel:t.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${d.sp2} ${d.sp2} ${d.sp2} ${d.sp0}`},hasHoverBorder:!1})})]})},y=(e,i)=>`${e}.${i}`,x=g.div`
|
|
2
|
-
width: auto;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
6
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
7
|
-
box-shadow: ${e=>`${d.sp0} 2px ${d.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
8
|
-
border-radius: ${d.sp2};
|
|
9
|
-
margin-left: ${e=>o.marginLeft.valuePx(e.size)};
|
|
10
|
-
margin-right: ${e=>o.marginRight.valuePx(e.size)};
|
|
11
|
-
margin-top: ${e=>o.paddingTopBottom.valuePx(e.size)};
|
|
12
|
-
margin-bottom: ${e=>o.paddingTopBottom.valuePx(e.size)};
|
|
13
|
-
&:hover {
|
|
14
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
15
|
-
}
|
|
16
|
-
`,v=g($)`
|
|
17
|
-
color: ${e=>e.theme.colors.primary};
|
|
18
|
-
margin-bottom: ${d.sp3};
|
|
19
|
-
margin-top: ${d.sp5};
|
|
20
|
-
margin-left: ${e=>o.marginLeftTitle.valuePx(e.size)};
|
|
21
|
-
`;export{D as T};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import{V as n,o as t,f as i}from"./index-uV9C0lq0.js";import{n as s}from"./mui-CgOsYmSB.js";import{r as o,o as r}from"./graphic-no-data-l-DU4J8fDt-CDoGR872.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="c6dc7a03-95a2-48e7-adbc-d5c9340e0a44",e._sentryDebugIdIdentifier="sentry-dbid-c6dc7a03-95a2-48e7-adbc-d5c9340e0a44")}catch{}})();const a=s.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
width: 100%;
|
|
4
|
-
padding: ${t.sp8} ${t.sp0} ${t.sp8} ${t.sp0};
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
align-items: center;
|
|
7
|
-
justify-content: center;
|
|
8
|
-
`;function c(){switch(i().mode){case"light":return n.jsx(r,{width:"120px",height:"60px"});case"dark":default:return n.jsx(o,{width:"120px",height:"60px"})}}function y(){return n.jsx(a,{children:n.jsx(c,{})})}export{y as d};
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import{V as o,J as N,f as A,K as L,bE as ne,O as c,a as re,ac as F,L as ie,w as ae,x as W,o as s,cg as ce,aG as le,aX as de,c as ge,cH as pe,bA as me,u as $,cI as he,aV as fe,aW as ue,bc as xe,bN as we}from"./index-uV9C0lq0.js";import{a as _}from"./sentry-rcvLxAzW.js";import{n as r}from"./mui-CgOsYmSB.js";import{L as Se}from"./NavBarWithPicker-BpjOj0Mh-B0IyZ-5p.js";import{m as je}from"./analyticsHelper-BznLUYs2-PwxmAlPi.js";import{X as be}from"./TimeframeSwitcherWithToggle-CMzQ2qRz-CKP0fk1A.js";import{X as ye,z as $e}from"./CollapsableReportTable-CcyH-50D-D4qh_Iwq.js";import{M as R}from"./usp-line-BBd1wKwW-BM7i27Wh.js";import{FT as Ce,FU as Pe}from"./zeni-epic-state-D5MWzrZ6.js";import{D as ke,T as ze,C as Le}from"./mapSectionWithAcOnlyToTreeNode-CExgzViB-CdHm7xiF.js";import{s as X}from"./mapTimeframeBalancesToTreeNode-D0zXBGho-BFFFE8UF.js";import"./liveblocks-PPyiYwu4.js";import"./core-DpPwA1EY.js";import"./recharts-B5a8DAKj.js";import"./lottie-CwowL814.js";import"./analytics-R4GG3mhr.js";import"./lexical-WuSd_Y3l.js";import"./utils-GKlM-QyI.js";import"./TimeframeSwitcher-D0ujXDLd-DkH3ill0.js";import"./AccountRow-2vAGu-jm-Ban2UP27.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]="aa8bfc8c-0d23-4d1c-a72c-2593b0732691",e._sentryDebugIdIdentifier="sentry-dbid-aa8bfc8c-0d23-4d1c-a72c-2593b0732691")}catch{}})();const H="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",K="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",ve=r.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex: 1 1 auto;
|
|
4
|
-
min-height: 100%;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
7
|
-
`,Te=r.div`
|
|
8
|
-
padding: ${e=>e.windowSize==="small"?`${s.sp0} ${s.sp3}`:`${s.sp0} ${s.sp8}`};
|
|
9
|
-
text-align: center;
|
|
10
|
-
`,Ie=r(pe)`
|
|
11
|
-
max-width: 600px;
|
|
12
|
-
margin: auto;
|
|
13
|
-
padding: ${s.sp7} ${s.sp0};
|
|
14
|
-
color: ${e=>e.theme.colors.primary};
|
|
15
|
-
`,Ae=r(ge)`
|
|
16
|
-
max-width: 600px;
|
|
17
|
-
margin: auto;
|
|
18
|
-
padding: ${s.sp5} ${s.sp0};
|
|
19
|
-
color: ${e=>e.theme.colors.primary};
|
|
20
|
-
`,Y=r.div`
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
23
|
-
align-items: center;
|
|
24
|
-
justify-content: center;
|
|
25
|
-
margin-bottom: ${e=>e.windowSize==="small"?s.sp3:s.sp4};
|
|
26
|
-
`,Me=r.div``,J=r.div`
|
|
27
|
-
width: ${e=>e.windowSize==="small"?"auto":"408px"};
|
|
28
|
-
display: flex;
|
|
29
|
-
flex-direction: column;
|
|
30
|
-
`,q=r.div`
|
|
31
|
-
width: ${e=>e.windowSize==="small"?"100%":"calc(100% - 408px)"};
|
|
32
|
-
overflow: hidden;
|
|
33
|
-
max-width: 712px;
|
|
34
|
-
display: flex;
|
|
35
|
-
`,Q=r.div`
|
|
36
|
-
margin-left: ${e=>e.windowSize==="small"?s.sp0:s.sp6};
|
|
37
|
-
margin-bottom: ${e=>e.windowSize==="small"?s.sp4:s.sp0};
|
|
38
|
-
background: ${e=>e.theme.colors.background};
|
|
39
|
-
border-radius: 12px;
|
|
40
|
-
border: ${e=>`1px solid ${e.theme.colors.grey5}`};
|
|
41
|
-
padding: 15px;
|
|
42
|
-
`,C=r.div`
|
|
43
|
-
border-radius: ${s.sp12};
|
|
44
|
-
border: ${e=>`1px solid ${e.theme.colors.grey2}`};
|
|
45
|
-
padding: ${e=>e.windowSize==="small"?`${s.sp2} ${s.sp4} ${s.sp2} ${s.sp0}`:`${s.sp3} ${s.sp5} ${s.sp3} ${s.sp0}`};
|
|
46
|
-
background: ${e=>e.theme.colors.grey5};
|
|
47
|
-
position: relative;
|
|
48
|
-
margin-bottom: ${s.sp3};
|
|
49
|
-
display: flex;
|
|
50
|
-
align-items: center;
|
|
51
|
-
text-align: start;
|
|
52
|
-
box-sizing: border-box;
|
|
53
|
-
`,O=r(xe)`
|
|
54
|
-
color: ${e=>e.theme.colors.champion};
|
|
55
|
-
`,B=r(ue)`
|
|
56
|
-
color: ${e=>e.theme.colors.champion};
|
|
57
|
-
`,V=r(fe)`
|
|
58
|
-
color: ${e=>e.theme.colors.champion};
|
|
59
|
-
`,E=r(he)`
|
|
60
|
-
color: ${e=>e.theme.colors.champion};
|
|
61
|
-
`,P=r.div``,k=r.div`
|
|
62
|
-
padding-left: ${s.sp3};
|
|
63
|
-
`,Z=r(R)`
|
|
64
|
-
color: ${e=>e.theme.colors.graphColor18};
|
|
65
|
-
`,ee=r(R)`
|
|
66
|
-
color: ${e=>e.theme.colors.graphColor25};
|
|
67
|
-
`,oe=r(R)`
|
|
68
|
-
color: ${e=>e.theme.colors.graphColor04};
|
|
69
|
-
`,Ne=r(me)`
|
|
70
|
-
margin: ${s.sp3} auto;
|
|
71
|
-
max-width: 422px;
|
|
72
|
-
color: ${e=>e.theme.colors.hero};
|
|
73
|
-
`,Fe=()=>{const e=A(),t=L();return o.jsxs(Y,{windowSize:t,children:[o.jsx(q,{windowSize:t,children:o.jsx(Q,{windowSize:t,children:e.mode==="dark"?o.jsx("img",{src:K,alt:"forecast-promo",style:{width:"100%",height:"auto"}}):o.jsx("img",{src:H,alt:"forecast-promo",style:{width:"100%",height:"auto"}})})}),o.jsxs(J,{windowSize:t,children:[o.jsxs(C,{windowSize:t,children:[o.jsx(P,{children:o.jsx(Z,{})}),o.jsxs(k,{children:[o.jsx(E,{children:c.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),o.jsx(V,{children:c.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]})]}),o.jsxs(C,{windowSize:t,children:[o.jsx(P,{children:o.jsx(ee,{})}),o.jsxs(k,{children:[o.jsx(E,{children:c.getLocalizedStrings().forecastPromoPage.trackText.bold}),o.jsx(V,{children:c.getLocalizedStrings().forecastPromoPage.trackText.regular})]})]}),o.jsxs(C,{windowSize:t,children:[o.jsx(P,{children:o.jsx(oe,{})}),o.jsxs(k,{children:[o.jsx(E,{children:c.getLocalizedStrings().forecastPromoPage.preciseText.bold}),o.jsx(V,{children:c.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})]})},_e=()=>{const e=A(),t=L();return o.jsxs(Y,{windowSize:t,children:[o.jsxs(J,{windowSize:t,children:[o.jsxs(C,{windowSize:t,style:{width:"408px"},children:[o.jsx(P,{children:o.jsx(Z,{})}),o.jsxs(k,{children:[o.jsx(B,{children:c.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),o.jsx(O,{children:c.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]})]}),o.jsxs(C,{windowSize:t,style:{width:"275px",alignSelf:"end"},children:[o.jsx(P,{children:o.jsx(ee,{})}),o.jsxs(k,{children:[o.jsx(B,{children:c.getLocalizedStrings().forecastPromoPage.trackText.bold}),o.jsx(O,{children:c.getLocalizedStrings().forecastPromoPage.trackText.regular})]})]}),o.jsxs(C,{windowSize:t,style:{width:"408px"},children:[o.jsx(P,{children:o.jsx(oe,{})}),o.jsxs(k,{children:[o.jsx(B,{children:c.getLocalizedStrings().forecastPromoPage.preciseText.bold}),o.jsx(O,{children:c.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]}),o.jsx(q,{windowSize:t,children:o.jsx(Q,{windowSize:t,children:e.mode==="dark"?o.jsx("img",{src:K,alt:"forecast-promo",style:{width:"640px",height:"402px"}}):o.jsx("img",{src:H,alt:"forecast-promo",style:{width:"640px",height:"402px"}})})})]})},Oe=({meetingUrl:e,onBackClick:t,onClickMenuIcon:n})=>{const a=A(),l=L(),d=()=>{window.open(e.toString(),"_blank")};return o.jsxs(ve,{"data-testid":F("forecast-promo-page"),children:[o.jsx(ne,{title:c.getLocalizedStrings().forecastPromoPage.title,backgroundColor:a.colors.grey4,onBackClick:t,showMenuIcon:l==="medium-compact"||l==="small",onClickMenuIcon:n,source:"ForecastPromoPage"}),o.jsxs(Te,{"data-testid":F("forecast-promo-container"),windowSize:l,children:[l==="small"?o.jsx(Ae,{children:c.getLocalizedStrings().forecastPromoPage.promoText}):o.jsx(Ie,{children:c.getLocalizedStrings().forecastPromoPage.promoText}),l==="small"?o.jsx(Fe,{}):o.jsx(_e,{}),o.jsxs(Me,{"data-testid":F("forecast-promo-bottom-container"),children:[o.jsx(re,{variant:"primary",label:c.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:d}),o.jsx(Ne,{children:c.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})]})};function Be(e,t,n=!0){const a=c.getLocalizedStrings().reports,l=e.filter.balancesRange.numberOfPeriods,d=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?e.sections.expenses.balances:e.sections.income!=null?e.sections.income.balances:[],m=X({balances:d,config:t}),p=[];return p.push(m),e.idsInOrder.forEach(i=>{if(Ce(i)===!0){const u=e.sections[i];if(u==null)return;u.accountGroups.length>0?p.push(ke({section:e.sections[i],sectionType:i,numOfBalances:l,title:a.sections[i],isLastNode:!0,config:t})):p.push(ze({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:l,title:a.sections[i],isLastNode:!0,config:t}))}else Pe(i)===!0&&p.push(Le({calculatedSection:e.calculatedSections[i],numOfBalances:l,title:a.sections[i],isLastNode:!0,config:t}))}),{config:t,headerNodes:n?[m]:[],contentNodes:p}}function Ve(e,t,n,a=!0){Object.assign(e.config,t);const l=n.sections.expenses.balances.length>0?[...n.sections.expenses.balances,...n.sections.expenses.additionalBalances]:[...n.sections.income.balances,...n.sections.income.additionalBalances],d=X({balances:l,config:t,nodeId:e.contentNodes[0].id}),m=e.contentNodes.slice(1);return m.forEach(p=>te(p,t)),{config:t,headerNodes:a?[d]:[],contentNodes:[d,...m]}}function te(e,t){Object.assign(e.reportElementData.config,t),e.children.forEach(n=>te(n,t))}const I={contentPaddingLeft:new W($[3],$[3],$[8]),contentPaddingRight:new W($[3],$[3],$[8])},Ee=r.div`
|
|
74
|
-
display: flex;
|
|
75
|
-
flex: 1 1 auto;
|
|
76
|
-
min-height: 100%;
|
|
77
|
-
flex-direction: column;
|
|
78
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
79
|
-
`,Re=r.div`
|
|
80
|
-
display: flex;
|
|
81
|
-
flex: 1 1 auto;
|
|
82
|
-
flex-direction: column;
|
|
83
|
-
width: 99.9%;
|
|
84
|
-
margin-top: ${s.sp2};
|
|
85
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
86
|
-
`,De=r.div`
|
|
87
|
-
display: flex;
|
|
88
|
-
width: 100%;
|
|
89
|
-
flex: 1;
|
|
90
|
-
height: 100%;
|
|
91
|
-
flex-direction: row;
|
|
92
|
-
justify-content: center;
|
|
93
|
-
align-items: center;
|
|
94
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
95
|
-
`,U=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?o.jsx(De,{children:o.jsx(ie,{size:"ExtraLarge",start:!0})}):null,We=r.div`
|
|
96
|
-
display: flex;
|
|
97
|
-
width: 100%;
|
|
98
|
-
flex-direction: column;
|
|
99
|
-
padding-left: ${e=>e.paddingLeft}px;
|
|
100
|
-
padding-right: ${e=>e.paddingRight}px;
|
|
101
|
-
`,Ue=r.div`
|
|
102
|
-
display: flex;
|
|
103
|
-
width: 100%;
|
|
104
|
-
align-items: center;
|
|
105
|
-
justify-content: center;
|
|
106
|
-
margin-bottom: ${s.sp3};
|
|
107
|
-
`,Ge=({forecastList:e,selectedForecastIndex:t,onForecastSelectionChanged:n,vsActualOn:a,onVsActualChanged:l,selectedTimeframe:d,onTimeframeChanged:m,onBackClick:p,isPandLReportFetching:i,onClickMenuIcon:u})=>{const h=L(),f=[];for(let g=0;g<e.length;++g)f.push(`${g}`);const x={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:f,valueToLabel:g=>e[parseInt(g)]?.name??"",selectedValue:`${t}`,titleTextStyle:ae.largeMedium,onPickerSelectionChanged:g=>{if(g!=null){const z=e[parseInt(g)];n?.(z.id,parseInt(g))}},styles:{justifyContent:h==="small"?"left":"center"},isPickerDisabled:i},onBackClick:p,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:u},b={toggle:{label:c.getLocalizedStrings().reports.forecast.vsActual,isOn:a,onValueChanged:l},timeframe:{allowedTimeframes:["month","quarter","year"],selectedTimeframe:d,onTimeframeSelectionChanged:g=>m?.(g)}};return o.jsxs(We,{paddingLeft:I.contentPaddingLeft.value(h),paddingRight:I.contentPaddingRight.value(h),children:[o.jsx(Se,{...x}),i?"":o.jsx(Ue,{children:o.jsx(be,{...b})})]})},Xe=({report:e,type:t,isActualVsForecastOn:n,compareMode:a,onAccountBalanceClick:l,onCompareModeChanged:d,scrollPosition:m,onTableScroll:p,nodeOpenStatus:i,onNodeCollapseToggled:u})=>{const h=A(),f=L(),[x,b]=_.useState(void 0),[g,z]=_.useState(void 0),y=!(f==="small"||f==="medium-compact"),M=n===!0?"actual_vs_forecast":"none",v=`forecast.${e.reportId}`;return ce({componentName:v,enabled:e.fetchState==="Completed"}),_.useEffect(()=>{const S={reportId:`${e.reportId}+${e.forecast?.id}`,displayOrder:"ascending_date",reportFormat:"more_detailed",mode:M,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:$e(t)===!0&&n===!1?"filter_forecast_nil_balances":"filter_actual_forecast_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:we()};if(x==null||!le(g,e)){const w=Be(e,S,y);z(e),b(w)}else{const w=Ve(x,S,e,y);b(w)}},[t,n,e]),x!=null?o.jsx(ye,{backgroundColor:new de(h.colors.grey4),rootNodes:x,type:t,compareMode:a,isSticky:{isStickyHeader:y,isStickyName:y},treeNodePadding:{left:I.contentPaddingLeft.value(f),right:I.contentPaddingRight.value(f)},onAccountClick:l==null?void 0:(S,w,T)=>{l(S,w,T)},onCompareModeChanged:d,scrollPosition:m,onScroll:p,nodeOpenStatus:i,onNodeCollapseToggled:u}):null};function uo({selectedTimeframe:e,isForecastVsActualOn:t,compareMode:n,forecastList:a,selectedForecast:l,pandLreport:d,type:m,meetingUrl:p,analytics:i,onForecastSelectionChanged:u,onTimeframeChanged:h,onForecastVsActualsCompareToggle:f,onAccountBalanceClick:x,onCompareModeChanged:b,scrollPosition:g,onTableScroll:z,nodeOpenStatus:y,onNodeCollapseToggled:M,onBackClick:v,onClickMenuIcon:S}){const w=[a.fetchState,d.fetchState],T=l?.index??-1;return se(w)===!0||a.fetchState==="Completed"&&a.forecasts.length===0?o.jsx(Oe,{meetingUrl:p,onBackClick:v,onClickMenuIcon:S}):G([a.fetchState])===!0?o.jsx(U,{fetchState:Ke(w)}):o.jsxs(Ee,{children:[o.jsx(Ge,{forecastList:a.forecasts,selectedForecastIndex:T,onForecastSelectionChanged:(j,D)=>{i?.trackForecastSwitch(N.Event.profitAndLossWithForecast,a.forecasts[D].name),u?.(j,D)},vsActualOn:t,onVsActualChanged:j=>{i?.trackForecastVsActualMode(N.Event.profitAndLossWithForecast,a.forecasts[T].name,j),f?.(j)},selectedTimeframe:e,onTimeframeChanged:j=>{i?.trackTimeframeSwitch(je(j),N.Event.profitAndLossWithForecast),h?.(j)},onBackClick:v,isPandLReportFetching:G([d.fetchState]),onClickMenuIcon:S}),d.fetchState==="In-Progress"?o.jsx(U,{fetchState:"In-Progress"}):o.jsx(Re,{children:o.jsx(Xe,{report:d,type:m,isActualVsForecastOn:t,compareMode:n,onAccountBalanceClick:x,onCompareModeChanged:b,scrollPosition:g,onTableScroll:z,nodeOpenStatus:y,onNodeCollapseToggled:M})})]})}const He=e=>e.reduce((t,n)=>t===!0&&n==="Completed",!0),se=e=>e.reduce((t,n)=>t===!0||n==="Error",!1),G=e=>e.reduce((t,n)=>t===!0||n==="Not-Started"||n==="In-Progress",!1),Ke=e=>He(e)===!0?"Completed":se(e)===!0?"Error":"In-Progress";export{uo as default,G as isAnyInProgress};
|
|
@@ -1,237 +0,0 @@
|
|
|
1
|
-
import{K as Q,f as ee,O as A,ay as $e,V as a,bQ as Fe,ac as $,bF as je,bE as Ie,o as y,aV as Me,L as Pe,x as V,bR as Ve,u as L,aq as ae,J as I,bS as ie,ak as te,bT as me,aG as ge,I as De,aX as Ee,an as be,au as ze,bN as Ue}from"./index-uV9C0lq0.js";import{a as N,P as _e}from"./sentry-rcvLxAzW.js";import{n as m}from"./mui-CgOsYmSB.js";import{bg as re,FC as Ye,FL as We,FM as Ge,FN as W,FO as He,FP as Ze,FQ as Xe,FR as qe,FS as Je,FT as se,FU as oe,FV as ye}from"./zeni-epic-state-D5MWzrZ6.js";import{m as G,l as q}from"./analyticsHelper-BznLUYs2-PwxmAlPi.js";import{b as Ke}from"./ReportTableViewSelector-NmHJk-6O-Bo6jFRe0.js";import{S as Z,y as Qe,M as et,$ as tt,v as st}from"./TimeRangeSwitcher-CXt00my3-kyL42Suj.js";import{X as ot}from"./TimeframeSwitcherWithToggle-CMzQ2qRz-CKP0fk1A.js";import{DownloadOverlayButton as nt}from"./DownloadOverlay-GFsPIkgY-CIatX2-l.js";import{F as at,X as it,J as F,y as we}from"./CollapsableReportTable-CcyH-50D-D4qh_Iwq.js";import{D as xe,T as Se,C as X,L as rt,g as Ce}from"./mapSectionWithAcOnlyToTreeNode-CExgzViB-CdHm7xiF.js";import{s as ne}from"./mapTimeframeBalancesToTreeNode-D0zXBGho-BFFFE8UF.js";import{d as ct,l as lt}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-_7RU9lwp-BmunaChV.js";import{d as dt}from"./mapLoadingInProgressToTreeNode-DcYetEpP-CsO00r3l.js";import"./liveblocks-PPyiYwu4.js";import"./core-DpPwA1EY.js";import"./recharts-B5a8DAKj.js";import"./lottie-CwowL814.js";import"./analytics-R4GG3mhr.js";import"./lexical-WuSd_Y3l.js";import"./utils-GKlM-QyI.js";import"./TimeframeSwitcher-D0ujXDLd-DkH3ill0.js";import"./page-detail-CWX5S47F-npur6fd8.js";import"./AccountRow-2vAGu-jm-Ban2UP27.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]="5c982154-213a-4763-89bb-9d4f7f42f51d",e._sentryDebugIdIdentifier="sentry-dbid-5c982154-213a-4763-89bb-9d4f7f42f51d")}catch{}})();const pt=m.div`
|
|
2
|
-
position: relative;
|
|
3
|
-
width: 100%;
|
|
4
|
-
`,ut=m.div`
|
|
5
|
-
display: flex;
|
|
6
|
-
width: 100%;
|
|
7
|
-
flex-direction: row;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
align-items: center;
|
|
10
|
-
min-height: ${Z}px;
|
|
11
|
-
box-sizing: content-box;
|
|
12
|
-
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
13
|
-
border-bottom: 1px solid ${e=>e.theme.colors.grey3};
|
|
14
|
-
`,ht=m.div`
|
|
15
|
-
position: relative;
|
|
16
|
-
width: auto;
|
|
17
|
-
max-width: 100%;
|
|
18
|
-
`,ft=m(te)`
|
|
19
|
-
color: ${e=>e.theme.colors.primary};
|
|
20
|
-
`,mt=m(me)`
|
|
21
|
-
color: ${e=>e.theme.colors.hero};
|
|
22
|
-
width: 12px;
|
|
23
|
-
height: 12px;
|
|
24
|
-
flex-shrink: 0;
|
|
25
|
-
`,gt=m.div`
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
justify-content: center;
|
|
29
|
-
gap: ${y.sp2};
|
|
30
|
-
min-height: ${Z}px;
|
|
31
|
-
padding: 0 ${y.sp3};
|
|
32
|
-
box-sizing: border-box;
|
|
33
|
-
cursor: pointer;
|
|
34
|
-
/* Class-based hover targets: nested styled component refs need @emotion/babel-plugin in app builds */
|
|
35
|
-
&:hover .reports-period-slider-label {
|
|
36
|
-
color: ${e=>e.theme.colors.primary};
|
|
37
|
-
}
|
|
38
|
-
&:hover .reports-period-slider-chevron {
|
|
39
|
-
color: ${e=>e.theme.colors.primary};
|
|
40
|
-
}
|
|
41
|
-
`,bt=m.div`
|
|
42
|
-
display: flex;
|
|
43
|
-
align-items: center;
|
|
44
|
-
height: ${y.sp5};
|
|
45
|
-
box-sizing: border-box;
|
|
46
|
-
padding: 0 ${y.sp3};
|
|
47
|
-
border: 1px solid ${e=>e.theme.colors.grey2};
|
|
48
|
-
border-radius: ${y.sp1};
|
|
49
|
-
background: ${e=>e.theme.colors.grey5};
|
|
50
|
-
cursor: pointer;
|
|
51
|
-
min-width: 0;
|
|
52
|
-
justify-content: space-between;
|
|
53
|
-
gap: ${y.sp2};
|
|
54
|
-
&:hover {
|
|
55
|
-
border-color: ${e=>e.theme.colors.primary};
|
|
56
|
-
}
|
|
57
|
-
`,_t=m(te)`
|
|
58
|
-
color: ${e=>e.theme.colors.hero};
|
|
59
|
-
overflow: hidden;
|
|
60
|
-
text-overflow: ellipsis;
|
|
61
|
-
white-space: nowrap;
|
|
62
|
-
`,yt=m(me)`
|
|
63
|
-
color: ${e=>e.theme.colors.hero};
|
|
64
|
-
width: 12px;
|
|
65
|
-
height: 12px;
|
|
66
|
-
flex-shrink: 0;
|
|
67
|
-
`,Oe=m.div`
|
|
68
|
-
position: absolute;
|
|
69
|
-
top: calc(100% + ${y.sp1});
|
|
70
|
-
left: 0;
|
|
71
|
-
z-index: 10;
|
|
72
|
-
background: ${e=>e.theme.colors.grey5};
|
|
73
|
-
border: 1px solid ${e=>e.theme.colors.grey2};
|
|
74
|
-
border-radius: ${y.sp1};
|
|
75
|
-
padding: ${y.sp3};
|
|
76
|
-
min-width: 260px;
|
|
77
|
-
`,wt=m(Oe)`
|
|
78
|
-
left: 50%;
|
|
79
|
-
transform: translateX(-50%);
|
|
80
|
-
`,xt=m.div`
|
|
81
|
-
display: flex;
|
|
82
|
-
flex-direction: column;
|
|
83
|
-
gap: ${y.sp3};
|
|
84
|
-
`,St=m.div`
|
|
85
|
-
display: flex;
|
|
86
|
-
align-items: center;
|
|
87
|
-
gap: ${y.sp2};
|
|
88
|
-
padding-bottom: ${y.sp2};
|
|
89
|
-
border-bottom: 1px solid ${e=>e.theme.colors.grey3};
|
|
90
|
-
`,ce=m.div`
|
|
91
|
-
display: flex;
|
|
92
|
-
flex-direction: column;
|
|
93
|
-
flex: 1;
|
|
94
|
-
cursor: pointer;
|
|
95
|
-
padding: ${y.sp2} ${y.sp3};
|
|
96
|
-
border-radius: ${y.sp1};
|
|
97
|
-
border: 1px solid
|
|
98
|
-
${e=>e.active?e.theme.colors.primary:e.theme.colors.grey3};
|
|
99
|
-
background: ${e=>e.active?e.theme.colors.background:"transparent"};
|
|
100
|
-
`,le=m(te)`
|
|
101
|
-
color: ${e=>e.theme.colors.hero};
|
|
102
|
-
`,de=m(be)`
|
|
103
|
-
color: ${e=>e.theme.colors.primary};
|
|
104
|
-
`,Ct=m(be)`
|
|
105
|
-
color: ${e=>e.theme.colors.hero};
|
|
106
|
-
flex-shrink: 0;
|
|
107
|
-
`,Ot=m.div`
|
|
108
|
-
display: flex;
|
|
109
|
-
flex-direction: column;
|
|
110
|
-
`,pe=m.div`
|
|
111
|
-
display: flex;
|
|
112
|
-
flex-wrap: wrap;
|
|
113
|
-
`,Rt=m.div`
|
|
114
|
-
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
115
|
-
width: 100%;
|
|
116
|
-
margin: ${y.sp2} 0;
|
|
117
|
-
`;function H(e){const{dateFormat:{analytics:t}}=A.getLocalizedStrings();return e.startDate.format(t.YYYYFormat)}function Y(e,t,s){return at(s,e,t)}function vt(e,t,s,n){return t==="month"?e.startDate.format(n):Y(e,t,s)}const At=({allTimeframeTicks:e,bookCloseDate:t,firstMonthOfFY:s,fromIndex:n,selectedTimeframe:o,toIndex:d,onFromSelected:u,onToSelected:c})=>{const{dateFormat:{analytics:r}}=A.getLocalizedStrings(),p=A.getLocalizedStrings().reports,[f,h]=N.useState("from"),i=[...new Set(e.map(H))],[l,S]=N.useState(()=>H(e[n]??e[0])),k=x=>{h(x),S(H(e[x==="from"?n:d]))},T=x=>{f==="from"?u(x):c(x)},v=e.map((x,R)=>({tick:x,index:R})).filter(({tick:x})=>H(x)===l),_=e.length-1,w=_>=0&&Ge(e[_]),C=Y(e[n],o,s),O=Y(e[d],o,s);return a.jsxs(xt,{children:[a.jsxs(St,{children:[a.jsxs(ce,{active:f==="from",onClick:()=>k("from"),children:[a.jsx(le,{children:p.periodRangeFrom}),a.jsx(de,{children:C})]}),a.jsx(Ct,{children:"→"}),a.jsxs(ce,{active:f==="to",onClick:()=>k("to"),children:[a.jsx(le,{children:p.periodRangeTo}),a.jsx(de,{children:O})]})]}),a.jsxs(Ot,{children:[a.jsx(pe,{children:i.map(x=>a.jsx(ie,{id:x,text:x,checked:x===l,textVariant:"small",onClick:R=>S(R)},x))}),a.jsx(Rt,{}),a.jsx(pe,{children:v.map(({tick:x,index:R})=>{const j=vt(x,o,s,r.MMMFormat),g=f==="from"?R===n:R===d,b=t!=null&&x.startDate.isAfter(t),B=R===_,U=b&&!(w&&B),D=b&&w&&B;return a.jsx(ie,{id:String(R),text:j,checked:g,starred:U,doubleStarred:D,textVariant:"small",onClick:M=>T(Number.parseInt(M,10))},R)})})]})]})};function Bt(e){const{allTimeframeTicks:t,bookCloseDate:s,firstMonthOfFY:n,onCOABalancesRangeChanged:o,onDateRangeAnalytics:d,isCompareMode:u,referrer:c,selectedCOABalancesRange:r,selectedTimeframe:p,variant:f="default"}=e,[h,i]=N.useState(!1),l=t??[];if(p==="week"||p==="free_range"||l.length===0)return null;const S=et(l,r),k=r.numberOfPeriods??1,T=S.startIndex,v=Math.max(0,Math.min(T,l.length-1)),_=Math.min(Math.max(v+S.length-1,0),l.length-1),w=Y(l[v],p,n),C=Y(l[_],p,n),O=(g,b)=>{const B=b-g+1,U={offsetFromEnd:l.length-1-b,length:B},D={startIndex:g,length:B},M=tt(l,U),Ne=st(l,D);M.thisPeriod!=null&&d!=null&&d(c,u,q(n,p,M.thisPeriod)),o(M,Ne),i(!1)},x=g=>{const b=g,B=Math.min(b+k-1,l.length-1);O(b,B)},R=g=>{const b=Math.min(v,g),B=Math.max(v,g);O(b,B)},j=h&&l.length>0?a.jsx(At,{allTimeframeTicks:l,bookCloseDate:s,firstMonthOfFY:n,selectedTimeframe:p,fromIndex:v,toIndex:_,onFromSelected:x,onToSelected:R}):null;return f==="timeRangeSlider"?a.jsx(ut,{children:a.jsx(ae,{onClickAway:()=>i(!1),children:a.jsxs(ht,{"data-testid":$("reports-period-range-calendar"),children:[a.jsxs(gt,{onClick:()=>i(g=>!g),children:[a.jsxs(ft,{className:"reports-period-slider-label",children:[w," – ",C]}),a.jsx(mt,{className:"reports-period-slider-chevron"})]}),j!=null?a.jsx(wt,{children:j}):null]})})}):a.jsx(ae,{onClickAway:()=>i(!1),children:a.jsxs(pt,{"data-testid":$("reports-period-range-calendar"),children:[a.jsxs(bt,{onClick:()=>i(g=>!g),children:[a.jsxs(_t,{children:[w," – ",C]}),a.jsx(yt,{})]}),j!=null?a.jsx(Oe,{children:j}):null]})})}function Re({section:e,sectionId:t,numOfBalances:s,config:n}){return we("no_filter",n.filterAccountsWithNilBalances,n.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(o=>kt({accountGroup:o,sectionType:t,numOfBalances:s,title:o.accountGroupName,isLastNode:!0,config:n}))}function kt({accountGroup:e,sectionType:t,numOfBalances:s,title:n,isLastNode:o,config:d}){const u=F("section",[],n+t),c={children:[],id:u,isLastNode:o,reportElementData:{element:{kind:"section",title:n,sectionType:t,data:e,numOfBalances:s},config:d}},r=we("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),p=r.map((f,h)=>Ce({account:f,sectionType:t,numOfBalances:s,title:f.account.accountName,config:d,isLastNode:h===r.length-1,parentNodeIDs:[u],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:r.length>1,hasChildren:f.children.length>0,isLastNode:h===r.length-1}]}}));return c.children.push(...p),c}function ve({sectionWithAcOnly:e,sectionType:t,numOfBalances:s,config:n}){return e.accounts.map((o,d)=>Ce({account:o,sectionType:t,numOfBalances:s,title:o.account.accountName,config:n,isLastNode:d===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:o.children.length>0,isLastNode:d===e.accounts.length-1}]}}))}function Ae({balances:e,config:t,nodeId:s}){return{children:[],id:s??F("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:t.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:t}}}function Lt(e){return e.reportId==="profit_and_loss_by_classes"&&"headerBalances"in e&&Array.isArray(e.headerBalances)}function J(e,t){for(const s of e)s.reportElementData={...s.reportElementData,config:t},J(s.children,t)}function Tt(e,t,s,n=!0){if(Object.assign(e.config,t),Lt(s))return J(e.headerNodes,t),J(e.contentNodes,t),{config:t,headerNodes:e.headerNodes,contentNodes:e.contentNodes};const o=Be(s),d=ne({balances:o,config:t});return{config:t,headerNodes:n?[d]:[],contentNodes:[d,...e.contentNodes.slice(1)]}}const Be=e=>{switch(e.reportId){case"profit_and_loss":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"profit_and_loss_by_classes":{const t=e,s=t.sections?.expenses?.balances,n=t.sections?.income?.balances,o=t.sections?.expenses?.additionalBalances??[],d=t.sections?.income?.additionalBalances??[];return(s?.length??0)>0?[...s,...o]:(n?.length??0)>0?[...n,...d]:[]}case"cash_flow":{const t=e;return[...t.calculatedSections.operatingActivitiesTotal.balances,...t.calculatedSections.operatingActivitiesTotal.additionalBalances]}case"balance_sheet":{const t=e;let s=[];return Object.keys(t.sections).forEach(n=>{t.sections[n].balances.length>0&&(s=[...t.sections[n].balances,...t.sections[n].additionalBalances])}),s}default:return[]}};function Nt(e,t,s=!0){const n=A.getLocalizedStrings().reports.sections,o=A.getLocalizedStrings().reports.balanceSheet,d=Be(e),u=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,c=Ae({balances:d,config:t}),r=[];return r.push(c),Object.keys(e.rootSectionsWithSubSectionIds).forEach(p=>{const f=F("title_string_only",[],p),h={children:[],id:f,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:n[p],data:void 0,numOfBalances:0},config:t}};r.push(h),e.rootSectionsWithSubSectionIds[p].forEach(i=>{if(He(i)===!0)if(e.sections[i].accountGroups.length>0)if(i==="equity"){const l=Re({sectionId:i,section:e.sections[i],numOfBalances:u,config:t});r.push(...l)}else r.push(xe({section:e.sections[i],sectionType:i,numOfBalances:u,title:o[i],isLastNode:!0,config:t}));else if(i==="equity"){const l=ve({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:u,config:t});r.push(...l)}else{const l=e.sections[i];r.push(Se({sectionWithAcOnly:l,sectionType:i,numOfBalances:u,title:o[i],isLastNode:!0,config:t}))}else Ze(i)===!0&&r.push(X({calculatedSection:e.calculatedSections[i],numOfBalances:u,title:o[i],isLastNode:!0,config:t}))})}),{config:t,headerNodes:s?[c]:[],contentNodes:r}}function $t({calculatedSection:e,numOfBalances:t,title:s,isLastNode:n,config:o}){return{children:[],id:F("calculated_section_type1",[],s),isLastNode:n,reportElementData:{element:{kind:"calculated_section_type1",title:s,data:e,numOfBalances:t},config:o}}}function Ft(e,t,s=!0){const n=A.getLocalizedStrings().reports.sections,o=A.getLocalizedStrings().reports.cashFlow,d=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],u=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,c=Ae({balances:d,config:t}),r=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(p=>{const f=F("title_string_only",[],p),h={children:[],id:f,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:n[p],data:void 0,numOfBalances:0},config:t}};r.push(h),e.rootSectionsWithSubSectionIds[p].forEach(i=>{if(Xe(i)===!0)if(e.sections[i].accountGroups.length>0){const l=Re({sectionId:i,section:e.sections[i],numOfBalances:u,config:t});r.push(...l)}else{const l=ve({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:u,config:t});r.push(...l)}else qe(i)===!0?r.push($t({calculatedSection:e.calculatedSections[i],numOfBalances:u,title:o[i],isLastNode:!0,config:t})):Je(i)===!0&&r.push(X({calculatedSection:e.calculatedSections[i],numOfBalances:u,title:o[i],isLastNode:!0,config:t}))})}),{config:t,headerNodes:s?[c]:[],contentNodes:[c,...r]}}function jt(e,t){const s=[];let n=[];const o=e.classColumns.length+1,d={children:[],id:F("class_headers",[]),isLastNode:!1,reportElementData:{element:{kind:"class_headers",title:"",data:e.classColumns,numOfBalances:o},config:t}};return s.push(d),n=[d],e.idsInOrder.forEach(u=>{if(se(u)){const c=e.sections[u];c!=null&&s.push(It(c,u,o,t,e))}else if(oe(u)){const c=e.calculatedSections[u];c!=null&&s.push(Mt(c,o,t,e))}}),{config:t,headerNodes:n,contentNodes:s}}function It(e,t,s,n,o){const d=F("section",[],e.title),u=e.treeLayout,c=e.sectionHeaderBalancesSlice??ye(o.firstMonthOfFY),r={children:[],id:d,isLastNode:!0,reportElementData:{element:{kind:"section",title:e.title,sectionType:t,data:c,numOfBalances:s},config:n}};if(u==null)return r;const p=new Map;for(const[f,h]of Object.entries(u.childrenRowIndicesByParent))p.set(Number(f),h);return u.rootAccountRowIndices.forEach((f,h)=>{r.children.push(ke(f,e.accounts,p,s,n,[d],h===u.rootAccountRowIndices.length-1))}),r}function ke(e,t,s,n,o,d,u){const c=t[e],r=c.accountReportData,p=s.get(e)??[],f=F("ac_report",d,c.accountId);return{children:p.map((h,i)=>ke(h,t,s,n,o,[...d,f],i===p.length-1)),id:f,isLastNode:u,reportElementData:{element:{kind:"ac_report",title:c.accountName,data:r,numOfBalances:n},config:o}}}function Mt(e,t,s,n){const o=e.sectionHeaderBalancesSlice??ye(n.firstMonthOfFY);return{children:[],id:F("calculated_section",[],e.title),isLastNode:!0,reportElementData:{element:{kind:"calculated_section",title:e.title,data:o,numOfBalances:t},config:s}}}function Pt(e,t,s=!0,n=!1){const o=A.getLocalizedStrings().reports,d=A.getLocalizedStrings().common;let u=[];const c=[];let r=[];if(n===!0){const p=ct({title:d.loading,balances:[],config:t});p.reportElementData.element.numOfBalances=6,s&&(r=[p]),c.push(p),[...Array(8)].forEach((f,h)=>{const i=h%4;let l=lt[i];const S=dt({title:`${h}+${l}`,balances:u,config:t});S.reportElementData.element.numOfBalances=6,c.push(S)})}else{const p=e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],f=ne({balances:p,config:t}),h=t.mode!=null&&t.mode==="this_period_vs_period_before"&&p.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1;c.push(f),s&&(r=[f]),e.idsInOrder.forEach(i=>{if(se(i)===!0){const l=e.sections[i];l!=null&&c.push(rt({section:l,sectionType:i,numOfBalances:h,title:o.sections[i],isLastNode:!0,config:t}))}else if(oe(i)===!0){const l=e.calculatedSections[i];l!=null&&c.push(X({calculatedSection:l,numOfBalances:h,title:o.sections[i],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:r,contentNodes:c}}function Vt(e,t,s=!0){const n=A.getLocalizedStrings().reports,o=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income!=null&&e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs!=null&&e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome!=null&&e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses!=null&&e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],d=t.mode!=null&&t.mode==="this_period_vs_period_before"&&o.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,u=ne({balances:o,config:t}),c=[];return c.push(u),e.idsInOrder.forEach(r=>{if(se(r)===!0&&(e.sections[r].accountGroups.length>0?c.push(xe({section:e.sections[r],sectionType:r,numOfBalances:d,title:n.sections[r],isLastNode:!0,config:t})):c.push(Se({sectionWithAcOnly:e.sections[r],sectionType:r,numOfBalances:d,title:n.sections[r],isLastNode:!0,config:t}))),oe(r)===!0){const p=e.calculatedSections[r];p!=null&&c.push(X({calculatedSection:p,numOfBalances:d,title:n.sections[r],isLastNode:!0,config:t}))}}),{config:t,headerNodes:s?[u]:[],contentNodes:c}}const ue={contentPaddingLeft:new V(L[0],L[0],L[0]),contentPaddingRight:new V(L[3],L[3],L[8])},Dt=m.div`
|
|
118
|
-
height: ${e=>e.height}px;
|
|
119
|
-
width: 99.9%;
|
|
120
|
-
margin-top: ${y.sp2};
|
|
121
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
122
|
-
`;function Et({report:e,displayOrder:t,reportFormat:s,analytics:n,isZeniUser:o,onAdditionalBalanceSelectionChanged:d,onAccountBalanceClick:u,onTableScroll:c,onElementCollapseStateChanged:r,isCompareModeOn:p,isPageFetchInProgress:f=!1}){const h=Q(),i=ee(),[l,S]=N.useState(void 0),[k,T]=N.useState(void 0),v=!(h==="small"||h==="medium-compact"),_="name+balances_actual",w=p===!0?"this_period_vs_period_before":"none",C=()=>{let g=[];switch(e.reportId){case"profit_and_loss":{const b=e;g=(b.sections.expenses.balances.length>0?b.sections.expenses:b.sections.income).additionalBalances.map(B=>W(B));break}case"profit_and_loss_by_classes":{const b=e,B=(b.sections.expenses?.balances?.length??0)>0?b.sections.expenses:null,U=(b.sections.income?.balances?.length??0)>0?b.sections.income:null,D=B??U;D?.additionalBalances!=null&&(g=D.additionalBalances.map(M=>W(M)));break}case"cash_flow":{g=e.calculatedSections.investingActivitiesTotal.additionalBalances.map(b=>W(b));break}case"balance_sheet":{g=e.sections.equity.additionalBalances.map(b=>W(b));break}}return g.length>0&&g.find(b=>b.balanceType==="this_period_vs_last_period")?"compare_mode_amount":"compare_mode_percent"};N.useEffect(()=>{const g={reportId:e.reportId,bookCloseDate:e.bookCloseDate,mode:w,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",displayOrder:t,reportFormat:s,dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:Ue(),showClassAccountNumber:o};if(l==null||!ge(k,e)||f===!0){const b=zt(e,g,v,f);T(e),S(b)}else{const b=Tt(l,g,e,v);S(b)}},[p,e,f]);const[O,x]=N.useState(5),R=g=>{const b=g+135;x(b)},j=g=>g?.trackPageLoaded(Ut(e));return l!=null?a.jsxs(a.Fragment,{children:[a.jsx(De,{analytics:n,onLoad:j}),a.jsx(Dt,{height:O,children:a.jsx(it,{backgroundColor:new Ee(i.colors.grey4),rootNodes:l,type:_,compareMode:C(),isSticky:{isStickyHeader:v,isStickyName:v},treeNodePadding:{left:ue.contentPaddingLeft.value(h),right:ue.contentPaddingRight.value(h)},onAccountClick:u==null?void 0:(g,b,B)=>{u(g,b,B)},nodeOpenStatus:e.uiState.nodeCollapseState,scrollPosition:e.uiState.scrollPosition,onCompareModeChanged:g=>d?.(g==="compare_mode_amount"?"this_period_vs_last_period":"this_period_vs_last_period_percent","dropdown"),onNodeCollapseToggled:(g,b)=>r?.(e.reportId,g,b),onReportTableHeightChanged:R,onScroll:g=>c?.(e.reportId,g)})})]}):null}const zt=(e,t,s=!0,n=!1)=>{switch(e.reportId){case"profit_and_loss":return Vt(e,t,s);case"profit_and_loss_by_classes":{const o=e;return o.classColumns!=null&&o.reportTitle==="Profit and Loss by Class"?jt(o,t):Pt(e,t,s,n)}case"cash_flow":return Ft(e,t,s);case"balance_sheet":return Nt(e,t,s);default:return}},Ut=e=>{switch(e.reportId){case"profit_and_loss":case"profit_and_loss_by_classes":return I.Event.profitAndLoss;case"cash_flow":return I.Event.cashFlow;case"balance_sheet":return I.Event.balanceSheet;default:return I.Event.reports}},Yt=m.div`
|
|
123
|
-
display: flex;
|
|
124
|
-
flex-direction: row;
|
|
125
|
-
border-bottom: 1px solid ${e=>e.theme.colors.grey3};
|
|
126
|
-
justify-content: center;
|
|
127
|
-
width: 100%;
|
|
128
|
-
align-items: center;
|
|
129
|
-
`,Wt=m.div`
|
|
130
|
-
display: flex;
|
|
131
|
-
position: relative;
|
|
132
|
-
`,Gt=m(ze)`
|
|
133
|
-
padding: 12px;
|
|
134
|
-
color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.hero};
|
|
135
|
-
cursor: ${e=>e.isSelected?"default":"pointer"};
|
|
136
|
-
margin: ${e=>e.spaceAround?`0 ${y.sp4}`:0};
|
|
137
|
-
display: flex;
|
|
138
|
-
flex-direction: column;
|
|
139
|
-
align-items: center;
|
|
140
|
-
&:hover {
|
|
141
|
-
color: ${e=>e.theme.colors.primary};
|
|
142
|
-
}
|
|
143
|
-
`,Ht=m.div`
|
|
144
|
-
height: 2px;
|
|
145
|
-
background-color: ${e=>e.theme.colors.primary};
|
|
146
|
-
border-radius: 1px;
|
|
147
|
-
position: absolute;
|
|
148
|
-
bottom: 0;
|
|
149
|
-
left: 0;
|
|
150
|
-
transition: left 0.35s;
|
|
151
|
-
&.profit_and_loss {
|
|
152
|
-
width: 106px;
|
|
153
|
-
left: 0;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
&.profit_and_loss_by_classes {
|
|
157
|
-
width: 106px;
|
|
158
|
-
left: 0;
|
|
159
|
-
}
|
|
160
|
-
&.balance_sheet {
|
|
161
|
-
width: 114px;
|
|
162
|
-
left: 30%;
|
|
163
|
-
}
|
|
164
|
-
&.cash_flow {
|
|
165
|
-
width: 160px;
|
|
166
|
-
left: 63%;
|
|
167
|
-
}
|
|
168
|
-
`;function Zt({reportId:e,isSelected:t,onClick:s}){const n=o=>{switch(o){case"profit_and_loss":case"profit_and_loss_by_classes":case"balance_sheet":case"cash_flow":return A.getLocalizedStrings().reportTitleById[o];default:return console.warn("Unsupported report"),""}};return a.jsx(Gt,{"data-testid":$("reportSwitcher",e),onClick:()=>{t===!1&&s(e)},isSelected:t,spaceAround:e==="balance_sheet",children:n(e)})}function Xt({reportIds:e,selectedReport:t,onReportSelectionChanged:s}){const n=o=>{s?.(o)};return a.jsx(Yt,{"data-testid":$("report-switcher-container"),children:a.jsx(Wt,{"data-testid":$("report-switcher-content"),children:e.map(o=>o!=="profit_and_loss_by_classes"&&a.jsxs("div",{children:[a.jsx(Zt,{reportId:o,isSelected:t===o,onClick:n}),a.jsx(Ht,{className:`Slider ${t}`})]},`reportSegment-${o}`))})})}const z={contentContainerLeftRightMargin:new V(L[3],L[3],L[8]),contentRightPadding:new V(L[3],L[3],L[8]),tickSkelectionContainerWidth:new V(343,600,905,1240)},qt=new V(4,4),Jt=new V(4,4),Kt={selectedNumberOfPeriods:(e,t)=>e?Jt.value(t):qt.value(t)},Qt=m.div`
|
|
169
|
-
display: flex;
|
|
170
|
-
flex: 1 1 auto;
|
|
171
|
-
min-height: 100%;
|
|
172
|
-
flex-direction: column;
|
|
173
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
174
|
-
`,es=m.div`
|
|
175
|
-
display: flex;
|
|
176
|
-
flex: 1 1 auto;
|
|
177
|
-
flex-direction: column;
|
|
178
|
-
height: calc(100vh - ${y.sp10});
|
|
179
|
-
margin: ${e=>`${y.sp2} ${y.sp0} ${y.sp0} ${z.contentContainerLeftRightMargin.valuePx(e.windowSize)}`};
|
|
180
|
-
`,ts=m.div`
|
|
181
|
-
display: flex;
|
|
182
|
-
width: 100%;
|
|
183
|
-
height: 100%;
|
|
184
|
-
flex-direction: row;
|
|
185
|
-
justify-content: center;
|
|
186
|
-
align-items: center;
|
|
187
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
188
|
-
`,ss=m.div`
|
|
189
|
-
position: absolute;
|
|
190
|
-
margin-top: ${e=>e.windowSize==="small"?"230px":"195px"};
|
|
191
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
192
|
-
`,os=m.div`
|
|
193
|
-
display: flex;
|
|
194
|
-
width: 100%;
|
|
195
|
-
height: calc(100% - 60px);
|
|
196
|
-
flex-direction: column;
|
|
197
|
-
justify-content: center;
|
|
198
|
-
align-items: center;
|
|
199
|
-
`,ns=m.div`
|
|
200
|
-
height: 96px;
|
|
201
|
-
width: 96px;
|
|
202
|
-
background: ${e=>e.theme.colors.background};
|
|
203
|
-
border-radius: 50%;
|
|
204
|
-
cursor: pointer;
|
|
205
|
-
& svg {
|
|
206
|
-
margin: ${y.sp5};
|
|
207
|
-
color: ${e=>e.theme.colors.grey1};
|
|
208
|
-
}
|
|
209
|
-
&:hover {
|
|
210
|
-
& svg {
|
|
211
|
-
color: ${e=>e.theme.colors.primary};
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
`,as=m(Me)`
|
|
215
|
-
margin-top: ${y.sp3};
|
|
216
|
-
color: ${e=>e.theme.colors.hero};
|
|
217
|
-
`,Le=({style:e,isLoading:t})=>t?a.jsx(ts,{style:e,children:a.jsx(Pe,{size:"ExtraLarge",start:!0})}):null,E=e=>{switch(e.selectedReport){case"cash_flow":return e.cashFlowReport;case"balance_sheet":return e.balanceSheetReport;case"profit_and_loss_by_classes":return e.profitAndLossClassesViewReport;case"profit_and_loss":default:return e.profitAndLossReport}},is=e=>{if(e.selectedReport==="profit_and_loss_by_classes"&&e.profitAndLossClassesViewReport?.uiState.classViewLayout==="horizontal"){const t=e.profitAndLossByClassHorizontalReport;return t.selectedPeriod!=null?t:E(e)}return E(e)},K=({selectedReport:e,isCompareModeOn:t,windowSize:s})=>{const n=e.availableNumberOfPeriods;let o=Kt.selectedNumberOfPeriods(t,s);return n!=null&&(o=Math.min(o,n)),o};function Ds(e){const t=Q(),s=ee(),{onUpdateAccountViewMode:n,onUpdateClassesToFilterOut:o,onAdditionalBalanceSelectionChanged:d,onTimeframeSelectionChanged:u,isCompareMode:c,selectedReportAndTimeframeFetchState:r,onClickMenuIcon:p}=e,f=(C,O)=>{C!==h?.accountViewMode&&n?.(C),O&&o?.(O)};N.useEffect(()=>{if(e.fetchState==="Completed"){const C=E(e).filter?.additionalBalances??[];e.onUpdateHighlightedNumberOfPeriods?.(C,e.isCompareMode,K({selectedReport:E(e),isCompareModeOn:e.isCompareMode,windowSize:t}),e.balancesInTimeframe??[])}},[t,e.fetchState]);const h=ls(e),i=A.getLocalizedStrings().reports.common,l=$e(),S=l!=null&&re(l.loggedInUserRole)?"detailed":"more_detailed",k=l!=null&&re(l.loggedInUserRole)?["more_detailed"]:[];e.showAccountGroups===!1&&h?.accountViewMode==="account_group"&&k.push("detailed");const[T,v]=_e.useState(k.includes("more_detailed")?"detailed":"more_detailed"),_={selectedFormat:T,disabledFormatForRole:k,roleBasedClassesSelectedFormat:S,setSelectedFormat:v};if(r.fetchState==="Error"||e.fetchState==="Error")return a.jsxs(os,{"data-testid":$("report-page-error-reload-page"),children:[a.jsx(ns,{"data-testid":$("report-page-error-reload-icon"),onClick:e.onReloadReport,children:a.jsx(Fe,{})}),a.jsx(as,{children:i.failed})]});const w=e.fetchState;if(r.fetchState!=="Completed"&&(w==="In-Progress"||w==="Not-Started"))return a.jsx(Le,{isLoading:!0});{const C=a.jsx(je,{downloadReportOptions:{type:"detailed_menu",downloadMenu:{detailedMenu:h!=null&&e.dataAvailable!=null?a.jsx(nt,{defaultOptions:h,analytics:e.analytics,referrer:P(e.selectedReport),dataAvailable:e.dataAvailable,downloadState:e.downloadState,statementEndPoint:e.statementEndPoint,authParams:e.authParams,currentTenantCompanyName:e.currentTenantCompanyName,classesFetchState:e.profitAndLossClassesViewReport.fetchState,showAccountGroups:e.showAccountGroups,reportFormatProps:_,updateDownloadStateHandler:e.updateDownloadStateHandler,onUpdateDisplayOrder:e.onUpdateDisplayOrder,onUpdateReportFormat:e.onUpdateReportFormat,onClose:()=>null,onOpenAccountViewMode:e.onOpenAccountViewMode,onSaveClickHandler:f,onThisPeriodChanged:e.onThisPeriodChanged,onAdditionalBalanceSelectionChanged:(O,x,R)=>{d(c,O,x,R)},onTimeframeSelectionChanged:(O,x,R)=>{u?.(O,x,R)}}):a.jsx(a.Fragment,{})}}});return a.jsxs(Qt,{children:[a.jsx(Ie,{title:A.getLocalizedStrings().reports.title,backgroundColor:s.colors.grey4,onBackClick:e.onBackClick,showMenuIcon:t==="medium-compact"||t==="small",onClickMenuIcon:p,rightSideComponent:C,downloadPresent:!0,source:"ReportsPage",hideSearchBtn:!0}),a.jsx(rs,{...e})]})}}function rs(e){const t=Q(),s=ee(),n=N.useRef(null),{selectedReportAndTimeframeFetchState:o}=e,d=["month","quarter","year"],u=(_,w)=>{_!==e.profitAndLossClassesViewReport?.uiState.accountViewMode&&e.onUpdateAccountViewMode?.(_),w&&e.onUpdateClassesToFilterOut?.(w)},c=E(e),r=n.current?.clientWidth??z.tickSkelectionContainerWidth.value(t),p=Ye([e.reportsResyncFetchState,e.profitAndLossClassesViewReport]).fetchState==="In-Progress"&&e.profitAndLossClassesViewReport.uiState.accountViewMode==="classes",f=o.fetchState==="In-Progress",h=e.profitAndLossClassesViewReport?.uiState,i=e.isHorizontalClassReportSwitchEnabled!==!1&&e.selectedReport==="profit_and_loss_by_classes"&&h?.accountViewMode==="classes",l=i&&h?.classViewLayout==="horizontal"&&e.onCOABalancesRangeChanged!=null&&o.fetchState==="Completed",S=i&&h?.classViewLayout==="horizontal",k=(_,w)=>{e.analytics?.trackCompareFilterChange(_==="this_period_vs_last_period_percent"?"percentage":"amount",P(e.selectedReport),G(e.selectedTimeframe),w);const C=Array.from(new Set(_==="this_period_vs_last_period_percent"?[...c.filter.additionalBalances,"this_period_vs_last_period_percent"].filter(O=>O!=="this_period_vs_last_period"):[...c.filter.additionalBalances,"this_period_vs_last_period"].filter(O=>O!=="this_period_vs_last_period_percent")));e.onAdditionalBalanceSelectionChanged?.(e.isCompareMode,C,K({selectedReport:c,isCompareModeOn:e.isCompareMode,windowSize:t}))},T=A.getLocalizedStrings().reports,v=e.analytics!=null?(_,w,C)=>{w===!0&&e.analytics?.trackCompareFilterTimeFrame(_,G(e.selectedTimeframe),"range filter",C),e.analytics?.trackDateRangeFilterChange(_,"range filter",w,C)}:void 0;return a.jsxs(es,{windowSize:t,"data-testid":$("reports-page-content-container"),children:[a.jsx(us,{windowSize:t,ref:n,children:a.jsx(ot,{timeframe:{allowedTimeframes:d,selectedTimeframe:e.selectedTimeframe,onTimeframeSelectionChanged:_=>{e.analytics?.trackTimeframeSwitch(G(_),P(e.selectedReport)),e.onTimeframeSelectionChanged?.(_,!0)}},toggle:{label:A.getLocalizedStrings().compareSwitchLabel,isOn:e.isCompareMode,isToggleDisabled:S,onValueChanged:_=>{e.analytics?.trackCompareMode(_,P(e.selectedReport),G(e.selectedTimeframe));const w=c.filter;e.onAdditionalBalanceSelectionChanged?.(_,w.additionalBalances,w.balancesRange.numberOfPeriods)}},secondaryToggle:i?{label:T.horizontalClassLayoutSwitch,isOn:h?.classViewLayout==="horizontal",onValueChanged:_=>{e.onUpdateClassViewLayout?.(_?"horizontal":"vertical")}}:void 0,secondaryToggleDataTestId:$("reports-horizontal-class-layout-switch")})}),o.fetchState==="Not-Started"||o.fetchState==="In-Progress"?a.jsx(hs,{windowSize:t,children:a.jsx(fs,{children:a.jsx(Ve,{width:r,height:Z-L[2],backgroundColor:s.colors.grey3,style:{borderRadius:y.sp2}})})}):l&&e.onCOABalancesRangeChanged!=null?a.jsx(fe,{windowSize:t,children:a.jsx(Bt,{allTimeframeTicks:e.allTimeframeTicks,bookCloseDate:c.bookCloseDate,firstMonthOfFY:c.firstMonthOfFY,onCOABalancesRangeChanged:e.onCOABalancesRangeChanged,onDateRangeAnalytics:v,isCompareMode:e.isCompareMode,referrer:P(e.selectedReport),selectedCOABalancesRange:e.selectedCOABalancesRange,selectedTimeframe:e.selectedTimeframe,variant:"timeRangeSlider"})}):a.jsx(fe,{windowSize:t,children:a.jsx(Qe,{firstMonthOfFY:c.firstMonthOfFY,timeframe:e.selectedTimeframe,timeframeTicks:e.allTimeframeTicks,selection:{selectedTicks:he(e.allTimeframeTicks,e.selectedCOABalancesRange),highlightedOfSelectedTicks:he(e.allTimeframeTicks,e.selectedCOABalancesRange)},onClick:(_,w)=>{e.analytics?.trackDateRangeFilterChange(P(e.selectedReport),"range filter",e.isCompareMode,q(c.firstMonthOfFY,e.selectedTimeframe,w)),e.onThisPeriodChanged?.(w,K({selectedReport:c,isCompareModeOn:e.isCompareMode,windowSize:t}))},onSelectionChanged:_=>{const w=cs(e.allTimeframeTicks,_.fromEnd);e.analytics?.trackDateRangeFilterChange(P(e.selectedReport),"range filter",e.isCompareMode,q(c.firstMonthOfFY,e.selectedTimeframe,w.thisPeriod)),e.onCOABalancesRangeChanged?.(w)}})}),a.jsx(ms,{windowSize:t,children:a.jsx(Xt,{reportIds:["profit_and_loss","balance_sheet","cash_flow","profit_and_loss_by_classes"],selectedReport:e.selectedReport,onReportSelectionChanged:_=>{e.analytics?.trackPageLoaded(ds(_)),_==="profit_and_loss"&&e.profitAndLossClassesViewReport?.uiState.accountViewMode==="classes"?e.onReportSelectionChanged?.("profit_and_loss_by_classes"):e.onReportSelectionChanged?.(_)}})}),o.fetchState==="Not-Started"||o.fetchState==="In-Progress"?a.jsx(Le,{style:{boxShadow:"none",backgroundColor:"inherit"},isLoading:f}):a.jsxs(a.Fragment,{children:[a.jsx(Te,{report:is(e),displayOrder:e.displayOrder,reportFormat:e.reportFormat,analytics:e.analytics,onAdditionalBalanceSelectionChanged:k,onAccountBalanceClick:e.onAccountBalanceClick,onElementCollapseStateChanged:e.onElementCollapseStateChanged,onTableScroll:e.onTableScroll,isCompareModeOn:e.isCompareMode,isZeniUser:e.isZeniUser,isPageFetchInProgress:p}),We(e.selectedReport)?a.jsx(ss,{windowSize:t,children:a.jsx(Ke,{reportId:e.selectedReport,firstMonthOfFY:e.profitAndLossClassesViewReport.firstMonthOfFY,nodes:e.profitAndLossClassesViewReport?.classHierarchy,classesListFetchState:e.profitAndLossClassesViewReport?.fetchState,selectedView:e.profitAndLossClassesViewReport?.uiState.accountViewMode,showClassAccountNumber:e.isZeniUser,showAccountGroups:e.showAccountGroups,onSaveClick:u,classesToBeFilteredOut:e.profitAndLossClassesViewReport?.classesToFilterOut,onOpenAccountViewMode:e.onOpenAccountViewMode,onResyncReports:e.onResyncReports,isPageFetchInProgress:p,lastRefreshSuccessTime:e.profitAndLossClassesViewReport?.status?.lastRefreshSuccessTime})}):null]})]})}const he=(e,t)=>{if(t.orderBy!=="ascending_date")throw new Error("Invalid ordering of dates!!");let s=e.length-1;return t.thisPeriod!=null&&(s=e.findIndex(n=>n.startDate.isSame(t.thisPeriod.startDate,"date")&&n.endDate.isSameOrBefore(t.thisPeriod.endDate))),{startIndex:Math.max(s+1-t.numberOfPeriods,0),length:t.numberOfPeriods}},cs=(e,t)=>{const s=e.length-1-t.offsetFromEnd;return{thisPeriod:e[s],numberOfPeriods:t.length,orderBy:"ascending_date"}};function ls(e){let t=e.selectedCOABalancesRange.thisPeriod;if(t==null){const c=e.profitAndLossClassesViewReport.uiState.accountViewMode==="classes"&&e.profitAndLossClassesViewReport.uiState.classViewLayout==="horizontal",r=e.profitAndLossByClassHorizontalReport.headerBalances[0];if(c===!0&&r!=null)t=r;else{const p=e.displayOrder,f=e.profitAndLossReport.sections.expenses,h=e.profitAndLossReport.sections.income,i=f?.balances?.length??0,l=f!=null&&i>0?f:h;if(l!=null&&(l.balances?.length??0)>0){const S=l.balances??[],k=p==="ascending_date"?S.length-1:0;t=S[k]}}}const s=E(e),n=s.firstMonthOfFY,o=s.bookCloseDate,d=s.dataAvailable,u=s.filter.additionalBalances;if(t!=null)return{localeId:A.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:"pdf",statements:e.profitAndLossClassesViewReport.uiState.accountViewMode==="account_group"?["profit_and_loss","balance_sheet","cash_flow"]:["profit_and_loss_by_classes","balance_sheet","cash_flow"],firstMonthOfFY:n,bookCloseDate:o,dataAvailable:d,timeframe:e.selectedTimeframe,additionalBalances:u,format:e.reportFormat,balancesFilter:{thisPeriod:t,numberOfPeriods:e.selectedCOABalancesRange.numberOfPeriods,orderBy:e.displayOrder},accountViewMode:e.profitAndLossClassesViewReport.uiState.accountViewMode,nestedClassHierarchy:e.profitAndLossClassesViewReport?.classHierarchy,classesToFilterOut:e.profitAndLossClassesViewReport.classesToFilterOut,showClassAccountNumber:e.isZeniUser,isZeniCOAUsed:e.isZeniCOAUsed,classViewLayout:e.profitAndLossClassesViewReport.uiState.accountViewMode==="classes"?e.profitAndLossClassesViewReport.uiState.classViewLayout:"vertical"}}const P=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return"Profit & Loss";case"balance_sheet":return"Balance Sheet";case"cash_flow":return"Cash Flow";default:return"Reports"}},ds=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return I.Event.profitAndLoss;case"cash_flow":return I.Event.cashFlow;case"balance_sheet":return I.Event.balanceSheet;default:return I.Event.reports}},Te=_e.memo(Et,(e,t)=>ps(e,t,["report","analytics","isCompareModeOn","isZeniUser","isPageFetchInProgress"]));Te.displayName="Reports table";const ps=(e,t,s)=>s.reduce((n,o)=>n===!0&&ge(e[`${o}`],t[`${o}`]),!0),us=m.div`
|
|
218
|
-
padding-right: ${e=>z.contentRightPadding.valuePx(e.windowSize)};
|
|
219
|
-
`,fe=m.div`
|
|
220
|
-
margin-top: ${y.sp3};
|
|
221
|
-
padding-right: ${e=>z.contentRightPadding.valuePx(e.windowSize)};
|
|
222
|
-
`,hs=m.div`
|
|
223
|
-
margin-top: ${y.sp3};
|
|
224
|
-
padding-right: ${e=>z.contentRightPadding.valuePx(e.windowSize)};
|
|
225
|
-
`,fs=m.div`
|
|
226
|
-
display: flex;
|
|
227
|
-
flex-direction: row;
|
|
228
|
-
justify-content: flex-start;
|
|
229
|
-
min-height: ${Z}px;
|
|
230
|
-
box-sizing: content-box;
|
|
231
|
-
width: 100%;
|
|
232
|
-
align-items: center;
|
|
233
|
-
justify-content: center;
|
|
234
|
-
`,ms=m.div`
|
|
235
|
-
margin-top: ${y.sp4};
|
|
236
|
-
padding-right: ${e=>z.contentRightPadding.valuePx(e.windowSize)};
|
|
237
|
-
`;export{Ds as default};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import{eV as h,eW as b,V as s,bX as f,o,ac as n,O as g,ap as x,ak as c}from"./index-uV9C0lq0.js";import{n as l}from"./mui-CgOsYmSB.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]="e0092294-2bd0-4b3c-8681-49ccdb0bc252",e._sentryDebugIdIdentifier="sentry-dbid-e0092294-2bd0-4b3c-8681-49ccdb0bc252")}catch{}})();const{hyphen:i}=g.getLocalizedStrings().common.strings,y=l.div``,m=l.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
min-width: 192px;
|
|
4
|
-
justify-content: space-between;
|
|
5
|
-
`,u=l(c)`
|
|
6
|
-
color: ${e=>e.theme.colors.hero};
|
|
7
|
-
`,j=l(c)`
|
|
8
|
-
color: ${e=>e.theme.colors.brandColorPearl};
|
|
9
|
-
`,a=l.div`
|
|
10
|
-
display: flex;
|
|
11
|
-
align-items: center;
|
|
12
|
-
`,w=l(x)`
|
|
13
|
-
border-radius: ${o.sp12};
|
|
14
|
-
border: 1px solid ${e=>e.theme.colors.grey1};
|
|
15
|
-
display: flex;
|
|
16
|
-
height: 18px;
|
|
17
|
-
width: 18px;
|
|
18
|
-
align-items: center;
|
|
19
|
-
justify-content: center;
|
|
20
|
-
color: 1px solid ${e=>e.theme.colors.grey1};
|
|
21
|
-
margin-left: ${o.sp1};
|
|
22
|
-
`,I=({roles:e})=>{let t=i,r=[];t=h(e),r=b(e);const p=()=>r.length>0?s.jsx(y,{children:r.map(d=>s.jsxs(m,{children:[s.jsx(u,{children:d[0]}),s.jsx(j,{children:d[1]})]},d.join(",")))}):s.jsx(s.Fragment,{children:i});return r.length>0?s.jsx(f,{enterDelay:600,"data-testid":n("roles-tooltip",t),title:p(),placement:"top-end",style:{marginLeft:o.sp1,padding:"6px 12px"},maxWidth:"264px",children:s.jsxs(a,{"data-testid":n("roles-label-wrapper",t),children:[t,s.jsx(w,{className:"roles-count-wrapper","data-testid":n("roles-count-wrapper",t),children:r.length})]})}):s.jsx(a,{"data-testid":n("roles-label-wrapper",t),children:t})};export{I as S};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import{aS as H,iB as te,gP as me,eH as Je,iC as Me,aa as Ve,iD as _e,cJ as Pe,cK as Fe,V as a,ae as Ne,ct as qe,cu as Re,cv as We,aT as Be,iE as Ue,iF as ze,O as be,ab as pe,iG as Se,iH as $e,cN as Ge,K as He,iU as Ke,gV as ue,u as W,p as De,x as Ce,cO as Xe,iI as Ye,iJ as Ze,iK as Qe,o as _}from"./index-uV9C0lq0.js";import{a as f}from"./sentry-rcvLxAzW.js";import{n as U}from"./mui-CgOsYmSB.js";import{GW as et,GX as tt}from"./zeni-epic-state-D5MWzrZ6.js";import{r as lt,s as at,i as st,n as ot}from"./ScheduleSequenceTable-Dgb-vhXK-B0K_kZdi.js";import"./liveblocks-PPyiYwu4.js";import"./core-DpPwA1EY.js";import"./recharts-B5a8DAKj.js";import"./lottie-CwowL814.js";import"./analytics-R4GG3mhr.js";import"./lexical-WuSd_Y3l.js";import"./utils-GKlM-QyI.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="4a7d4c04-ed67-4a5e-93c4-ae201f89be6d",e._sentryDebugIdIdentifier="sentry-dbid-4a7d4c04-ed67-4a5e-93c4-ae201f89be6d")}catch{}})();const B={labelWidth:new Ce(160,160,160),depCategoryLabelWidth:new Ce(200,280,280)},nt=U.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
width: 100%;
|
|
5
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
6
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
7
|
-
|
|
8
|
-
border-top-left-radius: ${_.sp2};
|
|
9
|
-
border-top-right-radius: ${_.sp2};
|
|
10
|
-
border-bottom-left-radius: ${_.sp0};
|
|
11
|
-
border-bottom-right-radius: ${_.sp0};
|
|
12
|
-
`,K=U.div`
|
|
13
|
-
display: flex;
|
|
14
|
-
flex: 1;
|
|
15
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
16
|
-
min-height: 1px;
|
|
17
|
-
`,dt=U.div`
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: column;
|
|
20
|
-
margin: ${_.sp4} ${_.sp8} ${_.sp0} ${_.sp8};
|
|
21
|
-
`,V=(e,d)=>`${e}.${d}`;function it({sectionId:e,jeScheduledTransaction:d,updateStatus:m,allAccountOptions:l,allAccountList:s,allClassList:u,allClassOptions:c,allDepreciationAccountList:p,allDepreciationAccountOptions:y,allMonthOptions:v,uncategorizedAccounts:k,selectedAccount:A,selectedClass:P,selectedAccumulatedDepreciationCategory:F,assetId:L,selectedDate:w,selectedMonths:j,selectedPostingDay:O,lastDayOfMonth:E,isDisabled:h,allowCreateSchedule:J,onCreateSchedule:i,onDelete:se,onMarkAsComplete:Y}){const{resetField:S}=Ge(),oe=V(e,"scheduleExpenseCategory"),ne=V(e,"scheduleClass"),de=V(e,"accumulatedDepreciationCategory"),ie=V(e,"assetId"),Z=V(e,"startDate"),D=V(e,"postingDate"),r=V(e,"months"),t=be.getLocalizedStrings().jeSchedules.scheduleDetails.scheduleDetailsSection,g=o=>s.filter(q=>q.qboId===o)[0]?.qboId,b=o=>p.filter(q=>q.qboId===o)[0]?.qboId,ce=o=>u.filter(q=>q.classId===o)[0]?.accountingClassNumber,X={valueContainer:o=>({...o,overflow:"unset"})},I=He(),z=Ke({startDate:d.baseTransaction.date,endDate:d.baseTransaction.date.add(1,"year")}),$=()=>{S(D)},G=O==null&&E==null?void 0:E===!0?"lastDayOfMonth":"day",N=o=>[k.expense?.qboId,k.income?.qboId].includes(o),Q=()=>{d.jeScheduleId!=null&&se(d.jeScheduleId)},C=d.scheduledJournalEntry.flatMap(o=>o.error);return a.jsxs(dt,{children:[a.jsx(st,{status:d.status.code,jeScheduleId:d.jeScheduleId,allowCreateSchedule:J,onDelete:Q,isUpdating:m==="In-Progress",onMarkAsComplete:Y,onCreateSchedule:i}),a.jsx(pe,{controller:J===!0,children:a.jsxs(nt,{children:[a.jsx(ue,{isDisabled:C.includes("debit_category_deleted")?void 0:h,isLoading:!1,label:{label:t.expenseCategory,width:B.labelWidth.value(I)},groupedSingleSelectField:{customPlaceholderColor:C.includes("debit_category_deleted")?De.brandColorGoldDark:void 0,shouldShowChevronIcon:!1,name:oe,placeholder:t.expenseCategoryPlaceholder,valueToId:o=>g(o),defaultValue:{selectedOption:A,allOptions:l},registerOptions:{required:!0,validate:o=>!!o.selectedOption},customStyleConfig:X},disableCurrentOption:N,style:{borderTopLeftRadius:W[2],borderTopRightRadius:W[2]}}),a.jsx(K,{}),a.jsx(ue,{isDisabled:h,isLoading:!1,label:{label:t.class,width:B.labelWidth.value(I)},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:ne,placeholder:t.classPlaceholder,valueToId:o=>ce(o),defaultValue:{selectedOption:P,allOptions:c},registerOptions:{required:!0,validate:o=>!!o.selectedOption},customStyleConfig:X},style:{borderTopLeftRadius:W[0],borderTopRightRadius:W[0]}}),a.jsx(K,{}),a.jsx(ue,{isDisabled:C.includes("credit_category_deleted")?void 0:h,isLoading:!1,label:{label:t.accumulatedDepreciationCategory,width:B.depCategoryLabelWidth.value(I)},groupedSingleSelectField:{customPlaceholderColor:C.includes("credit_category_deleted")?De.brandColorGoldDark:void 0,shouldShowChevronIcon:!1,name:de,placeholder:t.accumulatedDepreciationCategoryPlaceholder,valueToId:o=>b(o),defaultValue:{selectedOption:F,allOptions:y},registerOptions:{required:!0,validate:o=>!!o.selectedOption},customStyleConfig:X},disableCurrentOption:N,style:{borderTopLeftRadius:W[0],borderTopRightRadius:W[0]}}),a.jsx(K,{}),a.jsx(Xe,{label:{label:t.assetId,width:B.labelWidth.value(I)},style:{width:"auto"},text:{type:"text",name:ie,defaultValue:L,placeholder:t.assetIdPlaceholder,autoComplete:"new-password",options:{maxLength:W[3],required:!0,validate:o=>!!o}},isDisabled:h}),a.jsx(K,{}),a.jsx(Ye,{label:{label:t.startMonth,width:B.labelWidth.value(I)},monthSelectorField:{name:Z,placeholder:t.startMonthPlaceholder,defaultValue:w,showDownChevron:!1,isDisabled:h,monthsAndYears:z},isDisabled:h}),a.jsx(K,{}),a.jsx(ot,{label:{label:t.postingDate,width:B.labelWidth.value(I)},isDisabled:h,dayOfMonthField:{placeholder:t.postingDatePlaceholder,name:D,defaultValue:{type:G,dayOfMonth:O},onSaveClick:()=>{},onCancelClick:$}}),a.jsx(K,{}),a.jsx(Ze,{label:{label:t.months,width:B.labelWidth.value(I)},singleSelectNumericField:{name:r,isDisabled:h,placeholder:t.monthsPlaceholder,defaultValue:{selectedOption:j!=null?v[j-1]:void 0,allOptions:v},registerOptions:{required:!0,validate:o=>!!o.selectedOption}}})]})}),a.jsx(pe,{controller:J===!1,children:a.jsx(Qe,{text:t.scheduleMarkedAsCompleted})})]})}const ct=U.div`
|
|
22
|
-
display: flex;
|
|
23
|
-
flex-direction: column;
|
|
24
|
-
width: 100%;
|
|
25
|
-
height: 100%;
|
|
26
|
-
min-height: 100vh;
|
|
27
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
28
|
-
`,rt=U.div`
|
|
29
|
-
display: flex;
|
|
30
|
-
z-index: 2;
|
|
31
|
-
`,ut=U.div`
|
|
32
|
-
display: flex;
|
|
33
|
-
flex-direction: column;
|
|
34
|
-
`,ht=U.div`
|
|
35
|
-
display: flex;
|
|
36
|
-
justify-content: center;
|
|
37
|
-
`,ye="scheduleDetailsPage",le="scheduleDetailsFixedAssetsSection",ae="scheduleDetailsListSection",pt=be.getLocalizedStrings(),{common:M,jeSchedules:{scheduleDetails:ft}}=pt;function It({analytics:e,controllerUserDetails:d,expenseAutomationSelectedPeriod:m,scheduleDetailsView:l,vendorSearchAutoCompleteActions:s,vendorSearchAutoCompleteData:u,usedInExpenseAutomation:c,onNavigateBack:p,onEditAmount:y,onJELinkClick:v,onSave:k,onDelete:A,onDetailPageChange:P,onViewLinkedJE:F,onTransactionClick:L,onMarkAsComplete:w,removeJeScheduleTransactionKey:j}){const[O,E]=f.useState(!1),h=H(l.updateStatus.fetchState),J=H(l.selectedJEScheduleTransaction?.status.code),i=H(l.deleteStatus.fetchState),[se,Y]=f.useState(!1),S=l.scheduleDetailsLocalData.fixed_assets,oe=H(S.jeScheduleDetails.length),ne=H(S.selectedDate),de=H(S.selectedDayOfMonth),[ie,Z]=f.useState(!0),D=l.selectedJEScheduleTransaction?.vendor,r=l.selectedJEScheduleTransaction?.baseTransaction,t=l.selectedJEScheduleTransaction,g=et(d.controllers),b=tt(d.controllerUserIds),ce={onOkClick:()=>{E(!1),p()},onCancelClick:()=>{E(!1)}},X=n=>{const x=t?.scheduledJournalEntry[n];r!=null&&x!=null&&t!=null&&e.trackScheduleDetailsLinkJournalEntry({scheduleType:"fixed_assets",transaction:{...$e(r)},scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:{...Se(x)},vendorName:D!=null?D.name:M.strings.hyphen,controllerEmails:g,controllerUserIds:b,fixedAssetsDetails:{accumulatedDepreciationCategory:t.jeCredit.account?.accountName??null,assetId:t.otherAttributes.assetId??null}}),v(n)},I=(n,x)=>{const T=t?.scheduledJournalEntry[x];r!=null&&T!=null&&t!=null&&e.trackScheduleDetailsViewJournalEntry({scheduleType:"fixed_assets",scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:Se(T),controllerEmails:g,controllerUserIds:b,fixedAssetsDetails:{accumulatedDepreciationCategory:t.jeCredit.account?.accountName??null,assetId:t.otherAttributes.assetId??null}}),F(n)};f.useEffect(()=>{h==="In-Progress"&&l.updateStatus.fetchState==="Completed"&&(r!=null&&t!=null&&e.trackScheduleDetailsSaved(te({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:g,controllerUserIds:b})),c===!0&&t?.jeScheduleTransactionKey!=null&&J==="draft"&&l.selectedJEScheduleTransaction?.status.code==="ongoing"&&j(t.jeScheduleTransactionKey,{month:m.month,year:m.year}),p())},[m,J,l.selectedJEScheduleTransaction?.status.code,e,p,h,j,c,l.updateStatus,t,r,D,g,b]),f.useEffect(()=>{i==="In-Progress"&&l.deleteStatus.fetchState==="Completed"&&p()},[i,l.deleteStatus,p]);const z=me(l.accountListNestedAccountHierarchy),$=me(l.allDepreciationAccountListNestedAccountHierarchy),G=Je(l.classListNestedAccountHierarchy),N=Me("fixed_assets"),Q=f.useRef(),C=Ve({mode:"all",reValidateMode:"onChange",defaultValues:he(l,z,G,$,N,u.entityAutoCompleteView),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:he(l,z,G,$,N,u.entityAutoCompleteView)}),o=C.watch("scheduleDetailsFixedAssetsSection.vendor");f.useEffect(()=>{u.entityAutoCompleteView.fetchState==="Completed"&&Q.current?.(_e(u.entityAutoCompleteView))},[u.entityAutoCompleteView.fetchState]);const q=(n,x)=>{s.onAutoCompleteInputChange?.(n,"vendor"),Q.current=x},xe=C.handleSubmit(()=>{k(l.selectedJEScheduleTransaction?.jeScheduleId)}),ve=async(n,x)=>{const T=x[le].vendor;if(n.includes("vendor")){const re=T?.defaultOptions.map(R=>R.value);if(T?.selectedOption!=null&&re?.includes(T.selectedOption)!==!0){const R=u.entityAutoCompleteView.vendor.find(we=>we.id===T.selectedOption);R!=null&&C.setValue("scheduleDetailsFixedAssetsSection.vendor.defaultOptions",[{label:R.name??"",value:R.id}])}}const ee=n.includes("amount");if(P(x,ee),n.includes("amount")){const re=n.split(".")[1],R=parseInt(re);Y(!0),y(R,l.selectedJEScheduleTransaction?.jeScheduleId)}};f.useEffect(()=>{let n=!0;const x=C.watch((T,{name:ee})=>{ee!=null&&T!=null&&Pe(()=>{n&&ve(ee,T)})});return()=>{n=!1,x.unsubscribe()}}),f.useEffect(()=>{(oe!==S.jeScheduleDetails.length||ne!==S.selectedDate||de!==S.selectedDayOfMonth)&&se===!0&&(C.resetField(ae,{defaultValue:he(l,z,G,$,N,u.entityAutoCompleteView)[ae],keepDirty:!1}),Y(!1))},[S.jeScheduleDetails.length,S.selectedDate,S.selectedDayOfMonth]),f.useEffect(()=>{l.selectedJEScheduleTransaction?.status.code==="marked_as_completed"&&Z(!1)},[l.selectedJEScheduleTransaction?.status.code]);const fe=(Fe(C.formState.dirtyFields)||l.selectedJEScheduleTransaction?.status.code==="draft")&&S.jeScheduleDetails.length>0,Oe=()=>{fe===!0?E(!0):(r!=null&&t!=null&&e.trackScheduleDetailsCanceled(te({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:g,controllerUserIds:b})),p())},Ee=()=>{l.selectedJEScheduleTransaction!=null&&L({id:l.selectedJEScheduleTransaction.baseTransaction.id,type:l.selectedJEScheduleTransaction.baseTransaction.type})},Te=f.useCallback(()=>{Z(!0)},[]),Ae=f.useCallback(()=>{r!=null&&t!=null&&e.trackScheduleDetailsMarkedAsCompleted(te({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:g,controllerUserIds:b})),w()},[e,g,b,t,w,r,D]),je=f.useCallback(n=>{r!=null&&t!=null&&e.trackScheduleDetailsDeleted(te({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:g,controllerUserIds:b})),A(n)},[e,g,b,t,A,r,D]),Ie=(l.selectedJEScheduleTransaction?.scheduledJournalEntry.flatMap(n=>n.error??[]).filter(n=>!!n)??[])?.includes("vendor_deleted")===!0?o?.defaultOptions.find(n=>n.value===o?.selectedOption)?.[0]?.label:l?.selectedJEScheduleTransaction?.vendor?.name,ke=a.jsx(mt,{title:Ie??M.strings.empty,onNavigateBack:Oe,onTransactionClick:Ee}),Le=a.jsx(rt,{children:a.jsx(Ne,{...C,children:a.jsxs("form",{style:{width:"100%"},id:ge(ye),onSubmit:xe,children:[a.jsx(St,{vendorLoadOptions:q,vendorField:o,vendorSearchAutoCompleteActions:s,vendorSearchAutoCompleteData:u,scheduleDetailsView:l,allAccountOptions:z,allClassOptions:G,allMonthOptions:N,allDepAccountOptions:$,onEditAmount:y,onDelete:je,onJELinkClick:X,onViewLinkedJE:I,onMarkAsComplete:Ae,allowCreateSchedule:ie,onCreateSchedule:Te}),O===!0?a.jsx(qe,{titleComponent:a.jsx(We,{children:M.confirmationPopup.discardTitle}),descriptionComponent:a.jsx(Re,{children:M.confirmationPopup.discardDescription}),primaryButtonText:M.confirmationPopup.discard,secondaryButtonText:M.confirmationPopup.cancel,proceedButtonVariant:"danger",action:ce}):null,fe===!0?a.jsx(Be,{formId:ge(ye),primaryBtn:{label:M.footer.save,style:{minWidth:"82px"},isLoading:l.updateStatus.fetchState==="In-Progress",isDisabled:l.updateStatus.fetchState==="In-Progress"},cancelBtn:{label:M.footer.cancel,shouldResetOnCancel:!0,onClick:()=>{E(!0)},style:{minWidth:"82px"}}}):null]})})});return a.jsxs(ct,{children:[ke,Le]})}function mt({onNavigateBack:e,onTransactionClick:d,title:m}){return a.jsx(ze,{title:m,tooltipTextOnLaunch:ft.showTransactionTooltip,onBackClick:e,onLaunchClick:d,style:{zIndex:3}})}function St({vendorField:e,vendorLoadOptions:d,vendorSearchAutoCompleteActions:m,vendorSearchAutoCompleteData:l,scheduleDetailsView:s,allAccountOptions:u,allClassOptions:c,allDepAccountOptions:p,allMonthOptions:y,allowCreateSchedule:v,onCreateSchedule:k,onEditAmount:A,onDelete:P,onJELinkClick:F,onViewLinkedJE:L,onMarkAsComplete:w}){const j=s.selectedJEScheduleTransaction?.scheduledJournalEntry.flatMap(O=>O.error).filter(O=>!!O)??[];return s.selectedJEScheduleTransaction!=null?a.jsxs(ut,{children:[a.jsx(ht,{children:a.jsx(lt,{vendorLoadOptions:d,vendorField:e,vendorFieldName:V(le,"vendor"),vendorSearchAutoCompleteActions:m,vendorSearchAutoCompleteData:l,errors:j,transaction:s.selectedJEScheduleTransaction.baseTransaction,vendor:s.selectedJEScheduleTransaction.vendor})}),a.jsx(it,{sectionId:le,jeScheduledTransaction:s.selectedJEScheduleTransaction,allAccountOptions:u,allAccountList:s.allAccountList,allClassList:s.allClassList,allClassOptions:c,allDepreciationAccountOptions:p,allDepreciationAccountList:s.allDepreciationAccountList,allMonthOptions:y,uncategorizedAccounts:s.uncategorizedAccounts,lastDayOfMonth:s.scheduleDetailsLocalData.fixed_assets.lastDayOfMonth,assetId:s.scheduleDetailsLocalData.fixed_assets.assetId,selectedPostingDay:s.scheduleDetailsLocalData.fixed_assets.selectedDayOfMonth,selectedMonths:s.scheduleDetailsLocalData.fixed_assets.selectedMonths,isDisabled:s.selectedJEScheduleTransaction.jeScheduleId!=null&&s.selectedJEScheduleTransaction.status.code!=="draft"&&s.selectedJEScheduleTransaction.status.code!=="marked_as_completed"?"disabled":void 0,updateStatus:s.deleteStatus.fetchState,allowCreateSchedule:v,onDelete:P,onMarkAsComplete:w,onCreateSchedule:k}),a.jsx(pe,{controller:v===!0,children:a.jsx(at,{sectionId:ae,totalAmount:s.selectedJEScheduleTransaction.baseTransaction.amount.amount,listFetchState:s.fetchState,scheduleJournalEntries:s.selectedJEScheduleTransaction.scheduledJournalEntry,hideMemoField:s.selectedJEScheduleTransaction.jeScheduleId==null,localData:s.scheduleDetailsLocalData.fixed_assets.jeScheduleDetails,uiState:s.uiState,onEditAmount:A,onJELinkClick:F,onViewLinkedJE:L,jeScheduleId:s.selectedJEScheduleTransaction.baseTransaction.id})})]}):null}const ge=e=>`${e}_form`,he=(e,d,m,l,s,u)=>{const c=e.scheduleDetailsLocalData.fixed_assets,p=c.selectedAccount,y=c.selectedVendor,v=y!=null?u.vendor.find(i=>i.zeniId===y.id):void 0,k=p!=null?e.allAccountList.find(i=>i.accountId===p):void 0,A=c.selectedAccumulatedDepreciationCategory,P=A!=null?e.allDepreciationAccountList.find(i=>i.accountId===A):void 0,F=c.assetId,L=c.selectedClass,w=L!=null?e.allClassList.find(i=>i.classId===L):void 0,j=c.selectedMonths,O=c.jeScheduleDetails.map(i=>({postingDate:i.postingDate,amount:i.amount.amount,runningBalance:i.runningBalance.amount,postingStatus:i.postingStatus,jeLink:i.jeLink.thirdPartyTransactionId})),E=c.selectedDayOfMonth,h=c.lastDayOfMonth,J=E==null&&h==null?void 0:h===!0?"lastDayOfMonth":"day";return{[le]:{scheduleExpenseCategory:{selectedOption:k?.qboId,allOptions:d},accumulatedDepreciationCategory:{selectedOption:P?.qboId,allOptions:l},assetId:F,scheduleClass:{selectedOption:w?.classId,allOptions:m},startDate:c.selectedDate,months:{selectedOption:j,allOptions:s},vendor:{selectedOption:v?.id??y?.id,defaultOptions:Ue(u,v??y)},postingDate:{type:J,dayOfMonth:E}},[ae]:O}};export{It as default};
|