@zeniai/web-cockpit-ui 1.14.16-qa → 1.14.17-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-BwrF_fEr-DkyA5i2K.js +21 -0
- package/dist/assets/{AIPerformancePage-Do5bswa_-DAoOPzHS.js → AIPerformancePage-4oC8MJWN-DKgtdhwX.js} +44 -44
- package/dist/assets/{AccountInfoPage-BBhgLi_k-BDnk8wRY.js → AccountInfoPage-mOPytffA-CHwRigZs.js} +3 -3
- package/dist/assets/{AccountInfoPageContent-BJqXMkH6-270w5YXI.js → AccountInfoPageContent-VULusDEd-6lGswsvl.js} +14 -14
- package/dist/assets/{AccountReconDetailsDrawerPage-CV09UnoU-CHsOQmxO.js → AccountReconDetailsDrawerPage-89APlrhb-BX-kF9hA.js} +18 -18
- package/dist/assets/{AccountRow-TlJ0aU9H-BlwEdN_G.js → AccountRow-DJd-IAIl-CfLQe7at.js} +33 -33
- package/dist/assets/{AccountsPromoCardStack-D8Y5MNXA-CaIaUzET.js → AccountsPromoCardStack-DE39TpIu-DvYK9R7k.js} +33 -33
- package/dist/assets/{AddAddressForCardDrawer-DKJpGW7r-BpMaf86Y.js → AddAddressForCardDrawer-CKdcU_pi-IPZLStMw.js} +2 -2
- package/dist/assets/{AddToWalletPage-1gMvHWq2-B8vVBjjQ.js → AddToWalletPage-DPXW2fbY-CNPYHMH9.js} +24 -24
- package/dist/assets/{AgingReportsPage-Bzn9xmRs-apdo7hGo.js → AgingReportsPage--CLUwcIa-DcSCN91R.js} +17 -17
- package/dist/assets/{AllUserItems-BPSpj-dO-ClBbyfzH.js → AllUserItems-CC9l-O5G-DJbAuU58.js} +11 -11
- package/dist/assets/ApAgingDetailPage-CsQ3DujX-DWGGqNtg.js +46 -0
- package/dist/assets/AppBasePage-CgHKYFmd-Bs3-qi9M.js +68 -0
- package/dist/assets/{AppDrawerContent-Cq8GkRBD-CRks4KWi.js → AppDrawerContent-Cofo0-5p-DYgesCt7.js} +19 -19
- package/dist/assets/{ApprovalRulesSettingsPage-zKh1CLv3-3l0xvat6.js → ApprovalRulesSettingsPage-DsshEbzW-DLpKueGV.js} +7 -7
- package/dist/assets/{ArAgingChart-Bs2fblA6-_eY76mOu.js → ArAgingChart-K2LSe8mo-CcrD54Kp.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-BWsV1tQP-BBPHFjg6.js → ArAgingDetailPage-DCFL9YAy-Cw3hCUfd.js} +4 -4
- package/dist/assets/{AttachmentView-BDkq5i_5-BDwPiUBQ.js → AttachmentView-Cn3VnVyO-BPJCq-4t.js} +9 -9
- package/dist/assets/{BankAccountSection-DL-Qgypb-DCyiZiMb.js → BankAccountSection-Au9_D0Ji-bmPPOv5B.js} +8 -8
- package/dist/assets/{BankAccountWarningSection-PFOmZUmz-jyv_7HW8.js → BankAccountWarningSection-927iR_QB-BLBTF_Hr.js} +7 -7
- package/dist/assets/{BankConnectionsSettingsPage-BiPEOltR-BEX0B3Xt.js → BankConnectionsSettingsPage-CXab8fzD-0RsCLwrp.js} +49 -49
- package/dist/assets/{BillDetailPage-nUoy5Pib-B9OAwnY8.js → BillDetailPage-yIdrE7YG-CO1_hc0X.js} +21 -21
- package/dist/assets/{BillPayApprovalRuleDetailPage-uCd9CD_--CPg3Wdw0.js → BillPayApprovalRuleDetailPage-BJl_-eJN-DcYLdRk3.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BsvzOO92-CCSqA2Ff.js → BillPayApprovalRulesPage-rXaFCSLp-DOP05VDc.js} +8 -8
- package/dist/assets/{BillPayPromoPage-D9tHxFrw-BDsnH40Y.js → BillPayPromoPage-BLi_wIbj-CZGLSHx_.js} +10 -10
- package/dist/assets/{BillPaySetUpPage-Ci__X7jC-BU_eTkYb.js → BillPaySetUpPage-BFmpWT_x-zTzNnL_X.js} +2 -2
- package/dist/assets/{BillingSettingsPage-JcOqMK9G-C2bvM8Au.js → BillingSettingsPage-Da01aYql-DLGfaRzo.js} +5 -5
- package/dist/assets/{BillsBulkReviewDrawerPage-FeZEMsS6-CjecTcPw.js → BillsBulkReviewDrawerPage-J2kO9_8C-B_ZetdEJ.js} +1 -1
- package/dist/assets/{BoxItem-BcQH7ATF-CU__oRAt.js → BoxItem-CQlEDklH-QYh8SK8x.js} +4 -4
- package/dist/assets/BusinessVerificationPage-DWhXCuG5-BlJy48X_.js +140 -0
- package/dist/assets/{CardNumberSubText-CRythvN3-DSiQJr5y.js → CardNumberSubText-BTjxrF3b-CNbVWSfp.js} +1 -1
- package/dist/assets/{CashbackDetailPage-CDa_GOsq-CJAMDrPJ.js → CashbackDetailPage-qcMtGUQ0-ClM0O4ek.js} +22 -22
- package/dist/assets/{ChargeCardDetailPage-BVxvmvYF-wsGLJRVi.js → ChargeCardDetailPage-BurpUHl9-ks5Ylh0a.js} +32 -32
- package/dist/assets/{ChargeCardListPage-Dk_9p-sM-DVvAu4yD.js → ChargeCardListPage-CBIYOllB-hsormxMA.js} +22 -22
- package/dist/assets/{ChargeCardListTable-DLAZTf8n-BSGVLMaS.js → ChargeCardListTable-BTZu7ldI-Dtf0dVvX.js} +104 -104
- package/dist/assets/ChargeCardPromoPage-us_v89rV-C0HHgs2t.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-QPLpJN2z-gogu-vKD.js → ChargeCardSetupPage-QOdjFcsr-C35vd8Nk.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-DwJYJjcf-B6wqaac-.js → ChargeCardStatementsPage-C1UmjyIW-CQoBe4qC.js} +8 -8
- package/dist/assets/{ChargeCardUtils-BbByGmi9-idcYoFNG.js → ChargeCardUtils-C3fhOMpV-CuPIdUk0.js} +1 -1
- package/dist/assets/{ChaseOverlay-CvXMdD8r-DVeLI7lR.js → ChaseOverlay-RPex2o5e-Smu9780P.js} +6 -6
- package/dist/assets/CheckDepositDrawerPage-XZJ1F0aC-kws9zCak.js +206 -0
- package/dist/assets/{CollapsableReportTable-BptltmMq-BOVY7pY_.js → CollapsableReportTable-Ds0h8x1N-DplOjSEj.js} +93 -93
- package/dist/assets/{CompanyOfficerDetailsSection-DTbhxCCJ-DSPRT4ko.js → CompanyOfficerDetailsSection-B8yGAFVj-BXFGaLke.js} +24 -24
- package/dist/assets/{CompanyPassportCard-CRgbazO4-BVLaJrBi.js → CompanyPassportCard-BDei9Pfp-eYqW_Kg9.js} +6 -6
- package/dist/assets/{CompanyPassportPage-wdWKvOuO-uEEF_NAz.js → CompanyPassportPage-DFA733vS-D6CEIM7b.js} +32 -32
- package/dist/assets/CompleteProfile-BpX6H4vJ-BVnH0M9g.js +52 -0
- package/dist/assets/ConfettiBurst-97CCPVCH-9-b-8JXj.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-DTbrZv48-DfbqQuzn.js → CreateOrEditVendorPage-BSi6pOXN-DT6XT0bI.js} +10 -10
- package/dist/assets/{CreditCardPaymentDrawerPage-CGGM52ND-DRUZYfAF.js → CreditCardPaymentDrawerPage-ZletyeGG-umQmaf0k.js} +17 -17
- package/dist/assets/{CreditCardPaymentPlgSection-BS99Rbz7-CTrSYAEg.js → CreditCardPaymentPlgSection-BE982atG-B6gcx6zm.js} +13 -14
- package/dist/assets/{CurrencySelectField-Cz1ZFZNL-rp7RZiQz.js → CurrencySelectField-cnP09xH2-COp3JBgC.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-Bw2z91CF-CXbTMafe.js → CustomerOnboardingActivationPage-DhcKiTJ_-B4Bo0l5a.js} +9 -9
- package/dist/assets/CustomerOnboardingContainerPage-C1higvpq-CPTgkuej.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BY4rv3eB-6NFXmXrK.js → CustomerOnboardingDetailPageSkeleton-jguCmaVx-CPLJBFIe.js} +9 -9
- package/dist/assets/{CustomerOnboardingNoStepsPage-ByTpLszW-OlEfdwKj.js → CustomerOnboardingNoStepsPage-xakP7IDr-j9vb9__e.js} +2 -2
- package/dist/assets/{CustomerOnboardingPage-eyRDjOy--DJuua0xj.js → CustomerOnboardingPage-Ct5YbyHs-BO0Sy5Lx.js} +9 -9
- package/dist/assets/{CustomerOnboardingProductSuitePage-C_GOhUsC-DsH2SPww.js → CustomerOnboardingProductSuitePage-CugfvMkw-B6aWX1Xf.js} +11 -11
- package/dist/assets/{Dashboard-DXTfxwrE-CisGpCCo.js → Dashboard-XbVGCnvI-Cwm6wdq7.js} +260 -242
- package/dist/assets/{DashboardReportPage-C7LmV0rQ-D73sqjmR.js → DashboardReportPage-OeEPg2kx-DUWAiMA5.js} +21 -21
- package/dist/assets/{DepositAccTransactionItem-BH6np-wq-C9S2eFCv.js → DepositAccTransactionItem-Dy6qzuSL-bj1K9hi4.js} +10 -10
- package/dist/assets/DepositAccTransactionListPage-BisaE6sH-CXEjoVG5.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-DhM2CLtr-s-sXaI-h.js → DomesticWireDetailsPage-B0tbjNLO-ByvPg7x-.js} +1 -1
- package/dist/assets/{DownloadOverlay-CwqxQGbr-Ae7vpc4V.js → DownloadOverlay-BKKO1nm1-BQ5P_IH7.js} +15 -15
- package/dist/assets/{DrawerPage-C3k5XFW6-BcQ5z47A.js → DrawerPage-osM8gPVn-2LgFt42m.js} +10 -10
- package/dist/assets/EditPeoplePage-ixJkT03_-nZc9QeAd.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-DXLAtkkp-DnXcCwZz.js → EditReimbursementDetailPage-DvLeCixY-TeZdMP4Z.js} +23 -23
- package/dist/assets/{EntityDetailPage-_060OpVJ-D5TJErzM.js → EntityDetailPage-BzJbAOSj-9yzQeWus.js} +3 -3
- package/dist/assets/{EntitySummarySection-0QXWkpbX-D_GUS2WS.js → EntitySummarySection-Drj07P9h-6nsX9189.js} +13 -13
- package/dist/assets/{ExpenseAutomationOverviewPage-GPO42_rS-DQOlB6qp.js → ExpenseAutomationOverviewPage-BQ9dwGkq-BSO9oU-G.js} +23 -23
- package/dist/assets/{ExpenseAutomationPage-BQArYLAG-CHnCd6t8.js → ExpenseAutomationPage-DLld6Lux-C9UiIoPt.js} +56 -56
- package/dist/assets/{ExpressPayPage-DacK02lD-Dq4EbXyn.js → ExpressPayPage-QBNV0dC8-pBCRR5Rb.js} +12 -12
- package/dist/assets/FeaturePreviewPage-CpBX-Xic-BYSOYP2k.js +11 -0
- package/dist/assets/{FollowStepsSection-CMTo4gYl-CwkCaSv0.js → FollowStepsSection-1RCO2W7K-C-MoCYne.js} +25 -25
- package/dist/assets/{GlobalReviewListPage-BbI2YDxl-Cps6LriT.js → GlobalReviewListPage-ByMZFe7Y-CdorqsTM.js} +14 -14
- package/dist/assets/{HelpButton-Coe4ii48-CvuplgJt.js → HelpButton-CzTfBZQj-DZRTwrFl.js} +2 -2
- package/dist/assets/{InformationCardStack-BIumm5SJ-6MHSuSeN.js → InformationCardStack-C0AmMOu2-RArJXysN.js} +6 -6
- package/dist/assets/{InsightsCardStack-nndLG-Gx-C0PariBK.js → InsightsCardStack-BiIDBYY8-5lf82tLY.js} +7 -7
- package/dist/assets/InsightsSection-C-kpIvRH-CdqlGqmg.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-BRH3t6mo-DO-LHaxh.js → IntegrationsSettingsPage-7wAnV8kG-PXEXvEB6.js} +8 -8
- package/dist/assets/{InternationalWireSwiftDetailsPage-vgA7iek9-ChmwO1by.js → InternationalWireSwiftDetailsPage-C7D15jtK-Li0eKKsY.js} +16 -16
- package/dist/assets/{InternationalWireVerificationPage-DEIs1ydr-DKS197rw.js → InternationalWireVerificationPage-GDKPXtU--j4IpooKm.js} +20 -20
- package/dist/assets/{InviteFormPage-Bowy0arK-DpBZL_pL.js → InviteFormPage-CKGJHYWa-DWj-EAub.js} +20 -20
- package/dist/assets/{InvitePageListView-DuXb15Ll-BQK3BFW6.js → InvitePageListView-CWXyDZU2-DCU4lB3m.js} +54 -54
- package/dist/assets/InvitePeoplePage-CPBMZNa--DlK3foAM.js +12 -0
- package/dist/assets/InvoiceUploadSection-C0WzT0uv-Cn2JF08l.js +140 -0
- package/dist/assets/{IssueChargeCardPage-BIL4e5I_-CXGJBU9x.js → IssueChargeCardPage-DLX44XaR-CcflhM3M.js} +31 -31
- package/dist/assets/LabeledAddressValue-B8awEVKI-DfzIlkwb.js +49 -0
- package/dist/assets/LabeledAddressValueField-Dl5yKg2N-CzXWQu_Y.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-CwiyOI1Z-M-tLAb4Z.js → LabeledControlledCheckBoxField-B6cLYSmS-taSeLw3M.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-yLzlQU6_-Bfeib5XV.js → LabeledCreatableSingleSelectField-CV4GQQ7F-G2kg_Moc.js} +8 -8
- package/dist/assets/LabeledDocumentField-BFhyNqP8-B0rZURtH.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-M_7KWHOd-D-fZzHek.js → LabeledDropDownFormattedTextField-gE3aWP_T-BOWWoTF_.js} +6 -6
- package/dist/assets/{LabeledText-CO_4w9Rx-DJRQWqFp.js → LabeledText-0pRIcJw5-Bl9-fI1Z.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-zPoNOgP7-j7Lks93T.js → LabeledUserSingleSelectWithSubtitlesField-C-32ySGI-DFmPy8AM.js} +17 -17
- package/dist/assets/{LabeledZeniRolesDropDownField-C8-KfR-4-CdARW5vH.js → LabeledZeniRolesDropDownField--l6D29VX-CyvURl9h.js} +11 -11
- package/dist/assets/{LinkJETransactionPage-CZVlsT4d-Bn-cESFA.js → LinkJETransactionPage-DLcpx9ns-AgvCjDXO.js} +10 -10
- package/dist/assets/{LowBalancePopup-Dl5IXVvh-ZOyts8_X.js → LowBalancePopup-BuelKDeS-DZAUOSm3.js} +6 -6
- package/dist/assets/{MagicLinkACHDetailsPage-CP6ti0Ic-8tcSYl4a.js → MagicLinkACHDetailsPage-NIkquHvv-CI7Zc7xz.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-BhpSDeQW-IeQp4QdV.js → MagicLinkDomesticWireDetailsPage-CdaNz396-BGT3axjJ.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-BXxTeh0G-gQ2fUGnD.js → MagicLinkInternationalWireDetailsPage-CnEhS5PP-DPChbPBR.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Bix48QB5-5BLIJX_g.js → MagicLinkSuccessPage-D_VJZV0O-FtY4wcd1.js} +2 -2
- package/dist/assets/MagicLinkTitleSection-tHh2d5Ld-_QN59pd4.js +17 -0
- package/dist/assets/MailingDetailsSection-CTrx1xoB-By7vG4Hi.js +21 -0
- package/dist/assets/{MeetingCalenderPopup-DlnppXL_-BsJ0aU_e.js → MeetingCalenderPopup-DWvpTRQJ-Bt4xdKnr.js} +1 -1
- package/dist/assets/{Menu-B_GJLZiP-mNj9dFun.js → Menu-CbQ6Zkdp-B0rPvp7W.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-2DAYVmHh-fUm8E92x.js → MyBankConnectionsSettingsPage-9dQLb8iw-C8Rj57bA.js} +17 -17
- package/dist/assets/{MyPendingActivationChargeCardListPage-CWQq9D2t-Da8VyALM.js → MyPendingActivationChargeCardListPage-B2-YthuF-cm2yxhR4.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-imD_-Umc-DKjDOanW.js → MyProfileSettingsPage-CfmYPv4_-aC1znwk8.js} +5 -5
- package/dist/assets/NavBarWithPicker-Bzkl4W0x-CDy3Aggh.js +30 -0
- package/dist/assets/{NavigationArrow-De1st3tA-BAPoCX85.js → NavigationArrow-9pvhzLz8-DNW8ChSX.js} +1 -1
- package/dist/assets/NavigationDots-CXPwKFh1-CN4i4rO7.js +15 -0
- package/dist/assets/{NewGlobalMerchantPage-euJK3CXB-sukBYO3J.js → NewGlobalMerchantPage-D6ZpP6J1-D56cB-sU.js} +12 -12
- package/dist/assets/{NoDataChart-D_S6Pfkm-C3JVPSeM.js → NoDataChart-BUR7CF8w-JBqV9jC1.js} +1 -1
- package/dist/assets/{NoDataTable-CLwNCXFE-rGXp6Upe.js → NoDataTable-3L4pbKR0-B7fSM3B6.js} +1 -1
- package/dist/assets/{NotFoundPage-JfbMP3OG-CdLC4JTC.js → NotFoundPage-CgZfmKbj-BRxQmcCY.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-YBgrQBb2-Cpy35xKn.js → NotificationSettingsPage-BwYT3Tdc-D89puZca.js} +14 -14
- package/dist/assets/NotificationsListConfig-CeeJpJ2p-8AiJrLfH.js +1 -0
- package/dist/assets/{NotificationsPage-C3pnQT-K-CVRF5kRL.js → NotificationsPage-6qNQYQK4-DLvnPKkn.js} +39 -39
- package/dist/assets/{OpExByVendorPage-7FEOhvd--RHaoySaH.js → OpExByVendorPage-C28MBvmW-CYPqi7IY.js} +6 -6
- package/dist/assets/{OverlayContainerPage-GWXnlbZH-CVXBjiin.js → OverlayContainerPage-9K5jaX8Z-BZxsFO4t.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-D0f5zvhp-DcJszdXh.js → PandLWithForecastPage-onJJ3Fh4-_QaDHG-Z.js} +12 -12
- package/dist/assets/PaymentAccountSetupBillingAddressSection-nGuJ5fbq-D3E47Aos.js +107 -0
- package/dist/assets/{PeoplePage-B-j04rvc-CCfL9FKm.js → PeoplePage-CKzezKqB-ByzrDmy1.js} +33 -33
- package/dist/assets/PortfolioAllocationFormPage-28Rg5Um0-BlYwyLHy.js +207 -0
- package/dist/assets/{PortfolioDetails-C-YfZonF-CLSJrpEX.js → PortfolioDetails-CIv1yXo2-BXO78bZH.js} +34 -34
- package/dist/assets/{ProductsCarousel-9USsVLuf-Dx3uyiaJ.js → ProductsCarousel-CSUQ6rVw-BjLG54WQ.js} +7 -7
- package/dist/assets/{PromoBaseCards-OKpdHchW-DlAtXYPN.js → PromoBaseCards-2L1JfY-v-8Fx_ViSz.js} +5 -5
- package/dist/assets/{QBOConnectionDialog-BUr2NQiK-W-7dllOf.js → QBOConnectionDialog-DNP_b7aK-BzvUOq7o.js} +5 -5
- package/dist/assets/{QBOSetupSection-Cmf7-3wv-qvwzEewL.js → QBOSetupSection-CGrGCC2j-CuJwLC6X.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-Dev4FHVt-D88aB6v1.js → ReimbursementApprovalRuleDetailPage-DqxyCfuQ-BcbdBa6J.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BLMJY7El-e_ujsVQc.js → ReimbursementApprovalRulesPage-D_RMSSoW-DW4d-zUH.js} +33 -33
- package/dist/assets/{ReimbursementDetailPage-BIyq0BC0-CB2Fd2bq.js → ReimbursementDetailPage-BkT7zJoE-BUepvklz.js} +20 -20
- package/dist/assets/ReimbursementPromoPage-DQsLI50f-DvpBhx7F.js +112 -0
- package/dist/assets/{ReimbursementSetUpPage-VKXRSodl-D7JcNewb.js → ReimbursementSetUpPage-lH4Z7Lqi-C3uS6udC.js} +15 -15
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BmUcVSjU-BLnUm02Q.js → ReimbursementsBulkReviewDrawerPage-Bvh4mRws-DVwJvL8d.js} +1 -1
- package/dist/assets/{ReloadCard-DZhxB7Ar-hF1gT-u0.js → ReloadCard-BQKVLlzZ-CTM6ZQom.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-DSfx5ZD--Dci-a61G.js → ReportTableViewSelector-Cvk4LxRf-eJ2TbRx4.js} +10 -10
- package/dist/assets/{ReportsPage-CLH0u0Bh-C1MJTTfa.js → ReportsPage-C2cIfu51-BxZnm0Ag.js} +5 -5
- package/dist/assets/{RevenueChart-BeqQveLu-DeA8SaiY.js → RevenueChart-ByCekdyG-8uQwfY47.js} +17 -17
- package/dist/assets/{ReviewDetailsPage-Dq7hRX5W-O_RQR1-u.js → ReviewDetailsPage-DGyfz9q5-BKYXEzMr.js} +25 -25
- package/dist/assets/{ReviewOverlay-BNHqYk2g-GkMrLGZt.js → ReviewOverlay-Dp5yLAdR-BtQ_1SYB.js} +24 -24
- package/dist/assets/RoleWithToolTip-B7xRZ-3a-DOUAAL_V.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-QE0wa196-BAk-TXp_.js → ScheduleDetailsFixedAssetsPage-BvJX-G-F-EcV0Ga4I.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-BVyX-Z0H-BlUtpB7o.js → ScheduleDetailsPage-CNpkuW7O-B_ravSuG.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-D1FYbPfU-Ch0thzHH.js → ScheduleSequenceTable-B_90qPjE-CouAcwmm.js} +16 -16
- package/dist/assets/{ScreenRoutes-DE3IzrIT.js → ScreenRoutes-AFpRn9FR.js} +62 -62
- package/dist/assets/{SetUpAccountSection-CYn2o43t-Cyl8tfm8.js → SetUpAccountSection-D5x8PZG1-DygZSmwk.js} +17 -17
- package/dist/assets/{SetUpDefaultSection-C0-L2ZyA-BVH3L8he.js → SetUpDefaultSection-BsOdnADR-CaLnvPCj.js} +10 -10
- package/dist/assets/{SignIn-BIxTodeo-CKTRpX1-.js → SignIn-Bt7hCYjV-EKx-pTxB.js} +20 -20
- package/dist/assets/{SignInScreen-BiA-KBBQ.js → SignInScreen-rurSzHF5.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DXtvYcrg-CdBfKQlr.js → SpendManagementListViewPage-C5cJKuRq-BvXZ8iTI.js} +12 -12
- package/dist/assets/{SpendManagementPerTabPage-Cn-UsxaR-D2WwRrYC.js → SpendManagementPerTabPage-IBAw8wc4-CqequpCF.js} +45 -45
- package/dist/assets/{SpendManagementSection-BBR4aFIT-DzW24Skc.js → SpendManagementSection-yNP3swb6-CDpN_vFS.js} +14 -14
- package/dist/assets/{SpendMgmtSetupAccountSection-DedLETSm-YLSeERft.js → SpendMgmtSetupAccountSection-CYxt9dN8-jE6ury5g.js} +19 -19
- package/dist/assets/{StatementItem-CnpTW8qb-D17PfvTr.js → StatementItem-q9U89Htr-Dnon4hoE.js} +9 -9
- package/dist/assets/{StatementsPage-Pdhh6wDA-jwcjw1WZ.js → StatementsPage-BM5Glizw-CQVS_jKg.js} +6 -6
- package/dist/assets/{StatusSwitcher-CY3fhZpk-DDb6KoNb.js → StatusSwitcher-CtuL5COG-G6MVUY78.js} +1 -1
- package/dist/assets/{SubTabSwitcher-BgzS4on6-Dwoyfu-k.js → SubTabSwitcher-DHiC-mOv-DT2nPRyj.js} +3 -3
- package/dist/assets/{SummaryCard-DB_r9qW_-DWYafO_s.js → SummaryCard-D4Me-qWU-DQUY-zeO.js} +1 -1
- package/dist/assets/{TaskManagementPage-B0gR2j1v-COQTSpG8.js → TaskManagementPage-D-F7ufTD-e1fJ4aPt.js} +34 -34
- package/dist/assets/{TimeRangeSwitcher-BbdpFsMU-BLzIMI-C.js → TimeRangeSwitcher-CGN9Hq2L-r0shmfu7.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-CUpsv6b1-DSn3wgUk.js → TimeframeSwitcher-BN4-ACoQ-D22kJoI6.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DZbOWm8e-yKyY1kGN.js → TimeframeSwitcherWithToggle-BkzCFclG-CPGMypUZ.js} +2 -2
- package/dist/assets/{TopExCard-Bn5xXUvj-CEaRP9sl.js → TopExCard-Wuzj4gLV-Dr3lX9dX.js} +5 -5
- package/dist/assets/{TopExDetailPage-DRjO-pGo-C3d4g0dQ.js → TopExDetailPage-DMYNc-gj-DbGIeoCc.js} +10 -10
- package/dist/assets/{TransactionDetailPage-L-yLO1SI-DqT88RlY.js → TransactionDetailPage-CcryBjJ4-DTQbu83x.js} +43 -43
- package/dist/assets/{TransactionList-CSb5yqQj-D5O9i1eU.js → TransactionList-BrOpzi25-Db-4cinW.js} +9 -9
- package/dist/assets/{TransactionListBig-f2x4xrky-DSDJ_EXD.js → TransactionListBig-D6QMNaV6-CAdEtJgN.js} +26 -26
- package/dist/assets/TransactionListPage-BB_LkPKR-hsIp58b2.js +35 -0
- package/dist/assets/TransactionVendorDetailPage-RajWBB1I-BdySPl7M.js +80 -0
- package/dist/assets/TransferDrawerPage-D-KFK0BM-lEsdgmBR.js +362 -0
- package/dist/assets/{TreasuryOverviewPage-B01cSfUQ-kSH9i23n.js → TreasuryOverviewPage-EDaXKMNQ-CrrmzIet.js} +59 -59
- package/dist/assets/{TreasuryPromoPage-DC46ObGy-6BFpTzC9.js → TreasuryPromoPage-Brja4nGR-DglH7Il8.js} +26 -25
- package/dist/assets/{TreasurySetupPage-CiIqfQLR-Zvu7PlM8.js → TreasurySetupPage-8ZXXBvyU-l9-yURTU.js} +9 -9
- package/dist/assets/{TreasuryStatementsPage-C_pfPvgz-CvRKmTd0.js → TreasuryStatementsPage-BjT1FVfa-wIBwl3Q0.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-D-4Ntky2-CbNYYuLW.js → TreasuryTaxLetterPage-Cxk8TjrI-DPLTc42N.js} +5 -5
- package/dist/assets/TreasuryTransferOrReviewPage-DrNld8H2-DCvG8LPc.js +506 -0
- package/dist/assets/{TrendChart-DKIa4o8k-VO_JzwoY.js → TrendChart-D2B0mwGW-BG_v97N6.js} +5 -5
- package/dist/assets/{TrendWithTransactions-BumhCIjm-Yg7fpcN4.js → TrendWithTransactions-Ch8smOOz-jen0aqye.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-C4Njvj_H-DLrR6DBY.js → UncategorizedAccountsMappingPage-CCIn9g7v-pUmVA_Xq.js} +8 -8
- package/dist/assets/{UnitIntegrationPage-D_tfUXdS-Cl4gvNRF.js → UnitIntegrationPage-SY0L_D7Z-Cbnt8xFH.js} +5 -5
- package/dist/assets/{UploadAdditionalDocumentOverlay-CSdTPTA3-D_QTNdVG.js → UploadAdditionalDocumentOverlay-BowxerPw-ByoVxHT3.js} +2 -2
- package/dist/assets/{Vendor2FAPopup-DgKVft1G-BbWcKAyH.js → Vendor2FAPopup-DvWVDx58-nCTKo0G7.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-DdAbrbpS-CaSYamcy.js → VendorACHDetailsPage-Ba1oMHkp-BxaJZz_l.js} +1 -1
- package/dist/assets/{VendorDetailPage-CSPbUx-h-BA4BV8lD.js → VendorDetailPage-CjBeVAkw-CNG6GTiT.js} +12 -12
- package/dist/assets/{VendorDomesticWireDetailsPage-GODvpEne-B7JWdU5P.js → VendorDomesticWireDetailsPage-DJcyNUun-B_mMtp62.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-ByfEwSZJ-3EJs6Pdf.js → VendorFiling1099EditablePage-CUWkLY0f-CFmjh1GG.js} +10 -10
- package/dist/assets/{VendorFirstReviewPage-B2-UtNMO-BpFbEEFE.js → VendorFirstReviewPage-XUgEai-M-DTz6r_sf.js} +14 -14
- package/dist/assets/{VendorInternationalWireDetailsPage-DSziQ0jO-JD1dzlHt.js → VendorInternationalWireDetailsPage-BgHCBv0S-CqCl2AuO.js} +11 -11
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Dqc7XLbW-XxvhKcbT.js → VendorInternationalWireSwiftDetailsPage-axseacZL-DJ6kdu0R.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-BLwMi5AB-CCLynqTL.js → VendorsAccountsSection-oYghWvs6-YBKazVEG.js} +4 -4
- package/dist/assets/VerifyDevice-XUExnmR9-Dvl0QizA.js +67 -0
- package/dist/assets/{WarningsDrawerPage-3h7UME3Y-DNttzlAa.js → WarningsDrawerPage-B1his2AN-wDPc6ygf.js} +11 -11
- package/dist/assets/{ZeniAccountDetailPage-Dn70Xhjm-D4MEKJZT.js → ZeniAccountDetailPage-B21kawRR-cYQnKtb2.js} +26 -26
- package/dist/assets/{ZeniAccountListViewPage-C7CX6-Bl-CV3TlLO2.js → ZeniAccountListViewPage-D9lefqbT-BqcU0pmn.js} +26 -26
- package/dist/assets/ZeniAccountNavBarPieces-5yZFq-zt-jLGGdcn1.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-CLufbB-B-BJ_7DF1e.js → ZeniAccountPromoPage-B8aWqCOQ-CKv07I8x.js} +21 -21
- package/dist/assets/{ZeniAccountSetupPage-rLdRA3Ld--977FCkZ.js → ZeniAccountSetupPage-BmFF5yvk-D-AdXd5I.js} +3 -3
- package/dist/assets/{ZeniCopyright-BItiuePl-C7k-X__M.js → ZeniCopyright-eQoaUH08-BVCPJkWr.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DYCK5UWr-DVAoQDrm.js → ZeniTransferAmountSlider-B6ftMZ_m-C-6X1EH-.js} +2 -2
- package/dist/assets/{analyticsHelper-D4zFEqKN-DzUQzUlK.js → analyticsHelper-Bns4muDg-CtVpldLz.js} +1 -1
- package/dist/assets/{analyticsHelper-ClYKq5_x.js → analyticsHelper-u4uoMPvS.js} +1 -1
- package/dist/assets/{chartTypes-yiqF7w9Y-BGOhcpTx.js → chartTypes-ZJYcsh-k-BCVVPSGZ.js} +1 -1
- package/dist/assets/{commonDimensions-PPvas5dK-BGZQSqLq.js → commonDimensions-NUQEpowf-g8lux_Te.js} +1 -1
- package/dist/assets/{detailCommon-mCAXI64G-BAwUCtmX.js → detailCommon-DMKakaa6-DVMNrgCv.js} +7 -7
- package/dist/assets/{downloadPdf-C3XpsGeN-DqiveqBb.js → downloadPdf-CNrmv_yZ-BgWfIYNz.js} +1 -1
- package/dist/assets/{index-BS9BhstZ.js → index-CnrHU8WN.js} +4373 -4206
- package/dist/assets/{liveblocks-sSQ9JElv.js → liveblocks-DZpRS25q.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-7wU2HX2P-Dj0X-cbJ.js → mapLoadingInProgressToTreeNode-CwLhcXcQ-nJqrr22I.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-dSxF1sWM-BmY0ko4z.js → mapSectionWithAcOnlyToTreeNode-D8iLkGEE-Bl5usORJ.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-1mXbBuNs-BE-8149w.js → mapSpacerToTreeNode-CF_gEYDy-aRE98CQL.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DXVQrusd-BAb1FqOY.js → mapTimeframeBalancesToTreeNode-B672MK55-v1Bjh3U8.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DtAULIDB-B4AiSiuC.js → mapTimeframeBalancesToTreeNode-Dp2QmYvb-Cr-c38Jl.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DAqn8gdX-DPgokZ5l.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BaEMd-vj-CsyeIH1c.js} +1 -1
- package/dist/assets/mui-Bi8r7UDG.js +25 -0
- package/dist/assets/{play-icon-NvLdXSYk-BXzTREV-.js → play-icon-CgWP2Myd-BVsSsxSg.js} +1 -1
- package/dist/assets/{redux-ByjIRbhZ.js → redux-CC-tnuv1.js} +1 -1
- package/dist/assets/{routing-Cpaypegg.js → routing-CxYXTKiv.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-C9fWPLt9-B2HBMv4h.js → toCOABalancesWithID-DJNZCEmi-D5UU_YFX.js} +1 -1
- package/dist/assets/{toChartData-BMDCuCgs-CEUldhRx.js → toChartData-HYsxUPzh-De2YqXiL.js} +1 -1
- package/dist/assets/{treasuryColorHelper-COfuUI3C-D6JaGfR1.js → treasuryColorHelper-BgV2H9Kv-BBqEUahx.js} +1 -1
- package/dist/assets/{uploadAttachment-DSku547V-Dfv7WcEs.js → uploadAttachment-BgjFjkkw-DJYt86D-.js} +34 -34
- package/dist/assets/{uploadReceipts-D80JLNY4-B-E7WYbX.js → uploadReceipts-CwjPukNh-SrJVbi2t.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-DyEK-yAb-CYzjb0P6.js +0 -21
- package/dist/assets/ApAgingDetailPage-C2HUvxWk-CmXftBCt.js +0 -46
- package/dist/assets/AppBasePage-C63xauck-B7uL-jnJ.js +0 -68
- package/dist/assets/BusinessVerificationPage-ClBQ39GB-lK0gfMrq.js +0 -140
- package/dist/assets/ChargeCardPromoPage-COA7csMK-Dhz6qtv_.js +0 -219
- package/dist/assets/CheckDepositDrawerPage-Cfdkbh0L-Cng8frow.js +0 -206
- package/dist/assets/CompleteProfile-Cp_nXCBI-BE9X5-eY.js +0 -36
- package/dist/assets/ConfettiBurst-tf23hrA_-zNQ15guQ.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-DXWtttsb-B7v6_HN6.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-BTZovTIK-DGF3gicj.js +0 -66
- package/dist/assets/EditPeoplePage-D2zQG-_T-BitbZ9jO.js +0 -55
- package/dist/assets/FeaturePreviewPage-Bv0D92ik-C-aLsKYk.js +0 -11
- package/dist/assets/InsightsSection-CSG5sVaE-CIf6iKuS.js +0 -27
- package/dist/assets/InvitePeoplePage-By3sTPj1-D6QvW3zn.js +0 -12
- package/dist/assets/InvoiceUploadSection-B8OA6oqe-BVyTHteY.js +0 -140
- package/dist/assets/LabeledAddressValue-BJ1dXCb1-xOyKePQ9.js +0 -49
- package/dist/assets/LabeledAddressValueField-DZCn1w6m-DYHHw-KS.js +0 -45
- package/dist/assets/LabeledDocumentField-gxNaFx2j-B3wJNd8f.js +0 -41
- package/dist/assets/MagicLinkTitleSection-DdTLuD-8-2eGCS_tx.js +0 -17
- package/dist/assets/MailingDetailsSection-Bo_v3Gp2-BGvmU6P-.js +0 -21
- package/dist/assets/NavBarWithPicker-D0Bv9P4m-BQsnrfPP.js +0 -30
- package/dist/assets/NavigationDots-BfJxPG2K-CpLLe-k9.js +0 -14
- package/dist/assets/NotificationsListConfig-TCmn6L9k-LI7EhO_K.js +0 -1
- package/dist/assets/PaymentAccountSetupBillingAddressSection-CBvjcBEH-CfnKIIUr.js +0 -106
- package/dist/assets/PortfolioAllocationFormPage-yvAHgF_R-D9k2f595.js +0 -207
- package/dist/assets/ReimbursementPromoPage-Dox8Q_BC-BCFx3nzd.js +0 -112
- package/dist/assets/RoleWithToolTip-Cob2-Ppj-Chor2yuB.js +0 -22
- package/dist/assets/TransactionListPage-XP6Axg1M-41ODaIRL.js +0 -35
- package/dist/assets/TransactionVendorDetailPage-CY9kUYZc-DGMwaOvo.js +0 -80
- package/dist/assets/TransferDrawerPage-DOMX4_HE-BJbzuBja.js +0 -362
- package/dist/assets/TreasuryTransferOrReviewPage-CjxiFUqO-CkGSBfSi.js +0 -506
- package/dist/assets/ZeniAccountNavBarPieces-Cl1zQVNd-Hw2Z1YcK.js +0 -14
- package/dist/assets/mui-C5LQ0bMa.js +0 -25
package/dist/assets/{DownloadOverlay-CwqxQGbr-Ae7vpc4V.js → DownloadOverlay-BKKO1nm1-BQ5P_IH7.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,
|
|
1
|
+
import{j as t,bu as Xe,o as a,e as le,bv as et,r as Re,l as d,g as de,C as H,a3 as tt,M as Y,bw as rt,bf as ze,q as z,ao as Be,n as T,bm as we,v as G,B as ce,J as ee,u as Ne,bx as at,by as me,bz as pe,m as Ee,bA as Qe,p as fe,bB as q,bd as ot,ap as st,bC as it,bD as nt,b5 as lt,bn as dt,s as ct,bE as mt,bF as pt,b1 as ft}from"./index-CnrHU8WN.js";import{b as u,n,k as Ve,f as he}from"./vendor-CnQcJ2Lu.js";import{m as ht}from"./analyticsHelper-Bns4muDg-CtVpldLz.js";import{c as ut,h as bt}from"./ReportTableViewSelector-Cvk4LxRf-eJ2TbRx4.js";import{t as gt}from"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./CollapsableReportTable-Ds0h8x1N-DplOjSEj.js";import"./AccountRow-DJd-IAIl-CfLQe7at.js";const xt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function te(e,o,r,s){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"year"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return s!=null?Math.min(i,s):i}function X(e,o,r,s=1){if(s>1){const i=d.subtractPeriod(r,e,s-1,o),{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ye{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,s,i,l,p=s.endDate){if(s.endDate.isBefore(s.startDate))throw Error(`Invalid data available period ${JSON.stringify(s)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=s,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return X(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=d.addPeriod(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=d.getStartOfAndEndOfTimeframeForFY(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:s}=d.getStartOfAndEndOfTimeframeForFY(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(s,i,null,"[]")&&r.isBetween(s,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let s=te(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(s>this.maxNumberOfPeriods){s=this._numberOfPeriods;const{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(d.addPeriod(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){s=1;const{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=s,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const ae=["1","2","3","4"],oe=d.dateNow().localeData().monthsShort(),P={pdf:12,excel:100,csv:100},N=(e,o,r)=>{const s=Y.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let f=l;for(;f.isSameOrBefore(p,"year");)i.push(f.format(s)),f=d.addPeriod(f,e,1,"year")}else{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"year"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"year");let{fyYear:f}=d.getFYQuarterAndYear(l,e);const{fyYear:b}=d.getFYQuarterAndYear(p,e);for(;f<=b;)i.push(`${f}`),f++}return i},yt=n.div`
|
|
2
2
|
padding: ${a.sp3};
|
|
3
3
|
border: 1px solid ${e=>e.borderColor.default};
|
|
4
4
|
border-radius: ${a.sp1};
|
|
@@ -61,14 +61,14 @@ import{j as t,bp as Je,o as a,X as le,bq as et,n as Le,l as d,g as de,C as H,a3
|
|
|
61
61
|
color: ${e=>e.theme.colors.primary};
|
|
62
62
|
padding: ${a.sp2} 27px;
|
|
63
63
|
display: flex;
|
|
64
|
-
`,Ce=n.div``,Se=n(
|
|
64
|
+
`,Ce=n.div``,Se=n(Re)`
|
|
65
65
|
margin-right: 6px;
|
|
66
66
|
`,Pe=n.span`
|
|
67
67
|
font-weight: ${pt.medium};
|
|
68
68
|
`,It=n.div`
|
|
69
69
|
position: relative;
|
|
70
70
|
cursor: pointer;
|
|
71
|
-
`,
|
|
71
|
+
`,Lt=n.div`
|
|
72
72
|
display: flex;
|
|
73
73
|
z-index: 9;
|
|
74
74
|
flex-wrap: wrap;
|
|
@@ -78,7 +78,7 @@ import{j as t,bp as Je,o as a,X as le,bq as et,n as Le,l as d,g as de,C as H,a3
|
|
|
78
78
|
background: ${e=>e.theme.colors.grey5};
|
|
79
79
|
border: 1px solid ${e=>e.theme.colors.grey2};
|
|
80
80
|
width: 100%;
|
|
81
|
-
`,
|
|
81
|
+
`,Rt=n.div`
|
|
82
82
|
padding: ${a.sp3};
|
|
83
83
|
border-top: none;
|
|
84
84
|
display: flex;
|
|
@@ -91,7 +91,7 @@ import{j as t,bp as Je,o as a,X as le,bq as et,n as Le,l as d,g as de,C as H,a3
|
|
|
91
91
|
`,zt=n.div`
|
|
92
92
|
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
93
93
|
width: 100%;
|
|
94
|
-
`,Bt=(e,o,r,s)=>{const i=N(e,"month",o).filter(l=>!d.zeniDate(`${l}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]"));return{disabledMonths:oe.filter(l=>{const p=s.startDate.format(S.YYYYformat);return!d.zeniDate(`${l} ${p}`,S.MMMYYYYFormat).isBetween(r.startDate.startOf("month"),r.endDate.endOf("month"),null,"[]")}),disabledYears:i}},Nt=(e,o,r,s)=>{const i=d.isIncompleteMonthPresentInTimeframeTick(r);return s!=null?oe.filter(l=>o.includes(l)===!1&&d.zeniDate(`${l} ${e}`,S.MMMYYYYFormat).isAfter(s)&&(i===!0?d.zeniDate(r.endDate.format(S.MMMYYYYFormat)).isSame(d.zeniDate(`${l} ${e}`,S.MMMYYYYFormat))===!1:!0)):[]},Et=(e,o,r,s)=>{const i=d.isIncompleteMonthPresentInTimeframeTick(e);return s!=null?oe.filter(l=>r.includes(l)===!1&&d.zeniDate(`${l} ${o}`,S.MMMYYYYFormat).isAfter(s)&&(i===!0?d.zeniDate(e.endDate.format(S.MMMYYYYFormat)).isSame(d.zeniDate(`${l} ${o}`,S.MMMYYYYFormat))===!0:!1)):[]},{reports:Ae,dateFormat:{analytics:
|
|
94
|
+
`,Bt=(e,o,r,s)=>{const i=N(e,"month",o).filter(l=>!d.zeniDate(`${l}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]"));return{disabledMonths:oe.filter(l=>{const p=s.startDate.format(S.YYYYformat);return!d.zeniDate(`${l} ${p}`,S.MMMYYYYFormat).isBetween(r.startDate.startOf("month"),r.endDate.endOf("month"),null,"[]")}),disabledYears:i}},Nt=(e,o,r,s)=>{const i=d.isIncompleteMonthPresentInTimeframeTick(r);return s!=null?oe.filter(l=>o.includes(l)===!1&&d.zeniDate(`${l} ${e}`,S.MMMYYYYFormat).isAfter(s)&&(i===!0?d.zeniDate(r.endDate.format(S.MMMYYYYFormat)).isSame(d.zeniDate(`${l} ${e}`,S.MMMYYYYFormat))===!1:!0)):[]},Et=(e,o,r,s)=>{const i=d.isIncompleteMonthPresentInTimeframeTick(e);return s!=null?oe.filter(l=>r.includes(l)===!1&&d.zeniDate(`${l} ${o}`,S.MMMYYYYFormat).isAfter(s)&&(i===!0?d.zeniDate(e.endDate.format(S.MMMYYYYFormat)).isSame(d.zeniDate(`${l} ${o}`,S.MMMYYYYFormat))===!0:!1)):[]},{reports:Ae,dateFormat:{analytics:J,visual:S}}=Y.getLocalizedStrings(),Qt=e=>{const{selectedPeriod:o,label:r,validPeriod:s,onNewPeriodSelection:i}=e,[l,p]=u.useState(!1),[f,b]=u.useState(o.startDate.format(J.MMMFormat)),[m,F]=u.useState(o.startDate.format(J.YYYYFormat)),$=x=>{b(x),i("month",{startDate:d.zeniDate(`${x} ${m}`,J.MMMYYYYFormat).startOf("month"),endDate:d.zeniDate(`${x} ${m}`,J.MMMYYYYFormat).endOf("month")}),p(!1)},O=x=>{p(x),b(o.startDate.format(S.MMMformat)),F(o.startDate.format(S.YYYYformat))},{disabledMonths:w,disabledYears:h}=Bt(e.firstMonthOfFY,e.dataAvailable,s,{startDate:d.zeniDate(m,S.YYYYformat),endDate:d.zeniDate(m,S.YYYYformat)}),_=N(e.firstMonthOfFY,"month",e.dataAvailable),c=Nt(m,w,s,e.bookCloseDate),y=Et(s,m,w,e.bookCloseDate),v=e.bookCloseDate!=null?d.getTimeframeTickTag("month",e.firstMonthOfFY,o,e.bookCloseDate,e.dataAvailable):void 0;return t.jsx(fe,{onClickAway:()=>O(!1),children:t.jsxs(It,{children:[t.jsx(be,{value:d.formatZeniDate(o.startDate,S.MMMYYFormat,e.firstMonthOfFY),onClick:()=>O(!l),label:r,timeframeTickTag:v}),l?t.jsx(u.Fragment,{children:t.jsxs(Lt,{children:[t.jsxs(Rt,{children:[_.map(x=>t.jsx(q,{id:x,text:x,disabled:h.includes(x),onClick:j=>{F(j),b("")},checked:x===m},x)),t.jsx(Me,{space:a.sp3}),t.jsx(zt,{}),t.jsx(Me,{space:a.sp3}),oe.map(x=>t.jsx(q,{id:x,text:x,disabled:w.includes(x),onClick:j=>$(j),checked:x===f,starred:c.includes(x)&&!w.includes(x),doubleStarred:y.includes(x)&&!w.includes(x)},x))]}),t.jsx(ge,{starredPeriod:c,doubleStarredPeriod:y,bookCloseIncompleteInfo:Ae.bookCloseIncompleteInfoMonth,bookCloseUnderReviewInfo:Ae.bookCloseUnderReviewInfoMonth})]})}):""]})})},Vt=u.memo(Qt),Ht=n.div`
|
|
95
95
|
position: relative;
|
|
96
96
|
cursor: pointer;
|
|
97
97
|
`,Ut=n.div`
|
|
@@ -117,7 +117,7 @@ import{j as t,bp as Je,o as a,X as le,bq as et,n as Le,l as d,g as de,C as H,a3
|
|
|
117
117
|
`,Wt=n.div`
|
|
118
118
|
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
119
119
|
width: 100%;
|
|
120
|
-
`,Zt=(e,o,r,s)=>{const i=N(e,"quarter",o).filter(l=>{if(e===1)return!d.zeniDate(`${l}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]");{const{fyYear:p}=d.getFYQuarterAndYear(r.startDate,e),{fyYear:f}=d.getFYQuarterAndYear(r.endDate,e);return!(parseInt(l)>=p&&parseInt(l)<=f)}});return{disabledQuarters:ae.filter(l=>{const p=parseInt(l),f=d.getFYQuarterAndYear(r.startDate,e),b=d.getFYQuarterAndYear(r.endDate,e);return s===f.fyYear&&p<f.fyQuarter||s===b.fyYear&&p>b.fyQuarter?!0:s<f.fyYear||s>b.fyYear}),disabledYears:i}},Gt=(e,o,r,s,i)=>{const l=d.isIncompleteMonthPresentInTimeframeTick(s);if(i!=null){const p=d.getFYQuarterAndYear(i,o),f=d.getFYQuarterAndYear(s.endDate,o);return ae.filter(b=>{const m=parseInt(b);return e.includes(b)===!1&&(l!==!0||f.fyQuarter!==m)&&(r===p.fyYear&&m>=p.fyQuarter&&d.getLastMonthOfFYQuarter(m,o)!==i.month()+1||r>p.fyYear)})}else return[]},
|
|
120
|
+
`,Zt=(e,o,r,s)=>{const i=N(e,"quarter",o).filter(l=>{if(e===1)return!d.zeniDate(`${l}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]");{const{fyYear:p}=d.getFYQuarterAndYear(r.startDate,e),{fyYear:f}=d.getFYQuarterAndYear(r.endDate,e);return!(parseInt(l)>=p&&parseInt(l)<=f)}});return{disabledQuarters:ae.filter(l=>{const p=parseInt(l),f=d.getFYQuarterAndYear(r.startDate,e),b=d.getFYQuarterAndYear(r.endDate,e);return s===f.fyYear&&p<f.fyQuarter||s===b.fyYear&&p>b.fyQuarter?!0:s<f.fyYear||s>b.fyYear}),disabledYears:i}},Gt=(e,o,r,s,i)=>{const l=d.isIncompleteMonthPresentInTimeframeTick(s);if(i!=null){const p=d.getFYQuarterAndYear(i,o),f=d.getFYQuarterAndYear(s.endDate,o);return ae.filter(b=>{const m=parseInt(b);return e.includes(b)===!1&&(l!==!0||f.fyQuarter!==m)&&(r===p.fyYear&&m>=p.fyQuarter&&d.getLastMonthOfFYQuarter(m,o)!==i.month()+1||r>p.fyYear)})}else return[]},Jt=(e,o,r,s,i)=>{const l=d.isIncompleteMonthPresentInTimeframeTick(s);if(i!=null){const p=d.getFYQuarterAndYear(i,e),f=d.getFYQuarterAndYear(s.endDate,e);return ae.filter(b=>{const m=parseInt(b);return r.includes(b)===!1&&(l!==!0||f.fyQuarter===m)&&o===p.fyYear&&m>=p.fyQuarter||o>p.fyYear})}else return[]},Kt=e=>{const{selectedPeriod:o,label:r,validPeriod:s,onNewPeriodSelection:i}=e,{fyQuarter:l,fyYear:p}=d.getFYQuarterAndYear(o.startDate,e.firstMonthOfFY),[f,b]=u.useState(!1),[m,F]=u.useState(`${l}`),[$,O]=u.useState(`${p}`),{reports:w,dateFormat:h}=Y.getLocalizedStrings(),_=g=>{F(g),i("quarter",d.getActualPeriodOfFYQtr(e.firstMonthOfFY,d.toQuarter(parseInt(g)),parseInt($))),b(!1)},c=g=>{b(g);const{fyQuarter:D,fyYear:A}=d.getFYQuarterAndYear(o.startDate,e.firstMonthOfFY);F(`${D}`),O(`${A}`)},{disabledQuarters:y,disabledYears:v}=Zt(e.firstMonthOfFY,e.dataAvailable,s,parseInt($)),x=N(e.firstMonthOfFY,"quarter",e.dataAvailable),j=Gt(y,e.firstMonthOfFY,parseInt($),s,e.bookCloseDate),E=Jt(e.firstMonthOfFY,parseInt($),y,s,e.bookCloseDate),M=e.bookCloseDate!=null?d.getTimeframeTickTag("quarter",e.firstMonthOfFY,o,e.bookCloseDate,e.dataAvailable):void 0;return t.jsx(fe,{onClickAway:()=>c(!1),children:t.jsxs(Ht,{children:[t.jsx(be,{value:`Q${d.formatZeniDate(o.startDate,h.visual.QYYformat,e.firstMonthOfFY)}`,onClick:()=>c(!f),label:r,timeframeTickTag:M}),f?t.jsxs(Ut,{children:[t.jsxs(qt,{children:[x.map(g=>t.jsx(q,{id:g,text:g,disabled:v.includes(g),onClick:D=>{O(D),F("")},checked:g===$},g)),t.jsx(Te,{space:a.sp3}),t.jsx(Wt,{}),t.jsx(Te,{space:a.sp3}),ae.map(g=>t.jsx(q,{id:g,text:`Q${g}`,disabled:y.includes(g),onClick:D=>_(D),checked:g===m,starred:j.includes(g)&&!y.includes(g),doubleStarred:E.includes(g)&&!y.includes(g)},g))]}),t.jsx(ge,{starredPeriod:j,doubleStarredPeriod:E,bookCloseIncompleteInfo:w.bookCloseIncompleteInfoQuarter,bookCloseUnderReviewInfo:w.bookCloseUnderReviewInfoQuarter})]}):""]})})},Xt=u.memo(Kt),er=n.div`
|
|
121
121
|
position: relative;
|
|
122
122
|
cursor: pointer;
|
|
123
123
|
`,tr=n.div`
|
|
@@ -152,7 +152,7 @@ import{j as t,bp as Je,o as a,X as le,bq as et,n as Le,l as d,g as de,C as H,a3
|
|
|
152
152
|
align-items: center;
|
|
153
153
|
color: ${e=>e.theme.colors.grey5};
|
|
154
154
|
background: ${e=>e.showSuccessBadge?de.success:e.theme.colors.primary};
|
|
155
|
-
`,mr=n(ot)``,pr=e=>{const{numberOfPeriods:o,numberOfAdditionalColumns:r,selectedFileType:s}=e;return t.jsxs(lr,{children:[t.jsx(cr,{showSuccessBadge:P[s]===o+r,children:t.jsx(mr,{children:o+r})}),t.jsx(dr,{children:Y.getLocalizedStrings().downloadReport.maxPeriodSelectionAllowed[s]})]})},fr=he.memo(pr),
|
|
155
|
+
`,mr=n(ot)``,pr=e=>{const{numberOfPeriods:o,numberOfAdditionalColumns:r,selectedFileType:s}=e;return t.jsxs(lr,{children:[t.jsx(cr,{showSuccessBadge:P[s]===o+r,children:t.jsx(mr,{children:o+r})}),t.jsx(dr,{children:Y.getLocalizedStrings().downloadReport.maxPeriodSelectionAllowed[s]})]})},fr=he.memo(pr),R=n.div`
|
|
156
156
|
padding-top: ${e=>e.space};
|
|
157
157
|
`,hr=n(Be)`
|
|
158
158
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -160,7 +160,7 @@ import{j as t,bp as Je,o as a,X as le,bq as et,n as Le,l as d,g as de,C as H,a3
|
|
|
160
160
|
color: ${e=>e.theme.colors.primary};
|
|
161
161
|
`,ur=n.div`
|
|
162
162
|
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
163
|
-
`,br=(e,o,r)=>{const{endOfTimeframeFY:s}=d.getStartOfAndEndOfTimeframeForFY(o.startDate,e,r),{startOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(o.endDate,e,r),l={startDate:o.startDate,endDate:s},p={startDate:i,endDate:o.endDate};return{fromDateRange:l,toDateRange:p}},gr=e=>{const{firstMonthOfFY:o,selectedTimeframe:r,numberOfAdditionalColumns:s,calendarPeriod:i,dateRange:l,selectedOrderBy:p,dataAvailable:f,defaultOptions:b,selectedFileType:m,bookCloseDate:F,onDateRangeChange:$,onSelectedTimeframeChange:O,onNewOrderBySelection:w,onAdditionalColumnsSelectionChanged:h}=e,_=g=>Y.getLocalizedStrings().timeframe[g],c=g=>Y.getLocalizedStrings().downloadReport.orderBy[g],y=Y.getLocalizedStrings().downloadReport.displayColumns,{fromDateRange:v,toDateRange:x}=br(o,l,r),j=g=>{const D=te(o,g,f,b.balancesFilter.numberOfPeriods);i.timeframe=g,i.maxNumberOfPeriods=P[m]-b.additionalBalances.length,i.updatePeriod(d.subtractPeriod(f.endDate,o,D-1,g),f.endDate),$(i.value.dateRange),O(i.value.timeframe),h(b.additionalBalances)},E=u.useCallback((g,D,A)=>{A==="to"?i.updateEndDate(D.endDate):i.updateStartDate(D.startDate),$(i.value.dateRange)},[i,$]),M=()=>{let g=Vt;return r==="quarter"?g=
|
|
163
|
+
`,br=(e,o,r)=>{const{endOfTimeframeFY:s}=d.getStartOfAndEndOfTimeframeForFY(o.startDate,e,r),{startOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(o.endDate,e,r),l={startDate:o.startDate,endDate:s},p={startDate:i,endDate:o.endDate};return{fromDateRange:l,toDateRange:p}},gr=e=>{const{firstMonthOfFY:o,selectedTimeframe:r,numberOfAdditionalColumns:s,calendarPeriod:i,dateRange:l,selectedOrderBy:p,dataAvailable:f,defaultOptions:b,selectedFileType:m,bookCloseDate:F,onDateRangeChange:$,onSelectedTimeframeChange:O,onNewOrderBySelection:w,onAdditionalColumnsSelectionChanged:h}=e,_=g=>Y.getLocalizedStrings().timeframe[g],c=g=>Y.getLocalizedStrings().downloadReport.orderBy[g],y=Y.getLocalizedStrings().downloadReport.displayColumns,{fromDateRange:v,toDateRange:x}=br(o,l,r),j=g=>{const D=te(o,g,f,b.balancesFilter.numberOfPeriods);i.timeframe=g,i.maxNumberOfPeriods=P[m]-b.additionalBalances.length,i.updatePeriod(d.subtractPeriod(f.endDate,o,D-1,g),f.endDate),$(i.value.dateRange),O(i.value.timeframe),h(b.additionalBalances)},E=u.useCallback((g,D,A)=>{A==="to"?i.updateEndDate(D.endDate):i.updateStartDate(D.startDate),$(i.value.dateRange)},[i,$]),M=()=>{let g=Vt;return r==="quarter"?g=Xt:r==="year"&&(g=nr),t.jsxs(u.Fragment,{children:[t.jsx(g,{firstMonthOfFY:o,onNewPeriodSelection:(D,A)=>E(D,A,"from"),dataAvailable:f,selectedPeriod:v,label:"From",validPeriod:{startDate:f.startDate,endDate:f.endDate},bookCloseDate:F}),t.jsx(R,{space:a.sp3}),t.jsx(g,{firstMonthOfFY:o,onNewPeriodSelection:(D,A)=>E(D,A,"to"),dataAvailable:f,selectedPeriod:x,label:"To",validPeriod:i.getValidCalendarPeriod(),bookCloseDate:F})]})};return t.jsxs(u.Fragment,{children:[t.jsx(hr,{children:y.title}),t.jsx(R,{space:a.sp2}),t.jsx(fr,{numberOfPeriods:i.numberOfPeriods,numberOfAdditionalColumns:s,selectedFileType:m}),t.jsx(R,{space:a.sp5}),t.jsx(se,{children:y.displayOrderBy}),t.jsx(R,{space:a.sp2}),t.jsx(we,{pickerValues:["ascending_date","descending_date"],valueToLabel:c,selectedValue:p,onPickerSelectionChanged:g=>w(g),optionTextStyle:G.standardRegular,titleTextStyle:G.standardRegular,outlined:!0}),t.jsx(R,{space:a.sp5}),t.jsx(ur,{}),t.jsx(R,{space:a.sp4}),t.jsx(se,{children:"Period"}),t.jsx(R,{space:a.sp2}),t.jsx(we,{pickerValues:["month","quarter","year"],valueToLabel:_,selectedValue:r,onPickerSelectionChanged:g=>j(g),titleTextStyle:G.standardRegular,optionTextStyle:G.standardRegular,outlined:!0}),t.jsx(R,{space:a.sp4}),t.jsx(se,{children:y.periodRange}),t.jsx(R,{space:a.sp2}),M()]})},xr=u.memo(gr),Q=n.div`
|
|
164
164
|
padding-top: ${e=>e.top??0};
|
|
165
165
|
padding-left: ${e=>e.left??0};
|
|
166
166
|
`,yr=n.div`
|
|
@@ -247,7 +247,7 @@ import{j as t,bp as Je,o as a,X as le,bq as et,n as Le,l as d,g as de,C as H,a3
|
|
|
247
247
|
`,Ir=n(me)`
|
|
248
248
|
width: ${a.sp4};
|
|
249
249
|
height: ${a.sp4};
|
|
250
|
-
`,
|
|
250
|
+
`,Lr=[{id:"excel",label:re.downloadExcel,Icon:Ir},{id:"pdf",label:re.downloadPdf,Icon:Tr}],Rr=e=>{const{label:o,id:r,onClick:s,checked:i,Icon:l,isLoading:p}=e;return t.jsx(kr,{checked:i,onClick:s,id:r,children:p&&i?t.jsx(Ar,{offset:`${Qe("Standard")/2}px`,children:t.jsx(Ee,{size:"Standard",reverseSpinnerColor:!1,start:!0})}):t.jsxs(t.Fragment,{children:[t.jsx(Sr,{children:o}),t.jsx(l,{})]})})},zr=e=>{const{onViewReportClick:o,downloadingStatement:r,disabledDownloadButton:s,downloadTypeProps:i,onResetClick:l,isResetDisabled:p}=e,{calendarPeriod:f,onNewFileTypeSelection:b,numberOfAdditionalColumns:m,selectedFileType:F,resetToDefaultOption:$}=i,[O,w]=u.useState(!1),h=c=>{c.stopPropagation(),o()},_=c=>{c==="pdf"&&f.numberOfPeriods+m>P.pdf?w(!0):(f.maxNumberOfPeriods=P[c]-m,b(c))};return t.jsxs(vr,{onClick:c=>c.stopPropagation(),children:[t.jsxs(_r,{isResetDisabled:p,onClick:l,children:[t.jsx(ze,{width:a.sp4,height:a.sp4}),t.jsx(Cr,{children:re.resetLabel})]}),t.jsxs(Pr,{children:[t.jsx(Mr,{children:Lr.map(c=>t.jsx(Rr,{...c,onClick:()=>{s||_(c.id)},checked:F===c.id,isLoading:r},c.id))}),t.jsx(Dr,{space:a.sp0,style:{display:"flex",alignItems:"center",height:z[7]},children:re.orLabel}),t.jsx(ee,{variant:"primary",label:Y.getLocalizedStrings().downloadReport.viewReport,onClick:h,style:{width:"160px"}})]}),O?t.jsx(Ue,{onSwitchToExcelClick:()=>w(!1),onContinueWithPDFClick:()=>{w(!1),b("pdf"),$()}}):""]})},Br=u.memo(zr),ne=Y.getLocalizedStrings().downloadReport.footer,Nr=n.div`
|
|
251
251
|
display: flex;
|
|
252
252
|
justify-content: center;
|
|
253
253
|
background: ${e=>e.theme.colors.background};
|
|
@@ -297,7 +297,7 @@ import{j as t,bp as Je,o as a,X as le,bq as et,n as Le,l as d,g as de,C as H,a3
|
|
|
297
297
|
`,Zr=n(me)`
|
|
298
298
|
width: ${a.sp4};
|
|
299
299
|
height: ${a.sp4};
|
|
300
|
-
`,Gr=[{id:"excel",label:ne.downloadExcel,Icon:Zr},{id:"pdf",label:ne.downloadPdf,Icon:Wr}],
|
|
300
|
+
`,Gr=[{id:"excel",label:ne.downloadExcel,Icon:Zr},{id:"pdf",label:ne.downloadPdf,Icon:Wr}],Jr=e=>{const{label:o,id:r,onClick:s,checked:i,Icon:l,isLoading:p}=e;return t.jsx(Qr,{checked:i,onClick:s,id:r,children:p&&i?t.jsx(qr,{offset:`${Qe("Standard")/2}px`,children:t.jsx(Ee,{size:"Standard",reverseSpinnerColor:!1,start:!0})}):t.jsxs(t.Fragment,{children:[t.jsx(Vr,{children:o}),t.jsx(l,{})]})})},Kr=e=>{const{onViewReportClick:o,downloadingStatement:r,disabledDownloadButton:s,downloadTypeProps:i}=e,{calendarPeriod:l,onNewFileTypeSelection:p,numberOfAdditionalColumns:f,selectedFileType:b,resetToDefaultOption:m}=i,[F,$]=u.useState(!1),O=h=>{h.stopPropagation(),o()},w=h=>{h==="pdf"&&l.numberOfPeriods+f>P.pdf?$(!0):(l.maxNumberOfPeriods=P[h]-f,p(h))};return t.jsxs(Nr,{onClick:h=>h.stopPropagation(),children:[t.jsxs(Hr,{children:[t.jsx(Ur,{children:Gr.map(h=>t.jsx(Jr,{...h,onClick:()=>{s||w(h.id)},checked:b===h.id,isLoading:r},h.id))}),t.jsx(Er,{space:a.sp0,style:{display:"flex",alignItems:"center",height:a.sp4},children:ne.orLabel}),t.jsx(ee,{variant:"primary",label:Y.getLocalizedStrings().downloadReport.viewReport,onClick:O,style:{width:"100%"}})]}),F?t.jsx(Ue,{onSwitchToExcelClick:()=>$(!1),onContinueWithPDFClick:()=>{$(!1),p("pdf"),m()}}):""]})},Xr=u.memo(Kr),ea=e=>le()==="small"?t.jsx(Xr,{...e}):t.jsx(Br,{...e}),ta=e=>u.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u.createElement("path",{d:"M20.5447 1.65002C21.0182 1.65002 21.4723 1.83811 21.807 2.1729C22.1418 2.5077 22.3299 2.96177 22.3299 3.43524V16.8467C22.3299 18.2612 21.768 19.6177 20.7678 20.6179C19.7676 21.6181 18.4111 22.18 16.9966 22.18H3.58514C3.11168 22.18 2.6576 21.9919 2.3228 21.6571C1.98801 21.3224 1.79993 20.8683 1.79993 20.3948V3.43524C1.79993 2.96177 1.98801 2.5077 2.3228 2.1729C2.6576 1.83811 3.11168 1.65002 3.58514 1.65002H20.5447Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M17.8671 22.1086V18.6095C17.8671 18.3728 17.9611 18.1458 18.1285 17.9784C18.2959 17.811 18.5229 17.7169 18.7597 17.7169H22.2587",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M5.97803 6.3999H17.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M5.97803 9.97034H17.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M5.97803 13.5406H17.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M5.97803 17.1112H11.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ra=n.div`
|
|
301
301
|
padding: ${a.sp3};
|
|
302
302
|
border: 1px solid
|
|
303
303
|
${e=>e.disabled?e.theme.colors.grey3:e.checked?e.theme.colors.primary:e.theme.colors.grey2};
|
|
@@ -323,7 +323,7 @@ import{j as t,bp as Je,o as a,X as le,bq as et,n as Le,l as d,g as de,C as H,a3
|
|
|
323
323
|
margin-left: ${a.sp3};
|
|
324
324
|
`,U=n.div`
|
|
325
325
|
padding-top: ${e=>e.space};
|
|
326
|
-
`,
|
|
326
|
+
`,Le=n(Be)`
|
|
327
327
|
color: ${e=>e.theme.colors.primary};
|
|
328
328
|
`,sa=n.div`
|
|
329
329
|
position: relative;
|
|
@@ -350,7 +350,7 @@ import{j as t,bp as Je,o as a,X as le,bq as et,n as Le,l as d,g as de,C as H,a3
|
|
|
350
350
|
display: flex;
|
|
351
351
|
align-items: center;
|
|
352
352
|
justify-content: space-between;
|
|
353
|
-
`,pa=e=>{const{label:o,id:r,subLabel:s,onClick:i,checked:l,Icon:p,disabled:f}=e;return t.jsxs(ra,{checked:l,disabled:f,onClick:i,id:r,children:[t.jsx(p,{className:"report-format-icon",width:z[7],height:z[7]}),t.jsxs("div",{children:[t.jsx(aa,{children:o}),t.jsx(oa,{children:s})]})]})},fa=e=>{const{reportId:o,firstMonthOfFY:r,selectedFormat:s,disabledFormat:i,selectedView:l,nestedClasses:p,classesToFilterOut:f,classesFetchState:b,showClassAccountNumber:m,showAccountGroups:F,onOpenAccountViewMode:$,onNewFormatSelection:O,onNewViewSelection:w,onResetClick:h,isResetDisabled:_}=e,c=Y.getLocalizedStrings().downloadReport.reportFormats,y=le(),v=[{id:c.summary.id,label:c.summary.label,subLabel:c.summary.subLabel,Icon:rt},{id:c.detailed.id,label:c.detailed.label,subLabel:l==="account_group"?F===!0?c.detailed.subLabelAccountGroups:c.detailed.subLabelAccounts:c.detailed.subLabelClasses,Icon:gt},{id:c.moreDetailed.id,label:c.moreDetailed.label,subLabel:l==="account_group"?F===!0?c.moreDetailed.subLabelAccountGroups:c.moreDetailed.subLabelAccounts:c.moreDetailed.subLabelClasses,Icon:ta}],x=()=>t.jsx(u.Fragment,{children:t.jsx(bt,{reportId:o,firstMonthOfFY:r,nodes:p,classesListFetchState:b,selectedView:l,showAccountGroups:F,downloadPage:!0,onSaveClick:w,classesToBeFilteredOut:f,showClassAccountNumber:m,onOpenAccountViewMode:$})});return t.jsxs(u.Fragment,{children:[y==="small"?t.jsxs(ma,{children:[t.jsx(
|
|
353
|
+
`,pa=e=>{const{label:o,id:r,subLabel:s,onClick:i,checked:l,Icon:p,disabled:f}=e;return t.jsxs(ra,{checked:l,disabled:f,onClick:i,id:r,children:[t.jsx(p,{className:"report-format-icon",width:z[7],height:z[7]}),t.jsxs("div",{children:[t.jsx(aa,{children:o}),t.jsx(oa,{children:s})]})]})},fa=e=>{const{reportId:o,firstMonthOfFY:r,selectedFormat:s,disabledFormat:i,selectedView:l,nestedClasses:p,classesToFilterOut:f,classesFetchState:b,showClassAccountNumber:m,showAccountGroups:F,onOpenAccountViewMode:$,onNewFormatSelection:O,onNewViewSelection:w,onResetClick:h,isResetDisabled:_}=e,c=Y.getLocalizedStrings().downloadReport.reportFormats,y=le(),v=[{id:c.summary.id,label:c.summary.label,subLabel:c.summary.subLabel,Icon:rt},{id:c.detailed.id,label:c.detailed.label,subLabel:l==="account_group"?F===!0?c.detailed.subLabelAccountGroups:c.detailed.subLabelAccounts:c.detailed.subLabelClasses,Icon:gt},{id:c.moreDetailed.id,label:c.moreDetailed.label,subLabel:l==="account_group"?F===!0?c.moreDetailed.subLabelAccountGroups:c.moreDetailed.subLabelAccounts:c.moreDetailed.subLabelClasses,Icon:ta}],x=()=>t.jsx(u.Fragment,{children:t.jsx(bt,{reportId:o,firstMonthOfFY:r,nodes:p,classesListFetchState:b,selectedView:l,showAccountGroups:F,downloadPage:!0,onSaveClick:w,classesToBeFilteredOut:f,showClassAccountNumber:m,onOpenAccountViewMode:$})});return t.jsxs(u.Fragment,{children:[y==="small"?t.jsxs(ma,{children:[t.jsx(Le,{children:Y.getLocalizedStrings().downloadReport.reportFormat}),t.jsxs(da,{isResetDisabled:_,onClick:h,children:[t.jsx(ze,{width:a.sp4,height:a.sp4}),t.jsx(ca,{children:c.resetLabel})]})]}):t.jsx(Le,{children:Y.getLocalizedStrings().downloadReport.reportFormat}),t.jsx(U,{space:a.sp4}),t.jsxs(sa,{children:[t.jsx(ia,{children:"View by"}),t.jsx(U,{space:a.sp2}),t.jsx(na,{children:x()})]}),t.jsx(U,{space:a.sp5}),t.jsx(la,{}),t.jsx(U,{space:a.sp5}),v.map(j=>t.jsxs(u.Fragment,{children:[t.jsx(pa,{...j,onClick:()=>{i.includes(j.id)||O(j.id)},checked:s===j.id,disabled:i.includes(j.id)}),t.jsx(U,{space:a.sp4})]},j.id))]})},B={width:new H(z[11],z[11],33),maxWidth:new H(550,550,425),containerPadding:new H(z[3],z[6]),rowItemPadding:new H(0,z[6]),footerHeight:new H(211,133)},ha=n.div`
|
|
354
354
|
position: relative;
|
|
355
355
|
display: flex;
|
|
356
356
|
width: ${a.sp4};
|
|
@@ -419,11 +419,11 @@ import{j as t,bp as Je,o as a,X as le,bq as et,n as Le,l as d,g as de,C as H,a3
|
|
|
419
419
|
padding: ${e=>`${a.sp0} ${B.rowItemPadding.valuePx(e.windowSize)}`};
|
|
420
420
|
width: ${e=>B.width.value(e.windowSize)}%;
|
|
421
421
|
max-width: ${e=>B.maxWidth.valuePx(e.windowSize)};
|
|
422
|
-
`,
|
|
422
|
+
`,K=n.div`
|
|
423
423
|
padding-top: ${e=>e.space};
|
|
424
424
|
`,$a=n.div`
|
|
425
425
|
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
426
|
-
`,wa=n(
|
|
426
|
+
`,wa=n(Re)`
|
|
427
427
|
position: absolute;
|
|
428
428
|
top: -${a.sp2};
|
|
429
429
|
right: -12px;
|
|
@@ -436,4 +436,4 @@ import{j as t,bp as Je,o as a,X as le,bq as et,n as Le,l as d,g as de,C as H,a3
|
|
|
436
436
|
justify-content: center;
|
|
437
437
|
color: ${e=>e.theme.colors.hero};
|
|
438
438
|
cursor: pointer;
|
|
439
|
-
`,Ya=e=>({localeId:Y.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:e.statementFileType,statements:e.statements,firstMonthOfFY:e.firstMonthOfFY,bookCloseDate:e.defaultOptions.bookCloseDate,timeframe:e.timeframe,additionalBalances:e.additionalBalances,format:e.format,balancesFilter:{thisPeriod:{startDate:e.balancesFilter.thisPeriod.startDate,endDate:e.balancesFilter.thisPeriod.endDate},numberOfPeriods:e.balancesFilter.numberOfPeriods,orderBy:e.balancesFilter.orderBy},accountViewMode:e.accountViewMode,nestedClassHierarchy:e.nestedClassHierarchy,classesToFilterOut:e.classesToFilterOut,dataAvailable:e.dataAvailable,isZeniCOAUsed:e.isZeniCOAUsed}),Oa=e=>{const o=Ya(e);if(o!=null)return ut(e.statementEndPoint,e.authParams,o)},ja=e=>{const{onClose:o,defaultOptions:r,dataAvailable:s,analytics:i,onSaveClickHandler:l,onThisPeriodChanged:p,onAdditionalBalanceSelectionChanged:f,onTimeframeSelectionChanged:b}=e,m=le();et();const[F,$]=u.useState(!1),[O,w]=u.useState(!1),[h,_]=u.useState(new Ye(r.firstMonthOfFY,r.timeframe,s,r.balancesFilter.numberOfPeriods,P.excel,r.balancesFilter.thisPeriod.endDate)),[c,y]=u.useState(r.statements),[v,x]=u.useState(r.timeframe),[j,E]=u.useState("excel"),[M,g]=u.useState(r.additionalBalances),[D,A]=u.useState(
|
|
439
|
+
`,Ya=e=>({localeId:Y.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:e.statementFileType,statements:e.statements,firstMonthOfFY:e.firstMonthOfFY,bookCloseDate:e.defaultOptions.bookCloseDate,timeframe:e.timeframe,additionalBalances:e.additionalBalances,format:e.format,balancesFilter:{thisPeriod:{startDate:e.balancesFilter.thisPeriod.startDate,endDate:e.balancesFilter.thisPeriod.endDate},numberOfPeriods:e.balancesFilter.numberOfPeriods,orderBy:e.balancesFilter.orderBy},accountViewMode:e.accountViewMode,nestedClassHierarchy:e.nestedClassHierarchy,classesToFilterOut:e.classesToFilterOut,dataAvailable:e.dataAvailable,isZeniCOAUsed:e.isZeniCOAUsed}),Oa=e=>{const o=Ya(e);if(o!=null)return ut(e.statementEndPoint,e.authParams,o)},ja=e=>{const{onClose:o,defaultOptions:r,dataAvailable:s,analytics:i,onSaveClickHandler:l,onThisPeriodChanged:p,onAdditionalBalanceSelectionChanged:f,onTimeframeSelectionChanged:b}=e,m=le();et();const[F,$]=u.useState(!1),[O,w]=u.useState(!1),[h,_]=u.useState(new Ye(r.firstMonthOfFY,r.timeframe,s,r.balancesFilter.numberOfPeriods,P.excel,r.balancesFilter.thisPeriod.endDate)),[c,y]=u.useState(r.statements),[v,x]=u.useState(r.timeframe),[j,E]=u.useState("excel"),[M,g]=u.useState(r.additionalBalances),[D,A]=u.useState(X(r.firstMonthOfFY,r.timeframe,r.balancesFilter.thisPeriod.endDate,r.balancesFilter.numberOfPeriods).dateRange),[W,qe]=u.useState(e.defaultOptions.accountViewMode),[Z,We]=u.useState(e.defaultOptions.classesToFilterOut),[V,xe]=u.useState(e.defaultOptions.balancesFilter.orderBy),[ye,Fe]=u.useState(!1),Ze=()=>{const k=te(r.firstMonthOfFY,v,D),{startOfTimeframeFY:I,endOfTimeframeFY:C}=d.getStartOfAndEndOfTimeframeForFY(D.endDate,r.firstMonthOfFY,v),L=d.zeniDate(new Date(C.year(),C.month(),C.date()).toISOString());p?.({endDate:L,startDate:I},k,!0)};u.useEffect(()=>{const k=async()=>{const I=h.endDate,{startOfTimeframeFY:C}=d.getStartOfAndEndOfTimeframeForFY(h.endDate,r.firstMonthOfFY,h.timeframe);await Oa({...e,statements:xt.filter(L=>c.includes(L)),firstMonthOfFY:e.defaultOptions.firstMonthOfFY,timeframe:h.timeframe,additionalBalances:He[h.timeframe].filter(L=>M.includes(L)),format:e.reportFormatProps.selectedFormat,statementFileType:j,accountViewMode:W,classesToFilterOut:Z,balancesFilter:{thisPeriod:{startDate:C,endDate:I},orderBy:V,numberOfPeriods:h.numberOfPeriods},dataAvailable:s,isZeniCOAUsed:e.defaultOptions.isZeniCOAUsed}),e.updateDownloadStateHandler("Completed")};ye&&e.downloadState!=="In-Progress"&&(Fe(!1),e.updateDownloadStateHandler("In-Progress"),k(),i?.trackDownload(e.referrer,ht(h.timeframe),j,!1))},[i,h.endDate,h.numberOfPeriods,h.timeframe,ye,e,s,M,j,e.reportFormatProps.selectedFormat,V,c,W,Z,r.firstMonthOfFY]),u.useEffect(()=>{O?F||$(k=>!k):w(k=>!k)},[M,V,D,e.reportFormatProps.selectedFormat]);const Ge=()=>{g(r.additionalBalances),h.maxNumberOfPeriods=P.pdf-r.additionalBalances.length;const k=te(r.firstMonthOfFY,h.timeframe,s,r.balancesFilter.numberOfPeriods),I=X(r.firstMonthOfFY,h.timeframe,h.endDate,k).dateRange;A(I),h.updatePeriod(I.startDate,I.endDate)},Je=k=>{k.stopPropagation(),o()},Ke=(k,I)=>{qe(k),e.showAccountGroups===!1&&k==="account_group"?e.reportFormatProps.disabledFormatForRole.push("detailed"):k==="classes"&&e.showAccountGroups===!1&&e.reportFormatProps.disabledFormatForRole.splice(e.reportFormatProps.disabledFormatForRole.indexOf("detailed"),1),k==="classes"?c.includes("profit_and_loss")&&(y(C=>C.filter(L=>L!=="profit_and_loss")),y(C=>[...C,"profit_and_loss_by_classes"])):c.includes("profit_and_loss_by_classes")&&(y(C=>C.filter(L=>L!=="profit_and_loss_by_classes")),y(C=>[...C,"profit_and_loss"])),I!==void 0&&We(I)},$e=()=>{_(new Ye(r.firstMonthOfFY,r.timeframe,s,r.balancesFilter.numberOfPeriods,P.excel,r.balancesFilter.thisPeriod.endDate)),g(r.additionalBalances),e.reportFormatProps.setSelectedFormat(r.accountViewMode==="classes"?e.reportFormatProps.roleBasedClassesSelectedFormat:e.showAccountGroups===!1?"more_detailed":"detailed"),xe("ascending_date"),y(r.statements),x(r.timeframe),A(X(r.firstMonthOfFY,r.timeframe,r.balancesFilter.thisPeriod.endDate,r.balancesFilter.numberOfPeriods).dateRange),$(!1),w(!1)};return t.jsxs(ga,{children:[t.jsx(xa,{role:"presentation",onClick:k=>Je(k),windowSize:m,children:t.jsx(ya,{})}),t.jsxs(Fa,{windowSize:m,children:[t.jsxs(ie,{windowSize:m,children:[t.jsx(fa,{firstMonthOfFY:e.defaultOptions.firstMonthOfFY,reportId:"profit_and_loss_by_classes",selectedFormat:e.reportFormatProps.selectedFormat,disabledFormat:e.reportFormatProps.disabledFormatForRole,selectedView:W,nestedClasses:e.defaultOptions.nestedClassHierarchy??[],classesToFilterOut:Z,classesFetchState:e.classesFetchState,showClassAccountNumber:e.defaultOptions.showClassAccountNumber??!1,showAccountGroups:e.showAccountGroups,onNewFormatSelection:e.reportFormatProps.setSelectedFormat,onNewViewSelection:Ke,onOpenAccountViewMode:e.onOpenAccountViewMode,onResetClick:$e,isResetDisabled:F}),t.jsx($a,{}),m==="small"||m==="medium-compact"?t.jsx(K,{space:a.sp5}):t.jsx(K,{space:a.sp8})]}),t.jsxs(ie,{windowSize:m,children:[t.jsx(xr,{firstMonthOfFY:r.firstMonthOfFY,calendarPeriod:h,numberOfAdditionalColumns:M.length,selectedOrderBy:V,dataAvailable:s,dateRange:D,defaultOptions:r,selectedTimeframe:v,bookCloseDate:r.bookCloseDate,onDateRangeChange:A,onSelectedTimeframeChange:x,onNewOrderBySelection:xe,selectedFileType:j,onAdditionalColumnsSelectionChanged:g}),t.jsx(K,{space:a.sp5})]}),t.jsxs(ie,{windowSize:m,children:[t.jsx(Ct,{firstMonthOfFY:e.defaultOptions.firstMonthOfFY,disabledAdditionalColumns:r.disabledAdditionalColumns,selectedTimeframe:v,dateRange:D,calendarPeriod:h,selectedAdditionalColumns:M,onAdditionalColumnsSelectionChanged:g,dataAvailable:s,selectedFileType:j}),t.jsx(K,{space:a.sp8})]})]}),t.jsx(ea,{onCancelClick:()=>o(),onViewReportClick:()=>{e.onUpdateDisplayOrder(V),e.onUpdateReportFormat(e.reportFormatProps.selectedFormat),l(W,Z),f?.(M,h.numberOfPeriods,!0),b?.(v,!1,!0),Ze(),o()},downloadingStatement:e.downloadState==="In-Progress",disabledDownloadButton:c.length===0,downloadTypeProps:{selectedFileType:j,calendarPeriod:h,numberOfAdditionalColumns:M.length,onNewFileTypeSelection:k=>{E(k),Fe(!0)},resetToDefaultOption:Ge},onResetClick:$e,isResetDisabled:F})]})},Ba=e=>{const{defaultOptions:o}=e,[r,s]=u.useState(!1),i=o.additionalBalances;return t.jsxs(ha,{onClick:()=>{s(!0)},children:[t.jsx(Xe,{visibility:r?"hidden":"visible",style:{cursor:"pointer",width:a.sp4,height:a.sp4}}),r?null:t.jsx(wa,{className:"download-badge",children:o.balancesFilter.numberOfPeriods+i.length}),r?t.jsx(ja,{...e,onClose:()=>s(!1)}):null]})};export{Ba as DownloadOverlayButton,ja as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{e as a,j as i,bx as P,o,M as h,C as s,bt as y,X as c,h as g,a3 as b,q as t,a0 as L,j7 as k,j8 as C,j9 as R}from"./index-CnrHU8WN.js";import{n}from"./vendor-CnQcJ2Lu.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,M=({rewardsPlan:e})=>{const r=[D(),_(),W({rewardsPlan:e})],d=a();return i.jsx(E,{children:r.map((f,j)=>i.jsxs(A,{children:[i.jsx(I,{children:f}),j<r.length-1?i.jsx(H,{windowSize:d}):null]},`step_${j}`))})},D=()=>{const e=a(),r=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:e,icon:"link",children:i.jsx(X,{windowSize:e})}),i.jsx(S,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},_=()=>{const e=a(),r=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:e,icon:"user",children:i.jsx(B,{windowSize:e})}),i.jsx(S,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},W=({rewardsPlan:e})=>{const r=a(),d=x.item3;return i.jsxs(p,{windowSize:r,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:r,icon:"money",children:i.jsx(N,{windowSize:r})}),i.jsx(S,{windowSize:r,children:d.title[e.planName]})]}),i.jsx($,{windowSize:r,children:i.jsx(u,{windowSize:r,children:d.content[e.planName].replace("__reward-amount__",L("0,0",e.referrerAmount))})})]})},p=n.div`
|
|
2
2
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
3
3
|
border-radius: ${o.sp2};
|
|
4
4
|
box-shadow: ${e=>`${o.sp0} 1px 2px ${o.sp0} ${e.theme.colors.dropShadowNormal}`};
|
|
@@ -42,14 +42,14 @@ import{X as a,j as i,bs as P,o,M as h,C as s,bo as y,Q as c,h as g,a3 as b,q as
|
|
|
42
42
|
`,u=n(g)`
|
|
43
43
|
color: ${e=>e.theme.colors.hero};
|
|
44
44
|
${e=>`${v.content.style(e.windowSize)}`};
|
|
45
|
-
`,
|
|
45
|
+
`,A=n.div`
|
|
46
46
|
display: flex;
|
|
47
47
|
flex-direction: row;
|
|
48
48
|
position: relative;
|
|
49
49
|
z-index: 1;
|
|
50
|
-
`,A=n.div`
|
|
51
|
-
margin-top: ${o.sp4};
|
|
52
50
|
`,E=n.div`
|
|
51
|
+
margin-top: ${o.sp4};
|
|
52
|
+
`,H=n.div`
|
|
53
53
|
top: ${o.sp0};
|
|
54
54
|
width: 1px;
|
|
55
55
|
height: 100%;
|
|
@@ -60,7 +60,7 @@ import{X as a,j as i,bs as P,o,M as h,C as s,bo as y,Q as c,h as g,a3 as b,q as
|
|
|
60
60
|
z-index: -1;
|
|
61
61
|
`,I=n.div`
|
|
62
62
|
padding-bottom: ${o.sp4};
|
|
63
|
-
`,{common:{navBar:{back:
|
|
63
|
+
`,{common:{navBar:{back:q}}}=h.getLocalizedStrings(),w={navBarContainerPaddingXaxis:new s(10,t[3]),containerPaddingLeft:new s(t[3],t[6],t[8]),containerPaddingRight:new s(t[3],t[6],t[8])},V={title:new c("standardRegular","largeRegular")},{referAndEarn:F}=h.getLocalizedStrings().rewardsPage;function se({rewardsPlan:e,onDismissClick:r}){const d=a();return i.jsxs(G,{windowSize:d,children:[i.jsx(Q,{windowSize:d,children:i.jsxs(J,{windowSize:d,children:[d==="small"&&i.jsx(U,{children:i.jsx(P,{enterDelay:600,title:q,placement:"bottom",style:{padding:`${o.sp1} ${o.sp2}`},children:i.jsx(Y,{onClick:r})})}),i.jsx(K,{windowSize:d,children:F}),d!=="small"&&i.jsx(T,{onClick:r})]})}),i.jsx(O,{windowSize:d,children:i.jsx(M,{rewardsPlan:e})})]})}const G=n.div`
|
|
64
64
|
display: flex;
|
|
65
65
|
flex-direction: column;
|
|
66
66
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -68,7 +68,7 @@ import{X as a,j as i,bs as P,o,M as h,C as s,bo as y,Q as c,h as g,a3 as b,q as
|
|
|
68
68
|
width: 100%;
|
|
69
69
|
height: 100vh;
|
|
70
70
|
position: relative;
|
|
71
|
-
`,
|
|
71
|
+
`,J=n.div`
|
|
72
72
|
display: flex;
|
|
73
73
|
align-items: center;
|
|
74
74
|
justify-content: space-between;
|
|
@@ -78,11 +78,11 @@ import{X as a,j as i,bs as P,o,M as h,C as s,bo as y,Q as c,h as g,a3 as b,q as
|
|
|
78
78
|
color: ${e=>e.theme.colors.primary};
|
|
79
79
|
width: 96%;
|
|
80
80
|
text-align: center;
|
|
81
|
-
${e=>`${
|
|
81
|
+
${e=>`${V.title.style(e.windowSize)}`};
|
|
82
82
|
`,O=n.div`
|
|
83
83
|
padding-left: ${e=>w.containerPaddingLeft.valuePx(e.windowSize)};
|
|
84
84
|
padding-right: ${e=>w.containerPaddingRight.valuePx(e.windowSize)};
|
|
85
|
-
`,
|
|
85
|
+
`,Q=n.div`
|
|
86
86
|
display: flex;
|
|
87
87
|
flex-direction: row;
|
|
88
88
|
justify-content: center;
|
|
@@ -92,7 +92,7 @@ import{X as a,j as i,bs as P,o,M as h,C as s,bo as y,Q as c,h as g,a3 as b,q as
|
|
|
92
92
|
padding: ${e=>`${w.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${o.sp0}`};
|
|
93
93
|
z-index: 2;
|
|
94
94
|
background-color: ${e=>e.theme.colors.grey4};
|
|
95
|
-
`,
|
|
95
|
+
`,T=n(b)`
|
|
96
96
|
cursor: pointer;
|
|
97
97
|
color: ${e=>e.theme.colors.hero};
|
|
98
98
|
width: ${o.sp4};
|
|
@@ -101,7 +101,7 @@ import{X as a,j as i,bs as P,o,M as h,C as s,bo as y,Q as c,h as g,a3 as b,q as
|
|
|
101
101
|
&:hover {
|
|
102
102
|
color: ${e=>e.theme.colors.primary};
|
|
103
103
|
}
|
|
104
|
-
`,
|
|
104
|
+
`,U=n.div`
|
|
105
105
|
height: ${o.sp4};
|
|
106
106
|
width: ${o.sp4};
|
|
107
107
|
display: flex;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import{e as ae,M as de,fm as pe,u as ce,a as ue,a2 as me,j as t,bS as ge,bT as he,bU as fe,bV as xe,ge as ye,$ as z,bZ as ve,o as r,bx as be,F as $e,a4 as we,C as _,fp as Re,fq as Ce,fr as je,c2 as Oe,l as J,ao as ke,g as W,cr as Pe,q as c}from"./index-CnrHU8WN.js";import{b as $,n as o}from"./vendor-CnQcJ2Lu.js";import{x as Ie}from"./AllUserItems-CC9l-O5G-DJbAuU58.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./LabeledUserSingleSelectWithSubtitlesField-C-32ySGI-DFmPy8AM.js";import"./RoleWithToolTip-B7xRZ-3a-DOUAAL_V.js";import"./LabeledZeniRolesDropDownField--l6D29VX-CyvURl9h.js";const j={containerPaddingTop:new _(c[3],c[3]),containerPaddingLeft:new _(c[3],c[6],c[6]),containerPaddingRight:new _(c[3],c[6],c[8]),buttonWidth:new _(85,85)},X="editPeoplePage",w="userItems",a=de.getLocalizedStrings().peoplePage,Ye=({peopleDetails:e,managersList:u,classList:R,controllersList:O,mode:d,isZeniTenant:S,onCloseClick:k,onResetClick:P,onSaveClick:m,onDeleteUser:Q,onPeopleLocalDataUpdated:G,analytics:B,isReimbursementDisabled:D,isZeniAccountsDisabled:q,isChargeCardDisabled:Z,isTreasuryDisabled:N,isBankingOnlyTenant:x,isCardsOnlyTenant:y,isLiteRoleDisabled:F})=>{const C=ae(),[H,T]=$.useState(!1),[Y,ee]=$.useState(-1),te=d==="zeni_only"?a.invitePage.editZeniTitle:a.invitePage.editTitle,se=$.useRef(null),E=$.useMemo(()=>pe(D,q,Z,x,y,F,N),[D,q,Z,x,y,F,N]),A=ce(),l=ue({mode:"onBlur",reValidateMode:"onChange",defaultValues:K(e.people,u,R,d,E,x,y),values:K(e.people,u,R,d,E,x,y)}),re=l.handleSubmit(()=>{V()&&m()},()=>{V(),console.warn("Edit Profile form error")}),V=()=>{const g=l.getValues();let n=!0;return g.userItems.forEach((h,v)=>{const{role:L,department:i,nonZeniRole:f,manager:p}=h;if(d==="zeni_only"){const s=L.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(l.setError(`${w}.${v}.role`,{type:"required"}),n=!1)}else{const s=f?.userRole.selectedRole;(s!=null&&f!=null?f.productsByUserRole[s].map(b=>b.selectedOption).filter(b=>b!=null):[]).length<1&&(l.setError(`${w}.${v}.nonZeniRole.userRole.selectedRole`,{type:"required"}),n=!1),s!=="investor_or_banker"&&i?.selectedOption==null&&(x||y||(l.setError(`${w}.${v}.department`,{type:"required"}),n=!1)),p?.selectedUser==null&&s!=="investor_or_banker"&&(l.setError(`${w}.${v}.manager`,{type:"required"}),n=!1)}}),n},ne=async(g,n)=>{const h=[],{userItems:v}=n,L=e.person?.userRole?.userRoleId;v.forEach(i=>{let f={};if(L!=null){if(d==="zeni_only")f={email:i.email,role:i.role.selectedOptions};else{const p=i.nonZeniRole?.userRole.selectedRole;let s=[];p==="admin"||p==="investor_or_banker"?s.push(p):s=p!=null?(i.nonZeniRole?.productsByUserRole[p]??[]).map(U=>J.toUserRoleTypeStrict(U.selectedOption?.value)).filter(U=>U!=null):[],p==="employee"&&s.length===0&&s.push("reimbursements_user");const b=J.hasInvestorBankerLevelAccess(s);f={email:i.email,role:s,departmentId:b?void 0:i.department?.selectedOption?.value,managerId:b?void 0:i.manager?.selectedUser}}h.push(f)}}),G(h)};$.useEffect(()=>{const g=l.watch((n,{name:h})=>{h!=null&&n!=null&&ne(h,n)});return()=>{g.unsubscribe()}});const oe=()=>{T(!0)},le={onOkClick:()=>{const g=e.person;B?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),Q?.(e.person)},onCancelClick:()=>{T(!1)}},M=me(e.person?.update),I=e.person?.update,ie=a.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return $.useEffect(()=>{I==null&&M==="removeUsers"&&(T(!1),P?.())},[I,M]),t.jsxs(t.Fragment,{children:[H===!0?t.jsx(ge,{titleComponent:t.jsx(xe,{children:a.deleteOverlay.title}),descriptionComponent:t.jsx(fe,{children:ie}),primaryButtonText:a.deleteOverlay.remove,secondaryButtonText:a.deleteOverlay.cancel,action:le,proceedButtonVariant:"danger",isLoading:I==="removeUsers",isDisabled:I==="removeUsers",style:{background:A.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(Be,{}),t.jsx(Ue,{children:t.jsx(ze,{src:e.person?.user.photo?.toString()??he,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(ye,{title:te,backgroundColor:A.colors.grey4,style:{zIndex:4},onCloseClick:k,isTitleAlignLeft:C==="small"}),t.jsxs(_e,{"data-testid":z("edit-people-page-container"),windowSize:C,ref:se,children:[t.jsxs(Le,{children:[t.jsx(ve,{personBasic:e.person?.user,styles:{height:r.sp6,width:r.sp6}}),t.jsxs(Se,{children:[t.jsx(Te,{children:e.person?.user?.firstName?t.jsxs(Ee,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(qe,{className:"delete-icon-wrapper","data-testid":z("edit-people-page-delete-icon-wrapper"),onClick:oe,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:a.deleteOverlay.title,placement:"top",children:t.jsx(De,{windowsize:C})})})]})]}),t.jsx($e,{...l,children:t.jsx("form",{id:`${X}_form`,onSubmit:re,children:t.jsx(Ie,{control:l.control,sectionId:w,deleteConfirmationIndex:Y,updateDeleteConfirmationIndex:ee,mode:d,isZeniTenant:S,classList:R,managersList:u,controllersList:O,customerRoleOptions:E,isBankingOnlyTenant:x,isCardsOnlyTenant:y,isEdit:!0,person:e.person,analytics:B})})})]}),t.jsx(we,{formId:`${X}_form`,"data-testid":z("edit-people-page-footer"),primaryBtn:{label:a.invitePage.update,style:{width:j.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:a.invitePage.cancel,style:{width:j.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:k},separatorStyle:{marginRight:r.sp4}})]})},K=(e,u,R,O,d,S,k)=>{const P=R.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[w]:[{userIndex:0,email:e[0].email,role:O==="zeni_only"?{allOptions:Oe.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:O!=="zeni_only"?{userRole:{selectedRole:je(e[0]?.role),allRootRole:Ce(S,k)},productsByUserRole:Re(e[0]?.role,d)}:void 0,manager:{allUsers:u,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:P,selectedOption:P.find(m=>m.value===e[0]?.departmentId)}}]}},et=(e,u)=>`${e}.${u}`,_e=o.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
5
|
+
padding-left: ${e=>`${j.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
6
|
+
padding-right: ${e=>`${j.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
7
|
+
overflow-x: hidden;
|
|
8
|
+
height: 100%;
|
|
9
|
+
padding-top: ${e=>`${j.containerPaddingTop.valuePx(e.windowSize)}`};
|
|
10
|
+
gap: ${r.sp2};
|
|
11
|
+
`,Se=o.div`
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: row;
|
|
14
|
+
justify-content: space-between;
|
|
15
|
+
align-items: center;
|
|
16
|
+
gap: 5px;
|
|
17
|
+
flex: 1;
|
|
18
|
+
`,Te=o.div``,Ee=o(ke)`
|
|
19
|
+
color: ${e=>e.theme.colors.primary};
|
|
20
|
+
`,Le=o.div`
|
|
21
|
+
display: flex;
|
|
22
|
+
gap: ${r.sp2};
|
|
23
|
+
align-items: center;
|
|
24
|
+
margin: ${r.sp0} ${r.sp1};
|
|
25
|
+
`,Ue=o.div`
|
|
26
|
+
position: absolute;
|
|
27
|
+
top: -26px;
|
|
28
|
+
`,ze=o.img`
|
|
29
|
+
height: 60px;
|
|
30
|
+
width: 60px;
|
|
31
|
+
border-radius: 50%;
|
|
32
|
+
color: ${e=>e.theme.colors.hero};
|
|
33
|
+
`,Be=o.div`
|
|
34
|
+
position: absolute;
|
|
35
|
+
top: 1%;
|
|
36
|
+
left: 50%;
|
|
37
|
+
transform: translate(-50%, -50%);
|
|
38
|
+
height: 62px;
|
|
39
|
+
width: ${r.sp9};
|
|
40
|
+
border-radius: 50% 50% 0 0;
|
|
41
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
42
|
+
`,De=o(Pe)`
|
|
43
|
+
width: ${r.sp3};
|
|
44
|
+
height: ${r.sp3};
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
color: ${e=>e.windowsize==="small"?W.important:e.theme.colors.hero};
|
|
47
|
+
&:hover {
|
|
48
|
+
color: ${W.important};
|
|
49
|
+
}
|
|
50
|
+
`,qe=o.div`
|
|
51
|
+
width: ${r.sp3};
|
|
52
|
+
height: ${r.sp3};
|
|
53
|
+
cursor: pointer;
|
|
54
|
+
position: relative;
|
|
55
|
+
`;export{Ye as default,et as uniqueName};
|