@zeniai/web-cockpit-ui 1.14.36-qa → 1.14.37-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-3oKbHC1_-CPH8w5qf.js → ACHDetailsPage-B-YGNgNu-Bmzj5VCx.js} +1 -1
- package/dist/assets/{AIPerformancePage-Cn2skpeY-CCjJ368o.js → AIPerformancePage-BtD_7Ftm-Dc6s17nv.js} +26 -26
- package/dist/assets/{AccountInfoPage-Dxnr3s2C-mYTnutAU.js → AccountInfoPage-BtnzwNNq-dHfnRP44.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-CMT1vJ_n-DQ3BhCnz.js → AccountInfoPageContent-B4wK76bm-bje-d7jv.js} +30 -30
- package/dist/assets/{AccountLockedInfoModal-2GuYlOQJ-BX3E8P3K.js → AccountLockedInfoModal-4JAQCp4H-oFdcTD1v.js} +4 -4
- package/dist/assets/{AccountReconDetailsDrawerPage-Cu_lsw9T-BWyP2J7P.js → AccountReconDetailsDrawerPage-Ddi5U4Ae-yt2cu51z.js} +13 -13
- package/dist/assets/{AccountRow-BcSPuOPF-Bl8Vk7p2.js → AccountRow-m99usqft-CVwqPSiA.js} +14 -14
- package/dist/assets/{AccountsPromoCardStack-Ch88Cvn8-CEnh-d4e.js → AccountsPromoCardStack-D-dhzSE8-DDW4X8m8.js} +30 -30
- package/dist/assets/{AddAddressForCardDrawer-Df4OROTJ-roa6Kbp7.js → AddAddressForCardDrawer-Bc7FcxQ9-CPCqNMQu.js} +1 -1
- package/dist/assets/{AddToWalletPage-DgVLkIkz-DR75t9Mp.js → AddToWalletPage-y4kvtUka-DDEooDf0.js} +19 -19
- package/dist/assets/{AgingReportsPage-M1xr5QPt-DIjA9-NT.js → AgingReportsPage-DrNIGwGn-SYUURrNK.js} +15 -15
- package/dist/assets/{AllUserItems-CzMARJS5-Dr-Osj3i.js → AllUserItems-B7zg_GaP-Be7aIkSs.js} +11 -11
- package/dist/assets/{ApAgingDetailPage-C3YN724_-8hos2jUo.js → ApAgingDetailPage-DnnUrY0w-YKhaNkmF.js} +3 -3
- package/dist/assets/{AppBasePage-CP4BX_QO-DtNH4Uku.js → AppBasePage-Bk7AUQvW-DewGDFAI.js} +16 -16
- package/dist/assets/{AppDrawerContent-Dc3UorVz-B203bUTM.js → AppDrawerContent-BoIqLCcg-DSqSJb6O.js} +8 -8
- package/dist/assets/{ApprovalRulesSettingsPage-DHw_cGEb-FeAB5p5Z.js → ApprovalRulesSettingsPage-C9F_rLkj-CMuUFv_Y.js} +1 -1
- package/dist/assets/ArAgingChart-DIwVIc---JSQnHbrf.js +24 -0
- package/dist/assets/{ArAgingDetailPage-BU6gubOU-Cwybk5ti.js → ArAgingDetailPage-DxW2xm-N-C3cyEzON.js} +1 -1
- package/dist/assets/{AttachmentView-Cjq9bT2R-ChfqxVCP.js → AttachmentView-BlhBiGC5-BQVXVdi4.js} +6 -6
- package/dist/assets/{BankAccountSection-DcBAe_nk-BDZiyC0N.js → BankAccountSection-A8IfSLFo-DZ6IsEkG.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-CgdNj2lq-DYMBafFn.js → BankAccountWarningSection-DFi3iK9n-Bwv6p1-d.js} +19 -19
- package/dist/assets/{BankConnectionsSettingsPage-DN-l_MKN-D93nWaHf.js → BankConnectionsSettingsPage-CKGG85vp-aivbIsnx.js} +10 -10
- package/dist/assets/{BillDetailPage-DSNj9dZa-DtxuLV4-.js → BillDetailPage-BOVwHvyV-BfaeR7sU.js} +11 -11
- package/dist/assets/BillPayApprovalRuleDetailPage-BVdiHMjx-H3-_-QUF.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-3E7Zb7Tv-DCFzCAOs.js → BillPayApprovalRulesPage-Dl45oEp5-Bp4yjfcf.js} +7 -7
- package/dist/assets/{BillPayPromoPage-iqi-3PsJ-DMCZpJDo.js → BillPayPromoPage-CEX8Udbv-Bz1WZJJS.js} +32 -32
- package/dist/assets/{BillPaySetUpPage-DkBnCNVT-CNLCohDg.js → BillPaySetUpPage-CSfEFV18-C8fnmfrq.js} +2 -2
- package/dist/assets/{BillingSettingsPage-Bxl_rTxp-Dt1R5WU3.js → BillingSettingsPage-hu1pz4dA-DIqnmxGS.js} +4 -4
- package/dist/assets/{BillsBulkReviewDrawerPage-BAQfge2H-D02R2KEO.js → BillsBulkReviewDrawerPage-DIY4Aa7i-DWQniSAN.js} +1 -1
- package/dist/assets/{BoxItem-BiXktaUJ-Dx4UpZnl.js → BoxItem-BnivUbj--D0CHtSbc.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BvtQdbIO-C-4HEjnu.js → BusinessVerificationPage-BZB4KFum-B7vFGHC7.js} +7 -7
- package/dist/assets/CardNumberSubText-CIysZ6zp-BeRdb8DH.js +21 -0
- package/dist/assets/{CashbackDetailPage-CKSxtvZL-DMy_1ncD.js → CashbackDetailPage-C-MPq54h-Di99A_id.js} +17 -17
- package/dist/assets/{ChargeCardDetailPage-Dwb3MwPx-Cyo9oIdd.js → ChargeCardDetailPage-CGyuANsu-BXb0v708.js} +40 -40
- package/dist/assets/{ChargeCardListPage-CQ3lUqTC-mqawFLzr.js → ChargeCardListPage-BbzjzgAv-D6IqTZDO.js} +27 -27
- package/dist/assets/{ChargeCardListTable-B2MUmgfU-D_shYqbL.js → ChargeCardListTable-D-wd0edv-Ccs8wgch.js} +14 -14
- package/dist/assets/{ChargeCardPromoPage-DNZ_qrk1-DBSQWDn9.js → ChargeCardPromoPage-Cs-Xlghn-TDUeeTRa.js} +14 -14
- package/dist/assets/{ChargeCardSetupPage-DX4VlcBt-D2BsEuJx.js → ChargeCardSetupPage-CfCGkFxz-Ba3kpJjD.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-DlVfCfY8-DacvUnhN.js → ChargeCardStatementsPage-Jc6k_2Gg-C9xm6yF8.js} +6 -6
- package/dist/assets/ChargeCardUtils-Vw0LoIey-LQKRCzhH.js +1 -0
- package/dist/assets/{ChaseOverlay-DYQYE0RM-BNyyunYf.js → ChaseOverlay-Cm-3BKNK-ByPesCFg.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-C653BICE-kqu99eF3.js → CheckDepositDrawerPage-BAwg3duC-unpJ_-VW.js} +11 -11
- package/dist/assets/{CollapsableReportTable-KGZROyWO-Db0w9Rdn.js → CollapsableReportTable-C_qcwMWq-DwhvFgWQ.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-WlKm-fM0-BGoXAhO_.js → CompanyOfficerDetailsSection-_m4C7Xgf-B3wASBKA.js} +30 -30
- package/dist/assets/{CompanyPassportCard-BXQt77bL-75HeNLig.js → CompanyPassportCard-BiuPML3b-oaTBtIaM.js} +5 -5
- package/dist/assets/{CompanyPassportPage-CdM9x1g7-CU7hHuy1.js → CompanyPassportPage-BHf1pHbJ-Buj_TW7B.js} +29 -29
- package/dist/assets/{CompleteProfile-g0ErQlZA-CH_f-t16.js → CompleteProfile-DKEFybHA-C1kFizxR.js} +1 -1
- package/dist/assets/{ConfettiBurst-Cu0ce9ZQ-B-O04vC2.js → ConfettiBurst-BvcmPG2b-ZMa2QlEG.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-Zn--1Mu0-D9gWbjtv.js → CreateOrEditVendorPage-EpWC9Uuv-Dc0tZPg8.js} +8 -8
- package/dist/assets/{CreditCardPaymentDrawerPage-BSS4YcVE-CgX6IwV-.js → CreditCardPaymentDrawerPage-DI-za1T2-bRyqVvzT.js} +19 -19
- package/dist/assets/{CreditCardPaymentPlgSection-QKLSnyR5-CcwitUra.js → CreditCardPaymentPlgSection-BGu0Am-e-aYbEN-hH.js} +8 -8
- package/dist/assets/{CurrencySelectField-DxrwSaJK-CtUHanPt.js → CurrencySelectField-DL628Rog-Bmtvp9OQ.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-BbfI4g9k-BQ3KiLNv.js → CustomerOnboardingActivationPage-DzuWnPaH-_LvR1atL.js} +2 -2
- package/dist/assets/CustomerOnboardingContainerPage-BLgcij7A-B0ZyZA5y.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DyIeAi4x-sDf2KJmg.js → CustomerOnboardingDetailPageSkeleton-Bx_rpQHj-BvbC0CJP.js} +9 -9
- package/dist/assets/{CustomerOnboardingNoStepsPage-BbHZQvuH-Cs54P_au.js → CustomerOnboardingNoStepsPage-CSI_jqkM-BvTSxYdS.js} +2 -2
- package/dist/assets/{CustomerOnboardingPage-BGKjRruK-l9abCt_I.js → CustomerOnboardingPage-CuS2FfSh--tD5QTKd.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-Cmwfbh1x-CqTz3Oek.js → CustomerOnboardingProductSuitePage-B4HtoU9G-k9fDWiOr.js} +1 -1
- package/dist/assets/{Dashboard-DCbGYUNO-Ba0gdUJ8.js → Dashboard-bFhMc4h1-CwTlVIc3.js} +114 -114
- package/dist/assets/{DashboardReportPage-7sacscjb-DQsdps8x.js → DashboardReportPage-B1pKZHaH-C002ABtg.js} +19 -19
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CcQR2lMq-CdazmDjf.js → DashboardSidebarBackgroundAnimation-CLaTbvuZ-DTILeRgb.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-u7kiVxu3-kPzkE3jM.js → DepositAccTransactionItem-DnzXR7B4-BzeCDAAx.js} +3 -3
- package/dist/assets/DepositAccTransactionListPage-C0F0N3XK-CpXVyO43.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-CjliTPRp-DDFMQRln.js → DomesticWireDetailsPage-BS3N4ATj-Z9M0LUQc.js} +1 -1
- package/dist/assets/{DownloadOverlay-LzyYQ7X7-C1kfy2nO.js → DownloadOverlay-yXed0RbK-CILknCuS.js} +1 -1
- package/dist/assets/{DrawerPage-DVu3OGym-CoS-_2wf.js → DrawerPage-LV8__F8R-DnqAUVKa.js} +5 -5
- package/dist/assets/{EditPeoplePage-COZuksUu-COZ99MkR.js → EditPeoplePage-GBNK0lo_-DOfo7pqS.js} +5 -5
- package/dist/assets/{EditReimbursementDetailPage-P7gybbTe-DoN5gC4Y.js → EditReimbursementDetailPage-COApDpVm-BQmgcdfZ.js} +59 -59
- package/dist/assets/{EntityDetailPage-CMAFiXng-5jgc6gJM.js → EntityDetailPage-DdZmhyPX-DWJHl4Bk.js} +2 -2
- package/dist/assets/{EntitySummarySection-BezHSTT7-44jzqjl2.js → EntitySummarySection-Cn7rnQeI-CBO7wVuQ.js} +5 -5
- package/dist/assets/{ExpenseAutomationOverviewPage-CX5wpbbp-BFiisz1L.js → ExpenseAutomationOverviewPage-ipXT_MCO-bp6l5ftT.js} +17 -17
- package/dist/assets/ExpenseAutomationPage-BXyGtnBz-BNGaSmRn.js +1650 -0
- package/dist/assets/{ExpressPayPage-KpzY-AC4-MUf8Bliz.js → ExpressPayPage-C0J3X657-nQamsxue.js} +9 -9
- package/dist/assets/{FeaturePreviewPage-T7VgNi57-DfDILGAW.js → FeaturePreviewPage-lIDKDiwy-ByXy-FSZ.js} +2 -2
- package/dist/assets/{FollowStepsSection-BffVXexb-D3pEbTc3.js → FollowStepsSection-CtCRMD2R-CbwNNmmr.js} +23 -23
- package/dist/assets/{GlobalReviewListPage-DPJug-7p-Dl-cd64S.js → GlobalReviewListPage-DXPuMshX-BcxIk4p1.js} +14 -14
- package/dist/assets/{HelpButton-BkxT0f9t-BbQSDGRC.js → HelpButton-Dmp2RZDD-B2Rab4OD.js} +4 -4
- package/dist/assets/{InformationCardStack-CiO7p4bX-Do2a1fQI.js → InformationCardStack-bpQXbFWJ-Cm38YEZv.js} +4 -4
- package/dist/assets/{InsightsCardStack-CCx4eRv0-CLWY9RSw.js → InsightsCardStack-BzyYnnH_-BColy9W-.js} +9 -9
- package/dist/assets/{InsightsSection-CQRpIy9c-Cv1jNfx6.js → InsightsSection-BVjjBkzp-DdtTOhLh.js} +4 -4
- package/dist/assets/{IntegrationsSettingsPage-CDHIF3ky-DtZ5IA9g.js → IntegrationsSettingsPage-DjMaGIv9-C8FJSTfl.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-BTB0YTLP-n6XtyIV1.js → InternationalWireSwiftDetailsPage-DXYaOaYh-D23V0HqY.js} +13 -13
- package/dist/assets/{InternationalWireVerificationPage-DZAa5CXK-DbY47A1b.js → InternationalWireVerificationPage-yPrzoGA9-BxdDeF-a.js} +10 -10
- package/dist/assets/{InviteFormPage-CVIA_4cc-eg7gJ7Ox.js → InviteFormPage-xQ6xN_gt-BMpnhTIU.js} +20 -20
- package/dist/assets/{InvitePageListView-BapkK9dR-BVEYyyQ6.js → InvitePageListView-BmkX934z-BfZaFs-7.js} +40 -40
- package/dist/assets/InvitePeoplePage-BxxEjVs5-CabY1R7G.js +12 -0
- package/dist/assets/{InvoiceUploadSection-CfoxMKse-CDjglzly.js → InvoiceUploadSection-BxfSI49h-Brw0wgV3.js} +6 -6
- package/dist/assets/{IssueChargeCardPage-DoNxoxCV-CmM-tr_7.js → IssueChargeCardPage-ByK_ayX6-rSu6Sks_.js} +22 -22
- package/dist/assets/{LabeledAddressValue-DzKLuwO0-DH63jMra.js → LabeledAddressValue-Bk-opSoh-CfhrR6VE.js} +1 -1
- package/dist/assets/LabeledAddressValueField-RFI4bpOj-V_HSBjtL.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-BsXmJGaz-sGVdJyTH.js → LabeledControlledCheckBoxField-DtVQoSev-CxGQ4PV5.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CNcoKtBi-Bc2UKXaN.js → LabeledCreatableSingleSelectField-BFmP_-GA-Dc6F7WMx.js} +2 -2
- package/dist/assets/{LabeledDocumentField-DB-XX9hy-mKhff6Yn.js → LabeledDocumentField-CyW3tPI--BGc7rzmx.js} +3 -3
- package/dist/assets/{LabeledDropDownFormattedTextField-ChF-tfZl-DZO5Gtru.js → LabeledDropDownFormattedTextField-_b5VDmOJ-XXRUXuQU.js} +3 -3
- package/dist/assets/{LabeledText-DQjY46zj-up0sQhsW.js → LabeledText-Bc8QavrT-DRMQG5Fd.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Dg_jyvIT-oTL0jcAw.js → LabeledUserSingleSelectWithSubtitlesField-CE-MxVSk-Bf2C7jq-.js} +7 -7
- package/dist/assets/{LabeledZeniRolesDropDownField-qeHXm7K1-C_80YZK_.js → LabeledZeniRolesDropDownField-BqlbDyA1-Z63nBo8a.js} +6 -6
- package/dist/assets/{LinkJETransactionPage-DWq96C-C-DRgB8kQY.js → LinkJETransactionPage-DE8ch_W7-BbSoAkGH.js} +6 -6
- package/dist/assets/{LowBalancePopup-DIu4EJtv-rczMO9N_.js → LowBalancePopup-DWXEyi2S-BS-B0i1n.js} +4 -4
- package/dist/assets/{MagicLinkACHDetailsPage-0uTQmYPp-BzrnVjRN.js → MagicLinkACHDetailsPage-CJ57XAxp-B8DWH8Pe.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CtkSDg_U-DAUSWNXX.js → MagicLinkDomesticWireDetailsPage-Ba1gbLAX-C3b71Pt2.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-qNEvVVcm-BLVdFllq.js → MagicLinkInternationalWireDetailsPage-U3ygf3uO-B8lQWMEo.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-D4C3XF4W-CxC7T2yq.js → MagicLinkSuccessPage-CGjxH6Hl-BGgftVAk.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DXZCLfIM-Kc9li2Mz.js → MagicLinkTitleSection-Dzfctx8H-BBKMnm9G.js} +9 -9
- package/dist/assets/{MailingDetailsSection-7_w5PfFQ-l-Ms2dZv.js → MailingDetailsSection-N-M1JzkW-CJwTbRpR.js} +6 -6
- package/dist/assets/{MeetingCalenderPopup-2P6uhLqh-Bv6Y7JYF.js → MeetingCalenderPopup-BJgsd-6e-BVSiedfG.js} +1 -1
- package/dist/assets/{Menu-Ya9EH9T1-PA0M0_dJ.js → Menu-DCl4YiCd-B0YQHXqY.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-Bz9BP12B-DFEjaiEQ.js → MyBankConnectionsSettingsPage-BZP3Dbes-DmpNjSAQ.js} +11 -11
- package/dist/assets/{MyPendingActivationChargeCardListPage-BxFFCBYU-J7pq_dIc.js → MyPendingActivationChargeCardListPage-Cc8Onh73-CbDOi7oK.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-BRTEYBf1-CImsulwL.js → MyProfileSettingsPage-7YrgIr-M-ZiI_qPOd.js} +11 -11
- package/dist/assets/{NavBarWithPicker-Cx1ldzdT-DvbtCcQI.js → NavBarWithPicker-Bbu7_9sU-Drz87Xca.js} +4 -4
- package/dist/assets/{NavigationArrow-Cic_S7sL-ckG0aVUi.js → NavigationArrow-DNJkGq5e-CFURJ7Q6.js} +1 -1
- package/dist/assets/{NavigationDots-BnqdhDar-Cev6ZyTd.js → NavigationDots-BDhrBzmw-D1HC0qJi.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BMLnV68V-BCfbjcR4.js → NewGlobalMerchantPage-DSyitl-a-Cmd_Uf-_.js} +11 -11
- package/dist/assets/{NoDataChart-CyIzcvzb-Dem0-EFr.js → NoDataChart-Bww-GG_z-Bc_skb_f.js} +3 -3
- package/dist/assets/{NoDataTable-Cf9Qv-ms-CRyA81-u.js → NoDataTable-DRSEE7HT-D9jhDjAA.js} +1 -1
- package/dist/assets/{NotFoundPage-BP2jA51O-CIcxo9pO.js → NotFoundPage-BepvWGxk-DxNfmeBZ.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-Bhj72XzL-DVOSzeQy.js → NotificationSettingsPage-CR6XVZlL-wDdA0j9g.js} +17 -17
- package/dist/assets/NotificationsListConfig-CBjTcLzj-jvVy89VO.js +1 -0
- package/dist/assets/{NotificationsPage-DEQ0muyV-Bv0NHOnt.js → NotificationsPage-BgUc61wf-BZgONaPK.js} +29 -29
- package/dist/assets/{OpExByVendorPage-BPvIdjMh-TNiWMr5D.js → OpExByVendorPage-BkgsQ4lY-7o0GC3_0.js} +6 -6
- package/dist/assets/{OverlayContainerPage-Bmu909Fo--5yg6Tax.js → OverlayContainerPage-Bmu909Fo-C009NgjC.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CgMYDel--CkSNRDaI.js → PandLWithForecastPage-B0pUD9U8-DO8PheB4.js} +6 -6
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CfUpfrt6-BW_SKK1b.js → PaymentAccountSetupBillingAddressSection-YvYPpyzH-C8eu7aCq.js} +12 -12
- package/dist/assets/{PeoplePage-BrL4O-03-DC4TJAlL.js → PeoplePage-mobCML9r-CoCd3iyK.js} +18 -18
- package/dist/assets/{PortfolioAllocationFormPage-C24sa7Lv-CS9exMuD.js → PortfolioAllocationFormPage-CB9lfs6z-DLoszR7s.js} +7 -7
- package/dist/assets/{PortfolioDetails-wAtPiO4w-DtXhftWz.js → PortfolioDetails-zYYGkoC--vz6_lm4y.js} +23 -23
- package/dist/assets/{ProductsCarousel-B8KxzJsX-D-U3TnaP.js → ProductsCarousel-B4zdUn5q-DoM0qjnT.js} +5 -5
- package/dist/assets/{PromoBaseCards-DKu8lmMb-BIMtIVy2.js → PromoBaseCards-CgGg3lpk-Dz6RYIDW.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-CSRVcpvB-C3IWq6r8.js → QBOConnectionDialog-BBVBEJWA-dgJxEpfC.js} +9 -9
- package/dist/assets/{QBOSetupSection-CwO2OwTA-lgs-jkrv.js → QBOSetupSection-pBOQk_mE-Dd7Gnjqf.js} +10 -10
- package/dist/assets/ReimbursementApprovalRuleDetailPage-Ck2KbJ_R-BX6Ge_l2.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-CWZIqbqf-BTn_SLR-.js → ReimbursementApprovalRulesPage-D7LTvUrz-DlssbBj8.js} +32 -32
- package/dist/assets/{ReimbursementDetailPage-DaiOed8i-DwZH8KtK.js → ReimbursementDetailPage-CbgWCawo-C7_BdWis.js} +8 -8
- package/dist/assets/{ReimbursementPromoPage-CTpCa9C7-DXsIPlPa.js → ReimbursementPromoPage-DmV5eoIo-DOkiivOI.js} +6 -6
- package/dist/assets/{ReimbursementSetUpPage-Cd0w6zdZ-DGtqM3KM.js → ReimbursementSetUpPage-kAlaG5Ag-CleK9Kyi.js} +3 -3
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-70qXVn3v-C1moxDIU.js +1 -0
- package/dist/assets/{ReloadCard-D8XT-nw--BV8bnUyY.js → ReloadCard-DoOxxK_q-CpkIPzoZ.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-kf12PTIw-DworDG8i.js → ReportTableViewSelector-7OJVsL-G-DHAAlp0N.js} +10 -10
- package/dist/assets/{ReportsPage-D0dEACVc-DgIJNvPU.js → ReportsPage-29ims7Ks-DeqwxbGw.js} +9 -9
- package/dist/assets/{RevenueChart-D67Egnoj-BPCWUSxJ.js → RevenueChart-CLtUUYr5-BiKK-4fc.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-DX3JdY2D-D3dyGngD.js → ReviewDetailsPage-DNDzoyA5-DEPI6irg.js} +5 -5
- package/dist/assets/{ReviewOverlay-BUmIoEZp-D2ymNLjK.js → ReviewOverlay-VleZWRhn-92ozUwMn.js} +4 -4
- package/dist/assets/{RoleWithToolTip-QUDWRgyn-CpllGBka.js → RoleWithToolTip-DsEos8I_-DRhh0Kxb.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-ffFbqWqR-CjimSP3l.js → ScheduleDetailsFixedAssetsPage-Cv84NP5--DgtnhyGw.js} +4 -4
- package/dist/assets/{ScheduleDetailsPage-Btyinpxx-BEc7XiII.js → ScheduleDetailsPage-D4IKW5z6-Dgpd_Bt3.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-nubG9ZPF-BREfUXr4.js → ScheduleSequenceTable-qHcZL82y-hvYO0uf8.js} +17 -17
- package/dist/assets/{ScreenRoutes-Dgea21fw.js → ScreenRoutes-BMiRN1n5.js} +1 -1
- package/dist/assets/SetUpAccountSection-CjOOpWa2-DlvlGnwo.js +378 -0
- package/dist/assets/{SetUpDefaultSection-D54P9sLQ-BDnsJt2v.js → SetUpDefaultSection-Ax1FuH_A-CyAf_lFy.js} +9 -9
- package/dist/assets/{SignIn-DQERofSd-oBlnYa-P.js → SignIn-Bj2czf21-DLn_5Hl2.js} +11 -11
- package/dist/assets/{SignInScreen-B2EaGJl8.js → SignInScreen-EkV2uFui.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-B9iJVZhK-CRCiUJ6M.js → SpendManagementListViewPage-7oQurX8D-Btm2dsFE.js} +10 -10
- package/dist/assets/{SpendManagementPerTabPage-DiduNPFx-D9oqLhbJ.js → SpendManagementPerTabPage-DG8qRSeQ-DkldK9oK.js} +12 -12
- package/dist/assets/{SpendManagementSection-BPJDk9AQ-DYJYXq75.js → SpendManagementSection-CzGLKJ01-CMEY5Je9.js} +5 -5
- package/dist/assets/{SpendMgmtSetupAccountSection-BVOwbOVv-DBEGxYJg.js → SpendMgmtSetupAccountSection-BSuY_zqo-DgJtGLqh.js} +6 -6
- package/dist/assets/StatementItem-teWYG-k5-DINRmcX_.js +31 -0
- package/dist/assets/{StatementsPage-BzG0fWr9-C2WmykTu.js → StatementsPage-Kqug4TjC-i8j_G7aT.js} +6 -6
- package/dist/assets/{StatusSwitcher-aZiGS6I4-SJleRIpV.js → StatusSwitcher-BXzanE6h-DMj6aTv0.js} +4 -4
- package/dist/assets/{SubTabSwitcher-BPzCR9_G-BHHHtmm3.js → SubTabSwitcher-Dc78MPYF-BBOjByHP.js} +1 -1
- package/dist/assets/{SummaryCard-DE3DiW4z-Ob-uwEAE.js → SummaryCard-DDpG4vry-B5U4mOGE.js} +1 -1
- package/dist/assets/{TaskManagementPage-bmYzZzlx-CIXVz4DA.js → TaskManagementPage-DQXNMGNK-CKRAR0zh.js} +14 -14
- package/dist/assets/{TimeRangeSwitcher-D10b_iT0-jUwxoenx.js → TimeRangeSwitcher-BQL2dhVh-BEcsPUsE.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-w4308CL0-DnYzOk2-.js → TimeframeSwitcher-CXvrXTdI-C26WdHZR.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DP7dCTZ--DkJE5OK1.js → TimeframeSwitcherWithToggle-C_hQ5Vj--Bx-1-ivl.js} +1 -1
- package/dist/assets/{TopExCard-C9Dwe5gi-LPUiisav.js → TopExCard-CmajFYfY-r8AKz4at.js} +6 -6
- package/dist/assets/{TopExDetailPage-Ch4gEAFc-jqF5sDN8.js → TopExDetailPage-DNfBQfSC-C7SERVmo.js} +14 -14
- package/dist/assets/TransactionDetailPage-DZPHVxna-gW9ty_N8.js +912 -0
- package/dist/assets/{TransactionList-Dy4LSOLF-B2cK80Yz.js → TransactionList-DifBTNrV-XDxlPwJi.js} +5 -5
- package/dist/assets/{TransactionListBig-BOmqcsRt-D39HjkKA.js → TransactionListBig-Bjmt3Xib-2_W_aEC_.js} +13 -13
- package/dist/assets/{TransactionListPage-D1XobIP_-DbIWZvtt.js → TransactionListPage-CpFiD4Aw-CR2PsPHW.js} +4 -4
- package/dist/assets/TransactionVendorDetailPage-BSZ4IBis-BYhm_gdm.js +80 -0
- package/dist/assets/{TransferDrawerPage-DEK-tLwC-BhvXBxPn.js → TransferDrawerPage-CiGIqLHQ-D46lOtpY.js} +19 -19
- package/dist/assets/{TreasuryOverviewPage-Bv8YOcOu-C7TfPiOx.js → TreasuryOverviewPage-C21g82G6-DYbFAWwM.js} +45 -45
- package/dist/assets/{TreasuryPromoPage-BpJ4G2tW-DW2PWamd.js → TreasuryPromoPage-lNMQil_1-N_uS5Aq-.js} +21 -21
- package/dist/assets/{TreasurySetupPage-DmXhUnJ2-Cr-EQ97Y.js → TreasurySetupPage-CHjK0p7r-CRu0aFPY.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-iOhX7bQX-BrrdMHEz.js → TreasuryStatementsPage-CKAdFoHY-CmvodGfK.js} +3 -3
- package/dist/assets/{TreasuryTaxLetterPage-SKYFef4J-CF457mMz.js → TreasuryTaxLetterPage-DPdcmb53-THnCfe4J.js} +3 -3
- package/dist/assets/{TreasuryTransferOrReviewPage-BAQy6UbF-BsouYAgP.js → TreasuryTransferOrReviewPage-DmGpNvWn-BuegZV7_.js} +42 -42
- package/dist/assets/{TrendChart-DrNmAOxp-CpCLfpDT.js → TrendChart-BJF_aBUS-9NcnnooQ.js} +4 -4
- package/dist/assets/{TrendWithTransactions-CFapbjqF-Br032y4x.js → TrendWithTransactions-DXSMdecG-qeajZlKV.js} +5 -5
- package/dist/assets/{UncategorizedAccountsMappingPage-BjyEIyD--CJ52UqmE.js → UncategorizedAccountsMappingPage-DMiXdRb9-CRgBjITM.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-CMRuNXKH-CCL29gsJ.js → UnitIntegrationPage-Dqakwr1P-QWF0IWfi.js} +2 -2
- package/dist/assets/{UploadAdditionalDocumentOverlay-BJNFsBN7-BRmVDWYA.js → UploadAdditionalDocumentOverlay-DOy8Wvxm-COI977Ym.js} +2 -2
- package/dist/assets/{Vendor2FAPopup-Dk_XUHkP-B8kBbJMI.js → Vendor2FAPopup-DR_Uif4s-CCjiwhTD.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-DS1-IldK-9pon97Cr.js → VendorACHDetailsPage-_nmRyuvM-BAqZ8tTf.js} +1 -1
- package/dist/assets/{VendorDetailPage-CzECD1Tt-BN9kblu_.js → VendorDetailPage-DYhBGXTe-B5kyd9_T.js} +8 -8
- package/dist/assets/{VendorDomesticWireDetailsPage-Bd-dOP2Q-CLGAbLU-.js → VendorDomesticWireDetailsPage-OzrrojiZ-CWHL3BiA.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-C7D_fWCV-Bw_MeqVp.js → VendorFiling1099EditablePage-C6i7dipR-DmIuqd6b.js} +14 -14
- package/dist/assets/{VendorFirstReviewPage-B4YffYJO-FqqXdwEH.js → VendorFirstReviewPage-DrelrPYn-CtZKswhg.js} +10 -10
- package/dist/assets/{VendorInternationalWireDetailsPage-D1i4RwUe-FAsqO0N8.js → VendorInternationalWireDetailsPage-BglZ4_v2-DWh5FNhJ.js} +7 -7
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-QqA8DADQ-BBMTCc4u.js → VendorInternationalWireSwiftDetailsPage-MKHHcDL4-D4F7IynK.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-C8qo0vKx-DHEG4Ulc.js → VendorsAccountsSection-COwLgrG_-BeiJbKgP.js} +2 -2
- package/dist/assets/{VerifyDevice-Cku9_tdW-DHMIA102.js → VerifyDevice-FO7331hS-BHG8lbd_.js} +1 -1
- package/dist/assets/{VideoPlayer-DqxblGWn-CC-4yIuC.js → VideoPlayer-C7GWTYSG-C3qJA87L.js} +1 -1
- package/dist/assets/{VideoPopup-8253nBrT-C3Ehghs3.js → VideoPopup-CB0BXhOA-BgnE8vln.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-B08Au4yQ-DzAdN-8l.js → WarningsDrawerPage-B081ksn8-BvnCWJxm.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-Dx-w2w6D-B6oW0HxJ.js → ZeniAccountDetailPage-Bbx7ge3Z-BwrSFwiV.js} +16 -16
- package/dist/assets/{ZeniAccountListViewPage-DH4BnQ7k-BNii6Mpd.js → ZeniAccountListViewPage-CgOxwjk1-Cy-Kh2JX.js} +13 -13
- package/dist/assets/ZeniAccountNavBarPieces-BkN8_5Zi-BtKjHrnJ.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-D4J2Yoil-tLr0vhWS.js → ZeniAccountPromoPage-DrMHkTuM-DZxJwu1v.js} +9 -9
- package/dist/assets/{ZeniAccountSetupPage-DTkO1ASr-DqUJFMW_.js → ZeniAccountSetupPage-BCpKadR1-BZqzR_uG.js} +3 -3
- package/dist/assets/{ZeniCopyright-BiSq0yhI-CxxSPrfu.js → ZeniCopyright-juRAWlbw-DJRbuiIq.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-BtI1L6UN-f_1E8Iwf.js +63 -0
- package/dist/assets/{analyticsHelper-B0gC8iX8.js → analyticsHelper-Bgft_1pJ.js} +1 -1
- package/dist/assets/{analyticsHelper-Dc3DtVTm-BSgNWv9S.js → analyticsHelper-DQQo4LQc-Dpi2pZTl.js} +1 -1
- package/dist/assets/{chartTypes-C7uaeRCc-CF1IJ0Zr.js → chartTypes-eqxFaFS5-B43Gm107.js} +1 -1
- package/dist/assets/{commonDimensions-MaxjMSVa-DDS6Yz-X.js → commonDimensions-C2hbzHZW-OFUCUhbG.js} +1 -1
- package/dist/assets/{detailCommon-OK9JA2hc-D4iEvwhr.js → detailCommon-fC811KkH-D6H3c8Ux.js} +6 -6
- package/dist/assets/{downloadPdf-QtapKpnq-DihLy_-C.js → downloadPdf-CgcD1OYw-ZvBiL7F-.js} +1 -1
- package/dist/assets/{index-DHx5ymlr.js → index-Du1ejFtI.js} +3415 -3415
- package/dist/assets/{mapLoadingInProgressToTreeNode-pvoDlh5w-C7nLUjSw.js → mapLoadingInProgressToTreeNode-CM7N02af-DstULqSu.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CVUpGQKE-BV5TzbPA.js → mapSectionWithAcOnlyToTreeNode-MzhgtFpc-aX7osQA1.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-P_HzYMUQ-Kk9cgUyq.js → mapSpacerToTreeNode-C7hklF---Dg7CM6wp.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CB6RE8w9-D9jDxGg8.js → mapTimeframeBalancesToTreeNode-CEJ9v-Q3-B6zmleAa.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-B8xJouuF-CcCEjtJw.js → mapTimeframeBalancesToTreeNode-D36HLTqR-CiOqATy_.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BAAatv-Y-B059Dtrr.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BhdfWhpd-Diyt9jMU.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-JkvOa9nR-BYwMYYAo.js → toCOABalancesWithID-DCFbumLL-BUL3FzIP.js} +1 -1
- package/dist/assets/{toChartData-CEfu5Lvp-DjmLr2R6.js → toChartData-Dh9v_zba-IkjT0Y7p.js} +1 -1
- package/dist/assets/{treasuryColorHelper-Bvcahv9r-BlMw_nJe.js → treasuryColorHelper-ZXa62meg-C9-TrKv9.js} +1 -1
- package/dist/assets/{uploadAttachment-DNrYcaTL-Cholr_W4.js → uploadAttachment-DOhn3y-C-AUYll2HA.js} +14 -14
- package/dist/assets/{uploadReceipts-dxsKhm9I-ArZe3dEq.js → uploadReceipts-dxsKhm9I-Cdyoe2Us.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ArAgingChart-D6396NAQ-D9EGzoVz.js +0 -24
- package/dist/assets/BillPayApprovalRuleDetailPage-Bn_93mxC-D5SkQUAQ.js +0 -27
- package/dist/assets/CardNumberSubText-usoiubBx-QXbkZUhG.js +0 -21
- package/dist/assets/ChargeCardUtils-i4In9Us5-C9THFfoq.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-DkXWw44M-CKyWwY0E.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-BTMDl7KO-CpgQjnLH.js +0 -66
- package/dist/assets/ExpenseAutomationPage-CaeVli6J-D_RBOInw.js +0 -1650
- package/dist/assets/InvitePeoplePage-ChM26gAd-tkyY1YVT.js +0 -12
- package/dist/assets/LabeledAddressValueField-C-fJPbDr-si3fj6mD.js +0 -45
- package/dist/assets/NotificationsListConfig-BcRqz3T--_kCrOUBW.js +0 -1
- package/dist/assets/ReimbursementApprovalRuleDetailPage-DWAgRWah-B-JT-bmK.js +0 -26
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-D_IG6Yzl-Bw_bWRdV.js +0 -1
- package/dist/assets/SetUpAccountSection-C9PPpmcc-BwjqbpIO.js +0 -378
- package/dist/assets/StatementItem-DPiBruWm-BYcMr1Ax.js +0 -31
- package/dist/assets/TransactionDetailPage-y3Jwxln6-XqloTW5v.js +0 -912
- package/dist/assets/TransactionVendorDetailPage-DNbFFCAy-BUiP7F5k.js +0 -80
- package/dist/assets/ZeniAccountNavBarPieces-ce5jAGIl-aolww07f.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-B-iWjIM--DoQjJC_n.js +0 -63
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as U,j as l
|
|
1
|
+
import{e as U,j as l,$ as Q,ct as me,o as s,C,q as m,cn as Z,cw as ge,cv as xe,u as fe,fx as be,B as R,J as we,b4 as H,fy as K,bW as _,fz as B,b1 as J,g as F,v as q,t as Y,fA as $e,n as ye,w as ve}from"./index-Du1ejFtI.js";import{n as r}from"./vendor-rkTZJa59.js";import{T as je}from"./RoleWithToolTip-DsEos8I_-DRhh0Kxb.js";const ee={selectContainerMarginHorizontal:new C(m[2],m[3]),marginTop:new C(m[1],m[0])},Se=r(ye)`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: ${s.sp2};
|
|
4
4
|
align-items: center;
|
|
@@ -96,7 +96,7 @@ import{e as U,j as l,_ as Q,ct as me,o as s,C,r as m,cn as Z,cw as ge,cv as xe,u
|
|
|
96
96
|
overflow: hidden;
|
|
97
97
|
text-overflow: ellipsis;
|
|
98
98
|
white-space: nowrap;
|
|
99
|
-
`,
|
|
99
|
+
`,G=r.div``,Ne=r.div`
|
|
100
100
|
width: 100%;
|
|
101
101
|
background-color: ${e=>e.theme.colors.grey5};
|
|
102
102
|
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
@@ -133,7 +133,7 @@ import{e as U,j as l,_ as Q,ct as me,o as s,C,r as m,cn as Z,cw as ge,cv as xe,u
|
|
|
133
133
|
border-radius: ${s.sp0};
|
|
134
134
|
margin: ${s.sp0};
|
|
135
135
|
color: ${e=>e.theme.colors.primary};
|
|
136
|
-
${
|
|
136
|
+
${q.standardRegular.css};
|
|
137
137
|
box-sizing: border-box;
|
|
138
138
|
overflow: hidden;
|
|
139
139
|
text-overflow: ellipsis;
|
|
@@ -145,7 +145,7 @@ import{e as U,j as l,_ as Q,ct as me,o as s,C,r as m,cn as Z,cw as ge,cv as xe,u
|
|
|
145
145
|
display: flex;
|
|
146
146
|
width: ${e=>e.menuIsOpen===!1?s.sp0:"100%"};
|
|
147
147
|
position: ${e=>e.isFocused===!1&&e.selectedValue==null?"initial":"absolute"};
|
|
148
|
-
${
|
|
148
|
+
${q.standardRegular.css};
|
|
149
149
|
color: ${e=>e.theme.colors.primary};
|
|
150
150
|
margin: ${s.sp0};
|
|
151
151
|
cursor: inherit;
|
|
@@ -172,7 +172,7 @@ import{e as U,j as l,_ as Q,ct as me,o as s,C,r as m,cn as Z,cw as ge,cv as xe,u
|
|
|
172
172
|
width: ${s.sp5};
|
|
173
173
|
height: ${s.sp5};
|
|
174
174
|
color: ${e=>e.theme.colors.hero};
|
|
175
|
-
`,
|
|
175
|
+
`,X=r($e)`
|
|
176
176
|
color: ${e=>e.theme.colors.alert};
|
|
177
177
|
text-transform: none;
|
|
178
178
|
border: 1px solid ${e=>e.theme.colors.alert};
|
|
@@ -180,7 +180,7 @@ import{e as U,j as l,_ as Q,ct as me,o as s,C,r as m,cn as Z,cw as ge,cv as xe,u
|
|
|
180
180
|
border-radius: ${s.sp1};
|
|
181
181
|
margin-top: ${({windowSize:e})=>ee.marginTop.valuePx(e)};
|
|
182
182
|
width: fit-content;
|
|
183
|
-
`;function We({allUsers:e,selectedValue:a,showOneOffLabel:n,placeholder:g,isOptionRemovable:v,valueToSubtitle:b,onSelectionChanged:w,name:j,userContainerStyles:x,optionStyles:T,isValuePlacedAtEnd:I=!0,isDisabled:P,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:z,disabledOptionHint:$,bigMarginRightForSmallScreens:V=!1}){const{formState:{errors:k}}=Z(),A=xe(k,j??""),c=U(),O=[];n!=null&&O.push(n.value),O.push(...e.map(t=>t.userId));const le=t=>{if(n!=null&&n.value===t)return n.label;const i=e.findIndex(o=>o.userId===t);if(i!==-1){const o=e[i];return o.user?.firstName||o.user?.lastName?`${o.user?.firstName} ${o.user?.lastName}`:`${o.user?.email}`}else return""},se=t=>{const i=e.findIndex(o=>o.userId===t);if(i!==-1)return e[i].user},te=t=>{const{menuIsOpen:i,children:o}=t;return l.jsx(Re,{menuIsOpen:i,isError:A,children:l.jsx(De,{children:o})})},re=({labelDetails:t})=>l.jsxs(Ee,{hasSelectedUser:a===t.value,children:[l.jsxs(Fe,{children:[l.jsx(Me,{}),l.jsx(
|
|
183
|
+
`;function We({allUsers:e,selectedValue:a,showOneOffLabel:n,placeholder:g,isOptionRemovable:v,valueToSubtitle:b,onSelectionChanged:w,name:j,userContainerStyles:x,optionStyles:T,isValuePlacedAtEnd:I=!0,isDisabled:P,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:z,disabledOptionHint:$,bigMarginRightForSmallScreens:V=!1}){const{formState:{errors:k}}=Z(),A=xe(k,j??""),c=U(),O=[];n!=null&&O.push(n.value),O.push(...e.map(t=>t.userId));const le=t=>{if(n!=null&&n.value===t)return n.label;const i=e.findIndex(o=>o.userId===t);if(i!==-1){const o=e[i];return o.user?.firstName||o.user?.lastName?`${o.user?.firstName} ${o.user?.lastName}`:`${o.user?.email}`}else return""},se=t=>{const i=e.findIndex(o=>o.userId===t);if(i!==-1)return e[i].user},te=t=>{const{menuIsOpen:i,children:o}=t;return l.jsx(Re,{menuIsOpen:i,isError:A,children:l.jsx(De,{children:o})})},re=({labelDetails:t})=>l.jsxs(Ee,{hasSelectedUser:a===t.value,children:[l.jsxs(Fe,{children:[l.jsx(Me,{}),l.jsx(G,{children:l.jsx(E,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(J,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data:o,selectProps:u}=t,{menuIsOpen:h}=u;if(n!=null&&o?.value===n.value)return l.jsxs(M,{children:[S||D?l.jsx(K,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(ke,{children:n.label})]});const d=e.findIndex(y=>y.userId===o.value),p=e[d],f=b(o.value);return l.jsxs(Pe,{children:[l.jsxs(Ve,{menuIsOpen:h,children:[S||D?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Te,{src:p?.user?.photo.href,alt:R.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=_},loading:"lazy"}):l.jsx(B,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(E,{children:i})]}),S?l.jsx(W,{subtitleList:f,menuIsOpen:u.menuIsOpen,member:p}):null]})},W=({subtitleList:t,member:i,menuIsOpen:o})=>{const u=t.length;return l.jsxs(Se,{menuIsOpen:o,children:[i!=null?l.jsx(je,{roles:i?.userRole.userRoles}):null,i!=null&&u>0?l.jsx(Ce,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:o,selectProps:u,value:h}=t,d=!!z?.(h)&&o===!1;if(n!=null&&i?.value===n.value)return l.jsx(re,{labelDetails:n});const p=e.findIndex(L=>L.userId===i.value),f=e[p],y=b(i.value);return l.jsxs(Ie,{style:T,children:[l.jsxs(ze,{isCurrOptionDisabled:d,children:[l.jsx(Ae,{children:f?.user?.photo!=null?l.jsx(Le,{src:f?.user?.photo.href,alt:R.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:L})=>{L.onerror=null,L.src=_},loading:"lazy"}):l.jsx(B,{firstName:f?.user?.firstName??"",lastName:f?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(G,{children:[l.jsx(E,{children:t.label}),l.jsx(W,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:f}),c==="small"&&d&&$!=null?l.jsx(X,{windowSize:c,children:$}):null]})]}),!!o&&l.jsx(l.Fragment,{children:l.jsx(J,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(X,{windowSize:c,children:$}):null]})},ne=t=>{w(t)},ae=()=>null,de=t=>{const{menuIsOpen:i,isFocused:o,isDisabled:u,selectProps:h}=t,{value:d}=h;return l.jsx(Ne,{menuIsOpen:i,isFocused:o,isDisabled:u,selectedValue:d,isError:A,isValuePlacedAtEnd:I,windowSize:c,bigMarginRightForSmallScreens:V,children:l.jsx(H.Control,{...t,className:"select-control",children:t.children})})},ce=t=>l.jsx(H.ValueContainer,{...t,className:"select-value-container",children:t.children}),ue=t=>l.jsx(Ue,{windowSize:c,children:t.children}),he=(t,i)=>i&&typeof t.label=="string"?t.label.toLowerCase().includes(i.toLowerCase())||t.data?.data?.email?.toLowerCase().includes(i.toLowerCase()):!0,pe=fe();return l.jsx(be,{placeholder:g??R.getLocalizedStrings().commonSetUp.approval.userSelectPlaceholder,selectedValue:a,pickerValues:O,valueToLabel:le,valueToData:se,backgroundColor:pe.colors.background,onPickerSelectionChanged:ne,OptionComponent:oe,PlaceholderComponent:te,SingleValueComponent:ie,isOptionRemovable:v,containerStyles:x,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:P,isOptionDisabled:t=>z?.(t)===!0&&a!==t,filterOption:he})}const He={infoLabel:new we("smallRegular","smallRegular")},_e=({name:e,placeholderLabel:a,registerOptions:n,value:g,valueToSubtitle:v,showOneOffLabel:b,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:x,isDisabled:T,additionalLabelInfo:I,isOptionDisabled:P,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:z,bigMarginRightForSmallScreens:$=!1})=>{const{control:V}=Z(),k=U();return l.jsx(ge,{name:e,control:V,defaultValue:g,rules:n,render:({field:{value:A,onChange:c}})=>l.jsxs(Be,{width:w?.width,"data-testid":Q("user-single-select",e),children:[l.jsx(We,{onSelectionChanged:O=>{c({allUsers:g.allUsers,selectedUser:O})},selectedValue:A.selectedUser,valueToSubtitle:v,allUsers:g.allUsers,placeholder:a,name:e,showOneOffLabel:b,userContainerStyles:w,isValuePlacedAtEnd:x,isDisabled:T,isOptionDisabled:P,showAvatarAndSubtitles:S,showOnlyAvatar:D,disabledOptionHint:z,bigMarginRightForSmallScreens:$,optionStyles:j}),I!==null&&l.jsx(Je,{size:k,children:I})]})})},Be=r.div`
|
|
184
184
|
display: flex;
|
|
185
185
|
flex-direction: column;
|
|
186
186
|
width: ${e=>e.width!=null?e.width:"auto"};
|
|
@@ -189,7 +189,7 @@ import{e as U,j as l,_ as Q,ct as me,o as s,C,r as m,cn as Z,cw as ge,cv as xe,u
|
|
|
189
189
|
${e=>`${He.infoLabel.style(e.size)}`};
|
|
190
190
|
text-align: right;
|
|
191
191
|
padding-right: ${s.sp3};
|
|
192
|
-
`,N={width:new C(343,580,726),labelMarginLeft:new C(m[3],m[4]),labelMarginRight:new C(m[3],m[4])};function Ze({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:n,style:g,showTooltip:v=!1,tooltipTitle:b,toolTipWidth:w,opacity:j=1}){const x=U();return l.jsxs(
|
|
192
|
+
`,N={width:new C(343,580,726),labelMarginLeft:new C(m[3],m[4]),labelMarginRight:new C(m[3],m[4])};function Ze({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:n,style:g,showTooltip:v=!1,tooltipTitle:b,toolTipWidth:w,opacity:j=1}){const x=U();return l.jsxs(qe,{size:x,style:g,isDisabled:e!=null,opacity:j,"data-testid":Q("labeled-user-single-select",n.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:n.name,style:{marginLeft:N.labelMarginLeft.value(x),marginRight:N.labelMarginRight.value(x),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:b,toolTipWidth:w}),l.jsx(_e,{...n,isDisabled:e,userContainerStyles:{display:"flex",flexGrow:1,...n.showOnlyAvatar===!1&&{minWidth:"unset",maxWidth:"unset"},width:a.width!=null?`calc(100% - ${a.width}px)`:"auto",height:n.value.selectedUser==null||n.value.selectedUser!=null&&n.showOnlyAvatar===!0?s.sp6:s.sp9}})]})}const qe=r.div`
|
|
193
193
|
display: flex;
|
|
194
194
|
flex-direction: row;
|
|
195
195
|
align-items: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as M,j as l
|
|
1
|
+
import{e as M,j as l,$ as A,ct as G,C as g,o,q as n,cn as _,cw as K,cv as Q,u as q,v as V,b3 as ie,l as I,B as te,fu as se,fB as ae,X as ne,ah as de,g as D,b4 as B,ap as ce,b1 as pe,c6 as ue,fC as F,bO as X,K as he,w as Y,t as me,n as ge,fm as be,f8 as fe,aS as xe,fn as ye,aC as we,fD as ve}from"./index-Du1ejFtI.js";import{n as d,j as $e,b as k}from"./vendor-rkTZJa59.js";import{T as Re}from"./RoleWithToolTip-DsEos8I_-DRhh0Kxb.js";const H={grpBtnMarginTopBottom:new g(n[1],n[3]),grpBtnMarginLeftRight:new g(n[0],n[3])},je=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
margin-top: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
|
|
4
4
|
margin-bottom: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
|
|
@@ -22,7 +22,7 @@ import{e as M,j as l,_ as A,ct as G,C as m,o,r as n,cn as _,cw as K,cv as Q,u as
|
|
|
22
22
|
}
|
|
23
23
|
`,Se=d.div`
|
|
24
24
|
border-left: 1px solid ${e=>e.theme.colors.grey1};
|
|
25
|
-
`,W=({allBtnOptions:e,isDisabled:s,selectedOption:i,buttonClickHandler:c})=>{const p=M(),a=q(),f=u=>i?.value===u.value?"primary":"secondary",$=u=>i?.value===u.value?{backgroundColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.primary},textColor:{default:a.colors.grey5,hover:a.colors.grey5,disabled:a.colors.hero},borderColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.grey3}}:{backgroundColor:{default:"transparent",hover:a.colors.grey4,disabled:"transparent"},textColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.hero},borderColor:{default:a.colors.grey1,hover:a.colors.primary,disabled:a.colors.grey3}},b=e.length,y=s==="disabled"||s==="readonly";return l.jsx(je,{windowSize:p,isDisabled:y,children:e.map((u,x)=>l.jsxs(Ce,{"data-testid":A("grouped-button-container",u.value),className:"grpBtn",isDisabled:y||!u.enabled,children:[l.jsx(he,{label:u.label,size:"small",variant:f(u),"data-testid":A("grouped-button",u.value),onClick:()=>c(u.value),buttonColors:$(u),disabled:y||!u.enabled,style:{borderTopRightRadius:x===b-1?o.sp1:o.sp0,borderBottomRightRadius:x===b-1?o.sp1:o.sp0,borderTopLeftRadius:x===0?o.sp1:o.sp0,borderBottomLeftRadius:x===0?o.sp1:o.sp0,borderRight:x===b-1?"":"none",borderLeft:x===0?"":"none",width:"65px",display:"flex",alignItems:"center",justifyContent:"center"}}),x!==b-1?l.jsx(Se,{className:"verticalLine"}):null]},u.value))})},E={allRolesMarginLeftRight:new
|
|
25
|
+
`,W=({allBtnOptions:e,isDisabled:s,selectedOption:i,buttonClickHandler:c})=>{const p=M(),a=q(),f=u=>i?.value===u.value?"primary":"secondary",$=u=>i?.value===u.value?{backgroundColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.primary},textColor:{default:a.colors.grey5,hover:a.colors.grey5,disabled:a.colors.hero},borderColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.grey3}}:{backgroundColor:{default:"transparent",hover:a.colors.grey4,disabled:"transparent"},textColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.hero},borderColor:{default:a.colors.grey1,hover:a.colors.primary,disabled:a.colors.grey3}},b=e.length,y=s==="disabled"||s==="readonly";return l.jsx(je,{windowSize:p,isDisabled:y,children:e.map((u,x)=>l.jsxs(Ce,{"data-testid":A("grouped-button-container",u.value),className:"grpBtn",isDisabled:y||!u.enabled,children:[l.jsx(he,{label:u.label,size:"small",variant:f(u),"data-testid":A("grouped-button",u.value),onClick:()=>c(u.value),buttonColors:$(u),disabled:y||!u.enabled,style:{borderTopRightRadius:x===b-1?o.sp1:o.sp0,borderBottomRightRadius:x===b-1?o.sp1:o.sp0,borderTopLeftRadius:x===0?o.sp1:o.sp0,borderBottomLeftRadius:x===0?o.sp1:o.sp0,borderRight:x===b-1?"":"none",borderLeft:x===0?"":"none",width:"65px",display:"flex",alignItems:"center",justifyContent:"center"}}),x!==b-1?l.jsx(Se,{className:"verticalLine"}):null]},u.value))})},E={allRolesMarginLeftRight:new g(n[3],n[4])},ke=d.div`
|
|
26
26
|
display: flex;
|
|
27
27
|
flex-direction: column;
|
|
28
28
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -92,7 +92,7 @@ import{e as M,j as l,_ as A,ct as G,C as m,o,r as n,cn as _,cw as K,cv as Q,u as
|
|
|
92
92
|
`,Le=d(Y)`
|
|
93
93
|
display: flex;
|
|
94
94
|
margin-bottom: ${o.sp1};
|
|
95
|
-
`,Ve=d(
|
|
95
|
+
`,Ve=d(ge)`
|
|
96
96
|
display: flex;
|
|
97
97
|
padding: 1px 6px 1px 6px;
|
|
98
98
|
border: 1px solid;
|
|
@@ -135,7 +135,7 @@ import{e as M,j as l,_ as A,ct as G,C as m,o,r as n,cn as _,cw as K,cv as Q,u as
|
|
|
135
135
|
margin-right: ${e=>E.allRolesMarginLeftRight.valuePx(e.windowSize)};
|
|
136
136
|
margin-left: ${e=>E.allRolesMarginLeftRight.valuePx(e.windowSize)};
|
|
137
137
|
color: ${e=>e.theme.mode==="light"?D.brandColorOnyx:D.brandColorPearl};
|
|
138
|
-
`,Je=e=>{switch(e){case"bookkeeping":return l.jsx(Ue,{});case"zeni_bill_pay":return l.jsx(Ne,{});case"zeni_reimbursements":return l.jsx(Fe,{});case"zeni_checking":return l.jsx(He,{});case"zeni_cards":return l.jsx(Ae,{});case"zeni_treasury":return l.jsx(We,{});default:return null}},Ge=e=>l.jsxs(Be,{children:[l.jsx(Me,{className:"roleTitle",children:F[e].label}),l.jsx(Le,{className:"roleSubTitle",children:F[e].subTitle}),l.jsx(Ve,{className:"roleSuitableFor",children:F[e].roleSuitableFor})]}),Ke=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=_(),a=Q(p,`${e}.userRole.selectedRole`),f=M(),$=i.productsByUserRole.employee.findIndex(h=>h.productType==="zeni_reimbursements"),b=k.useCallback(h=>{const t=se([h]),S=ae(h),v=ne(i.productsByUserRole[t]),R=v.findIndex(z=>z.productType===S),L=v[R].selectedOption?.value===h;R>-1&&(v[R]={...v[R],selectedOption:L?void 0:v[R].options.filter(z=>z.value===h)[0]});const U={userRole:{selectedRole:t,allRootRole:i.userRole.allRootRole},productsByUserRole:{...i.productsByUserRole,[t]:[...v]}};c(U)},[c,i]),y=i.userRole.selectedRole,u=k.useMemo(()=>y!=null?(i.productsByUserRole[y]??[]).map(h=>I.toUserRoleTypeStrict(h.selectedOption?.value)).filter(h=>h!=null):[],[y,i.productsByUserRole]);k.useEffect(()=>{y==="employee"&&u.length===0&&$>-1&&b("reimbursements_user")},[y,u,$,b]);const x=i.userRole.allRootRole,P=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(Ze,{windowSize:f,children:l.jsx(Re,{roles:u})}):l.jsx(De,{children:x.map(h=>l.jsxs(ke,{windowSize:f,children:[l.jsx(Oe,{isError:a,children:l.jsx(de,{isDisabled:s,label:{label:Ge(h)},style:{paddingBottom:o.sp4,alignItems:"flex-start"},radioField:{name:`${e}.userRole.selectedRole`,id:`${e}.${h}`,value:h,radioSize:"small",checked:i.userRole.selectedRole===h,style:{marginTop:o.sp1}}})}),l.jsx(Pe,{windowSize:f,isCollapsed:P(h),roleCount:i.productsByUserRole[h].length,children:i.productsByUserRole[h].map(t=>l.jsxs(ze,{children:[l.jsxs(Ie,{children:[l.jsx(Ee,{children:t.productType&&Je(t.productType)}),l.jsxs(_e,{children:[l.jsx(Te,{children:t.label}),f==="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(Z,{children:t.subTitleUser}),l.jsx(Z,{children:t.subTitleAdmin})]})]}),f!=="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b,isDisabled:s}):null]},t.productType))})]},h))})},Qe=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=_();return l.jsx(K,{name:e,control:p,defaultValue:s,rules:c,render:({field:{onChange:a,value:f}})=>{const $=f;return l.jsx(Ke,{onSelectionChanged:b=>{a(b)},selectedValue:$,name:e,isDisabled:i})}})},C={width:new
|
|
138
|
+
`,Je=e=>{switch(e){case"bookkeeping":return l.jsx(Ue,{});case"zeni_bill_pay":return l.jsx(Ne,{});case"zeni_reimbursements":return l.jsx(Fe,{});case"zeni_checking":return l.jsx(He,{});case"zeni_cards":return l.jsx(Ae,{});case"zeni_treasury":return l.jsx(We,{});default:return null}},Ge=e=>l.jsxs(Be,{children:[l.jsx(Me,{className:"roleTitle",children:F[e].label}),l.jsx(Le,{className:"roleSubTitle",children:F[e].subTitle}),l.jsx(Ve,{className:"roleSuitableFor",children:F[e].roleSuitableFor})]}),Ke=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=_(),a=Q(p,`${e}.userRole.selectedRole`),f=M(),$=i.productsByUserRole.employee.findIndex(h=>h.productType==="zeni_reimbursements"),b=k.useCallback(h=>{const t=se([h]),S=ae(h),v=ne(i.productsByUserRole[t]),R=v.findIndex(z=>z.productType===S),L=v[R].selectedOption?.value===h;R>-1&&(v[R]={...v[R],selectedOption:L?void 0:v[R].options.filter(z=>z.value===h)[0]});const U={userRole:{selectedRole:t,allRootRole:i.userRole.allRootRole},productsByUserRole:{...i.productsByUserRole,[t]:[...v]}};c(U)},[c,i]),y=i.userRole.selectedRole,u=k.useMemo(()=>y!=null?(i.productsByUserRole[y]??[]).map(h=>I.toUserRoleTypeStrict(h.selectedOption?.value)).filter(h=>h!=null):[],[y,i.productsByUserRole]);k.useEffect(()=>{y==="employee"&&u.length===0&&$>-1&&b("reimbursements_user")},[y,u,$,b]);const x=i.userRole.allRootRole,P=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(Ze,{windowSize:f,children:l.jsx(Re,{roles:u})}):l.jsx(De,{children:x.map(h=>l.jsxs(ke,{windowSize:f,children:[l.jsx(Oe,{isError:a,children:l.jsx(de,{isDisabled:s,label:{label:Ge(h)},style:{paddingBottom:o.sp4,alignItems:"flex-start"},radioField:{name:`${e}.userRole.selectedRole`,id:`${e}.${h}`,value:h,radioSize:"small",checked:i.userRole.selectedRole===h,style:{marginTop:o.sp1}}})}),l.jsx(Pe,{windowSize:f,isCollapsed:P(h),roleCount:i.productsByUserRole[h].length,children:i.productsByUserRole[h].map(t=>l.jsxs(ze,{children:[l.jsxs(Ie,{children:[l.jsx(Ee,{children:t.productType&&Je(t.productType)}),l.jsxs(_e,{children:[l.jsx(Te,{children:t.label}),f==="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(Z,{children:t.subTitleUser}),l.jsx(Z,{children:t.subTitleAdmin})]})]}),f!=="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b,isDisabled:s}):null]},t.productType))})]},h))})},Qe=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=_();return l.jsx(K,{name:e,control:p,defaultValue:s,rules:c,render:({field:{onChange:a,value:f}})=>{const $=f;return l.jsx(Ke,{onSelectionChanged:b=>{a(b)},selectedValue:$,name:e,isDisabled:i})}})},C={width:new g(343,580,726),height:new g(n[6],n[6]),paddingTopBottom:new g(n[2],n[2]),labelPaddingLeft:new g(n[3],n[4]),labelPaddingRight:new g(n[3],n[4]),labelPaddingTop:new g(n[2],n[2]),labelPaddingBottom:new g(n[2],n[3])};function bo({isDisabled:e,label:s,rolesDropDownField:i,style:c}){const p=M();return l.jsxs(qe,{size:p,style:c,isDisabled:e!=null,children:[l.jsx(G,{isDisabled:e,label:s.label,htmlFor:i.name,style:{paddingLeft:C.labelPaddingLeft.value(p),paddingRight:C.labelPaddingRight.value(p),paddingTop:C.labelPaddingTop.value(p),paddingBottom:C.labelPaddingBottom.value(p)}}),l.jsx(Qe,{...i,isDisabled:e})]})}const qe=d.div`
|
|
139
139
|
display: flex;
|
|
140
140
|
flex-direction: ${e=>e.isDisabled?"row":"column"};
|
|
141
141
|
align-items: ${e=>e.isDisabled?"center":"flex-start"};
|
|
@@ -169,7 +169,7 @@ import{e as M,j as l,_ as A,ct as G,C as m,o,r as n,cn as _,cw as K,cv as Q,u as
|
|
|
169
169
|
border-color: inherit;
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
`;function Xe({onSelectionChanged:e,forZeniUser:s,selectedRoles:i,allRoles:c,disable:p=!1,isMulti:a=!1,clearSelectedRole:f,style:$,name:b,isValuePlacedAtEnd:y=!0}){const[u,x]=k.useState(),{formState:{errors:P}}=_(),h=Q(P,b??"");k.useEffect(()=>{const r=c.filter(
|
|
172
|
+
`;function Xe({onSelectionChanged:e,forZeniUser:s,selectedRoles:i,allRoles:c,disable:p=!1,isMulti:a=!1,clearSelectedRole:f,style:$,name:b,isValuePlacedAtEnd:y=!0}){const[u,x]=k.useState(),{formState:{errors:P}}=_(),h=Q(P,b??"");k.useEffect(()=>{const r=c.filter(m=>i!=null&&i.includes(m.value));x(a?r:r[0])},[i]),k.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=q(),S=M(),v=JSON.parse(JSON.stringify(c));if(i!=null&&s){if(!i.includes("admin")){const r=v.findIndex(m=>m.value==="admin");v.splice(r,1)}if(!i.includes("bookkeeping_admin")){const r=v.findIndex(m=>m.value==="bookkeeping_admin");v.splice(r,1)}}const R=t.colors.grey5,L=V.smallRegular.cssObject,U=L,z=u?.length>3,ee={control:r=>({...r,backgroundColor:"inherit",boxShadow:R,border:"none",cursor:"pointer",":hover":{backgroundColor:"inherit"},flexWrap:"nowrap",marginTop:"unset"}),container:r=>({...r,fill:t.colors.hero,":hover":{fill:t.colors.primary},width:"100%",...$}),valueContainer:r=>({...r,flexWrap:z?"wrap":"nowrap",width:S==="small"||!a?"auto":"263px",paddingTop:"unset",cursor:"pointer",...U,overflow:"visible",minWidth:"auto",paddingLeft:o.sp0,paddingRight:o.sp0,display:"flex",justifyContent:"flex-start",fill:t.colors.hero,":hover":{">div>div":{fill:t.colors.primary,color:t.colors.primary}},">div:last-of-type":{span:{display:"none"}}}),singleValue:(r,m)=>({...r,color:m.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,maxWidth:"auto",overflow:"auto",":hover":{color:t.colors.primary},marginLeft:o.sp0,position:"inherit",transform:"none",top:o.sp0,marginRight:o.sp0,padding:o.sp0,...V.standardRegular.cssObject}),multiValue:(r,m)=>({...r,margin:0,minWidth:void 0,backgroundColor:void 0,color:m.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,":hover":{color:t.colors.primary},">div":{borderRadius:o.sp0,padding:o.sp0,borderLeftStyle:"solid",borderWidth:o.sp0,borderColor:t.colors.grey1,color:"unset"}}),menu:r=>({...r,backgroundColor:R,boxShadow:`${o.sp0} 2px ${o.sp2} ${t.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",width:S==="small"?"230px":"100%",right:S==="small"?o.sp0:"unset",borderRadius:o.sp1,margin:o.sp0,border:S==="small"?`1px solid ${t.colors.grey3}`:"unset"}),menuList:r=>({...r,maxHeight:"240px"}),option:(r,{isSelected:m,isDisabled:O,data:T})=>{const w=I.isNonZeniRole(T.value)&&s===!0,N=J(m,w,T.value,t);return{...r,height:w?44:40,padding:w?o.sp0:`${o.sp2} 12px`,marginTop:w?o.sp1:"unset",whiteSpace:"unset",display:"flex",alignItems:"center",opacity:1,...L,color:N,cursor:O?"not-allowed":"pointer",backgroundColor:m&&!w?t.colors.background:"transparent",">div":{backgroundColor:m?t.colors.background:"transparent"},borderTop:w||T.value==="delete"?`1px solid ${t.colors.background}`:"none","& label":{paddingRight:"10px"},"svg:nth-of-type(2)":{display:"none"},":hover":{color:J(!0,w,T.value,t),backgroundColor:m&&!w?t.colors.background:w?"transparent":t.colors.background,">div":{backgroundColor:t.colors.background},"svg:nth-of-type(1)":{display:w||s===!1?"inline-block":"none"},"svg:nth-of-type(2)":{display:w?"none":"inline-block"}},">div>div>div:first-of-type":{display:"flex"}}},indicatorsContainer:r=>({...r,alignItems:a?"flex-start":"center",paddingTop:z||!a?"unset":"5px"}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({paddingTop:a?o.sp1:"2px",svg:{marginLeft:a&&u?.length>0?"unset":"6px"}})},oe=r=>{const{isSelected:m}=r;return k.createElement(B.Option,{...r,key:r.data.value},l.jsxs(ao,{role:r.data.value,forZeniUser:s,children:[l.jsx(ce,{children:r.data.label}),!!m&&l.jsxs("div",{children:[l.jsx(pe,{width:o.sp3,height:o.sp3}),s===!0?l.jsx(ue,{width:o.sp3,height:o.sp3}):null]})]}))},le=r=>{const m=[];a&&r.forEach(O=>{m.push(O.value)}),e(a?m:r.value)},re=r=>{const{menuIsOpen:m,isFocused:O,isDisabled:T,selectProps:w}=r,{value:N}=w;return l.jsx(co,{menuIsOpen:m,isFocused:O,isDisabled:T,selectedValue:N,isError:h,isValuePlacedAtEnd:y,windowSize:S,children:l.jsx(B.Control,{...r,className:"select-control",children:r.children})})};return l.jsx(ie,{isMulti:a,menuPlacement:"auto",minMenuHeight:250,menuShouldScrollIntoView:!1,defaultValue:u,value:u,closeMenuOnSelect:!0,options:v,isDisabled:p,hideSelectedOptions:!1,onChange:r=>{le(r)},isClearable:!1,isSearchable:!0,components:{Control:re,DropdownIndicator:oo,Option:oe,MultiValueRemove:lo,IndicatorSeparator:ro,MultiValueLabel:io,ValueContainer:to,Placeholder:eo,Input:Ye},styles:ee,theme:r=>({...r,colors:{...r.colors,primary:R}}),placeholder:te.getLocalizedStrings().peoplePage.dropdownPlaceHolderText,isOptionDisabled:r=>s===!1&&r.enabled===!1||s===!0&&I.isNonZeniRole(r.value),classNamePrefix:"zeniRolesDropDown"})}const Ye=e=>{const{selectProps:s}=e,{placeholder:i,value:c,isMulti:p}=s;return l.jsx(B.Input,{...e,autoComplete:"new-password",placeholder:p===!0&&c?.length===0||c==null?i:void 0,children:e.children})},eo=()=>null,J=(e,s,i,c)=>e&&!s&&i!=="delete"?c.colors.primary:s?c.colors.grey1:i==="delete"?D.important:c.colors.hero,oo=()=>null,lo=()=>null,ro=()=>null,io=({children:e,data:s,...i})=>l.jsx(B.MultiValueLabel,{...i,children:l.jsxs(so,{children:[e,l.jsx(no,{className:"seperator",children:","})]})}),to=({children:e,...s})=>l.jsx(B.ValueContainer,{...s,className:"select-value-container",children:e}),so=d(me)`
|
|
173
173
|
padding: ${o.sp0} 2px;
|
|
174
174
|
max-width: 104px;
|
|
175
175
|
white-space: nowrap;
|
|
@@ -258,7 +258,7 @@ import{e as M,j as l,_ as A,ct as G,C as m,o,r as n,cn as _,cw as K,cv as Q,u as
|
|
|
258
258
|
visibility: hidden;
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
|
-
`,po=({name:e,forZeniUser:s,registerOptions:i,defaultValue:c,isDisabled:p,isMulti:a,style:f,onSelectionChanged:$,isValuePlacedAtEnd:b=!0})=>{const{control:y}=_();return l.jsx(K,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(Xe,{onSelectionChanged:P=>{x({allOptions:c.allOptions,selectedOptions:P}),$?.(P)},forZeniUser:s,selectedRoles:u.selectedOptions,disable:p,isMulti:a,name:e,style:f,allRoles:c.allOptions,isValuePlacedAtEnd:b})})},j={width:new
|
|
261
|
+
`,po=({name:e,forZeniUser:s,registerOptions:i,defaultValue:c,isDisabled:p,isMulti:a,style:f,onSelectionChanged:$,isValuePlacedAtEnd:b=!0})=>{const{control:y}=_();return l.jsx(K,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(Xe,{onSelectionChanged:P=>{x({allOptions:c.allOptions,selectedOptions:P}),$?.(P)},forZeniUser:s,selectedRoles:u.selectedOptions,disable:p,isMulti:a,name:e,style:f,allRoles:c.allOptions,isValuePlacedAtEnd:b})})},j={width:new g(343,580,726),height:new g(n[6],n[6]),controlHeight:new g(n[6],n[6]),paddingTopBottom:new g(n[2],n[2]),marginRight:new g(n[2],n[2]),labelMarginLeft:new g(n[3],n[4]),labelMarginRight:new g(n[3],n[4]),labelMarginTop:new g(n[2],n[2])};function fo({isDisabled:e,label:s,zeniRolesDropDownField:i,style:c}){const p=M();return l.jsxs(uo,{size:p,style:c,isDisabled:e!=null,"data-testid":A("labeled-zeni-roles-dropdown-field",i.name),children:[l.jsx(G,{isDisabled:e,label:s.label,htmlFor:i.name,style:{marginLeft:j.labelMarginLeft.value(p),marginRight:j.labelMarginRight.value(p),marginTop:j.labelMarginTop.value(p),width:s.width??"auto"}}),l.jsx(po,{...i,isDisabled:e==="disabled"||e==="readonly",style:{display:"flex",flexGrow:1,width:s.width!=null?`calc(100% - ${s.width}px)`:"auto",height:p==="small"?"auto":o.sp6,minHeight:j.controlHeight.value(p)}})]})}const uo=d.div`
|
|
262
262
|
display: flex;
|
|
263
263
|
flex-direction: row;
|
|
264
264
|
align-items: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as H,a2 as ue,l as y,a as pe,ca as me,
|
|
1
|
+
import{e as H,a2 as ue,l as y,a as pe,ca as me,i2 as P,hP as L,B as W,cb as he,j as a,F as ge,fE as xe,a4 as fe,o as t,C as m,T as be,a3 as je,cd as R,i3 as we,g as ye,v as I,aB as Ce,q as r}from"./index-Du1ejFtI.js";import{b as O,n as i}from"./vendor-rkTZJa59.js";import Se from"./TransactionDetailPage-DZPHVxna-gW9ty_N8.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./LabeledControlledCheckBoxField-DtVQoSev-CxGQ4PV5.js";import"./TrendWithTransactions-DXSMdecG-qeajZlKV.js";import"./TrendChart-BJF_aBUS-9NcnnooQ.js";import"./chartTypes-eqxFaFS5-B43Gm107.js";import"./toCOABalancesWithID-DCFbumLL-BUL3FzIP.js";import"./toChartData-Dh9v_zba-IkjT0Y7p.js";import"./NoDataChart-Bww-GG_z-Bc_skb_f.js";import"./InsightsSection-BVjjBkzp-DdtTOhLh.js";import"./NavigationDots-BDhrBzmw-D1HC0qJi.js";import"./TransactionList-DifBTNrV-XDxlPwJi.js";import"./BoxItem-BnivUbj--D0CHtSbc.js";import"./commonDimensions-C2hbzHZW-OFUCUhbG.js";import"./uploadAttachment-DOhn3y-C-AUYll2HA.js";import"./radio-default-CiSgisfh-Z5w0WcFM.js";const J={labelWidth:new m(120,145,160)},$e=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -19,7 +19,7 @@ import{e as H,a2 as ue,l as y,a as pe,ca as me,i3 as P,hQ as L,M as W,cb as he,j
|
|
|
19
19
|
background-color: ${e=>e.theme.colors.grey3};
|
|
20
20
|
min-height: 1px;
|
|
21
21
|
max-height: 1px;
|
|
22
|
-
`,V=(e,l)=>`${e}.${l}`;function Ee({sectionId:e,jePostingDate:l,qboURL:n,isJELoading:s}){const u=W.getLocalizedStrings(),{dateFormat:C,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:S}}}=u,h=l.format(C.visual.MMMDCommaYYYYformat),g=H();return a.jsxs($e,{children:[a.jsx(De,{windowSize:g,children:S.header}),a.jsxs(ve,{children:[a.jsx(R,{label:{label:o.jePostingDate,width:J.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:V(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),a.jsx(ke,{}),a.jsx(R,{label:{label:o.jeLink,width:J.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:V(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:n?.toString()??"",autoComplete:"new-password",style:{color:ye.link},options:{pattern:we}},isDisabled:s?"disabled":void 0})]})]})}const b={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},
|
|
22
|
+
`,V=(e,l)=>`${e}.${l}`;function Ee({sectionId:e,jePostingDate:l,qboURL:n,isJELoading:s}){const u=W.getLocalizedStrings(),{dateFormat:C,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:S}}}=u,h=l.format(C.visual.MMMDCommaYYYYformat),g=H();return a.jsxs($e,{children:[a.jsx(De,{windowSize:g,children:S.header}),a.jsxs(ve,{children:[a.jsx(R,{label:{label:o.jePostingDate,width:J.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:V(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),a.jsx(ke,{}),a.jsx(R,{label:{label:o.jeLink,width:J.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:V(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:n?.toString()??"",autoComplete:"new-password",style:{color:ye.link},options:{pattern:we}},isDisabled:s?"disabled":void 0})]})]})}const b={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},Y="linkJETransactionPage",G="linkJETransaction",Z=W.getLocalizedStrings(),{common:{footer:M},dateFormat:Pe}=Z,ut=({analytics:e,scheduleTab:l,jeScheduledTransaction:n,localData:s,saveStatus:u,isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:S,qboAppUrl:h,authParams:g,isDisabled:K,controllerUserDetails:A,isVendorBulkUpdateOnTransactionEnabled:X,onUpdateLocalData:ee,onBackClick:T,onCancelClick:te,onSaveClick:ae,onFetchTransactionClick:ne})=>{const p=H(),U=ue(u),j=y.getQBOUrlForLink(h.toString(),s.jeLink),$=y.getFirstControllerEmail(A.controllers),v=y.getFirstControllerId(A.controllerUserIds),N=()=>{const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),te()},x=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ae()},ie=async d=>{ee(d)};O.useEffect(()=>{const d=x.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),O.useEffect(()=>{if(u==="Completed"&&U==="In-Progress"){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),T()}},[u,U,T]);const{common:{strings:{empty:z}},jeSchedules:{scheduleDetails:{linkJE:f}}}=Z,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),ne(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",D=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",B=s.jeLink.type==="recommended",F=he(x.formState.dirtyFields),k=x.formState.isValid,w=D&&F&&k||D&&B&&k,E=F&&k;return a.jsxs(Le,{children:[a.jsxs(Ae,{windowSize:p,children:[a.jsx(Be,{windowSize:p,children:f.linkJE}),a.jsx(Ne,{children:a.jsx(ze,{onClick:N})})]}),a.jsxs(Ie,{children:[a.jsx(Te,{windowSize:p,children:a.jsx(ge,{...x,children:a.jsx("form",{id:q(Y),onSubmit:x.handleSubmit(oe),children:a.jsx(Ee,{jePostingDate:s.postingDate,sectionId:G,qboURL:j,isJELoading:o?.fetchState==="In-Progress"})})})}),B?a.jsxs(Re,{windowSize:p,children:[a.jsx(Oe,{})," ",f.zeniRecommendation]}):null,D?a.jsx(Ue,{children:a.jsx(Se,{isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:S,transactionAttachmentEndpointToDownload:z,transactionAttachmentsEndpointToFetch:z,attachmentUploadEndpoint:"",authParams:g,isDisabled:K??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:X,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,a.jsxs(Fe,{children:[re?a.jsx(Q,{windowSize:p,children:f.transactionFetchError}):null,de?a.jsx(Q,{windowSize:p,children:f.jeDetails}):null]}),se?a.jsx(xe,{fetchState:o?.fetchState}):null]}),w||E?a.jsx(fe,{formId:w?q(Y):void 0,primaryBtn:{onClick:E&&!w?le:void 0,label:E&&!w?f.fetchJE:M.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:M.cancel,shouldResetOnCancel:!0,onClick:N}}):null]})},q=e=>`${e}_form`,_=(e,l)=>({[G]:{qboURL:y.getQBOUrlForLink(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Pe.visual.MMMDCommaYYYYformat)}}),Le=i.div`
|
|
23
23
|
display: flex;
|
|
24
24
|
flex: 1 1 auto;
|
|
25
25
|
width: 100%;
|
|
@@ -48,12 +48,12 @@ import{e as H,a2 as ue,l as y,a as pe,ca as me,i3 as P,hQ as L,M as W,cb as he,j
|
|
|
48
48
|
flex: 1;
|
|
49
49
|
margin-bottom: ${t.sp12};
|
|
50
50
|
background-color: inherit;
|
|
51
|
-
`,
|
|
51
|
+
`,Ne=i.div`
|
|
52
52
|
display: flex;
|
|
53
53
|
justify-content: flex-end;
|
|
54
54
|
align-items: center;
|
|
55
55
|
padding: ${t.sp3} ${t.sp0};
|
|
56
|
-
`,
|
|
56
|
+
`,ze=i(je)`
|
|
57
57
|
cursor: pointer;
|
|
58
58
|
color: ${e=>e.theme.colors.hero};
|
|
59
59
|
width: ${t.sp4};
|
|
@@ -61,7 +61,7 @@ import{e as H,a2 as ue,l as y,a as pe,ca as me,i3 as P,hQ as L,M as W,cb as he,j
|
|
|
61
61
|
&:hover {
|
|
62
62
|
color: ${e=>e.theme.colors.primary};
|
|
63
63
|
}
|
|
64
|
-
`,
|
|
64
|
+
`,Be=i(be)`
|
|
65
65
|
display: flex;
|
|
66
66
|
width: 100%;
|
|
67
67
|
flex-grow: 1;
|
|
@@ -79,7 +79,7 @@ import{e as H,a2 as ue,l as y,a as pe,ca as me,i3 as P,hQ as L,M as W,cb as he,j
|
|
|
79
79
|
color: ${e=>e.theme.colors.hero};
|
|
80
80
|
margin: ${t.sp3} ${t.sp1};
|
|
81
81
|
${I.standardRegular.css};
|
|
82
|
-
`,
|
|
82
|
+
`,Fe=i.div`
|
|
83
83
|
flex-grow: 1;
|
|
84
84
|
width: 100%;
|
|
85
85
|
`,Re=i.div`
|
package/dist/assets/{LowBalancePopup-DIu4EJtv-rczMO9N_.js → LowBalancePopup-DWXEyi2S-BS-B0i1n.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{B as S,e as R,a as T,l as s,j as a,F as z,bV as B,cg as A,C as m,cj as W,o as e,bY as E,q as u,ap as U,a7 as Y,br as N}from"./index-Du1ejFtI.js";import{n as r}from"./vendor-rkTZJa59.js";const d={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},V=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${t=>t.theme.colors.grey5};
|
|
@@ -6,13 +6,13 @@ import{M as S,e as T,a as z,l as s,j as a,F as A,bV as C,cg as R,C as m,cj as W,
|
|
|
6
6
|
box-shadow: ${t=>`${e.sp0} 2px ${e.sp1} ${t.theme.colors.dropShadowNormal}`};
|
|
7
7
|
border-radius: ${e.sp2};
|
|
8
8
|
margin: ${t=>t.windowSize==="small"?`${e.sp5} ${e.sp3} ${e.sp6} ${e.sp3}`:`${e.sp5} ${e.sp8} ${e.sp6} ${e.sp8}`};
|
|
9
|
-
`,
|
|
9
|
+
`,q=r.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
flex: 1;
|
|
12
12
|
background-color: ${t=>t.theme.colors.grey3};
|
|
13
13
|
min-height: 1px;
|
|
14
14
|
max-height: 1px;
|
|
15
|
-
`;function
|
|
15
|
+
`;function _({saveDetailsFetchState:t,paymentData:i,onProceedForMarkAsPaid:h,onCancel:y}){const{spendManagement:{billPay:{billDetails:{paymentOutsideZeni:g,paymentDate:f,cancel:n}}},dateFormat:{visual:x,analytics:b}}=S.getLocalizedStrings(),{popUpTitle:w,paymentModeLabel:C,markAsPaid:v,defaultDateInfo:M,paymentModeOptions:$,selectDate:j,selectMethod:P}=g,l=R(),D="payment-outside-zeni-form",p="paymentMode",c="paymentDate",k=T({mode:"all",values:{[p]:{selectedOption:i?.paymentMode,allOptions:$.map(o=>o.value)},[c]:i?.paymentDate?.toDate()}}),O=k.handleSubmit(o=>{h({paymentDate:o[c]!=null?s.zeniDate(o[c].toString()):s.zeniDate(s.dateNow().startOf("month").format(b.YYYYDashMMDashDDFormat).toString()),paymentMode:o[p]?.selectedOption!=null?s.toOutsideZeniPaymentModeType(o[p]?.selectedOption):"other"})}),I=o=>$.find(L=>L.value===o)?.label??"";return a.jsx(z,{...k,children:a.jsx("form",{id:D,onSubmit:O,children:a.jsx(B,{formId:D,titleComponent:a.jsx(E,{children:w}),primaryButtonText:v,primaryButtonWidth:128,secondaryButtonWidth:128,secondaryButtonText:n,isLoading:t==="In-Progress",isDisabled:t==="In-Progress",isEditPopup:!0,shouldClickAway:t!=="In-Progress",action:{onOkClick:()=>null,onCancelClick:y},children:a.jsxs(V,{windowSize:l,children:[a.jsx(A,{label:{label:C,width:d.labelWidth.value(l)},style:{width:d.width.valuePx(l)},singleSelectField:{singleSelect:{getLabelForId:I,showTickMark:!1,alwaysShowEyeTooltip:!1,name:p,placeholder:P,showValueEyeIcon:!1,showEyeIconOnSelect:!1},defaultValue:{selectedOption:i?.paymentMode,allOptions:$?.map(o=>o.value)??[]}},isFunctional:!0}),a.jsx(q,{}),a.jsx(W,{label:{label:f,width:d.labelWidth.value(l)},style:{paddingBottom:d.paddingBottom.valuePx(l),width:d.width.valuePx(l),borderRadius:e.sp0},additionalPaymentInfoLabel:M,additionalPaymentInfoLabelStyle:{borderBottomRightRadius:e.sp2,borderBottomLeftRadius:e.sp2,paddingTop:e.sp1,paddingBottom:e.sp1,paddingLeft:e.sp3,paddingRight:d.paddingRight.valuePx(l),textAlign:"left"},dateField:{name:c,placeholder:j,defaultValue:i?.paymentDate,dateFormat:x.defaultInput,maxDate:s.dateNow(),minDate:s.zeniDate("01 Jan 1900"),autoComplete:"off"}})]})})})})}const Q=({withdrawFrom:t,paymentDate:i,onOkClick:h,onCancelClick:y,onClickAway:g})=>{const{dateFormat:f,spendManagement:{billPay:n},common:{strings:x}}=S.getLocalizedStrings();if(t!=null&&i!=null){const b=`${t?.label} ${t?.maskedAccountNumber}`,w=a.jsx(J,{children:a.jsxs(Z,{children:[a.jsx(F,{children:b}),n.insufficientFunds.popUp.hasLowBalance,x.space,n.insufficientFunds.popUp.addMoney,a.jsx(F,{children:i?.format(f.visual.MMMDFormat)}),n.insufficientFunds.popUp.avoidFailure]})});return a.jsx(B,{titleComponent:a.jsx(G,{children:n.insufficientFunds.popUp.title}),primaryButtonText:n.billDetails.buttons.approveAnyways,secondaryButtonText:n.billDetails.editBill,containerStyle:{maxWidth:474},descriptionComponent:w,action:{onOkClick:h,onCancelClick:y,onClickAway:g},secondaryButtonWidth:166,primaryButtonWidth:"auto",showLine:!1,buttonSeparatorStyle:{width:e.sp3},buttonContainerStyle:{paddingBottom:e.sp6}})}},J=r.div`
|
|
16
16
|
display: flex;
|
|
17
17
|
flex-direction: column;
|
|
18
18
|
align-items: center;
|
|
@@ -31,4 +31,4 @@ import{M as S,e as T,a as z,l as s,j as a,F as A,bV as C,cg as R,C as m,cj as W,
|
|
|
31
31
|
padding-right: ${e.sp8};
|
|
32
32
|
color: ${t=>t.theme.colors.primary};
|
|
33
33
|
word-break: break-word;
|
|
34
|
-
`;export{Q as o,
|
|
34
|
+
`;export{Q as o,_ as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as l}from"./index-
|
|
1
|
+
import{j as l}from"./index-Du1ejFtI.js";import{f as y}from"./ACHDetailsPage-B-YGNgNu-Bmzj5VCx.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BankAccountWarningSection-DFi3iK9n-Bwv6p1-d.js";import"./MagicLinkTitleSection-Dzfctx8H-BBKMnm9G.js";import"./BankAccountSection-A8IfSLFo-DZ6IsEkG.js";const j=({magicLinkViewState:t,magicLinkBankAccountDetails:a,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r})=>{const{fetchState:m,error:c,bankNameByRouting:p,bankAccountToCreate:s,fetchBankNameByRoutingStatus:u}=a,{currencySymbol:k,amount:f}=t;return l.jsx(y,{bankAccountToCreate:s,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,fetchBankNameByRoutingStatus:u,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:k,amount:f})};export{j as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as S}from"./index-
|
|
1
|
+
import{j as S}from"./index-Du1ejFtI.js";import{y as b}from"./DomesticWireDetailsPage-BS3N4ATj-Z9M0LUQc.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BankAccountSection-A8IfSLFo-DZ6IsEkG.js";import"./MagicLinkTitleSection-Dzfctx8H-BBKMnm9G.js";import"./BankAccountWarningSection-DFi3iK9n-Bwv6p1-d.js";import"./MailingDetailsSection-N-M1JzkW-CJwTbRpR.js";import"./LabeledAddressValueField-RFI4bpOj-V_HSBjtL.js";const F=({magicLinkViewState:t,magicLinkBankAccountDetails:e,mailingAddressDetails:a,isDisabled:o,companyName:r,onSaveHandler:i,onWireDetailsUpdated:n,onFetchBankName:m,onAddressClick:s})=>{const{fetchState:c,error:d,bankNameByRouting:p,bankAccountToCreate:u,fetchBankNameByRoutingStatus:k}=e,{currencySymbol:l,amount:y}=t;return S.jsx(b,{bankAccountToCreate:u,bankAccountCreationState:{fetchState:c,error:d},bankNameByRouting:p,addressToEdit:a,addressType:"vendor_address",fetchBankNameByRoutingStatus:k,isDisabled:o,onSaveHandler:i,onWireDetailsUpdated:n,onAddressClick:s,onFetchBankName:m,companyName:r,isMagicLink:!0,currencySymbol:l,amount:y})};export{F as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as B}from"./index-
|
|
1
|
+
import{j as B}from"./index-Du1ejFtI.js";import{f as S}from"./InternationalWireSwiftDetailsPage-DXYaOaYh-D23V0HqY.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BankAccountWarningSection-DFi3iK9n-Bwv6p1-d.js";import"./MailingDetailsSection-N-M1JzkW-CJwTbRpR.js";import"./LabeledAddressValueField-RFI4bpOj-V_HSBjtL.js";import"./MagicLinkTitleSection-Dzfctx8H-BBKMnm9G.js";const L=({magicLinkViewState:t,magicLinkBankAccountDetails:a,mailingAddressDetails:e,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:m,onAddressClick:s})=>{const{internationalBankAccountCreateStatus:c,internationalBankAccountToCreate:d,fetchBankNameBySwiftStatus:p,bankNameBySwift:k}=a,{currencySymbol:l,amount:u}=t;return B.jsx(S,{bankAccountToCreate:d,bankAccountCreationState:c,bankNameBySwift:k,addressToEdit:e,addressType:"vendor_address",fetchBankNameBySwiftStatus:p,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:s,onFetchBankNameBySwift:m,companyName:i,isMagicLink:!0,currencySymbol:l,amount:u})};export{L as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ac as r,
|
|
1
|
+
import{ac as r,B as n,j as t,ak as l,o,M as c,c7 as a,T as p}from"./index-Du1ejFtI.js";import{n as i}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const S=()=>{const[e]=r("Confetti"),s=n.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(m,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(u,{children:t.jsx(x,{})}),t.jsxs(d,{children:[t.jsx(g,{children:s.successTitle}),t.jsx(h,{children:s.successNote})]})]}):null},m=i.div`
|
|
2
2
|
z-index: 999;
|
|
3
3
|
height: 100vh;
|
|
4
4
|
width: 100%;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{B as C,ab as p,j as t,c7 as m,o as n,t as g,g as x,bO as d}from"./index-Du1ejFtI.js";import{n as s,b as i}from"./vendor-rkTZJa59.js";const h=e=>i.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M12.0257 -0.000342749C11.8221 -0.00677984 11.624 0.0667416 11.4727 0.204861C11.4727 0.204861 7.52114 3.7329 2.78947 3.7329C2.5801 3.73292 2.37931 3.81721 2.23125 3.96724C2.0832 4.11726 2.00002 4.32072 2 4.53288V11.0713C2 14.6328 3.62601 20.4933 11.6937 23.9366C11.7906 23.978 11.8948 23.9993 12 23.9993C12.1052 23.9993 12.2094 23.978 12.3063 23.9366C20.374 20.4933 22 14.6328 22 11.0713V4.53288C22 4.32072 21.9168 4.11726 21.7687 3.96724C21.6207 3.81721 21.4199 3.73292 21.2105 3.7329C16.4789 3.7329 12.5273 0.204861 12.5273 0.204861C12.3892 0.0787349 12.2115 0.00606537 12.0257 -0.000342749ZM12 5.33287C13.7421 5.33287 15.1579 6.7675 15.1579 8.53279V9.59943C16.0263 9.59943 16.7368 10.3194 16.7368 11.1994V15.466C16.7368 16.3459 16.0263 17.0659 15.1579 17.0659H8.84211C7.97368 17.0659 7.26316 16.3459 7.26316 15.466V11.1994C7.26316 10.3194 7.97368 9.59943 8.84211 9.59943V8.53279C8.84211 6.7675 10.2579 5.33287 12 5.33287ZM12 6.93283C11.1316 6.93283 10.4211 7.65281 10.4211 8.53279V9.59943H13.5789V8.53279C13.5789 7.65281 12.8684 6.93283 12 6.93283ZM12 11.7327C11.5812 11.7327 11.1796 11.9013 10.8835 12.2013C10.5874 12.5014 10.4211 12.9083 10.4211 13.3327C10.4211 13.757 10.5874 14.164 10.8835 14.464C11.1796 14.7641 11.5812 14.9326 12 14.9326C12.4188 14.9326 12.8204 14.7641 13.1165 14.464C13.4126 14.164 13.5789 13.757 13.5789 13.3327C13.5789 12.9083 13.4126 12.5014 13.1165 12.2013C12.8204 11.9013 12.4188 11.7327 12 11.7327Z",fill:"currentColor"})),$=({companyName:e,currencySymbol:l,amount:r})=>{const a=C.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,c=r>0?` ${p("0,0.[00]",r,l)}`:"",o=a.title.replace(/<tenant_name>/,e)+c;return t.jsxs(t.Fragment,{children:[t.jsx(y,{children:o}),t.jsxs(u,{children:[a.description.replace(/<tenant_name>/,e),t.jsxs(w,{children:[t.jsx(f,{}),a.encrypted]})]})]})},w=s(d)`
|
|
2
2
|
display: flex;
|
|
3
|
-
gap: ${
|
|
3
|
+
gap: ${n.sp1};
|
|
4
4
|
color: ${x.successDark};
|
|
5
|
-
`,f=
|
|
6
|
-
width: ${
|
|
7
|
-
height: ${
|
|
5
|
+
`,f=s(h)`
|
|
6
|
+
width: ${n.sp4};
|
|
7
|
+
height: ${n.sp4};
|
|
8
8
|
color: inherit;
|
|
9
|
-
`,
|
|
9
|
+
`,u=s(g)`
|
|
10
10
|
display: flex;
|
|
11
11
|
align-items: center;
|
|
12
12
|
justify-content: space-between;
|
|
13
13
|
flex-wrap: wrap;
|
|
14
|
-
gap: ${
|
|
14
|
+
gap: ${n.sp4};
|
|
15
15
|
color: ${e=>e.theme.colors.champion};
|
|
16
|
-
margin-top: ${
|
|
17
|
-
`,
|
|
16
|
+
margin-top: ${n.sp3};
|
|
17
|
+
`,y=s(m)``;export{$ as M};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as h,
|
|
1
|
+
import{e as h,B as u,C as r,j as s,o as a,cf as x,ao as b,q as i}from"./index-Du1ejFtI.js";import{n}from"./vendor-rkTZJa59.js";import{C as f}from"./LabeledAddressValueField-RFI4bpOj-V_HSBjtL.js";const o={largeLabelWidth:new r(120,140,220),paddingTopBottom:new r(i[3],i[3]),marginRight:new r(i[3],i[8]),marginLeft:new r(i[3],i[6]),marginLeftTitle:new r(i[4],i[6])},j=({sectionId:e,addressToEdit:t,addressType:m,isDisabled:p,onAddressClick:g})=>{const l=h(),d=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,$=o.largeLabelWidth.value(l);return s.jsxs(s.Fragment,{children:[s.jsx(L,{size:l,children:d.addressDetailTitle}),s.jsx(v,{size:l,children:s.jsx(f,{isDisabled:p,label:{label:d.address,width:$},addressValueField:{name:w(e,"mailingAddress"),placeholder:x(d.address),defaultValue:t,registerOptions:{validate:c=>c!=null},onClick:()=>{g(m)}},additionalInfoLabel:d.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,t)=>`${e}.${t}`,v=n.div`
|
|
2
2
|
width: auto;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -6,10 +6,10 @@ import{e as h,M as u,C as o,j as s,o as a,cf as x,ao as b,r as i}from"./index-DH
|
|
|
6
6
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
7
7
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
8
8
|
border-radius: ${a.sp2};
|
|
9
|
-
margin-left: ${e=>
|
|
10
|
-
margin-right: ${e=>
|
|
11
|
-
margin-top: ${e=>
|
|
12
|
-
margin-bottom: ${e=>
|
|
9
|
+
margin-left: ${e=>o.marginLeft.valuePx(e.size)};
|
|
10
|
+
margin-right: ${e=>o.marginRight.valuePx(e.size)};
|
|
11
|
+
margin-top: ${e=>o.paddingTopBottom.valuePx(e.size)};
|
|
12
|
+
margin-bottom: ${e=>o.paddingTopBottom.valuePx(e.size)};
|
|
13
13
|
&:hover {
|
|
14
14
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
15
15
|
}
|
|
@@ -17,5 +17,5 @@ import{e as h,M as u,C as o,j as s,o as a,cf as x,ao as b,r as i}from"./index-DH
|
|
|
17
17
|
color: ${e=>e.theme.colors.primary};
|
|
18
18
|
margin-bottom: ${a.sp3};
|
|
19
19
|
margin-top: ${a.sp5};
|
|
20
|
-
margin-left: ${e=>
|
|
20
|
+
margin-left: ${e=>o.marginLeftTitle.valuePx(e.size)};
|
|
21
21
|
`;export{j as T};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as o,j as i
|
|
1
|
+
import{e as o,j as i,$ as d,p as c,g as l,o as p,C as r}from"./index-Du1ejFtI.js";import{n as a}from"./vendor-rkTZJa59.js";const s={width:new r(425,850,850),height:new r(320,640,640)},h=a.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
top: 0;
|
|
4
4
|
left: 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as o,
|
|
1
|
+
import{j as o,p as u,eL as h,o as s,u as d,eM as m}from"./index-Du1ejFtI.js";import{b as x,n as c,j as f}from"./vendor-rkTZJa59.js";const b=({open:e,onClose:r,anchorEl:i,children:n,styles:l})=>{const t=d();return o.jsx(m,{transitionDuration:0,anchorEl:i,open:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",background:t.colors.grey5,boxShadow:`${s.sp0} 2px ${s.sp2} ${t.colors.dropShadowHover}`,boxSizing:"border-box",transform:l?.transform??"translate(30px,10px)",borderRadius:s.sp1}}},onClose:r,disableAutoFocus:!0,disableEnforceFocus:!0,children:n})},y=c.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
`,C=({menuItems:e,isMenuOpen:r,isMenuVisible:i=!0,setIsMenuOpen:n,styles:l,menuIconStyles:t})=>{const p=x.useRef(null);return o.jsx(u,{onClickAway:()=>{n(!1)},children:o.jsxs(y,{ref:p,children:[o.jsx(j,{className:"placeholder",style:t,onClick:a=>{a.stopPropagation(),n(!r)},children:o.jsx(g,{isMenuVisible:i,children:o.jsx(h,{})})}),r?o.jsx(b,{open:r,onClose:a=>{a.stopPropagation(),n(!1)},anchorEl:p.current,styles:l,children:e}):null]})})},j=c.div`
|
|
4
4
|
height: ${s.sp4};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import{u as z,e as M,
|
|
1
|
+
import{u as z,e as M,f1 as H,B as v,a8 as p,j as i,l as B,aX as L,b as $,o as t,aS as P,C as d,n as I,t as _,v as J,J as W,f2 as j,f3 as C,q as u,f5 as R,g as A,w as E}from"./index-Du1ejFtI.js";import{b as y,n}from"./vendor-rkTZJa59.js";import{q as F}from"./SetUpDefaultSection-Ax1FuH_A-CyAf_lFy.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const r={sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(u[6],u[7]),iconContainerMarginRight:new d(12,u[3]),iconPadding:new d(10,12),iconWidthHeight:new d(20,u[4]),elementsMarginLeftRight:new d(u[3],u[4])},N={title:new W("standardMedium","largeMedium")},q=n.img`
|
|
2
2
|
width: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
3
3
|
height: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
4
4
|
border-radius: ${t.sp11};
|
|
5
5
|
margin-right: ${e=>r.iconContainerMarginRight.valuePx(e.windowSize)};
|
|
6
|
-
`,
|
|
6
|
+
`,V=n.div`
|
|
7
7
|
display: flex;
|
|
8
8
|
`,G=n.div`
|
|
9
9
|
display: flex;
|
|
@@ -17,16 +17,16 @@ import{u as z,e as M,f2 as H,M as v,a8 as p,j as i,l as B,aX as L,b as $,o as t,
|
|
|
17
17
|
`,O=n.div`
|
|
18
18
|
display: flex;
|
|
19
19
|
align-items: flex-start;
|
|
20
|
-
`,
|
|
20
|
+
`,U=n.div`
|
|
21
21
|
display: flex;
|
|
22
22
|
opacity: 1;
|
|
23
|
-
`,
|
|
23
|
+
`,X=n.div`
|
|
24
24
|
display: flex;
|
|
25
25
|
flex-direction: column;
|
|
26
|
-
`,
|
|
26
|
+
`,Y=n.div``,K=n.div`
|
|
27
27
|
${e=>`${N.title.style(e.windowSize)}`};
|
|
28
28
|
color: ${e=>e.isError===!0?A.important:e.theme.colors.primary};
|
|
29
|
-
`,
|
|
29
|
+
`,Q=n.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
flex-direction: row;
|
|
32
32
|
align-items: center;
|
|
@@ -39,7 +39,7 @@ import{u as z,e as M,f2 as H,M as v,a8 as p,j as i,l as B,aX as L,b as $,o as t,
|
|
|
39
39
|
max-width: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
40
40
|
max-height: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
41
41
|
margin-right: ${e=>r.iconContainerMarginRight.valuePx(e.windowSize)};
|
|
42
|
-
`,Z=n(
|
|
42
|
+
`,Z=n(E)`
|
|
43
43
|
display: flex;
|
|
44
44
|
align-items: center;
|
|
45
45
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -65,7 +65,7 @@ import{u as z,e as M,f2 as H,M as v,a8 as p,j as i,l as B,aX as L,b as $,o as t,
|
|
|
65
65
|
color: ${e=>e.theme.colors.grey1};
|
|
66
66
|
justify-content: space-between;
|
|
67
67
|
box-sizing: border-box;
|
|
68
|
-
`,te=({bankAccount:e,paymentAccount:o,accountStatus:s})=>{const
|
|
68
|
+
`,te=({bankAccount:e,paymentAccount:o,accountStatus:s})=>{const l=M(),m=z(),h=e.bankName,a=m.mode==="light"?new p(m.colors.brandColorJadeLight):new p(m.colors.brandColorJadeDark),b={element:i.jsx(P,{width:r.iconWidthHeight.valuePx(l),height:r.iconWidthHeight.valuePx(l)}),color:a},c=o?.providerVerificationStatus?.code,x=`${o?.accountSubType?.name!=null?o.accountSubType.name.substring(0,1).toUpperCase().concat(o.accountSubType.name.substring(1)):""} ${o?.maskedAccountNumber??e.maskedAccountNumber}`.trim(),g=o?.institutionDetails?.zeniInstitutionId.toLowerCase()==="chase";return i.jsx(ne,{windowSize:l,children:i.jsxs(G,{windowSize:l,children:[i.jsxs(O,{children:[i.jsx(U,{children:oe(b,l,m.mode==="dark",o)}),i.jsxs(X,{children:[i.jsxs(Y,{children:[i.jsx(K,{windowSize:l,children:h}),i.jsx(Z,{children:x?i.jsxs(i.Fragment,{children:[i.jsx(ee,{children:x}),l!=="small"&&(c!=="verification_failed"&&o?.providerVerificationStatus?.code==="pending_manual_verification"||g)?i.jsx(ie,{}):null]}):null})]}),s!=null&&l==="small"?i.jsx(j,{style:{width:"max-content",padding:0,marginTop:t.sp2},tagTitle:s.name,textColor:C(s.code)}):null]})]}),i.jsx(V,{children:s!=null&&l!=="small"?i.jsx(j,{style:{width:"max-content",padding:0,marginTop:t.sp2},tagTitle:s.name,textColor:C(s.code)}):null})]})})},oe=(e,o,s,l)=>l?.institutionDetails.logo?.base64!=null?i.jsx(q,{windowSize:o,src:`${R}${l.institutionDetails.logo.base64.toString()}`,alt:l.institutionDetails.institutionName,loading:"lazy"}):i.jsx(Q,{iconColor:e.color,windowSize:o,isDarkMode:s,children:e.element}),f={iconWidthHeight:new d(20,u[4]),sectionWidth:new d(343,580,726),subtitleSectionWidth:new d(343,580,1200)},le={title:new W("standardMedium","largeMedium")},ae=n.div`
|
|
69
69
|
display: flex;
|
|
70
70
|
row-gap: ${t.sp3};
|
|
71
71
|
flex-direction: column;
|
|
@@ -95,8 +95,8 @@ import{u as z,e as M,f2 as H,M as v,a8 as p,j as i,l as B,aX as L,b as $,o as t,
|
|
|
95
95
|
align-items: center;
|
|
96
96
|
|
|
97
97
|
color: ${e=>e.theme.colors.primary};
|
|
98
|
-
font-family: ${
|
|
99
|
-
${e=>`${
|
|
98
|
+
font-family: ${J.largeMedium.fontFamily};
|
|
99
|
+
${e=>`${le.title.style(e.windowSize)}`};
|
|
100
100
|
`,ue=n(I)`
|
|
101
101
|
display: flex;
|
|
102
102
|
justify-content: center;
|
|
@@ -107,4 +107,4 @@ import{u as z,e as M,f2 as H,M as v,a8 as p,j as i,l as B,aX as L,b as $,o as t,
|
|
|
107
107
|
display: flex;
|
|
108
108
|
align-items: center;
|
|
109
109
|
color: ${e=>e.theme.colors.hero};
|
|
110
|
-
`,ve=({plaidConnectionDetails:e,myBankConnectionsView:o,onEstablishConnectionClick:s,onFetchLinkTokenClick:
|
|
110
|
+
`,ve=({plaidConnectionDetails:e,myBankConnectionsView:o,onEstablishConnectionClick:s,onFetchLinkTokenClick:l,onClickMenuIcon:m})=>{const h=z(),a=M(),b=y.useCallback(w=>{s(w)},[s]),c=y.useMemo(()=>e.link_account_no_microdeposit,[e]),{open:x}=H({token:c.linkToken??null,onSuccess:b}),g=v.getLocalizedStrings().common.settings,T=h.mode==="light"?new p(h.colors.brandColorJadeLight):new p(h.colors.brandColorJadeDark),k=v.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail;return y.useEffect(()=>{(B.zeniDate(new Date().toISOString()).isAfter(c.expiration)||c.linkToken==null)&&l("link_account_no_microdeposit")},[l,c.expiration,c.linkToken]),i.jsxs(re,{children:[i.jsx(L,{source:"MyBankConnectionsSettingsPage",title:g.title.myBankConnections,backgroundColor:h.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:a==="medium-compact"||a==="small",onClickMenuIcon:m}),i.jsxs(se,{windowSize:a,children:[i.jsx(ue,{windowSize:a,children:i.jsx(me,{windowSize:a,children:g.infoText.myBankConnections})}),o.bankAccounts.length>0?i.jsx(de,{windowSize:a,children:i.jsx(ce,{windowSize:a,children:g.subtitle.myBankConnections})}):null,i.jsx($,{controller:o.bankAccounts.length>0,children:i.jsx(ae,{children:o.bankAccounts.map(w=>{const S=o.paymentAccounts.find(D=>D.bankAccountId==w.bankAccountId);return i.jsx(te,{bankAccount:w,accountStatus:S?.verificationStatus,paymentAccount:S},w.bankAccountId)})})}),i.jsx($,{controller:o.bankAccounts.length===0,children:i.jsx(F,{onClick:()=>{x()},title:k.connectYourBank,subTitle:k.loginToBank,header:g.label.reimbursements,icon:{element:i.jsx(P,{width:f.iconWidthHeight.valuePx(a),height:f.iconWidthHeight.valuePx(a)}),color:T},style:{width:"unset",rowGap:a==="small"?t.sp2:void 0}})})]})]})};export{ve as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{u as D,Y as M,l as O,
|
|
1
|
+
import{u as D,Y as M,l as O,B as j,fl as t,j as r,aX as w,fE as B,o as F}from"./index-Du1ejFtI.js";import{n as P}from"./vendor-rkTZJa59.js";import{O as U}from"./ChargeCardListTable-D-wd0edv-Ccs8wgch.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./Menu-DCl4YiCd-B0YQHXqY.js";import"./RoleWithToolTip-DsEos8I_-DRhh0Kxb.js";import"./CardNumberSubText-CIysZ6zp-BeRdb8DH.js";import"./ChargeCardUtils-Vw0LoIey-LQKRCzhH.js";const{spendManagement:{chargeCard:u}}=j.getLocalizedStrings(),_=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:i,creditAccount:c,creditAccountRepayment:C,depositAccountListWithDebitCardIssued:d,controllerEmails:h,signedInUser:p,onChargeCardRowClick:g,onBackClick:A,onReloadCards:f,onColumnSortConfigChanged:k})=>{const S=D(),y=M(),m=O.hasChargeCardAdminLevelAccess(y.loggedInUserRoleMap),E=e.cards.some(a=>a.type.code.includes("credit")),b=e.cards.some(a=>a.type.code.includes("debit")),v=E&&b?u.cardList.title.cards:b?u.cardList.title.debit:u.cardList.title.credit,I=m===!0?{creditCardCashbackOffer:`${i.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${i.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:t(i.cashbackSummary.cashbackEarned.amount),redeemedCashback:t(i.cashbackSummary.cashbackRedeemed.amount),availableCashback:t(i.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:i.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:i.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,R=o&&l&&m===!0?{creditAccountId:c.id,creditAccountLimit:t(c.limit.amount),creditAccountAvailableAmount:t(c.available.amount),creditAccountSpentAmount:t(c.balance.amount+c.hold.amount),creditAccountStatus:c.status,outstandingBalance:t(C.remainingAmountDue.amount)}:void 0,x=n&&s?{debitAccountId:d.depositAccounts.map(a=>a.id),debitAccountName:d.depositAccounts.map(a=>a.accountName),debitAccountBalance:d.depositAccounts.map(a=>t(a.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:d.depositAccounts.map(a=>a.accountStatus)}:void 0,L={isCreditCardOffered:o,isDebitCardOffered:n,isDebitCardEnabled:s,isCreditCardEnabled:l};return r.jsxs($,{children:[r.jsx(w,{title:v,backgroundColor:S.colors.grey4,style:{zIndex:3},onBackClick:A,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?r.jsx(B,{fetchState:e.fetchState,styles:{margin:"auto"}}):r.jsx(U,{controllerEmails:h,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:c,creditAccountRepayment:C,productInformation:L,cashbackInformation:I,creditAccountInformation:R,debitAccountInformation:x,depositAccountListWithDebitCardIssued:d,cardList:e.cards,showViewForCardUser:!0,signedInUser:p,fetchState:e.fetchState,onReloadCards:f,onChargeCardRowClick:g,uiState:e.uiState,onColumnSortConfigChanged:k,onChargeCardResendInviteClick:()=>{},onChargeCardRevokeInviteClick:()=>{}})]})},$=P.div`
|
|
2
2
|
display: flex;
|
|
3
|
-
min-height: ${`calc(100vh - ${
|
|
3
|
+
min-height: ${`calc(100vh - ${F.sp9})`};
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
width: 100%;
|
|
6
6
|
`;export{_ as default};
|