@zeniai/web-cockpit-ui 1.13.94-dev → 1.13.95-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-C77hriAS-Bp9UERQr.js → ACHDetailsPage-CTeCxcke-DEZ1DdXH.js} +1 -1
- package/dist/assets/{AIPerformancePage-DWLZz5fl-xe6YeuvR.js → AIPerformancePage-DHndW6Jx-BmfxnNcs.js} +16 -16
- package/dist/assets/{AccountInfoPage-CHH8xpX7-OTuTPmWc.js → AccountInfoPage-DX6r16Bm-C_0exxSE.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-CslCCxyA-CKIHtSb5.js → AccountInfoPageContent-DuUO6Fmo-ChKBTH6K.js} +7 -7
- package/dist/assets/{AccountReconDetailsDrawerPage-Bg65723V-z_C0MUXO.js → AccountReconDetailsDrawerPage-XjxpxHaM-BlVBZ7kJ.js} +1 -1
- package/dist/assets/{AccountRow-CBhTc-CO-BhHbolQV.js → AccountRow-BUDNnxLp-lnjPiXai.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-C1FN6ldb-CTHlY162.js → AccountsPromoCardStack-BkYuVRiC-CxxRy5F_.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-DKbwVrFG-IuCuUpQj.js → AddAddressForCardDrawer-CaKymF5H-Dj9EwadM.js} +1 -1
- package/dist/assets/{AddToWalletPage-BLH7hMIs-p7f4w_jj.js → AddToWalletPage-CO_ranRc-Y0gvdbgy.js} +9 -9
- package/dist/assets/{AgingReportsPage-iXp5N9xa-BuwByTSa.js → AgingReportsPage-CmvGohzQ-CnwGJP78.js} +4 -4
- package/dist/assets/{AllUserItems-SiwAGR6X-CB3qDmMz.js → AllUserItems-Bcd_lx2s-D5cL7TJF.js} +5 -5
- package/dist/assets/{ApAgingDetailPage-CSv-Yx3u-CQfdnkLR.js → ApAgingDetailPage-B6h9L4qX-C7HrCT0Q.js} +2 -2
- package/dist/assets/{AppBasePage-BVhJh2iM-DhwgHBUl.js → AppBasePage-bPmQIx1U-LDUbxoeo.js} +1 -1
- package/dist/assets/{AppDrawerContent-TBHNokFo-a7xFQjLd.js → AppDrawerContent-D4e_1ju1-Dhj_wy1v.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-DmPsbDZd-DdnQZTKs.js → ApprovalRulesSettingsPage-D7d0RwUR-D1d_wH6A.js} +1 -1
- package/dist/assets/{ArAgingChart-CPyAljB5-C1xslsyT.js → ArAgingChart-CfBXj53W-SUndSl9y.js} +7 -7
- package/dist/assets/{ArAgingDetailPage-BLc5FDm2-BOdfR_tV.js → ArAgingDetailPage-D-HZa9vX-DvZl4P3_.js} +1 -1
- package/dist/assets/{AttachmentView-sMKTopf8-CQuqGqLW.js → AttachmentView-BF2v7v3I-BI4HJynu.js} +1 -1
- package/dist/assets/{BankAccountSection-DoGfRREZ-B2ezqzYk.js → BankAccountSection-Cm_J2y31-CDMRL_3y.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-BhSSRCzK-DNfJcwlK.js → BankAccountWarningSection-BnsmtuKk-DP1_s4k_.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-DIKMwQoQ-OeAXgZvH.js → BankConnectionsSettingsPage-BawBUQ6M-CMfekVh9.js} +22 -22
- package/dist/assets/{BillDetailPage-DSYeib0o-BwJVgfN9.js → BillDetailPage-DFHM1n3a-CZEScqpR.js} +5 -5
- package/dist/assets/{BillPayApprovalRuleDetailPage-DDFr9CL_-CYlqmWUc.js → BillPayApprovalRuleDetailPage-PGRG0N6y-BxcnUNyI.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-3Yak-MB--CaAqhGEn.js → BillPayApprovalRulesPage-ByawtRCM-DDp-vV61.js} +1 -1
- package/dist/assets/{BillPayPromoPage-nRvSJMZU-aGHL9LIB.js → BillPayPromoPage-BvA5aJV2-CaYtY57T.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-BWrp4v6b-DQFkIYKy.js → BillPaySetUpPage-D4dtDoPF-pJA12_gD.js} +1 -1
- package/dist/assets/{BillingSettingsPage-DtBZmdxq-BCytA-g_.js → BillingSettingsPage-C0c3igP5-ap-9LOcf.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-DCz41OgH-BEoVAqH0.js → BillsBulkReviewDrawerPage-ChobILB2-GJEoEUgd.js} +1 -1
- package/dist/assets/{BoxItem-DBi8kqn3-BDAOAuEh.js → BoxItem-qV71vsVl-DibKZa0V.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BfPqcCH3-Dr7d8VRo.js → BusinessVerificationPage-CYL-J6jv-Dor_XGL3.js} +1 -1
- package/dist/assets/{CardNumberSubText-CkmaTF_l-Kwic4R2k.js → CardNumberSubText-BkMaMdcB-ChxBB6AF.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BlcEXdet-B9yAfRkP.js → CashbackDetailPage-Bkvu7uCA-BYpe0YrA.js} +9 -9
- package/dist/assets/{ChargeCardDetailPage-BARovLsv-j69HZx4R.js → ChargeCardDetailPage-B8JhA6aM-0cEMZGgL.js} +1 -1
- package/dist/assets/{ChargeCardListPage-C1XbbZJ2-BE2YBCij.js → ChargeCardListPage-DayFsVdx-7umY7GOL.js} +1 -1
- package/dist/assets/{ChargeCardListTable-HXAc8Lqx-wKEbgM6d.js → ChargeCardListTable-Ck15ShIF-B2Jd56oy.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-B8aTlJ8l-5K-z8G1R.js → ChargeCardPromoPage-ZvHc9uZ8-BCAw2lta.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-XI-WplXI-vUgUcPsh.js → ChargeCardSetupPage-QROShfxq-C4kf_hhx.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-CYopWAg4-fr_o5tML.js → ChargeCardStatementsPage-DlFimewo-dsUOLazz.js} +1 -1
- package/dist/assets/{ChargeCardUtils-BEtXxds6-iY4L_brM.js → ChargeCardUtils-Buf1Xa4X-CfiY3Rp3.js} +1 -1
- package/dist/assets/{ChaseOverlay-BySoceqB-DYKQzq4d.js → ChaseOverlay-Cp5-sc7K-q-w46Qrq.js} +2 -2
- package/dist/assets/CheckDepositDrawerPage-ClJh5smc-CaqzSYGu.js +206 -0
- package/dist/assets/CollapsableReportTable-CKu2AawV-BR9Jh8-F.js +2932 -0
- package/dist/assets/{CompanyOfficerDetailsSection-QQIIHW41-xH4MKkl5.js → CompanyOfficerDetailsSection-CHi8zT6M-2vvUSfpo.js} +1 -1
- package/dist/assets/{CompanyPassportCard-D2b6Ztes-ot6tMI66.js → CompanyPassportCard-DW8AIAcy-ChQaVIG_.js} +1 -1
- package/dist/assets/{CompanyPassportPage-Bkd2l8Xj-psAfEsoz.js → CompanyPassportPage-CG1U8xfQ-z31zr_09.js} +1 -1
- package/dist/assets/{CompleteProfile-DYv1reCa-3AIo6bvw.js → CompleteProfile-Lnfcm8Mq-A9UckRww.js} +1 -1
- package/dist/assets/{ConfettiBurst-CDUVssuw-hjqW22eh.js → ConfettiBurst-Ca6cfnuf-0CP5GWxx.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-mlx8B4Jv-DUHw5PtN.js → CreateOrEditVendorPage-BuBYOkXS-C5Z5SPL2.js} +5 -5
- package/dist/assets/{CreditCardPaymentDrawerPage-DBTT4Ptu-Dc8GvYzf.js → CreditCardPaymentDrawerPage-8d6cEGBi-DeW_T_vn.js} +6 -6
- package/dist/assets/{CreditCardPaymentPlgSection-CH8Ic2sK-CXQECn24.js → CreditCardPaymentPlgSection-B9DUkdWm-rJN3aibi.js} +5 -5
- package/dist/assets/{CurrencySelectField-BpuAi_Wp-COgh-Qif.js → CurrencySelectField-BUtL_oMC-vjfdBgAC.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-CJn_cLk6-D6OFbgAy.js → CustomerOnboardingActivationPage-BZIt8djd-6s7QTCQc.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DLE82ybr-CRS91glj.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Cr10sdrX-B55KDkTQ.js → CustomerOnboardingDetailPageSkeleton-n8n9mzuh-1Pj7fv61.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-9Jl0VpUx-BiS5ICyP.js → CustomerOnboardingNoStepsPage-f_PloOrf-B7YeJUhG.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-OCG7AjuD-DJnYkmg8.js → CustomerOnboardingPage-B_vGVChf-BBpgC_P8.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-vXKRghjP-hldhfPSg.js → CustomerOnboardingProductSuitePage-hXloSEH1-tV_sIlVM.js} +1 -1
- package/dist/assets/{Dashboard-BOJNXopc-byUhih3W.js → Dashboard-DN58fmab-BSfq0dju.js} +1 -1
- package/dist/assets/DashboardReportPage-DIx6h5UA-DE9i6tXD.js +370 -0
- package/dist/assets/{DepositAccTransactionItem-BVGKoyyZ-CtkDwopW.js → DepositAccTransactionItem-DNv9nV2t-sabH0i0g.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-kkdrU5Mo-3snjZA89.js → DepositAccTransactionListPage-CWEabc_8-D6J4mdt4.js} +1 -1
- package/dist/assets/{DocumentSecurityBanner-C_LxmFZ8-Bt6Lz_p3.js → DocumentSecurityBanner-B6VGrs_d-jwQl4fBm.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-BhE0GcbL-CklyzXqp.js → DomesticWireDetailsPage-BYIbT0cd-MsB82_Nr.js} +1 -1
- package/dist/assets/{DownloadOverlay-LH6MXphu-kt8sJEjY.js → DownloadOverlay-RhRX-Goq-0pJzo8tq.js} +1 -1
- package/dist/assets/{DrawerPage-C3wbST4Q-CLJNN7bG.js → DrawerPage-C01myF5D-L_T-Mi_O.js} +1 -1
- package/dist/assets/{EditPeoplePage-C53vRVhe-BSK-mQZ3.js → EditPeoplePage-BMm08q5E-B2z1Cy4i.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-BBQIYJrj-a2qRFgyX.js → EditReimbursementDetailPage-C5FnQpPh-sK_g6wjY.js} +1 -1
- package/dist/assets/{EntityDetailPage-Ba0fzVNR-DpkKGCO_.js → EntityDetailPage-BkpeRVR1-B6XILqHa.js} +1 -1
- package/dist/assets/{EntitySummarySection-DA6Vsjwj-DPw5fEaJ.js → EntitySummarySection-DpxcfRng-Umu6Fw_D.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-glEgQT6c-Dj_Wb6rt.js → ExpenseAutomationOverviewPage-BJ1ba0Oz-BAbt9eHm.js} +3 -3
- package/dist/assets/{ExpenseAutomationPage-CsJiE1ap-BnkOrNDa.js → ExpenseAutomationPage-C7GKFlgt-B1fB3w-U.js} +3 -3
- package/dist/assets/{ExpressPayPage-i9LGeqy_-wmqq-4AX.js → ExpressPayPage-pgy9CEaP-C4tOK1_E.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-Bl2C_tQd-DJQ0amFl.js → FeaturePreviewPage-Bpnn3Eao-DWGadm42.js} +1 -1
- package/dist/assets/{FollowStepsSection-KcgZahKS-BPKITv3B.js → FollowStepsSection-D4Do4Mtd-Bgez_ajJ.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-D2NH1omi-CTNsB5Nb.js → GlobalReviewListPage-D_50hOfK-D74gQQCX.js} +8 -8
- package/dist/assets/{HelpButton-YqQNv-UM-CruBHlAV.js → HelpButton-BBLa-U8R-5BfdLJDT.js} +1 -1
- package/dist/assets/{InformationCardStack-OhjUoNBj-DBwYrPQy.js → InformationCardStack-CNCEEO1z-BPT-WizN.js} +1 -1
- package/dist/assets/{InsightsCardStack-CDrOBeoJ-DTHqugyU.js → InsightsCardStack-BangbyzX-C-dfE00z.js} +1 -1
- package/dist/assets/{InsightsSection-CBaItqYN-Dz4Ilz30.js → InsightsSection-DNfDisn9-CMHRFpDc.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-CuPS5otW-BirDKZz3.js → IntegrationsSettingsPage-ColuS6Tk-CdBeqhKb.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-DQsW7Uzb-CUGMa7hJ.js → InternationalWireSwiftDetailsPage-BG4x1tCL-5AAkqkwh.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-BE1xcmQo-s1fsXNah.js → InternationalWireVerificationPage-B22ThS6Q-B85Ehc7_.js} +1 -1
- package/dist/assets/{InviteFormPage-CUDsc0Y3-BT3er91i.js → InviteFormPage-Cixm85d1-N6lcykk5.js} +15 -15
- package/dist/assets/{InvitePageListView-DJildrs1-BRenHpuK.js → InvitePageListView-DBcwM1lk-DLgO5vEV.js} +1 -1
- package/dist/assets/{InvitePeoplePage-6upCRZjT-Cy37Dy58.js → InvitePeoplePage-DIq28HlK-DxgsZvQF.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-CyacFv78-bjw3W0fU.js → InvoiceUploadSection-D5vmrKLq-CaJvqPBS.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-6iTrYJEM-BjNouHGB.js → IssueChargeCardPage-DjW6ZTWB-DVAoNzJY.js} +1 -1
- package/dist/assets/{LabeledAddressValue-CDy1Q4J--CkXQxeFy.js → LabeledAddressValue-CDidTB7_-BYCZE34N.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-DbR_ehJJ-kXFBzBc8.js → LabeledAddressValueField-CVVc36IB-mrR3y5nG.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-CXNDX5oe-Cc00saAR.js → LabeledControlledCheckBoxField-CGN805d2-BvA9NcSn.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-B_TreAUT-DzJBfD6q.js → LabeledCreatableSingleSelectField-PunIRbD6-DSy2bCTv.js} +1 -1
- package/dist/assets/{LabeledDocumentField-CUTXDuQL-CB7-inDg.js → LabeledDocumentField-DgGIyJH_-hDHBkxrT.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-yPu_zrn8-f9OAJ2TU.js → LabeledDropDownFormattedTextField-BDVtmFqG-j2xXgXWn.js} +1 -1
- package/dist/assets/{LabeledText-gvxUV2ku-Cf06N418.js → LabeledText-BW7VKf6E-PGkPpMVO.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Bh1Ts3Yn-DTgSGsxS.js → LabeledUserSingleSelectWithSubtitlesField-Cmc8qo-r-M7EEhfxE.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-xA0_8wFb-Dd3nBqBN.js → LabeledZeniRolesDropDownField-Cl6BAapU-DdwZAoZU.js} +9 -9
- package/dist/assets/{LinkJETransactionPage-f4-YwvQe-D8ooeWsr.js → LinkJETransactionPage-CtYsRhte-gAytw1dS.js} +1 -1
- package/dist/assets/{LowBalancePopup-C7oCDqcx-2Rje4uhG.js → LowBalancePopup-C_c9t4ho-r8GHfwbA.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-Bqe3RDsV-CZa4p9hj.js → MagicLinkACHDetailsPage-KZmNuH71-eLFzvgps.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-DPU-8FAH-CSBTwaek.js → MagicLinkDomesticWireDetailsPage-DCkibDQs-DjBoqAab.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-DeXZfP0h-D3k-uGEY.js → MagicLinkInternationalWireDetailsPage-CR1BJE-p-BVc964tl.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-CArToNjz-DqyiFP-T.js → MagicLinkSuccessPage-D9VscY-N-BvVpg8o7.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CP0OhLNZ-BeBei-_2.js → MagicLinkTitleSection-DwxRtyUO-Dj3CNxLB.js} +1 -1
- package/dist/assets/{MailingDetailsSection-TgN7VRhK-CYe74YT_.js → MailingDetailsSection-B3AtsI4y-Cg3vKD8Z.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-vr7DE2aj-DAZs4R6M.js → MeetingCalenderPopup-5ibEhgcm-p1sBC8Am.js} +1 -1
- package/dist/assets/{Menu-DNn9-W-C-DaYpba-h.js → Menu-B3jEZq8P-CBWyxFfA.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-TawXQ1Zb-BllmvVI4.js → MyBankConnectionsSettingsPage-BLqGgTGR-DFR7-MdN.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-CPgV9E8n-BAkl0Cop.js → MyPendingActivationChargeCardListPage-GXGFSZqe-DQBMtuje.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DuXTV0pM-5CplCRBg.js → MyProfileSettingsPage-CwBD0rUF-Bso1ueKy.js} +1 -1
- package/dist/assets/{NavBarWithPicker-Cdali7jG-B142_aE-.js → NavBarWithPicker-wTsy1SAG-B0aq1ozI.js} +1 -1
- package/dist/assets/{NavigationArrow-DaoZtCA8-BHc3euQ9.js → NavigationArrow-PxVotVGU-BN6LQQ8z.js} +2 -2
- package/dist/assets/{NavigationDots-BhF2AV0Y-DUHF5KEe.js → NavigationDots-BhLlf9IS-Cc6rFgNx.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BaoJ7yB8-BF04eMSd.js → NewGlobalMerchantPage-BnXD_AkF-7b5iQIvJ.js} +1 -1
- package/dist/assets/{NoDataChart-IPJ1xGPZ-BKJQDDL9.js → NoDataChart-DLfKZ9J--1T9pg2HM.js} +1 -1
- package/dist/assets/{NoDataTable-D5U81gbD-BirLBEpp.js → NoDataTable-BRKuhxS0-sx0oHeyw.js} +1 -1
- package/dist/assets/{NotFoundPage-C7BswX2A-DQWUyCMU.js → NotFoundPage-BD417YGL-rToNH_nB.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-BQyqFWby-GjMlWRuD.js → NotificationSettingsPage-Mb9ed249-CQss7Tea.js} +1 -1
- package/dist/assets/{NotificationsListConfig-kLqWFg2Q-DecPdYAb.js → NotificationsListConfig-CISUs4yA-Up6zrNe0.js} +1 -1
- package/dist/assets/{NotificationsPage-DjRkTZVT-udgcPcnZ.js → NotificationsPage-WTGOES7C-D5gXR2ud.js} +1 -1
- package/dist/assets/{OpExByVendorPage-CSasi7Uo-CoBJ4a1U.js → OpExByVendorPage-D4Ur1QRV-CtpvGOvR.js} +6 -6
- package/dist/assets/{OverlayContainerPage-C0rUb6-5-CokciX1J.js → OverlayContainerPage-C0rUb6-5-DLDjA1WL.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-D8YwSYiz-BlQ8i7AP.js → PandLWithForecastPage-DSvdGyym-C1hZzOpv.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BWwcQZfk-DK-YnIzr.js → PaymentAccountSetupBillingAddressSection-Bs8f-d_P-BeYSvOrY.js} +1 -1
- package/dist/assets/{PeoplePage-mrXiZ4VG-Cp2NcBr2.js → PeoplePage-ByFdUCgV-C-dQ5ifc.js} +17 -17
- package/dist/assets/PortfolioAllocationFormPage-BY5JJCu--Db_AJDDA.js +207 -0
- package/dist/assets/PortfolioDetails-Du2wncho-DR6hA4On.js +218 -0
- package/dist/assets/{ProductsCarousel-DpevGHyq-M7sMCRPA.js → ProductsCarousel-6mui8g8D-BXwmVYBD.js} +1 -1
- package/dist/assets/{PromoBaseCards-BreO0rHq-CmneT-LE.js → PromoBaseCards-CASb_Nf9-BmTbWgM7.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-BCWc6AK--ExlTvgR6.js → QBOConnectionDialog-AF50P_eR-DhzipR7w.js} +5 -5
- package/dist/assets/{QBOSetupSection-D_doa7hh-C2_irMwi.js → QBOSetupSection-hObNFdKz-3XFNnwv5.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BSFxsbcx-5oswA6u0.js → ReimbursementApprovalRuleDetailPage-NuprN06r-BkFlu4jO.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-X9bJFM6L-DS04bVT9.js → ReimbursementApprovalRulesPage-DP8frTz1-BIghkZwb.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-BJmSB65P-B9Io-y6T.js → ReimbursementDetailPage-B9F6pND6-DNevCo1s.js} +3 -3
- package/dist/assets/{ReimbursementPromoPage-DO7dI9S7-IIxWWc2q.js → ReimbursementPromoPage-CUNbpcAP-BJXAeXWj.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-Wjj6aNpc-BXv92xHK.js → ReimbursementSetUpPage-ihfYAhDw-BJyrWltl.js} +2 -2
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-GPuEjGqi-qY4F19Li.js → ReimbursementsBulkReviewDrawerPage-CafTodEa-vUUwSS79.js} +1 -1
- package/dist/assets/{ReloadCard-cApojDpl-BTIiWZRj.js → ReloadCard-aQ5Ma2ne-srF7XfGP.js} +1 -1
- package/dist/assets/ReportTableViewSelector-CjZe9dc3-B94C9OUt.js +150 -0
- package/dist/assets/ReportsPage-PDTasuAQ-CD592IPM.js +121 -0
- package/dist/assets/{RevenueChart-xoOc_3W3-Dzhhcd2T.js → RevenueChart-CJYsWcyb-COXSVzci.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-CF-R6wwN-BMnS8ktk.js → ReviewDetailsPage-47Qg28PV-DD0ehHxI.js} +8 -8
- package/dist/assets/{ReviewOverlay-Bora7h_H-BkZGLYKt.js → ReviewOverlay-DvYSZ8u9-D1sec7oa.js} +1 -1
- package/dist/assets/{RoleWithToolTip-k62RaqAZ-Bav1TewG.js → RoleWithToolTip-DoD_vW-E-xeMdlQFI.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Bd6qfpob-BxOEwKtI.js → ScheduleDetailsFixedAssetsPage-BMX7jbBN-B126g4bO.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-scOS36lS-CAMrRW5Y.js → ScheduleDetailsPage-CNtV2SVn-Ddz0O5ah.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-BIhbFnjb-DCpkIU0H.js → ScheduleSequenceTable-CMrsG_y3-ZI5_od4y.js} +1 -1
- package/dist/assets/{ScreenRoutes-C1ZbXccz.js → ScreenRoutes-Xqggk2Tm.js} +1 -1
- package/dist/assets/{SetUpAccountSection-ehZfUFEf-BgFNCBNu.js → SetUpAccountSection-D3nUQAk8-DKZLa9Zq.js} +37 -37
- package/dist/assets/{SetUpDefaultSection-DnYtx3XN-CNoT73Ow.js → SetUpDefaultSection-C2MgZHUf-x0_RVnLC.js} +1 -1
- package/dist/assets/{SignIn-k9MFplB1-eud7vdJb.js → SignIn-Bud28HbX-Xl-uNzmG.js} +1 -1
- package/dist/assets/{SignInScreen-CqP6hQef.js → SignInScreen-BV0zmhf7.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-B11exjM8-CE2MaiYn.js → SpendManagementListViewPage-B8R0PEMD-BbaRv050.js} +6 -6
- package/dist/assets/{SpendManagementPerTabPage-ByXU-omE-DWwC2JuF.js → SpendManagementPerTabPage-CTdgMCHu-CAOhzan7.js} +1 -1
- package/dist/assets/{SpendManagementSection-CAewVL0Z-GsJe1fhq.js → SpendManagementSection-CnD0V00y-Dmq0cMig.js} +1 -1
- package/dist/assets/{SpendMgmtSetupAccountSection-BY2LT0qv-CgVflLnR.js → SpendMgmtSetupAccountSection-D7LHyfpa-46XD5tWn.js} +5 -6
- package/dist/assets/{StatementItem-BJoMxmJY-BVhb_2i3.js → StatementItem-Dn796WZD-1Rb-SXfR.js} +4 -4
- package/dist/assets/{StatementsPage-C_O76V3t-DoehdMaa.js → StatementsPage-L75Co_mK-C_J6xieF.js} +1 -1
- package/dist/assets/{StatusSwitcher-39NGxygM-8g3Kr8Ie.js → StatusSwitcher-CxbcO6mR-C4PCbece.js} +1 -1
- package/dist/assets/{SubTabSwitcher-BcL8UKX8-CtPS6-C1.js → SubTabSwitcher-mCKmnU9--jUtM0Bft.js} +1 -1
- package/dist/assets/{SummaryCard-VT7YJ6jy-DeCNM95f.js → SummaryCard-BoA0mdbI-C3rDEBSG.js} +1 -1
- package/dist/assets/{TaskManagementPage-p-3BLn0_-TCdTn4Be.js → TaskManagementPage-CbSLSOpI-BFGgqlJt.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-Cjs5znYy-Dn_2XKTn.js → TimeRangeSwitcher-DIszv8B4-D-1vIZUO.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-BJrFD5A7-CapG6nwB.js → TimeframeSwitcher-C8tn7HgF-Db6tSjO9.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CrWRqA_S-Bvp4VoyC.js → TimeframeSwitcherWithToggle-DqvG5zv2-DqYusAPI.js} +1 -1
- package/dist/assets/{TopExCard-DAwlJbbc-Ch08mChi.js → TopExCard-B2pg-xWB-DR721esp.js} +1 -1
- package/dist/assets/{TopExDetailPage-BgUJytuV-V8CGIoou.js → TopExDetailPage-Ch-SwhrE-C3B3fW9M.js} +1 -1
- package/dist/assets/{TransactionDetailPage-C8yIuCvF-lo-j_-eB.js → TransactionDetailPage-4ehnnMwj-CxGtpuw5.js} +1 -1
- package/dist/assets/{TransactionList-DG-KZUjZ-CV9wox71.js → TransactionList-Bds8YVxl-eo-qwfAU.js} +1 -1
- package/dist/assets/{TransactionListBig-iGiOjwVK-Dc9vBqnr.js → TransactionListBig-YrccrGWK-DQRVfhmg.js} +1 -1
- package/dist/assets/{TransactionListPage-C9Z_z4mC-UBhyOHuK.js → TransactionListPage-EBZJJ3Bb-C5h_p4zd.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-5uo1FPul-BOddX9Sk.js → TransactionVendorDetailPage-DIvXenmH-BygJi1pY.js} +1 -1
- package/dist/assets/{TransferDrawerPage-BKzo-4Wj-D-t2nTop.js → TransferDrawerPage-CK9V-5BR-DZ9c1lfC.js} +20 -20
- package/dist/assets/{TreasuryOverviewPage-C6kTg0L3-DDk4OCh2.js → TreasuryOverviewPage-Dhm7htH5-BUj5D_CB.js} +3 -3
- package/dist/assets/{TreasuryPromoPage-CAS0pdES-D8v7EASC.js → TreasuryPromoPage-CiE4S4u6-qiSczFzX.js} +1 -1
- package/dist/assets/{TreasurySetupPage-CcLiQWOT-B7yrMsSh.js → TreasurySetupPage-WygAmXcw-WQiA9bVD.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-Dm-3SPtA-C2bOR_YK.js → TreasuryStatementsPage-zycSYzUL-CE8VEsG8.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-0RsINpqA-DJWdIr-H.js → TreasuryTaxLetterPage-l_CSMKSV-CFFwa7b-.js} +1 -1
- package/dist/assets/{TreasuryTransferOrReviewPage-C_4CQVIe-BOkn6wNn.js → TreasuryTransferOrReviewPage-CkHJE0PT-CVfr6xd-.js} +7 -7
- package/dist/assets/{TrendChart-CkPRxjLa-ClAmXRdb.js → TrendChart-Buu-BMJt-1SixfBeO.js} +1 -1
- package/dist/assets/{TrendWithTransactions-DJYMqIOI-wnxxIB4C.js → TrendWithTransactions-C6sLZFPh-CJcdwvxU.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-BapLceo--CgdItlB5.js → UncategorizedAccountsMappingPage-Ct1KSgHe-BkPn1VDr.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-C9zNzH3B-gVQYcxZB.js → UnitIntegrationPage-DeG7GwFV-BTOJ5_nM.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-BNaV6i2S-BuH4CmLJ.js → UploadAdditionalDocumentOverlay-BBEBrd1k-C8YmGx6j.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-_Cn9FJ7D-cKAPYes9.js → Vendor2FAPopup-B2qGbIlK-CbqUscDE.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-B1vHY6rG-VScnw-FL.js → VendorACHDetailsPage-CIb3Lffi-IjDSrk-_.js} +1 -1
- package/dist/assets/{VendorDetailPage-Dkl7AlIZ-5XPeaOqt.js → VendorDetailPage-DrZlWYNf-CitGu9Ha.js} +7 -7
- package/dist/assets/{VendorDomesticWireDetailsPage-Co8Uc_OS-I5CTiy_-.js → VendorDomesticWireDetailsPage-BGfsxhx5-BBlyKElB.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-M0gQJLkE-DzG8EXIY.js → VendorFiling1099EditablePage-DpYIPFDo-Cny4xMig.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-Bte87pqn-DeG8_h9I.js → VendorFirstReviewPage-JJMuxJAj-CEkUZQNo.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-DdfkKEFx-sHwHhQTJ.js → VendorInternationalWireDetailsPage-B7IVMovj-B5VUl76d.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CtQifsRT-BsMO6lfl.js → VendorInternationalWireSwiftDetailsPage-C7y7HA0_-iAtQaOvZ.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-CxyObm3T-BgRsSYOY.js → VendorsAccountsSection-CKizD1gN-BJJ_j-nc.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-D5nPLGJh-5sMWIR75.js → WarningsDrawerPage-REjc7j42-TgqIuesy.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-CKS9mcn3-BBMilYy5.js → ZeniAccountDetailPage-BYQt_cqt-B9TUZXOz.js} +3 -3
- package/dist/assets/{ZeniAccountListViewPage-CORl7azj-By_13T1c.js → ZeniAccountListViewPage-DPLQmd2c-BJzMmpCX.js} +7 -7
- package/dist/assets/{ZeniAccountNavBarPieces-88z7CFPI-kEgSzIRo.js → ZeniAccountNavBarPieces-CB_hOCVm-Dgt-KBoE.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-Car62P8Q-Bdd82q-1.js → ZeniAccountPromoPage-DjbDqqNB-DbFXyEm9.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-B5uOzSDL-B_JyTC9y.js → ZeniAccountSetupPage-BKgmStQ8-DvOkzvTm.js} +1 -1
- package/dist/assets/{ZeniCopyright-BcMyDAdQ-B3RH4DR7.js → ZeniCopyright-gnzM8wV--B3wiitHw.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Css3_ojA-DueYRoaC.js → ZeniTransferAmountSlider-D5uBFeau-CCzhbeOi.js} +1 -1
- package/dist/assets/{analyticsHelper-X-GRY9hH-MGNhQKMp.js → analyticsHelper-Cdzg4Zjw-BD3QBCs9.js} +1 -1
- package/dist/assets/{analyticsHelper-DsBQxHgn.js → analyticsHelper-g-8qlEdt.js} +1 -1
- package/dist/assets/{chartTypes-C5XZr0AA-C8J0rp67.js → chartTypes-BTdgphvt-COUgSR4v.js} +1 -1
- package/dist/assets/{commonDimensions-DBedC6J7-SSiZbAOc.js → commonDimensions-Ctzi29iY-mgtHXo4p.js} +1 -1
- package/dist/assets/{detailCommon-CIjWXBC2-K-4pS5u-.js → detailCommon-SwpJm2mb--HDCa1ev.js} +3 -3
- package/dist/assets/{downloadPdf-B21yi0DO-ZMTPTkC7.js → downloadPdf-YcATpN2g-D3XIUalG.js} +1 -1
- package/dist/assets/{index-ji6aa7AC.js → index-QTXYT_IZ.js} +6 -6
- package/dist/assets/mapLoadingInProgressToTreeNode-C8MSAhen-AfMjxweq.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-XPbCtxen-DAUQseD_.js → mapSectionWithAcOnlyToTreeNode-C0LfGztS-DTztJDdH.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-BBfTCdRQ-bgZlN15f.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-ClOTGsb4-B5ylNJVM.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DcljRs6K-orb0-qTl.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BL3c3wFj-BCJhDRyN.js +1 -0
- package/dist/assets/{play-icon-D7s0M2vV-zKqEqpdy.js → play-icon-DaxUpyZT-ss_3TDIT.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-CWk-QcRU-Db3b2mU1.js → toCOABalancesWithID-Vfz3d1qt-Dmwd2xoZ.js} +1 -1
- package/dist/assets/{toChartData-BMMsnVqz-Cij6F0sj.js → toChartData-CiTmOVzN-DBayRNk7.js} +1 -1
- package/dist/assets/{treasuryColorHelper-CDRG_Dxk-BbsHEkM1.js → treasuryColorHelper-BbkDcDKI-pPmAbCLc.js} +1 -1
- package/dist/assets/{uploadAttachment-5FffgOcW-DgFFpcCF.js → uploadAttachment-BLQvpBKI-CHSynwi0.js} +1 -1
- package/dist/assets/{uploadReceipts-Buvz7DfG-Dl3fgjOi.js → uploadReceipts-Buvz7DfG-D7H47NIP.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/CheckDepositDrawerPage-DOyXGzFg-BAQPRuRk.js +0 -206
- package/dist/assets/CollapsableReportTable-FShSCFEn-62FniBRb.js +0 -2860
- package/dist/assets/CustomerOnboardingContainerPage-Dln-_Yb0-BjXolAob.js +0 -1
- package/dist/assets/DashboardReportPage-Cuiynx8W-ac_35yhz.js +0 -349
- package/dist/assets/PortfolioAllocationFormPage-DAFisXnQ-DjoPfEuL.js +0 -207
- package/dist/assets/PortfolioDetails-BBOVIetI-BvRwtbCV.js +0 -218
- package/dist/assets/ReportTableViewSelector-BVUqQ9hl-WfosyobX.js +0 -150
- package/dist/assets/ReportsPage-CdiHHtXH-B1iwxprE.js +0 -120
- package/dist/assets/mapLoadingInProgressToTreeNode-CPDYMovk-DjQU3oZy.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-CJ13HyFX-D7QAWDUL.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-D8UCPznF-C5zbYkry.js +0 -1
package/dist/assets/{ACHDetailsPage-C77hriAS-Bp9UERQr.js → ACHDetailsPage-CTeCxcke-DEZ1DdXH.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as I,a as W,M as S,c3 as F,j as n,bO as H,bQ as O,bR as V,F as q,a3 as Q,C as s,eP as U,al as X,o as _,n as t}from"./index-
|
|
1
|
+
import{X as I,a as W,M as S,c3 as F,j as n,bO as H,bQ as O,bR as V,F as q,a3 as Q,C as s,eP as U,al as X,o as _,n as t}from"./index-QTXYT_IZ.js";import{b as x,n as d}from"./vendor-CnQcJ2Lu.js";import{W as G,A as J}from"./BankAccountWarningSection-BnsmtuKk-DP1_s4k_.js";import{M as K}from"./MagicLinkTitleSection-DwxRtyUO-Dj3CNxLB.js";import{e as Y}from"./BankAccountSection-Cm_J2y31-CDMRL_3y.js";const a={paddingTopBottomContainer:new s(t[3],t[3]),paddingLeftContainer:new s(t[3],t[6]),paddingRightContainer:new s(t[3],t[8]),sectionTitleMarginLeft:new s(t[4],t[6]),sectionTitleMarginTop:new s(12,t[3]),buttonWidth:new s(140,140)},A="achDetailsPage",b="bankAccountSection",j=e=>`${e}_form`,de=({bankAccountCreationState:e,bankAccountToCreate:g,fetchBankNameByRoutingStatus:k,isDisabled:C,style:B,onSaveHandler:N,onBackClick:f,onACHDetailsUpdated:T,onFetchBankName:v,isMagicLink:u,companyName:w,currencySymbol:P,amount:$,bankAccountContext:D})=>{const r=I(),i=W({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Z(g),[g])}),[M,m]=x.useState(!1),c=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,R=S.getLocalizedStrings().common.footer,{achDetails:y,bankAccountCommon:h}=c,z={onOkClick:()=>{m(!1),i.reset(),f?.()},onCancelClick:()=>{m(!1)}},L=async(p,l)=>{const o=l[b].bankRoutingNumber;T(l),p===`${b}.bankRoutingNumber`&&o?.length===9&&U.test(o)===!0&&v?.(o)};x.useEffect(()=>{const p=i.watch((l,{name:o})=>{o!=null&&l!=null&&F(()=>L(o,l))});return()=>{p.unsubscribe()}});const E=i.handleSubmit(p=>{k.fetchState!=="In-Progress"&&N("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:B,size:r,children:[M===!0?n.jsx(H,{titleComponent:n.jsx(V,{children:c.discardTitle}),descriptionComponent:n.jsx(O,{children:c.discardDescription}),primaryButtonText:c.discard,secondaryButtonText:c.cancel,action:z}):null,n.jsx(G,{header:u?n.jsx(K,{companyName:w??"",currencySymbol:P??"",amount:$??0}):y.addACHDetails,isMagicLink:u,isDirty:i.formState.isDirty,onBackClick:f,setShowConfirmationPopup:m}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(J,{warningText:h.accountExistWarning}):null,D==="express-pay"?null:n.jsx(ae,{size:r,children:y.title}),n.jsx(ie,{children:n.jsx(q,{...i,children:n.jsx("form",{id:j(A),onSubmit:E,children:n.jsx(ee,{size:r,children:n.jsx(Y,{bankAccountToCreate:g,fetchBankNameByRoutingStatus:k,sectionId:b,isDisabled:C})})})})})]}),n.jsx(Q,{formId:j(A),primaryBtn:{label:u?h.submitDetails:h.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:C!=null},showCancel:!u,cancelBtn:{label:R.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?m(!0):(i.reset(),f?.())}}})]})},Z=e=>({[b]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=d.div`
|
|
2
2
|
padding-left: ${e=>a.paddingLeftContainer.valuePx(e.size)};
|
|
3
3
|
padding-right: ${e=>a.paddingRightContainer.valuePx(e.size)};
|
|
4
4
|
padding-top: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{C as u,d2 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,
|
|
1
|
+
import{C as u,d2 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,jo as H,v as _,bJ as v1,n,bg as L,dn as d1,g as c,V as $1,ai as c1,ar as h1,au as p1,at as N,u as m1,b7 as S1,b8 as b1,as as Q,jp as f,w as g,jq as Z1,jr as B1,p as b,c0 as K,al as J,f as W1,js as F1,dI as D1,fu as _1,bH as u1,q as P1}from"./index-QTXYT_IZ.js";import{b as t,n as i,j as T1,k as H1}from"./vendor-CnQcJ2Lu.js";import{R as V1}from"./NavBarWithPicker-wTsy1SAG-B0aq1ozI.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const e1={titleLoaderWidth:new u(200,200,300),subtitleLoaderWidth:new u(100,100,200)},z1=i.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 100%;
|
|
4
4
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
@@ -48,11 +48,11 @@ import{C as u,d2 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bs as y1,o,j
|
|
|
48
48
|
display: flex;
|
|
49
49
|
flex-direction: column;
|
|
50
50
|
gap: ${o.sp2};
|
|
51
|
-
`,
|
|
51
|
+
`,J1=i.div`
|
|
52
52
|
display: flex;
|
|
53
53
|
flex-direction: column;
|
|
54
54
|
gap: ${o.sp4};
|
|
55
|
-
`,
|
|
55
|
+
`,X1=i.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
justify-content: space-between;
|
|
58
58
|
align-items: center;
|
|
@@ -62,7 +62,7 @@ import{C as u,d2 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bs as y1,o,j
|
|
|
62
62
|
&:last-of-type {
|
|
63
63
|
border-bottom: none;
|
|
64
64
|
}
|
|
65
|
-
`,
|
|
65
|
+
`,q1=i.div`
|
|
66
66
|
display: flex;
|
|
67
67
|
align-items: center;
|
|
68
68
|
gap: ${o.sp4};
|
|
@@ -70,7 +70,7 @@ import{C as u,d2 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bs as y1,o,j
|
|
|
70
70
|
display: flex;
|
|
71
71
|
flex-direction: column;
|
|
72
72
|
gap: ${o.sp1};
|
|
73
|
-
`,Q1=({customStyle:e})=>r.jsxs(I1,{style:e,children:[r.jsx(U1,{children:r.jsxs(K1,{children:[r.jsx(L,{width:180,height:n[4]}),r.jsx(L,{width:300,height:21})]})}),r.jsx(
|
|
73
|
+
`,Q1=({customStyle:e})=>r.jsxs(I1,{style:e,children:[r.jsx(U1,{children:r.jsxs(K1,{children:[r.jsx(L,{width:180,height:n[4]}),r.jsx(L,{width:300,height:21})]})}),r.jsx(J1,{children:[...Array(3)].map((s,a)=>r.jsxs(X1,{children:[r.jsxs(q1,{children:[r.jsx(d1,{width:n[6],height:n[6]}),r.jsxs(Y1,{children:[r.jsx(L,{width:120,height:18}),r.jsx(L,{width:n[11],height:n[3]})]})]}),r.jsx(L,{width:n[11],height:18}),r.jsx(L,{width:n[11],height:18})]},a))})]}),e2={containerMarginLeft:new u(0,0,n[9],n[9],n[9])},t2=i.div`
|
|
74
74
|
display: flex;
|
|
75
75
|
flex-direction: row;
|
|
76
76
|
margin-left: ${e=>e2.containerMarginLeft.valuePx(e.windowSize)};
|
|
@@ -136,7 +136,7 @@ import{C as u,d2 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bs as y1,o,j
|
|
|
136
136
|
display: flex;
|
|
137
137
|
align-items: center;
|
|
138
138
|
gap: 12px;
|
|
139
|
-
`,f2=i(
|
|
139
|
+
`,f2=i(J)`
|
|
140
140
|
color: ${e=>e.theme.colors.primary};
|
|
141
141
|
margin-left: ${o.sp3};
|
|
142
142
|
`,W=i(l2)`
|
|
@@ -254,22 +254,22 @@ import{C as u,d2 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bs as y1,o,j
|
|
|
254
254
|
flex-direction: row;
|
|
255
255
|
gap: ${e=>e.isPerformanceReportNotFound?o.sp12:I.amountRowGap.valuePx(e.windowSize)};
|
|
256
256
|
margin-top: ${e=>I.amountRowMarginTop.valuePx(e.windowSize)};
|
|
257
|
-
`,
|
|
257
|
+
`,J2=i.div`
|
|
258
258
|
display: flex;
|
|
259
259
|
align-items: flex-end;
|
|
260
260
|
gap: ${o.sp1};
|
|
261
261
|
`,F=i(K)`
|
|
262
262
|
font-size: 28px;
|
|
263
263
|
color: ${e=>e.theme.colors.brandColorOnyx};
|
|
264
|
-
`,
|
|
264
|
+
`,X2=i(g)`
|
|
265
265
|
font-size: 16px;
|
|
266
266
|
color: ${e=>e.theme.colors.brandColorOnyx};
|
|
267
267
|
line-height: 2;
|
|
268
|
-
`,
|
|
268
|
+
`,q2=i(z2)`
|
|
269
269
|
width: ${o.sp4};
|
|
270
270
|
height: ${o.sp4};
|
|
271
271
|
color: ${e=>e.theme.colors.brandColorOnyx};
|
|
272
|
-
`;function Y2({performanceSummary:e,currency:s,isPerformanceReportNotFound:a}){const{common:C,aiPerformanceDashboard:l}=y.getLocalizedStrings(),d=M(),h=$=>Math.round($/60),p=Z1(e.forecastAnnualSavings.timeSavedMinutes).toFixed(),x=B1(e.forecastAnnualSavings.timeSavedMinutes).toFixed();return r.jsx(R2,{windowSize:d,children:r.jsxs(O2,{windowSize:d,children:[r.jsx(U2,{children:r.jsx(
|
|
272
|
+
`;function Y2({performanceSummary:e,currency:s,isPerformanceReportNotFound:a}){const{common:C,aiPerformanceDashboard:l}=y.getLocalizedStrings(),d=M(),h=$=>Math.round($/60),p=Z1(e.forecastAnnualSavings.timeSavedMinutes).toFixed(),x=B1(e.forecastAnnualSavings.timeSavedMinutes).toFixed();return r.jsx(R2,{windowSize:d,children:r.jsxs(O2,{windowSize:d,children:[r.jsx(U2,{children:r.jsx(q2,{})}),r.jsxs(A2,{children:[r.jsxs(G2,{children:[r.jsx(N2,{children:l.annualizedImpact.title}),r.jsx(I2,{children:l.annualizedImpact.subtitle})]}),r.jsxs(K2,{isPerformanceReportNotFound:a,windowSize:d,children:[r.jsxs(i1,{children:[r.jsx(g,{style:{color:c.graphColor16Dark},children:l.aiTimeSavedTile.title}),a?r.jsx(F,{children:C.strings.hyphen}):r.jsxs(J2,{children:[r.jsxs(F,{children:[Number(h(e.forecastAnnualSavings.timeSavedMinutes).toFixed()).toLocaleString()," "]}),r.jsxs(X2,{children:[C.timeStrings.hours,C.strings.space,Number(p)<=1?r.jsxs(r.Fragment,{children:[C.strings.openingBrace,x,C.strings.space,Number(x)>1?C.timeStrings.days:C.timeStrings.day,C.strings.closingBrace]}):r.jsxs(r.Fragment,{children:[C.strings.openingBrace,p,C.strings.space,Number(p)<2?C.timeStrings.week:C.timeStrings.weeks,C.strings.closingBrace]})]})]})]}),r.jsxs(i1,{children:[r.jsx(g,{style:{color:c.graphColor16Dark},children:l.aiCostSavedTile.title}),a?r.jsx(F,{children:C.strings.hyphen}):r.jsxs(F,{children:[s.currencySymbol,Number(e.forecastAnnualSavings.costSaved.toFixed()).toLocaleString()]})]})]})]})]})})}const Q2=e=>t.createElement("svg",{width:91,height:90,viewBox:"0 0 91 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M80.6 6.30005L9.04999 29.25L24.35 34.2M80.6 6.30005L55.85 55.5751L41.225 40.9501M80.6 6.30005L24.35 34.2M80.6 6.30005L35.825 35.55M35.825 35.55L28.4 46.8001M35.825 35.55L41.225 40.9501M28.4 46.8001L41.225 40.9501M28.4 46.8001L24.35 34.2",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{opacity:.2,d:"M9.95001 30.5999L81.5 7.6499L56.75 56.9249L42.125 42.2999L29.3 48.1499L25.25 35.5499L9.95001 30.5999Z",fill:"#97C3B9"}),t.createElement("path",{d:"M43.0228 60.8666C38.2384 60.8666 34.3667 64.7384 34.3667 69.5227C34.3667 64.7384 30.4843 60.8666 25.7 60.8666C30.4843 60.8666 34.3667 56.9843 34.3667 52.2C34.3667 56.9843 38.2384 60.8666 43.0228 60.8666Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10}),t.createElement("path",{d:"M81.7165 42.6554C78.5503 42.6554 75.9866 45.2276 75.9866 48.4042C75.9866 45.2276 73.4162 42.6554 70.25 42.6554C73.4162 42.6554 75.9866 40.0765 75.9866 36.8999C75.9866 40.0765 78.5503 42.6554 81.7165 42.6554Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M19.4 15.752C17.4119 15.752 15.8021 17.3618 15.8021 19.3499C15.8021 17.3618 14.1881 15.752 12.2 15.752C14.1881 15.752 15.8021 14.138 15.8021 12.1499C15.8021 14.138 17.4119 15.752 19.4 15.752Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M10.2031 58.269C10.5781 57.219 11.6881 54.714 13.1281 53.094",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M16.5034 49.2688C17.2972 48.4859 19.2031 46.5689 21.0822 45.6607",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M9.07801 63.219C9.00301 64.194 9.03301 66.729 9.75301 69.069",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M12.4531 73.344C13.1281 74.169 15.0631 75.999 17.4031 76.719M22.1281 78.294C23.3281 78.444 26.2231 78.744 28.2031 78.744",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M32.9281 78.969H39.0031M43.7281 78.969H50.2531M54.9781 78.969H61.2781",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M66.0031 79.4189C67.2031 79.4189 70.0981 79.5539 72.0781 80.0939",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M76.8031 81.4438C77.9281 81.7438 80.6281 82.6588 82.4281 83.9188",stroke:"#97C3B9",strokeWidth:.9})),e3=i.div`
|
|
273
273
|
display: flex;
|
|
274
274
|
flex-direction: column;
|
|
275
275
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -310,7 +310,7 @@ import{C as u,d2 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bs as y1,o,j
|
|
|
310
310
|
display: flex;
|
|
311
311
|
flex-direction: column;
|
|
312
312
|
gap: ${o.sp1};
|
|
313
|
-
`,h3=i(
|
|
313
|
+
`,h3=i(J)`
|
|
314
314
|
max-width: 400px;
|
|
315
315
|
color: ${e=>e.theme.colors.brandColorOpalDark};
|
|
316
316
|
z-index: 1;
|
|
@@ -361,7 +361,7 @@ import{C as u,d2 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bs as y1,o,j
|
|
|
361
361
|
display: flex;
|
|
362
362
|
flex-direction: column;
|
|
363
363
|
gap: ${e=>L3.headerGap.valuePx(e.windowSize)};
|
|
364
|
-
`,$3=i(
|
|
364
|
+
`,$3=i(J)`
|
|
365
365
|
max-width: 400px;
|
|
366
366
|
color: ${e=>e.theme.colors.brandColorOpalDark};
|
|
367
367
|
`,S3=i.div`
|
|
@@ -480,15 +480,15 @@ import{C as u,d2 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bs as y1,o,j
|
|
|
480
480
|
display: flex;
|
|
481
481
|
align-items: center;
|
|
482
482
|
margin: ${o.sp3} 0;
|
|
483
|
-
`,
|
|
483
|
+
`,J3=i.div`
|
|
484
484
|
display: flex;
|
|
485
485
|
flex-wrap: wrap;
|
|
486
486
|
gap: ${o.sp3};
|
|
487
487
|
margin-bottom: ${o.sp8};
|
|
488
|
-
`,
|
|
488
|
+
`,X3=i.div`
|
|
489
489
|
flex: 1;
|
|
490
490
|
min-width: 300px;
|
|
491
|
-
`,
|
|
491
|
+
`,q3=i.div`
|
|
492
492
|
flex: 2;
|
|
493
493
|
min-width: ${e=>D.savingsChartMinWidth.valuePx(e.windowSize)};
|
|
494
494
|
min-height: 380px;
|
|
@@ -517,4 +517,4 @@ import{C as u,d2 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bs as y1,o,j
|
|
|
517
517
|
&:hover {
|
|
518
518
|
color: ${e=>e.theme.colors.primary};
|
|
519
519
|
}
|
|
520
|
-
`,t4=(e,s)=>e===s?`(${H(e)})`:`(${H(e)} - ${H(s)})`;function h4({aggregatedReport:e,onBackClick:s,onReload:a,onTimeRangeSelect:C,onClickMenuIcon:l}){const d=w1().analytics,h=M(),{common:p}=y.getLocalizedStrings(),[x,$]=t.useState(!1),[j,v]=t.useState(null),P=[...k.TIME_SERIES_DURATIONS],w=k.TIME_SERIES_DURATIONS[1],[T,
|
|
520
|
+
`,t4=(e,s)=>e===s?`(${H(e)})`:`(${H(e)} - ${H(s)})`;function h4({aggregatedReport:e,onBackClick:s,onReload:a,onTimeRangeSelect:C,onClickMenuIcon:l}){const d=w1().analytics,h=M(),{common:p}=y.getLocalizedStrings(),[x,$]=t.useState(!1),[j,v]=t.useState(null),P=[...k.TIME_SERIES_DURATIONS],w=k.TIME_SERIES_DURATIONS[1],[T,X]=t.useState(k.convertToTimeSeriesSelectionRange(w)),[Z,q]=t.useState(w),[k1,x1]=t.useState(!1);M1({componentName:"aiPerformance"});const S=e.fetchState==="Not-Started"||e.fetchState==="In-Progress",E=e.fetchState==="Error",g1=m=>m.flatMap(E1=>E1.eventGroups.map(B=>({event_name:B.eventName,events_count:B.eventsCount,time_saved_in_minutes:B.timeSavedInMinutes,total_cost_saved:B.totalCostSaved})));t.useEffect(()=>{v("home"),C(k.convertToTimeSeriesSelectionRange(Z).fromMonth,k.convertToTimeSeriesSelectionRange(Z).toMonth)},[]),t.useEffect(()=>{if(e.fetchState==="Completed"&&j){const m={period_selected:Z,cost_saved:e.summary.totalCostSaved,time_saved:e.summary.totalTimeSavedMinutes,task_performed:g1(e.personas)};j==="home"?d.trackAIPerfHome(m):j==="refresh"?d.trackAIPerfRefresh(m):j==="timePeriodSelect"&&d.trackAIPerfTimePeriodSelect(m),v(null)}},[e.fetchState,j]),t.useEffect(()=>{const m=()=>{x1(window.scrollY>0)};return window.addEventListener("scroll",m),m(),()=>{window.removeEventListener("scroll",m)}},[]);const f1=r.jsx(Y3,{"data-testid":`${j1("ai-performance-page","refresh-icon")}`,onClick:()=>{$(!0),v("refresh"),a(k.convertToTimeSeriesSelectionRange(w).fromMonth,k.convertToTimeSeriesSelectionRange(w).toMonth),q(w),X(k.convertToTimeSeriesSelectionRange(w))},children:r.jsx(y1,{style:{marginTop:o.sp1},placement:"bottom",title:p.texts.refresh,enterDelay:600,children:r.jsx(e4,{spinning:S&&x})})}),L1={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:P,valueToLabel:m=>m,selectedValue:`${Z} ${t4(T.fromMonth,T.toMonth)}`,titleTextStyle:_.largeMedium,onPickerSelectionChanged:m=>{m!=null&&(v("timePeriodSelect"),q(k.toTimeSeriesDuration(m)),X(k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m))),C(k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m)).fromMonth,k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m)).toMonth))},styles:{justifyContent:h==="small"?"left":"center"},isPickerDisabled:!1},onBackClick:s,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:l,rightSideComponent:f1},Y=Number(parseFloat((e?.summary?.totalTimeSavedMinutes/60).toFixed()));return r.jsxs(I3,{children:[r.jsx(N3,{isScrolled:k1,windowSize:h,paddingLeft:D.contentPaddingLeft.value(h),paddingRight:D.contentPaddingRight.value(h),children:r.jsx(V1,{...L1})}),r.jsxs(U3,{windowSize:h,children:[r.jsxs(K3,{windowSize:h,children:[r.jsxs(X3,{windowSize:h,children:[S?r.jsx(t1,{customStyle:{margin:`0 0 ${o.sp3} 0`}}):r.jsx(o1,{type:"cost",value:E?`${p.strings.hyphen}`:Number(e.summary?.totalCostSaved.toFixed()).toLocaleString(),currency:e.currency,style:{margin:`0 0 ${o.sp3} 0`},noData:E}),S?r.jsx(t1,{customStyle:{margin:"0"}}):r.jsx(o1,{type:"time",value:E?`${p.strings.hyphen}`:e.summary?.totalTimeSavedMinutes<60?Number(e.summary?.totalTimeSavedMinutes).toFixed().toLocaleString():Number(Y).toFixed().toLocaleString(),currency:e.currency,noData:E,timeUnit:E?"":e.summary?.totalTimeSavedMinutes<60?e.summary?.totalTimeSavedMinutes>1?p.timeStrings.minutes:p.timeStrings.minute:Y>1?p.timeStrings.hours:p.timeStrings.hour})]}),r.jsx(q3,{windowSize:h,children:S?r.jsx(A1,{customStyle:{margin:`0 0 ${o.sp3} 0`}}):E?r.jsx(g3,{selectedTimeSeries:T}):r.jsx(W3,{performanceTimeSeries:e.monthlySummary})})]}),S?r.jsx(l1,{windowSize:h,children:r.jsx(Q1,{})}):r.jsxs(r.Fragment,{children:[r.jsx(l1,{windowSize:h,children:E||e.personas.length===0?r.jsx(s3,{}):r.jsx(b2,{personas:e.personas,currency:e.currency})}),r.jsxs(J3,{windowSize:h,children:[r.jsx(A3,{performanceSummary:e.summary,currency:e.currency,isPerformanceReportNotFound:E}),r.jsx(Y2,{performanceSummary:e.summary,currency:e.currency,isPerformanceReportNotFound:E})]})]})]})]})}export{h4 as default,G3 as navBarHeight};
|
package/dist/assets/{AccountInfoPage-CHH8xpX7-OTuTPmWc.js → AccountInfoPage-DX6r16Bm-C_0exxSE.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as f,X as P,j as t,gb as $,o,C as a,gV as j,n as i}from"./index-
|
|
1
|
+
import{u as f,X as P,j as t,gb as $,o,C as a,gV as j,n as i}from"./index-QTXYT_IZ.js";import{b as y,n}from"./vendor-CnQcJ2Lu.js";import{K as z}from"./StatusSwitcher-CxbcO6mR-C4PCbece.js";import{r as A}from"./AccountInfoPageContent-DuUO6Fmo-ChKBTH6K.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-YcATpN2g-D3XIUalG.js";import"./commonDimensions-Ctzi29iY-mgtHXo4p.js";const r={pageTitleMarginXAxis:new a(i[4],i[8]),containerPaddingLeft:new a(i[3],i[6],i[8]),containerPaddingRight:new a(i[3],i[6],i[8])},_=({authParams:e,downloadAccountDetailEndPoint:l,depositAccount:s,zeniAccountsConfigDetail:m,currentTenant:p,onDismissClick:u})=>{const g=f(),d=P(),[c,x]=y.useState("achDetails"),h=w=>{x(w)};return t.jsxs(C,{children:[t.jsx($,{title:"",backgroundColor:g.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:u}),t.jsx(S,{windowSize:d,children:s.accountName}),t.jsx(T,{children:t.jsx(z,{tabIds:["achDetails","wireDetails"],selectedTab:c,entity:"zeni_accounts",onTabSelectedChange:h,isSwitcherLeftAlign:!0})}),t.jsx(b,{windowSize:d,children:t.jsx(A,{authParams:e,downloadAccountDetailEndPoint:l,currentTab:c,zeniAccountsConfigDetail:m,currentTenant:p,depositAccount:s})})]})},b=n.div`
|
|
2
2
|
padding-left: ${e=>`${r.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
3
3
|
padding-right: ${e=>`${r.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
4
4
|
`,C=n.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as we,fc as Ae,gW as B,j as r,M as Se,
|
|
1
|
+
import{X as we,fc as Ae,gW as B,j as r,M as Se,bt as C,d as Te,Y as z,o as a,al as ve,bq as De,g as E,w as ee,ax as Ce,fe as ze,q as re}from"./index-QTXYT_IZ.js";import{b as s,n as t}from"./vendor-CnQcJ2Lu.js";import{w as Le}from"./downloadPdf-YcATpN2g-D3XIUalG.js";import{o as _e}from"./commonDimensions-Ctzi29iY-mgtHXo4p.js";const{common:{strings:Ee,copyToClipBoard:y},spendManagement:{zeniAccounts:{zeniAccountDetail:H},billPay:{vendorCreation:{achDetails:o}},downloads:V}}=Se.getLocalizedStrings(),Ze=({authParams:e,downloadAccountDetailEndPoint:ae,currentTab:f,depositAccount:n,zeniAccountsConfigDetail:u,currentTenant:g})=>{const oe=we(),[,R]=Ae(),[k,te]=s.useState(!1),[se,ce]=s.useState(!1),[ne,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[me,pe]=s.useState(!1),[he,xe]=s.useState(!1),[fe,$e]=s.useState(!1),[p,q]=s.useState(!1),[N,I]=s.useState(!1),[j,P]=s.useState(!1),[w,F]=s.useState(!1),[A,J]=s.useState(!1),[S,K]=s.useState(!1),[T,O]=s.useState(!1),[$,U]=s.useState(!1),v=g?.company?.companyInfo.companyLegalName,D=B(u.zeniAccountsConfigDetail.mailingAddress).text2,m=B(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(p||S||T||$||A||$||j||N||w)&&setTimeout(()=>{q(!1),K(!1),O(!1),U(!1),J(!1),F(!1),P(!1),I(!1)},1200)},[p,S,T,$,A,w,j,N]);const W=(h,c)=>{switch(h){case"accountType":ce(c);break;case"acccountNumber":ie(c);break;case"routingNumber":de(c);break;case"bankName":ue(c);break;case"beneficiaryName":xe(c);break;case"beneficiaryAddress":pe(c);break;case"bankAddress":$e(c);break}},ye=h=>{let c;h==="achDetails"?c=`${o.bankRoutingNumber} ${n.routingNumberAch}
|
|
2
2
|
|
|
3
3
|
${o.accountTypeLabel} ${n.accountSubType.name??""}
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@ ${o.bankAccountNumber} ${n.accountNumber}
|
|
|
6
6
|
|
|
7
7
|
${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
|
|
8
8
|
|
|
9
|
-
${o.bankAddress} ${
|
|
9
|
+
${o.bankAddress} ${m}`:c=`${o.bankRoutingNumber} ${n.routingNumberAch}
|
|
10
10
|
|
|
11
11
|
${o.accountTypeLabel} ${n.accountSubType.name??""}
|
|
12
12
|
|
|
@@ -16,20 +16,20 @@ ${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
|
|
|
16
16
|
|
|
17
17
|
${o.beneficiaryName} ${v}
|
|
18
18
|
|
|
19
|
-
${o.bankAddress} ${
|
|
19
|
+
${o.bankAddress} ${m}
|
|
20
20
|
|
|
21
|
-
${o.beneficiaryAddress} ${D}`,R(c),
|
|
21
|
+
${o.beneficiaryAddress} ${D}`,R(c),q(!0)},i=(h,c,x,X)=>{let d,l;switch(x){case"acccountNumber":d=ne,l=T;break;case"accountType":d=se,l=S;break;case"bankName":d=be,l=A;break;case"beneficiaryName":d=he,l=N;break;case"beneficiaryAddress":d=me,l=w;break;case"bankAddress":d=fe,l=j;break;default:d=le,l=$;break}const je=()=>{switch(x){case"accountType":K(!0);break;case"acccountNumber":O(!0);break;case"routingNumber":U(!0);break;case"bankName":J(!0);break;case"beneficiaryName":I(!0);break;case"beneficiaryAddress":F(!0);break;case"bankAddress":P(!0);break}};return r.jsxs(Je,{onMouseEnter:()=>W(x,!0),onMouseLeave:()=>W(x,!1),children:[r.jsx(Ke,{children:h}),r.jsx(Ue,{children:r.jsxs(We,{children:[r.jsxs(Oe,{children:[d||oe==="small"?r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:l,children:l?y.copied:y.copy}),enterDelay:600,children:l===!0?r.jsx(Z,{}):r.jsx(Q,{"data-testid":z("account-info-copy",x),onClick:()=>{R(c),je()}})})}):null,c]}),X!=null?r.jsx(Xe,{children:X}):null]})})]})},ge={detail_type:"account_details",deposit_account_id:n.id,company_name:g?.companyName??"",company_legal_name:g?.company?.companyInfo.companyLegalName??""},ke=encodeURIComponent(JSON.stringify(ge)),Ne=`${ae}?query=${ke}`;return r.jsx(Me,{children:r.jsxs(Re,{children:[r.jsxs(qe,{children:[r.jsx(Pe,{children:f==="achDetails"?H.achTitle:H.wireTitle}),r.jsxs(Ie,{children:[r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:k,children:k?V.downloading:V.download}),enterDelay:600,children:k===!0?r.jsx(Te,{size:"Small",start:!0}):r.jsx(Fe,{"data-testid":z("account-info-download-pdf"),onClick:()=>{Le(Ne,Ee.empty,e,te,!0)}})})}),r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:p,children:p?y.copied:y.copy}),enterDelay:600,children:p===!0?r.jsx(Z,{}):r.jsx(Q,{onClick:()=>ye(f),"data-testid":z("title-text-copy")})})})]})]}),f==="achDetails"?r.jsxs(Be,{children:[r.jsx(Y,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(G,{children:i(o.bankAddress,m,"bankAddress")}):null]}):f==="wireDetails"?r.jsxs(He,{children:[r.jsx(Y,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(b,{children:i(o.bankAddress,m,"bankAddress")}):null,v!=null?r.jsx(b,{children:i(o.beneficiaryName,v,"beneficiaryName",o.beneficiaryNameSubLabel)}):null,D!=null?r.jsx(G,{children:i(o.beneficiaryAddress,D,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},Me=t.div``,Re=t.div`
|
|
22
22
|
margin: ${a.sp4};
|
|
23
23
|
margin-left: ${a.sp0};
|
|
24
|
-
`,
|
|
24
|
+
`,qe=t.div`
|
|
25
25
|
display: flex;
|
|
26
26
|
align-items: center;
|
|
27
27
|
justify-content: space-between;
|
|
28
28
|
margin-bottom: ${a.sp3};
|
|
29
|
-
`,
|
|
29
|
+
`,Ie=t.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
gap: ${a.sp4};
|
|
32
|
-
`,
|
|
32
|
+
`,Pe=t(ve)`
|
|
33
33
|
color: ${e=>e.theme.colors.primary};
|
|
34
34
|
margin-right: ${a.sp2};
|
|
35
35
|
`,Fe=t(De)`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as xe,eX as fe,j as t,l as F,F as ge,bO as ye,M as je,bQ as Se,bR as $e,o as i,h as ke,al as X,f as G,a2 as ve,T as Ce,dH as we,eN as be,k5 as V,dr as ee,q as l,u as Ee,_ as Pe,aQ as te,c_ as ne,
|
|
1
|
+
import{a as xe,eX as fe,j as t,l as F,F as ge,bO as ye,M as je,bQ as Se,bR as $e,o as i,h as ke,al as X,f as G,a2 as ve,T as Ce,dH as we,eN as be,k5 as V,dr as ee,q as l,u as Ee,_ as Pe,aQ as te,c_ as ne,b1 as Re,g as oe,ax as De}from"./index-QTXYT_IZ.js";import{b as r,n as o}from"./vendor-CnQcJ2Lu.js";import{E as Ie,C as _e,w as Fe,f as Te}from"./AccountRow-BUDNnxLp-lnjPiXai.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const m={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,navBarHeight:i.sp10,navBarPaddingRight:i.sp4,navBarPaddingLeft:i.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Ue=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,M as se,_ as E,
|
|
1
|
+
import{j as t,M as se,_ as E,bt as f,o,Y as y,T as re,dH as le,q as w,dI as de,g,dJ as J,c_ as X,cq as ue,a7 as x,w as Z,n as p,X as xe,u as S,ae as pe,dp as he,r as ge,K as me,f as I,b5 as fe,c$ as je}from"./index-QTXYT_IZ.js";import{n as a,b as ye,j as we}from"./vendor-CnQcJ2Lu.js";const $e=a.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
|
|
4
4
|
content: "";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{M as F,j as o,o as t,aa as D,g as j,Z as ne,v as ae,aO as ie,aP as se,aQ as ce,aR as le,aS as K,k as de,a0 as Y,U as pe,u as Q,t as me,l as ue,Y as Z,a9 as he,W as ge,a4 as xe,w as q,ab as fe,aj as Ce,q as $e,ao as ye}from"./index-
|
|
1
|
+
import{M as F,j as o,o as t,aa as D,g as j,Z as ne,v as ae,aO as ie,aP as se,aQ as ce,aR as le,aS as K,k as de,a0 as Y,U as pe,u as Q,t as me,l as ue,Y as Z,a9 as he,W as ge,a4 as xe,w as q,ab as fe,aj as Ce,q as $e,ao as ye}from"./index-QTXYT_IZ.js";import{n as r,k as X,j as J,b as N,f as S}from"./vendor-CnQcJ2Lu.js";import{c as ve}from"./SummaryCard-BoA0mdbI-C3rDEBSG.js";import{x as E}from"./NavigationArrow-PxVotVGU-BN6LQQ8z.js";import{f as je}from"./NavigationDots-BhLlf9IS-Cc6rFgNx.js";const Ae="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png",be="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png",ke="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png",T=(e,n)=>{const i=e==="right"?`-${n}%`:`${n}%`;return X`
|
|
2
2
|
0% {
|
|
3
3
|
opacity: 0;
|
|
4
4
|
transform: translateX(${i});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as f,X as T,a1 as x,v as a,j as i,Y as y,iF as B,o as t,M as C,C as m,n as d}from"./index-
|
|
1
|
+
import{u as f,X as T,a1 as x,v as a,j as i,Y as y,iF as B,o as t,M as C,C as m,n as d}from"./index-QTXYT_IZ.js";import{b as j,n as v}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const l={marginTop:new m(d[0],18),marginBottom:new m(d[0],d[3])},{spendManagement:{chargeCard:{chargeCardsPromo:p}},common:w}=C.getLocalizedStrings(),H=({googleAPIKey:o,customAddress:c,customAddressStatus:e,onDismissClick:r,onSubmitHandler:g})=>{const u=f(),s=T(),n=x(e.fetchState);j.useEffect(()=>{n==="In-Progress"&&e.fetchState==="Completed"&&r()},[e.fetchState,r,n]);const h=s==="small"?a.extraSmallRegular.cssObject:a.standardRegular.cssObject,S=s==="small"?a.standardMedium.cssObject:a.h5Regular.cssObject;return i.jsx(A,{"data-testid":y("add-address-for-card-drawer"),children:i.jsx(B,{googleAPIKey:o,loadingState:e.fetchState,addressToEdit:c,onSubmitHandler:b=>g(b),onCancel:r,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:p.addAddress,subTitleMessage:p.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:l.marginTop.valuePx(s),marginBottom:l.marginBottom.valuePx(s),...S},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...h,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:t.sp2,paddingRight:t.sp3},sectionStyles:{paddingTop:t.sp4,paddingBottom:t.sp4},footerButtons:{primaryButtonLabel:w.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},A=v.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
background-color: ${o=>o.theme.colors.grey4};
|
|
4
4
|
height: 100%;
|
package/dist/assets/{AddToWalletPage-BLH7hMIs-p7f4w_jj.js → AddToWalletPage-CO_ranRc-Y0gvdbgy.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as L,d2 as le,t as ne,l as de,M as N,j as i,aW as pe,n as p,ik as ce,iC as he,o as t,K as W,Y as A,C as m,Q as u,h as b,iD as ge,
|
|
1
|
+
import{X as L,d2 as le,t as ne,l as de,M as N,j as i,aW as pe,n as p,ik as ce,iC as he,o as t,K as W,Y as A,C as m,Q as u,h as b,iD as ge,bH as xe,g as r,iE as me,aR as we,ck as $e,q as ue,v as be,io as ye}from"./index-QTXYT_IZ.js";import{b as h,n as o,j as D}from"./vendor-CnQcJ2Lu.js";import{H as fe}from"./ChargeCardUtils-Buf1Xa4X-CfiY3Rp3.js";import{t as je,n as ve,i as Se,a as Ce,l as ke,r as Te,A as ze}from"./add-to-wallet-DgdBD8_G-DcfyMc0W.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const Ie=({options:e,selected:a,onToggle:g,containerStyle:l={},optionStyle:f={},thumbStyle:k={}})=>{const w=e.findIndex(n=>n.id===a),$=100/e.length,j=()=>w===0?{left:"1%"}:w===e.length-1?{left:`${(e.length-1)*$}%`}:{left:`${w*$}%`};return i.jsxs(We,{style:l,children:[i.jsx(Ae,{style:{width:`${$-1}%`,...j(),...k}}),e.map(n=>i.jsx(De,{style:f,active:n.id===a,"data-testid":n.dataTestId,onClick:v=>{v.preventDefault(),g(n.id)},children:n.label},n.id))]})},We=o.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
width: 100%;
|
|
4
4
|
background: ${e=>e.theme.colors.grey3};
|
|
@@ -37,32 +37,32 @@ import{X as L,d2 as le,t as ne,l as de,M as N,j as i,aW as pe,n as p,ik as ce,iC
|
|
|
37
37
|
transition: color 0.3s ease;
|
|
38
38
|
padding-top: ${t.sp1};
|
|
39
39
|
padding-bottom: ${t.sp1};
|
|
40
|
-
`,{spendManagement:{chargeCard:{chargeCardsPromo:B,cardDetails:d}}}=N.getLocalizedStrings(),c={chargeCardWidth:new m(200,384),chargeCardHeight:new m(128,240),openWalletIconWidthHeight:new m(20,p[4]),headingMarginTop:new m(p[4],p[7]),headingMarginBottom:new m(p[6],p[9])},y={headingFont:new u("h6Medium","h4Regular"),subheadingFont:new u("standardRegular","h6Regular"),walletTitleFont:new u("standardSemiBold","largeSemiBold"),walletSubTitleFont:new u("extraSmallRegular","standardRegular")},Be=(e,a,g)=>i.jsxs(oi,{translatePhone:e,showIphone:g,children:[i.jsxs(ai,{children:[i.jsx(gi,{children:B.timeText}),i.jsxs(ri,{children:[i.jsx(li,{children:[...Array(4).keys()].map(l=>i.jsx(ni,{towerIndex:l},l))}),i.jsx(di,{children:i.jsx(C,{className:"wave",children:i.jsx(C,{className:"wave",children:i.jsx(C,{className:"wave"})})})}),i.jsx(pi,{children:i.jsx(ci,{})}),i.jsx(hi,{})]})]}),i.jsxs(ti,{children:[i.jsxs(Ue,{children:[i.jsx(Ze,{showTick:a}),i.jsx(_e,{showTick:a}),i.jsx(ei,{showTick:a}),i.jsx(ii,{showTick:a}),i.jsxs(wi,{translateCardSkelton:e,children:[i.jsx(ui,{}),[...Array(4).keys()].map(l=>i.jsx($i,{lineIndex:l},l))]}),a?null:i.jsx(bi,{children:i.jsx(ge,{scannerTheme:"light"})})]}),i.jsx(xi,{showTick:a}),i.jsx(mi,{showTick:a,children:B.addToWallet})]}),i.jsx(si,{})]}),F=({tabType:e})=>{const a=L();return i.jsxs(Ee,{children:[i.jsxs(
|
|
40
|
+
`,{spendManagement:{chargeCard:{chargeCardsPromo:B,cardDetails:d}}}=N.getLocalizedStrings(),c={chargeCardWidth:new m(200,384),chargeCardHeight:new m(128,240),openWalletIconWidthHeight:new m(20,p[4]),headingMarginTop:new m(p[4],p[7]),headingMarginBottom:new m(p[6],p[9])},y={headingFont:new u("h6Medium","h4Regular"),subheadingFont:new u("standardRegular","h6Regular"),walletTitleFont:new u("standardSemiBold","largeSemiBold"),walletSubTitleFont:new u("extraSmallRegular","standardRegular")},Be=(e,a,g)=>i.jsxs(oi,{translatePhone:e,showIphone:g,children:[i.jsxs(ai,{children:[i.jsx(gi,{children:B.timeText}),i.jsxs(ri,{children:[i.jsx(li,{children:[...Array(4).keys()].map(l=>i.jsx(ni,{towerIndex:l},l))}),i.jsx(di,{children:i.jsx(C,{className:"wave",children:i.jsx(C,{className:"wave",children:i.jsx(C,{className:"wave"})})})}),i.jsx(pi,{children:i.jsx(ci,{})}),i.jsx(hi,{})]})]}),i.jsxs(ti,{children:[i.jsxs(Ue,{children:[i.jsx(Ze,{showTick:a}),i.jsx(_e,{showTick:a}),i.jsx(ei,{showTick:a}),i.jsx(ii,{showTick:a}),i.jsxs(wi,{translateCardSkelton:e,children:[i.jsx(ui,{}),[...Array(4).keys()].map(l=>i.jsx($i,{lineIndex:l},l))]}),a?null:i.jsx(bi,{children:i.jsx(ge,{scannerTheme:"light"})})]}),i.jsx(xi,{showTick:a}),i.jsx(mi,{showTick:a,children:B.addToWallet})]}),i.jsx(si,{})]}),F=({tabType:e})=>{const a=L();return i.jsxs(Ee,{children:[i.jsxs(R,{children:[i.jsx(Ne,{children:i.jsx(Ge,{windowSize:a})}),i.jsx(M,{windowSize:a,children:d.openWalletAppOnPhone})]}),i.jsxs(E,{windowSize:a,children:[e==="apple"?d.openWalletDescriptionApple:d.openWalletDescriptionGoogle,i.jsx(H,{})]}),i.jsxs(R,{children:[i.jsx(Le,{children:i.jsx(Ve,{windowSize:a})}),i.jsx(M,{windowSize:a,children:d.verifyCard})]}),i.jsxs(E,{windowSize:a,children:[e==="apple"?d.VerifyCardDescriptionApple:d.VerifyCardDescriptionGoogle,i.jsx(H,{})]})]})},Ri=({onGotItClick:e,isDebitCard:a,controllerEmails:g,classListFetchState:l,isChargeCardFeatureEnabled:f,isDebitCardFeatureEnabled:k,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:$,productInformation:j,creditAccountInformation:n,debitAccountInformation:v,chargeCardDetailView:G,creditAccount:V,creditAccountRepayment:X,cardIssuedByRoles:K,cardIssuedByDepartmentName:O,cardHolderRoles:J,cardHolderDepartmentName:Q})=>{const s=L(),Y=le().analytics,[T,q]=h.useState(!1),[z,U]=h.useState(!1),[Z,_]=h.useState(!1),[ee,ie]=h.useState(!1),[S,te]=h.useState("apple"),oe=ne(),ae=de.hasChargeCardAdminLevelAccess(oe.loggedInUserRoleMap),re=I=>{fe({chargeCardDetailView:G,classListFetchState:l,analytics:Y,isDebitCard:a,isChargeCardAdmin:ae,cardIssuedByRoles:K,cardIssuedByDepartmentName:O,cardHolderRoles:J,cardHolderDepartmentName:Q,controllerEmails:g,pageName:"Card Activation",addToWalletType:I==="apple"?"Apple Wallet":"Google Wallet",productInformation:j,creditAccountInformation:n,debitAccountInformation:v,isChargeCardFeatureEnabled:f,creditAccount:V,creditAccountRepayment:X}),te(I)};h.useEffect(()=>{setTimeout(()=>{q(!0)},a?9500:4500),setTimeout(()=>{U(!0)},a?9e3:4e3),setTimeout(()=>{_(!0)},a?10500:5500),setTimeout(()=>{ie(!0)},a?15e3:1e4)},[a]);const se=T&&z,x=N.getLocalizedStrings().spendManagement.chargeCard;return i.jsx(vi,{windowSize:s,children:i.jsxs(Oe,{children:[i.jsx(pe,{navBarContainerStyles:{paddingTop:p[2],alignItems:"center",paddingBottom:p[2]},title:x.addToWallet.title,ignoreScrollAction:!0,showBackButton:!1,showMenuIcon:!1,transparentBackground:!0,source:"AddToWalletPage",style:{zIndex:3},titleStyle:{marginTop:p[0]}}),i.jsxs(Je,{windowSize:s,children:[i.jsx(yi,{windowSize:s,children:x.addToWallet.heading}),i.jsx(fi,{windowSize:s,children:x.addToWallet.subheading})]}),i.jsxs(Qe,{windowSize:s,children:[s!=="small"?i.jsx(Ci,{children:i.jsxs(Ye,{windowSize:s,children:[i.jsxs(qe,{windowSize:s,flipCard:T,scaleCard:z,children:[i.jsx(ce,{isDebitCard:a}),i.jsx(he,{showCrossIcon:!1,isDebitCard:a})]}),Be(Z,ee,se)]})}):null,i.jsxs(Re,{windowSize:s,children:[i.jsx(Me,{children:i.jsx(Ie,{options:[{id:"apple",dataTestId:"add-to-apple-wallet",label:i.jsxs(i.Fragment,{children:[i.jsx(Ke,{}),i.jsx(P,{children:d.appleWallet})]})},{id:"google",dataTestId:"add-to-google-wallet",label:i.jsxs(i.Fragment,{children:[i.jsx(Xe,{}),i.jsx(P,{children:d.googleWallet})]})}],optionStyle:{padding:"12px"},thumbStyle:{paddingTop:t.sp4,paddingBottom:t.sp4},containerStyle:{border:t.sp0},selected:S,onToggle:re})}),i.jsxs(Fe,{children:[i.jsx(He,{isActive:S==="apple",children:i.jsx(F,{tabType:"apple"})}),i.jsx(Pe,{isActive:S==="google",children:i.jsx(F,{tabType:"google"})})]}),s!=="small"?i.jsx(ji,{children:i.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-web")})}):null]})]}),s==="small"?i.jsx(Si,{children:i.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-mobile")})}):null]})})},Fe=o.div`
|
|
41
41
|
display: flex;
|
|
42
42
|
position: relative;
|
|
43
43
|
width: 100%;
|
|
44
44
|
height: 100%;
|
|
45
45
|
overflow: hidden;
|
|
46
|
-
`,
|
|
46
|
+
`,He=o.div`
|
|
47
47
|
display: flex;
|
|
48
48
|
width: 100%;
|
|
49
49
|
position: absolute;
|
|
50
50
|
left: ${e=>e.isActive?t.sp0:"-369px"};
|
|
51
51
|
transition: left 0.3s ease-in-out;
|
|
52
|
-
`,
|
|
52
|
+
`,Pe=o.div`
|
|
53
53
|
display: flex;
|
|
54
54
|
width: 100%;
|
|
55
55
|
position: absolute;
|
|
56
56
|
right: ${e=>e.isActive?t.sp0:"-369px"};
|
|
57
57
|
transition: right 0.3s ease-in-out;
|
|
58
|
-
`,
|
|
58
|
+
`,H=o.div`
|
|
59
59
|
display: flex;
|
|
60
60
|
flex: 1;
|
|
61
61
|
background-color: ${e=>e.theme.colors.grey3};
|
|
62
62
|
min-height: 1px;
|
|
63
63
|
max-height: 1px;
|
|
64
64
|
margin: ${t.sp3} ${t.sp0};
|
|
65
|
-
`,
|
|
65
|
+
`,Re=o.div`
|
|
66
66
|
display: flex;
|
|
67
67
|
width: ${({windowSize:e})=>e==="small"?"100%":"369px"};
|
|
68
68
|
flex-direction: column;
|
|
@@ -74,7 +74,7 @@ import{X as L,d2 as le,t as ne,l as de,M as N,j as i,aW as pe,n as p,ik as ce,iC
|
|
|
74
74
|
border: 1px solid ${e=>e.theme.colors.grey2};
|
|
75
75
|
background: ${e=>e.theme.colors.grey3};
|
|
76
76
|
position: relative;
|
|
77
|
-
`,
|
|
77
|
+
`,P=o(xe)`
|
|
78
78
|
text-transform: none;
|
|
79
79
|
margin-left: ${t.sp2};
|
|
80
80
|
cursor: pointer;
|
|
@@ -92,7 +92,7 @@ import{X as L,d2 as le,t as ne,l as de,M as N,j as i,aW as pe,n as p,ik as ce,iC
|
|
|
92
92
|
border-radius: ${t.sp4};
|
|
93
93
|
background: ${e=>e.theme.colors.graphColor16Light};
|
|
94
94
|
display: flex;
|
|
95
|
-
`,
|
|
95
|
+
`,R=o.div`
|
|
96
96
|
display: flex;
|
|
97
97
|
align-items: center;
|
|
98
98
|
gap: ${t.sp3};
|
|
@@ -341,4 +341,4 @@ import{X as L,d2 as le,t as ne,l as de,M as N,j as i,aW as pe,n as p,ik as ce,iC
|
|
|
341
341
|
margin-right: -92px;
|
|
342
342
|
margin-top: -92px;
|
|
343
343
|
z-index: 5;
|
|
344
|
-
`;export{
|
|
344
|
+
`;export{Ri as default};
|
package/dist/assets/{AgingReportsPage-iXp5N9xa-BuwByTSa.js → AgingReportsPage-CmvGohzQ-CnwGJP78.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as K,X as O,l as A,M as x,hq as
|
|
1
|
+
import{u as K,X as O,l as A,M as x,hq as be,j as t,hr as De,bf as Ne,hs as je,aY as Oe,aW as ve,C as D,T,fy as ke,o as N,a5 as Pe,n as m,_ as V,bE as Be,bF as $e,bG as Me,q as Ae,bH as Ie,ai as ne,H as oe,a7 as re}from"./index-QTXYT_IZ.js";import{b as f,n as y}from"./vendor-CnQcJ2Lu.js";import{n as I}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{k as Ye,L as ze}from"./ArAgingChart-CfBXj53W-SUndSl9y.js";import{C as ie}from"./NoDataChart-DLfKZ9J--1T9pg2HM.js";import{R as se,W as $}from"./CollapsableReportTable-CKu2AawV-BR9Jh8-F.js";import{d as le}from"./NoDataTable-BRKuhxS0-sx0oHeyw.js";import{l as ce}from"./mapSpacerToTreeNode-BBfTCdRQ-bgZlN15f.js";import{l as Ee}from"./agingReportHelper-ovKP-qSS-BPG0U4uX.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./chartTypes-BTdgphvt-COUgSR4v.js";import"./AccountRow-BUDNnxLp-lnjPiXai.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const Le={chartHeight:new D(288,360)},de=y.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,ge=y.div`
|
|
4
4
|
display: flex;
|
|
@@ -6,7 +6,7 @@ import{u as K,X as O,l as A,M as x,hq as De,j as t,hr as be,be as Ne,hs as je,aY
|
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
height: ${e=>Le.chartHeight.valuePx(e.windowSize)};
|
|
8
8
|
padding-bottom: ${N.sp6};
|
|
9
|
-
`;function
|
|
9
|
+
`;function Re({report:e}){return e.reportId==="accounts_payable_aging"?t.jsx(Te,{report:e}):t.jsx(Fe,{report:e})}function Te({report:e}){const a=O();return e.agingBalances.length===0?t.jsx(de,{children:t.jsx(ie,{title:x.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ge,{windowSize:a,children:t.jsx(ne,{children:({height:o,width:i})=>t.jsx(Ye,{isDetailPage:!0,report:e,width:i,height:o})})})}function Fe({report:e}){const a=O();return e.agingBalances.length===0?t.jsx(de,{children:t.jsx(ie,{title:x.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ge,{windowSize:a,children:t.jsx(ne,{children:({height:o,width:i})=>t.jsx(ze,{isDetailPage:!0,report:e,width:i,height:o})})})}function qe({nestedCustomer:e,numOfBalances:a,title:o,config:i,parentNodeIDs:s,ancestorMetadata:n}){return{children:[],id:$("ac_subentity_total",s),isLastNode:!1,reportElementData:{element:{kind:"ac_subentity_total",title:o,data:e,numOfBalances:a,metadata:n},config:i}}}function pe({agingBalances:e,numOfBalances:a,title:o,isLastNode:i,config:s,parentNodeIDs:n,ancestorMetadata:c}){const l=$("aging_report_row",[],o),r={children:[],id:l,isLastNode:i,reportElementData:{element:{kind:"aging_report_row",title:o,data:e,numOfBalances:a,metadata:c},config:s}},u=e.children.map((p,d)=>pe({agingBalances:p,numOfBalances:a,title:p.customer.name,config:s,isLastNode:d===e.children.length-1,parentNodeIDs:[...n,l],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[...c.vendorOrCustomerAncestorMetadata,{depth:p.id.length-1,hasSibling:e.children.length>1,hasChildren:p.children.length>0,isLastNode:d===e.children.length-1,name:p.customer.name}]}}));return r.children.push(...u),e.children.length>0&&r.children.push(qe({config:s,nestedCustomer:e,numOfBalances:a,title:e.customer.name,parentNodeIDs:n,ancestorMetadata:c})),r}function Ke({agingBalances:e,numOfBalances:a,title:o,isLastNode:i,config:s}){const n=$("aging_report_row",[],o);return{children:[],id:n,isLastNode:i,reportElementData:{element:{kind:"aging_report_row",title:o,data:e,numOfBalances:a},config:s}}}function H({agingPeriods:e,config:a,nodeId:o}){return{children:[],id:o??$("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}function me({title:e,balances:a,config:o,numOfBalances:i,nodeId:s}){return{children:[],id:s??$("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,numOfBalances:i,data:a},config:o}}}const He=(e,a,o=!0)=>{const{agingPeriods:i,totalBalances:s,agingBalances:n}=e,c=i.length,l=H({agingPeriods:i,config:a}),r=[];r.push(l);const u=n.map((d,g)=>Ke({agingBalances:d,title:d.vendor.name,numOfBalances:c,isLastNode:g===n.length-1,config:a}));r.push(...u);const p=me({title:x.getLocalizedStrings().chartCard.total,balances:s,config:a,numOfBalances:c});return r.push(p),[...Array(1)].forEach((d,g)=>{r.push(ce({title:`${g}+${x.getLocalizedStrings().common.loading}`,balances:[],config:a}))}),{config:a,headerNodes:o?[l]:[],contentNodes:r}},We=(e,a,o=!0)=>{const{agingPeriods:i,totalBalances:s,agingBalances:n}=e,c=i.length,l=H({agingPeriods:i,config:a}),r=[];r.push(l);const u=n.map((d,g)=>pe({agingBalances:d,title:d.customer.name,numOfBalances:c,isLastNode:g===n.length-1,config:a,parentNodeIDs:[],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[{depth:0,hasSibling:n.length>1,hasChildren:d.children.length>0,isLastNode:g===n.length-1}]}}));r.push(...u);const p=me({title:x.getLocalizedStrings().chartCard.total,balances:s,config:a,numOfBalances:c});return r.push(p),[...Array(1)].forEach((d,g)=>{r.push(ce({title:`${g}+${x.getLocalizedStrings().common.loading}`,balances:[],config:a}))}),{config:a,headerNodes:o?[l]:[],contentNodes:r}};function ue(e,a,o,i=!0){Object.assign(e.config,a);const{agingPeriods:s}=o,n=H({agingPeriods:s,config:a});return{config:a,headerNodes:i?[n]:[],contentNodes:[n,...e.contentNodes.slice(1)]}}const j={contentPaddingLeft:new D(m[0],m[0],m[0]),contentPaddingRight:new D(m[3],m[3],m[8]),wrapperPadding:new D(m[3],m[3],m[8])},Y=y.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
position: sticky;
|
|
12
12
|
justify-content: center;
|
|
@@ -16,7 +16,7 @@ import{u as K,X as O,l as A,M as x,hq as De,j as t,hr as be,be as Ne,hs as je,aY
|
|
|
16
16
|
`,he=y.div`
|
|
17
17
|
width: 100%;
|
|
18
18
|
height: calc(100vh - ${N.sp11});
|
|
19
|
-
`;function
|
|
19
|
+
`;function Ge({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(Ue,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function Ue({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=O(),r=K(),u=!(l==="small"||l==="medium-compact"),p=f.useCallback((d,g)=>{a(d,g)},[a]);return f.useEffect(()=>{const d={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:p,onEntityNameClick:o}};if(n==null||!oe(i,e)){const g=He(e,d,u);s(e),c(g)}else{const g=ue(n,d,e,u);c(g)}},[e,p]),e.agingBalances.length===0?t.jsx(Y,{windowSize:l,children:t.jsx(le,{})}):n!=null?t.jsx(Y,{windowSize:l,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(r.colors.grey4),rootNodes:n,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:j.contentPaddingLeft.value(l),right:j.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Je({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){const[s,n]=f.useState(void 0),[c,l]=f.useState(void 0),r=O(),u=K(),p=!(r==="small"||r==="medium-compact"),d=f.useCallback((g,S)=>{a(g,S)},[a]);return f.useEffect(()=>{const g={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.arAgingUIState.sortKey,sortOrder:e.arAgingUIState.sortOrder,onSortOrderChanged:d,onEntityNameClick:o}};if(c==null||!oe(s,e)){const S=We(e,g,p);n(e),l(S)}else{const S=ue(c,g,e,p);l(S)}},[e,d]),e.agingBalances.length===0?t.jsx(Y,{windowSize:r,children:t.jsx(le,{})}):c!=null?t.jsx(Y,{windowSize:r,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(u.colors.grey4),rootNodes:c,type:"name+balances_actual",isSticky:{isStickyHeader:p,isStickyName:p},treeNodePadding:{left:j.contentPaddingLeft.value(r),right:j.contentPaddingRight.value(r)},nodeOpenStatus:e.arAgingUIState.nodeCollapseState,onNodeCollapseToggled:i,compareMode:"compare_mode_amount"})})}):null}const Xe={summaryColumnGap:new D(m[2],m[1],m[1],m[2],m[6])},Qe=y.div`
|
|
20
20
|
display: flex;
|
|
21
21
|
width: 100%;
|
|
22
22
|
justify-content: space-between;
|
|
@@ -34,7 +34,7 @@ import{u as K,X as O,l as A,M as x,hq as De,j as t,hr as be,be as Ne,hs as je,aY
|
|
|
34
34
|
width: fit-content;
|
|
35
35
|
`,te=y(Ie)`
|
|
36
36
|
color: ${e=>e.theme.colors.primary};
|
|
37
|
-
`;function Ve({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Ee(e),[e]),i=O();return t.jsxs(Qe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(Z,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:V("0,0",s?.balance)})]},n)}),t.jsxs(Z,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?x.getLocalizedStrings().reports.aging.apAging.totalPayable:x.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:V("0,0",o?.balance)})]})]})}const q={wrapperPadding:new
|
|
37
|
+
`;function Ve({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Ee(e),[e]),i=O();return t.jsxs(Qe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(Z,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:V("0,0",s?.balance)})]},n)}),t.jsxs(Z,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?x.getLocalizedStrings().reports.aging.apAging.totalPayable:x.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:V("0,0",o?.balance)})]})]})}const q={wrapperPadding:new D(m[3],m[3],m[8]),navbarMarginBottom:new D(m[7],m[4])},{download:F,dateFormat:b,reports:{common:Ze,aging:B}}=x.getLocalizedStrings();function vt(e){const a=K(),[o,i]=f.useState(!1),s=O(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:S,onEntityNameClick:fe,updateDownloadStateHandler:z,onNodeCollapseToggled:ye}=e,{fetchState:v,reportTitle:we,reportId:w}=n,{searchString:k,downloadState:M,sortKey:E,sortOrder:L,selectedDate:C,agingDateSelectionType:W}=c,{authParams:G,downloadEndPoint:U,timezone:J}=l,X=f.useCallback((h,_)=>{const P=ae(_);u(h,P),r.trackAgingReportDateChange(I(w),C!=null?C.format(b.analytics.YYYYDashMMDashDDFormat):A.dateNow().format(b.analytics.YYYYDashMMDashDDFormat),h.format(b.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,C]),Q=f.useCallback(h=>{const _=be({options:B.preComputedDurationOptions.map(({label:R,value:_e})=>({label:R,value:A.toCOABalanceTimeframe(_e)})).filter(({value:R})=>R!=null),selectedDate:h}),P=ae(_);u(h,P),r.trackAgingReportDateChange(I(w),C!=null?C.format(b.analytics.YYYYDashMMDashDDFormat):A.dateNow().format(b.analytics.YYYYDashMMDashDDFormat),h.format(b.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,C]),xe=f.useCallback((h,_)=>{S(h,_),r.trackAgingReportSortChange(I(w),_,h)},[r,S,w]),Ce=f.useCallback(()=>t.jsx(De,{maxDate:A.dateNow(),selectedDate:{date:C},precomputedOptionsProperties:{preComputedOptionSelected:lt(W),preComputedOptionDateFormat:b.visual.MMMDCommaYYYYformat,preComputedOptions:B.preComputedDurationOptions,onPreComputedOptionSelected:X},onSelectedDateChanged:Q}),[C,X,Q,W]);if(f.useEffect(()=>{async function h(){const _={companyName:l.companyName,searchString:k,sortKey:E,sortOrder:L,statementFileType:"excel",timezone:J,reportId:w==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:C};await et(U,G,_),z("Completed"),r.trackAgingReportDownloadClick(I(w),E,L)}o&&M!=="In-Progress"&&(i(!1),z("In-Progress"),h())},[G,U,l.companyName,M,o,w,k,E,L,z,C,r,J]),v==="Error")return t.jsxs(at,{children:[t.jsx(nt,{onClick:g,children:t.jsx(Ne,{})}),t.jsx(ot,{children:Ze.failed})]});const Se=t.jsxs(t.Fragment,{children:[t.jsx(je,{isSearchOpen:(k?.length??0)>0,searchPlaceHolder:w==="accounts_payable_aging"?B.apAging.searchPlaceholder:B.arAging.searchPlaceholder,searchText:k??"",onSearchTextChanged:h=>{d(h)},downloadPresent:!0}),t.jsx(Oe,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:M==="In-Progress"}],onDownloadClick:async h=>{if(h==="excel")if(M==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}})]});return t.jsxs(rt,{children:[t.jsx(ve,{title:we,subTitle:Ce(),backgroundColor:a.colors.grey5,onBackClick:p,rightSideComponent:Se,downloadPresent:!0,style:{marginBottom:q.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(T,{controller:v==="In-Progress"||v==="Not-Started",children:t.jsx(ke,{fetchState:v})}),t.jsxs(T,{controller:v==="Completed",children:[t.jsx(T,{controller:k.length===0,children:t.jsxs(st,{windowSize:s,children:[t.jsx(it,{children:t.jsx(Ve,{reportId:w==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:n.totalBalances})}),t.jsx(Re,{report:n})]})}),t.jsx(Ge,{report:n,onSortOrderChange:xe,onEntityNameClick:fe,onNodeCollapseToggled:ye})]})]})}async function et(e,a,o){const i=`${e}?query=${encodeURIComponent(JSON.stringify(tt(o)))}`,s=B.arAging;try{const n=await Be({urlEndPoint:i,authParams:a,fileType:"excel"});if(n.ok){const c=$e(n.headers,F.defaultFileName),l=await n.arrayBuffer();Me(l,c)}else console.error(`${F.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${n.statusText}`)}catch(n){console.error(`${F.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${JSON.stringify(n)}`)}}function tt(e){return{statement_file_type:e.statementFileType,search_string:e.searchString,report_id:e.reportId,company_name:e.companyName,locale_id:x.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,report_date:e.reportDate,timezone:e.timezone}}const at=y.div`
|
|
38
38
|
display: flex;
|
|
39
39
|
width: 100%;
|
|
40
40
|
height: calc(100% - 60px);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{cg as
|
|
1
|
+
import{cg as K,ee as Ie,X as W,j as l,Y as P,l as Z,M as E,C as T,o as i,an as re,K as ie,q as ne,cq as Pe,bH as Ce,fm as Y,fn as G,b_ as J,n as L,bt as Se,S as te,gc as de,fp as R,fo as ce,fq as pe,ae as me,gd as Oe,g as ue,cn as ge,f as he,co as Te,E as Re}from"./index-QTXYT_IZ.js";import{n as p,b as q}from"./vendor-CnQcJ2Lu.js";import{X as xe}from"./LabeledUserSingleSelectWithSubtitlesField-Cmc8qo-r-M7EEhfxE.js";import{j as ve,C as fe}from"./LabeledZeniRolesDropDownField-Cl6BAapU-DdwZAoZU.js";const _=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new T(120,120,160),toolTipWidth:new T(215,237)},g=E.getLocalizedStrings().peoplePage,ze=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:$,isBankingOnlyTenant:m,isCardsOnlyTenant:f,isEdit:N,person:x,analytics:b})=>{const w=W(),C=se.largeLabelWidth.value(w),{setValue:S}=K(),D=te(h),y=D.splice(0,1),U=D.reduce((r,n)=>r.concat(`${n.email},`),""),B=q.useMemo(()=>te(J.roles),[]),u=Z.hasInvestorBankerLevelAccess(e.role);return q.useEffect(()=>{(u||m||f)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,f]),l.jsxs(ke,{windowSize:w,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:_(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(g.addPlaceholderPrefix,g.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2}}),l.jsx(X,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(ve,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:_(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:G(m,f)},productsByUserRole:Y(e.role,$)},registerOptions:{required:!0}}}),l.jsx(X,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(De,{}),userSingleSelectWithSubTitlesField:{name:_(t,"manager"),value:{allUsers:a,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:r=>{const n=a.findIndex(d=>d.userId===r);if(n!==-1){const d=a[n],j=s.find(k=>k.classId===d.userRole.accountingClassIDs[0]),I=[];return j!=null&&I.push(j.className),I}else return[]},placeholderLabel:u?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.manager),registerOptions:{required:!u},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:u?"disabled":void 0,isOptionDisabled:r=>r===x?.user?.userId},style:{width:"auto"},isDisabled:u?"disabled":void 0,opacity:u?.32:1}),l.jsx(X,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:_(t,"department"),defaultValue:{allOptions:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})),selectedOption:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})).find(r=>r.value===e.departmentId)},placeholder:u||m||f?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.department),registerOptions:{required:!u||!(m||f)},isDisabled:u||m||f?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:u||m||f?"disabled":void 0,opacity:u||m||f?.32:1}),N?null:l.jsxs(Le,{windowSize:w,children:[g.invitePage.controllerText,y[0]?l.jsxs(Ne,{href:`mailto:${y[0].email}?cc=${U}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${y[0].firstName} ${y[0].lastName}`}),l.jsx(me,{className:"arrowIcon"})]}):null]})]}):l.jsx(fe,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:_(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:B},registerOptions:{required:!0},placeholderLabel:R(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&b?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},De=()=>E.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,ke=p.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -43,7 +43,7 @@ import{cg as G,ee as Ie,X as W,j as l,Y as P,l as Z,M as E,C as T,o as i,an as r
|
|
|
43
43
|
color: ${e=>e.theme.colors.primary};
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
`,M=(e,t)=>`${e}.${t}`,oe={largeLabelWidth:new T(125,140,160),toolTipWidth:new T(246,250)},c=E.getLocalizedStrings().peoplePage,Ue=({user:e,sectionId:t,mode:o,isZeniTenant:a,managersList:s,classList:h,controllersList:$,index:m,customerRoleOptions:f,isEdit:N,isBankingOnlyTenant:x,isCardsOnlyTenant:b})=>{const w=W(),{getValues:C,formState:{errors:S},setValue:D}=
|
|
46
|
+
`,M=(e,t)=>`${e}.${t}`,oe={largeLabelWidth:new T(125,140,160),toolTipWidth:new T(246,250)},c=E.getLocalizedStrings().peoplePage,Ue=({user:e,sectionId:t,mode:o,isZeniTenant:a,managersList:s,classList:h,controllersList:$,index:m,customerRoleOptions:f,isEdit:N,isBankingOnlyTenant:x,isCardsOnlyTenant:b})=>{const w=W(),{getValues:C,formState:{errors:S},setValue:D}=K(),y=oe.largeLabelWidth.value(w),[U,...B]=$,u=B.map(d=>d.email).join(","),r=q.useMemo(()=>J.roles.filter(d=>!["admin","bookkeeping_admin"].includes(d.value)),[]),n=Z.hasInvestorBankerLevelAccess(e.role);return q.useEffect(()=>{(n||x||b)&&D(`userItems.${m}.department`,{allOptions:[],selectedOption:void 0}),n&&D(`userItems.${m}.manager`,{allUsers:[],selectedUser:void 0})},[n,x,b]),l.jsxs(We,{windowSize:w,"data-testid":P("invite-people-user-item-section"),children:[l.jsx(de,{label:c.invitePage.email,name:M(t,"email"),registerOptions:{required:!0,value:e.email,validate:{duplicate:d=>!Fe(d,C("userItems"),m),notZeniMail:d=>o==="zeni_only"?!0:a||d.map(j=>!j.match(Oe)).reduce((j,I)=>j&&I)}},placeholder:R(c.addPlaceholderPrefix,c.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2},additionalInfoLabel:Ee(C("userItems"),M(t,"email"),m,o,S)}),l.jsx(A,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(ve,{label:{label:c.invitePage.role,width:y},style:{width:"auto"},rolesDropDownField:{name:M(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:G(x,b)},productsByUserRole:Y(e.role,f)},registerOptions:{required:!0}}}),l.jsx(A,{}),l.jsx(xe,{label:{label:c.invitePage.manager,width:y},showTooltip:!0,toolTipWidth:oe.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(Me,{}),userSingleSelectWithSubTitlesField:{name:M(t,"manager"),value:{allUsers:s,selectedUser:e.managerId},valueToSubtitle:d=>{const j=s.findIndex(I=>I.userId===d);if(j!==-1){const I=s[j],k=h.find(O=>O.classId===I.userRole.accountingClassIDs[0]),v=[];return k!=null&&v.push(k.className),v}else return[]},placeholderLabel:n?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.manager),registerOptions:{required:!n},isDisabled:n?"disabled":void 0,showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]}},style:{width:"auto",height:e.managerId==null?i.sp8:"74px",boxSizing:"border-box"},isDisabled:n?"disabled":void 0,opacity:n?.32:1}),l.jsx(A,{}),l.jsx(pe,{label:{label:c.invitePage.department,width:y},singleSelectWithoutClearableField:{name:M(t,"department"),defaultValue:{allOptions:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})),selectedOption:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})).find(d=>d.value===e.departmentId)},placeholder:n||x||b?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.department),registerOptions:{required:!n||!(x||b)},isDisabled:n||x||b?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:n||x||b?"disabled":void 0,opacity:n||x||b?.32:1}),l.jsx(A,{}),N?null:l.jsxs(Be,{windowSize:w,isDisabled:n,children:[c.invitePage.controllerText,U?l.jsx(Ae,{firstController:[U],isInvestorBanker:n,restControllerEmailsStr:u}):null]})]}):l.jsx(fe,{label:{label:c.invitePage.role,width:y},zeniRolesDropDownField:{defaultValue:{allOptions:r,selectedOptions:e.role},name:M(t,"role"),placeholderLabel:R(c.selectPlaceholderPrefix,c.invitePage.role),registerOptions:{required:o==="zeni_only"},isMulti:!1,forZeniUser:!1},style:{width:"auto"}})]})},Me=()=>E.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Fe=(e,t,o)=>{const a=t.filter(s=>s.userIndex!==o).map(s=>s.email).flat();return a.length>0&&e.every(s=>a.includes(s))},We=p.div`
|
|
47
47
|
display: flex;
|
|
48
48
|
flex-direction: column;
|
|
49
49
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -92,11 +92,11 @@ import{cg as G,ee as Ie,X as W,j as l,Y as P,l as Z,M as E,C as T,o as i,an as r
|
|
|
92
92
|
`,Ee=(e,t,o,a,s)=>{if(Te(s,t)&&s?.userItems&&s?.userItems[o]?.email)switch(s?.userItems[o]?.email.type){case"required":return c.invitePage.defaultHelpText;case"pattern":return e[o].email.forEach(h=>{if(!Re.test(h))return c.invitePage.defaultHelpText}),a==="zeni_only"?c.invitePage.otherThanZeniMailIDForZeniModeText:c.invitePage.zeniMailIDForNormalModeText;case"duplicate":return c.invitePage.emailAlreadyExist;case"notZeniMail":return c.invitePage.zeniMailIDForNormalModeText;case"validate":return c.invitePage.defaultHelpText;default:return}},Ae=({isInvestorBanker:e,firstController:t,restControllerEmailsStr:o})=>{let a="";const s=t[0];return s?.firstName&&s?.lastName?a=`${s?.firstName} ${s?.lastName}`:s?.firstName?a=s?.firstName:s?.lastName?a=s?.lastName:a=s?.email??"",l.jsxs(_e,{isDisabled:e,href:e?void 0:`mailto:${t[0]?.email}?cc=${o}&subject=${encodeURIComponent(c.invitePage.emailSubject)}`,children:[l.jsx("span",{children:a}),l.jsx(me,{className:"arrowIcon"})]})},Ze=e=>l.jsx(qe,{style:e.style,"data-testid":P("user-item-section"),children:e.isEdit?l.jsx(ze,{...e}):l.jsx(Ue,{...e})}),qe=p.div`
|
|
93
93
|
display: flex;
|
|
94
94
|
flex-direction: column;
|
|
95
|
-
`,F={buttonWidth:new T(70,70),marginBottom:new T(12,L[3]),deleteContentMarginLeft:new T(L[0],L[3]),containerPaddingTop:new T(L[0],L[3]),addUserWrapperGap:new T(L[1],L[2])},Ve=(e,t,o,a,s,h,$)=>({userIndex:e,email:[],role:a==="zeni_only"?{allOptions:J.roles,selectedOptions:[]}:void 0,nonZeniRole:a!=="zeni_only"?{userRole:{selectedRole:void 0,allRootRole:
|
|
95
|
+
`,F={buttonWidth:new T(70,70),marginBottom:new T(12,L[3]),deleteContentMarginLeft:new T(L[0],L[3]),containerPaddingTop:new T(L[0],L[3]),addUserWrapperGap:new T(L[1],L[2])},Ve=(e,t,o,a,s,h,$)=>({userIndex:e,email:[],role:a==="zeni_only"?{allOptions:J.roles,selectedOptions:[]}:void 0,nonZeniRole:a!=="zeni_only"?{userRole:{selectedRole:void 0,allRootRole:G(h,$)},productsByUserRole:Y([],s)}:void 0,manager:{allUsers:t,selectedUser:void 0},department:{allOptions:o.map(m=>({label:m.className,value:m.classId})),selectedOption:void 0}}),z=E.getLocalizedStrings().peoplePage,pl=({isDisabled:e,control:t,deleteConfirmationIndex:o,updateDeleteConfirmationIndex:a,style:s,sectionId:h,mode:$,isZeniTenant:m,managersList:f,classList:N,controllersList:x,customerRoleOptions:b,isBankingOnlyTenant:w,isCardsOnlyTenant:C,isEdit:S=!1,person:D,analytics:y})=>{const{getValues:U}=K(),{append:B,remove:u}=Ie({name:h,control:t}),r=W(),n=U().userItems,d=()=>{const v=n.length-1,O=Ve(v+1,f,N,$,b,w,C);setTimeout(()=>B(O,{shouldFocus:!0}))},j=v=>{a(v)},I=()=>{a(-1)},k=()=>{setTimeout(()=>u(o)),a(-1)};return l.jsxs(Ke,{style:s,windowSize:r,"data-testid":P("user-items"),children:[n.length>0?n.map((v,O)=>{const je=n.length;let V={};if($==="zeni_only")V={email:v.email,role:Xe(v.role.selectedOptions,S)??void 0};else{const ee=v.nonZeniRole?.userRole.selectedRole,H=ee!=null?(v.nonZeniRole?.productsByUserRole[ee]??[]).map(Q=>Z.toUserRoleTypeStrict(Q.selectedOption?.value)).filter(Q=>Q!=null):[],le=H.length>0?Z.hasInvestorBankerLevelAccess(H):!1;V={email:v.email,role:H,managerId:le?void 0:v.manager?.selectedUser,departmentId:le?void 0:v.department?.selectedOption?.value}}return l.jsxs(Ye,{"data-testid":P("user-item",v.userIndex.toString()),children:[S?null:l.jsx(l.Fragment,{children:je>1?l.jsx(ae,{windowSize:r,children:l.jsx(He,{curIndex:O,isDisabled:e,deleteConfirmationIndex:o,onDeleteClick:j,onCancelClick:I,onRemoveUserItem:k})}):l.jsx(ae,{windowSize:r,children:l.jsx(we,{children:l.jsx(ye,{children:l.jsx($e,{windowSize:r,children:z.invitePage.user})})})})}),l.jsx(Ze,{isDisabled:e,sectionId:`${h}.${O}`,control:t,user:V,mode:$,isZeniTenant:m,managersList:f,classList:N,controllersList:x,customerRoleOptions:b,isBankingOnlyTenant:w,isCardsOnlyTenant:C,isEdit:S,person:D,analytics:y,index:O}),o===O&&r==="small"?l.jsx(el,{children:l.jsx(be,{onCancelClick:I,onRemoveUserItem:k})}):null]},O)}):null,S?null:l.jsxs(sl,{"data-testid":P("all-user-items-add-user-button"),windowSize:r,onClick:()=>{d?.()},children:[l.jsx(ol,{}),l.jsx(al,{children:`${z.invitePage.add} ${z.invitePage.user}`})]})]})},He=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s,isDisabled:h})=>{const $=W();return l.jsxs(we,{children:[l.jsx(ye,{children:l.jsx($e,{windowSize:$,children:`#${e+1} ${z.invitePage.user}`})}),h===void 0?l.jsx(Qe,{curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s}):null]})},Qe=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s})=>{const h=W();return l.jsx(l.Fragment,{children:h==="small"?l.jsx(l.Fragment,{children:t!==e?l.jsx(tl,{"data-testid":P("delete-icon",e.toString()),onClick:()=>o(e)}):null}):l.jsx(l.Fragment,{children:t===e?l.jsx(Je,{children:l.jsx(be,{onCancelClick:a,onRemoveUserItem:s})}):l.jsx(Ge,{"data-testid":P("all-user-items-delete-icon-wrapper"),className:"delete-icon-wrapper",onClick:()=>o(e),children:l.jsx(Se,{style:{padding:"2px 5px"},enterDelay:600,title:z.invitePage.remove,placement:"left",children:l.jsx(il,{})})})})})},be=({onCancelClick:e,onRemoveUserItem:t})=>{const o=W();return l.jsxs(l.Fragment,{children:[z.invitePage.deleteConfirmation,l.jsxs(ll,{windowSize:o,"data-testid":P("delete-confirmation-wrapper"),children:[l.jsx(ie,{"data-testid":P("delete-confirmation-cancel-button"),label:z.invitePage.cancel,onClick:e,style:{width:F.buttonWidth.value(o),marginRight:i.sp3},size:"small",variant:"secondary"}),l.jsx(ie,{"data-testid":P("delete-confirmation-remove-button"),label:z.invitePage.remove,onClick:t,style:{width:F.buttonWidth.value(o)},size:"small",variant:"danger"})]})]})},Xe=(e,t)=>t?e:e!=null?[e]:[],Ke=p.div`
|
|
96
96
|
display: flex;
|
|
97
97
|
flex-direction: column;
|
|
98
98
|
padding-top: ${e=>F.containerPaddingTop.valuePx(e.windowSize)};
|
|
99
|
-
`,
|
|
99
|
+
`,Ye=p.div`
|
|
100
100
|
.delete-icon-wrapper {
|
|
101
101
|
visibility: hidden;
|
|
102
102
|
}
|
|
@@ -118,7 +118,7 @@ import{cg as G,ee as Ie,X as W,j as l,Y as P,l as Z,M as E,C as T,o as i,an as r
|
|
|
118
118
|
`,ye=p.div`
|
|
119
119
|
display: flex;
|
|
120
120
|
align-items: center;
|
|
121
|
-
`,
|
|
121
|
+
`,Ge=p.div`
|
|
122
122
|
width: ${i.sp3};
|
|
123
123
|
height: ${i.sp3};
|
|
124
124
|
cursor: pointer;
|