@zeniai/web-cockpit-ui 1.15.26-dev → 1.15.27-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-CxpLuJpQ-oljmG-aN.js → ACHDetailsPage-49jTvZnX-Be-zaLi0.js} +1 -1
- package/dist/assets/{AIPerformancePage-BtDuOBey-B5mBQCVW.js → AIPerformancePage-DJea2aE9-B9iO1fyz.js} +1 -1
- package/dist/assets/AccountInfoPage-Dv1rJn72-BUHG0zde.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BLF92_vF-CW7wtofP.js → AccountInfoPageContent-zf4BRg29-DZX6BB3M.js} +7 -7
- package/dist/assets/{AccountLockedInfoModal-AsMkXu1I-CUepwrH5.js → AccountLockedInfoModal-CxoC-scs-DZJuQo5m.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-CkaBrm5K-KV-fem_5.js → AccountReconDetailsDrawerPage-DI40FQGK-9O64pVIg.js} +1 -1
- package/dist/assets/{AccountRow-aEmcYP8T-NzxiJ7E0.js → AccountRow-CxEUX108-Ctuhzest.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-C0At5pn8-BVyntxD9.js → AccountsPromoCardStack-ugkcP4hS-Bj_Nb7Iz.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-CbjThbsA-DCBhdPbu.js → AddAddressForCardDrawer-KZ-LVrwR-BRcI_JTS.js} +1 -1
- package/dist/assets/{AddToWalletPage-CMJwUbgf-CbZx4F8y.js → AddToWalletPage-CmBtO-Jx-CFwvepkh.js} +1 -1
- package/dist/assets/{AgingReportsPage-B_BSfude-DZk6eQ7D.js → AgingReportsPage-BgZqIoFH-CBXVGn8J.js} +1 -1
- package/dist/assets/{AllUserItems-CGlWa60t-Bsvj0Bul.js → AllUserItems-CMkg4gXl-Dbiuf_va.js} +3 -3
- package/dist/assets/{ApAgingDetailPage-DT3vkmLG-hWexPQ-R.js → ApAgingDetailPage-CIc4rs2--CTxo3gfJ.js} +1 -1
- package/dist/assets/{AppBasePage-CDy7wPlv-BdtLe6Er.js → AppBasePage-Ch3JOqQA-CkD3FaNp.js} +1 -1
- package/dist/assets/{AppDrawerContent-CEsXm_i6-DvQRPFBq.js → AppDrawerContent-DK3tTd88-Ebl_NVYT.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-CB2_4-2f-DqEewSSN.js → ApprovalRulesSettingsPage-8myNAB_M-Bfi0yOAc.js} +1 -1
- package/dist/assets/{ArAgingChart-qxhWsIQb-BR0MyGhc.js → ArAgingChart-D8yl6Fco-iPMSgvYP.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-BbzQryp_-si9TyFWf.js → ArAgingDetailPage-DMPLqLKl-D3301L0t.js} +4 -4
- package/dist/assets/{AttachmentView-duTVxc9g-Cx51cWLo.js → AttachmentView-Cxyodtel-B24U0bgX.js} +1 -1
- package/dist/assets/{BankAccountSection-CAwAf9xK-dEu3iigm.js → BankAccountSection-DGuhn7CN-DmUf2oBe.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-CaDnP9_--B_s5lRpF.js → BankAccountWarningSection-l79_AN7P-wzRxiGEn.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-CDV7O8cl-CKVB9msh.js → BankConnectionsSettingsPage-CkF3K8e8-C4TR4rEL.js} +1 -1
- package/dist/assets/{BillDetailPage-DJxh2CIc-BDq5xtCx.js → BillDetailPage-CaAXVwe3-C9NFzEPg.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-B2ZPbqtr-DoqAcsu7.js → BillPayApprovalRuleDetailPage-CFiMiJVw-BuCRs1eu.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-MM7v8ZMx-BqexuGBp.js → BillPayApprovalRulesPage-qpF8Wy4I-B3HFhggf.js} +1 -1
- package/dist/assets/{BillPayPromoPage-JK-VOx4W-CHt5RuWY.js → BillPayPromoPage-CNUoM-3L-1wklXGZ-.js} +7 -7
- package/dist/assets/{BillPaySetUpPage-h0uoCWMl-B3vp9xYH.js → BillPaySetUpPage-D_hRCBF5-Imf9v1rc.js} +1 -1
- package/dist/assets/{BillingSettingsPage-gJG9OxD6-sAZcxvhc.js → BillingSettingsPage-BfvQsRnJ-VinZfITV.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-CPPDFsZt-D7n_HeTo.js → BillsBulkReviewDrawerPage-BRVd0a8c-DFmDsImO.js} +1 -1
- package/dist/assets/{BoxItem-CYe_gTmA-3TpRGAgq.js → BoxItem-COPJh7Lh-BtEwjrhv.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Dos8Bnvb-tV078-eh.js → BusinessVerificationPage-CdRHA3h2-CIWKUgi1.js} +1 -1
- package/dist/assets/{CardNumberSubText-CFDhtij8-Dsv6kEZQ.js → CardNumberSubText-Md18DQb7-Ci7Q_wrC.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BBGGzKh7-DUHJlZVl.js → CashbackDetailPage-CfB0mGdX-DgwWmp2K.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-BQhago53-wjHuLhkC.js → ChargeCardDetailPage-ByOcHh0H-DEou_IlL.js} +1 -1
- package/dist/assets/{ChargeCardListPage-B0E-C3RH-B7k2t4T5.js → ChargeCardListPage-9aL08yGW-Ba0oB6VC.js} +1 -1
- package/dist/assets/{ChargeCardListTable-ByGv0xWl-DMSCDnKA.js → ChargeCardListTable-CbqF_9f3-C6X1RqBh.js} +16 -16
- package/dist/assets/{ChargeCardPaymentHistoryPage-LCY9rFqO-BkZDtpLS.js → ChargeCardPaymentHistoryPage-Dp_vLjiJ-C_QznI13.js} +1 -1
- package/dist/assets/ChargeCardPromoPage-8Oz0DmQv-CtVY_-8P.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-BHv2VOdc-7YAt9Um1.js → ChargeCardSetupPage-DYOCe46h-e0p7QaI6.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-UpRXyPTS-DMihpC1F.js → ChargeCardStatementsPage-BLws2jOd-DH79p6d7.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-0zbTQ3Fa-BLYoChOi.js → CheckDepositDrawerPage-Bc3a4vVO-QMFCIXbb.js} +1 -1
- package/dist/assets/{CollapsableReportTable-DlYIKSlQ-CcB96aJz.js → CollapsableReportTable-4-6Wne7j-Bn8DnqeK.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-Ck0xqZ0d-BRXSA5bv.js → CompanyOfficerDetailsSection-C_S5WXms-iJZMGPb2.js} +1 -1
- package/dist/assets/{CompanyPassportCard-DeVPuuje-pYw0P8-e.js → CompanyPassportCard-DPwqwt8k-UccZMyh-.js} +2 -2
- package/dist/assets/{CompanyPassportPage-F_GUET9a-DyWAWfST.js → CompanyPassportPage-DDjpq5T1-zONxBEPm.js} +13 -13
- package/dist/assets/{CompleteProfile-Y6HwKtpz-CAD13Y73.js → CompleteProfile-C6o_Ez-L-Do1B6QH5.js} +1 -1
- package/dist/assets/{ConfettiBurst-BGE3Okwr-BH3P6Vot.js → ConfettiBurst-DNR3qv8X-ptw_T_Cq.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-BElBEfq9.js → ConstrainedInnerElement-BeIpAPjB-DchKqY-F.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BlZe6gmh-CQZW25xI.js → CreateOrEditVendorPage-Bcj3U0s_-5vJHklRM.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-flPmyCaF-BN_zrabq.js → CreditCardPaymentDrawerPage-CI3GD2-u-DH6MMFER.js} +1 -1
- package/dist/assets/{CurrencySelectField-RiKAivD8-Men9-Qs8.js → CurrencySelectField-98tevzzy-BlqO4MuW.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-B7dLMk4g-9XWjuxWa.js → CustomerOnboardingActivationPage-BSsdFKhb-BMSgiMMy.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DgiK94cf-CHSTlWE8.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-AWsst0XH-Dm9ock3U.js → CustomerOnboardingDetailPageSkeleton-D5gblIdv-CFqfFpT0.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-Bqid4-rH-1Q4j5GPR.js → CustomerOnboardingNoStepsPage-DCt6wtfH-Cjj8y-RZ.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-B5LrMzZS-C9Fs1CgW.js → CustomerOnboardingPage-_HuMZOrd-CaMRm4tt.js} +4 -4
- package/dist/assets/{CustomerOnboardingProductSuitePage-DqgoBLWp-CqOyrhHJ.js → CustomerOnboardingProductSuitePage-DcX7v8VV-DCl6Er8S.js} +3 -3
- package/dist/assets/{Dashboard-D0KlujCx-DnjbaQQd.js → Dashboard-C12cMR4f-BJHxNm8C.js} +1 -1
- package/dist/assets/{DashboardReportPage-bxKyMsG7-D9LgF6Vc.js → DashboardReportPage-C8FygWL_-zsIsDvlx.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Ch0OiH1g-8bPW9HsA.js → DashboardSidebarBackgroundAnimation-eTAs_vdL-CSWEzD2n.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BdZVCAx--B5mbkfQv.js → DepositAccTransactionItem-BuwWbrWB-LoOAd3VM.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-LU0QMdSV-BPGsYfzN.js → DepositAccTransactionListPage-C1XXM6Qy-C72sFA4v.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-CFt5GgZ1-DPIozVv0.js → DomesticWireDetailsPage-t6W8wYH8-BW3aYQzE.js} +1 -1
- package/dist/assets/{DownloadOverlay-CH_bA3On-JFXgpsko.js → DownloadOverlay-CJYnXgCn-odTawGXc.js} +1 -1
- package/dist/assets/{DrawerPage-Cpdp-IFb-6O8ALZwh.js → DrawerPage-isFPi2CS-BP0DVAOi.js} +1 -1
- package/dist/assets/{EditPeoplePage-BYnuNojX-COJTJTYl.js → EditPeoplePage-4fN2aCBr-BHmm7eYD.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-DnyyPZ26-CW_m0PAT.js → EditReimbursementDetailPage-CVMvR_xa-Y5W6LDDw.js} +1 -1
- package/dist/assets/EntityDetailPage-C8dRi0hQ-ChhHQBUx.js +18 -0
- package/dist/assets/{EntitySummarySection-BFpgAYAM-CKlhnXLV.js → EntitySummarySection-BXo9RrQK-BuIKOVzl.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-YjOVm_Bw-BDJuPgHE.js → ExpenseAutomationOverviewPage-DPfeujDA-5Pkl4JAF.js} +59 -59
- package/dist/assets/ExpenseAutomationPage-CWEo8JL8-DDq4rvWb.js +1700 -0
- package/dist/assets/{ExpressPayPage-CKqPEfbR-pk0o4BxB.js → ExpressPayPage-Dlku9oMT-sidjttl1.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-Cs1Y3nP0-BgQT4DqF.js → FeaturePreviewPage-qJmxWW10-BCL41LPf.js} +1 -1
- package/dist/assets/{FollowStepsSection-BCyL8Jdr-CPpGgHn-.js → FollowStepsSection-DxAp4i9T-Cs3p7RFB.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-CBQFcVHd-XH4CFBRM.js → GlobalReviewListPage-Cadf7AIC-BB24FYDU.js} +1 -1
- package/dist/assets/{InformationCardStack-nFMetrAy-CMfT3sbg.js → InformationCardStack-BZhYP37l-Dd2otSYf.js} +1 -1
- package/dist/assets/{InsightsCardStack-CEMeGJXy-DkdJ-vVc.js → InsightsCardStack-CPZtVqq5-BUF_fSK4.js} +1 -1
- package/dist/assets/{InsightsSection-BYiN2xB7-Tq3IZNKc.js → InsightsSection-0ekovQH4-BlPNJh_U.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-BQ7g3a3K-BdOaL4VS.js → IntegrationsSettingsPage-CNis_Wk3-DA1OiLg5.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-BHRYsZgm-DSuBLSD4.js → InternationalWireSwiftDetailsPage-8g16Kgfi-B71tbLSL.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-tJbVtzQP-CQvYGebF.js → InternationalWireVerificationPage-ofzwcymr-CT3lnfto.js} +1 -1
- package/dist/assets/{InviteFormPage-BVXte8w8-MDAVTXGi.js → InviteFormPage-pQDs7n3f-Dvolqiav.js} +1 -1
- package/dist/assets/{InvitePageListView-DFPyLLrA-CONqmQCs.js → InvitePageListView-DJYwE5Il-BdRMo6ep.js} +1 -1
- package/dist/assets/{InvitePeoplePage-B-uxjkke-6b_Qz0Yf.js → InvitePeoplePage-CgSGdi3i-BzFWBUb-.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-B9q7nIs0-DhF51Ukp.js → InvoiceUploadSection-BEp8eQB4-DHRScRES.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-BuLj1bOl-DtlAMUV4.js → IssueChargeCardPage-DX3kJ72T--bI6SGG9.js} +1 -1
- package/dist/assets/{LabeledAddressValue-D2t8ti-C-Z0RI74Eh.js → LabeledAddressValue-DWDFf_hN-e4LanhXy.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-DMcor_I8-C6G1J4Y2.js → LabeledAddressValueField-Ckm80g0_-fddiRWcN.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-B6w2HGJK-6LsZxWHa.js → LabeledControlledCheckBoxField-Dhta-oad-BOgGTnpX.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-DHNAX5Pu-BPIIBKMF.js → LabeledCreatableSingleSelectField-CWhimq6W-CiffZWxa.js} +1 -1
- package/dist/assets/{LabeledDocumentField-Bx1u7vv_-DaqPO373.js → LabeledDocumentField-z2O1tykl-BOR0XPyM.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BBS4da2b-Pp7kOChU.js → LabeledDropDownFormattedTextField-BZu90SFF-CT4k7JQd.js} +1 -1
- package/dist/assets/{LabeledText-zjKn4Cw--WpJNibWz.js → LabeledText-DlIRkA7r-DGwEr03s.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CIofqRT6-l_A9LTk7.js → LabeledUserSingleSelectWithSubtitlesField-CXwZdQ0K-DDygkuei.js} +3 -3
- package/dist/assets/{LabeledZeniRolesDropDownField-DiBtAWQ3-_N52HAlB.js → LabeledZeniRolesDropDownField-CWui0vqF-DJaOZiml.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-D66bzDh_-B4JreFf6.js → LinkJETransactionPage-DJfFhIWc-DH9uk_Nk.js} +1 -1
- package/dist/assets/{LockCardPage-B1g2TZWL-hWz0sEAN.js → LockCardPage-Cv9rUAY7-DKakaJGE.js} +6 -6
- package/dist/assets/{LowBalancePopup-DbtHeVY--8cU4w1E0.js → LowBalancePopup-DnRpH2rk-CPocaNr6.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-CdmfROQK-B3EIdmd3.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BqqCZBUT-3K5d9lKn.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-QDfBddvz-DxlDIcb0.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-BkxuITX--B7psstiC.js → MagicLinkSuccessPage-ABpq3GEM-347FQa8F.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CqkZ9wOf-BR_t9OGm.js → MagicLinkTitleSection-ygghGjqi-CPCSmIlY.js} +1 -1
- package/dist/assets/{MailingDetailsSection-DRFGCM2W-D_ajBet8.js → MailingDetailsSection-DtuTgXeV-BAt57tta.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-CE2ZqHBJ-DRRK16jW.js → MyBankConnectionsSettingsPage-BRy7gQIK-D0ljHEmg.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-BffxXDZg-DDMywOmd.js → MyPendingActivationChargeCardListPage-eCLt21RY-DdeT-VxA.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DrsAlesY-CW5UQDbf.js → MyProfileSettingsPage-C-GlfSxD-BPv3bj5w.js} +5 -5
- package/dist/assets/{NavBarWithPicker-C4VfP_Kw-BlN6D07W.js → NavBarWithPicker-MP4pdS6O-ETw04dfI.js} +1 -1
- package/dist/assets/{NavigationArrow-DCCxx6H7-HhnIS8HH.js → NavigationArrow-CxS8-9O0-BQImrbmZ.js} +1 -1
- package/dist/assets/{NavigationDots-tWCw6Bpk-Mo0z1mhF.js → NavigationDots--7KEcIuu-eftMXpdw.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-UIA8zAjd-D_Ilslhf.js → NewGlobalMerchantPage-wYBwn2dL-D2xZN2Wq.js} +1 -1
- package/dist/assets/{NoDataChart-Bvetk9za-Dz6Kgiua.js → NoDataChart-Bd0aKX8D-BMtoTVvu.js} +1 -1
- package/dist/assets/{NoDataTable-9xF1_3XS-gmK0ApJv.js → NoDataTable-Bjbt7lt9-QawSofKO.js} +1 -1
- package/dist/assets/{NotFoundPage-CdH-3upl-BWvfv-me.js → NotFoundPage-CxAhFmy2-D61A-JG3.js} +7 -7
- package/dist/assets/{NotificationSettingsPage-DP2gGIz1-CAx-Ob95.js → NotificationSettingsPage-BwTc94Y4-DxMem3GE.js} +1 -1
- package/dist/assets/{NotificationsListConfig-DG-DH2Aj-B1EWk1B7.js → NotificationsListConfig-f-Y-UtEy-BzHeGbqt.js} +1 -1
- package/dist/assets/{NotificationsPage-CgFMmR2X-DW2MYafR.js → NotificationsPage-Cds6qhVt-Dyww7PRK.js} +1 -1
- package/dist/assets/{OpExByVendorPage-eUvIAWzt-J9dFs64l.js → OpExByVendorPage-CF6Q-SV2-DWalefYD.js} +1 -1
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-CRh-4TRn.js → OverlayContainerPage-D4QU0p4o-DiYJgmmr.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-8S06Nyi5-Bs1OiKUY.js → PandLWithForecastPage-DwWcx5eK-szNL9FCt.js} +2 -2
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DQtrANhI-CgW6kWBO.js → PaymentAccountSetupBillingAddressSection-DIP_uznB-B7DNBV4H.js} +1 -1
- package/dist/assets/{PeoplePage-D1BLHtO0-Cm2cmSqy.js → PeoplePage-BgP7kTw9-CG9DTLLQ.js} +1 -1
- package/dist/assets/{Preview-CyX-vurX.js → Preview-CyY8fFSj.js} +1 -1
- package/dist/assets/{ProductsCarousel-BKSXWnFR-BT4vvSaJ.js → ProductsCarousel-CJlGSrBH-C82GY9tH.js} +1 -1
- package/dist/assets/{PromoBaseCards-BYT9nEJT-1c2PW57m.js → PromoBaseCards-fx9bhHkF-5GD0MDQm.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-C2-omQMZ-CW3-Jgl1.js → QBOConnectionDialog-CGAr0mXC-CrSLQG4V.js} +1 -1
- package/dist/assets/{QBOSetupSection-lgv5wVlg-Db43UmDc.js → QBOSetupSection-D-fnn99E-yQD39UVj.js} +7 -7
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CbJViS3x-DEQyVs-F.js → ReimbursementApprovalRuleDetailPage-DvhdOKpF-CHqGgBzD.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BuNt-Bmb-qkoyA-iD.js → ReimbursementApprovalRulesPage-BB4c1_YZ-B3-dzOHa.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-CK3-Jqkd-ComGCWG4.js → ReimbursementDetailPage-DpWhzOF9-Dixn1uCw.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-fptOAJna-UPQyz9k9.js → ReimbursementPromoPage-CYS1ZeFL-DbUZbWTa.js} +8 -8
- package/dist/assets/{ReimbursementSetUpPage-CidrpT2g-C4LYSo0t.js → ReimbursementSetUpPage-CoOFmpfw-CzqYPddc.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Cy_Hediw-DbKZBLTq.js → ReimbursementsBulkReviewDrawerPage-DAYEgH4V-CKgr6iyS.js} +1 -1
- package/dist/assets/{ReloadCard-C81rGzOp-DY4k84ea.js → ReloadCard-clq1KPzy-DLLVDS4G.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-neRSjrhV-C6WBlOcq.js → ReportTableViewSelector-CU3PZ-xy-CDmAbwqP.js} +1 -1
- package/dist/assets/{ReportsPage-BhzQVaer-B4A4M4e5.js → ReportsPage-C5QPXAa--D9Rm-qp8.js} +5 -5
- package/dist/assets/{RevenueChart-x7uTbFlm-CNwMod8g.js → RevenueChart-BM8cNGoZ-OoJdgTQW.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-jXZCylzg-BIFUDhZH.js → ReviewDetailsPage-Dp29TV8A-pDKCfw94.js} +2 -2
- package/dist/assets/{ReviewOverlay-nlm2HnGw-9bQU05T1.js → ReviewOverlay-OXnAkRJ_-Di_D_VlI.js} +1 -1
- package/dist/assets/{RoleWithToolTip-C29QOzxS-BIz3hnmq.js → RoleWithToolTip-BCeMfqCC-DiZyrWD_.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CkPzofLN-BgCHEx2z.js → ScheduleDetailsFixedAssetsPage-BUWOvDMW-DaI6ZQoZ.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-BSZefKOh-6HOYgX85.js → ScheduleDetailsPage-F2KQ46TD-VVV77yxd.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-BW5M7Zfq-Cc7Psi6L.js → ScheduleSequenceTable-c-8N2OvE-DWSKrTJR.js} +1 -1
- package/dist/assets/{ScreenRoutes-DOxgrmyz.js → ScreenRoutes-BYoqwzEO.js} +1 -1
- package/dist/assets/{SetUpAccountSection-C703iFL6-DWHc95vH.js → SetUpAccountSection-CPw8BhAT-Bu28TndH.js} +1 -1
- package/dist/assets/{SignIn-D9K5FklU-C-Fq_guN.js → SignIn-DT4-gKMD-DgVi8USa.js} +6 -6
- package/dist/assets/{SignInScreen-pGoo9woj.js → SignInScreen-CdADJVAt.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-CBNtC74m-DqpxdGQ6.js → SpendManagementListViewPage-YoHK4LrJ-DYhZa44h.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-D_sa7WRd-CzMD5xEZ.js → SpendManagementPerTabPage-CEJxlQwu-D8XVtvOY.js} +1 -1
- package/dist/assets/{SpendManagementSection-DpZUTV6m-Dyv3RP83.js → SpendManagementSection-Dbk_Ojop-DcKtjVjR.js} +1 -1
- package/dist/assets/{StatementItem-DvdSsb8I-4NJSevH0.js → StatementItem-DO9WpE-R-Do-IIiY-.js} +5 -5
- package/dist/assets/StatementsPage-Cf8pwDhO-RC289M0h.js +58 -0
- package/dist/assets/{StatusSwitcher-hKYgwNLC-CE1foddz.js → StatusSwitcher-B523Fhna-CVWspTKV.js} +1 -1
- package/dist/assets/{SubTabSwitcher-aeDd9xiF-D4uOjs0t.js → SubTabSwitcher-Dgwgj3Si-U0zspkd_.js} +1 -1
- package/dist/assets/SummaryCard-CGteKBHk-27q94esm.js +1 -0
- package/dist/assets/{TaskManagementPage-D2Ooq8DR-DrMY4gdr.js → TaskManagementPage-CIQeYwEY-C7-23Lr5.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-DEqlZxa6-BNFFHAst.js → TimeRangeSwitcher-8lNpLdVr-Dj19rYPc.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-BppC6giF-D-wC9bQx.js → TimeframeSwitcher-B-l9fJ1Q-ByHm5vUq.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CbX9ElMN-Txpnr2g5.js → TimeframeSwitcherWithToggle-3yKIUhvE-DaSH_yQW.js} +2 -2
- package/dist/assets/{TopExCard-Cy6tPVSx-B-keVDu8.js → TopExCard-C-CBza7t-C8HWdf71.js} +1 -1
- package/dist/assets/{TopExDetailPage-Rtrcdkcp-BJDfbujg.js → TopExDetailPage-Dx_w2Wmt-By36tBTS.js} +8 -8
- package/dist/assets/{TransactionActivityLogPage-DbwSsjPJ-BIwIVqy-.js → TransactionActivityLogPage-CA6FGjPI-DoUnK6pL.js} +1 -1
- package/dist/assets/{TransactionDetailPage-D-vXAAB7-Bzb02Sjl.js → TransactionDetailPage-CpNGUBqP-gfLrfFlK.js} +1 -1
- package/dist/assets/{TransactionList-BruCNjQg-CPy3bOrg.js → TransactionList-CvRmT2Lq-C1JZRVpn.js} +1 -1
- package/dist/assets/{TransactionListBig-bp7q3prH-B3o9La4k.js → TransactionListBig-v8qd1Ec7-hwFVnuVq.js} +1 -1
- package/dist/assets/{TransactionListPage-ZfJsaVb8--vXsSJCl.js → TransactionListPage-C23zWqxy-DgePPgum.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-CldkuO2--QReUEWYz.js → TransactionVendorDetailPage-vpDqNBSu-BIkJjCOi.js} +1 -1
- package/dist/assets/{TransferDrawerPage-DswS6KZf-BpK3RBCC.js → TransferDrawerPage-5FY_zDCE-DJ5J1SOB.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-DWo7iRpO-gYNjYUSH.js → TreasuryOverviewPage-DDjaj1jW-B4JtoLhv.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-DQxCF3-4-BI9m1Cpo.js → TreasuryPromoPage-D3y0Te0d-DmBRPB0W.js} +1 -1
- package/dist/assets/TreasuryStatementsPage-BF_EZUjg-suQxt6u_.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-DH3su_rX-Dyk_wpPB.js → TreasuryTaxLetterPage-C1nYfVbO-eUqGz6CJ.js} +2 -2
- package/dist/assets/{TrendChart-BMHDaOeh-DUFeSEwp.js → TrendChart-DwYxYNR7-JcI7qpjF.js} +1 -1
- package/dist/assets/{TrendWithTransactions-DDLrmIrt-D7YkaYJE.js → TrendWithTransactions-BJnpKKqL-DKCgJJvT.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-3SW8Gj0Z-DxcmP_9M.js → UncategorizedAccountsMappingPage-CxlG2JUW-Cij2klA0.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-DPMy8dXP-Ds2V7iqZ.js → UnitIntegrationPage-DaIJxSo2-GGpI7ByY.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-BHpT2al--Bh-cR8rL.js → UploadAdditionalDocumentOverlay-Bw9ymrDY-BTVIu0dz.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-C6gEOhUv-DnLG0jax.js → Vendor2FAPopup-DxlOTzWL-DAG_NkfZ.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-CQ6OiO4V-vWpnVdE1.js +1 -0
- package/dist/assets/{VendorDetailPage-BC1FhaQA-BTYI8FHa.js → VendorDetailPage-BGrtc6EE-DmQ5F0In.js} +1 -1
- package/dist/assets/VendorDomesticWireDetailsPage-D5yME16K-CGPyvaCT.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-DYyPOA8D-SaXokDu7.js → VendorFiling1099EditablePage-A5wcCVBF-DUjQTYJL.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-Cpmk7rDk-CLDuk2Z1.js → VendorFirstReviewPage-Dr6MMvIq-LfXi6VDf.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-CWAWq6kq-BqWv0FEj.js → VendorInternationalWireDetailsPage-BJUaxg9g-C6pvbY6G.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-v2icyO6w-6aTsJwry.js +1 -0
- package/dist/assets/{VendorsAccountsSection-CGQ35Mhp-CZRiYNTG.js → VendorsAccountsSection-B9OpiDDc-Ck5imuYH.js} +1 -1
- package/dist/assets/{VerifyDevice-CfMJW1Vh-CQyEdsek.js → VerifyDevice-CViWQbOn-CG6KWpvG.js} +7 -7
- package/dist/assets/{VideoPlayer-BNBpjXJk-S1NV6cBn.js → VideoPlayer-D5QP-myQ-CVNLOpWk.js} +2 -2
- package/dist/assets/{VideoPopup-BF6lmB7l-C8AjwQYx.js → VideoPopup-_4nnxGFK-rc_W8uy0.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-Crj70lnR-CqPc_yNz.js → WarningsDrawerPage-D8X9a6pX-DcE35uzS.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-CaA6m3tQ-BxjiYTPx.js → ZeniAccountDetailPage-B2gRhBJz-BpnCGmCc.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-x_51gDs1-BURzAUSX.js → ZeniAccountListViewPage-Dc4IWyQw-6oEyCUyL.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-Csr24dri-Dtq04dNH.js → ZeniAccountNavBarPieces-CYTd-7fg-D7gLlXGG.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-lxKBk2r5-B3car8p6.js → ZeniAccountPromoPage-B5rTE2aZ-DtGW6mZ_.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-DUI4-2Zw-CqTcY3yC.js → ZeniAccountSetupPage-BlS6FEcT-D8fD5QNH.js} +1 -1
- package/dist/assets/{ZeniCopyright-DxEZ4DiK-Bx5L4V4v.js → ZeniCopyright-DbOXr6hr-D49zDt7K.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-4Nq4Sm9J-CWNMmcE5.js → ZeniTransferAmountSlider-DMdKnrKk-BOekYkfn.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-Ckn7-tS3.js → add-to-wallet-DgdBD8_G-Z21-4-a3.js} +1 -1
- package/dist/assets/{analytics-DgE91yP9.js → analytics-Dd9GkS_R.js} +1 -1
- package/dist/assets/{analyticsHelper-CL-t3Y2i-DqLgDKAm.js → analyticsHelper-BLLOc8oW-Bb5BI_Zu.js} +1 -1
- package/dist/assets/{analyticsHelper-qCgSbR3t.js → analyticsHelper-Cn36jH2S.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-6_ok8u4n.js → arrow-south-east-round-PEovUgvH-K7zlCGlW.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-DaMjzKK3.js → auto-transfer-rule-mbafm5D3-rBHUDSkc.js} +1 -1
- package/dist/assets/{chartTypes-B3501CSI-Eia1dEGg.js → chartTypes-zuOlWPZo-CqRIct--.js} +1 -1
- package/dist/assets/{commonDimensions-YcBBlmYP-HRUAmifl.js → commonDimensions-aMGDpjmW-UhXAGxHS.js} +1 -1
- package/dist/assets/{constants-DU2Tv8MD.js → constants-BydUCFaZ.js} +1 -1
- package/dist/assets/{core-CEu4PzGb.js → core-DjXOmtSJ.js} +1 -1
- package/dist/assets/{dash.all.min-wN4tXsVF.js → dash.all.min-CWcs0-Ft.js} +1 -1
- package/dist/assets/{detailCommon-C19MYPnq-B5eEk_1Z.js → detailCommon-CdZh0YNF-Bty6HpPL.js} +2 -2
- package/dist/assets/{downloadPdf-DPAqxw6u-DccTm81d.js → downloadPdf-BnXVGESU-CGO5_V0v.js} +1 -1
- package/dist/assets/{empty-CarmpCiV.js → empty-Be_kj3Mu.js} +1 -1
- package/dist/assets/{empty-SBaJLmT7.js → empty-BpWqyf7V.js} +1 -1
- package/dist/assets/{epic-jB8ji6P2.js → epic-B6XzQXM_.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-Cfao5pzw.js → gift-box-Cmt9OgIZ-DJPtxuMD.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CtMgv3E2.js → graphic-no-data-l-DU4J8fDt-znOHf3Hs.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CxhhGXfI.js → graphic-no-data-net-burn-l-CzmycA0m-53oymvWB.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Cr0KvGET.js → handshake-BPg58FML-ttNYOOdS.js} +1 -1
- package/dist/assets/{index-qEET5oej.js → index-B0Fm_ZMY.js} +1 -1
- package/dist/assets/{index-CM4tXRl_.js → index-BsyBnYxZ.js} +1 -1
- package/dist/assets/{index-DotN2qpo.js → index-COyPtNQ2.js} +1 -1
- package/dist/assets/{index-C65pc_ms.js → index-DhICZ-la.js} +1 -1
- package/dist/assets/{index-GSKpJ8ET.js → index-Dm-b67Hf.js} +6 -6
- package/dist/assets/{index-DdSqYqAO.js → index-SgTym3_u.js} +1 -1
- package/dist/assets/{index-CTIRcS5n.js → index-w81TKwF8.js} +1 -1
- package/dist/assets/{lexical-CnqcqOEB.js → lexical-C3TbZeLl.js} +1 -1
- package/dist/assets/{liveblocks-D1OOExFG.js → liveblocks-EGukjQZF.js} +1 -1
- package/dist/assets/{lottie-fNTw06NH.js → lottie-DiLnfF8e.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-B0oj9Ot5-CWtpcdPC.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BDWD3x8r-CFpEHrc_.js → mapSectionWithAcOnlyToTreeNode-rtn-dPyU-DWwT8Nhv.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-8mFwNdh5-CeSJa54a.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BkHI2m3e-DSk1PCnB.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-bQ2VDSub-CJiyKqIU.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CcMctgAq-lqSBZOT1.js +1 -0
- package/dist/assets/{mui-DenpH-hx.js → mui-BLkKBV85.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CMu9po0A.js → page-detail-CWX5S47F-D6GzdE4M.js} +1 -1
- package/dist/assets/{panelSelectedMixin-CzfD5-Zs-Z09J1JBQ.js → panelSelectedMixin-CzfD5-Zs-CBMeGjo8.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh--A7TRB5H.js → radio-default-CiSgisfh-B552CYET.js} +1 -1
- package/dist/assets/{react-BbEkWrBm.js → react-4oUCwWHz.js} +1 -1
- package/dist/assets/{react-BNXAqjdV.js → react-BCL5SMXn.js} +1 -1
- package/dist/assets/{react-CX4zcxjw.js → react-BDnWTul0.js} +1 -1
- package/dist/assets/{react-BGO_hhif.js → react-CXrmdcVg.js} +1 -1
- package/dist/assets/{react-BbsHWhNi.js → react-ChBDOzx3.js} +2 -2
- package/dist/assets/{react-D97zLppZ.js → react-CkV5VFp3.js} +1 -1
- package/dist/assets/{react-DvuAhc__.js → react-DiNjY5yl.js} +1 -1
- package/dist/assets/{react-B5LP5NK7.js → react-FSAp6Eni.js} +1 -1
- package/dist/assets/{recharts-9NtTDQfo.js → recharts-B8tzuQ8V.js} +1 -1
- package/dist/assets/{sentry-BZBky1_g.js → sentry-C2Rgx3zV.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DnxNebOP.js → shield-DOlUxcFf-BI7xxvqa.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DUpgxtrc-n-6zkqkw.js +1 -0
- package/dist/assets/{toChartData-DzatRnt8-Cq2-M4CL.js → toChartData-BNPIbcXQ-DT2tu_Ad.js} +1 -1
- package/dist/assets/{uploadAttachment-Bq8dk-Sm-DirS4o1A.js → uploadAttachment-4MEQNz0J-C1Mi8_qq.js} +1 -1
- package/dist/assets/{uploadReceipts-Dge0cNF1-BKdcUL2b.js → uploadReceipts-Dge0cNF1-C7ahzxC1.js} +1 -1
- package/dist/assets/{url-0W_uXmZ-.js → url-DdNhcJXF.js} +1 -1
- package/dist/assets/{url-Z1gMB4SW.js → url-i42p6QIP.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-B8bxkfF-.js → useLongPress-GCK2COYQ-Cz3dEUgW.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BPsPtX_C.js → usp-line-BBd1wKwW-DBnWZzCO.js} +1 -1
- package/dist/assets/{utils-CHibiken.js → utils-CQTOz44B.js} +1 -1
- package/dist/assets/{zeni-epic-state-BKgIzPpM.js → zeni-epic-state-TdgpFmku.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountInfoPage-DkpBGfrR-BAuNBIod.js +0 -18
- package/dist/assets/ChargeCardPromoPage-CKEnOseD-C5Oe_CBA.js +0 -222
- package/dist/assets/CustomerOnboardingContainerPage-BHPDhC3d-CAVfCCXg.js +0 -1
- package/dist/assets/EntityDetailPage-DSfZZ1JW-NbMT0IAK.js +0 -18
- package/dist/assets/ExpenseAutomationPage-DlhH-R-e-DCW88pdW.js +0 -1700
- package/dist/assets/MagicLinkACHDetailsPage-X1pXkZYT-7knh_ltw.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BDl8k_bB-ESO2QI-z.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Q4lIsHtG-J3sKHPD3.js +0 -1
- package/dist/assets/StatementsPage-73jGj5P2-DfWSq1-t.js +0 -58
- package/dist/assets/SummaryCard-CK8Gxbiu-DemkEVCq.js +0 -1
- package/dist/assets/TreasuryStatementsPage-CYkPtmaT-BgyV-fq7.js +0 -58
- package/dist/assets/VendorACHDetailsPage-LNCcubjL-BnzYtLeS.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-CLudahOt-DWedRRGC.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CUtums8t-Cnhhvl1i.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-D2u9MDI--Bj-YdG55.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Blr3egSm-C65_6eW3.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-3Hd8QHr2-D-fvMaDb.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-D-LTfKnD-D-V0iqTB.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CffU-RPP-Cn_Z85da.js +0 -1
- package/dist/assets/toCOABalancesWithID-D35Fk0m2-dL9iDsOU.js +0 -1
package/dist/assets/{NavigationDots-tWCw6Bpk-Mo0z1mhF.js → NavigationDots--7KEcIuu-eftMXpdw.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as n,aQ as y,o as a}from"./index-
|
|
1
|
+
import{V as n,aQ as y,o as a}from"./index-Dm-b67Hf.js";import{n as l}from"./mui-BLkKBV85.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="11a830c3-06fa-4618-9ce5-efcc8ade955c",o._sentryDebugIdIdentifier="sentry-dbid-11a830c3-06fa-4618-9ce5-efcc8ade955c")}catch{}})();const v=l.div`
|
|
2
2
|
text-align: center;
|
|
3
3
|
cursor: pointer;
|
|
4
4
|
`,u=l.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as P,a9 as K,cG as X,aR as Q,V as t,ac as Y,aS as Z,o as a,y as i,c as ee,N as q,a as te,F as z,gX as ae,al as le,cT as O,cL as U,cJ as ne,u as n,ii as oe,ba as re,c$ as ie,cZ as de,es as se,T as ce,eA as me,dn as he,bi as be,p as R}from"./index-
|
|
1
|
+
import{J as P,a9 as K,cG as X,aR as Q,V as t,ac as Y,aS as Z,o as a,y as i,c as ee,N as q,a as te,F as z,gX as ae,al as le,cT as O,cL as U,cJ as ne,u as n,ii as oe,ba as re,c$ as ie,cZ as de,es as se,T as ce,eA as me,dn as he,bi as be,p as R}from"./index-Dm-b67Hf.js";import{a as j}from"./sentry-C2Rgx3zV.js";import{n as o,c as ge}from"./mui-BLkKBV85.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./zeni-epic-state-TdgpFmku.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="25e37a66-0b4b-4771-8f41-e29411922a60",e._sentryDebugIdIdentifier="sentry-dbid-25e37a66-0b4b-4771-8f41-e29411922a60")}catch{}})();const w={width:new i(343,580,726),height:new i(n[6],n[6]),controlHeight:new i(n[6],n[6]),paddingTopBottom:new i(n[2],n[2]),marginRight:new i(n[2],n[2]),labelMarginLeft:new i(n[3],n[4]),labelMarginRight:new i(n[3],n[4]),labelMarginTop:new i(n[2],n[2])},ue={infoLabel:new q("smallRegular","standardRegular")},pe=z.getLocalizedStrings();function we({label:e,textField:l,additionalInfo:m,checkBoxFields:h,fetchState:g,style:S,toolTip:M,isOptionalLabel:v}){const s=P(),{formState:{errors:d}}=O(),$=ie(d,l.name);return t.jsxs(fe,{windowSize:s,style:S,isDisabled:l.isDisabled!=null,isError:$,children:[t.jsx(de,{isDisabled:l.isDisabled,label:e.label,style:{marginLeft:w.labelMarginLeft.value(s),marginRight:w.labelMarginRight.value(s),marginTop:w.labelMarginTop.value(s),width:e.width??"auto"},showTooltip:M!=null,tooltipTitle:M?.title,toolTipWidth:M?.width,isOptional:v}),t.jsxs(xe,{labelWidth:e.width,children:[t.jsx(se,{...l,style:{...l.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:w.controlHeight.value(s),cursor:"inherit"}}),g?.fetchState==="In-Progress"?t.jsx($e,{children:t.jsx(ce,{size:"Standard",start:!0})}):t.jsxs(ye,{children:[t.jsxs(Me,{windowSize:s,isRecommendationVisible:h.length>0,isError:$,children:[m.icon,m.label]}),h.length>0?h.map((u,p)=>t.jsxs(t.Fragment,{children:[t.jsx(me,{isHighlighted:!0,label:{label:u.label},checkBoxField:u.field,defaultChecked:u.field.defaultChecked,isDisabled:u.field.isDisabled!=null},he()),p<h.length-1?t.jsx(Se,{children:pe.common.texts.or}):null]})):null]})]})]})}const fe=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as l,V as t,p as r,o as i,al as s,y as o,e as d}from"./index-
|
|
1
|
+
import{J as l,V as t,p as r,o as i,al as s,y as o,e as d}from"./index-Dm-b67Hf.js";import{n as h}from"./mui-BLkKBV85.js";import{a}from"./sentry-C2Rgx3zV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8b292be2-dc75-4229-b418-a0ba5001815a",e._sentryDebugIdIdentifier="sentry-dbid-8b292be2-dc75-4229-b418-a0ba5001815a")}catch{}})();const m=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#3E4043"})),c=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#E9ECF0"})),v={chartMinHeight:new o(288,360)},f=h.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as n,o as t,e as s}from"./index-
|
|
1
|
+
import{V as n,o as t,e as s}from"./index-Dm-b67Hf.js";import{n as o}from"./mui-BLkKBV85.js";import{r as d,o as r}from"./graphic-no-data-l-DU4J8fDt-znOHf3Hs.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="76476259-fe89-4661-a09a-98c139e5bc77",e._sentryDebugIdIdentifier="sentry-dbid-76476259-fe89-4661-a09a-98c139e5bc77")}catch{}})();const a=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
padding: ${t.sp8} ${t.sp0} ${t.sp8} ${t.sp0};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as o,F as i,c0 as s,R as
|
|
1
|
+
import{V as o,F as i,c0 as s,R as l,al as d,p as a,am as c}from"./index-Dm-b67Hf.js";import{n as t}from"./mui-BLkKBV85.js";import{a as f}from"./ZeniCopyright-DbOXr6hr-D49zDt7K.js";import"./sentry-C2Rgx3zV.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./zeni-epic-state-TdgpFmku.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a8e23d2e-ff60-4d2b-a69c-446f0a839498",e._sentryDebugIdIdentifier="sentry-dbid-a8e23d2e-ff60-4d2b-a69c-446f0a839498")}catch{}})();const g=t.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 100vh;
|
|
4
4
|
position: relative;
|
|
@@ -12,7 +12,7 @@ import{V as o,F as i,c0 as s,R as c,al as d,p as l,am as a}from"./index-GSKpJ8ET
|
|
|
12
12
|
align-items: center;
|
|
13
13
|
justify-content: center;
|
|
14
14
|
text-align: center;
|
|
15
|
-
`,m=t(
|
|
15
|
+
`,m=t(c)`
|
|
16
16
|
height: 74px;
|
|
17
17
|
color: ${e=>e.theme.colors.grey1};
|
|
18
18
|
`,u=t.div`
|
|
@@ -25,11 +25,11 @@ import{V as o,F as i,c0 as s,R as c,al as d,p as l,am as a}from"./index-GSKpJ8ET
|
|
|
25
25
|
flex-direction: column;
|
|
26
26
|
justify-content: center;
|
|
27
27
|
align-items: center;
|
|
28
|
-
`,x=t(
|
|
28
|
+
`,x=t(l)`
|
|
29
29
|
color: ${e=>e.theme.colors.primary};
|
|
30
|
-
`,
|
|
30
|
+
`,y=t(d)`
|
|
31
31
|
color: ${e=>e.theme.colors.hero};
|
|
32
|
-
`,
|
|
32
|
+
`,b=t.div`
|
|
33
33
|
position: absolute;
|
|
34
34
|
transform: translate(-50%, -50%);
|
|
35
35
|
top: 50%;
|
|
@@ -38,9 +38,9 @@ import{V as o,F as i,c0 as s,R as c,al as d,p as l,am as a}from"./index-GSKpJ8ET
|
|
|
38
38
|
font-size: 400px;
|
|
39
39
|
font-weight: ${s.bold};
|
|
40
40
|
`,r=t.span`
|
|
41
|
-
color: ${
|
|
41
|
+
color: ${a.info};
|
|
42
42
|
&:hover {
|
|
43
43
|
text-decoration: underline;
|
|
44
44
|
cursor: pointer;
|
|
45
45
|
}
|
|
46
|
-
`;function _({onGoBack:e,onGoHome:n}){return o.jsxs(
|
|
46
|
+
`;function _({onGoBack:e,onGoHome:n}){return o.jsxs(g,{children:[o.jsx(b,{children:"404"}),o.jsxs(u,{children:[o.jsx(h,{}),o.jsxs(p,{children:[o.jsx(x,{children:i.getLocalizedStrings().notFoundPage.cantFindText}),o.jsxs(y,{children:[i.getLocalizedStrings().notFoundPage.pleaseText,o.jsx(r,{onClick:e,children:i.getLocalizedStrings().notFoundPage.goBackText}),i.getLocalizedStrings().notFoundPage.startOverText,o.jsx(r,{onClick:n,children:i.getLocalizedStrings().notFoundPage.homePageText})]})]}),o.jsx(m,{children:o.jsx(f,{})})]})]})}export{_ as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,g7 as ne,o as i,bP as oe,aU as se,F as v,e as J,J as W,a9 as re,cG as le,bD as ae,ac as ce,aa as w,aS as de,y as T,fE as pe,g8 as me,eM as ue,g9 as fe,ga as he,b0 as ge,u as I,ba as X,ai as Y,al as K,am as xe}from"./index-
|
|
1
|
+
import{V as t,g7 as ne,o as i,bP as oe,aU as se,F as v,e as J,J as W,a9 as re,cG as le,bD as ae,ac as ce,aa as w,aS as de,y as T,fE as pe,g8 as me,eM as ue,g9 as fe,ga as he,b0 as ge,u as I,ba as X,ai as Y,al as K,am as xe}from"./index-Dm-b67Hf.js";import{a as E}from"./sentry-C2Rgx3zV.js";import{n}from"./mui-BLkKBV85.js";import{FG as be,FH as $e,FI as ye,FJ as je}from"./zeni-epic-state-TdgpFmku.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.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]="f1bb674d-1cbb-4f6a-bf37-4e6b6c90f029",e._sentryDebugIdIdentifier="sentry-dbid-f1bb674d-1cbb-4f6a-bf37-4e6b6c90f029")}catch{}})();const{common:we}=v.getLocalizedStrings(),M={notePadding:new T(I[3],I[4]),noteGap:new T(I[0],6)},R=(e,o)=>`${e}.${o}`,Ie=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
row-gap: ${i.sp3};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as n,u as f}from"./index-
|
|
1
|
+
import{b as n,u as f}from"./index-Dm-b67Hf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="634f6f50-1592-4fda-a7f2-4a7ddc7cf4fc",e._sentryDebugIdIdentifier="sentry-dbid-634f6f50-1592-4fda-a7f2-4a7ddc7cf4fc")}catch{}})();const o=f[5],r=59,i=f[5],s=n.standardRegular.lineHeightValue,l=1,u=1e3;export{s as A,i as E,l as I,u as L,r as a,o as t};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as Z,J as v,a9 as Qt,cG as Kt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,aa as ye,F as P,h4 as ti,y as R,i7 as ii,b as Ne,T as oi,ay as tt,cn as it,b4 as ot,dq as st,cu as at,k4 as rt,u as w,i as si,k5 as ai,dn as he,a_ as ri,N as ni,a as nt,p as S,ai as li,bQ as _,cT as ue,g8 as pe,k6 as fe,aw as lt,a8 as dt,dx as E,ft as ct,gi as di,al as ee,im as ci,am as H,fH as hi,aW as $e,bb as me,k7 as ui,bN as ht,k8 as Re,bw as pi}from"./index-
|
|
1
|
+
import{e as Z,J as v,a9 as Qt,cG as Kt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,aa as ye,F as P,h4 as ti,y as R,i7 as ii,b as Ne,T as oi,ay as tt,cn as it,b4 as ot,dq as st,cu as at,k4 as rt,u as w,i as si,k5 as ai,dn as he,a_ as ri,N as ni,a as nt,p as S,ai as li,bQ as _,cT as ue,g8 as pe,k6 as fe,aw as lt,a8 as dt,dx as E,ft as ct,gi as di,al as ee,im as ci,am as H,fH as hi,aW as $e,bb as me,k7 as ui,bN as ht,k8 as Re,bw as pi}from"./index-Dm-b67Hf.js";import{a as g}from"./sentry-C2Rgx3zV.js";import{n as r,c as O}from"./mui-BLkKBV85.js";import{Gf as fi,Gg as mi,bL as X,bh as $,Eb as ut}from"./zeni-epic-state-TdgpFmku.js";import{k as gi}from"./SubTabSwitcher-Dgwgj3Si-U0zspkd_.js";import{d as pt}from"./useLongPress-GCK2COYQ-Cz3dEUgW.js";import{A as ft,t as mt,a as gt,E as xt,L as bt,I as wt}from"./NotificationsListConfig-f-Y-UtEy-BzHeGbqt.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.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]="96ecfceb-023a-4157-9a62-8228b37ae85c",e._sentryDebugIdIdentifier="sentry-dbid-96ecfceb-023a-4157-9a62-8228b37ae85c")}catch{}})();function xi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:h}){const u=v(),p=Z(),m=g.useCallback(x=>{d(x.id)},[d]),f=g.useCallback(x=>{h(x.id)},[h]);return e.length===0?null:t.jsxs(bi,{windowSize:u,children:[t.jsx(ii,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${p.colors.grey3}`},onTabChange:m}),t.jsx(gi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:f})]})}const bi=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
package/dist/assets/{OpExByVendorPage-eUvIAWzt-J9dFs64l.js → OpExByVendorPage-CF6Q-SV2-DWalefYD.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as H,i6 as Ce,F as B,e as J,ce as _e,ay as xe,V as t,bP as Se,aQ as ke,i4 as we,bE as ve,bD as Be,i7 as Pe,i8 as Oe,o as u,aU as Te,T as $e,y as F,b4 as ie,aE as le,aW as je,u as P,cg as De,ch as Ie,ci as Ne,bM as Ee,p as a,al as ce,b as Z,aZ as Me}from"./index-
|
|
1
|
+
import{J as H,i6 as Ce,F as B,e as J,ce as _e,ay as xe,V as t,bP as Se,aQ as ke,i4 as we,bE as ve,bD as Be,i7 as Pe,i8 as Oe,o as u,aU as Te,T as $e,y as F,b4 as ie,aE as le,aW as je,u as P,cg as De,ch as Ie,ci as Ne,bM as Ee,p as a,al as ce,b as Z,aZ as Me}from"./index-Dm-b67Hf.js";import{a as C,P as Ae}from"./sentry-C2Rgx3zV.js";import{n as m}from"./mui-BLkKBV85.js";import{F$ as Le}from"./zeni-epic-state-TdgpFmku.js";import{p as Fe,d as Ve,y as G,b as de,u as ee}from"./chartTypes-zuOlWPZo-CqRIct--.js";import{V as Re}from"./toChartData-BNPIbcXQ-DT2tu_Ad.js";import{m as V}from"./analyticsHelper-BLLOc8oW-Bb5BI_Zu.js";import{p as ze}from"./TimeRangeSwitcher-8lNpLdVr-Dj19rYPc.js";import{M as We}from"./TimeframeSwitcherWithToggle-3yKIUhvE-DaSH_yQW.js";import{C as Ke}from"./NoDataChart-Bd0aKX8D-BMtoTVvu.js";import{d as Ye}from"./NoDataTable-Bjbt7lt9-QawSofKO.js";import{H as Ge,k as oe}from"./detailCommon-CdZh0YNF-Bty6HpPL.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{I as He,R as U}from"./CollapsableReportTable-4-6Wne7j-Bn8DnqeK.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-bQ2VDSub-CJiyKqIU.js";import{d as re}from"./mapLoadingInProgressToTreeNode-B0oj9Ot5-CWtpcdPC.js";import{l as Je}from"./mapSpacerToTreeNode-8mFwNdh5-CeSJa54a.js";import{N as Ue,I as qe,X as Qe,Y as Xe,J as Ze,K as eo}from"./recharts-B8tzuQ8V.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";import"./TimeframeSwitcher-B-l9fJ1Q-ByHm5vUq.js";import"./graphic-no-data-l-DU4J8fDt-znOHf3Hs.js";import"./AccountRow-CxEUX108-Ctuhzest.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="50b459aa-8514-4be5-9e5d-5334b1375245",e._sentryDebugIdIdentifier="sentry-dbid-50b459aa-8514-4be5-9e5d-5334b1375245")}catch{}})();const oo=m.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,ro=m.div`
|
|
4
4
|
flex: display;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as i,V as d}from"./index-
|
|
1
|
+
import{e as i,V as d}from"./index-Dm-b67Hf.js";import{n}from"./mui-BLkKBV85.js";import"./sentry-C2Rgx3zV.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./zeni-epic-state-TdgpFmku.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.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]="13dccc4e-0472-42fa-ac40-eb92d32b816d",e._sentryDebugIdIdentifier="sentry-dbid-13dccc4e-0472-42fa-ac40-eb92d32b816d")}catch{}})();const r=n.div`
|
|
2
2
|
display: ${({isOpen:e})=>e?"block":"none"};
|
|
3
3
|
position: fixed;
|
|
4
4
|
top: 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as o,x as M,e as I,J as v,bD as ne,F as c,i as re,aQ as A,T as ie,b as ae,y as W,o as s,ce,aE as le,aW as de,R as ge,cE as pe,bz as me,u as $,cF as fe,aU as he,aV as ue,bb as xe,bM as we}from"./index-
|
|
1
|
+
import{V as o,x as M,e as I,J as v,bD as ne,F as c,i as re,aQ as A,T as ie,b as ae,y as W,o as s,ce,aE as le,aW as de,R as ge,cE as pe,bz as me,u as $,cF as fe,aU as he,aV as ue,bb as xe,bM as we}from"./index-Dm-b67Hf.js";import{a as N}from"./sentry-C2Rgx3zV.js";import{n as r}from"./mui-BLkKBV85.js";import{R as Se}from"./NavBarWithPicker-MP4pdS6O-ETw04dfI.js";import{m as je}from"./analyticsHelper-BLLOc8oW-Bb5BI_Zu.js";import{M as be}from"./TimeframeSwitcherWithToggle-3yKIUhvE-DaSH_yQW.js";import{I as ye,a as $e}from"./CollapsableReportTable-4-6Wne7j-Bn8DnqeK.js";import{M as V}from"./usp-line-BBd1wKwW-DBnWZzCO.js";import{F5 as Ce,F6 as Pe}from"./zeni-epic-state-TdgpFmku.js";import{D as ke,T as ze,C as ve}from"./mapSectionWithAcOnlyToTreeNode-rtn-dPyU-DWwT8Nhv.js";import{s as G}from"./mapTimeframeBalancesToTreeNode-BkHI2m3e-DSk1PCnB.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";import"./TimeframeSwitcher-B-l9fJ1Q-ByHm5vUq.js";import"./AccountRow-CxEUX108-Ctuhzest.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]="5f30a37f-d5ef-4eb5-806f-cfe21fd0314e",e._sentryDebugIdIdentifier="sentry-dbid-5f30a37f-d5ef-4eb5-806f-cfe21fd0314e")}catch{}})();const H="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",Y="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",Te=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -104,4 +104,4 @@ import{V as o,x as M,e as I,J as v,bD as ne,F as c,i as re,aQ as A,T as ie,b as
|
|
|
104
104
|
align-items: center;
|
|
105
105
|
justify-content: center;
|
|
106
106
|
margin-bottom: ${s.sp3};
|
|
107
|
-
`,Je=({forecastList:e,selectedForecastIndex:t,onForecastSelectionChanged:n,vsActualOn:a,onVsActualChanged:l,selectedTimeframe:d,onTimeframeChanged:m,onBackClick:p,isPandLReportFetching:i,onClickMenuIcon:u})=>{const f=v(),h=[];for(let g=0;g<e.length;++g)h.push(`${g}`);const x={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:h,valueToLabel:g=>e[parseInt(g)]?.name??"",selectedValue:`${t}`,titleTextStyle:ae.largeMedium,onPickerSelectionChanged:g=>{if(g!=null){const z=e[parseInt(g)];n?.(z.id,parseInt(g))}},styles:{justifyContent:f==="small"?"left":"center"},isPickerDisabled:i},onBackClick:p,showMenuIcon:f==="medium-compact"||f==="small",onClickMenuIcon:u},
|
|
107
|
+
`,Je=({forecastList:e,selectedForecastIndex:t,onForecastSelectionChanged:n,vsActualOn:a,onVsActualChanged:l,selectedTimeframe:d,onTimeframeChanged:m,onBackClick:p,isPandLReportFetching:i,onClickMenuIcon:u})=>{const f=v(),h=[];for(let g=0;g<e.length;++g)h.push(`${g}`);const x={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:h,valueToLabel:g=>e[parseInt(g)]?.name??"",selectedValue:`${t}`,titleTextStyle:ae.largeMedium,onPickerSelectionChanged:g=>{if(g!=null){const z=e[parseInt(g)];n?.(z.id,parseInt(g))}},styles:{justifyContent:f==="small"?"left":"center"},isPickerDisabled:i},onBackClick:p,showMenuIcon:f==="medium-compact"||f==="small",onClickMenuIcon:u},b={toggle:{label:c.getLocalizedStrings().reports.forecast.vsActual,isOn:a,onValueChanged:l},timeframe:{allowedTimeframes:["month","quarter","year"],selectedTimeframe:d,onTimeframeSelectionChanged:g=>m?.(g)}};return o.jsxs(We,{paddingLeft:L.contentPaddingLeft.value(f),paddingRight:L.contentPaddingRight.value(f),children:[o.jsx(Se,{...x}),i?"":o.jsx(Ue,{children:o.jsx(be,{...b})})]})},Ge=({report:e,type:t,isActualVsForecastOn:n,compareMode:a,onAccountBalanceClick:l,onCompareModeChanged:d,scrollPosition:m,onTableScroll:p,nodeOpenStatus:i,onNodeCollapseToggled:u})=>{const f=I(),h=v(),[x,b]=N.useState(void 0),[g,z]=N.useState(void 0),y=!(h==="small"||h==="medium-compact"),F=n===!0?"actual_vs_forecast":"none",T=`forecast.${e.reportId}`;return ce({componentName:T,enabled:e.fetchState==="Completed"}),N.useEffect(()=>{const S={reportId:`${e.reportId}+${e.forecast?.id}`,displayOrder:"ascending_date",reportFormat:"more_detailed",mode:F,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:$e(t)===!0&&n===!1?"filter_forecast_nil_balances":"filter_actual_forecast_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:we()};if(x==null||!le(g,e)){const w=Be(e,S,y);z(e),b(w)}else{const w=Ee(x,S,e,y);b(w)}},[t,n,e]),x!=null?o.jsx(ye,{backgroundColor:new de(f.colors.grey4),rootNodes:x,type:t,compareMode:a,isSticky:{isStickyHeader:y,isStickyName:y},treeNodePadding:{left:L.contentPaddingLeft.value(h),right:L.contentPaddingRight.value(h)},onAccountClick:l==null?void 0:(S,w)=>{l(S,w)},onCompareModeChanged:d,scrollPosition:m,onScroll:p,nodeOpenStatus:i,onNodeCollapseToggled:u}):null};function uo({selectedTimeframe:e,isForecastVsActualOn:t,compareMode:n,forecastList:a,selectedForecast:l,pandLreport:d,type:m,meetingUrl:p,analytics:i,onForecastSelectionChanged:u,onTimeframeChanged:f,onForecastVsActualsCompareToggle:h,onAccountBalanceClick:x,onCompareModeChanged:b,scrollPosition:g,onTableScroll:z,nodeOpenStatus:y,onNodeCollapseToggled:F,onBackClick:T,onClickMenuIcon:S}){const w=[a.fetchState,d.fetchState],R=l?.index??-1;return se(w)===!0||a.fetchState==="Completed"&&a.forecasts.length===0?o.jsx(Oe,{meetingUrl:p,onBackClick:T,onClickMenuIcon:S}):J([a.fetchState])===!0?o.jsx(U,{fetchState:Ye(w)}):o.jsxs(Ve,{children:[o.jsx(Je,{forecastList:a.forecasts,selectedForecastIndex:R,onForecastSelectionChanged:(j,D)=>{i?.trackForecastSwitch(M.Event.profitAndLossWithForecast,a.forecasts[D].name),u?.(j,D)},vsActualOn:t,onVsActualChanged:j=>{i?.trackForecastVsActualMode(M.Event.profitAndLossWithForecast,a.forecasts[R].name,j),h?.(j)},selectedTimeframe:e,onTimeframeChanged:j=>{i?.trackTimeframeSwitch(je(j),M.Event.profitAndLossWithForecast),f?.(j)},onBackClick:T,isPandLReportFetching:J([d.fetchState]),onClickMenuIcon:S}),d.fetchState==="In-Progress"?o.jsx(U,{fetchState:"In-Progress"}):o.jsx(Re,{children:o.jsx(Ge,{report:d,type:m,isActualVsForecastOn:t,compareMode:n,onAccountBalanceClick:x,onCompareModeChanged:b,scrollPosition:g,onTableScroll:z,nodeOpenStatus:y,onNodeCollapseToggled:F})})]})}const He=e=>e.reduce((t,n)=>t===!0&&n==="Completed",!0),se=e=>e.reduce((t,n)=>t===!0||n==="Error",!1),J=e=>e.reduce((t,n)=>t===!0||n==="Not-Started"||n==="In-Progress",!1),Ye=e=>He(e)===!0?"Completed":se(e)===!0?"Error":"In-Progress";export{uo as default,J as isAnyInProgress};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{B as pe,aR as De,b as te,o as u,p as H,J as le,V as i,bT as Me,e as ke,cT as Ve,aW as ae,F as ue,y as oe,bx as Fe,bW as qe,al as Re,aS as He,ae as me,u as Je,gV as Ke,am as Ge,N as Ye}from"./index-
|
|
1
|
+
import{B as pe,aR as De,b as te,o as u,p as H,J as le,V as i,bT as Me,e as ke,cT as Ve,aW as ae,F as ue,y as oe,bx as Fe,bW as qe,al as Re,aS as He,ae as me,u as Je,gV as Ke,am as Ge,N as Ye}from"./index-Dm-b67Hf.js";import{P as l,a as O}from"./sentry-C2Rgx3zV.js";import{n as v}from"./mui-BLkKBV85.js";import{P as p}from"./core-DjXOmtSJ.js";import{F as Ze}from"./SetUpAccountSection-CPw8BhAT-Bu28TndH.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="438822d6-e07a-48cc-882d-ca0215469ab0",t._sentryDebugIdIdentifier="sentry-dbid-438822d6-e07a-48cc-882d-ca0215469ab0")}catch{}})();function fe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function ge(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?fe(Object(r),!0).forEach(function(n){$e(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fe(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function re(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?re=function(e){return typeof e}:re=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},re(t)}function $e(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ae(t,e){return Xe(t)||Qe(t,e)||et(t,e)||tt()}function Xe(t){if(Array.isArray(t))return t}function Qe(t,e){var r=t&&(typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"]);if(r!=null){var n=[],a=!0,s=!1,c,m;try{for(r=r.call(t);!(a=(c=r.next()).done)&&(n.push(c.value),!(e&&n.length===e));a=!0);}catch(o){s=!0,m=o}finally{try{!a&&r.return!=null&&r.return()}finally{if(s)throw m}}return n}}function et(t,e){if(t){if(typeof t=="string")return he(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return he(t,e)}}function he(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function tt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var k=function(e,r,n){var a=!!n,s=l.useRef(n);l.useEffect(function(){s.current=n},[n]),l.useEffect(function(){if(!a||!e)return function(){};var c=function(){s.current&&s.current.apply(s,arguments)};return e.on(r,c),function(){e.off(r,c)}},[a,r,e,s])},se=function(e){var r=l.useRef(e);return l.useEffect(function(){r.current=e},[e]),r.current},J=function(e){return e!==null&&re(e)==="object"},rt=function(e){return J(e)&&typeof e.then=="function"},nt=function(e){return J(e)&&typeof e.elements=="function"&&typeof e.createToken=="function"&&typeof e.createPaymentMethod=="function"&&typeof e.confirmCardPayment=="function"},ye="[object Object]",at=function t(e,r){if(!J(e)||!J(r))return e===r;var n=Array.isArray(e),a=Array.isArray(r);if(n!==a)return!1;var s=Object.prototype.toString.call(e)===ye,c=Object.prototype.toString.call(r)===ye;if(s!==c)return!1;if(!s&&!n)return e===r;var m=Object.keys(e),o=Object.keys(r);if(m.length!==o.length)return!1;for(var h={},f=0;f<m.length;f+=1)h[m[f]]=!0;for(var x=0;x<o.length;x+=1)h[o[x]]=!0;var g=Object.keys(h);if(g.length!==m.length)return!1;var P=e,w=r,S=function($){return t(P[$],w[$])};return g.every(S)},Ie=function(e,r,n){return J(e)?Object.keys(e).reduce(function(a,s){var c=!J(r)||!at(e[s],r[s]);return n.includes(s)?(c&&console.warn("Unsupported prop change: options.".concat(s," is not a mutable property.")),a):c?ge(ge({},a||{}),{},$e({},s,e[s])):a},null):null},Oe="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",ve=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe;if(e===null||nt(e))return e;throw new Error(r)},ot=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe;if(rt(e))return{tag:"async",stripePromise:Promise.resolve(e).then(function(a){return ve(a,r)})};var n=ve(e,r);return n===null?{tag:"empty"}:{tag:"sync",stripe:n}},st=function(e){!e||!e._registerWrapper||!e.registerAppInfo||(e._registerWrapper({name:"react-stripe-js",version:"2.7.3"}),e.registerAppInfo({name:"react-stripe-js",version:"2.7.3",url:"https://stripe.com/docs/stripe-js/react"}))},ne=l.createContext(null);ne.displayName="ElementsContext";var Ue=function(e,r){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(r," in an <Elements> provider."));return e},ze=function(e){var r=e.stripe,n=e.options,a=e.children,s=l.useMemo(function(){return ot(r)},[r]),c=l.useState(function(){return{stripe:s.tag==="sync"?s.stripe:null,elements:s.tag==="sync"?s.stripe.elements(n):null}}),m=Ae(c,2),o=m[0],h=m[1];l.useEffect(function(){var g=!0,P=function(S){h(function(j){return j.stripe?j:{stripe:S,elements:S.elements(n)}})};return s.tag==="async"&&!o.stripe?s.stripePromise.then(function(w){w&&g&&P(w)}):s.tag==="sync"&&!o.stripe&&P(s.stripe),function(){g=!1}},[s,o,n]);var f=se(r);l.useEffect(function(){f!==null&&f!==r&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[f,r]);var x=se(n);return l.useEffect(function(){if(o.elements){var g=Ie(n,x,["clientSecret","fonts"]);g&&o.elements.update(g)}},[n,x,o.elements]),l.useEffect(function(){st(o.stripe)},[o.stripe]),l.createElement(ne.Provider,{value:o},a)};ze.propTypes={stripe:p.any,options:p.object};var it=function(e){var r=l.useContext(ne);return Ue(r,e)},ct=function(){var e=it("calls useElements()"),r=e.elements;return r};p.func.isRequired;var Te=l.createContext(null);Te.displayName="CustomCheckoutSdkContext";var lt=function(e,r){if(!e)throw new Error("Could not find CustomCheckoutProvider context; You need to wrap the part of your app that ".concat(r," in an <CustomCheckoutProvider> provider."));return e},ut=l.createContext(null);ut.displayName="CustomCheckoutContext";p.any,p.shape({clientSecret:p.string.isRequired,elementsOptions:p.object}).isRequired;var ie=function(e){var r=l.useContext(Te),n=l.useContext(ne);if(r&&n)throw new Error("You cannot wrap the part of your app that ".concat(e," in both <CustomCheckoutProvider> and <Elements> providers."));return r?lt(r,e):Ue(n,e)},dt=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},C=function(e,r){var n="".concat(dt(e),"Element"),a=function(o){var h=o.id,f=o.className,x=o.options,g=x===void 0?{}:x,P=o.onBlur,w=o.onFocus,S=o.onReady,j=o.onChange,$=o.onEscape,M=o.onClick,V=o.onLoadError,F=o.onLoaderStart,N=o.onNetworksChange,A=o.onConfirm,K=o.onCancel,B=o.onShippingAddressChange,D=o.onShippingRateChange,U=ie("mounts <".concat(n,">")),T="elements"in U?U.elements:null,E="customCheckoutSdk"in U?U.customCheckoutSdk:null,z=l.useState(null),_=Ae(z,2),y=_[0],W=_[1],L=l.useRef(null),q=l.useRef(null);k(y,"blur",P),k(y,"focus",w),k(y,"escape",$),k(y,"click",M),k(y,"loaderror",V),k(y,"loaderstart",F),k(y,"networkschange",N),k(y,"confirm",A),k(y,"cancel",K),k(y,"shippingaddresschange",B),k(y,"shippingratechange",D),k(y,"change",j);var G;S&&(e==="expressCheckout"?G=S:G=function(){S(y)}),k(y,"ready",G),l.useLayoutEffect(function(){if(L.current===null&&q.current!==null&&(T||E)){var I=null;E?I=E.createElement(e,g):T&&(I=T.create(e,g)),L.current=I,W(I),I&&I.mount(q.current)}},[T,E,g]);var de=se(g);return l.useEffect(function(){if(L.current){var I=Ie(g,de,["paymentRequest"]);I&&L.current.update(I)}},[g,de]),l.useLayoutEffect(function(){return function(){if(L.current&&typeof L.current.destroy=="function")try{L.current.destroy(),L.current=null}catch{}}},[]),l.createElement("div",{id:h,className:f,ref:q})},s=function(o){ie("mounts <".concat(n,">"));var h=o.id,f=o.className;return l.createElement("div",{id:h,className:f})},c=r?s:a;return c.propTypes={id:p.string,className:p.string,onChange:p.func,onBlur:p.func,onFocus:p.func,onReady:p.func,onEscape:p.func,onClick:p.func,onLoadError:p.func,onLoaderStart:p.func,onNetworksChange:p.func,onConfirm:p.func,onCancel:p.func,onShippingAddressChange:p.func,onShippingRateChange:p.func,options:p.object},c.displayName=n,c.__elementType=e,c},b=typeof window>"u",pt=l.createContext(null);pt.displayName="EmbeddedCheckoutProviderContext";var mt=function(){var e=ie("calls useStripe()"),r=e.stripe;return r};C("auBankAccount",b);C("card",b);var Se=C("cardNumber",b),Ce=C("cardExpiry",b),be=C("cardCvc",b);C("fpxBank",b);C("iban",b);C("idealBank",b);C("p24Bank",b);C("epsBank",b);C("payment",b);C("expressCheckout",b);C("paymentRequestButton",b);C("linkAuthentication",b);C("address",b);C("shippingAddress",b);C("paymentMethodMessaging",b);C("affirmMessage",b);C("afterpayClearpayMessage",b);var _e="https://js.stripe.com/v3",ft=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/;var gt=function(){for(var e=document.querySelectorAll('script[src^="'.concat(_e,'"]')),r=0;r<e.length;r++){var n=e[r];if(ft.test(n.src))return n}return null},xe=function(e){var r="",n=document.createElement("script");n.src="".concat(_e).concat(r);var a=document.head||document.body;if(!a)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return a.appendChild(n),n},ht=function(e,r){!e||!e._registerWrapper||e._registerWrapper({name:"stripe-js",version:"4.3.0",startTime:r})},Y=null,Q=null,ee=null,yt=function(e){return function(){e(new Error("Failed to load Stripe.js"))}},vt=function(e,r){return function(){window.Stripe?e(window.Stripe):r(new Error("Stripe.js not available"))}},St=function(e){return Y!==null?Y:(Y=new Promise(function(r,n){if(typeof window>"u"||typeof document>"u"){r(null);return}if(window.Stripe){r(window.Stripe);return}try{var a=gt();if(!(a&&e)){if(!a)a=xe(e);else if(a&&ee!==null&&Q!==null){var s;a.removeEventListener("load",ee),a.removeEventListener("error",Q),(s=a.parentNode)===null||s===void 0||s.removeChild(a),a=xe(e)}}ee=vt(r,n),Q=yt(n),a.addEventListener("load",ee),a.addEventListener("error",Q)}catch(c){n(c);return}}),Y.catch(function(r){return Y=null,Promise.reject(r)}))},Ct=function(e,r,n){if(e===null)return null;var a=e.apply(void 0,r);return ht(a,n),a},Z,We=!1,Ne=function(){return Z||(Z=St(null).catch(function(e){return Z=null,Promise.reject(e)}),Z)};Promise.resolve().then(function(){return Ne()}).catch(function(t){We||console.warn(t)});var bt=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];We=!0;var a=Date.now();return Ne().then(function(s){return Ct(s,r,a)})};const xt={containerHeight:new oe(656,720)},wt=v.div`
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as be,J as I,F as y,V as t,bD as le,aQ as a,bP as De,o as s,cm as Oe,cn as _e,T as U,aU as G,co as we,i as Le,b as $e,cp as Ae,aR as Ve,cq as Me,ap as We,cr as He,cs as Ke,b4 as Ue,aE as H,ct as Be,y as b,cu as Ee,cv as je,u as $,cw as ee,cf as N,cx as Se,a9 as Fe,ac as Ze,cy as qe,cz as Je,aK as Ye,ai as D,cA as Qe,al as O,am as te,p as A,cB as Xe,cj as ke,bb as ie,cC as Ie,bN as Ge,cD as et}from"./index-
|
|
1
|
+
import{e as be,J as I,F as y,V as t,bD as le,aQ as a,bP as De,o as s,cm as Oe,cn as _e,T as U,aU as G,co as we,i as Le,b as $e,cp as Ae,aR as Ve,cq as Me,ap as We,cr as He,cs as Ke,b4 as Ue,aE as H,ct as Be,y as b,cu as Ee,cv as je,u as $,cw as ee,cf as N,cx as Se,a9 as Fe,ac as Ze,cy as qe,cz as Je,aK as Ye,ai as D,cA as Qe,al as O,am as te,p as A,cB as Xe,cj as ke,bb as ie,cC as Ie,bN as Ge,cD as et}from"./index-Dm-b67Hf.js";import{P as ce,a as v}from"./sentry-C2Rgx3zV.js";import{n as i}from"./mui-BLkKBV85.js";import{oV as Ce,bg as Q}from"./zeni-epic-state-TdgpFmku.js";import{T as Re}from"./RoleWithToolTip-BCeMfqCC-DiZyrWD_.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.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]="a98d776c-13fd-40cf-bbc9-63527dfbe5a3",e._sentryDebugIdIdentifier="sentry-dbid-a98d776c-13fd-40cf-bbc9-63527dfbe5a3")}catch{}})();const P=y.getLocalizedStrings().peoplePage.header,S=[{key:"name",value:P.name,sortOrder:"ascending",width:new b(32,26,26,30,32)},{key:"role",value:P.role,sortOrder:"ascending",width:new b(18,17,17,21,19)},{key:"manager",value:P.manager,sortOrder:"ascending",width:new b(20,20,20,19,20)},{key:"department",value:P.department,sortOrder:"ascending",width:new b(20,20,20,19,20)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new b(10,17,17,11,9)}],K=[{key:"name",value:P.name,sortOrder:"ascending",width:new b(32,26,26,32,33)},{key:"role",value:P.role,sortOrder:"ascending",width:new b(58,57,57,57,58)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new b(10,17,17,11,9)}],tt=58;function it({userNameSticky:e,sortConfig:o,onColumnSortConfigChanged:l,mode:d}){const m=I(),[p,x]=v.useState(Ye(d==="off"?S:K));v.useEffect(()=>{const n=[...p];for(const r of n)r.key===o.sortKey?r.sortOrder=o.sortOrder:r.sortOrder="ascending";x(n)},[o.sortKey,o.sortOrder]);const h=(n,r)=>{let u=r;o.sortKey===n&&(u=r==="ascending"?"descending":"ascending"),l?.(n,u)};return t.jsx(rt,{height:tt,"data-testid":a("people-list-header-row"),children:p.map(n=>t.jsxs(lt,{userNameSticky:!!e&&n.key==="name",sortDataValue:o.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:m,children:[t.jsxs(dt,{"data-testid":a("people-list-header",n.key),onClick:()=>h(n.key,n.sortOrder),children:[t.jsx(D,{children:n.value}),t.jsx(ot,{sortDataValue:o.sortKey,headerdata:n,children:t.jsx(Qe,{width:12,height:12})})]}),t.jsx(at,{isVisible:o.sortKey===n.key&&n.key!=="name",children:t.jsx(nt,{"data-testid":a("people-list-header-sort-cancel",n.key),onClick:()=>h("name","ascending")})})]},n.key))})}const st=ce.memo(it),ot=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as h,P as n}from"./sentry-
|
|
1
|
+
import{a as h,P as n}from"./sentry-C2Rgx3zV.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-BKSXWnFR-BT4vvSaJ.js → ProductsCarousel-CJlGSrBH-C82GY9tH.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 q,aq as G,al as T,da as H,p as v}from"./index-
|
|
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 q,aq as G,al as T,da as H,p as v}from"./index-Dm-b67Hf.js";import{a as y}from"./sentry-C2Rgx3zV.js";import{n as i}from"./mui-BLkKBV85.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]="e29bed4d-0320-4805-b471-d6c897e0a302",e._sentryDebugIdIdentifier="sentry-dbid-e29bed4d-0320-4805-b471-d6c897e0a302")}catch{}})();const u=I.getLocalizedStrings(),w={large:{labelComp:q,title:G,subtitle:T,seeMoreLink:T}},J={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},r=J.large,Y=i.div`
|
|
2
2
|
width: ${e=>e.scale*r.width}px;
|
|
3
3
|
height: ${e=>e.scale*r.height}px;
|
|
4
4
|
overflow: hidden;
|
package/dist/assets/{PromoBaseCards-BYT9nEJT-1c2PW57m.js → PromoBaseCards-fx9bhHkF-5GD0MDQm.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
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,u as p}from"./index-
|
|
1
|
+
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,u as p}from"./index-Dm-b67Hf.js";import{c as i,n as g,k as f}from"./mui-BLkKBV85.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]="bd0c5e82-eb1c-4031-a6b9-bded5d2f0519",o._sentryDebugIdIdentifier="sentry-dbid-bd0c5e82-eb1c-4031-a6b9-bded5d2f0519")}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)},u={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 d=b();return r.jsxs(B,{cardPromoType:$,windowSize:d,shouldAnimate:l,forListPage:h,forDashboard:s,style:x,children:[w&&r.jsx(P,{windowSize:d,forDashboard:s,children:r.jsx(m,{})}),r.jsx(j,{windowSize:d,forDashboard:s,forListPage:h,children:r.jsx(z,{})}),r.jsx(L,{windowSize:d,forDashboard:s,forListPage:h,children:o}),r.jsx(S,{windowSize:d,forDashboard:s,forListPage:h,children:r.jsx(y,{})})]})},A=({cardText:o,shouldAnimate:l,showChip:w,forDashboard:s,forListPage:h,cardPromoType:$,style:x})=>{const d=b();return r.jsxs(W,{cardPromoType:$,windowSize:d,shouldAnimate:l,forListPage:h,forDashboard:s,style:x,children:[w&&r.jsx(P,{windowSize:d,forDashboard:s,children:r.jsx(m,{})}),r.jsx(k,{windowSize:d,forDashboard:s,forListPage:h,children:r.jsx(v,{})}),r.jsx(L,{windowSize:d,forDashboard:s,forListPage:h,children:o}),r.jsx(S,{windowSize:d,forDashboard:s,forListPage:h,children:r.jsx(y,{})})]})},C=f`
|
|
2
2
|
0%{
|
|
3
3
|
transform: rotate(12.4deg);
|
|
4
4
|
translate: ${e.sp0} ${e.sp0};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
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,bw as P,eQ as v,u as t}from"./index-
|
|
1
|
+
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,bw as P,eQ as v,u as t}from"./index-Dm-b67Hf.js";import{n as o}from"./mui-BLkKBV85.js";import"./sentry-C2Rgx3zV.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./zeni-epic-state-TdgpFmku.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.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]="aac4613e-c9ec-40cb-8bf4-015e6875f4b6",e._sentryDebugIdIdentifier="sentry-dbid-aac4613e-c9ec-40cb-8bf4-015e6875f4b6")}catch{}})();const s={containerPaddingTop:new c(t[5],t[7]),containerPaddingBottom:new c(t[5],t[5]),containerPaddingLeftRight:new c(t[6],t[11])},_=o.div`
|
|
2
2
|
border-radius: inherit;
|
|
3
3
|
max-width: 520px;
|
|
4
4
|
text-align: center;
|
package/dist/assets/{QBOSetupSection-lgv5wVlg-Db43UmDc.js → QBOSetupSection-D-fnn99E-yQD39UVj.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
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 W,eQ as B,fH as N,aW as h,ai as f,u as r}from"./index-
|
|
1
|
+
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 W,eQ as B,fH as N,aW as h,ai as f,u as r}from"./index-Dm-b67Hf.js";import{n}from"./mui-BLkKBV85.js";import Q from"./QBOConnectionDialog-CGAr0mXC-CrSLQG4V.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]="85420474-52ac-48ad-a072-aaf6c6209125",e._sentryDebugIdIdentifier="sentry-dbid-85420474-52ac-48ad-a072-aaf6c6209125")}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])},_={title:new D("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:t=!1,isValid:d,saveConnectionState:p,isQBOPopupOpen:y,companyName:$,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(E,{windowSize:s,children:[i.jsxs(H,{windowSize:s,children:[s==="small"?i.jsx(R,{children:d?i.jsx(K,{}):i.jsx(U,{})}):null,i.jsx(A,{windowSize:s,children:S})]}),i.jsxs(F,{windowSize:s,children:[i.jsxs(G,{windowSize:s,children:[i.jsxs(q,{children:[i.jsx(J,{}),i.jsx(M,{windowSize:s}),i.jsx(L,{})]}),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(Q,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:y,companyName:$,saveConnectionState:p,handleOnConnectClick:b,handleGoBack:()=>w(!1)})]})},m=()=>{const{tags:e}=u.getLocalizedStrings().customerOnboardingPage,{connected:t}=e;return i.jsx(N,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:t,textColor:{color:new h(c.successDark),borderColor:new h(c.successDark)}})},E=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -8,7 +8,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
|
|
|
8
8
|
align-items: center;
|
|
9
9
|
padding-top: ${o.sp3};
|
|
10
10
|
padding-bottom: ${o.sp3};
|
|
11
|
-
width: ${e=>
|
|
11
|
+
width: ${e=>l.sectionWidth.valuePx(e.windowSize)};
|
|
12
12
|
`,A=n.div`
|
|
13
13
|
display: flex;
|
|
14
14
|
align-items: center;
|
|
@@ -17,7 +17,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
|
|
|
17
17
|
`,F=n.div`
|
|
18
18
|
display: flex;
|
|
19
19
|
flex-direction: column;
|
|
20
|
-
width: ${e=>
|
|
20
|
+
width: ${e=>l.sectionWidth.valuePx(e.windowSize)};
|
|
21
21
|
background-color: ${e=>e.theme.colors.grey5};
|
|
22
22
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
23
23
|
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
@@ -25,7 +25,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
|
|
|
25
25
|
fill: ${e=>e.theme.colors.grey1};
|
|
26
26
|
justify-content: space-between;
|
|
27
27
|
box-sizing: border-box;
|
|
28
|
-
padding: ${e=>
|
|
28
|
+
padding: ${e=>l.containerPadding.valuePx(e.windowSize)};
|
|
29
29
|
&:hover {
|
|
30
30
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
31
31
|
fill: ${e=>e.theme.colors.primary};
|
|
@@ -41,7 +41,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
|
|
|
41
41
|
width: 100%;
|
|
42
42
|
display: flex;
|
|
43
43
|
justify-content: space-between;
|
|
44
|
-
row-gap: ${e=>
|
|
44
|
+
row-gap: ${e=>l.topElementsRowGap.valuePx(e.windowSize)};
|
|
45
45
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
46
46
|
`,V=n(f)`
|
|
47
47
|
display: flex;
|
|
@@ -59,8 +59,8 @@ 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
|
|
|
59
59
|
color: ${e=>e.theme.colors.primary};
|
|
60
60
|
cursor: pointer;
|
|
61
61
|
`,M=n(W)`
|
|
62
|
-
height: ${e=>
|
|
63
|
-
width: ${e=>
|
|
62
|
+
height: ${e=>l.arrowIconWidthHeight.valuePx(e.windowSize)};
|
|
63
|
+
width: ${e=>l.arrowIconWidthHeight.valuePx(e.windowSize)};
|
|
64
64
|
color: ${e=>e.theme.colors.hero};
|
|
65
65
|
`,L=n(B)`
|
|
66
66
|
height: ${o.sp4};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as W,u as L,e as G,J as M,F as U,a9 as J,aR as K,aK as X,cG as H,V as r,bD as Q,ac as Y,aS as Z,o as b,g8 as ee}from"./index-
|
|
1
|
+
import{y as W,u as L,e as G,J as M,F as U,a9 as J,aR as K,aK as X,cG as H,V as r,bD as Q,ac as Y,aS as Z,o as b,g8 as ee}from"./index-Dm-b67Hf.js";import{a as B}from"./sentry-C2Rgx3zV.js";import{n as c}from"./mui-BLkKBV85.js";import{b as te,f as le,o as T,l as _}from"./FollowStepsSection-DxAp4i9T-Cs3p7RFB.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./zeni-epic-state-TdgpFmku.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="46cf469d-65aa-41d6-9915-85b0d6909c26",e._sentryDebugIdIdentifier="sentry-dbid-46cf469d-65aa-41d6-9915-85b0d6909c26")}catch{}})();const $="reimbursementApprovalRuleDetailPage",C="lowerBound",j="upperBound",I="steps",h="applyToExistingReimbursements",ae={footerPadding:new W(L[2],L[3])};function Re({localData:e,approvalUpdateActionType:l,isLowerBoundDisabled:t=!1,isUpperBoundDisabled:o=!0,hideUpperBoundField:i=!1,onBackClick:s,onApprovalRuleDataUpdated:g,onResetClick:E,onSaveRuleClick:N,onSaveRuleSuccess:w}){const F=G(),A=M(),a=U.getLocalizedStrings().commonSetUp.approval,S=U.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=re(e,l==="approval_create"&&!t),y=J({mode:"all",reValidateMode:"onChange",defaultValues:x}),u=e.remiSetupApproverViewUpdateData?.updateStatus,R=K(u?.fetchState),{upperBound:P}=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 z=y.handleSubmit(()=>{N()}),q=async(n,p)=>{g(p)};return B.useEffect(()=>{const n=y.watch((p,{name:D})=>{if(D!=null&&p!=null){const O=X(p);H(()=>q(D,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:l==="approval_create"?a.newApproval:a.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:z,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:P===1/0?Number.MAX_SAFE_INTEGER-1:P-1,min:v,validate:n=>t?!0:n!=null&&n>v},isDisabled:t,additionalInfoLabel:a.firstRuleLowerBoundInfoLabel,additionalErrorLabel:a.firstRuleErrorInfoLabel},secondText:{type:"number",name:j,placeholder:"Infinity",isDisabled:o,hideField:i,additionalInfoLabel:a.upperBoundInfoLabel}}),r.jsx(ce,{}),r.jsx(le,{sectionId:I,label:{label:a.followStepsLabel},approversPlaceholder:a.approversPlaceholder,notifiersPlaceholder:a.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(n=>n.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:V,stepsInfo:x[I],userSelectPlaceholder:a.userSelectPlaceholder,approveNotifyPlaceholder:a.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})}),r.jsx(Z,{formId:k($),primaryBtn:{label:a.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:l==="approval_create"&&d.length===0?null:r.jsx(ee,{name:h,mode:"always_on",checkBoxes:[{value:h,label:a.applyToExistingReimbursements,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:a.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:E},containerStyle:{justifyContent:A==="small"?"space-between":"center"},style:{padding:ae.footerPadding.valuePx(A)},separatorStyle:{marginRight:b.sp4}})]})})]})}const re=(e,l)=>{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]:l?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,l,t,o,i)=>i&&i.length>0?i.map((s,g)=>({stepIndex:g,stepType:{selectedOption:s.action,allOptions:_},actors:{allUsers:l,selectedUsers:se(e,s.actors),allNonUsers:o,selectedNonUsers:ne(t,s.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:_},actors:{allUsers:l,selectedUsers:[],allNonUsers:o,selectedNonUsers:[]}}],se=(e,l)=>e.filter(t=>t.userId!=null&&l.findIndex(o=>o.userId===t.userId)>-1),ne=(e,l)=>e.filter(t=>l.findIndex(o=>o.subType===t.value)>-1),k=e=>`${e}_form`,Pe=e=>`${e}`,ie=c.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
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 P,bU as T,cq as q,cr as O,cs as K,d1 as J,u as l,ba as Q,N as k,b9 as X,p as z,c_ as Y,bu as Z,b as ee}from"./index-
|
|
1
|
+
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 P,bU as T,cq as q,cr as O,cs as K,d1 as J,u as l,ba as Q,N as k,b9 as X,p as z,c_ as Y,bu as Z,b as ee}from"./index-Dm-b67Hf.js";import{n as i}from"./mui-BLkKBV85.js";import{a as te}from"./sentry-C2Rgx3zV.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./zeni-epic-state-TdgpFmku.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.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]="bdae5b23-87db-4ffb-9d88-fd9c3df933fd",e._sentryDebugIdIdentifier="sentry-dbid-bdae5b23-87db-4ffb-9d88-fd9c3df933fd")}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)},U={stepper:new k("smallRegular","standardRegular"),amount:new k("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)},_={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(T,{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(T,{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,H)=>t.jsxs(A,{children:[t.jsx(R,{children:d.subType!=null?a.nonUsers[d.subType].label:null}),u.operator!="is"?t.jsx(L,{className:"operator",children:u.operator}):null]},`${d.subType}_${H}`)),u.actors.map(d=>t.jsxs(A,{children:[t.jsxs(R,{children:[d.firstName," ",d.lastName]}),u.operator!="is"?t.jsx(L,{className:"operator",children:u.operator}):null]},d.userId))]},E))})}),g?t.jsx(q,{titleComponent:t.jsx(K,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(O,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:_}):null]})},ie=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
|
|
@@ -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-GSKpJ8ET.js";import{a as p}from"./sentry-BZBky1_g.js";import{n as r}from"./mui-DenpH-hx.js";import{a as ri}from"./liveblocks-D1OOExFG.js";import{bL as oi,bP as ni,FL as li}from"./zeni-epic-state-BKgIzPpM.js";import si from"./InvoiceUploadSection-B9q7nIs0-DhF51Ukp.js";import{r as di,h as f,u as ci}from"./types-DyvtCprH-NFPm5TaG.js";import"./core-CEu4PzGb.js";import"./lottie-fNTw06NH.js";import"./recharts-9NtTDQfo.js";import"./analytics-DgE91yP9.js";import"./lexical-CnqcqOEB.js";import"./utils-CHibiken.js";import"./AttachmentView-duTVxc9g-Cx51cWLo.js";import"./uploadReceipts-Dge0cNF1-BKdcUL2b.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]="e72bc4d5-c37f-495b-b1e9-e3030e383255",e._sentryDebugIdIdentifier="sentry-dbid-e72bc4d5-c37f-495b-b1e9-e3030e383255")}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{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-Dm-b67Hf.js";import{a as p}from"./sentry-C2Rgx3zV.js";import{n as r}from"./mui-BLkKBV85.js";import{a as ri}from"./liveblocks-EGukjQZF.js";import{bL as oi,bP as ni,FL as li}from"./zeni-epic-state-TdgpFmku.js";import si from"./InvoiceUploadSection-BEp8eQB4-DHRScRES.js";import{r as di,h as f,u as ci}from"./types-DyvtCprH-NFPm5TaG.js";import"./core-DjXOmtSJ.js";import"./lottie-DiLnfF8e.js";import"./recharts-B8tzuQ8V.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";import"./AttachmentView-Cxyodtel-B24U0bgX.js";import"./uploadReceipts-Dge0cNF1-C7ahzxC1.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`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
|