@zeniai/web-components 3.16.33 → 3.16.34
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-BWkk6RUZ.cjs +21 -0
- package/dist/ACHDetailsPage-Dh-9B-tS.js +160 -0
- package/dist/AIPerformancePage-BXVWoVop.js +1333 -0
- package/dist/AIPerformancePage-cjjZ9J6K.cjs +530 -0
- package/dist/AccountInfoPage-BGOapuOS.cjs +18 -0
- package/dist/AccountInfoPage-DQaAqqov.js +78 -0
- package/dist/AccountInfoPageContent-CpnCTuuB.js +428 -0
- package/dist/AccountInfoPageContent-Da4vssWh.cjs +149 -0
- package/dist/AccountLockedInfoModal-BJ1baLPA.cjs +59 -0
- package/dist/AccountLockedInfoModal-DkfP7Aw7.js +125 -0
- package/dist/AccountReconDetailsDrawerPage-ClvuNS1B.cjs +239 -0
- package/dist/AccountReconDetailsDrawerPage-D4wc6twC.js +686 -0
- package/dist/AccountRow-CrG8EbbJ.js +1009 -0
- package/dist/AccountRow-Dk33E55Q.cjs +298 -0
- package/dist/AccountsPromoCardStack-BJPtx2Pe.js +664 -0
- package/dist/AccountsPromoCardStack-jiIkEket.cjs +207 -0
- package/dist/AddAddressForCardDrawer-BMxak29N.cjs +6 -0
- package/dist/AddAddressForCardDrawer-DdNhdiuv.js +82 -0
- package/dist/AddToWalletPage-BF_Uu7XS.cjs +344 -0
- package/dist/AddToWalletPage-DhYdz5U2.js +643 -0
- package/dist/AgingReportsPage-D42GrcOf.js +827 -0
- package/dist/AgingReportsPage-DtvSH_I0.cjs +79 -0
- package/dist/AllUserItems-CqXeIeeA.cjs +192 -0
- package/dist/AllUserItems-vKh3Mm2X.js +979 -0
- package/dist/ApAgingDetailPage-BZucbLuJ.cjs +46 -0
- package/dist/ApAgingDetailPage-CwPtOern.js +239 -0
- package/dist/AppBasePage-DOG_AFC0.js +120 -0
- package/dist/AppBasePage-x7UgAh4Z.cjs +71 -0
- package/dist/AppDrawerContent-BxOuACFq.js +375 -0
- package/dist/AppDrawerContent-D-On0dLr.cjs +91 -0
- package/dist/ApprovalRulesSettingsPage-C_Op8xKo.js +146 -0
- package/dist/ApprovalRulesSettingsPage-D6TZ8w2u.cjs +47 -0
- package/dist/ArAgingChart-CHpAQxiv.cjs +24 -0
- package/dist/ArAgingChart-DXEYzHyG.js +529 -0
- package/dist/ArAgingDetailPage-Bc-KHlzV.js +243 -0
- package/dist/ArAgingDetailPage-DiCn32ju.cjs +46 -0
- package/dist/AttachmentView-CwwGCrQN.cjs +101 -0
- package/dist/AttachmentView-D7RHXhJ5.js +260 -0
- package/dist/BankAccountSection-DBV6BbI2.cjs +79 -0
- package/dist/BankAccountSection-DC6iSj4R.js +398 -0
- package/dist/BankAccountWarningSection-2lKoI5Zs.js +110 -0
- package/dist/BankAccountWarningSection-OXrkCCpS.cjs +51 -0
- package/dist/BankConnectionsSettingsPage-C8yHSddE.js +1695 -0
- package/dist/BankConnectionsSettingsPage-Dq5EtxwN.cjs +425 -0
- package/dist/BillDetailPage-Bq83faTr.cjs +266 -0
- package/dist/BillDetailPage-JnsrnTiI.js +1798 -0
- package/dist/BillPayApprovalRuleDetailPage-9jX6u7G3.cjs +27 -0
- package/dist/BillPayApprovalRuleDetailPage-BUZRTI5I.js +247 -0
- package/dist/BillPayApprovalRulesPage-C6KyEj81.cjs +235 -0
- package/dist/BillPayApprovalRulesPage-CLTcaidy.js +415 -0
- package/dist/BillPayPromoPage-B0qUmHm9.cjs +84 -0
- package/dist/BillPayPromoPage-CkHwMvaQ.js +293 -0
- package/dist/BillPaySetUpPage-B4HQBzYM.cjs +42 -0
- package/dist/BillPaySetUpPage-zJq3HkEC.js +412 -0
- package/dist/BillingSettingsPage-CrLZjt1Q.cjs +44 -0
- package/dist/BillingSettingsPage-DQKc4f6L.js +336 -0
- package/dist/BillsBulkReviewDrawerPage-CG1nBbTy.cjs +1 -0
- package/dist/BillsBulkReviewDrawerPage-SpuBHxBw.js +216 -0
- package/dist/BoxItem-Boi9l0k6.cjs +53 -0
- package/dist/BoxItem-Di-YXnG-.js +118 -0
- package/dist/BusinessVerificationPage-7EvtWjc2.js +714 -0
- package/dist/BusinessVerificationPage-BL4zxEoq.cjs +138 -0
- package/dist/BusyIndication-Cw9yBgw7.js +18 -0
- package/dist/BusyIndication-D6cPVJv4.cjs +9 -0
- package/dist/CardNumberSubText-BU99XDdA.cjs +21 -0
- package/dist/CardNumberSubText-DzFn3_PZ.js +57 -0
- package/dist/CashbackDetailPage-CjQngqJh.js +824 -0
- package/dist/CashbackDetailPage-L1dJDPmp.cjs +285 -0
- package/dist/ChargeCardDetailPage-RIKW8QpG.js +5762 -0
- package/dist/ChargeCardDetailPage-r6R8b0sb.cjs +1813 -0
- package/dist/ChargeCardListPage-BLscpHh2.js +1775 -0
- package/dist/ChargeCardListPage-C5w1HYEK.cjs +406 -0
- package/dist/ChargeCardListTable-Bomx4jTt.cjs +711 -0
- package/dist/ChargeCardListTable-CWs0yRb7.js +2849 -0
- package/dist/ChargeCardPromoPage-CdXTqAPM.cjs +222 -0
- package/dist/ChargeCardPromoPage-DcSxmF13.js +806 -0
- package/dist/ChargeCardSetupPage-B1kE6gQu.cjs +36 -0
- package/dist/ChargeCardSetupPage-D7KYTRhl.js +362 -0
- package/dist/ChargeCardStatementsPage-CgGr-kmF.cjs +60 -0
- package/dist/ChargeCardStatementsPage-Dcp15xx_.js +243 -0
- package/dist/ChargeCardUtils-CCCxZqkT.js +102 -0
- package/dist/ChargeCardUtils-DC8hHzM3.cjs +1 -0
- package/dist/ChaseOverlay-CjaSRmjm.cjs +170 -0
- package/dist/ChaseOverlay-Nom4V5v9.js +402 -0
- package/dist/CheckDepositDrawerPage-BtZYZsG7.cjs +206 -0
- package/dist/CheckDepositDrawerPage-CtWXEXK-.js +726 -0
- package/dist/CollapsableReportTable-CfzLsUMN.js +11743 -0
- package/dist/CollapsableReportTable-DgdfZ65b.cjs +2932 -0
- package/dist/CompanyOfficerDetailsSection-BQjsf14C.cjs +260 -0
- package/dist/CompanyOfficerDetailsSection-CuRcAM-3.js +1633 -0
- package/dist/CompanyPassportCard-D23lD2Qq.js +146 -0
- package/dist/CompanyPassportCard-Hni3mXeh.cjs +42 -0
- package/dist/CompanyPassportPage-D7L-n4PK.cjs +574 -0
- package/dist/CompanyPassportPage-tteVIvVs.js +2160 -0
- package/dist/CompleteProfile-BkpO098y.js +301 -0
- package/dist/CompleteProfile-D1CROcHZ.cjs +52 -0
- package/dist/ConfettiBurst-DCH6TXJf.cjs +1 -0
- package/dist/ConfettiBurst-xzxQ6c8X.js +37 -0
- package/dist/CreateOrEditVendorPage-C4mH5yOs.cjs +281 -0
- package/dist/CreateOrEditVendorPage-fv_bmvfi.js +755 -0
- package/dist/CreditCardPaymentDrawerPage-7fnYwExb.js +1171 -0
- package/dist/CreditCardPaymentDrawerPage-EC6pBJPB.cjs +224 -0
- package/dist/CreditCardPaymentPlgSection-DB0wdHyW.cjs +78 -0
- package/dist/CreditCardPaymentPlgSection-DthqKiKn.js +196 -0
- package/dist/CurrencySelectField-DEyNfsua.cjs +139 -0
- package/dist/CurrencySelectField-DIdZl5cW.js +348 -0
- package/dist/CustomerOnboardingActivationPage-JhAaD-FC.js +143 -0
- package/dist/CustomerOnboardingActivationPage-PuXbsJol.cjs +88 -0
- package/dist/CustomerOnboardingContainerPage-BOI3JIGP.js +7 -0
- package/dist/CustomerOnboardingContainerPage-C-0u8tKM.cjs +1 -0
- package/dist/CustomerOnboardingDetailPageSkeleton-DRCNFlmb.cjs +162 -0
- package/dist/CustomerOnboardingDetailPageSkeleton-D__ymliT.js +434 -0
- package/dist/CustomerOnboardingNoStepsPage-BOnVc1Cw.cjs +66 -0
- package/dist/CustomerOnboardingNoStepsPage-CVere1yI.js +425 -0
- package/dist/CustomerOnboardingPage-WNQCQJ5n.js +1060 -0
- package/dist/CustomerOnboardingPage-lFVdWPhd.cjs +107 -0
- package/dist/CustomerOnboardingProductSuitePage-CAJfbnLK.js +349 -0
- package/dist/CustomerOnboardingProductSuitePage-DUvTCWng.cjs +202 -0
- package/dist/Dashboard-D0UMJmya.js +5527 -0
- package/dist/Dashboard-n_Nn4gLX.cjs +1551 -0
- package/dist/DashboardReportPage-BCFw6ao6.js +2536 -0
- package/dist/DashboardReportPage-D_COx4mh.cjs +371 -0
- package/dist/DashboardSidebarBackgroundAnimation-DHkCvHUA.js +50 -0
- package/dist/DashboardSidebarBackgroundAnimation-DIBf4hxa.cjs +12 -0
- package/dist/DepositAccTransactionItem-DUvoYEsh.cjs +76 -0
- package/dist/DepositAccTransactionItem-d34JxwvA.js +112 -0
- package/dist/DepositAccTransactionListPage-D7gDhDY8.js +152 -0
- package/dist/DepositAccTransactionListPage-hLpnDqjC.cjs +66 -0
- package/dist/DomesticWireDetailsPage-DzxwWirW.cjs +21 -0
- package/dist/DomesticWireDetailsPage-OrNehTKb.js +189 -0
- package/dist/DownloadOverlay-DaCUudXP.js +2148 -0
- package/dist/DownloadOverlay-DeZS6zya.cjs +439 -0
- package/dist/DrawerPage-CmSHpc-z.js +208 -0
- package/dist/DrawerPage-DTau2h3j.cjs +118 -0
- package/dist/EditPeoplePage-8KV3IPex.js +392 -0
- package/dist/EditPeoplePage-CJkP2dFd.cjs +55 -0
- package/dist/EditReimbursementDetailPage-BIiJxP5z.cjs +865 -0
- package/dist/EditReimbursementDetailPage-CeB1Zddt.js +4461 -0
- package/dist/EmptySearchResults-BEF1fPhr.js +70 -0
- package/dist/EmptySearchResults-Cn92v39R.cjs +46 -0
- package/dist/EntityDetailPage-0gSd2S2a.js +82 -0
- package/dist/EntityDetailPage-bfiTYSwB.cjs +18 -0
- package/dist/EntitySummarySection-CDqJFGbo.js +530 -0
- package/dist/EntitySummarySection-D0sutiMD.cjs +149 -0
- package/dist/ExpenseAutomationOverviewPage-DRn3hqt9.cjs +228 -0
- package/dist/ExpenseAutomationOverviewPage-m3uEsbuA.js +673 -0
- package/dist/ExpenseAutomationPage-41S7xtG5.js +11487 -0
- package/dist/ExpenseAutomationPage-CD9v4Gfb.cjs +1650 -0
- package/dist/ExpressPayPage-Cs_g6535.cjs +168 -0
- package/dist/ExpressPayPage-D-7iK8kb.js +1136 -0
- package/dist/FeaturePreviewPage-C7DVH8Lo.cjs +11 -0
- package/dist/FeaturePreviewPage-CGX75zlc.js +114 -0
- package/dist/FollowStepsSection-OmBMrvQp.cjs +390 -0
- package/dist/FollowStepsSection-SyRYm6Xk.js +1313 -0
- package/dist/GlobalReviewListPage-BRqJ-aMN.cjs +291 -0
- package/dist/GlobalReviewListPage-cFCPjHNY.js +1674 -0
- package/dist/HelpButton-BGB7GelM.cjs +28 -0
- package/dist/HelpButton-BaJhgb0U.js +81 -0
- package/dist/InformationCardStack-CKwUXzzO.js +219 -0
- package/dist/InformationCardStack-VHEoqaum.cjs +31 -0
- package/dist/InsightsCardStack-DgbzOi4U.js +305 -0
- package/dist/InsightsCardStack-TvkIiaPF.cjs +79 -0
- package/dist/InsightsSection-Baicql5I.js +97 -0
- package/dist/InsightsSection-DzR83xCA.cjs +27 -0
- package/dist/IntegrationsSettingsPage-BjJ1GxVh.cjs +57 -0
- package/dist/IntegrationsSettingsPage-F3YIomsV.js +137 -0
- package/dist/InternationalWireSwiftDetailsPage-Bk3_uQsM.js +753 -0
- package/dist/InternationalWireSwiftDetailsPage-Cg4FmIDR.cjs +171 -0
- package/dist/InternationalWireVerificationPage-DChr_HQh.cjs +292 -0
- package/dist/InternationalWireVerificationPage-e30e4EN3.js +877 -0
- package/dist/InviteFormPage--XxaRUk9.js +873 -0
- package/dist/InviteFormPage-D2Wwf4pu.cjs +312 -0
- package/dist/InvitePageListView-BMxYu8cb.cjs +739 -0
- package/dist/InvitePageListView-BxqSNNLQ.js +1764 -0
- package/dist/InvitePeoplePage-B6rPzram.cjs +12 -0
- package/dist/InvitePeoplePage-DH3kZeNR.js +286 -0
- package/dist/InvoiceUploadSection-BDkyRdqd.cjs +140 -0
- package/dist/InvoiceUploadSection-D-8BRSZh.js +465 -0
- package/dist/IssueChargeCardPage-Cx-mINDz.js +2875 -0
- package/dist/IssueChargeCardPage-TDdR19UX.cjs +532 -0
- package/dist/LabeledAddressValue-CBCPqHGX.js +115 -0
- package/dist/LabeledAddressValue-DYTyir5z.cjs +49 -0
- package/dist/LabeledAddressValueField-CMBF_lk1.js +130 -0
- package/dist/LabeledAddressValueField-QTSWVko5.cjs +45 -0
- package/dist/LabeledControlledCheckBoxField-B9oQXHhJ.cjs +16 -0
- package/dist/LabeledControlledCheckBoxField-DaiUqmLm.js +73 -0
- package/dist/LabeledCreatableSingleSelectField-DnywMYhK.js +515 -0
- package/dist/LabeledCreatableSingleSelectField-T3Zmg3Vq.cjs +204 -0
- package/dist/LabeledDocumentField-BYSLbus8.cjs +41 -0
- package/dist/LabeledDocumentField-M2THEAOY.js +147 -0
- package/dist/LabeledDropDownFormattedTextField-3XtnFSSO.js +163 -0
- package/dist/LabeledDropDownFormattedTextField-A6bCwEij.cjs +59 -0
- package/dist/LabeledEmailInputField-9j8n4Y0J.js +425 -0
- package/dist/LabeledEmailInputField-BWoK6MHb.cjs +182 -0
- package/dist/LabeledItemWithButton-DlC5nSEi.js +74 -0
- package/dist/LabeledItemWithButton-EHYrrZWO.cjs +21 -0
- package/dist/LabeledNameField--F0g081x.cjs +141 -0
- package/dist/LabeledNameField-D72z4JOu.js +293 -0
- package/dist/LabeledSingleSelectField-DkvHWjwF.js +372 -0
- package/dist/LabeledSingleSelectField-DyCaOJHI.cjs +136 -0
- package/dist/LabeledSingleSelectWithoutClearableField-XlMXV4GL.js +103 -0
- package/dist/LabeledSingleSelectWithoutClearableField-adJKIiYd.cjs +38 -0
- package/dist/LabeledText-CtzLXkog.cjs +42 -0
- package/dist/LabeledText-imTCum1u.js +103 -0
- package/dist/LabeledUserSingleSelectWithSubtitlesField-CzCtjFr_.cjs +229 -0
- package/dist/LabeledUserSingleSelectWithSubtitlesField-DlOa-ACw.js +572 -0
- package/dist/LabeledZeniRolesDropDownField-CZJqLE8m.cjs +297 -0
- package/dist/LabeledZeniRolesDropDownField-XfcFfufN.js +975 -0
- package/dist/LinkJETransactionPage-B9eOkkRL.js +406 -0
- package/dist/LinkJETransactionPage-Cf142tUz.cjs +98 -0
- package/dist/LockCardPage-Ct7vGNS4.js +1880 -0
- package/dist/LockCardPage-D7p8rxO4.cjs +574 -0
- package/dist/LowBalancePopup-DDO9XAGB.cjs +34 -0
- package/dist/LowBalancePopup-YZDhdF8c.js +219 -0
- package/dist/MagicLinkACHDetailsPage-BN-A0Efu.js +39 -0
- package/dist/MagicLinkACHDetailsPage-Bii-cTen.cjs +1 -0
- package/dist/MagicLinkDomesticWireDetailsPage-DPApHz5V.cjs +1 -0
- package/dist/MagicLinkDomesticWireDetailsPage-dzeckdoJ.js +44 -0
- package/dist/MagicLinkInternationalWireDetailsPage-CKmC92G4.cjs +1 -0
- package/dist/MagicLinkInternationalWireDetailsPage-CYqXDRUn.js +43 -0
- package/dist/MagicLinkSuccessPage-CcRWGb2b.cjs +31 -0
- package/dist/MagicLinkSuccessPage-DC24iw6B.js +59 -0
- package/dist/MagicLinkTitleSection-BU4mKN-V.cjs +17 -0
- package/dist/MagicLinkTitleSection-BccVjN_n.js +40 -0
- package/dist/MailingDetailsSection-BP6jyRvT.cjs +21 -0
- package/dist/MailingDetailsSection-BfdZmdwA.js +74 -0
- package/dist/MatchingOperatorDropdown-BYRzVmJz.cjs +130 -0
- package/dist/MatchingOperatorDropdown-zVUSAsHD.js +572 -0
- package/dist/MeetingCalenderPopup-YzTE9xU9.js +60 -0
- package/dist/MeetingCalenderPopup-eTEOlNS3.cjs +26 -0
- package/dist/Menu-CBlxmZjQ.cjs +17 -0
- package/dist/Menu-EG5GC1HM.js +110 -0
- package/dist/MoreMenuButton-BWaCETAQ.js +569 -0
- package/dist/MoreMenuButton-CmXEMlcg.cjs +167 -0
- package/dist/MyBankConnectionsSettingsPage-7OIyFRXi.cjs +110 -0
- package/dist/MyBankConnectionsSettingsPage-DvbBOAdm.js +297 -0
- package/dist/MyPendingActivationChargeCardListPage-BeNJP6gE.js +168 -0
- package/dist/MyPendingActivationChargeCardListPage-iWdZh3R_.cjs +6 -0
- package/dist/MyProfileSettingsPage-BQ66s9Ne.cjs +85 -0
- package/dist/MyProfileSettingsPage-BRxBJZKl.js +641 -0
- package/dist/NavBarWithPicker-CXbOG33s.cjs +30 -0
- package/dist/NavBarWithPicker-DcoxoePr.js +106 -0
- package/dist/NavigationArrow-B8mAmEJR.js +88 -0
- package/dist/NavigationArrow-vENdbN0g.cjs +47 -0
- package/dist/NavigationDots-BFx4LPfU.cjs +15 -0
- package/dist/NavigationDots-DWLQ8EKT.js +44 -0
- package/dist/NewGlobalMerchantPage-8gyxcrrO.cjs +160 -0
- package/dist/NewGlobalMerchantPage-BB_toJEW.js +543 -0
- package/dist/NoDataChart-BuWkhFal.js +58 -0
- package/dist/NoDataChart-DJ0CA3ly.cjs +26 -0
- package/dist/NoDataTable-BUdL3yV2.js +27 -0
- package/dist/NoDataTable-qDKGiUpw.cjs +8 -0
- package/dist/NotFoundPage-DIKyx0G7.js +71 -0
- package/dist/NotFoundPage-yh2ZNu00.cjs +46 -0
- package/dist/NotificationSettingsPage-BQKqMo0w.js +541 -0
- package/dist/NotificationSettingsPage-CiR6UUtH.cjs +163 -0
- package/dist/NotificationsListConfig-BGwXH_Lq.cjs +1 -0
- package/dist/NotificationsListConfig-DY24LAfq.js +10 -0
- package/dist/NotificationsPage-Acw0AkgY.cjs +685 -0
- package/dist/NotificationsPage-CcSiCmhM.js +2664 -0
- package/dist/OpExByVendorPage-BFAF6ekU.cjs +100 -0
- package/dist/OpExByVendorPage-BOD4I42j.js +1057 -0
- package/dist/PandLWithForecastPage-B6uVGfdU.cjs +107 -0
- package/dist/PandLWithForecastPage-DR0hOvcK.js +563 -0
- package/dist/PaymentAccountSetupBillingAddressSection-BRiWKc9Y.cjs +106 -0
- package/dist/PaymentAccountSetupBillingAddressSection-aY0Kwk1v.js +623 -0
- package/dist/PeoplePage-CgbpQTzF.js +1994 -0
- package/dist/PeoplePage-CyRoSb-C.cjs +675 -0
- package/dist/PortfolioAllocationFormPage-BfSR1q8r.cjs +207 -0
- package/dist/PortfolioAllocationFormPage-DyQS9mGR.js +440 -0
- package/dist/PortfolioDetails-B7qEltGm.cjs +218 -0
- package/dist/PortfolioDetails-YqgY6irK.js +653 -0
- package/dist/ProductsCarousel-D0vNX0Lg.js +309 -0
- package/dist/ProductsCarousel-ebQ27uGo.cjs +142 -0
- package/dist/PromoBaseCards-9AHeVJwp.cjs +218 -0
- package/dist/PromoBaseCards-D7B2WP4y.js +356 -0
- package/dist/QBOConnectionDialog-BM3Ei-Uy.js +115 -0
- package/dist/QBOConnectionDialog-Cr9nLyVO.cjs +51 -0
- package/dist/QBOSetupSection-Bw_jvLen.cjs +79 -0
- package/dist/QBOSetupSection-C1C9oOYp.js +167 -0
- package/dist/ReimbursementApprovalRuleDetailPage-2NCQPRtH.js +247 -0
- package/dist/ReimbursementApprovalRuleDetailPage-DZ4D59T3.cjs +26 -0
- package/dist/ReimbursementApprovalRulesPage-D0pavqdu.cjs +237 -0
- package/dist/ReimbursementApprovalRulesPage-D7M5LyNE.js +410 -0
- package/dist/ReimbursementDetailPage-CFvkeM65.js +1511 -0
- package/dist/ReimbursementDetailPage-Ks_LbPne.cjs +314 -0
- package/dist/ReimbursementPromoPage-B9Bt1DI9.cjs +84 -0
- package/dist/ReimbursementPromoPage-BiajhsSb.js +364 -0
- package/dist/ReimbursementSetUpPage--vFw3Coy.js +666 -0
- package/dist/ReimbursementSetUpPage-XmeHSz5z.cjs +140 -0
- package/dist/ReimbursementsBulkReviewDrawerPage-40sklAAn.js +204 -0
- package/dist/ReimbursementsBulkReviewDrawerPage-R8uQMBtj.cjs +1 -0
- package/dist/ReloadCard-DHXj7tDB.js +137 -0
- package/dist/ReloadCard-Do12F_yd.cjs +26 -0
- package/dist/ReloadContainer-DSGsU3dr.cjs +596 -0
- package/dist/ReloadContainer-cUACN4PL.js +2144 -0
- package/dist/ReportTableViewSelector-BReW2rBY.js +679 -0
- package/dist/ReportTableViewSelector-C9ItZPvP.cjs +150 -0
- package/dist/ReportsPage-8dRHTbBF.js +1315 -0
- package/dist/ReportsPage-DZiyKMZ3.cjs +121 -0
- package/dist/RevenueChart-BrJtZTP6.js +2239 -0
- package/dist/RevenueChart-CBMqu2-M.cjs +280 -0
- package/dist/ReviewDetailsPage-BYKWuqrn.js +1073 -0
- package/dist/ReviewDetailsPage-DBAkFDok.cjs +290 -0
- package/dist/ReviewOverlay-CKrV5TkR.cjs +152 -0
- package/dist/ReviewOverlay-DejTxf0F.js +299 -0
- package/dist/RoleWithToolTip-BBJEUvEA.cjs +22 -0
- package/dist/RoleWithToolTip-SDWCAZAR.js +72 -0
- package/dist/ScheduleDetailsFixedAssetsPage-DmrofLij.js +806 -0
- package/dist/ScheduleDetailsFixedAssetsPage-adNv5uRz.cjs +37 -0
- package/dist/ScheduleDetailsPage-BNTSLmuj.cjs +37 -0
- package/dist/ScheduleDetailsPage-ChMFxnSM.js +726 -0
- package/dist/ScheduleSequenceTable-Bu7Xzs_c.cjs +324 -0
- package/dist/ScheduleSequenceTable-D8Xld3H6.js +1261 -0
- package/dist/SetUpAccountSection-D3cMHFo9.js +1470 -0
- package/dist/SetUpAccountSection-ojhirF_Z.cjs +378 -0
- package/dist/SetUpDefaultSection-CymZOLfl.cjs +187 -0
- package/dist/SetUpDefaultSection-DAYmX0ZV.js +537 -0
- package/dist/SignIn-44novL5w.js +1075 -0
- package/dist/SignIn-Bbq1Ersf.cjs +448 -0
- package/dist/SpendManagementListViewPage-DPbYKXjo.cjs +122 -0
- package/dist/SpendManagementListViewPage-DSoYdq_m.js +627 -0
- package/dist/SpendManagementPerTabPage-B78XKEd3.cjs +754 -0
- package/dist/SpendManagementPerTabPage-xTIW-X7N.js +2735 -0
- package/dist/SpendManagementSection-CJlsHGkm.js +1043 -0
- package/dist/SpendManagementSection-VJfcRxC-.cjs +230 -0
- package/dist/SpendMgmtSetupAccountSection-DqaxCSoP.cjs +206 -0
- package/dist/SpendMgmtSetupAccountSection-S-3M9Tex.js +875 -0
- package/dist/StatementItem-CpLfY99I.cjs +31 -0
- package/dist/StatementItem-DX6-flmJ.js +81 -0
- package/dist/StatementsPage-D91MtJPe.cjs +58 -0
- package/dist/StatementsPage-DCKr_4XZ.js +130 -0
- package/dist/StatusSwitcher-2gXg9BBb.cjs +120 -0
- package/dist/StatusSwitcher-C6SduIx3.js +319 -0
- package/dist/SubTabSwitcher-DxJkEm7Q.cjs +58 -0
- package/dist/SubTabSwitcher-W3Ntabka.js +113 -0
- package/dist/SuccessAnimation-mmgHZ64j.cjs +13 -0
- package/dist/SuccessAnimation-q3kCz3fT.js +52 -0
- package/dist/SummaryCard-CSi_6X0o.cjs +1 -0
- package/dist/SummaryCard-z1Y1Z21L.js +25 -0
- package/dist/TaskDetailPage-3JD4dBEx.cjs +775 -0
- package/dist/TaskDetailPage-D7AoG_Kq.js +2533 -0
- package/dist/TaskListRow-B3dRw53R.cjs +556 -0
- package/dist/TaskListRow-DArVIilM.js +1950 -0
- package/dist/TaskManagementPage-BZ0UnFM8.cjs +508 -0
- package/dist/TaskManagementPage-Dr7_IfHc.js +1935 -0
- package/dist/TimeRangeSwitcher-CrkB8n_m.js +265 -0
- package/dist/TimeRangeSwitcher-D9OsJMJg.cjs +64 -0
- package/dist/TimeframeSwitcher-CMpQebr-.js +103 -0
- package/dist/TimeframeSwitcher-D4pIq6FR.cjs +31 -0
- package/dist/TimeframeSwitcherWithToggle-DEYUZtYJ.cjs +31 -0
- package/dist/TimeframeSwitcherWithToggle-MSmSK_yv.js +157 -0
- package/dist/TopExCard-BVPIs-uJ.cjs +38 -0
- package/dist/TopExCard-VQ8z2vI8.js +568 -0
- package/dist/TopExDetailPage-BD4pBlKj.cjs +132 -0
- package/dist/TopExDetailPage-DpnzP9SJ.js +318 -0
- package/dist/TransactionDetailPage-CYUaKiqB.js +5238 -0
- package/dist/TransactionDetailPage-D2RB6CVI.cjs +912 -0
- package/dist/TransactionList-7td4LLik.cjs +147 -0
- package/dist/TransactionList-BingIVb_.js +558 -0
- package/dist/TransactionListBig-DmwmrNvk.cjs +284 -0
- package/dist/TransactionListBig-u-0Ia9Ua.js +658 -0
- package/dist/TransactionListPage-Bm_O4r_M.cjs +35 -0
- package/dist/TransactionListPage-CYnEa2xe.js +144 -0
- package/dist/TransactionVendorDetailPage-BFkUirn2.js +425 -0
- package/dist/TransactionVendorDetailPage-DmEDQmoN.cjs +80 -0
- package/dist/TransferDrawerPage-CX9GJ8vi.js +1435 -0
- package/dist/TransferDrawerPage-CgTz3xsj.cjs +362 -0
- package/dist/TreasuryOverviewPage-BsUrQEzu.cjs +708 -0
- package/dist/TreasuryOverviewPage-C9I-VnRo.js +1890 -0
- package/dist/TreasuryPromoPage-CYS2YGaR.cjs +505 -0
- package/dist/TreasuryPromoPage-DUScnOPQ.js +1122 -0
- package/dist/TreasurySetupPage-DDV1AIyd.cjs +144 -0
- package/dist/TreasurySetupPage-DzkvNyQm.js +682 -0
- package/dist/TreasuryStatementsPage-BipG_ii3.js +131 -0
- package/dist/TreasuryStatementsPage-CWCis-Bh.cjs +58 -0
- package/dist/TreasuryTaxLetterPage-DCrdgOsu.js +131 -0
- package/dist/TreasuryTaxLetterPage-Dr03kjOB.cjs +58 -0
- package/dist/TreasuryTransferOrReviewPage-DO9VVbX6.js +1938 -0
- package/dist/TreasuryTransferOrReviewPage-DkgXCaxv.cjs +576 -0
- package/dist/TrendChart-7zjlYO_K.cjs +16 -0
- package/dist/TrendChart-BpsoQkO0.js +333 -0
- package/dist/TrendWithTransactions-Bva1zM4j.cjs +116 -0
- package/dist/TrendWithTransactions-D61X4lVu.js +346 -0
- package/dist/UncategorizedAccountsMappingPage-CGGKjJaZ.js +1160 -0
- package/dist/UncategorizedAccountsMappingPage-DjxhjifP.cjs +244 -0
- package/dist/UnitIntegrationPage-CtZ777Ph.cjs +67 -0
- package/dist/UnitIntegrationPage-cQpbU9rB.js +405 -0
- package/dist/UploadAdditionalDocumentOverlay-BfB2ULiU.cjs +38 -0
- package/dist/UploadAdditionalDocumentOverlay-jDJV9q65.js +211 -0
- package/dist/Vendor2FAPopup-B3ecYMnd.js +69 -0
- package/dist/Vendor2FAPopup-Cc2YoIuU.cjs +1 -0
- package/dist/VendorACHDetailsPage-CyyzrOmU.cjs +1 -0
- package/dist/VendorACHDetailsPage-DgHf5ptD.js +43 -0
- package/dist/VendorDetailPage-Bi8U23Yu.js +1236 -0
- package/dist/VendorDetailPage-fWPZIEsb.cjs +257 -0
- package/dist/VendorDomesticWireDetailsPage-1NJj7GtJ.js +53 -0
- package/dist/VendorDomesticWireDetailsPage-CF77npv6.cjs +1 -0
- package/dist/VendorFiling1099EditablePage-BRytcxuo.js +842 -0
- package/dist/VendorFiling1099EditablePage-C5IQfdIe.cjs +175 -0
- package/dist/VendorFirstReviewPage-C7AldYSx.cjs +730 -0
- package/dist/VendorFirstReviewPage-wW6F5Vyp.js +2748 -0
- package/dist/VendorInternationalWireDetailsPage-Bc1eFo1x.cjs +152 -0
- package/dist/VendorInternationalWireDetailsPage-BvOCNJjZ.js +968 -0
- package/dist/VendorInternationalWireSwiftDetailsPage-DfyLskrB.js +52 -0
- package/dist/VendorInternationalWireSwiftDetailsPage-zfGZjg3g.cjs +1 -0
- package/dist/VendorsAccountsSection-BgZ0EsGs.js +279 -0
- package/dist/VendorsAccountsSection-C0d0OSGg.cjs +68 -0
- package/dist/VerifyDevice-CQANP69N.cjs +112 -0
- package/dist/VerifyDevice-Djjoi0YZ.js +298 -0
- package/dist/VideoPlayer-BtNb3Nb5.cjs +77 -0
- package/dist/VideoPlayer-DGYFB2YS.js +169 -0
- package/dist/VideoPopup-B0Y5lvba.cjs +31 -0
- package/dist/VideoPopup-DJk2FZWR.js +60 -0
- package/dist/WarningsDrawerPage-CD08YNAB.js +228 -0
- package/dist/WarningsDrawerPage-DijjKlaU.cjs +92 -0
- package/dist/ZeniAccountDetailPage-BbzRooF0.cjs +300 -0
- package/dist/ZeniAccountDetailPage-BymuJnpr.js +907 -0
- package/dist/ZeniAccountListViewPage-CSf3_-PQ.js +1078 -0
- package/dist/ZeniAccountListViewPage-D_gbfpJP.cjs +441 -0
- package/dist/ZeniAccountNavBarPieces-DdAxPEwU.cjs +14 -0
- package/dist/ZeniAccountNavBarPieces-F42ZriYE.js +89 -0
- package/dist/ZeniAccountPromoPage-BtKkiVcd.cjs +184 -0
- package/dist/ZeniAccountPromoPage-VVCQ_UDm.js +523 -0
- package/dist/ZeniAccountSetupPage-8BzSbp-U.cjs +36 -0
- package/dist/ZeniAccountSetupPage-BOwiGnM-.js +312 -0
- package/dist/ZeniAvatar-B8vUwPS7.js +34 -0
- package/dist/ZeniAvatar-BDhKE2jX.cjs +13 -0
- package/dist/ZeniCopyright-DkcWuMgx.js +9 -0
- package/dist/ZeniCopyright-cVQ7cvkM.cjs +1 -0
- package/dist/ZeniDatePicker-BcUByh5Q.cjs +187 -0
- package/dist/ZeniDatePicker-Dq_2fOU8.js +386 -0
- package/dist/ZeniTransferAmountSlider-CSjm9-nW.cjs +63 -0
- package/dist/ZeniTransferAmountSlider-tcmR5JIX.js +215 -0
- package/dist/analyticsHelper-C9rlHFL7.cjs +1 -0
- package/dist/analyticsHelper-DgQ9dYv6.js +65 -0
- package/dist/calculateSize-CwdOtU8h.js +22 -0
- package/dist/calculateSize-stgoG0AM.cjs +1 -0
- package/dist/chartTypes-BkGKZtjd.js +47 -0
- package/dist/chartTypes-COqQ3xfW.cjs +1 -0
- package/dist/cockpit.cjs.js +2 -2
- package/dist/cockpit.esm.js +15 -15
- package/dist/common-DmHe0ags.js +22 -0
- package/dist/common-_L90NQkk.cjs +1 -0
- package/dist/commonDimensions-CHbjIfPA.cjs +1 -0
- package/dist/commonDimensions-D-rqQGD_.js +13 -0
- package/dist/detailCommon-CtS6T69Q.cjs +38 -0
- package/dist/detailCommon-GKfk0vsu.js +124 -0
- package/dist/downloadPdf-C-AZ1ViJ.cjs +1 -0
- package/dist/downloadPdf-De1ILdAb.js +32 -0
- package/dist/index-B3YgZKlu.cjs +19213 -0
- package/dist/index-rO5GHlOg.js +85893 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mapLoadingInProgressToTreeNode-3D5AXM_2.cjs +1 -0
- package/dist/mapLoadingInProgressToTreeNode-BQLjNvTv.js +25 -0
- package/dist/mapSectionWithAcOnlyToTreeNode-4CORO2Hm.cjs +1 -0
- package/dist/mapSectionWithAcOnlyToTreeNode-C0VNdd8s.js +388 -0
- package/dist/mapSpacerToTreeNode-BU36CqfC.js +25 -0
- package/dist/mapSpacerToTreeNode-e4mUtIt0.cjs +1 -0
- package/dist/mapTimeframeBalancesToTreeNode-BVtoixEC.js +24 -0
- package/dist/mapTimeframeBalancesToTreeNode-C45lf-nZ.js +24 -0
- package/dist/mapTimeframeBalancesToTreeNode-d_IFWlQx.cjs +1 -0
- package/dist/mapTimeframeBalancesToTreeNode-qlVwejg5.cjs +1 -0
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-BJqETV-q.cjs +1 -0
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-DeErljHZ.js +32 -0
- package/dist/sectionColor-BYQk36Oi.js +32 -0
- package/dist/sectionColor-DniF57Of.cjs +1 -0
- package/dist/toCOABalancesWithID-BJ6qn0xM.cjs +1 -0
- package/dist/toCOABalancesWithID-jZvgYCO7.js +8 -0
- package/dist/toChartData-WQatTWgk.cjs +1 -0
- package/dist/toChartData-XC5K1jEk.js +76 -0
- package/dist/treasuryColorHelper-Bn8hh2DU.js +60 -0
- package/dist/treasuryColorHelper-C4B-aW0a.cjs +1 -0
- package/dist/uploadAttachment-CAl_Ockc.js +952 -0
- package/dist/uploadAttachment-X2r7yiCU.cjs +286 -0
- package/dist/zeniDatePicker.helpers-BVetIW6x.js +14 -0
- package/dist/zeniDatePicker.helpers-C0nkqnio.cjs +1 -0
- package/package.json +3 -3
- package/dist/ACHDetailsPage-DLhcNoMM.cjs +0 -21
- package/dist/ACHDetailsPage-DM2WEfEM.js +0 -160
- package/dist/AIPerformancePage-B2ksJLat.cjs +0 -530
- package/dist/AIPerformancePage-CcFi2kN8.js +0 -1333
- package/dist/AccountInfoPage-AO1FEUOK.cjs +0 -18
- package/dist/AccountInfoPage-C738y2Z2.js +0 -78
- package/dist/AccountInfoPageContent-CzVb5QUl.cjs +0 -149
- package/dist/AccountInfoPageContent-zCmnpBxP.js +0 -428
- package/dist/AccountLockedInfoModal-C0AUuSZ6.cjs +0 -59
- package/dist/AccountLockedInfoModal-SonrUO27.js +0 -125
- package/dist/AccountReconDetailsDrawerPage-Bj-J-3Ek.cjs +0 -239
- package/dist/AccountReconDetailsDrawerPage-Dgi5frg6.js +0 -686
- package/dist/AccountRow-B7chI4kg.js +0 -1009
- package/dist/AccountRow-CUjlA8rs.cjs +0 -298
- package/dist/AccountsPromoCardStack-CLvceA4Y.cjs +0 -207
- package/dist/AccountsPromoCardStack-DM-SxtLt.js +0 -664
- package/dist/AddAddressForCardDrawer-1fCag29z.cjs +0 -6
- package/dist/AddAddressForCardDrawer-QS9TmR7n.js +0 -82
- package/dist/AddToWalletPage-Dh7fB0Bd.js +0 -643
- package/dist/AddToWalletPage-hdYqbWja.cjs +0 -344
- package/dist/AgingReportsPage-DAK1cnRI.js +0 -827
- package/dist/AgingReportsPage-Dg3y-AiZ.cjs +0 -79
- package/dist/AllUserItems-Dj3jjuLa.cjs +0 -192
- package/dist/AllUserItems-Dnb9dMjX.js +0 -979
- package/dist/ApAgingDetailPage-BOpukeXW.cjs +0 -46
- package/dist/ApAgingDetailPage-XxhoYgue.js +0 -239
- package/dist/AppBasePage-CI1L7X8r.js +0 -120
- package/dist/AppBasePage-t1etb12J.cjs +0 -71
- package/dist/AppDrawerContent-BomLjDDf.js +0 -375
- package/dist/AppDrawerContent-C7odPhXY.cjs +0 -91
- package/dist/ApprovalRulesSettingsPage-CATJjuqR.cjs +0 -47
- package/dist/ApprovalRulesSettingsPage-CIQyuNXv.js +0 -146
- package/dist/ArAgingChart-DSJm_sEe.js +0 -529
- package/dist/ArAgingChart-jM7n6s9i.cjs +0 -24
- package/dist/ArAgingDetailPage-8QBQteCs.cjs +0 -46
- package/dist/ArAgingDetailPage-CaBevC97.js +0 -243
- package/dist/AttachmentView-3UYOOCy6.cjs +0 -101
- package/dist/AttachmentView-Dw7P7iKN.js +0 -260
- package/dist/BankAccountSection-Bn3G1DRc.js +0 -398
- package/dist/BankAccountSection-DZvesnr9.cjs +0 -79
- package/dist/BankAccountWarningSection-BJYGpFed.js +0 -110
- package/dist/BankAccountWarningSection-BJuNh-V2.cjs +0 -51
- package/dist/BankConnectionsSettingsPage-B83vBN_x.cjs +0 -425
- package/dist/BankConnectionsSettingsPage-CnNtElZ9.js +0 -1695
- package/dist/BillDetailPage-BJjkYwSI.cjs +0 -266
- package/dist/BillDetailPage-DZxFEM7G.js +0 -1798
- package/dist/BillPayApprovalRuleDetailPage-B7KDQu68.js +0 -247
- package/dist/BillPayApprovalRuleDetailPage-BzOc_xZ6.cjs +0 -27
- package/dist/BillPayApprovalRulesPage-BBPoLRT9.cjs +0 -235
- package/dist/BillPayApprovalRulesPage-C6R6-jLS.js +0 -415
- package/dist/BillPayPromoPage-BB-3ufAQ.js +0 -293
- package/dist/BillPayPromoPage-CPzOCw6z.cjs +0 -84
- package/dist/BillPaySetUpPage-Dm9syiSb.cjs +0 -42
- package/dist/BillPaySetUpPage-Dv4kIV5C.js +0 -412
- package/dist/BillingSettingsPage-L1pArEei.js +0 -336
- package/dist/BillingSettingsPage-dfcxEwVQ.cjs +0 -44
- package/dist/BillsBulkReviewDrawerPage-BWIqMPTl.js +0 -216
- package/dist/BillsBulkReviewDrawerPage-dh6yaHha.cjs +0 -1
- package/dist/BoxItem-HrU3QgMs.js +0 -118
- package/dist/BoxItem-jQsZhN8S.cjs +0 -53
- package/dist/BusinessVerificationPage-Bmv4MguY.cjs +0 -138
- package/dist/BusinessVerificationPage-CyEjNXhO.js +0 -714
- package/dist/BusyIndication-BOJxhkSE.cjs +0 -9
- package/dist/BusyIndication-CF31W1Yk.js +0 -18
- package/dist/CardNumberSubText-D3eYeZUM.js +0 -57
- package/dist/CardNumberSubText-_5mkBB4Q.cjs +0 -21
- package/dist/CashbackDetailPage-B4SRxRd0.js +0 -824
- package/dist/CashbackDetailPage-BYlJDDWJ.cjs +0 -285
- package/dist/ChargeCardDetailPage-D1zfAAoU.cjs +0 -1813
- package/dist/ChargeCardDetailPage-DO5BNLe3.js +0 -5762
- package/dist/ChargeCardListPage-C_bqgqwt.js +0 -1775
- package/dist/ChargeCardListPage-DduLODib.cjs +0 -406
- package/dist/ChargeCardListTable-BuCeP4J-.js +0 -2849
- package/dist/ChargeCardListTable-_i8YAOjH.cjs +0 -711
- package/dist/ChargeCardPromoPage-CoY8ATBx.cjs +0 -222
- package/dist/ChargeCardPromoPage-E2LkjWh7.js +0 -806
- package/dist/ChargeCardSetupPage-Bn9kTjbF.cjs +0 -36
- package/dist/ChargeCardSetupPage-CGcGyol7.js +0 -362
- package/dist/ChargeCardStatementsPage-B0b_5qum.js +0 -243
- package/dist/ChargeCardStatementsPage-B8OgasHi.cjs +0 -60
- package/dist/ChargeCardUtils-CWwEBbht.cjs +0 -1
- package/dist/ChargeCardUtils-DqAMCs3v.js +0 -102
- package/dist/ChaseOverlay-CUlOVbky.js +0 -402
- package/dist/ChaseOverlay-CvvrLlzA.cjs +0 -170
- package/dist/CheckDepositDrawerPage-CSBwbmdI.cjs +0 -206
- package/dist/CheckDepositDrawerPage-Tm2o5fCN.js +0 -726
- package/dist/CollapsableReportTable-DS_YFRg7.js +0 -11743
- package/dist/CollapsableReportTable-DSjWRNKS.cjs +0 -2932
- package/dist/CompanyOfficerDetailsSection-BbMKBT0q.js +0 -1633
- package/dist/CompanyOfficerDetailsSection-D1rH-GVn.cjs +0 -260
- package/dist/CompanyPassportCard-CcPY28x0.cjs +0 -42
- package/dist/CompanyPassportCard-DwWyrzxA.js +0 -146
- package/dist/CompanyPassportPage-CodJ4gks.js +0 -2160
- package/dist/CompanyPassportPage-CtDVAxKJ.cjs +0 -574
- package/dist/CompleteProfile-BY2o-xcn.js +0 -301
- package/dist/CompleteProfile-CGwjgHrz.cjs +0 -52
- package/dist/ConfettiBurst-DbOrx3BH.js +0 -37
- package/dist/ConfettiBurst-DrFrhfpB.cjs +0 -1
- package/dist/CreateOrEditVendorPage-BBkZjga0.js +0 -755
- package/dist/CreateOrEditVendorPage-DTieSyCk.cjs +0 -281
- package/dist/CreditCardPaymentDrawerPage-244aGtSl.js +0 -1171
- package/dist/CreditCardPaymentDrawerPage-DskTN8wc.cjs +0 -224
- package/dist/CreditCardPaymentPlgSection-CE2FtEAd.js +0 -196
- package/dist/CreditCardPaymentPlgSection-DGKP10i4.cjs +0 -78
- package/dist/CurrencySelectField-Cs1PV4YB.js +0 -348
- package/dist/CurrencySelectField-DbZr_QY0.cjs +0 -139
- package/dist/CustomerOnboardingActivationPage-2nG3UyaJ.cjs +0 -88
- package/dist/CustomerOnboardingActivationPage-Sb46sYOf.js +0 -143
- package/dist/CustomerOnboardingContainerPage-C14v88SN.js +0 -7
- package/dist/CustomerOnboardingContainerPage-DKTuGsX4.cjs +0 -1
- package/dist/CustomerOnboardingDetailPageSkeleton-9lG0sTe0.js +0 -434
- package/dist/CustomerOnboardingDetailPageSkeleton-CAvdyrss.cjs +0 -162
- package/dist/CustomerOnboardingNoStepsPage-D1ODePZ4.cjs +0 -66
- package/dist/CustomerOnboardingNoStepsPage-tKL2PUQL.js +0 -425
- package/dist/CustomerOnboardingPage-D3gux8E6.js +0 -1060
- package/dist/CustomerOnboardingPage-uL1jUM2j.cjs +0 -107
- package/dist/CustomerOnboardingProductSuitePage-CmNHkX3L.cjs +0 -202
- package/dist/CustomerOnboardingProductSuitePage-DbIhvpeC.js +0 -349
- package/dist/Dashboard-3ZPnwjv8.cjs +0 -1551
- package/dist/Dashboard-7FhlGtVp.js +0 -5527
- package/dist/DashboardReportPage-CS_sfcL7.cjs +0 -371
- package/dist/DashboardReportPage-DpiZMnFH.js +0 -2536
- package/dist/DashboardSidebarBackgroundAnimation-DrYSTkvd.js +0 -50
- package/dist/DashboardSidebarBackgroundAnimation-_lI7CbXr.cjs +0 -12
- package/dist/DepositAccTransactionItem-BTlo6BWK.cjs +0 -76
- package/dist/DepositAccTransactionItem-DrAU6HXo.js +0 -112
- package/dist/DepositAccTransactionListPage-B9CzmAKB.cjs +0 -66
- package/dist/DepositAccTransactionListPage-DYy9Tp4N.js +0 -152
- package/dist/DomesticWireDetailsPage-9_KWYbwd.cjs +0 -21
- package/dist/DomesticWireDetailsPage-C8l8_xfX.js +0 -189
- package/dist/DownloadOverlay-BZfw4676.js +0 -2148
- package/dist/DownloadOverlay-jIsJ5Ucf.cjs +0 -439
- package/dist/DrawerPage-Cfae2XFW.js +0 -208
- package/dist/DrawerPage-g8q16J5Z.cjs +0 -118
- package/dist/EditPeoplePage-DeguCxcA.js +0 -392
- package/dist/EditPeoplePage-_y1vUkYv.cjs +0 -55
- package/dist/EditReimbursementDetailPage-4Snrhvfp.cjs +0 -865
- package/dist/EditReimbursementDetailPage-DAWBccxu.js +0 -4461
- package/dist/EmptySearchResults-CmMVtee6.js +0 -70
- package/dist/EmptySearchResults-Dw3bleez.cjs +0 -46
- package/dist/EntityDetailPage-CaVGtPSt.js +0 -82
- package/dist/EntityDetailPage-DrS6KtD-.cjs +0 -18
- package/dist/EntitySummarySection-BzKB6oIk.cjs +0 -149
- package/dist/EntitySummarySection-CKsPeGI5.js +0 -530
- package/dist/ExpenseAutomationOverviewPage-BQ1Fv_0r.js +0 -673
- package/dist/ExpenseAutomationOverviewPage-BkNb2soj.cjs +0 -228
- package/dist/ExpenseAutomationPage-PmnWlTHe.cjs +0 -1650
- package/dist/ExpenseAutomationPage-TR8gcx-e.js +0 -11497
- package/dist/ExpressPayPage-Dkphobwh.cjs +0 -168
- package/dist/ExpressPayPage-VDOQ3JPA.js +0 -1136
- package/dist/FeaturePreviewPage-A33BahTJ.cjs +0 -11
- package/dist/FeaturePreviewPage-CYMq8EVD.js +0 -114
- package/dist/FollowStepsSection-BP_uTi9_.js +0 -1313
- package/dist/FollowStepsSection-Bb33t9cL.cjs +0 -390
- package/dist/GlobalReviewListPage-8LIK7anJ.cjs +0 -291
- package/dist/GlobalReviewListPage-Blv6E63z.js +0 -1674
- package/dist/HelpButton-BX5hjzzO.cjs +0 -28
- package/dist/HelpButton-DbXR-faN.js +0 -81
- package/dist/InformationCardStack-CKEE3GNP.js +0 -219
- package/dist/InformationCardStack-qUNMK2py.cjs +0 -31
- package/dist/InsightsCardStack-ClE-wo5L.cjs +0 -79
- package/dist/InsightsCardStack-DAEpbzB_.js +0 -305
- package/dist/InsightsSection-CN_0TDGI.cjs +0 -27
- package/dist/InsightsSection-DP6XrtOI.js +0 -97
- package/dist/IntegrationsSettingsPage-CHBd3hyp.cjs +0 -57
- package/dist/IntegrationsSettingsPage-CcHIXOHK.js +0 -137
- package/dist/InternationalWireSwiftDetailsPage-BHDeccgK.cjs +0 -171
- package/dist/InternationalWireSwiftDetailsPage-C7Nqjyb_.js +0 -753
- package/dist/InternationalWireVerificationPage-DcDj0BMG.js +0 -877
- package/dist/InternationalWireVerificationPage-OrjFTGV6.cjs +0 -292
- package/dist/InviteFormPage-BHtKYNIc.cjs +0 -312
- package/dist/InviteFormPage-CcHZHcpu.js +0 -873
- package/dist/InvitePageListView-DLMR5iAR.js +0 -1764
- package/dist/InvitePageListView-DMyRJxkw.cjs +0 -739
- package/dist/InvitePeoplePage-DsB7Bknh.js +0 -286
- package/dist/InvitePeoplePage-lxn8x-cF.cjs +0 -12
- package/dist/InvoiceUploadSection-D8MsC5-F.cjs +0 -140
- package/dist/InvoiceUploadSection-DMtxRe_f.js +0 -465
- package/dist/IssueChargeCardPage-BlNqFEOP.cjs +0 -532
- package/dist/IssueChargeCardPage-uBrO-dkP.js +0 -2875
- package/dist/LabeledAddressValue-C56sjqDX.js +0 -115
- package/dist/LabeledAddressValue-PruTk2tO.cjs +0 -49
- package/dist/LabeledAddressValueField--GoTZZvC.js +0 -130
- package/dist/LabeledAddressValueField-D8XUV_03.cjs +0 -45
- package/dist/LabeledControlledCheckBoxField-Bonr2PYW.cjs +0 -16
- package/dist/LabeledControlledCheckBoxField-Ccb0SP-I.js +0 -73
- package/dist/LabeledCreatableSingleSelectField-D3Z9gUqD.cjs +0 -204
- package/dist/LabeledCreatableSingleSelectField-DZiWV9XG.js +0 -515
- package/dist/LabeledDocumentField-Dfcp0nZM.js +0 -147
- package/dist/LabeledDocumentField-X5n6DxjP.cjs +0 -41
- package/dist/LabeledDropDownFormattedTextField-CTLjgS-P.cjs +0 -59
- package/dist/LabeledDropDownFormattedTextField-DHLnKH6o.js +0 -163
- package/dist/LabeledEmailInputField-Dp9MXZr1.cjs +0 -182
- package/dist/LabeledEmailInputField-_kUIZzMV.js +0 -425
- package/dist/LabeledItemWithButton-BNodxgSc.js +0 -74
- package/dist/LabeledItemWithButton-DAEXAMGm.cjs +0 -21
- package/dist/LabeledNameField-CSGuxI1c.cjs +0 -141
- package/dist/LabeledNameField-GFW3XuS9.js +0 -293
- package/dist/LabeledSingleSelectField-CQ7fY1H8.js +0 -372
- package/dist/LabeledSingleSelectField-CZClqqL1.cjs +0 -136
- package/dist/LabeledSingleSelectWithoutClearableField-0h6SQ3_J.cjs +0 -38
- package/dist/LabeledSingleSelectWithoutClearableField-BgrBHU9o.js +0 -103
- package/dist/LabeledText-26SnnngI.cjs +0 -42
- package/dist/LabeledText-B-PVB5L4.js +0 -103
- package/dist/LabeledUserSingleSelectWithSubtitlesField-CKqXrXda.js +0 -572
- package/dist/LabeledUserSingleSelectWithSubtitlesField-PXp5VTqa.cjs +0 -229
- package/dist/LabeledZeniRolesDropDownField-B6nBEdC_.js +0 -975
- package/dist/LabeledZeniRolesDropDownField-DDcSRUbw.cjs +0 -297
- package/dist/LinkJETransactionPage-BrTz6zQX.cjs +0 -98
- package/dist/LinkJETransactionPage-J7izDZbg.js +0 -406
- package/dist/LockCardPage-CPIfXjJ_.cjs +0 -574
- package/dist/LockCardPage-DC-IxQ_T.js +0 -1880
- package/dist/LowBalancePopup-CVZhWBWp.js +0 -219
- package/dist/LowBalancePopup-Di3VF7sL.cjs +0 -34
- package/dist/MagicLinkACHDetailsPage-CRPYKYEP.cjs +0 -1
- package/dist/MagicLinkACHDetailsPage-DKIlD8YX.js +0 -39
- package/dist/MagicLinkDomesticWireDetailsPage-BVMzzDAu.js +0 -44
- package/dist/MagicLinkDomesticWireDetailsPage-BihcoHVG.cjs +0 -1
- package/dist/MagicLinkInternationalWireDetailsPage-CWOjQqA1.js +0 -43
- package/dist/MagicLinkInternationalWireDetailsPage-DVtncSOa.cjs +0 -1
- package/dist/MagicLinkSuccessPage-C47F-COp.cjs +0 -31
- package/dist/MagicLinkSuccessPage-CP7ZZFyk.js +0 -59
- package/dist/MagicLinkTitleSection-BRJDHFmh.js +0 -40
- package/dist/MagicLinkTitleSection-BqHlK5ZY.cjs +0 -17
- package/dist/MailingDetailsSection-UzVaRE6O.cjs +0 -21
- package/dist/MailingDetailsSection-jL3x0gUz.js +0 -74
- package/dist/MatchingOperatorDropdown-Dqx6BCBB.js +0 -572
- package/dist/MatchingOperatorDropdown-xjmuMB9E.cjs +0 -130
- package/dist/MeetingCalenderPopup-7G8NjTn1.cjs +0 -26
- package/dist/MeetingCalenderPopup-nu8zVS4A.js +0 -60
- package/dist/Menu-D7I3N12M.js +0 -110
- package/dist/Menu-_pHHmR68.cjs +0 -17
- package/dist/MoreMenuButton-D4cWLTZ7.js +0 -569
- package/dist/MoreMenuButton-kJto3pr5.cjs +0 -167
- package/dist/MyBankConnectionsSettingsPage-CCCLDez4.js +0 -297
- package/dist/MyBankConnectionsSettingsPage-Dwkp_ZxC.cjs +0 -110
- package/dist/MyPendingActivationChargeCardListPage-9Qn3aCt2.cjs +0 -6
- package/dist/MyPendingActivationChargeCardListPage-Gk21rDX5.js +0 -168
- package/dist/MyProfileSettingsPage-BDVUm-8Z.cjs +0 -85
- package/dist/MyProfileSettingsPage-mlIFB9dd.js +0 -641
- package/dist/NavBarWithPicker-BNLfv_Sv.cjs +0 -30
- package/dist/NavBarWithPicker-DueyL3dt.js +0 -106
- package/dist/NavigationArrow-rTJciIjZ.js +0 -88
- package/dist/NavigationArrow-vbDN2X34.cjs +0 -47
- package/dist/NavigationDots-B7LNV1sf.js +0 -44
- package/dist/NavigationDots-CDvvkSI3.cjs +0 -15
- package/dist/NewGlobalMerchantPage-B1xnc6W9.js +0 -543
- package/dist/NewGlobalMerchantPage-Z3iY2c3M.cjs +0 -160
- package/dist/NoDataChart-1Zkgcrd_.js +0 -58
- package/dist/NoDataChart-Bkh6u0nK.cjs +0 -26
- package/dist/NoDataTable-CcEPivX9.js +0 -27
- package/dist/NoDataTable-D3GAasjH.cjs +0 -8
- package/dist/NotFoundPage-DTYMLEB0.cjs +0 -46
- package/dist/NotFoundPage-gmM8g0pI.js +0 -71
- package/dist/NotificationSettingsPage-B212sRWs.cjs +0 -163
- package/dist/NotificationSettingsPage-rXUEt110.js +0 -541
- package/dist/NotificationsListConfig-DXYmNKk8.js +0 -10
- package/dist/NotificationsListConfig-DmKcGdhl.cjs +0 -1
- package/dist/NotificationsPage-DDC2xEE2.cjs +0 -685
- package/dist/NotificationsPage-DfIc4JIy.js +0 -2664
- package/dist/OpExByVendorPage-D2hivzkX.cjs +0 -100
- package/dist/OpExByVendorPage-DZ6Dotpp.js +0 -1057
- package/dist/PandLWithForecastPage-C_jGySFU.js +0 -563
- package/dist/PandLWithForecastPage-DWNoOg4N.cjs +0 -107
- package/dist/PaymentAccountSetupBillingAddressSection-BlmlXnUl.js +0 -623
- package/dist/PaymentAccountSetupBillingAddressSection-C0e0-1uD.cjs +0 -106
- package/dist/PeoplePage-DiF-YNlZ.js +0 -1994
- package/dist/PeoplePage-STpF_k02.cjs +0 -675
- package/dist/PortfolioAllocationFormPage-BbUzh-0L.js +0 -440
- package/dist/PortfolioAllocationFormPage-CM4pVTJV.cjs +0 -207
- package/dist/PortfolioDetails-Bd4-LGJp.cjs +0 -218
- package/dist/PortfolioDetails-CS9ggNrp.js +0 -653
- package/dist/ProductsCarousel-B-Fpo1gJ.js +0 -309
- package/dist/ProductsCarousel-DNdm7oke.cjs +0 -142
- package/dist/PromoBaseCards-BnPpUxmj.js +0 -356
- package/dist/PromoBaseCards-dAdfQp12.cjs +0 -218
- package/dist/QBOConnectionDialog-BRA9mvfK.js +0 -115
- package/dist/QBOConnectionDialog-BxkEVa_4.cjs +0 -51
- package/dist/QBOSetupSection-PxD8Y9Ta.js +0 -167
- package/dist/QBOSetupSection-lM1no6wM.cjs +0 -79
- package/dist/ReimbursementApprovalRuleDetailPage-Cm3oHXfW.cjs +0 -26
- package/dist/ReimbursementApprovalRuleDetailPage-D2McdW8F.js +0 -247
- package/dist/ReimbursementApprovalRulesPage-BkOZf5di.cjs +0 -237
- package/dist/ReimbursementApprovalRulesPage-pL7_KYQA.js +0 -410
- package/dist/ReimbursementDetailPage-BHtToQ7l.js +0 -1511
- package/dist/ReimbursementDetailPage-CEpTx7T3.cjs +0 -314
- package/dist/ReimbursementPromoPage-CLx-0VUJ.js +0 -364
- package/dist/ReimbursementPromoPage-YnEVcRej.cjs +0 -84
- package/dist/ReimbursementSetUpPage-CavbtKlM.cjs +0 -140
- package/dist/ReimbursementSetUpPage-DFnSxWgA.js +0 -666
- package/dist/ReimbursementsBulkReviewDrawerPage-BNSBjcSi.js +0 -204
- package/dist/ReimbursementsBulkReviewDrawerPage-Dlr1IMI9.cjs +0 -1
- package/dist/ReloadCard-CiPzVUPr.js +0 -137
- package/dist/ReloadCard-qfHvMs_3.cjs +0 -26
- package/dist/ReloadContainer-CL8AqAoS.js +0 -2144
- package/dist/ReloadContainer-koqw2puj.cjs +0 -596
- package/dist/ReportTableViewSelector-D2sHmNp1.cjs +0 -150
- package/dist/ReportTableViewSelector-vVCYAqty.js +0 -679
- package/dist/ReportsPage-C2cPhSND.cjs +0 -121
- package/dist/ReportsPage-CwDAmkWq.js +0 -1315
- package/dist/RevenueChart-BWP7IOPH.js +0 -2239
- package/dist/RevenueChart-dYQDFKAw.cjs +0 -280
- package/dist/ReviewDetailsPage-CdOmTW6b.cjs +0 -290
- package/dist/ReviewDetailsPage-CvyPDn5-.js +0 -1073
- package/dist/ReviewOverlay-BFK_friP.js +0 -299
- package/dist/ReviewOverlay-ouSIdDss.cjs +0 -152
- package/dist/RoleWithToolTip-C9GUYZcg.cjs +0 -22
- package/dist/RoleWithToolTip-DLlAO7Bp.js +0 -72
- package/dist/ScheduleDetailsFixedAssetsPage-BKkdXTI7.cjs +0 -37
- package/dist/ScheduleDetailsFixedAssetsPage-XMyLdASA.js +0 -806
- package/dist/ScheduleDetailsPage-gDtfrkS_.cjs +0 -37
- package/dist/ScheduleDetailsPage-i2hSXoi_.js +0 -726
- package/dist/ScheduleSequenceTable-DW33H0gg.cjs +0 -324
- package/dist/ScheduleSequenceTable-DrMFhapb.js +0 -1261
- package/dist/SetUpAccountSection-C92gQcEb.js +0 -1470
- package/dist/SetUpAccountSection-Cx_D_zce.cjs +0 -378
- package/dist/SetUpDefaultSection-BuYVVA94.js +0 -537
- package/dist/SetUpDefaultSection-SOA5QdaL.cjs +0 -187
- package/dist/SignIn-BFPiFLHa.cjs +0 -448
- package/dist/SignIn-C_hwpMME.js +0 -1075
- package/dist/SpendManagementListViewPage-B9fL3wc8.cjs +0 -122
- package/dist/SpendManagementListViewPage-CxLkQXTa.js +0 -627
- package/dist/SpendManagementPerTabPage-B-7gDDIE.cjs +0 -754
- package/dist/SpendManagementPerTabPage-TihXRDHv.js +0 -2735
- package/dist/SpendManagementSection-037vPvaE.js +0 -1043
- package/dist/SpendManagementSection-BY56esK6.cjs +0 -230
- package/dist/SpendMgmtSetupAccountSection-Chuh1E3P.cjs +0 -206
- package/dist/SpendMgmtSetupAccountSection-Docv57a2.js +0 -875
- package/dist/StatementItem-C1bGZ0lC.js +0 -81
- package/dist/StatementItem-rX5Rpxo7.cjs +0 -31
- package/dist/StatementsPage-D5iOdfZC.js +0 -130
- package/dist/StatementsPage-aXKGCaDH.cjs +0 -58
- package/dist/StatusSwitcher-8ILAhVng.js +0 -319
- package/dist/StatusSwitcher-BEHog7IP.cjs +0 -120
- package/dist/SubTabSwitcher-CN4GUftq.cjs +0 -58
- package/dist/SubTabSwitcher-Dly8rz0j.js +0 -113
- package/dist/SuccessAnimation-Cb3Jg9HW.js +0 -52
- package/dist/SuccessAnimation-DogKCL-W.cjs +0 -13
- package/dist/SummaryCard-BoKRYKzV.js +0 -25
- package/dist/SummaryCard-HRT4Wp29.cjs +0 -1
- package/dist/TaskDetailPage-BTX0-370.js +0 -2533
- package/dist/TaskDetailPage-BkcTCyPi.cjs +0 -775
- package/dist/TaskListRow-B-CtTQnX.js +0 -1950
- package/dist/TaskListRow-SXAJyA6M.cjs +0 -556
- package/dist/TaskManagementPage-CGoB_1NV.cjs +0 -508
- package/dist/TaskManagementPage-DiweAC_-.js +0 -1935
- package/dist/TimeRangeSwitcher-CvKvQUmi.js +0 -265
- package/dist/TimeRangeSwitcher-bo00XsV-.cjs +0 -64
- package/dist/TimeframeSwitcher-B1xUg64e.js +0 -103
- package/dist/TimeframeSwitcher-ykUzxIzq.cjs +0 -31
- package/dist/TimeframeSwitcherWithToggle-C9F_zgnw.cjs +0 -31
- package/dist/TimeframeSwitcherWithToggle-Dt52kytg.js +0 -157
- package/dist/TopExCard-ByooDs2p.cjs +0 -38
- package/dist/TopExCard-D6jz1uPx.js +0 -568
- package/dist/TopExDetailPage-DIBAkzJw.cjs +0 -132
- package/dist/TopExDetailPage-DyQibv30.js +0 -318
- package/dist/TransactionDetailPage-DTeDSky-.cjs +0 -912
- package/dist/TransactionDetailPage-fsF49yQf.js +0 -5217
- package/dist/TransactionList-BN8D-ZpD.cjs +0 -147
- package/dist/TransactionList-DDaYbPxz.js +0 -558
- package/dist/TransactionListBig-D1PxW6wz.js +0 -658
- package/dist/TransactionListBig-SlaRN6xl.cjs +0 -284
- package/dist/TransactionListPage-6876apb3.js +0 -144
- package/dist/TransactionListPage-x81FYIRu.cjs +0 -35
- package/dist/TransactionVendorDetailPage-BNzovAHX.js +0 -425
- package/dist/TransactionVendorDetailPage-D-4kEQVV.cjs +0 -80
- package/dist/TransferDrawerPage-CKNpx5y2.js +0 -1435
- package/dist/TransferDrawerPage-Dl8Am4xh.cjs +0 -362
- package/dist/TreasuryOverviewPage-DX99YTN1.js +0 -1890
- package/dist/TreasuryOverviewPage-S1gWNG63.cjs +0 -708
- package/dist/TreasuryPromoPage-BQMmDj-m.js +0 -1122
- package/dist/TreasuryPromoPage-DIEOvTPo.cjs +0 -505
- package/dist/TreasurySetupPage-CaGzDC9Q.js +0 -682
- package/dist/TreasurySetupPage-Dt8lhrK-.cjs +0 -144
- package/dist/TreasuryStatementsPage-DOboI1D1.cjs +0 -58
- package/dist/TreasuryStatementsPage-JUnPHxf8.js +0 -131
- package/dist/TreasuryTaxLetterPage-BXQCdDV5.js +0 -131
- package/dist/TreasuryTaxLetterPage-GH-rfnT5.cjs +0 -58
- package/dist/TreasuryTransferOrReviewPage-CnptB7C2.cjs +0 -576
- package/dist/TreasuryTransferOrReviewPage-DYFe8Yma.js +0 -1938
- package/dist/TrendChart-BKcdRCR7.js +0 -333
- package/dist/TrendChart-Ckz3aFuE.cjs +0 -16
- package/dist/TrendWithTransactions-BigFTC-h.js +0 -346
- package/dist/TrendWithTransactions-IGqbbO7u.cjs +0 -116
- package/dist/UncategorizedAccountsMappingPage-BU1AjNfX.js +0 -1160
- package/dist/UncategorizedAccountsMappingPage-Bh2waYZC.cjs +0 -244
- package/dist/UnitIntegrationPage-BrFy5SAK.cjs +0 -67
- package/dist/UnitIntegrationPage-v9xMueh7.js +0 -405
- package/dist/UploadAdditionalDocumentOverlay-CXg8A-1F.cjs +0 -38
- package/dist/UploadAdditionalDocumentOverlay-CgEaf_Mh.js +0 -211
- package/dist/Vendor2FAPopup-CVkNIEW6.js +0 -69
- package/dist/Vendor2FAPopup-Wbs5cELa.cjs +0 -1
- package/dist/VendorACHDetailsPage-BOcG_abE.js +0 -43
- package/dist/VendorACHDetailsPage-D1T_vmnX.cjs +0 -1
- package/dist/VendorDetailPage-CG_-t8DQ.js +0 -1236
- package/dist/VendorDetailPage-DFDmp0u5.cjs +0 -257
- package/dist/VendorDomesticWireDetailsPage-CrGjm-AG.cjs +0 -1
- package/dist/VendorDomesticWireDetailsPage-D1U9ef4f.js +0 -53
- package/dist/VendorFiling1099EditablePage-BVXLvG9v.js +0 -842
- package/dist/VendorFiling1099EditablePage-DF6Jgqo6.cjs +0 -175
- package/dist/VendorFirstReviewPage-BC2OL9KB.cjs +0 -730
- package/dist/VendorFirstReviewPage-Byxv7p7D.js +0 -2748
- package/dist/VendorInternationalWireDetailsPage-BYHA2KiV.cjs +0 -152
- package/dist/VendorInternationalWireDetailsPage-CSux_QaS.js +0 -968
- package/dist/VendorInternationalWireSwiftDetailsPage-BCAf583A.js +0 -52
- package/dist/VendorInternationalWireSwiftDetailsPage-bA0gVfOO.cjs +0 -1
- package/dist/VendorsAccountsSection-BSJW848H.js +0 -279
- package/dist/VendorsAccountsSection-CRBZmhxw.cjs +0 -68
- package/dist/VerifyDevice-BU-al4MU.cjs +0 -112
- package/dist/VerifyDevice-C2qaQ5VF.js +0 -298
- package/dist/VideoPlayer-C23ZFX8E.js +0 -169
- package/dist/VideoPlayer-Cu1Xp6hf.cjs +0 -77
- package/dist/VideoPopup-C4GEvNBO.js +0 -60
- package/dist/VideoPopup-D3FDzBlf.cjs +0 -31
- package/dist/WarningsDrawerPage-0_WmM1Ur.js +0 -228
- package/dist/WarningsDrawerPage-Bv2S-aQI.cjs +0 -92
- package/dist/ZeniAccountDetailPage-Buyk-feN.js +0 -907
- package/dist/ZeniAccountDetailPage-DbhWY7xC.cjs +0 -300
- package/dist/ZeniAccountListViewPage-CdYu4Cqn.js +0 -1078
- package/dist/ZeniAccountListViewPage-Dc0-Rdsi.cjs +0 -441
- package/dist/ZeniAccountNavBarPieces-BAiIh00g.cjs +0 -14
- package/dist/ZeniAccountNavBarPieces-DW3mWrsa.js +0 -89
- package/dist/ZeniAccountPromoPage-C6lL8DG7.cjs +0 -184
- package/dist/ZeniAccountPromoPage-DukoBdZO.js +0 -523
- package/dist/ZeniAccountSetupPage-DOQciLbg.js +0 -312
- package/dist/ZeniAccountSetupPage-Dum6h6It.cjs +0 -36
- package/dist/ZeniAvatar-BAeW3G15.js +0 -34
- package/dist/ZeniAvatar-CkQ2iqZ2.cjs +0 -13
- package/dist/ZeniCopyright-D-c6oY91.cjs +0 -1
- package/dist/ZeniCopyright-DSuCs6TP.js +0 -9
- package/dist/ZeniDatePicker-Dazf6Qwr.cjs +0 -187
- package/dist/ZeniDatePicker-Deq4xMIf.js +0 -386
- package/dist/ZeniTransferAmountSlider-C1Hm03d6.cjs +0 -63
- package/dist/ZeniTransferAmountSlider-DEROwunG.js +0 -215
- package/dist/analyticsHelper-DDg9r-jX.js +0 -65
- package/dist/analyticsHelper-Dgl6DWv_.cjs +0 -1
- package/dist/calculateSize-DBkYZHLB.cjs +0 -1
- package/dist/calculateSize-dkZVEDCl.js +0 -22
- package/dist/chartTypes-B11vKIHU.js +0 -47
- package/dist/chartTypes-CYsMn6Qd.cjs +0 -1
- package/dist/common-BerxbruX.cjs +0 -1
- package/dist/common-D8mcvMrP.js +0 -22
- package/dist/commonDimensions-DT7tPwhP.js +0 -13
- package/dist/commonDimensions-Dw03_OWT.cjs +0 -1
- package/dist/detailCommon-Bgr412u7.cjs +0 -38
- package/dist/detailCommon-CLvp4Rjd.js +0 -124
- package/dist/downloadPdf-5HrBJAvZ.js +0 -32
- package/dist/downloadPdf-BFc4cVo1.cjs +0 -1
- package/dist/index-B3sr4TRT.js +0 -85893
- package/dist/index-am18ouAt.cjs +0 -19213
- package/dist/mapLoadingInProgressToTreeNode-CSmeoIQC.cjs +0 -1
- package/dist/mapLoadingInProgressToTreeNode-CZxY8Q9X.js +0 -25
- package/dist/mapSectionWithAcOnlyToTreeNode-CKfW7dgG.cjs +0 -1
- package/dist/mapSectionWithAcOnlyToTreeNode-DPxxFNUi.js +0 -388
- package/dist/mapSpacerToTreeNode-BwFDMgpj.js +0 -25
- package/dist/mapSpacerToTreeNode-Pk_GA_L4.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode--08DPzvH.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode-CvpfMhmA.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode-D46I1xrD.js +0 -24
- package/dist/mapTimeframeBalancesToTreeNode-Dnf8Th9p.js +0 -24
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-CJJ1SMdz.cjs +0 -1
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-CNuioBVH.js +0 -32
- package/dist/sectionColor-ClIj55Gu.cjs +0 -1
- package/dist/sectionColor-CwNbZd_W.js +0 -32
- package/dist/toCOABalancesWithID-CWJhOZ0t.cjs +0 -1
- package/dist/toCOABalancesWithID-CxKma1nV.js +0 -8
- package/dist/toChartData-CID17K6U.cjs +0 -1
- package/dist/toChartData-txRRrB7y.js +0 -76
- package/dist/treasuryColorHelper-C7tgyLd8.cjs +0 -1
- package/dist/treasuryColorHelper-DERJHogj.js +0 -60
- package/dist/uploadAttachment-YLYFO96u.js +0 -952
- package/dist/uploadAttachment-rmwaK3Bk.cjs +0 -286
- package/dist/zeniDatePicker.helpers-CKqUJ2ya.cjs +0 -1
- package/dist/zeniDatePicker.helpers-CQX8BYTl.js +0 -14
|
@@ -1,865 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./vendor-.pnpm-B6vI-hvj.cjs"),f=require("react"),n=require("@emotion/styled"),Uo=require("@liveblocks/react"),Z=require("@zeniai/client-epic-state"),t=require("./index-am18ouAt.cjs"),mo=require("./InvoiceUploadSection-D8MsC5-F.cjs"),L=require("./types-UmwfBRaY.cjs"),Ho=require("./LabeledCreatableSingleSelectField-D3Z9gUqD.cjs"),Go=require("./CurrencySelectField-DbZr_QY0.cjs"),Yo=require("./SetUpDefaultSection-SOA5QdaL.cjs"),Jo=require("./BankAccountSection-DZvesnr9.cjs"),Vt=require("./BankAccountWarningSection-BJuNh-V2.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;
|