@zeniai/web-cockpit-ui 1.15.39-prod → 1.15.40-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-DpLTXUS2-D0c1tGuw.js +21 -0
- package/dist/assets/{AIPerformancePage-DlTdGosv-Di0ccGpn.js → AIPerformancePage-ByRPO3mW-3EbdmQ_-.js} +104 -104
- package/dist/assets/AccountInfoPage-BfVVOaTL-D3vk9TdW.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BS2TBUSE-DTYhhB8W.js → AccountInfoPageContent-BAzd-LkX-BjwkJSBP.js} +15 -15
- package/dist/assets/AccountLockedInfoModal-BI8dkiAz-CEREcr8f.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-kQJld6_N-DCWtcC9O.js → AccountReconDetailsDrawerPage-Cu_UrL9J-Bn-PtQx2.js} +18 -18
- package/dist/assets/AccountRow-nSloLUTN-C7-a59B1.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-DBQnDPXQ-DB4duUYp.js → AccountsPromoCardStack-Z8O9Tv5P-BHHWsVbt.js} +32 -32
- package/dist/assets/AddAddressForCardDrawer-GDXK5rJA-DyijyVI8.js +6 -0
- package/dist/assets/{AddToWalletPage-C4EwdLZJ-RMT_Rtix.js → AddToWalletPage-CKOnAq6_-CqcvkHGd.js} +22 -22
- package/dist/assets/{AgingReportsPage-vAvkUfOS-BNQ1EsXi.js → AgingReportsPage-CUcu_cHV-Do94-_mv.js} +5 -5
- package/dist/assets/{AllUserItems-qrYg6Gdx-38Z4W7t-.js → AllUserItems-BbhDuv3Y-CPWfHpie.js} +10 -10
- package/dist/assets/ApAgingDetailPage-DLvP7G6Q-DhXBARgG.js +46 -0
- package/dist/assets/{AppBasePage-DrE-W6d7-H033eGeH.js → AppBasePage-Cc3o50Ar-BZVIdQ2o.js} +12 -12
- package/dist/assets/{AppDrawerContent-ATbZG_cu-DAjRBfpo.js → AppDrawerContent-moxx3tLo-DWEBLXQy.js} +5 -5
- package/dist/assets/ApprovalRulesSettingsPage-BiL2dANi-BvGx2tm4.js +47 -0
- package/dist/assets/{ArAgingChart-CuzG9AZY-DARfJGKl.js → ArAgingChart-DuwEWasX-B7DcyKyM.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-DwRkcLEu-66L1n-kj.js → ArAgingDetailPage-DGETibBB-BtDKR53R.js} +6 -6
- package/dist/assets/{AttachmentView-BrQRChzc-DVSJI4zu.js → AttachmentView-Q7kiwPOS-BNETSDSC.js} +5 -5
- package/dist/assets/{BankAccountSection-hcKEMs80-BydqNCiH.js → BankAccountSection-Ct31GOKt-CADjKttV.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-CpxVDMSZ-y8S4MM2c.js → BankAccountWarningSection-ko9DqAKK-BfybEzCK.js} +10 -10
- package/dist/assets/{BankConnectionsSettingsPage-Bdw1K00m-0L27mhRd.js → BankConnectionsSettingsPage-Ds9FSEMV-B2mXxuP2.js} +14 -14
- package/dist/assets/{BillDetailPage-D0NLFZXA-iiVIiqZL.js → BillDetailPage-DKDNgnqK-2cg0C7-c.js} +13 -13
- package/dist/assets/{BillPayApprovalRuleDetailPage-DkpCvYvo-BlLQ7PSs.js → BillPayApprovalRuleDetailPage-DUprxSDP-B3qYmqgn.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BEqZD0GU-CZoh1J7p.js → BillPayApprovalRulesPage-DuRefUEE-B2lK8SV2.js} +12 -12
- package/dist/assets/BillPayPromoPage-CszEgRZk-BTqdbqxQ.js +84 -0
- package/dist/assets/{BillPaySetUpPage-WdEdbf16-Ckk9rcvV.js → BillPaySetUpPage-UfS3JsLW-Zxv-DayC.js} +2 -2
- package/dist/assets/BillingSettingsPage-9uV4vEJB-CnXv1V73.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-DAUoo9pq-DF8W13Lh.js → BillsBulkReviewDrawerPage-DKGmWv9w-CuPH1foN.js} +1 -1
- package/dist/assets/{BoxItem-CACRFWG2-C6QTbKbJ.js → BoxItem-Qhw9iPt9-CzMCE4d7.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-9gZbBDL6-V8h0-tfo.js → BusinessVerificationPage-CVZrCy-t-DHZcdzsr.js} +9 -9
- package/dist/assets/{CardNumberSubText-C-oVdziK--bfUrERt.js → CardNumberSubText-r5Tf-P5n-CPkrSmch.js} +3 -3
- package/dist/assets/{CashbackDetailPage-BhFKSl4p-Dy9mFMXY.js → CashbackDetailPage-Bo_ZMMG7-O_F3xD1y.js} +20 -20
- package/dist/assets/{ChargeCardDetailPage-D8J6HINu-COoh6WN-.js → ChargeCardDetailPage-BlQdk9jC-CEJAXstZ.js} +39 -39
- package/dist/assets/{ChargeCardListPage-tdUKyHdz-qrqRNX-w.js → ChargeCardListPage-CsFYpoaM-guNcti1f.js} +30 -30
- package/dist/assets/{ChargeCardListTable-CByk3iqX-BUioHtI3.js → ChargeCardListTable-D8exMgXq-BTYKr9bX.js} +39 -39
- package/dist/assets/{ChargeCardPaymentHistoryPage-B8zRcrjo-Bn65o0yq.js → ChargeCardPaymentHistoryPage-DBc981J5-C_KsK_Zd.js} +39 -39
- package/dist/assets/ChargeCardPromoPage-Dk1xNNTk-Cya5z3jm.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-DtwiTNKA-CVlSKZxA.js → ChargeCardSetupPage-Bco5-BZh-DmUwzBF1.js} +4 -4
- package/dist/assets/{ChargeCardStatementsPage-B0KPw52e-ByA4qhte.js → ChargeCardStatementsPage-uEDAQkC5-Ca3X6gkv.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-DKNAXI77-sMLHphUU.js → CheckDepositDrawerPage-CNRKyz3v-gmMux-Qd.js} +15 -15
- package/dist/assets/{CollapsableReportTable-Cq8bhaYC-CF7uGt5G.js → CollapsableReportTable-CoDaSHJN-BeRkup1e.js} +272 -272
- package/dist/assets/{CompanyOfficerDetailsSection-Rk0B5cB5-Cc6v3uTk.js → CompanyOfficerDetailsSection-DzleqDta-BzbJLAhM.js} +28 -28
- package/dist/assets/{CompanyPassportCard-CHaKk74P-BuwnTJgw.js → CompanyPassportCard-CG5saSQ3-DNwsmEMg.js} +5 -5
- package/dist/assets/{CompanyPassportPage-DXWXFFKM-BHScOnr-.js → CompanyPassportPage-ZCNGHjZ9-KZyi_Mzu.js} +21 -21
- package/dist/assets/{CompleteProfile-ChaWsK6t-Ch22ZqNB.js → CompleteProfile-BqPvCgUX-A6-sj2cx.js} +1 -1
- package/dist/assets/ConfettiBurst-B2xVyUMV-0H5gfw7o.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-DPFWAYsC.js → ConstrainedInnerElement-BeIpAPjB-BthMTEWM.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C_8Jqubo-w1wY2IVL.js → CreateOrEditVendorPage-CfFzrga_-BPUVECKH.js} +17 -17
- package/dist/assets/{CreditCardPaymentDrawerPage-lOjOtk28-BaI6sn3E.js → CreditCardPaymentDrawerPage-Cjnbhvmv-eb3LqJz4.js} +11 -11
- package/dist/assets/CurrencySelectField-DDmu3bja-D1d_Ut_Z.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-DO6NCakm-DJkW-QUu.js → CustomerOnboardingActivationPage-hnf-eIo--C4K5Zxpz.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-7zQwgryW-C6hmKSZu.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-BViYbU9r.js → CustomerOnboardingDetailPageSkeleton-DUBpQ8ln-C4F_bhLR.js} +9 -9
- package/dist/assets/{CustomerOnboardingNoStepsPage-CbG5WshV-CC9OO9Zm.js → CustomerOnboardingNoStepsPage-CA0h5UTQ-BjW3LXd6.js} +6 -6
- package/dist/assets/{CustomerOnboardingPage-DyVyf8oK-EdtcOQOl.js → CustomerOnboardingPage-rvO0Stsl-D7f95vft.js} +7 -7
- package/dist/assets/{CustomerOnboardingProductSuitePage-1F3JfCRp-D-eLSEK_.js → CustomerOnboardingProductSuitePage-BIgNTp2U-BwO9ehCm.js} +10 -10
- package/dist/assets/{Dashboard-Csggwob0-DbZlWNOK.js → Dashboard-BFesVYJk-BNAlL83k.js} +33 -33
- package/dist/assets/{DashboardReportPage-DFIdi_I0-CrW2fKfi.js → DashboardReportPage-CdNJfWUo-DOYF0wYK.js} +23 -23
- package/dist/assets/DashboardSidebarBackgroundAnimation-CJDhi61--XjtCq4Xk.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-CZ7v1T4S-Dz6eiu1t.js → DepositAccTransactionItem-DJ_V8Mx7-CDK8mXzb.js} +5 -5
- package/dist/assets/{DepositAccTransactionListPage-FldPGX6K-D8YmdVM3.js → DepositAccTransactionListPage-DBsJOm1m-nTfqP2ee.js} +5 -5
- package/dist/assets/{DomesticWireDetailsPage-C--eZ-UG-9mSh83iK.js → DomesticWireDetailsPage-B1_C38p0-CovZ6vni.js} +2 -2
- package/dist/assets/{DownloadOverlay-4f9deyJS-BDQep2Qb.js → DownloadOverlay-DYUlDQr8-qBFIPpKK.js} +26 -26
- package/dist/assets/{DrawerPage-roO3xvRT-zC-9Sm-q.js → DrawerPage-jU38Lq6Q-AHgBQfC_.js} +13 -13
- package/dist/assets/EditPeoplePage-Dw9mMyyp-DPDs2n-w.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-CIUcImns-kYGHkuqR.js → EditReimbursementDetailPage-PRaUQsZj-DqTgKZsB.js} +82 -82
- package/dist/assets/EntityDetailPage-C2Ix5fwl-gSVT_FTR.js +18 -0
- package/dist/assets/{EntitySummarySection-fBL4TZpT-B-_HI86c.js → EntitySummarySection-BzzwWXw2-D_F7Rlzp.js} +14 -14
- package/dist/assets/{ExpenseAutomationOverviewPage-CnhNINCc-SMziNJV-.js → ExpenseAutomationOverviewPage-CMzFQB6V-DM_yh2Rl.js} +47 -47
- package/dist/assets/ExpenseAutomationPage-BOOA30kB-BufH1Btg.js +3001 -0
- package/dist/assets/{ExpressPayPage-c8oTCnBR-BkA_twFR.js → ExpressPayPage-B8_m64s9-wdqPmdTX.js} +17 -17
- package/dist/assets/{FeaturePreviewPage-DkiAajs2-sdkFON1y.js → FeaturePreviewPage-BLWGNRVo-C92AU0mn.js} +2 -2
- package/dist/assets/{FollowStepsSection-GaWu1kt9-BtYRvQUW.js → FollowStepsSection-CBVDfZ38-nmHmpAVz.js} +57 -57
- package/dist/assets/GlobalReviewListPage-DlBZ4OnM-xT4_H-8W.js +291 -0
- package/dist/assets/{InformationCardStack-dMFbHUWM-DJYqd1p2.js → InformationCardStack-D8hkkUkN-B1MHqZTM.js} +4 -4
- package/dist/assets/{InsightsCardStack-BlXkyuyz-Cc13O68J.js → InsightsCardStack-T3ZL19C0-BBaRu6Cu.js} +9 -9
- package/dist/assets/InsightsSection-CVioRrr2-CEMLw-o0.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-D-hfghuq-C7DDYvJO.js → IntegrationsSettingsPage-DKqNc7bF-BOmO6Qyo.js} +6 -6
- package/dist/assets/{InternationalWireSwiftDetailsPage-DxdKE300-C2FMGKya.js → InternationalWireSwiftDetailsPage-qzmJ8_r9-C6omI1qL.js} +19 -19
- package/dist/assets/InternationalWireVerificationPage-8XEibbVK-cjj-JWJ4.js +65 -0
- package/dist/assets/{InviteFormPage-BCdalqtP-JSUpTwRd.js → InviteFormPage-Dw-l-O7n-B74WmVBo.js} +16 -16
- package/dist/assets/{InvitePageListView-B88FW48q-eZ03pNWI.js → InvitePageListView-CGjk-eOP-ClDlh7fM.js} +48 -48
- package/dist/assets/InvitePeoplePage-DSg5Quam-VrkZhbUi.js +12 -0
- package/dist/assets/InvoiceUploadSection-D_uWzQW4-Bxkjza2M.js +140 -0
- package/dist/assets/{IssueChargeCardPage-B6wmvbEr-DKWO7qVS.js → IssueChargeCardPage-BASDviuN-Der3X_t9.js} +34 -34
- package/dist/assets/{LabeledAddressValue-CQrDCgNs-BsNmYVhI.js → LabeledAddressValue-IPGwjeYh-CkaMLxji.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-BoHS44YO-DdPul09t.js → LabeledAddressValueField-DYjUauc7-DIfkXNuQ.js} +4 -4
- package/dist/assets/LabeledControlledCheckBoxField-DVf8zpcv-CnTD9x1u.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-D1fVDYR_-4Yt95KZ6.js → LabeledCountryMultiSelectField-CekqwoGI-FfKjwgoC.js} +3 -3
- package/dist/assets/{LabeledCreatableSingleSelectField-Bhka-Faj-DjTBiOsQ.js → LabeledCreatableSingleSelectField-By3V1BNi-3t8vaX2e.js} +8 -8
- package/dist/assets/LabeledDocumentField-CN-BH7Gq-D_XxeGxN.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-ChgtJqPr-LQpIk2qs.js → LabeledDropDownFormattedTextField-CQkl7AeY-DLVKw4TX.js} +4 -4
- package/dist/assets/{LabeledText-2EDpuXZ4--4Ak1nFl.js → LabeledText-D1RmgOs9-q82PtDVl.js} +5 -5
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-BItwGyvy.js → LabeledUserSingleSelectWithSubtitlesField-Bw1TjzCA-0XX6kAaj.js} +15 -15
- package/dist/assets/{LabeledZeniRolesDropDownField-CpH0eDWO-5l-JnNmI.js → LabeledZeniRolesDropDownField-BiVOlFVe-DAdgSY4x.js} +26 -26
- package/dist/assets/LinkJETransactionPage-DbA8sdwa-BFuJnTLq.js +98 -0
- package/dist/assets/{LockCardPage-CHv1xi2J-C-RCe9NU.js → LockCardPage-BVpW2BeO-aNMVewaJ.js} +42 -42
- package/dist/assets/{LowBalancePopup-Cb55PGLc-DXAwNROj.js → LowBalancePopup-DTUaytjD-DS1CDgAE.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-k34ybVrp-BxWmvoNw.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cc9sI0Na-DYhrOrMG.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DI9_mzqN-g6BD3Bf4.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-RG1qZ5Kj-CBdchHNz.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-BA-i6vzA-BKTpYCgY.js → MagicLinkTitleSection-BeTuROc4-BqJ6KNUx.js} +4 -4
- package/dist/assets/{MailingDetailsSection-EwtoQ2TZ-BYbca4eQ.js → MailingDetailsSection-q49nDsf9-CpQRrqml.js} +6 -6
- package/dist/assets/{MyBankConnectionsSettingsPage-Aer6AWxY-C_blBhCL.js → MyBankConnectionsSettingsPage-B9kH0sVB-CBACGGM8.js} +12 -12
- package/dist/assets/MyPendingActivationChargeCardListPage-SRoiz1Qu-CXlkfrZl.js +6 -0
- package/dist/assets/MyProfileSettingsPage-D40mm3Me-BP-31NhD.js +85 -0
- package/dist/assets/NavBarWithPicker-DuTo0ZPb-C_jShNIM.js +30 -0
- package/dist/assets/{NavigationArrow-kQWS5Pzb-CZlNzT7X.js → NavigationArrow-BvkBQmTR-Df9u1P7d.js} +7 -7
- package/dist/assets/{NavigationDots-BQb_Fodq-D9zYrJxL.js → NavigationDots-DyeJVxnu-BWgE-kd3.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-z86XZorn-C3DuKVWD.js → NewGlobalMerchantPage-D15HmpS7-7O1eYItX.js} +34 -34
- package/dist/assets/NoDataChart-j3LPkJML-DH_2yb3S.js +26 -0
- package/dist/assets/{NoDataTable-DVe7sQhD-DAr_nbkW.js → NoDataTable-BnwGiTCu-DdjmD7IA.js} +1 -1
- package/dist/assets/{NotFoundPage-B1XCmhSe-BCFHEjVk.js → NotFoundPage-Ds5RxwiG-CAZIdfn2.js} +8 -8
- package/dist/assets/{NotificationSettingsPage-BaN20EGV-C7YEarxf.js → NotificationSettingsPage-CeWmIGY8-DtH4x4Zr.js} +30 -30
- package/dist/assets/NotificationsListConfig-_L5Loigk-C2rXa9XH.js +1 -0
- package/dist/assets/{NotificationsPage-C9efAgjo-X3HfLFbO.js → NotificationsPage-DYE-ZefG-CQb2VS6_.js} +40 -40
- package/dist/assets/OpExByVendorPage-Br2UmBAk-C4xtYWdA.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-B-m--Xul.js → OverlayContainerPage-D4QU0p4o-C2DruCao.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CXtJhnA_-Cuu7e1Ah.js → PandLWithForecastPage-vAvSbwIq-D4RAUyzB.js} +13 -13
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Deb_ngk6-DJ7N45cl.js → PaymentAccountSetupBillingAddressSection-2cz94sYW-D8fR2crL.js} +14 -14
- package/dist/assets/PeoplePage-DSSY4CbY-CUJyHd04.js +727 -0
- package/dist/assets/{Preview-BuOgCk-Q.js → Preview-DH9wlYN4.js} +1 -1
- package/dist/assets/{ProductsCarousel-ufZlh7Rx-BVvqj8Me.js → ProductsCarousel-JcjsFk4w-xghMAqt2.js} +7 -7
- package/dist/assets/{PromoBaseCards-D2UbhBhT-DMK3ZV1S.js → PromoBaseCards-D8xPcjkz-DtK0GWHd.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-BrQ71F06-BloqMzwE.js → QBOConnectionDialog-KDwylUf5-DEEWOQtl.js} +6 -6
- package/dist/assets/QBOSetupSection-Dts3QjOd-CSmveDbb.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-Dz5HZk-8--6Vs9cIS.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-CMpYn5y_-CPBrQLxt.js → ReimbursementApprovalRulesPage-BcmW2ws5-Che0m033.js} +11 -11
- package/dist/assets/ReimbursementDetailPage-BdJYqqCn-CYh1sneh.js +314 -0
- package/dist/assets/ReimbursementPromoPage-B7nNFf49-09B6QAJH.js +84 -0
- package/dist/assets/{ReimbursementSetUpPage-KrGPXTCb-Icuac1CN.js → ReimbursementSetUpPage-B6l3L19G-D3utfB62.js} +13 -13
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-l2mYNEKn-AL6f2hfw.js → ReimbursementsBulkReviewDrawerPage-BjiqrxQ2-DWSGEIbO.js} +1 -1
- package/dist/assets/{ReloadCard-vAhL7B8U-BzDbzFoK.js → ReloadCard-pCquFw6w-C5Nq3bfI.js} +8 -8
- package/dist/assets/{ReportTableViewSelector-Y97ney3W-BkL08gqT.js → ReportTableViewSelector-BOA9cxem-D95Rl8Pv.js} +28 -28
- package/dist/assets/{ReportsPage-DKM0gVzR-C5aprjj3.js → ReportsPage-BOsLdYhx-DZO6PKlQ.js} +4 -4
- package/dist/assets/{RevenueChart-BEjDS1u4-BMjb-Z9i.js → RevenueChart-DPse5Wdo-AFfFtyYx.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-BlQLrN9z-B-frp31R.js → ReviewDetailsPage-DTCm09MF-BtzB7MPB.js} +53 -53
- package/dist/assets/{ReviewOverlay-Bn3TFqfi-Dn6Ds-0B.js → ReviewOverlay-B2XV0Wf1-9HOJu6NK.js} +25 -25
- package/dist/assets/RoleWithToolTip-DpaXFRka-BbRU76xe.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BMkFjf9Y-A9wlZiqu.js → ScheduleDetailsFixedAssetsPage-DLpikyWD-kK0JFjhN.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-BP0wdtoP-COj3wSEe.js → ScheduleDetailsPage-DIvnRAi6-CXakgTSA.js} +8 -8
- package/dist/assets/{ScheduleSequenceTable-D-rZ4ftr-CsInksIE.js → ScheduleSequenceTable-O93ZenyD-DnPGdohK.js} +44 -44
- package/dist/assets/{ScreenRoutes-BNtKYcoQ.js → ScreenRoutes-uNOGWUGZ.js} +33 -33
- package/dist/assets/{SetUpAccountSection-CoVrSSYL-DgVcSp7i.js → SetUpAccountSection-Dl68db5l-B4jqgZUp.js} +5 -5
- package/dist/assets/SignIn-D6twztsA-CW5yhgyV.js +491 -0
- package/dist/assets/SignInScreen-CxdUYlBE.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-D3eISFuA-C7D2QZnj.js → SpendManagementListViewPage-DsTTqmEx-yOHixb_V.js} +21 -21
- package/dist/assets/{SpendManagementPerTabPage-BWDjZyLp-CPnSCWuD.js → SpendManagementPerTabPage-Dt9HEmXn-CJK-wCrp.js} +13 -13
- package/dist/assets/{SpendManagementSection-D8rBpC-y-DsL4S0Yp.js → SpendManagementSection-DbsdVrJv-B_c96ZIs.js} +23 -23
- package/dist/assets/StatementItem-D1vvnzNl-lXFrHXXQ.js +31 -0
- package/dist/assets/StatementsPage-XAVpAiKL-Ch4pndMa.js +58 -0
- package/dist/assets/{StatusSwitcher-B9MARTyR-BZRsnOBI.js → StatusSwitcher-B4EYXc0F-D3lCfolE.js} +5 -5
- package/dist/assets/{SubTabSwitcher-C3rtSwro-D22jv1cY.js → SubTabSwitcher-CM9v4rRl-lIA1fOJE.js} +3 -3
- package/dist/assets/{SummaryCard-CShVbqhj-CWzsp0EB.js → SummaryCard-CF9Nbk_i-CKrtYMiz.js} +1 -1
- package/dist/assets/TaskManagementPage-ChTC8Nzf-c9kZ-1iP.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-DFnX6_WT-BGYujfh-.js → TimeRangeSwitcher-37ytEy0X-BPg3_wjC.js} +2 -2
- package/dist/assets/TimeframeSwitcher-Ca28fZEt-4kauNdEu.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-BSWY0nMa-u1tKN6th.js +31 -0
- package/dist/assets/{TopExCard-dI_WEGWb-DPSliUEh.js → TopExCard-DHDNaLww-Cp9pW08N.js} +11 -11
- package/dist/assets/{TopExDetailPage-BWy5E8Lp-Bkjkpd9W.js → TopExDetailPage-DFzrCiVG-BvTfiPwy.js} +14 -14
- package/dist/assets/{TransactionActivityLogPage-DjhEIUYm-DzrHq8B3.js → TransactionActivityLogPage-DcbQgckT-BCk9nFR3.js} +23 -23
- package/dist/assets/TransactionDetailPage-BCTtqHfm-n6NqpKTK.js +903 -0
- package/dist/assets/{TransactionList-80KjM8Kg-B_u5NQDq.js → TransactionList-DVFUdewa-8p0Xausj.js} +20 -20
- package/dist/assets/{TransactionListBig-DWQXH4ID-BqKjinGR.js → TransactionListBig-Daypmugt-AiYr5uVw.js} +20 -20
- package/dist/assets/TransactionListPage-CzwkHzb_-Dnj7c_uL.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-CzfJ5b_3-DtirJ3wX.js → TransactionVendorDetailPage-BsKafcmj-QLBH3pzt.js} +16 -16
- package/dist/assets/{TransferDrawerPage-6z-MoZZP-BsmHUIHU.js → TransferDrawerPage-DyFcSYZt-7PU8dYYK.js} +35 -35
- package/dist/assets/{TreasuryOverviewPage-CF_ter0o-CgOSMxTv.js → TreasuryOverviewPage-BPkFbqCZ-BGWLrsqk.js} +28 -28
- package/dist/assets/{TreasuryPromoPage-Do-PTcjI-Dcc-qLvj.js → TreasuryPromoPage-pEVzLiB4-CckQ4gPa.js} +19 -19
- package/dist/assets/{TreasuryStatementsPage-l_HC4zsb-rknj8gto.js → TreasuryStatementsPage-izaxVrJg-BOmcBurT.js} +1 -1
- package/dist/assets/TreasuryTaxLetterPage-DIa79RKC-BaoTF3DV.js +58 -0
- package/dist/assets/{TrendChart-C6B61CAm-4erwjAW4.js → TrendChart--F9P_tcq-CTI_f8th.js} +3 -3
- package/dist/assets/{TrendWithTransactions-Bp3vhaPa-DnKUTz9c.js → TrendWithTransactions-B0R1TMMK-BIx_Ucxw.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-cbFqKAv4-DPmnl84D.js → UncategorizedAccountsMappingPage-CToVvQYm-DSBjQ-vG.js} +10 -10
- package/dist/assets/{UnitIntegrationPage-DZ0ZpE5p-B0_85-u0.js → UnitIntegrationPage-DGmrRY2v-CpdFvEi5.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-B3JZwTBb-DawOCnY-.js +38 -0
- package/dist/assets/Vendor2FAPopup-BRMPwclY-C7lmw7U-.js +1 -0
- package/dist/assets/VendorACHDetailsPage-FgtLHn1A-BN5W-Bsc.js +1 -0
- package/dist/assets/{VendorDetailPage-C4g_Gfsl-B_XrX9fO.js → VendorDetailPage-DTQ-KiJz-BjFrWJYo.js} +90 -90
- package/dist/assets/VendorDomesticWireDetailsPage-yy6bXxb9-D2ssuNks.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Ckt2MiVN-BOitEJ-W.js → VendorFiling1099EditablePage-z9q_fohc-ld-WK3qa.js} +32 -32
- package/dist/assets/VendorFirstReviewPage-DTOwONia-CpI3YCe1.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-Dz8mMD8d-BwY_cBiB.js → VendorInternationalWireDetailsPage-DR-BKbDb-DaH2MsUT.js} +15 -15
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DK94_VqZ-DJpWsPVZ.js +1 -0
- package/dist/assets/{VendorsAccountsSection-BT-RADSV-Dmx0H4U6.js → VendorsAccountsSection-CWyBBs2G-BHKKM3ME.js} +3 -3
- package/dist/assets/{VerifyDevice-Cxc9CVMi-DU-3q666.js → VerifyDevice-CG1Qj4Lm-DigRc0-f.js} +4 -4
- package/dist/assets/{VideoPlayer-9UkKMhGy-DdGtaw-W.js → VideoPlayer-BdIPlzSd-DYXLi2NY.js} +2 -2
- package/dist/assets/{VideoPopup-rfiYmtio-orQV1ONE.js → VideoPopup-W2U47mhU-BbkemVhS.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-DrUA4asI-DtfyQUuF.js → WarningsDrawerPage-D0aOjGDf-CAbcgcID.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-K016HgQt-GCzoiCaY.js → ZeniAccountDetailPage-DJyYOR4V-DHVbCPEu.js} +13 -13
- package/dist/assets/{ZeniAccountListViewPage-1oZZynB1-CIYiD6Fl.js → ZeniAccountListViewPage-BTOIvLCF-mMpckNBs.js} +21 -21
- package/dist/assets/ZeniAccountNavBarPieces-vGgpCYIn-BMTL2XMu.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-BCgys-YM-B9LgsrlN.js → ZeniAccountPromoPage-DYxM2WNa-jQgPA6gu.js} +23 -23
- package/dist/assets/{ZeniAccountSetupPage-BubBgkoa-CZ4WIKze.js → ZeniAccountSetupPage-DUq-PiMf-DWgEim6l.js} +3 -3
- package/dist/assets/{ZeniCopyright-BxIwmms--DKzQDPxV.js → ZeniCopyright-Chrw_zb6-BKj6eUA-.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DVJ0puXA-BQBLSI-d.js → ZeniTransferAmountSlider-CuZPJv1--DR9FZtFU.js} +11 -11
- package/dist/assets/{add-to-wallet-DgdBD8_G-DhbWBp8n.js → add-to-wallet-DgdBD8_G-B2IvxXWv.js} +1 -1
- package/dist/assets/{analytics-Bxg_6Bw3.js → analytics-DtwjxHiX.js} +1 -1
- package/dist/assets/{analyticsHelper-CT5zOInj-BgD_cq4l.js → analyticsHelper-BqOb8jb5-CGkPFK_O.js} +1 -1
- package/dist/assets/analyticsHelper-j8OuskUt.js +1 -0
- package/dist/assets/{arrow-south-east-round-PEovUgvH-Dk7qw8cE.js → arrow-south-east-round-PEovUgvH-BA8Ep9QS.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-CBsj8xSx.js → auto-transfer-rule-mbafm5D3-HGlxBiye.js} +1 -1
- package/dist/assets/{chartTypes-Ddw_3-6f-DZj22bGp.js → chartTypes-kba3vib6-DZ27Jj39.js} +1 -1
- package/dist/assets/commonDimensions-D0kIxeo5-RDa02x_3.js +1 -0
- package/dist/assets/{commonTypes-B-foaEwJ-DsK1A87H.js → commonTypes-0d0JMX8y-CalDLikD.js} +1 -1
- package/dist/assets/{constants-C4xFJ5X-.js → constants-CE9jAcY0.js} +1 -1
- package/dist/assets/{core-CtCph4VD.js → core-XvwDdaId.js} +1 -1
- package/dist/assets/{dash.all.min-gV8leIH5.js → dash.all.min-CrBcFpeF.js} +1 -1
- package/dist/assets/{detailCommon-Cpgf9GLg-CgYfsDnL.js → detailCommon-ttGeF18U-BSDu3BLp.js} +4 -4
- package/dist/assets/downloadPdf-DX8GL4Ja-x4buR44L.js +1 -0
- package/dist/assets/{empty-DWcesV4R.js → empty-Bl-Hsev3.js} +1 -1
- package/dist/assets/{empty-BzMcWgbk.js → empty-y-VvSSjQ.js} +1 -1
- package/dist/assets/epic-BbATrl1e.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-DInGyKTw.js → gift-box-Cmt9OgIZ-D1YJhnVt.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-mjSmEvIT.js → graphic-no-data-l-DU4J8fDt-DPnV1HVO.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BIhkG2o7.js → graphic-no-data-net-burn-l-CzmycA0m-eKmdez3u.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Da3VfxfO.js → handshake-BPg58FML-CaQoUCG-.js} +1 -1
- package/dist/assets/{helper-DP3YY99s--PoRK5wP.js → helper-YFgDgQKT-BC5Bdlf5.js} +2 -2
- package/dist/assets/{index-adGQG7ff.js → index-BqGj3wsF.js} +1 -1
- package/dist/assets/{index-B9gOiSzN.js → index-DAtPGjek.js} +1 -1
- package/dist/assets/{index-CMw5FFd1.js → index-DQrFoID0.js} +1 -1
- package/dist/assets/{index-cIrMZnan.js → index-DfiMoEY6.js} +1 -1
- package/dist/assets/{index-BxSu8R5M.js → index-Dfs8yBxm.js} +3775 -3751
- package/dist/assets/{index-BR-Iycj7.js → index-P3m51nfg.js} +1 -1
- package/dist/assets/{index-r1X53HYI.js → index-vpntWUJx.js} +1 -1
- package/dist/assets/{lexical-DDZ0EXKp.js → lexical-Huj_vwAQ.js} +1 -1
- package/dist/assets/{liveblocks-B5JK-Hm_.js → liveblocks-DO6Nvzzd.js} +1 -1
- package/dist/assets/{lottie-BjG8BZVh.js → lottie-Brfg_siY.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DuIK129X-C7sz-zfO.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-QJI_OYzu-BKB0ioI0.js → mapSectionWithAcOnlyToTreeNode-Co-aYc3j-BzIgtJky.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-COaFWgJv-CpUvCKfW.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-330OiGav-D2arADsc.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-J3b1nb_T-CY1P-R3S.js → mapTimeframeBalancesToTreeNode-CATud2li-D_4USxAl.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-BmG-bhv9.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CpFBbrhT-D6BhbnL-.js} +1 -1
- package/dist/assets/{mui-BI2GuW_Q.js → mui-BoUXdMXW.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CmEohQaP.js → page-detail-CWX5S47F-slNOFFuo.js} +1 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-CXz-zqFv.js +3 -0
- package/dist/assets/{radio-default-CiSgisfh-BRC_oxYq.js → radio-default-CiSgisfh-8S_K4aeU.js} +1 -1
- package/dist/assets/{react-log0wcgW.js → react-B6Zv-pk5.js} +1 -1
- package/dist/assets/{react-Ga3wCFX-.js → react-BEh8f-x0.js} +1 -1
- package/dist/assets/{react-DNrOUl7I.js → react-BM1bLfCE.js} +1 -1
- package/dist/assets/{react-DOzepgU0.js → react-CGUy3-Ee.js} +1 -1
- package/dist/assets/{react-DbfaIUFt.js → react-ClpUcFhc.js} +3 -3
- package/dist/assets/{react-B7gMj0Ac.js → react-D2vJQnJN.js} +1 -1
- package/dist/assets/{react-ClVoci1v.js → react-D4fY6Hdc.js} +1 -1
- package/dist/assets/{react-CjHVW_Ia.js → react-eG3wjELA.js} +2 -2
- package/dist/assets/{recharts-CIJpw-KQ.js → recharts-Dx_NgewX.js} +1 -1
- package/dist/assets/{sentry-Cd1x6y5E.js → sentry-Dje-_Mky.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DrwIQL_2.js → shield-DOlUxcFf-DsKmOO4l.js} +1 -1
- package/dist/assets/toCOABalancesWithID-iCDy3BRW-D-QioPYy.js +1 -0
- package/dist/assets/{toChartData-BEjMhb7--BmrMlPgK.js → toChartData-CLrjl2HT-B5rnppiY.js} +1 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-CkewT8By.js +1 -0
- package/dist/assets/{uploadAttachment-DUpHzqMe-C5D-tzZG.js → uploadAttachment-_EPHKVvJ-BI-TRaFx.js} +22 -22
- package/dist/assets/uploadReceipts-Dge0cNF1-dznVP6mr.js +1 -0
- package/dist/assets/{url-BjCY1k3O.js → url-C9Sf7nFb.js} +1 -1
- package/dist/assets/{url-BVcjQogg.js → url-qAerZ0OB.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-D06aiwwz.js → useLongPress-GCK2COYQ-Dg3J9wpe.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-DHssS6lQ.js → usp-line-BBd1wKwW-19qrO-Ih.js} +1 -1
- package/dist/assets/{utils-C8Q6URYT.js → utils-CyvMfhu-.js} +1 -1
- package/dist/assets/{zeni-epic-state-D5ti3BqR.js → zeni-epic-state-DjuGgMVt.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-D2Xav-UW-kAA6DJYP.js +0 -21
- package/dist/assets/AccountInfoPage-B8-8kUGD-CLIGCVwk.js +0 -18
- package/dist/assets/AccountLockedInfoModal-aukulrV7-D57l51lC.js +0 -59
- package/dist/assets/AccountRow-BiEYR4Y1-HGXyAelX.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-DaXXI9ze.js +0 -6
- package/dist/assets/ApAgingDetailPage-BRYQMwo2-CERV1vXE.js +0 -46
- package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-De0nWCl0.js +0 -47
- package/dist/assets/BillPayPromoPage-BMcP4EU5-BfZN5wAO.js +0 -84
- package/dist/assets/BillingSettingsPage-GtRUqSZm-Di7V8EC_.js +0 -44
- package/dist/assets/ChargeCardPromoPage-C4cgx2gm-C3fQrTmr.js +0 -222
- package/dist/assets/ConfettiBurst-CdB5fRMt-B5T0UzbA.js +0 -1
- package/dist/assets/CurrencySelectField-BDqU4HVy-BvG_yeJo.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-B2NB19y9.js +0 -1
- package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-B-RaVTTH.js +0 -12
- package/dist/assets/EditPeoplePage-pi5RclAj-DCXuEtRZ.js +0 -55
- package/dist/assets/EntityDetailPage-OTKTVNMD-cE4C8c83.js +0 -18
- package/dist/assets/ExpenseAutomationPage-BDLCJbFw-BDBRrAO-.js +0 -1703
- package/dist/assets/GlobalReviewListPage-DEzj0RVG-DVKGQzs6.js +0 -291
- package/dist/assets/InsightsSection-D-oCmrir-C9ThYopy.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-rL6X2Nh-.js +0 -65
- package/dist/assets/InvitePeoplePage-Z-2L7lWc-Ct_qRKR1.js +0 -12
- package/dist/assets/InvoiceUploadSection-C8hytmay-DsLZvnwn.js +0 -140
- package/dist/assets/LabeledControlledCheckBoxField-BsFqjCpn-CuQNVRDd.js +0 -16
- package/dist/assets/LabeledDocumentField-CnRk5aKZ-DSOedYcQ.js +0 -41
- package/dist/assets/LinkJETransactionPage-BhV2MnCY-X5Tfcm0t.js +0 -98
- package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-DpKRagxr.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-B5H5G7dK.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-C13tMmHm.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-09NLbjFG-MyxRi3tH.js +0 -31
- package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-BgioAUZ9.js +0 -6
- package/dist/assets/MyProfileSettingsPage-DMz-6h9F-CVZHByTM.js +0 -85
- package/dist/assets/NavBarWithPicker-D8WNahg--Bwyz4wFJ.js +0 -30
- package/dist/assets/NoDataChart-CyYJ6icu-BKwDYYOl.js +0 -26
- package/dist/assets/NotificationsListConfig-BOW_TmPC-DCsmtvjW.js +0 -1
- package/dist/assets/OpExByVendorPage-DXeBU3-z-1Shu4Csd.js +0 -100
- package/dist/assets/PeoplePage-DXC2CtOt-9gtAyVBd.js +0 -675
- package/dist/assets/QBOSetupSection-EOFscEW--C6VVXui0.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-C-HPI4Ng-wpUMmKB1.js +0 -32
- package/dist/assets/ReimbursementDetailPage-CfmICHZb-Cl7U1lG0.js +0 -314
- package/dist/assets/ReimbursementPromoPage-DXTAY8c7-DH9Ev7oS.js +0 -84
- package/dist/assets/RoleWithToolTip-DhBFvJea-CzTYgGcD.js +0 -22
- package/dist/assets/SignIn-BoAejo7r-BQcK6XAW.js +0 -491
- package/dist/assets/SignInScreen-mrYF3xJD.js +0 -1
- package/dist/assets/StatementItem-Cu6dlAsl-BF0NrXVQ.js +0 -31
- package/dist/assets/StatementsPage-DiY2BOcu-C7c57K5k.js +0 -58
- package/dist/assets/TaskManagementPage-RVS8nv0n-B6L9mt4z.js +0 -508
- package/dist/assets/TimeframeSwitcher-CW08yYgo-BU3s7ufW.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-DJOCWqpZ-Bq8BEUcx.js +0 -31
- package/dist/assets/TransactionDetailPage-CuxqQd8U-dLswbfa2.js +0 -903
- package/dist/assets/TransactionListPage-DC08rCC9-CycKwwco.js +0 -35
- package/dist/assets/TreasuryTaxLetterPage-B8YxWytK-YdGGcdtc.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51-BWjwUtNa.js +0 -38
- package/dist/assets/Vendor2FAPopup-DezpDfp8-C-c3az9I.js +0 -1
- package/dist/assets/VendorACHDetailsPage-C8TWKYfc-C4Dyg0pj.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-CxGtpCoB.js +0 -1
- package/dist/assets/VendorFirstReviewPage-CIKRaTax-CjeLfA8E.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-CTPL-tIl.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-C6Oicpue-uiEBONKS.js +0 -14
- package/dist/assets/analyticsHelper-DwDuF3t-.js +0 -1
- package/dist/assets/commonDimensions-ClmbdehE-BytmkwwF.js +0 -1
- package/dist/assets/downloadPdf-DfRYmfsd-CKO1iRn7.js +0 -1
- package/dist/assets/epic-D_2kQNuz.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-pR8z-sml.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-3MqZsh2Q.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-DmcfZElW.js +0 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-D0yLbJsH.js +0 -4
- package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-CdbRAjK_.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-vLXn3yXt.js +0 -1
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
import{ax as Mt,a8 as Rt,J as Pt,y as Bt,ce as Nt,x as m,F as et,gl as Lt,gn as Ot,go as _t,V as t,cr as Ae,cs as Me,ct as Re,bD as Pe,ab as y,bp as Et,dw as Wt,gp as Ft,gA as Be,o as a,gq as Ne,fm as g,gt as w,fp as x,aP as Le,fl as Oe,w as V,gv as _e,aS as Kt,ap as Ut,gw as Vt,gx as re,by as Gt,gy as Ht,a as Yt,z as qt,M as Jt,am as tt,ba as it,p as G,an as Xt,bW as Zt,aj as Qt,gS as ei,gO as ti,u as c,cj as ii,c$ as ai}from"./index-Dfs8yBxm.js";import{a as p}from"./sentry-Dje-_Mky.js";import{n as r}from"./mui-BoUXdMXW.js";import{a as ri}from"./liveblocks-DO6Nvzzd.js";import{bL as oi,bP as ni,Gy as li}from"./zeni-epic-state-DjuGgMVt.js";import si from"./InvoiceUploadSection-D_uWzQW4-Bxkjza2M.js";import{r as di,h as f,u as ci}from"./types-DyvtCprH-NFPm5TaG.js";import"./core-XvwDdaId.js";import"./lottie-Brfg_siY.js";import"./recharts-Dx_NgewX.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";import"./AttachmentView-Q7kiwPOS-BNETSDSC.js";import"./uploadReceipts-Dge0cNF1-dznVP6mr.js";import"./upload-reimbursement-receipt-O2N8vcO7-CkewT8By.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new e.Error().stack;C&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[C]="82ad24b5-9246-4ff2-adbd-904b3ba0cdf6",e._sentryDebugIdIdentifier="sentry-dbid-82ad24b5-9246-4ff2-adbd-904b3ba0cdf6")}catch{}})();const s={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])},mi={formTitle:new qt("h6Regular","h5Regular")},da=({remiDetails:e,uploadInvoiceEndPoint:C,authParams:ne,isAdmin:le,signedInUser:se,showApproveRejectBtns:de,isRealTimeApprovalEnabled:ce,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:me,isSignedInUserReimbursementCreator:at,updateEditRealTimeApproverClicked:pe,onSaveRealTimeApprovals:ue,redirectToReimbursementListScreen:H,redirectToEditableReimbursementScreen:rt,onDuplicateLineClick:ot,approveOrRejectRemi:he,deleteReimbursement:nt,cancelAndDeleteReport:ye,handleZeniLogoClick:lt,onAddNewRule:be,initialOpenThreadRequest:k})=>{const d=Mt(),st=Rt().analytics,o=Pt(),ge=Bt(),[dt,A]=p.useState(!1),[Y,q]=p.useState(!1),[ct,J]=p.useState(!1),[X,Z]=p.useState("approved"),N=p.useRef(null),[j,Q]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[z,mt]=p.useState(null),[pt,L]=p.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,we=p.useRef({}),xe=l=>{const n=we.current[l];n!=null&&setTimeout(()=>ci(n,N.current),100)};p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&H()},[e,H]),p.useEffect(()=>{const l=window.location.hash;if(l&&l.startsWith("#L")){const n=l.substring(1);xe(n)}},[]);const ut=()=>{H()};Nt({componentName:"reimbursement.details"});const ht={onOkClick:()=>{A(!1),j.primaryButtonText===i.buttons.delete?nt?.():j.title===i.cancelReportTitle?ye?.():j.title===i.cancelAndDeleteReportTitle&&ye?.(!0)},onCancelClick:()=>{A(!1)}},I=s.labelWidth.value(o),M=s.largeLabelWidth.value(o),fe=et.getLocalizedStrings(),{common:{texts:{comments:yt},strings:{empty:$e}},collaboration:{threads:{placeholder:{addANewComment:bt,replyAComment:gt},tooltip:{resolveComment:wt,unResolveComment:xt}}},dateFormat:ve}=fe,{reimbursementDetail:i,bulkActions:O}=fe.spendManagement.reimbursement,ee=e.remiDetails?.reportTitle,S=e.remiDetails?.lines??[],_=e.remiDetails?.reimbursementInfo.stage,E=e.remiDetails?.reimbursementInfo.billStatus,W=e.remiDetails?.reimbursementInfo.billPaymentStatus,Te=_?.code==="paid",ft=Te?_:E?.code=="approved"&&W?.code?W:E,$=pi(e.remiDetails),R=E?.code=="approved"&&W?.code?W:E,F=e.remiDetails?.isDeleted??!1,Se=e.remiDetails?.amount,je=e.remiDetails?.amount.amount??0,Ie=()=>{Q({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),A(!0)},$t=()=>{Q({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},vt=()=>{Q({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},De=()=>{rt()},Tt={onOkClick:l=>{J(!1),he({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{J(!1)}},St=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?De():(Z("approved"),he({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},jt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(Z("delete"),Ie()):(Z("rejected"),J(!0))},It=e.remiDetails?.reimbursementInfo.paymentDate!=null?oi(ni(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,te=e.remiDetails?.reimbursementInfo.expectedDepositDate??It,Dt=e.remiDetails?.lines?.some(l=>{const n=l.lineDetail;return n?.account?.isDeleted===!0&&n?.account?.isBillEditableCoaAccountType===!1})??!1,Ce=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&at&&!Dt,Ct=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ie=ft?.code,zt=di(e.duplicateLineByLineId),ze=e.duplicateReimbursementStatus.fetchState==="Completed"&&zt>0,{requestToOpenThread:ae,setRequestToOpenThread:K,setOpenThread:U}=p.useContext(Lt);p.useEffect(()=>{k?.threadId!=null&&k?.companyId!=null&&k?.entityType!=null&&K(k)},[k,K]);const{threads:P,isLoading:D}=Ot({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),kt=p.useMemo(()=>P.filter(l=>l.resolved===!1&&!l.id.includes(_t)),[P]).length,At=p.useCallback((l,n)=>{U(n),L(!1)},[U,L]);p.useEffect(()=>{ae?.threadId!=null&&P.length>0&&!D&&(U(ae.threadId),K(null))},[ae,P,D,U,K]);const b={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},B=li(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(_i,{windowSize:o,ref:N,children:[dt?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:j.title}),descriptionComponent:t.jsx(Me,{children:j.description}),primaryButtonText:j.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:j.secondaryButtonText,action:ht}):null,ct?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:`${i.rejectRemiTitlePrefix} ${e.remiDetails?.reportTitle??""} by ${e.createdBy?.firstName??""} ${e.createdBy?.lastName??""}`}),descriptionComponent:t.jsx(Me,{children:i.rejectRemiDescription}),primaryButtonText:i.buttons.send,secondaryButtonText:i.buttons.cancel,action:Tt,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Mi,{windowSize:o,"data-testid":y("reimbursement-detail-page-nav-bar-container"),children:[o!=="small"?t.jsx(Pe,{"data-testid":y("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(Ri,{onClick:()=>lt?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ge.colors.background,keepBackgroundOnScroll:!0,scrollableContent:N,source:"ReimbursementDetailPage"}):null,o!=="small"?t.jsx(zi,{}):null,t.jsx(Pe,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:ee??$e,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:o!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Bi,{children:[u?t.jsxs(Ni,{isDisabled:D,onClick:D?()=>null:l=>{l.preventDefault(),l.stopPropagation(),mt({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),L(!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(Et,{count:D?void 0:kt,isLoading:D,style:{left:"12px"}}),t.jsx(Li,{})]}):null,t.jsx(Oi,{size:o,onClick:()=>ut(),"data-testid":y("remi-detail-page-close"),children:t.jsx(Pi,{})})]}),scrollableContent:N,enableTitleOnScroll:o!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Gi,{children:[o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(qe,{windowSize:o,children:t.jsx(Je,{windowsSize:o,children:ee})}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:o,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,me&&$!=null?t.jsx(Ge,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null,R?.code!=null?o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Ft,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F}),B?t.jsx(Be,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:O.duplicateWarning.title,description:O.duplicateWarning.description}):ze?t.jsxs(Ee,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):t.jsx(Ye,{windowSize:o,children:t.jsx(Ne,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F})}):null]}):null,S.map((l,n)=>{const v=e.duplicateLineByLineId[l.lineId];return t.jsxs(Qe,{windowSize:o,children:[t.jsx(Ki,{windowSize:o,children:t.jsx(Ui,{bottomSeperator:S.length!==1,windowSize:o,children:t.jsx(si,{showAutofill:!1,uploadInvoiceEndPoint:C,authParams:ne,entityId:e.remiDetails?.id,file:l.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:"reimbursement"})})}),t.jsxs(Fi,{windowSize:o,children:[n===0&&o!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(qe,{windowSize:o,children:[t.jsx(Je,{windowsSize:o,children:ee}),me&&$!=null?t.jsx(Ge,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:o,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,R?.code!=null?t.jsx(Ye,{windowSize:o,children:t.jsx(Ne,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F})}):null,B?t.jsx(Be,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:O.duplicateWarning.title,description:O.duplicateWarning.description}):ze?t.jsxs(Ee,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(wi,{windowSize:o,ref:ke=>{ke!=null&&(we.current[`L${l.lineId}`]=ke)},children:[o!=="small"?t.jsx(gi,{children:t.jsx(xi,{children:S.length>1?`#${n+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(fi,{windowSize:o,children:[v?.duplicateLineId!=null?t.jsxs(yi,{children:[i.thisExpenseReview," ",t.jsx(bi,{onClick:()=>{if(v.isDuplicateWithinTransaction&&v.duplicateLineId!=null)return xe(`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(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:l.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:{...b,entityType:`reimbursement.details.${f("reimbursementType",n,l.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(w,{label:{label:i.reimbursementType,width:M},text:l.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,{}),l.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("transactionDate",n,"mileage")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format(ve.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("distanceInMiles",n,"mileage")}`},children:t.jsx(w,{label:{label:i.distanceInMiles,width:M},text:l.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("amount",n,"mileage")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Le("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("memo",n,"mileage")}`},children:t.jsx(w,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("class",n,"mileage")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(w,{label:{label:i.department,width:I},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({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:{...b,entityType:`reimbursement.details.${f("merchant",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.merchant,width:M},text:l.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({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:{...b,entityType:`reimbursement.details.${f("transactionDate",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format(ve.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({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:{...b,entityType:`reimbursement.details.${f("amount",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Le("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({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:{...b,entityType:`reimbursement.details.${f("memo",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({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:{...b,entityType:`reimbursement.details.${f("account",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.category,width:I},text:l.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({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:{...b,entityType:`reimbursement.details.${f("class",n,"out_of_pocket")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(w,{label:{label:i.department,width:I},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]})]})]}),S.length!==1&&S.length===n+1&&t.jsxs(Wi,{windowSize:o,children:[t.jsxs(Xe,{windowSize:o,children:[t.jsx(Ze,{children:i.total}),t.jsx(Oe,{amount:Se,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(_e,{amount:je,activities:e.remiActivities,stage:_?.code??"draft",onAddNewRule:be,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:le,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue},historicActivities:e.remiHistory.activities})]})]})]},l.lineId)}),S.length===1&&t.jsxs(Qe,{windowSize:o,children:[t.jsx(He,{}),t.jsxs(ui,{windowSize:o,children:[t.jsx(Ei,{windowSize:o,children:t.jsxs(Xe,{windowSize:o,children:[t.jsx(Ze,{children:i.total}),t.jsx(Oe,{amount:Se,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(hi,{windowSize:o,children:t.jsx(_e,{amount:je,activities:e.remiActivities,stage:_?.code??"draft",onAddNewRule:be,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:le,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue}})})]})]}),t.jsx(Vi,{})]}),Te||F===!0?null:t.jsxs(Ai,{children:[o!=="small"?t.jsx(He,{}):null,t.jsx(vi,{windowSize:o,"data-testid":y("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),Y===!0&&q(!1)},children:t.jsx(Kt,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,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:s.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:s.footerButtonWidth.value(o)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx($i,{children:t.jsxs(ki,{windowSize:o,children:[!B&&Y?t.jsx(Ut,{onClickAway:()=>q(!1),children:t.jsxs(Ci,{windowSize:o,children:[ie!=="processing"?t.jsx(oe,{onClick:Ie,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ie==="processing"?t.jsx(oe,{onClick:$t,"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ie==="processing"?t.jsx(oe,{onClick:vt,"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Di,{windowSize:o,children:[!B&&Ce?t.jsx(Ii,{onClick:De,"data-testid":y("remi-edit-button"),children:t.jsx(ji,{})}):null,!B&&Ct===!0?t.jsx(Si,{windowSize:o,showEditIcon:Ce,children:t.jsx(Ti,{onClick:()=>q(!Y),"data-testid":y("remi-more-actions-button")})}):null]})]})}),style:{minHeight:62}})})]}),u?t.jsx(ri,{id:h,children:t.jsx(Vt,{isDrawerOpen:pt,allowComposer:!0,drawerTitle:yt,threads:P,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:z?.companyId??$e,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:z?{companyName:z.companyName,companyId:z.companyId,entityId:z.entityId,entityType:z.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:bt,replyComposerPlaceholder:gt,threadResolve:wt,threadUnResolve:xt},onThreadClick:(l,n)=>At(l,n),onCloseAllThreadsDrawer:()=>L(!1),drawerSectionStyle:{width:"400px",backgroundColor:ge.colors.background}})}):null]})},pi=e=>{const C=et.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:C.tabsById.deleted,color:re.deleted.color,bgColor:re.deleted.bgColor,borderColor:re.deleted.borderColor,code:"deleted"}},ui=r.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
5
|
+
`,hi=r.div`
|
|
6
|
+
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
7
|
+
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
8
|
+
margin-bottom: ${e=>s.activityBottomMargin.valuePx(e.windowSize)};
|
|
9
|
+
`,yi=r(Xt)`
|
|
10
|
+
padding: ${a.sp2} ${a.sp0} ${a.sp2} ${a.sp4};
|
|
11
|
+
background-color: ${G.alertLight};
|
|
12
|
+
color: ${G.brandColorGoldDark};
|
|
13
|
+
border-top-left-radius: inherit;
|
|
14
|
+
border-top-right-radius: inherit;
|
|
15
|
+
`,bi=r.span`
|
|
16
|
+
border-bottom: 1px solid currentColor;
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
`,Ee=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=>s.duplicateBannerWrapperMarginTop.valuePx(e.size)};
|
|
25
|
+
margin-right: ${e=>s.duplicateBannerWrapperMarginRight.valuePx(e.size)};
|
|
26
|
+
margin-bottom: ${e=>s.duplicateBannerWrapperMarginBottom.valuePx(e.size)};
|
|
27
|
+
margin-left: ${e=>s.duplicateBannerWrapperMarginLeft.valuePx(e.size)};
|
|
28
|
+
background-color: ${G.alertLight};
|
|
29
|
+
border: 1px solid ${e=>e.theme.colors.brandColorGoldDark};
|
|
30
|
+
`,We=r(ii)`
|
|
31
|
+
color: ${e=>e.theme.colors.brandColorGoldDark};
|
|
32
|
+
`,Fe=r.div`
|
|
33
|
+
width: 100%;
|
|
34
|
+
`,Ke=r(tt)`
|
|
35
|
+
color: ${e=>e.theme.colors.brandColorGoldDark};
|
|
36
|
+
`,Ue=r(ai)`
|
|
37
|
+
width: ${a.sp4};
|
|
38
|
+
height: ${a.sp4};
|
|
39
|
+
color: ${G.brandColorGoldDark};
|
|
40
|
+
`,Ve=r(tt)`
|
|
41
|
+
margin-bottom: ${e=>s.bottomMargin.valuePx(e.windowSize)};
|
|
42
|
+
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
43
|
+
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
44
|
+
color: ${e=>e.theme.colors.primary};
|
|
45
|
+
`,gi=r.div`
|
|
46
|
+
display: flex;
|
|
47
|
+
justify-content: space-between;
|
|
48
|
+
`,wi=r.div`
|
|
49
|
+
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
50
|
+
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
51
|
+
`,xi=r(it)`
|
|
52
|
+
color: ${e=>e.theme.colors.primary};
|
|
53
|
+
margin-bottom: ${a.sp3};
|
|
54
|
+
`,fi=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=>s.formBottomMargin.valuePx(e.windowSize)};
|
|
62
|
+
z-index: 3;
|
|
63
|
+
`,$i=r.div`
|
|
64
|
+
display: flex;
|
|
65
|
+
justify-content: flex-end;
|
|
66
|
+
`,vi=r.div`
|
|
67
|
+
width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
68
|
+
`,Ti=r(ti)`
|
|
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
|
+
`,Si=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
|
+
`,ji=r(ei)`
|
|
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
|
+
`,Ii=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
|
+
`,Ge=r(it)`
|
|
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
|
+
`,Di=r.div`
|
|
112
|
+
display: flex;
|
|
113
|
+
justify-content: center;
|
|
114
|
+
align-items: center;
|
|
115
|
+
`,Ci=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=>s.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=>s.right.valuePx(e.windowSize)};
|
|
132
|
+
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.grey1} 3D`};
|
|
133
|
+
`,zi=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
|
+
`,ki=r.div`
|
|
144
|
+
width: auto;
|
|
145
|
+
justify-content: flex-end;
|
|
146
|
+
position: ${e=>e.windowSize==="small"?"static":"relative"};
|
|
147
|
+
right: ${e=>s.actionsContainerRight.valuePx(e.windowSize)};
|
|
148
|
+
height: 100%;
|
|
149
|
+
display: flex;
|
|
150
|
+
`,oe=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
|
+
`,Ai=r.div`
|
|
162
|
+
display: flex;
|
|
163
|
+
width: 100%;
|
|
164
|
+
position: sticky;
|
|
165
|
+
bottom: 0;
|
|
166
|
+
z-index: 2;
|
|
167
|
+
`,Mi=r.div`
|
|
168
|
+
min-height: ${e=>s.navBarHeight.valuePx(e.windowSize)};
|
|
169
|
+
height: ${e=>s.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
|
+
`,Ri=r(Gt)`
|
|
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
|
+
`,Pi=r(Yt)`
|
|
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
|
+
`,Bi=r.div`
|
|
197
|
+
margin-top: ${e=>s.closeMarginTop.valuePx(e.windowSize)};
|
|
198
|
+
display: flex;
|
|
199
|
+
float: right;
|
|
200
|
+
`,Ni=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
|
+
`,Li=r(Ht)`
|
|
211
|
+
display: flex;
|
|
212
|
+
width: ${a.sp4};
|
|
213
|
+
height: ${a.sp4};
|
|
214
|
+
align-items: center;
|
|
215
|
+
justify-content: center;
|
|
216
|
+
`,Oi=r.div`
|
|
217
|
+
margin-top: ${e=>s.closeMarginTop.valuePx(e.size)};
|
|
218
|
+
margin-left: ${a.sp5};
|
|
219
|
+
`,_i=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
|
+
`,He=r.div`
|
|
249
|
+
width: 42%;
|
|
250
|
+
`,Ei=r.div`
|
|
251
|
+
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
252
|
+
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
253
|
+
`,Ye=r.div`
|
|
254
|
+
margin-bottom: ${e=>s.bottomMargin.valuePx(e.windowSize)};
|
|
255
|
+
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
256
|
+
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
257
|
+
`,qe=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=>s.topMargin.valuePx(e.windowSize)};
|
|
262
|
+
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
263
|
+
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
264
|
+
width: ${e=>e.windowSize==="small"?"fit-content":"unset"};
|
|
265
|
+
`,Je=r(Jt)`
|
|
266
|
+
flex-grow: 1;
|
|
267
|
+
${e=>`${mi.formTitle.style(e.windowsSize)}`};
|
|
268
|
+
color: ${e=>e.theme.colors.primary};
|
|
269
|
+
word-break: break-all;
|
|
270
|
+
`,Wi=r.div`
|
|
271
|
+
display: flex;
|
|
272
|
+
flex-direction: column;
|
|
273
|
+
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
274
|
+
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
275
|
+
`,Xe=r.div`
|
|
276
|
+
padding: ${a.sp3};
|
|
277
|
+
display: flex;
|
|
278
|
+
align-items: center;
|
|
279
|
+
justify-content: center;
|
|
280
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
281
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
282
|
+
border-radius: ${a.sp2};
|
|
283
|
+
color: ${e=>e.theme.colors.hero};
|
|
284
|
+
margin-bottom: ${e=>s.totalBottomMargin.valuePx(e.windowSize)};
|
|
285
|
+
justify-content: space-between;
|
|
286
|
+
`,Ze=r(Zt)`
|
|
287
|
+
display: flex;
|
|
288
|
+
width: 176px;
|
|
289
|
+
color: ${e=>e.theme.colors.primary};
|
|
290
|
+
`,Fi=r.div`
|
|
291
|
+
display: flex;
|
|
292
|
+
flex-direction: column;
|
|
293
|
+
width: ${e=>s.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
|
+
`,Ki=r.div`
|
|
300
|
+
width: ${e=>s.leftSectionWidth.valuePercentage(e.windowSize)};
|
|
301
|
+
`,Ui=r.div`
|
|
302
|
+
background: ${e=>e.theme.colors.grey3};
|
|
303
|
+
border-radius: ${a.sp2};
|
|
304
|
+
margin-top: ${e=>s.topMargin.valuePx(e.windowSize)};
|
|
305
|
+
margin-left: ${e=>s.invoiceLeftMargin.valuePx(e.windowSize)};
|
|
306
|
+
margin-right: ${e=>s.invoiceRightMargin.valuePx(e.windowSize)};
|
|
307
|
+
margin-bottom: ${e=>e.bottomSeperator===!0&&e.windowSize!=="small"?"107px":a.sp5};
|
|
308
|
+
`,Vi=r.div`
|
|
309
|
+
display: flex;
|
|
310
|
+
flex-direction: column;
|
|
311
|
+
height: ${a.sp11};
|
|
312
|
+
`,Gi=r.div`
|
|
313
|
+
margin-top: 78px;
|
|
314
|
+
`;export{da as default};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import{ax as ne,y as S,J as k,aR as le,V as e,ab as a,fx as ae,bD as de,r as u,af as d,F as V,o as t,ar as me,b as ce,aU as F,an as pe,x as xe,p as z,cG as he,aV as ue,bb as ge,u as we}from"./index-Dfs8yBxm.js";import{a as j}from"./sentry-Dje-_Mky.js";import{n as s}from"./mui-BoUXdMXW.js";import{Gx as je,bT as be}from"./zeni-epic-state-DjuGgMVt.js";import{C as fe}from"./VideoPopup-W2U47mhU-BbkemVhS.js";import{M as v}from"./usp-line-BBd1wKwW-19qrO-Ih.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";import"./VideoPlayer-BdIPlzSd-DYXLi2NY.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new i.Error().stack;o&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[o]="536b146e-ee78-4664-bd7a-60a8d9258987",i._sentryDebugIdIdentifier="sentry-dbid-536b146e-ee78-4664-bd7a-60a8d9258987")}catch{}})();const E="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-light.png",Z="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-dark.png",ye={midContainerMarginBottom:new xe(we[5],44)},$e=s.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
|
+
`,Se=s.div`
|
|
8
|
+
padding: ${i=>i.windowSize==="small"?`${t.sp0} ${t.sp3}`:`${t.sp0} ${t.sp8}`};
|
|
9
|
+
text-align: center;
|
|
10
|
+
`,ke=s(ce)`
|
|
11
|
+
max-width: 648px;
|
|
12
|
+
margin: auto;
|
|
13
|
+
padding: ${t.sp7} ${t.sp0};
|
|
14
|
+
color: ${i=>i.theme.colors.primary};
|
|
15
|
+
`,ze=s(me)`
|
|
16
|
+
max-width: 600px;
|
|
17
|
+
margin: auto;
|
|
18
|
+
padding: ${t.sp5} ${t.sp0};
|
|
19
|
+
color: ${i=>i.theme.colors.primary};
|
|
20
|
+
`,G=s.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=>ye.midContainerMarginBottom.valuePx(i.windowSize)};
|
|
26
|
+
`,ve=s.div``,D=s.div`
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
`,g=s.img``,_=s.div`
|
|
32
|
+
width: ${i=>i.windowSize==="small"?"auto":"376px"};
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
`,N=s.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
|
+
`,O=s.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
|
+
`,m=s.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=s(ge)`
|
|
62
|
+
color: ${i=>i.theme.colors.champion};
|
|
63
|
+
`,f=s(ue)`
|
|
64
|
+
color: ${i=>i.theme.colors.champion};
|
|
65
|
+
`,y=s(F)`
|
|
66
|
+
color: ${i=>i.theme.colors.champion};
|
|
67
|
+
`,$=s(he)`
|
|
68
|
+
color: ${i=>i.theme.colors.champion};
|
|
69
|
+
`,c=s.div``,p=s.div`
|
|
70
|
+
padding-left: ${t.sp3};
|
|
71
|
+
`,L=s(F)`
|
|
72
|
+
margin: ${i=>i.windowSize==="small"?t.sp1:`auto ${t.sp5}`};
|
|
73
|
+
color: ${i=>i.theme.colors.grey1};
|
|
74
|
+
`,H=s(v)`
|
|
75
|
+
color: ${z.graphColor16Dark};
|
|
76
|
+
`,q=s(v)`
|
|
77
|
+
color: ${z.graphColor09Dark};
|
|
78
|
+
`,J=s(v)`
|
|
79
|
+
color: ${z.success};
|
|
80
|
+
`,M=s(pe)`
|
|
81
|
+
margin: ${t.sp3} auto;
|
|
82
|
+
max-width: 772px;
|
|
83
|
+
color: ${i=>i.theme.colors.hero};
|
|
84
|
+
`,r=V.getLocalizedStrings().spendManagement.reimbursement.reimbursementPromo,n=V.getLocalizedStrings().commonSetUp.businessVerification.terms,Te=()=>{const i=S(),o=k();return e.jsxs(G,{windowSize:o,children:[e.jsx(N,{windowSize:o,children:e.jsx(O,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:Z,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(g,{src:E,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(_,{windowSize:o,children:[e.jsxs(m,{windowSize:o,children:[e.jsx(c,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx($,{children:r.simplestText.bold}),e.jsx(y,{children:r.simplestText.regular})]})]}),e.jsxs(m,{windowSize:o,children:[e.jsx(c,{children:e.jsx(q,{})}),e.jsxs(p,{children:[e.jsx($,{children:r.aiPoweredText.bold}),e.jsx(y,{children:r.aiPoweredText.regular})]})]}),e.jsxs(m,{windowSize:o,children:[e.jsx(c,{children:e.jsx(J,{})}),e.jsxs(p,{children:[e.jsx($,{children:r.multiLevelApprovalText.bold}),e.jsx(y,{children:r.multiLevelApprovalText.regular})]})]})]})]})},Ce=()=>{const i=S(),o=k();return e.jsxs(G,{windowSize:o,children:[e.jsxs(_,{windowSize:o,children:[e.jsxs(m,{windowSize:o,style:{width:"376px"},children:[e.jsx(c,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx(f,{children:r.simplestText.bold}),e.jsx(b,{children:r.simplestText.regular})]})]}),e.jsxs(m,{windowSize:o,style:{width:"376px"},children:[e.jsx(c,{children:e.jsx(q,{})}),e.jsxs(p,{children:[e.jsx(f,{children:r.aiPoweredText.bold}),e.jsx(b,{children:r.aiPoweredText.regular})]})]}),e.jsxs(m,{windowSize:o,style:{width:"376px"},children:[e.jsx(c,{children:e.jsx(J,{})}),e.jsxs(p,{children:[e.jsx(f,{children:r.multiLevelApprovalText.bold}),e.jsx(b,{children:r.multiLevelApprovalText.regular})]})]})]}),e.jsx(N,{windowSize:o,children:e.jsx(O,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:Z,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(g,{src:E,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})},_e=({reimbursementSetupView:i,userReimbursementInfo:o,meetingUrl:T,videoUrl:W,analytics:x,onSetupButtonClick:K,onCreateNewRemiButtonClick:Q,onBackClick:X,onSetupReimbursementSuccess:C,onClickMenuIcon:Y})=>{const P=ne(),[ee,ie]=j.useState(!1),[re,R]=j.useState(!1),te=S(),l=k(),{remiTermsDetails:h}=i,I=le(h?.fetchStatus.fetchState),se=je(P.loggedInUserRoleMap),w=be(P.loggedInUserRoleMap)&&!se,oe=!!o?.isReimbursementTOSAccepted,U=!!i.companyRemiInfo?.isReimbursementEnabled,A=w?U?r.employeeAcceptPromoText:r.employeePendingPromoText:r.promoText;j.useEffect(()=>{I==="In-Progress"&&h?.fetchStatus.fetchState==="Completed"&&C?.()},[I,C,h?.fetchStatus]);const B=()=>{x?.trackReimbursementPromoScheduleDemo(),R(!0)};return e.jsxs($e,{children:[ee===!0?e.jsx(fe,{onCancelClick:()=>{ie(!1)},videoUrl:W,"data-testid":a("remi-promo-page-video-popup")}):null,re===!0?e.jsx(ae,{onCancelClick:()=>{R(!1)},meetingUrl:T,"data-testid":a("remi-promo-page-meeting-popup")}):null,e.jsx(de,{title:r.title,backgroundColor:te.colors.grey4,onBackClick:X,showBackButton:!w,showMenuIcon:l==="small"||l==="medium-compact",onClickMenuIcon:Y,source:"ReimbursementPromoPage"}),e.jsxs(Se,{windowSize:l,children:[l==="small"?e.jsx(ze,{children:A}):e.jsx(ke,{children:A}),l==="small"?e.jsx(Te,{}):e.jsx(Ce,{}),e.jsx(ve,{children:w?e.jsx(e.Fragment,{children:U&&!oe?e.jsxs(e.Fragment,{children:[e.jsxs(D,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:r.scheduleDemoButton,onClick:B,"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(L,{windowSize:l,children:r.orText}),e.jsx(u,{variant:"primary",label:r.createNewReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:Q,"data-testid":a("reimbursement-promo-page-create-new-reimbursement-button")})]}),e.jsxs(M,{children:[r.terms.createTerms1,e.jsx(d,{href:r.terms.tosUrl,linkText:r.terms.zeniAgreement,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),r.terms.terms2,e.jsx(d,{href:r.terms.privacyPolicyUrl,linkText:r.terms.privacyPolicy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),r.terms.terms3]})]}):null}):e.jsxs(e.Fragment,{children:[e.jsxs(D,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:r.scheduleDemoButton,onClick:B,style:{width:216},"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(L,{windowSize:l,children:r.orText}),e.jsx(u,{variant:"primary",label:r.setupReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:K,style:{width:216},"data-testid":a("reimbursement-promo-page-setup-reimbursement-button")})]}),e.jsxs(M,{children:[r.terms.setupTerms1,e.jsx(d,{href:n.consentUrl,linkText:n.consent}),n.term2,e.jsx(d,{href:n.depositUrl,linkText:n.depositTerms}),n.term3,e.jsx(d,{href:n.privacyPolicyUrl,linkText:n.privacy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),n.term4,e.jsx(d,{href:n.tosUrl,linkText:n.tos,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),n.term5,r.terms.terms3]})]})})]})]})};export{_e as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{y as Ee,J as Ie,aR as N,a9 as qe,cH as Ge,F as Te,aW as Ce,V as t,ff as Je,p as J,x as s,bD as Ze,T as Ke,ad as Xe,fy as ve,dR as Ye,fz as Qe,bx as et,dH as tt,aS as it,o as a,fB as nt,u as n,cj as ot,cL as at,ex as lt,fK as ke,fL as $e,gk as st,r as rt,ab as Pe,z as je,bN as dt,aj as ct,bu as ut}from"./index-Dfs8yBxm.js";import{a as o}from"./sentry-Dje-_Mky.js";import{n as i}from"./mui-BoUXdMXW.js";import{bJ as mt}from"./zeni-epic-state-DjuGgMVt.js";import{g as pt}from"./UploadAdditionalDocumentOverlay-B3JZwTBb-DawOCnY-.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="4c1b2d23-8a3e-4bf7-9a61-97d582863851",e._sentryDebugIdIdentifier="sentry-dbid-4c1b2d23-8a3e-4bf7-9a61-97d582863851")}catch{}})();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 s(343,580,726),iconContainerMaxWidthHeight:new s(n[6],n[7]),iconContainerMarginRight:new s(12,n[3]),infoLabelPaddingLeft:new s(n[0],n[3]),iconPadding:new s(10,12),iconWidthHeight:new s(20,n[4]),rowGap:new s(n[2],n[3]),containerPadding:new s(n[3],n[4])},ge={title:new je("standardSemiBold","largeSemiBold"),infoLabel:new je("extraSmallRegular","smallRegular")};function ft({companyMileageConfigInfo:e,mileageDetails:p,analytics:$,style:A,sectionId:P,isActive:c=!0,isDisabled:r,onSaveMileageClick:Z}){const l=Ie(),D=Ee(),{formState:{errors:K},trigger:X}=at(),E=ht(P,"mileageAmountInDenomination"),x=lt(K,E),{localData:d,updateStatus:F,mileageStatus:w}=p,U=e?.denominationConversions.amount==null||e.denominationConversions.amount!==d?.mileageAmountInDenomination,{commonSetUp:Y,spendManagement:Q}=Te.getLocalizedStrings(),{reimbursement:ee}=Q,[S,I]=o.useState(U),[te,W]=o.useState(!1);o.useEffect(()=>{x||X(E)},[]),o.useEffect(()=>{e?.denominationConversions.amount!=null&&e.denominationConversions.amount===d?.mileageAmountInDenomination&&I(!1)},[e?.denominationConversions.amount]),o.useEffect(()=>{S||W(S)},[S]);const{reimbursementSetup:y}=ee,{setUp:ie}=Y,ne=S===!1||F.fetchState==="In-Progress"?"readonly":r,oe=d&&d?.denominationSymbol?`${d?.denominationSymbol} `:"",ae=d&&d?.mileageUnit?d?.mileageUnit:"";return t.jsxs(xt,{windowSize:l,style:A,isActive:c&&r==null,children:[t.jsxs(Pt,{windowSize:l,children:[y.mileageHeader,c===!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(yt,{children:[t.jsxs($t,{children:[t.jsxs(jt,{children:[t.jsxs(At,{children:[t.jsx(wt,{windowSize:l,children:e?.denominationConversions.amount==null?y.mileageAddTitle:y.mileageEditTitle}),t.jsx(St,{children:y.mileageSubTitle})]}),w!=null&&e?.denominationConversions.amount!=null&&l==="small"?t.jsx(ke,{style:{width:"max-content",padding:a.sp0,marginTop:a.sp2},tagTitle:w.name,textColor:$e(w.code)}):null]}),t.jsxs(bt,{children:[w!=null&&e?.denominationConversions.amount!=null&&l!=="small"?t.jsx(ke,{style:{width:"max-content"},tagTitle:w.name,textColor:$e(w.code)}):null,t.jsx(Ct,{})]})]}),t.jsxs(Et,{children:[t.jsxs(It,{children:[t.jsx(st,{style:{height:a.sp6,textAlign:"left"},inputStyle:{textAlign:"left",paddingRight:a.sp10,backgroundColor:x?void 0:D.colors.background,color:S||x?void 0:D.colors.grey1},isFieldError:x,type:"number",autoFocus:!1,focus:te,name:E,defaultValue:d?.mileageAmountInDenomination,returnValueType:"floatValue",allowEmptyFormatting:!0,prefix:oe,suffix:` ${y.perText} ${ae}`,decimalScale:1,allowNegative:!1,isNumericString:!1,registerOptions:{min:1,validate:T=>T!=null||r!=null,required:r==null},isDisabled:ne}),t.jsx(Vt,{children:S?t.jsx(rt,{label:y.save,"data-testid":Pe("save-mileage"),onClick:()=>{d?.mileageAmountInDenomination!=null&&U&&!x&&Z?.(d.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:r!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:F.fetchState==="In-Progress"}):t.jsx(Lt,{isDisabled:r,"data-testid":Pe("edit-mileage"),onClick:T=>{T.stopPropagation(),I(!0),W(!0),$.trackReimbursementMileageRateEdit()}})})]}),d?.description!=null?t.jsx(Tt,{size:l,hasError:x,children:x&&e?.defaultMileageUnitAmount!=null?y.yourMileage.replace("__defaultMileageUnitAmount__",(e.defaultMileageUnitAmount*100).toString()):d.description}):null]})]})]})]})}const ht=(e,p)=>`${e}.${p}`,xt=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
pointer-events: ${e=>e.isLoading===!0||e.isActive===!1?"none":"initial"};
|
|
@@ -9,12 +9,12 @@ import{d as Ee,J as Ie,aR as N,a9 as Ge,cG as Je,F as Te,aW as Ce,V as t,fe as q
|
|
|
9
9
|
width: 100%;
|
|
10
10
|
flex-direction: column;
|
|
11
11
|
justify-content: flex-start;
|
|
12
|
-
`,wt=i.div`
|
|
13
|
-
display: flex;
|
|
14
12
|
`,bt=i.div`
|
|
13
|
+
display: flex;
|
|
14
|
+
`,wt=i.div`
|
|
15
15
|
${e=>`${ge.title.style(e.windowSize)}`};
|
|
16
|
-
color: ${e=>e.isError===!0?
|
|
17
|
-
`,St=i(
|
|
16
|
+
color: ${e=>e.isError===!0?J.important:e.theme.colors.primary};
|
|
17
|
+
`,St=i(ct)`
|
|
18
18
|
display: flex;
|
|
19
19
|
align-items: center;
|
|
20
20
|
justify-content: flex-start;
|
|
@@ -33,7 +33,7 @@ import{d as Ee,J as Ie,aR as N,a9 as Ge,cG as Je,F as Te,aW as Ce,V as t,fe as q
|
|
|
33
33
|
border-radius: ${a.sp11};
|
|
34
34
|
width: fit-content;
|
|
35
35
|
height: fit-content;
|
|
36
|
-
color: ${e=>e.isDarkMode?
|
|
36
|
+
color: ${e=>e.isDarkMode?J.neutralGrey5Light:e.theme.colors.brandColorOnyx}; // As per design
|
|
37
37
|
max-width: ${e=>h.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
38
38
|
max-height: ${e=>h.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
39
39
|
margin-right: ${e=>h.iconContainerMarginRight.valuePx(e.windowSize)};
|
|
@@ -65,10 +65,10 @@ import{d as Ee,J as Ie,aR as N,a9 as Ge,cG as Je,F as Te,aW as Ce,V as t,fe as q
|
|
|
65
65
|
align-items: center;
|
|
66
66
|
color: ${e=>e.theme.colors.primary};
|
|
67
67
|
${e=>`${ge.title.style(e.windowSize)}`};
|
|
68
|
-
`,
|
|
68
|
+
`,jt=i.div`
|
|
69
69
|
display: flex;
|
|
70
70
|
flex-direction: column;
|
|
71
|
-
`,
|
|
71
|
+
`,At=i.div``,Dt=i(dt)`
|
|
72
72
|
color: ${e=>e.theme.colors.comingSoon};
|
|
73
73
|
margin-left: ${a.sp3};
|
|
74
74
|
`,Et=i.div`
|
|
@@ -85,7 +85,7 @@ import{d as Ee,J as Ie,aR as N,a9 as Ge,cG as Je,F as Te,aW as Ce,V as t,fe as q
|
|
|
85
85
|
`,Tt=i.label`
|
|
86
86
|
display: flex;
|
|
87
87
|
padding-left: ${e=>h.infoLabelPaddingLeft.valuePx(e.size)};
|
|
88
|
-
color: ${e=>e.hasError===!0?
|
|
88
|
+
color: ${e=>e.hasError===!0?J.important:e.additionalInfoTextColor??e.theme.colors.hero};
|
|
89
89
|
${e=>`${ge.infoLabel.style(e.size)}`};
|
|
90
90
|
margin-top: ${a.sp1};
|
|
91
91
|
`,Vt=i.div`
|
|
@@ -103,13 +103,13 @@ import{d as Ee,J as Ie,aR as N,a9 as Ge,cG as Je,F as Te,aW as Ce,V as t,fe as q
|
|
|
103
103
|
&:hover {
|
|
104
104
|
color: ${e=>e.theme.colors.primary};
|
|
105
105
|
}
|
|
106
|
-
`,g={titleWidth:new s(343,580,726,826),setupDetailsRowGap:new s(12,n[5],n[5]),sectionRowGap:new s(n[5],n[9],n[9]),lastSectionPaddingBottom:new s(n[7],n[10],n[10]),iconWidthHeight:new s(20,n[4]),subTitlePaddingTop:new s(12,n[3]),subTitlePaddingBottom:new s(n[3],n[3]),overlayWidth:new s(100,100,59)},
|
|
106
|
+
`,g={titleWidth:new s(343,580,726,826),setupDetailsRowGap:new s(12,n[5],n[5]),sectionRowGap:new s(n[5],n[9],n[9]),lastSectionPaddingBottom:new s(n[7],n[10],n[10]),iconWidthHeight:new s(20,n[4]),subTitlePaddingTop:new s(12,n[3]),subTitlePaddingBottom:new s(n[3],n[3]),overlayWidth:new s(100,100,59)},Ae="remiSetupPage",q="remiAccount",G="remiMileage",Yt=({remiSetupView:e,isDisabled:p,remiApprovalView:$,connectedAccountProvider:A,isAccountsEnabled:P,filesEndPoint:c,authParams:r,meetingUrl:Z,analytics:l,accountsPromoConfig:D,onBackClick:K,onBusinessVerificationSectionClick:X,onSetupApprovalRulesSectionClick:E,onFetchLinkTokenClick:x,onEstablishConnectionClick:d,onEstablishConnectionSuccess:F,updateMileageDetails:w,onUpdateAccountClick:U,onUpdatePrimaryFundingAccount:Y,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:ee,onEnableRemiClick:S,onEnableRemiSuccess:I,onSaveMileageClick:te,onClickMenuIcon:W,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae,onSignUpClick:T})=>{const H=Ee(),u=Ie(),[B,V]=o.useState(!1),{fetchState:v,primaryFundingAccount:C,allFundingAccounts:fe,updateStatus:L,accountUpdateStatus:Ve,plaidConnectionDetails:le,allBankAccounts:Le,companyRemiInfo:ze,companyBillPayInfo:he,mileageRateConfig:Re,isRefreshingViewInBackground:Me,selectedCompanyOfficer:f}=e,{fetchState:xe,allApprovalRules:O,approvalRulesStatus:Fe}=$,se=le.link_account.updateStatus,re=le.update_account.updateStatus,_=N(v),ye=N(L.fetchState),be=N(se.fetchState),we=N(re.fetchState),z=qe({mode:"all",reValidateMode:"onChange",defaultValues:o.useMemo(()=>pe(e),[e]),values:pe(e)});o.useEffect(()=>{!B&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"&&V(!0),B&&_==="In-Progress"&&v==="Completed"&&V(!1)},[f,v,_]),o.useEffect(()=>{(_==="In-Progress"&&v==="Completed"||be==="In-Progress"&&se.fetchState==="Completed"||we==="In-Progress"&&re.fetchState==="Completed")&&z.reset(pe(e))},[_,v,z,e,be,se.fetchState,we,re.fetchState]);const Ue=z.handleSubmit(j=>{l.trackEnableReimbursement(),S()}),We=async(j,M)=>{const m=M[q];if(j.includes(q)){if(j.includes("fundingAccount")){if(m.fundingAccount.selectedOption!=null&&C?.id!=m.fundingAccount.selectedOption){const b=fe.find(me=>me.id===m.fundingAccount.selectedOption);b!=null&&Y(m.fundingAccount.selectedOption,b.accType)}}else if(m.account.selectedOption!=null&&C?.id!=null&&C?.zeniAccountId!=m.account.selectedOption){const b=m.account.allOptions.find(me=>me.value===m.account.selectedOption);b!=null&&typeof b.label=="string"&&l.trackConnectBankLink(b.value,b.label,"reimbursement"),U(m.account.selectedOption,C.id,C.accType)}}else if(j.includes(G)){const b=M[G];w(b)}};o.useEffect(()=>{const j=z.watch((M,{name:m})=>{m!=null&&M!=null&&Ge(()=>We(m,M))});return()=>{j.unsubscribe()}}),o.useEffect(()=>{ye==="In-Progress"&&L.fetchState==="Completed"&&I()},[I,ye,L.fetchState]);const{commonSetUp:Se,spendManagement:He}=Te.getLocalizedStrings(),{reimbursement:Be}=He,{reimbursementSetup:R}=Be,{setUp:k}=Se,de=he?.isBusinessVerified===!0&&(C?.accType==="depositAccount"||mt(C?.providerVerificationStatus?.code??""))&&Re?.denominationConversions.amount!=null,ce=ze?.isReimbursementEnabled===!0,Oe=de?Se.setUp.setupVerifiedSubTitle:R.setupSubTitle,_e=v==="In-Progress"||v==="Not-Started"||xe==="In-Progress"||xe==="Not-Started",ue=H.mode==="light"?new Ce(H.colors.brandColorJadeLight):new Ce(H.colors.brandColorJadeDark),Ne=()=>{!B&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"?V(!0):X?.()};return t.jsxs(zt,{children:[t.jsx(Je,{anchor:"right",PaperProps:{style:{width:g.overlayWidth.valuePercentage(u),boxShadow:"none"}},open:B,onClose:()=>V(!1),style:{backgroundColor:J.drawerBackground},transitionDuration:250,children:t.jsx(pt,{authParams:r,filesEndPoint:c,updateStatus:L,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,companyOfficer:f,onClose:()=>V(!1),onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae})}),t.jsx(Ze,{title:R.setupTitle,backgroundColor:H.colors.grey4,style:{zIndex:3},onBackClick:K,showMenuIcon:!ce&&(u==="medium-compact"||u==="small"),onClickMenuIcon:W,source:"ReimbursementSetUpPage"}),t.jsxs(Mt,{windowSize:u,children:[t.jsx(Rt,{windowSize:u,children:Oe}),_e?t.jsx(Ft,{children:t.jsx(Ke,{size:"ExtraLarge",start:!0})}):t.jsx(Xe,{...z,children:t.jsx("form",{id:De(Ae),onSubmit:Ue,children:t.jsxs(Ut,{windowSize:u,children:[t.jsx(ve,{onClick:Ne,title:k.businessVerificationTitle,subTitle:k.businessVerificationSubTitle,header:k.businessVerificationHeader,icon:{element:t.jsx(Ye,{width:g.iconWidthHeight.valuePx(u),height:g.iconWidthHeight.valuePx(u)}),color:ue},status:he?.businessVerificationStatus,isTagLoading:Me}),t.jsx(Qe,{connectedAccountProvider:A,primaryFundingAccount:C,plaidConnectionDetails:le,allBankAccounts:Le,allFundingAccounts:fe,sectionId:q,isDisabled:p,onFetchLinkTokenClick:x,onEstablishConnectionClick:d,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:ee,onEstablishConnectionSuccess:F,icon:{element:t.jsx(et,{width:g.iconWidthHeight.valuePx(u)}),color:ue},analytics:l,productType:"reimbursement",isAccountsEnabled:P,onSignUpClick:T,pageName:"Reimbursement Setup",accountsPromoConfig:D}),t.jsx(ft,{mileageDetails:e.mileageDetails,companyMileageConfigInfo:e.mileageRateConfig,sectionId:G,onSaveMileageClick:te,analytics:l}),t.jsx(ve,{title:O.length>0?k.approvalTitle:k.createApprovalTitle,subTitle:R.approvalSubTitle,header:O.length>0?k.approvalHeader:k.setupApprovalHeader,icon:{element:t.jsx(tt,{height:g.iconWidthHeight.valuePx(u)}),color:ue},style:{paddingBottom:g.lastSectionPaddingBottom.valuePx(u)},onClick:E,status:O.length>0?Fe:void 0})]})})})]}),de&&!ce&&O.length>0?t.jsx(it,{formId:De(Ae),primaryBtn:{label:R.enableReimbursements,style:{width:"auto",minWidth:u==="small"?"auto":"181px"},isLoading:L.fetchState==="In-Progress"||Ve.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:R.terms,cancelBtn:{label:""},style:{padding:`12px ${a.sp3}`}}):null,t.jsx(nt,{isFooterRendered:de&&!ce,meetingUrl:Z,analytics:l,productType:"reimbursement"})]})},zt=i.div`
|
|
107
107
|
display: flex;
|
|
108
108
|
min-height: 100%;
|
|
109
109
|
flex-direction: column;
|
|
110
110
|
width: 100%;
|
|
111
111
|
background-color: ${e=>e.theme.colors.grey4};
|
|
112
|
-
`,
|
|
112
|
+
`,Rt=i(ot)`
|
|
113
113
|
color: ${e=>e.theme.colors.hero};
|
|
114
114
|
display: flex;
|
|
115
115
|
justify-content: center;
|
|
@@ -117,7 +117,7 @@ import{d as Ee,J as Ie,aR as N,a9 as Ge,cG as Je,F as Te,aW as Ce,V as t,fe as q
|
|
|
117
117
|
padding-top: ${e=>g.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
118
118
|
padding-bottom: ${e=>g.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
119
119
|
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
120
|
-
`,
|
|
120
|
+
`,Mt=i.div`
|
|
121
121
|
display: flex;
|
|
122
122
|
justify-content: flex-start;
|
|
123
123
|
height: 100%;
|
|
@@ -137,4 +137,4 @@ import{d as Ee,J as Ie,aR as N,a9 as Ge,cG as Je,F as Te,aW as Ce,V as t,fe as q
|
|
|
137
137
|
display: flex;
|
|
138
138
|
flex-direction: column;
|
|
139
139
|
row-gap: ${e=>g.sectionRowGap.valuePx(e.windowSize)};
|
|
140
|
-
`,pe=e=>{const{allBankAccounts:p,allFundingAccounts:$,mileageDetails:
|
|
140
|
+
`,pe=e=>{const{allBankAccounts:p,allFundingAccounts:$,mileageDetails:A,primaryFundingAccount:P}=e,{localData:c}=A;return{[q]:{fundingAccount:{selectedOption:P?.id,allOptions:$.map(r=>({label:r.label,value:r.id,isRecommended:r.accType==="depositAccount"}))},account:{selectedOption:P?.zeniAccountId,allOptions:p.map(r=>({label:r.accountName,value:r.accountId}))}},[G]:{mileageAmount:c?.mileageUnitAmount?.amount,mileageCurrencyCode:c?.mileageCurrencyCode??"USD",mileageCurrencySymbol:c?.mileageCurrencySymbol??"$",mileageUnit:c?.mileageUnit??"",description:c?.description??"",mileageAmountInDenomination:c?.mileageAmountInDenomination,denomination:c?.denomination??"dollars",denominationSymbol:c?.denominationSymbol??""}}},De=e=>`${e}_form`;export{Yt as default,De as uniqueName};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as f,
|
|
1
|
+
import{V as f,cr as V,cs as M,ct as W,kd as Z,aZ as q,F as z}from"./index-Dfs8yBxm.js";import{a as b}from"./sentry-Dje-_Mky.js";import{H5 as H}from"./zeni-epic-state-DjuGgMVt.js";import{u as K}from"./ReviewOverlay-B2XV0Wf1-9HOJu6NK.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./mui-BoUXdMXW.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="90f3a6ac-2c3a-47e0-8544-bc49c7bf022d",e._sentryDebugIdIdentifier="sentry-dbid-90f3a6ac-2c3a-47e0-8544-bc49c7bf022d")}catch{}})();const{common:a,spendManagement:{reimbursement:k}}=z.getLocalizedStrings(),s=k.bulkActions;let j;const ce=({remisReviewView:e,isAdmin:o,analytics:i,onProceedForBulkActionClick:u,onCloseReviewItem:r,onCloseOverlay:n})=>{const{fetchState:p,bulkSubmissionFetchState:c,bulkOperationTypeSelected:t,currentTab:g,currentSubTab:y}=e,v=!1,[x,l]=b.useState(!1),[m,_]=b.useState(P(e,v,o)),[h,R]=b.useState(v),[B,G]=b.useState(0),[w,A]=b.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});b.useEffect(()=>(B===m.length&&h&&(R(!1),clearInterval(j)),e.fetchState==="Completed"&&_(P(e,!1,o)),()=>{clearInterval(j)}),[m.length,B,h,e.fetchState,v,e,o]);const D=m.length,S=m.filter(d=>d.reviewStatus.code!=="error").length,F=()=>{const{title:d,description:C}=X(S);A({type:"reject",title:d,description:C,primaryButtonText:a.texts.confirm,secondaryButtonText:a.texts.close}),i.trackReimbursementBulkSubmit(t,g,y),l(!0)},E={onOkClick:d=>{l(!1);const C=e.remisForReview.map(I=>I.reimbursement);i.trackReimbursementBulkPopupConfirm(t,g,y,H(C.map(I=>I?.reimbursementTypesIncluded??[]))),u("reject",d)},onCancelClick:()=>{l(!1)}},{title:$,description:L}=Y(p,S,D,h),T=e.fetchState==="Completed"&&S===0,U=()=>{i.trackReimbursementBulkSubmit(t,g,y),u(t)},N=()=>{let d=a.footer.approve;return T?d=a.texts.close:t==="send_for_approval"&&(d=a.footer.submit),{label:d,isDisabled:p!=="Completed"||t==="reject"&&c==="In-Progress",isLoading:c==="In-Progress"&&(t==="send_for_approval"||t==="approve"),onClick:T?n:U,style:t==="send_for_approval"?{minWidth:"92px"}:{}}},O={label:t==="send_for_approval"?a.texts.goBack:a.footer.reject,isDisabled:t!=="reject"&&c==="In-Progress",isLoading:t==="reject"&&c==="In-Progress",reverseSpinnerColor:!1,onClick:t==="send_for_approval"?n:F,style:t==="approve"?{minWidth:"92px"}:{}};return f.jsxs(f.Fragment,{children:[x?f.jsx(V,{titleComponent:f.jsx(W,{children:w.title}),descriptionComponent:f.jsx(M,{children:w.description}),primaryButtonText:w.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:w.secondaryButtonText,action:E,isNotesIncluded:!0,isEditPopup:!0}):null,f.jsx(K,{title:$,description:{content:L,isError:e.fetchState==="Completed"&&S===0},reviewItems:m,onCloseReviewItem:r,onCloseOverlay:n,showFooter:e.fetchState==="Completed"&&!h,footerProps:{primaryButton:N(),cancelButton:O,hideCancel:T}})]})},P=(e,o,i)=>{const u=e.fetchState==="In-Progress";return e.remisForReview.map(r=>{const n=Z(i,r.submittedBy);return{id:r.transactionId,leftSideText:{title:r.reimbursement?.reportTitle!=null?r.reimbursement.reportTitle:k.reimbursementDetail.newReimbursementTitle,subTitle:n!=null?`${a.by} ${n?.firstName} ${n?.lastName}`:a.strings.empty},rightSideText:{title:q("0,0.[00]",r.reimbursement?.amount?.amount,r.reimbursement?.amount?.currencySymbol),showThunderIcon:!1,subTitle:r.reviewInfoMessage??""},reviewStatus:{isLoading:u,code:r.reviewStatus??""}}})},X=e=>{const{this_:o,these:i,report:u,reports:r,payment:n,payments:p}=a.texts;return e>1?{title:s.popUps.reject.title.replace("__report__",s.reports),description:s.popUps.reject.description.replaceAll("<_this_>",i).replaceAll("<_payment_>",p).replaceAll("__report__",r)}:{title:s.popUps.reject.title.replace("__report__",s.report),description:s.popUps.reject.description.replaceAll("<_this_>",o).replaceAll("<_payment_>",n).replaceAll("__report__",u)}},Y=(e,o,i,u)=>{const{has:r,have:n,report:p,reports:c,are:t,is:g,do_:y,does:v}=a.texts,x=o>1,l=i>1;let m="",_="";return e==="Completed"&&!u?(m=s.reviewPage.reportsReviewed.title.replace("__report__",l?k.bulkActions.reports:s.report).replace("<_has_>",l?n:r),o===0?_=s.reviewPage.reportsReviewed.descriptionError.replace("__report__",l?c:p).replace("<_do_>",l?y:v):_=`${o}/${i} ${s.reviewPage.reportsReviewed.description.replace("__report__",i>1?c:p).replace("<_is_>",x?t:g)}`):(m=s.reviewPage.reportsReviewing.title.replace("__report__",l?c:p),_=s.reviewPage.reportsReviewing.description.replace("__report__",l?c:p)),{title:m,description:_}};export{ce as default};
|