@zeniai/web-components 3.16.50 → 3.16.52
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/ACHDetailsPage-BVcyCXGI.cjs +21 -0
- package/dist/ACHDetailsPage-CMgJ1cGK.js +160 -0
- package/dist/AIPerformancePage-DmJvglc7.cjs +530 -0
- package/dist/AIPerformancePage-RHA80n5c.js +1333 -0
- package/dist/AccountInfoPage-Bc9_Gwe0.js +78 -0
- package/dist/AccountInfoPage-BjyJ9T1J.cjs +18 -0
- package/dist/AccountInfoPageContent-D9p4wiMM.js +428 -0
- package/dist/AccountInfoPageContent-DicTbUBZ.cjs +149 -0
- package/dist/AccountLockedInfoModal-B4ZZXnWs.js +125 -0
- package/dist/AccountLockedInfoModal-D8DHxHQo.cjs +59 -0
- package/dist/AccountReconDetailsDrawerPage-DhH6Wuc9.js +686 -0
- package/dist/AccountReconDetailsDrawerPage-DoW4_4hq.cjs +239 -0
- package/dist/AccountRow-BKbPbhBv.js +1009 -0
- package/dist/AccountRow-DJgDUuoK.cjs +298 -0
- package/dist/AccountsPromoCardStack-DkrHu9Zr.js +664 -0
- package/dist/AccountsPromoCardStack-nVhIK3Ua.cjs +207 -0
- package/dist/AddAddressForCardDrawer-BixHVTVO.cjs +6 -0
- package/dist/AddAddressForCardDrawer-DQEeiq5T.js +82 -0
- package/dist/AddToWalletPage-BypNXFHM.js +643 -0
- package/dist/AddToWalletPage-DxMT9uI0.cjs +344 -0
- package/dist/AgingReportsPage--VwBzKGw.cjs +79 -0
- package/dist/AgingReportsPage-DJMmT7Xn.js +827 -0
- package/dist/AllUserItems-DPRLdLrY.cjs +192 -0
- package/dist/AllUserItems-DWOtJQrH.js +979 -0
- package/dist/ApAgingDetailPage-2m52Vsk0.js +239 -0
- package/dist/ApAgingDetailPage-CWI_HXhJ.cjs +46 -0
- package/dist/AppBasePage-D-c1kYif.cjs +71 -0
- package/dist/AppBasePage-DBr8xmLH.js +120 -0
- package/dist/AppDrawerContent-B2cIpSc2.js +375 -0
- package/dist/AppDrawerContent-DEC0Ot7g.cjs +91 -0
- package/dist/ApprovalRulesSettingsPage-CxoVEgTZ.cjs +47 -0
- package/dist/ApprovalRulesSettingsPage-j2VsqliU.js +146 -0
- package/dist/ArAgingChart-CPs_hBl5.js +529 -0
- package/dist/ArAgingChart-DguIKbky.cjs +24 -0
- package/dist/ArAgingDetailPage-B32Ax8qO.js +243 -0
- package/dist/ArAgingDetailPage-Cv7rHu4N.cjs +46 -0
- package/dist/AttachmentView-B6VdSJFc.cjs +101 -0
- package/dist/AttachmentView-Ck8fKhU-.js +260 -0
- package/dist/BankAccountSection-6x7gLafC.js +398 -0
- package/dist/BankAccountSection-Dumjclpj.cjs +79 -0
- package/dist/BankAccountWarningSection-CVPx-LJA.js +110 -0
- package/dist/BankAccountWarningSection-IDpj6Awo.cjs +51 -0
- package/dist/BankConnectionsSettingsPage-CBVBOobW.js +1695 -0
- package/dist/BankConnectionsSettingsPage-DnmO_sXT.cjs +425 -0
- package/dist/BillDetailPage-B8QG5qNr.cjs +266 -0
- package/dist/BillDetailPage-CZ4xtsXl.js +1798 -0
- package/dist/BillPayApprovalRuleDetailPage-DM104sdv.js +247 -0
- package/dist/BillPayApprovalRuleDetailPage-DrA-wTBD.cjs +27 -0
- package/dist/BillPayApprovalRulesPage-BkH2fZoE.js +415 -0
- package/dist/BillPayApprovalRulesPage-Bz5ILEsv.cjs +235 -0
- package/dist/BillPayPromoPage-AprGhhrK.cjs +84 -0
- package/dist/BillPayPromoPage-CdXJx47q.js +293 -0
- package/dist/BillPaySetUpPage-BH9OG18h.js +412 -0
- package/dist/BillPaySetUpPage-CuCIFLXs.cjs +42 -0
- package/dist/BillingSettingsPage-V2clNBp1.js +336 -0
- package/dist/BillingSettingsPage-s6krEaim.cjs +44 -0
- package/dist/BillsBulkReviewDrawerPage-Cg51KjS4.cjs +1 -0
- package/dist/BillsBulkReviewDrawerPage-DDYnb1qu.js +216 -0
- package/dist/BoxItem-D1raF0Bb.js +118 -0
- package/dist/BoxItem-DwhT266c.cjs +53 -0
- package/dist/BusinessVerificationPage-CaD1w4MT.cjs +138 -0
- package/dist/BusinessVerificationPage-oDBXfR2b.js +717 -0
- package/dist/BusyIndication-C0DNfQlA.js +18 -0
- package/dist/BusyIndication-DVOK-Nld.cjs +9 -0
- package/dist/CardNumberSubText-BWV_adMR.cjs +21 -0
- package/dist/CardNumberSubText-DIzhO62e.js +59 -0
- package/dist/CashbackDetailPage-FA_LJDen.js +824 -0
- package/dist/CashbackDetailPage-GaCkaClE.cjs +285 -0
- package/dist/ChargeCardDetailPage-DPCWOLxs.cjs +1462 -0
- package/dist/ChargeCardDetailPage-DQZk45ty.js +5452 -0
- package/dist/ChargeCardListPage-GLJSzGak.cjs +406 -0
- package/dist/ChargeCardListPage-VoDFataV.js +1775 -0
- package/dist/ChargeCardListTable-6S5R0MEF.js +2872 -0
- package/dist/ChargeCardListTable-8gggcsYq.cjs +711 -0
- package/dist/ChargeCardPromoPage-CRe-562K.js +806 -0
- package/dist/ChargeCardPromoPage-CZ9d-avI.cjs +222 -0
- package/dist/ChargeCardSetupPage-7Abtq6ko.cjs +36 -0
- package/dist/ChargeCardSetupPage-CGRfP0Mr.js +362 -0
- package/dist/ChargeCardStatementsPage-BgB-clt5.cjs +60 -0
- package/dist/ChargeCardStatementsPage-BkcDt0NN.js +243 -0
- package/dist/ChargeCardUtils-CpTwaSaz.cjs +1 -0
- package/dist/ChargeCardUtils-Rb7oaOW_.js +102 -0
- package/dist/ChaseOverlay-BU6mQm8r.js +402 -0
- package/dist/ChaseOverlay-C2xcvdJ0.cjs +170 -0
- package/dist/CheckDepositDrawerPage-Bh84fwGY.cjs +206 -0
- package/dist/CheckDepositDrawerPage-ZDT9NLSR.js +726 -0
- package/dist/CollapsableReportTable-BiTfvads.js +11743 -0
- package/dist/CollapsableReportTable-CHIAp3mb.cjs +2932 -0
- package/dist/CompanyOfficerDetailsSection-BLHPb4Kw.js +1633 -0
- package/dist/CompanyOfficerDetailsSection-zscldo57.cjs +260 -0
- package/dist/CompanyPassportCard-C-JE0Sme.js +146 -0
- package/dist/CompanyPassportCard-DzpvLG87.cjs +42 -0
- package/dist/CompanyPassportPage-6TWctrIO.js +2160 -0
- package/dist/CompanyPassportPage-CgUx2gKg.cjs +574 -0
- package/dist/CompleteProfile-C4tYRyUp.js +301 -0
- package/dist/CompleteProfile-CIz4UKZo.cjs +52 -0
- package/dist/ConfettiBurst-BmBbWCB8.cjs +1 -0
- package/dist/ConfettiBurst-VH11V5gf.js +37 -0
- package/dist/CreateOrEditVendorPage-CrVk03Va.js +755 -0
- package/dist/CreateOrEditVendorPage-oWViPknp.cjs +281 -0
- package/dist/CreditCardPaymentDrawerPage-7Ot4RKHT.js +1171 -0
- package/dist/CreditCardPaymentDrawerPage-Db8bYmRZ.cjs +224 -0
- package/dist/CreditCardPaymentPlgSection-C5ePZz_G.cjs +78 -0
- package/dist/CreditCardPaymentPlgSection-DRAYmlBe.js +196 -0
- package/dist/CurrencySelectField-CILhxNIk.cjs +139 -0
- package/dist/CurrencySelectField-Dx5oODVS.js +348 -0
- package/dist/CustomerOnboardingActivationPage-BVyt3npx.js +143 -0
- package/dist/CustomerOnboardingActivationPage-Ba9jlBBV.cjs +88 -0
- package/dist/CustomerOnboardingContainerPage-B1RIbKnn.cjs +1 -0
- package/dist/CustomerOnboardingContainerPage-D8PRZARC.js +7 -0
- package/dist/CustomerOnboardingDetailPageSkeleton-D5j0brjB.js +434 -0
- package/dist/CustomerOnboardingDetailPageSkeleton-bl_sfcgT.cjs +162 -0
- package/dist/CustomerOnboardingNoStepsPage-CSwKHBzM.cjs +66 -0
- package/dist/CustomerOnboardingNoStepsPage-T_yn9Ayl.js +425 -0
- package/dist/CustomerOnboardingPage-B93IuVlm.js +1060 -0
- package/dist/CustomerOnboardingPage-B_HHFeoI.cjs +107 -0
- package/dist/CustomerOnboardingProductSuitePage-CRAGTSaq.cjs +202 -0
- package/dist/CustomerOnboardingProductSuitePage-D7QT4FZr.js +349 -0
- package/dist/Dashboard-DY2pMsaC.cjs +1551 -0
- package/dist/Dashboard-DfZk4OOm.js +5531 -0
- package/dist/DashboardReportPage-B4Q0vEa8.cjs +371 -0
- package/dist/DashboardReportPage-Db_YbCM7.js +2536 -0
- package/dist/DashboardSidebarBackgroundAnimation-BiJt5vqz.js +50 -0
- package/dist/DashboardSidebarBackgroundAnimation-Tk8VqhYj.cjs +12 -0
- package/dist/DepositAccTransactionItem-BEUsQEp1.js +112 -0
- package/dist/DepositAccTransactionItem-CvLbWip0.cjs +76 -0
- package/dist/DepositAccTransactionListPage-B7S68hMu.cjs +66 -0
- package/dist/DepositAccTransactionListPage-sLO10QfC.js +152 -0
- package/dist/DomesticWireDetailsPage-DGIIXs_r.cjs +21 -0
- package/dist/DomesticWireDetailsPage-I5F9LWGB.js +189 -0
- package/dist/DownloadOverlay-Cdgg6jsc.cjs +439 -0
- package/dist/DownloadOverlay-YH6m6XQU.js +2148 -0
- package/dist/DrawerPage-CihI8QEj.js +208 -0
- package/dist/DrawerPage-r2q4QyPy.cjs +118 -0
- package/dist/EditPeoplePage-BBizdrY1.cjs +55 -0
- package/dist/EditPeoplePage-CbeK4UaS.js +392 -0
- package/dist/EditReimbursementDetailPage-C-CnZ_t5.js +4461 -0
- package/dist/EditReimbursementDetailPage-DRgfJ342.cjs +865 -0
- package/dist/EmptySearchResults-Diiqe9ly.js +70 -0
- package/dist/EmptySearchResults-DmWc2rOK.cjs +46 -0
- package/dist/EntityDetailPage-CDQnVOQV.js +82 -0
- package/dist/EntityDetailPage-DQCmaps7.cjs +18 -0
- package/dist/EntitySummarySection-B-tapT4f.js +530 -0
- package/dist/EntitySummarySection-BKfble7P.cjs +149 -0
- package/dist/ExpenseAutomationOverviewPage-DH-h_ZXA.cjs +281 -0
- package/dist/ExpenseAutomationOverviewPage-DMUgRsBS.js +792 -0
- package/dist/ExpenseAutomationPage-B8RlasfH.js +11501 -0
- package/dist/ExpenseAutomationPage-Cg1SQ7BG.cjs +1650 -0
- package/dist/ExpressPayPage--7td4Tic.js +1136 -0
- package/dist/ExpressPayPage-D61-XW8g.cjs +168 -0
- package/dist/FeaturePreviewPage-DwDnuD7s.cjs +11 -0
- package/dist/FeaturePreviewPage-njh-UfiA.js +114 -0
- package/dist/FollowStepsSection-CSP_fyP5.cjs +390 -0
- package/dist/FollowStepsSection-CrDjC1rw.js +1313 -0
- package/dist/GlobalReviewListPage-C59yfQww.cjs +291 -0
- package/dist/GlobalReviewListPage-DoiCdkZa.js +1674 -0
- package/dist/HelpButton-B4oEkhlX.js +81 -0
- package/dist/HelpButton-_G2lRjzl.cjs +28 -0
- package/dist/InformationCardStack-CEJMJYa-.cjs +31 -0
- package/dist/InformationCardStack-CGfX85vD.js +219 -0
- package/dist/InsightsCardStack-B3iYMmmp.js +305 -0
- package/dist/InsightsCardStack-CrmoWwY5.cjs +79 -0
- package/dist/InsightsSection-BuY7NDTY.js +97 -0
- package/dist/InsightsSection-DtVxNGIB.cjs +27 -0
- package/dist/IntegrationsSettingsPage-BgJRrHaz.js +137 -0
- package/dist/IntegrationsSettingsPage-DctUIvuF.cjs +57 -0
- package/dist/InternationalWireSwiftDetailsPage-CgNM0g0m.js +753 -0
- package/dist/InternationalWireSwiftDetailsPage-J8SypJO_.cjs +171 -0
- package/dist/InternationalWireVerificationPage-Bp2fUXM2.cjs +292 -0
- package/dist/InternationalWireVerificationPage-XXJnf58G.js +877 -0
- package/dist/InviteFormPage-BKSd7FY9.cjs +312 -0
- package/dist/InviteFormPage-pO1pxwjB.js +873 -0
- package/dist/InvitePageListView-Cg_xjtjL.cjs +739 -0
- package/dist/InvitePageListView-zHrJmtwL.js +1764 -0
- package/dist/InvitePeoplePage-BjFXlgAf.js +286 -0
- package/dist/InvitePeoplePage-DVdJWQ8j.cjs +12 -0
- package/dist/InvoiceUploadSection-BDW62w3r.cjs +140 -0
- package/dist/InvoiceUploadSection-DXkK4aYY.js +465 -0
- package/dist/IssueChargeCardPage-B0VbxSbJ.cjs +532 -0
- package/dist/IssueChargeCardPage-BW7JrdRK.js +2875 -0
- package/dist/LabeledAddressValue-BMT3Twx4.cjs +49 -0
- package/dist/LabeledAddressValue-Cg2Tq3Gt.js +115 -0
- package/dist/LabeledAddressValueField-BPUvVCuj.cjs +45 -0
- package/dist/LabeledAddressValueField-CkvZpsW_.js +130 -0
- package/dist/LabeledControlledCheckBoxField-CpFAWsn-.js +73 -0
- package/dist/LabeledControlledCheckBoxField-lk_88ywP.cjs +16 -0
- package/dist/LabeledCreatableSingleSelectField-CsWnBmrj.cjs +204 -0
- package/dist/LabeledCreatableSingleSelectField-DNWRY7Ey.js +515 -0
- package/dist/LabeledDocumentField-m1_WB5Gt.js +147 -0
- package/dist/LabeledDocumentField-s0AO_R_0.cjs +41 -0
- package/dist/LabeledDropDownFormattedTextField-7XrwzS1l.js +163 -0
- package/dist/LabeledDropDownFormattedTextField-BWOBmYdk.cjs +59 -0
- package/dist/LabeledEmailInputField-CTGAlHqZ.cjs +182 -0
- package/dist/LabeledEmailInputField-DImMiusn.js +425 -0
- package/dist/LabeledItemWithButton-BImNS-mW.js +74 -0
- package/dist/LabeledItemWithButton-Da41kpML.cjs +21 -0
- package/dist/LabeledNameField-BrupbUaj.js +293 -0
- package/dist/LabeledNameField-DAWlyqnD.cjs +141 -0
- package/dist/LabeledSingleSelectField-1UyiQaA4.cjs +136 -0
- package/dist/LabeledSingleSelectField-Cw385A6j.js +372 -0
- package/dist/LabeledSingleSelectWithoutClearableField-C_bcCLZt.cjs +38 -0
- package/dist/LabeledSingleSelectWithoutClearableField-DheyJqgn.js +103 -0
- package/dist/LabeledText-DdKqgFoU.js +103 -0
- package/dist/LabeledText-nCXp34Ly.cjs +42 -0
- package/dist/LabeledUserSingleSelectWithSubtitlesField-COlqdUo_.js +572 -0
- package/dist/LabeledUserSingleSelectWithSubtitlesField-CwyKza5E.cjs +229 -0
- package/dist/LabeledZeniRolesDropDownField-C7JIbbpV.js +975 -0
- package/dist/LabeledZeniRolesDropDownField-DQVH43Qv.cjs +297 -0
- package/dist/LinkJETransactionPage-CfRAeyJc.cjs +98 -0
- package/dist/LinkJETransactionPage-D1qRHbaA.js +406 -0
- package/dist/LockCardPage-CFlvOVsw.js +2033 -0
- package/dist/LockCardPage-L0Mp6VV2.cjs +623 -0
- package/dist/LowBalancePopup-BXPrjrWM.js +219 -0
- package/dist/LowBalancePopup-FOLHK144.cjs +34 -0
- package/dist/MagicLinkACHDetailsPage-V-uV4CCv.cjs +1 -0
- package/dist/MagicLinkACHDetailsPage-b5gWcTs9.js +39 -0
- package/dist/MagicLinkDomesticWireDetailsPage-DFWfoGv6.cjs +1 -0
- package/dist/MagicLinkDomesticWireDetailsPage-DunZNVc1.js +44 -0
- package/dist/MagicLinkInternationalWireDetailsPage-1w3f5fud.cjs +1 -0
- package/dist/MagicLinkInternationalWireDetailsPage-BewhG2Y-.js +43 -0
- package/dist/MagicLinkSuccessPage-DM1KJn6n.js +59 -0
- package/dist/MagicLinkSuccessPage-rZZe9fuQ.cjs +31 -0
- package/dist/MagicLinkTitleSection-BZZQCdPL.cjs +17 -0
- package/dist/MagicLinkTitleSection-CymRElk-.js +40 -0
- package/dist/MailingDetailsSection-BOu2MkGP.js +74 -0
- package/dist/MailingDetailsSection-Dy4eVWeP.cjs +21 -0
- package/dist/MatchingOperatorDropdown-BOm04nO8.cjs +130 -0
- package/dist/MatchingOperatorDropdown-C5NPRfBK.js +572 -0
- package/dist/MeetingCalenderPopup-CNVAnAtx.js +60 -0
- package/dist/MeetingCalenderPopup-Cp5O3796.cjs +26 -0
- package/dist/Menu-BB9LRH61.cjs +17 -0
- package/dist/Menu-Cu6MQ0Mp.js +110 -0
- package/dist/MoreMenuButton-DFOctBe-.cjs +167 -0
- package/dist/MoreMenuButton-DHlHv1tD.js +569 -0
- package/dist/MyBankConnectionsSettingsPage-IhOwVqKo.js +297 -0
- package/dist/MyBankConnectionsSettingsPage-qulfsztk.cjs +110 -0
- package/dist/MyPendingActivationChargeCardListPage-CpI2nuHd.cjs +6 -0
- package/dist/MyPendingActivationChargeCardListPage-D7EOGf4a.js +168 -0
- package/dist/MyProfileSettingsPage-C0zzlhQS.cjs +85 -0
- package/dist/MyProfileSettingsPage-bCV-I8Ji.js +641 -0
- package/dist/NavBarWithPicker-B_rvx-PV.cjs +30 -0
- package/dist/NavBarWithPicker-CpvxN2Hn.js +106 -0
- package/dist/NavigationArrow-CTUj89FU.cjs +47 -0
- package/dist/NavigationArrow-DJ3GkCuv.js +88 -0
- package/dist/NavigationDots-4Cf0ia_d.cjs +15 -0
- package/dist/NavigationDots-COeMhprl.js +44 -0
- package/dist/NewGlobalMerchantPage-B0KaR3M3.js +543 -0
- package/dist/NewGlobalMerchantPage-DdhqLr3O.cjs +160 -0
- package/dist/NoDataChart-BWJlcWo_.cjs +26 -0
- package/dist/NoDataChart-BqHCJbkE.js +58 -0
- package/dist/NoDataTable-BSY2svSt.cjs +8 -0
- package/dist/NoDataTable-CLpVffwh.js +27 -0
- package/dist/NotFoundPage-CWvJ31b4.cjs +46 -0
- package/dist/NotFoundPage-D0Owpo17.js +71 -0
- package/dist/NotificationSettingsPage-D7lX53o2.cjs +163 -0
- package/dist/NotificationSettingsPage-XnGjNZTH.js +541 -0
- package/dist/NotificationsListConfig-CpHf2B70.cjs +1 -0
- package/dist/NotificationsListConfig-DCB_vMvp.js +10 -0
- package/dist/NotificationsPage-CydWg7IG.cjs +685 -0
- package/dist/NotificationsPage-DTky0NXR.js +2664 -0
- package/dist/OpExByVendorPage-CdRjokmO.cjs +100 -0
- package/dist/OpExByVendorPage-Dqpt3_-D.js +1057 -0
- package/dist/PandLWithForecastPage-BKTbR4LX.cjs +107 -0
- package/dist/PandLWithForecastPage-DtfmkqVV.js +563 -0
- package/dist/PaymentAccountSetupBillingAddressSection-BvcrD1e7.js +623 -0
- package/dist/PaymentAccountSetupBillingAddressSection-DqDsK0qo.cjs +106 -0
- package/dist/PeoplePage-CWHu0Sq9.js +1994 -0
- package/dist/PeoplePage-DwCvSr1d.cjs +675 -0
- package/dist/PortfolioAllocationFormPage-BegnBtWP.js +440 -0
- package/dist/PortfolioAllocationFormPage-DeIOYJka.cjs +207 -0
- package/dist/PortfolioDetails-BMjIXnjv.cjs +218 -0
- package/dist/PortfolioDetails-C4QFrCtd.js +653 -0
- package/dist/ProductsCarousel-BUPhoNKF.cjs +142 -0
- package/dist/ProductsCarousel-vY6fb_eY.js +309 -0
- package/dist/PromoBaseCards-C9tkV0u3.js +356 -0
- package/dist/PromoBaseCards-DmnXEjXY.cjs +218 -0
- package/dist/QBOConnectionDialog-DGgIZaZo.js +115 -0
- package/dist/QBOConnectionDialog-DrJquhrB.cjs +51 -0
- package/dist/QBOSetupSection-BSxDEPFX.cjs +79 -0
- package/dist/QBOSetupSection-Bzn_0eHF.js +167 -0
- package/dist/ReimbursementApprovalRuleDetailPage-DMWpv1Tv.cjs +26 -0
- package/dist/ReimbursementApprovalRuleDetailPage-YG-ZmSOq.js +247 -0
- package/dist/ReimbursementApprovalRulesPage-BHLjY5jH.js +410 -0
- package/dist/ReimbursementApprovalRulesPage-DvuCkDRs.cjs +237 -0
- package/dist/ReimbursementDetailPage-BWH9h8Ql.js +1511 -0
- package/dist/ReimbursementDetailPage-DqfWzKMR.cjs +314 -0
- package/dist/ReimbursementPromoPage-hg4-K7R2.js +364 -0
- package/dist/ReimbursementPromoPage-vuncw9IQ.cjs +84 -0
- package/dist/ReimbursementSetUpPage-DEOEKkRD.js +666 -0
- package/dist/ReimbursementSetUpPage-DwLCTfnK.cjs +140 -0
- package/dist/ReimbursementsBulkReviewDrawerPage-Dp9R9CFi.cjs +1 -0
- package/dist/ReimbursementsBulkReviewDrawerPage-KQYb9ZYP.js +204 -0
- package/dist/ReloadCard-C2deKpUV.cjs +26 -0
- package/dist/ReloadCard-CpK3iKky.js +137 -0
- package/dist/ReloadContainer-BbndNYlr.cjs +596 -0
- package/dist/ReloadContainer-BhOqapez.js +2144 -0
- package/dist/ReportTableViewSelector-BEFasQ5C.cjs +150 -0
- package/dist/ReportTableViewSelector-oEZJG-zS.js +679 -0
- package/dist/ReportsPage-CD0iTURd.cjs +121 -0
- package/dist/ReportsPage-DNoDjph9.js +1315 -0
- package/dist/RevenueChart-BlGrs9ak.js +2239 -0
- package/dist/RevenueChart-CWvjhQJ-.cjs +280 -0
- package/dist/ReviewDetailsPage-Cdi9MQxN.cjs +290 -0
- package/dist/ReviewDetailsPage-CkXJg8qx.js +1073 -0
- package/dist/ReviewOverlay-BMU8VF2T.cjs +152 -0
- package/dist/ReviewOverlay-CCY42ZWV.js +299 -0
- package/dist/RoleWithToolTip-DA-5sRXq.js +72 -0
- package/dist/RoleWithToolTip-DDEb4hve.cjs +22 -0
- package/dist/ScheduleDetailsFixedAssetsPage-POQ8HSB7.cjs +37 -0
- package/dist/ScheduleDetailsFixedAssetsPage-SJlqU94b.js +806 -0
- package/dist/ScheduleDetailsPage-C93IHJhN.cjs +37 -0
- package/dist/ScheduleDetailsPage-CMHXURZB.js +726 -0
- package/dist/ScheduleSequenceTable-BMFGUgOW.cjs +324 -0
- package/dist/ScheduleSequenceTable-BNbnuQqL.js +1261 -0
- package/dist/SetUpAccountSection-D3HnpU-o.cjs +378 -0
- package/dist/SetUpAccountSection-DWaLPi04.js +1470 -0
- package/dist/SetUpDefaultSection-B71W3tyT.cjs +187 -0
- package/dist/SetUpDefaultSection-He_L-zlp.js +537 -0
- package/dist/SignIn-BBVGBbVX.cjs +448 -0
- package/dist/SignIn-DK_-VKvi.js +1075 -0
- package/dist/SpendManagementListViewPage-BQ4n_NDa.js +627 -0
- package/dist/SpendManagementListViewPage-CSyUkZNx.cjs +122 -0
- package/dist/SpendManagementPerTabPage-BdNDQwMw.cjs +754 -0
- package/dist/SpendManagementPerTabPage-rr4-wmBx.js +2735 -0
- package/dist/SpendManagementSection-B2iLYwhO.js +1043 -0
- package/dist/SpendManagementSection-CtoJF1Gi.cjs +230 -0
- package/dist/SpendMgmtSetupAccountSection-BVmO2Kcd.cjs +206 -0
- package/dist/SpendMgmtSetupAccountSection-bwI5SMzd.js +875 -0
- package/dist/StatementItem-CI0Rf-3v.cjs +31 -0
- package/dist/StatementItem-Crb860tq.js +81 -0
- package/dist/StatementsPage-Cz-et-ED.cjs +58 -0
- package/dist/StatementsPage-DQxoheUL.js +130 -0
- package/dist/StatusSwitcher-BYK_d7uO.cjs +120 -0
- package/dist/StatusSwitcher-CpSTk6fh.js +319 -0
- package/dist/SubTabSwitcher-CvFfDi4R.js +113 -0
- package/dist/SubTabSwitcher-DVNlHEvi.cjs +58 -0
- package/dist/SuccessAnimation-BzqUxiZg.cjs +13 -0
- package/dist/SuccessAnimation-CdxAnS6v.js +52 -0
- package/dist/SummaryCard-BEIFbp5R.cjs +1 -0
- package/dist/SummaryCard-DLrFJAYR.js +25 -0
- package/dist/TaskDetailPage-DFE10-Df.js +2533 -0
- package/dist/TaskDetailPage-P7hnPeE9.cjs +775 -0
- package/dist/TaskListRow-6o6TfVPg.cjs +556 -0
- package/dist/TaskListRow-DMLTvsH0.js +1950 -0
- package/dist/TaskManagementPage-Dh0U-AEL.cjs +508 -0
- package/dist/TaskManagementPage-gmghCTe0.js +1935 -0
- package/dist/TimeRangeSwitcher-DC1U5ZDQ.cjs +64 -0
- package/dist/TimeRangeSwitcher-pGymI1rn.js +265 -0
- package/dist/TimeframeSwitcher-BNWadFX9.js +103 -0
- package/dist/TimeframeSwitcher-CrLcH7yk.cjs +31 -0
- package/dist/TimeframeSwitcherWithToggle-BSY_mtTE.cjs +31 -0
- package/dist/TimeframeSwitcherWithToggle-Bl6jOrhs.js +157 -0
- package/dist/TopExCard-BR2WZqdU.js +568 -0
- package/dist/TopExCard-CV15x4zn.cjs +38 -0
- package/dist/TopExDetailPage-DclP8tyI.js +318 -0
- package/dist/TopExDetailPage-OZLo9Ue9.cjs +132 -0
- package/dist/TransactionDetailPage-CRdTaUm_.js +5238 -0
- package/dist/TransactionDetailPage-D2CcdX1q.cjs +912 -0
- package/dist/TransactionList-CPVAoxeJ.js +558 -0
- package/dist/TransactionList-t2UmC76h.cjs +147 -0
- package/dist/TransactionListBig-BBj0CyKr.js +658 -0
- package/dist/TransactionListBig-CJI4zTwP.cjs +284 -0
- package/dist/TransactionListPage-BV5zYdaJ.js +144 -0
- package/dist/TransactionListPage-D_adczjW.cjs +35 -0
- package/dist/TransactionVendorDetailPage-CS1ncz4J.cjs +80 -0
- package/dist/TransactionVendorDetailPage-DsO_7w9f.js +425 -0
- package/dist/TransferDrawerPage-Dx_oh8lv.cjs +362 -0
- package/dist/TransferDrawerPage-Dyb8vOaI.js +1435 -0
- package/dist/TreasuryOverviewPage-BhTUtEPE.cjs +708 -0
- package/dist/TreasuryOverviewPage-DWK-wAnQ.js +1890 -0
- package/dist/TreasuryPromoPage-Di6IQID9.cjs +505 -0
- package/dist/TreasuryPromoPage-n2b9dFkR.js +1123 -0
- package/dist/TreasurySetupPage-DH0UR-dy.cjs +144 -0
- package/dist/TreasurySetupPage-DbcesrJc.js +683 -0
- package/dist/TreasuryStatementsPage-D66FOMsz.js +131 -0
- package/dist/TreasuryStatementsPage-D7LypAv1.cjs +58 -0
- package/dist/TreasuryTaxLetterPage-CaosFHWy.cjs +58 -0
- package/dist/TreasuryTaxLetterPage-idn6oRse.js +131 -0
- package/dist/TreasuryTransferOrReviewPage-D-5wLfD4.js +1938 -0
- package/dist/TreasuryTransferOrReviewPage-XZwWPqaQ.cjs +576 -0
- package/dist/TrendChart-BN-l9UYs.cjs +16 -0
- package/dist/TrendChart-DqWZYuvO.js +333 -0
- package/dist/TrendWithTransactions-Dqn9bFON.js +346 -0
- package/dist/TrendWithTransactions-DtHJA3kT.cjs +116 -0
- package/dist/UncategorizedAccountsMappingPage-C0SYuE3d.cjs +244 -0
- package/dist/UncategorizedAccountsMappingPage-CI7PS9WF.js +1160 -0
- package/dist/UnitIntegrationPage-CBehjncP.cjs +67 -0
- package/dist/UnitIntegrationPage-byKcxHJ5.js +405 -0
- package/dist/UploadAdditionalDocumentOverlay-BMXKiTI6.cjs +38 -0
- package/dist/UploadAdditionalDocumentOverlay-CQJ8BiZt.js +211 -0
- package/dist/Vendor2FAPopup-Bz2N_Z_B.js +69 -0
- package/dist/Vendor2FAPopup-_sptmQq_.cjs +1 -0
- package/dist/VendorACHDetailsPage-Dk2Ukuh8.cjs +1 -0
- package/dist/VendorACHDetailsPage-sjTazeaT.js +43 -0
- package/dist/VendorDetailPage-CYI0vhlZ.js +1236 -0
- package/dist/VendorDetailPage-CgT8Sf8g.cjs +257 -0
- package/dist/VendorDomesticWireDetailsPage-DXtZZKJX.js +53 -0
- package/dist/VendorDomesticWireDetailsPage-_33PMy2A.cjs +1 -0
- package/dist/VendorFiling1099EditablePage-BQqzBWiK.js +842 -0
- package/dist/VendorFiling1099EditablePage-D01UbEbL.cjs +175 -0
- package/dist/VendorFirstReviewPage-BroRV3Jd.cjs +730 -0
- package/dist/VendorFirstReviewPage-BydF-zx0.js +2748 -0
- package/dist/VendorInternationalWireDetailsPage-BlezCgOg.cjs +152 -0
- package/dist/VendorInternationalWireDetailsPage-CZ3FWng6.js +968 -0
- package/dist/VendorInternationalWireSwiftDetailsPage-BtiNotg-.js +52 -0
- package/dist/VendorInternationalWireSwiftDetailsPage-D5gtl3eI.cjs +1 -0
- package/dist/VendorsAccountsSection-B20X-0bm.cjs +68 -0
- package/dist/VendorsAccountsSection-CQQcqnp7.js +279 -0
- package/dist/VerifyDevice-CNlq40ss.js +298 -0
- package/dist/VerifyDevice-GaVu5hz9.cjs +112 -0
- package/dist/VideoPlayer-BN_dGAvT.cjs +77 -0
- package/dist/VideoPlayer-ClKEd_qa.js +169 -0
- package/dist/VideoPopup-DEWbEJ75.js +60 -0
- package/dist/VideoPopup-DqtFz1ab.cjs +31 -0
- package/dist/WarningsDrawerPage-CByprh_g.js +228 -0
- package/dist/WarningsDrawerPage-DjQng2ma.cjs +92 -0
- package/dist/ZeniAccountDetailPage-4TQgTid5.js +907 -0
- package/dist/ZeniAccountDetailPage-CJEx06Je.cjs +300 -0
- package/dist/ZeniAccountListViewPage-B3iEJKRU.cjs +441 -0
- package/dist/ZeniAccountListViewPage-qD7VoeQ2.js +1078 -0
- package/dist/ZeniAccountNavBarPieces-BF2yqK-Y.cjs +14 -0
- package/dist/ZeniAccountNavBarPieces-J53UyPBo.js +89 -0
- package/dist/ZeniAccountPromoPage-DvMlld08.js +523 -0
- package/dist/ZeniAccountPromoPage-y0GX-zY1.cjs +184 -0
- package/dist/ZeniAccountSetupPage-BQviinSy.cjs +36 -0
- package/dist/ZeniAccountSetupPage-Ctj4wYK7.js +312 -0
- package/dist/ZeniAvatar-C2Ceuv6k.cjs +13 -0
- package/dist/ZeniAvatar-DJ0jQPZb.js +34 -0
- package/dist/ZeniCopyright-Bj0uiriW.cjs +1 -0
- package/dist/ZeniCopyright-Dowsov_B.js +9 -0
- package/dist/ZeniDatePicker-BCrRoc3y.cjs +187 -0
- package/dist/ZeniDatePicker-D0CxiVfS.js +386 -0
- package/dist/ZeniTransferAmountSlider-BbMEETxN.js +215 -0
- package/dist/ZeniTransferAmountSlider-DCXs1_7M.cjs +63 -0
- package/dist/analyticsHelper-C8OjhThI.cjs +1 -0
- package/dist/analyticsHelper-Dtr9Pfx_.js +65 -0
- package/dist/assets/interface/flux-analysis-placeholder.svg +14 -0
- package/dist/calculateSize-OanZtVgQ.cjs +1 -0
- package/dist/calculateSize-oWQ8y5Cm.js +22 -0
- package/dist/chartTypes-BOtv_Qyt.js +47 -0
- package/dist/chartTypes-ZSu-NyG9.cjs +1 -0
- package/dist/cockpit.cjs.js +2 -2
- package/dist/cockpit.esm.js +15 -15
- package/dist/common-CoLfsPgf.cjs +1 -0
- package/dist/common-DAcVD3yl.js +22 -0
- package/dist/commonDimensions-BRVL6kg4.cjs +1 -0
- package/dist/commonDimensions-BVYRkutP.js +13 -0
- package/dist/detailCommon-Bf6S4Rde.cjs +38 -0
- package/dist/detailCommon-BsIpYHeH.js +124 -0
- package/dist/downloadPdf-DQIFB4bS.js +32 -0
- package/dist/downloadPdf-yHy-YaG-.cjs +1 -0
- package/dist/index-Bove2J7o.js +85982 -0
- package/dist/index-DBt4VX1a.cjs +19250 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mapLoadingInProgressToTreeNode-C5LYHc0Q.js +25 -0
- package/dist/mapLoadingInProgressToTreeNode-CQJDTb81.cjs +1 -0
- package/dist/mapSectionWithAcOnlyToTreeNode-BJLcVATY.cjs +1 -0
- package/dist/mapSectionWithAcOnlyToTreeNode-BOm_ik4B.js +388 -0
- package/dist/mapSpacerToTreeNode-DYp2d0pB.cjs +1 -0
- package/dist/mapSpacerToTreeNode-DbgbUCkC.js +25 -0
- package/dist/mapTimeframeBalancesToTreeNode-B_PesTPC.js +24 -0
- package/dist/mapTimeframeBalancesToTreeNode-C8tUogIe.cjs +1 -0
- package/dist/mapTimeframeBalancesToTreeNode-Cd_Q_CeL.js +24 -0
- package/dist/mapTimeframeBalancesToTreeNode-zdQIWuT7.cjs +1 -0
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-B1ZGUSLu.js +32 -0
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-C1wGR8yF.cjs +1 -0
- package/dist/sectionColor-BNRV5VEj.cjs +1 -0
- package/dist/sectionColor-DXGzBYE5.js +32 -0
- package/dist/toCOABalancesWithID-CD6AMXij.js +8 -0
- package/dist/toCOABalancesWithID-DEbNVukZ.cjs +1 -0
- package/dist/toChartData-B2D5ypu5.js +76 -0
- package/dist/toChartData-D8lgIjzA.cjs +1 -0
- package/dist/treasuryColorHelper-Bg0esw6P.js +60 -0
- package/dist/treasuryColorHelper-VtEP8_sn.cjs +1 -0
- package/dist/uploadAttachment-CDV1yxfK.cjs +286 -0
- package/dist/uploadAttachment-Cjtei7R6.js +952 -0
- package/dist/zeniDatePicker.helpers-CQENqyun.js +14 -0
- package/dist/zeniDatePicker.helpers-CuOKh9xn.cjs +1 -0
- package/package.json +1 -1
- package/dist/ACHDetailsPage-C3oTuQH9.cjs +0 -21
- package/dist/ACHDetailsPage-oAnfc9Qe.js +0 -160
- package/dist/AIPerformancePage-Ccj_miRk.js +0 -1333
- package/dist/AIPerformancePage-DQbFyBig.cjs +0 -530
- package/dist/AccountInfoPage-B5JL7WWD.js +0 -78
- package/dist/AccountInfoPage-Cq-PbCvB.cjs +0 -18
- package/dist/AccountInfoPageContent-BLL9w6V9.cjs +0 -149
- package/dist/AccountInfoPageContent-BfxVO67L.js +0 -428
- package/dist/AccountLockedInfoModal-Cf6hufyW.js +0 -125
- package/dist/AccountLockedInfoModal-Cu1JWouw.cjs +0 -59
- package/dist/AccountReconDetailsDrawerPage-CHKg2A_S.cjs +0 -239
- package/dist/AccountReconDetailsDrawerPage-X4_PFuUR.js +0 -686
- package/dist/AccountRow-B1K0c0h_.cjs +0 -298
- package/dist/AccountRow-B77EmFJc.js +0 -1009
- package/dist/AccountsPromoCardStack-BIIf2ZPZ.js +0 -664
- package/dist/AccountsPromoCardStack-DLSAA7tE.cjs +0 -207
- package/dist/AddAddressForCardDrawer-CDOZD9U3.cjs +0 -6
- package/dist/AddAddressForCardDrawer-MFS0CRWD.js +0 -82
- package/dist/AddToWalletPage-BLIMFBOq.js +0 -643
- package/dist/AddToWalletPage-Dt1n-LzC.cjs +0 -344
- package/dist/AgingReportsPage-Cy_5Ngvw.cjs +0 -79
- package/dist/AgingReportsPage-Y4cwDZ2T.js +0 -827
- package/dist/AllUserItems-CppSq8ui.cjs +0 -192
- package/dist/AllUserItems-D7M2OrxF.js +0 -979
- package/dist/ApAgingDetailPage-7VPB3iYQ.js +0 -239
- package/dist/ApAgingDetailPage-C-2o55_R.cjs +0 -46
- package/dist/AppBasePage-DpSov7YW.js +0 -120
- package/dist/AppBasePage-Dr6YUyoY.cjs +0 -71
- package/dist/AppDrawerContent-B7FNPrbs.cjs +0 -91
- package/dist/AppDrawerContent-CX7LQrKf.js +0 -375
- package/dist/ApprovalRulesSettingsPage-Cx_HIc5p.js +0 -146
- package/dist/ApprovalRulesSettingsPage-EFbulXdl.cjs +0 -47
- package/dist/ArAgingChart-C4EBFUg6.js +0 -529
- package/dist/ArAgingChart-D7Xp3oLC.cjs +0 -24
- package/dist/ArAgingDetailPage-De_1Ts78.cjs +0 -46
- package/dist/ArAgingDetailPage-VPO0RVcb.js +0 -243
- package/dist/AttachmentView-C5-ZqgK_.js +0 -260
- package/dist/AttachmentView-DbUCeA2N.cjs +0 -101
- package/dist/BankAccountSection-0Yln6csc.cjs +0 -79
- package/dist/BankAccountSection-Cpoe0xvv.js +0 -398
- package/dist/BankAccountWarningSection-DGNegYkP.cjs +0 -51
- package/dist/BankAccountWarningSection-rJ5lRXiY.js +0 -110
- package/dist/BankConnectionsSettingsPage-BdFUXNze.cjs +0 -425
- package/dist/BankConnectionsSettingsPage-DqZkfqL8.js +0 -1695
- package/dist/BillDetailPage-D0vRQUXY.cjs +0 -266
- package/dist/BillDetailPage-aTRV9hvz.js +0 -1798
- package/dist/BillPayApprovalRuleDetailPage-BPtXueBv.cjs +0 -27
- package/dist/BillPayApprovalRuleDetailPage-kAS0qP_b.js +0 -247
- package/dist/BillPayApprovalRulesPage-DUNR0TAP.cjs +0 -235
- package/dist/BillPayApprovalRulesPage-e2WUruZo.js +0 -415
- package/dist/BillPayPromoPage-B6QbvfLx.cjs +0 -84
- package/dist/BillPayPromoPage-MdrCCP1g.js +0 -293
- package/dist/BillPaySetUpPage-BFudxLlh.js +0 -412
- package/dist/BillPaySetUpPage-BSIveEl_.cjs +0 -42
- package/dist/BillingSettingsPage-Def2ja0X.cjs +0 -44
- package/dist/BillingSettingsPage-WNHpoOPp.js +0 -336
- package/dist/BillsBulkReviewDrawerPage-BUZB2S49.js +0 -216
- package/dist/BillsBulkReviewDrawerPage-C1pLyqgF.cjs +0 -1
- package/dist/BoxItem-C1KRBJyb.js +0 -118
- package/dist/BoxItem-DkHB7YOD.cjs +0 -53
- package/dist/BusinessVerificationPage-BCFqIPD7.js +0 -717
- package/dist/BusinessVerificationPage-CJ-RUHrl.cjs +0 -138
- package/dist/BusyIndication-7HaXdVVy.js +0 -18
- package/dist/BusyIndication-R3-0Sevq.cjs +0 -9
- package/dist/CardNumberSubText-CroTPlR-.cjs +0 -21
- package/dist/CardNumberSubText-D4IvYhhc.js +0 -59
- package/dist/CashbackDetailPage-B4GOD3eK.cjs +0 -285
- package/dist/CashbackDetailPage-C4IFLy59.js +0 -824
- package/dist/ChargeCardDetailPage-CNhoPEGF.js +0 -5452
- package/dist/ChargeCardDetailPage-DB2PsOVK.cjs +0 -1462
- package/dist/ChargeCardListPage-BnvKazY9.js +0 -1775
- package/dist/ChargeCardListPage-QkAtUtSh.cjs +0 -406
- package/dist/ChargeCardListTable-C7fbRhmd.cjs +0 -711
- package/dist/ChargeCardListTable-CyZ2zKLL.js +0 -2872
- package/dist/ChargeCardPromoPage-CPQosiEL.js +0 -806
- package/dist/ChargeCardPromoPage-DmsOnTDa.cjs +0 -222
- package/dist/ChargeCardSetupPage-BN8f43fH.js +0 -362
- package/dist/ChargeCardSetupPage-CGCSU-y1.cjs +0 -36
- package/dist/ChargeCardStatementsPage-BIo4NZqi.js +0 -243
- package/dist/ChargeCardStatementsPage-xKaHYdu-.cjs +0 -60
- package/dist/ChargeCardUtils-Bj-etojH.js +0 -102
- package/dist/ChargeCardUtils-CNk7VcH5.cjs +0 -1
- package/dist/ChaseOverlay-DO2J-ha8.js +0 -402
- package/dist/ChaseOverlay-Ds0JMhEx.cjs +0 -170
- package/dist/CheckDepositDrawerPage-EBi85L9l.cjs +0 -206
- package/dist/CheckDepositDrawerPage-nP9rDa_f.js +0 -726
- package/dist/CollapsableReportTable-91ayVVPk.js +0 -11743
- package/dist/CollapsableReportTable-lHY4AzZ8.cjs +0 -2932
- package/dist/CompanyOfficerDetailsSection-BdVMTA_t.js +0 -1633
- package/dist/CompanyOfficerDetailsSection-ClqFsO1O.cjs +0 -260
- package/dist/CompanyPassportCard-CEHrp5go.js +0 -146
- package/dist/CompanyPassportCard-CbwScRVY.cjs +0 -42
- package/dist/CompanyPassportPage-DXA8Jrw8.cjs +0 -574
- package/dist/CompanyPassportPage-seCTNLzj.js +0 -2160
- package/dist/CompleteProfile-DqBCKtfM.cjs +0 -52
- package/dist/CompleteProfile-r8iQXZOm.js +0 -301
- package/dist/ConfettiBurst-B9OgeEa4.js +0 -37
- package/dist/ConfettiBurst-BU9WlJks.cjs +0 -1
- package/dist/CreateOrEditVendorPage-C1j5QAJc.cjs +0 -281
- package/dist/CreateOrEditVendorPage-DbD65I3-.js +0 -755
- package/dist/CreditCardPaymentDrawerPage-DY7s4qjw.js +0 -1171
- package/dist/CreditCardPaymentDrawerPage-fY5RQdEz.cjs +0 -224
- package/dist/CreditCardPaymentPlgSection-CHdeuliB.cjs +0 -78
- package/dist/CreditCardPaymentPlgSection-Do0TNB0_.js +0 -196
- package/dist/CurrencySelectField-BLaYJ0lH.cjs +0 -139
- package/dist/CurrencySelectField-CKx6YVVh.js +0 -348
- package/dist/CustomerOnboardingActivationPage-4BFB84FC.js +0 -143
- package/dist/CustomerOnboardingActivationPage-D2_nCo3z.cjs +0 -88
- package/dist/CustomerOnboardingContainerPage-CBHKGT3e.cjs +0 -1
- package/dist/CustomerOnboardingContainerPage-CxtDlG2N.js +0 -7
- package/dist/CustomerOnboardingDetailPageSkeleton-DhEbhX8w.cjs +0 -162
- package/dist/CustomerOnboardingDetailPageSkeleton-Kt2KUVtC.js +0 -434
- package/dist/CustomerOnboardingNoStepsPage-f-5Xbj9V.cjs +0 -66
- package/dist/CustomerOnboardingNoStepsPage-tLqnMarT.js +0 -425
- package/dist/CustomerOnboardingPage-CyQtg_ib.cjs +0 -107
- package/dist/CustomerOnboardingPage-VNBp5Ije.js +0 -1060
- package/dist/CustomerOnboardingProductSuitePage-BNjCYCxr.js +0 -349
- package/dist/CustomerOnboardingProductSuitePage-BwQPDLMB.cjs +0 -202
- package/dist/Dashboard-0-g0Dzk8.cjs +0 -1551
- package/dist/Dashboard-CPEaq6Ef.js +0 -5531
- package/dist/DashboardReportPage-BnOZ3rQO.js +0 -2536
- package/dist/DashboardReportPage-DPbLqYWz.cjs +0 -371
- package/dist/DashboardSidebarBackgroundAnimation-BFQ4TsuR.cjs +0 -12
- package/dist/DashboardSidebarBackgroundAnimation-D_d0ozKC.js +0 -50
- package/dist/DepositAccTransactionItem-B00nhGCT.cjs +0 -76
- package/dist/DepositAccTransactionItem-DRKEJqSS.js +0 -112
- package/dist/DepositAccTransactionListPage-ByAW_5Sg.cjs +0 -66
- package/dist/DepositAccTransactionListPage-uyKvgRpL.js +0 -152
- package/dist/DomesticWireDetailsPage-Cc1RZW1z.cjs +0 -21
- package/dist/DomesticWireDetailsPage-DOd_8Yf7.js +0 -189
- package/dist/DownloadOverlay-B9ZMsi8M.js +0 -2148
- package/dist/DownloadOverlay-D5nC2wtC.cjs +0 -439
- package/dist/DrawerPage-9DxdPl40.js +0 -208
- package/dist/DrawerPage-BOQu0wTD.cjs +0 -118
- package/dist/EditPeoplePage-BODfrY16.cjs +0 -55
- package/dist/EditPeoplePage-_6h3BeMH.js +0 -392
- package/dist/EditReimbursementDetailPage-C4yQFOSc.js +0 -4461
- package/dist/EditReimbursementDetailPage-DaD2_V7i.cjs +0 -865
- package/dist/EmptySearchResults-C_DFDYmn.js +0 -70
- package/dist/EmptySearchResults-Zmq_xi-n.cjs +0 -46
- package/dist/EntityDetailPage-D7y6vJkF.js +0 -82
- package/dist/EntityDetailPage-Do8cEQYj.cjs +0 -18
- package/dist/EntitySummarySection-B_IEQFBn.cjs +0 -149
- package/dist/EntitySummarySection-BuV1ByG2.js +0 -530
- package/dist/ExpenseAutomationOverviewPage-CTCFHV_1.js +0 -793
- package/dist/ExpenseAutomationOverviewPage-Ce0YR5i_.cjs +0 -281
- package/dist/ExpenseAutomationPage-BHRn_JUj.js +0 -11501
- package/dist/ExpenseAutomationPage-BLtIqvGg.cjs +0 -1650
- package/dist/ExpressPayPage-B9xhn9iN.cjs +0 -168
- package/dist/ExpressPayPage-pCpcMZnC.js +0 -1136
- package/dist/FeaturePreviewPage-D24FJNUU.js +0 -114
- package/dist/FeaturePreviewPage-D4MWKS4G.cjs +0 -11
- package/dist/FollowStepsSection-Z7qxq32b.cjs +0 -390
- package/dist/FollowStepsSection-tuKW99KV.js +0 -1313
- package/dist/GlobalReviewListPage-CoHUZnK2.cjs +0 -291
- package/dist/GlobalReviewListPage-DwRmV7XD.js +0 -1674
- package/dist/HelpButton-DaQz2Rn_.js +0 -81
- package/dist/HelpButton-VWC3bM_L.cjs +0 -28
- package/dist/InformationCardStack-BFoJhub0.js +0 -219
- package/dist/InformationCardStack-W5AqrI6o.cjs +0 -31
- package/dist/InsightsCardStack-C52s96WO.js +0 -305
- package/dist/InsightsCardStack-Jv5bRZFs.cjs +0 -79
- package/dist/InsightsSection-B5J2sEZc.js +0 -97
- package/dist/InsightsSection-DgvBsVg2.cjs +0 -27
- package/dist/IntegrationsSettingsPage-8UVAKhfl.cjs +0 -57
- package/dist/IntegrationsSettingsPage-DCJ98518.js +0 -137
- package/dist/InternationalWireSwiftDetailsPage-C53f5dLO.cjs +0 -171
- package/dist/InternationalWireSwiftDetailsPage-CRIdQeV1.js +0 -753
- package/dist/InternationalWireVerificationPage-HjM7zN5q.js +0 -877
- package/dist/InternationalWireVerificationPage-lEWB-4wS.cjs +0 -292
- package/dist/InviteFormPage-Gh0b2vDS.js +0 -873
- package/dist/InviteFormPage-j2cbsM1j.cjs +0 -312
- package/dist/InvitePageListView-B2BetEUY.cjs +0 -739
- package/dist/InvitePageListView-DhGHRdeJ.js +0 -1764
- package/dist/InvitePeoplePage-KaVje_Kz.cjs +0 -12
- package/dist/InvitePeoplePage-KbNVyidK.js +0 -286
- package/dist/InvoiceUploadSection-Dn7ur-W9.js +0 -465
- package/dist/InvoiceUploadSection-DtQXJ1BT.cjs +0 -140
- package/dist/IssueChargeCardPage-D5E-CRJ-.js +0 -2875
- package/dist/IssueChargeCardPage-Pr2q7Mdv.cjs +0 -532
- package/dist/LabeledAddressValue-BeG3fCtN.cjs +0 -49
- package/dist/LabeledAddressValue-DEuG8UZf.js +0 -115
- package/dist/LabeledAddressValueField-BcqZX242.js +0 -130
- package/dist/LabeledAddressValueField-DjRvvvN_.cjs +0 -45
- package/dist/LabeledControlledCheckBoxField-BM9xC3G9.cjs +0 -16
- package/dist/LabeledControlledCheckBoxField-BiK4ogZm.js +0 -73
- package/dist/LabeledCreatableSingleSelectField-CO-xj-dY.cjs +0 -204
- package/dist/LabeledCreatableSingleSelectField-lXkceawa.js +0 -515
- package/dist/LabeledDocumentField-CTHGsGRa.js +0 -147
- package/dist/LabeledDocumentField-DbVK_Wa6.cjs +0 -41
- package/dist/LabeledDropDownFormattedTextField-BXgIgc-I.js +0 -163
- package/dist/LabeledDropDownFormattedTextField-Cm687Rg7.cjs +0 -59
- package/dist/LabeledEmailInputField-B81ctK9L.js +0 -425
- package/dist/LabeledEmailInputField-BbcfoDPw.cjs +0 -182
- package/dist/LabeledItemWithButton-B2P5IAvj.js +0 -74
- package/dist/LabeledItemWithButton-Cobz9TGW.cjs +0 -21
- package/dist/LabeledNameField-Ccx1wuZZ.js +0 -293
- package/dist/LabeledNameField-CmiSnYXU.cjs +0 -141
- package/dist/LabeledSingleSelectField-B-0YEZuv.js +0 -372
- package/dist/LabeledSingleSelectField-lRiZ1PvP.cjs +0 -136
- package/dist/LabeledSingleSelectWithoutClearableField-DfFZ2Kke.cjs +0 -38
- package/dist/LabeledSingleSelectWithoutClearableField-DrYkRQ1W.js +0 -103
- package/dist/LabeledText-Cm60fVNj.cjs +0 -42
- package/dist/LabeledText-DGaKAiDg.js +0 -103
- package/dist/LabeledUserSingleSelectWithSubtitlesField-Bar3J8Oo.cjs +0 -229
- package/dist/LabeledUserSingleSelectWithSubtitlesField-DHcSZAV4.js +0 -572
- package/dist/LabeledZeniRolesDropDownField-BlSt4mz5.js +0 -975
- package/dist/LabeledZeniRolesDropDownField-C0K8prqk.cjs +0 -297
- package/dist/LinkJETransactionPage-CYQDiIEe.js +0 -406
- package/dist/LinkJETransactionPage-LcfDOpnx.cjs +0 -98
- package/dist/LockCardPage-C8SORfY8.cjs +0 -623
- package/dist/LockCardPage-h8hZChv9.js +0 -2033
- package/dist/LowBalancePopup-BYsxS0qC.js +0 -219
- package/dist/LowBalancePopup-Cv3wlIvQ.cjs +0 -34
- package/dist/MagicLinkACHDetailsPage-CwomBdYA.cjs +0 -1
- package/dist/MagicLinkACHDetailsPage-StkWEEA-.js +0 -39
- package/dist/MagicLinkDomesticWireDetailsPage-CIlAxUbJ.js +0 -44
- package/dist/MagicLinkDomesticWireDetailsPage-ooSzmKmd.cjs +0 -1
- package/dist/MagicLinkInternationalWireDetailsPage-B38QSYp2.cjs +0 -1
- package/dist/MagicLinkInternationalWireDetailsPage-Bddf00Ze.js +0 -43
- package/dist/MagicLinkSuccessPage-Bt55Pv1w.js +0 -59
- package/dist/MagicLinkSuccessPage-eFTKKiPB.cjs +0 -31
- package/dist/MagicLinkTitleSection-BANl3aTA.cjs +0 -17
- package/dist/MagicLinkTitleSection-DqB2vjSF.js +0 -40
- package/dist/MailingDetailsSection-BVS2GW-G.js +0 -74
- package/dist/MailingDetailsSection-DKumJtLy.cjs +0 -21
- package/dist/MatchingOperatorDropdown-BKjGrsqW.js +0 -572
- package/dist/MatchingOperatorDropdown-BjRMgy8X.cjs +0 -130
- package/dist/MeetingCalenderPopup-DxhuyBJo.cjs +0 -26
- package/dist/MeetingCalenderPopup-_Dd08iTt.js +0 -60
- package/dist/Menu-5ruUktz8.js +0 -110
- package/dist/Menu-CPDde_PG.cjs +0 -17
- package/dist/MoreMenuButton-BVrAa3zi.cjs +0 -167
- package/dist/MoreMenuButton-BXV95YYA.js +0 -569
- package/dist/MyBankConnectionsSettingsPage-ClLnBlDi.js +0 -297
- package/dist/MyBankConnectionsSettingsPage-pEmDftx4.cjs +0 -110
- package/dist/MyPendingActivationChargeCardListPage-4-RBz078.js +0 -168
- package/dist/MyPendingActivationChargeCardListPage-yEG-F1jM.cjs +0 -6
- package/dist/MyProfileSettingsPage-BFmFwp-M.js +0 -641
- package/dist/MyProfileSettingsPage-CasQ0n73.cjs +0 -85
- package/dist/NavBarWithPicker-DPB76zan.cjs +0 -30
- package/dist/NavBarWithPicker-a35H6ba-.js +0 -106
- package/dist/NavigationArrow-DCB9PiiC.cjs +0 -47
- package/dist/NavigationArrow-jh-Hkf_V.js +0 -88
- package/dist/NavigationDots-BE7tpxpw.js +0 -44
- package/dist/NavigationDots-BfmOa6xp.cjs +0 -15
- package/dist/NewGlobalMerchantPage-BmH44lDz.js +0 -543
- package/dist/NewGlobalMerchantPage-WWjMmrhG.cjs +0 -160
- package/dist/NoDataChart-DadKXWhF.js +0 -58
- package/dist/NoDataChart-KIUSyM6T.cjs +0 -26
- package/dist/NoDataTable-CEBjocIi.js +0 -27
- package/dist/NoDataTable-DxV2VPLI.cjs +0 -8
- package/dist/NotFoundPage-OZ-DnmW2.cjs +0 -46
- package/dist/NotFoundPage-wentbSH0.js +0 -71
- package/dist/NotificationSettingsPage-B4lp7erG.cjs +0 -163
- package/dist/NotificationSettingsPage-C3J8_WAi.js +0 -541
- package/dist/NotificationsListConfig-Cscyd46w.js +0 -10
- package/dist/NotificationsListConfig-DusdIrh4.cjs +0 -1
- package/dist/NotificationsPage-BK5Ue1ao.js +0 -2664
- package/dist/NotificationsPage-Dx92Ndvp.cjs +0 -685
- package/dist/OpExByVendorPage-DLnYnLdD.js +0 -1057
- package/dist/OpExByVendorPage-DracxeiG.cjs +0 -100
- package/dist/PandLWithForecastPage-9T69WaiE.js +0 -563
- package/dist/PandLWithForecastPage-DrqMGrEF.cjs +0 -107
- package/dist/PaymentAccountSetupBillingAddressSection-CDRYabpS.cjs +0 -106
- package/dist/PaymentAccountSetupBillingAddressSection-CkC16MMJ.js +0 -623
- package/dist/PeoplePage-BU9lydAT.cjs +0 -675
- package/dist/PeoplePage-CWUCgcw1.js +0 -1994
- package/dist/PortfolioAllocationFormPage-BEO6F8kp.js +0 -440
- package/dist/PortfolioAllocationFormPage-CYPnADD2.cjs +0 -207
- package/dist/PortfolioDetails-BUx1WGe6.js +0 -653
- package/dist/PortfolioDetails-xamz5UER.cjs +0 -218
- package/dist/ProductsCarousel-BiLNIui8.cjs +0 -142
- package/dist/ProductsCarousel-k_yn_DnI.js +0 -309
- package/dist/PromoBaseCards-BIoPkvyG.js +0 -356
- package/dist/PromoBaseCards-SQ1h2_21.cjs +0 -218
- package/dist/QBOConnectionDialog-XH7kzY41.cjs +0 -51
- package/dist/QBOConnectionDialog-y-BRQt2k.js +0 -115
- package/dist/QBOSetupSection-CV5HTOpB.cjs +0 -79
- package/dist/QBOSetupSection-JfsJnbR7.js +0 -167
- package/dist/ReimbursementApprovalRuleDetailPage-CuDS5tqi.cjs +0 -26
- package/dist/ReimbursementApprovalRuleDetailPage-Cyt_2Arn.js +0 -247
- package/dist/ReimbursementApprovalRulesPage-BmkoC7-V.js +0 -410
- package/dist/ReimbursementApprovalRulesPage-C-5OcgCh.cjs +0 -237
- package/dist/ReimbursementDetailPage-BCohV_G8.cjs +0 -314
- package/dist/ReimbursementDetailPage-yoAaacbf.js +0 -1511
- package/dist/ReimbursementPromoPage-Bmk9DhNs.cjs +0 -84
- package/dist/ReimbursementPromoPage-CVpnp2W3.js +0 -364
- package/dist/ReimbursementSetUpPage-CksMuthC.cjs +0 -140
- package/dist/ReimbursementSetUpPage-Dz8jV4h5.js +0 -666
- package/dist/ReimbursementsBulkReviewDrawerPage-B-x3uD_F.cjs +0 -1
- package/dist/ReimbursementsBulkReviewDrawerPage-_OQrnaaa.js +0 -204
- package/dist/ReloadCard-Bona9vKC.js +0 -137
- package/dist/ReloadCard-C_rYl5Y0.cjs +0 -26
- package/dist/ReloadContainer--NQWlBOY.js +0 -2144
- package/dist/ReloadContainer-Cy2GeD02.cjs +0 -596
- package/dist/ReportTableViewSelector-B-7ZFzJh.cjs +0 -150
- package/dist/ReportTableViewSelector-CEO5ih6s.js +0 -679
- package/dist/ReportsPage-BDcgDElJ.cjs +0 -121
- package/dist/ReportsPage-BujZXhE9.js +0 -1315
- package/dist/RevenueChart-BGdX8pE4.cjs +0 -280
- package/dist/RevenueChart-CzxWBI7d.js +0 -2239
- package/dist/ReviewDetailsPage-CqIdotjx.cjs +0 -290
- package/dist/ReviewDetailsPage-DTYs1zWP.js +0 -1073
- package/dist/ReviewOverlay-B5OQnsSm.cjs +0 -152
- package/dist/ReviewOverlay-DQ_igXuJ.js +0 -299
- package/dist/RoleWithToolTip-DHMnmlh6.js +0 -72
- package/dist/RoleWithToolTip-n_KIsf-O.cjs +0 -22
- package/dist/ScheduleDetailsFixedAssetsPage-D81kxog2.cjs +0 -37
- package/dist/ScheduleDetailsFixedAssetsPage-DLrJkJlo.js +0 -806
- package/dist/ScheduleDetailsPage-CpD3NIs4.cjs +0 -37
- package/dist/ScheduleDetailsPage-DmpcMZYc.js +0 -726
- package/dist/ScheduleSequenceTable-BvfF5hzh.cjs +0 -324
- package/dist/ScheduleSequenceTable-Cmwxv9Zr.js +0 -1261
- package/dist/SetUpAccountSection-CuFelV9A.js +0 -1470
- package/dist/SetUpAccountSection-DvuxIuCz.cjs +0 -378
- package/dist/SetUpDefaultSection-C_i-c6Pb.js +0 -537
- package/dist/SetUpDefaultSection-Cq7Ie4d1.cjs +0 -187
- package/dist/SignIn-D_OoVO_v.js +0 -1075
- package/dist/SignIn-VRX9YGxj.cjs +0 -448
- package/dist/SpendManagementListViewPage-Cca9xzXV.cjs +0 -122
- package/dist/SpendManagementListViewPage-KDAujsw0.js +0 -627
- package/dist/SpendManagementPerTabPage-BJlhGbNN.cjs +0 -754
- package/dist/SpendManagementPerTabPage-BuiQmKjG.js +0 -2735
- package/dist/SpendManagementSection-BH9i-792.js +0 -1043
- package/dist/SpendManagementSection-zAfDRSXL.cjs +0 -230
- package/dist/SpendMgmtSetupAccountSection--Epy5zv7.js +0 -875
- package/dist/SpendMgmtSetupAccountSection-DzaNAfJs.cjs +0 -206
- package/dist/StatementItem-B6mMhcUg.cjs +0 -31
- package/dist/StatementItem-d3Ph76EP.js +0 -81
- package/dist/StatementsPage-BMClb6Ef.cjs +0 -58
- package/dist/StatementsPage-Bq_dRNOs.js +0 -130
- package/dist/StatusSwitcher-10_QSmwU.cjs +0 -120
- package/dist/StatusSwitcher-8NsuCJ9w.js +0 -319
- package/dist/SubTabSwitcher-CUvyjMr3.js +0 -113
- package/dist/SubTabSwitcher-weboqMxU.cjs +0 -58
- package/dist/SuccessAnimation-BRBYBc7q.js +0 -52
- package/dist/SuccessAnimation-DVIgMRQ8.cjs +0 -13
- package/dist/SummaryCard-BDnipH2b.js +0 -25
- package/dist/SummaryCard-vqinqTv_.cjs +0 -1
- package/dist/TaskDetailPage-D68nTbst.cjs +0 -775
- package/dist/TaskDetailPage-NsVP5Mjy.js +0 -2533
- package/dist/TaskListRow-Bry0aEo9.js +0 -1950
- package/dist/TaskListRow-D3na-jqy.cjs +0 -556
- package/dist/TaskManagementPage-Bg6QawfF.js +0 -1935
- package/dist/TaskManagementPage-Bj8OWU3C.cjs +0 -508
- package/dist/TimeRangeSwitcher-BDP3VhBL.js +0 -265
- package/dist/TimeRangeSwitcher-BZgY1Q55.cjs +0 -64
- package/dist/TimeframeSwitcher-DSqY-7D2.cjs +0 -31
- package/dist/TimeframeSwitcher-Tzlqetbm.js +0 -103
- package/dist/TimeframeSwitcherWithToggle-C60T11yv.js +0 -157
- package/dist/TimeframeSwitcherWithToggle-Dd2n3jPG.cjs +0 -31
- package/dist/TopExCard-DvtdF67v.js +0 -568
- package/dist/TopExCard-JlFLStgS.cjs +0 -38
- package/dist/TopExDetailPage-DlejqRhV.js +0 -318
- package/dist/TopExDetailPage-KIIejA3N.cjs +0 -132
- package/dist/TransactionDetailPage-DV3vyt1n.js +0 -5238
- package/dist/TransactionDetailPage-aTWRFSVe.cjs +0 -912
- package/dist/TransactionList-CnZjjl2c.js +0 -558
- package/dist/TransactionList-DJK2TMXL.cjs +0 -147
- package/dist/TransactionListBig-Dy0MSp-P.cjs +0 -284
- package/dist/TransactionListBig-o71NIZeN.js +0 -658
- package/dist/TransactionListPage-BoM55JXY.js +0 -144
- package/dist/TransactionListPage-sD7Aajrl.cjs +0 -35
- package/dist/TransactionVendorDetailPage-CI5vbnmj.cjs +0 -80
- package/dist/TransactionVendorDetailPage-CJ3MsS2X.js +0 -425
- package/dist/TransferDrawerPage-BqChATei.js +0 -1435
- package/dist/TransferDrawerPage-C_Bxky6z.cjs +0 -362
- package/dist/TreasuryOverviewPage-D6f4cwrF.cjs +0 -708
- package/dist/TreasuryOverviewPage-TYfl1T0q.js +0 -1890
- package/dist/TreasuryPromoPage-CdLtipU7.js +0 -1122
- package/dist/TreasuryPromoPage-cnkIdE2j.cjs +0 -505
- package/dist/TreasurySetupPage-BEk4xZK9.js +0 -683
- package/dist/TreasurySetupPage-DO87ITzc.cjs +0 -144
- package/dist/TreasuryStatementsPage-0LESOE5d.js +0 -131
- package/dist/TreasuryStatementsPage-DtUq-mdT.cjs +0 -58
- package/dist/TreasuryTaxLetterPage-DKOCl4BH.cjs +0 -58
- package/dist/TreasuryTaxLetterPage-DsSZbzeB.js +0 -131
- package/dist/TreasuryTransferOrReviewPage-C8Y_xXev.cjs +0 -576
- package/dist/TreasuryTransferOrReviewPage-CwcgoKq8.js +0 -1938
- package/dist/TrendChart-B7wvGW-9.cjs +0 -16
- package/dist/TrendChart-Dxh3-dI5.js +0 -333
- package/dist/TrendWithTransactions-BkGkBCzH.cjs +0 -116
- package/dist/TrendWithTransactions-Cb9SG4qI.js +0 -346
- package/dist/UncategorizedAccountsMappingPage-C58OQ1wc.js +0 -1160
- package/dist/UncategorizedAccountsMappingPage-DMWaY-_n.cjs +0 -244
- package/dist/UnitIntegrationPage-BApabsOR.js +0 -405
- package/dist/UnitIntegrationPage-CqTpvEX8.cjs +0 -67
- package/dist/UploadAdditionalDocumentOverlay-C2GJpYwV.cjs +0 -38
- package/dist/UploadAdditionalDocumentOverlay-KCRDK6Vb.js +0 -211
- package/dist/Vendor2FAPopup-B1AwxFtA.js +0 -69
- package/dist/Vendor2FAPopup-B_Y3QH9K.cjs +0 -1
- package/dist/VendorACHDetailsPage-C9uduMj-.cjs +0 -1
- package/dist/VendorACHDetailsPage-DGN5feXs.js +0 -43
- package/dist/VendorDetailPage-D6bFeMEP.cjs +0 -257
- package/dist/VendorDetailPage-cJA4_on9.js +0 -1236
- package/dist/VendorDomesticWireDetailsPage-B9gI1dq3.cjs +0 -1
- package/dist/VendorDomesticWireDetailsPage-CyJi9kI3.js +0 -53
- package/dist/VendorFiling1099EditablePage-D1FwyHYf.cjs +0 -175
- package/dist/VendorFiling1099EditablePage-nMeRy8iW.js +0 -842
- package/dist/VendorFirstReviewPage-CHAKEHGy.cjs +0 -730
- package/dist/VendorFirstReviewPage-DmYTTdVo.js +0 -2748
- package/dist/VendorInternationalWireDetailsPage-DOvLAaOD.cjs +0 -152
- package/dist/VendorInternationalWireDetailsPage-Wzjdd76z.js +0 -968
- package/dist/VendorInternationalWireSwiftDetailsPage-3sRH63xC.cjs +0 -1
- package/dist/VendorInternationalWireSwiftDetailsPage-DWcT-bD0.js +0 -52
- package/dist/VendorsAccountsSection-BVK68_MI.cjs +0 -68
- package/dist/VendorsAccountsSection-f-2HcYGZ.js +0 -279
- package/dist/VerifyDevice-BDxejY8l.cjs +0 -112
- package/dist/VerifyDevice-CpZ9v86P.js +0 -298
- package/dist/VideoPlayer-C5XJLW5o.js +0 -169
- package/dist/VideoPlayer-D8Zze_PU.cjs +0 -77
- package/dist/VideoPopup-CFShu7RX.js +0 -60
- package/dist/VideoPopup-xLwOdbvK.cjs +0 -31
- package/dist/WarningsDrawerPage-3f07Ats3.cjs +0 -92
- package/dist/WarningsDrawerPage-BMfva4eQ.js +0 -228
- package/dist/ZeniAccountDetailPage-C2oN-ZNZ.cjs +0 -300
- package/dist/ZeniAccountDetailPage-DqwykQGb.js +0 -907
- package/dist/ZeniAccountListViewPage-5GsFlzuB.js +0 -1078
- package/dist/ZeniAccountListViewPage-CL03jRw8.cjs +0 -441
- package/dist/ZeniAccountNavBarPieces-BiTNCDV_.cjs +0 -14
- package/dist/ZeniAccountNavBarPieces-C0GhVRsq.js +0 -89
- package/dist/ZeniAccountPromoPage-BndgsJ1d.cjs +0 -184
- package/dist/ZeniAccountPromoPage-BsoKhi1p.js +0 -523
- package/dist/ZeniAccountSetupPage-B7xCt24o.js +0 -312
- package/dist/ZeniAccountSetupPage-CxwdwcN6.cjs +0 -36
- package/dist/ZeniAvatar-BNMctuwE.js +0 -34
- package/dist/ZeniAvatar-BamIWAqY.cjs +0 -13
- package/dist/ZeniCopyright-CHTcDrek.cjs +0 -1
- package/dist/ZeniCopyright-QGZgIoQP.js +0 -9
- package/dist/ZeniDatePicker-9wyvANBF.js +0 -386
- package/dist/ZeniDatePicker-DNrWgRm5.cjs +0 -187
- package/dist/ZeniTransferAmountSlider-BVaeHoig.js +0 -215
- package/dist/ZeniTransferAmountSlider-CcS3SB8S.cjs +0 -63
- package/dist/analyticsHelper-C0eNGX8e.cjs +0 -1
- package/dist/analyticsHelper-C_28rnIB.js +0 -65
- package/dist/assets/interface/flux-analysis.svg +0 -21
- package/dist/calculateSize-CVrDQS9G.cjs +0 -1
- package/dist/calculateSize-Cd7dzD6D.js +0 -22
- package/dist/chartTypes-CnEyojFG.js +0 -47
- package/dist/chartTypes-NebndD0l.cjs +0 -1
- package/dist/common-CQWVbj5B.js +0 -22
- package/dist/common-yUvaNaVx.cjs +0 -1
- package/dist/commonDimensions-7pGp5bkY.js +0 -13
- package/dist/commonDimensions-BeFwDsMO.cjs +0 -1
- package/dist/detailCommon-BKc1bEPv.cjs +0 -38
- package/dist/detailCommon-BnXtivNO.js +0 -124
- package/dist/downloadPdf-BksmcEFV.cjs +0 -1
- package/dist/downloadPdf-DeWDMgGW.js +0 -32
- package/dist/index-BQLTolbB.cjs +0 -19250
- package/dist/index-D4BzzXbc.js +0 -85981
- package/dist/mapLoadingInProgressToTreeNode--wkVCwI4.js +0 -25
- package/dist/mapLoadingInProgressToTreeNode-jmJ9Cu4K.cjs +0 -1
- package/dist/mapSectionWithAcOnlyToTreeNode-BTnEFiYU.js +0 -388
- package/dist/mapSectionWithAcOnlyToTreeNode-DgjdhEuz.cjs +0 -1
- package/dist/mapSpacerToTreeNode-CYYnYII3.cjs +0 -1
- package/dist/mapSpacerToTreeNode-Gvb_Gahk.js +0 -25
- package/dist/mapTimeframeBalancesToTreeNode-B3GTdAAS.js +0 -24
- package/dist/mapTimeframeBalancesToTreeNode-BzO3UFjD.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode-DDVcoUM1.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode-k97MRcsy.js +0 -24
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-B0Tu2soI.js +0 -32
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-BRAMuDI4.cjs +0 -1
- package/dist/sectionColor-CI6ls6xV.js +0 -32
- package/dist/sectionColor-uV4YvcI_.cjs +0 -1
- package/dist/toCOABalancesWithID-DFCGyuoa.cjs +0 -1
- package/dist/toCOABalancesWithID-DRNrcBR0.js +0 -8
- package/dist/toChartData-C9fOaAT_.cjs +0 -1
- package/dist/toChartData-CFK0sUQp.js +0 -76
- package/dist/treasuryColorHelper-CkFH6agH.js +0 -60
- package/dist/treasuryColorHelper-DMElIWGl.cjs +0 -1
- package/dist/uploadAttachment-CsW5eafe.cjs +0 -286
- package/dist/uploadAttachment-eOCG4lqX.js +0 -952
- package/dist/zeniDatePicker.helpers-BKa8FfMC.cjs +0 -1
- package/dist/zeniDatePicker.helpers-BhD2AGwK.js +0 -14
|
@@ -0,0 +1,865 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./vendor-.pnpm-DHyNpoQL.cjs"),f=require("react"),n=require("@emotion/styled"),Uo=require("@liveblocks/react"),Z=require("@zeniai/client-epic-state"),t=require("./index-DBt4VX1a.cjs"),mo=require("./InvoiceUploadSection-BDW62w3r.cjs"),L=require("./types-UmwfBRaY.cjs"),Ho=require("./LabeledCreatableSingleSelectField-CsWnBmrj.cjs"),Go=require("./CurrencySelectField-CILhxNIk.cjs"),Yo=require("./SetUpDefaultSection-B71W3tyT.cjs"),Jo=require("./BankAccountSection-Dumjclpj.cjs"),Vt=require("./BankAccountWarningSection-IDpj6Awo.cjs"),Zo=require("./radio-default-DMFqASmF.cjs"),De=(e,r)=>`${e}.${r}`,Kt={largeLabelWidth:new t.ResponsiveSized(120,120,160),paddingBottom:new t.ResponsiveSized(t.sp[3],t.sp[2]),paddingLeft:new t.ResponsiveSized(t.sp[3],t.sp[4])},{spendManagement:{reimbursement:{reimbursementDetail:je}},dateFormat:Qo,common:Xo}=t.appLocale.getLocalizedStrings(),en=({lineIndex:e,mileage:r,classList:i,defaultCurrency:l,sectionId:u,isReimbursementCommentingEnabled:j,isDisabled:d,isAddReimbursementDisabled:b,companyMileageConfigInfo:h,reimbursementId:s,classHierarchyList:w})=>{const g=t.useWindowSizeContext(),a=t.useGlobalInfoContext(),m=t.useComponentConnectContext(),S=`dashboard_${a.currentTenant?.companyId}`,T=o.useTheme(),{getValues:C}=o.useFormContext(),v=Xo.strings.empty,V=C(De(u,"distanceInMiles")),I=Kt.largeLabelWidth.value(g),R={application:"dashboard",companyId:a.currentTenant?.companyId,tab:"reimbursement",entityId:s},M=P=>i.filter(q=>q.classId===P)[0]?.accountingClassNumber,X=i.find(P=>P.classId===r.class),ce={valueContainer:P=>({...P,padding:`2px ${t.Space.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})};return o.jsxRuntimeExports.jsxs(o.jsxRuntimeExports.Fragment,{children:[o.jsxRuntimeExports.jsx(t.FieldThread,{isThreadAllowed:j&&s!=null,dashboardTabKey:t.toDashboardTabKeys({type:"details",key:`${e}.mileage.transactionDate`}),roomId:S,companyId:a.currentTenant?.companyId??v,companyName:a.currentTenant?.companyName??v,entityId:s,dashboardOptionType:"reimbursement",filterMetaData:{...R,entityType:`reimbursement.details.${L.uniqueReimbursementTabKey("transactionDate",e,"mileage")}`},fieldThreadTargetElement:m?.sharedRef?.contentWrapperRef,children:o.jsxRuntimeExports.jsx(t.LabeledDatePickerField,{isDisabled:d,label:{label:je.transactionDate,width:I},style:{paddingBottom:Kt.paddingBottom.valuePx(g),width:"auto"},dateField:{name:De(u,"transactionDate"),placeholder:je.datePlaceholder,defaultValue:r?.transactionDate,dateFormat:Qo.visual.defaultInput,autoComplete:"off",maxDate:Z.dateNow(),registerOptions:{required:!0,validate:P=>!!P}}})}),o.jsxRuntimeExports.jsx(lt,{}),o.jsxRuntimeExports.jsx(t.FieldThread,{isThreadAllowed:j&&s!=null,dashboardTabKey:t.toDashboardTabKeys({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:S,companyId:a.currentTenant?.companyId??v,companyName:a.currentTenant?.companyName??v,entityId:s,dashboardOptionType:"reimbursement",filterMetaData:{...R,entityType:`reimbursement.details.${L.uniqueReimbursementTabKey("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:m?.sharedRef?.contentWrapperRef,children:o.jsxRuntimeExports.jsx(t.LabeledFormattedTextField,{isDisabled:b?"disabled":void 0,style:{width:"auto"},label:{label:je.distanceInMiles,width:I},formattedTextField:{type:"number",name:De(u,"distanceInMiles"),placeholder:je.addMiles,defaultValue:r.distanceInMiles,registerOptions:{required:!0,validate:P=>P!=null?P>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),o.jsxRuntimeExports.jsx(lt,{}),o.jsxRuntimeExports.jsx(t.FieldThread,{isThreadAllowed:j&&s!=null,dashboardTabKey:t.toDashboardTabKeys({type:"details",key:`${e}.mileage.amount`}),roomId:S,companyId:a.currentTenant?.companyId??v,companyName:a.currentTenant?.companyName??v,entityId:s,dashboardOptionType:"reimbursement",filterMetaData:{...R,entityType:`reimbursement.details.${L.uniqueReimbursementTabKey("amount",e,"mileage")}`},fieldThreadTargetElement:m?.sharedRef?.contentWrapperRef,children:o.jsxRuntimeExports.jsx(t.LabeledFormattedTextField,{isDisabled:"disabled",label:{label:je.amount,width:I},formattedTextField:{type:"number",name:De(`${u}.amount`,"amount"),defaultValue:r.amount?.amount,placeholder:t.getPlaceholderTextWithPrefix(je.amount),returnValueType:"floatValue",prefix:r.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:P=>P!=null?P>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:V!=null&&h?.mileageUnitAmount!=null?`${l.currencySymbol}${h?.mileageUnitAmount} per mile x ${V}`:void 0})}),o.jsxRuntimeExports.jsx(lt,{}),o.jsxRuntimeExports.jsx(t.FieldThread,{isThreadAllowed:j&&s!=null,dashboardTabKey:t.toDashboardTabKeys({type:"details",key:`${e}.mileage.memo`}),roomId:S,companyId:a.currentTenant?.companyId??v,companyName:a.currentTenant?.companyName??v,entityId:s,dashboardOptionType:"reimbursement",filterMetaData:{...R,entityType:`reimbursement.details.${L.uniqueReimbursementTabKey("memo",e,"mileage")}`},fieldThreadTargetElement:m?.sharedRef?.contentWrapperRef,children:o.jsxRuntimeExports.jsx(t.LabeledTextField,{isDisabled:d,label:{label:je.memo,width:I},style:{width:"auto"},text:{type:"text",name:De(u,"memo"),placeholder:t.getPlaceholderTextWithPrefix(je.memo),defaultValue:r.memo,autoComplete:"off",options:{pattern:t.NON_HYPHEN_SINGLE_CHARACTER_PATTERN}}})}),o.jsxRuntimeExports.jsx(lt,{}),o.jsxRuntimeExports.jsx(t.FieldThread,{isThreadAllowed:j&&s!=null,dashboardTabKey:t.toDashboardTabKeys({type:"details",key:`${e}.mileage.class`}),roomId:S,companyId:a.currentTenant?.companyId??v,companyName:a.currentTenant?.companyName??v,entityId:s,dashboardOptionType:"reimbursement",filterMetaData:{...R,entityType:`reimbursement.details.${L.uniqueReimbursementTabKey("class",e,"mileage")}`},fieldThreadTargetElement:m?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${t.Space.sp2} ${t.Space.sp2}`},children:o.jsxRuntimeExports.jsx(t.LabeledGroupSingleSelectWithRecommendationCheckboxField,{isLoading:!1,label:{label:je.department,width:I},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:De(u,"class"),placeholder:t.getPlaceholderTextWithPrefix(je.department),valueToId:P=>M(P),defaultValue:{selectedOption:X?.classId,allOptions:t.getGroupedClassOptions(w,[])},style:{width:"100%"},customStyleConfig:ce,registerOptions:{required:!0,validate:P=>!!P.selectedOption}},style:{borderBottom:`1px solid ${T.colors.grey3}`,borderBottomLeftRadius:t.Space.sp2,borderBottomRightRadius:t.Space.sp2},fullWidthSelect:!0},De(u,"class"))})]})},lt=n.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex: 1;
|
|
4
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
5
|
+
min-height: 1px;
|
|
6
|
+
max-height: 1px;
|
|
7
|
+
`,Ut={amounWidth:new t.ResponsiveSized(50,30),currencyWidth:new t.ResponsiveSized(50,70)};function tn({name:e,placeHolder:r,defaultValue:i,isDisabled:l,showAmountCurrencyError:u,style:j,allCurrencies:d}){const[b,h]=f.useState(!1),{getValues:s,formState:{errors:w}}=o.useFormContext(),g=o.useTheme(),a=t.useWindowSizeContext(),m=l!=null,S=s(e),T=`${S?.amount} ${S?.currency?.selectedOption}`,C=o.has(w,e)&&o.get(w,`${e}.amount`)!=null,v=o.has(w,e)&&o.get(w,`${e}.currency`)!=null,V=u===!0?C||v:!1,I=!V&&b===!1;return f.useEffect(()=>{I===!1&&h(!0)},[I]),o.jsxRuntimeExports.jsx(o.ClickAwayListener,{onClickAway:()=>m===!1&&!V&&h(!1),children:o.jsxRuntimeExports.jsx(nn,{style:j,isDisabled:m,tabIndex:I&&!m?0:void 0,onClick:()=>m===!1&&h(!0),"data-testid":t.generateDataTestId("currency-amount-field",e),children:o.jsxRuntimeExports.jsxs(o.jsxRuntimeExports.Fragment,{children:[S?.amount!=null?o.jsxRuntimeExports.jsx(Ht,{className:"amount-field",isVisible:I,children:T}):o.jsxRuntimeExports.jsx(Ht,{className:"amount-field amount-placeholder",isVisible:I,children:r?.name}),o.jsxRuntimeExports.jsxs(on,{isVisible:!I,children:[o.jsxRuntimeExports.jsx(t.FormattedTextField,{type:"number",name:`${e}.amount`,defaultValue:i?.amount,placeholder:r?.amount,returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:R=>R!=null?R>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,isDisabled:l,style:{display:"flex",flexGrow:1,width:Ut.amounWidth.valuePercentage(a),cursor:"inherit"},bgColor:g.colors.background,isFieldError:C,shouldHighlightZeroAmount:!0}),I?null:o.jsxRuntimeExports.jsx(rn,{}),o.jsxRuntimeExports.jsx(Go.CurrencySelectField,{name:`${e}.currency`,registerOptions:{validate:R=>R!=null&&R.selectedOption!=null},defaultValue:{allOptions:d.map(R=>({label:a==="small"?R.currencyCode:`${R.currencyCode} - ${R.currency}`,value:R.currencyCode,countryCode:R.countryCode})),selectedOption:i?.currencyCode},controlStyle:{justifyContent:"flex-start",backgroundColor:g.colors.background},isDisabled:l,style:{width:Ut.currencyWidth.valuePercentage(a),flexGrow:1},isOptionRemovable:!1})]})]})})})}const on=n.div`
|
|
8
|
+
display: ${e=>e.isVisible?"flex":"none"};
|
|
9
|
+
width: 100%;
|
|
10
|
+
input {
|
|
11
|
+
text-align: left;
|
|
12
|
+
}
|
|
13
|
+
`,nn=n.div`
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: flex-end;
|
|
17
|
+
position: relative;
|
|
18
|
+
width: 100%;
|
|
19
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
20
|
+
outline: none;
|
|
21
|
+
outline-width: 0;
|
|
22
|
+
input {
|
|
23
|
+
text-align: right;
|
|
24
|
+
}
|
|
25
|
+
`,rn=n.div`
|
|
26
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
27
|
+
min-width: ${t.Space.sp3};
|
|
28
|
+
`,Ht=n(t.StandardRegularSp)`
|
|
29
|
+
display: ${e=>e.isVisible?"flex":"none"};
|
|
30
|
+
padding: 0 ${t.Space.sp3};
|
|
31
|
+
border-radius: ${t.Space.sp1};
|
|
32
|
+
height: 100%;
|
|
33
|
+
align-items: center;
|
|
34
|
+
width: 100%;
|
|
35
|
+
justify-content: flex-end;
|
|
36
|
+
color: ${e=>e.theme.colors.primary};
|
|
37
|
+
&.amount-placeholder {
|
|
38
|
+
color: ${e=>e.theme.colors.grey1};
|
|
39
|
+
}
|
|
40
|
+
`,Ie={width:new t.ResponsiveSized(343,580,726),height:new t.ResponsiveSized(t.sp[6],t.sp[6]),controlHeight:new t.ResponsiveSized(t.sp[6],t.sp[6]),paddingTopBottom:new t.ResponsiveSized(t.sp[2],t.sp[2]),marginTop:new t.ResponsiveSized(t.sp[2],t.sp[2]),marginBottom:new t.ResponsiveSized(t.sp[2],t.sp[2]),marginRight:new t.ResponsiveSized(t.sp[2],t.sp[2]),labelMarginLeft:new t.ResponsiveSized(t.sp[3],t.sp[4]),labelMarginRight:new t.ResponsiveSized(t.sp[3],t.sp[4]),labelMarginTop:new t.ResponsiveSized(t.sp[2],t.sp[2])},xo={infoLabel:new t.ResponsiveSizedStyle("extraSmallRegular","smallRegular")};function sn({isDisabled:e,label:r,currencyAmountField:i,style:l,errorInfoLabel:u,isAdditionalInfoLabelLoading:j,showAdditionalLabelTooltip:d=!1,additionalLabelTooltip:b,additionalInfoLabel:h,showAdditionalInfoLabel:s=!0}){const w=t.useWindowSizeContext(),{formState:{errors:g}}=o.useFormContext(),a=o.has(g,i.name)&&o.get(g,`${i.name}.amount`)!=null,m=o.has(g,i.name)&&o.get(g,`${i.name}.currency`)!=null,S=i.showAmountCurrencyError===!0?a||m:!1,T=a||m||S,C=()=>{if(j===!0)return o.jsxRuntimeExports.jsx(un,{children:o.jsxRuntimeExports.jsx(t.ActivityIndicator,{size:"Small",start:!0})});if(s&&h||S){let v=null;return d===!0&&s&&h&&(v=o.jsxRuntimeExports.jsx(t.Tooltip,{placement:w==="small"?"bottom":"right",maxWidth:"364px",title:o.jsxRuntimeExports.jsx(dn,{children:b??""}),children:o.jsxRuntimeExports.jsx(mn,{children:o.jsxRuntimeExports.jsx(xn,{})})})),o.jsxRuntimeExports.jsxs(pn,{size:w,isError:S,hasToolTip:d,children:[v,h]})}};return o.jsxRuntimeExports.jsxs(an,{size:w,style:l,isDisabled:e!=null,isAmountError:a,isCurrencyError:m,"data-testid":t.generateDataTestId("labeled-currency-amount-field",i.name),children:[o.jsxRuntimeExports.jsx(t.Label,{isDisabled:e,label:r.label,htmlFor:i.name,style:{marginLeft:Ie.labelMarginLeft.value(w),marginRight:Ie.labelMarginRight.value(w),marginTop:Ie.labelMarginTop.value(w),width:r.width??"auto"}}),o.jsxRuntimeExports.jsxs(cn,{labelWidth:r.width,children:[o.jsxRuntimeExports.jsx(tn,{...i,isDisabled:e,style:{flexGrow:1,height:Ie.controlHeight.value(w)}}),T?o.jsxRuntimeExports.jsx(ln,{size:w,hasError:T,children:u}):null,C()]})]})}const an=n.div`
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-direction: row;
|
|
43
|
+
align-items: flex-start;
|
|
44
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
45
|
+
width: ${e=>Ie.width.valuePx(e.size)};
|
|
46
|
+
min-height: ${e=>Ie.height.valuePx(e.size)};
|
|
47
|
+
padding-right: ${e=>Ie.marginRight.valuePx(e.size)};
|
|
48
|
+
padding-top: ${e=>Ie.paddingTopBottom.valuePx(e.size)};
|
|
49
|
+
padding-bottom: ${e=>Ie.paddingTopBottom.valuePx(e.size)};
|
|
50
|
+
|
|
51
|
+
:first-of-type {
|
|
52
|
+
border-top-left-radius: inherit;
|
|
53
|
+
border-top-right-radius: inherit;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:last-of-type {
|
|
57
|
+
border-bottom-left-radius: inherit;
|
|
58
|
+
border-bottom-right-radius: inherit;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&:focus-within {
|
|
62
|
+
z-index: 2;
|
|
63
|
+
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
64
|
+
|
|
65
|
+
.amount-field {
|
|
66
|
+
background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.theme.colors.background};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
input:nth-of-type(1) {
|
|
70
|
+
background-color: ${e=>e.isAmountError?t.Colors.importantLight:e.theme.colors.background};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
input:nth-of-type(2) {
|
|
74
|
+
background-color: ${e=>e.isCurrencyError?t.Colors.importantLight:e.theme.colors.background};
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
input {
|
|
78
|
+
text-align: left;
|
|
79
|
+
background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.theme.colors.background};
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
input:nth-of-type(1) {
|
|
83
|
+
background-color: ${e=>e.isAmountError?t.Colors.importantLight:e.theme.colors.background};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
input:nth-of-type(2) {
|
|
87
|
+
background-color: ${e=>e.isCurrencyError?t.Colors.importantLight:e.theme.colors.background};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&:hover {
|
|
91
|
+
z-index: 1;
|
|
92
|
+
outline: 1px solid
|
|
93
|
+
${e=>e.isDisabled===!0?e.theme.colors.grey3:e.theme.colors.primary};
|
|
94
|
+
input,
|
|
95
|
+
.amount-field {
|
|
96
|
+
background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.theme.colors.background};
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
input:nth-of-type(1) {
|
|
100
|
+
background-color: ${e=>e.isAmountError?t.Colors.importantLight:e.theme.colors.background};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
input:nth-of-type(2) {
|
|
104
|
+
background-color: ${e=>e.isCurrencyError?t.Colors.importantLight:e.theme.colors.background};
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
`,ln=n.label`
|
|
108
|
+
color: ${e=>e.hasError===!0?t.Colors.important:e.additionalInfoTextColor!=null?e.additionalInfoTextColor:e.theme.colors.grey1};
|
|
109
|
+
width: auto;
|
|
110
|
+
${e=>`${xo.infoLabel.style(e.size)}`};
|
|
111
|
+
padding-right: ${t.Space.sp3};
|
|
112
|
+
text-align: right;
|
|
113
|
+
`,cn=n.div`
|
|
114
|
+
display: flex;
|
|
115
|
+
width: ${e=>e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
|
|
116
|
+
justify-content: flex-end;
|
|
117
|
+
flex-direction: column;
|
|
118
|
+
position: relative;
|
|
119
|
+
`,dn=n(t.SmallRegular)`
|
|
120
|
+
padding: 12px;
|
|
121
|
+
color: ${e=>e.theme.colors.grey1};
|
|
122
|
+
background: ${e=>e.theme.colors.overlayColor};
|
|
123
|
+
border-radius: ${t.Space.sp1};
|
|
124
|
+
`,un=n.div`
|
|
125
|
+
padding-right: ${t.Space.sp3};
|
|
126
|
+
padding-top: ${t.Space.sp1};
|
|
127
|
+
display: flex;
|
|
128
|
+
justify-content: flex-end;
|
|
129
|
+
`,pn=n.label`
|
|
130
|
+
display: flex;
|
|
131
|
+
justify-content: flex-end;
|
|
132
|
+
color: ${e=>e.isError?t.Colors.important:e.theme.colors.hero};
|
|
133
|
+
&:hover {
|
|
134
|
+
color: ${e=>e.isError?t.Colors.importantDark:e.theme.colors.primary};
|
|
135
|
+
}
|
|
136
|
+
${e=>`${xo.infoLabel.style(e.size)}`};
|
|
137
|
+
padding-right: ${t.Space.sp3};
|
|
138
|
+
text-align: right;
|
|
139
|
+
margin-top: ${e=>e.hasToolTip===!0?t.Space.sp1:t.Space.sp0};
|
|
140
|
+
`,mn=n.div`
|
|
141
|
+
display: flex;
|
|
142
|
+
margin-right: ${t.Space.sp2};
|
|
143
|
+
margin-top: 2px;
|
|
144
|
+
align-items: center;
|
|
145
|
+
`,xn=n(t.SvgInfo)`
|
|
146
|
+
width: ${t.Space.sp3};
|
|
147
|
+
height: ${t.Space.sp3};
|
|
148
|
+
color: inherit;
|
|
149
|
+
`,ke=(e,r)=>`${e}.${r}`,mt={largeLabelWidth:new t.ResponsiveSized(120,120,160),smallLabelWidth:new t.ResponsiveSized(85,85,160),paddingBottom:new t.ResponsiveSized(t.sp[3],t.sp[2]),paddingLeft:new t.ResponsiveSized(t.sp[3],t.sp[4]),autoFillIconLeft:new t.ResponsiveSized(-t.sp[2],-t.sp[4])},{dateFormat:hn,common:ho,spendManagement:{reimbursement:{reimbursementDetail:ae}}}=t.appLocale.getLocalizedStrings(),{strings:{empty:oe}}=ho,gn=(e,r)=>{const i=e.slice(1);let l=!1;return i.forEach(u=>{u.account?.qboId!=null&&u.account?.qboId===r&&(l=!0)}),l},yn=e=>e.charAt(0).toLowerCase()+e.slice(1),fn=({lineIndex:e,outOfPocket:r,accountList:i,classList:l,merchantList:u,isAddReimbursementDisabled:j,sectionId:d,isReimbursementCommentingEnabled:b,isDisabled:h,autoFields:s=[],accountsHierarchyList:w,classHierarchyList:g,reimbursementId:a,tentativeMerchantName:m,allCurrencies:S,uncategorizedAccounts:T})=>{const C=t.useWindowSizeContext(),v=t.useGlobalInfoContext(),V=t.useComponentConnectContext(),I=o.useTheme(),R=r.isCategoryUpdateSelected!=null&&r.recommendedAccount!=null&&!r.isCategoryFirstTimeAutofilled&&!gn(r.recommendations,r.account),M=r.isRetainedCategorySelected!=null&&r.retainedAccount!=null,X=mt.largeLabelWidth.value(C),ce=mt.smallLabelWidth.value(C),P=u.map(E=>E.id??oe),K={application:"dashboard",companyId:v.currentTenant?.companyId,tab:"reimbursement",entityId:a},q=`dashboard_${v.currentTenant?.companyId}`,_=E=>u.find(ye=>ye.id===E)?.name??E,ee=i.find(E=>E.qboId===r.account),J=E=>[T.expense?.qboId,T.income?.qboId].includes(E),pe=l.find(E=>E.classId===r.class),de={valueContainer:E=>({...E,padding:`2px ${t.Space.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})},re=E=>i.filter(Q=>Q.qboId===E)[0]?.qboId,H=E=>l.filter(Q=>Q.classId===E)[0]?.accountingClassNumber,ie=t.appLocale.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail.tooltip.category.replace("__based__",yn(r?.recommendedAccount?.reason??oe)),$e=t.getGroupedAccountOptions(w,r.recommendations);return o.jsxRuntimeExports.jsxs(o.jsxRuntimeExports.Fragment,{children:[m!=null||s.includes("merchant")?o.jsxRuntimeExports.jsx(Ge,{children:o.jsxRuntimeExports.jsx(Je,{windowSize:C,children:o.jsxRuntimeExports.jsx(Ye,{})})}):null,o.jsxRuntimeExports.jsx(t.FieldThread,{isThreadAllowed:b&&a!=null,dashboardTabKey:t.toDashboardTabKeys({type:"details",key:`${e}.out_of_pocket.merchant`}),roomId:q,companyId:v.currentTenant?.companyId??oe,companyName:v.currentTenant?.companyName??oe,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${L.uniqueReimbursementTabKey("merchant",e,"out_of_pocket")}`},fieldThreadTargetElement:V?.sharedRef?.contentWrapperRef,children:o.jsxRuntimeExports.jsx(Ho.LabeledCreatableSingleSelectField,{isDisabled:h!=null||j?"disabled":void 0,label:{label:ae.merchant,width:X},style:{width:"auto"},creatableSingleSelectField:{name:ke(d,"merchant"),placeholder:ae.merchantPlaceholder,defaultValue:{selectedOption:r.merchant??oe,allOptions:P},registerOptions:{required:!0,validate:E=>!!E.selectedOption}},isOptionRemovable:!0,addIconInCreateLabel:!0,getLabelForId:_})}),o.jsxRuntimeExports.jsx(ct,{}),s.includes("transactionDate")?o.jsxRuntimeExports.jsx(Ge,{children:o.jsxRuntimeExports.jsx(Je,{windowSize:C,children:o.jsxRuntimeExports.jsx(Ye,{})})}):null,o.jsxRuntimeExports.jsx(t.FieldThread,{isThreadAllowed:b&&a!=null,dashboardTabKey:t.toDashboardTabKeys({type:"details",key:`${e}.out_of_pocket.transactionDate`}),roomId:q,companyId:v.currentTenant?.companyId??oe,companyName:v.currentTenant?.companyName??oe,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${L.uniqueReimbursementTabKey("transactionDate",e,"out_of_pocket")}`},fieldThreadTargetElement:V?.sharedRef?.contentWrapperRef,children:o.jsxRuntimeExports.jsx(t.LabeledDatePickerField,{isDisabled:h,label:{label:ae.transactionDate,width:X},style:{paddingBottom:mt.paddingBottom.valuePx(C),width:"auto"},dateField:{name:ke(d,"transactionDate"),placeholder:ae.datePlaceholder,defaultValue:r?.transactionDate,dateFormat:hn.visual.defaultInput,autoComplete:"off",maxDate:Z.dateNow(),registerOptions:{required:!0,validate:E=>!!E}}})}),o.jsxRuntimeExports.jsx(ct,{}),s.includes("amount")?o.jsxRuntimeExports.jsx(Ge,{children:o.jsxRuntimeExports.jsx(Je,{windowSize:C,isTwoLined:!0,children:o.jsxRuntimeExports.jsx(Ye,{})})}):null,o.jsxRuntimeExports.jsx(t.FieldThread,{isThreadAllowed:b&&a!=null,dashboardTabKey:t.toDashboardTabKeys({type:"details",key:`${e}.out_of_pocket.amount`}),roomId:q,companyId:v.currentTenant?.companyId??oe,companyName:v.currentTenant?.companyName??oe,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${L.uniqueReimbursementTabKey("amount",e,"out_of_pocket")}`},fieldThreadTargetElement:V?.sharedRef?.contentWrapperRef,children:o.jsxRuntimeExports.jsx(sn,{isDisabled:h!=null||j?"disabled":void 0,label:{label:ae.amount,width:ce},style:{width:"auto"},currencyAmountField:{style:{height:t.Space.sp6},name:`${d}.amount`,defaultValue:{amount:r.amount.amount,currencyCode:r.amount.currencyCode,currencySymbol:r.amount.currencySymbol},placeHolder:{amount:ae.addAmount,name:ae.addAmount},allCurrencies:S,showAmountCurrencyError:!0},showAdditionalInfoLabel:!0,showAdditionalLabelTooltip:!0,additionalLabelTooltip:ae.amountExchangeRateTooltip,isAdditionalInfoLabelLoading:r.isConvertedCurrencyLoading===!0,additionalInfoLabel:!o.isEqual(r.homeCurrencyDetails,r.amount)&&r.amount.currencyCode!==ho.currency.currencyCode&&r.homeCurrencyDetails?.amount!==0?`${t.amountToString("0,0[.]00",r.homeCurrencyDetails)} ${r.homeCurrencyDetails?.currencyCode}`:void 0})}),o.jsxRuntimeExports.jsx(ct,{}),s.includes("memo")?o.jsxRuntimeExports.jsx(Ge,{children:o.jsxRuntimeExports.jsx(Je,{windowSize:C,children:o.jsxRuntimeExports.jsx(Ye,{})})}):null,o.jsxRuntimeExports.jsx(t.FieldThread,{isThreadAllowed:b&&a!=null,dashboardTabKey:t.toDashboardTabKeys({type:"details",key:`${e}.out_of_pocket.memo`}),roomId:q,companyId:v.currentTenant?.companyId??oe,companyName:v.currentTenant?.companyName??oe,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${L.uniqueReimbursementTabKey("memo",e,"out_of_pocket")}`},fieldThreadTargetElement:V?.sharedRef?.contentWrapperRef,children:o.jsxRuntimeExports.jsx(t.LabeledTextField,{isDisabled:h,label:{label:ae.memo,width:X},style:{width:"auto"},text:{type:"text",name:ke(d,"memo"),placeholder:t.getPlaceholderTextWithPrefix(ae.memo),defaultValue:r.memo,autoComplete:"off",options:{pattern:t.NON_HYPHEN_SINGLE_CHARACTER_PATTERN}}})}),o.jsxRuntimeExports.jsx(ct,{}),s.includes("account")?o.jsxRuntimeExports.jsx(Ge,{children:o.jsxRuntimeExports.jsx(Je,{windowSize:C,children:o.jsxRuntimeExports.jsx(Ye,{})})}):null,o.jsxRuntimeExports.jsx(t.FieldThread,{isThreadAllowed:b&&a!=null,dashboardTabKey:t.toDashboardTabKeys({type:"details",key:`${e}.out_of_pocket.account`}),roomId:q,companyId:v.currentTenant?.companyId??oe,companyName:v.currentTenant?.companyName??oe,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${L.uniqueReimbursementTabKey("account",e,"out_of_pocket")}`},fieldThreadTargetElement:V?.sharedRef?.contentWrapperRef,children:o.jsxRuntimeExports.jsx(t.LabeledGroupSingleSelectWithRecommendationCheckboxField,{label:{label:ae.category,width:X},groupedSingleSelectField:{shouldShowChevronIcon:R||M,name:ke(d,"account"),placeholder:ae.categoryPlaceholder,valueToId:E=>re(E),defaultValue:{selectedOption:ee?.qboId??ee?.accountId,allOptions:$e},style:{width:"100%"},customStyleConfig:de,registerOptions:{required:!0,validate:E=>!!E.selectedOption}},disableCurrentOption:J,style:{borderBottom:`1px solid ${I.colors.grey3}`,minHeight:t.Space.sp6,boxSizing:"initial"},fullWidthSelect:!0,isLoading:r.isRecommendationLoading,recommendationCheckboxField:R?{tooltipProps:{text:ie},label:{label:r.recommendedAccount?.accountName??oe},checkBoxField:{name:ke(d,"isCategoryUpdateSelected"),defaultChecked:!!r.isCategoryUpdateSelected}}:void 0,retainCheckboxField:M?{label:{label:r.retainedAccount?.accountName??oe},checkBoxField:{name:ke(d,"isRetainedCategorySelected"),defaultChecked:!!r.isRetainedCategorySelected}}:void 0},ke(d,"account"))}),s.includes("class")?o.jsxRuntimeExports.jsx(Ge,{children:o.jsxRuntimeExports.jsx(Je,{windowSize:C,children:o.jsxRuntimeExports.jsx(Ye,{})})}):null,o.jsxRuntimeExports.jsx(t.FieldThread,{isThreadAllowed:b&&a!=null,dashboardTabKey:t.toDashboardTabKeys({type:"details",key:`${e}.out_of_pocket.class`}),roomId:q,companyId:v.currentTenant?.companyId??oe,companyName:v.currentTenant?.companyName??oe,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${L.uniqueReimbursementTabKey("class",e,"out_of_pocket")}`},fieldThreadTargetElement:V?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${t.Space.sp2} ${t.Space.sp2}`},children:o.jsxRuntimeExports.jsx(t.LabeledGroupSingleSelectWithRecommendationCheckboxField,{isLoading:!1,label:{label:ae.department,width:X},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:ke(d,"class"),placeholder:t.getPlaceholderTextWithPrefix(ae.department),valueToId:E=>H(E),defaultValue:{selectedOption:pe?.classId,allOptions:t.getGroupedClassOptions(g,[])},style:{width:"100%"},customStyleConfig:de,registerOptions:{required:!0,validate:E=>!!E.selectedOption}},style:{borderBottom:`1px solid ${I.colors.grey3}`,borderBottomLeftRadius:t.Space.sp2,borderBottomRightRadius:t.Space.sp2},fullWidthSelect:!0},ke(d,"class"))})]})},Ge=n.span`
|
|
150
|
+
position: relative;
|
|
151
|
+
`,Ye=n(t.SvgAutofill3)`
|
|
152
|
+
color: ${e=>e.theme.colors.primary};
|
|
153
|
+
width: ${t.Space.sp3};
|
|
154
|
+
height: ${t.Space.sp3};
|
|
155
|
+
`,Je=n.div`
|
|
156
|
+
z-index: 2;
|
|
157
|
+
left: ${e=>mt.autoFillIconLeft.valuePx(e.windowSize)};
|
|
158
|
+
position: absolute;
|
|
159
|
+
top: ${e=>e.isTwoLined===!0?t.Space.sp5:"22px"};
|
|
160
|
+
`,ct=n.div`
|
|
161
|
+
display: flex;
|
|
162
|
+
flex: 1;
|
|
163
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
164
|
+
min-height: 1px;
|
|
165
|
+
max-height: 1px;
|
|
166
|
+
`,qe=(e,r)=>`${e}.${r}`,Pe={paddingTop:new t.ResponsiveSized(t.sp[5],t.sp[4]),marginBottom:new t.ResponsiveSized(t.sp[3],t.sp[3]),labelPaddingLeft:new t.ResponsiveSized(t.sp[3],t.sp[4]),buttonWidth:new t.ResponsiveSized(70,70),containerRightMargin:new t.ResponsiveSized(t.sp[3],t.sp[8]),containerLeftMargin:new t.ResponsiveSized(t.sp[3],t.sp[6]),deleteConfirmationTextMarginBottom:new t.ResponsiveSized(t.sp[2],t.sp[0])},U=t.appLocale.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail,Sn=({lineData:e,currencyConversionState:r,recommendationFetchState:i,remiStage:l,lineIndex:u,accountList:j,classList:d,merchantList:b,hasFile:h,defaultCurrency:s,hasMultipleLineItems:w,fileRequiredLineIds:g,duplicateLineDetails:a,remiStatus:m,sectionId:S,isDisabled:T,isReimbursementCommentingEnabled:C,isAddReimbursementDisabled:v,style:V,autoFields:I=[],analytics:R,reimbursementId:M,tentativeMerchantName:X,companyMileageConfigInfo:ce,uncategorizedAccounts:P,removeDuplicateReimbursementForLine:K,scrollToSection:q,onDuplicateLineClick:_,onRemoveReimbursement:ee,clearTentativeNameForLine:J,allCurrencies:pe,accountsHierarchyList:de,classHierarchyList:re})=>{const H=t.useWindowSizeContext(),ie=t.useGlobalInfoContext(),$e=t.useComponentConnectContext(),E=t.appLocale.getLocalizedStrings().common.strings.empty,ye={application:"dashboard",companyId:ie.currentTenant?.companyId,tab:"reimbursement",entityId:M},Q=`dashboard_${ie.currentTenant?.companyId}`,{getValues:Oe}=o.useFormContext(),[Ce,Te]=f.useState(!1),me=Oe(qe(S,"reimbursementType"));return o.jsxRuntimeExports.jsxs(Cn,{style:V,windowSize:H,children:[o.jsxRuntimeExports.jsxs(vn,{hasFile:h,windowSize:H,showDeleteConfirmation:Ce,children:[o.jsxRuntimeExports.jsx(En,{windowSize:H,children:w?`#${u+1} ${U.reimbursement}`:U.reimbursement}),Ce?o.jsxRuntimeExports.jsxs($n,{windowSize:H,children:[o.jsxRuntimeExports.jsx(Rn,{windowSize:H,children:U.deleteConfirmation}),o.jsxRuntimeExports.jsxs(bn,{children:[o.jsxRuntimeExports.jsx(t.Button,{label:U.buttons.cancel,onClick:()=>Te(!1),style:{width:Pe.buttonWidth.value(H),marginLeft:H==="small"?t.Space.sp0:t.Space.sp4,marginRight:t.Space.sp3},size:"small",variant:"secondary","data-testid":t.generateDataTestId("delete-remi-button",U.buttons.cancel)}),o.jsxRuntimeExports.jsx(t.Button,{label:U.buttons.remove,onClick:()=>{R?.trackReimbursementDeleteReimbursementLine(e.lineId,M),J?.(e.lineId??"1"),Te(!1),K(e.lineId),ee(u)},style:{width:Pe.buttonWidth.value(H)},size:"small",variant:"danger","data-testid":t.generateDataTestId("delete-remi-button",U.buttons.remove)})]})]}):w&&(l==="draft"||m==="rejected")?o.jsxRuntimeExports.jsx(jn,{className:"deleteIconWrapper",windowSize:H,onClick:()=>Te(!0),"data-testid":t.generateDataTestId("delete-remi-button",e.lineId),children:o.jsxRuntimeExports.jsx(t.Tooltip,{enterDelay:600,title:U.deleteReimbursement,placement:"top-end",children:o.jsxRuntimeExports.jsx(wn,{})})}):null]}),g.includes(e.lineId)?o.jsxRuntimeExports.jsx(t.WarningBanner,{title:U.missingReceipt,description:U.missingReceiptDescription,style:{marginBottom:t.Space.sp3}}):null,o.jsxRuntimeExports.jsxs(kn,{windowSize:H,children:[a?.duplicateLineId!=null?o.jsxRuntimeExports.jsxs(Tn,{children:[U.thisExpense," ",a.isDuplicateWithinTransaction?o.jsxRuntimeExports.jsx(Gt,{"data-testid":t.generateDataTestId("view-duplicate-transaction-expense"),onClick:()=>(R?.trackReimbursementViewDuplicateExpense(!0,M),q(a.duplicateLineId)),children:U.viewOriginalExpense}):o.jsxRuntimeExports.jsx(Gt,{"data-testid":t.generateDataTestId("view-duplicate-expense"),onClick:()=>{a.duplicateTransactionId!=null&&a.duplicateLineId!=null&&(R?.trackReimbursementViewDuplicateExpense(!1,M),_(a.duplicateTransactionId,a.duplicateLineId))},children:U.viewOriginalExpense})]}):null,o.jsxRuntimeExports.jsx(t.FieldThread,{isThreadAllowed:C&&M!=null,dashboardTabKey:t.toDashboardTabKeys({type:"details",key:me===U.mileageKey?`${u}.mileage.reimbursementType`:`${u}.out_of_pocket.reimbursementType`}),roomId:Q,companyId:ie.currentTenant?.companyId??E,companyName:ie.currentTenant?.companyName??E,entityId:M,dashboardOptionType:"reimbursement",filterMetaData:{...ye,entityType:`reimbursement.details.${L.uniqueReimbursementTabKey("reimbursementType",u,me===U.mileageKey?"mileage":"out_of_pocket")}`},fieldThreadTargetElement:$e?.sharedRef?.contentWrapperRef,style:{borderRadius:a?.duplicateLineId!=null?"0 0 0 0":`${t.Space.sp2} ${t.Space.sp2} 0 0`},children:o.jsxRuntimeExports.jsxs(Pn,{isDisabled:T!=null,haveBorderRadius:a?.duplicateLineId==null,children:[o.jsxRuntimeExports.jsx(t.LabeledRadioField,{isDisabled:T!=null||v?"disabled":void 0,isContainerClickable:!0,label:{label:U.outOfPocket},style:{padding:`${t.Space.sp3} ${t.Space.sp0}`,paddingLeft:Pe.labelPaddingLeft.value(H),borderTopLeftRadius:"inherit"},showOutline:!(C&&M!=null),radioField:{name:qe(S,"reimbursementType"),id:`${qe(S,"reimbursementType")}.${U.outOfPocketKey}`,value:U.outOfPocketKey}}),o.jsxRuntimeExports.jsx(In,{}),o.jsxRuntimeExports.jsx(t.LabeledRadioField,{isDisabled:T!=null||v?"disabled":void 0,isContainerClickable:!0,label:{label:U.mileage},style:{padding:`${t.Space.sp3} ${t.Space.sp0}`,paddingLeft:Pe.labelPaddingLeft.value(H),borderTopRightRadius:"inherit"},showOutline:!(C&&M!=null),radioField:{name:qe(S,"reimbursementType"),id:`${qe(S,"reimbursementType")}.${U.mileageKey}`,value:U.mileageKey}})]})}),o.jsxRuntimeExports.jsx(On,{}),me===U.outOfPocketKey?o.jsxRuntimeExports.jsx(fn,{lineIndex:u,reimbursementId:M,uncategorizedAccounts:P,isReimbursementCommentingEnabled:C,isDisabled:T,outOfPocket:{transactionDate:e.outOfPocket.transactionDate!=null?Z.zeniDate(e.outOfPocket.transactionDate.toDateString()):void 0,account:e.outOfPocket.account.selectedOption,isConvertedCurrencyLoading:r?.fetchState==="In-Progress",isRecommendationLoading:i==="In-Progress",homeCurrencyDetails:e.homeCurrencyConversions,class:e.outOfPocket.class.selectedOption,amount:{amount:e.outOfPocket.amount?.amount??0,currencyCode:e.outOfPocket.amount?.currencyCode??"USD",currencySymbol:e.outOfPocket.amount?.currencySymbol??"$"},memo:e.outOfPocket.memo,merchant:e.outOfPocket.merchant.selectedOption,recommendations:e.outOfPocket.recommendations,recommendedAccount:e.outOfPocket.recommendedAccount,isCategoryUpdateSelected:e.outOfPocket.isCategoryUpdateSelected,isCategoryFirstTimeAutofilled:e.outOfPocket.isCategoryFirstTimeAutofilled,retainedAccount:e.outOfPocket.retainedAccount,isRetainedCategorySelected:e.outOfPocket.isRetainedCategorySelected},sectionId:qe(S,"outOfPocket"),accountList:j,classList:d,autoFields:I,merchantList:b,tentativeMerchantName:X,allCurrencies:pe,isAddReimbursementDisabled:v,accountsHierarchyList:de,classHierarchyList:re}):o.jsxRuntimeExports.jsx(en,{lineIndex:u,reimbursementId:M,isReimbursementCommentingEnabled:C,isDisabled:T,mileage:{transactionDate:e.mileage.transactionDate!=null?Z.zeniDate(e.mileage.transactionDate.toDateString()):void 0,class:e.mileage.class.selectedOption,distanceInMiles:e.mileage.distanceInMiles,amount:{amount:e.mileage.amount?.amount??0,currencyCode:e.mileage.amount?.currencyCode??"USD",currencySymbol:e.mileage.amount?.currencySymbol??"$"},memo:e.mileage.memo},classList:d,sectionId:qe(S,"mileage"),companyMileageConfigInfo:ce,defaultCurrency:s,isAddReimbursementDisabled:v,classHierarchyList:re})]})]})},bn=n.div``,vn=n.div`
|
|
167
|
+
//when file is present and it's a small window, we don't have to show the title and delete icon. Delete icon will be displayed inside the invoice title, next to replace
|
|
168
|
+
//https://www.figma.com/file/ERKhHKvXKZSfIUruWfHqwU/New-Reimbursement-Mobile-Ver-1.0?type=design&node-id=419%3A6356&mode=design&t=upxphJ6HQRaue6wK-1
|
|
169
|
+
display: ${e=>e.hasFile&&e.windowSize==="small"?"none":"flex"};
|
|
170
|
+
justify-content: ${e=>e.windowSize==="small"?e.showDeleteConfirmation?"center":"flex-end":"space-between"};
|
|
171
|
+
margin-bottom: ${t.Space.sp3};
|
|
172
|
+
align-items: center;
|
|
173
|
+
`,jn=n.div`
|
|
174
|
+
width: ${t.Space.sp3};
|
|
175
|
+
height: ${t.Space.sp3};
|
|
176
|
+
cursor: pointer;
|
|
177
|
+
display: none;
|
|
178
|
+
color: ${e=>e.windowSize==="small"?t.Colors.important:e.theme.colors.hero};
|
|
179
|
+
&:hover {
|
|
180
|
+
color: ${t.Colors.important};
|
|
181
|
+
}
|
|
182
|
+
`,Gt=n.span`
|
|
183
|
+
border-bottom: 1px solid currentColor;
|
|
184
|
+
cursor: pointer;
|
|
185
|
+
`,wn=n(t.SvgDelete)`
|
|
186
|
+
width: ${t.Space.sp3};
|
|
187
|
+
height: ${t.Space.sp3};
|
|
188
|
+
cursor: pointer;
|
|
189
|
+
`,Rn=n.div`
|
|
190
|
+
margin-bottom: ${e=>Pe.deleteConfirmationTextMarginBottom.valuePx(e.windowSize)};
|
|
191
|
+
`,$n=n(t.StandardRegular)`
|
|
192
|
+
color: ${e=>e.theme.colors.hero};
|
|
193
|
+
display: flex;
|
|
194
|
+
align-items: center;
|
|
195
|
+
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
196
|
+
`,Cn=n.div`
|
|
197
|
+
display: flex;
|
|
198
|
+
flex-direction: column;
|
|
199
|
+
padding-top: ${e=>Pe.paddingTop.valuePx(e.windowSize)};
|
|
200
|
+
margin-right: ${e=>Pe.containerRightMargin.valuePx(e.windowSize)};
|
|
201
|
+
margin-left: ${e=>Pe.containerLeftMargin.valuePx(e.windowSize)};
|
|
202
|
+
.deleteIconWrapper {
|
|
203
|
+
${e=>e.windowSize==="small"&&`
|
|
204
|
+
display: block;
|
|
205
|
+
`}
|
|
206
|
+
}
|
|
207
|
+
&:hover {
|
|
208
|
+
.deleteIconWrapper {
|
|
209
|
+
display: block;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
`,Tn=n(t.ExtraSmallRegular)`
|
|
213
|
+
padding: ${t.Space.sp2} ${t.Space.sp0} ${t.Space.sp2} ${t.Space.sp4};
|
|
214
|
+
background-color: ${t.Colors.alertLight};
|
|
215
|
+
color: ${t.Colors.brandColorGoldDark};
|
|
216
|
+
border-top-left-radius: inherit;
|
|
217
|
+
border-top-right-radius: inherit;
|
|
218
|
+
`,En=n(t.LargeSemiBold)`
|
|
219
|
+
color: ${e=>e.theme.colors.primary};
|
|
220
|
+
display: ${e=>e.windowSize==="small"?"none":"unset"};
|
|
221
|
+
`,kn=n.div`
|
|
222
|
+
display: flex;
|
|
223
|
+
flex-direction: column;
|
|
224
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
225
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
226
|
+
box-shadow: ${e=>`${t.Space.sp0} 2px ${t.Space.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
227
|
+
border-radius: ${t.Space.sp2};
|
|
228
|
+
margin-bottom: ${e=>Pe.marginBottom.valuePx(e.windowSize)};
|
|
229
|
+
`,In=n.div`
|
|
230
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
231
|
+
min-width: 1px;
|
|
232
|
+
max-width: 1px;
|
|
233
|
+
`,Pn=n.div`
|
|
234
|
+
display: flex;
|
|
235
|
+
flex-direction: row;
|
|
236
|
+
border-top-left-radius: ${e=>e.haveBorderRadius?"inherit":"unset"};
|
|
237
|
+
border-top-right-radius: ${e=>e.haveBorderRadius?"inherit":"unset"};
|
|
238
|
+
`,On=n.div`
|
|
239
|
+
display: flex;
|
|
240
|
+
flex: 1;
|
|
241
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
242
|
+
min-height: 1px;
|
|
243
|
+
max-height: 1px;
|
|
244
|
+
`,zn=(e,r)=>`${e}.${r}`,Ze={labelWidth:new t.ResponsiveSized(120,160,160),paddingBottom:new t.ResponsiveSized(t.sp[3],t.sp[3]),paddingTop:new t.ResponsiveSized(12,t.sp[3]),marginBottom:new t.ResponsiveSized(12,t.sp[3]),containerRightMargin:new t.ResponsiveSized(t.sp[3],t.sp[8]),containerLeftMargin:new t.ResponsiveSized(t.sp[3],t.sp[6])},go=({isReimbursementCommentingEnabled:e,sectionId:r,isDisabled:i,reportTitle:l,reimbursementId:u,style:j})=>{const d=t.useWindowSizeContext(),b=t.useGlobalInfoContext(),h=t.useComponentConnectContext(),s=`dashboard_${b.currentTenant?.companyId}`,w=t.appLocale.getLocalizedStrings(),g=w.spendManagement.reimbursement.reimbursementDetail,a=w.common.strings.empty,m=Ze.labelWidth.value(d);return o.jsxRuntimeExports.jsxs(Bn,{style:j,windowSize:d,children:[o.jsxRuntimeExports.jsx(Ln,{windowSize:d,children:g.whatFor}),o.jsxRuntimeExports.jsx(An,{children:o.jsxRuntimeExports.jsx(t.FieldThread,{isThreadAllowed:e&&u!=null,dashboardTabKey:t.toDashboardTabKeys({type:"details",key:"whatFor"}),roomId:s,companyId:b.currentTenant?.companyId??a,companyName:b.currentTenant?.companyName??a,entityId:u,dashboardOptionType:"reimbursement",filterMetaData:{application:"dashboard",companyId:b.currentTenant?.companyId,tab:"reimbursement",entityId:u,entityType:"reimbursement.details.whatFor"},fieldThreadTargetElement:h?.sharedRef?.contentWrapperRef,style:{borderRadius:t.Space.sp2},children:o.jsxRuntimeExports.jsx(t.LabeledTextField,{isDisabled:i,label:{label:g.reportTitle,width:m},text:{type:"text",name:zn(r,"reportTitle"),placeholder:g.lunchWithClient,defaultValue:l,autoComplete:"off",options:{required:!0,validate:S=>!!S}},style:{width:"auto",borderRadius:t.Space.sp2}})})})]})},Bn=n.div`
|
|
245
|
+
display: flex;
|
|
246
|
+
flex-direction: column;
|
|
247
|
+
padding-top: ${e=>Ze.paddingTop.valuePx(e.windowSize)};
|
|
248
|
+
padding-bottom: ${e=>Ze.paddingBottom.valuePx(e.windowSize)};
|
|
249
|
+
margin-right: ${e=>Ze.containerRightMargin.valuePx(e.windowSize)};
|
|
250
|
+
margin-left: ${e=>Ze.containerLeftMargin.valuePx(e.windowSize)};
|
|
251
|
+
`,An=n.div`
|
|
252
|
+
display: flex;
|
|
253
|
+
flex-direction: column;
|
|
254
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
255
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
256
|
+
box-shadow: ${e=>`${t.Space.sp0} 2px ${t.Space.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
257
|
+
border-radius: ${t.Space.sp2};
|
|
258
|
+
`,Ln=n(t.LargeSemiBold)`
|
|
259
|
+
color: ${e=>e.theme.colors.primary};
|
|
260
|
+
margin-bottom: ${e=>Ze.marginBottom.valuePx(e.windowSize)};
|
|
261
|
+
`,B={largeLabelWidth:new t.ResponsiveSized(120,120,220),marginTop:new t.ResponsiveSized(28,8),paymentToMarginTop:new t.ResponsiveSized(0,t.sp[4]),marginBottom:new t.ResponsiveSized(t.sp[5],t.sp[4]),paymentToMarginBottom:new t.ResponsiveSized(12,t.sp[3]),totalMarginBottom:new t.ResponsiveSized(t.sp[3],t.sp[3]),reimbursementSectionLeftMargin:new t.ResponsiveSized(t.sp[3],t.sp[6]),reimbursementSectionRightMargin:new t.ResponsiveSized(t.sp[3],t.sp[8]),invoiceSectionLeftMargin:new t.ResponsiveSized(t.sp[3],t.sp[8]),invoiceSectionRightMargin:new t.ResponsiveSized(t.sp[3],t.sp[6]),rightSectionWidth:new t.ResponsiveSized(100,58),firstOrLastItemHeight:new t.ResponsiveSized(390,760),itemHeight:new t.ResponsiveSized(390,459),duplicateBannerWrapperMarginTop:new t.ResponsiveSized(t.sp[5],t.sp[3]),duplicateBannerWrapperMarginRight:new t.ResponsiveSized(t.sp[3],t.sp[8]),duplicateBannerWrapperMarginBottom:new t.ResponsiveSized(t.sp[5],t.sp[3]),duplicateBannerWrapperMarginLeft:new t.ResponsiveSized(t.sp[3],t.sp[6])},Mn={total:new t.ResponsiveSizedStyle("largeMedium","h6Medium")},{spendManagement:{reimbursement:{reimbursementDetail:D},billPay:{vendorCreation:{achDetails:dt}}},common:{currency:{currencyCode:ut}}}=t.appLocale.getLocalizedStrings(),yo=e=>{let r=0,i=ut;if("recommendationFetchState"in e&&e.recommendationFetchState!=null){const l=e;r=l.outOfPocket.amount??0,i=l.outOfPocket.currencyCode??ut}else{const l=e;r=l.outOfPocket.amount?.amount??0,i=l.outOfPocket.amount?.currencyCode??ut}return(e.homeCurrencyConversions?.currencyCode??ut)!==i&&(r=e.homeCurrencyConversions?.amount??0),r},Fn=({remiUploadStatus:e,progressSectionObj:r,reimbursementId:i,createDate:l,scheduleDate:u,paymentDate:j,hasDuplicateLine:d,approvedDate:b,isFirstOrLastListItem:h,index:s,reimbursementSectionRef:w,showSkipAutoFill:g,lineData:a,currencyConversionState:m,authParams:S,uploadInvoiceEndPoint:T,accountList:C,classList:v,merchantList:V,remiStage:I,autoFieldsByLineId:R,isReimbursementCommentingEnabled:M,isAutoFieldsExist:X,totalAmount:ce,showTotalAmountLoader:P,totalNumberOfLines:K,defaultCurrency:q,bankAccounts:_,fileRequiredLineIds:ee,isAddReimbursementDisabled:J,duplicateLineByLineId:pe,remiStatus:de,file:re,uncategorizedAccounts:H,reportTitle:ie,recommendationFetchState:$e,tentativeMerchantName:E,paymentTo:ye,analytics:Q,companyMileageConfigInfo:Oe,loggedInUserDepartmentId:Ce,isSignedInUserReimbursementCreator:Te,setShowBankAccountPage:me,setRefByLineId:Ee,setCurrentLineIdForUpload:ue,onDuplicateLineClick:Se,setUploadedReceiptPayload:Qe,removeDuplicateReimbursementForLine:W,onReceiptsUpload:Ve,scrollToSection:Ke,onRemoveReimbursement:ze,onAddReimbursement:fe,clearTentativeNameForLine:Le,onReplaceClick:be,onDeleteBankAccount:Be,updateInvoiceUploadFetchState:Ae,removeFileFromLine:Me,allCurrencies:Fe,accountsHierarchyList:te,classHierarchyList:Ue})=>{const{formState:{errors:Xe}}=o.useFormContext(),We=f.useRef(null);f.useEffect(()=>(Ee(O=>({...O,[`L${a.lineId}`]:We.current})),()=>{Ee(O=>({...O,[`L${a.lineId}`]:null}))}),[a.lineId,Ee]);const N=t.useWindowSizeContext(),et=I==="draft"?D.newReimbursementTitle:D.editReimbursementTitle,A=B.largeLabelWidth.value(N),ne=O=>O.outOfPocket.account.selectedOption==null&&(O.outOfPocket.amount==null||O.outOfPocket.amount.amount==0)&&(O.outOfPocket.class.selectedOption==null||O.outOfPocket.class.selectedOption===Ce)&&(O.outOfPocket.memo===""||O.outOfPocket.memo==null)&&O.outOfPocket.merchant.selectedOption==null&&O.outOfPocket.transactionDate==null,rt=_.map(O=>O.bankAccountId),xe=a.reimbursementType===D.outOfPocketKey&&yo(a)>=75&&re==null;return o.jsxRuntimeExports.jsxs(nr,{ref:w,windowSize:N,children:[o.jsxRuntimeExports.jsx(rr,{ref:O=>{O!=null&&(We.current=O)},windowSize:N,bottomSeperator:K!==1,showSkipAutoFill:g,isFirstItem:s===0,children:o.jsxRuntimeExports.jsx(mo.default,{customError:xe?D.requireReceipt:void 0,analytics:Q,showAutofill:!1,uploadInvoiceEndPoint:T,authParams:S,entityId:J?"":void 0,file:re,style:{width:"auto",padding:0,height:h?B.firstOrLastItemHeight.valuePx(N):B.itemHeight.valuePx(N),margin:N==="small"?t.Space.sp0:void 0},updateInvoiceUploadFetchState:Ae,onInvoiceUpload:O=>{a.reimbursementType===D.outOfPocketKey&&!ne(a)?(ue(Number(a.lineId)),Qe(O),be?.()):Ve(O,Number(a.lineId),!0)},dropFilePlaceholder:{upload:D.dropReceipt.upload,receipt:D.dropReceipt.receipt},showInfoText:!1,showTitlebar:!0,showTitlebarIcon:!J,pdfTitle:K>1?`#${s+1} Receipt`:"Receipt",onDeleteClick:()=>{Ae?.("In-Progress"),setTimeout(()=>Me?.(Number(a.lineId)))},onReplaceClick:()=>{ue(Number(a.lineId)),be?.()},allowMultiFiles:K===s+1,type:"receipt"})}),o.jsxRuntimeExports.jsxs(or,{windowSize:N,children:[s===0&&N!=="small"?o.jsxRuntimeExports.jsxs(o.jsxRuntimeExports.Fragment,{children:[o.jsxRuntimeExports.jsx(Hn,{children:et}),o.jsxRuntimeExports.jsx(ir,{children:o.jsxRuntimeExports.jsx(t.ProgressBarSectionMemo,{progressSectionObj:r,createDate:l,paymentDate:j,scheduleDate:u,approvedDate:b,isBillUploaded:i!=null?!0:e==="Completed"})}),X&&o.jsxRuntimeExports.jsxs(Dn,{children:[o.jsxRuntimeExports.jsx(Wn,{}),o.jsxRuntimeExports.jsx(Un,{children:D.banner})]}),d&&o.jsxRuntimeExports.jsxs(qn,{size:N,children:[o.jsxRuntimeExports.jsx(Nn,{}),o.jsxRuntimeExports.jsxs(Vn,{children:[o.jsxRuntimeExports.jsx(_n,{children:D.thereSeems}),o.jsxRuntimeExports.jsx(Kn,{children:D.pleaseFind})]})]}),o.jsxRuntimeExports.jsx(go,{isReimbursementCommentingEnabled:M,sectionId:L.whatForSectionId,reportTitle:ie,reimbursementId:i})]}):null,o.jsxRuntimeExports.jsx(Sn,{analytics:Q,reimbursementId:i,onDuplicateLineClick:Se,uncategorizedAccounts:H,sectionId:`${L.lineInfoSectionId}.${s}`,scrollToSection:Ke,lineIndex:s,lineData:a,accountList:C,classList:v,merchantList:V,autoFields:a.lineId!=null?R[a.lineId]:[],currencyConversionState:m,recommendationFetchState:$e,onRemoveReimbursement:ze,hasMultipleLineItems:K>1,clearTentativeNameForLine:Le,tentativeMerchantName:E,hasFile:re!=null,companyMileageConfigInfo:Oe,defaultCurrency:q,remiStage:I,remiStatus:de,fileRequiredLineIds:ee,allCurrencies:Fe,isReimbursementCommentingEnabled:M,isAddReimbursementDisabled:J,accountsHierarchyList:te,classHierarchyList:Ue,duplicateLineDetails:pe[a.lineId],removeDuplicateReimbursementForLine:W}),K!==1&&K===s+1&&o.jsxRuntimeExports.jsxs(o.jsxRuntimeExports.Fragment,{children:[o.jsxRuntimeExports.jsxs(Yn,{windowSize:N,children:[o.jsxRuntimeExports.jsx(Jn,{children:D.total}),P?o.jsxRuntimeExports.jsx(Zn,{windowSize:N,children:o.jsxRuntimeExports.jsx(Qn,{children:o.jsxRuntimeExports.jsx(t.ActivityIndicator,{size:"Standard",start:!0,style:{display:"flex"}})})}):o.jsxRuntimeExports.jsx(t.AmountBalance,{amount:Z.toAmount(ce,"USD","$"),integerStyles:t.textStyles.h6Regular.cssObject,decimalStyles:t.textStyles.standardRegular.cssObject})]}),o.jsxRuntimeExports.jsxs(er,{windowSize:N,onClick:()=>{J===!1&&fe()},isDisabled:J,"data-testid":t.generateDataTestId("add-reimbursement-row"),children:[o.jsxRuntimeExports.jsx(Jt,{}),o.jsxRuntimeExports.jsx(Yt,{children:D.addReimbursement})]}),Te?o.jsxRuntimeExports.jsxs(o.jsxRuntimeExports.Fragment,{children:[o.jsxRuntimeExports.jsx(Gn,{windowSize:N,children:D.receivePaymentTo}),o.jsxRuntimeExports.jsx(Xn,{windowSize:N,shouldDisplay:_.length>0,children:o.jsxRuntimeExports.jsx(t.LabeledSingleSelectField,{label:{label:D.yourBankAccount,width:A},style:{width:"auto"},singleSelectField:{singleSelect:{name:L.paymentAtSectionId,placeholder:t.getPlaceholderTextWithPrefix(D.yourBankAccount),showValueEyeIcon:!J,menuPlacement:"top",maxMenuHeight:308,showEyeIconOnSelect:!1,onDelete:Be,getTooltipInfo:O=>fo(_,O),onClickCreateBankAccount:()=>me(!0),getLabelForId:O=>bo(_,O),isOptionRemovable:!1,showDeleteIcon:!0,showAddBankAccountOption:!0,isDisabled:J?"readonly":void 0,showTickMark:!1,alwaysShowEyeTooltip:!0},defaultValue:{selectedOption:ye,allOptions:rt},registerOptions:{required:!0,validate:O=>!!O.selectedOption}},isFunctional:!0})}),o.jsxRuntimeExports.jsxs(tr,{shouldDisplay:_.length===0,windowSize:N,hasError:o.has(Xe,L.paymentAtSectionId),onClick:()=>{J===!1&&me(!0)},isDisabled:J,"data-testid":t.generateDataTestId("remi-add-bank-account-container"),children:[o.jsxRuntimeExports.jsx(Jt,{}),o.jsxRuntimeExports.jsx(Yt,{children:D.addBankAccount})]})]}):null]})]})]})},fo=(e,r)=>{const i=So(e,r);return i==null?`${dt.bankRoutingNumber} ${D.emptyValue}
|
|
262
|
+
${dt.bankAccountNumber} ${D.emptyValue}`:`${dt.bankRoutingNumber} ${i.bankRoutingNumberAch??D.emptyValue}, ${i.bankName??D.emptyValue}
|
|
263
|
+
${dt.bankAccountNumber} ${i.bankAccountNumber??D.emptyValue}`},So=(e,r)=>e.find(i=>i.bankAccountId===r),bo=(e,r)=>{const i=So(e,r);return i==null?D.selectBankAccount:i.bankAccountName?i.bankAccountName:i.maskedAccountNumber?i.maskedAccountNumber:i.bankName&&i.bankAccountNumber?`${i.bankName} ${D.accountNameConnector}${i.bankAccountNumber.slice(i.bankAccountNumber.length-4)}`:D.selectBankAccount},Wn=n(t.SvgAutofill3)`
|
|
264
|
+
color: ${e=>e.theme.colors.primary};
|
|
265
|
+
width: ${t.Space.sp3};
|
|
266
|
+
height: ${t.Space.sp3};
|
|
267
|
+
`,Nn=n(t.SvgAlertRound)`
|
|
268
|
+
width: ${t.Space.sp4};
|
|
269
|
+
height: ${t.Space.sp4};
|
|
270
|
+
color: ${t.Colors.brandColorGoldDark};
|
|
271
|
+
`,Dn=n.div`
|
|
272
|
+
display: flex;
|
|
273
|
+
gap: ${t.Space.sp2};
|
|
274
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
275
|
+
padding: ${t.Space.sp3};
|
|
276
|
+
border-radius: ${t.Space.sp2};
|
|
277
|
+
align-items: center;
|
|
278
|
+
margin: 0 ${t.Space.sp8} 0 ${t.Space.sp6};
|
|
279
|
+
`,qn=n.div`
|
|
280
|
+
display: flex;
|
|
281
|
+
gap: ${t.Space.sp2};
|
|
282
|
+
padding: ${t.Space.sp3};
|
|
283
|
+
border-radius: ${t.Space.sp2};
|
|
284
|
+
align-items: start;
|
|
285
|
+
margin-top: ${e=>B.duplicateBannerWrapperMarginTop.valuePx(e.size)};
|
|
286
|
+
margin-right: ${e=>B.duplicateBannerWrapperMarginRight.valuePx(e.size)};
|
|
287
|
+
margin-bottom: ${e=>B.duplicateBannerWrapperMarginBottom.valuePx(e.size)};
|
|
288
|
+
margin-left: ${e=>B.duplicateBannerWrapperMarginLeft.valuePx(e.size)};
|
|
289
|
+
background-color: ${t.Colors.alertLight};
|
|
290
|
+
border: 1px solid ${e=>e.theme.colors.brandColorGoldDark};
|
|
291
|
+
`,_n=n(t.StandardMedium)`
|
|
292
|
+
color: ${e=>e.theme.colors.brandColorGoldDark};
|
|
293
|
+
`,Vn=n.div`
|
|
294
|
+
width: 100%;
|
|
295
|
+
`,Kn=n(t.StandardRegular)`
|
|
296
|
+
color: ${e=>e.theme.colors.brandColorGoldDark};
|
|
297
|
+
`,Un=n.span`
|
|
298
|
+
color: ${e=>e.theme.colors.hero};
|
|
299
|
+
`,Hn=n(t.H5Medium)`
|
|
300
|
+
letter-spacing: -0.02em;
|
|
301
|
+
color: ${e=>e.theme.colors.primary};
|
|
302
|
+
margin: ${t.Space.sp3} ${t.Space.sp8} ${t.Space.sp3} ${t.Space.sp6};
|
|
303
|
+
`,Gn=n(t.LargeSemiBold)`
|
|
304
|
+
letter-spacing: -0.02em;
|
|
305
|
+
color: ${e=>e.theme.colors.primary};
|
|
306
|
+
margin-top: ${e=>B.paymentToMarginTop.valuePx(e.windowSize)};
|
|
307
|
+
margin-bottom: ${e=>B.paymentToMarginBottom.valuePx(e.windowSize)};
|
|
308
|
+
margin-left: ${e=>B.reimbursementSectionLeftMargin.valuePx(e.windowSize)};
|
|
309
|
+
margin-right: ${e=>B.reimbursementSectionRightMargin.valuePx(e.windowSize)};
|
|
310
|
+
`,Yn=n.div`
|
|
311
|
+
padding: ${t.Space.sp3};
|
|
312
|
+
display: flex;
|
|
313
|
+
align-items: center;
|
|
314
|
+
justify-content: space-between;
|
|
315
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
316
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
317
|
+
border-radius: ${t.Space.sp2};
|
|
318
|
+
color: ${e=>e.theme.colors.hero};
|
|
319
|
+
margin-top: ${e=>B.totalMarginBottom.valuePx(e.windowSize)};
|
|
320
|
+
margin-left: ${e=>B.reimbursementSectionLeftMargin.valuePx(e.windowSize)};
|
|
321
|
+
margin-right: ${e=>B.reimbursementSectionRightMargin.valuePx(e.windowSize)};
|
|
322
|
+
margin-bottom: ${e=>B.totalMarginBottom.valuePx(e.windowSize)};
|
|
323
|
+
justify-content: space-between;
|
|
324
|
+
`,Jn=n(t.H6Medium)`
|
|
325
|
+
display: flex;
|
|
326
|
+
width: 176px;
|
|
327
|
+
color: ${e=>e.theme.colors.primary};
|
|
328
|
+
`,Zn=n(t.StyledText)`
|
|
329
|
+
display: flex;
|
|
330
|
+
width: calc(100% - 176px);
|
|
331
|
+
justify-content: flex-end;
|
|
332
|
+
color: ${e=>e.theme.colors.primary};
|
|
333
|
+
${e=>`${Mn.total.style(e.windowSize)}`};
|
|
334
|
+
`,Qn=n.div`
|
|
335
|
+
padding-right: ${t.Space.sp3};
|
|
336
|
+
height: 30px;
|
|
337
|
+
display: flex;
|
|
338
|
+
justify-content: flex-end;
|
|
339
|
+
`,Xn=n.div`
|
|
340
|
+
margin-left: ${e=>B.reimbursementSectionLeftMargin.valuePx(e.windowSize)};
|
|
341
|
+
margin-right: ${e=>B.reimbursementSectionRightMargin.valuePx(e.windowSize)};
|
|
342
|
+
margin-bottom: ${t.Space.sp3};
|
|
343
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
344
|
+
border-radius: ${t.Space.sp2};
|
|
345
|
+
box-shadow: ${e=>`${t.Space.sp0} 2px ${t.Space.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
346
|
+
display: ${e=>e.shouldDisplay?"unset":"none"};
|
|
347
|
+
`,er=n.div`
|
|
348
|
+
padding: ${t.Space.sp3};
|
|
349
|
+
display: flex;
|
|
350
|
+
align-items: center;
|
|
351
|
+
justify-content: center;
|
|
352
|
+
border: 1px solid
|
|
353
|
+
${e=>e.hasError===!0?t.Colors.important:e.theme.colors.hero};
|
|
354
|
+
border-radius: ${t.Space.sp2};
|
|
355
|
+
color: ${e=>e.hasError===!0?t.Colors.important:e.theme.colors.hero};
|
|
356
|
+
cursor: ${e=>e.isDisabled?"default":"pointer"};
|
|
357
|
+
&:hover {
|
|
358
|
+
color: ${e=>e.isDisabled?e.theme.colors.hero:e.hasError===!0?t.Colors.important:e.theme.colors.primary};
|
|
359
|
+
border: 1px solid
|
|
360
|
+
${e=>e.isDisabled?e.theme.colors.grey3:e.hasError===!0?t.Colors.important:e.theme.colors.primary};
|
|
361
|
+
}
|
|
362
|
+
margin-top: ${e=>B.totalMarginBottom.valuePx(e.windowSize)};
|
|
363
|
+
margin-left: ${e=>B.reimbursementSectionLeftMargin.valuePx(e.windowSize)};
|
|
364
|
+
margin-right: ${e=>B.reimbursementSectionRightMargin.valuePx(e.windowSize)};
|
|
365
|
+
margin-bottom: ${e=>B.marginBottom.valuePx(e.windowSize)};
|
|
366
|
+
`,tr=n.div`
|
|
367
|
+
padding: ${t.Space.sp3};
|
|
368
|
+
display: ${e=>e.shouldDisplay?"flex":"none"};
|
|
369
|
+
align-items: center;
|
|
370
|
+
justify-content: center;
|
|
371
|
+
border: 1px solid
|
|
372
|
+
${e=>e.hasError===!0?t.Colors.important:e.theme.colors.hero};
|
|
373
|
+
border-radius: ${t.Space.sp2};
|
|
374
|
+
color: ${e=>e.hasError===!0?t.Colors.important:e.theme.colors.hero};
|
|
375
|
+
cursor: pointer;
|
|
376
|
+
&:hover {
|
|
377
|
+
color: ${e=>e.isDisabled?e.theme.colors.hero:e.hasError===!0?t.Colors.important:e.theme.colors.primary};
|
|
378
|
+
border: 1px solid
|
|
379
|
+
${e=>e.isDisabled?e.theme.colors.grey3:e.hasError===!0?t.Colors.important:e.theme.colors.primary};
|
|
380
|
+
}
|
|
381
|
+
margin-left: ${e=>B.reimbursementSectionLeftMargin.valuePx(e.windowSize)};
|
|
382
|
+
margin-right: ${e=>B.reimbursementSectionRightMargin.valuePx(e.windowSize)};
|
|
383
|
+
margin-bottom: ${e=>B.marginBottom.valuePx(e.windowSize)};
|
|
384
|
+
`,Yt=n(t.StandardMedium)`
|
|
385
|
+
color: inherit;
|
|
386
|
+
`,Jt=n(t.SvgAddRound)`
|
|
387
|
+
margin-right: ${t.Space.sp2};
|
|
388
|
+
width: ${t.Space.sp3};
|
|
389
|
+
height: ${t.Space.sp3};
|
|
390
|
+
`,or=n.div`
|
|
391
|
+
display: flex;
|
|
392
|
+
flex-direction: column;
|
|
393
|
+
width: ${e=>B.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
394
|
+
`,nr=n.div`
|
|
395
|
+
display: flex;
|
|
396
|
+
width: 100%;
|
|
397
|
+
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
398
|
+
`,rr=n.div`
|
|
399
|
+
height: 100%;
|
|
400
|
+
background: ${e=>e.theme.colors.grey3};
|
|
401
|
+
border-radius: ${t.Space.sp2};
|
|
402
|
+
width: ${e=>e.windowSize==="small"?"auto":"42%"};
|
|
403
|
+
margin-left: ${e=>B.invoiceSectionLeftMargin.valuePx(e.windowSize)};
|
|
404
|
+
margin-right: ${e=>B.invoiceSectionRightMargin.valuePx(e.windowSize)};
|
|
405
|
+
visibility: ${e=>e.showSkipAutoFill?"hidden":"unset"};
|
|
406
|
+
margin-bottom: ${e=>e.bottomSeperator===!0&&e.windowSize!=="small"?e.isFirstItem?"102px":t.Space.sp10:0};
|
|
407
|
+
margin-top: ${e=>B.marginTop.valuePx(e.windowSize)};
|
|
408
|
+
`,ir=n.div`
|
|
409
|
+
padding: ${t.Space.sp2} ${t.Space.sp8} ${t.Space.sp0} ${t.Space.sp6};
|
|
410
|
+
`,sr={total:new t.ResponsiveSizedStyle("largeMedium","h6Medium")},G={largeLabelWidth:new t.ResponsiveSized(120,120,220),marginBottom:new t.ResponsiveSized(t.sp[5],t.sp[4]),addBankAccountMarginBottom:new t.ResponsiveSized(t.sp[5],t.sp[5]),marginTop:new t.ResponsiveSized(t.sp[0],78),paymentToMarginTop:new t.ResponsiveSized(0,t.sp[4]),totalMarginBottom:new t.ResponsiveSized(t.sp[3],t.sp[3]),rightMargin:new t.ResponsiveSized(t.sp[3],t.sp[8]),leftMargin:new t.ResponsiveSized(t.sp[3],t.sp[6]),paymentToMarginBottom:new t.ResponsiveSized(12,t.sp[3])},_e=t.appLocale.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail,ar=({remiDetails:e,isUserAdmin:r,authParams:i,uploadInvoiceEndPoint:l,showSkipAutoFill:u,isReimbursementCommentingEnabled:j,isAutoFieldsExist:d,totalAmount:b,defaultCurrency:h,hasDuplicateLine:s,bankAccounts:w,fileRequiredLineIds:g,companyMileageConfigInfo:a,analytics:m,reimbursementId:S,currencyConversionStatus:T,setShowSkipAutoFill:C,setShowBankAccountPage:v,removeDuplicateReimbursementForLine:V,onReceiptsUpload:I,setCurrentLineIdForUpload:R,onDuplicateLineClick:M,setUploadedReceiptPayload:X,removeFileFromLine:ce,onReplaceClick:P,updateInvoiceUploadFetchState:K,clearTentativeNameForLine:q,onDeleteBankAccount:_,uncategorizedAccounts:ee,isSignedInUserReimbursementCreator:J,duplicateLineByLineId:pe,showTotalAmountLoader:de,scrollContainerRef:re})=>{const{control:H,formState:{errors:ie}}=o.useFormContext(),{fields:$e,append:E,remove:ye}=o.useFieldArray({name:L.lineInfoSectionId,control:H}),Q=$e,Oe=f.useRef(null),Ce=A=>{setTimeout(()=>{ye(A)})},{tentativeMerchantNameByLineId:Te,remiStage:me,remiStatus:Ee}=e,ue=!J||me==="pending_approval"&&Ee!=="rejected"&&r||me==="pending_approval"&&Ee==="rejected",Se=ue?e.paymentToBankAccountDetail!=null?[e.paymentToBankAccountDetail]:[]:w,Qe=Se.map(A=>A.bankAccountId),W=t.useWindowSizeContext(),Ve=G.largeLabelWidth.value(W),Ke=e.whatForSection.reportTitle,ze=e.accountList.accounts,fe=e.accountsHierarchyList,Le=e.classHierarchyList,be=e.classList.classes,Be=e.merchantList.merchants,Ae=e.addRemiAutoFieldsByLineId,Me=Math.max(...Object.keys(e.editRemiInitialDetails?.lineDetailSection??{}).map(A=>Number(A)),0),Fe=()=>{const A=Q[Q.length-1],ne=vo(Q.length,Number(A.lineId)>Me?String(Number(A.lineId)+1):String(Me+1),fe,Le,Be,h,e.allCurrencies,e.loggedInUserDepartmentId);setTimeout(()=>{E(ne,{shouldFocus:!1})}),R(Number(ne.lineId)),C(!0),setTimeout(()=>L.scrollToTargetAdjusted(Oe.current,re?.current),50)},[te,Ue]=f.useState({}),Xe=f.useCallback(A=>{const ne=te[`L${A}`];ne!=null&&L.scrollToTargetAdjusted(ne,re?.current)},[te,re]),We=e.reimbursementInfo?.billStatus.code=="approved"&&e.reimbursementInfo?.billPaymentStatus.code?e.reimbursementInfo?.billPaymentStatus:e.reimbursementInfo?.billStatus,N=e.reimbursementInfo?.paymentDate!=null?Z.zeniDate(Z.getNextNthWorkingDay(e.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,et=e.reimbursementInfo?.expectedDepositDate??N;return o.jsxRuntimeExports.jsxs(ur,{windowSize:W,showSkipAutoFill:u,children:[Q.map((A,ne)=>o.jsxRuntimeExports.jsx(Fn,{removeDuplicateReimbursementForLine:V,onDuplicateLineClick:M,scrollToSection:Xe,setRefByLineId:Ue,duplicateLineByLineId:pe,reimbursementId:S,remiUploadStatus:e.uploadStatus,uncategorizedAccounts:ee,progressSectionObj:We,createDate:e.createTime,paymentDate:et,scheduleDate:e.reimbursementInfo?.paymentDate,approvedDate:e.latestApprovedDate,isFirstOrLastListItem:Q.length-1===ne||ne===0,index:ne,reimbursementSectionRef:Oe,remiStage:me,remiStatus:Ee,authParams:i,file:A.file,uploadInvoiceEndPoint:l,showSkipAutoFill:u,lineData:A,currencyConversionState:T[A.lineId],recommendationFetchState:e.lineDetailSection[A.lineId]?.recommendationFetchState,setCurrentLineIdForUpload:R,setUploadedReceiptPayload:X,onReplaceClick:P,onReceiptsUpload:I,removeFileFromLine:ce,isReimbursementCommentingEnabled:j,isAutoFieldsExist:d,reportTitle:Ke,accountList:ze,classList:be,merchantList:Be,autoFieldsByLineId:Ae,onRemoveReimbursement:Ce,onAddReimbursement:Fe,totalAmount:b,showTotalAmountLoader:de,hasDuplicateLine:s,totalNumberOfLines:Q.length,updateInvoiceUploadFetchState:K,clearTentativeNameForLine:q,tentativeMerchantName:Te[A.lineId],companyMileageConfigInfo:a,defaultCurrency:h,setShowBankAccountPage:v,paymentTo:e.paymentTo,bankAccounts:Se,onDeleteBankAccount:_,analytics:m,fileRequiredLineIds:g,allCurrencies:e.allCurrencies,loggedInUserDepartmentId:e.loggedInUserDepartmentId,isAddReimbursementDisabled:ue,accountsHierarchyList:fe,classHierarchyList:Le,isSignedInUserReimbursementCreator:J},A.lineId)),Q.length===1&&o.jsxRuntimeExports.jsxs(o.jsxRuntimeExports.Fragment,{children:[o.jsxRuntimeExports.jsxs(Tt,{children:[W!=="small"?o.jsxRuntimeExports.jsx($t,{windowSize:W}):null,o.jsxRuntimeExports.jsx(Ct,{windowSize:W,children:o.jsxRuntimeExports.jsxs(pr,{windowSize:W,children:[o.jsxRuntimeExports.jsx(mr,{children:_e.total}),de?o.jsxRuntimeExports.jsx(hr,{windowSize:W,children:o.jsxRuntimeExports.jsx(gr,{children:o.jsxRuntimeExports.jsx(t.ActivityIndicator,{size:"Standard",start:!0,style:{display:"flex"}})})}):o.jsxRuntimeExports.jsx(t.AmountBalance,{amount:Z.toAmount(b,Z.defaultVendorCurrency.currencyCode,Z.defaultVendorCurrency.currencySymbol),integerStyles:t.textStyles.h6Regular.cssObject,decimalStyles:t.textStyles.standardRegular.cssObject})]})})]}),o.jsxRuntimeExports.jsxs(Tt,{children:[W!=="small"?o.jsxRuntimeExports.jsx($t,{windowSize:W}):null,o.jsxRuntimeExports.jsx(Ct,{windowSize:W,children:o.jsxRuntimeExports.jsxs(yr,{windowSize:W,onClick:()=>{ue===!1&&Fe()},isDisabled:ue,"data-testid":t.generateDataTestId("add-reimbursement-container"),children:[o.jsxRuntimeExports.jsx(Qt,{}),o.jsxRuntimeExports.jsx(Zt,{children:_e.addReimbursement})]})})]}),o.jsxRuntimeExports.jsxs(Tt,{children:[W!=="small"?o.jsxRuntimeExports.jsx($t,{windowSize:W}):null,J?o.jsxRuntimeExports.jsxs(Ct,{windowSize:W,children:[o.jsxRuntimeExports.jsx(xr,{windowSize:W,children:_e.receivePaymentTo}),o.jsxRuntimeExports.jsx(dr,{windowSize:W,shouldDisplay:Se.length>0,children:o.jsxRuntimeExports.jsx(t.LabeledSingleSelectField,{label:{label:_e.yourBankAccount,width:Ve},style:{width:"auto"},singleSelectField:{singleSelect:{name:L.paymentAtSectionId,placeholder:t.getPlaceholderTextWithPrefix(_e.yourBankAccount),showValueEyeIcon:!ue,menuPlacement:"top",maxMenuHeight:308,showEyeIconOnSelect:!1,onDelete:_,getTooltipInfo:A=>fo(Se,A),onClickCreateBankAccount:()=>v(!0),getLabelForId:A=>bo(Se,A),isOptionRemovable:!1,showDeleteIcon:!0,showAddBankAccountOption:!0,isDisabled:ue?"readonly":void 0,showTickMark:!1,alwaysShowEyeTooltip:!0},defaultValue:{selectedOption:e.paymentTo,allOptions:Qe},registerOptions:{required:!0,validate:A=>!!A.selectedOption}},isFunctional:!0})}),o.jsxRuntimeExports.jsxs(fr,{shouldDisplay:Se.length===0,windowSize:W,onClick:()=>{ue===!1&&v(!0)},hasError:o.has(ie,L.paymentAtSectionId),isDisabled:ue,"data-testid":t.generateDataTestId("remi-add-bank-account-container"),children:[o.jsxRuntimeExports.jsx(Qt,{}),o.jsxRuntimeExports.jsx(Zt,{children:_e.addBankAccount})]})]}):null]})]})]})},vo=(e,r,i,l,u,j,d,b)=>{const h=lr(i,l,u,j,d,b);return{lineIndex:e,lineId:r,reimbursementType:_e.outOfPocketKey,file:void 0,outOfPocket:h,mileage:cr(l,j,b)}},lr=(e,r,i,l,u,j)=>({transactionDate:void 0,class:{allOptions:t.getGroupedClassOptions(r,[]),selectedOption:j},account:{allOptions:t.getGroupedAccountOptions(e,[]),selectedOption:void 0},amount:{amount:0,currencyCode:l.currencyCode,currencySymbol:l.currencySymbol,currency:{allOptions:u.map(d=>({label:`${d.currencyCode} - ${d.currency}`,value:d.currencyCode,countryCode:t.toAlpha2CountryCodeSupportedByProvider(d.countryCode)})),selectedOption:l.currencyCode??t.appLocale.getLocalizedStrings().common.currency.currencyCode}},memo:void 0,merchant:{allOptions:i.map(d=>d.id).filter(d=>!!d),selectedOption:void 0},recommendations:[],isCategoryUpdateSelected:!1,isCategoryFirstTimeAutofilled:!1,isRetainedCategorySelected:!1}),cr=(e,r,i)=>({transactionDate:void 0,class:{allOptions:t.getGroupedClassOptions(e,[]),selectedOption:i},distanceInMiles:void 0,amount:{amount:0,currencyCode:r.currencyCode,currencySymbol:r.currencySymbol},memo:void 0}),dr=n.div`
|
|
411
|
+
margin-left: ${e=>G.leftMargin.valuePx(e.windowSize)};
|
|
412
|
+
margin-right: ${e=>G.rightMargin.valuePx(e.windowSize)};
|
|
413
|
+
margin-bottom: ${e=>G.addBankAccountMarginBottom.valuePx(e.windowSize)};
|
|
414
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
415
|
+
border-radius: ${t.Space.sp2};
|
|
416
|
+
box-shadow: ${e=>`${t.Space.sp0} 2px ${t.Space.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
417
|
+
display: ${e=>e.shouldDisplay?"inherit":"none"};
|
|
418
|
+
`,$t=n.div`
|
|
419
|
+
width: ${e=>e.windowSize==="small"?"100%":"42%"};
|
|
420
|
+
`,Ct=n.div`
|
|
421
|
+
width: ${e=>e.windowSize==="small"?"100%":"58%"};
|
|
422
|
+
`,ur=n.div`
|
|
423
|
+
display: ${e=>e.windowSize==="small"&&e.showSkipAutoFill?"none":"flex"};
|
|
424
|
+
flex-direction: column;
|
|
425
|
+
margin-top: ${e=>G.marginTop.valuePx(e.windowSize)};
|
|
426
|
+
`,pr=n.div`
|
|
427
|
+
padding: ${t.Space.sp3};
|
|
428
|
+
display: flex;
|
|
429
|
+
align-items: center;
|
|
430
|
+
justify-content: space-between;
|
|
431
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
432
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
433
|
+
border-radius: ${t.Space.sp2};
|
|
434
|
+
color: ${e=>e.theme.colors.hero};
|
|
435
|
+
margin-top: ${e=>G.totalMarginBottom.valuePx(e.windowSize)};
|
|
436
|
+
margin-left: ${e=>G.leftMargin.valuePx(e.windowSize)};
|
|
437
|
+
margin-right: ${e=>G.rightMargin.valuePx(e.windowSize)};
|
|
438
|
+
margin-bottom: ${e=>G.totalMarginBottom.valuePx(e.windowSize)};
|
|
439
|
+
`,mr=n(t.H6Medium)`
|
|
440
|
+
display: flex;
|
|
441
|
+
width: 176px;
|
|
442
|
+
color: ${e=>e.theme.colors.primary};
|
|
443
|
+
`,xr=n(t.LargeSemiBold)`
|
|
444
|
+
color: ${e=>e.theme.colors.primary};
|
|
445
|
+
margin-top: ${e=>G.paymentToMarginTop.valuePx(e.windowSize)};
|
|
446
|
+
margin-bottom: ${e=>G.paymentToMarginBottom.valuePx(e.windowSize)};
|
|
447
|
+
margin-left: ${e=>G.leftMargin.valuePx(e.windowSize)};
|
|
448
|
+
margin-right: ${e=>G.rightMargin.valuePx(e.windowSize)};
|
|
449
|
+
`,hr=n(t.StyledText)`
|
|
450
|
+
display: flex;
|
|
451
|
+
width: calc(100% - 176px);
|
|
452
|
+
justify-content: flex-end;
|
|
453
|
+
color: ${e=>e.theme.colors.primary};
|
|
454
|
+
${e=>`${sr.total.style(e.windowSize)}`};
|
|
455
|
+
`,gr=n.div`
|
|
456
|
+
padding-right: ${t.Space.sp3};
|
|
457
|
+
height: 30px;
|
|
458
|
+
display: flex;
|
|
459
|
+
justify-content: flex-end;
|
|
460
|
+
`,yr=n.div`
|
|
461
|
+
padding: ${t.Space.sp3};
|
|
462
|
+
display: flex;
|
|
463
|
+
align-items: center;
|
|
464
|
+
justify-content: center;
|
|
465
|
+
border: 1px solid
|
|
466
|
+
${e=>e.hasError===!0?t.Colors.important:e.theme.colors.hero};
|
|
467
|
+
border-radius: ${t.Space.sp2};
|
|
468
|
+
|
|
469
|
+
color: ${e=>e.hasError===!0?t.Colors.important:e.theme.colors.hero};
|
|
470
|
+
cursor: ${e=>e.isDisabled?"default":"pointer"};
|
|
471
|
+
&:hover {
|
|
472
|
+
color: ${e=>e.isDisabled?e.theme.colors.hero:e.hasError===!0?t.Colors.important:e.theme.colors.primary};
|
|
473
|
+
border: 1px solid
|
|
474
|
+
${e=>e.isDisabled?e.theme.colors.grey3:e.hasError===!0?t.Colors.important:e.theme.colors.primary};
|
|
475
|
+
}
|
|
476
|
+
margin-top: ${e=>G.totalMarginBottom.valuePx(e.windowSize)};
|
|
477
|
+
margin-left: ${e=>G.leftMargin.valuePx(e.windowSize)};
|
|
478
|
+
margin-right: ${e=>G.rightMargin.valuePx(e.windowSize)};
|
|
479
|
+
margin-bottom: ${e=>G.marginBottom.valuePx(e.windowSize)};
|
|
480
|
+
`,fr=n.div`
|
|
481
|
+
padding: ${t.Space.sp3};
|
|
482
|
+
display: ${e=>e.shouldDisplay?"flex":"none"};
|
|
483
|
+
align-items: center;
|
|
484
|
+
justify-content: center;
|
|
485
|
+
border: 1px solid
|
|
486
|
+
${e=>e.hasError===!0?t.Colors.important:e.theme.colors.hero};
|
|
487
|
+
border-radius: ${t.Space.sp2};
|
|
488
|
+
color: ${e=>e.hasError===!0?t.Colors.important:e.theme.colors.hero};
|
|
489
|
+
cursor: ${e=>e.isDisabled?"default":"pointer"};
|
|
490
|
+
&:hover {
|
|
491
|
+
color: ${e=>e.isDisabled?e.theme.colors.hero:e.hasError===!0?t.Colors.important:e.theme.colors.primary};
|
|
492
|
+
border: 1px solid
|
|
493
|
+
${e=>e.isDisabled?e.theme.colors.grey3:e.hasError===!0?t.Colors.important:e.theme.colors.primary};
|
|
494
|
+
}
|
|
495
|
+
margin-left: ${e=>G.leftMargin.valuePx(e.windowSize)};
|
|
496
|
+
margin-right: ${e=>G.rightMargin.valuePx(e.windowSize)};
|
|
497
|
+
margin-bottom: ${e=>G.addBankAccountMarginBottom.valuePx(e.windowSize)};
|
|
498
|
+
`,Zt=n(t.StandardMedium)`
|
|
499
|
+
color: inherit;
|
|
500
|
+
`,Qt=n(t.SvgAddRound)`
|
|
501
|
+
margin-right: ${t.Space.sp2};
|
|
502
|
+
width: ${t.Space.sp3};
|
|
503
|
+
height: ${t.Space.sp3};
|
|
504
|
+
`,Tt=n.div`
|
|
505
|
+
display: flex;
|
|
506
|
+
width: 100%;
|
|
507
|
+
`,Re={buttonWidth:new t.ResponsiveSized(140,140),paddingLeft:new t.ResponsiveSized(t.sp[3],t.sp[6]),paddingRight:new t.ResponsiveSized(t.sp[3],t.sp[8]),marginbottom:new t.ResponsiveSized(t.sp[4],t.sp[5]),subTitleMarginbottom:new t.ResponsiveSized(t.sp[2],t.sp[3]),orSeperatorTopBottomMargin:new t.ResponsiveSized(t.sp[6],44),iconWidthHeight:new t.ResponsiveSized(20,t.sp[4])},Xt="userBankAccountPage",xt="bankAccountSection",Sr=e=>({[xt]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName}}),eo=e=>`${e}_form`,br=({bankAccountCreationState:e,setShowBankAccountPage:r,plaidConnectionDetails:i,onFetchLinkTokenClick:l,onEstablishConnectionClick:u,bankAccountToCreate:j,fetchBankNameByRoutingStatus:d,isDisabled:b,onSaveHandler:h,onUserBankDetailsUpdated:s,onFetchBankName:w,onBackClick:g})=>{const a=o.useTheme(),m=t.useWindowSizeContext(),S=o.useForm({mode:"onBlur",reValidateMode:"onChange",defaultValues:f.useMemo(()=>Sr(j),[j])}),T=f.useCallback(q=>{u?.(q),g()},[g,u]),C=i.link_account_no_microdeposit,{open:v}=o.usePlaidLink({token:C.linkToken??null,onSuccess:T});f.useEffect(()=>{(Z.zeniDate(new Date().toISOString()).isAfter(C.expiration)||C.linkToken==null)&&l?.("link_account_no_microdeposit")},[]);const[V,I]=f.useState(!1),R=t.appLocale.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail,M=t.appLocale.getLocalizedStrings().common.footer,X={onOkClick:()=>{I(!1),S.reset(),g()},onCancelClick:()=>{I(!1)}},ce=async(q,_)=>{const ee=_[xt].bankRoutingNumber;s(_),q===`${xt}.bankRoutingNumber`&&ee?.length===9&&t.DIGITS_PATTERN.test(ee)===!0&&w?.(ee)};f.useEffect(()=>{const q=S.watch((_,{name:ee})=>{ee!=null&&_!=null&&o.defer(()=>ce(ee,_))});return()=>{q.unsubscribe()}}),f.useEffect(()=>{e?.fetchState==="Completed"&&g()},[e?.fetchState,g,r]);const P=S.handleSubmit(q=>{d.fetchState!=="In-Progress"&&h()}),K=a.mode==="light"?new o.Color(a.colors.brandColorJadeLight):new o.Color(a.colors.brandColorJadeDark);return o.jsxRuntimeExports.jsxs(vr,{children:[o.jsxRuntimeExports.jsxs(Er,{windowSize:m,children:[V===!0?o.jsxRuntimeExports.jsx(t.ConfirmationPopup,{titleComponent:o.jsxRuntimeExports.jsx(t.ConfirmationPopUpTitle,{children:R.discardTitle}),descriptionComponent:o.jsxRuntimeExports.jsx(t.ConfirmationPopUpDescription,{children:R.discardDescription}),primaryButtonText:R.buttons.delete,secondaryButtonText:R.buttons.cancel,action:X}):null,o.jsxRuntimeExports.jsx(Vt.BankAccountPageNavSection,{header:R.addBankAccount,isDirty:S.formState.isDirty,onBackClick:g,setShowConfirmationPopup:I}),o.jsxRuntimeExports.jsx(jr,{}),o.jsxRuntimeExports.jsxs(kr,{size:m,children:[o.jsxRuntimeExports.jsx(Yo.SetUpDefaultSection,{onClick:()=>{S.reset(),v()},title:R.connectYourBank,subTitle:R.loginToBank,header:R.setupAchPayments,icon:{element:o.jsxRuntimeExports.jsx(t.SvgBankBuilding,{width:Re.iconWidthHeight.valuePx(m),height:Re.iconWidthHeight.valuePx(m)}),color:K},style:{width:"unset",rowGap:m==="small"?t.Space.sp2:void 0}}),o.jsxRuntimeExports.jsxs(wr,{windowSize:m,children:[o.jsxRuntimeExports.jsx(Rr,{}),o.jsxRuntimeExports.jsx(Cr,{children:o.jsxRuntimeExports.jsx(Tr,{children:R.or})})]}),o.jsxRuntimeExports.jsx($r,{windowSize:m,children:R.saveAccountManually})]}),o.jsxRuntimeExports.jsx(Ir,{size:m,children:o.jsxRuntimeExports.jsx(o.FormProvider,{...S,children:o.jsxRuntimeExports.jsxs("form",{id:eo(Xt),onSubmit:P,children:[e?.fetchState==="Error"&&e.error?.code===409?o.jsxRuntimeExports.jsx(Vt.BankAccountWarningSection,{warningText:R.accountExistWarning}):null,o.jsxRuntimeExports.jsx(Jo.BankAccountSection,{bankAccountToCreate:j,fetchBankNameByRoutingStatus:d,sectionId:xt})]})})})]}),o.jsxRuntimeExports.jsx(t.Footer,{formId:eo(Xt),primaryBtn:{label:R.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:Re.buttonWidth.value(m)},isDisabled:b!=null},cancelBtn:{label:M.cancel,style:{width:Re.buttonWidth.value(m)},shouldResetOnCancel:!1,onClick:()=>{S.formState.isDirty?I(!0):(I(!1),S.reset(),g())}}})]})},vr=n.div`
|
|
508
|
+
display: flex;
|
|
509
|
+
flex-direction: column;
|
|
510
|
+
width: 100%;
|
|
511
|
+
height: 100%;
|
|
512
|
+
`,jr=n.div`
|
|
513
|
+
margin: ${t.Space.sp2} 0;
|
|
514
|
+
position: relative;
|
|
515
|
+
`,wr=n.div`
|
|
516
|
+
margin: ${e=>Re.orSeperatorTopBottomMargin.valuePx(e.windowSize)} 0;
|
|
517
|
+
position: relative;
|
|
518
|
+
`,Rr=n.div`
|
|
519
|
+
background: ${e=>e.theme.colors.grey2};
|
|
520
|
+
height: 1px;
|
|
521
|
+
`,$r=n(t.LargeMedium)`
|
|
522
|
+
color: ${e=>e.theme.colors.primary};
|
|
523
|
+
margin-bottom: ${e=>Re.subTitleMarginbottom.valuePx(e.windowSize)};
|
|
524
|
+
`,Cr=n.div`
|
|
525
|
+
display: flex;
|
|
526
|
+
justify-content: center;
|
|
527
|
+
`,Tr=n(t.SmallRegular)`
|
|
528
|
+
background: ${e=>e.theme.colors.background};
|
|
529
|
+
border: 1px solid ${e=>e.theme.colors.grey2};
|
|
530
|
+
border-radius: ${t.Space.sp5};
|
|
531
|
+
width: 43px;
|
|
532
|
+
height: 25px;
|
|
533
|
+
display: flex;
|
|
534
|
+
align-items: center;
|
|
535
|
+
justify-content: center;
|
|
536
|
+
color: ${e=>e.theme.colors.grey1};
|
|
537
|
+
top: -11px;
|
|
538
|
+
position: absolute;
|
|
539
|
+
`,Er=n.div`
|
|
540
|
+
display: flex;
|
|
541
|
+
flex-direction: column;
|
|
542
|
+
flex-grow: 1;
|
|
543
|
+
`,kr=n.div`
|
|
544
|
+
padding-left: ${e=>Re.paddingLeft.valuePx(e.size)};
|
|
545
|
+
padding-right: ${e=>Re.paddingRight.valuePx(e.size)};
|
|
546
|
+
`,Ir=n.div`
|
|
547
|
+
padding-left: ${e=>Re.paddingLeft.valuePx(e.size)};
|
|
548
|
+
padding-right: ${e=>Re.paddingRight.valuePx(e.size)};
|
|
549
|
+
padding-bottom: ${t.Space.sp3};
|
|
550
|
+
`,ge={containerWidth:new t.ResponsiveSized(343,544),confirmationPopUpTitleMarginTop:new t.ResponsiveSized(t.sp[6],t.sp[7]),confirmationPopUpTitlePaddingLeftRight:new t.ResponsiveSized(t.sp[5],t.sp[8]),submitButtonWidth:new t.ResponsiveSized(145,156),cancelButtonWidth:new t.ResponsiveSized(121,121),errorLineItemGap:new t.ResponsiveSized(t.sp[2],12),styledCloseIconRight:new t.ResponsiveSized(t.sp[3],t.sp[8])},{footer:to}=t.appLocale.getLocalizedStrings().common,le=t.appLocale.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail.duplicatePopUpInfo,oo=({fetchState:e})=>{switch(e){case"Not-Started":return o.jsxRuntimeExports.jsx(ro,{});case"In-Progress":return o.jsxRuntimeExports.jsx(t.ActivityIndicator,{size:"Small",start:!0,style:{alignItems:"center",display:"flex"}});case"Completed":return o.jsxRuntimeExports.jsx(jo,{});default:return o.jsxRuntimeExports.jsx(ro,{})}},Pr=e=>{switch(e){case"Not-Started":return le.detectDuplicates;case"In-Progress":return le.detectingDuplicates;case"Completed":return le.noDuplicatesFound;default:return le.detectDuplicates}},Or=({submitFetchState:e,duplicateReimbursementStatus:r,hasDuplicateLine:i,numberOfDuplicateLines:l,setShowDuplicatePopup:u,analytics:j,reimbursementId:d,submitReport:b,fetchDuplicateReimbursement:h,clearDuplicateReimbursementDetail:s,clearRemiSaveStatus:w})=>{const g=t.useWindowSizeContext(),[a,m]=f.useState(!0),S=t.usePrevious(e),T=t.usePrevious(r);f.useEffect(()=>{setTimeout(()=>{a&&(m(!1),r==="Not-Started"&&h())},2e3)},[r,h,a]),f.useEffect(()=>{S==="In-Progress"&&e==="Completed"&&(s(),u(!1))},[e,S,u,s]),f.useEffect(()=>{T==="In-Progress"&&r==="Completed"&&!i&&b()},[T,r,i,b]);const C=r==="Error"||e==="Error";return o.jsxRuntimeExports.jsxs(o.jsxRuntimeExports.Fragment,{children:[C?o.jsxRuntimeExports.jsx(zr,{size:g}):null,o.jsxRuntimeExports.jsx(t.ConfirmationPopup,{action:{onOkClick:()=>{C?(s(),e==="Error"&&w(),m(!0)):(j?.trackReimbursementReviewDuplicateReportReimbursement(l,d),u(!1),t.scrollToTop())},onCancelClick:()=>{C?(s(),e==="Error"&&w(),u(!1)):(j?.trackReimbursementSubmitAnywayDuplicateReimbursement(l,d),b())}},shouldClickAway:C,isSecondaryLoading:e==="In-Progress",secondaryButtonVariant:"secondary",primaryButtonText:C?to.resubmit:le.primaryButtonText,secondaryButtonText:C?to.cancel:le.secondaryButtonText,primaryButtonWidth:C?ge.cancelButtonWidth.value(g):ge.submitButtonWidth.value(g),secondaryButtonWidth:C?ge.cancelButtonWidth.value(g):ge.submitButtonWidth.value(g),descriptionComponent:o.jsxRuntimeExports.jsx(Lr,{size:g,children:o.jsxRuntimeExports.jsxs(Br,{hasDuplicate:i,duplicateReimbursementStatus:r,children:[o.jsxRuntimeExports.jsxs(kt,{isDisabled:!1,isSuccess:!a,children:[a?o.jsxRuntimeExports.jsx(t.ActivityIndicator,{size:"Small",start:!0,style:{alignItems:"center",display:"flex"}}):o.jsxRuntimeExports.jsx(jo,{}),o.jsxRuntimeExports.jsx(Et,{isDisabled:!1,children:a?le.reviewingExpenses:le.reviewedAllExpenses})]}),i||r==="Error"?o.jsxRuntimeExports.jsxs(so,{size:g,children:[o.jsxRuntimeExports.jsx(no,{}),o.jsxRuntimeExports.jsx(io,{children:r==="Error"?le.failedToDetect:`${l} ${le.duplicateExpensesFound}`})]}):o.jsxRuntimeExports.jsxs(kt,{isDisabled:r==="Not-Started",isSuccess:r==="Completed"&&l===0,children:[o.jsxRuntimeExports.jsx(oo,{fetchState:r}),o.jsxRuntimeExports.jsx(Et,{isDisabled:r==="Not-Started",children:Pr(r)})]}),e==="Error"?o.jsxRuntimeExports.jsxs(so,{size:g,children:[o.jsxRuntimeExports.jsx(no,{}),o.jsxRuntimeExports.jsx(io,{children:le.failedToSubmit})]}):i||r==="Error"?null:o.jsxRuntimeExports.jsxs(kt,{isDisabled:e==="Not-Started",isSuccess:e==="Completed",children:[o.jsxRuntimeExports.jsx(oo,{fetchState:e}),o.jsxRuntimeExports.jsx(Et,{isDisabled:e==="Not-Started",children:e==="Not-Started"?le.submitReport:le.submittingReport})]})]})}),titleComponent:o.jsxRuntimeExports.jsx(Ar,{size:g,children:le.title}),showFooter:i||C,containerStyle:{width:ge.containerWidth.value(g),maxWidth:"unset"}})]})},zr=n(t.SvgClose)`
|
|
551
|
+
width: ${t.Space.sp4};
|
|
552
|
+
height: ${t.Space.sp4};
|
|
553
|
+
color: ${e=>e.theme.colors.hero};
|
|
554
|
+
position: fixed;
|
|
555
|
+
top: 19px;
|
|
556
|
+
right: ${e=>ge.styledCloseIconRight.valuePx(e.size)};
|
|
557
|
+
z-index: 11;
|
|
558
|
+
cursor: pointer;
|
|
559
|
+
&:hover {
|
|
560
|
+
color: ${e=>e.theme.colors.primary};
|
|
561
|
+
}
|
|
562
|
+
`,no=n(t.SvgHighImportanceFill)`
|
|
563
|
+
width: ${t.Space.sp4};
|
|
564
|
+
height: ${t.Space.sp4};
|
|
565
|
+
min-width: ${t.Space.sp4};
|
|
566
|
+
color: ${t.Colors.brandColorGoldDark};
|
|
567
|
+
`,ro=n(Zo.SvgRadioDefault)`
|
|
568
|
+
width: ${t.Space.sp3};
|
|
569
|
+
height: ${t.Space.sp3};
|
|
570
|
+
min-width: ${t.Space.sp3};
|
|
571
|
+
color: ${e=>e.theme.colors.grey3};
|
|
572
|
+
`,Et=n.div`
|
|
573
|
+
color: ${e=>e.isDisabled?e.theme.colors.grey2:e.theme.colors.primary};
|
|
574
|
+
text-align: left;
|
|
575
|
+
`,io=n.div`
|
|
576
|
+
color: ${t.Colors.brandColorGoldDark};
|
|
577
|
+
`,kt=n.div`
|
|
578
|
+
display: flex;
|
|
579
|
+
align-items: center;
|
|
580
|
+
gap: ${e=>e.isSuccess?t.Space.sp2:t.Space.sp3};
|
|
581
|
+
border: 1px solid
|
|
582
|
+
${e=>e.isDisabled?e.theme.colors.grey3:e.theme.colors.primary};
|
|
583
|
+
padding: ${t.Space.sp3};
|
|
584
|
+
border-radius: ${t.Space.sp2};
|
|
585
|
+
`,Br=n.div`
|
|
586
|
+
display: flex;
|
|
587
|
+
flex-direction: column;
|
|
588
|
+
gap: ${t.Space.sp3};
|
|
589
|
+
margin-bottom: ${e=>e.hasDuplicate||e.duplicateReimbursementStatus==="Error"?0:t.Space.sp3};
|
|
590
|
+
`,so=n.div`
|
|
591
|
+
display: flex;
|
|
592
|
+
align-items: center;
|
|
593
|
+
gap: ${e=>ge.errorLineItemGap.valuePx(e.size)};
|
|
594
|
+
border: 1px solid ${e=>e.theme.colors.brandColorGold};
|
|
595
|
+
background-color: ${t.Colors.alertLight};
|
|
596
|
+
padding: ${t.Space.sp3};
|
|
597
|
+
border-radius: ${t.Space.sp2};
|
|
598
|
+
text-align: left;
|
|
599
|
+
`,Ar=n(t.H6Regular)`
|
|
600
|
+
margin-top: ${e=>ge.confirmationPopUpTitleMarginTop.valuePx(e.size)};
|
|
601
|
+
padding-left: ${e=>ge.confirmationPopUpTitlePaddingLeftRight.valuePx(e.size)};
|
|
602
|
+
padding-right: ${e=>ge.confirmationPopUpTitlePaddingLeftRight.valuePx(e.size)};
|
|
603
|
+
color: ${e=>e.theme.colors.primary};
|
|
604
|
+
word-break: break-word;
|
|
605
|
+
width: ${e=>e.size==="small"?"max-content":"-webkit-fill-available"};
|
|
606
|
+
`,Lr=n(t.StandardRegularSp)`
|
|
607
|
+
color: ${e=>e.theme.colors.hero};
|
|
608
|
+
padding-left: ${e=>ge.confirmationPopUpTitlePaddingLeftRight.valuePx(e.size)};
|
|
609
|
+
padding-right: ${e=>ge.confirmationPopUpTitlePaddingLeftRight.valuePx(e.size)};
|
|
610
|
+
margin-bottom: ${t.Space.sp5};
|
|
611
|
+
margin-top: ${t.Space.sp4};
|
|
612
|
+
white-space: pre-line;
|
|
613
|
+
width: -webkit-fill-available;
|
|
614
|
+
`,jo=n(t.SvgTickRoundFill)`
|
|
615
|
+
width: ${t.Space.sp4};
|
|
616
|
+
height: ${t.Space.sp4};
|
|
617
|
+
min-width: ${t.Space.sp4};
|
|
618
|
+
color: ${t.Colors.success};
|
|
619
|
+
`,Y={rightMargin:new t.ResponsiveSized(t.sp[3],t.sp[8]),leftMargin:new t.ResponsiveSized(t.sp[3],t.sp[6]),bottomMargin:new t.ResponsiveSized(56,56),closeMarginTop:new t.ResponsiveSized(0,19),closeMarginRight:new t.ResponsiveSized(t.sp[3],t.sp[8]),rightSectionWidth:new t.ResponsiveSized(100,58),leftSectionWidth:new t.ResponsiveSized(100,42),footerButtonWidth:new t.ResponsiveSized(120,165),right:new t.ResponsiveSized(t.sp[3],t.sp[0]),actionsContainerRight:new t.ResponsiveSized(t.sp[0],t.sp[6]),otherActionsContainerBottom:new t.ResponsiveSized(58,44),duplicateBannerWrapperMarginTop:new t.ResponsiveSized(t.sp[5],t.sp[3]),duplicateBannerWrapperMarginRight:new t.ResponsiveSized(t.sp[3],t.sp[8]),duplicateBannerWrapperMarginBottom:new t.ResponsiveSized(t.sp[5],t.sp[3]),duplicateBannerWrapperMarginLeft:new t.ResponsiveSized(t.sp[3],t.sp[6]),navBarWidth:new t.ResponsiveSized(100,58)},{spendManagement:{reimbursement:{reimbursementDetail:x,bulkActions:ao}},common:{currency:{currencyCode:we,currencySymbol:pt},texts:{comments:Mr},strings:{empty:Fr}},collaboration:{threads:{placeholder:{addANewComment:Wr,replyAComment:Nr},tooltip:{resolveComment:Dr,unResolveComment:qr}}},dateFormat:lo}=t.appLocale.getLocalizedStrings(),co="editReimbursementDetailPage",Lt=e=>`${e}_form`,_r=(e,r,i,l,u,j,d,b,h)=>{const s=e.outOfPocket,w=e.mileage,g=s.merchant,a=s.recommendations;return{lineIndex:j,lineId:e?.lineId??String(j+1),reimbursementType:e?.type??x.outOfPocketKey,file:e?.file,homeCurrencyConversions:{amount:e?.homeCurrencyConversions?.amount??0,currencyCode:e?.homeCurrencyConversions?.currencyCode??d.currencyCode,currencySymbol:e?.homeCurrencyConversions?.currencySymbol??d.currencySymbol},outOfPocket:{recommendedAccount:s.recommendedAccount,isCategoryUpdateSelected:s.isCategoryUpdateSelected??!1,isCategoryFirstTimeAutofilled:s.isCategoryFirstTimeAutofilled??!1,retainedAccount:s.retainedAccount,isRetainedCategorySelected:s.isRetainedCategorySelected??!1,recommendations:a??[],transactionDate:s?.transactionDate?.toDate()??void 0,class:{allOptions:t.getGroupedClassOptions(i,[]),selectedOption:s?.lineDetail?.class?.classId??h},account:{allOptions:t.getGroupedAccountOptions(r,a),selectedOption:s.lineDetail?.account?.qboId??s.lineDetail?.account?.accountId},amount:{amount:s?.amount??0,currencyCode:s?.currencyCode??d.currencyCode,currencySymbol:s?.currencySymbol??d.currencySymbol,currency:{allOptions:b.map(m=>({label:`${m.currencyCode} - ${m.currency}`,value:m.currencyCode,countryCode:t.toAlpha2CountryCodeSupportedByProvider(m.countryCode)})),selectedOption:s?.currencyCode??d.currencyCode??we}},memo:s?.description??void 0,merchant:{allOptions:l.map(m=>m.id).filter(m=>!!m),selectedOption:g?.id?g?.id:g?.name?g?.name:e?.lineId!=null?u[e?.lineId]:void 0}},mileage:{transactionDate:w?.transactionDate?.toDate(),class:{allOptions:t.getGroupedClassOptions(i,[]),selectedOption:w?.lineDetail?.class?.classId},distanceInMiles:w?.distanceMileage?.value,amount:{amount:w?.amount??0,currencyCode:w?.currencyCode??d.currencyCode,currencySymbol:w?.currencySymbol??d.currencySymbol},memo:w?.description}}},It=(e,r,i)=>{const l=[];return Object.values(e.lineDetailSection).forEach((u,j)=>{u?.lineId!=null&&l.push(_r(u,e.accountsHierarchyList,e.classHierarchyList,e.merchantList.merchants,e.tentativeMerchantNameByLineId,j,r,e.allCurrencies,e.loggedInUserDepartmentId))}),l.length===0&&l.push(vo(0,"1",e.accountsHierarchyList,e.classHierarchyList,e.merchantList.merchants,r,e.allCurrencies,e.loggedInUserDepartmentId)),{[L.whatForSectionId]:{reportTitle:e.whatForSection.reportTitle},[L.lineInfoSectionId]:l,[L.paymentAtSectionId]:{selectedOption:e.paymentTo,allOptions:i.map(u=>u.bankAccountId)}}},Pt=(e,r)=>{const i=l=>l.lineId==null||r[l.lineId]?.fetchState==="In-Progress"?0:(r[l.lineId]?.fetchState==="Completed",l.type===x.mileageKey?l?.mileage?.amount??0:l?.outOfPocket?.currencyCode!==we&&l.homeCurrencyConversions?.amount!==l?.outOfPocket?.amount?l.homeCurrencyConversions?.amount??0:l?.outOfPocket?.amount??0);return Object.values(e).reduce((l,u)=>l+i(u),0)},Ot=(e,r,i,l,u,j,d,b)=>{const h={};return e.lineInfo.forEach(s=>{const w=b.find(T=>T.classId===s.mileage.class.selectedOption),g=d.find(T=>T.qboId===s.outOfPocket.account.selectedOption||T.accountId===s.outOfPocket.account.selectedOption),a=b.find(T=>T.classId===s.outOfPocket.class.selectedOption),m=r.find(T=>T.id===s.outOfPocket.merchant.selectedOption),S=j.find(T=>T.currencyCode===s.outOfPocket.amount?.currency.selectedOption)?.currencySymbol;h[s.lineId]={fileId:s.file?.fileId,lineId:s.lineId,type:s.reimbursementType,homeCurrencyConversions:s.homeCurrencyConversions??{amount:0,currencyCode:"USD",currencySymbol:"$"},mileage:{description:s.mileage.memo??"",lineDetail:{class:w},transactionDate:s.mileage.transactionDate!=null?Z.zeniDate(s.mileage.transactionDate.toDateString()):void 0,amount:s.mileage.amount?.amount??0,currencyCode:s.mileage.amount?.currencyCode??S,currencySymbol:s.mileage.amount?.currencySymbol??S,distanceMileage:{unit:"miles",value:s.mileage.distanceInMiles??0}},outOfPocket:{description:s.outOfPocket.memo??"",lineDetail:{class:a,account:g},transactionDate:s.outOfPocket.transactionDate!=null?Z.zeniDate(s.outOfPocket.transactionDate.toDateString()):void 0,amount:s.outOfPocket.amount?.amount??0,currencyCode:s.outOfPocket.amount?.currency.selectedOption??S,currencySymbol:S,merchant:s.outOfPocket.merchant.selectedOption!=null?{id:m?.id??"",name:m?.name??s.outOfPocket.merchant.selectedOption}:void 0,recommendations:s.outOfPocket.recommendations,recommendedAccount:s.outOfPocket.recommendedAccount,isCategoryUpdateSelected:s.outOfPocket.isCategoryUpdateSelected,isCategoryFirstTimeAutofilled:s.outOfPocket.isCategoryFirstTimeAutofilled,isRetainedCategorySelected:s.outOfPocket.isRetainedCategorySelected,retainedAccount:s.outOfPocket.retainedAccount}}}),{whatForSection:{reportTitle:e.whatFor.reportTitle},updatesByLineId:h,totalAmount:{amount:l,...i},currencyConversionStateByLineId:u,paymentTo:e.paymentTo.selectedOption}},Vr=({remiDetails:e,authParams:r,defaultCurrency:i,companyMileageConfigInfo:l,uploadInvoiceEndPoint:u,isReimbursementCommentingEnabled:j,isUserAdmin:d,analytics:b,reimbursementId:h,plaidConnectionDetails:s,bankAccountCreationState:w,bankNameByRouting:g,bankAccounts:a,isSignedInUserReimbursementCreator:m,uncategorizedAccounts:S,bankAccountToCreate:T,fetchBankNameByRoutingStatus:C,onUserBankDetailsUpdated:v,onFetchBankName:V,onSaveBankAccount:I,fetchDuplicateReimbursement:R,clearDuplicateReimbursementDetail:M,clearRemiSaveStatus:X,removeDuplicateReimbursementForLine:ce,onDuplicateLineClick:P,onExistingMerchantChange:K,onNewMerchantChange:q,onReceiptsUpload:_,saveRemiDetails:ee,submitRemiDetails:J,discardReimbursementDetailsFromLocalStore:pe,onReimbursementDetailsChanged:de,updateReimbursementType:re,onHomeCurrencyConversionUpdate:H,redirectToReimbursementListScreen:ie,redirectToReimbursementDetailScreen:$e,deleteReimbursement:E,removeFileFromLine:ye,onZeniLogoClick:Q,onAmountChanged:Oe,updateInvoiceUploadFetchState:Ce,clearTentativeNameForLine:Te,onAddNewRule:me,onFetchLinkTokenClick:Ee,onEstablishConnectionClick:ue,deleteBankAccount:Se,onBackClickFromBankAccountPage:Qe})=>{const W=f.useRef(null),Ve=f.useRef(null),Ke=t.usePrevious(e.uploadStatus),ze=o.useTheme(),fe=t.useGlobalInfoContext(),[Le,be]=f.useState(!1),[Be,Ae]=f.useState(!1),[Me,Fe]=f.useState("save"),[te,Ue]=f.useState(Pt(e.lineDetailSection,e.currencyConversionStatus)),[Xe,We]=f.useState(!1),[N,et]=f.useState(null),[A,ne]=f.useState(!1),rt=`dashboard_${fe.currentTenant?.companyId}`,xe=o.useForm({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>It(e,i,a),[e,i,a]),values:f.useMemo(()=>It(e,i,a),[e,i,a])}),{isDirty:O,dirtyFields:wo}=xe.formState,Ro=async(p,$)=>{const{lineInfo:c}=$,y=Number(p.split(".")[1]);if(p.includes("reportTitle")||p.includes("memo"))return;if(p.includes("reimbursementType")){const z=c[y].mileage,F=c[y].outOfPocket;c[y]={...c[y],outOfPocket:{transactionDate:F.transactionDate??void 0,class:{allOptions:F.class.allOptions??t.getGroupedClassOptions(e.classHierarchyList,[]),selectedOption:F.class.selectedOption??void 0},account:{allOptions:F.account.allOptions??t.getGroupedAccountOptions(e.accountsHierarchyList,[]),selectedOption:F.account.selectedOption??void 0},amount:F.amount??{amount:0,currencyCode:i.currencyCode,currencySymbol:i.currencySymbol,currency:{allOptions:e.allCurrencies.map(he=>({label:`${he.currencyCode} - ${he.currency}`,value:he.currencyCode,countryCode:t.toAlpha2CountryCodeSupportedByProvider(he.countryCode)})),selectedOption:i.currencyCode??we}},memo:F.memo??void 0,merchant:F.merchant??void 0,recommendations:F.recommendations??[],recommendedAccount:F.recommendedAccount??void 0,isCategoryUpdateSelected:F.isCategoryUpdateSelected??!1,isCategoryFirstTimeAutofilled:F.isCategoryFirstTimeAutofilled??!1,retainedAccount:F.retainedAccount??void 0,isRetainedCategorySelected:F.isRetainedCategorySelected??!1},mileage:{transactionDate:z.transactionDate??void 0,class:{allOptions:z.class.allOptions??t.getGroupedClassOptions(e.classHierarchyList,[]),selectedOption:z.class.selectedOption??e.loggedInUserDepartmentId},distanceInMiles:z.distanceInMiles,amount:{amount:z?.amount?.amount??0,currencyCode:z?.amount?.currencyCode??we,currencySymbol:z?.amount?.currencySymbol??pt},memo:z.memo??void 0}}}else if(p.includes("mileage.distanceInMiles")){const{distanceInMiles:z}=c[y].mileage,F=l?.mileageUnitAmount??0;c[y].mileage={...c[y].mileage,amount:{amount:z!=null?z*F:0,currencyCode:i.currencyCode,currencySymbol:i.currencySymbol}}}else if(p.includes("outOfPocket.amount")&&c[y].lineId){const z=c[y].outOfPocket.amount,F=e.allCurrencies.find(he=>he.currencyCode===z?.currency.selectedOption)?.currencySymbol;if(z?.currencyCode!==z?.currency.selectedOption){const he=z?.currency?.allOptions||[];c[y].outOfPocket.amount={currency:{allOptions:he,selectedOption:z?.currency?.selectedOption},amount:c[y].outOfPocket?.amount?.amount??0,currencyCode:z?.currency.selectedOption??we,currencySymbol:F??pt}}if(z?.currency.selectedOption!==we)We(!0),Oo(c[y].lineId,we);else{const he={};c.forEach(Rt=>{he[Rt.lineId]={lineId:Rt.lineId,homeCurrencyConversions:Rt.homeCurrencyConversions}}),c[y].homeCurrencyConversions={amount:z.amount??0,currencyCode:z?.currency.selectedOption??we,currencySymbol:F??pt};const at=Pt(he,e.currencyConversionStatus);te!==at&&Ue(at)}}else if(p.includes("outOfPocket.isRetainedCategorySelected"))c[y].outOfPocket.isRetainedCategorySelected===!0&&(c[y].outOfPocket.isCategoryUpdateSelected=!1,c[y].outOfPocket.account.selectedOption=c[y].outOfPocket.retainedAccount?.qboId);else if(p.includes("outOfPocket.isCategoryUpdateSelected"))if(c[y].outOfPocket.isCategoryUpdateSelected===!0)c[y].outOfPocket.account.selectedOption=c[y].outOfPocket.recommendedAccount?.qboId,c[y].outOfPocket.isRetainedCategorySelected=!1;else{const z=c[y].lineId,F=e.editRemiInitialDetails.lineDetailSection[z]?.lineDetail?.account?.qboId;c[y].outOfPocket.account.selectedOption=F,c[y].outOfPocket.isRetainedCategorySelected=!1}else p.includes("outOfPocket.account")&&(c[y].outOfPocket.recommendations.length>0&&(c[y].outOfPocket.recommendedAccount=c[y].outOfPocket.recommendations[0].account),c[y].outOfPocket.recommendedAccount?.qboId!=null&&c[y].outOfPocket.account.selectedOption===c[y].outOfPocket.recommendedAccount?.qboId?c[y].outOfPocket.isCategoryUpdateSelected=!0:c[y].outOfPocket.isCategoryUpdateSelected=!1,c[y].outOfPocket.retainedAccount?.qboId!=null&&c[y].outOfPocket.account.selectedOption===c[y].outOfPocket.retainedAccount?.qboId?c[y].outOfPocket.isRetainedCategorySelected=!0:c[y].outOfPocket.isRetainedCategorySelected=!1,c[y].outOfPocket.isCategoryFirstTimeAutofilled=!1);const st=Ot({...$,lineInfo:c},e.merchantList.merchants,i,te,e.currencyConversionStatus,e.allCurrencies,e.accountList.accounts,e.classList.classes);if(de?.(st),p.includes("outOfPocket.merchant")){const z=c[y].lineId,F=c[y].outOfPocket.merchant.selectedOption??"";c[y].outOfPocket.merchant.allOptions.find(at=>at===F)!=null?K(F,z):q(F,z)}},Mt=f.useMemo(()=>o.debounce((p,$)=>Ro(p,$),300),[e.accountList.fetchState,e.classList.fetchState,e.merchantList.fetchState]);f.useEffect(()=>{const p=xe.watch(($,{name:c})=>{c!=null&&$!=null&&Mt(c,$)});return()=>{p.unsubscribe()}},[Mt,xe]),f.useEffect(()=>{const p=Z.reduceAnyFetchState(Object.values(e.currencyConversionStatus)),$=p.fetchState==="In-Progress"||p.fetchState==="Error";We($)},[e.currencyConversionStatus]),f.useEffect(()=>{for(const $ in e.currencyConversionStatus){const c=e.lineDetailSection[$],y=e.lineDetailSection[$];e.currencyConversionStatus[$].fetchState==="Completed"&&y!=null&&c.type!==x.mileageKey&&!o.isEqual(c?.homeCurrencyConversions,y.homeCurrencyConversions)&&H({amount:c?.homeCurrencyConversions?.amount??0,currencyCode:c?.homeCurrencyConversions?.currencyCode??we,currencySymbol:c?.homeCurrencyConversions?.currencySymbol??pt},$,h)}const p=Pt(e.lineDetailSection,e.currencyConversionStatus);te!==p&&Ue(p)},[e.currencyConversionStatus,e.lineDetailSection]),f.useEffect(()=>{(e.saveStatus?.fetchState==="Completed"||e.deleteStatus.fetchState==="Completed")&&(pe(h),ie?.())},[e.saveStatus?.fetchState,e.deleteStatus.fetchState,h,pe,ie]);const k=t.useWindowSizeContext(),[ve,tt]=f.useState(h==null),[ot,$o]=f.useState(1),[Co,ht]=f.useState(!1),[To,Eo]=f.useState(""),[gt,ko]=f.useState(null),[Io,He]=f.useState(!1),[Po,Ft]=f.useState(!1),[yt,ft]=f.useState([]),[se,it]=f.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),Oo=f.useRef(o.debounce((p,$)=>Oe(p,$),500,{trailing:!0})).current;f.useEffect(()=>{Ke==="In-Progress"&&(e.uploadStatus==="Completed"?(xe.reset(It(e,i,a),{keepDefaultValues:!0}),be(!1),tt(!1)):e.uploadStatus==="Error"&&be(!1))},[Ke,e.uploadStatus,xe,e,Le,be,ve,i,a,b]),f.useEffect(()=>{e.uploadStatus==="In-Progress"&&ve===!1&&be(!0)},[e.uploadStatus,be,ve]);const St=e.remiStage==="draft"?x.newReimbursementTitle:x.editReimbursementTitle,zo={onOkClick:()=>{if(He(!1),se.primaryButtonText===x.buttons.discard)pe(h),e.remiStage==="draft"?ie?.():$e?.();else if(se.primaryButtonText===x.buttons.delete)se.title===x.deleteBankAccountTitle?Se?.(To):E?.();else if(se.primaryButtonText===x.buttons.yes&>!=null){const p=yt.filter($=>$!==ot.toString());ft(p),_(gt,ot,!0)}},onCancelClick:()=>{if(He(!1),se.secondaryButtonText===x.buttons.no){const p=yt.filter($=>$!==ot.toString());ft(p),_(gt,ot,!1)}}},Wt=()=>{O||t.formHasDirtyFields(wo)?(it({title:x.discardTitle,description:x.discardDescription,primaryButtonText:x.buttons.discard,secondaryButtonText:x.buttons.cancel}),He(!0)):(pe(h),ie?.())},Bo=()=>{it({title:e.remiStage==="draft"?x.deleteDraftTitle:x.deleteReportTitle,description:x.deleteAlertDescription,primaryButtonText:x.buttons.delete,secondaryButtonText:x.buttons.cancel}),He(!0)},Ao=p=>{Eo(p),it({title:x.deleteBankAccountTitle,description:x.deleteBankAccountDescription,primaryButtonText:x.buttons.delete,secondaryButtonText:x.buttons.cancel}),He(!0)},Lo=()=>{it({title:x.overwriteTitle,description:x.overwriteDescription,primaryButtonText:x.buttons.yes,secondaryButtonText:x.buttons.no}),He(!0)},Mo=()=>{let p=!0;const $=[];return Object.values(e.lineDetailSection).forEach((c,y)=>{c.type===x.outOfPocketKey&&yo(c)>=75&&c.file==null&&($.push(c.lineId),p=!1)}),ft($),p},Nt=()=>{if(d&&e.remiStage==="pending_approval"&&e.remiStatus!=="rejected")Wt();else{Fe("save");const p=xe.getValues(),$=Ot(p,e.merchantList.merchants,i,te,e.currencyConversionStatus,e.allCurrencies,e.accountList.accounts,e.classList.classes);de?.($);const c=$.whatForSection?.reportTitle;c!=null&&c.length>0?ee(e.remiStatus==="rejected"?"pending_approval":"draft"):xe.trigger(`${L.whatForSectionId}.reportTitle`,{shouldFocus:!0})}};let bt=!1;Object.values(e.addRemiAutoFieldsByLineId).forEach(p=>{p.length>0&&(bt=!0)});let Dt=[];if(e.remiId==null){const p=te??0;p>0&&(Dt=e.approvalRules.allApprovalRules?.filter($=>{const c=$.criteria[0].range;if(c.max!=null){if(c.min.amount<p&&c.max.amount>=p)return $}else if(c.min.amount<p)return $;return null}).map($=>({...$,stepsWithStatus:$.steps.map(c=>({...c,actorsActivity:[],isOriginalApprovalStep:!0})),isRealTimeApprovalEnabled:!1})))}const Fo=p=>{const $=Mo();return xe.handleSubmit(()=>{$&&(Fe("submit"),b?.trackReimbursementSubmitReimbursement(e.createTime?.format(lo.analytics.MMMDashDDDashYYYYFormat)??Z.dateNow().format(lo.analytics.MMMDashDDDashYYYYFormat),i.currencyCode,te,h),M(),Ft(!0))})(p)},Wo=()=>{const p=xe.getValues(),$=Ot(p,e.merchantList.merchants,i,te,e.currencyConversionStatus,e.allCurrencies,e.accountList.accounts,e.classList.classes);de?.($),J()},No=e.reimbursementInfo?.billStatus.code=="approved"&&e.reimbursementInfo?.billPaymentStatus.code?e.reimbursementInfo?.billPaymentStatus:e.reimbursementInfo?.billStatus,Do=e.reimbursementInfo?.paymentDate!=null?Z.zeniDate(Z.getNextNthWorkingDay(e.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,qo=e.reimbursementInfo?.expectedDepositDate??Do,_o=h!=null&&e.remiStage==="draft",qt=L.getNumberOfDuplicateLines(e.duplicateLineByLineId),vt=e.duplicateReimbursementStatus.fetchState==="Completed"&&qt>0,{requestToOpenThread:jt,setRequestToOpenThread:_t,setOpenThread:wt}=f.useContext(t.ThreadsContext),{threads:nt,isLoading:Ne}=t.useFilteredThreads({application:"dashboard",companyId:fe.currentTenant?.companyId,tab:"reimbursement",entityId:h,isGlobalComment:!1},"both",!1);f.useEffect(()=>{jt?.threadId!=null&&nt.length>0&&!Ne&&(wt(jt.threadId),_t(null))},[jt,nt,Ne,wt,_t]);const Vo=f.useMemo(()=>h==null?[]:nt.filter(p=>p.resolved===!1&&!p.id.includes(t.NEW_THREAD_SUFFIX)),[nt,h]).length,Ko=(p,$)=>{wt($);const c=p.entityType.split("."),y=parseInt(c[2]);if(isNaN(y)){ne(!1);return}const st=`${y+1}`,z=e.lineDetailSection[y+1].type;c.includes(x.mileageKey)&&z===x.outOfPocketKey?re(Z.toReimbursementTypeCode(x.mileageKey),st,h):c.includes(x.outOfPocketKey)&&z===x.mileageKey&&re(Z.toReimbursementTypeCode(x.outOfPocketKey),st,h),ne(!1)};return o.jsxRuntimeExports.jsx(Ur,{ref:W,children:o.jsxRuntimeExports.jsx(t.ComponentConnectProvider,{sharedItems:{sharedFunctions:void 0,sharedRef:{contentWrapperRef:Ve.current??null}},children:o.jsxRuntimeExports.jsxs(o.FormProvider,{...xe,children:[o.jsxRuntimeExports.jsx("form",{id:Lt(co),onSubmit:p=>Fo(p),children:o.jsxRuntimeExports.jsxs(vi,{windowSize:k,ref:Ve,children:[Io?o.jsxRuntimeExports.jsx(t.ConfirmationPopup,{titleComponent:o.jsxRuntimeExports.jsx(t.ConfirmationPopUpTitle,{children:se.title}),descriptionComponent:o.jsxRuntimeExports.jsx(t.ConfirmationPopUpDescription,{children:se.description}),primaryButtonText:se.primaryButtonText,secondaryButtonText:se.secondaryButtonText,action:zo,proceedButtonVariant:se.title===x.deleteBankAccountTitle||se.title===x.deleteDraftTitle||se.title===x.deleteReportTitle||se.title===x.discardTitle?"danger":"primary",isEditPopup:se.title===x.deleteBankAccountTitle}):null,Po?o.jsxRuntimeExports.jsx(Or,{reimbursementId:h,submitFetchState:e.saveStatus?.fetchState??"Not-Started",duplicateReimbursementStatus:e.duplicateReimbursementStatus.fetchState,hasDuplicateLine:vt,numberOfDuplicateLines:qt,setShowDuplicatePopup:Ft,submitReport:Wo,fetchDuplicateReimbursement:R,clearDuplicateReimbursementDetail:M,clearRemiSaveStatus:X,analytics:b}):null,Le?o.jsxRuntimeExports.jsx(po,{windowSize:k}):null,ve?o.jsxRuntimeExports.jsxs(po,{windowSize:k,"data-testid":t.generateDataTestId("skip-autofill-section"),children:[k==="small"?o.jsxRuntimeExports.jsxs(o.jsxRuntimeExports.Fragment,{children:[o.jsxRuntimeExports.jsx(ri,{children:o.jsxRuntimeExports.jsx(At,{partOfSkipAutoFill:!0,size:k,onClick:()=>tt(!1),"data-testid":t.generateDataTestId("close-invoice-upload"),children:o.jsxRuntimeExports.jsx(Bt,{withOverlay:!0,children:o.jsxRuntimeExports.jsx(zt,{})})})}),o.jsxRuntimeExports.jsx(si,{children:St})]}):null,o.jsxRuntimeExports.jsx(mo.default,{showAutofill:ve,analytics:b,onSkipAutofill:()=>{b?.trackReimbursementSkipAutofill(),tt(!1)},uploadInvoiceEndPoint:u,authParams:r,style:{width:Y.leftSectionWidth.valuePercentage(k),boxSizing:"border-box",backgroundColor:k==="small"?ze.colors.grey4:"unset",padding:k==="small"?`${t.Space.sp5} ${t.Space.sp3}`:`78px ${t.Space.sp6} 15px ${t.Space.sp8}`,margin:k==="small"?t.Space.sp0:void 0},onInvoiceUpload:p=>_(p,ot,!0),dropFilePlaceholder:{upload:x.dropReceipt.upload,single:x.dropReceipt.single,or:x.dropReceipt.or,multiple:x.dropReceipt.multiple,receipts:x.dropReceipt.receipts},updateInvoiceUploadFetchState:Ce,showInfoText:!1,allowMultiFiles:ve,type:"receipt"}),k!=="small"?o.jsxRuntimeExports.jsx(ii,{children:o.jsxRuntimeExports.jsx(At,{partOfSkipAutoFill:!0,onClick:()=>tt(!1),"data-testid":t.generateDataTestId("close-invoice-upload"),children:o.jsxRuntimeExports.jsx(Bt,{withOverlay:!0,children:o.jsxRuntimeExports.jsx(zt,{})})})}):null]}):null,o.jsxRuntimeExports.jsxs(gi,{windowSize:k,"data-testid":t.generateDataTestId("edit-reimbursement-detail-page-nav-bar-container"),children:[k!=="small"?o.jsxRuntimeExports.jsx(t.NavBar,{style:{width:"42%"},"data-testid":t.generateDataTestId("edit-reimbursement-detail-page-left-nav-bar"),title:"",leftSideComponent:o.jsxRuntimeExports.jsx(yi,{"data-testid":t.generateDataTestId("zeni-logo-spend-management-reimbursement-detail-page"),onClick:Q}),enableTitleOnScroll:!1,scrollableContent:W,backgroundColor:ze.colors.background,keepBackgroundOnScroll:!0,source:"EditReimbursementDetailPage"}):null,k!=="small"?o.jsxRuntimeExports.jsx(Hr,{}):null,o.jsxRuntimeExports.jsx(t.NavBar,{style:{width:Y.navBarWidth.valuePercentage(k)},"data-testid":t.generateDataTestId("edit-reimbursement-detail-page-right-nav-bar"),source:"EditReimbursementDetailPage",title:St,leftSideComponent:o.jsxRuntimeExports.jsx(o.jsxRuntimeExports.Fragment,{}),rightSideComponent:ve!=!0?o.jsxRuntimeExports.jsxs(fi,{children:[j&&h!=null?o.jsxRuntimeExports.jsxs(Si,{isDisabled:Ne,"data-testid":t.generateDataTestId("remi-comment-button"),onClick:Ne?()=>null:p=>{p.preventDefault(),p.stopPropagation(),et({roomId:rt,companyId:fe.currentTenant?.companyId??"",companyName:fe.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:h}),ne(!0),b?.trackCommentActivity("reimbursement","clicked",fe.currentTenant?.companyName??"",fe.controllersList.controllers.map($=>t.getFullName($)),void 0,void 0,"page icon")},children:[o.jsxRuntimeExports.jsx(t.CommentsAndNotesCount,{count:Ne?void 0:Vo,isLoading:Ne,style:{left:"12px"}}),o.jsxRuntimeExports.jsx(bi,{})]}):null,o.jsxRuntimeExports.jsx(At,{size:k,onClick:()=>Wt(),"data-testid":t.generateDataTestId("close-nav-bar"),children:o.jsxRuntimeExports.jsx(Bt,{withOverlay:!1,children:o.jsxRuntimeExports.jsx(zt,{})})})]}):null,enableTitleOnScroll:k!=="small",scrollThreshold:64,scrollableContent:W,backgroundColor:ze.colors.grey4})]}),k==="small"?o.jsxRuntimeExports.jsxs(o.jsxRuntimeExports.Fragment,{children:[o.jsxRuntimeExports.jsx(hi,{children:St}),o.jsxRuntimeExports.jsx(t.VerticalProgressBarSectionMemo,{progressSectionObj:No,createDate:e.createTime,paymentDate:qo,scheduleDate:e.reimbursementInfo?.paymentDate,approvedDate:e.latestApprovedDate,isBillUploaded:h!=null?!0:e.uploadStatus==="Completed"}),bt&&o.jsxRuntimeExports.jsxs(ci,{children:[o.jsxRuntimeExports.jsx(li,{}),o.jsxRuntimeExports.jsx(di,{children:x.banner})]}),e.isProcessing?o.jsxRuntimeExports.jsx(t.WarningBanner,{variant:"warning",style:{margin:k==="small"?`${t.Space.sp5} ${t.Space.sp3}`:`${t.Space.sp3} ${t.Space.sp8} ${t.Space.sp3} ${t.Space.sp6}`},title:ao.duplicateWarning.title,description:ao.duplicateWarning.description}):vt?o.jsxRuntimeExports.jsxs(ui,{size:k,children:[o.jsxRuntimeExports.jsx(Zr,{}),o.jsxRuntimeExports.jsxs(mi,{children:[o.jsxRuntimeExports.jsx(pi,{children:x.thereSeems}),o.jsxRuntimeExports.jsx(xi,{children:x.pleaseFind})]})]}):null,o.jsxRuntimeExports.jsx(go,{isReimbursementCommentingEnabled:j,sectionId:L.whatForSectionId,reimbursementId:e.remiId,reportTitle:e.whatForSection.reportTitle})]}):null,o.jsxRuntimeExports.jsx(ar,{onDuplicateLineClick:P,reimbursementId:h,remiDetails:e,uploadInvoiceEndPoint:u,authParams:r,showSkipAutoFill:ve,setShowSkipAutoFill:tt,isReimbursementCommentingEnabled:j,isAutoFieldsExist:bt,totalAmount:te,removeFileFromLine:ye,onReplaceClick:Lo,onReceiptsUpload:_,currencyConversionStatus:e.currencyConversionStatus,setCurrentLineIdForUpload:$o,setUploadedReceiptPayload:ko,updateInvoiceUploadFetchState:Ce,clearTentativeNameForLine:Te,defaultCurrency:i,companyMileageConfigInfo:l,isUserAdmin:d,setShowBankAccountPage:ht,bankAccounts:a,onDeleteBankAccount:Ao,analytics:b,fileRequiredLineIds:yt,isSignedInUserReimbursementCreator:m,uncategorizedAccounts:S,showTotalAmountLoader:Xe,duplicateLineByLineId:e.duplicateLineByLineId,hasDuplicateLine:vt,removeDuplicateReimbursementForLine:ce,scrollContainerRef:W}),o.jsxRuntimeExports.jsxs(ji,{showSkipAutoFill:ve,windowSize:k,children:[k!=="small"?o.jsxRuntimeExports.jsx(uo,{}):null,o.jsxRuntimeExports.jsx(wi,{windowSize:k,children:o.jsxRuntimeExports.jsxs(Ri,{windowSize:k,children:[e.remiId!==void 0&&o.jsxRuntimeExports.jsx(t.ActivitySection,{amount:te??0,activities:e.remiActivities,stage:e.remiStage??"draft",onAddNewRule:me,entity:"reimbursement",historicActivities:e.remiHistory.activities}),e.remiId==null&&te!=null&&te>0?o.jsxRuntimeExports.jsx(t.ActivitySection,{amount:te??0,activities:Dt,stage:"draft",entity:"reimbursement",historicActivities:e.remiHistory.activities}):null]})})]}),o.jsxRuntimeExports.jsx($i,{}),o.jsxRuntimeExports.jsxs(ai,{showSkipAutoFill:ve,windowSize:k,children:[k!=="small"?o.jsxRuntimeExports.jsx(uo,{}):null,o.jsxRuntimeExports.jsx(Gr,{windowSize:k,onClick:p=>{p.stopPropagation(),Be===!0&&Ae(!1)},children:o.jsxRuntimeExports.jsx(t.Footer,{formId:Lt(co),separatorStyle:{marginRight:t.Space.sp4},showCancel:m,cancelBtn:{label:d&&e.remiStage==="pending_approval"&&e.remiStatus!=="rejected"?k==="small"?x.buttons.discard:x.buttons.discardChanges:k==="small"?x.buttons.save:x.buttons.saveChanges,isLoading:Me==="save"&&e.saveStatus?.fetchState==="In-Progress",onClick:Nt,style:{width:Y.footerButtonWidth.value(k)},reverseSpinnerColor:!1},primaryBtn:{label:Kr(m,d,e,k),isDisabled:!m,style:{width:m?Y.footerButtonWidth.value(k):"auto"},type:m?"submit":"button",onClick:m?()=>null:Nt,isLoading:!m&&Me==="save"&&e.saveStatus?.fetchState==="In-Progress"},rightSideComponent:o.jsxRuntimeExports.jsx(Yr,{children:o.jsxRuntimeExports.jsxs(ti,{windowSize:k,children:[Be?o.jsxRuntimeExports.jsx(o.ClickAwayListener,{onClickAway:()=>Ae(!1),children:o.jsxRuntimeExports.jsx(ei,{windowSize:k,"data-testid":t.generateDataTestId("remi-other-actions-container"),children:o.jsxRuntimeExports.jsx(oi,{onClick:Bo,"data-testid":t.generateDataTestId("delete-report-action"),children:x.buttons.deleteReport})})}):null,o.jsxRuntimeExports.jsx(Xr,{windowSize:k,children:_o===!0?o.jsxRuntimeExports.jsx(Qr,{windowSize:k,"data-testid":t.generateDataTestId("more-details-button"),children:o.jsxRuntimeExports.jsx(Jr,{onClick:()=>Ae(!Be)})}):null})]})}),style:{minHeight:62}})})]}),j&&h!=null?o.jsxRuntimeExports.jsx(Uo.RoomProvider,{id:rt,children:o.jsxRuntimeExports.jsx(t.AllThreadsDrawer,{isDrawerOpen:A,allowComposer:!0,drawerTitle:Mr,threads:nt,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:N?.companyId??Fr,isGlobalComment:!1,tab:"reimbursement"},isLoading:Ne,threadMetadata:N?{companyName:N.companyName,companyId:N.companyId,entityId:N.entityId,entityType:N.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:Wr,replyComposerPlaceholder:Nr,threadResolve:Dr,threadUnResolve:qr},onThreadClick:(p,$)=>Ko(p,$),onCloseAllThreadsDrawer:()=>ne(!1),drawerSectionStyle:{width:"400px",backgroundColor:ze.colors.background}})}):null]})}),Co?o.jsxRuntimeExports.jsx(ni,{windowSize:k,children:o.jsxRuntimeExports.jsx(br,{bankAccountCreationState:w,setShowBankAccountPage:ht,plaidConnectionDetails:s,onFetchLinkTokenClick:Ee,onEstablishConnectionClick:ue,onSaveHandler:I,bankAccountToCreate:T,bankNameByRouting:g,fetchBankNameByRoutingStatus:C,onUserBankDetailsUpdated:v,onFetchBankName:V,onBackClick:()=>{Qe(),ht(!1)}})}):null]})})})},Kr=(e,r,i,l)=>e?i.reimbursementId!=null&&i.remiStage==="pending_approval"?x.buttons.resubmit:x.buttons.submit:r&&i.remiStage==="pending_approval"&&i.remiStatus!=="rejected"?l==="small"?x.buttons.discard:x.buttons.discardChanges:l==="small"?x.buttons.save:x.buttons.saveChanges,Ur=n.div`
|
|
620
|
+
position: relative;
|
|
621
|
+
height: 100vh;
|
|
622
|
+
overflow-y: scroll;
|
|
623
|
+
`,Hr=n.div`
|
|
624
|
+
position: fixed;
|
|
625
|
+
top: 0;
|
|
626
|
+
left: 42vw;
|
|
627
|
+
width: 100%;
|
|
628
|
+
height: 100vh;
|
|
629
|
+
background: transparent;
|
|
630
|
+
box-shadow: 0 2px ${t.Space.sp1} ${({theme:e})=>e.colors.dropShadowNormal};
|
|
631
|
+
pointer-events: none;
|
|
632
|
+
z-index: 3;
|
|
633
|
+
`,Gr=n.div`
|
|
634
|
+
width: ${e=>Y.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
635
|
+
`,Yr=n.div`
|
|
636
|
+
display: flex;
|
|
637
|
+
justify-content: flex-end;
|
|
638
|
+
`,Jr=n(t.SvgMoreRound)`
|
|
639
|
+
cursor: pointer;
|
|
640
|
+
color: ${e=>e.theme.colors.hero};
|
|
641
|
+
width: ${t.Space.sp5};
|
|
642
|
+
height: ${t.Space.sp5};
|
|
643
|
+
&:hover {
|
|
644
|
+
color: ${e=>e.theme.colors.primary};
|
|
645
|
+
}
|
|
646
|
+
`,Zr=n(t.SvgHighImportance)`
|
|
647
|
+
width: ${t.Space.sp4};
|
|
648
|
+
height: ${t.Space.sp4};
|
|
649
|
+
color: ${t.Colors.brandColorGoldDark};
|
|
650
|
+
`,Qr=n.div`
|
|
651
|
+
display: flex;
|
|
652
|
+
margin-left: ${e=>e.windowSize==="small"?t.Space.sp4:t.Space.sp5};
|
|
653
|
+
cursor: pointer;
|
|
654
|
+
color: ${e=>e.theme.colors.grey1};
|
|
655
|
+
&:hover {
|
|
656
|
+
color: ${e=>e.theme.colors.primary};
|
|
657
|
+
}
|
|
658
|
+
`,Xr=n.div`
|
|
659
|
+
display: flex;
|
|
660
|
+
justify-content: center;
|
|
661
|
+
align-items: center;
|
|
662
|
+
`,ei=n.div`
|
|
663
|
+
display: flex;
|
|
664
|
+
width: auto;
|
|
665
|
+
align-items: center;
|
|
666
|
+
justify-content: center;
|
|
667
|
+
flex-direction: column;
|
|
668
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
669
|
+
color: ${e=>e.theme.colors.hero};
|
|
670
|
+
cursor: pointer;
|
|
671
|
+
padding-top: ${t.Space.sp1};
|
|
672
|
+
padding-bottom: ${t.Space.sp1};
|
|
673
|
+
position: absolute;
|
|
674
|
+
bottom: ${e=>Y.otherActionsContainerBottom.valuePx(e.windowSize)};
|
|
675
|
+
z-index: 3;
|
|
676
|
+
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
677
|
+
border-radius: ${t.Space.sp1};
|
|
678
|
+
right: ${e=>Y.right.valuePx(e.windowSize)};
|
|
679
|
+
box-shadow: ${e=>`${t.Space.sp0} 2px ${t.Space.sp1} ${e.theme.colors.grey1} 3D`};
|
|
680
|
+
`,ti=n.div`
|
|
681
|
+
width: 100%;
|
|
682
|
+
justify-content: flex-end;
|
|
683
|
+
position: ${e=>e.windowSize==="small"?"static":"relative"};
|
|
684
|
+
right: ${e=>Y.actionsContainerRight.valuePx(e.windowSize)};
|
|
685
|
+
height: 100%;
|
|
686
|
+
display: flex;
|
|
687
|
+
`,oi=n(t.SmallRegular)`
|
|
688
|
+
display: flex;
|
|
689
|
+
align-items: center;
|
|
690
|
+
width: -webkit-fill-available;
|
|
691
|
+
padding-left: ${t.Space.sp3};
|
|
692
|
+
padding-right: ${t.Space.sp3};
|
|
693
|
+
height: ${t.Space.sp6};
|
|
694
|
+
box-sizing: border-box;
|
|
695
|
+
&:hover {
|
|
696
|
+
background-color: ${e=>e.theme.colors.background};
|
|
697
|
+
}
|
|
698
|
+
`,ni=n.div`
|
|
699
|
+
overflow-y: auto;
|
|
700
|
+
z-index: 5;
|
|
701
|
+
height: 100vh;
|
|
702
|
+
position: fixed;
|
|
703
|
+
background: ${e=>e.theme.colors.grey4};
|
|
704
|
+
width: ${e=>Y.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
705
|
+
right: 0;
|
|
706
|
+
top: 0;
|
|
707
|
+
`,ri=n.div`
|
|
708
|
+
background: ${e=>e.theme.colors.grey4};
|
|
709
|
+
height: 44px;
|
|
710
|
+
display: flex;
|
|
711
|
+
align-items: center;
|
|
712
|
+
justify-content: end;
|
|
713
|
+
`,ii=n.div`
|
|
714
|
+
width: 58%;
|
|
715
|
+
`,si=n(t.H6Regular)`
|
|
716
|
+
padding: ${t.Space.sp3} ${t.Space.sp3} 0 ${t.Space.sp3};
|
|
717
|
+
background: ${e=>e.theme.colors.grey4};
|
|
718
|
+
color: ${e=>e.theme.colors.primary};
|
|
719
|
+
`,ai=n.div`
|
|
720
|
+
display: ${e=>e.windowSize==="small"&&e.showSkipAutoFill?"none":"flex"};
|
|
721
|
+
width: 100%;
|
|
722
|
+
position: fixed;
|
|
723
|
+
bottom: 0;
|
|
724
|
+
z-index: 3;
|
|
725
|
+
`,uo=n.div`
|
|
726
|
+
width: 42%;
|
|
727
|
+
`,li=n(t.SvgAutofill3)`
|
|
728
|
+
color: ${e=>e.theme.colors.primary};
|
|
729
|
+
width: ${t.Space.sp3};
|
|
730
|
+
height: ${t.Space.sp3};
|
|
731
|
+
`,ci=n.div`
|
|
732
|
+
display: flex;
|
|
733
|
+
gap: ${t.Space.sp2};
|
|
734
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
735
|
+
padding: ${t.Space.sp3};
|
|
736
|
+
border-radius: ${t.Space.sp2};
|
|
737
|
+
align-items: center;
|
|
738
|
+
margin: ${t.Space.sp3};
|
|
739
|
+
`,di=n.span`
|
|
740
|
+
color: ${e=>e.theme.colors.hero};
|
|
741
|
+
`,ui=n.div`
|
|
742
|
+
display: flex;
|
|
743
|
+
gap: ${t.Space.sp2};
|
|
744
|
+
padding: ${t.Space.sp3};
|
|
745
|
+
border-radius: ${t.Space.sp2};
|
|
746
|
+
align-items: start;
|
|
747
|
+
margin-top: ${e=>Y.duplicateBannerWrapperMarginTop.valuePx(e.size)};
|
|
748
|
+
margin-right: ${e=>Y.duplicateBannerWrapperMarginRight.valuePx(e.size)};
|
|
749
|
+
margin-bottom: ${e=>Y.duplicateBannerWrapperMarginBottom.valuePx(e.size)};
|
|
750
|
+
margin-left: ${e=>Y.duplicateBannerWrapperMarginLeft.valuePx(e.size)};
|
|
751
|
+
background-color: ${t.Colors.alertLight};
|
|
752
|
+
border: 1px solid ${e=>e.theme.colors.brandColorGoldDark};
|
|
753
|
+
`,pi=n(t.StandardMedium)`
|
|
754
|
+
color: ${e=>e.theme.colors.brandColorGoldDark};
|
|
755
|
+
`,mi=n.div`
|
|
756
|
+
width: 100%;
|
|
757
|
+
`,xi=n(t.StandardRegular)`
|
|
758
|
+
color: ${e=>e.theme.colors.brandColorGoldDark};
|
|
759
|
+
`,hi=n(t.H6Regular)`
|
|
760
|
+
letter-spacing: -0.02em;
|
|
761
|
+
color: ${e=>e.theme.colors.primary};
|
|
762
|
+
margin: ${t.Space.sp3};
|
|
763
|
+
`,po=n.div`
|
|
764
|
+
display: flex;
|
|
765
|
+
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
766
|
+
height: 100vh;
|
|
767
|
+
visibility: inherit;
|
|
768
|
+
width: 100%;
|
|
769
|
+
background-color: ${t.Colors.overlayDark};
|
|
770
|
+
z-index: 11; // This is to ensure that the skip autofill section is above the AI CFO icon whose value is 10
|
|
771
|
+
position: fixed;
|
|
772
|
+
`,gi=n.div`
|
|
773
|
+
z-index: 3;
|
|
774
|
+
min-height: 62px;
|
|
775
|
+
height: 62px;
|
|
776
|
+
display: flex;
|
|
777
|
+
align-items: center;
|
|
778
|
+
width: 100%;
|
|
779
|
+
justify-content: space-between;
|
|
780
|
+
position: fixed;
|
|
781
|
+
`,yi=n(t.SvgZeniIconOnly)`
|
|
782
|
+
display: flex;
|
|
783
|
+
color: ${e=>e.theme.colors.brandColorJade};
|
|
784
|
+
cursor: pointer;
|
|
785
|
+
width: ${t.Space.sp4};
|
|
786
|
+
height: ${t.Space.sp4};
|
|
787
|
+
`,zt=n(t.SvgClose)`
|
|
788
|
+
cursor: pointer;
|
|
789
|
+
width: ${t.Space.sp4};
|
|
790
|
+
height: ${t.Space.sp4};
|
|
791
|
+
float: right;
|
|
792
|
+
color: inherit;
|
|
793
|
+
`,Bt=n.div`
|
|
794
|
+
color: ${e=>e.theme.colors.hero};
|
|
795
|
+
&:hover {
|
|
796
|
+
color: ${e=>e.withOverlay?t.Colors.primaryDark:e.theme.colors.primary};
|
|
797
|
+
}
|
|
798
|
+
`,fi=n.div`
|
|
799
|
+
margin-top: ${e=>Y.closeMarginTop.valuePx(e.windowSize)};
|
|
800
|
+
display: flex;
|
|
801
|
+
float: right;
|
|
802
|
+
`,Si=n.div`
|
|
803
|
+
display: flex;
|
|
804
|
+
align-items: center;
|
|
805
|
+
justify-content: center;
|
|
806
|
+
position: relative;
|
|
807
|
+
float: right;
|
|
808
|
+
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
809
|
+
color: ${e=>e.theme.colors.hero};
|
|
810
|
+
&:hover {
|
|
811
|
+
color: ${e=>e.theme.colors.primary};
|
|
812
|
+
}
|
|
813
|
+
`,bi=n(t.SvgComment)`
|
|
814
|
+
display: flex;
|
|
815
|
+
width: ${t.Space.sp4};
|
|
816
|
+
height: ${t.Space.sp4};
|
|
817
|
+
align-items: center;
|
|
818
|
+
justify-content: center;
|
|
819
|
+
`,At=n.div`
|
|
820
|
+
margin-top: ${e=>e.partOfSkipAutoFill===!0?Y.closeMarginTop.valuePx(e.size):0};
|
|
821
|
+
margin-left: ${t.Space.sp5};
|
|
822
|
+
margin-right: ${e=>e.partOfSkipAutoFill===!0?Y.closeMarginRight.valuePx(e.size):0};
|
|
823
|
+
`,vi=n.div`
|
|
824
|
+
display: flex;
|
|
825
|
+
flex-direction: column;
|
|
826
|
+
width: 100vw;
|
|
827
|
+
overflow-x: hidden;
|
|
828
|
+
background: -webkit-linear-gradient(
|
|
829
|
+
to right,
|
|
830
|
+
${e=>e.theme.colors.background} 42%,
|
|
831
|
+
${e=>e.theme.colors.grey4} 42%
|
|
832
|
+
);
|
|
833
|
+
background: -moz-linear-gradient(
|
|
834
|
+
to right,
|
|
835
|
+
${e=>e.theme.colors.background} 42%,
|
|
836
|
+
${e=>e.theme.colors.grey4} 42%
|
|
837
|
+
);
|
|
838
|
+
background: -o-linear-gradient(
|
|
839
|
+
to right,
|
|
840
|
+
${e=>e.theme.colors.background} 42%,
|
|
841
|
+
${e=>e.theme.colors.grey4} 42%
|
|
842
|
+
);
|
|
843
|
+
background: linear-gradient(
|
|
844
|
+
to right,
|
|
845
|
+
${e=>e.theme.colors.background} 42%,
|
|
846
|
+
${e=>e.theme.colors.grey4} 42%
|
|
847
|
+
);
|
|
848
|
+
${e=>e.windowSize==="small"&&`
|
|
849
|
+
background: ${e.theme.colors.grey4};
|
|
850
|
+
`}
|
|
851
|
+
min-height: 100vh;
|
|
852
|
+
`,ji=n.div`
|
|
853
|
+
display: ${e=>e.windowSize==="small"&&e.showSkipAutoFill?"none":"flex"};
|
|
854
|
+
width: 100%;
|
|
855
|
+
margin-bottom: ${e=>Y.bottomMargin.valuePx(e.windowSize)};
|
|
856
|
+
`,wi=n.div`
|
|
857
|
+
width: ${e=>Y.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
858
|
+
`,Ri=n.div`
|
|
859
|
+
margin-left: ${e=>Y.leftMargin.valuePx(e.windowSize)};
|
|
860
|
+
margin-right: ${e=>Y.rightMargin.valuePx(e.windowSize)};
|
|
861
|
+
`,$i=n.div`
|
|
862
|
+
display: flex;
|
|
863
|
+
flex-direction: column;
|
|
864
|
+
height: ${t.Space.sp11};
|
|
865
|
+
`;exports.default=Vr;exports.uniqueName=Lt;
|