@zeniai/web-cockpit-ui 1.14.49-dev → 1.14.50-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-Sg7hdGqd-BJ6Y4E4W.js → ACHDetailsPage-Bk-T9zeA-CfJ6MKab.js} +3 -3
- package/dist/assets/{AIPerformancePage-ChnBEIPH-BG7kRGAc.js → AIPerformancePage-DlVvPiye--DdUUWgj.js} +33 -33
- package/dist/assets/{AccountInfoPage-BxnQEiJ7-CuhRvlDO.js → AccountInfoPage-4a5_z9Mj-DMFU6f23.js} +4 -4
- package/dist/assets/{AccountInfoPageContent-DNUp3TON-D0ib25q5.js → AccountInfoPageContent-DevYKy6p-CMullRtM.js} +19 -19
- package/dist/assets/{AccountLockedInfoModal-CA152nkz-pxVtwGi8.js → AccountLockedInfoModal-BvtyA_xO-CmYw1Jj0.js} +3 -3
- package/dist/assets/{AccountReconDetailsDrawerPage-C2rkkVPs-fzY1AEUi.js → AccountReconDetailsDrawerPage-BXEQ6cqS-j66Ucrn-.js} +12 -12
- package/dist/assets/{AccountRow-36Vtwpnr-DYEexfmz.js → AccountRow---y_a4hQ-CjUH_owU.js} +11 -11
- package/dist/assets/{AccountsPromoCardStack-C2HYR94b-Ds_RYsZp.js → AccountsPromoCardStack-o9Og7QNk-DK3bk-1Y.js} +17 -17
- package/dist/assets/AddAddressForCardDrawer-Blh9zJ9k-Qnts0jiB.js +6 -0
- package/dist/assets/{AddToWalletPage-C_3jcdka-CL8bElM-.js → AddToWalletPage-F_5GSEK1-DfJbrH2K.js} +19 -19
- package/dist/assets/{AgingReportsPage-BPxROntM-AndJUsDi.js → AgingReportsPage-gY6j3hD1-CYYgQtbs.js} +6 -6
- package/dist/assets/{AllUserItems-D4ZSsopG-BpcSmXEj.js → AllUserItems-DuqNI8Rn-C7-Ck6tc.js} +4 -4
- package/dist/assets/{ApAgingDetailPage-Cg_V8f7G-DR1ckQuO.js → ApAgingDetailPage-BCIZ807--CCB1bmdU.js} +5 -5
- package/dist/assets/{AppBasePage-6i0Pu1mT-CYhfw2EW.js → AppBasePage-Cju4WpBd-B7EKJOCZ.js} +7 -7
- package/dist/assets/{AppDrawerContent-B6_iNfLZ-D1T-ud79.js → AppDrawerContent-CJZlwte8-BLgFIh1I.js} +4 -4
- package/dist/assets/{ApprovalRulesSettingsPage-BnsXfKAE-CtUMFa5Y.js → ApprovalRulesSettingsPage-DcFFdV1D-DwwBhpx6.js} +3 -3
- package/dist/assets/{ArAgingChart-DSDIg2mS-75abgEKE.js → ArAgingChart-B_ybJjur-DHM_zS9S.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-BYb9qi8c-CJX-8A7X.js → ArAgingDetailPage-CXBgcuJx-BSdM7AD1.js} +4 -4
- package/dist/assets/AttachmentView-D9MocUS9-BtgOsoHb.js +101 -0
- package/dist/assets/{BankAccountSection-CwYIBEbQ-8mzvKjUV.js → BankAccountSection-CFnXlTaa-wnOEAJae.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-DPIyvB6i-CQf_GPyw.js → BankAccountWarningSection-Dl7DA-Xf-Bk2O3H_M.js} +4 -4
- package/dist/assets/{BankConnectionsSettingsPage-O03gMCgp-ktWZ4Eak.js → BankConnectionsSettingsPage-p7NTe5UU-CDYUeY8o.js} +29 -29
- package/dist/assets/{BillDetailPage-D-fa_jc1-20mAoSs4.js → BillDetailPage-Dy7FjtFP-DCGKKisv.js} +6 -6
- package/dist/assets/{BillPayApprovalRuleDetailPage-D_A4wH0g-D4_Up7SF.js → BillPayApprovalRuleDetailPage-BkROIItP-FF3IQxfd.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-gdOVuTqR-Dm9-SFtE.js → BillPayApprovalRulesPage-wnxmErWK-CnIadX77.js} +7 -7
- package/dist/assets/{BillPayPromoPage-SFpIScHQ-DqufeKOh.js → BillPayPromoPage-B09wLq8f-CG5fEZdp.js} +7 -7
- package/dist/assets/BillPaySetUpPage-bK5uUxWL-CxvMnvOZ.js +42 -0
- package/dist/assets/{BillingSettingsPage-CdaNgKMv-qPNA3e0-.js → BillingSettingsPage-yqdPoo5n-C-yi5L8L.js} +6 -6
- package/dist/assets/{BillsBulkReviewDrawerPage-DPgrXGy0-CnvGZNH8.js → BillsBulkReviewDrawerPage-BPoUzM5h-BT57ZA9A.js} +1 -1
- package/dist/assets/{BoxItem-Bla_vZe9-hVwWcQFM.js → BoxItem-BwOmI0eo-Bg_oDJrZ.js} +1 -1
- package/dist/assets/BusinessVerificationPage-DliZ1mtV-DeT5LWZH.js +140 -0
- package/dist/assets/{CardNumberSubText-B-HsVbRQ-DD1zwm43.js → CardNumberSubText-CAQ8mWuF-vKMkb_aM.js} +1 -1
- package/dist/assets/{CashbackDetailPage-gIJ-1lJF-DJvf8K0I.js → CashbackDetailPage-B1XEtXzZ-1-2pfDRY.js} +17 -17
- package/dist/assets/{ChargeCardDetailPage-Dgyl5IJV-dpF3lMeE.js → ChargeCardDetailPage-C35g3tyS-Cr_XhDe3.js} +21 -21
- package/dist/assets/{ChargeCardListPage-CgN69uh_-OWvNh6ZR.js → ChargeCardListPage-DpJ2ukG9-Chnlo_Ls.js} +9 -9
- package/dist/assets/{ChargeCardListTable-Bq3FUrUG-ZxNJoN2u.js → ChargeCardListTable-0mvBVaVR-DezuEV69.js} +26 -26
- package/dist/assets/{ChargeCardPromoPage-DqDd3QeF-DwKhI9v5.js → ChargeCardPromoPage-xcfRobP3-CBiQn6_2.js} +7 -7
- package/dist/assets/{ChargeCardSetupPage-CBP4-JyP-CTSo8lEf.js → ChargeCardSetupPage-CHK4_mR3-uQ6PE_iN.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-CVJyNhXt-BWmc6WcQ.js → ChargeCardStatementsPage-B746tyaI-BpHM8ktT.js} +8 -8
- package/dist/assets/{ChargeCardUtils-DaDe1sIq-Cvp2W_S2.js → ChargeCardUtils-Bel9RKog-BYoByp7T.js} +1 -1
- package/dist/assets/{ChaseOverlay-C1SVk4v1-CPf76lKD.js → ChaseOverlay-Cni-YJBq-ki7qKNfn.js} +2 -2
- package/dist/assets/CheckDepositDrawerPage-h5dYs8n1-xM7OVVph.js +206 -0
- package/dist/assets/{CollapsableReportTable-QtToztmP-Dtu3g55w.js → CollapsableReportTable-Bm4Knvjp-CyuCgDm7.js} +48 -48
- package/dist/assets/{CompanyOfficerDetailsSection-Ctoe2QDP-DNnYQb9v.js → CompanyOfficerDetailsSection-BFrN2zbs-E0-ko42y.js} +19 -19
- package/dist/assets/CompanyPassportCard-CFfVmwtT-DyrnlDth.js +42 -0
- package/dist/assets/{CompanyPassportPage-Dd53DZFe-CBQbcAq0.js → CompanyPassportPage-BwuQEpR6-BzltPqSl.js} +21 -21
- package/dist/assets/{CompleteProfile-DlFmFq5M-BMyL27qP.js → CompleteProfile-DFgQXxaw-eh46GqaL.js} +1 -1
- package/dist/assets/{ConfettiBurst-b3SEoaSY-DuWTUbzD.js → ConfettiBurst-CNGVGH7R-OhWdZxEw.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-DwvlzEci-BiFTiX_3.js → CreateOrEditVendorPage-BEOugGdV-BkOi2-LS.js} +12 -12
- package/dist/assets/{CreditCardPaymentDrawerPage-y5jJQGS5-DE9_oAZ2.js → CreditCardPaymentDrawerPage-DL99-asT-IVw3ZmF0.js} +9 -9
- package/dist/assets/{CreditCardPaymentPlgSection-BbVnrMer-CMSyRH0x.js → CreditCardPaymentPlgSection-Bo8bjkSd-Cj2DAE6L.js} +5 -5
- package/dist/assets/{CurrencySelectField-B1rl6vQ0-BGOf9wTv.js → CurrencySelectField-Cy3069QS-B4qJii4j.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-DlFjo3Sv-BTL8l8KD.js → CustomerOnboardingActivationPage-DYHxB1DV-DG10uG78.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DGNxouoJ-cK8xEcln.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BxsQBBs2-DKJ8rMmR.js → CustomerOnboardingDetailPageSkeleton-C-eQB--l-D3xzBHMg.js} +10 -10
- package/dist/assets/CustomerOnboardingNoStepsPage-CdXpLzmq-BKo9Mc6w.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-Cw66PfQC-VEMQRRng.js → CustomerOnboardingPage-BScJEPx_-eyx5FypG.js} +2 -2
- package/dist/assets/CustomerOnboardingProductSuitePage-D8hA3Lv_-DiFPqcjv.js +202 -0
- package/dist/assets/{Dashboard-I5fepHMP-Cevcxjrr.js → Dashboard-D5_YXdct-EKQOlNbW.js} +1 -1
- package/dist/assets/{DashboardReportPage-GkuxGc3t-BHv_HG6x.js → DashboardReportPage-Gq4XjHm5-CgkxriU9.js} +19 -19
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Ba6mjrpq-DflDlyBs.js → DashboardSidebarBackgroundAnimation-CfSTodXy-DUwH9YlE.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-8pfQMKs3-BiFZwIDL.js → DepositAccTransactionItem-CfjfIBsm-DifB7Rhh.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-BiTWRxfT-FXfV2auu.js → DepositAccTransactionListPage-BxtgMsQs-1C9yKKse.js} +8 -8
- package/dist/assets/{DomesticWireDetailsPage-4Dh_YZ8--Dac_JC4h.js → DomesticWireDetailsPage-BdmpuYqv-CI5W3KSh.js} +2 -2
- package/dist/assets/{DownloadOverlay-D6S9Obtr-Cl7jFmI9.js → DownloadOverlay-B-TeCIiN-cLZkE7c6.js} +18 -18
- package/dist/assets/{DrawerPage-D13P_uWJ-DwxMNR4o.js → DrawerPage-BayK5Cvt-DenqrNxQ.js} +7 -7
- package/dist/assets/EditPeoplePage-moCKwxdw-kdnDyFe4.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-COg9-yb6-CIDvV_2l.js → EditReimbursementDetailPage-DiRxcH2i-CqEhpelp.js} +1 -1
- package/dist/assets/{EntityDetailPage-BbITG8i5-BGeGObtn.js → EntityDetailPage-B0_iMMXi-BFK6-vDg.js} +4 -4
- package/dist/assets/{EntitySummarySection-BIawu9Ww-jWQbkUh5.js → EntitySummarySection-Bzw9paM5-CCulefX0.js} +1 -1
- package/dist/assets/ExpenseAutomationOverviewPage-CN8oHejg-BCXoKv-G.js +222 -0
- package/dist/assets/{ExpenseAutomationPage-BzqJFgyb-Cn25OmeO.js → ExpenseAutomationPage-nQw-48Jn-1DFXEYwM.js} +29 -29
- package/dist/assets/{ExpressPayPage-ciCYdxZj-CZU8Twmg.js → ExpressPayPage-BbxW-YuU-D_hIdCft.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-Bbbcp0Yy-YrV3pTR0.js → FeaturePreviewPage-CMFiodSD-BBGWeje6.js} +2 -2
- package/dist/assets/{FollowStepsSection-B6uVl1dT-DNC0mar6.js → FollowStepsSection-s4utHS95--Y07h10n.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-BOTtaikB-BvTnXg7j.js → GlobalReviewListPage-Ci8wGpO6-BRGgqus8.js} +5 -5
- package/dist/assets/HelpButton-CdHOhYwZ-vfgKqvvf.js +28 -0
- package/dist/assets/{InformationCardStack-Bm0Oh5VL-8LXcrFIu.js → InformationCardStack-C3Q674Be-BHdplWUC.js} +2 -2
- package/dist/assets/InsightsCardStack-CA-O6aZn-DaypKy1-.js +79 -0
- package/dist/assets/{InsightsSection-wZpjHdxh-C71dHBxC.js → InsightsSection-MD_7iYyd-CoTr4evA.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-Cl-Y86Nj-CQcfLXmx.js → IntegrationsSettingsPage-Gpq_ujC4-Cz49FC1Q.js} +5 -5
- package/dist/assets/{InternationalWireSwiftDetailsPage-DkEpnlVz-KQGlf6zC.js → InternationalWireSwiftDetailsPage-DXQCRbA4-jvd32UXh.js} +18 -18
- package/dist/assets/{InternationalWireVerificationPage-Ra78kWjZ-C8uhi-CA.js → InternationalWireVerificationPage-Z9MeS_FE-CvHI3GW5.js} +13 -13
- package/dist/assets/{InviteFormPage-Be3Tqvh8-B9YJH8eq.js → InviteFormPage-CRBxUW8F-ByLwGMQx.js} +20 -20
- package/dist/assets/{InvitePageListView-BuooPBpK-CTSaKN1R.js → InvitePageListView-BLcD6yhf-BHIBTtPc.js} +14 -14
- package/dist/assets/InvitePeoplePage-B6vbKnl8-3Fr2JjFu.js +12 -0
- package/dist/assets/InvoiceUploadSection-C84g6m-u-CTBUGTYr.js +140 -0
- package/dist/assets/{IssueChargeCardPage-C_4bD6HQ-C7zzGhpe.js → IssueChargeCardPage-CtwG1FQW-CIw40zi7.js} +20 -20
- package/dist/assets/{LabeledAddressValue-Ctk46FKq-DXzMzmT1.js → LabeledAddressValue-BbmveEDp-misv-kNS.js} +1 -1
- package/dist/assets/LabeledAddressValueField-BplBue9M-DBaZ2tp6.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-CATsgVfE-C27gMaQw.js +16 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-Bjh5B-q0-q0j6ciRz.js → LabeledCreatableSingleSelectField-B-m-gINB-DKWDwbZB.js} +2 -2
- package/dist/assets/LabeledDocumentField-pmF98M72-DhaPqfnm.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-BX06HLc2-DYKhZ_Ts.js → LabeledDropDownFormattedTextField-DQRvDrH1-nhXIGcQS.js} +1 -1
- package/dist/assets/{LabeledText-DZVRFAkG-DkVxNbLd.js → LabeledText-Dr7b3HNT-JqfYF6TM.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-QoYZvvyE-DPkhJaYm.js → LabeledUserSingleSelectWithSubtitlesField-DucxxQKW-DpGIkkDj.js} +10 -10
- package/dist/assets/{LabeledZeniRolesDropDownField-D9I9Lxk2-CILsRId4.js → LabeledZeniRolesDropDownField-Fg_p41gp-BLJgU8CM.js} +17 -17
- package/dist/assets/{LinkJETransactionPage-C8K00-1a-BdYYSG3G.js → LinkJETransactionPage-CbtDoohS-BYYpt-Eb.js} +4 -4
- package/dist/assets/LockCardPage-CfupCyYS-DqBQdk1I.js +558 -0
- package/dist/assets/{LowBalancePopup-CQQrhufv-BRlLHtBa.js → LowBalancePopup-DPfkvSKp-CZ231Z71.js} +6 -6
- package/dist/assets/{MagicLinkACHDetailsPage-BUGK2W6m-BANuDDL9.js → MagicLinkACHDetailsPage-TJ1c4k1c-e1ecoiPU.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CdGw-8SL-CS027aBy.js → MagicLinkDomesticWireDetailsPage-Dp4F_O6C-BLuK26i4.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-ioBaDPw3-BPFqiBSS.js → MagicLinkInternationalWireDetailsPage-B5TMFBsw-DE5eebOC.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-BBnZ5N8r-CaS0ld-S.js → MagicLinkSuccessPage-XmGUk2UP-t-ML7fFm.js} +3 -3
- package/dist/assets/{MagicLinkTitleSection-C0nl5UrB-Di7GkP7e.js → MagicLinkTitleSection-B3CVACcv-CraOpOkK.js} +3 -3
- package/dist/assets/{MailingDetailsSection-DeaanyVd-DQKkTSnq.js → MailingDetailsSection-CFBmvYV_-DKWh8ntV.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-CGGit3Ny-DKPRY5LI.js → MeetingCalenderPopup-Dd1Z-rK3-BN7CJUqh.js} +5 -5
- package/dist/assets/{Menu-BWGaQpko-B1hEJhh5.js → Menu-AlNg4aZb-ezBRMKxQ.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-Bg_ULoVa-CxqhZSCX.js → MyBankConnectionsSettingsPage-De_mXouS-CFWPRCdV.js} +9 -9
- package/dist/assets/{MyPendingActivationChargeCardListPage-DulXydFx-CskMu8cW.js → MyPendingActivationChargeCardListPage-CdDF0PA3-CqrUarF6.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-C2p1O3ct-CWNCW8b-.js → MyProfileSettingsPage-BE6GsTMH-CiY2hNHx.js} +6 -6
- package/dist/assets/{NavBarWithPicker-BCLF3DOO-BL8tDpIu.js → NavBarWithPicker-CTxQ7r97-Dg-pVfaM.js} +4 -4
- package/dist/assets/{NavigationArrow-BPrl00va-kEFRJVOf.js → NavigationArrow-DCZBdY6w-DXzWpT0y.js} +1 -1
- package/dist/assets/{NavigationDots-O0W_nmju-Bbb_MNmq.js → NavigationDots-D6hsvkMX-Dc9TKWSO.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-D6e-akD5-Bz4KL-u9.js → NewGlobalMerchantPage-D5Mo9EMy-C_x_UB26.js} +7 -7
- package/dist/assets/{NoDataChart-C9yfpsin-Sd5PCeur.js → NoDataChart-CI5rKAJf-IpywfvaI.js} +1 -1
- package/dist/assets/{NoDataTable-DKv0uhi4-DZ3R1eiz.js → NoDataTable-C4YVpnKy-bA2EH_fQ.js} +1 -1
- package/dist/assets/{NotFoundPage-B5ou4w73-BIVC4g6u.js → NotFoundPage-Dx56yYo3-CJc22lOw.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-BmrtRoZK-C4tjtLGG.js → NotificationSettingsPage-hOwPscnS-CcQKVe46.js} +8 -8
- package/dist/assets/{NotificationsListConfig-DQ4Ho61v-B_UzJqt6.js → NotificationsListConfig-DV_yEagM-CKLpxpSM.js} +1 -1
- package/dist/assets/{NotificationsPage-UraNN_iD-BYa0kjC2.js → NotificationsPage-B83do0my-DGcJO7Z-.js} +25 -25
- package/dist/assets/{OpExByVendorPage-BRPHj5T9-CJ2zs8i0.js → OpExByVendorPage-WMTGx5ZH-CmZADN9R.js} +5 -5
- package/dist/assets/{OverlayContainerPage-B8Rk53Fe-BZkbGcFB.js → OverlayContainerPage-CZaWUQTs-taUnIcxu.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-BMjOYb2a-ac2i66Bf.js → PandLWithForecastPage-DyROxN6C-DH_Ynpil.js} +9 -9
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-B38HgGEM-OQqaoswr.js → PaymentAccountSetupBillingAddressSection-CHwhW69s-PBAsz7VT.js} +7 -7
- package/dist/assets/{PeoplePage-BpMkRqCs-DXNskFpP.js → PeoplePage-DzRLyM45-C2knIeVL.js} +11 -11
- package/dist/assets/{PortfolioAllocationFormPage-tnv4t4QU-DojJmLI3.js → PortfolioAllocationFormPage-CIvcJ9hx-C0L8itY1.js} +9 -9
- package/dist/assets/{PortfolioDetails-BQCQctOT-CxWVFhWY.js → PortfolioDetails-8UvaROaS-BV0kfCx8.js} +15 -15
- package/dist/assets/{ProductsCarousel-BUJiJFiX-BHdXJVWV.js → ProductsCarousel-Di0lW14P-gv6t1pzJ.js} +3 -3
- package/dist/assets/{PromoBaseCards-DwBIZ04X-BovCTw4-.js → PromoBaseCards-zfJOT86M-Cxis92cB.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-MjldLygA-BHVMfA9u.js → QBOConnectionDialog-DYCNzDCW-XbK2K7lq.js} +4 -4
- package/dist/assets/{QBOSetupSection-BknE7gT4-B1wY7X0G.js → QBOSetupSection-DtzlFUKs-CMurUb08.js} +6 -6
- package/dist/assets/ReimbursementApprovalRuleDetailPage-DoWiv_tN-DEovISqR.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-C0Plqj93-FjbcelWF.js → ReimbursementApprovalRulesPage-Drav6sw6-CwgLZUAr.js} +40 -40
- package/dist/assets/ReimbursementDetailPage-ByCpOGLu-Dsc_sGAc.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-X_lNy9W2-BOtmzmNq.js → ReimbursementPromoPage-DOhnXgWW-DuNdw2WY.js} +8 -8
- package/dist/assets/{ReimbursementSetUpPage-DJrOp98g-C4tie5bv.js → ReimbursementSetUpPage-B6m_3OjH-BpWl6ujY.js} +4 -4
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BZL9RVfR-hNQNkikS.js → ReimbursementsBulkReviewDrawerPage-DSbjVLzo-CVRSkvAX.js} +1 -1
- package/dist/assets/{ReloadCard-aqfmXbU5-TeaWaIOz.js → ReloadCard-C7TwZcxr-vlQuHsih.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-D93qno__-BFHmbylc.js → ReportTableViewSelector-Dw5N3kLR-QNx8XxoO.js} +7 -7
- package/dist/assets/{ReportsPage-B0G-7pwv-kj0A7PNF.js → ReportsPage-Cn38qn0l-B-nkuuwa.js} +9 -9
- package/dist/assets/{RevenueChart-BRlahWs9-ClMCTsw3.js → RevenueChart-Cl6AG_A1-Da4QIV8W.js} +16 -16
- package/dist/assets/ReviewDetailsPage-DOU42eYb-DP8hDUqG.js +290 -0
- package/dist/assets/{ReviewOverlay-yCaY1z8K-Y0rYlFxy.js → ReviewOverlay-Cekl52Tp-C4ta_oQT.js} +13 -13
- package/dist/assets/{RoleWithToolTip-C--9WRHn-CSitueNW.js → RoleWithToolTip-Cxn0Q3kG-C5ZkEEHf.js} +4 -4
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-hn74AoeS-Dhn_4Mgq.js → ScheduleDetailsFixedAssetsPage-By4ikZQn-BUboWldf.js} +4 -4
- package/dist/assets/{ScheduleDetailsPage-DxdxAx1S-CIiBRojV.js → ScheduleDetailsPage-CMCqsjrb-DIQmIy8n.js} +4 -4
- package/dist/assets/{ScheduleSequenceTable-Dq0ZRi2H-D1a5nR8V.js → ScheduleSequenceTable-DNVQ2kVn-kr2CXE0a.js} +49 -49
- package/dist/assets/{ScreenRoutes-CQtuw2xr.js → ScreenRoutes-CngnFJ28.js} +1 -1
- package/dist/assets/{SetUpAccountSection-NP9u54_o-B4yTNPQs.js → SetUpAccountSection-nZ68xEMF-CKqnZuo_.js} +8 -8
- package/dist/assets/{SetUpDefaultSection-BdVOXSh8-NrinDjPO.js → SetUpDefaultSection-e5I_whKg-CWXMi4yS.js} +2 -2
- package/dist/assets/SignIn-e-7z9G0X-C1YFpsfM.js +448 -0
- package/dist/assets/{SignInScreen-BouHtcGb.js → SignInScreen-C77r6V5a.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-CfzCjazp-CLg3V-ID.js → SpendManagementListViewPage-BPfU_Lec-BnogwbnW.js} +6 -6
- package/dist/assets/{SpendManagementPerTabPage-CBOlK1hg-DEzNL2pv.js → SpendManagementPerTabPage-CIVfUAF0-7NlzZC3p.js} +48 -48
- package/dist/assets/{SpendManagementSection-DFVWVBv8-Bnfi_ZJV.js → SpendManagementSection-DilGVAEg-UyhbLf0x.js} +5 -5
- package/dist/assets/{SpendMgmtSetupAccountSection-ZPHoUnnr-Dh8eEb_J.js → SpendMgmtSetupAccountSection-BW8Ip5wi-CkkTNUfg.js} +4 -4
- package/dist/assets/{StatementItem-CwkYfX3v-Dak8ss8U.js → StatementItem-li8rxfjF-DE4xpTDg.js} +2 -2
- package/dist/assets/{StatementsPage-DpjcrDLZ-CI5Yw27o.js → StatementsPage-D0VgSNCy-Bi9vK3HK.js} +1 -1
- package/dist/assets/{StatusSwitcher-6n_dRY-n-BNMaDHq9.js → StatusSwitcher-Dhw4Hsko-VYfBZyYc.js} +2 -2
- package/dist/assets/{SubTabSwitcher-DEXr9JG8-DYl-5nkS.js → SubTabSwitcher-CaDODjQq-zPof6WQa.js} +1 -1
- package/dist/assets/{SummaryCard-DY8o3K8p-BAhmWEkq.js → SummaryCard-BZp6ZbhG-D2hcdAY2.js} +1 -1
- package/dist/assets/{TaskManagementPage-V-99_2Xz-DTPBZKOy.js → TaskManagementPage-CdzxcwSR-FTY6PAR3.js} +14 -14
- package/dist/assets/{TimeRangeSwitcher-5vzTnmwD-21oyU6e-.js → TimeRangeSwitcher-BsecxqSf-68LRPk1P.js} +6 -6
- package/dist/assets/{TimeframeSwitcher-B1ZBKWlB-DhXXrYF_.js → TimeframeSwitcher-CXQS6_Dj-pJvRjYVF.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-C8w7NoSs-BpbC3sMX.js → TimeframeSwitcherWithToggle-xUcT4SAn-Dxw3KxOM.js} +1 -1
- package/dist/assets/{TopExCard-CflRvGFb-BAjYz-Iu.js → TopExCard-DpBmbBOH-rqB_17zU.js} +5 -5
- package/dist/assets/{TopExDetailPage-BNouRPM_-Fc2qW_d-.js → TopExDetailPage-CXYcu4vC-BudfE4e2.js} +21 -21
- package/dist/assets/{TransactionDetailPage-uJRfI4fh-DesqTbc7.js → TransactionDetailPage-C-oGYPM2-XIgrFLJc.js} +23 -23
- package/dist/assets/{TransactionList-C--m4NRu-UliJnI2L.js → TransactionList-d0Qe-D7V-BamSxQ9h.js} +9 -9
- package/dist/assets/{TransactionListBig-Cbf9p6a1-DD-Iltyn.js → TransactionListBig-By3GVBgG-Jvz7Xg_z.js} +11 -11
- package/dist/assets/{TransactionListPage-BXQ4Ig8E-twBFfLzE.js → TransactionListPage-ChIGfg3A-ZqEGHvAv.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-CKdVogwj-DhA4vkZ6.js → TransactionVendorDetailPage-D3stMRFF-C_IPHvl6.js} +3 -3
- package/dist/assets/{TransferDrawerPage-BS3lnMMA-D7Uz75yc.js → TransferDrawerPage-QVYSxd-3-BFQ5htQm.js} +22 -22
- package/dist/assets/{TreasuryOverviewPage-U1p6PrnG-BGJad2Km.js → TreasuryOverviewPage-CumKNGbQ-CAGR3hz2.js} +12 -12
- package/dist/assets/{TreasuryPromoPage-C2wmo0Ex-BmAmX39K.js → TreasuryPromoPage-H2Zbw_Yg-DMBJJl3b.js} +8 -8
- package/dist/assets/{TreasurySetupPage-CMl-qGhi-CNu0Qcao.js → TreasurySetupPage-BtUIYjn_-BvLlmakc.js} +4 -4
- package/dist/assets/{TreasuryStatementsPage-BdmLrhA5-D4Nu2ddG.js → TreasuryStatementsPage-B04Ze6pO-DBs8NMkW.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-Q7prcczk-D25azc_v.js → TreasuryTaxLetterPage-D95U9592-A4FKzQli.js} +1 -1
- package/dist/assets/{TreasuryTransferOrReviewPage-CwvijEQN-Bwp2pRyY.js → TreasuryTransferOrReviewPage-BhHf8lnF-DBq27s-a.js} +91 -91
- package/dist/assets/{TrendChart-SEWDcga_-BO99NbSF.js → TrendChart-BkdPYoj4-D9rpAM75.js} +4 -4
- package/dist/assets/{TrendWithTransactions-CgSaPEFh-CYd6HAWr.js → TrendWithTransactions-CWgoVTcb-CGbGhBS1.js} +4 -4
- package/dist/assets/{UncategorizedAccountsMappingPage-7LqO7hHL-BDugIDym.js → UncategorizedAccountsMappingPage-LdRZIYp5-BtaeEGaz.js} +10 -10
- package/dist/assets/{UnitIntegrationPage--jgHD8q1-S0pNI1GJ.js → UnitIntegrationPage-Ms9BFSjK-PPYprz9i.js} +4 -4
- package/dist/assets/UploadAdditionalDocumentOverlay-D6x4OGXl-CxKK3Ose.js +38 -0
- package/dist/assets/{Vendor2FAPopup-B0fwm9Q3-DbiowxgB.js → Vendor2FAPopup-UmgHYXvP-pOrgh_fD.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-BzgsncOJ-D-wRcBTA.js → VendorACHDetailsPage-B3mdoPp8-DRr-74cL.js} +1 -1
- package/dist/assets/{VendorDetailPage-CA3LTIGq-BWmGwvj9.js → VendorDetailPage-Cj6U1nII-BSRlPQ6y.js} +12 -12
- package/dist/assets/{VendorDomesticWireDetailsPage-Ch42jvVt-Mj8sx7lI.js → VendorDomesticWireDetailsPage-BrZCPlAd-BL-hjFrP.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-QjRWxn7V-CX1a7DDS.js → VendorFiling1099EditablePage-TUixssYI-v6dW0vMN.js} +12 -12
- package/dist/assets/{VendorFirstReviewPage-C-ONdLcA-B0_m6y9f.js → VendorFirstReviewPage-BlUNcGLE-B0NOpsas.js} +44 -44
- package/dist/assets/{VendorInternationalWireDetailsPage-qDx2aiDq-a0VdSR9P.js → VendorInternationalWireDetailsPage-DhHWsAne-VClJg3R1.js} +10 -10
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DICOFwMp-qejyR4Yy.js → VendorInternationalWireSwiftDetailsPage-CIvevemJ-Cnw2il7s.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-D0f3TRGG-D68uFCzI.js → VendorsAccountsSection-viRwhErR-BEJjt5C_.js} +4 -4
- package/dist/assets/{VerifyDevice-BMtMcC41-Dbg2e_4c.js → VerifyDevice-l7opea4l-BtT1vRFj.js} +2 -2
- package/dist/assets/{VideoPlayer-DKMO88LY-CpdcOtzz.js → VideoPlayer-BBVi4SOz-9SgJ3yaM.js} +1 -1
- package/dist/assets/{VideoPopup-2z3T5Lnh-DpdsoCXa.js → VideoPopup-CmXRuhQp-5r314mYD.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-yRdYuhLZ-Rl0k4Hgw.js → WarningsDrawerPage-Ckg9AVsj-B9emohJx.js} +2 -2
- package/dist/assets/{ZeniAccountDetailPage-ISiEkizf-DqMBVEzK.js → ZeniAccountDetailPage-B-jNA-tI-ms245E2y.js} +25 -25
- package/dist/assets/{ZeniAccountListViewPage-BTrvu_w1-CvQRO_G0.js → ZeniAccountListViewPage-oBGTDIBN-C9aSAN9Z.js} +8 -8
- package/dist/assets/ZeniAccountNavBarPieces-JScxmkmi-BP103W6l.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-Dac1THyO-Cwp-e4be.js → ZeniAccountPromoPage-BHzfVbtI-P2leDJcs.js} +20 -20
- package/dist/assets/{ZeniAccountSetupPage-ZSfjnq4--Cch7x_8N.js → ZeniAccountSetupPage-DD_QA8h8-DpmP7jf1.js} +4 -4
- package/dist/assets/{ZeniCopyright-C4Hdl7V0-Ca9rvA1h.js → ZeniCopyright-BPSL51G5-DcEAxBC-.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-CAiR-tiF-D35xHKkQ.js +63 -0
- package/dist/assets/{analyticsHelper-Cf24DjyD.js → analyticsHelper-CnRA1Gcw.js} +1 -1
- package/dist/assets/{analyticsHelper-CaxfROfX-BJw_t2lW.js → analyticsHelper-kwNg2DUZ-Bg-BVsZB.js} +1 -1
- package/dist/assets/{chartTypes-CQLwj1wn-DieV0CBv.js → chartTypes-CCFDB3ft-gWEy54C4.js} +1 -1
- package/dist/assets/{commonDimensions-BqqLiZ_H-B0_d-72y.js → commonDimensions-FafZVRxo-CSxm8Nzu.js} +1 -1
- package/dist/assets/{detailCommon-_wteS7vQ-C_UD8u6z.js → detailCommon-Bk08SAcF-CmJo8a2_.js} +7 -7
- package/dist/assets/{downloadPdf-DqURwcIt-CmMnbB-x.js → downloadPdf-Bj4Y4BB4-D1l-PLqG.js} +1 -1
- package/dist/assets/{index-BkGkQn7J.js → index-dX8TSOm6.js} +72 -72
- package/dist/assets/{mapLoadingInProgressToTreeNode-kidLNkmQ-CU04H-qr.js → mapLoadingInProgressToTreeNode-Cx24jJa--D8U4jxjz.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BSUhjNT5-J3kjBIi7.js → mapSectionWithAcOnlyToTreeNode-BRxefLX_-DoZmzx4J.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-m5nGTY8W-trYJ4bob.js → mapSpacerToTreeNode-VUbus-r3-pBb-m1M8.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-D5QkbXkx-D1QrAIga.js → mapTimeframeBalancesToTreeNode-B6aAv6pB-C6UbW4bf.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CHHGNXiT-D9Kz1L-n.js → mapTimeframeBalancesToTreeNode-CSScIc2H-CNAuSnEW.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-o4l_IoBF-BIaJA13t.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DBDE1nuS-CTldXama.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-bhm-pCR2-Cjf_xcN8.js → toCOABalancesWithID-M4gPqViI-CcaXT71y.js} +1 -1
- package/dist/assets/{toChartData-3h9AvMdw-BtuTX52b.js → toChartData-CrsGFSA1-DRCqW50O.js} +1 -1
- package/dist/assets/{treasuryColorHelper-CJ61L8mT-DGtx7Czf.js → treasuryColorHelper-B8Evc_xJ-C2M6xUma.js} +1 -1
- package/dist/assets/{uploadAttachment-Bf61v1Xo-BdDTy9wy.js → uploadAttachment-PM-_GgYg-CTQQfxMY.js} +3 -3
- package/dist/assets/{uploadReceipts-CPeNTSex-B9QC1Ib6.js → uploadReceipts-B3-z3hJ9-DECDgzHp.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AddAddressForCardDrawer-BZ0RCcja-DeN0wdYs.js +0 -6
- package/dist/assets/AttachmentView-CdNQ2xWp-Bvpk1SdZ.js +0 -101
- package/dist/assets/BillPaySetUpPage-mD_IeiJx-C2AEnkkH.js +0 -42
- package/dist/assets/BusinessVerificationPage-CXxO69rJ-B2xvcQL_.js +0 -140
- package/dist/assets/CheckDepositDrawerPage-DSR4fX1u-B41Tuwd0.js +0 -206
- package/dist/assets/CompanyPassportCard-D1Qw3xp1-BcKy74pq.js +0 -42
- package/dist/assets/CustomerOnboardingContainerPage-gA22hWiI-zVgsGpbA.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-r85EAGP9-DFBVNcDX.js +0 -66
- package/dist/assets/CustomerOnboardingProductSuitePage-DjNvBda4-BxY-0AsA.js +0 -202
- package/dist/assets/EditPeoplePage-DF_58Z4U-DoX8iNFa.js +0 -55
- package/dist/assets/ExpenseAutomationOverviewPage-DleEJVpj-D4jVCqMP.js +0 -222
- package/dist/assets/HelpButton-CzyBnp0B-ChA2L75P.js +0 -28
- package/dist/assets/InsightsCardStack-DJQ_W9fy-Bkv78BK1.js +0 -79
- package/dist/assets/InvitePeoplePage-BN0ktc82-BLO9Ep-Z.js +0 -12
- package/dist/assets/InvoiceUploadSection-BQgfwgdt-DRCL-kG6.js +0 -140
- package/dist/assets/LabeledAddressValueField-Dg0TLzPn-C8l26S45.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-DJSFmpIX-C25AJyD4.js +0 -16
- package/dist/assets/LabeledDocumentField-BT7CRAVI-BPUiB9Ug.js +0 -41
- package/dist/assets/LockCardPage-Cv7cc2yv-DzSZdmRI.js +0 -558
- package/dist/assets/ReimbursementApprovalRuleDetailPage-DH75g3pT-WgQ1f6n1.js +0 -26
- package/dist/assets/ReimbursementDetailPage-DNaaqXYR-fQnzyGQt.js +0 -314
- package/dist/assets/ReviewDetailsPage-DaLjRiFW-DH1pO3BU.js +0 -290
- package/dist/assets/SignIn-nUeTTVKC-CJvTPeOF.js +0 -329
- package/dist/assets/UploadAdditionalDocumentOverlay-D2Tin1CX-S9tpm7GT.js +0 -38
- package/dist/assets/ZeniAccountNavBarPieces-C3IR1FEp-39hGD_At.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-Co5sY7gl-BoVHF7sd.js +0 -63
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
import{Q as At,k as Mt,e as Rt,u as Pt,bM as Bt,C as m,M as Je,l as ie,fR as Nt,fT as Lt,fU as _t,j as t,bY as ze,bZ as Ae,b_ as Me,a2 as y,a_ as Re,aN as Ot,dv as Wt,fV as Et,g4 as Pe,o as a,fW as Be,cY as b,c_ as w,fZ as x,a3 as Ne,cX as Le,$ as F,f$ as _e,a7 as Ft,q as Ut,g0 as Kt,g1 as ae,aW as Vt,g2 as Yt,a6 as Gt,b as Ht,c as qt,s as et,ar as tt,g as U,m as Xt,bt as Qt,w as Zt,gj as Jt,gf as ei,r as c,bR as ti,cu as ii}from"./index-dX8TSOm6.js";import{b as p,n as r}from"./vendor-rkTZJa59.js";import{_ as ai}from"./liveblocks-CP09Cz-7.js";import ri from"./InvoiceUploadSection-C84g6m-u-CTBUGTYr.js";import{r as oi,h as f,u as ni}from"./types-DyvtCprH-BcZYcgaq.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./crypto-CK3r1iTV.js";import"./AttachmentView-D9MocUS9-BtgOsoHb.js";import"./uploadReceipts-B3-z3hJ9-DECDgzHp.js";const l={labelWidth:new m(120,160,160),largeLabelWidth:new m(150,235,235),rightMargin:new m(c[3],c[8]),leftMargin:new m(c[3],c[6]),invoiceRightMargin:new m(c[3],c[6]),invoiceLeftMargin:new m(c[3],c[8]),topMargin:new m(c[3],0),bottomMargin:new m(c[4],27),activityBottomMargin:new m(96,0),totalBottomMargin:new m(c[5],c[3]),formBottomMargin:new m(c[5],c[3]),navBarHeight:new m(44,62),closeMarginTop:new m(0,0),rightSectionWidth:new m(100,58),leftSectionWidth:new m(100,42),footerButtonWidth:new m(120,165),right:new m(c[3],c[0]),actionsContainerRight:new m(c[0],c[6]),otherActionsContainerBottom:new m(58,44),duplicateBannerWrapperMarginTop:new m(c[5],c[3]),duplicateBannerWrapperMarginRight:new m(c[3],c[8]),duplicateBannerWrapperMarginBottom:new m(c[5],c[3]),duplicateBannerWrapperMarginLeft:new m(c[3],c[6])},li={formTitle:new Ht("h6Regular","h5Regular")},ia=({remiDetails:e,uploadInvoiceEndPoint:K,authParams:it,isAdmin:oe,signedInUser:ne,showApproveRejectBtns:le,isRealTimeApprovalEnabled:se,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:de,isSignedInUserReimbursementCreator:at,updateEditRealTimeApproverClicked:ce,onSaveRealTimeApprovals:me,redirectToReimbursementListScreen:V,redirectToEditableReimbursementScreen:rt,onDuplicateLineClick:ot,approveOrRejectRemi:pe,deleteReimbursement:nt,cancelAndDeleteReport:ue,handleZeniLogoClick:lt,onAddNewRule:he})=>{const d=At(),st=Mt().analytics,o=Rt(),ye=Pt(),[dt,k]=p.useState(!1),[Y,G]=p.useState(!1),[ct,H]=p.useState(!1),[q,X]=p.useState("approved"),P=p.useRef(null),[S,Q]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[C,mt]=p.useState(null),[pt,B]=p.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,ge=p.useRef({}),be=s=>{const n=ge.current[s];n!=null&&setTimeout(()=>ni(n,P.current),100)};p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&V()},[e,V]),p.useEffect(()=>{const s=window.location.hash;if(s&&s.startsWith("#L")){const n=s.substring(1);be(n)}},[]);const ut=()=>{V()};Bt({componentName:"reimbursement.details"});const ht={onOkClick:()=>{k(!1),S.primaryButtonText===i.buttons.delete?nt?.():S.title===i.cancelReportTitle?ue?.():S.title===i.cancelAndDeleteReportTitle&&ue?.(!0)},onCancelClick:()=>{k(!1)}},I=l.labelWidth.value(o),z=l.largeLabelWidth.value(o),we=Je.getLocalizedStrings(),{common:{texts:{comments:yt},strings:{empty:xe}},collaboration:{threads:{placeholder:{addANewComment:gt,replyAComment:bt},tooltip:{resolveComment:wt,unResolveComment:xt}}},dateFormat:fe}=we,{reimbursementDetail:i,bulkActions:N}=we.spendManagement.reimbursement,Z=e.remiDetails?.reportTitle,j=e.remiDetails?.lines??[],L=e.remiDetails?.reimbursementInfo.stage,_=e.remiDetails?.reimbursementInfo.billStatus,O=e.remiDetails?.reimbursementInfo.billPaymentStatus,$e=L?.code==="paid",ft=$e?L:_?.code=="approved"&&O?.code?O:_,$=si(e.remiDetails),A=_?.code=="approved"&&O?.code?O:_,W=e.remiDetails?.isDeleted??!1,ve=e.remiDetails?.amount,Te=e.remiDetails?.amount.amount??0,je=()=>{Q({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),k(!0)},$t=()=>{Q({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),k(!0)},vt=()=>{Q({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),k(!0)},Se=()=>{rt()},Tt={onOkClick:s=>{H(!1),pe({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:s})},onCancelClick:()=>{H(!1)}},jt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?Se():(X("approved"),pe({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},St=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(X("delete"),je()):(X("rejected"),H(!0))},It=e.remiDetails?.reimbursementInfo.paymentDate!=null?ie.zeniDate(ie.getNextNthWorkingDay(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,J=e.remiDetails?.reimbursementInfo.expectedDepositDate??It,Ie=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&at,Dt=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ee=ft?.code,Ct=oi(e.duplicateLineByLineId),De=e.duplicateReimbursementStatus.fetchState==="Completed"&&Ct>0,{requestToOpenThread:te,setRequestToOpenThread:Ce,setOpenThread:E}=p.useContext(Nt),{threads:M,isLoading:D}=Lt({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),kt=p.useMemo(()=>M.filter(s=>s.resolved===!1&&!s.id.includes(_t)),[M]).length,zt=p.useCallback((s,n)=>{E(n),B(!1)},[E,B]);p.useEffect(()=>{te?.threadId!=null&&M.length>0&&!D&&(E(te.threadId),Ce(null))},[te,M,D,E,Ce]);const g={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},R=ie.isBulkProcessing(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Bi,{windowSize:o,ref:P,children:[dt?t.jsx(ze,{titleComponent:t.jsx(Me,{children:S.title}),descriptionComponent:t.jsx(Ae,{children:S.description}),primaryButtonText:S.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:S.secondaryButtonText,action:ht}):null,ct?t.jsx(ze,{titleComponent:t.jsx(Me,{children:`${i.rejectRemiTitlePrefix} ${e.remiDetails?.reportTitle??""} by ${e.createdBy?.firstName??""} ${e.createdBy?.lastName??""}`}),descriptionComponent:t.jsx(Ae,{children:i.rejectRemiDescription}),primaryButtonText:i.buttons.send,secondaryButtonText:i.buttons.cancel,action:Tt,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Ci,{windowSize:o,"data-testid":y("reimbursement-detail-page-nav-bar-container"),children:[o!=="small"?t.jsx(Re,{"data-testid":y("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(ki,{onClick:()=>lt?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ye.colors.background,keepBackgroundOnScroll:!0,scrollableContent:P,source:"ReimbursementDetailPage"}):null,o!=="small"?t.jsx(Si,{}):null,t.jsx(Re,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:Z??xe,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:o!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Ai,{children:[u?t.jsxs(Mi,{isDisabled:D,onClick:D?()=>null:s=>{s.preventDefault(),s.stopPropagation(),mt({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),B(!0),st.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(n=>Wt(n)),void 0,void 0,"page icon")},"data-testid":y("remi-comments-section"),children:[t.jsx(Ot,{count:D?void 0:kt,isLoading:D,style:{left:"12px"}}),t.jsx(Ri,{})]}):null,t.jsx(Pi,{size:o,onClick:()=>ut(),"data-testid":y("remi-detail-page-close"),children:t.jsx(zi,{})})]}),scrollableContent:P,enableTitleOnScroll:o!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Fi,{children:[o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(He,{windowSize:o,children:t.jsx(qe,{windowsSize:o,children:Z})}),e.createdBy?.userId!=null?t.jsx(Ke,{windowSize:o,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,de&&$!=null?t.jsx(Ve,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null,A?.code!=null?o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Et,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:J,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W}),R?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:N.duplicateWarning.title,description:N.duplicateWarning.description}):De?t.jsxs(Oe,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):t.jsx(Ge,{windowSize:o,children:t.jsx(Be,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:J,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W})}):null]}):null,j.map((s,n)=>{const v=e.duplicateLineByLineId[s.lineId];return t.jsxs(Ze,{windowSize:o,children:[t.jsx(Oi,{windowSize:o,children:t.jsx(Wi,{bottomSeperator:j.length!==1,windowSize:o,children:t.jsx(ri,{showAutofill:!1,uploadInvoiceEndPoint:K,authParams:it,entityId:e.remiDetails?.id,file:s.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:j.length>1?`#${n+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:j.length-1===n||n===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"receipt"})})}),t.jsxs(_i,{windowSize:o,children:[n===0&&o!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(He,{windowSize:o,children:[t.jsx(qe,{windowsSize:o,children:Z}),de&&$!=null?t.jsx(Ve,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ke,{windowSize:o,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,A?.code!=null?t.jsx(Ge,{windowSize:o,children:t.jsx(Be,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:J,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W})}):null,R?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:N.duplicateWarning.title,description:N.duplicateWarning.description}):De?t.jsxs(Oe,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(hi,{windowSize:o,ref:ke=>{ke!=null&&(ge.current[`L${s.lineId}`]=ke)},children:[o!=="small"?t.jsx(ui,{children:t.jsx(yi,{children:j.length>1?`#${n+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(gi,{windowSize:o,children:[v?.duplicateLineId!=null?t.jsxs(mi,{children:[i.thisExpenseReview," ",t.jsx(pi,{onClick:()=>{if(v.isDuplicateWithinTransaction&&v.duplicateLineId!=null)return be(`L${v.duplicateLineId}`);v.duplicateTransactionId!=null&&v.duplicateLineId!=null&&ot(v.duplicateTransactionId,v.duplicateLineId)},"data-testid":y("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:s.type===i.mileageKey?`${n}.mileage.reimbursementType`:`${n}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("reimbursementType",n,s.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"},children:t.jsx(x,{label:{label:i.reimbursementType,width:z},text:s.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(T,{}),s.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"mileage")}`},children:t.jsx(x,{label:{label:i.transactionDate,width:z},text:s.transactionDate?.format(fe.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("distanceInMiles",n,"mileage")}`},children:t.jsx(x,{label:{label:i.distanceInMiles,width:z},text:s.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"mileage")}`},children:t.jsx(x,{label:{label:i.amount,width:I},text:s.homeCurrencyConversions!=null?Ne("0,0[.]00",s.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"mileage")}`},children:t.jsx(x,{label:{label:i.memo,width:I},text:s.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"mileage")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(x,{label:{label:i.department,width:I},text:s.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("merchant",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.merchant,width:z},text:s.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.transactionDate,width:z},text:s.transactionDate?.format(fe.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.amount,width:I},text:s.homeCurrencyConversions!=null?Ne("0,0[.]00",s.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.memo,width:I},text:s.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("account",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.category,width:I},text:s.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"out_of_pocket")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(x,{label:{label:i.department,width:I},text:s.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]})]})]}),j.length!==1&&j.length===n+1&&t.jsxs(Li,{windowSize:o,children:[t.jsxs(Xe,{windowSize:o,children:[t.jsx(Qe,{children:i.total}),t.jsx(Le,{amount:ve,integerStyles:F.h6Regular.cssObject,decimalStyles:F.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(_e,{amount:Te,activities:e.remiActivities,stage:L?.code??"draft",onAddNewRule:he,entity:"reimbursement",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,allAccountingClass:e.allAccountingClasses,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:oe,signedInUserId:ne?.userId,showRealTimeApproval:se,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:ce,onSaveRealTimeApprovals:me},historicActivities:e.remiHistory.activities})]})]})]},s.lineId)}),j.length===1&&t.jsxs(Ze,{windowSize:o,children:[t.jsx(Ye,{}),t.jsxs(di,{windowSize:o,children:[t.jsx(Ni,{windowSize:o,children:t.jsxs(Xe,{windowSize:o,children:[t.jsx(Qe,{children:i.total}),t.jsx(Le,{amount:ve,integerStyles:F.h6Regular.cssObject,decimalStyles:F.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(ci,{windowSize:o,children:t.jsx(_e,{amount:Te,activities:e.remiActivities,stage:L?.code??"draft",onAddNewRule:he,entity:"reimbursement",historicActivities:e.remiHistory.activities,realTimeApproval:{allApprovers:e.filteredApprovers,allAccountingClass:e.allAccountingClasses,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:oe,signedInUserId:ne?.userId,showRealTimeApproval:se,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:ce,onSaveRealTimeApprovals:me}})})]})]}),t.jsx(Ei,{})]}),$e||W===!0?null:t.jsxs(Di,{children:[o!=="small"?t.jsx(Ye,{}):null,t.jsx(wi,{windowSize:o,"data-testid":y("remi-detail-page-footer"),onClick:s=>{s.stopPropagation(),Y===!0&&G(!1)},children:t.jsx(Ft,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||le,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||le,cancelBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.delete:i.buttons.deleteReport:o==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:q==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||q==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:St,style:{width:l.footerButtonWidth.value(o)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.edit:i.buttons.editAndResubmit:o==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:q==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:jt,style:{width:l.footerButtonWidth.value(o)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx(bi,{children:t.jsxs(Ii,{windowSize:o,children:[!R&&Y?t.jsx(Ut,{onClickAway:()=>G(!1),children:t.jsxs(ji,{windowSize:o,children:[ee!=="processing"?t.jsx(re,{onClick:je,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ee==="processing"?t.jsx(re,{onClick:$t,"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ee==="processing"?t.jsx(re,{onClick:vt,"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Ti,{windowSize:o,children:[!R&&Ie===!0?t.jsx(vi,{onClick:Se,"data-testid":y("remi-edit-button"),children:t.jsx($i,{})}):null,!R&&Dt===!0?t.jsx(fi,{windowSize:o,showEditIcon:Ie,children:t.jsx(xi,{onClick:()=>G(!Y),"data-testid":y("remi-more-actions-button")})}):null]})]})}),style:{minHeight:62}})})]}),u?t.jsx(ai,{id:h,children:t.jsx(Kt,{isDrawerOpen:pt,allowComposer:!0,drawerTitle:yt,threads:M,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:C?.companyId??xe,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:C?{companyName:C.companyName,companyId:C.companyId,entityId:C.entityId,entityType:C.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:gt,replyComposerPlaceholder:bt,threadResolve:wt,threadUnResolve:xt},onThreadClick:(s,n)=>zt(s,n),onCloseAllThreadsDrawer:()=>B(!1),drawerSectionStyle:{width:"400px",backgroundColor:ye.colors.background}})}):null]})},si=e=>{const K=Je.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:K.tabsById.deleted,color:ae.deleted.color,bgColor:ae.deleted.bgColor,borderColor:ae.deleted.borderColor,code:"deleted"}},di=r.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
width: ${e=>l.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
5
|
+
`,ci=r.div`
|
|
6
|
+
margin-left: ${e=>l.leftMargin.valuePx(e.windowSize)};
|
|
7
|
+
margin-right: ${e=>l.rightMargin.valuePx(e.windowSize)};
|
|
8
|
+
margin-bottom: ${e=>l.activityBottomMargin.valuePx(e.windowSize)};
|
|
9
|
+
`,mi=r(Xt)`
|
|
10
|
+
padding: ${a.sp2} ${a.sp0} ${a.sp2} ${a.sp4};
|
|
11
|
+
background-color: ${U.alertLight};
|
|
12
|
+
color: ${U.brandColorGoldDark};
|
|
13
|
+
border-top-left-radius: inherit;
|
|
14
|
+
border-top-right-radius: inherit;
|
|
15
|
+
`,pi=r.span`
|
|
16
|
+
border-bottom: 1px solid currentColor;
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
`,Oe=r.div`
|
|
19
|
+
display: flex;
|
|
20
|
+
gap: ${a.sp2};
|
|
21
|
+
padding: ${a.sp3};
|
|
22
|
+
border-radius: ${a.sp2};
|
|
23
|
+
align-items: start;
|
|
24
|
+
margin-top: ${e=>l.duplicateBannerWrapperMarginTop.valuePx(e.size)};
|
|
25
|
+
margin-right: ${e=>l.duplicateBannerWrapperMarginRight.valuePx(e.size)};
|
|
26
|
+
margin-bottom: ${e=>l.duplicateBannerWrapperMarginBottom.valuePx(e.size)};
|
|
27
|
+
margin-left: ${e=>l.duplicateBannerWrapperMarginLeft.valuePx(e.size)};
|
|
28
|
+
background-color: ${U.alertLight};
|
|
29
|
+
border: 1px solid ${e=>e.theme.colors.brandColorGoldDark};
|
|
30
|
+
`,We=r(ti)`
|
|
31
|
+
color: ${e=>e.theme.colors.brandColorGoldDark};
|
|
32
|
+
`,Ee=r.div`
|
|
33
|
+
width: 100%;
|
|
34
|
+
`,Fe=r(et)`
|
|
35
|
+
color: ${e=>e.theme.colors.brandColorGoldDark};
|
|
36
|
+
`,Ue=r(ii)`
|
|
37
|
+
width: ${a.sp4};
|
|
38
|
+
height: ${a.sp4};
|
|
39
|
+
color: ${U.brandColorGoldDark};
|
|
40
|
+
`,Ke=r(et)`
|
|
41
|
+
margin-bottom: ${e=>l.bottomMargin.valuePx(e.windowSize)};
|
|
42
|
+
margin-left: ${e=>l.leftMargin.valuePx(e.windowSize)};
|
|
43
|
+
margin-right: ${e=>l.rightMargin.valuePx(e.windowSize)};
|
|
44
|
+
color: ${e=>e.theme.colors.primary};
|
|
45
|
+
`,ui=r.div`
|
|
46
|
+
display: flex;
|
|
47
|
+
justify-content: space-between;
|
|
48
|
+
`,hi=r.div`
|
|
49
|
+
margin-left: ${e=>l.leftMargin.valuePx(e.windowSize)};
|
|
50
|
+
margin-right: ${e=>l.rightMargin.valuePx(e.windowSize)};
|
|
51
|
+
`,yi=r(tt)`
|
|
52
|
+
color: ${e=>e.theme.colors.primary};
|
|
53
|
+
margin-bottom: ${a.sp3};
|
|
54
|
+
`,gi=r.div`
|
|
55
|
+
display: flex;
|
|
56
|
+
flex-direction: column;
|
|
57
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
58
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
59
|
+
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
60
|
+
border-radius: ${a.sp2};
|
|
61
|
+
margin-bottom: ${e=>l.formBottomMargin.valuePx(e.windowSize)};
|
|
62
|
+
z-index: 3;
|
|
63
|
+
`,bi=r.div`
|
|
64
|
+
display: flex;
|
|
65
|
+
justify-content: flex-end;
|
|
66
|
+
`,wi=r.div`
|
|
67
|
+
width: ${e=>l.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
68
|
+
`,xi=r(ei)`
|
|
69
|
+
cursor: pointer;
|
|
70
|
+
color: ${e=>e.theme.colors.hero};
|
|
71
|
+
width: ${a.sp5};
|
|
72
|
+
height: ${a.sp5};
|
|
73
|
+
&:hover {
|
|
74
|
+
color: ${e=>e.theme.colors.primary};
|
|
75
|
+
}
|
|
76
|
+
`,fi=r.div`
|
|
77
|
+
display: flex;
|
|
78
|
+
margin-left: ${e=>e.windowSize==="small"?e.showEditIcon===!0?a.sp3:a.sp4:a.sp5};
|
|
79
|
+
cursor: pointer;
|
|
80
|
+
color: ${e=>e.theme.colors.grey1};
|
|
81
|
+
&:hover {
|
|
82
|
+
color: ${e=>e.theme.colors.primary};
|
|
83
|
+
}
|
|
84
|
+
`,$i=r(Jt)`
|
|
85
|
+
cursor: pointer;
|
|
86
|
+
color: ${e=>e.theme.colors.hero};
|
|
87
|
+
width: ${a.sp5};
|
|
88
|
+
height: ${a.sp5};
|
|
89
|
+
&:hover {
|
|
90
|
+
color: ${e=>e.theme.colors.primary};
|
|
91
|
+
}
|
|
92
|
+
`,vi=r.div`
|
|
93
|
+
display: flex;
|
|
94
|
+
cursor: pointer;
|
|
95
|
+
color: ${e=>e.theme.colors.grey1};
|
|
96
|
+
margin-left: ${a.sp4};
|
|
97
|
+
&:hover {
|
|
98
|
+
color: ${e=>e.theme.colors.primary};
|
|
99
|
+
}
|
|
100
|
+
`,Ve=r(tt)`
|
|
101
|
+
display: flex;
|
|
102
|
+
color: ${e=>e.borderColor};
|
|
103
|
+
align-items: center;
|
|
104
|
+
justify-content: flex-end;
|
|
105
|
+
margin-left: ${a.sp3};
|
|
106
|
+
padding: 1px 6px 1px 6px;
|
|
107
|
+
border: ${e=>`1px solid ${e.borderColor}`};
|
|
108
|
+
border-radius: ${a.sp1};
|
|
109
|
+
min-width: fit-content;
|
|
110
|
+
max-width: fit-content;
|
|
111
|
+
`,Ti=r.div`
|
|
112
|
+
display: flex;
|
|
113
|
+
justify-content: center;
|
|
114
|
+
align-items: center;
|
|
115
|
+
`,ji=r.div`
|
|
116
|
+
display: flex;
|
|
117
|
+
width: max-content;
|
|
118
|
+
align-items: center;
|
|
119
|
+
justify-content: center;
|
|
120
|
+
flex-direction: column;
|
|
121
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
122
|
+
color: ${e=>e.theme.colors.hero};
|
|
123
|
+
cursor: pointer;
|
|
124
|
+
padding-top: ${a.sp1};
|
|
125
|
+
padding-bottom: ${a.sp1};
|
|
126
|
+
position: absolute;
|
|
127
|
+
bottom: ${e=>l.otherActionsContainerBottom.valuePx(e.windowSize)};
|
|
128
|
+
z-index: 3;
|
|
129
|
+
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
130
|
+
border-radius: ${a.sp1};
|
|
131
|
+
right: ${e=>l.right.valuePx(e.windowSize)};
|
|
132
|
+
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.grey1} 3D`};
|
|
133
|
+
`,Si=r.div`
|
|
134
|
+
position: fixed;
|
|
135
|
+
top: 0;
|
|
136
|
+
left: 42vw;
|
|
137
|
+
width: 100%;
|
|
138
|
+
height: 100vh;
|
|
139
|
+
background: transparent;
|
|
140
|
+
box-shadow: 0 2px ${a.sp1} ${({theme:e})=>e.colors.dropShadowNormal};
|
|
141
|
+
pointer-events: none;
|
|
142
|
+
z-index: 1;
|
|
143
|
+
`,Ii=r.div`
|
|
144
|
+
width: auto;
|
|
145
|
+
justify-content: flex-end;
|
|
146
|
+
position: ${e=>e.windowSize==="small"?"static":"relative"};
|
|
147
|
+
right: ${e=>l.actionsContainerRight.valuePx(e.windowSize)};
|
|
148
|
+
height: 100%;
|
|
149
|
+
display: flex;
|
|
150
|
+
`,re=r(Zt)`
|
|
151
|
+
display: flex;
|
|
152
|
+
align-items: center;
|
|
153
|
+
width: 100%;
|
|
154
|
+
padding-left: ${a.sp3};
|
|
155
|
+
padding-right: ${a.sp3};
|
|
156
|
+
height: ${a.sp6};
|
|
157
|
+
box-sizing: border-box;
|
|
158
|
+
&:hover {
|
|
159
|
+
background-color: ${e=>e.theme.colors.background};
|
|
160
|
+
}
|
|
161
|
+
`,Di=r.div`
|
|
162
|
+
display: flex;
|
|
163
|
+
width: 100%;
|
|
164
|
+
position: sticky;
|
|
165
|
+
bottom: 0;
|
|
166
|
+
z-index: 2;
|
|
167
|
+
`,Ci=r.div`
|
|
168
|
+
min-height: ${e=>l.navBarHeight.valuePx(e.windowSize)};
|
|
169
|
+
height: ${e=>l.navBarHeight.valuePx(e.windowSize)};
|
|
170
|
+
display: flex;
|
|
171
|
+
align-items: center;
|
|
172
|
+
width: 100%;
|
|
173
|
+
justify-content: space-between;
|
|
174
|
+
position: fixed;
|
|
175
|
+
z-index: 4;
|
|
176
|
+
`,ki=r(Vt)`
|
|
177
|
+
color: ${e=>e.theme.colors.brandColorJade};
|
|
178
|
+
cursor: pointer;
|
|
179
|
+
width: ${a.sp4};
|
|
180
|
+
height: ${a.sp4};
|
|
181
|
+
`,T=r.div`
|
|
182
|
+
display: flex;
|
|
183
|
+
flex: 1;
|
|
184
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
185
|
+
min-height: 1px;
|
|
186
|
+
max-height: 1px;
|
|
187
|
+
`,zi=r(Gt)`
|
|
188
|
+
cursor: pointer;
|
|
189
|
+
width: ${a.sp4};
|
|
190
|
+
height: ${a.sp4};
|
|
191
|
+
float: right;
|
|
192
|
+
color: ${e=>e.theme.colors.hero};
|
|
193
|
+
&:hover {
|
|
194
|
+
color: ${e=>e.theme.colors.primary};
|
|
195
|
+
}
|
|
196
|
+
`,Ai=r.div`
|
|
197
|
+
margin-top: ${e=>l.closeMarginTop.valuePx(e.windowSize)};
|
|
198
|
+
display: flex;
|
|
199
|
+
float: right;
|
|
200
|
+
`,Mi=r.div`
|
|
201
|
+
display: flex;
|
|
202
|
+
align-items: center;
|
|
203
|
+
justify-content: center;
|
|
204
|
+
position: relative;
|
|
205
|
+
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
206
|
+
color: ${e=>e.theme.colors.hero};
|
|
207
|
+
&:hover {
|
|
208
|
+
color: ${e=>e.theme.colors.primary};
|
|
209
|
+
}
|
|
210
|
+
`,Ri=r(Yt)`
|
|
211
|
+
display: flex;
|
|
212
|
+
width: ${a.sp4};
|
|
213
|
+
height: ${a.sp4};
|
|
214
|
+
align-items: center;
|
|
215
|
+
justify-content: center;
|
|
216
|
+
`,Pi=r.div`
|
|
217
|
+
margin-top: ${e=>l.closeMarginTop.valuePx(e.size)};
|
|
218
|
+
margin-left: ${a.sp5};
|
|
219
|
+
`,Bi=r.div`
|
|
220
|
+
display: flex;
|
|
221
|
+
flex-direction: column;
|
|
222
|
+
width: 100vw;
|
|
223
|
+
background: -webkit-linear-gradient(
|
|
224
|
+
to right,
|
|
225
|
+
${e=>e.theme.colors.background} 42%,
|
|
226
|
+
${e=>e.theme.colors.grey4} 42%
|
|
227
|
+
);
|
|
228
|
+
background: -moz-linear-gradient(
|
|
229
|
+
to right,
|
|
230
|
+
${e=>e.theme.colors.background} 42%,
|
|
231
|
+
${e=>e.theme.colors.grey4} 42%
|
|
232
|
+
);
|
|
233
|
+
background: -o-linear-gradient(
|
|
234
|
+
to right,
|
|
235
|
+
${e=>e.theme.colors.background} 42%,
|
|
236
|
+
${e=>e.theme.colors.grey4} 42%
|
|
237
|
+
);
|
|
238
|
+
background: linear-gradient(
|
|
239
|
+
to right,
|
|
240
|
+
${e=>e.theme.colors.background} 42%,
|
|
241
|
+
${e=>e.theme.colors.grey4} 42%
|
|
242
|
+
);
|
|
243
|
+
${e=>e.windowSize==="small"&&`
|
|
244
|
+
background: ${e.theme.colors.grey4};
|
|
245
|
+
`}
|
|
246
|
+
height: 100vh;
|
|
247
|
+
overflow: scroll;
|
|
248
|
+
`,Ye=r.div`
|
|
249
|
+
width: 42%;
|
|
250
|
+
`,Ni=r.div`
|
|
251
|
+
margin-left: ${e=>l.leftMargin.valuePx(e.windowSize)};
|
|
252
|
+
margin-right: ${e=>l.rightMargin.valuePx(e.windowSize)};
|
|
253
|
+
`,Ge=r.div`
|
|
254
|
+
margin-bottom: ${e=>l.bottomMargin.valuePx(e.windowSize)};
|
|
255
|
+
margin-left: ${e=>l.leftMargin.valuePx(e.windowSize)};
|
|
256
|
+
margin-right: ${e=>l.rightMargin.valuePx(e.windowSize)};
|
|
257
|
+
`,He=r.div`
|
|
258
|
+
display: flex;
|
|
259
|
+
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
260
|
+
align-items: ${e=>e.windowSize==="small"?"unset":"center"};
|
|
261
|
+
margin-top: ${e=>l.topMargin.valuePx(e.windowSize)};
|
|
262
|
+
margin-left: ${e=>l.leftMargin.valuePx(e.windowSize)};
|
|
263
|
+
margin-right: ${e=>l.rightMargin.valuePx(e.windowSize)};
|
|
264
|
+
width: ${e=>e.windowSize==="small"?"fit-content":"unset"};
|
|
265
|
+
`,qe=r(qt)`
|
|
266
|
+
flex-grow: 1;
|
|
267
|
+
${e=>`${li.formTitle.style(e.windowsSize)}`};
|
|
268
|
+
color: ${e=>e.theme.colors.primary};
|
|
269
|
+
word-break: break-all;
|
|
270
|
+
`,Li=r.div`
|
|
271
|
+
display: flex;
|
|
272
|
+
flex-direction: column;
|
|
273
|
+
margin-left: ${e=>l.leftMargin.valuePx(e.windowSize)};
|
|
274
|
+
margin-right: ${e=>l.rightMargin.valuePx(e.windowSize)};
|
|
275
|
+
`,Xe=r.div`
|
|
276
|
+
padding: ${a.sp3};
|
|
277
|
+
display: flex;
|
|
278
|
+
align-items: center;
|
|
279
|
+
justify-content: center;
|
|
280
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
281
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
282
|
+
border-radius: ${a.sp2};
|
|
283
|
+
color: ${e=>e.theme.colors.hero};
|
|
284
|
+
margin-bottom: ${e=>l.totalBottomMargin.valuePx(e.windowSize)};
|
|
285
|
+
justify-content: space-between;
|
|
286
|
+
`,Qe=r(Qt)`
|
|
287
|
+
display: flex;
|
|
288
|
+
width: 176px;
|
|
289
|
+
color: ${e=>e.theme.colors.primary};
|
|
290
|
+
`,_i=r.div`
|
|
291
|
+
display: flex;
|
|
292
|
+
flex-direction: column;
|
|
293
|
+
width: ${e=>l.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
294
|
+
`,Ze=r.div`
|
|
295
|
+
display: flex;
|
|
296
|
+
width: 100%;
|
|
297
|
+
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
298
|
+
align-items: ${e=>e.windowSize==="small"?"center":"flex-start"};
|
|
299
|
+
`,Oi=r.div`
|
|
300
|
+
width: ${e=>l.leftSectionWidth.valuePercentage(e.windowSize)};
|
|
301
|
+
`,Wi=r.div`
|
|
302
|
+
background: ${e=>e.theme.colors.grey3};
|
|
303
|
+
border-radius: ${a.sp2};
|
|
304
|
+
margin-top: ${e=>l.topMargin.valuePx(e.windowSize)};
|
|
305
|
+
margin-left: ${e=>l.invoiceLeftMargin.valuePx(e.windowSize)};
|
|
306
|
+
margin-right: ${e=>l.invoiceRightMargin.valuePx(e.windowSize)};
|
|
307
|
+
margin-bottom: ${e=>e.bottomSeperator===!0&&e.windowSize!=="small"?"107px":a.sp5};
|
|
308
|
+
`,Ei=r.div`
|
|
309
|
+
display: flex;
|
|
310
|
+
flex-direction: column;
|
|
311
|
+
height: ${a.sp11};
|
|
312
|
+
`,Fi=r.div`
|
|
313
|
+
margin-top: 78px;
|
|
314
|
+
`;export{ia as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as le,u as S,e as k,
|
|
1
|
+
import{Q as le,u as S,e as k,a5 as ae,l as B,M as E,j as e,a2 as a,a_ as me,X as u,p as m,o as r,J as ce,c9 as de,a9 as Z,m as pe,C as xe,g as z,cb as he,aa as ue,as as ge,r as we}from"./index-dX8TSOm6.js";import{b as j,n as t}from"./vendor-rkTZJa59.js";import{w as je}from"./MeetingCalenderPopup-Dd1Z-rK3-BN7CJUqh.js";import{C as be}from"./VideoPopup-CmXRuhQp-5r314mYD.js";import{M as v}from"./usp-line-BBd1wKwW-u-VMxix8.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./VideoPlayer-BBVi4SOz-9SgJ3yaM.js";const F="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-light.png",V="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-dark.png",$e={midContainerMarginBottom:new xe(we[5],44)},fe=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -28,11 +28,11 @@ import{Q as le,u as S,e as k,a2 as ae,l as B,M as D,j as e,Z as a,aY as me,X as
|
|
|
28
28
|
flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
|
|
29
29
|
align-items: center;
|
|
30
30
|
justify-content: center;
|
|
31
|
-
`,g=t.img``,
|
|
31
|
+
`,g=t.img``,O=t.div`
|
|
32
32
|
width: ${i=>i.windowSize==="small"?"auto":"376px"};
|
|
33
33
|
display: flex;
|
|
34
34
|
flex-direction: column;
|
|
35
|
-
`,
|
|
35
|
+
`,Q=t.div`
|
|
36
36
|
width: ${i=>i.windowSize==="small"?"100%":"calc(100% - 376px)"};
|
|
37
37
|
overflow: hidden;
|
|
38
38
|
max-width: 712px;
|
|
@@ -40,7 +40,7 @@ import{Q as le,u as S,e as k,a2 as ae,l as B,M as D,j as e,Z as a,aY as me,X as
|
|
|
40
40
|
align-content: center;
|
|
41
41
|
justify-content: center;
|
|
42
42
|
align-items: center;
|
|
43
|
-
`,
|
|
43
|
+
`,J=t.div`
|
|
44
44
|
margin-left: ${i=>i.windowSize==="small"?r.sp0:r.sp6};
|
|
45
45
|
margin-bottom: ${i=>i.windowSize==="small"?r.sp4:r.sp0};
|
|
46
46
|
background: ${i=>i.theme.colors.grey3};
|
|
@@ -62,13 +62,13 @@ import{Q as le,u as S,e as k,a2 as ae,l as B,M as D,j as e,Z as a,aY as me,X as
|
|
|
62
62
|
color: ${i=>i.theme.colors.champion};
|
|
63
63
|
`,$=t(ue)`
|
|
64
64
|
color: ${i=>i.theme.colors.champion};
|
|
65
|
-
`,f=t(
|
|
65
|
+
`,f=t(Z)`
|
|
66
66
|
color: ${i=>i.theme.colors.champion};
|
|
67
67
|
`,y=t(he)`
|
|
68
68
|
color: ${i=>i.theme.colors.champion};
|
|
69
69
|
`,d=t.div``,p=t.div`
|
|
70
70
|
padding-left: ${r.sp3};
|
|
71
|
-
`,I=t(
|
|
71
|
+
`,I=t(Z)`
|
|
72
72
|
margin: ${i=>i.windowSize==="small"?r.sp1:`auto ${r.sp5}`};
|
|
73
73
|
color: ${i=>i.theme.colors.grey1};
|
|
74
74
|
`,X=t(v)`
|
|
@@ -77,8 +77,8 @@ import{Q as le,u as S,e as k,a2 as ae,l as B,M as D,j as e,Z as a,aY as me,X as
|
|
|
77
77
|
color: ${z.graphColor09Dark};
|
|
78
78
|
`,G=t(v)`
|
|
79
79
|
color: ${z.success};
|
|
80
|
-
`,
|
|
80
|
+
`,D=t(pe)`
|
|
81
81
|
margin: ${r.sp3} auto;
|
|
82
82
|
max-width: 772px;
|
|
83
83
|
color: ${i=>i.theme.colors.hero};
|
|
84
|
-
`,s=
|
|
84
|
+
`,s=E.getLocalizedStrings().spendManagement.reimbursement.reimbursementPromo,n=E.getLocalizedStrings().commonSetUp.businessVerification.terms,ve=()=>{const i=S(),o=k();return e.jsxs(N,{windowSize:o,children:[e.jsx(Q,{windowSize:o,children:e.jsx(J,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:V,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(g,{src:F,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(O,{windowSize:o,children:[e.jsxs(c,{windowSize:o,children:[e.jsx(d,{children:e.jsx(X,{})}),e.jsxs(p,{children:[e.jsx(y,{children:s.simplestText.bold}),e.jsx(f,{children:s.simplestText.regular})]})]}),e.jsxs(c,{windowSize:o,children:[e.jsx(d,{children:e.jsx(q,{})}),e.jsxs(p,{children:[e.jsx(y,{children:s.aiPoweredText.bold}),e.jsx(f,{children:s.aiPoweredText.regular})]})]}),e.jsxs(c,{windowSize:o,children:[e.jsx(d,{children:e.jsx(G,{})}),e.jsxs(p,{children:[e.jsx(y,{children:s.multiLevelApprovalText.bold}),e.jsx(f,{children:s.multiLevelApprovalText.regular})]})]})]})]})},Ce=()=>{const i=S(),o=k();return e.jsxs(N,{windowSize:o,children:[e.jsxs(O,{windowSize:o,children:[e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(X,{})}),e.jsxs(p,{children:[e.jsx($,{children:s.simplestText.bold}),e.jsx(b,{children:s.simplestText.regular})]})]}),e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(q,{})}),e.jsxs(p,{children:[e.jsx($,{children:s.aiPoweredText.bold}),e.jsx(b,{children:s.aiPoweredText.regular})]})]}),e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(G,{})}),e.jsxs(p,{children:[e.jsx($,{children:s.multiLevelApprovalText.bold}),e.jsx(b,{children:s.multiLevelApprovalText.regular})]})]})]}),e.jsx(Q,{windowSize:o,children:e.jsx(J,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:V,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(g,{src:F,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})},Ve=({reimbursementSetupView:i,userReimbursementInfo:o,meetingUrl:W,videoUrl:_,analytics:x,onSetupButtonClick:H,onCreateNewRemiButtonClick:K,onBackClick:Y,onSetupReimbursementSuccess:C,onClickMenuIcon:ee})=>{const T=le(),[ie,se]=j.useState(!1),[re,P]=j.useState(!1),te=S(),l=k(),{remiTermsDetails:h}=i,R=ae(h?.fetchStatus.fetchState),oe=B.hasReimbursementAdminLevelAccess(T.loggedInUserRoleMap),w=B.hasReimbursementAccess(T.loggedInUserRoleMap)&&!oe,ne=!!o?.isReimbursementTOSAccepted,M=!!i.companyRemiInfo?.isReimbursementEnabled,U=w?M?s.employeeAcceptPromoText:s.employeePendingPromoText:s.promoText;j.useEffect(()=>{R==="In-Progress"&&h?.fetchStatus.fetchState==="Completed"&&C?.()},[R,C,h?.fetchStatus]);const A=()=>{x?.trackReimbursementPromoScheduleDemo(),P(!0)};return e.jsxs(fe,{children:[ie===!0?e.jsx(be,{onCancelClick:()=>{se(!1)},videoUrl:_,"data-testid":a("remi-promo-page-video-popup")}):null,re===!0?e.jsx(je,{onCancelClick:()=>{P(!1)},meetingUrl:W,"data-testid":a("remi-promo-page-meeting-popup")}):null,e.jsx(me,{title:s.title,backgroundColor:te.colors.grey4,onBackClick:Y,showBackButton:!w,showMenuIcon:l==="small"||l==="medium-compact",onClickMenuIcon:ee,source:"ReimbursementPromoPage"}),e.jsxs(ye,{windowSize:l,children:[l==="small"?e.jsx(ke,{children:U}):e.jsx(Se,{children:U}),l==="small"?e.jsx(ve,{}):e.jsx(Ce,{}),e.jsx(ze,{children:w?e.jsx(e.Fragment,{children:M&&!ne?e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:s.scheduleDemoButton,onClick:A,"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(I,{windowSize:l,children:s.orText}),e.jsx(u,{variant:"primary",label:s.createNewReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:K,"data-testid":a("reimbursement-promo-page-create-new-reimbursement-button")})]}),e.jsxs(D,{children:[s.terms.createTerms1,e.jsx(m,{href:s.terms.tosUrl,linkText:s.terms.zeniAgreement,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),s.terms.terms2,e.jsx(m,{href:s.terms.privacyPolicyUrl,linkText:s.terms.privacyPolicy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),s.terms.terms3]})]}):null}):e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:s.scheduleDemoButton,onClick:A,style:{width:216},"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(I,{windowSize:l,children:s.orText}),e.jsx(u,{variant:"primary",label:s.setupReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:H,style:{width:216},"data-testid":a("reimbursement-promo-page-setup-reimbursement-button")})]}),e.jsxs(D,{children:[s.terms.setupTerms1,e.jsx(m,{href:n.consentUrl,linkText:n.consent}),n.term2,e.jsx(m,{href:n.depositUrl,linkText:n.depositTerms}),n.term3,e.jsx(m,{href:n.privacyPolicyUrl,linkText:n.privacy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),n.term4,e.jsx(m,{href:n.tosUrl,linkText:n.tos,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),n.term5,s.terms.terms3]})]})})]})]})};export{Ve as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as Ee,e as Ve,
|
|
1
|
+
import{u as Ee,e as Ve,a5 as N,a as Ge,cc as qe,M as Te,l as Je,ab as be,j as t,cR as Qe,g as J,C as r,a_ as Ze,h as Xe,F as Ke,dQ as Ye,aV as et,dG as tt,a7 as it,o as a,r as n,bR as nt,cp as ot,cx as at,f5 as ve,f6 as ke,fQ as lt,X as rt,a2 as $e,b as Pe,bg as st,w as ct,aS as dt}from"./index-dX8TSOm6.js";import{b as o,n as i}from"./vendor-rkTZJa59.js";import{D as ut}from"./HelpButton-CdHOhYwZ-vfgKqvvf.js";import{J as je}from"./SetUpDefaultSection-e5I_whKg-CWXMi4yS.js";import{f as mt}from"./SpendMgmtSetupAccountSection-BW8Ip5wi-CkkTNUfg.js";import{g as pt}from"./UploadAdditionalDocumentOverlay-D6x4OGXl-CxKK3Ose.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./MeetingCalenderPopup-Dd1Z-rK3-BN7CJUqh.js";import"./ChargeCardUtils-Bel9RKog-BYoByp7T.js";import"./CreditCardPaymentPlgSection-Bo8bjkSd-Cj2DAE6L.js";import"./ChaseOverlay-Cni-YJBq-ki7qKNfn.js";const gt=e=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M12.7113 3H2.89261C2.39963 3 2 3.39963 2 3.89261V20.8522C2 21.3451 2.39963 21.7448 2.89261 21.7448H12.7113C13.2043 21.7448 13.6039 21.3451 13.6039 20.8522V3.89261C13.6039 3.39963 13.2043 3 12.7113 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M10.4798 13.7113H9.58719C9.3407 13.7113 9.14088 13.9111 9.14088 14.1576V16.8354C9.14088 17.0819 9.3407 17.2817 9.58719 17.2817H10.4798C10.7263 17.2817 10.9261 17.0819 10.9261 16.8354V14.1576C10.9261 13.9111 10.7263 13.7113 10.4798 13.7113Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M21.6374 16.1133C21.6374 16.1961 21.6143 16.2773 21.5708 16.3477C21.5273 16.4182 21.4651 16.4752 21.391 16.5123L19.8522 17.2817V14.6039H21.1911C21.3095 14.6039 21.423 14.6509 21.5067 14.7346C21.5904 14.8183 21.6374 14.9318 21.6374 15.0502V16.1133Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 14.6039V13.265C19.8522 12.5268 22.53 10.1409 22.53 10.1409",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 17.2817V19.9596C19.8522 20.433 19.6641 20.8871 19.3293 21.2219C18.9945 21.5567 18.5404 21.7448 18.067 21.7448C17.5935 21.7448 17.1394 21.5567 16.8046 21.2219C16.4698 20.8871 16.2817 20.433 16.2817 19.9596V7.90935C16.2817 7.55424 16.1407 7.21369 15.8896 6.96259C15.6385 6.7115 15.2979 6.57043 14.9428 6.57043H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M2 10.1409H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M11.3724 4.78528H4.23154C3.98505 4.78528 3.78523 4.9851 3.78523 5.23158V7.90941C3.78523 8.15589 3.98505 8.35571 4.23154 8.35571H11.3724C11.6189 8.35571 11.8187 8.15589 11.8187 7.90941V5.23158C11.8187 4.9851 11.6189 4.78528 11.3724 4.78528Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M9.14088 19.0669H10.9261",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),h={sectionWidth:new r(343,580,726),iconContainerMaxWidthHeight:new r(n[6],n[7]),iconContainerMarginRight:new r(12,n[3]),infoLabelPaddingLeft:new r(n[0],n[3]),iconPadding:new r(10,12),iconWidthHeight:new r(20,n[4]),rowGap:new r(n[2],n[3]),containerPadding:new r(n[3],n[4])},ge={title:new Pe("standardSemiBold","largeSemiBold"),infoLabel:new Pe("extraSmallRegular","smallRegular")};function ht({companyMileageConfigInfo:e,mileageDetails:y,analytics:j,style:A,sectionId:$,isActive:d=!0,isDisabled:s,onSaveMileageClick:Q}){const l=Ve(),D=Ee(),{formState:{errors:Z},trigger:X}=ot(),E=ft($,"mileageAmountInDenomination"),f=at(Z,E),{localData:c,updateStatus:F,mileageStatus:S}=y,U=e?.denominationConversions.amount==null||e.denominationConversions.amount!==c?.mileageAmountInDenomination,{commonSetUp:K,spendManagement:Y}=Te.getLocalizedStrings(),{reimbursement:ee}=Y,[C,V]=o.useState(U),[te,W]=o.useState(!1);o.useEffect(()=>{f||X(E)},[]),o.useEffect(()=>{e?.denominationConversions.amount!=null&&e.denominationConversions.amount===c?.mileageAmountInDenomination&&V(!1)},[e?.denominationConversions.amount]),o.useEffect(()=>{C||W(C)},[C]);const{reimbursementSetup:x}=ee,{setUp:ie}=K,ne=C===!1||F.fetchState==="In-Progress"?"readonly":s,oe=c&&c?.denominationSymbol?`${c?.denominationSymbol} `:"",ae=c&&c?.mileageUnit?c?.mileageUnit:"";return t.jsxs(xt,{windowSize:l,style:A,isActive:d&&s==null,children:[t.jsxs(Pt,{windowSize:l,children:[x.mileageHeader,d===!1?t.jsx(Dt,{children:ie.comingSoon}):null]}),t.jsxs(kt,{windowSize:l,children:[t.jsx(vt,{windowSize:l,isDarkMode:D.mode==="dark",children:t.jsx(gt,{width:h.iconWidthHeight.valuePx(l),height:h.iconWidthHeight.valuePx(l)})}),t.jsxs(wt,{children:[t.jsxs($t,{children:[t.jsxs(jt,{children:[t.jsxs(At,{children:[t.jsx(St,{windowSize:l,children:e?.denominationConversions.amount==null?x.mileageAddTitle:x.mileageEditTitle}),t.jsx(Ct,{children:x.mileageSubTitle})]}),S!=null&&e?.denominationConversions.amount!=null&&l==="small"?t.jsx(ve,{style:{width:"max-content",padding:a.sp0,marginTop:a.sp2},tagTitle:S.name,textColor:ke(S.code)}):null]}),t.jsxs(yt,{children:[S!=null&&e?.denominationConversions.amount!=null&&l!=="small"?t.jsx(ve,{style:{width:"max-content"},tagTitle:S.name,textColor:ke(S.code)}):null,t.jsx(bt,{})]})]}),t.jsxs(Et,{children:[t.jsxs(Vt,{children:[t.jsx(lt,{style:{height:a.sp6,textAlign:"left"},inputStyle:{textAlign:"left",paddingRight:a.sp10,backgroundColor:f?void 0:D.colors.background,color:C||f?void 0:D.colors.grey1},isFieldError:f,type:"number",autoFocus:!1,focus:te,name:E,defaultValue:c?.mileageAmountInDenomination,returnValueType:"floatValue",allowEmptyFormatting:!0,prefix:oe,suffix:` ${x.perText} ${ae}`,decimalScale:1,allowNegative:!1,isNumericString:!1,registerOptions:{min:1,validate:T=>T!=null||s!=null,required:s==null},isDisabled:ne}),t.jsx(Lt,{children:C?t.jsx(rt,{label:x.save,"data-testid":$e("save-mileage"),onClick:()=>{c?.mileageAmountInDenomination!=null&&U&&!f&&Q?.(c.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:s!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:F.fetchState==="In-Progress"}):t.jsx(It,{isDisabled:s,"data-testid":$e("edit-mileage"),onClick:T=>{T.stopPropagation(),V(!0),W(!0),j.trackReimbursementMileageRateEdit()}})})]}),c?.description!=null?t.jsx(Tt,{size:l,hasError:f,children:f&&e?.defaultMileageUnitAmount!=null?x.yourMileage.replace("__defaultMileageUnitAmount__",(e.defaultMileageUnitAmount*100).toString()):c.description}):null]})]})]})]})}const ft=(e,y)=>`${e}.${y}`,xt=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
pointer-events: ${e=>e.isLoading===!0||e.isActive===!1?"none":"initial"};
|
|
@@ -11,10 +11,10 @@ import{u as Ee,e as Ve,a2 as N,a as Ge,cc as qe,M as Te,l as Je,a8 as be,j as t,
|
|
|
11
11
|
justify-content: flex-start;
|
|
12
12
|
`,yt=i.div`
|
|
13
13
|
display: flex;
|
|
14
|
-
`,
|
|
14
|
+
`,St=i.div`
|
|
15
15
|
${e=>`${ge.title.style(e.windowSize)}`};
|
|
16
16
|
color: ${e=>e.isError===!0?J.important:e.theme.colors.primary};
|
|
17
|
-
`,
|
|
17
|
+
`,Ct=i(ct)`
|
|
18
18
|
display: flex;
|
|
19
19
|
align-items: center;
|
|
20
20
|
justify-content: flex-start;
|
|
@@ -103,7 +103,7 @@ import{u as Ee,e as Ve,a2 as N,a as Ge,cc as qe,M as Te,l as Je,a8 as be,j as t,
|
|
|
103
103
|
&:hover {
|
|
104
104
|
color: ${e=>e.theme.colors.primary};
|
|
105
105
|
}
|
|
106
|
-
`,p={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,n[5],n[5]),sectionRowGap:new r(n[5],n[9],n[9]),lastSectionPaddingBottom:new r(n[7],n[10],n[10]),iconWidthHeight:new r(20,n[4]),subTitlePaddingTop:new r(12,n[3]),subTitlePaddingBottom:new r(n[3],n[3]),overlayWidth:new r(100,100,59)},Ae="remiSetupPage",G="remiAccount",q="remiMileage",ni=({remiSetupView:e,isDisabled:y,remiApprovalView:j,connectedAccountProvider:A,isAccountsEnabled:$,filesEndPoint:d,authParams:s,meetingUrl:Q,analytics:l,accountsPromoConfig:D,onBackClick:Z,onBusinessVerificationSectionClick:X,onSetupApprovalRulesSectionClick:E,onFetchLinkTokenClick:f,onEstablishConnectionClick:c,onEstablishConnectionSuccess:F,updateMileageDetails:
|
|
106
|
+
`,p={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,n[5],n[5]),sectionRowGap:new r(n[5],n[9],n[9]),lastSectionPaddingBottom:new r(n[7],n[10],n[10]),iconWidthHeight:new r(20,n[4]),subTitlePaddingTop:new r(12,n[3]),subTitlePaddingBottom:new r(n[3],n[3]),overlayWidth:new r(100,100,59)},Ae="remiSetupPage",G="remiAccount",q="remiMileage",ni=({remiSetupView:e,isDisabled:y,remiApprovalView:j,connectedAccountProvider:A,isAccountsEnabled:$,filesEndPoint:d,authParams:s,meetingUrl:Q,analytics:l,accountsPromoConfig:D,onBackClick:Z,onBusinessVerificationSectionClick:X,onSetupApprovalRulesSectionClick:E,onFetchLinkTokenClick:f,onEstablishConnectionClick:c,onEstablishConnectionSuccess:F,updateMileageDetails:S,onUpdateAccountClick:U,onUpdatePrimaryFundingAccount:K,onUpdatePaymentAccountStatus:Y,onUpdatePaymentAccountLoginStatus:ee,onEnableRemiClick:C,onEnableRemiSuccess:V,onSaveMileageClick:te,onClickMenuIcon:W,onEditFileName:x,onDeleteFile:ie,updateFilesEntity:ne,onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae,onSignUpClick:T})=>{const H=Ee(),u=Ve(),[B,L]=o.useState(!1),{fetchState:v,primaryFundingAccount:b,allFundingAccounts:he,updateStatus:I,accountUpdateStatus:Le,plaidConnectionDetails:le,allBankAccounts:Ie,companyRemiInfo:ze,companyBillPayInfo:fe,mileageRateConfig:Me,isRefreshingViewInBackground:Re,selectedCompanyOfficer:g}=e,{fetchState:xe,allApprovalRules:O,approvalRulesStatus:Fe}=j,re=le.link_account.updateStatus,se=le.update_account.updateStatus,_=N(v),we=N(I.fetchState),ye=N(re.fetchState),Se=N(se.fetchState),z=Ge({mode:"all",reValidateMode:"onChange",defaultValues:o.useMemo(()=>pe(e),[e]),values:pe(e)});o.useEffect(()=>{!B&&g?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&g.areAdditionalDocumentsRequestedForVerification&&!g.areAdditionalDocumentsSubmittedForVerification&&g.userVerificationStatus?.code==="require_info"&&L(!0),B&&_==="In-Progress"&&v==="Completed"&&L(!1)},[g,v,_]),o.useEffect(()=>{(_==="In-Progress"&&v==="Completed"||ye==="In-Progress"&&re.fetchState==="Completed"||Se==="In-Progress"&&se.fetchState==="Completed")&&z.reset(pe(e))},[_,v,z,e,ye,re.fetchState,Se,se.fetchState]);const Ue=z.handleSubmit(P=>{l.trackEnableReimbursement(),C()}),We=async(P,R)=>{const m=R[G];if(P.includes(G)){if(P.includes("fundingAccount")){if(m.fundingAccount.selectedOption!=null&&b?.id!=m.fundingAccount.selectedOption){const w=he.find(me=>me.id===m.fundingAccount.selectedOption);w!=null&&K(m.fundingAccount.selectedOption,w.accType)}}else if(m.account.selectedOption!=null&&b?.id!=null&&b?.zeniAccountId!=m.account.selectedOption){const w=m.account.allOptions.find(me=>me.value===m.account.selectedOption);w!=null&&typeof w.label=="string"&&l.trackConnectBankLink(w.value,w.label,"reimbursement"),U(m.account.selectedOption,b.id,b.accType)}}else if(P.includes(q)){const w=R[q];S(w)}};o.useEffect(()=>{const P=z.watch((R,{name:m})=>{m!=null&&R!=null&&qe(()=>We(m,R))});return()=>{P.unsubscribe()}}),o.useEffect(()=>{we==="In-Progress"&&I.fetchState==="Completed"&&V()},[V,we,I.fetchState]);const{commonSetUp:Ce,spendManagement:He}=Te.getLocalizedStrings(),{reimbursement:Be}=He,{reimbursementSetup:M}=Be,{setUp:k}=Ce,ce=fe?.isBusinessVerified===!0&&(b?.accType==="depositAccount"||Je.isVerifiedPaymentAccountProviderStatusCode(b?.providerVerificationStatus?.code??""))&&Me?.denominationConversions.amount!=null,de=ze?.isReimbursementEnabled===!0,Oe=ce?Ce.setUp.setupVerifiedSubTitle:M.setupSubTitle,_e=v==="In-Progress"||v==="Not-Started"||xe==="In-Progress"||xe==="Not-Started",ue=H.mode==="light"?new be(H.colors.brandColorJadeLight):new be(H.colors.brandColorJadeDark),Ne=()=>{!B&&g?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&g.areAdditionalDocumentsRequestedForVerification&&!g.areAdditionalDocumentsSubmittedForVerification&&g.userVerificationStatus?.code==="require_info"?L(!0):X?.()};return t.jsxs(zt,{children:[t.jsx(Qe,{anchor:"right",PaperProps:{style:{width:p.overlayWidth.valuePercentage(u),boxShadow:"none"}},open:B,onClose:()=>L(!1),style:{backgroundColor:J.drawerBackground},transitionDuration:250,children:t.jsx(pt,{authParams:s,filesEndPoint:d,updateStatus:I,onEditFileName:x,onDeleteFile:ie,updateFilesEntity:ne,companyOfficer:g,onClose:()=>L(!1),onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae})}),t.jsx(Ze,{title:M.setupTitle,backgroundColor:H.colors.grey4,style:{zIndex:3},onBackClick:Z,showMenuIcon:!de&&(u==="medium-compact"||u==="small"),onClickMenuIcon:W,source:"ReimbursementSetUpPage"}),t.jsxs(Rt,{windowSize:u,children:[t.jsx(Mt,{windowSize:u,children:Oe}),_e?t.jsx(Ft,{children:t.jsx(Xe,{size:"ExtraLarge",start:!0})}):t.jsx(Ke,{...z,children:t.jsx("form",{id:De(Ae),onSubmit:Ue,children:t.jsxs(Ut,{windowSize:u,children:[t.jsx(je,{onClick:Ne,title:k.businessVerificationTitle,subTitle:k.businessVerificationSubTitle,header:k.businessVerificationHeader,icon:{element:t.jsx(Ye,{width:p.iconWidthHeight.valuePx(u),height:p.iconWidthHeight.valuePx(u)}),color:ue},status:fe?.businessVerificationStatus,isTagLoading:Re}),t.jsx(mt,{connectedAccountProvider:A,primaryFundingAccount:b,plaidConnectionDetails:le,allBankAccounts:Ie,allFundingAccounts:he,sectionId:G,isDisabled:y,onFetchLinkTokenClick:f,onEstablishConnectionClick:c,onUpdatePaymentAccountStatus:Y,onUpdatePaymentAccountLoginStatus:ee,onEstablishConnectionSuccess:F,icon:{element:t.jsx(et,{width:p.iconWidthHeight.valuePx(u)}),color:ue},analytics:l,productType:"reimbursement",isAccountsEnabled:$,onSignUpClick:T,pageName:"Reimbursement Setup",accountsPromoConfig:D}),t.jsx(ht,{mileageDetails:e.mileageDetails,companyMileageConfigInfo:e.mileageRateConfig,sectionId:q,onSaveMileageClick:te,analytics:l}),t.jsx(je,{title:O.length>0?k.approvalTitle:k.createApprovalTitle,subTitle:M.approvalSubTitle,header:O.length>0?k.approvalHeader:k.setupApprovalHeader,icon:{element:t.jsx(tt,{height:p.iconWidthHeight.valuePx(u)}),color:ue},style:{paddingBottom:p.lastSectionPaddingBottom.valuePx(u)},onClick:E,status:O.length>0?Fe:void 0})]})})})]}),ce&&!de&&O.length>0?t.jsx(it,{formId:De(Ae),primaryBtn:{label:M.enableReimbursements,style:{width:"auto",minWidth:u==="small"?"auto":"181px"},isLoading:I.fetchState==="In-Progress"||Le.fetchState==="In-Progress",isDisabled:y!=null},showCancel:!1,helperText:M.terms,cancelBtn:{label:""},style:{padding:`12px ${a.sp3}`}}):null,t.jsx(ut,{isFooterRendered:ce&&!de,meetingUrl:Q,analytics:l,productType:"reimbursement"})]})},zt=i.div`
|
|
107
107
|
display: flex;
|
|
108
108
|
min-height: 100%;
|
|
109
109
|
flex-direction: column;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{M as O,j as b,
|
|
1
|
+
import{M as O,j as b,bY as V,bZ as W,b_ as X,jr as Y,ae as Z,l as q}from"./index-dX8TSOm6.js";import{b as f}from"./vendor-rkTZJa59.js";import{u as z}from"./ReviewOverlay-Cekl52Tp-C4ta_oQT.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const{common:n,spendManagement:{reimbursement:k}}=O.getLocalizedStrings(),o=k.bulkActions;let I;const ae=({remisReviewView:e,isAdmin:l,analytics:i,onProceedForBulkActionClick:d,onCloseReviewItem:r,onCloseOverlay:s})=>{const{fetchState:p,bulkSubmissionFetchState:c,bulkOperationTypeSelected:t,currentTab:v,currentSubTab:g}=e,h=!1,[w,a]=f.useState(!1),[m,_]=f.useState(P(e,h,l)),[x,R]=f.useState(h),[B,H]=f.useState(0),[y,A]=f.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});f.useEffect(()=>(B===m.length&&x&&(R(!1),clearInterval(I)),e.fetchState==="Completed"&&_(P(e,!1,l)),()=>{clearInterval(I)}),[m.length,B,x,e.fetchState,h,e,l]);const E=m.length,S=m.filter(u=>u.reviewStatus.code!=="error").length,F=()=>{const{title:u,description:T}=Q(S);A({type:"reject",title:u,description:T,primaryButtonText:n.texts.confirm,secondaryButtonText:n.texts.close}),i.trackReimbursementBulkSubmit(t,v,g),a(!0)},$={onOkClick:u=>{a(!1);const T=e.remisForReview.map(j=>j.reimbursement);i.trackReimbursementBulkPopupConfirm(t,v,g,q.getRemiListUniqueType(T.map(j=>j?.reimbursementTypesIncluded??[]))),d("reject",u)},onCancelClick:()=>{a(!1)}},{title:L,description:U}=G(p,S,E,x),C=e.fetchState==="Completed"&&S===0,D=()=>{i.trackReimbursementBulkSubmit(t,v,g),d(t)},M=()=>{let u=n.footer.approve;return C?u=n.texts.close:t==="send_for_approval"&&(u=n.footer.submit),{label:u,isDisabled:p!=="Completed"||t==="reject"&&c==="In-Progress",isLoading:c==="In-Progress"&&(t==="send_for_approval"||t==="approve"),onClick:C?s:D,style:t==="send_for_approval"?{minWidth:"92px"}:{}}},N={label:t==="send_for_approval"?n.texts.goBack:n.footer.reject,isDisabled:t!=="reject"&&c==="In-Progress",isLoading:t==="reject"&&c==="In-Progress",reverseSpinnerColor:!1,onClick:t==="send_for_approval"?s:F,style:t==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[w?b.jsx(V,{titleComponent:b.jsx(X,{children:y.title}),descriptionComponent:b.jsx(W,{children:y.description}),primaryButtonText:y.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:y.secondaryButtonText,action:$,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(z,{title:L,description:{content:U,isError:e.fetchState==="Completed"&&S===0},reviewItems:m,onCloseReviewItem:r,onCloseOverlay:s,showFooter:e.fetchState==="Completed"&&!x,footerProps:{primaryButton:M(),cancelButton:N,hideCancel:C}})]})},P=(e,l,i)=>{const d=e.fetchState==="In-Progress";return e.remisForReview.map(r=>{const s=Y(i,r.submittedBy);return{id:r.transactionId,leftSideText:{title:r.reimbursement?.reportTitle!=null?r.reimbursement.reportTitle:k.reimbursementDetail.newReimbursementTitle,subTitle:s!=null?`${n.by} ${s?.firstName} ${s?.lastName}`:n.strings.empty},rightSideText:{title:Z("0,0.[00]",r.reimbursement?.amount?.amount,r.reimbursement?.amount?.currencySymbol),showThunderIcon:!1,subTitle:r.reviewInfoMessage??""},reviewStatus:{isLoading:d,code:r.reviewStatus??""}}})},Q=e=>{const{this_:l,these:i,report:d,reports:r,payment:s,payments:p}=n.texts;return e>1?{title:o.popUps.reject.title.replace("__report__",o.reports),description:o.popUps.reject.description.replaceAll("<_this_>",i).replaceAll("<_payment_>",p).replaceAll("__report__",r)}:{title:o.popUps.reject.title.replace("__report__",o.report),description:o.popUps.reject.description.replaceAll("<_this_>",l).replaceAll("<_payment_>",s).replaceAll("__report__",d)}},G=(e,l,i,d)=>{const{has:r,have:s,report:p,reports:c,are:t,is:v,do_:g,does:h}=n.texts,w=l>1,a=i>1;let m="",_="";return e==="Completed"&&!d?(m=o.reviewPage.reportsReviewed.title.replace("__report__",a?k.bulkActions.reports:o.report).replace("<_has_>",a?s:r),l===0?_=o.reviewPage.reportsReviewed.descriptionError.replace("__report__",a?c:p).replace("<_do_>",a?g:h):_=`${l}/${i} ${o.reviewPage.reportsReviewed.description.replace("__report__",i>1?c:p).replace("<_is_>",w?t:v)}`):(m=o.reviewPage.reportsReviewing.title.replace("__report__",a?c:p),_=o.reviewPage.reportsReviewing.description.replace("__report__",a?c:p)),{title:m,description:_}};export{ae as default};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{u as h,j as r,
|
|
1
|
+
import{u as h,j as r,a1 as a,a2 as m,al as j,M as w,a8 as l,b1 as x,w as g,o as c,am as C}from"./index-dX8TSOm6.js";import{n as s,b as d}from"./vendor-rkTZJa59.js";function f({backgroundColor:e,foregroundColor:o,animated:t,width:n,height:i}){return r.jsxs(x,{speed:2,width:n,height:i,viewBox:`0 0 ${n} ${i}`,animate:t!=!1,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"64",y:"0",rx:"4",ry:"4",width:`${n-128}`,height:"21"}),r.jsx("rect",{x:"24",y:"45",rx:"4",ry:"4",width:`${n-48}`,height:"228"})]})}function p({backgroundColor:e,foregroundColor:o,animated:t}){return r.jsxs(x,{speed:2,width:240,height:98,viewBox:"0 0 240 98",animate:t!=!1,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"66",y:"0",rx:"4",ry:"4",width:"108",height:"21"}),r.jsx("rect",{x:"44",y:"77",rx:"4",ry:"4",width:"152",height:"21"}),r.jsx("rect",{x:"0",y:"29",rx:"4",ry:"4",width:"240",height:"40"})]})}const u=s(l)`
|
|
2
2
|
justify-content: flex-start;
|
|
3
|
-
`;function
|
|
3
|
+
`;function M({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(u,{children:r.jsx(p,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o})})})}function T({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(u,{children:r.jsx("div",{style:{width:"100%",height:"100%"},children:r.jsx(C,{children:({height:n,width:i})=>r.jsx(f,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o,width:i,height:n})})})})})}const y=e=>d.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("rect",{opacity:.2,width:72,height:72,rx:36,fill:"#97C3B9"}),d.createElement("path",{d:"M46.7755 32.5635L43.8368 36.9716L40.4082 33.0533",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M34.5307 44.8163C32.6902 44.8163 30.8909 44.2705 29.3605 43.248C27.8301 42.2254 26.6374 40.772 25.933 39.0715C25.2286 37.3711 25.0443 35.4999 25.4034 33.6947C25.7625 31.8895 26.6488 30.2313 27.9503 28.9298C29.2518 27.6283 30.91 26.742 32.7152 26.3829C34.5204 26.0238 36.3916 26.2081 38.092 26.9125C39.7925 27.6169 41.2459 28.8096 42.2685 30.34C43.291 31.8704 43.8369 33.6697 43.8369 35.5102V36.9737",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),k=s(l)`
|
|
4
4
|
justify-content: space-between;
|
|
5
|
-
|
|
5
|
+
`,b=s.div`
|
|
6
6
|
height: ${c.sp10};
|
|
7
7
|
width: ${c.sp10};
|
|
8
8
|
background: ${e=>e.theme.colors.background};
|
|
@@ -19,8 +19,8 @@ import{u as h,j as r,Y as a,Z as m,ai as j,M as w,a5 as l,a$ as x,w as g,o as c,
|
|
|
19
19
|
color: ${e=>e.theme.colors.primary};
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
`,$=s(g)`
|
|
23
23
|
color: ${e=>e.theme.colors.champion};
|
|
24
24
|
`,v=s(g)`
|
|
25
25
|
color: ${e=>e.theme.colors.hero};
|
|
26
|
-
`,L=s(y)``;function
|
|
26
|
+
`,L=s(y)``;function z({dimension:e,cardType:o,cardIndex:t,reportTitle:n,onReloadData:i}){return r.jsx(a,{"data-testid":m("dashboard-reload",o),dimension:e,onClick:()=>i(t,o),children:r.jsxs(k,{children:[r.jsxs($,{children:[n??j(o)," "]}),r.jsx(b,{children:r.jsx(L,{})}),r.jsx(v,{children:w.getLocalizedStrings().card.failedText})]})})}export{M as E,z as I,T as z};
|