@zeniai/web-cockpit-ui 1.14.21-qa → 1.14.22-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-Csc8UPGK-C5DTl14D.js +21 -0
- package/dist/assets/{AIPerformancePage-DKwSS0Zl-_uRJy90x.js → AIPerformancePage-BNK1zghX-CXpkKBhu.js} +40 -40
- package/dist/assets/{AccountInfoPage-CSIM7DNw-t91eZQ9I.js → AccountInfoPage-WoQj1Knu-Cxdf_g3B.js} +5 -5
- package/dist/assets/{AccountInfoPageContent-CwbmE2Bb-T-BFbt0o.js → AccountInfoPageContent-BsiMZrTm-DfeZwew1.js} +17 -17
- package/dist/assets/{AccountLockedInfoModal-SFgC439X-CMjAhOqH.js → AccountLockedInfoModal-CaIpZQOZ-DUBexURk.js} +7 -7
- package/dist/assets/{AccountReconDetailsDrawerPage-DhlVNNlq-D2_UrFsx.js → AccountReconDetailsDrawerPage-BQTm9Igh-bRUuCvDt.js} +12 -12
- package/dist/assets/{AccountRow-Bhq6cvtX-YU5AexfS.js → AccountRow-mHhwnvVT-61DHuT3I.js} +16 -16
- package/dist/assets/{AccountsPromoCardStack-Cx60IXNK-DbnDsykr.js → AccountsPromoCardStack-jk87J-uY-CYM3oaB-.js} +27 -27
- package/dist/assets/{AddAddressForCardDrawer-D1cDpMRq-W5tXjh3z.js → AddAddressForCardDrawer-BY-ABNiB-C1fgvotd.js} +2 -2
- package/dist/assets/{AddToWalletPage-DjD9kDfD-BVOukNrG.js → AddToWalletPage-BmaqhQ_z-fr9KNRwo.js} +29 -29
- package/dist/assets/{AgingReportsPage-C68tZbMZ-ltB8OanA.js → AgingReportsPage-B2tfefId-BY1ufaPI.js} +14 -14
- package/dist/assets/{AllUserItems-D4ZWfS3r-BIKyz3xK.js → AllUserItems-C5jB4yc_-bcEnXv8A.js} +8 -8
- package/dist/assets/{ApAgingDetailPage-C9xdKi6n-DQvox-Mj.js → ApAgingDetailPage-B-ZHX3JJ-Dm0NOaoH.js} +3 -3
- package/dist/assets/{AppBasePage-C77LebWx-DD6i2F9A.js → AppBasePage-DOXcrTCE-BU2ssx1Y.js} +11 -11
- package/dist/assets/{AppDrawerContent-rleLuP6d-N207k0Kf.js → AppDrawerContent-Cav4Sy09-XmmoSBRe.js} +17 -17
- package/dist/assets/ApprovalRulesSettingsPage-rzr9k2jA-BhZWVqKA.js +47 -0
- package/dist/assets/{ArAgingChart-BzPI5KpZ-Dwcwv8mU.js → ArAgingChart-B3NtEWh--G5H5BTO1.js} +10 -10
- package/dist/assets/{ArAgingDetailPage-QPScba6I-_mrA9Dmx.js → ArAgingDetailPage-uX2oVxj4-B2CH08AV.js} +1 -1
- package/dist/assets/{AttachmentView-BWRZe11t-geAB7dwF.js → AttachmentView-BQMzs_UT-DjbZBXs7.js} +8 -8
- package/dist/assets/{BankAccountSection-D4xFLS8Y-K9xaG_eB.js → BankAccountSection-MWGcLsKa-DYMEitGJ.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-xch7b7oM-ChEsNIJ1.js → BankAccountWarningSection-CBlOG9xN-KyoF0Xjl.js} +6 -6
- package/dist/assets/{BankConnectionsSettingsPage-BAf6txkS-vMvoxtKR.js → BankConnectionsSettingsPage-PagAlxUn-CnNwI2lQ.js} +33 -33
- package/dist/assets/{BillDetailPage-DNjo2hSl-BIFlrRZ4.js → BillDetailPage-DU3KKWCI-Dgx7cNS3.js} +12 -12
- package/dist/assets/BillPayApprovalRuleDetailPage-DzfhQmLn-0k3Mkm1z.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-XcSe-JLu-CEbOBf4P.js → BillPayApprovalRulesPage-B051t9Mv-Bz466D-_.js} +10 -10
- package/dist/assets/BillPayPromoPage-DvBp9dFZ-DT65a4C3.js +84 -0
- package/dist/assets/BillPaySetUpPage-D7335PCo-lcC21Rm6.js +42 -0
- package/dist/assets/BillingSettingsPage-PsWVXatK-Df6MXAqh.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-C0-0H-LH-C4Ch0eQg.js → BillsBulkReviewDrawerPage-Dkq-bCpf-QfTbq_6Y.js} +1 -1
- package/dist/assets/{BoxItem-DfMMtLK3-DwhF3MEP.js → BoxItem-Bf9DDBGl-B4tzyane.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Bdf48vIt-CsMA_z06.js → BusinessVerificationPage-DZpS0b_1-DhH_xv3P.js} +14 -14
- package/dist/assets/{CardNumberSubText-DgQelYSF-EYjrhelR.js → CardNumberSubText-8FNDlBHV-xefYK_FQ.js} +2 -2
- package/dist/assets/{CashbackDetailPage-pDpjBsfK-B3tdD-nA.js → CashbackDetailPage-CUc07auE-CayGCDQt.js} +23 -23
- package/dist/assets/{ChargeCardDetailPage-DU9RMQc6-CYAFKGtS.js → ChargeCardDetailPage-D84v0WwQ-Drf4gFgi.js} +64 -64
- package/dist/assets/{ChargeCardListPage-DMYZIi2J-YzgnTjNz.js → ChargeCardListPage-BFssQAQg-Dr6YIgl1.js} +30 -30
- package/dist/assets/{ChargeCardListTable-BGhtEqlM-B7Fdytg0.js → ChargeCardListTable-BuI0T0Bn-DXKO7Y7U.js} +193 -193
- package/dist/assets/ChargeCardPromoPage-CRqyciNL-FrtjBhKN.js +222 -0
- package/dist/assets/ChargeCardSetupPage-BzqdaEET-j6EBeAK_.js +36 -0
- package/dist/assets/ChargeCardStatementsPage-BtImi0Pc-D6s-jUZ3.js +60 -0
- package/dist/assets/ChargeCardUtils-DQztOSYJ-DZxY6wV1.js +1 -0
- package/dist/assets/ChaseOverlay-BaGgoJZk-L4zZNkyz.js +170 -0
- package/dist/assets/CheckDepositDrawerPage-90KwCes_-BFVP9Xnd.js +206 -0
- package/dist/assets/{CollapsableReportTable-CuZSfiJ--BV5LvjsE.js → CollapsableReportTable-dCUjgg1X-DLs7OVqc.js} +51 -51
- package/dist/assets/{CompanyOfficerDetailsSection-B8_6LaaT-CKJVK2pK.js → CompanyOfficerDetailsSection-B5d06n1B-shOCzvZi.js} +19 -19
- package/dist/assets/{CompanyPassportCard-Dnoe52f1-BZsqn6WU.js → CompanyPassportCard-BOuhptIV-CVEQtf9Q.js} +6 -6
- package/dist/assets/{CompanyPassportPage-ChrMM5cG-DMFx8-D2.js → CompanyPassportPage-CPxR1IKu-B6sc0yZA.js} +12 -12
- package/dist/assets/CompleteProfile-BIN-sI3M-1L7bxHe9.js +52 -0
- package/dist/assets/{ConfettiBurst-CLXTwsEc-Baoit-xY.js → ConfettiBurst-nTrV9Xfw-D3DkhcOF.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BQT9jEKf-BQUueMhM.js → CreateOrEditVendorPage-CQH4Gfy0-DBGaDkEf.js} +10 -10
- package/dist/assets/{CreditCardPaymentDrawerPage-CqjXmiuE-BYGCpyAz.js → CreditCardPaymentDrawerPage-C3PvfNmm-amz8Ne7l.js} +23 -23
- package/dist/assets/CreditCardPaymentPlgSection-Cz-CSdKg-DO4yi827.js +78 -0
- package/dist/assets/CurrencySelectField-ltt1zExP-D2omcj4n.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-CwOkKzOg-B9TqM2NT.js → CustomerOnboardingActivationPage-Cst56yLP-ejyq0w3C.js} +7 -7
- package/dist/assets/CustomerOnboardingContainerPage-B9rA9JXM-C9nb1PSk.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-czdG16p5-DG6Ivo4n.js → CustomerOnboardingDetailPageSkeleton-H59MLCwU-KBQed5cV.js} +11 -11
- package/dist/assets/CustomerOnboardingNoStepsPage-B8cf9wWc-DoeA9g-j.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-YXekfOBo-HDPrQ7VL.js → CustomerOnboardingPage-1o2R-ghV-DIOBtRSu.js} +12 -12
- package/dist/assets/CustomerOnboardingProductSuitePage-Dfv86gVc-xcmudBbw.js +202 -0
- package/dist/assets/{Dashboard-DSgwFRPe-BqbfAhX1.js → Dashboard-CptSiho6-CYuyH4KA.js} +25 -25
- package/dist/assets/{DashboardReportPage-BJvP8_MA-BBXCjxlc.js → DashboardReportPage-G32NOQFe-BOVMH67u.js} +19 -19
- package/dist/assets/{DashboardSidebarBackgroundAnimation-BzB16gcw-DuZKIfdP.js → DashboardSidebarBackgroundAnimation-DTkdczBR-Dm25xp1J.js} +2 -2
- package/dist/assets/{DepositAccTransactionItem-iLxnaDON-Cu2Jt3BR.js → DepositAccTransactionItem-CQX9MBK--x7S3np6v.js} +4 -4
- package/dist/assets/DepositAccTransactionListPage-C6lB4Qyv-67Okcjlq.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-D7ID3OCC-BWg_cPdV.js → DomesticWireDetailsPage-Bgm_YYHM-C2zlQj9Q.js} +1 -1
- package/dist/assets/{DownloadOverlay-DK3Nswwn-CvcpFx8P.js → DownloadOverlay-DN4zwFl5-BWBizCPI.js} +27 -27
- package/dist/assets/{DrawerPage-qdVRf0zd-D3MHsEvl.js → DrawerPage-B-jrvyA1-D5alUPyS.js} +12 -12
- package/dist/assets/{EditPeoplePage-BQlHto3J-Up6qoGIH.js → EditPeoplePage-BTXEd5bm-DPBckywd.js} +9 -9
- package/dist/assets/{EditReimbursementDetailPage-wJUr8jPN-CucwYAji.js → EditReimbursementDetailPage-5-BeM3DC-BRw6nxEw.js} +52 -52
- package/dist/assets/{EntityDetailPage-BNbBdxQj-VYMr28kW.js → EntityDetailPage-CCTwe1iu-DAg47Prp.js} +1 -1
- package/dist/assets/{EntitySummarySection-BQXLwSRf-Dmz-K_CZ.js → EntitySummarySection-B7uoP2ou-DZ_drzmW.js} +9 -9
- package/dist/assets/ExpenseAutomationOverviewPage-Bz-2JPdW-DaIoHdOM.js +222 -0
- package/dist/assets/{ExpenseAutomationPage-Cn4VyB6M-BhL8s7ps.js → ExpenseAutomationPage-o8ox1q0R-W0eDJCTN.js} +76 -76
- package/dist/assets/{ExpressPayPage-DjV_dQoe-TjH6IBGq.js → ExpressPayPage-BdUERste-C5P04O3w.js} +13 -13
- package/dist/assets/{FeaturePreviewPage-CPu1OiVj-DYKr-SZH.js → FeaturePreviewPage-B6_exSoS-Do4_f9l1.js} +2 -2
- package/dist/assets/{FollowStepsSection-6KGTmbym-BPFH0rIs.js → FollowStepsSection-BoA-EzkO-CtKbn8f6.js} +25 -25
- package/dist/assets/{GlobalReviewListPage-BpuYWhKy-ojejaE0U.js → GlobalReviewListPage-CYjobk5Y-BRiHcGuf.js} +15 -15
- package/dist/assets/HelpButton-DEwtg0Ez-BLNCXJFp.js +28 -0
- package/dist/assets/{InformationCardStack--_YYIZmU-DyhXfEfc.js → InformationCardStack-Dvu4sQsc-BlKJwxKC.js} +5 -5
- package/dist/assets/{InsightsCardStack-BAqsxgx_-DdyBnb2f.js → InsightsCardStack-DffcRWuM-BTqxOdqS.js} +12 -12
- package/dist/assets/{InsightsSection-R-m-A1rt-DREvFYeH.js → InsightsSection-C8Oi6wcZ-D3wuyBHx.js} +4 -4
- package/dist/assets/{IntegrationsSettingsPage-BP0P9-PB-DgpQQrpK.js → IntegrationsSettingsPage-C0VZQfG_-ks1Gh_uy.js} +15 -15
- package/dist/assets/{InternationalWireSwiftDetailsPage-Bl40XkdZ-DcZdsGXF.js → InternationalWireSwiftDetailsPage-SAcvo9BB-BCh0Bmwt.js} +10 -10
- package/dist/assets/{InternationalWireVerificationPage-BxIz3xUq-2c84qgGL.js → InternationalWireVerificationPage-8Ff3v4gu-BQsNCeNp.js} +15 -15
- package/dist/assets/InviteFormPage-CRRvruND-BlSp_6On.js +312 -0
- package/dist/assets/{InvitePageListView-CWpmFhZH-mgWVAkee.js → InvitePageListView-DG91-L1w-HUdilJLK.js} +44 -44
- package/dist/assets/InvitePeoplePage-6ANmf4z2-D3l-3sjy.js +12 -0
- package/dist/assets/{InvoiceUploadSection-BWCF-vNf-BfXQEC3w.js → InvoiceUploadSection-C4O7GGrv-DEO_7ppT.js} +9 -9
- package/dist/assets/{IssueChargeCardPage-DrHldS8--A_AXmB6w.js → IssueChargeCardPage-gohjPIRu-KdDkWZ0o.js} +33 -33
- package/dist/assets/{LabeledAddressValue-WlsZ5Ghz-BRS36g9Q.js → LabeledAddressValue-C6EUPzNB-f8CKs718.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-B-6CWCep-D3jCl4nb.js → LabeledAddressValueField-CC4nYBb8-CmuRvhjZ.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-DLlz4JyR-CMz1DNyM.js → LabeledControlledCheckBoxField-TB_2rc3R-DL54XhuW.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-rYzQ2Ot2-CDpWJTGr.js → LabeledCreatableSingleSelectField-CdgNcgTu-CwOMlXoT.js} +2 -2
- package/dist/assets/{LabeledDocumentField-CD2nmWBu-Cuw8I-AI.js → LabeledDocumentField-CzTqgS97-CVWMa21M.js} +5 -5
- package/dist/assets/{LabeledDropDownFormattedTextField-DpVX6osq-DUYnn-i2.js → LabeledDropDownFormattedTextField-CVzL0J5a-D5_Y7iWl.js} +6 -6
- package/dist/assets/{LabeledText-QTidAWAx-fh93_-mv.js → LabeledText-BICN3vpf-Lk4PuYrJ.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BlTOGYfX-BQucWzXB.js → LabeledUserSingleSelectWithSubtitlesField-VeWNep8c-tP0CG0Iv.js} +20 -20
- package/dist/assets/{LabeledZeniRolesDropDownField-BVYRgzSM-Cv81CAeG.js → LabeledZeniRolesDropDownField--Jr1KizL-SyZHoQyC.js} +14 -14
- package/dist/assets/{LinkJETransactionPage-CKTmE3J5-BL2a536w.js → LinkJETransactionPage-BNWOmBHj-C6dNtx3m.js} +13 -13
- package/dist/assets/{LowBalancePopup-3lHeOacz-Cg-6ggSe.js → LowBalancePopup-Dhrtsv_E-B0rnJzet.js} +6 -6
- package/dist/assets/{MagicLinkACHDetailsPage-CJwMNdWw-BbWz_BUe.js → MagicLinkACHDetailsPage-Brt9q6YZ-ByLyPANb.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-7fXlIwuo-GAs9HQCc.js → MagicLinkDomesticWireDetailsPage-CkSEgmKP-DxqY0_R2.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-D7oeyaXU-Bzhpe6Vc.js → MagicLinkInternationalWireDetailsPage-CqYC7uu7-CV88Q6h1.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-D8iyZlJy-j-oCJl1z.js → MagicLinkSuccessPage-VR-HSAYZ-DUCuiXm5.js} +4 -4
- package/dist/assets/{MagicLinkTitleSection-DUrwrEj2-BnMJM36s.js → MagicLinkTitleSection-T6m2zH4A-C4uTRZc1.js} +3 -3
- package/dist/assets/MailingDetailsSection-B6ZCAac5-CjQ8hXZb.js +21 -0
- package/dist/assets/{MeetingCalenderPopup-SnrmOSBf-CNpJ4esn.js → MeetingCalenderPopup-CgzTeE14-BMiIqHVm.js} +1 -1
- package/dist/assets/{Menu-C7N3gHcb-6AxGYl0u.js → Menu-DOJJ_REW-BwD6B3Nk.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-B4Pjmw7q-BoyImx6j.js → MyBankConnectionsSettingsPage-C_NrRV7T-BjsWlM7P.js} +18 -18
- package/dist/assets/MyPendingActivationChargeCardListPage-CNHCZPs--fg7FpZSk.js +6 -0
- package/dist/assets/{MyProfileSettingsPage-Dv0V1Z6z-DjnAaOLQ.js → MyProfileSettingsPage-CIfFufvo-uBNLzBNw.js} +8 -8
- package/dist/assets/NavBarWithPicker-CvhnGryh-CauN1w5W.js +30 -0
- package/dist/assets/{NavigationArrow-xI3dolgO-C-GiXFn4.js → NavigationArrow-CXkUidH6-fqvGvSGZ.js} +2 -2
- package/dist/assets/{NavigationDots-CbSSDiyy-WCBt3UxE.js → NavigationDots-hBq7kHVj-Vj1p5Rqn.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-vHNZ1z6p-BmDZAkXp.js → NewGlobalMerchantPage-DORHvz4D-CYDIdofb.js} +15 -15
- package/dist/assets/{NoDataChart-DHDhwnCE-CDUxuuOv.js → NoDataChart-C4KqN3ua-6H0vHNsB.js} +1 -1
- package/dist/assets/{NoDataTable-BnVKm6Qa-Da3lIrUA.js → NoDataTable-DaX07HI0-B6ZwwCAM.js} +1 -1
- package/dist/assets/{NotFoundPage-BNZEf9qH-BE8kBN6K.js → NotFoundPage-BIh20jzm-BXLRcjFX.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-DfnpY6qJ-Q5CoK9_s.js → NotificationSettingsPage-gU3g8rJ2-Au_WueGH.js} +14 -14
- package/dist/assets/NotificationsListConfig-C14JCaD1-cAHM1Kht.js +1 -0
- package/dist/assets/{NotificationsPage-Bg1mW_-3-CzD0o_6Q.js → NotificationsPage-oy3LHVU2-C0LKRRGq.js} +52 -52
- package/dist/assets/{OpExByVendorPage-qNgK4tMM-CM_o2sby.js → OpExByVendorPage-D8jXzTd6-CpwZHxBM.js} +9 -9
- package/dist/assets/{OverlayContainerPage-ZbhbAqlg-l2yHPll9.js → OverlayContainerPage-Bmu909Fo-Drnebvl5.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-C8qE7xCZ-UDfg9dM5.js → PandLWithForecastPage-BQW2_QDB-BVhcDW_t.js} +15 -15
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DA77K9eY-BBrPsmYp.js → PaymentAccountSetupBillingAddressSection-CY9QJXXs-ByBDQvaD.js} +18 -18
- package/dist/assets/{PeoplePage-Chec7uSH-DFRieiVv.js → PeoplePage-B7s3mjRX-BNB49xB2.js} +26 -26
- package/dist/assets/{PortfolioAllocationFormPage-B_lIRV75-9B1_7c3Q.js → PortfolioAllocationFormPage-eonsRKDg-CW4TIBlU.js} +5 -5
- package/dist/assets/PortfolioDetails-BFqRNjFs-DdtIdWXw.js +218 -0
- package/dist/assets/ProductsCarousel-BaTq9uMB-DT3_7m1I.js +142 -0
- package/dist/assets/{PromoBaseCards-D3gKG9qA-Bq2w579j.js → PromoBaseCards-Bf3Dizji-DFvWixK1.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-C8y2XvBN-CGZvEFLA.js → QBOConnectionDialog-DhOSSZ5O-BcCZx_dG.js} +13 -13
- package/dist/assets/{QBOSetupSection-DDGIRv8E-DDOtydJ8.js → QBOSetupSection-BWJoUKzu-DC5g6xXu.js} +14 -14
- package/dist/assets/ReimbursementApprovalRuleDetailPage-CiebC6vq-B0xwHjcZ.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-DsIFWYvA-BGZ99R95.js → ReimbursementApprovalRulesPage-gKLkrIyV-DxnMuJiA.js} +10 -10
- package/dist/assets/ReimbursementDetailPage-BF4vlfIm-A5yNZHmb.js +314 -0
- package/dist/assets/ReimbursementPromoPage-BFwztEak-CceCs1UK.js +84 -0
- package/dist/assets/ReimbursementSetUpPage-D1AVnqd4-CKntMkOU.js +140 -0
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DblkkMcc-i1I7617W.js → ReimbursementsBulkReviewDrawerPage-BsqdpOS_-B3Pgz4a_.js} +1 -1
- package/dist/assets/{ReloadCard-BszztAdg-gseVFmCl.js → ReloadCard-BmYf1NZf-DhNr8urp.js} +3 -3
- package/dist/assets/ReportTableViewSelector-yTxheyC3-CSqeEY6U.js +150 -0
- package/dist/assets/{ReportsPage-BfKLEriq-CNsTnOim.js → ReportsPage-DZtCp9CP-GUEOyiOt.js} +8 -8
- package/dist/assets/{RevenueChart-B5dfrWKL-h1RS9vmc.js → RevenueChart-CXSh5l_p-dQ5RnZTk.js} +1 -1
- package/dist/assets/ReviewDetailsPage-DG7ms5Hy-bXyI7cqb.js +290 -0
- package/dist/assets/{ReviewOverlay-BysN2GYI-B54hA7h0.js → ReviewOverlay-B2jf6tfG-D_9vNPuM.js} +26 -26
- package/dist/assets/{RoleWithToolTip-BRe9iDOl-r4MeN03_.js → RoleWithToolTip-DHdLJcWR-GnlXHGj6.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-gij2cBvS-DYNVzDVF.js → ScheduleDetailsFixedAssetsPage-CY0i2n7i-9GRv9Sh2.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-DVm4cyKr-BOhfGajG.js → ScheduleDetailsPage-CVh8-Sc9-BcDI1QHR.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-aSVVm6mG-DuDPOPR7.js → ScheduleSequenceTable-8qqeMhAk-COgow_cL.js} +19 -19
- package/dist/assets/{ScreenRoutes-z4Ov9eJq.js → ScreenRoutes-HggFEvBU.js} +1 -1
- package/dist/assets/SetUpAccountSection-CKdSkMBO-Dgf4iucH.js +378 -0
- package/dist/assets/SetUpDefaultSection-BM57n5BV-BGP1G39B.js +174 -0
- package/dist/assets/SignIn-BMjCrrGx-DVM_TdnN.js +407 -0
- package/dist/assets/{SignInScreen-l-67Uvxk.js → SignInScreen-BP8BTBPi.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-Dav0JMKy-Y-GEx6Lw.js → SpendManagementListViewPage-BphSarNr-olaU5e62.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-C-Y-BFqH-BkDeeVjW.js → SpendManagementPerTabPage-DCkS4HuZ-BoJws23h.js} +43 -43
- package/dist/assets/{SpendManagementSection-DGz-I0bf-Bw1c1jys.js → SpendManagementSection-DKqHikhq-CsTWl7zh.js} +15 -15
- package/dist/assets/SpendMgmtSetupAccountSection-BF7bb5O_-DSPc6rRK.js +206 -0
- package/dist/assets/{StatementItem-2F2qxL7G-sSXIEL81.js → StatementItem-Ki_Mzpf9-D38JqRpj.js} +6 -6
- package/dist/assets/StatementsPage-B6XMWWpt-Dr9BGLnN.js +58 -0
- package/dist/assets/{StatusSwitcher-DBUg94S_-C2JEQhps.js → StatusSwitcher-BkAnAbyd-DQZA1a3w.js} +4 -4
- package/dist/assets/{SubTabSwitcher-CoK8FOIA-DDQIjZPM.js → SubTabSwitcher-Au3snima-DElPxhu-.js} +6 -6
- package/dist/assets/{SummaryCard-D1KRVnqp-BaQsoKv3.js → SummaryCard-B-IXQpJ7-Dg8CCNrn.js} +1 -1
- package/dist/assets/{TaskManagementPage-BhFEeDBu-DzfbV0Zn.js → TaskManagementPage-BPNEy-p0-BIbh7B8y.js} +42 -42
- package/dist/assets/{TimeRangeSwitcher-4JrIq9xZ-TFwqCfhn.js → TimeRangeSwitcher-DpDC0FGn-CoKhjSY7.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-CjctaKq_-Dr_Vr7Rj.js → TimeframeSwitcher-D1cuigpc-D9PCDoa0.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-C0dRRCYf-B1COtObb.js → TimeframeSwitcherWithToggle-_2U17Wg0-Cc6NrQTz.js} +1 -1
- package/dist/assets/{TopExCard-CCBEun3e-BNc9p9eG.js → TopExCard-BWOozDK3-GMojpRJp.js} +7 -7
- package/dist/assets/{TopExDetailPage-DbwmOLnV-Dh4ElkDG.js → TopExDetailPage-DpYLakrO-vsCGpsy3.js} +21 -21
- package/dist/assets/{TransactionDetailPage-DsQJU2de-CxIPljIq.js → TransactionDetailPage-Bxzam_ho-gn2TcHkj.js} +32 -32
- package/dist/assets/{TransactionList-BIMzvzrT-_or9xEGN.js → TransactionList-CEfjoVPA-DR1uAuMl.js} +15 -15
- package/dist/assets/{TransactionListBig-DiFiu66r-BLXPBbpL.js → TransactionListBig-CefZbd83-D9G3vxbN.js} +24 -24
- package/dist/assets/TransactionListPage-CM319tsV-DkNHohDS.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-A2F8TF9r-DUOtbDNW.js → TransactionVendorDetailPage-Z7O-juRN-D3T9JsrE.js} +4 -4
- package/dist/assets/TransferDrawerPage-0vQtF6ID-fpHDlHlf.js +362 -0
- package/dist/assets/{TreasuryOverviewPage-Bwy2y6eI-CvBsMjHy.js → TreasuryOverviewPage-DaCuL9FX-BtE7UAml.js} +101 -101
- package/dist/assets/{TreasuryPromoPage-B3P0nF1z-17ooiVR4.js → TreasuryPromoPage-BQ6Cuqoa-DpBYobqK.js} +26 -26
- package/dist/assets/{TreasurySetupPage-BgrgBBsW-BvZOLqE5.js → TreasurySetupPage-BJRBNCvY-DTKYqc-u.js} +10 -10
- package/dist/assets/{TreasuryStatementsPage-DvCQhl_X-Dk5WyixX.js → TreasuryStatementsPage-z6cg-MO_-B6xE_NLh.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-iG8-cJFt-j6qmlNFn.js → TreasuryTaxLetterPage-DP-c4Sqo-DJ913yYo.js} +5 -5
- package/dist/assets/{TreasuryTransferOrReviewPage-BZ5sPJAg-NdyyZMx2.js → TreasuryTransferOrReviewPage-BGfIlPXx-DSEBAJOM.js} +56 -56
- package/dist/assets/{TrendChart-_IpSJoUH-DXWWW8tE.js → TrendChart-BAMRDfp7-BazRtItt.js} +5 -5
- package/dist/assets/{TrendWithTransactions-BqGV_CQg-DBpBbNzJ.js → TrendWithTransactions-CgbouMHP-BeJkYy2u.js} +8 -8
- package/dist/assets/{UncategorizedAccountsMappingPage-iK-1vllN-CsfRUZlv.js → UncategorizedAccountsMappingPage-DUVjNpg2--ZQ9jdii.js} +20 -20
- package/dist/assets/{UnitIntegrationPage-sYNoUudZ-CYUrKLfM.js → UnitIntegrationPage-DSWbn8gm-BF5pvmYs.js} +4 -4
- package/dist/assets/UploadAdditionalDocumentOverlay-BFn9gixM-TNCvf1wH.js +38 -0
- package/dist/assets/{Vendor2FAPopup--4Ufzmk0-Bhn3C6zT.js → Vendor2FAPopup-CA-cVVNX-Br4ikl9I.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-BD9WwdNN-B6rEBLg0.js → VendorACHDetailsPage-Hdw6gHNB-D1EJLe9f.js} +1 -1
- package/dist/assets/{VendorDetailPage-DwLCEthT-DOEOWBu5.js → VendorDetailPage-CceVHonS-DTF5QB-w.js} +16 -16
- package/dist/assets/{VendorDomesticWireDetailsPage-Y2SlFgHo-ctcFxC1W.js → VendorDomesticWireDetailsPage-ChF-hj1o-CRNdIBeH.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-nGfjBA1D-Dj4qnXHI.js → VendorFiling1099EditablePage-BnMmu8g4-D-QjmAYA.js} +13 -13
- package/dist/assets/{VendorFirstReviewPage-Bgf9MtEn-B5_vtXIt.js → VendorFirstReviewPage-C9LNBxKs-iubpjCjr.js} +49 -49
- package/dist/assets/{VendorInternationalWireDetailsPage-CMxyzCCL-DgMIpDxj.js → VendorInternationalWireDetailsPage-B8F_1TYL-CehAU7df.js} +31 -31
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C6rMWgzM-C9CLMBsh.js → VendorInternationalWireSwiftDetailsPage-HuCjhvn4-DolPnQw8.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-Ceq0cYf6-Dwaaaz-u.js → VendorsAccountsSection-Cj3NFdKN-B9ouaYU2.js} +4 -4
- package/dist/assets/VerifyDevice-dg83_W2W-DmiPoszu.js +96 -0
- package/dist/assets/VideoPopup-0LSxcyRX-CeJLs_Z5.js +31 -0
- package/dist/assets/{WarningsDrawerPage-DSssRFm_-Dvfai-rz.js → WarningsDrawerPage-DR9oeIuj-B1HHe12t.js} +9 -9
- package/dist/assets/{ZeniAccountDetailPage-C6q8N5tU-DESMj8H1.js → ZeniAccountDetailPage-DHl0vyQ0-D4m750Dj.js} +25 -25
- package/dist/assets/{ZeniAccountListViewPage-CqUvXrvR-Cc02Six5.js → ZeniAccountListViewPage-BC1yUQbd-DA-thvu8.js} +63 -63
- package/dist/assets/ZeniAccountNavBarPieces-CpKh4Vxw-CQBSadEV.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-B6wyK1mQ-jB9p9r4X.js → ZeniAccountPromoPage-BaRzPlIW-DDgMDs51.js} +29 -29
- package/dist/assets/ZeniAccountSetupPage-CveI2__B-BL7QVBOR.js +36 -0
- package/dist/assets/{ZeniCopyright-BqG_ynZT-B8auuDYw.js → ZeniCopyright-D6e3OekQ-3nIDquq3.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BZb23ypm-CNSeiXW5.js → ZeniTransferAmountSlider-BqyHxYBn-DOVMp_BS.js} +7 -7
- package/dist/assets/{analyticsHelper-517kzICQ-B_8oYoDB.js → analyticsHelper-CYiy63P3-BIFQ1l_N.js} +1 -1
- package/dist/assets/{analyticsHelper-fHYf245D.js → analyticsHelper-q5gZKv1q.js} +1 -1
- package/dist/assets/chartTypes-sx4859ds-GbS6VOEl.js +1 -0
- package/dist/assets/{commonDimensions-Dw8Sh6Gv-7gi8Z3Gt.js → commonDimensions-DbTYS1hy-sQ0jQuuT.js} +1 -1
- package/dist/assets/{detailCommon-BA8Eb9ta-Cls_xdIj.js → detailCommon-BeqWtSZF-C3x-L6T7.js} +10 -10
- package/dist/assets/downloadPdf-CLTp2aZt-DDw4mfQ_.js +1 -0
- package/dist/assets/{index-CteHikkY.js → index-P_4M6V8j.js} +17377 -14411
- package/dist/assets/{mapLoadingInProgressToTreeNode-B16JI0nu-CaT-riL3.js → mapLoadingInProgressToTreeNode-Dl_IFb2l-Dr2U1vob.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-u05r0BKW-D93Qvfy9.js → mapSectionWithAcOnlyToTreeNode-BAhSN9Et-BvR2g837.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-DHlbGqUH-CR4GfB3i.js → mapSpacerToTreeNode-3b46l63c-C8ssHh5s.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CGkPIsh6-oG-KC4x3.js → mapTimeframeBalancesToTreeNode-3pTXOISe-CgCBO3AW.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-ymtaozr7-CN1Pxsue.js → mapTimeframeBalancesToTreeNode-DJqcH4tL-s-wMhKIa.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-C7X7F5Ac-CAukvICG.js → mapTimeframeHeaderLoadingInProgressToTreeNode-yhbtLbK2-Buokl7Z0.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-B0nbXcq3-CrfKiUyi.js → toCOABalancesWithID-D49XFhoj-DjL9meL6.js} +1 -1
- package/dist/assets/{toChartData-CZR7pH0W-Dm5lu3KI.js → toChartData-C9pHl0xA-CKVc0-Yj.js} +1 -1
- package/dist/assets/{treasuryColorHelper-99Jkq8AE-BBbuwlCb.js → treasuryColorHelper-CkjbPhqI-PraXB90r.js} +1 -1
- package/dist/assets/{uploadAttachment-5GZYaQNG-2L-QfpWR.js → uploadAttachment-BniS82zn-BreMBxbN.js} +20 -20
- package/dist/assets/{uploadReceipts-CtQowT1I-0zTSBTg9.js → uploadReceipts-dxsKhm9I-wO4Dla2j.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/ACHDetailsPage-B2GVy8XM-BOIvjXTj.js +0 -21
- package/dist/assets/ApprovalRulesSettingsPage-l6wNe5y0-1aq4Vv65.js +0 -47
- package/dist/assets/BillPayApprovalRuleDetailPage-CyzRcfmb-uOofdgcM.js +0 -27
- package/dist/assets/BillPayPromoPage-XAG7hXMH-BZL4sjAP.js +0 -112
- package/dist/assets/BillPaySetUpPage-BBsdhwgY-C2VZLsTX.js +0 -42
- package/dist/assets/BillingSettingsPage-DJNjNtIF-uDhkigAj.js +0 -44
- package/dist/assets/ChargeCardPromoPage-B2v83Vrf-COR15-4w.js +0 -222
- package/dist/assets/ChargeCardSetupPage-D4DqJYC2-Bgmue_Hy.js +0 -36
- package/dist/assets/ChargeCardStatementsPage-N-UJC5n3-DCTtgimP.js +0 -60
- package/dist/assets/CheckDepositDrawerPage-BlNXO233-Biy_ee3N.js +0 -206
- package/dist/assets/CompleteProfile-BcB52KEM-lFVSyCYA.js +0 -52
- package/dist/assets/CurrencySelectField-DptlyOSs-CWinX_tp.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-CicNW9-B-DWzzD7vt.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-vfiQQOHz-CcQVn2u7.js +0 -66
- package/dist/assets/CustomerOnboardingProductSuitePage-CZTuBAv2-_eb-zJs0.js +0 -202
- package/dist/assets/DepositAccTransactionListPage-BYdaEGCV-BFNeAgzu.js +0 -66
- package/dist/assets/ExpenseAutomationOverviewPage-UXpoYnDh-CO2tpATT.js +0 -222
- package/dist/assets/HelpButton-j66YbdZ7-Drvx-5iY.js +0 -28
- package/dist/assets/InviteFormPage-t42rmGiL-7JW6Km7H.js +0 -312
- package/dist/assets/InvitePeoplePage-78Fznvo4-BvI_a8sG.js +0 -12
- package/dist/assets/MailingDetailsSection-CXSm1fgW-DRNX0_o-.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-COeIF-Gj-BJUi7XQw.js +0 -6
- package/dist/assets/NavBarWithPicker-Dd5TPoA8-BZQxCbZw.js +0 -30
- package/dist/assets/NotificationsListConfig-DtICI7X6-CayIRbFW.js +0 -1
- package/dist/assets/PortfolioDetails-Dm2r3i6b-BwrtFocU.js +0 -218
- package/dist/assets/ProductsCarousel-Ba0LHKrb-BDvM1Acb.js +0 -144
- package/dist/assets/ReimbursementApprovalRuleDetailPage-Dc_vsL89-DXMeU38o.js +0 -26
- package/dist/assets/ReimbursementDetailPage-6KZSAl8R-CGQrQ4-Q.js +0 -314
- package/dist/assets/ReimbursementPromoPage-Bijp59bV-Bq5XzABH.js +0 -112
- package/dist/assets/ReimbursementSetUpPage-UW_9Cl4O-BNhdS7cU.js +0 -140
- package/dist/assets/ReportTableViewSelector-DOnGrFNT-B1xUQ166.js +0 -150
- package/dist/assets/ReviewDetailsPage-BCo54ehm-fgesmtoD.js +0 -290
- package/dist/assets/SetUpAccountSection-qYVA9A09-CVxmZ6g-.js +0 -378
- package/dist/assets/SignIn-BLt95c3U-D3UBJiEv.js +0 -408
- package/dist/assets/StatementsPage-D8hwgVAz-DamBoqPu.js +0 -58
- package/dist/assets/TransactionListPage-7JveOMDe-v7-9Lfsn.js +0 -35
- package/dist/assets/TransferDrawerPage-CCqQ3Daq-DRUKf3ph.js +0 -362
- package/dist/assets/UploadAdditionalDocumentOverlay-DMtjF2N8-D2r5JejQ.js +0 -38
- package/dist/assets/VerifyDevice-BTFRL9bH-t2x3vCON.js +0 -96
- package/dist/assets/ZeniAccountNavBarPieces-DcmtDKVQ-xec3gYAK.js +0 -14
- package/dist/assets/ZeniAccountSetupPage-Dl83s-y4-Dwfiz5l8.js +0 -36
- package/dist/assets/chartTypes-BTkUFFIf-PQ5t5G6G.js +0 -1
- package/dist/assets/downloadPdf-CDKlyJb--BC8IkHL1.js +0 -1
- package/dist/assets/play-icon-B0_JAuQa-CnChOIaR.js +0 -31
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
import{Y as At,d5 as Mt,e as Rt,u as Pt,bI as Bt,C as m,M as Ze,l as ie,fO as Nt,fQ as Lt,fR as _t,j as t,bU as ze,bW as Ae,bX as Me,_ as y,aW as Re,aJ as Ot,dt as Wt,fS as Et,g1 as Pe,o as a,fT as Be,cV as b,cX as w,fW as x,$ as Ne,cU as Le,v as F,fY as _e,a3 as Ft,p as Ut,fZ as Kt,f_ as ae,aS as Vt,f$ as Yt,a2 as Gt,X as Ht,h as Xt,n as et,an as tt,g as U,B as qt,bp as Jt,i as Qt,gg as Zt,gc as ei,q as c,bN as ti,cr as ii}from"./index-P_4M6V8j.js";import{b as p,n as r}from"./vendor-rkTZJa59.js";import{_ as ai}from"./liveblocks-CP09Cz-7.js";import ri from"./InvoiceUploadSection-C4O7GGrv-DEO_7ppT.js";import{r as oi,h as f,u as ni}from"./types-DyvtCprH-BcZYcgaq.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./crypto-BDNqpTKX.js";import"./AttachmentView-BQMzs_UT-DjbZBXs7.js";import"./uploadReceipts-dxsKhm9I-wO4Dla2j.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),[X,q]=p.useState("approved"),P=p.useRef(null),[j,J]=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),j.primaryButtonText===i.buttons.delete?nt?.():j.title===i.cancelReportTitle?ue?.():j.title===i.cancelAndDeleteReportTitle&&ue?.(!0)},onCancelClick:()=>{k(!1)}},I=l.labelWidth.value(o),z=l.largeLabelWidth.value(o),we=Ze.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,Q=e.remiDetails?.reportTitle,S=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,Se=()=>{J({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=()=>{J({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),k(!0)},vt=()=>{J({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),k(!0)},je=()=>{rt()},Tt={onOkClick:s=>{H(!1),pe({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:s})},onCancelClick:()=>{H(!1)}},St=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?je():(q("approved"),pe({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},jt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(q("delete"),Se()):(q("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,Z=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:j.title}),descriptionComponent:t.jsx(Ae,{children:j.description}),primaryButtonText:j.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:j.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(ji,{}):null,t.jsx(Re,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:Q??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(Xe,{windowsSize:o,children:Q})}),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:Z,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:Z,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W})}):null]}):null,S.map((s,n)=>{const v=e.duplicateLineByLineId[s.lineId];return t.jsxs(Qe,{windowSize:o,children:[t.jsx(Oi,{windowSize:o,children:t.jsx(Wi,{bottomSeperator:S.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:S.length>1?`#${n+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:S.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(Xe,{windowsSize:o,children:Q}),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:Z,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:S.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}`}})})]})]})]}),S.length!==1&&S.length===n+1&&t.jsxs(Li,{windowSize:o,children:[t.jsxs(qe,{windowSize:o,children:[t.jsx(Je,{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)}),S.length===1&&t.jsxs(Qe,{windowSize:o,children:[t.jsx(Ye,{}),t.jsxs(di,{windowSize:o,children:[t.jsx(Ni,{windowSize:o,children:t.jsxs(qe,{windowSize:o,children:[t.jsx(Je,{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:X==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||X==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:jt,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:X==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:St,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(Si,{windowSize:o,children:[ee!=="processing"?t.jsx(re,{onClick:Se,"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:je,"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=Ze.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(qt)`
|
|
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(Zt)`
|
|
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
|
+
`,Si=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
|
+
`,ji=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(Qt)`
|
|
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
|
+
`,Xe=r(Xt)`
|
|
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
|
+
`,qe=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
|
+
`,Je=r(Jt)`
|
|
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
|
+
`,Qe=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};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import{Y as le,u as S,e as k,a1 as ae,l as A,M as E,j as e,_ as a,aW as me,J as u,c as m,o as t,s as ce,c6 as de,a5 as F,B as pe,C as xe,g as z,c8 as he,a6 as ue,ao as ge,q as we}from"./index-P_4M6V8j.js";import{b as j,n as r}from"./vendor-rkTZJa59.js";import{x as je}from"./MeetingCalenderPopup-CgzTeE14-BMiIqHVm.js";import{m as be}from"./VideoPopup-0LSxcyRX-CeJLs_Z5.js";import{M as v}from"./usp-line-BBd1wKwW-u-VMxix8.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const Z="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-light.png",q="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-dark.png",fe={midContainerMarginBottom:new xe(we[5],44)},ye=r.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex: 1 1 auto;
|
|
4
|
+
min-height: 100%;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
background-color: ${i=>i.theme.colors.grey4};
|
|
7
|
+
`,$e=r.div`
|
|
8
|
+
padding: ${i=>i.windowSize==="small"?`${t.sp0} ${t.sp3}`:`${t.sp0} ${t.sp8}`};
|
|
9
|
+
text-align: center;
|
|
10
|
+
`,Se=r(de)`
|
|
11
|
+
max-width: 648px;
|
|
12
|
+
margin: auto;
|
|
13
|
+
padding: ${t.sp7} ${t.sp0};
|
|
14
|
+
color: ${i=>i.theme.colors.primary};
|
|
15
|
+
`,ke=r(ce)`
|
|
16
|
+
max-width: 600px;
|
|
17
|
+
margin: auto;
|
|
18
|
+
padding: ${t.sp5} ${t.sp0};
|
|
19
|
+
color: ${i=>i.theme.colors.primary};
|
|
20
|
+
`,J=r.div`
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
|
|
23
|
+
align-items: center;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
margin-bottom: ${i=>fe.midContainerMarginBottom.valuePx(i.windowSize)};
|
|
26
|
+
`,ze=r.div``,L=r.div`
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
`,g=r.img``,N=r.div`
|
|
32
|
+
width: ${i=>i.windowSize==="small"?"auto":"376px"};
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
`,O=r.div`
|
|
36
|
+
width: ${i=>i.windowSize==="small"?"100%":"calc(100% - 376px)"};
|
|
37
|
+
overflow: hidden;
|
|
38
|
+
max-width: 712px;
|
|
39
|
+
display: flex;
|
|
40
|
+
align-content: center;
|
|
41
|
+
justify-content: center;
|
|
42
|
+
align-items: center;
|
|
43
|
+
`,V=r.div`
|
|
44
|
+
margin-left: ${i=>i.windowSize==="small"?t.sp0:t.sp6};
|
|
45
|
+
margin-bottom: ${i=>i.windowSize==="small"?t.sp4:t.sp0};
|
|
46
|
+
background: ${i=>i.theme.colors.grey3};
|
|
47
|
+
border-radius: 12px;
|
|
48
|
+
border: ${i=>`1px solid ${i.theme.colors.grey3}`};
|
|
49
|
+
padding: 15px;
|
|
50
|
+
`,c=r.div`
|
|
51
|
+
border-radius: ${t.sp12};
|
|
52
|
+
border: ${i=>`1px solid ${i.theme.colors.grey2}`};
|
|
53
|
+
padding: ${i=>i.windowSize==="small"?`${t.sp2} ${t.sp4} ${t.sp2} ${t.sp0}`:`${t.sp3} ${t.sp5} ${t.sp3} ${t.sp0}`};
|
|
54
|
+
background: ${i=>i.theme.colors.grey5};
|
|
55
|
+
position: relative;
|
|
56
|
+
margin-bottom: ${t.sp3};
|
|
57
|
+
display: flex;
|
|
58
|
+
align-items: center;
|
|
59
|
+
text-align: start;
|
|
60
|
+
box-sizing: border-box;
|
|
61
|
+
`,b=r(ge)`
|
|
62
|
+
color: ${i=>i.theme.colors.champion};
|
|
63
|
+
`,f=r(ue)`
|
|
64
|
+
color: ${i=>i.theme.colors.champion};
|
|
65
|
+
`,y=r(F)`
|
|
66
|
+
color: ${i=>i.theme.colors.champion};
|
|
67
|
+
`,$=r(he)`
|
|
68
|
+
color: ${i=>i.theme.colors.champion};
|
|
69
|
+
`,d=r.div``,p=r.div`
|
|
70
|
+
padding-left: ${t.sp3};
|
|
71
|
+
`,I=r(F)`
|
|
72
|
+
margin: ${i=>i.windowSize==="small"?t.sp1:`auto ${t.sp5}`};
|
|
73
|
+
color: ${i=>i.theme.colors.grey1};
|
|
74
|
+
`,W=r(v)`
|
|
75
|
+
color: ${z.graphColor16Dark};
|
|
76
|
+
`,Y=r(v)`
|
|
77
|
+
color: ${z.graphColor09Dark};
|
|
78
|
+
`,G=r(v)`
|
|
79
|
+
color: ${z.success};
|
|
80
|
+
`,D=r(pe)`
|
|
81
|
+
margin: ${t.sp3} auto;
|
|
82
|
+
max-width: 772px;
|
|
83
|
+
color: ${i=>i.theme.colors.hero};
|
|
84
|
+
`,s=E.getLocalizedStrings().spendManagement.reimbursement.reimbursementPromo,n=E.getLocalizedStrings().commonSetUp.businessVerification.terms,ve=()=>{const i=S(),o=k();return e.jsxs(J,{windowSize:o,children:[e.jsx(O,{windowSize:o,children:e.jsx(V,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:q,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(g,{src:Z,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(N,{windowSize:o,children:[e.jsxs(c,{windowSize:o,children:[e.jsx(d,{children:e.jsx(W,{})}),e.jsxs(p,{children:[e.jsx($,{children:s.simplestText.bold}),e.jsx(y,{children:s.simplestText.regular})]})]}),e.jsxs(c,{windowSize:o,children:[e.jsx(d,{children:e.jsx(Y,{})}),e.jsxs(p,{children:[e.jsx($,{children:s.aiPoweredText.bold}),e.jsx(y,{children:s.aiPoweredText.regular})]})]}),e.jsxs(c,{windowSize:o,children:[e.jsx(d,{children:e.jsx(G,{})}),e.jsxs(p,{children:[e.jsx($,{children:s.multiLevelApprovalText.bold}),e.jsx(y,{children:s.multiLevelApprovalText.regular})]})]})]})]})},Te=()=>{const i=S(),o=k();return e.jsxs(J,{windowSize:o,children:[e.jsxs(N,{windowSize:o,children:[e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(W,{})}),e.jsxs(p,{children:[e.jsx(f,{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(Y,{})}),e.jsxs(p,{children:[e.jsx(f,{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(f,{children:s.multiLevelApprovalText.bold}),e.jsx(b,{children:s.multiLevelApprovalText.regular})]})]})]}),e.jsx(O,{windowSize:o,children:e.jsx(V,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:q,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(g,{src:Z,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})},Ze=({reimbursementSetupView:i,userReimbursementInfo:o,meetingUrl:_,videoUrl:H,analytics:x,onSetupButtonClick:K,onCreateNewRemiButtonClick:Q,onBackClick:X,onSetupReimbursementSuccess:T,onClickMenuIcon:ee})=>{const C=le(),[ie,se]=j.useState(!1),[te,P]=j.useState(!1),re=S(),l=k(),{remiTermsDetails:h}=i,R=ae(h?.fetchStatus.fetchState),oe=A.hasReimbursementAdminLevelAccess(C.loggedInUserRoleMap),w=A.hasReimbursementAccess(C.loggedInUserRoleMap)&&!oe,ne=!!o?.isReimbursementTOSAccepted,B=!!i.companyRemiInfo?.isReimbursementEnabled,M=w?B?s.employeeAcceptPromoText:s.employeePendingPromoText:s.promoText;j.useEffect(()=>{R==="In-Progress"&&h?.fetchStatus.fetchState==="Completed"&&T?.()},[R,T,h?.fetchStatus]);const U=()=>{x?.trackReimbursementPromoScheduleDemo(),P(!0)};return e.jsxs(ye,{children:[ie===!0?e.jsx(be,{onCancelClick:()=>{se(!1)},videoUrl:H,"data-testid":a("remi-promo-page-video-popup")}):null,te===!0?e.jsx(je,{onCancelClick:()=>{P(!1)},meetingUrl:_,"data-testid":a("remi-promo-page-meeting-popup")}):null,e.jsx(me,{title:s.title,backgroundColor:re.colors.grey4,onBackClick:X,showBackButton:!w,showMenuIcon:l==="small"||l==="medium-compact",onClickMenuIcon:ee,source:"ReimbursementPromoPage"}),e.jsxs($e,{windowSize:l,children:[l==="small"?e.jsx(ke,{children:M}):e.jsx(Se,{children:M}),l==="small"?e.jsx(ve,{}):e.jsx(Te,{}),e.jsx(ze,{children:w?e.jsx(e.Fragment,{children:B&&!ne?e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:s.scheduleDemoButton,onClick:U,"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:Q,"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:U,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:K,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{Ze as default};
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import{u as Ee,e as Ve,a1 as N,a as qe,c9 as Ge,M as Te,l as Je,a7 as be,j as t,cO as Ze,g as J,C as r,aW as Ye,m as Xe,F as Ke,dO as Qe,aR as et,dE as tt,a3 as it,o as a,q as n,bN as nt,cm as ot,cu as at,f2 as ve,f3 as ke,fN as lt,J as rt,_ as $e,X as Pe,bd as st,i as ct,aO as dt}from"./index-P_4M6V8j.js";import{b as o,n as i}from"./vendor-rkTZJa59.js";import{F as ut}from"./HelpButton-DEwtg0Ez-BLNCXJFp.js";import{Y as je}from"./SetUpDefaultSection-BM57n5BV-BGP1G39B.js";import{f as mt}from"./SpendMgmtSetupAccountSection-BF7bb5O_-DSPc6rRK.js";import{g as pt}from"./UploadAdditionalDocumentOverlay-BFn9gixM-TNCvf1wH.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-CgzTeE14-BMiIqHVm.js";import"./ChargeCardUtils-DQztOSYJ-DZxY6wV1.js";import"./CreditCardPaymentPlgSection-Cz-CSdKg-DO4yi827.js";import"./ChaseOverlay-BaGgoJZk-L4zZNkyz.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:Z}){const l=Ve(),D=Ee(),{formState:{errors:Y},trigger:X}=ot(),E=ft($,"mileageAmountInDenomination"),f=at(Y,E),{localData:c,updateStatus:R,mileageStatus:C}=y,U=e?.denominationConversions.amount==null||e.denominationConversions.amount!==c?.mileageAmountInDenomination,{commonSetUp:K,spendManagement:Q}=Te.getLocalizedStrings(),{reimbursement:ee}=Q,[S,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(()=>{S||W(S)},[S]);const{reimbursementSetup:x}=ee,{setUp:ie}=K,ne=S===!1||R.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(Ct,{windowSize:l,children:e?.denominationConversions.amount==null?x.mileageAddTitle:x.mileageEditTitle}),t.jsx(St,{children:x.mileageSubTitle})]}),C!=null&&e?.denominationConversions.amount!=null&&l==="small"?t.jsx(ve,{style:{width:"max-content",padding:a.sp0,marginTop:a.sp2},tagTitle:C.name,textColor:ke(C.code)}):null]}),t.jsxs(yt,{children:[C!=null&&e?.denominationConversions.amount!=null&&l!=="small"?t.jsx(ve,{style:{width:"max-content"},tagTitle:C.name,textColor:ke(C.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:S||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:S?t.jsx(rt,{label:x.save,"data-testid":$e("save-mileage"),onClick:()=>{c?.mileageAmountInDenomination!=null&&U&&!f&&Z?.(c.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:s!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:R.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
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
pointer-events: ${e=>e.isLoading===!0||e.isActive===!1?"none":"initial"};
|
|
5
|
+
opacity: ${e=>e.isActive?1:.32};
|
|
6
|
+
row-gap: ${e=>h.rowGap.valuePx(e.windowSize)};
|
|
7
|
+
`,wt=i.div`
|
|
8
|
+
display: flex;
|
|
9
|
+
width: 100%;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
justify-content: flex-start;
|
|
12
|
+
`,yt=i.div`
|
|
13
|
+
display: flex;
|
|
14
|
+
`,Ct=i.div`
|
|
15
|
+
${e=>`${ge.title.style(e.windowSize)}`};
|
|
16
|
+
color: ${e=>e.isError===!0?J.important:e.theme.colors.primary};
|
|
17
|
+
`,St=i(ct)`
|
|
18
|
+
display: flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
justify-content: flex-start;
|
|
21
|
+
color: ${e=>e.theme.colors.hero};
|
|
22
|
+
`,bt=i.div`
|
|
23
|
+
display: flex;
|
|
24
|
+
width: ${a.sp4};
|
|
25
|
+
height: ${a.sp4};
|
|
26
|
+
margin-left: ${a.sp4};
|
|
27
|
+
`,vt=i.div`
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: row;
|
|
30
|
+
align-items: flex-start;
|
|
31
|
+
padding: ${e=>h.iconPadding.valuePx(e.windowSize)};
|
|
32
|
+
background: ${e=>e.isDarkMode?e.theme.colors.brandColorJadeDark:e.theme.colors.brandColorJadeLight};
|
|
33
|
+
border-radius: ${a.sp11};
|
|
34
|
+
width: fit-content;
|
|
35
|
+
height: fit-content;
|
|
36
|
+
color: ${e=>e.isDarkMode?J.neutralGrey5Light:e.theme.colors.brandColorOnyx}; // As per design
|
|
37
|
+
max-width: ${e=>h.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
38
|
+
max-height: ${e=>h.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
39
|
+
margin-right: ${e=>h.iconContainerMarginRight.valuePx(e.windowSize)};
|
|
40
|
+
`,kt=i.div`
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-direction: row;
|
|
43
|
+
padding: ${e=>h.containerPadding.valuePx(e.windowSize)};
|
|
44
|
+
width: ${e=>h.sectionWidth.valuePx(e.windowSize)};
|
|
45
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
46
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
47
|
+
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
48
|
+
border-radius: ${a.sp2};
|
|
49
|
+
fill: ${e=>e.theme.colors.grey1};
|
|
50
|
+
color: ${e=>e.theme.colors.grey1};
|
|
51
|
+
justify-content: space-between;
|
|
52
|
+
box-sizing: border-box;
|
|
53
|
+
&:hover {
|
|
54
|
+
border: 1px solid ${e=>e.theme.colors.primary};
|
|
55
|
+
color: ${e=>e.theme.colors.primary};
|
|
56
|
+
fill: ${e=>e.theme.colors.primary};
|
|
57
|
+
}
|
|
58
|
+
`,$t=i.div`
|
|
59
|
+
display: flex;
|
|
60
|
+
align-items: center;
|
|
61
|
+
flex-direction: row;
|
|
62
|
+
justify-content: space-between;
|
|
63
|
+
`,Pt=i.div`
|
|
64
|
+
display: flex;
|
|
65
|
+
align-items: center;
|
|
66
|
+
color: ${e=>e.theme.colors.primary};
|
|
67
|
+
${e=>`${ge.title.style(e.windowSize)}`};
|
|
68
|
+
`,jt=i.div`
|
|
69
|
+
display: flex;
|
|
70
|
+
flex-direction: column;
|
|
71
|
+
`,At=i.div``,Dt=i(st)`
|
|
72
|
+
color: ${e=>e.theme.colors.comingSoon};
|
|
73
|
+
margin-left: ${a.sp3};
|
|
74
|
+
`,Et=i.div`
|
|
75
|
+
display: flex;
|
|
76
|
+
width: 100%;
|
|
77
|
+
flex-direction: column;
|
|
78
|
+
justify-content: flex-start;
|
|
79
|
+
margin-top: ${a.sp3};
|
|
80
|
+
`,Vt=i.div`
|
|
81
|
+
display: flex;
|
|
82
|
+
height: ${a.sp6};
|
|
83
|
+
width: 100%;
|
|
84
|
+
position: relative;
|
|
85
|
+
`,Tt=i.label`
|
|
86
|
+
display: flex;
|
|
87
|
+
padding-left: ${e=>h.infoLabelPaddingLeft.valuePx(e.size)};
|
|
88
|
+
color: ${e=>e.hasError===!0?J.important:e.additionalInfoTextColor??e.theme.colors.hero};
|
|
89
|
+
${e=>`${ge.infoLabel.style(e.size)}`};
|
|
90
|
+
margin-top: ${a.sp1};
|
|
91
|
+
`,Lt=i.div`
|
|
92
|
+
display: flex;
|
|
93
|
+
position: absolute;
|
|
94
|
+
top: 50%;
|
|
95
|
+
transform: translateY(-50%);
|
|
96
|
+
right: ${a.sp3};
|
|
97
|
+
`,It=i(dt)`
|
|
98
|
+
width: ${a.sp3};
|
|
99
|
+
height: ${a.sp3};
|
|
100
|
+
cursor: ${e=>e.isDisabled==null?"pointer":"default"};
|
|
101
|
+
pointer-events: ${e=>e.isDisabled==null?"initial":"none"};
|
|
102
|
+
color: ${e=>e.theme.colors.hero};
|
|
103
|
+
&:hover {
|
|
104
|
+
color: ${e=>e.theme.colors.primary};
|
|
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",q="remiAccount",G="remiMileage",ni=({remiSetupView:e,isDisabled:y,remiApprovalView:j,connectedAccountProvider:A,isAccountsEnabled:$,filesEndPoint:d,authParams:s,meetingUrl:Z,analytics:l,accountsPromoConfig:D,onBackClick:Y,onBusinessVerificationSectionClick:X,onSetupApprovalRulesSectionClick:E,onFetchLinkTokenClick:f,onEstablishConnectionClick:c,onEstablishConnectionSuccess:R,updateMileageDetails:C,onUpdateAccountClick:U,onUpdatePrimaryFundingAccount:K,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:ee,onEnableRemiClick:S,onEnableRemiSuccess:V,onSaveMileageClick:te,onClickMenuIcon:W,onEditFileName:x,onDeleteFile:ie,updateFilesEntity:ne,onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae,onSignUpClick:T})=>{const H=Ee(),u=Ve(),[O,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:Fe,selectedCompanyOfficer:g}=e,{fetchState:xe,allApprovalRules:B,approvalRulesStatus:Re}=j,re=le.link_account.updateStatus,se=le.update_account.updateStatus,_=N(v),we=N(I.fetchState),ye=N(re.fetchState),Ce=N(se.fetchState),z=qe({mode:"all",reValidateMode:"onChange",defaultValues:o.useMemo(()=>pe(e),[e]),values:pe(e)});o.useEffect(()=>{!O&&g?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&g.areAdditionalDocumentsRequestedForVerification&&!g.areAdditionalDocumentsSubmittedForVerification&&g.userVerificationStatus?.code==="require_info"&&L(!0),O&&_==="In-Progress"&&v==="Completed"&&L(!1)},[g,v,_]),o.useEffect(()=>{(_==="In-Progress"&&v==="Completed"||ye==="In-Progress"&&re.fetchState==="Completed"||Ce==="In-Progress"&&se.fetchState==="Completed")&&z.reset(pe(e))},[_,v,z,e,ye,re.fetchState,Ce,se.fetchState]);const Ue=z.handleSubmit(P=>{l.trackEnableReimbursement(),S()}),We=async(P,F)=>{const m=F[q];if(P.includes(q)){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(G)){const w=F[G];C(w)}};o.useEffect(()=>{const P=z.watch((F,{name:m})=>{m!=null&&F!=null&&Ge(()=>We(m,F))});return()=>{P.unsubscribe()}}),o.useEffect(()=>{we==="In-Progress"&&I.fetchState==="Completed"&&V()},[V,we,I.fetchState]);const{commonSetUp:Se,spendManagement:He}=Te.getLocalizedStrings(),{reimbursement:Oe}=He,{reimbursementSetup:M}=Oe,{setUp:k}=Se,ce=fe?.isBusinessVerified===!0&&(b?.accType==="depositAccount"||Je.isVerifiedPaymentAccountProviderStatusCode(b?.providerVerificationStatus?.code??""))&&Me?.denominationConversions.amount!=null,de=ze?.isReimbursementEnabled===!0,Be=ce?Se.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=()=>{!O&&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(Ze,{anchor:"right",PaperProps:{style:{width:p.overlayWidth.valuePercentage(u),boxShadow:"none"}},open:O,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(Ye,{title:M.setupTitle,backgroundColor:H.colors.grey4,style:{zIndex:3},onBackClick:Y,showMenuIcon:!de&&(u==="medium-compact"||u==="small"),onClickMenuIcon:W,source:"ReimbursementSetUpPage"}),t.jsxs(Ft,{windowSize:u,children:[t.jsx(Mt,{windowSize:u,children:Be}),_e?t.jsx(Rt,{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(Qe,{width:p.iconWidthHeight.valuePx(u),height:p.iconWidthHeight.valuePx(u)}),color:ue},status:fe?.businessVerificationStatus,isTagLoading:Fe}),t.jsx(mt,{connectedAccountProvider:A,primaryFundingAccount:b,plaidConnectionDetails:le,allBankAccounts:Ie,allFundingAccounts:he,sectionId:q,isDisabled:y,onFetchLinkTokenClick:f,onEstablishConnectionClick:c,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:ee,onEstablishConnectionSuccess:R,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:G,onSaveMileageClick:te,analytics:l}),t.jsx(je,{title:B.length>0?k.approvalTitle:k.createApprovalTitle,subTitle:M.approvalSubTitle,header:B.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:B.length>0?Re:void 0})]})})})]}),ce&&!de&&B.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:Z,analytics:l,productType:"reimbursement"})]})},zt=i.div`
|
|
107
|
+
display: flex;
|
|
108
|
+
min-height: 100%;
|
|
109
|
+
flex-direction: column;
|
|
110
|
+
width: 100%;
|
|
111
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
112
|
+
`,Mt=i(nt)`
|
|
113
|
+
color: ${e=>e.theme.colors.hero};
|
|
114
|
+
display: flex;
|
|
115
|
+
justify-content: center;
|
|
116
|
+
width: ${e=>p.titleWidth.valuePx(e.windowSize)};
|
|
117
|
+
padding-top: ${e=>p.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
118
|
+
padding-bottom: ${e=>p.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
119
|
+
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
120
|
+
`,Ft=i.div`
|
|
121
|
+
display: flex;
|
|
122
|
+
justify-content: flex-start;
|
|
123
|
+
height: 100%;
|
|
124
|
+
overflow-y: auto;
|
|
125
|
+
flex-direction: column;
|
|
126
|
+
align-items: center;
|
|
127
|
+
row-gap: ${e=>p.setupDetailsRowGap.valuePx(e.windowSize)};
|
|
128
|
+
`,Rt=i.div`
|
|
129
|
+
display: flex;
|
|
130
|
+
width: 100%;
|
|
131
|
+
height: calc(100vh - 110px);
|
|
132
|
+
flex-direction: row;
|
|
133
|
+
justify-content: center;
|
|
134
|
+
align-items: center;
|
|
135
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
136
|
+
`,Ut=i.div`
|
|
137
|
+
display: flex;
|
|
138
|
+
flex-direction: column;
|
|
139
|
+
row-gap: ${e=>p.sectionRowGap.valuePx(e.windowSize)};
|
|
140
|
+
`,pe=e=>{const{allBankAccounts:y,allFundingAccounts:j,mileageDetails:A,primaryFundingAccount:$}=e,{localData:d}=A;return{[q]:{fundingAccount:{selectedOption:$?.id,allOptions:j.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:$?.zeniAccountId,allOptions:y.map(s=>({label:s.accountName,value:s.accountId}))}},[G]:{mileageAmount:d?.mileageUnitAmount?.amount,mileageCurrencyCode:d?.mileageCurrencyCode??"USD",mileageCurrencySymbol:d?.mileageCurrencySymbol??"$",mileageUnit:d?.mileageUnit??"",description:d?.description??"",mileageAmountInDenomination:d?.mileageAmountInDenomination,denomination:d?.denomination??"dollars",denominationSymbol:d?.denominationSymbol??""}}},De=e=>`${e}_form`;export{ni as default,De as uniqueName};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{M as O,j as b,bU as W,bW as q,bX as V,jk as X,aa as z,l as H}from"./index-P_4M6V8j.js";import{b as f}from"./vendor-rkTZJa59.js";import{m as Y}from"./ReviewOverlay-B2jf6tfG-D_9vNPuM.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const{common:n,spendManagement:{reimbursement:j}}=O.getLocalizedStrings(),o=j.bulkActions;let I;const le=({remisReviewView:e,isAdmin:a,analytics:i,onProceedForBulkActionClick:d,onCloseReviewItem:r,onCloseOverlay:s})=>{const{fetchState:p,bulkSubmissionFetchState:c,bulkOperationTypeSelected:t,currentTab:v,currentSubTab:g}=e,h=!1,[w,l]=f.useState(!1),[m,_]=f.useState(P(e,h,a)),[x,R]=f.useState(h),[B,J]=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,a)),()=>{clearInterval(I)}),[m.length,B,x,e.fetchState,h,e,a]);const E=m.length,S=m.filter(u=>u.reviewStatus.code!=="error").length,F=()=>{const{title:u,description:T}=Z(S);A({type:"reject",title:u,description:T,primaryButtonText:n.texts.confirm,secondaryButtonText:n.texts.close}),i.trackReimbursementBulkSubmit(t,v,g),l(!0)},U={onOkClick:u=>{l(!1);const T=e.remisForReview.map(k=>k.reimbursement);i.trackReimbursementBulkPopupConfirm(t,v,g,H.getRemiListUniqueType(T.map(k=>k?.reimbursementTypesIncluded??[]))),d("reject",u)},onCancelClick:()=>{l(!1)}},{title:$,description:L}=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(W,{titleComponent:b.jsx(V,{children:y.title}),descriptionComponent:b.jsx(q,{children:y.description}),primaryButtonText:y.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:y.secondaryButtonText,action:U,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(Y,{title:$,description:{content:L,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,a,i)=>{const d=e.fetchState==="In-Progress";return e.remisForReview.map(r=>{const s=X(i,r.submittedBy);return{id:r.transactionId,leftSideText:{title:r.reimbursement?.reportTitle!=null?r.reimbursement.reportTitle:j.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??""}}})},Z=e=>{const{this_:a,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_>",a).replaceAll("<_payment_>",s).replaceAll("__report__",d)}},G=(e,a,i,d)=>{const{has:r,have:s,report:p,reports:c,are:t,is:v,do_:g,does:h}=n.texts,w=a>1,l=i>1;let m="",_="";return e==="Completed"&&!d?(m=o.reviewPage.reportsReviewed.title.replace("__report__",l?j.bulkActions.reports:o.report).replace("<_has_>",l?s:r),a===0?_=o.reviewPage.reportsReviewed.descriptionError.replace("__report__",l?c:p).replace("<_do_>",l?g:h):_=`${a}/${i} ${o.reviewPage.reportsReviewed.description.replace("__report__",i>1?c:p).replace("<_is_>",w?t:v)}`):(m=o.reviewPage.reportsReviewing.title.replace("__report__",l?c:p),_=o.reviewPage.reportsReviewing.description.replace("__report__",l?c:p)),{title:m,description:_}};export{le as default};
|