@zeniai/web-app-ui 4.14.31-dev → 4.14.31-qa
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-CFhoboVe-JodbwPsQ.js → ACHDetailsPage-CFhoboVe-DcRe2nTt.js} +1 -1
- package/dist/assets/{AIPerformancePage-DB-fTWME-CgGQsnV1.js → AIPerformancePage-DB-fTWME-DYZeuOnD.js} +1 -1
- package/dist/assets/{AccountInfoPage-pEEhPqOb-BzcKyQfW.js → AccountInfoPage-pEEhPqOb-B-Hd8VtG.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-eYEsv7ac-vCK7G4bh.js → AccountInfoPageContent-eYEsv7ac-DDYvpmDy.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-jYWr_8TD-q_Ikf2Tn.js → AccountLockedInfoModal-jYWr_8TD-DcOOzUkE.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-3Q0EPYhL-BH4of7uu.js → AccountReconDetailsDrawerPage-3Q0EPYhL-27wJMTjD.js} +1 -1
- package/dist/assets/{AccountRow-CdgvnPG8-Cz30EYLJ.js → AccountRow-CdgvnPG8-BR1hQ4Zy.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-DHo59LLN-SJuuNn3m.js → AccountsPromoCardStack-DHo59LLN-ChbxyMzd.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-BzO1FXUa-Fyg_NOS1.js → AddAddressForCardDrawer-BzO1FXUa-kLdLeGkd.js} +1 -1
- package/dist/assets/{AddToWalletPage-BfXFbHjk-CMzYyYW2.js → AddToWalletPage-BfXFbHjk-CYPGe181.js} +1 -1
- package/dist/assets/{AddressRoutes-B6KyTWyT.js → AddressRoutes-XcDMlDlS.js} +1 -1
- package/dist/assets/{AddressScreen-ZPcySSaO.js → AddressScreen-DPPx0MfK.js} +1 -1
- package/dist/assets/{AgingReportsPage-C1hFq4KH-Zi5GTQ1z.js → AgingReportsPage-C1hFq4KH-DN--gN3O.js} +1 -1
- package/dist/assets/{AiCfoScreen-C7jQo3LZ.js → AiCfoScreen-30SW2q3w.js} +1 -1
- package/dist/assets/{AllUserItems-B6pnKByY-z-llp8Ld.js → AllUserItems-B6pnKByY-DyP7v-cA.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-CxLVGnpY-BrZpRxc6.js → ApAgingDetailPage-CxLVGnpY-BYGcfd1t.js} +1 -1
- package/dist/assets/{AppBasePage-DiVxF606-DEIAJtmX.js → AppBasePage-DiVxF606-AXI0aqhJ.js} +1 -1
- package/dist/assets/{AppDrawerContent-B_EWsf8O-nCzxlMlY.js → AppDrawerContent-B_EWsf8O-CMysKcTU.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-HHjDp_NQ-Dk_su188.js → ApprovalRulesSettingsPage-HHjDp_NQ-jrLhlHCF.js} +1 -1
- package/dist/assets/{ArAgingChart-Ba4A-i2N-DVKxnxLC.js → ArAgingChart-Ba4A-i2N-PODxdvyn.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-prgcvsS4-B6KvY1N_.js → ArAgingDetailPage-prgcvsS4-BsTAVwTa.js} +1 -1
- package/dist/assets/{AttachmentView-SsWJw4A8-CiFA7Mtk.js → AttachmentView-SsWJw4A8-RJr9hQhO.js} +1 -1
- package/dist/assets/{BalancesInsightWithToolTip-DE6gDjGA-CuriAdQu.js → BalancesInsightWithToolTip-DE6gDjGA-e_65zoZY.js} +1 -1
- package/dist/assets/{BankAccountSection-B4jmT0lb-D2VaI5gJ.js → BankAccountSection-B4jmT0lb-zwPodZbw.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Bz2itMx0-EQdFts4P.js → BankAccountWarningSection-Bz2itMx0-BfZtVATK.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BcVk7bTt-CcJ2zW2K.js → BankConnectionsSettingsPage-BcVk7bTt-C3Wp_iZl.js} +1 -1
- package/dist/assets/{BillDetailPage-Dkqmi4H1-BFTmBvTz.js → BillDetailPage-Dkqmi4H1-C6mDNSc2.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-CB_WVdNG.js → BillPayApprovalRoutes-CaSA1uSR.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-Blxlv3pa-NuWc5jPY.js → BillPayApprovalRuleDetailPage-Blxlv3pa-BYAGbgwQ.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-B_QwggJS-Csxvsi8z.js → BillPayApprovalRulesPage-B_QwggJS-BveqhBul.js} +1 -1
- package/dist/assets/{BillPayPromoPage-Bx2AXpWe-DWku5Qhm.js → BillPayPromoPage-Bx2AXpWe-BrIbmhut.js} +1 -1
- package/dist/assets/{BillPayRoutes-9FjXpkgQ.js → BillPayRoutes-CMdKHc5T.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-CM7_DkHC-B8MycdyA.js → BillPaySetUpPage-CM7_DkHC-Bt5CjJNs.js} +1 -1
- package/dist/assets/{BillingSettingsPage-DM0OIfxa-B3DQmXkS.js → BillingSettingsPage-DM0OIfxa-CKHUmPAw.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-C3xmQ7wz-DgU-ZFK3.js → BillsBulkReviewDrawerPage-C3xmQ7wz-Cf_j4N1J.js} +1 -1
- package/dist/assets/{BoxItem-CvCo0wr6-QhJ82HMO.js → BoxItem-CvCo0wr6-BAtsmvg4.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BAZmkR4a-DKUcO_Rf.js → BusinessVerificationPage-BAZmkR4a-BbYTLnZH.js} +1 -1
- package/dist/assets/{BusinessVerificationPageScreen-BKBP5CJh.js → BusinessVerificationPageScreen-DVGxc_kT.js} +1 -1
- package/dist/assets/{BusyIndication-Cp8KWKB2-C3oZ8Ini.js → BusyIndication-Cp8KWKB2-paVspSd6.js} +1 -1
- package/dist/assets/{CardNumberSubText-DHtSIcZZ-kHFdQu5S.js → CardNumberSubText-DHtSIcZZ-CJNkVpEB.js} +1 -1
- package/dist/assets/{CashbackDetailPage-CNS1FA6b-Clcw1gL0.js → CashbackDetailPage-CNS1FA6b-DNPbsy8R.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-C4NeG7IM-CcgpSGTB.js → ChargeCardDetailPage-C4NeG7IM-Bqzrs3Tx.js} +1 -1
- package/dist/assets/{ChargeCardListPage-DNYiWaEf-BZBAcxPe.js → ChargeCardListPage-DNYiWaEf-D4WPR4qJ.js} +1 -1
- package/dist/assets/{ChargeCardListTable-DdnyzdFf-D27zGMD0.js → ChargeCardListTable-DdnyzdFf-BLIVQeNK.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-CXlqzaUt-Cw-q5fHs.js → ChargeCardPaymentHistoryPage-CXlqzaUt-nlgSDdhG.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-D4canPX9-B2gMZ94L.js → ChargeCardPromoPage-D4canPX9-CjFFR5oK.js} +1 -1
- package/dist/assets/{ChargeCardRoutes-B9ifIaPD.js → ChargeCardRoutes-DipRg107.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-BtikPFOq-B1Q5Q-k4.js → ChargeCardSetupPage-BtikPFOq-Ci06zFqY.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-RepWBbvJ-BeTG3xG9.js → ChargeCardStatementsPage-RepWBbvJ-qZhzfjJs.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-BCqg3irO-LJQj-9cr.js → CheckDepositDrawerPage-BCqg3irO-CU861UMl.js} +1 -1
- package/dist/assets/{CollapsableReportTable-gy7Ue_fk-xkuj86hA.js → CollapsableReportTable-gy7Ue_fk-Cp0GdxMJ.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BsCx7q-g-C5hfQprP.js → CompanyOfficerDetailsSection-BsCx7q-g-Bqu05vNe.js} +1 -1
- package/dist/assets/{CompanyPassportCard-BbUWOs1U-Dw1HMrsN.js → CompanyPassportCard-BbUWOs1U-CQapOMzG.js} +1 -1
- package/dist/assets/{CompanyPassportPage-BnP2oA1U-BahIQeuB.js → CompanyPassportPage-BnP2oA1U-DG-ray3n.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-CT9c7lvA.js → CompanyPassportScreen-Bsk4iSLd.js} +1 -1
- package/dist/assets/{CompleteProfile-TiRsm2Fm-fE1NUszo.js → CompleteProfile-TiRsm2Fm-Dmw9B9gd.js} +1 -1
- package/dist/assets/{ConfettiBurst-D7J36hZf-CSVT9V2q.js → ConfettiBurst-D7J36hZf-DAmXS8qh.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-D6BkdM1l.js → ConnectionAuthScreen-CdbJnza-.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-vBI13ZbI.js → ConstrainedInnerElement-CgdnMeoA-CpoLys2G.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-Dihzr1D5-BUR2QFLa.js → CreateOrEditVendorPage-Dihzr1D5-Df0a--du.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-CZGzDuxC-BUIdND4_.js → CreditCardPaymentDrawerPage-CZGzDuxC-CG7xBUFZ.js} +1 -1
- package/dist/assets/{CurrencySelectField-BTAmIqPa-rlZjvsTh.js → CurrencySelectField-BTAmIqPa-BOvsicp3.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-MVI7kqIh-JD8ZqQ1I.js → CustomerOnboardingActivationPage-MVI7kqIh-B52EVUog.js} +1 -1
- package/dist/assets/{CustomerOnboardingAuthScreen-DsZqZ3Im.js → CustomerOnboardingAuthScreen-DO7d0gIb.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--CSEqEIM8.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CaI_0pCb-D_9R8ntI.js → CustomerOnboardingDetailPageSkeleton-CaI_0pCb-Dx2c__Yb.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CO_c2COV-CTf7zsp5.js → CustomerOnboardingNoStepsPage-CO_c2COV-CcNi7DUF.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-BF0vuYaJ-DB-M7FrJ.js → CustomerOnboardingPage-BF0vuYaJ-CpeT13Rn.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-BGFdLX1i-C8cOT0zx.js → CustomerOnboardingProductSuitePage-BGFdLX1i-C7qSBsYV.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-BiogvBuq.js → CustomerOnboardingRoutes-BqTX1iyW.js} +1 -1
- package/dist/assets/{Dashboard-Qjedd4r--CRbsfODt.js → Dashboard-Qjedd4r--DdmcDs7e.js} +1 -1
- package/dist/assets/{DashboardReportPage-Deith_ON-D8fEi8Zc.js → DashboardReportPage-Deith_ON-BYNIuWwI.js} +1 -1
- package/dist/assets/{DashboardRoutes-BQeGUCAH.js → DashboardRoutes-C3tqy16Q.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-C7DfUDio-C16c7XTp.js → DashboardSidebarBackgroundAnimation-C7DfUDio-CXRw7JSP.js} +1 -1
- package/dist/assets/{DefaultTenantHome-DDgedZUJ.js → DefaultTenantHome-DTL7QcJH.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-7kYotKov-QpJvWZ45.js → DepositAccTransactionItem-7kYotKov-C07q_etT.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-Bop4Uj5w-oeif2Id9.js → DepositAccTransactionListPage-Bop4Uj5w-DYSx2RBP.js} +1 -1
- package/dist/assets/{DomesticWireDetailScreen-6HCK_7TE.js → DomesticWireDetailScreen-D_BfoPLh.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-_TyXsqEx-BYHoiTtM.js → DomesticWireDetailsPage-_TyXsqEx-jkwnoEUE.js} +1 -1
- package/dist/assets/{DownloadOverlay-Cmd727bN-C-PzxP5F.js → DownloadOverlay-Cmd727bN-CUU7ZY9L.js} +1 -1
- package/dist/assets/{DrawerPage-DmGwfnGp-soZmQNN_.js → DrawerPage-DmGwfnGp-LTv4sDcy.js} +1 -1
- package/dist/assets/{DrawerScreen-C_1QezB2.js → DrawerScreen-DtF71b7B.js} +1 -1
- package/dist/assets/{EditPeoplePage-YyluIC6R-B0i1VKsb.js → EditPeoplePage-YyluIC6R-CXdaDa7G.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-DeMid2Ko-B5ltV9Cy.js → EditReimbursementDetailPage-DeMid2Ko-Bv-8Xabp.js} +1 -1
- package/dist/assets/{EntityDetailPage-DPTSSZdS-CPjJOO2E.js → EntityDetailPage-DPTSSZdS-oHoyHWu0.js} +1 -1
- package/dist/assets/{EntityDetailRoutes--mZVfECz.js → EntityDetailRoutes-DYnivlwX.js} +1 -1
- package/dist/assets/{EntitySummarySection-5NbutA8l-DL6jpdFo.js → EntitySummarySection-5NbutA8l-CQbl1YIH.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-CQ_3WluW-CCAAzH1q.js → ExpenseAutomationOverviewPage-CQ_3WluW-CLWld5W7.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-VuU4acYd-BNMHy7wa.js → ExpenseAutomationPage-VuU4acYd-B7T-Dg4p.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-DyeVLVvz.js → ExpenseAutomationRoutes-BlW2sTwn.js} +1 -1
- package/dist/assets/{ExpressPayPage-DhoNmyC2-BM7D8t94.js → ExpressPayPage-DhoNmyC2-Bd-YVNzq.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-GSwhPxgP-CknFQRpv.js → FeaturePreviewPage-GSwhPxgP-CXXTQoUA.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-DcXxWeeZ.js → FeaturePreviewScreen-CpHWA-St.js} +1 -1
- package/dist/assets/{FollowStepsSection-DaueHRo4-R5WhFSRV.js → FollowStepsSection-DaueHRo4-FQso0zsG.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-DG7_1HOT-BY_P61_d.js → GlobalReviewListPage-DG7_1HOT-_eh0o3Lh.js} +1 -1
- package/dist/assets/{InformationCardStack-zc-BxR7F-Dc1qaC3e.js → InformationCardStack-zc-BxR7F-CH328-RF.js} +1 -1
- package/dist/assets/{InsightsCardStack-DxCA5sFh-BcClR9fT.js → InsightsCardStack-DxCA5sFh-Y8l4503l.js} +1 -1
- package/dist/assets/{InsightsSection-BdFG3j3R-D7JeFV31.js → InsightsSection-BdFG3j3R-DjHyJY78.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-CaiL3kqS-BK30afn3.js → IntegrationsSettingsPage-CaiL3kqS-CiO2l-pg.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-BrQVSzeS-BpNTGybF.js → InternationalWireSwiftDetailsPage-BrQVSzeS-B8g9fXts.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-NaLnhW9C-xEbEY4G_.js → InternationalWireVerificationPage-NaLnhW9C-Be5m5GNN.js} +1 -1
- package/dist/assets/{InviteFormPage-fjqv2l7h-CN7vzCNz.js → InviteFormPage-fjqv2l7h-CLLSBMJ2.js} +1 -1
- package/dist/assets/{InvitePageListView-CQecQhxr-D7nG5RDJ.js → InvitePageListView-CQecQhxr-DHxSXSin.js} +1 -1
- package/dist/assets/{InvitePeoplePage-DAEBuOnk-etA_btSE.js → InvitePeoplePage-DAEBuOnk-CNuAu3aA.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-58l6ePuH-DGEZcLC_.js → InvoiceUploadSection-58l6ePuH-CbCDsLyQ.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-Bkxqsgax-BZ-SKXi3.js → IssueChargeCardPage-Bkxqsgax-B2E0w7s1.js} +1 -1
- package/dist/assets/{LabeledAddressValue-CZfFV97h-Bb57sB9z.js → LabeledAddressValue-CZfFV97h-D0qxrk9o.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-D66XOhMx-DAzGEgKS.js → LabeledAddressValueField-D66XOhMx-BL2wLyLH.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-BtnsqE4D-pO3EStbM.js → LabeledControlledCheckBoxField-BtnsqE4D-B85xoPON.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-kopByxLB-CVmx734o.js → LabeledCountryMultiSelectField-kopByxLB-1-3v1UQa.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-B6An-cwq-ZwV4dPE-.js → LabeledCreatableSingleSelectField-B6An-cwq-DFSBA92N.js} +1 -1
- package/dist/assets/{LabeledDocumentField-D_ZD8JTn-EgNCcbbj.js → LabeledDocumentField-D_ZD8JTn-vKeq6vm6.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-CJ7ncCzH-yHUhBReW.js → LabeledDropDownFormattedTextField-CJ7ncCzH-B0WjHFnN.js} +1 -1
- package/dist/assets/{LabeledEmailInputField-CSfzMDYO-Ccf6Bxv0.js → LabeledEmailInputField-CSfzMDYO-CWt52Wcv.js} +1 -1
- package/dist/assets/{LabeledNameField-DZJXGYR9-C9Z5T7ep.js → LabeledNameField-DZJXGYR9-BrTXKAba.js} +1 -1
- package/dist/assets/{LabeledSingleSelectField-D_LoOMiZ-CAsbCcep.js → LabeledSingleSelectField-D_LoOMiZ-BMpo-aMs.js} +1 -1
- package/dist/assets/{LabeledText-A1h_ionS-CcjmiFmI.js → LabeledText-A1h_ionS-CFl8s8G-.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-EIyuSMIG.js → LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-Q6YssO3g.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-DmynBXbJ-DglcXxDL.js → LabeledZeniRolesDropDownField-DmynBXbJ-B4T-A7Cu.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-D6-fL4a6-DlR8vjGO.js → LinkJETransactionPage-D6-fL4a6-tCaqs9Yj.js} +1 -1
- package/dist/assets/{LockCardPage-BDlnh_zf-64lzFlF5.js → LockCardPage-BDlnh_zf-cKP8zIxD.js} +1 -1
- package/dist/assets/{LowBalancePopup-CBPl_udd-Nqllub28.js → LowBalancePopup-CBPl_udd-BorudEL4.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-eq8wlXQr-DwBTA9or.js → MagicLinkACHDetailsPage-eq8wlXQr-C2vI5jVH.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-BcNOhJgL-M9e4wRPN.js → MagicLinkDomesticWireDetailsPage-BcNOhJgL-mWcNcIhr.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-Df8XYlkg-BKUO0J46.js → MagicLinkInternationalWireDetailsPage-Df8XYlkg-bsxOE2QI.js} +1 -1
- package/dist/assets/{MagicLinkRoutes-B4rSGEA5.js → MagicLinkRoutes-CcsKjkce.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-DL54w9kv.js → MagicLinkSignInScreen-Dw8ViAP-.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Cl461HWp-DrFI3SFX.js → MagicLinkSuccessPage-Cl461HWp-01GdAVLj.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DoIMYrRv-BmkYYs3S.js → MagicLinkTitleSection-DoIMYrRv-wUyCV4b7.js} +1 -1
- package/dist/assets/{MailingDetailsSection-NdwWGQ88-M0GYvrro.js → MailingDetailsSection-NdwWGQ88-ChhAh-Lq.js} +1 -1
- package/dist/assets/{MobileAppDrawer-D4KAg1N8.js → MobileAppDrawer-D7V2koAX.js} +1 -1
- package/dist/assets/{MoreMenuButton-CkkW1atP-BhjeSlOV.js → MoreMenuButton-CkkW1atP-CT7ietod.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-BU6TBzI1-D2Qaudqr.js → MyBankConnectionsSettingsPage-BU6TBzI1-DURfzXrx.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-DcunCDU6-NjjjBd7F.js → MyPendingActivationChargeCardListPage-DcunCDU6-CQIAZ-Ax.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DF7ahyXE-BjXkIrz2.js → MyProfileSettingsPage-DF7ahyXE-BEXIytCm.js} +1 -1
- package/dist/assets/{NavBarWithPicker-D2v1fhLS-CH1wdNXM.js → NavBarWithPicker-D2v1fhLS-CGpIi67k.js} +1 -1
- package/dist/assets/{NavigationArrow-CWUL-6kN-DVve579d.js → NavigationArrow-CWUL-6kN-CRVEGy5S.js} +1 -1
- package/dist/assets/{NavigationDots-c-XSrFzE-eujVKwdH.js → NavigationDots-c-XSrFzE-Bl0Sm_Ng.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-FGEO68I8-XZyzhNzP.js → NewGlobalMerchantPage-FGEO68I8-BKtwnvr_.js} +1 -1
- package/dist/assets/{NoDataChart-DJhSgtLu-BSak9fMr.js → NoDataChart-DJhSgtLu-BO4-72hz.js} +1 -1
- package/dist/assets/{NoDataTable-BZiwo2qK-Cb8q0aH6.js → NoDataTable-BZiwo2qK-CJLZnBQL.js} +1 -1
- package/dist/assets/{NotFoundPage-BN5unYX8-CqJlv_oy.js → NotFoundPage-BN5unYX8-B80hQ8eO.js} +1 -1
- package/dist/assets/{NotFoundScreen-DxyQKnff.js → NotFoundScreen-BBbILNsa.js} +1 -1
- package/dist/assets/{NotificationRoutes-DqG-dvkw.js → NotificationRoutes-BH_Amwk1.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-d8kHDj0M-Beqgksyi.js → NotificationSettingsPage-d8kHDj0M-2vIf0BRe.js} +1 -1
- package/dist/assets/{NotificationsListConfig-ThKLok_w-B2H6cGPA.js → NotificationsListConfig-ThKLok_w-Bx-0LQ4e.js} +1 -1
- package/dist/assets/{NotificationsPage-Uvu6XESA-B1Rgn8VW.js → NotificationsPage-Uvu6XESA-D1y42vLB.js} +1 -1
- package/dist/assets/{OpExByVendorPage-QyqRkD2_-D5R40Gs5.js → OpExByVendorPage-QyqRkD2_-h8x1NnCW.js} +1 -1
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-C7rxXRm5.js → OverlayContainerPage-BG9y5C0t-B8rQHhtN.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DJ2v5qbE-BEs_yDo8.js → PandLWithForecastPage-DJ2v5qbE-BgEHjFpy.js} +1 -1
- package/dist/assets/{PandLWithForecastRoutes-CRImnf0E.js → PandLWithForecastRoutes-CCN_Dopf.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-q5z8XZFC-DgyJWqIO.js → PaymentAccountSetupBillingAddressSection-q5z8XZFC-IYhUlGT-.js} +1 -1
- package/dist/assets/{PeoplePage-C5ZdpVyR-DYtjpv4S.js → PeoplePage-C5ZdpVyR-DA1lsmrN.js} +1 -1
- package/dist/assets/{PeopleRoutes-BODLG-b6.js → PeopleRoutes-BLNrKR-x.js} +1 -1
- package/dist/assets/{PerformanceRoutes-BqLOjKSO.js → PerformanceRoutes-BBydKp8A.js} +1 -1
- package/dist/assets/{ProductsCarousel-CXjLTOLy-BLUY71s0.js → ProductsCarousel-CXjLTOLy-2QbHSm9u.js} +1 -1
- package/dist/assets/{PromoBaseCards-CN9uZfG4-BbNgX9Bb.js → PromoBaseCards-CN9uZfG4-CB2JkJIv.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-CXSi1Pd9-dALyjXGw.js → QBOConnectionDialog-CXSi1Pd9-CSvewQW2.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-Ac9DU04j.js → QBOConnectionScreen-tSJfFhQn.js} +1 -1
- package/dist/assets/{QBOSetupSection-BrtLMvEP-DHfwqwJo.js → QBOSetupSection-BrtLMvEP-D5Os1BGx.js} +1 -1
- package/dist/assets/{ReferralListScreen-BaUv0jQW.js → ReferralListScreen-CJqU7RxZ.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-B3As-zjk.js → ReimbursementApprovalRoutes-BHsHN-u_.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CS1BQ7pL-DnepdUba.js → ReimbursementApprovalRuleDetailPage-CS1BQ7pL-_lY11RDq.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-gUYecGxU.js → ReimbursementApprovalRuleDetailScreen-Bs2ple33.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-aLRkhkZB-BEmJZKcM.js → ReimbursementApprovalRulesPage-aLRkhkZB-CV07eSYp.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-Dr5BTvEq-mnlxt9h1.js → ReimbursementDetailPage-Dr5BTvEq-DM2tEzQB.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-C5Z0mVhQ-nERw0M4a.js → ReimbursementPromoPage-C5Z0mVhQ-Dq3UPRZ3.js} +1 -1
- package/dist/assets/{ReimbursementRoutes-vASJxFJ_.js → ReimbursementRoutes-iv71wb2Z.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-CXhOBErm-CR6Shq7r.js → ReimbursementSetUpPage-CXhOBErm-BnZZWQ1W.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CA0n0mau-Dwnq8e4l.js → ReimbursementsBulkReviewDrawerPage-CA0n0mau-Bq7X2QJa.js} +1 -1
- package/dist/assets/{ReloadCard-Bjp8ygC2-fExG7Dij.js → ReloadCard-Bjp8ygC2-DsEbxw3o.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-DTk1dNWC-tS3w4hoK.js → ReportTableViewSelector-DTk1dNWC-QFtHZK4J.js} +1 -1
- package/dist/assets/{ReportsPage-DrjOGopt-CEvm9-2-.js → ReportsPage-DrjOGopt-xwTAFZ82.js} +1 -1
- package/dist/assets/{ReportsRoutes-DYYeCY0N.js → ReportsRoutes-BhpH3vEG.js} +1 -1
- package/dist/assets/{RevenueChart-CqGvXDr4-BYM89H6k.js → RevenueChart-CqGvXDr4-BDXPrwnC.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-CWBP7FBN-D5XTlGGP.js → ReviewDetailsPage-CWBP7FBN-XuXg3BcA.js} +1 -1
- package/dist/assets/{ReviewOverlay-Cxkp85Kw-DWi1LLwl.js → ReviewOverlay-Cxkp85Kw-BxuvLEpC.js} +1 -1
- package/dist/assets/{RewardsRoutes-BcQjimjg.js → RewardsRoutes-CGI6v1LD.js} +1 -1
- package/dist/assets/{RoleWithToolTip-CqLxmtj6-BxFgYmxI.js → RoleWithToolTip-CqLxmtj6-Rnjw9i_g.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CYvlB3Nf-BjmGalLA.js → ScheduleDetailsFixedAssetsPage-CYvlB3Nf-DLsNuhIe.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-CZXJ15tN-Cvz9LjHh.js → ScheduleDetailsPage-CZXJ15tN-DK-Vvm5e.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-DNPID_7F-Dpy7XGsr.js → ScheduleSequenceTable-DNPID_7F-Bz8d2Fhy.js} +1 -1
- package/dist/assets/{ScreenRoutes-DMiG7sGl.js → ScreenRoutes-B0gKACTz.js} +2 -2
- package/dist/assets/{SetUpAccountSection-_WPR-q2V-D1in60I8.js → SetUpAccountSection-_WPR-q2V-BVzNpUbf.js} +1 -1
- package/dist/assets/{SettingsRoutes-Cq0IT0xM.js → SettingsRoutes-BrokioTP.js} +1 -1
- package/dist/assets/{SetupPagesScreen-By_64UnM.js → SetupPagesScreen-BiJM7znn.js} +1 -1
- package/dist/assets/{SignIn-CDEsZw_T-CdZG3KKx.js → SignIn-CDEsZw_T-BhKsIiWi.js} +1 -1
- package/dist/assets/{SignInScreen-BbMIUMVO.js → SignInScreen-CRHQkOWq.js} +1 -1
- package/dist/assets/{SignOutScreen-D0CN7EZM.js → SignOutScreen-CSmP5G0L.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-MOCWuROI-B6XDQZbP.js → SpendManagementListViewPage-MOCWuROI-DdkFjcW6.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-BeK0SCeE-uu94FLdi.js → SpendManagementPerTabPage-BeK0SCeE-DPZd4om4.js} +1 -1
- package/dist/assets/{SpendManagementSection-DZFPfKNi-a6NNMz0d.js → SpendManagementSection-DZFPfKNi-DT0rYb2P.js} +1 -1
- package/dist/assets/{StatementItem-DjvU5wiI-BbvkEOCR.js → StatementItem-DjvU5wiI-DmQsj9gw.js} +1 -1
- package/dist/assets/{StatementsPage-DYLp_e7W-DQJFRbex.js → StatementsPage-DYLp_e7W-CYuAqH_I.js} +1 -1
- package/dist/assets/{StatusSwitcher-jxaonB4S-BRWCrppB.js → StatusSwitcher-jxaonB4S-Cxq2Q9_V.js} +1 -1
- package/dist/assets/{SubTabSwitcher-CudjNlsi-B0ZvqQ02.js → SubTabSwitcher-CudjNlsi-D6kvvomf.js} +1 -1
- package/dist/assets/{SuccessAnimation-DE_x1Zz_-CSRw6QzL.js → SuccessAnimation-DE_x1Zz_-AQ5Y5JIA.js} +1 -1
- package/dist/assets/{SummaryCard-DPOhBmkr-Bkvd2_eX.js → SummaryCard-DPOhBmkr-Cv-w5fsm.js} +1 -1
- package/dist/assets/{TaskDetailPage-CXexRKAY-PJYd8Hc8.js → TaskDetailPage-CXexRKAY-BOPspi-s.js} +1 -1
- package/dist/assets/{TaskListScreen-D5r5oVZW.js → TaskListScreen-B0RVzFet.js} +1 -1
- package/dist/assets/{TaskManagementPage-CTMoHv0R-DqoYVk-e.js → TaskManagementPage-CTMoHv0R-BGb6WsaA.js} +1 -1
- package/dist/assets/{TaskRoutes-ByOGwdlB.js → TaskRoutes-vmd5uItQ.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-SqY2MHGs-vaeYYQAs.js → TimeRangeSwitcher-SqY2MHGs-ChpZHeuG.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-BlJ2fuHy-C0bwk8vS.js → TimeframeSwitcher-BlJ2fuHy-JP2UlRBY.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-Dgc1odUH-6AO25YrU.js → TimeframeSwitcherWithToggle-Dgc1odUH-ChrHPbvN.js} +1 -1
- package/dist/assets/{TopExCard-CG8YLsYe-Dhi0dyPE.js → TopExCard-CG8YLsYe-B5wqJJSw.js} +1 -1
- package/dist/assets/{TopExDetailPage-TvYCbzSP-CwBViHGc.js → TopExDetailPage-TvYCbzSP-CTOCVsET.js} +1 -1
- package/dist/assets/{TransactionActivityLogPage-BL3vEAdU-CS7vD3qG.js → TransactionActivityLogPage-BL3vEAdU-Bk3OacNa.js} +1 -1
- package/dist/assets/{TransactionDetailPage-DUouBL0o-BaXoqvey.js → TransactionDetailPage-DUouBL0o-DkOa5f2H.js} +1 -1
- package/dist/assets/{TransactionDetailRoutes-B-UBtWLp.js → TransactionDetailRoutes-D5_-HF2Q.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-B7XWRVbF.js → TransactionDetailScreen-DHwJH1ZP.js} +1 -1
- package/dist/assets/{TransactionList-B16NONME-CRFiM4VM.js → TransactionList-B16NONME-xM0VK0uD.js} +1 -1
- package/dist/assets/{TransactionListBig-CItPbTRV-UNSverIa.js → TransactionListBig-CItPbTRV-BpUwrWyu.js} +1 -1
- package/dist/assets/{TransactionListPage-DNecYY8M-BHlckINI.js → TransactionListPage-DNecYY8M-ptahFcY0.js} +1 -1
- package/dist/assets/{TransactionListRoutes-CMu9kV3q.js → TransactionListRoutes-DIJ_fkWS.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-DpqisXN8-D2bHcxtn.js → TransactionVendorDetailPage-DpqisXN8-wU2wHv2K.js} +1 -1
- package/dist/assets/{TransferDrawerPage-Dsmbswu0-uDwjyCTF.js → TransferDrawerPage-Dsmbswu0-DFQDwnPy.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-BcRpcYmB-OKQJLbcE.js → TreasuryOverviewPage-BcRpcYmB-DwdLr4Xt.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-DOO_OMRa-8BGrxptq.js → TreasuryPromoPage-DOO_OMRa-uzWYBUzW.js} +1 -1
- package/dist/assets/{TreasuryRoutes-Cb-myn_k.js → TreasuryRoutes-BfRwxvKx.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-A_U7bEy5-CYr3tH5Z.js → TreasuryStatementsPage-A_U7bEy5-C1uv8XvN.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-BsJn-BgX-D1G4s_HP.js → TreasuryTaxLetterPage-BsJn-BgX-Dcdm_qTO.js} +1 -1
- package/dist/assets/{TrendChart-GMMat-NG-DkIjx5iX.js → TrendChart-GMMat-NG-BewK0MCc.js} +1 -1
- package/dist/assets/{TrendWithTransactions-CrA4opNV-BCS_tNQW.js → TrendWithTransactions-CrA4opNV-B_vQq65J.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-CrzbFGOi-7c9nQkHm.js → UncategorizedAccountsMappingPage-CrzbFGOi-BDtcuYej.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-XZY6zJa7-Bog6bLZs.js → UnitIntegrationPage-XZY6zJa7-D8B46vcm.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-eqwSLigx-Cfv8NRXy.js → UploadAdditionalDocumentOverlay-eqwSLigx-kRVMQYF-.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BHDivuPB-CB8oiip3.js → Vendor2FAPopup-BHDivuPB-D7ySxcXF.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-DJ4Crnr0-ChbQ_fot.js → VendorACHDetailsPage-DJ4Crnr0-BgbOpk55.js} +1 -1
- package/dist/assets/{VendorDetailPage-DEu-yS8w-BHxBRvla.js → VendorDetailPage-DEu-yS8w-BhFmuJot.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-WFcOmpiN-0MxyPK7N.js → VendorDomesticWireDetailsPage-WFcOmpiN-DCXCuX-V.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-C461SzO0-Cw1duzzR.js → VendorFiling1099EditablePage-C461SzO0-CCIZoPU6.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-klbCHS04-yDjeltgT.js → VendorFirstReviewPage-klbCHS04-UP-04u7X.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-DY0V-VbO-BJcPP-gp.js → VendorInternationalWireDetailsPage-DY0V-VbO-Dl3hBhoD.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-B8sx02I_-CFJY5gem.js → VendorInternationalWireSwiftDetailsPage-B8sx02I_-h6qnY29-.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-Cqcr-ArD-BIHA7sqx.js → VendorsAccountsSection-Cqcr-ArD-CzW5lMfP.js} +1 -1
- package/dist/assets/{VendorsRoutes-CgJOnYMS.js → VendorsRoutes-DLnvF6hR.js} +1 -1
- package/dist/assets/{VerifyDevice-Dhu5iywf-CpE-kgrB.js → VerifyDevice-Dhu5iywf-cUES-VE2.js} +1 -1
- package/dist/assets/{VideoPlayer-ZGjx_Hp7-BHgQYkml.js → VideoPlayer-ZGjx_Hp7-CjY3r1rL.js} +1 -1
- package/dist/assets/{VideoPopup-R3u0N_if-SR7jlWFi.js → VideoPopup-R3u0N_if-CaG3EJQq.js} +1 -1
- package/dist/assets/{WiseConfirmationScreen-BTkxegx5.js → WiseConfirmationScreen-CT86mZ0i.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-DQB7sXU9-ZmSVhLSw.js → ZeniAccountDetailPage-DQB7sXU9-CZEM5xVV.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-BwXKgf6g-Ctizh7he.js → ZeniAccountListViewPage-BwXKgf6g-FfpOzmd6.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-CHUTFAWG-BmLRxXwk.js → ZeniAccountNavBarPieces-CHUTFAWG-v671evv-.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-BkfJuMNV-Ckl9m4pN.js → ZeniAccountPromoPage-BkfJuMNV-CmI6f_1i.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-D71bZRux.js → ZeniAccountRoutes-bnzTspvl.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-C3drM4Zs-B_sQz9qJ.js → ZeniAccountSetupPage-C3drM4Zs-CvpINFn4.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-BI6AQKJr.js → ZeniAccountStatementScreen-B5KsFobU.js} +1 -1
- package/dist/assets/{ZeniAvatar-C38T0-5--BSN8GGLN.js → ZeniAvatar-C38T0-5--BM3XjRcp.js} +1 -1
- package/dist/assets/{ZeniCopyright-CznSgVJF-B8RRSTgM.js → ZeniCopyright-CznSgVJF-BhclYMa4.js} +1 -1
- package/dist/assets/{ZeniDatePicker-Bw9RlgoL-BmT27weB.js → ZeniDatePicker-Bw9RlgoL-DDQaNsVY.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-C77DEl-C-CruP3RMa.js → ZeniTransferAmountSlider-C77DEl-C-CYKYiLaT.js} +1 -1
- package/dist/assets/{analyticsHelper-Bh8o1v3y-DbxZaMDt.js → analyticsHelper-Bh8o1v3y-erbhoWbk.js} +1 -1
- package/dist/assets/{analyticsHelper-BtB7CtC3.js → analyticsHelper-CsyUSML_.js} +1 -1
- package/dist/assets/{calculateSize-QoQyn_Ku-BQL_mWcG.js → calculateSize-QoQyn_Ku-j5kLdf_t.js} +1 -1
- package/dist/assets/{chartTypes-C14YY2Rq--XZc2xV6.js → chartTypes-C14YY2Rq-mIXPNQxz.js} +1 -1
- package/dist/assets/{common-Cu5K0AJk-Cxd55kqL.js → common-Cu5K0AJk-BihNw_Do.js} +1 -1
- package/dist/assets/{commonDimensions-CVpc-NCw-CA0m656N.js → commonDimensions-CVpc-NCw-xOjrok2-.js} +1 -1
- package/dist/assets/{commonTypes-Ec-PxfpT-DzRDGsuT.js → commonTypes-Ec-PxfpT-DZ1xbinn.js} +1 -1
- package/dist/assets/{downloadPdf-BuPJ6cfr-Bn04BzVs.js → downloadPdf-BuPJ6cfr-Cy2ZBk4z.js} +1 -1
- package/dist/assets/{getLocaleForTenant-dwEXf4rX.js → getLocaleForTenant-DLrlmQCo.js} +1 -1
- package/dist/assets/{helper-AgH8nJln-BDBxe9FK.js → helper-AgH8nJln-DNDXfXpF.js} +1 -1
- package/dist/assets/{index-CuxRoVvZ.js → index-mhb15COx.js} +458 -458
- package/dist/assets/{mapLoadingInProgressToTreeNode-DTyQHWMc-tj_AEx0m.js → mapLoadingInProgressToTreeNode-DTyQHWMc-BqMSzUiy.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D7pjBGp6-bV4CDhWS.js → mapSectionWithAcOnlyToTreeNode-D7pjBGp6-BMY0vZTn.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-Cd4FCXAf-9PB61B4X.js → mapSpacerToTreeNode-Cd4FCXAf-C6nWwAzP.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Drhl_lnP-DCqw81Fp.js → mapTimeframeBalancesToTreeNode-Drhl_lnP-BDA52mbW.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-UsawmMLa-CPc-fd5T.js → mapTimeframeBalancesToTreeNode-UsawmMLa-DrvNkcA6.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-BaY2mTy_.js → mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-DHD18LN5.js} +1 -1
- package/dist/assets/{routePaths-CkO80-xL.js → routePaths-CDVBEe6a.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-wh35N3no-D_L2t0iR.js → toCOABalancesWithID-wh35N3no-2SjovFHm.js} +1 -1
- package/dist/assets/{toChartData-G5y-N82I-CpDZEMyX.js → toChartData-G5y-N82I-HPFXqzd4.js} +1 -1
- package/dist/assets/{uploadAttachment-RbkIBMGO-DWkpV7gc.js → uploadAttachment-RbkIBMGO-BHEoxgsX.js} +1 -1
- package/dist/assets/{uploadReceipts-CIgkuVpu-BxCHb2mc.js → uploadReceipts-CIgkuVpu-BPECKX43.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-CtiCksTW.js → useInitialThreadRequest-Dldme96o.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-DXYKCsTM.js → withTransactionSidePanel-DBF40Qih.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--zNlFTkjO.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as i}from"./pdf-DwfifS04.js";import{j as z,i as ne,h as G,l as V,u as B,N as F,k as H,g as Xe,R as Je,m as E}from"./core-CaikJZHD.js";import{ct as N,LO as ae,bE as se,ye as ve,gW as Ye,LP as et,bm as ie,dp as ke,LQ as tt,I9 as nt,Ia as de,Ib as at,fI as st,L4 as it,fX as rt,y2 as ot,pc as mt,fP as lt,yO as Ae,LR as Ce,LS as ct,LT as ut,LU as dt,LV as pt,yr as bt,LW as gt,yy as pe,g1 as ht,Ld as St,ys as yt,yc as ft,LX as It,yb as Rt,LY as vt,yk as be,yC as kt,yB as At,yx as Ct,yq as Et,LZ as Ee,Dr as Bt,bn as xt,yn as Tt,z4 as wt,L_ as Dt,L$ as jt,yK as Lt,yH as ge,Kz as Ft,y9 as Ut,M0 as Be,zt as he,zB as Mt,M1 as Pt,M2 as _,M3 as _t,M4 as xe,M5 as $t,M6 as Te,M7 as we,yW as Y,bq as Nt,G5 as re,bL as oe,cA as De,cy as je,M8 as Ot,eg as Gt,KM as zt,M9 as Ht,Ma as Le,KQ as Zt,Ly as Wt,Mb as Vt,LN as Kt,zy as Se,zx as qt,Mc as Qt,Md as Xt,Me as Jt,Mf as Yt,Mg as en,Lj as tn,zo as nn,zs as an,bt as sn,FX as rn,FY as on,F5 as mn,F4 as ln,Hb as cn,bM as un,bO as dn,bN as pn,bK as bn}from"./zeni-epic-state-lC5X-sam.js";import{y as K,N as Fe,aE as q,aG as v,js as j,jQ as Z,o as me,bj as Q,jz as k,lA as gn,kv as Ue,jO as $,lB as hn,_ as X,lC as Sn,e as yn,k2 as fn,x as In,J as Me,O as Rn,k9 as vn,l4 as kn,k4 as An,lD as Cn,kc as En}from"./index-CuxRoVvZ.js";import{n as Pe,S as Bn}from"./mui-G2MlMTlr.js";import ee from"./NotFoundScreen-DxyQKnff.js";import{S as ye}from"./SetupPagesScreen-By_64UnM.js";import{F as _e}from"./FeaturePreviewScreen-DcXxWeeZ.js";import{a as f}from"./sentry-Cm8I7E9J.js";import{u as $e}from"./useInitialThreadRequest-CtiCksTW.js";import{D as xn}from"./DrawerScreen-C_1QezB2.js";import{M as Ne}from"./MobileAppDrawer-D4KAg1N8.js";import{R as Tn}from"./ReimbursementApprovalRoutes-B3As-zjk.js";import{FallBackRoute as wn}from"./ScreenRoutes-DMiG7sGl.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./analyticsHelper-BtB7CtC3.js";import"./routePaths-CkO80-xL.js";import"./BusinessVerificationPageScreen-BKBP5CJh.js";import"./ReimbursementApprovalRuleDetailScreen-gUYecGxU.js";import"./getLocaleForTenant-dwEXf4rX.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]="be7e98be-38ba-4610-a70a-6a806e47521a",e._sentryDebugIdIdentifier="sentry-dbid-be7e98be-38ba-4610-a70a-6a806e47521a")}catch{}})();const Oe=e=>`/${e}/reimbursements`,Dn=H(function(e,t){const n=t.currentTenant?.companyId,o=et(e.plaidAccountViewState,"user_reimbursement_account"),l=j.getSignedInUser(),u=ie(l),c=o.plaidConnectionDetails,r=ke(e.companyState,n),a=e.tenantState.currentTenantId,s={userId:l?.userId??"",sessionId:l?.zeniSessionId??"",tenantId:a??""},m=ae(e,t.reimbursementId),d=tt(e,l?.userId??"");let I=`${l?.firstName} ${l?.lastName}`,g=!0;t.reimbursementId!=null&&(I=`${m.createdBy?.firstName??"Zeni"} ${m.createdBy?.lastName??""}`,g=l?.userId===m.createdBy?.userId);const x=e.entityAutoCompleteState?.autoCompleteText?.common,p=nt(e,"common");return{remiDetails:m,uploadInvoiceEndPoint:`${Ue.communicationAgentMicroServiceBaseUrl}`,reimbursementId:t.reimbursementId,customerSearchAutoCompleteData:{autoCompleteText:x,entityAutoCompleteView:p},authParams:s,defaultCurrency:{currencySymbol:r?.company.companyLocaleInfo.currencySymbol??"$",currencyCode:r?.company.companyLocaleInfo.currencyCode??"USD"},companyMileageConfigInfo:r?.company.configInfo.mileageRateConfig,createdBy:I,isUserAdmin:se(t.currentTenant?.userRole??[]),isZeniUser:u,plaidConnectionDetails:c,bankNameByRouting:m.bankNameByRouting,bankAccountCreationState:d.bankAccountCreationState,bankAccounts:d.bankAccounts,analytics:k,bankAccountToCreate:m.bankAccountToCreate,fetchBankNameByRoutingStatus:m.fetchBankNameByRoutingStatus,isSignedInUserReimbursementCreator:g}},function(e,t){const{reimbursementId:n,currentTenant:o,location:l,navigate:u,themeState:c}=t,{tenantEmailDomain:r}=o,a=j.getSignedInUser();return{onReceiptsUpload:(s,m,d)=>{s!=null&&e(Et(s,m,d,n,a?.userId))},onExistingMerchantChange:(s,m)=>{e(be(!1,m,n,s,void 0))},fetchDuplicateReimbursement:()=>{a?.userId!=null&&e(Ct(a.userId,!0,n))},clearDuplicateReimbursementDetail:()=>{e(At())},clearRemiSaveStatus:()=>{e(kt("Not-Started",n))},onDuplicateLineClick:(s,m)=>window.open(`/${r}/reimbursement/${s}#L${m}`),onNewMerchantChange:(s,m)=>{e(be(!1,m,n,void 0,s))},removeFileFromLine:s=>{e(vt({lineId:s,reimbursementId:n}))},onAmountChanged:(s,m)=>{e(Rt(m,s,n))},updateReimbursementType:(s,m,d)=>{e(It({reimbursementId:d,lineId:m,reimbursementType:s}))},onHomeCurrencyConversionUpdate:(s,m,d)=>{e(ft({reimbursementId:d,lineId:m,amountPayload:{amount:s.amount,currency_code:s.currencyCode,currency_symbol:s.currencySymbol}}))},onReimbursementDetailsChanged:s=>{e(yt({remiDetailLocalData:s,reimbursementId:n}))},saveRemiDetails:s=>{e(pe(s,!1,n))},onUserBankDetailsUpdated:s=>{const{bankAccountSection:m}=s;e(St({data:m}))},onFetchBankName:s=>{e(ht(s))},submitRemiDetails:()=>{e(pe("pending_approval",!0,n))},discardReimbursementDetailsFromLocalStore:s=>{e(gt({reimbursementId:s}))},updateInvoiceUploadFetchState:s=>{e(bt({reimbursementId:n,fetchState:s}))},clearTentativeNameForLine:s=>{e(pt({reimbursementId:n,lineId:s}))},removeDuplicateReimbursementForLine:s=>{e(dt({lineId:s}))},onZeniLogoClick:()=>{c.toggle()},clearAddRemiAutoFields:s=>{e(ut({reimbursementId:n,lineId:s}))},redirectToReimbursementListScreen:()=>{e(Ce()),e(ct());const s=Oe(r),m=$(l.state?.pathnameStackToGoBack,l.pathname);u(s,{state:{pathnameStackToGoBack:m}})},redirectToReimbursementDetailScreen:()=>{t.navigate("../")},deleteReimbursement:()=>{n!=null&&(k.trackReimbursementDeleteReimbursement(n),e(Ae(n)))},onSaveBankAccount:()=>{a?.userId&&e(lt(a?.userId,n))},onFetchLinkTokenClick:s=>{e(mt("user_reimbursement_account",s))},onEstablishConnectionClick:s=>{e(ot(s,o.companyId,"user_reimbursement_account",void 0,"link_account_no_microdeposit"))},deleteBankAccount:s=>{e(rt(s,a?.userId??""))},onBackClickFromBankAccountPage:()=>{e(st({fetchState:"Not-Started"})),e(it())},customerSearchAutoCompleteActions:{onAutoCompleteInputChange:(s,m)=>{s.trim().length>=2?e(at({searchString:s,entityType:m,searchOrigin:"common"})):e(de("common"))},onCancelAutoComplete:()=>{e(de("common"))}}}})(gn);function fe(){const e=z(),t=ne(),n=G(),{reimbursementId:o}=V(),l=K(),u=Fe(),{useFeatureGate:c}=q(),{isFeatureEnabled:r}=c(v.isLimitedCategoryForReimbursement),{isFeatureEnabled:a}=c(v.isShowDeletedReimbursementsFeatureEnabled),{isFeatureEnabled:s}=c(v.isReimbursementCommentingEnabled),m=G().pathname,d=m.includes("edit"),I=m.includes("reimbursement/new"),[g,x]=f.useState(!1),p=j.getSignedInUser(),A=B(h=>N(h)),b=B(h=>ae(h,o)),y=$e(A?.companyId,{clearParams:b.fetchState==="Completed"}),T=se(A?.userRole??[]);f.useEffect(()=>{(I&&!g||d&&b.fetchState!="Completed"&&b.fetchState!="In-Progress")&&(x(!0),t(ve(!1,r,a,o)))});const R=B(h=>Ye(h.accountState,h.accountListState,"reimbursementAccountList"));if(p==null)throw Error("Can't access address page without signing in...");const w={pathname:`../${o}`,search:n.search};return b.isDeleted===!0||b.billStage=="paid"||b.billStage=="scheduled"||b.fetchState=="Not-Started"||T&&b.billStatus==="rejected"||T===!1&&b.billStage==="pending_approval"&&b.billStatus!=="rejected"?i.jsx(F,{to:w}):b.deleteStatus.fetchState==="In-Progress"||b.fetchState!=="Completed"?i.jsx(Z,{style:{backgroundColor:l.colors.grey5,boxShadow:`0px 2px ${me.sp1} ${l.colors.dropShadowNormal}`},fetchState:b.deleteStatus.fetchState}):i.jsxs(i.Fragment,{children:[i.jsx(Q,{analytics:k,onLoad:h=>(D=>{o!=null&&b.deleteStatus.fetchState!=="Completed"&&D.trackReimbursementEditReimbursement(o)})(h)}),i.jsx(Dn,{initialOpenThreadRequest:y??void 0,isReimbursementCommentingEnabled:s,location:n,navigate:e,currentTenant:A,reimbursementId:o,themeState:u,uncategorizedAccounts:R})]})}const jn=H(function(e,t){const n=Ee(e,t.reimbursementId),o=j.getSignedInUser(),l=ie(o),u=e.tenantState.currentTenantId,c={userId:o?.userId??"",sessionId:o?.zeniSessionId??"",tenantId:u??""},r=`${n.createdBy?.firstName??"Zeni"} ${n.createdBy?.lastName??""}`;let a=!1;n?.remiActivities.length>0&&(a=Dt(n.remiActivities,jt(t.currentTenant),o));const s=se(t.currentTenant?.userRole??[]),m=o?.userId===n.createdBy?.userId;return{remiDetails:n,uploadInvoiceEndPoint:`${Ue.communicationAgentMicroServiceBaseUrl}`,authParams:c,signedInUser:o,createdBy:r,isRealTimeApprovalEnabled:t.isRealTimeApprovalEnabled,isAdmin:s,showApproveRejectBtns:a,isZeniUser:l,isSignedInUserReimbursementCreator:m}},function(e,t){const{reimbursementId:n,currentTenant:o,location:l,navigate:u,themeState:c}=t,{tenantEmailDomain:r}=o;return{onDuplicateLineClick:(a,s)=>window.open(`/${r}/reimbursement/${a}#L${s}`),redirectToReimbursementListScreen:()=>{e(Ce());const a=Oe(r),s=$(l.state?.pathnameStackToGoBack,l.pathname);u(a,{state:{pathnameStackToGoBack:s}})},onSaveRealTimeApprovals:a=>{e(Ut(n,"reimbursement",a))},updateEditRealTimeApproverClicked:a=>{e(Ft({isEdit:a,entityId:n,entityType:"reimbursement"}))},approveOrRejectRemi:a=>{a.type==="approved"?e(ge(n,a.type,"")):e(ge(n,a.type,a.description??""))},redirectToEditableReimbursementScreen:()=>{const a=$(l.state?.pathnameStackToGoBack,l.pathname);u("./edit",{state:{pathnameStackToGoBack:a}})},deleteReimbursement:()=>{k.trackReimbursementDeleteReimbursement(n),e(Ae(n))},cancelAndDeleteReport:a=>{a===!0?k.trackReimbursementCancelAndDeleteReimbursement(n):k.trackReimbursementCancelReimbursement(n),e(Lt(n,a))},handleZeniLogoClick:()=>{c.toggle()}}})(hn);function Ln(){const e=z(),t=ne(),n=G(),o=n.hash.substring(1),l=Fe(),{reimbursementId:u}=V(),c=j.getSignedInUser(),r=B(C=>N(C)),a=B(C=>Ee(C,u??"")),s=a.remiDetails?.reimbursementInfo.stage.code==="draft",m=$e(r?.companyId,{clearParams:a.fetchState==="Completed"&&!s}),{useFeatureGate:d}=q(),{isFeatureEnabled:I}=d(v.isLimitedCategoryForReimbursement),[g,x]=f.useState(!1),[p,A]=f.useState(!1),[b,y]=f.useState(!1),{isFeatureEnabled:T}=d(v.isReimbursementCommentingEnabled),{isFeatureEnabled:R}=d(v.isShowDeletedReimbursementsFeatureEnabled),w=B(C=>ae(C,u??"")),h=K(),D=Bt(r),P=xt(r.userRole),L=a.fetchState;if(f.useEffect(()=>{g||u==null?g==1&&L==="Error"&&e("page-not-found",{replace:!0}):(x(!0),t(Tt(u,!1,R)))},[g,u,t,L]),f.useEffect(()=>{R&&a.remiDetails?.isDeleted===!0||r.isZeni===!0&&c?.userEmailDomain==="zeni.ai"&&D===!1?y(!1):y(a.remiActivities[0]?.isRealTimeApprovalEnabled&&(P||a.allApprovers.find(C=>C.user.userId===c?.userId)!=null||a.remiDetails?.lastUpdatedBy===c?.userId))},[a.remiActivities[0]?.isRealTimeApprovalEnabled,a.allApprovers,a.remiDetails?.lastUpdatedBy,P,r.isZeni,D,c]),f.useEffect(()=>{p||a.fetchState!="Completed"||a.remiDetails?.reimbursementInfo.stage.code=="paid"||a.remiDetails?.reimbursementInfo.stage.code=="scheduled"||w.fetchState=="Completed"||w.fetchState=="In-Progress"||(A(!0),t(ve(!1,I,R,u)),a.remiActivities[0]?.isRealTimeApprovalEnabled===!0&&t(wt(!1,!0,!0,a.lastUpdatedByUserId)))},[p,a,u,t]),c==null)throw Error("Can't access address page without signing in...");return a.remiDetails?.reimbursementInfo.stage.code=="draft"&&w.fetchState=="Completed"&&a.remiDetails.isDeleted===!1?i.jsx(F,{to:`./edit${n.search}`}):a.deleteStatus.fetchState==="In-Progress"||a.cancelAndDeleteStatus.fetchState==="In-Progress"||a.remiDetails?.reimbursementInfo.stage.code=="draft"&&w.fetchState!="Completed"||a.fetchState!="Completed"?i.jsx(Z,{fetchState:a.deleteStatus.fetchState,style:{backgroundColor:h.colors.grey5,boxShadow:`0px 2px ${me.sp1} ${h.colors.dropShadowNormal}`}}):i.jsxs(i.Fragment,{children:[i.jsx(Q,{analytics:k,onLoad:C=>(O=>{u!=null&&O.trackReimbursementReimbursementDetails(u)})(C)}),i.jsx(jn,{initialOpenThreadRequest:m??void 0,scrollId:o,isReimbursementCommentingEnabled:T,isShowDeletedReimbursementEnabled:R,location:n,navigate:e,isRealTimeApprovalEnabled:b,currentTenant:r,reimbursementId:u??"",themeState:l})]})}const Fn=H(function(e,t){return{remisReviewView:Be(e),analytics:t.analytics}},function(e,t){return{onCloseOverlay:()=>{t.navigate("./"),e(_())},onCloseReviewItem:n=>{e(Pt(n))},onProceedForBulkActionClick:(n,o)=>{switch(n){case"send_for_approval":e(Mt());break;case"approve":e(he("approved",o??""));break;case"reject":e(he("rejected",o??""))}}}})(Sn);function Un(){const e=z(),t=B(u=>u.remisBulkActionViewState.bulkSubmissionFetchState.fetchState),{remisForReview:n}=B(u=>Be(u)),o=X(),l=o?.loggedInUserRole?.includes("admin")===!0;return f.useEffect(()=>{t!=="Completed"&&n.length!==0||e("./")},[t,n.length]),i.jsx(Fn,{navigate:e,analytics:k,isAdmin:l})}const M=Zt(),Ge="bulk-operation-update",te="reimbursement-approval-rule-update",{spendManagement:Mn,common:Ie}=Rn.getLocalizedStrings(),Re=Mn.reimbursement.bulkActions,Pn=Pe.div`
|
|
1
|
+
import{j as i}from"./pdf-DwfifS04.js";import{j as z,i as ne,h as G,l as V,u as B,N as F,k as H,g as Xe,R as Je,m as E}from"./core-CaikJZHD.js";import{ct as N,LO as ae,bE as se,ye as ve,gW as Ye,LP as et,bm as ie,dp as ke,LQ as tt,I9 as nt,Ia as de,Ib as at,fI as st,L4 as it,fX as rt,y2 as ot,pc as mt,fP as lt,yO as Ae,LR as Ce,LS as ct,LT as ut,LU as dt,LV as pt,yr as bt,LW as gt,yy as pe,g1 as ht,Ld as St,ys as yt,yc as ft,LX as It,yb as Rt,LY as vt,yk as be,yC as kt,yB as At,yx as Ct,yq as Et,LZ as Ee,Dr as Bt,bn as xt,yn as Tt,z4 as wt,L_ as Dt,L$ as jt,yK as Lt,yH as ge,Kz as Ft,y9 as Ut,M0 as Be,zt as he,zB as Mt,M1 as Pt,M2 as _,M3 as _t,M4 as xe,M5 as $t,M6 as Te,M7 as we,yW as Y,bq as Nt,G5 as re,bL as oe,cA as De,cy as je,M8 as Ot,eg as Gt,KM as zt,M9 as Ht,Ma as Le,KQ as Zt,Ly as Wt,Mb as Vt,LN as Kt,zy as Se,zx as qt,Mc as Qt,Md as Xt,Me as Jt,Mf as Yt,Mg as en,Lj as tn,zo as nn,zs as an,bt as sn,FX as rn,FY as on,F5 as mn,F4 as ln,Hb as cn,bM as un,bO as dn,bN as pn,bK as bn}from"./zeni-epic-state-lC5X-sam.js";import{y as K,N as Fe,aE as q,aG as v,js as j,jQ as Z,o as me,bj as Q,jz as k,lA as gn,kv as Ue,jO as $,lB as hn,_ as X,lC as Sn,e as yn,k2 as fn,x as In,J as Me,O as Rn,k9 as vn,l4 as kn,k4 as An,lD as Cn,kc as En}from"./index-mhb15COx.js";import{n as Pe,S as Bn}from"./mui-G2MlMTlr.js";import ee from"./NotFoundScreen-BBbILNsa.js";import{S as ye}from"./SetupPagesScreen-BiJM7znn.js";import{F as _e}from"./FeaturePreviewScreen-CpHWA-St.js";import{a as f}from"./sentry-Cm8I7E9J.js";import{u as $e}from"./useInitialThreadRequest-Dldme96o.js";import{D as xn}from"./DrawerScreen-DtF71b7B.js";import{M as Ne}from"./MobileAppDrawer-D7V2koAX.js";import{R as Tn}from"./ReimbursementApprovalRoutes-BHsHN-u_.js";import{FallBackRoute as wn}from"./ScreenRoutes-B0gKACTz.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./analyticsHelper-CsyUSML_.js";import"./routePaths-CDVBEe6a.js";import"./BusinessVerificationPageScreen-DVGxc_kT.js";import"./ReimbursementApprovalRuleDetailScreen-Bs2ple33.js";import"./getLocaleForTenant-DLrlmQCo.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]="be7e98be-38ba-4610-a70a-6a806e47521a",e._sentryDebugIdIdentifier="sentry-dbid-be7e98be-38ba-4610-a70a-6a806e47521a")}catch{}})();const Oe=e=>`/${e}/reimbursements`,Dn=H(function(e,t){const n=t.currentTenant?.companyId,o=et(e.plaidAccountViewState,"user_reimbursement_account"),l=j.getSignedInUser(),u=ie(l),c=o.plaidConnectionDetails,r=ke(e.companyState,n),a=e.tenantState.currentTenantId,s={userId:l?.userId??"",sessionId:l?.zeniSessionId??"",tenantId:a??""},m=ae(e,t.reimbursementId),d=tt(e,l?.userId??"");let I=`${l?.firstName} ${l?.lastName}`,g=!0;t.reimbursementId!=null&&(I=`${m.createdBy?.firstName??"Zeni"} ${m.createdBy?.lastName??""}`,g=l?.userId===m.createdBy?.userId);const x=e.entityAutoCompleteState?.autoCompleteText?.common,p=nt(e,"common");return{remiDetails:m,uploadInvoiceEndPoint:`${Ue.communicationAgentMicroServiceBaseUrl}`,reimbursementId:t.reimbursementId,customerSearchAutoCompleteData:{autoCompleteText:x,entityAutoCompleteView:p},authParams:s,defaultCurrency:{currencySymbol:r?.company.companyLocaleInfo.currencySymbol??"$",currencyCode:r?.company.companyLocaleInfo.currencyCode??"USD"},companyMileageConfigInfo:r?.company.configInfo.mileageRateConfig,createdBy:I,isUserAdmin:se(t.currentTenant?.userRole??[]),isZeniUser:u,plaidConnectionDetails:c,bankNameByRouting:m.bankNameByRouting,bankAccountCreationState:d.bankAccountCreationState,bankAccounts:d.bankAccounts,analytics:k,bankAccountToCreate:m.bankAccountToCreate,fetchBankNameByRoutingStatus:m.fetchBankNameByRoutingStatus,isSignedInUserReimbursementCreator:g}},function(e,t){const{reimbursementId:n,currentTenant:o,location:l,navigate:u,themeState:c}=t,{tenantEmailDomain:r}=o,a=j.getSignedInUser();return{onReceiptsUpload:(s,m,d)=>{s!=null&&e(Et(s,m,d,n,a?.userId))},onExistingMerchantChange:(s,m)=>{e(be(!1,m,n,s,void 0))},fetchDuplicateReimbursement:()=>{a?.userId!=null&&e(Ct(a.userId,!0,n))},clearDuplicateReimbursementDetail:()=>{e(At())},clearRemiSaveStatus:()=>{e(kt("Not-Started",n))},onDuplicateLineClick:(s,m)=>window.open(`/${r}/reimbursement/${s}#L${m}`),onNewMerchantChange:(s,m)=>{e(be(!1,m,n,void 0,s))},removeFileFromLine:s=>{e(vt({lineId:s,reimbursementId:n}))},onAmountChanged:(s,m)=>{e(Rt(m,s,n))},updateReimbursementType:(s,m,d)=>{e(It({reimbursementId:d,lineId:m,reimbursementType:s}))},onHomeCurrencyConversionUpdate:(s,m,d)=>{e(ft({reimbursementId:d,lineId:m,amountPayload:{amount:s.amount,currency_code:s.currencyCode,currency_symbol:s.currencySymbol}}))},onReimbursementDetailsChanged:s=>{e(yt({remiDetailLocalData:s,reimbursementId:n}))},saveRemiDetails:s=>{e(pe(s,!1,n))},onUserBankDetailsUpdated:s=>{const{bankAccountSection:m}=s;e(St({data:m}))},onFetchBankName:s=>{e(ht(s))},submitRemiDetails:()=>{e(pe("pending_approval",!0,n))},discardReimbursementDetailsFromLocalStore:s=>{e(gt({reimbursementId:s}))},updateInvoiceUploadFetchState:s=>{e(bt({reimbursementId:n,fetchState:s}))},clearTentativeNameForLine:s=>{e(pt({reimbursementId:n,lineId:s}))},removeDuplicateReimbursementForLine:s=>{e(dt({lineId:s}))},onZeniLogoClick:()=>{c.toggle()},clearAddRemiAutoFields:s=>{e(ut({reimbursementId:n,lineId:s}))},redirectToReimbursementListScreen:()=>{e(Ce()),e(ct());const s=Oe(r),m=$(l.state?.pathnameStackToGoBack,l.pathname);u(s,{state:{pathnameStackToGoBack:m}})},redirectToReimbursementDetailScreen:()=>{t.navigate("../")},deleteReimbursement:()=>{n!=null&&(k.trackReimbursementDeleteReimbursement(n),e(Ae(n)))},onSaveBankAccount:()=>{a?.userId&&e(lt(a?.userId,n))},onFetchLinkTokenClick:s=>{e(mt("user_reimbursement_account",s))},onEstablishConnectionClick:s=>{e(ot(s,o.companyId,"user_reimbursement_account",void 0,"link_account_no_microdeposit"))},deleteBankAccount:s=>{e(rt(s,a?.userId??""))},onBackClickFromBankAccountPage:()=>{e(st({fetchState:"Not-Started"})),e(it())},customerSearchAutoCompleteActions:{onAutoCompleteInputChange:(s,m)=>{s.trim().length>=2?e(at({searchString:s,entityType:m,searchOrigin:"common"})):e(de("common"))},onCancelAutoComplete:()=>{e(de("common"))}}}})(gn);function fe(){const e=z(),t=ne(),n=G(),{reimbursementId:o}=V(),l=K(),u=Fe(),{useFeatureGate:c}=q(),{isFeatureEnabled:r}=c(v.isLimitedCategoryForReimbursement),{isFeatureEnabled:a}=c(v.isShowDeletedReimbursementsFeatureEnabled),{isFeatureEnabled:s}=c(v.isReimbursementCommentingEnabled),m=G().pathname,d=m.includes("edit"),I=m.includes("reimbursement/new"),[g,x]=f.useState(!1),p=j.getSignedInUser(),A=B(h=>N(h)),b=B(h=>ae(h,o)),y=$e(A?.companyId,{clearParams:b.fetchState==="Completed"}),T=se(A?.userRole??[]);f.useEffect(()=>{(I&&!g||d&&b.fetchState!="Completed"&&b.fetchState!="In-Progress")&&(x(!0),t(ve(!1,r,a,o)))});const R=B(h=>Ye(h.accountState,h.accountListState,"reimbursementAccountList"));if(p==null)throw Error("Can't access address page without signing in...");const w={pathname:`../${o}`,search:n.search};return b.isDeleted===!0||b.billStage=="paid"||b.billStage=="scheduled"||b.fetchState=="Not-Started"||T&&b.billStatus==="rejected"||T===!1&&b.billStage==="pending_approval"&&b.billStatus!=="rejected"?i.jsx(F,{to:w}):b.deleteStatus.fetchState==="In-Progress"||b.fetchState!=="Completed"?i.jsx(Z,{style:{backgroundColor:l.colors.grey5,boxShadow:`0px 2px ${me.sp1} ${l.colors.dropShadowNormal}`},fetchState:b.deleteStatus.fetchState}):i.jsxs(i.Fragment,{children:[i.jsx(Q,{analytics:k,onLoad:h=>(D=>{o!=null&&b.deleteStatus.fetchState!=="Completed"&&D.trackReimbursementEditReimbursement(o)})(h)}),i.jsx(Dn,{initialOpenThreadRequest:y??void 0,isReimbursementCommentingEnabled:s,location:n,navigate:e,currentTenant:A,reimbursementId:o,themeState:u,uncategorizedAccounts:R})]})}const jn=H(function(e,t){const n=Ee(e,t.reimbursementId),o=j.getSignedInUser(),l=ie(o),u=e.tenantState.currentTenantId,c={userId:o?.userId??"",sessionId:o?.zeniSessionId??"",tenantId:u??""},r=`${n.createdBy?.firstName??"Zeni"} ${n.createdBy?.lastName??""}`;let a=!1;n?.remiActivities.length>0&&(a=Dt(n.remiActivities,jt(t.currentTenant),o));const s=se(t.currentTenant?.userRole??[]),m=o?.userId===n.createdBy?.userId;return{remiDetails:n,uploadInvoiceEndPoint:`${Ue.communicationAgentMicroServiceBaseUrl}`,authParams:c,signedInUser:o,createdBy:r,isRealTimeApprovalEnabled:t.isRealTimeApprovalEnabled,isAdmin:s,showApproveRejectBtns:a,isZeniUser:l,isSignedInUserReimbursementCreator:m}},function(e,t){const{reimbursementId:n,currentTenant:o,location:l,navigate:u,themeState:c}=t,{tenantEmailDomain:r}=o;return{onDuplicateLineClick:(a,s)=>window.open(`/${r}/reimbursement/${a}#L${s}`),redirectToReimbursementListScreen:()=>{e(Ce());const a=Oe(r),s=$(l.state?.pathnameStackToGoBack,l.pathname);u(a,{state:{pathnameStackToGoBack:s}})},onSaveRealTimeApprovals:a=>{e(Ut(n,"reimbursement",a))},updateEditRealTimeApproverClicked:a=>{e(Ft({isEdit:a,entityId:n,entityType:"reimbursement"}))},approveOrRejectRemi:a=>{a.type==="approved"?e(ge(n,a.type,"")):e(ge(n,a.type,a.description??""))},redirectToEditableReimbursementScreen:()=>{const a=$(l.state?.pathnameStackToGoBack,l.pathname);u("./edit",{state:{pathnameStackToGoBack:a}})},deleteReimbursement:()=>{k.trackReimbursementDeleteReimbursement(n),e(Ae(n))},cancelAndDeleteReport:a=>{a===!0?k.trackReimbursementCancelAndDeleteReimbursement(n):k.trackReimbursementCancelReimbursement(n),e(Lt(n,a))},handleZeniLogoClick:()=>{c.toggle()}}})(hn);function Ln(){const e=z(),t=ne(),n=G(),o=n.hash.substring(1),l=Fe(),{reimbursementId:u}=V(),c=j.getSignedInUser(),r=B(C=>N(C)),a=B(C=>Ee(C,u??"")),s=a.remiDetails?.reimbursementInfo.stage.code==="draft",m=$e(r?.companyId,{clearParams:a.fetchState==="Completed"&&!s}),{useFeatureGate:d}=q(),{isFeatureEnabled:I}=d(v.isLimitedCategoryForReimbursement),[g,x]=f.useState(!1),[p,A]=f.useState(!1),[b,y]=f.useState(!1),{isFeatureEnabled:T}=d(v.isReimbursementCommentingEnabled),{isFeatureEnabled:R}=d(v.isShowDeletedReimbursementsFeatureEnabled),w=B(C=>ae(C,u??"")),h=K(),D=Bt(r),P=xt(r.userRole),L=a.fetchState;if(f.useEffect(()=>{g||u==null?g==1&&L==="Error"&&e("page-not-found",{replace:!0}):(x(!0),t(Tt(u,!1,R)))},[g,u,t,L]),f.useEffect(()=>{R&&a.remiDetails?.isDeleted===!0||r.isZeni===!0&&c?.userEmailDomain==="zeni.ai"&&D===!1?y(!1):y(a.remiActivities[0]?.isRealTimeApprovalEnabled&&(P||a.allApprovers.find(C=>C.user.userId===c?.userId)!=null||a.remiDetails?.lastUpdatedBy===c?.userId))},[a.remiActivities[0]?.isRealTimeApprovalEnabled,a.allApprovers,a.remiDetails?.lastUpdatedBy,P,r.isZeni,D,c]),f.useEffect(()=>{p||a.fetchState!="Completed"||a.remiDetails?.reimbursementInfo.stage.code=="paid"||a.remiDetails?.reimbursementInfo.stage.code=="scheduled"||w.fetchState=="Completed"||w.fetchState=="In-Progress"||(A(!0),t(ve(!1,I,R,u)),a.remiActivities[0]?.isRealTimeApprovalEnabled===!0&&t(wt(!1,!0,!0,a.lastUpdatedByUserId)))},[p,a,u,t]),c==null)throw Error("Can't access address page without signing in...");return a.remiDetails?.reimbursementInfo.stage.code=="draft"&&w.fetchState=="Completed"&&a.remiDetails.isDeleted===!1?i.jsx(F,{to:`./edit${n.search}`}):a.deleteStatus.fetchState==="In-Progress"||a.cancelAndDeleteStatus.fetchState==="In-Progress"||a.remiDetails?.reimbursementInfo.stage.code=="draft"&&w.fetchState!="Completed"||a.fetchState!="Completed"?i.jsx(Z,{fetchState:a.deleteStatus.fetchState,style:{backgroundColor:h.colors.grey5,boxShadow:`0px 2px ${me.sp1} ${h.colors.dropShadowNormal}`}}):i.jsxs(i.Fragment,{children:[i.jsx(Q,{analytics:k,onLoad:C=>(O=>{u!=null&&O.trackReimbursementReimbursementDetails(u)})(C)}),i.jsx(jn,{initialOpenThreadRequest:m??void 0,scrollId:o,isReimbursementCommentingEnabled:T,isShowDeletedReimbursementEnabled:R,location:n,navigate:e,isRealTimeApprovalEnabled:b,currentTenant:r,reimbursementId:u??"",themeState:l})]})}const Fn=H(function(e,t){return{remisReviewView:Be(e),analytics:t.analytics}},function(e,t){return{onCloseOverlay:()=>{t.navigate("./"),e(_())},onCloseReviewItem:n=>{e(Pt(n))},onProceedForBulkActionClick:(n,o)=>{switch(n){case"send_for_approval":e(Mt());break;case"approve":e(he("approved",o??""));break;case"reject":e(he("rejected",o??""))}}}})(Sn);function Un(){const e=z(),t=B(u=>u.remisBulkActionViewState.bulkSubmissionFetchState.fetchState),{remisForReview:n}=B(u=>Be(u)),o=X(),l=o?.loggedInUserRole?.includes("admin")===!0;return f.useEffect(()=>{t!=="Completed"&&n.length!==0||e("./")},[t,n.length]),i.jsx(Fn,{navigate:e,analytics:k,isAdmin:l})}const M=Zt(),Ge="bulk-operation-update",te="reimbursement-approval-rule-update",{spendManagement:Mn,common:Ie}=Rn.getLocalizedStrings(),Re=Mn.reimbursement.bulkActions,Pn=Pe.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as Le,e as Ve,a7 as O,T as Ge,c8 as Ze,O as Me,ad as $e,V as i,eI as Je,f as q,x as s,a_ as Xe,L as Ye,A as Ke,eZ as Pe,de as Qe,e_ as ei,aU as ii,d4 as ti,a9 as ni,o as a,f0 as oi,m as n,bH as ai,cc as li,dX as si,f8 as Ae,f9 as je,fH as ri,a as ci,b as Ie,d as De,b8 as di,C as ui,aR as mi}from"./index-
|
|
1
|
+
import{y as Le,e as Ve,a7 as O,T as Ge,c8 as Ze,O as Me,ad as $e,V as i,eI as Je,f as q,x as s,a_ as Xe,L as Ye,A as Ke,eZ as Pe,de as Qe,e_ as ei,aU as ii,d4 as ti,a9 as ni,o as a,f0 as oi,m as n,bH as ai,cc as li,dX as si,f8 as Ae,f9 as je,fH as ri,a as ci,b as Ie,d as De,b8 as di,C as ui,aR as mi}from"./index-mhb15COx.js";import{a as o}from"./sentry-Cm8I7E9J.js";import{n as t}from"./mui-G2MlMTlr.js";import{cg as pi}from"./zeni-epic-state-lC5X-sam.js";import{g as gi}from"./UploadAdditionalDocumentOverlay-eqwSLigx-kRVMQYF-.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="c25d8636-b08e-4e11-ad14-6da9c5ac4dd8",e._sentryDebugIdIdentifier="sentry-dbid-c25d8636-b08e-4e11-ad14-6da9c5ac4dd8")}catch{}})();const hi=e=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M12.7113 3H2.89261C2.39963 3 2 3.39963 2 3.89261V20.8522C2 21.3451 2.39963 21.7448 2.89261 21.7448H12.7113C13.2043 21.7448 13.6039 21.3451 13.6039 20.8522V3.89261C13.6039 3.39963 13.2043 3 12.7113 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M10.4798 13.7113H9.58719C9.3407 13.7113 9.14088 13.9111 9.14088 14.1576V16.8354C9.14088 17.0819 9.3407 17.2817 9.58719 17.2817H10.4798C10.7263 17.2817 10.9261 17.0819 10.9261 16.8354V14.1576C10.9261 13.9111 10.7263 13.7113 10.4798 13.7113Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M21.6374 16.1133C21.6374 16.1961 21.6143 16.2773 21.5708 16.3477C21.5273 16.4182 21.4651 16.4752 21.391 16.5123L19.8522 17.2817V14.6039H21.1911C21.3095 14.6039 21.423 14.6509 21.5067 14.7346C21.5904 14.8183 21.6374 14.9318 21.6374 15.0502V16.1133Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 14.6039V13.265C19.8522 12.5268 22.53 10.1409 22.53 10.1409",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 17.2817V19.9596C19.8522 20.433 19.6641 20.8871 19.3293 21.2219C18.9945 21.5567 18.5404 21.7448 18.067 21.7448C17.5935 21.7448 17.1394 21.5567 16.8046 21.2219C16.4698 20.8871 16.2817 20.433 16.2817 19.9596V7.90935C16.2817 7.55424 16.1407 7.21369 15.8896 6.96259C15.6385 6.7115 15.2979 6.57043 14.9428 6.57043H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M2 10.1409H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M11.3724 4.78528H4.23154C3.98505 4.78528 3.78523 4.9851 3.78523 5.23158V7.90941C3.78523 8.15589 3.98505 8.35571 4.23154 8.35571H11.3724C11.6189 8.35571 11.8187 8.15589 11.8187 7.90941V5.23158C11.8187 4.9851 11.6189 4.78528 11.3724 4.78528Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M9.14088 19.0669H10.9261",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),h={sectionWidth:new s(343,580,726),iconContainerMaxWidthHeight:new s(n[6],n[7]),iconContainerMarginRight:new s(12,n[3]),infoLabelPaddingLeft:new s(n[0],n[3]),iconPadding:new s(10,12),iconWidthHeight:new s(20,n[4]),rowGap:new s(n[2],n[3]),containerPadding:new s(n[3],n[4])},pe={title:new De("standardSemiBold","largeSemiBold"),infoLabel:new De("extraSmallRegular","smallRegular")};function fi({companyMileageConfigInfo:e,mileageDetails:m,analytics:$,style:A,sectionId:P,isActive:d=!0,isDisabled:r,onSaveMileageClick:G}){const l=Ve(),j=Le(),{formState:{errors:Z},trigger:J}=li(),I=xi(P,"mileageAmountInDenomination"),f=si(Z,I),{localData:c,updateStatus:z,mileageStatus:b}=m,R=e?.denominationConversions.amount==null||e.denominationConversions.amount!==c?.mileageAmountInDenomination,{commonSetUp:X,spendManagement:Y}=Me.getLocalizedStrings(),{reimbursement:K}=Y,[C,D]=o.useState(R),[Q,U]=o.useState(!1);o.useEffect(()=>{f||J(I)},[]),o.useEffect(()=>{e?.denominationConversions.amount!=null&&e.denominationConversions.amount===c?.mileageAmountInDenomination&&D(!1)},[e?.denominationConversions.amount]),o.useEffect(()=>{C||U(C)},[C]);const{reimbursementSetup:x}=K,{setUp:ee}=X,ie=C===!1||z.fetchState==="In-Progress"?"readonly":r,te=c&&c?.denominationSymbol?`${c?.denominationSymbol} `:"",ne=c&&c?.mileageUnit?c?.mileageUnit:"";return i.jsxs(yi,{windowSize:l,style:A,isActive:d&&r==null,children:[i.jsxs(Ai,{windowSize:l,children:[x.mileageHeader,d===!1?i.jsx(Di,{children:ee.comingSoon}):null]}),i.jsxs($i,{windowSize:l,children:[i.jsx(ki,{windowSize:l,isDarkMode:j.mode==="dark",children:i.jsx(hi,{width:h.iconWidthHeight.valuePx(l),height:h.iconWidthHeight.valuePx(l)})}),i.jsxs(wi,{children:[i.jsxs(Pi,{children:[i.jsxs(ji,{children:[i.jsxs(Ii,{children:[i.jsx(Ci,{windowSize:l,children:e?.denominationConversions.amount==null?x.mileageAddTitle:x.mileageEditTitle}),i.jsx(Si,{children:x.mileageSubTitle})]}),b!=null&&e?.denominationConversions.amount!=null&&l==="small"?i.jsx(Ae,{style:{width:"max-content",padding:a.sp0,marginTop:a.sp2},tagTitle:b.name,textColor:je(b.code)}):null]}),i.jsxs(bi,{children:[b!=null&&e?.denominationConversions.amount!=null&&l!=="small"?i.jsx(Ae,{style:{width:"max-content"},tagTitle:b.name,textColor:je(b.code)}):null,i.jsx(vi,{})]})]}),i.jsxs(Ei,{children:[i.jsxs(Ti,{children:[i.jsx(ri,{style:{height:a.sp6,textAlign:"left"},inputStyle:{textAlign:"left",paddingRight:a.sp10,backgroundColor:f?void 0:j.colors.background,color:C||f?void 0:j.colors.grey1},isFieldError:f,type:"number",autoFocus:!1,focus:Q,name:I,defaultValue:c?.mileageAmountInDenomination,returnValueType:"floatValue",allowEmptyFormatting:!0,prefix:te,suffix:` ${x.perText} ${ne}`,decimalScale:1,allowNegative:!1,isNumericString:!1,registerOptions:{min:1,validate:E=>E!=null||r!=null,required:r==null},isDisabled:ie}),i.jsx(Vi,{children:C?i.jsx(ci,{label:x.save,"data-testid":Ie("save-mileage"),onClick:()=>{c?.mileageAmountInDenomination!=null&&R&&!f&&G?.(c.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:r!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:z.fetchState==="In-Progress"}):i.jsx(Mi,{isDisabled:r,"data-testid":Ie("edit-mileage"),onClick:E=>{E.stopPropagation(),D(!0),U(!0),$.trackReimbursementMileageRateEdit()}})})]}),c?.description!=null?i.jsx(Li,{size:l,hasError:f,children:f&&e?.defaultMileageUnitAmount!=null?x.yourMileage.replace("__defaultMileageUnitAmount__",(100*e.defaultMileageUnitAmount).toString()):c.description}):null]})]})]})]})}const xi=(e,m)=>`${e}.${m}`,yi=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
pointer-events: ${e=>e.isLoading===!0||e.isActive===!1?"none":"initial"};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as V,fm as M,V as _,bR as W,bS as z,bT as K,iU as G,ag as q,O as H}from"./index-
|
|
1
|
+
import{_ as V,fm as M,V as _,bR as W,bS as z,bT as K,iU as G,ag as q,O as H}from"./index-mhb15COx.js";import{a as b}from"./sentry-Cm8I7E9J.js";import{GK as J}from"./zeni-epic-state-lC5X-sam.js";import{u as Q}from"./ReviewOverlay-Cxkp85Kw-BxuvLEpC.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./mui-G2MlMTlr.js";import"./recharts-3tylCZU1.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="e28442ba-b136-40aa-aa88-1ffd7dd65d9a",e._sentryDebugIdIdentifier="sentry-dbid-e28442ba-b136-40aa-aa88-1ffd7dd65d9a")}catch{}})();const{common:a,spendManagement:{reimbursement:B}}=H.getLocalizedStrings(),n=B.bulkActions;let R;const _e=({remisReviewView:e,isAdmin:o,analytics:s,onProceedForBulkActionClick:d,onCloseReviewItem:m,onCloseOverlay:t})=>{const{fetchState:i,bulkSubmissionFetchState:l,bulkOperationTypeSelected:r,currentTab:f,currentSubTab:g}=e,y=!1,T=V(),p=M(T),[v,u]=b.useState(!1),[h,A]=b.useState(P(e,y,o,p)),[w,D]=b.useState(y),[j,Z]=b.useState(0),[S,F]=b.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});b.useEffect(()=>(j===h.length&&w&&(D(!1),clearInterval(R)),e.fetchState==="Completed"&&A(P(e,!1,o,p)),()=>{clearInterval(R)}),[h.length,j,w,e.fetchState,y,e,o,p]);const $=h.length,x=h.filter(c=>c.reviewStatus.code!=="error").length,E={onOkClick:c=>{u(!1);const I=e.remisForReview.map(k=>k.reimbursement);s.trackReimbursementBulkPopupConfirm(r,f,g,J(I.map(k=>k?.reimbursementTypesIncluded??[]))),d("reject",c)},onCancelClick:()=>{u(!1)}},{title:O,description:U}=Y(i,x,$,w),C=e.fetchState==="Completed"&&x===0,L=()=>{s.trackReimbursementBulkSubmit(r,f,g),d(r)},N={label:r==="send_for_approval"?a.texts.goBack:a.footer.reject,isDisabled:r!=="reject"&&l==="In-Progress",isLoading:r==="reject"&&l==="In-Progress",reverseSpinnerColor:!1,onClick:r==="send_for_approval"?t:()=>{const{title:c,description:I}=X(x);F({type:"reject",title:c,description:I,primaryButtonText:a.texts.confirm,secondaryButtonText:a.texts.close}),s.trackReimbursementBulkSubmit(r,f,g),u(!0)},style:r==="approve"?{minWidth:"92px"}:{}};return _.jsxs(_.Fragment,{children:[v?_.jsx(W,{titleComponent:_.jsx(K,{children:S.title}),descriptionComponent:_.jsx(z,{children:S.description}),primaryButtonText:S.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:S.secondaryButtonText,action:E,isNotesIncluded:!0,isEditPopup:!0}):null,_.jsx(Q,{title:O,description:{content:U,isError:e.fetchState==="Completed"&&x===0},reviewItems:h,onCloseReviewItem:m,onCloseOverlay:t,showFooter:e.fetchState==="Completed"&&!w,footerProps:{primaryButton:(()=>{let c=a.footer.approve;return C?c=a.texts.close:r==="send_for_approval"&&(c=a.footer.submit),{label:c,isDisabled:i!=="Completed"||r==="reject"&&l==="In-Progress",isLoading:l==="In-Progress"&&(r==="send_for_approval"||r==="approve"),onClick:C?t:L,style:r==="send_for_approval"?{minWidth:"92px"}:{}}})(),cancelButton:N,hideCancel:C}})]})},P=(e,o,s,d)=>{const m=e.fetchState==="In-Progress";return e.remisForReview.map(t=>{const i=G(s,t.submittedBy,d);return{id:t.transactionId,leftSideText:{title:t.reimbursement?.reportTitle!=null?t.reimbursement.reportTitle:B.reimbursementDetail.newReimbursementTitle,subTitle:i!=null?`${a.by} ${i?.firstName} ${i?.lastName}`:a.strings.empty},rightSideText:{title:q("0,0.[00]",t.reimbursement?.amount?.amount,t.reimbursement?.amount?.currencySymbol),showThunderIcon:!1,subTitle:t.reviewInfoMessage??""},reviewStatus:{isLoading:m,code:t.reviewStatus??""}}})},X=e=>{const{this_:o,these:s,report:d,reports:m,payment:t,payments:i}=a.texts;return e>1?{title:n.popUps.reject.title.replace("__report__",n.reports),description:n.popUps.reject.description.replaceAll("<_this_>",s).replaceAll("<_payment_>",i).replaceAll("__report__",m)}:{title:n.popUps.reject.title.replace("__report__",n.report),description:n.popUps.reject.description.replaceAll("<_this_>",o).replaceAll("<_payment_>",t).replaceAll("__report__",d)}},Y=(e,o,s,d)=>{const{has:m,have:t,report:i,reports:l,are:r,is:f,do_:g,does:y}=a.texts,T=o>1,p=s>1;let v="",u="";return e!=="Completed"||d?(v=n.reviewPage.reportsReviewing.title.replace("__report__",p?l:i),u=n.reviewPage.reportsReviewing.description.replace("__report__",p?l:i)):(v=n.reviewPage.reportsReviewed.title.replace("__report__",p?B.bulkActions.reports:n.report).replace("<_has_>",p?t:m),u=o===0?n.reviewPage.reportsReviewed.descriptionError.replace("__report__",p?l:i).replace("<_do_>",p?g:y):`${o}/${s} ${n.reviewPage.reportsReviewed.description.replace("__report__",s>1?l:i).replace("<_is_>",T?r:f)}`),{title:v,description:u}};export{_e as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as h,V as r,a4 as a,an as f,am as m,O as y,b as j,aa as l,b0 as g,C as u,o as c}from"./index-
|
|
1
|
+
import{y as h,V as r,a4 as a,an as f,am as m,O as y,b as j,aa as l,b0 as g,C as u,o as c}from"./index-mhb15COx.js";import{n as s}from"./mui-G2MlMTlr.js";import{a as d}from"./sentry-Cm8I7E9J.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="db413ffe-96a3-45e6-a289-13f06584e962",e._sentryDebugIdIdentifier="sentry-dbid-db413ffe-96a3-45e6-a289-13f06584e962")}catch{}})();function w({backgroundColor:e,foregroundColor:o,animated:t,width:n,height:i}){return r.jsxs(g,{speed:2,width:n,height:i,viewBox:`0 0 ${n} ${i}`,animate:t!=0,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"64",y:"0",rx:"4",ry:"4",width:""+(n-128),height:"21"}),r.jsx("rect",{x:"24",y:"45",rx:"4",ry:"4",width:""+(n-48),height:"228"})]})}function p({backgroundColor:e,foregroundColor:o,animated:t}){return r.jsxs(g,{speed:2,width:240,height:98,viewBox:"0 0 240 98",animate:t!=0,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"66",y:"0",rx:"4",ry:"4",width:"108",height:"21"}),r.jsx("rect",{x:"44",y:"77",rx:"4",ry:"4",width:"152",height:"21"}),r.jsx("rect",{x:"0",y:"29",rx:"4",ry:"4",width:"240",height:"40"})]})}const x=s(l)`
|
|
2
2
|
justify-content: flex-start;
|
|
3
3
|
`;function E({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx(p,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o})})})}function T({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx("div",{style:{width:"100%",height:"100%"},children:r.jsx(f,{children:({height:n,width:i})=>r.jsx(w,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o,width:i,height:n})})})})})}const C=s(l)`
|
|
4
4
|
justify-content: space-between;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as X,e as de,bF as fe,T as be,V as t,k as xe,bG as te,A as ye,x as S,a9 as _e,o as r,bH as we,H as he,O as ee,bI as $e,C as ve,S as Q,b0 as Ce,m,ad as ke,bJ as je,bK as Ne,bL as Ie,l as Se,$ as Oe}from"./index-
|
|
1
|
+
import{y as X,e as de,bF as fe,T as be,V as t,k as xe,bG as te,A as ye,x as S,a9 as _e,o as r,bH as we,H as he,O as ee,bI as $e,C as ve,S as Q,b0 as Ce,m,ad as ke,bJ as je,bK as Ne,bL as Ie,l as Se,$ as Oe}from"./index-mhb15COx.js";import{a as u,b as ue}from"./sentry-Cm8I7E9J.js";import{n as h}from"./mui-G2MlMTlr.js";import{t as O,n as De}from"./CollapsableReportTable-gy7Ue_fk-Cp0GdxMJ.js";import{t as Pe}from"./filter-cZIFUNvj-CWbeOwgA.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="c82f7396-fc92-423b-a148-1ce5429a147b",e._sentryDebugIdIdentifier="sentry-dbid-c82f7396-fc92-423b-a148-1ce5429a147b")}catch{}})();const z=ee.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat,Te=e=>({this_period:{start_date:e.thisPeriod.startDate.format(z),end_date:e.thisPeriod.endDate.format(z)},number_of_periods:e.numberOfPeriods,order_by:e.orderBy}),Fe=e=>e!=null?{start_date:e.startDate.format(z),end_date:e.endDate.format(z)}:void 0;async function ro(e,i,n){const s=ee.getLocalizedStrings().downloadReport,l=`${e}?query=${encodeURIComponent(JSON.stringify(function(o){return{locale_id:o.localeId,show_negative_amount_in_parenthesis:o.showNegativeAmountInParenthesis,filter_accounts_with_nil_balances:o.filterAccountsWithNilBalances,filter_account_groups_with_nil_balances:o.filterAccountGroupsWithNilBalances,include_cover_page:o.includeCoverPage,company_name:o.companyName,statement_file_type:o.statementFileType,statements:o.statements,first_month_of_fy:o.firstMonthOfFY,book_close_date:o.bookCloseDate!=null?o.bookCloseDate.format(z):void 0,timeframe:o.timeframe,additional_balances:o.additionalBalances,format:o.format,balances_filter:Te(o.balancesFilter),account_view_mode:o.accountViewMode,classes_to_filter_out:o.classesToFilterOut,data_available:Fe(o.dataAvailable),is_zeni_coa_used:o.isZeniCOAUsed,class_view_layout:o.accountViewMode==="classes"?o.classViewLayout:void 0}}(n)))}`;try{const o=await je({urlEndPoint:l,authParams:i,fileType:n.statementFileType});if(o.ok){const y=Ne(o.headers,s.defaultFileName),_=await o.arrayBuffer();Ie(_,y)}else console.error(`${s.reportErrorMessage} ${o.statusText}`)}catch(o){console.error(`${s.reportErrorMessage} ${JSON.stringify(o)}`)}}const Be=h.div`
|
|
2
2
|
padding: 0 ${r.sp3} 0 ${r.sp3};
|
|
3
3
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
4
4
|
background: ${e=>e.theme.colors.grey5};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as me,y as fe,_ as ct,ba as dt,bb as pt,bc as ht,O as B,V as a,bd as mt,b as I,a$ as ft,aM as ut,a_ as gt,be as bt,o as C,ab as _t,L as yt,bf as xt,x as Y,bg as wt,m as j,k as ye,J as z,bh as xe,C as ue,bi as $e,S as Ie,bj as St,ad as Ct,l as Fe,t as Rt,b7 as Ot}from"./index-
|
|
1
|
+
import{e as me,y as fe,_ as ct,ba as dt,bb as pt,bc as ht,O as B,V as a,bd as mt,b as I,a$ as ft,aM as ut,a_ as gt,be as bt,o as C,ab as _t,L as yt,bf as xt,x as Y,bg as wt,m as j,k as ye,J as z,bh as xe,C as ue,bi as $e,S as Ie,bj as St,ad as Ct,l as Fe,t as Rt,b7 as Ot}from"./index-mhb15COx.js";import{a as v,b as Pe}from"./sentry-Cm8I7E9J.js";import{n as b}from"./mui-G2MlMTlr.js";import{_ as vt}from"./liveblocks--AdozwCz.js";import{bt as we,F6 as Tt,Ff as At,Fg as Bt,Fh as K,Fi as kt,Fj as Lt,Fk as jt,Fl as Nt,Fm as Mt,Fn as re,Fo as le,Fp as Se}from"./zeni-epic-state-lC5X-sam.js";import{j as $t,z as ce}from"./mapTimeframeBalancesToTreeNode-UsawmMLa-DrvNkcA6.js";import{m as Q,l as de}from"./analyticsHelper-Bh8o1v3y-erbhoWbk.js";import{b as It}from"./ReportTableViewSelector-DTk1dNWC-QFtHZK4J.js";import{S as oe,y as Ft,M as Pt,$ as Et,v as Vt}from"./TimeRangeSwitcher-SqY2MHGs-ChpZHeuG.js";import{X as zt}from"./TimeframeSwitcherWithToggle-Dgc1odUH-ChrHPbvN.js";import{DownloadOverlayButton as Dt}from"./DownloadOverlay-Cmd727bN-CUU7ZY9L.js";import{Z as Ut,n as Yt,t as P,j as Ce}from"./CollapsableReportTable-gy7Ue_fk-Cp0GdxMJ.js";import{D as Re,T as Oe,C as te,L as Wt,g as Ee}from"./mapSectionWithAcOnlyToTreeNode-D7pjBGp6-BMY0vZTn.js";import{d as Gt,l as Ht}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-DHD18LN5.js";import{d as Zt}from"./mapLoadingInProgressToTreeNode-DTyQHWMc-BqMSzUiy.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./recharts-3tylCZU1.js";import"./utils-BhOlvYO8.js";import"./filter-cZIFUNvj-CWbeOwgA.js";import"./TimeframeSwitcher-BlJ2fuHy-JP2UlRBY.js";import"./page-detail-CWX5S47F-CWJ8fnGp.js";import"./page-summary-D7_VQHwN-CaK_VLEF.js";import"./AccountRow-CdgvnPG8-BR1hQ4Zy.js";import"./clock-CJkylEKt-BBrb7jeK.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]="7b7a14c5-a9fb-4ed9-bb03-5cbbb4768bb1",e._sentryDebugIdIdentifier="sentry-dbid-7b7a14c5-a9fb-4ed9-bb03-5cbbb4768bb1")}catch{}})();const qt=b.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
width: 100%;
|
|
4
4
|
`,Xt=b.div`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as c}from"./pdf-DwfifS04.js";import{j as ee,i as ae,h as se,l as te,u as f,k as oe,R as ne,m as j}from"./core-CaikJZHD.js";import{ct as L,cR as C,HA as re,mO as F,gB as le,fF as ie,mT as ce,bt as de,HB as pe,bm as me,r7 as fe,HC as ue,HD as _e,q5 as he,HE as v,HF as be,HG as ye,HH as T,HI as O,HJ as D,HK as k,HL as H,Fh as ge,qP as Ce,qD as U,qE as V,qV as Ie,qI as x,q$ as we,HM as Se,HN as Te,HO as Re,HP as Fe,HQ as Oe,cA as De,cy as ke}from"./zeni-epic-state-lC5X-sam.js";import{e as He,aE as G,aG as A,js as Y,k2 as Ae,_ as Ee,bj as Le,jz as E,J as Me,k3 as Pe,k4 as Be,jO as je}from"./index-
|
|
1
|
+
import{j as c}from"./pdf-DwfifS04.js";import{j as ee,i as ae,h as se,l as te,u as f,k as oe,R as ne,m as j}from"./core-CaikJZHD.js";import{ct as L,cR as C,HA as re,mO as F,gB as le,fF as ie,mT as ce,bt as de,HB as pe,bm as me,r7 as fe,HC as ue,HD as _e,q5 as he,HE as v,HF as be,HG as ye,HH as T,HI as O,HJ as D,HK as k,HL as H,Fh as ge,qP as Ce,qD as U,qE as V,qV as Ie,qI as x,q$ as we,HM as Se,HN as Te,HO as Re,HP as Fe,HQ as Oe,cA as De,cy as ke}from"./zeni-epic-state-lC5X-sam.js";import{e as He,aE as G,aG as A,js as Y,k2 as Ae,_ as Ee,bj as Le,jz as E,J as Me,k3 as Pe,k4 as Be,jO as je}from"./index-mhb15COx.js";import"./mui-G2MlMTlr.js";import ve from"./NotFoundScreen-BBbILNsa.js";import{F as Ue}from"./FeaturePreviewScreen-CpHWA-St.js";import{a as y}from"./sentry-Cm8I7E9J.js";import{u as Ve}from"./useInitialThreadRequest-Dldme96o.js";import{t as z,a as q}from"./routePaths-CDVBEe6a.js";import{M as xe}from"./MobileAppDrawer-D7V2koAX.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="ccfd1f53-7a41-4c0d-8487-f8a5f4de7751",e._sentryDebugIdIdentifier="sentry-dbid-ccfd1f53-7a41-4c0d-8487-f8a5f4de7751")}catch{}})();const g=e=>{e(H({resetLeftScroll:!0})),e(k({resetLeftScroll:!0})),e(D({resetLeftScroll:!0})),e(O({resetLeftScroll:!0}))},ze=e=>{e(Te()),e(Re()),e(Fe()),e(Oe())},qe=oe(function(e){const o=Y.getSignedInUser(),i=e.tenantState.currentTenantId,u=L(e),a=u?.companyName??"",s={userId:o?.userId??"",sessionId:o?.zeniSessionId??"",tenantId:i??""},t=C(e),n=pe(u);return{fetchState:t.fetchState,selectedTimeframe:t.filter.timeframe,selectedReport:t.selectedReportId,displayOrder:t.displayOrder,reportFormat:t.reportFormat,dataAvailable:t.dataAvailable,balancesInTimeframe:t.balancesInTimeframe,allTimeframeTicks:t.allTimeframeTicks,selectedCOABalancesRange:t.filter.balancesRange,isCompareMode:t.isCompareModeOn,profitAndLossReport:t.profitAndLossReport,profitAndLossClassesViewReport:t.profitAndLossByClassReport,profitAndLossByClassHorizontalReport:t.profitAndLossByClassHorizontalReport,balanceSheetReport:t.balanceSheetReport,cashFlowReport:t.cashFlowReport,downloadState:t.downloadState,analytics:E,isZeniUser:me(o),showAccountGroups:n===!0,currentTenantCompanyName:a,statementEndPoint:`${Be}/statement`,authParams:s,isZeniCOAUsed:n}},function(e,o){const{navigate:i,handleDrawerToggle:u}=o;return{onReloadReport:()=>{o.signedInUser!=null&&e(F(o.signedInUser.userId,!0,!1))},updateDownloadStateHandler:a=>{e(Se(a))},onTimeframeSelectionChanged:(a,s,t)=>{if(e(we(a)),s){const{isCompareModeOn:n,filter:l}=o,{additionalBalances:p,balancesRange:d}=l;let m=[...p];a==="year"&&(m=m.filter(_=>_!=="this_period_vs_same_period_last_year"&&_!=="this_period_vs_same_period_last_year_percent"&&_!=="same_period_last_year")),e(U(o.firstMonthOfFY,n,d.numberOfPeriods<4?4:d.numberOfPeriods,m)),p.length>0&&e(V(o.firstMonthOfFY,m.includes("this_period_vs_last_period")?"compare_mode_amount":"compare_mode_percent",d.numberOfPeriods<4?4:d.numberOfPeriods,m))}t!==!0&&setTimeout(()=>g(e),50)},onReportSelectionChanged:a=>{const s=o.selectedReportID;if(a===s)return;const t=o.classViewLayout;e(T(a)),(a==="balance_sheet"||a==="cash_flow")&&s==="profit_and_loss_by_classes"&&t==="horizontal"&&e(x({numberOfPeriods:4,orderBy:"ascending_date"})),a!=="profit_and_loss"&&a!=="profit_and_loss_by_classes"&&s==="profit_and_loss_by_classes"&&t==="horizontal"&&e(v({classViewLayout:"vertical"})),g(e)},onCOABalancesRangeChanged:(a,s)=>{e(x(a,s)),g(e)},onThisPeriodChanged:(a,s,t)=>{e(Ie(o.firstMonthOfFY,a,s<4?4:s)),t!==!0&&g(e)},onAdditionalBalanceSelectionChanged:(a,s,t,n)=>{e(U(o.firstMonthOfFY,a,t<4?4:t,s)),s.length>0&&e(V(o.firstMonthOfFY,s.includes("this_period_vs_last_period")?"compare_mode_amount":"compare_mode_percent",t<4?4:t,s)),n!==!0&&o.isCompareModeOn===a||setTimeout(()=>g(e),50)},onUpdateHighlightedNumberOfPeriods:(a,s,t,n)=>{e(Ce({firstMonthOfFY:o.firstMonthOfFY,isCompareModeOn:s,additionalBalances:a,maxNumOfPeriodsToHighlight:t<4?4:t,coaBalances:n}))},onAccountBalanceClick:o.hasTransactionAccess!==!0?void 0:(a,s,t)=>{let n,l;if(s.balanceTimeFrame==="month"||s.balanceTimeFrame==="quarter"?(n=s.balanceTimeFrame,l=ge(s)):s.balanceTimeFrame==="year"?(n="quarter",l={startDate:s.endDate.startOf("quarter"),endDate:s.endDate}):console.error(`timeframe ${s.balanceTimeFrame} is not supported`),l!=null&&n!=null){const p=a.accountName===""?a.accountDescription:a.accountName,d=(()=>{if(o.selectedReportID==="profit_and_loss_by_classes"&&o.classViewLayout==="horizontal"&&a.accountType!=null){if(t?.isHorizontalClassTotalColumn===!0)return z(o.tenantEmailDomain,a.accountId,a.accountType,p,n,l);if(t?.isHorizontalClassColumn===!0&&s.id!=null)return q(o.tenantEmailDomain,a.accountId,a.accountType,s.id,p,n,l)}return a.classesViewParentId!=null&&a.classesViewParentId.parentClassId!=null&&a.accountType!=null?q(o.tenantEmailDomain,a.accountId,a.accountType,a.classesViewParentId.parentClassId?.[0],p,n,l):a.accountType!=null?z(o.tenantEmailDomain,a.accountId,a.accountType,p,n,l):void 0})();if(d!=null){const m=je(o.location.state?.pathnameStackToGoBack,o.location.pathname);i(d,{state:{pathnameStackToGoBack:m,referrer:R(o.selectedReportID)}})}}},onTableScroll:(a,s)=>{switch(a){case"profit_and_loss":e(H({scrollPosition:s}));break;case"profit_and_loss_by_classes":e(k({scrollPosition:s}));break;case"balance_sheet":e(D({scrollPosition:s}));break;case"cash_flow":e(O({scrollPosition:s}));break;default:console.log(`Table Scroll state for ${a} is not handled`)}},onElementCollapseStateChanged:(a,s,t)=>{switch(a){case"profit_and_loss":e(H({nodeCollapseState:{nodeId:s,isCollapsed:t}}));break;case"profit_and_loss_by_classes":e(k({nodeCollapseState:{nodeId:s,isCollapsed:t}}));break;case"balance_sheet":e(D({nodeCollapseState:{nodeId:s,isCollapsed:t}}));break;case"cash_flow":e(O({nodeCollapseState:{nodeId:s,isCollapsed:t}}));break;default:console.log(`Collapse state toggle for ${a} is not handled`)}},onBackClick:()=>{i("../../")},onUpdateAccountViewMode:a=>{e(ye({viewMode:a})),a==="classes"?(o.analytics?.trackGroupBySwitch("Classes",R(o.selectedReportID)),e(T("profit_and_loss_by_classes"))):(o.analytics?.trackGroupBySwitch("Accounts",R(o.selectedReportID)),e(T("profit_and_loss"))),g(e)},onUpdateClassesToFilterOut:a=>{e(be({classesToFilterOut:a}))},onUpdateClassViewLayout:a=>{e(v({classViewLayout:a}))},onOpenAccountViewMode:()=>{e(he())},onUpdateDisplayOrder:a=>{e(_e(a))},onUpdateReportFormat:a=>{ze(e),e(ue(a))},onClickMenuIcon:()=>{u(!0)},onResyncReports:()=>{e(fe("profit_and_loss_by_classes"))}}})(Pe);function Ge(){const e=He(),o=ee(),i=ae(),u=se(),{tenantEmailDomain:a}=te(),{useFeatureGate:s}=G(),{isFeatureEnabled:t}=s(A.isReportsHorizontalClassLayoutSwitchEnabled),n=Y.getSignedInUser(),[l,p]=y.useState(!1),[d,m]=y.useState(!1),{isFeatureEnabled:_}=s(A.isReportsCommentingEnabled);if(n==null)throw Error("Can't access reports page without signing in...");const M=f(r=>L(r)),N=M.company?.companyInfo.firstMonthOfFY??1,$=Ve(_?M?.companyId:void 0),I=f(r=>C(r).fetchState),J=f(r=>re(r)),{areTenantIdsInSync:h}=Ae(),w=f(r=>r.financeStatementState.selectedReportId),Z=f(r=>C(r).isCompareModeOn),b=f(r=>C(r).filter),S=f(r=>C(r).selectedReportAndTimeframeFetchState),K=f(r=>r.profitAndLossClassesViewState.uiState.classViewLayout);y.useEffect(()=>{!l&&h&&(p(!0),i(F(n.userId,!0,!0,!1)))},[l,n,i,h]),y.useEffect(()=>{l&&!d&&I==="Completed"&&h&&(i(F(n.userId,!1,!0,!1)),m(!0))},[l,d,I,h]),y.useEffect(()=>{if(l&&S.fetchState==="Not-Started"&&b.timeframe!=="free_range"&&b.timeframe!=="week"&&h)switch(w){case"profit_and_loss":case"profit_and_loss_by_classes":i(ce(b.timeframe));break;case"balance_sheet":i(ie(b.timeframe));break;case"cash_flow":i(le(b.timeframe))}},[l,w,S,h]);const P=Ee(),Q=P?.loggedInUserRole!=null&&de(P?.loggedInUserRole)!==!0,[W,X]=y.useState(!1),B=r=>{X(r)};return c.jsxs(c.Fragment,{children:[I==="Completed"?c.jsx(Le,{analytics:E,onLoad:r=>r.trackPageLoaded(Me.Event.reports)}):null,c.jsx(xe,{isAppContentDrawerOpen:W,handleDrawerToggle:B}),c.jsx(qe,{firstMonthOfFY:N,tenantEmailDomain:a,location:u,navigate:o,windowSize:e,classViewLayout:K,selectedReportID:w,analytics:E,filter:b,isCompareModeOn:Z,hasTransactionAccess:Q,signedInUser:n,selectedReportAndTimeframeFetchState:S,handleDrawerToggle:B,reportsResyncFetchState:J.reportsResyncFetchState,isHorizontalClassReportSwitchEnabled:t,isReportsCommentingEnabled:_,initialOpenThreadRequest:$})]})}const R=e=>{switch(e){case"profit_and_loss":return"Profit & Loss";case"balance_sheet":return"Balance Sheet";case"cash_flow":return"Cash Flow";default:return"Reports"}};function ca(){const e=f(s=>L(s)),{useFeatureGate:o}=G(),{isFeatureEnabled:i}=o(A.isDebitCardFeatureEnabled),u=De(i,e),a=ke(e);return u===!0||a===!0?c.jsx(Ue,{}):c.jsxs(ne,{children:[c.jsx(j,{path:"/",element:c.jsx(Ge,{})}),c.jsx(j,{path:"*",element:c.jsx(ve,{})})]})}export{ca as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as F,O as S,V as t,f as m,S as Fe,an as Q,m as E,w as M,ag as Z,e as de,o as x,b as Ve,x as fe,b8 as ge,l as R,b9 as V,au as K}from"./index-
|
|
1
|
+
import{y as F,O as S,V as t,f as m,S as Fe,an as Q,m as E,w as M,ag as Z,e as de,o as x,b as Ve,x as fe,b8 as ge,l as R,b9 as V,au as K}from"./index-mhb15COx.js";import{a as z,b as ee}from"./sentry-Cm8I7E9J.js";import{n as f}from"./mui-G2MlMTlr.js";import{p as b,b as T,d as te,y as N,g as ae,u as W}from"./chartTypes-C14YY2Rq-mIXPNQxz.js";import{c as I,i as A,h as re}from"./toCOABalancesWithID-wh35N3no-2SjovFHm.js";import{V as J}from"./toChartData-G5y-N82I-HPFXqzd4.js";import{G as pe,K as oe,S as me,E as le,X as ne,Y as ce,F as se,H as xe,J as We}from"./recharts-3tylCZU1.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]="28996539-e366-44b3-94f6-c0e09b9ddf41",e._sentryDebugIdIdentifier="sentry-dbid-28996539-e366-44b3-94f6-c0e09b9ddf41")}catch{}})();const q={legendLabelMarginLeft:new fe(2,2),legendLabelMarginRight:new fe(E[3],E[4])},Ke=f.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,He=f.div`
|
|
4
4
|
margin: ${x.sp2} ${x.sp0} ${x.sp2} ${x.sp0};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as wt,_ as $t,x as u,eB as vt,eC as jt,eD as St,V as t,eE as Ct,eF as ie,eG as Tt,eH as Dt,eI as It,eJ as Pt,a5 as k,eK as kt,b as v,eL as Mt,eM as Be,eN as Fe,eO as Re,w as K,c$ as O,f as j,eP as At,eQ as E,d5 as _,eR as Bt,eS as Ft,bn as Le,o as n,a9 as Rt,m as s,O as Lt,u as zt,bw as Nt,d as Ot,M as Et,eT as _t,bH as Vt,l as ce,H as me,eU as Zt,eV as Gt,aD as Yt,n as qt,at as Ht,eW as Kt,D as tt,b6 as Ut,C as nt,aR as Wt,eX as Qt}from"./index-CuxRoVvZ.js";import{a as Z}from"./sentry-Cm8I7E9J.js";import{n as a}from"./mui-G2MlMTlr.js";import{cp as ze,cj as Ne,bX as D,c4 as Xt,FW as Jt,bG as re,c6 as en}from"./zeni-epic-state-lC5X-sam.js";import{t as tn,o as nn}from"./LowBalancePopup-CBPl_udd-Nqllub28.js";import{S as V}from"./LabeledText-A1h_ionS-CcjmiFmI.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="fdd25088-f82b-499a-a482-00dc334c5b98",e._sentryDebugIdIdentifier="sentry-dbid-fdd25088-f82b-499a-a482-00dc334c5b98")}catch{}})();const at=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,s[2],s[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,s[1]),navBarContainerPaddingTop:new u(10,s[3]),sectionTitleMarginLeft:new u(s[3],s[0]),reviewContainerMarginLeft:new u(s[3],s[6]),reviewContainerMarginRight:new u(s[3],s[8]),footerRightIconMarginRight:new u(s[0],s[0],s[7]),infoLabelPaddingRight:new u(s[0],s[3]),infoLabelMarginTop:new u(s[1],s[0])},an={sectionTitle:new Ot("h6Medium","h5Medium")},{dateFormat:Oe,common:{currency:$,labels:Ee,edit:on,strings:{empty:g}},spendManagement:{billPay:ln}}=Lt.getLocalizedStrings(),{billDetails:o,paymentDetails:_e}=ln,Ve=({attachment:e})=>{const[y,x]=Z.useState(!1),M=e.fileId?.length===0;return t.jsxs(Fn,{isDisabled:e.fileId?.length===0,"data-testid":v("attachment-tag",e.fileName),onClick:()=>M===!1?x(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Zt,{title:e.fileName,file:e,onCrossClick:()=>{x(!1)},setShowFullScreenView:x}):null,t.jsx(Rn,{children:t.jsx(Gt,{contentType:e.contentType})})]})},ia=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:x,currentTenant:M,isInternationalPaymentShaVsOurEnabled:A,isLocalCurrencyEnabled:ot,style:lt,analytics:w,isRecurringBillsFeatureEnabled:it,isApprovalRequiredForMarkAsPaid:rt,isDetectInsufficientFundsEnabled:dt,billId:b,onClickEdit:pe,discardBillDetailsFromLocalStore:ue,saveBillDetails:ye,discardOutsideZeniPaymentData:st,updateBillDetailSaveBillCode:he,redirectToBillsScreen:ge,onAttachmentClick:X,retryPayment:ct})=>{const d=wt(),c=$t(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:b},F=x&&b!=null,R=`dashboard_${c.currentTenant?.companyId}`,L=m.largeLabelWidth.value(d),I=e.saveStatus,J=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,i=vt(A,ot,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),S=Oe.visual.MMMDCommaYYYYformat,xe={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},p={amount:i?.method.includes("international")===!0?jt(xe,i):e.recipientTotalAmount.amount+(i?.fee.amount??0),currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},z={amount:i?.method.includes("international")===!0?St(xe,i):i?.fee.amount??0,currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},[mt,fe]=Z.useState(!1),[te,be]=Z.useState(!1),we=()=>fe(!1),pt=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${o.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Mn,{size:d,children:t.jsx(kn,{})})]}):Ct(e.paymentDetailsSection?.paymentTo);Z.useEffect(()=>{(I?.fetchState==="Completed"||J?.fetchState==="Completed")&&(ue(),he(),ge())},[I,J,ge,ue,he]);const P=e.billPayInfo?.stage,N=e.billPayInfo?.billStatus,G=e.billPayInfo?.billPaymentStatus,ut=e.billPayInfo?.billPaymentRefundStatus,ne=P?.code==="paid"?P:N?.code=="approved"&&G?.code?G:N,yt=e.billPayInfo?.isRefundInitiated===!0?ut:N?.code=="approved"&&G?.code?G:N,ae=()=>{pe()},$e=()=>{pe()},Y=e.paymentDetailsSection?.paymentDate,oe=ie(i?.method??""),ve=oe.replace("Same Day",""),ht=e.isCollectToAccountInfoFromVendorContact?t.jsx(Tt,{paymentTypeLabel:ve,onClick:()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),fe(!0)}}):o.addedByZeni,q=y.allApprovalRules.length>0,gt=ze(i?.method!=null&&(i.method.includes(D)||i?.fee.amount!=null&&i.fee.amount!==0)?p.amount-z.amount:p.amount,i?.fee.currencyCode??Ne.currencyCode,i?.fee.currencySymbol??Ne.currencySymbol),f=Xt(e.paymentDetailsSection?.paymentType?.method),je=()=>{be(!0),w.trackBillPayMarkAsPaid(P?.code??"draft",ne?.code??"")},C=f,h=C&&!rt,Se=Ze(h,q,e.isBillMarkedForRetry),le=dt&&e.paymentDetailsSection!=null?Dt(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,Ce=()=>{Te===!0&&H(!1),e.isBillMarkedForRetry===!0?(ct(),w.trackRetryConfirmClick(ne?.code??"",P?.code??"",yt?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&((()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,T=e.recurringConfig,ft=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(b??"new_bill"),i?.method!=null&&l!=null){const bt=f?o.paymentOutsideZeni.offline:ie(i.method);if(w.trackBillPaySendForApproval(bt,l.format(Oe.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,b,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:re(T?.startDate?.toString()??"").format(S),endDate:re(T?.endDate?.toString()??"").format(S),frequency:T?.frequency??"monthly",totalAmount:ft.amount,totalPaymentCycles:T?.totalPaymentCycles??0,isApprovalRequired:T?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?T?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?T?.updateRecurringBills==="all":void 0}),le!=null){const De=P?.code??"draft",Ie=N?.code??"",Pe=e.isRecurring?["Recurring"]:["One-Time"],ke=e.invoiceNumber??"",Me=Qt(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";Se===o.scheduleBill?w.trackLowBalanceAccountSchedule(De,Ie,Pe,ke,Me,Ae):Se===o.sendForApproval&&w.trackLowBalanceAccountSentForApproval(De,Ie,Pe,ke,Me,Ae)}}})(),ye(!1,{}))},xt=Jt(p.amount,y.allApprovalRules,c.loggedInUser),[Te,H]=Z.useState(!1);return t.jsxs(gn,{children:[te?t.jsx(tn,{onCancel:()=>{st(),be(!1)},onProceedForMarkAsPaid:l=>{w.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",P?.code??"draft",ne?.code??""),ye(!0,l)},saveDetailsFetchState:I?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Te?t.jsx(nn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Ce,onCancelClick:()=>{H(!1),ae()},onClickAway:()=>{H(!1)}}):null,t.jsx(It,{anchor:"right",open:mt,onClose:we,transitionDuration:250,"data-testid":v("vendor-email-preview-drawer"),children:t.jsx(Pt,{companyName:kt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Y?.format(S)??"",paymentType:ve,amount:k("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:we})}),t.jsxs(xn,{windowSize:d,style:lt,children:[d==="small"?t.jsxs(Pn,{windowSize:d,children:[t.jsx(We,{onClick:$e,"data-testid":v("review-detail-nav-bar-small-back")}),t.jsx(qe,{windowSize:d,children:o.oneLastLook})]}):t.jsx(In,{"data-testid":v("review-details-nav-bar-back"),children:t.jsx(We,{onClick:$e})}),d!=="small"?t.jsx(bn,{children:t.jsx(qe,{windowSize:d,children:o.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(wn,{children:[t.jsxs($n,{children:[t.jsx(_n,{}),t.jsxs(vn,{children:[t.jsx(Sn,{children:o.duplicateBillPayWarning}),t.jsxs(jn,{children:[o.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":v("review-detail-attachment-button"),onClick:()=>X(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[o.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Nn,{children:[t.jsx(En,{children:o.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Mt(l);return l!=null?t.jsx(On,{children:at.includes(d)?t.jsxs(He,{windowSize:d,children:[t.jsxs(Cn,{children:[t.jsxs(Tn,{children:[l.attachments&&l.attachments.length>0?t.jsx(Ve,{attachment:l.attachments[0]}):t.jsx(Qe,{children:t.jsx(Xe,{})}),t.jsx(W,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?o.invoiceNo:null,l.documentId]})})]}),t.jsx(Je,{windowSize:d,children:k("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Ln,{"data-testid":v("review-detail-mobile-info"),onClick:()=>X(l.id,l.billPayInfo.stage.code),children:[t.jsxs(W,{children:[l.dueDate!=null?o.due:null," ",l.dueDate?.format(S)]}),t.jsx(et,{children:r!=null?Be.includes(r.code)?t.jsx(Fe,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(He,{windowSize:d,children:[l.attachments&&l.attachments.length>0?t.jsx(Ve,{attachment:l.attachments[0]}):t.jsx(Qe,{children:t.jsx(Xe,{})}),t.jsxs(zn,{"data-testid":v("review-detail-info"),onClick:()=>X(l.id,l.billPayInfo.stage.code),children:[t.jsx(W,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?o.invoiceNo:null," ",l.documentId]})}),t.jsxs(W,{style:{width:"25%"},children:[l.dueDate!=null?o.due:null," ",l.dueDate?.format(S)]}),t.jsx(Je,{style:{width:"25%"},windowSize:d,children:k("0,0[.]00",l.amount)})]}),t.jsx(et,{children:r!=null?Be.includes(r.code)?t.jsx(Fe,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Dn,{children:[t.jsx(Ke,{children:o.pay}),t.jsx(Ue,{children:t.jsx(Re,{amount:gt,integerStyles:K.largeMedium.cssObject,decimalStyles:K.smallMedium.cssObject})}),t.jsx(Ke,{children:o.to}),t.jsx(Ue,{children:e.vendor?.name})]}),t.jsxs(fn,{children:[f?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(V,{label:{label:o.withdrawFrom,width:L},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?At(e.paymentDetailsSection.withdrawFrom,d):g,infoLabelStyle:{textAlign:d==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(d),marginTop:m.infoLabelMarginTop.valuePx(d),color:j.brandColorGoldDark},additionalInfoLabel:le})}),t.jsx(U,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(V,{label:{label:o.paymentMethod,width:L},style:{width:"auto"},value:ie(i?.method??""),additionalInfoLabel:f?h?void 0:o.paymentOutsideZeni.reviewInfo:i?.method!=null&&i.method.includes(D)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&A&&ee===$.currencyCode?Kt(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0})}),t.jsx(U,{}),f||Y==null?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(V,{label:{label:o.paymentDate,width:L},style:{width:"auto"},value:Y.format(S),additionalInfoLabel:`${o.estimatedArrival}${re(en(Y.toDate(),[0,6],i?.maxPeriod.value??0).toDateString()).format(S)} - (${oe.length>0?`${oe} `:""}${o.deliveryTimeLabel} = ${i?.maxPeriod.value??"0"} ${o.deliveryTimeUnits})`})}),t.jsx(U,{})]}),f?null:t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(V,{label:{label:o.paymentTo,width:L},style:{width:"auto"},value:pt??"",additionalInfoLabel:ht})}),f||it?t.jsxs(t.Fragment,{children:[t.jsx(U,{}),t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(V,{label:{label:o.paymentType,width:L},style:{width:"auto"},value:Ft(e.isRecurring,f,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Bt(d,e.isRecurring,f,e.recurringConfig)})})]}):null]}),!f&&i?.method!=null&&(i.method.includes(D)||i?.fee.amount!=null&&i.fee.amount!==0)?t.jsx(pn,{children:t.jsxs(un,{windowSize:d,children:[t.jsxs(yn,{children:[t.jsx(sn,{children:o.total}),t.jsx(Le,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(mn,{children:[t.jsxs(Ye,{children:[t.jsx(se,{children:i.method.includes(D)&&ee!==$.currencyCode?_e.conversionAmountColon:Ee.invoiceAmount}),t.jsx(de,{children:k("0,0[.]00",{amount:p.amount-z.amount,currencySymbol:z.currencySymbol})})]}),t.jsxs(Ye,{children:[t.jsx(se,{children:_e.transactionFee}),t.jsx(de,{children:k("0,0[.]00",{amount:z.amount,currencySymbol:z.currencySymbol})})]}),t.jsx(cn,{}),t.jsxs(dn,{children:[t.jsx(se,{children:Ee.total}),t.jsx(de,{children:k("0,0[.]00",{amount:p.amount,currencyCode:p.currencyCode,currencySymbol:p.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(rn,{})})]}),t.jsx(hn,{children:t.jsx(Re,{amount:ze(p.amount,p.currencyCode,p.currencySymbol),integerStyles:K.h6Medium.cssObject,decimalStyles:K.standardMedium.cssObject})})]})}):null]}),t.jsx(Rt,{cancelBtn:{label:C&&!h?o.paymentOutsideZeni.markAsPaid:o.editBill,onClick:C&&!h?je:ae,isLoading:C&&!h&&te&&I?.fetchState==="In-Progress",reverseSpinnerColor:!1,style:{width:Ge(!1,C,h,q,d)}},primaryBtn:{label:Ze(h,q,e.isBillMarkedForRetry),isLoading:I?.fetchState==="In-Progress"&&(h||!te)||J?.fetchState==="In-Progress",onClick:h?je:()=>{xt&&le!=null?H(!0):Ce()},style:{width:Ge(!0,C,h,q,d)}},rightSideComponent:C&&!h&&I.fetchState!=="In-Progress"?t.jsx(Vn,{windowSize:d,children:t.jsx(Le,{style:{color:j.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:on,placement:"top",children:t.jsx(Gn,{onClick:ae,"data-testid":v("review-detail-edit-bill-button"),children:t.jsx(Zn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(D)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(D)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(D)?t.jsxs(An,{children:[o.internationalText1,t.jsx(Bn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:o.internationalTerms}),o.internationalText2]}):null})]})},Ze=(e,y,x)=>e?o.paymentOutsideZeni.markAsPaid:x===!0?o.retryPayment:y?o.sendForApproval:o.scheduleBill,Ge=(e,y,x,M,A)=>x?128:y&&!e&&A==="small"?"auto":M?165:m.footerButtonWidth.value(A),rn=a(Ut)`
|
|
1
|
+
import{e as wt,_ as $t,x as u,eB as vt,eC as jt,eD as St,V as t,eE as Ct,eF as ie,eG as Tt,eH as Dt,eI as It,eJ as Pt,a5 as k,eK as kt,b as v,eL as Mt,eM as Be,eN as Fe,eO as Re,w as K,c$ as O,f as j,eP as At,eQ as E,d5 as _,eR as Bt,eS as Ft,bn as Le,o as n,a9 as Rt,m as s,O as Lt,u as zt,bw as Nt,d as Ot,M as Et,eT as _t,bH as Vt,l as ce,H as me,eU as Zt,eV as Gt,aD as Yt,n as qt,at as Ht,eW as Kt,D as tt,b6 as Ut,C as nt,aR as Wt,eX as Qt}from"./index-mhb15COx.js";import{a as Z}from"./sentry-Cm8I7E9J.js";import{n as a}from"./mui-G2MlMTlr.js";import{cp as ze,cj as Ne,bX as D,c4 as Xt,FW as Jt,bG as re,c6 as en}from"./zeni-epic-state-lC5X-sam.js";import{t as tn,o as nn}from"./LowBalancePopup-CBPl_udd-BorudEL4.js";import{S as V}from"./LabeledText-A1h_ionS-CFl8s8G-.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="fdd25088-f82b-499a-a482-00dc334c5b98",e._sentryDebugIdIdentifier="sentry-dbid-fdd25088-f82b-499a-a482-00dc334c5b98")}catch{}})();const at=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,s[2],s[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,s[1]),navBarContainerPaddingTop:new u(10,s[3]),sectionTitleMarginLeft:new u(s[3],s[0]),reviewContainerMarginLeft:new u(s[3],s[6]),reviewContainerMarginRight:new u(s[3],s[8]),footerRightIconMarginRight:new u(s[0],s[0],s[7]),infoLabelPaddingRight:new u(s[0],s[3]),infoLabelMarginTop:new u(s[1],s[0])},an={sectionTitle:new Ot("h6Medium","h5Medium")},{dateFormat:Oe,common:{currency:$,labels:Ee,edit:on,strings:{empty:g}},spendManagement:{billPay:ln}}=Lt.getLocalizedStrings(),{billDetails:o,paymentDetails:_e}=ln,Ve=({attachment:e})=>{const[y,x]=Z.useState(!1),M=e.fileId?.length===0;return t.jsxs(Fn,{isDisabled:e.fileId?.length===0,"data-testid":v("attachment-tag",e.fileName),onClick:()=>M===!1?x(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Zt,{title:e.fileName,file:e,onCrossClick:()=>{x(!1)},setShowFullScreenView:x}):null,t.jsx(Rn,{children:t.jsx(Gt,{contentType:e.contentType})})]})},ia=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:x,currentTenant:M,isInternationalPaymentShaVsOurEnabled:A,isLocalCurrencyEnabled:ot,style:lt,analytics:w,isRecurringBillsFeatureEnabled:it,isApprovalRequiredForMarkAsPaid:rt,isDetectInsufficientFundsEnabled:dt,billId:b,onClickEdit:pe,discardBillDetailsFromLocalStore:ue,saveBillDetails:ye,discardOutsideZeniPaymentData:st,updateBillDetailSaveBillCode:he,redirectToBillsScreen:ge,onAttachmentClick:X,retryPayment:ct})=>{const d=wt(),c=$t(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:b},F=x&&b!=null,R=`dashboard_${c.currentTenant?.companyId}`,L=m.largeLabelWidth.value(d),I=e.saveStatus,J=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,i=vt(A,ot,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),S=Oe.visual.MMMDCommaYYYYformat,xe={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},p={amount:i?.method.includes("international")===!0?jt(xe,i):e.recipientTotalAmount.amount+(i?.fee.amount??0),currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},z={amount:i?.method.includes("international")===!0?St(xe,i):i?.fee.amount??0,currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},[mt,fe]=Z.useState(!1),[te,be]=Z.useState(!1),we=()=>fe(!1),pt=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${o.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Mn,{size:d,children:t.jsx(kn,{})})]}):Ct(e.paymentDetailsSection?.paymentTo);Z.useEffect(()=>{(I?.fetchState==="Completed"||J?.fetchState==="Completed")&&(ue(),he(),ge())},[I,J,ge,ue,he]);const P=e.billPayInfo?.stage,N=e.billPayInfo?.billStatus,G=e.billPayInfo?.billPaymentStatus,ut=e.billPayInfo?.billPaymentRefundStatus,ne=P?.code==="paid"?P:N?.code=="approved"&&G?.code?G:N,yt=e.billPayInfo?.isRefundInitiated===!0?ut:N?.code=="approved"&&G?.code?G:N,ae=()=>{pe()},$e=()=>{pe()},Y=e.paymentDetailsSection?.paymentDate,oe=ie(i?.method??""),ve=oe.replace("Same Day",""),ht=e.isCollectToAccountInfoFromVendorContact?t.jsx(Tt,{paymentTypeLabel:ve,onClick:()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),fe(!0)}}):o.addedByZeni,q=y.allApprovalRules.length>0,gt=ze(i?.method!=null&&(i.method.includes(D)||i?.fee.amount!=null&&i.fee.amount!==0)?p.amount-z.amount:p.amount,i?.fee.currencyCode??Ne.currencyCode,i?.fee.currencySymbol??Ne.currencySymbol),f=Xt(e.paymentDetailsSection?.paymentType?.method),je=()=>{be(!0),w.trackBillPayMarkAsPaid(P?.code??"draft",ne?.code??"")},C=f,h=C&&!rt,Se=Ze(h,q,e.isBillMarkedForRetry),le=dt&&e.paymentDetailsSection!=null?Dt(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,Ce=()=>{Te===!0&&H(!1),e.isBillMarkedForRetry===!0?(ct(),w.trackRetryConfirmClick(ne?.code??"",P?.code??"",yt?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&((()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,T=e.recurringConfig,ft=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(b??"new_bill"),i?.method!=null&&l!=null){const bt=f?o.paymentOutsideZeni.offline:ie(i.method);if(w.trackBillPaySendForApproval(bt,l.format(Oe.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,b,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:re(T?.startDate?.toString()??"").format(S),endDate:re(T?.endDate?.toString()??"").format(S),frequency:T?.frequency??"monthly",totalAmount:ft.amount,totalPaymentCycles:T?.totalPaymentCycles??0,isApprovalRequired:T?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?T?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?T?.updateRecurringBills==="all":void 0}),le!=null){const De=P?.code??"draft",Ie=N?.code??"",Pe=e.isRecurring?["Recurring"]:["One-Time"],ke=e.invoiceNumber??"",Me=Qt(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";Se===o.scheduleBill?w.trackLowBalanceAccountSchedule(De,Ie,Pe,ke,Me,Ae):Se===o.sendForApproval&&w.trackLowBalanceAccountSentForApproval(De,Ie,Pe,ke,Me,Ae)}}})(),ye(!1,{}))},xt=Jt(p.amount,y.allApprovalRules,c.loggedInUser),[Te,H]=Z.useState(!1);return t.jsxs(gn,{children:[te?t.jsx(tn,{onCancel:()=>{st(),be(!1)},onProceedForMarkAsPaid:l=>{w.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",P?.code??"draft",ne?.code??""),ye(!0,l)},saveDetailsFetchState:I?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Te?t.jsx(nn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Ce,onCancelClick:()=>{H(!1),ae()},onClickAway:()=>{H(!1)}}):null,t.jsx(It,{anchor:"right",open:mt,onClose:we,transitionDuration:250,"data-testid":v("vendor-email-preview-drawer"),children:t.jsx(Pt,{companyName:kt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Y?.format(S)??"",paymentType:ve,amount:k("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:we})}),t.jsxs(xn,{windowSize:d,style:lt,children:[d==="small"?t.jsxs(Pn,{windowSize:d,children:[t.jsx(We,{onClick:$e,"data-testid":v("review-detail-nav-bar-small-back")}),t.jsx(qe,{windowSize:d,children:o.oneLastLook})]}):t.jsx(In,{"data-testid":v("review-details-nav-bar-back"),children:t.jsx(We,{onClick:$e})}),d!=="small"?t.jsx(bn,{children:t.jsx(qe,{windowSize:d,children:o.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(wn,{children:[t.jsxs($n,{children:[t.jsx(_n,{}),t.jsxs(vn,{children:[t.jsx(Sn,{children:o.duplicateBillPayWarning}),t.jsxs(jn,{children:[o.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":v("review-detail-attachment-button"),onClick:()=>X(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[o.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Nn,{children:[t.jsx(En,{children:o.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Mt(l);return l!=null?t.jsx(On,{children:at.includes(d)?t.jsxs(He,{windowSize:d,children:[t.jsxs(Cn,{children:[t.jsxs(Tn,{children:[l.attachments&&l.attachments.length>0?t.jsx(Ve,{attachment:l.attachments[0]}):t.jsx(Qe,{children:t.jsx(Xe,{})}),t.jsx(W,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?o.invoiceNo:null,l.documentId]})})]}),t.jsx(Je,{windowSize:d,children:k("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Ln,{"data-testid":v("review-detail-mobile-info"),onClick:()=>X(l.id,l.billPayInfo.stage.code),children:[t.jsxs(W,{children:[l.dueDate!=null?o.due:null," ",l.dueDate?.format(S)]}),t.jsx(et,{children:r!=null?Be.includes(r.code)?t.jsx(Fe,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(He,{windowSize:d,children:[l.attachments&&l.attachments.length>0?t.jsx(Ve,{attachment:l.attachments[0]}):t.jsx(Qe,{children:t.jsx(Xe,{})}),t.jsxs(zn,{"data-testid":v("review-detail-info"),onClick:()=>X(l.id,l.billPayInfo.stage.code),children:[t.jsx(W,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?o.invoiceNo:null," ",l.documentId]})}),t.jsxs(W,{style:{width:"25%"},children:[l.dueDate!=null?o.due:null," ",l.dueDate?.format(S)]}),t.jsx(Je,{style:{width:"25%"},windowSize:d,children:k("0,0[.]00",l.amount)})]}),t.jsx(et,{children:r!=null?Be.includes(r.code)?t.jsx(Fe,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Dn,{children:[t.jsx(Ke,{children:o.pay}),t.jsx(Ue,{children:t.jsx(Re,{amount:gt,integerStyles:K.largeMedium.cssObject,decimalStyles:K.smallMedium.cssObject})}),t.jsx(Ke,{children:o.to}),t.jsx(Ue,{children:e.vendor?.name})]}),t.jsxs(fn,{children:[f?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(V,{label:{label:o.withdrawFrom,width:L},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?At(e.paymentDetailsSection.withdrawFrom,d):g,infoLabelStyle:{textAlign:d==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(d),marginTop:m.infoLabelMarginTop.valuePx(d),color:j.brandColorGoldDark},additionalInfoLabel:le})}),t.jsx(U,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(V,{label:{label:o.paymentMethod,width:L},style:{width:"auto"},value:ie(i?.method??""),additionalInfoLabel:f?h?void 0:o.paymentOutsideZeni.reviewInfo:i?.method!=null&&i.method.includes(D)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&A&&ee===$.currencyCode?Kt(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0})}),t.jsx(U,{}),f||Y==null?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(V,{label:{label:o.paymentDate,width:L},style:{width:"auto"},value:Y.format(S),additionalInfoLabel:`${o.estimatedArrival}${re(en(Y.toDate(),[0,6],i?.maxPeriod.value??0).toDateString()).format(S)} - (${oe.length>0?`${oe} `:""}${o.deliveryTimeLabel} = ${i?.maxPeriod.value??"0"} ${o.deliveryTimeUnits})`})}),t.jsx(U,{})]}),f?null:t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(V,{label:{label:o.paymentTo,width:L},style:{width:"auto"},value:pt??"",additionalInfoLabel:ht})}),f||it?t.jsxs(t.Fragment,{children:[t.jsx(U,{}),t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(V,{label:{label:o.paymentType,width:L},style:{width:"auto"},value:Ft(e.isRecurring,f,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Bt(d,e.isRecurring,f,e.recurringConfig)})})]}):null]}),!f&&i?.method!=null&&(i.method.includes(D)||i?.fee.amount!=null&&i.fee.amount!==0)?t.jsx(pn,{children:t.jsxs(un,{windowSize:d,children:[t.jsxs(yn,{children:[t.jsx(sn,{children:o.total}),t.jsx(Le,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(mn,{children:[t.jsxs(Ye,{children:[t.jsx(se,{children:i.method.includes(D)&&ee!==$.currencyCode?_e.conversionAmountColon:Ee.invoiceAmount}),t.jsx(de,{children:k("0,0[.]00",{amount:p.amount-z.amount,currencySymbol:z.currencySymbol})})]}),t.jsxs(Ye,{children:[t.jsx(se,{children:_e.transactionFee}),t.jsx(de,{children:k("0,0[.]00",{amount:z.amount,currencySymbol:z.currencySymbol})})]}),t.jsx(cn,{}),t.jsxs(dn,{children:[t.jsx(se,{children:Ee.total}),t.jsx(de,{children:k("0,0[.]00",{amount:p.amount,currencyCode:p.currencyCode,currencySymbol:p.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(rn,{})})]}),t.jsx(hn,{children:t.jsx(Re,{amount:ze(p.amount,p.currencyCode,p.currencySymbol),integerStyles:K.h6Medium.cssObject,decimalStyles:K.standardMedium.cssObject})})]})}):null]}),t.jsx(Rt,{cancelBtn:{label:C&&!h?o.paymentOutsideZeni.markAsPaid:o.editBill,onClick:C&&!h?je:ae,isLoading:C&&!h&&te&&I?.fetchState==="In-Progress",reverseSpinnerColor:!1,style:{width:Ge(!1,C,h,q,d)}},primaryBtn:{label:Ze(h,q,e.isBillMarkedForRetry),isLoading:I?.fetchState==="In-Progress"&&(h||!te)||J?.fetchState==="In-Progress",onClick:h?je:()=>{xt&&le!=null?H(!0):Ce()},style:{width:Ge(!0,C,h,q,d)}},rightSideComponent:C&&!h&&I.fetchState!=="In-Progress"?t.jsx(Vn,{windowSize:d,children:t.jsx(Le,{style:{color:j.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:on,placement:"top",children:t.jsx(Gn,{onClick:ae,"data-testid":v("review-detail-edit-bill-button"),children:t.jsx(Zn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(D)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(D)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(D)?t.jsxs(An,{children:[o.internationalText1,t.jsx(Bn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:o.internationalTerms}),o.internationalText2]}):null})]})},Ze=(e,y,x)=>e?o.paymentOutsideZeni.markAsPaid:x===!0?o.retryPayment:y?o.sendForApproval:o.scheduleBill,Ge=(e,y,x,M,A)=>x?128:y&&!e&&A==="small"?"auto":M?165:m.footerButtonWidth.value(A),rn=a(Ut)`
|
|
2
2
|
width: ${n.sp3};
|
|
3
3
|
height: ${n.sp3};
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
package/dist/assets/{ReviewOverlay-Cxkp85Kw-DWi1LLwl.js → ReviewOverlay-Cxkp85Kw-BxuvLEpC.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as P,V as i,b as x,o as r,a9 as B,x as d,a8 as L,d as I,M as W,f as s,l as b,c1 as D,L as R,C as S,aC as G,m as o,dO as A,aA as _,i9 as F}from"./index-
|
|
1
|
+
import{e as P,V as i,b as x,o as r,a9 as B,x as d,a8 as L,d as I,M as W,f as s,l as b,c1 as D,L as R,C as S,aC as G,m as o,dO as A,aA as _,i9 as F}from"./index-mhb15COx.js";import{n as t}from"./mui-G2MlMTlr.js";import{a as w}from"./sentry-Cm8I7E9J.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="699f086a-7225-4684-91b8-ebe09172dae6",e._sentryDebugIdIdentifier="sentry-dbid-699f086a-7225-4684-91b8-ebe09172dae6")}catch{}})();const a={containerMarginTop:new d(0,o[2]),containerMarginLeft:new d(o[3],o[8]),containerMarginRight:new d(o[3],o[8]),subTitleMarginBottom:new d(o[2],o[2]),titleMarginBotom:new d(o[0],o[2]),titleMarginRight:new d(o[0],o[3]),navBarHeight:new d(62,62,62),navBarPaddingLeft:new d(o[3],o[3],o[8]),navBarPaddingRight:new d(o[3],o[3],o[8])},H={title:new I("h6Regular","h5Regular")},xe=({title:e,description:g,reviewItems:m,showFooter:z,footerProps:{primaryButton:C,cancelButton:T,hideCancel:E},onCloseOverlay:k,onCloseReviewItem:M})=>{const l=P();return i.jsxs(Z,{children:[i.jsx(U,{windowSize:l,children:i.jsx(X,{children:i.jsx(Y,{windowSize:l,children:i.jsx(ee,{children:i.jsx(ie,{onClick:k,"data-testid":x("review-overlay-close",e)})})})})}),i.jsxs(J,{windowSize:l,children:[i.jsxs(V,{windowSize:l,children:[i.jsx(q,{children:i.jsx(K,{windowSize:l,children:e})}),i.jsx(N,{isError:g.isError,windowSize:l,children:g.content})]}),i.jsx(Q,{windowSize:l,children:m.map(n=>{const h=n.reviewStatus.code==="error",c=n.reviewStatus.code==="warning"||n.reviewStatus.code==="low-balance";return i.jsxs(re,{isLoading:!1,isActive:!0,isWarning:c,isError:h,children:[c?i.jsx(ce,{onClick:()=>M(n.id),"data-testid":x("review-close",n.id)}):null,i.jsxs(te,{children:[i.jsxs(oe,{children:[i.jsx(de,{children:O(n)}),i.jsxs(ne,{children:[i.jsxs(u,{children:[i.jsx($,{style:{marginLeft:r.sp2},isWarning:c,isError:h,children:n.leftSideText.title}),i.jsx($,{isWarning:c,isError:h,children:n.rightSideText.title})]}),i.jsxs(u,{children:[i.jsx(se,{style:{marginLeft:r.sp2},children:n.leftSideText.subTitle}),l!=="small"?i.jsxs(f,{windowSize:l,children:[i.jsx(p,{isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[n.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx(j,{})}):null,n.rightSideText.subTitle]})}),i.jsx(p,{isWarning:!0,isError:!1,children:n.rightSideText.additonalInfo})]}):null]})]})]}),l==="small"?i.jsxs(f,{windowSize:l,children:[i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[n.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx(j,{})}):null,n.rightSideText.subTitle]})}),i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isWarning:c,isError:h,children:n.rightSideText.additonalInfo})]}):null]})]},n.id)})})]}),z?i.jsx(B,{primaryBtn:C,cancelBtn:T,showCancel:!E}):null]})},O=e=>e.reviewStatus.isLoading?i.jsx(R,{size:"Small",style:{display:"flex",width:r.sp4,height:r.sp4,alignItems:"center",justifyContent:"center"},start:!0}):e.reviewStatus.code==="error"?i.jsx(y,{isError:!0}):e.reviewStatus.code==="warning"?i.jsx(y,{isError:!1}):e.reviewStatus.code==="valid"?i.jsx(le,{}):e.reviewStatus.code==="low-balance"?i.jsx(he,{}):i.jsx(ae,{}),Z=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as a}from"./pdf-DwfifS04.js";import{aE as x,js as w,aF as b,bj as I,jz as p,J as F,mj as L,aG as P}from"./index-
|
|
1
|
+
import{j as a}from"./pdf-DwfifS04.js";import{aE as x,js as w,aF as b,bj as I,jz as p,J as F,mj as L,aG as P}from"./index-mhb15COx.js";import"./mui-G2MlMTlr.js";import m from"./NotFoundScreen-BBbILNsa.js";import{a as d}from"./sentry-Cm8I7E9J.js";import{i as R,u as y,j as T,h as V,k as O,R as U,m as u}from"./core-CaikJZHD.js";import{ct as z,O3 as C,KZ as A,O4 as k,qu as G,cG as q,O5 as Y,qs as J}from"./zeni-epic-state-lC5X-sam.js";import{R as j}from"./ReferralListScreen-CJqU7RxZ.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./MobileAppDrawer-D7V2koAX.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]="754cbeee-0102-40b4-9745-982d78d44d2b",e._sentryDebugIdIdentifier="sentry-dbid-754cbeee-0102-40b4-9745-982d78d44d2b")}catch{}})();const K=O(function(e,t){const n=C(e);return{inviteFormView:n.localData,submitStatus:n.saveStatus,userName:t.userName,rewardsPlan:n.rewardsPlan,companyLegalName:t.companyName}},function(e,t){const{navigate:n}=t,o=w.getSignedInUser();return{onDismissClick:()=>{e(k()),n("..")},onSendClick:()=>{if(o!=null){const s=[],r=[];t.inviteFormCompayData.forEach(c=>{s.push(c.companyName),r.push(c.emailIds[0])}),p.trackInviteEmailClicked("send",s,r,s.length)}e(J())},onUpdateInviteFormLocalData:s=>{e(Y({localData:s}))},onSubmitSuccess:()=>{n("../../")},onCancelClick:()=>{o!=null&&p.trackInviteEmailClicked("cancel")}}})(L),Z=()=>{const e=R(),[t,n]=d.useState(!1),[o,s]=d.useState(!1),r=y(i=>z(i)),c=T(),D=V(),{useDynamicConfig:g}=x(),f=w.getSignedInUser();if(f==null)throw Error("Can't access invite referral screen without signing in...");const l=y(i=>C(i)),_=f?.firstName!=null?f.firstName:"User",{configValue:h}=g(b.zeniCardsConfig),{configValue:v}=g(b.zeniAccountsConfig),E=A(v);d.useEffect(()=>{e(k()),r?.rewardsLastViewedTime==null&&o===!1&&(e(G()),s(!0))},[]),d.useEffect(()=>{t||l.fetchState!=="Not-Started"||(n(!0),e(q(!0)))},[l.fetchState,e]);const N=r.company?.companyInfo.companyLegalName??r.companyName;return a.jsxs(a.Fragment,{children:[l.fetchState==="Completed"?a.jsx(I,{analytics:p,onLoad:i=>(S=>S.trackPageLoaded(F.Event.inviteEmailViewed))(i)}):null,a.jsx(K,{navigate:c,location:D,currentTenant:r,companyName:N,userName:_,inviteFormCompayData:l.localData,chargeCardCashbackRatePerTransaction:h.charge_card_cashback_rate_per_transaction!=null?h.charge_card_cashback_rate_per_transaction:.0175,maxAnnualPercentageYield:E.maxAnnualPercentageYield})]})};function le(){const{useFeatureGate:e}=x(),{isFeatureEnabled:t}=e(P.isReferralFeatureEnabled);return a.jsxs(U,{children:[a.jsx(u,{path:"/",element:t?a.jsx(j,{}):a.jsx(m,{})}),a.jsx(u,{path:"how-it-works",element:t?a.jsx(j,{isReferralDrawerOpen:!0}):a.jsx(m,{})}),a.jsx(u,{path:"refer/*",element:t?a.jsx(Z,{}):a.jsx(m,{})}),a.jsx(u,{path:"*",element:a.jsx(m,{})})]})}export{le as default};
|
package/dist/assets/{RoleWithToolTip-CqLxmtj6-BxFgYmxI.js → RoleWithToolTip-CqLxmtj6-Rnjw9i_g.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{eg as c,eh as f,V as s,bn as h,o as d,b as l,O as g,j as x,C as p}from"./index-
|
|
1
|
+
import{eg as c,eh as f,V as s,bn as h,o as d,b as l,O as g,j as x,C as p}from"./index-mhb15COx.js";import{n}from"./mui-G2MlMTlr.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]="015e2f1f-770c-4da9-973f-41a1274d167f",e._sentryDebugIdIdentifier="sentry-dbid-015e2f1f-770c-4da9-973f-41a1274d167f")}catch{}})();const{hyphen:i}=g.getLocalizedStrings().common.strings,m=n.div``,y=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-width: 192px;
|
|
4
4
|
justify-content: space-between;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a7 as U,hI as X,g4 as fe,e3 as Le,hJ as we,T as Je,hK as Me,c8 as _e,c9 as Ve,V as a,A as Pe,bR as Fe,bS as Ne,bT as $e,a9 as qe,hL as Re,hM as Be,O as xe,E as ue,hN as Se,hO as We,cc as Ue,e as ze,h$ as He,ga as ie,m as q,f as De,x as ye,cd as Ke,hP as Ge,hQ as Qe,hR as Ye,o as V}from"./index-
|
|
1
|
+
import{a7 as U,hI as X,g4 as fe,e3 as Le,hJ as we,T as Je,hK as Me,c8 as _e,c9 as Ve,V as a,A as Pe,bR as Fe,bS as Ne,bT as $e,a9 as qe,hL as Re,hM as Be,O as xe,E as ue,hN as Se,hO as We,cc as Ue,e as ze,h$ as He,ga as ie,m as q,f as De,x as ye,cd as Ke,hP as Ge,hQ as Qe,hR as Ye,o as V}from"./index-mhb15COx.js";import{a as D}from"./sentry-Cm8I7E9J.js";import{n as B}from"./mui-G2MlMTlr.js";import{bH as Xe,bI as Ze}from"./zeni-epic-state-lC5X-sam.js";import{l as et,a as tt,s as lt,r as at}from"./ScheduleSequenceTable-DNPID_7F-Bz8d2Fhy.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";(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]="85df651f-bb0c-4c28-939e-923c3ff768b2",e._sentryDebugIdIdentifier="sentry-dbid-85df651f-bb0c-4c28-939e-923c3ff768b2")}catch{}})();const R={labelWidth:new ye(160,160,160),depCategoryLabelWidth:new ye(200,280,280)},st=B.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a7 as P,hI as Y,g4 as ke,e3 as Ae,hJ as Ie,T as Je,hK as we,c8 as Le,c9 as Me,V as a,A as Ve,bR as Pe,bS as _e,bT as $e,a9 as Fe,hL as Ne,hM as Be,O as De,E as ce,hN as pe,hO as Re,cc as Ue,e as qe,ga as me,m as X,f as ze,x as We,hP as Ke,hQ as Ge,hR as He,o as A}from"./index-
|
|
1
|
+
import{a7 as P,hI as Y,g4 as ke,e3 as Ae,hJ as Ie,T as Je,hK as we,c8 as Le,c9 as Me,V as a,A as Ve,bR as Pe,bS as _e,bT as $e,a9 as Fe,hL as Ne,hM as Be,O as De,E as ce,hN as pe,hO as Re,cc as Ue,e as qe,ga as me,m as X,f as ze,x as We,hP as Ke,hQ as Ge,hR as He,o as A}from"./index-mhb15COx.js";import{a as D}from"./sentry-Cm8I7E9J.js";import{n as M}from"./mui-G2MlMTlr.js";import{bH as Qe,bI as Ye,bG as Xe}from"./zeni-epic-state-lC5X-sam.js";import{l as Ze,a as et,s as tt,r as lt}from"./ScheduleSequenceTable-DNPID_7F-Bz8d2Fhy.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";(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]="3a76d92a-2031-4952-900b-1255a5766125",e._sentryDebugIdIdentifier="sentry-dbid-3a76d92a-2031-4952-900b-1255a5766125")}catch{}})();const N={labelWidth:new We(160,160,160)},at=M.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as T,y as Q,V as i,hS as le,d3 as ne,d as se,hT as we,dh as fe,eO as be,w as I,O as N,hU as $e,hR as je,o as t,x as j,f as S,n as Se,b as q,E as re,dc as ke,bR as ve,bT as De,cc as ee,dX as ie,c6 as Ce,hV as X,hW as ze,an as Me,hX as Ee,bV as Le,hY as Oe,m as p,l as M,at as Ie,bS as Te,k as ge,e4 as Ae,al as ae,dS as Ve,a9 as Fe,hZ as V,fH as Je,a5 as Be,h_ as Pe,ad as G,cq as Re,aC as Ne}from"./index-
|
|
1
|
+
import{e as T,y as Q,V as i,hS as le,d3 as ne,d as se,hT as we,dh as fe,eO as be,w as I,O as N,hU as $e,hR as je,o as t,x as j,f as S,n as Se,b as q,E as re,dc as ke,bR as ve,bT as De,cc as ee,dX as ie,c6 as Ce,hV as X,hW as ze,an as Me,hX as Ee,bV as Le,hY as Oe,m as p,l as M,at as Ie,bS as Te,k as ge,e4 as Ae,al as ae,dS as Ve,a9 as Fe,hZ as V,fH as Je,a5 as Be,h_ as Pe,ad as G,cq as Re,aC as Ne}from"./index-mhb15COx.js";import{n as l,c as P}from"./mui-G2MlMTlr.js";import{a as D}from"./sentry-Cm8I7E9J.js";import{bs as U,Gq as We}from"./zeni-epic-state-lC5X-sam.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]="17769978-b418-489c-997c-3c4c11712bbc",e._sentryDebugIdIdentifier="sentry-dbid-17769978-b418-489c-997c-3c4c11712bbc")}catch{}})();const W=(e,o)=>`${e}.${o}`,{formElements:{dayOfMonthSelector:C},common:de}=N.getLocalizedStrings();function He({defaultValue:e,name:o,placeholder:s,alignLeft:n=!1,style:g,isDisabled:d,registerOptions:r,onSaveClick:c,onCancelClick:$}){const[w,h]=D.useState(!1),{control:m,formState:{errors:f},setValue:b}=ee(),k=()=>{y||(c(),h(!1))},x=()=>{$(),h(!1)},y=ie(f,o),E=T(),a=Q();return i.jsx(ge,{onClickAway:()=>{h(!1)},children:i.jsx(Qe,{style:g,isDisabled:d!=null,windowSize:E,onClick:()=>{!w&&d==null&&h(!0)},children:i.jsx(Ae,{name:W(o,"dayOfMonth"),control:m,rules:{...r},render:()=>i.jsxs(Ge,{children:[i.jsx(Ye,{placeholder:s,defaultValue:e,isDisabled:d}),w?i.jsxs(Xe,{alignLeft:n===!0,children:[i.jsx(ti,{}),i.jsxs(ce,{isSelected:e.type==="day",children:[i.jsxs(ii,{isError:e.type==="day"&&y,children:[i.jsx(ae,{label:{label:C.pickDate},radioField:{id:"day",name:W(o,"type"),value:"day",radioSize:"small",checked:e.type==="day"},style:{...I.smallRegular.cssObject,padding:`${t.sp3} ${t.sp0}`,width:"fit-content",marginLeft:t.sp3,minWidth:"35%"},labelStyle:{color:e.type==="day"&&y?S.important:"inherit"}}),i.jsx(Ve,{name:W(o,"dayOfMonth"),type:"number",placeholder:C.placeholder,disableCopyPaste:!0,autoTrim:"trim",onKeyDown:u=>{u.key!=="Backspace"&&isNaN(parseInt(u.key))&&u.preventDefault()},defaultValue:e.dayOfMonth==null||isNaN(e.dayOfMonth)?0:e.dayOfMonth,registerOptions:{min:1,max:28},outerDivStyle:{width:"fit-content",marginLeft:t.sp1,marginRight:t.sp1},style:{border:`1px solid ${e.type==="day"&&y?S.important:a.colors.grey2}`,borderRadius:t.sp1,...I.smallRegular.cssObject,padding:t.sp2,maxWidth:"35px",boxSizing:"border-box"}}),i.jsx(Ke,{isSelected:e.type==="day",children:C.ofEveryMonth})]}),i.jsx(_e,{defaultValue:e.dayOfMonth,onClick:u=>{b(`${o}.dayOfMonth`,u),b(`${o}.type`,"day")}})]}),i.jsx(oi,{}),i.jsx(ce,{isSelected:e.type==="lastDayOfMonth",children:i.jsx(ae,{label:{label:C.lastDayOfMonth},radioField:{id:"lastDayOfMonth",name:W(o,"type"),value:"lastDayOfMonth",radioSize:"small",checked:e.type==="lastDayOfMonth"},style:{...I.smallRegular.cssObject,padding:`${t.sp3} ${t.sp0}`,width:"fit-content",marginLeft:t.sp3},labelStyle:{color:e.type==="lastDayOfMonth"&&y?S.important:"inherit"}})}),i.jsx(Fe,{primaryBtn:{label:de.footer.save,onClick:k,isDisabled:qe(e),type:"button",style:{minWidth:"83px"}},cancelBtn:{label:de.footer.cancel,onClick:x,style:{minWidth:"83px"}},style:{position:"unset",backgroundColor:"transparent"}})]}):null]})})})})}function Ye({placeholder:e,defaultValue:o,isDisabled:s}){return i.jsxs(Ue,{isDisabled:s!=null,children:[o?.type==null?i.jsx(Ze,{children:e}):null,o?.type=="day"&&o.dayOfMonth!=null?i.jsxs(he,{children:[i.jsx(H,{children:C.daysOfMonth[`${o.dayOfMonth}`]}),i.jsx(H,{children:C.ofEveryMonth})]}):null,o?.type==="lastDayOfMonth"?i.jsxs(he,{children:[i.jsx(H,{children:C.daysOfMonth.lastDayOfMonth}),i.jsx(H,{children:C.ofEveryMonth})]}):null]})}function _e({defaultValue:e,onClick:o}){return i.jsxs(ei,{children:[i.jsx(Y,{children:[...Array(7).keys()].map(s=>{const n=s+1;return i.jsx(_,{isSelected:n===e,onClick:()=>o(We(n)),children:n},n)})}),i.jsx(Y,{children:[...Array(7).keys()].map(s=>{const n=s+8;return i.jsx(_,{isSelected:n===e,onClick:()=>o(n),children:n},n)})}),i.jsx(Y,{children:[...Array(7).keys()].map(s=>{const n=s+15;return i.jsx(_,{isSelected:n===e,onClick:()=>o(n),children:n},n)})}),i.jsx(Y,{children:[...Array(7).keys()].map(s=>{const n=s+22;return i.jsx(_,{isSelected:n===e,onClick:()=>o(n),children:n},n)})})]})}const qe=e=>{switch(e.type){case"day":return e.dayOfMonth==null;case"lastDayOfMonth":return!1;default:return!0}},Ge=l.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
`,Ue=l.div`
|
|
4
4
|
display: flex;
|