@zeniai/web-cockpit-ui 1.15.66-dev → 1.15.67-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-fOu5grd7-_I6UtkXF.js +21 -0
- package/dist/assets/{AIPerformancePage-CFErwUsE-C9puPCCO.js → AIPerformancePage-Da3gFo8A-Z4ui8_vI.js} +33 -33
- package/dist/assets/AccountInfoPage-o7hTXtgZ-CYBdmYMP.js +18 -0
- package/dist/assets/{AccountInfoPageContent-CKpeDot5-DIGFDBxC.js → AccountInfoPageContent-DqErO8FH-BbWzsS4C.js} +23 -23
- package/dist/assets/{AccountLockedInfoModal-c30P9O_3-n0xGj_zZ.js → AccountLockedInfoModal-BJjCuLHa-YI1GAfPy.js} +9 -9
- package/dist/assets/{AccountReconDetailsDrawerPage-CO9BYPWm-Mg0FsDRd.js → AccountReconDetailsDrawerPage-CVjH1p0d-Dxp_Yf_G.js} +54 -54
- package/dist/assets/AccountRow-CpftykFx-bzN_3qh3.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-De2yNNuZ-G5M7i2un.js → AccountsPromoCardStack-D7xvgmOH-CXZpH0yT.js} +22 -22
- package/dist/assets/AddAddressForCardDrawer-vecchYEf-_IpKVfzg.js +6 -0
- package/dist/assets/{AddToWalletPage-CsOmzC7v-DDekkTcs.js → AddToWalletPage-zJy9QCjx-C9dnTqSq.js} +21 -21
- package/dist/assets/{AgingReportsPage-D9I9afnB-Pr6LqJHU.js → AgingReportsPage-wAvQb1d8-CHVcAAAX.js} +8 -8
- package/dist/assets/{AllUserItems-Dq7NcP-o-BNPnQC3d.js → AllUserItems-DEv_CXOA-DrRFxVFx.js} +11 -11
- package/dist/assets/ApAgingDetailPage-BOV1WFVF-CJZU2LXe.js +46 -0
- package/dist/assets/AppBasePage-DMlomvFS-DqF43oJC.js +71 -0
- package/dist/assets/AppDrawerContent-Dc2sHnR3-Bud5cVOk.js +92 -0
- package/dist/assets/ApprovalRulesSettingsPage-BnbPSy4U-4wRot9T7.js +47 -0
- package/dist/assets/{ArAgingChart-Tcu0Lja_-Dcd3iM-I.js → ArAgingChart-m-Xp3HAW-BYykckhE.js} +5 -5
- package/dist/assets/ArAgingDetailPage-b_NpDpWj-RkSFd-g-.js +46 -0
- package/dist/assets/{AttachmentView-CiYfninr-76W0iAd5.js → AttachmentView-DB_V1qT1-BAHgn941.js} +7 -7
- package/dist/assets/{BankAccountSection-EZtscP2z-BUefIH5V.js → BankAccountSection-BabhrBM7-CsYno7bw.js} +7 -7
- package/dist/assets/{BankAccountWarningSection-DCfyIUlu-CKci9TET.js → BankAccountWarningSection-yT2UAd12-AQuYXXrV.js} +7 -7
- package/dist/assets/{BankConnectionsSettingsPage-CQWy9jvt-BdLZIBvy.js → BankConnectionsSettingsPage-CbxXykMM-DJ1Qfs7C.js} +32 -32
- package/dist/assets/BillDetailPage-7TMkWo3V-BpI29Fow.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-Drh7Bhi8-091yCGF7.js → BillPayApprovalRuleDetailPage-COyDRpaF-B8K_-t2I.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-Cmyo59xB-Bc1FlC0c.js → BillPayApprovalRulesPage-9pxkgFAT-CZRNmhN3.js} +15 -15
- package/dist/assets/BillPayPromoPage-AGffhbY3-C44MBEry.js +84 -0
- package/dist/assets/{BillPaySetUpPage-B6Pd_eBf-CWUn729m.js → BillPaySetUpPage-Cs5rkWBu-BFj8l_hW.js} +4 -4
- package/dist/assets/{BillingSettingsPage-CYsvBrFV-DtV08_g9.js → BillingSettingsPage-CQ117tT9-3H-s6tQ2.js} +7 -7
- package/dist/assets/{BillsBulkReviewDrawerPage-DNnAmqWz-CEdBVzVe.js → BillsBulkReviewDrawerPage-DRkGQQAe-Di_BJEYU.js} +1 -1
- package/dist/assets/{BoxItem-B06DK4G--Bupc4dyY.js → BoxItem-DRwx0M5a-BMNzRCBU.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Dgk5gyMv-BKMYH8C3.js → BusinessVerificationPage-1h0z3N9u-B1KNa18N.js} +10 -10
- package/dist/assets/CardNumberSubText-DqtLT1w5-DwPe5Ik5.js +21 -0
- package/dist/assets/{CashbackDetailPage-5eysaHGf-O2irFEC3.js → CashbackDetailPage-ChdQcvkC-1A8EZQvJ.js} +30 -30
- package/dist/assets/{ChargeCardDetailPage-Diwf-gwZ-BUyvgd6i.js → ChargeCardDetailPage-DFOKlPNG-MYhUkq-U.js} +1 -1
- package/dist/assets/{ChargeCardListPage-C-RTGkKK-DLkixTq5.js → ChargeCardListPage-DhLUsUhd-CLRkrqGa.js} +24 -24
- package/dist/assets/{ChargeCardListTable-B-bNbtZQ--LQKl6Xj.js → ChargeCardListTable-DE72YU_i-BYCOUa2e.js} +60 -60
- package/dist/assets/{ChargeCardPaymentHistoryPage-Cu-zT5tO-CNtnC-O7.js → ChargeCardPaymentHistoryPage-CbGR18s--C7VqbbyV.js} +38 -38
- package/dist/assets/ChargeCardPromoPage-CPpNh89o-DfgxkRWy.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-BcTB9Yy5-BOaP0LVe.js → ChargeCardSetupPage-ITi25kUD-BZlZpXjO.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-B_ERvgmB-DjHyNuHd.js → ChargeCardStatementsPage-CTJc1BCc-BYEICWbq.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-D7_usOVn-B0KdoA_b.js → CheckDepositDrawerPage-BrzeSj-3-BtbAQdkJ.js} +17 -17
- package/dist/assets/CollapsableReportTable-CDEe9s_E-TNl2e0Ho.js +2844 -0
- package/dist/assets/{CompanyOfficerDetailsSection-CWADX4kZ-jF_BBJt5.js → CompanyOfficerDetailsSection-BaPhFsLx-Cr9d9T4h.js} +21 -21
- package/dist/assets/{CompanyPassportCard-DF9LFrFD-nY8e_5Nd.js → CompanyPassportCard-B9ymV6Az-COMAf0pP.js} +9 -9
- package/dist/assets/{CompanyPassportPage-BtAopyLq-BcF__FaA.js → CompanyPassportPage-BQ68t7oK-BMTwLfpK.js} +32 -32
- package/dist/assets/{CompleteProfile-CsbsHQ0p-Da1z9Z7H.js → CompleteProfile-C5n9b8gQ-hT3HEiCg.js} +4 -4
- package/dist/assets/ConfettiBurst-BizTW0hz-D0Pewk0g.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-hv51KpGg-CXln6N2t.js → ConstrainedInnerElement-BeIpAPjB-CDDJSzvV.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C2xU6c51-B-kxLo4f.js → CreateOrEditVendorPage-BIfOA5Nr-BuMGF8oN.js} +14 -14
- package/dist/assets/{CreditCardPaymentDrawerPage-CeagMaCu-tu_QZ5if.js → CreditCardPaymentDrawerPage-CCpS-31h-BIvvMTcG.js} +22 -22
- package/dist/assets/CurrencySelectField-KvKyemY6-B3GfB4CH.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-CIeR2XvU-CK8C5kkD.js → CustomerOnboardingActivationPage-6VlMI4oY-E5CGEKHR.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-Di904UJs.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-kUbwh2r2-J-3HD8z8.js → CustomerOnboardingDetailPageSkeleton-BzbZb27J-BVzHP5Go.js} +14 -14
- package/dist/assets/CustomerOnboardingNoStepsPage-CWF_00EM-DmcEox2S.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-Dm2Si769-D58-iBoA.js → CustomerOnboardingPage-DkW66A-p-CjpdS5qu.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-Cz81Q5jC-n81ts80h.js → CustomerOnboardingProductSuitePage-Ba0yotpP-CIyDBKON.js} +8 -8
- package/dist/assets/{Dashboard-DReG_aaf-DwSOFg0b.js → Dashboard-bX3cWkmP-BbU8pr2A.js} +33 -33
- package/dist/assets/{DashboardReportPage-BXSlwsR7-CQ7UXe-C.js → DashboardReportPage-DuZ4d4CE-DK-gMM8o.js} +39 -39
- package/dist/assets/DashboardSidebarBackgroundAnimation-UV2CZToG-CyMFhVza.js +12 -0
- package/dist/assets/DepositAccTransactionItem-BY_OvuKg-BsNMu9o_.js +76 -0
- package/dist/assets/DepositAccTransactionListPage-a__bpCOB-D_hGWuPJ.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-BumMT4QM-CBRjN65H.js +21 -0
- package/dist/assets/DownloadOverlay-DqiL3-FB-BSVRX95E.js +439 -0
- package/dist/assets/{DrawerPage-DQ3Xuekx-B9p3dBku.js → DrawerPage-CaG-xx5d-EitebnoL.js} +12 -12
- package/dist/assets/EditPeoplePage-BcsdEp_d-CHb4ex1x.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-DNUmwdsH-05ewx_ut.js +865 -0
- package/dist/assets/EntityDetailPage-DtX5TjBc-DQKDGAg6.js +18 -0
- package/dist/assets/{EntitySummarySection-vsEMiXYh-CDZa-Mc3.js → EntitySummarySection-LEA5m6mN-BORCaqtF.js} +17 -17
- package/dist/assets/{ExpenseAutomationOverviewPage-B3HPfIsK-CWN4kP2X.js → ExpenseAutomationOverviewPage-Dmhn7gfp-D__D3sDL.js} +50 -50
- package/dist/assets/ExpenseAutomationPage-B8C4BxoV-Ci1A8Wjo.js +1703 -0
- package/dist/assets/{ExpressPayPage-BH7oCW_F-ls2gqEkj.js → ExpressPayPage-C-nqret2-DlkmEIam.js} +17 -17
- package/dist/assets/{FeaturePreviewPage-DSv61BhF-D3bUAc_I.js → FeaturePreviewPage-BHjUZ7s6-DFFjPG0A.js} +2 -2
- package/dist/assets/{FollowStepsSection-Bgy9MpO4-DjmY6ECY.js → FollowStepsSection-0eFMS0c5-B5EQvoc9.js} +7 -7
- package/dist/assets/GlobalReviewListPage-4eiopkzw-Bih8gWqa.js +291 -0
- package/dist/assets/{InformationCardStack-rx0fypl3-PVL5sP4g.js → InformationCardStack-C7XJCUlh-CiHVF9R1.js} +4 -4
- package/dist/assets/{InsightsCardStack-uJWMkIZL-BMcef6eP.js → InsightsCardStack-fBAbQwhK-BkpAEowk.js} +9 -9
- package/dist/assets/InsightsSection-De9zu_me-Bh9zGZF1.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-Cj01Nub6-Ckk6jPFc.js → IntegrationsSettingsPage-BD5jqAv8-DlI-U29Q.js} +6 -6
- package/dist/assets/{InternationalWireSwiftDetailsPage-C2PM97sv-DZ12UKs3.js → InternationalWireSwiftDetailsPage-BftrE612-J_F_3vEQ.js} +24 -24
- package/dist/assets/InternationalWireVerificationPage-CDf7equc-CiJjOeOD.js +65 -0
- package/dist/assets/{InviteFormPage-dsMpScvq-CwRYtYza.js → InviteFormPage-E2igwKEh-BCSU2LM1.js} +18 -18
- package/dist/assets/{InvitePageListView-e7vGSbFa-DcUjhdI-.js → InvitePageListView-Cuq9dlgu-CDBeR_PP.js} +46 -46
- package/dist/assets/InvitePeoplePage-Db4P4ZEq-BEebaP5f.js +12 -0
- package/dist/assets/InvoiceUploadSection-DYCjz9CI-DfxPkJOj.js +140 -0
- package/dist/assets/{IssueChargeCardPage-CyF9wrb0-CEZ2-O-B.js → IssueChargeCardPage-CK6fnO24-BKSJZVY1.js} +31 -31
- package/dist/assets/{LabeledAddressValue-3l0Bv00--CRsMpkI1.js → LabeledAddressValue-Ma1WURjK-BbziAecd.js} +2 -2
- package/dist/assets/LabeledAddressValueField-C6-hVsPb-DSR7WoQV.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-CgZg0uOW-F-cfza7w.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-3qI_4noU-BwwxeoBQ.js → LabeledCountryMultiSelectField-sj8p7Rne-BUdiOBjF.js} +5 -5
- package/dist/assets/{LabeledCreatableSingleSelectField-BV3h9bh7-D2WoBuGQ.js → LabeledCreatableSingleSelectField-DUTQh416-Cuz1-Arb.js} +7 -7
- package/dist/assets/LabeledDocumentField-Bp9m-OrP-CNPLGXDQ.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-3-KekP79-aeAOh3hf.js +59 -0
- package/dist/assets/{LabeledText-DGZ7hxY4-DsEkDfJy.js → LabeledText-DvzVOku6-qtDKT9OR.js} +6 -6
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DI07Eicg-BdZT_J4k.js → LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-Dkhsfaug.js} +18 -18
- package/dist/assets/{LabeledZeniRolesDropDownField-jIrTovp--BhxE0P_I.js → LabeledZeniRolesDropDownField-kWC0ShEy-B4c0yRiG.js} +27 -27
- package/dist/assets/{LinkJETransactionPage-Bvbqpltz-HF3tsHRK.js → LinkJETransactionPage-WufhDGDQ-CQSugFmY.js} +12 -12
- package/dist/assets/{LockCardPage-DyEQBJYx-Cp9KP7Ha.js → LockCardPage-BBIVLYVD-DGVUoots.js} +61 -61
- package/dist/assets/LowBalancePopup-ScEqPY9J-zI-i6Isi.js +34 -0
- package/dist/assets/MagicLinkACHDetailsPage-C494txw0-CY1IheMO.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CONBCbOQ-jeP8c5FK.js +1 -0
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-C_SjsgC9-VMrnWF1u.js → MagicLinkInternationalWireDetailsPage-fSY3JGpz-3lDfayHZ.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-BDRXSAO4-C2kPIdG5.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-ClAnBBt9-BG2qP1eV.js → MagicLinkTitleSection-ZnbKPIvJ-CNhLMA89.js} +5 -5
- package/dist/assets/MailingDetailsSection-DZT7JPlI-Cc3Oz9Xy.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-CBNYcuP4-JphRdcv2.js → MyBankConnectionsSettingsPage-aQDVaEG1-CqWavNbr.js} +16 -16
- package/dist/assets/MyPendingActivationChargeCardListPage-BJrk56oA-DBhBFYPS.js +6 -0
- package/dist/assets/MyProfileSettingsPage-L9WuP6HZ-CxLQr9dL.js +85 -0
- package/dist/assets/{NavBarWithPicker-CbjFNysh-fM8X8YaY.js → NavBarWithPicker-zmvBmWS1-DG_L70Us.js} +5 -5
- package/dist/assets/{NavigationArrow-Dpc7u6y4-BiRqyGkx.js → NavigationArrow-D26UG3p--Bc_WE-hA.js} +7 -7
- package/dist/assets/{NavigationDots-DCpslVnm-DccClgwI.js → NavigationDots-Bv4tBDN3-3qW0LzNq.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-B10sY6Q_-VgMXWXS2.js → NewGlobalMerchantPage-vOn2O6B9-UKW9QkH8.js} +37 -37
- package/dist/assets/{NoDataChart-9-bhq204-Mk2SpDph.js → NoDataChart-CgT19fV7-DcCaLcsZ.js} +2 -2
- package/dist/assets/{NoDataTable-C6Q2Anpz-DUKNluuK.js → NoDataTable-CPjJmo4s-rcoXWqQH.js} +1 -1
- package/dist/assets/{NotFoundPage-4mPhXD5--D8Xe2RH2.js → NotFoundPage-CP2i3FTm-zCn5IOVY.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-BTxCoB_b-EQULZcKC.js → NotificationSettingsPage-CT9Dnb03-BYS2qU5g.js} +31 -31
- package/dist/assets/NotificationsListConfig-Bn1zmx6b-Bn3vC5S6.js +1 -0
- package/dist/assets/NotificationsPage-DDwdR_Jq-T3skh5EK.js +685 -0
- package/dist/assets/OpExByVendorPage-DukFYlqO-C6JAoAcj.js +100 -0
- package/dist/assets/{OverlayContainerPage-CkUYOhlh-BnCo9_OT.js → OverlayContainerPage-D4QU0p4o-PqYhuBtJ.js} +1 -1
- package/dist/assets/PandLWithForecastPage-Bgflh9Om-DboN8TAW.js +107 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BWFl695q-CDWvoSql.js → PaymentAccountSetupBillingAddressSection-JPO-rPAd-yGcY5OsC.js} +15 -15
- package/dist/assets/PeoplePage-CDvKreQl-CkudxP0y.js +675 -0
- package/dist/assets/{Preview-Cc9vKqgF.js → Preview-P62UcEJK.js} +1 -1
- package/dist/assets/{ProductsCarousel-C9JoJQeH-x81n9I1l.js → ProductsCarousel-7R3cvGiS-Bu_PFFN9.js} +8 -8
- package/dist/assets/{PromoBaseCards-mFk7SsOr-qtCHMf8v.js → PromoBaseCards-DdCMZIc7-DR_4jktz.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-CJsIrEZq-Cv6iSpTz.js → QBOConnectionDialog-Ca36jKz2-BjgnS_b-.js} +5 -5
- package/dist/assets/{QBOSetupSection-C_fqHza_-DgpfNI-0.js → QBOSetupSection-CzBfIVqR-DJuM0C4n.js} +13 -13
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BMZnKpsk-C2eUzL_F.js → ReimbursementApprovalRuleDetailPage-DUVSGQJ6-BsBLC37q.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-C2zNa8dT-BewT1FOV.js → ReimbursementApprovalRulesPage-B48x1gPM-C9ZbbxEX.js} +9 -9
- package/dist/assets/ReimbursementDetailPage-oIC9QEyF-CwfsRmIP.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-Df5QmXzC-CiqDm3oM.js → ReimbursementPromoPage-BKgsJieE-VA9mHTWf.js} +32 -32
- package/dist/assets/{ReimbursementSetUpPage-D450RVsP-CoGf8qvT.js → ReimbursementSetUpPage-B_c-ZgFT-CzixtqPF.js} +10 -10
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-CeyGWbKR-CxC7mVx8.js +1 -0
- package/dist/assets/{ReloadCard-D5cvzWxe-B3IyXnq9.js → ReloadCard-DKGn1uxF-DmSJJ42p.js} +6 -6
- package/dist/assets/ReportTableViewSelector-CXDvZEbR-DF_Vh_2k.js +150 -0
- package/dist/assets/ReportsPage-BoUyXSBC-DHugo8wm.js +121 -0
- package/dist/assets/{RevenueChart-DtQu0KAn-D8weCECA.js → RevenueChart-SvdhwBcE-BkckN20x.js} +13 -13
- package/dist/assets/{ReviewDetailsPage-vui4TqeA-D-XziIJQ.js → ReviewDetailsPage-tT1l4R2r-RWSNyRxW.js} +23 -23
- package/dist/assets/{ReviewOverlay-CUnL7H-a-17YpOTAb.js → ReviewOverlay-BoM41t8W-3p-Qz-jJ.js} +25 -25
- package/dist/assets/RoleWithToolTip-C8x5yXaK-DMsCF0JH.js +22 -0
- package/dist/assets/ScheduleDetailsFixedAssetsPage-Bkp0mCOn-DiQJAeBc.js +37 -0
- package/dist/assets/ScheduleDetailsPage-Dg9rYJbn-D-JcLE-0.js +37 -0
- package/dist/assets/ScheduleSequenceTable-J6Eja8XA-F9fSvOJk.js +324 -0
- package/dist/assets/{ScreenRoutes-VDuiXW2A.js → ScreenRoutes-EnKgc_BI.js} +1 -1
- package/dist/assets/{SetUpAccountSection-DYRWWXcL-CqyVY0zk.js → SetUpAccountSection-sfIB1h4i-DtGgsFok.js} +13 -13
- package/dist/assets/SignIn-Cu2nzuEC-gpOpExBj.js +491 -0
- package/dist/assets/SignInScreen-COk_kO8l.js +1 -0
- package/dist/assets/SpendManagementListViewPage-9V9u1jPF-BRyGdKFt.js +134 -0
- package/dist/assets/SpendManagementPerTabPage-COvEPq7V-BGeyAQJ7.js +754 -0
- package/dist/assets/{SpendManagementSection-DKZNTYXT-Y5i2WptS.js → SpendManagementSection-dT-N4bSQ-C4Kh22QW.js} +20 -20
- package/dist/assets/{StatementItem-Dyt5Q0eR-ge2odajX.js → StatementItem-g5tfNBjV-BibsnlRn.js} +4 -4
- package/dist/assets/StatementsPage-DaFrVUeK-COpXIOnq.js +58 -0
- package/dist/assets/{StatusSwitcher-BfQ9VbBH-B-KO1Buq.js → StatusSwitcher-CaoFw0cf-zIzs68OS.js} +5 -5
- package/dist/assets/SubTabSwitcher-zrkVj1aP-DHjajhP7.js +58 -0
- package/dist/assets/{SummaryCard-D61xzK3a-D5OwtVH7.js → SummaryCard-B9wqNSwM-D3nnkdoj.js} +1 -1
- package/dist/assets/TaskManagementPage-dAK9tl2b-DxOEeJV7.js +508 -0
- package/dist/assets/TimeRangeSwitcher-r1TNqVRb-BwLBwrfQ.js +64 -0
- package/dist/assets/TimeframeSwitcher-DHfHCTa4-B-A8y3JU.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-DvBvguRl-BtU2FMS5.js +31 -0
- package/dist/assets/{TopExCard-D2PRxvFc-jwp5OjNB.js → TopExCard-BUjnGDUB-Btojk3ah.js} +6 -6
- package/dist/assets/{TopExDetailPage-C0uHdU7N-D9KWDen5.js → TopExDetailPage-CNDkfc3u-B6N4DKA1.js} +15 -15
- package/dist/assets/{TransactionActivityLogPage-CqYb19tY-BvG_2MHQ.js → TransactionActivityLogPage-kSQqJVpX--4iIwA0-.js} +17 -17
- package/dist/assets/TransactionDetailPage-f7vWtXWL-WDAq0TSH.js +903 -0
- package/dist/assets/TransactionList-3-mUZOsw-DUcE4Bg8.js +153 -0
- package/dist/assets/{TransactionListBig-BrDWayQS-DsH6Jycs.js → TransactionListBig-Bx_Rm9ho-DHw-0VWf.js} +20 -20
- package/dist/assets/TransactionListPage-q6x4_jni-DQgB6nBX.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-CQQuAR6V-D21ZQKzj.js → TransactionVendorDetailPage-MjSH5hfq-BB1KeuZC.js} +6 -6
- package/dist/assets/{TransferDrawerPage-DfFm-1-3-DcsnoXjo.js → TransferDrawerPage-BayVa6po-TPzD0GjA.js} +36 -36
- package/dist/assets/TreasuryOverviewPage-CuqWmrO5-Dm7dVBUb.js +708 -0
- package/dist/assets/{TreasuryPromoPage-Dyip3H10-BFjPECcI.js → TreasuryPromoPage-BCjz1EKX-B0iczXcI.js} +131 -131
- package/dist/assets/TreasuryStatementsPage-CGr00SXF-DVQF7UJA.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-D9_qnlK4-MocugyBE.js +58 -0
- package/dist/assets/{TrendChart-fFlHCvNx--8jxSfa_.js → TrendChart-JTOG0a7B-Bjcs41DB.js} +5 -5
- package/dist/assets/TrendWithTransactions-CTJhTpAM-COrQLjb7.js +116 -0
- package/dist/assets/{UncategorizedAccountsMappingPage-BxBz2Ce0-CNPxhzU9.js → UncategorizedAccountsMappingPage-TGKYpC5A-DFFnFhBd.js} +10 -10
- package/dist/assets/{UnitIntegrationPage-gVgsk2ji-COCsJfhk.js → UnitIntegrationPage-mt2IjA5X-eXnxGxo-.js} +7 -7
- package/dist/assets/UploadAdditionalDocumentOverlay-DZfpwE5J-DWhiDViI.js +38 -0
- package/dist/assets/{Vendor2FAPopup-DRwBzOwn-DhtM-fsI.js → Vendor2FAPopup-DAOf5cJD-mVDrxb-3.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-CCOupiSZ-X7XYqk_U.js +1 -0
- package/dist/assets/VendorDetailPage-DufNphGD-mmWMGpt3.js +257 -0
- package/dist/assets/VendorDomesticWireDetailsPage-BayV34Rt-ClhCrIFs.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-8pYT3u-X-D_UDyuhP.js → VendorFiling1099EditablePage-CRnO7Ubw-CYRb__on.js} +14 -14
- package/dist/assets/VendorFirstReviewPage-DA0EL4RJ-CavJcOcs.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-DJeI-ZFW-Y_m9RvHt.js → VendorInternationalWireDetailsPage-HUtNyn9Z-DucN-WAy.js} +20 -20
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DRVMUeXi-81om_0Ih.js +1 -0
- package/dist/assets/{VendorsAccountsSection-YX2g8ETe-e-Ebd3i7.js → VendorsAccountsSection-D6Qa1zf9-ChhuAgMC.js} +2 -2
- package/dist/assets/{VerifyDevice-DeHW4GAi-BrrxSvi2.js → VerifyDevice-B6B_nk3v-FhJvFMiC.js} +9 -9
- package/dist/assets/{VideoPlayer-DxIfGrPu-DG9_29pb.js → VideoPlayer-BRAgZThr-CdNKLBM0.js} +2 -2
- package/dist/assets/{VideoPopup-CUP7ctgS-CnQZCBbO.js → VideoPopup-C_SkBI9U-BmOF4TeE.js} +3 -3
- package/dist/assets/{WarningsDrawerPage--s6b380L-BvzCi6Jk.js → WarningsDrawerPage-B3gB3wW7-B_Al2CpW.js} +10 -10
- package/dist/assets/ZeniAccountDetailPage-Dp-eo-Vq-EwaP3b0U.js +300 -0
- package/dist/assets/ZeniAccountListViewPage-S-XmAYqD-BFwkc5Zx.js +441 -0
- package/dist/assets/ZeniAccountNavBarPieces-DhjBxfEr-CmvbdhsS.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-BikXtkeH-DjpOin1U.js → ZeniAccountPromoPage-BgYCHYLO-DqD41YED.js} +23 -23
- package/dist/assets/ZeniAccountSetupPage-CvnIMdcY-BcF-rNt2.js +36 -0
- package/dist/assets/{ZeniCopyright-DDGvdmLF-447g6hlp.js → ZeniCopyright-BlLvlGZV-FpsBBUu8.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Cdg0TlHk-DPnsENMy.js → ZeniTransferAmountSlider-BNYgPwHs-Bjfhzv90.js} +4 -4
- package/dist/assets/{add-to-wallet-DgdBD8_G-Tvhq1Gb8.js → add-to-wallet-DgdBD8_G-CiWKe3pw.js} +1 -1
- package/dist/assets/{analytics-BSh5cBTM.js → analytics-Dmyyfi9O.js} +1 -1
- package/dist/assets/{analyticsHelper-D9xdJK4b-DdFbzSx8.js → analyticsHelper-CYr5V2MV-D-hMRpr3.js} +1 -1
- package/dist/assets/{analyticsHelper-DOE_CVQ_.js → analyticsHelper-fNnGbi4W.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-D9NhRqZJ.js → arrow-south-east-round-PEovUgvH-odM3_tAX.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-Bd8ltJD0.js → auto-transfer-rule-mbafm5D3-YYpYw6PW.js} +1 -1
- package/dist/assets/chartTypes-40RenddT-DZcmdGKn.js +1 -0
- package/dist/assets/commonDimensions-BMnB1-xU-QqtoTCOP.js +1 -0
- package/dist/assets/{commonTypes-BAJPaPYg-ZRT2EIAq.js → commonTypes-DsWS6Ccc-cGR0O9Jz.js} +1 -1
- package/dist/assets/{constants-Ca2l-eSK.js → constants-CL2zzW6O.js} +1 -1
- package/dist/assets/{core-BBKQkJb7.js → core-CuilwggZ.js} +2 -2
- package/dist/assets/{dash.all.min-DzQe-Q97.js → dash.all.min-BQNcgKZW.js} +1 -1
- package/dist/assets/detailCommon-CrcyqWtZ-D8Fb1SL4.js +38 -0
- package/dist/assets/downloadPdf-CUUx8PWn-2rBn8EvK.js +1 -0
- package/dist/assets/{empty-CvQ9mfdA.js → empty-Br0K9kol.js} +1 -1
- package/dist/assets/{empty-BAhHXN-J.js → empty-CEDPaJOT.js} +1 -1
- package/dist/assets/epic-C2KVDXXW.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-DeI78FXp.js → gift-box-Cmt9OgIZ-Ka06cghW.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-l3Wpg2uF.js → graphic-no-data-l-DU4J8fDt-6m6GIu0k.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Dyry9S3b.js → graphic-no-data-net-burn-l-CzmycA0m-XhfY9lsK.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-CAcdkk5J.js → handshake-BPg58FML-Sg0ioDB8.js} +1 -1
- package/dist/assets/{helper-z5-P4a-y-BjC38EFp.js → helper-BMiMbXMj-RteEmtlv.js} +5 -5
- package/dist/assets/{index-Co5CHcL-.js → index-BdeZI4Mn.js} +1 -1
- package/dist/assets/{index-C2tYLV1-.js → index-ChqRS7At.js} +1 -1
- package/dist/assets/{index-CbQy18LL.js → index-Cwdqq_eD.js} +1 -1
- package/dist/assets/{index-Di0PzFTw.js → index-D3ZUUMU-.js} +1 -1
- package/dist/assets/{index-D1n9iNXR.js → index-Dvsx2dcd.js} +1 -1
- package/dist/assets/{index-DmJDLobC.js → index-DyBrELD_.js} +5042 -5056
- package/dist/assets/{index-BSFE83ps.js → index-HP0uFTr8.js} +1 -1
- package/dist/assets/{lexical-CC2d_kE2.js → lexical-BV3aGUzT.js} +1 -1
- package/dist/assets/{liveblocks-D1Gf9COF.js → liveblocks-VMOu1QaQ.js} +15 -15
- package/dist/assets/{lottie-B-DVrXwa.js → lottie-DcZDexOB.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DGnyXKBT-BH_N7X7z.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-dsBogxKz-4f0Ul0l4.js → mapSectionWithAcOnlyToTreeNode-BkPRWtaj-D46Qw3f-.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-CvGdU9Ma-DBOtPgCK.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BCOsOvxo-D8jx_1hw.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DIqYP3NK-D7yaFV5m.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CGdkzFsp-LJEHXizn.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-4i_2kpdQ.js} +1 -1
- package/dist/assets/{mui-Bgk_7_3h.js → mui-D3hEqMLm.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-DpTi0lr5.js → page-detail-CWX5S47F-D-m40EVy.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-DvZGh4g5.js +4 -0
- package/dist/assets/{radio-default-CiSgisfh-Dt6ezU-k.js → radio-default-CiSgisfh-eAbgY-Yj.js} +1 -1
- package/dist/assets/{react-Cz3x_Ojh.js → react-C1gXLOT-.js} +2 -2
- package/dist/assets/{react-vKhkI9QX.js → react-CEbGSPpW.js} +1 -1
- package/dist/assets/{react-8rwwNA9S.js → react-CMq4HMxB.js} +1 -1
- package/dist/assets/{react-Dfxv8P4v.js → react-CTpij_Bh.js} +1 -1
- package/dist/assets/{react-DwGR9wjl.js → react-CqeqecYS.js} +1 -1
- package/dist/assets/{react-0s0M_CAb.js → react-DI8vxsp0.js} +1 -1
- package/dist/assets/{react-TtlD7S5U.js → react-Drm5UQxC.js} +3 -3
- package/dist/assets/{react-93CibPtS.js → react-Y6e5YCHa.js} +1 -1
- package/dist/assets/{recharts-DQ94kkTy.js → recharts-Bs6FfRQK.js} +36 -36
- package/dist/assets/{sentry-L3H0lnBS.js → sentry-BV4jcjA3.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BeXfYuLC.js → shield-DOlUxcFf-FCvOtDWd.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DkMGvlEt-BQrLH-Nz.js +1 -0
- package/dist/assets/toChartData-C6s-eBzE-DCXAm4rQ.js +1 -0
- package/dist/assets/{uploadAttachment-DJA30WSD-Ce-ZEqY3.js → uploadAttachment-BlLqRIXe-B5ch9itw.js} +32 -32
- package/dist/assets/uploadReceipts-Dge0cNF1-Bo0yI6m6.js +1 -0
- package/dist/assets/{url-CVUNFFPg.js → url-BkyzSFLl.js} +1 -1
- package/dist/assets/{url-3bnwMjsG.js → url-MntlJyPp.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-rqfVb6ME.js → useLongPress-GCK2COYQ-Dwfp0CDv.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-J8zgXRmN.js → usp-line-BBd1wKwW-Ccl_yhhe.js} +1 -1
- package/dist/assets/{utils-WSIc2RtD.js → utils-AGDkxX5e.js} +1 -1
- package/dist/assets/{zeni-epic-state-B9Z2lD6g.js → zeni-epic-state-wSe7lDM8.js} +6 -6
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-BShpKoIj-CW1imKMz.js +0 -21
- package/dist/assets/AccountInfoPage-B8upbXj9-Dtz8WQyO.js +0 -18
- package/dist/assets/AccountRow-BrW_eEjE-DlgTvuFF.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-riOPLnxb-4wUmSook.js +0 -6
- package/dist/assets/ApAgingDetailPage-Z5JgfH-e-BCqAdteh.js +0 -46
- package/dist/assets/AppBasePage-B5sDynhi-CUXe21st.js +0 -71
- package/dist/assets/AppDrawerContent-D9Q8ir0T-CV--mref.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-DVGvJsQG-COBJqCxP.js +0 -47
- package/dist/assets/ArAgingDetailPage-B5vqkc3v-DkiCuj_D.js +0 -46
- package/dist/assets/BalancesInsightWithToolTip-tiQUQUbX-C4adSAUq.js +0 -38
- package/dist/assets/BillDetailPage-pt1k5AQf-BjT4Ihsm.js +0 -266
- package/dist/assets/BillPayPromoPage-Dgpz2TLG-RoPtYKEQ.js +0 -84
- package/dist/assets/CardNumberSubText-CcH9jUoZ-mqNKBu9B.js +0 -21
- package/dist/assets/ChargeCardPromoPage-Cz3rNFwM-D_0OzJRZ.js +0 -222
- package/dist/assets/CollapsableReportTable-h0vIfI8o-D3Pt-4FZ.js +0 -2982
- package/dist/assets/ConfettiBurst-duD341Gp-CRM9LgmA.js +0 -1
- package/dist/assets/CurrencySelectField-B8EoF2aF-GOW4qR7m.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-DVL4s-eV-BLPiI0Mv.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-Br0jy7Pu-ChmYYCLk.js +0 -66
- package/dist/assets/DashboardSidebarBackgroundAnimation-B3dtVAe2-B6yGX6Ah.js +0 -12
- package/dist/assets/DepositAccTransactionItem-YuSXjbLh-C2vDDOod.js +0 -76
- package/dist/assets/DepositAccTransactionListPage-C-FAvZwD-BbAq4nWD.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-BaiSpc0N-DnjTEbYw.js +0 -21
- package/dist/assets/DownloadOverlay-BpRKCn-0-CHKRQCgV.js +0 -439
- package/dist/assets/EditPeoplePage-8DalSMWH-Ckh9exV5.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-CC2BjMkR-CV9Xwg25.js +0 -865
- package/dist/assets/EntityDetailPage-fmWuxHTZ-DJDbCj57.js +0 -18
- package/dist/assets/ExpenseAutomationPage-4LJefgNh-isL_Jc14.js +0 -3015
- package/dist/assets/GlobalReviewListPage-VRq_gimm-BJViyoax.js +0 -291
- package/dist/assets/InsightsSection-ByFf2oGn-v8_DJRM0.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-Cr3sDrT--DP2ZfrSL.js +0 -65
- package/dist/assets/InvitePeoplePage-BT_YVCP4-CgT1m3Z3.js +0 -12
- package/dist/assets/InvoiceUploadSection-Dg1-uunA-CW2z21hh.js +0 -140
- package/dist/assets/LabeledAddressValueField-F9kvUR_r--rBMYRFp.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-BgC8y0D6-BL02IYWO.js +0 -16
- package/dist/assets/LabeledDocumentField-rriEcsdr-DuJ2zUxk.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-DoVSg3nZ-k-dWGYUh.js +0 -59
- package/dist/assets/LowBalancePopup-C2vHKMNF-bdPNLfbg.js +0 -34
- package/dist/assets/MagicLinkACHDetailsPage-lAAwAtH7-Ck-bBlpT.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-cv823ASo-o8N9E1Vn.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-B1LBYM2F-6icyR0Uu.js +0 -31
- package/dist/assets/MailingDetailsSection-9_XLl4bT-aum9pUe4.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-n71n40uQ-Dl2qH7gb.js +0 -6
- package/dist/assets/MyProfileSettingsPage-BUMIjZYc-Bnuq---Y.js +0 -85
- package/dist/assets/NotificationsListConfig-CylnViXd-BsFR_NcM.js +0 -1
- package/dist/assets/NotificationsPage-D41h0mS6-Bb6S9Jk3.js +0 -685
- package/dist/assets/OpExByVendorPage-BV_uJSCh-DSWgiZdt.js +0 -100
- package/dist/assets/PandLWithForecastPage-Cj3UWjG4-Daok_AzA.js +0 -123
- package/dist/assets/PeoplePage-DcGqWtAP-DkPagYKu.js +0 -727
- package/dist/assets/ReimbursementDetailPage-B1o8ea57-DRCLvjWj.js +0 -314
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DwgKrhlQ-qH0UNUqD.js +0 -1
- package/dist/assets/ReportTableViewSelector-Ig41fOPb-CLRRGAhe.js +0 -151
- package/dist/assets/ReportsPage-CRAVAUTO-Cw7xKvAS.js +0 -269
- package/dist/assets/RoleWithToolTip-x2rnvWn9-Decoe-vI.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-D_Cls2jC-BwmKM1Tl.js +0 -37
- package/dist/assets/ScheduleDetailsPage-DmSLuM8g-DYOZWouJ.js +0 -37
- package/dist/assets/ScheduleSequenceTable-js9_P_Lo-CzCZ3H3Q.js +0 -326
- package/dist/assets/SignIn-CUJkZb3S-BQ5cYlKz.js +0 -491
- package/dist/assets/SignInScreen-BxnvlP3D.js +0 -1
- package/dist/assets/SpendManagementListViewPage-BieufnDb-DsSgx26K.js +0 -134
- package/dist/assets/SpendManagementPerTabPage-BmUp80QX-_fIZmx1n.js +0 -754
- package/dist/assets/StatementsPage-CbtnJM5y-D7odQb22.js +0 -58
- package/dist/assets/SubTabSwitcher-CzGiuhk3-BJdsqPl7.js +0 -58
- package/dist/assets/TaskManagementPage-ucVAdv7x-DzPLVMfi.js +0 -508
- package/dist/assets/TimeRangeSwitcher-C3jXm39I-pg9s0UqV.js +0 -64
- package/dist/assets/TimeframeSwitcher-CcYg-YQJ-B8uZpFtx.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-w4YJno-p-B2pTF6KS.js +0 -53
- package/dist/assets/TransactionDetailPage-D-NR_yZG-DLNp0Ym3.js +0 -921
- package/dist/assets/TransactionList-f6yB-byH-BeXigMDL.js +0 -157
- package/dist/assets/TransactionListPage-C-Z62y2d-BZTkx2mc.js +0 -35
- package/dist/assets/TreasuryOverviewPage-CKSanlUG-CsJ07wXK.js +0 -725
- package/dist/assets/TreasuryStatementsPage-mljf2Van-CKwUR6NQ.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-D3cV3a-8-L4BwstYA.js +0 -58
- package/dist/assets/TrendWithTransactions-It4KDov3-uJUU6y8f.js +0 -116
- package/dist/assets/UploadAdditionalDocumentOverlay-C5m8jqup-S0ohEV34.js +0 -38
- package/dist/assets/VendorACHDetailsPage-By2Ya2bv-q_tye6Vo.js +0 -1
- package/dist/assets/VendorDetailPage-jci1LqX3-BiOnbd3f.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-uIDE-n5v-CXJb5J3y.js +0 -1
- package/dist/assets/VendorFirstReviewPage-CafakxA1-DLht7hvz.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Co-5nTam-2AgQI36C.js +0 -1
- package/dist/assets/ZeniAccountDetailPage-7NdkdSg3-CzyDTlLy.js +0 -300
- package/dist/assets/ZeniAccountListViewPage-B-cs_xnc-CitANkcs.js +0 -443
- package/dist/assets/ZeniAccountNavBarPieces-CjRip0v9-fqy5uhYF.js +0 -33
- package/dist/assets/ZeniAccountSetupPage-BRBsijVt-CVgD2Uf6.js +0 -36
- package/dist/assets/chartTypes-Dq3hUz_T-CZIhQYGg.js +0 -1
- package/dist/assets/commonDimensions-CGHIQ2To-ChTwXt2F.js +0 -1
- package/dist/assets/downloadPdf-BI2Y41h2-CJxUrMkc.js +0 -1
- package/dist/assets/epic-DPl_yeEQ.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-DrC2Zs2y-BjsjwyTG.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-DMDEaLzQ-V5HoG67-.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CW_wzI5T-DDDj-Taw.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DvfKBCs5-BZ6MszHu.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-BeWHMcNi.js +0 -3
- package/dist/assets/toCOABalancesWithID-P7keEtAg-CKsrAJNb.js +0 -1
- package/dist/assets/toChartData-BUf5HHim-DU5WiVJh.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-N655yXJS.js +0 -1
- package/dist/assets/uploadReceipts-CqDftTRt-DXWV7iem.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as A,V as a,O as D,J as de,b5 as J,u as I,b as M,a_ as Q,o as m,aR as Ae,p as g,aF as Ve,y as xe,bO as ge,am as R,bP as V,bc as F}from"./index-DyBrELD_.js";import{a as P,P as ee}from"./sentry-BV4jcjA3.js";import{n as x}from"./mui-D3hEqMLm.js";import{p as b,d as ae,y as W,b as N,g as re,u as T}from"./chartTypes-40RenddT-DZcmdGKn.js";import{i as K,h as oe,c as G}from"./toCOABalancesWithID-DkMGvlEt-BQrLH-Nz.js";import{V as Z}from"./toChartData-C6s-eBzE-DCXAm4rQ.js";import{H as Te,I as te,X as le,Y as ne,J as se,L as pe,K as ce,M as me,N as fe}from"./recharts-Bs6FfRQK.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="04d49598-50f3-4c7e-becd-b8e9ff7df687",e._sentryDebugIdIdentifier="sentry-dbid-04d49598-50f3-4c7e-becd-b8e9ff7df687")}catch{}})();const X={legendLabelMarginLeft:new xe(2,2),legendLabelMarginRight:new xe(I[3],I[4])},Fe=x.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,He=x.div`
|
|
4
4
|
margin: ${m.sp2} ${m.sp0} ${m.sp2} ${m.sp0};
|
|
@@ -19,17 +19,17 @@ import{y as A,V as a,O as D,X as de,b5 as Q,u as I,w as M,a_ as J,o as m,ac as A
|
|
|
19
19
|
display: flex;
|
|
20
20
|
align-items: center;
|
|
21
21
|
justify-content: space-between;
|
|
22
|
-
`,
|
|
22
|
+
`,qe=x(R)`
|
|
23
23
|
background-color: ${e=>e.color};
|
|
24
24
|
height: 12px;
|
|
25
25
|
width: 12px;
|
|
26
26
|
display: inline-block;
|
|
27
27
|
margin-right: ${m.sp2};
|
|
28
|
-
`,
|
|
28
|
+
`,Ue=x(R)`
|
|
29
29
|
text-align: left;
|
|
30
30
|
`,Ze=x(R)`
|
|
31
31
|
text-align: right;
|
|
32
|
-
`,
|
|
32
|
+
`,Je=({active:e,payload:r})=>{const t=[];return r?.forEach(n=>{const o=n.name;if(e===!0){const l=n.payload,i=n.color,h=o!=null&&l.record[o]!=null?l.record[o].amount:void 0;t.push({barName:D.getLocalizedStrings().chartCard.cashInCashOut[N(o)],value:h,color:i})}}),t},be=e=>e.map((r,t)=>a.jsxs(Xe,{color:r.color,children:[a.jsxs(Ue,{children:[a.jsx(qe,{color:r.color}),`${r.barName}:`]}),a.jsx(Ze,{children:`${T(r.value)}`})]},r.barName+t)),Qe=e=>{const r=Je({...e});return r.length===0?null:a.jsx(Fe,{children:a.jsxs(Ye,{children:[be(r.slice(0,r.length-1)),r.length?a.jsx(He,{}):null,be(r.slice(-1))]})})},ea=ee.memo(Qe),aa=(e,r,t,n,o)=>{let l=[],i=[],h=[];t!=null&&t.balances.length>0&&(l=K("cash_in","actual",t)),n!=null&&n.balances.length>0&&(i=K("cash_out","actual",n)),o!=null&&o.balances.length>0&&(h=oe("net_cash_flow","actual",o));const c=b("cash_in","actual"),s=b("cash_out","actual"),f=b("net_cash_flow","actual"),p=l.length>0?c:i.length>0?s:void 0,d={};return d[c]=l,d[s]=i,d[f]=h,p!=null?Z(e,r,p,d):void 0},ye=[b("cash_in","actual"),b("cash_out","actual"),b("net_cash_flow","actual")],ra=x.div`
|
|
33
33
|
width: ${e=>e.width}px;
|
|
34
34
|
height: ${e=>e.height}px;
|
|
35
35
|
|
|
@@ -42,7 +42,7 @@ import{y as A,V as a,O as D,X as de,b5 as Q,u as I,w as M,a_ as J,o as m,ac as A
|
|
|
42
42
|
`,oa=x(ge)`
|
|
43
43
|
margin-left: ${e=>X.legendLabelMarginLeft.valuePx(e.windowSize)};
|
|
44
44
|
color: ${e=>e.theme.colors.primary};
|
|
45
|
-
`;function Tr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,onCOABalancesRangeChanged:h}){const c=A(),s=P.useRef(!1);P.useEffect(()=>{s.current=!0},[]);const f=[c.colors.graphColor33,c.colors.graphColor36,c.colors.graphColor35],p=(_,w=c.colors.graphColor08)=>_<f.length?f[_]:w,d=aa(e.firstMonthOfFY,ye,e.cashIn,e.cashOut,e.netCashFlow),y=()=>{const _=[];return ye.forEach((w,C)=>{const L=i===!0&&!s.current;_.push(a.jsx(ce,{name:w,animationDuration:L?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:$=>{const k=$.record;return(k[w]!=null&&k[w].amount!=null?k[w].amount:void 0)?.amount??0},fill:p(C)},w))}),_};return d==null?null:a.jsx(ta,{chartData:d,timeframe:r,showBarHoverBackground:l,barElements:y(),customToolTipContent:({active:_,payload:w})=>a.jsx(ea,{active:_,payload:w}),width:n,height:o,onCOABalancesRangeChanged:h,highlightedRange:t,isDetailPage:i===!0})}const ta=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:c,onCOABalancesRangeChanged:s})=>{const f=de(),p=A(),d=e.timeseries,y=ae(e),_=d.map($=>$.label),w=h!==!1,C=$=>{if(!c||$?.activePayload==null||$?.activePayload.length===0)return;const k=$.activePayload[0];if(k?.payload?.timeLabel?.label==null)return;const v=$.activeTooltipIndex,O=k.payload.timeLabel.label;if(o==null)return;const u=re(O,_,o.numberOfPeriods),j=u[1]===void 0?_.length-1:_.indexOf(u[1]),S={...o,thisPeriod:{startDate:d[j].startDate,endDate:d[j].endDate}};s?.(d[v],r,S)},L=c?(l-60)/W.cash_in_cash_out*(W.cash_in_cash_out-e.recordByTimeseries.length):20;return a.jsx(ra,{"data-testid":Ae("dashboard-cash-in-cash-out-timeframe",r),width:l,height:i,windowSize:f,children:a.jsx(
|
|
45
|
+
`;function Tr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,onCOABalancesRangeChanged:h}){const c=A(),s=P.useRef(!1);P.useEffect(()=>{s.current=!0},[]);const f=[c.colors.graphColor33,c.colors.graphColor36,c.colors.graphColor35],p=(_,w=c.colors.graphColor08)=>_<f.length?f[_]:w,d=aa(e.firstMonthOfFY,ye,e.cashIn,e.cashOut,e.netCashFlow),y=()=>{const _=[];return ye.forEach((w,C)=>{const L=i===!0&&!s.current;_.push(a.jsx(ce,{name:w,animationDuration:L?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:$=>{const k=$.record;return(k[w]!=null&&k[w].amount!=null?k[w].amount:void 0)?.amount??0},fill:p(C)},w))}),_};return d==null?null:a.jsx(ta,{chartData:d,timeframe:r,showBarHoverBackground:l,barElements:y(),customToolTipContent:({active:_,payload:w})=>a.jsx(ea,{active:_,payload:w}),width:n,height:o,onCOABalancesRangeChanged:h,highlightedRange:t,isDetailPage:i===!0})}const ta=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:c,onCOABalancesRangeChanged:s})=>{const f=de(),p=A(),d=e.timeseries,y=ae(e),_=d.map($=>$.label),w=h!==!1,C=$=>{if(!c||$?.activePayload==null||$?.activePayload.length===0)return;const k=$.activePayload[0];if(k?.payload?.timeLabel?.label==null)return;const v=$.activeTooltipIndex,O=k.payload.timeLabel.label;if(o==null)return;const u=re(O,_,o.numberOfPeriods),j=u[1]===void 0?_.length-1:_.indexOf(u[1]),S={...o,thisPeriod:{startDate:d[j].startDate,endDate:d[j].endDate}};s?.(d[v],r,S)},L=c?(l-60)/W.cash_in_cash_out*(W.cash_in_cash_out-e.recordByTimeseries.length):20;return a.jsx(ra,{"data-testid":Ae("dashboard-cash-in-cash-out-timeframe",r),width:l,height:i,windowSize:f,children:a.jsx(J,{children:({height:$,width:k})=>a.jsxs(Te,{data:e.recordByTimeseries,barCategoryGap:c?void 0:"12%",maxBarSize:c?I[10]:22,barGap:c?void 0:2,margin:{top:5,right:L,left:0,bottom:I[4]},height:$,width:k,style:{display:"flex",flex:"1 1 auto"},onClick:C,children:[a.jsx(te,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:p.colors.grey3}),a.jsx(le,{dataKey:v=>v.timeLabel.label,type:"category",axisLine:{stroke:p.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ne,{type:"number",axisLine:!1,tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:v=>Q("0,0.[00]a",v,y)}),a.jsx(se,{wrapperStyle:{zIndex:2},cursor:w?{stroke:p.colors.background,strokeDasharray:"1, 1",strokeWidth:1,fill:p.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t,c?a.jsx(pe,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:m.sp0},formatter:v=>a.jsx(oa,{windowSize:f,children:D.getLocalizedStrings().chartCard.cashInCashOut[N(v)]})}):null]})})})},la=x.div`
|
|
46
46
|
display: flex;
|
|
47
47
|
`,na=x.div`
|
|
48
48
|
flex: display;
|
|
@@ -60,7 +60,7 @@ import{y as A,V as a,O as D,X as de,b5 as Q,u as I,w as M,a_ as J,o as m,ac as A
|
|
|
60
60
|
`,ca=({active:e,payload:r})=>{const t=[];return r?.forEach(n=>{const o=n.name;if(e===!0){const l=n.payload,i=n.color,h=o!=null&&l.record[o]!=null?l.record[o].amount:void 0;t.push({barName:D.getLocalizedStrings().reportTitleById.cash_position,value:h,color:i})}}),t},ia=e=>{const r=ca(e);return r.length===0?null:a.jsx(la,{children:a.jsx(na,{children:r.map((t,n)=>a.jsx(sa,{color:t.color,children:`${t.barName}: ${T(t.value)}`},t.barName+n))})})},ua=ee.memo(ia),ha=(e,r,t)=>{let n=[];t!=null&&t.balances.length>0&&(n=G("cash_position","actual",t));const o=b("cash_position","actual"),l={};return l[o]=n,n.length>0?Z(e,r,o,l):void 0},da=x.div`
|
|
61
61
|
width: ${e=>e.width}px;
|
|
62
62
|
height: ${e=>e.height}px;
|
|
63
|
-
`,Ce=[b("cash_position","actual")];function Wr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,onCOABalancesRangeChanged:h}){const c=A(),s=P.useRef(!1);P.useEffect(()=>{s.current=!0},[]);const f=ha(e.firstMonthOfFY,Ce,e.cashPosition),p=()=>{const d=[];return Ce.forEach(y=>{const _=i===!0&&!s.current;d.push(a.jsx(ce,{name:y,animationDuration:_?500:void 0,style:{cursor:"pointer"},dataKey:w=>{const C=w.record;return(C[y]!=null&&C[y].amount!=null?C[y].amount:void 0)?.amount??0},fill:c.colors.graphColor17},y))}),d};return f==null?null:a.jsx(ga,{chartData:f,timeframe:r,showBarHoverBackground:l,barElements:p(),customToolTipContent:({active:d,payload:y})=>a.jsx(ua,{active:d,payload:y}),width:n,height:o,onCOABalancesRangeChanged:h,highlightedRange:t,isDetailPage:i===!0})}const ga=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:c,onCOABalancesRangeChanged:s})=>{const f=A(),p=e.timeseries,d=ae(e),y=p.map(L=>L.label),_=h!==!1,w=L=>{if(!c||L?.activePayload==null||L?.activePayload.length===0)return;const $=L.activePayload[0];if($?.payload?.timeLabel?.label==null)return;const k=L.activeTooltipIndex,v=$.payload.timeLabel.label;if(o==null)return;const O=re(v,y,o.numberOfPeriods),u=O[1]===void 0?y.length-1:y.indexOf(O[1]),j={...o,thisPeriod:{startDate:p[u].startDate,endDate:p[u].endDate}};s?.(p[k],r,j)},C=c?(l-60)/W.cash_position*(W.cash_position-e.recordByTimeseries.length):20;return a.jsx(da,{width:l,height:i,children:a.jsx(
|
|
63
|
+
`,Ce=[b("cash_position","actual")];function Wr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,onCOABalancesRangeChanged:h}){const c=A(),s=P.useRef(!1);P.useEffect(()=>{s.current=!0},[]);const f=ha(e.firstMonthOfFY,Ce,e.cashPosition),p=()=>{const d=[];return Ce.forEach(y=>{const _=i===!0&&!s.current;d.push(a.jsx(ce,{name:y,animationDuration:_?500:void 0,style:{cursor:"pointer"},dataKey:w=>{const C=w.record;return(C[y]!=null&&C[y].amount!=null?C[y].amount:void 0)?.amount??0},fill:c.colors.graphColor17},y))}),d};return f==null?null:a.jsx(ga,{chartData:f,timeframe:r,showBarHoverBackground:l,barElements:p(),customToolTipContent:({active:d,payload:y})=>a.jsx(ua,{active:d,payload:y}),width:n,height:o,onCOABalancesRangeChanged:h,highlightedRange:t,isDetailPage:i===!0})}const ga=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:c,onCOABalancesRangeChanged:s})=>{const f=A(),p=e.timeseries,d=ae(e),y=p.map(L=>L.label),_=h!==!1,w=L=>{if(!c||L?.activePayload==null||L?.activePayload.length===0)return;const $=L.activePayload[0];if($?.payload?.timeLabel?.label==null)return;const k=L.activeTooltipIndex,v=$.payload.timeLabel.label;if(o==null)return;const O=re(v,y,o.numberOfPeriods),u=O[1]===void 0?y.length-1:y.indexOf(O[1]),j={...o,thisPeriod:{startDate:p[u].startDate,endDate:p[u].endDate}};s?.(p[k],r,j)},C=c?(l-60)/W.cash_position*(W.cash_position-e.recordByTimeseries.length):20;return a.jsx(da,{width:l,height:i,children:a.jsx(J,{children:({height:L,width:$})=>a.jsxs(Te,{width:$,height:L,data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:c?I[10]:30,margin:{top:5,right:C,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},onClick:w,children:[a.jsx(te,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:f.colors.grey3}),a.jsx(le,{dataKey:k=>k.timeLabel.label,type:"category",axisLine:{stroke:f.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:f.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ne,{type:"number",axisLine:!1,tickLine:!1,tick:{color:f.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:k=>Q("0,0.[00]a",k,d)}),a.jsx(se,{wrapperStyle:{zIndex:2},cursor:_?{stroke:f.colors.background,strokeDasharray:"1, 1",strokeWidth:1,fill:f.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t]})})})},pa=x.div`
|
|
64
64
|
display: flex;
|
|
65
65
|
`,ma=x.div`
|
|
66
66
|
display: flex;
|
|
@@ -141,7 +141,7 @@ import{y as A,V as a,O as D,X as de,b5 as Q,u as I,w as M,a_ as J,o as m,ac as A
|
|
|
141
141
|
`,Ta=x(ge)`
|
|
142
142
|
margin-left: ${e=>X.legendLabelMarginLeft.valuePx(e.windowSize)};
|
|
143
143
|
color: ${e=>e.theme.colors.primary};
|
|
144
|
-
`;function Nr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:c}){const s=A(),f=P.useRef(!1);P.useEffect(()=>{f.current=!0},[]);const p=[s.colors.graphColor36,s.colors.graphColor06,s.colors.graphColor31,s.colors.graphColor12],d=[s.colors.graphColor04,s.colors.graphColor10,s.colors.graphColor32,s.colors.graphColor13,s.colors.graphColor04Dark,s.colors.graphColor10Dark,s.colors.graphColor32Dark,s.colors.graphColor13Dark],y=h==="forecast_mode"?d:p,_=h==="forecast_mode"?Pa:za,w=(u,j=s.colors.graphColor04)=>u<y.length?y[u]:j,C=(e.reportId,Ba(e.firstMonthOfFY,_,h,e.sections.income,e.sections.cogs,e.sections.expenses,e.calculatedSections.netBurnOrIncome)),L=u=>{const{cx:j,cy:S,fill:B,stroke:z,value:E}=u;return E==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:S,r:4,stroke:B,strokeWidth:2,fill:z})},$=u=>{const{cx:j,cy:S,fill:B,stroke:z,value:E}=u;return E==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:S,r:5,stroke:z,strokeWidth:2,fill:B})},k=(u,j)=>a.jsx(me,{name:u,type:"monotone",legendType:"plainline",isAnimationActive:!1,dataKey:S=>{const B=S.record;return(B[u]!=null&&B[u].amount!=null?B[u].amount:void 0)?.amount},dot:a.jsx(L,{}),strokeWidth:1.5,stroke:w(j),strokeDasharray:"3 3",activeDot:a.jsx($,{})},u),v=(u,j,S)=>a.jsx(ce,{name:u,animationDuration:S?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:B=>{const z=B.record;return(z[u]!=null&&z[u].amount!=null?z[u].amount:void 0)?.amount??0},fill:w(j)},u),O=()=>{const u=[];return _.forEach((j,S)=>{const B=i===!0&&!f.current;j.endsWith("_forecast")?u.push(k(j,S)):u.push(v(j,S,B))}),u};return C==null?null:a.jsx(Wa,{chartData:C,timeframe:r,showBarHoverBackground:l,barElements:O(),customToolTipContent:({active:u,payload:j})=>a.jsx(Sa,{active:u,payload:j,mode:h}),width:n,height:o,onCOABalancesRangeChanged:c,highlightedRange:t,isDetailPage:i===!0})}const Wa=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:c,onCOABalancesRangeChanged:s})=>{const f=de(),p=A(),d=ae(e),y=e.timeseries,_=y.map($=>$.label),w=h!==!1,C=$=>{if(!c||$?.activePayload==null||$?.activePayload.length===0)return;const k=$.activePayload[0];if(k?.payload?.timeLabel?.label==null)return;const v=$.activeTooltipIndex,O=k.payload.timeLabel.label;if(o==null)return;const u=re(O,_,o.numberOfPeriods),j=u[1]===void 0?_.length-1:_.indexOf(u[1]),S={...o,thisPeriod:{startDate:y[j].startDate,endDate:y[j].endDate}};s?.(y[v],r,S)},L=c?(l-60)/W.net_burn_or_income*(W.net_burn_or_income-e.recordByTimeseries.length):20;return a.jsx(Ra,{width:l,height:i,windowSize:f,children:a.jsx(
|
|
144
|
+
`;function Nr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:c}){const s=A(),f=P.useRef(!1);P.useEffect(()=>{f.current=!0},[]);const p=[s.colors.graphColor36,s.colors.graphColor06,s.colors.graphColor31,s.colors.graphColor12],d=[s.colors.graphColor04,s.colors.graphColor10,s.colors.graphColor32,s.colors.graphColor13,s.colors.graphColor04Dark,s.colors.graphColor10Dark,s.colors.graphColor32Dark,s.colors.graphColor13Dark],y=h==="forecast_mode"?d:p,_=h==="forecast_mode"?Pa:za,w=(u,j=s.colors.graphColor04)=>u<y.length?y[u]:j,C=(e.reportId,Ba(e.firstMonthOfFY,_,h,e.sections.income,e.sections.cogs,e.sections.expenses,e.calculatedSections.netBurnOrIncome)),L=u=>{const{cx:j,cy:S,fill:B,stroke:z,value:E}=u;return E==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:S,r:4,stroke:B,strokeWidth:2,fill:z})},$=u=>{const{cx:j,cy:S,fill:B,stroke:z,value:E}=u;return E==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:S,r:5,stroke:z,strokeWidth:2,fill:B})},k=(u,j)=>a.jsx(me,{name:u,type:"monotone",legendType:"plainline",isAnimationActive:!1,dataKey:S=>{const B=S.record;return(B[u]!=null&&B[u].amount!=null?B[u].amount:void 0)?.amount},dot:a.jsx(L,{}),strokeWidth:1.5,stroke:w(j),strokeDasharray:"3 3",activeDot:a.jsx($,{})},u),v=(u,j,S)=>a.jsx(ce,{name:u,animationDuration:S?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:B=>{const z=B.record;return(z[u]!=null&&z[u].amount!=null?z[u].amount:void 0)?.amount??0},fill:w(j)},u),O=()=>{const u=[];return _.forEach((j,S)=>{const B=i===!0&&!f.current;j.endsWith("_forecast")?u.push(k(j,S)):u.push(v(j,S,B))}),u};return C==null?null:a.jsx(Wa,{chartData:C,timeframe:r,showBarHoverBackground:l,barElements:O(),customToolTipContent:({active:u,payload:j})=>a.jsx(Sa,{active:u,payload:j,mode:h}),width:n,height:o,onCOABalancesRangeChanged:c,highlightedRange:t,isDetailPage:i===!0})}const Wa=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:c,onCOABalancesRangeChanged:s})=>{const f=de(),p=A(),d=ae(e),y=e.timeseries,_=y.map($=>$.label),w=h!==!1,C=$=>{if(!c||$?.activePayload==null||$?.activePayload.length===0)return;const k=$.activePayload[0];if(k?.payload?.timeLabel?.label==null)return;const v=$.activeTooltipIndex,O=k.payload.timeLabel.label;if(o==null)return;const u=re(O,_,o.numberOfPeriods),j=u[1]===void 0?_.length-1:_.indexOf(u[1]),S={...o,thisPeriod:{startDate:y[j].startDate,endDate:y[j].endDate}};s?.(y[v],r,S)},L=c?(l-60)/W.net_burn_or_income*(W.net_burn_or_income-e.recordByTimeseries.length):20;return a.jsx(Ra,{width:l,height:i,windowSize:f,children:a.jsx(J,{children:({height:$,width:k})=>a.jsxs(fe,{data:e.recordByTimeseries,barCategoryGap:c?void 0:"12%",maxBarSize:c?I[10]:22,barGap:c?void 0:2,margin:{top:5,right:L,left:0,bottom:I[4]},height:$,width:k,style:{display:"flex",flex:"1 1 auto"},onClick:C,children:[a.jsx(te,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:p.colors.grey3}),a.jsx(le,{dataKey:v=>v.timeLabel.label,type:"category",axisLine:{stroke:p.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ne,{type:"number",axisLine:!1,tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:v=>Q("0,0.[00]a",v,d)}),a.jsx(se,{wrapperStyle:{zIndex:2},cursor:w?{stroke:p.colors.background,strokeWidth:(k-60)/W.net_burn_or_income,fill:p.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t,c?a.jsx(pe,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:m.sp0},iconSize:I[3],formatter:v=>a.jsx(Ta,{windowSize:f,children:v.endsWith("_forecast")===!0?D.getLocalizedStrings().chartCard.netBurnOrIncome[v]:D.getLocalizedStrings().chartCard.netBurnOrIncome[N(v)]})}):null]})})})},Na=x.div`
|
|
145
145
|
display: flex;
|
|
146
146
|
`,Ia=x.div`
|
|
147
147
|
flex: display;
|
|
@@ -189,13 +189,13 @@ import{y as A,V as a,O as D,X as de,b5 as Q,u as I,w as M,a_ as J,o as m,ac as A
|
|
|
189
189
|
`,Va=x(R)`
|
|
190
190
|
text-align: left;
|
|
191
191
|
width: 162px;
|
|
192
|
-
`,
|
|
192
|
+
`,q=x(F)`
|
|
193
193
|
text-align: right;
|
|
194
194
|
flex: 1;
|
|
195
|
-
`,Fa=({active:e,payload:r,barName:t})=>{const n=[];if(r!=null&&e===!0){const o=r.filter(c=>c.name==t)[0],l=o.payload,i=o.color,h=t!=null&&l.record[t]!=null?l.record[t].amount:void 0;if(!t?.endsWith("_forecast")){let c;if(t.includes("forecast")!==!0){c=l.record[t]!=null?Ha(t,l):void 0;const s={amount:0,currencyCode:"",currencySymbol:""},f={amount:0,currencyCode:"",currencySymbol:""};let p;for(p in l.record){const C=l.record[p].amount;p.endsWith("_actual")?(s.amount+=l.record[p].amount?.amount??0,s.currencyCode=C!=null?C.currencyCode:s.currencyCode,s.currencySymbol=C!=null?C.currencySymbol:s.currencySymbol):p.endsWith("_forecast")&&(f.amount+=l.record[p].amount?.amount??0,f.currencyCode=C!=null?C.currencyCode:f.currencyCode,f.currencySymbol=C!=null?C.currencySymbol:f.currencySymbol)}const d=Math.floor((s?.amount-f?.amount)*100/100),y={...s,amount:d},_=f.amount!==0?Math.floor((s.amount-f.amount)/f.amount*100)/100:0,w={value:f,change:y,percent:_};n.push({barName:N(t),actual:h,forecast:c,color:i}),n.push({barName:D.getLocalizedStrings().chartCard.total,actual:s,forecast:w,color:g.neutralGrey1Light})}}}return n},Ha=(e,r)=>{const t=b(N(e),"forecast");if(r.record[t]==null)return;const n=r.record[e].amount,o=r.record[t].amount,l={...n,amount:o!=null?Math.floor((n.amount-o.amount)*100/100):n.amount},i=o!=null&&o.amount!==0?Math.floor((n.amount-o.amount)/o.amount*100)/100:void 0;return{value:o,change:l,percent:i}},Le=e=>a.jsxs(Ga,{color:e.color,children:[a.jsx(Va,{children:`${e.barName}:`}),a.jsx(
|
|
195
|
+
`,Fa=({active:e,payload:r,barName:t})=>{const n=[];if(r!=null&&e===!0){const o=r.filter(c=>c.name==t)[0],l=o.payload,i=o.color,h=t!=null&&l.record[t]!=null?l.record[t].amount:void 0;if(!t?.endsWith("_forecast")){let c;if(t.includes("forecast")!==!0){c=l.record[t]!=null?Ha(t,l):void 0;const s={amount:0,currencyCode:"",currencySymbol:""},f={amount:0,currencyCode:"",currencySymbol:""};let p;for(p in l.record){const C=l.record[p].amount;p.endsWith("_actual")?(s.amount+=l.record[p].amount?.amount??0,s.currencyCode=C!=null?C.currencyCode:s.currencyCode,s.currencySymbol=C!=null?C.currencySymbol:s.currencySymbol):p.endsWith("_forecast")&&(f.amount+=l.record[p].amount?.amount??0,f.currencyCode=C!=null?C.currencyCode:f.currencyCode,f.currencySymbol=C!=null?C.currencySymbol:f.currencySymbol)}const d=Math.floor((s?.amount-f?.amount)*100/100),y={...s,amount:d},_=f.amount!==0?Math.floor((s.amount-f.amount)/f.amount*100)/100:0,w={value:f,change:y,percent:_};n.push({barName:N(t),actual:h,forecast:c,color:i}),n.push({barName:D.getLocalizedStrings().chartCard.total,actual:s,forecast:w,color:g.neutralGrey1Light})}}}return n},Ha=(e,r)=>{const t=b(N(e),"forecast");if(r.record[t]==null)return;const n=r.record[e].amount,o=r.record[t].amount,l={...n,amount:o!=null?Math.floor((n.amount-o.amount)*100/100):n.amount},i=o!=null&&o.amount!==0?Math.floor((n.amount-o.amount)/o.amount*100)/100:void 0;return{value:o,change:l,percent:i}},Le=e=>a.jsxs(Ga,{color:e.color,children:[a.jsx(Va,{children:`${e.barName}:`}),a.jsx(q,{children:e.actual!=null?`${T(e.actual)}`:"-"}),a.jsx(q,{children:e.forecast!=null?`${T(e.forecast.value)}`:"-"}),e.forecast!=null?a.jsx(q,{isChange:!0,children:`${T(e.forecast.change)}`}):a.jsx(q,{children:"-"}),e.forecast!=null?a.jsx(q,{isChange:!0,children:V("0,0.0%",e.forecast.percent)}):a.jsx(q,{children:"-"})]}),Ya=e=>{if(e.length>0){for(const r of e)if(r.actual!=null)return r.actual.currencySymbol}return""},Xa=({barLabelsWithValues:e})=>a.jsx(Na,{children:a.jsxs(Ia,{children:[a.jsx(_e,{color:e[0].color,children:`${e[0].barName}: ${T(e[0].actual)}`}),a.jsx(Ee,{}),a.jsx(_e,{children:`${D.getLocalizedStrings().chartCard.total}: ${T(e[1].actual)}`})]})}),qa=({barLabelsWithValues:e})=>a.jsxs(Ma,{children:[a.jsxs(Ka,{children:[a.jsx(Ea,{}),a.jsx(ue,{children:D.getLocalizedStrings().chartCard.tooltip.actual}),a.jsx(ue,{children:D.getLocalizedStrings().chartCard.tooltip.forecast}),a.jsxs(ue,{children:[D.getLocalizedStrings().chartCard.tooltip.change," ",Ya(e)]}),a.jsx(ue,{children:D.getLocalizedStrings().chartCard.tooltip.change_percent})]}),a.jsxs(Aa,{children:[Le(e[0]),a.jsx(Ee,{}),Le(e[1])]})]}),Ua=e=>{const r=Fa({...e});return r.length===0?null:a.jsx(a.Fragment,{children:e.mode==="forecast_mode"?a.jsx(qa,{barLabelsWithValues:r}):a.jsx(Xa,{barLabelsWithValues:r})})},Za=ee.memo(Ua),Ja=(e,r)=>{const t=[],n={};let o;return r!=null&&r.classes.length!=0&&r.classes.forEach(l=>{const i=G(l.class.className,"actual",l.childrenBalancesTotal),h=b(l.class.className,"actual");n[h]=i,t.push(h),o==null&&i.length>0&&(o=b(l.class.className,"actual"))}),o!=null?Z(e,t,o,n):void 0},De=[g.graphColor34,g.graphColor05,g.graphColor08,g.graphColor11,g.graphColor13,g.graphColor19,g.graphColor29,g.graphColor28,g.graphColor20,g.graphColor21,g.graphColor22,g.graphColor14,g.graphColor35,g.graphColor31,g.graphColor33,g.graphColor32,g.graphColor36,g.graphColor02,g.graphColor06,g.graphColor04,g.graphColor10,g.graphColor12,g.graphColor15,g.graphColor18,g.graphColor17,g.graphColor07,g.graphColor34Dark,g.graphColor05Dark,g.graphColor08Dark,g.graphColor11Dark,g.graphColor13Dark,g.graphColor19Dark,g.graphColor29Dark,g.graphColor28Dark,g.graphColor20Dark,g.graphColor21Dark,g.graphColor22Dark,g.graphColor14Dark,g.graphColor35Dark,g.graphColor31Dark,g.graphColor33Dark,g.graphColor32Dark,g.graphColor36Dark,g.graphColor02Dark,g.graphColor06Dark,g.graphColor04Dark,g.graphColor10Dark,g.graphColor12Dark,g.graphColor15Dark,g.graphColor18Dark,g.graphColor17Dark,g.graphColor07Dark];class Y{_barColors;_barColorsKeyWise;_defaultColor;constructor(){this._defaultColor=g.graphColor34,this._barColors=De.slice(),this._barColorsKeyWise=new Map}static#e=new Y;getBarColor(r){const t=Y.instance();return t._barColorsKeyWise.has(r)||(t._barColors.length===0&&(t._barColors=De.slice()),t._barColorsKeyWise.set(r,t._barColors.shift()??t._defaultColor)),t._barColorsKeyWise.get(r)}shouldUpdate(r){const t=Y.instance(),n=Array.from(t._barColorsKeyWise.keys()).sort();return!Ve(n,r)}static init(){return this.#e=new Y,this.#e}static instance(){return this.#e}}const Qa=Y.instance(),er=(e,r,t)=>{const n=[],o={};let l,i=!1;if(t!=null&&t.accountGroups.length!=0?t.accountGroups.forEach(h=>{const c=G(h.accountGroupName,"actual",h),s=b(h.accountGroupName,"actual");o[s]=c,n.push(s),l==null&&c.length>0&&(l=b(h.accountGroupName,"actual"))}):t!=null&&t.accounts.length!=0&&(i=!0,t.accounts.forEach(h=>{const c=G(h.account.accountName,"actual",h.account.balancesInTimeframe),s=b(h.account.accountName,"actual");o[s]=c,n.push(s),l==null&&c.length>0&&(l=b(h.account.accountName,"actual"))})),t!=null&&t.accountGroups.length===0&&t.accounts.length===0){const h=D.getLocalizedStrings().chartCard.total,c=G(h,"actual",t);if(c.length!==0){const s=b(h,"actual");o[s]=c,l=s,n.push(s)}}return r==="forecast_mode"&&Object.assign(o,ar(n,t)),l!=null?Z(e,n,l,o,i):void 0},ar=(e,r)=>{const t={};let n;if(r!=null&&r.accountGroups.length!=0?r.accountGroups.forEach(o=>{const l=G(o.accountGroupName,"forecast",o),i=b(o.accountGroupName,"forecast");t[i]=l,e.push(i),n==null&&l.length>0&&(n=b(o.accountGroupName,"forecast"))}):r!=null&&r.accounts.length!=0&&r.accounts.forEach(o=>{const l=G(o.account.accountName,"forecast",o.account.balancesInTimeframe),i=b(o.account.accountName,"forecast");t[i]=l,e.push(i),n==null&&l.length>0&&(n=b(o.account.accountName,"forecast"))}),r!=null&&r.accountGroups.length===0&&r.accounts.length===0){const o=D.getLocalizedStrings().chartCard.total,l=G(o,"forecast",r);if(l.length!==0){const i=b(o,"forecast");t[i]=l,n=i,e.push(i)}}return t},rr=x.div`
|
|
196
196
|
width: ${e=>e.width}px;
|
|
197
197
|
height: ${e=>e.height}px;
|
|
198
|
-
`,or=e=>{const{cx:r,cy:t,fill:n,stroke:o,value:l}=e;return l==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:r,cy:t,r:4,stroke:n,strokeWidth:2,fill:o})},tr=e=>{const{cx:r,cy:t,fill:n,stroke:o,value:l}=e;return l==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:r,cy:t,r:5,stroke:o,strokeWidth:2,fill:n})};function Ir({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:c}){const s=P.useRef(!1),[f,p]=P.useState(
|
|
198
|
+
`,or=e=>{const{cx:r,cy:t,fill:n,stroke:o,value:l}=e;return l==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:r,cy:t,r:4,stroke:n,strokeWidth:2,fill:o})},tr=e=>{const{cx:r,cy:t,fill:n,stroke:o,value:l}=e;return l==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:r,cy:t,r:5,stroke:o,strokeWidth:2,fill:n})};function Ir({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:c}){const s=P.useRef(!1),[f,p]=P.useState(Qa),[d,y]=P.useState(void 0),_=A(),w=P.useRef([]);P.useEffect(()=>{s.current=!0},[]),P.useEffect(()=>{f.shouldUpdate(w.current)===!0&&p(Y.init())},[]),P.useEffect(()=>{let k=[];if(e.reportId==="operating_expenses"){const v=e.sections.expenses;v.accountGroups.length===0&&v.accounts.length===0?k.push(D.getLocalizedStrings().chartCard.total):v.accountGroups.length!=0?k=v.accountGroups.map(O=>O.accountGroupName).sort():k=v.accounts.map(O=>O.account).map(O=>O.accountName).sort()}else k=e.sections.expenses.classes.map(v=>v.class.className).sort();w.current=k},[e,f]);const C=P.useMemo(()=>e.reportId==="operating_expenses"?er(e.firstMonthOfFY,h,e.sections.expenses):Ja(e.firstMonthOfFY,e.sections.expenses),[e,h]),L=P.useCallback(()=>{const k=u=>a.jsx(me,{name:u,type:"monotone",legendType:"plainline",isAnimationActive:!1,dot:a.jsx(or,{}),activeDot:a.jsx(tr,{}),dataKey:j=>{const S=j.record;let B,z;for(z in S)if(z.endsWith("_forecast")){const E=S[z].amount;E!=null&&(B==null?B={...E}:B.amount+=E.amount)}return B?.amount},stroke:_.colors.grey1,strokeDasharray:"3 3",strokeWidth:1.5},u),v=(u,j)=>a.jsx(ce,{name:u,animationDuration:j?500:void 0,style:{cursor:"pointer"},dataKey:S=>{const B=S.record;return(B[u]!=null&&B[u].amount!=null?B[u].amount:void 0)?.amount??0},stackId:"a",fill:f.getBarColor(N(u)),onMouseEnter:()=>{d!==u&&y(u)},onMouseLeave:()=>{d!=null&&y(void 0)}},u),O=[];return C?.orderedKeys.forEach(u=>{const j=!s.current;u.endsWith("_forecast")?O.push(k(u)):O.push(v(u,j))}),O},[C]),$=({active:k,payload:v})=>v?.find(O=>O.name===d)!=null&&d!=null&&k===!0?a.jsx(Za,{active:k,payload:v,mode:h,barName:d}):null;return C==null?null:a.jsx(lr,{chartData:C,timeframe:r,showBarHoverBackground:l,barElements:L(),customToolTipContent:a.jsx($,{}),width:n,height:o,onCOABalancesRangeChanged:c,highlightedRange:t,isDetailPage:i===!0})}const lr=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:c,onCOABalancesRangeChanged:s})=>{const f=A(),p=ae(e),d=e.timeseries,y=d.map(L=>L.label),_=h!==!1,w=L=>{if(!c||L?.activePayload==null||L?.activePayload.length===0)return;const $=L.activePayload[0];if($?.payload?.timeLabel?.label==null)return;const k=L.activeTooltipIndex,v=$.payload.timeLabel.label;if(o==null)return;const O=re(v,y,o.numberOfPeriods),u=O[1]===void 0?y.length-1:y.indexOf(O[1]),j={...o,thisPeriod:{startDate:d[u].startDate,endDate:d[u].endDate}};s?.(d[k],r,j)},C=c?(l-60)/W.operating_expenses*(W.operating_expenses-e.recordByTimeseries.length):20;return a.jsx(rr,{width:l,height:i,children:a.jsx(J,{children:({height:L,width:$})=>a.jsxs(fe,{width:$,height:L,stackOffset:"sign",data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:c?I[10]:30,margin:{top:5,right:C,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},onClick:w,children:[a.jsx(te,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:f.colors.grey3}),a.jsx(le,{dataKey:k=>k.timeLabel.label,type:"category",axisLine:{stroke:f.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:f.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ne,{type:"number",axisLine:!1,tickLine:!1,tick:{color:f.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:k=>Q("0,0.[00]a",k,p)}),a.jsx(se,{wrapperStyle:{zIndex:2},cursor:_?{stroke:f.colors.background,strokeWidth:($-60)/W.operating_expenses,fill:f.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t]})})})},nr=x.div`
|
|
199
199
|
display: flex;
|
|
200
200
|
`,sr=x.div`
|
|
201
201
|
display: flex;
|
|
@@ -256,14 +256,14 @@ import{y as A,V as a,O as D,X as de,b5 as Q,u as I,w as M,a_ as J,o as m,ac as A
|
|
|
256
256
|
text-align: right;
|
|
257
257
|
`,Se=x(F)`
|
|
258
258
|
text-align: right;
|
|
259
|
-
`,
|
|
259
|
+
`,U=x(F)`
|
|
260
260
|
text-align: right;
|
|
261
261
|
flex: 1;
|
|
262
262
|
color: ${e=>e.isChange!=null&&e.isChange===!0?g.important:null};
|
|
263
263
|
`,Be=x(F)`
|
|
264
264
|
display: flex;
|
|
265
265
|
flex-direction: column;
|
|
266
|
-
`,Oe=x(F)``,mr=(e,r)=>{const t=b(N(e),"forecast");if(r.record[t]==null)return;const n=r.record[e].amount,o=r.record[t].amount,l={...n,amount:Math.floor((n.amount-o.amount)*100/100)},i=o.amount!==0?Math.floor((n.amount-o.amount)/o.amount*100)/100:void 0;return{value:o,change:l,percent:i,forecastPercent:r.record[t].percentValue}},fr=({active:e,payload:r,mode:t})=>{const n=[];let o={amount:0,currencyCode:""},l={amount:0,currencyCode:""};const i=b("gross_margin","actual");return r?.forEach(h=>{const c=h.name;if(e===!0){const s=h.payload,f=h.color,p=c!=null&&s.record[c]!=null?s.record[c].amount:void 0;let d;if(c.includes("forecast")!==!0)switch(t==="forecast_mode"&&(d=s.record[c]!=null?mr(c,s):void 0),c){case i:p!=null&&(o.currencyCode===""?o={...p}:o.amount=o.amount+p.amount),d!=null&&(l.currencyCode===""?l={...d.value}:l.amount=l.amount+d.value.amount),n.push({barName:D.getLocalizedStrings().chartCard.revenue[N(c)],actual:p,forecast:d,percent:s.record[c]!=null?s.record[c].percentValue??0:0,color:f});break;default:n.push({barName:D.getLocalizedStrings().chartCard.revenue[N(c)],actual:p,color:f,forecast:d});break}}}),n},ze=e=>e.map((r,t)=>a.jsxs(Me,{color:r.color,showPercent:r.percent!=null,children:[a.jsxs(gr,{children:[a.jsx(Ke,{color:r.color}),`${r.barName}:`]}),a.jsxs(pr,{children:[a.jsx(Se,{children:`${T(r.actual)}`}),r.percent!=null?a.jsx(Se,{children:V("0,0.0%",r.percent)}):null]})]},r.barName+t)),Pe=e=>e.map((r,t)=>a.jsxs(Me,{color:r.color,showPercent:r.percent!=null,children:[a.jsxs(hr,{children:[a.jsx(Ke,{color:r.color}),`${r.barName}:`]}),a.jsx(
|
|
266
|
+
`,Oe=x(F)``,mr=(e,r)=>{const t=b(N(e),"forecast");if(r.record[t]==null)return;const n=r.record[e].amount,o=r.record[t].amount,l={...n,amount:Math.floor((n.amount-o.amount)*100/100)},i=o.amount!==0?Math.floor((n.amount-o.amount)/o.amount*100)/100:void 0;return{value:o,change:l,percent:i,forecastPercent:r.record[t].percentValue}},fr=({active:e,payload:r,mode:t})=>{const n=[];let o={amount:0,currencyCode:""},l={amount:0,currencyCode:""};const i=b("gross_margin","actual");return r?.forEach(h=>{const c=h.name;if(e===!0){const s=h.payload,f=h.color,p=c!=null&&s.record[c]!=null?s.record[c].amount:void 0;let d;if(c.includes("forecast")!==!0)switch(t==="forecast_mode"&&(d=s.record[c]!=null?mr(c,s):void 0),c){case i:p!=null&&(o.currencyCode===""?o={...p}:o.amount=o.amount+p.amount),d!=null&&(l.currencyCode===""?l={...d.value}:l.amount=l.amount+d.value.amount),n.push({barName:D.getLocalizedStrings().chartCard.revenue[N(c)],actual:p,forecast:d,percent:s.record[c]!=null?s.record[c].percentValue??0:0,color:f});break;default:n.push({barName:D.getLocalizedStrings().chartCard.revenue[N(c)],actual:p,color:f,forecast:d});break}}}),n},ze=e=>e.map((r,t)=>a.jsxs(Me,{color:r.color,showPercent:r.percent!=null,children:[a.jsxs(gr,{children:[a.jsx(Ke,{color:r.color}),`${r.barName}:`]}),a.jsxs(pr,{children:[a.jsx(Se,{children:`${T(r.actual)}`}),r.percent!=null?a.jsx(Se,{children:V("0,0.0%",r.percent)}):null]})]},r.barName+t)),Pe=e=>e.map((r,t)=>a.jsxs(Me,{color:r.color,showPercent:r.percent!=null,children:[a.jsxs(hr,{children:[a.jsx(Ke,{color:r.color}),`${r.barName}:`]}),a.jsx(U,{children:a.jsxs(Be,{children:[r.actual!=null?`${T(r.actual)}`:"-",a.jsx(Oe,{children:r.percent!=null?V("0,0.0%",r.percent):null})]})}),a.jsx(U,{children:a.jsxs(Be,{children:[r.forecast!=null?`${T(r.forecast.value)}`:"-",a.jsx(Oe,{children:r.forecast!=null&&r.forecast.forecastPercent!=null?V("0,0.0%",r.forecast.forecastPercent):null})]})}),r.forecast!=null?a.jsx(U,{isChange:!0,children:`${T(r.forecast.change)}`}):a.jsx(U,{children:"-"}),r.forecast!=null?a.jsx(U,{isChange:!0,children:V("0,0.0%",r.forecast.percent)}):a.jsx(U,{children:"-"})]},r.barName+t)),xr=e=>{if(e.length>0){for(const r of e)if(r.actual!=null)return r.actual.currencySymbol}return""},br=({barLabelsWithValues:e})=>a.jsxs(sr,{children:[a.jsxs(cr,{children:[a.jsx(ir,{}),a.jsx(he,{children:D.getLocalizedStrings().chartCard.tooltip.actual}),a.jsx(he,{children:D.getLocalizedStrings().chartCard.tooltip.forecast}),a.jsxs(he,{children:[D.getLocalizedStrings().chartCard.tooltip.change," ",xr(e)]}),a.jsx(he,{children:D.getLocalizedStrings().chartCard.tooltip.change_percent})]}),a.jsxs(ur,{children:[Pe(e.slice(0,e.length-1)),e.length?a.jsx(Ge,{}):null,Pe(e.slice(-1))]})]}),yr=({barLabelsWithValues:e})=>a.jsx(nr,{children:a.jsxs(dr,{children:[ze(e.slice(0,e.length-1)),e.length?a.jsx(Ge,{}):null,ze(e.slice(-1))]})}),Cr=e=>{const r=fr({...e});return r.length===0?null:a.jsx(a.Fragment,{children:e.mode==="forecast_mode"?a.jsx(br,{barLabelsWithValues:r}):a.jsx(yr,{barLabelsWithValues:r})})},jr=ee.memo(Cr),Re=(e,r,t,n,o,l)=>{let i=[],h=[],c=[];n!=null&&n.balances.length>0&&(i=K("income","actual",n)),o!=null&&o.balances.length>0&&(h=K("cogs","actual",o)),l!=null&&l.balances.length>0&&(c=oe("gross_margin","actual",l));const s=b("income","actual"),f=b("cogs","actual"),p=b("gross_margin","actual"),d=i.length>0?s:h.length>0?f:p,y={};return y[s]=i,y[f]=h,y[p]=c,t==="forecast_mode"&&Object.assign(y,vr(n,o,l)),d!=null?Z(e,r,d,y):void 0},vr=(e,r,t)=>{let n=[],o=[],l=[];e!=null&&e.balances.length>0&&(n=K("income","forecast",e)),r!=null&&r.balances.length>0&&(o=K("cogs","forecast",r)),t!=null&&t.balances.length>0&&(l=oe("gross_margin","forecast",t));const i=b("income","forecast"),h=b("cogs","forecast"),c=b("gross_margin","forecast"),s={};return s[i]=n,s[h]=o,s[c]=l,s},kr=[b("income","actual"),b("cogs","actual"),b("gross_margin","actual")],$r=[b("income","actual"),b("cogs","actual"),b("gross_margin","actual"),b("income","forecast"),b("cogs","forecast"),b("gross_margin","forecast")],wr=x.div`
|
|
267
267
|
width: ${e=>e.width}px;
|
|
268
268
|
height: ${e=>e.height}px;
|
|
269
269
|
|
|
@@ -277,4 +277,4 @@ import{y as A,V as a,O as D,X as de,b5 as Q,u as I,w as M,a_ as J,o as m,ac as A
|
|
|
277
277
|
margin-left: ${e=>X.legendLabelMarginLeft.valuePx(e.windowSize)};
|
|
278
278
|
margin-right: ${e=>X.legendLabelMarginRight.valuePx(e.windowSize)};
|
|
279
279
|
color: ${e=>e.theme.colors.primary};
|
|
280
|
-
`;function Er({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:c}){const s=A(),f=P.useRef(!1);P.useEffect(()=>{f.current=!0},[]);const p=[s.colors.graphColor26,s.colors.graphColor17,s.colors.graphColor12],d=[s.colors.graphColor28,s.colors.graphColor17,s.colors.graphColor10,s.colors.graphColor28Dark,s.colors.graphColor17Dark,s.colors.graphColor10Dark],y=h==="forecast_mode"?d:p,_=h==="forecast_mode"?$r:kr,w=(u,j=s.colors.graphColor28)=>u<y.length?y[u]:j,C=e.reportId==="revenue"?Re(e.firstMonthOfFY,_,h,e.sections?.income,e.sections?.cogs,e.calculatedSections?.grossMargin):Re(e.firstMonthOfFY,_,h,e.sections.income,e.sections.cogs,e.calculatedSections.grossMargin),L=u=>{const{cx:j,cy:S,fill:B,stroke:z,value:E}=u;return E==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:S,r:4,stroke:B,strokeWidth:2,fill:z})},$=u=>{const{cx:j,cy:S,fill:B,stroke:z,value:E}=u;return E==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:S,r:5,stroke:z,strokeWidth:2,fill:B})},k=(u,j)=>a.jsx(me,{name:u,type:"monotone",legendType:"plainline",isAnimationActive:!1,dot:a.jsx(L,{}),activeDot:a.jsx($,{}),dataKey:S=>{const B=S.record;return(B[u]!=null&&B[u].amount!=null?B[u].amount:void 0)?.amount},stroke:w(j),strokeDasharray:"3 3",strokeWidth:1.5},u),v=(u,j,S)=>a.jsx(ce,{name:u,animationDuration:S?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:B=>{const z=B.record;return(z[u]!=null&&z[u].amount!=null?z[u].amount:void 0)?.amount??0},fill:w(j)},u),O=()=>{const u=[];return _.forEach((j,S)=>{const B=i===!0&&!f.current;j.endsWith("_forecast")?u.push(k(j,S)):u.push(v(j,S,B))}),u};return C==null?null:a.jsx(Lr,{chartData:C,timeframe:r,showBarHoverBackground:l,barElements:O(),customToolTipContent:({active:u,payload:j})=>a.jsx(jr,{active:u,payload:j,mode:h}),width:n,height:o,onCOABalancesRangeChanged:c,highlightedRange:t,isDetailPage:i===!0})}const Lr=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:c,onCOABalancesRangeChanged:s})=>{const f=de(),p=A(),d=ae(e),y=e.timeseries,_=y.map($=>$.label),w=h!==!1,C=$=>{if(!c||$?.activePayload==null||$?.activePayload.length===0)return;const k=$.activePayload[0];if(k?.payload?.timeLabel?.label==null)return;const v=$.activeTooltipIndex,O=k.payload.timeLabel.label;if(o==null)return;const u=re(O,_,o.numberOfPeriods),j=u[1]===void 0?_.length-1:_.indexOf(u[1]),S={...o,thisPeriod:{startDate:y[j].startDate,endDate:y[j].endDate}};s?.(y[v],r,S)},L=c?(l-60)/W.revenue*(W.revenue-e.recordByTimeseries.length):20;return a.jsx(wr,{width:l,height:i,windowSize:f,children:a.jsx(
|
|
280
|
+
`;function Er({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:c}){const s=A(),f=P.useRef(!1);P.useEffect(()=>{f.current=!0},[]);const p=[s.colors.graphColor26,s.colors.graphColor17,s.colors.graphColor12],d=[s.colors.graphColor28,s.colors.graphColor17,s.colors.graphColor10,s.colors.graphColor28Dark,s.colors.graphColor17Dark,s.colors.graphColor10Dark],y=h==="forecast_mode"?d:p,_=h==="forecast_mode"?$r:kr,w=(u,j=s.colors.graphColor28)=>u<y.length?y[u]:j,C=e.reportId==="revenue"?Re(e.firstMonthOfFY,_,h,e.sections?.income,e.sections?.cogs,e.calculatedSections?.grossMargin):Re(e.firstMonthOfFY,_,h,e.sections.income,e.sections.cogs,e.calculatedSections.grossMargin),L=u=>{const{cx:j,cy:S,fill:B,stroke:z,value:E}=u;return E==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:S,r:4,stroke:B,strokeWidth:2,fill:z})},$=u=>{const{cx:j,cy:S,fill:B,stroke:z,value:E}=u;return E==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:S,r:5,stroke:z,strokeWidth:2,fill:B})},k=(u,j)=>a.jsx(me,{name:u,type:"monotone",legendType:"plainline",isAnimationActive:!1,dot:a.jsx(L,{}),activeDot:a.jsx($,{}),dataKey:S=>{const B=S.record;return(B[u]!=null&&B[u].amount!=null?B[u].amount:void 0)?.amount},stroke:w(j),strokeDasharray:"3 3",strokeWidth:1.5},u),v=(u,j,S)=>a.jsx(ce,{name:u,animationDuration:S?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:B=>{const z=B.record;return(z[u]!=null&&z[u].amount!=null?z[u].amount:void 0)?.amount??0},fill:w(j)},u),O=()=>{const u=[];return _.forEach((j,S)=>{const B=i===!0&&!f.current;j.endsWith("_forecast")?u.push(k(j,S)):u.push(v(j,S,B))}),u};return C==null?null:a.jsx(Lr,{chartData:C,timeframe:r,showBarHoverBackground:l,barElements:O(),customToolTipContent:({active:u,payload:j})=>a.jsx(jr,{active:u,payload:j,mode:h}),width:n,height:o,onCOABalancesRangeChanged:c,highlightedRange:t,isDetailPage:i===!0})}const Lr=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:c,onCOABalancesRangeChanged:s})=>{const f=de(),p=A(),d=ae(e),y=e.timeseries,_=y.map($=>$.label),w=h!==!1,C=$=>{if(!c||$?.activePayload==null||$?.activePayload.length===0)return;const k=$.activePayload[0];if(k?.payload?.timeLabel?.label==null)return;const v=$.activeTooltipIndex,O=k.payload.timeLabel.label;if(o==null)return;const u=re(O,_,o.numberOfPeriods),j=u[1]===void 0?_.length-1:_.indexOf(u[1]),S={...o,thisPeriod:{startDate:y[j].startDate,endDate:y[j].endDate}};s?.(y[v],r,S)},L=c?(l-60)/W.revenue*(W.revenue-e.recordByTimeseries.length):20;return a.jsx(wr,{width:l,height:i,windowSize:f,children:a.jsx(J,{children:({height:$,width:k})=>a.jsxs(fe,{data:e.recordByTimeseries,barCategoryGap:c?void 0:"12%",maxBarSize:c?I[10]:22,barGap:c?void 0:2,margin:{top:5,right:L,left:0,bottom:I[4]},height:$,width:k,style:{display:"flex",flex:"1 1 auto"},onClick:C,children:[a.jsx(te,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:p.colors.grey3}),a.jsx(le,{dataKey:v=>v.timeLabel.label,type:"category",axisLine:{stroke:p.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ne,{type:"number",axisLine:!1,tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:v=>Q("0,0.[00]a",v,d)}),a.jsx(se,{wrapperStyle:{zIndex:2},cursor:w?{stroke:p.colors.background,strokeWidth:(k-60)/W.revenue,fill:p.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t,c?a.jsx(pe,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:m.sp0},iconSize:I[3],formatter:v=>a.jsx(_r,{windowSize:f,children:v.endsWith("_forecast")===!0?D.getLocalizedStrings().chartCard.revenue[v]:D.getLocalizedStrings().chartCard.revenue[N(v)]})}):null]})})})};export{Tr as G,Nr as H,Wr as P,Er as X,Ir as Y};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as Tt,ay as Ct,x as u,fu as Dt,fv as It,fw as Pt,V as t,fx as kt,fy as le,fz as Mt,fA as At,fB as Bt,fC as Ft,aQ as M,fD as Lt,ac as v,fE as Rt,fF as Be,fG as Fe,fH as Le,w as q,dQ as O,p as j,fI as zt,fJ as E,dW as W,fK as Nt,fL as Ot,c1 as Re,o as n,aT as Et,u as d,O as Wt,ai as _t,cc as Vt,N as Gt,M as Zt,fM as Yt,cq as Ut,an as ce,ao as me,fN as qt,fO as Ht,bk as Kt,n as Qt,bb as Xt,fP as Jt,as as tt,bM as en,ak as nt,bv as tn,fQ as nn}from"./index-DmJDLobC.js";import{a as V}from"./sentry-L3H0lnBS.js";import{n as i}from"./mui-Bgk_7_3h.js";import{bo as ze,bm as Ne,bE as I,bW as an,Gx as on,bI as re,bY as ln}from"./zeni-epic-state-B9Z2lD6g.js";import{t as rn,o as sn}from"./LowBalancePopup-C2vHKMNF-bdPNLfbg.js";import{S as _}from"./LabeledText-DGZ7hxY4-DsEkDfJy.js";import"./liveblocks-D1Gf9COF.js";import"./core-BBKQkJb7.js";import"./lottie-B-DVrXwa.js";import"./recharts-DQ94kkTy.js";import"./analytics-BSh5cBTM.js";import"./lexical-CC2d_kE2.js";import"./utils-WSIc2RtD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="e2e598be-124a-4bea-a1e2-8f9d0176e6f5",e._sentryDebugIdIdentifier="sentry-dbid-e2e598be-124a-4bea-a1e2-8f9d0176e6f5")}catch{}})();const it=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,d[2],d[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,d[1]),navBarContainerPaddingTop:new u(10,d[3]),sectionTitleMarginLeft:new u(d[3],d[0]),reviewContainerMarginLeft:new u(d[3],d[6]),reviewContainerMarginRight:new u(d[3],d[8]),footerRightIconMarginRight:new u(d[0],d[0],d[7]),infoLabelPaddingRight:new u(d[0],d[3]),infoLabelMarginTop:new u(d[1],d[0])},dn={sectionTitle:new Gt("h6Medium","h5Medium")},{dateFormat:Oe,common:{currency:$,labels:Ee,edit:cn,strings:{empty:f}},spendManagement:{billPay:mn}}=Wt.getLocalizedStrings(),{billDetails:a,paymentDetails:We}=mn,_e=({attachment:e})=>{const[y,g]=V.useState(!1),A=()=>{g(!1)},S=e.fileId?.length===0;return t.jsxs(On,{isDisabled:e.fileId?.length===0,"data-testid":v("attachment-tag",e.fileName),onClick:()=>S===!1?g(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(qt,{title:e.fileName,file:e,onCrossClick:()=>A(),setShowFullScreenView:g}):null,t.jsx(En,{children:t.jsx(Ht,{contentType:e.contentType})})]})},di=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:g,currentTenant:A,isInternationalPaymentShaVsOurEnabled:S,isLocalCurrencyEnabled:at,style:ot,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:rt,isDetectInsufficientFundsEnabled:st,billId:b,onClickEdit:pe,discardBillDetailsFromLocalStore:ue,saveBillDetails:ye,discardOutsideZeniPaymentData:dt,updateBillDetailSaveBillCode:he,redirectToBillsScreen:fe,onAttachmentClick:X,retryPayment:ct})=>{const s=Tt(),c=Ct(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:b},F=g&&b!=null,L=`dashboard_${c.currentTenant?.companyId}`,R=m.largeLabelWidth.value(s),P=e.saveStatus,J=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,l=Dt(S,at,e.billPayConfigList.filter(o=>o.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),T=Oe.visual.MMMDCommaYYYYformat,ge={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},p={amount:l?.method.includes("international")===!0?It(ge,l):e.recipientTotalAmount.amount+(l?.fee.amount??0),currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},z={amount:l?.method.includes("international")===!0?Pt(ge,l):l?.fee.amount??0,currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},[mt,xe]=V.useState(!1),[te,be]=V.useState(!1),we=()=>xe(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),xe(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Rn,{size:s,children:t.jsx(Ln,{})})]}):kt(e.paymentDetailsSection?.paymentTo);V.useEffect(()=>{(P?.fetchState==="Completed"||J?.fetchState==="Completed")&&(ue(),he(),fe())},[P,J,fe,ue,he]);const k=e.billPayInfo?.stage,N=e.billPayInfo?.billStatus,G=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,ne=k?.code==="paid"?k:N?.code=="approved"&&G?.code?G:N,ht=e.billPayInfo?.isRefundInitiated===!0?yt:N?.code=="approved"&&G?.code?G:N,ie=()=>{pe()},$e=()=>{pe()},Z=e.paymentDetailsSection?.paymentDate,ae=le(l?.method??""),ve=ae.replace("Same Day",""),ft=e.isCollectToAccountInfoFromVendorContact?t.jsx(Mt,{paymentTypeLabel:ve,onClick:pt}):a.addedByZeni,Y=y.allApprovalRules.length>0,gt=ze(l?.method!=null&&(l.method.includes(I)||l?.fee.amount!=null&&l.fee.amount!==0)?p.amount-z.amount:p.amount,l?.fee.currencyCode??Ne.currencyCode,l?.fee.currencySymbol??Ne.currencySymbol),x=an(e.paymentDetailsSection?.paymentType?.method),xt=o=>{w.trackBillPayMarkAsPaidSubmit(o.paymentMode??"other",k?.code??"draft",ne?.code??""),ye(!0,o)},je=()=>{be(!0),w.trackBillPayMarkAsPaid(k?.code??"draft",ne?.code??"")},bt=()=>{dt(),be(!1)},C=x,h=C&&!rt,Se=Ve(h,Y,e.isBillMarkedForRetry),wt=()=>x?h?void 0:a.paymentOutsideZeni.reviewInfo:l?.method!=null&&l.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&S&&ee===$.currencyCode?Jt(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,oe=st&&e.paymentDetailsSection!=null?At(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,$t=()=>{const o=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,D=e.recurringConfig,jt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(b??"new_bill"),l?.method!=null&&o!=null){const St=x?a.paymentOutsideZeni.offline:le(l.method);if(w.trackBillPaySendForApproval(St,o.format(Oe.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,b,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:re(D?.startDate?.toString()??"").format(T),endDate:re(D?.endDate?.toString()??"").format(T),frequency:D?.frequency??"monthly",totalAmount:jt.amount,totalPaymentCycles:D?.totalPaymentCycles??0,isApprovalRequired:D?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?D?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?D?.updateRecurringBills==="all":void 0}),oe!=null){const De=k?.code??"draft",Ie=N?.code??"",Pe=e.isRecurring?["Recurring"]:["One-Time"],ke=e.invoiceNumber??"",Me=nn(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";Se===a.scheduleBill?w.trackLowBalanceAccountSchedule(De,Ie,Pe,ke,Me,Ae):Se===a.sendForApproval&&w.trackLowBalanceAccountSentForApproval(De,Ie,Pe,ke,Me,Ae)}}},Te=()=>{Ce===!0&&U(!1),e.isBillMarkedForRetry===!0?(ct(),w.trackRetryConfirmClick(ne?.code??"",k?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ye(!1,{}))},vt=on(p.amount,y.allApprovalRules,c.loggedInUser),[Ce,U]=V.useState(!1);return t.jsxs($n,{children:[te?t.jsx(rn,{onCancel:bt,onProceedForMarkAsPaid:xt,saveDetailsFetchState:P?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Ce?t.jsx(sn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Te,onCancelClick:()=>{U(!1),ie()},onClickAway:()=>{U(!1)}}):null,t.jsx(Bt,{anchor:"right",open:mt,onClose:we,transitionDuration:250,"data-testid":v("vendor-email-preview-drawer"),children:t.jsx(Ft,{companyName:Lt(A.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Z?.format(T)??"",paymentType:ve,amount:M("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:we})}),t.jsxs(vn,{windowSize:s,style:ot,children:[s==="small"?t.jsxs(Fn,{windowSize:s,children:[t.jsx(Ke,{onClick:$e,"data-testid":v("review-detail-nav-bar-small-back")}),t.jsx(Ye,{windowSize:s,children:a.oneLastLook})]}):t.jsx(Bn,{"data-testid":v("review-details-nav-bar-back"),children:t.jsx(Ke,{onClick:$e})}),s!=="small"?t.jsx(Sn,{children:t.jsx(Ye,{windowSize:s,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(Tn,{children:[t.jsxs(Cn,{children:[t.jsx(Yn,{}),t.jsxs(Dn,{children:[t.jsx(Pn,{children:a.duplicateBillPayWarning}),t.jsxs(In,{children:[a.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":v("review-detail-attachment-button"),onClick:()=>X(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[a.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Vn,{children:[t.jsx(Zn,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(o=>{const r=Rt(o);return o!=null?t.jsx(Gn,{children:it.includes(s)?t.jsxs(Ue,{windowSize:s,children:[t.jsxs(kn,{children:[t.jsxs(Mn,{children:[o.attachments&&o.attachments.length>0?t.jsx(_e,{attachment:o.attachments[0]}):t.jsx(Qe,{children:t.jsx(Xe,{})}),t.jsx(K,{children:t.jsxs(t.Fragment,{children:[o.documentId!=null?a.invoiceNo:null,o.documentId]})})]}),t.jsx(Je,{windowSize:s,children:M("0,0[.]00",o.recipientTotalAmount)})]}),t.jsxs(Wn,{"data-testid":v("review-detail-mobile-info"),onClick:()=>X(o.id,o.billPayInfo.stage.code),children:[t.jsxs(K,{children:[o.dueDate!=null?a.due:null," ",o.dueDate?.format(T)]}),t.jsx(et,{children:r!=null?Be.includes(r.code)?t.jsx(Fe,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ue,{windowSize:s,children:[o.attachments&&o.attachments.length>0?t.jsx(_e,{attachment:o.attachments[0]}):t.jsx(Qe,{children:t.jsx(Xe,{})}),t.jsxs(_n,{"data-testid":v("review-detail-info"),onClick:()=>X(o.id,o.billPayInfo.stage.code),children:[t.jsx(K,{style:{width:"50%"},children:t.jsxs("div",{children:[o.documentId!=null?a.invoiceNo:null," ",o.documentId]})}),t.jsxs(K,{style:{width:"25%"},children:[o.dueDate!=null?a.due:null," ",o.dueDate?.format(T)]}),t.jsx(Je,{style:{width:"25%"},windowSize:s,children:M("0,0[.]00",o.amount)})]}),t.jsx(et,{children:r!=null?Be.includes(r.code)?t.jsx(Fe,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},o.id):null})]})]}):null,t.jsxs(An,{children:[t.jsx(qe,{children:a.pay}),t.jsx(He,{children:t.jsx(Le,{amount:gt,integerStyles:q.largeMedium.cssObject,decimalStyles:q.smallMedium.cssObject})}),t.jsx(qe,{children:a.to}),t.jsx(He,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[x?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:W({type:"details",key:"withdrawFrom"}),roomId:L,companyId:c.currentTenant?.companyId??f,companyName:c.currentTenant?.companyName??f,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(_,{label:{label:a.withdrawFrom,width:R},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?zt(e.paymentDetailsSection.withdrawFrom,s):f,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(s),marginTop:m.infoLabelMarginTop.valuePx(s),color:j.brandColorGoldDark},additionalInfoLabel:oe})}),t.jsx(H,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:W({type:"details",key:"paymentType"}),roomId:L,companyId:c.currentTenant?.companyId??f,companyName:c.currentTenant?.companyName??f,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(_,{label:{label:a.paymentMethod,width:R},style:{width:"auto"},value:le(l?.method??""),additionalInfoLabel:wt()})}),t.jsx(H,{}),!x&&Z!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:W({type:"details",key:"paymentDate"}),roomId:L,companyId:c.currentTenant?.companyId??f,companyName:c.currentTenant?.companyName??f,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(_,{label:{label:a.paymentDate,width:R},style:{width:"auto"},value:Z.format(T),additionalInfoLabel:`${a.estimatedArrival}${re(ln(Z.toDate(),[0,6],l?.maxPeriod.value??0).toDateString()).format(T)} - (${ae.length>0?`${ae} `:""}${a.deliveryTimeLabel} = ${l?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(H,{})]}):null,x?null:t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:W({type:"details",key:"paymentTo"}),roomId:L,companyId:c.currentTenant?.companyId??f,companyName:c.currentTenant?.companyName??f,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(_,{label:{label:a.paymentTo,width:R},style:{width:"auto"},value:ut??"",additionalInfoLabel:ft})}),x||lt?t.jsxs(t.Fragment,{children:[t.jsx(H,{}),t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:W({type:"details",key:"recurringPaymentType"}),roomId:L,companyId:c.currentTenant?.companyId??f,companyName:c.currentTenant?.companyName??f,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(_,{label:{label:a.paymentType,width:R},style:{width:"auto"},value:Ot(e.isRecurring,x,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Nt(s,e.isRecurring,x,e.recurringConfig)})})]}):null]}),!x&&l?.method!=null&&(l.method.includes(I)||l?.fee.amount!=null&&l.fee.amount!==0)?t.jsx(gn,{children:t.jsxs(xn,{windowSize:s,children:[t.jsxs(bn,{children:[t.jsx(yn,{children:a.total}),t.jsx(Re,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(fn,{children:[t.jsxs(Ze,{children:[t.jsx(de,{children:l.method.includes(I)&&ee!==$.currencyCode?We.conversionAmountColon:Ee.invoiceAmount}),t.jsx(se,{children:M("0,0[.]00",{amount:p.amount-z.amount,currencySymbol:z.currencySymbol})})]}),t.jsxs(Ze,{children:[t.jsx(de,{children:We.transactionFee}),t.jsx(se,{children:M("0,0[.]00",{amount:z.amount,currencySymbol:z.currencySymbol})})]}),t.jsx(hn,{}),t.jsxs(un,{children:[t.jsx(de,{children:Ee.total}),t.jsx(se,{children:M("0,0[.]00",{amount:p.amount,currencyCode:p.currencyCode,currencySymbol:p.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(pn,{})})]}),t.jsx(wn,{children:t.jsx(Le,{amount:ze(p.amount,p.currencyCode,p.currencySymbol),integerStyles:q.h6Medium.cssObject,decimalStyles:q.standardMedium.cssObject})})]})}):null]}),t.jsx(Et,{cancelBtn:{label:C&&!h?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:C&&!h?je:ie,isLoading:C&&!h&&te&&P?.fetchState==="In-Progress",reverseSpinnerColor:!1,style:{width:Ge(!1,C,h,Y,s)}},primaryBtn:{label:Ve(h,Y,e.isBillMarkedForRetry),isLoading:P?.fetchState==="In-Progress"&&(h||!te)||J?.fetchState==="In-Progress",onClick:h?je:()=>{vt&&oe!=null?U(!0):Te()},style:{width:Ge(!0,C,h,Y,s)}},rightSideComponent:C&&!h&&P.fetchState!=="In-Progress"?t.jsx(Un,{windowSize:s,children:t.jsx(Re,{style:{color:j.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(Hn,{onClick:ie,"data-testid":v("review-detail-edit-bill-button"),children:t.jsx(qn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?t.jsxs(zn,{children:[a.internationalText1,t.jsx(Nn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:a.internationalTerms}),a.internationalText2]}):null})]})},Ve=(e,y,g)=>e?a.paymentOutsideZeni.markAsPaid:g===!0?a.retryPayment:y?a.sendForApproval:a.scheduleBill,Ge=(e,y,g,A,S)=>g?128:y&&!e&&S==="small"?"auto":A?165:m.footerButtonWidth.value(S),pn=i(en)`
|
|
1
|
+
import{J as Tt,ax as Ct,y as u,f8 as Dt,f9 as It,fa as Pt,V as t,fb as kt,fc as le,fd as At,fe as Mt,ff as Bt,fg as Ft,aP as A,fh as Rt,aR as v,fi as Lt,fj as Be,fk as Fe,fl as Re,b as q,fm as O,p as j,fn as zt,fo as E,fp as W,fq as Nt,fr as Ot,bV as Le,o as n,aT as Et,u as d,O as Wt,ah as Vt,c4 as _t,H as Yt,B as Zt,fs as Gt,ck as Ht,am as ce,an as me,ft as qt,fu as Kt,bk as Ut,a as Xt,bb as Jt,fv as Qt,ar as tt,bM as en,aj as nt,bv as tn,fw as nn}from"./index-DyBrELD_.js";import{a as _}from"./sentry-BV4jcjA3.js";import{n as i}from"./mui-D3hEqMLm.js";import{bo as ze,bm as Ne,bH as I,bN as an,Gq as on,bL as re,bP as ln}from"./zeni-epic-state-wSe7lDM8.js";import{t as rn,o as sn}from"./LowBalancePopup-ScEqPY9J-zI-i6Isi.js";import{S as V}from"./LabeledText-DvzVOku6-qtDKT9OR.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./recharts-Bs6FfRQK.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="429397ef-0d5c-4bed-85ac-62205dc83fa2",e._sentryDebugIdIdentifier="sentry-dbid-429397ef-0d5c-4bed-85ac-62205dc83fa2")}catch{}})();const it=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,d[2],d[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,d[1]),navBarContainerPaddingTop:new u(10,d[3]),sectionTitleMarginLeft:new u(d[3],d[0]),reviewContainerMarginLeft:new u(d[3],d[6]),reviewContainerMarginRight:new u(d[3],d[8]),footerRightIconMarginRight:new u(d[0],d[0],d[7]),infoLabelPaddingRight:new u(d[0],d[3]),infoLabelMarginTop:new u(d[1],d[0])},dn={sectionTitle:new Yt("h6Medium","h5Medium")},{dateFormat:Oe,common:{currency:$,labels:Ee,edit:cn,strings:{empty:f}},spendManagement:{billPay:mn}}=Wt.getLocalizedStrings(),{billDetails:a,paymentDetails:We}=mn,Ve=({attachment:e})=>{const[y,g]=_.useState(!1),M=()=>{g(!1)},S=e.fileId?.length===0;return t.jsxs(On,{isDisabled:e.fileId?.length===0,"data-testid":v("attachment-tag",e.fileName),onClick:()=>S===!1?g(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(qt,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:g}):null,t.jsx(En,{children:t.jsx(Kt,{contentType:e.contentType})})]})},di=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:g,currentTenant:M,isInternationalPaymentShaVsOurEnabled:S,isLocalCurrencyEnabled:at,style:ot,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:rt,isDetectInsufficientFundsEnabled:st,billId:b,onClickEdit:pe,discardBillDetailsFromLocalStore:ue,saveBillDetails:ye,discardOutsideZeniPaymentData:dt,updateBillDetailSaveBillCode:he,redirectToBillsScreen:fe,onAttachmentClick:J,retryPayment:ct})=>{const s=Tt(),c=Ct(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:b},F=g&&b!=null,R=`dashboard_${c.currentTenant?.companyId}`,L=m.largeLabelWidth.value(s),P=e.saveStatus,Q=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,l=Dt(S,at,e.billPayConfigList.filter(o=>o.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),T=Oe.visual.MMMDCommaYYYYformat,ge={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},p={amount:l?.method.includes("international")===!0?It(ge,l):e.recipientTotalAmount.amount+(l?.fee.amount??0),currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},z={amount:l?.method.includes("international")===!0?Pt(ge,l):l?.fee.amount??0,currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},[mt,xe]=_.useState(!1),[te,be]=_.useState(!1),we=()=>xe(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),xe(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Ln,{size:s,children:t.jsx(Rn,{})})]}):kt(e.paymentDetailsSection?.paymentTo);_.useEffect(()=>{(P?.fetchState==="Completed"||Q?.fetchState==="Completed")&&(ue(),he(),fe())},[P,Q,fe,ue,he]);const k=e.billPayInfo?.stage,N=e.billPayInfo?.billStatus,Y=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,ne=k?.code==="paid"?k:N?.code=="approved"&&Y?.code?Y:N,ht=e.billPayInfo?.isRefundInitiated===!0?yt:N?.code=="approved"&&Y?.code?Y:N,ie=()=>{pe()},$e=()=>{pe()},Z=e.paymentDetailsSection?.paymentDate,ae=le(l?.method??""),ve=ae.replace("Same Day",""),ft=e.isCollectToAccountInfoFromVendorContact?t.jsx(At,{paymentTypeLabel:ve,onClick:pt}):a.addedByZeni,G=y.allApprovalRules.length>0,gt=ze(l?.method!=null&&(l.method.includes(I)||l?.fee.amount!=null&&l.fee.amount!==0)?p.amount-z.amount:p.amount,l?.fee.currencyCode??Ne.currencyCode,l?.fee.currencySymbol??Ne.currencySymbol),x=an(e.paymentDetailsSection?.paymentType?.method),xt=o=>{w.trackBillPayMarkAsPaidSubmit(o.paymentMode??"other",k?.code??"draft",ne?.code??""),ye(!0,o)},je=()=>{be(!0),w.trackBillPayMarkAsPaid(k?.code??"draft",ne?.code??"")},bt=()=>{dt(),be(!1)},C=x,h=C&&!rt,Se=_e(h,G,e.isBillMarkedForRetry),wt=()=>x?h?void 0:a.paymentOutsideZeni.reviewInfo:l?.method!=null&&l.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&S&&ee===$.currencyCode?Qt(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,oe=st&&e.paymentDetailsSection!=null?Mt(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,$t=()=>{const o=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,D=e.recurringConfig,jt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(b??"new_bill"),l?.method!=null&&o!=null){const St=x?a.paymentOutsideZeni.offline:le(l.method);if(w.trackBillPaySendForApproval(St,o.format(Oe.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,b,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:re(D?.startDate?.toString()??"").format(T),endDate:re(D?.endDate?.toString()??"").format(T),frequency:D?.frequency??"monthly",totalAmount:jt.amount,totalPaymentCycles:D?.totalPaymentCycles??0,isApprovalRequired:D?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?D?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?D?.updateRecurringBills==="all":void 0}),oe!=null){const De=k?.code??"draft",Ie=N?.code??"",Pe=e.isRecurring?["Recurring"]:["One-Time"],ke=e.invoiceNumber??"",Ae=nn(c.loggedInUser),Me=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";Se===a.scheduleBill?w.trackLowBalanceAccountSchedule(De,Ie,Pe,ke,Ae,Me):Se===a.sendForApproval&&w.trackLowBalanceAccountSentForApproval(De,Ie,Pe,ke,Ae,Me)}}},Te=()=>{Ce===!0&&H(!1),e.isBillMarkedForRetry===!0?(ct(),w.trackRetryConfirmClick(ne?.code??"",k?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ye(!1,{}))},vt=on(p.amount,y.allApprovalRules,c.loggedInUser),[Ce,H]=_.useState(!1);return t.jsxs($n,{children:[te?t.jsx(rn,{onCancel:bt,onProceedForMarkAsPaid:xt,saveDetailsFetchState:P?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Ce?t.jsx(sn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Te,onCancelClick:()=>{H(!1),ie()},onClickAway:()=>{H(!1)}}):null,t.jsx(Bt,{anchor:"right",open:mt,onClose:we,transitionDuration:250,"data-testid":v("vendor-email-preview-drawer"),children:t.jsx(Ft,{companyName:Rt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Z?.format(T)??"",paymentType:ve,amount:A("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:we})}),t.jsxs(vn,{windowSize:s,style:ot,children:[s==="small"?t.jsxs(Fn,{windowSize:s,children:[t.jsx(Ue,{onClick:$e,"data-testid":v("review-detail-nav-bar-small-back")}),t.jsx(Ge,{windowSize:s,children:a.oneLastLook})]}):t.jsx(Bn,{"data-testid":v("review-details-nav-bar-back"),children:t.jsx(Ue,{onClick:$e})}),s!=="small"?t.jsx(Sn,{children:t.jsx(Ge,{windowSize:s,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(Tn,{children:[t.jsxs(Cn,{children:[t.jsx(Gn,{}),t.jsxs(Dn,{children:[t.jsx(Pn,{children:a.duplicateBillPayWarning}),t.jsxs(In,{children:[a.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":v("review-detail-attachment-button"),onClick:()=>J(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[a.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(_n,{children:[t.jsx(Zn,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(o=>{const r=Lt(o);return o!=null?t.jsx(Yn,{children:it.includes(s)?t.jsxs(He,{windowSize:s,children:[t.jsxs(kn,{children:[t.jsxs(An,{children:[o.attachments&&o.attachments.length>0?t.jsx(Ve,{attachment:o.attachments[0]}):t.jsx(Xe,{children:t.jsx(Je,{})}),t.jsx(U,{children:t.jsxs(t.Fragment,{children:[o.documentId!=null?a.invoiceNo:null,o.documentId]})})]}),t.jsx(Qe,{windowSize:s,children:A("0,0[.]00",o.recipientTotalAmount)})]}),t.jsxs(Wn,{"data-testid":v("review-detail-mobile-info"),onClick:()=>J(o.id,o.billPayInfo.stage.code),children:[t.jsxs(U,{children:[o.dueDate!=null?a.due:null," ",o.dueDate?.format(T)]}),t.jsx(et,{children:r!=null?Be.includes(r.code)?t.jsx(Fe,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(He,{windowSize:s,children:[o.attachments&&o.attachments.length>0?t.jsx(Ve,{attachment:o.attachments[0]}):t.jsx(Xe,{children:t.jsx(Je,{})}),t.jsxs(Vn,{"data-testid":v("review-detail-info"),onClick:()=>J(o.id,o.billPayInfo.stage.code),children:[t.jsx(U,{style:{width:"50%"},children:t.jsxs("div",{children:[o.documentId!=null?a.invoiceNo:null," ",o.documentId]})}),t.jsxs(U,{style:{width:"25%"},children:[o.dueDate!=null?a.due:null," ",o.dueDate?.format(T)]}),t.jsx(Qe,{style:{width:"25%"},windowSize:s,children:A("0,0[.]00",o.amount)})]}),t.jsx(et,{children:r!=null?Be.includes(r.code)?t.jsx(Fe,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},o.id):null})]})]}):null,t.jsxs(Mn,{children:[t.jsx(qe,{children:a.pay}),t.jsx(Ke,{children:t.jsx(Re,{amount:gt,integerStyles:q.largeMedium.cssObject,decimalStyles:q.smallMedium.cssObject})}),t.jsx(qe,{children:a.to}),t.jsx(Ke,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[x?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:W({type:"details",key:"withdrawFrom"}),roomId:R,companyId:c.currentTenant?.companyId??f,companyName:c.currentTenant?.companyName??f,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(V,{label:{label:a.withdrawFrom,width:L},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?zt(e.paymentDetailsSection.withdrawFrom,s):f,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(s),marginTop:m.infoLabelMarginTop.valuePx(s),color:j.brandColorGoldDark},additionalInfoLabel:oe})}),t.jsx(K,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:W({type:"details",key:"paymentType"}),roomId:R,companyId:c.currentTenant?.companyId??f,companyName:c.currentTenant?.companyName??f,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(V,{label:{label:a.paymentMethod,width:L},style:{width:"auto"},value:le(l?.method??""),additionalInfoLabel:wt()})}),t.jsx(K,{}),!x&&Z!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:W({type:"details",key:"paymentDate"}),roomId:R,companyId:c.currentTenant?.companyId??f,companyName:c.currentTenant?.companyName??f,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(V,{label:{label:a.paymentDate,width:L},style:{width:"auto"},value:Z.format(T),additionalInfoLabel:`${a.estimatedArrival}${re(ln(Z.toDate(),[0,6],l?.maxPeriod.value??0).toDateString()).format(T)} - (${ae.length>0?`${ae} `:""}${a.deliveryTimeLabel} = ${l?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(K,{})]}):null,x?null:t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:W({type:"details",key:"paymentTo"}),roomId:R,companyId:c.currentTenant?.companyId??f,companyName:c.currentTenant?.companyName??f,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(V,{label:{label:a.paymentTo,width:L},style:{width:"auto"},value:ut??"",additionalInfoLabel:ft})}),x||lt?t.jsxs(t.Fragment,{children:[t.jsx(K,{}),t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:W({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:c.currentTenant?.companyId??f,companyName:c.currentTenant?.companyName??f,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(V,{label:{label:a.paymentType,width:L},style:{width:"auto"},value:Ot(e.isRecurring,x,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Nt(s,e.isRecurring,x,e.recurringConfig)})})]}):null]}),!x&&l?.method!=null&&(l.method.includes(I)||l?.fee.amount!=null&&l.fee.amount!==0)?t.jsx(gn,{children:t.jsxs(xn,{windowSize:s,children:[t.jsxs(bn,{children:[t.jsx(yn,{children:a.total}),t.jsx(Le,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(fn,{children:[t.jsxs(Ze,{children:[t.jsx(de,{children:l.method.includes(I)&&ee!==$.currencyCode?We.conversionAmountColon:Ee.invoiceAmount}),t.jsx(se,{children:A("0,0[.]00",{amount:p.amount-z.amount,currencySymbol:z.currencySymbol})})]}),t.jsxs(Ze,{children:[t.jsx(de,{children:We.transactionFee}),t.jsx(se,{children:A("0,0[.]00",{amount:z.amount,currencySymbol:z.currencySymbol})})]}),t.jsx(hn,{}),t.jsxs(un,{children:[t.jsx(de,{children:Ee.total}),t.jsx(se,{children:A("0,0[.]00",{amount:p.amount,currencyCode:p.currencyCode,currencySymbol:p.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(pn,{})})]}),t.jsx(wn,{children:t.jsx(Re,{amount:ze(p.amount,p.currencyCode,p.currencySymbol),integerStyles:q.h6Medium.cssObject,decimalStyles:q.standardMedium.cssObject})})]})}):null]}),t.jsx(Et,{cancelBtn:{label:C&&!h?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:C&&!h?je:ie,isLoading:C&&!h&&te&&P?.fetchState==="In-Progress",reverseSpinnerColor:!1,style:{width:Ye(!1,C,h,G,s)}},primaryBtn:{label:_e(h,G,e.isBillMarkedForRetry),isLoading:P?.fetchState==="In-Progress"&&(h||!te)||Q?.fetchState==="In-Progress",onClick:h?je:()=>{vt&&oe!=null?H(!0):Te()},style:{width:Ye(!0,C,h,G,s)}},rightSideComponent:C&&!h&&P.fetchState!=="In-Progress"?t.jsx(Hn,{windowSize:s,children:t.jsx(Le,{style:{color:j.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(Kn,{onClick:ie,"data-testid":v("review-detail-edit-bill-button"),children:t.jsx(qn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?t.jsxs(zn,{children:[a.internationalText1,t.jsx(Nn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:a.internationalTerms}),a.internationalText2]}):null})]})},_e=(e,y,g)=>e?a.paymentOutsideZeni.markAsPaid:g===!0?a.retryPayment:y?a.sendForApproval:a.scheduleBill,Ye=(e,y,g,M,S)=>g?128:y&&!e&&S==="small"?"auto":M?165:m.footerButtonWidth.value(S),pn=i(en)`
|
|
2
2
|
width: ${n.sp3};
|
|
3
3
|
height: ${n.sp3};
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -68,13 +68,13 @@ import{X as Tt,ay as Ct,x as u,fu as Dt,fv as It,fw as Pt,V as t,fx as kt,fy as
|
|
|
68
68
|
border-radius: ${n.sp2};
|
|
69
69
|
margin-bottom: ${n.sp3};
|
|
70
70
|
margin-top: ${n.sp3};
|
|
71
|
-
`,
|
|
71
|
+
`,K=i.div`
|
|
72
72
|
display: flex;
|
|
73
73
|
flex: 1;
|
|
74
74
|
background-color: ${e=>e.theme.colors.grey3};
|
|
75
75
|
min-height: 1px;
|
|
76
76
|
max-height: 1px;
|
|
77
|
-
`,
|
|
77
|
+
`,Ge=i(Zt)`
|
|
78
78
|
color: ${e=>e.theme.colors.primary};
|
|
79
79
|
${e=>`${dn.sectionTitle.style(e.windowSize)}`};
|
|
80
80
|
margin-left: ${e=>m.sectionTitleMarginLeft.valuePx(e.windowSize)};
|
|
@@ -102,10 +102,10 @@ import{X as Tt,ay as Ct,x as u,fu as Dt,fv as It,fw as Pt,V as t,fx as kt,fy as
|
|
|
102
102
|
`,In=i(ce)`
|
|
103
103
|
padding-bottom: ${n.sp3};
|
|
104
104
|
color: ${j.brandColorGoldDark};
|
|
105
|
-
`,Pn=i(
|
|
105
|
+
`,Pn=i(Ht)`
|
|
106
106
|
padding-top: ${n.sp3};
|
|
107
107
|
color: ${j.brandColorGoldDark};
|
|
108
|
-
`,
|
|
108
|
+
`,He=i.div`
|
|
109
109
|
display: flex;
|
|
110
110
|
flex-direction: ${e=>it.includes(e.windowSize)?"column":"row"};
|
|
111
111
|
width: 100%;
|
|
@@ -114,22 +114,22 @@ import{X as Tt,ay as Ct,x as u,fu as Dt,fv as It,fw as Pt,V as t,fx as kt,fy as
|
|
|
114
114
|
justify-content: space-between;
|
|
115
115
|
align-items: center;
|
|
116
116
|
column-gap: ${n.sp1};
|
|
117
|
-
`,
|
|
117
|
+
`,An=i.div`
|
|
118
118
|
display: flex;
|
|
119
119
|
column-gap: ${n.sp2};
|
|
120
120
|
align-items: center;
|
|
121
|
-
`,
|
|
121
|
+
`,Mn=i.div`
|
|
122
122
|
display: flex;
|
|
123
123
|
padding-top: ${n.sp3};
|
|
124
|
-
`,qe=i(
|
|
124
|
+
`,qe=i(Xt)`
|
|
125
125
|
display: flex;
|
|
126
126
|
color: ${e=>e.theme.colors.hero};
|
|
127
127
|
margin-right: ${n.sp1};
|
|
128
|
-
`,
|
|
128
|
+
`,Ke=i(Jt)`
|
|
129
129
|
display: flex;
|
|
130
130
|
color: ${e=>e.theme.colors.primary};
|
|
131
131
|
margin-right: ${n.sp1};
|
|
132
|
-
`,
|
|
132
|
+
`,Ue=i(_t)`
|
|
133
133
|
cursor: pointer;
|
|
134
134
|
color: ${e=>e.theme.colors.hero};
|
|
135
135
|
width: 20px;
|
|
@@ -152,11 +152,11 @@ import{X as Tt,ay as Ct,x as u,fu as Dt,fv as It,fw as Pt,V as t,fx as kt,fy as
|
|
|
152
152
|
padding-left: ${n.sp0};
|
|
153
153
|
z-index: 2;
|
|
154
154
|
background-color: ${e=>e.theme.colors.grey4};
|
|
155
|
-
`,
|
|
155
|
+
`,Rn=i(Vt)`
|
|
156
156
|
height: ${n.sp3};
|
|
157
157
|
width: ${n.sp3};
|
|
158
158
|
color: ${e=>e.theme.colors.hero};
|
|
159
|
-
`,
|
|
159
|
+
`,Ln=i.span`
|
|
160
160
|
display: flex;
|
|
161
161
|
align-items: center;
|
|
162
162
|
margin-left: ${n.sp2};
|
|
@@ -193,23 +193,23 @@ import{X as Tt,ay as Ct,x as u,fu as Dt,fv as It,fw as Pt,V as t,fx as kt,fy as
|
|
|
193
193
|
width: ${n.sp4};
|
|
194
194
|
height: ${n.sp4};
|
|
195
195
|
display: flex;
|
|
196
|
-
`,
|
|
196
|
+
`,Xe=i.div`
|
|
197
197
|
cursor: default;
|
|
198
198
|
display: flex;
|
|
199
199
|
align-items: center;
|
|
200
200
|
margin-right: ${n.sp1};
|
|
201
|
-
`,
|
|
201
|
+
`,Je=i(Ut)`
|
|
202
202
|
cursor: pointer;
|
|
203
203
|
width: ${n.sp4};
|
|
204
204
|
height: ${n.sp4};
|
|
205
205
|
color: ${e=>e.theme.colors.hero};
|
|
206
|
-
`,
|
|
206
|
+
`,U=i(ce)`
|
|
207
207
|
display: flex;
|
|
208
208
|
color: ${e=>e.theme.colors.hero};
|
|
209
209
|
align-items: center;
|
|
210
210
|
min-width: 142px;
|
|
211
211
|
flex-grow: 1;
|
|
212
|
-
`,
|
|
212
|
+
`,Qe=i(ce)`
|
|
213
213
|
display: flex;
|
|
214
214
|
color: ${e=>e.theme.colors.primary};
|
|
215
215
|
align-items: center;
|
|
@@ -226,12 +226,12 @@ import{X as Tt,ay as Ct,x as u,fu as Dt,fv as It,fw as Pt,V as t,fx as kt,fy as
|
|
|
226
226
|
display: flex;
|
|
227
227
|
justify-content: flex-end;
|
|
228
228
|
align-items: center;
|
|
229
|
-
`,
|
|
229
|
+
`,Vn=i.div`
|
|
230
230
|
display: flex;
|
|
231
231
|
flex-grow: 1;
|
|
232
232
|
cursor: pointer;
|
|
233
233
|
width: 100%;
|
|
234
|
-
`,
|
|
234
|
+
`,X=i(me)`
|
|
235
235
|
display: flex;
|
|
236
236
|
color: ${e=>e.borderColor};
|
|
237
237
|
height: 20px;
|
|
@@ -247,10 +247,10 @@ import{X as Tt,ay as Ct,x as u,fu as Dt,fv as It,fw as Pt,V as t,fx as kt,fy as
|
|
|
247
247
|
padding: 1px 6px;
|
|
248
248
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
249
249
|
border-radius: ${n.sp1};
|
|
250
|
-
`,
|
|
250
|
+
`,_n=i.div`
|
|
251
251
|
display: flex;
|
|
252
252
|
flex-direction: column;
|
|
253
|
-
`,
|
|
253
|
+
`,Yn=i.div`
|
|
254
254
|
display: flex;
|
|
255
255
|
width: 100%;
|
|
256
256
|
flex-flow: column;
|
|
@@ -260,14 +260,14 @@ import{X as Tt,ay as Ct,x as u,fu as Dt,fv as It,fw as Pt,V as t,fx as kt,fy as
|
|
|
260
260
|
`,Zn=i(me)`
|
|
261
261
|
margin-top: ${n.sp3};
|
|
262
262
|
color: ${j.alert};
|
|
263
|
-
`,
|
|
263
|
+
`,Gn=i(Gt)`
|
|
264
264
|
min-width: ${n.sp4};
|
|
265
265
|
height: ${n.sp4};
|
|
266
266
|
width: ${n.sp4};
|
|
267
267
|
margin-top: ${n.sp3};
|
|
268
268
|
margin-left: ${n.sp4};
|
|
269
269
|
color: ${j.brandColorGoldDark};
|
|
270
|
-
`,
|
|
270
|
+
`,Hn=i.div`
|
|
271
271
|
display: flex;
|
|
272
272
|
justify-content: flex-end;
|
|
273
273
|
margin-right: ${e=>m.footerRightIconMarginRight.valuePx(e.windowSize)};
|
|
@@ -279,7 +279,7 @@ import{X as Tt,ay as Ct,x as u,fu as Dt,fv as It,fw as Pt,V as t,fx as kt,fy as
|
|
|
279
279
|
&:hover {
|
|
280
280
|
color: ${e=>e.theme.colors.primary};
|
|
281
281
|
}
|
|
282
|
-
`,
|
|
282
|
+
`,Kn=i.div`
|
|
283
283
|
display: flex;
|
|
284
284
|
cursor: pointer;
|
|
285
285
|
color: ${e=>e.theme.colors.grey1};
|
package/dist/assets/{ReviewOverlay-CUnL7H-a-17YpOTAb.js → ReviewOverlay-BoM41t8W-3p-Qz-jJ.js}
RENAMED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{J as P,V as i,aR as m,o as r,aT as L,y as d,x as M,H as I,B as C,p as s,am as j,cE as W,T as R,aj as b,bj as D,u as n,eo as G,h as _,j0 as H,kd as J}from"./index-DyBrELD_.js";import{n as t}from"./mui-D3hEqMLm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="4b40e475-f58a-41d9-a685-938ba4a788b7",e._sentryDebugIdIdentifier="sentry-dbid-4b40e475-f58a-41d9-a685-938ba4a788b7")}catch{}})();const l={containerMarginTop:new d(0,n[2]),containerMarginLeft:new d(n[3],n[8]),containerMarginRight:new d(n[3],n[8]),subTitleMarginBottom:new d(n[2],n[2]),titleMarginBotom:new d(n[0],n[2]),titleMarginRight:new d(n[0],n[3]),navBarHeight:new d(62,62,62),navBarPaddingLeft:new d(n[3],n[3],n[8]),navBarPaddingRight:new d(n[3],n[3],n[8])},A={title:new I("h6Regular","h5Regular")},xe=({title:e,description:g,reviewItems:x,showFooter:S,footerProps:{primaryButton:z,cancelButton:T,hideCancel:E},onCloseOverlay:k,onCloseReviewItem:B})=>{const a=P();return i.jsxs(V,{children:[i.jsx(X,{windowSize:a,children:i.jsx(Y,{children:i.jsx(Z,{windowSize:a,children:i.jsx(ee,{children:i.jsx(ie,{onClick:k,"data-testid":m("review-overlay-close",e)})})})})}),i.jsxs(O,{windowSize:a,children:[i.jsxs(q,{windowSize:a,children:[i.jsx(K,{children:i.jsx(N,{windowSize:a,children:e})}),i.jsx(Q,{isError:g.isError,windowSize:a,children:g.content})]}),i.jsx(U,{windowSize:a,children:x.map(o=>{const h=o.reviewStatus.code==="error",c=o.reviewStatus.code==="warning"||o.reviewStatus.code==="low-balance";return i.jsxs(re,{isLoading:!1,isActive:!0,isWarning:c,isError:h,children:[c?i.jsx(ce,{onClick:()=>B(o.id),"data-testid":m("review-close",o.id)}):null,i.jsxs(te,{children:[i.jsxs(ne,{children:[i.jsx(de,{children:F(o)}),i.jsxs(oe,{children:[i.jsxs(w,{children:[i.jsx(f,{style:{marginLeft:r.sp2},isWarning:c,isError:h,children:o.leftSideText.title}),i.jsx(f,{isWarning:c,isError:h,children:o.rightSideText.title})]}),i.jsxs(w,{children:[i.jsx(se,{style:{marginLeft:r.sp2},children:o.leftSideText.subTitle}),a!=="small"?i.jsxs(u,{windowSize:a,children:[i.jsx(p,{isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[o.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx($,{})}):null,o.rightSideText.subTitle]})}),i.jsx(p,{isWarning:!0,isError:!1,children:o.rightSideText.additonalInfo})]}):null]})]})]}),a==="small"?i.jsxs(u,{windowSize:a,children:[i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[o.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx($,{})}):null,o.rightSideText.subTitle]})}),i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isWarning:c,isError:h,children:o.rightSideText.additonalInfo})]}):null]})]},o.id)})})]}),S?i.jsx(L,{primaryBtn:z,cancelBtn:T,showCancel:!E}):null]})},F=e=>e.reviewStatus.isLoading?i.jsx(R,{size:"Small",style:{display:"flex",width:r.sp4,height:r.sp4,alignItems:"center",justifyContent:"center"},start:!0}):e.reviewStatus.code==="error"?i.jsx(y,{isError:!0}):e.reviewStatus.code==="warning"?i.jsx(y,{isError:!1}):e.reviewStatus.code==="valid"?i.jsx(ae,{}):e.reviewStatus.code==="low-balance"?i.jsx(he,{}):i.jsx(le,{}),V=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
5
|
-
`,
|
|
5
|
+
`,O=t.div`
|
|
6
6
|
min-height: 100vh;
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: column;
|
|
9
|
-
margin-top: ${e=>
|
|
9
|
+
margin-top: ${e=>l.containerMarginTop.valuePx(e.windowSize)};
|
|
10
10
|
margin-bottom: ${r.sp8};
|
|
11
|
-
`,
|
|
11
|
+
`,q=t.div`
|
|
12
12
|
position: sticky;
|
|
13
13
|
top: ${r.sp0};
|
|
14
14
|
background-color: ${e=>e.theme.colors.grey4};
|
|
15
15
|
z-index: 1;
|
|
16
|
-
padding-left: ${e=>
|
|
17
|
-
padding-right: ${e=>
|
|
18
|
-
`,
|
|
16
|
+
padding-left: ${e=>l.containerMarginLeft.valuePx(e.windowSize)};
|
|
17
|
+
padding-right: ${e=>l.containerMarginRight.valuePx(e.windowSize)};
|
|
18
|
+
`,K=t.div`
|
|
19
19
|
display: flex;
|
|
20
20
|
align-items: center;
|
|
21
|
-
`,
|
|
22
|
-
${e=>`${
|
|
21
|
+
`,N=t(C)`
|
|
22
|
+
${e=>`${A.title.style(e.windowSize)}`};
|
|
23
23
|
color: ${e=>e.theme.colors.primary};
|
|
24
24
|
margin-top: ${r.sp2};
|
|
25
|
-
margin-bottom: ${e=>
|
|
26
|
-
margin-right: ${e=>
|
|
27
|
-
`,
|
|
28
|
-
margin-bottom: ${e=>
|
|
25
|
+
margin-bottom: ${e=>l.titleMarginBotom.valuePx(e.windowSize)};
|
|
26
|
+
margin-right: ${e=>l.titleMarginRight.valuePx(e.windowSize)};
|
|
27
|
+
`,Q=t(j)`
|
|
28
|
+
margin-bottom: ${e=>l.subTitleMarginBottom.valuePx(e.windowSize)};
|
|
29
29
|
color: ${e=>e.isError?s.important:e.theme.colors.hero};
|
|
30
|
-
`,
|
|
30
|
+
`,U=t.div`
|
|
31
31
|
display: flex;
|
|
32
32
|
flex-direction: column;
|
|
33
33
|
margin-top: ${r.sp3};
|
|
34
|
-
margin-left: ${e=>
|
|
35
|
-
margin-right: ${e=>
|
|
36
|
-
`,
|
|
37
|
-
min-height: ${e=>
|
|
34
|
+
margin-left: ${e=>l.containerMarginLeft.valuePx(e.windowSize)};
|
|
35
|
+
margin-right: ${e=>l.containerMarginRight.valuePx(e.windowSize)};
|
|
36
|
+
`,X=t.div`
|
|
37
|
+
min-height: ${e=>l.navBarHeight.valuePx(e.windowSize)};
|
|
38
38
|
position: sticky;
|
|
39
39
|
border-bottom: 1px solid transparent;
|
|
40
40
|
z-index: 2;
|
|
@@ -52,14 +52,14 @@ import{X as M,V as i,ac as m,o as r,aT as P,x as d,c as B,N as C,M as I,p as s,a
|
|
|
52
52
|
top: ${r.sp0};
|
|
53
53
|
left: ${r.sp0};
|
|
54
54
|
right: ${r.sp0};
|
|
55
|
-
padding-right: ${e=>
|
|
56
|
-
padding-left: ${e=>
|
|
55
|
+
padding-right: ${e=>l.navBarPaddingRight.valuePx(e.windowSize)};
|
|
56
|
+
padding-left: ${e=>l.navBarPaddingLeft.valuePx(e.windowSize)};
|
|
57
57
|
height: 100%;
|
|
58
58
|
`,ee=t.div`
|
|
59
59
|
display: flex;
|
|
60
60
|
flex: 1 1 0;
|
|
61
61
|
justify-content: flex-end;
|
|
62
|
-
`,ie=t(
|
|
62
|
+
`,ie=t(M)`
|
|
63
63
|
width: ${r.sp4};
|
|
64
64
|
height: ${r.sp4};
|
|
65
65
|
cursor: pointer;
|
|
@@ -109,11 +109,11 @@ import{X as M,V as i,ac as m,o as r,aT as P,x as d,c as B,N as C,M as I,p as s,a
|
|
|
109
109
|
width: ${r.sp4};
|
|
110
110
|
height: ${r.sp4};
|
|
111
111
|
color: ${e=>e.isError?s.important:s.brandColorGoldDark};
|
|
112
|
-
`,
|
|
112
|
+
`,ae=t(_)`
|
|
113
113
|
width: ${r.sp4};
|
|
114
114
|
height: ${r.sp4};
|
|
115
115
|
color: ${s.success};
|
|
116
|
-
`,
|
|
116
|
+
`,le=t(J)`
|
|
117
117
|
width: ${r.sp4};
|
|
118
118
|
height: ${r.sp4};
|
|
119
119
|
color: ${e=>e.theme.colors.grey2};
|
|
@@ -141,11 +141,11 @@ import{X as M,V as i,ac as m,o as r,aT as P,x as d,c as B,N as C,M as I,p as s,a
|
|
|
141
141
|
align-items: center;
|
|
142
142
|
justify-content: center;
|
|
143
143
|
margin-right: ${r.sp1};
|
|
144
|
-
`,$=t(
|
|
144
|
+
`,$=t(D)`
|
|
145
145
|
color: ${e=>e.theme.colors.brandColorJade};
|
|
146
146
|
width: ${r.sp3};
|
|
147
147
|
height: ${r.sp3};
|
|
148
|
-
`,he=t(
|
|
148
|
+
`,he=t(H)`
|
|
149
149
|
color: ${e=>e.theme.colors.brandColorGoldDark};
|
|
150
150
|
width: ${r.sp4};
|
|
151
151
|
height: ${r.sp4};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import{eT as h,eU as f,V as s,bV as g,o as d,aR as n,O as x,ao as y,aj as c}from"./index-DyBrELD_.js";import{n as l}from"./mui-D3hEqMLm.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]="e201b4f1-0173-4752-a00f-ac3ad0e319b3",e._sentryDebugIdIdentifier="sentry-dbid-e201b4f1-0173-4752-a00f-ac3ad0e319b3")}catch{}})();const{hyphen:a}=x.getLocalizedStrings().common.strings,b=l.div``,m=l.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
min-width: 192px;
|
|
4
|
+
justify-content: space-between;
|
|
5
|
+
`,u=l(c)`
|
|
6
|
+
color: ${e=>e.theme.colors.hero};
|
|
7
|
+
`,j=l(c)`
|
|
8
|
+
color: ${e=>e.theme.colors.brandColorPearl};
|
|
9
|
+
`,i=l.div`
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
`,w=l(y)`
|
|
13
|
+
border-radius: ${d.sp12};
|
|
14
|
+
border: 1px solid ${e=>e.theme.colors.grey1};
|
|
15
|
+
display: flex;
|
|
16
|
+
height: 18px;
|
|
17
|
+
width: 18px;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
color: 1px solid ${e=>e.theme.colors.grey1};
|
|
21
|
+
margin-left: ${d.sp1};
|
|
22
|
+
`,D=({roles:e})=>{let t=a,r=[];t=h(e),r=f(e);const p=()=>r.length>0?s.jsx(b,{children:r.map(o=>s.jsxs(m,{children:[s.jsx(u,{children:o[0]}),s.jsx(j,{children:o[1]})]},o.join(",")))}):s.jsx(s.Fragment,{children:a});return r.length>0?s.jsx(g,{enterDelay:600,"data-testid":n("roles-tooltip",t),title:p(),placement:"top-end",style:{marginLeft:d.sp1,padding:"6px 12px"},maxWidth:"264px",children:s.jsxs(i,{"data-testid":n("roles-label-wrapper",t),children:[t,s.jsx(w,{className:"roles-count-wrapper","data-testid":n("roles-count-wrapper",t),children:r.length})]})}):s.jsx(i,{"data-testid":n("roles-label-wrapper",t),children:t})};export{D as T};
|