@zeniai/web-cockpit-ui 1.14.5-prod → 1.14.6-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-CIw_jdIY-nkivmIUR.js → ACHDetailsPage-DgGGv2hx-DTY9oLT9.js} +1 -1
- package/dist/assets/{AIPerformancePage-BflDOenW-DqeZ81sN.js → AIPerformancePage-cpZUms56-BBcIcyzo.js} +1 -1
- package/dist/assets/{AccountInfoPage-D8k3wGmD-D-8qe8e0.js → AccountInfoPage-CFLaCiT5-5AiF8EJ9.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-C5gATs9y-DZF7xeex.js → AccountInfoPageContent-DtAZ50Qc-DUP_wcrg.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-CddofGws-DFpr6EFW.js → AccountReconDetailsDrawerPage-CMN1zNHW-OJMmHFy6.js} +1 -1
- package/dist/assets/{AccountRow-WEuGwVlL-JxLe7wdK.js → AccountRow-DAc1wwY9-DEIj0_IL.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-DSxSdGCd-CQwXZt6p.js → AccountsPromoCardStack-Bp1wRT6M-yc7U5gNK.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-CdIt-G3_-BesYr_PX.js → AddAddressForCardDrawer-ChDzvTVq-U4RBHj9r.js} +1 -1
- package/dist/assets/{AddToWalletPage-CxzUceYd-Bm-9lfb4.js → AddToWalletPage-BvrcjDhk-BAMsq_uj.js} +1 -1
- package/dist/assets/{AgingReportsPage-FVsrlpLM-k_hdK6iq.js → AgingReportsPage-CzYUWOIt-xhKsVxTG.js} +1 -1
- package/dist/assets/{AllUserItems-Bw0qVHfp-CYGYStGU.js → AllUserItems-XxV2Tu4Y-VnOFdHoZ.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-Dnq6kgik-Dp64W-8B.js → ApAgingDetailPage-DTXhjXRb-C8uMKsqJ.js} +1 -1
- package/dist/assets/{AppBasePage-CnvWVXa_-Cu1XLZB2.js → AppBasePage-Cfiv8Ecs-CDBmdGFq.js} +1 -1
- package/dist/assets/{AppDrawerContent-COo8rIzQ-XVk2mDpb.js → AppDrawerContent-ggBgpYsv-BQGBPgzE.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-DEDgJJu_-Dk89vbJv.js → ApprovalRulesSettingsPage-BlRSdCTV-Ba3VQ5Ff.js} +1 -1
- package/dist/assets/{ArAgingChart-B5rtQeer-ecz-Zqzf.js → ArAgingChart-C7_e1ezL-B5cv8rdg.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-DyNSK8aO-BYRHAhXC.js → ArAgingDetailPage-DhjFbj4K-DzN-2OD-.js} +1 -1
- package/dist/assets/{AttachmentView-OXyBpL2F-DYlig7pu.js → AttachmentView-CQD-yy-o-CNYsfmt9.js} +1 -1
- package/dist/assets/{BankAccountSection-DQns2Rla-BFwSJeyO.js → BankAccountSection-CmOHWLFq-JZncqm1R.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-qTsFgeuD-BLjrvoXb.js → BankAccountWarningSection-DsBsO84p-D8XBZBGY.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-Bvnltb7a-Cb3q7PQF.js → BankConnectionsSettingsPage-Cz6smhXo-BNxJJyGM.js} +1 -1
- package/dist/assets/{BillDetailPage-Da_E9_nC-BYUXwKXk.js → BillDetailPage-CYa0EITJ-CsdEjHL9.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-ziAMcG0m-CZNaA2WD.js → BillPayApprovalRuleDetailPage-BbU_Q81T-Bs1k5EiQ.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-97qcqa5F-DDXVS_zj.js → BillPayApprovalRulesPage-D8ehXeiO-CBviDfty.js} +1 -1
- package/dist/assets/{BillPayPromoPage-BYzFaKct-CRIGGAT1.js → BillPayPromoPage-DuaA85G4-CCb8T9vP.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-ijAWNt3n-BW3bIFwJ.js → BillPaySetUpPage-BH06l9Hv-C9lkGPRY.js} +1 -1
- package/dist/assets/{BillingSettingsPage-DNZAJ-3V-CX7lm6-B.js → BillingSettingsPage-BUas93LA-CscI75OR.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-DqQL9iFe-Dg28oXmP.js → BillsBulkReviewDrawerPage-D6cSAH1--DGq_mOk4.js} +1 -1
- package/dist/assets/{BoxItem-DT51UimN-kFXGdmJC.js → BoxItem-D88gMTQn-B1kkFD04.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-D_sLy4b9-Cj98U4ae.js → BusinessVerificationPage-rX7_wUAW-BsbYtglz.js} +1 -1
- package/dist/assets/{CardNumberSubText-BkDxvc37-Cne33WTX.js → CardNumberSubText-CxTVkF4V-Ct-KOGH7.js} +1 -1
- package/dist/assets/{CashbackDetailPage-eJO-ODcm-DlOV2BJ-.js → CashbackDetailPage-DdDMDW2I-Jzq4bLKz.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-Dc-3stHW-BPBshj48.js → ChargeCardDetailPage-JrO7h-ff-C9bshVlU.js} +1 -1
- package/dist/assets/{ChargeCardListPage-DRot1SKG-B_-3GUoh.js → ChargeCardListPage-CelWKqSg-DbRD1T3_.js} +1 -1
- package/dist/assets/{ChargeCardListTable-B3HCvxfz-DWM9JMsr.js → ChargeCardListTable-B4c4WFSq-CrRtTBWM.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-oU5JQfGc-DASVpDpm.js → ChargeCardPromoPage-BiyYawq5-KMXkWe6B.js} +1 -1
- package/dist/assets/ChargeCardSetupPage-PQAwr78u-Byy3_Lz6.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-B-XViYjO-B86W-Ab9.js → ChargeCardStatementsPage-DVPKN4xX-CzVkb3Pg.js} +1 -1
- package/dist/assets/{ChargeCardUtils-Bol5oWmA-CmmODJlt.js → ChargeCardUtils-BQZTS-KQ-BEdPKA-Q.js} +1 -1
- package/dist/assets/{ChaseOverlay-DAxqw7Vj-CgIFMhSK.js → ChaseOverlay-DveM_aY_-DNzo2JiY.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-CkKK3qKT-ClU5qOvy.js → CheckDepositDrawerPage-DoMhVKPu-WiZ6iqFw.js} +1 -1
- package/dist/assets/{CollapsableReportTable-q6K7jAw6-DUkjuT2o.js → CollapsableReportTable-CWIVhYku-Di1SJf6r.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BVARFx2M-Dlnoj0mO.js → CompanyOfficerDetailsSection-Ci47swN_-BA3Vbogj.js} +1 -1
- package/dist/assets/{CompanyPassportCard-Bfc0SPQL-PF4i4VtV.js → CompanyPassportCard-Bw2TdWs0-C8coLEDf.js} +1 -1
- package/dist/assets/{CompanyPassportPage-CnEeyb9L-JEjXq7q4.js → CompanyPassportPage-CKIihOM0-C8LZIaU2.js} +1 -1
- package/dist/assets/{CompleteProfile-DvtAzqIF-CplCN8kU.js → CompleteProfile-CikcmDmg-Bx0bFhKW.js} +1 -1
- package/dist/assets/{ConfettiBurst-DI_ur1ii-CP_toxHr.js → ConfettiBurst-CU6fcwCz-DM4PmL8N.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-DmaAqZ07-DQFMB9kz.js → CreateOrEditVendorPage-BoDt1Ez7-ihMNs_cQ.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-CvNctQ-G-B7sd-cn9.js → CreditCardPaymentDrawerPage-D7Hka4sI-Cnrvme6i.js} +1 -1
- package/dist/assets/{CreditCardPaymentPlgSection-CGiJIVca-CihNYXrO.js → CreditCardPaymentPlgSection-C86KVs5o-DS3hiQEi.js} +1 -1
- package/dist/assets/{CurrencySelectField-Dg-v771d-DyG4YBrb.js → CurrencySelectField-B0VTg3Rt-BiyrySfK.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-VpzSrW82-C_aJSfNq.js → CustomerOnboardingActivationPage-oegOz3kP-Djz8CScI.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-56mBQg5m-B7bUPJSx.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-j16Xqnmk-Dwv_Sf5M.js → CustomerOnboardingDetailPageSkeleton-DhuLaWYK-DXGjF58n.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-DwdySDPO-Bnb25wHM.js → CustomerOnboardingNoStepsPage-BxwT2uzY-Cs8WelHb.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-BB1ZxqG3-1kI-VdZy.js → CustomerOnboardingPage-L_1XcD2Y-BN0hGCDA.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-BScpvgDb-ByIJgq6I.js → CustomerOnboardingProductSuitePage-Xqdww5iU-fcjjI_cL.js} +1 -1
- package/dist/assets/{Dashboard-BpolYa4C-ClyfT6PR.js → Dashboard-CWSUiuiJ-BGpFaZbs.js} +1 -1
- package/dist/assets/{DashboardReportPage-pQRUl_gG-BYumgoFL.js → DashboardReportPage-D79gYgHb-Bdmj-j3o.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-Wt0dXING-DGElhLBC.js → DepositAccTransactionItem-BCJn6a_d-C1iXuRbP.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-Cs0KlI24-CliUVO6u.js → DepositAccTransactionListPage-6QMW3q5S-LbnWCAZH.js} +1 -1
- package/dist/assets/{DocumentSecurityBanner-DDc5UFRt-DtIawul4.js → DocumentSecurityBanner-C7TAyvIZ-DrKz95xX.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-CPGShq-e-DVwSFTSK.js → DomesticWireDetailsPage-DGOgMHF5-Dj6aB45z.js} +1 -1
- package/dist/assets/{DownloadOverlay-2cyqFPGO-mq9Ke6Fz.js → DownloadOverlay-BrVMY7u8-PA5PVprH.js} +1 -1
- package/dist/assets/{DrawerPage-C-qJ2Dm4-CjO1Di9r.js → DrawerPage-DbmFkDa9-a_7f3jw_.js} +1 -1
- package/dist/assets/{EditPeoplePage-lFbayOOG-D7msYw32.js → EditPeoplePage-CKiV3DO3-DWg5i0Bd.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-UuxUgVMA-KvHQSVtQ.js → EditReimbursementDetailPage-BSXwufQy-CZrhHx2S.js} +1 -1
- package/dist/assets/{EntityDetailPage-scWkPKyF-ChCS54ry.js → EntityDetailPage-ClKvTCns-D989IPFG.js} +1 -1
- package/dist/assets/{EntitySummarySection-BiMRux1v-DXOZ8I9R.js → EntitySummarySection-BcyWfLW_-CA1NuAEW.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-CdyrLRZJ-B56CIDH0.js → ExpenseAutomationOverviewPage-CQ5_4jtz-CJmOeqaA.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-CbEb08AK-CEpIh5AR.js → ExpenseAutomationPage-SDYsJmGO-ClxfX9Ah.js} +1 -1
- package/dist/assets/{ExpressPayPage-DA_tTo4g-aRpihcMb.js → ExpressPayPage-S33czP_U-zP-9g0Jw.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-BNqQXX2a-C5qqUK8Z.js → FeaturePreviewPage-COWIqmTf-7yGzqASh.js} +1 -1
- package/dist/assets/{FollowStepsSection-BbWkIUb_-DTEF_Mzk.js → FollowStepsSection-Cw8htUBe-BHcpEdlZ.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-COj3_1we-C9MzwgeM.js → GlobalReviewListPage-DKBYTVNe-9qWeNgUP.js} +1 -1
- package/dist/assets/{HelpButton-B-GBd1e8-Cp7Oxsen.js → HelpButton-BvPX8uxd-BlwFNZhB.js} +1 -1
- package/dist/assets/{InformationCardStack-BQz2--SG-L3HWqatS.js → InformationCardStack-CtueyMCq-CecAsOTT.js} +1 -1
- package/dist/assets/{InsightsCardStack-es6BneiX-n_9LJsaQ.js → InsightsCardStack-BKtPGTdt-DGnUS7GP.js} +1 -1
- package/dist/assets/{InsightsSection-DXW-B4Fa-BdiTA2CO.js → InsightsSection-BFIeAUrz-DhqGCmzD.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-C_sRDpnl-Bv3-UcpY.js → IntegrationsSettingsPage-BSyZC7Kg-HQ8AMRN8.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-Dxab2GVU-BLE-M761.js → InternationalWireSwiftDetailsPage-C9Z04pG5-CN1lREHk.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-DnJzLl92-CeVL003i.js → InternationalWireVerificationPage-iRa0YMo6-BUrJWmZw.js} +1 -1
- package/dist/assets/{InviteFormPage-BS5WRi1w-DulGzSSp.js → InviteFormPage-CbSJssAT-B68pBBll.js} +1 -1
- package/dist/assets/{InvitePageListView-CO8_ZG4N-DgU17xpb.js → InvitePageListView-BrUBTz5B-C4Bi8HKo.js} +1 -1
- package/dist/assets/{InvitePeoplePage-D3vbP-JS-Bu-BR2rk.js → InvitePeoplePage-BbDUlUjQ-D-lcrPrg.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-B-ZrMaqn-aCeuHZcd.js → InvoiceUploadSection-CRgtSthn-DpsfwSSA.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CjWitICD-D-_uARBC.js → IssueChargeCardPage-CdOs81el-BxrEFsor.js} +1 -1
- package/dist/assets/{LabeledAddressValue-Brl4LzSu-Crlgewjx.js → LabeledAddressValue-CoQKG0Vs-ArQ7GQm6.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-CkMlEpyG-DoliwdUM.js → LabeledAddressValueField-D5zB7wnP-D9_x4rj6.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-KplLKC3R-CMCXrJ87.js → LabeledControlledCheckBoxField-DSefRIxV-DEzZcib8.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CB5WGZwa-wo9NjzlR.js → LabeledCreatableSingleSelectField-DOv10RFp-E8nB4rrt.js} +1 -1
- package/dist/assets/{LabeledDocumentField-ClOVVHoy-Dq3PNVOa.js → LabeledDocumentField-CO6_e65U-Xg9JvMjr.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-7a2TUZx2-_D_vGvij.js → LabeledDropDownFormattedTextField-D6qgntCW-DZEs5m5T.js} +1 -1
- package/dist/assets/{LabeledText-DbGX_kFb-WPRiKZuu.js → LabeledText-DiD_FvMm-BU273AGf.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C_2dWkTR-DyBMsIH4.js → LabeledUserSingleSelectWithSubtitlesField-rBaXx4JB-BoxuQpFr.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-BOE3zuQX-ChGKD1Fc.js → LabeledZeniRolesDropDownField-DI9XLkn7-BEClY3V7.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-DnXY1rVh-CGORo_Qk.js → LinkJETransactionPage-BI9rvDWF-D9HoKgaf.js} +1 -1
- package/dist/assets/{LowBalancePopup-DCPaPCI6-B4h_YdQE.js → LowBalancePopup-ChqqEeWk-C11eT2fZ.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-BfKYEUuG-DguQEV0a.js → MagicLinkACHDetailsPage-DYDNDN_--CfETFAb1.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CFQuFGEV-DAD1w4TT.js → MagicLinkDomesticWireDetailsPage-DQuuLyWQ-1Hg08lPo.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-BCyp3gND-DWNCHFBg.js → MagicLinkInternationalWireDetailsPage-CnUTecpU-CePRHOps.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-DVobyltE-C5Ml1Afs.js → MagicLinkSuccessPage-Dyhk5vnq-DqL0YIDt.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-C2kT2QNt-CNdQTDBW.js → MagicLinkTitleSection-CAwqT4_X-DiR04CmD.js} +1 -1
- package/dist/assets/{MailingDetailsSection-DUFIMEFw-BBRMfmnJ.js → MailingDetailsSection-Cpu-qwub-DVRGUTuN.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-Zcyrwwqh-Dc9YMkPA.js → MeetingCalenderPopup-B5M2lm-y-3o2gRW-j.js} +1 -1
- package/dist/assets/{Menu-DxxrCzV1-gFv-eZWn.js → Menu-D0NUi1FB-YWmFK_J2.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-DqpBaroQ-BuEl8iLy.js → MyBankConnectionsSettingsPage-SYlGHINJ-D_q0bDPS.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-BRBQ-D56-DYUvtEXv.js → MyPendingActivationChargeCardListPage-EBaDVcO8-DWWruauc.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-1KpIFCJp-BoygOCKn.js → MyProfileSettingsPage-a1LKde_U-B-2dtISH.js} +1 -1
- package/dist/assets/{NavBarWithPicker-CTn1eQHT-B1LTES71.js → NavBarWithPicker-D3YzfX06-B5-Ttkpq.js} +1 -1
- package/dist/assets/{NavigationArrow-B6h0SDdP-Y1jq_YX_.js → NavigationArrow-C81m-KZF-l3LUWA_R.js} +1 -1
- package/dist/assets/{NavigationDots-BzUjuHrF-BHvj9J2p.js → NavigationDots-CB3WQq54-Vldskk9V.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-Vv7Gn5oQ-BOUOhTlk.js → NewGlobalMerchantPage-BwuCbGQ_-ClFRyYGa.js} +1 -1
- package/dist/assets/{NoDataChart-T4586K3d-QluGmZeg.js → NoDataChart-B0CMrh6X-y7xNFTPm.js} +1 -1
- package/dist/assets/{NoDataTable-7SOJQOqT-BwnILKpD.js → NoDataTable-BgcSvfNz-B8UgcWMt.js} +1 -1
- package/dist/assets/{NotFoundPage-C7JGgj7V-Dq3YfoXj.js → NotFoundPage-BnPqLAwW-B4lghZn4.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-DYxOSsX7-BgcWm3OJ.js → NotificationSettingsPage-wigFcdhu-vy-nP7LS.js} +1 -1
- package/dist/assets/{NotificationsListConfig-DRx-9Yz6-Ce4vzpIo.js → NotificationsListConfig-D2ndsr4D-DM4ejkSe.js} +1 -1
- package/dist/assets/{NotificationsPage-CWCUtTy2-BupjE978.js → NotificationsPage-BC-f8rc3-7yuQcc5s.js} +1 -1
- package/dist/assets/{OpExByVendorPage-CcYVhhkB-DDdOxino.js → OpExByVendorPage-CIh1CcAU-qJCynb-Y.js} +1 -1
- package/dist/assets/{OverlayContainerPage-GWXnlbZH-C5zeOihl.js → OverlayContainerPage-GWXnlbZH-CAJiUNdH.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-B9DbC93o-_eh4ot8J.js → PandLWithForecastPage-Dj21XOWq-6pELxt5n.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CCX-Pec--t2UZiNL0.js → PaymentAccountSetupBillingAddressSection-C0eGjv2q-Cu0V-kwW.js} +1 -1
- package/dist/assets/{PeoplePage-BiCeSvCZ-CHU6rnDX.js → PeoplePage-DHWuODjG-Pq5Jb5FY.js} +1 -1
- package/dist/assets/{PortfolioAllocationFormPage-BSvoK4qv-C2w8iakM.js → PortfolioAllocationFormPage-CYoVD723-B-VSgWfT.js} +1 -1
- package/dist/assets/{PortfolioDetails-pPKPD1a1-BdbwObm0.js → PortfolioDetails-5xc1wonC-BAeZ6WYz.js} +1 -1
- package/dist/assets/{ProductsCarousel-DR2qv1mK-L8s4NYfF.js → ProductsCarousel-DcSxZECS-DEnj1JWZ.js} +1 -1
- package/dist/assets/{PromoBaseCards-BnHveXZh-DEWVy6e9.js → PromoBaseCards-B-s9wF0Q-C1F62bpn.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-D8vq5tbS-Dab6soZ0.js → QBOConnectionDialog-CQlXDalh-D41g3YBn.js} +1 -1
- package/dist/assets/{QBOSetupSection-A1omZG46-CqcT2iQC.js → QBOSetupSection-Dpib3Rx5-Cl178Gzl.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-zd6wsvgN-AdLkkk9d.js → ReimbursementApprovalRuleDetailPage-CutUv2m2-WY3FiPdI.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DmRH5taR-evM1EqsM.js → ReimbursementApprovalRulesPage-Cyye_Ayg-D6djPKh9.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-B1I-bvKz-COOjEuxS.js → ReimbursementDetailPage-C4Tsi1io-D7xNSc-Z.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-BUMZSzw5-oxZ_ycQA.js → ReimbursementPromoPage-4BFu3jYR-Cpj_0RjQ.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-C3k9-DjY-CNw321iC.js → ReimbursementSetUpPage-Cpl4wfuS-bOQsc45a.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CuSB32kj-CoL-12ss.js → ReimbursementsBulkReviewDrawerPage-iGaIl0hj-ByWQrboJ.js} +1 -1
- package/dist/assets/{ReloadCard-BsW5v4Z9-CUdTOVzf.js → ReloadCard-F-DEmw51-CyIUQ5A1.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-KU1rwaTS-7E_4CsFX.js → ReportTableViewSelector-BSPNRs-f-DQGy-EeN.js} +1 -1
- package/dist/assets/{ReportsPage-BIz5qsi--BjPDOabH.js → ReportsPage-BQF-yVRz-B8_CA5t6.js} +1 -1
- package/dist/assets/{RevenueChart-lzn4f31Q-MVF33ZDx.js → RevenueChart-ClRH1Vei-DyQxLBCO.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-BAHxvnIm-2R97IBmt.js → ReviewDetailsPage-BKfSEXv--DVAIAByb.js} +1 -1
- package/dist/assets/{ReviewOverlay-BS3Bb8UE-LO55TXM8.js → ReviewOverlay-Dgnr47GU-BR4bFQZ5.js} +1 -1
- package/dist/assets/{RoleWithToolTip-Bg5SMNk0-DlUtXuLe.js → RoleWithToolTip-Bcjjd_2M-BwYePEiA.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BV45Yp7u-DBDwcI5u.js → ScheduleDetailsFixedAssetsPage-Bq6XAACj-D3PtjElx.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-BImlVd01-DlI-9-SG.js → ScheduleDetailsPage-DTLTxgOx-B_v0b0ZL.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-1JyAvL7Q-DU-yBzu6.js → ScheduleSequenceTable-CEZL4GA8-2gj8oGSn.js} +1 -1
- package/dist/assets/{ScreenRoutes-DnrkRxDX.js → ScreenRoutes-Bjd9WUE9.js} +1 -1
- package/dist/assets/{SetUpAccountSection-BWj67_7V-BY4wualA.js → SetUpAccountSection-CJsY-S6w-DFvRMNS-.js} +1 -1
- package/dist/assets/{SetUpDefaultSection-CcTYu9KI-BE67r-Ge.js → SetUpDefaultSection-Dbzui0hL-DgmPb_eb.js} +1 -1
- package/dist/assets/{SignIn-C9Bis1UR-D34WcJ5T.js → SignIn-yFG7aeiJ-9NI597Q3.js} +1 -1
- package/dist/assets/{SignInScreen-wz5z0Nk2.js → SignInScreen-fi8j7ajy.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-CAqXkCNm-D_oO4dJU.js → SpendManagementListViewPage-cw0B29Ux-IBWIggY1.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-BH8fKe7l-B9D7r01O.js → SpendManagementPerTabPage-Bkw1eegW-DEu3PUyn.js} +1 -1
- package/dist/assets/{SpendManagementSection-C5TccKK--CVQu6w5N.js → SpendManagementSection-DuYMRljT-5VK3CJom.js} +1 -1
- package/dist/assets/{SpendMgmtSetupAccountSection-B_tGpehs-C13G2u3A.js → SpendMgmtSetupAccountSection-DF3XzW-2-DM5lmQVp.js} +1 -1
- package/dist/assets/{StatementItem-DG9w15d--RRq4REg8.js → StatementItem-DGX-Yd6i-apD-vT-Z.js} +1 -1
- package/dist/assets/{StatementsPage-BdN88QJJ-d3brFalJ.js → StatementsPage-BJ3A9NXT-eW57dBnC.js} +1 -1
- package/dist/assets/{StatusSwitcher-gNATihC3-C-o7lNI-.js → StatusSwitcher-Duc8UFd8-DR89v0rI.js} +1 -1
- package/dist/assets/{SubTabSwitcher-DAEoIU-Q-C-niCmiC.js → SubTabSwitcher-U04APwPI-ByK3d4eV.js} +1 -1
- package/dist/assets/{SummaryCard-OxWKTAi_-hNJY3gZm.js → SummaryCard-BPy7YF4F-BlgzbHmQ.js} +1 -1
- package/dist/assets/{TaskManagementPage-ucrH-SxY-DIYUY5ps.js → TaskManagementPage-CaPSMhTy-B_FogQNy.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-Ebmo9AYk-DN1fvxBa.js → TimeRangeSwitcher-DR2s6McL-Bd4-0Nxt.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-pPrxCjwR-D66U4eSK.js → TimeframeSwitcher-CR_Pithb-DXZcXjqp.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-ywAz9QoN-BUbMmc9Y.js → TimeframeSwitcherWithToggle-CxsK8B8h-MKstCMxH.js} +1 -1
- package/dist/assets/{TopExCard-DBn2NqIA-CVHGN5Cl.js → TopExCard-CykkX8Ny-BpkNf26X.js} +1 -1
- package/dist/assets/{TopExDetailPage-p64hNnnA-BlwErjQ0.js → TopExDetailPage-D9lST5M2-BH3jx1F5.js} +1 -1
- package/dist/assets/{TransactionDetailPage-CxAe72G9-CU73BzUi.js → TransactionDetailPage-CdEYjFbk-DsyJoIP9.js} +1 -1
- package/dist/assets/{TransactionList-yK7ZYEou-CPK5ow1f.js → TransactionList-Dybq00u0-BXF28aDD.js} +1 -1
- package/dist/assets/{TransactionListBig-D7aG1I33-1X_KgIVv.js → TransactionListBig-C08_BfqV-D6Q1VE_X.js} +1 -1
- package/dist/assets/{TransactionListPage-CRqs-wlv-DOS9yZFD.js → TransactionListPage-B1Yrd7M3-ITYl3V2H.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-CZTN0wW8-CG6HRg-A.js → TransactionVendorDetailPage-C4c-gk4U-DtCUPkDI.js} +1 -1
- package/dist/assets/{TransferDrawerPage-BrhFck8u-BeVpEpdW.js → TransferDrawerPage-R6BJFqqt-DaxCp2PU.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-BpV4pCSA-C281p1qd.js → TreasuryOverviewPage-BsLzvGJ9-J84QwhvQ.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-C6ZnQSpk-CYqZJQhB.js → TreasuryPromoPage-k4TR0X4_-CJYFJSJB.js} +1 -1
- package/dist/assets/{TreasurySetupPage-BmoVprJL-DaSPtSJl.js → TreasurySetupPage-xA9wkaxu-CK0UbTOW.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-Cm5_xU1n-C123kIcU.js → TreasuryStatementsPage-BeGMnFii-BTaJz6Ur.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-_rEGQMR3-Ck4ioaLU.js → TreasuryTaxLetterPage-D6xf_HNB-D4wojYti.js} +1 -1
- package/dist/assets/{TreasuryTransferOrReviewPage-DgiHAsBg-DEKgBWau.js → TreasuryTransferOrReviewPage-Cy90K2k1-Bhrl_iDh.js} +1 -1
- package/dist/assets/{TrendChart-xIdxctU8-VX-yReb8.js → TrendChart-CJ4ymPpY-CRRzaBld.js} +1 -1
- package/dist/assets/{TrendWithTransactions-BfLGuXQj-DKXwCJR7.js → TrendWithTransactions-B1FMv4RR-ChUN4shx.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-CDy9Ri0a-J2e6RPRE.js → UncategorizedAccountsMappingPage-MX9qLxmy-CiluJ24B.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-k2FVWXIc-jsb-UW_Z.js → UnitIntegrationPage-B1wIRNw1-CVcTooNC.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-BOA4AHm2-xdXtSUOm.js → UploadAdditionalDocumentOverlay-DiX5Dbc--BGaLR6hc.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DWbOSde1-CIn7Mawv.js → Vendor2FAPopup-Cljy86Us-DXjV0e44.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-Dxa1YMIJ-Bignbe8A.js → VendorACHDetailsPage-BZG4bwOp-jh2vQyQm.js} +1 -1
- package/dist/assets/{VendorDetailPage-Iiwzh-ZT-BVXuEkoF.js → VendorDetailPage-B8m4FkG5-DfgwwjnN.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-CGJ4MlC8-CWb3Qc0o.js → VendorDomesticWireDetailsPage-D7Mt3s3R-Z8XslteE.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-B7871Mhw-Bj0jiayg.js → VendorFiling1099EditablePage-B1FNkNlL-BMywY9Fs.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-BkEdIBG_-CjcRvdQC.js → VendorFirstReviewPage-CDmMppJJ-D_TzCwlD.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-Kfagr169-jRMOV2if.js → VendorInternationalWireDetailsPage-X-j8j32p-Ccr-6IC8.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DOProal8-BGpw17ZD.js → VendorInternationalWireSwiftDetailsPage-eJXY7B89-D5ZjryiC.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-Dvq3DO8J-CzIklM5K.js → VendorsAccountsSection-DH0v9LaU-Nuf2omrd.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-CT9Yu_kA-DYdKNIAr.js → WarningsDrawerPage-0XqR-WSe-DwIvPWAi.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-Bn-xkPN7-BsAraKtD.js → ZeniAccountDetailPage-poRKOvKO-DLO7qVLF.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-CrfoK_-S-CVNttUml.js → ZeniAccountListViewPage-DAwsHVFu-BFTLIRTF.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-CauNX8EE-CITfbmPn.js → ZeniAccountNavBarPieces-CK1z6uDE-Dx8IkqyL.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-BjvqNB1t-MPJ7O7Ay.js → ZeniAccountPromoPage-D_AeQXK0-BmsKPXvG.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-DSw_KPxq-CY17LgKe.js → ZeniAccountSetupPage-B5KmPY23-9lXbmgUa.js} +1 -1
- package/dist/assets/{ZeniCopyright-QA9RHYMK-K4iHoWJi.js → ZeniCopyright-DawBwguL-BaJFfLKQ.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-B4cUboEh-Csz834w3.js → ZeniTransferAmountSlider-BBQgQPfw-CrMPlaZB.js} +1 -1
- package/dist/assets/{analyticsHelper-CL93s-1C.js → analyticsHelper-CSTTcbjG.js} +1 -1
- package/dist/assets/{analyticsHelper-C4qmWpU5-CfuV4cN9.js → analyticsHelper-mARzqEfV-BMxvjyCP.js} +1 -1
- package/dist/assets/{chartTypes-voo0IDRB-CYGaQom1.js → chartTypes-CedtWDkU-cTNKZniI.js} +1 -1
- package/dist/assets/{commonDimensions-DlTnUSCm-DO5W9slZ.js → commonDimensions-ZxGdYNGR-CUt8Derw.js} +1 -1
- package/dist/assets/{detailCommon-D_Iv7bJI-DIDHl_8c.js → detailCommon-C0urnGcj-DiOtpfF1.js} +1 -1
- package/dist/assets/{downloadPdf-C3McD4L4-CDamigyg.js → downloadPdf-C1cvLEsi-Dk04IBab.js} +1 -1
- package/dist/assets/{index-4Vt70fVf.js → index-Bac0rl1Z.js} +3 -3
- package/dist/assets/{mapLoadingInProgressToTreeNode-DPFqqVtT-gXlUMh7k.js → mapLoadingInProgressToTreeNode-D9ofcMAJ-C2yg5vuU.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-B1YNY6Ry-Coc_OiI6.js → mapSectionWithAcOnlyToTreeNode-CAhuUnXV-CREi-s41.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CiA7DvHN-B6UOcRIa.js → mapSpacerToTreeNode-BPXOBdsi-CZkOhrs-.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DaJ2Xi-V-BsJVghPD.js → mapTimeframeBalancesToTreeNode-BU0Ph9My-DACi2i5F.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-JmS044Zg-n00d47Hl.js → mapTimeframeBalancesToTreeNode-BYB1q7M0-DA6Wa0rz.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DxwUIfBr-5lxS3Vma.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Bkav2l0W-DPWpD0Vt.js} +1 -1
- package/dist/assets/{play-icon-Bp64ZIEx-B2XW1StB.js → play-icon-BaaR5WkW-DL1x5IAn.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-B7LbirMG-Bc-9sy4D.js → toCOABalancesWithID-CCW7YVfm-Bs0ZA7KW.js} +1 -1
- package/dist/assets/{toChartData-CuB9yc-H-D5hI4s-u.js → toChartData-C3kVg0fD-BVd6kxYy.js} +1 -1
- package/dist/assets/{treasuryColorHelper-DyLAAeN7-rqV_AmOj.js → treasuryColorHelper-Cc1DTnhB-CSWgA_MM.js} +1 -1
- package/dist/assets/{uploadAttachment-NIRC4dWz-CPJCwR0y.js → uploadAttachment-C56u0Q20-DI9f2svy.js} +1 -1
- package/dist/assets/{uploadReceipts-D80JLNY4-DW6Z9ayE.js → uploadReceipts-D80JLNY4-ie9T0Rq7.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ChargeCardSetupPage-BADfRJlj-gyolcwRN.js +0 -36
- package/dist/assets/CustomerOnboardingContainerPage-L6Hnku03-COKiVoOG.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as h,j as r,W as a,Y as m,ah as j,M as C,a4 as l,aY as x,v as g,o as c,ai as f}from"./index-
|
|
1
|
+
import{u as h,j as r,W as a,Y as m,ah as j,M as C,a4 as l,aY as x,v as g,o as c,ai as f}from"./index-Bac0rl1Z.js";import{n as s,b as d}from"./vendor-CnQcJ2Lu.js";function p({backgroundColor:e,foregroundColor:o,animated:t,width:i,height:n}){return r.jsxs(x,{speed:2,width:i,height:n,viewBox:`0 0 ${i} ${n}`,animate:t!=!1,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"64",y:"0",rx:"4",ry:"4",width:`${i-128}`,height:"21"}),r.jsx("rect",{x:"24",y:"45",rx:"4",ry:"4",width:`${i-48}`,height:"228"})]})}function w({backgroundColor:e,foregroundColor:o,animated:t}){return r.jsxs(x,{speed:2,width:240,height:98,viewBox:"0 0 240 98",animate:t!=!1,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"66",y:"0",rx:"4",ry:"4",width:"108",height:"21"}),r.jsx("rect",{x:"44",y:"77",rx:"4",ry:"4",width:"152",height:"21"}),r.jsx("rect",{x:"0",y:"29",rx:"4",ry:"4",width:"240",height:"40"})]})}const u=s(l)`
|
|
2
2
|
justify-content: flex-start;
|
|
3
3
|
`;function T({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(u,{children:r.jsx(w,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o})})})}function M({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(u,{children:r.jsx("div",{style:{width:"100%",height:"100%"},children:r.jsx(f,{children:({height:i,width:n})=>r.jsx(p,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o,width:n,height:i})})})})})}const y=e=>d.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("rect",{opacity:.2,width:72,height:72,rx:36,fill:"#97C3B9"}),d.createElement("path",{d:"M46.7755 32.5635L43.8368 36.9716L40.4082 33.0533",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M34.5307 44.8163C32.6902 44.8163 30.8909 44.2705 29.3605 43.248C27.8301 42.2254 26.6374 40.772 25.933 39.0715C25.2286 37.3711 25.0443 35.4999 25.4034 33.6947C25.7625 31.8895 26.6488 30.2313 27.9503 28.9298C29.2518 27.6283 30.91 26.742 32.7152 26.3829C34.5204 26.0238 36.3916 26.2081 38.092 26.9125C39.7925 27.6169 41.2459 28.8096 42.2685 30.34C43.291 31.8704 43.8369 33.6697 43.8369 35.5102V36.9737",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),k=s(l)`
|
|
4
4
|
justify-content: space-between;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as X,X as ie,bC as me,a as fe,j as o,f as ge,M as Z,bD as ee,F as xe,C as P,a3 as be,o as n,bE as ye,bF as _e,bG as we,bH as $e,bI as ve,e as ce,bJ as Ce,m as p,v as ke,H as K,aY as je,a7 as Ne,s as Se,b0 as Ie}from"./index-
|
|
1
|
+
import{u as X,X as ie,bC as me,a as fe,j as o,f as ge,M as Z,bD as ee,F as xe,C as P,a3 as be,o as n,bE as ye,bF as _e,bG as we,bH as $e,bI as ve,e as ce,bJ as Ce,m as p,v as ke,H as K,aY as je,a7 as Ne,s as Se,b0 as Ie}from"./index-Bac0rl1Z.js";import{b as f,f as de,n as d}from"./vendor-CnQcJ2Lu.js";import{W as D,R as Pe}from"./CollapsableReportTable-CWIVhYku-Di1SJf6r.js";const z=Z.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat,De=e=>({this_period:{start_date:e.thisPeriod.startDate.format(z),end_date:e.thisPeriod.endDate.format(z)},number_of_periods:e.numberOfPeriods,order_by:e.orderBy}),Fe=e=>e!=null?{start_date:e.startDate.format(z),end_date:e.endDate.format(z)}:void 0;function Oe(e){return{locale_id:e.localeId,show_negative_amount_in_parenthesis:e.showNegativeAmountInParenthesis,filter_accounts_with_nil_balances:e.filterAccountsWithNilBalances,filter_account_groups_with_nil_balances:e.filterAccountGroupsWithNilBalances,include_cover_page:e.includeCoverPage,company_name:e.companyName,statement_file_type:e.statementFileType,statements:e.statements,first_month_of_fy:e.firstMonthOfFY,book_close_date:e.bookCloseDate!=null?e.bookCloseDate.format(z):void 0,timeframe:e.timeframe,additional_balances:e.additionalBalances,format:e.format,balances_filter:De(e.balancesFilter),account_view_mode:e.accountViewMode,classes_to_filter_out:e.classesToFilterOut,data_available:Fe(e.dataAvailable),is_zeni_coa_used:e.isZeniCOAUsed}}async function no(e,c,a){const t=Z.getLocalizedStrings().downloadReport,r=`${e}?query=${encodeURIComponent(JSON.stringify(Oe(a)))}`;try{const h=await ye({urlEndPoint:r,authParams:c,fileType:a.statementFileType});if(h.ok){const b=_e(h.headers,t.defaultFileName),y=await h.arrayBuffer();we(y,b)}else console.error(`${t.reportErrorMessage} ${h.statusText}`)}catch(h){console.error(`${t.reportErrorMessage} ${JSON.stringify(h)}`)}}const Ee=d.div`
|
|
2
2
|
padding: 0 ${n.sp3} 0 ${n.sp3};
|
|
3
3
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
4
4
|
background: ${e=>e.theme.colors.grey5};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as U,u as G,M as y,w as he,l as _,j as r,Y as k,be as fe,aX as me,aV as ge,C as v,o as C,a5 as _e,c as be,bf as Se,m as w,D as B,H as J,bg as we,a7 as Ce,aB as ye,a_ as xe}from"./index-4Vt70fVf.js";import{b as P,f as K,n as b}from"./vendor-CnQcJ2Lu.js";import{m as z,l as Z}from"./analyticsHelper-C4qmWpU5-CfuV4cN9.js";import{h as Oe}from"./ReportTableViewSelector-KU1rwaTS-7E_4CsFX.js";import{a as Q,p as Re}from"./TimeRangeSwitcher-Ebmo9AYk-DN1fvxBa.js";import{M as Ae}from"./TimeframeSwitcherWithToggle-ywAz9QoN-BUbMmc9Y.js";import{DownloadOverlayButton as Be}from"./DownloadOverlay-2cyqFPGO-mq9Ke6Fz.js";import{R as ve,W as F,x as ee}from"./CollapsableReportTable-q6K7jAw6-DUkjuT2o.js";import{T as te,I as se,L as j,D as Le,g as ne}from"./mapSectionWithAcOnlyToTreeNode-B1YNY6Ry-Coc_OiI6.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-DaJ2Xi-V-BsJVghPD.js";import{d as Te,l as Pe}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-DxwUIfBr-5lxS3Vma.js";import{d as ke}from"./mapLoadingInProgressToTreeNode-DPFqqVtT-gXlUMh7k.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./TimeframeSwitcher-pPrxCjwR-D66U4eSK.js";import"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./AccountRow-WEuGwVlL-JxLe7wdK.js";function oe({section:e,sectionId:t,numOfBalances:o,config:a}){return ee("no_filter",a.filterAccountsWithNilBalances,a.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(n=>Ie({accountGroup:n,sectionType:t,numOfBalances:o,title:n.accountGroupName,isLastNode:!0,config:a}))}function Ie({accountGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:d}){const p=F("section",[],a+t),l={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:d}},i=ee("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),u=i.map((g,h)=>ne({account:g,sectionType:t,numOfBalances:o,title:g.account.accountName,config:d,isLastNode:h===i.length-1,parentNodeIDs:[p],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:i.length>1,hasChildren:g.children.length>0,isLastNode:h===i.length-1}]}}));return l.children.push(...u),l}function ae({sectionWithAcOnly:e,sectionType:t,numOfBalances:o,config:a}){return e.accounts.map((n,d)=>ne({account:n,sectionType:t,numOfBalances:o,title:n.account.accountName,config:a,isLastNode:d===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:n.children.length>0,isLastNode:d===e.accounts.length-1}]}}))}function ie({balances:e,config:t,nodeId:o}){return{children:[],id:o??F("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:t.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:t}}}function Ne(e,t,o,a=!0){Object.assign(e.config,t);const n=ce(o),d=Y({balances:n,config:t});return{config:t,headerNodes:a?[d]:[],contentNodes:[d,...e.contentNodes.slice(1)]}}const ce=e=>{switch(e.reportId){case"profit_and_loss":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"profit_and_loss_by_classes":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"cash_flow":{const t=e;return[...t.calculatedSections.operatingActivitiesTotal.balances,...t.calculatedSections.operatingActivitiesTotal.additionalBalances]}case"balance_sheet":{const t=e;let o=[];return Object.keys(t.sections).forEach(a=>{t.sections[a].balances.length>0&&(o=[...t.sections[a].balances,...t.sections[a].additionalBalances])}),o}default:return[]}};function Me(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.balanceSheet,d=ce(e),p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=ie({balances:d,config:t}),i=[];return i.push(l),Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(_.isBalanceSheetReportViewSectionID(s)===!0)if(e.sections[s].accountGroups.length>0)if(s==="equity"){const c=oe({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else i.push(te({section:e.sections[s],sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}));else if(s==="equity"){const c=ae({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else{const c=e.sections[s];i.push(se({sectionWithAcOnly:c,sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}))}else _.isBalanceSheetReportViewCalculatedSectionID(s)===!0&&i.push(j({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:i}}function Fe({calculatedSection:e,numOfBalances:t,title:o,isLastNode:a,config:n}){return{children:[],id:F("calculated_section_type1",[],o),isLastNode:a,reportElementData:{element:{kind:"calculated_section_type1",title:o,data:e,numOfBalances:t},config:n}}}function $e(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.cashFlow,d=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=ie({balances:d,config:t}),i=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(_.isCashFlowReportViewSectionID(s)===!0)if(e.sections[s].accountGroups.length>0){const c=oe({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else{const c=ae({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else _.isCashFlowReportViewCalculatedSectionType1ID(s)===!0?i.push(Fe({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t})):_.isCashFlowReportViewCalculatedSectionID(s)===!0&&i.push(j({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:[l,...i]}}function je(e,t,o=!0,a=!1){const n=y.getLocalizedStrings().reports,d=y.getLocalizedStrings().common;let p=[];const l=[];let i=[];if(a===!0){const u=Te({title:d.loading,balances:[],config:t});u.reportElementData.element.numOfBalances=6,o&&(i=[u]),l.push(u),[...Array(8)].forEach((g,h)=>{const s=h%4;let c=Pe[s];const x=ke({title:`${h}+${c}`,balances:p,config:t});x.reportElementData.element.numOfBalances=6,l.push(x)})}else{const u=e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],g=Y({balances:u,config:t}),h=t.mode!=null&&t.mode==="this_period_vs_period_before"&&u.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1;l.push(g),o&&(i=[g]),e.idsInOrder.forEach(s=>{if(_.isPandLReportViewSectionID(s)===!0){const c=e.sections[s];c!=null&&l.push(Le({section:c,sectionType:s,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}else if(_.isPandLReportViewCalculatedSectionID(s)===!0){const c=e.calculatedSections[s];c!=null&&l.push(j({calculatedSection:c,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:i,contentNodes:l}}function Ee(e,t,o=!0){const a=y.getLocalizedStrings().reports,n=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income!=null&&e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs!=null&&e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome!=null&&e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses!=null&&e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],d=t.mode!=null&&t.mode==="this_period_vs_period_before"&&n.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,p=Y({balances:n,config:t}),l=[];return l.push(p),e.idsInOrder.forEach(i=>{if(_.isPandLReportViewSectionID(i)===!0&&(e.sections[i].accountGroups.length>0?l.push(te({section:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t})):l.push(se({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))),_.isPandLReportViewCalculatedSectionID(i)===!0){const u=e.calculatedSections[i];u!=null&&l.push(j({calculatedSection:u,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))}}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}const q={contentPaddingLeft:new v(w[0],w[0],w[0]),contentPaddingRight:new v(w[3],w[3],w[8])},Ve=b.div`
|
|
1
|
+
import{X as U,u as G,M as y,w as he,l as _,j as r,Y as k,be as fe,aX as me,aV as ge,C as v,o as C,a5 as _e,c as be,bf as Se,m as w,D as B,H as J,bg as we,a7 as Ce,aB as ye,a_ as xe}from"./index-Bac0rl1Z.js";import{b as P,f as K,n as b}from"./vendor-CnQcJ2Lu.js";import{m as z,l as Z}from"./analyticsHelper-mARzqEfV-BMxvjyCP.js";import{h as Oe}from"./ReportTableViewSelector-BSPNRs-f-DQGy-EeN.js";import{a as Q,p as Re}from"./TimeRangeSwitcher-DR2s6McL-Bd4-0Nxt.js";import{M as Ae}from"./TimeframeSwitcherWithToggle-CxsK8B8h-MKstCMxH.js";import{DownloadOverlayButton as Be}from"./DownloadOverlay-BrVMY7u8-PA5PVprH.js";import{R as ve,W as F,x as ee}from"./CollapsableReportTable-CWIVhYku-Di1SJf6r.js";import{T as te,I as se,L as j,D as Le,g as ne}from"./mapSectionWithAcOnlyToTreeNode-CAhuUnXV-CREi-s41.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-BU0Ph9My-DACi2i5F.js";import{d as Te,l as Pe}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-Bkav2l0W-DPWpD0Vt.js";import{d as ke}from"./mapLoadingInProgressToTreeNode-D9ofcMAJ-C2yg5vuU.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./TimeframeSwitcher-CR_Pithb-DXZcXjqp.js";import"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./AccountRow-DAc1wwY9-DEIj0_IL.js";function oe({section:e,sectionId:t,numOfBalances:o,config:a}){return ee("no_filter",a.filterAccountsWithNilBalances,a.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(n=>Ie({accountGroup:n,sectionType:t,numOfBalances:o,title:n.accountGroupName,isLastNode:!0,config:a}))}function Ie({accountGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:d}){const p=F("section",[],a+t),l={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:d}},i=ee("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),u=i.map((g,h)=>ne({account:g,sectionType:t,numOfBalances:o,title:g.account.accountName,config:d,isLastNode:h===i.length-1,parentNodeIDs:[p],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:i.length>1,hasChildren:g.children.length>0,isLastNode:h===i.length-1}]}}));return l.children.push(...u),l}function ae({sectionWithAcOnly:e,sectionType:t,numOfBalances:o,config:a}){return e.accounts.map((n,d)=>ne({account:n,sectionType:t,numOfBalances:o,title:n.account.accountName,config:a,isLastNode:d===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:n.children.length>0,isLastNode:d===e.accounts.length-1}]}}))}function ie({balances:e,config:t,nodeId:o}){return{children:[],id:o??F("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:t.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:t}}}function Ne(e,t,o,a=!0){Object.assign(e.config,t);const n=ce(o),d=Y({balances:n,config:t});return{config:t,headerNodes:a?[d]:[],contentNodes:[d,...e.contentNodes.slice(1)]}}const ce=e=>{switch(e.reportId){case"profit_and_loss":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"profit_and_loss_by_classes":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"cash_flow":{const t=e;return[...t.calculatedSections.operatingActivitiesTotal.balances,...t.calculatedSections.operatingActivitiesTotal.additionalBalances]}case"balance_sheet":{const t=e;let o=[];return Object.keys(t.sections).forEach(a=>{t.sections[a].balances.length>0&&(o=[...t.sections[a].balances,...t.sections[a].additionalBalances])}),o}default:return[]}};function Me(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.balanceSheet,d=ce(e),p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=ie({balances:d,config:t}),i=[];return i.push(l),Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(_.isBalanceSheetReportViewSectionID(s)===!0)if(e.sections[s].accountGroups.length>0)if(s==="equity"){const c=oe({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else i.push(te({section:e.sections[s],sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}));else if(s==="equity"){const c=ae({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else{const c=e.sections[s];i.push(se({sectionWithAcOnly:c,sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}))}else _.isBalanceSheetReportViewCalculatedSectionID(s)===!0&&i.push(j({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:i}}function Fe({calculatedSection:e,numOfBalances:t,title:o,isLastNode:a,config:n}){return{children:[],id:F("calculated_section_type1",[],o),isLastNode:a,reportElementData:{element:{kind:"calculated_section_type1",title:o,data:e,numOfBalances:t},config:n}}}function $e(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.cashFlow,d=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=ie({balances:d,config:t}),i=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(_.isCashFlowReportViewSectionID(s)===!0)if(e.sections[s].accountGroups.length>0){const c=oe({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else{const c=ae({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else _.isCashFlowReportViewCalculatedSectionType1ID(s)===!0?i.push(Fe({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t})):_.isCashFlowReportViewCalculatedSectionID(s)===!0&&i.push(j({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:[l,...i]}}function je(e,t,o=!0,a=!1){const n=y.getLocalizedStrings().reports,d=y.getLocalizedStrings().common;let p=[];const l=[];let i=[];if(a===!0){const u=Te({title:d.loading,balances:[],config:t});u.reportElementData.element.numOfBalances=6,o&&(i=[u]),l.push(u),[...Array(8)].forEach((g,h)=>{const s=h%4;let c=Pe[s];const x=ke({title:`${h}+${c}`,balances:p,config:t});x.reportElementData.element.numOfBalances=6,l.push(x)})}else{const u=e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],g=Y({balances:u,config:t}),h=t.mode!=null&&t.mode==="this_period_vs_period_before"&&u.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1;l.push(g),o&&(i=[g]),e.idsInOrder.forEach(s=>{if(_.isPandLReportViewSectionID(s)===!0){const c=e.sections[s];c!=null&&l.push(Le({section:c,sectionType:s,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}else if(_.isPandLReportViewCalculatedSectionID(s)===!0){const c=e.calculatedSections[s];c!=null&&l.push(j({calculatedSection:c,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:i,contentNodes:l}}function Ee(e,t,o=!0){const a=y.getLocalizedStrings().reports,n=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income!=null&&e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs!=null&&e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome!=null&&e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses!=null&&e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],d=t.mode!=null&&t.mode==="this_period_vs_period_before"&&n.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,p=Y({balances:n,config:t}),l=[];return l.push(p),e.idsInOrder.forEach(i=>{if(_.isPandLReportViewSectionID(i)===!0&&(e.sections[i].accountGroups.length>0?l.push(te({section:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t})):l.push(se({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))),_.isPandLReportViewCalculatedSectionID(i)===!0){const u=e.calculatedSections[i];u!=null&&l.push(j({calculatedSection:u,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))}}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}const q={contentPaddingLeft:new v(w[0],w[0],w[0]),contentPaddingRight:new v(w[3],w[3],w[8])},Ve=b.div`
|
|
2
2
|
height: ${e=>e.height}px;
|
|
3
3
|
width: 99.9%;
|
|
4
4
|
margin-top: ${C.sp2};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as A,j as a,M as S,X as de,Y as Ae,ai as Q,b5 as Te,m as E,b6 as J,au as ee,p as M,at as ae,aa as re,b7 as oe,b8 as ge,o as m,b9 as te,g,H as Fe,ba as pe,bb as me,C as xe,bc as fe,s as R,bd as F,ao as V}from"./index-
|
|
1
|
+
import{u as A,j as a,M as S,X as de,Y as Ae,ai as Q,b5 as Te,m as E,b6 as J,au as ee,p as M,at as ae,aa as re,b7 as oe,b8 as ge,o as m,b9 as te,g,H as Fe,ba as pe,bb as me,C as xe,bc as fe,s as R,bd as F,ao as V}from"./index-Bac0rl1Z.js";import{b as P,f as le,n as x}from"./vendor-CnQcJ2Lu.js";import{p as b,d as ne,y as W,b as N,g as ce,u as T}from"./chartTypes-CedtWDkU-cTNKZniI.js";import{i as K,h as se,c as I}from"./toCOABalancesWithID-CCW7YVfm-Bs0ZA7KW.js";import{V as Z}from"./toChartData-C3kVg0fD-BVd6kxYy.js";const X={legendLabelMarginLeft:new xe(2,2),legendLabelMarginRight:new xe(E[3],E[4])},Ve=x.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,He=x.div`
|
|
4
4
|
margin: ${m.sp2} ${m.sp0} ${m.sp2} ${m.sp0};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as vt,w as Tt,C as y,cB as jt,M as St,cC as Ct,cD as Dt,j as t,cE as It,cF as le,cG as At,l as d,cH as Pt,cI as kt,Y as j,cJ as Mt,_ as k,cK as Bt,cL as Nt,cM as ke,cN as Me,cO as Be,p as G,cP as O,cQ as z,cR as _,g as S,cS as Rt,cT as Ft,cU as Et,cV as Lt,bs as Ne,o as n,a3 as Ot,m as c,r as zt,bo as _t,Q as Wt,h as Ut,cW as Ht,bH as Zt,s as se,e as de,cX as Yt,cY as Vt,aA as Gt,k as Kt,an as qt,Z as Xe,b4 as Xt,v as Qe,aN as Qt,cZ as Jt}from"./index-4Vt70fVf.js";import{b as U,n as i}from"./vendor-CnQcJ2Lu.js";import{t as en,o as tn}from"./LowBalancePopup-DCPaPCI6-B4h_YdQE.js";import{S as W}from"./LabeledText-DbGX_kFb-WPRiKZuu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const Je=["small","medium-compact","medium-regular"],p={largeLabelWidth:new y(150,215,215),infoMinWidth:new y(0,0,0,142,142),infoMarginRight:new y(0,0,0,c[2],c[2]),footerButtonWidth:new y(120,165),iconContainerMarginTop:new y(6,c[1]),navBarContainerPaddingTop:new y(10,c[3]),sectionTitleMarginLeft:new y(c[3],c[0]),reviewContainerMarginLeft:new y(c[3],c[6]),reviewContainerMarginRight:new y(c[3],c[8]),footerRightIconMarginRight:new y(c[0],c[0],c[7]),infoLabelPaddingRight:new y(c[0],c[3]),infoLabelMarginTop:new y(c[1],c[0])},nn={sectionTitle:new Wt("h6Medium","h5Medium")},{dateFormat:Re,common:{currency:T,labels:Fe,edit:an,strings:{empty:h}},spendManagement:{billPay:ln}}=St.getLocalizedStrings(),{billDetails:a,paymentDetails:Ee}=ln,Le=({attachment:e})=>{const[w,x]=U.useState(!1),M=()=>{x(!1)},C=e.fileId?.length===0;return t.jsxs(Bn,{isDisabled:e.fileId?.length===0,"data-testid":j("attachment-tag",e.fileName),onClick:()=>C===!1?x(!0):null,children:[w&&e?.fileDownloadUrl!=null?t.jsx(Yt,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:x}):null,t.jsx(Nn,{children:t.jsx(Vt,{contentType:e.contentType})})]})},ti=({billDetails:e,billpayApprovalView:w,isBillPayCommentingEnabled:x,currentTenant:M,isInternationalPaymentShaVsOurEnabled:C,isLocalCurrencyEnabled:et,style:tt,analytics:$,isRecurringBillsFeatureEnabled:nt,isApprovalRequiredForMarkAsPaid:it,isDetectInsufficientFundsEnabled:at,billId:f,onClickEdit:ce,discardBillDetailsFromLocalStore:me,saveBillDetails:pe,discardOutsideZeniPaymentData:lt,updateBillDetailSaveBillCode:ue,redirectToBillsScreen:ye,onAttachmentClick:Q,retryPayment:ot})=>{const s=vt(),m=Tt(),B={application:"dashboard",companyId:m.currentTenant?.companyId,tab:"bill",entityId:f},N=x&&f!=null,R=`dashboard_${m.currentTenant?.companyId}`,F=p.largeLabelWidth.value(s),E=e.saveStatus,J=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=jt(C,et,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),D=Re.visual.MMMDCommaYYYYformat,he={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:T.currencyCode,currencySymbol:T.currencySymbol},u={amount:o?.method.includes("international")===!0?Ct(he,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:T.currencyCode,currencySymbol:T.currencySymbol},L={amount:o?.method.includes("international")===!0?Dt(he,o):o?.fee.amount??0,currencyCode:T.currencyCode,currencySymbol:T.currencySymbol},[rt,ge]=U.useState(!1),[st,xe]=U.useState(!1),fe=()=>ge(!1),dt=()=>{$.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ct=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Pn,{size:s,children:t.jsx(An,{})})]}):It(e.paymentDetailsSection?.paymentTo);U.useEffect(()=>{(E?.fetchState==="Completed"||J?.fetchState==="Completed")&&(me(),ue(),ye())},[E,J,ye,me,ue]);const v=e.billPayInfo?.stage,A=e.billPayInfo?.billStatus,H=e.billPayInfo?.billPaymentStatus,mt=e.billPayInfo?.billPaymentRefundStatus,te=v?.code==="paid"?v:A?.code=="approved"&&H?.code?H:A,pt=e.billPayInfo?.isRefundInitiated===!0?mt:A?.code=="approved"&&H?.code?H:A,ne=()=>{ce()},be=()=>{ce()},Z=e.paymentDetailsSection?.paymentDate,ie=le(o?.method??""),we=ie.replace("Same Day",""),ut=e.isCollectToAccountInfoFromVendorContact?t.jsx(At,{paymentTypeLabel:we,onClick:dt}):a.addedByZeni,Y=w.allApprovalRules.length>0,yt=d.toAmount(o?.method!=null&&(o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)||o?.fee.amount!=null&&o.fee.amount!==0)?u.amount-L.amount:u.amount,o?.fee.currencyCode??d.defaultVendorCurrency.currencyCode,o?.fee.currencySymbol??d.defaultVendorCurrency.currencySymbol),g=d.isPaymentMethodOutsideZeni(e.paymentDetailsSection?.paymentType?.method),ht=l=>{$.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",v?.code??"draft",te?.code??""),pe(!0,l)},$e=()=>{xe(!0),$.trackBillPayMarkAsPaid(v?.code??"draft",te?.code??"")},gt=()=>{lt(),xe(!1)},P=g&&(v?.code!=null?v.code==="draft"||A?.code==="approved":!0),b=P&&!it,ve=Oe(b,Y,e.isBillMarkedForRetry),xt=()=>g?b?void 0:a.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&C&&ee===T.currencyCode?Ft(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ae=at&&e.paymentDetailsSection!=null?Pt(u,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,ft=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,I=e.recurringConfig,wt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&$.trackBillPayAutoDateChange(f??"new_bill"),o?.method!=null&&l!=null){const $t=g?a.paymentOutsideZeni.offline:le(o.method);if($.trackBillPaySendForApproval($t,l.format(Re.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,f,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:d.zeniDate(I?.startDate?.toString()??"").format(D),endDate:d.zeniDate(I?.endDate?.toString()??"").format(D),frequency:I?.frequency??"monthly",totalAmount:wt.amount,totalPaymentCycles:I?.totalPaymentCycles??0,isApprovalRequired:I?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?I?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?I?.updateRecurringBills==="all":void 0}),ae!=null){const Se=v?.code??"draft",Ce=A?.code??"",De=e.isRecurring?["Recurring"]:["One-Time"],Ie=e.invoiceNumber??"",Ae=Jt(m.loggedInUser),Pe=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";ve===a.scheduleBill?$.trackLowBalanceAccountSchedule(Se,Ce,De,Ie,Ae,Pe):ve===a.sendForApproval&&$.trackLowBalanceAccountSentForApproval(Se,Ce,De,Ie,Ae,Pe)}}},Te=()=>{je===!0&&V(!1),e.isBillMarkedForRetry===!0?(ot(),$.trackRetryConfirmClick(te?.code??"",v?.code??"",pt?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&(ft(),pe(!1,{}))},bt=d.checkIfCreatorIsApprover(u.amount,w.allApprovalRules,m.loggedInUser),[je,V]=U.useState(!1);return t.jsxs(hn,{children:[st?t.jsx(en,{onCancel:gt,onProceedForMarkAsPaid:ht,saveDetailsFetchState:E?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,je?t.jsx(tn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Te,onCancelClick:()=>{V(!1),ne()},onClickAway:()=>{V(!1)}}):null,t.jsx(kt,{anchor:"right",open:rt,onClose:fe,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Mt,{companyName:Bt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Z?.format(D)??"",paymentType:we,amount:k("0,0[.]00",u),isInvoiceAttached:!!e.file,onClose:fe})}),t.jsxs(gn,{windowSize:s,style:tt,children:[s==="small"?t.jsxs(In,{windowSize:s,children:[t.jsx(Ye,{onClick:be,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(We,{windowSize:s,children:a.oneLastLook})]}):t.jsx(Dn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(Ye,{onClick:be})}),s!=="small"?t.jsx(fn,{children:t.jsx(We,{windowSize:s,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(bn,{children:[t.jsxs(wn,{children:[t.jsx(zn,{}),t.jsxs($n,{children:[t.jsx(Tn,{children:a.duplicateBillPayWarning}),t.jsxs(vn,{children:[a.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":j("review-detail-attachment-button"),onClick:()=>Q(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[a.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(En,{children:[t.jsx(On,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Nt(l);return l!=null?t.jsx(Ln,{children:Je.includes(s)?t.jsxs(Ue,{windowSize:s,children:[t.jsxs(jn,{children:[t.jsxs(Sn,{children:[l.attachments&&l.attachments.length>0?t.jsx(Le,{attachment:l.attachments[0]}):t.jsx(Ve,{children:t.jsx(Ge,{})}),t.jsx(q,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(Ke,{windowSize:s,children:k("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Rn,{"data-testid":j("review-detail-mobile-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsxs(q,{children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(D)]}),t.jsx(qe,{children:r!=null?ke.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ue,{windowSize:s,children:[l.attachments&&l.attachments.length>0?t.jsx(Le,{attachment:l.attachments[0]}):t.jsx(Ve,{children:t.jsx(Ge,{})}),t.jsxs(Fn,{"data-testid":j("review-detail-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsx(q,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?a.invoiceNo:null," ",l.documentId]})}),t.jsxs(q,{style:{width:"25%"},children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(D)]}),t.jsx(Ke,{style:{width:"25%"},windowSize:s,children:k("0,0[.]00",l.amount)})]}),t.jsx(qe,{children:r!=null?ke.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Cn,{children:[t.jsx(He,{children:a.pay}),t.jsx(Ze,{children:t.jsx(Be,{amount:yt,integerStyles:G.largeMedium.cssObject,decimalStyles:G.smallMedium.cssObject})}),t.jsx(He,{children:a.to}),t.jsx(Ze,{children:e.vendor?.name})]}),t.jsxs(xn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("withdrawFrom")}`},children:t.jsx(W,{label:{label:a.withdrawFrom,width:F},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?Rt(e.paymentDetailsSection.withdrawFrom,s):h,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(s),marginTop:p.infoLabelMarginTop.valuePx(s),color:S.brandColorGoldDark},additionalInfoLabel:ae})}),t.jsx(K,{})]}),t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentType")}`},children:t.jsx(W,{label:{label:a.paymentMethod,width:F},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:xt()})}),t.jsx(K,{}),!g&&Z!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentDate")}`},children:t.jsx(W,{label:{label:a.paymentDate,width:F},style:{width:"auto"},value:Z.format(D),additionalInfoLabel:`${a.estimatedArrival}${d.zeniDate(d.getNextNthWorkingDay(Z.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(D)} - (${ie.length>0?`${ie} `:""}${a.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(K,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentTo")}`},children:t.jsx(W,{label:{label:a.paymentTo,width:F},style:{width:"auto"},value:ct??"",additionalInfoLabel:ut})}),g||nt?t.jsxs(t.Fragment,{children:[t.jsx(K,{}),t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("recurringPaymentType")}`},children:t.jsx(W,{label:{label:a.paymentType,width:F},style:{width:"auto"},value:Lt(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Et(s,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(mn,{children:t.jsxs(pn,{windowSize:s,children:[t.jsxs(un,{children:[t.jsx(sn,{children:a.total}),t.jsx(Ne,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(cn,{children:[t.jsxs(_e,{children:[t.jsx(re,{children:o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&ee!==T.currencyCode?Ee.conversionAmountColon:Fe.invoiceAmount}),t.jsx(oe,{children:k("0,0[.]00",{amount:u.amount-L.amount,currencySymbol:L.currencySymbol})})]}),t.jsxs(_e,{children:[t.jsx(re,{children:Ee.transactionFee}),t.jsx(oe,{children:k("0,0[.]00",{amount:L.amount,currencySymbol:L.currencySymbol})})]}),t.jsx(dn,{}),t.jsxs(rn,{children:[t.jsx(re,{children:Fe.total}),t.jsx(oe,{children:k("0,0[.]00",{amount:u.amount,currencyCode:u.currencyCode,currencySymbol:u.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(on,{})})]}),t.jsx(yn,{children:t.jsx(Be,{amount:d.toAmount(u.amount,u.currencyCode,u.currencySymbol),integerStyles:G.h6Medium.cssObject,decimalStyles:G.standardMedium.cssObject})})]})}):null]}),t.jsx(Ot,{cancelBtn:{label:P&&!b?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:P&&!b?$e:ne,style:{width:ze(!1,P,b,Y,s)}},primaryBtn:{label:Oe(b,Y,e.isBillMarkedForRetry),isLoading:E?.fetchState==="In-Progress"||J?.fetchState==="In-Progress",onClick:b?$e:()=>{bt&&ae!=null?V(!0):Te()},style:{width:ze(!0,P,b,Y,s)}},rightSideComponent:P&&!b&&E.fetchState!=="In-Progress"?t.jsx(_n,{windowSize:s,children:t.jsx(Ne,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:an,placement:"top",children:t.jsx(Un,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Wn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)?t.jsxs(kn,{children:[a.internationalText1,t.jsx(Mn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:a.internationalTerms}),a.internationalText2]}):null})]})},Oe=(e,w,x)=>e?a.paymentOutsideZeni.markAsPaid:x===!0?a.retryPayment:w?a.sendForApproval:a.scheduleBill,ze=(e,w,x,M,C)=>x?128:w&&!e&&C==="small"?"auto":M?165:p.footerButtonWidth.value(C),on=i(Xt)`
|
|
1
|
+
import{X as vt,w as Tt,C as y,cB as jt,M as St,cC as Ct,cD as Dt,j as t,cE as It,cF as le,cG as At,l as d,cH as Pt,cI as kt,Y as j,cJ as Mt,_ as k,cK as Bt,cL as Nt,cM as ke,cN as Me,cO as Be,p as G,cP as O,cQ as z,cR as _,g as S,cS as Rt,cT as Ft,cU as Et,cV as Lt,bs as Ne,o as n,a3 as Ot,m as c,r as zt,bo as _t,Q as Wt,h as Ut,cW as Ht,bH as Zt,s as se,e as de,cX as Yt,cY as Vt,aA as Gt,k as Kt,an as qt,Z as Xe,b4 as Xt,v as Qe,aN as Qt,cZ as Jt}from"./index-Bac0rl1Z.js";import{b as U,n as i}from"./vendor-CnQcJ2Lu.js";import{t as en,o as tn}from"./LowBalancePopup-ChqqEeWk-C11eT2fZ.js";import{S as W}from"./LabeledText-DiD_FvMm-BU273AGf.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const Je=["small","medium-compact","medium-regular"],p={largeLabelWidth:new y(150,215,215),infoMinWidth:new y(0,0,0,142,142),infoMarginRight:new y(0,0,0,c[2],c[2]),footerButtonWidth:new y(120,165),iconContainerMarginTop:new y(6,c[1]),navBarContainerPaddingTop:new y(10,c[3]),sectionTitleMarginLeft:new y(c[3],c[0]),reviewContainerMarginLeft:new y(c[3],c[6]),reviewContainerMarginRight:new y(c[3],c[8]),footerRightIconMarginRight:new y(c[0],c[0],c[7]),infoLabelPaddingRight:new y(c[0],c[3]),infoLabelMarginTop:new y(c[1],c[0])},nn={sectionTitle:new Wt("h6Medium","h5Medium")},{dateFormat:Re,common:{currency:T,labels:Fe,edit:an,strings:{empty:h}},spendManagement:{billPay:ln}}=St.getLocalizedStrings(),{billDetails:a,paymentDetails:Ee}=ln,Le=({attachment:e})=>{const[w,x]=U.useState(!1),M=()=>{x(!1)},C=e.fileId?.length===0;return t.jsxs(Bn,{isDisabled:e.fileId?.length===0,"data-testid":j("attachment-tag",e.fileName),onClick:()=>C===!1?x(!0):null,children:[w&&e?.fileDownloadUrl!=null?t.jsx(Yt,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:x}):null,t.jsx(Nn,{children:t.jsx(Vt,{contentType:e.contentType})})]})},ti=({billDetails:e,billpayApprovalView:w,isBillPayCommentingEnabled:x,currentTenant:M,isInternationalPaymentShaVsOurEnabled:C,isLocalCurrencyEnabled:et,style:tt,analytics:$,isRecurringBillsFeatureEnabled:nt,isApprovalRequiredForMarkAsPaid:it,isDetectInsufficientFundsEnabled:at,billId:f,onClickEdit:ce,discardBillDetailsFromLocalStore:me,saveBillDetails:pe,discardOutsideZeniPaymentData:lt,updateBillDetailSaveBillCode:ue,redirectToBillsScreen:ye,onAttachmentClick:Q,retryPayment:ot})=>{const s=vt(),m=Tt(),B={application:"dashboard",companyId:m.currentTenant?.companyId,tab:"bill",entityId:f},N=x&&f!=null,R=`dashboard_${m.currentTenant?.companyId}`,F=p.largeLabelWidth.value(s),E=e.saveStatus,J=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=jt(C,et,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),D=Re.visual.MMMDCommaYYYYformat,he={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:T.currencyCode,currencySymbol:T.currencySymbol},u={amount:o?.method.includes("international")===!0?Ct(he,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:T.currencyCode,currencySymbol:T.currencySymbol},L={amount:o?.method.includes("international")===!0?Dt(he,o):o?.fee.amount??0,currencyCode:T.currencyCode,currencySymbol:T.currencySymbol},[rt,ge]=U.useState(!1),[st,xe]=U.useState(!1),fe=()=>ge(!1),dt=()=>{$.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ct=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Pn,{size:s,children:t.jsx(An,{})})]}):It(e.paymentDetailsSection?.paymentTo);U.useEffect(()=>{(E?.fetchState==="Completed"||J?.fetchState==="Completed")&&(me(),ue(),ye())},[E,J,ye,me,ue]);const v=e.billPayInfo?.stage,A=e.billPayInfo?.billStatus,H=e.billPayInfo?.billPaymentStatus,mt=e.billPayInfo?.billPaymentRefundStatus,te=v?.code==="paid"?v:A?.code=="approved"&&H?.code?H:A,pt=e.billPayInfo?.isRefundInitiated===!0?mt:A?.code=="approved"&&H?.code?H:A,ne=()=>{ce()},be=()=>{ce()},Z=e.paymentDetailsSection?.paymentDate,ie=le(o?.method??""),we=ie.replace("Same Day",""),ut=e.isCollectToAccountInfoFromVendorContact?t.jsx(At,{paymentTypeLabel:we,onClick:dt}):a.addedByZeni,Y=w.allApprovalRules.length>0,yt=d.toAmount(o?.method!=null&&(o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)||o?.fee.amount!=null&&o.fee.amount!==0)?u.amount-L.amount:u.amount,o?.fee.currencyCode??d.defaultVendorCurrency.currencyCode,o?.fee.currencySymbol??d.defaultVendorCurrency.currencySymbol),g=d.isPaymentMethodOutsideZeni(e.paymentDetailsSection?.paymentType?.method),ht=l=>{$.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",v?.code??"draft",te?.code??""),pe(!0,l)},$e=()=>{xe(!0),$.trackBillPayMarkAsPaid(v?.code??"draft",te?.code??"")},gt=()=>{lt(),xe(!1)},P=g&&(v?.code!=null?v.code==="draft"||A?.code==="approved":!0),b=P&&!it,ve=Oe(b,Y,e.isBillMarkedForRetry),xt=()=>g?b?void 0:a.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&C&&ee===T.currencyCode?Ft(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ae=at&&e.paymentDetailsSection!=null?Pt(u,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,ft=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,I=e.recurringConfig,wt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&$.trackBillPayAutoDateChange(f??"new_bill"),o?.method!=null&&l!=null){const $t=g?a.paymentOutsideZeni.offline:le(o.method);if($.trackBillPaySendForApproval($t,l.format(Re.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,f,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:d.zeniDate(I?.startDate?.toString()??"").format(D),endDate:d.zeniDate(I?.endDate?.toString()??"").format(D),frequency:I?.frequency??"monthly",totalAmount:wt.amount,totalPaymentCycles:I?.totalPaymentCycles??0,isApprovalRequired:I?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?I?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?I?.updateRecurringBills==="all":void 0}),ae!=null){const Se=v?.code??"draft",Ce=A?.code??"",De=e.isRecurring?["Recurring"]:["One-Time"],Ie=e.invoiceNumber??"",Ae=Jt(m.loggedInUser),Pe=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";ve===a.scheduleBill?$.trackLowBalanceAccountSchedule(Se,Ce,De,Ie,Ae,Pe):ve===a.sendForApproval&&$.trackLowBalanceAccountSentForApproval(Se,Ce,De,Ie,Ae,Pe)}}},Te=()=>{je===!0&&V(!1),e.isBillMarkedForRetry===!0?(ot(),$.trackRetryConfirmClick(te?.code??"",v?.code??"",pt?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&(ft(),pe(!1,{}))},bt=d.checkIfCreatorIsApprover(u.amount,w.allApprovalRules,m.loggedInUser),[je,V]=U.useState(!1);return t.jsxs(hn,{children:[st?t.jsx(en,{onCancel:gt,onProceedForMarkAsPaid:ht,saveDetailsFetchState:E?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,je?t.jsx(tn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Te,onCancelClick:()=>{V(!1),ne()},onClickAway:()=>{V(!1)}}):null,t.jsx(kt,{anchor:"right",open:rt,onClose:fe,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Mt,{companyName:Bt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Z?.format(D)??"",paymentType:we,amount:k("0,0[.]00",u),isInvoiceAttached:!!e.file,onClose:fe})}),t.jsxs(gn,{windowSize:s,style:tt,children:[s==="small"?t.jsxs(In,{windowSize:s,children:[t.jsx(Ye,{onClick:be,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(We,{windowSize:s,children:a.oneLastLook})]}):t.jsx(Dn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(Ye,{onClick:be})}),s!=="small"?t.jsx(fn,{children:t.jsx(We,{windowSize:s,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(bn,{children:[t.jsxs(wn,{children:[t.jsx(zn,{}),t.jsxs($n,{children:[t.jsx(Tn,{children:a.duplicateBillPayWarning}),t.jsxs(vn,{children:[a.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":j("review-detail-attachment-button"),onClick:()=>Q(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[a.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(En,{children:[t.jsx(On,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Nt(l);return l!=null?t.jsx(Ln,{children:Je.includes(s)?t.jsxs(Ue,{windowSize:s,children:[t.jsxs(jn,{children:[t.jsxs(Sn,{children:[l.attachments&&l.attachments.length>0?t.jsx(Le,{attachment:l.attachments[0]}):t.jsx(Ve,{children:t.jsx(Ge,{})}),t.jsx(q,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(Ke,{windowSize:s,children:k("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Rn,{"data-testid":j("review-detail-mobile-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsxs(q,{children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(D)]}),t.jsx(qe,{children:r!=null?ke.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ue,{windowSize:s,children:[l.attachments&&l.attachments.length>0?t.jsx(Le,{attachment:l.attachments[0]}):t.jsx(Ve,{children:t.jsx(Ge,{})}),t.jsxs(Fn,{"data-testid":j("review-detail-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsx(q,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?a.invoiceNo:null," ",l.documentId]})}),t.jsxs(q,{style:{width:"25%"},children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(D)]}),t.jsx(Ke,{style:{width:"25%"},windowSize:s,children:k("0,0[.]00",l.amount)})]}),t.jsx(qe,{children:r!=null?ke.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Cn,{children:[t.jsx(He,{children:a.pay}),t.jsx(Ze,{children:t.jsx(Be,{amount:yt,integerStyles:G.largeMedium.cssObject,decimalStyles:G.smallMedium.cssObject})}),t.jsx(He,{children:a.to}),t.jsx(Ze,{children:e.vendor?.name})]}),t.jsxs(xn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("withdrawFrom")}`},children:t.jsx(W,{label:{label:a.withdrawFrom,width:F},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?Rt(e.paymentDetailsSection.withdrawFrom,s):h,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(s),marginTop:p.infoLabelMarginTop.valuePx(s),color:S.brandColorGoldDark},additionalInfoLabel:ae})}),t.jsx(K,{})]}),t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentType")}`},children:t.jsx(W,{label:{label:a.paymentMethod,width:F},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:xt()})}),t.jsx(K,{}),!g&&Z!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentDate")}`},children:t.jsx(W,{label:{label:a.paymentDate,width:F},style:{width:"auto"},value:Z.format(D),additionalInfoLabel:`${a.estimatedArrival}${d.zeniDate(d.getNextNthWorkingDay(Z.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(D)} - (${ie.length>0?`${ie} `:""}${a.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(K,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentTo")}`},children:t.jsx(W,{label:{label:a.paymentTo,width:F},style:{width:"auto"},value:ct??"",additionalInfoLabel:ut})}),g||nt?t.jsxs(t.Fragment,{children:[t.jsx(K,{}),t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("recurringPaymentType")}`},children:t.jsx(W,{label:{label:a.paymentType,width:F},style:{width:"auto"},value:Lt(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Et(s,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(mn,{children:t.jsxs(pn,{windowSize:s,children:[t.jsxs(un,{children:[t.jsx(sn,{children:a.total}),t.jsx(Ne,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(cn,{children:[t.jsxs(_e,{children:[t.jsx(re,{children:o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&ee!==T.currencyCode?Ee.conversionAmountColon:Fe.invoiceAmount}),t.jsx(oe,{children:k("0,0[.]00",{amount:u.amount-L.amount,currencySymbol:L.currencySymbol})})]}),t.jsxs(_e,{children:[t.jsx(re,{children:Ee.transactionFee}),t.jsx(oe,{children:k("0,0[.]00",{amount:L.amount,currencySymbol:L.currencySymbol})})]}),t.jsx(dn,{}),t.jsxs(rn,{children:[t.jsx(re,{children:Fe.total}),t.jsx(oe,{children:k("0,0[.]00",{amount:u.amount,currencyCode:u.currencyCode,currencySymbol:u.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(on,{})})]}),t.jsx(yn,{children:t.jsx(Be,{amount:d.toAmount(u.amount,u.currencyCode,u.currencySymbol),integerStyles:G.h6Medium.cssObject,decimalStyles:G.standardMedium.cssObject})})]})}):null]}),t.jsx(Ot,{cancelBtn:{label:P&&!b?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:P&&!b?$e:ne,style:{width:ze(!1,P,b,Y,s)}},primaryBtn:{label:Oe(b,Y,e.isBillMarkedForRetry),isLoading:E?.fetchState==="In-Progress"||J?.fetchState==="In-Progress",onClick:b?$e:()=>{bt&&ae!=null?V(!0):Te()},style:{width:ze(!0,P,b,Y,s)}},rightSideComponent:P&&!b&&E.fetchState!=="In-Progress"?t.jsx(_n,{windowSize:s,children:t.jsx(Ne,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:an,placement:"top",children:t.jsx(Un,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Wn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)?t.jsxs(kn,{children:[a.internationalText1,t.jsx(Mn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:a.internationalTerms}),a.internationalText2]}):null})]})},Oe=(e,w,x)=>e?a.paymentOutsideZeni.markAsPaid:x===!0?a.retryPayment:w?a.sendForApproval:a.scheduleBill,ze=(e,w,x,M,C)=>x?128:w&&!e&&C==="small"?"auto":M?165:p.footerButtonWidth.value(C),on=i(Xt)`
|
|
2
2
|
width: ${n.sp3};
|
|
3
3
|
height: ${n.sp3};
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
package/dist/assets/{ReviewOverlay-BS3Bb8UE-LO55TXM8.js → ReviewOverlay-Dgnr47GU-BR4bFQZ5.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as B,j as e,Y as x,o as r,a3 as L,C as d,a2 as M,Q as C,h as W,g as s,s as y,b$ as R,c as I,v as j,az as D,m as n,ed as G,ax as A,jj as F,jk as H}from"./index-
|
|
1
|
+
import{X as B,j as e,Y as x,o as r,a3 as L,C as d,a2 as M,Q as C,h as W,g as s,s as y,b$ as R,c as I,v as j,az as D,m as n,ed as G,ax as A,jj as F,jk as H}from"./index-Bac0rl1Z.js";import{n as t}from"./vendor-CnQcJ2Lu.js";const a={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])},J={title:new C("h6Regular","h5Regular")},xi=({title:i,description:p,reviewItems:S,showFooter:b,footerProps:{primaryButton:z,cancelButton:T,hideCancel:E},onCloseOverlay:k,onCloseReviewItem:P})=>{const l=B();return e.jsxs(X,{children:[e.jsx(V,{windowSize:l,children:e.jsx(Z,{children:e.jsx(_,{windowSize:l,children:e.jsx(ii,{children:e.jsx(ei,{onClick:k,"data-testid":x("review-overlay-close",i)})})})})}),e.jsxs(K,{windowSize:l,children:[e.jsxs(O,{windowSize:l,children:[e.jsx(Y,{children:e.jsx(q,{windowSize:l,children:i})}),e.jsx(N,{isError:p.isError,windowSize:l,children:p.content})]}),e.jsx(U,{windowSize:l,children:S.map(o=>{const h=o.reviewStatus.code==="error",c=o.reviewStatus.code==="warning"||o.reviewStatus.code==="low-balance";return e.jsxs(ri,{isLoading:!1,isActive:!0,isWarning:c,isError:h,children:[c?e.jsx(ci,{onClick:()=>P(o.id),"data-testid":x("review-close",o.id)}):null,e.jsxs(ti,{children:[e.jsxs(ni,{children:[e.jsx(di,{children:Q(o)}),e.jsxs(oi,{children:[e.jsxs(m,{children:[e.jsx(u,{style:{marginLeft:r.sp2},isWarning:c,isError:h,children:o.leftSideText.title}),e.jsx(u,{isWarning:c,isError:h,children:o.rightSideText.title})]}),e.jsxs(m,{children:[e.jsx(si,{style:{marginLeft:r.sp2},children:o.leftSideText.subTitle}),l!=="small"?e.jsxs(w,{windowSize:l,children:[e.jsx(g,{isError:h,isWarning:c,children:e.jsxs(e.Fragment,{children:[o.rightSideText.showThunderIcon===!0?e.jsx(f,{children:e.jsx($,{})}):null,o.rightSideText.subTitle]})}),e.jsx(g,{isWarning:!0,isError:!1,children:o.rightSideText.additonalInfo})]}):null]})]})]}),l==="small"?e.jsxs(w,{windowSize:l,children:[e.jsx(g,{style:{marginLeft:r.sp5,marginTop:r.sp0},isError:h,isWarning:c,children:e.jsxs(e.Fragment,{children:[o.rightSideText.showThunderIcon===!0?e.jsx(f,{children:e.jsx($,{})}):null,o.rightSideText.subTitle]})}),e.jsx(g,{style:{marginLeft:r.sp5,marginTop:r.sp0},isWarning:c,isError:h,children:o.rightSideText.additonalInfo})]}):null]})]},o.id)})})]}),b?e.jsx(L,{primaryBtn:z,cancelBtn:T,showCancel:!E}):null]})},Q=i=>i.reviewStatus.isLoading?e.jsx(I,{size:"Small",style:{display:"flex",width:r.sp4,height:r.sp4,alignItems:"center",justifyContent:"center"},start:!0}):i.reviewStatus.code==="error"?e.jsx(v,{isError:!0}):i.reviewStatus.code==="warning"?e.jsx(v,{isError:!1}):i.reviewStatus.code==="valid"?e.jsx(li,{}):i.reviewStatus.code==="low-balance"?e.jsx(hi,{}):e.jsx(ai,{}),X=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${i=>i.theme.colors.grey4};
|
package/dist/assets/{RoleWithToolTip-Bg5SMNk0-DlUtXuLe.js → RoleWithToolTip-Bcjjd_2M-BwYePEiA.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{eI as h,eJ as x,j as t,bs as m,o as i,Y as o,M as g,n as j,v as p}from"./index-
|
|
1
|
+
import{eI as h,eJ as x,j as t,bs as m,o as i,Y as o,M as g,n as j,v as p}from"./index-Bac0rl1Z.js";import{n as r}from"./vendor-CnQcJ2Lu.js";const{hyphen:a}=g.getLocalizedStrings().common.strings,y=r.div``,f=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-width: 192px;
|
|
4
4
|
justify-content: space-between;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a1 as H,l as me,hK as ee,g3 as fe,es as we,hL as Je,a as Me,hM as Ve,c3 as _e,c4 as Fe,j as a,M as be,F as Pe,bO as $e,bQ as Ne,bR as qe,a3 as Re,hN as ze,hO as Be,T as he,hP as Se,hQ as Ue,cg as We,X as Ge,i2 as He,g8 as re,m as R,g as De,C as Ce,c6 as Ke,hR as Xe,hS as Ye,hT as Qe,o as _}from"./index-
|
|
1
|
+
import{a1 as H,l as me,hK as ee,g3 as fe,es as we,hL as Je,a as Me,hM as Ve,c3 as _e,c4 as Fe,j as a,M as be,F as Pe,bO as $e,bQ as Ne,bR as qe,a3 as Re,hN as ze,hO as Be,T as he,hP as Se,hQ as Ue,cg as We,X as Ge,i2 as He,g8 as re,m as R,g as De,C as Ce,c6 as Ke,hR as Xe,hS as Ye,hT as Qe,o as _}from"./index-Bac0rl1Z.js";import{b as m,n as B}from"./vendor-CnQcJ2Lu.js";import{i as Ze,r as et,n as tt,o as lt}from"./ScheduleSequenceTable-CEZL4GA8-2gj8oGSn.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const z={labelWidth:new Ce(160,160,160),depCategoryLabelWidth:new Ce(200,280,280)},at=B.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a1 as $,l as ie,hK as Y,g3 as Ae,es as Ie,hL as Je,a as Le,hM as we,c3 as Me,c4 as Ve,j as a,M as De,F as Pe,bO as Fe,bQ as $e,bR as _e,a3 as Ne,hN as ze,hO as Be,T as re,hP as pe,hQ as Re,cg as Ue,X as We,g8 as me,m as X,g as qe,C as Ke,hR as He,hS as Ge,hT as Qe,o as L}from"./index-
|
|
1
|
+
import{a1 as $,l as ie,hK as Y,g3 as Ae,es as Ie,hL as Je,a as Le,hM as we,c3 as Me,c4 as Ve,j as a,M as De,F as Pe,bO as Fe,bQ as $e,bR as _e,a3 as Ne,hN as ze,hO as Be,T as re,hP as pe,hQ as Re,cg as Ue,X as We,g8 as me,m as X,g as qe,C as Ke,hR as He,hS as Ge,hT as Qe,o as L}from"./index-Bac0rl1Z.js";import{b as D,n as P}from"./vendor-CnQcJ2Lu.js";import{i as Ye,r as Xe,n as Ze,o as et}from"./ScheduleSequenceTable-CEZL4GA8-2gj8oGSn.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const B={labelWidth:new Ke(160,160,160)},tt=P.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as T,u as K,j as t,hU as ie,M as R,hV as le,Q as oe,hW as ge,dK as fe,cO as we,p as A,hX as ye,hT as be,o as i,C as b,g as j,k as $e,T as re,dH as je,bO as Se,bR as ke,cg as Z,co as ee,cm as ve,hY as Q,hZ as Ce,ai as De,h_ as Me,bT as ze,h$ as Le,m as h,s as L,an as Oe,bQ as Ee,f as pe,cp as Ae,ag as ne,cA as Te,a3 as Ie,l as _,i0 as I,fH as Fe,_ as Je,i1 as Ve,a7 as G,cq as Be,az as Pe}from"./index-
|
|
1
|
+
import{X as T,u as K,j as t,hU as ie,M as R,hV as le,Q as oe,hW as ge,dK as fe,cO as we,p as A,hX as ye,hT as be,o as i,C as b,g as j,k as $e,T as re,dH as je,bO as Se,bR as ke,cg as Z,co as ee,cm as ve,hY as Q,hZ as Ce,ai as De,h_ as Me,bT as ze,h$ as Le,m as h,s as L,an as Oe,bQ as Ee,f as pe,cp as Ae,ag as ne,cA as Te,a3 as Ie,l as _,i0 as I,fH as Fe,_ as Je,i1 as Ve,a7 as G,cq as Be,az as Pe}from"./index-Bac0rl1Z.js";import{b as D,n as o,j as B}from"./vendor-CnQcJ2Lu.js";const N=(e,l)=>`${e}.${l}`,{formElements:{dayOfMonthSelector:M},common:se}=R.getLocalizedStrings();function Re({defaultValue:e,name:l,placeholder:s,alignLeft:r=!1,style:p,isDisabled:n,registerOptions:d,onSaveClick:c,onCancelClick:y}){const[f,u]=D.useState(!1),{control:m,formState:{errors:g},setValue:S}=Z(),v=()=>{k||(c(),u(!1))},w=()=>{y(),u(!1)},k=ee(g,l),x=T(),a=K();return t.jsx(pe,{onClickAway:()=>{u(!1)},children:t.jsx(Ue,{style:p,isDisabled:n!=null,windowSize:x,onClick:()=>{!f&&n==null&&u(!0)},children:t.jsx(Ae,{name:N(l,"dayOfMonth"),control:m,rules:{...d},render:()=>t.jsxs(He,{children:[t.jsx(Ne,{placeholder:s,defaultValue:e,isDisabled:n}),f?t.jsxs(qe,{alignLeft:r===!0,children:[t.jsx(Ze,{}),t.jsxs(ae,{isSelected:e.type==="day",children:[t.jsxs(Ke,{isError:e.type==="day"&&k,children:[t.jsx(ne,{label:{label:M.pickDate},radioField:{id:"day",name:N(l,"type"),value:"day",radioSize:"small",checked:e.type==="day"},style:{...A.smallRegular.cssObject,padding:`${i.sp3} ${i.sp0}`,width:"fit-content",marginLeft:i.sp3,minWidth:"35%"},labelStyle:{color:e.type==="day"&&k?j.important:"inherit"}}),t.jsx(Te,{name:N(l,"dayOfMonth"),type:"number",placeholder:M.placeholder,disableCopyPaste:!0,autoTrim:"trim",onKeyDown:$=>{$.key!=="Backspace"&&isNaN(parseInt($.key))&&$.preventDefault()},defaultValue:e.dayOfMonth!=null&&!isNaN(e.dayOfMonth)?e.dayOfMonth:0,registerOptions:{min:1,max:28},outerDivStyle:{width:"fit-content",marginLeft:i.sp1,marginRight:i.sp1},style:{border:`1px solid ${e.type==="day"&&k?j.important:a.colors.grey2}`,borderRadius:i.sp1,...A.smallRegular.cssObject,padding:i.sp2,maxWidth:"35px",boxSizing:"border-box"}}),t.jsx(Qe,{isSelected:e.type==="day",children:M.ofEveryMonth})]}),t.jsx(We,{defaultValue:e.dayOfMonth,onClick:$=>{S(`${l}.dayOfMonth`,$),S(`${l}.type`,"day")}})]}),t.jsx(et,{}),t.jsx(ae,{isSelected:e.type==="lastDayOfMonth",children:t.jsx(ne,{label:{label:M.lastDayOfMonth},radioField:{id:"lastDayOfMonth",name:N(l,"type"),value:"lastDayOfMonth",radioSize:"small",checked:e.type==="lastDayOfMonth"},style:{...A.smallRegular.cssObject,padding:`${i.sp3} ${i.sp0}`,width:"fit-content",marginLeft:i.sp3},labelStyle:{color:e.type==="lastDayOfMonth"&&k?j.important:"inherit"}})}),t.jsx(Ie,{primaryBtn:{label:se.footer.save,onClick:v,isDisabled:Ye(e),type:"button",style:{minWidth:"83px"}},cancelBtn:{label:se.footer.cancel,onClick:w,style:{minWidth:"83px"}},style:{position:"unset",backgroundColor:"transparent"}})]}):null]})})})})}function Ne({placeholder:e,defaultValue:l,isDisabled:s}){return t.jsxs(_e,{isDisabled:s!=null,children:[l?.type==null?t.jsx(Ge,{children:e}):null,l?.type=="day"&&l.dayOfMonth!=null?t.jsxs(de,{children:[t.jsx(W,{children:M.daysOfMonth[`${l.dayOfMonth}`]}),t.jsx(W,{children:M.ofEveryMonth})]}):null,l?.type==="lastDayOfMonth"?t.jsxs(de,{children:[t.jsx(W,{children:M.daysOfMonth.lastDayOfMonth}),t.jsx(W,{children:M.ofEveryMonth})]}):null]})}function We({defaultValue:e,onClick:l}){return t.jsxs(Xe,{children:[t.jsx(Y,{children:[...Array(7).keys()].map(s=>{const r=s+1;return t.jsx(H,{isSelected:r===e,onClick:()=>l(_.toScheduleDaysOfMonth(r)),children:r},r)})}),t.jsx(Y,{children:[...Array(7).keys()].map(s=>{const r=s+8;return t.jsx(H,{isSelected:r===e,onClick:()=>l(r),children:r},r)})}),t.jsx(Y,{children:[...Array(7).keys()].map(s=>{const r=s+15;return t.jsx(H,{isSelected:r===e,onClick:()=>l(r),children:r},r)})}),t.jsx(Y,{children:[...Array(7).keys()].map(s=>{const r=s+22;return t.jsx(H,{isSelected:r===e,onClick:()=>l(r),children:r},r)})})]})}const Ye=e=>{switch(e.type){case"day":return e.dayOfMonth==null;case"lastDayOfMonth":return!1;default:return!0}},He=o.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
`,_e=o.div`
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as Ut,X as en,l as K,kd as Ye,ke as tt,C as dt,kf as ud,kg as cd,kh as tn,ki as fd,kj as Tt,M as ir,kk as Bt,kl as qt,c as rn,o as kt,km as ld,kn as hd,aC as Ft,aD as Yl,jS as Lt,ko as dd,kp as pd,m as yn,kq as md,kr as Kl,ks as gd,kt as Jl,bg as Xl,D as zo,ku as vd,kv as yd,kw as _d,kx as Ql,ky as bd,kz as wd,kA as Sd,kB as Ed,kC as Rd,kD as Od,kE as Td,kF as xd,kG as Cd,kH as Ad,kI as Id,kJ as Pd,kK as kd,gj as Ld}from"./index-
|
|
1
|
+
import{u as Ut,X as en,l as K,kd as Ye,ke as tt,C as dt,kf as ud,kg as cd,kh as tn,ki as fd,kj as Tt,M as ir,kk as Bt,kl as qt,c as rn,o as kt,km as ld,kn as hd,aC as Ft,aD as Yl,jS as Lt,ko as dd,kp as pd,m as yn,kq as md,kr as Kl,ks as gd,kt as Jl,bg as Xl,D as zo,ku as vd,kv as yd,kw as _d,kx as Ql,ky as bd,kz as wd,kA as Sd,kB as Ed,kC as Rd,kD as Od,kE as Td,kF as xd,kG as Cd,kH as Ad,kI as Id,kJ as Pd,kK as kd,gj as Ld}from"./index-Bac0rl1Z.js";import{j as X,D as nn,S as Vt}from"./mui-C5LQ0bMa.js";import{b as Se,n as ut,c as Ve,i as eh,g as qd}from"./vendor-CnQcJ2Lu.js";import{f as jd}from"./analyticsHelper-CSTTcbjG.js";import{g as rt,u as Ie,f as Ke}from"./redux-ByjIRbhZ.js";import{a as Je,d as pt,e as Dd,N as er,R as wt,c as qe,u as Zo,b as Go}from"./routing-Cpaypegg.js";import{B as ze,a as Qe,b as Nd,c as Wo,d as $d,e as Yo,f as Ko,g as Md,h as Fd,i as zt,j as th,k as rr,l as an,m as Ud,n as Bd,o as Vd,p as zd,q as Gd,s as Hd,t as Zd,u as rh,v as on,w as ar}from"./crypto-BURQLTgV.js";import{p as Oe}from"./sentry-HDxG13yk.js";import{r as Wd}from"./lodash-Dq_mKlGB.js";import"./analytics-CBL_L82S.js";import"./liveblocks-sSQ9JElv.js";const Yd={overlayWidth:new dt(100,100,50)},{common:{strings:vs}}=ir.getLocalizedStrings();function Kd(e,n){return{headerActions:{onTabChange:a=>{const i=qt(a),o=Bt(a);Ye.trackCockpitTabClicked(o),n.navigate(`../../${i}`,{replace:!0})},filterActions:{onFilterTextChanged:(a,i)=>{e(K.updateCompanyHealthViewUIState({uiState:{filterText:i}}))},onFiltersChange:(a,i)=>{i.categories!=null&&i.categoryCombinationOperator!=null&&Ye.trackHealthMonitorFiltersApplied({filterSelection:{condition:i.categories.map(o=>o.matchingOperator).join(vs.comma),logic:i.categoryCombinationOperator,parameter:i.categories.map(o=>o.field).join(vs.comma)}}),e(K.updateCompanyHealthViewUIState({uiState:{filters:i}}))}}},healthPageActions:{onRowClick:a=>{e(K.initializeCompanyHealthMetricViewLocalData(a))},onColumnSortConfigChanged:(a,i)=>{e(K.updateCompanyHealthViewUIState({uiState:{sortKey:a,sortOrder:i}}))},onCockpitReloadData:a=>{a==="healthMonitor"&&e(K.fetchCompanyHealthMetricView())},onFiltersChange:a=>{e(K.updateCompanyHealthViewUIState({uiState:{filters:a}}))}}}}function Jd(e,n){return{headerData:{selectedTabOption:Tt("healthMonitor")},healthPageData:{healthView:n.healthView,managementView:n.managementView,mixpanelUrl:n.mixpanelHMUrl}}}const Xd=Ke(Jd,Kd)(fd);function _n({isDrawerOpen:e}){const n=Je(),a=rt(),i=Ut(),o=en(),{companyId:t}=pt(),[r,s]=Dd(),[d,l]=Se.useState(!1),c=Ie(w=>K.getCompanyHealthMetricView(w)),f=Ie(w=>K.getCompanyManagementView(w)),{additionalChurnFactors:h}=Ie(w=>K.getCompanyHealthMetricConfig(w)),{selectedCompanyDetail:_,selectedCompanyId:m,localFormDataAndStatusByCompanyId:b}=c,p=Ie(w=>w.companyViewState.zeniUsers.fetchState),u=Ie(w=>w.companyHealthMetricConfigViewState);if(Se.useEffect(()=>{const w=v=>v==="Not-Started"||v==="Error";c.fetchState==="Completed"?a(K.fetchAllCockpitViews(!1)):w(c.fetchState)&&(a(K.fetchCompanyHealthMetricView()),w(p)&&a(K.fetchZeniUsers()),w(u.fetchState)&&a(K.fetchCompanyHealthMetricConfig()))},[c.fetchState,u.fetchState]),Se.useEffect(()=>{t!=null&&c.fetchState==="Completed"&&r.has("utm_source")===!0&&(a(K.initializeCompanyHealthMetricViewLocalData(t)),_!=null&&(Ye.trackCockpitHealthMonitorNotificationAlertClicked(r.get("utm_source"),{companyId:_.companyInfo.companyId,companyName:_.companyInfo.name,churnProbability:_.companyHealthMetric.churnProbabilityPercentage??null}),l(r.has("utm_source")),r.delete("utm_source"),s(r)))},[c.fetchState,_?.companyInfo.companyId,_?.companyInfo.name]),tt.getSignedInUser()==null)throw Error("Can't access Health Monitor page without signing in...");return X.jsxs(X.Fragment,{children:[e===!0||m!=null&&_!=null?X.jsx(nn,{anchor:"right",open:m!=null,PaperProps:{style:{width:Yd.overlayWidth.valuePercentage(o),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:i.colors.black,opacity:.75,cursor:"pointer"}}},onClose:()=>a(K.removeSelectedCompanyId()),children:X.jsx(ud,{roomId:`cockpit_${m}`,autoConnect:!0,children:X.jsx(cd,{onSaveClick:()=>{m!=null&&a(K.saveCompanyHealthMetricById(m))},onSaveChangesToLocalStore:w=>{c.selectedCompanyId!=null&&a(K.updateCompanyHealthMetricLocalStore({companyId:c.selectedCompanyId,updatedLocalData:w}))},localData:b?.companyHealthMetricLocalData??{netPromoterScore:void 0,externalProductServiceExposure:void 0,additionalChurnFactors:{increasingChurnProbability:[],decreasingChurnProbability:[]}},companyHealthMetricViewSelector:c,onCloseDrawer:()=>a(K.removeSelectedCompanyId()),analytics:Ye,urlSource:d,additionalChurnFactorsOptions:h})})}):null,X.jsx(Xd,{healthView:c,managementView:f,navigate:n,mixpanelHMUrl:tn.mixpanelHMUrl})]})}const nh=(e,n)=>{const a=[...e??[]];return a.push(n),a},Qd=e=>{const n=[...e??[]];return{poppedPathname:n.pop(),newStack:n}},ep=(e=2)=>{let n="../";for(let a=0;a<e;a++)n=`${n}../`;return n},Fe=({state:e,element:n})=>tt.isSignedIn()===!0?X.jsx(X.Fragment,{children:n}):X.jsx(er,{to:"/signin/auth",replace:!0,state:{...e,message:"...",origin:window.location.pathname}});function tp(){return X.jsxs(wt,{children:[X.jsx(qe,{path:"/companies/:companyId",element:X.jsx(Fe,{element:X.jsx(_n,{isDrawerOpen:!0})})}),X.jsx(qe,{path:"/",element:X.jsx(Fe,{element:X.jsx(_n,{})})}),X.jsx(qe,{path:"/*",element:X.jsx(Fe,{element:X.jsx(_n,{})})})]})}const rp={drawerLeftMargin:new dt(0,0,240)};function or(e){const{isOpen:n,drawerLeftMargin:a,children:i,onClose:o}=e,t=en(),r=a?.valuePx(t)??rp.drawerLeftMargin.valuePx(t),s=Ut();return X.jsx(nn,{anchor:"right",open:n,PaperProps:{style:{width:`calc(100% - ${r})`}},slotProps:{backdrop:{style:{backgroundColor:s.colors.black,opacity:.8,cursor:"pointer"}}},onClose:o,children:i})}const np=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?X.jsx(ip,{children:X.jsx(rn,{size:"ExtraLarge",start:!0})}):null,ip=ut.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: 100%;
|