@zeniai/web-app-ui 4.14.30-dev → 4.14.31-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-CQdbfxHV-BW88pIYa.js → ACHDetailsPage-CFhoboVe-JodbwPsQ.js} +2 -2
- package/dist/assets/{AIPerformancePage-jyNXVGMj-Bs4Wcfnt.js → AIPerformancePage-DB-fTWME-CgGQsnV1.js} +1 -1
- package/dist/assets/AccountInfoPage-pEEhPqOb-BzcKyQfW.js +18 -0
- package/dist/assets/AccountInfoPageContent-eYEsv7ac-vCK7G4bh.js +149 -0
- package/dist/assets/{AccountLockedInfoModal-EbQpyRJx-DeA2eRRt.js → AccountLockedInfoModal-jYWr_8TD-q_Ikf2Tn.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-CK1QV13E-BSUxm7rf.js → AccountReconDetailsDrawerPage-3Q0EPYhL-BH4of7uu.js} +2 -2
- package/dist/assets/{AccountRow-B3Sz6a-V-GlNhkavB.js → AccountRow-CdgvnPG8-Cz30EYLJ.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-DJtz56-u-D5uyYQuY.js → AccountsPromoCardStack-DHo59LLN-SJuuNn3m.js} +13 -13
- package/dist/assets/{AddAddressForCardDrawer-BDtxj9h6-Xx-rQDHp.js → AddAddressForCardDrawer-BzO1FXUa-Fyg_NOS1.js} +1 -1
- package/dist/assets/{AddToWalletPage-Czepun8f-MGSdB8OM.js → AddToWalletPage-BfXFbHjk-CMzYyYW2.js} +1 -1
- package/dist/assets/{AddressRoutes-CmvRhhab.js → AddressRoutes-B6KyTWyT.js} +1 -1
- package/dist/assets/{AddressScreen-Cb00RwYZ.js → AddressScreen-ZPcySSaO.js} +1 -1
- package/dist/assets/{AgingReportsPage-DzAVDq_i-BP-WG6Wy.js → AgingReportsPage-C1hFq4KH-Zi5GTQ1z.js} +8 -8
- package/dist/assets/{AiCfoScreen-CZVtCrsQ.js → AiCfoScreen-C7jQo3LZ.js} +1 -1
- package/dist/assets/{AllUserItems-BEoRQT-v-9OnCgvS-.js → AllUserItems-B6pnKByY-z-llp8Ld.js} +5 -5
- package/dist/assets/{ApAgingDetailPage-55JdoIHh-kk28-9yG.js → ApAgingDetailPage-CxLVGnpY-BrZpRxc6.js} +8 -8
- package/dist/assets/{AppBasePage-CLye29uw-B08L49eb.js → AppBasePage-DiVxF606-DEIAJtmX.js} +1 -1
- package/dist/assets/{AppDrawerContent-CDawrmfz-DqagnYqP.js → AppDrawerContent-B_EWsf8O-nCzxlMlY.js} +5 -5
- package/dist/assets/{ApprovalRulesSettingsPage-BHUZdWCO-tMTnXaFd.js → ApprovalRulesSettingsPage-HHjDp_NQ-Dk_su188.js} +1 -1
- package/dist/assets/{ArAgingChart-DeL9nNI7-Bj8y0fT6.js → ArAgingChart-Ba4A-i2N-DVKxnxLC.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-CuG65EQs-CXt16x8B.js → ArAgingDetailPage-prgcvsS4-B6KvY1N_.js} +1 -1
- package/dist/assets/{AttachmentView-C5anq6-B-BkQi2I92.js → AttachmentView-SsWJw4A8-CiFA7Mtk.js} +1 -1
- package/dist/assets/{BalancesInsightWithToolTip-1PK_fwhP-BOcx7wZs.js → BalancesInsightWithToolTip-DE6gDjGA-CuriAdQu.js} +4 -4
- package/dist/assets/{BankAccountSection-BUJoSOk8-BG4ByPDH.js → BankAccountSection-B4jmT0lb-D2VaI5gJ.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-BQaoV2yQ-BLOJsai8.js → BankAccountWarningSection-Bz2itMx0-EQdFts4P.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-DRDS5xzS-CGYqJS-4.js → BankConnectionsSettingsPage-BcVk7bTt-CcJ2zW2K.js} +9 -9
- package/dist/assets/{BillDetailPage-CtVVaqTN-BwEQZwAf.js → BillDetailPage-Dkqmi4H1-BFTmBvTz.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-DwRul1Fq.js → BillPayApprovalRoutes-CB_WVdNG.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-6GHCsDkX-ClsaXk5H.js → BillPayApprovalRuleDetailPage-Blxlv3pa-NuWc5jPY.js} +4 -4
- package/dist/assets/{BillPayApprovalRulesPage-QKjq-qVP-DTJcefrH.js → BillPayApprovalRulesPage-B_QwggJS-Csxvsi8z.js} +1 -1
- package/dist/assets/{BillPayPromoPage-_n9uoXTN-DW34nsnh.js → BillPayPromoPage-Bx2AXpWe-DWku5Qhm.js} +11 -11
- package/dist/assets/{BillPayRoutes-D22Q6pQL.js → BillPayRoutes-9FjXpkgQ.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-DNYX24VA-DLV9gKNt.js → BillPaySetUpPage-CM7_DkHC-B8MycdyA.js} +1 -1
- package/dist/assets/{BillingSettingsPage-Btv3yiNs-M_OusRvc.js → BillingSettingsPage-DM0OIfxa-B3DQmXkS.js} +3 -3
- package/dist/assets/{BillsBulkReviewDrawerPage-BiLLeGke-Bs5f4SMl.js → BillsBulkReviewDrawerPage-C3xmQ7wz-DgU-ZFK3.js} +1 -1
- package/dist/assets/{BoxItem-Dqp4SNlI-EUjyx5Zm.js → BoxItem-CvCo0wr6-QhJ82HMO.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-_8Wg_S5G-ChiNdD4I.js → BusinessVerificationPage-BAZmkR4a-DKUcO_Rf.js} +3 -3
- package/dist/assets/{BusinessVerificationPageScreen-B_00ICvM.js → BusinessVerificationPageScreen-BKBP5CJh.js} +1 -1
- package/dist/assets/{BusyIndication-BZLVwIo8-6s8wSi7T.js → BusyIndication-Cp8KWKB2-C3oZ8Ini.js} +1 -1
- package/dist/assets/{CardNumberSubText-12zyW5qQ-c22fv1fM.js → CardNumberSubText-DHtSIcZZ-kHFdQu5S.js} +1 -1
- package/dist/assets/{CashbackDetailPage-B8-TDuv8-Dd6aEuJQ.js → CashbackDetailPage-CNS1FA6b-Clcw1gL0.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-Bdz5L2ko-CaBbXfBZ.js → ChargeCardDetailPage-C4NeG7IM-CcgpSGTB.js} +1 -1
- package/dist/assets/{ChargeCardListPage-EuJ1VXck-BU5r2hWM.js → ChargeCardListPage-DNYiWaEf-BZBAcxPe.js} +6 -6
- package/dist/assets/{ChargeCardListTable-SgjwYd8W-EVdaCbR4.js → ChargeCardListTable-DdnyzdFf-D27zGMD0.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-BC2DkmZT--xdPwk1t.js → ChargeCardPaymentHistoryPage-CXlqzaUt-Cw-q5fHs.js} +10 -10
- package/dist/assets/ChargeCardPromoPage-D4canPX9-B2gMZ94L.js +222 -0
- package/dist/assets/{ChargeCardRoutes-DV8TKacG.js → ChargeCardRoutes-B9ifIaPD.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-ByLoLZE_-DIekUpHc.js → ChargeCardSetupPage-BtikPFOq-B1Q5Q-k4.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-C4XdqPO1-BSM3bO35.js → ChargeCardStatementsPage-RepWBbvJ-BeTG3xG9.js} +2 -2
- package/dist/assets/{CheckDepositDrawerPage-D5X61CKc-CyEf-jUu.js → CheckDepositDrawerPage-BCqg3irO-LJQj-9cr.js} +1 -1
- package/dist/assets/{CollapsableReportTable-D7zD4-h0-CdsTnLhf.js → CollapsableReportTable-gy7Ue_fk-xkuj86hA.js} +2 -1
- package/dist/assets/{CompanyOfficerDetailsSection-w86_5FXJ-CDmgqN3N.js → CompanyOfficerDetailsSection-BsCx7q-g-C5hfQprP.js} +11 -11
- package/dist/assets/{CompanyPassportCard-tpE1lXug-CLl-IbcU.js → CompanyPassportCard-BbUWOs1U-Dw1HMrsN.js} +6 -6
- package/dist/assets/{CompanyPassportPage-bND99CJN-D7hjvVvQ.js → CompanyPassportPage-BnP2oA1U-BahIQeuB.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-DR-zdvAJ.js → CompanyPassportScreen-CT9c7lvA.js} +1 -1
- package/dist/assets/{CompleteProfile-B5W07hcs-mOeGRg8M.js → CompleteProfile-TiRsm2Fm-fE1NUszo.js} +1 -1
- package/dist/assets/ConfettiBurst-D7J36hZf-CSVT9V2q.js +1 -0
- package/dist/assets/{ConnectionAuthScreen-D4VaoAIy.js → ConnectionAuthScreen-D6BkdM1l.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-bMF_z_bc.js → ConstrainedInnerElement-CgdnMeoA-vBI13ZbI.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CrQh8JCh-BX5wTD-m.js → CreateOrEditVendorPage-Dihzr1D5-BUR2QFLa.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-BoVmLCHh-Blea7AvV.js → CreditCardPaymentDrawerPage-CZGzDuxC-BUIdND4_.js} +1 -1
- package/dist/assets/{CurrencySelectField-D2azwi1T-CSrQI1j0.js → CurrencySelectField-BTAmIqPa-rlZjvsTh.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-DxuEGe6X-BPuiwcIL.js → CustomerOnboardingActivationPage-MVI7kqIh-JD8ZqQ1I.js} +3 -3
- package/dist/assets/CustomerOnboardingAuthScreen-DsZqZ3Im.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--zNlFTkjO.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DRGKainD-Y7JaILNu.js → CustomerOnboardingDetailPageSkeleton-CaI_0pCb-D_9R8ntI.js} +8 -8
- package/dist/assets/CustomerOnboardingNoStepsPage-CO_c2COV-CTf7zsp5.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-BXZSl2im-DDrc-wX_.js → CustomerOnboardingPage-BF0vuYaJ-DB-M7FrJ.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-BJmYX0kI-C3qX-GBN.js → CustomerOnboardingProductSuitePage-BGFdLX1i-C8cOT0zx.js} +3 -3
- package/dist/assets/{CustomerOnboardingRoutes-DqfIHwc7.js → CustomerOnboardingRoutes-BiogvBuq.js} +1 -1
- package/dist/assets/{Dashboard-yhqyXPbZ-CPcltsfF.js → Dashboard-Qjedd4r--CRbsfODt.js} +26 -26
- package/dist/assets/{DashboardReportPage-BG4StCjY-CzFGaujV.js → DashboardReportPage-Deith_ON-D8fEi8Zc.js} +1 -1
- package/dist/assets/{DashboardRoutes-Bawz4pw0.js → DashboardRoutes-BQeGUCAH.js} +1 -1
- package/dist/assets/DashboardSidebarBackgroundAnimation-C7DfUDio-C16c7XTp.js +12 -0
- package/dist/assets/{DefaultTenantHome-B10KVon4.js → DefaultTenantHome-DDgedZUJ.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-5ZEPnNxa-3AfijWCl.js → DepositAccTransactionItem-7kYotKov-QpJvWZ45.js} +7 -7
- package/dist/assets/{DepositAccTransactionListPage-BR8d0Kun-DVyGTLJU.js → DepositAccTransactionListPage-Bop4Uj5w-oeif2Id9.js} +3 -3
- package/dist/assets/{DomesticWireDetailScreen-CMEoUywc.js → DomesticWireDetailScreen-6HCK_7TE.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-wGIWvhgQ-CmjPpsLr.js → DomesticWireDetailsPage-_TyXsqEx-BYHoiTtM.js} +4 -4
- package/dist/assets/{DownloadOverlay-SLvxfa6B-CQ7BxjF9.js → DownloadOverlay-Cmd727bN-C-PzxP5F.js} +14 -14
- package/dist/assets/{DrawerPage-CFdTV10k-BenpSUGv.js → DrawerPage-DmGwfnGp-soZmQNN_.js} +1 -1
- package/dist/assets/{DrawerScreen-B7BWNi51.js → DrawerScreen-C_1QezB2.js} +1 -1
- package/dist/assets/{EditPeoplePage-C-Y62PJ0-BgijqRCf.js → EditPeoplePage-YyluIC6R-B0i1VKsb.js} +5 -5
- package/dist/assets/{EditReimbursementDetailPage-BYpXof8e-CdyZTm2g.js → EditReimbursementDetailPage-DeMid2Ko-B5ltV9Cy.js} +14 -14
- package/dist/assets/EntityDetailPage-DPTSSZdS-CPjJOO2E.js +18 -0
- package/dist/assets/{EntityDetailRoutes-nFrPna9t.js → EntityDetailRoutes--mZVfECz.js} +1 -1
- package/dist/assets/{EntitySummarySection-B2uG3-Zh-DoF2hAYB.js → EntitySummarySection-5NbutA8l-DL6jpdFo.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-CrtNuarm-C8tGkYQU.js → ExpenseAutomationOverviewPage-CQ_3WluW-CCAAzH1q.js} +6 -6
- package/dist/assets/{ExpenseAutomationPage-CWPnIMSu-BUnHNcGe.js → ExpenseAutomationPage-VuU4acYd-BNMHy7wa.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-DxRmXEnL.js → ExpenseAutomationRoutes-DyeVLVvz.js} +1 -1
- package/dist/assets/{ExpressPayPage-CsI_DUc6-BKAOKKa9.js → ExpressPayPage-DhoNmyC2-BM7D8t94.js} +10 -10
- package/dist/assets/{FeaturePreviewPage-B67a68N9-BPSn99tM.js → FeaturePreviewPage-GSwhPxgP-CknFQRpv.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-D_cOMPjM.js → FeaturePreviewScreen-DcXxWeeZ.js} +1 -1
- package/dist/assets/{FollowStepsSection-CgjzMm02-DPMc3VYJ.js → FollowStepsSection-DaueHRo4-R5WhFSRV.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-CIfK-0rd-F3X4MQ4k.js → GlobalReviewListPage-DG7_1HOT-BY_P61_d.js} +1 -1
- package/dist/assets/{InformationCardStack-qKld10kr-IVC5wYc5.js → InformationCardStack-zc-BxR7F-Dc1qaC3e.js} +1 -1
- package/dist/assets/{InsightsCardStack-Bbh77o6f-Dr_8r9pW.js → InsightsCardStack-DxCA5sFh-BcClR9fT.js} +5 -5
- package/dist/assets/{InsightsSection-DgfCOO4F-rd7xZxVI.js → InsightsSection-BdFG3j3R-D7JeFV31.js} +7 -7
- package/dist/assets/{IntegrationsSettingsPage-BRQFeOLt-2BecY83T.js → IntegrationsSettingsPage-CaiL3kqS-BK30afn3.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-DPemNncS-Datvi8oR.js → InternationalWireSwiftDetailsPage-BrQVSzeS-BpNTGybF.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-BOxXfIY5-D1lMmBlP.js → InternationalWireVerificationPage-NaLnhW9C-xEbEY4G_.js} +10 -10
- package/dist/assets/{InviteFormPage-BbbPCdh--Cb0-_CQ6.js → InviteFormPage-fjqv2l7h-CN7vzCNz.js} +1 -1
- package/dist/assets/{InvitePageListView-DqfrAulo-BtCqgsIl.js → InvitePageListView-CQecQhxr-D7nG5RDJ.js} +1 -1
- package/dist/assets/{InvitePeoplePage-CgTpZp4M-CYe0nmg8.js → InvitePeoplePage-DAEBuOnk-etA_btSE.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-DZOzTShz-BFwyUvOT.js → InvoiceUploadSection-58l6ePuH-DGEZcLC_.js} +8 -8
- package/dist/assets/{IssueChargeCardPage-x6dLcd-P-D7R8buXv.js → IssueChargeCardPage-Bkxqsgax-BZ-SKXi3.js} +8 -8
- package/dist/assets/{LabeledAddressValue-CY4Fn72d-VdKSkT_l.js → LabeledAddressValue-CZfFV97h-Bb57sB9z.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-D47ofJFV-CGqdgTnp.js → LabeledAddressValueField-D66XOhMx-DAzGEgKS.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-C_c8Rs-i-Cz1fNsx_.js → LabeledControlledCheckBoxField-BtnsqE4D-pO3EStbM.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-vRw9drBe-Bw1loTny.js → LabeledCountryMultiSelectField-kopByxLB-CVmx734o.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CdF97ljM-DTrzefeb.js → LabeledCreatableSingleSelectField-B6An-cwq-ZwV4dPE-.js} +1 -1
- package/dist/assets/{LabeledDocumentField-Dn25Ru1C-CLM-i9xW.js → LabeledDocumentField-D_ZD8JTn-EgNCcbbj.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-C2sZjA-q-Bkuc_5w_.js → LabeledDropDownFormattedTextField-CJ7ncCzH-yHUhBReW.js} +1 -1
- package/dist/assets/{LabeledEmailInputField-DzAdekQn-BkQ7kdJx.js → LabeledEmailInputField-CSfzMDYO-Ccf6Bxv0.js} +1 -1
- package/dist/assets/{LabeledNameField-Dxx0xwMv-DBRkdNqp.js → LabeledNameField-DZJXGYR9-C9Z5T7ep.js} +1 -1
- package/dist/assets/{LabeledSingleSelectField-EO8TA_z_-C26qdLJU.js → LabeledSingleSelectField-D_LoOMiZ-CAsbCcep.js} +1 -1
- package/dist/assets/{LabeledText-Bo7B-LrF-DECCi3EJ.js → LabeledText-A1h_ionS-CcjmiFmI.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DD11_Map-ZtH1v-68.js → LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-EIyuSMIG.js} +4 -4
- package/dist/assets/{LabeledZeniRolesDropDownField-BJ99uBt1-DGvakh0f.js → LabeledZeniRolesDropDownField-DmynBXbJ-DglcXxDL.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-BiDoUKQW-xgKDBdnj.js → LinkJETransactionPage-D6-fL4a6-DlR8vjGO.js} +13 -13
- package/dist/assets/{LockCardPage-B1QOSByp-BfsUhZIZ.js → LockCardPage-BDlnh_zf-64lzFlF5.js} +10 -10
- package/dist/assets/{LowBalancePopup-Bl_PaIUx-yOClgIGf.js → LowBalancePopup-CBPl_udd-Nqllub28.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-eq8wlXQr-DwBTA9or.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BcNOhJgL-M9e4wRPN.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Df8XYlkg-BKUO0J46.js +1 -0
- package/dist/assets/{MagicLinkRoutes-B-WHuq25.js → MagicLinkRoutes-B4rSGEA5.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-BBwmXYDm.js → MagicLinkSignInScreen-DL54w9kv.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-CuL-7CWN-C2vVBJ4S.js → MagicLinkSuccessPage-Cl461HWp-DrFI3SFX.js} +6 -6
- package/dist/assets/{MagicLinkTitleSection-RYhrN820-BbeWYlVu.js → MagicLinkTitleSection-DoIMYrRv-BmkYYs3S.js} +1 -1
- package/dist/assets/MailingDetailsSection-NdwWGQ88-M0GYvrro.js +21 -0
- package/dist/assets/{MobileAppDrawer-CTcTm5tx.js → MobileAppDrawer-D4KAg1N8.js} +1 -1
- package/dist/assets/{MoreMenuButton-5MZl4h9B-BympoCwa.js → MoreMenuButton-CkkW1atP-BhjeSlOV.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-CBw6kNsm-DlddyW1w.js → MyBankConnectionsSettingsPage-BU6TBzI1-D2Qaudqr.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-BC4YjZtP-DfpXnRCt.js → MyPendingActivationChargeCardListPage-DcunCDU6-NjjjBd7F.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DZ5M2BUN-CQ7zk2gg.js → MyProfileSettingsPage-DF7ahyXE-BjXkIrz2.js} +1 -1
- package/dist/assets/{NavBarWithPicker-C6FiaLu5-BVvTIBUE.js → NavBarWithPicker-D2v1fhLS-CH1wdNXM.js} +1 -1
- package/dist/assets/{NavigationArrow-BnAgR0wH-BYYktF7B.js → NavigationArrow-CWUL-6kN-DVve579d.js} +1 -1
- package/dist/assets/{NavigationDots-WUDG_g8M-CSwlLBTM.js → NavigationDots-c-XSrFzE-eujVKwdH.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-gAsCusVw-CA6lhup4.js → NewGlobalMerchantPage-FGEO68I8-XZyzhNzP.js} +1 -1
- package/dist/assets/{NoDataChart-BBYUjdKn-CaszePO0.js → NoDataChart-DJhSgtLu-BSak9fMr.js} +1 -1
- package/dist/assets/{NoDataTable-D3750d25-CC_2gGkK.js → NoDataTable-BZiwo2qK-Cb8q0aH6.js} +1 -1
- package/dist/assets/{NotFoundPage-C4D8Rn9E--AJk-xer.js → NotFoundPage-BN5unYX8-CqJlv_oy.js} +3 -3
- package/dist/assets/{NotFoundScreen-SRDW4_mE.js → NotFoundScreen-DxyQKnff.js} +1 -1
- package/dist/assets/{NotificationRoutes-BSrkx0LD.js → NotificationRoutes-DqG-dvkw.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-CD-t91ia-DJoX_UtT.js → NotificationSettingsPage-d8kHDj0M-Beqgksyi.js} +1 -1
- package/dist/assets/{NotificationsListConfig-C7JSE-eQ-DyT-ZhYk.js → NotificationsListConfig-ThKLok_w-B2H6cGPA.js} +1 -1
- package/dist/assets/{NotificationsPage-Be1v8niA-BlgDo9nE.js → NotificationsPage-Uvu6XESA-B1Rgn8VW.js} +1 -1
- package/dist/assets/{OpExByVendorPage-D1f1lQbs-BnyzfFJz.js → OpExByVendorPage-QyqRkD2_-D5R40Gs5.js} +5 -5
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-DTorHW75.js → OverlayContainerPage-BG9y5C0t-C7rxXRm5.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DIYb7BWp-B3vKwRhN.js → PandLWithForecastPage-DJ2v5qbE-BEs_yDo8.js} +2 -2
- package/dist/assets/{PandLWithForecastRoutes-CsL0r0I3.js → PandLWithForecastRoutes-CRImnf0E.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-tGkjxbjY-CHrQD7Oe.js → PaymentAccountSetupBillingAddressSection-q5z8XZFC-DgyJWqIO.js} +6 -6
- package/dist/assets/{PeoplePage-xwAOX4Jk-BnzId5aB.js → PeoplePage-C5ZdpVyR-DYtjpv4S.js} +1 -1
- package/dist/assets/{PeopleRoutes-D-yY-A49.js → PeopleRoutes-BODLG-b6.js} +1 -1
- package/dist/assets/{PerformanceRoutes-DUxeAB_T.js → PerformanceRoutes-BqLOjKSO.js} +1 -1
- package/dist/assets/{Preview-k4ohm46R.js → Preview-C2UYzTeJ.js} +1 -1
- package/dist/assets/{ProductsCarousel-OHbYasaa-Bps9QCYO.js → ProductsCarousel-CXjLTOLy-BLUY71s0.js} +1 -1
- package/dist/assets/{PromoBaseCards-B_0dccCZ-BeKRkhdX.js → PromoBaseCards-CN9uZfG4-BbNgX9Bb.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-5ItNvdCA-D1LNYclF.js → QBOConnectionDialog-CXSi1Pd9-dALyjXGw.js} +2 -2
- package/dist/assets/{QBOConnectionScreen-BDwso3KZ.js → QBOConnectionScreen-Ac9DU04j.js} +1 -1
- package/dist/assets/{QBOSetupSection-CHZgQppe-Fu_QXCEh.js → QBOSetupSection-BrtLMvEP-DHfwqwJo.js} +3 -3
- package/dist/assets/{ReferralListScreen-DPkRtA1r.js → ReferralListScreen-BaUv0jQW.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-DyX9YlA9.js → ReimbursementApprovalRoutes-B3As-zjk.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CqZT111l-Th1QLQg3.js → ReimbursementApprovalRuleDetailPage-CS1BQ7pL-DnepdUba.js} +6 -6
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-BR6Wdj2J.js → ReimbursementApprovalRuleDetailScreen-gUYecGxU.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BzTe2nqd-DFHyb7gY.js → ReimbursementApprovalRulesPage-aLRkhkZB-BEmJZKcM.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-DM650uCR-BZojPp4W.js → ReimbursementDetailPage-Dr5BTvEq-mnlxt9h1.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-CitTg9s4-C6Ht-4dW.js → ReimbursementPromoPage-C5Z0mVhQ-nERw0M4a.js} +10 -10
- package/dist/assets/{ReimbursementRoutes-C4Yz_jbS.js → ReimbursementRoutes-vASJxFJ_.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-qphyaCoX-CvNz9jXQ.js → ReimbursementSetUpPage-CXhOBErm-CR6Shq7r.js} +5 -5
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CCJvQKip-BQLPbz53.js → ReimbursementsBulkReviewDrawerPage-CA0n0mau-Dwnq8e4l.js} +1 -1
- package/dist/assets/{ReloadCard-DMNbI6QE-C1j_tgy-.js → ReloadCard-Bjp8ygC2-fExG7Dij.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-CUG4hVI9-Bjuyu4DH.js → ReportTableViewSelector-DTk1dNWC-tS3w4hoK.js} +5 -5
- package/dist/assets/{ReportsPage-nuM-ub1p-CKOT47VZ.js → ReportsPage-DrjOGopt-CEvm9-2-.js} +4 -4
- package/dist/assets/{ReportsRoutes-DohAZqsL.js → ReportsRoutes-DYYeCY0N.js} +1 -1
- package/dist/assets/{RevenueChart-BL5Wb2UT-JQVA4c7e.js → RevenueChart-CqGvXDr4-BYM89H6k.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-CUolLJ6s-I5bNk9-1.js → ReviewDetailsPage-CWBP7FBN-D5XTlGGP.js} +17 -17
- package/dist/assets/{ReviewOverlay-A1OYNSqG-DCeKL3J7.js → ReviewOverlay-Cxkp85Kw-DWi1LLwl.js} +1 -1
- package/dist/assets/{RewardsRoutes-BjB7FD9l.js → RewardsRoutes-BcQjimjg.js} +1 -1
- package/dist/assets/{RoleWithToolTip-VOllzDDB-BXr_ucO6.js → RoleWithToolTip-CqLxmtj6-BxFgYmxI.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-By3U1RYU-Dut2stb8.js → ScheduleDetailsFixedAssetsPage-CYvlB3Nf-BjmGalLA.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-ButJHPUw-XhuUVDsI.js → ScheduleDetailsPage-CZXJ15tN-Cvz9LjHh.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-Dv831gVJ-OIQZXWKl.js → ScheduleSequenceTable-DNPID_7F-Dpy7XGsr.js} +14 -14
- package/dist/assets/{ScreenRoutes-B6WQ9uqs.js → ScreenRoutes-DMiG7sGl.js} +2 -2
- package/dist/assets/{SetUpAccountSection-BcNG0nDh-C2x0keC_.js → SetUpAccountSection-_WPR-q2V-D1in60I8.js} +1 -1
- package/dist/assets/{SettingsRoutes-U8aLQkxi.js → SettingsRoutes-Cq0IT0xM.js} +1 -1
- package/dist/assets/{SetupPagesScreen-KLzrKq5d.js → SetupPagesScreen-By_64UnM.js} +1 -1
- package/dist/assets/{SignIn-D80UITQm-CVsAto0V.js → SignIn-CDEsZw_T-CdZG3KKx.js} +7 -7
- package/dist/assets/{SignInScreen-g1CD9jiJ.js → SignInScreen-BbMIUMVO.js} +1 -1
- package/dist/assets/{SignOutScreen-Cclrjb6Y.js → SignOutScreen-D0CN7EZM.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DSG6Son_-3Woa8ZKL.js → SpendManagementListViewPage-MOCWuROI-B6XDQZbP.js} +8 -8
- package/dist/assets/{SpendManagementPerTabPage-DiSu0RS1-Dj2U_5YO.js → SpendManagementPerTabPage-BeK0SCeE-uu94FLdi.js} +1 -1
- package/dist/assets/{SpendManagementSection-BXU3RGG8-BwEQ7fN8.js → SpendManagementSection-DZFPfKNi-a6NNMz0d.js} +14 -14
- package/dist/assets/StatementItem-DjvU5wiI-BbvkEOCR.js +31 -0
- package/dist/assets/{StatementsPage-Ck1xzA0w-CdWUN6DK.js → StatementsPage-DYLp_e7W-DQJFRbex.js} +1 -1
- package/dist/assets/{StatusSwitcher-_Cs3CzJl-D1XlTHt5.js → StatusSwitcher-jxaonB4S-BRWCrppB.js} +1 -1
- package/dist/assets/{SubTabSwitcher-D3ltE_yc-Ry1ed6uf.js → SubTabSwitcher-CudjNlsi-B0ZvqQ02.js} +1 -1
- package/dist/assets/SuccessAnimation-DE_x1Zz_-CSRw6QzL.js +13 -0
- package/dist/assets/SummaryCard-DPOhBmkr-Bkvd2_eX.js +1 -0
- package/dist/assets/{TaskDetailPage-CJKga1vr-ciDskCCR.js → TaskDetailPage-CXexRKAY-PJYd8Hc8.js} +1 -1
- package/dist/assets/{TaskListScreen-ksTObC06.js → TaskListScreen-D5r5oVZW.js} +1 -1
- package/dist/assets/{TaskManagementPage-BMwMSG1j-D-VvypFm.js → TaskManagementPage-CTMoHv0R-DqoYVk-e.js} +28 -28
- package/dist/assets/{TaskRoutes-C_cjp_9o.js → TaskRoutes-ByOGwdlB.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-B1Wx03tG-Br6TSwpo.js → TimeRangeSwitcher-SqY2MHGs-vaeYYQAs.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-Dmtsdwi9-Ce3iuH6w.js → TimeframeSwitcher-BlJ2fuHy-C0bwk8vS.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-P5CfgTUd-DXOPf3Bj.js → TimeframeSwitcherWithToggle-Dgc1odUH-6AO25YrU.js} +2 -2
- package/dist/assets/{TopExCard-DQkr9Xhh-CEMSG53J.js → TopExCard-CG8YLsYe-Dhi0dyPE.js} +1 -1
- package/dist/assets/{TopExDetailPage-5Di6WUfV-hilBOr7-.js → TopExDetailPage-TvYCbzSP-CwBViHGc.js} +5 -5
- package/dist/assets/{TransactionActivityLogPage-R9LoW4DL-C_Mhlr8m.js → TransactionActivityLogPage-BL3vEAdU-CS7vD3qG.js} +1 -1
- package/dist/assets/{TransactionDetailPage-B-blHtkn-CbeGtCIa.js → TransactionDetailPage-DUouBL0o-BaXoqvey.js} +32 -32
- package/dist/assets/{TransactionDetailRoutes-CG9Ya3UI.js → TransactionDetailRoutes-B-UBtWLp.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-DG1rRYuu.js → TransactionDetailScreen-B7XWRVbF.js} +1 -1
- package/dist/assets/{TransactionList-FQvTXSzy-oI0UZGJM.js → TransactionList-B16NONME-CRFiM4VM.js} +9 -9
- package/dist/assets/{TransactionListBig-CNDw7zRw-DTLpPxaS.js → TransactionListBig-CItPbTRV-UNSverIa.js} +1 -1
- package/dist/assets/TransactionListPage-DNecYY8M-BHlckINI.js +35 -0
- package/dist/assets/{TransactionListRoutes-BbWNwfVS.js → TransactionListRoutes-CMu9kV3q.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-Ch2UUF1f-DGdjSa3g.js → TransactionVendorDetailPage-DpqisXN8-D2bHcxtn.js} +1 -1
- package/dist/assets/{TransferDrawerPage-C1Ly_xKj-DX3atlS9.js → TransferDrawerPage-Dsmbswu0-uDwjyCTF.js} +21 -21
- package/dist/assets/{TreasuryOverviewPage-Zt5w8zfp-CedvlZd9.js → TreasuryOverviewPage-BcRpcYmB-OKQJLbcE.js} +21 -21
- package/dist/assets/{TreasuryPromoPage-BsP73kf7-etf9xlFS.js → TreasuryPromoPage-DOO_OMRa-8BGrxptq.js} +14 -14
- package/dist/assets/{TreasuryRoutes-CuQ3uJ15.js → TreasuryRoutes-Cb-myn_k.js} +1 -1
- package/dist/assets/TreasuryStatementsPage-A_U7bEy5-CYr3tH5Z.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-tHkQvX2V-pYxXn6xj.js → TreasuryTaxLetterPage-BsJn-BgX-D1G4s_HP.js} +3 -3
- package/dist/assets/TrendChart-GMMat-NG-DkIjx5iX.js +16 -0
- package/dist/assets/{TrendWithTransactions-DP1jZL1i-2bOe0VtV.js → TrendWithTransactions-CrA4opNV-BCS_tNQW.js} +7 -7
- package/dist/assets/{UncategorizedAccountsMappingPage-4mHyt2P6-BwcucbSK.js → UncategorizedAccountsMappingPage-CrzbFGOi-7c9nQkHm.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-BymmWe1G-DFsBuiFb.js → UnitIntegrationPage-XZY6zJa7-Bog6bLZs.js} +3 -3
- package/dist/assets/{UploadAdditionalDocumentOverlay-DUO2ZoU--ozi0LNFT.js → UploadAdditionalDocumentOverlay-eqwSLigx-Cfv8NRXy.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-8kpMx5RI-CGazITGN.js → Vendor2FAPopup-BHDivuPB-CB8oiip3.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-DJ4Crnr0-ChbQ_fot.js +1 -0
- package/dist/assets/{VendorDetailPage-C-JJfR0u-DCJ_f7dN.js → VendorDetailPage-DEu-yS8w-BHxBRvla.js} +7 -7
- package/dist/assets/VendorDomesticWireDetailsPage-WFcOmpiN-0MxyPK7N.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-B4vFgSwb-DDTykyPn.js → VendorFiling1099EditablePage-C461SzO0-Cw1duzzR.js} +6 -6
- package/dist/assets/{VendorFirstReviewPage-CUwdrbjH-DPvTVvHI.js → VendorFirstReviewPage-klbCHS04-yDjeltgT.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-BzP1zqhw-CAXXQP5N.js → VendorInternationalWireDetailsPage-DY0V-VbO-BJcPP-gp.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-B8sx02I_-CFJY5gem.js +1 -0
- package/dist/assets/{VendorsAccountsSection-Drue-Lvz-DQRReXtk.js → VendorsAccountsSection-Cqcr-ArD-BIHA7sqx.js} +1 -1
- package/dist/assets/{VendorsRoutes-Buw6G1yr.js → VendorsRoutes-CgJOnYMS.js} +1 -1
- package/dist/assets/{VerifyDevice-B_NNzkjT-BkggAu3P.js → VerifyDevice-Dhu5iywf-CpE-kgrB.js} +9 -9
- package/dist/assets/{VideoPlayer-Bc4tAd79-Crbsq9LQ.js → VideoPlayer-ZGjx_Hp7-BHgQYkml.js} +1 -1
- package/dist/assets/VideoPopup-R3u0N_if-SR7jlWFi.js +31 -0
- package/dist/assets/{WiseConfirmationScreen-CEIT9jMF.js → WiseConfirmationScreen-BTkxegx5.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-BW6G2voE-DBU5fQds.js → ZeniAccountDetailPage-DQB7sXU9-ZmSVhLSw.js} +12 -12
- package/dist/assets/{ZeniAccountListViewPage-gNszI2XV-BLZmP_oZ.js → ZeniAccountListViewPage-BwXKgf6g-Ctizh7he.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-BP1IxZ18-ABeEpX-y.js → ZeniAccountNavBarPieces-CHUTFAWG-BmLRxXwk.js} +4 -4
- package/dist/assets/{ZeniAccountPromoPage-LsZxIdX9-D62PvtLZ.js → ZeniAccountPromoPage-BkfJuMNV-Ckl9m4pN.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-Bp_1In61.js → ZeniAccountRoutes-D71bZRux.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-BExQA9Cz-D04LOVK1.js → ZeniAccountSetupPage-C3drM4Zs-B_sQz9qJ.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-6LzJoR1o.js → ZeniAccountStatementScreen-BI6AQKJr.js} +1 -1
- package/dist/assets/{ZeniAvatar-5wP6sb3W-CKgtWCng.js → ZeniAvatar-C38T0-5--BSN8GGLN.js} +1 -1
- package/dist/assets/{ZeniCopyright-CMjFbDBQ-So_Gi_8l.js → ZeniCopyright-CznSgVJF-B8RRSTgM.js} +1 -1
- package/dist/assets/{ZeniDatePicker-C_YQpGe--CXBBhIwN.js → ZeniDatePicker-Bw9RlgoL-BmT27weB.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CIu35Xz9-BCHS6-b-.js → ZeniTransferAmountSlider-C77DEl-C-CruP3RMa.js} +1 -1
- package/dist/assets/{accountMappingHelper-Ctd7yuH3.js → accountMappingHelper-B1SwIfFo.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-q_ZatOIu.js → add-to-wallet-DgdBD8_G-2vbkyqzY.js} +1 -1
- package/dist/assets/{analytics-Ci5SIN4_.js → analytics-Qgv3Fhaa.js} +1 -1
- package/dist/assets/{analyticsHelper-CG-L3dO7-WIHh4rd-.js → analyticsHelper-Bh8o1v3y-DbxZaMDt.js} +1 -1
- package/dist/assets/{analyticsHelper-CBcY8lmv.js → analyticsHelper-BtB7CtC3.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-BXAmISmi.js → arrow-south-east-round-PEovUgvH-CHgaZ-yo.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-Qtr813uy.js → auto-transfer-rule-mbafm5D3-BdBsn5Ol.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-lVrrjTFE.js → avatar-Dz7aEm3d-CxU8IzEu.js} +1 -1
- package/dist/assets/{bank-letter-BOcVjN6J-a5lcVCZG.js → bank-letter-BOcVjN6J-DhC6VHDB.js} +1 -1
- package/dist/assets/{calculateSize-CAxK0dN_-6AyeRPo8.js → calculateSize-QoQyn_Ku-BQL_mWcG.js} +1 -1
- package/dist/assets/{chartTypes-_AEkJ5Cg-CVupoc41.js → chartTypes-C14YY2Rq--XZc2xV6.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-CBVPxBka.js → clock-CJkylEKt-BBrb7jeK.js} +1 -1
- package/dist/assets/common-Cu5K0AJk-Cxd55kqL.js +1 -0
- package/dist/assets/{commonDimensions-_Dpm4Anv-BHT-EeW2.js → commonDimensions-CVpc-NCw-CA0m656N.js} +1 -1
- package/dist/assets/{commonTypes-C64XobC6-BTobasZR.js → commonTypes-Ec-PxfpT-DzRDGsuT.js} +1 -1
- package/dist/assets/{core-oEkj6b51.js → core-CaikJZHD.js} +1 -1
- package/dist/assets/{dash.all.min-DZu0W7MW.js → dash.all.min-CteFsaah.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-AFO0vA4L.js → decodeURIComponentSafe-DcEFJStp.js} +1 -1
- package/dist/assets/{dnd-DwLm2ZWc.js → dnd-CzsffKNn.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-BxzwYsJa.js → dollar-round-D18u7nlm-BF4Thvjs.js} +1 -1
- package/dist/assets/{downloadPdf-BAZhe2iR-C4ju3Lqh.js → downloadPdf-BuPJ6cfr-Bn04BzVs.js} +1 -1
- package/dist/assets/{empty-fwRWXj2G.js → empty-B5B-FKq1.js} +1 -1
- package/dist/assets/{empty-CpgB6ACX.js → empty-CTO6rJhq.js} +1 -1
- package/dist/assets/{epic-qeTSmk29.js → epic-DtTDCbBB.js} +1 -1
- package/dist/assets/{filter-cZIFUNvj-Cn5LR_-W.js → filter-cZIFUNvj-CWbeOwgA.js} +1 -1
- package/dist/assets/{getLocaleForTenant-DZi5Q22y.js → getLocaleForTenant-dwEXf4rX.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-CByaMYJG.js → gift-box-Cmt9OgIZ-BfzCBGHZ.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-bzI3_a8w.js → graphic-no-data-l-DU4J8fDt-DEuKmvBU.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CaA33M1d.js → graphic-no-data-net-burn-l-CzmycA0m-CIA_wKU3.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BxWewJRH.js → handshake-BPg58FML-Z_I5plJl.js} +1 -1
- package/dist/assets/{helper-D3UIpXq7-DCH1HBMI.js → helper-AgH8nJln-BDBxe9FK.js} +1 -1
- package/dist/assets/{hyperlink-DQyCeXx2-Dt5l5kWs.js → hyperlink-DQyCeXx2-Bwqrw7ES.js} +1 -1
- package/dist/assets/{index-Cpbn6-TN.js → index-B7wRNic7.js} +1 -1
- package/dist/assets/{index-DRNExedw.js → index-B9eknY8q.js} +1 -1
- package/dist/assets/{index-B5c5iTId.js → index-B9myuWEH.js} +1 -1
- package/dist/assets/{index-BE_133so.js → index-BL34svil.js} +1 -1
- package/dist/assets/{index-CjBlNHKF.js → index-CLf01Vy8.js} +1 -1
- package/dist/assets/{index-BHAcVHeH.js → index-CuxRoVvZ.js} +2726 -2726
- package/dist/assets/{lexical-BLFyyXBr.js → lexical-CXNTSpM4.js} +1 -1
- package/dist/assets/{liveblocks-Ia5FU_Xu.js → liveblocks--AdozwCz.js} +1 -1
- package/dist/assets/{lottie-DEK510sX.js → lottie-D86WIi_0.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-C_DjhqLk-Ct7OsbEi.js → mapLoadingInProgressToTreeNode-DTyQHWMc-tj_AEx0m.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BLsSfpaF-B_J7hTEH.js → mapSectionWithAcOnlyToTreeNode-D7pjBGp6-bV4CDhWS.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Cd4FCXAf-9PB61B4X.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode--FHVcIix-D7muHBWz.js → mapTimeframeBalancesToTreeNode-Drhl_lnP-DCqw81Fp.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-UsawmMLa-CPc-fd5T.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-D45Dn747-DMQQGP6s.js → mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-BaY2mTy_.js} +1 -1
- package/dist/assets/{media-player-uto_Jl5G.js → media-player-OnsEq_AY.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-BmcWx6In.js → money-2cg1MuG4-CfgKOIyt.js} +1 -1
- package/dist/assets/{mui-Cni6P-fz.js → mui-G2MlMTlr.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-B9qcUnuN.js → page-detail-CWX5S47F-CWJ8fnGp.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-ZSqDN0WI.js → page-summary-D7_VQHwN-CaK_VLEF.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-BCo5ICo2.js → panelSelectedMixin-Cddsb26L-XfdQwEMM.js} +1 -1
- package/dist/assets/{pathToGoBack-BpMzEQ5A.js → pathToGoBack-Dh6AhADv.js} +1 -1
- package/dist/assets/{pdf-CTJ16aEe.js → pdf-DwfifS04.js} +3 -3
- package/dist/assets/{pdf-lib-BZoHbIry.js → pdf-lib-CuGtb6jg.js} +1 -1
- package/dist/assets/{plaid-B2vW8NaN.js → plaid-CcxzSXZd.js} +1 -1
- package/dist/assets/{pusher-DFtcQaPW.js → pusher-BNSVRSP_.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh--JwnmKdf.js → radio-default-CiSgisfh-CF7OSKL1.js} +1 -1
- package/dist/assets/{react-C70tWLg5.js → react-BEcxr4nX.js} +1 -1
- package/dist/assets/{react-cn6O__9s.js → react-BUDcsgZo.js} +1 -1
- package/dist/assets/{react-DZ1_qQub.js → react-C0Whd_8a.js} +1 -1
- package/dist/assets/{react-B0u9lmTz.js → react-Chqt_ss-.js} +1 -1
- package/dist/assets/{react-DKkpOD3_.js → react-Cobj-_wp.js} +3 -3
- package/dist/assets/{react-Cohr3oKl.js → react-DOvM9ag3.js} +1 -1
- package/dist/assets/{react-BxE_BeY2.js → react-V3TERlfD.js} +1 -1
- package/dist/assets/{react-jjkPSe6Z.js → react-WpjiT9jD.js} +1 -1
- package/dist/assets/{recharts-LlOU9oLm.js → recharts-3tylCZU1.js} +1 -1
- package/dist/assets/{routePaths-WWdcktge.js → routePaths-CkO80-xL.js} +1 -1
- package/dist/assets/{sentry-CY6wsJT-.js → sentry-Cm8I7E9J.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-CGZqPLdL.js → shield-DOlUxcFf-tt-dORuJ.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-DAZsY_K2.js → spend-limit-D6SyboD4-d-tIWfnn.js} +1 -1
- package/dist/assets/toCOABalancesWithID-wh35N3no-D_L2t0iR.js +1 -0
- package/dist/assets/{toChartData-BODe4y2V-CHAJ4Jnp.js → toChartData-G5y-N82I-CpDZEMyX.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-B7lzeBRq.js → transaction-placeholder-CpOwZAMG-CXIruzlf.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-okXLDguZ.js → undo-b_3XZ5CX-5VNbpbUY.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-BcwMx3a4.js → unlock-BPWn2I5L-8UNw8MhM.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BLqHMVJK.js → upload-reimbursement-receipt-O2N8vcO7-BhCuFTsT.js} +1 -1
- package/dist/assets/{uploadAttachment-Dbumcc_g-LXlwbhth.js → uploadAttachment-RbkIBMGO-DWkpV7gc.js} +1 -1
- package/dist/assets/{uploadReceipts-CIgkuVpu-FU2oOS1s.js → uploadReceipts-CIgkuVpu-BxCHb2mc.js} +1 -1
- package/dist/assets/{url-Cv3aJ--T.js → url-BMzuxPwA.js} +1 -1
- package/dist/assets/{url-B5kkbwRv.js → url-CvhemPUG.js} +1 -1
- package/dist/assets/{useDeviceId-BWAR3Wtl.js → useDeviceId-BzlY8kf5.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-DTIHWJqF.js → useInitialThreadRequest-CtiCksTW.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BX_5sahW.js → useLongPress-GCK2COYQ-BgmUYGJ7.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-CuU9mWQv.js → usp-line-BBd1wKwW-BqojtCEK.js} +1 -1
- package/dist/assets/{utils-ChLimP28.js → utils-BhOlvYO8.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-X05Jc0ej.js → withTransactionSidePanel-DXYKCsTM.js} +1 -1
- package/dist/assets/{zeni-epic-state-cFF_NqwA.js → zeni-epic-state-lC5X-sam.js} +7 -7
- package/dist/assets/{zeni-icon-only-jOM3nMPU.js → zeni-icon-only-DZ6h0uLr.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AccountInfoPage-CiPtog_o-B4btRIXv.js +0 -18
- package/dist/assets/AccountInfoPageContent-Bj0kaRHv-CjMeZGo_.js +0 -149
- package/dist/assets/ChargeCardPromoPage-C-z0xtuN-qFHF_adM.js +0 -222
- package/dist/assets/ConfettiBurst-C0DFgWJj-DC0n_rE6.js +0 -1
- package/dist/assets/CustomerOnboardingAuthScreen-DLH-rYdF.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-DS0-65s7-CeH0I7wN.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-C--jDBQq-BgvTeh9S.js +0 -66
- package/dist/assets/DashboardSidebarBackgroundAnimation-DsWKmIXY-BuOmk2Nk.js +0 -12
- package/dist/assets/EntityDetailPage-CgDHg6g5-B_vQblwz.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-l76_Y3sO-DBz5GRKZ.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D_z_Q-jz-DriIOIxl.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-D276lsq_-ColrMYZA.js +0 -1
- package/dist/assets/MailingDetailsSection-D9_I-DTk-Cdb1WRS_.js +0 -21
- package/dist/assets/StatementItem-B1M65xN--D_j2q7nS.js +0 -31
- package/dist/assets/SuccessAnimation-RuQd1S4B-C9QgxngQ.js +0 -13
- package/dist/assets/SummaryCard-buadhnmc-COTvxgGf.js +0 -1
- package/dist/assets/TransactionListPage-BkZLtwmQ-DzH0F7Wk.js +0 -35
- package/dist/assets/TreasuryStatementsPage-DhXESeOi-uJElEPeD.js +0 -58
- package/dist/assets/TrendChart-B7Pox_TQ-7BkibFBY.js +0 -16
- package/dist/assets/VendorACHDetailsPage-BODHiiUQ-DmAQiimf.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-CVfEcUFJ-8ddL7pEj.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Dgz0TPoZ-CYv9JR1l.js +0 -1
- package/dist/assets/VideoPopup-BYo5bzpU-BthyvsgQ.js +0 -31
- package/dist/assets/common-B74Sb4iG-Ba1Dna3Q.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Dq4CasLR-BKZfs44u.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BP0iF3Of-BZXMdjjY.js +0 -1
- package/dist/assets/toCOABalancesWithID-CuxwOBs0-D4IOrabU.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as a}from"./pdf-CTJ16aEe.js";import{j as Q,i as se,h as q,l as ee,u as k,N as X,k as J,g as Kt,R as zt,m as y}from"./core-oEkj6b51.js";import{ct as O,Kr as Ve,bt as rt,Dr as Zt,bn as ct,FX as de,Ks as dt,tc as ut,um as Pe,tL as Ht,bm as xe,Kt as Wt,Ku as qt,bE as Jt,Kv as Yt,Kw as pt,Kx as mt,uY as $e,tr as we,Ky as Xt,t0 as He,Kz as Qt,y9 as ea,t4 as ta,ta as ht,KA as Be,KB as Le,KC as aa,KD as na,uq as Ue,KE as ia,un as bt,uD as oa,KF as gt,u7 as We,uc as la,KG as sa,KH as ce,KI as St,KJ as yt,KK as ft,dp as ra,tw as Fe,FY as vt,KL as ca,eg as da,KM as ua,KN as pa,cA as It,cy as kt,KO as _e,KP as ma,KQ as ha,I9 as Ge,KR as ba,Ia as ne,Ib as Me,KS as ga,KT as Sa,KU as ya,ue as qe,ub as fa,KV as va,KW as Ia,KX as ka,tZ as wa,KY as Ba,KZ as Ca,K_ as Aa,F5 as wt,bM as Bt,gW as xa,c4 as Da,bs as Ct,FW as At,sB as Ea,K$ as Ta,xY as ja,y2 as Pa,pc as Fa,uo as Ra,v3 as Va,h7 as Se,L0 as $a,L1 as xt,hB as La,h1 as Dt,hm as Et,hl as Je,bG as pe,bX as Ua,L2 as _a,L3 as ye,fI as Ga,L4 as Ye,L5 as Ma,fM as Na,g5 as Oa,vh as Ka,L6 as za,hu as Za,v7 as Ha,L7 as Xe,vb as Wa,vg as qa,vd as Ja,v5 as Ya,L8 as Tt,tl as Xa,L9 as Qa,La as en,dj as tn,di as an,dh as nn,ha as on,hs as Qe,hD as ln,mK as sn,hj as rn,v9 as cn,fS as dn,hI as un,Lb as pn,fK as mn,mB as hn,Lc as bn,u3 as gn,G5 as Sn,F4 as yn,Hb as fn,bO as vn,bN as In,bK as kn,bL as wn}from"./zeni-epic-state-cFF_NqwA.js";import{y as ie,js as V,_ as fe,aE as oe,aG as g,aF as Ce,jQ as Y,o as w,bj as De,jz as T,l2 as Bn,jM as z,k4 as Ne,jO as E,e as ve,N as jt,kn as Cn,O as Oe,jT as Ee,f as Pt,kH as An,x as Ft,kv as Rt,l3 as xn,k2 as Dn,J as Vt,k9 as En,l4 as Tn,l5 as jn,l6 as Pn,l7 as Fn,l8 as Rn,l9 as Vn,la as $n,lb as Ln,k_ as Un,lc as _n,ld as Gn,kc as Mn}from"./index-BHAcVHeH.js";import{n as $,S as Nn}from"./mui-Cni6P-fz.js";import{A as et}from"./AddressScreen-Cb00RwYZ.js";import{g as le,a as Te,i as $t,V as Ke,b as ze,c as On,v as Kn,d as zn,A as me,D as he}from"./DomesticWireDetailScreen-CMEoUywc.js";import{a as v}from"./sentry-CY6wsJT-.js";import{u as Lt}from"./useInitialThreadRequest-DTIHWJqF.js";import Ae from"./NotFoundScreen-SRDW4_mE.js";import{S as Zn}from"./zeni-icon-only-jOM3nMPU.js";import{D as Hn}from"./DrawerScreen-B7BWNi51.js";import{M as Ut}from"./MobileAppDrawer-CTcTm5tx.js";import{F as _t}from"./FeaturePreviewScreen-D_cOMPjM.js";import{S as je}from"./SetupPagesScreen-KLzrKq5d.js";import{B as Wn}from"./BillPayApprovalRoutes-DwRul1Fq.js";import{FallBackRoute as qn}from"./ScreenRoutes-B6WQ9uqs.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./analyticsHelper-CBcY8lmv.js";import"./routePaths-WWdcktge.js";import"./BusinessVerificationPageScreen-B_00ICvM.js";import"./ReimbursementApprovalRuleDetailScreen-BR6Wdj2J.js";import"./getLocaleForTenant-DZi5Q22y.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]="280e2f9b-9367-4dc7-827e-d44ece359f7d",e._sentryDebugIdIdentifier="sentry-dbid-280e2f9b-9367-4dc7-827e-d44ece359f7d")}catch{}})();const Jn=J(function(e,t){const i=Ve(e,t.billId),o=V.getSignedInUser(),c=e.tenantState.currentTenantId,r={userId:o?.userId??"",sessionId:o?.zeniSessionId??"",tenantId:c??""},u=z(t.location.state?.pathnameStackToGoBack);let l=!0;u.poppedPathname?.includes("bills")===!0&&(l=!1);let s=`${i.createdBy?.firstName??"Zeni"} ${i.createdBy?.lastName??""}`;const n=xe(o);n||!i.createdBy?.email?.includes("zeni.ai")||(s="Zeni");let d=!1,p=!1;if(i?.billActivities.length>0){const{isApprovalorRejectBtnVisible:S,isMarkAsPaidBtnVisible:b}=Wt(i.billActivities,qt(t.currentTenant),o);d=S,p=b}const m=Jt(t.currentTenant?.userRole??[]),h=i.transactionDetails!=null&&Yt(i.transactionDetails,m,o);return{billDetails:i,createdBy:s,authParams:r,transactionAttachmentEndpoint:`${Ne}/transaction_attachment`,signedInUser:o,showBackButton:l,isAdmin:m,isRealTimeApprovalEnabled:t.isRealTimeApprovalEnabled,showApproveRejectBtns:d,showMarkAsPaidButtonToApprover:p,hasZeniAssistAccess:t.hasZeniAssistAccess,analytics:T,showMarkAsPaidButtonToCreator:h,isZeniUser:n}},function(e,t){const{billId:i,currentTenant:o,location:c,navigate:r}=t,{tenantEmailDomain:u}=o;return{redirectToBillsScreen:()=>{const l=le(u),s=E(c.state?.pathnameStackToGoBack,c.pathname);r(l,{state:{pathnameStackToGoBack:s}})},redirectToEditableBillScreen:()=>{const l=E(c.state?.pathnameStackToGoBack,c.pathname);r("./edit",{state:{pathnameStackToGoBack:l}})},discardBillDetailsFromLocalStore:()=>{e(Be({}))},deleteBill:l=>{T.trackBillPayDeleteBill(i,l),e(ht(i))},cancelAndDeleteBill:(l,s)=>{s===!0?T.trackBillPayCancelAndDeleteBill(i,l):T.trackBillPayCancelBill(i),e(ta(i,s))},onSaveRealTimeApprovals:l=>{e(ea(i,"bill_pay",l))},updateEditRealTimeApproverClicked:l=>{e(Qt({isEdit:l,entityId:i,entityType:"bill_pay"}))},approveOrRejectBill:l=>{l.type==="approved"?e(He(i,l.type,"")):e(He(i,l.type,l.description??""))},retryOrRefundBill:l=>{l.type==="retry"?e(we(i,"retry")):e(we(i,"refund"))},onAddNewRule:()=>{r("../../bills/approval-rules")},onAttachmentClick:(l,s)=>{const n=Te(u,l,s),d=E(c.state?.pathnameStackToGoBack,c.pathname);r(n,{state:{pathnameStackToGoBack:d}})},onBackClick:()=>{const l=z(t.location.state?.pathnameStackToGoBack),s=l.poppedPathname??le(u);r(s,{state:{pathnameStackToGoBack:l.newStack}})},onRetryPaymentClick:()=>{const l=E(c.state?.pathnameStackToGoBack,c.pathname);r("./edit",{state:{pathnameStackToGoBack:l}}),e(Xt({billId:t.billId}))},onRefundPaymentClick:()=>{e(we(t.billId,"refund"))},saveBillDetails:(l,s,n)=>{l&&e(mt({data:n,billId:i})),e($e(l?"paid":"pending_approval",l,s,i))},discardOutsideZeniPaymentData:()=>{e(pt({billId:i}))}}})(Bn);function Yn(){const e=Q(),t=se(),i=q(),{billId:o}=ee(),c=ie(),r=V.getSignedInUser(),u=fe(),l=k(M=>O(M)),s=k(M=>Ve(M,o??"")),n=s.transactionDetails?.billPayInfo.stage.code==="draft"&&s.transactionDetails.isDeleted===!1,d=Lt(l?.companyId,{clearParams:s.fetchState==="Completed"&&!n}),p=l?.userRole!=null&&rt(l?.userRole),m=l?.company==null||l.company.featuresActivationInfo?.isBillPayFeatureEnabled&&!p,[h,S]=v.useState(!1),[b,f]=v.useState(!1),[x,D]=v.useState(!1),{useFeatureGate:I,useDynamicConfig:U}=oe(),{isFeatureEnabled:F}=I(g.isShowDeletedBillsFeatureEnabled),{isFeatureEnabled:G}=I(g.isBillPayCommentingEnabled),{isFeatureEnabled:R}=I(g.isBillPayDetectInsufficientFundsEnabled),{configValue:B}=U(Ce.zeniAssistConfig),Z=Zt(l),A=ct(l.userRole),K=m&&de(u?.loggedInUserRoleMap),_=B.user_ids!=null&&r?.userId!=null&&B.user_ids.includes(r?.userId),{isFeatureEnabled:H}=I(g.isInternationalPaymentShaVsOurFeatureEnabled),{isFeatureEnabled:W}=I(g.billPaySetupShowInternationalPaymentByWise);if(v.useEffect(()=>{F&&s.transactionDetails?.isDeleted===!0||l.isZeni===!0&&r?.userEmailDomain==="zeni.ai"&&Z===!1?D(!1):D(s.billActivities[0]?.isRealTimeApprovalEnabled&&(A||K||s.allApprovers.find(M=>M.user.userId===r?.userId)!=null||s.transactionDetails?.lastUpdatedByUserId===r?.userId))},[s.billActivities[0]?.isRealTimeApprovalEnabled,s.allApprovers,s.transactionDetails?.lastUpdatedByUserId,A,K,l.isZeni,Z,r]),v.useEffect(()=>{o!=null&&t(dt(o))},[o]),v.useEffect(()=>{h||s.fetchState=="Completed"||s.fetchState=="In-Progress"||(S(!0),t(ut(o??"",F,_,!1)))},[h,s,o,t]),v.useEffect(()=>{b||s.fetchState!="Completed"||s.transactionDetails?.billPayInfo.stage.code=="paid"||(f(!0),t(Pe(!1,F,_,W,o)),s.billActivities[0]?.isRealTimeApprovalEnabled===!0&&t(Ht()))},[b,s,o,t]),r==null)throw Error("Can't access address page without signing in...");return s.transactionDetails?.billPayInfo.stage.code==="draft"&&s.transactionDetails.isDeleted===!1?a.jsx(X,{to:`./edit${i.search}`}):s.deleteStatus.fetchState==="In-Progress"||s.cancelAndDeleteStatus.fetchState==="In-Progress"||s.cancelStatus.fetchState==="In-Progress"?a.jsx(Y,{fetchState:s.deleteStatus.fetchState,style:{boxShadow:`0px 2px ${w.sp1} ${c.colors.dropShadowNormal}`}}):a.jsxs(a.Fragment,{children:[a.jsx(De,{analytics:T,onLoad:M=>(te=>{o!=null&&te.trackBillPayBillDetails(o,s.isRecurring)})(M)}),a.jsx(Jn,{initialOpenThreadRequest:d??void 0,isShowDeletedBillsEnabled:F,location:i,navigate:e,isBillPayCommentingEnabled:G,isRealTimeApprovalEnabled:x,currentTenant:l,billId:o??"",isInternationalPaymentShaVsOurEnabled:H,hasZeniAssistAccess:_,isDetectInsufficientFundsEnabled:R})]})}const be=Oe.getLocalizedStrings().spendManagement.billPay.billDetails,Xn={containerWidth:new Ft(100,58)},Qn=J(function(e,t){const i=V.getSignedInUser(),o=e.tenantState.currentTenantId,c={userId:i?.userId??"",sessionId:i?.zeniSessionId??"",tenantId:o??""},r=t.showActionButtons,u=r&&t.file==null;return{uploadInvoiceEndPoint:`${Rt.communicationAgentMicroServiceBaseUrl}`,authParams:c,billId:t.billId,file:t.file,showAutofill:t.showAutofill,analytics:T,entityId:t.billId,showTitlebarIcon:r,showTitlebar:r&&t?.file!=null,uploadStatus:t.uploadStatus,shouldNotShowAttachment:u}},function(e,t){const i=V.getSignedInUser();return{onInvoiceUpload:o=>{o!=null&&(t.file!=null||t.billId!=null||t.isInitialEdit?(t.setPayload(o),t.setShowConfirmationPopup(!0)):e(Ue(o,t.isVendorRecommendationEnabled,t.billId)))},updateInvoiceUploadFetchState:o=>{e(oa({fetchState:{fetchState:o,error:void 0},billId:t.billId}))},onSkipAutofill:o=>{T?.trackBillPaySkipAutofill(),e(bt(o))},onDeleteClick:()=>{e(ia({billId:t.billId})),T?.trackInvoiceActionClick(t.billStage??"","delete",i?.userEmail??"",null)}}})(An);function C({appContent:e}){const t=se(),{billId:i}=ee(),o=q().pathname,c=o.includes("bill/new")||o.includes("/edit"),r=ve(),u=jt(),l=V.getSignedInUser(),s=ie(),{useFeatureGate:n,useDynamicConfig:d}=oe(),{isFeatureEnabled:p}=n(g.isVendorRecommendationFeatureEnabled),{isFeatureEnabled:m}=n(g.isShowDeletedBillsFeatureEnabled),{isFeatureEnabled:h}=n(g.isDepositAccountsFeatureEnabled),{isFeatureEnabled:S}=n(g.billPaySetupShowInternationalPaymentByWise),{configValue:b}=d(Ce.zeniAssistConfig),f=b.user_ids!=null&&l?.userId!=null&&b.user_ids.includes(l?.userId),x=k(L=>O(L)).companyName,[D,I]=v.useState(!1),[U,F]=v.useState(!1),[G,R]=v.useState(!1),[B,Z]=v.useState(),A=k(L=>Le(L,p,h,i));let K=A.fetchState,_=A.file,H=A.showAutofill;const W=k(L=>Ve(L,i??""));c===!1&&(K=W.fetchState,_=W.transactionDetails?.attachments?.[0],H=!1);const M=()=>{u.toggle()},te=A.billPayInfo!=null&&A.billPayInfo.stage.code==="pending_approval"?A.billPayInfo.billStatus.code:A.billStage;v.useEffect(()=>{K==="Not-Started"&&(c&&U?F(!1):!c&&D&&I(!1))},[i]),v.useEffect(()=>{D||i==null||c||(I(!0),t(ut(i,m,f,!1)),U||(F(!0),t(Pe(!1,m,f,S,i)))),c&&!U&&(F(!0),t(Pe(!1,m,f,S,i)))},[D,U,c,i,t]);const ue={onOkClick:()=>{if(R(!1),!B)return;const L=_!=null?"replace":"upload";T?.trackInvoiceActionClick(te??"",L,l?.userEmail??"","yes"),t(na({replaceBillData:!0,billId:i})),t(Ue(B,p,i))},onCancelClick:()=>{if(R(!1),!B)return;const L=_!=null?"replace":"upload";T?.trackInvoiceActionClick(te??"",L,l?.userEmail??"","no"),t(aa({file:B,billId:i}))}};if(l==null)throw Error("Can't access address page without signing in...");if(K==="Error"||W.fetchState==="Error")return a.jsx(Ae,{});if(K!="Completed")return a.jsx(Y,{fetchState:K,style:{backgroundColor:s.colors.grey5,boxShadow:`0px 2px ${w.sp1} ${s.colors.dropShadowNormal}`}});{const L=A.billPayInfo!=null&&A.billPayInfo.stage.code==="pending_approval"?A.billPayInfo.billStatus.code:A.billStage;return a.jsxs(di,{windowSize:r,children:[G?a.jsx(Cn,{titleComponent:a.jsx(pi,{children:be.overwriteTitle}),descriptionComponent:a.jsx(mi,{children:be.overwriteDescription}),primaryButtonText:be.buttons.yes,secondaryButtonText:be.buttons.no,action:ue,isEditPopup:!0}):null,r!=="small"?a.jsxs(ni,{children:[a.jsx(ci,{onClick:M}),a.jsxs(ai,{showContent:l?.userEmailDomain==="zeni.ai",children:[a.jsx(ii,{showAutofill:H}),a.jsx(oi,{showAutofill:H,children:x})]})]}):null,a.jsx(Qn,{billId:i,file:_,showAutofill:H,uploadStatus:A.uploadStatus,isVendorRecommendationEnabled:p,attachmentTitle:ei(c,W,A),setShowConfirmationPopup:R,setPayload:Z,showActionButtons:ti(c,A),isInitialEdit:!!A.isInitialEdit,billStage:L}),a.jsx(ui,{windowSize:r,children:e})]})}}function ei(e,t,i){let o,c;return e?(o=i.recurringConfig?.currentInstance,c=i.recurringConfig?.totalPaymentCycles):(o=t.transactionDetails?.recurringBillInstance,c=t.recurringBillConfigDetail?.totalPaymentCycles),t?.isRecurring===!0?a.jsxs(li,{children:[a.jsx(si,{children:`${be.recurringBill.recurringCycle}
|
|
1
|
+
import{j as a}from"./pdf-DwfifS04.js";import{j as Q,i as se,h as q,l as ee,u as k,N as X,k as J,g as Kt,R as zt,m as y}from"./core-CaikJZHD.js";import{ct as O,Kr as Ve,bt as rt,Dr as Zt,bn as ct,FX as de,Ks as dt,tc as ut,um as Pe,tL as Ht,bm as xe,Kt as Wt,Ku as qt,bE as Jt,Kv as Yt,Kw as pt,Kx as mt,uY as $e,tr as we,Ky as Xt,t0 as He,Kz as Qt,y9 as ea,t4 as ta,ta as ht,KA as Be,KB as Le,KC as aa,KD as na,uq as Ue,KE as ia,un as bt,uD as oa,KF as gt,u7 as We,uc as la,KG as sa,KH as ce,KI as St,KJ as yt,KK as ft,dp as ra,tw as Fe,FY as vt,KL as ca,eg as da,KM as ua,KN as pa,cA as It,cy as kt,KO as _e,KP as ma,KQ as ha,I9 as Ge,KR as ba,Ia as ne,Ib as Me,KS as ga,KT as Sa,KU as ya,ue as qe,ub as fa,KV as va,KW as Ia,KX as ka,tZ as wa,KY as Ba,KZ as Ca,K_ as Aa,F5 as wt,bM as Bt,gW as xa,c4 as Da,bs as Ct,FW as At,sB as Ea,K$ as Ta,xY as ja,y2 as Pa,pc as Fa,uo as Ra,v3 as Va,h7 as Se,L0 as $a,L1 as xt,hB as La,h1 as Dt,hm as Et,hl as Je,bG as pe,bX as Ua,L2 as _a,L3 as ye,fI as Ga,L4 as Ye,L5 as Ma,fM as Na,g5 as Oa,vh as Ka,L6 as za,hu as Za,v7 as Ha,L7 as Xe,vb as Wa,vg as qa,vd as Ja,v5 as Ya,L8 as Tt,tl as Xa,L9 as Qa,La as en,dj as tn,di as an,dh as nn,ha as on,hs as Qe,hD as ln,mK as sn,hj as rn,v9 as cn,fS as dn,hI as un,Lb as pn,fK as mn,mB as hn,Lc as bn,u3 as gn,G5 as Sn,F4 as yn,Hb as fn,bO as vn,bN as In,bK as kn,bL as wn}from"./zeni-epic-state-lC5X-sam.js";import{y as ie,js as V,_ as fe,aE as oe,aG as g,aF as Ce,jQ as Y,o as w,bj as De,jz as T,l2 as Bn,jM as z,k4 as Ne,jO as E,e as ve,N as jt,kn as Cn,O as Oe,jT as Ee,f as Pt,kH as An,x as Ft,kv as Rt,l3 as xn,k2 as Dn,J as Vt,k9 as En,l4 as Tn,l5 as jn,l6 as Pn,l7 as Fn,l8 as Rn,l9 as Vn,la as $n,lb as Ln,k_ as Un,lc as _n,ld as Gn,kc as Mn}from"./index-CuxRoVvZ.js";import{n as $,S as Nn}from"./mui-G2MlMTlr.js";import{A as et}from"./AddressScreen-ZPcySSaO.js";import{g as le,a as Te,i as $t,V as Ke,b as ze,c as On,v as Kn,d as zn,A as me,D as he}from"./DomesticWireDetailScreen-6HCK_7TE.js";import{a as v}from"./sentry-Cm8I7E9J.js";import{u as Lt}from"./useInitialThreadRequest-CtiCksTW.js";import Ae from"./NotFoundScreen-DxyQKnff.js";import{S as Zn}from"./zeni-icon-only-DZ6h0uLr.js";import{D as Hn}from"./DrawerScreen-C_1QezB2.js";import{M as Ut}from"./MobileAppDrawer-D4KAg1N8.js";import{F as _t}from"./FeaturePreviewScreen-DcXxWeeZ.js";import{S as je}from"./SetupPagesScreen-By_64UnM.js";import{B as Wn}from"./BillPayApprovalRoutes-CB_WVdNG.js";import{FallBackRoute as qn}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]="280e2f9b-9367-4dc7-827e-d44ece359f7d",e._sentryDebugIdIdentifier="sentry-dbid-280e2f9b-9367-4dc7-827e-d44ece359f7d")}catch{}})();const Jn=J(function(e,t){const i=Ve(e,t.billId),o=V.getSignedInUser(),c=e.tenantState.currentTenantId,r={userId:o?.userId??"",sessionId:o?.zeniSessionId??"",tenantId:c??""},u=z(t.location.state?.pathnameStackToGoBack);let l=!0;u.poppedPathname?.includes("bills")===!0&&(l=!1);let s=`${i.createdBy?.firstName??"Zeni"} ${i.createdBy?.lastName??""}`;const n=xe(o);n||!i.createdBy?.email?.includes("zeni.ai")||(s="Zeni");let d=!1,p=!1;if(i?.billActivities.length>0){const{isApprovalorRejectBtnVisible:S,isMarkAsPaidBtnVisible:b}=Wt(i.billActivities,qt(t.currentTenant),o);d=S,p=b}const m=Jt(t.currentTenant?.userRole??[]),h=i.transactionDetails!=null&&Yt(i.transactionDetails,m,o);return{billDetails:i,createdBy:s,authParams:r,transactionAttachmentEndpoint:`${Ne}/transaction_attachment`,signedInUser:o,showBackButton:l,isAdmin:m,isRealTimeApprovalEnabled:t.isRealTimeApprovalEnabled,showApproveRejectBtns:d,showMarkAsPaidButtonToApprover:p,hasZeniAssistAccess:t.hasZeniAssistAccess,analytics:T,showMarkAsPaidButtonToCreator:h,isZeniUser:n}},function(e,t){const{billId:i,currentTenant:o,location:c,navigate:r}=t,{tenantEmailDomain:u}=o;return{redirectToBillsScreen:()=>{const l=le(u),s=E(c.state?.pathnameStackToGoBack,c.pathname);r(l,{state:{pathnameStackToGoBack:s}})},redirectToEditableBillScreen:()=>{const l=E(c.state?.pathnameStackToGoBack,c.pathname);r("./edit",{state:{pathnameStackToGoBack:l}})},discardBillDetailsFromLocalStore:()=>{e(Be({}))},deleteBill:l=>{T.trackBillPayDeleteBill(i,l),e(ht(i))},cancelAndDeleteBill:(l,s)=>{s===!0?T.trackBillPayCancelAndDeleteBill(i,l):T.trackBillPayCancelBill(i),e(ta(i,s))},onSaveRealTimeApprovals:l=>{e(ea(i,"bill_pay",l))},updateEditRealTimeApproverClicked:l=>{e(Qt({isEdit:l,entityId:i,entityType:"bill_pay"}))},approveOrRejectBill:l=>{l.type==="approved"?e(He(i,l.type,"")):e(He(i,l.type,l.description??""))},retryOrRefundBill:l=>{l.type==="retry"?e(we(i,"retry")):e(we(i,"refund"))},onAddNewRule:()=>{r("../../bills/approval-rules")},onAttachmentClick:(l,s)=>{const n=Te(u,l,s),d=E(c.state?.pathnameStackToGoBack,c.pathname);r(n,{state:{pathnameStackToGoBack:d}})},onBackClick:()=>{const l=z(t.location.state?.pathnameStackToGoBack),s=l.poppedPathname??le(u);r(s,{state:{pathnameStackToGoBack:l.newStack}})},onRetryPaymentClick:()=>{const l=E(c.state?.pathnameStackToGoBack,c.pathname);r("./edit",{state:{pathnameStackToGoBack:l}}),e(Xt({billId:t.billId}))},onRefundPaymentClick:()=>{e(we(t.billId,"refund"))},saveBillDetails:(l,s,n)=>{l&&e(mt({data:n,billId:i})),e($e(l?"paid":"pending_approval",l,s,i))},discardOutsideZeniPaymentData:()=>{e(pt({billId:i}))}}})(Bn);function Yn(){const e=Q(),t=se(),i=q(),{billId:o}=ee(),c=ie(),r=V.getSignedInUser(),u=fe(),l=k(M=>O(M)),s=k(M=>Ve(M,o??"")),n=s.transactionDetails?.billPayInfo.stage.code==="draft"&&s.transactionDetails.isDeleted===!1,d=Lt(l?.companyId,{clearParams:s.fetchState==="Completed"&&!n}),p=l?.userRole!=null&&rt(l?.userRole),m=l?.company==null||l.company.featuresActivationInfo?.isBillPayFeatureEnabled&&!p,[h,S]=v.useState(!1),[b,f]=v.useState(!1),[x,D]=v.useState(!1),{useFeatureGate:I,useDynamicConfig:U}=oe(),{isFeatureEnabled:F}=I(g.isShowDeletedBillsFeatureEnabled),{isFeatureEnabled:G}=I(g.isBillPayCommentingEnabled),{isFeatureEnabled:R}=I(g.isBillPayDetectInsufficientFundsEnabled),{configValue:B}=U(Ce.zeniAssistConfig),Z=Zt(l),A=ct(l.userRole),K=m&&de(u?.loggedInUserRoleMap),_=B.user_ids!=null&&r?.userId!=null&&B.user_ids.includes(r?.userId),{isFeatureEnabled:H}=I(g.isInternationalPaymentShaVsOurFeatureEnabled),{isFeatureEnabled:W}=I(g.billPaySetupShowInternationalPaymentByWise);if(v.useEffect(()=>{F&&s.transactionDetails?.isDeleted===!0||l.isZeni===!0&&r?.userEmailDomain==="zeni.ai"&&Z===!1?D(!1):D(s.billActivities[0]?.isRealTimeApprovalEnabled&&(A||K||s.allApprovers.find(M=>M.user.userId===r?.userId)!=null||s.transactionDetails?.lastUpdatedByUserId===r?.userId))},[s.billActivities[0]?.isRealTimeApprovalEnabled,s.allApprovers,s.transactionDetails?.lastUpdatedByUserId,A,K,l.isZeni,Z,r]),v.useEffect(()=>{o!=null&&t(dt(o))},[o]),v.useEffect(()=>{h||s.fetchState=="Completed"||s.fetchState=="In-Progress"||(S(!0),t(ut(o??"",F,_,!1)))},[h,s,o,t]),v.useEffect(()=>{b||s.fetchState!="Completed"||s.transactionDetails?.billPayInfo.stage.code=="paid"||(f(!0),t(Pe(!1,F,_,W,o)),s.billActivities[0]?.isRealTimeApprovalEnabled===!0&&t(Ht()))},[b,s,o,t]),r==null)throw Error("Can't access address page without signing in...");return s.transactionDetails?.billPayInfo.stage.code==="draft"&&s.transactionDetails.isDeleted===!1?a.jsx(X,{to:`./edit${i.search}`}):s.deleteStatus.fetchState==="In-Progress"||s.cancelAndDeleteStatus.fetchState==="In-Progress"||s.cancelStatus.fetchState==="In-Progress"?a.jsx(Y,{fetchState:s.deleteStatus.fetchState,style:{boxShadow:`0px 2px ${w.sp1} ${c.colors.dropShadowNormal}`}}):a.jsxs(a.Fragment,{children:[a.jsx(De,{analytics:T,onLoad:M=>(te=>{o!=null&&te.trackBillPayBillDetails(o,s.isRecurring)})(M)}),a.jsx(Jn,{initialOpenThreadRequest:d??void 0,isShowDeletedBillsEnabled:F,location:i,navigate:e,isBillPayCommentingEnabled:G,isRealTimeApprovalEnabled:x,currentTenant:l,billId:o??"",isInternationalPaymentShaVsOurEnabled:H,hasZeniAssistAccess:_,isDetectInsufficientFundsEnabled:R})]})}const be=Oe.getLocalizedStrings().spendManagement.billPay.billDetails,Xn={containerWidth:new Ft(100,58)},Qn=J(function(e,t){const i=V.getSignedInUser(),o=e.tenantState.currentTenantId,c={userId:i?.userId??"",sessionId:i?.zeniSessionId??"",tenantId:o??""},r=t.showActionButtons,u=r&&t.file==null;return{uploadInvoiceEndPoint:`${Rt.communicationAgentMicroServiceBaseUrl}`,authParams:c,billId:t.billId,file:t.file,showAutofill:t.showAutofill,analytics:T,entityId:t.billId,showTitlebarIcon:r,showTitlebar:r&&t?.file!=null,uploadStatus:t.uploadStatus,shouldNotShowAttachment:u}},function(e,t){const i=V.getSignedInUser();return{onInvoiceUpload:o=>{o!=null&&(t.file!=null||t.billId!=null||t.isInitialEdit?(t.setPayload(o),t.setShowConfirmationPopup(!0)):e(Ue(o,t.isVendorRecommendationEnabled,t.billId)))},updateInvoiceUploadFetchState:o=>{e(oa({fetchState:{fetchState:o,error:void 0},billId:t.billId}))},onSkipAutofill:o=>{T?.trackBillPaySkipAutofill(),e(bt(o))},onDeleteClick:()=>{e(ia({billId:t.billId})),T?.trackInvoiceActionClick(t.billStage??"","delete",i?.userEmail??"",null)}}})(An);function C({appContent:e}){const t=se(),{billId:i}=ee(),o=q().pathname,c=o.includes("bill/new")||o.includes("/edit"),r=ve(),u=jt(),l=V.getSignedInUser(),s=ie(),{useFeatureGate:n,useDynamicConfig:d}=oe(),{isFeatureEnabled:p}=n(g.isVendorRecommendationFeatureEnabled),{isFeatureEnabled:m}=n(g.isShowDeletedBillsFeatureEnabled),{isFeatureEnabled:h}=n(g.isDepositAccountsFeatureEnabled),{isFeatureEnabled:S}=n(g.billPaySetupShowInternationalPaymentByWise),{configValue:b}=d(Ce.zeniAssistConfig),f=b.user_ids!=null&&l?.userId!=null&&b.user_ids.includes(l?.userId),x=k(L=>O(L)).companyName,[D,I]=v.useState(!1),[U,F]=v.useState(!1),[G,R]=v.useState(!1),[B,Z]=v.useState(),A=k(L=>Le(L,p,h,i));let K=A.fetchState,_=A.file,H=A.showAutofill;const W=k(L=>Ve(L,i??""));c===!1&&(K=W.fetchState,_=W.transactionDetails?.attachments?.[0],H=!1);const M=()=>{u.toggle()},te=A.billPayInfo!=null&&A.billPayInfo.stage.code==="pending_approval"?A.billPayInfo.billStatus.code:A.billStage;v.useEffect(()=>{K==="Not-Started"&&(c&&U?F(!1):!c&&D&&I(!1))},[i]),v.useEffect(()=>{D||i==null||c||(I(!0),t(ut(i,m,f,!1)),U||(F(!0),t(Pe(!1,m,f,S,i)))),c&&!U&&(F(!0),t(Pe(!1,m,f,S,i)))},[D,U,c,i,t]);const ue={onOkClick:()=>{if(R(!1),!B)return;const L=_!=null?"replace":"upload";T?.trackInvoiceActionClick(te??"",L,l?.userEmail??"","yes"),t(na({replaceBillData:!0,billId:i})),t(Ue(B,p,i))},onCancelClick:()=>{if(R(!1),!B)return;const L=_!=null?"replace":"upload";T?.trackInvoiceActionClick(te??"",L,l?.userEmail??"","no"),t(aa({file:B,billId:i}))}};if(l==null)throw Error("Can't access address page without signing in...");if(K==="Error"||W.fetchState==="Error")return a.jsx(Ae,{});if(K!="Completed")return a.jsx(Y,{fetchState:K,style:{backgroundColor:s.colors.grey5,boxShadow:`0px 2px ${w.sp1} ${s.colors.dropShadowNormal}`}});{const L=A.billPayInfo!=null&&A.billPayInfo.stage.code==="pending_approval"?A.billPayInfo.billStatus.code:A.billStage;return a.jsxs(di,{windowSize:r,children:[G?a.jsx(Cn,{titleComponent:a.jsx(pi,{children:be.overwriteTitle}),descriptionComponent:a.jsx(mi,{children:be.overwriteDescription}),primaryButtonText:be.buttons.yes,secondaryButtonText:be.buttons.no,action:ue,isEditPopup:!0}):null,r!=="small"?a.jsxs(ni,{children:[a.jsx(ci,{onClick:M}),a.jsxs(ai,{showContent:l?.userEmailDomain==="zeni.ai",children:[a.jsx(ii,{showAutofill:H}),a.jsx(oi,{showAutofill:H,children:x})]})]}):null,a.jsx(Qn,{billId:i,file:_,showAutofill:H,uploadStatus:A.uploadStatus,isVendorRecommendationEnabled:p,attachmentTitle:ei(c,W,A),setShowConfirmationPopup:R,setPayload:Z,showActionButtons:ti(c,A),isInitialEdit:!!A.isInitialEdit,billStage:L}),a.jsx(ui,{windowSize:r,children:e})]})}}function ei(e,t,i){let o,c;return e?(o=i.recurringConfig?.currentInstance,c=i.recurringConfig?.totalPaymentCycles):(o=t.transactionDetails?.recurringBillInstance,c=t.recurringBillConfigDetail?.totalPaymentCycles),t?.isRecurring===!0?a.jsxs(li,{children:[a.jsx(si,{children:`${be.recurringBill.recurringCycle}
|
|
2
2
|
${o}/${c}`}),a.jsx(ri,{})]}):void 0}function ti(e,t){const i=t.billActivities?.[0],o=t.billStage==="pending_approval"&&i?.areApprovalsSerialized===!0&&i?.currentPendingStepIndex===0;return e&&(t.billStage==="draft"||o)}const ai=$.div`
|
|
3
3
|
display: ${e=>e.showContent?"flex":"none"};
|
|
4
4
|
align-items: center;
|
package/dist/assets/{BillPaySetUpPage-DNYX24VA-DLV9gKNt.js → BillPaySetUpPage-CM7_DkHC-B8MycdyA.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as Oe,e as Ue,a7 as V,T as Re,c8 as $e,O as ze,ad as Y,V as t,eI as He,f as Le,b as qe,x as u,a_ as Ne,L as Me,A as Je,eZ as R,de as Ze,e_ as Ge,aU as Ke,d4 as Qe,bn as Xe,e$ as Ye,a9 as et,o as z,f0 as tt,m as o,l as it,b6 as nt}from"./index-
|
|
1
|
+
import{y as Oe,e as Ue,a7 as V,T as Re,c8 as $e,O as ze,ad as Y,V as t,eI as He,f as Le,b as qe,x as u,a_ as Ne,L as Me,A as Je,eZ as R,de as Ze,e_ as Ge,aU as Ke,d4 as Qe,bn as Xe,e$ as Ye,a9 as et,o as z,f0 as tt,m as o,l as it,b6 as nt}from"./index-CuxRoVvZ.js";import{a as m}from"./sentry-Cm8I7E9J.js";import{n as b}from"./mui-G2MlMTlr.js";import{cg as ot}from"./zeni-epic-state-lC5X-sam.js";import{g as at}from"./UploadAdditionalDocumentOverlay-eqwSLigx-Cfv8NRXy.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:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="68b16f99-a82e-4d6a-b9f2-2e05dad98343",e._sentryDebugIdIdentifier="sentry-dbid-68b16f99-a82e-4d6a-b9f2-2e05dad98343")}catch{}})();const n={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,o[5],o[5]),sectionRowGap:new u(o[5],o[9],o[9]),lastSectionPaddingBottom:new u(o[7],o[10],o[10]),iconWidthHeight:new u(20,o[4]),subTitlePaddingTop:new u(12,o[3]),subTitlePaddingBottom:new u(o[3],o[3]),overlayWidth:new u(100,100,59)},ee="billPaySetUpPage",F="billPayAccount",Tt=({billPaySetupView:e,isDisabled:p,billpayApprovalView:x,meetingUrl:v,showIntlWiseWidget:s,connectedAccountProvider:ie,isAccountsEnabled:ne,isLocalCurrencyEnabled:oe,analytics:y,filesEndPoint:ae,authParams:le,accountsPromoConfig:ce,onBackClick:se,onBusinessVerificationSectionClick:de,onSetupApprovalRulesSectionClick:re,onFetchLinkTokenClick:ue,onEstablishConnectionClick:pe,onEstablishConnectionSuccess:fe,onUpdatePrimaryFundingAccount:he,onUpdateAccountClick:ge,onUpdatePaymentAccountStatus:me,onUpdatePaymentAccountLoginStatus:be,onEnableBillPayClick:ye,onEnableBillPaySuccess:H,onClickMenuIcon:Se,onInternationPaymentSetUpClick:we,onEditFileName:Pe,onDeleteFile:xe,updateFilesEntity:ve,onCompanyOfficerUpdated:Ce,onSendForVerificationClick:ke,onSignUpClick:Ae})=>{const C=Oe(),i=Ue(),[k,S]=m.useState(!1),L=m.useRef(null),{fetchState:f,updateStatus:w,accountUpdateStatus:Te,plaidConnectionDetails:E,allBankAccounts:Ie,companyBillPayInfo:A,isRefreshingViewInBackground:je,selectedCompanyOfficer:l,primaryFundingAccount:d,allFundingAccounts:q}=e,h=A?.internationalWireOnboardingStatus,T=h==null||h.code==="onboarding_status_not_started",{fetchState:N,allApprovalRules:I,approvalRulesStatus:Be}=x,_=E.link_account.updateStatus,W=E.update_account.updateStatus,j=V(f),M=V(w.fetchState),J=V(_.fetchState),Z=V(W.fetchState),P=Re({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>$(e),[e]),values:$(e)});m.useEffect(()=>{!k&&l?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&l.areAdditionalDocumentsRequestedForVerification&&!l.areAdditionalDocumentsSubmittedForVerification&&l.userVerificationStatus?.code==="require_info"&&S(!0),k&&j==="In-Progress"&&f==="Completed"&&S(!1)},[l,f,j]),m.useEffect(()=>{(j==="In-Progress"&&f==="Completed"||J==="In-Progress"&&_.fetchState==="Completed"||Z==="In-Progress"&&W.fetchState==="Completed")&&P.reset($(e))},[j,f,P,e,J,_.fetchState,Z,W.fetchState]);const Ve=P.handleSubmit(G=>{y.trackEnableBillPay(),ye()});m.useEffect(()=>{const G=P.watch((K,{name:Q})=>{Q!=null&&K!=null&&$e(()=>(async(X,De)=>{const c=De[F];if(X.includes(F)){if(X.includes("fundingAccount")){if(c.fundingAccount.selectedOption!=null&&d?.id!=c.fundingAccount.selectedOption){const g=q.find(U=>U.id===c.fundingAccount.selectedOption);g!=null&&he(c.fundingAccount.selectedOption,g.accType)}}else if(c.account.selectedOption!=null&&d?.id!=null&&d?.zeniAccountId!=c.account.selectedOption){const g=c.account.allOptions.find(U=>U.value===c.account.selectedOption);g!=null&&typeof g.label=="string"&&y.trackConnectBankLink(g.value,g.label,"bill_pay"),ge(c.account.selectedOption,d.id,d.accType)}}})(Q,K))});return()=>{G.unsubscribe()}}),m.useEffect(()=>{M==="In-Progress"&&w.fetchState==="Completed"&&H()},[H,M,w.fetchState]);const{commonSetUp:Fe,spendManagement:Ee}=ze.getLocalizedStrings(),{setUp:r}=Fe,{billPaySetup:a}=Ee.billPay,D=A?.isBusinessVerified===!0&&(d?.accType==="depositAccount"||ot(d?.providerVerificationStatus?.code??"")),O=A?.isBillPayEnabled===!0,_e=D?r.setupVerifiedSubTitle:a.setupSubTitle,We=f==="In-Progress"||f==="Not-Started"||N==="In-Progress"||N==="Not-Started",B=C.mode==="light"?new Y(C.colors.brandColorJadeLight):new Y(C.colors.brandColorJadeDark);return t.jsxs(ct,{ref:L,children:[t.jsx(He,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:k,onClose:()=>S(!1),style:{backgroundColor:Le.drawerBackground},transitionDuration:250,"data-testid":qe("bill-pay-setup-drawer"),children:t.jsx(at,{authParams:le,filesEndPoint:ae,updateStatus:w,onEditFileName:Pe,onDeleteFile:xe,updateFilesEntity:ve,companyOfficer:l,onClose:()=>S(!1),onCompanyOfficerUpdated:Ce,onSendForVerificationClick:ke})}),t.jsx(Ne,{title:a.setupTitle,style:{zIndex:3},onBackClick:se,showMenuIcon:!O&&(i==="medium-compact"||i==="small"),onClickMenuIcon:Se,scrollableContent:L,backgroundColor:C.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(rt,{windowSize:i,children:[t.jsx(dt,{windowSize:i,children:_e}),We?t.jsx(ut,{children:t.jsx(Me,{size:"ExtraLarge",start:!0})}):t.jsxs(lt,{children:[t.jsx(Je,{...P,children:t.jsx("form",{id:te(ee),onSubmit:Ve,children:t.jsxs(pt,{windowSize:i,children:[t.jsx(R,{onClick:()=>{k||l?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")!==!0||!l.areAdditionalDocumentsRequestedForVerification||l.areAdditionalDocumentsSubmittedForVerification||l.userVerificationStatus?.code!=="require_info"?de?.():S(!0)},title:r.businessVerificationTitle,subTitle:r.businessVerificationSubTitle,header:r.businessVerificationHeader,icon:{element:t.jsx(Ze,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},status:A?.businessVerificationStatus,isLoading:je,isActiveWhileLoading:!0}),t.jsx(Ge,{connectedAccountProvider:ie,primaryFundingAccount:d,allFundingAccounts:q,plaidConnectionDetails:E,allBankAccounts:Ie,sectionId:F,isDisabled:p,onFetchLinkTokenClick:ue,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:me,onUpdatePaymentAccountLoginStatus:be,onEstablishConnectionSuccess:fe,icon:{element:t.jsx(Ke,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},analytics:y,productType:"bill_pay",isAccountsEnabled:ne,onSignUpClick:Ae,pageName:"Bill Pay Setup",accountsPromoConfig:ce}),t.jsx(R,{title:I.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:a.approvalSubTitle,header:I.length>0?r.approvalHeader:r.setupApprovalHeader,icon:{element:t.jsx(Qe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:re,status:I.length>0?Be:void 0})]})})}),s===!0?t.jsx(R,{title:T?a.enableInternationalWireTitle:a.internationWireTitle,subTitle:a.internationalWireSubTitle2,header:a.internationalWireHeader,icon:{element:t.jsx(Ye,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},isClickable:!0,onClick:()=>{T&&y.trackEnableIntlWire(oe),we?.()},status:T?void 0:{name:h.name,code:h.code},statusInfoIcon:h?.code==="verification_pending"||h?.code==="verification_failed"?t.jsx(Xe,{title:h.code==="verification_pending"?a.tooltipTexts.pendingInternationalVerificationText:a.tooltipTexts.internationalVerificationFailed,children:t.jsx(st,{})}):void 0,shouldHover:!0,showRightArrow:T}):null]})]}),D&&!O&&I.length>0?t.jsx(et,{formId:te(ee),primaryBtn:{label:a.enableBillPay,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:w.fetchState==="In-Progress"||Te.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:a.terms,cancelBtn:{label:""},style:{padding:`12px ${z.sp3}`}}):null,t.jsx(tt,{isFooterRendered:D&&!O,meetingUrl:v,analytics:y,productType:"bill_pay"})]})},lt=b.div``,ct=b.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as Ce,e as Pe,T as xe,c8 as Ie,ad as k,O as Ae,V as t,x as C,a_ as ve,L as je,A as ke,aU as $e,c9 as Te,a9 as
|
|
1
|
+
import{y as Ce,e as Pe,T as xe,c8 as Ie,ad as k,O as Ae,V as t,x as C,a_ as ve,L as je,A as ke,aU as $e,c9 as Te,a9 as De,o as a,ha as Ve,eu as Be,ev as Ee,m as P,l as Le,gh as ze,f as Oe,d as _e}from"./index-CuxRoVvZ.js";import{a as F}from"./sentry-Cm8I7E9J.js";import{n as d}from"./mui-G2MlMTlr.js";import{F as Me,o as H,t as Re}from"./PaymentAccountSetupBillingAddressSection-q5z8XZFC-DgyJWqIO.js";import{F as Ue}from"./SetUpAccountSection-_WPR-q2V-D1in60I8.js";import"./pdf-DwfifS04.js";import"./zeni-epic-state-lC5X-sam.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./stripe-DMRn4zHo.js";import"./commonTypes-Ec-PxfpT-DzRDGsuT.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]="180e3526-27fe-4e21-bf65-1dd21c603758",e._sentryDebugIdIdentifier="sentry-dbid-180e3526-27fe-4e21-bf65-1dd21c603758")}catch{}})();const u={titleWidth:new C(343,580,726,826),setupDetailsRowGap:new C(12,P[5],P[5]),iconWidthHeight:new C(20,P[4]),subTitlePaddingTop:new C(12,P[3])},We={title:new _e("standardSemiBold","largeSemiBold")},K="billingSetupPage",x="payAccountSectionId",n="subscriptionBillingAddressSectionId",gt=({analytics:e,billingSetupView:i,connectedAccountProvider:p,isDisabled:r,onClickMenuIcon:I,uiState:G,stripeKey:J,googleAPIKey:Z,companyId:Q,onUpdateAccountClick:Y,onFetchLinkTokenClick:X,onUpdatePaymentAccountStatus:ee,onUpdatePaymentAccountLoginStatus:te,onEstablishConnectionClick:ne,onEstablishConnectionSuccess:ie,handleCreateCardSetupIntent:oe,handleConfirmCardSetupIntent:ae,updateCardPaymentModalState:$,handleAddCardPaymentSource:se,resetCardPaymentViewState:de,handleResetCardPaymentErrorStatuses:re,onBillingAddressSave:le,onAddressEditHandler:ce})=>{const f=Ce(),o=Pe(),{setupView:{paymentAccount:h,plaidConnectionDetails:ue,allBankAccounts:pe,accountFetchStatus:T},cardPaymentView:m}=i,me=i.subscriptionBillingAddress,D=h?.providerVerificationStatus,he=T.fetchState==="In-Progress"||T.fetchState==="Not-Started",g=xe({mode:"onSubmit",reValidateMode:"onChange",defaultValues:N(i),values:N(i),resetOptions:{keepDirtyValues:!0}}),ge=g.handleSubmit(R=>{le(Q)}),V=i.subscriptionBillingAddressSaveStatus;F.useEffect(()=>{const R=g.watch((U,{name:W})=>{W!=null&&U!=null&&Ie(()=>(async(b,s)=>{const A=s[x];if(b.includes(n)&&s[n]!=null){const v=g.getValues(`${n}`).country;let c=s[n];if(b.includes(`${n}.street`)&&s[n].street!=null){const{addressValue:S}=s[n].street,j=Be(S?.country);c={street:s[n].street??l.strings.empty,city:S?.locality??l.strings.empty,state:S?.administrativeAreaLevel1??l.strings.empty,country:j,countryCode:S?.countryCode??l.strings.empty,postalCode:S?.postalCode??l.strings.empty,secondaryInfo:s[n].secondaryInfo,suite:s[n].suite},v.selectedOption!==j.selectedOption&&(c={...c,country:j})}else b===`${n}.country`&&v.selectedOption!=null&&(c={...c,countryCode:Ee(v.selectedOption)});c!=null&&ce(c)}else b.includes(x)&&A.account.selectedOption!=null&&h?.paymentAccountId!=null&&h.zeniAccountId!==A.account.selectedOption&&Y(A.account.selectedOption,h.paymentAccountId)})(W,U))});return()=>{R.unsubscribe()}});const B=f.mode==="light"?new k(f.colors.brandColorJadeLight):new k(f.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:ye,card_payment_method:y}},common:l,billingSetupPage:E}=Ae.getLocalizedStrings(),Se=E.section.subTitle,{text:fe,subText:we}=ye,L=m.cardsList.length>0,z=m?.cardsList[0]?.brand??"other",O=m?.addCardPaymentSourceStatus.fetchState,w=Me(y.header,y.titleText,y.protectedCardNo,m);let _;L&&(_={header:w.header,title:w.title,subtitle:w.subtitle,status:w.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:L===!0,icon:{element:t.jsx("img",{src:H(z).iconURL,width:u.iconWidthHeight.valuePx(o),height:u.iconWidthHeight.valuePx(o),alt:H(z).name}),color:new k(B)},showCompletedIcon:!1,isError:O==="Error",isLoading:O==="In-Progress",isCompleted:!0,showRightArrow:!1});const[M,be]=F.useState(!1);return t.jsxs(He,{children:[t.jsx(ve,{source:"BillingSettingsPage",title:E.section.title,backgroundColor:f.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:I}),t.jsxs(Fe,{windowSize:o,children:[t.jsx(Ke,{windowSize:o,children:Se}),he?t.jsx(Ne,{children:t.jsx(je,{size:"ExtraLarge",start:!0})}):t.jsx(ke,{...g,children:t.jsx(Qe,{children:t.jsx("form",{id:q(K),onSubmit:ge,children:t.jsxs(qe,{windowSize:o,children:[t.jsx(Ue,{connectedAccountProvider:p,paymentAccount:h,plaidConnectionDetails:ue,allBankAccounts:pe,header:y.header,sectionTitle:y.header,defaultSectionTitle:fe,defaultSectionSubTitle:we,sectionId:x,isDisabled:r,onFetchLinkTokenClick:X,onEstablishConnectionClick:ne,onUpdatePaymentAccountStatus:ee,onUpdatePaymentAccountLoginStatus:te,onEstablishConnectionSuccess:ie,isError:D?.code==="require_info"||D?.code==="failed",icon:{element:t.jsx($e,{width:u.iconWidthHeight.valuePx(o),height:u.iconWidthHeight.valuePx(o)}),color:B},analytics:e,productType:"billing",updateCardPaymentModalState:$,cardPaymentSectionValues:_,cardPaymentView:m,resetCardPaymentViewState:de,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:M}),Ge(o,l.headers.billingAddress,me,Z,r)]})})})}),Te(g.formState.dirtyFields)?t.jsx(De,{formId:q(K),style:{width:o==="small"?"auto":"100%",paddingTop:a.sp2,paddingBottom:a.sp2,height:a.sp8},primaryBtn:{label:l.footer.save,isLoading:V?.fetchState==="In-Progress",isDisabled:V?.fetchState==="In-Progress",style:{height:a.sp6}},showCancel:!1,containerStyle:{width:"auto",justifyContent:"center"}}):null]}),t.jsx(Re,{handleConfirmCardSetupIntent:ae,updateCardPaymentModalState:$,handleCreateCardSetupIntent:oe,handleAddCardPaymentSource:se,cardPaymentView:m,isCardPaymentOpen:G.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:re,stripeKey:J,cardSetupInProgress:M,setCardSetupInProgress:be})]})},N=e=>{const{paymentAccount:i,allBankAccounts:p}=e.setupView;return{[x]:{account:{selectedOption:i?.zeniAccountId,allOptions:p.map(r=>({label:r.accountName,value:r.accountId}))}},[n]:Ve(n,e.subscriptionBillingAddress)[n]}},Fe=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
height: 100%;
|
|
@@ -12,7 +12,7 @@ import{y as Ce,e as Pe,T as xe,c8 as Ie,ad as k,O as Ae,V as t,x as C,a_ as ve,L
|
|
|
12
12
|
flex-direction: column;
|
|
13
13
|
width: 100%;
|
|
14
14
|
background-color: ${e=>e.theme.colors.grey4};
|
|
15
|
-
`,
|
|
15
|
+
`,Ke=d(Le)`
|
|
16
16
|
color: ${e=>e.theme.colors.hero};
|
|
17
17
|
display: flex;
|
|
18
18
|
justify-content: center;
|
|
@@ -20,7 +20,7 @@ import{y as Ce,e as Pe,T as xe,c8 as Ie,ad as k,O as Ae,V as t,x as C,a_ as ve,L
|
|
|
20
20
|
padding-top: ${e=>u.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
21
21
|
padding-bottom: ${a.sp3};
|
|
22
22
|
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
23
|
-
`,
|
|
23
|
+
`,Ne=d.div`
|
|
24
24
|
display: flex;
|
|
25
25
|
width: 100%;
|
|
26
26
|
height: calc(100vh - 110px);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as b,bR as U,bS as L,bT as V,iT as M,ag as W,O as q}from"./index-
|
|
1
|
+
import{V as b,bR as U,bS as L,bT as V,iT as M,ag as W,O as q}from"./index-CuxRoVvZ.js";import{a as f}from"./sentry-Cm8I7E9J.js";import{GJ as z}from"./zeni-epic-state-lC5X-sam.js";import{u as G}from"./ReviewOverlay-Cxkp85Kw-DWi1LLwl.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:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="aaa567ff-65a7-4718-9b00-4fdf5079ff6b",e._sentryDebugIdIdentifier="sentry-dbid-aaa567ff-65a7-4718-9b00-4fdf5079ff6b")}catch{}})();const{common:s,spendManagement:{billPay:x}}=q.getLocalizedStrings(),l=x.bulkActions;let I;const de=({billsReviewView:e,analytics:r,onProceedForBulkActionClick:o,onCloseReviewItem:t,onCloseOverlay:c})=>{const{fetchState:m,bulkSubmissionFetchState:a,bulkOperationTypeSelected:i,currentTab:g,currentSubTab:_}=e,u=i==="review",[C,w]=f.useState(!1),[n,v]=f.useState(B(e,u)),[d,k]=f.useState(u),[T,E]=f.useState(0),[y,j]=f.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});f.useEffect(()=>(u&&(I=setInterval(()=>{v(p=>p.map((S,O)=>(clearInterval(I),O===T?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),E(p=>p+1)},1e3)),T===n.length&&d&&(k(!1),clearInterval(I)),!u&&e.fetchState==="Completed"&&v(B(e,!1)),()=>{clearInterval(I)}),[n.length,T,d,e.fetchState,u,e]);const R=n.length,h=n.filter(p=>p.reviewStatus.code!=="error").length,D={onOkClick:p=>{w(!1),r.trackBillPayBulkPopupConfirm(i,g,_,J(e)),o("reject",p)},onCancelClick:()=>{w(!1)}},{title:A,description:F}=K(m,h,R,d),P=e.fetchState==="Completed"&&h===0,N={label:P?s.texts.close:i==="send_for_approval"?s.footer.submit:s.footer.approve,isDisabled:m!=="Completed"||i==="reject"&&a==="In-Progress",isLoading:a==="In-Progress"&&(i==="send_for_approval"||i==="approve"),onClick:P?c:()=>{r.trackBillPayBulkSubmit(i,g,_),o(i)},style:i==="send_for_approval"?{minWidth:"92px"}:{}},$={label:i==="send_for_approval"?s.texts.goBack:s.footer.reject,isDisabled:i!=="reject"&&a==="In-Progress",isLoading:i==="reject"&&a==="In-Progress",reverseSpinnerColor:!1,onClick:i==="send_for_approval"?c:()=>{const{title:p,description:S}=H(h);j({type:"reject",title:p,description:S,primaryButtonText:s.texts.confirm,secondaryButtonText:s.texts.close}),r.trackBillPayBulkSubmit(i,g,_),w(!0)},style:i==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[C?b.jsx(U,{titleComponent:b.jsx(V,{children:y.title}),descriptionComponent:b.jsx(L,{children:y.description}),primaryButtonText:y.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:y.secondaryButtonText,action:D,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(G,{title:A,description:{content:F,isError:e.fetchState==="Completed"&&h===0},reviewItems:n,onCloseReviewItem:t,onCloseOverlay:c,showFooter:e.fetchState==="Completed"&&!d,footerProps:{primaryButton:N,cancelButton:$,hideCancel:P}})]})},B=(e,r)=>{const o=e.fetchState==="In-Progress";return e.billsForReview.map(t=>({id:t.transactionId,leftSideText:{title:t.vendorName?t.vendorName:x.billDetails.newBillTitle,subTitle:`${x.billDetails.invoiceNo} ${t.invoiceNumber?t.invoiceNumber:s.strings.hyphen}`},rightSideText:{title:W("0,0.[00]",t.amount?.amount,t.amount?.currencySymbol),showThunderIcon:t.reviewErrors?.length===1&&z(t.reviewErrors[0].reviewErrorCode),subTitle:Q(t.reviewStatus==="warning",t.reviewErrors?.map(c=>c.reviewInfoMessage)),additonalInfo:t.reviewErrors!=null&&t.reviewErrors.length>1?l.reviewPage.removeOrProceed:void 0},reviewStatus:{isLoading:!!r||o,code:t.reviewErrors?.length===1&&t.reviewErrors[0].reviewErrorCode==="ERR_INSUFFICIENT_FUNDS"?"low-balance":t.reviewStatus??""}}))},J=e=>{const r=e.billsForReview;let o=[];return r.forEach(t=>{o=M([...o,t.isRecurring?"recurring":"one-time"])}),o},H=e=>{const{this_:r,these:o,bill:t,bills:c,payment:m,payments:a}=s.texts;return e>1?{title:l.popUps.reject.title.replace("<_payment_>",l.payments),description:l.popUps.reject.description.replaceAll("<_this_>",o).replaceAll("<_payment_>",a).replaceAll("<_bill_>",c)}:{title:l.popUps.reject.title.replace("<_payment_>",l.payment),description:l.popUps.reject.description.replaceAll("<_this_>",r).replaceAll("<_payment_>",m).replaceAll("<_bill_>",t)}},K=(e,r,o,t)=>{const{has:c,have:m,bill:a,bills:i,are:g,is:_,do_:u,does:C}=s.texts,w=r>1,n=o>1;let v="",d="";return e!=="Completed"||t?(v=l.reviewPage.billsReviewing.title.replace("<_bill_>",n?i:a),d=l.reviewPage.billsReviewing.description.replace("<_bill_>",n?i:a)):(v=l.reviewPage.billsReviewed.title.replace("<_bill_>",n?x.bulkActions.bills:l.bill).replace("<_has_>",n?m:c),d=r===0?l.reviewPage.billsReviewed.descriptionError.replace("<_bill_>",n?i:a).replace("<_do_>",n?u:C):`${r}/${o} ${l.reviewPage.billsReviewed.description.replace("<_bill_>",o>1?i:a).replace("<_is_>",w?g:_)}`),{title:v,description:d}},Q=(e,r)=>{if(r?.length!=null){if(r.length>1)return r.join(` ${s.strings.dividerDot} `);if(r.length===1)return e?r[0]+`${s.strings.colon} ${l.reviewPage.removeOrProceed}`:r[0]}return""};export{de as default,J as getBillsUniqueType};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as n,V as s,b,o as e}from"./index-
|
|
1
|
+
import{e as n,V as s,b,o as e}from"./index-CuxRoVvZ.js";import{n as a}from"./mui-G2MlMTlr.js";import{o as l}from"./commonDimensions-CVpc-NCw-CA0m656N.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new o.Error().stack;r&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[r]="f794e3fb-c8ac-4f0b-9ac6-6f8744ab2521",o._sentryDebugIdIdentifier="sentry-dbid-f794e3fb-c8ac-4f0b-9ac6-6f8744ab2521")}catch{}})();const m=(o,r)=>r===1?"roundedBox":o===0?"topRoundedBox":o===r-1?"bottomRoundedBox":"box";function g({content:o,boxType:r,isDisabled:d=!1,isNotClickable:t=!1}){const i=n();switch(r??"roundedBox"){case"topRoundedBox":return s.jsx(h,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("top-rounded-box",r),children:o});case"bottomRoundedBox":return s.jsx(u,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("bottom-rounded-box",r),children:o});case"box":return s.jsx(x,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("box",r),children:o});case"roundedBox":return s.jsx(p,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("rounded-box",r),children:o})}}const p=a.div`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
cursor: ${o=>o.isDisabled||o.hideCursor===!0?"default":"pointer"};
|
|
4
4
|
min-height: ${o=>l.transactionItemHeightResponsive.valuePx(o.windowSize)};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import{y as rt,e as lt,a7 as Te,V as t,z as Q,T as ct,cl as dt,B as pt,c8 as ut,ag as Ie,a6 as ke,fB as mt,a as ft,a_ as yt,b as ht,c9 as gt,bR as xt,bS as St,bT as wt,L as Ct,A as bt,a9 as Dt,o as c,x as L,H as Le,O as _e,fC as Ot,f1 as $e,eu as vt,c2 as Tt,a8 as It,l as Ae,d as kt,M as $t,m as k}from"./index-BHAcVHeH.js";import{a as _}from"./sentry-CY6wsJT-.js";import{n as d}from"./mui-Cni6P-fz.js";import{F6 as Nt,bQ as J,FE as jt,FD as Ft,FF as Vt}from"./zeni-epic-state-cFF_NqwA.js";import{r as Pt,z as Lt}from"./CompanyOfficerDetailsSection-w86_5FXJ-CDmgqN3N.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./helper-D3UIpXq7-DCH1HBMI.js";import"./LabeledAddressValueField-D47ofJFV-CGqdgTnp.js";import"./LabeledCountryMultiSelectField-vRw9drBe-Bw1loTny.js";import"./LabeledCreatableSingleSelectField-CdF97ljM-DTrzefeb.js";import"./LabeledDocumentField-Dn25Ru1C-CLM-i9xW.js";import"./LabeledNameField-Dxx0xwMv-DBRkdNqp.js";import"./commonTypes-C64XobC6-BTobasZR.js";import"./avatar-Dz7aEm3d-lVrrjTFE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new e.Error().stack;C&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[C]="7052aac2-4e26-497f-9233-1c498381461b",e._sentryDebugIdIdentifier="sentry-dbid-7052aac2-4e26-497f-9233-1c498381461b")}catch{}})();const w={width:new L(343,580,726),titleWidth:new L(343,580,726,826),subTitlePaddingTop:new L(12,k[3]),subTitlePaddingBottom:new L(k[3],k[3]),verificationDetailsRowGap:new L(12,k[5],k[5]),termsPaddingLeftRight:new L(k[0],k[3])},_t={stepTitle:new kt("h6Regular","h5Regular")},Ne="businessVerificationPage",O="companyDetails",v="companyOfficerDetails",{commonSetUp:{businessVerification:i},common:{settings:At,currency:je,footer:Fe,strings:{empty:Bt}}}=_e.getLocalizedStrings(),Ta=({businessVerificationDetails:e,allNationalityCountries:C,verficationDetailsFetchState:$,isRefreshingViewInBackground:E,filesEndPoint:a,authParams:R,productType:h,allIndustries:A,companyTitles:U,maxInsuredAmount:f,isDisabled:N,isSettings:s=!1,isOverlay:x=!1,analytics:S,isStepInProgress:b=!1,isTreasuryTransferInitiated:K=!1,transferDetails:M,onOverlayClose:oe,onAddressClick:re,onRegisteredAddressClick:ze,onBackClick:B,onGetOtp:Ee,onVerifyOtp:Re,onResendOtp:Ue,onSendForVerificationClick:Me,onEditFileName:le,onCompanyDetailsChanged:We,updateFilesEntity:ce,onDeleteFile:de,onDeleteFileList:Ze,onCompanyOfficerUpdated:Xe,saveNewAddressInLocalStore:pe,onSaveDetailsClick:qe,onClickMenuIcon:Ge,onExecuteTreasuryTransfer:He})=>{const Qe=rt(),p=lt(),{updateStatus:W,companyView:z,companyDetailsLocalData:o,companyOfficerLocalData:D}=e,Je=Te(W.fetchState),Z=z?.company.company.featuresActivationInfo.connectedAccountProvider,Ke=Z==="unit"?t.jsxs(qt,{children:[i.terms.term1,t.jsx(Q,{href:i.terms.consentUrl,onZeniLinkClick:()=>(S?.trackBillPayAgreement(),!0),linkText:i.terms.consent}),i.terms.term2,t.jsx(Q,{href:i.terms.depositUrl,onZeniLinkClick:()=>(S?.trackBillPayAgreement(),!0),linkText:i.terms.depositTerms}),i.terms.term3,t.jsx(Q,{href:i.terms.privacyPolicyUrl,onZeniLinkClick:()=>(S?.trackBillPayAgreement(),!0),linkText:i.terms.privacy}),i.terms.term4,t.jsx(Q,{href:i.terms.tosUrl,onZeniLinkClick:()=>(S?.trackBillPayPrivacyPolicy(),!0),linkText:i.terms.tos}),i.terms.term5]}):i.terms.termsForStripe,[Ye,Y]=_.useState(!1),[X,ue]=_.useState("save"),[ee,et]=_.useState(!1),u=ct({mode:"all",reValidateMode:"onChange",defaultValues:zt(e,A,U,C)}),{isValid:tt}=u.formState,q=z?.company.company.companyBillPayInfo,te=z?.company.company.companyTreasuryInfo,j=h==="zeni_treasury"?te?.companyVerificationStatus:q?.companyVerificationStatus,T=Object.values(D).findIndex(n=>n?.isSelectedForVerification===!0),I=`Officer_${T<0?1:T+1}`,at=u.handleSubmit(()=>{if(X!=="verification"&&ue("verification"),Z==="unit"&&D[I]?.isPhoneVerified!==!0)return void u.setError(`${v}.${T}.phone`,{type:"custom"});const n=dt(Object.values(D).map(r=>Object.values(r?.deleteFileStatusById??{}).filter(g=>g!=null))),m=Object.values(o?.deleteFileStatusById??{}).filter(r=>r!=null);Nt(n.concat(m)).fetchState!=="In-Progress"&&tt&&((()=>{const r=D[I],g=r?.email,F=r?.birthday?.toString(),l=r?.ownershipInCompany,y=r?.firstName,V=r?.lastName,P=r?.titleAtCompany,G=r?.documentTypeSelectedForVerification,H=r?.phone,he=r?.addressStatus?.addressToCreate,ge=he!=null?J(he):void 0,xe=o?.companyDescription,se=o?.companyLegalName,Se=o?.companyIndustry,we=o?.phone,Ce=o?.website,be=o?.addressStatus?.addressToCreate!=null?J(o?.addressStatus?.addressToCreate):void 0,ne=o?.primaryContactLocalData,De=ne?.firstName,Oe=ne?.lastName,ve=ne?.email;g!=null&&l!=null&&y!=null&&V!=null&&F!=null&&P!=null&&H!=null&&ge!=null&&G!=null&&xe!=null&&se!=null&&we!=null&&Ce!=null&&Se!=null&&se!=null&&be!=null&&De!=null&&Oe!=null&&ve!=null&&S?.trackBusinessVerificationSend({email:g,birthday:F.toString(),companyOwnership:l,firstName:y,lastName:V,companyRole:P,phone:H,formattedAddress:ge,documentTypeForVerification:G},{companyDescription:xe,legalName:se,phone:we,website:Ce.toString(),industry:Se,formattedAddress:be},{firstName:De,lastName:Oe,email:ve},h,s?"Settings":void 0)})(),Me?.(I),K===!0&&He?.())}),it=_.useCallback(pt((n,m)=>{(async(r,g)=>{r.includes(O)?We?.(g[O]):r.includes(v)&&Xe?.(g[v])})(n,m)},300),[]);_.useEffect(()=>{const n=u.watch((m,{name:r})=>{r!=null&&m!=null&&ut(()=>it(r,m))});return()=>{n.unsubscribe()}});const me=Te(e.companyDetailsLocalData?.addressStatus);_.useEffect(()=>{e.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&e.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&me==null&&(pe?.("company_registered_address",e.companyDetailsLocalData?.addressStatus?.addressToCreate),u.setValue(`${O}.registeredAddress`,e.companyDetailsLocalData?.addressStatus?.addressToCreate))},[e.companyDetailsLocalData?.addressStatus,e.companyDetailsLocalData?.registeredAddressStatus,me,pe,u]);const fe=z?.companyOfficers.slice(0,10).sort((n,m)=>n.user.createTime?.isAfter(m.user.createTime)===!0?1:-1),ae=fe?.map(n=>n.user),st=fe?.map(n=>n.role),nt={onOkClick:()=>{Y(!1),B();const n=[],m=z?.company.company.incInfo.fileIds??[];u.getValues(`${O}.fileIds`).forEach(r=>{m.includes(r)||n.push(r)}),st?.forEach((r,g)=>{const F=r?.fileIds??[];u.getValues(`${v}.${g}.fileIds`).forEach(l=>{F.includes(l)||n.push(l)})}),n.length!==0&&Ze?.(n)},onCancelClick:()=>{Y(!1)}},ot=Ie(ke(f),f,je.currencySymbol).toUpperCase(),ie=j?.code==="pending_review"||j?.code==="verified",ye=(M?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;return h==="zeni_treasury"&&j?.code==="pending_review"&&Je==="In-Progress"&&W.fetchState==="Completed"?t.jsxs(ea,{children:[t.jsxs(ta,{children:[t.jsx(mt,{}),t.jsx(aa,{windowSize:p,children:K===!0?i.submittedTitleWithTransfer:i.submittedTitle}),t.jsx(Yt,{isReadonly:!1,children:K===!0?i.submittedDescriptionWithTransfer.replace("__amount__",Ie(ke(M?.treasuryTransferMoneyLocalData?.amount?.amount??0),M?.treasuryTransferMoneyLocalData?.amount?.amount??0,je.currencySymbol)).replace("__account__",M?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):i.submittedDescription})]}),t.jsx(ft,{label:i.submittedButton,onClick:()=>{B(),oe?.()},variant:"primary"})]}):t.jsxs(Et,{isSettings:s,children:[t.jsx(yt,{title:x&&b===!0?Bt:i.header,backgroundColor:Qe.colors.grey5,style:{zIndex:ee?1:4},onBackClick:()=>{gt(u.formState.dirtyFields)?Y(!0):B()},showBackButton:!s&&!x,showMenuIcon:!!s&&(p==="medium-compact"||p==="small"),onClickMenuIcon:Ge,rightSideComponent:x?t.jsx(ia,{"data-testid":ht("nav-bar-close-business-verification-overlay"),onClick:()=>{B(),oe?.()}}):null,source:"BusinessVerificationPage"}),Ye===!0?t.jsx(xt,{titleComponent:t.jsx(wt,{children:i.discardTitle}),descriptionComponent:t.jsx(St,{children:i.discardDescription}),primaryButtonText:i.discard,secondaryButtonText:i.cancel,action:nt}):null,t.jsxs(Mt,{windowSize:p,children:[(!x||b===!1)&&t.jsx(Ut,{windowSize:p,children:s?At.infoText.businessVerification:i.title}),$==="In-Progress"||$==="Not-Started"?t.jsx(Wt,{children:t.jsx(Ct,{size:"ExtraLarge",start:!0})}):t.jsx(bt,{...u,children:t.jsxs("form",{id:Ve(Ne),onSubmit:at,children:[x&&b===!0&&t.jsxs(Rt,{children:[t.jsxs(Gt,{windowSize:p,children:[t.jsx(Ht,{windowSize:p,children:ie?i.businessVerificationDetails:ye?i.verifyBusinessDetails:i.verifyBusinessDetailsWithoutTransfer}),!ie&&t.jsx(Qt,{children:t.jsxs(Jt,{children:[t.jsx(Pe,{}),ye&&t.jsx(Pe,{}),t.jsx(Kt,{})]})})]}),t.jsx(Be,{isReadonly:ie,children:i.verifyBusinessDetailsDescription})]}),t.jsxs(Zt,{children:[t.jsx(Pt,{companyOfficerData:D,allNationalityCountries:C,allOfficers:ae??[],sectionId:v,isRefreshingViewInBackground:E,connectedAccountProvider:Z,productType:"business_verification",updateFilesEntity:ce,onEditFileName:le,onOfficerAddressClick:re,onDeleteFile:de,isDisabled:N,filesEndPoint:a,authParams:R,isPopupOpen:ee,openPopup:et,onGetOtp:Ee,onVerifyOtp:Re,onResendOtp:Ue,companyTitles:U,isForTreasury:h==="zeni_treasury",isOverlay:x}),t.jsx(Lt,{companyDetails:o,businessVerificationProps:{companyVerificationStatus:j,isRefreshingViewInBackground:E},productType:"business_verification",showTreasuryFields:h==="zeni_treasury",hideNewOnboardingFields:q?.companyVerificationStatus?.code==="verified"&&!((o?.countriesOfOperations?.length??0)>0||o?.companySourceOfFunds!=null||o?.transactionVolume!=null||o?.purposeOfAccount!=null||o?.registeredAddressStatus!=null||o?.usNexus!=null),sectionId:O,isDisabled:j?.code==="pending_review"||j?.code==="verified"?"readonly":N,fileProps:{authParams:R,filesEndPoint:a,onEditFileName:le,onDeleteFile:de,updateFilesEntity:ce},onCompanyAddressClick:re,onRegisteredAddressClick:ze,connectedAccountProvider:Z,allIndustries:A,allNationalityCountries:C})]}),h==="zeni_accounts"?t.jsx(Xt,{windowSize:p,children:i.threadText.replace("__amount__",ot)}):null]})})]}),$==="Completed"&&(h==="zeni_treasury"?te?.companyVerificationStatus?.code!=="pending_review"&&te?.companyVerificationStatus?.code!=="verified":q?.businessVerificationStatus?.code!=="pending_review"&&q?.businessVerificationStatus?.code!=="verified")?t.jsx(Dt,{formId:Ve(Ne),primaryBtn:{label:b?Fe.submit:i.sendForVerificationButton,style:{width:"auto",minWidth:p==="small"?"auto":b?"83px":"181px"},isLoading:X==="verification"&&W.fetchState==="In-Progress",isDisabled:N!=null},containerStyle:{width:p==="small"?w.width.valuePx(p):"auto",justifyContent:p==="small"?"space-between":"center"},helperStyle:{width:p==="small"?w.width.valuePx(p):"auto",paddingLeft:w.termsPaddingLeftRight.valuePx(p),paddingRight:w.termsPaddingLeftRight.valuePx(p),textAlign:p==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:b?Fe.back:i.saveDetailsButton,style:{width:p==="small"?"auto":b?"83px":"181px"},isLoading:X==="save"&&W.fetchState==="In-Progress",onClick:()=>{if(b)B();else{const n=D[I],m=o?.primaryContactLocalData;X!=="save"&&ue("save");const r=n?.email??"",g=(()=>{const l=D[I],y=o?.primaryContactLocalData,V=l?.email??"",P=!!l?.firstName&&!!l?.lastName,G=y?.email??"",H=!!y?.firstName&&!!y?.lastName;return V&&!P?((!l?.firstName||!l?.lastName)&&u.trigger(`${v}.${T<0?0:T}.name`,{shouldFocus:!0}),!1):!(G&&!H&&((!y?.firstName||!y?.lastName)&&u.trigger(`${O}.primaryContactName`,{shouldFocus:!0}),1))})(),F=(()=>{const l=D[I],y=o?.primaryContactLocalData,V=l?.email,P=y?.email;if(V){if(!P)return(y?.firstName||y?.lastName)&&u.trigger(`${O}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(l?.firstName||l?.lastName||l?.birthday||l?.nationalityCountryCode||l?.ownershipInCompany||l?.phone||l?.ssn||l?.titleAtCompany||l?.addressStatus?.addressToCreate||l?.fileIds!=null&&l?.fileIds.length>0||ae!=null&&ae?.length>0)return u.trigger(`${v}.${T<0?0:T}.email`,{shouldFocus:!0}),!1;return!0})();g&&F&&(S?.trackBusinessVerificationSave({email:r,birthday:n?.birthday?.toString(),companyOwnership:n?.ownershipInCompany,firstName:n?.firstName,lastName:n?.lastName,companyRole:n?.titleAtCompany,phone:n?.phone,formattedAddress:n?.addressStatus?.addressToCreate!=null?J(n?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:n?.documentTypeSelectedForVerification},{companyDescription:o?.companyDescription,legalName:o?.companyLegalName,phone:o?.phone,website:o?.website?.toString(),industry:o?.companyIndustry??"",formattedAddress:o?.addressStatus?.addressToCreate!=null?J(o?.addressStatus?.addressToCreate):void 0},{firstName:m?.firstName,lastName:m?.lastName,email:m?.email},h,s?"Settings":void 0),qe?.(I))}}},helperText:Ke,style:{padding:`12px ${c.sp3}`,zIndex:ee?0:4}}):null]})},zt=(e,C,$,E)=>{const{companyDetailsLocalData:a,companyOfficerLocalData:R,companyView:h}=e,A=_e.getLocalizedStrings().companyPassport,U=h?.companyOfficers!=null&&h?.companyOfficers.length>0;return{[O]:{companyDescription:a?.companyDescription??"",ein:a?.companyFiles.find(f=>f.documentType==="tax_ein"),companyId:a?.companyId??"",syncToken:a?.syncToken,companyLegalName:a?.companyLegalName??"",companyWebsite:a?.website?.toString()??"",companyAddress:a?.addressStatus?.addressToCreate,registeredAddress:a?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:a?.companyIndustry,allOptions:C?.map(f=>f.code)},companyPhone:a?.phone??"",companyTaxId:a?.taxIdOrEIN??"",primaryContactName:{firstName:a?.primaryContactLocalData?.firstName??"",lastName:a?.primaryContactLocalData?.lastName??""},primaryContactEmail:a?.primaryContactLocalData?.email??"",primaryContactUserId:a?.primaryContactLocalData?.userId,primaryContactSyncToken:a?.primaryContactLocalData?.syncToken,fileIds:a?.companyFiles.map(f=>f.fileId)??[],certificateOfIncorporation:a?.companyFiles.find(f=>f.documentType==="certificate_of_incorporation"),incDate:a?.incDate?.toDate(),typeOfIncorporation:{selectedOption:a?.typeOfIncorporation,allOptions:A.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:a?.stateOfIncorporation,allOptions:A.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:a?.sourceOfFunds??"",allOptions:Object.keys(i.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:a?.companySourceOfFunds??"",allOptions:Object.keys(i.companySourceOfFundOptions??{})},companySourceOfFundsDescription:a?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:a?.transactionVolume,allOptions:[...Vt]},transactionVolumeDescription:a?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:a?.purposeOfAccount,allOptions:[...Ft]},purposeOfAccountDescription:a?.purposeOfAccountDescription??"",usNexus:a?.usNexus??"",usNexusTypes:{selectedOptions:a?.usNexusTypes??[],allOptions:[...jt]},regulatedStatus:a?.regulatedStatus??"",regulatedStatusDescription:a?.regulatedStatusDescription??""},[v]:Object.values(R).map((f,N)=>{const s=f,x=Ot(s?.documentTypeSelectedForVerification);return{userId:s?.userId,officerType:s?.officerType??`Officer_${N+1}`,name:{firstName:s?.firstName,lastName:s?.lastName},email:s?.email,fileIds:s?.fileIds??[],dob:s?.birthday?.toDate(),nationalityCountryCode:vt(s?.nationalityCountryCode,E.map(S=>S.countryCode)),ssn:s?.ssn,role:{selectedOption:s?.titleAtCompany,allOptions:$?.map(S=>S.code)},phone:s?.phone??"",ownership:s?.ownershipInCompany,officerAddress:s?.addressStatus?.addressToCreate,selectDocument:{front:$e(!0,s?.userFiles??[],x),back:$e(!1,s?.userFiles??[],x),selectDocumentType:x},isSelectedForVerification:!U&&N===0||(s?.isSelectedForVerification??!1),userVerificationStatus:s?.userVerificationStatus,treasuryUserVerificationStatus:s?.treasuryUserVerificationStatus,syncToken:s?.syncToken,isPhoneVerified:s?.isPhoneVerified,otpChallenge:s?.otpChallenge}})}},Ve=e=>`${e}_form`,Et=d.div`
|
|
1
|
+
import{y as rt,e as lt,a7 as Te,V as t,c as Q,T as ct,cl as dt,B as pt,c8 as ut,ag as Ie,a6 as Ne,fB as mt,a as ft,a_ as yt,b as ht,c9 as gt,bR as xt,bS as St,bT as wt,L as bt,A as Ct,a9 as Dt,o as c,x as L,H as Le,O as _e,fC as Ot,f1 as $e,eu as vt,c2 as Tt,a8 as It,l as Ae,d as Nt,M as $t,m as N}from"./index-CuxRoVvZ.js";import{a as _}from"./sentry-Cm8I7E9J.js";import{n as d}from"./mui-G2MlMTlr.js";import{F6 as kt,bQ as J,FE as jt,FD as Vt,FF as Ft}from"./zeni-epic-state-lC5X-sam.js";import{r as Pt,z as Lt}from"./CompanyOfficerDetailsSection-BsCx7q-g-C5hfQprP.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./helper-AgH8nJln-BDBxe9FK.js";import"./LabeledAddressValueField-D66XOhMx-DAzGEgKS.js";import"./LabeledCountryMultiSelectField-kopByxLB-CVmx734o.js";import"./LabeledCreatableSingleSelectField-B6An-cwq-ZwV4dPE-.js";import"./LabeledDocumentField-D_ZD8JTn-EgNCcbbj.js";import"./LabeledNameField-DZJXGYR9-C9Z5T7ep.js";import"./commonTypes-Ec-PxfpT-DzRDGsuT.js";import"./avatar-Dz7aEm3d-CxU8IzEu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},b=new e.Error().stack;b&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[b]="dd4d5a4a-6ee1-46b0-b9cb-a41cd429efb3",e._sentryDebugIdIdentifier="sentry-dbid-dd4d5a4a-6ee1-46b0-b9cb-a41cd429efb3")}catch{}})();const w={width:new L(343,580,726),titleWidth:new L(343,580,726,826),subTitlePaddingTop:new L(12,N[3]),subTitlePaddingBottom:new L(N[3],N[3]),verificationDetailsRowGap:new L(12,N[5],N[5]),termsPaddingLeftRight:new L(N[0],N[3])},_t={stepTitle:new Nt("h6Regular","h5Regular")},ke="businessVerificationPage",O="companyDetails",v="companyOfficerDetails",{commonSetUp:{businessVerification:i},common:{settings:At,currency:je,footer:Ve,strings:{empty:Bt}}}=_e.getLocalizedStrings(),Ta=({businessVerificationDetails:e,allNationalityCountries:b,verficationDetailsFetchState:$,isRefreshingViewInBackground:R,filesEndPoint:a,authParams:E,productType:h,allIndustries:A,companyTitles:U,maxInsuredAmount:f,isDisabled:k,isSettings:s=!1,isOverlay:x=!1,analytics:S,isStepInProgress:C=!1,isTreasuryTransferInitiated:K=!1,transferDetails:M,onOverlayClose:oe,onAddressClick:re,onRegisteredAddressClick:ze,onBackClick:B,onGetOtp:Re,onVerifyOtp:Ee,onResendOtp:Ue,onSendForVerificationClick:Me,onEditFileName:le,onCompanyDetailsChanged:We,updateFilesEntity:ce,onDeleteFile:de,onDeleteFileList:Ze,onCompanyOfficerUpdated:Xe,saveNewAddressInLocalStore:pe,onSaveDetailsClick:qe,onClickMenuIcon:Ge,onExecuteTreasuryTransfer:He})=>{const Qe=rt(),p=lt(),{updateStatus:W,companyView:z,companyDetailsLocalData:o,companyOfficerLocalData:D}=e,Je=Te(W.fetchState),Z=z?.company.company.featuresActivationInfo.connectedAccountProvider,Ke=Z==="unit"?t.jsxs(qt,{children:[i.terms.term1,t.jsx(Q,{href:i.terms.consentUrl,onZeniLinkClick:()=>(S?.trackBillPayAgreement(),!0),linkText:i.terms.consent}),i.terms.term2,t.jsx(Q,{href:i.terms.depositUrl,onZeniLinkClick:()=>(S?.trackBillPayAgreement(),!0),linkText:i.terms.depositTerms}),i.terms.term3,t.jsx(Q,{href:i.terms.privacyPolicyUrl,onZeniLinkClick:()=>(S?.trackBillPayAgreement(),!0),linkText:i.terms.privacy}),i.terms.term4,t.jsx(Q,{href:i.terms.tosUrl,onZeniLinkClick:()=>(S?.trackBillPayPrivacyPolicy(),!0),linkText:i.terms.tos}),i.terms.term5]}):i.terms.termsForStripe,[Ye,Y]=_.useState(!1),[X,ue]=_.useState("save"),[ee,et]=_.useState(!1),u=ct({mode:"all",reValidateMode:"onChange",defaultValues:zt(e,A,U,b)}),{isValid:tt}=u.formState,q=z?.company.company.companyBillPayInfo,te=z?.company.company.companyTreasuryInfo,j=h==="zeni_treasury"?te?.companyVerificationStatus:q?.companyVerificationStatus,T=Object.values(D).findIndex(n=>n?.isSelectedForVerification===!0),I=`Officer_${T<0?1:T+1}`,at=u.handleSubmit(()=>{if(X!=="verification"&&ue("verification"),Z==="unit"&&D[I]?.isPhoneVerified!==!0)return void u.setError(`${v}.${T}.phone`,{type:"custom"});const n=dt(Object.values(D).map(r=>Object.values(r?.deleteFileStatusById??{}).filter(g=>g!=null))),m=Object.values(o?.deleteFileStatusById??{}).filter(r=>r!=null);kt(n.concat(m)).fetchState!=="In-Progress"&&tt&&((()=>{const r=D[I],g=r?.email,V=r?.birthday?.toString(),l=r?.ownershipInCompany,y=r?.firstName,F=r?.lastName,P=r?.titleAtCompany,G=r?.documentTypeSelectedForVerification,H=r?.phone,he=r?.addressStatus?.addressToCreate,ge=he!=null?J(he):void 0,xe=o?.companyDescription,se=o?.companyLegalName,Se=o?.companyIndustry,we=o?.phone,be=o?.website,Ce=o?.addressStatus?.addressToCreate!=null?J(o?.addressStatus?.addressToCreate):void 0,ne=o?.primaryContactLocalData,De=ne?.firstName,Oe=ne?.lastName,ve=ne?.email;g!=null&&l!=null&&y!=null&&F!=null&&V!=null&&P!=null&&H!=null&&ge!=null&&G!=null&&xe!=null&&se!=null&&we!=null&&be!=null&&Se!=null&&se!=null&&Ce!=null&&De!=null&&Oe!=null&&ve!=null&&S?.trackBusinessVerificationSend({email:g,birthday:V.toString(),companyOwnership:l,firstName:y,lastName:F,companyRole:P,phone:H,formattedAddress:ge,documentTypeForVerification:G},{companyDescription:xe,legalName:se,phone:we,website:be.toString(),industry:Se,formattedAddress:Ce},{firstName:De,lastName:Oe,email:ve},h,s?"Settings":void 0)})(),Me?.(I),K===!0&&He?.())}),it=_.useCallback(pt((n,m)=>{(async(r,g)=>{r.includes(O)?We?.(g[O]):r.includes(v)&&Xe?.(g[v])})(n,m)},300),[]);_.useEffect(()=>{const n=u.watch((m,{name:r})=>{r!=null&&m!=null&&ut(()=>it(r,m))});return()=>{n.unsubscribe()}});const me=Te(e.companyDetailsLocalData?.addressStatus);_.useEffect(()=>{e.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&e.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&me==null&&(pe?.("company_registered_address",e.companyDetailsLocalData?.addressStatus?.addressToCreate),u.setValue(`${O}.registeredAddress`,e.companyDetailsLocalData?.addressStatus?.addressToCreate))},[e.companyDetailsLocalData?.addressStatus,e.companyDetailsLocalData?.registeredAddressStatus,me,pe,u]);const fe=z?.companyOfficers.slice(0,10).sort((n,m)=>n.user.createTime?.isAfter(m.user.createTime)===!0?1:-1),ae=fe?.map(n=>n.user),st=fe?.map(n=>n.role),nt={onOkClick:()=>{Y(!1),B();const n=[],m=z?.company.company.incInfo.fileIds??[];u.getValues(`${O}.fileIds`).forEach(r=>{m.includes(r)||n.push(r)}),st?.forEach((r,g)=>{const V=r?.fileIds??[];u.getValues(`${v}.${g}.fileIds`).forEach(l=>{V.includes(l)||n.push(l)})}),n.length!==0&&Ze?.(n)},onCancelClick:()=>{Y(!1)}},ot=Ie(Ne(f),f,je.currencySymbol).toUpperCase(),ie=j?.code==="pending_review"||j?.code==="verified",ye=(M?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;return h==="zeni_treasury"&&j?.code==="pending_review"&&Je==="In-Progress"&&W.fetchState==="Completed"?t.jsxs(ea,{children:[t.jsxs(ta,{children:[t.jsx(mt,{}),t.jsx(aa,{windowSize:p,children:K===!0?i.submittedTitleWithTransfer:i.submittedTitle}),t.jsx(Yt,{isReadonly:!1,children:K===!0?i.submittedDescriptionWithTransfer.replace("__amount__",Ie(Ne(M?.treasuryTransferMoneyLocalData?.amount?.amount??0),M?.treasuryTransferMoneyLocalData?.amount?.amount??0,je.currencySymbol)).replace("__account__",M?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):i.submittedDescription})]}),t.jsx(ft,{label:i.submittedButton,onClick:()=>{B(),oe?.()},variant:"primary"})]}):t.jsxs(Rt,{isSettings:s,children:[t.jsx(yt,{title:x&&C===!0?Bt:i.header,backgroundColor:Qe.colors.grey5,style:{zIndex:ee?1:4},onBackClick:()=>{gt(u.formState.dirtyFields)?Y(!0):B()},showBackButton:!s&&!x,showMenuIcon:!!s&&(p==="medium-compact"||p==="small"),onClickMenuIcon:Ge,rightSideComponent:x?t.jsx(ia,{"data-testid":ht("nav-bar-close-business-verification-overlay"),onClick:()=>{B(),oe?.()}}):null,source:"BusinessVerificationPage"}),Ye===!0?t.jsx(xt,{titleComponent:t.jsx(wt,{children:i.discardTitle}),descriptionComponent:t.jsx(St,{children:i.discardDescription}),primaryButtonText:i.discard,secondaryButtonText:i.cancel,action:nt}):null,t.jsxs(Mt,{windowSize:p,children:[(!x||C===!1)&&t.jsx(Ut,{windowSize:p,children:s?At.infoText.businessVerification:i.title}),$==="In-Progress"||$==="Not-Started"?t.jsx(Wt,{children:t.jsx(bt,{size:"ExtraLarge",start:!0})}):t.jsx(Ct,{...u,children:t.jsxs("form",{id:Fe(ke),onSubmit:at,children:[x&&C===!0&&t.jsxs(Et,{children:[t.jsxs(Gt,{windowSize:p,children:[t.jsx(Ht,{windowSize:p,children:ie?i.businessVerificationDetails:ye?i.verifyBusinessDetails:i.verifyBusinessDetailsWithoutTransfer}),!ie&&t.jsx(Qt,{children:t.jsxs(Jt,{children:[t.jsx(Pe,{}),ye&&t.jsx(Pe,{}),t.jsx(Kt,{})]})})]}),t.jsx(Be,{isReadonly:ie,children:i.verifyBusinessDetailsDescription})]}),t.jsxs(Zt,{children:[t.jsx(Pt,{companyOfficerData:D,allNationalityCountries:b,allOfficers:ae??[],sectionId:v,isRefreshingViewInBackground:R,connectedAccountProvider:Z,productType:"business_verification",updateFilesEntity:ce,onEditFileName:le,onOfficerAddressClick:re,onDeleteFile:de,isDisabled:k,filesEndPoint:a,authParams:E,isPopupOpen:ee,openPopup:et,onGetOtp:Re,onVerifyOtp:Ee,onResendOtp:Ue,companyTitles:U,isForTreasury:h==="zeni_treasury",isOverlay:x}),t.jsx(Lt,{companyDetails:o,businessVerificationProps:{companyVerificationStatus:j,isRefreshingViewInBackground:R},productType:"business_verification",showTreasuryFields:h==="zeni_treasury",hideNewOnboardingFields:q?.companyVerificationStatus?.code==="verified"&&!((o?.countriesOfOperations?.length??0)>0||o?.companySourceOfFunds!=null||o?.transactionVolume!=null||o?.purposeOfAccount!=null||o?.registeredAddressStatus!=null||o?.usNexus!=null),sectionId:O,isDisabled:j?.code==="pending_review"||j?.code==="verified"?"readonly":k,fileProps:{authParams:E,filesEndPoint:a,onEditFileName:le,onDeleteFile:de,updateFilesEntity:ce},onCompanyAddressClick:re,onRegisteredAddressClick:ze,connectedAccountProvider:Z,allIndustries:A,allNationalityCountries:b})]}),h==="zeni_accounts"?t.jsx(Xt,{windowSize:p,children:i.threadText.replace("__amount__",ot)}):null]})})]}),$==="Completed"&&(h==="zeni_treasury"?te?.companyVerificationStatus?.code!=="pending_review"&&te?.companyVerificationStatus?.code!=="verified":q?.businessVerificationStatus?.code!=="pending_review"&&q?.businessVerificationStatus?.code!=="verified")?t.jsx(Dt,{formId:Fe(ke),primaryBtn:{label:C?Ve.submit:i.sendForVerificationButton,style:{width:"auto",minWidth:p==="small"?"auto":C?"83px":"181px"},isLoading:X==="verification"&&W.fetchState==="In-Progress",isDisabled:k!=null},containerStyle:{width:p==="small"?w.width.valuePx(p):"auto",justifyContent:p==="small"?"space-between":"center"},helperStyle:{width:p==="small"?w.width.valuePx(p):"auto",paddingLeft:w.termsPaddingLeftRight.valuePx(p),paddingRight:w.termsPaddingLeftRight.valuePx(p),textAlign:p==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:C?Ve.back:i.saveDetailsButton,style:{width:p==="small"?"auto":C?"83px":"181px"},isLoading:X==="save"&&W.fetchState==="In-Progress",onClick:()=>{if(C)B();else{const n=D[I],m=o?.primaryContactLocalData;X!=="save"&&ue("save");const r=n?.email??"",g=(()=>{const l=D[I],y=o?.primaryContactLocalData,F=l?.email??"",P=!!l?.firstName&&!!l?.lastName,G=y?.email??"",H=!!y?.firstName&&!!y?.lastName;return F&&!P?((!l?.firstName||!l?.lastName)&&u.trigger(`${v}.${T<0?0:T}.name`,{shouldFocus:!0}),!1):!(G&&!H&&((!y?.firstName||!y?.lastName)&&u.trigger(`${O}.primaryContactName`,{shouldFocus:!0}),1))})(),V=(()=>{const l=D[I],y=o?.primaryContactLocalData,F=l?.email,P=y?.email;if(F){if(!P)return(y?.firstName||y?.lastName)&&u.trigger(`${O}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(l?.firstName||l?.lastName||l?.birthday||l?.nationalityCountryCode||l?.ownershipInCompany||l?.phone||l?.ssn||l?.titleAtCompany||l?.addressStatus?.addressToCreate||l?.fileIds!=null&&l?.fileIds.length>0||ae!=null&&ae?.length>0)return u.trigger(`${v}.${T<0?0:T}.email`,{shouldFocus:!0}),!1;return!0})();g&&V&&(S?.trackBusinessVerificationSave({email:r,birthday:n?.birthday?.toString(),companyOwnership:n?.ownershipInCompany,firstName:n?.firstName,lastName:n?.lastName,companyRole:n?.titleAtCompany,phone:n?.phone,formattedAddress:n?.addressStatus?.addressToCreate!=null?J(n?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:n?.documentTypeSelectedForVerification},{companyDescription:o?.companyDescription,legalName:o?.companyLegalName,phone:o?.phone,website:o?.website?.toString(),industry:o?.companyIndustry??"",formattedAddress:o?.addressStatus?.addressToCreate!=null?J(o?.addressStatus?.addressToCreate):void 0},{firstName:m?.firstName,lastName:m?.lastName,email:m?.email},h,s?"Settings":void 0),qe?.(I))}}},helperText:Ke,style:{padding:`12px ${c.sp3}`,zIndex:ee?0:4}}):null]})},zt=(e,b,$,R)=>{const{companyDetailsLocalData:a,companyOfficerLocalData:E,companyView:h}=e,A=_e.getLocalizedStrings().companyPassport,U=h?.companyOfficers!=null&&h?.companyOfficers.length>0;return{[O]:{companyDescription:a?.companyDescription??"",ein:a?.companyFiles.find(f=>f.documentType==="tax_ein"),companyId:a?.companyId??"",syncToken:a?.syncToken,companyLegalName:a?.companyLegalName??"",companyWebsite:a?.website?.toString()??"",companyAddress:a?.addressStatus?.addressToCreate,registeredAddress:a?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:a?.companyIndustry,allOptions:b?.map(f=>f.code)},companyPhone:a?.phone??"",companyTaxId:a?.taxIdOrEIN??"",primaryContactName:{firstName:a?.primaryContactLocalData?.firstName??"",lastName:a?.primaryContactLocalData?.lastName??""},primaryContactEmail:a?.primaryContactLocalData?.email??"",primaryContactUserId:a?.primaryContactLocalData?.userId,primaryContactSyncToken:a?.primaryContactLocalData?.syncToken,fileIds:a?.companyFiles.map(f=>f.fileId)??[],certificateOfIncorporation:a?.companyFiles.find(f=>f.documentType==="certificate_of_incorporation"),incDate:a?.incDate?.toDate(),typeOfIncorporation:{selectedOption:a?.typeOfIncorporation,allOptions:A.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:a?.stateOfIncorporation,allOptions:A.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:a?.sourceOfFunds??"",allOptions:Object.keys(i.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:a?.companySourceOfFunds??"",allOptions:Object.keys(i.companySourceOfFundOptions??{})},companySourceOfFundsDescription:a?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:a?.transactionVolume,allOptions:[...Ft]},transactionVolumeDescription:a?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:a?.purposeOfAccount,allOptions:[...Vt]},purposeOfAccountDescription:a?.purposeOfAccountDescription??"",usNexus:a?.usNexus??"",usNexusTypes:{selectedOptions:a?.usNexusTypes??[],allOptions:[...jt]},regulatedStatus:a?.regulatedStatus??"",regulatedStatusDescription:a?.regulatedStatusDescription??""},[v]:Object.values(E).map((f,k)=>{const s=f,x=Ot(s?.documentTypeSelectedForVerification);return{userId:s?.userId,officerType:s?.officerType??`Officer_${k+1}`,name:{firstName:s?.firstName,lastName:s?.lastName},email:s?.email,fileIds:s?.fileIds??[],dob:s?.birthday?.toDate(),nationalityCountryCode:vt(s?.nationalityCountryCode,R.map(S=>S.countryCode)),ssn:s?.ssn,role:{selectedOption:s?.titleAtCompany,allOptions:$?.map(S=>S.code)},phone:s?.phone??"",ownership:s?.ownershipInCompany,officerAddress:s?.addressStatus?.addressToCreate,selectDocument:{front:$e(!0,s?.userFiles??[],x),back:$e(!1,s?.userFiles??[],x),selectDocumentType:x},isSelectedForVerification:!U&&k===0||(s?.isSelectedForVerification??!1),userVerificationStatus:s?.userVerificationStatus,treasuryUserVerificationStatus:s?.treasuryUserVerificationStatus,syncToken:s?.syncToken,isPhoneVerified:s?.isPhoneVerified,otpChallenge:s?.otpChallenge}})}},Fe=e=>`${e}_form`,Rt=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
width: 100%;
|
|
6
6
|
row-gap: ${c.sp3};
|
|
7
7
|
background-color: ${e=>e.isSettings?"unset":e.theme.colors.grey5};
|
|
8
|
-
`,
|
|
8
|
+
`,Et=d.div`
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-direction: column;
|
|
11
11
|
align-items: flex-start;
|
|
@@ -135,4 +135,4 @@ import{y as rt,e as lt,a7 as Te,V as t,z as Q,T as ct,cl as dt,B as pt,c8 as ut,
|
|
|
135
135
|
&:hover {
|
|
136
136
|
color: ${e=>e.theme.colors.primary};
|
|
137
137
|
}
|
|
138
|
-
`;export{Ta as default,
|
|
138
|
+
`;export{Ta as default,Fe as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as D}from"./pdf-
|
|
1
|
+
import{j as D}from"./pdf-DwfifS04.js";import{a as w}from"./sentry-Cm8I7E9J.js";import{j as ae,h as ne,i as se,l as oe,u as V,N as ie,k as re}from"./core-CaikJZHD.js";import{_ as ce,aE as ue,y as de,aF as le,js as j,bj as pe,jz as E,ki as x,jQ as me,J as z,lk as fe,kv as ye,jO as B,ev as L}from"./index-CuxRoVvZ.js";import{KZ as Se,ct as G,oD as ge,Dv as Ie,tZ as be,wI as he,zf as ke,zV as Oe,AO as De,Lk as Te,Ll as Ce,Lm as Ve,Ln as we,Lo as Ae,HS as Ne,Kl as _e,I2 as ve,hr as Fe,dj as xe,di as ze,dh as je,mK as Ee,mB as Be,my as Le,hj as Pe,oM as Re,oK as P,bG as R,oY as M,bJ as Me}from"./zeni-epic-state-lC5X-sam.js";import{n as Ue}from"./mui-G2MlMTlr.js";import{c as U}from"./routePaths-CkO80-xL.js";import{M as Ge}from"./MobileAppDrawer-D4KAg1N8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="ba44b6ca-7770-4361-82bd-e787d8916b5e",e._sentryDebugIdIdentifier="sentry-dbid-ba44b6ca-7770-4361-82bd-e787d8916b5e")}catch{}})();const Ke=Ue.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
width: 100%;
|
package/dist/assets/{BusyIndication-BZLVwIo8-6s8wSi7T.js → BusyIndication-Cp8KWKB2-C3oZ8Ini.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as n,L as r,o as a}from"./index-
|
|
1
|
+
import{V as n,L as r,o as a}from"./index-CuxRoVvZ.js";import{n as i}from"./mui-G2MlMTlr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b47872d8-7fa2-4095-9a65-64c1aca34f2d",e._sentryDebugIdIdentifier="sentry-dbid-b47872d8-7fa2-4095-9a65-64c1aca34f2d")}catch{}})();const d=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as m,V as a,O as w,w as y,o as r,d as b,M as x}from"./index-
|
|
1
|
+
import{e as m,V as a,O as w,w as y,o as r,d as b,M as x}from"./index-CuxRoVvZ.js";import{n as o}from"./mui-G2MlMTlr.js";import{a as c}from"./sentry-Cm8I7E9J.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="1b02f9bd-b331-4840-9932-09c8983062af",e._sentryDebugIdIdentifier="sentry-dbid-1b02f9bd-b331-4840-9932-09c8983062af")}catch{}})();const{common:p,spendManagement:{chargeCard:t}}=w.getLocalizedStrings(),C={subText:new b("extraSmallRegular","standardRegular")},V=({cardDetail:e,forDetailPage:s,styles:l})=>{const g=m(),h=e.type.code.includes("credit")?t.chargeCardsPromo.credit:t.chargeCardsPromo.debit;let d=e.type.code.includes("physical")?t.cardList.physicalCard:t.cardList.virtualCard;const i=p.strings.space+t.cardDetails.expiryHideOut+p.strings.space+e.accountLast4,f=e.status.code!=="request_on_hold"&&s?i:d,n=e.type.code.includes("physical");return a.jsxs($,{style:l,windowSize:g,forDetailPage:s,className:"cardName",title:`${f}`,children:[h,a.jsx(v,{}),d,n&&!s?a.jsx(u,{className:"physical-card-icon"}):null,e.status.code!=="request_on_hold"&&s?i:null,n&&s?a.jsx(u,{}):null]})},$=o(x)`
|
|
2
2
|
${e=>e.forDetailPage?{...y.extraSmallRegular.cssObject}:`${C.subText.style(e.windowSize)}`};
|
|
3
3
|
color: ${e=>e.theme.colors.hero};
|
|
4
4
|
max-width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as S,e as b,V as i,a_ as ee,eO as z,w as u,an as N,bt as ie,o as t,O as w,f as O,x as h,l as v,cI as te,m as l,ag as oe,a5 as B,bl as re,C as $,b as L,iu as X,iv as q,ib as ae,b_ as se,c1 as ne,H as T}from"./index-
|
|
1
|
+
import{y as S,e as b,V as i,a_ as ee,eO as z,w as u,an as N,bt as ie,o as t,O as w,f as O,x as h,l as v,cI as te,m as l,ag as oe,a5 as B,bl as re,C as $,b as L,iu as X,iv as q,ib as ae,b_ as se,c1 as ne,H as T}from"./index-CuxRoVvZ.js";import{n as o}from"./mui-G2MlMTlr.js";import{Gu as f,bs as de}from"./zeni-epic-state-lC5X-sam.js";import{b as K,a as Y}from"./sentry-Cm8I7E9J.js";import{F as le}from"./InsightsSection-BdFG3j3R-D7JeFV31.js";import{M as ce,S as he}from"./common-Cu5K0AJk-Cxd55kqL.js";import{J as pe,E as ge,X as me,Y as xe,F as we,K as ue,W as ye}from"./recharts-3tylCZU1.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.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";import"./NavigationDots-c-XSrFzE-eujVKwdH.js";import"./calculateSize-QoQyn_Ku-BQL_mWcG.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]="06378ab5-1cbd-4ee9-9aab-d8de91054ece",e._sentryDebugIdIdentifier="sentry-dbid-06378ab5-1cbd-4ee9-9aab-d8de91054ece")}catch{}})();const be=({x:e,y:a,width:n,height:s,payload:r})=>{const c=S();return i.jsx(ye,{fill:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",stroke:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",x:e,y:a,width:n,height:s})},V=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,fe=w.getLocalizedStrings().dateFormat.visual.MMMMFormat,W=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: ${t.sp1};
|
|
4
4
|
`,$e=o.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as Qe,e as ve,_ as Dt,h as It,gm as fr,h1 as $i,ad as Xe,gn as $r,a7 as Je,V as t,a_ as vi,m as l,fn as vr,a5 as _e,b as ee,aZ as ki,bn as ta,f as d,o as a,O as $e,ie as kr,w as H,bR as ji,ig as Li,eI as Di,gd as Ii,ih as Ai,b1 as Ti,bd as jr,ab as aa,x as T,ar as ra,b6 as Lr,C as ue,e6 as Ri,au as ia,i6 as Ei,ac as Dr,aA as mt,gq as Ir,bF as Fi,L as ut,an as Pi,cO as zi,bV as Mi,ii as Vi,ij as Ar,ik as it,er as Oi,aj as Hi,il as Ni,im as Bi,bS as Wi,cw as _i,g_ as Ui,l as Fe,bp as Zi,
|
|
1
|
+
import{y as Qe,e as ve,_ as Dt,h as It,gm as fr,h1 as $i,ad as Xe,gn as $r,a7 as Je,V as t,a_ as vi,m as l,fn as vr,a5 as _e,b as ee,aZ as ki,bn as ta,f as d,o as a,O as $e,ie as kr,w as H,bR as ji,ig as Li,eI as Di,gd as Ii,ih as Ai,b1 as Ti,bd as jr,ab as aa,x as T,ar as ra,b6 as Lr,C as ue,e6 as Ri,au as ia,i6 as Ei,ac as Dr,aA as mt,gq as Ir,bF as Fi,L as ut,an as Pi,cO as zi,bV as Mi,ii as Vi,ij as Ar,ik as it,er as Oi,aj as Hi,il as Ni,im as Bi,bS as Wi,cw as _i,g_ as Ui,l as Fe,bp as Zi,z as Ut,io as Ma,ip as Gi,cJ as Yi,d as Va,M as Tr,at as qi,P as Ki,i5 as ht,ia as Xi,ic as Ji,id as Qi,cR as Oa,en as eo,a as Rr,b_ as Er,bs as to,n as Fr,iq as ao,v as kt,bt as Ha,aV as ro,cF as io,D as oo,H as nt,gl as no,a8 as so,b2 as co,ir as At,eT as lo,is as Pr,fX as zr,it as Lt,hC as Mr,df as Vr,bl as ho,dL as Or,ib as po,c1 as uo,de as mo,cq as go,dR as Co,bK as wo,bL as xo}from"./index-CuxRoVvZ.js";import{a as o,b as bo}from"./sentry-Cm8I7E9J.js";import{n as r,c as ge,k as Hr}from"./mui-G2MlMTlr.js";import{F4 as Tt,bs as yo,c0 as So,Gt as fo}from"./zeni-epic-state-lC5X-sam.js";import{y as $o}from"./MoreMenuButton-CkkW1atP-BhjeSlOV.js";import{x as vo}from"./NavigationDots-c-XSrFzE-eujVKwdH.js";import{A as ko,i as jo,a as Lo,l as Do,r as Io,t as Ao,n as To}from"./add-to-wallet-DgdBD8_G-2vbkyqzY.js";import{L as Zt}from"./lottie-D86WIi_0.js";import{t as Ro}from"./spend-limit-D6SyboD4-d-tIWfnn.js";import{j as Eo}from"./CardNumberSubText-DHtSIcZZ-kHFdQu5S.js";import{t as Fo}from"./panelSelectedMixin-Cddsb26L-XfdQwEMM.js";import{M as Po,S as zo}from"./common-Cu5K0AJk-Cxd55kqL.js";import{r as Nr}from"./core-CaikJZHD.js";import{l as Br}from"./uploadReceipts-CIgkuVpu-BxCHb2mc.js";import{L as Mo,z as Vo,k as Oo,P as Ho}from"./LockCardPage-BDlnh_zf-64lzFlF5.js";import"./pdf-DwfifS04.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"./bank-letter-BOcVjN6J-DhC6VHDB.js";import"./dollar-round-D18u7nlm-BF4Thvjs.js";import"./money-2cg1MuG4-CfgKOIyt.js";import"./page-summary-D7_VQHwN-CaK_VLEF.js";import"./transaction-placeholder-CpOwZAMG-CXIruzlf.js";import"./unlock-BPWn2I5L-8UNw8MhM.js";import"./calculateSize-QoQyn_Ku-BQL_mWcG.js";import"./RoleWithToolTip-CqLxmtj6-BxFgYmxI.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]="daff5235-6045-48e6-99f1-94f2a2220a25",e._sentryDebugIdIdentifier="sentry-dbid-daff5235-6045-48e6-99f1-94f2a2220a25")}catch{}})();const Wr=$e.getLocalizedStrings().spendManagement.chargeCard,No=({controllerEmails:e,classListFetchState:i,isChargeCardFeatureEnabled:s,isDebitCardFeatureEnabled:m,isDebitCardSetupEnabled:c,isChargeCardSetupEnabled:$,chargeCardDetailView:h,productInformation:g,creditAccountInformation:u,debitAccountInformation:C,creditAccount:x,creditAccountRepayment:n,cardIssuedByRoles:w,cardIssuedByDepartmentName:b,cardHolderRoles:I,cardHolderDepartmentName:j,appleWalletLink:L,googleWalletLink:A,style:p,showDrawerAnimation:R,setWalletType:v,setIsAddToWalletDrawerOpen:V,isDebitCard:O})=>{const f=It().analytics,{isIPadScreen:Z}=Ni(),{isAndroidScreen:K}=Bi(),X=Dt(),E=Tt(X.loggedInUserRoleMap);return t.jsx(Bo,{style:p,children:Z===!0?t.jsx(ea,{onClick:()=>{it({chargeCardDetailView:h,classListFetchState:i,analytics:f,isDebitCard:O,isChargeCardAdmin:E,cardIssuedByRoles:w,cardIssuedByDepartmentName:b,cardHolderRoles:I,cardHolderDepartmentName:j,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",productInformation:g,creditAccountInformation:u,debitAccountInformation:C,isChargeCardFeatureEnabled:s,creditAccount:x,creditAccountRepayment:n}),window.open(L,"_blank")}}):K===!0?t.jsx(Qt,{onClick:()=>{it({chargeCardDetailView:h,classListFetchState:i,analytics:f,isDebitCard:O,isChargeCardAdmin:E,cardIssuedByRoles:w,cardIssuedByDepartmentName:b,cardHolderRoles:I,cardHolderDepartmentName:j,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",productInformation:g,creditAccountInformation:u,debitAccountInformation:C,isChargeCardFeatureEnabled:s,creditAccount:x,creditAccountRepayment:n}),window.open(A,"_blank")}}):t.jsxs(t.Fragment,{children:[t.jsx(ea,{onClick:()=>{v("apple"),R.current="slide-in-right-to-left-add-to-wallet",it({chargeCardDetailView:h,classListFetchState:i,analytics:f,isDebitCard:O,isChargeCardAdmin:E,cardIssuedByRoles:w,cardIssuedByDepartmentName:b,cardHolderRoles:I,cardHolderDepartmentName:j,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",isChargeCardFeatureEnabled:s,productInformation:g,creditAccountInformation:u,debitAccountInformation:C,creditAccount:x,creditAccountRepayment:n}),V(!0)}}),t.jsx(Qt,{onClick:()=>{v("google"),R.current="slide-in-right-to-left-add-to-wallet",it({chargeCardDetailView:h,classListFetchState:i,analytics:f,isDebitCard:O,isChargeCardAdmin:E,cardIssuedByRoles:w,cardIssuedByDepartmentName:b,cardHolderRoles:I,cardHolderDepartmentName:j,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",isChargeCardFeatureEnabled:s,productInformation:g,creditAccountInformation:u,debitAccountInformation:C,creditAccount:x,creditAccountRepayment:n}),V(!0)}})]})})},Qt=({onClick:e})=>{const i=Qe();return t.jsx(Rr,{prefixIcon:t.jsx(Wo,{}),label:Wr.cardDetails.addToGoogleWallet,buttonColors:{borderColor:{default:i.colors.grey1,hover:i.colors.primary,disabled:i.colors.primary},backgroundColor:{default:i.colors.grey5,hover:i.colors.grey5,disabled:i.colors.grey5},textColor:{default:i.colors.primary,hover:i.colors.primary,disabled:i.colors.grey5}},textStyle:{color:i.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":ee("add-to-google-wallet-button")})},ea=({onClick:e})=>{const i=Qe();return t.jsx(Rr,{prefixIcon:t.jsx(_o,{}),label:Wr.cardDetails.addToAppleWallet,buttonColors:{borderColor:{default:i.colors.grey1,hover:i.colors.primary,disabled:i.colors.primary},backgroundColor:{default:i.colors.grey5,hover:i.colors.grey5,disabled:i.colors.grey5},textColor:{default:i.colors.primary,hover:i.colors.primary,disabled:i.colors.grey5}},textStyle:{color:i.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":ee("add-to-apple-wallet-button")})},Bo=r.div`
|
|
2
2
|
margin-top: ${a.sp4};
|
|
3
3
|
display: flex;
|
|
4
4
|
justify-content: center;
|