@zeniai/web-cockpit-ui 1.15.56-qa → 1.15.57-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-CUEH8rCg-CIX9LCVV.js +21 -0
- package/dist/assets/{AIPerformancePage-BWhcStZE-OZZWOwhI.js → AIPerformancePage-C-7kZpzd-DnU-CnU0.js} +32 -32
- package/dist/assets/AccountInfoPage-D6R4uR87-CauYgBnD.js +18 -0
- package/dist/assets/{AccountInfoPageContent-XBo-oJV1-Da0bieZO.js → AccountInfoPageContent-CaAlcViW-DD8DzME3.js} +22 -22
- package/dist/assets/AccountLockedInfoModal-DQXLZ2LO-C0aOsoiG.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-DwzrCq7I-DRO35nGz.js → AccountReconDetailsDrawerPage-BeVU7eNW-DnvK_eyt.js} +20 -20
- package/dist/assets/AccountRow-CGg3Gvpj-2LubTGsx.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-D-iNswM8-Cpv3KiBl.js → AccountsPromoCardStack-W21wtjzz-BzBECEOs.js} +11 -11
- package/dist/assets/AddAddressForCardDrawer-BEt3wVEb-DjZ-MTg6.js +6 -0
- package/dist/assets/{AddToWalletPage-DX8xInYJ-oY_8kc5z.js → AddToWalletPage-CNqNAmD1-BAMChQys.js} +15 -15
- package/dist/assets/{AgingReportsPage-CXj1Tifk-Bo-rrYDt.js → AgingReportsPage-tl0jPK38-BjO71f63.js} +8 -8
- package/dist/assets/{AllUserItems-DU78kWqE-DhNwAIBb.js → AllUserItems-Q1lO4Ln3-CuR2BE-L.js} +11 -11
- package/dist/assets/{ApAgingDetailPage-BV5m2F3a-DRpWO7ks.js → ApAgingDetailPage-D2Z4kxTX-DwVh7bmZ.js} +6 -6
- package/dist/assets/AppBasePage-X40fGmvM-B3sSuk1o.js +71 -0
- package/dist/assets/AppDrawerContent-CvJTJq58-BGDMCBjA.js +92 -0
- package/dist/assets/ApprovalRulesSettingsPage-C4lEfWTu-yCUuOf0u.js +47 -0
- package/dist/assets/{ArAgingChart-B0wn2vDP-f7oGxVU8.js → ArAgingChart-DVt6kJYF-BIJAb2VF.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-C-agUa8y-BOcc6BGV.js → ArAgingDetailPage-IHDBT7mF-wxBgjehQ.js} +3 -3
- package/dist/assets/{AttachmentView-9Vrv319r-DVVqaraT.js → AttachmentView-CwRBUVxC-B-A8o2yf.js} +7 -7
- package/dist/assets/BalancesInsightWithToolTip-XPRUqEEA-Kn1TsaRI.js +38 -0
- package/dist/assets/{BankAccountSection-Bv9Iogxn-BLcgKijp.js → BankAccountSection-W3gEhXh6-DFHw2sKM.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-DAxaKIg3-CQatpV3z.js → BankAccountWarningSection-9u-04CXU-aDzsUImF.js} +9 -9
- package/dist/assets/{BankConnectionsSettingsPage-ZUWw604G-BRehKaig.js → BankConnectionsSettingsPage-DV_X9ctb-CDyQw7u-.js} +27 -27
- package/dist/assets/BillDetailPage-C0r7XIcc-BFWDSS_J.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-BfJ2F03Y-B4Sw2z30.js → BillPayApprovalRuleDetailPage-DJID_-tr-BTp82A3G.js} +4 -4
- package/dist/assets/{BillPayApprovalRulesPage-DQ0MRCLa-YnoDd_eN.js → BillPayApprovalRulesPage-73C2kwjc-DV2esjtr.js} +7 -7
- package/dist/assets/{BillPayPromoPage-DdxRC1p4-CeUDiYiI.js → BillPayPromoPage-FW3B8U-w-n5VnpHD-.js} +6 -6
- package/dist/assets/{BillPaySetUpPage-DBFcp1Yq-DN8GCbic.js → BillPaySetUpPage-rgzWSOQM-C-ZdDZzJ.js} +2 -2
- package/dist/assets/BillingSettingsPage-AcYS3TSu--RATyZn_.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-HXDlOpw3-Cm0uTk27.js → BillsBulkReviewDrawerPage-CM8-szf_-D9duXPwz.js} +1 -1
- package/dist/assets/{BoxItem-DaxLyqVe-B9VgEFUi.js → BoxItem-u890NmTk-GdZH4g2N.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BG1rOYOk-D5qCYDOp.js → BusinessVerificationPage-CzrVGb5K-CmS-O7sQ.js} +13 -13
- package/dist/assets/CardNumberSubText-CxypsknQ-C5MjjYIg.js +21 -0
- package/dist/assets/{CashbackDetailPage-CpVmCjts-DdBqQYGO.js → CashbackDetailPage-fBR9M8sC-Dh5E8gW1.js} +27 -27
- package/dist/assets/{ChargeCardDetailPage-u6hMCosx-DtARLgQT.js → ChargeCardDetailPage-CYv8doUs-CC359HTm.js} +18 -18
- package/dist/assets/{ChargeCardListPage-D_7gwi3K-BPR6_79h.js → ChargeCardListPage-CrwBff5O-BIYKDbQO.js} +36 -36
- package/dist/assets/{ChargeCardListTable-DJmStpnO-BzLArBYX.js → ChargeCardListTable-B9P82JB2-DT4hRxIU.js} +37 -37
- package/dist/assets/{ChargeCardPaymentHistoryPage-BRGJ-5y3-DkMANxUm.js → ChargeCardPaymentHistoryPage-BzsNSIp4-CyZrJgN7.js} +42 -42
- package/dist/assets/ChargeCardPromoPage-D40YUEIh-CzX92eqi.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-CRDfRFf1-DwGVvYiG.js → ChargeCardSetupPage-BJ0ruCk3-BaTLJK3K.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-l4X9T8zd-Buh-S4ZJ.js → ChargeCardStatementsPage-CCn6jmK3-B65SJzNg.js} +10 -10
- package/dist/assets/{CheckDepositDrawerPage-DR6LIuPw-DKvVXdmj.js → CheckDepositDrawerPage-COW-uu-_-B15TUyNY.js} +10 -10
- package/dist/assets/CollapsableReportTable-oX8IRAxt-DmgpCuxO.js +2941 -0
- package/dist/assets/{CompanyOfficerDetailsSection-DoGF7khv-Wy_dQ_8T.js → CompanyOfficerDetailsSection-IqJVtLZK-C3OYrk_8.js} +21 -21
- package/dist/assets/{CompanyPassportCard-BHFj9sK6-_Dc-s-J2.js → CompanyPassportCard-BiGjFwZ5-DaDkL0aZ.js} +8 -8
- package/dist/assets/{CompanyPassportPage-CH-dqy03-OxH27UIz.js → CompanyPassportPage-Dg-Q0eMl-B0lK1QQa.js} +36 -36
- package/dist/assets/{CompleteProfile-Ck4Baf4z-BiDJ7-lr.js → CompleteProfile-Ccg2CHq4-rKD1q2iz.js} +4 -4
- package/dist/assets/ConfettiBurst-yXo14QzY-AOku3ebT.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-D8Z-iftf.js → ConstrainedInnerElement-CgdnMeoA-DBQlMIjc.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D-0WG9pO-xKEqlz3T.js → CreateOrEditVendorPage-DQYLvgGA-xCTJk5Wj.js} +13 -13
- package/dist/assets/{CreditCardPaymentDrawerPage-B7voVDUs-DhCFlSxU.js → CreditCardPaymentDrawerPage-izuZXkqy-ofdy6ysD.js} +14 -14
- package/dist/assets/CurrencySelectField-CneumAPd-B7hTgri2.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-D42sb2F9-C12j7ObB.js → CustomerOnboardingActivationPage-C4y0EhXQ-Bs3PD2DS.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-DbMXDaX1-Bt7wIkF_.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-n6GMQZP5-YVUGziza.js → CustomerOnboardingDetailPageSkeleton-D8UmruuK-BIBD0SgP.js} +12 -12
- package/dist/assets/CustomerOnboardingNoStepsPage-hN3TzkAz-Cl3v7kHV.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-BPX2w8Fg-DWYY9hzE.js → CustomerOnboardingPage-C-lYffqT-BHmAdBeO.js} +7 -7
- package/dist/assets/{CustomerOnboardingProductSuitePage-CZXqXXFj-DbtnPgDW.js → CustomerOnboardingProductSuitePage-_UgeXE48-BukwqaM7.js} +11 -11
- package/dist/assets/{Dashboard-Q5gt63wS-BSx4ra46.js → Dashboard-BqIm-EyG-DjEf_UGj.js} +1 -1
- package/dist/assets/{DashboardReportPage-DJsc3Nx7-Ci5wRkW7.js → DashboardReportPage-Dnwy7uOD-B5yKdlc5.js} +39 -39
- package/dist/assets/DashboardSidebarBackgroundAnimation-D0fh4PIm-DM5qHrdk.js +12 -0
- package/dist/assets/DepositAccTransactionItem-C6yQhPjj-l11w2Y5D.js +76 -0
- package/dist/assets/DepositAccTransactionListPage-BtncOXZP-BnXQt5-Q.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-Dptv-ebx-DSZ1aqIn.js → DomesticWireDetailsPage-DmtO34lv-CxwBDMGE.js} +1 -1
- package/dist/assets/DownloadOverlay-CWHxxKW_-UDgVlxY5.js +439 -0
- package/dist/assets/{DrawerPage-DtJQE-UA-Cqtpkmhn.js → DrawerPage-DSU5oir8-DRsRlHno.js} +12 -12
- package/dist/assets/EditPeoplePage-D2n0Hqby-DTz2-JYI.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-CFLBOcFT-DS-9_HAs.js +865 -0
- package/dist/assets/EntityDetailPage-Mmx3DFuG-MVIaVfxx.js +18 -0
- package/dist/assets/{EntitySummarySection-BiIPehv4-Du95DQYP.js → EntitySummarySection-HHASyTi6-mpUEq7ck.js} +16 -16
- package/dist/assets/{ExpenseAutomationOverviewPage-Bo5Eu3Ju-BIhPjW_P.js → ExpenseAutomationOverviewPage-DJlmx9Oe-B6myEsyW.js} +52 -52
- package/dist/assets/ExpenseAutomationPage-Djk1vwnA-DbEUK9XH.js +3001 -0
- package/dist/assets/{ExpressPayPage-D18sY5VJ-BzfFkgkp.js → ExpressPayPage-BeCtQ7TL-Ds7KSKVG.js} +21 -21
- package/dist/assets/{FeaturePreviewPage-De2_m2xD-dAXyeyrD.js → FeaturePreviewPage-Dr96evH6-D1kxI8yP.js} +2 -2
- package/dist/assets/{FollowStepsSection-D5ln-mii-B_5eRfWe.js → FollowStepsSection-CH5j9Kb4-BJ9-zsQc.js} +13 -13
- package/dist/assets/GlobalReviewListPage-C32MoCYm-BNlLd0Dn.js +291 -0
- package/dist/assets/{InformationCardStack-B4z6RgwP-BT1JNK_O.js → InformationCardStack-OBOt0eaS-CKdLlnik.js} +4 -4
- package/dist/assets/{InsightsCardStack-CwBBEkZ7-i2yqT7-p.js → InsightsCardStack-BaaSbxvA-DSePDCyn.js} +13 -13
- package/dist/assets/InsightsSection-H8voYHTz-DN8-jvkA.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-DBiomD_q-SEyeefZG.js → IntegrationsSettingsPage-B_2KNKJF-BtmEIfKI.js} +6 -6
- package/dist/assets/{InternationalWireSwiftDetailsPage-h4bchKo3--aqneqa5.js → InternationalWireSwiftDetailsPage-DvZU7o6p-BObKTwl6.js} +26 -26
- package/dist/assets/InternationalWireVerificationPage-D_jydE0q-DqIfVs5O.js +65 -0
- package/dist/assets/{InviteFormPage-Dgb-LZKf-B4zbJlb8.js → InviteFormPage-Dr6gx_W_-B4h2mADz.js} +29 -29
- package/dist/assets/{InvitePageListView-DC-Dp4Zc-B-7d1O44.js → InvitePageListView-Dva8LR_u-gmKNm5Jm.js} +39 -39
- package/dist/assets/InvitePeoplePage-bg-XFo6D-C4ZVJYSx.js +12 -0
- package/dist/assets/InvoiceUploadSection-CnYvPpZv-Gp4_i4AV.js +140 -0
- package/dist/assets/{IssueChargeCardPage-DiUKL-rT-BdVoOcei.js → IssueChargeCardPage-Z5WdMvKc-BWkEUK7g.js} +35 -35
- package/dist/assets/{LabeledAddressValue-DYTDoPER-SnTlZNct.js → LabeledAddressValue-DGXMQaW1-Fv-4gy9z.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-DVNSaKBc-DiqNlFEG.js → LabeledAddressValueField-DR8V5Kty-DLCCRDRb.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-CZlavM3Q-o9j3g7Xs.js → LabeledControlledCheckBoxField-CWjC7vEV-9UTpUa1T.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-BM1jU3hl-DUjzUpNU.js → LabeledCountryMultiSelectField-CvCgQPY6-BWmECH3i.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-BkI0vyax-B-WErV8z.js → LabeledCreatableSingleSelectField-BZ8L7RY0-DX5NmRdy.js} +6 -6
- package/dist/assets/LabeledDocumentField-B44mt0a7-C0VfTm18.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-6YP1FaQA-BrHR3rfW.js +59 -0
- package/dist/assets/{LabeledText-BaYp8lyd-DsouujPF.js → LabeledText-Q6xdsHJ6-CFwsR7ll.js} +6 -6
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-nlyagP_L-CvgIxOeV.js → LabeledUserSingleSelectWithSubtitlesField-ClUfUqjp-BZp8hOi3.js} +19 -19
- package/dist/assets/{LabeledZeniRolesDropDownField-Bgf26ek0-CC9PqeMV.js → LabeledZeniRolesDropDownField-hbA4Pwlf-D_cCYzYL.js} +31 -31
- package/dist/assets/{LinkJETransactionPage-ByQktBdK-CF0EgNmk.js → LinkJETransactionPage-CH7I7Hke-Bsatheht.js} +17 -17
- package/dist/assets/{LockCardPage-M7Pcx6mB-CzjxHABW.js → LockCardPage-DLFjGMIe-CJwxHBTx.js} +19 -19
- package/dist/assets/{LowBalancePopup-DTwIs75G-BRD9r8mS.js → LowBalancePopup-DPe7elRO-Bgii0mzY.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-DQc3pum0-C2Dyu42Z.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DtD1wZUs-CVU818YE.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-p1K2cYou-BMU75zJW.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-uTUHm3oK-BGx1QWS3.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-B985JuE8-VlS0_Ueo.js → MagicLinkTitleSection-CrGigZw5-BF_Mel0J.js} +5 -5
- package/dist/assets/MailingDetailsSection-BEpTd3QP-CtqpR-Gb.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-2x0kDozt-B-DkgfNl.js → MyBankConnectionsSettingsPage-CPHG_qZj-Cv2vkFlb.js} +13 -13
- package/dist/assets/MyPendingActivationChargeCardListPage-CvMl9E2P-C40qfFQ1.js +6 -0
- package/dist/assets/{MyProfileSettingsPage-BQx9m8r--CCbDAOvO.js → MyProfileSettingsPage-CDUxWW5P-BV8AekOH.js} +9 -9
- package/dist/assets/NavBarWithPicker-ukJ-8SxD-DzuBOs4j.js +30 -0
- package/dist/assets/{NavigationArrow-BpKepWMa-BdqB62PO.js → NavigationArrow-DLfHmE8t-CJQw-tog.js} +7 -7
- package/dist/assets/NavigationDots-TTIuTGav-Dpl3-lZ_.js +15 -0
- package/dist/assets/{NewGlobalMerchantPage-rAYrEwup-DX3zbNGn.js → NewGlobalMerchantPage-qrkVsl71-Gy1heqbr.js} +37 -37
- package/dist/assets/{NoDataChart-SlgxXIjJ-DxbYX5JM.js → NoDataChart-CHLcGmJY-o60E8S1E.js} +2 -2
- package/dist/assets/{NoDataTable-CePwfuWH-63JcLMeG.js → NoDataTable-Bv2f24Dy-BxdDK0Sh.js} +1 -1
- package/dist/assets/{NotFoundPage-CdmLYWbu-4ugV08yh.js → NotFoundPage-De1VvWXR-CTgXCngp.js} +7 -7
- package/dist/assets/{NotificationSettingsPage-KThnHYOw-B6fPh0uG.js → NotificationSettingsPage-BA6OA31--CBfWO-I3.js} +19 -19
- package/dist/assets/NotificationsListConfig-e5U6zFaL-CLHC4HiN.js +1 -0
- package/dist/assets/NotificationsPage-B7xvgP8z-DCZ8FuvH.js +685 -0
- package/dist/assets/OpExByVendorPage-C5DN3Ujz-CwGzpZxP.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-VhNl4Ji-.js → OverlayContainerPage-BG9y5C0t-BmISyMhw.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-C6FwSybq-DFlEavl5.js → PandLWithForecastPage-BBINfNiw-BOBMU-KK.js} +13 -13
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DFCQGlZ--O_NjtLB8.js → PaymentAccountSetupBillingAddressSection-D0U3JmOv-vufqhDlQ.js} +16 -16
- package/dist/assets/PeoplePage-5vcxUe01-C3vcjFOm.js +727 -0
- package/dist/assets/{Preview-DrZGwz9y.js → Preview-CA1Ro8Pa.js} +1 -1
- package/dist/assets/{ProductsCarousel-Bq0uDCW7-DVlFZNxE.js → ProductsCarousel-CdRGFDrq-BqWqsGo2.js} +8 -8
- package/dist/assets/{PromoBaseCards-Bs1TPBeA-BgeB60k7.js → PromoBaseCards-CnRAEsCq-Bliwh9DN.js} +19 -19
- package/dist/assets/{QBOConnectionDialog-CGH6M1BO-BLYU__Ef.js → QBOConnectionDialog-DVZWEDpK-Bc0_cD5P.js} +6 -6
- package/dist/assets/QBOSetupSection-qpeMgFEQ-C_--S51D.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CUf8BGfB-B_xupcTv.js → ReimbursementApprovalRuleDetailPage-BxdIzE6u-CQKnW4o9.js} +4 -4
- package/dist/assets/{ReimbursementApprovalRulesPage-SKRjcth4-Bz6bYIZs.js → ReimbursementApprovalRulesPage-DTWRo5Ie-DjHMSjnE.js} +11 -11
- package/dist/assets/ReimbursementDetailPage-E6DAkd-i-BjsPRzGO.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-X1o2D5fz-COdO7cLo.js → ReimbursementPromoPage-DIb3qZ6_-SpJeCRSI.js} +32 -32
- package/dist/assets/{ReimbursementSetUpPage-DfAhrvlw-nYuoapwW.js → ReimbursementSetUpPage-BB1W8YH--B00Vhwv5.js} +6 -6
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-LVIfhug4-BO74jBI4.js +1 -0
- package/dist/assets/{ReloadCard-DvIzOHkJ-N-AxqgLX.js → ReloadCard-D84Lsd_5-BzO2KGeI.js} +5 -5
- package/dist/assets/ReportTableViewSelector-Db3_WDLJ-DUTYFa_F.js +151 -0
- package/dist/assets/ReportsPage-Blkv8tLt-UF7wvIxP.js +237 -0
- package/dist/assets/{RevenueChart-VvZ0y1TP-CMupOCrE.js → RevenueChart-Dfh_D_Vp-00E7CM78.js} +18 -18
- package/dist/assets/{ReviewDetailsPage-DC5Pr6t5-CqFNly7B.js → ReviewDetailsPage-DvFKpxt5-x-cocqaX.js} +22 -22
- package/dist/assets/{ReviewOverlay-BidXwnVw-aLFcTmHD.js → ReviewOverlay-B22mWGHc-CSe4tQzR.js} +21 -21
- package/dist/assets/RoleWithToolTip-Z-Qz5ghD-BF3ViIqp.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-P4en048K-Bk9b9_R0.js → ScheduleDetailsFixedAssetsPage-B1Tu4OmB-BoWzKj3F.js} +13 -13
- package/dist/assets/ScheduleDetailsPage-hMZQawbc-B5K8qyv9.js +37 -0
- package/dist/assets/ScheduleSequenceTable-EKOr-6FS-CIMOW3Lv.js +324 -0
- package/dist/assets/{ScreenRoutes-GMpQIqvy.js → ScreenRoutes-Bsr7kGfq.js} +29 -51
- package/dist/assets/{SetUpAccountSection-DBuoMbxP-Cslg712V.js → SetUpAccountSection-Bc1EdtKp-0yaISOWV.js} +14 -14
- package/dist/assets/SignIn-DYdZJ_1z-gBNUWjHV.js +491 -0
- package/dist/assets/SignInScreen-BUAoHqsZ.js +1 -0
- package/dist/assets/SpendManagementListViewPage-C3b_1mS_-DDW1AA6H.js +134 -0
- package/dist/assets/SpendManagementPerTabPage-BctgHJjH-BYX0TtFW.js +754 -0
- package/dist/assets/{SpendManagementSection-C-EIQv7m-CV_Wxyh4.js → SpendManagementSection-DjGyXgmL-Cmes-08v.js} +21 -21
- package/dist/assets/{StatementItem-BSVnuQ3e-yqvWSMaE.js → StatementItem-DkYczigh-CSnHMTYV.js} +4 -4
- package/dist/assets/{StatementsPage-CgOC5W_I-8JR2miwM.js → StatementsPage-CgNLCUZ1-C1Zt1XYf.js} +2 -2
- package/dist/assets/{StatusSwitcher-BnSFSpJ0-CBUPADr-.js → StatusSwitcher-CU6EtKkZ-C1BL7O8L.js} +5 -5
- package/dist/assets/SubTabSwitcher-BKn38ZMT-B9w-rcp8.js +58 -0
- package/dist/assets/{SummaryCard-BTnU1LYd-B0v15J8Z.js → SummaryCard-ROGEOK04-BgGopNGq.js} +1 -1
- package/dist/assets/TaskManagementPage-B5otKSZb-BFE0mAT-.js +508 -0
- package/dist/assets/TimeRangeSwitcher-JnO2pOTw-N9yivG4V.js +64 -0
- package/dist/assets/TimeframeSwitcher-DfDRlQ7n-CpbdT0B7.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-CaxIUKDr-DQWeAlGt.js +53 -0
- package/dist/assets/{TopExCard-Bc812PB9-COWkoZkp.js → TopExCard-BdqEYR_a-Px7omjuw.js} +6 -6
- package/dist/assets/{TopExDetailPage-19FwjeX_-CuNIFiR3.js → TopExDetailPage-CsnKTK9E-RTm78wxT.js} +14 -14
- package/dist/assets/{TransactionActivityLogPage-7Lfwq_IY-DnHmLebY.js → TransactionActivityLogPage-D9gPySqM-BB8d-BVV.js} +17 -17
- package/dist/assets/TransactionDetailPage-m6wkPmbZ-BkoyM4F5.js +903 -0
- package/dist/assets/TransactionList-fHfxF4uV-LtxJekW-.js +153 -0
- package/dist/assets/{TransactionListBig-gSPdjYSs-BdSow7ov.js → TransactionListBig-8tRV7xaa-Jk-ZnUXx.js} +16 -16
- package/dist/assets/TransactionListPage-C6ZUsD4l-B2cnsaR4.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-rcOVwgxy-B8MBpZCv.js → TransactionVendorDetailPage-Di-VFMud-BTshDO7x.js} +6 -6
- package/dist/assets/{TransferDrawerPage-IeuD-8y4-DB9WOT1Q.js → TransferDrawerPage-BYVv35xE-Da_CHRTD.js} +45 -45
- package/dist/assets/TreasuryOverviewPage-CXOmwW6t-BcQs0RHi.js +725 -0
- package/dist/assets/{TreasuryPromoPage-KuuzWIYO-BDZfrTam.js → TreasuryPromoPage-B-PDUb2u-B-T-cvTP.js} +131 -131
- package/dist/assets/{TreasuryStatementsPage-BAfN8DAx-BToIYFN6.js → TreasuryStatementsPage-hjW6l23C-C-DgyZev.js} +6 -6
- package/dist/assets/TreasuryTaxLetterPage-DYwjPZ9c-DOWoHFiR.js +58 -0
- package/dist/assets/{TrendChart-BJqnjEu6-D4oToyZQ.js → TrendChart-wH6MSice-DJRpqJPt.js} +5 -5
- package/dist/assets/TrendWithTransactions-C4RoOFet-B4g09uS7.js +116 -0
- package/dist/assets/{UncategorizedAccountsMappingPage-DlxWCGZg-BAwb-_vk.js → UncategorizedAccountsMappingPage-Blk80xZv-CW9X7gIW.js} +22 -22
- package/dist/assets/{UnitIntegrationPage-U85XCs_D-D9O_ROgv.js → UnitIntegrationPage-B8yOgT6I-DGHJCnWv.js} +5 -5
- package/dist/assets/UploadAdditionalDocumentOverlay-CSfIPVfJ-BDLDUOxO.js +38 -0
- package/dist/assets/{Vendor2FAPopup-DLU7H22p-bh-wu--S.js → Vendor2FAPopup-pOBQ1C8g-B_aiKxPv.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-vLOpvill-CqCIfcoF.js +1 -0
- package/dist/assets/VendorDetailPage-D_6A3zAl-tXWG3blq.js +257 -0
- package/dist/assets/VendorDomesticWireDetailsPage-CibBnVcZ-BoJ0ATIU.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-DIvLStyg-BQ8_Q099.js → VendorFiling1099EditablePage-ORFpUADS-rHSTxH-v.js} +32 -32
- package/dist/assets/VendorFirstReviewPage-B2GFRqrs-DYmryaKj.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-Ctwg_CTY-Cwh4VXpi.js → VendorInternationalWireDetailsPage-DCI8Yjx2-DMlPUggt.js} +19 -19
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-C2TqWbKk-CfEJ4hqR.js +1 -0
- package/dist/assets/{VendorsAccountsSection-Bj840XXA-CgKV8slk.js → VendorsAccountsSection-CpHLUjT0-DtbgyO3N.js} +2 -2
- package/dist/assets/{VerifyDevice-D5ce0rEk-DWZM5mzw.js → VerifyDevice-B7mUvk_I-DOI_nJJs.js} +9 -9
- package/dist/assets/{VideoPlayer-XhlPd-AK-BnsTqJgD.js → VideoPlayer-uODifSjz-C5_6EW14.js} +2 -2
- package/dist/assets/VideoPopup-vRgVcJFh-DUXScMWN.js +31 -0
- package/dist/assets/{WarningsDrawerPage-CXHMQPmw-BWpof2zn.js → WarningsDrawerPage-GqThVUqO-BliCg9jp.js} +7 -7
- package/dist/assets/ZeniAccountDetailPage-Dplz1Jte-CmvovpKF.js +300 -0
- package/dist/assets/ZeniAccountListViewPage-CXVzZ4jo-OfYDDT9h.js +443 -0
- package/dist/assets/ZeniAccountNavBarPieces-DymlaQkB-raQlgOHA.js +33 -0
- package/dist/assets/{ZeniAccountPromoPage-DGttDJGp-hSxOffm6.js → ZeniAccountPromoPage-BBNUZmma-BaNIxJaE.js} +30 -30
- package/dist/assets/ZeniAccountSetupPage-CHHGMoCM-Bpe-HUos.js +36 -0
- package/dist/assets/{ZeniCopyright-Ct2Gx1TW-C8K8JRc8.js → ZeniCopyright-BgmdPASs-DelYiDhm.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CtSVUxFX-Dwsmf36y.js → ZeniTransferAmountSlider-DMsck2bu-DCLTW9RT.js} +7 -7
- package/dist/assets/{add-to-wallet-DgdBD8_G-ML9MGMdm.js → add-to-wallet-DgdBD8_G-D-4o-88L.js} +1 -1
- package/dist/assets/{analytics-P_xGl18F.js → analytics-C31yhYYa.js} +1 -1
- package/dist/assets/{analyticsHelper-XlFGO0fA.js → analyticsHelper-B7l4_BHB.js} +1 -1
- package/dist/assets/{analyticsHelper-BZApS5V7-CQ7w4UrQ.js → analyticsHelper-DmrBYvLC-BYxc55FI.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CaCPY8nT.js → arrow-south-east-round-PEovUgvH-BlzMDlPl.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-NgJPDzL7.js → auto-transfer-rule-mbafm5D3-BYUDU2ca.js} +1 -1
- package/dist/assets/chartTypes-xMrDPcl9-DKVI72OS.js +1 -0
- package/dist/assets/commonDimensions-BeMzLvmC-DeA_97Hu.js +1 -0
- package/dist/assets/{commonTypes-CGdrM7wg-CQNj58rv.js → commonTypes-DYUaD7k3-CaDbaWCj.js} +1 -1
- package/dist/assets/{constants-DOyZLfgU.js → constants-9sygGEgN.js} +1 -1
- package/dist/assets/{core-9fRi0Mt4.js → core-D_TfeHIh.js} +3 -53
- package/dist/assets/{dash.all.min-CF_THag5.js → dash.all.min-Ch2VCoo5.js} +1 -1
- package/dist/assets/downloadPdf-vnuUU3X8-B7Q2l1ET.js +1 -0
- package/dist/assets/{empty-B5Q0rRHT.js → empty-BiJ0vfXH.js} +1 -1
- package/dist/assets/{empty-CAQ4ZkXH.js → empty-DNhRmYaU.js} +1 -1
- package/dist/assets/epic-DgXJ8ekR.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-UGNcWPn9.js → gift-box-Cmt9OgIZ-BEAvT8rf.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-BOhNpsDD.js → graphic-no-data-l-DU4J8fDt-CYOuVrsL.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-emGPe0Ve.js → graphic-no-data-net-burn-l-CzmycA0m-CwMRb5f1.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-B0o7WHoi.js → handshake-BPg58FML-DG913wOo.js} +1 -1
- package/dist/assets/{helper-kGYJRbxq-Dou-1Hvg.js → helper-BabSYuW2-DU5KaXId.js} +3 -3
- package/dist/assets/{index-Yp99NR_9.js → index-B69DilQP.js} +1 -1
- package/dist/assets/{index-BIjhkiZM.js → index-BidMB_0T.js} +1 -1
- package/dist/assets/{index-CLu6elou.js → index-Bv_arhgP.js} +1 -1
- package/dist/assets/{index-xQWNfy_j.js → index-COD15W4T.js} +2 -8
- package/dist/assets/{index-WR35fJ_g.js → index-CQD_nutl.js} +4740 -4814
- package/dist/assets/{index-Bsy-GBiE.js → index-D7j2t6WX.js} +1 -1
- package/dist/assets/{index-LDC8nb34.js → index-l2Ugf91P.js} +1 -1
- package/dist/assets/{lexical-OBpCEASU.js → lexical-CBxUxgf7.js} +1 -1
- package/dist/assets/{liveblocks-C4P3eYZH.js → liveblocks-CtZCL_Pz.js} +2 -15
- package/dist/assets/lottie-CVJxkEeH.js +2 -0
- package/dist/assets/mapLoadingInProgressToTreeNode-Bs8-HXsR-byZZ2UVu.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-oqbfssc7-Dcmf_p1v.js → mapSectionWithAcOnlyToTreeNode-O-hSpwLG-CBm5dWL6.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-BhgPzzom-CExmYnCM.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-Ldd39Ct5-CMF3q4cV.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-nYrRWCim-DX2Ouhk3.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BGId2YAo-BE2VzwOR.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D8UYLJpF-CA2QnDit.js} +1 -1
- package/dist/assets/{mui-Brvp17ej.js → mui-Dk05P7Hv.js} +1 -9
- package/dist/assets/{page-detail-CWX5S47F-ChR2-yvA.js → page-detail-CWX5S47F-DkWNpJ9N.js} +1 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-BuTIFt9p.js +3 -0
- package/dist/assets/{radio-default-CiSgisfh-CXFHpW2r.js → radio-default-CiSgisfh-D0KDYg5a.js} +1 -1
- package/dist/assets/react-BRl-ICJH.js +19 -0
- package/dist/assets/{react-BhtBasS0.js → react-BgX7cXZF.js} +3 -13
- package/dist/assets/{react-kWaLU55M.js → react-BwERS3QF.js} +2 -12
- package/dist/assets/{react-CWcYCkHQ.js → react-Bxl9Z8Qh.js} +2 -12
- package/dist/assets/{react-B62ffbg2.js → react-DDFsdGD8.js} +2 -12
- package/dist/assets/{react-D3G0H1Pz.js → react-DQw_p84_.js} +2 -12
- package/dist/assets/{react-Be9s5WWp.js → react-klqgMUCw.js} +2 -12
- package/dist/assets/{react-DXoHWgeC.js → react-q9e7Zd9C.js} +2 -12
- package/dist/assets/{recharts-3nFTO0WQ.js → recharts-CgI_z3-h.js} +19 -27
- package/dist/assets/{sentry-Bp-C2lie.js → sentry-B9mdFwQp.js} +2 -17
- package/dist/assets/{shield-DOlUxcFf-C7KHbQMV.js → shield-DOlUxcFf-DFrS0m-m.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BghIFr09-Cj1ZDevr.js +1 -0
- package/dist/assets/toChartData-DRKQ5lEf-o8RM5Syw.js +1 -0
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-DZz1sA_Y.js +1 -0
- package/dist/assets/{uploadAttachment-CPTMCWWz-BsMxClN1.js → uploadAttachment-DrIqsgBH-KXnF0yC8.js} +34 -34
- package/dist/assets/uploadReceipts-CIgkuVpu-DVqh43Th.js +1 -0
- package/dist/assets/{url-BgfWw6hk.js → url-1RDcEwn0.js} +1 -1
- package/dist/assets/{url-C3X-Ohpm.js → url-OCPnhlmx.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-aiANt-Y6.js → useLongPress-GCK2COYQ-Bdc_o-8-.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-TqZcDLho.js → usp-line-BBd1wKwW-BUoEX_Hw.js} +1 -1
- package/dist/assets/{utils-DYOlPuZo.js → utils-DZ3Subia.js} +4 -38
- package/dist/assets/zeni-epic-state-ksdE_TIc.js +14 -0
- package/dist/index.html +1 -1
- package/package.json +6 -6
- package/dist/assets/ACHDetailsPage-CfGEDzSb-DV0Eamud.js +0 -21
- package/dist/assets/AccountInfoPage-D6sv-ieC-Bi0ZTjMk.js +0 -18
- package/dist/assets/AccountLockedInfoModal-DTEWzR6U-LlwPq_cj.js +0 -59
- package/dist/assets/AccountRow-BsjoBGWz-DZpihkys.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-D7IEsbzd-BKhmiajL.js +0 -6
- package/dist/assets/AppBasePage-1U1M1WD9-C_v4CyTj.js +0 -71
- package/dist/assets/AppDrawerContent-ilzYI49f-YkJW8OTT.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-CJ4xz_hQ-ZWS4PutA.js +0 -47
- package/dist/assets/BillDetailPage-Cf4PYoYQ-BDF2h_o1.js +0 -266
- package/dist/assets/BillingSettingsPage-DsMjw0qG-BHFQfcoR.js +0 -44
- package/dist/assets/CardNumberSubText-bkAPzhoK-xPg_Vz-Z.js +0 -21
- package/dist/assets/ChargeCardPromoPage-Dx4Lni50-DqToHrb8.js +0 -222
- package/dist/assets/CollapsableReportTable-4bJMcvHV-Mhl0eZKS.js +0 -2844
- package/dist/assets/ConfettiBurst-CVLXMknu-xHcyRPzb.js +0 -1
- package/dist/assets/CurrencySelectField-DrL1sFLq-DKlwkEgI.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-ecKRiXO1-DkyMsJ2e.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage--O7lSduT-CyYXEVAV.js +0 -66
- package/dist/assets/DashboardSidebarBackgroundAnimation-8LKlc-IA--VyG_ExD.js +0 -12
- package/dist/assets/DepositAccTransactionItem-DB7Oz4GA-Cxjn3epT.js +0 -76
- package/dist/assets/DepositAccTransactionListPage-BU1b2OIP-CIILPZQP.js +0 -66
- package/dist/assets/DownloadOverlay-B61S0t5X-ChBbIlkz.js +0 -439
- package/dist/assets/EditPeoplePage-Dd1g1r37-YXzUsk-J.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-B_u1W6bf-CXWrMZff.js +0 -865
- package/dist/assets/EntityDetailPage-q_kzXlBV-BMAnc8Y1.js +0 -18
- package/dist/assets/ExpenseAutomationPage-CBGrrVMb-DXQLO7aa.js +0 -1703
- package/dist/assets/GlobalReviewListPage-Ch51_Flw-Bp8qtPIo.js +0 -291
- package/dist/assets/InsightsSection-CQD6KXLg-CwZowiTB.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-DAQrAsW5-SZTMjIa_.js +0 -65
- package/dist/assets/InvitePeoplePage-CjJOyA8E-CRqZcE-n.js +0 -12
- package/dist/assets/InvoiceUploadSection-BJ_Sbytw-S2-9Zj1d.js +0 -140
- package/dist/assets/LabeledDocumentField-B7TETIva-C4iXsbqy.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-Dj0SVwKK-B-muR79Q.js +0 -59
- package/dist/assets/MagicLinkACHDetailsPage-Cateo39t-DeQKBNgp.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BMkPYONG-D9I776xf.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BVn2JAEL-DW-l5QcU.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-6e22dOVy-Ca3PQPOI.js +0 -31
- package/dist/assets/MailingDetailsSection-detuRa7l-iQO9MOji.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-CfsTMsnG-HpMjRdS6.js +0 -6
- package/dist/assets/NavBarWithPicker-BXsxMlBP-Yw922VyS.js +0 -30
- package/dist/assets/NavigationDots-CxV99fd--DHe0JJ6H.js +0 -15
- package/dist/assets/NotificationsListConfig-6ay7Y8AS-C6rUrmqa.js +0 -1
- package/dist/assets/NotificationsPage-BmNwL81h-SvvKfJOs.js +0 -685
- package/dist/assets/OpExByVendorPage-DQPUJmPx-BSvUE-Xz.js +0 -100
- package/dist/assets/PeoplePage-Df6QdrX5-DiOY0BT9.js +0 -675
- package/dist/assets/QBOSetupSection-BsFbgysY-CKfysLHU.js +0 -79
- package/dist/assets/ReimbursementDetailPage-BzqZlk2B-CTZbBMQs.js +0 -314
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-D0tGia3M-Dr3nLXgh.js +0 -1
- package/dist/assets/ReportTableViewSelector-DikZuwk8-SNjapZLW.js +0 -150
- package/dist/assets/ReportsPage-CgwJh87H-D5Dh_2rJ.js +0 -121
- package/dist/assets/RoleWithToolTip-CUpngYu7-Bv4aTWNw.js +0 -22
- package/dist/assets/ScheduleDetailsPage-Bm8IOCpE-DXeoQ75s.js +0 -37
- package/dist/assets/ScheduleSequenceTable-Cz46lcuv-JJwBSAjp.js +0 -324
- package/dist/assets/SignIn-ogxsR98p-CQtefyen.js +0 -491
- package/dist/assets/SignInScreen-BhGickKe.js +0 -1
- package/dist/assets/SpendManagementListViewPage-DP6uWx2T-CF2QC1sF.js +0 -134
- package/dist/assets/SpendManagementPerTabPage-DSXg_agw-D7L-1Tg8.js +0 -754
- package/dist/assets/SubTabSwitcher-VHMqXmGa-eHcHFn5d.js +0 -58
- package/dist/assets/TaskManagementPage-CeQkRFbn-Dt9eiknk.js +0 -508
- package/dist/assets/TimeRangeSwitcher-BifUYnpe-Cm1SHSWE.js +0 -64
- package/dist/assets/TimeframeSwitcher-9X-6amWo-DNzeRE8K.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-C0fPwGaA-uGCvLn9v.js +0 -31
- package/dist/assets/TransactionDetailPage-C7Tv82YB-BzmjMKCy.js +0 -903
- package/dist/assets/TransactionList-CSZxHqad-DMqYfu_m.js +0 -153
- package/dist/assets/TransactionListPage-9ezEzYvU-DvKHNHiW.js +0 -35
- package/dist/assets/TreasuryOverviewPage-bmv1c3nO-pwlj55Pc.js +0 -708
- package/dist/assets/TreasuryTaxLetterPage-BRDygaXn-BYUu-RLt.js +0 -58
- package/dist/assets/TrendWithTransactions-2pBj6qUR-CstRDLdO.js +0 -116
- package/dist/assets/UploadAdditionalDocumentOverlay-5-avyqy0-CQpeMTAN.js +0 -38
- package/dist/assets/VendorACHDetailsPage-B-Zle7l9-DmwsHf4H.js +0 -1
- package/dist/assets/VendorDetailPage-prrUwTR_-DAtjrsms.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-Cm6an-ZT-BlQReF5b.js +0 -1
- package/dist/assets/VendorFirstReviewPage-BJKFcgOq-DxNWypjV.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-D11DRwWL-BLYwxV4T.js +0 -1
- package/dist/assets/VideoPopup-8ebccUQt-Tnc2J4oh.js +0 -31
- package/dist/assets/ZeniAccountDetailPage-BCEccrGo-BB2c1P9y.js +0 -300
- package/dist/assets/ZeniAccountListViewPage-f_9PSaYv-BA_wKmpL.js +0 -441
- package/dist/assets/ZeniAccountNavBarPieces-oinah8Mu-BSImrbVQ.js +0 -14
- package/dist/assets/ZeniAccountSetupPage-5hc6Dfls-DVsTiUTp.js +0 -36
- package/dist/assets/chartTypes-DcNGo46a-8Wbx66DS.js +0 -1
- package/dist/assets/commonDimensions-C5V1GwCs-MODdkiG5.js +0 -1
- package/dist/assets/detailCommon-DEXTnYE7-DLq8Xlss.js +0 -38
- package/dist/assets/downloadPdf-Cd1RR1sH-4x5kEIho.js +0 -1
- package/dist/assets/epic-Ng2EVSPh.js +0 -2
- package/dist/assets/lottie-Bc1XI_mg.js +0 -9
- package/dist/assets/mapLoadingInProgressToTreeNode-BXVk4dIp-BOP1nsZO.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-BA1RwyQy-BeUvXbCM.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-B8pIGqbO-CfD51fLc.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-D-yDCyLa-DmgDklT3.js +0 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-cmGIfAj7.js +0 -4
- package/dist/assets/react-BgiuPaJ9.js +0 -37
- package/dist/assets/toCOABalancesWithID-Ckyq_c20-B6i1AWVq.js +0 -1
- package/dist/assets/toChartData-N0pkfSXY-B_HjSMac.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-D9Xfc9pM.js +0 -1
- package/dist/assets/zeni-epic-state-C5X_gOJX.js +0 -151
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ay as W,f_ as K,V as _,ct as q,cu as z,cv as H,km as J,a_ as Q,O as G}from"./index-CQD_nutl.js";import{a as f}from"./sentry-B9mdFwQp.js";import{H9 as X}from"./zeni-epic-state-ksdE_TIc.js";import{u as Y}from"./ReviewOverlay-B22mWGHc-CSe4tQzR.js";import"./liveblocks-CtZCL_Pz.js";import"./core-D_TfeHIh.js";import"./recharts-CgI_z3-h.js";import"./mui-Dk05P7Hv.js";import"./lottie-CVJxkEeH.js";import"./analytics-C31yhYYa.js";import"./lexical-CBxUxgf7.js";import"./utils-DZ3Subia.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]="894af68f-d03c-4214-bbf0-04ff93b618ad",e._sentryDebugIdIdentifier="sentry-dbid-894af68f-d03c-4214-bbf0-04ff93b618ad")}catch{}})();const{common:a,spendManagement:{reimbursement:B}}=G.getLocalizedStrings(),n=B.bulkActions;let R;const _e=({remisReviewView:e,isAdmin:o,analytics:s,onProceedForBulkActionClick:d,onCloseReviewItem:u,onCloseOverlay:t})=>{const{fetchState:i,bulkSubmissionFetchState:p,bulkOperationTypeSelected:r,currentTab:b,currentSubTab:y}=e,g=!1,T=W(),l=K(T),[v,m]=f.useState(!1),[h,A]=f.useState(j(e,g,o,l)),[w,D]=f.useState(g),[P,te]=f.useState(0),[S,$]=f.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});f.useEffect(()=>(P===h.length&&w&&(D(!1),clearInterval(R)),e.fetchState==="Completed"&&A(j(e,!1,o,l)),()=>{clearInterval(R)}),[h.length,P,w,e.fetchState,g,e,o,l]);const E=h.length,x=h.filter(c=>c.reviewStatus.code!=="error").length,F=()=>{const{title:c,description:k}=Z(x);$({type:"reject",title:c,description:k,primaryButtonText:a.texts.confirm,secondaryButtonText:a.texts.close}),s.trackReimbursementBulkSubmit(r,b,y),m(!0)},L={onOkClick:c=>{m(!1);const k=e.remisForReview.map(I=>I.reimbursement);s.trackReimbursementBulkPopupConfirm(r,b,y,X(k.map(I=>I?.reimbursementTypesIncluded??[]))),d("reject",c)},onCancelClick:()=>{m(!1)}},{title:O,description:U}=ee(i,x,E,w),C=e.fetchState==="Completed"&&x===0,N=()=>{s.trackReimbursementBulkSubmit(r,b,y),d(r)},V=()=>{let c=a.footer.approve;return C?c=a.texts.close:r==="send_for_approval"&&(c=a.footer.submit),{label:c,isDisabled:i!=="Completed"||r==="reject"&&p==="In-Progress",isLoading:p==="In-Progress"&&(r==="send_for_approval"||r==="approve"),onClick:C?t:N,style:r==="send_for_approval"?{minWidth:"92px"}:{}}},M={label:r==="send_for_approval"?a.texts.goBack:a.footer.reject,isDisabled:r!=="reject"&&p==="In-Progress",isLoading:r==="reject"&&p==="In-Progress",reverseSpinnerColor:!1,onClick:r==="send_for_approval"?t:F,style:r==="approve"?{minWidth:"92px"}:{}};return _.jsxs(_.Fragment,{children:[v?_.jsx(q,{titleComponent:_.jsx(H,{children:S.title}),descriptionComponent:_.jsx(z,{children:S.description}),primaryButtonText:S.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:S.secondaryButtonText,action:L,isNotesIncluded:!0,isEditPopup:!0}):null,_.jsx(Y,{title:O,description:{content:U,isError:e.fetchState==="Completed"&&x===0},reviewItems:h,onCloseReviewItem:u,onCloseOverlay:t,showFooter:e.fetchState==="Completed"&&!w,footerProps:{primaryButton:V(),cancelButton:M,hideCancel:C}})]})},j=(e,o,s,d)=>{const u=e.fetchState==="In-Progress";return e.remisForReview.map(t=>{const i=J(s,t.submittedBy,d);return{id:t.transactionId,leftSideText:{title:t.reimbursement?.reportTitle!=null?t.reimbursement.reportTitle:B.reimbursementDetail.newReimbursementTitle,subTitle:i!=null?`${a.by} ${i?.firstName} ${i?.lastName}`:a.strings.empty},rightSideText:{title:Q("0,0.[00]",t.reimbursement?.amount?.amount,t.reimbursement?.amount?.currencySymbol),showThunderIcon:!1,subTitle:t.reviewInfoMessage??""},reviewStatus:{isLoading:u,code:t.reviewStatus??""}}})},Z=e=>{const{this_:o,these:s,report:d,reports:u,payment:t,payments:i}=a.texts;return e>1?{title:n.popUps.reject.title.replace("__report__",n.reports),description:n.popUps.reject.description.replaceAll("<_this_>",s).replaceAll("<_payment_>",i).replaceAll("__report__",u)}:{title:n.popUps.reject.title.replace("__report__",n.report),description:n.popUps.reject.description.replaceAll("<_this_>",o).replaceAll("<_payment_>",t).replaceAll("__report__",d)}},ee=(e,o,s,d)=>{const{has:u,have:t,report:i,reports:p,are:r,is:b,do_:y,does:g}=a.texts,T=o>1,l=s>1;let v="",m="";return e==="Completed"&&!d?(v=n.reviewPage.reportsReviewed.title.replace("__report__",l?B.bulkActions.reports:n.report).replace("<_has_>",l?t:u),o===0?m=n.reviewPage.reportsReviewed.descriptionError.replace("__report__",l?p:i).replace("<_do_>",l?y:g):m=`${o}/${s} ${n.reviewPage.reportsReviewed.description.replace("__report__",s>1?p:i).replace("<_is_>",T?r:b)}`):(v=n.reviewPage.reportsReviewing.title.replace("__report__",l?p:i),m=n.reviewPage.reportsReviewing.description.replace("__report__",l?p:i)),{title:v,description:m}};export{_e as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{y as l,V as r,aP as a,b4 as f,O as y,ac as m,aU as h,bG as g,ak as u,o as c,b5 as w}from"./index-CQD_nutl.js";import{n as d}from"./mui-Dk05P7Hv.js";import{a as s}from"./sentry-B9mdFwQp.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]="6d5dc920-789e-426a-8a4f-7d4c37c55d9e",e._sentryDebugIdIdentifier="sentry-dbid-6d5dc920-789e-426a-8a4f-7d4c37c55d9e")}catch{}})();function p({backgroundColor:e,foregroundColor:o,animated:t,width:n,height:i}){return r.jsxs(g,{speed:2,width:n,height:i,viewBox:`0 0 ${n} ${i}`,animate:t!=!1,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"64",y:"0",rx:"4",ry:"4",width:`${n-128}`,height:"21"}),r.jsx("rect",{x:"24",y:"45",rx:"4",ry:"4",width:`${n-48}`,height:"228"})]})}function j({backgroundColor:e,foregroundColor:o,animated:t}){return r.jsxs(g,{speed:2,width:240,height:98,viewBox:"0 0 240 98",animate:t!=!1,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"66",y:"0",rx:"4",ry:"4",width:"108",height:"21"}),r.jsx("rect",{x:"44",y:"77",rx:"4",ry:"4",width:"152",height:"21"}),r.jsx("rect",{x:"0",y:"29",rx:"4",ry:"4",width:"240",height:"40"})]})}const x=d(h)`
|
|
2
2
|
justify-content: flex-start;
|
|
3
|
-
`;function T({dimension:e,animated:o}){const t=l();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx(
|
|
3
|
+
`;function T({dimension:e,animated:o}){const t=l();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx(j,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o})})})}function D({dimension:e,animated:o}){const t=l();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx("div",{style:{width:"100%",height:"100%"},children:r.jsx(w,{children:({height:n,width:i})=>r.jsx(p,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o,width:i,height:n})})})})})}const C=e=>s.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},s.createElement("rect",{opacity:.2,width:72,height:72,rx:36,fill:"#97C3B9"}),s.createElement("path",{d:"M46.7755 32.5635L43.8368 36.9716L40.4082 33.0533",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M34.5307 44.8163C32.6902 44.8163 30.8909 44.2705 29.3605 43.248C27.8301 42.2254 26.6374 40.772 25.933 39.0715C25.2286 37.3711 25.0443 35.4999 25.4034 33.6947C25.7625 31.8895 26.6488 30.2313 27.9503 28.9298C29.2518 27.6283 30.91 26.742 32.7152 26.3829C34.5204 26.0238 36.3916 26.2081 38.092 26.9125C39.7925 27.6169 41.2459 28.8096 42.2685 30.34C43.291 31.8704 43.8369 33.6697 43.8369 35.5102V36.9737",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),b=d(h)`
|
|
4
4
|
justify-content: space-between;
|
|
5
5
|
`,k=d.div`
|
|
6
6
|
height: ${c.sp10};
|
|
@@ -19,8 +19,8 @@ import{d as l,V as r,aO as a,b4 as f,O as y,aR as m,aU as h,bG as g,aj as u,o as
|
|
|
19
19
|
color: ${e=>e.theme.colors.primary};
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
`,$=d(u)`
|
|
23
|
-
color: ${e=>e.theme.colors.champion};
|
|
24
22
|
`,v=d(u)`
|
|
23
|
+
color: ${e=>e.theme.colors.champion};
|
|
24
|
+
`,$=d(u)`
|
|
25
25
|
color: ${e=>e.theme.colors.hero};
|
|
26
|
-
`,
|
|
26
|
+
`,E=d(C)``;function V({dimension:e,cardType:o,cardIndex:t,reportTitle:n,onReloadData:i}){return r.jsx(a,{"data-testid":m("dashboard-reload",o),dimension:e,onClick:()=>i(t,o),children:r.jsxs(b,{children:[r.jsxs(v,{children:[n??f(o)," "]}),r.jsx(k,{children:r.jsx(E,{})}),r.jsx($,{children:y.getLocalizedStrings().card.failedText})]})})}export{T as E,D as I,V as T};
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import{y as oe,J as he,cg as ye,aa as _e,V as o,aq as we,ch as se,ae as $e,x as S,aT as ve,o as r,O as te,ci as ke,cj as Ce,ck as je,cl as Ne,cm as Ie,ao as ue,cn as Se,ak as Pe,aG as ee,bG as Oe,u as f,aX as De,an as Fe,av as Te}from"./index-CQD_nutl.js";import{a as u,P as pe}from"./sentry-B9mdFwQp.js";import{n as d}from"./mui-Dk05P7Hv.js";import{J as P,X as Ae}from"./CollapsableReportTable-oX8IRAxt-DmgpCuxO.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]="ad6218d2-f205-4254-97e3-a54e6db8d8ec",e._sentryDebugIdIdentifier="sentry-dbid-ad6218d2-f205-4254-97e3-a54e6db8d8ec")}catch{}})();const R=te.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat,Ee=e=>({this_period:{start_date:e.thisPeriod.startDate.format(R),end_date:e.thisPeriod.endDate.format(R)},number_of_periods:e.numberOfPeriods,order_by:e.orderBy}),Le=e=>e!=null?{start_date:e.startDate.format(R),end_date:e.endDate.format(R)}:void 0;function Be(e){return{locale_id:e.localeId,show_negative_amount_in_parenthesis:e.showNegativeAmountInParenthesis,filter_accounts_with_nil_balances:e.filterAccountsWithNilBalances,filter_account_groups_with_nil_balances:e.filterAccountGroupsWithNilBalances,include_cover_page:e.includeCoverPage,company_name:e.companyName,statement_file_type:e.statementFileType,statements:e.statements,first_month_of_fy:e.firstMonthOfFY,book_close_date:e.bookCloseDate!=null?e.bookCloseDate.format(R):void 0,timeframe:e.timeframe,additional_balances:e.additionalBalances,format:e.format,balances_filter:Ee(e.balancesFilter),account_view_mode:e.accountViewMode,classes_to_filter_out:e.classesToFilterOut,data_available:Le(e.dataAvailable),is_zeni_coa_used:e.isZeniCOAUsed,class_view_layout:e.accountViewMode==="classes"?e.classViewLayout:void 0}}async function uo(e,i,a){const t=te.getLocalizedStrings().downloadReport,l=`${e}?query=${encodeURIComponent(JSON.stringify(Be(a)))}`;try{const h=await ke({urlEndPoint:l,authParams:i,fileType:a.statementFileType});if(h.ok){const y=Ce(h.headers,t.defaultFileName),_=await h.arrayBuffer();je(_,y)}else console.error(`${t.reportErrorMessage} ${h.statusText}`)}catch(h){console.error(`${t.reportErrorMessage} ${JSON.stringify(h)}`)}}const Me=d.div`
|
|
2
|
+
padding: 0 ${r.sp3} 0 ${r.sp3};
|
|
3
|
+
border: 1px solid ${e=>e.theme.colors.primary};
|
|
4
|
+
background: ${e=>e.theme.colors.grey5};
|
|
5
|
+
border-radius: ${r.sp1};
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: space-between;
|
|
8
|
+
align-items: center;
|
|
9
|
+
position: relative;
|
|
10
|
+
height: ${r.sp8};
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
`,Ve=d(Fe)`
|
|
13
|
+
color: ${e=>e.theme.colors.primary};
|
|
14
|
+
margin-top: -2px;
|
|
15
|
+
`,ze=d(Te)`
|
|
16
|
+
color: ${e=>e.theme.colors.hero};
|
|
17
|
+
width: 12px;
|
|
18
|
+
height: 12px;
|
|
19
|
+
margin: auto ${r.sp0};
|
|
20
|
+
:hover {
|
|
21
|
+
color: ${e=>e.theme.colors.primary};
|
|
22
|
+
}
|
|
23
|
+
`,He=e=>{const{value:i,onClick:a}=e,t=oe();return o.jsxs(Me,{onClick:a,children:[o.jsx(Ve,{style:{color:t.colors.primary},children:i}),o.jsx(ze,{})]})},We=pe.memo(He);function Ge({backgroundColor:e,foregroundColor:i,animated:a,width:t,height:l}){return o.jsxs(Oe,{speed:2,width:t,height:l,viewBox:`0 0 ${t} ${l}`,animate:a!=!1,backgroundColor:e,foregroundColor:i,style:{marginBottom:r.sp2},children:[o.jsx("rect",{x:"45",y:f[3],rx:"5",ry:"5",width:"120",height:f[4]}),o.jsx("rect",{x:"45",y:f[8],rx:"5",ry:"5",width:"120",height:f[4]}),o.jsx("rect",{x:"45",y:"96",rx:"5",ry:"5",width:"120",height:f[4]}),o.jsx("rect",{x:"45",y:"136",rx:"5",ry:"5",width:"120",height:f[4]})]})}function fe({nestedClass:e,isLastNode:i,config:a,parentNodeIDs:t}){const l=P("checkbox_and_name_only",[],e.classId[0]),h={children:[],id:l,isLastNode:i,reportElementData:{element:{kind:"checkbox_and_name_only",title:e.className,data:e,numOfBalances:0},config:a}};return h.children=e.children.map((y,_)=>fe({nestedClass:y,config:a,isLastNode:_===e.children.length-1,parentNodeIDs:[...t,l]})),h}function Re(e,i){const a=e.map((t,l)=>{const h=P("checkbox_and_name_only",[],t.classId[0]),y={children:[],id:h,isLastNode:t.children.length!==0,reportElementData:{element:{kind:"checkbox_and_name_only",title:t.className,data:t,numOfBalances:0},config:i}},_=t.children.map(O=>fe({nestedClass:O,config:i,isLastNode:l===t.children.length-1,parentNodeIDs:[h]}));return y.children.push(..._),y});return{config:i,headerNodes:[],contentNodes:[...a]}}function Ye(e,i){Object.assign(e.config,i);const a=e.contentNodes;return a.forEach(t=>me(t,i)),{config:i,headerNodes:[],contentNodes:[...a]}}function me(e,i){Object.assign(e.reportElementData.config,i),e.children.forEach(a=>me(a,i))}const ae={contentPaddingLeft:new S(f[3],f[3],f[2]),contentPaddingRight:new S(f[3],f[3],f[2])},Je=d.div`
|
|
24
|
+
height: ${e=>e.height}px;
|
|
25
|
+
width: 100%;
|
|
26
|
+
`,qe=({reportId:e,firstMonthOfFY:i,nestedClassHierarchy:a,classesToBeFilteredOut:t,selectedView:l,showClassAccountNumber:h,scrollPosition:y,onScroll:_,nodeOpenStatus:O,onNodeCollapseToggled:K,onToggleCheck:D,maxTreeHeightPx:E})=>{const X=oe(),F=he(),[w,L]=u.useState(void 0),[x,B]=u.useState(!1),[M,m]=u.useState({}),[V,T]=u.useState(void 0),[C,z]=u.useState(l),A="none",j=c=>l==="account_group"?!0:t?.length>0?t.find(n=>n[0]===c[0])!=null:!1,$=(c,n)=>{B(!0),m(c),D?.(c,n,l==="account_group"?!0:void 0),Y(c,n)},Y=(c,n)=>{const g=H(c);for(const v of g.children)D?.(v.classId,n),Y(v.classId,n)},H=c=>{let n=a.filter(g=>g.classId[0]===c[c.length-1])[0];for(let g=c.length-2;g>=0;g--)n=n.children.filter(v=>v.classId[0]===c[g])[0];return n},Q=c=>{if(c.length>1){const n=H(c.slice(1));let g=!1;for(const v of n.children)if(t.find(W=>W[0]===v.classId[0])===void 0){g=!0;break}g===!0?D?.(n.classId,!0):D?.(n.classId,!1),m(n.classId)}};u.useEffect(()=>{x&&Q(M)}),u.useEffect(()=>{const c={reportId:e,displayOrder:"ascending_date",reportFormat:"more_detailed",mode:A,firstMonthOfFY:i,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",showNegativeAmountInParenthesis:!1,isClassToBeFilteredOut:j,showClassAccountNumber:h};if(w==null||!ee(V,a)||!ee(C,l)||x===!0){const n=Re(a,c);T(a),L(n),z(l)}else{const n=Ye(w,c);L(n),z(l)}},[a,l,t]);const[J,Z]=u.useState(5),q=c=>{const n=c+f[6];Z(n)},U=E!=null?Math.min(J,E):J;return w!=null?o.jsx(Je,{height:U,children:o.jsx(Ae,{backgroundColor:l==="classes"?new De(X.colors.background):void 0,rootNodes:w,type:"name_only",compareMode:"compare_mode_amount",isSticky:{isStickyHeader:!1,isStickyName:!1},treeNodePadding:{left:ae.contentPaddingLeft.value(F),right:ae.contentPaddingRight.value(F)},scrollPosition:y,onScroll:_,nodeOpenStatus:O,onNodeCollapseToggled:K,onToggleCheck:$,onReportTableHeightChanged:q})}):null},k={width:new S(350,400,400),height:new S(165,165,165),buttonWidth:new S(62,62),buttonHeight:new S(f[5],f[5]),containerWidth:new S(150,400,400)},ge=353,Ue=d.div`
|
|
27
|
+
position: relative;
|
|
28
|
+
pointer-events: ${e=>e.isDisabled===!0?"none":"initial"};
|
|
29
|
+
`,Ke=d.div`
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
width: ${e=>k.containerWidth.valuePx(e.windowSize)};
|
|
33
|
+
`,Xe=d(Ne)`
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: row;
|
|
36
|
+
width: fit-content;
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
color: ${e=>e.theme.colors.primary};
|
|
39
|
+
.dropdownIcon {
|
|
40
|
+
color: ${e=>e.theme.colors.hero};
|
|
41
|
+
}
|
|
42
|
+
&:hover {
|
|
43
|
+
.dropdownIcon {
|
|
44
|
+
color: ${e=>e.theme.colors.primary};
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
gap: ${r.sp2};
|
|
48
|
+
margin-top: 12px;
|
|
49
|
+
align-items: center;
|
|
50
|
+
`,Qe=d(Ie)`
|
|
51
|
+
color: ${e=>e.theme.colors.hero};
|
|
52
|
+
width: ${r.sp4};
|
|
53
|
+
height: ${r.sp4};
|
|
54
|
+
&:hover {
|
|
55
|
+
color: ${e=>e.theme.colors.primary};
|
|
56
|
+
}
|
|
57
|
+
`,Ze=d.div`
|
|
58
|
+
display: flex;
|
|
59
|
+
width: ${e=>e.width}px;
|
|
60
|
+
align-items: flex-start;
|
|
61
|
+
justify-content: space-between;
|
|
62
|
+
flex-direction: column;
|
|
63
|
+
border: 1px solid ${e=>e.theme.colors.grey5};
|
|
64
|
+
border-radius: ${r.sp1};
|
|
65
|
+
box-shadow: ${e=>`${r.sp0} 2px ${r.sp2} ${e.theme.colors.dropShadowHover}`};
|
|
66
|
+
margin-top: 10px;
|
|
67
|
+
padding-top: ${r.sp1};
|
|
68
|
+
background: ${e=>e.theme.colors.grey5};
|
|
69
|
+
`,ne=d.div`
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: flex-start;
|
|
72
|
+
justify-content: space-between;
|
|
73
|
+
flex-direction: column;
|
|
74
|
+
width: 100%;
|
|
75
|
+
background-color: ${e=>e.checked===!0?e.theme.colors.background:"transparent"};
|
|
76
|
+
& input[type="radio"] {
|
|
77
|
+
-webkit-appearance: none;
|
|
78
|
+
-moz-appearance: none;
|
|
79
|
+
appearance: none;
|
|
80
|
+
display: inline-block;
|
|
81
|
+
width: ${r.sp3};
|
|
82
|
+
height: ${r.sp3};
|
|
83
|
+
padding: 2px;
|
|
84
|
+
background-clip: content-box;
|
|
85
|
+
border: 1px solid ${e=>e.theme.colors.primary};
|
|
86
|
+
border-radius: 50%;
|
|
87
|
+
margin: ${r.sp0} ${r.sp2} ${r.sp0} ${r.sp2};
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
input[type="radio"]:checked {
|
|
92
|
+
background-color: ${e=>e.theme.colors.primary};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
input[type="radio"]:disabled {
|
|
96
|
+
cursor: default;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&:hover {
|
|
100
|
+
background: ${e=>e.theme.colors.background};
|
|
101
|
+
}
|
|
102
|
+
`,re=d(Pe)`
|
|
103
|
+
height: ${r.sp6};
|
|
104
|
+
display: flex;
|
|
105
|
+
justify-content: center;
|
|
106
|
+
align-items: center;
|
|
107
|
+
`,eo=d.div`
|
|
108
|
+
display: flex;
|
|
109
|
+
flex-direction: column;
|
|
110
|
+
flex-wrap: wrap;
|
|
111
|
+
justify-content: flex-start;
|
|
112
|
+
height: 100%;
|
|
113
|
+
width: inherit;
|
|
114
|
+
overflow: hidden;
|
|
115
|
+
.hide-icon {
|
|
116
|
+
display: none;
|
|
117
|
+
}
|
|
118
|
+
min-height: 165px;
|
|
119
|
+
max-height: ${ge}px;
|
|
120
|
+
overscroll-behavior: contain;
|
|
121
|
+
`,oo=d.div`
|
|
122
|
+
width: 100%;
|
|
123
|
+
height: 65px;
|
|
124
|
+
`,ie=d.label`
|
|
125
|
+
color: ${e=>e.theme.colors.primary};
|
|
126
|
+
cursor: ${e=>e.disabled===!0?"default":"pointer"};
|
|
127
|
+
`,to=d(ue)`
|
|
128
|
+
display: flex;
|
|
129
|
+
align-items: center;
|
|
130
|
+
column-gap: ${r.sp2};
|
|
131
|
+
margin-left: ${r.sp5};
|
|
132
|
+
color: ${e=>e.theme.colors.hero};
|
|
133
|
+
&:hover {
|
|
134
|
+
cursor: pointer;
|
|
135
|
+
color: ${e=>e.theme.colors.primary};
|
|
136
|
+
}
|
|
137
|
+
`,so=d.div`
|
|
138
|
+
display: flex;
|
|
139
|
+
flex: 1;
|
|
140
|
+
width: inherit;
|
|
141
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
142
|
+
min-height: 1px;
|
|
143
|
+
max-height: 1px;
|
|
144
|
+
`,ao=d(Se)`
|
|
145
|
+
width: ${r.sp3};
|
|
146
|
+
height: ${r.sp3};
|
|
147
|
+
`,no=d(ue)`
|
|
148
|
+
margin-left: ${r.sp5};
|
|
149
|
+
margin-top: -12px;
|
|
150
|
+
color: ${e=>e.theme.colors.hero};
|
|
151
|
+
`,{reportViewSelector:I,common:{footer:le}}=te.getLocalizedStrings(),ce="tableViewSelector",de=e=>`${e}_form`;function po({reportId:e,firstMonthOfFY:i,nodes:a,classesListFetchState:t,selectedView:l,classesToBeFilteredOut:h,showClassAccountNumber:y,onOpenAccountViewMode:_,onSaveClick:O,isClassViewDisabled:K,downloadPage:D,showAccountGroups:E=!0,onResyncReports:X,isPageFetchInProgress:F=!1,lastRefreshSuccessTime:w}){const L=oe(),x=he(),[B,M]=u.useState(!1),[m,V]=u.useState(l),[T,C]=u.useState({}),z=(s,p)=>(s.forEach(b=>{p.push(b.classId),p=z(b.children,p)}),p),A=z(a,[]),[j,$]=u.useState(m==="classes"?h:A),Y=t!=="Completed"||m==="classes"&&j.length===A.length,H=u.useRef(!1),[Q,J]=u.useState(!1),Z=u.useRef(s=>{s&&!H.current&&(H.current=!0,J(!0))});ye({componentName:`reports.${e}`,enabled:Q});const q=s=>s==="classes"?I.classes.label:E===!0?I.accountGroups.label:I.accounts.label,U=_e({mode:"all"}),c=U.handleSubmit(()=>{M(!1),m==="classes"?O?.("classes",j):O?.("account_group")}),n=s=>{if(V(s),s==="classes")C({}),$([]);else{$(A);let p={};a.forEach(b=>{const N=P("checkbox_and_name_only",[],b.classId[0]);p=Object.assign({},p,{[N]:!1})}),C(p)}},g=()=>{B===!0&&W(),M(!B);let s={};a.forEach(p=>{const b=P("checkbox_and_name_only",[],p.classId[0]);l==="account_group"||j.find(N=>N[0]===p.classId[0])!==void 0?s=Object.assign({},s,{[b]:!1}):s=Object.assign({},s,{[b]:!0})}),C(s)},v=(s,p,b)=>{if(b===!0&&(V("classes"),$(A)),p===!0){const N=P("checkbox_and_name_only",[],s[0]);T[N]=!0,C(T),$(G=>G.filter(be=>be[0]!==s[0]))}else{const N=P("checkbox_and_name_only",[],s[0]);T[N]=!1,j.find(G=>G[0]===s[0])===void 0&&$(G=>[...G,s])}},W=()=>{M(!1),V(l),$(h)},xe=()=>{F===!1&&X?.()};return u.useEffect(()=>{if(t==="Completed"&&m==="account_group"){let s={};a.forEach(p=>{const b=P("checkbox_and_name_only",[],p.classId[0]);s=Object.assign({},s,{[b]:!1})}),C(s)}},[t]),o.jsx(we,{onClickAway:W,children:o.jsxs(Ue,{ref:Z.current,isDisabled:K??!1,children:[D===!0?o.jsx(We,{value:q(l),onClick:()=>{_?.(),g()}}):o.jsxs(Ke,{windowSize:x,children:[o.jsxs(Xe,{onClick:s=>{s.preventDefault(),_?.(),g()},children:[o.jsx(Qe,{className:"dropdownIcon"}),q(l)]}),l==="classes"?o.jsx(to,{onClick:xe,children:F?I.generatingReportByClass:o.jsxs(o.Fragment,{children:[w&&`${se(w)}`,o.jsx(ao,{})]})}):null]}),B?o.jsx($e,{...U,children:o.jsx("form",{id:de(ce),onSubmit:c,children:o.jsxs(Ze,{width:k.width.value(x),children:[o.jsx(ne,{checked:m==="account_group",children:o.jsxs(re,{onClick:()=>m!=="account_group"?n("account_group"):null,children:[o.jsx("input",{type:"radio",value:"account_group",id:"accountGroups",name:"formgroup",onChange:s=>n(s.currentTarget.value),checked:m==="account_group",disabled:t!=="Completed"}),o.jsx(ie,{disabled:t!=="Completed",children:E===!0?I.accountGroups.dropdownLabel:I.accounts.dropdownLabel})]})}),o.jsx(so,{}),o.jsxs(ne,{checked:m==="classes",children:[o.jsxs(re,{onClick:()=>t==="Completed"?n("classes"):null,children:[o.jsx("input",{type:"radio",value:"classes",id:"classes",name:"formgroup",onChange:s=>t==="Completed"?n(s.currentTarget.value):null,checked:m==="classes",disabled:t!=="Completed"}),o.jsx(ie,{disabled:t!=="Completed",children:I.classes.dropdownLabel})]}),F||t!=="Completed"?null:o.jsx(no,{children:w&&`${se(w)}`}),t==="Completed"?o.jsx(eo,{id:"sectionformcontainer",children:o.jsx(ro,{reportId:e,firstMonthOfFY:i,nestedClassHierarchy:a,classesToBeFilteredOut:j,maxTreeHeightPx:ge,selectedView:m,nodeOpenStatus:T,showClassAccountNumber:y,onToggleCheck:v})}):o.jsx(Ge,{backgroundColor:L.colors.grey3,foregroundColor:L.colors.grey4,width:k.width.value(x),height:k.height.value(x),animated:!0})]}),o.jsx(oo,{children:o.jsx(ve,{formId:de(ce),primaryBtn:{label:le.save,style:{width:k.buttonWidth.valuePx(x),height:k.buttonHeight.valuePx(x)},isLoading:!1,isDisabled:Y,size:"small"},showCancel:!0,cancelBtn:{label:le.cancel,style:{width:k.buttonWidth.valuePx(x),height:k.buttonHeight.valuePx(x)},onClick:W,size:"small",shouldResetOnCancel:!0},style:{padding:r.sp3}})})]})})}):null]})})}const ro=pe.memo(qe,ee);export{po as b,uo as x};
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import{J as Q,y as ee,O as v,ay as $e,V as a,bQ as Fe,ac as $,bF as Me,bE as Pe,o as y,aV as je,L as Ie,x as V,bR as Ve,u as k,aq as ae,K as P,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 Ye}from"./index-CQD_nutl.js";import{a as N,P as _e}from"./sentry-B9mdFwQp.js";import{n as m}from"./mui-Dk05P7Hv.js";import{bg as re,FC as Ue,FL as We,FM as Ge,FN as W,FO as He,FP as Ze,FQ as Je,FR as Xe,FS as qe,FT as se,FU as oe}from"./zeni-epic-state-ksdE_TIc.js";import{m as G,l as X}from"./analyticsHelper-DmrBYvLC-BYxc55FI.js";import{b as Ke}from"./ReportTableViewSelector-Db3_WDLJ-DUTYFa_F.js";import{S as Z,y as Qe,M as et,$ as tt,v as st}from"./TimeRangeSwitcher-JnO2pOTw-N9yivG4V.js";import{X as ot}from"./TimeframeSwitcherWithToggle-CaxIUKDr-DQWeAlGt.js";import{DownloadOverlayButton as nt}from"./DownloadOverlay-CWHxxKW_-UDgVlxY5.js";import{F as at,X as it,J as F,y as ye}from"./CollapsableReportTable-oX8IRAxt-DmgpCuxO.js";import{D as we,T as xe,C as J,L as rt,g as Se}from"./mapSectionWithAcOnlyToTreeNode-O-hSpwLG-CBm5dWL6.js";import{s as ne}from"./mapTimeframeBalancesToTreeNode-Ldd39Ct5-CMF3q4cV.js";import{d as ct,l as lt}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-D8UYLJpF-CA2QnDit.js";import{d as dt}from"./mapLoadingInProgressToTreeNode-Bs8-HXsR-byZZ2UVu.js";import"./liveblocks-CtZCL_Pz.js";import"./core-D_TfeHIh.js";import"./recharts-CgI_z3-h.js";import"./lottie-CVJxkEeH.js";import"./analytics-C31yhYYa.js";import"./lexical-CBxUxgf7.js";import"./utils-DZ3Subia.js";import"./TimeframeSwitcher-DfDRlQ7n-CpbdT0B7.js";import"./page-detail-CWX5S47F-DkWNpJ9N.js";import"./AccountRow-CGg3Gvpj-2LubTGsx.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]="1e20a3b9-4506-4426-b911-942de02eac07",e._sentryDebugIdIdentifier="sentry-dbid-1e20a3b9-4506-4426-b911-942de02eac07")}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
|
+
`,Ce=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(Ce)`
|
|
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}}=v.getLocalizedStrings();return e.startDate.format(t.YYYYFormat)}function U(e,t,s){return at(s,e,t)}function At(e,t,s,n){return t==="month"?e.startDate.format(n):U(e,t,s)}const vt=({allTimeframeTicks:e,bookCloseDate:t,firstMonthOfFY:s,fromIndex:n,selectedTimeframe:o,toIndex:d,onFromSelected:u,onToSelected:c})=>{const{dateFormat:{analytics:r}}=v.getLocalizedStrings(),p=v.getLocalizedStrings().reports,[f,h]=N.useState("from"),i=[...new Set(e.map(H))],[l,S]=N.useState(()=>H(e[n]??e[0])),L=x=>{h(x),S(H(e[x==="from"?n:d]))},T=x=>{f==="from"?u(x):c(x)},A=e.map((x,R)=>({tick:x,index:R})).filter(({tick:x})=>H(x)===l),_=e.length-1,w=_>=0&&Ge(e[_]),C=U(e[n],o,s),O=U(e[d],o,s);return a.jsxs(xt,{children:[a.jsxs(St,{children:[a.jsxs(ce,{active:f==="from",onClick:()=>L("from"),children:[a.jsx(le,{children:p.periodRangeFrom}),a.jsx(de,{children:C})]}),a.jsx(Ct,{children:"→"}),a.jsxs(ce,{active:f==="to",onClick:()=>L("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:A.map(({tick:x,index:R})=>{const M=At(x,o,s,r.MMMFormat),g=f==="from"?R===n:R===d,b=t!=null&&x.startDate.isAfter(t),B=R===_,Y=b&&!(w&&B),D=b&&w&&B;return a.jsx(ie,{id:String(R),text:M,checked:g,starred:Y,doubleStarred:D,textVariant:"small",onClick:j=>T(Number.parseInt(j,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),L=r.numberOfPeriods??1,T=S.startIndex,A=Math.max(0,Math.min(T,l.length-1)),_=Math.min(Math.max(A+S.length-1,0),l.length-1),w=U(l[A],p,n),C=U(l[_],p,n),O=(g,b)=>{const B=b-g+1,Y={offsetFromEnd:l.length-1-b,length:B},D={startIndex:g,length:B},j=tt(l,Y),Ne=st(l,D);j.thisPeriod!=null&&d!=null&&d(c,u,X(n,p,j.thisPeriod)),o(j,Ne),i(!1)},x=g=>{const b=g,B=Math.min(b+L-1,l.length-1);O(b,B)},R=g=>{const b=Math.min(A,g),B=Math.max(A,g);O(b,B)},M=h&&l.length>0?a.jsx(vt,{allTimeframeTicks:l,bookCloseDate:s,firstMonthOfFY:n,selectedTimeframe:p,fromIndex:A,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"})]}),M!=null?a.jsx(wt,{children:M}):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,{})]}),M!=null?a.jsx(Ce,{children:M}):null]})})}function Oe({section:e,sectionId:t,numOfBalances:s,config:n}){return ye("no_filter",n.filterAccountsWithNilBalances,n.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(o=>Lt({accountGroup:o,sectionType:t,numOfBalances:s,title:o.accountGroupName,isLastNode:!0,config:n}))}function Lt({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=ye("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),p=r.map((f,h)=>Se({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 Re({sectionWithAcOnly:e,sectionType:t,numOfBalances:s,config:n}){return e.accounts.map((o,d)=>Se({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 kt(e){return e.reportId==="profit_and_loss_by_classes"&&"headerBalances"in e&&Array.isArray(e.headerBalances)}function q(e,t){for(const s of e)s.reportElementData={...s.reportElementData,config:t},q(s.children,t)}function Tt(e,t,s,n=!0){if(Object.assign(e.config,t),kt(s))return q(e.headerNodes,t),q(e.contentNodes,t),{config:t,headerNodes:e.headerNodes,contentNodes:e.contentNodes};const o=ve(s),d=ne({balances:o,config:t});return{config:t,headerNodes:n?[d]:[],contentNodes:[d,...e.contentNodes.slice(1)]}}const ve=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=v.getLocalizedStrings().reports.sections,o=v.getLocalizedStrings().reports.balanceSheet,d=ve(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=Oe({sectionId:i,section:e.sections[i],numOfBalances:u,config:t});r.push(...l)}else r.push(we({section:e.sections[i],sectionType:i,numOfBalances:u,title:o[i],isLastNode:!0,config:t}));else if(i==="equity"){const l=Re({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:u,config:t});r.push(...l)}else{const l=e.sections[i];r.push(xe({sectionWithAcOnly:l,sectionType:i,numOfBalances:u,title:o[i],isLastNode:!0,config:t}))}else Ze(i)===!0&&r.push(J({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=v.getLocalizedStrings().reports.sections,o=v.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(Je(i)===!0)if(e.sections[i].accountGroups.length>0){const l=Oe({sectionId:i,section:e.sections[i],numOfBalances:u,config:t});r.push(...l)}else{const l=Re({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:u,config:t});r.push(...l)}else Xe(i)===!0?r.push($t({calculatedSection:e.calculatedSections[i],numOfBalances:u,title:o[i],isLastNode:!0,config:t})):qe(i)===!0&&r.push(J({calculatedSection:e.calculatedSections[i],numOfBalances:u,title:o[i],isLastNode:!0,config:t}))})}),{config:t,headerNodes:s?[c]:[],contentNodes:[c,...r]}}function Be(e){return{balances:[],additionalBalances:[],filter:{firstMonthOfFY:e,timeframe:"month",balancesRange:{numberOfPeriods:0,orderBy:"ascending_date"},additionalBalances:[]}}}function Mt(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(Pt(c,u,o,t,e))}else if(oe(u)){const c=e.calculatedSections[u];c!=null&&s.push(jt(c,o,t,e))}}),{config:t,headerNodes:n,contentNodes:s}}function Pt(e,t,s,n,o){const d=F("section",[],e.title),u=e.treeLayout,c=e.sectionHeaderBalancesSlice??Be(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(Le(f,e.accounts,p,s,n,[d],h===u.rootAccountRowIndices.length-1))}),r}function Le(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)=>Le(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 jt(e,t,s,n){const o=e.sectionHeaderBalancesSlice??Be(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 It(e,t,s=!0,n=!1){const o=v.getLocalizedStrings().reports,d=v.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(J({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=v.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(we({section:e.sections[r],sectionType:r,numOfBalances:d,title:n.sections[r],isLastNode:!0,config:t})):c.push(xe({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(J({calculatedSection:p,numOfBalances:d,title:n.sections[r],isLastNode:!0,config:t}))}}),{config:t,headerNodes:s?[u]:[],contentNodes:c}}const ue={contentPaddingLeft:new V(k[0],k[0],k[0]),contentPaddingRight:new V(k[3],k[3],k[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),[L,T]=N.useState(void 0),A=!(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,Y=(b.sections.income?.balances?.length??0)>0?b.sections.income:null,D=B??Y;D?.additionalBalances!=null&&(g=D.additionalBalances.map(j=>W(j)));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:Ye(),showClassAccountNumber:o};if(l==null||!ge(L,e)||f===!0){const b=zt(e,g,A,f);T(e),S(b)}else{const b=Tt(l,g,e,A);S(b)}},[p,e,f]);const[O,x]=N.useState(5),R=g=>{const b=g+135;x(b)},M=g=>g?.trackPageLoaded(Yt(e));return l!=null?a.jsxs(a.Fragment,{children:[a.jsx(De,{analytics:n,onLoad:M}),a.jsx(Dt,{height:O,children:a.jsx(it,{backgroundColor:new Ee(i.colors.grey4),rootNodes:l,type:_,compareMode:C(),isSticky:{isStickyHeader:A,isStickyName:A},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"?Mt(o,t):It(e,t,s,n)}case"cash_flow":return Ft(e,t,s);case"balance_sheet":return Nt(e,t,s);default:return}},Yt=e=>{switch(e.reportId){case"profit_and_loss":case"profit_and_loss_by_classes":return P.Event.profitAndLoss;case"cash_flow":return P.Event.cashFlow;case"balance_sheet":return P.Event.balanceSheet;default:return P.Event.reports}},Ut=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 v.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 Jt({reportIds:e,selectedReport:t,onReportSelectionChanged:s}){const n=o=>{s?.(o)};return a.jsx(Ut,{"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(k[3],k[3],k[8]),contentRightPadding:new V(k[3],k[3],k[8]),tickSkelectionContainerWidth:new V(343,600,905,1240)},Xt=new V(4,4),qt=new V(4,4),Kt={selectedNumberOfPeriods:(e,t)=>e?qt.value(t):Xt.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(je)`
|
|
215
|
+
margin-top: ${y.sp3};
|
|
216
|
+
color: ${e=>e.theme.colors.hero};
|
|
217
|
+
`,ke=({style:e,isLoading:t})=>t?a.jsx(ts,{style:e,children:a.jsx(Ie,{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=v.getLocalizedStrings().reports.common,l=$e(),S=l!=null&&re(l.loggedInUserRole)?"detailed":"more_detailed",L=l!=null&&re(l.loggedInUserRole)?["more_detailed"]:[];e.showAccountGroups===!1&&h?.accountViewMode==="account_group"&&L.push("detailed");const[T,A]=_e.useState(L.includes("more_detailed")?"detailed":"more_detailed"),_={selectedFormat:T,disabledFormatForRole:L,roleBasedClassesSelectedFormat:S,setSelectedFormat:A};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(ke,{isLoading:!0});{const C=a.jsx(Me,{downloadReportOptions:{type:"detailed_menu",downloadMenu:{detailedMenu:h!=null&&e.dataAvailable!=null?a.jsx(nt,{defaultOptions:h,analytics:e.analytics,referrer:I(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(Pe,{title:v.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=Ue([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",L=(_,w)=>{e.analytics?.trackCompareFilterChange(_==="this_period_vs_last_period_percent"?"percentage":"amount",I(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=v.getLocalizedStrings().reports,A=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(_),I(e.selectedReport)),e.onTimeframeSelectionChanged?.(_,!0)}},toggle:{label:v.getLocalizedStrings().compareSwitchLabel,isOn:e.isCompareMode,isToggleDisabled:S,onValueChanged:_=>{e.analytics?.trackCompareMode(_,I(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-k[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:A,isCompareMode:e.isCompareMode,referrer:I(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(I(e.selectedReport),"range filter",e.isCompareMode,X(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(I(e.selectedReport),"range filter",e.isCompareMode,X(c.firstMonthOfFY,e.selectedTimeframe,w.thisPeriod)),e.onCOABalancesRangeChanged?.(w)}})}),a.jsx(ms,{windowSize:t,children:a.jsx(Jt,{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(ke,{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:L,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??[],L=p==="ascending_date"?S.length-1:0;t=S[L]}}}const s=E(e),n=s.firstMonthOfFY,o=s.bookCloseDate,d=s.dataAvailable,u=s.filter.additionalBalances;if(t!=null)return{localeId:v.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 I=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 P.Event.profitAndLoss;case"cash_flow":return P.Event.cashFlow;case"balance_sheet":return P.Event.balanceSheet;default:return P.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};
|