@zeniai/web-app-ui 4.14.31-dev → 4.14.31-qa
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-CFhoboVe-JodbwPsQ.js → ACHDetailsPage-CFhoboVe-DcRe2nTt.js} +1 -1
- package/dist/assets/{AIPerformancePage-DB-fTWME-CgGQsnV1.js → AIPerformancePage-DB-fTWME-DYZeuOnD.js} +1 -1
- package/dist/assets/{AccountInfoPage-pEEhPqOb-BzcKyQfW.js → AccountInfoPage-pEEhPqOb-B-Hd8VtG.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-eYEsv7ac-vCK7G4bh.js → AccountInfoPageContent-eYEsv7ac-DDYvpmDy.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-jYWr_8TD-q_Ikf2Tn.js → AccountLockedInfoModal-jYWr_8TD-DcOOzUkE.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-3Q0EPYhL-BH4of7uu.js → AccountReconDetailsDrawerPage-3Q0EPYhL-27wJMTjD.js} +1 -1
- package/dist/assets/{AccountRow-CdgvnPG8-Cz30EYLJ.js → AccountRow-CdgvnPG8-BR1hQ4Zy.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-DHo59LLN-SJuuNn3m.js → AccountsPromoCardStack-DHo59LLN-ChbxyMzd.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-BzO1FXUa-Fyg_NOS1.js → AddAddressForCardDrawer-BzO1FXUa-kLdLeGkd.js} +1 -1
- package/dist/assets/{AddToWalletPage-BfXFbHjk-CMzYyYW2.js → AddToWalletPage-BfXFbHjk-CYPGe181.js} +1 -1
- package/dist/assets/{AddressRoutes-B6KyTWyT.js → AddressRoutes-XcDMlDlS.js} +1 -1
- package/dist/assets/{AddressScreen-ZPcySSaO.js → AddressScreen-DPPx0MfK.js} +1 -1
- package/dist/assets/{AgingReportsPage-C1hFq4KH-Zi5GTQ1z.js → AgingReportsPage-C1hFq4KH-DN--gN3O.js} +1 -1
- package/dist/assets/{AiCfoScreen-C7jQo3LZ.js → AiCfoScreen-30SW2q3w.js} +1 -1
- package/dist/assets/{AllUserItems-B6pnKByY-z-llp8Ld.js → AllUserItems-B6pnKByY-DyP7v-cA.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-CxLVGnpY-BrZpRxc6.js → ApAgingDetailPage-CxLVGnpY-BYGcfd1t.js} +1 -1
- package/dist/assets/{AppBasePage-DiVxF606-DEIAJtmX.js → AppBasePage-DiVxF606-AXI0aqhJ.js} +1 -1
- package/dist/assets/{AppDrawerContent-B_EWsf8O-nCzxlMlY.js → AppDrawerContent-B_EWsf8O-CMysKcTU.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-HHjDp_NQ-Dk_su188.js → ApprovalRulesSettingsPage-HHjDp_NQ-jrLhlHCF.js} +1 -1
- package/dist/assets/{ArAgingChart-Ba4A-i2N-DVKxnxLC.js → ArAgingChart-Ba4A-i2N-PODxdvyn.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-prgcvsS4-B6KvY1N_.js → ArAgingDetailPage-prgcvsS4-BsTAVwTa.js} +1 -1
- package/dist/assets/{AttachmentView-SsWJw4A8-CiFA7Mtk.js → AttachmentView-SsWJw4A8-RJr9hQhO.js} +1 -1
- package/dist/assets/{BalancesInsightWithToolTip-DE6gDjGA-CuriAdQu.js → BalancesInsightWithToolTip-DE6gDjGA-e_65zoZY.js} +1 -1
- package/dist/assets/{BankAccountSection-B4jmT0lb-D2VaI5gJ.js → BankAccountSection-B4jmT0lb-zwPodZbw.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Bz2itMx0-EQdFts4P.js → BankAccountWarningSection-Bz2itMx0-BfZtVATK.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BcVk7bTt-CcJ2zW2K.js → BankConnectionsSettingsPage-BcVk7bTt-C3Wp_iZl.js} +1 -1
- package/dist/assets/{BillDetailPage-Dkqmi4H1-BFTmBvTz.js → BillDetailPage-Dkqmi4H1-C6mDNSc2.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-CB_WVdNG.js → BillPayApprovalRoutes-CaSA1uSR.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-Blxlv3pa-NuWc5jPY.js → BillPayApprovalRuleDetailPage-Blxlv3pa-BYAGbgwQ.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-B_QwggJS-Csxvsi8z.js → BillPayApprovalRulesPage-B_QwggJS-BveqhBul.js} +1 -1
- package/dist/assets/{BillPayPromoPage-Bx2AXpWe-DWku5Qhm.js → BillPayPromoPage-Bx2AXpWe-BrIbmhut.js} +1 -1
- package/dist/assets/{BillPayRoutes-9FjXpkgQ.js → BillPayRoutes-CMdKHc5T.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-CM7_DkHC-B8MycdyA.js → BillPaySetUpPage-CM7_DkHC-Bt5CjJNs.js} +1 -1
- package/dist/assets/{BillingSettingsPage-DM0OIfxa-B3DQmXkS.js → BillingSettingsPage-DM0OIfxa-CKHUmPAw.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-C3xmQ7wz-DgU-ZFK3.js → BillsBulkReviewDrawerPage-C3xmQ7wz-Cf_j4N1J.js} +1 -1
- package/dist/assets/{BoxItem-CvCo0wr6-QhJ82HMO.js → BoxItem-CvCo0wr6-BAtsmvg4.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BAZmkR4a-DKUcO_Rf.js → BusinessVerificationPage-BAZmkR4a-BbYTLnZH.js} +1 -1
- package/dist/assets/{BusinessVerificationPageScreen-BKBP5CJh.js → BusinessVerificationPageScreen-DVGxc_kT.js} +1 -1
- package/dist/assets/{BusyIndication-Cp8KWKB2-C3oZ8Ini.js → BusyIndication-Cp8KWKB2-paVspSd6.js} +1 -1
- package/dist/assets/{CardNumberSubText-DHtSIcZZ-kHFdQu5S.js → CardNumberSubText-DHtSIcZZ-CJNkVpEB.js} +1 -1
- package/dist/assets/{CashbackDetailPage-CNS1FA6b-Clcw1gL0.js → CashbackDetailPage-CNS1FA6b-DNPbsy8R.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-C4NeG7IM-CcgpSGTB.js → ChargeCardDetailPage-C4NeG7IM-Bqzrs3Tx.js} +1 -1
- package/dist/assets/{ChargeCardListPage-DNYiWaEf-BZBAcxPe.js → ChargeCardListPage-DNYiWaEf-D4WPR4qJ.js} +1 -1
- package/dist/assets/{ChargeCardListTable-DdnyzdFf-D27zGMD0.js → ChargeCardListTable-DdnyzdFf-BLIVQeNK.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-CXlqzaUt-Cw-q5fHs.js → ChargeCardPaymentHistoryPage-CXlqzaUt-nlgSDdhG.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-D4canPX9-B2gMZ94L.js → ChargeCardPromoPage-D4canPX9-CjFFR5oK.js} +1 -1
- package/dist/assets/{ChargeCardRoutes-B9ifIaPD.js → ChargeCardRoutes-DipRg107.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-BtikPFOq-B1Q5Q-k4.js → ChargeCardSetupPage-BtikPFOq-Ci06zFqY.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-RepWBbvJ-BeTG3xG9.js → ChargeCardStatementsPage-RepWBbvJ-qZhzfjJs.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-BCqg3irO-LJQj-9cr.js → CheckDepositDrawerPage-BCqg3irO-CU861UMl.js} +1 -1
- package/dist/assets/{CollapsableReportTable-gy7Ue_fk-xkuj86hA.js → CollapsableReportTable-gy7Ue_fk-Cp0GdxMJ.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BsCx7q-g-C5hfQprP.js → CompanyOfficerDetailsSection-BsCx7q-g-Bqu05vNe.js} +1 -1
- package/dist/assets/{CompanyPassportCard-BbUWOs1U-Dw1HMrsN.js → CompanyPassportCard-BbUWOs1U-CQapOMzG.js} +1 -1
- package/dist/assets/{CompanyPassportPage-BnP2oA1U-BahIQeuB.js → CompanyPassportPage-BnP2oA1U-DG-ray3n.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-CT9c7lvA.js → CompanyPassportScreen-Bsk4iSLd.js} +1 -1
- package/dist/assets/{CompleteProfile-TiRsm2Fm-fE1NUszo.js → CompleteProfile-TiRsm2Fm-Dmw9B9gd.js} +1 -1
- package/dist/assets/{ConfettiBurst-D7J36hZf-CSVT9V2q.js → ConfettiBurst-D7J36hZf-DAmXS8qh.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-D6BkdM1l.js → ConnectionAuthScreen-CdbJnza-.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-vBI13ZbI.js → ConstrainedInnerElement-CgdnMeoA-CpoLys2G.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-Dihzr1D5-BUR2QFLa.js → CreateOrEditVendorPage-Dihzr1D5-Df0a--du.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-CZGzDuxC-BUIdND4_.js → CreditCardPaymentDrawerPage-CZGzDuxC-CG7xBUFZ.js} +1 -1
- package/dist/assets/{CurrencySelectField-BTAmIqPa-rlZjvsTh.js → CurrencySelectField-BTAmIqPa-BOvsicp3.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-MVI7kqIh-JD8ZqQ1I.js → CustomerOnboardingActivationPage-MVI7kqIh-B52EVUog.js} +1 -1
- package/dist/assets/{CustomerOnboardingAuthScreen-DsZqZ3Im.js → CustomerOnboardingAuthScreen-DO7d0gIb.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--CSEqEIM8.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CaI_0pCb-D_9R8ntI.js → CustomerOnboardingDetailPageSkeleton-CaI_0pCb-Dx2c__Yb.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CO_c2COV-CTf7zsp5.js → CustomerOnboardingNoStepsPage-CO_c2COV-CcNi7DUF.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-BF0vuYaJ-DB-M7FrJ.js → CustomerOnboardingPage-BF0vuYaJ-CpeT13Rn.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-BGFdLX1i-C8cOT0zx.js → CustomerOnboardingProductSuitePage-BGFdLX1i-C7qSBsYV.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-BiogvBuq.js → CustomerOnboardingRoutes-BqTX1iyW.js} +1 -1
- package/dist/assets/{Dashboard-Qjedd4r--CRbsfODt.js → Dashboard-Qjedd4r--DdmcDs7e.js} +1 -1
- package/dist/assets/{DashboardReportPage-Deith_ON-D8fEi8Zc.js → DashboardReportPage-Deith_ON-BYNIuWwI.js} +1 -1
- package/dist/assets/{DashboardRoutes-BQeGUCAH.js → DashboardRoutes-C3tqy16Q.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-C7DfUDio-C16c7XTp.js → DashboardSidebarBackgroundAnimation-C7DfUDio-CXRw7JSP.js} +1 -1
- package/dist/assets/{DefaultTenantHome-DDgedZUJ.js → DefaultTenantHome-DTL7QcJH.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-7kYotKov-QpJvWZ45.js → DepositAccTransactionItem-7kYotKov-C07q_etT.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-Bop4Uj5w-oeif2Id9.js → DepositAccTransactionListPage-Bop4Uj5w-DYSx2RBP.js} +1 -1
- package/dist/assets/{DomesticWireDetailScreen-6HCK_7TE.js → DomesticWireDetailScreen-D_BfoPLh.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-_TyXsqEx-BYHoiTtM.js → DomesticWireDetailsPage-_TyXsqEx-jkwnoEUE.js} +1 -1
- package/dist/assets/{DownloadOverlay-Cmd727bN-C-PzxP5F.js → DownloadOverlay-Cmd727bN-CUU7ZY9L.js} +1 -1
- package/dist/assets/{DrawerPage-DmGwfnGp-soZmQNN_.js → DrawerPage-DmGwfnGp-LTv4sDcy.js} +1 -1
- package/dist/assets/{DrawerScreen-C_1QezB2.js → DrawerScreen-DtF71b7B.js} +1 -1
- package/dist/assets/{EditPeoplePage-YyluIC6R-B0i1VKsb.js → EditPeoplePage-YyluIC6R-CXdaDa7G.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-DeMid2Ko-B5ltV9Cy.js → EditReimbursementDetailPage-DeMid2Ko-Bv-8Xabp.js} +1 -1
- package/dist/assets/{EntityDetailPage-DPTSSZdS-CPjJOO2E.js → EntityDetailPage-DPTSSZdS-oHoyHWu0.js} +1 -1
- package/dist/assets/{EntityDetailRoutes--mZVfECz.js → EntityDetailRoutes-DYnivlwX.js} +1 -1
- package/dist/assets/{EntitySummarySection-5NbutA8l-DL6jpdFo.js → EntitySummarySection-5NbutA8l-CQbl1YIH.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-CQ_3WluW-CCAAzH1q.js → ExpenseAutomationOverviewPage-CQ_3WluW-CLWld5W7.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-VuU4acYd-BNMHy7wa.js → ExpenseAutomationPage-VuU4acYd-B7T-Dg4p.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-DyeVLVvz.js → ExpenseAutomationRoutes-BlW2sTwn.js} +1 -1
- package/dist/assets/{ExpressPayPage-DhoNmyC2-BM7D8t94.js → ExpressPayPage-DhoNmyC2-Bd-YVNzq.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-GSwhPxgP-CknFQRpv.js → FeaturePreviewPage-GSwhPxgP-CXXTQoUA.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-DcXxWeeZ.js → FeaturePreviewScreen-CpHWA-St.js} +1 -1
- package/dist/assets/{FollowStepsSection-DaueHRo4-R5WhFSRV.js → FollowStepsSection-DaueHRo4-FQso0zsG.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-DG7_1HOT-BY_P61_d.js → GlobalReviewListPage-DG7_1HOT-_eh0o3Lh.js} +1 -1
- package/dist/assets/{InformationCardStack-zc-BxR7F-Dc1qaC3e.js → InformationCardStack-zc-BxR7F-CH328-RF.js} +1 -1
- package/dist/assets/{InsightsCardStack-DxCA5sFh-BcClR9fT.js → InsightsCardStack-DxCA5sFh-Y8l4503l.js} +1 -1
- package/dist/assets/{InsightsSection-BdFG3j3R-D7JeFV31.js → InsightsSection-BdFG3j3R-DjHyJY78.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-CaiL3kqS-BK30afn3.js → IntegrationsSettingsPage-CaiL3kqS-CiO2l-pg.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-BrQVSzeS-BpNTGybF.js → InternationalWireSwiftDetailsPage-BrQVSzeS-B8g9fXts.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-NaLnhW9C-xEbEY4G_.js → InternationalWireVerificationPage-NaLnhW9C-Be5m5GNN.js} +1 -1
- package/dist/assets/{InviteFormPage-fjqv2l7h-CN7vzCNz.js → InviteFormPage-fjqv2l7h-CLLSBMJ2.js} +1 -1
- package/dist/assets/{InvitePageListView-CQecQhxr-D7nG5RDJ.js → InvitePageListView-CQecQhxr-DHxSXSin.js} +1 -1
- package/dist/assets/{InvitePeoplePage-DAEBuOnk-etA_btSE.js → InvitePeoplePage-DAEBuOnk-CNuAu3aA.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-58l6ePuH-DGEZcLC_.js → InvoiceUploadSection-58l6ePuH-CbCDsLyQ.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-Bkxqsgax-BZ-SKXi3.js → IssueChargeCardPage-Bkxqsgax-B2E0w7s1.js} +1 -1
- package/dist/assets/{LabeledAddressValue-CZfFV97h-Bb57sB9z.js → LabeledAddressValue-CZfFV97h-D0qxrk9o.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-D66XOhMx-DAzGEgKS.js → LabeledAddressValueField-D66XOhMx-BL2wLyLH.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-BtnsqE4D-pO3EStbM.js → LabeledControlledCheckBoxField-BtnsqE4D-B85xoPON.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-kopByxLB-CVmx734o.js → LabeledCountryMultiSelectField-kopByxLB-1-3v1UQa.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-B6An-cwq-ZwV4dPE-.js → LabeledCreatableSingleSelectField-B6An-cwq-DFSBA92N.js} +1 -1
- package/dist/assets/{LabeledDocumentField-D_ZD8JTn-EgNCcbbj.js → LabeledDocumentField-D_ZD8JTn-vKeq6vm6.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-CJ7ncCzH-yHUhBReW.js → LabeledDropDownFormattedTextField-CJ7ncCzH-B0WjHFnN.js} +1 -1
- package/dist/assets/{LabeledEmailInputField-CSfzMDYO-Ccf6Bxv0.js → LabeledEmailInputField-CSfzMDYO-CWt52Wcv.js} +1 -1
- package/dist/assets/{LabeledNameField-DZJXGYR9-C9Z5T7ep.js → LabeledNameField-DZJXGYR9-BrTXKAba.js} +1 -1
- package/dist/assets/{LabeledSingleSelectField-D_LoOMiZ-CAsbCcep.js → LabeledSingleSelectField-D_LoOMiZ-BMpo-aMs.js} +1 -1
- package/dist/assets/{LabeledText-A1h_ionS-CcjmiFmI.js → LabeledText-A1h_ionS-CFl8s8G-.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-EIyuSMIG.js → LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-Q6YssO3g.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-DmynBXbJ-DglcXxDL.js → LabeledZeniRolesDropDownField-DmynBXbJ-B4T-A7Cu.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-D6-fL4a6-DlR8vjGO.js → LinkJETransactionPage-D6-fL4a6-tCaqs9Yj.js} +1 -1
- package/dist/assets/{LockCardPage-BDlnh_zf-64lzFlF5.js → LockCardPage-BDlnh_zf-cKP8zIxD.js} +1 -1
- package/dist/assets/{LowBalancePopup-CBPl_udd-Nqllub28.js → LowBalancePopup-CBPl_udd-BorudEL4.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-eq8wlXQr-DwBTA9or.js → MagicLinkACHDetailsPage-eq8wlXQr-C2vI5jVH.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-BcNOhJgL-M9e4wRPN.js → MagicLinkDomesticWireDetailsPage-BcNOhJgL-mWcNcIhr.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-Df8XYlkg-BKUO0J46.js → MagicLinkInternationalWireDetailsPage-Df8XYlkg-bsxOE2QI.js} +1 -1
- package/dist/assets/{MagicLinkRoutes-B4rSGEA5.js → MagicLinkRoutes-CcsKjkce.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-DL54w9kv.js → MagicLinkSignInScreen-Dw8ViAP-.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Cl461HWp-DrFI3SFX.js → MagicLinkSuccessPage-Cl461HWp-01GdAVLj.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DoIMYrRv-BmkYYs3S.js → MagicLinkTitleSection-DoIMYrRv-wUyCV4b7.js} +1 -1
- package/dist/assets/{MailingDetailsSection-NdwWGQ88-M0GYvrro.js → MailingDetailsSection-NdwWGQ88-ChhAh-Lq.js} +1 -1
- package/dist/assets/{MobileAppDrawer-D4KAg1N8.js → MobileAppDrawer-D7V2koAX.js} +1 -1
- package/dist/assets/{MoreMenuButton-CkkW1atP-BhjeSlOV.js → MoreMenuButton-CkkW1atP-CT7ietod.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-BU6TBzI1-D2Qaudqr.js → MyBankConnectionsSettingsPage-BU6TBzI1-DURfzXrx.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-DcunCDU6-NjjjBd7F.js → MyPendingActivationChargeCardListPage-DcunCDU6-CQIAZ-Ax.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DF7ahyXE-BjXkIrz2.js → MyProfileSettingsPage-DF7ahyXE-BEXIytCm.js} +1 -1
- package/dist/assets/{NavBarWithPicker-D2v1fhLS-CH1wdNXM.js → NavBarWithPicker-D2v1fhLS-CGpIi67k.js} +1 -1
- package/dist/assets/{NavigationArrow-CWUL-6kN-DVve579d.js → NavigationArrow-CWUL-6kN-CRVEGy5S.js} +1 -1
- package/dist/assets/{NavigationDots-c-XSrFzE-eujVKwdH.js → NavigationDots-c-XSrFzE-Bl0Sm_Ng.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-FGEO68I8-XZyzhNzP.js → NewGlobalMerchantPage-FGEO68I8-BKtwnvr_.js} +1 -1
- package/dist/assets/{NoDataChart-DJhSgtLu-BSak9fMr.js → NoDataChart-DJhSgtLu-BO4-72hz.js} +1 -1
- package/dist/assets/{NoDataTable-BZiwo2qK-Cb8q0aH6.js → NoDataTable-BZiwo2qK-CJLZnBQL.js} +1 -1
- package/dist/assets/{NotFoundPage-BN5unYX8-CqJlv_oy.js → NotFoundPage-BN5unYX8-B80hQ8eO.js} +1 -1
- package/dist/assets/{NotFoundScreen-DxyQKnff.js → NotFoundScreen-BBbILNsa.js} +1 -1
- package/dist/assets/{NotificationRoutes-DqG-dvkw.js → NotificationRoutes-BH_Amwk1.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-d8kHDj0M-Beqgksyi.js → NotificationSettingsPage-d8kHDj0M-2vIf0BRe.js} +1 -1
- package/dist/assets/{NotificationsListConfig-ThKLok_w-B2H6cGPA.js → NotificationsListConfig-ThKLok_w-Bx-0LQ4e.js} +1 -1
- package/dist/assets/{NotificationsPage-Uvu6XESA-B1Rgn8VW.js → NotificationsPage-Uvu6XESA-D1y42vLB.js} +1 -1
- package/dist/assets/{OpExByVendorPage-QyqRkD2_-D5R40Gs5.js → OpExByVendorPage-QyqRkD2_-h8x1NnCW.js} +1 -1
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-C7rxXRm5.js → OverlayContainerPage-BG9y5C0t-B8rQHhtN.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DJ2v5qbE-BEs_yDo8.js → PandLWithForecastPage-DJ2v5qbE-BgEHjFpy.js} +1 -1
- package/dist/assets/{PandLWithForecastRoutes-CRImnf0E.js → PandLWithForecastRoutes-CCN_Dopf.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-q5z8XZFC-DgyJWqIO.js → PaymentAccountSetupBillingAddressSection-q5z8XZFC-IYhUlGT-.js} +1 -1
- package/dist/assets/{PeoplePage-C5ZdpVyR-DYtjpv4S.js → PeoplePage-C5ZdpVyR-DA1lsmrN.js} +1 -1
- package/dist/assets/{PeopleRoutes-BODLG-b6.js → PeopleRoutes-BLNrKR-x.js} +1 -1
- package/dist/assets/{PerformanceRoutes-BqLOjKSO.js → PerformanceRoutes-BBydKp8A.js} +1 -1
- package/dist/assets/{ProductsCarousel-CXjLTOLy-BLUY71s0.js → ProductsCarousel-CXjLTOLy-2QbHSm9u.js} +1 -1
- package/dist/assets/{PromoBaseCards-CN9uZfG4-BbNgX9Bb.js → PromoBaseCards-CN9uZfG4-CB2JkJIv.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-CXSi1Pd9-dALyjXGw.js → QBOConnectionDialog-CXSi1Pd9-CSvewQW2.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-Ac9DU04j.js → QBOConnectionScreen-tSJfFhQn.js} +1 -1
- package/dist/assets/{QBOSetupSection-BrtLMvEP-DHfwqwJo.js → QBOSetupSection-BrtLMvEP-D5Os1BGx.js} +1 -1
- package/dist/assets/{ReferralListScreen-BaUv0jQW.js → ReferralListScreen-CJqU7RxZ.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-B3As-zjk.js → ReimbursementApprovalRoutes-BHsHN-u_.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CS1BQ7pL-DnepdUba.js → ReimbursementApprovalRuleDetailPage-CS1BQ7pL-_lY11RDq.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-gUYecGxU.js → ReimbursementApprovalRuleDetailScreen-Bs2ple33.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-aLRkhkZB-BEmJZKcM.js → ReimbursementApprovalRulesPage-aLRkhkZB-CV07eSYp.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-Dr5BTvEq-mnlxt9h1.js → ReimbursementDetailPage-Dr5BTvEq-DM2tEzQB.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-C5Z0mVhQ-nERw0M4a.js → ReimbursementPromoPage-C5Z0mVhQ-Dq3UPRZ3.js} +1 -1
- package/dist/assets/{ReimbursementRoutes-vASJxFJ_.js → ReimbursementRoutes-iv71wb2Z.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-CXhOBErm-CR6Shq7r.js → ReimbursementSetUpPage-CXhOBErm-BnZZWQ1W.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CA0n0mau-Dwnq8e4l.js → ReimbursementsBulkReviewDrawerPage-CA0n0mau-Bq7X2QJa.js} +1 -1
- package/dist/assets/{ReloadCard-Bjp8ygC2-fExG7Dij.js → ReloadCard-Bjp8ygC2-DsEbxw3o.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-DTk1dNWC-tS3w4hoK.js → ReportTableViewSelector-DTk1dNWC-QFtHZK4J.js} +1 -1
- package/dist/assets/{ReportsPage-DrjOGopt-CEvm9-2-.js → ReportsPage-DrjOGopt-xwTAFZ82.js} +1 -1
- package/dist/assets/{ReportsRoutes-DYYeCY0N.js → ReportsRoutes-BhpH3vEG.js} +1 -1
- package/dist/assets/{RevenueChart-CqGvXDr4-BYM89H6k.js → RevenueChart-CqGvXDr4-BDXPrwnC.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-CWBP7FBN-D5XTlGGP.js → ReviewDetailsPage-CWBP7FBN-XuXg3BcA.js} +1 -1
- package/dist/assets/{ReviewOverlay-Cxkp85Kw-DWi1LLwl.js → ReviewOverlay-Cxkp85Kw-BxuvLEpC.js} +1 -1
- package/dist/assets/{RewardsRoutes-BcQjimjg.js → RewardsRoutes-CGI6v1LD.js} +1 -1
- package/dist/assets/{RoleWithToolTip-CqLxmtj6-BxFgYmxI.js → RoleWithToolTip-CqLxmtj6-Rnjw9i_g.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CYvlB3Nf-BjmGalLA.js → ScheduleDetailsFixedAssetsPage-CYvlB3Nf-DLsNuhIe.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-CZXJ15tN-Cvz9LjHh.js → ScheduleDetailsPage-CZXJ15tN-DK-Vvm5e.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-DNPID_7F-Dpy7XGsr.js → ScheduleSequenceTable-DNPID_7F-Bz8d2Fhy.js} +1 -1
- package/dist/assets/{ScreenRoutes-DMiG7sGl.js → ScreenRoutes-B0gKACTz.js} +2 -2
- package/dist/assets/{SetUpAccountSection-_WPR-q2V-D1in60I8.js → SetUpAccountSection-_WPR-q2V-BVzNpUbf.js} +1 -1
- package/dist/assets/{SettingsRoutes-Cq0IT0xM.js → SettingsRoutes-BrokioTP.js} +1 -1
- package/dist/assets/{SetupPagesScreen-By_64UnM.js → SetupPagesScreen-BiJM7znn.js} +1 -1
- package/dist/assets/{SignIn-CDEsZw_T-CdZG3KKx.js → SignIn-CDEsZw_T-BhKsIiWi.js} +1 -1
- package/dist/assets/{SignInScreen-BbMIUMVO.js → SignInScreen-CRHQkOWq.js} +1 -1
- package/dist/assets/{SignOutScreen-D0CN7EZM.js → SignOutScreen-CSmP5G0L.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-MOCWuROI-B6XDQZbP.js → SpendManagementListViewPage-MOCWuROI-DdkFjcW6.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-BeK0SCeE-uu94FLdi.js → SpendManagementPerTabPage-BeK0SCeE-DPZd4om4.js} +1 -1
- package/dist/assets/{SpendManagementSection-DZFPfKNi-a6NNMz0d.js → SpendManagementSection-DZFPfKNi-DT0rYb2P.js} +1 -1
- package/dist/assets/{StatementItem-DjvU5wiI-BbvkEOCR.js → StatementItem-DjvU5wiI-DmQsj9gw.js} +1 -1
- package/dist/assets/{StatementsPage-DYLp_e7W-DQJFRbex.js → StatementsPage-DYLp_e7W-CYuAqH_I.js} +1 -1
- package/dist/assets/{StatusSwitcher-jxaonB4S-BRWCrppB.js → StatusSwitcher-jxaonB4S-Cxq2Q9_V.js} +1 -1
- package/dist/assets/{SubTabSwitcher-CudjNlsi-B0ZvqQ02.js → SubTabSwitcher-CudjNlsi-D6kvvomf.js} +1 -1
- package/dist/assets/{SuccessAnimation-DE_x1Zz_-CSRw6QzL.js → SuccessAnimation-DE_x1Zz_-AQ5Y5JIA.js} +1 -1
- package/dist/assets/{SummaryCard-DPOhBmkr-Bkvd2_eX.js → SummaryCard-DPOhBmkr-Cv-w5fsm.js} +1 -1
- package/dist/assets/{TaskDetailPage-CXexRKAY-PJYd8Hc8.js → TaskDetailPage-CXexRKAY-BOPspi-s.js} +1 -1
- package/dist/assets/{TaskListScreen-D5r5oVZW.js → TaskListScreen-B0RVzFet.js} +1 -1
- package/dist/assets/{TaskManagementPage-CTMoHv0R-DqoYVk-e.js → TaskManagementPage-CTMoHv0R-BGb6WsaA.js} +1 -1
- package/dist/assets/{TaskRoutes-ByOGwdlB.js → TaskRoutes-vmd5uItQ.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-SqY2MHGs-vaeYYQAs.js → TimeRangeSwitcher-SqY2MHGs-ChpZHeuG.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-BlJ2fuHy-C0bwk8vS.js → TimeframeSwitcher-BlJ2fuHy-JP2UlRBY.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-Dgc1odUH-6AO25YrU.js → TimeframeSwitcherWithToggle-Dgc1odUH-ChrHPbvN.js} +1 -1
- package/dist/assets/{TopExCard-CG8YLsYe-Dhi0dyPE.js → TopExCard-CG8YLsYe-B5wqJJSw.js} +1 -1
- package/dist/assets/{TopExDetailPage-TvYCbzSP-CwBViHGc.js → TopExDetailPage-TvYCbzSP-CTOCVsET.js} +1 -1
- package/dist/assets/{TransactionActivityLogPage-BL3vEAdU-CS7vD3qG.js → TransactionActivityLogPage-BL3vEAdU-Bk3OacNa.js} +1 -1
- package/dist/assets/{TransactionDetailPage-DUouBL0o-BaXoqvey.js → TransactionDetailPage-DUouBL0o-DkOa5f2H.js} +1 -1
- package/dist/assets/{TransactionDetailRoutes-B-UBtWLp.js → TransactionDetailRoutes-D5_-HF2Q.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-B7XWRVbF.js → TransactionDetailScreen-DHwJH1ZP.js} +1 -1
- package/dist/assets/{TransactionList-B16NONME-CRFiM4VM.js → TransactionList-B16NONME-xM0VK0uD.js} +1 -1
- package/dist/assets/{TransactionListBig-CItPbTRV-UNSverIa.js → TransactionListBig-CItPbTRV-BpUwrWyu.js} +1 -1
- package/dist/assets/{TransactionListPage-DNecYY8M-BHlckINI.js → TransactionListPage-DNecYY8M-ptahFcY0.js} +1 -1
- package/dist/assets/{TransactionListRoutes-CMu9kV3q.js → TransactionListRoutes-DIJ_fkWS.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-DpqisXN8-D2bHcxtn.js → TransactionVendorDetailPage-DpqisXN8-wU2wHv2K.js} +1 -1
- package/dist/assets/{TransferDrawerPage-Dsmbswu0-uDwjyCTF.js → TransferDrawerPage-Dsmbswu0-DFQDwnPy.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-BcRpcYmB-OKQJLbcE.js → TreasuryOverviewPage-BcRpcYmB-DwdLr4Xt.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-DOO_OMRa-8BGrxptq.js → TreasuryPromoPage-DOO_OMRa-uzWYBUzW.js} +1 -1
- package/dist/assets/{TreasuryRoutes-Cb-myn_k.js → TreasuryRoutes-BfRwxvKx.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-A_U7bEy5-CYr3tH5Z.js → TreasuryStatementsPage-A_U7bEy5-C1uv8XvN.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-BsJn-BgX-D1G4s_HP.js → TreasuryTaxLetterPage-BsJn-BgX-Dcdm_qTO.js} +1 -1
- package/dist/assets/{TrendChart-GMMat-NG-DkIjx5iX.js → TrendChart-GMMat-NG-BewK0MCc.js} +1 -1
- package/dist/assets/{TrendWithTransactions-CrA4opNV-BCS_tNQW.js → TrendWithTransactions-CrA4opNV-B_vQq65J.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-CrzbFGOi-7c9nQkHm.js → UncategorizedAccountsMappingPage-CrzbFGOi-BDtcuYej.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-XZY6zJa7-Bog6bLZs.js → UnitIntegrationPage-XZY6zJa7-D8B46vcm.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-eqwSLigx-Cfv8NRXy.js → UploadAdditionalDocumentOverlay-eqwSLigx-kRVMQYF-.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BHDivuPB-CB8oiip3.js → Vendor2FAPopup-BHDivuPB-D7ySxcXF.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-DJ4Crnr0-ChbQ_fot.js → VendorACHDetailsPage-DJ4Crnr0-BgbOpk55.js} +1 -1
- package/dist/assets/{VendorDetailPage-DEu-yS8w-BHxBRvla.js → VendorDetailPage-DEu-yS8w-BhFmuJot.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-WFcOmpiN-0MxyPK7N.js → VendorDomesticWireDetailsPage-WFcOmpiN-DCXCuX-V.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-C461SzO0-Cw1duzzR.js → VendorFiling1099EditablePage-C461SzO0-CCIZoPU6.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-klbCHS04-yDjeltgT.js → VendorFirstReviewPage-klbCHS04-UP-04u7X.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-DY0V-VbO-BJcPP-gp.js → VendorInternationalWireDetailsPage-DY0V-VbO-Dl3hBhoD.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-B8sx02I_-CFJY5gem.js → VendorInternationalWireSwiftDetailsPage-B8sx02I_-h6qnY29-.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-Cqcr-ArD-BIHA7sqx.js → VendorsAccountsSection-Cqcr-ArD-CzW5lMfP.js} +1 -1
- package/dist/assets/{VendorsRoutes-CgJOnYMS.js → VendorsRoutes-DLnvF6hR.js} +1 -1
- package/dist/assets/{VerifyDevice-Dhu5iywf-CpE-kgrB.js → VerifyDevice-Dhu5iywf-cUES-VE2.js} +1 -1
- package/dist/assets/{VideoPlayer-ZGjx_Hp7-BHgQYkml.js → VideoPlayer-ZGjx_Hp7-CjY3r1rL.js} +1 -1
- package/dist/assets/{VideoPopup-R3u0N_if-SR7jlWFi.js → VideoPopup-R3u0N_if-CaG3EJQq.js} +1 -1
- package/dist/assets/{WiseConfirmationScreen-BTkxegx5.js → WiseConfirmationScreen-CT86mZ0i.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-DQB7sXU9-ZmSVhLSw.js → ZeniAccountDetailPage-DQB7sXU9-CZEM5xVV.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-BwXKgf6g-Ctizh7he.js → ZeniAccountListViewPage-BwXKgf6g-FfpOzmd6.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-CHUTFAWG-BmLRxXwk.js → ZeniAccountNavBarPieces-CHUTFAWG-v671evv-.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-BkfJuMNV-Ckl9m4pN.js → ZeniAccountPromoPage-BkfJuMNV-CmI6f_1i.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-D71bZRux.js → ZeniAccountRoutes-bnzTspvl.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-C3drM4Zs-B_sQz9qJ.js → ZeniAccountSetupPage-C3drM4Zs-CvpINFn4.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-BI6AQKJr.js → ZeniAccountStatementScreen-B5KsFobU.js} +1 -1
- package/dist/assets/{ZeniAvatar-C38T0-5--BSN8GGLN.js → ZeniAvatar-C38T0-5--BM3XjRcp.js} +1 -1
- package/dist/assets/{ZeniCopyright-CznSgVJF-B8RRSTgM.js → ZeniCopyright-CznSgVJF-BhclYMa4.js} +1 -1
- package/dist/assets/{ZeniDatePicker-Bw9RlgoL-BmT27weB.js → ZeniDatePicker-Bw9RlgoL-DDQaNsVY.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-C77DEl-C-CruP3RMa.js → ZeniTransferAmountSlider-C77DEl-C-CYKYiLaT.js} +1 -1
- package/dist/assets/{analyticsHelper-Bh8o1v3y-DbxZaMDt.js → analyticsHelper-Bh8o1v3y-erbhoWbk.js} +1 -1
- package/dist/assets/{analyticsHelper-BtB7CtC3.js → analyticsHelper-CsyUSML_.js} +1 -1
- package/dist/assets/{calculateSize-QoQyn_Ku-BQL_mWcG.js → calculateSize-QoQyn_Ku-j5kLdf_t.js} +1 -1
- package/dist/assets/{chartTypes-C14YY2Rq--XZc2xV6.js → chartTypes-C14YY2Rq-mIXPNQxz.js} +1 -1
- package/dist/assets/{common-Cu5K0AJk-Cxd55kqL.js → common-Cu5K0AJk-BihNw_Do.js} +1 -1
- package/dist/assets/{commonDimensions-CVpc-NCw-CA0m656N.js → commonDimensions-CVpc-NCw-xOjrok2-.js} +1 -1
- package/dist/assets/{commonTypes-Ec-PxfpT-DzRDGsuT.js → commonTypes-Ec-PxfpT-DZ1xbinn.js} +1 -1
- package/dist/assets/{downloadPdf-BuPJ6cfr-Bn04BzVs.js → downloadPdf-BuPJ6cfr-Cy2ZBk4z.js} +1 -1
- package/dist/assets/{getLocaleForTenant-dwEXf4rX.js → getLocaleForTenant-DLrlmQCo.js} +1 -1
- package/dist/assets/{helper-AgH8nJln-BDBxe9FK.js → helper-AgH8nJln-DNDXfXpF.js} +1 -1
- package/dist/assets/{index-CuxRoVvZ.js → index-mhb15COx.js} +458 -458
- package/dist/assets/{mapLoadingInProgressToTreeNode-DTyQHWMc-tj_AEx0m.js → mapLoadingInProgressToTreeNode-DTyQHWMc-BqMSzUiy.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D7pjBGp6-bV4CDhWS.js → mapSectionWithAcOnlyToTreeNode-D7pjBGp6-BMY0vZTn.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-Cd4FCXAf-9PB61B4X.js → mapSpacerToTreeNode-Cd4FCXAf-C6nWwAzP.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Drhl_lnP-DCqw81Fp.js → mapTimeframeBalancesToTreeNode-Drhl_lnP-BDA52mbW.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-UsawmMLa-CPc-fd5T.js → mapTimeframeBalancesToTreeNode-UsawmMLa-DrvNkcA6.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-BaY2mTy_.js → mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-DHD18LN5.js} +1 -1
- package/dist/assets/{routePaths-CkO80-xL.js → routePaths-CDVBEe6a.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-wh35N3no-D_L2t0iR.js → toCOABalancesWithID-wh35N3no-2SjovFHm.js} +1 -1
- package/dist/assets/{toChartData-G5y-N82I-CpDZEMyX.js → toChartData-G5y-N82I-HPFXqzd4.js} +1 -1
- package/dist/assets/{uploadAttachment-RbkIBMGO-DWkpV7gc.js → uploadAttachment-RbkIBMGO-BHEoxgsX.js} +1 -1
- package/dist/assets/{uploadReceipts-CIgkuVpu-BxCHb2mc.js → uploadReceipts-CIgkuVpu-BPECKX43.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-CtiCksTW.js → useInitialThreadRequest-Dldme96o.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-DXYKCsTM.js → withTransactionSidePanel-DBF40Qih.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--zNlFTkjO.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ek as re,a7 as Ae,w as Y,o as u,f as F,e as te,V as s,bm as Oe,bp as Le,O as Se,l as be,y as xe,a9 as Re,c as oe,cc as Te,ad as J,x as Z,aU as ze,H as De,m as _e,gh as Be,d as Me}from"./index-
|
|
1
|
+
import{ek as re,a7 as Ae,w as Y,o as u,f as F,e as te,V as s,bm as Oe,bp as Le,O as Se,l as be,y as xe,a9 as Re,c as oe,cc as Te,ad as J,x as Z,aU as ze,H as De,m as _e,gh as Be,d as Me}from"./index-mhb15COx.js";import{b as d,a as A}from"./sentry-Cm8I7E9J.js";import{n as g}from"./mui-G2MlMTlr.js";import{P as f}from"./core-CaikJZHD.js";import{l as Ne}from"./stripe-DMRn4zHo.js";import{n as G}from"./commonTypes-Ec-PxfpT-DZ1xbinn.js";import{F as Ve}from"./SetUpAccountSection-_WPR-q2V-BVzNpUbf.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]="0445c0b3-af3a-49cc-96a2-5189db857031",e._sentryDebugIdIdentifier="sentry-dbid-0445c0b3-af3a-49cc-96a2-5189db857031")}catch{}})();function ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function ie(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ae(Object(n),!0).forEach(function(o){Ce(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ae(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function Q(e){return Q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Q(e)}function Ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function we(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,o){var r=n&&(typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"]);if(r!=null){var a,c,m=[],l=!0,p=!1;try{for(r=r.call(n);!(l=(a=r.next()).done)&&(m.push(a.value),!o||m.length!==o);l=!0);}catch(i){p=!0,c=i}finally{try{l||r.return==null||r.return()}finally{if(p)throw c}}return m}}(e,t)||function(n,o){if(n){if(typeof n=="string")return se(n,o);var r=Object.prototype.toString.call(n).slice(8,-1);if(r==="Object"&&n.constructor&&(r=n.constructor.name),r==="Map"||r==="Set")return Array.from(n);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return se(n,o)}}(e,t)||function(){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.`)}()}function se(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var P=function(e,t,n){var o=!!n,r=d.useRef(n);d.useEffect(function(){r.current=n},[n]),d.useEffect(function(){if(!o||!e)return function(){};var a=function(){r.current&&r.current.apply(r,arguments)};return e.on(t,a),function(){e.off(t,a)}},[o,t,e,r])},X=function(e){var t=d.useRef(e);return d.useEffect(function(){t.current=e},[e]),t.current},W=function(e){return e!==null&&Q(e)==="object"},ce="[object Object]",Ue=function e(t,n){if(!W(t)||!W(n))return t===n;var o=Array.isArray(t);if(o!==Array.isArray(n))return!1;var r=Object.prototype.toString.call(t)===ce;if(r!==(Object.prototype.toString.call(n)===ce))return!1;if(!r&&!o)return t===n;var a=Object.keys(t),c=Object.keys(n);if(a.length!==c.length)return!1;for(var m={},l=0;l<a.length;l+=1)m[a[l]]=!0;for(var p=0;p<c.length;p+=1)m[c[p]]=!0;var i=Object.keys(m);if(i.length!==a.length)return!1;var v=t,x=n;return i.every(function(b){return e(v[b],x[b])})},ve=function(e,t,n){return W(e)?Object.keys(e).reduce(function(o,r){var a=!W(t)||!Ue(e[r],t[r]);return n.includes(r)?(a&&console.warn("Unsupported prop change: options.".concat(r," is not a mutable property.")),o):a?ie(ie({},o||{}),{},Ce({},r,e[r])):o},null):null},Pe="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.",le=function(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pe;if(e===null||W(t=e)&&typeof t.elements=="function"&&typeof t.createToken=="function"&&typeof t.createPaymentMethod=="function"&&typeof t.confirmCardPayment=="function")return e;throw new Error(n)},Fe=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pe;if(function(o){return W(o)&&typeof o.then=="function"}(e))return{tag:"async",stripePromise:Promise.resolve(e).then(function(o){return le(o,t)})};var n=le(e,t);return n===null?{tag:"empty"}:{tag:"sync",stripe:n}},K=d.createContext(null);K.displayName="ElementsContext";var je=function(e,t){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e},Ee=function(e){var t=e.stripe,n=e.options,o=e.children,r=d.useMemo(function(){return Fe(t)},[t]),a=we(d.useState(function(){return{stripe:r.tag==="sync"?r.stripe:null,elements:r.tag==="sync"?r.stripe.elements(n):null}}),2),c=a[0],m=a[1];d.useEffect(function(){var i=!0,v=function(x){m(function(b){return b.stripe?b:{stripe:x,elements:x.elements(n)}})};return r.tag!=="async"||c.stripe?r.tag!=="sync"||c.stripe||v(r.stripe):r.stripePromise.then(function(x){x&&i&&v(x)}),function(){i=!1}},[r,c,n]);var l=X(t);d.useEffect(function(){l!==null&&l!==t&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[l,t]);var p=X(n);return d.useEffect(function(){if(c.elements){var i=ve(n,p,["clientSecret","fonts"]);i&&c.elements.update(i)}},[n,p,c.elements]),d.useEffect(function(){var i;(i=c.stripe)&&i._registerWrapper&&i.registerAppInfo&&(i._registerWrapper({name:"react-stripe-js",version:"2.7.3"}),i.registerAppInfo({name:"react-stripe-js",version:"2.7.3",url:"https://stripe.com/docs/stripe-js/react"}))},[c.stripe]),d.createElement(K.Provider,{value:c},o)};Ee.propTypes={stripe:f.any,options:f.object};var We=function(){var e,t;return(e="calls useElements()",t=d.useContext(K),je(t,e)).elements};f.func.isRequired;var ke=d.createContext(null);ke.displayName="CustomCheckoutSdkContext";d.createContext(null).displayName="CustomCheckoutContext",f.any,f.shape({clientSecret:f.string.isRequired,elementsOptions:f.object}).isRequired;var ee=function(e){var t=d.useContext(ke),n=d.useContext(K);if(t&&n)throw new Error("You cannot wrap the part of your app that ".concat(e," in both <CustomCheckoutProvider> and <Elements> providers."));return t?function(o,r){if(!o)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 o}(t,e):je(n,e)},y=function(e,t){var n,o="".concat((n=e).charAt(0).toUpperCase()+n.slice(1),"Element"),r=t?function(a){ee("mounts <".concat(o,">"));var c=a.id,m=a.className;return d.createElement("div",{id:c,className:m})}:function(a){var c,m=a.id,l=a.className,p=a.options,i=p===void 0?{}:p,v=a.onBlur,x=a.onFocus,b=a.onReady,L=a.onChange,j=a.onEscape,R=a.onClick,B=a.onLoadError,M=a.onLoaderStart,N=a.onNetworksChange,V=a.onConfirm,_=a.onCancel,I=a.onShippingAddressChange,U=a.onShippingRateChange,$=ee("mounts <".concat(o,">")),z="elements"in $?$.elements:null,T="customCheckoutSdk"in $?$.customCheckoutSdk:null,E=we(d.useState(null),2),h=E[0],D=E[1],w=d.useRef(null),O=d.useRef(null);P(h,"blur",v),P(h,"focus",x),P(h,"escape",j),P(h,"click",R),P(h,"loaderror",B),P(h,"loaderstart",M),P(h,"networkschange",N),P(h,"confirm",V),P(h,"cancel",_),P(h,"shippingaddresschange",I),P(h,"shippingratechange",U),P(h,"change",L),b&&(c=e==="expressCheckout"?b:function(){b(h)}),P(h,"ready",c),d.useLayoutEffect(function(){if(w.current===null&&O.current!==null&&(z||T)){var C=null;T?C=T.createElement(e,i):z&&(C=z.create(e,i)),w.current=C,D(C),C&&C.mount(O.current)}},[z,T,i]);var H=X(i);return d.useEffect(function(){if(w.current){var C=ve(i,H,["paymentRequest"]);C&&w.current.update(C)}},[i,H]),d.useLayoutEffect(function(){return function(){if(w.current&&typeof w.current.destroy=="function")try{w.current.destroy(),w.current=null}catch{}}},[]),d.createElement("div",{id:m,className:l,ref:O})};return r.propTypes={id:f.string,className:f.string,onChange:f.func,onBlur:f.func,onFocus:f.func,onReady:f.func,onEscape:f.func,onClick:f.func,onLoadError:f.func,onLoaderStart:f.func,onNetworksChange:f.func,onConfirm:f.func,onCancel:f.func,onShippingAddressChange:f.func,onShippingRateChange:f.func,options:f.object},r.displayName=o,r.__elementType=e,r},S=typeof window>"u";d.createContext(null).displayName="EmbeddedCheckoutProviderContext";y("auBankAccount",S),y("card",S);var de=y("cardNumber",S),ue=y("cardExpiry",S),pe=y("cardCvc",S);y("fpxBank",S),y("iban",S),y("idealBank",S),y("p24Bank",S),y("epsBank",S),y("payment",S),y("expressCheckout",S),y("paymentRequestButton",S),y("linkAuthentication",S),y("address",S),y("shippingAddress",S),y("paymentMethodMessaging",S),y("affirmMessage",S),y("afterpayClearpayMessage",S);const He={containerHeight:new Z(656,720)},qe=g.div`
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,bv as We,bM as Me,O as $,o as i,f as L,C as z,y as Re,e as k,a_ as ne,b as d,bd as Be,bN as Ee,bO as ge,m,bg as R,ab as J,bP as we,a as Fe,w as ze,bQ as Ue,a7 as Ze,bR as Ke,s as He,bS as qe,bT as Ge,an as Qe,S as E,bU as Xe,x as b,bV as Ye,bW as Te,bG as _,L as ee,bX as Pe,T as Je,A as et,bY as tt,bZ as ot,a1 as it,b_ as st,l as O,H as te,b$ as rt,bH as Ne,au as oe,c0 as ve,b8 as lt,c1 as nt}from"./index-
|
|
1
|
+
import{V as t,bv as We,bM as Me,O as $,o as i,f as L,C as z,y as Re,e as k,a_ as ne,b as d,bd as Be,bN as Ee,bO as ge,m,bg as R,ab as J,bP as we,a as Fe,w as ze,bQ as Ue,a7 as Ze,bR as Ke,s as He,bS as qe,bT as Ge,an as Qe,S as E,bU as Xe,x as b,bV as Ye,bW as Te,bG as _,L as ee,bX as Pe,T as Je,A as et,bY as tt,bZ as ot,a1 as it,b_ as st,l as O,H as te,b$ as rt,bH as Ne,au as oe,c0 as ve,b8 as lt,c1 as nt}from"./index-mhb15COx.js";import{a as u,b as ce}from"./sentry-Cm8I7E9J.js";import{n as o}from"./mui-G2MlMTlr.js";import{q0 as De,bt as X}from"./zeni-epic-state-lC5X-sam.js";import{d as ie}from"./ZeniAvatar-C38T0-5--BM3XjRcp.js";import{T as Le}from"./RoleWithToolTip-CqLxmtj6-Rnjw9i_g.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./avatar-Dz7aEm3d-CxU8IzEu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="72f318b1-6001-4e3f-80c3-c4e9a6604114",e._sentryDebugIdIdentifier="sentry-dbid-72f318b1-6001-4e3f-80c3-c4e9a6604114")}catch{}})();const at=o.div`
|
|
2
2
|
justify-content: center;
|
|
3
3
|
align-items: center;
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e}from"./pdf-DwfifS04.js";import{HU as ee,ct as M,cA as K,cy as ae,Dr as X,HB as se,pQ as we,HV as q,pE as xe,pZ as De,pT as te,pI as ne,pX as ke,pU as Ie,HW as oe,rq as je,HX as Ee,dg as Pe,HY as A,pN as ie,pL as re,q1 as Te,bE as ve}from"./zeni-epic-state-lC5X-sam.js";import{e as le,aE as Y,aG as k,js as G,kc as de,f as ce,kn as pe,jQ as ue,ko as Le,x as me,o as R,jT as he,O as ge,kp as Fe,k2 as Oe,bj as Re,jz as fe,J as Ve,jO as Ue,kq as Be,_ as Ze}from"./index-
|
|
1
|
+
import{j as e}from"./pdf-DwfifS04.js";import{HU as ee,ct as M,cA as K,cy as ae,Dr as X,HB as se,pQ as we,HV as q,pE as xe,pZ as De,pT as te,pI as ne,pX as ke,pU as Ie,HW as oe,rq as je,HX as Ee,dg as Pe,HY as A,pN as ie,pL as re,q1 as Te,bE as ve}from"./zeni-epic-state-lC5X-sam.js";import{e as le,aE as Y,aG as k,js as G,kc as de,f as ce,kn as pe,jQ as ue,ko as Le,x as me,o as R,jT as he,O as ge,kp as Fe,k2 as Oe,bj as Re,jz as fe,J as Ve,jO as Ue,kq as Be,_ as Ze}from"./index-mhb15COx.js";import{D as be,n as z,S as ye}from"./mui-G2MlMTlr.js";import J from"./NotFoundScreen-BBbILNsa.js";import{a as i}from"./sentry-Cm8I7E9J.js";import{i as Q,l as He,u as D,j as Ae,h as $e,k as _e,R as N,m as H}from"./core-CaikJZHD.js";import{M as Ge}from"./MobileAppDrawer-D7V2koAX.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new a.Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="21eff457-289e-40ad-b243-62d2d2587b05",a._sentryDebugIdIdentifier="sentry-dbid-21eff457-289e-40ad-b243-62d2d2587b05")}catch{}})();const ze={overlayWidth:new me(100,100,58)},$=ge.getLocalizedStrings().peoplePage.invitePage,We=({companyId:a,managersListView:t,companyPassportView:r,classListView:n,mode:h,isEditPeopleDrawerOpen:o,closeDrawerHandler:C})=>{const g=le(),m=Q(),[V,j]=i.useState(!1),[U,S]=i.useState(!1),{userId:w}=He(),d=D(c=>ee(c)),p=D(c=>M(c)),{useFeatureGate:f}=Y(),{isFeatureEnabled:I}=f(k.isDebitCardFeatureEnabled),E=K(I,p),v=ae(p),L=X(p),B=se(p),Z=!!p.company?.featuresActivationInfo?.isReimbursementFeatureEnabled,x=!E&&n.fetchState!=="Completed"||t.fetchState!=="Completed"||r.fetchState!=="Completed"||a==null;if(G.getSignedInUser()==null)throw Error("Can't access invite people page without signing in...");const b=()=>{m(q()),C()},u=()=>{V===!0?S(!0):b()},P=r.companyView?.controllers?.map(c=>c.user),{isFeatureEnabled:T}=f(k.isDepositAccountsFeatureEnabled),{isFeatureEnabled:F}=f(k.isChargeCardFeatureEnabled),y=de(p,F,I),{isFeatureEnabled:O}=f(k.isTreasuryEnabled),s={peopleDetails:d,classList:n.classes,managersList:t.users,controllersList:P,mode:h,isZeniTenant:L,isReimbursementDisabled:Z===!1,isZeniAccountsDisabled:T===!1,isChargeCardDisabled:y===!1,isTreasuryDisabled:O===!1,isLiteRoleDisabled:B===!1,isBankingOnlyTenant:E,isCardsOnlyTenant:v,onResetClick:b,onDeleteUser:c=>{m(ne(c.userId,c.userRole.userRoleId))},onPeopleLocalDataUpdated:c=>{m(te({peopleLocalData:c})),j(!0)},onSaveClick:()=>{m(h==="zeni_only"?xe(a):De(L))},onCloseClick:u},l={onOkClick:()=>{S(!1),b()},onCancelClick:()=>{S(!1)}};return i.useEffect(()=>{x===!1&&w!=null&&m(we(w))},[x,w]),i.useEffect(()=>{d.updatePersonState.fetchState==="Completed"&&b()},[d.updatePersonState.fetchState]),e.jsx(be,{anchor:"right",open:o,PaperProps:{style:{width:ze.overlayWidth.valuePercentage(g),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:ce.overlayDark,cursor:"pointer"}}},onClose:u,children:e.jsxs(qe,{onClick:c=>c.stopPropagation(),children:[U===!0?e.jsx(pe,{titleComponent:e.jsx(Ce,{children:$.discardTitle}),descriptionComponent:e.jsx(Se,{children:$.discardDescription}),primaryButtonText:$.discard,secondaryButtonText:$.no,action:l,isEditPopup:!0}):null,x||d.person==null?e.jsx(ue,{fetchState:"In-Progress",style:{height:"calc(100vh - 110px)"}}):e.jsx(Le,{...s})]})})},qe=z(ye)`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as n}from"./pdf-DwfifS04.js";import C from"./NotFoundScreen-
|
|
1
|
+
import{j as n}from"./pdf-DwfifS04.js";import C from"./NotFoundScreen-BBbILNsa.js";import{a as r}from"./sentry-Cm8I7E9J.js";import{j as _,h as E,u as p,l as v,i as M,N as U,k as N,R as z,m as h}from"./core-CaikJZHD.js";import{ct as A,Nx as I,bn as O,bm as P,ey as V,eg as B}from"./zeni-epic-state-lC5X-sam.js";import{N as F,js as b,mb as $}from"./index-mhb15COx.js";import"./mui-G2MlMTlr.js";import{M as q}from"./MobileAppDrawer-D7V2koAX.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.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]="d7c58dca-acdf-41ee-9e16-d89df063825a",e._sentryDebugIdIdentifier="sentry-dbid-d7c58dca-acdf-41ee-9e16-d89df063825a")}catch{}})();const G=N(function(e){const t=b.getSignedInUser(),d=e.tenantState.currentTenantId,o={userId:t?.userId??"",sessionId:t?.zeniSessionId??"",tenantId:d??""},{aggregatedReportViewState:s}=I(e);return{authParams:o,isDisabled:!1,loggedInUser:t,aggregatedReport:s}},function(e,t){return{onBackClick:()=>{t.navigate("../../")},onClickMenuIcon:()=>{t.handleDrawerToggle(!0)}}})($),H=()=>{const e=_(),t=E(),d=F(),o=p(a=>A(a)),{aggregatedReportViewState:s}=p(a=>I(a)),{tenantEmailDomain:g}=v(),m=M(),l=b.getSignedInUser();if(l==null)throw new Error("Can't access this page without signing in...");const u=r.useRef(!1),[w,S]=r.useState(!1),j=O(o?.userRole??[]),x=o?.userRole?.includes("bookkeeping_admin")??!1,y=P(l),k=j||x||y,c=r.useCallback((a,i,T)=>{m(V({fromMonth:a,toMonth:i,cacheOverride:T}))},[]);r.useEffect(()=>{s?.fetchState==="Completed"&&u.current&&(m(B({messageSection:"data_refresh_update",messageText:"success",type:"success",showStatusIcon:!0})),u.current=!1)},[s?.fetchState]);const D=r.useCallback((a,i)=>{s!=null&&s?.fetchState==="In-Progress"||c(a,i,!0),u.current=!0},[s?.fetchState,c]),R=r.useCallback((a,i)=>{c(a,i,!1)},[c]);if(!k)return n.jsx(U,{to:`/${g}/dashboard`,replace:!0});const f=a=>{S(a)};return n.jsxs(n.Fragment,{children:[n.jsx(q,{isAppContentDrawerOpen:w,handleDrawerToggle:f}),n.jsx(G,{navigate:e,location:t,themeState:d,currentTenant:o,signedInUser:l,tenantEmailDomain:g,onReload:D,onTimeRangeSelect:R,handleDrawerToggle:f})]})};function ie(){return n.jsxs(z,{children:[n.jsx(h,{path:"*",element:n.jsx(H,{})}),n.jsx(h,{path:"*",element:n.jsx(C,{})})]})}export{ie as default};
|
package/dist/assets/{ProductsCarousel-CXjLTOLy-BLUY71s0.js → ProductsCarousel-CXjLTOLy-2QbHSm9u.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{O,V as t,h as R,o as c,bw as B,aj as N,m as U,cy as A,D as G,l as X,cz as H,f as w}from"./index-
|
|
1
|
+
import{O,V as t,h as R,o as c,bw as B,aj as N,m as U,cy as A,D as G,l as X,cz as H,f as w}from"./index-mhb15COx.js";import{a as f}from"./sentry-Cm8I7E9J.js";import{n as i}from"./mui-G2MlMTlr.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]="550f6a53-727e-4118-a8d1-b692d08ca086",e._sentryDebugIdIdentifier="sentry-dbid-550f6a53-727e-4118-a8d1-b692d08ca086")}catch{}})();const h=O.getLocalizedStrings(),k={large:{labelComp:A,title:G,subtitle:X,seeMoreLink:X}},r={width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16},J=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-CN9uZfG4-BbNgX9Bb.js → PromoBaseCards-CN9uZfG4-CB2JkJIv.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as m,V as a,cD as b,cE as v,cF as y,aV as z,o as e,f as d,x as r,d as c,m as p}from"./index-
|
|
1
|
+
import{e as m,V as a,cD as b,cE as v,cF as y,aV as z,o as e,f as d,x as r,d as c,m as p}from"./index-mhb15COx.js";import{c as i,n as g,k as f}from"./mui-G2MlMTlr.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},h=new o.Error().stack;h&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[h]="d14348ec-e2c1-4395-a475-d12fcb450385",o._sentryDebugIdIdentifier="sentry-dbid-d14348ec-e2c1-4395-a475-d12fcb450385")}catch{}})();const t={plasticCardMarginLeft:new r(p[6],120),plasticCardMarginTop:new r(12,-9),businessTextRight:new r(p[2],13),businessTextBottom:new r(p[8],81),chargeCardWidth:new r(240,384),chargeCardHeight:new r(153,243),styledLogoWidth:new r(47,76),styledLogoHeight:new r(46,74),styledFullLogoTop:new r(12,28),styledFullLogoRight:new r(p[2],13),styledFullLogoHeight:new r(20,34),styledFullLogoWidth:new r(88,142),chipLogoWidth:new r(31,50),chipLogoHeight:new r(p[4],39),visaLogoWidth:new r(52,84),visaLogoHeight:new r(17,27),visaLogoRight:new r(p[2],13),visaLogoBottom:new r(p[2],13)},u={businessText:new c("extraSmallRegular","largeRegular"),promoBusinessText:new c("tinyLight","tinyLight")},R=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:x,style:$})=>{const n=m();return a.jsxs(k,{cardPromoType:x,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:$,children:[w&&a.jsx(P,{windowSize:n,forDashboard:s,children:a.jsx(b,{})}),a.jsx(j,{windowSize:n,forDashboard:s,forListPage:l,children:a.jsx(z,{})}),a.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),a.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:a.jsx(y,{})})]})},A=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:x,style:$})=>{const n=m();return a.jsxs(H,{cardPromoType:x,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:$,children:[w&&a.jsx(P,{windowSize:n,forDashboard:s,children:a.jsx(b,{})}),a.jsx(B,{windowSize:n,forDashboard:s,forListPage:l,children:a.jsx(v,{})}),a.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),a.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:a.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{e as x,O as a,V as n,bm as u,a as c,x as l,o as C,D as w,l as b,r as M,aT as Z,m as i}from"./index-
|
|
1
|
+
import{e as x,O as a,V as n,bm as u,a as c,x as l,o as C,D as w,l as b,r as M,aT as Z,m as i}from"./index-mhb15COx.js";import{n as t}from"./mui-G2MlMTlr.js";import{a as r}from"./sentry-Cm8I7E9J.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]="b03ded67-831f-4605-8116-3d112d2fe6b9",e._sentryDebugIdIdentifier="sentry-dbid-b03ded67-831f-4605-8116-3d112d2fe6b9")}catch{}})();const y=e=>r.createElement("svg",{width:126,height:24,viewBox:"0 0 126 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M124.643 18.207C124.643 17.9706 124.407 17.876 124.194 17.876H123.792V19.0582H124.005V18.5853H124.17L124.431 19.0582H124.691L124.383 18.538C124.456 18.5267 124.523 18.4893 124.571 18.4329C124.618 18.3764 124.644 18.3046 124.643 18.2307V18.207ZM124.005 18.3962V18.0651H124.194C124.312 18.0651 124.431 18.0888 124.431 18.2307C124.431 18.3725 124.289 18.3962 124.17 18.3962H124.005ZM124.194 17.4504C123.988 17.4551 123.789 17.5207 123.62 17.6389C123.452 17.7571 123.322 17.9226 123.248 18.1144C123.174 18.3062 123.158 18.5158 123.203 18.7167C123.247 18.9175 123.351 19.1005 123.499 19.2427C123.648 19.3848 123.836 19.4797 124.038 19.5152C124.241 19.5508 124.45 19.5255 124.638 19.4424C124.826 19.3594 124.985 19.2225 125.096 19.0489C125.206 18.8753 125.263 18.6728 125.258 18.4671C125.258 18.3285 125.231 18.1912 125.177 18.0634C125.123 17.9356 125.044 17.8199 124.945 17.723C124.846 17.626 124.729 17.5499 124.6 17.499C124.471 17.4481 124.333 17.4236 124.194 17.4267V17.4504ZM124.194 19.342C124.015 19.3419 123.841 19.2886 123.693 19.1888C123.544 19.0889 123.429 18.9472 123.362 18.7816C123.295 18.6161 123.278 18.4342 123.315 18.2593C123.352 18.0844 123.44 17.9244 123.568 17.7997C123.696 17.675 123.858 17.5914 124.034 17.5594C124.21 17.5275 124.391 17.5487 124.555 17.6203C124.718 17.692 124.857 17.8108 124.953 17.9616C125.049 18.1125 125.097 18.2885 125.093 18.4671C125.093 18.7054 124.998 18.934 124.829 19.1025C124.661 19.271 124.432 19.3656 124.194 19.3656V19.342ZM56.5685 17.6159C55.0316 17.6159 54.2513 16.2208 54.2513 14.8967C54.2513 13.5725 55.1025 12.2484 56.4976 12.2484C57.1596 12.2484 57.9872 12.5794 58.3183 13.0523L59.9261 11.4208C59.472 10.9824 58.9346 10.6394 58.3458 10.412C57.7569 10.1846 57.1285 10.0774 56.4976 10.0967C53.6601 10.0967 51.603 12.1302 51.603 14.9203C51.603 17.7578 53.6365 19.7676 56.5685 19.7676C57.9399 19.7676 59.2168 19.3656 59.9734 18.538L58.3892 16.8356C58.1538 17.0814 57.8712 17.2772 57.5584 17.4113C57.2456 17.5454 56.9089 17.615 56.5685 17.6159ZM47.4651 19.5075H50.0188V10.3568H47.4887L47.4651 19.5075ZM42.8542 15.3696C42.8542 16.4336 42.1449 17.5922 40.868 17.5922C39.8513 17.5922 39.3074 16.8829 39.3074 15.3932V10.3804H36.7774V16.0553C36.7774 17.9469 37.7232 19.7912 40.2532 19.7912C41.4355 19.7912 42.4286 18.8454 42.9252 18.1361H42.9725V19.5312H45.3843V10.3568H42.8542V15.3696ZM32.2138 11.5154H32.1665C31.8119 11.1134 30.8424 10.0967 29.2818 10.0967C26.7045 10.0967 24.7183 12.1065 24.7183 14.8967C24.7183 17.7341 26.5626 19.7676 29.1636 19.7676C29.7199 19.7505 30.2669 19.62 30.771 19.3842C31.2752 19.1484 31.7259 18.8122 32.0956 18.3962H32.1429V24.0001H34.6493V10.3568H32.2375L32.2138 11.5154ZM29.7784 17.6159C28.2178 17.6159 27.3192 16.2445 27.3192 14.8967C27.3192 13.5962 28.1232 12.2247 29.7784 12.2247C31.268 12.2247 32.1902 13.6435 32.1902 14.9203C32.1902 16.1972 31.2917 17.6159 29.7784 17.6159ZM87.3074 10.0967C84.4464 10.0967 82.3419 12.1065 82.3419 14.8967C82.3419 17.7814 84.47 19.7912 87.3074 19.7912C90.1449 19.7912 92.273 17.7578 92.273 14.8967C92.273 12.1065 90.1922 10.0967 87.3074 10.0967ZM87.3074 17.6159C85.6523 17.6159 84.9193 16.1972 84.9193 14.8967C84.9193 13.5962 85.6759 12.2247 87.3074 12.2247C88.939 12.2247 89.7429 13.5962 89.7429 14.8967C89.7429 16.1972 88.9863 17.6159 87.3311 17.6159H87.3074ZM118.898 13.8799C117.597 13.5725 117.124 13.407 117.124 12.8632C117.124 12.1538 118.07 11.9883 118.472 11.9883C119.252 11.9883 120.127 12.4612 120.482 12.8868L121.971 11.4681C121.262 10.6169 119.914 10.1203 118.496 10.1203C116.651 10.1203 114.736 11.0425 114.736 13.076C114.736 14.8494 116.131 15.3696 117.479 15.7006C118.898 16.0316 119.418 16.2681 119.418 16.8592C119.418 17.6868 118.472 17.8287 118.117 17.8287C117.682 17.8085 117.255 17.7019 116.861 17.5152C116.467 17.3285 116.115 17.0653 115.824 16.741L114.287 18.3016C115.114 19.2474 116.557 19.7912 118.023 19.7912C120.505 19.7912 121.971 18.609 121.971 16.6701C121.971 14.8257 120.174 14.1873 118.898 13.8799ZM114.098 10.3568H110.835L107.571 14.14H107.524V5.32031H104.994V19.5075H107.524V15.0149H107.571L110.953 19.5075H114.263L110.338 14.5183L114.098 10.3568ZM76.6434 10.1203C75.4611 10.1203 74.6335 10.5932 73.806 11.3499H73.7823V5.32031H71.2523V19.5075H73.6641V18.207H73.7114C74.0225 18.6812 74.4472 19.0702 74.9469 19.3386C75.4465 19.607 76.0053 19.7463 76.5725 19.744C79.1734 19.744 81.1597 17.7105 81.1597 14.8967C81.1597 12.1065 79.2207 10.0967 76.6434 10.0967V10.1203ZM76.1468 17.6159C74.6099 17.6159 73.7114 16.2445 73.7114 14.9203C73.7114 13.5962 74.6572 12.2247 76.1468 12.2247C77.7784 12.2247 78.5823 13.5962 78.5823 14.8967C78.5823 16.2445 77.7074 17.6159 76.1468 17.6159ZM70.3064 10.3568H67.0434L63.7803 14.14H63.733V5.32031H61.203V19.5075H63.733V15.0149H63.7803L67.1616 19.5075H70.472L66.5705 14.5183L70.3064 10.3568ZM98.3971 10.1203C95.5124 10.1203 93.4316 12.1302 93.4316 14.8967C93.4316 17.7814 95.5597 19.7912 98.3971 19.7912C101.235 19.7912 103.363 17.7578 103.363 14.8967C103.363 12.1065 101.258 10.0967 98.3971 10.0967V10.1203ZM98.3971 17.6159C96.7419 17.6159 95.9853 16.1972 95.9853 14.8967C95.9853 13.5962 96.7419 12.2247 98.3971 12.2247C100.052 12.2247 100.785 13.5962 100.785 14.8967C100.785 16.1972 100.029 17.6159 98.3971 17.6159Z",fill:"currentColor"}),r.createElement("path",{d:"M11.2405 21.2808C17.117 21.2808 21.8809 16.5169 21.8809 10.6404C21.8809 4.76387 17.117 0 11.2405 0C5.36396 0 0.600098 4.76387 0.600098 10.6404C0.600098 16.5169 5.36396 21.2808 11.2405 21.2808Z",fill:"#2CA01C"}),r.createElement("path",{d:"M3.55566 10.6404C3.55566 11.7379 3.99162 12.7904 4.76764 13.5664C5.54365 14.3424 6.59615 14.7783 7.69359 14.7783H8.28473V13.2414H7.69359C7.00377 13.2414 6.3422 12.9674 5.85442 12.4796C5.36664 11.9918 5.09261 11.3302 5.09261 10.6404C5.09261 9.95058 5.36664 9.28901 5.85442 8.80123C6.3422 8.31346 7.00377 8.03942 7.69359 8.03942H9.11231V16.0788C9.11231 16.2807 9.15207 16.4805 9.22931 16.667C9.30655 16.8535 9.41976 17.0229 9.56247 17.1656C9.70519 17.3083 9.87463 17.4215 10.0611 17.4988C10.2476 17.576 10.4474 17.6158 10.6493 17.6158V6.50248H7.69359C6.59615 6.50248 5.54365 6.93844 4.76764 7.71445C3.99162 8.49046 3.55566 9.54296 3.55566 10.6404ZM14.7872 6.50248H14.1961V8.03942H14.7872C15.477 8.03942 16.1386 8.31346 16.6264 8.80123C17.1141 9.28901 17.3882 9.95058 17.3882 10.6404C17.3882 11.3302 17.1141 11.9918 16.6264 12.4796C16.1386 12.9674 15.477 13.2414 14.7872 13.2414H13.3685V5.20199C13.3685 4.79436 13.2065 4.40343 12.9183 4.1152C12.6301 3.82697 12.2391 3.66504 11.8315 3.66504V14.7783H14.7872C15.3306 14.7783 15.8687 14.6713 16.3707 14.4634C16.8727 14.2554 17.3289 13.9506 17.7131 13.5664C18.0974 13.1821 18.4022 12.726 18.6101 12.2239C18.8181 11.7219 18.9251 11.1838 18.9251 10.6404C18.9251 10.097 18.8181 9.55893 18.6101 9.05689C18.4022 8.55485 18.0974 8.09869 17.7131 7.71445C17.3289 7.33021 16.8727 7.02541 16.3707 6.81746C15.8687 6.60951 15.3306 6.50248 14.7872 6.50248Z",fill:"white"}),r.createElement("path",{d:"M35.1225 2.43553C35.2628 2.43553 35.3999 2.39393 35.5166 2.31598C35.6332 2.23803 35.7242 2.12725 35.7779 1.99763C35.8315 1.86801 35.8456 1.72538 35.8182 1.58778C35.7908 1.45018 35.7233 1.32378 35.6241 1.22458C35.5249 1.12537 35.3985 1.05781 35.2609 1.03044C35.1233 1.00307 34.9806 1.01712 34.851 1.07081C34.7214 1.1245 34.6106 1.21542 34.5327 1.33207C34.4547 1.44872 34.4131 1.58587 34.4131 1.72617C34.4131 1.9143 34.4879 2.09473 34.6209 2.22776C34.7539 2.36079 34.9344 2.43553 35.1225 2.43553ZM30.9373 2.90844C30.6429 2.90803 30.3542 2.98968 30.1036 3.14421C29.853 3.29875 29.6504 3.52006 29.5186 3.78331H29.4713V3.02666H28.3836V7.68479H29.5422V5.1311C29.5422 4.51632 29.8969 3.87789 30.6299 3.87789C31.3629 3.87789 31.5048 4.56361 31.5048 5.10745V7.70844H32.6634V4.75277C32.6634 3.80696 32.1668 2.86114 30.9373 2.86114V2.90844ZM26.019 7.68479H27.2013V3.02666H26.019V7.68479ZM47.1816 2.41188C47.3219 2.41188 47.4591 2.37028 47.5757 2.29233C47.6924 2.21439 47.7833 2.1036 47.837 1.97398C47.8907 1.84437 47.9047 1.70174 47.8773 1.56413C47.85 1.42653 47.7824 1.30014 47.6832 1.20093C47.584 1.10173 47.4576 1.03417 47.32 1.00679C47.1824 0.979424 47.0398 0.993471 46.9101 1.04716C46.7805 1.10085 46.6697 1.19177 46.5918 1.30842C46.5138 1.42508 46.4722 1.56223 46.4722 1.70252C46.4722 1.89066 46.547 2.07109 46.68 2.20412C46.813 2.33715 46.9935 2.41188 47.1816 2.41188ZM45.29 3.02666V4.06706H46.5905V7.68479H47.7727V4.06706H49.0732V3.02666H45.29ZM43.3038 7.68479H44.486V3.02666H43.3038V7.68479ZM33.2545 4.06706H34.555V7.68479H35.7373V4.06706H37.0378V3.02666H33.2545V4.06706ZM40.9629 5.604C40.9629 6.21878 40.6082 6.8572 39.8752 6.8572C39.1422 6.8572 39.0003 6.14784 39.0003 5.604V3.02666H37.8181V5.93504C37.8181 6.88085 38.3383 7.82666 39.5442 7.82666C39.8426 7.83151 40.1363 7.75195 40.3915 7.59717C40.6467 7.44239 40.8529 7.21867 40.9865 6.95179H41.0102V7.70844H42.1215V3.02666H40.9392V5.58036L40.9629 5.604Z",fill:"currentColor"})),s={containerPaddingTop:new l(i[5],i[7]),containerPaddingBottom:new l(i[5],i[5]),containerPaddingLeftRight:new l(i[6],i[11])},L=t.div`
|
|
2
2
|
border-radius: inherit;
|
|
3
3
|
max-width: 520px;
|
|
4
4
|
text-align: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as Ol}from"./pdf-DwfifS04.js";import{p as Q,e as xc,d as kc,g as jl,a as xl}from"./sentry-Cm8I7E9J.js";import{B as dt,ct as Tc,H9 as Ac,Hi as kl,F3 as Rc,bE as Tl,c$ as Al,d0 as Rl}from"./zeni-epic-state-lC5X-sam.js";import{a as lt,b as Il,c as Pl,d as Nl,e as an,f as Ll,g as $l,h as Ml,i as Vt,j as Ic,k as oe,l as je,m as Dl,n as Yt,o as ue,p as Cl}from"./utils-BhOlvYO8.js";import{r as un}from"./empty-CTO6rJhq.js";import{r as Fl,a as Bl,b as Ul,c as ql}from"./pdf-lib-CuGtb6jg.js";import{r as Gl}from"./index-B9myuWEH.js";import{r as zl}from"./index-B9eknY8q.js";import{j as Zl,h as Hl,i as Vl,u as En,k as Yl}from"./core-CaikJZHD.js";import{jr as Kl,js as Pc,jt as Wl,jB as Jl,jC as Xl,jD as Ql,jz as tf}from"./index-
|
|
1
|
+
import{j as Ol}from"./pdf-DwfifS04.js";import{p as Q,e as xc,d as kc,g as jl,a as xl}from"./sentry-Cm8I7E9J.js";import{B as dt,ct as Tc,H9 as Ac,Hi as kl,F3 as Rc,bE as Tl,c$ as Al,d0 as Rl}from"./zeni-epic-state-lC5X-sam.js";import{a as lt,b as Il,c as Pl,d as Nl,e as an,f as Ll,g as $l,h as Ml,i as Vt,j as Ic,k as oe,l as je,m as Dl,n as Yt,o as ue,p as Cl}from"./utils-BhOlvYO8.js";import{r as un}from"./empty-CTO6rJhq.js";import{r as Fl,a as Bl,b as Ul,c as ql}from"./pdf-lib-CuGtb6jg.js";import{r as Gl}from"./index-B9myuWEH.js";import{r as zl}from"./index-B9eknY8q.js";import{j as Zl,h as Hl,i as Vl,u as En,k as Yl}from"./core-CaikJZHD.js";import{jr as Kl,js as Pc,jt as Wl,jB as Jl,jC as Xl,jD as Ql,jz as tf}from"./index-mhb15COx.js";import"./mui-G2MlMTlr.js";import{d as Pe}from"./decodeURIComponentSafe-DcEFJStp.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},f=new t.Error().stack;f&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[f]="08ed57e3-1f0d-4e3f-abe3-b7f0ddcb2df5",t._sentryDebugIdIdentifier="sentry-dbid-08ed57e3-1f0d-4e3f-abe3-b7f0ddcb2df5")}catch{}})();var _n,Sn={exports:{}},On,jn,xn,kn,Tn,An,Rn,In,Pn,Ne,Nn,Ln,$n,Mn,Dn,Cn,Fn,Bn,Un,qn,Gn,Le,zn,Zn,Hn,Vn,Yn,Kn,Wn,$e,Jn,Xn,Qn,to,eo,ro,no,Me={exports:{}},De={exports:{}},Ce={};function Nc(){if(On)return Ce;function t(r){return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(r)}function f(r,e){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,p){return a.__proto__=p,a},f(r,e)}function m(r){var e=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var a,p=s(r);if(e){var h=s(this).constructor;a=Reflect.construct(p,arguments,h)}else a=p.apply(this,arguments);return function(d,b){if(b&&(t(b)==="object"||typeof b=="function"))return b;if(b!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}(d)}(this,a)}}function s(r){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(r)}On=1;var c,o,n={};function i(r,e,a){a||(a=Error);var p=function(h){(function(u,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(y&&y.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),y&&f(u,y)})(g,h);var d,b=m(g);function g(u,y,v){var S;return function(w,_){if(!(w instanceof _))throw new TypeError("Cannot call a class as a function")}(this,g),S=b.call(this,function(w,_,M){return typeof e=="string"?e:e(w,_,M)}(u,y,v)),S.code=r,S}return d=g,Object.defineProperty(d,"prototype",{writable:!1}),d}(a);n[r]=p}function l(r,e){if(Array.isArray(r)){var a=r.length;return r=r.map(function(p){return String(p)}),a>2?"one of ".concat(e," ").concat(r.slice(0,a-1).join(", "),", or ")+r[a-1]:a===2?"one of ".concat(e," ").concat(r[0]," or ").concat(r[1]):"of ".concat(e," ").concat(r[0])}return"of ".concat(e," ").concat(String(r))}return i("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),i("ERR_INVALID_ARG_TYPE",function(r,e,a){var p,h,d;if(c===void 0&&(c=ie()),c(typeof r=="string","'name' must be a string"),typeof e=="string"&&(h="not ",e.substr(0,h.length)===h)?(p="must not be",e=e.replace(/^not /,"")):p="must be",function(g,u,y){return(y===void 0||y>g.length)&&(y=g.length),g.substring(y-u.length,y)===u}(r," argument"))d="The ".concat(r," ").concat(p," ").concat(l(e,"type"));else{var b=function(g,u,y){return typeof y!="number"&&(y=0),!(y+u.length>g.length)&&g.indexOf(u,y)!==-1}(r,".")?"property":"argument";d='The "'.concat(r,'" ').concat(b," ").concat(p," ").concat(l(e,"type"))}return d+=". Received type ".concat(t(a))},TypeError),i("ERR_INVALID_ARG_VALUE",function(r,e){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";o===void 0&&(o=lt());var p=o.inspect(e);return p.length>128&&(p="".concat(p.slice(0,128),"...")),"The argument '".concat(r,"' ").concat(a,". Received ").concat(p)},TypeError),i("ERR_INVALID_RETURN_VALUE",function(r,e,a){var p;return p=a&&a.constructor&&a.constructor.name?"instance of ".concat(a.constructor.name):"type ".concat(t(a)),"Expected ".concat(r,' to be returned from the "').concat(e,'"')+" function but got ".concat(p,".")},TypeError),i("ERR_MISSING_ARGS",function(){for(var r=arguments.length,e=new Array(r),a=0;a<r;a++)e[a]=arguments[a];c===void 0&&(c=ie()),c(e.length>0,"At least one arg needs to be specified");var p="The ",h=e.length;switch(e=e.map(function(d){return'"'.concat(d,'"')}),h){case 1:p+="".concat(e[0]," argument");break;case 2:p+="".concat(e[0]," and ").concat(e[1]," arguments");break;default:p+=e.slice(0,h-1).join(", "),p+=", and ".concat(e[h-1]," arguments")}return"".concat(p," must be specified")},TypeError),Ce.codes=n,Ce}function ef(){if(xn)return jn;function t(k,E){var j=Object.keys(k);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(k);E&&(x=x.filter(function(O){return Object.getOwnPropertyDescriptor(k,O).enumerable})),j.push.apply(j,x)}return j}function f(k){for(var E=1;E<arguments.length;E++){var j=arguments[E]!=null?arguments[E]:{};E%2?t(Object(j),!0).forEach(function(x){m(k,x,j[x])}):Object.getOwnPropertyDescriptors?Object.defineProperties(k,Object.getOwnPropertyDescriptors(j)):t(Object(j)).forEach(function(x){Object.defineProperty(k,x,Object.getOwnPropertyDescriptor(j,x))})}return k}function m(k,E,j){return(E=c(E))in k?Object.defineProperty(k,E,{value:j,enumerable:!0,configurable:!0,writable:!0}):k[E]=j,k}function s(k,E,j){return E&&function(x,O){for(var $=0;$<O.length;$++){var N=O[$];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(x,c(N.key),N)}}(k.prototype,E),Object.defineProperty(k,"prototype",{writable:!1}),k}function c(k){var E=function(j,x){if(p(j)!=="object"||j===null)return j;var O=j[Symbol.toPrimitive];if(O!==void 0){var $=O.call(j,x);if(p($)!=="object")return $;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(j)}(k,"string");return p(E)==="symbol"?E:String(E)}function o(k,E){if(E&&(p(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return n(k)}function n(k){if(k===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k}function i(k){var E=typeof Map=="function"?new Map:void 0;return i=function(j){if(j===null||(x=j,Function.toString.call(x).indexOf("[native code]")===-1))return j;var x;if(typeof j!="function")throw new TypeError("Super expression must either be null or a function");if(E!==void 0){if(E.has(j))return E.get(j);E.set(j,O)}function O(){return l(j,arguments,a(this).constructor)}return O.prototype=Object.create(j.prototype,{constructor:{value:O,enumerable:!1,writable:!0,configurable:!0}}),e(O,j)},i(k)}function l(k,E,j){return l=r()?Reflect.construct.bind():function(x,O,$){var N=[null];N.push.apply(N,O);var P=new(Function.bind.apply(x,N));return $&&e(P,$.prototype),P},l.apply(null,arguments)}function r(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function e(k,E){return e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(j,x){return j.__proto__=x,j},e(k,E)}function a(k){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(E){return E.__proto__||Object.getPrototypeOf(E)},a(k)}function p(k){return p=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(E){return typeof E}:function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E},p(k)}xn=1;var h=lt().inspect,d=Nc().codes.ERR_INVALID_ARG_TYPE;function b(k,E,j){return(j===void 0||j>k.length)&&(j=k.length),k.substring(j-E.length,j)===E}var g="",u="",y="",v="",S={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function w(k){var E=Object.keys(k),j=Object.create(Object.getPrototypeOf(k));return E.forEach(function(x){j[x]=k[x]}),Object.defineProperty(j,"message",{value:k.message}),j}function _(k){return h(k,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function M(k,E,j){var x="",O="",$=0,N="",P=!1,G=_(k),A=G.split(`
|
|
2
2
|
`),I=_(E).split(`
|
|
3
3
|
`),R=0,B="";if(j==="strictEqual"&&p(k)==="object"&&p(E)==="object"&&k!==null&&E!==null&&(j="strictEqualObject"),A.length===1&&I.length===1&&A[0]!==I[0]){var V=A[0].length+I[0].length;if(V<=10){if(!(p(k)==="object"&&k!==null||p(E)==="object"&&E!==null||k===0&&E===0))return"".concat(S[j],`
|
|
4
4
|
|
package/dist/assets/{QBOSetupSection-BrtLMvEP-DHfwqwJo.js → QBOSetupSection-BrtLMvEP-D5Os1BGx.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as O,O as u,V as i,a as k,o,x as a,f as c,fh as I,d as T,r as D,aT as W,f8 as B,ad as w,C as f,m as t}from"./index-
|
|
1
|
+
import{e as O,O as u,V as i,a as k,o,x as a,f as c,fh as I,d as T,r as D,aT as W,f8 as B,ad as w,C as f,m as t}from"./index-mhb15COx.js";import{n as s}from"./mui-G2MlMTlr.js";import{D as E,V as G}from"./QBOConnectionDialog-CXSi1Pd9-CSvewQW2.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]="6adf50ad-143a-40f0-96c3-0164e02f8e98",e._sentryDebugIdIdentifier="sentry-dbid-6adf50ad-143a-40f0-96c3-0164e02f8e98")}catch{}})();const d={containerPadding:new a(t[3],t[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(t[3],t[0]),arrowIconWidthHeight:new a(t[3],t[4])},_={title:new T("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:r=!1,isValid:l,saveConnectionState:p,isQBOPopupOpen:$,companyName:y,updateQBOPopupState:h,handleOnConnectClick:b})=>{const n=O(),{qbo_connection:j}=u.getLocalizedStrings().customerOnboardingPage.sections,{title:S,sucessText:v,button:z,errorText:P,requiredText:C}=j;return i.jsxs(A,{windowSize:n,children:[i.jsxs(H,{windowSize:n,children:[n==="small"?i.jsx(J,{children:l?i.jsx(K,{}):i.jsx(U,{})}):null,i.jsx(N,{windowSize:n,children:S})]}),i.jsxs(Q,{windowSize:n,children:[i.jsxs(V,{windowSize:n,children:[i.jsxs(L,{children:[i.jsx(M,{}),i.jsx(R,{windowSize:n}),i.jsx(F,{})]}),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(q,{children:v}),n==="small"?i.jsx(m,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:P})}):null,r&&!l?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:C})}):null]}),i.jsx(E,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:$,companyName:y,saveConnectionState:p,handleOnConnectClick:b,handleGoBack:()=>h(!1)})]})},m=()=>{const{tags:e}=u.getLocalizedStrings().customerOnboardingPage,{connected:r}=e;return i.jsx(B,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:r,textColor:{color:new w(c.successDark),borderColor:new w(c.successDark)}})},A=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t}from"./pdf-DwfifS04.js";import{a as o}from"./sentry-Cm8I7E9J.js";import{u,j as O,i as H,h as V,k as W}from"./core-CaikJZHD.js";import{y as _,e as F,js as b,l0 as M,x as N,k2 as U,jQ as $,bj as z,jz as l,J as A,k9 as G,l1 as J}from"./index-
|
|
1
|
+
import{j as t}from"./pdf-DwfifS04.js";import{a as o}from"./sentry-Cm8I7E9J.js";import{u,j as O,i as H,h as V,k as W}from"./core-CaikJZHD.js";import{y as _,e as F,js as b,l0 as M,x as N,k2 as U,jQ as $,bj as z,jz as l,J as A,k9 as G,l1 as J}from"./index-mhb15COx.js";import{cE as Q,ct as X,Kn as R,Ko as Y,Kp as Z,qu as ee,qk as h,cG as ae,qp as re,Kq as ne}from"./zeni-epic-state-lC5X-sam.js";import{D as te,e as se,n as oe,S as ie}from"./mui-G2MlMTlr.js";import{M as le}from"./MobileAppDrawer-D7V2koAX.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]="cf57f32b-2d35-4912-8c25-10e643340e87",e._sentryDebugIdIdentifier="sentry-dbid-cf57f32b-2d35-4912-8c25-10e643340e87")}catch{}})();const ce={overlayWidth:new N(100,100,30)},de=({isReferralDrawerOpen:e,closeDrawerHandler:a})=>{const r=_(),s=F();if(b.getSignedInUser()==null)throw Error("Can't access How Referral works without signing in...");const i=()=>{a(!0)},p=u(c=>Q(c));return t.jsx(te,{anchor:"right",open:e,PaperProps:{style:{width:ce.overlayWidth.valuePercentage(s),boxShadow:"none"}},slotProps:{backdrop:{style:{opacity:.75,backgroundColor:r.colors.black,cursor:"pointer"}}},onClose:()=>i(),children:t.jsx(se,{in:e,direction:"left",children:t.jsx(fe,{onClick:c=>c.stopPropagation(),children:t.jsx(M,{onDismissClick:i,rewardsPlan:p.rewardsPlan})})})})},fe=oe(ie)`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as t}from"./pdf-DwfifS04.js";import x from"./NotFoundScreen-
|
|
1
|
+
import{j as t}from"./pdf-DwfifS04.js";import x from"./NotFoundScreen-BBbILNsa.js";import{a as p}from"./sentry-Cm8I7E9J.js";import{j as I,h as k,i as A,u,N as E,k as C,R as D,m as c}from"./core-CaikJZHD.js";import{ct as z,Li as g,Ly as S,za as T,yj as V,z9 as d,z0 as U,LN as _}from"./zeni-epic-state-lC5X-sam.js";import{y as L,js as N,jQ as $,k9 as O,lz as W,ki as B}from"./index-mhb15COx.js";import"./mui-G2MlMTlr.js";import{R as y}from"./ReimbursementApprovalRuleDetailScreen-Bs2ple33.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]="9181a707-f436-459d-8ed7-46dc57454770",e._sentryDebugIdIdentifier="sentry-dbid-9181a707-f436-459d-8ed7-46dc57454770")}catch{}})();const m="reimbursement-approval-rule-update",P=C(function(e){return{approvalView:g(e),remiSetupApproverViewUpdateData:S(e).remiSetupApproverViewUpdateData}},function(e,r){const{navigate:a,location:l}=r;return{onApprovalRulesEventReceived:n=>{n.endsWith(m)&&e(_(!1))},onBackClick:()=>{B(l)?a("../../"):a("../../../reimbursements/setup")},onDeleteRuleClick:n=>{e(U(n))},onEditRuleClick:n=>{n!=null?(e(d(n)),a(`./${n}/edit`)):(e(d()),a("./new"))}}})(O(W)),Q=()=>{const e=I(),r=k(),a=A(),[l,n]=p.useState(!1),[f,b]=p.useState(!1),h=u(s=>s.remiSetupApproverViewState.fetchState),o=u(s=>z(s)),j=L(),i=u(s=>g(s)),v=u(s=>S(s).remiSetupApproverViewUpdateData);if(p.useEffect(()=>{v?.updateStatus.fetchState==="Completed"&&a(T())},[v]),p.useEffect(()=>{l||h!=="Not-Started"||(n(!0),a(V(!0)))},[l,h,a]),N.getSignedInUser()==null)throw Error("Can't access reimbursement approval without signing in...");p.useEffect(()=>{i.allApprovalRules.length===0&&i.fetchState==="Completed"&&(f||(b(!0),a(d())),e("./new"))},[f,i,a]);const w={events:o.companyId!=null?[`private-${o.companyId}.${m}`]:[],eventCallback:(s,q,R)=>{s.endsWith(m)&&R.onApprovalRulesEventReceived(s)}};return o.companyReimbursementInfo?.info?.isReimbursementTOSAccepted===!1?t.jsx(E,{to:"../../promo"}):o.companyReimbursementInfo?.info?.isReimbursementTOSAccepted!==!0||i.fetchState!=="Completed"&&i.fetchState!=="Error"?t.jsx($,{fetchState:"In-Progress",style:{backgroundColor:j.colors.grey5}}):t.jsx(P,{currentTenant:o,location:r,navigate:e,...w})};function Z(){return t.jsxs(D,{children:[t.jsx(c,{path:"/",element:t.jsx(Q,{})}),t.jsx(c,{path:"/new",element:t.jsx(y,{})}),t.jsx(c,{path:"/:approvalRuleId/edit",element:t.jsx(y,{})}),t.jsx(c,{path:"*",element:t.jsx(x,{})})]})}export{Z as R};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{x as M,m as D,y as W,e as G,O as U,T as X,a7 as H,a1 as J,c8 as K,V as r,a_ as Q,A as Y,a9 as Z,o as h,fy as ee}from"./index-
|
|
1
|
+
import{x as M,m as D,y as W,e as G,O as U,T as X,a7 as H,a1 as J,c8 as K,V as r,a_ as Q,A as Y,a9 as Z,o as h,fy as ee}from"./index-mhb15COx.js";import{a as L}from"./sentry-Cm8I7E9J.js";import{n as u}from"./mui-G2MlMTlr.js";import{b as ae,f as te,o as B,l as T}from"./FollowStepsSection-DaueHRo4-FQso0zsG.js";import"./pdf-DwfifS04.js";import"./zeni-epic-state-lC5X-sam.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.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]="16cfc922-2173-40d3-ad7f-a983a6631acf",e._sentryDebugIdIdentifier="sentry-dbid-16cfc922-2173-40d3-ad7f-a983a6631acf")}catch{}})();const _="reimbursementApprovalRuleDetailPage",C="lowerBound",k="upperBound",I="steps",b="applyToExistingReimbursements",le={footerPadding:new M(D[2],D[3])};function Ue({localData:e,approvalUpdateActionType:t,isLowerBoundDisabled:a=!1,isUpperBoundDisabled:o=!0,hideUpperBoundField:n=!1,onBackClick:s,onApprovalRuleDataUpdated:g,onResetClick:N,onSaveRuleClick:$,onSaveRuleSuccess:A}){const E=W(),w=G(),l=U.getLocalizedStrings().commonSetUp.approval,S=U.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=re(e,t==="approval_create"&&!a),y=X({mode:"all",reValidateMode:"onChange",defaultValues:x}),p=e.remiSetupApproverViewUpdateData?.updateStatus,R=H(p?.fetchState),{upperBound:P}=x,{allApprovalRules:d,allAccountingClasses:V,remiSetupApproverViewUpdateData:c}=e;let m=d.length>1?d.length-1:0,v=d.length>0?d[m].criteria[0].range.min.amount:0;if(c!=null&&c.type==="approval_update"&&c.data!=null){const{approvalRuleId:i}=c.data;m=d.findIndex(f=>f.approvalRuleId===i),v=m>0?d[m-1].criteria[0].range.min.amount:0}const O=y.handleSubmit(()=>{$()});return L.useEffect(()=>{const i=y.watch((f,{name:q})=>{if(q!=null&&f!=null){const z=J(f);K(()=>(async(me,F)=>{g(F)})(0,z))}});return()=>{i.unsubscribe()}}),L.useEffect(()=>{R==="In-Progress"&&p?.fetchState==="Completed"&&A()},[R,p?.fetchState,A]),r.jsxs(ie,{children:[r.jsx(Q,{title:t==="approval_create"?l.newApproval:l.editApproval,backgroundColor:E.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:j(_),onSubmit:O,children:r.jsxs(pe,{children:[r.jsx(ae,{label:{label:n?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:i=>!!a||i!=null&&i>v},isDisabled:a,additionalInfoLabel:l.firstRuleLowerBoundInfoLabel,additionalErrorLabel:l.firstRuleErrorInfoLabel},secondText:{type:"number",name:k,placeholder:"Infinity",isDisabled:o,hideField:n,additionalInfoLabel:l.upperBoundInfoLabel}}),r.jsx(ce,{}),r.jsx(te,{sectionId:I,label:{label:l.followStepsLabel},approversPlaceholder:l.approversPlaceholder,notifiersPlaceholder:l.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:V,stepsInfo:x[I],userSelectPlaceholder:l.userSelectPlaceholder,approveNotifyPlaceholder:l.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})}),r.jsx(Z,{formId:j(_),primaryBtn:{label:l.saveBtnText,isLoading:p?.fetchState==="In-Progress",isDisabled:p?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:t==="approval_create"&&d.length===0?null:r.jsx(ee,{name:b,mode:"always_on",checkBoxes:[{value:b,label:l.applyToExistingReimbursements,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:l.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:N},containerStyle:{justifyContent:w==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(w)},separatorStyle:{marginRight:h.sp4}})]})})]})}const re=(e,t)=>{const{criteria:a,steps:o}=e.remiSetupApproverViewUpdateData?.data??{},n=e.allApprovalRules.length===0;return{[b]:n?[]:[b],[I]:oe(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),B(e.allAttributes),B(e.filteredAttributes),o??[])??[],[C]:t?void 0:a!=null?a.range.min.amount??0:0,[k]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},oe=(e,t,a,o,n)=>n&&n.length>0?n.map((s,g)=>({stepIndex:g,stepType:{selectedOption:s.action,allOptions:T},actors:{allUsers:t,selectedUsers:se(e,s.actors),allNonUsers:o,selectedNonUsers:ne(a,s.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:T},actors:{allUsers:t,selectedUsers:[],allNonUsers:o,selectedNonUsers:[]}}],se=(e,t)=>e.filter(a=>a.userId!=null&&t.findIndex(o=>o.userId===a.userId)>-1),ne=(e,t)=>e.filter(a=>t.findIndex(o=>o.subType===a.value)>-1),j=e=>`${e}_form`,Le=e=>`${e}`,ie=u.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as g}from"./pdf-DwfifS04.js";import{a as y}from"./sentry-Cm8I7E9J.js";import{j as w,i as A,h as T,l as U,u as b,k as E}from"./core-CaikJZHD.js";import{Ly as R,Li as C,z3 as x,zc as _,za as S,zb as h,Lz as k}from"./zeni-epic-state-lC5X-sam.js";import{js as B,y as j,jQ as V,lq as z,ki as F}from"./index-
|
|
1
|
+
import{j as g}from"./pdf-DwfifS04.js";import{a as y}from"./sentry-Cm8I7E9J.js";import{j as w,i as A,h as T,l as U,u as b,k as E}from"./core-CaikJZHD.js";import{Ly as R,Li as C,z3 as x,zc as _,za as S,zb as h,Lz as k}from"./zeni-epic-state-lC5X-sam.js";import{js as B,y as j,jQ as V,lq as z,ki as F}from"./index-mhb15COx.js";import"./mui-G2MlMTlr.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]="1685e097-cb5b-47ac-b629-cd48aa4062fd",e._sentryDebugIdIdentifier="sentry-dbid-1685e097-cb5b-47ac-b629-cd48aa4062fd")}catch{}})();function L(e){return k(e)==null}const O=E(function(e,a){const t=R(e),s=t.remiSetupApproverViewUpdateData?.type??"approval_create",n=s==="approval_create"&&t.allApprovalRules.length!==0;let l=t.allApprovalRules.length===0;return a.approvalRuleId&&(l=t.allApprovalRules.findIndex(r=>r.approvalRuleId===a.approvalRuleId)===0),{localData:t,hideUpperBoundField:n,isLowerBoundDisabled:l,approvalUpdateActionType:s}},function(e,a){const{navigate:t,approvalUpdateDataView:s,approverViewData:n,approvalRuleId:l}=a,r=s.remiSetupApproverViewUpdateData?.type,i=F(a.location);return{onApprovalRuleDataUpdated:o=>{const c=p=>{const v=[];return p.forEach(u=>{const D=u.actors.selectedUsers.map(d=>({type:"user",subType:void 0,userId:d.userId,idType:"user",isImplicitActor:!1})),I=u.actors.selectedNonUsers.map(d=>{const f=!!L(d.value);return{type:f?"attribute":"role",subType:d.value,userId:void 0,idType:void 0,isImplicitActor:!f}}),m=D.concat(I);v.push({action:u.stepType.selectedOption,actors:m,operator:m.length>1?u.stepType.selectedOption==="require_approval"?"or":"and":"is"})}),v};if(r==="approval_create"){const p={criteria:{rangeType:"range",rangeEntity:"currency",range:{min:{amount:o.lowerBound,currencyCode:"USD",currencySymbol:"$"},max:{amount:o.upperBound,currencyCode:"USD",currencySymbol:"$"}}},steps:c(o.steps),isApplicableOnPendingApprovalEntity:o.applyToExistingReimbursements.includes("applyToExistingReimbursements")};e(h(p))}else{const p={approvalRuleId:l,criteria:{rangeType:"range",rangeEntity:"currency",range:{min:{amount:o.lowerBound,currencyCode:"USD",currencySymbol:"$"},max:{amount:o.upperBound,currencyCode:"USD",currencySymbol:"$"}}},steps:c(o.steps),isApplicableOnPendingApprovalEntity:o.applyToExistingReimbursements.includes("applyToExistingReimbursements")};e(h(p))}},onResetClick:()=>{e(S()),r==="approval_update"||i?t("../"):n.allApprovalRules.length===0&&n.fetchState==="Completed"?t("../../setup"):t("../")},onBackClick:()=>{e(S()),r==="approval_update"||i?t("../"):n.allApprovalRules.length===0&&n.fetchState==="Completed"?t("../../setup"):t("../")},onSaveRuleClick:()=>{e(_())},onSaveRuleSuccess:()=>{t("../")}}})(z);function H(){const e=w(),a=A(),t=T(),{approvalRuleId:s}=U(),n=B.getSignedInUser(),l=j(),r=b(p=>R(p)),i=b(p=>C(p)),[o,c]=y.useState(!1);if(y.useEffect(()=>{o||(c(!0),a(x(!0)))}),y.useEffect(()=>{i.fetchState==="Not-Started"&&e(s!=null?"../../":"../")},[i,s]),n==null)throw Error("Can't access address page without signing in...");return r.approversDetailsFetchStatus.fetchState=="Not-Started"||r.approversDetailsFetchStatus.fetchState==="In-Progress"?g.jsx(V,{fetchState:r.approversDetailsFetchStatus.fetchState,style:{backgroundColor:l.colors.grey5}}):g.jsx(O,{navigate:e,approvalUpdateDataView:r,approvalRuleId:s,approverViewData:i,location:t})}export{H as R,L as i};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as H,e as N,O as j,V as t,a_ as G,L as q,b as u,o,x as r,l as M,a5 as P,bn as k,bR as F,bS as V,bT as O,cq as J,m as l,at as K,d as T,as as Q,f as z,cp as X,aR as Y,w as Z}from"./index-
|
|
1
|
+
import{y as H,e as N,O as j,V as t,a_ as G,L as q,b as u,o,x as r,l as M,a5 as P,bn as k,bR as F,bS as V,bT as O,cq as J,m as l,at as K,d as T,as as Q,f as z,cp as X,aR as Y,w as Z}from"./index-mhb15COx.js";import{n as i}from"./mui-G2MlMTlr.js";import{a as ee}from"./sentry-Cm8I7E9J.js";import"./pdf-DwfifS04.js";import"./zeni-epic-state-lC5X-sam.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.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]="e4c5c47e-c26f-444f-9d53-3c51384bc3ed",e._sentryDebugIdIdentifier="sentry-dbid-e4c5c47e-c26f-444f-9d53-3c51384bc3ed")}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 T("smallRegular","standardRegular"),amount:new T("standardRegular","largeRegular")},te=({showDeleteBtn:e=!1,disableButtons:c=!1,isLastSection:g=!1,approvalRule:f,onEditRuleClick:S,onDeleteRuleClick:y})=>{const[w,x]=ee.useState(!1),n=N(),{range:m}=f.criteria[0],{steps:$,approvalRuleId:p}=f,a=j.getLocalizedStrings().commonSetUp.approval,v={onOkClick:()=>{x(!1),y?.(p)},onCancelClick:()=>{x(!1)}};return t.jsxs(oe,{windowSize:n,isLastSection:g,isUpdatingApprovalRules:c,"data-testid":u("approval-rule-section",p),children:[t.jsxs(ie,{windowSize:n,children:[t.jsxs(ce,{children:[t.jsxs(W,{windowSize:n,children:[a.from," ",P("0,0",m.min)]}),t.jsxs(re,{children:[t.jsx(R,{}),t.jsx(le,{}),t.jsx(R,{})]}),m.max==null?t.jsx(me,{}):t.jsx(W,{windowSize:n,children:P("0,0",{...m.min,amount:m.max.amount})})]}),t.jsxs(he,{className:"icons",children:[e?c?t.jsx(k,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(C,{children:t.jsx(I,{isDisabled:!0,"data-testid":u("delete-approval-rule",p)})})}):t.jsx(I,{onClick:()=>{x(!0)},"data-testid":u("delete-approval-rule",p)}):null,c?t.jsx(k,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(C,{children:t.jsx(B,{isDisabled:!0,"data-testid":u("edit-approval-rule",p)})})}):t.jsx(B,{onClick:()=>{S(p)},"data-testid":u("edit-approval-rule",p)})]})]}),t.jsx(se,{windowSize:n,children:t.jsx(ae,{isSingleStep:$.length===1,windowSize:n,children:$.map((h,_)=>t.jsxs(ne,{isSingleStep:$.length===1,className:"stepperItem",windowSize:n,children:[h.action==="require_approval"?t.jsx(pe,{children:a.requireText}):t.jsx(de,{children:a.notifyText}),h.nonUserActors.filter(d=>d.subType!=null).map((d,E)=>t.jsxs(A,{children:[t.jsx(D,{children:d.subType!=null?a.nonUsers[d.subType].label:null}),h.operator!="is"?t.jsx(L,{className:"operator",children:h.operator}):null]},`${d.subType}_${E}`)),h.actors.map(d=>t.jsxs(A,{children:[t.jsxs(D,{children:[d.firstName," ",d.lastName]}),h.operator!="is"?t.jsx(L,{className:"operator",children:h.operator}):null]},d.userId))]},_))})}),w?t.jsx(F,{titleComponent:t.jsx(O,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(V,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:v}):null]})},oe=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{_ as tt,V as t,fI as kt,h as zt,e as At,y as Mt,bF as Rt,x as m,O as it,ba as Pt,fJ as Bt,fK as Nt,bR as Ae,bS as Me,bT as Re,a_ as Pe,b as f,aM as _t,cR as Lt,fL as Wt,fU as Be,o as r,fM as Ne,c$ as b,fP as g,d5 as w,a5 as _e,eO as Le,w as H,fR as We,a9 as Et,k as Ot,be as Ft,fS as ne,aV as Kt,bf as Ut,a8 as Vt,d as Gt,M as Ht,l as rt,at,f as Y,H as Yt,bp as qt,C as Jt,gc as Zt,g7 as Qt,m as c,bH as Xt,co as ei}from"./index-CuxRoVvZ.js";import{a as u}from"./sentry-Cm8I7E9J.js";import{n as a}from"./mui-G2MlMTlr.js";import{bG as ti,c6 as ii,G6 as ri}from"./zeni-epic-state-lC5X-sam.js";import ai from"./InvoiceUploadSection-58l6ePuH-DGEZcLC_.js";import{r as oi,h as x,u as ni}from"./types-DyvtCprH-VF9iATMs.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./AttachmentView-SsWJw4A8-CiFA7Mtk.js";import"./uploadReceipts-CIgkuVpu-BxCHb2mc.js";import"./upload-reimbursement-receipt-O2N8vcO7-BhCuFTsT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},$=new e.Error().stack;$&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[$]="ecbeac3d-40cc-4e39-9200-a6a426788fea",e._sentryDebugIdIdentifier="sentry-dbid-ecbeac3d-40cc-4e39-9200-a6a426788fea")}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])},li={formTitle:new Gt("h6Regular","h5Regular")},Ee=({remiDetails:e,uploadInvoiceEndPoint:$,authParams:z,isAdmin:_,signedInUser:se,showApproveRejectBtns:de,isRealTimeApprovalEnabled:ce,isReimbursementCommentingEnabled:p,isShowDeletedReimbursementEnabled:me,isSignedInUserReimbursementCreator:ot,updateEditRealTimeApproverClicked:pe,onSaveRealTimeApprovals:ue,redirectToReimbursementListScreen:q,redirectToEditableReimbursementScreen:nt,onDuplicateLineClick:lt,approveOrRejectRemi:he,deleteReimbursement:st,cancelAndDeleteReport:ye,handleZeniLogoClick:dt,onAddNewRule:be,initialOpenThreadRequest:A})=>{const d=tt(),ct=zt().analytics,n=At(),ge=Mt(),[mt,M]=u.useState(!1),[J,Z]=u.useState(!1),[pt,Q]=u.useState(!1),[X,ee]=u.useState("approved"),L=u.useRef(null),[D,te]=u.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[k,ut]=u.useState(null),[ht,W]=u.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,we=u.useRef({}),xe=l=>{const o=we.current[l];o!=null&&setTimeout(()=>ni(o,L.current),100)};u.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&q()},[e,q]),u.useEffect(()=>{const l=window.location.hash;if(l&&l.startsWith("#L")){const o=l.substring(1);xe(o)}},[]),Rt({componentName:"reimbursement.details"});const yt={onOkClick:()=>{M(!1),D.primaryButtonText===i.buttons.delete?st?.():D.title===i.cancelReportTitle?ye?.():D.title===i.cancelAndDeleteReportTitle&&ye?.(!0)},onCancelClick:()=>{M(!1)}},S=s.labelWidth.value(n),R=s.largeLabelWidth.value(n),fe=it.getLocalizedStrings(),{common:{texts:{comments:bt},strings:{empty:ve}},collaboration:{threads:{placeholder:{addANewComment:gt,replyAComment:wt},tooltip:{resolveComment:xt,unResolveComment:ft}}},dateFormat:$e}=fe,{reimbursementDetail:i,bulkActions:E}=fe.spendManagement.reimbursement,ie=e.remiDetails?.reportTitle,I=e.remiDetails?.lines??[],O=e.remiDetails?.reimbursementInfo.stage,F=e.remiDetails?.reimbursementInfo.billStatus,K=e.remiDetails?.reimbursementInfo.billPaymentStatus,Te=O?.code==="paid",vt=Te?O:F?.code=="approved"&&K?.code?K:F,T=si(e.remiDetails),P=F?.code=="approved"&&K?.code?K:F,U=e.remiDetails?.isDeleted??!1,je=e.remiDetails?.amount,Se=e.remiDetails?.amount.amount??0,Ie=()=>{te({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),M(!0)},De=()=>{nt()},$t={onOkClick:l=>{Q(!1),he({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{Q(!1)}},Tt=e.remiDetails?.reimbursementInfo.paymentDate!=null?ti(ii(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,re=e.remiDetails?.reimbursementInfo.expectedDepositDate??Tt,jt=e.remiDetails?.lines?.some(l=>{const o=l.lineDetail;return o?.account?.isDeleted===!0&&o?.account?.isBillEditableCoaAccountType===!1})??!1,Ce=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&ot&&!jt,St=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ae=vt?.code,It=oi(e.duplicateLineByLineId),ke=e.duplicateReimbursementStatus.fetchState==="Completed"&&It>0,{requestToOpenThread:oe,setRequestToOpenThread:V,setOpenThread:G}=u.useContext(Pt);u.useEffect(()=>{A?.threadId!=null&&A?.companyId!=null&&A?.entityType!=null&&V(A)},[A,V]);const{threads:B,isLoading:C}=Bt(),Dt=u.useMemo(()=>B.filter(l=>l.resolved===!1&&!l.id.includes(Nt)),[B]).length,Ct=u.useCallback((l,o)=>{G(o),W(!1)},[G,W]);u.useEffect(()=>{oe?.threadId!=null&&B.length>0&&!C&&(G(oe.threadId),V(null))},[oe,B,C,G,V]);const y={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},N=ri(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Bi,{windowSize:n,ref:L,children:[mt?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:D.title}),descriptionComponent:t.jsx(Me,{children:D.description}),primaryButtonText:D.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:D.secondaryButtonText,action:yt}):null,pt?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:$t,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Ci,{windowSize:n,"data-testid":f("reimbursement-detail-page-nav-bar-container"),children:[n!=="small"?t.jsx(Pe,{"data-testid":f("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(ki,{onClick:()=>dt?.(),"data-testid":f("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ge.colors.background,keepBackgroundOnScroll:!0,scrollableContent:L,source:"ReimbursementDetailPage"}):null,n!=="small"?t.jsx(Si,{}):null,t.jsx(Pe,{"data-testid":f("reimbursement-detail-page-nav-bar-right"),title:ie??ve,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:n!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Ai,{children:[p?t.jsxs(Mi,{isDisabled:C,onClick:C?()=>null:l=>{l.preventDefault(),l.stopPropagation(),ut({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),W(!0),ct.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(o=>Lt(o)),void 0,void 0,"page icon")},"data-testid":f("remi-comments-section"),children:[t.jsx(_t,{count:C?void 0:Dt,isLoading:C,style:{left:"12px"}}),t.jsx(Ri,{})]}):null,t.jsx(Pi,{size:n,onClick:()=>{q()},"data-testid":f("remi-detail-page-close"),children:t.jsx(zi,{})})]}),scrollableContent:L,enableTitleOnScroll:n!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Fi,{children:[n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Je,{windowSize:n,children:t.jsx(Ze,{windowsSize:n,children:ie})}),e.createdBy?.userId!=null?t.jsx(Ge,{windowSize:n,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,me&&T!=null?t.jsx(He,{color:T.color,bgColor:T.bgColor,borderColor:T.borderColor,children:T.value}):null,P?.code!=null?n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Wt,{progressSectionObj:P,createDate:e.remiDetails?.createTime,paymentDate:re,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:U}),N?t.jsx(Be,{variant:"warning",style:{margin:`${r.sp5} ${r.sp3}`},title:E.duplicateWarning.title,description:E.duplicateWarning.description}):ke?t.jsxs(Oe,{size:n,children:[t.jsx(Ve,{}),t.jsxs(Ke,{children:[t.jsx(Fe,{children:i.thereSeems}),t.jsx(Ue,{children:i.pleaseFind})]})]}):null]}):t.jsx(qe,{windowSize:n,children:t.jsx(Ne,{progressSectionObj:P,createDate:e.remiDetails?.createTime,paymentDate:re,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:U})}):null]}):null,I.map((l,o)=>{const j=e.duplicateLineByLineId[l.lineId];return t.jsxs(et,{windowSize:n,children:[t.jsx(Wi,{windowSize:n,children:t.jsx(Ei,{bottomSeperator:I.length!==1,windowSize:n,children:t.jsx(ai,{showAutofill:!1,uploadInvoiceEndPoint:$,authParams:z,entityId:e.remiDetails?.id,file:l.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:I.length>1?`#${o+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:I.length-1===o||o===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"reimbursement"})})}),t.jsxs(Li,{windowSize:n,children:[o===0&&n!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(Je,{windowSize:n,children:[t.jsx(Ze,{windowsSize:n,children:ie}),me&&T!=null?t.jsx(He,{color:T.color,bgColor:T.bgColor,borderColor:T.borderColor,children:T.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ge,{windowSize:n,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,P?.code!=null?t.jsx(qe,{windowSize:n,children:t.jsx(Ne,{progressSectionObj:P,createDate:e.remiDetails?.createTime,paymentDate:re,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:U})}):null,N?t.jsx(Be,{variant:"warning",style:{margin:`${r.sp3} ${r.sp8} ${r.sp3} ${r.sp6}`},title:E.duplicateWarning.title,description:E.duplicateWarning.description}):ke?t.jsxs(Oe,{size:n,children:[t.jsx(Ve,{}),t.jsxs(Ke,{children:[t.jsx(Fe,{children:i.thereSeems}),t.jsx(Ue,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(hi,{windowSize:n,ref:ze=>{ze!=null&&(we.current[`L${l.lineId}`]=ze)},children:[n!=="small"?t.jsx(ui,{children:t.jsx(yi,{children:I.length>1?`#${o+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(bi,{windowSize:n,children:[j?.duplicateLineId!=null?t.jsxs(mi,{children:[i.thisExpenseReview," ",t.jsx(pi,{onClick:()=>{if(j.isDuplicateWithinTransaction&&j.duplicateLineId!=null)return xe(`L${j.duplicateLineId}`);j.duplicateTransactionId!=null&&j.duplicateLineId!=null&<(j.duplicateTransactionId,j.duplicateLineId)},"data-testid":f("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:l.type===i.mileageKey?`${o}.mileage.reimbursementType`:`${o}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("reimbursementType",o,l.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:j?.duplicateLineId==null?`${r.sp2} ${r.sp2} 0 0`:"0 0 0 0"},children:t.jsx(g,{label:{label:i.reimbursementType,width:R},text:l.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:j?.duplicateLineId==null?`${r.sp2} ${r.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(v,{}),l.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("transactionDate",o,"mileage")}`},children:t.jsx(g,{label:{label:i.transactionDate,width:R},text:l.transactionDate?.format($e.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("distanceInMiles",o,"mileage")}`},children:t.jsx(g,{label:{label:i.distanceInMiles,width:R},text:l.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("amount",o,"mileage")}`},children:t.jsx(g,{label:{label:i.amount,width:S},text:l.homeCurrencyConversions!=null?_e("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("memo",o,"mileage")}`},children:t.jsx(g,{label:{label:i.memo,width:S},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("class",o,"mileage")}`},children:t.jsx(g,{label:{label:i.department,width:S},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.customer`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("customer",o,"mileage")}`},style:{borderRadius:`0 0 ${r.sp2} ${r.sp2}`},children:t.jsx(g,{label:{label:i.customer,width:S},text:l.lineDetail.customer?.name??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${r.sp2} ${r.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("merchant",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.merchant,width:R},text:l.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("transactionDate",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.transactionDate,width:R},text:l.transactionDate?.format($e.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("amount",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.amount,width:S},text:l.homeCurrencyConversions!=null?_e("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("memo",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.memo,width:S},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("account",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.category,width:S},text:l.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("class",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.department,width:S},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.customer`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("customer",o,"out_of_pocket")}`},style:{borderRadius:`0 0 ${r.sp2} ${r.sp2}`},children:t.jsx(g,{label:{label:i.customer,width:S},text:l.lineDetail.customer?.name??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${r.sp2} ${r.sp2}`}})})]})]})]}),I.length!==1&&I.length===o+1&&t.jsxs(_i,{windowSize:n,children:[t.jsxs(Qe,{windowSize:n,children:[t.jsx(Xe,{children:i.total}),t.jsx(Le,{amount:je,integerStyles:H.h6Regular.cssObject,decimalStyles:H.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(We,{amount:Se,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:be,entity:"reimbursement",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,allAccountingClass:e.allAccountingClasses,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:_,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue},historicActivities:e.remiHistory.activities})]})]})]},l.lineId)}),I.length===1&&t.jsxs(et,{windowSize:n,children:[t.jsx(Ye,{}),t.jsxs(di,{windowSize:n,children:[t.jsx(Ni,{windowSize:n,children:t.jsxs(Qe,{windowSize:n,children:[t.jsx(Xe,{children:i.total}),t.jsx(Le,{amount:je,integerStyles:H.h6Regular.cssObject,decimalStyles:H.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(ci,{windowSize:n,children:t.jsx(We,{amount:Se,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:be,entity:"reimbursement",historicActivities:e.remiHistory.activities,realTimeApproval:{allApprovers:e.filteredApprovers,allAccountingClass:e.allAccountingClasses,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:_,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue}})})]})]}),t.jsx(Oi,{})]}),Te||U===!0?null:t.jsxs(Di,{children:[n!=="small"?t.jsx(Ye,{}):null,t.jsx(wi,{windowSize:n,"data-testid":f("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),J===!0&&Z(!1)},children:t.jsx(Et,{separatorStyle:{marginRight:r.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"?n==="small"?i.buttons.delete:i.buttons.deleteReport:n==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:X==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||X==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(ee("delete"),Ie()):(ee("rejected"),Q(!0))},style:{width:s.footerButtonWidth.value(n)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?n==="small"?i.buttons.edit:i.buttons.editAndResubmit:n==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:X==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?De():(ee("approved"),he({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},style:{width:s.footerButtonWidth.value(n)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx(gi,{children:t.jsxs(Ii,{windowSize:n,children:[!N&&J?t.jsx(Ot,{onClickAway:()=>Z(!1),children:t.jsxs(ji,{windowSize:n,children:[ae!=="processing"?t.jsx(le,{onClick:Ie,"data-testid":f("remi-delete-action"),children:i.buttons.deleteReport}):null,ae==="processing"?t.jsx(le,{onClick:()=>{te({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),M(!0)},"data-testid":f("remi-cancel-action"),children:i.buttons.cancel}):null,ae==="processing"?t.jsx(le,{onClick:()=>{te({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),M(!0)},"data-testid":f("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Ti,{windowSize:n,children:[!N&&Ce?t.jsx($i,{onClick:De,"data-testid":f("remi-edit-button"),children:t.jsx(vi,{})}):null,N||St!==!0?null:t.jsx(fi,{windowSize:n,showEditIcon:Ce,children:t.jsx(xi,{onClick:()=>Z(!J),"data-testid":f("remi-more-actions-button")})})]})]})}),style:{minHeight:62}})})]}),p?t.jsx(Ft,{isDrawerOpen:ht,allowComposer:!0,drawerTitle:bt,threads:B,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:k?.companyId??ve,isGlobalComment:!1,tab:"reimbursement"},isLoading:C,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:wt,threadResolve:xt,threadUnResolve:ft},onThreadClick:(l,o)=>Ct(l,o),onCloseAllThreadsDrawer:()=>W(!1),drawerSectionStyle:{width:"400px",backgroundColor:ge.colors.background}}):null]})},lr=e=>{const $=tt().currentTenant?.companyId,z=e.remiDetails.remiDetails?.id;if(!e.isReimbursementCommentingEnabled||z==null||$==null)return t.jsx(Ee,{...e});const _=`dashboard_${$}`;return t.jsx(kt,{roomId:_,filter:{application:"dashboard",companyId:$,entityId:z,tab:"reimbursement",isGlobalComment:!1},children:t.jsx(Ee,{...e})})},si=e=>{const $=it.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:$.tabsById.deleted,color:ne.deleted.color,bgColor:ne.deleted.bgColor,borderColor:ne.deleted.borderColor,code:"deleted"}},di=a.div`
|
|
1
|
+
import{_ as tt,V as t,fI as kt,h as zt,e as At,y as Mt,bF as Rt,x as m,O as it,ba as Pt,fJ as Bt,fK as Nt,bR as Ae,bS as Me,bT as Re,a_ as Pe,b as f,aM as _t,cR as Lt,fL as Wt,fU as Be,o as r,fM as Ne,c$ as b,fP as g,d5 as w,a5 as _e,eO as Le,w as H,fR as We,a9 as Et,k as Ot,be as Ft,fS as ne,aV as Kt,bf as Ut,a8 as Vt,d as Gt,M as Ht,l as rt,at,f as Y,H as Yt,bp as qt,C as Jt,gc as Zt,g7 as Qt,m as c,bH as Xt,co as ei}from"./index-mhb15COx.js";import{a as u}from"./sentry-Cm8I7E9J.js";import{n as a}from"./mui-G2MlMTlr.js";import{bG as ti,c6 as ii,G6 as ri}from"./zeni-epic-state-lC5X-sam.js";import ai from"./InvoiceUploadSection-58l6ePuH-CbCDsLyQ.js";import{r as oi,h as x,u as ni}from"./types-DyvtCprH-VF9iATMs.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./AttachmentView-SsWJw4A8-RJr9hQhO.js";import"./uploadReceipts-CIgkuVpu-BPECKX43.js";import"./upload-reimbursement-receipt-O2N8vcO7-BhCuFTsT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},$=new e.Error().stack;$&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[$]="ecbeac3d-40cc-4e39-9200-a6a426788fea",e._sentryDebugIdIdentifier="sentry-dbid-ecbeac3d-40cc-4e39-9200-a6a426788fea")}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])},li={formTitle:new Gt("h6Regular","h5Regular")},Ee=({remiDetails:e,uploadInvoiceEndPoint:$,authParams:z,isAdmin:_,signedInUser:se,showApproveRejectBtns:de,isRealTimeApprovalEnabled:ce,isReimbursementCommentingEnabled:p,isShowDeletedReimbursementEnabled:me,isSignedInUserReimbursementCreator:ot,updateEditRealTimeApproverClicked:pe,onSaveRealTimeApprovals:ue,redirectToReimbursementListScreen:q,redirectToEditableReimbursementScreen:nt,onDuplicateLineClick:lt,approveOrRejectRemi:he,deleteReimbursement:st,cancelAndDeleteReport:ye,handleZeniLogoClick:dt,onAddNewRule:be,initialOpenThreadRequest:A})=>{const d=tt(),ct=zt().analytics,n=At(),ge=Mt(),[mt,M]=u.useState(!1),[J,Z]=u.useState(!1),[pt,Q]=u.useState(!1),[X,ee]=u.useState("approved"),L=u.useRef(null),[D,te]=u.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[k,ut]=u.useState(null),[ht,W]=u.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,we=u.useRef({}),xe=l=>{const o=we.current[l];o!=null&&setTimeout(()=>ni(o,L.current),100)};u.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&q()},[e,q]),u.useEffect(()=>{const l=window.location.hash;if(l&&l.startsWith("#L")){const o=l.substring(1);xe(o)}},[]),Rt({componentName:"reimbursement.details"});const yt={onOkClick:()=>{M(!1),D.primaryButtonText===i.buttons.delete?st?.():D.title===i.cancelReportTitle?ye?.():D.title===i.cancelAndDeleteReportTitle&&ye?.(!0)},onCancelClick:()=>{M(!1)}},S=s.labelWidth.value(n),R=s.largeLabelWidth.value(n),fe=it.getLocalizedStrings(),{common:{texts:{comments:bt},strings:{empty:ve}},collaboration:{threads:{placeholder:{addANewComment:gt,replyAComment:wt},tooltip:{resolveComment:xt,unResolveComment:ft}}},dateFormat:$e}=fe,{reimbursementDetail:i,bulkActions:E}=fe.spendManagement.reimbursement,ie=e.remiDetails?.reportTitle,I=e.remiDetails?.lines??[],O=e.remiDetails?.reimbursementInfo.stage,F=e.remiDetails?.reimbursementInfo.billStatus,K=e.remiDetails?.reimbursementInfo.billPaymentStatus,Te=O?.code==="paid",vt=Te?O:F?.code=="approved"&&K?.code?K:F,T=si(e.remiDetails),P=F?.code=="approved"&&K?.code?K:F,U=e.remiDetails?.isDeleted??!1,je=e.remiDetails?.amount,Se=e.remiDetails?.amount.amount??0,Ie=()=>{te({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),M(!0)},De=()=>{nt()},$t={onOkClick:l=>{Q(!1),he({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{Q(!1)}},Tt=e.remiDetails?.reimbursementInfo.paymentDate!=null?ti(ii(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,re=e.remiDetails?.reimbursementInfo.expectedDepositDate??Tt,jt=e.remiDetails?.lines?.some(l=>{const o=l.lineDetail;return o?.account?.isDeleted===!0&&o?.account?.isBillEditableCoaAccountType===!1})??!1,Ce=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&ot&&!jt,St=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ae=vt?.code,It=oi(e.duplicateLineByLineId),ke=e.duplicateReimbursementStatus.fetchState==="Completed"&&It>0,{requestToOpenThread:oe,setRequestToOpenThread:V,setOpenThread:G}=u.useContext(Pt);u.useEffect(()=>{A?.threadId!=null&&A?.companyId!=null&&A?.entityType!=null&&V(A)},[A,V]);const{threads:B,isLoading:C}=Bt(),Dt=u.useMemo(()=>B.filter(l=>l.resolved===!1&&!l.id.includes(Nt)),[B]).length,Ct=u.useCallback((l,o)=>{G(o),W(!1)},[G,W]);u.useEffect(()=>{oe?.threadId!=null&&B.length>0&&!C&&(G(oe.threadId),V(null))},[oe,B,C,G,V]);const y={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},N=ri(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Bi,{windowSize:n,ref:L,children:[mt?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:D.title}),descriptionComponent:t.jsx(Me,{children:D.description}),primaryButtonText:D.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:D.secondaryButtonText,action:yt}):null,pt?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:$t,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Ci,{windowSize:n,"data-testid":f("reimbursement-detail-page-nav-bar-container"),children:[n!=="small"?t.jsx(Pe,{"data-testid":f("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(ki,{onClick:()=>dt?.(),"data-testid":f("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ge.colors.background,keepBackgroundOnScroll:!0,scrollableContent:L,source:"ReimbursementDetailPage"}):null,n!=="small"?t.jsx(Si,{}):null,t.jsx(Pe,{"data-testid":f("reimbursement-detail-page-nav-bar-right"),title:ie??ve,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:n!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Ai,{children:[p?t.jsxs(Mi,{isDisabled:C,onClick:C?()=>null:l=>{l.preventDefault(),l.stopPropagation(),ut({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),W(!0),ct.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(o=>Lt(o)),void 0,void 0,"page icon")},"data-testid":f("remi-comments-section"),children:[t.jsx(_t,{count:C?void 0:Dt,isLoading:C,style:{left:"12px"}}),t.jsx(Ri,{})]}):null,t.jsx(Pi,{size:n,onClick:()=>{q()},"data-testid":f("remi-detail-page-close"),children:t.jsx(zi,{})})]}),scrollableContent:L,enableTitleOnScroll:n!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Fi,{children:[n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Je,{windowSize:n,children:t.jsx(Ze,{windowsSize:n,children:ie})}),e.createdBy?.userId!=null?t.jsx(Ge,{windowSize:n,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,me&&T!=null?t.jsx(He,{color:T.color,bgColor:T.bgColor,borderColor:T.borderColor,children:T.value}):null,P?.code!=null?n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Wt,{progressSectionObj:P,createDate:e.remiDetails?.createTime,paymentDate:re,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:U}),N?t.jsx(Be,{variant:"warning",style:{margin:`${r.sp5} ${r.sp3}`},title:E.duplicateWarning.title,description:E.duplicateWarning.description}):ke?t.jsxs(Oe,{size:n,children:[t.jsx(Ve,{}),t.jsxs(Ke,{children:[t.jsx(Fe,{children:i.thereSeems}),t.jsx(Ue,{children:i.pleaseFind})]})]}):null]}):t.jsx(qe,{windowSize:n,children:t.jsx(Ne,{progressSectionObj:P,createDate:e.remiDetails?.createTime,paymentDate:re,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:U})}):null]}):null,I.map((l,o)=>{const j=e.duplicateLineByLineId[l.lineId];return t.jsxs(et,{windowSize:n,children:[t.jsx(Wi,{windowSize:n,children:t.jsx(Ei,{bottomSeperator:I.length!==1,windowSize:n,children:t.jsx(ai,{showAutofill:!1,uploadInvoiceEndPoint:$,authParams:z,entityId:e.remiDetails?.id,file:l.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:I.length>1?`#${o+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:I.length-1===o||o===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"reimbursement"})})}),t.jsxs(Li,{windowSize:n,children:[o===0&&n!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(Je,{windowSize:n,children:[t.jsx(Ze,{windowsSize:n,children:ie}),me&&T!=null?t.jsx(He,{color:T.color,bgColor:T.bgColor,borderColor:T.borderColor,children:T.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ge,{windowSize:n,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,P?.code!=null?t.jsx(qe,{windowSize:n,children:t.jsx(Ne,{progressSectionObj:P,createDate:e.remiDetails?.createTime,paymentDate:re,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:U})}):null,N?t.jsx(Be,{variant:"warning",style:{margin:`${r.sp3} ${r.sp8} ${r.sp3} ${r.sp6}`},title:E.duplicateWarning.title,description:E.duplicateWarning.description}):ke?t.jsxs(Oe,{size:n,children:[t.jsx(Ve,{}),t.jsxs(Ke,{children:[t.jsx(Fe,{children:i.thereSeems}),t.jsx(Ue,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(hi,{windowSize:n,ref:ze=>{ze!=null&&(we.current[`L${l.lineId}`]=ze)},children:[n!=="small"?t.jsx(ui,{children:t.jsx(yi,{children:I.length>1?`#${o+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(bi,{windowSize:n,children:[j?.duplicateLineId!=null?t.jsxs(mi,{children:[i.thisExpenseReview," ",t.jsx(pi,{onClick:()=>{if(j.isDuplicateWithinTransaction&&j.duplicateLineId!=null)return xe(`L${j.duplicateLineId}`);j.duplicateTransactionId!=null&&j.duplicateLineId!=null&<(j.duplicateTransactionId,j.duplicateLineId)},"data-testid":f("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:l.type===i.mileageKey?`${o}.mileage.reimbursementType`:`${o}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("reimbursementType",o,l.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:j?.duplicateLineId==null?`${r.sp2} ${r.sp2} 0 0`:"0 0 0 0"},children:t.jsx(g,{label:{label:i.reimbursementType,width:R},text:l.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:j?.duplicateLineId==null?`${r.sp2} ${r.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(v,{}),l.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("transactionDate",o,"mileage")}`},children:t.jsx(g,{label:{label:i.transactionDate,width:R},text:l.transactionDate?.format($e.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("distanceInMiles",o,"mileage")}`},children:t.jsx(g,{label:{label:i.distanceInMiles,width:R},text:l.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("amount",o,"mileage")}`},children:t.jsx(g,{label:{label:i.amount,width:S},text:l.homeCurrencyConversions!=null?_e("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("memo",o,"mileage")}`},children:t.jsx(g,{label:{label:i.memo,width:S},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("class",o,"mileage")}`},children:t.jsx(g,{label:{label:i.department,width:S},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.customer`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("customer",o,"mileage")}`},style:{borderRadius:`0 0 ${r.sp2} ${r.sp2}`},children:t.jsx(g,{label:{label:i.customer,width:S},text:l.lineDetail.customer?.name??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${r.sp2} ${r.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("merchant",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.merchant,width:R},text:l.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("transactionDate",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.transactionDate,width:R},text:l.transactionDate?.format($e.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("amount",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.amount,width:S},text:l.homeCurrencyConversions!=null?_e("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("memo",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.memo,width:S},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("account",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.category,width:S},text:l.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("class",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.department,width:S},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.customer`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("customer",o,"out_of_pocket")}`},style:{borderRadius:`0 0 ${r.sp2} ${r.sp2}`},children:t.jsx(g,{label:{label:i.customer,width:S},text:l.lineDetail.customer?.name??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${r.sp2} ${r.sp2}`}})})]})]})]}),I.length!==1&&I.length===o+1&&t.jsxs(_i,{windowSize:n,children:[t.jsxs(Qe,{windowSize:n,children:[t.jsx(Xe,{children:i.total}),t.jsx(Le,{amount:je,integerStyles:H.h6Regular.cssObject,decimalStyles:H.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(We,{amount:Se,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:be,entity:"reimbursement",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,allAccountingClass:e.allAccountingClasses,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:_,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue},historicActivities:e.remiHistory.activities})]})]})]},l.lineId)}),I.length===1&&t.jsxs(et,{windowSize:n,children:[t.jsx(Ye,{}),t.jsxs(di,{windowSize:n,children:[t.jsx(Ni,{windowSize:n,children:t.jsxs(Qe,{windowSize:n,children:[t.jsx(Xe,{children:i.total}),t.jsx(Le,{amount:je,integerStyles:H.h6Regular.cssObject,decimalStyles:H.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(ci,{windowSize:n,children:t.jsx(We,{amount:Se,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:be,entity:"reimbursement",historicActivities:e.remiHistory.activities,realTimeApproval:{allApprovers:e.filteredApprovers,allAccountingClass:e.allAccountingClasses,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:_,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue}})})]})]}),t.jsx(Oi,{})]}),Te||U===!0?null:t.jsxs(Di,{children:[n!=="small"?t.jsx(Ye,{}):null,t.jsx(wi,{windowSize:n,"data-testid":f("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),J===!0&&Z(!1)},children:t.jsx(Et,{separatorStyle:{marginRight:r.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"?n==="small"?i.buttons.delete:i.buttons.deleteReport:n==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:X==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||X==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(ee("delete"),Ie()):(ee("rejected"),Q(!0))},style:{width:s.footerButtonWidth.value(n)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?n==="small"?i.buttons.edit:i.buttons.editAndResubmit:n==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:X==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?De():(ee("approved"),he({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},style:{width:s.footerButtonWidth.value(n)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx(gi,{children:t.jsxs(Ii,{windowSize:n,children:[!N&&J?t.jsx(Ot,{onClickAway:()=>Z(!1),children:t.jsxs(ji,{windowSize:n,children:[ae!=="processing"?t.jsx(le,{onClick:Ie,"data-testid":f("remi-delete-action"),children:i.buttons.deleteReport}):null,ae==="processing"?t.jsx(le,{onClick:()=>{te({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),M(!0)},"data-testid":f("remi-cancel-action"),children:i.buttons.cancel}):null,ae==="processing"?t.jsx(le,{onClick:()=>{te({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),M(!0)},"data-testid":f("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Ti,{windowSize:n,children:[!N&&Ce?t.jsx($i,{onClick:De,"data-testid":f("remi-edit-button"),children:t.jsx(vi,{})}):null,N||St!==!0?null:t.jsx(fi,{windowSize:n,showEditIcon:Ce,children:t.jsx(xi,{onClick:()=>Z(!J),"data-testid":f("remi-more-actions-button")})})]})]})}),style:{minHeight:62}})})]}),p?t.jsx(Ft,{isDrawerOpen:ht,allowComposer:!0,drawerTitle:bt,threads:B,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:k?.companyId??ve,isGlobalComment:!1,tab:"reimbursement"},isLoading:C,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:wt,threadResolve:xt,threadUnResolve:ft},onThreadClick:(l,o)=>Ct(l,o),onCloseAllThreadsDrawer:()=>W(!1),drawerSectionStyle:{width:"400px",backgroundColor:ge.colors.background}}):null]})},lr=e=>{const $=tt().currentTenant?.companyId,z=e.remiDetails.remiDetails?.id;if(!e.isReimbursementCommentingEnabled||z==null||$==null)return t.jsx(Ee,{...e});const _=`dashboard_${$}`;return t.jsx(kt,{roomId:_,filter:{application:"dashboard",companyId:$,entityId:z,tab:"reimbursement",isGlobalComment:!1},children:t.jsx(Ee,{...e})})},si=e=>{const $=it.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:$.tabsById.deleted,color:ne.deleted.color,bgColor:ne.deleted.bgColor,borderColor:ne.deleted.borderColor,code:"deleted"}},di=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as ne,y as S,e as k,a7 as le,V as e,b as a,eY as ae,a_ as de,a as u,c as d,O as _,o as s,D as me,c2 as ce,ab as Z,H as pe,x as xe,f as z,bM as he,ac as ue,au as ge,m as we}from"./index-
|
|
1
|
+
import{_ as ne,y as S,e as k,a7 as le,V as e,b as a,eY as ae,a_ as de,a as u,c as d,O as _,o as s,D as me,c2 as ce,ab as Z,H as pe,x as xe,f as z,bM as he,ac as ue,au as ge,m as we}from"./index-mhb15COx.js";import{a as j}from"./sentry-Cm8I7E9J.js";import{n as t}from"./mui-G2MlMTlr.js";import{G5 as je,bL as be}from"./zeni-epic-state-lC5X-sam.js";import{C as fe}from"./VideoPopup-R3u0N_if-CaG3EJQq.js";import{M as v}from"./usp-line-BBd1wKwW-BqojtCEK.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./VideoPlayer-ZGjx_Hp7-CjY3r1rL.js";import"./media-player-OnsEq_AY.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new i.Error().stack;o&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[o]="3b51b4e3-f91b-4ce5-8edf-83f482ba2f7f",i._sentryDebugIdIdentifier="sentry-dbid-3b51b4e3-f91b-4ce5-8edf-83f482ba2f7f")}catch{}})();const E="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-light.png",F="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-dark.png",ye={midContainerMarginBottom:new xe(we[5],44)},$e=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|