@zeniai/web-cockpit-ui 1.14.20-qa → 1.14.21-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/ACHDetailsPage-B2GVy8XM-ti0XjGQx.js +21 -0
- package/dist/assets/{AIPerformancePage-DnOjd2BF-lO5zS7uR.js → AIPerformancePage-DKwSS0Zl-c3B4-q-Y.js} +33 -33
- package/dist/assets/AccountInfoPage-CSIM7DNw-BklcBUFt.js +18 -0
- package/dist/assets/{AccountInfoPageContent-Cc80eQeo-CgEfuzww.js → AccountInfoPageContent-CwbmE2Bb-CgQ5VXBk.js} +16 -16
- package/dist/assets/{AccountLockedInfoModal-B-Hn6_hG-6a5g7mIJ.js → AccountLockedInfoModal-SFgC439X-BdfeA6l0.js} +5 -5
- package/dist/assets/{AccountReconDetailsDrawerPage-Bz1Sk2du-BxAo_hsT.js → AccountReconDetailsDrawerPage-DhlVNNlq-zaiIx1Be.js} +14 -14
- package/dist/assets/{AccountRow-D01C0A0f-CckYNleY.js → AccountRow-Bhq6cvtX-CIGcG8Mb.js} +31 -31
- package/dist/assets/{AccountsPromoCardStack-DsjFJ8gZ-tDFsAqWF.js → AccountsPromoCardStack-Cx60IXNK-DyJ52Wxc.js} +33 -33
- package/dist/assets/{AddAddressForCardDrawer-DnoYIvUp-D4V9AU-3.js → AddAddressForCardDrawer-D1cDpMRq-BEiWkJUF.js} +2 -2
- package/dist/assets/{AddToWalletPage-BIiW9JxG-DzC3aDRW.js → AddToWalletPage-DjD9kDfD-7on3PFY8.js} +27 -27
- package/dist/assets/{AgingReportsPage-WazD_3Z7-BztL8RZo.js → AgingReportsPage-C68tZbMZ-BZn0w9tu.js} +7 -7
- package/dist/assets/{AllUserItems-CTSy4oBh-aCjvc204.js → AllUserItems-D4ZWfS3r-Dzjpd7KF.js} +14 -14
- package/dist/assets/{ApAgingDetailPage--NGBXWsy-Cfxnglrx.js → ApAgingDetailPage-C9xdKi6n-CJy9_j_h.js} +3 -3
- package/dist/assets/{AppBasePage-B5br9UXD-dTwGe1qL.js → AppBasePage-C77LebWx-j5O8MdDX.js} +11 -11
- package/dist/assets/{AppDrawerContent-vFeMNL3B-OmNElgxS.js → AppDrawerContent-rleLuP6d-CWfhTnVv.js} +19 -32
- package/dist/assets/ApprovalRulesSettingsPage-l6wNe5y0-CnwhageD.js +47 -0
- package/dist/assets/{ArAgingChart-BYWN3_Nl-M7Hk0Q05.js → ArAgingChart-BzPI5KpZ-DCA8w670.js} +7 -7
- package/dist/assets/{ArAgingDetailPage-B-hHa8A6-CG4Qyos2.js → ArAgingDetailPage-QPScba6I-BS5C1iok.js} +1 -1
- package/dist/assets/{AttachmentView-C2kWA5X5-BbtHpCnk.js → AttachmentView-BWRZe11t-C3aomYUX.js} +7 -7
- package/dist/assets/{BankAccountSection-B20IwpOn-DQog70tV.js → BankAccountSection-D4xFLS8Y-DYVkxnj8.js} +6 -6
- package/dist/assets/{BankAccountWarningSection-GHO0P0IZ-1uRlfSfl.js → BankAccountWarningSection-xch7b7oM-KAL6I_7u.js} +9 -9
- package/dist/assets/{BankConnectionsSettingsPage-Cpg1ObB6-C889d37H.js → BankConnectionsSettingsPage-BAf6txkS-BUkZUmB1.js} +33 -33
- package/dist/assets/{BillDetailPage-DOF5ibT6-CMzLP3E2.js → BillDetailPage-DNjo2hSl-HAMxBkoh.js} +5 -5
- package/dist/assets/BillPayApprovalRuleDetailPage-CyzRcfmb-CWMkHGTv.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-B3x4So_i-CY4rm4rp.js → BillPayApprovalRulesPage-XcSe-JLu-paWl1wgj.js} +8 -8
- package/dist/assets/{BillPayPromoPage-BqzH5AIp-CPmZM4sb.js → BillPayPromoPage-XAG7hXMH-TJCiv7fN.js} +12 -12
- package/dist/assets/BillPaySetUpPage-BBsdhwgY-BJ3SN0Z9.js +42 -0
- package/dist/assets/BillingSettingsPage-DJNjNtIF-BPnIxQJs.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-B76xXQJ9-KS_QhPM7.js → BillsBulkReviewDrawerPage-C0-0H-LH-B1c9iIV6.js} +1 -1
- package/dist/assets/{BoxItem-DCsIK5bA-DmT1xtf2.js → BoxItem-DfMMtLK3-CwOmwsz7.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-hSVDM_Bi-2zlgnS4x.js → BusinessVerificationPage-Bdf48vIt-gFo5pnI5.js} +11 -11
- package/dist/assets/{CardNumberSubText-B_ZdgYVm-ChY45Xav.js → CardNumberSubText-DgQelYSF-ByXOxvTG.js} +2 -2
- package/dist/assets/{CashbackDetailPage-CNeEt6aE-b0UGJHmQ.js → CashbackDetailPage-pDpjBsfK-CeHQC4hd.js} +21 -21
- package/dist/assets/{ChargeCardDetailPage-C0a8jqCD-Cx7pv4Cb.js → ChargeCardDetailPage-DU9RMQc6-BIkkENPA.js} +74 -74
- package/dist/assets/ChargeCardListPage-DMYZIi2J-C0pY-hXD.js +355 -0
- package/dist/assets/{ChargeCardListTable-Kx-_ZAZu-BIEC6Lus.js → ChargeCardListTable-BGhtEqlM-1uQtcdAL.js} +118 -118
- package/dist/assets/{ChargeCardPromoPage-CKTkcQdI-D4z7TcsI.js → ChargeCardPromoPage-B2v83Vrf-DE3g4SaQ.js} +14 -14
- package/dist/assets/ChargeCardSetupPage-D4DqJYC2-tJD3m4rN.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-B_7CdyKP-BwoBFpZ8.js → ChargeCardStatementsPage-N-UJC5n3-DRCoIqWQ.js} +12 -12
- package/dist/assets/CheckDepositDrawerPage-BlNXO233-B6D-qsf9.js +206 -0
- package/dist/assets/{CollapsableReportTable-ULd7PQST-zRaWsZKw.js → CollapsableReportTable-CuZSfiJ--DndUaoHT.js} +51 -51
- package/dist/assets/{CompanyOfficerDetailsSection-DLaAmVLG-BXyV3XUg.js → CompanyOfficerDetailsSection-B8_6LaaT-Bm6A2sxD.js} +20 -20
- package/dist/assets/{CompanyPassportCard-CZQuAyI2-FnmQYEWp.js → CompanyPassportCard-Dnoe52f1-Bb0yMF1k.js} +9 -9
- package/dist/assets/{CompanyPassportPage-DqoVJfO--B2V256bS.js → CompanyPassportPage-ChrMM5cG-CBSi0VyZ.js} +9 -9
- package/dist/assets/{CompleteProfile-BJV-xUlM-_mjlqEii.js → CompleteProfile-BcB52KEM-eSrsUGzf.js} +1 -1
- package/dist/assets/{ConfettiBurst-D4ga9TRN-DNqfOt_I.js → ConfettiBurst-CLXTwsEc-BKNVbRl0.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C6efUMJu-BPk-OMPd.js → CreateOrEditVendorPage-BQT9jEKf-D7ltp_Gl.js} +8 -8
- package/dist/assets/{CreditCardPaymentDrawerPage-26ysDTts-2EgGLxxN.js → CreditCardPaymentDrawerPage-CqjXmiuE-DMxbqlO3.js} +22 -22
- package/dist/assets/CurrencySelectField-DptlyOSs-CcylyEJM.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-D0-sOxDl-Ce46LukP.js → CustomerOnboardingActivationPage-CwOkKzOg-B6RVJbjC.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-CicNW9-B-DzHnXZE1.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-B7hkzgkV-BF5167bb.js → CustomerOnboardingDetailPageSkeleton-czdG16p5-DpEmk0UD.js} +10 -10
- package/dist/assets/CustomerOnboardingNoStepsPage-vfiQQOHz-Bp1CMF4Z.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-DB1gXgdD-CBPKCr70.js → CustomerOnboardingPage-YXekfOBo-BxMO09Sc.js} +5 -5
- package/dist/assets/CustomerOnboardingProductSuitePage-CZTuBAv2-DO0Q6ibG.js +202 -0
- package/dist/assets/{Dashboard-CU3UQhxj-C1Mkz5gx.js → Dashboard-DSgwFRPe-C8675P9W.js} +1 -1
- package/dist/assets/{DashboardReportPage-DMdKWPtx-atQPuhmI.js → DashboardReportPage-BJvP8_MA-BpjY-74m.js} +17 -17
- package/dist/assets/{DashboardSidebarBackgroundAnimation-BMEqBAyh-C6IEWJ-w.js → DashboardSidebarBackgroundAnimation-BzB16gcw-DGUbQY3b.js} +2 -2
- package/dist/assets/{DepositAccTransactionItem-C1-JGWD1-PimeTN3F.js → DepositAccTransactionItem-iLxnaDON-Cited1L2.js} +3 -3
- package/dist/assets/DepositAccTransactionListPage-BYdaEGCV-dRBdHWPK.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-D6fDbjcO-B5-gEW7w.js → DomesticWireDetailsPage-D7ID3OCC-BFvvuPQV.js} +1 -1
- package/dist/assets/{DownloadOverlay-CsX54puJ-Dn_Qxrz1.js → DownloadOverlay-DK3Nswwn-axnAyF4J.js} +23 -23
- package/dist/assets/{DrawerPage-xYwGDHR6-DzearJMx.js → DrawerPage-qdVRf0zd-rAuGPrSz.js} +10 -10
- package/dist/assets/EditPeoplePage-BQlHto3J-B1wgqdbr.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-EUO0BoRp-DXFt_-b4.js → EditReimbursementDetailPage-wJUr8jPN-cAj4KIG_.js} +75 -75
- package/dist/assets/{EntityDetailPage-CF6LS35a-I8h1XS7y.js → EntityDetailPage-BNbBdxQj-DOptLJPY.js} +3 -3
- package/dist/assets/{EntitySummarySection-C0gR6pkr-BFT2Z-pB.js → EntitySummarySection-BQXLwSRf-XMfwUKWz.js} +15 -15
- package/dist/assets/{ExpenseAutomationOverviewPage-B0I8v21w-DnXjKNKz.js → ExpenseAutomationOverviewPage-UXpoYnDh-DTEX425p.js} +22 -22
- package/dist/assets/{ExpenseAutomationPage-BorzJM7G-DkRsvTE3.js → ExpenseAutomationPage-Cn4VyB6M-CECxbhts.js} +69 -69
- package/dist/assets/{ExpressPayPage-D0YWItIv-vsfFJlZY.js → ExpressPayPage-DjV_dQoe-B6QGETdI.js} +12 -12
- package/dist/assets/{FeaturePreviewPage-yu8G5cHk-D2BrLKE_.js → FeaturePreviewPage-CPu1OiVj-C8nQdj7i.js} +2 -2
- package/dist/assets/{FollowStepsSection-DRDFxA8H-CjpGRF9d.js → FollowStepsSection-6KGTmbym-CjBGo1sT.js} +11 -11
- package/dist/assets/{GlobalReviewListPage-D80yv7U2-DSeBsZZz.js → GlobalReviewListPage-BpuYWhKy-BWJ3NE1D.js} +12 -12
- package/dist/assets/{HelpButton-D9ONg6cm-Be59SjbC.js → HelpButton-j66YbdZ7-MN2mMJbU.js} +5 -5
- package/dist/assets/{InformationCardStack-CbKQwtHm-iVG-egn1.js → InformationCardStack--_YYIZmU-TVF3K_in.js} +5 -5
- package/dist/assets/{InsightsCardStack-BWsN9_G2-DIXMPF3Z.js → InsightsCardStack-BAqsxgx_-C1UXRHpT.js} +10 -10
- package/dist/assets/{InsightsSection-WZo-AWJt-B29Z2aQ6.js → InsightsSection-R-m-A1rt-hAhn3f3r.js} +8 -8
- package/dist/assets/{IntegrationsSettingsPage-BLjSJt9r-DCLywH7v.js → IntegrationsSettingsPage-BP0P9-PB-q-RNhTQ5.js} +14 -14
- package/dist/assets/{InternationalWireSwiftDetailsPage-BXNDZ1Mk-BxL2cwbW.js → InternationalWireSwiftDetailsPage-Bl40XkdZ-FmcHiNeD.js} +16 -16
- package/dist/assets/{InternationalWireVerificationPage-BLgPJ1NJ-q4IibCup.js → InternationalWireVerificationPage-BxIz3xUq-DfERa7mH.js} +18 -18
- package/dist/assets/{InviteFormPage-DPQ4vL9--i-ULec9w.js → InviteFormPage-t42rmGiL-DbS-Xo1y.js} +22 -22
- package/dist/assets/{InvitePageListView-YUKxUGBn-B16-8w8X.js → InvitePageListView-CWpmFhZH-BU1izezz.js} +40 -40
- package/dist/assets/InvitePeoplePage-78Fznvo4-Cs3muHFK.js +12 -0
- package/dist/assets/{InvoiceUploadSection-Cx6pXJiN-CVGkefQN.js → InvoiceUploadSection-BWCF-vNf-ENuDGJpZ.js} +9 -9
- package/dist/assets/{IssueChargeCardPage-DZVtocCO-I_yEnYGn.js → IssueChargeCardPage-DrHldS8--Y0lQ8nqU.js} +19 -19
- package/dist/assets/{LabeledAddressValue-BrB2xQYz-Bp1iKMXW.js → LabeledAddressValue-WlsZ5Ghz-BgDzWzX8.js} +1 -1
- package/dist/assets/LabeledAddressValueField-B-6CWCep-BS0rQu3k.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-o0K1dba0-CaYkqqwf.js → LabeledControlledCheckBoxField-DLlz4JyR-BC1O7GWF.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-DQwGH21a-DCo3yiXZ.js → LabeledCreatableSingleSelectField-rYzQ2Ot2-C76fE8D-.js} +2 -2
- package/dist/assets/{LabeledDocumentField-CfgzkjDY-pn3OcRy3.js → LabeledDocumentField-CD2nmWBu-DN57A6Dt.js} +4 -4
- package/dist/assets/{LabeledDropDownFormattedTextField-DdaTvUbM-KTtCMdFX.js → LabeledDropDownFormattedTextField-DpVX6osq-D5-gOJ3f.js} +3 -3
- package/dist/assets/{LabeledText-Hi4MixDN-WrbKJ642.js → LabeledText-QTidAWAx-C3c3LDP1.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BlVebvR7-Jqg6BKYy.js → LabeledUserSingleSelectWithSubtitlesField-BlTOGYfX-B2GK4-w4.js} +19 -19
- package/dist/assets/{LabeledZeniRolesDropDownField-Bm7Emr_n-glZ8PCSO.js → LabeledZeniRolesDropDownField-BVYRgzSM-BwBrTbH3.js} +12 -12
- package/dist/assets/{LinkJETransactionPage-ittEPbhi-W7ymwETt.js → LinkJETransactionPage-CKTmE3J5-oxz25OQ_.js} +10 -10
- package/dist/assets/{LowBalancePopup-ChA83eFW-D0eQDhH3.js → LowBalancePopup-3lHeOacz-D0jLBPuP.js} +5 -5
- package/dist/assets/{MagicLinkACHDetailsPage-B4PPI06n-C_DxqSTi.js → MagicLinkACHDetailsPage-CJwMNdWw-CQRuhIMs.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-DRK5ytSb-DngVeo5M.js → MagicLinkDomesticWireDetailsPage-7fXlIwuo-BfygosWH.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-C2pn5xtm-BATETY3T.js → MagicLinkInternationalWireDetailsPage-D7oeyaXU-BvZA1a8O.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Bag5TE2J-CZ9jwejs.js → MagicLinkSuccessPage-D8iyZlJy-BCBc7pXl.js} +4 -4
- package/dist/assets/{MagicLinkTitleSection-Ch72cLUN-YrwcYc6L.js → MagicLinkTitleSection-DUrwrEj2-Dar-V5KH.js} +5 -5
- package/dist/assets/{MailingDetailsSection-CrHHLtQN-DrQYYUeI.js → MailingDetailsSection-CXSm1fgW-B1aDR6z2.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-B_KRQLwc-Dk4sRI3u.js → MeetingCalenderPopup-SnrmOSBf-C5dtHg-v.js} +1 -1
- package/dist/assets/{Menu-Czq7AdhP-DuOfxCaz.js → Menu-C7N3gHcb-bEZ9k_XO.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-y3YOYnQr-D-9bdC9E.js → MyBankConnectionsSettingsPage-B4Pjmw7q-qUHzU9ca.js} +16 -16
- package/dist/assets/MyPendingActivationChargeCardListPage-COeIF-Gj-lF4Ynxvz.js +6 -0
- package/dist/assets/{MyProfileSettingsPage-hQvoACAQ-De4LQ2zP.js → MyProfileSettingsPage-Dv0V1Z6z-B0QjyZRW.js} +10 -10
- package/dist/assets/NavBarWithPicker-Dd5TPoA8-B5GD0shW.js +30 -0
- package/dist/assets/{NavigationArrow-ClEBtns--QcRQdXVR.js → NavigationArrow-xI3dolgO-CZbe0Kw1.js} +2 -2
- package/dist/assets/{NavigationDots-BsJyQWOZ-BDcajz6w.js → NavigationDots-CbSSDiyy-CF0bIpTT.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BKZGSrDk-l-MVFG0h.js → NewGlobalMerchantPage-vHNZ1z6p-DzCKZ31U.js} +13 -13
- package/dist/assets/{NoDataChart-Bk9eWo52-DcgFDiHH.js → NoDataChart-DHDhwnCE--JxqggmJ.js} +5 -5
- package/dist/assets/{NoDataTable-DCQbtvPN-DodiAtKz.js → NoDataTable-BnVKm6Qa-D-DP72-h.js} +1 -1
- package/dist/assets/{NotFoundPage-CGx7FoiU-UHTxKuRN.js → NotFoundPage-BNZEf9qH-DJyohjVl.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-CoD8eTUS-BjZb9tDk.js → NotificationSettingsPage-DfnpY6qJ-IVv8rNvQ.js} +24 -24
- package/dist/assets/NotificationsListConfig-DtICI7X6-Ds4a71oz.js +1 -0
- package/dist/assets/{NotificationsPage-BavPSx1H-DHL13AeJ.js → NotificationsPage-Bg1mW_-3-Bqq3aGWJ.js} +86 -86
- package/dist/assets/OpExByVendorPage-qNgK4tMM-C2uybElE.js +100 -0
- package/dist/assets/{OverlayContainerPage-Dg-aOJQU-C9FBG3yb.js → OverlayContainerPage-ZbhbAqlg-Pe8QjCNe.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-bSkidYRR-CDPJjYTV.js → PandLWithForecastPage-C8qE7xCZ-4J3Yl7J8.js} +14 -14
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CGIC_vLw-DbAjNAQ-.js → PaymentAccountSetupBillingAddressSection-DA77K9eY-KFOyfAw1.js} +17 -17
- package/dist/assets/{PeoplePage-C-2NZJpQ-BenUVGbg.js → PeoplePage-Chec7uSH-BJQiakcT.js} +22 -22
- package/dist/assets/PortfolioAllocationFormPage-B_lIRV75-2KTCiqQZ.js +207 -0
- package/dist/assets/{PortfolioDetails-Cpv5bi4_-BHPnb_oU.js → PortfolioDetails-Dm2r3i6b-CSqaBp0x.js} +29 -29
- package/dist/assets/{ProductsCarousel-WDd37Mjn-BH0jA9xy.js → ProductsCarousel-Ba0LHKrb-CXNqNsMy.js} +7 -7
- package/dist/assets/{PromoBaseCards-BaFkKGkm-Cz7eAULC.js → PromoBaseCards-D3gKG9qA-BnJ2PjWk.js} +7 -7
- package/dist/assets/{QBOConnectionDialog-l3ThoJCI-ChlbOfD6.js → QBOConnectionDialog-C8y2XvBN-DhJ_XJEx.js} +10 -10
- package/dist/assets/{QBOSetupSection-DSrxcrXI-CkvMDxrM.js → QBOSetupSection-DDGIRv8E-WWMe3MOR.js} +8 -8
- package/dist/assets/ReimbursementApprovalRuleDetailPage-Dc_vsL89-WjjIqi27.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-fs4WqNUv-Bqd9-BoW.js → ReimbursementApprovalRulesPage-DsIFWYvA-BB4iiWOZ.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-BYw6Mc2u-BxuwZTKk.js → ReimbursementDetailPage-6KZSAl8R-DdvuKv3t.js} +19 -19
- package/dist/assets/ReimbursementPromoPage-Bijp59bV-Cpfy_AWs.js +112 -0
- package/dist/assets/ReimbursementSetUpPage-UW_9Cl4O-CgdV74cL.js +140 -0
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DblkkMcc-C0pmpacW.js +1 -0
- package/dist/assets/{ReloadCard-BPoOhxrs-kBbFGmsU.js → ReloadCard-BszztAdg-BGcTmGev.js} +3 -3
- package/dist/assets/{ReportTableViewSelector-CkZW5TtX-DumdDRTp.js → ReportTableViewSelector-DOnGrFNT-CJshToiT.js} +28 -28
- package/dist/assets/{ReportsPage-C-ARKbIQ-o9K1sd3F.js → ReportsPage-BfKLEriq-DUqc1b6J.js} +7 -7
- package/dist/assets/{RevenueChart-CuqZW-Jr-N4UQEA-E.js → RevenueChart-B5dfrWKL-CCXtRcm3.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-BVN_Uym2-C5S7_prb.js → ReviewDetailsPage-BCo54ehm-CX79VGjq.js} +17 -17
- package/dist/assets/{ReviewOverlay-CIgtaUn1-BvAebQ4j.js → ReviewOverlay-BysN2GYI-B3EhPHzZ.js} +25 -25
- package/dist/assets/{RoleWithToolTip-Dm4yIm31-B7MerbZ_.js → RoleWithToolTip-BRe9iDOl-Q0pJSQDn.js} +2 -2
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Ce3z1VPg-BTEmNd7t.js → ScheduleDetailsFixedAssetsPage-gij2cBvS-C2Yl94k-.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-O69iLj4h-CjfWVecQ.js → ScheduleDetailsPage-DVm4cyKr-CgRDdyS9.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-DMIzc2zC-7wRpGkTy.js → ScheduleSequenceTable-aSVVm6mG-DGPmYAZ0.js} +15 -15
- package/dist/assets/{ScreenRoutes-DSJYi7xE.js → ScreenRoutes-VXm4ob92.js} +1 -1
- package/dist/assets/SetUpAccountSection-qYVA9A09-BONGuihD.js +378 -0
- package/dist/assets/{SignIn-CXQyYEJI-CDAsUoma.js → SignIn-BLt95c3U-Dlnl1w8u.js} +20 -20
- package/dist/assets/{SignInScreen-DfZrql6t.js → SignInScreen-DEaBPUrL.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DEMLoStE-DOCGQBTb.js → SpendManagementListViewPage-Dav0JMKy-Dm4nEWMb.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-CLf-7YyR-Dcu59y-5.js → SpendManagementPerTabPage-C-Y-BFqH-PpgBRx-N.js} +43 -43
- package/dist/assets/{SpendManagementSection-DIVgOKWy-DXji9rI6.js → SpendManagementSection-DGz-I0bf-BKzTZ_B1.js} +12 -12
- package/dist/assets/{StatementItem-CSyEn4Pz-Ceu9_WYP.js → StatementItem-2F2qxL7G-DvQ_AOWY.js} +5 -5
- package/dist/assets/StatementsPage-D8hwgVAz-Cub96aye.js +58 -0
- package/dist/assets/{StatusSwitcher-B77NoO6o--2WeeksA.js → StatusSwitcher-DBUg94S_-BAqpWDHz.js} +4 -4
- package/dist/assets/{SubTabSwitcher-baJGHUgJ-DvovvHUF.js → SubTabSwitcher-CoK8FOIA-DVmudC7o.js} +2 -2
- package/dist/assets/{SummaryCard-BvuRZj8f-T-eFM0LS.js → SummaryCard-D1KRVnqp-Dvy_al2s.js} +1 -1
- package/dist/assets/{TaskManagementPage-vG8GXEJA-BGipUdPV.js → TaskManagementPage-BhFEeDBu-Dz6ITwfD.js} +45 -45
- package/dist/assets/{TimeRangeSwitcher-CnoZ9Rqp-B5iNAfYV.js → TimeRangeSwitcher-4JrIq9xZ-CS5enEHL.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-W5kHnuHI-BadD6oo8.js → TimeframeSwitcher-CjctaKq_-BTzm82tm.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-yLA5y4zJ-4o4duI3A.js → TimeframeSwitcherWithToggle-C0dRRCYf-DyMTP-so.js} +1 -1
- package/dist/assets/{TopExCard-oyXmygm8-BYyuzniq.js → TopExCard-CCBEun3e-2zjFnsRQ.js} +7 -7
- package/dist/assets/{TopExDetailPage-4HMIURzm-DnalCFp3.js → TopExDetailPage-DbwmOLnV-BBhCS5FY.js} +10 -10
- package/dist/assets/{TransactionDetailPage-CIw_7B72-CYXPG11l.js → TransactionDetailPage-DsQJU2de-Cs2qQW8e.js} +39 -39
- package/dist/assets/{TransactionList-B9M4ftBY-DwRVqc-5.js → TransactionList-BIMzvzrT-CfNPr3Oc.js} +12 -12
- package/dist/assets/{TransactionListBig-D5SRFdH7-DM-CzEo0.js → TransactionListBig-DiFiu66r-oT2afajE.js} +26 -26
- package/dist/assets/{TransactionListPage-DCiIH4ES-fcePVcVZ.js → TransactionListPage-7JveOMDe-B7fdmsSh.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-BNY3vBm0-CW0SP2il.js → TransactionVendorDetailPage-A2F8TF9r-CbwnVt2A.js} +5 -5
- package/dist/assets/TransferDrawerPage-CCqQ3Daq-Daf8n1RY.js +362 -0
- package/dist/assets/{TreasuryOverviewPage-COFbWN48-BYeFpwIv.js → TreasuryOverviewPage-Bwy2y6eI-BKBfV02s.js} +42 -42
- package/dist/assets/{TreasuryPromoPage-EYqV98OG-NVU8LSqs.js → TreasuryPromoPage-B3P0nF1z-CmOyTb19.js} +17 -17
- package/dist/assets/{TreasurySetupPage-DEz3fabz-DDNrOk49.js → TreasurySetupPage-BgrgBBsW-fmJdf9pD.js} +9 -9
- package/dist/assets/TreasuryStatementsPage-DvCQhl_X-CgWR5LfD.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-iG8-cJFt-DtHFKc00.js +58 -0
- package/dist/assets/{TreasuryTransferOrReviewPage-D25tiep8-BNfZoc8Z.js → TreasuryTransferOrReviewPage-BZ5sPJAg-XRzfaj0V.js} +48 -48
- package/dist/assets/{TrendChart-xBdkrxjQ-C4056Hlf.js → TrendChart-_IpSJoUH-D_Xka3ge.js} +5 -5
- package/dist/assets/{TrendWithTransactions-CQdqelNB-DQo5xCdz.js → TrendWithTransactions-BqGV_CQg-C8WEVoW0.js} +8 -8
- package/dist/assets/{UncategorizedAccountsMappingPage-DaSjSoeK-DCzQZher.js → UncategorizedAccountsMappingPage-iK-1vllN-DE4gP4RH.js} +17 -17
- package/dist/assets/{UnitIntegrationPage-zM4qGyLV-BUih8kDy.js → UnitIntegrationPage-sYNoUudZ-MStTdQpl.js} +4 -4
- package/dist/assets/UploadAdditionalDocumentOverlay-DMtjF2N8-C2Be6sSI.js +38 -0
- package/dist/assets/{Vendor2FAPopup-DO-eL5Ot-DkBNux6r.js → Vendor2FAPopup--4Ufzmk0-CNai3nMR.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-BDROr_dC-BY7HbNfr.js → VendorACHDetailsPage-BD9WwdNN-CaWAjhaB.js} +1 -1
- package/dist/assets/{VendorDetailPage-B8S-gV53-DhUdJ0v4.js → VendorDetailPage-DwLCEthT-BvPUhXCZ.js} +21 -21
- package/dist/assets/{VendorDomesticWireDetailsPage-BrxQuXus-CKp63XIB.js → VendorDomesticWireDetailsPage-Y2SlFgHo-D65nqzrv.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-BK-XGzxl-BDsZSV4B.js → VendorFiling1099EditablePage-nGfjBA1D-OLG4m_gM.js} +16 -16
- package/dist/assets/{VendorFirstReviewPage-CrSdEY-q-B1bLGVGQ.js → VendorFirstReviewPage-Bgf9MtEn-Dtn_s7_m.js} +17 -17
- package/dist/assets/{VendorInternationalWireDetailsPage-DuE2n00d-CfT-V_5M.js → VendorInternationalWireDetailsPage-CMxyzCCL-CvcC_o3S.js} +8 -8
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-_0douojx-BYFNBvm2.js → VendorInternationalWireSwiftDetailsPage-C6rMWgzM-Ba3gVeFl.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-C2McA3-C-Cb0CgKxi.js → VendorsAccountsSection-Ceq0cYf6-Cjsd_QQc.js} +2 -2
- package/dist/assets/{VerifyDevice-BOb4uKLq-DNkxVYQK.js → VerifyDevice-BTFRL9bH-BUJZK5YU.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-f9lS8sCp-DvTpHrxU.js → WarningsDrawerPage-DSssRFm_-C1VqOBKj.js} +11 -11
- package/dist/assets/{ZeniAccountDetailPage-BnWDpR9g-BIlqd_yq.js → ZeniAccountDetailPage-C6q8N5tU-Dc_1K1Bi.js} +17 -17
- package/dist/assets/{ZeniAccountListViewPage-D9ORn0_O-9Rmkt-8p.js → ZeniAccountListViewPage-CqUvXrvR-ZqvC3boH.js} +19 -19
- package/dist/assets/ZeniAccountNavBarPieces-DcmtDKVQ-CBPL_oum.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-CswETXvx-BsmBi2Qk.js → ZeniAccountPromoPage-B6wyK1mQ-C0Tgm2fT.js} +28 -28
- package/dist/assets/ZeniAccountSetupPage-Dl83s-y4-B5nGAEOh.js +36 -0
- package/dist/assets/{ZeniCopyright-DrkcGEYL-BmTJIlKC.js → ZeniCopyright-BqG_ynZT-WDJiIgsT.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Bw5S2HTx-DdoSkWzm.js → ZeniTransferAmountSlider-BZb23ypm-DU9mco3Q.js} +7 -7
- package/dist/assets/{analyticsHelper-C37dCyKv-CGyvCbtY.js → analyticsHelper-517kzICQ-BBH33il4.js} +1 -1
- package/dist/assets/{analyticsHelper-6vBfv0ec.js → analyticsHelper-CNrWxJzq.js} +1 -1
- package/dist/assets/{chartTypes-Cknnnhq_-DeXPyHuq.js → chartTypes-BTkUFFIf-HJpcoXWZ.js} +1 -1
- package/dist/assets/{commonDimensions-D0ovCC4N-CNPc1P_A.js → commonDimensions-Dw8Sh6Gv-a3To-vKo.js} +1 -1
- package/dist/assets/{detailCommon-CKa5_aP2-yoaB_aFJ.js → detailCommon-BA8Eb9ta-B1i92RWc.js} +11 -11
- package/dist/assets/downloadPdf-CDKlyJb--CILbJzzK.js +1 -0
- package/dist/assets/{index-b-ZazAq5.js → index-CjrcOwMA.js} +9891 -9282
- package/dist/assets/{mapLoadingInProgressToTreeNode-DttwbPj7-ClOsgYHo.js → mapLoadingInProgressToTreeNode-B16JI0nu-DSXwnXFw.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CKUACdvT-DnNr7s_7.js → mapSectionWithAcOnlyToTreeNode-u05r0BKW-CAyI7F2S.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CeH4tptC-DDar-aaX.js → mapSpacerToTreeNode-DHlbGqUH-D80xjgLV.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-TLHaVbTv-CwUi2UE6.js → mapTimeframeBalancesToTreeNode-CGkPIsh6-Cf2XqEry.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CElz2Cb0-yR23ijYO.js → mapTimeframeBalancesToTreeNode-ymtaozr7-oHeBpj1f.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-D96sl236-Ceni4bmN.js → mapTimeframeHeaderLoadingInProgressToTreeNode-C7X7F5Ac-BRCHhf6Z.js} +1 -1
- package/dist/assets/{play-icon-XWt7iQeF-BXe3XEM9.js → play-icon-B0_JAuQa-Bjb2tow6.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DACfD5ZE-DPBjMuXT.js → toCOABalancesWithID-B0nbXcq3-CLRAcvjs.js} +1 -1
- package/dist/assets/{toChartData-C6ap15NT-C4C_iiHg.js → toChartData-CZR7pH0W-CMEBURV_.js} +1 -1
- package/dist/assets/{treasuryColorHelper-DmVCoHv9-BvBjIWNj.js → treasuryColorHelper-99Jkq8AE-9boKU_Ao.js} +1 -1
- package/dist/assets/{uploadAttachment-D1XtO8---C1HecV0B.js → uploadAttachment-5GZYaQNG-D5JMjedW.js} +21 -21
- package/dist/assets/{uploadReceipts-Cl7e8jci-CgmtP8oE.js → uploadReceipts-CtQowT1I-Bg_9c22l.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/ACHDetailsPage-CVBRtacz-B-wXgcdL.js +0 -21
- package/dist/assets/AccountInfoPage-Bt-jShgf-D7-pY8Xy.js +0 -18
- package/dist/assets/ApprovalRulesSettingsPage-6j7VBBZ6-DtpGfRvd.js +0 -47
- package/dist/assets/BillPayApprovalRuleDetailPage-BI1R1zT_-B2pclG9C.js +0 -27
- package/dist/assets/BillPaySetUpPage-DqiNMnRE-CJW2K1WW.js +0 -42
- package/dist/assets/BillingSettingsPage-BOAAGOLs-EF78E3-A.js +0 -44
- package/dist/assets/ChargeCardListPage-_3lJqIYP-CjqfIBRz.js +0 -355
- package/dist/assets/ChargeCardSetupPage-CGRMFERy-nwvjRvTP.js +0 -36
- package/dist/assets/ChargeCardUtils-BcwLwgz7-DtCcFgNi.js +0 -1
- package/dist/assets/ChaseOverlay-ClcKUdpT-DsBdB3dn.js +0 -170
- package/dist/assets/CheckDepositDrawerPage-I3siSP2H-DOYShP5D.js +0 -206
- package/dist/assets/CreditCardPaymentPlgSection-8NQI5gcx-CYgVnwi-.js +0 -78
- package/dist/assets/CurrencySelectField-CVNn0XCq-id1wN7tu.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-DoibuhLN-BAot3xFZ.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-CD1QldcG-DOJTbsT8.js +0 -66
- package/dist/assets/CustomerOnboardingProductSuitePage-DGMmLmq8-Ba1Ge8Ql.js +0 -202
- package/dist/assets/DepositAccTransactionListPage-CfwhQ7mC-BpwI3LPz.js +0 -66
- package/dist/assets/EditPeoplePage-9SmQtrJz-CpjsvZ5X.js +0 -55
- package/dist/assets/InvitePeoplePage-C3vECRns-C0xQ6TWc.js +0 -12
- package/dist/assets/LabeledAddressValueField-_35LG3OI-D_e5OIiQ.js +0 -45
- package/dist/assets/MyPendingActivationChargeCardListPage-DJeYzaPj-shBILIuz.js +0 -6
- package/dist/assets/NavBarWithPicker-DUaSGf4d-CMjrmt-1.js +0 -30
- package/dist/assets/NotificationsListConfig-hyqVBWDA-ChVmChxH.js +0 -1
- package/dist/assets/OpExByVendorPage-DD8tCc8E-CwNf3ShD.js +0 -100
- package/dist/assets/PortfolioAllocationFormPage-B6JOvEvW-B8_jJPtJ.js +0 -207
- package/dist/assets/ReimbursementApprovalRuleDetailPage-hb8mPFw0-AvrXlJya.js +0 -26
- package/dist/assets/ReimbursementPromoPage-DzDuwRxU-B6R_66mk.js +0 -112
- package/dist/assets/ReimbursementSetUpPage-DdT6uu1--B5ymQEc4.js +0 -140
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-CXvng56s-D22V4iw-.js +0 -1
- package/dist/assets/SetUpAccountSection-C1_QjMwF-D_Jc9DPP.js +0 -378
- package/dist/assets/SetUpDefaultSection-B-ZEHQUb-wT4VB7Bz.js +0 -174
- package/dist/assets/SpendMgmtSetupAccountSection-DFyUBsg3-CBY1E6Ip.js +0 -206
- package/dist/assets/StatementsPage-D34J2aZa-DVBVlsnj.js +0 -58
- package/dist/assets/TransferDrawerPage-DdgfrrRM-F6iL3sbI.js +0 -362
- package/dist/assets/TreasuryStatementsPage-JSf4JXXI-CCZGMWz5.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-Id6od0WY--LdWqgsE.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-Y64l7Rho-CmfSD-Zu.js +0 -38
- package/dist/assets/ZeniAccountNavBarPieces-4jG3uNmW-ClvlddSI.js +0 -14
- package/dist/assets/ZeniAccountSetupPage-7B6Vgmg6-Cm9X_vfT.js +0 -36
- package/dist/assets/downloadPdf-BJozh7zE-DZm4gsxy.js +0 -1
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
import{e as M,d5 as U,Y as W,u as D,M as A,j as e,aW as _,o as t,_ as k,aJ as H,l as I,n as J,O as R,c as l,v as y,$ as V,L as N,c6 as Y,s as Z,af as q}from"./index-b-ZazAq5.js";import{b as n,n as i}from"./vendor-rkTZJa59.js";import X from"./ConfettiBurst-D4ga9TRN-DNqfOt_I.js";import{D as G}from"./HelpButton-D9ONg6cm-Be59SjbC.js";import{k as K}from"./ProductsCarousel-WDd37Mjn-BH0jA9xy.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-B_KRQLwc-Dk4sRI3u.js";const Q=o=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=A.getLocalizedStrings(),We=({hasVerifiedBankAccount:o,meetingUrl:$,showUpdatePaymentDetailButton:m=!1,isVisitingFirstTime:b=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=M(),x=U().analytics,f=W(),S=f.loggedInUser,a=f.currentTenant,[w,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=L,O=D(),{customerOnboardingPage:c}=ee,p=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:B}=s,{isPayrollEnabled:h,isCfoEnabled:g,isTaxEnabled:u}=B;return h&&g&&u?[r.withTaxAndPayroll,r.withCFO]:h&&g?[r.withPayroll,r.withCFO]:h&&u?[r.taxAndPayroll]:g&&u?[r.withTax,r.withCFO]:h?[r.onlyPayroll]:g?[r.onlyCFO]:u?[r.onlyTax]:[r.default]},F=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,I.getProductSettingsString(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(_,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ke,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:m?e.jsxs(Ce,{"data-testid":k("update-to-payment-address-details"),onClick:()=>F(a),children:[e.jsx(ye,{}),e.jsx(je,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx($e,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:p(a).length>1?t.sp2:t.sp1,padding:p(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:p(a)[0]})]}),e.jsx(C,{children:p(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(K,{scale:1,showUpdatePaymentDetailButton:m,stopCarousel:w,useFixedArrowPosition:!0})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(ue,{className:"discover-class"})]})]}),e.jsx(me,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(H,{signedInUser:S,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(G,{isFooterRendered:!1,meetingUrl:$,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(X,{showConfetti:b})]})},te=i.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
align-items: center;
|
|
5
|
-
min-width: 100%;
|
|
6
|
-
overflow: visible;
|
|
7
|
-
`,ie=i.div`
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
align-items: center;
|
|
11
|
-
flex: 1;
|
|
12
|
-
width: 100%;
|
|
13
|
-
height: 100%;
|
|
14
|
-
min-height: 100vh;
|
|
15
|
-
background-image: ${o=>`url(https://storage.googleapis.com/zeni-apis.appspot.com/images/signin-background-${o.windowSize==="small"?"m":"w"}-${o.theme.mode==="dark"?"d":"l"}.svg)`};
|
|
16
|
-
background-color: ${o=>o.theme.colors.grey4};
|
|
17
|
-
background-size: inherit;
|
|
18
|
-
background-attachment: fixed;
|
|
19
|
-
background-position: ${o=>o.windowSize==="small"?"center center":"right center"};
|
|
20
|
-
background-repeat: no-repeat;
|
|
21
|
-
|
|
22
|
-
${o=>o.theme.breakpoints.down("lg")} {
|
|
23
|
-
background-size: cover;
|
|
24
|
-
}
|
|
25
|
-
`,oe=i.div`
|
|
26
|
-
position: fixed;
|
|
27
|
-
width: 100%;
|
|
28
|
-
top: ${t.sp0};
|
|
29
|
-
left: 0;
|
|
30
|
-
right: 0;
|
|
31
|
-
height: 62px;
|
|
32
|
-
padding: 0 ${t.sp2};
|
|
33
|
-
display: flex;
|
|
34
|
-
align-items: center;
|
|
35
|
-
justify-content: space-between;
|
|
36
|
-
z-index: 3;
|
|
37
|
-
`,re=i.div`
|
|
38
|
-
display: flex;
|
|
39
|
-
position: relative;
|
|
40
|
-
flex-direction: column;
|
|
41
|
-
align-items: center;
|
|
42
|
-
justify-content: center;
|
|
43
|
-
width: 100%;
|
|
44
|
-
margin: 86px 0 0 0;
|
|
45
|
-
`,ne=i.div`
|
|
46
|
-
position: relative;
|
|
47
|
-
display: flex;
|
|
48
|
-
align-items: center;
|
|
49
|
-
justify-content: center;
|
|
50
|
-
width: fit-content;
|
|
51
|
-
border-radius: 50px;
|
|
52
|
-
margin-bottom: ${t.sp7};
|
|
53
|
-
cursor: default;
|
|
54
|
-
overflow: hidden;
|
|
55
|
-
|
|
56
|
-
&::before {
|
|
57
|
-
content: "";
|
|
58
|
-
position: absolute;
|
|
59
|
-
top: 0;
|
|
60
|
-
right: 0;
|
|
61
|
-
bottom: 0;
|
|
62
|
-
left: 0;
|
|
63
|
-
background-color: ${l.brandColorJadeLight};
|
|
64
|
-
opacity: 0.5;
|
|
65
|
-
z-index: 0;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
> * {
|
|
69
|
-
position: relative;
|
|
70
|
-
z-index: 1;
|
|
71
|
-
}
|
|
72
|
-
`,se=i.div`
|
|
73
|
-
display: flex;
|
|
74
|
-
flex-direction: column;
|
|
75
|
-
justify-content: center;
|
|
76
|
-
width: 100%;
|
|
77
|
-
height: 100%;
|
|
78
|
-
`,C=i.div`
|
|
79
|
-
display: flex;
|
|
80
|
-
align-items: flex-start;
|
|
81
|
-
justify-content: center;
|
|
82
|
-
`,ae=i.div`
|
|
83
|
-
display: flex;
|
|
84
|
-
align-items: center;
|
|
85
|
-
justify-content: center;
|
|
86
|
-
width: ${y.largeRegular.lineHeight};
|
|
87
|
-
height: ${y.largeRegular.lineHeight};
|
|
88
|
-
border-radius: 50%;
|
|
89
|
-
outline: 1px solid ${l.brandColorJadeDark};
|
|
90
|
-
background-color: ${l.brandColorPearl};
|
|
91
|
-
`,le=i(V)`
|
|
92
|
-
width: ${t.sp3};
|
|
93
|
-
height: ${t.sp3};
|
|
94
|
-
color: ${l.brandColorSapphire};
|
|
95
|
-
`,j=i(N)`
|
|
96
|
-
color: ${l.brandColorSapphire};
|
|
97
|
-
text-align: center;
|
|
98
|
-
margin-left: ${t.sp2};
|
|
99
|
-
`,de=i.div`
|
|
100
|
-
display: flex;
|
|
101
|
-
align-items: center;
|
|
102
|
-
justify-content: center;
|
|
103
|
-
width: 100%;
|
|
104
|
-
margin-bottom: ${t.sp4};
|
|
105
|
-
cursor: default;
|
|
106
|
-
`,ce=i(Y)`
|
|
107
|
-
color: ${o=>o.theme.colors.primary};
|
|
108
|
-
text-align: center;
|
|
109
|
-
margin-left: ${t.sp2};
|
|
110
|
-
margin-right: ${t.sp2};
|
|
111
|
-
`,pe=i.div`
|
|
112
|
-
width: 1328px;
|
|
113
|
-
height: 512px;
|
|
114
|
-
display: flex;
|
|
115
|
-
align-items: center;
|
|
116
|
-
justify-content: center;
|
|
117
|
-
overflow: visible;
|
|
118
|
-
margin-bottom: ${t.sp4};
|
|
119
|
-
`,he=i.a`
|
|
120
|
-
display: flex;
|
|
121
|
-
align-items: center;
|
|
122
|
-
justify-content: center;
|
|
123
|
-
text-decoration: none;
|
|
124
|
-
width: 100%;
|
|
125
|
-
cursor: pointer;
|
|
126
|
-
color: ${l.brandColorSapphire};
|
|
127
|
-
&:hover {
|
|
128
|
-
.discover-class {
|
|
129
|
-
color: ${o=>o.theme.colors.primary};
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
`,ge=i(Z)`
|
|
133
|
-
color: inherit;
|
|
134
|
-
text-align: center;
|
|
135
|
-
`,ue=i(q)`
|
|
136
|
-
width: ${t.sp3};
|
|
137
|
-
height: ${t.sp3};
|
|
138
|
-
color: inherit;
|
|
139
|
-
margin-left: 6px;
|
|
140
|
-
margin-top: ${t.sp1};
|
|
141
|
-
`,me=i.div`
|
|
142
|
-
width: 100%;
|
|
143
|
-
padding: 10px ${t.sp3};
|
|
144
|
-
position: sticky;
|
|
145
|
-
bottom: 0;
|
|
146
|
-
left: 0;
|
|
147
|
-
right: 0;
|
|
148
|
-
z-index: 3;
|
|
149
|
-
display: flex;
|
|
150
|
-
justify-content: space-between;
|
|
151
|
-
align-items: center;
|
|
152
|
-
flex-direction: column;
|
|
153
|
-
`,xe=i.div`
|
|
154
|
-
display: flex;
|
|
155
|
-
position: relative;
|
|
156
|
-
justify-content: space-between;
|
|
157
|
-
width: 100%;
|
|
158
|
-
align-items: center;
|
|
159
|
-
`,fe=i.div`
|
|
160
|
-
display: flex;
|
|
161
|
-
left: ${t.sp4};
|
|
162
|
-
bottom: ${t.sp3};
|
|
163
|
-
position: fixed;
|
|
164
|
-
justify-content: center;
|
|
165
|
-
align-items: center;
|
|
166
|
-
cursor: default;
|
|
167
|
-
`,we=i.div`
|
|
168
|
-
display: flex;
|
|
169
|
-
`,ke=i(R)`
|
|
170
|
-
height: ${t.sp4};
|
|
171
|
-
width: 102px;
|
|
172
|
-
color: ${o=>o.theme.colors.primary};
|
|
173
|
-
cursor: pointer;
|
|
174
|
-
flex-shrink: 0;
|
|
175
|
-
margin-left: -${t.sp5};
|
|
176
|
-
`,ye=i(Q)`
|
|
177
|
-
width: ${t.sp4};
|
|
178
|
-
min-width: ${t.sp4};
|
|
179
|
-
height: ${t.sp4};
|
|
180
|
-
`,Ce=i.div`
|
|
181
|
-
display: flex;
|
|
182
|
-
flex-direction: row;
|
|
183
|
-
align-items: center;
|
|
184
|
-
width: fit-content;
|
|
185
|
-
white-space: nowrap;
|
|
186
|
-
cursor: pointer;
|
|
187
|
-
color: ${o=>o.theme.colors.hero};
|
|
188
|
-
&:hover {
|
|
189
|
-
.btnText {
|
|
190
|
-
color: ${o=>o.theme.colors.primary};
|
|
191
|
-
}
|
|
192
|
-
svg {
|
|
193
|
-
color: ${o=>o.theme.colors.primary};
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
margin-right: ${t.sp2};
|
|
197
|
-
`,je=i(J)`
|
|
198
|
-
margin-left: ${t.sp2};
|
|
199
|
-
`,$e=i.div`
|
|
200
|
-
width: 200px;
|
|
201
|
-
height: ${t.sp4};
|
|
202
|
-
`;export{We as CustomerOnboardingProductSuitePage,We as default};
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import{u as S,e as z,h4 as C,j as e,aW as D,M as Y,aj as F,o as r,c as g,bZ as B,l as L,C as R,d as A,n as I,q as b,de as T,df as E,d9 as N,dg as P}from"./index-b-ZazAq5.js";import{b as f,n as a}from"./vendor-rkTZJa59.js";import{$ as V}from"./BoxItem-DCsIK5bA-DmT1xtf2.js";import{o as q}from"./commonDimensions-D0ovCC4N-CNPc1P_A.js";import{H}from"./DepositAccTransactionItem-C1-JGWD1-PimeTN3F.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const n=Y.getLocalizedStrings(),O={listItemMargin:new R(b[3],b[8])};function Z(t){const d=T(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),h=E(d,o=>o.length>0);return N(h,o=>({date:o[0].transactionDate,transactions:P(o,m=>m.transactionDate,"desc")}))}const G=C(Z),ht=({transactionListView:t,onBackClick:d})=>{const h=S(),o=z(),m=f.createRef(),p=f.useRef(null),l=G(t.transactions),j=t.depositAccountName,x=l.length===0,k=i=>x===!1?l[i].transactions.length*q.transactionItemHeightResponsive.value(o)+45:24,v=({index:i,style:c})=>{if(x===!1){const s=l[i];return e.jsx(w,{style:{...c},children:e.jsx($,{windowSize:o,children:e.jsxs(y,{children:[e.jsx(U,{children:L.dateNow().year()===s.date.year()?s.date.format(n.dateFormat.visual.MMMDFormat):s.date.format(n.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(W,{children:s.transactions.map((M,u)=>e.jsx(H,{data:M,boxType:V(u,s.transactions.length)},u))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(J,{children:e.jsx($,{windowSize:o,children:e.jsx(Q,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(K,{children:[e.jsx(D,{title:`${j} ${n.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:h.colors.grey4,style:{zIndex:3},onBackClick:d,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),e.jsx(y,{children:e.jsx(F,{children:({height:i,width:c})=>e.jsx(X,{ref:m,height:i,width:c,outerRef:p,itemKey:s=>s,itemCount:l.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},w=a.div``,$=a.div`
|
|
2
|
-
margin: ${t=>`${r.sp0} ${O.listItemMargin.valuePx(t.windowSize)}`};
|
|
3
|
-
`,J=a.div`
|
|
4
|
-
display: flex;
|
|
5
|
-
height: 100%;
|
|
6
|
-
flex: 1 1 auto;
|
|
7
|
-
flex-direction: row;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
align-items: flex-end;
|
|
10
|
-
`,K=a.div`
|
|
11
|
-
display: flex;
|
|
12
|
-
height: 100%;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
width: 100%;
|
|
15
|
-
padding-bottom: ${r.sp7};
|
|
16
|
-
`,Q=a(I)`
|
|
17
|
-
display: flex;
|
|
18
|
-
color: ${t=>t.theme.colors.grey2};
|
|
19
|
-
`,U=a(A)`
|
|
20
|
-
display: flex;
|
|
21
|
-
height: 21px;
|
|
22
|
-
margin-bottom: ${r.sp2};
|
|
23
|
-
margin-top: ${r.sp3};
|
|
24
|
-
color: ${t=>t.theme.colors.grey1};
|
|
25
|
-
`,y=a.div`
|
|
26
|
-
display: flex;
|
|
27
|
-
flex-direction: column;
|
|
28
|
-
width: 100%;
|
|
29
|
-
height: 100%;
|
|
30
|
-
`,W=a.div`
|
|
31
|
-
display: flex;
|
|
32
|
-
flex: 1 1 auto;
|
|
33
|
-
flex-direction: column;
|
|
34
|
-
box-shadow: ${t=>`${r.sp0} 2px ${r.sp1} ${t.theme.colors.dropShadowNormal}`};
|
|
35
|
-
border-radius: ${r.sp2};
|
|
36
|
-
background-color: ${t=>t.theme.colors.grey5};
|
|
37
|
-
`,X=a(B)`
|
|
38
|
-
scrollbar-width: thin;
|
|
39
|
-
scrollbar-color: transparent transparent;
|
|
40
|
-
&::-webkit-scrollbar {
|
|
41
|
-
width: ${r.sp2};
|
|
42
|
-
height: ${r.sp0};
|
|
43
|
-
background-color: transparent;
|
|
44
|
-
}
|
|
45
|
-
&::-webkit-scrollbar-track {
|
|
46
|
-
box-shadow: inset 0 0 2px ${g.scrollbarBoxShadow};
|
|
47
|
-
-webkit-box-shadow: inset 0 0 2px ${g.scrollbarBoxShadow};
|
|
48
|
-
background-color: transparent;
|
|
49
|
-
}
|
|
50
|
-
&::-webkit-scrollbar-thumb {
|
|
51
|
-
background-color: transparent;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&:hover {
|
|
55
|
-
scrollbar-color: ${t=>t.theme.colors.grey1} transparent;
|
|
56
|
-
&::-webkit-scrollbar {
|
|
57
|
-
width: ${r.sp2};
|
|
58
|
-
height: ${r.sp0};
|
|
59
|
-
background-color: transparent;
|
|
60
|
-
}
|
|
61
|
-
&::-webkit-scrollbar-thumb {
|
|
62
|
-
background-color: ${t=>t.theme.colors.grey1};
|
|
63
|
-
border-radius: 2px;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
`;export{ht as default};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import{e as ae,M as de,fo as pe,u as ce,a as ue,a2 as me,j as t,bU as ge,bV as he,bW as fe,bX as ye,gg as xe,_ as z,b$ as ve,o as r,bA as be,F as $e,a4 as we,C as _,fr as Re,fs as Ce,ft as je,c4 as Oe,l as W,ao as ke,c as Q,ct as Pe,q as c}from"./index-b-ZazAq5.js";import{b as $,n}from"./vendor-rkTZJa59.js";import{x as Ie}from"./AllUserItems-CTSy4oBh-aCjvc204.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./LabeledUserSingleSelectWithSubtitlesField-BlVebvR7-Jqg6BKYy.js";import"./RoleWithToolTip-Dm4yIm31-B7MerbZ_.js";import"./LabeledZeniRolesDropDownField-Bm7Emr_n-glZ8PCSO.js";const j={containerPaddingTop:new _(c[3],c[3]),containerPaddingLeft:new _(c[3],c[6],c[6]),containerPaddingRight:new _(c[3],c[6],c[8]),buttonWidth:new _(85,85)},J="editPeoplePage",w="userItems",a=de.getLocalizedStrings().peoplePage,Ye=({peopleDetails:e,managersList:u,classList:R,controllersList:O,mode:d,isZeniTenant:E,onCloseClick:k,onResetClick:P,onSaveClick:m,onDeleteUser:G,onPeopleLocalDataUpdated:H,analytics:B,isReimbursementDisabled:D,isZeniAccountsDisabled:N,isChargeCardDisabled:Z,isTreasuryDisabled:q,isBankingOnlyTenant:y,isCardsOnlyTenant:x,isLiteRoleDisabled:F})=>{const C=ae(),[K,S]=$.useState(!1),[Y,ee]=$.useState(-1),te=d==="zeni_only"?a.invitePage.editZeniTitle:a.invitePage.editTitle,se=$.useRef(null),T=$.useMemo(()=>pe(D,N,Z,y,x,F,q),[D,N,Z,y,x,F,q]),A=ce(),l=ue({mode:"onBlur",reValidateMode:"onChange",defaultValues:X(e.people,u,R,d,T,y,x),values:X(e.people,u,R,d,T,y,x)}),re=l.handleSubmit(()=>{V()&&m()},()=>{V(),console.warn("Edit Profile form error")}),V=()=>{const g=l.getValues();let o=!0;return g.userItems.forEach((h,v)=>{const{role:L,department:i,nonZeniRole:f,manager:p}=h;if(d==="zeni_only"){const s=L.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(l.setError(`${w}.${v}.role`,{type:"required"}),o=!1)}else{const s=f?.userRole.selectedRole;(s!=null&&f!=null?f.productsByUserRole[s].map(b=>b.selectedOption).filter(b=>b!=null):[]).length<1&&(l.setError(`${w}.${v}.nonZeniRole.userRole.selectedRole`,{type:"required"}),o=!1),s!=="investor_or_banker"&&i?.selectedOption==null&&(y||x||(l.setError(`${w}.${v}.department`,{type:"required"}),o=!1)),p?.selectedUser==null&&s!=="investor_or_banker"&&(l.setError(`${w}.${v}.manager`,{type:"required"}),o=!1)}}),o},oe=async(g,o)=>{const h=[],{userItems:v}=o,L=e.person?.userRole?.userRoleId;v.forEach(i=>{let f={};if(L!=null){if(d==="zeni_only")f={email:i.email,role:i.role.selectedOptions};else{const p=i.nonZeniRole?.userRole.selectedRole;let s=[];p==="admin"||p==="investor_or_banker"?s.push(p):s=p!=null?(i.nonZeniRole?.productsByUserRole[p]??[]).map(U=>W.toUserRoleTypeStrict(U.selectedOption?.value)).filter(U=>U!=null):[],p==="employee"&&s.length===0&&s.push("reimbursements_user");const b=W.hasInvestorBankerLevelAccess(s);f={email:i.email,role:s,departmentId:b?void 0:i.department?.selectedOption?.value,managerId:b?void 0:i.manager?.selectedUser}}h.push(f)}}),H(h)};$.useEffect(()=>{const g=l.watch((o,{name:h})=>{h!=null&&o!=null&&oe(h,o)});return()=>{g.unsubscribe()}});const ne=()=>{S(!0)},le={onOkClick:()=>{const g=e.person;B?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),G?.(e.person)},onCancelClick:()=>{S(!1)}},M=me(e.person?.update),I=e.person?.update,ie=a.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return $.useEffect(()=>{I==null&&M==="removeUsers"&&(S(!1),P?.())},[I,M]),t.jsxs(t.Fragment,{children:[K===!0?t.jsx(ge,{titleComponent:t.jsx(ye,{children:a.deleteOverlay.title}),descriptionComponent:t.jsx(fe,{children:ie}),primaryButtonText:a.deleteOverlay.remove,secondaryButtonText:a.deleteOverlay.cancel,action:le,proceedButtonVariant:"danger",isLoading:I==="removeUsers",isDisabled:I==="removeUsers",style:{background:A.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(Be,{}),t.jsx(Ue,{children:t.jsx(ze,{src:e.person?.user.photo?.toString()??he,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(xe,{title:te,backgroundColor:A.colors.grey4,style:{zIndex:4},onCloseClick:k,isTitleAlignLeft:C==="small"}),t.jsxs(_e,{"data-testid":z("edit-people-page-container"),windowSize:C,ref:se,children:[t.jsxs(Le,{children:[t.jsx(ve,{personBasic:e.person?.user,styles:{height:r.sp6,width:r.sp6}}),t.jsxs(Ee,{children:[t.jsx(Se,{children:e.person?.user?.firstName?t.jsxs(Te,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ne,{className:"delete-icon-wrapper","data-testid":z("edit-people-page-delete-icon-wrapper"),onClick:ne,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:a.deleteOverlay.title,placement:"top",children:t.jsx(De,{windowsize:C})})})]})]}),t.jsx($e,{...l,children:t.jsx("form",{id:`${J}_form`,onSubmit:re,children:t.jsx(Ie,{control:l.control,sectionId:w,deleteConfirmationIndex:Y,updateDeleteConfirmationIndex:ee,mode:d,isZeniTenant:E,classList:R,managersList:u,controllersList:O,customerRoleOptions:T,isBankingOnlyTenant:y,isCardsOnlyTenant:x,isEdit:!0,person:e.person,analytics:B})})})]}),t.jsx(we,{formId:`${J}_form`,"data-testid":z("edit-people-page-footer"),primaryBtn:{label:a.invitePage.update,style:{width:j.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:a.invitePage.cancel,style:{width:j.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:k},separatorStyle:{marginRight:r.sp4}})]})},X=(e,u,R,O,d,E,k)=>{const P=R.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[w]:[{userIndex:0,email:e[0].email,role:O==="zeni_only"?{allOptions:Oe.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:O!=="zeni_only"?{userRole:{selectedRole:je(e[0]?.role),allRootRole:Ce(E,k)},productsByUserRole:Re(e[0]?.role,d)}:void 0,manager:{allUsers:u,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:P,selectedOption:P.find(m=>m.value===e[0]?.departmentId)}}]}},et=(e,u)=>`${e}.${u}`,_e=n.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
5
|
-
padding-left: ${e=>`${j.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
6
|
-
padding-right: ${e=>`${j.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
7
|
-
overflow-x: hidden;
|
|
8
|
-
height: 100%;
|
|
9
|
-
padding-top: ${e=>`${j.containerPaddingTop.valuePx(e.windowSize)}`};
|
|
10
|
-
gap: ${r.sp2};
|
|
11
|
-
`,Ee=n.div`
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: row;
|
|
14
|
-
justify-content: space-between;
|
|
15
|
-
align-items: center;
|
|
16
|
-
gap: 5px;
|
|
17
|
-
flex: 1;
|
|
18
|
-
`,Se=n.div``,Te=n(ke)`
|
|
19
|
-
color: ${e=>e.theme.colors.primary};
|
|
20
|
-
`,Le=n.div`
|
|
21
|
-
display: flex;
|
|
22
|
-
gap: ${r.sp2};
|
|
23
|
-
align-items: center;
|
|
24
|
-
margin: ${r.sp0} ${r.sp1};
|
|
25
|
-
`,Ue=n.div`
|
|
26
|
-
position: absolute;
|
|
27
|
-
top: -26px;
|
|
28
|
-
`,ze=n.img`
|
|
29
|
-
height: 60px;
|
|
30
|
-
width: 60px;
|
|
31
|
-
border-radius: 50%;
|
|
32
|
-
color: ${e=>e.theme.colors.hero};
|
|
33
|
-
`,Be=n.div`
|
|
34
|
-
position: absolute;
|
|
35
|
-
top: 1%;
|
|
36
|
-
left: 50%;
|
|
37
|
-
transform: translate(-50%, -50%);
|
|
38
|
-
height: 62px;
|
|
39
|
-
width: ${r.sp9};
|
|
40
|
-
border-radius: 50% 50% 0 0;
|
|
41
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
42
|
-
`,De=n(Pe)`
|
|
43
|
-
width: ${r.sp3};
|
|
44
|
-
height: ${r.sp3};
|
|
45
|
-
cursor: pointer;
|
|
46
|
-
color: ${e=>e.windowsize==="small"?Q.important:e.theme.colors.hero};
|
|
47
|
-
&:hover {
|
|
48
|
-
color: ${Q.important};
|
|
49
|
-
}
|
|
50
|
-
`,Ne=n.div`
|
|
51
|
-
width: ${r.sp3};
|
|
52
|
-
height: ${r.sp3};
|
|
53
|
-
cursor: pointer;
|
|
54
|
-
position: relative;
|
|
55
|
-
`;export{Ye as default,et as uniqueName};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import{e as Y,fo as ee,u as te,a as le,j as d,M as oe,q as g,gg as ne,_ as se,F as ie,a4 as re,o as ae,C as E,fr as Z,fs as q,ft as A,c4 as N,l as V,c6 as de}from"./index-b-ZazAq5.js";import{b as P,n as W}from"./vendor-rkTZJa59.js";import{x as ce}from"./AllUserItems-CTSy4oBh-aCjvc204.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./LabeledUserSingleSelectWithSubtitlesField-BlVebvR7-Jqg6BKYy.js";import"./RoleWithToolTip-Dm4yIm31-B7MerbZ_.js";import"./LabeledZeniRolesDropDownField-Bm7Emr_n-glZ8PCSO.js";const z={containerPaddingLeft:new E(g[3],g[6],g[8]),containerPaddingRight:new E(g[3],g[6],g[8]),buttonWidth:new E(85,85)},F="editPeoplePage",O="userItems",p=oe.getLocalizedStrings().peoplePage,Te=({peopleDetails:e,managersList:s,classList:R,controllersList:I,mode:o,isZeniTenant:w,onPeopleLocalDataUpdated:T,onCloseClick:$,onSaveClick:i,isReimbursementDisabled:L,isZeniAccountsDisabled:n,isChargeCardDisabled:k,isTreasuryDisabled:j,isBankingOnlyTenant:b,isCardsOnlyTenant:x,isLiteRoleDisabled:U})=>{const c=Y(),[J,Q]=P.useState(-1),[B,_]=P.useState(""),D=P.useRef(null),S=P.useMemo(()=>ee(L,n,k,b,x,U,j),[L,n,k,b,x,U,j]),G=te(),r=le({mode:"onBlur",reValidateMode:"onChange",defaultValues:M(e.people,o,S,s,R,b,x),values:M(e.people,o,S,s,R,b,x)}),H=r.handleSubmit(()=>{K()?i():console.warn("Invite People form error")}),K=()=>{const t=r.getValues();let l=!0;return t.userItems.forEach((f,C)=>{const{role:a,nonZeniRole:v,department:u,manager:m}=f;if(o==="zeni_only")a?.selectedOptions==null&&(r.setError(`${O}.${C}.role`,{type:"required"}),l=!1);else{const h=v?.userRole.selectedRole;(h!=null&&v!=null?v.productsByUserRole[h].map(y=>y.selectedOption).filter(y=>y!=null):[]).length<1&&(r.setError(`${O}.${C}.nonZeniRole.userRole.selectedRole`,{type:"required"}),l=!1),u?.selectedOption==null&&h!=="investor_or_banker"&&!b&&!x&&(r.setError(`${O}.${C}.department`,{type:"required"}),l=!1),m?.selectedUser==null&&h!=="investor_or_banker"&&(r.setError(`${O}.${C}.manager`,{type:"required"}),l=!1)}}),l},X=async(t,l)=>{const f=[],{userItems:C}=l;C.forEach(a=>{let v={};if(o==="zeni_only")v={email:a.email,role:[a.role?.selectedOptions]};else{const u=a.nonZeniRole?.userRole.selectedRole;let m=[];u==="admin"||u==="investor_or_banker"?m.push(u):m=u!=null?(a.nonZeniRole?.productsByUserRole[u]??[]).map(y=>V.toUserRoleTypeStrict(y.selectedOption?.value)).filter(y=>y!=null):[],u==="employee"&&m.length===0&&(m=["reimbursements_user"]);const h=V.hasInvestorBankerLevelAccess(m);v={email:a.email,role:m,departmentId:h?void 0:a.department?.selectedOption?.value,managerId:h?void 0:a.manager?.selectedUser}}f.push(v)}),T(f)};return P.useEffect(()=>{const t=r.watch((l,{name:f})=>{f!=null&&l!=null&&X(f,l)});return()=>{t.unsubscribe()}}),P.useEffect(()=>{const t=D.current,l=()=>{c!=="small"&&(t&&t?.scrollTop>g[9]?_(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):_(""))};return c==="small"?_(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):t&&t?.scrollTop<=g[9]&&_(""),t&&t.addEventListener("scroll",l),()=>{t&&t.removeEventListener("scroll",l)}},[o,B,c]),d.jsxs(d.Fragment,{children:[d.jsx(ne,{title:B,backgroundColor:G.colors.grey4,style:{zIndex:4},onCloseClick:$,isTitleAlignLeft:c==="small"}),d.jsxs(ue,{"data-testid":se("invite-people-container"),windowSize:c,ref:D,children:[c!=="small"?d.jsx(me,{children:o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title}):null,d.jsx(ie,{...r,children:d.jsx("form",{id:`${F}_form`,onSubmit:H,children:d.jsx(ce,{control:r.control,sectionId:O,deleteConfirmationIndex:J,updateDeleteConfirmationIndex:Q,mode:o,isZeniTenant:w,classList:R,managersList:s,controllersList:I,isBankingOnlyTenant:b,isCardsOnlyTenant:x,customerRoleOptions:S,isEdit:!1})})})]}),d.jsx(re,{formId:`${F}_form`,primaryBtn:{label:p.invitePage.invite,style:{width:z.buttonWidth.value(c)},isLoading:e.invitePersonState.fetchState==="In-Progress",isDisabled:e.invitePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:p.invitePage.cancel,style:{width:z.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:$},separatorStyle:{marginRight:ae.sp4}})]})},M=(e,s,R,I,o,w,T)=>{const $=[{userIndex:0,email:[],role:s==="zeni_only"?{allOptions:N.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:s==="off"?{userRole:{selectedRole:e[0]?.role.length>0?A(e[0].role):void 0,allRootRole:q(w,T)},productsByUserRole:Z(e[0]?.role??[],R)}:void 0,department:void 0,manager:void 0}];return{[O]:e.length>0?e.map((i,L)=>({userIndex:L,email:i.email,role:s==="zeni_only"?{allOptions:N.roles,selectedOptions:i.role}:void 0,nonZeniRole:s==="off"?{userRole:{selectedRole:i.role.length>0?A(i.role):void 0,allRootRole:q(w,T)},productsByUserRole:Z(i.role,R)}:void 0,department:{allOptions:o.map(n=>({label:n.fullyQualifiedAccountingClassName??"",value:n.classId,hoverText:n.accountingClassNumber})),selectedOption:o.map(n=>({label:n.fullyQualifiedAccountingClassName??"",value:n.classId,hoverText:n.accountingClassNumber})).find(n=>n.value===i.departmentId)},manager:{allUsers:I,selectedUser:i.managerId}})):$}},$e=(e,s)=>`${e}.${s}`,ue=W.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
5
|
-
|
|
6
|
-
padding-left: ${e=>`${z.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
7
|
-
padding-right: ${e=>`${z.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
8
|
-
overflow-x: hidden;
|
|
9
|
-
height: 100%;
|
|
10
|
-
`,me=W(de)`
|
|
11
|
-
color: ${e=>e.theme.colors.primary};
|
|
12
|
-
`;export{Te as default,$e as uniqueName};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import{e as f,cm as w,cu as v,M as y,j as r,_ as $,cs as z,C as l,eX as M,c as g,q as i,b as B}from"./index-b-ZazAq5.js";import{n}from"./vendor-rkTZJa59.js";const t={width:new l(343,580,726),height:new l(i[6],i[6]),controlMinHeight:new l(i[4],i[4]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},T={infoLabel:new B("extraSmallRegular","smallRegular")},j=y.getLocalizedStrings();function E({isDisabled:e,label:d,addressValueField:o,additionalInfoLabel:h,showAdditionalInfoLabel:m=!1,style:p,hasHoverBorder:u,isOptional:b}){const a=f(),{formState:{errors:c}}=w(),s=v(c,o.name),x=s?h:j.commonSetUp.businessVerification.addressAdditionInfo;return r.jsxs(L,{size:a,style:p,isDisabled:e!=null,isError:s,hasHoverBorder:u??!0,"data-testid":$("labeled-address-value-field",o.name),children:[r.jsx(z,{isDisabled:e,isOptional:b,label:d.label,htmlFor:o.name,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:d.width??"auto"}}),r.jsxs(R,{labelWidth:d.width,children:[r.jsx(M,{...o,isDisabled:e,style:{minHeight:t.controlMinHeight.value(a),paddingTop:t.paddingTopBottom.valuePx(a),paddingBottom:t.paddingTopBottom.valuePx(a),width:"-webkit-fill-available",display:"flex",flexGrow:1,...o.style}}),(m||s)&&r.jsx(P,{size:a,isError:s,children:x})]})]})}const L=n.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: row;
|
|
4
|
-
align-items: flex-start;
|
|
5
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
6
|
-
width: ${e=>t.width.valuePx(e.size)};
|
|
7
|
-
min-height: ${e=>t.height.valuePx(e.size)};
|
|
8
|
-
padding-right: ${e=>t.marginRight.valuePx(e.size)};
|
|
9
|
-
padding-top: ${e=>t.paddingTopBottom.valuePx(e.size)};
|
|
10
|
-
padding-bottom: ${e=>t.paddingTopBottom.valuePx(e.size)};
|
|
11
|
-
|
|
12
|
-
&:focus-within {
|
|
13
|
-
z-index: 1;
|
|
14
|
-
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
:first-of-type {
|
|
18
|
-
border-top-left-radius: inherit;
|
|
19
|
-
border-top-right-radius: inherit;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
:last-of-type {
|
|
23
|
-
border-bottom-left-radius: inherit;
|
|
24
|
-
border-bottom-right-radius: inherit;
|
|
25
|
-
}
|
|
26
|
-
&:hover {
|
|
27
|
-
z-index: 1;
|
|
28
|
-
outline: ${e=>e.hasHoverBorder?`1px solid ${e.isDisabled===!0?e.theme.colors.grey3:e.theme.colors.primary}`:"none"};
|
|
29
|
-
.address-value {
|
|
30
|
-
background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?g.importantLight:e.theme.colors.background};
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
`,R=n.div`
|
|
34
|
-
display: flex;
|
|
35
|
-
flex-direction: column;
|
|
36
|
-
width: ${e=>e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
|
|
37
|
-
align-items: flex-end;
|
|
38
|
-
flex-grow: 1;
|
|
39
|
-
`,P=n.label`
|
|
40
|
-
display: flex;
|
|
41
|
-
color: ${e=>e.isError?g.important:e.theme.colors.grey1};
|
|
42
|
-
${e=>`${T.infoLabel.style(e.size)}`};
|
|
43
|
-
padding-right: 12px;
|
|
44
|
-
text-align: right;
|
|
45
|
-
`;export{E as W};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{u as L,Y as M,l as j,M as w,fk as t,j as r,aW as F,fD as O,o as B}from"./index-b-ZazAq5.js";import{n as P}from"./vendor-rkTZJa59.js";import{E as U}from"./ChargeCardListTable-Kx-_ZAZu-BIEC6Lus.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./Menu-Czq7AdhP-DuOfxCaz.js";import"./RoleWithToolTip-Dm4yIm31-B7MerbZ_.js";import"./CardNumberSubText-B_ZdgYVm-ChY45Xav.js";import"./ChargeCardUtils-BcwLwgz7-DtCcFgNi.js";const{spendManagement:{chargeCard:u}}=w.getLocalizedStrings(),_=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:i,creditAccount:c,creditAccountRepayment:C,depositAccountListWithDebitCardIssued:d,controllerEmails:h,signedInUser:p,onChargeCardRowClick:g,onBackClick:A,onReloadCards:k,onColumnSortConfigChanged:f})=>{const S=L(),y=M(),m=j.hasChargeCardAdminLevelAccess(y.loggedInUserRoleMap),E=e.cards.some(a=>a.type.code.includes("credit")),b=e.cards.some(a=>a.type.code.includes("debit")),v=E&&b?u.cardList.title.cards:b?u.cardList.title.debit:u.cardList.title.credit,I=m===!0?{creditCardCashbackOffer:`${i.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${i.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:t(i.cashbackSummary.cashbackEarned.amount),redeemedCashback:t(i.cashbackSummary.cashbackRedeemed.amount),availableCashback:t(i.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:i.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:i.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,R=o&&l&&m===!0?{creditAccountId:c.id,creditAccountLimit:t(c.limit.amount),creditAccountAvailableAmount:t(c.available.amount),creditAccountSpentAmount:t(c.balance.amount+c.hold.amount),creditAccountStatus:c.status,outstandingBalance:t(C.remainingAmountDue.amount)}:void 0,x=n&&s?{debitAccountId:d.depositAccounts.map(a=>a.id),debitAccountName:d.depositAccounts.map(a=>a.accountName),debitAccountBalance:d.depositAccounts.map(a=>t(a.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:d.depositAccounts.map(a=>a.accountStatus)}:void 0,D={isCreditCardOffered:o,isDebitCardOffered:n,isDebitCardEnabled:s,isCreditCardEnabled:l};return r.jsxs($,{children:[r.jsx(F,{title:v,backgroundColor:S.colors.grey4,style:{zIndex:3},onBackClick:A,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?r.jsx(O,{fetchState:e.fetchState,styles:{margin:"auto"}}):r.jsx(U,{controllerEmails:h,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:c,creditAccountRepayment:C,productInformation:D,cashbackInformation:I,creditAccountInformation:R,debitAccountInformation:x,depositAccountListWithDebitCardIssued:d,cardList:e.cards,showViewForCardUser:!0,signedInUser:p,fetchState:e.fetchState,onReloadCards:k,onChargeCardRowClick:g,uiState:e.uiState,onColumnSortConfigChanged:f,onChargeCardResendInviteClick:()=>{},onChargeCardRevokeInviteClick:()=>{}})]})},$=P.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
min-height: ${`calc(100vh - ${B.sp9})`};
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
width: 100%;
|
|
6
|
-
`;export{_ as default};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import{u as m,e as p,j as o,_ as u,bA as g,M as x,o as t,a_ as b,eP as k,bw as y,bm as C,v}from"./index-b-ZazAq5.js";import{n as l}from"./vendor-rkTZJa59.js";const w=l.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: row;
|
|
4
|
-
flex: 1 1 auto;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
max-width: calc(100% - 36px);
|
|
7
|
-
margin-left: ${t.sp3};
|
|
8
|
-
`,j=({backgroundColor:e,pickerValues:n,valueToLabel:a,selectedValue:i,onPickerSelectionChanged:s,isPickerDisabled:c,titleTextStyle:d,styles:h})=>{const r=m();return o.jsx(w,{style:h,children:o.jsx(C,{pickerValues:n,valueToLabel:a,selectedValue:i,onPickerSelectionChanged:s,backgroundColor:e,titleTextStyle:d??v.largeRegular,titleColor:r.colors.primary,selectedOptionColor:r.colors.primary,isDisabled:c})})},{common:{navBar:{back:$}}}=x.getLocalizedStrings(),S={navBarHeight:b},f=l.div`
|
|
9
|
-
display: flex;
|
|
10
|
-
align-items: center;
|
|
11
|
-
min-height: ${e=>S.navBarHeight.valuePx(e.windowSize)};
|
|
12
|
-
background-color: ${e=>e.bgColor};
|
|
13
|
-
`,T=l.div``,P=l(y)`
|
|
14
|
-
cursor: pointer;
|
|
15
|
-
width: ${t.sp4};
|
|
16
|
-
height: ${t.sp4};
|
|
17
|
-
color: ${e=>e.theme.colors.hero};
|
|
18
|
-
&:hover {
|
|
19
|
-
color: ${e=>e.theme.colors.primary};
|
|
20
|
-
}
|
|
21
|
-
`,B=l(k)`
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
width: 20px;
|
|
24
|
-
min-width: 20px;
|
|
25
|
-
height: 20px;
|
|
26
|
-
color: ${e=>e.theme.colors.hero};
|
|
27
|
-
&:hover {
|
|
28
|
-
color: ${e=>e.theme.colors.primary};
|
|
29
|
-
}
|
|
30
|
-
`;function z({picker:e,backgroundColor:n,showMenuIcon:a,rightSideComponent:i,onBackClick:s,onClickMenuIcon:c}){const d=m(),h=p(),r=n??d.colors.grey5;return o.jsxs(f,{bgColor:r,windowSize:h,children:[a?o.jsx(B,{onClick:c,"data-testid":u("nav-bar-menu-button")}):o.jsx(g,{style:{marginTop:t.sp1,height:t.sp4},title:$,enterDelay:600,placement:"bottom",children:o.jsx(P,{"data-testid":u("nav-bar-back-button"),onClick:s})}),o.jsx(j,{...e,backgroundColor:r}),i!=null?o.jsx(T,{children:i}):null]})}export{z as R};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{v as e,q as a}from"./index-b-ZazAq5.js";const r=a[5],o=59,i=a[5],l=e.standardRegular.lineHeightValue,n=1,s=1e3;export{l as A,i as E,n as I,s as L,o as a,r as t};
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import{e as H,hr as xe,M as B,u as q,y as be,j as t,_ as _e,bf as Se,hq as ke,aY as we,aW as ve,hs as Be,ht as je,o as u,a6 as Oe,m as $e,C as F,aj as le,E as ie,a8 as Pe,q as j,a$ as Te,bK as De,bL as Ne,bM as Ee,c as a,n as ce,bc as Ie,b7 as Me,aw as Ae,v as Z,av as Le,ab as Fe,b8 as Ve,ba as Re,l as ze}from"./index-b-ZazAq5.js";import{b as x,n as m,f as We}from"./vendor-rkTZJa59.js";import{p as Ke,d as Ye,y as G,b as de,u as ee}from"./chartTypes-Cknnnhq_-DeXPyHuq.js";import{V as Ge}from"./toChartData-C6ap15NT-C4C_iiHg.js";import{m as V}from"./analyticsHelper-C37dCyKv-CGyvCbtY.js";import{p as He}from"./TimeRangeSwitcher-CnoZ9Rqp-B5iNAfYV.js";import{M as qe}from"./TimeframeSwitcherWithToggle-yLA5y4zJ-4o4duI3A.js";import{C as Je}from"./NoDataChart-Bk9eWo52-DcgFDiHH.js";import{d as Ue}from"./NoDataTable-DCQbtvPN-DodiAtKz.js";import{H as Qe,k as oe}from"./detailCommon-CKa5_aP2-yoaB_aFJ.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{R as Xe,W as J}from"./CollapsableReportTable-ULd7PQST-zRaWsZKw.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-CElz2Cb0-yR23ijYO.js";import{d as re}from"./mapLoadingInProgressToTreeNode-DttwbPj7-ClOsgYHo.js";import{l as Ze}from"./mapSpacerToTreeNode-CeH4tptC-DDar-aaX.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./TimeframeSwitcher-W5kHnuHI-BadD6oo8.js";import"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";import"./AccountRow-D01C0A0f-CckYNleY.js";const eo=m.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
`,oo=m.div`
|
|
4
|
-
flex: display;
|
|
5
|
-
opacity: 0.85;
|
|
6
|
-
width: 320px;
|
|
7
|
-
border-radius: ${u.sp1};
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
padding: ${u.sp3};
|
|
10
|
-
background-color: ${e=>e.theme.colors.black};
|
|
11
|
-
`,ae=m.div`
|
|
12
|
-
display: flex;
|
|
13
|
-
justify-content: space-between;
|
|
14
|
-
`,te=m(ce)`
|
|
15
|
-
color: ${e=>e.color??a.neutralGrey2Light};
|
|
16
|
-
text-align: left;
|
|
17
|
-
`,ne=m(ce)`
|
|
18
|
-
color: ${e=>e.color??a.neutralGrey2Light};
|
|
19
|
-
text-align: right;
|
|
20
|
-
`,ro=m.div`
|
|
21
|
-
margin: ${u.sp2} ${u.sp0} ${u.sp2} ${u.sp0};
|
|
22
|
-
width: 100%;
|
|
23
|
-
height: 1px;
|
|
24
|
-
background-color: ${a.neutralGrey3Dark};
|
|
25
|
-
`,ao=({active:e,payload:r,barName:o})=>{const s=[];if(r!==void 0&&e===!0){const l=r.filter(C=>C.name==o)[0],i=l.payload,h=l.color,n={amount:i.record[o].amount?.amount??0,currencyCode:i.record[o].amount?.currencyCode??"",currencySymbol:i.record[o].amount?.currencySymbol??""},p={amount:0,currencyCode:"",currencySymbol:""};let g=0,c;for(c in i.record)c.endsWith("_actual")&&(g+=i.record[c].amount?.amount??0);p.amount=g,p.currencyCode=n.currencyCode,p.currencySymbol=n.currencySymbol,s.push({barName:de(o),actual:n,color:h,total:p,timeframeTick:i.timeLabel})}return s},to=({barLabelsWithValues:e,getVendorName:r})=>t.jsx(eo,{children:t.jsxs(oo,{children:[t.jsxs(ae,{children:[t.jsx(te,{color:e[0].color,children:`${r(e[0].timeframeTick,e[0].barName)}`}),t.jsx(ne,{color:e[0].color,children:`${ee(e[0].actual)}`})]}),t.jsx(ro,{}),t.jsxs(ae,{children:[t.jsx(te,{color:a.primaryDark,children:`${B.getLocalizedStrings().chartCard.total}`}),t.jsx(ne,{children:`${ee(e[0].total)}`})]})]})}),no=e=>{const r=ao({...e});return r.length===0?null:t.jsx(to,{barLabelsWithValues:r,getVendorName:e.getVendorName})},so=We.memo(no),se=[a.graphColor34,a.graphColor05,a.graphColor08,a.graphColor11,a.graphColor13,a.graphColor19,a.graphColor29,a.graphColor28,a.graphColor20,a.graphColor21,a.graphColor22,a.graphColor14,a.graphColor35,a.graphColor31,a.graphColor33,a.graphColor32,a.graphColor36,a.graphColor02,a.graphColor06,a.graphColor04,a.graphColor10,a.graphColor12,a.graphColor15,a.graphColor18,a.graphColor17,a.graphColor07,a.graphColor34Dark,a.graphColor05Dark,a.graphColor08Dark,a.graphColor11Dark,a.graphColor13Dark,a.graphColor19Dark,a.graphColor29Dark,a.graphColor28Dark,a.graphColor20Dark,a.graphColor21Dark,a.graphColor22Dark,a.graphColor14Dark,a.graphColor35Dark,a.graphColor31Dark,a.graphColor33Dark,a.graphColor32Dark,a.graphColor36Dark,a.graphColor02Dark,a.graphColor06Dark,a.graphColor04Dark,a.graphColor10Dark,a.graphColor12Dark,a.graphColor15Dark,a.graphColor18Dark,a.graphColor17Dark,a.graphColor07Dark];class N{_barColors;_barColorsKeyWise;_defaultColor;constructor(){this._defaultColor=a.graphColor34,this._barColors=se.slice(),this._barColorsKeyWise=new Map}static#e=new N;getBarColor(r){const o=N.instance();return o._barColorsKeyWise.has(r)||(o._barColors.length===0&&(o._barColors=se.slice()),o._barColorsKeyWise.set(r,o._barColors.shift()??o._defaultColor)),o._barColorsKeyWise.get(r)}shouldUpdate(r){const o=N.instance(),s=Array.from(o._barColorsKeyWise.keys()).sort();return!ie(s,r)}static init(){return this.#e=new N,this.#e}static instance(){return this.#e}}const lo=N.instance(),io=(e,r)=>{const o=new Set,s={};let l;const i=r.top4VendorsAndOthers;return Object.keys(i).length>0&&Object.keys(i).forEach(h=>{i[h].forEach((n,p)=>{const g=`vendor_${p}`,c=Ke(g,"actual");o.add(c),l==null&&n.balance!=null&&(l=c),s[c]!=null?s[c].push({key:c,balance:n.balance}):s[c]=[{key:c,balance:n.balance}]})}),l!=null?Ge(e,[...o],l,s):void 0},co=m.div`
|
|
26
|
-
width: ${e=>e.width}px;
|
|
27
|
-
height: ${e=>e.height}px;
|
|
28
|
-
`;function po({selectedRangeReport:e,width:r,height:o,showBarHoverBackground:s=!1,isDetailPage:l=!1}){const i=x.useRef(!1),h=lo,[n,p]=x.useState(void 0);x.useEffect(()=>{i.current=!0},[]);const g=io(e.firstMonthOfFY,e),c=()=>{const d=[];return g?.orderedKeys.forEach(b=>{const S=l===!0&&!i.current;d.push(C(b,S))}),d},C=(d,b)=>t.jsx(Re,{name:d,animationDuration:b?500:void 0,style:{cursor:"pointer"},dataKey:S=>{const v=S.record;return(v[d]?.amount!=null?v[d].amount:void 0)?.amount??0},stackId:"chartByTimeSeries",fill:h.getBarColor(de(d)),onMouseEnter:()=>{n!==d&&p(d)},onMouseLeave:()=>{n!=null&&p(void 0)}},d),_=({active:d,payload:b})=>b?.find(S=>S.name===n)!=null&&n!=null&&d===!0?t.jsx(so,{active:d,payload:b,barName:n,getVendorName:f}):null,f=(d,b)=>{const S=ze.getOpexVendorTimeframeKey(d);try{const v=b.split("_")[1];return e.top4VendorsAndOthers[S][parseInt(v)].vendor.name}catch(v){return console.warn("Was not able to parse vendor index for tooltip ",v),""}};return g==null?null:t.jsx(ho,{chartData:g,showBarHoverBackground:s,barElements:c(),customToolTipContent:t.jsx(_,{}),width:r,height:o,isDetailPage:l===!0})}const ho=({chartData:e,barElements:r,customToolTipContent:o,width:s,height:l,showBarHoverBackground:i=!1,isDetailPage:h})=>{const n=q(),p=Ye(e),g=i!==!1,c=h?(s-60)/G.operating_expenses_by_vendor*(G.operating_expenses_by_vendor-e.timeseries.length):20;return t.jsx(co,{width:s,height:l,children:t.jsx(le,{children:({height:C,width:_})=>t.jsxs(Ie,{width:_,height:C,stackOffset:"sign",data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:h?j[5]:30,margin:{top:5,right:c,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[t.jsx(Me,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:n.colors.grey3}),t.jsx(Ae,{dataKey:f=>f.timeLabel.label,type:"category",axisLine:{stroke:n.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:n.colors.hero,...Z.extraSmallRegular.cssObject}}),t.jsx(Le,{type:"number",axisLine:!1,tickLine:!1,tick:{color:n.colors.hero,...Z.extraSmallRegular.cssObject},tickFormatter:f=>Fe("0,0.[00]a",f,p)}),t.jsx(Ve,{wrapperStyle:{zIndex:2},cursor:g?{stroke:n.colors.background,strokeWidth:(_-120)/G.operating_expenses_by_vendor,fill:n.colors.background}:!1,content:o,allowEscapeViewBox:{x:!1,y:!0}}),r]})})})};function mo(e){return{locale_id:e.localeId,show_negative_amount_in_parenthesis:e.showNegativeAmountInParenthesis,filter_accounts_with_nil_balances:e.filterAccountsWithNilBalances,filter_account_groups_with_nil_balances:e.filterAccountGroupsWithNilBalances,company_name:e.companyName,statement_file_type:e.statementFileType,timeframe:e.timeframe,timezone:e.timezone,additional_balances:e.additionalBalances,format:e.format,sort_key:e.sortKey,sort_order:e.sortOrder,is_compare_mode_on:e.isCompareModeOn,search_string:e.searchString}}function go(e){const{isCompareModeOn:r,report:o,currentTenantCompanyName:s}=e,l=[];if(r&&(l.push("this_period_vs_last_period_percent"),l.push("this_period_vs_last_period")),o.dataAvailable!=null)return{localeId:B.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",companyName:s,statementFileType:"excel",timeframe:e.timeframe,timezone:e.timezone,additionalBalances:l,format:e.reportType,sortKey:e.sortKey,sortOrder:e.sortOrder,isCompareModeOn:e.isCompareModeOn,searchString:e.searchString}}function uo(e){const r=go(e);if(r!=null)return fo(e.statementEndPoint,e.authParams,r)}async function fo(e,r,o){const s=B.getLocalizedStrings().downloadReport,l=`${e}?query=${encodeURIComponent(JSON.stringify(mo(o)))}`;try{const i=await De({urlEndPoint:l,authParams:r,fileType:o.statementFileType});if(i.ok){const h=Ne(i.headers,s.defaultFileName),n=await i.arrayBuffer();Ee(n,h)}else console.error(`${s.reportErrorMessage} ${i.statusText}`)}catch(i){console.error(`${s.reportErrorMessage} ${JSON.stringify(i)}`)}}function Co({title:e,balances:r,config:o,nodeId:s}){return{children:[],id:s??J("title_string_only",[]),isLastNode:!1,reportElementData:{element:{kind:"title_string_only",title:e,data:r,numOfBalances:r.length},config:o}}}function yo({opExByVendor:e,numOfBalances:r,title:o,isLastNode:s,config:l}){const i=e.account?.accountName??"-",h=e.classBase?.className??"-",n=J("vendor_row",[],o+i+h);return{children:[],id:n,isLastNode:s,reportElementData:{element:{kind:"vendor_row",title:o,data:e,numOfBalances:r},config:l}}}function xo({title:e,balances:r,config:o,numOfBalances:s,nodeId:l}){return{children:[],id:l??J("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:r,numOfBalances:s},config:o}}}const bo=(e,r,o,s=!0)=>{const l=o.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+1:e.filter.balancesRange.numberOfPeriods,i=e.totalBalances!=null?[...e.totalBalances.balances,...e.totalBalances.additionalBalances]:[];e.totalBalances?.totalBalance!=null&&i.push(e.totalBalances.totalBalance);const h=pe({balances:i,config:o}),n=[];n.push(h);const p=B.getLocalizedStrings().vendors.opExByVendor,g=o.opexByVendorConfig?.sortOrSearchInProgress??!1,c=o.opexByVendorConfig?.pageFetchInProgress??!1;if(g===!0)[...Array(10)].forEach((C,_)=>{n.push(re({title:`${_}+${p.loading}`,balances:i,config:o}))});else if(e.opexBalances.length>0){if(!r.searchString){const f=xo({title:B.getLocalizedStrings().chartCard.total,balances:e.totalBalances,config:o,numOfBalances:l});n.push(f)}const C=r.pageToken[r.timeframe],_=e.opexBalances.map((f,d)=>yo({opExByVendor:f,title:f.vendor.name,numOfBalances:l,isLastNode:d===e.opexBalances.length-1&&C==null,config:o}));n.push(..._),c===!0&&[...Array(1)].forEach((f,d)=>{n.push(re({title:`${d}+${p.loading}`,balances:i,config:o}))}),[...Array(1)].forEach((f,d)=>{n.push(Ze({title:`${d}+${p.loading}`,balances:[],config:o}))})}return e.opexBalances.length===0&&g!==!0&&n.push(Co({title:B.getLocalizedStrings().vendors.opExByVendor.noResultsFound,balances:i,config:o})),{config:o,headerNodes:s?[h]:[],contentNodes:n}};function _o(e,r,o,s=!0){Object.assign(e.config,r);const l=So(o),i=pe({balances:l,config:r});return{config:r,headerNodes:s?[i]:[],contentNodes:[i,...e.contentNodes.slice(1)]}}const So=e=>e.totalBalances!=null?[...e.totalBalances.balances,...e.totalBalances.additionalBalances]:[],E={chartHeight:new F(288,360),wrapperPadding:new F(j[3],j[3],j[8]),contentPaddingLeft:new F(j[0],j[0],j[0]),contentPaddingRight:new F(j[3],j[3],j[8])},ko=m.div`
|
|
29
|
-
display: flex;
|
|
30
|
-
flex: 1 1 auto;
|
|
31
|
-
min-height: 100%;
|
|
32
|
-
flex-direction: column;
|
|
33
|
-
width: 100%;
|
|
34
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
35
|
-
padding: ${u.sp0};
|
|
36
|
-
gap: 2px;
|
|
37
|
-
`,wo=m.div`
|
|
38
|
-
position: relative;
|
|
39
|
-
box-shadow: ${e=>`2px 2px ${u.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
40
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
41
|
-
padding-left: ${e=>E.wrapperPadding.valuePx(e.windowSize)};
|
|
42
|
-
padding-right: ${e=>E.wrapperPadding.valuePx(e.windowSize)};
|
|
43
|
-
`,vo=m.div`
|
|
44
|
-
display: flex;
|
|
45
|
-
width: 100%;
|
|
46
|
-
height: 100vh;
|
|
47
|
-
flex-direction: row;
|
|
48
|
-
justify-content: center;
|
|
49
|
-
align-items: center;
|
|
50
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
51
|
-
`,Bo=m.div`
|
|
52
|
-
display: flex;
|
|
53
|
-
width: 100%;
|
|
54
|
-
height: 100vh;
|
|
55
|
-
flex-direction: column;
|
|
56
|
-
justify-content: center;
|
|
57
|
-
align-items: center;
|
|
58
|
-
`,jo=m.div`
|
|
59
|
-
height: 96px;
|
|
60
|
-
width: 96px;
|
|
61
|
-
background: ${e=>e.theme.colors.background};
|
|
62
|
-
border-radius: 50%;
|
|
63
|
-
cursor: pointer;
|
|
64
|
-
& svg {
|
|
65
|
-
margin: ${u.sp5};
|
|
66
|
-
color: ${e=>e.theme.colors.grey1};
|
|
67
|
-
}
|
|
68
|
-
&:hover {
|
|
69
|
-
& svg {
|
|
70
|
-
color: ${e=>e.theme.colors.primary};
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
`,Oo=m(Oe)`
|
|
74
|
-
margin-top: ${u.sp3};
|
|
75
|
-
color: ${e=>e.theme.colors.hero};
|
|
76
|
-
`,$o=m.div`
|
|
77
|
-
display: flex;
|
|
78
|
-
padding: ${u.sp2} ${u.sp0} ${u.sp4} ${u.sp0};
|
|
79
|
-
`,Po=m.div``,To=m.div``,Do=m.div`
|
|
80
|
-
display: flex;
|
|
81
|
-
flex: 1 1 auto;
|
|
82
|
-
flex-direction: column;
|
|
83
|
-
height: ${e=>E.chartHeight.valuePx(e.windowSize)};
|
|
84
|
-
padding-bottom: ${u.sp6};
|
|
85
|
-
`,No=m.div`
|
|
86
|
-
display: flex;
|
|
87
|
-
`,Eo=m.div`
|
|
88
|
-
margin-top: ${u.sp5};
|
|
89
|
-
margin-bottom: ${u.sp6};
|
|
90
|
-
`,Io=m.div`
|
|
91
|
-
display: flex;
|
|
92
|
-
position: sticky;
|
|
93
|
-
justify-content: center;
|
|
94
|
-
padding-top: ${u.sp8};
|
|
95
|
-
padding-left: ${e=>E.wrapperPadding.valuePx(e.windowSize)};
|
|
96
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
97
|
-
`,Mo=m.div`
|
|
98
|
-
width: 100%;
|
|
99
|
-
height: calc(100vh - ${u.sp11});
|
|
100
|
-
`,Ao=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?t.jsx(vo,{children:t.jsx($e,{size:"ExtraLarge",start:!0})}):null,mr=({report:e,vendorTabsToShow:r,uiState:o,downloadParams:s,onVendorTabSelectionChanged:l,onReloadReport:i,onBackClick:h,onFetchOpExByVendors:n,onAdditionalBalanceSelectionChanged:p,onTimeframeSelectionChanged:g,onSortOrderChanged:c,onSortOrSearchStarted:C,onVendorNameAndBalanceClicked:_,onPageFetchStarted:f,previousTabPosition:d,setPreviousTabPosition:b,updateDownloadStateHandler:S,onClearSearch:v,analytics:O,onClickMenuIcon:z})=>{const[P,I]=x.useState(o.searchString[o.timeframe]),[M,A]=x.useState(!1),k=H(),T=x.useRef(null),W=xe(r),he=W.length>1,me=B.getLocalizedStrings().reports.common,U=B.getLocalizedStrings().vendors,Q=q(),ge=["month","quarter"],ue=e.availableNumberOfPeriods!=null&&e.availableNumberOfPeriods<2,L=o.mode==="compare_mode"&&!ue,K=e.allTimeframeTicks.length===0,{timeframe:$}=o,D=o.searchString[$],fe=x.useCallback(w=>{n($,D,w)},[$,D,n]),Ce=x.useCallback((w,y)=>{window.scrollTo({top:T.current?.offsetTop,behavior:"smooth"}),w.length>0?(C(!0),n(y,w,!1)):(C(!1),v(y))},[v,n,C]),X=x.useRef(be((w,y)=>Ce(w,y),500,{trailing:!0})).current,ye=(w,y)=>{c(w,y,$),C(!0),n($,D,!1)};if(x.useEffect(()=>{async function w(){await uo({report:e,isCompareModeOn:L,downloadState:o.downloadState,reportType:"more_detailed",timeframe:o.timeframe,sortKey:o.sortKey[o.timeframe],sortOrder:o.sortOrder[o.timeframe],searchString:o.searchString[$],...s}),O?.trackDownload(R("operating_expenses_by_vendor"),V(o.timeframe),"excel",L),S("Completed")}M&&o.downloadState!=="In-Progress"&&(A(!1),S("In-Progress"),w())},[e,o,L,s,o.downloadState,M]),x.useEffect(()=>{I(D)},[D]),e.fetchState==="Error")return t.jsxs(Bo,{children:[t.jsx(jo,{"data-testid":_e("op-ex-by-vendor-reload-page"),onClick:i,children:t.jsx(Se,{})}),t.jsx(Oo,{children:me.failed})]});const Y=e.totalBalances?.totalBalance;if(o.sortOrSearchInProgress===!1&&o.pageFetchInProgress===!1&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"))return t.jsx(Ao,{fetchState:e.fetchState});if((e.fetchState==="Completed"||o.sortOrSearchInProgress===!0||o.pageFetchInProgress===!0)&&e.isReportGenerated===!0){const w=t.jsxs(t.Fragment,{children:[t.jsx(ke,{isSearchOpen:(D?.length??0)>0,searchPlaceHolder:U.common.searchPlaceholder,searchText:P??"",onSearchTextChanged:y=>{I(y),y.trim().length>=2?X(y,$):y.trim().length==0&&X("",$)},downloadPresent:!0}),t.jsx(we,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:K,isDownloading:o.downloadState==="In-Progress"}],onDownloadClick:async y=>{if(y==="excel")if(o.downloadState==="In-Progress"){console.log("Download is already in progress!");return}else A(!0)}}}})]});return t.jsxs(ko,{windowSize:k,children:[t.jsx(ve,{title:U.common.navBarTitle,subTitle:e.lastRefreshSuccessTime!=null?e.lastRefreshSuccessTime.utc(!0).fromNow():"",backgroundColor:Q.colors.grey5,onBackClick:h,rightSideComponent:w,showMenuIcon:k==="medium-compact"||k==="small",downloadPresent:!0,onClickMenuIcon:z,source:"OpExByVendorPage"}),t.jsxs(wo,{windowSize:k,children:[he?t.jsx(Be,{allTabs:W,selectedTab:W[1].id,containerStyle:{borderBottom:`2px solid ${Q.colors.grey3}`},onTabChange:y=>l(je(y.id)),previousTabPosition:d,setPreviousTabPosition:b}):null,t.jsx(Lo,{timeframes:ge,isCompareModeOn:L,firstMonthOfFY:e.firstMonthOfFY,allTimeframeTicks:e.allTimeframeTicks,selectedTimeframe:o.timeframe,selectedCOABalancesRange:e.filter.balancesRange,onAdditionalBalanceSelectionChanged:p,onTimeframeSelectionChanged:g,mode:o.mode,analytics:O}),Y!=null?t.jsx(Eo,{children:t.jsx(Qe,{balance:Y,dateText:Ro(Y)})}):null,t.jsx(Fo,{report:e,isEmptyPeriod:K})]}),t.jsx(Vo,{reference:T,report:e,uiState:o,isEmptyPeriod:K,onAdditionalBalanceSelectionChanged:p,onVendorNameAndBalanceClicked:_,onSortOrderChanged:ye,handleFetchOpExByVendor:fe,onPageFetchStarted:f,analytics:O})]})}return t.jsx(t.Fragment,{})},Lo=({timeframes:e,firstMonthOfFY:r,allTimeframeTicks:o,selectedCOABalancesRange:s,selectedTimeframe:l,onTimeframeSelectionChanged:i,onAdditionalBalanceSelectionChanged:h,mode:n,isCompareModeOn:p,analytics:g})=>t.jsx(To,{children:t.jsxs(Po,{children:[t.jsx($o,{children:t.jsx(qe,{timeframe:{allowedTimeframes:e,selectedTimeframe:l,onTimeframeSelectionChanged:c=>{g?.trackTimeframeSwitch(V(c),R("operating_expenses_by_vendor")),(c==="month"||c==="quarter")&&i(c),n==="compare_mode"&&!p&&h(p,p?["this_period_vs_last_period_percent"]:[])}},toggle:{label:B.getLocalizedStrings().compareSwitchLabel,isOn:p,isToggleDisabled:!1,onValueChanged:c=>{g?.trackCompareMode(c,R("operating_expenses_by_vendor"),V(l)),h(c,c?["this_period_vs_last_period_percent"]:[])}}})}),t.jsx(He,{firstMonthOfFY:r,timeframe:l,timeframeTicks:o,selection:{selectedTicks:oe(o,s),highlightedOfSelectedTicks:oe(o,s)}})]})}),Fo=({isEmptyPeriod:e,report:r})=>{const o=H();return e?t.jsx(No,{children:t.jsx(Je,{title:B.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(Do,{windowSize:o,children:t.jsx(le,{children:({height:s,width:l})=>t.jsx(po,{selectedRangeReport:r,width:l,height:s,isDetailPage:!0,showBarHoverBackground:!1})})})},Vo=({report:e,uiState:r,isEmptyPeriod:o,reference:s,onAdditionalBalanceSelectionChanged:l,onTableScroll:i,onSortOrderChanged:h,onVendorNameAndBalanceClicked:n,handleFetchOpExByVendor:p,onPageFetchStarted:g,analytics:c})=>{const C=r.mode==="compare_mode",_=k=>{c?.trackCompareFilterChange(k==="compare_mode_percent"?"percentage":"amount",R("operating_expenses_by_vendor"),V(r.timeframe),"dropdown"),l(C,[k==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period"])},f=r.selectedAdditionalBalances.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",[d,b]=x.useState(void 0),[S,v]=x.useState(void 0),O=H(),z=q(),P=!(O==="small"||O==="medium-compact");x.useEffect(()=>{const k={reportId:e.reportId,mode:r.mode==="compare_mode"?"this_period_vs_period_before":"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",showNegativeAmountInParenthesis:Te(),dataAvailable:e.dataAvailable,opexByVendorConfig:{sortKey:r.sortKey[r.timeframe],sortOrder:r.sortOrder[r.timeframe],isCompareModeOn:r.mode==="compare_mode",isAccountColumnShown:!0,isClassColumnShown:!0,onSortOrderChanged:h,sortOrSearchInProgress:r.sortOrSearchInProgress,pageFetchInProgress:r.pageFetchInProgress,onVendorNameAndBalanceClicked:n}};if(d==null||!ie(S,e)){const T=bo(e,r,k,P);v(e),b(T)}else{const T=_o(d,k,e,P);b(T)}},[r.mode,e]);const I=k=>k<e.opexBalances.length,M=()=>{r.pageToken[r.timeframe]!=null&&e.fetchState==="Completed"&&(g(),p(!0))},A=e.opexBalances.length;return t.jsx(Io,{windowSize:O,ref:s,children:o?t.jsx(Ue,{}):d!=null?t.jsx(Mo,{children:t.jsx(Xe,{backgroundColor:new Pe(z.colors.grey4),rootNodes:d,type:"name+balances_actual",compareMode:f,isSticky:{isStickyHeader:P,isStickyName:P},treeNodePadding:{left:E.contentPaddingLeft.value(O),right:E.contentPaddingRight.value(O)},nodeOpenStatus:{},scrollPosition:r.scrollPosition,onCompareModeChanged:_,onScroll:i,infiniteLoadingProps:{isItemLoaded:I,itemCount:A,loadMoreItems:M}})}):null})},Ro=e=>{const r=e.startDate,o=e.endDate,{vendors:s,dateFormat:l}=B.getLocalizedStrings();return`${s.opExByVendor.in} ${r.format(l.visual.MMMYYFormat)} - ${o.format(l.visual.MMMYYFormat)}`};export{mr as default};
|