@zeniai/web-cockpit-ui 1.14.62-dev → 1.14.62-qa
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-C9GD0hCH-wcmQ_I_w.js → ACHDetailsPage-C9GD0hCH-BjgIixGR.js} +1 -1
- package/dist/assets/{AIPerformancePage-B0Adp0wg-BRw7cYj4.js → AIPerformancePage-B0Adp0wg-BENvGSD8.js} +1 -1
- package/dist/assets/{AccountInfoPage-BSxUquf3-Cq3qTjcH.js → AccountInfoPage-BSxUquf3-CVXqrpiM.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-8V3PDzEc-BlV15_jy.js → AccountInfoPageContent-8V3PDzEc-Co1a4vxf.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-7bhpExx3-DJKdkKXd.js → AccountLockedInfoModal-7bhpExx3-DWUCsu-t.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-jTH8M9iA-CMGLbrVx.js → AccountReconDetailsDrawerPage-jTH8M9iA-Aoa7lkw7.js} +1 -1
- package/dist/assets/{AccountRow-BpoPw0Cq-PxbfVOGF.js → AccountRow-BpoPw0Cq-6rjrYRQx.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-gsG5tf8_-DWo1I6r8.js → AccountsPromoCardStack-gsG5tf8_-DHp17pPu.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-CMF3Il-u-Dg_CMfGn.js → AddAddressForCardDrawer-CMF3Il-u-Cpb6hsZ-.js} +1 -1
- package/dist/assets/{AddToWalletPage-CpWP7Kpn-oyevXfMf.js → AddToWalletPage-CpWP7Kpn-CSqVUMRE.js} +1 -1
- package/dist/assets/{AgingReportsPage-DEQ2pO0Y-B_El_7jI.js → AgingReportsPage-DEQ2pO0Y-yRrwplt0.js} +1 -1
- package/dist/assets/{AllUserItems-D0SR0Oue-C_Mnq_2_.js → AllUserItems-D0SR0Oue-DtcPCB6_.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-BA-wKCiF-DoDUWxWK.js → ApAgingDetailPage-BA-wKCiF-DQrPP1v5.js} +1 -1
- package/dist/assets/{AppBasePage-DFn4TCyI-BVuiMG50.js → AppBasePage-DFn4TCyI-Cc5DLAg0.js} +1 -1
- package/dist/assets/{AppDrawerContent-CBG4Ybue-1CDBllQE.js → AppDrawerContent-CBG4Ybue-ByqvB6J0.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-CpjHazzI-CsBcR4Oy.js → ApprovalRulesSettingsPage-CpjHazzI-Cks7NfZS.js} +1 -1
- package/dist/assets/{ArAgingChart-BDISnDae-DNBj0-9L.js → ArAgingChart-BDISnDae-CyesneCU.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-Cgqf_0fL-CU471vpq.js → ArAgingDetailPage-Cgqf_0fL-Cq89JxEo.js} +1 -1
- package/dist/assets/{AttachmentView-X1k01Vtr-BZZUcPOE.js → AttachmentView-X1k01Vtr-B7_QU-hD.js} +1 -1
- package/dist/assets/{BankAccountSection-CrxSDsgw-BPSLHakI.js → BankAccountSection-CrxSDsgw-ktUyjJcn.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Dpt8yOKi-BO8G0nmG.js → BankAccountWarningSection-Dpt8yOKi-CoN6e059.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-Uzhaoi7g-Bcdti6AO.js → BankConnectionsSettingsPage-Uzhaoi7g-mD1d5FDq.js} +1 -1
- package/dist/assets/{BillDetailPage-DcyikS7i-dCdg2EaC.js → BillDetailPage-DcyikS7i-BdNFKGGl.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-aM8F15Nu-ackUtbJ8.js → BillPayApprovalRuleDetailPage-aM8F15Nu-CKOcRZID.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-B46FwPVR-Bv9k8Xtu.js → BillPayApprovalRulesPage-B46FwPVR-D-g0Yiyo.js} +1 -1
- package/dist/assets/{BillPayPromoPage-DtVzdlsy-Bd5M4tTJ.js → BillPayPromoPage-DtVzdlsy-C9OmQlVi.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-BKdNiQf7-BvAzvMev.js → BillPaySetUpPage-BKdNiQf7-Cc4m50Uo.js} +1 -1
- package/dist/assets/{BillingSettingsPage-3AgPTFzN-deJJWYq4.js → BillingSettingsPage-3AgPTFzN-DilAG0t1.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-CFK7g3R1-b-zDDdgS.js → BillsBulkReviewDrawerPage-CFK7g3R1-CNk8ph3a.js} +1 -1
- package/dist/assets/{BoxItem-Dsoq6QyZ-D7NZjkdf.js → BoxItem-Dsoq6QyZ-B-WatMIw.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-DSkBV_II-DSCAr_Go.js → BusinessVerificationPage-DSkBV_II-D7barBYM.js} +1 -1
- package/dist/assets/{CardNumberSubText-Crk5WDQr-D42xv8Vo.js → CardNumberSubText-Crk5WDQr-DYNdDxcR.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BZAFRMGW-CBzh2ZdI.js → CashbackDetailPage-BZAFRMGW-DHwMsEnN.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-DXUoIbZa-DkTH3Igs.js → ChargeCardDetailPage-DXUoIbZa-_LUfh5la.js} +1 -1
- package/dist/assets/{ChargeCardListPage-CIV1XQK1-BsJ1Un8U.js → ChargeCardListPage-CIV1XQK1-D6N1OvLo.js} +1 -1
- package/dist/assets/{ChargeCardListTable-Dxn8Y17P-BLWbpWSy.js → ChargeCardListTable-Dxn8Y17P-YJscyrM8.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-B6yTGsIY-CaVyUdrp.js → ChargeCardPromoPage-B6yTGsIY-DmZGR1jp.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-HHFdpsmJ-BZfvUbrB.js → ChargeCardSetupPage-HHFdpsmJ-D4Ma056g.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-tuV67f3k-0CxnC-oz.js → ChargeCardStatementsPage-tuV67f3k-CgpUYkHr.js} +1 -1
- package/dist/assets/{ChargeCardUtils-BeG5m9OQ-BVnvyZkb.js → ChargeCardUtils-BeG5m9OQ-BnJ39MTB.js} +1 -1
- package/dist/assets/{ChaseOverlay-B2pqFXTT-BWakvkAR.js → ChaseOverlay-B2pqFXTT-Df2Ezv28.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-DDXZ3m54-CXBK2nJg.js → CheckDepositDrawerPage-DDXZ3m54-qWYP5ABn.js} +1 -1
- package/dist/assets/{CollapsableReportTable-BLDh7Osv-ox-qsXy2.js → CollapsableReportTable-BLDh7Osv-DfaYwLVz.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-Dg3sn5Sh-BTBTOsDr.js → CompanyOfficerDetailsSection-Dg3sn5Sh-Cu3GX4FJ.js} +1 -1
- package/dist/assets/{CompanyPassportCard-2HnVDVVi-dxhiiZQi.js → CompanyPassportCard-2HnVDVVi-zGfwT0EU.js} +1 -1
- package/dist/assets/{CompanyPassportPage-DlGllnaL-u0Oh4-Ab.js → CompanyPassportPage-DlGllnaL-QVy4YULg.js} +1 -1
- package/dist/assets/{CompleteProfile-kFGIESms-CDZ04UbG.js → CompleteProfile-kFGIESms-Dkk-z6t0.js} +1 -1
- package/dist/assets/{ConfettiBurst-D5IgJ5P3-DI0WARwG.js → ConfettiBurst-D5IgJ5P3-E65_x1se.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D8IFFcdA-BWjjY2FD.js → CreateOrEditVendorPage-D8IFFcdA-StbUiZfz.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-Xu0psAw0-DRgPLpcF.js → CreditCardPaymentDrawerPage-Xu0psAw0-D0gZCtxQ.js} +1 -1
- package/dist/assets/{CreditCardPaymentPlgSection-CqvgalYj-CACGNzop.js → CreditCardPaymentPlgSection-CqvgalYj-CUdjrO8S.js} +1 -1
- package/dist/assets/{CurrencySelectField-hwgVPqTt-CZrVpTrr.js → CurrencySelectField-hwgVPqTt-B9olol6q.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-CBFhWSJz-BUJvmXrh.js → CustomerOnboardingActivationPage-CBFhWSJz-D-QIEuJy.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-D4zUp7hX-DHmsrQe_.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-B2q2tdnD-Bp78peNj.js → CustomerOnboardingDetailPageSkeleton-B2q2tdnD-Dfe_cett.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-BsNq90nq-_3KuDz4_.js → CustomerOnboardingNoStepsPage-BsNq90nq-DjNSGy04.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-BbGV3jtT-DCZddKCA.js → CustomerOnboardingPage-BbGV3jtT-Bcwahrb4.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-R2PJEOqZ-BqHqYyVu.js → CustomerOnboardingProductSuitePage-R2PJEOqZ-BTVhd0Re.js} +1 -1
- package/dist/assets/{Dashboard-Cw4u8_9e-CNVcyr2a.js → Dashboard-Cw4u8_9e-DbBlW7ig.js} +1 -1
- package/dist/assets/{DashboardReportPage-ls_MMfAh-ku8msjfd.js → DashboardReportPage-ls_MMfAh-Cmzgt21g.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-C_9jGJQn-DjB0cTYb.js → DashboardSidebarBackgroundAnimation-C_9jGJQn-CW-EldD9.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BLgpyexV-BUif7HBg.js → DepositAccTransactionItem-BLgpyexV-DDsSN6D0.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-r4UVSUOl-jIySug5o.js → DepositAccTransactionListPage-r4UVSUOl-WIgqF2oB.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-BSXsHwf5-nZMW9ya5.js → DomesticWireDetailsPage-BSXsHwf5-CyInh1Li.js} +1 -1
- package/dist/assets/{DownloadOverlay-DKpj3Vwl-DX_ZKzvM.js → DownloadOverlay-DKpj3Vwl-jr69kEjZ.js} +1 -1
- package/dist/assets/{DrawerPage-Cxz5I3Mb-DWCpAx75.js → DrawerPage-Cxz5I3Mb-CqHagX_L.js} +1 -1
- package/dist/assets/{EditPeoplePage-Dbsa013z-C87B1cPM.js → EditPeoplePage-Dbsa013z-BNUYit4n.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-Clpj3Hjz-De3HxU8I.js → EditReimbursementDetailPage-Clpj3Hjz-CVKUzeEp.js} +1 -1
- package/dist/assets/{EntityDetailPage-C73BtWIp-Cr_6Sl3E.js → EntityDetailPage-C73BtWIp-D8wpNNd0.js} +1 -1
- package/dist/assets/{EntitySummarySection-BQA0g-pF-C1PbnddD.js → EntitySummarySection-BQA0g-pF-CbGAmbu8.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-BxEr0k8F-CUbCOzoq.js → ExpenseAutomationOverviewPage-BxEr0k8F-BHqR9wAC.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-BS4M9nkW-DYAXIB9M.js → ExpenseAutomationPage-BS4M9nkW-ufxTsQbf.js} +1 -1
- package/dist/assets/{ExpressPayPage-Buxb2M1i-DC3wux1h.js → ExpressPayPage-Buxb2M1i-B9fAQlVA.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-ClfFYnHb-BfGEfVGQ.js → FeaturePreviewPage-ClfFYnHb--gXnRz9K.js} +1 -1
- package/dist/assets/{FollowStepsSection-CkQ-g4YK-GLs0gIYR.js → FollowStepsSection-CkQ-g4YK-dr6FAmOd.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-C_DbsHsA-Bi1oO-Mz.js → GlobalReviewListPage-C_DbsHsA-C6phfeex.js} +1 -1
- package/dist/assets/{HelpButton-B0ZBXPeh-zSwt_svY.js → HelpButton-B0ZBXPeh-BorgPtfn.js} +1 -1
- package/dist/assets/{InformationCardStack-DYdCt7zr-DhV-r4Uj.js → InformationCardStack-DYdCt7zr-r9qdYJzs.js} +1 -1
- package/dist/assets/{InsightsCardStack-BSHQznep-CWR7qCJZ.js → InsightsCardStack-BSHQznep-BMkYmRhd.js} +1 -1
- package/dist/assets/{InsightsSection-C37BKIiK-KVt8i2oW.js → InsightsSection-C37BKIiK-RNlgGAPQ.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-DHAdlHrq-Bqfn2ev2.js → IntegrationsSettingsPage-DHAdlHrq-CMWIwf7T.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-B64WNt28-D1_PuT1L.js → InternationalWireSwiftDetailsPage-B64WNt28-uVg2-6eP.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-D7ttGovC-BKd-ehNA.js → InternationalWireVerificationPage-D7ttGovC-D_Anpl8k.js} +1 -1
- package/dist/assets/{InviteFormPage-BhbGM4dC-CzvXIR5_.js → InviteFormPage-BhbGM4dC-C9bKqONR.js} +1 -1
- package/dist/assets/{InvitePageListView-CyRlLv60-CnnQlGla.js → InvitePageListView-CyRlLv60-B6D8YcCC.js} +1 -1
- package/dist/assets/{InvitePeoplePage-DYpb33z0-yjHHc7mx.js → InvitePeoplePage-DYpb33z0-YHgrNKtY.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-BPPgbS-r-DsP3dMQH.js → InvoiceUploadSection-BPPgbS-r-BHrBDY3d.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-D_qQkkfo-B3Igv8Wu.js → IssueChargeCardPage-D_qQkkfo-CSsCg8Db.js} +1 -1
- package/dist/assets/{LabeledAddressValue-EshVNGGW-BdxJWtKx.js → LabeledAddressValue-EshVNGGW-Cb2uc0dZ.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-kgieouBM-C9jRpERl.js → LabeledAddressValueField-kgieouBM-DzNGhdp0.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-CWABc6OK-HO6-gxJI.js → LabeledControlledCheckBoxField-CWABc6OK-ClMxBsh8.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-B5o1KUJj-BQcKTXHX.js → LabeledCreatableSingleSelectField-B5o1KUJj-BE5hL6KZ.js} +1 -1
- package/dist/assets/{LabeledDocumentField-BrXpwWfM-8fIPpLS4.js → LabeledDocumentField-BrXpwWfM-CV_EVAk8.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-Cepl3y9a-W2a_RnbU.js → LabeledDropDownFormattedTextField-Cepl3y9a-BvaaA7qv.js} +1 -1
- package/dist/assets/{LabeledText-BmFLymPb-D8x81Lh_.js → LabeledText-BmFLymPb-D54qw5X_.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CBbnTiwl-DBx8kYuJ.js → LabeledUserSingleSelectWithSubtitlesField-CBbnTiwl-DEzr-9kh.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-Da9mc-0B-BJ1z3EeH.js → LabeledZeniRolesDropDownField-Da9mc-0B-C30aMHy1.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-DIhsx2g--KBlFRQb2.js → LinkJETransactionPage-DIhsx2g--Cp1GItTZ.js} +1 -1
- package/dist/assets/{LockCardPage-BA4Lj9Iy-DTk5VUQk.js → LockCardPage-BA4Lj9Iy-DqX49N3M.js} +1 -1
- package/dist/assets/{LowBalancePopup-B1pTBmAF-XO9AvMeQ.js → LowBalancePopup-B1pTBmAF-DMsL8GAq.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-BxzbJBWO--JriP-v7.js → MagicLinkACHDetailsPage-BxzbJBWO-Wf8wA2-U.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-DB2tBUoV-D11VFVs7.js → MagicLinkDomesticWireDetailsPage-DB2tBUoV-BR3Unx7y.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-0B5pD_Iw-D3uoz_xk.js → MagicLinkInternationalWireDetailsPage-0B5pD_Iw-BHMic-Rc.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-3I1CRYrj-CQ85jc3m.js → MagicLinkSuccessPage-3I1CRYrj-Ca4cu0D0.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-BKgwdBLy-DJAtgQrS.js → MagicLinkTitleSection-BKgwdBLy-BT7ZZklR.js} +1 -1
- package/dist/assets/{MailingDetailsSection-BwEd_J6R-dp-4DZAU.js → MailingDetailsSection-BwEd_J6R-DkUc8Lj3.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-BpRpGSe6-BbPmd_3K.js → MeetingCalenderPopup-BpRpGSe6-DG2NWgbm.js} +1 -1
- package/dist/assets/{Menu-De_gaVnj-BIeYBB7q.js → Menu-De_gaVnj-BIvr4lYg.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-lChXBDCb-CU4FUkGq.js → MyBankConnectionsSettingsPage-lChXBDCb-DU5DVhxi.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-D3di8BeS-DVyKiAts.js → MyPendingActivationChargeCardListPage-D3di8BeS-DKJC-Hoj.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-CYI4yK6I-B8BI2oLj.js → MyProfileSettingsPage-CYI4yK6I-lkqzLNrj.js} +1 -1
- package/dist/assets/{NavBarWithPicker-DcELUvq0-JOqnZxMT.js → NavBarWithPicker-DcELUvq0-C5N2yjZ3.js} +1 -1
- package/dist/assets/{NavigationArrow-W1nVj2KC-CMqtrSRj.js → NavigationArrow-W1nVj2KC-CB3-WbW2.js} +1 -1
- package/dist/assets/{NavigationDots-BKVFhe2Y-BrHbPCev.js → NavigationDots-BKVFhe2Y-BXA4iaa-.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DRrjJgZt-CEoy9VUB.js → NewGlobalMerchantPage-DRrjJgZt-B35zjD-s.js} +1 -1
- package/dist/assets/{NoDataChart-BzSCComh-BBDrgF2D.js → NoDataChart-BzSCComh-TCsmvHP1.js} +1 -1
- package/dist/assets/{NoDataTable-CGWMbvak-ByO1cOCm.js → NoDataTable-CGWMbvak-D6mzGtG9.js} +1 -1
- package/dist/assets/{NotFoundPage-DfRFngFV-5gg6LFkb.js → NotFoundPage-DfRFngFV-Cvi4-w7R.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-BTJH62-O-D7DVGMmr.js → NotificationSettingsPage-BTJH62-O-BjEAiv3V.js} +1 -1
- package/dist/assets/{NotificationsListConfig-DPutUxp3-C94QRV7X.js → NotificationsListConfig-DPutUxp3-B-f9mabS.js} +1 -1
- package/dist/assets/{NotificationsPage-xu6A1hVF-DQF7RHp8.js → NotificationsPage-xu6A1hVF-PuoNi3-5.js} +1 -1
- package/dist/assets/{OpExByVendorPage-BeO7iMry-DDqW-8aU.js → OpExByVendorPage-BeO7iMry-ChO0CL0F.js} +1 -1
- package/dist/assets/{OverlayContainerPage-CU1AAMcq-D-Pawytj.js → OverlayContainerPage-CU1AAMcq-C97TuWW_.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-1qSy3_Ke-EOIFmkSR.js → PandLWithForecastPage-1qSy3_Ke-BkoKktpJ.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DnObHdjD-BdZ7cMoC.js → PaymentAccountSetupBillingAddressSection-DnObHdjD-Dxj4lh2G.js} +1 -1
- package/dist/assets/{PeoplePage-CPqz8R9j-Db69JWzl.js → PeoplePage-CPqz8R9j-B70ykgrs.js} +1 -1
- package/dist/assets/{PortfolioAllocationFormPage-C9ZM9oUf-CZJ1jxYZ.js → PortfolioAllocationFormPage-C9ZM9oUf-DJFvzQ8r.js} +1 -1
- package/dist/assets/{PortfolioDetails-BJBNPfcI-DsK_BUc_.js → PortfolioDetails-BJBNPfcI-BtgJ2hbs.js} +1 -1
- package/dist/assets/{ProductsCarousel-Ctx00P5D-D9FkIJxu.js → ProductsCarousel-Ctx00P5D-BTEQtLvG.js} +1 -1
- package/dist/assets/{PromoBaseCards-BGYdfmx6-BEMDJNz0.js → PromoBaseCards-BGYdfmx6-Dtat0fyc.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-B9yKv9hq-BkyyC54F.js → QBOConnectionDialog-B9yKv9hq-DoLz2hIj.js} +1 -1
- package/dist/assets/{QBOSetupSection-CTMSCXwv-e3p1TnXx.js → QBOSetupSection-CTMSCXwv-CxubTHdL.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BtZUsK7H-D7OL8G_2.js → ReimbursementApprovalRuleDetailPage-BtZUsK7H-Dzk_bMVd.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DNBHPoIZ-DjLma364.js → ReimbursementApprovalRulesPage-DNBHPoIZ-BlN6Jytr.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-BxZ5ijHe-BVaX9EvT.js → ReimbursementDetailPage-BxZ5ijHe-zurm2_Gr.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-D284EkRZ-DkeYmm5-.js → ReimbursementPromoPage-D284EkRZ-BcIIXtzk.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-BzR91_eW-B1cVy_ii.js → ReimbursementSetUpPage-BzR91_eW-CldLpq0B.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BMo9fFp7-DDhl84yp.js → ReimbursementsBulkReviewDrawerPage-BMo9fFp7-CeRLlDSr.js} +1 -1
- package/dist/assets/{ReloadCard-CGUNX_x4-DHHdzF-o.js → ReloadCard-CGUNX_x4-Dbmvt1Tw.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-BVAek1Ui-tg0FtSlz.js → ReportTableViewSelector-BVAek1Ui-C_slHbQ8.js} +1 -1
- package/dist/assets/{ReportsPage-BzKbMWV4-Bkyilcu9.js → ReportsPage-BzKbMWV4-nYQmduZj.js} +1 -1
- package/dist/assets/{RevenueChart-CPUrVR7y-p14Y9U0K.js → RevenueChart-CPUrVR7y-BAuj7ArI.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-B74yrCe2-2UJj3aSZ.js → ReviewDetailsPage-B74yrCe2-VCXhCYb5.js} +1 -1
- package/dist/assets/{ReviewOverlay-DQvXSDYM-BgLXL5oi.js → ReviewOverlay-DQvXSDYM-DyF1UXZO.js} +1 -1
- package/dist/assets/{RoleWithToolTip-MwI_BmVq-X2NuZkOe.js → RoleWithToolTip-MwI_BmVq-Ds1A2gyK.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CbkRYKjG-CGeWP6Q0.js → ScheduleDetailsFixedAssetsPage-CbkRYKjG-CqEHYps-.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-CCRspH3Y-CWtiBfKU.js → ScheduleDetailsPage-CCRspH3Y-CPpcmXd0.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-55zYXNwF-DayScLRg.js → ScheduleSequenceTable-55zYXNwF-DUs0PlZE.js} +1 -1
- package/dist/assets/{ScreenRoutes-DFaMy6Tb.js → ScreenRoutes-Ba12Q0HX.js} +1 -1
- package/dist/assets/{SetUpAccountSection-IgQjKWEr-C4h-8RcD.js → SetUpAccountSection-IgQjKWEr-Bxp6vD4c.js} +1 -1
- package/dist/assets/{SetUpDefaultSection-shC3qOy6-NZDiaWla.js → SetUpDefaultSection-shC3qOy6-C49ph3xE.js} +1 -1
- package/dist/assets/{SignIn-CZGmLYjH-DKDYi6L5.js → SignIn-CZGmLYjH-DHcDyA10.js} +1 -1
- package/dist/assets/{SignInScreen-DeabHgX8.js → SignInScreen-DqIw82_G.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BhTnQtma-CGcx-wdm.js → SpendManagementListViewPage-BhTnQtma-CCGqdAUI.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-DpnIM6Nc-DJd_UPYY.js → SpendManagementPerTabPage-DpnIM6Nc-1ZBcChPe.js} +1 -1
- package/dist/assets/{SpendManagementSection-Hjvwgkt0-C9Ik4rB-.js → SpendManagementSection-Hjvwgkt0-D6Yvpvz4.js} +1 -1
- package/dist/assets/{SpendMgmtSetupAccountSection-CAWyEGGM-CyE9_AxZ.js → SpendMgmtSetupAccountSection-CAWyEGGM-D_Y5M2MY.js} +1 -1
- package/dist/assets/{StatementItem-D8v_Laju-BC0rGudd.js → StatementItem-D8v_Laju-B8GfRoNo.js} +1 -1
- package/dist/assets/{StatementsPage-CEw-9UyR-F4RCa_uj.js → StatementsPage-CEw-9UyR-BcqGoaDU.js} +1 -1
- package/dist/assets/{StatusSwitcher-DoSCydJG-CUZayvzb.js → StatusSwitcher-DoSCydJG-CoBpz-TS.js} +1 -1
- package/dist/assets/{SubTabSwitcher-Ct1DqfgC-D_B5Q5CC.js → SubTabSwitcher-Ct1DqfgC-Bibz1hGv.js} +1 -1
- package/dist/assets/{SummaryCard-CHUbuF_0-BPkrpzgf.js → SummaryCard-CHUbuF_0-CaC0zRzW.js} +1 -1
- package/dist/assets/{TaskManagementPage-Ddox5Vwh-BtmzFtgk.js → TaskManagementPage-Ddox5Vwh-D5D4JTV5.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-CiOSsTU--DJtVL6uZ.js → TimeRangeSwitcher-CiOSsTU--CLsRcOaL.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-D1k1Zf_U-DRQ7Dyxo.js → TimeframeSwitcher-D1k1Zf_U-DTp5-FTG.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DXbaoDe6-CTgc86K9.js → TimeframeSwitcherWithToggle-DXbaoDe6-yq3iZa4P.js} +1 -1
- package/dist/assets/{TopExCard-D4ZDqXZg-BF-WMzyH.js → TopExCard-D4ZDqXZg--brQ_iDE.js} +1 -1
- package/dist/assets/{TopExDetailPage-BdPAcKwH-DpLiY3rN.js → TopExDetailPage-BdPAcKwH-BWvPRR7r.js} +1 -1
- package/dist/assets/{TransactionDetailPage-BcjGxHy8-IuIJ3mqx.js → TransactionDetailPage-BcjGxHy8-CFPVJudJ.js} +1 -1
- package/dist/assets/{TransactionList-BSuMEtB3-CMOkefWM.js → TransactionList-BSuMEtB3-CoYwx3Sx.js} +1 -1
- package/dist/assets/{TransactionListBig-MY_ZxyR3-DAEJW71z.js → TransactionListBig-MY_ZxyR3-BlvU2xVi.js} +1 -1
- package/dist/assets/{TransactionListPage-CWGrWDjK-CIEoKrUV.js → TransactionListPage-CWGrWDjK-1Jg_-UFD.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-DDNK9KrI-O_lhiQcq.js → TransactionVendorDetailPage-DDNK9KrI-navYrc-G.js} +1 -1
- package/dist/assets/{TransferDrawerPage-vK0YoMro-BnQ7gfWx.js → TransferDrawerPage-vK0YoMro-D8CyUH8N.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-CQsUti1c-B9kfLqNq.js → TreasuryOverviewPage-CQsUti1c-Ba68New5.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-Bp72hKEs-CTtwU0ZX.js → TreasuryPromoPage-Bp72hKEs-NvukScyd.js} +1 -1
- package/dist/assets/{TreasurySetupPage-BUKsU3nh-ChLyWbKe.js → TreasurySetupPage-BUKsU3nh-kC1qSXYk.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-Cryv1PNX-BXauBu3y.js → TreasuryStatementsPage-Cryv1PNX-DcPIDQHV.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-BMYTdYa5-B5Y_HIfH.js → TreasuryTaxLetterPage-BMYTdYa5-Dj8UaOnF.js} +1 -1
- package/dist/assets/{TreasuryTransferOrReviewPage-B9VwyDJa-BiuSVWbg.js → TreasuryTransferOrReviewPage-B9VwyDJa-CRkrhgNd.js} +1 -1
- package/dist/assets/{TrendChart-CqYeWLeV-DGzeA7Oj.js → TrendChart-CqYeWLeV-htWF6W-p.js} +1 -1
- package/dist/assets/{TrendWithTransactions-xn1fvlLO-BRgtHO5b.js → TrendWithTransactions-xn1fvlLO-CerDbg3P.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-B_aOzm4v-CskTnoly.js → UncategorizedAccountsMappingPage-B_aOzm4v-h1El0pw_.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-B6LF_f7C-D2tKVxd-.js → UnitIntegrationPage-B6LF_f7C-DF3yoEHz.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-BlKvE3tT-HoFIL9hV.js → UploadAdditionalDocumentOverlay-BlKvE3tT-BlWsi76J.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BLzf9zxl-l8gvXF4Y.js → Vendor2FAPopup-BLzf9zxl-u_Gb4R4i.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-CncDplWQ-B3O_yZHX.js → VendorACHDetailsPage-CncDplWQ-DgiLqsWr.js} +1 -1
- package/dist/assets/{VendorDetailPage-POan4Fo8-CFdhAO3w.js → VendorDetailPage-POan4Fo8-Y_NsPNBu.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-B1bT0W9o-D_UYfmub.js → VendorDomesticWireDetailsPage-B1bT0W9o-NrQ5VuHO.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-C25iYV4w-Crhvm405.js → VendorFiling1099EditablePage-C25iYV4w-DxH6WOrq.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-DY035p5C-CBR39dJP.js → VendorFirstReviewPage-DY035p5C-B1sylU9C.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-DN_mcAqY-mmYMcnBl.js → VendorInternationalWireDetailsPage-DN_mcAqY-DOkydboS.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BaXgGRdu-Cae4saOt.js → VendorInternationalWireSwiftDetailsPage-BaXgGRdu-BQ0UaHHd.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-C2UiqXC0-C8tGsoLh.js → VendorsAccountsSection-C2UiqXC0-BiErhc3o.js} +1 -1
- package/dist/assets/{VerifyDevice-C7BWrAZ3-Csv3HVHz.js → VerifyDevice-C7BWrAZ3-DJDQCedc.js} +1 -1
- package/dist/assets/{VideoPlayer-BYkDTMkS-BwPpLJtc.js → VideoPlayer-BYkDTMkS-BkX7RMiM.js} +1 -1
- package/dist/assets/{VideoPopup-Chye3pds-CsfGUZ0P.js → VideoPopup-Chye3pds-BhmRCag7.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-Cx-gJdnW-CaMsO86D.js → WarningsDrawerPage-Cx-gJdnW-Cid-1Ovb.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-BrXe6Kao-DSC2z41y.js → ZeniAccountDetailPage-BrXe6Kao-DZTAFx3o.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-CJnHvk5a-CKxe9b_t.js → ZeniAccountListViewPage-CJnHvk5a-BNB1bM3y.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-BdLOT9UG-BloORYtU.js → ZeniAccountNavBarPieces-BdLOT9UG-Cokn4oEN.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-B1I9l833-C9FtKjkQ.js → ZeniAccountPromoPage-B1I9l833-BElJ8cLy.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-CitVJnZC-djUrd4xP.js → ZeniAccountSetupPage-CitVJnZC-B9X3YQBI.js} +1 -1
- package/dist/assets/{ZeniCopyright-DbQka65R-DPVtmyyb.js → ZeniCopyright-DbQka65R-7ZVyc7Yg.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Dzxu82Xw-dYxKyELc.js → ZeniTransferAmountSlider-Dzxu82Xw-Ml8lBAJZ.js} +1 -1
- package/dist/assets/{analyticsHelper-DNLhFCBz.js → analyticsHelper-BDL8_RGj.js} +1 -1
- package/dist/assets/{analyticsHelper-DgJDMdal-1yNDR_DA.js → analyticsHelper-DgJDMdal-DIavhrOw.js} +1 -1
- package/dist/assets/{chartTypes-D1j_l919-BJFL1pej.js → chartTypes-D1j_l919-8QXMvJet.js} +1 -1
- package/dist/assets/{commonDimensions-DDu54g8x-CV84qnXW.js → commonDimensions-DDu54g8x-D5ikJlMO.js} +1 -1
- package/dist/assets/{detailCommon-DXjUFoA1-DOO_rLzr.js → detailCommon-DXjUFoA1-D9_LRSFU.js} +1 -1
- package/dist/assets/{downloadPdf-DChYYVaW-Dnx-iALN.js → downloadPdf-DChYYVaW-ZZ55IYdY.js} +1 -1
- package/dist/assets/{index-HCR8uiT1.js → index-BqKtrbrP.js} +4 -4
- package/dist/assets/{mapLoadingInProgressToTreeNode-BC5IH44--DUlVTHZE.js → mapLoadingInProgressToTreeNode-BC5IH44--JB4URfny.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CUXssP6r-BNiiDwH7.js → mapSectionWithAcOnlyToTreeNode-CUXssP6r-DZ4GfGRq.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-sdzfy8cu-BS6jqoR8.js → mapSpacerToTreeNode-sdzfy8cu-ofjZ3Daw.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BROieqal-CeHO_B7h.js → mapTimeframeBalancesToTreeNode-BROieqal-BJxVRna_.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DgOZfixy-2xtis6eH.js → mapTimeframeBalancesToTreeNode-DgOZfixy-Cw5iWKMh.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-bXb7WXAq-BQ_We1t6.js → mapTimeframeHeaderLoadingInProgressToTreeNode-bXb7WXAq-D3DuUS-Q.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DqhuI8hD-BZz1K830.js → toCOABalancesWithID-DqhuI8hD-CWs6fXMS.js} +1 -1
- package/dist/assets/{toChartData-DZPFiNsp-eUlwDIgN.js → toChartData-DZPFiNsp-WPnYC-7p.js} +1 -1
- package/dist/assets/{treasuryColorHelper-D5AxfiPH-BIkGmYn_.js → treasuryColorHelper-D5AxfiPH-CHzWVnh9.js} +1 -1
- package/dist/assets/{uploadAttachment-D04Fz4F1-CY5qRTQH.js → uploadAttachment-D04Fz4F1-CuQRw56o.js} +1 -1
- package/dist/assets/{uploadReceipts-9DTOr0BG-Dpma3uTz.js → uploadReceipts-9DTOr0BG-BFe5S3is.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-D4zUp7hX-CSoGWUYd.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as N,ax as B,l as w,F as D,f_ as a,j as d,bF as M,gh as j,o as O}from"./index-
|
|
1
|
+
import{b as N,ax as B,l as w,F as D,f_ as a,j as d,bF as M,gh as j,o as O}from"./index-BqKtrbrP.js";import{n as P}from"./vendor-Bs1fkIUX.js";import{a as U,l as V}from"./ChargeCardListTable-Dxn8Y17P-YJscyrM8.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./Menu-De_gaVnj-BIvr4lYg.js";import"./RoleWithToolTip-MwI_BmVq-Ds1A2gyK.js";import"./CardNumberSubText-Crk5WDQr-DYNdDxcR.js";import"./ChargeCardUtils-BeG5m9OQ-BnJ39MTB.js";const{spendManagement:{chargeCard:C}}=D.getLocalizedStrings(),at=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:r,creditAccount:c,creditAccountRepayment:u,depositAccountListWithDebitCardIssued:i,controllerEmails:b,signedInUser:S,onChargeCardRowClick:p,onBackClick:k,onReloadCards:g,onColumnSortConfigChanged:A})=>{const f=N(),F=B(),h=w.hasChargeCardAdminLevelAccess(F.loggedInUserRoleMap),v=e.cards.some(t=>t.type.code.includes("credit")),m=e.cards.some(t=>t.type.code.includes("debit")),y=v&&m?C.cardList.title.cards:m?C.cardList.title.debit:C.cardList.title.credit,E=h===!0?{creditCardCashbackOffer:`${r.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${r.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:a(r.cashbackSummary.cashbackEarned.amount),redeemedCashback:a(r.cashbackSummary.cashbackRedeemed.amount),availableCashback:a(r.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:r.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:r.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,L=o&&l&&h===!0?{creditAccountId:c.id,creditAccountLimit:a(c.limit.amount),creditAccountAvailableAmount:a(c.available.amount),creditAccountSpentAmount:a(c.balance.amount+c.hold.amount),creditAccountStatus:c.status,outstandingBalance:a(u.remainingAmountDue.amount)}:void 0,I=n&&s?{debitAccountId:i.depositAccounts.map(t=>t.id),debitAccountName:i.depositAccounts.map(t=>t.accountName),debitAccountBalance:i.depositAccounts.map(t=>a(t.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:i.depositAccounts.map(t=>t.accountStatus)}:void 0,R={isCreditCardOffered:o,isDebitCardOffered:n,isDebitCardEnabled:s,isCreditCardEnabled:l},x={revokeChargeCardFetchState:{fetchState:"Not-Started"},unlockChargeCardsFetchState:{fetchState:"Not-Started"},lockChargeCardsFetchState:{fetchState:"Not-Started"},closeChargeCardsFetchState:{fetchState:"Not-Started"},updateChargeCardLimitFetchState:{fetchState:"Not-Started"},updateChargeCardNameFetchState:{fetchState:"Not-Started"},depositAccountLimitFetchState:{fetchState:"Not-Started"},recurringExpenses:[],recurringExpensesFetchState:{fetchState:"Not-Started"}};return d.jsxs(W,{children:[d.jsx(M,{title:y,backgroundColor:f.colors.grey4,style:{zIndex:3},onBackClick:k,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?d.jsx(j,{fetchState:e.fetchState,styles:{margin:"auto"}}):d.jsx(U,{onBulkCloseClick:()=>{},onBulkLockClick:()=>{},bulkSubmissionLimit:V,isCardControlsEnabled:!1,cardsSelectedForBulkAction:[],isBulkActionAllowed:!1,firstSelectedCardStatus:void 0,setActionTypeForRowAction:()=>{},setCardIdForRowAction:()=>{},controllerEmails:b,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:c,creditAccountRepayment:u,productInformation:R,cashbackInformation:E,creditAccountInformation:L,debitAccountInformation:I,depositAccountListWithDebitCardIssued:i,cardList:e.cards,showViewForCardUser:!0,signedInUser:S,fetchState:e.fetchState,unlockChargeCardsFetchState:"Not-Started",revokeChargeCardsInviteFetchState:"Not-Started",rowActionView:x,onProceedForBulkActionClick:t=>{},removeAllCardsFromBulkActionList:()=>{},setShowBulkChangeSpendLimitPopup:t=>{},updateBulkActionList:t=>{},onReloadCards:g,onChargeCardRowClick:(t,z)=>{p(t)},uiState:e.uiState,onColumnSortConfigChanged:A,onChargeCardResendInviteClick:()=>{}})]})},W=P.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: ${`calc(100vh - ${O.sp9})`};
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as ie,g2 as te,b as fe,ax as ge,g3 as be,aa as ye,aC as xe,l as z,cT as we,cS as Pe,F as re,j as l,g4 as ve,bF as Oe,ad as $e,aQ as De,o as s,g5 as ne,g6 as de,g7 as ce,cO as ue,y as L,an as me,C as Se,O as Re,aJ as le,d2 as je,cV as Ce,g8 as q,c$ as Le,cZ as Te,g9 as Ie,a$ as Ve,u as U}from"./index-
|
|
1
|
+
import{q as ie,g2 as te,b as fe,ax as ge,g3 as be,aa as ye,aC as xe,l as z,cT as we,cS as Pe,F as re,j as l,g4 as ve,bF as Oe,ad as $e,aQ as De,o as s,g5 as ne,g6 as de,g7 as ce,cO as ue,y as L,an as me,C as Se,O as Re,aJ as le,d2 as je,cV as Ce,g8 as q,c$ as Le,cZ as Te,g9 as Ie,a$ as Ve,u as U}from"./index-BqKtrbrP.js";import{b as v,n as m}from"./vendor-Bs1fkIUX.js";import{W as Fe}from"./LabeledAddressValueField-kgieouBM-DzNGhdp0.js";import{Y as Be}from"./LabeledUserSingleSelectWithSubtitlesField-CBbnTiwl-DEzr-9kh.js";import{C as ke,j as ze}from"./LabeledZeniRolesDropDownField-Da9mc-0B-C30aMHy1.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./RoleWithToolTip-MwI_BmVq-Ds1A2gyK.js";const b=(e,t)=>`${e}.${t}`,k={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(U[2],U[3]),toolTipWidth:new L(215,237),notePadding:new L(U[3],U[4]),noteGap:new L(U[0],6)},{peoplePage:a,common:{settings:se,labels:G,placeholder:B,errorMessage:Ne},dateFormat:Ae}=re.getLocalizedStrings(),Me=({myProfileView:e,isZeniFinopsRolesUser:t,sectionId:i,isDisabled:u,isReimbursementDisabled:y,isZeniAccountsDisabled:p,isChargeCardDisabled:o,isBankingOnlyTenant:f,isCardsOnlyTenant:O,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:x})=>{const n=ie(),{person:r,managersList:N,classList:A,manager:H,department:g,controllersList:M,myProfileLocalData:W,addressData:Q}=e,Y=e.person.user?.birthday!=null?"readonly":void 0,$=k.largeLabelWidth.value(n),I=k.largeLabelWidth.value(n),J=v.useMemo(()=>te(y,p,o,f,O,T,h),[y,p,o,f,O,T,h]),{firstController:w,restControllerEmailsStr:D}=v.useMemo(()=>{const c=le(M),S=c.splice(0,1),R=c.reduce((V,F)=>V.concat(`${F.email},`),"");return{firstController:S,restControllerEmailsStr:R}},[M]),K=v.useMemo(()=>le(ue.roles),[]),d=z.hasInvestorBankerLevelAccess(r.userRole!=null?r.userRole.userRoles:[]),_=v.useMemo(()=>A.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[A]);return l.jsxs(Ze,{windowSize:n,children:[l.jsx(je,{isDisabled:u,label:{label:G.name,width:I},nameField:{name:b(i,"name"),placeHolder:{firstName:B.firstNamePlaceholder,lastName:B.lastNamePlaceholder,name:B.namePlaceholder},showFullNameError:!0},errorInfoLabel:Ne.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(C,{}),l.jsx(Ce,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:$},text:{type:"text",name:b(i,"email"),placeholder:q(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${k.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(C,{}),l.jsx(Le,{label:{label:G.dateOfBirth,width:I},style:{width:"auto"},isDisabled:Y,dateField:{name:b(i,"dateOfBirth"),placeholder:B.datePlaceholder,defaultValue:W.dateOfBirth,dateFormat:Ae.visual.defaultInput,autoComplete:"off",maxDate:z.dateNow().subtract(18,"year")}}),l.jsx(C,{}),l.jsx(Fe,{label:{label:G.mailingAddress,width:I},addressValueField:{name:b(i,"mailingAddress"),placeholder:B.addressPlaceholder,defaultValue:Q?.addressToCreate,onClick:()=>{x("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(C,{}),l.jsx(Te,{label:{label:G.phone,width:I},text:{name:b(i,"phone"),placeholder:B.phonePlaceholder,defaultValue:W.phone,autoComplete:"off"},showVerified:W.isPhoneVerified,style:{width:"auto"}}),l.jsx(C,{}),t?l.jsx(ke,{label:{label:a.invitePage.role,width:$},zeniRolesDropDownField:{name:b(i,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:K},registerOptions:{required:!0},placeholderLabel:q(a.selectPlaceholderPrefix,a.invitePage.role),isMulti:!0,forZeniUser:!0},isDisabled:"readonly"}):l.jsxs(l.Fragment,{children:[l.jsx(ze,{label:{label:a.invitePage.role,width:$},rolesDropDownField:{name:b(i,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(r.userRole?.userRoles??[]),allRootRole:de(f,O)},productsByUserRole:ne(r.userRole?.userRoles??[],J)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(C,{}),l.jsx(Be,{label:{label:a.invitePage.manager,width:$},showTooltip:!0,toolTipWidth:k.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:b(i,"manager"),value:{allUsers:d?[]:N,selectedUser:d?void 0:H?.userId},valueToSubtitle:c=>{const S=N.findIndex(R=>R.userId===c);if(S!==-1){const R=N[S],V=A.find(X=>X.classId===R.userRole.accountingClassIDs[0]),F=[];return V!=null&&F.push(V.className),F}else return[]},placeholderLabel:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.manager),registerOptions:{required:!d},showOneOffLabel:{label:se.label.noManager,value:"no_manager",position:"top",subtitles:[]}},isDisabled:"readonly",opacity:d?.32:1}),l.jsx(C,{}),l.jsx(Ie,{label:{label:a.invitePage.department,width:$},singleSelectWithoutClearableField:{name:b(i,"department"),defaultValue:{allOptions:d?[]:_,selectedOption:d?void 0:_.find(c=>c.value===g?.classId)},placeholder:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.department),registerOptions:{required:!d},isDisabled:u,showOptionOnHover:!0},isDisabled:u,opacity:d?.32:1}),t?null:l.jsxs(Ue,{windowSize:n,children:[a.invitePage.controllerText,w[0]?l.jsxs(_e,{href:`mailto:${w[0].email}?cc=${D}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(Ee,{children:`${w[0].firstName} ${w[0].lastName}`}),l.jsx(Ve,{className:"arrowIcon"})]}):null]})]})]})},We=()=>a.invitePage.managerTooltipText,Ze=m.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
package/dist/assets/{NavBarWithPicker-DcELUvq0-JOqnZxMT.js → NavBarWithPicker-DcELUvq0-C5N2yjZ3.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as p,q as m,j as o,aM as u,c5 as g,F as x,o as t,bJ as b,f6 as k,cg as C,c3 as y,C as v}from"./index-
|
|
1
|
+
import{b as p,q as m,j as o,aM as u,c5 as g,F as x,o as t,bJ as b,f6 as k,cg as C,c3 as y,C as v}from"./index-BqKtrbrP.js";import{n as l}from"./vendor-Bs1fkIUX.js";const w=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
flex: 1 1 auto;
|
package/dist/assets/{NavigationArrow-W1nVj2KC-CMqtrSRj.js → NavigationArrow-W1nVj2KC-CB3-WbW2.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,o as r,a$ as g,cg as c}from"./index-
|
|
1
|
+
import{j as e,o as r,a$ as g,cg as c}from"./index-BqKtrbrP.js";import{i as t,n as l}from"./vendor-Bs1fkIUX.js";const $=t`
|
|
2
2
|
border-left-style: none;
|
|
3
3
|
margin-left: -${r.sp3};
|
|
4
4
|
border-top-right-radius: ${r.sp2};
|
package/dist/assets/{NavigationDots-BKVFhe2Y-BrHbPCev.js → NavigationDots-BKVFhe2Y-BXA4iaa-.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,aM as v,o as t}from"./index-
|
|
1
|
+
import{j as e,aM as v,o as t}from"./index-BqKtrbrP.js";import{n as a}from"./vendor-Bs1fkIUX.js";const C=a.div`
|
|
2
2
|
text-align: center;
|
|
3
3
|
cursor: pointer;
|
|
4
4
|
`,y=a.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as F,aa as K,cS as Q,aP as X,j as t,F as z,ad as Y,aQ as Z,y as i,o as a,A as ee,O as _,H as te,h1 as ae,am as le,d3 as O,id as ne,cX as U,cV as oe,u as l,b8 as re,db as ie,d9 as de,dn as se,P as ce,eN as me,dE as he,bl as be,h as V}from"./index-
|
|
1
|
+
import{q as F,aa as K,cS as Q,aP as X,j as t,F as z,ad as Y,aQ as Z,y as i,o as a,A as ee,O as _,H as te,h1 as ae,am as le,d3 as O,id as ne,cX as U,cV as oe,u as l,b8 as re,db as ie,d9 as de,dn as se,P as ce,eN as me,dE as he,bl as be,h as V}from"./index-BqKtrbrP.js";import{b as j,n as o,i as ge}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const w={width:new i(343,580,726),height:new i(l[6],l[6]),controlHeight:new i(l[6],l[6]),paddingTopBottom:new i(l[2],l[2]),marginRight:new i(l[2],l[2]),labelMarginLeft:new i(l[3],l[4]),labelMarginRight:new i(l[3],l[4]),labelMarginTop:new i(l[2],l[2])},ue={infoLabel:new _("smallRegular","standardRegular")},pe=z.getLocalizedStrings();function we({label:e,textField:n,additionalInfo:h,checkBoxFields:m,fetchState:g,style:v,toolTip:M,isOptionalLabel:y}){const s=F(),{formState:{errors:d}}=O(),$=ie(d,n.name);return t.jsxs(xe,{windowSize:s,style:v,isDisabled:n.isDisabled!=null,isError:$,children:[t.jsx(de,{isDisabled:n.isDisabled,label:e.label,style:{marginLeft:w.labelMarginLeft.value(s),marginRight:w.labelMarginRight.value(s),marginTop:w.labelMarginTop.value(s),width:e.width??"auto"},showTooltip:M!=null,tooltipTitle:M?.title,toolTipWidth:M?.width,isOptional:y}),t.jsxs(fe,{labelWidth:e.width,children:[t.jsx(se,{...n,style:{...n.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:w.controlHeight.value(s),cursor:"inherit"}}),g?.fetchState==="In-Progress"?t.jsx($e,{children:t.jsx(ce,{size:"Standard",start:!0})}):t.jsxs(Se,{children:[t.jsxs(Me,{windowSize:s,isRecommendationVisible:m.length>0,isError:$,children:[h.icon,h.label]}),m.length>0?m.map((u,p)=>t.jsxs(t.Fragment,{children:[t.jsx(me,{isHighlighted:!0,label:{label:u.label},checkBoxField:u.field,defaultChecked:u.field.defaultChecked,isDisabled:u.field.isDisabled!=null},he()),p<m.length-1?t.jsx(ve,{children:pe.common.texts.or}):null]})):null]})]})]})}const xe=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as l,j as t,h as r,o as a,am as s,y as m,b as o}from"./index-
|
|
1
|
+
import{q as l,j as t,h as r,o as a,am as s,y as m,b as o}from"./index-BqKtrbrP.js";import{n as i,b as h}from"./vendor-Bs1fkIUX.js";const v=e=>h.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),h.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#3E4043"})),c=e=>h.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),h.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#E9ECF0"})),d={chartMinHeight:new m(288,360)},z=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,o as t,b as s}from"./index-
|
|
1
|
+
import{j as e,o as t,b as s}from"./index-BqKtrbrP.js";import{n as i}from"./vendor-Bs1fkIUX.js";import{r as n,o}from"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const r=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
padding: ${t.sp8} ${t.sp0} ${t.sp8} ${t.sp0};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as o,F as i,cd as s,_ as l,am as c,h as a,an as d}from"./index-
|
|
1
|
+
import{j as o,F as i,cd as s,_ as l,am as c,h as a,an as d}from"./index-BqKtrbrP.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{i as h}from"./ZeniCopyright-DbQka65R-7ZVyc7Yg.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const x=t.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 100vh;
|
|
4
4
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,gh as ne,o as i,bZ as se,F as I,aS as re,b as J,q as Q,aa as le,cS as ae,l as P,bF as ce,ad as de,ab as S,aQ as pe,y as T,fO as me,gi as ue,eZ as he,gj as ge,gk as fe,a$ as xe,u as w,b8 as W,ai as Y,am as K,an as $e}from"./index-
|
|
1
|
+
import{j as t,gh as ne,o as i,bZ as se,F as I,aS as re,b as J,q as Q,aa as le,cS as ae,l as P,bF as ce,ad as de,ab as S,aQ as pe,y as T,fO as me,gi as ue,eZ as he,gj as ge,gk as fe,a$ as xe,u as w,b8 as W,ai as Y,am as K,an as $e}from"./index-BqKtrbrP.js";import{n as o,b as E}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const{common:be}=I.getLocalizedStrings(),B={notePadding:new T(w[3],w[4]),noteGap:new T(w[0],6)},R=(e,n)=>`${e}.${n}`,ye=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
row-gap: ${i.sp3};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as t,u as e}from"./index-
|
|
1
|
+
import{C as t,u as e}from"./index-BqKtrbrP.js";const r=e[5],o=59,i=e[5],l=t.standardRegular.lineHeightValue,n=1,u=1e3;export{l as A,i as E,n as I,u as L,o as a,r as t};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as Q,q as v,aa as Jt,F as P,cS as qt,j as t,bF as Zt,l as g,ad as Xt,aQ as Qt,o as i,ab as we,h5 as Kt,y as R,i5 as ei,C as Ne,P as ti,az as et,cA as tt,b3 as it,dG as ot,cH as st,jV as at,u as y,n as ii,jW as oi,dE as ce,a_ as si,O as ai,H as rt,h as S,ai as ri,b_ as z,d3 as he,gi as ue,jX as pe,ax as nt,a9 as lt,dN as U,fE as dt,gr as ni,am as K,ik as li,an as H,fH as di,aU as ye,b9 as fe,jY as ci,bX as ct,jZ as Ie,bz as hi}from"./index-
|
|
1
|
+
import{b as Q,q as v,aa as Jt,F as P,cS as qt,j as t,bF as Zt,l as g,ad as Xt,aQ as Qt,o as i,ab as we,h5 as Kt,y as R,i5 as ei,C as Ne,P as ti,az as et,cA as tt,b3 as it,dG as ot,cH as st,jV as at,u as y,n as ii,jW as oi,dE as ce,a_ as si,O as ai,H as rt,h as S,ai as ri,b_ as z,d3 as he,gi as ue,jX as pe,ax as nt,a9 as lt,dN as U,fE as dt,gr as ni,am as K,ik as li,an as H,fH as di,aU as ye,b9 as fe,jY as ci,bX as ct,jZ as Ie,bz as hi}from"./index-BqKtrbrP.js";import{b as x,n as r,i as A}from"./vendor-Bs1fkIUX.js";import{k as ui}from"./SubTabSwitcher-Ct1DqfgC-Bibz1hGv.js";import{d as ht}from"./useLongPress-GCK2COYQ-B0RUPzZV.js";import{A as ut,t as pt,a as ft,E as mt,L as gt,I as xt}from"./NotificationsListConfig-DPutUxp3-B-f9mabS.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";function pi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:h}){const u=v(),p=Q(),m=x.useCallback(b=>{d(b.id)},[d]),f=x.useCallback(b=>{h(b.id)},[h]);return e.length===0?null:t.jsxs(fi,{windowSize:u,children:[t.jsx(ei,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${p.colors.grey3}`},onTabChange:m}),t.jsx(ui,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:f})]})}const fi=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
package/dist/assets/{OpExByVendorPage-BeO7iMry-DDqW-8aU.js → OpExByVendorPage-BeO7iMry-ChO0CL0F.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as G,i4 as ye,F as B,b as q,cr as be,az as _e,j as t,aM as Se,bZ as ke,i3 as we,bH as ve,bF as Be,i5 as Pe,i6 as Oe,o as u,aS as je,P as $e,y as L,b3 as le,aC as ie,aU as Te,u as P,bK as De,ct as Ne,cu as Ee,cv as Ie,h as a,am as ce,bW as Ae,bR as Me,bh as Fe,C as Z,bg as Le,aX as Re,bS as Ve,bU as ze,l as We}from"./index-
|
|
1
|
+
import{q as G,i4 as ye,F as B,b as q,cr as be,az as _e,j as t,aM as Se,bZ as ke,i3 as we,bH as ve,bF as Be,i5 as Pe,i6 as Oe,o as u,aS as je,P as $e,y as L,b3 as le,aC as ie,aU as Te,u as P,bK as De,ct as Ne,cu as Ee,cv as Ie,h as a,am as ce,bW as Ae,bR as Me,bh as Fe,C as Z,bg as Le,aX as Re,bS as Ve,bU as ze,l as We}from"./index-BqKtrbrP.js";import{b as y,n as m,w as Ke}from"./vendor-Bs1fkIUX.js";import{p as Ye,d as He,y as H,b as de,u as ee}from"./chartTypes-D1j_l919-8QXMvJet.js";import{V as Ge}from"./toChartData-DZPFiNsp-WPnYC-7p.js";import{m as R}from"./analyticsHelper-DgJDMdal-DIavhrOw.js";import{p as qe}from"./TimeRangeSwitcher-CiOSsTU--CLsRcOaL.js";import{M as Ue}from"./TimeframeSwitcherWithToggle-DXbaoDe6-yq3iZa4P.js";import{C as Xe}from"./NoDataChart-BzSCComh-TCsmvHP1.js";import{d as Je}from"./NoDataTable-CGWMbvak-D6mzGtG9.js";import{H as Qe,N as oe}from"./detailCommon-DXjUFoA1-D9_LRSFU.js";import{n as V}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{I as Ze,R as U}from"./CollapsableReportTable-BLDh7Osv-DfaYwLVz.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-DgOZfixy-Cw5iWKMh.js";import{d as re}from"./mapLoadingInProgressToTreeNode-BC5IH44--JB4URfny.js";import{l as eo}from"./mapSpacerToTreeNode-sdzfy8cu-ofjZ3Daw.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./TimeframeSwitcher-D1k1Zf_U-DTp5-FTG.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";import"./AccountRow-BpoPw0Cq-6rjrYRQx.js";const oo=m.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,ro=m.div`
|
|
4
4
|
flex: display;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as i,j as r}from"./index-
|
|
1
|
+
import{b as i,j as r}from"./index-BqKtrbrP.js";import{n}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const p=n.div`
|
|
2
2
|
display: ${({isOpen:o})=>o?"block":"none"};
|
|
3
3
|
position: fixed;
|
|
4
4
|
top: 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as o,w as F,b as T,q as v,aM as M,bF as re,F as c,n as ie,P as ae,y as U,C as ce,o as s,aC as le,aU as de,_ as ge,cQ as me,bC as pe,u as C,l as D,bK as he,cR as ue,aS as fe,aT as xe,b9 as we}from"./index-
|
|
1
|
+
import{j as o,w as F,b as T,q as v,aM as M,bF as re,F as c,n as ie,P as ae,y as U,C as ce,o as s,aC as le,aU as de,_ as ge,cQ as me,bC as pe,u as C,l as D,bK as he,cR as ue,aS as fe,aT as xe,b9 as we}from"./index-BqKtrbrP.js";import{n as r,b as A}from"./vendor-Bs1fkIUX.js";import{R as Se}from"./NavBarWithPicker-DcELUvq0-C5N2yjZ3.js";import{m as je}from"./analyticsHelper-DgJDMdal-DIavhrOw.js";import{M as $e}from"./TimeframeSwitcherWithToggle-DXbaoDe6-yq3iZa4P.js";import{I as be,a as Ce}from"./CollapsableReportTable-BLDh7Osv-DfaYwLVz.js";import{M as E}from"./usp-line-BBd1wKwW-ZlUrfnG1.js";import{T as Pe,I as ye,L as ke}from"./mapSectionWithAcOnlyToTreeNode-CUXssP6r-DZ4GfGRq.js";import{s as Q}from"./mapTimeframeBalancesToTreeNode-BROieqal-BJxVRna_.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./TimeframeSwitcher-D1k1Zf_U-DTp5-FTG.js";import"./AccountRow-BpoPw0Cq-6rjrYRQx.js";const Y="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",H="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",ze=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as pe,F as le,aP as De,C as te,o as u,h as H,q as ue,j as i,c4 as Me,b as Re,d3 as Fe,aU as ae,y as oe,bA as Ve,c7 as qe,am as ke,aQ as He,af as me,u as Ke,g$ as Je,an as Ge,O as Ye}from"./index-
|
|
1
|
+
import{a as pe,F as le,aP as De,C as te,o as u,h as H,q as ue,j as i,c4 as Me,b as Re,d3 as Fe,aU as ae,y as oe,bA as Ve,c7 as qe,am as ke,aQ as He,af as me,u as Ke,g$ as Je,an as Ge,O as Ye}from"./index-BqKtrbrP.js";import{w as l,b as O,n as y}from"./vendor-Bs1fkIUX.js";import{P as p}from"./mui-Ty75qFQF.js";import{O as Ze}from"./SetUpAccountSection-IgQjKWEr-Bxp6vD4c.js";function fe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function ge(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?fe(Object(r),!0).forEach(function(n){Ae(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fe(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function re(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?re=function(e){return typeof e}:re=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},re(t)}function Ae(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $e(t,e){return Xe(t)||Qe(t,e)||et(t,e)||tt()}function Xe(t){if(Array.isArray(t))return t}function Qe(t,e){var r=t&&(typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"]);if(r!=null){var n=[],a=!0,s=!1,c,m;try{for(r=r.call(t);!(a=(c=r.next()).done)&&(n.push(c.value),!(e&&n.length===e));a=!0);}catch(o){s=!0,m=o}finally{try{!a&&r.return!=null&&r.return()}finally{if(s)throw m}}return n}}function et(t,e){if(t){if(typeof t=="string")return he(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return he(t,e)}}function he(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function tt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var R=function(e,r,n){var a=!!n,s=l.useRef(n);l.useEffect(function(){s.current=n},[n]),l.useEffect(function(){if(!a||!e)return function(){};var c=function(){s.current&&s.current.apply(s,arguments)};return e.on(r,c),function(){e.off(r,c)}},[a,r,e,s])},se=function(e){var r=l.useRef(e);return l.useEffect(function(){r.current=e},[e]),r.current},K=function(e){return e!==null&&re(e)==="object"},rt=function(e){return K(e)&&typeof e.then=="function"},nt=function(e){return K(e)&&typeof e.elements=="function"&&typeof e.createToken=="function"&&typeof e.createPaymentMethod=="function"&&typeof e.confirmCardPayment=="function"},ve="[object Object]",at=function t(e,r){if(!K(e)||!K(r))return e===r;var n=Array.isArray(e),a=Array.isArray(r);if(n!==a)return!1;var s=Object.prototype.toString.call(e)===ve,c=Object.prototype.toString.call(r)===ve;if(s!==c)return!1;if(!s&&!n)return e===r;var m=Object.keys(e),o=Object.keys(r);if(m.length!==o.length)return!1;for(var h={},f=0;f<m.length;f+=1)h[m[f]]=!0;for(var x=0;x<o.length;x+=1)h[o[x]]=!0;var g=Object.keys(h);if(g.length!==m.length)return!1;var P=e,w=r,S=function(A){return t(P[A],w[A])};return g.every(S)},Ie=function(e,r,n){return K(e)?Object.keys(e).reduce(function(a,s){var c=!K(r)||!at(e[s],r[s]);return n.includes(s)?(c&&console.warn("Unsupported prop change: options.".concat(s," is not a mutable property.")),a):c?ge(ge({},a||{}),{},Ae({},s,e[s])):a},null):null},Oe="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",ye=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe;if(e===null||nt(e))return e;throw new Error(r)},ot=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe;if(rt(e))return{tag:"async",stripePromise:Promise.resolve(e).then(function(a){return ye(a,r)})};var n=ye(e,r);return n===null?{tag:"empty"}:{tag:"sync",stripe:n}},st=function(e){!e||!e._registerWrapper||!e.registerAppInfo||(e._registerWrapper({name:"react-stripe-js",version:"2.7.3"}),e.registerAppInfo({name:"react-stripe-js",version:"2.7.3",url:"https://stripe.com/docs/stripe-js/react"}))},ne=l.createContext(null);ne.displayName="ElementsContext";var Ue=function(e,r){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(r," in an <Elements> provider."));return e},ze=function(e){var r=e.stripe,n=e.options,a=e.children,s=l.useMemo(function(){return ot(r)},[r]),c=l.useState(function(){return{stripe:s.tag==="sync"?s.stripe:null,elements:s.tag==="sync"?s.stripe.elements(n):null}}),m=$e(c,2),o=m[0],h=m[1];l.useEffect(function(){var g=!0,P=function(S){h(function(j){return j.stripe?j:{stripe:S,elements:S.elements(n)}})};return s.tag==="async"&&!o.stripe?s.stripePromise.then(function(w){w&&g&&P(w)}):s.tag==="sync"&&!o.stripe&&P(s.stripe),function(){g=!1}},[s,o,n]);var f=se(r);l.useEffect(function(){f!==null&&f!==r&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[f,r]);var x=se(n);return l.useEffect(function(){if(o.elements){var g=Ie(n,x,["clientSecret","fonts"]);g&&o.elements.update(g)}},[n,x,o.elements]),l.useEffect(function(){st(o.stripe)},[o.stripe]),l.createElement(ne.Provider,{value:o},a)};ze.propTypes={stripe:p.any,options:p.object};var it=function(e){var r=l.useContext(ne);return Ue(r,e)},ct=function(){var e=it("calls useElements()"),r=e.elements;return r};p.func.isRequired;var _e=l.createContext(null);_e.displayName="CustomCheckoutSdkContext";var lt=function(e,r){if(!e)throw new Error("Could not find CustomCheckoutProvider context; You need to wrap the part of your app that ".concat(r," in an <CustomCheckoutProvider> provider."));return e},ut=l.createContext(null);ut.displayName="CustomCheckoutContext";p.any,p.shape({clientSecret:p.string.isRequired,elementsOptions:p.object}).isRequired;var ie=function(e){var r=l.useContext(_e),n=l.useContext(ne);if(r&&n)throw new Error("You cannot wrap the part of your app that ".concat(e," in both <CustomCheckoutProvider> and <Elements> providers."));return r?lt(r,e):Ue(n,e)},dt=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},C=function(e,r){var n="".concat(dt(e),"Element"),a=function(o){var h=o.id,f=o.className,x=o.options,g=x===void 0?{}:x,P=o.onBlur,w=o.onFocus,S=o.onReady,j=o.onChange,A=o.onEscape,M=o.onClick,F=o.onLoadError,V=o.onLoaderStart,W=o.onNetworksChange,$=o.onConfirm,J=o.onCancel,B=o.onShippingAddressChange,D=o.onShippingRateChange,U=ie("mounts <".concat(n,">")),_="elements"in U?U.elements:null,E="customCheckoutSdk"in U?U.customCheckoutSdk:null,z=l.useState(null),T=$e(z,2),v=T[0],N=T[1],L=l.useRef(null),q=l.useRef(null);R(v,"blur",P),R(v,"focus",w),R(v,"escape",A),R(v,"click",M),R(v,"loaderror",F),R(v,"loaderstart",V),R(v,"networkschange",W),R(v,"confirm",$),R(v,"cancel",J),R(v,"shippingaddresschange",B),R(v,"shippingratechange",D),R(v,"change",j);var G;S&&(e==="expressCheckout"?G=S:G=function(){S(v)}),R(v,"ready",G),l.useLayoutEffect(function(){if(L.current===null&&q.current!==null&&(_||E)){var I=null;E?I=E.createElement(e,g):_&&(I=_.create(e,g)),L.current=I,N(I),I&&I.mount(q.current)}},[_,E,g]);var de=se(g);return l.useEffect(function(){if(L.current){var I=Ie(g,de,["paymentRequest"]);I&&L.current.update(I)}},[g,de]),l.useLayoutEffect(function(){return function(){if(L.current&&typeof L.current.destroy=="function")try{L.current.destroy(),L.current=null}catch{}}},[]),l.createElement("div",{id:h,className:f,ref:q})},s=function(o){ie("mounts <".concat(n,">"));var h=o.id,f=o.className;return l.createElement("div",{id:h,className:f})},c=r?s:a;return c.propTypes={id:p.string,className:p.string,onChange:p.func,onBlur:p.func,onFocus:p.func,onReady:p.func,onEscape:p.func,onClick:p.func,onLoadError:p.func,onLoaderStart:p.func,onNetworksChange:p.func,onConfirm:p.func,onCancel:p.func,onShippingAddressChange:p.func,onShippingRateChange:p.func,options:p.object},c.displayName=n,c.__elementType=e,c},b=typeof window>"u",pt=l.createContext(null);pt.displayName="EmbeddedCheckoutProviderContext";var mt=function(){var e=ie("calls useStripe()"),r=e.stripe;return r};C("auBankAccount",b);C("card",b);var Se=C("cardNumber",b),Ce=C("cardExpiry",b),be=C("cardCvc",b);C("fpxBank",b);C("iban",b);C("idealBank",b);C("p24Bank",b);C("epsBank",b);C("payment",b);C("expressCheckout",b);C("paymentRequestButton",b);C("linkAuthentication",b);C("address",b);C("shippingAddress",b);C("paymentMethodMessaging",b);C("affirmMessage",b);C("afterpayClearpayMessage",b);var Te="https://js.stripe.com/v3",ft=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/;var gt=function(){for(var e=document.querySelectorAll('script[src^="'.concat(Te,'"]')),r=0;r<e.length;r++){var n=e[r];if(ft.test(n.src))return n}return null},xe=function(e){var r="",n=document.createElement("script");n.src="".concat(Te).concat(r);var a=document.head||document.body;if(!a)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return a.appendChild(n),n},ht=function(e,r){!e||!e._registerWrapper||e._registerWrapper({name:"stripe-js",version:"4.3.0",startTime:r})},Y=null,Q=null,ee=null,vt=function(e){return function(){e(new Error("Failed to load Stripe.js"))}},yt=function(e,r){return function(){window.Stripe?e(window.Stripe):r(new Error("Stripe.js not available"))}},St=function(e){return Y!==null?Y:(Y=new Promise(function(r,n){if(typeof window>"u"||typeof document>"u"){r(null);return}if(window.Stripe){r(window.Stripe);return}try{var a=gt();if(!(a&&e)){if(!a)a=xe(e);else if(a&&ee!==null&&Q!==null){var s;a.removeEventListener("load",ee),a.removeEventListener("error",Q),(s=a.parentNode)===null||s===void 0||s.removeChild(a),a=xe(e)}}ee=yt(r,n),Q=vt(n),a.addEventListener("load",ee),a.addEventListener("error",Q)}catch(c){n(c);return}}),Y.catch(function(r){return Y=null,Promise.reject(r)}))},Ct=function(e,r,n){if(e===null)return null;var a=e.apply(void 0,r);return ht(a,n),a},Z,Ne=!1,We=function(){return Z||(Z=St(null).catch(function(e){return Z=null,Promise.reject(e)}),Z)};Promise.resolve().then(function(){return We()}).catch(function(t){Ne||console.warn(t)});var bt=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];Ne=!0;var a=Date.now();return We().then(function(s){return Ct(s,r,a)})};const xt={containerHeight:new oe(656,720)},wt=y.div`
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as $e,q as I,F as y,j as t,aM as a,bF as le,bZ as Ne,o as s,cz as De,cA as Oe,P as E,aS as Y,cB as we,n as Le,C as be,cC as _e,aP as Ae,cD as Ve,aq as Me,cE as We,cF as Be,b3 as Fe,aC as F,cG as He,y as $,cH as Ee,cI as je,u as b,l as A,cJ as ee,cs as N,aa as Ue,ad as Ke,cK as Ze,cL as qe,aJ as Je,ai as D,cM as Ge,am as O,an as te,h as V,cN as Qe,cw as Se,b9 as ie,cO as ke,bX as Xe,cP as Ye}from"./index-
|
|
1
|
+
import{b as $e,q as I,F as y,j as t,aM as a,bF as le,bZ as Ne,o as s,cz as De,cA as Oe,P as E,aS as Y,cB as we,n as Le,C as be,cC as _e,aP as Ae,cD as Ve,aq as Me,cE as We,cF as Be,b3 as Fe,aC as F,cG as He,y as $,cH as Ee,cI as je,u as b,l as A,cJ as ee,cs as N,aa as Ue,ad as Ke,cK as Ze,cL as qe,aJ as Je,ai as D,cM as Ge,am as O,an as te,h as V,cN as Qe,cw as Se,b9 as ie,cO as ke,bX as Xe,cP as Ye}from"./index-BqKtrbrP.js";import{w as ce,b as v,n as i}from"./vendor-Bs1fkIUX.js";import{P as Ie}from"./Menu-De_gaVnj-BIvr4lYg.js";import{T as Ce}from"./RoleWithToolTip-MwI_BmVq-Ds1A2gyK.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const T=y.getLocalizedStrings().peoplePage.header,S=[{key:"name",value:T.name,sortOrder:"ascending",width:new $(32,26,26,30,32)},{key:"role",value:T.role,sortOrder:"ascending",width:new $(18,17,17,21,19)},{key:"manager",value:T.manager,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"department",value:T.department,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"lastSeen",value:T.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],H=[{key:"name",value:T.name,sortOrder:"ascending",width:new $(32,26,26,32,33)},{key:"role",value:T.role,sortOrder:"ascending",width:new $(58,57,57,57,58)},{key:"lastSeen",value:T.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],et=58;function tt({userNameSticky:e,sortConfig:r,onColumnSortConfigChanged:l,mode:d}){const m=I(),[p,x]=v.useState(Je(d==="off"?S:H));v.useEffect(()=>{const n=[...p];for(const o of n)o.key===r.sortKey?o.sortOrder=r.sortOrder:o.sortOrder="ascending";x(n)},[r.sortKey,r.sortOrder]);const h=(n,o)=>{let u=o;r.sortKey===n&&(u=o==="ascending"?"descending":"ascending"),l?.(n,u)};return t.jsx(ot,{height:et,"data-testid":a("people-list-header-row"),children:p.map(n=>t.jsxs(rt,{userNameSticky:!!e&&n.key==="name",sortDataValue:r.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:m,children:[t.jsxs(at,{"data-testid":a("people-list-header",n.key),onClick:()=>h(n.key,n.sortOrder),children:[t.jsx(D,{children:n.value}),t.jsx(st,{sortDataValue:r.sortKey,headerdata:n,children:t.jsx(Ge,{width:12,height:12})})]}),t.jsx(nt,{isVisible:r.sortKey===n.key&&n.key!=="name",children:t.jsx(lt,{"data-testid":a("people-list-header-sort-cancel",n.key),onClick:()=>h("name","ascending")})})]},n.key))})}const it=ce.memo(tt),st=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as U,aC as S,j as i,c5 as Q,F as V,aM as J,y as u,aQ as K,o as n,A as X,O as Z,H as _,am as ee,u as l,C as ie,b6 as te,an as W,h as v,ai as ne,cw as oe}from"./index-
|
|
1
|
+
import{q as U,aC as S,j as i,c5 as Q,F as V,aM as J,y as u,aQ as K,o as n,A as X,O as Z,H as _,am as ee,u as l,C as ie,b6 as te,an as W,h as v,ai as ne,cw as oe}from"./index-BqKtrbrP.js";import{b as k,n as t}from"./vendor-Bs1fkIUX.js";import{q as re}from"./PortfolioDetails-BJBNPfcI-BtgJ2hbs.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./treasuryColorHelper-D5AxfiPH-CHzWVnh9.js";const{spendManagement:{treasury:{portfolioAllocation:x}},common:m}=V.getLocalizedStrings(),d={titleWidth:new u(343,580,726,826),cardBorderRadius:l[2],cardPadding:new u(l[3],l[4]),sliderWidth:new u(143,177),sliderContainerGap:new u(l[5],l[3]),navBarContainerPaddingYaxis:new u(10,l[3]),containerPaddingLeft:new u(l[3],l[6],l[8]),containerPaddingRight:new u(l[3],l[6],l[8]),riskLevelInfoPaddingRight:new u(l[0],l[3])},le={stepTitle:new Z("h6Regular","h5Regular")},Me=({onBackClick:e,onNextClick:g,onUpdateFundAllocation:h,treasurySetupView:E,isReadOnly:c,isEditMode:p,isOnSetup:$=!1,skipTransferStep:q})=>{const r=U(),[M,F]=k.useState(!1),{fundsData:G,fundAllocationOptions:s,fundAllocationLocalData:a,currentAllocation:w,portfolioAllocationUpdateStatus:N}=E;k.useEffect(()=>{if(p&&w!==null){const o=!S(a.allocation,w);F(o)}},[p,w,a]);const y=o=>{const f=s.find(H=>H.optionIndex===o);f&&h(f)},b=()=>{y(s.findIndex(o=>o.riskScore===0||o.riskLevel==="Conservative"))},Y=()=>{let o;w!=null&&(o=s.find(f=>S(f.allocation,w))),o!=null?h(o):b()},j=()=>{p&&Y(),e()};return i.jsxs(de,{children:[i.jsxs(ce,{windowSize:r,children:[i.jsx(pe,{windowSize:r,children:i.jsx(Q,{title:m.navBar.back,enterTouchDelay:600,placement:"bottom",children:i.jsx(xe,{"data-testid":J("nav-bar-back-portfolio-allocation"),onClick:j})})}),i.jsxs(he,{windowSize:r,children:[i.jsxs(ue,{windowSize:r,children:[i.jsx(me,{windowSize:r,children:se(c,$,p)}),!c&&!p&&i.jsx(ge,{children:i.jsxs(we,{children:[i.jsx(fe,{}),i.jsx(z,{}),q!==!0&&i.jsx(z,{})]})})]}),i.jsx($e,{isReadOnly:c,children:ae(c,$,p)}),i.jsx(ye,{children:i.jsxs(ve,{windowSize:r,children:[i.jsx(be,{children:i.jsx(re,{isInReview:!1,isSetup:!0,fundDetails:G,allocation:a,page:$?"setup portfolio":"edit portfolio"})}),i.jsxs(je,{windowSize:r,children:[i.jsx(Se,{children:i.jsx(ke,{onClick:b,isRecommended:c||a.riskScore===0||a.riskLevel==="Conservative",children:x.resetButton})}),r==="small"?i.jsxs(ze,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(P,{windowSize:r,children:[i.jsx(O,{children:a.riskScore}),i.jsx(L,{children:m.strings.slash}),i.jsx(C,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(B,{children:[i.jsx(I,{type:"range",min:"0",max:s.length-1,step:"1",value:a.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(A,{style:{width:`${s.length>1?a.optionIndex/(s.length-1)*(d.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(Re,{children:[i.jsx(T,{children:x.riskLevelLabel}),i.jsx(D,{children:a.riskLevel})]})]}):i.jsxs(i.Fragment,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(P,{windowSize:r,children:[i.jsx(O,{children:a.riskScore}),i.jsx(L,{children:m.strings.slash}),i.jsx(C,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(B,{children:[i.jsx(I,{type:"range",min:"0",max:s.length-1,step:"1",value:a.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(A,{style:{width:`${s.length>1?a.optionIndex/(s.length-1)*(d.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(Pe,{windowSize:r,children:[i.jsx(T,{children:x.riskLevelLabel}),i.jsx(D,{children:a.riskLevel})]})]})]})]})})]})]}),c?null:i.jsx(K,{style:{zIndex:4,paddingTop:n.sp2,paddingBottom:n.sp2},showCancel:!0,cancelBtn:{label:p?m.cancel:m.navBar.back,onClick:j},primaryBtn:{label:p?m.confirm:m.next,onClick:g,isLoading:p&&N.fetchState==="In-Progress",isDisabled:p&&!M}})]})};function se(e,g,h){return e||g&&h?x.title:h?x.editTitle:x.stepTitle}function ae(e,g,h){return e||g&&h?x.subtextReadOnly:h?x.subtextEdit:x.subtextSetup}const de=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
height: 100%;
|
package/dist/assets/{PortfolioDetails-BJBNPfcI-DsK_BUc_.js → PortfolioDetails-BJBNPfcI-BtgJ2hbs.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,F as Q,o as n,jh as V,am as _,a9 as X,b as G,q as H,aN as B,y as L,c5 as f,h as I,cw as J,ai as N,dM as Z,a$ as ee,b6 as ie,bP as se,bX as ne,an as le,dr as oe,u as te}from"./index-
|
|
1
|
+
import{j as e,F as Q,o as n,jh as V,am as _,a9 as X,b as G,q as H,aN as B,y as L,c5 as f,h as I,cw as J,ai as N,dM as Z,a$ as ee,b6 as ie,bP as se,bX as ne,an as le,dr as oe,u as te}from"./index-BqKtrbrP.js";import{n as s,b as re}from"./vendor-Bs1fkIUX.js";import{l as ae}from"./treasuryColorHelper-D5AxfiPH-CHzWVnh9.js";const{common:r,spendManagement:{treasury:o},dateFormat:de}=Q.getLocalizedStrings(),w={portfolioYieldMarginTop:new L(-4,te[0]),sliderWidth:new L(143,177)},Le=({isInReview:i,isSetup:l,fundDetails:m,allocation:d,amount:h,fundAllocations:v,page:j})=>{const a=ce(m);return e.jsxs(he,{children:[!l&&e.jsx(me,{style:{alignSelf:"flex-start",padding:`${n.sp2} ${n.sp0}`},children:`${o.portfolioAllocation.title}`}),a.map(($,x)=>{const A=v?.find(g=>g.fundCode===m[x].fundCode)?.amount;return e.jsx(pe,{portfolio:$,fund:m[x],fundIndex:x,allocationPercentage:d.allocation?.[m[x].fundCode]||0,isInReview:i,isSetup:l,isLast:x===a.length-1,amount:h,currentAllocationAmount:A,page:j},m[x]?.fundCode||x)})]})},ce=i=>i.map(l=>[{label:o.promoPage.liquidity,value:l.liquidityTimeline||r.strings.hyphen},{label:o.promoPage.fundSize,value:V(l.fundSize,l.currencyCode)},{label:o.promoPage.maturity,value:`${l.maturity} ${r.timeStrings.days}`},{label:o.promoPage.expenseRatio,value:`${l.expenseRatio}${o.promoPage.expenseRatioSuffix}`},{label:o.promoPage.riskRating,value:l.riskRating||r.strings.hyphen},{label:o.promoPage.composition,value:Array.isArray(l.compositions)&&l.compositions.length>0?`${l.compositions[0].investedIn} ${l.compositions[0].percentage}${r.strings.percentage}`:r.strings.hyphen,tag:Array.isArray(l.compositions)&&l.compositions.length>1?`+${l.compositions.length-1}`:void 0,compositions:l.compositions??[]}]),pe=({portfolio:i,fund:l,fundIndex:m,allocationPercentage:d,isInReview:h,isSetup:v,isLast:j,amount:a,currentAllocationAmount:$,page:x})=>{const A=X().analytics,g=G(),t=H(),b=$?$.amount:a!=null&&a.amount>0&&d>0?a.amount*d/100:void 0,[p,K]=re.useState(!1),u=ae(m,g),S=()=>{p||A.trackTreasuryProspectusClick(l.fundName,l.fundCode,x),K(c=>!c)};return e.jsxs(e.Fragment,{children:[e.jsx(xe,{children:e.jsxs(ue,{windowSize:t,children:[e.jsxs(ge,{windowSize:t,children:[e.jsxs(fe,{windowSize:t,children:[e.jsxs(ye,{isInReview:h,windowSize:t,children:[e.jsx(we,{children:l.fundCode}),e.jsx(ve,{color:u.fundNameColor,children:`${l.fundCompanyName} ${l.fundName}`})]}),t!=="small"&&e.jsxs(z,{onClick:S,children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(T,{}):e.jsx(P,{})]})]}),t!=="small"&&e.jsx(e.Fragment,{children:h?e.jsxs(F,{style:{alignItems:"flex-start"},children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsx(O,{children:b!=null?B("0,0.[00]",{amount:b,currencyCode:a?.currencyCode!=null&&a.currencyCode!==""?a.currencyCode:"USD",currencySymbol:a?.currencySymbol!=null&&a.currencySymbol!==""?a.currencySymbol:"$"}):r.strings.empty})]}):e.jsxs($e,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(R,{children:[e.jsx(M,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(W,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]})}),t!=="small"&&e.jsxs(F,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{minWidth:"496px",padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(Y,{})})]}),e.jsxs(C,{windowSize:t,style:{marginRight:n.sp3},children:[l.yield,r.strings.percentage]})]})]}),t==="small"&&e.jsx(Te,{children:v?e.jsxs(Ae,{children:[e.jsxs(Re,{children:[e.jsxs(We,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(R,{children:[e.jsx(M,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(W,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]}),e.jsxs(Me,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(Y,{})})]}),e.jsxs(C,{windowSize:t,children:[l.yield,r.strings.percentage]})]})]}),e.jsxs(z,{onClick:S,style:{marginBottom:n.sp2},children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(T,{}):e.jsx(P,{})]})]}):h?e.jsxs(Ye,{children:[e.jsxs(U,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsx(O,{children:b!=null?B("0,0.[00]",{amount:b,currencyCode:a?.currencyCode!=null&&a.currencyCode!==""?a.currencyCode:"USD",currencySymbol:a?.currencySymbol!=null&&a.currencySymbol!==""?a.currencySymbol:"$"}):r.strings.empty}),e.jsxs(z,{onClick:S,style:{margin:`${n.sp2} ${n.sp0}`,...j?{marginBottom:n.sp0}:{}},children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(T,{}):e.jsx(P,{})]})]}),e.jsxs(E,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(Y,{})})]}),e.jsxs(C,{windowSize:t,children:[l.yield,r.strings.percentage]})]})]}):e.jsxs(Ie,{children:[e.jsxs(U,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(R,{children:[e.jsx(M,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(W,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]}),e.jsxs(z,{onClick:S,children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(T,{}):e.jsx(P,{})]})]}),e.jsxs(E,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(Y,{})})]}),e.jsxs(C,{windowSize:t,children:[l.yield,r.strings.percentage]})]})]})})]},i[0].label)}),p&&e.jsxs(Se,{children:[e.jsx(k,{children:l.description}),e.jsx(be,{style:{marginLeft:n.sp3},children:i.map(c=>e.jsxs(Ce,{windowSize:t,children:[e.jsx(k,{children:r.strings.dividerDot}),e.jsx(k,{style:{minWidth:"140px"},children:c.label}),e.jsxs(k,{style:{color:c.label===o.promoPage.fundSize?u.fundNameColor:g.colors.primary,borderBottom:`1px solid ${g.colors.grey3}`,width:"100%",padding:`${n.sp1} ${n.sp0}`,display:"flex",flexDirection:"row",alignItems:"center",gap:n.sp2},children:[c.value,!!c.tag&&c.label===o.promoPage.composition&&e.jsx(f,{variant:"list-description",data:{title:r.strings.empty,items:Array.isArray(c.compositions)&&c.compositions.length>0?c.compositions.map(q=>({text:`${r.strings.dividerDot} ${q.investedIn}`,amount:`${q.percentage}${r.strings.percentage}`})):[]},placement:"bottom-end",style:{minWidth:"312px",padding:`12px ${n.sp3}`},children:e.jsx(De,{children:c.tag})})]})]},c.label))}),e.jsxs(Pe,{onClick:()=>window.open(l.url,"_blank"),children:[e.jsx(je,{children:`${o.promoPage.asOf} ${l.asOfDate.format(de.visual.MMMDCommaYYYYformat)}`}),e.jsx(ze,{})]})]}),(!j||v)&&e.jsx(ke,{style:{width:"100%",marginBottom:n.sp3}})]})},xe=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
gap: ${n.sp2};
|
package/dist/assets/{ProductsCarousel-Ctx00P5D-D9FkIJxu.js → ProductsCarousel-Ctx00P5D-BTEQtLvG.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F as T,j as t,a9 as B,o as l,cg as U,a$ as N,u as q,dq as G,ar as H,am as _,dr as J,h as y}from"./index-
|
|
1
|
+
import{F as T,j as t,a9 as B,o as l,cg as U,a$ as N,u as q,dq as G,ar as H,am as _,dr as J,h as y}from"./index-BqKtrbrP.js";import{b as $,n as i}from"./vendor-Bs1fkIUX.js";const u=T.getLocalizedStrings(),w={large:{labelComp:G,title:H,subtitle:_,seeMoreLink:_}},Y={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},o=Y.large,K=i.div`
|
|
2
2
|
width: ${e=>e.scale*o.width}px;
|
|
3
3
|
height: ${e=>e.scale*o.height}px;
|
|
4
4
|
overflow: hidden;
|
package/dist/assets/{PromoBaseCards-BGYdfmx6-BEMDJNz0.js → PromoBaseCards-BGYdfmx6-Dtat0fyc.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as c,j as r,dv as b,dw as v,dx as L,bB as z,y as a,o as e,h as d,O as f,u as l}from"./index-
|
|
1
|
+
import{q as c,j as r,dv as b,dw as v,dx as L,bB as z,y as a,o as e,h as d,O as f,u as l}from"./index-BqKtrbrP.js";import{i,n as p,k as m}from"./vendor-Bs1fkIUX.js";const t={plasticCardMarginLeft:new a(l[6],120),plasticCardMarginTop:new a(12,-9),businessTextRight:new a(l[2],13),businessTextBottom:new a(l[8],81),chargeCardWidth:new a(240,384),chargeCardHeight:new a(153,243),styledLogoWidth:new a(47,76),styledLogoHeight:new a(46,74),styledFullLogoTop:new a(12,28),styledFullLogoRight:new a(l[2],13),styledFullLogoHeight:new a(20,34),styledFullLogoWidth:new a(88,142),chipLogoWidth:new a(31,50),chipLogoHeight:new a(l[4],39),visaLogoWidth:new a(52,84),visaLogoHeight:new a(17,27),visaLogoRight:new a(l[2],13),visaLogoBottom:new a(l[2],13)},u={businessText:new f("extraSmallRegular","largeRegular"),promoBusinessText:new f("tinyLight","tinyLight")},F=({cardText:o,shouldAnimate:g,showChip:w,forDashboard:s,forListPage:h,cardPromoType:x,style:$})=>{const n=c();return r.jsxs(k,{cardPromoType:x,windowSize:n,shouldAnimate:g,forListPage:h,forDashboard:s,style:$,children:[w&&r.jsx(S,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(D,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(z,{})}),r.jsx(P,{windowSize:n,forDashboard:s,forListPage:h,children:o}),r.jsx(y,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(L,{})})]})},A=({cardText:o,shouldAnimate:g,showChip:w,forDashboard:s,forListPage:h,cardPromoType:x,style:$})=>{const n=c();return r.jsxs(W,{cardPromoType:x,windowSize:n,shouldAnimate:g,forListPage:h,forDashboard:s,style:$,children:[w&&r.jsx(S,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(B,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(v,{})}),r.jsx(P,{windowSize:n,forDashboard:s,forListPage:h,children:o}),r.jsx(y,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(L,{})})]})},C=m`
|
|
2
2
|
0%{
|
|
3
3
|
transform: rotate(12.4deg);
|
|
4
4
|
translate: ${e.sp0} ${e.sp0};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as w,F as t,j as n,c4 as j,n as l,y as s,o as i,ar as y,am as P,ag as f,bz as b,f1 as v,u as a}from"./index-
|
|
1
|
+
import{q as w,F as t,j as n,c4 as j,n as l,y as s,o as i,ar as y,am as P,ag as f,bz as b,f1 as v,u as a}from"./index-BqKtrbrP.js";import{n as o}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const r={containerPaddingTop:new s(a[5],a[7]),containerPaddingBottom:new s(a[5],a[5]),containerPaddingLeftRight:new s(a[6],a[11])},z=o.div`
|
|
2
2
|
border-radius: inherit;
|
|
3
3
|
max-width: 520px;
|
|
4
4
|
text-align: center;
|
package/dist/assets/{QBOSetupSection-CTMSCXwv-e3p1TnXx.js → QBOSetupSection-CTMSCXwv-CxubTHdL.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as C,F as u,j as i,n as k,o,y as a,h as d,fJ as T,O as E,ag as W,bz as q,f1 as B,fH as H,aU as w,ai as $,u as t}from"./index-
|
|
1
|
+
import{q as C,F as u,j as i,n as k,o,y as a,h as d,fJ as T,O as E,ag as W,bz as q,f1 as B,fH as H,aU as w,ai as $,u as t}from"./index-BqKtrbrP.js";import{n as s}from"./vendor-Bs1fkIUX.js";import I from"./QBOConnectionDialog-B9yKv9hq-DoLz2hIj.js";const r={containerPadding:new a(t[3],t[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(t[3],t[0]),arrowIconWidthHeight:new a(t[3],t[4])},A={title:new E("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:c=!1,isValid:l,saveConnectionState:p,isQBOPopupOpen:y,companyName:f,updateQBOPopupState:h,handleOnConnectClick:j})=>{const n=C(),{qbo_connection:S}=u.getLocalizedStrings().customerOnboardingPage.sections,{title:b,sucessText:z,button:v,errorText:P,requiredText:O}=S;return i.jsxs(F,{windowSize:n,children:[i.jsxs(G,{windowSize:n,children:[n==="small"?i.jsx(V,{children:l?i.jsx(_,{}):i.jsx(K,{})}):null,i.jsx(N,{windowSize:n,children:b})]}),i.jsxs(Q,{windowSize:n,children:[i.jsxs(D,{windowSize:n,children:[i.jsxs(M,{children:[i.jsx(R,{}),i.jsx(L,{windowSize:n}),i.jsx(U,{})]}),l?n!=="small"?i.jsx(m,{}):null:i.jsx(k,{variant:"primary",size:n!=="small"?"standard":"xs-small",label:v.connect,style:{width:"fit-content"},onClick:()=>h(!0),loading:p==="In-Progress"})]}),l?i.jsxs(i.Fragment,{children:[i.jsx(J,{children:z}),n==="small"?i.jsx(m,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:P})}):null,c&&!l?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:O})}):null]}),i.jsx(I,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:y,companyName:f,saveConnectionState:p,handleOnConnectClick:j,handleGoBack:()=>h(!1)})]})},m=()=>{const{tags:e}=u.getLocalizedStrings().customerOnboardingPage,{connected:c}=e;return i.jsx(H,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:c,textColor:{color:new w(d.successDark),borderColor:new w(d.successDark)}})},F=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as O,u as U,b as M,q as W,F as D,aa as G,aP as J,j as s,aJ as Q,cS as X,bF as H,ad as K,aQ as Y,o as f}from"./index-
|
|
1
|
+
import{y as O,u as U,b as M,q as W,F as D,aa as G,aP as J,j as s,aJ as Q,cS as X,bF as H,ad as K,aQ as Y,o as f}from"./index-BqKtrbrP.js";import{b as $,n as h}from"./vendor-Bs1fkIUX.js";import{b as Z,f as ee,l as j,o as B}from"./FollowStepsSection-CkQ-g4YK-dr6FAmOd.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const L="reimbursementApprovalRuleDetailPage",T="lowerBound",k="upperBound",y="steps",te={footerPadding:new O(U[2],U[3])};function ye({localData:e,approvalUpdateActionType:r,isLowerBoundDisabled:t=!1,isUpperBoundDisabled:l=!0,hideUpperBoundField:o=!1,onBackClick:d,onApprovalRuleDataUpdated:b,onResetClick:N,onSaveRuleClick:F,onSaveRuleSuccess:S}){const E=M(),A=W(),a=D.getLocalizedStrings().commonSetUp.approval,I=D.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=ae(e,r==="approval_create"&&!t),g=G({mode:"all",reValidateMode:"onChange",defaultValues:x}),u=e.remiSetupApproverViewUpdateData?.updateStatus,P=J(u?.fetchState),{upperBound:w}=x,{allApprovalRules:n,allAccountingClasses:_,remiSetupApproverViewUpdateData:c}=e;let m=n.length>1?n.length-1:0,v=n.length>0?n[m].criteria[0].range.min.amount:0;if(c!=null&&c.type==="approval_update"&&c.data!=null){const{approvalRuleId:i}=c.data;m=n.findIndex(p=>p.approvalRuleId===i),v=m>0?n[m-1].criteria[0].range.min.amount:0}const q=g.handleSubmit(()=>{F()}),V=async(i,p)=>{b(p)};return $.useEffect(()=>{const i=g.watch((p,{name:R})=>{if(R!=null&&p!=null){const z=Q(p);X(()=>V(R,z))}});return()=>{i.unsubscribe()}}),$.useEffect(()=>{P==="In-Progress"&&u?.fetchState==="Completed"&&S()},[P,u?.fetchState,S]),s.jsxs(se,{children:[s.jsx(H,{title:r==="approval_create"?a.newApproval:a.editApproval,backgroundColor:E.colors.grey4,style:{zIndex:4},onBackClick:()=>{d()},source:"ReimbursementApprovalRuleDetailPage"}),s.jsx(ne,{children:s.jsx(K,{...g,children:s.jsx("form",{id:C(L),onSubmit:q,children:s.jsxs(ie,{children:[s.jsx(Z,{label:{label:o?I.amountPerRemiGreaterLabel:I.amountPerRemiLabel},firstText:{type:"number",name:T,placeholder:"$0",options:{required:!0,max:w===1/0?Number.MAX_SAFE_INTEGER-1:w-1,min:v,validate:i=>t?!0:i!=null&&i>v},isDisabled:t,additionalInfoLabel:a.firstRuleLowerBoundInfoLabel,additionalErrorLabel:a.firstRuleErrorInfoLabel},secondText:{type:"number",name:k,placeholder:"Infinity",isDisabled:l,hideField:o,additionalInfoLabel:a.upperBoundInfoLabel}}),s.jsx(pe,{}),s.jsx(ee,{sectionId:y,label:{label:a.followStepsLabel},approversPlaceholder:a.approversPlaceholder,notifiersPlaceholder:a.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:_,stepsInfo:x[y],userSelectPlaceholder:a.userSelectPlaceholder,approveNotifyPlaceholder:a.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})})}),s.jsx(Y,{formId:C(L),primaryBtn:{label:a.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},showCancel:!0,cancelBtn:{label:a.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:N},containerStyle:{justifyContent:A==="small"?"space-between":"center"},style:{padding:te.footerPadding.valuePx(A)},separatorStyle:{marginRight:f.sp4}})]})}const ae=(e,r)=>{const{criteria:t,steps:l}=e.remiSetupApproverViewUpdateData?.data??{};return{[y]:re(e.allApprovers.map(o=>o.user),e.filteredApprovers.map(o=>o.user),B(e.allAttributes),B(e.filteredAttributes),l??[])??[],[T]:r?void 0:t!=null?t.range.min.amount??0:0,[k]:t!=null?t.range.max==null?1/0:t.range.max.amount:1/0}},re=(e,r,t,l,o)=>o&&o.length>0?o.map((d,b)=>({stepIndex:b,stepType:{selectedOption:d.action,allOptions:j},actors:{allUsers:r,selectedUsers:le(e,d.actors),allNonUsers:l,selectedNonUsers:oe(t,d.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:j},actors:{allUsers:r,selectedUsers:[],allNonUsers:l,selectedNonUsers:[]}}],le=(e,r)=>e.filter(t=>t.userId!=null&&r.findIndex(l=>l.userId===t.userId)>-1),oe=(e,r)=>e.filter(t=>r.findIndex(l=>l.subType===t.value)>-1),C=e=>`${e}_form`,Se=e=>`${e}`,se=h.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as M,q as B,F as y,j as o,bF as E,P as H,aM as S,o as t,y as r,am as L,aN as z,cD as G,cE as F,cF as U,dd as q,u as l,b8 as O,O as P,b7 as V,h as j,da as _,bx as K,C as Y}from"./index-
|
|
1
|
+
import{b as M,q as B,F as y,j as o,bF as E,P as H,aM as S,o as t,y as r,am as L,aN as z,cD as G,cE as F,cF as U,dd as q,u as l,b8 as O,O as P,b7 as V,h as j,da as _,bx as K,C as Y}from"./index-BqKtrbrP.js";import{n as i,b as Z}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(l[0],-4)},N={stepper:new P("smallRegular","standardRegular"),amount:new P("standardRegular","largeRegular")},J=({showDeleteBtn:e=!1,isLastSection:f=!1,approvalRule:x,onEditRuleClick:v,onDeleteRuleClick:b})=>{const[g,d]=Z.useState(!1),n=B(),{range:c}=x.criteria[0],{steps:w,approvalRuleId:m}=x,a=y.getLocalizedStrings().commonSetUp.approval,$=()=>{d(!0)},W={onOkClick:()=>{d(!1),b?.(m)},onCancelClick:()=>{d(!1)}};return o.jsxs(Q,{windowSize:n,isLastSection:f,"data-testid":S("approval-rule-section",m),children:[o.jsxs(X,{windowSize:n,children:[o.jsxs(ae,{children:[o.jsxs(I,{windowSize:n,children:[a.from," ",z("0,0",c.min)]}),o.jsxs(ee,{children:[o.jsx(k,{}),o.jsx(oe,{}),o.jsx(k,{})]}),c.max==null?o.jsx(ce,{}):o.jsx(I,{windowSize:n,children:z("0,0",{...c.min,amount:c.max.amount})})]}),o.jsxs(ne,{className:"icons",children:[e?o.jsx(pe,{onClick:$}):null,o.jsx(de,{onClick:()=>{v(m)},"data-testid":S("edit-approval-rule",m)})]})]}),o.jsx(te,{windowSize:n,children:o.jsx(ie,{isSingleStep:w.length===1,windowSize:n,children:w.map((h,A)=>o.jsxs(re,{isSingleStep:w.length===1,className:"stepperItem",windowSize:n,children:[h.action==="require_approval"?o.jsx(le,{children:a.requireText}):o.jsx(se,{children:a.notifyText}),h.nonUserActors.filter(p=>p.subType!=null).map((p,D)=>o.jsxs(R,{children:[o.jsx(T,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),h.operator!="is"?o.jsx(C,{className:"operator",children:h.operator}):null]},`${p.subType}_${D}`)),h.actors.map(p=>o.jsxs(R,{children:[o.jsxs(T,{children:[p.firstName," ",p.lastName]}),h.operator!="is"?o.jsx(C,{className:"operator",children:h.operator}):null]},p.userId))]},A))})}),g?o.jsx(G,{titleComponent:o.jsx(U,{children:a.deleteApprovalRuleTitle}),descriptionComponent:o.jsx(F,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:W}):null]})},Q=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ax as At,a9 as Mt,q as Rt,b as Pt,cr as Bt,y as m,F as Ze,l as ie,gr as Nt,gt as Lt,gu as Ot,j as t,cD as ke,cE as Ae,cF as Me,aM as y,bF as Re,bs as _t,dN as Wt,gv as Et,gG as Pe,o as a,gw as Be,fu as b,fw as w,gz as x,aN as Ne,ft as Le,C as F,gB as Oe,aQ as Ft,ap as Kt,gC as Ut,gD as ae,bB as Vt,gE as Yt,A as Gt,O as Ht,H as qt,am as et,b8 as tt,h as K,an as Jt,c7 as Qt,ai as Xt,gV as Zt,gR as ei,u as c,cw as ti,d8 as ii}from"./index-HCR8uiT1.js";import{b as p,n as r}from"./vendor-Bs1fkIUX.js";import{_ as ai}from"./liveblocks-8ht9CoL5.js";import ri from"./InvoiceUploadSection-BPPgbS-r-DsP3dMQH.js";import{r as oi,h as f,u as ni}from"./types-DyvtCprH-BcZYcgaq.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./crypto-cQYYQPTZ.js";import"./AttachmentView-X1k01Vtr-BZZUcPOE.js";import"./uploadReceipts-9DTOr0BG-Dpma3uTz.js";const l={labelWidth:new m(120,160,160),largeLabelWidth:new m(150,235,235),rightMargin:new m(c[3],c[8]),leftMargin:new m(c[3],c[6]),invoiceRightMargin:new m(c[3],c[6]),invoiceLeftMargin:new m(c[3],c[8]),topMargin:new m(c[3],0),bottomMargin:new m(c[4],27),activityBottomMargin:new m(96,0),totalBottomMargin:new m(c[5],c[3]),formBottomMargin:new m(c[5],c[3]),navBarHeight:new m(44,62),closeMarginTop:new m(0,0),rightSectionWidth:new m(100,58),leftSectionWidth:new m(100,42),footerButtonWidth:new m(120,165),right:new m(c[3],c[0]),actionsContainerRight:new m(c[0],c[6]),otherActionsContainerBottom:new m(58,44),duplicateBannerWrapperMarginTop:new m(c[5],c[3]),duplicateBannerWrapperMarginRight:new m(c[3],c[8]),duplicateBannerWrapperMarginBottom:new m(c[5],c[3]),duplicateBannerWrapperMarginLeft:new m(c[3],c[6])},li={formTitle:new Ht("h6Regular","h5Regular")},ia=({remiDetails:e,uploadInvoiceEndPoint:U,authParams:it,isAdmin:oe,signedInUser:ne,showApproveRejectBtns:le,isRealTimeApprovalEnabled:se,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:de,isSignedInUserReimbursementCreator:at,updateEditRealTimeApproverClicked:ce,onSaveRealTimeApprovals:me,redirectToReimbursementListScreen:V,redirectToEditableReimbursementScreen:rt,onDuplicateLineClick:ot,approveOrRejectRemi:pe,deleteReimbursement:nt,cancelAndDeleteReport:ue,handleZeniLogoClick:lt,onAddNewRule:he})=>{const d=At(),st=Mt().analytics,o=Rt(),ye=Pt(),[dt,z]=p.useState(!1),[Y,G]=p.useState(!1),[ct,H]=p.useState(!1),[q,J]=p.useState("approved"),P=p.useRef(null),[S,Q]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[C,mt]=p.useState(null),[pt,B]=p.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,ge=p.useRef({}),be=s=>{const n=ge.current[s];n!=null&&setTimeout(()=>ni(n,P.current),100)};p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&V()},[e,V]),p.useEffect(()=>{const s=window.location.hash;if(s&&s.startsWith("#L")){const n=s.substring(1);be(n)}},[]);const ut=()=>{V()};Bt({componentName:"reimbursement.details"});const ht={onOkClick:()=>{z(!1),S.primaryButtonText===i.buttons.delete?nt?.():S.title===i.cancelReportTitle?ue?.():S.title===i.cancelAndDeleteReportTitle&&ue?.(!0)},onCancelClick:()=>{z(!1)}},I=l.labelWidth.value(o),k=l.largeLabelWidth.value(o),we=Ze.getLocalizedStrings(),{common:{texts:{comments:yt},strings:{empty:xe}},collaboration:{threads:{placeholder:{addANewComment:gt,replyAComment:bt},tooltip:{resolveComment:wt,unResolveComment:xt}}},dateFormat:fe}=we,{reimbursementDetail:i,bulkActions:N}=we.spendManagement.reimbursement,X=e.remiDetails?.reportTitle,j=e.remiDetails?.lines??[],L=e.remiDetails?.reimbursementInfo.stage,O=e.remiDetails?.reimbursementInfo.billStatus,_=e.remiDetails?.reimbursementInfo.billPaymentStatus,$e=L?.code==="paid",ft=$e?L:O?.code=="approved"&&_?.code?_:O,$=si(e.remiDetails),A=O?.code=="approved"&&_?.code?_:O,W=e.remiDetails?.isDeleted??!1,ve=e.remiDetails?.amount,Te=e.remiDetails?.amount.amount??0,je=()=>{Q({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),z(!0)},$t=()=>{Q({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),z(!0)},vt=()=>{Q({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),z(!0)},Se=()=>{rt()},Tt={onOkClick:s=>{H(!1),pe({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:s})},onCancelClick:()=>{H(!1)}},jt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?Se():(J("approved"),pe({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},St=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(J("delete"),je()):(J("rejected"),H(!0))},It=e.remiDetails?.reimbursementInfo.paymentDate!=null?ie.zeniDate(ie.getNextNthWorkingDay(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,Z=e.remiDetails?.reimbursementInfo.expectedDepositDate??It,Ie=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&at,Dt=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ee=ft?.code,Ct=oi(e.duplicateLineByLineId),De=e.duplicateReimbursementStatus.fetchState==="Completed"&&Ct>0,{requestToOpenThread:te,setRequestToOpenThread:Ce,setOpenThread:E}=p.useContext(Nt),{threads:M,isLoading:D}=Lt({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),zt=p.useMemo(()=>M.filter(s=>s.resolved===!1&&!s.id.includes(Ot)),[M]).length,kt=p.useCallback((s,n)=>{E(n),B(!1)},[E,B]);p.useEffect(()=>{te?.threadId!=null&&M.length>0&&!D&&(E(te.threadId),Ce(null))},[te,M,D,E,Ce]);const g={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},R=ie.isBulkProcessing(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Bi,{windowSize:o,ref:P,children:[dt?t.jsx(ke,{titleComponent:t.jsx(Me,{children:S.title}),descriptionComponent:t.jsx(Ae,{children:S.description}),primaryButtonText:S.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:S.secondaryButtonText,action:ht}):null,ct?t.jsx(ke,{titleComponent:t.jsx(Me,{children:`${i.rejectRemiTitlePrefix} ${e.remiDetails?.reportTitle??""} by ${e.createdBy?.firstName??""} ${e.createdBy?.lastName??""}`}),descriptionComponent:t.jsx(Ae,{children:i.rejectRemiDescription}),primaryButtonText:i.buttons.send,secondaryButtonText:i.buttons.cancel,action:Tt,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Ci,{windowSize:o,"data-testid":y("reimbursement-detail-page-nav-bar-container"),children:[o!=="small"?t.jsx(Re,{"data-testid":y("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(zi,{onClick:()=>lt?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ye.colors.background,keepBackgroundOnScroll:!0,scrollableContent:P,source:"ReimbursementDetailPage"}):null,o!=="small"?t.jsx(Si,{}):null,t.jsx(Re,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:X??xe,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:o!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Ai,{children:[u?t.jsxs(Mi,{isDisabled:D,onClick:D?()=>null:s=>{s.preventDefault(),s.stopPropagation(),mt({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),B(!0),st.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(n=>Wt(n)),void 0,void 0,"page icon")},"data-testid":y("remi-comments-section"),children:[t.jsx(_t,{count:D?void 0:zt,isLoading:D,style:{left:"12px"}}),t.jsx(Ri,{})]}):null,t.jsx(Pi,{size:o,onClick:()=>ut(),"data-testid":y("remi-detail-page-close"),children:t.jsx(ki,{})})]}),scrollableContent:P,enableTitleOnScroll:o!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Fi,{children:[o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(He,{windowSize:o,children:t.jsx(qe,{windowsSize:o,children:X})}),e.createdBy?.userId!=null?t.jsx(Ue,{windowSize:o,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,de&&$!=null?t.jsx(Ve,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null,A?.code!=null?o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Et,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:Z,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W}),R?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:N.duplicateWarning.title,description:N.duplicateWarning.description}):De?t.jsxs(_e,{size:o,children:[t.jsx(Ke,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):t.jsx(Ge,{windowSize:o,children:t.jsx(Be,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:Z,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W})}):null]}):null,j.map((s,n)=>{const v=e.duplicateLineByLineId[s.lineId];return t.jsxs(Xe,{windowSize:o,children:[t.jsx(_i,{windowSize:o,children:t.jsx(Wi,{bottomSeperator:j.length!==1,windowSize:o,children:t.jsx(ri,{showAutofill:!1,uploadInvoiceEndPoint:U,authParams:it,entityId:e.remiDetails?.id,file:s.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:j.length>1?`#${n+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:j.length-1===n||n===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"reimbursement"})})}),t.jsxs(Oi,{windowSize:o,children:[n===0&&o!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(He,{windowSize:o,children:[t.jsx(qe,{windowsSize:o,children:X}),de&&$!=null?t.jsx(Ve,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ue,{windowSize:o,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,A?.code!=null?t.jsx(Ge,{windowSize:o,children:t.jsx(Be,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:Z,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W})}):null,R?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:N.duplicateWarning.title,description:N.duplicateWarning.description}):De?t.jsxs(_e,{size:o,children:[t.jsx(Ke,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(hi,{windowSize:o,ref:ze=>{ze!=null&&(ge.current[`L${s.lineId}`]=ze)},children:[o!=="small"?t.jsx(ui,{children:t.jsx(yi,{children:j.length>1?`#${n+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(gi,{windowSize:o,children:[v?.duplicateLineId!=null?t.jsxs(mi,{children:[i.thisExpenseReview," ",t.jsx(pi,{onClick:()=>{if(v.isDuplicateWithinTransaction&&v.duplicateLineId!=null)return be(`L${v.duplicateLineId}`);v.duplicateTransactionId!=null&&v.duplicateLineId!=null&&ot(v.duplicateTransactionId,v.duplicateLineId)},"data-testid":y("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:s.type===i.mileageKey?`${n}.mileage.reimbursementType`:`${n}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("reimbursementType",n,s.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"},children:t.jsx(x,{label:{label:i.reimbursementType,width:k},text:s.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(T,{}),s.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"mileage")}`},children:t.jsx(x,{label:{label:i.transactionDate,width:k},text:s.transactionDate?.format(fe.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("distanceInMiles",n,"mileage")}`},children:t.jsx(x,{label:{label:i.distanceInMiles,width:k},text:s.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"mileage")}`},children:t.jsx(x,{label:{label:i.amount,width:I},text:s.homeCurrencyConversions!=null?Ne("0,0[.]00",s.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"mileage")}`},children:t.jsx(x,{label:{label:i.memo,width:I},text:s.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"mileage")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(x,{label:{label:i.department,width:I},text:s.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("merchant",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.merchant,width:k},text:s.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.transactionDate,width:k},text:s.transactionDate?.format(fe.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.amount,width:I},text:s.homeCurrencyConversions!=null?Ne("0,0[.]00",s.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.memo,width:I},text:s.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("account",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.category,width:I},text:s.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"out_of_pocket")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(x,{label:{label:i.department,width:I},text:s.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]})]})]}),j.length!==1&&j.length===n+1&&t.jsxs(Li,{windowSize:o,children:[t.jsxs(Je,{windowSize:o,children:[t.jsx(Qe,{children:i.total}),t.jsx(Le,{amount:ve,integerStyles:F.h6Regular.cssObject,decimalStyles:F.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(Oe,{amount:Te,activities:e.remiActivities,stage:L?.code??"draft",onAddNewRule:he,entity:"reimbursement",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,allAccountingClass:e.allAccountingClasses,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:oe,signedInUserId:ne?.userId,showRealTimeApproval:se,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:ce,onSaveRealTimeApprovals:me},historicActivities:e.remiHistory.activities})]})]})]},s.lineId)}),j.length===1&&t.jsxs(Xe,{windowSize:o,children:[t.jsx(Ye,{}),t.jsxs(di,{windowSize:o,children:[t.jsx(Ni,{windowSize:o,children:t.jsxs(Je,{windowSize:o,children:[t.jsx(Qe,{children:i.total}),t.jsx(Le,{amount:ve,integerStyles:F.h6Regular.cssObject,decimalStyles:F.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(ci,{windowSize:o,children:t.jsx(Oe,{amount:Te,activities:e.remiActivities,stage:L?.code??"draft",onAddNewRule:he,entity:"reimbursement",historicActivities:e.remiHistory.activities,realTimeApproval:{allApprovers:e.filteredApprovers,allAccountingClass:e.allAccountingClasses,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:oe,signedInUserId:ne?.userId,showRealTimeApproval:se,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:ce,onSaveRealTimeApprovals:me}})})]})]}),t.jsx(Ei,{})]}),$e||W===!0?null:t.jsxs(Di,{children:[o!=="small"?t.jsx(Ye,{}):null,t.jsx(wi,{windowSize:o,"data-testid":y("remi-detail-page-footer"),onClick:s=>{s.stopPropagation(),Y===!0&&G(!1)},children:t.jsx(Ft,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||le,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||le,cancelBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.delete:i.buttons.deleteReport:o==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:q==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||q==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:St,style:{width:l.footerButtonWidth.value(o)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.edit:i.buttons.editAndResubmit:o==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:q==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:jt,style:{width:l.footerButtonWidth.value(o)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx(bi,{children:t.jsxs(Ii,{windowSize:o,children:[!R&&Y?t.jsx(Kt,{onClickAway:()=>G(!1),children:t.jsxs(ji,{windowSize:o,children:[ee!=="processing"?t.jsx(re,{onClick:je,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ee==="processing"?t.jsx(re,{onClick:$t,"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ee==="processing"?t.jsx(re,{onClick:vt,"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Ti,{windowSize:o,children:[!R&&Ie===!0?t.jsx(vi,{onClick:Se,"data-testid":y("remi-edit-button"),children:t.jsx($i,{})}):null,!R&&Dt===!0?t.jsx(fi,{windowSize:o,showEditIcon:Ie,children:t.jsx(xi,{onClick:()=>G(!Y),"data-testid":y("remi-more-actions-button")})}):null]})]})}),style:{minHeight:62}})})]}),u?t.jsx(ai,{id:h,children:t.jsx(Ut,{isDrawerOpen:pt,allowComposer:!0,drawerTitle:yt,threads:M,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:C?.companyId??xe,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:C?{companyName:C.companyName,companyId:C.companyId,entityId:C.entityId,entityType:C.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:gt,replyComposerPlaceholder:bt,threadResolve:wt,threadUnResolve:xt},onThreadClick:(s,n)=>kt(s,n),onCloseAllThreadsDrawer:()=>B(!1),drawerSectionStyle:{width:"400px",backgroundColor:ye.colors.background}})}):null]})},si=e=>{const U=Ze.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:U.tabsById.deleted,color:ae.deleted.color,bgColor:ae.deleted.bgColor,borderColor:ae.deleted.borderColor,code:"deleted"}},di=r.div`
|
|
1
|
+
import{ax as At,a9 as Mt,q as Rt,b as Pt,cr as Bt,y as m,F as Ze,l as ie,gr as Nt,gt as Lt,gu as Ot,j as t,cD as ke,cE as Ae,cF as Me,aM as y,bF as Re,bs as _t,dN as Wt,gv as Et,gG as Pe,o as a,gw as Be,fu as b,fw as w,gz as x,aN as Ne,ft as Le,C as F,gB as Oe,aQ as Ft,ap as Kt,gC as Ut,gD as ae,bB as Vt,gE as Yt,A as Gt,O as Ht,H as qt,am as et,b8 as tt,h as K,an as Jt,c7 as Qt,ai as Xt,gV as Zt,gR as ei,u as c,cw as ti,d8 as ii}from"./index-BqKtrbrP.js";import{b as p,n as r}from"./vendor-Bs1fkIUX.js";import{_ as ai}from"./liveblocks-8ht9CoL5.js";import ri from"./InvoiceUploadSection-BPPgbS-r-BHrBDY3d.js";import{r as oi,h as f,u as ni}from"./types-DyvtCprH-BcZYcgaq.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./crypto-cQYYQPTZ.js";import"./AttachmentView-X1k01Vtr-B7_QU-hD.js";import"./uploadReceipts-9DTOr0BG-BFe5S3is.js";const l={labelWidth:new m(120,160,160),largeLabelWidth:new m(150,235,235),rightMargin:new m(c[3],c[8]),leftMargin:new m(c[3],c[6]),invoiceRightMargin:new m(c[3],c[6]),invoiceLeftMargin:new m(c[3],c[8]),topMargin:new m(c[3],0),bottomMargin:new m(c[4],27),activityBottomMargin:new m(96,0),totalBottomMargin:new m(c[5],c[3]),formBottomMargin:new m(c[5],c[3]),navBarHeight:new m(44,62),closeMarginTop:new m(0,0),rightSectionWidth:new m(100,58),leftSectionWidth:new m(100,42),footerButtonWidth:new m(120,165),right:new m(c[3],c[0]),actionsContainerRight:new m(c[0],c[6]),otherActionsContainerBottom:new m(58,44),duplicateBannerWrapperMarginTop:new m(c[5],c[3]),duplicateBannerWrapperMarginRight:new m(c[3],c[8]),duplicateBannerWrapperMarginBottom:new m(c[5],c[3]),duplicateBannerWrapperMarginLeft:new m(c[3],c[6])},li={formTitle:new Ht("h6Regular","h5Regular")},ia=({remiDetails:e,uploadInvoiceEndPoint:U,authParams:it,isAdmin:oe,signedInUser:ne,showApproveRejectBtns:le,isRealTimeApprovalEnabled:se,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:de,isSignedInUserReimbursementCreator:at,updateEditRealTimeApproverClicked:ce,onSaveRealTimeApprovals:me,redirectToReimbursementListScreen:V,redirectToEditableReimbursementScreen:rt,onDuplicateLineClick:ot,approveOrRejectRemi:pe,deleteReimbursement:nt,cancelAndDeleteReport:ue,handleZeniLogoClick:lt,onAddNewRule:he})=>{const d=At(),st=Mt().analytics,o=Rt(),ye=Pt(),[dt,z]=p.useState(!1),[Y,G]=p.useState(!1),[ct,H]=p.useState(!1),[q,J]=p.useState("approved"),P=p.useRef(null),[S,Q]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[C,mt]=p.useState(null),[pt,B]=p.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,ge=p.useRef({}),be=s=>{const n=ge.current[s];n!=null&&setTimeout(()=>ni(n,P.current),100)};p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&V()},[e,V]),p.useEffect(()=>{const s=window.location.hash;if(s&&s.startsWith("#L")){const n=s.substring(1);be(n)}},[]);const ut=()=>{V()};Bt({componentName:"reimbursement.details"});const ht={onOkClick:()=>{z(!1),S.primaryButtonText===i.buttons.delete?nt?.():S.title===i.cancelReportTitle?ue?.():S.title===i.cancelAndDeleteReportTitle&&ue?.(!0)},onCancelClick:()=>{z(!1)}},I=l.labelWidth.value(o),k=l.largeLabelWidth.value(o),we=Ze.getLocalizedStrings(),{common:{texts:{comments:yt},strings:{empty:xe}},collaboration:{threads:{placeholder:{addANewComment:gt,replyAComment:bt},tooltip:{resolveComment:wt,unResolveComment:xt}}},dateFormat:fe}=we,{reimbursementDetail:i,bulkActions:N}=we.spendManagement.reimbursement,X=e.remiDetails?.reportTitle,j=e.remiDetails?.lines??[],L=e.remiDetails?.reimbursementInfo.stage,O=e.remiDetails?.reimbursementInfo.billStatus,_=e.remiDetails?.reimbursementInfo.billPaymentStatus,$e=L?.code==="paid",ft=$e?L:O?.code=="approved"&&_?.code?_:O,$=si(e.remiDetails),A=O?.code=="approved"&&_?.code?_:O,W=e.remiDetails?.isDeleted??!1,ve=e.remiDetails?.amount,Te=e.remiDetails?.amount.amount??0,je=()=>{Q({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),z(!0)},$t=()=>{Q({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),z(!0)},vt=()=>{Q({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),z(!0)},Se=()=>{rt()},Tt={onOkClick:s=>{H(!1),pe({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:s})},onCancelClick:()=>{H(!1)}},jt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?Se():(J("approved"),pe({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},St=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(J("delete"),je()):(J("rejected"),H(!0))},It=e.remiDetails?.reimbursementInfo.paymentDate!=null?ie.zeniDate(ie.getNextNthWorkingDay(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,Z=e.remiDetails?.reimbursementInfo.expectedDepositDate??It,Ie=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&at,Dt=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ee=ft?.code,Ct=oi(e.duplicateLineByLineId),De=e.duplicateReimbursementStatus.fetchState==="Completed"&&Ct>0,{requestToOpenThread:te,setRequestToOpenThread:Ce,setOpenThread:E}=p.useContext(Nt),{threads:M,isLoading:D}=Lt({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),zt=p.useMemo(()=>M.filter(s=>s.resolved===!1&&!s.id.includes(Ot)),[M]).length,kt=p.useCallback((s,n)=>{E(n),B(!1)},[E,B]);p.useEffect(()=>{te?.threadId!=null&&M.length>0&&!D&&(E(te.threadId),Ce(null))},[te,M,D,E,Ce]);const g={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},R=ie.isBulkProcessing(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Bi,{windowSize:o,ref:P,children:[dt?t.jsx(ke,{titleComponent:t.jsx(Me,{children:S.title}),descriptionComponent:t.jsx(Ae,{children:S.description}),primaryButtonText:S.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:S.secondaryButtonText,action:ht}):null,ct?t.jsx(ke,{titleComponent:t.jsx(Me,{children:`${i.rejectRemiTitlePrefix} ${e.remiDetails?.reportTitle??""} by ${e.createdBy?.firstName??""} ${e.createdBy?.lastName??""}`}),descriptionComponent:t.jsx(Ae,{children:i.rejectRemiDescription}),primaryButtonText:i.buttons.send,secondaryButtonText:i.buttons.cancel,action:Tt,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Ci,{windowSize:o,"data-testid":y("reimbursement-detail-page-nav-bar-container"),children:[o!=="small"?t.jsx(Re,{"data-testid":y("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(zi,{onClick:()=>lt?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ye.colors.background,keepBackgroundOnScroll:!0,scrollableContent:P,source:"ReimbursementDetailPage"}):null,o!=="small"?t.jsx(Si,{}):null,t.jsx(Re,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:X??xe,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:o!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Ai,{children:[u?t.jsxs(Mi,{isDisabled:D,onClick:D?()=>null:s=>{s.preventDefault(),s.stopPropagation(),mt({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),B(!0),st.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(n=>Wt(n)),void 0,void 0,"page icon")},"data-testid":y("remi-comments-section"),children:[t.jsx(_t,{count:D?void 0:zt,isLoading:D,style:{left:"12px"}}),t.jsx(Ri,{})]}):null,t.jsx(Pi,{size:o,onClick:()=>ut(),"data-testid":y("remi-detail-page-close"),children:t.jsx(ki,{})})]}),scrollableContent:P,enableTitleOnScroll:o!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Fi,{children:[o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(He,{windowSize:o,children:t.jsx(qe,{windowsSize:o,children:X})}),e.createdBy?.userId!=null?t.jsx(Ue,{windowSize:o,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,de&&$!=null?t.jsx(Ve,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null,A?.code!=null?o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Et,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:Z,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W}),R?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:N.duplicateWarning.title,description:N.duplicateWarning.description}):De?t.jsxs(_e,{size:o,children:[t.jsx(Ke,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):t.jsx(Ge,{windowSize:o,children:t.jsx(Be,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:Z,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W})}):null]}):null,j.map((s,n)=>{const v=e.duplicateLineByLineId[s.lineId];return t.jsxs(Xe,{windowSize:o,children:[t.jsx(_i,{windowSize:o,children:t.jsx(Wi,{bottomSeperator:j.length!==1,windowSize:o,children:t.jsx(ri,{showAutofill:!1,uploadInvoiceEndPoint:U,authParams:it,entityId:e.remiDetails?.id,file:s.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:j.length>1?`#${n+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:j.length-1===n||n===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"reimbursement"})})}),t.jsxs(Oi,{windowSize:o,children:[n===0&&o!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(He,{windowSize:o,children:[t.jsx(qe,{windowsSize:o,children:X}),de&&$!=null?t.jsx(Ve,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ue,{windowSize:o,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,A?.code!=null?t.jsx(Ge,{windowSize:o,children:t.jsx(Be,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:Z,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W})}):null,R?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:N.duplicateWarning.title,description:N.duplicateWarning.description}):De?t.jsxs(_e,{size:o,children:[t.jsx(Ke,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(hi,{windowSize:o,ref:ze=>{ze!=null&&(ge.current[`L${s.lineId}`]=ze)},children:[o!=="small"?t.jsx(ui,{children:t.jsx(yi,{children:j.length>1?`#${n+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(gi,{windowSize:o,children:[v?.duplicateLineId!=null?t.jsxs(mi,{children:[i.thisExpenseReview," ",t.jsx(pi,{onClick:()=>{if(v.isDuplicateWithinTransaction&&v.duplicateLineId!=null)return be(`L${v.duplicateLineId}`);v.duplicateTransactionId!=null&&v.duplicateLineId!=null&&ot(v.duplicateTransactionId,v.duplicateLineId)},"data-testid":y("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:s.type===i.mileageKey?`${n}.mileage.reimbursementType`:`${n}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("reimbursementType",n,s.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"},children:t.jsx(x,{label:{label:i.reimbursementType,width:k},text:s.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(T,{}),s.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"mileage")}`},children:t.jsx(x,{label:{label:i.transactionDate,width:k},text:s.transactionDate?.format(fe.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("distanceInMiles",n,"mileage")}`},children:t.jsx(x,{label:{label:i.distanceInMiles,width:k},text:s.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"mileage")}`},children:t.jsx(x,{label:{label:i.amount,width:I},text:s.homeCurrencyConversions!=null?Ne("0,0[.]00",s.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"mileage")}`},children:t.jsx(x,{label:{label:i.memo,width:I},text:s.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"mileage")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(x,{label:{label:i.department,width:I},text:s.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("merchant",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.merchant,width:k},text:s.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.transactionDate,width:k},text:s.transactionDate?.format(fe.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.amount,width:I},text:s.homeCurrencyConversions!=null?Ne("0,0[.]00",s.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.memo,width:I},text:s.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("account",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.category,width:I},text:s.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"out_of_pocket")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(x,{label:{label:i.department,width:I},text:s.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]})]})]}),j.length!==1&&j.length===n+1&&t.jsxs(Li,{windowSize:o,children:[t.jsxs(Je,{windowSize:o,children:[t.jsx(Qe,{children:i.total}),t.jsx(Le,{amount:ve,integerStyles:F.h6Regular.cssObject,decimalStyles:F.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(Oe,{amount:Te,activities:e.remiActivities,stage:L?.code??"draft",onAddNewRule:he,entity:"reimbursement",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,allAccountingClass:e.allAccountingClasses,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:oe,signedInUserId:ne?.userId,showRealTimeApproval:se,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:ce,onSaveRealTimeApprovals:me},historicActivities:e.remiHistory.activities})]})]})]},s.lineId)}),j.length===1&&t.jsxs(Xe,{windowSize:o,children:[t.jsx(Ye,{}),t.jsxs(di,{windowSize:o,children:[t.jsx(Ni,{windowSize:o,children:t.jsxs(Je,{windowSize:o,children:[t.jsx(Qe,{children:i.total}),t.jsx(Le,{amount:ve,integerStyles:F.h6Regular.cssObject,decimalStyles:F.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(ci,{windowSize:o,children:t.jsx(Oe,{amount:Te,activities:e.remiActivities,stage:L?.code??"draft",onAddNewRule:he,entity:"reimbursement",historicActivities:e.remiHistory.activities,realTimeApproval:{allApprovers:e.filteredApprovers,allAccountingClass:e.allAccountingClasses,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:oe,signedInUserId:ne?.userId,showRealTimeApproval:se,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:ce,onSaveRealTimeApprovals:me}})})]})]}),t.jsx(Ei,{})]}),$e||W===!0?null:t.jsxs(Di,{children:[o!=="small"?t.jsx(Ye,{}):null,t.jsx(wi,{windowSize:o,"data-testid":y("remi-detail-page-footer"),onClick:s=>{s.stopPropagation(),Y===!0&&G(!1)},children:t.jsx(Ft,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||le,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||le,cancelBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.delete:i.buttons.deleteReport:o==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:q==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||q==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:St,style:{width:l.footerButtonWidth.value(o)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.edit:i.buttons.editAndResubmit:o==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:q==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:jt,style:{width:l.footerButtonWidth.value(o)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx(bi,{children:t.jsxs(Ii,{windowSize:o,children:[!R&&Y?t.jsx(Kt,{onClickAway:()=>G(!1),children:t.jsxs(ji,{windowSize:o,children:[ee!=="processing"?t.jsx(re,{onClick:je,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ee==="processing"?t.jsx(re,{onClick:$t,"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ee==="processing"?t.jsx(re,{onClick:vt,"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Ti,{windowSize:o,children:[!R&&Ie===!0?t.jsx(vi,{onClick:Se,"data-testid":y("remi-edit-button"),children:t.jsx($i,{})}):null,!R&&Dt===!0?t.jsx(fi,{windowSize:o,showEditIcon:Ie,children:t.jsx(xi,{onClick:()=>G(!Y),"data-testid":y("remi-more-actions-button")})}):null]})]})}),style:{minHeight:62}})})]}),u?t.jsx(ai,{id:h,children:t.jsx(Ut,{isDrawerOpen:pt,allowComposer:!0,drawerTitle:yt,threads:M,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:C?.companyId??xe,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:C?{companyName:C.companyName,companyId:C.companyId,entityId:C.entityId,entityType:C.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:gt,replyComposerPlaceholder:bt,threadResolve:wt,threadUnResolve:xt},onThreadClick:(s,n)=>kt(s,n),onCloseAllThreadsDrawer:()=>B(!1),drawerSectionStyle:{width:"400px",backgroundColor:ye.colors.background}})}):null]})},si=e=>{const U=Ze.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:U.tabsById.deleted,color:ae.deleted.color,bgColor:ae.deleted.bgColor,borderColor:ae.deleted.borderColor,code:"deleted"}},di=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: ${e=>l.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ax as le,b as $,q as k,aP as ae,l as L,F as D,j as e,aM as a,bF as me,n as u,af as m,o as s,ar as ce,_ as de,aS as E,an as pe,y as xe,h as z,cR as he,aT as ue,b9 as ge,u as we}from"./index-
|
|
1
|
+
import{ax as le,b as $,q as k,aP as ae,l as L,F as D,j as e,aM as a,bF as me,n as u,af as m,o as s,ar as ce,_ as de,aS as E,an as pe,y as xe,h as z,cR as he,aT as ue,b9 as ge,u as we}from"./index-BqKtrbrP.js";import{b as j,n as t}from"./vendor-Bs1fkIUX.js";import{x as je}from"./MeetingCalenderPopup-BpRpGSe6-DG2NWgbm.js";import{f as be}from"./VideoPopup-Chye3pds-BhmRCag7.js";import{M as v}from"./usp-line-BBd1wKwW-ZlUrfnG1.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./VideoPlayer-BYkDTMkS-BkX7RMiM.js";const Z="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-light.png",q="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-dark.png",fe={midContainerMarginBottom:new xe(we[5],44)},ye=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|