@zeniai/web-cockpit-ui 1.14.91-dev → 1.14.91-dev-betaRR0
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-B6sY0jN6-Dv_4G1XI.js +21 -0
- package/dist/assets/{AIPerformancePage-BWK9fXrz-DKsZ1mo0.js → AIPerformancePage-BWK9fXrz-tS1FxKid.js} +2 -2
- package/dist/assets/{AccountInfoPage-DfT5DDiZ-fWZyYCg5.js → AccountInfoPage-DfT5DDiZ-CV2_yTPc.js} +3 -3
- package/dist/assets/{AccountInfoPageContent-nUi26Aww-BYypek4H.js → AccountInfoPageContent-nUi26Aww-CUuk_20a.js} +11 -11
- package/dist/assets/{AccountLockedInfoModal-BROj4bmE-BVM1T1YI.js → AccountLockedInfoModal-BROj4bmE-Cfoe0YA9.js} +5 -5
- package/dist/assets/{AccountReconDetailsDrawerPage-C-3FFCQZ-sRbxt9OR.js → AccountReconDetailsDrawerPage-C-3FFCQZ-CxBX6qm4.js} +7 -7
- package/dist/assets/{AccountRow-BM2kGWyR-T6iB2hx_.js → AccountRow-BM2kGWyR-CJCg6x0x.js} +10 -10
- package/dist/assets/{AccountsPromoCardStack-CNCG5uPJ-CVvmiGCx.js → AccountsPromoCardStack-CNCG5uPJ-m2eUaU2L.js} +5 -5
- package/dist/assets/AddAddressForCardDrawer-BuAtFO1w-B9URXppK.js +6 -0
- package/dist/assets/{AddToWalletPage-DyrcWdBZ-CvPiU8kF.js → AddToWalletPage-DyrcWdBZ--nr8n_4Z.js} +17 -17
- package/dist/assets/{AgingReportsPage-CmluxKG3-A44UbSFN.js → AgingReportsPage-CmluxKG3-BApj252U.js} +7 -7
- package/dist/assets/{AllUserItems-CVZZU-J3-TfKbUj2d.js → AllUserItems-CVZZU-J3-COeMV7u0.js} +6 -6
- package/dist/assets/{ApAgingDetailPage-CoNxqskm-DFDFQfze.js → ApAgingDetailPage-CoNxqskm-0EjHKnBi.js} +1 -1
- package/dist/assets/{AppBasePage-CTGNzUtN-DSfPwIJw.js → AppBasePage-CTGNzUtN-BfaGtOzk.js} +4 -4
- package/dist/assets/{AppDrawerContent-59dQVUxu-C64nAWzc.js → AppDrawerContent-59dQVUxu-BnKh28FR.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-XEW5sdNg-BbhudnSk.js → ApprovalRulesSettingsPage-XEW5sdNg-LVlVZSHT.js} +1 -1
- package/dist/assets/{ArAgingChart-D3Ym4gVE-BqVBnPwY.js → ArAgingChart-D3Ym4gVE-DsJpAb8n.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-BLEJSLJJ-DwMAtZnW.js → ArAgingDetailPage-BLEJSLJJ-DBAkqt03.js} +1 -1
- package/dist/assets/{AttachmentView-DSP80cjm-UNIl1Ai8.js → AttachmentView-DSP80cjm-D7w4ZtT4.js} +7 -7
- package/dist/assets/{BankAccountSection-DRrNcA79-hP-Vs5m_.js → BankAccountSection-DRrNcA79-D0y5RgB_.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-Ub-gsfhE-CrMug0PW.js → BankAccountWarningSection-Ub-gsfhE-pvCiKI7-.js} +9 -9
- package/dist/assets/{BankConnectionsSettingsPage-BcTtJTbg-algC_RED.js → BankConnectionsSettingsPage-BcTtJTbg-ehD3_4Dh.js} +9 -9
- package/dist/assets/{BillDetailPage-D7AQyxwr-Cr5mMjBH.js → BillDetailPage-D7AQyxwr-e7SQTUJW.js} +2 -2
- package/dist/assets/{BillPayApprovalRuleDetailPage-BQWGENO8-OS81cubl.js → BillPayApprovalRuleDetailPage-BQWGENO8-qq4pmey1.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BbA1Nwqe-BwMbtGVn.js → BillPayApprovalRulesPage-BbA1Nwqe-3MsdZySS.js} +1 -1
- package/dist/assets/{BillPayPromoPage-DSTS_vBW-BNfdixF0.js → BillPayPromoPage-DSTS_vBW-Ce9u0nsw.js} +4 -4
- package/dist/assets/{BillPaySetUpPage-CvlVPVCA-C-Yq8DpY.js → BillPaySetUpPage-CvlVPVCA-CCbbdiQc.js} +1 -1
- package/dist/assets/{BillingSettingsPage-nKpHtd4C-Bnbrb4t9.js → BillingSettingsPage-nKpHtd4C-DLiPc2FT.js} +2 -2
- package/dist/assets/{BillsBulkReviewDrawerPage-DNHAoceL-Dw8wGAVZ.js → BillsBulkReviewDrawerPage-DNHAoceL-CthJ8Dd6.js} +1 -1
- package/dist/assets/{BoxItem-Bjv3WNXO-DVhc5wWw.js → BoxItem-Bjv3WNXO-d_9opxkd.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Bj4D9bX2-BIO97DuN.js → BusinessVerificationPage-Bj4D9bX2-DWX5ckwL.js} +7 -7
- package/dist/assets/CardNumberSubText-BYY-Inxd-VoZJjuBC.js +21 -0
- package/dist/assets/{CashbackDetailPage-D9UiTqp9-zR6MfAmm.js → CashbackDetailPage-D9UiTqp9-9Lz5t64N.js} +14 -14
- package/dist/assets/{ChargeCardDetailPage-C5EdiIyl-DLQH13JM.js → ChargeCardDetailPage-C5EdiIyl-C4UWTuR2.js} +24 -24
- package/dist/assets/{ChargeCardListPage-DZwz1qoD-C4LK4t_r.js → ChargeCardListPage-DZwz1qoD-B146-EXW.js} +14 -14
- package/dist/assets/{ChargeCardListTable-D5B05Z1F-BFq9lu6-.js → ChargeCardListTable-D5B05Z1F-BBBvhTcZ.js} +13 -13
- package/dist/assets/{ChargeCardPromoPage-CDJMtGJb-BonChypf.js → ChargeCardPromoPage-CDJMtGJb-3FYfKocS.js} +10 -10
- package/dist/assets/{ChargeCardSetupPage-CVV24gS9-Bz9Vbd0f.js → ChargeCardSetupPage-CVV24gS9-BSJi9V_M.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-CmjBoi5e-CP137h_S.js → ChargeCardStatementsPage-CmjBoi5e-maH5VKYN.js} +3 -3
- package/dist/assets/{CheckDepositDrawerPage-CYOhT5Qz-Ctri9wNN.js → CheckDepositDrawerPage-CYOhT5Qz-KAp7o68o.js} +10 -10
- package/dist/assets/{CollapsableReportTable-hL_Ycouc-B8J7Q_nq.js → CollapsableReportTable-hL_Ycouc-CWDILu02.js} +32 -32
- package/dist/assets/{CompanyOfficerDetailsSection-DR_6TlQa-eD8A7jcO.js → CompanyOfficerDetailsSection-DR_6TlQa-CaPRdQzP.js} +1 -1
- package/dist/assets/{CompanyPassportCard-B4chn7-Q-D5SPmBv_.js → CompanyPassportCard-B4chn7-Q-DdxULjSC.js} +1 -1
- package/dist/assets/{CompanyPassportPage-oT9HnnPQ-SX0lC40Z.js → CompanyPassportPage-oT9HnnPQ-Ca6G5119.js} +1 -1
- package/dist/assets/{CompleteProfile-BgH4v76Z-8UAVvvgt.js → CompleteProfile-BgH4v76Z-J-mh56N2.js} +1 -1
- package/dist/assets/ConfettiBurst-Cl6jHJ8H-C9SoFqPe.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-CW-u7pJU-p324jU3k.js → CreateOrEditVendorPage-CW-u7pJU-Bzg24rp1.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-D30M7ol4-DoXJ5bDN.js → CreditCardPaymentDrawerPage-D30M7ol4-CwaBYQLR.js} +101 -101
- package/dist/assets/{CurrencySelectField-DOCEstMc-DZU689ma.js → CurrencySelectField-DOCEstMc-BkHxR5HA.js} +3 -3
- package/dist/assets/{CustomerOnboardingActivationPage-DMPNjFL_-ku4Vuy0S.js → CustomerOnboardingActivationPage-DMPNjFL_-TbnD-4OG.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-SmOFmXBW-zEIEcSQa.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CBYo4VQn-Dn7fU-s8.js → CustomerOnboardingDetailPageSkeleton-CBYo4VQn-BujXWuJC.js} +8 -8
- package/dist/assets/{CustomerOnboardingNoStepsPage-EBVRCYfJ-CfvYqECa.js → CustomerOnboardingNoStepsPage-EBVRCYfJ-xtPONz37.js} +3 -3
- package/dist/assets/{CustomerOnboardingPage-TJK6s-LM-BKRL2lJB.js → CustomerOnboardingPage-TJK6s-LM-CsM-rW7t.js} +1 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-lNIP5gSu-D8leFJAq.js +202 -0
- package/dist/assets/{Dashboard-WiE9IRrh-Cv0kOt8p.js → Dashboard-WiE9IRrh-D3xuAsNG.js} +14 -14
- package/dist/assets/{DashboardReportPage-BKHl_IVD-C4Ea2qys.js → DashboardReportPage-BKHl_IVD-CMH5dEgW.js} +11 -11
- package/dist/assets/DashboardSidebarBackgroundAnimation-B1mJObim-DaBPsyhD.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-C8tChaJS-DUssbHtI.js → DepositAccTransactionItem-C8tChaJS-_jmc_rYW.js} +1 -1
- package/dist/assets/DepositAccTransactionListPage-B6px7upV-CQ8W1uho.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-BFQJmzYm-DdIUFkni.js +21 -0
- package/dist/assets/{DownloadOverlay-DB-qx46O-j8z4pSob.js → DownloadOverlay-DB-qx46O-BzRX_iWf.js} +1 -1
- package/dist/assets/{DrawerPage-Bha9ElcW-B8Be3mMf.js → DrawerPage-Bha9ElcW-B91lWMHe.js} +6 -6
- package/dist/assets/{EditPeoplePage-B6QD5Vld-jl0Ywq6s.js → EditPeoplePage-B6QD5Vld-DKZ4nB8f.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-EplOf2mP-0BJtsB6D.js → EditReimbursementDetailPage-EplOf2mP-u2YMFjY5.js} +1 -1
- package/dist/assets/{EntityDetailPage-5Cu1qehd-DbU14HUf.js → EntityDetailPage-5Cu1qehd-DEcgoDIq.js} +1 -1
- package/dist/assets/{EntitySummarySection-D6z6-dM7-CxR6H9p6.js → EntitySummarySection-D6z6-dM7-C8vqyJE6.js} +2 -2
- package/dist/assets/{ExpenseAutomationOverviewPage-DkoxczRc-Nhh5EsPg.js → ExpenseAutomationOverviewPage-DkoxczRc-BFmIjbbK.js} +15 -15
- package/dist/assets/{ExpenseAutomationPage-Na3XKgcg-v_T_dNPC.js → ExpenseAutomationPage-Na3XKgcg-BOy-W5HC.js} +1 -1
- package/dist/assets/{ExpressPayPage-DWGl_gml-BK4q9z9-.js → ExpressPayPage-DWGl_gml-BoP5Cs2z.js} +12 -12
- package/dist/assets/{FeaturePreviewPage-BgkpUPMm-CjuE-Vy6.js → FeaturePreviewPage-BgkpUPMm--0g5n3S4.js} +3 -3
- package/dist/assets/{FollowStepsSection-64oy2OLD-mYi4qCkY.js → FollowStepsSection-64oy2OLD-D3h0tFyq.js} +7 -7
- package/dist/assets/{GlobalReviewListPage-DHfTyj2C-jQOPvWvS.js → GlobalReviewListPage-DHfTyj2C-RnZ7xNb7.js} +12 -12
- package/dist/assets/{InformationCardStack-Dw3lhl2I-7einUDdd.js → InformationCardStack-Dw3lhl2I-i5Npg5-3.js} +1 -1
- package/dist/assets/{InsightsCardStack-BiEswY1Z-B0ppu_rT.js → InsightsCardStack-BiEswY1Z-DYRJcEae.js} +9 -9
- package/dist/assets/{InsightsSection-DvqCilqy-J94KiGaL.js → InsightsSection-DvqCilqy-BsxjZx3R.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-DzVYf5ff-EFzWzTcS.js → IntegrationsSettingsPage-DzVYf5ff-Qz_64-AR.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-DTHcuQsH-DCnTBpNn.js → InternationalWireSwiftDetailsPage-DTHcuQsH-LkhNT71n.js} +11 -11
- package/dist/assets/{InternationalWireVerificationPage-BzyRqd-m-CtMekcQE.js → InternationalWireVerificationPage-BzyRqd-m-Bs1sKcFl.js} +7 -7
- package/dist/assets/{InviteFormPage-CaJB3ss1-BX5i7EqT.js → InviteFormPage-CaJB3ss1-DDpF9vZd.js} +17 -17
- package/dist/assets/{InvitePageListView-8Ltt8tHx-CtYoDyrk.js → InvitePageListView-8Ltt8tHx-BVYRRTTO.js} +1 -1
- package/dist/assets/{InvitePeoplePage-A7oKAD7M-BQc_PdIV.js → InvitePeoplePage-A7oKAD7M-0hQ58v_R.js} +2 -2
- package/dist/assets/{InvoiceUploadSection-DomquLut-e92SA0tf.js → InvoiceUploadSection-DomquLut-C6XQxVf3.js} +5 -5
- package/dist/assets/{IssueChargeCardPage-DtIQ1Buk-DjM4t17X.js → IssueChargeCardPage-DtIQ1Buk-DVoIaqMD.js} +1 -1
- package/dist/assets/{LabeledAddressValue-B_9lh-_a-DIizmhzb.js → LabeledAddressValue-B_9lh-_a-BQeLvRQa.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-CC7T3qZQ-m9gvzhHo.js → LabeledAddressValueField-CC7T3qZQ-CjYkOklE.js} +2 -2
- package/dist/assets/LabeledControlledCheckBoxField-CeMM7Ci3-DVaYpdZO.js +16 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-DKD0oEl8-gq-eDRMt.js → LabeledCreatableSingleSelectField-DKD0oEl8-Cyxj1Kus.js} +3 -3
- package/dist/assets/{LabeledDocumentField-Dy3jwAiL-49YAoImC.js → LabeledDocumentField-Dy3jwAiL-XoHwubm3.js} +3 -3
- package/dist/assets/{LabeledDropDownFormattedTextField-DDzM3r6s-ECrfBFdw.js → LabeledDropDownFormattedTextField-DDzM3r6s-Wztx4Tcl.js} +1 -1
- package/dist/assets/{LabeledText-axaAGyUS-Dng_AeMD.js → LabeledText-axaAGyUS-BpEJBxD4.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-Bns3vXLL.js → LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-CeEZ7NWG.js} +17 -17
- package/dist/assets/{LabeledZeniRolesDropDownField-dpz7g9jK-BS9FUIQq.js → LabeledZeniRolesDropDownField-dpz7g9jK-1OORssNe.js} +9 -9
- package/dist/assets/{LinkJETransactionPage-CJniqVcu-DlmRVmek.js → LinkJETransactionPage-CJniqVcu-BUqqOVZ3.js} +3 -3
- package/dist/assets/{LockCardPage-CjO8cr2a-_f0132IP.js → LockCardPage-CjO8cr2a-B7T-NUky.js} +12 -12
- package/dist/assets/{LowBalancePopup-DVS-w3b7-DP0lgN2T.js → LowBalancePopup-DVS-w3b7-CXJHrLHV.js} +2 -2
- package/dist/assets/MagicLinkACHDetailsPage-CUHMKmcj-DbWiJSy4.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dnc7OzKQ-S_MOFfkp.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-sBpQkYwP-B_hpFhv2.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-DAAoq3iT-c3oKtr_f.js → MagicLinkSuccessPage-DAAoq3iT-C_Yyw67d.js} +6 -6
- package/dist/assets/MagicLinkTitleSection-FMRBLlRJ-BJi3iHKO.js +17 -0
- package/dist/assets/MailingDetailsSection-CiJ5JLA6-Dh-rh1lg.js +21 -0
- package/dist/assets/Menu-wpP8R1br-CAapPWSw.js +17 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-DIIFgnkE-CogNLqVY.js → MyBankConnectionsSettingsPage-DIIFgnkE-BP3xfm53.js} +2 -2
- package/dist/assets/{MyPendingActivationChargeCardListPage-Di_KYRgS-DRNBLhDG.js → MyPendingActivationChargeCardListPage-Di_KYRgS-Ci2uuBdO.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-m6vaeGgZ-chnTYzOu.js → MyProfileSettingsPage-m6vaeGgZ-CzB44LiA.js} +4 -4
- package/dist/assets/{NavBarWithPicker-C_qO8mgD-DUpFfabv.js → NavBarWithPicker-C_qO8mgD-BWszQoIE.js} +4 -4
- package/dist/assets/{NavigationArrow-BXYIj6Wz-DziJLhPd.js → NavigationArrow-BXYIj6Wz-B7qUUnjS.js} +8 -8
- package/dist/assets/{NavigationDots-BvKSgdgh-LQiuRx4x.js → NavigationDots-BvKSgdgh-BXw04_O_.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-Dc3xEoiZ-C2aDiu95.js → NewGlobalMerchantPage-Dc3xEoiZ-DB34-Ax1.js} +2 -2
- package/dist/assets/NoDataChart-C5ZP32zB-CMBnBikM.js +26 -0
- package/dist/assets/NoDataTable-BnBYE8p_-D99JCqJE.js +8 -0
- package/dist/assets/{NotFoundPage-CZ25GWwU-BIBXUzqs.js → NotFoundPage-CZ25GWwU-Bhr9smJg.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-DHvgj7Hu-D3suXG--.js → NotificationSettingsPage-DHvgj7Hu-D70wdxPy.js} +3 -3
- package/dist/assets/{NotificationsListConfig-BBLSv0sd-C4KCM8pw.js → NotificationsListConfig-BBLSv0sd-D3pDalXG.js} +1 -1
- package/dist/assets/{NotificationsPage-CGVEC-Zc-C8fq9c_9.js → NotificationsPage-CGVEC-Zc-aEkue81y.js} +14 -14
- package/dist/assets/{OpExByVendorPage-D55JZne--D9xmj7rz.js → OpExByVendorPage-D55JZne--BA2gN_9D.js} +6 -6
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-D6qPPmeQ.js → OverlayContainerPage-Daz3A7cI-B2pRyPAw.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-fVmttEKP-D6Evs_k0.js → PandLWithForecastPage-fVmttEKP-Cpmbp3qS.js} +11 -11
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BiU8tQnm-4Kl9uXwr.js → PaymentAccountSetupBillingAddressSection-BiU8tQnm-_fnUz-j3.js} +5 -5
- package/dist/assets/{PeoplePage-QuuuX2AS-CUwuNLCQ.js → PeoplePage-QuuuX2AS-BJIGfeNN.js} +12 -12
- package/dist/assets/Preview-m-FcrQ0s.js +1 -0
- package/dist/assets/{ProductsCarousel-zdZkfaiY-CKycG9Wt.js → ProductsCarousel-zdZkfaiY-9riU76fC.js} +3 -3
- package/dist/assets/{PromoBaseCards-flFtcbIg-iLyc6jwq.js → PromoBaseCards-flFtcbIg-hQ-cGzbT.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-DNB2C1vQ-B6h7mZJt.js → QBOConnectionDialog-DNB2C1vQ-B-m0Orif.js} +2 -2
- package/dist/assets/{QBOSetupSection-B59etoGz-Dx4Hkrje.js → QBOSetupSection-B59etoGz-BjsJ5dP9.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-D7do3o0A-DaR0xdJA.js → ReimbursementApprovalRuleDetailPage-D7do3o0A-ZSNYROgC.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BJ6GewQ2-D7efVmkv.js → ReimbursementApprovalRulesPage-BJ6GewQ2-cn7dx9_x.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-DKAtYSOy-C-uqjyM_.js → ReimbursementDetailPage-DKAtYSOy-rPi_28qO.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-DKcSHlHp-XcrUKScH.js → ReimbursementPromoPage-DKcSHlHp-B-x2_K1K.js} +9 -9
- package/dist/assets/{ReimbursementSetUpPage-Y1e_hna--rh2VyUST.js → ReimbursementSetUpPage-Y1e_hna--CWaIrVmZ.js} +5 -5
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-fgz8s4w9-CzZAxGly.js → ReimbursementsBulkReviewDrawerPage-fgz8s4w9-BgzjXAGE.js} +1 -1
- package/dist/assets/{ReloadCard-DjtdPHq5-BoSxtWCb.js → ReloadCard-DjtdPHq5-qE-nJEXk.js} +3 -3
- package/dist/assets/{ReportTableViewSelector-C8e6IEWt-BJN3fro7.js → ReportTableViewSelector-C8e6IEWt--jlW7QpR.js} +1 -1
- package/dist/assets/{ReportsPage-BIe0eDLC-D5ygJVqP.js → ReportsPage-BIe0eDLC-Cn2-db9t.js} +3 -3
- package/dist/assets/{RevenueChart-Cc0XrxLL-BB6kfchw.js → RevenueChart-Cc0XrxLL-RTOUbgfW.js} +30 -30
- package/dist/assets/{ReviewDetailsPage-CU1AYWgR--SOiatSS.js → ReviewDetailsPage-CU1AYWgR-BCcFVvxj.js} +17 -17
- package/dist/assets/{ReviewOverlay-CruJ9O84-BdMFQyaH.js → ReviewOverlay-CruJ9O84-CVyRQtbr.js} +1 -1
- package/dist/assets/{RoleWithToolTip-fC3byzzv-DteZC2-q.js → RoleWithToolTip-fC3byzzv-Da5EXkAB.js} +6 -6
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CE3tUYhk-Aj3mnuFr.js → ScheduleDetailsFixedAssetsPage-CE3tUYhk-NtG2QTRz.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-BhAqJ1Of-BNYzMpaE.js → ScheduleDetailsPage-BhAqJ1Of-D1IstsCs.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-NSt1juSD-BtySotUK.js → ScheduleSequenceTable-NSt1juSD-BKLbxQMq.js} +21 -21
- package/dist/assets/{ScreenRoutes-Ofrn7XPK.js → ScreenRoutes-CWkpMCjL.js} +75 -75
- package/dist/assets/SetUpAccountSection-C1EnJv1V-Cvu34ipQ.js +378 -0
- package/dist/assets/{SignIn-BhIof_Cm-Stp0fHNQ.js → SignIn-BhIof_Cm-DeDZlCNC.js} +1 -1
- package/dist/assets/SignInScreen-Cihieu4J.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-BEWNNX_Z-Qf8TDCkQ.js → SpendManagementListViewPage-BEWNNX_Z-j_tiMoWb.js} +4 -4
- package/dist/assets/{SpendManagementPerTabPage-Vs1Eoxgd-DGhcXeqs.js → SpendManagementPerTabPage-Vs1Eoxgd-DfGQnSHO.js} +20 -20
- package/dist/assets/{SpendManagementSection-C38Zpi1z-Hvu4v5m7.js → SpendManagementSection-C38Zpi1z-B-GaQ2j9.js} +10 -10
- package/dist/assets/{StatementItem-bHInVThd-BfGU3kqj.js → StatementItem-bHInVThd-CsJa48J1.js} +2 -2
- package/dist/assets/{StatementsPage-CGQhmaXx-CVtkQqM2.js → StatementsPage-CGQhmaXx-CawRkQvA.js} +1 -1
- package/dist/assets/{StatusSwitcher-7fiKLb5g-cQtYU__8.js → StatusSwitcher-7fiKLb5g-B_2JeKNK.js} +1 -1
- package/dist/assets/{SubTabSwitcher-9AnfZiNy-CobTdTqd.js → SubTabSwitcher-9AnfZiNy-vCnU7WF-.js} +3 -3
- package/dist/assets/{SummaryCard-DOycYLs1-BLeRuOD7.js → SummaryCard-DOycYLs1-CaQB1fqx.js} +1 -1
- package/dist/assets/{TaskManagementPage-CehyMnY0-BwJtO-U4.js → TaskManagementPage-CehyMnY0-Cue4tauF.js} +10 -10
- package/dist/assets/{TimeRangeSwitcher-Dq2FEgFR-DmMi5La_.js → TimeRangeSwitcher-Dq2FEgFR-D3AQaZI-.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-By3xz_-m-1CBF6COV.js → TimeframeSwitcher-By3xz_-m-Bv71ZHom.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-a3fmbzNR-B9R7QlVw.js → TimeframeSwitcherWithToggle-a3fmbzNR-DZx2FqjJ.js} +3 -3
- package/dist/assets/{TopExCard-GEQpp_KY-74e79UYx.js → TopExCard-GEQpp_KY-BIUWKmJn.js} +4 -4
- package/dist/assets/{TopExDetailPage-hid1dQYl-WgHXC6hE.js → TopExDetailPage-hid1dQYl-vzpcxnkQ.js} +9 -9
- package/dist/assets/{TransactionDetailPage-CX4JW9WM-DyZTJ1bq.js → TransactionDetailPage-CX4JW9WM-BshlnJb5.js} +3 -3
- package/dist/assets/{TransactionList-BixeXh4Y-Il163hc_.js → TransactionList-BixeXh4Y-DpKuzYhu.js} +13 -13
- package/dist/assets/{TransactionListBig-CGMMJQBd-KQNhkGbE.js → TransactionListBig-CGMMJQBd-CPWLJgiW.js} +7 -7
- package/dist/assets/{TransactionListPage-CBVUTX4y-DWsla1LN.js → TransactionListPage-CBVUTX4y-CTzBsfwd.js} +5 -5
- package/dist/assets/{TransactionVendorDetailPage-CEbHH_0r-CS6QQqEG.js → TransactionVendorDetailPage-CEbHH_0r-B2rNZ7e8.js} +4 -4
- package/dist/assets/{TransferDrawerPage-BFd7uQnF-AGu3EQB7.js → TransferDrawerPage-BFd7uQnF-BDnFaRJN.js} +32 -32
- package/dist/assets/{TreasuryOverviewPage-Bd58hOy8-P3TIcDYG.js → TreasuryOverviewPage-Bd58hOy8-COabKjkh.js} +28 -28
- package/dist/assets/{TreasuryPromoPage-BvArufHi-B6OSOn5z.js → TreasuryPromoPage-BvArufHi-mIhWyHJJ.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-YLCEBbRh-BeAedV0-.js → TreasuryStatementsPage-YLCEBbRh-Hb92GX1G.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-D_6mgQqi-CO3HXioV.js → TreasuryTaxLetterPage-D_6mgQqi-YEx3tems.js} +1 -1
- package/dist/assets/{TrendChart-D3dT6hUb-CRyvw86n.js → TrendChart-D3dT6hUb-BmrIV_Lt.js} +3 -3
- package/dist/assets/{TrendWithTransactions-Gj-u5KXi-CpckXM1N.js → TrendWithTransactions-Gj-u5KXi-_cLHr6Sd.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-B3eRYolj-D-Jwo7-l.js → UncategorizedAccountsMappingPage-B3eRYolj-BupHpvxs.js} +3 -3
- package/dist/assets/{UnitIntegrationPage-DpjR9hUu-BIdCIf5k.js → UnitIntegrationPage-DpjR9hUu-Bkk7bekK.js} +4 -4
- package/dist/assets/UploadAdditionalDocumentOverlay-COtszXUY-DeW-OEQ-.js +38 -0
- package/dist/assets/Vendor2FAPopup-C85mhuSb-Ci-aokF3.js +1 -0
- package/dist/assets/VendorACHDetailsPage-DeexeWpV-PyPL7qy9.js +1 -0
- package/dist/assets/{VendorDetailPage-BrbKfsL4-BYuDBwtU.js → VendorDetailPage-BrbKfsL4-C5yq1wZE.js} +86 -86
- package/dist/assets/VendorDomesticWireDetailsPage-DBChSKlR-DfQ9uMtB.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-DgBLn3fd-DyXTQ39Q.js → VendorFiling1099EditablePage-DgBLn3fd-yxfQxsgz.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-jc7-OExI-CcNlKzIr.js → VendorFirstReviewPage-jc7-OExI-CXLfVnQg.js} +58 -58
- package/dist/assets/{VendorInternationalWireDetailsPage-c6isgwH2-CfXEdhbK.js → VendorInternationalWireDetailsPage-c6isgwH2-rWvjTHMm.js} +7 -7
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CywCx8-0-toI88yyC.js +1 -0
- package/dist/assets/{VendorsAccountsSection--VfdAF3H-aooc9xax.js → VendorsAccountsSection--VfdAF3H-C0MWVdaQ.js} +2 -2
- package/dist/assets/{VerifyDevice-CaifjdR8-CqDImdvA.js → VerifyDevice-CaifjdR8-oDnQadr1.js} +1 -1
- package/dist/assets/VideoPlayer-BVR9LPmm-C0OY9hGQ.js +78 -0
- package/dist/assets/{VideoPopup-BEXc8o78-CxvDyO3n.js → VideoPopup-BEXc8o78-BfKdRFKO.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-CboqfxzC-BsdL63Q1.js → WarningsDrawerPage-CboqfxzC-Df6JGLWB.js} +4 -4
- package/dist/assets/{ZeniAccountDetailPage-Dujj0-XC-Bs0_mCxO.js → ZeniAccountDetailPage-Dujj0-XC-D3Dn9J7C.js} +21 -21
- package/dist/assets/{ZeniAccountListViewPage--SMJDGvC-B9VB-g9k.js → ZeniAccountListViewPage--SMJDGvC-D8iSNbC5.js} +1 -1
- package/dist/assets/ZeniAccountNavBarPieces-DqLJVQ5t-CpI_x0eJ.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-BVjJvWsA-D_izrQ3u.js → ZeniAccountPromoPage-BVjJvWsA-eagcbJWN.js} +6 -6
- package/dist/assets/{ZeniAccountSetupPage-Dvxst8RT-Dw_0q67c.js → ZeniAccountSetupPage-Dvxst8RT-RZ48F_0V.js} +1 -1
- package/dist/assets/{ZeniCopyright-B88k3pkr-D_GBhPtz.js → ZeniCopyright-B88k3pkr-CwZenhhP.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-1DS0MsTI-DcvYtFGr.js +63 -0
- package/dist/assets/add-to-wallet-DgdBD8_G-B14A9z81.js +1 -0
- package/dist/assets/{analytics-CHPpxU3b.js → analytics-C6L7hlHG.js} +1 -1
- package/dist/assets/analyticsHelper-DKc66BYi.js +1 -0
- package/dist/assets/{analyticsHelper-DmujELNG-B2_5NV-p.js → analyticsHelper-DmujELNG-ClL2XzYx.js} +1 -1
- package/dist/assets/arrow-south-east-round-PEovUgvH-4-pP5pik.js +1 -0
- package/dist/assets/auto-transfer-rule-mbafm5D3-D30iL0YR.js +1 -0
- package/dist/assets/{chartTypes-DRiSljvE-CN4L62GH.js → chartTypes-DRiSljvE-CrLsLRjf.js} +1 -1
- package/dist/assets/{commonDimensions-BDftm0gJ-DyUDFvZC.js → commonDimensions-BDftm0gJ-Bk927TMF.js} +1 -1
- package/dist/assets/constants-B1dh_xIn.js +1 -0
- package/dist/assets/core-CadaPWsO.js +62 -0
- package/dist/assets/{dash.all.min-Bzta_mrR.js → dash.all.min-BwAm2K21.js} +1 -1
- package/dist/assets/{detailCommon-BGgE4mE3-D-w4kHC7.js → detailCommon-BGgE4mE3-BEh9p6sH.js} +3 -3
- package/dist/assets/{downloadPdf-DCQ9vVZs-Be80rXL-.js → downloadPdf-DCQ9vVZs-DnysTBvz.js} +1 -1
- package/dist/assets/empty-BVIRhP6J.js +1 -0
- package/dist/assets/empty-Co20hejg.js +1 -0
- package/dist/assets/epic-IoIkBJiH.js +2 -0
- package/dist/assets/gift-box-Cmt9OgIZ-B8pnTsjV.js +1 -0
- package/dist/assets/graphic-no-data-l-DU4J8fDt-CgpIivOh.js +1 -0
- package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-Bbm3dmZD.js +1 -0
- package/dist/assets/handshake-BPg58FML-BttIiMDC.js +1 -0
- package/dist/assets/{hls-SyH7Grr1.js → hls-DifHSkbp.js} +1 -1
- package/dist/assets/{index-BiiqfeFx.js → index-4dPdvww9.js} +1 -1
- package/dist/assets/index-6sWe2DhR.js +1 -0
- package/dist/assets/{index-DJLrbf0F.js → index-CiMyMhgu.js} +98 -98
- package/dist/assets/index-CnYBBjVQ.js +1 -0
- package/dist/assets/{index-BG_bOyH4.js → index-DBJcoW1J.js} +3 -3
- package/dist/assets/index-sRtT3LWH.js +1 -0
- package/dist/assets/index-sbaC-tND.js +1 -0
- package/dist/assets/{lexical-dZFDzIA1.js → lexical-DEI4_j9X.js} +1 -1
- package/dist/assets/{liveblocks-C2I4vRCJ.js → liveblocks-D92pTRaw.js} +28 -20
- package/dist/assets/lottie-Dv5hJ5mA.js +9 -0
- package/dist/assets/{mapLoadingInProgressToTreeNode-CXP8ZZTG-DkaL-N2A.js → mapLoadingInProgressToTreeNode-CXP8ZZTG-vSJ6j19m.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BZSP-VcP-BuUbTOqM.js → mapSectionWithAcOnlyToTreeNode-BZSP-VcP-CrMDUoxM.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-Bc1S_1ej-BOT7FVTB.js → mapSpacerToTreeNode-Bc1S_1ej-BemzQbL5.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-ClgcHX26-Cs9gyyXd.js → mapTimeframeBalancesToTreeNode-ClgcHX26-Bi0tXnM_.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Cwp98PMa-tz5P0V5W.js → mapTimeframeBalancesToTreeNode-Cwp98PMa-DQxUPxNn.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-Bmf8af15.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-FlWaHbgN.js} +1 -1
- package/dist/assets/mui-D2MqZYRi.js +17 -0
- package/dist/assets/page-detail-CWX5S47F-CycRTeYU.js +1 -0
- package/dist/assets/radio-default-CiSgisfh-C3-g-fgb.js +1 -0
- package/dist/assets/{react-D9gRIIQJ.js → react-B3z6gyiL.js} +2 -2
- package/dist/assets/react-Bbwv1dSd.js +17 -0
- package/dist/assets/{react-CurU10nF.js → react-BnUDmuTB.js} +3 -3
- package/dist/assets/{react-B2Dtpj08.js → react-Bv_vNAf8.js} +2 -2
- package/dist/assets/{react-C5CamjHm.js → react-CSxJXI_i.js} +2 -2
- package/dist/assets/{react-BuuImry8.js → react-CeQlQsdb.js} +1 -1
- package/dist/assets/{react-KsUvriAa.js → react-D2dXMlhh.js} +2 -2
- package/dist/assets/{react-PdDuKQQV.js → react-UOVhoe0Z.js} +1 -1
- package/dist/assets/recharts-t7V-Kaqf.js +73 -0
- package/dist/assets/sentry-DMKAGVXl.js +515 -0
- package/dist/assets/shield-DOlUxcFf-DKC5YbXI.js +1 -0
- package/dist/assets/{toCOABalancesWithID--oEGymMJ-DrPkDPTu.js → toCOABalancesWithID--oEGymMJ-DIxvxTaj.js} +1 -1
- package/dist/assets/toChartData-CavJzP6f-Bu_YRbEM.js +1 -0
- package/dist/assets/transaction-placeholder-CpOwZAMG-BdGoUwcv.js +1 -0
- package/dist/assets/{uploadAttachment-BuVCsq0Q-BB-5S1Qg.js → uploadAttachment-BuVCsq0Q-C2wm0oAH.js} +7 -7
- package/dist/assets/{uploadReceipts-CPw64UYa-DU-gRzOR.js → uploadReceipts-CPw64UYa-BgNLcFfw.js} +1 -1
- package/dist/assets/url-CnqqWgIy.js +1 -0
- package/dist/assets/{url-RUB1rBsd.js → url-DsW1BPwo.js} +1 -1
- package/dist/assets/useLongPress-GCK2COYQ-DVYx_Wdi.js +1 -0
- package/dist/assets/usp-line-BBd1wKwW-D20AQITY.js +1 -0
- package/dist/assets/{utils-DUsHM-Uc.js → utils-BWiizB9D.js} +19 -19
- package/dist/assets/{zeni-epic-state-CQt4n3Xe.js → zeni-epic-state-DjAFCaxy.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/ACHDetailsPage-B6sY0jN6-B0gf8H4B.js +0 -21
- package/dist/assets/AddAddressForCardDrawer-BuAtFO1w-BFBt3SFQ.js +0 -6
- package/dist/assets/CardNumberSubText-BYY-Inxd-BdlFsn4_.js +0 -21
- package/dist/assets/ConfettiBurst-Cl6jHJ8H-LC2meCe-.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-SmOFmXBW-DTgF2r26.js +0 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-lNIP5gSu-PR2itKHa.js +0 -202
- package/dist/assets/DashboardSidebarBackgroundAnimation-B1mJObim-BrrhB9xn.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-B6px7upV-CeIhvwtb.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-BFQJmzYm-RX-JpFy3.js +0 -21
- package/dist/assets/LabeledControlledCheckBoxField-CeMM7Ci3-mZLzoQGL.js +0 -16
- package/dist/assets/MagicLinkACHDetailsPage-CUHMKmcj-B4JK6Tsk.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dnc7OzKQ-CjkHVZHo.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-sBpQkYwP-BFgoRuDp.js +0 -1
- package/dist/assets/MagicLinkTitleSection-FMRBLlRJ-BOWrScDm.js +0 -17
- package/dist/assets/MailingDetailsSection-CiJ5JLA6-DddwOxAo.js +0 -21
- package/dist/assets/Menu-wpP8R1br-CxnIQs8p.js +0 -17
- package/dist/assets/NoDataChart-C5ZP32zB-Co6FSXzL.js +0 -26
- package/dist/assets/NoDataTable-BnBYE8p_-CiELOEE2.js +0 -8
- package/dist/assets/Preview-D0lKYz6_.js +0 -1
- package/dist/assets/SetUpAccountSection-C1EnJv1V-nWkvB51T.js +0 -378
- package/dist/assets/SignInScreen-ApNcuhAj.js +0 -1
- package/dist/assets/UploadAdditionalDocumentOverlay-COtszXUY-DBj80beJ.js +0 -38
- package/dist/assets/Vendor2FAPopup-C85mhuSb-SCWhQlz7.js +0 -1
- package/dist/assets/VendorACHDetailsPage-DeexeWpV-CvETHK8j.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-DBChSKlR-4iWeRYsC.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CywCx8-0-BWyYdePs.js +0 -1
- package/dist/assets/VideoPlayer-BVR9LPmm-Cf1X7mgb.js +0 -78
- package/dist/assets/ZeniAccountNavBarPieces-DqLJVQ5t-B6EqVL37.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-1DS0MsTI-D_vM8ORb.js +0 -63
- package/dist/assets/add-to-wallet-DgdBD8_G-DvwlYBb0.js +0 -1
- package/dist/assets/analyticsHelper-D88-Oppk.js +0 -1
- package/dist/assets/arrow-south-east-round-PEovUgvH-D9klpzRU.js +0 -1
- package/dist/assets/auto-transfer-rule-mbafm5D3-CHCjFoIN.js +0 -1
- package/dist/assets/constants-B4Ak6U9p.js +0 -1
- package/dist/assets/core-CA3j8Axi.js +0 -77
- package/dist/assets/empty-CrPfQgao.js +0 -1
- package/dist/assets/empty-Dn000SHy.js +0 -1
- package/dist/assets/epic-C_I3d-Sx.js +0 -2
- package/dist/assets/gift-box-Cmt9OgIZ-eSACml6z.js +0 -1
- package/dist/assets/graphic-no-data-l-DU4J8fDt-BzIPOWHn.js +0 -1
- package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-CtBcTNoa.js +0 -1
- package/dist/assets/handshake-BPg58FML-DvA7MfJg.js +0 -1
- package/dist/assets/index-BWZriWwb.js +0 -1
- package/dist/assets/index-C-ypGNlB.js +0 -1
- package/dist/assets/index-C4-PHmb9.js +0 -1
- package/dist/assets/index-C5fdNIhc.js +0 -1
- package/dist/assets/lottie-B7mXQ-R-.js +0 -9
- package/dist/assets/mui-DpJXlk4t.js +0 -25
- package/dist/assets/page-detail-CWX5S47F-Byx36A1h.js +0 -1
- package/dist/assets/radio-default-CiSgisfh-HcY1qXLg.js +0 -1
- package/dist/assets/react-B7zczQTC.js +0 -17
- package/dist/assets/recharts-BGdJnVo5.js +0 -73
- package/dist/assets/sentry-BA4piVNf.js +0 -500
- package/dist/assets/shield-DOlUxcFf-DciCHlJY.js +0 -1
- package/dist/assets/toChartData-CavJzP6f-B2iIF7nP.js +0 -1
- package/dist/assets/transaction-placeholder-CpOwZAMG-2yCTNaDx.js +0 -1
- package/dist/assets/url-Bq2XNMnM.js +0 -1
- package/dist/assets/useLongPress-GCK2COYQ-Ch-mrcwO.js +0 -1
- package/dist/assets/usp-line-BBd1wKwW-BZdA9pHf.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as A,V as a,F as D,q as de,
|
|
1
|
+
import{d as A,V as a,F as D,q as de,b1 as Q,c as I,b as M,aV as J,o as m,aM as Ae,p as g,aA as Ve,y as xe,bJ as ge,ak as R,bK as V,b8 as F}from"./index-CiMyMhgu.js";import{a as P,S as ee}from"./sentry-DMKAGVXl.js";import{n as x}from"./mui-D2MqZYRi.js";import{p as b,d as ae,y as W,b as N,g as re,u as T}from"./chartTypes-DRiSljvE-CrLsLRjf.js";import{i as K,h as oe,c as G}from"./toCOABalancesWithID--oEGymMJ-DIxvxTaj.js";import{V as Z}from"./toChartData-CavJzP6f-Bu_YRbEM.js";import{H as Te,I as te,X as le,Y as ne,J as ce,L as pe,K as se,M as me,N as fe}from"./recharts-t7V-Kaqf.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]="116dbca2-0973-45bb-9dcb-f4d21bf0bc51",e._sentryDebugIdIdentifier="sentry-dbid-116dbca2-0973-45bb-9dcb-f4d21bf0bc51")}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};
|
|
@@ -13,23 +13,23 @@ import{d as A,V as a,F as D,q as de,aK as Ae,b1 as Q,c as I,b as M,aV as J,o as
|
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
padding: ${m.sp3};
|
|
15
15
|
background-color: ${e=>e.theme.colors.black};
|
|
16
|
-
`,Xe=x(
|
|
16
|
+
`,Xe=x(R)`
|
|
17
17
|
color: ${e=>e.color??g.neutralGrey2Light};
|
|
18
18
|
text-align: left;
|
|
19
19
|
display: flex;
|
|
20
20
|
align-items: center;
|
|
21
21
|
justify-content: space-between;
|
|
22
|
-
`,qe=x(
|
|
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
|
-
`,Ue=x(
|
|
28
|
+
`,Ue=x(R)`
|
|
29
29
|
text-align: left;
|
|
30
|
-
`,Ze=x(
|
|
30
|
+
`,Ze=x(R)`
|
|
31
31
|
text-align: right;
|
|
32
|
-
`,Qe=({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:`${
|
|
32
|
+
`,Qe=({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)),Je=e=>{const r=Qe({...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(Je),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 s=b("cash_in","actual"),c=b("cash_out","actual"),f=b("net_cash_flow","actual"),p=l.length>0?s:i.length>0?c:void 0,d={};return d[s]=l,d[c]=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{d as A,V as a,F as D,q as de,aK as Ae,b1 as Q,c as I,b as M,aV as J,o as
|
|
|
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
|
|
45
|
+
`;function Tr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,onCOABalancesRangeChanged:h}){const s=A(),c=P.useRef(!1);P.useEffect(()=>{c.current=!0},[]);const f=[s.colors.graphColor33,s.colors.graphColor36,s.colors.graphColor35],p=(_,w=s.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&&!c.current;_.push(a.jsx(se,{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:s,onCOABalancesRangeChanged:c})=>{const f=de(),p=A(),d=e.timeseries,y=ae(e),_=d.map($=>$.label),w=h!==!1,C=$=>{if(!s||$?.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}};c?.(d[v],r,S)},L=s?(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(Q,{children:({height:$,width:k})=>a.jsxs(Te,{data:e.recordByTimeseries,barCategoryGap:s?void 0:"12%",maxBarSize:s?I[10]:22,barGap:s?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=>J("0,0.[00]a",v,y)}),a.jsx(ce,{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,s?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;
|
|
@@ -51,16 +51,16 @@ import{d as A,V as a,F as D,q as de,aK as Ae,b1 as Q,c as I,b as M,aV as J,o as
|
|
|
51
51
|
flex-direction: column;
|
|
52
52
|
padding: ${m.sp3};
|
|
53
53
|
background-color: ${e=>e.theme.colors.black};
|
|
54
|
-
`,
|
|
54
|
+
`,ca=x(R)`
|
|
55
55
|
color: ${e=>e.color??g.neutralGrey2Light};
|
|
56
56
|
text-align: left;
|
|
57
57
|
display: flex;
|
|
58
58
|
align-items: center;
|
|
59
59
|
justify-content: space-between;
|
|
60
|
-
`,
|
|
60
|
+
`,sa=({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=sa(e);return r.length===0?null:a.jsx(la,{children:a.jsx(na,{children:r.map((t,n)=>a.jsx(ca,{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
|
|
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 s=A(),c=P.useRef(!1);P.useEffect(()=>{c.current=!0},[]);const f=ha(e.firstMonthOfFY,Ce,e.cashPosition),p=()=>{const d=[];return Ce.forEach(y=>{const _=i===!0&&!c.current;d.push(a.jsx(se,{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:s.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:s,onCOABalancesRangeChanged:c})=>{const f=A(),p=e.timeseries,d=ae(e),y=p.map(L=>L.label),_=h!==!1,w=L=>{if(!s||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}};c?.(p[k],r,j)},C=s?(l-60)/W.cash_position*(W.cash_position-e.recordByTimeseries.length):20;return a.jsx(da,{width:l,height:i,children:a.jsx(Q,{children:({height:L,width:$})=>a.jsxs(Te,{width:$,height:L,data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:s?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=>J("0,0.[00]a",k,d)}),a.jsx(ce,{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;
|
|
@@ -98,21 +98,21 @@ import{d as A,V as a,F as D,q as de,aK as Ae,b1 as Q,c as I,b as M,aV as J,o as
|
|
|
98
98
|
flex-direction: column;
|
|
99
99
|
padding: ${m.sp3};
|
|
100
100
|
background-color: ${e=>e.theme.colors.black};
|
|
101
|
-
`,Ne=x(
|
|
101
|
+
`,Ne=x(R)`
|
|
102
102
|
color: ${e=>e.color??g.neutralGrey2Light};
|
|
103
103
|
text-align: left;
|
|
104
104
|
display: flex;
|
|
105
105
|
justify-content: space-between;
|
|
106
106
|
${e=>e.showPercent?"flex-start":"center"};
|
|
107
|
-
`,Ie=x(
|
|
107
|
+
`,Ie=x(R)`
|
|
108
108
|
background-color: ${e=>e.color};
|
|
109
109
|
height: 12px;
|
|
110
110
|
width: 12px;
|
|
111
111
|
display: inline-block;
|
|
112
112
|
margin-right: ${m.sp2};
|
|
113
|
-
`,Ca=x(
|
|
113
|
+
`,Ca=x(R)`
|
|
114
114
|
text-align: left;
|
|
115
|
-
`,ja=x(
|
|
115
|
+
`,ja=x(R)`
|
|
116
116
|
text-align: left;
|
|
117
117
|
width: 120px;
|
|
118
118
|
`,va=x.div`
|
|
@@ -128,7 +128,7 @@ import{d as A,V as a,F as D,q as de,aK as Ae,b1 as Q,c as I,b as M,aV as J,o as
|
|
|
128
128
|
`,ve=x(F)`
|
|
129
129
|
display: flex;
|
|
130
130
|
flex-direction: column;
|
|
131
|
-
`,ke=x(H)``,ka=(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=Math.floor((n.amount-o.amount)*100/100),i={...n,amount:l},h=o.amount!==0?Math.floor((n.amount-o.amount)/o.amount*100)/100:void 0;return{value:o,change:i,percent:h,forecastPercent:r.record[t].percentValue}},$a=({active:e,payload:r,mode:t})=>{const n=[],o={barName:D.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn,actual:void 0,color:g.neutralGrey2Dark,forecast:void 0};let l={amount:0,currencyCode:"",currencySymbol:""},i={amount:0,currencyCode:"",currencySymbol:""};const h=b("income","actual"),
|
|
131
|
+
`,ke=x(H)``,ka=(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=Math.floor((n.amount-o.amount)*100/100),i={...n,amount:l},h=o.amount!==0?Math.floor((n.amount-o.amount)/o.amount*100)/100:void 0;return{value:o,change:i,percent:h,forecastPercent:r.record[t].percentValue}},$a=({active:e,payload:r,mode:t})=>{const n=[],o={barName:D.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn,actual:void 0,color:g.neutralGrey2Dark,forecast:void 0};let l={amount:0,currencyCode:"",currencySymbol:""},i={amount:0,currencyCode:"",currencySymbol:""};const h=b("income","actual"),s=b("cogs","actual"),c=b("expenses","actual"),f=b("net_burn_or_income","actual");return r?.forEach(p=>{const d=p.name;if(e===!0){const y=p.payload,_=p.color,w=d!=null&&y.record[d]!=null?y.record[d].amount:void 0;let C;if(d.includes("forecast")!==!0)switch(t==="forecast_mode"&&(C=y.record[d]!=null?ka(d,y):void 0),d){case s:case c:w!=null&&(l.currencyCode===""?l={...w}:l.amount=l.amount+w.amount),C!=null&&(i.currencyCode===""?i={...C.value}:i.amount=i.amount+C.value.amount),n.push({barName:D.getLocalizedStrings().chartCard.netBurnOrIncome[N(d)],actual:w,forecast:C,color:_});break;case f:{const L=w!=null&&w.amount>=0?D.getLocalizedStrings().chartCard.netBurnOrIncome.net_income:D.getLocalizedStrings().chartCard.netBurnOrIncome.net_burn;n.push({barName:L,actual:w,color:_,percent:y.record[d]?.percentValue,forecast:C});break}case h:default:n.push({barName:D.getLocalizedStrings().chartCard.netBurnOrIncome[N(d)],actual:w,color:_,forecast:C})}}}),o.actual=l,o.forecast=i!=null&&l!=null?{value:i,change:{...l,amount:Math.floor((l.amount-i.amount)*100/100)},percent:i.amount!==0?Math.floor((l.amount-i.amount)/i.amount*100)/100:0}:void 0,e===!0&&n.splice(n.length-1,0,o),n},$e=e=>e.map((r,t)=>a.jsxs(Ne,{color:r.color,showPercent:r.percent!=null,children:[a.jsxs(Ca,{children:[a.jsx(Ie,{color:r.barName===D.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn?"transparent":r.color}),`${r.barName}:`]}),a.jsxs(va,{children:[a.jsx(je,{children:`${T(r.actual)}`}),r.percent!=null?a.jsx(je,{children:V("0,0.0%",r.percent)}):null]})]},r.barName+t)),we=e=>e.map((r,t)=>a.jsxs(Ne,{color:r.color,showPercent:r.percent!=null,children:[a.jsxs(ja,{children:[a.jsx(Ie,{color:r.barName===D.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn?"transparent":r.color}),`${r.barName}:`]}),a.jsx(H,{children:a.jsxs(ve,{children:[r.actual!=null?`${T(r.actual)}`:"-",a.jsx(ke,{children:r.percent!=null?V("0,0.0%",r.percent):null})]})}),a.jsx(H,{children:a.jsxs(ve,{children:[r.forecast!=null?`${T(r.forecast.value)}`:"-",a.jsx(ke,{children:r.forecast!=null&&r.forecast.forecastPercent!=null?V("0,0.0%",r.forecast.forecastPercent):null})]})}),r.forecast!=null?a.jsx(H,{isChange:!0,children:`${T(r.forecast.change)}`}):a.jsx(H,{children:"-"}),r.forecast!=null?a.jsx(H,{isChange:!0,children:V("0,0.0%",r.forecast.percent)}):a.jsx(H,{children:"-"})]},r.barName+t)),wa=e=>{if(e.length>0){for(const r of e)if(r.actual!=null)return r.actual.currencySymbol}return""},_a=({barLabelsWithValues:e})=>a.jsxs(ma,{children:[a.jsxs(fa,{children:[a.jsx(xa,{}),a.jsx(ie,{children:D.getLocalizedStrings().chartCard.tooltip.actual}),a.jsx(ie,{children:D.getLocalizedStrings().chartCard.tooltip.forecast}),a.jsxs(ie,{children:[D.getLocalizedStrings().chartCard.tooltip.change," ",wa(e)]}),a.jsx(ie,{children:D.getLocalizedStrings().chartCard.tooltip.change_percent})]}),a.jsxs(ya,{children:[we(e.slice(0,e.length-2)),e.length?a.jsx(We,{}):null,we(e.slice(-2))]})]}),La=({barLabelsWithValues:e})=>a.jsx(pa,{children:a.jsxs(ba,{children:[$e(e.slice(0,e.length-2)),e.length?a.jsx(We,{}):null,$e(e.slice(-2))]})}),Da=e=>{const r=$a({...e});return r.length===0?null:a.jsx(a.Fragment,{children:e.mode==="forecast_mode"?a.jsx(_a,{barLabelsWithValues:r}):a.jsx(La,{barLabelsWithValues:r})})},Sa=ee.memo(Da),Ba=(e,r,t,n,o,l,i)=>{let h=[],s=[],c=[],f=[];n!=null&&n.balances.length>0&&(h=K("income","actual",n)),o!=null&&o.balances.length>0&&(s=K("cogs","actual",o)),l!=null&&l.balances.length>0&&(c=G("expenses","actual",l)),i!=null&&i.balances.length>0&&(f=oe("net_burn_or_income","actual",i));const p=b("income","actual"),d=b("cogs","actual"),y=b("expenses","actual"),_=b("net_burn_or_income","actual"),w=h.length>0?p:s.length>0?d:c.length>0?y:void 0,C={};return C[p]=h,C[d]=s,C[y]=c,C[_]=f,t==="forecast_mode"&&Object.assign(C,Oa(n,o,l,i)),w!=null?Z(e,r,w,C):void 0},Oa=(e,r,t,n)=>{let o=[],l=[],i=[],h=[];e!=null&&e.balances.length>0&&(o=K("income","forecast",e)),r!=null&&r.balances.length>0&&(l=K("cogs","forecast",r)),t!=null&&t.balances.length>0&&(i=G("expenses","forecast",t)),n!=null&&n.balances.length>0&&(h=oe("net_burn_or_income","forecast",n));const s=b("income","forecast"),c=b("cogs","forecast"),f=b("expenses","forecast"),p=b("net_burn_or_income","forecast"),d={};return d[s]=o,d[c]=l,d[f]=i,d[p]=h,d},za=[b("income","actual"),b("cogs","actual"),b("expenses","actual"),b("net_burn_or_income","actual")],Pa=[b("income","actual"),b("cogs","actual"),b("expenses","actual"),b("net_burn_or_income","actual"),b("income","forecast"),b("cogs","forecast"),b("expenses","forecast"),b("net_burn_or_income","forecast")],Ra=x.div`
|
|
132
132
|
width: ${e=>e.width}px;
|
|
133
133
|
height: ${e=>e.height}px;
|
|
134
134
|
|
|
@@ -138,10 +138,10 @@ import{d as A,V as a,F as D,q as de,aK as Ae,b1 as Q,c as I,b as M,aV as J,o as
|
|
|
138
138
|
margin-right: ${m.sp0} !important;
|
|
139
139
|
}
|
|
140
140
|
}
|
|
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:
|
|
144
|
+
`;function Nr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:s}){const c=A(),f=P.useRef(!1);P.useEffect(()=>{f.current=!0},[]);const p=[c.colors.graphColor36,c.colors.graphColor06,c.colors.graphColor31,c.colors.graphColor12],d=[c.colors.graphColor04,c.colors.graphColor10,c.colors.graphColor32,c.colors.graphColor13,c.colors.graphColor04Dark,c.colors.graphColor10Dark,c.colors.graphColor32Dark,c.colors.graphColor13Dark],y=h==="forecast_mode"?d:p,_=h==="forecast_mode"?Pa:za,w=(u,j=c.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(se,{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:s,highlightedRange:t,isDetailPage:i===!0})}const Wa=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const f=de(),p=A(),d=ae(e),y=e.timeseries,_=y.map($=>$.label),w=h!==!1,C=$=>{if(!s||$?.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}};c?.(y[v],r,S)},L=s?(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(Q,{children:({height:$,width:k})=>a.jsxs(fe,{data:e.recordByTimeseries,barCategoryGap:s?void 0:"12%",maxBarSize:s?I[10]:22,barGap:s?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=>J("0,0.[00]a",v,d)}),a.jsx(ce,{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,s?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;
|
|
@@ -150,7 +150,7 @@ import{d as A,V as a,F as D,q as de,aK as Ae,b1 as Q,c as I,b as M,aV as J,o as
|
|
|
150
150
|
flex-direction: column;
|
|
151
151
|
padding: ${m.sp3};
|
|
152
152
|
background-color: ${e=>e.theme.colors.black};
|
|
153
|
-
`,_e=x(
|
|
153
|
+
`,_e=x(R)`
|
|
154
154
|
color: ${e=>e.color??g.neutralGrey2Light};
|
|
155
155
|
text-align: left;
|
|
156
156
|
`,ue=x.div`
|
|
@@ -163,7 +163,7 @@ import{d as A,V as a,F as D,q as de,aK as Ae,b1 as Q,c as I,b as M,aV as J,o as
|
|
|
163
163
|
width: 100%;
|
|
164
164
|
height: 1px;
|
|
165
165
|
background-color: ${g.neutralGrey3Dark};
|
|
166
|
-
`,Ga=x(
|
|
166
|
+
`,Ga=x(R)`
|
|
167
167
|
color: ${e=>e.color??g.neutralGrey2Light};
|
|
168
168
|
text-align: left;
|
|
169
169
|
display: flex;
|
|
@@ -186,21 +186,21 @@ import{d as A,V as a,F as D,q as de,aK as Ae,b1 as Q,c as I,b as M,aV as J,o as
|
|
|
186
186
|
flex-direction: column;
|
|
187
187
|
padding: ${m.sp3};
|
|
188
188
|
background-color: ${e=>e.theme.colors.black};
|
|
189
|
-
`,Va=x(
|
|
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(
|
|
195
|
+
`,Fa=({active:e,payload:r,barName:t})=>{const n=[];if(r!=null&&e===!0){const o=r.filter(s=>s.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 s;if(t.includes("forecast")!==!0){s=l.record[t]!=null?Ha(t,l):void 0;const c={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")?(c.amount+=l.record[p].amount?.amount??0,c.currencyCode=C!=null?C.currencyCode:c.currencyCode,c.currencySymbol=C!=null?C.currencySymbol:c.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((c?.amount-f?.amount)*100/100),y={...c,amount:d},_=f.amount!==0?Math.floor((c.amount-f.amount)/f.amount*100)/100:0,w={value:f,change:y,percent:_};n.push({barName:N(t),actual:h,forecast:s,color:i}),n.push({barName:D.getLocalizedStrings().chartCard.total,actual:c,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),Qa=(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 Ja=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 s=G(h.accountGroupName,"actual",h),c=b(h.accountGroupName,"actual");o[c]=s,n.push(c),l==null&&s.length>0&&(l=b(h.accountGroupName,"actual"))}):t!=null&&t.accounts.length!=0&&(i=!0,t.accounts.forEach(h=>{const s=G(h.account.accountName,"actual",h.account.balancesInTimeframe),c=b(h.account.accountName,"actual");o[c]=s,n.push(c),l==null&&s.length>0&&(l=b(h.account.accountName,"actual"))})),t!=null&&t.accountGroups.length===0&&t.accounts.length===0){const h=D.getLocalizedStrings().chartCard.total,s=G(h,"actual",t);if(s.length!==0){const c=b(h,"actual");o[c]=s,l=c,n.push(c)}}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:
|
|
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:s}){const c=P.useRef(!1),[f,p]=P.useState(Ja),[d,y]=P.useState(void 0),_=A(),w=P.useRef([]);P.useEffect(()=>{c.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):Qa(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(se,{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=!c.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:s,highlightedRange:t,isDetailPage:i===!0})}const lr=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const f=A(),p=ae(e),d=e.timeseries,y=d.map(L=>L.label),_=h!==!1,w=L=>{if(!s||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}};c?.(d[k],r,j)},C=s?(l-60)/W.operating_expenses*(W.operating_expenses-e.recordByTimeseries.length):20;return a.jsx(rr,{width:l,height:i,children:a.jsx(Q,{children:({height:L,width:$})=>a.jsxs(fe,{width:$,height:L,stackOffset:"sign",data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:s?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=>J("0,0.[00]a",k,p)}),a.jsx(ce,{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
|
+
`,cr=x.div`
|
|
201
201
|
display: flex;
|
|
202
202
|
flex-direction: column;
|
|
203
|
-
`,
|
|
203
|
+
`,sr=x.div`
|
|
204
204
|
display: flex;
|
|
205
205
|
background-color: ${e=>e.theme.colors.black};
|
|
206
206
|
opacity: 0.85;
|
|
@@ -220,7 +220,7 @@ import{d as A,V as a,F as D,q as de,aK as Ae,b1 as Q,c as I,b as M,aV as J,o as
|
|
|
220
220
|
flex-direction: column;
|
|
221
221
|
padding: ${m.sp3};
|
|
222
222
|
background-color: ${e=>e.theme.colors.black};
|
|
223
|
-
`,hr=x(
|
|
223
|
+
`,hr=x(R)`
|
|
224
224
|
text-align: left;
|
|
225
225
|
width: 120px;
|
|
226
226
|
`,Ge=x.div`
|
|
@@ -236,19 +236,19 @@ import{d as A,V as a,F as D,q as de,aK as Ae,b1 as Q,c as I,b as M,aV as J,o as
|
|
|
236
236
|
flex-direction: column;
|
|
237
237
|
padding: ${m.sp3};
|
|
238
238
|
background-color: ${e=>e.theme.colors.black};
|
|
239
|
-
`,Me=x(
|
|
239
|
+
`,Me=x(R)`
|
|
240
240
|
color: ${e=>e.color??g.neutralGrey2Light};
|
|
241
241
|
text-align: left;
|
|
242
242
|
display: flex;
|
|
243
243
|
justify-content: space-between;
|
|
244
244
|
${e=>e.showPercent?"flex-start":"center"};
|
|
245
|
-
`,Ke=x(
|
|
245
|
+
`,Ke=x(R)`
|
|
246
246
|
background-color: ${e=>e.color};
|
|
247
247
|
height: 12px;
|
|
248
248
|
width: 12px;
|
|
249
249
|
display: inline-block;
|
|
250
250
|
margin-right: ${m.sp2};
|
|
251
|
-
`,gr=x(
|
|
251
|
+
`,gr=x(R)`
|
|
252
252
|
text-align: left;
|
|
253
253
|
`,pr=x.div`
|
|
254
254
|
display: flex;
|
|
@@ -263,7 +263,7 @@ import{d as A,V as a,F as D,q as de,aK as Ae,b1 as Q,c as I,b as M,aV as J,o as
|
|
|
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
|
|
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 s=h.name;if(e===!0){const c=h.payload,f=h.color,p=s!=null&&c.record[s]!=null?c.record[s].amount:void 0;let d;if(s.includes("forecast")!==!0)switch(t==="forecast_mode"&&(d=c.record[s]!=null?mr(s,c):void 0),s){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(s)],actual:p,forecast:d,percent:c.record[s]!=null?c.record[s].percentValue??0:0,color:f});break;default:n.push({barName:D.getLocalizedStrings().chartCard.revenue[N(s)],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(cr,{children:[a.jsxs(sr,{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=[],s=[];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&&(s=oe("gross_margin","actual",l));const c=b("income","actual"),f=b("cogs","actual"),p=b("gross_margin","actual"),d=i.length>0?c:h.length>0?f:p,y={};return y[c]=i,y[f]=h,y[p]=s,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"),s=b("gross_margin","forecast"),c={};return c[i]=n,c[h]=o,c[s]=l,c},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{d as A,V as a,F as D,q as de,aK as Ae,b1 as Q,c as I,b as M,aV as J,o as
|
|
|
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:
|
|
280
|
+
`;function Er({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:s}){const c=A(),f=P.useRef(!1);P.useEffect(()=>{f.current=!0},[]);const p=[c.colors.graphColor26,c.colors.graphColor17,c.colors.graphColor12],d=[c.colors.graphColor28,c.colors.graphColor17,c.colors.graphColor10,c.colors.graphColor28Dark,c.colors.graphColor17Dark,c.colors.graphColor10Dark],y=h==="forecast_mode"?d:p,_=h==="forecast_mode"?$r:kr,w=(u,j=c.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(se,{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:s,highlightedRange:t,isDetailPage:i===!0})}const Lr=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const f=de(),p=A(),d=ae(e),y=e.timeseries,_=y.map($=>$.label),w=h!==!1,C=$=>{if(!s||$?.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}};c?.(y[v],r,S)},L=s?(l-60)/W.revenue*(W.revenue-e.recordByTimeseries.length):20;return a.jsx(wr,{width:l,height:i,windowSize:f,children:a.jsx(Q,{children:({height:$,width:k})=>a.jsxs(fe,{data:e.recordByTimeseries,barCategoryGap:s?void 0:"12%",maxBarSize:s?I[10]:22,barGap:s?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=>J("0,0.[00]a",v,d)}),a.jsx(ce,{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,s?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,Ir as X,Er as Y};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as Tt,av as Ct,y as u,e$ as Dt,F as It,f0 as kt,f1 as Pt,V as t,f2 as At,f3 as le,f4 as Mt,f5 as Bt,f6 as Ft,aK as j,f7 as Rt,aL as A,f8 as Lt,f9 as zt,fa as Me,fb as Be,fc as Fe,b as K,fd as O,fe as E,ff as _,p as S,fg as Nt,fh as Ot,fi as Et,fj as _t,bQ as Re,o as n,aO as Wt,c as s,ah as Zt,b$ as Vt,a as qt,B as Yt,fk as Gt,cf as Kt,ak as se,al as ce,fl as Ut,fm as Ht,bg as Qt,l as Jt,b7 as Xt,ap as et,bI as en,ag as tt,br as tn,fn as nn}from"./index-DJLrbf0F.js";import{a as Z}from"./core-CA3j8Axi.js";import{n as a}from"./mui-DpJXlk4t.js";import{bp as Le,bn as ze,bK as I,bQ as an,Fq as ln,bO as oe,bS as on}from"./zeni-epic-state-CQt4n3Xe.js";import{t as rn,o as dn}from"./LowBalancePopup-DVS-w3b7-DP0lgN2T.js";import{S as W}from"./LabeledText-axaAGyUS-Dng_AeMD.js";import"./sentry-BA4piVNf.js";import"./lottie-B7mXQ-R-.js";import"./liveblocks-C2I4vRCJ.js";import"./utils-DUsHM-Uc.js";import"./analytics-CHPpxU3b.js";import"./recharts-BGdJnVo5.js";import"./lexical-dZFDzIA1.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]="43900a93-1b34-4f5e-80b1-41efdf717537",e._sentryDebugIdIdentifier="sentry-dbid-43900a93-1b34-4f5e-80b1-41efdf717537")}catch{}})();const nt=["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,s[2],s[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,s[1]),navBarContainerPaddingTop:new u(10,s[3]),sectionTitleMarginLeft:new u(s[3],s[0]),reviewContainerMarginLeft:new u(s[3],s[6]),reviewContainerMarginRight:new u(s[3],s[8]),footerRightIconMarginRight:new u(s[0],s[0],s[7]),infoLabelPaddingRight:new u(s[0],s[3]),infoLabelMarginTop:new u(s[1],s[0])},sn={sectionTitle:new qt("h6Medium","h5Medium")},{dateFormat:Ne,common:{currency:v,labels:Oe,edit:cn,strings:{empty:h}},spendManagement:{billPay:mn}}=It.getLocalizedStrings(),{billDetails:i,paymentDetails:Ee}=mn,_e=({attachment:e})=>{const[y,f]=Z.useState(!1),M=()=>{f(!1)},T=e.fileId?.length===0;return t.jsxs(On,{isDisabled:e.fileId?.length===0,"data-testid":j("attachment-tag",e.fileName),onClick:()=>T===!1?f(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Ut,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:f}):null,t.jsx(En,{children:t.jsx(Ht,{contentType:e.contentType})})]})},sa=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:f,currentTenant:M,isInternationalPaymentShaVsOurEnabled:T,isLocalCurrencyEnabled:at,style:it,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:ot,isDetectInsufficientFundsEnabled:rt,billId:x,onClickEdit:me,discardBillDetailsFromLocalStore:pe,saveBillDetails:ue,discardOutsideZeniPaymentData:dt,updateBillDetailSaveBillCode:ye,redirectToBillsScreen:he,onAttachmentClick:J,retryPayment:st})=>{const d=Tt(),c=Ct(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:x},F=f&&x!=null,R=`dashboard_${c.currentTenant?.companyId}`,L=m.largeLabelWidth.value(d),z=e.saveStatus,X=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=Dt(T,at,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),C=Ne.visual.MMMDCommaYYYYformat,fe={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},p={amount:o?.method.includes("international")===!0?kt(fe,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},N={amount:o?.method.includes("international")===!0?Pt(fe,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[ct,ge]=Z.useState(!1),[mt,xe]=Z.useState(!1),be=()=>ge(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${i.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Ln,{size:d,children:t.jsx(Rn,{})})]}):At(e.paymentDetailsSection?.paymentTo);Z.useEffect(()=>{(z?.fetchState==="Completed"||X?.fetchState==="Completed")&&(pe(),ye(),he())},[z,X,he,pe,ye]);const $=e.billPayInfo?.stage,k=e.billPayInfo?.billStatus,V=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,te=$?.code==="paid"?$:k?.code=="approved"&&V?.code?V:k,ht=e.billPayInfo?.isRefundInitiated===!0?yt:k?.code=="approved"&&V?.code?V:k,ne=()=>{me()},we=()=>{me()},q=e.paymentDetailsSection?.paymentDate,ae=le(o?.method??""),$e=ae.replace("Same Day",""),ft=e.isCollectToAccountInfoFromVendorContact?t.jsx(Mt,{paymentTypeLabel:$e,onClick:pt}):i.addedByZeni,Y=y.allApprovalRules.length>0,gt=Le(o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?p.amount-N.amount:p.amount,o?.fee.currencyCode??ze.currencyCode,o?.fee.currencySymbol??ze.currencySymbol),g=an(e.paymentDetailsSection?.paymentType?.method),xt=l=>{w.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",$?.code??"draft",te?.code??""),ue(!0,l)},ve=()=>{xe(!0),w.trackBillPayMarkAsPaid($?.code??"draft",te?.code??"")},bt=()=>{dt(),xe(!1)},P=g&&($?.code!=null?$.code==="draft"||k?.code==="approved":!0),b=P&&!ot,je=We(b,Y,e.isBillMarkedForRetry),wt=()=>g?b?void 0:i.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&T&&ee===v.currencyCode?Ot(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ie=rt&&e.paymentDetailsSection!=null?Bt(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,$t=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,D=e.recurringConfig,jt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(x??"new_bill"),o?.method!=null&&l!=null){const St=g?i.paymentOutsideZeni.offline:le(o.method);if(w.trackBillPaySendForApproval(St,l.format(Ne.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,x,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:oe(D?.startDate?.toString()??"").format(C),endDate:oe(D?.endDate?.toString()??"").format(C),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}),ie!=null){const Ce=$?.code??"draft",De=k?.code??"",Ie=e.isRecurring?["Recurring"]:["One-Time"],ke=e.invoiceNumber??"",Pe=nn(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";je===i.scheduleBill?w.trackLowBalanceAccountSchedule(Ce,De,Ie,ke,Pe,Ae):je===i.sendForApproval&&w.trackLowBalanceAccountSentForApproval(Ce,De,Ie,ke,Pe,Ae)}}},Se=()=>{Te===!0&&G(!1),e.isBillMarkedForRetry===!0?(st(),w.trackRetryConfirmClick(te?.code??"",$?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ue(!1,{}))},vt=ln(p.amount,y.allApprovalRules,c.loggedInUser),[Te,G]=Z.useState(!1);return t.jsxs($n,{children:[mt?t.jsx(rn,{onCancel:bt,onProceedForMarkAsPaid:xt,saveDetailsFetchState:z?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Te?t.jsx(dn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Se,onCancelClick:()=>{G(!1),ne()},onClickAway:()=>{G(!1)}}):null,t.jsx(Ft,{anchor:"right",open:ct,onClose:be,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Rt,{companyName:Lt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:q?.format(C)??"",paymentType:$e,amount:A("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:be})}),t.jsxs(vn,{windowSize:d,style:it,children:[d==="small"?t.jsxs(Fn,{windowSize:d,children:[t.jsx(Ue,{onClick:we,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(qe,{windowSize:d,children:i.oneLastLook})]}):t.jsx(Bn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(Ue,{onClick:we})}),d!=="small"?t.jsx(Sn,{children:t.jsx(qe,{windowSize:d,children:i.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(Tn,{children:[t.jsxs(Cn,{children:[t.jsx(Yn,{}),t.jsxs(Dn,{children:[t.jsx(kn,{children:i.duplicateBillPayWarning}),t.jsxs(In,{children:[i.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":j("review-detail-attachment-button"),onClick:()=>J(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[i.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Zn,{children:[t.jsx(qn,{children:i.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=zt(l);return l!=null?t.jsx(Vn,{children:nt.includes(d)?t.jsxs(Ye,{windowSize:d,children:[t.jsxs(Pn,{children:[t.jsxs(An,{children:[l.attachments&&l.attachments.length>0?t.jsx(_e,{attachment:l.attachments[0]}):t.jsx(He,{children:t.jsx(Qe,{})}),t.jsx(H,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?i.invoiceNo:null,l.documentId]})})]}),t.jsx(Je,{windowSize:d,children:A("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(_n,{"data-testid":j("review-detail-mobile-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsxs(H,{children:[l.dueDate!=null?i.due:null," ",l.dueDate?.format(C)]}),t.jsx(Xe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{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(Ye,{windowSize:d,children:[l.attachments&&l.attachments.length>0?t.jsx(_e,{attachment:l.attachments[0]}):t.jsx(He,{children:t.jsx(Qe,{})}),t.jsxs(Wn,{"data-testid":j("review-detail-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsx(H,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?i.invoiceNo:null," ",l.documentId]})}),t.jsxs(H,{style:{width:"25%"},children:[l.dueDate!=null?i.due:null," ",l.dueDate?.format(C)]}),t.jsx(Je,{style:{width:"25%"},windowSize:d,children:A("0,0[.]00",l.amount)})]}),t.jsx(Xe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{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})]})},l.id):null})]})]}):null,t.jsxs(Mn,{children:[t.jsx(Ge,{children:i.pay}),t.jsx(Ke,{children:t.jsx(Fe,{amount:gt,integerStyles:K.largeMedium.cssObject,decimalStyles:K.smallMedium.cssObject})}),t.jsx(Ge,{children:i.to}),t.jsx(Ke,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(W,{label:{label:i.withdrawFrom,width:L},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?Nt(e.paymentDetailsSection.withdrawFrom,d):h,infoLabelStyle:{textAlign:d==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(d),marginTop:m.infoLabelMarginTop.valuePx(d),color:S.brandColorGoldDark},additionalInfoLabel:ie})}),t.jsx(U,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(W,{label:{label:i.paymentMethod,width:L},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:wt()})}),t.jsx(U,{}),!g&&q!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(W,{label:{label:i.paymentDate,width:L},style:{width:"auto"},value:q.format(C),additionalInfoLabel:`${i.estimatedArrival}${oe(on(q.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(C)} - (${ae.length>0?`${ae} `:""}${i.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${i.deliveryTimeUnits})`})}),t.jsx(U,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(W,{label:{label:i.paymentTo,width:L},style:{width:"auto"},value:ut??"",additionalInfoLabel:ft})}),g||lt?t.jsxs(t.Fragment,{children:[t.jsx(U,{}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(W,{label:{label:i.paymentType,width:L},style:{width:"auto"},value:_t(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Et(d,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(gn,{children:t.jsxs(xn,{windowSize:d,children:[t.jsxs(bn,{children:[t.jsx(yn,{children:i.total}),t.jsx(Re,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(fn,{children:[t.jsxs(Ve,{children:[t.jsx(de,{children:o.method.includes(I)&&ee!==v.currencyCode?Ee.conversionAmountColon:Oe.invoiceAmount}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount-N.amount,currencySymbol:N.currencySymbol})})]}),t.jsxs(Ve,{children:[t.jsx(de,{children:Ee.transactionFee}),t.jsx(re,{children:A("0,0[.]00",{amount:N.amount,currencySymbol:N.currencySymbol})})]}),t.jsx(hn,{}),t.jsxs(un,{children:[t.jsx(de,{children:Oe.total}),t.jsx(re,{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(Fe,{amount:Le(p.amount,p.currencyCode,p.currencySymbol),integerStyles:K.h6Medium.cssObject,decimalStyles:K.standardMedium.cssObject})})]})}):null]}),t.jsx(Wt,{cancelBtn:{label:P&&!b?i.paymentOutsideZeni.markAsPaid:i.editBill,onClick:P&&!b?ve:ne,style:{width:Ze(!1,P,b,Y,d)}},primaryBtn:{label:We(b,Y,e.isBillMarkedForRetry),isLoading:z?.fetchState==="In-Progress"||X?.fetchState==="In-Progress",onClick:b?ve:()=>{vt&&ie!=null?G(!0):Se()},style:{width:Ze(!0,P,b,Y,d)}},rightSideComponent:P&&!b&&z.fetchState!=="In-Progress"?t.jsx(Gn,{windowSize:d,children:t.jsx(Re,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(Un,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Kn,{})})})}):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:[i.internationalText1,t.jsx(Nn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:i.internationalTerms}),i.internationalText2]}):null})]})},We=(e,y,f)=>e?i.paymentOutsideZeni.markAsPaid:f===!0?i.retryPayment:y?i.sendForApproval:i.scheduleBill,Ze=(e,y,f,M,T)=>f?128:y&&!e&&T==="small"?"auto":M?165:m.footerButtonWidth.value(T),pn=a(en)`
|
|
1
|
+
import{q as Tt,av as Ct,y as u,e$ as Dt,f0 as It,f1 as Pt,V as t,f2 as kt,f3 as le,f4 as Mt,f5 as At,f6 as Bt,f7 as Ft,aK as M,f8 as Rt,aM as j,f9 as Lt,fa as Ae,fb as Be,fc as Fe,b as H,fd as O,p as S,fe as zt,ff as E,fg as _,fh as Nt,fi as Ot,bQ as Re,o as n,aO as Et,c as s,F as _t,ah as Wt,b$ as Zt,a as Vt,B as Yt,fj as qt,cf as Gt,ak as se,al as ce,fk as Ht,fl as Ut,bg as Kt,l as Qt,b7 as Jt,fm as Xt,ap as et,bH as en,ag as tt,br as tn,fn as nn}from"./index-CiMyMhgu.js";import{a as Z}from"./sentry-DMKAGVXl.js";import{n as a}from"./mui-D2MqZYRi.js";import{bo as Le,bm as ze,bH as I,bN as an,Fp as ln,bL as oe,bP as on}from"./zeni-epic-state-DjAFCaxy.js";import{t as rn,o as dn}from"./LowBalancePopup-DVS-w3b7-CXJHrLHV.js";import{S as W}from"./LabeledText-axaAGyUS-BpEJBxD4.js";import"./liveblocks-D92pTRaw.js";import"./core-CadaPWsO.js";import"./recharts-t7V-Kaqf.js";import"./lottie-Dv5hJ5mA.js";import"./analytics-C6L7hlHG.js";import"./lexical-DEI4_j9X.js";import"./utils-BWiizB9D.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]="f711a571-f7e3-4ce8-94da-6619ea2d80da",e._sentryDebugIdIdentifier="sentry-dbid-f711a571-f7e3-4ce8-94da-6619ea2d80da")}catch{}})();const nt=["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,s[2],s[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,s[1]),navBarContainerPaddingTop:new u(10,s[3]),sectionTitleMarginLeft:new u(s[3],s[0]),reviewContainerMarginLeft:new u(s[3],s[6]),reviewContainerMarginRight:new u(s[3],s[8]),footerRightIconMarginRight:new u(s[0],s[0],s[7]),infoLabelPaddingRight:new u(s[0],s[3]),infoLabelMarginTop:new u(s[1],s[0])},sn={sectionTitle:new Vt("h6Medium","h5Medium")},{dateFormat:Ne,common:{currency:v,labels:Oe,edit:cn,strings:{empty:h}},spendManagement:{billPay:mn}}=_t.getLocalizedStrings(),{billDetails:i,paymentDetails:Ee}=mn,_e=({attachment:e})=>{const[y,f]=Z.useState(!1),A=()=>{f(!1)},T=e.fileId?.length===0;return t.jsxs(On,{isDisabled:e.fileId?.length===0,"data-testid":j("attachment-tag",e.fileName),onClick:()=>T===!1?f(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Ht,{title:e.fileName,file:e,onCrossClick:()=>A(),setShowFullScreenView:f}):null,t.jsx(En,{children:t.jsx(Ut,{contentType:e.contentType})})]})},sa=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:f,currentTenant:A,isInternationalPaymentShaVsOurEnabled:T,isLocalCurrencyEnabled:at,style:it,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:ot,isDetectInsufficientFundsEnabled:rt,billId:x,onClickEdit:me,discardBillDetailsFromLocalStore:pe,saveBillDetails:ue,discardOutsideZeniPaymentData:dt,updateBillDetailSaveBillCode:ye,redirectToBillsScreen:he,onAttachmentClick:J,retryPayment:st})=>{const d=Tt(),c=Ct(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:x},F=f&&x!=null,R=`dashboard_${c.currentTenant?.companyId}`,L=m.largeLabelWidth.value(d),z=e.saveStatus,X=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=Dt(T,at,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),C=Ne.visual.MMMDCommaYYYYformat,fe={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},p={amount:o?.method.includes("international")===!0?It(fe,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},N={amount:o?.method.includes("international")===!0?Pt(fe,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[ct,ge]=Z.useState(!1),[mt,xe]=Z.useState(!1),be=()=>ge(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${i.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Ln,{size:d,children:t.jsx(Rn,{})})]}):kt(e.paymentDetailsSection?.paymentTo);Z.useEffect(()=>{(z?.fetchState==="Completed"||X?.fetchState==="Completed")&&(pe(),ye(),he())},[z,X,he,pe,ye]);const $=e.billPayInfo?.stage,P=e.billPayInfo?.billStatus,V=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,te=$?.code==="paid"?$:P?.code=="approved"&&V?.code?V:P,ht=e.billPayInfo?.isRefundInitiated===!0?yt:P?.code=="approved"&&V?.code?V:P,ne=()=>{me()},we=()=>{me()},Y=e.paymentDetailsSection?.paymentDate,ae=le(o?.method??""),$e=ae.replace("Same Day",""),ft=e.isCollectToAccountInfoFromVendorContact?t.jsx(Mt,{paymentTypeLabel:$e,onClick:pt}):i.addedByZeni,q=y.allApprovalRules.length>0,gt=Le(o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?p.amount-N.amount:p.amount,o?.fee.currencyCode??ze.currencyCode,o?.fee.currencySymbol??ze.currencySymbol),g=an(e.paymentDetailsSection?.paymentType?.method),xt=l=>{w.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",$?.code??"draft",te?.code??""),ue(!0,l)},ve=()=>{xe(!0),w.trackBillPayMarkAsPaid($?.code??"draft",te?.code??"")},bt=()=>{dt(),xe(!1)},k=g&&($?.code!=null?$.code==="draft"||P?.code==="approved":!0),b=k&&!ot,je=We(b,q,e.isBillMarkedForRetry),wt=()=>g?b?void 0:i.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&T&&ee===v.currencyCode?Xt(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ie=rt&&e.paymentDetailsSection!=null?At(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,$t=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,D=e.recurringConfig,jt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(x??"new_bill"),o?.method!=null&&l!=null){const St=g?i.paymentOutsideZeni.offline:le(o.method);if(w.trackBillPaySendForApproval(St,l.format(Ne.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,x,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:oe(D?.startDate?.toString()??"").format(C),endDate:oe(D?.endDate?.toString()??"").format(C),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}),ie!=null){const Ce=$?.code??"draft",De=P?.code??"",Ie=e.isRecurring?["Recurring"]:["One-Time"],Pe=e.invoiceNumber??"",ke=nn(c.loggedInUser),Me=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";je===i.scheduleBill?w.trackLowBalanceAccountSchedule(Ce,De,Ie,Pe,ke,Me):je===i.sendForApproval&&w.trackLowBalanceAccountSentForApproval(Ce,De,Ie,Pe,ke,Me)}}},Se=()=>{Te===!0&&G(!1),e.isBillMarkedForRetry===!0?(st(),w.trackRetryConfirmClick(te?.code??"",$?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ue(!1,{}))},vt=ln(p.amount,y.allApprovalRules,c.loggedInUser),[Te,G]=Z.useState(!1);return t.jsxs($n,{children:[mt?t.jsx(rn,{onCancel:bt,onProceedForMarkAsPaid:xt,saveDetailsFetchState:z?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Te?t.jsx(dn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Se,onCancelClick:()=>{G(!1),ne()},onClickAway:()=>{G(!1)}}):null,t.jsx(Bt,{anchor:"right",open:ct,onClose:be,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Ft,{companyName:Rt(A.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Y?.format(C)??"",paymentType:$e,amount:M("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:be})}),t.jsxs(vn,{windowSize:d,style:it,children:[d==="small"?t.jsxs(Fn,{windowSize:d,children:[t.jsx(Ue,{onClick:we,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(Ye,{windowSize:d,children:i.oneLastLook})]}):t.jsx(Bn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(Ue,{onClick:we})}),d!=="small"?t.jsx(Sn,{children:t.jsx(Ye,{windowSize:d,children:i.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(Tn,{children:[t.jsxs(Cn,{children:[t.jsx(qn,{}),t.jsxs(Dn,{children:[t.jsx(Pn,{children:i.duplicateBillPayWarning}),t.jsxs(In,{children:[i.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":j("review-detail-attachment-button"),onClick:()=>J(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[i.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Zn,{children:[t.jsx(Yn,{children:i.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Lt(l);return l!=null?t.jsx(Vn,{children:nt.includes(d)?t.jsxs(qe,{windowSize:d,children:[t.jsxs(kn,{children:[t.jsxs(Mn,{children:[l.attachments&&l.attachments.length>0?t.jsx(_e,{attachment:l.attachments[0]}):t.jsx(Ke,{children:t.jsx(Qe,{})}),t.jsx(K,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?i.invoiceNo:null,l.documentId]})})]}),t.jsx(Je,{windowSize:d,children:M("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(_n,{"data-testid":j("review-detail-mobile-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsxs(K,{children:[l.dueDate!=null?i.due:null," ",l.dueDate?.format(C)]}),t.jsx(Xe,{children:r!=null?Ae.includes(r.code)?t.jsx(Be,{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(qe,{windowSize:d,children:[l.attachments&&l.attachments.length>0?t.jsx(_e,{attachment:l.attachments[0]}):t.jsx(Ke,{children:t.jsx(Qe,{})}),t.jsxs(Wn,{"data-testid":j("review-detail-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsx(K,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?i.invoiceNo:null," ",l.documentId]})}),t.jsxs(K,{style:{width:"25%"},children:[l.dueDate!=null?i.due:null," ",l.dueDate?.format(C)]}),t.jsx(Je,{style:{width:"25%"},windowSize:d,children:M("0,0[.]00",l.amount)})]}),t.jsx(Xe,{children:r!=null?Ae.includes(r.code)?t.jsx(Be,{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})]})},l.id):null})]})]}):null,t.jsxs(An,{children:[t.jsx(Ge,{children:i.pay}),t.jsx(He,{children:t.jsx(Fe,{amount:gt,integerStyles:H.largeMedium.cssObject,decimalStyles:H.smallMedium.cssObject})}),t.jsx(Ge,{children:i.to}),t.jsx(He,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(W,{label:{label:i.withdrawFrom,width:L},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?zt(e.paymentDetailsSection.withdrawFrom,d):h,infoLabelStyle:{textAlign:d==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(d),marginTop:m.infoLabelMarginTop.valuePx(d),color:S.brandColorGoldDark},additionalInfoLabel:ie})}),t.jsx(U,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(W,{label:{label:i.paymentMethod,width:L},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:wt()})}),t.jsx(U,{}),!g&&Y!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(W,{label:{label:i.paymentDate,width:L},style:{width:"auto"},value:Y.format(C),additionalInfoLabel:`${i.estimatedArrival}${oe(on(Y.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(C)} - (${ae.length>0?`${ae} `:""}${i.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${i.deliveryTimeUnits})`})}),t.jsx(U,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(W,{label:{label:i.paymentTo,width:L},style:{width:"auto"},value:ut??"",additionalInfoLabel:ft})}),g||lt?t.jsxs(t.Fragment,{children:[t.jsx(U,{}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(W,{label:{label:i.paymentType,width:L},style:{width:"auto"},value:Ot(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Nt(d,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(gn,{children:t.jsxs(xn,{windowSize:d,children:[t.jsxs(bn,{children:[t.jsx(yn,{children:i.total}),t.jsx(Re,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(fn,{children:[t.jsxs(Ve,{children:[t.jsx(de,{children:o.method.includes(I)&&ee!==v.currencyCode?Ee.conversionAmountColon:Oe.invoiceAmount}),t.jsx(re,{children:M("0,0[.]00",{amount:p.amount-N.amount,currencySymbol:N.currencySymbol})})]}),t.jsxs(Ve,{children:[t.jsx(de,{children:Ee.transactionFee}),t.jsx(re,{children:M("0,0[.]00",{amount:N.amount,currencySymbol:N.currencySymbol})})]}),t.jsx(hn,{}),t.jsxs(un,{children:[t.jsx(de,{children:Oe.total}),t.jsx(re,{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(Fe,{amount:Le(p.amount,p.currencyCode,p.currencySymbol),integerStyles:H.h6Medium.cssObject,decimalStyles:H.standardMedium.cssObject})})]})}):null]}),t.jsx(Et,{cancelBtn:{label:k&&!b?i.paymentOutsideZeni.markAsPaid:i.editBill,onClick:k&&!b?ve:ne,style:{width:Ze(!1,k,b,q,d)}},primaryBtn:{label:We(b,q,e.isBillMarkedForRetry),isLoading:z?.fetchState==="In-Progress"||X?.fetchState==="In-Progress",onClick:b?ve:()=>{vt&&ie!=null?G(!0):Se()},style:{width:Ze(!0,k,b,q,d)}},rightSideComponent:k&&!b&&z.fetchState!=="In-Progress"?t.jsx(Gn,{windowSize:d,children:t.jsx(Re,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(Un,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Hn,{})})})}):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:[i.internationalText1,t.jsx(Nn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:i.internationalTerms}),i.internationalText2]}):null})]})},We=(e,y,f)=>e?i.paymentOutsideZeni.markAsPaid:f===!0?i.retryPayment:y?i.sendForApproval:i.scheduleBill,Ze=(e,y,f,A,T)=>f?128:y&&!e&&T==="small"?"auto":A?165:m.footerButtonWidth.value(T),pn=a(en)`
|
|
2
2
|
width: ${n.sp3};
|
|
3
3
|
height: ${n.sp3};
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -74,7 +74,7 @@ import{q as Tt,av as Ct,y as u,e$ as Dt,F as It,f0 as kt,f1 as Pt,V as t,f2 as A
|
|
|
74
74
|
background-color: ${e=>e.theme.colors.grey3};
|
|
75
75
|
min-height: 1px;
|
|
76
76
|
max-height: 1px;
|
|
77
|
-
`,
|
|
77
|
+
`,Ye=a(Yt)`
|
|
78
78
|
color: ${e=>e.theme.colors.primary};
|
|
79
79
|
${e=>`${sn.sectionTitle.style(e.windowSize)}`};
|
|
80
80
|
margin-left: ${e=>m.sectionTitleMarginLeft.valuePx(e.windowSize)};
|
|
@@ -102,34 +102,34 @@ import{q as Tt,av as Ct,y as u,e$ as Dt,F as It,f0 as kt,f1 as Pt,V as t,f2 as A
|
|
|
102
102
|
`,In=a(se)`
|
|
103
103
|
padding-bottom: ${n.sp3};
|
|
104
104
|
color: ${S.brandColorGoldDark};
|
|
105
|
-
`,
|
|
105
|
+
`,Pn=a(Gt)`
|
|
106
106
|
padding-top: ${n.sp3};
|
|
107
107
|
color: ${S.brandColorGoldDark};
|
|
108
|
-
`,
|
|
108
|
+
`,qe=a.div`
|
|
109
109
|
display: flex;
|
|
110
110
|
flex-direction: ${e=>nt.includes(e.windowSize)?"column":"row"};
|
|
111
111
|
width: 100%;
|
|
112
|
-
`,
|
|
112
|
+
`,kn=a.div`
|
|
113
113
|
display: flex;
|
|
114
114
|
justify-content: space-between;
|
|
115
115
|
align-items: center;
|
|
116
116
|
column-gap: ${n.sp1};
|
|
117
|
-
`,
|
|
117
|
+
`,Mn=a.div`
|
|
118
118
|
display: flex;
|
|
119
119
|
column-gap: ${n.sp2};
|
|
120
120
|
align-items: center;
|
|
121
|
-
`,
|
|
121
|
+
`,An=a.div`
|
|
122
122
|
display: flex;
|
|
123
123
|
padding-top: ${n.sp3};
|
|
124
|
-
`,Ge=a(
|
|
124
|
+
`,Ge=a(Qt)`
|
|
125
125
|
display: flex;
|
|
126
126
|
color: ${e=>e.theme.colors.hero};
|
|
127
127
|
margin-right: ${n.sp1};
|
|
128
|
-
`,
|
|
128
|
+
`,He=a(Jt)`
|
|
129
129
|
display: flex;
|
|
130
130
|
color: ${e=>e.theme.colors.primary};
|
|
131
131
|
margin-right: ${n.sp1};
|
|
132
|
-
`,Ue=a(
|
|
132
|
+
`,Ue=a(Zt)`
|
|
133
133
|
cursor: pointer;
|
|
134
134
|
color: ${e=>e.theme.colors.hero};
|
|
135
135
|
width: 20px;
|
|
@@ -152,7 +152,7 @@ import{q as Tt,av as Ct,y as u,e$ as Dt,F as It,f0 as kt,f1 as Pt,V as t,f2 as A
|
|
|
152
152
|
padding-left: ${n.sp0};
|
|
153
153
|
z-index: 2;
|
|
154
154
|
background-color: ${e=>e.theme.colors.grey4};
|
|
155
|
-
`,Rn=a(
|
|
155
|
+
`,Rn=a(Wt)`
|
|
156
156
|
height: ${n.sp3};
|
|
157
157
|
width: ${n.sp3};
|
|
158
158
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -193,17 +193,17 @@ import{q as Tt,av as Ct,y as u,e$ as Dt,F as It,f0 as kt,f1 as Pt,V as t,f2 as A
|
|
|
193
193
|
width: ${n.sp4};
|
|
194
194
|
height: ${n.sp4};
|
|
195
195
|
display: flex;
|
|
196
|
-
`,
|
|
196
|
+
`,Ke=a.div`
|
|
197
197
|
cursor: default;
|
|
198
198
|
display: flex;
|
|
199
199
|
align-items: center;
|
|
200
200
|
margin-right: ${n.sp1};
|
|
201
|
-
`,Qe=a(
|
|
201
|
+
`,Qe=a(Kt)`
|
|
202
202
|
cursor: pointer;
|
|
203
203
|
width: ${n.sp4};
|
|
204
204
|
height: ${n.sp4};
|
|
205
205
|
color: ${e=>e.theme.colors.hero};
|
|
206
|
-
`,
|
|
206
|
+
`,K=a(se)`
|
|
207
207
|
display: flex;
|
|
208
208
|
color: ${e=>e.theme.colors.hero};
|
|
209
209
|
align-items: center;
|
|
@@ -257,10 +257,10 @@ import{q as Tt,av as Ct,y as u,e$ as Dt,F as It,f0 as kt,f1 as Pt,V as t,f2 as A
|
|
|
257
257
|
padding-top: ${n.sp2};
|
|
258
258
|
padding-bottom: ${n.sp2};
|
|
259
259
|
border-bottom: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
260
|
-
`,
|
|
260
|
+
`,Yn=a(ce)`
|
|
261
261
|
margin-top: ${n.sp3};
|
|
262
262
|
color: ${S.alert};
|
|
263
|
-
`,
|
|
263
|
+
`,qn=a(qt)`
|
|
264
264
|
min-width: ${n.sp4};
|
|
265
265
|
height: ${n.sp4};
|
|
266
266
|
width: ${n.sp4};
|
|
@@ -271,7 +271,7 @@ import{q as Tt,av as Ct,y as u,e$ as Dt,F as It,f0 as kt,f1 as Pt,V as t,f2 as A
|
|
|
271
271
|
display: flex;
|
|
272
272
|
justify-content: flex-end;
|
|
273
273
|
margin-right: ${e=>m.footerRightIconMarginRight.valuePx(e.windowSize)};
|
|
274
|
-
`,
|
|
274
|
+
`,Hn=a(tn)`
|
|
275
275
|
cursor: pointer;
|
|
276
276
|
color: ${e=>e.theme.colors.hero};
|
|
277
277
|
width: ${n.sp4};
|
package/dist/assets/{ReviewOverlay-CruJ9O84-BdMFQyaH.js → ReviewOverlay-CruJ9O84-CVyRQtbr.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as B,V as i,
|
|
1
|
+
import{q as B,V as i,aM as m,o as r,aO as L,y as d,L as P,a as C,B as I,p as s,ak as j,cy as W,m as R,ag as b,bf as D,c as n,eg as G,u as _,iR as q,k0 as A}from"./index-CiMyMhgu.js";import{n as t}from"./mui-D2MqZYRi.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]="f4f7d4af-ca63-4f9f-bfde-b10dc5d90c53",e._sentryDebugIdIdentifier="sentry-dbid-f4f7d4af-ca63-4f9f-bfde-b10dc5d90c53")}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])},F={title:new C("h6Regular","h5Regular")},xe=({title:e,description:g,reviewItems:x,showFooter:S,footerProps:{primaryButton:z,cancelButton:T,hideCancel:k},onCloseOverlay:E,onCloseReviewItem:M})=>{const a=B();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:E,"data-testid":m("review-overlay-close",e)})})})})}),i.jsxs(H,{windowSize:a,children:[i.jsxs(J,{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:()=>M(o.id),"data-testid":m("review-close",o.id)}):null,i.jsxs(te,{children:[i.jsxs(ne,{children:[i.jsx(de,{children:O(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:!k}):null]})},O=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};
|
package/dist/assets/{RoleWithToolTip-fC3byzzv-DteZC2-q.js → RoleWithToolTip-fC3byzzv-Da5EXkAB.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{eL as f,eM as h,V as s,bQ as g,o as
|
|
1
|
+
import{eL as f,eM as h,V as s,bQ as g,o as i,aM as n,F as x,am as y,ag as c}from"./index-CiMyMhgu.js";import{n as l}from"./mui-D2MqZYRi.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]="f880c637-61c4-47f9-a13f-f4e73109bbc2",e._sentryDebugIdIdentifier="sentry-dbid-f880c637-61c4-47f9-a13f-f4e73109bbc2")}catch{}})();const{hyphen:d}=x.getLocalizedStrings().common.strings,b=l.div``,m=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-width: 192px;
|
|
4
4
|
justify-content: space-between;
|
|
@@ -6,11 +6,11 @@ import{eL as f,eM as h,V as s,bQ as g,o as a,aK as n,F as b,am as x,ag as c}from
|
|
|
6
6
|
color: ${e=>e.theme.colors.hero};
|
|
7
7
|
`,j=l(c)`
|
|
8
8
|
color: ${e=>e.theme.colors.brandColorPearl};
|
|
9
|
-
`,
|
|
9
|
+
`,a=l.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
align-items: center;
|
|
12
|
-
`,w=l(
|
|
13
|
-
border-radius: ${
|
|
12
|
+
`,w=l(y)`
|
|
13
|
+
border-radius: ${i.sp12};
|
|
14
14
|
border: 1px solid ${e=>e.theme.colors.grey1};
|
|
15
15
|
display: flex;
|
|
16
16
|
height: 18px;
|
|
@@ -18,5 +18,5 @@ import{eL as f,eM as h,V as s,bQ as g,o as a,aK as n,F as b,am as x,ag as c}from
|
|
|
18
18
|
align-items: center;
|
|
19
19
|
justify-content: center;
|
|
20
20
|
color: 1px solid ${e=>e.theme.colors.grey1};
|
|
21
|
-
margin-left: ${
|
|
22
|
-
`,I=({roles:e})=>{let t=d,r=[];t=f(e),r=h(e);const p=()=>r.length>0?s.jsx(
|
|
21
|
+
margin-left: ${i.sp1};
|
|
22
|
+
`,I=({roles:e})=>{let t=d,r=[];t=f(e),r=h(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:d});return r.length>0?s.jsx(g,{enterDelay:600,"data-testid":n("roles-tooltip",t),title:p(),placement:"top-end",style:{marginLeft:i.sp1,padding:"6px 12px"},maxWidth:"264px",children:s.jsxs(a,{"data-testid":n("roles-label-wrapper",t),children:[t,s.jsx(w,{className:"roles-count-wrapper","data-testid":n("roles-count-wrapper",t),children:r.length})]})}):s.jsx(a,{"data-testid":n("roles-label-wrapper",t),children:t})};export{I as T};
|