@zeniai/web-cockpit-ui 1.15.28-qa → 1.15.29-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-49jTvZnX-CcfWHSNi.js → ACHDetailsPage-D0jUmxS6-DI0CExu1.js} +3 -3
- package/dist/assets/{AIPerformancePage-DJea2aE9-DcaPMhBj.js → AIPerformancePage-DQyvDXPN-ukOMU-RT.js} +103 -103
- package/dist/assets/AccountInfoPage-CQNGh3_A-ZcjlM8t2.js +18 -0
- package/dist/assets/{AccountInfoPageContent-zf4BRg29-CoBu8GLS.js → AccountInfoPageContent-B7DASXbm-BefZrlih.js} +18 -18
- package/dist/assets/AccountLockedInfoModal-Cr7_xUUY-Bk3CNMu-.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-DI40FQGK-Dp1Hkayz.js → AccountReconDetailsDrawerPage-CrmjKiV7-Cv1Tfaeu.js} +12 -12
- package/dist/assets/AccountRow-C3tJgM2h-CpbgtnSJ.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-ugkcP4hS-DdGvufkl.js → AccountsPromoCardStack-DhZiDNjz-rI4AiDYZ.js} +26 -26
- package/dist/assets/AddAddressForCardDrawer-D0veIubx-2oArova3.js +6 -0
- package/dist/assets/{AddToWalletPage-CmBtO-Jx-BbTc9SND.js → AddToWalletPage-DC8BGIUj-BKDs0XXJ.js} +47 -47
- package/dist/assets/{AgingReportsPage-BgZqIoFH-EiBjpgJY.js → AgingReportsPage-tUsuhbO0-x1wC9HEj.js} +15 -15
- package/dist/assets/{AllUserItems-CMkg4gXl-CC17bhVc.js → AllUserItems-CscMl1JD-C_ccJ4Oy.js} +11 -11
- package/dist/assets/{ApAgingDetailPage-CIc4rs2--CnF5BTEq.js → ApAgingDetailPage-CjpIU0Dh-DkRRiTCn.js} +4 -4
- package/dist/assets/AppBasePage-DMwbBUJi-Cr6HTrVh.js +71 -0
- package/dist/assets/{AppDrawerContent-DK3tTd88-CxEZO2yz.js → AppDrawerContent-CUw-1lGW-BBjh8fWe.js} +4 -4
- package/dist/assets/{ApprovalRulesSettingsPage-8myNAB_M-PIjAfHOg.js → ApprovalRulesSettingsPage-DEySZg2e-DvCAs_N3.js} +6 -6
- package/dist/assets/{ArAgingChart-D8yl6Fco-BemlDB-t.js → ArAgingChart-B99-xh0r-CShFZ1sO.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-DMPLqLKl-DZ100BBU.js → ArAgingDetailPage-BMs-sIjj-De_5HPMl.js} +5 -5
- package/dist/assets/{AttachmentView-Cxyodtel-CHXRSWp0.js → AttachmentView-D8FFMCan-Bx8SM48F.js} +4 -4
- package/dist/assets/{BankAccountSection-DGuhn7CN-Cgy60UkZ.js → BankAccountSection-DwcbHNr4-DXV-hFK5.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-l79_AN7P-BXZ1neiw.js → BankAccountWarningSection-CKlrNRtW-Dk0QQgmR.js} +11 -11
- package/dist/assets/{BankConnectionsSettingsPage-CkF3K8e8-DjAqXRzv.js → BankConnectionsSettingsPage-CnQX_eIy-B636S2v9.js} +10 -10
- package/dist/assets/{BillDetailPage-CaAXVwe3-Bngh8uGv.js → BillDetailPage-DoiN5bdp-QEVu_Fw8.js} +13 -13
- package/dist/assets/{BillPayApprovalRuleDetailPage-CFiMiJVw-hYgSuHH2.js → BillPayApprovalRuleDetailPage-C9rO8GVf-C5mUyabS.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-qpF8Wy4I-4mgDAw38.js → BillPayApprovalRulesPage-DUoGmtQA-Df24zHhP.js} +15 -15
- package/dist/assets/{BillPayPromoPage-CNUoM-3L-Bf6UStZI.js → BillPayPromoPage-pb2Uoote-CfGc45oI.js} +6 -6
- package/dist/assets/{BillPaySetUpPage-D_hRCBF5-DA_ZzKoL.js → BillPaySetUpPage-CCJ-y0-e-vj3UvmhL.js} +2 -2
- package/dist/assets/BillingSettingsPage-BtZx7XsQ-DqKnlJDW.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-BRVd0a8c-pDbch4ny.js → BillsBulkReviewDrawerPage-ihLtPXjK-MCDf88-k.js} +1 -1
- package/dist/assets/BoxItem-CggSwHNx-DTdeZgcp.js +53 -0
- package/dist/assets/BusinessVerificationPage-B5N2bKw0-BATAN3Fe.js +138 -0
- package/dist/assets/{CardNumberSubText-Md18DQb7-CIwqP6ml.js → CardNumberSubText-CzY1q13C-MnBX8zlt.js} +3 -3
- package/dist/assets/{CashbackDetailPage-CfB0mGdX-C_0EOIqe.js → CashbackDetailPage-BfbarB85-DbIy7v5_.js} +13 -13
- package/dist/assets/{ChargeCardDetailPage-ByOcHh0H-BfKC68tO.js → ChargeCardDetailPage-ZbiEFEmP-DkldS52E.js} +18 -18
- package/dist/assets/{ChargeCardListPage-9aL08yGW-Bfpu4zsQ.js → ChargeCardListPage-TZjLs-P6-jDKL4UGC.js} +23 -23
- package/dist/assets/{ChargeCardListTable-CbqF_9f3-Ca-N98mE.js → ChargeCardListTable-8xOxHHdR-CbA4UAJN.js} +55 -55
- package/dist/assets/{ChargeCardPaymentHistoryPage-Dp_vLjiJ-BRgPtASj.js → ChargeCardPaymentHistoryPage-C59HJbX_-DSN6B2YJ.js} +12 -12
- package/dist/assets/{ChargeCardPromoPage-8Oz0DmQv-fZ82gk_u.js → ChargeCardPromoPage-BStN0hwL-CcQVPDda.js} +22 -22
- package/dist/assets/{ChargeCardSetupPage-DYOCe46h-DofWPI7l.js → ChargeCardSetupPage-BV9CZbZA-jaoX3c_D.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-BLws2jOd-B7_CMcnH.js → ChargeCardStatementsPage-BM0-VzSs-VRFfREaU.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-Bc3a4vVO-BbbGiBeq.js → CheckDepositDrawerPage-Ck_FJENk-D6N1pJ8d.js} +21 -21
- package/dist/assets/{CollapsableReportTable-4-6Wne7j-B0fqnr40.js → CollapsableReportTable-Bp12uWDe-2QtZhAQ4.js} +93 -93
- package/dist/assets/CompanyOfficerDetailsSection-BpXbh4hd-B1pobiqV.js +331 -0
- package/dist/assets/{CompanyPassportCard-DPwqwt8k-C5L2MOTS.js → CompanyPassportCard-DdLCLtke-DeiUHnOs.js} +3 -3
- package/dist/assets/CompanyPassportPage-C_YEVe_6-DIOl60Ev.js +417 -0
- package/dist/assets/{CompleteProfile-C6o_Ez-L-BmNzBtP0.js → CompleteProfile-IidaBize-xGzDlV_8.js} +2 -2
- package/dist/assets/ConfettiBurst-BBQSP4O0-MpV_vNzT.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-D2HFZiQh.js → ConstrainedInnerElement-BeIpAPjB-DF6OOn_R.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-Bcj3U0s_-CGW33KLe.js → CreateOrEditVendorPage-DRIcvWIi-BQvkqlYA.js} +16 -16
- package/dist/assets/{CreditCardPaymentDrawerPage-CI3GD2-u-xfPA2qyT.js → CreditCardPaymentDrawerPage-CP16DSkY-IwkiXaEV.js} +11 -11
- package/dist/assets/{CurrencySelectField-98tevzzy-BdVJWUSW.js → CurrencySelectField-Dh8_yxO9-COrLBUNn.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-BSsdFKhb-DK4sAWi2.js → CustomerOnboardingActivationPage-CruwsOaY-BXS0eWp7.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-s1UpiNNV-ntNpCB3e.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-D5gblIdv-Caxu5Zhs.js → CustomerOnboardingDetailPageSkeleton-D5vI0fK5-8RtejMqZ.js} +14 -14
- package/dist/assets/CustomerOnboardingNoStepsPage-CeP1FYaR-BRWUwLIJ.js +66 -0
- package/dist/assets/CustomerOnboardingPage-POOYVKHb-liAi5v-r.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-DcX7v8VV-CzdvOwGY.js → CustomerOnboardingProductSuitePage-CsGY-9DW-DPpUnCq_.js} +4 -4
- package/dist/assets/{Dashboard-C12cMR4f-BkHKPjR1.js → Dashboard-DVGSm94S-CMlVQ1ZN.js} +66 -66
- package/dist/assets/{DashboardReportPage-C8FygWL_-Cla44o75.js → DashboardReportPage-BTH4sqly-ByEpuMCT.js} +13 -13
- package/dist/assets/DashboardSidebarBackgroundAnimation-P4dMLhdR-2wFPpcaC.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-BuwWbrWB-Di9Bdjh5.js → DepositAccTransactionItem-CdGb-mdn-Dw1qtycC.js} +6 -6
- package/dist/assets/{DepositAccTransactionListPage-C1XXM6Qy-WKt2yZnq.js → DepositAccTransactionListPage-D_4GDpPX-C_mh40lO.js} +6 -6
- package/dist/assets/{DomesticWireDetailsPage-t6W8wYH8-Duiu6lHD.js → DomesticWireDetailsPage-CyR8VR17-BP00VxXE.js} +1 -1
- package/dist/assets/{DownloadOverlay-CJYnXgCn-po8o9rFt.js → DownloadOverlay-XjCXyoWD-Bm1X3iZG.js} +11 -11
- package/dist/assets/{DrawerPage-isFPi2CS-Dy2XlefY.js → DrawerPage-BrFA4rZ6-aasrPA1W.js} +14 -14
- package/dist/assets/EditPeoplePage-C7oQnEDx-yTYT60dT.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-CVMvR_xa-DG23h9eS.js → EditReimbursementDetailPage-BKCA_tOp-Pr7pYlV3.js} +67 -67
- package/dist/assets/EntityDetailPage-DfRYXWR2-CnKeibYv.js +18 -0
- package/dist/assets/{EntitySummarySection-BXo9RrQK-DGsvlE9t.js → EntitySummarySection-jiCl0IQB-IzBxXNSj.js} +8 -8
- package/dist/assets/{ExpenseAutomationOverviewPage-DPfeujDA-D2SAUjX6.js → ExpenseAutomationOverviewPage-D5FqhZ4C-DlHKncfS.js} +22 -22
- package/dist/assets/ExpenseAutomationPage-BxePbH-d-BFQdSZ2G.js +1794 -0
- package/dist/assets/{ExpressPayPage-Dlku9oMT-Chf6cONM.js → ExpressPayPage-Ce1ICmZX-DpNy83UQ.js} +14 -14
- package/dist/assets/{FeaturePreviewPage-qJmxWW10-B4n1g-VM.js → FeaturePreviewPage-BPy4OV1_-CtEoQSwh.js} +2 -2
- package/dist/assets/{FollowStepsSection-DxAp4i9T-B6mxQ3Lc.js → FollowStepsSection-Din7sNsE-DZ-lAocX.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-Cadf7AIC-Cfrn7bAU.js → GlobalReviewListPage-DdBS6gtg-DMCbQGeD.js} +16 -16
- package/dist/assets/{InformationCardStack-BZhYP37l-Dh5tZCEf.js → InformationCardStack-D2m2hpoN-CgTMVL3x.js} +6 -6
- package/dist/assets/{InsightsCardStack-CPZtVqq5-Dv9wDWj5.js → InsightsCardStack-CwPV_ZFA-cNT4O5VS.js} +9 -9
- package/dist/assets/InsightsSection-C99GeNPc-DdumJc8q.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-CNis_Wk3-D9uebKy2.js → IntegrationsSettingsPage-Cj3wec0l-B3o48im5.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-8g16Kgfi-0ogsgdlU.js → InternationalWireSwiftDetailsPage-BUMPAKcc-DHu68DCf.js} +20 -20
- package/dist/assets/InternationalWireVerificationPage-sMa3CFzS-C1hB1KbH.js +65 -0
- package/dist/assets/{InviteFormPage-pQDs7n3f-BS_wrbhI.js → InviteFormPage-BllyKSzh-DgIr8C1D.js} +23 -23
- package/dist/assets/{InvitePageListView-DJYwE5Il-Fm_kCaH_.js → InvitePageListView-C3RyUNhD-DT7ypg0Y.js} +55 -55
- package/dist/assets/InvitePeoplePage-CKyzJq5O-CTTGoWvH.js +12 -0
- package/dist/assets/InvoiceUploadSection-Cy_eY3C3-BvOhggtx.js +140 -0
- package/dist/assets/{IssueChargeCardPage-DX3kJ72T-Bbsa3ReK.js → IssueChargeCardPage-JGrU6BE3-Bzst3S02.js} +19 -19
- package/dist/assets/{LabeledAddressValue-DWDFf_hN-i7DYUaCN.js → LabeledAddressValue-BI2stF8S-C5RJ9xTq.js} +2 -2
- package/dist/assets/LabeledAddressValueField-BeN4saF8-Dh6otOvG.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-1cRVmzfC-aaZUiMVX.js +16 -0
- package/dist/assets/LabeledCountryMultiSelectField-Dq1kA0bH-CINWTh7q.js +237 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-CWhimq6W-C6li2d0F.js → LabeledCreatableSingleSelectField-CA4tIjc4-pHS5FOKT.js} +17 -13
- package/dist/assets/LabeledDocumentField-BwDcnGXz-CVNmYnjT.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-BiX_zDWp-rtvF0WL7.js +59 -0
- package/dist/assets/{LabeledText-DlIRkA7r-B5arlV7E.js → LabeledText-DBGBNWrC-Bz-BEuAu.js} +5 -5
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CXwZdQ0K-Cpwps7J_.js → LabeledUserSingleSelectWithSubtitlesField-c48OKP3k-TTTd1TKD.js} +18 -18
- package/dist/assets/{LabeledZeniRolesDropDownField-CWui0vqF-aIVka7ee.js → LabeledZeniRolesDropDownField-BledLq8r-B5R8Kb64.js} +38 -38
- package/dist/assets/{LinkJETransactionPage-DJfFhIWc-HxEax1gz.js → LinkJETransactionPage-T3YbAuGo-Blo3eQug.js} +8 -8
- package/dist/assets/{LockCardPage-Cv9rUAY7-CRM6tSdH.js → LockCardPage-CCbSDbLg-CNyg49ub.js} +25 -25
- package/dist/assets/{LowBalancePopup-DnRpH2rk-DTfJCUnO.js → LowBalancePopup-Dcu_nflD-jwxLB_6o.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-DqxFWlcN-Cr3KMl9z.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Ci1FYKWc-DPej34Er.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DjVTnPdg-C7wE4yBl.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-Cj9eBkUy-LBOEVLww.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-ygghGjqi-CuoUhbXC.js → MagicLinkTitleSection-DYgXcZiu-CC2yOIm_.js} +4 -4
- package/dist/assets/{MailingDetailsSection-DtuTgXeV-IXVLtHtT.js → MailingDetailsSection-NHD_RPvO-wAGrbezn.js} +6 -6
- package/dist/assets/{MyBankConnectionsSettingsPage-BRy7gQIK-D3E0RKFO.js → MyBankConnectionsSettingsPage-CA6Wlg9P-TP5mxlEd.js} +9 -9
- package/dist/assets/{MyPendingActivationChargeCardListPage-eCLt21RY-535FcLSw.js → MyPendingActivationChargeCardListPage-vuCK_pay-CNz5Jstw.js} +2 -2
- package/dist/assets/MyProfileSettingsPage-ivKa4qXq-C9jiGRCh.js +85 -0
- package/dist/assets/{NavBarWithPicker-MP4pdS6O-COsSCzd5.js → NavBarWithPicker-CaEVqLYu-Bn-Q2SAg.js} +5 -5
- package/dist/assets/{NavigationArrow-CxS8-9O0-CatsH1Px.js → NavigationArrow-CE75i93Q-if294S5X.js} +7 -7
- package/dist/assets/{NavigationDots--7KEcIuu-BRlX1k2X.js → NavigationDots-DSmdsJan-DqJUZkJm.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-wYBwn2dL-Di2u3LuR.js → NewGlobalMerchantPage-D1t1Omz1-D4yLnbSk.js} +36 -36
- package/dist/assets/{NoDataChart-Bd0aKX8D-CQTFJOzE.js → NoDataChart-DWJgpsRV-DeKQSYlF.js} +2 -2
- package/dist/assets/NoDataTable-CfVHlNP8-B8R0ZBzf.js +8 -0
- package/dist/assets/{NotFoundPage-CxAhFmy2-D_6z2Xtb.js → NotFoundPage-BRQ7JAuQ-BzclJDLa.js} +8 -8
- package/dist/assets/{NotificationSettingsPage-BwTc94Y4-C7YZac8f.js → NotificationSettingsPage-BwEA5Wca-BtO-6P8v.js} +17 -17
- package/dist/assets/{NotificationsListConfig-f-Y-UtEy-BjXN0EHR.js → NotificationsListConfig-CKAbHHpg-Cwkh8zuv.js} +1 -1
- package/dist/assets/{NotificationsPage-Cds6qhVt-CLtzW5A5.js → NotificationsPage-CEh-UBpl-CuvjGabS.js} +24 -24
- package/dist/assets/{OpExByVendorPage-CF6Q-SV2-Du4X_y_n.js → OpExByVendorPage-CTee-X2c-RoYLqL_B.js} +20 -20
- package/dist/assets/OverlayContainerPage-D4QU0p4o-DyYs9r74.js +11 -0
- package/dist/assets/{PandLWithForecastPage-DwWcx5eK-DceCcsTP.js → PandLWithForecastPage-Bx5J8Jkw-CtXQ0GtS.js} +11 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-vh9LcTSB-CdrJ4ZnV.js +107 -0
- package/dist/assets/PeoplePage-B7dwoi8R-B0GXOF92.js +727 -0
- package/dist/assets/{Preview-DKSvOyvY.js → Preview-TD25geE8.js} +1 -1
- package/dist/assets/{ProductsCarousel-CJlGSrBH-Cq2qkRd_.js → ProductsCarousel-CpPUyzF7-CbseGDls.js} +5 -5
- package/dist/assets/{PromoBaseCards-fx9bhHkF-Cr6A5ukU.js → PromoBaseCards-Dl_042jf-Bxd3YCV0.js} +17 -17
- package/dist/assets/{QBOConnectionDialog-CGAr0mXC-gCAB8TZV.js → QBOConnectionDialog-CuGzMWxh-CUYgOSB_.js} +3 -3
- package/dist/assets/{QBOSetupSection-D-fnn99E-Z2bEiJ2B.js → QBOSetupSection-PANAGPOA-BMX2y2pY.js} +10 -10
- package/dist/assets/ReimbursementApprovalRuleDetailPage-BN9aWFrw-C2lN68IA.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-BB4c1_YZ-B4lCeTA_.js → ReimbursementApprovalRulesPage-C8EnDVZP-CsGEUBPm.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-DpWhzOF9-BGNBQ8fw.js → ReimbursementDetailPage-DsD9fJEP-Dv7tP_q3.js} +8 -8
- package/dist/assets/ReimbursementPromoPage-C6ZhcnHL-CP40VdLA.js +84 -0
- package/dist/assets/{ReimbursementSetUpPage-CoOFmpfw-CcDXlIfn.js → ReimbursementSetUpPage-Bpf71REk-DXOdP7tH.js} +10 -10
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DAYEgH4V-gImck_fD.js → ReimbursementsBulkReviewDrawerPage-DBzyyzc5-BwLsg3si.js} +1 -1
- package/dist/assets/{ReloadCard-clq1KPzy-BDtPVtNU.js → ReloadCard-D8vHHU5l-D9Zcmqfy.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-CU3PZ-xy-BEgZqGpp.js → ReportTableViewSelector-BGUS_EOK-BgEPLzeb.js} +9 -9
- package/dist/assets/{ReportsPage-C5QPXAa--DP2rnemn.js → ReportsPage-7AfDaHtI-Cn6WVWVc.js} +5 -5
- package/dist/assets/{RevenueChart-BM8cNGoZ-C27s9tEu.js → RevenueChart-BwmL3D54-6Q-FXG5L.js} +18 -18
- package/dist/assets/{ReviewDetailsPage-Dp29TV8A-DtqouJ7i.js → ReviewDetailsPage-k4QAybX2-CZrfCcmm.js} +34 -34
- package/dist/assets/{ReviewOverlay-OXnAkRJ_-DQ1-DRQ0.js → ReviewOverlay-DueknjXC-BR1KXLF3.js} +18 -18
- package/dist/assets/RoleWithToolTip-JIflStMs-BP1BkhJL.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BUWOvDMW-BJEVer1A.js → ScheduleDetailsFixedAssetsPage-DKD4n8OH-H56JJlor.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-F2KQ46TD-DUQpVWdJ.js → ScheduleDetailsPage-B3c9vFiq--f9OssWG.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-c-8N2OvE-3jvI0Hib.js → ScheduleSequenceTable-dniltDqh-C61tZgFj.js} +42 -42
- package/dist/assets/{ScreenRoutes-D2HHIwF-.js → ScreenRoutes-B6abahal.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CPw8BhAT-BMbeTO7r.js → SetUpAccountSection-dQy1ylAS-DgAYqShu.js} +5 -5
- package/dist/assets/SignIn-CfgXHpxt-Dy-dAAjO.js +491 -0
- package/dist/assets/SignInScreen-AKxDKkfa.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-YoHK4LrJ-BPv9nv-6.js → SpendManagementListViewPage-D7buHVht-BCYFnNle.js} +12 -12
- package/dist/assets/{SpendManagementPerTabPage-CEJxlQwu-DnsDl-Cv.js → SpendManagementPerTabPage-DdFSZjQ0-D9EmWQSU.js} +23 -23
- package/dist/assets/{SpendManagementSection-Dbk_Ojop-BRVm4DkG.js → SpendManagementSection-CKaS7I-j-BvawxFnE.js} +25 -25
- package/dist/assets/{StatementItem-DO9WpE-R-CPRQ8y1v.js → StatementItem-D6RxD4P2-CMxwr4rG.js} +3 -3
- package/dist/assets/{StatementsPage-Cf8pwDhO-DEtIN1ZE.js → StatementsPage-BVDChKXj-BeaWjdy-.js} +1 -1
- package/dist/assets/{StatusSwitcher-B523Fhna-k5nGYedO.js → StatusSwitcher-B0FtlfFf-CoiY0okw.js} +2 -2
- package/dist/assets/{SubTabSwitcher-Dgwgj3Si-D9CeC2In.js → SubTabSwitcher-DmV2fMPv-DS0cimVQ.js} +2 -2
- package/dist/assets/SummaryCard-DVks1oex-Cb7FYo-V.js +1 -0
- package/dist/assets/TaskManagementPage-DFzE-ZKA-CiF6HWS_.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-8lNpLdVr-DHgrFQ-E.js → TimeRangeSwitcher-DTNA8U_P-b0TgL39D.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-B-l9fJ1Q-CU2muBve.js → TimeframeSwitcher-BxrcpeVc-B20EMzBs.js} +6 -6
- package/dist/assets/TimeframeSwitcherWithToggle-Bey7Ur6y-Bg7nqQR7.js +31 -0
- package/dist/assets/{TopExCard-C-CBza7t-B2dlgUWA.js → TopExCard-DusKBxd3-DKuTfXVw.js} +6 -6
- package/dist/assets/{TopExDetailPage-Dx_w2Wmt-BSaZtkOl.js → TopExDetailPage-CGmklvDK-D7xmqV9n.js} +11 -11
- package/dist/assets/{TransactionActivityLogPage-CA6FGjPI-Bvx6b3rO.js → TransactionActivityLogPage-JYq6KI76-CCoo9rRF.js} +15 -15
- package/dist/assets/TransactionDetailPage-BXt0iZ7l-0erqz-tE.js +903 -0
- package/dist/assets/{TransactionList-CvRmT2Lq-uiGf6-1T.js → TransactionList-DP661oJz-C07CF0TZ.js} +15 -15
- package/dist/assets/{TransactionListBig-v8qd1Ec7-CZL_6qOx.js → TransactionListBig-WJlzcWYP-BBVrTLwH.js} +13 -13
- package/dist/assets/TransactionListPage-D0-fRME1-v5v-Rxz3.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-vpDqNBSu-DwxHqHH7.js → TransactionVendorDetailPage-jvafc4cV-COQwxNKZ.js} +15 -15
- package/dist/assets/{TransferDrawerPage-5FY_zDCE-RL43OMRV.js → TransferDrawerPage-Djud_Goy-BCREr1hn.js} +35 -35
- package/dist/assets/{TreasuryOverviewPage-DDjaj1jW-MudRl9Ir.js → TreasuryOverviewPage-BxuNNp2Z-Dh2mMp9a.js} +15 -15
- package/dist/assets/{TreasuryPromoPage-D3y0Te0d-BJCrkEbg.js → TreasuryPromoPage-CYRA-PZW-D99_4xCb.js} +131 -131
- package/dist/assets/{TreasuryStatementsPage-BF_EZUjg-CBJ_4lTF.js → TreasuryStatementsPage-BDD7oQaj-BJB4NR3A.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-C1nYfVbO-DOtH1p5T.js → TreasuryTaxLetterPage-BdEhgdSA-DpQnIbLk.js} +2 -2
- package/dist/assets/{TrendChart-DwYxYNR7-Dla5eEXz.js → TrendChart-CMXEv68i-8X5R0L8Y.js} +3 -3
- package/dist/assets/{TrendWithTransactions-BJnpKKqL-BMIP9Ili.js → TrendWithTransactions-zXEGbsVb-DbAtKUuU.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-CxlG2JUW-DK_2NQip.js → UncategorizedAccountsMappingPage-BPDK7owI-nmj499q4.js} +12 -12
- package/dist/assets/{UnitIntegrationPage-DaIJxSo2-By_efsLC.js → UnitIntegrationPage-D_F0oMUu-BY90ymwk.js} +7 -7
- package/dist/assets/{UploadAdditionalDocumentOverlay-Bw9ymrDY-B8pImXm2.js → UploadAdditionalDocumentOverlay-DFQFVIWx-BIsDVDCj.js} +1 -1
- package/dist/assets/Vendor2FAPopup-DsUXjTAV-DuANajHh.js +1 -0
- package/dist/assets/VendorACHDetailsPage-D_yVSMEu-BW4qL4rX.js +1 -0
- package/dist/assets/{VendorDetailPage-BGrtc6EE-2lYDcPtx.js → VendorDetailPage-v53y8sON-BZNauhkC.js} +12 -12
- package/dist/assets/VendorDomesticWireDetailsPage-zhf4AerL-zVc3mcS3.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-A5wcCVBF-DEuwpE09.js → VendorFiling1099EditablePage-Dor-pZOp-CKSTbCLy.js} +13 -13
- package/dist/assets/{VendorFirstReviewPage-Dr6MMvIq-BiMSPEyP.js → VendorFirstReviewPage-Cn7WNLEm-GPg5vXX_.js} +8 -8
- package/dist/assets/{VendorInternationalWireDetailsPage-BJUaxg9g-BdozSOZu.js → VendorInternationalWireDetailsPage-dNFkO-SJ-BvEPjWwu.js} +9 -9
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-B6Tuhksp-DJW8kABC.js +1 -0
- package/dist/assets/{VendorsAccountsSection-B9OpiDDc-BLn2e9ki.js → VendorsAccountsSection-RJt3aILM-3q5Ht3Hr.js} +2 -2
- package/dist/assets/{VerifyDevice-CViWQbOn-DN_Mltib.js → VerifyDevice-mDoeg6Dk-DaUHWhRY.js} +3 -3
- package/dist/assets/{VideoPlayer-D5QP-myQ-DqpDb8dp.js → VideoPlayer-BcrYqHHj-B50XdHck.js} +2 -2
- package/dist/assets/VideoPopup-DdpEDBAh-B6X5aY1O.js +31 -0
- package/dist/assets/{WarningsDrawerPage-D8X9a6pX-c4_CoZOt.js → WarningsDrawerPage-BcYmTO5U-DedTWrjK.js} +3 -3
- package/dist/assets/{ZeniAccountDetailPage-B2gRhBJz-BDbhTP1H.js → ZeniAccountDetailPage-DVD5D6lb-CpgnYk_i.js} +10 -10
- package/dist/assets/{ZeniAccountListViewPage-Dc4IWyQw-DeEQfI3n.js → ZeniAccountListViewPage-BwMBqn8d-CGHx4BTS.js} +9 -9
- package/dist/assets/ZeniAccountNavBarPieces-Cgnw6bfi-DfdKbw3x.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-B5rTE2aZ-BI6ZYCe5.js → ZeniAccountPromoPage-huShnIqL-D45AN6o9.js} +13 -13
- package/dist/assets/{ZeniAccountSetupPage-BlS6FEcT-Bn4_eDdL.js → ZeniAccountSetupPage-DN9UOt3e-DImQP2Ot.js} +3 -3
- package/dist/assets/{ZeniCopyright-DbOXr6hr-BOYpuZxO.js → ZeniCopyright-BgPtS8Cn-B89iVGfl.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DMdKnrKk-BR3bK0-4.js → ZeniTransferAmountSlider-BUw419PL-DswwFzaw.js} +11 -11
- package/dist/assets/{add-to-wallet-DgdBD8_G-BVt9HrwP.js → add-to-wallet-DgdBD8_G-BY1g6LWR.js} +1 -1
- package/dist/assets/{analytics-CKsekDx8.js → analytics-deCUYv6O.js} +1 -1
- package/dist/assets/{analyticsHelper-BLLOc8oW-D1EKdSrW.js → analyticsHelper-BuvUCPRb-ydDzfLDf.js} +1 -1
- package/dist/assets/analyticsHelper-CSgs7aGq.js +1 -0
- package/dist/assets/{arrow-south-east-round-PEovUgvH-Ca0jPnXv.js → arrow-south-east-round-PEovUgvH-l8vOaMtF.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-3qHM8fkS.js → auto-transfer-rule-mbafm5D3-CPaY5hQ_.js} +1 -1
- package/dist/assets/{chartTypes-zuOlWPZo-BnTBflyt.js → chartTypes-CmkcIJwp-5YWcoKB3.js} +1 -1
- package/dist/assets/{commonDimensions-aMGDpjmW-CljE-nCF.js → commonDimensions-4sQbZHS3-Cvcwq2mC.js} +1 -1
- package/dist/assets/commonTypes-xwvnsO_k-COIVAOvG.js +1 -0
- package/dist/assets/{constants-CZtCIAPW.js → constants-DKA52eYI.js} +1 -1
- package/dist/assets/{core-CYUkP-6E.js → core-BfdQ3W3i.js} +1 -1
- package/dist/assets/{dash.all.min-C_1XFM0x.js → dash.all.min-BatiK8tF.js} +1 -1
- package/dist/assets/{detailCommon-CdZh0YNF-DQuYzVnQ.js → detailCommon-B2fQpJgd-3GpCIfF1.js} +2 -2
- package/dist/assets/downloadPdf-OR-QEskO-ZhLzJ4Dx.js +1 -0
- package/dist/assets/{empty-DWPOY_nU.js → empty-3tUyFVJa.js} +1 -1
- package/dist/assets/{empty-BHN49G0e.js → empty-Ckopdbqj.js} +1 -1
- package/dist/assets/epic-bwVpC0z3.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-D0aCMBfO.js → gift-box-Cmt9OgIZ-DtyIzDYF.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-Cxmy04YV.js → graphic-no-data-l-DU4J8fDt-D56cz6Rd.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-lxEAGTgu.js → graphic-no-data-net-burn-l-CzmycA0m-C7ptzcGQ.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-CgOvQUXs.js → handshake-BPg58FML-Cb_Iq8zA.js} +1 -1
- package/dist/assets/helper-nrbLfb1z-BHxhawIw.js +223 -0
- package/dist/assets/{index-BADBloVB.js → index-CKjPgmYK.js} +1 -1
- package/dist/assets/{index-DgMq0jo3.js → index-Cok412UJ.js} +1 -1
- package/dist/assets/{index-D8BWybD9.js → index-Cvbl-MGq.js} +1 -1
- package/dist/assets/{index-BVO-Co9U.js → index-D3yjGJrn.js} +1 -1
- package/dist/assets/{index-BNEupvLv.js → index-DTsIi-EB.js} +1 -1
- package/dist/assets/{index-BuFkai6k.js → index-Q_V1WjIh.js} +1 -1
- package/dist/assets/{index-C35YWwTr.js → index-ruFrDgOE.js} +4077 -4083
- package/dist/assets/{lexical-Du5Y0rMT.js → lexical-C3B1wTQQ.js} +1 -1
- package/dist/assets/{liveblocks-C4z_hTA8.js → liveblocks-BojMpfZr.js} +1 -1
- package/dist/assets/{lottie-BbrvkSIN.js → lottie-C8ug7xYl.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-saf-eikX-DyjzOgm4.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-rtn-dPyU-9z1yCJ2f.js → mapSectionWithAcOnlyToTreeNode-DViahlE6-gYrXGrsn.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-8mFwNdh5-BzBuloNC.js → mapSpacerToTreeNode-C1XdqapG-u58Wq9QD.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BgzCaFB8-BP6YYsRr.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cxi3Mx1s-CtYmEitE.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DKSP4IMH-DEutvLdq.js +1 -0
- package/dist/assets/{mui-COCSnD7r.js → mui-CcAbIvqz.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-Cy4bjbHR.js → page-detail-CWX5S47F-Dtc_Xfll.js} +1 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-D8VpgGue.js +3 -0
- package/dist/assets/{radio-default-CiSgisfh-DR-xVZCp.js → radio-default-CiSgisfh-BuCOxVnn.js} +1 -1
- package/dist/assets/{react-3D9hVgNN.js → react-1GNwkcEv.js} +1 -1
- package/dist/assets/{react-Bo-_Jaiy.js → react-BbDJbYi6.js} +2 -2
- package/dist/assets/{react-COK5YyeH.js → react-BiIWcEaQ.js} +1 -1
- package/dist/assets/{react-BM_xYdZs.js → react-BqRcBBdN.js} +1 -1
- package/dist/assets/{react-CYyV3mkT.js → react-CXUEpDgH.js} +1 -1
- package/dist/assets/{react-BxeBeXwp.js → react-CfJa26Ws.js} +1 -1
- package/dist/assets/{react-CbNHV0-p.js → react-CjZneeZu.js} +2 -2
- package/dist/assets/{react-BXbrFB-A.js → react-DAmUDf_n.js} +1 -1
- package/dist/assets/{recharts-CvCWgW5g.js → recharts-CH4lD6YZ.js} +1 -1
- package/dist/assets/{sentry-DI6LfXHO.js → sentry-C9gjpXHu.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-AEITtSgp.js → shield-DOlUxcFf-BYQt2gyQ.js} +1 -1
- package/dist/assets/toCOABalancesWithID-C0EdFFOl-C4uMvfMM.js +1 -0
- package/dist/assets/toChartData-CWuGepY4-zwBpsjjj.js +1 -0
- package/dist/assets/{uploadAttachment-4MEQNz0J-tDKwiabS.js → uploadAttachment-Drk1oIZw-EvqVPGDV.js} +18 -18
- package/dist/assets/{uploadReceipts-Dge0cNF1-DQGJiLnC.js → uploadReceipts-Dge0cNF1-B8hOzDLM.js} +1 -1
- package/dist/assets/{url-D4jcu-u-.js → url-EuhNbk_E.js} +1 -1
- package/dist/assets/{url-DhkmpMFy.js → url-GoO98ssj.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-2RiKqKaZ.js → useLongPress-GCK2COYQ-Dpmkib6M.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BeW2Nl8c.js → usp-line-BBd1wKwW-DebSG3AQ.js} +1 -1
- package/dist/assets/{utils-Ded-pC6v.js → utils-1UbrxmNv.js} +1 -1
- package/dist/assets/{zeni-epic-state-5EJXUnYj.js → zeni-epic-state-yTwK6eAd.js} +18 -18
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-Dv1rJn72-DVJWbGlD.js +0 -18
- package/dist/assets/AccountLockedInfoModal-CxoC-scs-CF_UnBUk.js +0 -59
- package/dist/assets/AccountRow-CxEUX108-W0bbtjOv.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-KZ-LVrwR-DJQqB5qE.js +0 -6
- package/dist/assets/AppBasePage-Ch3JOqQA-CXYMS7ZT.js +0 -71
- package/dist/assets/BillingSettingsPage-BfvQsRnJ-CCtq_ri2.js +0 -44
- package/dist/assets/BoxItem-COPJh7Lh-CSN2KAPh.js +0 -53
- package/dist/assets/BusinessVerificationPage-CdRHA3h2-C-sJG8PA.js +0 -138
- package/dist/assets/CompanyOfficerDetailsSection-C_S5WXms-CtsHUH_5.js +0 -260
- package/dist/assets/CompanyPassportPage-DDjpq5T1-DoegP3eR.js +0 -574
- package/dist/assets/ConfettiBurst-DNR3qv8X-CmdjU1Ur.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-DgiK94cf-D0a29Jek.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-DCt6wtfH-CqhhNyhY.js +0 -66
- package/dist/assets/CustomerOnboardingPage-_HuMZOrd-GAzrlSlg.js +0 -107
- package/dist/assets/DashboardSidebarBackgroundAnimation-eTAs_vdL-alYAFL7k.js +0 -12
- package/dist/assets/EditPeoplePage-4fN2aCBr-Bt8sdHwj.js +0 -55
- package/dist/assets/EntityDetailPage-C8dRi0hQ-BbiITOwp.js +0 -18
- package/dist/assets/ExpenseAutomationPage-CWEo8JL8-DmWZOvpu.js +0 -1700
- package/dist/assets/InsightsSection-0ekovQH4-DPpDPPGo.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-ofzwcymr-Bs-u_-3q.js +0 -292
- package/dist/assets/InvitePeoplePage-CgSGdi3i-B9ZFfulx.js +0 -12
- package/dist/assets/InvoiceUploadSection-BEp8eQB4-B7Nsi5eQ.js +0 -140
- package/dist/assets/LabeledAddressValueField-Ckm80g0_-CEd6Nc6_.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-Dhta-oad-BpYnDZCq.js +0 -16
- package/dist/assets/LabeledDocumentField-z2O1tykl-Dg-FIrdR.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-BZu90SFF-DtDtQPQG.js +0 -59
- package/dist/assets/MagicLinkACHDetailsPage-CdmfROQK-GID42KCh.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BqqCZBUT-DC6jcaE8.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-QDfBddvz-CMyRxDB4.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-ABpq3GEM-slUOSDN7.js +0 -31
- package/dist/assets/MyProfileSettingsPage-C-GlfSxD-wSHM0WEj.js +0 -85
- package/dist/assets/NoDataTable-Bjbt7lt9-B9aBUbDZ.js +0 -8
- package/dist/assets/OverlayContainerPage-D4QU0p4o-DzCeSSZn.js +0 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-DIP_uznB-0_0FBx0n.js +0 -107
- package/dist/assets/PeoplePage-BgP7kTw9-BidMjSgk.js +0 -675
- package/dist/assets/ReimbursementApprovalRuleDetailPage-DvhdOKpF-CVDUos0e.js +0 -32
- package/dist/assets/ReimbursementPromoPage-CYS1ZeFL-Be4rlaQk.js +0 -84
- package/dist/assets/RoleWithToolTip-BCeMfqCC-D3Eu5pj-.js +0 -22
- package/dist/assets/SignIn-DT4-gKMD-hxpG2p4e.js +0 -491
- package/dist/assets/SignInScreen-uFtgaVmh.js +0 -1
- package/dist/assets/SummaryCard-CGteKBHk-CTgTlOo4.js +0 -1
- package/dist/assets/TaskManagementPage-CIQeYwEY-BKaDySBt.js +0 -508
- package/dist/assets/TimeframeSwitcherWithToggle-3yKIUhvE-BxKQOwil.js +0 -31
- package/dist/assets/TransactionDetailPage-CpNGUBqP-CTSF212d.js +0 -903
- package/dist/assets/TransactionListPage-C23zWqxy-CWc-PeKt.js +0 -35
- package/dist/assets/Vendor2FAPopup-DxlOTzWL-BWhkqhJk.js +0 -1
- package/dist/assets/VendorACHDetailsPage-CQ6OiO4V-CufCWXHq.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-D5yME16K-Fpv47zuj.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-v2icyO6w-DaCP8LXI.js +0 -1
- package/dist/assets/VideoPopup-_4nnxGFK-B_QD3yOZ.js +0 -31
- package/dist/assets/ZeniAccountNavBarPieces-CYTd-7fg-B3S4txQ3.js +0 -14
- package/dist/assets/analyticsHelper-B0UvbX3U.js +0 -1
- package/dist/assets/downloadPdf-BnXVGESU-oCN28WmO.js +0 -1
- package/dist/assets/epic-BWtiVHQo.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-B0oj9Ot5-BjUfV0aU.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BkHI2m3e-C1C8P1oE.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-bQ2VDSub-DHveNwU-.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CcMctgAq-C0aIqTF5.js +0 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-o8f-Xu58.js +0 -4
- package/dist/assets/toCOABalancesWithID-DUpgxtrc-5O8FB3l2.js +0 -1
- package/dist/assets/toChartData-BNPIbcXQ-Bq5ZEv5t.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as h,P as n}from"./sentry-
|
|
1
|
+
import{a as h,P as n}from"./sentry-C9gjpXHu.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="1e21bcae-92bc-4f72-b3b7-b9f34ad2806c",t._sentryDebugIdIdentifier="sentry-dbid-1e21bcae-92bc-4f72-b3b7-b9f34ad2806c")}catch{}})();const c="64px",u={},k=({src:t,light:a,oEmbedUrl:r,onClickPreview:s,playIcon:m,previewTabIndex:I,previewAriaLabel:f})=>{const[b,o]=h.useState(null);h.useEffect(()=>{!t||!a||!r||_({src:t,light:a,oEmbedUrl:r})},[t,a,r]);const _=async({src:e,light:i,oEmbedUrl:E})=>{if(n.isValidElement(i))return;if(typeof i=="string"){o(i);return}if(u[e]){o(u[e]);return}o(null);const y=await(await fetch(E.replace("{url}",e))).json();if(y.thumbnail_url){const g=y.thumbnail_url.replace("height=100","height=480").replace("-d_295x166","-d_640");o(g),u[e]=g}},w=e=>{(e.key==="Enter"||e.key===" ")&&s?.(e)},v=e=>{s?.(e)},l=n.isValidElement(a),p={display:"flex",alignItems:"center",justifyContent:"center"},d={preview:{width:"100%",height:"100%",backgroundImage:b&&!l?`url(${b})`:void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer",...p},shadow:{background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:c,width:c,height:c,position:l?"absolute":void 0,...p},playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},x=n.createElement("div",{style:d.shadow,className:"react-player__shadow"},n.createElement("div",{style:d.playIcon,className:"react-player__play-icon"}));return n.createElement("div",{style:d.preview,className:"react-player__preview",tabIndex:I,onClick:v,onKeyDown:w,...f?{"aria-label":f}:{}},l?a:null,m||x)};var P=k;export{P as default};
|
package/dist/assets/{ProductsCarousel-CJlGSrBH-Cq2qkRd_.js → ProductsCarousel-CpPUyzF7-CbseGDls.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F as I,V as t,a8 as B,o as c,c3 as N,b0 as U,u as V,d9 as
|
|
1
|
+
import{F as I,V as t,a8 as B,o as c,c3 as N,b0 as U,u as V,d9 as G,ar as H,am as T,da as J,p as v}from"./index-ruFrDgOE.js";import{a as y}from"./sentry-C9gjpXHu.js";import{n as i}from"./mui-CcAbIvqz.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]="7cb2fb0e-7fd1-4e9f-9559-c7e61eec8ef2",e._sentryDebugIdIdentifier="sentry-dbid-7cb2fb0e-7fd1-4e9f-9559-c7e61eec8ef2")}catch{}})();const u=I.getLocalizedStrings(),w={large:{labelComp:G,title:H,subtitle:T,seeMoreLink:T}},Y={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},r=Y.large,q=i.div`
|
|
2
2
|
width: ${e=>e.scale*r.width}px;
|
|
3
3
|
height: ${e=>e.scale*r.height}px;
|
|
4
4
|
overflow: hidden;
|
|
@@ -58,7 +58,7 @@ import{F as I,V as t,a8 as B,o as c,c3 as N,b0 as U,u as V,d9 as q,aq as G,al as
|
|
|
58
58
|
align-items: center;
|
|
59
59
|
height: ${e=>e.scale*r.svgContainerHeight}px;
|
|
60
60
|
margin-bottom: ${e=>e.scale*r.imageGap}px;
|
|
61
|
-
`,se=i(
|
|
61
|
+
`,se=i(J)`
|
|
62
62
|
width: ${e=>e.scale*r.svgSize}px;
|
|
63
63
|
min-width: ${e=>e.scale*r.svgSize}px;
|
|
64
64
|
height: ${e=>e.scale*r.svgSize}px;
|
|
@@ -76,7 +76,7 @@ import{F as I,V as t,a8 as B,o as c,c3 as N,b0 as U,u as V,d9 as q,aq as G,al as
|
|
|
76
76
|
height: 100%;
|
|
77
77
|
object-fit: fill;
|
|
78
78
|
object-position: center;
|
|
79
|
-
`,le=({scale:e=1,variant:o="large",label:n,title:a,subtitle:h,seeMoreLink:l,image:d})=>{const p=t.jsx(ee,{scale:e,variant:o,padding:r.padding*e,children:t.jsxs(ie,{children:[t.jsxs(oe,{children:[n!=null&&n.trim()!==u.common.strings.empty?t.jsx(K,{scale:e,children:n}):null,a!=null&&a.trim()!==u.common.strings.empty?t.jsx(Q,{scale:e,children:a}):null,h!=null&&h.trim()!==u.common.strings.empty?t.jsx(Z,{scale:e,children:h}):null,l!=null&&l.trim()!==u.common.strings.empty?t.jsxs(re,{scale:e,children:[t.jsx(W,{children:u.customerOnboardingPage.productSuite.productCard.seeMore}),t.jsx(se,{scale:e})]}):null]}),d!=null&&d.trim()!==u.common.strings.empty?t.jsx(ae,{children:t.jsx(ne,{src:d,loading:"lazy"})}):null]})});return t.jsx(
|
|
79
|
+
`,le=({scale:e=1,variant:o="large",label:n,title:a,subtitle:h,seeMoreLink:l,image:d})=>{const p=t.jsx(ee,{scale:e,variant:o,padding:r.padding*e,children:t.jsxs(ie,{children:[t.jsxs(oe,{children:[n!=null&&n.trim()!==u.common.strings.empty?t.jsx(K,{scale:e,children:n}):null,a!=null&&a.trim()!==u.common.strings.empty?t.jsx(Q,{scale:e,children:a}):null,h!=null&&h.trim()!==u.common.strings.empty?t.jsx(Z,{scale:e,children:h}):null,l!=null&&l.trim()!==u.common.strings.empty?t.jsxs(re,{scale:e,children:[t.jsx(W,{children:u.customerOnboardingPage.productSuite.productCard.seeMore}),t.jsx(se,{scale:e})]}):null]}),d!=null&&d.trim()!==u.common.strings.empty?t.jsx(ae,{children:t.jsx(ne,{src:d,loading:"lazy"})}):null]})});return t.jsx(q,{scale:e,variant:o,children:o==="large"&&l!=null&&l.trim()!==u.common.strings.empty?t.jsx(te,{href:l,target:"_blank",rel:"noopener noreferrer",children:p}):p})},b=2,X=5,ce=496,de=V[5],j=[{positionX:-480,scale:.67},{positionX:-226,scale:.83},{positionX:0,scale:1},{positionX:226,scale:.83},{positionX:480,scale:.67}],pe=j[0].scale,ge=Math.abs(j[0].positionX),me=i.div`
|
|
80
80
|
width: 100%;
|
|
81
81
|
height: 100%;
|
|
82
82
|
position: relative;
|
|
@@ -124,7 +124,7 @@ import{F as I,V as t,a8 as B,o as c,c3 as N,b0 as U,u as V,d9 as q,aq as G,al as
|
|
|
124
124
|
justify-content: center;
|
|
125
125
|
overflow: visible;
|
|
126
126
|
perspective: 2000px;
|
|
127
|
-
`,
|
|
127
|
+
`,fe=i.div`
|
|
128
128
|
position: absolute;
|
|
129
129
|
top: 50%;
|
|
130
130
|
left: 50%;
|
|
@@ -139,4 +139,4 @@ import{F as I,V as t,a8 as B,o as c,c3 as N,b0 as U,u as V,d9 as q,aq as G,al as
|
|
|
139
139
|
transform: translate(-50%, -50%) translateX(0px) translateZ(10px) scale(${o})
|
|
140
140
|
}
|
|
141
141
|
`}
|
|
142
|
-
`,
|
|
142
|
+
`,xe=({cards:e,showUpdatePaymentDetailButton:o,stopCarousel:n,scale:a=1})=>{const[h,l]=y.useState(2),[d,p]=y.useState(!1),[$,C]=y.useState(!1),f=e.length,L=B().analytics,M=ce*pe*a/2,S=ge*a+M+de/2,x=y.useCallback(s=>{$||(C(!0),l(g=>(g+s+f)%f),setTimeout(()=>C(!1),1e3))},[$,f]);y.useEffect(()=>{if(d||n||$)return;const s=setInterval(()=>{x(1)},3e3);return()=>clearInterval(s)},[d,n,$,x]);const _=s=>(h+s-b+f)%f,O=s=>{const g=Array.from({length:X},(m,k)=>_(k)).indexOf(s)-b;g!==0&&x(g),o?L.trackOnboardingLandingPageCardClick(e[s].cardTitle):L.trackOnboardingInterimCard(e[s].cardTitle)};return t.jsxs(me,{children:[t.jsx(D,{arrowOffset:S,position:"left",onClick:()=>x(-1),children:t.jsx(ue,{className:"btnsvg"})}),t.jsx(be,{children:e.map((s,g)=>{const m=Array.from({length:X},(ve,A)=>_(A)).indexOf(g);if(m===-1)return null;const{positionX:k,scale:E}=j[m],z=m===b,P=E*a,F=k*a,R=1.02*a;return t.jsx(fe,{isForeFront:z,positionX:F,scale:P,hoverScale:R,onClick:()=>O(g),onMouseEnter:()=>z&&p(!0),onMouseLeave:()=>z&&p(!1),style:{zIndex:m===b?5:5-Math.abs(m-b)},children:t.jsx(le,{label:s.cardTitle,title:s.sectionTitle,subtitle:s.sectionSubTitle,seeMoreLink:s.redirectLink,image:s.imageLink,variant:m===b?"large":m===b-1?"medium":"small"})},g)})}),t.jsx(D,{arrowOffset:S,position:"right",onClick:()=>x(1),children:t.jsx(he,{className:"btnsvg"})})]})},ye=["https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-reimbursements.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-bill-payments.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-ai-bookkeeping.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-business-checking-accounts.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-business-credit-cards.png"],$e=["https://www.zeni.ai/product/employee-reimbursements?utm_source=onboarding_interim","https://www.zeni.ai/product/bill-pay?utm_source=onboarding_interim","https://www.zeni.ai/product/ai-bookkeeping?utm_source=onboarding_interim","https://www.zeni.ai/product/business-checking-accounts?utm_source=onboarding_interim","https://www.zeni.ai/product/business-credit-card?utm_source=onboarding_interim"],je=({scale:e=1,showUpdatePaymentDetailButton:o=!1,stopCarousel:n=!1})=>{const{customerOnboardingPage:a}=I.getLocalizedStrings(),{productSuite:h}=a,l=h.productCard.cards.map((d,p)=>({...d,imageLink:ye[p],redirectLink:$e[p]}));return t.jsx(xe,{cards:l,scale:e,showUpdatePaymentDetailButton:o,stopCarousel:n})};export{je as T};
|
package/dist/assets/{PromoBaseCards-fx9bhHkF-Cr6A5ukU.js → PromoBaseCards-Dl_042jf-Bxd3YCV0.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as
|
|
1
|
+
import{J as m,V as r,de as b,df as v,dg as y,by as z,o as e,p as d,y as a,H as c,u as p}from"./index-ruFrDgOE.js";import{c as i,n as g,k as u}from"./mui-CcAbIvqz.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new o.Error().stack;l&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[l]="3b9af52e-9f0b-4ca7-9429-ef0d97e4af2f",o._sentryDebugIdIdentifier="sentry-dbid-3b9af52e-9f0b-4ca7-9429-ef0d97e4af2f")}catch{}})();const t={plasticCardMarginLeft:new a(p[6],120),plasticCardMarginTop:new a(12,-9),businessTextRight:new a(p[2],13),businessTextBottom:new a(p[8],81),chargeCardWidth:new a(240,384),chargeCardHeight:new a(153,243),styledLogoWidth:new a(47,76),styledLogoHeight:new a(46,74),styledFullLogoTop:new a(12,28),styledFullLogoRight:new a(p[2],13),styledFullLogoHeight:new a(20,34),styledFullLogoWidth:new a(88,142),chipLogoWidth:new a(31,50),chipLogoHeight:new a(p[4],39),visaLogoWidth:new a(52,84),visaLogoHeight:new a(17,27),visaLogoRight:new a(p[2],13),visaLogoBottom:new a(p[2],13)},f={businessText:new c("extraSmallRegular","largeRegular"),promoBusinessText:new c("tinyLight","tinyLight")},R=({cardText:o,shouldAnimate:l,showChip:w,forDashboard:s,forListPage:h,cardPromoType:$,style:x})=>{const n=m();return r.jsxs(B,{cardPromoType:$,windowSize:n,shouldAnimate:l,forListPage:h,forDashboard:s,style:x,children:[w&&r.jsx(P,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(j,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(z,{})}),r.jsx(L,{windowSize:n,forDashboard:s,forListPage:h,children:o}),r.jsx(S,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(y,{})})]})},A=({cardText:o,shouldAnimate:l,showChip:w,forDashboard:s,forListPage:h,cardPromoType:$,style:x})=>{const n=m();return r.jsxs(H,{cardPromoType:$,windowSize:n,shouldAnimate:l,forListPage:h,forDashboard:s,style:x,children:[w&&r.jsx(P,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(k,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(v,{})}),r.jsx(L,{windowSize:n,forDashboard:s,forListPage:h,children:o}),r.jsx(S,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(y,{})})]})},C=u`
|
|
2
2
|
0%{
|
|
3
3
|
transform: rotate(12.4deg);
|
|
4
4
|
translate: ${e.sp0} ${e.sp0};
|
|
@@ -23,7 +23,7 @@ import{J as b,V as r,de as m,df as v,dg as y,by as z,o as e,p as n,y as a,N as c
|
|
|
23
23
|
transform: rotate(12.4deg);
|
|
24
24
|
translate: ${e.sp0} ${e.sp0};
|
|
25
25
|
}
|
|
26
|
-
`,D=
|
|
26
|
+
`,D=u`
|
|
27
27
|
0%{
|
|
28
28
|
transform: rotate(12.4deg);
|
|
29
29
|
translate: ${e.sp0} ${e.sp0};
|
|
@@ -48,36 +48,36 @@ import{J as b,V as r,de as m,df as v,dg as y,by as z,o as e,p as n,y as a,N as c
|
|
|
48
48
|
transform: rotate(12.4deg);
|
|
49
49
|
translate: ${e.sp0} ${e.sp0};
|
|
50
50
|
}
|
|
51
|
-
`,T=
|
|
51
|
+
`,T=u`
|
|
52
52
|
0%{
|
|
53
53
|
transform: rotate(0);
|
|
54
54
|
transform-origin: top left;
|
|
55
|
-
box-shadow: 2px ${e.sp1} ${e.sp3} ${e.sp0} ${
|
|
55
|
+
box-shadow: 2px ${e.sp1} ${e.sp3} ${e.sp0} ${d.chargeCardBoxShadow2};
|
|
56
56
|
}
|
|
57
57
|
14.25%{
|
|
58
58
|
transform: rotate(0);
|
|
59
59
|
transform-origin: top left;
|
|
60
|
-
box-shadow: 2px ${e.sp1} ${e.sp3} ${e.sp0} ${
|
|
60
|
+
box-shadow: 2px ${e.sp1} ${e.sp3} ${e.sp0} ${d.chargeCardBoxShadow2};
|
|
61
61
|
}
|
|
62
62
|
35.75%{
|
|
63
63
|
transform: rotate(-5.31deg);
|
|
64
64
|
transform-origin: top left;
|
|
65
|
-
box-shadow: 12px 12px ${e.sp5} ${e.sp0} ${
|
|
65
|
+
box-shadow: 12px 12px ${e.sp5} ${e.sp0} ${d.chargeCardBoxShadow2};
|
|
66
66
|
}
|
|
67
67
|
64.25%{
|
|
68
68
|
transform: rotate(-5.31deg);
|
|
69
69
|
transform-origin: top left;
|
|
70
|
-
box-shadow: 12px 12px ${e.sp5} ${e.sp0} ${
|
|
70
|
+
box-shadow: 12px 12px ${e.sp5} ${e.sp0} ${d.chargeCardBoxShadow2};
|
|
71
71
|
}
|
|
72
72
|
85.75%{
|
|
73
73
|
transform: rotate(0);
|
|
74
74
|
transform-origin: top left;
|
|
75
|
-
box-shadow: 2px ${e.sp1} ${e.sp3} ${e.sp0} ${
|
|
75
|
+
box-shadow: 2px ${e.sp1} ${e.sp3} ${e.sp0} ${d.chargeCardBoxShadow2};
|
|
76
76
|
}
|
|
77
77
|
100%{
|
|
78
78
|
transform: rotate(0);
|
|
79
79
|
transform-origin: top left;
|
|
80
|
-
box-shadow: 2px ${e.sp1} ${e.sp3} ${e.sp0} ${
|
|
80
|
+
box-shadow: 2px ${e.sp1} ${e.sp3} ${e.sp0} ${d.chargeCardBoxShadow2};
|
|
81
81
|
}
|
|
82
82
|
`,j=g.div`
|
|
83
83
|
color: ${o=>o.theme.colors.brandColorJade};
|
|
@@ -92,22 +92,22 @@ import{J as b,V as r,de as m,df as v,dg as y,by as z,o as e,p as n,y as a,N as c
|
|
|
92
92
|
height: 28px;
|
|
93
93
|
`:null}
|
|
94
94
|
`,L=g.div`
|
|
95
|
-
color: ${
|
|
95
|
+
color: ${d.neutralGrey5Light};
|
|
96
96
|
text-align: right;
|
|
97
|
-
${o=>`${
|
|
97
|
+
${o=>`${f.businessText.style(o.windowSize)}`};
|
|
98
98
|
text-transform: capitalize;
|
|
99
99
|
position: absolute;
|
|
100
100
|
right: ${o=>t.businessTextRight.valuePx(o.windowSize)};
|
|
101
101
|
bottom: ${o=>t.businessTextBottom.valuePx(o.windowSize)};
|
|
102
102
|
${o=>o.forDashboard?i`
|
|
103
103
|
top: 61px;
|
|
104
|
-
${
|
|
104
|
+
${f.promoBusinessText.style(o.windowSize)};
|
|
105
105
|
right: 6px;
|
|
106
106
|
`:null}
|
|
107
107
|
${o=>o.forListPage?i`
|
|
108
108
|
top: 53px;
|
|
109
109
|
left: 95px;
|
|
110
|
-
${
|
|
110
|
+
${f.promoBusinessText.style(o.windowSize)};
|
|
111
111
|
`:null}
|
|
112
112
|
`,P=g.div`
|
|
113
113
|
position: absolute;
|
|
@@ -142,7 +142,7 @@ import{J as b,V as r,de as m,df as v,dg as y,by as z,o as e,p as n,y as a,N as c
|
|
|
142
142
|
top: ${o=>t.styledFullLogoTop.valuePx(o.windowSize)};
|
|
143
143
|
height: ${o=>t.styledFullLogoHeight.valuePx(o.windowSize)};
|
|
144
144
|
width: ${o=>t.styledFullLogoWidth.valuePx(o.windowSize)};
|
|
145
|
-
color: ${
|
|
145
|
+
color: ${d.neutralGrey5Light};
|
|
146
146
|
${o=>o.forDashboard?i`
|
|
147
147
|
width: 70px;
|
|
148
148
|
height: ${e.sp3};
|
|
@@ -165,7 +165,7 @@ import{J as b,V as r,de as m,df as v,dg as y,by as z,o as e,p as n,y as a,N as c
|
|
|
165
165
|
background-repeat: no-repeat;
|
|
166
166
|
background-image: url(https://storage.googleapis.com/zeni-apis.appspot.com/images/MetalCardPattern.svg);
|
|
167
167
|
transition-timing-function: ease-in-out;
|
|
168
|
-
border: 1px solid ${
|
|
168
|
+
border: 1px solid ${d.neutralGrey5Light};
|
|
169
169
|
background-position: center;
|
|
170
170
|
background-size: cover;
|
|
171
171
|
box-shadow: ${o=>` ${e.sp0} ${e.sp0} ${e.sp6} ${e.sp0} ${o.theme.colors.dropShadowNormal}`};
|
|
@@ -183,7 +183,7 @@ import{J as b,V as r,de as m,df as v,dg as y,by as z,o as e,p as n,y as a,N as c
|
|
|
183
183
|
border-radius: 3px;
|
|
184
184
|
border-width: 0.1px;
|
|
185
185
|
`:null}
|
|
186
|
-
`,
|
|
186
|
+
`,H=g.div`
|
|
187
187
|
width: ${o=>t.chargeCardWidth.valuePx(o.windowSize)};
|
|
188
188
|
height: ${o=>t.chargeCardHeight.valuePx(o.windowSize)};
|
|
189
189
|
background: ${o=>o.cardPromoType==="debit"?o.theme.colors.brandColorJadeDark:o.theme.colors.brandColorJade};
|
|
@@ -195,7 +195,7 @@ import{J as b,V as r,de as m,df as v,dg as y,by as z,o as e,p as n,y as a,N as c
|
|
|
195
195
|
background-position-y: bottom;
|
|
196
196
|
box-shadow: ${o=>` ${e.sp0} ${e.sp0} ${e.sp6} ${e.sp0} ${o.theme.colors.dropShadowNormal}`};
|
|
197
197
|
transition-timing-function: ease-in-out;
|
|
198
|
-
border: 1px solid ${
|
|
198
|
+
border: 1px solid ${d.neutralGrey5Light};
|
|
199
199
|
background-image: url(https://storage.googleapis.com/zeni-apis.appspot.com/images/PhysicalCardFrontBGPattern.svg);
|
|
200
200
|
background-size: cover;
|
|
201
201
|
${o=>{if(o.shouldAnimate){const l=o.windowSize==="small"?C:D;return i`
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import{J as
|
|
1
|
+
import{J as y,F as r,V as n,bT as b,i as l,y as c,o as i,ar as w,am as $,ag as j,bw as P,eS as v,u as t}from"./index-ruFrDgOE.js";import{n as o}from"./mui-CcAbIvqz.js";import"./sentry-C9gjpXHu.js";import"./liveblocks-BojMpfZr.js";import"./core-BfdQ3W3i.js";import"./recharts-CH4lD6YZ.js";import"./zeni-epic-state-yTwK6eAd.js";import"./lottie-C8ug7xYl.js";import"./analytics-deCUYv6O.js";import"./lexical-C3B1wTQQ.js";import"./utils-1UbrxmNv.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="cc135f4e-b390-44cf-8938-4104f0697408",e._sentryDebugIdIdentifier="sentry-dbid-cc135f4e-b390-44cf-8938-4104f0697408")}catch{}})();const s={containerPaddingTop:new c(t[5],t[7]),containerPaddingBottom:new c(t[5],t[5]),containerPaddingLeftRight:new c(t[6],t[11])},S=o.div`
|
|
2
2
|
border-radius: inherit;
|
|
3
3
|
max-width: 520px;
|
|
4
4
|
text-align: center;
|
|
5
5
|
background: ${e=>e.theme.colors.background};
|
|
6
|
-
`,
|
|
6
|
+
`,_=o.div`
|
|
7
7
|
padding-top: ${e=>s.containerPaddingTop.valuePx(e.windowSize)};
|
|
8
8
|
padding-bottom: ${e=>s.containerPaddingBottom.valuePx(e.windowSize)};
|
|
9
9
|
padding-right: ${e=>s.containerPaddingLeftRight.valuePx(e.windowSize)};
|
|
@@ -48,4 +48,4 @@ import{J as f,F as r,V as n,bT as y,i as l,y as c,o as i,aq as w,al as $,af as j
|
|
|
48
48
|
`,R=o(v)`
|
|
49
49
|
height: ${i.sp4};
|
|
50
50
|
color: ${e=>e.theme.colors.primary};
|
|
51
|
-
`;function M({companyName:e="",isGoBackAllowed:a,isAdmin:d,saveConnectionState:p,isQBOPopupOpen:g=!0,handleOnConnectClick:m,handleGoBack:h}){const u=
|
|
51
|
+
`;function M({companyName:e="",isGoBackAllowed:a,isAdmin:d,saveConnectionState:p,isQBOPopupOpen:g=!0,handleOnConnectClick:m,handleGoBack:h}){const u=y(),x=r.getLocalizedStrings().dashboardAccountingPage.adminInfoText.replace(e?"_company-name_":"‘_company-name_’",e),f=r.getLocalizedStrings().dashboardAccountingPage.nonAdminInfoText.replace(e?"_company-name_":"‘_company-name_’",e);return n.jsx(b,{open:g,children:n.jsxs(S,{windowSize:u,children:[n.jsxs(_,{children:[n.jsx(z,{children:r.getLocalizedStrings().dashboardAccountingPage.title}),n.jsx(k,{children:d?x:f}),n.jsxs(B,{children:[n.jsx(C,{}),n.jsx(D,{}),n.jsx(R,{})]})]}),d||a?n.jsxs(n.Fragment,{children:[n.jsx(L,{}),n.jsxs(T,{children:[a===!0?n.jsx(A,{children:n.jsx(l,{variant:"secondary",label:r.getLocalizedStrings().dashboardAccountingPage.goBack,onClick:h})}):null,d?n.jsx(I,{children:n.jsx(l,{variant:"primary",label:r.getLocalizedStrings().dashboardAccountingPage.connect,onClick:m,loading:p==="In-Progress"})}):null]})]}):null]})})}export{M as default};
|
package/dist/assets/{QBOSetupSection-D-fnn99E-Z2bEiJ2B.js → QBOSetupSection-PANAGPOA-BMX2y2pY.js}
RENAMED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import{J as O,F as u,V as i,i as k,o,y as a,p as c,
|
|
1
|
+
import{J as O,F as u,V as i,i as k,o,y as a,p as c,fT as I,H as T,ag as D,bw as W,eS as B,fK as H,aW as h,aj as f,u as r}from"./index-ruFrDgOE.js";import{n}from"./mui-CcAbIvqz.js";import _ from"./QBOConnectionDialog-CuGzMWxh-CUYgOSB_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3cff1a0c-1937-4c1a-9b09-f3e4001cffd8",e._sentryDebugIdIdentifier="sentry-dbid-3cff1a0c-1937-4c1a-9b09-f3e4001cffd8")}catch{}})();const l={containerPadding:new a(r[3],r[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(r[3],r[0]),arrowIconWidthHeight:new a(r[3],r[4])},E={title:new T("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:t=!1,isValid:d,saveConnectionState:p,isQBOPopupOpen:$,companyName:y,updateQBOPopupState:w,handleOnConnectClick:b})=>{const s=O(),{qbo_connection:j}=u.getLocalizedStrings().customerOnboardingPage.sections,{title:S,sucessText:v,button:z,errorText:P,requiredText:C}=j;return i.jsxs(A,{windowSize:s,children:[i.jsxs(F,{windowSize:s,children:[s==="small"?i.jsx(L,{children:d?i.jsx(R,{}):i.jsx(U,{})}):null,i.jsx(G,{windowSize:s,children:S})]}),i.jsxs(N,{windowSize:s,children:[i.jsxs(Q,{windowSize:s,children:[i.jsxs(q,{children:[i.jsx(J,{}),i.jsx(M,{windowSize:s}),i.jsx(K,{})]}),d?s!=="small"?i.jsx(m,{}):null:i.jsx(k,{variant:"primary",size:s!=="small"?"standard":"xs-small",label:z.connect,style:{width:"fit-content"},onClick:()=>w(!0),loading:p==="In-Progress"})]}),d?i.jsxs(i.Fragment,{children:[i.jsx(V,{children:v}),s==="small"?i.jsx(m,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(g,{windowSize:s,children:P})}):null,t&&!d?i.jsx(x,{children:i.jsx(g,{windowSize:s,children:C})}):null]}),i.jsx(_,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:$,companyName:y,saveConnectionState:p,handleOnConnectClick:b,handleGoBack:()=>w(!1)})]})},m=()=>{const{tags:e}=u.getLocalizedStrings().customerOnboardingPage,{connected:t}=e;return i.jsx(H,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:t,textColor:{color:new h(c.successDark),borderColor:new h(c.successDark)}})},A=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
5
5
|
justify-content: center;
|
|
6
|
-
`,
|
|
6
|
+
`,F=n.div`
|
|
7
7
|
display: flex;
|
|
8
8
|
align-items: center;
|
|
9
9
|
padding-top: ${o.sp3};
|
|
10
10
|
padding-bottom: ${o.sp3};
|
|
11
11
|
width: ${e=>l.sectionWidth.valuePx(e.windowSize)};
|
|
12
|
-
`,
|
|
12
|
+
`,G=n.div`
|
|
13
13
|
display: flex;
|
|
14
14
|
align-items: center;
|
|
15
15
|
color: ${e=>e.theme.colors.primary};
|
|
16
|
-
${e=>`${
|
|
17
|
-
`,
|
|
16
|
+
${e=>`${E.title.style(e.windowSize)}`};
|
|
17
|
+
`,N=n.div`
|
|
18
18
|
display: flex;
|
|
19
19
|
flex-direction: column;
|
|
20
20
|
width: ${e=>l.sectionWidth.valuePx(e.windowSize)};
|
|
@@ -37,7 +37,7 @@ import{J as O,F as u,V as i,i as k,o,y as a,p as c,fQ as I,N as D,af as T,bw as
|
|
|
37
37
|
`,g=n(f)`
|
|
38
38
|
display: flex;
|
|
39
39
|
color: ${c.important};
|
|
40
|
-
`,
|
|
40
|
+
`,Q=n.div`
|
|
41
41
|
width: 100%;
|
|
42
42
|
display: flex;
|
|
43
43
|
justify-content: space-between;
|
|
@@ -53,7 +53,7 @@ import{J as O,F as u,V as i,i as k,o,y as a,p as c,fQ as I,N as D,af as T,bw as
|
|
|
53
53
|
gap: ${o.sp4};
|
|
54
54
|
justify-content: left;
|
|
55
55
|
color: ${e=>e.theme.colors.primary};
|
|
56
|
-
`,J=n(
|
|
56
|
+
`,J=n(D)`
|
|
57
57
|
height: 20px;
|
|
58
58
|
width: auto;
|
|
59
59
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -62,12 +62,12 @@ import{J as O,F as u,V as i,i as k,o,y as a,p as c,fQ as I,N as D,af as T,bw as
|
|
|
62
62
|
height: ${e=>l.arrowIconWidthHeight.valuePx(e.windowSize)};
|
|
63
63
|
width: ${e=>l.arrowIconWidthHeight.valuePx(e.windowSize)};
|
|
64
64
|
color: ${e=>e.theme.colors.hero};
|
|
65
|
-
`,
|
|
65
|
+
`,K=n(B)`
|
|
66
66
|
height: ${o.sp4};
|
|
67
67
|
color: ${e=>e.theme.colors.primary};
|
|
68
|
-
`,
|
|
68
|
+
`,L=n.div`
|
|
69
69
|
margin-right: ${o.sp2};
|
|
70
|
-
`,
|
|
70
|
+
`,R=n(I)`
|
|
71
71
|
width: ${o.sp3};
|
|
72
72
|
height: ${o.sp3};
|
|
73
73
|
color: ${c.success};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import{y as W,u as L,d as M,J as G,F as U,a9 as H,aR as J,aL as X,cH as K,V as r,bD as Q,ad as Y,aS as Z,o as b,gb as ee}from"./index-ruFrDgOE.js";import{a as B}from"./sentry-C9gjpXHu.js";import{n as c}from"./mui-CcAbIvqz.js";import{b as te,f as ae,o as T,l as _}from"./FollowStepsSection-Din7sNsE-DZ-lAocX.js";import"./liveblocks-BojMpfZr.js";import"./core-BfdQ3W3i.js";import"./recharts-CH4lD6YZ.js";import"./zeni-epic-state-yTwK6eAd.js";import"./lottie-C8ug7xYl.js";import"./analytics-deCUYv6O.js";import"./lexical-C3B1wTQQ.js";import"./utils-1UbrxmNv.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="f3800bec-10b1-468f-a66a-a0db99300ce1",e._sentryDebugIdIdentifier="sentry-dbid-f3800bec-10b1-468f-a66a-a0db99300ce1")}catch{}})();const $="reimbursementApprovalRuleDetailPage",C="lowerBound",j="upperBound",I="steps",h="applyToExistingReimbursements",le={footerPadding:new W(L[2],L[3])};function Re({localData:e,approvalUpdateActionType:a,isLowerBoundDisabled:t=!1,isUpperBoundDisabled:o=!0,hideUpperBoundField:i=!1,onBackClick:s,onApprovalRuleDataUpdated:g,onResetClick:E,onSaveRuleClick:N,onSaveRuleSuccess:w}){const F=M(),A=G(),l=U.getLocalizedStrings().commonSetUp.approval,S=U.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=re(e,a==="approval_create"&&!t),y=H({mode:"all",reValidateMode:"onChange",defaultValues:x}),u=e.remiSetupApproverViewUpdateData?.updateStatus,R=J(u?.fetchState),{upperBound:D}=x,{allApprovalRules:d,allAccountingClasses:V,remiSetupApproverViewUpdateData:m}=e;let f=d.length>1?d.length-1:0,v=d.length>0?d[f].criteria[0].range.min.amount:0;if(m!=null&&m.type==="approval_update"&&m.data!=null){const{approvalRuleId:n}=m.data;f=d.findIndex(p=>p.approvalRuleId===n),v=f>0?d[f-1].criteria[0].range.min.amount:0}const q=y.handleSubmit(()=>{N()}),z=async(n,p)=>{g(p)};return B.useEffect(()=>{const n=y.watch((p,{name:P})=>{if(P!=null&&p!=null){const O=X(p);K(()=>z(P,O))}});return()=>{n.unsubscribe()}}),B.useEffect(()=>{R==="In-Progress"&&u?.fetchState==="Completed"&&w()},[R,u?.fetchState,w]),r.jsxs(ie,{children:[r.jsx(Q,{title:a==="approval_create"?l.newApproval:l.editApproval,backgroundColor:F.colors.grey4,style:{zIndex:4},onBackClick:()=>{s()},source:"ReimbursementApprovalRuleDetailPage"}),r.jsx(de,{children:r.jsxs(Y,{...y,children:[r.jsx(ue,{children:r.jsx("form",{id:k($),onSubmit:q,children:r.jsxs(pe,{children:[r.jsx(te,{label:{label:i?S.amountPerRemiGreaterLabel:S.amountPerRemiLabel},firstText:{type:"number",name:C,placeholder:"$0",options:{required:!0,max:D===1/0?Number.MAX_SAFE_INTEGER-1:D-1,min:v,validate:n=>t?!0:n!=null&&n>v},isDisabled:t,additionalInfoLabel:l.firstRuleLowerBoundInfoLabel,additionalErrorLabel:l.firstRuleErrorInfoLabel},secondText:{type:"number",name:j,placeholder:"Infinity",isDisabled:o,hideField:i,additionalInfoLabel:l.upperBoundInfoLabel}}),r.jsx(ce,{}),r.jsx(ae,{sectionId:I,label:{label:l.followStepsLabel},approversPlaceholder:l.approversPlaceholder,notifiersPlaceholder:l.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(n=>n.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:V,stepsInfo:x[I],userSelectPlaceholder:l.userSelectPlaceholder,approveNotifyPlaceholder:l.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})}),r.jsx(Z,{formId:k($),primaryBtn:{label:l.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:a==="approval_create"&&d.length===0?null:r.jsx(ee,{name:h,mode:"always_on",checkBoxes:[{value:h,label:l.applyToExistingReimbursements,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:l.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:E},containerStyle:{justifyContent:A==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(A)},separatorStyle:{marginRight:b.sp4}})]})})]})}const re=(e,a)=>{const{criteria:t,steps:o}=e.remiSetupApproverViewUpdateData?.data??{},i=e.allApprovalRules.length===0;return{[h]:i?[]:[h],[I]:oe(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),T(e.allAttributes),T(e.filteredAttributes),o??[])??[],[C]:a?void 0:t!=null?t.range.min.amount??0:0,[j]:t!=null?t.range.max==null?1/0:t.range.max.amount:1/0}},oe=(e,a,t,o,i)=>i&&i.length>0?i.map((s,g)=>({stepIndex:g,stepType:{selectedOption:s.action,allOptions:_},actors:{allUsers:a,selectedUsers:se(e,s.actors),allNonUsers:o,selectedNonUsers:ne(t,s.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:_},actors:{allUsers:a,selectedUsers:[],allNonUsers:o,selectedNonUsers:[]}}],se=(e,a)=>e.filter(t=>t.userId!=null&&a.findIndex(o=>o.userId===t.userId)>-1),ne=(e,a)=>e.filter(t=>a.findIndex(o=>o.subType===t.value)>-1),k=e=>`${e}_form`,De=e=>`${e}`,ie=c.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
height: 100%;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
width: 100%;
|
|
6
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
7
|
+
`,de=c.div`
|
|
8
|
+
display: flex;
|
|
9
|
+
flex: 1;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
min-height: 0;
|
|
12
|
+
`,pe=c.div`
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
16
|
+
box-shadow: ${e=>`${b.sp0} 2px ${b.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
17
|
+
border-radius: ${b.sp2};
|
|
18
|
+
`,ue=c.div`
|
|
19
|
+
display: flex;
|
|
20
|
+
justify-content: flex-start;
|
|
21
|
+
flex: 1;
|
|
22
|
+
min-height: 0;
|
|
23
|
+
overflow-y: auto;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
align-items: center;
|
|
26
|
+
`,ce=c.div`
|
|
27
|
+
display: flex;
|
|
28
|
+
flex: 1;
|
|
29
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
30
|
+
min-height: 1px;
|
|
31
|
+
max-height: 1px;
|
|
32
|
+
`;export{le as D,Re as default,k as uniqueFormName,De as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as F,J as N,F as j,V as t,bD as G,m as V,ab as m,o,y as r,am as H,aP as P,bU as k,cr as q,cs as J,ct as O,d1 as K,u as l,ba as Q,H as T,b9 as X,p as z,d0 as Y,bu as Z,b as ee}from"./index-ruFrDgOE.js";import{n as i}from"./mui-CcAbIvqz.js";import{a as te}from"./sentry-C9gjpXHu.js";import"./liveblocks-BojMpfZr.js";import"./core-BfdQ3W3i.js";import"./recharts-CH4lD6YZ.js";import"./zeni-epic-state-yTwK6eAd.js";import"./lottie-C8ug7xYl.js";import"./analytics-deCUYv6O.js";import"./lexical-C3B1wTQQ.js";import"./utils-1UbrxmNv.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]="2f5358b6-727d-460a-8687-8b198e2b264c",e._sentryDebugIdIdentifier="sentry-dbid-2f5358b6-727d-460a-8687-8b198e2b264c")}catch{}})();const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(l[0],-4)},M={stepper:new T("smallRegular","standardRegular"),amount:new T("standardRegular","largeRegular")},oe=({showDeleteBtn:e=!1,disableButtons:c=!1,isLastSection:x=!1,approvalRule:f,onEditRuleClick:S,onDeleteRuleClick:y})=>{const[g,w]=te.useState(!1),n=N(),{range:h}=f.criteria[0],{steps:$,approvalRuleId:p}=f,a=j.getLocalizedStrings().commonSetUp.approval,v=()=>{w(!0)},U={onOkClick:()=>{w(!1),y?.(p)},onCancelClick:()=>{w(!1)}};return t.jsxs(ie,{windowSize:n,isLastSection:x,isUpdatingApprovalRules:c,"data-testid":m("approval-rule-section",p),children:[t.jsxs(re,{windowSize:n,children:[t.jsxs(ue,{children:[t.jsxs(W,{windowSize:n,children:[a.from," ",P("0,0",h.min)]}),t.jsxs(le,{children:[t.jsx(D,{}),t.jsx(se,{}),t.jsx(D,{})]}),h.max==null?t.jsx(me,{}):t.jsx(W,{windowSize:n,children:P("0,0",{...h.min,amount:h.max.amount})})]}),t.jsxs(he,{className:"icons",children:[e?c?t.jsx(k,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(C,{children:t.jsx(I,{isDisabled:!0,"data-testid":m("delete-approval-rule",p)})})}):t.jsx(I,{onClick:v,"data-testid":m("delete-approval-rule",p)}):null,c?t.jsx(k,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(C,{children:t.jsx(B,{isDisabled:!0,"data-testid":m("edit-approval-rule",p)})})}):t.jsx(B,{onClick:()=>{S(p)},"data-testid":m("edit-approval-rule",p)})]})]}),t.jsx(ae,{windowSize:n,children:t.jsx(ne,{isSingleStep:$.length===1,windowSize:n,children:$.map((u,E)=>t.jsxs(pe,{isSingleStep:$.length===1,className:"stepperItem",windowSize:n,children:[u.action==="require_approval"?t.jsx(de,{children:a.requireText}):t.jsx(ce,{children:a.notifyText}),u.nonUserActors.filter(d=>d.subType!=null).map((d,_)=>t.jsxs(L,{children:[t.jsx(R,{children:d.subType!=null?a.nonUsers[d.subType].label:null}),u.operator!="is"?t.jsx(A,{className:"operator",children:u.operator}):null]},`${d.subType}_${_}`)),u.actors.map(d=>t.jsxs(L,{children:[t.jsxs(R,{children:[d.firstName," ",d.lastName]}),u.operator!="is"?t.jsx(A,{className:"operator",children:u.operator}):null]},d.userId))]},E))})}),g?t.jsx(q,{titleComponent:t.jsx(O,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(J,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:U}):null]})},ie=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
|
|
@@ -57,7 +57,7 @@ import{e as F,J as N,F as j,V as t,bD as G,T as V,aQ as m,o,y as r,al as M,aO as
|
|
|
57
57
|
box-sizing: border-box;
|
|
58
58
|
position: relative;
|
|
59
59
|
`,ne=i.ul`
|
|
60
|
-
${e=>`${
|
|
60
|
+
${e=>`${M.stepper.style(e.windowSize)}`};
|
|
61
61
|
position: relative;
|
|
62
62
|
padding-left: ${o.sp6};
|
|
63
63
|
list-style: none;
|
|
@@ -166,13 +166,13 @@ import{e as F,J as N,F as j,V as t,bD as G,T as V,aQ as m,o,y as r,al as M,aO as
|
|
|
166
166
|
width: ${o.sp4};
|
|
167
167
|
height: ${o.sp4};
|
|
168
168
|
color: ${e=>e.theme.colors.hero};
|
|
169
|
-
`,
|
|
169
|
+
`,A=i.span`
|
|
170
170
|
color: ${e=>e.theme.colors.hero};
|
|
171
|
-
`,
|
|
171
|
+
`,L=i.div`
|
|
172
172
|
display: inherit;
|
|
173
173
|
gap: inherit;
|
|
174
174
|
`,W=i.span`
|
|
175
|
-
${e=>`${
|
|
175
|
+
${e=>`${M.amount.style(e.windowSize)}`};
|
|
176
176
|
color: ${e=>e.theme.colors.primary};
|
|
177
177
|
word-break: break-word;
|
|
178
178
|
`,b={width:new r(343,580,726),titleWidth:new r(343,580,780),addApprovalGap:new r(6,l[2]),subTitlePaddingTop:new r(12,l[3]),subTitlePaddingBottom:new r(28,l[7])},Be=({approvalView:e,onBackClick:c,onEditRuleClick:x,onDeleteRuleClick:f})=>{const S=F(),y=N(),{fetchState:g,deleteStatus:w}=e,n=j.getLocalizedStrings().commonSetUp.approval,h=j.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,$=w.fetchState,p=e.listeningToPusherEvent;return t.jsxs(xe,{children:[t.jsx(G,{title:n.approvalPageHeader,backgroundColor:S.colors.grey4,style:{zIndex:4},onBackClick:()=>{c()},source:"ReimbursementApprovalRulesPage"}),t.jsxs(ge,{children:[t.jsx($e,{windowSize:y,children:h.approvalPageSubTitle}),g==="In-Progress"||g==="Not-Started"||$==="In-Progress"?t.jsx(we,{children:t.jsx(V,{size:"ExtraLarge",start:!0})}):g==="Completed"?t.jsxs(t.Fragment,{children:[e.allApprovalRules.map((a,v)=>t.jsx(oe,{showDeleteBtn:v!==0,disableButtons:p===!0&&a.approvalRuleId===e.newApprovalRuleId,approvalRule:a,isLastSection:v===e.allApprovalRules.length-1,onEditRuleClick:x,onDeleteRuleClick:f},a.approvalRuleId)),t.jsxs(be,{windowSize:y,onClick:()=>{x()},"data-testid":m("add-approval-rule"),children:[t.jsx(fe,{}),t.jsx(ye,{children:n.addApprovalText})]})]}):null]})]})},xe=i.div`
|
|
@@ -199,14 +199,14 @@ import{e as F,J as N,F as j,V as t,bD as G,T as V,aQ as m,o,y as r,al as M,aO as
|
|
|
199
199
|
align-items: center;
|
|
200
200
|
gap: ${o.sp3};
|
|
201
201
|
background-color: ${e=>e.theme.colors.grey4};
|
|
202
|
-
`,$e=i(
|
|
202
|
+
`,$e=i(H)`
|
|
203
203
|
color: ${e=>e.theme.colors.hero};
|
|
204
204
|
display: flex;
|
|
205
205
|
justify-content: center;
|
|
206
206
|
width: ${e=>b.titleWidth.valuePx(e.windowSize)};
|
|
207
207
|
padding-top: ${e=>b.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
208
208
|
padding-bottom: ${e=>b.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
209
|
-
`,be=i(
|
|
209
|
+
`,be=i(H)`
|
|
210
210
|
cursor: pointer;
|
|
211
211
|
display: flex;
|
|
212
212
|
flex-direction: row;
|
|
@@ -235,7 +235,7 @@ import{e as F,J as N,F as j,V as t,bD as G,T as V,aQ as m,o,y as r,al as M,aO as
|
|
|
235
235
|
border-color: ${e=>e.theme.colors.primary};
|
|
236
236
|
}
|
|
237
237
|
margin-bottom: ${o.sp6};
|
|
238
|
-
`,fe=i(
|
|
238
|
+
`,fe=i(K)`
|
|
239
239
|
width: ${o.sp3};
|
|
240
240
|
height: ${o.sp3};
|
|
241
241
|
`,ye=i.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aw as Mt,a8 as Rt,J as Pt,e as Bt,ce as Nt,y as m,F as et,gi as Lt,gk as _t,gl as Ot,V as t,cq as Ae,cr as Me,cs as Re,bD as Pe,aQ as y,bp as Wt,dx as Et,gm as Ft,gx as Be,o as a,gn as Ne,fj as b,gq as w,fm as x,aO as Le,fi as _e,b as V,gs as Oe,aS as Kt,ao as Ut,gt as Vt,gu as re,by as Ht,gv as Gt,c as Yt,N as qt,a as Jt,al as tt,ba as it,p as H,am as Qt,bW as Xt,ai as Zt,gP as ei,gL as ti,u as c,cj as ii,cY as ai}from"./index-C35YWwTr.js";import{a as p}from"./sentry-DI6LfXHO.js";import{n as r}from"./mui-COCSnD7r.js";import{a as ri}from"./liveblocks-C4z_hTA8.js";import{bL as oi,bP as ni,FL as li}from"./zeni-epic-state-5EJXUnYj.js";import si from"./InvoiceUploadSection-BEp8eQB4-B7Nsi5eQ.js";import{r as di,h as f,u as ci}from"./types-DyvtCprH-NFPm5TaG.js";import"./core-CYUkP-6E.js";import"./lottie-BbrvkSIN.js";import"./recharts-CvCWgW5g.js";import"./analytics-CKsekDx8.js";import"./lexical-Du5Y0rMT.js";import"./utils-Ded-pC6v.js";import"./AttachmentView-Cxyodtel-CHXRSWp0.js";import"./uploadReceipts-Dge0cNF1-DQGJiLnC.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]="11c5e630-4d66-4576-b9d5-548d4d9cebf5",e._sentryDebugIdIdentifier="sentry-dbid-11c5e630-4d66-4576-b9d5-548d4d9cebf5")}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")},sa=({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:G,redirectToEditableReimbursementScreen:rt,onDuplicateLineClick:ot,approveOrRejectRemi:he,deleteReimbursement:nt,cancelAndDeleteReport:ye,handleZeniLogoClick:lt,onAddNewRule:ge,initialOpenThreadRequest:z})=>{const d=Mt(),st=Rt().analytics,o=Pt(),be=Bt(),[dt,A]=p.useState(!1),[Y,q]=p.useState(!1),[ct,J]=p.useState(!1),[Q,X]=p.useState("approved"),N=p.useRef(null),[S,Z]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[k,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")&&G()},[e,G]),p.useEffect(()=>{const l=window.location.hash;if(l&&l.startsWith("#L")){const n=l.substring(1);xe(n)}},[]);const ut=()=>{G()};Nt({componentName:"reimbursement.details"});const ht={onOkClick:()=>{A(!1),S.primaryButtonText===i.buttons.delete?nt?.():S.title===i.cancelReportTitle?ye?.():S.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:gt,replyAComment:bt},tooltip:{resolveComment:wt,unResolveComment:xt}}},dateFormat:ve}=fe,{reimbursementDetail:i,bulkActions:_}=fe.spendManagement.reimbursement,ee=e.remiDetails?.reportTitle,j=e.remiDetails?.lines??[],O=e.remiDetails?.reimbursementInfo.stage,W=e.remiDetails?.reimbursementInfo.billStatus,E=e.remiDetails?.reimbursementInfo.billPaymentStatus,Te=O?.code==="paid",ft=Te?O:W?.code=="approved"&&E?.code?E:W,$=pi(e.remiDetails),R=W?.code=="approved"&&E?.code?E:W,F=e.remiDetails?.isDeleted??!1,je=e.remiDetails?.amount,Se=e.remiDetails?.amount.amount??0,Ie=()=>{Z({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=()=>{Z({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},vt=()=>{Z({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)}},jt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?De():(X("approved"),he({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},St=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(X("delete"),Ie()):(X("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,kt=di(e.duplicateLineByLineId),ke=e.duplicateReimbursementStatus.fetchState==="Completed"&&kt>0,{requestToOpenThread:ae,setRequestToOpenThread:K,setOpenThread:U}=p.useContext(Lt);p.useEffect(()=>{z?.threadId!=null&&z?.companyId!=null&&z?.entityType!=null&&K(z)},[z,K]);const{threads:P,isLoading:D}=_t({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),zt=p.useMemo(()=>P.filter(l=>l.resolved===!1&&!l.id.includes(Ot)),[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 g={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},B=li(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Oi,{windowSize:o,ref:N,children:[dt?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:S.title}),descriptionComponent:t.jsx(Me,{children:S.description}),primaryButtonText:S.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:S.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:be.colors.background,keepBackgroundOnScroll:!0,scrollableContent:N,source:"ReimbursementDetailPage"}):null,o!=="small"?t.jsx(ki,{}):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=>Et(n)),void 0,void 0,"page icon")},"data-testid":y("remi-comments-section"),children:[t.jsx(Wt,{count:D?void 0:zt,isLoading:D,style:{left:"12px"}}),t.jsx(Li,{})]}):null,t.jsx(_i,{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(Hi,{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(He,{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:_.duplicateWarning.title,description:_.duplicateWarning.description}):ke?t.jsxs(We,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(Ee,{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,j.map((l,n)=>{const v=e.duplicateLineByLineId[l.lineId];return t.jsxs(Ze,{windowSize:o,children:[t.jsx(Ki,{windowSize:o,children:t.jsx(Ui,{bottomSeperator:j.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:j.length>1?`#${n+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:j.length-1===n||n===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"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(He,{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:_.duplicateWarning.title,description:_.duplicateWarning.description}):ke?t.jsxs(We,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(Ee,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(wi,{windowSize:o,ref:ze=>{ze!=null&&(we.current[`L${l.lineId}`]=ze)},children:[o!=="small"?t.jsx(bi,{children:t.jsx(xi,{children:j.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(gi,{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(b,{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:{...g,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(b,{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:{...g,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(b,{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:{...g,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(b,{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:{...g,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(b,{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:{...g,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(b,{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:{...g,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(b,{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:{...g,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(b,{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:{...g,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(b,{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:{...g,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(b,{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:{...g,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(b,{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:{...g,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(b,{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:{...g,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}`}})})]})]})]}),j.length!==1&&j.length===n+1&&t.jsxs(Ei,{windowSize:o,children:[t.jsxs(Qe,{windowSize:o,children:[t.jsx(Xe,{children:i.total}),t.jsx(_e,{amount:je,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(Oe,{amount:Se,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:ge,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)}),j.length===1&&t.jsxs(Ze,{windowSize:o,children:[t.jsx(Ge,{}),t.jsxs(ui,{windowSize:o,children:[t.jsx(Wi,{windowSize:o,children:t.jsxs(Qe,{windowSize:o,children:[t.jsx(Xe,{children:i.total}),t.jsx(_e,{amount:je,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(hi,{windowSize:o,children:t.jsx(Oe,{amount:Se,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:ge,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(Ge,{}):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:Q==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||Q==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:St,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:Q==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:jt,style:{width:s.footerButtonWidth.value(o)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx($i,{children:t.jsxs(zi,{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(Si,{})}):null,!B&&Ct===!0?t.jsx(ji,{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:k?.companyId??$e,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:k?{companyName:k.companyName,companyId:k.companyId,entityId:k.entityId,entityType:k.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:gt,replyComposerPlaceholder:bt,threadResolve:wt,threadUnResolve:xt},onThreadClick:(l,n)=>At(l,n),onCloseAllThreadsDrawer:()=>L(!1),drawerSectionStyle:{width:"400px",backgroundColor:be.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`
|
|
1
|
+
import{ax as Mt,a8 as Rt,J as Pt,d as Bt,ce as Nt,y as m,F as et,gl as Lt,gn as _t,go as Ot,V as t,cr as Ae,cs as Me,ct as Re,bD as Pe,ab as y,bp as Wt,dw as Et,gp as Ft,gA as Be,o as a,gq as Ne,fm as b,gt as w,fp as x,aP as Le,fl as _e,b as V,gv as Oe,aS as Kt,ap as Ut,gw as Vt,gx as re,by as Ht,gy as Gt,x as Yt,H as qt,a as Jt,am as tt,ba as it,p as H,an as Zt,bW as Qt,aj as Xt,gS as ei,gO as ti,u as c,cj as ii,c$ as ai}from"./index-ruFrDgOE.js";import{a as p}from"./sentry-C9gjpXHu.js";import{n as r}from"./mui-CcAbIvqz.js";import{a as ri}from"./liveblocks-BojMpfZr.js";import{bL as oi,bP as ni,FT as li}from"./zeni-epic-state-yTwK6eAd.js";import si from"./InvoiceUploadSection-Cy_eY3C3-BvOhggtx.js";import{r as di,h as f,u as ci}from"./types-DyvtCprH-NFPm5TaG.js";import"./core-BfdQ3W3i.js";import"./lottie-C8ug7xYl.js";import"./recharts-CH4lD6YZ.js";import"./analytics-deCUYv6O.js";import"./lexical-C3B1wTQQ.js";import"./utils-1UbrxmNv.js";import"./AttachmentView-D8FFMCan-Bx8SM48F.js";import"./uploadReceipts-Dge0cNF1-B8hOzDLM.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]="29a91ede-7ded-40a7-9cd1-a8b57e6d32ee",e._sentryDebugIdIdentifier="sentry-dbid-29a91ede-7ded-40a7-9cd1-a8b57e6d32ee")}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")},sa=({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:G,redirectToEditableReimbursementScreen:rt,onDuplicateLineClick:ot,approveOrRejectRemi:he,deleteReimbursement:nt,cancelAndDeleteReport:ye,handleZeniLogoClick:lt,onAddNewRule:ge,initialOpenThreadRequest:z})=>{const d=Mt(),st=Rt().analytics,o=Pt(),be=Bt(),[dt,A]=p.useState(!1),[Y,q]=p.useState(!1),[ct,J]=p.useState(!1),[Z,Q]=p.useState("approved"),N=p.useRef(null),[j,X]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[k,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")&&G()},[e,G]),p.useEffect(()=>{const l=window.location.hash;if(l&&l.startsWith("#L")){const n=l.substring(1);xe(n)}},[]);const ut=()=>{G()};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:gt,replyAComment:bt},tooltip:{resolveComment:wt,unResolveComment:xt}}},dateFormat:ve}=fe,{reimbursementDetail:i,bulkActions:_}=fe.spendManagement.reimbursement,ee=e.remiDetails?.reportTitle,S=e.remiDetails?.lines??[],O=e.remiDetails?.reimbursementInfo.stage,W=e.remiDetails?.reimbursementInfo.billStatus,E=e.remiDetails?.reimbursementInfo.billPaymentStatus,Te=O?.code==="paid",ft=Te?O:W?.code=="approved"&&E?.code?E:W,$=pi(e.remiDetails),R=W?.code=="approved"&&E?.code?E:W,F=e.remiDetails?.isDeleted??!1,Se=e.remiDetails?.amount,je=e.remiDetails?.amount.amount??0,Ie=()=>{X({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=()=>{X({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},vt=()=>{X({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():(Q("approved"),he({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},jt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(Q("delete"),Ie()):(Q("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,kt=di(e.duplicateLineByLineId),ke=e.duplicateReimbursementStatus.fetchState==="Completed"&&kt>0,{requestToOpenThread:ae,setRequestToOpenThread:K,setOpenThread:U}=p.useContext(Lt);p.useEffect(()=>{z?.threadId!=null&&z?.companyId!=null&&z?.entityType!=null&&K(z)},[z,K]);const{threads:P,isLoading:D}=_t({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),zt=p.useMemo(()=>P.filter(l=>l.resolved===!1&&!l.id.includes(Ot)),[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 g={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},B=li(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Oi,{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:be.colors.background,keepBackgroundOnScroll:!0,scrollableContent:N,source:"ReimbursementDetailPage"}):null,o!=="small"?t.jsx(ki,{}):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=>Et(n)),void 0,void 0,"page icon")},"data-testid":y("remi-comments-section"),children:[t.jsx(Wt,{count:D?void 0:zt,isLoading:D,style:{left:"12px"}}),t.jsx(Li,{})]}):null,t.jsx(_i,{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(Hi,{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(He,{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:_.duplicateWarning.title,description:_.duplicateWarning.description}):ke?t.jsxs(We,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(Ee,{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(Xe,{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(He,{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:_.duplicateWarning.title,description:_.duplicateWarning.description}):ke?t.jsxs(We,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(Ee,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(wi,{windowSize:o,ref:ze=>{ze!=null&&(we.current[`L${l.lineId}`]=ze)},children:[o!=="small"?t.jsx(bi,{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(gi,{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(b,{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:{...g,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(b,{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:{...g,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(b,{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:{...g,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(b,{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:{...g,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(b,{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:{...g,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(b,{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:{...g,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(b,{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:{...g,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(b,{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:{...g,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(b,{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:{...g,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(b,{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:{...g,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(b,{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:{...g,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(b,{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:{...g,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(Ei,{windowSize:o,children:[t.jsxs(Ze,{windowSize:o,children:[t.jsx(Qe,{children:i.total}),t.jsx(_e,{amount:Se,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(Oe,{amount:je,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:ge,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(Xe,{windowSize:o,children:[t.jsx(Ge,{}),t.jsxs(ui,{windowSize:o,children:[t.jsx(Wi,{windowSize:o,children:t.jsxs(Ze,{windowSize:o,children:[t.jsx(Qe,{children:i.total}),t.jsx(_e,{amount:Se,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(hi,{windowSize:o,children:t.jsx(Oe,{amount:je,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:ge,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(Ge,{}):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:Z==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||Z==="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:Z==="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(zi,{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:k?.companyId??$e,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:k?{companyName:k.companyName,companyId:k.companyId,entityId:k.entityId,entityType:k.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:gt,replyComposerPlaceholder:bt,threadResolve:wt,threadUnResolve:xt},onThreadClick:(l,n)=>At(l,n),onCloseAllThreadsDrawer:()=>L(!1),drawerSectionStyle:{width:"400px",backgroundColor:be.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
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
@@ -6,7 +6,7 @@ import{aw as Mt,a8 as Rt,J as Pt,e as Bt,ce as Nt,y as m,F as et,gi as Lt,gk as
|
|
|
6
6
|
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
7
7
|
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
8
8
|
margin-bottom: ${e=>s.activityBottomMargin.valuePx(e.windowSize)};
|
|
9
|
-
`,yi=r(
|
|
9
|
+
`,yi=r(Zt)`
|
|
10
10
|
padding: ${a.sp2} ${a.sp0} ${a.sp2} ${a.sp4};
|
|
11
11
|
background-color: ${H.alertLight};
|
|
12
12
|
color: ${H.brandColorGoldDark};
|
|
@@ -73,7 +73,7 @@ import{aw as Mt,a8 as Rt,J as Pt,e as Bt,ce as Nt,y as m,F as et,gi as Lt,gk as
|
|
|
73
73
|
&:hover {
|
|
74
74
|
color: ${e=>e.theme.colors.primary};
|
|
75
75
|
}
|
|
76
|
-
`,
|
|
76
|
+
`,Si=r.div`
|
|
77
77
|
display: flex;
|
|
78
78
|
margin-left: ${e=>e.windowSize==="small"?e.showEditIcon===!0?a.sp3:a.sp4:a.sp5};
|
|
79
79
|
cursor: pointer;
|
|
@@ -81,7 +81,7 @@ import{aw as Mt,a8 as Rt,J as Pt,e as Bt,ce as Nt,y as m,F as et,gi as Lt,gk as
|
|
|
81
81
|
&:hover {
|
|
82
82
|
color: ${e=>e.theme.colors.primary};
|
|
83
83
|
}
|
|
84
|
-
`,
|
|
84
|
+
`,ji=r(ei)`
|
|
85
85
|
cursor: pointer;
|
|
86
86
|
color: ${e=>e.theme.colors.hero};
|
|
87
87
|
width: ${a.sp5};
|
|
@@ -147,7 +147,7 @@ import{aw as Mt,a8 as Rt,J as Pt,e as Bt,ce as Nt,y as m,F as et,gi as Lt,gk as
|
|
|
147
147
|
right: ${e=>s.actionsContainerRight.valuePx(e.windowSize)};
|
|
148
148
|
height: 100%;
|
|
149
149
|
display: flex;
|
|
150
|
-
`,oe=r(
|
|
150
|
+
`,oe=r(Xt)`
|
|
151
151
|
display: flex;
|
|
152
152
|
align-items: center;
|
|
153
153
|
width: 100%;
|
|
@@ -272,7 +272,7 @@ import{aw as Mt,a8 as Rt,J as Pt,e as Bt,ce as Nt,y as m,F as et,gi as Lt,gk as
|
|
|
272
272
|
flex-direction: column;
|
|
273
273
|
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
274
274
|
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
275
|
-
`,
|
|
275
|
+
`,Ze=r.div`
|
|
276
276
|
padding: ${a.sp3};
|
|
277
277
|
display: flex;
|
|
278
278
|
align-items: center;
|
|
@@ -283,7 +283,7 @@ import{aw as Mt,a8 as Rt,J as Pt,e as Bt,ce as Nt,y as m,F as et,gi as Lt,gk as
|
|
|
283
283
|
color: ${e=>e.theme.colors.hero};
|
|
284
284
|
margin-bottom: ${e=>s.totalBottomMargin.valuePx(e.windowSize)};
|
|
285
285
|
justify-content: space-between;
|
|
286
|
-
`,
|
|
286
|
+
`,Qe=r(Qt)`
|
|
287
287
|
display: flex;
|
|
288
288
|
width: 176px;
|
|
289
289
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -291,7 +291,7 @@ import{aw as Mt,a8 as Rt,J as Pt,e as Bt,ce as Nt,y as m,F as et,gi as Lt,gk as
|
|
|
291
291
|
display: flex;
|
|
292
292
|
flex-direction: column;
|
|
293
293
|
width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
294
|
-
`,
|
|
294
|
+
`,Xe=r.div`
|
|
295
295
|
display: flex;
|
|
296
296
|
width: 100%;
|
|
297
297
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|