@zeniai/web-cockpit-ui 1.13.90-dev → 1.13.91-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-ppaaVv4t-BnOUfoFz.js → ACHDetailsPage---jqahtW-HkPM6iNK.js} +1 -1
- package/dist/assets/{AIPerformancePage-brocrTLA-C9EDr2D4.js → AIPerformancePage-CqtdCyg8-Dj0j3-W5.js} +36 -36
- package/dist/assets/{AccountInfoPage-BkqXbGUJ-DXuI8tNZ.js → AccountInfoPage-Bj1CYa-r-6hrIafHf.js} +2 -2
- package/dist/assets/{AccountInfoPageContent-DOrQxiUF-2yx_ZhMt.js → AccountInfoPageContent-qqbfRfuR-DLDodhYL.js} +20 -20
- package/dist/assets/{AccountReconDetailsDrawerPage-i6rVi1gY-DVchfPsP.js → AccountReconDetailsDrawerPage-B4UwcNN9-Crki_oBL.js} +18 -18
- package/dist/assets/AccountRow-CPX-627p-B4ZaO0oz.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-BvFE5A3N-C__nnIqn.js → AccountsPromoCardStack-DJRAw09x-KYhdIp34.js} +26 -26
- package/dist/assets/{AddAddressForCardDrawer-BV2BSzaD-CBI5bfsC.js → AddAddressForCardDrawer-C16ksTIf-_DtEs9T5.js} +1 -1
- package/dist/assets/{AddToWalletPage-DTEIuDRq-CzKzLxkn.js → AddToWalletPage-CDP1oPrv-D581H1KG.js} +18 -18
- package/dist/assets/{AgingReportsPage-B8iVxaQX-z0eVPQ8X.js → AgingReportsPage-BE4plS7V-BI8-4bNE.js} +7 -7
- package/dist/assets/{AllUserItems-BepRyHp7-6smxMTUs.js → AllUserItems-hoI2_gnV-BVf131yZ.js} +8 -8
- package/dist/assets/{ApAgingDetailPage-DOObMUqB-DRL-pTDS.js → ApAgingDetailPage-Lxprtz8c-v17bsYA_.js} +3 -3
- package/dist/assets/{AppBasePage-Ob8EkU54-B4IzJNVZ.js → AppBasePage-DNOkJf4q-CMKV9Zw9.js} +1 -1
- package/dist/assets/{AppDrawerContent-CNsKktFP-oEQQGdma.js → AppDrawerContent-DG2Jr298-DulxRmba.js} +10 -10
- package/dist/assets/{ApprovalRulesSettingsPage-Bn7LOelK-C_JBTy7y.js → ApprovalRulesSettingsPage-DnKXln0A-Dwcdgf1j.js} +6 -6
- package/dist/assets/{ArAgingChart-C0hTtEmV-Cp3DCSeq.js → ArAgingChart-BRcy3--o-CqONheoM.js} +7 -7
- package/dist/assets/{ArAgingDetailPage-C_E_xPwf-CoqFi7sc.js → ArAgingDetailPage-Djsocm6M-DY45zDqC.js} +3 -3
- package/dist/assets/{AttachmentView-CATl3tNf-DCa2zXLn.js → AttachmentView-C3AzH7cN-Csi7tXqw.js} +8 -8
- package/dist/assets/{BankAccountSection-VSbZyxoY-BkprL32R.js → BankAccountSection-6zosSfPV-CL3CT6a1.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-a39s142r-4WcZfRoK.js → BankAccountWarningSection-CWeN3me0-QfeSw0RL.js} +6 -6
- package/dist/assets/{BankConnectionsSettingsPage-CBavGNdc-DWKqHO49.js → BankConnectionsSettingsPage-C6e0pgD4-B1leagLf.js} +22 -22
- package/dist/assets/{BillDetailPage-uMG3JJPb-ClGgqpml.js → BillDetailPage-DyIokQbf-BaKgZbi4.js} +9 -9
- package/dist/assets/{BillPayApprovalRuleDetailPage-Bmrg1Wxh-CFroqaxM.js → BillPayApprovalRuleDetailPage-BOhQfwEj-CAExLIKt.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-BN21qPTb-BwOgIMfY.js → BillPayApprovalRulesPage-CSua3b4v-Cw1EavO3.js} +7 -7
- package/dist/assets/{BillPayPromoPage-DoP2oC8W-D-cHzeZ4.js → BillPayPromoPage-CtenNypw-CjfButz0.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-o-V-9aI5-DuW6yWFa.js → BillPaySetUpPage-CAnvQ_-Q-DJBEmdYy.js} +1 -1
- package/dist/assets/{BillingSettingsPage-CX-rbxzB-D5hgrymw.js → BillingSettingsPage-CjSAhEFl-tgXS9QLV.js} +4 -4
- package/dist/assets/{BillsBulkReviewDrawerPage-_qgURJjv-CemkDBxg.js → BillsBulkReviewDrawerPage-B62rj2kN-BUJLVUNP.js} +1 -1
- package/dist/assets/{BoxItem-CHPfWPEF-lXs1y6iB.js → BoxItem-Cqmd_7h4-S5g5H_Jr.js} +1 -1
- package/dist/assets/BusinessVerificationPage-DT24fycp-CWdqg83h.js +140 -0
- package/dist/assets/{CardNumberSubText-dxYfM6ph-B1OZ5t3N.js → CardNumberSubText-DszoXtgg-ySKglJLN.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BfTC3IBm-BcRVF9pL.js → CashbackDetailPage-DAwARNZD-3Wx6cNnB.js} +13 -13
- package/dist/assets/{ChargeCardDetailPage-npqfreRG-D_PNn6ZE.js → ChargeCardDetailPage-BzbR-Z63-7lzvBesN.js} +40 -40
- package/dist/assets/{ChargeCardListPage-Dbx1ymB9-DiXO1BWI.js → ChargeCardListPage-DSOp7sFg-CW3N5mrs.js} +10 -10
- package/dist/assets/{ChargeCardListTable-qk9tQ6Kb-DR0FaH4k.js → ChargeCardListTable-BE4it4le-6GBRyFGt.js} +10 -10
- package/dist/assets/{ChargeCardPromoPage-CsItH2IC-BEXKS9-8.js → ChargeCardPromoPage-DOibcN9n-8P5nzLqn.js} +4 -4
- package/dist/assets/{ChargeCardSetupPage-D5LWY3-P-BB2kARlQ.js → ChargeCardSetupPage-Dm_N5oDM-BxIAhVV2.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-vYbnt2WJ-CDBr97Hk.js → ChargeCardStatementsPage-Dhqs5CF4-Be58aAaq.js} +2 -2
- package/dist/assets/{ChargeCardUtils-k5Cmi_bM-xJoIL5jf.js → ChargeCardUtils-oF0M6Gmc-CWcylJdd.js} +1 -1
- package/dist/assets/{ChaseOverlay-DQz9r9Pp-Bwx2nGMD.js → ChaseOverlay-DPgGIuyV-JigHbzQk.js} +7 -7
- package/dist/assets/CheckDepositDrawerPage-DaaWfNin-BVXQpqWr.js +206 -0
- package/dist/assets/{CollapsableReportTable-Dp1985is-CgJ_JGJs.js → CollapsableReportTable-DMr2UDgH-cuAz2CYU.js} +29 -29
- package/dist/assets/{CompanyOfficerDetailsSection-CGewbsKm-DBM7Hns2.js → CompanyOfficerDetailsSection-B_cIues7-BNMnvkxE.js} +19 -19
- package/dist/assets/{CompanyPassportCard-Dp3a8GH8-qRGWLoZI.js → CompanyPassportCard-CHF83hfN-BGYNkzga.js} +2 -2
- package/dist/assets/{CompanyPassportPage-CS1LPj5f-CxHtTINk.js → CompanyPassportPage-C5W3KcDY-Bzodetvj.js} +29 -29
- package/dist/assets/CompleteProfile-MP9AF8Iu-CvhmGgEz.js +36 -0
- package/dist/assets/{ConfettiBurst-DX1P5VT_-C7tIIZfu.js → ConfettiBurst-DVT9EpwF-DHA9TDKH.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BL1BXGvy-Vx1XM-1z.js → CreateOrEditVendorPage-DVbYQaWM-DGXxCdMQ.js} +13 -13
- package/dist/assets/{CreditCardPaymentDrawerPage-D6-R3DiA-ByQ_c4QS.js → CreditCardPaymentDrawerPage-D2qT7vsE-Bf1M1_AV.js} +10 -10
- package/dist/assets/{CreditCardPaymentPlgSection-YcsIIUkG-C-zCY8ZF.js → CreditCardPaymentPlgSection-7cmMRTQm-CcPhomOR.js} +6 -6
- package/dist/assets/{CurrencySelectField-CH65s5Fc-DGotu77i.js → CurrencySelectField-ClhIJFVw-Cum1rEqk.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-DCHbvIb1-4vnrfrOn.js → CustomerOnboardingActivationPage-D-Ihd-H0-BECSi6lI.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-C9jXmYuH-DO8DpQlg.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Cz40bZgg-6UjJ2BJ9.js → CustomerOnboardingDetailPageSkeleton-CUxNOK4z-Ch73W5CD.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-DrbkKOBx-C5bbYFj1.js → CustomerOnboardingNoStepsPage-B9ts3Tla-CfVcbZOI.js} +4 -4
- package/dist/assets/CustomerOnboardingPage-DJbFeXms-BffeJFQv.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-DyGs61vw-DLcQ1dQj.js → CustomerOnboardingProductSuitePage-iSJtAhvu-CITklSrx.js} +5 -5
- package/dist/assets/{Dashboard-beLswUHx-XoTiAJKU.js → Dashboard-SKeHZ5QY-pKKhGZuT.js} +38 -38
- package/dist/assets/DashboardReportPage-3X6wpJL2-lEFYnnKZ.js +349 -0
- package/dist/assets/{DepositAccTransactionItem-CfAjG3HH-COwwc_MG.js → DepositAccTransactionItem-DJNio75H-BszNXL3v.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-Cj1smNoP-CkdRHZge.js → DepositAccTransactionListPage-DTIjlF2l-BqgMCmPb.js} +3 -3
- package/dist/assets/{DocumentSecurityBanner-BRFFDueV-stK3q2uU.js → DocumentSecurityBanner-CVNWDvAg-ZZDqDElp.js} +1 -1
- package/dist/assets/DomesticWireDetailsPage-D-qwPVDs--Pww9UWD.js +21 -0
- package/dist/assets/{DownloadOverlay-Ly2ZesqA-D_S8bx9G.js → DownloadOverlay-BLj0xso_-BlktwxlM.js} +1 -1
- package/dist/assets/{DrawerPage-BFIdjtOJ-BFnTHlQb.js → DrawerPage-CEetzMMx-BQrlKpot.js} +3 -3
- package/dist/assets/{EditPeoplePage-BPHt33f5-DjZUh9aC.js → EditPeoplePage-DDUuO0Nh-opJ_tpA8.js} +8 -8
- package/dist/assets/{EditReimbursementDetailPage-DJ_qNQbh-D_aBh5FK.js → EditReimbursementDetailPage-CT8mqYr5-RAkBtvUB.js} +24 -24
- package/dist/assets/{EntityDetailPage-DZ9vXZci-DUGgDVnf.js → EntityDetailPage-DMh6o0bo-D9tSJvlK.js} +1 -1
- package/dist/assets/{EntitySummarySection-kCA6OJs0-CuvI5nJX.js → EntitySummarySection-tK_X4uAf-DnZqgJgW.js} +9 -9
- package/dist/assets/{ExpenseAutomationOverviewPage-B9K2qPQi-BcMuOXVi.js → ExpenseAutomationOverviewPage-CLUiYjKg-Cnf2er5n.js} +18 -18
- package/dist/assets/{ExpenseAutomationPage-LoGHiJzr-BnTXz0Ci.js → ExpenseAutomationPage-C9biTgak-CwmQJIGr.js} +82 -82
- package/dist/assets/{ExpressPayPage-B12NaLXN-CGW5-zDn.js → ExpressPayPage-DpAixmcQ-DHNO4VFc.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-D9_aRmPj-CvnK2Uy2.js → FeaturePreviewPage-BohUqOFz-CnIenXNU.js} +2 -2
- package/dist/assets/{FollowStepsSection-BL8sM4vS-D6HNdi5Y.js → FollowStepsSection-BAUXUzTr-DcO_IUEM.js} +10 -10
- package/dist/assets/{GlobalReviewListPage-DONc_BXP-jngzyZ2P.js → GlobalReviewListPage-BxYHNkut-De1zroLC.js} +8 -8
- package/dist/assets/{HelpButton-khTPylkl-CEL7Boo7.js → HelpButton-8AQIbLQM-Dxn71Y7_.js} +2 -2
- package/dist/assets/{InformationCardStack-BtIMGsaQ-BRj2ZNHm.js → InformationCardStack-76GlZ-Bq-CtLoCld8.js} +4 -4
- package/dist/assets/{InsightsCardStack-lzduh7aO-Crnd4D-1.js → InsightsCardStack-CvOFi2Uu-JAhaDMUB.js} +9 -9
- package/dist/assets/{InsightsSection-q1QuO6Z4-1k_aUqAr.js → InsightsSection-DyF8JZIR-yy37hbXV.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-CpnXcxlz-ANVTxCp5.js → IntegrationsSettingsPage-mys0-i40-D_Td3Eck.js} +4 -4
- package/dist/assets/{InternationalWireSwiftDetailsPage-BXBsK560-i2JR8sEk.js → InternationalWireSwiftDetailsPage-km4qEcXH-BDq6b8VU.js} +7 -7
- package/dist/assets/{InternationalWireVerificationPage-BrnMNFx7-CivrskR8.js → InternationalWireVerificationPage-DauhGM3c-CQuc_5ZL.js} +5 -5
- package/dist/assets/{InviteFormPage-DQTEQazA-CYIvBKP9.js → InviteFormPage-FSL8fEXT-Dygrs-_-.js} +16 -16
- package/dist/assets/{InvitePageListView-C7CaDCYN-kxX6EM5-.js → InvitePageListView-zaQ1xEHJ-BmXz06Jr.js} +27 -27
- package/dist/assets/{InvitePeoplePage-Ca0ZnNhV-4UVRRlzN.js → InvitePeoplePage-BNB36i8Y-COHEYzwz.js} +2 -2
- package/dist/assets/{InvoiceUploadSection-Cm7WlMIS-Ds7UwHT_.js → InvoiceUploadSection-FXrB92T6-JqJ7zAlH.js} +6 -6
- package/dist/assets/{IssueChargeCardPage-B7w3Xky1-CF1rLLIM.js → IssueChargeCardPage-D3cUp2DE-DFSG2B0F.js} +21 -21
- package/dist/assets/{LabeledAddressValue-B5Yv4nig-BmG4gsPH.js → LabeledAddressValue-BF6r800B-CeESX1Hz.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BODlYe8J-C_77UpWi.js → LabeledAddressValueField-DYelJL4d-Dl7kIpOx.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-BBrHodlx-ajZwZw2T.js → LabeledControlledCheckBoxField-B2ATKJBH-CXyWx4Ub.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-DBovHkMc-D9D-7hZt.js → LabeledCreatableSingleSelectField-B9zUAA6L-1j60EBJE.js} +6 -6
- package/dist/assets/LabeledDocumentField-DORRl3DI-WSVu_B_9.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-FpRJ9tiX-Tiw-2EM1.js +59 -0
- package/dist/assets/{LabeledText-D0aPaE6r-DJ33Sqqy.js → LabeledText-C34I_iEo-DpYgVuJS.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CO-Owx5--C5GcoA_6.js → LabeledUserSingleSelectWithSubtitlesField-B6aVL-fb-D9zCwLzE.js} +10 -10
- package/dist/assets/{LabeledZeniRolesDropDownField-CcfvYWTB-FOsQ-M0q.js → LabeledZeniRolesDropDownField-Caj0_1zM-DksZdels.js} +13 -13
- package/dist/assets/{LinkJETransactionPage-w2poqqTD-CRc8L88u.js → LinkJETransactionPage-DLmZGscZ-DAJUM85q.js} +12 -12
- package/dist/assets/{LowBalancePopup-BpFvPcb8-CmbXf1Gb.js → LowBalancePopup-ll1SesgY-BWe295aL.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-DUyr5VX8-FvxaU41w.js → MagicLinkACHDetailsPage-DXzjYrdU-DXTf7zdI.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CTA58UoF-CRGjJqP9.js → MagicLinkDomesticWireDetailsPage-CUwp46Wf-CEU-wofA.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-DDQqyw69-MTxSeQ4l.js → MagicLinkInternationalWireDetailsPage-B_h0EHoZ-5KHyZ3zZ.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-CKKAWryZ-Cm8AQCr_.js → MagicLinkSuccessPage-BX4E-l5M-DUEIbM10.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CvW_f4xF-BDkWHabu.js → MagicLinkTitleSection-DHe9TfVe-xOZGBQNN.js} +2 -2
- package/dist/assets/{MailingDetailsSection-Di5KwEqu-Di8UL6YK.js → MailingDetailsSection-D8CZart4-D1oBjzV1.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-6yyRBLYC-DflGa-2l.js → MeetingCalenderPopup-D4tz-H5i-CGIgOa91.js} +3 -3
- package/dist/assets/{Menu-BOh_KLZu-BrkD9kYL.js → Menu-C9u3eDJk-Dna4rH8W.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-BBQ0YN9M-BBihRuQw.js → MyBankConnectionsSettingsPage-DVp3h4c0-Cn5_bOe_.js} +11 -11
- package/dist/assets/{MyPendingActivationChargeCardListPage-DcXCxGj2-BY3uKh9u.js → MyPendingActivationChargeCardListPage-BTk8mY7B-BbdmJXam.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-D-lTTFuP-D9kDcE-6.js → MyProfileSettingsPage-BdcDAwKZ-DhDLZRJB.js} +9 -9
- package/dist/assets/{NavBarWithPicker-CNBOk06R-D8yiRwFQ.js → NavBarWithPicker-DbSWvh0o-1EJ8HziX.js} +4 -4
- package/dist/assets/{NavigationArrow-B15b66TT-B9hYIhnI.js → NavigationArrow-BP8cU19I-DuPgzuQR.js} +1 -1
- package/dist/assets/{NavigationDots-5fxvl-4e-BzJdpllk.js → NavigationDots-nvOimTil-Do5DUslv.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BeP4W8rj-Dwyu3Pw7.js → NewGlobalMerchantPage-D-imjD0M-pXdB0gKF.js} +6 -6
- package/dist/assets/{NoDataChart-edFKx0zh-DIp9-BoP.js → NoDataChart-VE4W-RUu-BjJTQpdm.js} +1 -1
- package/dist/assets/{NoDataTable-41nH5trW-Brapb7lv.js → NoDataTable-d0_62BR0-vyxhk2_b.js} +1 -1
- package/dist/assets/{NotFoundPage-CRVGi6Xn-BHvH8jL8.js → NotFoundPage-BydQGX11-BGoiJNRP.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-CiVAtoGY-B9kZWOsO.js → NotificationSettingsPage-BIzaZFzy-BGkCXx1m.js} +6 -6
- package/dist/assets/NotificationsListConfig-DVBOQJZq-BcXyCFD3.js +1 -0
- package/dist/assets/{NotificationsPage-DuHUL5V8-CgYzIXTj.js → NotificationsPage-BdI4E6uL-DkzIMoYu.js} +29 -29
- package/dist/assets/{OpExByVendorPage-D611nXIC-CqyYyP4C.js → OpExByVendorPage-Dm90CRYi-fVB-9LNX.js} +5 -5
- package/dist/assets/{OverlayContainerPage-C0rUb6-5-DPaQcYgi.js → OverlayContainerPage-nhe7xtoR-BxI5uHKy.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-Cqab0euB-dzseIlDa.js → PandLWithForecastPage-DhbFHH25-DsvGD_Sy.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Cvn1adQb-kbzfxjFm.js → PaymentAccountSetupBillingAddressSection-Debi_lWf-LBl6kVXa.js} +6 -6
- package/dist/assets/{PeoplePage-MCCZAx4z-BnV0pX_P.js → PeoplePage-BACu55RO-BN0ZZ-UI.js} +24 -24
- package/dist/assets/{PortfolioAllocationFormPage-Coa0Y4wN-CVL7-3BP.js → PortfolioAllocationFormPage-Cjz_E3BK-BKc2XOmG.js} +3 -3
- package/dist/assets/{PortfolioDetails-C9a0p99e-d06R_ouh.js → PortfolioDetails-CS2st-Mx-B7UFy1Ls.js} +8 -8
- package/dist/assets/{ProductsCarousel-B0fHKTa_-Bne7N-_V.js → ProductsCarousel-TB4uKZbg-BDTdHFcB.js} +9 -9
- package/dist/assets/{PromoBaseCards-BuCQJuXH-BcjVOmSJ.js → PromoBaseCards-BMPp9RNQ-B5wN89Pm.js} +5 -5
- package/dist/assets/{QBOConnectionDialog-D-vB9dbo--0kkpUah.js → QBOConnectionDialog-B1b1wGeq-OoIQ8fFk.js} +9 -9
- package/dist/assets/{QBOSetupSection-CfficE5p-nLwRVoqN.js → QBOSetupSection-Bj_y0Lo2-D2Jh1k_B.js} +7 -7
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-Cg_pVsAh-Baq7EYkc.js → ReimbursementApprovalRuleDetailPage-Cz4RtqYb-BX1qPBal.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-Dg1b0lJP-YhAdGh62.js → ReimbursementApprovalRulesPage-DJlNT4Ov-DKT5YJKy.js} +20 -20
- package/dist/assets/ReimbursementDetailPage-BQiu7Gts-DqYEtmnq.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-MQpz5nNE-CLg8Hqif.js → ReimbursementPromoPage-ppaPJby5-CiDmuDvG.js} +16 -16
- package/dist/assets/{ReimbursementSetUpPage-BRjWHns_-BSdXzytm.js → ReimbursementSetUpPage-B6mZrzQB-38calwmF.js} +8 -8
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-wPNRkXt8-DoNrAJRB.js → ReimbursementsBulkReviewDrawerPage-DS55QesG-DWNEdEIB.js} +1 -1
- package/dist/assets/{ReloadCard-D5woGDxx-DS9HJ3wy.js → ReloadCard-DDDYlCsI-BiE6_qfW.js} +5 -5
- package/dist/assets/ReportTableViewSelector-Bss4AtF1-D_wRO_1z.js +133 -0
- package/dist/assets/ReportsPage-C-g9588h-XLIvq5EO.js +120 -0
- package/dist/assets/{RevenueChart-CS0JmijO-BqFQGtoh.js → RevenueChart-DPkxzWaE-ClY8SeJE.js} +25 -25
- package/dist/assets/{ReviewDetailsPage-C7RbpKwU-C9iDaLL8.js → ReviewDetailsPage-CyF2YP3t-B_CfpE0G.js} +14 -14
- package/dist/assets/{ReviewOverlay-BwgzcM9d-CSY6hmMy.js → ReviewOverlay-AoSgYufX-BCA64ah8.js} +6 -6
- package/dist/assets/{RoleWithToolTip-DkeT6zjW-DmUDvRC_.js → RoleWithToolTip-aoWU03so-Bag-xDLs.js} +6 -6
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BzZkVg7T-c2tjnpKQ.js → ScheduleDetailsFixedAssetsPage-Bfj3vclV-biUqkJSS.js} +4 -4
- package/dist/assets/{ScheduleDetailsPage-DiXwmlk8-t0I7MASB.js → ScheduleDetailsPage-B30aUjKr-VuYOr4oZ.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-CSxFNhoR-D9UFT3Zm.js → ScheduleSequenceTable-CStdRSyQ-YS2LkHDs.js} +22 -22
- package/dist/assets/{ScreenRoutes-xLzXCTox.js → ScreenRoutes-DUx3gCGl.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CdUpAzlt-4B1rLcGQ.js → SetUpAccountSection-nul4pyeP-CLCXvV9l.js} +103 -103
- package/dist/assets/{SetUpDefaultSection-D4FafmO5-CcuY4gpp.js → SetUpDefaultSection-ByW3h9zl-9i3uOw78.js} +8 -8
- package/dist/assets/{SignIn-CAmRcuqx-CXf8JU8h.js → SignIn-R1Rsh38G-8L0Hp_zM.js} +18 -18
- package/dist/assets/{SignInScreen-CEfXit7t.js → SignInScreen-BE18aJB0.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DdpJprAd-BHEK7wRP.js → SpendManagementListViewPage-BqOQ7NY_-DhnClYVW.js} +4 -4
- package/dist/assets/{SpendManagementPerTabPage-D2Ri2q6S-BZOgnmqs.js → SpendManagementPerTabPage--2EC1Oz4-DclxNVvC.js} +36 -36
- package/dist/assets/{SpendManagementSection-CisJALAC-zKC9aL_a.js → SpendManagementSection-COMVry1E-CYzctw4v.js} +11 -11
- package/dist/assets/{SpendMgmtSetupAccountSection-DcJhhfdt-CSj4RU9Q.js → SpendMgmtSetupAccountSection-fV4qxxEy-ExRAZ_sL.js} +8 -8
- package/dist/assets/{StatementItem-BOq_DDMZ-VgE7gIr3.js → StatementItem-BksIBztP-GeqTXxSG.js} +5 -5
- package/dist/assets/{StatementsPage-C9WOCLSj-lgfYmMKh.js → StatementsPage-DnAoeqze-BOeXA5KM.js} +1 -1
- package/dist/assets/{StatusSwitcher-CofdCR_K-DYsfjilX.js → StatusSwitcher-b1A9RnRP-B052EzJ9.js} +4 -4
- package/dist/assets/{SubTabSwitcher-BPVG5BHS-C6Ng45Yx.js → SubTabSwitcher-CgJW4ZXd-DlWjeTn_.js} +1 -1
- package/dist/assets/{SummaryCard-D-me4TrL-C69v2luu.js → SummaryCard-sEKhcIH5-DRp31G9t.js} +1 -1
- package/dist/assets/TaskManagementPage-z5uvcy81-CPykjrgv.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-BK7gGqaa-li6QV9p5.js → TimeRangeSwitcher-DQ-u6pKk-DC1xB5lv.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-SD5_8TCp-DcEUsFuS.js → TimeframeSwitcher-B0yxn0SJ-CwNpTd2S.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-BlbY3qcY-CLuOSbn2.js +31 -0
- package/dist/assets/{TopExCard-CDgcQKGp-G2-ryp7z.js → TopExCard-CTjfWfCk-CAtjOAda.js} +5 -5
- package/dist/assets/{TopExDetailPage-CXiEe14r-DrI7SLfC.js → TopExDetailPage-CdpvcVME-J1pxGIiS.js} +6 -6
- package/dist/assets/{TransactionDetailPage-IJyZF-Z_-ssTdABCq.js → TransactionDetailPage-DdF9FS4b-aUNjP2MS.js} +46 -46
- package/dist/assets/{TransactionList-C34ivmk5-BL7wpE6F.js → TransactionList-CHq3WONc-CDMTLkl_.js} +13 -13
- package/dist/assets/{TransactionListBig-qruiU0xy-4hBLzp6P.js → TransactionListBig-D-Gxd5n0-BYXDLjRx.js} +18 -18
- package/dist/assets/{TransactionListPage-C31U97xd-B7MDVBJ8.js → TransactionListPage-DK9-YK_1-jSebPnQW.js} +5 -5
- package/dist/assets/{TransactionVendorDetailPage-DZsvH-GM-CHoVBuA8.js → TransactionVendorDetailPage-Cc9pTpTw-dOPSJTMD.js} +6 -6
- package/dist/assets/{TransferDrawerPage-DC5q2Zpv-Bbx0ZiKK.js → TransferDrawerPage-DoDTECI8-BFP-sFPo.js} +33 -33
- package/dist/assets/{TreasuryOverviewPage-DSBqawrH--EJITXP0.js → TreasuryOverviewPage-wlfReqPJ-Dd6DjTk6.js} +14 -14
- package/dist/assets/{TreasuryPromoPage-D6WSBxgD-BYq_YoGm.js → TreasuryPromoPage-C9WNRb2_-Bv2i8EfH.js} +8 -8
- package/dist/assets/{TreasurySetupPage-BgSq4D0a-BeLJ_DJT.js → TreasurySetupPage-CjV0cOq9-BmP_R4PT.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-Dj9RAujO-BX1C5lYD.js → TreasuryStatementsPage-DqOWNGB_-hAvO09t_.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-Dw6tL_j9-BVOoGBCD.js → TreasuryTaxLetterPage-BWGHcQ-i-DCm4xllr.js} +4 -4
- package/dist/assets/{TreasuryTransferOrReviewPage-cBHznYnK-1UcbcZaf.js → TreasuryTransferOrReviewPage-CgL8K7N9-BrTZBU_c.js} +19 -19
- package/dist/assets/TrendChart-76tuu9Dr-DKqkCwBC.js +16 -0
- package/dist/assets/{TrendWithTransactions-BOGQK2Zt-itTZBsuV.js → TrendWithTransactions-B_fJTS4m-B4jhKCz-.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-Ci4VHOLB-CZTpXCGM.js → UncategorizedAccountsMappingPage-DpY1kK_K-CX5FrYpM.js} +7 -7
- package/dist/assets/{UnitIntegrationPage-DSMTzyKA-DnkdzVNG.js → UnitIntegrationPage-BTJI7fx3-B4TaSpvh.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-CBpLz-gk-DUe20w1p.js → UploadAdditionalDocumentOverlay-BH3bRKoG-Cxr-sGAj.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-Be7OBE4e-Cos9XGLx.js → Vendor2FAPopup-4-XtZDNS-BuVX3Yle.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-LvWgxsF7-BpMJ6WbJ.js → VendorACHDetailsPage-B2knDl4H-czLYWWIH.js} +1 -1
- package/dist/assets/{VendorDetailPage-C-qpa1GC-C0r4HDge.js → VendorDetailPage-w-tghGpI-CfkAuWGF.js} +17 -17
- package/dist/assets/{VendorDomesticWireDetailsPage-Ckoq2I8V-BwkAhyAi.js → VendorDomesticWireDetailsPage-BXCCdTjh-Di1QWV1S.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-WZMwLILQ-BqoTTIiC.js → VendorFiling1099EditablePage-DGQO9Qqj-CEOM5YEV.js} +7 -7
- package/dist/assets/{VendorFirstReviewPage-DNhp59d9-D_f9l4B9.js → VendorFirstReviewPage-Lblb6X1V-39fudz_L.js} +40 -40
- package/dist/assets/{VendorInternationalWireDetailsPage-DuP916gU-COYahX1d.js → VendorInternationalWireDetailsPage-Bi5RBKxI-CtyyMelR.js} +9 -9
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BCIC6mrJ-BI-zVOHZ.js → VendorInternationalWireSwiftDetailsPage-CBZmsXnL-B-d0u1XS.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-C4q6FPlB-C6cNo2_u.js → VendorsAccountsSection-JI0e3gKo-BI5thaS_.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-C162biV8-pPVOEtpH.js → WarningsDrawerPage-BQzUQ5-l-D1cPDLUy.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-C3NnXuFp-CXwXsDQ1.js → ZeniAccountDetailPage-DPJ4mWoO-D2fzjkqw.js} +29 -29
- package/dist/assets/{ZeniAccountListViewPage-Cn7rYnlu-DTOPnL32.js → ZeniAccountListViewPage-iHMJ7FU7-UZUihbgS.js} +23 -23
- package/dist/assets/ZeniAccountNavBarPieces-D1g1REsS-D07e9d9s.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-BGyyQP4l-B98KmCaD.js → ZeniAccountPromoPage-OxQ03DtJ-X6atYnaZ.js} +8 -8
- package/dist/assets/{ZeniAccountSetupPage-CIh0isMw-lFqJMWg0.js → ZeniAccountSetupPage-BahzDcmm-B-umC_Qa.js} +1 -1
- package/dist/assets/{ZeniCopyright-B83zWEf0-19q3_mPy.js → ZeniCopyright-Dpqdxu7f-CHOK6b2K.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CPg3o4xG-BlMvJPot.js → ZeniTransferAmountSlider-DwC6pXnb-BgJArm45.js} +1 -1
- package/dist/assets/analytics-BSSiLa6f.js +7 -0
- package/dist/assets/{analyticsHelper-CD5PHV67.js → analyticsHelper-CPNSDy4Z.js} +1 -1
- package/dist/assets/{analyticsHelper-DlYWxxhD-DdeYfQh2.js → analyticsHelper-CZ8c8du5-Ber0nUBK.js} +1 -1
- package/dist/assets/{chartTypes-DueLK3Wl-B3lGAHMU.js → chartTypes-CWLOazD0-BCrBxX2L.js} +1 -1
- package/dist/assets/{commonDimensions-D4uH020E-szItJUN9.js → commonDimensions-Cg7EWgSP-ztBpKI_h.js} +1 -1
- package/dist/assets/{detailCommon-D5qKBZdS-CPasfcVD.js → detailCommon-Cp4eknjq-ClKRuZos.js} +7 -7
- package/dist/assets/{downloadPdf-s4pLtuS_-CF3EQD3j.js → downloadPdf-f3F0OqWf-DUwLrQQm.js} +1 -1
- package/dist/assets/{index-DoFw58Mw.js → index-Dq4DW5h0.js} +3324 -3326
- package/dist/assets/{liveblocks-sSQ9JElv.js → liveblocks-BUGn2yQ6.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-M0QN8LkC-3yQrrz5g.js → mapLoadingInProgressToTreeNode-DCLD3rcY-_6B85me3.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CrtVdHui-CnnfThO_.js → mapSectionWithAcOnlyToTreeNode-C-VOXE5I-ChyvQWp0.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-yPPIJHBw-D3Gjllyb.js → mapSpacerToTreeNode-DlDwFA_F-CYv3KN_2.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-px916zpo-rIOc1Hnu.js → mapTimeframeBalancesToTreeNode-EEyJwCnX-HEZ0R9-O.js} +1 -1
- package/dist/assets/mui-BgvZYSo0.js +22 -0
- package/dist/assets/{play-icon-Bih37F_s-C73Mu05H.js → play-icon-CFa9Uibr-CaxUs2iQ.js} +3 -3
- package/dist/assets/{redux-ByjIRbhZ.js → redux-DmDqXYej.js} +1 -1
- package/dist/assets/{routing-Cpaypegg.js → routing-BNz5gZgX.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-CAhfOfUa-CUvT0aen.js → toCOABalancesWithID-DT8-C5u1-CE-3jMAY.js} +1 -1
- package/dist/assets/{toChartData-BicnbT0F-BAKhPkjP.js → toChartData-63e3B91H-DoSBXci0.js} +1 -1
- package/dist/assets/{treasuryColorHelper-A_YlwvaQ-YLNVEYZe.js → treasuryColorHelper-BGGfolJy-B6Wl_Wly.js} +1 -1
- package/dist/assets/{uploadAttachment-DVoWdoWD-RtUqrYnb.js → uploadAttachment-YcPIDoZ--DIC1ZEM7.js} +19 -19
- package/dist/assets/{uploadReceipts-Buvz7DfG-XWftDYl6.js → uploadReceipts-BH9fi3Vt-CnyK0TMw.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +5 -5
- package/dist/assets/AccountRow-D9vDRsjv-uSOuzaD9.js +0 -298
- package/dist/assets/BusinessVerificationPage-YKJ-CZfb-BgJNO5ZA.js +0 -140
- package/dist/assets/CheckDepositDrawerPage-B1Qp-xbY-f-dhYQ0q.js +0 -206
- package/dist/assets/CompleteProfile-CJOsHnBa-DdCWBRuB.js +0 -36
- package/dist/assets/CustomerOnboardingContainerPage-X6X9Yc-9-D6pVLXm5.js +0 -1
- package/dist/assets/CustomerOnboardingPage-CIbBaMcO-Dqym0Rf2.js +0 -107
- package/dist/assets/DashboardReportPage-BM6TqjrJ-DQu7SOT2.js +0 -349
- package/dist/assets/DomesticWireDetailsPage-BZ8jSo8r-Dcvy9KUR.js +0 -21
- package/dist/assets/LabeledDocumentField-CIlbLPtO-DSLjsPoT.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-Dpt7UG-o-BPi_XfUF.js +0 -59
- package/dist/assets/NotificationsListConfig-BjItJJe9-l0BCgaPP.js +0 -1
- package/dist/assets/ReimbursementDetailPage-CE_jx7cM-DEw3OdDA.js +0 -314
- package/dist/assets/ReportTableViewSelector-Bc5xUtnG-pW3txVQ2.js +0 -150
- package/dist/assets/ReportsPage-J8DrZz78-Bf6sj4--.js +0 -120
- package/dist/assets/TaskManagementPage-BSmG6YR2-BRBZRYl9.js +0 -508
- package/dist/assets/TimeframeSwitcherWithToggle-BwvVsB_p-CoKIqOrx.js +0 -31
- package/dist/assets/TrendChart-dARoUu-T-CjrTnbAe.js +0 -16
- package/dist/assets/ZeniAccountNavBarPieces-DHYLxQKr-DoTCX7_F.js +0 -14
- package/dist/assets/analytics-DThoELaW.js +0 -7
- package/dist/assets/mui-C5LQ0bMa.js +0 -25
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as j,M as
|
|
1
|
+
import{X as j,M as a,j as n,bB as w,K as l,C as s,o as i,Z as P,s as y,$ as b,aP as f,eI as v,p as t}from"./index-Dq4DW5h0.js";import{n as o}from"./vendor-CnQcJ2Lu.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const r={containerPaddingTop:new s(t[5],t[7]),containerPaddingBottom:new s(t[5],t[5]),containerPaddingLeftRight:new s(t[6],t[11])},S=o.div`
|
|
2
2
|
border-radius: inherit;
|
|
3
3
|
max-width: 520px;
|
|
4
4
|
text-align: center;
|
|
@@ -8,28 +8,28 @@ import{X as j,M as t,j as n,bA as w,K as l,C as s,o as i,Z as P,s as y,$ as b,aP
|
|
|
8
8
|
padding-bottom: ${e=>r.containerPaddingBottom.valuePx(e.windowSize)};
|
|
9
9
|
padding-right: ${e=>r.containerPaddingLeftRight.valuePx(e.windowSize)};
|
|
10
10
|
padding-left: ${e=>r.containerPaddingLeftRight.valuePx(e.windowSize)};
|
|
11
|
-
`,
|
|
11
|
+
`,k=o(P)`
|
|
12
12
|
color: ${e=>e.theme.colors.primary};
|
|
13
13
|
padding: ${i.sp0} ${i.sp0} ${i.sp4};
|
|
14
14
|
min-width: 260px;
|
|
15
|
-
`,
|
|
15
|
+
`,A=o(y)`
|
|
16
16
|
color: ${e=>e.theme.colors.hero};
|
|
17
17
|
max-width: 360px;
|
|
18
18
|
`,L=o.div`
|
|
19
19
|
margin: 20px ${i.sp0};
|
|
20
20
|
`,_=o.div`
|
|
21
21
|
margin: 20px ${i.sp0};
|
|
22
|
-
`,
|
|
22
|
+
`,B=o.hr`
|
|
23
23
|
width: 100%;
|
|
24
24
|
border: 0.2px solid ${e=>e.theme.colors.grey3};
|
|
25
25
|
margin-top: auto;
|
|
26
26
|
margin-bottom: 0;
|
|
27
|
-
`,
|
|
27
|
+
`,C=o.div`
|
|
28
28
|
display: flex;
|
|
29
29
|
align-items: center;
|
|
30
30
|
justify-content: center;
|
|
31
31
|
gap: ${i.sp4};
|
|
32
|
-
`,
|
|
32
|
+
`,I=o.div`
|
|
33
33
|
display: flex;
|
|
34
34
|
align-items: center;
|
|
35
35
|
gap: ${i.sp4};
|
|
@@ -37,15 +37,15 @@ import{X as j,M as t,j as n,bA as w,K as l,C as s,o as i,Z as P,s as y,$ as b,aP
|
|
|
37
37
|
justify-content: center;
|
|
38
38
|
padding-top: ${i.sp3};
|
|
39
39
|
color: ${e=>e.theme.colors.primary};
|
|
40
|
-
`,
|
|
40
|
+
`,R=o(b)`
|
|
41
41
|
color: ${e=>e.theme.colors.primary};
|
|
42
42
|
height: 20px;
|
|
43
43
|
width: auto;
|
|
44
|
-
`,
|
|
44
|
+
`,T=o(f)`
|
|
45
45
|
color: ${e=>e.theme.colors.hero};
|
|
46
46
|
height: ${i.sp4};
|
|
47
47
|
width: ${i.sp4};
|
|
48
48
|
`,O=o(v)`
|
|
49
49
|
height: ${i.sp4};
|
|
50
50
|
color: ${e=>e.theme.colors.primary};
|
|
51
|
-
`;function
|
|
51
|
+
`;function U({companyName:e="",isGoBackAllowed:c,isAdmin:d,saveConnectionState:p,isQBOPopupOpen:g=!0,handleOnConnectClick:m,handleGoBack:h}){const x=j(),$=a.getLocalizedStrings().dashboardAccountingPage.adminInfoText.replace(e?"_company-name_":"‘_company-name_’",e),u=a.getLocalizedStrings().dashboardAccountingPage.nonAdminInfoText.replace(e?"_company-name_":"‘_company-name_’",e);return n.jsx(w,{open:g,children:n.jsxs(S,{windowSize:x,children:[n.jsxs(z,{children:[n.jsx(k,{children:a.getLocalizedStrings().dashboardAccountingPage.title}),n.jsx(A,{children:d?$:u}),n.jsxs(I,{children:[n.jsx(R,{}),n.jsx(T,{}),n.jsx(O,{})]})]}),d||c?n.jsxs(n.Fragment,{children:[n.jsx(B,{}),n.jsxs(C,{children:[c===!0?n.jsx(_,{children:n.jsx(l,{variant:"secondary",label:a.getLocalizedStrings().dashboardAccountingPage.goBack,onClick:h})}):null,d?n.jsx(L,{children:n.jsx(l,{variant:"primary",label:a.getLocalizedStrings().dashboardAccountingPage.connect,onClick:m,loading:p==="In-Progress"})}):null]})]}):null]})})}export{U as default};
|
package/dist/assets/{QBOSetupSection-CfficE5p-nLwRVoqN.js → QBOSetupSection-Bj_y0Lo2-D2Jh1k_B.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import{X as O,M as $,j as i,K as k,o,C as a,g as d,
|
|
1
|
+
import{X as O,M as $,j as i,K as k,o,C as a,g as d,f1 as Q,Q as T,$ as W,aP as B,eI as E,e$ as G,ab as w,v as u,p as r}from"./index-Dq4DW5h0.js";import{n as s}from"./vendor-CnQcJ2Lu.js";import I from"./QBOConnectionDialog-B1b1wGeq-OoIQ8fFk.js";const t={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])},M={title:new T("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:c=!1,isValid:l,saveConnectionState:p,isQBOPopupOpen:j,companyName:y,updateQBOPopupState:h,handleOnConnectClick:f})=>{const n=O(),{qbo_connection:S}=$.getLocalizedStrings().customerOnboardingPage.sections,{title:v,sucessText:b,button:z,errorText:P,requiredText:C}=S;return i.jsxs(A,{windowSize:n,children:[i.jsxs(H,{windowSize:n,children:[n==="small"?i.jsx(V,{children:l?i.jsx(Z,{}):i.jsx(_,{})}):null,i.jsx(N,{windowSize:n,children:v})]}),i.jsxs(q,{windowSize:n,children:[i.jsxs(D,{windowSize:n,children:[i.jsxs(R,{children:[i.jsx(F,{}),i.jsx(L,{windowSize:n}),i.jsx(U,{})]}),l?n!=="small"?i.jsx(m,{}):null:i.jsx(k,{variant:"primary",size:n!=="small"?"standard":"xs-small",label:z.connect,style:{width:"fit-content"},onClick:()=>h(!0),loading:p==="In-Progress"})]}),l?i.jsxs(i.Fragment,{children:[i.jsx(K,{children:b}),n==="small"?i.jsx(m,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:P})}):null,c&&!l?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:C})}):null]}),i.jsx(I,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:j,companyName:y,saveConnectionState:p,handleOnConnectClick:f,handleGoBack:()=>h(!1)})]})},m=()=>{const{tags:e}=$.getLocalizedStrings().customerOnboardingPage,{connected:c}=e;return i.jsx(G,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:c,textColor:{color:new w(d.successDark),borderColor:new w(d.successDark)}})},A=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
5
5
|
justify-content: center;
|
|
6
|
-
`,
|
|
6
|
+
`,H=s.div`
|
|
7
7
|
display: flex;
|
|
8
8
|
align-items: center;
|
|
9
9
|
padding-top: ${o.sp3};
|
|
@@ -53,25 +53,25 @@ import{X as O,M as $,j as i,K as k,o,C as a,g as d,f0 as Q,Q as T,$ as W,aP as B
|
|
|
53
53
|
gap: ${o.sp4};
|
|
54
54
|
justify-content: left;
|
|
55
55
|
color: ${e=>e.theme.colors.primary};
|
|
56
|
-
`,
|
|
56
|
+
`,F=s(W)`
|
|
57
57
|
height: 20px;
|
|
58
58
|
width: auto;
|
|
59
59
|
color: ${e=>e.theme.colors.primary};
|
|
60
60
|
cursor: pointer;
|
|
61
|
-
`,
|
|
61
|
+
`,L=s(B)`
|
|
62
62
|
height: ${e=>t.arrowIconWidthHeight.valuePx(e.windowSize)};
|
|
63
63
|
width: ${e=>t.arrowIconWidthHeight.valuePx(e.windowSize)};
|
|
64
64
|
color: ${e=>e.theme.colors.hero};
|
|
65
|
-
`,
|
|
65
|
+
`,U=s(E)`
|
|
66
66
|
height: ${o.sp4};
|
|
67
67
|
color: ${e=>e.theme.colors.primary};
|
|
68
|
-
`,
|
|
68
|
+
`,V=s.div`
|
|
69
69
|
margin-right: ${o.sp2};
|
|
70
70
|
`,Z=s(Q)`
|
|
71
71
|
width: ${o.sp3};
|
|
72
72
|
height: ${o.sp3};
|
|
73
73
|
color: ${d.success};
|
|
74
|
-
`,
|
|
74
|
+
`,_=s.div`
|
|
75
75
|
height: ${o.sp3};
|
|
76
76
|
width: ${o.sp3};
|
|
77
77
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{C as q,p as U,u as M,X as W,M as D,a as G,a5 as X,j as s,
|
|
1
|
+
import{C as q,p as U,u as M,X as W,M as D,a as G,a5 as X,j as s,U as H,c3 as J,aW as K,F as Q,a7 as Y,o as f}from"./index-Dq4DW5h0.js";import{b as j,n as h}from"./vendor-CnQcJ2Lu.js";import{b as Z,f as ee,l as B,o as L}from"./FollowStepsSection-BAUXUzTr-DcO_IUEM.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const $="reimbursementApprovalRuleDetailPage",T="lowerBound",k="upperBound",y="steps",te={footerPadding:new q(U[2],U[3])};function ye({localData:e,approvalUpdateActionType:r,isLowerBoundDisabled:t=!1,isUpperBoundDisabled:l=!0,hideUpperBoundField:o=!1,onBackClick:d,onApprovalRuleDataUpdated:b,onResetClick:N,onSaveRuleClick:E,onSaveRuleSuccess:A}){const F=M(),S=W(),a=D.getLocalizedStrings().commonSetUp.approval,I=D.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=ae(e,r==="approval_create"&&!t),g=G({mode:"all",reValidateMode:"onChange",defaultValues:x}),u=e.remiSetupApproverViewUpdateData?.updateStatus,w=X(u?.fetchState),{upperBound:P}=x,{allApprovalRules:n,allAccountingClasses:_,remiSetupApproverViewUpdateData:c}=e;let m=n.length>1?n.length-1:0,v=n.length>0?n[m].criteria[0].range.min.amount:0;if(c!=null&&c.type==="approval_update"&&c.data!=null){const{approvalRuleId:i}=c.data;m=n.findIndex(p=>p.approvalRuleId===i),v=m>0?n[m-1].criteria[0].range.min.amount:0}const O=g.handleSubmit(()=>{E()}),V=async(i,p)=>{b(p)};return j.useEffect(()=>{const i=g.watch((p,{name:R})=>{if(R!=null&&p!=null){const z=H(p);J(()=>V(R,z))}});return()=>{i.unsubscribe()}}),j.useEffect(()=>{w==="In-Progress"&&u?.fetchState==="Completed"&&A()},[w,u?.fetchState,A]),s.jsxs(se,{children:[s.jsx(K,{title:r==="approval_create"?a.newApproval:a.editApproval,backgroundColor:F.colors.grey4,style:{zIndex:4},onBackClick:()=>{d()},source:"ReimbursementApprovalRuleDetailPage"}),s.jsx(ne,{children:s.jsx(Q,{...g,children:s.jsx("form",{id:C($),onSubmit:O,children:s.jsxs(ie,{children:[s.jsx(Z,{label:{label:o?I.amountPerRemiGreaterLabel:I.amountPerRemiLabel},firstText:{type:"number",name:T,placeholder:"$0",options:{required:!0,max:P===1/0?Number.MAX_SAFE_INTEGER-1:P-1,min:v,validate:i=>t?!0:i!=null&&i>v},isDisabled:t,additionalInfoLabel:a.firstRuleLowerBoundInfoLabel,additionalErrorLabel:a.firstRuleErrorInfoLabel},secondText:{type:"number",name:k,placeholder:"Infinity",isDisabled:l,hideField:o,additionalInfoLabel:a.upperBoundInfoLabel}}),s.jsx(pe,{}),s.jsx(ee,{sectionId:y,label:{label:a.followStepsLabel},approversPlaceholder:a.approversPlaceholder,notifiersPlaceholder:a.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:_,stepsInfo:x[y],userSelectPlaceholder:a.userSelectPlaceholder,approveNotifyPlaceholder:a.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})})}),s.jsx(Y,{formId:C($),primaryBtn:{label:a.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},showCancel:!0,cancelBtn:{label:a.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:N},containerStyle:{justifyContent:S==="small"?"space-between":"center"},style:{padding:te.footerPadding.valuePx(S)},separatorStyle:{marginRight:f.sp4}})]})}const ae=(e,r)=>{const{criteria:t,steps:l}=e.remiSetupApproverViewUpdateData?.data??{};return{[y]:re(e.allApprovers.map(o=>o.user),e.filteredApprovers.map(o=>o.user),L(e.allAttributes),L(e.filteredAttributes),l??[])??[],[T]:r?void 0:t!=null?t.range.min.amount??0:0,[k]:t!=null?t.range.max==null?1/0:t.range.max.amount:1/0}},re=(e,r,t,l,o)=>o&&o.length>0?o.map((d,b)=>({stepIndex:b,stepType:{selectedOption:d.action,allOptions:B},actors:{allUsers:r,selectedUsers:le(e,d.actors),allNonUsers:l,selectedNonUsers:oe(t,d.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:B},actors:{allUsers:r,selectedUsers:[],allNonUsers:l,selectedNonUsers:[]}}],le=(e,r)=>e.filter(t=>t.userId!=null&&r.findIndex(l=>l.userId===t.userId)>-1),oe=(e,r)=>e.filter(t=>r.findIndex(l=>l.subType===t.value)>-1),C=e=>`${e}_form`,Ae=e=>`${e}`,se=h.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as D,X as B,M as b,j as o,aW as H,
|
|
1
|
+
import{u as D,X as B,M as b,j as o,aW as H,d as E,Y as S,o as t,C as r,s as L,_ as z,bN as q,bP as G,bQ as U,cq as Q,p as l,as as X,Q as P,ar as Y,g as j,cn as _,aN as F,q as O}from"./index-Dq4DW5h0.js";import{n as i,b as V}from"./vendor-CnQcJ2Lu.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";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)},N={stepper:new P("smallRegular","standardRegular"),amount:new P("standardRegular","largeRegular")},J=({showDeleteBtn:e=!1,isLastSection:f=!1,approvalRule:u,onEditRuleClick:v,onDeleteRuleClick:y})=>{const[g,d]=V.useState(!1),n=B(),{range:c}=u.criteria[0],{steps:x,approvalRuleId:m}=u,a=b.getLocalizedStrings().commonSetUp.approval,$=()=>{d(!0)},W={onOkClick:()=>{d(!1),y?.(m)},onCancelClick:()=>{d(!1)}};return o.jsxs(K,{windowSize:n,isLastSection:f,"data-testid":S("approval-rule-section",m),children:[o.jsxs(Z,{windowSize:n,children:[o.jsxs(ae,{children:[o.jsxs(I,{windowSize:n,children:[a.from," ",z("0,0",c.min)]}),o.jsxs(ee,{children:[o.jsx(k,{}),o.jsx(oe,{}),o.jsx(k,{})]}),c.max==null?o.jsx(ce,{}):o.jsx(I,{windowSize:n,children:z("0,0",{...c.min,amount:c.max.amount})})]}),o.jsxs(ne,{className:"icons",children:[e?o.jsx(pe,{onClick:$}):null,o.jsx(de,{onClick:()=>{v(m)},"data-testid":S("edit-approval-rule",m)})]})]}),o.jsx(te,{windowSize:n,children:o.jsx(ie,{isSingleStep:x.length===1,windowSize:n,children:x.map((h,A)=>o.jsxs(re,{isSingleStep:x.length===1,className:"stepperItem",windowSize:n,children:[h.action==="require_approval"?o.jsx(le,{children:a.requireText}):o.jsx(se,{children:a.notifyText}),h.nonUserActors.filter(p=>p.subType!=null).map((p,M)=>o.jsxs(R,{children:[o.jsx(T,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),h.operator!="is"?o.jsx(C,{className:"operator",children:h.operator}):null]},`${p.subType}_${M}`)),h.actors.map(p=>o.jsxs(R,{children:[o.jsxs(T,{children:[p.firstName," ",p.lastName]}),h.operator!="is"?o.jsx(C,{className:"operator",children:h.operator}):null]},p.userId))]},A))})}),g?o.jsx(q,{titleComponent:o.jsx(U,{children:a.deleteApprovalRuleTitle}),descriptionComponent:o.jsx(G,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:W}):null]})},K=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
|
|
@@ -14,7 +14,7 @@ import{u as D,X as B,M as b,j as o,aW as H,e as E,Y as S,o as t,C as r,s as L,_
|
|
|
14
14
|
border-color: ${e=>e.theme.colors.primary};
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
`,Z=i(
|
|
17
|
+
`,Z=i(X)`
|
|
18
18
|
display: flex;
|
|
19
19
|
position: relative;
|
|
20
20
|
align-items: center;
|
|
@@ -57,7 +57,7 @@ import{u as D,X as B,M as b,j as o,aW as H,e as E,Y as S,o as t,C as r,s as L,_
|
|
|
57
57
|
box-sizing: border-box;
|
|
58
58
|
position: relative;
|
|
59
59
|
`,ie=i.ul`
|
|
60
|
-
${e=>`${
|
|
60
|
+
${e=>`${N.stepper.style(e.windowSize)}`};
|
|
61
61
|
position: relative;
|
|
62
62
|
padding-left: ${t.sp6};
|
|
63
63
|
list-style: none;
|
|
@@ -117,7 +117,7 @@ import{u as D,X as B,M as b,j as o,aW as H,e as E,Y as S,o as t,C as r,s as L,_
|
|
|
117
117
|
height: ${e=>s.stepperWidthHeight.valuePx(e.windowSize)};
|
|
118
118
|
top: ${e=>s.stepperContentTop.valuePx(e.windowSize)};
|
|
119
119
|
left: -${t.sp6};
|
|
120
|
-
${
|
|
120
|
+
${O.standardMedium.css};
|
|
121
121
|
text-align: center;
|
|
122
122
|
color: ${e=>e.theme.colors.grey1};
|
|
123
123
|
border: 2px solid ${e=>e.theme.colors.grey1};
|
|
@@ -134,14 +134,14 @@ import{u as D,X as B,M as b,j as o,aW as H,e as E,Y as S,o as t,C as r,s as L,_
|
|
|
134
134
|
color: ${j.successDark};
|
|
135
135
|
`,T=i.span`
|
|
136
136
|
color: ${e=>e.theme.colors.primary};
|
|
137
|
-
`,
|
|
137
|
+
`,ae=i.div`
|
|
138
138
|
display: flex;
|
|
139
139
|
align-items: center;
|
|
140
140
|
gap: ${t.sp2};
|
|
141
|
-
`,
|
|
141
|
+
`,ne=i.div`
|
|
142
142
|
display: flex;
|
|
143
143
|
gap: ${t.sp5};
|
|
144
|
-
`,pe=i(
|
|
144
|
+
`,pe=i(_)`
|
|
145
145
|
width: ${t.sp3};
|
|
146
146
|
height: ${t.sp3};
|
|
147
147
|
cursor: pointer;
|
|
@@ -149,7 +149,7 @@ import{u as D,X as B,M as b,j as o,aW as H,e as E,Y as S,o as t,C as r,s as L,_
|
|
|
149
149
|
&:hover {
|
|
150
150
|
color: ${j.important};
|
|
151
151
|
}
|
|
152
|
-
`,de=i(
|
|
152
|
+
`,de=i(F)`
|
|
153
153
|
width: ${t.sp3};
|
|
154
154
|
height: ${t.sp3};
|
|
155
155
|
cursor: pointer;
|
|
@@ -157,7 +157,7 @@ import{u as D,X as B,M as b,j as o,aW as H,e as E,Y as S,o as t,C as r,s as L,_
|
|
|
157
157
|
&:hover {
|
|
158
158
|
color: ${e=>e.theme.colors.primary};
|
|
159
159
|
}
|
|
160
|
-
`,ce=i(
|
|
160
|
+
`,ce=i(Y)`
|
|
161
161
|
width: ${t.sp4};
|
|
162
162
|
height: ${t.sp4};
|
|
163
163
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -167,10 +167,10 @@ import{u as D,X as B,M as b,j as o,aW as H,e as E,Y as S,o as t,C as r,s as L,_
|
|
|
167
167
|
display: inherit;
|
|
168
168
|
gap: inherit;
|
|
169
169
|
`,I=i.span`
|
|
170
|
-
${e=>`${
|
|
170
|
+
${e=>`${N.amount.style(e.windowSize)}`};
|
|
171
171
|
color: ${e=>e.theme.colors.primary};
|
|
172
172
|
word-break: break-word;
|
|
173
|
-
`,
|
|
173
|
+
`,w={width:new r(343,580,726),titleWidth:new r(343,580,780),addApprovalGap:new r(6,l[2]),subTitlePaddingTop:new r(12,l[3]),subTitlePaddingBottom:new r(28,l[7])},Te=({approvalView:e,onBackClick:f,onEditRuleClick:u,onDeleteRuleClick:v})=>{const y=D(),g=B(),{fetchState:d,deleteStatus:n}=e,c=b.getLocalizedStrings().commonSetUp.approval,x=b.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,m=n.fetchState;return o.jsxs(he,{children:[o.jsx(H,{title:c.approvalPageHeader,backgroundColor:y.colors.grey4,style:{zIndex:4},onBackClick:()=>{f()},source:"ReimbursementApprovalRulesPage"}),o.jsxs(me,{children:[o.jsx(xe,{windowSize:g,children:x.approvalPageSubTitle}),d==="In-Progress"||d==="Not-Started"||m==="In-Progress"?o.jsx(ue,{children:o.jsx(E,{size:"ExtraLarge",start:!0})}):d==="Completed"?o.jsxs(o.Fragment,{children:[e.allApprovalRules.map((a,$)=>o.jsx(J,{showDeleteBtn:$!==0,approvalRule:a,isLastSection:$===e.allApprovalRules.length-1,onEditRuleClick:u,onDeleteRuleClick:v},a.approvalRuleId)),o.jsxs(we,{windowSize:g,onClick:()=>{u()},"data-testid":S("add-approval-rule"),children:[o.jsx(ge,{}),o.jsx($e,{children:c.addApprovalText})]})]}):null]})]})},he=i.div`
|
|
174
174
|
display: flex;
|
|
175
175
|
min-height: 100%;
|
|
176
176
|
flex-direction: column;
|
|
@@ -185,7 +185,7 @@ import{u as D,X as B,M as b,j as o,aW as H,e as E,Y as S,o as t,C as r,s as L,_
|
|
|
185
185
|
overflow-y: auto;
|
|
186
186
|
flex-direction: column;
|
|
187
187
|
align-items: center;
|
|
188
|
-
`,
|
|
188
|
+
`,ue=i.div`
|
|
189
189
|
display: flex;
|
|
190
190
|
width: 100%;
|
|
191
191
|
height: calc(100vh - 110px);
|
|
@@ -193,23 +193,23 @@ import{u as D,X as B,M as b,j as o,aW as H,e as E,Y as S,o as t,C as r,s as L,_
|
|
|
193
193
|
justify-content: center;
|
|
194
194
|
align-items: center;
|
|
195
195
|
background-color: ${e=>e.theme.colors.grey4};
|
|
196
|
-
`,
|
|
196
|
+
`,xe=i(L)`
|
|
197
197
|
color: ${e=>e.theme.colors.hero};
|
|
198
198
|
display: flex;
|
|
199
199
|
justify-content: center;
|
|
200
|
-
width: ${e=>
|
|
201
|
-
padding-top: ${e=>
|
|
202
|
-
padding-bottom: ${e=>
|
|
203
|
-
`,
|
|
200
|
+
width: ${e=>w.titleWidth.valuePx(e.windowSize)};
|
|
201
|
+
padding-top: ${e=>w.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
202
|
+
padding-bottom: ${e=>w.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
203
|
+
`,we=i(L)`
|
|
204
204
|
cursor: pointer;
|
|
205
205
|
display: flex;
|
|
206
206
|
flex-direction: row;
|
|
207
207
|
justify-content: center;
|
|
208
208
|
align-items: center;
|
|
209
209
|
padding: ${t.sp3} ${t.sp4};
|
|
210
|
-
gap: ${e=>
|
|
210
|
+
gap: ${e=>w.addApprovalGap.valuePx(e.windowSize)};
|
|
211
211
|
|
|
212
|
-
width: ${e=>
|
|
212
|
+
width: ${e=>w.width.valuePx(e.windowSize)};
|
|
213
213
|
height: ${t.sp8};
|
|
214
214
|
|
|
215
215
|
background: ${e=>e.theme.colors.grey5};
|
|
@@ -229,7 +229,7 @@ import{u as D,X as B,M as b,j as o,aW as H,e as E,Y as S,o as t,C as r,s as L,_
|
|
|
229
229
|
border-color: ${e=>e.theme.colors.primary};
|
|
230
230
|
}
|
|
231
231
|
margin-bottom: ${t.sp6};
|
|
232
|
-
`,ge=i(
|
|
232
|
+
`,ge=i(Q)`
|
|
233
233
|
width: ${t.sp3};
|
|
234
234
|
height: ${t.sp3};
|
|
235
235
|
`,$e=i.div`
|
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
import{w as At,d3 as Mt,X as Rt,u as Pt,aV as Bt,C as m,M as Xe,l as ie,fL as Nt,fN as Lt,fO as Ot,j as t,bN as ze,bP as Ae,bQ as Me,Y as y,aW as Re,aH as _t,dr as Wt,fP as Et,f_ as Pe,o as a,fQ as Be,cP as b,cR as w,fT as x,_ as Ne,cO as Le,q as F,fV as Oe,a7 as Ft,m as Kt,fW as Vt,fX as ae,aR as Ut,fY as Yt,a6 as Gt,Q as Ht,h as qt,s as et,as as tt,g as K,f as Qt,eZ as Jt,v as Zt,gd as Xt,g9 as ei,p as c,ah as ti,cl as ii}from"./index-Dq4DW5h0.js";import{b as p,n as r}from"./vendor-CnQcJ2Lu.js";import{_ as ai}from"./liveblocks-BUGn2yQ6.js";import ri from"./InvoiceUploadSection-FXrB92T6-JqJ7zAlH.js";import{r as oi,h as f,u as ni}from"./types-DyvtCprH-BcZYcgaq.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./crypto-BURQLTgV.js";import"./AttachmentView-C3AzH7cN-Csi7tXqw.js";import"./uploadReceipts-BH9fi3Vt-CnyK0TMw.js";const l={labelWidth:new m(120,160,160),largeLabelWidth:new m(150,235,235),rightMargin:new m(c[3],c[8]),leftMargin:new m(c[3],c[6]),invoiceRightMargin:new m(c[3],c[6]),invoiceLeftMargin:new m(c[3],c[8]),topMargin:new m(c[3],0),bottomMargin:new m(c[4],27),activityBottomMargin:new m(96,0),totalBottomMargin:new m(c[5],c[3]),formBottomMargin:new m(c[5],c[3]),navBarHeight:new m(44,62),closeMarginTop:new m(0,0),rightSectionWidth:new m(100,58),leftSectionWidth:new m(100,42),footerButtonWidth:new m(120,165),right:new m(c[3],c[0]),actionsContainerRight:new m(c[0],c[6]),otherActionsContainerBottom:new m(58,44),duplicateBannerWrapperMarginTop:new m(c[5],c[3]),duplicateBannerWrapperMarginRight:new m(c[3],c[8]),duplicateBannerWrapperMarginBottom:new m(c[5],c[3]),duplicateBannerWrapperMarginLeft:new m(c[3],c[6])},li={formTitle:new Ht("h6Regular","h5Regular")},ia=({remiDetails:e,uploadInvoiceEndPoint:V,authParams:it,isAdmin:oe,signedInUser:ne,showApproveRejectBtns:le,isRealTimeApprovalEnabled:se,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:de,isSignedInUserReimbursementCreator:at,updateEditRealTimeApproverClicked:ce,onSaveRealTimeApprovals:me,redirectToReimbursementListScreen:U,redirectToEditableReimbursementScreen:rt,onDuplicateLineClick:ot,approveOrRejectRemi:pe,deleteReimbursement:nt,cancelAndDeleteReport:ue,handleZeniLogoClick:lt,onAddNewRule:he})=>{const d=At(),st=Mt().analytics,o=Rt(),ye=Pt(),[dt,k]=p.useState(!1),[Y,G]=p.useState(!1),[ct,H]=p.useState(!1),[q,Q]=p.useState("approved"),P=p.useRef(null),[j,J]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[C,mt]=p.useState(null),[pt,B]=p.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,ge=p.useRef({}),be=s=>{const n=ge.current[s];n!=null&&setTimeout(()=>ni(n,P.current),100)};p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&U()},[e,U]),p.useEffect(()=>{const s=window.location.hash;if(s&&s.startsWith("#L")){const n=s.substring(1);be(n)}},[]);const ut=()=>{U()};Bt({componentName:"reimbursements.details"});const ht={onOkClick:()=>{k(!1),j.primaryButtonText===i.buttons.delete?nt?.():j.title===i.cancelReportTitle?ue?.():j.title===i.cancelAndDeleteReportTitle&&ue?.(!0)},onCancelClick:()=>{k(!1)}},I=l.labelWidth.value(o),z=l.largeLabelWidth.value(o),we=Xe.getLocalizedStrings(),{common:{texts:{comments:yt},strings:{empty:xe}},collaboration:{threads:{placeholder:{addANewComment:gt,replyAComment:bt},tooltip:{resolveComment:wt,unResolveComment:xt}}},dateFormat:fe}=we,{reimbursementDetail:i,bulkActions:N}=we.spendManagement.reimbursement,Z=e.remiDetails?.reportTitle,S=e.remiDetails?.lines??[],L=e.remiDetails?.reimbursementInfo.stage,O=e.remiDetails?.reimbursementInfo.billStatus,_=e.remiDetails?.reimbursementInfo.billPaymentStatus,$e=L?.code==="paid",ft=$e?L:O?.code=="approved"&&_?.code?_:O,$=si(e.remiDetails),A=O?.code=="approved"&&_?.code?_:O,W=e.remiDetails?.isDeleted??!1,ve=e.remiDetails?.amount,Te=e.remiDetails?.amount.amount??0,Se=()=>{J({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),k(!0)},$t=()=>{J({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),k(!0)},vt=()=>{J({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),k(!0)},je=()=>{rt()},Tt={onOkClick:s=>{H(!1),pe({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:s})},onCancelClick:()=>{H(!1)}},St=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?je():(Q("approved"),pe({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},jt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(Q("delete"),Se()):(Q("rejected"),H(!0))},It=e.remiDetails?.reimbursementInfo.paymentDate!=null?ie.zeniDate(ie.getNextNthWorkingDay(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,X=e.remiDetails?.reimbursementInfo.expectedDepositDate??It,Ie=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&at,Dt=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ee=ft?.code,Ct=oi(e.duplicateLineByLineId),De=e.duplicateReimbursementStatus.fetchState==="Completed"&&Ct>0,{requestToOpenThread:te,setRequestToOpenThread:Ce,setOpenThread:E}=p.useContext(Nt),{threads:M,isLoading:D}=Lt({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),kt=p.useMemo(()=>M.filter(s=>s.resolved===!1&&!s.id.includes(Ot)),[M]).length,zt=p.useCallback((s,n)=>{E(n),B(!1)},[E,B]);p.useEffect(()=>{te?.threadId!=null&&M.length>0&&!D&&(E(te.threadId),Ce(null))},[te,M,D,E,Ce]);const g={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},R=ie.isBulkProcessing(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Bi,{windowSize:o,ref:P,children:[dt?t.jsx(ze,{titleComponent:t.jsx(Me,{children:j.title}),descriptionComponent:t.jsx(Ae,{children:j.description}),primaryButtonText:j.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:j.secondaryButtonText,action:ht}):null,ct?t.jsx(ze,{titleComponent:t.jsx(Me,{children:`${i.rejectRemiTitlePrefix} ${e.remiDetails?.reportTitle??""} by ${e.createdBy?.firstName??""} ${e.createdBy?.lastName??""}`}),descriptionComponent:t.jsx(Ae,{children:i.rejectRemiDescription}),primaryButtonText:i.buttons.send,secondaryButtonText:i.buttons.cancel,action:Tt,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Ci,{windowSize:o,"data-testid":y("reimbursement-detail-page-nav-bar-container"),children:[o!=="small"?t.jsx(Re,{"data-testid":y("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(ki,{onClick:()=>lt?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ye.colors.background,keepBackgroundOnScroll:!0,scrollableContent:P,source:"ReimbursementDetailPage"}):null,o!=="small"?t.jsx(ji,{}):null,t.jsx(Re,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:Z??xe,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:o!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Ai,{children:[u?t.jsxs(Mi,{isDisabled:D,onClick:D?()=>null:s=>{s.preventDefault(),s.stopPropagation(),mt({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),B(!0),st.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(n=>Wt(n)),void 0,void 0,"page icon")},"data-testid":y("remi-comments-section"),children:[t.jsx(_t,{count:D?void 0:kt,isLoading:D,style:{left:"12px"}}),t.jsx(Ri,{})]}):null,t.jsx(Pi,{size:o,onClick:()=>ut(),"data-testid":y("remi-detail-page-close"),children:t.jsx(zi,{})})]}),scrollableContent:P,enableTitleOnScroll:o!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Fi,{children:[o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(He,{windowSize:o,children:t.jsx(qe,{windowsSize:o,children:Z})}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:o,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,de&&$!=null?t.jsx(Ue,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null,A?.code!=null?o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Et,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:X,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W}),R?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:N.duplicateWarning.title,description:N.duplicateWarning.description}):De?t.jsxs(_e,{size:o,children:[t.jsx(Ke,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):t.jsx(Ge,{windowSize:o,children:t.jsx(Be,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:X,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W})}):null]}):null,S.map((s,n)=>{const v=e.duplicateLineByLineId[s.lineId];return t.jsxs(Ze,{windowSize:o,children:[t.jsx(_i,{windowSize:o,children:t.jsx(Wi,{bottomSeperator:S.length!==1,windowSize:o,children:t.jsx(ri,{showAutofill:!1,uploadInvoiceEndPoint:V,authParams:it,entityId:e.remiDetails?.id,file:s.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:S.length>1?`#${n+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:S.length-1===n||n===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"receipt"})})}),t.jsxs(Oi,{windowSize:o,children:[n===0&&o!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(He,{windowSize:o,children:[t.jsx(qe,{windowsSize:o,children:Z}),de&&$!=null?t.jsx(Ue,{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,A?.code!=null?t.jsx(Ge,{windowSize:o,children:t.jsx(Be,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:X,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W})}):null,R?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:N.duplicateWarning.title,description:N.duplicateWarning.description}):De?t.jsxs(_e,{size:o,children:[t.jsx(Ke,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(hi,{windowSize:o,ref:ke=>{ke!=null&&(ge.current[`L${s.lineId}`]=ke)},children:[o!=="small"?t.jsx(ui,{children:t.jsx(yi,{children:S.length>1?`#${n+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(gi,{windowSize:o,children:[v?.duplicateLineId!=null?t.jsxs(mi,{children:[i.thisExpenseReview," ",t.jsx(pi,{onClick:()=>{if(v.isDuplicateWithinTransaction&&v.duplicateLineId!=null)return be(`L${v.duplicateLineId}`);v.duplicateTransactionId!=null&&v.duplicateLineId!=null&&ot(v.duplicateTransactionId,v.duplicateLineId)},"data-testid":y("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:s.type===i.mileageKey?`${n}.mileage.reimbursementType`:`${n}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("reimbursementType",n,s.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"},children:t.jsx(x,{label:{label:i.reimbursementType,width:z},text:s.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(T,{}),s.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"mileage")}`},children:t.jsx(x,{label:{label:i.transactionDate,width:z},text:s.transactionDate?.format(fe.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("distanceInMiles",n,"mileage")}`},children:t.jsx(x,{label:{label:i.distanceInMiles,width:z},text:s.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"mileage")}`},children:t.jsx(x,{label:{label:i.amount,width:I},text:s.homeCurrencyConversions!=null?Ne("0,0[.]00",s.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"mileage")}`},children:t.jsx(x,{label:{label:i.memo,width:I},text:s.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"mileage")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(x,{label:{label:i.department,width:I},text:s.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("merchant",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.merchant,width:z},text:s.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.transactionDate,width:z},text:s.transactionDate?.format(fe.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.amount,width:I},text:s.homeCurrencyConversions!=null?Ne("0,0[.]00",s.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.memo,width:I},text:s.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("account",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.category,width:I},text:s.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"out_of_pocket")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(x,{label:{label:i.department,width:I},text:s.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]})]})]}),S.length!==1&&S.length===n+1&&t.jsxs(Li,{windowSize:o,children:[t.jsxs(Qe,{windowSize:o,children:[t.jsx(Je,{children:i.total}),t.jsx(Le,{amount:ve,integerStyles:F.h6Regular.cssObject,decimalStyles:F.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(Oe,{amount:Te,activities:e.remiActivities,stage:L?.code??"draft",onAddNewRule:he,entity:"reimbursement",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,allAccountingClass:e.allAccountingClasses,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:oe,signedInUserId:ne?.userId,showRealTimeApproval:se,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:ce,onSaveRealTimeApprovals:me},historicActivities:e.remiHistory.activities})]})]})]},s.lineId)}),S.length===1&&t.jsxs(Ze,{windowSize:o,children:[t.jsx(Ye,{}),t.jsxs(di,{windowSize:o,children:[t.jsx(Ni,{windowSize:o,children:t.jsxs(Qe,{windowSize:o,children:[t.jsx(Je,{children:i.total}),t.jsx(Le,{amount:ve,integerStyles:F.h6Regular.cssObject,decimalStyles:F.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(ci,{windowSize:o,children:t.jsx(Oe,{amount:Te,activities:e.remiActivities,stage:L?.code??"draft",onAddNewRule:he,entity:"reimbursement",historicActivities:e.remiHistory.activities,realTimeApproval:{allApprovers:e.filteredApprovers,allAccountingClass:e.allAccountingClasses,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:oe,signedInUserId:ne?.userId,showRealTimeApproval:se,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:ce,onSaveRealTimeApprovals:me}})})]})]}),t.jsx(Ei,{})]}),$e||W===!0?null:t.jsxs(Di,{children:[o!=="small"?t.jsx(Ye,{}):null,t.jsx(wi,{windowSize:o,"data-testid":y("remi-detail-page-footer"),onClick:s=>{s.stopPropagation(),Y===!0&&G(!1)},children:t.jsx(Ft,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||le,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||le,cancelBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.delete:i.buttons.deleteReport:o==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:q==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||q==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:jt,style:{width:l.footerButtonWidth.value(o)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.edit:i.buttons.editAndResubmit:o==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:q==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:St,style:{width:l.footerButtonWidth.value(o)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx(bi,{children:t.jsxs(Ii,{windowSize:o,children:[!R&&Y?t.jsx(Kt,{onClickAway:()=>G(!1),children:t.jsxs(Si,{windowSize:o,children:[ee!=="processing"?t.jsx(re,{onClick:Se,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ee==="processing"?t.jsx(re,{onClick:$t,"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ee==="processing"?t.jsx(re,{onClick:vt,"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Ti,{windowSize:o,children:[!R&&Ie===!0?t.jsx(vi,{onClick:je,"data-testid":y("remi-edit-button"),children:t.jsx($i,{})}):null,!R&&Dt===!0?t.jsx(fi,{windowSize:o,showEditIcon:Ie,children:t.jsx(xi,{onClick:()=>G(!Y),"data-testid":y("remi-more-actions-button")})}):null]})]})}),style:{minHeight:62}})})]}),u?t.jsx(ai,{id:h,children:t.jsx(Vt,{isDrawerOpen:pt,allowComposer:!0,drawerTitle:yt,threads:M,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:C?.companyId??xe,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:C?{companyName:C.companyName,companyId:C.companyId,entityId:C.entityId,entityType:C.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:gt,replyComposerPlaceholder:bt,threadResolve:wt,threadUnResolve:xt},onThreadClick:(s,n)=>zt(s,n),onCloseAllThreadsDrawer:()=>B(!1),drawerSectionStyle:{width:"400px",backgroundColor:ye.colors.background}})}):null]})},si=e=>{const V=Xe.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:V.tabsById.deleted,color:ae.deleted.color,bgColor:ae.deleted.bgColor,borderColor:ae.deleted.borderColor,code:"deleted"}},di=r.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
width: ${e=>l.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
5
|
+
`,ci=r.div`
|
|
6
|
+
margin-left: ${e=>l.leftMargin.valuePx(e.windowSize)};
|
|
7
|
+
margin-right: ${e=>l.rightMargin.valuePx(e.windowSize)};
|
|
8
|
+
margin-bottom: ${e=>l.activityBottomMargin.valuePx(e.windowSize)};
|
|
9
|
+
`,mi=r(Qt)`
|
|
10
|
+
padding: ${a.sp2} ${a.sp0} ${a.sp2} ${a.sp4};
|
|
11
|
+
background-color: ${K.alertLight};
|
|
12
|
+
color: ${K.brandColorGoldDark};
|
|
13
|
+
border-top-left-radius: inherit;
|
|
14
|
+
border-top-right-radius: inherit;
|
|
15
|
+
`,pi=r.span`
|
|
16
|
+
border-bottom: 1px solid currentColor;
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
`,_e=r.div`
|
|
19
|
+
display: flex;
|
|
20
|
+
gap: ${a.sp2};
|
|
21
|
+
padding: ${a.sp3};
|
|
22
|
+
border-radius: ${a.sp2};
|
|
23
|
+
align-items: start;
|
|
24
|
+
margin-top: ${e=>l.duplicateBannerWrapperMarginTop.valuePx(e.size)};
|
|
25
|
+
margin-right: ${e=>l.duplicateBannerWrapperMarginRight.valuePx(e.size)};
|
|
26
|
+
margin-bottom: ${e=>l.duplicateBannerWrapperMarginBottom.valuePx(e.size)};
|
|
27
|
+
margin-left: ${e=>l.duplicateBannerWrapperMarginLeft.valuePx(e.size)};
|
|
28
|
+
background-color: ${K.alertLight};
|
|
29
|
+
border: 1px solid ${e=>e.theme.colors.brandColorGoldDark};
|
|
30
|
+
`,We=r(ti)`
|
|
31
|
+
color: ${e=>e.theme.colors.brandColorGoldDark};
|
|
32
|
+
`,Ee=r.div`
|
|
33
|
+
width: 100%;
|
|
34
|
+
`,Fe=r(et)`
|
|
35
|
+
color: ${e=>e.theme.colors.brandColorGoldDark};
|
|
36
|
+
`,Ke=r(ii)`
|
|
37
|
+
width: ${a.sp4};
|
|
38
|
+
height: ${a.sp4};
|
|
39
|
+
color: ${K.brandColorGoldDark};
|
|
40
|
+
`,Ve=r(et)`
|
|
41
|
+
margin-bottom: ${e=>l.bottomMargin.valuePx(e.windowSize)};
|
|
42
|
+
margin-left: ${e=>l.leftMargin.valuePx(e.windowSize)};
|
|
43
|
+
margin-right: ${e=>l.rightMargin.valuePx(e.windowSize)};
|
|
44
|
+
color: ${e=>e.theme.colors.primary};
|
|
45
|
+
`,ui=r.div`
|
|
46
|
+
display: flex;
|
|
47
|
+
justify-content: space-between;
|
|
48
|
+
`,hi=r.div`
|
|
49
|
+
margin-left: ${e=>l.leftMargin.valuePx(e.windowSize)};
|
|
50
|
+
margin-right: ${e=>l.rightMargin.valuePx(e.windowSize)};
|
|
51
|
+
`,yi=r(tt)`
|
|
52
|
+
color: ${e=>e.theme.colors.primary};
|
|
53
|
+
margin-bottom: ${a.sp3};
|
|
54
|
+
`,gi=r.div`
|
|
55
|
+
display: flex;
|
|
56
|
+
flex-direction: column;
|
|
57
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
58
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
59
|
+
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
60
|
+
border-radius: ${a.sp2};
|
|
61
|
+
margin-bottom: ${e=>l.formBottomMargin.valuePx(e.windowSize)};
|
|
62
|
+
z-index: 3;
|
|
63
|
+
`,bi=r.div`
|
|
64
|
+
display: flex;
|
|
65
|
+
justify-content: flex-end;
|
|
66
|
+
`,wi=r.div`
|
|
67
|
+
width: ${e=>l.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
68
|
+
`,xi=r(ei)`
|
|
69
|
+
cursor: pointer;
|
|
70
|
+
color: ${e=>e.theme.colors.hero};
|
|
71
|
+
width: ${a.sp5};
|
|
72
|
+
height: ${a.sp5};
|
|
73
|
+
&:hover {
|
|
74
|
+
color: ${e=>e.theme.colors.primary};
|
|
75
|
+
}
|
|
76
|
+
`,fi=r.div`
|
|
77
|
+
display: flex;
|
|
78
|
+
margin-left: ${e=>e.windowSize==="small"?e.showEditIcon===!0?a.sp3:a.sp4:a.sp5};
|
|
79
|
+
cursor: pointer;
|
|
80
|
+
color: ${e=>e.theme.colors.grey1};
|
|
81
|
+
&:hover {
|
|
82
|
+
color: ${e=>e.theme.colors.primary};
|
|
83
|
+
}
|
|
84
|
+
`,$i=r(Xt)`
|
|
85
|
+
cursor: pointer;
|
|
86
|
+
color: ${e=>e.theme.colors.hero};
|
|
87
|
+
width: ${a.sp5};
|
|
88
|
+
height: ${a.sp5};
|
|
89
|
+
&:hover {
|
|
90
|
+
color: ${e=>e.theme.colors.primary};
|
|
91
|
+
}
|
|
92
|
+
`,vi=r.div`
|
|
93
|
+
display: flex;
|
|
94
|
+
cursor: pointer;
|
|
95
|
+
color: ${e=>e.theme.colors.grey1};
|
|
96
|
+
margin-left: ${a.sp4};
|
|
97
|
+
&:hover {
|
|
98
|
+
color: ${e=>e.theme.colors.primary};
|
|
99
|
+
}
|
|
100
|
+
`,Ue=r(tt)`
|
|
101
|
+
display: flex;
|
|
102
|
+
color: ${e=>e.borderColor};
|
|
103
|
+
align-items: center;
|
|
104
|
+
justify-content: flex-end;
|
|
105
|
+
margin-left: ${a.sp3};
|
|
106
|
+
padding: 1px 6px 1px 6px;
|
|
107
|
+
border: ${e=>`1px solid ${e.borderColor}`};
|
|
108
|
+
border-radius: ${a.sp1};
|
|
109
|
+
min-width: fit-content;
|
|
110
|
+
max-width: fit-content;
|
|
111
|
+
`,Ti=r.div`
|
|
112
|
+
display: flex;
|
|
113
|
+
justify-content: center;
|
|
114
|
+
align-items: center;
|
|
115
|
+
`,Si=r.div`
|
|
116
|
+
display: flex;
|
|
117
|
+
width: max-content;
|
|
118
|
+
align-items: center;
|
|
119
|
+
justify-content: center;
|
|
120
|
+
flex-direction: column;
|
|
121
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
122
|
+
color: ${e=>e.theme.colors.hero};
|
|
123
|
+
cursor: pointer;
|
|
124
|
+
padding-top: ${a.sp1};
|
|
125
|
+
padding-bottom: ${a.sp1};
|
|
126
|
+
position: absolute;
|
|
127
|
+
bottom: ${e=>l.otherActionsContainerBottom.valuePx(e.windowSize)};
|
|
128
|
+
z-index: 3;
|
|
129
|
+
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
130
|
+
border-radius: ${a.sp1};
|
|
131
|
+
right: ${e=>l.right.valuePx(e.windowSize)};
|
|
132
|
+
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.grey1} 3D`};
|
|
133
|
+
`,ji=r.div`
|
|
134
|
+
position: fixed;
|
|
135
|
+
top: 0;
|
|
136
|
+
left: 42vw;
|
|
137
|
+
width: 100%;
|
|
138
|
+
height: 100vh;
|
|
139
|
+
background: transparent;
|
|
140
|
+
box-shadow: 0 2px ${a.sp1} ${({theme:e})=>e.colors.dropShadowNormal};
|
|
141
|
+
pointer-events: none;
|
|
142
|
+
z-index: 1;
|
|
143
|
+
`,Ii=r.div`
|
|
144
|
+
width: auto;
|
|
145
|
+
justify-content: flex-end;
|
|
146
|
+
position: ${e=>e.windowSize==="small"?"static":"relative"};
|
|
147
|
+
right: ${e=>l.actionsContainerRight.valuePx(e.windowSize)};
|
|
148
|
+
height: 100%;
|
|
149
|
+
display: flex;
|
|
150
|
+
`,re=r(Zt)`
|
|
151
|
+
display: flex;
|
|
152
|
+
align-items: center;
|
|
153
|
+
width: 100%;
|
|
154
|
+
padding-left: ${a.sp3};
|
|
155
|
+
padding-right: ${a.sp3};
|
|
156
|
+
height: ${a.sp6};
|
|
157
|
+
box-sizing: border-box;
|
|
158
|
+
&:hover {
|
|
159
|
+
background-color: ${e=>e.theme.colors.background};
|
|
160
|
+
}
|
|
161
|
+
`,Di=r.div`
|
|
162
|
+
display: flex;
|
|
163
|
+
width: 100%;
|
|
164
|
+
position: sticky;
|
|
165
|
+
bottom: 0;
|
|
166
|
+
z-index: 2;
|
|
167
|
+
`,Ci=r.div`
|
|
168
|
+
min-height: ${e=>l.navBarHeight.valuePx(e.windowSize)};
|
|
169
|
+
height: ${e=>l.navBarHeight.valuePx(e.windowSize)};
|
|
170
|
+
display: flex;
|
|
171
|
+
align-items: center;
|
|
172
|
+
width: 100%;
|
|
173
|
+
justify-content: space-between;
|
|
174
|
+
position: fixed;
|
|
175
|
+
z-index: 4;
|
|
176
|
+
`,ki=r(Ut)`
|
|
177
|
+
color: ${e=>e.theme.colors.brandColorJade};
|
|
178
|
+
cursor: pointer;
|
|
179
|
+
width: ${a.sp4};
|
|
180
|
+
height: ${a.sp4};
|
|
181
|
+
`,T=r.div`
|
|
182
|
+
display: flex;
|
|
183
|
+
flex: 1;
|
|
184
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
185
|
+
min-height: 1px;
|
|
186
|
+
max-height: 1px;
|
|
187
|
+
`,zi=r(Gt)`
|
|
188
|
+
cursor: pointer;
|
|
189
|
+
width: ${a.sp4};
|
|
190
|
+
height: ${a.sp4};
|
|
191
|
+
float: right;
|
|
192
|
+
color: ${e=>e.theme.colors.hero};
|
|
193
|
+
&:hover {
|
|
194
|
+
color: ${e=>e.theme.colors.primary};
|
|
195
|
+
}
|
|
196
|
+
`,Ai=r.div`
|
|
197
|
+
margin-top: ${e=>l.closeMarginTop.valuePx(e.windowSize)};
|
|
198
|
+
display: flex;
|
|
199
|
+
float: right;
|
|
200
|
+
`,Mi=r.div`
|
|
201
|
+
display: flex;
|
|
202
|
+
align-items: center;
|
|
203
|
+
justify-content: center;
|
|
204
|
+
position: relative;
|
|
205
|
+
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
206
|
+
color: ${e=>e.theme.colors.hero};
|
|
207
|
+
&:hover {
|
|
208
|
+
color: ${e=>e.theme.colors.primary};
|
|
209
|
+
}
|
|
210
|
+
`,Ri=r(Yt)`
|
|
211
|
+
display: flex;
|
|
212
|
+
width: ${a.sp4};
|
|
213
|
+
height: ${a.sp4};
|
|
214
|
+
align-items: center;
|
|
215
|
+
justify-content: center;
|
|
216
|
+
`,Pi=r.div`
|
|
217
|
+
margin-top: ${e=>l.closeMarginTop.valuePx(e.size)};
|
|
218
|
+
margin-left: ${a.sp5};
|
|
219
|
+
`,Bi=r.div`
|
|
220
|
+
display: flex;
|
|
221
|
+
flex-direction: column;
|
|
222
|
+
width: 100vw;
|
|
223
|
+
background: -webkit-linear-gradient(
|
|
224
|
+
to right,
|
|
225
|
+
${e=>e.theme.colors.background} 42%,
|
|
226
|
+
${e=>e.theme.colors.grey4} 42%
|
|
227
|
+
);
|
|
228
|
+
background: -moz-linear-gradient(
|
|
229
|
+
to right,
|
|
230
|
+
${e=>e.theme.colors.background} 42%,
|
|
231
|
+
${e=>e.theme.colors.grey4} 42%
|
|
232
|
+
);
|
|
233
|
+
background: -o-linear-gradient(
|
|
234
|
+
to right,
|
|
235
|
+
${e=>e.theme.colors.background} 42%,
|
|
236
|
+
${e=>e.theme.colors.grey4} 42%
|
|
237
|
+
);
|
|
238
|
+
background: linear-gradient(
|
|
239
|
+
to right,
|
|
240
|
+
${e=>e.theme.colors.background} 42%,
|
|
241
|
+
${e=>e.theme.colors.grey4} 42%
|
|
242
|
+
);
|
|
243
|
+
${e=>e.windowSize==="small"&&`
|
|
244
|
+
background: ${e.theme.colors.grey4};
|
|
245
|
+
`}
|
|
246
|
+
height: 100vh;
|
|
247
|
+
overflow: scroll;
|
|
248
|
+
`,Ye=r.div`
|
|
249
|
+
width: 42%;
|
|
250
|
+
`,Ni=r.div`
|
|
251
|
+
margin-left: ${e=>l.leftMargin.valuePx(e.windowSize)};
|
|
252
|
+
margin-right: ${e=>l.rightMargin.valuePx(e.windowSize)};
|
|
253
|
+
`,Ge=r.div`
|
|
254
|
+
margin-bottom: ${e=>l.bottomMargin.valuePx(e.windowSize)};
|
|
255
|
+
margin-left: ${e=>l.leftMargin.valuePx(e.windowSize)};
|
|
256
|
+
margin-right: ${e=>l.rightMargin.valuePx(e.windowSize)};
|
|
257
|
+
`,He=r.div`
|
|
258
|
+
display: flex;
|
|
259
|
+
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
260
|
+
align-items: ${e=>e.windowSize==="small"?"unset":"center"};
|
|
261
|
+
margin-top: ${e=>l.topMargin.valuePx(e.windowSize)};
|
|
262
|
+
margin-left: ${e=>l.leftMargin.valuePx(e.windowSize)};
|
|
263
|
+
margin-right: ${e=>l.rightMargin.valuePx(e.windowSize)};
|
|
264
|
+
width: ${e=>e.windowSize==="small"?"fit-content":"unset"};
|
|
265
|
+
`,qe=r(qt)`
|
|
266
|
+
flex-grow: 1;
|
|
267
|
+
${e=>`${li.formTitle.style(e.windowsSize)}`};
|
|
268
|
+
color: ${e=>e.theme.colors.primary};
|
|
269
|
+
word-break: break-all;
|
|
270
|
+
`,Li=r.div`
|
|
271
|
+
display: flex;
|
|
272
|
+
flex-direction: column;
|
|
273
|
+
margin-left: ${e=>l.leftMargin.valuePx(e.windowSize)};
|
|
274
|
+
margin-right: ${e=>l.rightMargin.valuePx(e.windowSize)};
|
|
275
|
+
`,Qe=r.div`
|
|
276
|
+
padding: ${a.sp3};
|
|
277
|
+
display: flex;
|
|
278
|
+
align-items: center;
|
|
279
|
+
justify-content: center;
|
|
280
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
281
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
282
|
+
border-radius: ${a.sp2};
|
|
283
|
+
color: ${e=>e.theme.colors.hero};
|
|
284
|
+
margin-bottom: ${e=>l.totalBottomMargin.valuePx(e.windowSize)};
|
|
285
|
+
justify-content: space-between;
|
|
286
|
+
`,Je=r(Jt)`
|
|
287
|
+
display: flex;
|
|
288
|
+
width: 176px;
|
|
289
|
+
color: ${e=>e.theme.colors.primary};
|
|
290
|
+
`,Oi=r.div`
|
|
291
|
+
display: flex;
|
|
292
|
+
flex-direction: column;
|
|
293
|
+
width: ${e=>l.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
294
|
+
`,Ze=r.div`
|
|
295
|
+
display: flex;
|
|
296
|
+
width: 100%;
|
|
297
|
+
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
298
|
+
align-items: ${e=>e.windowSize==="small"?"center":"flex-start"};
|
|
299
|
+
`,_i=r.div`
|
|
300
|
+
width: ${e=>l.leftSectionWidth.valuePercentage(e.windowSize)};
|
|
301
|
+
`,Wi=r.div`
|
|
302
|
+
background: ${e=>e.theme.colors.grey3};
|
|
303
|
+
border-radius: ${a.sp2};
|
|
304
|
+
margin-top: ${e=>l.topMargin.valuePx(e.windowSize)};
|
|
305
|
+
margin-left: ${e=>l.invoiceLeftMargin.valuePx(e.windowSize)};
|
|
306
|
+
margin-right: ${e=>l.invoiceRightMargin.valuePx(e.windowSize)};
|
|
307
|
+
margin-bottom: ${e=>e.bottomSeperator===!0&&e.windowSize!=="small"?"107px":a.sp5};
|
|
308
|
+
`,Ei=r.div`
|
|
309
|
+
display: flex;
|
|
310
|
+
flex-direction: column;
|
|
311
|
+
height: ${a.sp11};
|
|
312
|
+
`,Fi=r.div`
|
|
313
|
+
margin-top: 78px;
|
|
314
|
+
`;export{ia as default};
|