@zeniai/web-cockpit-ui 1.14.6-prod → 1.14.7-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-DgGGv2hx-D8NfCGx4.js → ACHDetailsPage-CYMIIaPh-C8Zl6MLV.js} +3 -3
- package/dist/assets/{AIPerformancePage-cpZUms56-Br8WfykN.js → AIPerformancePage-DpQIi2ZW-BO0NE_2F.js} +35 -35
- package/dist/assets/{AccountInfoPage-CFLaCiT5-DACXt1o8.js → AccountInfoPage-Sh-82JXU-CKtI4bnL.js} +5 -5
- package/dist/assets/{AccountInfoPageContent-DtAZ50Qc-CxhZF1SU.js → AccountInfoPageContent-CsHvwqHd-BlW8CgcU.js} +13 -13
- package/dist/assets/{AccountReconDetailsDrawerPage-CMN1zNHW-xDIpVuL_.js → AccountReconDetailsDrawerPage-DlKlKwh2-DpdK7fsT.js} +16 -16
- package/dist/assets/{AccountRow-DAc1wwY9-CgAkA3GO.js → AccountRow-CtIoeB6x-B01gigKX.js} +17 -17
- package/dist/assets/{AccountsPromoCardStack-Bp1wRT6M-CmHnQv_o.js → AccountsPromoCardStack-XGoMEJWB-ClZD8Pkf.js} +15 -15
- package/dist/assets/{AddAddressForCardDrawer-ChDzvTVq-CDX14d6g.js → AddAddressForCardDrawer-C6Sfh784-BO6CLNaD.js} +2 -2
- package/dist/assets/{AddToWalletPage-BvrcjDhk-DB5R91nz.js → AddToWalletPage-CzD2AhWP-GEi12jel.js} +13 -13
- package/dist/assets/{AgingReportsPage-CzYUWOIt-CuWgawIJ.js → AgingReportsPage-D9YcQ7A--jEVrKNWY.js} +7 -7
- package/dist/assets/{AllUserItems-XxV2Tu4Y-C35kaDV5.js → AllUserItems-BtS-YtE0-oBJempiY.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-DTXhjXRb-C1b0tR8v.js → ApAgingDetailPage-BTJqRp9j-CVJ5DZ9g.js} +4 -4
- package/dist/assets/{AppBasePage-Cfiv8Ecs-BCTz1G7v.js → AppBasePage-B5fgkJHL-nKspGTEB.js} +4 -4
- package/dist/assets/{AppDrawerContent-ggBgpYsv-BbdghuTn.js → AppDrawerContent-C1lzepXw-Dt703jdK.js} +6 -6
- package/dist/assets/{ApprovalRulesSettingsPage-BlRSdCTV-BIsBDQ0v.js → ApprovalRulesSettingsPage-Bqt15rR_-CJ2-js2Y.js} +7 -7
- package/dist/assets/{ArAgingChart-C7_e1ezL-BauRiCdM.js → ArAgingChart-BGVvhkR5-CfmO25FB.js} +6 -6
- package/dist/assets/{ArAgingDetailPage-DhjFbj4K-D_NFFV2H.js → ArAgingDetailPage-Ddp7z3e8-BWaOoITE.js} +2 -2
- package/dist/assets/{AttachmentView-CQD-yy-o-B_uohgy7.js → AttachmentView-pcpYs-s8-D808dzO5.js} +5 -5
- package/dist/assets/{BankAccountSection-CmOHWLFq-aLosKCrp.js → BankAccountSection-CmXQQBck-BXf6w0tF.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-DsBsO84p-JoB6fVxo.js → BankAccountWarningSection-Dp7qMaI2-DCN96rsg.js} +5 -5
- package/dist/assets/{BankConnectionsSettingsPage-Cz6smhXo-CziTynqn.js → BankConnectionsSettingsPage-ldzD1a4O-CXgyrIw4.js} +38 -38
- package/dist/assets/{BillDetailPage-CYa0EITJ-NRlBvYDj.js → BillDetailPage-CBubcYMe-BO_dFsg-.js} +11 -11
- package/dist/assets/{BillPayApprovalRuleDetailPage-BbU_Q81T-CayglW0T.js → BillPayApprovalRuleDetailPage-BxiRr1tP-COYx8jcO.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-D8ehXeiO-CoYK_Hbh.js → BillPayApprovalRulesPage-CLBGuxUe-fnAlfa5X.js} +8 -8
- package/dist/assets/{BillPayPromoPage-DuaA85G4-DrZiYh6i.js → BillPayPromoPage-C3takK8D-DwgwIjWq.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-BH06l9Hv-CsPYNa-E.js → BillPaySetUpPage-CweOkcc2-D46-_5BW.js} +2 -2
- package/dist/assets/{BillingSettingsPage-BUas93LA-BR8C_K0k.js → BillingSettingsPage-BQSZ6DMP-DRARmVD3.js} +7 -7
- package/dist/assets/{BillsBulkReviewDrawerPage-D6cSAH1--LdAqAsYc.js → BillsBulkReviewDrawerPage-3trPH78u-CF22gH7n.js} +1 -1
- package/dist/assets/{BoxItem-D88gMTQn-CvgOAA6p.js → BoxItem-Bf7JemSM-D8tvXCvN.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-rX7_wUAW-CdA9wcr0.js → BusinessVerificationPage-DXODyk9C-B5e28vsE.js} +8 -8
- package/dist/assets/{CardNumberSubText-CxTVkF4V-ByBQFUxD.js → CardNumberSubText-ByVXSDZX-CD-Gw7wf.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DdDMDW2I-BbB6ZuGh.js → CashbackDetailPage-9RLOXq5b-DSEoSjiZ.js} +23 -23
- package/dist/assets/{ChargeCardDetailPage-JrO7h-ff-zaWG4HU8.js → ChargeCardDetailPage-lkNsxEdO-e-8D7tkI.js} +1 -1
- package/dist/assets/{ChargeCardListPage-CelWKqSg-CrIRFwmL.js → ChargeCardListPage-DV25pQMP-BgesY_b4.js} +1 -1
- package/dist/assets/{ChargeCardListTable-B4c4WFSq-CNsLahn_.js → ChargeCardListTable-CSWl05jK-CRlk7PbR.js} +25 -25
- package/dist/assets/ChargeCardPromoPage-Cv34m9BS-BmZiFW4y.js +219 -0
- package/dist/assets/{ChargeCardSetupPage-PQAwr78u-yUOp1Ohk.js → ChargeCardSetupPage-7mEdImT--BWhFbFIQ.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-DVPKN4xX-D64QZI3A.js → ChargeCardStatementsPage-D_rKdZ5c-DUDd82r_.js} +3 -3
- package/dist/assets/{ChargeCardUtils-BQZTS-KQ-DBy0mjHw.js → ChargeCardUtils-BB7l65Bf-DfL6sW6K.js} +1 -1
- package/dist/assets/{ChaseOverlay-DveM_aY_-BbJ6C4bo.js → ChaseOverlay-hsrWeA5X-B3bQwtbG.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-DoMhVKPu-BwpS3eWD.js → CheckDepositDrawerPage-CZNH4rCm-CxSsvi_m.js} +19 -19
- package/dist/assets/{CollapsableReportTable-CWIVhYku-DXcaXY-D.js → CollapsableReportTable-C73RBmaZ-A1Br721z.js} +46 -46
- package/dist/assets/{CompanyOfficerDetailsSection-Ci47swN_-BEAM0uZY.js → CompanyOfficerDetailsSection-CZWTSWyp-BOVUWJjT.js} +34 -34
- package/dist/assets/{CompanyPassportCard-Bw2TdWs0-Cs7Kcmfd.js → CompanyPassportCard-D-hYeDRN-Bo9rwkQb.js} +3 -3
- package/dist/assets/{CompanyPassportPage-CKIihOM0-vWxZLcVN.js → CompanyPassportPage-fQ60DR7u-DD7YvAPU.js} +12 -12
- package/dist/assets/CompleteProfile-DnBzaAdT-JcsdBGpZ.js +52 -0
- package/dist/assets/{ConfettiBurst-CU6fcwCz-BYqSCoKy.js → ConfettiBurst-D5XTvsuG-Dl2X4lye.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BoDt1Ez7-OFyQ7x3Q.js → CreateOrEditVendorPage-7KdDJirx--0K-JjCB.js} +10 -10
- package/dist/assets/{CreditCardPaymentDrawerPage-D7Hka4sI-DB0bqR3g.js → CreditCardPaymentDrawerPage-BNJLUnlH-D5HY42Lo.js} +15 -15
- package/dist/assets/{CreditCardPaymentPlgSection-C86KVs5o-DxcPgPGY.js → CreditCardPaymentPlgSection-BwqznNRc-DXBqgi-A.js} +10 -10
- package/dist/assets/{CurrencySelectField-B0VTg3Rt-CInZ1T1u.js → CurrencySelectField-PwurThUn-qsqObS4L.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-oegOz3kP-fyQwHy4A.js → CustomerOnboardingActivationPage-CHJLyOyf-vC6AUxAJ.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DyM4sCZd-DLhRqrqJ.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DhuLaWYK-CR4TZK8P.js → CustomerOnboardingDetailPageSkeleton-BqdhqyL7-D5d_8a27.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-BxwT2uzY-mID9HBLk.js → CustomerOnboardingNoStepsPage-DDio10hZ-Bwj4xg2w.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-L_1XcD2Y-DwMlTtgg.js → CustomerOnboardingPage-k2OYvIqe-DW9-8aDi.js} +9 -9
- package/dist/assets/CustomerOnboardingProductSuitePage-CxB32dUM-D8l5mASB.js +202 -0
- package/dist/assets/{Dashboard-CWSUiuiJ-BwnURVjm.js → Dashboard-DhMPjLVy-BPpidTU7.js} +1 -1
- package/dist/assets/{DashboardReportPage-D79gYgHb-D3eBnjUp.js → DashboardReportPage-C9YvD_24-CnK8XRxa.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BCJn6a_d-Q3INX5np.js → DepositAccTransactionItem-BYFOUvho-D1tjwPkv.js} +4 -4
- package/dist/assets/{DepositAccTransactionListPage-6QMW3q5S-BbpbP5bK.js → DepositAccTransactionListPage-DeN4-lBP-CBJVTEU-.js} +7 -7
- package/dist/assets/{DocumentSecurityBanner-C7TAyvIZ-CgGxDXJo.js → DocumentSecurityBanner-6cQ2cW7e-Bf5Osic5.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-DGOgMHF5-DNDEaE6z.js → DomesticWireDetailsPage-BmMEth4c-Duh2OS1c.js} +1 -1
- package/dist/assets/{DownloadOverlay-BrVMY7u8-CZxT2mlH.js → DownloadOverlay-D0_pmb7k-BhK-Q9wQ.js} +6 -6
- package/dist/assets/{DrawerPage-DbmFkDa9-CEnCnLyo.js → DrawerPage-C5u676VK-BwyTjOJX.js} +1 -1
- package/dist/assets/EditPeoplePage-DAM71X8m-kukHxW_0.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-BSXwufQy-CRfGk4Hg.js → EditReimbursementDetailPage-BxjNoyj8-mj8ySbuq.js} +43 -43
- package/dist/assets/{EntityDetailPage-ClKvTCns-upPiwznE.js → EntityDetailPage-BfscGvkI-DlE98_0K.js} +3 -3
- package/dist/assets/{EntitySummarySection-BcyWfLW_-CyXUg6bV.js → EntitySummarySection-BCkLY2Py-lpTrhfnW.js} +5 -5
- package/dist/assets/{ExpenseAutomationOverviewPage-CQ5_4jtz-CxXSPmDL.js → ExpenseAutomationOverviewPage-C4SCxViu-BAakN-WZ.js} +18 -18
- package/dist/assets/{ExpenseAutomationPage-SDYsJmGO-CrzP1isQ.js → ExpenseAutomationPage-DF1-Q4X5-DubLusUH.js} +33 -33
- package/dist/assets/{ExpressPayPage-S33czP_U-Dl8Ae1yK.js → ExpressPayPage-Cdtx03yB-BxTU3id1.js} +10 -10
- package/dist/assets/{FeaturePreviewPage-COWIqmTf-CJb6aP8l.js → FeaturePreviewPage-nQYT4moR-CobwvrFz.js} +2 -2
- package/dist/assets/{FollowStepsSection-Cw8htUBe-Dhcc-Q0U.js → FollowStepsSection-CRBm3eL9-Bz_q7qOo.js} +8 -8
- package/dist/assets/{GlobalReviewListPage-DKBYTVNe-ClZxyhQp.js → GlobalReviewListPage-3iXmpaXt-BpdqjyXr.js} +1 -1
- package/dist/assets/{HelpButton-BvPX8uxd-DvSCZper.js → HelpButton-Cv7-d_qL-CciztHgu.js} +1 -1
- package/dist/assets/{InformationCardStack-CtueyMCq-BB1ukcyr.js → InformationCardStack-JCre21xs-BlkeDU23.js} +3 -3
- package/dist/assets/{InsightsCardStack-BKtPGTdt-BK_FYIfT.js → InsightsCardStack-Dekfw94R-VqCo_XNV.js} +8 -8
- package/dist/assets/{InsightsSection-BFIeAUrz-CzYg0SUR.js → InsightsSection-CLqfyvOO-CKwkK2Sj.js} +4 -4
- package/dist/assets/{IntegrationsSettingsPage-BSyZC7Kg-CVRBosTo.js → IntegrationsSettingsPage-o9w1-WIT-BCMJ43n5.js} +5 -5
- package/dist/assets/{InternationalWireSwiftDetailsPage-C9Z04pG5-DCIDk_4s.js → InternationalWireSwiftDetailsPage-DBG1ni7g-DMTAsaCM.js} +18 -18
- package/dist/assets/{InternationalWireVerificationPage-iRa0YMo6-BdYH08Xa.js → InternationalWireVerificationPage-BLU4F--p-BFU2uuwn.js} +19 -19
- package/dist/assets/{InviteFormPage-CbSJssAT-DQwnbtIX.js → InviteFormPage-Bf8Mqb7S-BtjdSecG.js} +13 -13
- package/dist/assets/{InvitePageListView-BrUBTz5B-n_6M3jrt.js → InvitePageListView-6oeT1vaB-Bpmua81S.js} +52 -52
- package/dist/assets/InvitePeoplePage-CLvVDRca-CLtgUYZW.js +12 -0
- package/dist/assets/{InvoiceUploadSection-CRgtSthn-B8dcQCx6.js → InvoiceUploadSection-BiIfE0Mk-DzhUPeCE.js} +7 -7
- package/dist/assets/{IssueChargeCardPage-CdOs81el-CwTXGQs8.js → IssueChargeCardPage-Dd312Qu7-BymELIm-.js} +20 -20
- package/dist/assets/{LabeledAddressValue-CoQKG0Vs-BKJDA6Kq.js → LabeledAddressValue-BplX--OG-BBD4K47a.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-D5zB7wnP-mclQNbsS.js → LabeledAddressValueField-DkhJs5ky-DLdSr7t1.js} +4 -4
- package/dist/assets/{LabeledControlledCheckBoxField-DSefRIxV-CEAMRScr.js → LabeledControlledCheckBoxField-SJfjkDzA-q46TDnxw.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-DOv10RFp-Ddzg0Hw1.js → LabeledCreatableSingleSelectField-CPwrvNjy-C-LowpML.js} +3 -3
- package/dist/assets/LabeledDocumentField-DLd6UnEn-DtqGgdoi.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-D6qgntCW-Cpr7M7ez.js → LabeledDropDownFormattedTextField-D70GX0HR-7dIEmO5F.js} +7 -7
- package/dist/assets/{LabeledText-DiD_FvMm-tDx_aTO3.js → LabeledText-mTAE2dvH-e6RXkC8i.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-rBaXx4JB-BMV3Wuui.js → LabeledUserSingleSelectWithSubtitlesField-Dx8TfHuB-hRPyJuOY.js} +10 -10
- package/dist/assets/{LabeledZeniRolesDropDownField-DI9XLkn7-WOW1YFyj.js → LabeledZeniRolesDropDownField-ZGHinaTy-14IF6Cak.js} +12 -12
- package/dist/assets/{LinkJETransactionPage-BI9rvDWF-BfoSHOXD.js → LinkJETransactionPage-CNYQO-AQ-BO9clNns.js} +8 -8
- package/dist/assets/{LowBalancePopup-ChqqEeWk-YOv30All.js → LowBalancePopup-hdwaJezh-B0CYMe4t.js} +5 -5
- package/dist/assets/{MagicLinkACHDetailsPage-DYDNDN_--BILavTr7.js → MagicLinkACHDetailsPage--DRHcaKz-BBtLo6wh.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-DQuuLyWQ-DsHPkNvG.js → MagicLinkDomesticWireDetailsPage-B5hbI4dU-0vD7L8pJ.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-CnUTecpU-By8Ffymf.js → MagicLinkInternationalWireDetailsPage-BdwVZCRt-BzFpmTJD.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Dyhk5vnq-B3DTAsyt.js → MagicLinkSuccessPage-DOUrPdD--h771bDUh.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CAwqT4_X-C9Mqw-2w.js → MagicLinkTitleSection-Bb27jU2a-DQOPYd-Z.js} +3 -3
- package/dist/assets/{MailingDetailsSection-Cpu-qwub-D6prQnoT.js → MailingDetailsSection-CdKFQB_8-K5G0AaPG.js} +2 -2
- package/dist/assets/{MeetingCalenderPopup-B5M2lm-y-BqpfBGIP.js → MeetingCalenderPopup-B3sIZU3d-DuEMLObz.js} +3 -3
- package/dist/assets/{Menu-D0NUi1FB-eBJj8SGn.js → Menu-Bsk58l8k-kRDchKev.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-SYlGHINJ-UiXwY8o3.js → MyBankConnectionsSettingsPage-P1Zh6SFD-C4DvQ61H.js} +12 -12
- package/dist/assets/{MyPendingActivationChargeCardListPage-EBaDVcO8-CYhA_8a-.js → MyPendingActivationChargeCardListPage-Cs7rVAdh-B9AXkK-5.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-a1LKde_U-HVVaJf1x.js → MyProfileSettingsPage-Cc4XfbBQ-C9qNtbAb.js} +6 -6
- package/dist/assets/{NavBarWithPicker-D3YzfX06-CyTtpPgr.js → NavBarWithPicker-DFD5LZ4o-CjFvYGu-.js} +3 -3
- package/dist/assets/{NavigationArrow-C81m-KZF-BE7gRbvw.js → NavigationArrow-mL8dVddD-CApZjvsF.js} +5 -5
- package/dist/assets/{NavigationDots-CB3WQq54--hkQVYmE.js → NavigationDots-MPqPjbnr-gK408Eu4.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BwuCbGQ_-CYb1331s.js → NewGlobalMerchantPage-QTvziNPs-DJ7dMRKm.js} +6 -6
- package/dist/assets/{NoDataChart-B0CMrh6X-6-Ll8lTp.js → NoDataChart-C1BY1riw-DoqrJEIG.js} +1 -1
- package/dist/assets/{NoDataTable-BgcSvfNz-DeSAlaL1.js → NoDataTable-C_4AqyDp-cxOm3TqL.js} +1 -1
- package/dist/assets/{NotFoundPage-BnPqLAwW-XYFBCzzv.js → NotFoundPage-U8Zqpzgy-DGacTch6.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-wigFcdhu-3_tb1hZ1.js → NotificationSettingsPage-2A4Pahmq-ugOY8DfW.js} +13 -13
- package/dist/assets/NotificationsListConfig-BIw5ASx2-BpsD8zMo.js +1 -0
- package/dist/assets/{NotificationsPage-BC-f8rc3-BmvKV9Dr.js → NotificationsPage-B6yKJmGI-ABrq9lsr.js} +36 -36
- package/dist/assets/{OpExByVendorPage-CIh1CcAU-2-6lBI5a.js → OpExByVendorPage-BnTlBXeu-CtQ9Rudi.js} +4 -4
- package/dist/assets/{OverlayContainerPage-GWXnlbZH-D5cjOw_x.js → OverlayContainerPage-BxBOhoib-0U2mSFzb.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-Dj21XOWq-C_3dhorx.js → PandLWithForecastPage-CKW73tr8-DQuvWZ35.js} +5 -5
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-C0eGjv2q-B0yNQ-KC.js → PaymentAccountSetupBillingAddressSection-CSEVISAI-Bq0DuZcX.js} +6 -6
- package/dist/assets/{PeoplePage-DHWuODjG-WLZKGtK8.js → PeoplePage-BJxZJT-l-FSQqwOWI.js} +16 -16
- package/dist/assets/{PortfolioAllocationFormPage-CYoVD723-CmsNFwjg.js → PortfolioAllocationFormPage-C4pRhyet-Wf_11Z3Y.js} +4 -4
- package/dist/assets/PortfolioDetails-4fbkArz6-0_-lQYOm.js +218 -0
- package/dist/assets/{ProductsCarousel-DcSxZECS-vvHcsb5b.js → ProductsCarousel-gGbLzHle-BYrndM43.js} +1 -1
- package/dist/assets/{PromoBaseCards-B-s9wF0Q-C8mVt4FE.js → PromoBaseCards-DUlZEg5E-CbxyeszU.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-CQlXDalh-Cd-dM-Vf.js → QBOConnectionDialog-C_Z2lvUz-DLhuJ1u0.js} +6 -6
- package/dist/assets/{QBOSetupSection-Dpib3Rx5-BmRWn_q0.js → QBOSetupSection-DqWiwHwl-DIb9XM9r.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CutUv2m2-CtAowkTL.js → ReimbursementApprovalRuleDetailPage-JWdrVgqW-CFvIiw2A.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-Cyye_Ayg-CSBvniwa.js → ReimbursementApprovalRulesPage-BnBNwFzM-C_gjNu0y.js} +33 -33
- package/dist/assets/{ReimbursementDetailPage-C4Tsi1io--22971Hr.js → ReimbursementDetailPage-Dyjb0qZE-BT9Piz6e.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-4BFu3jYR-CNN3ELng.js → ReimbursementPromoPage-D1EqiXEa-DCne6gHN.js} +3 -3
- package/dist/assets/{ReimbursementSetUpPage-Cpl4wfuS-BiOekBOS.js → ReimbursementSetUpPage-ClJ_4WMp-Rk-zjJTF.js} +5 -5
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-iGaIl0hj-CvBqJ0u1.js → ReimbursementsBulkReviewDrawerPage-B-uGRv6i-04ZwLpFl.js} +1 -1
- package/dist/assets/{ReloadCard-F-DEmw51-DzX03Q43.js → ReloadCard-DVYCtjFP-BRGDk89Q.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-BSPNRs-f-BFYV1ke4.js → ReportTableViewSelector-BTu2hum1-C1Mbyqo-.js} +7 -7
- package/dist/assets/{ReportsPage-BQF-yVRz-CMgu4yKr.js → ReportsPage-BJEqtDDR-D_PksdU9.js} +5 -5
- package/dist/assets/{RevenueChart-ClRH1Vei-B616PA3_.js → RevenueChart-BFS-A4qa-BBXnyto4.js} +13 -13
- package/dist/assets/{ReviewDetailsPage-BKfSEXv--D8D4kpip.js → ReviewDetailsPage-C6qSCmDQ-B2yUNAOk.js} +13 -13
- package/dist/assets/{ReviewOverlay-Dgnr47GU-pEgAUN5K.js → ReviewOverlay-DItEmr7f-J3VxEX04.js} +1 -1
- package/dist/assets/{RoleWithToolTip-Bcjjd_2M-BuZYkj9z.js → RoleWithToolTip-CqtMdboJ-Do2co-59.js} +6 -6
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Bq6XAACj-k-Ku7so1.js → ScheduleDetailsFixedAssetsPage-CKcDbns8-CVYGhsoz.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-DTLTxgOx-B4v33cao.js → ScheduleDetailsPage-CYqYYvix-CdBl7QS5.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-CEZL4GA8-DvL_qsdJ.js → ScheduleSequenceTable-DUYFGZvc-B-XLebxH.js} +18 -18
- package/dist/assets/{ScreenRoutes-CYn_1TpK.js → ScreenRoutes-BFh5xZjd.js} +35 -35
- package/dist/assets/{SetUpAccountSection-CJsY-S6w-4pb5G4m5.js → SetUpAccountSection-DfuZHlL6-sva6HoSx.js} +21 -21
- package/dist/assets/{SetUpDefaultSection-Dbzui0hL-BJLegBoM.js → SetUpDefaultSection-Jl4dtzx3-CDDnDgUz.js} +10 -10
- package/dist/assets/{SignIn-yFG7aeiJ-BizuUVUX.js → SignIn-OTT_6lLp-4uioYcss.js} +4 -4
- package/dist/assets/{SignInScreen-CWiLeYcX.js → SignInScreen-VsVK9Vz1.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-cw0B29Ux-BJ4jqPaR.js → SpendManagementListViewPage-BkL-3WNh-DhY9QPd5.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-Bkw1eegW-CGsrTUP8.js → SpendManagementPerTabPage-Buppd61y-KX81e_1p.js} +14 -14
- package/dist/assets/{SpendManagementSection-DuYMRljT-Dixtdwyz.js → SpendManagementSection-BGcBRKGN-CG3uT_ZE.js} +10 -10
- package/dist/assets/{SpendMgmtSetupAccountSection-DF3XzW-2-BDMqtyZj.js → SpendMgmtSetupAccountSection-Cswh297O-5u1iK010.js} +13 -13
- package/dist/assets/{StatementItem-DGX-Yd6i-jxsXOZAz.js → StatementItem-C3tUNT5A-D9LIbCmi.js} +4 -4
- package/dist/assets/{StatementsPage-BJ3A9NXT-BaRqSmVl.js → StatementsPage-DGryRE6z-C-mT3zfT.js} +3 -3
- package/dist/assets/{StatusSwitcher-Duc8UFd8-Ce4sdBrM.js → StatusSwitcher-BgWlxay9-Mp4PEzEM.js} +2 -2
- package/dist/assets/{SubTabSwitcher-U04APwPI-9yUAcVH3.js → SubTabSwitcher-DwwAqq_R-DBNFWy_6.js} +1 -1
- package/dist/assets/{SummaryCard-BPy7YF4F-c43SgatI.js → SummaryCard-Dm0Tx9is-BV25EA5P.js} +1 -1
- package/dist/assets/{TaskManagementPage-CaPSMhTy-CYZmWZYW.js → TaskManagementPage-59XAl_cs-BbyBf_KE.js} +31 -31
- package/dist/assets/{TimeRangeSwitcher-DR2s6McL-BhCH7UZw.js → TimeRangeSwitcher-D7-Jph-G-Cn7zeCi8.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-CR_Pithb-W4fW817K.js → TimeframeSwitcher-CWYQWFLF-B37Mzr7G.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CxsK8B8h-D78_bhc2.js → TimeframeSwitcherWithToggle-QOhQ3sac-BtE_j2V5.js} +1 -1
- package/dist/assets/{TopExCard-CykkX8Ny-BetVqoyd.js → TopExCard-CTlizsDD-CdK-gYL3.js} +5 -5
- package/dist/assets/{TopExDetailPage-D9lST5M2-CRLQZQY2.js → TopExDetailPage-Df3JbgcF-BUIhSfiv.js} +2 -2
- package/dist/assets/{TransactionDetailPage-CdEYjFbk-BrTcGEzs.js → TransactionDetailPage-DvNpTjAp-3mOQ99vo.js} +30 -30
- package/dist/assets/{TransactionList-Dybq00u0-4j-n1HDM.js → TransactionList-SkSPfIsE-CE8kQBAe.js} +8 -8
- package/dist/assets/{TransactionListBig-C08_BfqV-CcZjjPp9.js → TransactionListBig-CZCV_kmJ-DVUvA7le.js} +9 -9
- package/dist/assets/{TransactionListPage-B1Yrd7M3-TkIywPTF.js → TransactionListPage-CBbyagWp-Da8WpQzF.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-C4c-gk4U-Ctx801m3.js → TransactionVendorDetailPage-BXnlFdHR-DkKO-vTr.js} +3 -3
- package/dist/assets/{TransferDrawerPage-R6BJFqqt-Dsqj_sD1.js → TransferDrawerPage-CxXLyKwW-pf6KUagR.js} +29 -29
- package/dist/assets/{TreasuryOverviewPage-BsLzvGJ9-lVdrfgXw.js → TreasuryOverviewPage-3JlXZfCV-Dx_gGX5K.js} +16 -16
- package/dist/assets/{TreasuryPromoPage-k4TR0X4_-BMLfX2B_.js → TreasuryPromoPage-BhAicq7r-CWtB-Ior.js} +15 -15
- package/dist/assets/{TreasurySetupPage-xA9wkaxu-D8dlF5tc.js → TreasurySetupPage-BQG_Wd5U-DotUWNKW.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-BeGMnFii-D90YDtq-.js → TreasuryStatementsPage-dCAtvvZk-CQC0pKh5.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-D6xf_HNB-BcBZp2VE.js → TreasuryTaxLetterPage-irA0Cgkj-CtL9UaTH.js} +5 -5
- package/dist/assets/{TreasuryTransferOrReviewPage-Cy90K2k1-DXAG9hBF.js → TreasuryTransferOrReviewPage-Dd1oLBma-BqeITAG-.js} +80 -80
- package/dist/assets/{TrendChart-CJ4ymPpY-CnOTERso.js → TrendChart-Ctquh3qH-BiYWLM8X.js} +2 -2
- package/dist/assets/{TrendWithTransactions-B1FMv4RR-ButsoYlX.js → TrendWithTransactions-CoXTnQK7-BLlEO5rp.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-MX9qLxmy-DvpCglzI.js → UncategorizedAccountsMappingPage-Cq49D6V9-TgKDL_ek.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-B1wIRNw1-B2Bku9c4.js → UnitIntegrationPage-CR0nZ7NM-R_gwAwZ8.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-DiX5Dbc--DFS7Fb6g.js → UploadAdditionalDocumentOverlay-B_DFEIlC-D-vyB1J1.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-Cljy86Us-BDGLrgud.js → Vendor2FAPopup-KsRgKz_Z-j8koIFf4.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-BZG4bwOp-x-d7QQex.js → VendorACHDetailsPage-MRaehbhm-DmI12dQp.js} +1 -1
- package/dist/assets/{VendorDetailPage-B8m4FkG5-BsHgdA0a.js → VendorDetailPage-Cji21PBc-B3adWyVF.js} +18 -18
- package/dist/assets/{VendorDomesticWireDetailsPage-D7Mt3s3R-D7PJgnoL.js → VendorDomesticWireDetailsPage-DhUIW9g--qdYZ8d9x.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-B1FNkNlL-BQsY4uhV.js → VendorFiling1099EditablePage-BWFbXLhQ-C5qvIENm.js} +11 -11
- package/dist/assets/{VendorFirstReviewPage-CDmMppJJ-C4qSrEY0.js → VendorFirstReviewPage-tvh5pcvQ-B2Kk7Crs.js} +26 -26
- package/dist/assets/{VendorInternationalWireDetailsPage-X-j8j32p-C0ui11YL.js → VendorInternationalWireDetailsPage-CfmZSb8O-B-ILWyNn.js} +11 -11
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-eJXY7B89-DkP4UVKp.js → VendorInternationalWireSwiftDetailsPage-V_1s9mWi-hnkkHj00.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-DH0v9LaU-CeIxTCfK.js → VendorsAccountsSection-b9s5nqGq-DfS13Vrv.js} +6 -6
- package/dist/assets/VerifyDevice-CJgD3UmO-uodXssPo.js +67 -0
- package/dist/assets/{WarningsDrawerPage-0XqR-WSe-BrE4Zt4W.js → WarningsDrawerPage-CB4mJGTB-fzxOGtfc.js} +9 -9
- package/dist/assets/{ZeniAccountDetailPage-poRKOvKO-BX84cchs.js → ZeniAccountDetailPage-CgSyyen1-PEjv41n1.js} +33 -33
- package/dist/assets/{ZeniAccountListViewPage-DAwsHVFu-CS-oHX1_.js → ZeniAccountListViewPage-DjGZpdh_-BsFv0aAo.js} +14 -14
- package/dist/assets/{ZeniAccountNavBarPieces-CK1z6uDE-Dyrponlq.js → ZeniAccountNavBarPieces-BJC4d2Iu-BjaYs6wQ.js} +2 -2
- package/dist/assets/{ZeniAccountPromoPage-D_AeQXK0-B5P53C5n.js → ZeniAccountPromoPage-D3Yt6FIj-ypiLoIIl.js} +9 -9
- package/dist/assets/{ZeniAccountSetupPage-B5KmPY23-URq2oHXi.js → ZeniAccountSetupPage-BeCPekI4-BoIQB_8y.js} +3 -3
- package/dist/assets/{ZeniCopyright-DawBwguL-BZ0WdQv6.js → ZeniCopyright-Dhdl9kqY-CRu5oNtE.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BBQgQPfw-RYegy3L8.js → ZeniTransferAmountSlider-B8VFb2l--enqH4TrQ.js} +1 -1
- package/dist/assets/{analyticsHelper-mARzqEfV-C5aVJz0u.js → analyticsHelper-Cawv3PXO-DqLgneHd.js} +1 -1
- package/dist/assets/{analyticsHelper-BfTZRzfk.js → analyticsHelper-DBiIeSgZ.js} +1 -1
- package/dist/assets/{chartTypes-CedtWDkU-COpY8MAm.js → chartTypes-5p7NWUHx-6R9pye-p.js} +1 -1
- package/dist/assets/{commonDimensions-ZxGdYNGR-D27QqcVU.js → commonDimensions-CQlLUBWG-C3nTCVjo.js} +1 -1
- package/dist/assets/{detailCommon-C0urnGcj-Ce5g1gd4.js → detailCommon-CoAmJ6pY-B0Qu3snC.js} +4 -4
- package/dist/assets/{downloadPdf-C1cvLEsi-BS1hDKSo.js → downloadPdf-CCJjnfCZ-ODxWAPRh.js} +1 -1
- package/dist/assets/{index-01q-_X-h.js → index-C2JVdK9x.js} +2597 -2579
- package/dist/assets/{mapLoadingInProgressToTreeNode-D9ofcMAJ-m3pHzVPB.js → mapLoadingInProgressToTreeNode-CwyU1xs5-DTtIWEnS.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CAhuUnXV-DUukpMSj.js → mapSectionWithAcOnlyToTreeNode-IKJYFM7_-BiH-dZ1q.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-BPXOBdsi-rUfAfIVm.js → mapSpacerToTreeNode-D5XTLzM7-CZeCl2Hx.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BYB1q7M0-02eErcZV.js → mapTimeframeBalancesToTreeNode-CJMbtmIl-DGh10zzw.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BU0Ph9My-C3GRSa39.js → mapTimeframeBalancesToTreeNode-SX6fBp6e-DSWmrMTg.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Bkav2l0W-DsswSNMQ.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Ts5lOZtX-DZNSlCJx.js} +1 -1
- package/dist/assets/{play-icon-BaaR5WkW-B4bxmn-t.js → play-icon-oQKnPjZi-D1s2fk0_.js} +3 -3
- package/dist/assets/{toCOABalancesWithID-CCW7YVfm-QfShzSiJ.js → toCOABalancesWithID-DwvFse7w-YhdHXdmt.js} +1 -1
- package/dist/assets/{toChartData-C3kVg0fD-DQ8hvbj5.js → toChartData-BBvMC_VQ-D9RVT7PQ.js} +1 -1
- package/dist/assets/{treasuryColorHelper-Cc1DTnhB-CZr6bVfK.js → treasuryColorHelper-CUDK9KvQ-DUBVC7I-.js} +1 -1
- package/dist/assets/{uploadAttachment-C56u0Q20-CrwsGpKD.js → uploadAttachment-P4S_2L_v-CgBJ3cvv.js} +13 -13
- package/dist/assets/{uploadReceipts-D80JLNY4-nPySvx-m.js → uploadReceipts-DhDnr0ap-Dmr6ZzO6.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ChargeCardPromoPage-BiyYawq5-CRztmfKQ.js +0 -219
- package/dist/assets/CompleteProfile-CikcmDmg-KRgUgaT_.js +0 -36
- package/dist/assets/CustomerOnboardingContainerPage-56mBQg5m--nUzqLMK.js +0 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-Xqdww5iU-Bk6RlhZX.js +0 -202
- package/dist/assets/EditPeoplePage-CKiV3DO3-BDQV1tgO.js +0 -55
- package/dist/assets/InvitePeoplePage-BbDUlUjQ-CCkQC10i.js +0 -12
- package/dist/assets/LabeledDocumentField-CO6_e65U-mbyVv6ef.js +0 -41
- package/dist/assets/NotificationsListConfig-D2ndsr4D-z8G0bB5w.js +0 -1
- package/dist/assets/PortfolioDetails-5xc1wonC-DJWlR1um.js +0 -218
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as
|
|
1
|
+
import{X as q,u as J,j as o,Y as w,M as Z,du as u,o as i,C as a,e_ as D,e$ as j,g as C,f0 as ee,Q as ie,bc as oe,p as l,m as te,a5 as B,b4 as se,v as E,ae as re,f as ne,b0 as le,f4 as ae}from"./index-C2JVdK9x.js";import{b as de,n as t}from"./vendor-CnQcJ2Lu.js";const n={sectionWidth:new a(343,580,726),descriptionMarginBottom:new a(12,l[3]),iconContainerMaxWidthHeight:new a(l[6],l[7]),iconContainerMarginRight:new a(12,l[3]),iconPadding:new a(10,12),rowGap:new a(l[2],l[3]),containerPadding:new a(l[3],l[4]),navIconLeftMargin:new a(12,l[4]),tagIconContainerDivMarginTop:new a(l[2],l[0])},I={title:new ie("standardSemiBold","largeSemiBold")},{commonSetUp:{setUp:S}}=Z.getLocalizedStrings(),ce=t(le)`
|
|
2
2
|
margin-left: 6px;
|
|
3
3
|
width: 12px;
|
|
4
4
|
height: 12px;
|
|
@@ -39,7 +39,7 @@ import{X as V,u as q,j as o,Y as w,M as J,dr as u,o as i,C as a,eY as D,eZ as j,
|
|
|
39
39
|
border-bottom-right-radius: ${i.sp0};
|
|
40
40
|
border-bottom-left-radius: ${i.sp0};
|
|
41
41
|
`}
|
|
42
|
-
`,we=({windowSize:e,title:P,isError:p,isCardPaymentMethod:$=!1,showAddPaymentMethodDropDown:f=!1,addPaymentMethodDropdownOpen:r,isDisabled:m,updateCardPaymentModalState:x,setAddPaymentMethodDropdownOpen:d,openPlaidDialog:y,productType:h,setEventSourceType:v,referrer:M,analytics:b})=>{const z=()=>{r===!0&&d!=null&&d(!1)};return o.jsxs(pe,{children:[o.jsx(ve,{windowSize:e,isDisabled:m,isError:p,children:P}),f?o.jsxs(he,{"data-testid":w("add-payment-method-wrapper",h),children:[o.jsx(ce,{"data-testid":w("add-payment-method",h),onClick:g=>{g.stopPropagation(),d?.(!(r??!1))}}),r===!0?o.jsx(te,{onClickAway:z,children:o.jsxs(ge,{children:[o.jsx(me,{}),o.jsx(ue,{onClick:g=>{g.stopPropagation(),$&&x!=null?(x(!0),v!=null&&b!=null&&h!=null&&(v("link_new_credit_card"),b.trackCreditCardConnect(h,"link_new_credit_card",M))):y?.(g,"link_new_bank_account"),d?.(!1)},"data-testid":w("add-card",h),children:$?S.addNewCard:S.linkNewAccount})]})}):null]}):null]})};function Qe({style:e,header:P,footNote:p,title:$,subTitle:f,status:r,statusInfoIcon:m,icon:x,isActive:d=!0,isDisabled:y=!1,isClickable:h=!0,isCompleted:v=!1,showCompletedIcon:M=!1,isError:b,hasError:z=!1,subTitleIcon:g,isLoading:c,isTagLoading:A,isActiveWhileLoading:
|
|
42
|
+
`,we=({windowSize:e,title:P,isError:p,isCardPaymentMethod:$=!1,showAddPaymentMethodDropDown:f=!1,addPaymentMethodDropdownOpen:r,isDisabled:m,updateCardPaymentModalState:x,setAddPaymentMethodDropdownOpen:d,openPlaidDialog:y,productType:h,setEventSourceType:v,referrer:M,analytics:b})=>{const z=()=>{r===!0&&d!=null&&d(!1)};return o.jsxs(pe,{children:[o.jsx(ve,{windowSize:e,isDisabled:m,isError:p,children:P}),f?o.jsxs(he,{"data-testid":w("add-payment-method-wrapper",h),children:[o.jsx(ce,{"data-testid":w("add-payment-method",h),onClick:g=>{g.stopPropagation(),d?.(!(r??!1))}}),r===!0?o.jsx(te,{onClickAway:z,children:o.jsxs(ge,{children:[o.jsx(me,{}),o.jsx(ue,{onClick:g=>{g.stopPropagation(),$&&x!=null?(x(!0),v!=null&&b!=null&&h!=null&&(v("link_new_credit_card"),b.trackCreditCardConnect(h,"link_new_credit_card",M))):y?.(g,"link_new_bank_account"),d?.(!1)},"data-testid":w("add-card",h),children:$?S.addNewCard:S.linkNewAccount})]})}):null]}):null]})};function Qe({style:e,header:P,footNote:p,title:$,subTitle:f,status:r,statusInfoIcon:m,icon:x,isActive:d=!0,isDisabled:y=!1,isClickable:h=!0,isCompleted:v=!1,showCompletedIcon:M=!1,isError:b,hasError:z=!1,subTitleIcon:g,isLoading:c,isTagLoading:A,isActiveWhileLoading:W=!1,shouldHover:_=!0,showRightArrow:N=!0,onClick:H,showAddPaymentMethodDropDown:G=!1,updateCardPaymentModalState:R,openPlaidDialog:K,isCardPaymentMethod:O,analytics:F,productType:k,referrer:Q,setEventSourceType:U,additionalInfo:L}){const s=q(),X=J(),[V,Y]=de.useState(!1);return o.jsxs($e,{windowSize:s,style:e,isActive:d&&!y,isLoading:c??!1,isActiveWhileLoading:W,"data-testid":w("setup-default-section",k),children:[o.jsxs(Ae,{children:[M===!0?o.jsx(Ie,{children:v?o.jsx(We,{}):o.jsx(_e,{})}):null,o.jsxs(Le,{windowSize:s,children:[P,d===!1?o.jsx(Be,{children:S.comingSoon}):null]})]}),o.jsxs(ze,{windowSize:s,width:e?.width,shouldHover:_,isClickable:h,children:[o.jsxs(xe,{isFootNoteAvailable:p!=null,children:[o.jsxs(ke,{windowSize:s,width:e?.width,isfootNoteAvailable:p!=null,onClick:d&&!y?H:void 0,"data-testid":w("setup-approval-section-elements",k),children:[o.jsxs(fe,{children:[o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp7,height:i.sp7,borderRadius:"50%",marginRight:i.sp3},children:o.jsx(Me,{iconColor:x.color,windowSize:s,isDarkMode:X.mode==="dark",children:x.element})}),o.jsxs(De,{children:[o.jsxs(Te,{children:[o.jsx(u,{isLoading:c??!1,customStyle:{width:"200px",height:i.sp4,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`,marginTop:i.sp2},children:o.jsx(we,{windowSize:s,title:$,isError:b,showAddPaymentMethodDropDown:G,setAddPaymentMethodDropdownOpen:Y,addPaymentMethodDropdownOpen:V,updateCardPaymentModalState:R,isCardPaymentMethod:O??!1,openPlaidDialog:K,analytics:F,productType:k,referrer:Q,setEventSourceType:U})}),f.length>0?o.jsx(be,{children:o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp12,height:`${i.sp4}`,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`},children:o.jsxs(je,{children:[f,g!=null?o.jsx(Se,{children:g.element}):null]})})}):null]}),r!=null&&s==="small"?o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp12,height:i.sp4,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`},children:o.jsxs(T,{windowSize:s,children:[m??m,o.jsx(D,{style:{width:"max-content",padding:0},tagTitle:r.name,textColor:j(r.code),showLoader:A})]})}):null,c===!1&&L!=null?o.jsxs(He,{children:[o.jsx(Ge,{statusColor:r!=null?j(r.code).color:void 0}),o.jsx(Re,{statusColor:r!=null?j(r.code).color:void 0,children:L})]}):null]})]}),o.jsxs(ye,{children:[r!=null&&s!=="small"?o.jsxs(T,{windowSize:s,children:[o.jsx(Ne,{children:m??m}),o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp12,height:`${i.sp4}`,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`},children:o.jsx(D,{style:{width:"max-content",padding:0},tagTitle:r.name,textColor:j(r.code),showLoader:A})})]}):null,N===!0?o.jsx(Ce,{windowSize:s,children:o.jsx(Pe,{width:i.sp4,height:i.sp4})}):null]})]}),z?o.jsx(Ke,{children:S.bankAccountLinkingError}):null]}),o.jsx(u,{isLoading:c??!1,customStyle:{marginTop:n.rowGap.valuePx(s),width:"48%",height:i.sp3,marginBottom:i.sp2,marginLeft:i.sp3},children:typeof p=="string"?o.jsx(Ee,{children:p}):p})]})]})}const $e=t.div`
|
|
43
43
|
display: flex;
|
|
44
44
|
flex-direction: column;
|
|
45
45
|
pointer-events: ${e=>(e.isLoading===!0||e.isActive===!1)&&e.isActiveWhileLoading===!1?"none":"initial"};
|
|
@@ -58,7 +58,7 @@ import{X as V,u as q,j as o,Y as w,M as J,dr as u,o as i,C as a,eY as D,eZ as j,
|
|
|
58
58
|
margin-top: ${e=>n.tagIconContainerDivMarginTop.valuePx(e.windowSize)};
|
|
59
59
|
gap: ${i.sp2};
|
|
60
60
|
`,ve=t.div`
|
|
61
|
-
${e=>`${
|
|
61
|
+
${e=>`${I.title.style(e.windowSize)}`};
|
|
62
62
|
color: ${e=>e.isError===!0?C.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
|
|
63
63
|
`,be=t.div`
|
|
64
64
|
display: flex;
|
|
@@ -124,7 +124,7 @@ import{X as V,u as q,j as o,Y as w,M as J,dr as u,o as i,C as a,eY as D,eZ as j,
|
|
|
124
124
|
display: flex;
|
|
125
125
|
align-items: center;
|
|
126
126
|
color: ${e=>e.theme.colors.primary};
|
|
127
|
-
${e=>`${
|
|
127
|
+
${e=>`${I.title.style(e.windowSize)}`};
|
|
128
128
|
`,De=t.div`
|
|
129
129
|
display: flex;
|
|
130
130
|
flex-direction: column;
|
|
@@ -139,13 +139,13 @@ import{X as V,u as q,j as o,Y as w,M as J,dr as u,o as i,C as a,eY as D,eZ as j,
|
|
|
139
139
|
box-sizing: border-box;
|
|
140
140
|
text-align: center;
|
|
141
141
|
color: ${e=>e.theme.colors.grey1};
|
|
142
|
-
`,
|
|
142
|
+
`,Ie=t.div`
|
|
143
143
|
margin-right: ${i.sp2};
|
|
144
|
-
`,
|
|
144
|
+
`,We=t(ee)`
|
|
145
145
|
width: ${i.sp3};
|
|
146
146
|
height: ${i.sp3};
|
|
147
147
|
color: ${C.success};
|
|
148
|
-
`,
|
|
148
|
+
`,_e=t.div`
|
|
149
149
|
height: 14px;
|
|
150
150
|
width: 14px;
|
|
151
151
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
@@ -163,12 +163,12 @@ import{X as V,u as q,j as o,Y as w,M as J,dr as u,o as i,C as a,eY as D,eZ as j,
|
|
|
163
163
|
width: ${i.sp3};
|
|
164
164
|
height: ${i.sp3};
|
|
165
165
|
color: ${e=>e.statusColor!=null?e.statusColor.toString():e.theme.colors.grey1};
|
|
166
|
-
`,
|
|
166
|
+
`,Re=t(E)`
|
|
167
167
|
color: ${e=>e.statusColor!=null?e.statusColor.toString():e.theme.colors.grey1};
|
|
168
|
-
`,
|
|
168
|
+
`,Ke=t(E)`
|
|
169
169
|
display: flex;
|
|
170
170
|
color: ${C.important};
|
|
171
171
|
margin-left: 88px;
|
|
172
172
|
margin-bottom: ${i.sp3};
|
|
173
173
|
border-radius: ${i.sp1};
|
|
174
|
-
`;export{we as $,Qe as K,Ee as
|
|
174
|
+
`;export{we as $,Qe as K,Ee as L};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as G,
|
|
1
|
+
import{X as G,U as He,a as De,M as C,j as o,T as z,G as Re,F as Ue,E as Ae,o as i,i as re,C as $,$ as We,Q as te,h as xe,g as c,k as Je,O as Ne,v as fe,b as $e,c as Ge,l as se,d as qe,e as Xe,K as Ce,n as Qe,f as ke,m as Ke,p as L,q as H,Z as Ye,r as eo,s as oo,x as io,t as no}from"./index-C2JVdK9x.js";import{b as t,n,f as ro,k as Se,j as to}from"./vendor-CnQcJ2Lu.js";import{i as so}from"./ZeniCopyright-Dhdl9kqY-CRu5oNtE.js";import{f as lo}from"./ProductsCarousel-gGbLzHle-BYrndM43.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ao=e=>t.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M5.49686 0.437846C3.50884 1.1044 1.81485 2.56223 0.871312 4.40709C0.542169 5.04355 0.305187 5.71871 0.160364 6.41967C-0.199498 8.15702 0.0506501 10.0105 0.866923 11.593C1.39794 12.6251 2.16155 13.5454 3.08315 14.2636C3.95647 14.943 4.97023 15.4505 6.04982 15.73C7.41028 16.0869 8.8585 16.0783 10.2277 15.773C11.4653 15.4935 12.6371 14.9129 13.5718 14.07C14.5592 13.1799 15.2658 12.0102 15.6388 10.7502C16.047 9.37833 16.0996 7.9119 15.8451 6.50138C13.2866 6.50138 10.7236 6.50138 8.16511 6.50138C8.16511 7.54207 8.16511 8.58276 8.16511 9.62345C9.64844 9.62345 11.1318 9.62345 12.6151 9.62345C12.444 10.6211 11.8383 11.5328 10.9826 12.0962C10.4428 12.4531 9.82399 12.681 9.18326 12.7928C8.54253 12.9003 7.87546 12.9132 7.23473 12.7885C6.58084 12.6595 5.96205 12.3929 5.41787 12.0188C4.54893 11.421 3.88626 10.548 3.54834 9.56325C3.20164 8.56126 3.19725 7.44746 3.54834 6.44977C3.7941 5.74451 4.19784 5.09515 4.73325 4.56191C5.39153 3.89965 6.24731 3.42661 7.17329 3.23309C7.96323 3.06968 8.79706 3.09978 9.56945 3.3277C10.2277 3.52122 10.8334 3.87815 11.3293 4.34259C11.8296 3.85235 12.3299 3.3621 12.8302 2.87186C13.0935 2.60954 13.3699 2.35581 13.6245 2.08489C12.8653 1.39683 11.97 0.842081 10.9957 0.48945C9.24031 -0.147006 7.26545 -0.159907 5.49686 0.437846Z",fill:"white"}),t.createElement("path",{d:"M5.49686 0.43784C7.26106 -0.159913 9.2403 -0.147012 10.9957 0.485144C11.97 0.837775 12.8609 1.38822 13.6245 2.08058C13.3699 2.35151 13.0935 2.60523 12.8302 2.86755C12.3299 3.3578 11.8296 3.84804 11.3293 4.33828C10.8334 3.87384 10.2277 3.52121 9.56945 3.32339C8.79706 3.09547 7.96323 3.06107 7.17329 3.22879C6.25169 3.4223 5.39592 3.89534 4.73325 4.5576C4.19784 5.08655 3.79409 5.74021 3.54833 6.44547C2.65745 5.76601 1.76657 5.09085 0.871307 4.41139C1.81485 2.56223 3.50884 1.1044 5.49686 0.43784Z",fill:"#EA4335"}),t.createElement("path",{d:"M0.164771 6.41539C0.309594 5.71873 0.546576 5.03927 0.875719 4.40282C1.7666 5.08228 2.65748 5.75744 3.55274 6.4369C3.20166 7.43888 3.20166 8.55268 3.55274 9.55037C2.66186 10.2298 1.77099 10.9093 0.880107 11.5844C0.0550569 10.0062 -0.195091 8.15275 0.164771 6.41539Z",fill:"#FBBC05"}),t.createElement("path",{d:"M8.16515 6.49707C10.7237 6.49707 13.2866 6.49707 15.8451 6.49707C16.0997 7.90329 16.0426 9.36972 15.6389 10.7458C15.2659 12.0059 14.5593 13.1756 13.5719 14.0657C12.7073 13.4078 11.8428 12.7498 10.9782 12.0919C11.834 11.5285 12.4396 10.6168 12.6108 9.61914C11.1274 9.61914 9.6441 9.61914 8.16077 9.61914C8.16516 8.57845 8.16515 7.53776 8.16515 6.49707Z",fill:"#4285F4"}),t.createElement("path",{d:"M0.871338 11.5887C1.76222 10.9135 2.6531 10.2341 3.54397 9.55461C3.88628 10.5394 4.54457 11.4124 5.4135 12.0101C5.95769 12.3843 6.58086 12.6509 7.23037 12.7799C7.8711 12.9089 8.53377 12.8917 9.17889 12.7842C9.81962 12.6724 10.4384 12.4445 10.9782 12.0875C11.8428 12.7455 12.7073 13.4034 13.5718 14.0614C12.6371 14.9086 11.4653 15.4848 10.2278 15.7644C8.85853 16.0697 7.4103 16.0783 6.04985 15.7214C4.97026 15.4418 3.9565 14.9387 3.08317 14.2549C2.16596 13.5411 1.40235 12.6208 0.871338 11.5887Z",fill:"#34A853"})),co=e=>t.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M0 0H7.58546V7.58546H0V0Z",fill:"#F25022"}),t.createElement("path",{d:"M8.37742 0H15.9629V7.58546H8.37742V0Z",fill:"#7FBA00"}),t.createElement("path",{d:"M0 8.37741H7.58546V15.9629H0V8.37741Z",fill:"#00A4EF"}),t.createElement("path",{d:"M8.41454 8.41454H16V16H8.41454V8.41454Z",fill:"#FFB900"})),go=n.div`
|
|
2
2
|
margin-left: ${i.sp3};
|
|
3
3
|
color: ${e=>e.theme.colors.primary};
|
|
4
4
|
font-family: ${no.Roboto};
|
|
@@ -296,7 +296,7 @@ import{X as G,V as He,a as De,M as C,j as o,T as z,G as Re,F as Ae,E as Ue,o as
|
|
|
296
296
|
margin-top: ${e=>j.headingContainerTopMargin.valuePx(e.windowSize)};
|
|
297
297
|
row-gap: ${e=>e.isMagicLinkSent?e.windowSize==="small"?"150px":i.sp4:i.sp2};
|
|
298
298
|
flex-direction: column;
|
|
299
|
-
`,
|
|
299
|
+
`,Uo=n.div`
|
|
300
300
|
display: flex;
|
|
301
301
|
flex-direction: column;
|
|
302
302
|
display: flex;
|
|
@@ -308,7 +308,7 @@ import{X as G,V as He,a as De,M as C,j as o,T as z,G as Re,F as Ae,E as Ue,o as
|
|
|
308
308
|
.zeni-logo {
|
|
309
309
|
align-self: ${e=>e.windowSize==="small"?"center":"self-start"};
|
|
310
310
|
}
|
|
311
|
-
`,
|
|
311
|
+
`,Ao=n(We)`
|
|
312
312
|
color: ${e=>e.theme.colors.primary};
|
|
313
313
|
height: ${i.sp4};
|
|
314
314
|
`,Wo=n.div`
|
|
@@ -322,4 +322,4 @@ import{X as G,V as He,a as De,M as C,j as o,T as z,G as Re,F as Ae,E as Ue,o as
|
|
|
322
322
|
overflow: visible;
|
|
323
323
|
`,No=n(Ce)`
|
|
324
324
|
padding: ${i.sp2} ${i.sp3};
|
|
325
|
-
`;function ti({googleClientId:e,microsoftClientId:g,fetchState:a,signInError:h={},showEmailLogin:u=!0,sendMagicLinkStatus:d,magicLinkExpired:x,magicLinkExpiredEmail:w,getSignedInUser:T,onSignedInCallback:f,clearSignInError:k,onOAuthSuccess:y,onOAuthError:v,sendMagicLink:E}){const s=G(),{dark:I}=He(),_=a==="In-Progress",M=a==="Error",[V,m]=t.useState(void 0),[p,Z]=t.useState(""),[P,F]=t.useState(!1),[O,R]=t.useState(!1),ye=a==="In-Progress"&&p==="google",ve=a==="In-Progress"&&p==="microsoft",X=De({mode:"onSubmit",defaultValues:{email:""}}),{register:Ie,handleSubmit:ze,formState:{errors:Q},setValue:K,watch:Le,clearErrors:Ee}=X,Y=Le("email"),Me=!!Q.email||O,ee=!!Q.email;t.useEffect(()=>{x===!0&&w!=null&&w.trim()!==""&&(K("email",w),R(!0))},[x,w,K]);const Pe=r=>{R(!1),r.email.trim()&&E(r.email)},Te=()=>{R(!1),Ee("email")},
|
|
325
|
+
`;function ti({googleClientId:e,microsoftClientId:g,fetchState:a,signInError:h={},showEmailLogin:u=!0,sendMagicLinkStatus:d,magicLinkExpired:x,magicLinkExpiredEmail:w,getSignedInUser:T,onSignedInCallback:f,clearSignInError:k,onOAuthSuccess:y,onOAuthError:v,sendMagicLink:E}){const s=G(),{dark:I}=He(),_=a==="In-Progress",M=a==="Error",[V,m]=t.useState(void 0),[p,Z]=t.useState(""),[P,F]=t.useState(!1),[O,R]=t.useState(!1),ye=a==="In-Progress"&&p==="google",ve=a==="In-Progress"&&p==="microsoft",X=De({mode:"onSubmit",defaultValues:{email:""}}),{register:Ie,handleSubmit:ze,formState:{errors:Q},setValue:K,watch:Le,clearErrors:Ee}=X,Y=Le("email"),Me=!!Q.email||O,ee=!!Q.email;t.useEffect(()=>{x===!0&&w!=null&&w.trim()!==""&&(K("email",w),R(!0))},[x,w,K]);const Pe=r=>{R(!1),r.email.trim()&&E(r.email)},Te=()=>{R(!1),Ee("email")},U=d.fetchState==="Error"&&d.error?.error?.type==="email_not_found",oe=M&&h.type==="email_not_found";t.useEffect(()=>{(oe||U)&&F(!0)},[U,oe]);const _e=r=>{console.log(JSON.stringify(r)),m(void 0),y(r.code,"google"),Z("google")},Ve=r=>{const b="Error = "+r?.error+" Error Description = "+r?.error_description;m(b),v?.(JSON.stringify(r),"google")},Ze=r=>{console.log(JSON.stringify(r)),m(void 0),y(r.code,"microsoft"),Z("microsoft")},Fe=r=>{console.log(JSON.stringify(r)),m(r.error??"Microsoft authorization failed."),v?.(JSON.stringify(r),"microsoft")},Oe=()=>{let r="";return(M||V!=null)&&P===!1&&(r=V??l.signIn.signInAuthError),r},ie=d.fetchState==="Completed"?l.signIn.confirmationLinkSent:l.signIn.heading,ne=l.signIn.message,S=d.fetchState==="Completed",Be=U&&d.error?.error?d.error.error:h;return o.jsxs(Mo,{windowSize:s,children:[o.jsxs(Po,{children:[o.jsxs(Wo,{children:[o.jsx(Uo,{windowSize:s,children:o.jsx(Ao,{className:"zeni-logo"})}),o.jsxs(we,{isMagicLinkSent:S,windowSize:s,style:{display:s==="small"?"flex":"none"},children:[o.jsx(le,{windowSize:s,children:ie}),o.jsx(z,{controller:!S,children:o.jsx(ae,{windowSize:s,children:ne})}),o.jsx(z,{controller:S,children:o.jsxs(ge,{children:[o.jsx(pe,{isDarkTheme:I,children:o.jsx(he,{isDarkTheme:I,children:C.getLocalizedStrings().signIn.magicLinkSent.primaryMessage.split("__email__").map((r,b,A)=>o.jsxs("span",{children:[r,b<A.length-1&&o.jsx(me,{children:Y})]},b))})}),o.jsx(ue,{children:l.signIn.magicLinkSent.secondaryMessage})]})})]}),o.jsxs(we,{isMagicLinkSent:S,windowSize:s,style:{display:s==="small"?"none":"flex"},children:[o.jsx(le,{windowSize:s,children:ie}),o.jsx(z,{controller:!S,children:o.jsx(ae,{windowSize:s,children:ne})}),o.jsx(z,{controller:S,children:o.jsxs(ge,{children:[o.jsxs(pe,{isDarkTheme:I,children:[o.jsx(Bo,{children:o.jsx(Oo,{})}),o.jsx(he,{isDarkTheme:I,children:C.getLocalizedStrings().signIn.magicLinkSent.primaryMessage.split("__email__").map((r,b,A)=>o.jsxs("span",{children:[r,b<A.length-1&&o.jsx(me,{children:Y})]},b))})]}),o.jsx(ue,{children:l.signIn.magicLinkSent.secondaryMessage})]})})]}),o.jsx(z,{controller:!S,children:o.jsxs(Ho,{windowSize:s,children:[o.jsxs(Do,{windowSize:s,children:[o.jsx(Re,{clientId:e,children:o.jsx(wo,{disabled:_,inProgress:ye,getSignedInUser:T,onSuccess:_e,onSignedInCallback:f,onError:Ve})}),o.jsx(xo,{clientId:g,scopes:["openid","profile","email","offline_access","User.Read"],getSignedInUser:T,prompt:"select_account",responseType:"code",responseMode:"query",render:r=>o.jsx(be,{onClick:r.onClick,disabled:_||r.disabled,type:"Microsoft",titleText:l.signIn.signInMicrosoftButton,loadingIndication:ve}),onSignedInCallback:f,onSuccess:Ze,onFailure:Fe}),u&&o.jsx(Ue,{...X,children:o.jsxs(_o,{windowSize:s,children:[o.jsx("form",{onSubmit:ze(Pe),children:o.jsxs(Vo,{windowSize:s,hasError:ee,children:[o.jsx(Zo,{windowSize:s,type:"text",placeholder:l.signIn.workEmailExample,variant:"outlined",fullWidth:!0,isValid:!ee,autoComplete:"off",...Ie("email",{required:l.signIn.invalidEmailMessage,pattern:{value:Ae,message:l.signIn.invalidEmailMessage},onChange:Te})}),o.jsx(No,{variant:"primary",type:"submit",label:l.signIn.signInButton,loading:d.fetchState==="In-Progress"})]})}),Me&&o.jsx(Fo,{children:O?l.signIn.magicLinkExpired:l.signIn.invalidEmailMessage})]})})]}),P===!1&&M&&o.jsx(Ro,{children:o.jsx(To,{children:Oe()})})]})})]}),o.jsx(z,{controller:s!=="small",children:o.jsx(Jo,{children:o.jsx(lo,{})})}),o.jsx(de,{style:{maxWidth:"100%",textAlign:"center",marginBottom:s==="small"?i.sp5:i.sp1},children:o.jsxs(de,{children:[o.jsxs(ce,{children:[l.signIn.termsPrivacyFinePrintPart,l.signIn.agreeWith,o.jsx(re,{href:l.signIn.termsUrl,target:"_Blank",rel:"noopener noreferrer",linkText:l.signIn.termsOfService})," ",l.signIn.and," ",o.jsx(re,{href:l.signIn.privacyPolicyUrl,target:"_Blank",rel:"noopener noreferrer",linkText:l.signIn.privacyPolicy}),"."]}),o.jsx(ce,{children:o.jsx(so,{})})]})})]}),P&&o.jsx(Co,{signInError:Be,onClose:()=>{k(),F(!1)}})]})}export{ti as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as d}from"./mui-C5LQ0bMa.js";import{b as S,f as m}from"./vendor-CnQcJ2Lu.js";import{g as f,u as l,f as I}from"./redux-ByjIRbhZ.js";import{
|
|
1
|
+
import{j as d}from"./mui-C5LQ0bMa.js";import{b as S,f as m}from"./vendor-CnQcJ2Lu.js";import{g as f,u as l,f as I}from"./redux-ByjIRbhZ.js";import{kg as u,u as w,l as r,M as h,kf as C,A as E,kN as v,kj as p}from"./index-C2JVdK9x.js";import{f as U}from"./analyticsHelper-DBiIeSgZ.js";import{a as x,u as y,N as k}from"./routing-Cpaypegg.js";import{c as L}from"./sentry-HDxG13yk.js";import"./analytics-CBL_L82S.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";function T(o){const a=o.tenantState.fetchState,i=o.tenantState.sendEmailMagicLinkFetchState;return{googleClientId:p.googleClientId,microsoftClientId:p.microsoftClientId,signInError:o.tenantState.error?.error,fetchState:a,sendMagicLinkStatus:i,showEmailLogin:!1}}function A(o,a){const{location:i,navigate:s}=a;return console.warn(JSON.stringify(window.location)),{onOAuthError:(t,e)=>{L({message:`OAuth error from provider ${e} with error ${t}`,level:"error",tags:{authProvider:e,errorType:"zeni.login.error"},extra:{error:t,windowLocation:window.location.href}})},onOAuthSuccess:(t,e)=>{const g=e==="google"?window.location.origin:window.location.origin+window.location.pathname;o(r.doSignIn({authCode:t,oauthProvider:e,appType:"web",redirectUri:r.toZeniUrl(g),sourceUri:r.toZeniUrl(i.state!=null?i.state.origin:"")}))},getSignedInUser:()=>u.getSignedInUser(),onSignedInCallback:()=>{const t=i.state?.origin;t&&t!=="/"?s(t,{replace:!0}):window.open(window.location.origin,"_self")},clearSignInError:()=>{o(r.resetSignInState())}}}const N=I(T,A)(v),P=m.memo(N);function B(){const o=f(),a=x(),i=u.getSignedInUser(),s=l(n=>n.tenantState.fetchState),t=l(n=>n.tenantState.signInState),e=l(n=>n.tenantState.loggedInUser),g=w().mode,c=y();if(S.useEffect(()=>{if(t==="In-Progress"&&s==="Completed"&&e?.zeniSessionId!=null){u.saveSignedInUserWithSession(e,e.zeniSessionId),r.updateZeniAPIClientConfig(e.userId,e.zeniSessionId),o(r.updateSignInState("Completed")),h.updateAppLocaleID("en"),U(e,g);const n=c.state?.queryParams;setTimeout(()=>{C.trackLogin(E.Event.loginSuccess,e.authProvider??"google",n?.utmSource,n?.utmMedium)},2e3)}},[]),t==="In-Progress"&&s==="Completed"&&e?.zeniSessionId!=null||i!=null){const n=c.state?.origin??"/";return d.jsx(k,{to:n,state:{...c.state,origin:""}})}else return d.jsx(P,{navigate:a,location:c})}export{B as default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SpendManagementPerTabPage-
|
|
2
|
-
import{u as Ue,
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SpendManagementPerTabPage-Buppd61y-KX81e_1p.js","assets/index-C2JVdK9x.js","assets/mui-C5LQ0bMa.js","assets/vendor-CnQcJ2Lu.js","assets/analytics-CBL_L82S.js","assets/routing-Cpaypegg.js","assets/sentry-HDxG13yk.js","assets/redux-ByjIRbhZ.js","assets/liveblocks-sSQ9JElv.js","assets/crypto-BURQLTgV.js","assets/index-BAKoUD4u.css","assets/useLongPress-GCK2COYQ-gxLtL5O4.js","assets/StatusSwitcher-BgWlxay9-Mp4PEzEM.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{u as Ue,V as He,X as z,l as y,M as U,fK as Ve,fM as Ge,j as o,g4 as Je,aV as Ke,q as qe,o as t,dy as We,gk as M,aA as Ye,fV as Ze,C,gl as Xe,fe as Qe,ff as et,g as S,m as tt,p as x,gm as ot,a2 as at,bp as it,s as nt,bK as st,fg as lt,ax as rt,f as ct}from"./index-C2JVdK9x.js";import{b as u,n as r,k as H}from"./vendor-CnQcJ2Lu.js";import{_ as dt}from"./liveblocks-sSQ9JElv.js";import{Y as mt}from"./SpendManagementSection-BGcBRKGN-CG3uT_ZE.js";import{K as ut}from"./StatusSwitcher-BgWlxay9-Mp4PEzEM.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./crypto-BURQLTgV.js";const F=e=>u.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},u.createElement("path",{d:"M22.781 11.8215C22.7883 14.6988 21.6612 17.4629 19.6441 19.5146C17.627 21.5664 14.8825 22.7404 12.0055 22.7822C10.6005 22.8033 9.20515 22.5453 7.90056 22.023C6.59596 21.5008 5.40804 20.7247 4.40567 19.7399C3.40331 18.755 2.60645 17.5809 2.06132 16.2857C1.51619 14.9905 1.23362 13.6 1.23002 12.1948C1.22199 9.31703 2.34875 6.55215 4.36593 4.49975C6.38312 2.44735 9.1281 1.27292 12.0055 1.23117C13.4108 1.21016 14.8063 1.46837 16.111 1.99085C17.4158 2.51332 18.6038 3.28965 19.6061 4.27481C20.6085 5.25996 21.4053 6.43433 21.9503 7.72981C22.4953 9.02529 22.7777 10.4161 22.781 11.8215Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M17.1573 10.374H9.83934C9.05979 10.374 8.31216 10.6766 7.76093 11.2151C7.2097 11.7537 6.90002 12.4841 6.90002 13.2457C6.90002 14.0074 7.2097 14.7378 7.76093 15.2764C8.31216 15.8149 9.05979 16.1175 9.83934 16.1175H11.309",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M14.2151 13.2434L17.1544 10.3717L14.2151 7.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),f={width:new C(343,545,545),containerTop:new C(17,25,25),containerPaddingLeftRight:new C(x[4],x[7])},pt=r.div`
|
|
3
3
|
position: fixed;
|
|
4
4
|
top: 0;
|
|
5
5
|
left: 0;
|
|
@@ -106,7 +106,7 @@ import{u as Ue,w as He,X as z,l as y,M as U,fI as Ge,fK as Je,j as o,g2 as Ve,aV
|
|
|
106
106
|
color: ${e=>e.theme.colors.primary};
|
|
107
107
|
position: absolute;
|
|
108
108
|
bottom: 22px;
|
|
109
|
-
`,N=U.getLocalizedStrings().common.copyToClipBoard;function Et(e){const p=z(),[,h]=Qe(),[c,d]=u.useState(!0),[i,a]=u.useState(!1),[s,n]=u.useState(!1),{isMobileOrTabletScreen:g}=et(),T=()=>{if(c){const w=e.botEmail;h(w),d(!1)}},v=()=>{a(!0)},k=()=>{a(!1)};return u.useEffect(()=>{c===!1&&setTimeout(()=>{d(!0)},2e3)},[c]),o.jsx(pt,{windowSize:p,role:"presentation",style:{background:S.overlayDark,...e.style},children:o.jsx(tt,{onClickAway:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)},children:o.jsxs(yt,{windowSize:p,className:s?"fade":"",fade:s,children:[o.jsx(It,{onClick:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)}}),o.jsx(gt,{children:e.title}),o.jsx($t,{children:e.descriptionLines.map((w,l)=>o.jsxs(Ct,{children:[o.jsx(wt,{children:w.icon}),o.jsx(ft,{windowSize:p,children:w.text})]},l))}),o.jsxs(xt,{onClick:T,onMouseOver:v,onMouseLeave:k,showCopyIcon:c,showCopyText:i,children:[o.jsx(vt,{showCopyText:i,children:e.botEmail}),c?o.jsx(Tt,{windowSize:p,showCopyText:i&&!g,children:o.jsx(St,{})}):o.jsx(kt,{})]}),o.jsx(Bt,{children:c?i&&!g?N.copy:null:N.copied})]})})})}const
|
|
109
|
+
`,N=U.getLocalizedStrings().common.copyToClipBoard;function Et(e){const p=z(),[,h]=Qe(),[c,d]=u.useState(!0),[i,a]=u.useState(!1),[s,n]=u.useState(!1),{isMobileOrTabletScreen:g}=et(),T=()=>{if(c){const w=e.botEmail;h(w),d(!1)}},v=()=>{a(!0)},k=()=>{a(!1)};return u.useEffect(()=>{c===!1&&setTimeout(()=>{d(!0)},2e3)},[c]),o.jsx(pt,{windowSize:p,role:"presentation",style:{background:S.overlayDark,...e.style},children:o.jsx(tt,{onClickAway:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)},children:o.jsxs(yt,{windowSize:p,className:s?"fade":"",fade:s,children:[o.jsx(It,{onClick:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)}}),o.jsx(gt,{children:e.title}),o.jsx($t,{children:e.descriptionLines.map((w,l)=>o.jsxs(Ct,{children:[o.jsx(wt,{children:w.icon}),o.jsx(ft,{windowSize:p,children:w.text})]},l))}),o.jsxs(xt,{onClick:T,onMouseOver:v,onMouseLeave:k,showCopyIcon:c,showCopyText:i,children:[o.jsx(vt,{showCopyText:i,children:e.botEmail}),c?o.jsx(Tt,{windowSize:p,showCopyText:i&&!g,children:o.jsx(St,{})}):o.jsx(kt,{})]}),o.jsx(Bt,{children:c?i&&!g?N.copy:null:N.copied})]})})})}const V=U.getLocalizedStrings(),m=V.spendManagement,{common:{texts:{comments:At}},collaboration:{threads:{placeholder:{addANewComment:Lt,replyAComment:jt},tooltip:{resolveComment:Rt,unResolveComment:Pt}}}}=V,Ot={drawerSectionPaddingLeftRight:new C(x[4],x[5])},_t=Xe(()=>ot(()=>import("./SpendManagementPerTabPage-Buppd61y-KX81e_1p.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]))),Xt=e=>{const p=Ue(),h=He(),c=z(),{transactionList:d,allSubTabs:i,isAdmin:a,botEmail:s,isEmployee:n=!1,currentTab:g,currentSubTab:T,approvalCount:v,fetchState:k,analytics:w,entity:l,uiState:G,searchText:B,filters:J,vendorSearchAutoCompleteData:K,vendorSearchAutoCompleteActions:q,createdByUserList:W,createdByUserListFetchState:E,downloadParams:Y,downloadState:Z,isDownloadEnabled:X,isShowDeletedBillsEnabled:Q,isShowDeletedReimbursementEnabled:ee,isBillPayCommentingEnabled:A,isReimbursementCommentingEnabled:L,isDetectInsufficientFundsEnabled:te=!1,updateTabToState:oe,onSubtabChange:j,onReloadTransactions:ae,onTransactionClick:R,onClickSetupIcon:P,onBackClick:ie,onAddTransactionClick:ne,onColumnSortConfigChanged:se,onSearchTextChanged:le,onClickMenuIcon:re,onFiltersChange:ce,updateDownloadStateHandler:de,bulkSubmissionLimit:me=10,isBulkActionAllowed:ue=!1,isRecurringBillInBulkActionList:pe=!1,transactionsSelectedForBulkAction:he=[],allowedBulkActions:be=[],bulkSubmissionFetchState:ye,updateBulkActionList:ge,removeAllTransactionsFromBulkActionList:we,onProceedForBulkActionClick:fe}=e,Ce=["draft","pending_approval","scheduled","paid"],xe=b=>{R(b,g)},Se=o.jsx(_t,{botEmail:s,transactionList:d,allSubTabs:i,isAdmin:a,selectedTab:g,selectedSubTab:T,fetchState:k,onSubtabChange:j,onTransactionRowClick:xe,onReloadTransactions:ae,onColumnSortConfigChanged:se,analytics:w,entity:l,uiState:G,searchText:B,isShowDeletedBillsEnabled:Q,isShowDeletedReimbursementEnabled:ee,isBillPayCommentingEnabled:A,isReimbursementCommentingEnabled:L,bulkSubmissionLimit:me,isBulkActionAllowed:ue,isRecurringBillInBulkActionList:pe,transactionsSelectedForBulkAction:he,isDetectInsufficientFundsEnabled:te,allowedBulkActions:be,bulkSubmissionFetchState:ye,updateBulkActionList:ge,removeAllTransactionsFromBulkActionList:we,onProceedForBulkActionClick:fe}),Te=b=>{oe(b),j("all")},ve=y.hasOnlyBillPayAccess(h.loggedInUserRoleMap),[O,ke]=u.useState(!1),[Ie,_]=u.useState(!1),$e=b=>{ke(b)},Be=l==="bill_pay"?y.hasBillPayAdminLevelAccess(h.loggedInUserRoleMap):y.hasReimbursementAdminLevelAccess(h.loggedInUserRoleMap),Ee={entity:l,showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!0,newButtonLabel:"New",isSearchOpen:O,searchPlaceHolder:l==="bill_pay"?m.billPay.billsByTabs.searchPlaceHolder:m.reimbursement.reimbursementByTabs.searchPlaceHolder,searchText:B,searchTextBoxStyle:{right:"204px"},showSettingsIconOnNavbar:Be,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!0,disableDownloadButton:X===!1,downloadParams:Y,downloadState:Z,filters:J,vendorSearchAutoCompleteData:K,vendorSearchAutoCompleteActions:q,createdByUserListLoaded:l==="bill_pay"||y.hideCreatedByFilter(h.loggedInUserRole??[])?!0:E==="Completed"||E==="Error",analytics:w,onNewButtonClick:ne,onSearchOpen:$e,onSearchTextChanged:le,onClickSetupIcon:P,onClickEmailInfoIcon:()=>_(!0),onFiltersChange:ce,getFilterOptions:l==="bill_pay"||l==="reimbursement"?()=>Dt(l,W??[],h.loggedInUserRole??[],[]):void 0,updateDownloadStateHandler:de},Ae=o.jsx(mt,{spendManagementSectionProps:Ee}),[Le,je]=u.useState(null),[Re,I]=u.useState(!1),{setRequestToOpenThread:Pe}=u.useContext(Ve),Oe=`dashboard_${h.currentTenant?.companyId}`,D=l==="bill_pay"?"bill":"reimbursement",{threads:_e}=Ge({application:"dashboard",companyId:h.currentTenant?.companyId,tab:D,entityId:Le?.entityId,isGlobalComment:!1},"both",!1),De={openAllThreadsDrawer:b=>{je({...b}),I(!0)}},Me=(b,$)=>{const{companyId:Fe,entityId:Ne,entityType:ze}=b;I(!1),Pe({threadId:$,companyId:Fe,entityType:ze}),R(Ne,g)};return o.jsx(Je,{sharedItems:{sharedFunctions:{subtreeFunctions:De},sharedRef:void 0},children:o.jsxs(Mt,{children:[o.jsx(Ke,{source:"SpendManagementListViewPage",title:l==="bill_pay"?m.billPay.billsByTabs.pageTitle:m.reimbursement.reimbursementByTabs.pageTitle,showBackButton:!n&&!ve,showMenuIcon:c==="medium-compact"||c==="small",backgroundColor:p.colors.grey4,style:{zIndex:3,...qe.largeSemiBold.cssObject},onBackClick:ie,rightSideComponent:Ae,onClickMenuIcon:re,isSearchOpen:O}),o.jsxs(Ft,{children:[o.jsx(Nt,{children:o.jsx(ut,{tabIds:Ce,approvalCount:v,selectedTab:g,entity:l,onTabSelectedChange:Te,onClickSetupIcon:P})}),Se]}),Ie?o.jsx(Et,{botEmail:s,onCancelClick:()=>_(!1),title:l==="bill_pay"?m.billPay.billsByTabs.emailInfoTitle:m.reimbursement.reimbursementByTabs.emailInfoTitle,descriptionLines:l==="bill_pay"?[{icon:o.jsx(F,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription1},{icon:o.jsx(We,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription2},{icon:o.jsx(M,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription3}]:[{icon:o.jsx(F,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription1},{icon:o.jsx(Ye,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription2},{icon:o.jsx(M,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription3}]}):null,l==="bill_pay"&&A||l==="reimbursement"&&L?o.jsx(dt,{id:Oe,children:o.jsx(Ze,{isDrawerOpen:Re,allowComposer:!1,drawerTitle:At,threads:_e,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:h.currentTenant?.companyId,isGlobalComment:!1,tab:D},isLoading:!1,textOverrides:{composerPlaceholder:Lt,replyComposerPlaceholder:jt,threadResolve:Rt,threadUnResolve:Pt},onThreadClick:(b,$)=>Me(b,$),onCloseAllThreadsDrawer:()=>I(!1),drawerSectionStyle:{width:c==="small"?"100%":"400px",boxSizing:c==="small"?"border-box":"content-box",padding:`${t.sp0} ${Ot.drawerSectionPaddingLeftRight.valuePx(c)}`,backgroundColor:p.colors.background},collapsibleThreadStyle:{width:c==="small"?"100%":"360px"}})}):null]})})},Dt=(e,p,h,c)=>{const d=m.filters.filterOptions;return e==="bill_pay"?y.BILL_PAY_FILTER_CATEGORIES.reduce((i,a)=>{switch(a.value){case"amount":return{...i,[a.value]:d.billAmountOptions};case"paymentMethod":return{...i,[a.value]:d.paymentMethodOptions};case"status":return{...i,[a.value]:[...d.commonStatusOptions,...d.billStatusOptions]};case"paymentType":return{...i,[a.value]:d.billPaymentTypeOptions};default:return{...i,[a.value]:[]}}},{}):e==="reimbursement"?(y.hideCreatedByFilter(h)?y.REIMBURSEMENT_FILTER_CATEGORIES_RESTRICTED:y.REIMBURSEMENT_FILTER_CATEGORIES).reduce((i,a)=>{switch(a.value){case"createdBy":{if(p?.length===0)return{...i,[a.value]:[]};const s=p.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...i,[a.value]:s}}case"paymentMethod":return{...i,[a.value]:d.paymentMethodOptions};case"status":return{...i,[a.value]:d.commonStatusOptions};case"amount":return{...i,[a.value]:d.reimbursementAmountOptions};default:return{...i,[a.value]:[]}}},{}):y.TASK_LIST_FILTER_CATEGORIES.reduce((i,a)=>{switch(a.value){case"assignee":{if(p?.length===0)return{...i,[a.value]:[]};const s=p.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...i,[a.value]:s}}case"status":return{...i,[a.value]:[...y.allTaskStatus.map(s=>({label:s.name,value:s.code}))]};case"priority":return{...i,[a.value]:[...y.allTaskPriority.map(s=>({label:s.name,value:s.code}))]};case"tag":return{...i,[a.value]:[...c.map(s=>({label:s.name,value:s.tagId}))]};default:return{...i,[a.value]:[]}}},{})},Mt=r.div`
|
|
110
110
|
display: flex;
|
|
111
111
|
min-height: 100%;
|
|
112
112
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Et,
|
|
1
|
+
import{a as Et,c6 as Ft,M as te,l as W,X as Q,kO as Mt,j as t,F as Nt,bR as Vt,bT as Ot,bU as Wt,a3 as Ut,o as i,bO as et,fA as Kt,ai as qt,bW as Ht,id as Gt,ie as Yt,d as Zt,bw as Z,be as Xt,a5 as Qt,C as h,u as Ue,fB as Jt,kP as ei,g as X,cq as ti,f as U,s as N,v as se,kQ as ii,cK as oi,kR as ni,kS as ut,kT as ht,jo as li,kU as ri,kV as si,bl as gt,q as je,Y as ee,V as Ke,g7 as qe,d5 as He,fM as Ge,cj as yt,kW as bt,kX as Ce,_ as Be,kY as Ye,R as we,ii as xt,ij as wt,kZ as ft,ih as $t,b$ as vt,c2 as St,k_ as R,k$ as kt,fY as Tt,co as Pt,dt as Ze,p}from"./index-C2JVdK9x.js";import{b as P,n as o,f as jt,j as Y}from"./vendor-CnQcJ2Lu.js";import{d as Ct}from"./useLongPress-GCK2COYQ-gxLtL5O4.js";import{K as ai}from"./StatusSwitcher-BgWlxay9-Mp4PEzEM.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ue=te.getLocalizedStrings().spendManagement.billPay.billsByTabs.header,_e={key:"name",value:ue.name,sortOrder:"ascending",width:new h(p[5],p[5])},Le={key:"invoiceDate",value:ue.invoiceDate,sortOrder:"ascending",width:new h(20,20)},di={key:"dueDate",value:ue.dueDate,sortOrder:"ascending",width:new h(20,20)},Xe={key:"dueDate",value:ue.paymentDate,sortOrder:"ascending",width:new h(20,20)},Qe={key:"status",value:ue.status,sortOrder:"ascending",width:new h(18,18)},ci={key:"paymentMethod",value:ue.paymentMethod,sortOrder:"ascending",width:new h(18,18)},ze={key:"amount",value:ue.amount,sortOrder:"ascending",width:new h(10,10)},be=[_e,Le,di,Qe,ze],pi=[_e,Le,Xe,Qe,ze],mi=[_e,Le,Xe,Qe,ze],ui=[_e,Le,Xe,ci,ze],ye={headerLastColumnTopPadding:new h(p[0],p[4]),headerLastColumnRightPadding:new h(p[3],p[11]),headerLastColumnBottomPadding:new h(p[0],p[4]),headerLastColumnLeftPadding:new h(p[0],p[4]),headerHeight:new h(xt,wt)};function hi({companyNameSticky:e,currentTab:n,onColumnSortConfigChanged:c,sortConfig:l}){const d=Ue(),g=Q(),[b,x]=P.useState(ki(n));P.useEffect(()=>{const a=[...b];for(const r of a)r.key===l.sortKey?r.sortOrder=l.sortOrder:r.sortOrder="ascending";x(a)},[l.sortKey,l.sortOrder]);const f=(a,r)=>{let $=r;l.sortKey===a&&($=r==="ascending"?"descending":"ascending"),c?.(a,$)},u=b.find(a=>a.key===l.sortKey)??b[0],y=a=>b.find(r=>r.key===a)?.value??"",m=b.map(a=>a.key),w=te.getLocalizedStrings().spendManagement.billPay.billsByTabs;return g==="small"?t.jsxs(tt,{windowSize:g,companyNameSticky:!1,children:[t.jsxs(xi,{children:[t.jsx(fi,{children:t.jsx(wi,{})}),t.jsx(gt,{title:w.sortBy,placeholder:w.sortBy,pickerValues:m,valueToLabel:y,selectedValue:l.sortKey,onPickerSelectionChanged:a=>{f(a,"ascending")},optionTextStyle:je.smallRegular,titleTextStyle:je.smallRegular,titleColor:d.colors.primary,selectedOptionColor:d.colors.hero,optionBackgroundColor:d.colors.grey5,downChevronVisible:!1,backgroundColor:d.colors.background})]}),t.jsxs(Si,{onClick:()=>f(u.key,u.sortOrder),"data-testid":ee("bill-pay-list-header-mobile",l.sortKey),children:[t.jsx(se,{children:u.value}),t.jsx(it,{sortDataValue:l.sortKey,headerdata:u,children:t.jsx(ot,{})})]})]}):t.jsx(tt,{companyNameSticky:e,windowSize:g,children:b.map(a=>t.jsxs(yi,{companyNameSticky:e&&a.key==="name",sortDataValue:l.sortKey,actualDataValue:a.key,wrapperWidth:a.width,windowSize:g,children:[t.jsxs(vi,{onClick:()=>f(a.key,a.sortOrder),"data-testid":ee("bill-pay-list-header",l.sortKey),children:[t.jsx(se,{children:a.value}),t.jsx(it,{sortDataValue:l.sortKey,headerdata:a,children:t.jsx(ot,{})})]}),t.jsx($i,{sortDataValue:l.sortKey,windowSize:g,isVisible:l.sortKey===a.key&&a.key!=="dueDate",children:t.jsx(bi,{onClick:()=>f("dueDate","ascending"),"data-testid":ee("bill-pay-list-header-sort-close",l.sortKey)})})]},a.key))})}const gi=jt.memo(hi),tt=o(se)`
|
|
2
2
|
width: 100%;
|
|
3
3
|
top: ${i.sp0};
|
|
4
4
|
left: ${i.sp0};
|
|
@@ -69,7 +69,7 @@ import{a as Et,c3 as Ft,M as te,l as W,X as J,kM as Mt,j as t,F as Nt,bO as Vt,b
|
|
|
69
69
|
&:hover {
|
|
70
70
|
color: ${e=>e.theme.colors.primary};
|
|
71
71
|
}
|
|
72
|
-
`,ki=e=>{switch(e){case"draft":return we(be);case"pending_approval":return we(pi);case"scheduled":return we(mi);case"paid":return we(ui)}},xe={containerPaddingLeft:new h(p[3],p[4]),containerPaddingRight:new h(p[3],p[4]),containerPaddingTop:new h(p[2],12),containerPaddingBottom:new h(p[2],12),containerMarginLeft:new h(p[4],p[8]),webkitLineClamp:new h(2,1,1,1,1)},{spendManagement:{billPay:{billDetails:ne}},common:{strings:{empty:Ne,space:$e}}}=te.getLocalizedStrings(),Ti=({transactionDetail:e,tagStatus:n,reportTitleAdditionalInfo:c,isSelected:l,isBillPayCommentingEnabled:d,isProcessing:g,lowBalanceAlert:b,approvers:x,deletionAdditionalInfo:f,paidAdditionalInfo:u,showLowBalanceTooltip:y,onTransactionRowClick:m})=>{const w=
|
|
72
|
+
`,ki=e=>{switch(e){case"draft":return we(be);case"pending_approval":return we(pi);case"scheduled":return we(mi);case"paid":return we(ui)}},xe={containerPaddingLeft:new h(p[3],p[4]),containerPaddingRight:new h(p[3],p[4]),containerPaddingTop:new h(p[2],12),containerPaddingBottom:new h(p[2],12),containerMarginLeft:new h(p[4],p[8]),webkitLineClamp:new h(2,1,1,1,1)},{spendManagement:{billPay:{billDetails:ne}},common:{strings:{empty:Ne,space:$e}}}=te.getLocalizedStrings(),Ti=({transactionDetail:e,tagStatus:n,reportTitleAdditionalInfo:c,isSelected:l,isBillPayCommentingEnabled:d,isProcessing:g,lowBalanceAlert:b,approvers:x,deletionAdditionalInfo:f,paidAdditionalInfo:u,showLowBalanceTooltip:y,onTransactionRowClick:m})=>{const w=Q(),a=Ke(),r=qe(),$=He().analytics,s=`dashboard_${a.currentTenant?.companyId}`,{threads:k,isLoading:B}=Ge({application:"dashboard",companyId:a.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),L=P.useMemo(()=>k.filter(S=>S.resolved===!1),[k]),j=S=>{S.stopPropagation(),r?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:s,companyId:a.currentTenant?.companyId??Ne,companyName:a.currentTenant?.companyName??Ne,entityType:"bill.details",entityId:e.id}),$.trackCommentActivity("bill","clicked",a.currentTenant?.companyName??Ne,a.controllersList.controllers.map(D=>Ze(D)),void 0,void 0,"comment on field")},v=P.useCallback(()=>{m(e.id)},[e.id]),z=W.isAwaitingMarkAsPaid(e.billPayInfo.billPaymentStatus.code)?bt(e.createdByUser):Ce(x),K=e.vendor?.name!=null?e.vendor.name:e.candidateVendorName!=""?e.candidateVendorName:ne.newBillTitle,E=()=>`${ne.recurringBill.recurring} ${e.recurringBillInstance}/${e.recurringBillConfig?.totalPaymentCycles}`;return t.jsxs(Pi,{windowSize:w,statusCode:n?.code??"",isSelected:l,isProcessing:g,children:[t.jsx(ji,{onClick:v,"data-testid":ee("bill-pay-transaction-row",e.id),children:t.jsxs(Ci,{children:[t.jsxs(Bi,{windowSize:w,responsiveWidth:be[0].width,children:[t.jsxs(_i,{children:[t.jsx(Li,{windowSize:w,children:K}),e.isRecurring?t.jsx(Z,{title:E(),placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(Fi,{isProcessing:g,children:t.jsx(Mi,{})})}):null]}),t.jsx(Di,{children:`${c[0].label} ${c[0].value}`})]}),t.jsx(nt,{windowSize:w,responsiveWidth:be[1].width,children:c[1].value}),t.jsx(nt,{windowSize:w,responsiveWidth:be[2].width,children:c[2].value}),t.jsxs(Ei,{windowSize:w,responsiveWidth:be[3].width,children:[t.jsxs(Ri,{children:[n!==void 0?t.jsx(Ii,{className:"statusTag",color:n.color,bgColor:n.bgColor,borderColor:n.borderColor,children:n.value??ne.hyphenText}):t.jsx(Ai,{children:ne.hyphenText}),y===!0&&b!=null&&b.length>0?t.jsx(Z,{title:b,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",children:t.jsx(Ni,{})}):null]}),x!==void 0&&z.length>0?z.length>1?t.jsx(Z,{style:{padding:"2px 5px"},title:`${ne.byText}${$e}${z.join(`${$e}${ne.orText}${$e}`)}`,placement:"bottom-start",children:t.jsx(ke,{children:`${ne.byText}${$e}${z[0]}${ne.dots}`})}):t.jsx(ke,{children:`${ne.byText}${$e}${z[0]}`}):null,f!=null?t.jsx(ke,{children:f}):null,u!=null?t.jsx(ke,{children:u}):null]}),t.jsx(zi,{windowSize:w,responsiveWidth:be[4].width,children:Be("0,0[.]00",e.totalAmountInUSD)})]})}),d&&L.length>0?t.jsx(Ye,{isLoading:B,count:L.length,style:{position:"absolute",float:"right",right:"44px",top:i.sp1},openThread:j}):null]})},Pi=o.div`
|
|
73
73
|
display: flex;
|
|
74
74
|
margin-bottom: ${i.sp3};
|
|
75
75
|
background-color: ${e=>e.isProcessing?"transparent":e.theme.colors.grey5};
|
|
@@ -161,13 +161,13 @@ import{a as Et,c3 as Ft,M as te,l as W,X as J,kM as Mt,j as t,F as Nt,bO as Vt,b
|
|
|
161
161
|
color: ${e=>e.theme.colors.hero};
|
|
162
162
|
justify-content: flex-end;
|
|
163
163
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
164
|
-
`,
|
|
164
|
+
`,Di=o.div`
|
|
165
165
|
color: ${e=>e.theme.colors.grey1};
|
|
166
166
|
overflow: hidden;
|
|
167
167
|
text-overflow: ellipsis;
|
|
168
168
|
width: 90%;
|
|
169
169
|
white-space: nowrap;
|
|
170
|
-
`,
|
|
170
|
+
`,Ii=o(U)`
|
|
171
171
|
display: flex;
|
|
172
172
|
color: ${e=>e.color};
|
|
173
173
|
height: 20px;
|
|
@@ -221,7 +221,7 @@ import{a as Et,c3 as Ft,M as te,l as W,X as J,kM as Mt,j as t,F as Nt,bO as Vt,b
|
|
|
221
221
|
:hover {
|
|
222
222
|
color: ${e=>e.theme.colors.primary};
|
|
223
223
|
}
|
|
224
|
-
`,de={containerPaddingLeft:new h(p[3],p[4]),containerPaddingRight:new h(p[3],p[4]),containerPaddingTop:new h(p[2],p[3]),containerPaddingBottom:new h(p[2],p[3]),containerMarginLeft:new h(p[3],p[8]),webkitLineClamp:new h(2,2,1,1,1)},{spendManagement:{billPay:{billDetails:le}},common:{strings:{empty:Ve,space:ve}}}=te.getLocalizedStrings(),Vi=({transactionDetail:e,tagStatus:n,isProcessing:c,isSelected:l,isBillPayCommentingEnabled:d,bulkSelectFormId:g,isBulkSelectionLimitReached:b,isSelectionMode:x,reportTitleAdditionalInfo:f,lowBalanceAlert:u,approvers:y,deletionAdditionalInfo:m,paidAdditionalInfo:w,showLowBalanceTooltip:a,onTransactionRowClick:r})=>{const $=
|
|
224
|
+
`,de={containerPaddingLeft:new h(p[3],p[4]),containerPaddingRight:new h(p[3],p[4]),containerPaddingTop:new h(p[2],p[3]),containerPaddingBottom:new h(p[2],p[3]),containerMarginLeft:new h(p[3],p[8]),webkitLineClamp:new h(2,2,1,1,1)},{spendManagement:{billPay:{billDetails:le}},common:{strings:{empty:Ve,space:ve}}}=te.getLocalizedStrings(),Vi=({transactionDetail:e,tagStatus:n,isProcessing:c,isSelected:l,isBillPayCommentingEnabled:d,bulkSelectFormId:g,isBulkSelectionLimitReached:b,isSelectionMode:x,reportTitleAdditionalInfo:f,lowBalanceAlert:u,approvers:y,deletionAdditionalInfo:m,paidAdditionalInfo:w,showLowBalanceTooltip:a,onTransactionRowClick:r})=>{const $=Q(),s=Ke(),k=qe(),B=He().analytics,L=`dashboard_${s.currentTenant?.companyId}`,{threads:j,isLoading:v}=Ge({application:"dashboard",companyId:s.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),z=P.useMemo(()=>j.filter(V=>V.resolved===!1),[j]),K=V=>{V.stopPropagation(),k?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:L,companyId:s.currentTenant?.companyId??Ve,companyName:s.currentTenant?.companyName??Ve,entityType:"bill.details",entityId:e.id}),B.trackCommentActivity("bill","clicked",s.currentTenant?.companyName??Ve,s.controllersList.controllers.map(q=>Ze(q)),void 0,void 0,"comment on field")},{getValues:E,setValue:S}=yt(),D=W.isAwaitingMarkAsPaid(e.billPayInfo.billPaymentStatus.code)?bt(e.createdByUser):Ce(y),J=e.vendor?.name!=null?e.vendor.name:e.candidateVendorName!=""?e.candidateVendorName:le.newBillTitle,ie=()=>`${le.recurringBill.recurring} ${e.recurringBillInstance}/${e.recurringBillConfig?.totalPaymentCycles}`,re=E(g),he=P.useCallback(()=>{!b&&e.bulkSelectInfo?.isSelectableForBulkAction&&!l&&S(g,[...re,e.id])},[g,b,l,S,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,re]),Ee=P.useCallback(()=>{he()},[he]),ge=P.useCallback(V=>{V.stopPropagation(),V.cancelable&&V.preventDefault(),x?he():r(e.id)},[he,x,r,e.id]),Fe=Ct({onLongPress:Ee},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(Oi,{windowSize:$,statusCode:n?.code??"",isSelected:l,isProcessing:c,children:[t.jsx(Wi,{onClick:ge,...Fe,"data-testid":ee("bill-pay-trxn-row-small",e.id),children:t.jsxs(Ui,{children:[t.jsxs(Qi,{children:[t.jsxs(Ki,{children:[t.jsxs(qi,{children:[t.jsx(Hi,{windowSize:$,children:J}),e.isRecurring?t.jsx(Z,{title:ie(),placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(eo,{isProcessing:c,children:t.jsx(to,{})})}):null]}),t.jsx(Yi,{children:`${f[0].label} ${f[0].value}`})]}),t.jsx(lt,{children:`${f[1].label} ${f[1].value}`}),t.jsx(lt,{children:`${f[2].label} ${f[2].value}`})]}),t.jsxs(Ji,{children:[t.jsx(Gi,{children:Be("0,0[.]00",e.totalAmountInUSD)}),t.jsxs(Xi,{hasAlertIcon:u!=null,children:[t.jsxs(io,{children:[n!==void 0?t.jsx(Zi,{className:"statusTag",color:n.color,bgColor:n.bgColor,borderColor:n.borderColor,children:n.value??le.hyphenText}):t.jsx(t.Fragment,{children:le.hyphenText}),a===!0&&u!=null&&u.length>0?t.jsx(no,{onClick:V=>V.stopPropagation(),children:t.jsx(Z,{title:u,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",enterDelay:600,children:t.jsx(oo,{})})}):null]}),y!==void 0&&D.length>0?D.length>1?t.jsx(Z,{title:`${le.byText}${ve}${D.join(`${ve}${le.orText}${ve}`)}`,placement:"bottom-start",children:t.jsx(Te,{children:`${le.byText}${ve}${D[0]}${le.dots}`})}):t.jsx(Te,{children:`${le.byText}${ve}${D[0]}`}):null,m!=null?t.jsx(Te,{children:m}):null,w!=null?t.jsx(Te,{children:w}):null]})]})]})}),d&&z.length>0?t.jsx(Ye,{isLoading:v,count:z.length,style:{position:"absolute",float:"right",right:"6px",top:i.sp1},openThread:K}):null]})},Oi=o.div`
|
|
225
225
|
display: flex;
|
|
226
226
|
margin-bottom: ${i.sp3};
|
|
227
227
|
background-color: ${e=>e.isProcessing?"transparent":e.theme.colors.grey5};
|
|
@@ -336,10 +336,10 @@ import{a as Et,c3 as Ft,M as te,l as W,X as J,kM as Mt,j as t,F as Nt,bO as Vt,b
|
|
|
336
336
|
justify-content: center;
|
|
337
337
|
`,Te=o(U)`
|
|
338
338
|
color: ${e=>e.theme.colors.grey1};
|
|
339
|
-
`,
|
|
339
|
+
`,Qi=o.div`
|
|
340
340
|
display: flex;
|
|
341
341
|
flex-direction: column;
|
|
342
|
-
`,
|
|
342
|
+
`,Ji=o.div`
|
|
343
343
|
display: flex;
|
|
344
344
|
flex-direction: column;
|
|
345
345
|
`,eo=o.div`
|
|
@@ -361,7 +361,7 @@ import{a as Et,c3 as Ft,M as te,l as W,X as J,kM as Mt,j as t,F as Nt,bO as Vt,b
|
|
|
361
361
|
:hover {
|
|
362
362
|
color: ${e=>e.theme.colors.primary};
|
|
363
363
|
}
|
|
364
|
-
`,no=o.div``,ae=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs.header,
|
|
364
|
+
`,no=o.div``,ae=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs.header,De={key:"reportName",value:ae.name,sortOrder:"ascending",width:new h(30,30)},Ie={key:"type",value:ae.type,sortOrder:"ascending",width:new h(20,20)},Ae={key:"status",value:ae.status,sortOrder:"ascending",width:new h(20,20)},Re={key:"amount",value:ae.amount,sortOrder:"ascending",width:new h(10,10)},ce=[De,{key:"submittedOn",value:ae.created,sortOrder:"ascending",width:new h(20,20)},Ie,Ae,Re],lo=[De,{key:"submittedOn",value:ae.submitted,sortOrder:"ascending",width:new h(20,20)},Ie,Ae,Re],ro=[De,{key:"submittedOn",value:ae.paymentDate,sortOrder:"ascending",width:new h(20,20)},Ie,Ae,Re],so=[De,{key:"submittedOn",value:ae.paidOn,sortOrder:"ascending",width:new h(20,20)},Ie,Ae,Re],Bt={draft:ce,pending_approval:lo,scheduled:ro,paid:so},Pe={headerLastColumnTopPadding:new h(p[0],p[4]),headerLastColumnRightPadding:new h(p[3],p[11]),headerLastColumnBottomPadding:new h(p[0],p[4]),headerLastColumnLeftPadding:new h(p[3],p[4])};function ao({companyNameSticky:e,currentTab:n,onColumnSortConfigChanged:c,sortConfig:l,analytics:d}){const g=Q(),b=Ue(),[x,f]=P.useState(we(Bt[n]));P.useEffect(()=>{const r=[...x];for(const $ of r)$.key===l.sortKey?$.sortOrder=l.sortOrder:$.sortOrder="ascending";f(r)},[l.sortKey,l.sortOrder]);const u=(r,$)=>{let s=$;l.sortKey===r&&(s=$==="ascending"?"descending":"ascending"),d?.trackReimbursementListSort(r,s),c?.(r,s)},y=x.find(r=>r.key===l.sortKey)??x[0],m=r=>x.find($=>$.key===r)?.value??"",w=x.map(r=>r.key),a=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs;return g==="small"?t.jsxs(rt,{height:xt,windowSize:g,children:[t.jsx(mo,{children:t.jsx(uo,{})}),t.jsx(gt,{title:a.sortBy,placeholder:a.sortBy,pickerValues:w,valueToLabel:m,selectedValue:l.sortKey,onPickerSelectionChanged:r=>{u(r,"ascending")},optionTextStyle:je.smallRegular,titleTextStyle:je.smallRegular,titleColor:b.colors.primary,selectedOptionColor:b.colors.hero,optionBackgroundColor:"inherit",downChevronVisible:!1}),t.jsxs(bo,{onClick:()=>u(y.key,y.sortOrder),"data-testid":ee("remi-list-header-small",l.sortKey),children:[t.jsx(se,{children:y.value}),t.jsx(st,{sortDataValue:l.sortKey,headerdata:y,children:t.jsx(at,{})})]})]}):t.jsx(rt,{height:wt,windowSize:g,children:x.map(r=>t.jsxs(po,{companyNameSticky:e,sortDataValue:l.sortKey,actualDataValue:r.key,wrapperWidth:r.width,windowSize:g,children:[t.jsxs(yo,{onClick:()=>u(r.key,r.sortOrder),"data-testid":ee("remi-list-header",l.sortKey),children:[t.jsx(se,{children:r.value}),t.jsx(st,{sortDataValue:l.sortKey,headerdata:r,children:t.jsx(at,{})})]}),t.jsx(go,{sortDataValue:l.sortKey,windowSize:g,isVisible:l.sortKey===r.key&&r.key!=="submittedOn",children:t.jsx(ho,{onClick:()=>u("submittedOn","ascending"),"data-testid":ee("remi-list-close-sort",l.sortKey)})})]},r.key))})}const co=jt.memo(ao),rt=o(se)`
|
|
365
365
|
width: 100%;
|
|
366
366
|
top: 0;
|
|
367
367
|
left: 0;
|
|
@@ -429,7 +429,7 @@ import{a as Et,c3 as Ft,M as te,l as W,X as J,kM as Mt,j as t,F as Nt,bO as Vt,b
|
|
|
429
429
|
color: ${e=>e.theme.colors.primary};
|
|
430
430
|
}
|
|
431
431
|
margin-left: auto;
|
|
432
|
-
`,Se={containerPaddingLeft:new h(p[3],p[4]),containerPaddingRight:new h(p[3],p[4]),containerPaddingTop:new h(p[2],12),containerPaddingBottom:new h(p[2],12),containerMarginLeft:new h(p[4],p[8])},G=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs,xo=({reimbursementDetail:e,tagStatus:n,isProcessing:c,isSelected:l,reportTitleAdditionalInfo:d,date:g,approvers:b,deletionAdditionalInfo:x,isReimbursementCommentingEnabled:f,onTransactionRowClick:u})=>{const y=
|
|
432
|
+
`,Se={containerPaddingLeft:new h(p[3],p[4]),containerPaddingRight:new h(p[3],p[4]),containerPaddingTop:new h(p[2],12),containerPaddingBottom:new h(p[2],12),containerMarginLeft:new h(p[4],p[8])},G=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs,xo=({reimbursementDetail:e,tagStatus:n,isProcessing:c,isSelected:l,reportTitleAdditionalInfo:d,date:g,approvers:b,deletionAdditionalInfo:x,isReimbursementCommentingEnabled:f,onTransactionRowClick:u})=>{const y=Q(),m=Ke(),w=P.useRef(null),[a,r]=P.useState(0);P.useLayoutEffect(()=>{w.current&&r(w.current.offsetWidth*ft)},[y]);const $=He().analytics,s=qe(),k=`dashboard_${m.currentTenant?.companyId}`,B=()=>{u(e.id)},L=e.reimbursementTypesIncluded,j=Ce(b),v=te.getLocalizedStrings().common.strings.empty,{threads:z,isLoading:K}=Ge({application:"dashboard",companyId:m.currentTenant?.companyId,tab:"reimbursement",entityId:e.id,isGlobalComment:!1},"both",!1),E=P.useMemo(()=>z.filter(D=>D.resolved===!1),[z]),S=D=>{D.stopPropagation(),s?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:k,companyId:m.currentTenant?.companyId??v,companyName:m.currentTenant?.companyName??v,entityType:"reimbursement.details",entityId:e.id??v}),$.trackCommentActivity("reimbursement","clicked",m.currentTenant?.companyName??v,m.controllersList.controllers.map(J=>Ze(J)),void 0,void 0,"comment on field")};return t.jsxs(wo,{windowSize:y,onClick:B,isProcessing:c,isSelected:l,statusCode:n?.code??v,"data-testid":ee("remi-row-click",e.id),children:[t.jsx(fo,{children:t.jsxs($o,{children:[t.jsxs(vo,{windowSize:y,responsiveWidth:ce[0].width,ref:w,children:[t.jsx(So,{windowSize:y,reportNameWidth:a,children:e.reportTitle??G.newReimbursementTitle}),d!=null&&t.jsx(ko,{children:`${G.byText} ${d?.firstName} ${d?.lastName}`})]}),t.jsx(Po,{windowSize:y,responsiveWidth:ce[1].width,children:g}),L.length>1?t.jsx(dt,{windowSize:y,responsiveWidth:ce[2].width,children:t.jsx(Z,{title:G.reimbursementType.both,placement:"bottom-start",display:"flex",children:G.reimbursementType.titleForBoth})}):t.jsx(dt,{windowSize:y,responsiveWidth:ce[2].width,children:G.reimbursementType[L[0]]}),t.jsxs(Co,{windowSize:y,responsiveWidth:ce[3].width,children:[n!==void 0?t.jsx(Bo,{className:"statusTag",color:n.color,bgColor:n.bgColor,borderColor:n.borderColor,children:n.value??G.hyphenText}):t.jsx(jo,{children:G.hyphenText}),b!==void 0&&j.length>0?j.length>1?t.jsx(Z,{title:`${G.byText} `+j.join(` ${G.orText} `),placement:"bottom-start",children:t.jsx(Oe,{children:`${G.byText} `+j[0]+`${G.dots}`})}):t.jsx(Oe,{children:`${G.byText} `+j[0]}):null,x!=null?t.jsx(Oe,{children:x}):null]}),t.jsx(To,{windowSize:y,responsiveWidth:ce[4].width,children:Be("0,0[.]00",e.amount)})]})}),f&&E.length>0?t.jsx(Ye,{isLoading:K,count:E.length,style:{position:"absolute",float:"right",right:`calc(${i.sp6} + ${i.sp1})`,top:i.sp1},openThread:S}):null]})},wo=o.div`
|
|
433
433
|
display: flex;
|
|
434
434
|
margin-bottom: ${i.sp3};
|
|
435
435
|
background-color: ${e=>e.isProcessing?"transparent":e.theme.colors.grey5};
|
|
@@ -547,7 +547,7 @@ import{a as Et,c3 as Ft,M as te,l as W,X as J,kM as Mt,j as t,F as Nt,bO as Vt,b
|
|
|
547
547
|
padding: 1px 6px 1px 6px;
|
|
548
548
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
549
549
|
border-radius: ${i.sp1};
|
|
550
|
-
`,pe={containerPaddingLeft:new h(p[3],p[4]),containerPaddingRight:new h(p[3],p[4]),containerPaddingTop:new h(p[2],p[3]),containerPaddingBottom:new h(p[2],p[3]),containerMarginLeft:new h(p[3],p[8]),webkitLineClamp:new h(2,2,1,1,1)},O=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs,_o=({reimbursementDetail:e,tagStatus:n,currentTab:c,isProcessing:l,isSelected:d,bulkSelectFormId:g,isBulkSelectionLimitReached:b,isSelectionMode:x,reportTitleAdditionalInfo:f,date:u,approvers:y,deletionAdditionalInfo:m,onTransactionRowClick:w})=>{const a=
|
|
550
|
+
`,pe={containerPaddingLeft:new h(p[3],p[4]),containerPaddingRight:new h(p[3],p[4]),containerPaddingTop:new h(p[2],p[3]),containerPaddingBottom:new h(p[2],p[3]),containerMarginLeft:new h(p[3],p[8]),webkitLineClamp:new h(2,2,1,1,1)},O=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs,_o=({reimbursementDetail:e,tagStatus:n,currentTab:c,isProcessing:l,isSelected:d,bulkSelectFormId:g,isBulkSelectionLimitReached:b,isSelectionMode:x,reportTitleAdditionalInfo:f,date:u,approvers:y,deletionAdditionalInfo:m,onTransactionRowClick:w})=>{const a=Q(),{getValues:r,setValue:$}=yt(),s=e.reimbursementTypesIncluded,k=Ce(y),B=we(Bt[c]),L=r(g),j=P.useCallback(()=>{!b&&e.bulkSelectInfo?.isSelectableForBulkAction&&!d&&$(g,[...L,e.id])},[g,b,d,$,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,L]),v=P.useCallback(()=>{j()},[j]),z=P.useCallback(E=>{E.stopPropagation(),E.cancelable&&E.preventDefault(),x?j():w(e.id)},[j,x,w,e.id]),K=Ct({onLongPress:v},{shouldPreventDefault:!1,delay:1e3});return t.jsx(Lo,{windowSize:a,statusCode:n?.code??"",isProcessing:l,isSelected:d,children:t.jsx(zo,{onClick:z,...K,"data-testid":ee("remi-row-click-mobile",e.id),children:t.jsxs(Do,{children:[t.jsxs(Io,{children:[t.jsxs(Ro,{children:[t.jsx(Eo,{windowSize:a,children:e.reportTitle??O.newReimbursementTitle}),f!=null&&t.jsx(Fo,{children:`${O.byText} ${f?.firstName} ${f?.lastName}`})]}),t.jsxs(No,{children:[B[1].value+": ",u]}),s.length>1?t.jsx(Z,{title:O.reimbursementType.both,placement:"bottom-start",display:"flex",children:t.jsxs(ct,{children:[O.reimbursementType.type+": ",O.reimbursementType.titleForBoth]})}):t.jsxs(ct,{children:[O.reimbursementType.type+": ",O.reimbursementType[s[0]]]})]}),t.jsxs(Ao,{children:[t.jsx(Mo,{children:Be("0,0[.]00",e.amount)}),t.jsxs(Vo,{children:[n!==void 0?t.jsx(Oo,{className:"statusTag",color:n.color,bgColor:n.bgColor,borderColor:n.borderColor,children:n.value??O.hyphenText}):t.jsx(t.Fragment,{children:O.hyphenText}),y!==void 0&&k.length>0?k.length>1?t.jsx(Z,{title:`${O.byText} `+k.join(` ${O.orText} `),placement:"bottom-start",children:t.jsx(We,{style:{marginLeft:"auto"},children:`${O.byText} `+k[0]+`${O.dots}`})}):t.jsx(We,{style:{marginLeft:"auto"},children:`${O.byText} `+k[0]}):null,m!=null?t.jsx(We,{children:m}):null]})]})]})})})},Lo=o.div`
|
|
551
551
|
display: flex;
|
|
552
552
|
margin-bottom: ${i.sp3};
|
|
553
553
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -604,11 +604,11 @@ import{a as Et,c3 as Ft,M as te,l as W,X as J,kM as Mt,j as t,F as Nt,bO as Vt,b
|
|
|
604
604
|
`,zo=o.div`
|
|
605
605
|
display: flex;
|
|
606
606
|
width: 100%;
|
|
607
|
-
`,
|
|
607
|
+
`,Do=o.div`
|
|
608
608
|
display: flex;
|
|
609
609
|
width: 100%;
|
|
610
610
|
justify-content: space-between;
|
|
611
|
-
`,
|
|
611
|
+
`,Io=o.div`
|
|
612
612
|
display: flex;
|
|
613
613
|
flex-direction: column;
|
|
614
614
|
`,Ao=o.div`
|
|
@@ -663,7 +663,7 @@ import{a as Et,c3 as Ft,M as te,l as W,X as J,kM as Mt,j as t,F as Nt,bO as Vt,b
|
|
|
663
663
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
664
664
|
border-radius: ${i.sp1};
|
|
665
665
|
margin-left: auto;
|
|
666
|
-
`,Wo={lastListItemHeight:new h(200,158)},T=te.getLocalizedStrings(),{common:{texts:{maxLimit:Uo}},spendManagement:{billPay:_t,reimbursement:Ko}}=T,H=_t.bulkActions,M=Ko.bulkActions,F=T.common.strings.empty,me="bulkSelectIds",qo=({transactionList:e,botEmail:n,selectedTab:c,selectedSubTab:l,isShowDeletedBillsEnabled:d,isShowDeletedReimbursementEnabled:g,isBillPayCommentingEnabled:b,isReimbursementCommentingEnabled:x,searchText:f,isAdmin:u,entity:y,uiState:m,bulkSubmissionLimit:w,isBulkActionAllowed:a,transactionsSelectedForBulkAction:r,isDetectInsufficientFundsEnabled:$,fetchState:s,analytics:k,onTransactionRowClick:B,onReloadTransactions:L,onColumnSortConfigChanged:j})=>{const v=J(),z=S=>{const I=y==="bill_pay"?e[S].vendor?.name??e[S].candidateVendorName??F:e[S].reportTitle??F;return ei(I,v)},K=P.useRef(null);P.useEffect(()=>{K.current?.resetAfterIndex(0)},[v,K,c,l]);const E=P.forwardRef((S,I)=>{const{children:Q,style:ie,...re}=S;return t.jsx(bn,{ref:I,style:{...ie,width:"auto"},...re,children:t.jsx(yn,{children:Q})})});return E.displayName=T.spendManagement.billPay.billsByTabs.headerElementDisplayName,t.jsx(sn,{children:s==="Error"?t.jsxs(cn,{children:[t.jsx(pn,{onClick:L,children:t.jsx(mn,{})}),t.jsx(un,{children:T.peoplePage.reloadPage.label})]}):s==="Completed"&&e.length===0&&f!=F?t.jsx(et,{message:y==="bill_pay"?T.spendManagement.billPay.billsByTabs.noDataWithFilterText:T.spendManagement.reimbursement.reimbursementByTabs.noDataWithFilterText}):s==="Completed"&&e.length===0?t.jsx(et,{message:y==="bill_pay"?T.spendManagement.billPay.billsByTabs.noDataText:T.spendManagement.reimbursement.reimbursementByTabs.noDataText,orMessage:y==="bill_pay"?T.spendManagement.billPay.billsByTabs.noDataTextViaMail:T.spendManagement.reimbursement.reimbursementByTabs.noDataTextViaMail,emailTextPrefix:y==="bill_pay"?void 0:T.spendManagement.reimbursement.reimbursementByTabs.receiptTo,botEmail:n}):s==="Not-Started"||s==="In-Progress"?t.jsx(Kt,{fetchState:s,styles:{margin:"auto"}}):t.jsx(hn,{windowSize:v,children:t.jsx(qt,{children:({height:S,width:I})=>t.jsx(Ht,{ref:K,height:S,itemCount:y==="bill_pay"||y==="reimbursement"?1:e.length,innerElementType:E,itemSize:z,estimatedItemSize:Yt,itemKey:Q=>e[Q].id,width:I,overscanCount:Gt,itemData:{entity:y,isBulkActionAllowed:a,isShowDeletedBillsEnabled:d,isShowDeletedReimbursementEnabled:g,isBillPayCommentingEnabled:b,isReimbursementCommentingEnabled:x,transactionList:e,isAdmin:u,selectedTab:c,transactionsSelectedForBulkAction:r,bulkSubmissionLimit:w,uiState:m,analytics:k,isDetectInsufficientFundsEnabled:$,onTransactionRowClick:B,onColumnSortConfigChanged:j},initialScrollOffset:0,children:Ho})})})})},Rn=({transactionList:e,botEmail:n,allSubTabs:c,isAdmin:l,selectedTab:d,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:b,isBillPayCommentingEnabled:x,isReimbursementCommentingEnabled:f,selectedSubTab:u,searchText:y,entity:m,uiState:w,bulkSubmissionLimit:a,isBulkActionAllowed:r,isRecurringBillInBulkActionList:$,transactionsSelectedForBulkAction:s,allowedBulkActions:k,bulkSubmissionFetchState:B,isDetectInsufficientFundsEnabled:L,onTransactionRowClick:j,onSubtabChange:v,fetchState:z,onReloadTransactions:K,onColumnSortConfigChanged:E,analytics:S,updateBulkActionList:I,removeAllTransactionsFromBulkActionList:Q,onProceedForBulkActionClick:ie})=>{const re=Et({defaultValues:{bulkSelectIds:s},values:{bulkSelectIds:s}});P.useEffect(()=>{const _=re.watch((D,{name:C})=>{C!=null&&D!=null&&Ft(()=>he(C,D))});return()=>{_.unsubscribe()}});const he=async(_,D)=>{if(_===me){let C=[];if(D[me].includes(T.common.all.toLowerCase())){if(d==="scheduled"&&s.length===0){C=[];for(const A of e)if(A.bulkSelectInfo?.isSelectableForBulkActionSelectAll&&C.push(A.id),C.length===a)break}else C=D[me].filter(A=>A!==T.common.all.toLowerCase());if(m==="bill_pay"){const A=e.filter(fe=>C.includes(fe.id)),oe=W.getBillListUniqueType(A);S?.trackBillPayBulkSelectAll(d,u,oe)}else{const A=e.filter(fe=>C.includes(fe.id)),oe=W.getRemiListUniqueType(A.map(fe=>fe.reimbursementTypesIncluded));S?.trackReimbursementBulkSelectAll(d,u,oe)}}else C=D[me];I?.(C)}},Ee=()=>{k.includes("cancel")?Dt():Rt()},ge=J(),[Fe,V]=P.useState(!1),[q,Me]=P.useState({type:F,title:F,description:F,primaryButtonText:F,secondaryButtonText:F});P.useEffect(()=>{const _=Mt(d,u,m);z==="Completed"&&_!=null&&S?.trackPageLoaded(_,m==="bill_pay"?"Bills":"Reimbursements")},[S,d,u,m,z]);const zt=_=>{v(_)},It=P.useCallback(()=>{const{title:_,description:D}=ln(m,s.length,d,$);if(Me({type:"delete",title:_,description:D,primaryButtonText:T.common.texts.confirm,secondaryButtonText:T.common.texts.close}),m==="bill_pay"){const C=e.filter(oe=>s.includes(oe.id)),A=W.getBillListUniqueType(C);S?.trackBillPayBulkDeleted(s.length,d,u,A)}else{const C=e.filter(oe=>s.includes(oe.id)),A=W.getRemiListUniqueType(C.map(oe=>oe.reimbursementTypesIncluded));S?.trackReimbursementBulkDeleted(s.length,d,u,A)}V(!0)},[m,S,$,u,d,e,s]),Dt=P.useCallback(()=>{const{title:_,description:D}=nn(m,s.length);Me({type:"cancel",title:_,description:D,primaryButtonText:T.common.texts.confirm,secondaryButtonText:T.common.texts.close}),V(!0)},[m,s.length]),At={onOkClick:_=>{if(V(!1),m==="bill_pay"){const D=e.filter(A=>s.includes(A.id)),C=W.getBillListUniqueType(D);S?.trackBillPayBulkPopupConfirm(q.type,d,u,C)}else{const D=e.filter(A=>s.includes(A.id)),C=W.getRemiListUniqueType(D.map(A=>A.reimbursementTypesIncluded));S?.trackReimbursementBulkPopupConfirm(q.type,d,u,C)}q.type==="delete"?ie?.("delete",_):ie?.("cancel",_)},onCancelClick:()=>{Q?.(),V(!1),Me({type:F,title:F,description:F,primaryButtonText:F,secondaryButtonText:F})}},Rt=P.useCallback(()=>{if(m==="bill_pay"){const _=e.filter(C=>s.includes(C.id)),D=W.getBillListUniqueType(_);S?.trackBillPayBulkSelection(s.length,d,u,D)}else{const _=e.filter(C=>s.includes(C.id)),D=W.getRemiListUniqueType(_.map(C=>C.reimbursementTypesIncluded));S?.trackReimbursementBulkSelection(s.length,d,u,D)}k.includes("send_for_approval")?ie?.("send_for_approval"):ie?.(L?"approve":"review")},[m,k,e,S,s,d,u,ie,L]),Qe=k.filter(_=>_!=="delete").length>0;return t.jsxs(dn,{children:[t.jsx(ai,{tabIds:c,selectedTab:u,hasSubTabs:c.length>0,entity:m,enablePerformanceTracking:!1,onTabSelectedChange:zt,isSwitcherLeftAlign:!0}),t.jsx(Nt,{...re,children:t.jsxs(an,{onSubmit:re.handleSubmit(Ee),children:[t.jsx(qo,{botEmail:n,selectedTab:d,selectedSubTab:u,searchText:y,transactionList:e,fetchState:z,onReloadTransactions:K,onTransactionRowClick:j,entity:m,uiState:w,isAdmin:l,onColumnSortConfigChanged:E,analytics:S,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:b,isBillPayCommentingEnabled:x,isReimbursementCommentingEnabled:f,bulkSubmissionLimit:a,isBulkActionAllowed:r,transactionsSelectedForBulkAction:s,isDetectInsufficientFundsEnabled:L}),Fe?t.jsx(Vt,{titleComponent:t.jsx(Wt,{children:q.title}),descriptionComponent:t.jsx(Ot,{children:q.description}),primaryButtonText:q.primaryButtonText,proceedButtonVariant:q.type==="delete"?"danger":"primary",secondaryButtonText:q.secondaryButtonText,action:At,isNotesIncluded:d!=="draft",isEditPopup:!0}):null,s.length>0?t.jsx(Ut,{helperContainerStyle:ge==="small"?{margin:`${i.sp5} ${k.includes("delete")&&Qe?i.sp7:i.sp0} ${i.sp2} ${i.sp0}`}:{},showPrimaryButton:Qe,primaryBtn:{label:en(m,k,s.length),isLoading:q.type!=="delete"&&B==="In-Progress",isDisabled:q.type==="delete"&&B==="In-Progress",type:"submit",style:tn(k)},cancelBtn:{label:T.common.texts.goBack,isDisabled:B==="In-Progress",onClick:Q,style:on(k,ge)},leftSideComponent:Jo(s.length,a,m,ge),rightSideComponent:k.includes("delete")?Qo(s.length,q.type==="delete"&&B==="In-Progress",It,ge):null}):null]})})]})},Ho=({style:e,data:n})=>{const{entity:c,transactionList:l,transactionsSelectedForBulkAction:d,isAdmin:g,isBulkActionAllowed:b,isShowDeletedBillsEnabled:x,isShowDeletedReimbursementEnabled:f,isBillPayCommentingEnabled:u,isReimbursementCommentingEnabled:y,bulkSubmissionLimit:m,selectedTab:w,uiState:a,analytics:r,isDetectInsufficientFundsEnabled:$,onTransactionRowClick:s,onColumnSortConfigChanged:k}=n,B=J(),L=Ue(),j=b?d.length>0?"always_on":"checked_or_hover":"off";return t.jsx(gn,{style:{...e,width:"100%"},className:"spend-management-list-item",children:t.jsx(Qt,{style:{width:"100%"},checkBoxContainerStyle:{gap:i.sp3,width:"auto",marginLeft:B==="small"?i.sp0:i.sp4},labelStyle:{width:"100%"},checkBoxStyle:Zo(B),labelCheckBoxStyle:{marginLeft:B==="small"?i.sp2:i.sp0},checkBoxIconStyle:{backgroundColor:L.colors.grey4},infoIconContainerStyle:Xo(B),name:me,mode:j,selectionLimit:m,checkBoxes:c==="bill_pay"?[{label:t.jsx(gi,{companyNameSticky:!1,currentTab:w,onColumnSortConfigChanged:k,sortConfig:{sortKey:a.sortKey,sortOrder:a.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:T.common.all.toLowerCase(),isException:!1},...l.map(v=>({label:t.jsx(Go,{transactionDetail:v,selectedTab:w,isBillPayCommentingEnabled:u,isShowDeletedBillsEnabled:x,onTransactionRowClick:s,billsSelectedForBulkAction:d,bulkSelectFormId:me,bulkSelectLimit:m,isSelectionMode:j==="always_on",isDetectInsufficientFundsEnabled:$}),value:v.id,groupLabel:!1,defaultChecked:!1,isException:v.bulkSelectInfo?.isSelectableForBulkAction===!1,exceptionMode:rn(v,d),exceptionInfo:pt(c,v),exceptionType:mt(v)}))]:[{label:t.jsx(co,{companyNameSticky:!1,currentTab:w,onColumnSortConfigChanged:k,analytics:r,sortConfig:{sortKey:a.sortKey,sortOrder:a.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:T.common.all.toLowerCase(),isException:!1},...l.map(v=>({label:t.jsx(Yo,{transactionDetail:v,isShowDeletedReimbursementEnabled:f,isReimbursementCommentingEnabled:y,selectedTab:w,isAdmin:g,onTransactionRowClick:s,remisSelectedForBulkAction:d,bulkSelectFormId:me,bulkSelectLimit:m,isSelectionMode:j==="always_on"}),value:v.id,groupLabel:!1,defaultChecked:!1,isException:v.bulkSelectInfo?.isSelectableForBulkAction===!1,exceptionMode:"checked_or_hover",exceptionInfo:pt(c,v),exceptionType:mt(v)}))]})})},Go=({transactionDetail:e,selectedTab:n,isShowDeletedBillsEnabled:c,billsSelectedForBulkAction:l,bulkSelectFormId:d,bulkSelectLimit:g,isBillPayCommentingEnabled:b,isSelectionMode:x,isDetectInsufficientFundsEnabled:f,onTransactionRowClick:u})=>{const y=J()==="small"?Vi:Ti,m=ii(e,n),{bulkProcessingDetail:w}=e,a=W.isBulkProcessing(w?.type),r=()=>{const B=e.billPayInfo.outsideZeniTransactionPaymentMode;if(B==null||B==="other")return;const L=_t.billDetails.paymentOutsideZeni.paymentModeOptions.find(j=>j.value===B)?.label;return`${T.common.via} ${L}`},$=f&&e.billPayInfo.stage.code==="scheduled"&&!e.isDeleted&&e.totalAmountWithFeesInUSD!=null?oi(e.totalAmountWithFeesInUSD,e.withdrawFrom,e.billPayInfo.paymentDate):void 0,s=ni(e.billPayInfo,n,c,e.isDeleted,e.dueDate),k=$!=null&&s?.code!=="failed"&&s?.code!=="processing"&&s?.code!=="cancelled"&&s?.code!=="returned"&&s?.code!=="rejected"&&s?.code!=="paid";return t.jsx(Lt,{children:t.jsx(y,{reportTitleAdditionalInfo:m,transactionDetail:e,isBillPayCommentingEnabled:b,isSelected:l.includes(e.id),isProcessing:a,isBulkSelectionLimitReached:l.length===g,isSelectionMode:x,bulkSelectFormId:d,tagStatus:s,approvers:e.isDeleted===!0?void 0:ht(e,n),deletionAdditionalInfo:e.isDeleted===!0&&n!=="draft"?ut(e,n):void 0,onTransactionRowClick:a?()=>null:u,paidAdditionalInfo:n==="paid"&&!e.isDeleted?r():void 0,lowBalanceAlert:$,showLowBalanceTooltip:k})})},Yo=({transactionDetail:e,selectedTab:n,isAdmin:c,isShowDeletedReimbursementEnabled:l,isReimbursementCommentingEnabled:d,remisSelectedForBulkAction:g,bulkSelectFormId:b,bulkSelectLimit:x,isSelectionMode:f,onTransactionRowClick:u})=>{const y=J()==="small"?_o:xo,m=li(c,e.submittedBy),{bulkProcessingDetail:w}=e,a=W.isBulkProcessing(w?.type);return t.jsx(Lt,{children:t.jsx(y,{reportTitleAdditionalInfo:m,reimbursementDetail:e,isReimbursementCommentingEnabled:d,isSelected:g.includes(e.id),isProcessing:a,isBulkSelectionLimitReached:g.length===x,isSelectionMode:f,bulkSelectFormId:b,currentTab:n,date:si(e,n),approvers:e.isDeleted===!0?void 0:ht(e,n),tagStatus:ri(e,n,l),deletionAdditionalInfo:e.isDeleted===!0&&n!=="draft"?ut(e,n):void 0,onTransactionRowClick:a?()=>null:u})})},Zo=e=>{let n={zIndex:1,marginBottom:i.sp3,backgroundColor:"inherit"};return e==="small"&&(n={...n,position:"absolute",left:i.sp1,width:i.sp4,height:i.sp4}),n},Xo=e=>{let n={zIndex:1,marginBottom:i.sp2};return e==="small"&&(n={...n,position:"absolute",left:i.sp2,marginBottom:i.sp1,width:i.sp4,height:i.sp4}),n},Jo=(e,n,c,l)=>{const d=c==="bill_pay"?H.bill:M.report,g=(e>1?d+"s":d)+H.selected;return e>0?t.jsxs($n,{style:l==="small"?{position:"absolute",top:i.sp2,left:`-${i.sp5}`}:{},children:[t.jsx(vn,{multiDigit:e>=10,children:e}),t.jsx(Sn,{children:g}),e===n?t.jsx(kn,{children:Uo}):null]}):null},Qo=(e,n,c,l)=>e>0?t.jsx(xn,{style:l==="small"?{position:"absolute",top:i.sp7,right:`-${i.sp5}`}:{},children:t.jsx(wn,{isLoading:n,windowSize:l,className:"delete-icon-wrapper",onClick:n?()=>null:c,children:n?t.jsx(Zt,{size:"Small",start:!0}):t.jsx(Z,{enterDelay:600,title:T.common.delete,placement:"top",children:t.jsx(fn,{})})})}):null,pt=(e,n)=>{const{bulkProcessingDetail:c,bulkSelectInfo:l}=n,d=W.isBulkProcessing(c?.type),g=c?.type==="error";let b;if(d)b=c?.inProgressMessage;else if(g)b=c.error?.message;else if(l?.bulkSelectExceptionInfo!=null)if(e==="bill_pay"){const{exceptions:x}=T.spendManagement.billPay.bulkActions;b=x[l.bulkSelectExceptionInfo]}else{const{exceptions:x}=T.spendManagement.reimbursement.bulkActions;b=x[l.bulkSelectExceptionInfo]}return b},en=(e,n,c)=>{const{billPay:l}=T.spendManagement;return n.includes("cancel")?e==="reimbursement"?M.popUps.cancel.title.replace("__report__",c>1?M.reports:M.report):l.bulkActions.popUps.cancel.title.replace("<_bill_>",c>1?l.bulkActions.bills:l.bulkActions.bill):n.includes("send_for_approval")?l.billDetails.sendForApproval:T.common.review},tn=e=>{let n;return e.includes("cancel")===!1&&e.includes("send_for_approval")===!1&&(n={minWidth:"92px"}),n},on=(e,n)=>{let c;return n!=="small"&&(e.includes("cancel")?c={minWidth:"116px"}:e.includes("send_for_approval")&&(c={minWidth:"160px"})),c},nn=(e,n)=>{const{this_:c,these:l,payment:d,payments:g,bills:b,bill:x,reports:f,report:u,they:y,it:m}=T.common.texts;return n>1?e==="bill_pay"?{title:H.popUps.cancel.title.replace("<_bill_>",T.drawerMenus.bills),description:H.popUps.cancel.description.replace("<_this_>",l).replace("<_bill_>",b).replace("<_it_>",y).replace("<_payment_>",g)}:{title:M.popUps.cancel.title.replace("__report__",M.reports),description:M.popUps.cancel.description.replace("<_this_>",l).replace("__report__",f).replace("<_it_>",y).replace("<_payment_>",g)}:e==="reimbursement"?{title:M.popUps.cancel.title.replace("__report__",M.report),description:M.popUps.cancel.description.replace("<_this_>",c).replace("__report__",u).replace("<_it_>",m).replace("<_payment_>",d)}:{title:H.popUps.cancel.title.replace("<_bill_>",H.bill),description:H.popUps.cancel.description.replace("<_this_>",c).replace("<_bill_>",x).replace("<_it_>",m).replace("<_payment_>",d)}},ln=(e,n,c,l)=>{const{this_:d,these:g,payment:b,payments:x,bills:f,bill:u,report:y,reports:m,they:w,it:a}=T.common.texts,r=n>1;let $=F;e==="bill_pay"?$=H.popUps.delete.title.replace("<_bill_>",r?H.bills:H.bill):$=M.popUps.delete.title.replace("__report__",r?M.reports:M.report);let s=F;return c==="draft"?e==="bill_pay"?s=H.popUps.delete.descriptionDraft.replace("<_this_>",r?g:d).replace("<_bill_>",r?f:u):s=M.popUps.delete.descriptionDraft.replace("<_this_>",r?g:d).replace("__report__",r?m:y):l?s=H.popUps.delete.descriptionRecurring.replace("<_payment_>",r?b:x):e==="bill_pay"?s=H.popUps.delete.descriptionOther.replace("<_this_>",r?g:d).replace("<_bill_>",r?f:u).replace("<_it_>",r?w:a).replace("<_payment_>",r?x:b):s=M.popUps.delete.descriptionOther.replace("<_this_>",r?g:d).replace("__report__",r?m:y).replace("<_it_>",r?w:a).replace("<_payment_>",r?x:b),{title:$,description:s}},rn=(e,n)=>{const c=e.bulkSelectInfo?.bulkSelectExceptionInfo;return n.length===0&&c!=null&&(c==="bookCloseDateProcessing"||c==="noActionRecurring")?"hover_only":"checked_or_hover"},mt=e=>W.isBulkProcessing(e.bulkProcessingDetail?.type)?"info":"alert",sn=o.div`
|
|
666
|
+
`,Wo={lastListItemHeight:new h(200,158)},T=te.getLocalizedStrings(),{common:{texts:{maxLimit:Uo}},spendManagement:{billPay:_t,reimbursement:Ko}}=T,H=_t.bulkActions,M=Ko.bulkActions,F=T.common.strings.empty,me="bulkSelectIds",qo=({transactionList:e,botEmail:n,selectedTab:c,selectedSubTab:l,isShowDeletedBillsEnabled:d,isShowDeletedReimbursementEnabled:g,isBillPayCommentingEnabled:b,isReimbursementCommentingEnabled:x,searchText:f,isAdmin:u,entity:y,uiState:m,bulkSubmissionLimit:w,isBulkActionAllowed:a,transactionsSelectedForBulkAction:r,isDetectInsufficientFundsEnabled:$,fetchState:s,analytics:k,onTransactionRowClick:B,onReloadTransactions:L,onColumnSortConfigChanged:j})=>{const v=Q(),z=S=>{const D=y==="bill_pay"?e[S].vendor?.name??e[S].candidateVendorName??F:e[S].reportTitle??F;return ei(D,v)},K=P.useRef(null);P.useEffect(()=>{K.current?.resetAfterIndex(0)},[v,K,c,l]);const E=P.forwardRef((S,D)=>{const{children:J,style:ie,...re}=S;return t.jsx(bn,{ref:D,style:{...ie,width:"auto"},...re,children:t.jsx(yn,{children:J})})});return E.displayName=T.spendManagement.billPay.billsByTabs.headerElementDisplayName,t.jsx(sn,{children:s==="Error"?t.jsxs(cn,{children:[t.jsx(pn,{onClick:L,children:t.jsx(mn,{})}),t.jsx(un,{children:T.peoplePage.reloadPage.label})]}):s==="Completed"&&e.length===0&&f!=F?t.jsx(et,{message:y==="bill_pay"?T.spendManagement.billPay.billsByTabs.noDataWithFilterText:T.spendManagement.reimbursement.reimbursementByTabs.noDataWithFilterText}):s==="Completed"&&e.length===0?t.jsx(et,{message:y==="bill_pay"?T.spendManagement.billPay.billsByTabs.noDataText:T.spendManagement.reimbursement.reimbursementByTabs.noDataText,orMessage:y==="bill_pay"?T.spendManagement.billPay.billsByTabs.noDataTextViaMail:T.spendManagement.reimbursement.reimbursementByTabs.noDataTextViaMail,emailTextPrefix:y==="bill_pay"?void 0:T.spendManagement.reimbursement.reimbursementByTabs.receiptTo,botEmail:n}):s==="Not-Started"||s==="In-Progress"?t.jsx(Kt,{fetchState:s,styles:{margin:"auto"}}):t.jsx(hn,{windowSize:v,children:t.jsx(qt,{children:({height:S,width:D})=>t.jsx(Ht,{ref:K,height:S,itemCount:y==="bill_pay"||y==="reimbursement"?1:e.length,innerElementType:E,itemSize:z,estimatedItemSize:Yt,itemKey:J=>e[J].id,width:D,overscanCount:Gt,itemData:{entity:y,isBulkActionAllowed:a,isShowDeletedBillsEnabled:d,isShowDeletedReimbursementEnabled:g,isBillPayCommentingEnabled:b,isReimbursementCommentingEnabled:x,transactionList:e,isAdmin:u,selectedTab:c,transactionsSelectedForBulkAction:r,bulkSubmissionLimit:w,uiState:m,analytics:k,isDetectInsufficientFundsEnabled:$,onTransactionRowClick:B,onColumnSortConfigChanged:j},initialScrollOffset:0,children:Ho})})})})},Rn=({transactionList:e,botEmail:n,allSubTabs:c,isAdmin:l,selectedTab:d,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:b,isBillPayCommentingEnabled:x,isReimbursementCommentingEnabled:f,selectedSubTab:u,searchText:y,entity:m,uiState:w,bulkSubmissionLimit:a,isBulkActionAllowed:r,isRecurringBillInBulkActionList:$,transactionsSelectedForBulkAction:s,allowedBulkActions:k,bulkSubmissionFetchState:B,isDetectInsufficientFundsEnabled:L,onTransactionRowClick:j,onSubtabChange:v,fetchState:z,onReloadTransactions:K,onColumnSortConfigChanged:E,analytics:S,updateBulkActionList:D,removeAllTransactionsFromBulkActionList:J,onProceedForBulkActionClick:ie})=>{const re=Et({defaultValues:{bulkSelectIds:s},values:{bulkSelectIds:s}});P.useEffect(()=>{const _=re.watch((I,{name:C})=>{C!=null&&I!=null&&Ft(()=>he(C,I))});return()=>{_.unsubscribe()}});const he=async(_,I)=>{if(_===me){let C=[];if(I[me].includes(T.common.all.toLowerCase())){if(d==="scheduled"&&s.length===0){C=[];for(const A of e)if(A.bulkSelectInfo?.isSelectableForBulkActionSelectAll&&C.push(A.id),C.length===a)break}else C=I[me].filter(A=>A!==T.common.all.toLowerCase());if(m==="bill_pay"){const A=e.filter(fe=>C.includes(fe.id)),oe=W.getBillListUniqueType(A);S?.trackBillPayBulkSelectAll(d,u,oe)}else{const A=e.filter(fe=>C.includes(fe.id)),oe=W.getRemiListUniqueType(A.map(fe=>fe.reimbursementTypesIncluded));S?.trackReimbursementBulkSelectAll(d,u,oe)}}else C=I[me];D?.(C)}},Ee=()=>{k.includes("cancel")?It():Rt()},ge=Q(),[Fe,V]=P.useState(!1),[q,Me]=P.useState({type:F,title:F,description:F,primaryButtonText:F,secondaryButtonText:F});P.useEffect(()=>{const _=Mt(d,u,m);z==="Completed"&&_!=null&&S?.trackPageLoaded(_,m==="bill_pay"?"Bills":"Reimbursements")},[S,d,u,m,z]);const zt=_=>{v(_)},Dt=P.useCallback(()=>{const{title:_,description:I}=ln(m,s.length,d,$);if(Me({type:"delete",title:_,description:I,primaryButtonText:T.common.texts.confirm,secondaryButtonText:T.common.texts.close}),m==="bill_pay"){const C=e.filter(oe=>s.includes(oe.id)),A=W.getBillListUniqueType(C);S?.trackBillPayBulkDeleted(s.length,d,u,A)}else{const C=e.filter(oe=>s.includes(oe.id)),A=W.getRemiListUniqueType(C.map(oe=>oe.reimbursementTypesIncluded));S?.trackReimbursementBulkDeleted(s.length,d,u,A)}V(!0)},[m,S,$,u,d,e,s]),It=P.useCallback(()=>{const{title:_,description:I}=nn(m,s.length);Me({type:"cancel",title:_,description:I,primaryButtonText:T.common.texts.confirm,secondaryButtonText:T.common.texts.close}),V(!0)},[m,s.length]),At={onOkClick:_=>{if(V(!1),m==="bill_pay"){const I=e.filter(A=>s.includes(A.id)),C=W.getBillListUniqueType(I);S?.trackBillPayBulkPopupConfirm(q.type,d,u,C)}else{const I=e.filter(A=>s.includes(A.id)),C=W.getRemiListUniqueType(I.map(A=>A.reimbursementTypesIncluded));S?.trackReimbursementBulkPopupConfirm(q.type,d,u,C)}q.type==="delete"?ie?.("delete",_):ie?.("cancel",_)},onCancelClick:()=>{J?.(),V(!1),Me({type:F,title:F,description:F,primaryButtonText:F,secondaryButtonText:F})}},Rt=P.useCallback(()=>{if(m==="bill_pay"){const _=e.filter(C=>s.includes(C.id)),I=W.getBillListUniqueType(_);S?.trackBillPayBulkSelection(s.length,d,u,I)}else{const _=e.filter(C=>s.includes(C.id)),I=W.getRemiListUniqueType(_.map(C=>C.reimbursementTypesIncluded));S?.trackReimbursementBulkSelection(s.length,d,u,I)}k.includes("send_for_approval")?ie?.("send_for_approval"):ie?.(L?"approve":"review")},[m,k,e,S,s,d,u,ie,L]),Je=k.filter(_=>_!=="delete").length>0;return t.jsxs(dn,{children:[t.jsx(ai,{tabIds:c,selectedTab:u,hasSubTabs:c.length>0,entity:m,enablePerformanceTracking:!1,onTabSelectedChange:zt,isSwitcherLeftAlign:!0}),t.jsx(Nt,{...re,children:t.jsxs(an,{onSubmit:re.handleSubmit(Ee),children:[t.jsx(qo,{botEmail:n,selectedTab:d,selectedSubTab:u,searchText:y,transactionList:e,fetchState:z,onReloadTransactions:K,onTransactionRowClick:j,entity:m,uiState:w,isAdmin:l,onColumnSortConfigChanged:E,analytics:S,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:b,isBillPayCommentingEnabled:x,isReimbursementCommentingEnabled:f,bulkSubmissionLimit:a,isBulkActionAllowed:r,transactionsSelectedForBulkAction:s,isDetectInsufficientFundsEnabled:L}),Fe?t.jsx(Vt,{titleComponent:t.jsx(Wt,{children:q.title}),descriptionComponent:t.jsx(Ot,{children:q.description}),primaryButtonText:q.primaryButtonText,proceedButtonVariant:q.type==="delete"?"danger":"primary",secondaryButtonText:q.secondaryButtonText,action:At,isNotesIncluded:d!=="draft",isEditPopup:!0}):null,s.length>0?t.jsx(Ut,{helperContainerStyle:ge==="small"?{margin:`${i.sp5} ${k.includes("delete")&&Je?i.sp7:i.sp0} ${i.sp2} ${i.sp0}`}:{},showPrimaryButton:Je,primaryBtn:{label:en(m,k,s.length),isLoading:q.type!=="delete"&&B==="In-Progress",isDisabled:q.type==="delete"&&B==="In-Progress",type:"submit",style:tn(k)},cancelBtn:{label:T.common.texts.goBack,isDisabled:B==="In-Progress",onClick:J,style:on(k,ge)},leftSideComponent:Qo(s.length,a,m,ge),rightSideComponent:k.includes("delete")?Jo(s.length,q.type==="delete"&&B==="In-Progress",Dt,ge):null}):null]})})]})},Ho=({style:e,data:n})=>{const{entity:c,transactionList:l,transactionsSelectedForBulkAction:d,isAdmin:g,isBulkActionAllowed:b,isShowDeletedBillsEnabled:x,isShowDeletedReimbursementEnabled:f,isBillPayCommentingEnabled:u,isReimbursementCommentingEnabled:y,bulkSubmissionLimit:m,selectedTab:w,uiState:a,analytics:r,isDetectInsufficientFundsEnabled:$,onTransactionRowClick:s,onColumnSortConfigChanged:k}=n,B=Q(),L=Ue(),j=b?d.length>0?"always_on":"checked_or_hover":"off";return t.jsx(gn,{style:{...e,width:"100%"},className:"spend-management-list-item",children:t.jsx(Jt,{style:{width:"100%"},checkBoxContainerStyle:{gap:i.sp3,width:"auto",marginLeft:B==="small"?i.sp0:i.sp4},labelStyle:{width:"100%"},checkBoxStyle:Zo(B),labelCheckBoxStyle:{marginLeft:B==="small"?i.sp2:i.sp0},checkBoxIconStyle:{backgroundColor:L.colors.grey4},infoIconContainerStyle:Xo(B),name:me,mode:j,selectionLimit:m,checkBoxes:c==="bill_pay"?[{label:t.jsx(gi,{companyNameSticky:!1,currentTab:w,onColumnSortConfigChanged:k,sortConfig:{sortKey:a.sortKey,sortOrder:a.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:T.common.all.toLowerCase(),isException:!1},...l.map(v=>({label:t.jsx(Go,{transactionDetail:v,selectedTab:w,isBillPayCommentingEnabled:u,isShowDeletedBillsEnabled:x,onTransactionRowClick:s,billsSelectedForBulkAction:d,bulkSelectFormId:me,bulkSelectLimit:m,isSelectionMode:j==="always_on",isDetectInsufficientFundsEnabled:$}),value:v.id,groupLabel:!1,defaultChecked:!1,isException:v.bulkSelectInfo?.isSelectableForBulkAction===!1,exceptionMode:rn(v,d),exceptionInfo:pt(c,v),exceptionType:mt(v)}))]:[{label:t.jsx(co,{companyNameSticky:!1,currentTab:w,onColumnSortConfigChanged:k,analytics:r,sortConfig:{sortKey:a.sortKey,sortOrder:a.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:T.common.all.toLowerCase(),isException:!1},...l.map(v=>({label:t.jsx(Yo,{transactionDetail:v,isShowDeletedReimbursementEnabled:f,isReimbursementCommentingEnabled:y,selectedTab:w,isAdmin:g,onTransactionRowClick:s,remisSelectedForBulkAction:d,bulkSelectFormId:me,bulkSelectLimit:m,isSelectionMode:j==="always_on"}),value:v.id,groupLabel:!1,defaultChecked:!1,isException:v.bulkSelectInfo?.isSelectableForBulkAction===!1,exceptionMode:"checked_or_hover",exceptionInfo:pt(c,v),exceptionType:mt(v)}))]})})},Go=({transactionDetail:e,selectedTab:n,isShowDeletedBillsEnabled:c,billsSelectedForBulkAction:l,bulkSelectFormId:d,bulkSelectLimit:g,isBillPayCommentingEnabled:b,isSelectionMode:x,isDetectInsufficientFundsEnabled:f,onTransactionRowClick:u})=>{const y=Q()==="small"?Vi:Ti,m=ii(e,n),{bulkProcessingDetail:w}=e,a=W.isBulkProcessing(w?.type),r=()=>{const B=e.billPayInfo.outsideZeniTransactionPaymentMode;if(B==null||B==="other")return;const L=_t.billDetails.paymentOutsideZeni.paymentModeOptions.find(j=>j.value===B)?.label;return`${T.common.via} ${L}`},$=f&&e.billPayInfo.stage.code==="scheduled"&&!e.isDeleted&&e.totalAmountWithFeesInUSD!=null?oi(e.totalAmountWithFeesInUSD,e.withdrawFrom,e.billPayInfo.paymentDate):void 0,s=ni(e.billPayInfo,n,c,e.isDeleted,e.dueDate),k=$!=null&&s?.code!=="failed"&&s?.code!=="processing"&&s?.code!=="cancelled"&&s?.code!=="returned"&&s?.code!=="rejected"&&s?.code!=="paid";return t.jsx(Lt,{children:t.jsx(y,{reportTitleAdditionalInfo:m,transactionDetail:e,isBillPayCommentingEnabled:b,isSelected:l.includes(e.id),isProcessing:a,isBulkSelectionLimitReached:l.length===g,isSelectionMode:x,bulkSelectFormId:d,tagStatus:s,approvers:e.isDeleted===!0?void 0:ht(e,n),deletionAdditionalInfo:e.isDeleted===!0&&n!=="draft"?ut(e,n):void 0,onTransactionRowClick:a?()=>null:u,paidAdditionalInfo:n==="paid"&&!e.isDeleted?r():void 0,lowBalanceAlert:$,showLowBalanceTooltip:k})})},Yo=({transactionDetail:e,selectedTab:n,isAdmin:c,isShowDeletedReimbursementEnabled:l,isReimbursementCommentingEnabled:d,remisSelectedForBulkAction:g,bulkSelectFormId:b,bulkSelectLimit:x,isSelectionMode:f,onTransactionRowClick:u})=>{const y=Q()==="small"?_o:xo,m=li(c,e.submittedBy),{bulkProcessingDetail:w}=e,a=W.isBulkProcessing(w?.type);return t.jsx(Lt,{children:t.jsx(y,{reportTitleAdditionalInfo:m,reimbursementDetail:e,isReimbursementCommentingEnabled:d,isSelected:g.includes(e.id),isProcessing:a,isBulkSelectionLimitReached:g.length===x,isSelectionMode:f,bulkSelectFormId:b,currentTab:n,date:si(e,n),approvers:e.isDeleted===!0?void 0:ht(e,n),tagStatus:ri(e,n,l),deletionAdditionalInfo:e.isDeleted===!0&&n!=="draft"?ut(e,n):void 0,onTransactionRowClick:a?()=>null:u})})},Zo=e=>{let n={zIndex:1,marginBottom:i.sp3,backgroundColor:"inherit"};return e==="small"&&(n={...n,position:"absolute",left:i.sp1,width:i.sp4,height:i.sp4}),n},Xo=e=>{let n={zIndex:1,marginBottom:i.sp2};return e==="small"&&(n={...n,position:"absolute",left:i.sp2,marginBottom:i.sp1,width:i.sp4,height:i.sp4}),n},Qo=(e,n,c,l)=>{const d=c==="bill_pay"?H.bill:M.report,g=(e>1?d+"s":d)+H.selected;return e>0?t.jsxs($n,{style:l==="small"?{position:"absolute",top:i.sp2,left:`-${i.sp5}`}:{},children:[t.jsx(vn,{multiDigit:e>=10,children:e}),t.jsx(Sn,{children:g}),e===n?t.jsx(kn,{children:Uo}):null]}):null},Jo=(e,n,c,l)=>e>0?t.jsx(xn,{style:l==="small"?{position:"absolute",top:i.sp7,right:`-${i.sp5}`}:{},children:t.jsx(wn,{isLoading:n,windowSize:l,className:"delete-icon-wrapper",onClick:n?()=>null:c,children:n?t.jsx(Zt,{size:"Small",start:!0}):t.jsx(Z,{enterDelay:600,title:T.common.delete,placement:"top",children:t.jsx(fn,{})})})}):null,pt=(e,n)=>{const{bulkProcessingDetail:c,bulkSelectInfo:l}=n,d=W.isBulkProcessing(c?.type),g=c?.type==="error";let b;if(d)b=c?.inProgressMessage;else if(g)b=c.error?.message;else if(l?.bulkSelectExceptionInfo!=null)if(e==="bill_pay"){const{exceptions:x}=T.spendManagement.billPay.bulkActions;b=x[l.bulkSelectExceptionInfo]}else{const{exceptions:x}=T.spendManagement.reimbursement.bulkActions;b=x[l.bulkSelectExceptionInfo]}return b},en=(e,n,c)=>{const{billPay:l}=T.spendManagement;return n.includes("cancel")?e==="reimbursement"?M.popUps.cancel.title.replace("__report__",c>1?M.reports:M.report):l.bulkActions.popUps.cancel.title.replace("<_bill_>",c>1?l.bulkActions.bills:l.bulkActions.bill):n.includes("send_for_approval")?l.billDetails.sendForApproval:T.common.review},tn=e=>{let n;return e.includes("cancel")===!1&&e.includes("send_for_approval")===!1&&(n={minWidth:"92px"}),n},on=(e,n)=>{let c;return n!=="small"&&(e.includes("cancel")?c={minWidth:"116px"}:e.includes("send_for_approval")&&(c={minWidth:"160px"})),c},nn=(e,n)=>{const{this_:c,these:l,payment:d,payments:g,bills:b,bill:x,reports:f,report:u,they:y,it:m}=T.common.texts;return n>1?e==="bill_pay"?{title:H.popUps.cancel.title.replace("<_bill_>",T.drawerMenus.bills),description:H.popUps.cancel.description.replace("<_this_>",l).replace("<_bill_>",b).replace("<_it_>",y).replace("<_payment_>",g)}:{title:M.popUps.cancel.title.replace("__report__",M.reports),description:M.popUps.cancel.description.replace("<_this_>",l).replace("__report__",f).replace("<_it_>",y).replace("<_payment_>",g)}:e==="reimbursement"?{title:M.popUps.cancel.title.replace("__report__",M.report),description:M.popUps.cancel.description.replace("<_this_>",c).replace("__report__",u).replace("<_it_>",m).replace("<_payment_>",d)}:{title:H.popUps.cancel.title.replace("<_bill_>",H.bill),description:H.popUps.cancel.description.replace("<_this_>",c).replace("<_bill_>",x).replace("<_it_>",m).replace("<_payment_>",d)}},ln=(e,n,c,l)=>{const{this_:d,these:g,payment:b,payments:x,bills:f,bill:u,report:y,reports:m,they:w,it:a}=T.common.texts,r=n>1;let $=F;e==="bill_pay"?$=H.popUps.delete.title.replace("<_bill_>",r?H.bills:H.bill):$=M.popUps.delete.title.replace("__report__",r?M.reports:M.report);let s=F;return c==="draft"?e==="bill_pay"?s=H.popUps.delete.descriptionDraft.replace("<_this_>",r?g:d).replace("<_bill_>",r?f:u):s=M.popUps.delete.descriptionDraft.replace("<_this_>",r?g:d).replace("__report__",r?m:y):l?s=H.popUps.delete.descriptionRecurring.replace("<_payment_>",r?b:x):e==="bill_pay"?s=H.popUps.delete.descriptionOther.replace("<_this_>",r?g:d).replace("<_bill_>",r?f:u).replace("<_it_>",r?w:a).replace("<_payment_>",r?x:b):s=M.popUps.delete.descriptionOther.replace("<_this_>",r?g:d).replace("__report__",r?m:y).replace("<_it_>",r?w:a).replace("<_payment_>",r?x:b),{title:$,description:s}},rn=(e,n)=>{const c=e.bulkSelectInfo?.bulkSelectExceptionInfo;return n.length===0&&c!=null&&(c==="bookCloseDateProcessing"||c==="noActionRecurring")?"hover_only":"checked_or_hover"},mt=e=>W.isBulkProcessing(e.bulkProcessingDetail?.type)?"info":"alert",sn=o.div`
|
|
667
667
|
display: block;
|
|
668
668
|
height: 100%;
|
|
669
669
|
`,an=o.form`
|
|
@@ -694,7 +694,7 @@ import{a as Et,c3 as Ft,M as te,l as W,X as J,kM as Mt,j as t,F as Nt,bO as Vt,b
|
|
|
694
694
|
&:hover {
|
|
695
695
|
color: ${e=>e.theme.colors.primary};
|
|
696
696
|
}
|
|
697
|
-
`,un=o(
|
|
697
|
+
`,un=o(Qt)`
|
|
698
698
|
margin-top: ${i.sp3};
|
|
699
699
|
color: ${e=>e.theme.colors.hero};
|
|
700
700
|
`,hn=o.div`
|