@zeniai/web-app-ui 4.14.30-dev → 4.14.30-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-CQdbfxHV-BW88pIYa.js → ACHDetailsPage-CQdbfxHV-CVfdxX3S.js} +1 -1
- package/dist/assets/{AIPerformancePage-jyNXVGMj-Bs4Wcfnt.js → AIPerformancePage-jyNXVGMj-Df3oatFx.js} +1 -1
- package/dist/assets/{AccountInfoPage-CiPtog_o-B4btRIXv.js → AccountInfoPage-CiPtog_o-DPWdb5xr.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-Bj0kaRHv-CjMeZGo_.js → AccountInfoPageContent-Bj0kaRHv-B0-iD3mG.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-EbQpyRJx-DeA2eRRt.js → AccountLockedInfoModal-EbQpyRJx-CBjiURZ4.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-CK1QV13E-BSUxm7rf.js → AccountReconDetailsDrawerPage-CK1QV13E-DZmItK8g.js} +1 -1
- package/dist/assets/{AccountRow-B3Sz6a-V-GlNhkavB.js → AccountRow-B3Sz6a-V-CTAgoDt8.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-DJtz56-u-D5uyYQuY.js → AccountsPromoCardStack-DJtz56-u-DZZMgyeG.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-BDtxj9h6-Xx-rQDHp.js → AddAddressForCardDrawer-BDtxj9h6-CGRCP-Ov.js} +1 -1
- package/dist/assets/{AddToWalletPage-Czepun8f-MGSdB8OM.js → AddToWalletPage-Czepun8f-BSrXEfN0.js} +1 -1
- package/dist/assets/{AddressRoutes-CmvRhhab.js → AddressRoutes-TFWvRoK1.js} +1 -1
- package/dist/assets/{AddressScreen-Cb00RwYZ.js → AddressScreen-TV5gX_gl.js} +1 -1
- package/dist/assets/{AgingReportsPage-DzAVDq_i-BP-WG6Wy.js → AgingReportsPage-DzAVDq_i-ym_LOlxy.js} +1 -1
- package/dist/assets/{AiCfoScreen-CZVtCrsQ.js → AiCfoScreen-D6K-vpzr.js} +1 -1
- package/dist/assets/{AllUserItems-BEoRQT-v-9OnCgvS-.js → AllUserItems-BEoRQT-v-B0L7dc_f.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-55JdoIHh-kk28-9yG.js → ApAgingDetailPage-55JdoIHh-DrarMtyY.js} +1 -1
- package/dist/assets/{AppBasePage-CLye29uw-B08L49eb.js → AppBasePage-CLye29uw-XKxIMpL1.js} +1 -1
- package/dist/assets/{AppDrawerContent-CDawrmfz-DqagnYqP.js → AppDrawerContent-CDawrmfz-CIsX5yBE.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-BHUZdWCO-tMTnXaFd.js → ApprovalRulesSettingsPage-BHUZdWCO-Dwb34rZQ.js} +1 -1
- package/dist/assets/{ArAgingChart-DeL9nNI7-Bj8y0fT6.js → ArAgingChart-DeL9nNI7-jiARVqmw.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-CuG65EQs-CXt16x8B.js → ArAgingDetailPage-CuG65EQs-DJsQVyGf.js} +1 -1
- package/dist/assets/{AttachmentView-C5anq6-B-BkQi2I92.js → AttachmentView-C5anq6-B-B0oKrwit.js} +1 -1
- package/dist/assets/{BalancesInsightWithToolTip-1PK_fwhP-BOcx7wZs.js → BalancesInsightWithToolTip-1PK_fwhP-DTycoTBO.js} +1 -1
- package/dist/assets/{BankAccountSection-BUJoSOk8-BG4ByPDH.js → BankAccountSection-BUJoSOk8-CktP5_6B.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-BQaoV2yQ-BLOJsai8.js → BankAccountWarningSection-BQaoV2yQ-D2dPrb3a.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-DRDS5xzS-CGYqJS-4.js → BankConnectionsSettingsPage-DRDS5xzS-sJm12Xpi.js} +1 -1
- package/dist/assets/{BillDetailPage-CtVVaqTN-BwEQZwAf.js → BillDetailPage-CtVVaqTN-Cs2maBN6.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-DwRul1Fq.js → BillPayApprovalRoutes-BcknH4As.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-6GHCsDkX-ClsaXk5H.js → BillPayApprovalRuleDetailPage-6GHCsDkX-BhEokdj1.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-QKjq-qVP-DTJcefrH.js → BillPayApprovalRulesPage-QKjq-qVP-bPrJjJ_n.js} +1 -1
- package/dist/assets/{BillPayPromoPage-_n9uoXTN-DW34nsnh.js → BillPayPromoPage-_n9uoXTN-C-ItO23h.js} +1 -1
- package/dist/assets/{BillPayRoutes-D22Q6pQL.js → BillPayRoutes-CrujOQ7A.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-DNYX24VA-DLV9gKNt.js → BillPaySetUpPage-DNYX24VA-xlmRW4oi.js} +1 -1
- package/dist/assets/{BillingSettingsPage-Btv3yiNs-M_OusRvc.js → BillingSettingsPage-Btv3yiNs-8WC50UDB.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-BiLLeGke-Bs5f4SMl.js → BillsBulkReviewDrawerPage-BiLLeGke-JyRoZ7s-.js} +1 -1
- package/dist/assets/{BoxItem-Dqp4SNlI-EUjyx5Zm.js → BoxItem-Dqp4SNlI-CnJYfmyU.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-_8Wg_S5G-ChiNdD4I.js → BusinessVerificationPage-_8Wg_S5G-CBDfKOCi.js} +1 -1
- package/dist/assets/{BusinessVerificationPageScreen-B_00ICvM.js → BusinessVerificationPageScreen-BSkh5puj.js} +1 -1
- package/dist/assets/{BusyIndication-BZLVwIo8-6s8wSi7T.js → BusyIndication-BZLVwIo8-D7x09Syx.js} +1 -1
- package/dist/assets/{CardNumberSubText-12zyW5qQ-c22fv1fM.js → CardNumberSubText-12zyW5qQ-CZArd4_p.js} +1 -1
- package/dist/assets/{CashbackDetailPage-B8-TDuv8-Dd6aEuJQ.js → CashbackDetailPage-B8-TDuv8-BtBdmaco.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-Bdz5L2ko-CaBbXfBZ.js → ChargeCardDetailPage-Bdz5L2ko-B9HW8VJu.js} +1 -1
- package/dist/assets/{ChargeCardListPage-EuJ1VXck-BU5r2hWM.js → ChargeCardListPage-EuJ1VXck-C9ILrDfC.js} +1 -1
- package/dist/assets/{ChargeCardListTable-SgjwYd8W-EVdaCbR4.js → ChargeCardListTable-SgjwYd8W-D2X3nHhv.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-BC2DkmZT--xdPwk1t.js → ChargeCardPaymentHistoryPage-BC2DkmZT-z-BJ1TRl.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-C-z0xtuN-qFHF_adM.js → ChargeCardPromoPage-C-z0xtuN-Cj9Xh0NF.js} +1 -1
- package/dist/assets/{ChargeCardRoutes-DV8TKacG.js → ChargeCardRoutes-DtXgeUrQ.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-ByLoLZE_-DIekUpHc.js → ChargeCardSetupPage-ByLoLZE_-D5yhBe12.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-C4XdqPO1-BSM3bO35.js → ChargeCardStatementsPage-C4XdqPO1-B4JvhC1B.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-D5X61CKc-CyEf-jUu.js → CheckDepositDrawerPage-D5X61CKc-DCVEIWOd.js} +1 -1
- package/dist/assets/{CollapsableReportTable-D7zD4-h0-CdsTnLhf.js → CollapsableReportTable-D7zD4-h0-CXEJdn3k.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-w86_5FXJ-CDmgqN3N.js → CompanyOfficerDetailsSection-w86_5FXJ-BVS8U2VI.js} +1 -1
- package/dist/assets/{CompanyPassportCard-tpE1lXug-CLl-IbcU.js → CompanyPassportCard-tpE1lXug-aG1e_v_p.js} +1 -1
- package/dist/assets/{CompanyPassportPage-bND99CJN-D7hjvVvQ.js → CompanyPassportPage-bND99CJN-51EM3BS8.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-DR-zdvAJ.js → CompanyPassportScreen-DNHzvh3T.js} +1 -1
- package/dist/assets/{CompleteProfile-B5W07hcs-mOeGRg8M.js → CompleteProfile-B5W07hcs-BYS2Cw7x.js} +1 -1
- package/dist/assets/{ConfettiBurst-C0DFgWJj-DC0n_rE6.js → ConfettiBurst-C0DFgWJj-BGxc90V2.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-D4VaoAIy.js → ConnectionAuthScreen-C1ACdx6M.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-bMF_z_bc.js → ConstrainedInnerElement-CgdnMeoA-C96GWvku.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CrQh8JCh-BX5wTD-m.js → CreateOrEditVendorPage-CrQh8JCh-CdARK_ay.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-BoVmLCHh-Blea7AvV.js → CreditCardPaymentDrawerPage-BoVmLCHh-ClmStU3s.js} +1 -1
- package/dist/assets/{CurrencySelectField-D2azwi1T-CSrQI1j0.js → CurrencySelectField-D2azwi1T-Yce6ywvM.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-DxuEGe6X-BPuiwcIL.js → CustomerOnboardingActivationPage-DxuEGe6X-DOVYYini.js} +1 -1
- package/dist/assets/{CustomerOnboardingAuthScreen-DLH-rYdF.js → CustomerOnboardingAuthScreen-voIng-Gb.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DS0-65s7-CbCO9XOL.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DRGKainD-Y7JaILNu.js → CustomerOnboardingDetailPageSkeleton-DRGKainD-DRHsfYAC.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-C--jDBQq-BgvTeh9S.js → CustomerOnboardingNoStepsPage-C--jDBQq-D1RWdf29.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-BXZSl2im-DDrc-wX_.js → CustomerOnboardingPage-BXZSl2im-CdR09mXQ.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-BJmYX0kI-C3qX-GBN.js → CustomerOnboardingProductSuitePage-BJmYX0kI-DgmtQLkO.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-DqfIHwc7.js → CustomerOnboardingRoutes-BNk50EBa.js} +1 -1
- package/dist/assets/{Dashboard-yhqyXPbZ-CPcltsfF.js → Dashboard-yhqyXPbZ-DD3l1FY2.js} +1 -1
- package/dist/assets/{DashboardReportPage-BG4StCjY-CzFGaujV.js → DashboardReportPage-BG4StCjY-BqArxOAD.js} +1 -1
- package/dist/assets/{DashboardRoutes-Bawz4pw0.js → DashboardRoutes-sZ-hP0Lz.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-DsWKmIXY-BuOmk2Nk.js → DashboardSidebarBackgroundAnimation-DsWKmIXY-BKVS4wpr.js} +1 -1
- package/dist/assets/{DefaultTenantHome-B10KVon4.js → DefaultTenantHome-BZ1C0pHF.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-5ZEPnNxa-3AfijWCl.js → DepositAccTransactionItem-5ZEPnNxa-5QBvNOk0.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-BR8d0Kun-DVyGTLJU.js → DepositAccTransactionListPage-BR8d0Kun-DoTQr_rp.js} +1 -1
- package/dist/assets/{DomesticWireDetailScreen-CMEoUywc.js → DomesticWireDetailScreen-H_WuL4rG.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-wGIWvhgQ-CmjPpsLr.js → DomesticWireDetailsPage-wGIWvhgQ-uEZDY48j.js} +1 -1
- package/dist/assets/{DownloadOverlay-SLvxfa6B-CQ7BxjF9.js → DownloadOverlay-SLvxfa6B-BbI1muq1.js} +1 -1
- package/dist/assets/{DrawerPage-CFdTV10k-BenpSUGv.js → DrawerPage-CFdTV10k-BDAq-J1m.js} +1 -1
- package/dist/assets/{DrawerScreen-B7BWNi51.js → DrawerScreen-DokbcyFi.js} +1 -1
- package/dist/assets/{EditPeoplePage-C-Y62PJ0-BgijqRCf.js → EditPeoplePage-C-Y62PJ0-OR5daMys.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-BYpXof8e-CdyZTm2g.js → EditReimbursementDetailPage-BYpXof8e-DpqR0TKa.js} +1 -1
- package/dist/assets/{EntityDetailPage-CgDHg6g5-B_vQblwz.js → EntityDetailPage-CgDHg6g5-DEy7q7j7.js} +1 -1
- package/dist/assets/{EntityDetailRoutes-nFrPna9t.js → EntityDetailRoutes-DPf_I5PV.js} +1 -1
- package/dist/assets/{EntitySummarySection-B2uG3-Zh-DoF2hAYB.js → EntitySummarySection-B2uG3-Zh-BNN-XEhG.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-CrtNuarm-C8tGkYQU.js → ExpenseAutomationOverviewPage-CrtNuarm-DCl80aVX.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-CWPnIMSu-BUnHNcGe.js → ExpenseAutomationPage-CWPnIMSu-DYb4-i2t.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-DxRmXEnL.js → ExpenseAutomationRoutes-DUWDjNay.js} +1 -1
- package/dist/assets/{ExpressPayPage-CsI_DUc6-BKAOKKa9.js → ExpressPayPage-CsI_DUc6-DXAWujAE.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-B67a68N9-BPSn99tM.js → FeaturePreviewPage-B67a68N9-D61ej93i.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-D_cOMPjM.js → FeaturePreviewScreen-Bcvg8Bfv.js} +1 -1
- package/dist/assets/{FollowStepsSection-CgjzMm02-DPMc3VYJ.js → FollowStepsSection-CgjzMm02-glrhNO5E.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-CIfK-0rd-F3X4MQ4k.js → GlobalReviewListPage-CIfK-0rd-COml45hA.js} +1 -1
- package/dist/assets/{InformationCardStack-qKld10kr-IVC5wYc5.js → InformationCardStack-qKld10kr-0nHm6M6u.js} +1 -1
- package/dist/assets/{InsightsCardStack-Bbh77o6f-Dr_8r9pW.js → InsightsCardStack-Bbh77o6f-D3KyjkmI.js} +1 -1
- package/dist/assets/{InsightsSection-DgfCOO4F-rd7xZxVI.js → InsightsSection-DgfCOO4F-D4slzBMJ.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-BRQFeOLt-2BecY83T.js → IntegrationsSettingsPage-BRQFeOLt-PsXcQlIc.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-DPemNncS-Datvi8oR.js → InternationalWireSwiftDetailsPage-DPemNncS-DLnjaRZK.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-BOxXfIY5-D1lMmBlP.js → InternationalWireVerificationPage-BOxXfIY5-B_1WnyJ0.js} +1 -1
- package/dist/assets/{InviteFormPage-BbbPCdh--Cb0-_CQ6.js → InviteFormPage-BbbPCdh--NZBdztJE.js} +1 -1
- package/dist/assets/{InvitePageListView-DqfrAulo-BtCqgsIl.js → InvitePageListView-DqfrAulo-DhRBOiF7.js} +1 -1
- package/dist/assets/{InvitePeoplePage-CgTpZp4M-CYe0nmg8.js → InvitePeoplePage-CgTpZp4M-BUUsiiJF.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-DZOzTShz-BFwyUvOT.js → InvoiceUploadSection-DZOzTShz-CcOswv0c.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-x6dLcd-P-D7R8buXv.js → IssueChargeCardPage-x6dLcd-P-w04y_5jk.js} +1 -1
- package/dist/assets/{LabeledAddressValue-CY4Fn72d-VdKSkT_l.js → LabeledAddressValue-CY4Fn72d-eGI6rz6c.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-D47ofJFV-CGqdgTnp.js → LabeledAddressValueField-D47ofJFV-vxJBVafU.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-C_c8Rs-i-Cz1fNsx_.js → LabeledControlledCheckBoxField-C_c8Rs-i-BHT9Wulx.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-vRw9drBe-Bw1loTny.js → LabeledCountryMultiSelectField-vRw9drBe-B76tRzel.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CdF97ljM-DTrzefeb.js → LabeledCreatableSingleSelectField-CdF97ljM-CAYzF-3Y.js} +1 -1
- package/dist/assets/{LabeledDocumentField-Dn25Ru1C-CLM-i9xW.js → LabeledDocumentField-Dn25Ru1C-B_WMp98N.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-C2sZjA-q-Bkuc_5w_.js → LabeledDropDownFormattedTextField-C2sZjA-q-Ct_5ILId.js} +1 -1
- package/dist/assets/{LabeledEmailInputField-DzAdekQn-BkQ7kdJx.js → LabeledEmailInputField-DzAdekQn-C8rbJEKG.js} +1 -1
- package/dist/assets/{LabeledNameField-Dxx0xwMv-DBRkdNqp.js → LabeledNameField-Dxx0xwMv-q011DeE8.js} +1 -1
- package/dist/assets/{LabeledSingleSelectField-EO8TA_z_-C26qdLJU.js → LabeledSingleSelectField-EO8TA_z_-C5J3CIRA.js} +1 -1
- package/dist/assets/{LabeledText-Bo7B-LrF-DECCi3EJ.js → LabeledText-Bo7B-LrF-XkdNglCy.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DD11_Map-ZtH1v-68.js → LabeledUserSingleSelectWithSubtitlesField-DD11_Map-Cz77QBp-.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-BJ99uBt1-DGvakh0f.js → LabeledZeniRolesDropDownField-BJ99uBt1-DRxN007k.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-BiDoUKQW-xgKDBdnj.js → LinkJETransactionPage-BiDoUKQW-DfQfBCux.js} +1 -1
- package/dist/assets/{LockCardPage-B1QOSByp-BfsUhZIZ.js → LockCardPage-B1QOSByp-DoXf8Ddb.js} +1 -1
- package/dist/assets/{LowBalancePopup-Bl_PaIUx-yOClgIGf.js → LowBalancePopup-Bl_PaIUx-Cz8COji5.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-l76_Y3sO-DBz5GRKZ.js → MagicLinkACHDetailsPage-l76_Y3sO-BRaxCag1.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-D_z_Q-jz-DriIOIxl.js → MagicLinkDomesticWireDetailsPage-D_z_Q-jz-C4Uhpu4B.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-D276lsq_-ColrMYZA.js → MagicLinkInternationalWireDetailsPage-D276lsq_-BhCxcHkI.js} +1 -1
- package/dist/assets/{MagicLinkRoutes-B-WHuq25.js → MagicLinkRoutes-26mPfcBZ.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-BBwmXYDm.js → MagicLinkSignInScreen-BZrsQ5lk.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-CuL-7CWN-C2vVBJ4S.js → MagicLinkSuccessPage-CuL-7CWN-CPURwwOW.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-RYhrN820-BbeWYlVu.js → MagicLinkTitleSection-RYhrN820-C7Vcy8B4.js} +1 -1
- package/dist/assets/{MailingDetailsSection-D9_I-DTk-Cdb1WRS_.js → MailingDetailsSection-D9_I-DTk-CH2kzcO6.js} +1 -1
- package/dist/assets/{MobileAppDrawer-CTcTm5tx.js → MobileAppDrawer-CVmbFUtl.js} +1 -1
- package/dist/assets/{MoreMenuButton-5MZl4h9B-BympoCwa.js → MoreMenuButton-5MZl4h9B-zFBR8G0C.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-CBw6kNsm-DlddyW1w.js → MyBankConnectionsSettingsPage-CBw6kNsm-CLFKHbI6.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-BC4YjZtP-DfpXnRCt.js → MyPendingActivationChargeCardListPage-BC4YjZtP-DazHEsal.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DZ5M2BUN-CQ7zk2gg.js → MyProfileSettingsPage-DZ5M2BUN-CgmWIcfU.js} +1 -1
- package/dist/assets/{NavBarWithPicker-C6FiaLu5-BVvTIBUE.js → NavBarWithPicker-C6FiaLu5-CpPmiX85.js} +1 -1
- package/dist/assets/{NavigationArrow-BnAgR0wH-BYYktF7B.js → NavigationArrow-BnAgR0wH-BHMKW5N7.js} +1 -1
- package/dist/assets/{NavigationDots-WUDG_g8M-CSwlLBTM.js → NavigationDots-WUDG_g8M-DDdWfUW3.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-gAsCusVw-CA6lhup4.js → NewGlobalMerchantPage-gAsCusVw-Dq-IWGpb.js} +1 -1
- package/dist/assets/{NoDataChart-BBYUjdKn-CaszePO0.js → NoDataChart-BBYUjdKn-CRdzJbNp.js} +1 -1
- package/dist/assets/{NoDataTable-D3750d25-CC_2gGkK.js → NoDataTable-D3750d25-DG2oQDdM.js} +1 -1
- package/dist/assets/{NotFoundPage-C4D8Rn9E--AJk-xer.js → NotFoundPage-C4D8Rn9E-CwNmDrN1.js} +1 -1
- package/dist/assets/{NotFoundScreen-SRDW4_mE.js → NotFoundScreen-B8XFlejE.js} +1 -1
- package/dist/assets/{NotificationRoutes-BSrkx0LD.js → NotificationRoutes-N8MRrxNI.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-CD-t91ia-DJoX_UtT.js → NotificationSettingsPage-CD-t91ia-m4MxTTW4.js} +1 -1
- package/dist/assets/{NotificationsListConfig-C7JSE-eQ-DyT-ZhYk.js → NotificationsListConfig-C7JSE-eQ-KxVFUV3z.js} +1 -1
- package/dist/assets/{NotificationsPage-Be1v8niA-BlgDo9nE.js → NotificationsPage-Be1v8niA-VHkbcX-a.js} +1 -1
- package/dist/assets/{OpExByVendorPage-D1f1lQbs-BnyzfFJz.js → OpExByVendorPage-D1f1lQbs-DLXANeGq.js} +1 -1
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-DTorHW75.js → OverlayContainerPage-BG9y5C0t-B0J4P0vh.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DIYb7BWp-B3vKwRhN.js → PandLWithForecastPage-DIYb7BWp-eRZ2xhPy.js} +1 -1
- package/dist/assets/{PandLWithForecastRoutes-CsL0r0I3.js → PandLWithForecastRoutes-DV3lwMtf.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-tGkjxbjY-CHrQD7Oe.js → PaymentAccountSetupBillingAddressSection-tGkjxbjY-DHB-KR0X.js} +1 -1
- package/dist/assets/{PeoplePage-xwAOX4Jk-BnzId5aB.js → PeoplePage-xwAOX4Jk-cobVcrYv.js} +1 -1
- package/dist/assets/{PeopleRoutes-D-yY-A49.js → PeopleRoutes-0VPcCQMG.js} +1 -1
- package/dist/assets/{PerformanceRoutes-DUxeAB_T.js → PerformanceRoutes-DWL6I_M2.js} +1 -1
- package/dist/assets/{ProductsCarousel-OHbYasaa-Bps9QCYO.js → ProductsCarousel-OHbYasaa-DyO10mDE.js} +1 -1
- package/dist/assets/{PromoBaseCards-B_0dccCZ-BeKRkhdX.js → PromoBaseCards-B_0dccCZ-Cll52Aug.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-5ItNvdCA-D1LNYclF.js → QBOConnectionDialog-5ItNvdCA-B93tYXoX.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-BDwso3KZ.js → QBOConnectionScreen-CIFlgaXj.js} +1 -1
- package/dist/assets/{QBOSetupSection-CHZgQppe-Fu_QXCEh.js → QBOSetupSection-CHZgQppe-Boi15f5H.js} +1 -1
- package/dist/assets/{ReferralListScreen-DPkRtA1r.js → ReferralListScreen-OXcIgRf5.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-DyX9YlA9.js → ReimbursementApprovalRoutes-CoU_u8MQ.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CqZT111l-Th1QLQg3.js → ReimbursementApprovalRuleDetailPage-CqZT111l-BQrCKR9A.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-BR6Wdj2J.js → ReimbursementApprovalRuleDetailScreen-CPkYjm-o.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BzTe2nqd-DFHyb7gY.js → ReimbursementApprovalRulesPage-BzTe2nqd-CnRJV-7t.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-DM650uCR-BZojPp4W.js → ReimbursementDetailPage-DM650uCR-CfT7lIQy.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-CitTg9s4-C6Ht-4dW.js → ReimbursementPromoPage-CitTg9s4-C0IJS9C3.js} +1 -1
- package/dist/assets/{ReimbursementRoutes-C4Yz_jbS.js → ReimbursementRoutes-CexK6hr3.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-qphyaCoX-CvNz9jXQ.js → ReimbursementSetUpPage-qphyaCoX-DoGJ3Yjs.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CCJvQKip-BQLPbz53.js → ReimbursementsBulkReviewDrawerPage-CCJvQKip-DJZoHiHh.js} +1 -1
- package/dist/assets/{ReloadCard-DMNbI6QE-C1j_tgy-.js → ReloadCard-DMNbI6QE-C_0_5wQl.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-CUG4hVI9-Bjuyu4DH.js → ReportTableViewSelector-CUG4hVI9-BizHpKUG.js} +1 -1
- package/dist/assets/{ReportsPage-nuM-ub1p-CKOT47VZ.js → ReportsPage-nuM-ub1p-B6rPi-ib.js} +1 -1
- package/dist/assets/{ReportsRoutes-DohAZqsL.js → ReportsRoutes-Cp6mze8I.js} +1 -1
- package/dist/assets/{RevenueChart-BL5Wb2UT-JQVA4c7e.js → RevenueChart-BL5Wb2UT-33eDsujQ.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-CUolLJ6s-I5bNk9-1.js → ReviewDetailsPage-CUolLJ6s-D-zhUoA6.js} +1 -1
- package/dist/assets/{ReviewOverlay-A1OYNSqG-DCeKL3J7.js → ReviewOverlay-A1OYNSqG-9s_1ZdtP.js} +1 -1
- package/dist/assets/{RewardsRoutes-BjB7FD9l.js → RewardsRoutes-BSovi6wQ.js} +1 -1
- package/dist/assets/{RoleWithToolTip-VOllzDDB-BXr_ucO6.js → RoleWithToolTip-VOllzDDB-BYsZPBtm.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-By3U1RYU-Dut2stb8.js → ScheduleDetailsFixedAssetsPage-By3U1RYU-DKJcrnu_.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-ButJHPUw-XhuUVDsI.js → ScheduleDetailsPage-ButJHPUw-QIDoDzfq.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-Dv831gVJ-OIQZXWKl.js → ScheduleSequenceTable-Dv831gVJ-DAMs3BZ5.js} +1 -1
- package/dist/assets/{ScreenRoutes-B6WQ9uqs.js → ScreenRoutes-Dbhh2QOI.js} +2 -2
- package/dist/assets/{SetUpAccountSection-BcNG0nDh-C2x0keC_.js → SetUpAccountSection-BcNG0nDh-wr_b4Gnf.js} +1 -1
- package/dist/assets/{SettingsRoutes-U8aLQkxi.js → SettingsRoutes-DsoaaeGm.js} +1 -1
- package/dist/assets/{SetupPagesScreen-KLzrKq5d.js → SetupPagesScreen-C8L8QqMz.js} +1 -1
- package/dist/assets/{SignIn-D80UITQm-CVsAto0V.js → SignIn-D80UITQm-DIIeYnW9.js} +1 -1
- package/dist/assets/{SignInScreen-g1CD9jiJ.js → SignInScreen-CWsG4Mxf.js} +1 -1
- package/dist/assets/{SignOutScreen-Cclrjb6Y.js → SignOutScreen-Cs9C3-Pe.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DSG6Son_-3Woa8ZKL.js → SpendManagementListViewPage-DSG6Son_-kr01Gbhc.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-DiSu0RS1-Dj2U_5YO.js → SpendManagementPerTabPage-DiSu0RS1-DHuUoD95.js} +1 -1
- package/dist/assets/{SpendManagementSection-BXU3RGG8-BwEQ7fN8.js → SpendManagementSection-BXU3RGG8-BYhx4BvA.js} +1 -1
- package/dist/assets/{StatementItem-B1M65xN--D_j2q7nS.js → StatementItem-B1M65xN--GeNfVEEV.js} +1 -1
- package/dist/assets/{StatementsPage-Ck1xzA0w-CdWUN6DK.js → StatementsPage-Ck1xzA0w-ClPKQbtk.js} +1 -1
- package/dist/assets/{StatusSwitcher-_Cs3CzJl-D1XlTHt5.js → StatusSwitcher-_Cs3CzJl-Dgp2ChlN.js} +1 -1
- package/dist/assets/{SubTabSwitcher-D3ltE_yc-Ry1ed6uf.js → SubTabSwitcher-D3ltE_yc-CnL7Gxp8.js} +1 -1
- package/dist/assets/{SuccessAnimation-RuQd1S4B-C9QgxngQ.js → SuccessAnimation-RuQd1S4B-Bm3TMOLx.js} +1 -1
- package/dist/assets/{SummaryCard-buadhnmc-COTvxgGf.js → SummaryCard-buadhnmc-D_ubT5UT.js} +1 -1
- package/dist/assets/{TaskDetailPage-CJKga1vr-ciDskCCR.js → TaskDetailPage-CJKga1vr-C9aggkuO.js} +1 -1
- package/dist/assets/{TaskListScreen-ksTObC06.js → TaskListScreen--R6ZRUkx.js} +1 -1
- package/dist/assets/{TaskManagementPage-BMwMSG1j-D-VvypFm.js → TaskManagementPage-BMwMSG1j-H5G6dYbH.js} +1 -1
- package/dist/assets/{TaskRoutes-C_cjp_9o.js → TaskRoutes-DYzJiY4s.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-B1Wx03tG-Br6TSwpo.js → TimeRangeSwitcher-B1Wx03tG-BWIrI-Q6.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-Dmtsdwi9-Ce3iuH6w.js → TimeframeSwitcher-Dmtsdwi9-Cw7Bi58F.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-P5CfgTUd-DXOPf3Bj.js → TimeframeSwitcherWithToggle-P5CfgTUd-Dktx47QV.js} +1 -1
- package/dist/assets/{TopExCard-DQkr9Xhh-CEMSG53J.js → TopExCard-DQkr9Xhh-BRnZbxyD.js} +1 -1
- package/dist/assets/{TopExDetailPage-5Di6WUfV-hilBOr7-.js → TopExDetailPage-5Di6WUfV-BUXw1BOA.js} +1 -1
- package/dist/assets/{TransactionActivityLogPage-R9LoW4DL-C_Mhlr8m.js → TransactionActivityLogPage-R9LoW4DL-D_EoHZ59.js} +1 -1
- package/dist/assets/{TransactionDetailPage-B-blHtkn-CbeGtCIa.js → TransactionDetailPage-B-blHtkn-DCMnh0nU.js} +1 -1
- package/dist/assets/{TransactionDetailRoutes-CG9Ya3UI.js → TransactionDetailRoutes-Ct3Dbt4h.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-DG1rRYuu.js → TransactionDetailScreen-BI8wXwWu.js} +1 -1
- package/dist/assets/{TransactionList-FQvTXSzy-oI0UZGJM.js → TransactionList-FQvTXSzy-B5IF52jl.js} +1 -1
- package/dist/assets/{TransactionListBig-CNDw7zRw-DTLpPxaS.js → TransactionListBig-CNDw7zRw-TaxjiJ28.js} +1 -1
- package/dist/assets/{TransactionListPage-BkZLtwmQ-DzH0F7Wk.js → TransactionListPage-BkZLtwmQ-DMj8aMnI.js} +1 -1
- package/dist/assets/{TransactionListRoutes-BbWNwfVS.js → TransactionListRoutes-B3byuAak.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-Ch2UUF1f-DGdjSa3g.js → TransactionVendorDetailPage-Ch2UUF1f-BrGjAHyI.js} +1 -1
- package/dist/assets/{TransferDrawerPage-C1Ly_xKj-DX3atlS9.js → TransferDrawerPage-C1Ly_xKj-fiBb4oDE.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-Zt5w8zfp-CedvlZd9.js → TreasuryOverviewPage-Zt5w8zfp-Ch3HnWvf.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-BsP73kf7-etf9xlFS.js → TreasuryPromoPage-BsP73kf7-CL2gh8Up.js} +1 -1
- package/dist/assets/{TreasuryRoutes-CuQ3uJ15.js → TreasuryRoutes-CiZ9sTKP.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-DhXESeOi-uJElEPeD.js → TreasuryStatementsPage-DhXESeOi-D1GmDTaA.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-tHkQvX2V-pYxXn6xj.js → TreasuryTaxLetterPage-tHkQvX2V-DC4DIUK0.js} +1 -1
- package/dist/assets/{TrendChart-B7Pox_TQ-7BkibFBY.js → TrendChart-B7Pox_TQ-CaG-s4IC.js} +1 -1
- package/dist/assets/{TrendWithTransactions-DP1jZL1i-2bOe0VtV.js → TrendWithTransactions-DP1jZL1i-DLC5jL9Q.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-4mHyt2P6-BwcucbSK.js → UncategorizedAccountsMappingPage-4mHyt2P6-CaPpF27u.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-BymmWe1G-DFsBuiFb.js → UnitIntegrationPage-BymmWe1G-c3FxOZsw.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-DUO2ZoU--ozi0LNFT.js → UploadAdditionalDocumentOverlay-DUO2ZoU--C5vn0EeB.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-8kpMx5RI-CGazITGN.js → Vendor2FAPopup-8kpMx5RI-B6wz9ehO.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-BODHiiUQ-DmAQiimf.js → VendorACHDetailsPage-BODHiiUQ-CbkmGhf7.js} +1 -1
- package/dist/assets/{VendorDetailPage-C-JJfR0u-DCJ_f7dN.js → VendorDetailPage-C-JJfR0u-xsJdXYgh.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-CVfEcUFJ-8ddL7pEj.js → VendorDomesticWireDetailsPage-CVfEcUFJ-Bq6iA8BG.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-B4vFgSwb-DDTykyPn.js → VendorFiling1099EditablePage-B4vFgSwb-BhTGj51T.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-CUwdrbjH-DPvTVvHI.js → VendorFirstReviewPage-CUwdrbjH-C8NXBWTw.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-BzP1zqhw-CAXXQP5N.js → VendorInternationalWireDetailsPage-BzP1zqhw-BApkoCPp.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Dgz0TPoZ-CYv9JR1l.js → VendorInternationalWireSwiftDetailsPage-Dgz0TPoZ-CIw7ERg3.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-Drue-Lvz-DQRReXtk.js → VendorsAccountsSection-Drue-Lvz-BCNmsP23.js} +1 -1
- package/dist/assets/{VendorsRoutes-Buw6G1yr.js → VendorsRoutes-CKhkv2e_.js} +1 -1
- package/dist/assets/{VerifyDevice-B_NNzkjT-BkggAu3P.js → VerifyDevice-B_NNzkjT-DssvqA1v.js} +1 -1
- package/dist/assets/{VideoPlayer-Bc4tAd79-Crbsq9LQ.js → VideoPlayer-Bc4tAd79-1S5ggZVm.js} +1 -1
- package/dist/assets/{VideoPopup-BYo5bzpU-BthyvsgQ.js → VideoPopup-BYo5bzpU-DUVlPGQp.js} +1 -1
- package/dist/assets/{WiseConfirmationScreen-CEIT9jMF.js → WiseConfirmationScreen-DJuJvNzv.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-BW6G2voE-DBU5fQds.js → ZeniAccountDetailPage-BW6G2voE-DG228Rrt.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-gNszI2XV-BLZmP_oZ.js → ZeniAccountListViewPage-gNszI2XV-vz3h67sw.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-BP1IxZ18-ABeEpX-y.js → ZeniAccountNavBarPieces-BP1IxZ18-D8VlWC64.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-LsZxIdX9-D62PvtLZ.js → ZeniAccountPromoPage-LsZxIdX9-BS_EkGM_.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-Bp_1In61.js → ZeniAccountRoutes-1i5H0-IW.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-BExQA9Cz-D04LOVK1.js → ZeniAccountSetupPage-BExQA9Cz-xecz4xSG.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-6LzJoR1o.js → ZeniAccountStatementScreen-YmdFA__8.js} +1 -1
- package/dist/assets/{ZeniAvatar-5wP6sb3W-CKgtWCng.js → ZeniAvatar-5wP6sb3W-CwxwTkTA.js} +1 -1
- package/dist/assets/{ZeniCopyright-CMjFbDBQ-So_Gi_8l.js → ZeniCopyright-CMjFbDBQ-Ck2DhCCZ.js} +1 -1
- package/dist/assets/{ZeniDatePicker-C_YQpGe--CXBBhIwN.js → ZeniDatePicker-C_YQpGe--B6o5NtIP.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CIu35Xz9-BCHS6-b-.js → ZeniTransferAmountSlider-CIu35Xz9-CbkYbuv-.js} +1 -1
- package/dist/assets/{analyticsHelper-CBcY8lmv.js → analyticsHelper-BkUpwFP4.js} +1 -1
- package/dist/assets/{analyticsHelper-CG-L3dO7-WIHh4rd-.js → analyticsHelper-CG-L3dO7-BuQ3dQan.js} +1 -1
- package/dist/assets/{calculateSize-CAxK0dN_-6AyeRPo8.js → calculateSize-CAxK0dN_-CtindZTL.js} +1 -1
- package/dist/assets/{chartTypes-_AEkJ5Cg-CVupoc41.js → chartTypes-_AEkJ5Cg-BoLLmK-7.js} +1 -1
- package/dist/assets/{common-B74Sb4iG-Ba1Dna3Q.js → common-B74Sb4iG-wPHt407r.js} +1 -1
- package/dist/assets/{commonDimensions-_Dpm4Anv-BHT-EeW2.js → commonDimensions-_Dpm4Anv-JKxakvSV.js} +1 -1
- package/dist/assets/{commonTypes-C64XobC6-BTobasZR.js → commonTypes-C64XobC6-zWzHHgag.js} +1 -1
- package/dist/assets/{downloadPdf-BAZhe2iR-C4ju3Lqh.js → downloadPdf-BAZhe2iR-XXbzTfDj.js} +1 -1
- package/dist/assets/{getLocaleForTenant-DZi5Q22y.js → getLocaleForTenant-gFC-Rnfp.js} +1 -1
- package/dist/assets/{helper-D3UIpXq7-DCH1HBMI.js → helper-D3UIpXq7-k6HHkxTA.js} +1 -1
- package/dist/assets/{index-BHAcVHeH.js → index-ByqexAVU.js} +448 -448
- package/dist/assets/{mapLoadingInProgressToTreeNode-C_DjhqLk-Ct7OsbEi.js → mapLoadingInProgressToTreeNode-C_DjhqLk-Cbs7Of5h.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BLsSfpaF-B_J7hTEH.js → mapSectionWithAcOnlyToTreeNode-BLsSfpaF-B5H-460G.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-Dq4CasLR-BKZfs44u.js → mapSpacerToTreeNode-Dq4CasLR-Dqbo2uhz.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode--FHVcIix-D7muHBWz.js → mapTimeframeBalancesToTreeNode--FHVcIix-DC7cXapm.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BP0iF3Of-BZXMdjjY.js → mapTimeframeBalancesToTreeNode-BP0iF3Of-DbCZ7i8N.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-D45Dn747-DMQQGP6s.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D45Dn747-CPa7R1do.js} +1 -1
- package/dist/assets/{routePaths-WWdcktge.js → routePaths-BnaAtOOM.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-CuxwOBs0-D4IOrabU.js → toCOABalancesWithID-CuxwOBs0-BNfZJE4p.js} +1 -1
- package/dist/assets/{toChartData-BODe4y2V-CHAJ4Jnp.js → toChartData-BODe4y2V-C6JFTy1O.js} +1 -1
- package/dist/assets/{uploadAttachment-Dbumcc_g-LXlwbhth.js → uploadAttachment-Dbumcc_g-Dxdg1PHe.js} +1 -1
- package/dist/assets/{uploadReceipts-CIgkuVpu-FU2oOS1s.js → uploadReceipts-CIgkuVpu-BX0LuAuH.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-DTIHWJqF.js → useInitialThreadRequest-D1CqutXV.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-X05Jc0ej.js → withTransactionSidePanel-BzduT6UI.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DS0-65s7-CeH0I7wN.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ek as ne,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,z 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 ne,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,z 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-ByqexAVU.js";import{b as d,a as A}from"./sentry-CY6wsJT-.js";import{n as g}from"./mui-Cni6P-fz.js";import{P as f}from"./core-oEkj6b51.js";import{l as Ne}from"./stripe-DMRn4zHo.js";import{n as G}from"./commonTypes-C64XobC6-zWzHHgag.js";import{F as Ve}from"./SetUpAccountSection-BcNG0nDh-wr_b4Gnf.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]="e4ed5c56-ae87-4fa5-944a-133201559215",e._sentryDebugIdIdentifier="sentry-dbid-e4ed5c56-ae87-4fa5-944a-133201559215")}catch{}})();function ae(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,o)}return r}function ie(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ae(Object(r),!0).forEach(function(o){Ce(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ae(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,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,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function we(e,t){return function(r){if(Array.isArray(r))return r}(e)||function(r,o){var n=r&&(typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"]);if(n!=null){var a,c,m=[],l=!0,p=!1;try{for(n=n.call(r);!(l=(a=n.next()).done)&&(m.push(a.value),!o||m.length!==o);l=!0);}catch(i){p=!0,c=i}finally{try{l||n.return==null||n.return()}finally{if(p)throw c}}return m}}(e,t)||function(r,o){if(r){if(typeof r=="string")return se(r,o);var n=Object.prototype.toString.call(r).slice(8,-1);if(n==="Object"&&r.constructor&&(n=r.constructor.name),n==="Map"||n==="Set")return Array.from(r);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return se(r,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 r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}var P=function(e,t,r){var o=!!r,n=d.useRef(r);d.useEffect(function(){n.current=r},[r]),d.useEffect(function(){if(!o||!e)return function(){};var a=function(){n.current&&n.current.apply(n,arguments)};return e.on(t,a),function(){e.off(t,a)}},[o,t,e,n])},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,r){if(!W(t)||!W(r))return t===r;var o=Array.isArray(t);if(o!==Array.isArray(r))return!1;var n=Object.prototype.toString.call(t)===ce;if(n!==(Object.prototype.toString.call(r)===ce))return!1;if(!n&&!o)return t===r;var a=Object.keys(t),c=Object.keys(r);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=r;return i.every(function(b){return e(v[b],x[b])})},ve=function(e,t,r){return W(e)?Object.keys(e).reduce(function(o,n){var a=!W(t)||!Ue(e[n],t[n]);return r.includes(n)?(a&&console.warn("Unsupported prop change: options.".concat(n," is not a mutable property.")),o):a?ie(ie({},o||{}),{},Ce({},n,e[n])):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,r=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(r)},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 r=le(e,t);return r===null?{tag:"empty"}:{tag:"sync",stripe:r}},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,r=e.options,o=e.children,n=d.useMemo(function(){return Fe(t)},[t]),a=we(d.useState(function(){return{stripe:n.tag==="sync"?n.stripe:null,elements:n.tag==="sync"?n.stripe.elements(r):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(r)}})};return n.tag!=="async"||c.stripe?n.tag!=="sync"||c.stripe||v(n.stripe):n.stripePromise.then(function(x){x&&i&&v(x)}),function(){i=!1}},[n,c,r]);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(r);return d.useEffect(function(){if(c.elements){var i=ve(r,p,["clientSecret","fonts"]);i&&c.elements.update(i)}},[r,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),r=d.useContext(K);if(t&&r)throw new Error("You cannot wrap the part of your app that ".concat(e," in both <CustomCheckoutProvider> and <Elements> providers."));return t?function(o,n){if(!o)throw new Error("Could not find CustomCheckoutProvider context; You need to wrap the part of your app that ".concat(n," in an <CustomCheckoutProvider> provider."));return o}(t,e):je(r,e)},y=function(e,t){var r,o="".concat((r=e).charAt(0).toUpperCase()+r.slice(1),"Element"),n=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 n.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},n.displayName=o,n.__elementType=e,n},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-ByqexAVU.js";import{a as u,b as ce}from"./sentry-CY6wsJT-.js";import{n as o}from"./mui-Cni6P-fz.js";import{q0 as De,bt as X}from"./zeni-epic-state-cFF_NqwA.js";import{d as ie}from"./ZeniAvatar-5wP6sb3W-CwxwTkTA.js";import{T as Le}from"./RoleWithToolTip-VOllzDDB-BYsZPBtm.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./avatar-Dz7aEm3d-lVrrjTFE.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]="af5e430b-5c4c-400e-8b5c-bf2dd6c34449",e._sentryDebugIdIdentifier="sentry-dbid-af5e430b-5c4c-400e-8b5c-bf2dd6c34449")}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-CTJ16aEe.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-cFF_NqwA.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-CTJ16aEe.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-cFF_NqwA.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-ByqexAVU.js";import{D as be,n as z,S as ye}from"./mui-Cni6P-fz.js";import J from"./NotFoundScreen-B8XFlejE.js";import{a as i}from"./sentry-CY6wsJT-.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-oEkj6b51.js";import{M as Ge}from"./MobileAppDrawer-CVmbFUtl.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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-CTJ16aEe.js";import C from"./NotFoundScreen-
|
|
1
|
+
import{j as n}from"./pdf-CTJ16aEe.js";import C from"./NotFoundScreen-B8XFlejE.js";import{a as r}from"./sentry-CY6wsJT-.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-oEkj6b51.js";import{ct as A,Nx as I,bn as O,bm as P,ey as V,eg as B}from"./zeni-epic-state-cFF_NqwA.js";import{N as F,js as b,mb as $}from"./index-ByqexAVU.js";import"./mui-Cni6P-fz.js";import{M as q}from"./MobileAppDrawer-CVmbFUtl.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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-OHbYasaa-Bps9QCYO.js → ProductsCarousel-OHbYasaa-DyO10mDE.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-ByqexAVU.js";import{a as f}from"./sentry-CY6wsJT-.js";import{n as i}from"./mui-Cni6P-fz.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-B_0dccCZ-BeKRkhdX.js → PromoBaseCards-B_0dccCZ-Cll52Aug.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-ByqexAVU.js";import{c as i,n as g,k as f}from"./mui-Cni6P-fz.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,c 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,c as M,aT as Z,m as i}from"./index-ByqexAVU.js";import{n as t}from"./mui-Cni6P-fz.js";import{a as d}from"./sentry-CY6wsJT-.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]="d46d11be-580f-43f1-b599-4e842d291e3d",e._sentryDebugIdIdentifier="sentry-dbid-d46d11be-580f-43f1-b599-4e842d291e3d")}catch{}})();const y=e=>d.createElement("svg",{width:126,height:24,viewBox:"0 0 126 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.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"}),d.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"}),d.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"}),d.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-CTJ16aEe.js";import{p as Q,e as xc,d as kc,g as jl,a as xl}from"./sentry-CY6wsJT-.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-cFF_NqwA.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-ChLimP28.js";import{r as un}from"./empty-CpgB6ACX.js";import{r as Fl,a as Bl,b as Ul,c as ql}from"./pdf-lib-BZoHbIry.js";import{r as Gl}from"./index-B5c5iTId.js";import{r as zl}from"./index-DRNExedw.js";import{j as Zl,h as Hl,i as Vl,u as En,k as Yl}from"./core-oEkj6b51.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-CTJ16aEe.js";import{p as Q,e as xc,d as kc,g as jl,a as xl}from"./sentry-CY6wsJT-.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-cFF_NqwA.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-ChLimP28.js";import{r as un}from"./empty-CpgB6ACX.js";import{r as Fl,a as Bl,b as Ul,c as ql}from"./pdf-lib-BZoHbIry.js";import{r as Gl}from"./index-B5c5iTId.js";import{r as zl}from"./index-DRNExedw.js";import{j as Zl,h as Hl,i as Vl,u as En,k as Yl}from"./core-oEkj6b51.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-ByqexAVU.js";import"./mui-Cni6P-fz.js";import{d as Pe}from"./decodeURIComponentSafe-AFO0vA4L.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-CHZgQppe-Fu_QXCEh.js → QBOSetupSection-CHZgQppe-Boi15f5H.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,c as D,aT as W,f8 as B,ad as w,C as f,m as r}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,c as D,aT as W,f8 as B,ad as w,C as f,m as r}from"./index-ByqexAVU.js";import{n as s}from"./mui-Cni6P-fz.js";import{D as E,V as _}from"./QBOConnectionDialog-5ItNvdCA-B93tYXoX.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]="a305108e-295c-4d42-a020-04b2d563f8de",e._sentryDebugIdIdentifier="sentry-dbid-a305108e-295c-4d42-a020-04b2d563f8de")}catch{}})();const d={containerPadding:new a(r[3],r[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(r[3],r[0]),arrowIconWidthHeight:new a(r[3],r[4])},A={title:new T("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:t=!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(G,{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,t&&!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:t}=e;return i.jsx(B,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:t,textColor:{color:new w(c.successDark),borderColor:new w(c.successDark)}})},G=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-CTJ16aEe.js";import{a as o}from"./sentry-CY6wsJT-.js";import{u,j as O,i as H,h as V,k as W}from"./core-oEkj6b51.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-CTJ16aEe.js";import{a as o}from"./sentry-CY6wsJT-.js";import{u,j as O,i as H,h as V,k as W}from"./core-oEkj6b51.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-ByqexAVU.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-cFF_NqwA.js";import{D as te,e as se,n as oe,S as ie}from"./mui-Cni6P-fz.js";import{M as le}from"./MobileAppDrawer-CVmbFUtl.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-CTJ16aEe.js";import x from"./NotFoundScreen-
|
|
1
|
+
import{j as t}from"./pdf-CTJ16aEe.js";import x from"./NotFoundScreen-B8XFlejE.js";import{a as p}from"./sentry-CY6wsJT-.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-oEkj6b51.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-cFF_NqwA.js";import{y as L,js as N,jQ as $,k9 as O,lz as W,ki as B}from"./index-ByqexAVU.js";import"./mui-Cni6P-fz.js";import{R as y}from"./ReimbursementApprovalRuleDetailScreen-CPkYjm-o.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 U,y as W,e as G,O as D,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 b,fy as ee}from"./index-
|
|
1
|
+
import{x as M,m as U,y as W,e as G,O as D,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 b,fy as ee}from"./index-ByqexAVU.js";import{a as L}from"./sentry-CY6wsJT-.js";import{n as u}from"./mui-Cni6P-fz.js";import{b as ae,f as te,o as B,l as T}from"./FollowStepsSection-CgjzMm02-glrhNO5E.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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]="046e3cc6-3a60-42a7-a7a2-ce767bfb6a61",e._sentryDebugIdIdentifier="sentry-dbid-046e3cc6-3a60-42a7-a7a2-ce767bfb6a61")}catch{}})();const _="reimbursementApprovalRuleDetailPage",C="lowerBound",k="upperBound",I="steps",h="applyToExistingReimbursements",le={footerPadding:new M(U[2],U[3])};function De({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=D.getLocalizedStrings().commonSetUp.approval,S=D.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=re(e,t==="approval_create"&&!a),y=X({mode:"all",reValidateMode:"onChange",defaultValues:x}),d=e.remiSetupApproverViewUpdateData?.updateStatus,R=H(d?.fetchState),{upperBound:P}=x,{allApprovalRules:p,allAccountingClasses:V,remiSetupApproverViewUpdateData:c}=e;let m=p.length>1?p.length-1:0,v=p.length>0?p[m].criteria[0].range.min.amount:0;if(c!=null&&c.type==="approval_update"&&c.data!=null){const{approvalRuleId:i}=c.data;m=p.findIndex(f=>f.approvalRuleId===i),v=m>0?p[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"&&d?.fetchState==="Completed"&&A()},[R,d?.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(pe,{children:r.jsxs(Y,{...y,children:[r.jsx(ue,{children:r.jsx("form",{id:j(_),onSubmit:O,children:r.jsxs(de,{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:d?.fetchState==="In-Progress",isDisabled:d?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:t==="approval_create"&&p.length===0?null:r.jsx(ee,{name:h,mode:"always_on",checkBoxes:[{value:h,label:l.applyToExistingReimbursements,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:l.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:N},containerStyle:{justifyContent:w==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(w)},separatorStyle:{marginRight:b.sp4}})]})})]})}const re=(e,t)=>{const{criteria:a,steps:o}=e.remiSetupApproverViewUpdateData?.data??{},n=e.allApprovalRules.length===0;return{[h]:n?[]:[h],[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-CTJ16aEe.js";import{a as y}from"./sentry-CY6wsJT-.js";import{j as w,i as A,h as T,l as U,u as b,k as E}from"./core-oEkj6b51.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-cFF_NqwA.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-CTJ16aEe.js";import{a as y}from"./sentry-CY6wsJT-.js";import{j as w,i as A,h as T,l as U,u as b,k as E}from"./core-oEkj6b51.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-cFF_NqwA.js";import{js as B,y as j,jQ as V,lq as z,ki as F}from"./index-ByqexAVU.js";import"./mui-Cni6P-fz.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-ByqexAVU.js";import{n as i}from"./mui-Cni6P-fz.js";import{a as ee}from"./sentry-CY6wsJT-.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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 Qt,g7 as Xt,m as c,bH as Zt,co as ei}from"./index-BHAcVHeH.js";import{a as u}from"./sentry-CY6wsJT-.js";import{n as a}from"./mui-Cni6P-fz.js";import{bG as ti,c6 as ii,G6 as ri}from"./zeni-epic-state-cFF_NqwA.js";import ai from"./InvoiceUploadSection-DZOzTShz-BFwyUvOT.js";import{r as oi,h as x,u as ni}from"./types-DyvtCprH-VF9iATMs.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./AttachmentView-C5anq6-B-BkQi2I92.js";import"./uploadReceipts-CIgkuVpu-FU2oOS1s.js";import"./upload-reimbursement-receipt-O2N8vcO7-BLqHMVJK.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[$]="4735d166-8130-4835-840e-33c761c3ce3e",e._sentryDebugIdIdentifier="sentry-dbid-4735d166-8130-4835-840e-33c761c3ce3e")}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,Q]=u.useState(!1),[pt,X]=u.useState(!1),[Z,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=>{X(!1),he({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{X(!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(Qe,{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(Qe,{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(Xe,{windowSize:n,children:[t.jsx(Ze,{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(Xe,{windowSize:n,children:[t.jsx(Ze,{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&&Q(!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:Z==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||Z==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(ee("delete"),Ie()):(ee("rejected"),X(!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:Z==="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:()=>Q(!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:()=>Q(!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 Qt,g7 as Xt,m as c,bH as Zt,co as ei}from"./index-ByqexAVU.js";import{a as u}from"./sentry-CY6wsJT-.js";import{n as a}from"./mui-Cni6P-fz.js";import{bG as ti,c6 as ii,G6 as ri}from"./zeni-epic-state-cFF_NqwA.js";import ai from"./InvoiceUploadSection-DZOzTShz-CcOswv0c.js";import{r as oi,h as x,u as ni}from"./types-DyvtCprH-VF9iATMs.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./AttachmentView-C5anq6-B-B0oKrwit.js";import"./uploadReceipts-CIgkuVpu-BX0LuAuH.js";import"./upload-reimbursement-receipt-O2N8vcO7-BLqHMVJK.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[$]="4735d166-8130-4835-840e-33c761c3ce3e",e._sentryDebugIdIdentifier="sentry-dbid-4735d166-8130-4835-840e-33c761c3ce3e")}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,Q]=u.useState(!1),[pt,X]=u.useState(!1),[Z,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=>{X(!1),he({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{X(!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(Qe,{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(Qe,{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(Xe,{windowSize:n,children:[t.jsx(Ze,{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(Xe,{windowSize:n,children:[t.jsx(Ze,{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&&Q(!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:Z==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||Z==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(ee("delete"),Ie()):(ee("rejected"),X(!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:Z==="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:()=>Q(!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:()=>Q(!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,z as d,O as _,o as s,D as ce,c2 as me,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,z as d,O as _,o as s,D as ce,c2 as me,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-ByqexAVU.js";import{a as j}from"./sentry-CY6wsJT-.js";import{n as t}from"./mui-Cni6P-fz.js";import{G5 as je,bL as be}from"./zeni-epic-state-cFF_NqwA.js";import{C as fe}from"./VideoPopup-BYo5bzpU-DUVlPGQp.js";import{M as v}from"./usp-line-BBd1wKwW-CuU9mWQv.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./VideoPlayer-Bc4tAd79-1S5ggZVm.js";import"./media-player-uto_Jl5G.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]="cbf1e4e9-5191-4d2d-86aa-47634cce8186",i._sentryDebugIdIdentifier="sentry-dbid-cbf1e4e9-5191-4d2d-86aa-47634cce8186")}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%;
|