@zeniai/web-components 3.16.40 → 3.16.41
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-C9GD0hCH.js +160 -0
- package/dist/ACHDetailsPage-CYC5YS-0.cjs +21 -0
- package/dist/AIPerformancePage-B0Adp0wg.js +1333 -0
- package/dist/AIPerformancePage-DbIAXX9U.cjs +530 -0
- package/dist/AccountInfoPage-BSxUquf3.js +78 -0
- package/dist/AccountInfoPage-qOnLYoWE.cjs +18 -0
- package/dist/AccountInfoPageContent-8V3PDzEc.js +428 -0
- package/dist/AccountInfoPageContent-DuBh5WvD.cjs +149 -0
- package/dist/AccountLockedInfoModal-7bhpExx3.js +125 -0
- package/dist/AccountLockedInfoModal-DA5gVTiH.cjs +59 -0
- package/dist/AccountReconDetailsDrawerPage-Ckmn4aww.cjs +239 -0
- package/dist/AccountReconDetailsDrawerPage-jTH8M9iA.js +686 -0
- package/dist/AccountRow-BpoPw0Cq.js +1009 -0
- package/dist/AccountRow-mZFS6s9b.cjs +298 -0
- package/dist/AccountsPromoCardStack-B0VcDqJP.cjs +207 -0
- package/dist/AccountsPromoCardStack-gsG5tf8_.js +664 -0
- package/dist/AddAddressForCardDrawer-CMF3Il-u.js +82 -0
- package/dist/AddAddressForCardDrawer-D8uBtKCa.cjs +6 -0
- package/dist/AddToWalletPage-BqLt9W64.cjs +344 -0
- package/dist/AddToWalletPage-CpWP7Kpn.js +643 -0
- package/dist/AgingReportsPage-3prqeCFK.cjs +79 -0
- package/dist/AgingReportsPage-DEQ2pO0Y.js +827 -0
- package/dist/AllUserItems-D0SR0Oue.js +979 -0
- package/dist/AllUserItems-D0uh7_8H.cjs +192 -0
- package/dist/ApAgingDetailPage-BA-wKCiF.js +239 -0
- package/dist/ApAgingDetailPage-DWKRkJva.cjs +46 -0
- package/dist/AppBasePage-DFn4TCyI.js +120 -0
- package/dist/AppBasePage-dMFEOJte.cjs +71 -0
- package/dist/AppDrawerContent-CBG4Ybue.js +375 -0
- package/dist/AppDrawerContent-CLY7v47F.cjs +91 -0
- package/dist/ApprovalRulesSettingsPage-BpO4ru0f.cjs +47 -0
- package/dist/ApprovalRulesSettingsPage-CpjHazzI.js +146 -0
- package/dist/ArAgingChart-BDISnDae.js +529 -0
- package/dist/ArAgingChart-CkqJ8pSH.cjs +24 -0
- package/dist/ArAgingDetailPage-Cgqf_0fL.js +243 -0
- package/dist/ArAgingDetailPage-DJlNFVGt.cjs +46 -0
- package/dist/AttachmentView-B1g0JlBK.cjs +101 -0
- package/dist/AttachmentView-X1k01Vtr.js +260 -0
- package/dist/BankAccountSection-BAB5P-qS.cjs +79 -0
- package/dist/BankAccountSection-CrxSDsgw.js +398 -0
- package/dist/BankAccountWarningSection-D7Ezz4E3.cjs +51 -0
- package/dist/BankAccountWarningSection-Dpt8yOKi.js +110 -0
- package/dist/BankConnectionsSettingsPage-BqC-oDZp.cjs +425 -0
- package/dist/BankConnectionsSettingsPage-Uzhaoi7g.js +1695 -0
- package/dist/BillDetailPage-Bb1EB1PA.cjs +266 -0
- package/dist/BillDetailPage-DcyikS7i.js +1798 -0
- package/dist/BillPayApprovalRuleDetailPage-BtHHDuwR.cjs +27 -0
- package/dist/BillPayApprovalRuleDetailPage-aM8F15Nu.js +247 -0
- package/dist/BillPayApprovalRulesPage-B46FwPVR.js +415 -0
- package/dist/BillPayApprovalRulesPage-CHAzVn_G.cjs +235 -0
- package/dist/BillPayPromoPage-BJbaxZBA.cjs +84 -0
- package/dist/BillPayPromoPage-DtVzdlsy.js +293 -0
- package/dist/BillPaySetUpPage-BKdNiQf7.js +412 -0
- package/dist/BillPaySetUpPage-Ck7MQBXX.cjs +42 -0
- package/dist/BillingSettingsPage-3AgPTFzN.js +336 -0
- package/dist/BillingSettingsPage-VlO8DjZP.cjs +44 -0
- package/dist/BillsBulkReviewDrawerPage-CFK7g3R1.js +216 -0
- package/dist/BillsBulkReviewDrawerPage-I-i5TwUV.cjs +1 -0
- package/dist/BoxItem-BMVjS54z.cjs +53 -0
- package/dist/BoxItem-Dsoq6QyZ.js +118 -0
- package/dist/BusinessVerificationPage-BaiXuOew.cjs +138 -0
- package/dist/BusinessVerificationPage-DSkBV_II.js +717 -0
- package/dist/BusyIndication-C7Oe3Je7.cjs +9 -0
- package/dist/BusyIndication-nuDt8o5S.js +18 -0
- package/dist/CardNumberSubText-B1OrE3CT.cjs +21 -0
- package/dist/CardNumberSubText-Crk5WDQr.js +59 -0
- package/dist/CashbackDetailPage-BZAFRMGW.js +824 -0
- package/dist/CashbackDetailPage-D0JK_gI7.cjs +285 -0
- package/dist/ChargeCardDetailPage-DXUoIbZa.js +5762 -0
- package/dist/ChargeCardDetailPage-TcjYQzEG.cjs +1813 -0
- package/dist/ChargeCardListPage-CIV1XQK1.js +1775 -0
- package/dist/ChargeCardListPage-OAOvTZ8T.cjs +406 -0
- package/dist/ChargeCardListTable-D8XlOBVx.cjs +711 -0
- package/dist/ChargeCardListTable-Dxn8Y17P.js +2872 -0
- package/dist/ChargeCardPromoPage-B6yTGsIY.js +806 -0
- package/dist/ChargeCardPromoPage-BsNvPxHz.cjs +222 -0
- package/dist/ChargeCardSetupPage-HHFdpsmJ.js +362 -0
- package/dist/ChargeCardSetupPage-p1ayTj29.cjs +36 -0
- package/dist/ChargeCardStatementsPage-BlZAHlH7.cjs +60 -0
- package/dist/ChargeCardStatementsPage-tuV67f3k.js +243 -0
- package/dist/ChargeCardUtils-BeG5m9OQ.js +102 -0
- package/dist/ChargeCardUtils-D1gopq8F.cjs +1 -0
- package/dist/ChaseOverlay-B2pqFXTT.js +402 -0
- package/dist/ChaseOverlay-DQPiFO9p.cjs +170 -0
- package/dist/CheckDepositDrawerPage-BKN7TyII.cjs +206 -0
- package/dist/CheckDepositDrawerPage-DDXZ3m54.js +726 -0
- package/dist/CollapsableReportTable-BLDh7Osv.js +11743 -0
- package/dist/CollapsableReportTable-k-5WvQFL.cjs +2932 -0
- package/dist/CompanyOfficerDetailsSection-CxoSe03A.cjs +260 -0
- package/dist/CompanyOfficerDetailsSection-Dg3sn5Sh.js +1633 -0
- package/dist/CompanyPassportCard-2HnVDVVi.js +146 -0
- package/dist/CompanyPassportCard-vQEeUkT1.cjs +42 -0
- package/dist/CompanyPassportPage-DlGllnaL.js +2160 -0
- package/dist/CompanyPassportPage-Du3VcMDI.cjs +574 -0
- package/dist/CompleteProfile-BmdlS5LU.cjs +52 -0
- package/dist/CompleteProfile-kFGIESms.js +301 -0
- package/dist/ConfettiBurst-CUAL0d7r.cjs +1 -0
- package/dist/ConfettiBurst-D5IgJ5P3.js +37 -0
- package/dist/CreateOrEditVendorPage-D8IFFcdA.js +755 -0
- package/dist/CreateOrEditVendorPage-pbeFjB6Y.cjs +281 -0
- package/dist/CreditCardPaymentDrawerPage-D5dPLJxT.cjs +224 -0
- package/dist/CreditCardPaymentDrawerPage-Xu0psAw0.js +1171 -0
- package/dist/CreditCardPaymentPlgSection-CqvgalYj.js +196 -0
- package/dist/CreditCardPaymentPlgSection-DBVTqR1H.cjs +78 -0
- package/dist/CurrencySelectField-DkY3JrVU.cjs +139 -0
- package/dist/CurrencySelectField-hwgVPqTt.js +348 -0
- package/dist/CustomerOnboardingActivationPage-CBFhWSJz.js +143 -0
- package/dist/CustomerOnboardingActivationPage-Db1iA6tg.cjs +88 -0
- package/dist/CustomerOnboardingContainerPage-39fGALCU.cjs +1 -0
- package/dist/CustomerOnboardingContainerPage-D4zUp7hX.js +7 -0
- package/dist/CustomerOnboardingDetailPageSkeleton-B2q2tdnD.js +434 -0
- package/dist/CustomerOnboardingDetailPageSkeleton-BFbj6uc7.cjs +162 -0
- package/dist/CustomerOnboardingNoStepsPage-BsNq90nq.js +425 -0
- package/dist/CustomerOnboardingNoStepsPage-D4m-4nLt.cjs +66 -0
- package/dist/CustomerOnboardingPage-BbGV3jtT.js +1060 -0
- package/dist/CustomerOnboardingPage-DpRG1HhA.cjs +107 -0
- package/dist/CustomerOnboardingProductSuitePage-CFHPiJrt.cjs +202 -0
- package/dist/CustomerOnboardingProductSuitePage-R2PJEOqZ.js +349 -0
- package/dist/Dashboard-Bt3WU40o.cjs +1551 -0
- package/dist/Dashboard-Cw4u8_9e.js +5531 -0
- package/dist/DashboardReportPage-BXIsYfnw.cjs +371 -0
- package/dist/DashboardReportPage-ls_MMfAh.js +2536 -0
- package/dist/DashboardSidebarBackgroundAnimation-C8qnD-z5.cjs +12 -0
- package/dist/DashboardSidebarBackgroundAnimation-C_9jGJQn.js +50 -0
- package/dist/DepositAccTransactionItem-BLgpyexV.js +112 -0
- package/dist/DepositAccTransactionItem-lIw_8F_a.cjs +76 -0
- package/dist/DepositAccTransactionListPage-D5JgYPp4.cjs +66 -0
- package/dist/DepositAccTransactionListPage-r4UVSUOl.js +152 -0
- package/dist/DomesticWireDetailsPage-B4rlKKBv.cjs +21 -0
- package/dist/DomesticWireDetailsPage-BSXsHwf5.js +189 -0
- package/dist/DownloadOverlay-Cp1Q1v6N.cjs +439 -0
- package/dist/DownloadOverlay-DKpj3Vwl.js +2148 -0
- package/dist/DrawerPage-BhKdk6rj.cjs +118 -0
- package/dist/DrawerPage-Cxz5I3Mb.js +208 -0
- package/dist/EditPeoplePage-CDHVkxz2.cjs +55 -0
- package/dist/EditPeoplePage-Dbsa013z.js +392 -0
- package/dist/EditReimbursementDetailPage-Clpj3Hjz.js +4461 -0
- package/dist/EditReimbursementDetailPage-Da3e7bhB.cjs +865 -0
- package/dist/EmptySearchResults-BEeLVBw6.js +70 -0
- package/dist/EmptySearchResults-DcoFOr1E.cjs +46 -0
- package/dist/EntityDetailPage-C73BtWIp.js +82 -0
- package/dist/EntityDetailPage-DxUkdchk.cjs +18 -0
- package/dist/EntitySummarySection-BQA0g-pF.js +530 -0
- package/dist/EntitySummarySection-DG3oN1UJ.cjs +149 -0
- package/dist/ExpenseAutomationOverviewPage-BxEr0k8F.js +735 -0
- package/dist/ExpenseAutomationOverviewPage-CkRLiYwf.cjs +241 -0
- package/dist/ExpenseAutomationPage-BS4M9nkW.js +11496 -0
- package/dist/ExpenseAutomationPage-D4XAH39D.cjs +1650 -0
- package/dist/ExpressPayPage-BgBgFDyv.cjs +168 -0
- package/dist/ExpressPayPage-Buxb2M1i.js +1136 -0
- package/dist/FeaturePreviewPage-ClfFYnHb.js +114 -0
- package/dist/FeaturePreviewPage-DTiiQuUf.cjs +11 -0
- package/dist/FollowStepsSection-CH0Uq3pI.cjs +390 -0
- package/dist/FollowStepsSection-CkQ-g4YK.js +1313 -0
- package/dist/GlobalReviewListPage-BaiLuxxl.cjs +291 -0
- package/dist/GlobalReviewListPage-C_DbsHsA.js +1674 -0
- package/dist/HelpButton-B0ZBXPeh.js +81 -0
- package/dist/HelpButton-V3yE8Qq_.cjs +28 -0
- package/dist/InformationCardStack-BcsaWzvg.cjs +31 -0
- package/dist/InformationCardStack-DYdCt7zr.js +219 -0
- package/dist/InsightsCardStack-BSHQznep.js +305 -0
- package/dist/InsightsCardStack-BttUBVfI.cjs +79 -0
- package/dist/InsightsSection-C37BKIiK.js +97 -0
- package/dist/InsightsSection-DMvD4Q6O.cjs +27 -0
- package/dist/IntegrationsSettingsPage-CwmkC75p.cjs +57 -0
- package/dist/IntegrationsSettingsPage-DHAdlHrq.js +137 -0
- package/dist/InternationalWireSwiftDetailsPage-B64WNt28.js +753 -0
- package/dist/InternationalWireSwiftDetailsPage-BA-pNnhH.cjs +171 -0
- package/dist/InternationalWireVerificationPage-BNh5iOEd.cjs +292 -0
- package/dist/InternationalWireVerificationPage-D7ttGovC.js +877 -0
- package/dist/InviteFormPage-BhbGM4dC.js +873 -0
- package/dist/InviteFormPage-DiZ1Cxpe.cjs +312 -0
- package/dist/InvitePageListView-ByBn4oIX.cjs +739 -0
- package/dist/InvitePageListView-CyRlLv60.js +1764 -0
- package/dist/InvitePeoplePage-DSyxWWyX.cjs +12 -0
- package/dist/InvitePeoplePage-DYpb33z0.js +286 -0
- package/dist/InvoiceUploadSection-BPPgbS-r.js +465 -0
- package/dist/InvoiceUploadSection-BqXSUUYT.cjs +140 -0
- package/dist/IssueChargeCardPage-C_SLiKHJ.cjs +532 -0
- package/dist/IssueChargeCardPage-D_qQkkfo.js +2875 -0
- package/dist/LabeledAddressValue-DtuXN46n.cjs +49 -0
- package/dist/LabeledAddressValue-EshVNGGW.js +115 -0
- package/dist/LabeledAddressValueField-BiTYB-q4.cjs +45 -0
- package/dist/LabeledAddressValueField-kgieouBM.js +130 -0
- package/dist/LabeledControlledCheckBoxField-BDJ1ovXY.cjs +16 -0
- package/dist/LabeledControlledCheckBoxField-CWABc6OK.js +73 -0
- package/dist/LabeledCreatableSingleSelectField-B5o1KUJj.js +515 -0
- package/dist/LabeledCreatableSingleSelectField-ex3ewcrD.cjs +204 -0
- package/dist/LabeledDocumentField-BrXpwWfM.js +147 -0
- package/dist/LabeledDocumentField-OSes1aNv.cjs +41 -0
- package/dist/LabeledDropDownFormattedTextField-BhFH6tgz.cjs +59 -0
- package/dist/LabeledDropDownFormattedTextField-Cepl3y9a.js +163 -0
- package/dist/LabeledEmailInputField-CMGoPzEw.js +425 -0
- package/dist/LabeledEmailInputField-rV7IfdzC.cjs +182 -0
- package/dist/LabeledItemWithButton-ChmTzcQH.cjs +21 -0
- package/dist/LabeledItemWithButton-Dq30UbLA.js +74 -0
- package/dist/LabeledNameField-DpL4YD6h.cjs +141 -0
- package/dist/LabeledNameField-kiEgpChZ.js +293 -0
- package/dist/LabeledSingleSelectField-D0n4rWoV.cjs +136 -0
- package/dist/LabeledSingleSelectField-EhdmglsI.js +372 -0
- package/dist/LabeledSingleSelectWithoutClearableField-2MeivN_H.cjs +38 -0
- package/dist/LabeledSingleSelectWithoutClearableField-CXO2YxPm.js +103 -0
- package/dist/LabeledText-BmFLymPb.js +103 -0
- package/dist/LabeledText-D8IfxeEd.cjs +42 -0
- package/dist/LabeledUserSingleSelectWithSubtitlesField-CBbnTiwl.js +572 -0
- package/dist/LabeledUserSingleSelectWithSubtitlesField-Dad0vx6X.cjs +229 -0
- package/dist/LabeledZeniRolesDropDownField-Da9mc-0B.js +975 -0
- package/dist/LabeledZeniRolesDropDownField-gVnHldOY.cjs +297 -0
- package/dist/LinkJETransactionPage-CzzJ8rPX.cjs +98 -0
- package/dist/LinkJETransactionPage-DIhsx2g-.js +406 -0
- package/dist/LockCardPage-BA4Lj9Iy.js +2033 -0
- package/dist/LockCardPage-Cvw_IcbC.cjs +623 -0
- package/dist/LowBalancePopup-B1pTBmAF.js +219 -0
- package/dist/LowBalancePopup-MeQekK8u.cjs +34 -0
- package/dist/MagicLinkACHDetailsPage-BxzbJBWO.js +39 -0
- package/dist/MagicLinkACHDetailsPage-_SJCANPL.cjs +1 -0
- package/dist/MagicLinkDomesticWireDetailsPage-D5MkwGpS.cjs +1 -0
- package/dist/MagicLinkDomesticWireDetailsPage-DB2tBUoV.js +44 -0
- package/dist/MagicLinkInternationalWireDetailsPage-0B5pD_Iw.js +43 -0
- package/dist/MagicLinkInternationalWireDetailsPage-E_dR97yN.cjs +1 -0
- package/dist/MagicLinkSuccessPage-3I1CRYrj.js +59 -0
- package/dist/MagicLinkSuccessPage-CDTZekzE.cjs +31 -0
- package/dist/MagicLinkTitleSection-BKgwdBLy.js +40 -0
- package/dist/MagicLinkTitleSection-nkibzoeY.cjs +17 -0
- package/dist/MailingDetailsSection-BwEd_J6R.js +74 -0
- package/dist/MailingDetailsSection-C0RbE2dA.cjs +21 -0
- package/dist/MatchingOperatorDropdown-BbpQiY_F.cjs +130 -0
- package/dist/MatchingOperatorDropdown-wsvIyqdd.js +572 -0
- package/dist/MeetingCalenderPopup-Bn46ZQqN.cjs +26 -0
- package/dist/MeetingCalenderPopup-BpRpGSe6.js +60 -0
- package/dist/Menu-De_gaVnj.js +110 -0
- package/dist/Menu-DurD6viK.cjs +17 -0
- package/dist/MoreMenuButton-DQdfwfDW.cjs +167 -0
- package/dist/MoreMenuButton-ksfP-Epn.js +569 -0
- package/dist/MyBankConnectionsSettingsPage-D3mSYlSg.cjs +110 -0
- package/dist/MyBankConnectionsSettingsPage-lChXBDCb.js +297 -0
- package/dist/MyPendingActivationChargeCardListPage-B7gXbS_x.cjs +6 -0
- package/dist/MyPendingActivationChargeCardListPage-D3di8BeS.js +168 -0
- package/dist/MyProfileSettingsPage-CQ_cLUEm.cjs +85 -0
- package/dist/MyProfileSettingsPage-CYI4yK6I.js +641 -0
- package/dist/NavBarWithPicker-BRD9csLV.cjs +30 -0
- package/dist/NavBarWithPicker-DcELUvq0.js +106 -0
- package/dist/NavigationArrow-DrdM3b8F.cjs +47 -0
- package/dist/NavigationArrow-W1nVj2KC.js +88 -0
- package/dist/NavigationDots-BKVFhe2Y.js +44 -0
- package/dist/NavigationDots-D9zZX4Wm.cjs +15 -0
- package/dist/NewGlobalMerchantPage-DRrjJgZt.js +543 -0
- package/dist/NewGlobalMerchantPage-DqdIddKw.cjs +160 -0
- package/dist/NoDataChart-BzSCComh.js +58 -0
- package/dist/NoDataChart-D5Hogbvw.cjs +26 -0
- package/dist/NoDataTable-C0XVMtsX.cjs +8 -0
- package/dist/NoDataTable-CGWMbvak.js +27 -0
- package/dist/NotFoundPage-DfRFngFV.js +71 -0
- package/dist/NotFoundPage-DhQrmKeH.cjs +46 -0
- package/dist/NotificationSettingsPage-BTJH62-O.js +541 -0
- package/dist/NotificationSettingsPage-BhwjXVZV.cjs +163 -0
- package/dist/NotificationsListConfig-DPutUxp3.js +10 -0
- package/dist/NotificationsListConfig-Dykwve1V.cjs +1 -0
- package/dist/NotificationsPage-CYcygjmU.cjs +685 -0
- package/dist/NotificationsPage-xu6A1hVF.js +2664 -0
- package/dist/OpExByVendorPage-BeO7iMry.js +1057 -0
- package/dist/OpExByVendorPage-CwLDHuWV.cjs +100 -0
- package/dist/PandLWithForecastPage-1qSy3_Ke.js +563 -0
- package/dist/PandLWithForecastPage-CN1bnK9C.cjs +107 -0
- package/dist/PaymentAccountSetupBillingAddressSection-DnObHdjD.js +623 -0
- package/dist/PaymentAccountSetupBillingAddressSection-ZWA2oovY.cjs +106 -0
- package/dist/PeoplePage-BvzC0p0p.cjs +675 -0
- package/dist/PeoplePage-CPqz8R9j.js +1994 -0
- package/dist/PortfolioAllocationFormPage-BbQe_4Sf.cjs +207 -0
- package/dist/PortfolioAllocationFormPage-C9ZM9oUf.js +440 -0
- package/dist/PortfolioDetails-BJBNPfcI.js +653 -0
- package/dist/PortfolioDetails-DsxpK2D_.cjs +218 -0
- package/dist/ProductsCarousel-CG2R56oG.cjs +142 -0
- package/dist/ProductsCarousel-Ctx00P5D.js +309 -0
- package/dist/PromoBaseCards-BGYdfmx6.js +356 -0
- package/dist/PromoBaseCards-C9ssmGi3.cjs +218 -0
- package/dist/QBOConnectionDialog-B9yKv9hq.js +115 -0
- package/dist/QBOConnectionDialog-DAysOMja.cjs +51 -0
- package/dist/QBOSetupSection-CTMSCXwv.js +167 -0
- package/dist/QBOSetupSection-yzRabbFw.cjs +79 -0
- package/dist/ReimbursementApprovalRuleDetailPage-BtZUsK7H.js +247 -0
- package/dist/ReimbursementApprovalRuleDetailPage-P-aFuae2.cjs +26 -0
- package/dist/ReimbursementApprovalRulesPage-CZ3-nXou.cjs +237 -0
- package/dist/ReimbursementApprovalRulesPage-DNBHPoIZ.js +410 -0
- package/dist/ReimbursementDetailPage-BxZ5ijHe.js +1511 -0
- package/dist/ReimbursementDetailPage-kcXGe1YT.cjs +314 -0
- package/dist/ReimbursementPromoPage-CKTb8V12.cjs +84 -0
- package/dist/ReimbursementPromoPage-D284EkRZ.js +364 -0
- package/dist/ReimbursementSetUpPage-ByRgJc5l.cjs +140 -0
- package/dist/ReimbursementSetUpPage-BzR91_eW.js +666 -0
- package/dist/ReimbursementsBulkReviewDrawerPage-BMo9fFp7.js +204 -0
- package/dist/ReimbursementsBulkReviewDrawerPage-C6xnT0ka.cjs +1 -0
- package/dist/ReloadCard-CGUNX_x4.js +137 -0
- package/dist/ReloadCard-lMyDHFeR.cjs +26 -0
- package/dist/ReloadContainer-BUKjIgvY.js +2144 -0
- package/dist/ReloadContainer-BXGR9JSK.cjs +596 -0
- package/dist/ReportTableViewSelector-BVAek1Ui.js +679 -0
- package/dist/ReportTableViewSelector-H4TYrAme.cjs +150 -0
- package/dist/ReportsPage-Bbc7aZoT.cjs +121 -0
- package/dist/ReportsPage-BzKbMWV4.js +1315 -0
- package/dist/RevenueChart-Brh_ri4R.cjs +280 -0
- package/dist/RevenueChart-CPUrVR7y.js +2239 -0
- package/dist/ReviewDetailsPage-B74yrCe2.js +1073 -0
- package/dist/ReviewDetailsPage-CNiHGVPN.cjs +290 -0
- package/dist/ReviewOverlay-BlEoY-hJ.cjs +152 -0
- package/dist/ReviewOverlay-DQvXSDYM.js +299 -0
- package/dist/RoleWithToolTip-C093KNmR.cjs +22 -0
- package/dist/RoleWithToolTip-MwI_BmVq.js +72 -0
- package/dist/ScheduleDetailsFixedAssetsPage-CbkRYKjG.js +806 -0
- package/dist/ScheduleDetailsFixedAssetsPage-CwI8TkIZ.cjs +37 -0
- package/dist/ScheduleDetailsPage-CCRspH3Y.js +726 -0
- package/dist/ScheduleDetailsPage-DHxs-r1X.cjs +37 -0
- package/dist/ScheduleSequenceTable-55zYXNwF.js +1261 -0
- package/dist/ScheduleSequenceTable-CE9JUG3T.cjs +324 -0
- package/dist/SetUpAccountSection-B1Xxp4JH.cjs +378 -0
- package/dist/SetUpAccountSection-IgQjKWEr.js +1470 -0
- package/dist/SetUpDefaultSection-WXT-PxYn.cjs +187 -0
- package/dist/SetUpDefaultSection-shC3qOy6.js +537 -0
- package/dist/SignIn-CZGmLYjH.js +1075 -0
- package/dist/SignIn-DRzIcRU5.cjs +448 -0
- package/dist/SpendManagementListViewPage-BhTnQtma.js +627 -0
- package/dist/SpendManagementListViewPage-hR_Vhi5n.cjs +122 -0
- package/dist/SpendManagementPerTabPage-DpnIM6Nc.js +2735 -0
- package/dist/SpendManagementPerTabPage-W6h02vpQ.cjs +754 -0
- package/dist/SpendManagementSection-CjO6vqBG.cjs +230 -0
- package/dist/SpendManagementSection-Hjvwgkt0.js +1043 -0
- package/dist/SpendMgmtSetupAccountSection-Bl7P86LW.cjs +206 -0
- package/dist/SpendMgmtSetupAccountSection-CAWyEGGM.js +875 -0
- package/dist/StatementItem-CDNfnlZY.cjs +31 -0
- package/dist/StatementItem-D8v_Laju.js +81 -0
- package/dist/StatementsPage-CEw-9UyR.js +130 -0
- package/dist/StatementsPage-DiuHhtNM.cjs +58 -0
- package/dist/StatusSwitcher-CA0w_Raa.cjs +120 -0
- package/dist/StatusSwitcher-DoSCydJG.js +319 -0
- package/dist/SubTabSwitcher-BmPgrbwN.cjs +58 -0
- package/dist/SubTabSwitcher-Ct1DqfgC.js +113 -0
- package/dist/SuccessAnimation-BKToAJWj.js +52 -0
- package/dist/SuccessAnimation-DB7RSEPr.cjs +13 -0
- package/dist/SummaryCard-B2A6iJMr.cjs +1 -0
- package/dist/SummaryCard-CHUbuF_0.js +25 -0
- package/dist/TaskDetailPage-CtBEFqP7.cjs +775 -0
- package/dist/TaskDetailPage-zV5TeIut.js +2533 -0
- package/dist/TaskListRow-DOmjaolj.js +1950 -0
- package/dist/TaskListRow-aq2JDiax.cjs +556 -0
- package/dist/TaskManagementPage-BnP_OwUO.cjs +508 -0
- package/dist/TaskManagementPage-Ddox5Vwh.js +1935 -0
- package/dist/TimeRangeSwitcher-CiOSsTU-.js +265 -0
- package/dist/TimeRangeSwitcher-CoC4AKbY.cjs +64 -0
- package/dist/TimeframeSwitcher-BTgT4L_U.cjs +31 -0
- package/dist/TimeframeSwitcher-D1k1Zf_U.js +103 -0
- package/dist/TimeframeSwitcherWithToggle-0y-QlUhJ.cjs +31 -0
- package/dist/TimeframeSwitcherWithToggle-DXbaoDe6.js +157 -0
- package/dist/TopExCard-CBDY9kRZ.cjs +38 -0
- package/dist/TopExCard-D4ZDqXZg.js +568 -0
- package/dist/TopExDetailPage-3lQqUUuH.cjs +132 -0
- package/dist/TopExDetailPage-BdPAcKwH.js +318 -0
- package/dist/TransactionDetailPage-BcjGxHy8.js +5238 -0
- package/dist/TransactionDetailPage-D-vcimps.cjs +912 -0
- package/dist/TransactionList-BEw8paZe.cjs +147 -0
- package/dist/TransactionList-BSuMEtB3.js +558 -0
- package/dist/TransactionListBig-B2m9XG5N.cjs +284 -0
- package/dist/TransactionListBig-MY_ZxyR3.js +658 -0
- package/dist/TransactionListPage-CWGrWDjK.js +144 -0
- package/dist/TransactionListPage-DQ7mlN0J.cjs +35 -0
- package/dist/TransactionVendorDetailPage-BmHUrd9A.cjs +80 -0
- package/dist/TransactionVendorDetailPage-DDNK9KrI.js +425 -0
- package/dist/TransferDrawerPage-CLVvxudt.cjs +362 -0
- package/dist/TransferDrawerPage-vK0YoMro.js +1435 -0
- package/dist/TreasuryOverviewPage-0w2fqSQq.cjs +708 -0
- package/dist/TreasuryOverviewPage-CQsUti1c.js +1890 -0
- package/dist/TreasuryPromoPage-Bp72hKEs.js +1122 -0
- package/dist/TreasuryPromoPage-ChLEfwjm.cjs +505 -0
- package/dist/TreasurySetupPage-BUKsU3nh.js +683 -0
- package/dist/TreasurySetupPage-NdR4fcoC.cjs +144 -0
- package/dist/TreasuryStatementsPage-BHSNkuqV.cjs +58 -0
- package/dist/TreasuryStatementsPage-Cryv1PNX.js +131 -0
- package/dist/TreasuryTaxLetterPage-BMYTdYa5.js +131 -0
- package/dist/TreasuryTaxLetterPage-BzZ33mKy.cjs +58 -0
- package/dist/TreasuryTransferOrReviewPage-B9VwyDJa.js +1938 -0
- package/dist/TreasuryTransferOrReviewPage-UwL3-CQw.cjs +576 -0
- package/dist/TrendChart-BLkEjRto.cjs +16 -0
- package/dist/TrendChart-CqYeWLeV.js +333 -0
- package/dist/TrendWithTransactions-BUu5ayi8.cjs +116 -0
- package/dist/TrendWithTransactions-xn1fvlLO.js +346 -0
- package/dist/UncategorizedAccountsMappingPage-B_aOzm4v.js +1160 -0
- package/dist/UncategorizedAccountsMappingPage-Cbm-7YCU.cjs +244 -0
- package/dist/UnitIntegrationPage-9r7MTzc6.cjs +67 -0
- package/dist/UnitIntegrationPage-B6LF_f7C.js +405 -0
- package/dist/UploadAdditionalDocumentOverlay-BFaFFntv.cjs +38 -0
- package/dist/UploadAdditionalDocumentOverlay-BlKvE3tT.js +211 -0
- package/dist/Vendor2FAPopup-BEYyA2Ym.cjs +1 -0
- package/dist/Vendor2FAPopup-BLzf9zxl.js +69 -0
- package/dist/VendorACHDetailsPage-CncDplWQ.js +43 -0
- package/dist/VendorACHDetailsPage-CsX3YO1J.cjs +1 -0
- package/dist/VendorDetailPage-DPg9Qqvr.cjs +257 -0
- package/dist/VendorDetailPage-POan4Fo8.js +1236 -0
- package/dist/VendorDomesticWireDetailsPage-B1bT0W9o.js +53 -0
- package/dist/VendorDomesticWireDetailsPage-dzibWCU0.cjs +1 -0
- package/dist/VendorFiling1099EditablePage-C25iYV4w.js +842 -0
- package/dist/VendorFiling1099EditablePage-DCXYhwt8.cjs +175 -0
- package/dist/VendorFirstReviewPage-DQf47ru5.cjs +730 -0
- package/dist/VendorFirstReviewPage-DY035p5C.js +2748 -0
- package/dist/VendorInternationalWireDetailsPage-CjueADq5.cjs +152 -0
- package/dist/VendorInternationalWireDetailsPage-DN_mcAqY.js +968 -0
- package/dist/VendorInternationalWireSwiftDetailsPage-BIo-yiJg.cjs +1 -0
- package/dist/VendorInternationalWireSwiftDetailsPage-BaXgGRdu.js +52 -0
- package/dist/VendorsAccountsSection-C2UiqXC0.js +279 -0
- package/dist/VendorsAccountsSection-DvB5jPtr.cjs +68 -0
- package/dist/VerifyDevice-C7BWrAZ3.js +298 -0
- package/dist/VerifyDevice-Di15GN-d.cjs +112 -0
- package/dist/VideoPlayer-BGkzzQtK.cjs +77 -0
- package/dist/VideoPlayer-BYkDTMkS.js +169 -0
- package/dist/VideoPopup-Bx6Q6hmJ.cjs +31 -0
- package/dist/VideoPopup-Chye3pds.js +60 -0
- package/dist/WarningsDrawerPage-BW9ymJJ6.cjs +92 -0
- package/dist/WarningsDrawerPage-Cx-gJdnW.js +228 -0
- package/dist/ZeniAccountDetailPage-BrXe6Kao.js +907 -0
- package/dist/ZeniAccountDetailPage-I7Wz3gpk.cjs +300 -0
- package/dist/ZeniAccountListViewPage-3zfJiAzJ.cjs +441 -0
- package/dist/ZeniAccountListViewPage-CJnHvk5a.js +1078 -0
- package/dist/ZeniAccountNavBarPieces-BdLOT9UG.js +89 -0
- package/dist/ZeniAccountNavBarPieces-DiBv_DVQ.cjs +14 -0
- package/dist/ZeniAccountPromoPage-B1I9l833.js +523 -0
- package/dist/ZeniAccountPromoPage-BJY_BzQE.cjs +184 -0
- package/dist/ZeniAccountSetupPage-CitVJnZC.js +312 -0
- package/dist/ZeniAccountSetupPage-DZOhoM_3.cjs +36 -0
- package/dist/ZeniAvatar-B-lA2tSS.cjs +13 -0
- package/dist/ZeniAvatar-YQKTu5T2.js +34 -0
- package/dist/ZeniCopyright-CnKThbeb.cjs +1 -0
- package/dist/ZeniCopyright-DbQka65R.js +9 -0
- package/dist/ZeniDatePicker-CFQ8KISU.cjs +187 -0
- package/dist/ZeniDatePicker-RSYs-tf3.js +386 -0
- package/dist/ZeniTransferAmountSlider-B37SYbB2.cjs +63 -0
- package/dist/ZeniTransferAmountSlider-Dzxu82Xw.js +215 -0
- package/dist/analyticsHelper-DgJDMdal.js +65 -0
- package/dist/analyticsHelper-pAFKT3cM.cjs +1 -0
- package/dist/calculateSize-DCpYHyd7.js +22 -0
- package/dist/calculateSize-DaGhXCTC.cjs +1 -0
- package/dist/chartTypes-BxWbB5-g.cjs +1 -0
- package/dist/chartTypes-D1j_l919.js +47 -0
- package/dist/cockpit.cjs.js +2 -2
- package/dist/cockpit.esm.js +15 -15
- package/dist/common-Cg5QFlS0.cjs +1 -0
- package/dist/common-DMCzyg_F.js +22 -0
- package/dist/commonDimensions-6r34nnzX.cjs +1 -0
- package/dist/commonDimensions-DDu54g8x.js +13 -0
- package/dist/components/spendManagement/chargeCard/components/CardNumberSubText.d.ts +2 -1
- package/dist/detailCommon-C9WgJozo.cjs +38 -0
- package/dist/detailCommon-DXjUFoA1.js +124 -0
- package/dist/downloadPdf-DChYYVaW.js +32 -0
- package/dist/downloadPdf-MfZfz1Na.cjs +1 -0
- package/dist/index-BtH6xclG.js +85950 -0
- package/dist/index-DiGCN0Sk.cjs +19239 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mapLoadingInProgressToTreeNode-BC5IH44-.js +25 -0
- package/dist/mapLoadingInProgressToTreeNode-D-O3AddY.cjs +1 -0
- package/dist/mapSectionWithAcOnlyToTreeNode-Bi-NmDvw.cjs +1 -0
- package/dist/mapSectionWithAcOnlyToTreeNode-CUXssP6r.js +388 -0
- package/dist/mapSpacerToTreeNode-7iXcpQzi.cjs +1 -0
- package/dist/mapSpacerToTreeNode-sdzfy8cu.js +25 -0
- package/dist/mapTimeframeBalancesToTreeNode-BROieqal.js +24 -0
- package/dist/mapTimeframeBalancesToTreeNode-CkMQECI-.cjs +1 -0
- package/dist/mapTimeframeBalancesToTreeNode-DgOZfixy.js +24 -0
- package/dist/mapTimeframeBalancesToTreeNode-V5RujCyP.cjs +1 -0
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-Dz4hLdFi.cjs +1 -0
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-bXb7WXAq.js +32 -0
- package/dist/sectionColor-B_tXryN8.cjs +1 -0
- package/dist/sectionColor-CUFM2FiY.js +32 -0
- package/dist/toCOABalancesWithID-BJYg4vV-.cjs +1 -0
- package/dist/toCOABalancesWithID-DqhuI8hD.js +8 -0
- package/dist/toChartData-DZPFiNsp.js +76 -0
- package/dist/toChartData-DkDcWweM.cjs +1 -0
- package/dist/treasuryColorHelper-D5AxfiPH.js +60 -0
- package/dist/treasuryColorHelper-I4heCfN1.cjs +1 -0
- package/dist/uploadAttachment-D04Fz4F1.js +952 -0
- package/dist/uploadAttachment-DNvxNYKT.cjs +286 -0
- package/dist/zeniDatePicker.helpers-C2zOIEu5.js +14 -0
- package/dist/zeniDatePicker.helpers-DU1XMtI0.cjs +1 -0
- package/package.json +1 -1
- package/dist/ACHDetailsPage-BuyU6iEz.cjs +0 -21
- package/dist/ACHDetailsPage-Ct5-WoAK.js +0 -160
- package/dist/AIPerformancePage-BVaxMag-.js +0 -1333
- package/dist/AIPerformancePage-DfRdjE9Y.cjs +0 -530
- package/dist/AccountInfoPage-C7MBKdL0.cjs +0 -18
- package/dist/AccountInfoPage-DdplczOB.js +0 -78
- package/dist/AccountInfoPageContent-5-bIBAlZ.cjs +0 -149
- package/dist/AccountInfoPageContent-DhklLdth.js +0 -428
- package/dist/AccountLockedInfoModal-C3zWBbT2.js +0 -125
- package/dist/AccountLockedInfoModal-zGANjVl6.cjs +0 -59
- package/dist/AccountReconDetailsDrawerPage-BOegyVid.js +0 -686
- package/dist/AccountReconDetailsDrawerPage-DTeKX7Vf.cjs +0 -239
- package/dist/AccountRow-6qyktMtX.cjs +0 -298
- package/dist/AccountRow-CQBgLMRQ.js +0 -1009
- package/dist/AccountsPromoCardStack-DpLbtGpK.cjs +0 -207
- package/dist/AccountsPromoCardStack-DwRNadms.js +0 -664
- package/dist/AddAddressForCardDrawer-BWv0ixAO.js +0 -82
- package/dist/AddAddressForCardDrawer-BfyjkCzH.cjs +0 -6
- package/dist/AddToWalletPage-3HIVUj1f.js +0 -643
- package/dist/AddToWalletPage-DtDd07sn.cjs +0 -344
- package/dist/AgingReportsPage-CeyV-SFk.js +0 -827
- package/dist/AgingReportsPage-MHwVeOkF.cjs +0 -79
- package/dist/AllUserItems-C7SnHJiq.js +0 -979
- package/dist/AllUserItems-DI3pPciy.cjs +0 -192
- package/dist/ApAgingDetailPage-D6ESwMyv.cjs +0 -46
- package/dist/ApAgingDetailPage-Ik0ixCna.js +0 -239
- package/dist/AppBasePage-CJD3vbNR.js +0 -120
- package/dist/AppBasePage-CJKWt52S.cjs +0 -71
- package/dist/AppDrawerContent-BhKNNQXi.cjs +0 -91
- package/dist/AppDrawerContent-DVkNCTtS.js +0 -375
- package/dist/ApprovalRulesSettingsPage-DRrl7GL_.cjs +0 -47
- package/dist/ApprovalRulesSettingsPage-DlI-NO2v.js +0 -146
- package/dist/ArAgingChart-BpwWmIr9.js +0 -529
- package/dist/ArAgingChart-CaFYAiLa.cjs +0 -24
- package/dist/ArAgingDetailPage-CROGma9U.cjs +0 -46
- package/dist/ArAgingDetailPage-DreXZLg_.js +0 -243
- package/dist/AttachmentView-BEvEkEcS.js +0 -260
- package/dist/AttachmentView-Bv_KiOPH.cjs +0 -101
- package/dist/BankAccountSection-CG9CacCu.cjs +0 -79
- package/dist/BankAccountSection-IbaiAHdo.js +0 -398
- package/dist/BankAccountWarningSection-BLp__xLv.js +0 -110
- package/dist/BankAccountWarningSection-CY0ZeBCE.cjs +0 -51
- package/dist/BankConnectionsSettingsPage-BSFsh7Cd.cjs +0 -425
- package/dist/BankConnectionsSettingsPage-CUYGEArQ.js +0 -1695
- package/dist/BillDetailPage-waiffzo6.cjs +0 -266
- package/dist/BillDetailPage-zRogxiKa.js +0 -1798
- package/dist/BillPayApprovalRuleDetailPage-DELxaP90.js +0 -247
- package/dist/BillPayApprovalRuleDetailPage-TOcFF-_T.cjs +0 -27
- package/dist/BillPayApprovalRulesPage-BxmpKfco.cjs +0 -235
- package/dist/BillPayApprovalRulesPage-DrWxkzSC.js +0 -415
- package/dist/BillPayPromoPage-BegcNR38.js +0 -293
- package/dist/BillPayPromoPage-UDapfy8J.cjs +0 -84
- package/dist/BillPaySetUpPage-Bon7bm4C.js +0 -412
- package/dist/BillPaySetUpPage-itdc_KJB.cjs +0 -42
- package/dist/BillingSettingsPage-B-6_UnaJ.cjs +0 -44
- package/dist/BillingSettingsPage-BTeurFew.js +0 -336
- package/dist/BillsBulkReviewDrawerPage-B6bZ1XZe.js +0 -216
- package/dist/BillsBulkReviewDrawerPage-By8HXcWX.cjs +0 -1
- package/dist/BoxItem-F0KOr97L.js +0 -118
- package/dist/BoxItem-Fs6Lglx1.cjs +0 -53
- package/dist/BusinessVerificationPage-Bj3I_Trb.cjs +0 -138
- package/dist/BusinessVerificationPage-DcX06VbW.js +0 -717
- package/dist/BusyIndication-BgMTrFEc.js +0 -18
- package/dist/BusyIndication-oEXavOiI.cjs +0 -9
- package/dist/CardNumberSubText-Bm4jz0mw.js +0 -57
- package/dist/CardNumberSubText-UwCYZzSb.cjs +0 -21
- package/dist/CashbackDetailPage-BPU3cf8Y.js +0 -824
- package/dist/CashbackDetailPage-cTfRCuvi.cjs +0 -285
- package/dist/ChargeCardDetailPage-CuecZabw.js +0 -5762
- package/dist/ChargeCardDetailPage-DwuxWMa1.cjs +0 -1813
- package/dist/ChargeCardListPage-NKH3uYCM.cjs +0 -406
- package/dist/ChargeCardListPage-yy_iIjyo.js +0 -1775
- package/dist/ChargeCardListTable-CH8WughE.js +0 -2849
- package/dist/ChargeCardListTable-O5SXNbTR.cjs +0 -711
- package/dist/ChargeCardPromoPage-Cck7QH7d.js +0 -806
- package/dist/ChargeCardPromoPage-DOOtx1OG.cjs +0 -222
- package/dist/ChargeCardSetupPage-CijVkgc5.js +0 -362
- package/dist/ChargeCardSetupPage-DJBOkljU.cjs +0 -36
- package/dist/ChargeCardStatementsPage-D5xK4u3H.js +0 -243
- package/dist/ChargeCardStatementsPage-XG5PEVHr.cjs +0 -60
- package/dist/ChargeCardUtils-B7ldAe9o.js +0 -102
- package/dist/ChargeCardUtils-CxXtoOIy.cjs +0 -1
- package/dist/ChaseOverlay-0GOxKqW0.cjs +0 -170
- package/dist/ChaseOverlay-TweXskdx.js +0 -402
- package/dist/CheckDepositDrawerPage-BZ3X_Lix.js +0 -726
- package/dist/CheckDepositDrawerPage-BqY7mK6g.cjs +0 -206
- package/dist/CollapsableReportTable-4z3NZPAe.cjs +0 -2932
- package/dist/CollapsableReportTable-DfogYZH-.js +0 -11743
- package/dist/CompanyOfficerDetailsSection-De-euidt.js +0 -1633
- package/dist/CompanyOfficerDetailsSection-GdzFPyiI.cjs +0 -260
- package/dist/CompanyPassportCard-CjM85jLv.cjs +0 -42
- package/dist/CompanyPassportCard-D0nTW-X4.js +0 -146
- package/dist/CompanyPassportPage-BsQZvnYb.js +0 -2160
- package/dist/CompanyPassportPage-oaQc_5E5.cjs +0 -574
- package/dist/CompleteProfile-B3psSTNO.cjs +0 -52
- package/dist/CompleteProfile-DIPF4P0L.js +0 -301
- package/dist/ConfettiBurst-DcW-EmKh.cjs +0 -1
- package/dist/ConfettiBurst-OcYZ4SJA.js +0 -37
- package/dist/CreateOrEditVendorPage-Cxf0NQd5.js +0 -755
- package/dist/CreateOrEditVendorPage-Dd4kb4Rd.cjs +0 -281
- package/dist/CreditCardPaymentDrawerPage-Bye-3vMx.js +0 -1171
- package/dist/CreditCardPaymentDrawerPage-COwGq5tj.cjs +0 -224
- package/dist/CreditCardPaymentPlgSection-CXym2vxB.js +0 -196
- package/dist/CreditCardPaymentPlgSection-DEOQjE66.cjs +0 -78
- package/dist/CurrencySelectField-BUdJQbZL.cjs +0 -139
- package/dist/CurrencySelectField-BYmmIwcR.js +0 -348
- package/dist/CustomerOnboardingActivationPage-91XhzwSp.cjs +0 -88
- package/dist/CustomerOnboardingActivationPage-ChoztYoE.js +0 -143
- package/dist/CustomerOnboardingContainerPage-D9LXNWCM.js +0 -7
- package/dist/CustomerOnboardingContainerPage-mZdCGiH9.cjs +0 -1
- package/dist/CustomerOnboardingDetailPageSkeleton-Bo5hs8Pp.js +0 -434
- package/dist/CustomerOnboardingDetailPageSkeleton-CLFT9i-U.cjs +0 -162
- package/dist/CustomerOnboardingNoStepsPage-BkvAan59.cjs +0 -66
- package/dist/CustomerOnboardingNoStepsPage-CnA2qKHQ.js +0 -425
- package/dist/CustomerOnboardingPage-CQoIB32r.cjs +0 -107
- package/dist/CustomerOnboardingPage-DwPqUKDV.js +0 -1060
- package/dist/CustomerOnboardingProductSuitePage-D4uIRarg.js +0 -349
- package/dist/CustomerOnboardingProductSuitePage-frMDfQ2r.cjs +0 -202
- package/dist/Dashboard-Cal_467r.cjs +0 -1551
- package/dist/Dashboard-D7SZNoMp.js +0 -5531
- package/dist/DashboardReportPage-CddzCQCz.js +0 -2536
- package/dist/DashboardReportPage-Sq5HWDCW.cjs +0 -371
- package/dist/DashboardSidebarBackgroundAnimation-BuErnQdn.cjs +0 -12
- package/dist/DashboardSidebarBackgroundAnimation-bFC40zc2.js +0 -50
- package/dist/DepositAccTransactionItem-C4qoDnns.js +0 -112
- package/dist/DepositAccTransactionItem-CnL9cWW1.cjs +0 -76
- package/dist/DepositAccTransactionListPage-bouy9xde.cjs +0 -66
- package/dist/DepositAccTransactionListPage-oYT-_nWU.js +0 -152
- package/dist/DomesticWireDetailsPage-B9YjzCjB.cjs +0 -21
- package/dist/DomesticWireDetailsPage-BYH3PR_o.js +0 -189
- package/dist/DownloadOverlay-C8aqYK8o.cjs +0 -439
- package/dist/DownloadOverlay-Qx87ixVF.js +0 -2148
- package/dist/DrawerPage-ecLd2JyS.js +0 -208
- package/dist/DrawerPage-q1ZXjzl9.cjs +0 -118
- package/dist/EditPeoplePage-BfuLiVBW.cjs +0 -55
- package/dist/EditPeoplePage-C7rWpaD2.js +0 -392
- package/dist/EditReimbursementDetailPage-C_ks_faJ.js +0 -4461
- package/dist/EditReimbursementDetailPage-CxypbQH0.cjs +0 -865
- package/dist/EmptySearchResults-BlmQ7d2B.js +0 -70
- package/dist/EmptySearchResults-Da-c3f14.cjs +0 -46
- package/dist/EntityDetailPage-iPy6ezXH.js +0 -82
- package/dist/EntityDetailPage-rlRqb4pf.cjs +0 -18
- package/dist/EntitySummarySection-BCaKdVxb.cjs +0 -149
- package/dist/EntitySummarySection-BoqJImmB.js +0 -530
- package/dist/ExpenseAutomationOverviewPage-B1OYpzY7.cjs +0 -241
- package/dist/ExpenseAutomationOverviewPage-BPewOpI3.js +0 -735
- package/dist/ExpenseAutomationPage-BLHnlyV2.js +0 -11496
- package/dist/ExpenseAutomationPage-DTEhNF1A.cjs +0 -1650
- package/dist/ExpressPayPage-BJ5T-38h.js +0 -1136
- package/dist/ExpressPayPage-EGcN4OmO.cjs +0 -168
- package/dist/FeaturePreviewPage-DKd18ogL.js +0 -114
- package/dist/FeaturePreviewPage-HoUXRLZr.cjs +0 -11
- package/dist/FollowStepsSection-AY-suSQO.cjs +0 -390
- package/dist/FollowStepsSection-Bbllt6WO.js +0 -1313
- package/dist/GlobalReviewListPage-DTiC_4mV.js +0 -1674
- package/dist/GlobalReviewListPage-RnRNAH95.cjs +0 -291
- package/dist/HelpButton-C-b2eT2i.cjs +0 -28
- package/dist/HelpButton-ClJElDJA.js +0 -81
- package/dist/InformationCardStack-B3I0qZUF.js +0 -219
- package/dist/InformationCardStack-Dt5a-XPn.cjs +0 -31
- package/dist/InsightsCardStack-CVsLW213.js +0 -305
- package/dist/InsightsCardStack-rreGlnk5.cjs +0 -79
- package/dist/InsightsSection-R-03Cf8d.js +0 -97
- package/dist/InsightsSection-WxhrcnGc.cjs +0 -27
- package/dist/IntegrationsSettingsPage-Bkh-zyo7.cjs +0 -57
- package/dist/IntegrationsSettingsPage-f6ogmSrg.js +0 -137
- package/dist/InternationalWireSwiftDetailsPage-CDDL4rbS.cjs +0 -171
- package/dist/InternationalWireSwiftDetailsPage-FYZN26zS.js +0 -753
- package/dist/InternationalWireVerificationPage-B9XqLIqk.js +0 -877
- package/dist/InternationalWireVerificationPage-goNgxbch.cjs +0 -292
- package/dist/InviteFormPage-CLQD2jpu.js +0 -873
- package/dist/InviteFormPage-Dr4ENJuC.cjs +0 -312
- package/dist/InvitePageListView-Dx4AxgSo.cjs +0 -739
- package/dist/InvitePageListView-X_Fo0MdM.js +0 -1764
- package/dist/InvitePeoplePage-C0f3G2PD.js +0 -286
- package/dist/InvitePeoplePage-V76fT9kF.cjs +0 -12
- package/dist/InvoiceUploadSection-CW4c26gu.js +0 -465
- package/dist/InvoiceUploadSection-DAB_VhzO.cjs +0 -140
- package/dist/IssueChargeCardPage-CECzDMjH.cjs +0 -532
- package/dist/IssueChargeCardPage-DM-mzpvJ.js +0 -2875
- package/dist/LabeledAddressValue-CO2Whhy6.js +0 -115
- package/dist/LabeledAddressValue-Ck1cnGhm.cjs +0 -49
- package/dist/LabeledAddressValueField-BhoJ1V6s.js +0 -130
- package/dist/LabeledAddressValueField-C7KK99Gt.cjs +0 -45
- package/dist/LabeledControlledCheckBoxField-CsMN2ZsD.js +0 -73
- package/dist/LabeledControlledCheckBoxField-Dm7g9JIZ.cjs +0 -16
- package/dist/LabeledCreatableSingleSelectField-AG0St7mA.cjs +0 -204
- package/dist/LabeledCreatableSingleSelectField-cwNchJ6H.js +0 -515
- package/dist/LabeledDocumentField-DzileBnI.js +0 -147
- package/dist/LabeledDocumentField-smZ3A_6Q.cjs +0 -41
- package/dist/LabeledDropDownFormattedTextField-B4d1us8-.cjs +0 -59
- package/dist/LabeledDropDownFormattedTextField-BB2sLc7u.js +0 -163
- package/dist/LabeledEmailInputField-DjqipTA3.js +0 -425
- package/dist/LabeledEmailInputField-DzpP-VPa.cjs +0 -182
- package/dist/LabeledItemWithButton-DBNiVMlv.js +0 -74
- package/dist/LabeledItemWithButton-d1BqLq6U.cjs +0 -21
- package/dist/LabeledNameField-5qm02Mj0.js +0 -293
- package/dist/LabeledNameField-B5xdGBu2.cjs +0 -141
- package/dist/LabeledSingleSelectField-BRwGz6CX.js +0 -372
- package/dist/LabeledSingleSelectField-Cieet4X1.cjs +0 -136
- package/dist/LabeledSingleSelectWithoutClearableField-BQ0xdMSy.js +0 -103
- package/dist/LabeledSingleSelectWithoutClearableField-YEQr5SSA.cjs +0 -38
- package/dist/LabeledText-BCFdu4GK.cjs +0 -42
- package/dist/LabeledText-DKVgKnFt.js +0 -103
- package/dist/LabeledUserSingleSelectWithSubtitlesField-B6A5kSoh.cjs +0 -229
- package/dist/LabeledUserSingleSelectWithSubtitlesField-Dc6DHwjA.js +0 -572
- package/dist/LabeledZeniRolesDropDownField-ChRMn9AT.js +0 -975
- package/dist/LabeledZeniRolesDropDownField-l5XZR19p.cjs +0 -297
- package/dist/LinkJETransactionPage-1K7azPFt.cjs +0 -98
- package/dist/LinkJETransactionPage-Dz_BLuOI.js +0 -406
- package/dist/LockCardPage-CaWSHNJz.js +0 -1894
- package/dist/LockCardPage-DdIjnuak.cjs +0 -574
- package/dist/LowBalancePopup-DKrbQ-LP.cjs +0 -34
- package/dist/LowBalancePopup-DUMp0PeB.js +0 -219
- package/dist/MagicLinkACHDetailsPage-BQYH-2uB.js +0 -39
- package/dist/MagicLinkACHDetailsPage-D1S86wYN.cjs +0 -1
- package/dist/MagicLinkDomesticWireDetailsPage-BQZs2U4e.js +0 -44
- package/dist/MagicLinkDomesticWireDetailsPage-BoKNHgxz.cjs +0 -1
- package/dist/MagicLinkInternationalWireDetailsPage-D2J_ZafS.cjs +0 -1
- package/dist/MagicLinkInternationalWireDetailsPage-xjUw_Mrv.js +0 -43
- package/dist/MagicLinkSuccessPage-CA5YiSs5.js +0 -59
- package/dist/MagicLinkSuccessPage-CMGizr7U.cjs +0 -31
- package/dist/MagicLinkTitleSection-B09IFQSa.cjs +0 -17
- package/dist/MagicLinkTitleSection-Bx_yXCpB.js +0 -40
- package/dist/MailingDetailsSection-mue8hKwm.cjs +0 -21
- package/dist/MailingDetailsSection-yoJumjk_.js +0 -74
- package/dist/MatchingOperatorDropdown-CS2DQYX2.js +0 -572
- package/dist/MatchingOperatorDropdown-Crewo-w1.cjs +0 -130
- package/dist/MeetingCalenderPopup-BR8Y5-_Y.cjs +0 -26
- package/dist/MeetingCalenderPopup-BsJhQ5or.js +0 -60
- package/dist/Menu-B2v2YMUc.js +0 -110
- package/dist/Menu-BePewOz-.cjs +0 -17
- package/dist/MoreMenuButton-BMIbUcOc.js +0 -569
- package/dist/MoreMenuButton-D3NlL0Bd.cjs +0 -167
- package/dist/MyBankConnectionsSettingsPage-BOvR8KTa.js +0 -297
- package/dist/MyBankConnectionsSettingsPage-DFww-5SU.cjs +0 -110
- package/dist/MyPendingActivationChargeCardListPage-DmQ6JnI0.js +0 -168
- package/dist/MyPendingActivationChargeCardListPage-RiPPTzqU.cjs +0 -6
- package/dist/MyProfileSettingsPage-6amnCapg.js +0 -641
- package/dist/MyProfileSettingsPage-BJwemoZ8.cjs +0 -85
- package/dist/NavBarWithPicker-CN1Ys9DY.cjs +0 -30
- package/dist/NavBarWithPicker-CX7x_lt2.js +0 -106
- package/dist/NavigationArrow-B7f2rdDx.js +0 -88
- package/dist/NavigationArrow-C78zOj7t.cjs +0 -47
- package/dist/NavigationDots-Bya5VlpL.cjs +0 -15
- package/dist/NavigationDots-CxaOHq97.js +0 -44
- package/dist/NewGlobalMerchantPage-B1vPSWOv.js +0 -543
- package/dist/NewGlobalMerchantPage-C-dVKgTu.cjs +0 -160
- package/dist/NoDataChart-CPk9D-Ke.js +0 -58
- package/dist/NoDataChart-DogAugM-.cjs +0 -26
- package/dist/NoDataTable-B6hgdvZp.js +0 -27
- package/dist/NoDataTable-DhORx-er.cjs +0 -8
- package/dist/NotFoundPage-C71f8L2b.js +0 -71
- package/dist/NotFoundPage-jU7_BM02.cjs +0 -46
- package/dist/NotificationSettingsPage-8rUDFukk.js +0 -541
- package/dist/NotificationSettingsPage-_aMMmvPs.cjs +0 -163
- package/dist/NotificationsListConfig-ZN6eG4nj.js +0 -10
- package/dist/NotificationsListConfig-oR3DmiL8.cjs +0 -1
- package/dist/NotificationsPage-DFwkHOgP.cjs +0 -685
- package/dist/NotificationsPage-DdqHtk6X.js +0 -2664
- package/dist/OpExByVendorPage-Cu3gwevh.cjs +0 -100
- package/dist/OpExByVendorPage-DlD_cLpL.js +0 -1057
- package/dist/PandLWithForecastPage-BmRi4-IT.js +0 -563
- package/dist/PandLWithForecastPage-CMi_uEm4.cjs +0 -107
- package/dist/PaymentAccountSetupBillingAddressSection-BowS9RbN.cjs +0 -106
- package/dist/PaymentAccountSetupBillingAddressSection-_BcMoPZE.js +0 -623
- package/dist/PeoplePage-B5bGfAwJ.js +0 -1994
- package/dist/PeoplePage-DNYlVcp7.cjs +0 -675
- package/dist/PortfolioAllocationFormPage-B2eqiLH7.js +0 -440
- package/dist/PortfolioAllocationFormPage-DbYj665z.cjs +0 -207
- package/dist/PortfolioDetails-CD3PgBap.js +0 -653
- package/dist/PortfolioDetails-Nt_aJEpZ.cjs +0 -218
- package/dist/ProductsCarousel-2P6_hs62.js +0 -309
- package/dist/ProductsCarousel-CJEwFTY_.cjs +0 -142
- package/dist/PromoBaseCards-ByToaAiv.js +0 -356
- package/dist/PromoBaseCards-CBajy7Qh.cjs +0 -218
- package/dist/QBOConnectionDialog-Ci2TqUw3.cjs +0 -51
- package/dist/QBOConnectionDialog-CkKgmv5k.js +0 -115
- package/dist/QBOSetupSection-BNp3JAZ-.cjs +0 -79
- package/dist/QBOSetupSection-Dkp7fd6G.js +0 -167
- package/dist/ReimbursementApprovalRuleDetailPage-BHOTwZRD.cjs +0 -26
- package/dist/ReimbursementApprovalRuleDetailPage-C3GV4joc.js +0 -247
- package/dist/ReimbursementApprovalRulesPage-CGhlng5C.js +0 -410
- package/dist/ReimbursementApprovalRulesPage-ClcjqS8N.cjs +0 -237
- package/dist/ReimbursementDetailPage-Bs5dFFNQ.js +0 -1511
- package/dist/ReimbursementDetailPage-CH3kDvgN.cjs +0 -314
- package/dist/ReimbursementPromoPage-C1bkbEQ4.js +0 -364
- package/dist/ReimbursementPromoPage-D5_pT2VK.cjs +0 -84
- package/dist/ReimbursementSetUpPage-Ch1OG5TE.cjs +0 -140
- package/dist/ReimbursementSetUpPage-wU3mAcAs.js +0 -666
- package/dist/ReimbursementsBulkReviewDrawerPage-CDSp05zr.js +0 -204
- package/dist/ReimbursementsBulkReviewDrawerPage-D4YRYL_2.cjs +0 -1
- package/dist/ReloadCard-CU92RBtW.js +0 -137
- package/dist/ReloadCard-LHG6PzS_.cjs +0 -26
- package/dist/ReloadContainer-B9JtpJEN.cjs +0 -596
- package/dist/ReloadContainer-q5iLh503.js +0 -2144
- package/dist/ReportTableViewSelector-9FwQz4HU.js +0 -679
- package/dist/ReportTableViewSelector-DwV-P5Ny.cjs +0 -150
- package/dist/ReportsPage-CoILNbTA.js +0 -1315
- package/dist/ReportsPage-DkojLE2Q.cjs +0 -121
- package/dist/RevenueChart-Bt5GyRRZ.js +0 -2239
- package/dist/RevenueChart-PtI6xVfZ.cjs +0 -280
- package/dist/ReviewDetailsPage-Bt-TM1MQ.js +0 -1073
- package/dist/ReviewDetailsPage-CE2QD0fW.cjs +0 -290
- package/dist/ReviewOverlay-BulfEI4l.js +0 -299
- package/dist/ReviewOverlay-TaGscRCF.cjs +0 -152
- package/dist/RoleWithToolTip-CxSZI2zj.cjs +0 -22
- package/dist/RoleWithToolTip-CzoMYPtl.js +0 -72
- package/dist/ScheduleDetailsFixedAssetsPage-CXur6QTu.cjs +0 -37
- package/dist/ScheduleDetailsFixedAssetsPage-kLC3aKFl.js +0 -806
- package/dist/ScheduleDetailsPage-B2dWm2LZ.js +0 -726
- package/dist/ScheduleDetailsPage-CsDwRQDa.cjs +0 -37
- package/dist/ScheduleSequenceTable-Cxly5KiS.cjs +0 -324
- package/dist/ScheduleSequenceTable-qSk-rn8y.js +0 -1261
- package/dist/SetUpAccountSection-BMN-vRnv.js +0 -1470
- package/dist/SetUpAccountSection-BdvrSCbE.cjs +0 -378
- package/dist/SetUpDefaultSection-DDZ8ONLb.js +0 -537
- package/dist/SetUpDefaultSection-DzxLi-VE.cjs +0 -187
- package/dist/SignIn-BHNLT0qA.js +0 -1075
- package/dist/SignIn-Cbr_6_UA.cjs +0 -448
- package/dist/SpendManagementListViewPage-Ckefvub1.js +0 -627
- package/dist/SpendManagementListViewPage-DH5mofiJ.cjs +0 -122
- package/dist/SpendManagementPerTabPage-C39TVuBp.cjs +0 -754
- package/dist/SpendManagementPerTabPage-TBb-I5tu.js +0 -2735
- package/dist/SpendManagementSection-B0C4tQ8W.cjs +0 -230
- package/dist/SpendManagementSection-Dr8BR9Jk.js +0 -1043
- package/dist/SpendMgmtSetupAccountSection-D2XtVRok.cjs +0 -206
- package/dist/SpendMgmtSetupAccountSection-DQ1xajyl.js +0 -875
- package/dist/StatementItem-BD2Z11GQ.js +0 -81
- package/dist/StatementItem-DL8ujs-m.cjs +0 -31
- package/dist/StatementsPage-CPVb1E2H.cjs +0 -58
- package/dist/StatementsPage-CyTpWS2V.js +0 -130
- package/dist/StatusSwitcher-CK4EHYaT.js +0 -319
- package/dist/StatusSwitcher-CtDYKfG6.cjs +0 -120
- package/dist/SubTabSwitcher-BxYpbnXf.cjs +0 -58
- package/dist/SubTabSwitcher-Cg9Om7Rz.js +0 -113
- package/dist/SuccessAnimation-Cpvi_EKK.js +0 -52
- package/dist/SuccessAnimation-O12_xleb.cjs +0 -13
- package/dist/SummaryCard-Dj-CG0HL.cjs +0 -1
- package/dist/SummaryCard-kYo7obVe.js +0 -25
- package/dist/TaskDetailPage-CNHhvovG.cjs +0 -775
- package/dist/TaskDetailPage-DiH5pxHu.js +0 -2533
- package/dist/TaskListRow-BngYsFDs.cjs +0 -556
- package/dist/TaskListRow-CjxiDmb7.js +0 -1950
- package/dist/TaskManagementPage-DHVX61t1.cjs +0 -508
- package/dist/TaskManagementPage-WJXKYMGa.js +0 -1935
- package/dist/TimeRangeSwitcher-BrOydOhE.cjs +0 -64
- package/dist/TimeRangeSwitcher-CWItlOkP.js +0 -265
- package/dist/TimeframeSwitcher-Dx0OFpfO.cjs +0 -31
- package/dist/TimeframeSwitcher-DyymROQ3.js +0 -103
- package/dist/TimeframeSwitcherWithToggle-B66AxXnA.cjs +0 -31
- package/dist/TimeframeSwitcherWithToggle-CLJROV-M.js +0 -157
- package/dist/TopExCard-QZWKkb5h.cjs +0 -38
- package/dist/TopExCard-pth8JBrB.js +0 -568
- package/dist/TopExDetailPage-BxFlS-np.cjs +0 -132
- package/dist/TopExDetailPage-CXyQ5zdf.js +0 -318
- package/dist/TransactionDetailPage-BQuRMqqK.cjs +0 -912
- package/dist/TransactionDetailPage-BRdUEvDb.js +0 -5238
- package/dist/TransactionList-BAW-a6bl.cjs +0 -147
- package/dist/TransactionList-BkvKH115.js +0 -558
- package/dist/TransactionListBig-DNtZdBg9.cjs +0 -284
- package/dist/TransactionListBig-b-vDRfes.js +0 -658
- package/dist/TransactionListPage-94VX3Gqt.cjs +0 -35
- package/dist/TransactionListPage-ChnRnP-I.js +0 -144
- package/dist/TransactionVendorDetailPage-BI-zSTuo.cjs +0 -80
- package/dist/TransactionVendorDetailPage-tzYG-Kog.js +0 -425
- package/dist/TransferDrawerPage-B0HNAGQC.js +0 -1435
- package/dist/TransferDrawerPage-z9Yaickj.cjs +0 -362
- package/dist/TreasuryOverviewPage-CH2EKDNY.js +0 -1890
- package/dist/TreasuryOverviewPage-m5cgZxnR.cjs +0 -708
- package/dist/TreasuryPromoPage-Csn6dSvK.js +0 -1122
- package/dist/TreasuryPromoPage-DQNNUV_H.cjs +0 -505
- package/dist/TreasurySetupPage-26frypq2.js +0 -683
- package/dist/TreasurySetupPage-BD9bFSlU.cjs +0 -144
- package/dist/TreasuryStatementsPage-BMBJ9v7N.js +0 -131
- package/dist/TreasuryStatementsPage-D-4qB1hJ.cjs +0 -58
- package/dist/TreasuryTaxLetterPage-RcPkmavx.js +0 -131
- package/dist/TreasuryTaxLetterPage-kA2YiBIl.cjs +0 -58
- package/dist/TreasuryTransferOrReviewPage-CoWEQCdf.cjs +0 -576
- package/dist/TreasuryTransferOrReviewPage-gMSSRTCk.js +0 -1938
- package/dist/TrendChart-ChmKe2Fp.js +0 -333
- package/dist/TrendChart-Dhnw82A6.cjs +0 -16
- package/dist/TrendWithTransactions-B3B_eDUt.js +0 -346
- package/dist/TrendWithTransactions-leZghp80.cjs +0 -116
- package/dist/UncategorizedAccountsMappingPage-BWczhaOh.js +0 -1160
- package/dist/UncategorizedAccountsMappingPage-CwmEzKX6.cjs +0 -244
- package/dist/UnitIntegrationPage-Kc_5mNzw.cjs +0 -67
- package/dist/UnitIntegrationPage-M4kHuGSH.js +0 -405
- package/dist/UploadAdditionalDocumentOverlay-2uoTgADE.js +0 -211
- package/dist/UploadAdditionalDocumentOverlay-B6gKn2kD.cjs +0 -38
- package/dist/Vendor2FAPopup-NCEz2T_a.js +0 -69
- package/dist/Vendor2FAPopup-YFGQSE1I.cjs +0 -1
- package/dist/VendorACHDetailsPage-CG_WD6Wr.js +0 -43
- package/dist/VendorACHDetailsPage-RLzBL72-.cjs +0 -1
- package/dist/VendorDetailPage-DhO-aBMf.cjs +0 -257
- package/dist/VendorDetailPage-_7-tkeNh.js +0 -1236
- package/dist/VendorDomesticWireDetailsPage-BXYjMTrZ.js +0 -53
- package/dist/VendorDomesticWireDetailsPage-C35cHwMo.cjs +0 -1
- package/dist/VendorFiling1099EditablePage-BxEDLwZT.js +0 -842
- package/dist/VendorFiling1099EditablePage-C93nbZCn.cjs +0 -175
- package/dist/VendorFirstReviewPage-BuvRAFu9.cjs +0 -730
- package/dist/VendorFirstReviewPage-LTyO3vzu.js +0 -2748
- package/dist/VendorInternationalWireDetailsPage-DiemzCFP.cjs +0 -152
- package/dist/VendorInternationalWireDetailsPage-ibfkNbKt.js +0 -968
- package/dist/VendorInternationalWireSwiftDetailsPage-BK37dGR_.js +0 -52
- package/dist/VendorInternationalWireSwiftDetailsPage-CsKTp2QG.cjs +0 -1
- package/dist/VendorsAccountsSection-D5NZABRE.js +0 -279
- package/dist/VendorsAccountsSection-ncl8yojX.cjs +0 -68
- package/dist/VerifyDevice-BB8epZF9.js +0 -298
- package/dist/VerifyDevice-CxZIkNUh.cjs +0 -112
- package/dist/VideoPlayer-BhhGFkQy.cjs +0 -77
- package/dist/VideoPlayer-CkjhWG7O.js +0 -169
- package/dist/VideoPopup-C8uSuwl5.js +0 -60
- package/dist/VideoPopup-NuhTUIGZ.cjs +0 -31
- package/dist/WarningsDrawerPage-C2hft8DH.js +0 -228
- package/dist/WarningsDrawerPage-COYKV1Ug.cjs +0 -92
- package/dist/ZeniAccountDetailPage-B_rK1Wp5.js +0 -907
- package/dist/ZeniAccountDetailPage-xvo0zYPV.cjs +0 -300
- package/dist/ZeniAccountListViewPage-B0Xlhzfr.cjs +0 -441
- package/dist/ZeniAccountListViewPage-Du7vYtQB.js +0 -1078
- package/dist/ZeniAccountNavBarPieces-DcW6WtPy.cjs +0 -14
- package/dist/ZeniAccountNavBarPieces-fxx1McpI.js +0 -89
- package/dist/ZeniAccountPromoPage-BXfQGIcj.js +0 -523
- package/dist/ZeniAccountPromoPage-Cm-GmpuB.cjs +0 -184
- package/dist/ZeniAccountSetupPage-CeUExEMH.js +0 -312
- package/dist/ZeniAccountSetupPage-Dnr9a9Yu.cjs +0 -36
- package/dist/ZeniAvatar-3jNeOB9H.cjs +0 -13
- package/dist/ZeniAvatar-jam-I3Ng.js +0 -34
- package/dist/ZeniCopyright-Bp7W5xxE.cjs +0 -1
- package/dist/ZeniCopyright-bbS23XIr.js +0 -9
- package/dist/ZeniDatePicker-DcKBPwg8.cjs +0 -187
- package/dist/ZeniDatePicker-Dw5tQytS.js +0 -386
- package/dist/ZeniTransferAmountSlider-BdwhMN4m.js +0 -215
- package/dist/ZeniTransferAmountSlider-Bput3yg7.cjs +0 -63
- package/dist/analyticsHelper-B3YoCJXa.cjs +0 -1
- package/dist/analyticsHelper-DQXr_0N3.js +0 -65
- package/dist/calculateSize-VAChmt-T.js +0 -22
- package/dist/calculateSize-noA2g7kO.cjs +0 -1
- package/dist/chartTypes-BHFhETDi.js +0 -47
- package/dist/chartTypes-zKHv-TnX.cjs +0 -1
- package/dist/common-C_-ucD6S.cjs +0 -1
- package/dist/common-DlMquC5r.js +0 -22
- package/dist/commonDimensions-BJ4Cka81.cjs +0 -1
- package/dist/commonDimensions-XntDJCoa.js +0 -13
- package/dist/detailCommon-pEIKIa_l.js +0 -124
- package/dist/detailCommon-v7SJ_ZOV.cjs +0 -38
- package/dist/downloadPdf-CbOTo5Lc.js +0 -32
- package/dist/downloadPdf-Dow84b8r.cjs +0 -1
- package/dist/index-D4PXma22.cjs +0 -19239
- package/dist/index-oeut1pIL.js +0 -85948
- package/dist/mapLoadingInProgressToTreeNode-CXI41pov.cjs +0 -1
- package/dist/mapLoadingInProgressToTreeNode-D6877c76.js +0 -25
- package/dist/mapSectionWithAcOnlyToTreeNode-B0IMbpHK.js +0 -388
- package/dist/mapSectionWithAcOnlyToTreeNode-CljJuOKo.cjs +0 -1
- package/dist/mapSpacerToTreeNode-BGyQBtrT.cjs +0 -1
- package/dist/mapSpacerToTreeNode-uHEw-f6A.js +0 -25
- package/dist/mapTimeframeBalancesToTreeNode-B119U8CN.js +0 -24
- package/dist/mapTimeframeBalancesToTreeNode-CqgMxgbC.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode-D6Ky7vGN.js +0 -24
- package/dist/mapTimeframeBalancesToTreeNode-DoLu9zgD.cjs +0 -1
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-BQGJEM9N.cjs +0 -1
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-Dgj5Xl6i.js +0 -32
- package/dist/sectionColor-BWV5mTz-.cjs +0 -1
- package/dist/sectionColor-D5OibLm0.js +0 -32
- package/dist/toCOABalancesWithID-7dhwT5Wq.js +0 -8
- package/dist/toCOABalancesWithID-DdN_K6pD.cjs +0 -1
- package/dist/toChartData-CKnrMCPb.js +0 -76
- package/dist/toChartData-D1Nchmtk.cjs +0 -1
- package/dist/treasuryColorHelper-AuK0MhX9.js +0 -60
- package/dist/treasuryColorHelper-dWB4LxUX.cjs +0 -1
- package/dist/uploadAttachment-COYoBDpI.cjs +0 -286
- package/dist/uploadAttachment-Df6yugWD.js +0 -952
- package/dist/zeniDatePicker.helpers-BsCB9n5f.cjs +0 -1
- package/dist/zeniDatePicker.helpers-C5bwMIGa.js +0 -14
|
@@ -1,865 +0,0 @@
|
|
|
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-D4PXma22.cjs"),mo=require("./InvoiceUploadSection-DAB_VhzO.cjs"),L=require("./types-UmwfBRaY.cjs"),Ho=require("./LabeledCreatableSingleSelectField-AG0St7mA.cjs"),Go=require("./CurrencySelectField-BUdJQbZL.cjs"),Yo=require("./SetUpDefaultSection-DzxLi-VE.cjs"),Jo=require("./BankAccountSection-CG9CacCu.cjs"),Vt=require("./BankAccountWarningSection-CY0ZeBCE.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:"reimbursement"})}),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:"reimbursement"}),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;
|