@zeniai/web-app-ui 4.14.29-dev → 4.14.30-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 +21 -0
- package/dist/assets/{AIPerformancePage-BCxF5hNI-DwsSzcsx.js → AIPerformancePage-jyNXVGMj-Bs4Wcfnt.js} +13 -13
- package/dist/assets/AccountInfoPage-CiPtog_o-B4btRIXv.js +18 -0
- package/dist/assets/AccountInfoPageContent-Bj0kaRHv-CjMeZGo_.js +149 -0
- package/dist/assets/{AccountLockedInfoModal-CKODwo_y-D1V0TVL_.js → AccountLockedInfoModal-EbQpyRJx-DeA2eRRt.js} +3 -3
- package/dist/assets/{AccountReconDetailsDrawerPage-B2m7w0mL-C5Y15orT.js → AccountReconDetailsDrawerPage-CK1QV13E-BSUxm7rf.js} +3 -3
- package/dist/assets/{AccountRow-G9Hw9KCo-CT1w9ZhF.js → AccountRow-B3Sz6a-V-GlNhkavB.js} +7 -7
- package/dist/assets/{AccountsPromoCardStack-C1-hQWvB-BQ8MpMFD.js → AccountsPromoCardStack-DJtz56-u-D5uyYQuY.js} +6 -6
- package/dist/assets/AddAddressForCardDrawer-BDtxj9h6-Xx-rQDHp.js +6 -0
- package/dist/assets/{AddToWalletPage-BLdfTvYw-1DCwK82d.js → AddToWalletPage-Czepun8f-MGSdB8OM.js} +4 -4
- package/dist/assets/{AddressRoutes-BQkJFfvp.js → AddressRoutes-CmvRhhab.js} +1 -1
- package/dist/assets/{AddressScreen-Dl895CZ9.js → AddressScreen-Cb00RwYZ.js} +2 -2
- package/dist/assets/{AgingReportsPage-C6aasTzQ-C63SyJmI.js → AgingReportsPage-DzAVDq_i-BP-WG6Wy.js} +5 -5
- package/dist/assets/{AiCfoScreen-IdwAAJXG.js → AiCfoScreen-CZVtCrsQ.js} +2 -2
- package/dist/assets/{AllUserItems-CjeF5SWi-CeRsiH4z.js → AllUserItems-BEoRQT-v-9OnCgvS-.js} +4 -4
- package/dist/assets/{ApAgingDetailPage-BWtvu1dO-Br56Wlkb.js → ApAgingDetailPage-55JdoIHh-kk28-9yG.js} +8 -8
- package/dist/assets/{AppBasePage-MKRsDpmx-DMLcxkrr.js → AppBasePage-CLye29uw-B08L49eb.js} +2 -2
- package/dist/assets/{AppDrawerContent-DN2hf6ff-5NhbUBos.js → AppDrawerContent-CDawrmfz-DqagnYqP.js} +6 -6
- package/dist/assets/{ApprovalRulesSettingsPage-0XbPzs2a-C8UoHZRv.js → ApprovalRulesSettingsPage-BHUZdWCO-tMTnXaFd.js} +1 -1
- package/dist/assets/{ArAgingChart-DSx_E9ZM-RnIrRkZm.js → ArAgingChart-DeL9nNI7-Bj8y0fT6.js} +2 -2
- package/dist/assets/{ArAgingDetailPage-C8h1id5v-HwBRgj9f.js → ArAgingDetailPage-CuG65EQs-CXt16x8B.js} +3 -3
- package/dist/assets/{AttachmentView-CqKnI6Xt-AOGCu7iZ.js → AttachmentView-C5anq6-B-BkQi2I92.js} +1 -1
- package/dist/assets/{BalancesInsightWithToolTip-CSaW4oJh-DywAYbnn.js → BalancesInsightWithToolTip-1PK_fwhP-BOcx7wZs.js} +6 -6
- package/dist/assets/{BankAccountSection-Dhp7GLZA-FNVqovjK.js → BankAccountSection-BUJoSOk8-BG4ByPDH.js} +2 -2
- package/dist/assets/BankAccountWarningSection-BQaoV2yQ-BLOJsai8.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-CDPUFu2k-BBx4P7dZ.js → BankConnectionsSettingsPage-DRDS5xzS-CGYqJS-4.js} +14 -14
- package/dist/assets/{BillDetailPage-BWBGE0pg-CYoOWtCP.js → BillDetailPage-CtVVaqTN-BwEQZwAf.js} +4 -4
- package/dist/assets/{BillPayApprovalRoutes-BvnC9SqN.js → BillPayApprovalRoutes-DwRul1Fq.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-B_XoB7xi-CXJBKdTH.js → BillPayApprovalRuleDetailPage-6GHCsDkX-ClsaXk5H.js} +4 -4
- package/dist/assets/{BillPayApprovalRulesPage-5okdFn01-D6fpe4cT.js → BillPayApprovalRulesPage-QKjq-qVP-DTJcefrH.js} +6 -6
- package/dist/assets/{BillPayPromoPage-GoR4wxn7-Cd3jtttJ.js → BillPayPromoPage-_n9uoXTN-DW34nsnh.js} +1 -1
- package/dist/assets/{BillPayRoutes-DqZf2rOO.js → BillPayRoutes-D22Q6pQL.js} +8 -8
- package/dist/assets/{BillPaySetUpPage-CKWIFJ92-Dr75QuFi.js → BillPaySetUpPage-DNYX24VA-DLV9gKNt.js} +6 -6
- package/dist/assets/{BillingSettingsPage-AjSQYumd-GqgYiFI4.js → BillingSettingsPage-Btv3yiNs-M_OusRvc.js} +6 -6
- package/dist/assets/{BillsBulkReviewDrawerPage-DsNKfhkT-CXzE-Qir.js → BillsBulkReviewDrawerPage-BiLLeGke-Bs5f4SMl.js} +1 -1
- package/dist/assets/{BoxItem-BWNurtfc-J9WJ61G4.js → BoxItem-Dqp4SNlI-EUjyx5Zm.js} +1 -1
- package/dist/assets/BusinessVerificationPage-_8Wg_S5G-ChiNdD4I.js +138 -0
- package/dist/assets/{BusinessVerificationPageScreen-CJ17INUy.js → BusinessVerificationPageScreen-B_00ICvM.js} +2 -2
- package/dist/assets/{BusyIndication-H_iNZOWd-BNmJKxof.js → BusyIndication-BZLVwIo8-6s8wSi7T.js} +1 -1
- package/dist/assets/{CardNumberSubText-BAWc12F9-CekGLfjU.js → CardNumberSubText-12zyW5qQ-c22fv1fM.js} +8 -8
- package/dist/assets/{CashbackDetailPage-BhCHvGxj-nllESilf.js → CashbackDetailPage-B8-TDuv8-Dd6aEuJQ.js} +11 -11
- package/dist/assets/{ChargeCardDetailPage-D9-V0pjZ-CTp6LwRI.js → ChargeCardDetailPage-Bdz5L2ko-CaBbXfBZ.js} +44 -44
- package/dist/assets/{ChargeCardListPage-CZFi8l0_-CO-jS4Wx.js → ChargeCardListPage-EuJ1VXck-BU5r2hWM.js} +19 -19
- package/dist/assets/{ChargeCardListTable-DiJUp9-c-hw3gHlrw.js → ChargeCardListTable-SgjwYd8W-EVdaCbR4.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-CW9gtO0w-oF9Kbl5Z.js → ChargeCardPaymentHistoryPage-BC2DkmZT--xdPwk1t.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-CiZDV925-B7JK6cJL.js → ChargeCardPromoPage-C-z0xtuN-qFHF_adM.js} +6 -6
- package/dist/assets/{ChargeCardRoutes-BumOjc7r.js → ChargeCardRoutes-DV8TKacG.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-C5jXY5P--Da4gT9DT.js → ChargeCardSetupPage-ByLoLZE_-DIekUpHc.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-CetLgQ8l-CHHBhChm.js → ChargeCardStatementsPage-C4XdqPO1-BSM3bO35.js} +2 -2
- package/dist/assets/{CheckDepositDrawerPage-BYfqgSGk-58W0gPrS.js → CheckDepositDrawerPage-D5X61CKc-CyEf-jUu.js} +8 -8
- package/dist/assets/{CollapsableReportTable-BhbPzkAB-C83Y_pXv.js → CollapsableReportTable-D7zD4-h0-CdsTnLhf.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-CMcuDe-X-CNo7Ot8a.js → CompanyOfficerDetailsSection-w86_5FXJ-CDmgqN3N.js} +93 -93
- package/dist/assets/{CompanyPassportCard-DImW2Dm8-pP6x_qCR.js → CompanyPassportCard-tpE1lXug-CLl-IbcU.js} +9 -9
- package/dist/assets/{CompanyPassportPage-DT2W9QE1-DJLwOOR3.js → CompanyPassportPage-bND99CJN-D7hjvVvQ.js} +23 -23
- package/dist/assets/{CompanyPassportScreen-Ckk3Aa0n.js → CompanyPassportScreen-DR-zdvAJ.js} +1 -1
- package/dist/assets/{CompleteProfile-BOabRQRQ-Cdf3T9vg.js → CompleteProfile-B5W07hcs-mOeGRg8M.js} +1 -1
- package/dist/assets/ConfettiBurst-C0DFgWJj-DC0n_rE6.js +1 -0
- package/dist/assets/{ConnectionAuthScreen-CJIuvxwT.js → ConnectionAuthScreen-D4VaoAIy.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-CUV-Iost.js → ConstrainedInnerElement-CgdnMeoA-bMF_z_bc.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D86akQ-H-a9byVQeU.js → CreateOrEditVendorPage-CrQh8JCh-BX5wTD-m.js} +6 -6
- package/dist/assets/{CreditCardPaymentDrawerPage-MS34Pxyw-S-FNpO-K.js → CreditCardPaymentDrawerPage-BoVmLCHh-Blea7AvV.js} +1 -1
- package/dist/assets/{CurrencySelectField-BsuzTGXR-DG4V_Nis.js → CurrencySelectField-D2azwi1T-CSrQI1j0.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-BP-GIrmI-cXKCGBAv.js → CustomerOnboardingActivationPage-DxuEGe6X-BPuiwcIL.js} +5 -5
- package/dist/assets/CustomerOnboardingAuthScreen-DLH-rYdF.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-DS0-65s7-CeH0I7wN.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CISAUodZ-DSVMFFq4.js → CustomerOnboardingDetailPageSkeleton-DRGKainD-Y7JaILNu.js} +7 -7
- package/dist/assets/{CustomerOnboardingNoStepsPage-DgMQ5prq-DEUVMq4v.js → CustomerOnboardingNoStepsPage-C--jDBQq-BgvTeh9S.js} +10 -10
- package/dist/assets/{CustomerOnboardingPage-QvCZDMFw-pwPfUUii.js → CustomerOnboardingPage-BXZSl2im-DDrc-wX_.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-Bt1cV23--C-IqxjRL.js → CustomerOnboardingProductSuitePage-BJmYX0kI-C3qX-GBN.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-GPk7JXLd.js → CustomerOnboardingRoutes-DqfIHwc7.js} +4 -4
- package/dist/assets/{Dashboard-DdAePVSx-CyfCOyra.js → Dashboard-yhqyXPbZ-CPcltsfF.js} +1 -1
- package/dist/assets/{DashboardReportPage-ccn0JYfk-DfPZgIh7.js → DashboardReportPage-BG4StCjY-CzFGaujV.js} +8 -8
- package/dist/assets/{DashboardRoutes-DbCVxvoA.js → DashboardRoutes-Bawz4pw0.js} +3 -3
- package/dist/assets/DashboardSidebarBackgroundAnimation-DsWKmIXY-BuOmk2Nk.js +12 -0
- package/dist/assets/{DefaultTenantHome-DnjlKX8o.js → DefaultTenantHome-B10KVon4.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BijpyBiZ-CNN7AUw4.js → DepositAccTransactionItem-5ZEPnNxa-3AfijWCl.js} +6 -6
- package/dist/assets/DepositAccTransactionListPage-BR8d0Kun-DVyGTLJU.js +66 -0
- package/dist/assets/{DomesticWireDetailScreen-CMHXbUdU.js → DomesticWireDetailScreen-CMEoUywc.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-B10Vx6K5-BgPOj6ev.js → DomesticWireDetailsPage-wGIWvhgQ-CmjPpsLr.js} +4 -4
- package/dist/assets/{DownloadOverlay-BiIbEvq6-DkggD5hU.js → DownloadOverlay-SLvxfa6B-CQ7BxjF9.js} +16 -16
- package/dist/assets/{DrawerPage-4aE01eRo-CbGkLlgW.js → DrawerPage-CFdTV10k-BenpSUGv.js} +4 -4
- package/dist/assets/{DrawerScreen-Bqlol_ka.js → DrawerScreen-B7BWNi51.js} +1 -1
- package/dist/assets/{EditPeoplePage-BWjOJqch-DMjcjWgK.js → EditPeoplePage-C-Y62PJ0-BgijqRCf.js} +7 -7
- package/dist/assets/{EditReimbursementDetailPage-Dcw8QlH6-CKpHH0Rb.js → EditReimbursementDetailPage-BYpXof8e-CdyZTm2g.js} +14 -14
- package/dist/assets/{EntityDetailPage-DseDMalq-D030AWbJ.js → EntityDetailPage-CgDHg6g5-B_vQblwz.js} +2 -2
- package/dist/assets/{EntityDetailRoutes-DKPg6KvF.js → EntityDetailRoutes-nFrPna9t.js} +1 -1
- package/dist/assets/{EntitySummarySection-D1o-WKT9-B4D8PhFo.js → EntitySummarySection-B2uG3-Zh-DoF2hAYB.js} +4 -4
- package/dist/assets/{ExpenseAutomationOverviewPage-BIGlSzsy-DDeWTiVS.js → ExpenseAutomationOverviewPage-CrtNuarm-C8tGkYQU.js} +7 -7
- package/dist/assets/{ExpenseAutomationPage-BUARFwSx-BgUO5pJv.js → ExpenseAutomationPage-CWPnIMSu-BUnHNcGe.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-CFAuM0iq.js → ExpenseAutomationRoutes-DxRmXEnL.js} +1 -1
- package/dist/assets/{ExpressPayPage-BKpxo5VW-BeZ2tWeR.js → ExpressPayPage-CsI_DUc6-BKAOKKa9.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-CfqYjofS-Dw_fXJXh.js → FeaturePreviewPage-B67a68N9-BPSn99tM.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-Ctx49exK.js → FeaturePreviewScreen-D_cOMPjM.js} +1 -1
- package/dist/assets/{FollowStepsSection-CJzIGe2N-q0pn7uac.js → FollowStepsSection-CgjzMm02-DPMc3VYJ.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-B4qWm75N-BekP71Yj.js → GlobalReviewListPage-CIfK-0rd-F3X4MQ4k.js} +5 -5
- package/dist/assets/{InformationCardStack-BXWxFJnm-DZneOpmz.js → InformationCardStack-qKld10kr-IVC5wYc5.js} +1 -1
- package/dist/assets/{InsightsCardStack-iUppdWya-IGcayZ6m.js → InsightsCardStack-Bbh77o6f-Dr_8r9pW.js} +8 -8
- package/dist/assets/InsightsSection-DgfCOO4F-rd7xZxVI.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-DthkTtT9-BfWjdmm5.js → IntegrationsSettingsPage-BRQFeOLt-2BecY83T.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-hYeFGjj4-De4TNLmU.js → InternationalWireSwiftDetailsPage-DPemNncS-Datvi8oR.js} +4 -4
- package/dist/assets/{InternationalWireVerificationPage-0TZuCAzZ-DstpGM2q.js → InternationalWireVerificationPage-BOxXfIY5-D1lMmBlP.js} +3 -3
- package/dist/assets/{InviteFormPage-BC1PH63r-DAB3gVVK.js → InviteFormPage-BbbPCdh--Cb0-_CQ6.js} +1 -1
- package/dist/assets/{InvitePageListView-BJDfCvno-Sk3rc3V-.js → InvitePageListView-DqfrAulo-BtCqgsIl.js} +13 -13
- package/dist/assets/{InvitePeoplePage-Bl-WUfXO-DagADS45.js → InvitePeoplePage-CgTpZp4M-CYe0nmg8.js} +3 -3
- package/dist/assets/{InvoiceUploadSection-BgVvYytR-DjoTneQr.js → InvoiceUploadSection-DZOzTShz-BFwyUvOT.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-0JEZpfCu-DLK0riSj.js → IssueChargeCardPage-x6dLcd-P-D7R8buXv.js} +17 -17
- package/dist/assets/{LabeledAddressValue-BCsadhSu-lscFDQOa.js → LabeledAddressValue-CY4Fn72d-VdKSkT_l.js} +1 -1
- package/dist/assets/LabeledAddressValueField-D47ofJFV-CGqdgTnp.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-Do7rlK6F-CTyXPdV4.js → LabeledControlledCheckBoxField-C_c8Rs-i-Cz1fNsx_.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-BHwXHYPO-CYnRn6eD.js → LabeledCountryMultiSelectField-vRw9drBe-Bw1loTny.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-gMUp1tXY-y1kl4nd-.js → LabeledCreatableSingleSelectField-CdF97ljM-DTrzefeb.js} +3 -3
- package/dist/assets/{LabeledDocumentField-DxUq-7nr-DAyGmAsR.js → LabeledDocumentField-Dn25Ru1C-CLM-i9xW.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-D51ly333-CZ2VlJWO.js → LabeledDropDownFormattedTextField-C2sZjA-q-Bkuc_5w_.js} +6 -6
- package/dist/assets/{LabeledEmailInputField-Cd9p7Kj0-DZf49c8n.js → LabeledEmailInputField-DzAdekQn-BkQ7kdJx.js} +3 -3
- package/dist/assets/{LabeledNameField-364jsrFK-CaN5hIDf.js → LabeledNameField-Dxx0xwMv-DBRkdNqp.js} +1 -1
- package/dist/assets/{LabeledSingleSelectField-B3pMIEfZ-C8i8zlDG.js → LabeledSingleSelectField-EO8TA_z_-C26qdLJU.js} +6 -6
- package/dist/assets/{LabeledText-uFTi1qOo-Dh31QRqg.js → LabeledText-Bo7B-LrF-DECCi3EJ.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-XD6D3r0Y-Ce4jb_BF.js → LabeledUserSingleSelectWithSubtitlesField-DD11_Map-ZtH1v-68.js} +8 -8
- package/dist/assets/{LabeledZeniRolesDropDownField-CbJ3OtWK-CN-nwhu5.js → LabeledZeniRolesDropDownField-BJ99uBt1-DGvakh0f.js} +18 -18
- package/dist/assets/{LinkJETransactionPage-B5M6Ojt--C7jEEQdH.js → LinkJETransactionPage-BiDoUKQW-xgKDBdnj.js} +9 -9
- package/dist/assets/{LockCardPage-DN2dvQA9-ptj6YCPt.js → LockCardPage-B1QOSByp-BfsUhZIZ.js} +25 -25
- package/dist/assets/{LowBalancePopup-CXTWwEyb-DHi-7FjF.js → LowBalancePopup-Bl_PaIUx-yOClgIGf.js} +2 -2
- package/dist/assets/MagicLinkACHDetailsPage-l76_Y3sO-DBz5GRKZ.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D_z_Q-jz-DriIOIxl.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-D276lsq_-ColrMYZA.js +1 -0
- package/dist/assets/MagicLinkRoutes-B-WHuq25.js +72 -0
- package/dist/assets/{MagicLinkSignInScreen-hqZFIhM7.js → MagicLinkSignInScreen-BBwmXYDm.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-CuL-7CWN-C2vVBJ4S.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-BnzImXCX-DsNqMADc.js → MagicLinkTitleSection-RYhrN820-BbeWYlVu.js} +10 -10
- package/dist/assets/{MailingDetailsSection-aNMVpaF0-Mi3ceriD.js → MailingDetailsSection-D9_I-DTk-Cdb1WRS_.js} +1 -1
- package/dist/assets/{MobileAppDrawer-CXepfp6e.js → MobileAppDrawer-CTcTm5tx.js} +1 -1
- package/dist/assets/{MoreMenuButton-C_jqM-Ix-D5fFt93A.js → MoreMenuButton-5MZl4h9B-BympoCwa.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-CdW-lOqB-CQAYDmx1.js → MyBankConnectionsSettingsPage-CBw6kNsm-DlddyW1w.js} +4 -4
- package/dist/assets/MyPendingActivationChargeCardListPage-BC4YjZtP-DfpXnRCt.js +6 -0
- package/dist/assets/{MyProfileSettingsPage-ZmPfSk3b-CekXUU4A.js → MyProfileSettingsPage-DZ5M2BUN-CQ7zk2gg.js} +4 -4
- package/dist/assets/{NavBarWithPicker-BYosIzfk-CHzZbup1.js → NavBarWithPicker-C6FiaLu5-BVvTIBUE.js} +5 -5
- package/dist/assets/{NavigationArrow-CMLkPq47-BPg7he64.js → NavigationArrow-BnAgR0wH-BYYktF7B.js} +1 -1
- package/dist/assets/{NavigationDots-maxhYltq-IyF42HyI.js → NavigationDots-WUDG_g8M-CSwlLBTM.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-BkDFFysB-BMj84SI3.js → NewGlobalMerchantPage-gAsCusVw-CA6lhup4.js} +1 -1
- package/dist/assets/{NoDataChart-CKqR_T30-DZpYrIq4.js → NoDataChart-BBYUjdKn-CaszePO0.js} +3 -3
- package/dist/assets/{NoDataTable-BQLSA76V-CA1kwcWh.js → NoDataTable-D3750d25-CC_2gGkK.js} +1 -1
- package/dist/assets/{NotFoundPage-rtS33FV3-CW80Ae7U.js → NotFoundPage-C4D8Rn9E--AJk-xer.js} +6 -6
- package/dist/assets/{NotFoundScreen-86VjMapP.js → NotFoundScreen-SRDW4_mE.js} +1 -1
- package/dist/assets/{NotificationRoutes-WpVyAd3n.js → NotificationRoutes-BSrkx0LD.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-JJ5a6f1u-Dg5nWtfu.js → NotificationSettingsPage-CD-t91ia-DJoX_UtT.js} +4 -4
- package/dist/assets/NotificationsListConfig-C7JSE-eQ-DyT-ZhYk.js +1 -0
- package/dist/assets/{NotificationsPage-9vgLoVxJ-CqhoB5mC.js → NotificationsPage-Be1v8niA-BlgDo9nE.js} +14 -14
- package/dist/assets/{OpExByVendorPage-Dy7Ll1zE-CncYLP1q.js → OpExByVendorPage-D1f1lQbs-BnyzfFJz.js} +7 -7
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-o9B6MYdd.js → OverlayContainerPage-BG9y5C0t-DTorHW75.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-D-V3dD71-2GY3G9_S.js → PandLWithForecastPage-DIYb7BWp-B3vKwRhN.js} +11 -11
- package/dist/assets/{PandLWithForecastRoutes-NKWly9at.js → PandLWithForecastRoutes-CsL0r0I3.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-B_4cMrVT-DX0VhwXR.js → PaymentAccountSetupBillingAddressSection-tGkjxbjY-CHrQD7Oe.js} +6 -6
- package/dist/assets/{PeoplePage-B9bxxtaC-BUc8a2C6.js → PeoplePage-xwAOX4Jk-BnzId5aB.js} +1 -1
- package/dist/assets/{PeopleRoutes-LIAWa-ry.js → PeopleRoutes-D-yY-A49.js} +3 -3
- package/dist/assets/PerformanceRoutes-DUxeAB_T.js +1 -0
- package/dist/assets/{Preview-C63MOKlS.js → Preview-k4ohm46R.js} +1 -1
- package/dist/assets/{ProductsCarousel-BnezAuLA-CWNs-1wI.js → ProductsCarousel-OHbYasaa-Bps9QCYO.js} +1 -1
- package/dist/assets/{PromoBaseCards-B5vRjrOp-DZnXvun2.js → PromoBaseCards-B_0dccCZ-BeKRkhdX.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-mVAyONiQ-BFw_Aijs.js → QBOConnectionDialog-5ItNvdCA-D1LNYclF.js} +13 -13
- package/dist/assets/{QBOConnectionScreen-DPXluGT3.js → QBOConnectionScreen-BDwso3KZ.js} +1 -1
- package/dist/assets/{QBOSetupSection-Co4tc3sO-UEf5y5yj.js → QBOSetupSection-CHZgQppe-Fu_QXCEh.js} +14 -14
- package/dist/assets/ReferralListScreen-DPkRtA1r.js +5 -0
- package/dist/assets/{ReimbursementApprovalRoutes-DBPigEkQ.js → ReimbursementApprovalRoutes-DyX9YlA9.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-t48xfVQ_-DSouPzhL.js → ReimbursementApprovalRuleDetailPage-CqZT111l-Th1QLQg3.js} +5 -5
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-iL2FRiSL.js → ReimbursementApprovalRuleDetailScreen-BR6Wdj2J.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BuOE0xKm-CyQAGb5D.js → ReimbursementApprovalRulesPage-BzTe2nqd-DFHyb7gY.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-oD88KyGk-Z26luXjw.js → ReimbursementDetailPage-DM650uCR-BZojPp4W.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-DC6vQNFr-Df-JQbVt.js → ReimbursementPromoPage-CitTg9s4-C6Ht-4dW.js} +7 -7
- package/dist/assets/{ReimbursementRoutes-DP3Zyw9z.js → ReimbursementRoutes-C4Yz_jbS.js} +3 -3
- package/dist/assets/{ReimbursementSetUpPage-ClkPQCRt-3XXwJA8a.js → ReimbursementSetUpPage-qphyaCoX-CvNz9jXQ.js} +5 -5
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DiWW85PW-CdKgZHg6.js → ReimbursementsBulkReviewDrawerPage-CCJvQKip-BQLPbz53.js} +1 -1
- package/dist/assets/{ReloadCard-DcyZqZO5-CwUMwJXU.js → ReloadCard-DMNbI6QE-C1j_tgy-.js} +4 -4
- package/dist/assets/{ReportTableViewSelector-Be_385i6-D1d1hisQ.js → ReportTableViewSelector-CUG4hVI9-Bjuyu4DH.js} +5 -5
- package/dist/assets/{ReportsPage-Dp_uEJ2H-DsQqyldd.js → ReportsPage-nuM-ub1p-CKOT47VZ.js} +8 -8
- package/dist/assets/{ReportsRoutes-CQDTEzwi.js → ReportsRoutes-DohAZqsL.js} +1 -1
- package/dist/assets/{RevenueChart-B-iMe_PD-Bi6Ok69j.js → RevenueChart-BL5Wb2UT-JQVA4c7e.js} +1 -1
- package/dist/assets/{ReviewDetailsPage--0ZUpEVp-CQmlT2je.js → ReviewDetailsPage-CUolLJ6s-I5bNk9-1.js} +21 -21
- package/dist/assets/{ReviewOverlay-D_JI48L0-CyNlOwFh.js → ReviewOverlay-A1OYNSqG-DCeKL3J7.js} +6 -6
- package/dist/assets/RewardsRoutes-BjB7FD9l.js +1 -0
- package/dist/assets/{RoleWithToolTip-Bqdsc31P-CNmkPW05.js → RoleWithToolTip-VOllzDDB-BXr_ucO6.js} +2 -2
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-vFbciuuA-Diyke3YU.js → ScheduleDetailsFixedAssetsPage-By3U1RYU-Dut2stb8.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-BUxgvyKT-Xmkq7RcC.js → ScheduleDetailsPage-ButJHPUw-XhuUVDsI.js} +3 -3
- package/dist/assets/ScheduleSequenceTable-Dv831gVJ-OIQZXWKl.js +326 -0
- package/dist/assets/{ScreenRoutes-IYIFGbR5.js → ScreenRoutes-B6WQ9uqs.js} +2 -2
- package/dist/assets/{SetUpAccountSection-Bk3RGJCY-2x7H96z3.js → SetUpAccountSection-BcNG0nDh-C2x0keC_.js} +1 -1
- package/dist/assets/{SettingsRoutes-CEWrZV9M.js → SettingsRoutes-U8aLQkxi.js} +5 -5
- package/dist/assets/{SetupPagesScreen-BFZeWYvZ.js → SetupPagesScreen-KLzrKq5d.js} +1 -1
- package/dist/assets/{SignIn-DbvYG8OW-DIGSru0r.js → SignIn-D80UITQm-CVsAto0V.js} +22 -22
- package/dist/assets/{SignInScreen-B27QEE_5.js → SignInScreen-g1CD9jiJ.js} +1 -1
- package/dist/assets/SignOutScreen-Cclrjb6Y.js +9 -0
- package/dist/assets/{SpendManagementListViewPage-CSGYJyZu-BweWpc_X.js → SpendManagementListViewPage-DSG6Son_-3Woa8ZKL.js} +6 -6
- package/dist/assets/{SpendManagementPerTabPage-DuGeuTYQ-DataZT66.js → SpendManagementPerTabPage-DiSu0RS1-Dj2U_5YO.js} +13 -13
- package/dist/assets/{SpendManagementSection-CZ_i360S-BWGL8ndc.js → SpendManagementSection-BXU3RGG8-BwEQ7fN8.js} +12 -12
- package/dist/assets/StatementItem-B1M65xN--D_j2q7nS.js +31 -0
- package/dist/assets/{StatementsPage-BMFYpAPA-D3BvQu9P.js → StatementsPage-Ck1xzA0w-CdWUN6DK.js} +2 -2
- package/dist/assets/{StatusSwitcher-CDnarHSf-meshGWkH.js → StatusSwitcher-_Cs3CzJl-D1XlTHt5.js} +6 -6
- package/dist/assets/{SubTabSwitcher-DhIXVTVI-Dm-A1aML.js → SubTabSwitcher-D3ltE_yc-Ry1ed6uf.js} +3 -3
- package/dist/assets/SuccessAnimation-RuQd1S4B-C9QgxngQ.js +13 -0
- package/dist/assets/SummaryCard-buadhnmc-COTvxgGf.js +1 -0
- package/dist/assets/{TaskDetailPage-rWt-QUEv-DH6XgxNN.js → TaskDetailPage-CJKga1vr-ciDskCCR.js} +1 -1
- package/dist/assets/{TaskListScreen-CWIPHTTl.js → TaskListScreen-ksTObC06.js} +2 -2
- package/dist/assets/{TaskManagementPage-D3YvKWVJ-DM0xoyo4.js → TaskManagementPage-BMwMSG1j-D-VvypFm.js} +27 -27
- package/dist/assets/TaskRoutes-C_cjp_9o.js +9 -0
- package/dist/assets/{TimeRangeSwitcher-CFJrPhfZ-Bh0bakQI.js → TimeRangeSwitcher-B1Wx03tG-Br6TSwpo.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-DS6zgSjT-D1R0FMKh.js → TimeframeSwitcher-Dmtsdwi9-Ce3iuH6w.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-Did8-Dj7-CGwKh4M0.js → TimeframeSwitcherWithToggle-P5CfgTUd-DXOPf3Bj.js} +3 -3
- package/dist/assets/{TopExCard-ByF-svYM-Ctw9EYS9.js → TopExCard-DQkr9Xhh-CEMSG53J.js} +3 -3
- package/dist/assets/{TopExDetailPage-ABVezwCx-DzhDJZA8.js → TopExDetailPage-5Di6WUfV-hilBOr7-.js} +9 -9
- package/dist/assets/{TransactionActivityLogPage-B8ytNODX-DVytAoU9.js → TransactionActivityLogPage-R9LoW4DL-C_Mhlr8m.js} +1 -1
- package/dist/assets/{TransactionDetailPage-CunkyIXB-CNc17TsU.js → TransactionDetailPage-B-blHtkn-CbeGtCIa.js} +34 -34
- package/dist/assets/{TransactionDetailRoutes-CK-34SUt.js → TransactionDetailRoutes-CG9Ya3UI.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-DDeYMLmN.js → TransactionDetailScreen-DG1rRYuu.js} +1 -1
- package/dist/assets/{TransactionList-CEPVnfZD-ClBHZqTs.js → TransactionList-FQvTXSzy-oI0UZGJM.js} +13 -13
- package/dist/assets/{TransactionListBig-BYFv0irc-pAbEVbC_.js → TransactionListBig-CNDw7zRw-DTLpPxaS.js} +6 -6
- package/dist/assets/TransactionListPage-BkZLtwmQ-DzH0F7Wk.js +35 -0
- package/dist/assets/{TransactionListRoutes-DCJ5Lweu.js → TransactionListRoutes-BbWNwfVS.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-DYvgQFQS-DSlx2b8r.js → TransactionVendorDetailPage-Ch2UUF1f-DGdjSa3g.js} +3 -3
- package/dist/assets/{TransferDrawerPage-gDUiIE-g-Bvvjaklx.js → TransferDrawerPage-C1Ly_xKj-DX3atlS9.js} +21 -21
- package/dist/assets/{TreasuryOverviewPage-DXIqVBWp-B9pyuKCe.js → TreasuryOverviewPage-Zt5w8zfp-CedvlZd9.js} +21 -21
- package/dist/assets/{TreasuryPromoPage-oERSujnm-ClN1OTf6.js → TreasuryPromoPage-BsP73kf7-etf9xlFS.js} +14 -14
- package/dist/assets/{TreasuryRoutes-BjolvDGd.js → TreasuryRoutes-CuQ3uJ15.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-GWCCDPvf-_h3417p3.js → TreasuryStatementsPage-DhXESeOi-uJElEPeD.js} +4 -4
- package/dist/assets/{TreasuryTaxLetterPage-pTRWyNYH-BQ_qi0uM.js → TreasuryTaxLetterPage-tHkQvX2V-pYxXn6xj.js} +4 -4
- package/dist/assets/{TrendChart-B2oLQN05-BkrG4BVH.js → TrendChart-B7Pox_TQ-7BkibFBY.js} +4 -4
- package/dist/assets/{TrendWithTransactions-Bx63fv0P-BQ8GiA8P.js → TrendWithTransactions-DP1jZL1i-2bOe0VtV.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-D_QwlpkW-CEr8coR8.js → UncategorizedAccountsMappingPage-4mHyt2P6-BwcucbSK.js} +7 -7
- package/dist/assets/{UnitIntegrationPage-EeIQyR4L-D0Uey0gi.js → UnitIntegrationPage-BymmWe1G-DFsBuiFb.js} +3 -3
- package/dist/assets/{UploadAdditionalDocumentOverlay-B8_7dtgO-BVpFWtFr.js → UploadAdditionalDocumentOverlay-DUO2ZoU--ozi0LNFT.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DwTNfggI-QO3FNLHc.js → Vendor2FAPopup-8kpMx5RI-CGazITGN.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-BODHiiUQ-DmAQiimf.js +1 -0
- package/dist/assets/{VendorDetailPage-k42A_Pv1-C-eMTgO6.js → VendorDetailPage-C-JJfR0u-DCJ_f7dN.js} +12 -12
- package/dist/assets/VendorDomesticWireDetailsPage-CVfEcUFJ-8ddL7pEj.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-BUuhWv_U-D-yHNm5T.js → VendorFiling1099EditablePage-B4vFgSwb-DDTykyPn.js} +6 -6
- package/dist/assets/{VendorFirstReviewPage-bN7DO44j-DzTJUqvm.js → VendorFirstReviewPage-CUwdrbjH-DPvTVvHI.js} +7 -7
- package/dist/assets/{VendorInternationalWireDetailsPage-DjkOrgs7-CUIWISK5.js → VendorInternationalWireDetailsPage-BzP1zqhw-CAXXQP5N.js} +4 -4
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Dgz0TPoZ-CYv9JR1l.js +1 -0
- package/dist/assets/{VendorsAccountsSection-D-7K4aZA-BPnUt7kZ.js → VendorsAccountsSection-Drue-Lvz-DQRReXtk.js} +4 -4
- package/dist/assets/{VendorsRoutes-Dh458IQK.js → VendorsRoutes-Buw6G1yr.js} +1 -1
- package/dist/assets/{VerifyDevice-VPfuXUzH-AU1zuQlS.js → VerifyDevice-B_NNzkjT-BkggAu3P.js} +9 -9
- package/dist/assets/VideoPlayer-Bc4tAd79-Crbsq9LQ.js +77 -0
- package/dist/assets/VideoPopup-BYo5bzpU-BthyvsgQ.js +31 -0
- package/dist/assets/WiseConfirmationScreen-CEIT9jMF.js +12 -0
- package/dist/assets/{ZeniAccountDetailPage-CJrpkcjr-CBwTak_Y.js → ZeniAccountDetailPage-BW6G2voE-DBU5fQds.js} +19 -19
- package/dist/assets/{ZeniAccountListViewPage-DvJI3LGF-CKLfdqdE.js → ZeniAccountListViewPage-gNszI2XV-BLZmP_oZ.js} +30 -30
- package/dist/assets/{ZeniAccountNavBarPieces-UCydmVe7-CXtDBFLP.js → ZeniAccountNavBarPieces-BP1IxZ18-ABeEpX-y.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-DiGsabvm-C_SqwLVl.js → ZeniAccountPromoPage-LsZxIdX9-D62PvtLZ.js} +5 -5
- package/dist/assets/{ZeniAccountRoutes-CAAxW9JY.js → ZeniAccountRoutes-Bp_1In61.js} +5 -5
- package/dist/assets/{ZeniAccountSetupPage-hVmIT6tO-tFtJgQAT.js → ZeniAccountSetupPage-BExQA9Cz-D04LOVK1.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-BaoiJX5h.js → ZeniAccountStatementScreen-6LzJoR1o.js} +1 -1
- package/dist/assets/{ZeniAvatar-C2LxBTZ4-YOmVMm4j.js → ZeniAvatar-5wP6sb3W-CKgtWCng.js} +1 -1
- package/dist/assets/{ZeniCopyright-BTIaEGE9-Di2RxJTA.js → ZeniCopyright-CMjFbDBQ-So_Gi_8l.js} +1 -1
- package/dist/assets/{ZeniDatePicker-9JxwH7J5-CcV9D7gC.js → ZeniDatePicker-C_YQpGe--CXBBhIwN.js} +4 -4
- package/dist/assets/{ZeniTransferAmountSlider-BlEFrC-Z-rEEslC0z.js → ZeniTransferAmountSlider-CIu35Xz9-BCHS6-b-.js} +1 -1
- package/dist/assets/{accountMappingHelper-CZHlLVR_.js → accountMappingHelper-Ctd7yuH3.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-BgQLRlhS.js → add-to-wallet-DgdBD8_G-q_ZatOIu.js} +1 -1
- package/dist/assets/{analytics-CDQ7tGpV.js → analytics-Ci5SIN4_.js} +1 -1
- package/dist/assets/{analyticsHelper-jTnRtCKB.js → analyticsHelper-CBcY8lmv.js} +1 -1
- package/dist/assets/{analyticsHelper-CYp9h-KW-6KJErEZC.js → analyticsHelper-CG-L3dO7-WIHh4rd-.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CvfiHTRY.js → arrow-south-east-round-PEovUgvH-BXAmISmi.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-8rMpx5do.js → auto-transfer-rule-mbafm5D3-Qtr813uy.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-BdKWS97a.js → avatar-Dz7aEm3d-lVrrjTFE.js} +1 -1
- package/dist/assets/{bank-letter-BOcVjN6J-ydWr7ZOI.js → bank-letter-BOcVjN6J-a5lcVCZG.js} +1 -1
- package/dist/assets/{calculateSize-DecSvt-d-CIfCbqel.js → calculateSize-CAxK0dN_-6AyeRPo8.js} +1 -1
- package/dist/assets/{chartTypes-D2s_Hwo9-BbhqSw8p.js → chartTypes-_AEkJ5Cg-CVupoc41.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-CjcyjUt4.js → clock-CJkylEKt-CBVPxBka.js} +1 -1
- package/dist/assets/common-B74Sb4iG-Ba1Dna3Q.js +1 -0
- package/dist/assets/{commonDimensions-u85vL09f-D9VH5FSj.js → commonDimensions-_Dpm4Anv-BHT-EeW2.js} +1 -1
- package/dist/assets/{commonTypes-DKKiPW4t-BlYaUk1n.js → commonTypes-C64XobC6-BTobasZR.js} +1 -1
- package/dist/assets/{core-B0nKoasK.js → core-oEkj6b51.js} +1 -1
- package/dist/assets/{dash.all.min-CXMi5GlA.js → dash.all.min-DZu0W7MW.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-CHDtTf3Z.js → decodeURIComponentSafe-AFO0vA4L.js} +1 -1
- package/dist/assets/{dnd-NNN-4w0O.js → dnd-DwLm2ZWc.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-CQw1tD8J.js → dollar-round-D18u7nlm-BxzwYsJa.js} +1 -1
- package/dist/assets/{downloadPdf-CnXPMbwm-BjEW_jtg.js → downloadPdf-BAZhe2iR-C4ju3Lqh.js} +1 -1
- package/dist/assets/{empty-DA-JSLu3.js → empty-CpgB6ACX.js} +1 -1
- package/dist/assets/{empty-CVZTZ-q9.js → empty-fwRWXj2G.js} +1 -1
- package/dist/assets/{epic-D0yDPv8O.js → epic-qeTSmk29.js} +1 -1
- package/dist/assets/{filter-cZIFUNvj-DAakc3sS.js → filter-cZIFUNvj-Cn5LR_-W.js} +1 -1
- package/dist/assets/{getLocaleForTenant-DGG0tVFT.js → getLocaleForTenant-DZi5Q22y.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-C6pLHK0s.js → gift-box-Cmt9OgIZ-CByaMYJG.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-Dn4I-rOX.js → graphic-no-data-l-DU4J8fDt-bzI3_a8w.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DO0fHtUP.js → graphic-no-data-net-burn-l-CzmycA0m-CaA33M1d.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-C47iPdmd.js → handshake-BPg58FML-BxWewJRH.js} +1 -1
- package/dist/assets/{helper-C7sZs2qJ-DE63clA9.js → helper-D3UIpXq7-DCH1HBMI.js} +1 -1
- package/dist/assets/{hyperlink-DQyCeXx2-BOSMM7uX.js → hyperlink-DQyCeXx2-Dt5l5kWs.js} +1 -1
- package/dist/assets/{index-CEBFS-eA.js → index-B5c5iTId.js} +1 -1
- package/dist/assets/{index-DrsMeyfs.js → index-BE_133so.js} +1 -1
- package/dist/assets/{index-ByxsQZNo.js → index-BHAcVHeH.js} +643 -641
- package/dist/assets/{index-CQJQXzZY.js → index-CjBlNHKF.js} +1 -1
- package/dist/assets/{index-BIjZljJR.js → index-Cpbn6-TN.js} +1 -1
- package/dist/assets/{index-zhMcpxMF.js → index-DRNExedw.js} +1 -1
- package/dist/assets/{lexical-Fl-AogKa.js → lexical-BLFyyXBr.js} +1 -1
- package/dist/assets/{liveblocks-DskTqGyX.js → liveblocks-Ia5FU_Xu.js} +1 -1
- package/dist/assets/{lottie-BzV8yd9z.js → lottie-DEK510sX.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-C_DjhqLk-Ct7OsbEi.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Okgefznu-CJAMwNIO.js → mapSectionWithAcOnlyToTreeNode-BLsSfpaF-B_J7hTEH.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Dq4CasLR-BKZfs44u.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode--FHVcIix-D7muHBWz.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-sCX2cRnL-BfAjp3to.js → mapTimeframeBalancesToTreeNode-BP0iF3Of-BZXMdjjY.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-ww9DgKFP-Cu0SrzZe.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D45Dn747-DMQQGP6s.js} +1 -1
- package/dist/assets/{media-player-eLGyvMHZ.js → media-player-uto_Jl5G.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-rv31fLm6.js → money-2cg1MuG4-BmcWx6In.js} +1 -1
- package/dist/assets/{mui-40xepic5.js → mui-Cni6P-fz.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-BrbO3gtI.js → page-detail-CWX5S47F-B9qcUnuN.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-bNTaLAow.js → page-summary-D7_VQHwN-ZSqDN0WI.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-DgahycaC.js → panelSelectedMixin-Cddsb26L-BCo5ICo2.js} +1 -1
- package/dist/assets/{pathToGoBack-D0UTUGlT.js → pathToGoBack-BpMzEQ5A.js} +1 -1
- package/dist/assets/{pdf-A8jRKyoC.js → pdf-CTJ16aEe.js} +3 -3
- package/dist/assets/{pdf-lib-mQnebn-k.js → pdf-lib-BZoHbIry.js} +1 -1
- package/dist/assets/{plaid-cfgjTkr8.js → plaid-B2vW8NaN.js} +1 -1
- package/dist/assets/{pusher-1O2fsDZq.js → pusher-DFtcQaPW.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-Cy5-Jl8l.js → radio-default-CiSgisfh--JwnmKdf.js} +1 -1
- package/dist/assets/{react-BEctO-ia.js → react-B0u9lmTz.js} +1 -1
- package/dist/assets/{react-D8s_m7Vn.js → react-BxE_BeY2.js} +1 -1
- package/dist/assets/{react-QF7HiPHo.js → react-C70tWLg5.js} +1 -1
- package/dist/assets/{react-CidUU4N9.js → react-Cohr3oKl.js} +1 -1
- package/dist/assets/{react-DcRcFJEU.js → react-DKkpOD3_.js} +3 -3
- package/dist/assets/{react-C6o6ScF5.js → react-DZ1_qQub.js} +1 -1
- package/dist/assets/{react-BEcUyG01.js → react-cn6O__9s.js} +1 -1
- package/dist/assets/{react-CQm7lU_-.js → react-jjkPSe6Z.js} +1 -1
- package/dist/assets/{recharts-Bbdho9Pi.js → recharts-LlOU9oLm.js} +1 -1
- package/dist/assets/{routePaths-CpPoI1xs.js → routePaths-WWdcktge.js} +1 -1
- package/dist/assets/{sentry-COYnhuxW.js → sentry-CY6wsJT-.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-wVomU2ew.js → shield-DOlUxcFf-CGZqPLdL.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-BruIkKZj.js → spend-limit-D6SyboD4-DAZsY_K2.js} +1 -1
- package/dist/assets/toCOABalancesWithID-CuxwOBs0-D4IOrabU.js +1 -0
- package/dist/assets/{toChartData-DrYGpr_j-D2GR-55Z.js → toChartData-BODe4y2V-CHAJ4Jnp.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-C-J0dsgn.js → transaction-placeholder-CpOwZAMG-B7lzeBRq.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-Chu3klyO.js → undo-b_3XZ5CX-okXLDguZ.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-BGatCFPm.js → unlock-BPWn2I5L-BcwMx3a4.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-GfUJ6f_w.js → upload-reimbursement-receipt-O2N8vcO7-BLqHMVJK.js} +1 -1
- package/dist/assets/{uploadAttachment-DPYv4udq-CXZc-rXm.js → uploadAttachment-Dbumcc_g-LXlwbhth.js} +5 -5
- package/dist/assets/{uploadReceipts-CIgkuVpu-Mr0MhYx1.js → uploadReceipts-CIgkuVpu-FU2oOS1s.js} +1 -1
- package/dist/assets/{url-XCmE-JaB.js → url-B5kkbwRv.js} +1 -1
- package/dist/assets/{url-C27bOf0k.js → url-Cv3aJ--T.js} +1 -1
- package/dist/assets/{useDeviceId-UXlBHXyB.js → useDeviceId-BWAR3Wtl.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-BIFRjZze.js → useInitialThreadRequest-DTIHWJqF.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-CqE4OIEm.js → useLongPress-GCK2COYQ-BX_5sahW.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-vz296XX2.js → usp-line-BBd1wKwW-CuU9mWQv.js} +1 -1
- package/dist/assets/{utils-DMEPgX6w.js → utils-ChLimP28.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-BDgDxNYJ.js → withTransactionSidePanel-X05Jc0ej.js} +1 -1
- package/dist/assets/{zeni-epic-state-DCforPdM.js → zeni-epic-state-cFF_NqwA.js} +3 -3
- package/dist/assets/{zeni-icon-only-BkUYNged.js → zeni-icon-only-jOM3nMPU.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/ACHDetailsPage-DdI8Zlpr-DP3Ijrzf.js +0 -21
- package/dist/assets/AccountInfoPage-D_PrQwlp-DcHjYUET.js +0 -18
- package/dist/assets/AccountInfoPageContent-jLGn4-UA-BlSpfvCV.js +0 -149
- package/dist/assets/AddAddressForCardDrawer-Dd-0o1b--B4hUfY9b.js +0 -6
- package/dist/assets/BankAccountWarningSection-C_OfdR1O-BMVJxE-j.js +0 -51
- package/dist/assets/BusinessVerificationPage-DN88j0Rn-DzH0PVhP.js +0 -138
- package/dist/assets/ConfettiBurst-Ix0vYpu--B-yjeAz3.js +0 -1
- package/dist/assets/CustomerOnboardingAuthScreen-C_Q_XIl1.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-D4BMPshV-BEJOCQX6.js +0 -1
- package/dist/assets/DashboardSidebarBackgroundAnimation-DPDd6e7b-ClZHrJ6l.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-DOuU7gGT-CxNst2Ko.js +0 -66
- package/dist/assets/InsightsSection-CPg_uo3H-DaY57Nkj.js +0 -27
- package/dist/assets/LabeledAddressValueField-D-AO8-Me-DR8Qyzx1.js +0 -45
- package/dist/assets/MagicLinkACHDetailsPage-6iW79Hsc-BuBCCqa7.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-KPRoVnEc-9k2m3ge7.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DjB2bi8k-BA612N6w.js +0 -1
- package/dist/assets/MagicLinkRoutes-0gOcNpgv.js +0 -72
- package/dist/assets/MagicLinkSuccessPage-JRpuY47p-CZGcRvVV.js +0 -31
- package/dist/assets/MyPendingActivationChargeCardListPage-DKvDUyn7-Cn7MG0Rp.js +0 -6
- package/dist/assets/NotificationsListConfig-CWWrsRBB-BQkEfnwX.js +0 -1
- package/dist/assets/PerformanceRoutes-647LNvtJ.js +0 -1
- package/dist/assets/ReferralListScreen-C9t9-uma.js +0 -5
- package/dist/assets/RewardsRoutes-BiuOGirU.js +0 -1
- package/dist/assets/ScheduleSequenceTable-CPf50z9S-CLdzdoca.js +0 -324
- package/dist/assets/SignOutScreen-DfH6txYx.js +0 -9
- package/dist/assets/StatementItem-CDx2knrL-D3uOvDYp.js +0 -31
- package/dist/assets/SuccessAnimation-C-AHWH-M-DYko07lj.js +0 -13
- package/dist/assets/SummaryCard-4S9PQQ5W-B2YKQ_55.js +0 -1
- package/dist/assets/TaskRoutes-CgARLANx.js +0 -9
- package/dist/assets/TransactionListPage-CEVs8CRQ-DxaQpOMD.js +0 -35
- package/dist/assets/VendorACHDetailsPage-KDUuJi9g-SMC7hwJD.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-Dotx5CDo-B6fOSB2X.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BRtCcxHm-BL32YiVm.js +0 -1
- package/dist/assets/VideoPlayer-2MQyZqi6-DqklpbYT.js +0 -77
- package/dist/assets/VideoPopup-ZFwt4A81-Ch4C2tup.js +0 -31
- package/dist/assets/WiseConfirmationScreen-Bat277PD.js +0 -12
- package/dist/assets/common-BGuhvMjF-Ry4gfI81.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-CG-v5g2M-DTh9tKjd.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Cehw-jOG-pPZFbPSE.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-yMo9FeMO-BQEyuzFH.js +0 -1
- package/dist/assets/toCOABalancesWithID-DinJUeg4-DkE5puj7.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as ae,e as G,_ as Ce,h as we,a7 as $e,V as r,a_ as fe,eY as ye,ao as
|
|
1
|
+
import{y as ae,e as G,_ as Ce,h as we,a7 as $e,V as r,a_ as fe,eY as ye,ao as ke,o as i,iA as be,bn as je,C as j,a as K,b as J,O as N,d as f,D as A,f as a,x as z,l as _,cz as Se,bp as ze,n as ve,H as Le,eI as Me,m as h,az as Pe,c2 as Be,a8 as Ee,w as Q,cu as Te}from"./index-BHAcVHeH.js";import{a as s,b as Ie}from"./sentry-CY6wsJT-.js";import{n as o}from"./mui-Cni6P-fz.js";import{H6 as De}from"./zeni-epic-state-cFF_NqwA.js";import{I as We,N as _e}from"./VideoPlayer-Bc4tAd79-Crbsq9LQ.js";import{r as He}from"./auto-transfer-rule-mbafm5D3-Qtr813uy.js";import{t as Re}from"./clock-CJkylEKt-CBVPxBka.js";import{o as Ge}from"./shield-DOlUxcFf-CGZqPLdL.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"./media-player-uto_Jl5G.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="e5dd9c54-695a-4e56-8648-906240600e3f",e._sentryDebugIdIdentifier="sentry-dbid-e5dd9c54-695a-4e56-8648-906240600e3f")}catch{}})();const Ne=({isOpen:e,onClose:g})=>{const d=G(),C=N.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Me,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Ae,{windowSize:d,children:[r.jsx(Oe,{children:r.jsx(Ye,{onClick:g})}),r.jsxs(Ve,{children:[r.jsx(Fe,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(Z,{children:C.agreementDrawer.intro}),r.jsx(H,{children:C.agreementDrawer.introBullets.map((p,u)=>r.jsx(re,{children:p},u))}),r.jsx(H,{children:C.agreementDrawer.documents.map((p,u)=>r.jsx(qe,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ue,{children:p.links.map((w,b)=>r.jsx(Xe,{children:w.link!==""?r.jsx(ee,{href:w.link,target:"_blank",rel:"noopener noreferrer",children:w.text}):w.text},b))}):r.jsx(ee,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},u))}),r.jsx(Z,{style:{marginTop:i.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(H,{children:C.agreementDrawer.confirmBullets.map((p,u)=>r.jsx(re,{children:p},u))})]})]})})},Ae=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -53,7 +53,7 @@ import{y as ae,e as G,_ as Ce,h as we,a7 as $e,V as r,a_ as fe,eY as ye,ao as be
|
|
|
53
53
|
color: ${e=>e.theme.colors.hero};
|
|
54
54
|
`,Xe=o.span`
|
|
55
55
|
display: inline;
|
|
56
|
-
`,P=5e6,x=N.getLocalizedStrings().spendManagement.treasury.promoPage,R=[x.sliderLabel0,x.sliderLabel1,x.sliderLabel2,x.sliderLabel3,x.sliderLabel4];function Ke(e){return e>=1e6?`$${(e/1e6).toFixed(2)}M`:e>=1e3?`$${(e/1e3).toFixed(2)}K`:`$${e.toLocaleString()}`}function ie(e){return`$${e.toLocaleString(void 0,{maximumFractionDigits:0})}`}const Je=({analytics:e,yieldPercentage:g})=>{const[d,C]=Ie.useState(15e5),p=d*g,u=ae(),w=G();return r.jsxs(Qe,{windowSize:w,children:[w==="small"?r.jsx(n1,{children:x.sliderTitle}):r.jsx(s1,{children:x.sliderTitle}),r.jsxs(Ze,{children:[w==="small"?r.jsxs(r.Fragment,{children:[r.jsx(oe,{style:{color:u.colors.primary},children:x.sliderEarnLabel}),r.jsxs(oe,{style:{color:a.success},children:[ie(p),r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1,position:"relative",top:`-${i.sp1}`},children:"IV"})]})]}):r.jsxs(r.Fragment,{children:[r.jsx(te,{style:{color:u.colors.primary},children:x.sliderEarnLabel}),r.jsxs(te,{style:{color:a.success},children:[ie(p),r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1,position:"relative",top:`-${i.sp1}`},children:"IV"})]})]}),r.jsx(ve,{style:{color:u.colors.primary},children:x.sliderPerYear})]}),r.jsxs(e1,{children:[r.jsx(r1,{type:"range",min:0,max:P,step:1e4,value:d,onChange:
|
|
56
|
+
`,P=5e6,x=N.getLocalizedStrings().spendManagement.treasury.promoPage,R=[x.sliderLabel0,x.sliderLabel1,x.sliderLabel2,x.sliderLabel3,x.sliderLabel4];function Ke(e){return e>=1e6?`$${(e/1e6).toFixed(2)}M`:e>=1e3?`$${(e/1e3).toFixed(2)}K`:`$${e.toLocaleString()}`}function ie(e){return`$${e.toLocaleString(void 0,{maximumFractionDigits:0})}`}const Je=({analytics:e,yieldPercentage:g})=>{const[d,C]=Ie.useState(15e5),p=d*g,u=ae(),w=G();return r.jsxs(Qe,{windowSize:w,children:[w==="small"?r.jsx(n1,{children:x.sliderTitle}):r.jsx(s1,{children:x.sliderTitle}),r.jsxs(Ze,{children:[w==="small"?r.jsxs(r.Fragment,{children:[r.jsx(oe,{style:{color:u.colors.primary},children:x.sliderEarnLabel}),r.jsxs(oe,{style:{color:a.success},children:[ie(p),r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1,position:"relative",top:`-${i.sp1}`},children:"IV"})]})]}):r.jsxs(r.Fragment,{children:[r.jsx(te,{style:{color:u.colors.primary},children:x.sliderEarnLabel}),r.jsxs(te,{style:{color:a.success},children:[ie(p),r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1,position:"relative",top:`-${i.sp1}`},children:"IV"})]})]}),r.jsx(ve,{style:{color:u.colors.primary},children:x.sliderPerYear})]}),r.jsxs(e1,{children:[r.jsx(r1,{type:"range",min:0,max:P,step:1e4,value:d,onChange:b=>{const $=Number(b.target.value);C($),e.trackTreasuryCalculatorClick("Treasury Promo Page",$)},style:{background:`linear-gradient(to right, ${a.success} 0%, ${a.success} ${(d-0)/(P-0)*100}%, ${a.neutralGrey3Light} ${(d-0)/(P-0)*100}%, ${a.neutralGrey3Light} 100%)`}}),r.jsxs(t1,{style:{left:(d-0)/(P-0)*100+"%"},children:[x.sliderTooltipPrefix," ",Ke(d)]}),r.jsx(i1,{children:R.map((b,$)=>{const l=$/(R.length-1)*P<=d;return r.jsx(o1,{style:{left:$/(R.length-1)*100+"%"},children:r.jsx(j,{style:{color:l?u.colors.primary:a.neutralGrey1Light},children:b})},$)})})]})]})},Qe=o.div`
|
|
57
57
|
width: 100%;
|
|
58
58
|
max-width: ${e=>e.windowSize==="small"?"345px":"726px"};
|
|
59
59
|
margin: 0 auto;
|
|
@@ -148,7 +148,7 @@ import{y as ae,e as G,_ as Ce,h as we,a7 as $e,V as r,a_ as fe,eY as ye,ao as be
|
|
|
148
148
|
`,n1=o(Pe)`
|
|
149
149
|
color: ${e=>e.theme.colors.primary};
|
|
150
150
|
letter-spacing: -0.01em;
|
|
151
|
-
`,{common:l1,spendManagement:a1}=N.getLocalizedStrings(),t=a1.treasury.promoPage,
|
|
151
|
+
`,{common:l1,spendManagement:a1}=N.getLocalizedStrings(),t=a1.treasury.promoPage,k={mainHeading:new f("h6Medium","h4Regular"),subHeading:new f("standardRegular","h6Regular"),fundSymbol:new f("extraSmallSemiBold","smallSemiBold"),fundName:new f("extraLargeSemiBold","h5SemiBold"),fundSubName:new f("standardMedium","h6SemiBold"),highlightValue:new f("smallRegular","largeMedium"),highlightLabel:new f("extraSmallRegular","smallRegular"),uspItemTitle:new f("extraLargeMedium","h6Medium"),uspItemDescription:new f("extraSmallRegular","standardRegular")},m={uspLogoSize:new z(h[4],h[5]),cardsGap:new z(h[4],h[6]),fundHeaderGap:new z(h[0],h[2]),fundHeaderPadding:new z(h[3],h[4]),fundHeaderPaddingTop:new z(h[4],h[7]),fundHighlightsPadding:new z(h[2],h[3]),highlightItemGap:new z(h[0],h[1])},gr=({treasurySetupView:e,isSetupComplete:g,meetingUrl:d,videoUrl:C,onBackClick:p,onClickMenuIcon:u,onSetupButtonClick:w,onTreasurySetupSuccess:b})=>{const $=ae(),l=G(),de=Ce(),[ce,O]=s.useState(!1),[pe,V]=s.useState(!1),[F,Y]=s.useState(!1),v=we().analytics,{treasuryTermsDetails:he,fundsData:q}=e,D=he?.fetchStatus.fetchState,U=$e(D),X=q.reduce((n,c)=>{const S=c.yield?.toString()||"0%",W=parseFloat(S.replace("%",""))/100;return Math.max(n,W)},0),me=De(de.loggedInUserRoleMap);s.useEffect(()=>{U==="In-Progress"&&D==="Completed"&&b(g)},[U,b,D,g]);const ge=[{title:`${t.usps.upTo} ${(100*X).toFixed(2)}%`,description:t.yieldLabel.trim()},{title:t.usps.insuredFundsAmount,description:t.usps.sipcInsured},{title:t.usps.highLiquidity,description:t.usps.sameDayTransfer},{title:t.usps.autoTransfers,description:t.usps.automateCashManagement}],ue=(n,c)=>n===0?r.jsx(T1,{theme:c,windowSize:l}):n===1?r.jsx(I1,{theme:c,windowSize:l}):n===2?r.jsx(D1,{theme:c,windowSize:l}):n===3?r.jsx(W1,{theme:c,windowSize:l}):null;return r.jsxs(d1,{children:[r.jsx(fe,{title:t.title,backgroundColor:$.colors.grey4,onBackClick:p,showBackButton:!0,showMenuIcon:!1,onClickMenuIcon:u,style:{zIndex:2},source:"treasury"}),ce===!0?r.jsx(ye,{onCancelClick:()=>{O(!1)},meetingUrl:d}):null,r.jsxs(v1,{windowSize:l,children:[r.jsx(L1,{windowSize:l,children:t.heading}),r.jsx(M1,{windowSize:l,children:t.subHeading})]}),r.jsxs(V1,{windowSize:l,children:[r.jsx(U1,{windowSize:l}),r.jsx(X1,{windowSize:l}),r.jsxs(F1,{windowSize:l,onClick:()=>{Y(!0),v?.trackTreasuryPromoVideo("Promo Page")},style:{visibility:F?"hidden":"visible"},children:[r.jsx(Y1,{src:"https://storage.googleapis.com/zeni-apis.appspot.com/images/treasury-thumbnail.jpg",alt:"Treasury Video"}),r.jsx(q1,{children:r.jsx(We,{})})]})]}),r.jsx(c1,{windowSize:l,children:q.map((n,c)=>{const S=ke(c,$);return r.jsxs(p1,{children:[r.jsxs(h1,{windowSize:l,bgColor:S.headerBackground,index:c,children:[r.jsx(m1,{windowSize:l,children:n.fundCode}),r.jsxs("div",{children:[r.jsx(g1,{windowSize:l,color:S.fundNameColor,children:n.fundCompanyName??n.fundName}),r.jsx(u1,{windowSize:l,color:S.fundSubNameColor,children:n.fundName})]})]}),r.jsxs(x1,{windowSize:l,bgColor:S.highlightsBackground,children:[r.jsxs(se,{windowSize:l,children:[r.jsxs(ne,{windowSize:l,children:[r.jsxs(w1,{children:[n.yield,"%"]}),t.yieldLabel,r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1},children:"I"})]}),r.jsx(le,{windowSize:l,children:t.higherReturns})]}),r.jsx(C1,{}),r.jsxs(se,{windowSize:l,children:[r.jsxs(ne,{windowSize:l,children:[n.liquidityTimeline,t.liquidity,n.liquidityTimeline.includes("Same-Day")?r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1},children:"II"}):null]}),r.jsx(le,{windowSize:l,children:t.quickPayments})]})]}),r.jsx($1,{windowSize:l,children:n.description}),r.jsxs(f1,{children:[r.jsxs(B,{children:[r.jsxs(E,{children:[r.jsx(I,{})," ",t.fundSize]}),r.jsx(T,{color:S.fundNameColor,children:be(n.fundSize,n.currencyCode)})]}),r.jsxs(B,{children:[r.jsxs(E,{children:[r.jsx(I,{})," ",t.maturity]}),r.jsxs(T,{children:[n.maturity,""," ",l1.timeStrings.days]})]}),r.jsxs(B,{children:[r.jsxs(E,{children:[r.jsx(I,{})," ",t.expenseRatio]}),r.jsxs(T,{children:[n.expenseRatio,t.expenseRatioSuffix]})]}),r.jsxs(B,{children:[r.jsxs(E,{children:[r.jsx(I,{})," ",t.riskRating]}),r.jsx(T,{children:n.riskRating})]}),r.jsxs(B,{children:[r.jsxs(E,{children:[r.jsx(I,{})," ",t.composition]}),r.jsx(T,{children:r.jsxs(k1,{children:[n.compositions[0].investedIn," ",n.compositions[0].percentage,r.jsx(je,{style:{textAlign:"left",display:"inline"},maxWidth:"312px",title:r.jsxs(b1,{children:[r.jsx(j,{children:t.compositionHeading}),n.compositions.map((W,xe)=>r.jsxs(j1,{children:[r.jsx(S1,{}),r.jsx(j,{children:W.investedIn}),r.jsx(j,{style:{marginLeft:"auto",textAlign:"right"},children:W.percentage})]},xe))]}),children:r.jsxs(z1,{children:["+",n.compositions.length-1]})})]})})]})]}),r.jsxs(y1,{onClick:()=>v.trackTreasuryProspectusClick(n.fundCompanyName+" "+n.fundName,n.fundCode,"Treasury Promo Page"),windowSize:l,href:n.url,target:"_blank",rel:"noopener noreferrer",children:[t.asOf," ",n.asOfDate.format("MMM D, YYYY"),r.jsx(_1,{})]})]},n.fundCode)})}),r.jsx(P1,{windowSize:l,children:r.jsx(B1,{children:ge.map((n,c)=>r.jsxs(E1,{children:[ue(c,$),r.jsx(H1,{windowSize:l,children:n.title}),r.jsxs(R1,{windowSize:l,children:[n.description,r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1},children:c===0?"I":c===1?"III":c===2?"II":null})]})]},c))})}),r.jsx(Je,{analytics:v,yieldPercentage:X}),r.jsxs(A1,{windowSize:l,children:[r.jsxs(O1,{children:[r.jsx(L,{children:t.disclaimer1}),r.jsx(L,{children:t.disclaimer2}),r.jsxs(L,{children:[t.disclaimer3,r.jsx(y,{href:t.disclaimer3Link,target:"_blank",rel:"noopener noreferrer",children:t.disclaimer3Url})]}),r.jsx(L,{children:t.disclaimer4})]}),r.jsxs(L,{children:[t.agreementP1,r.jsx(y,{href:t.formCrsLink,target:"_blank",rel:"noopener noreferrer",children:t.formCrsText}),r.jsx(M,{}),r.jsx(y,{href:t.formAdvLink,target:"_blank",rel:"noopener noreferrer",children:t.formAdvText}),r.jsx(M,{}),r.jsx(y,{href:t.privacyPolicyLink,target:"_blank",rel:"noopener noreferrer",children:t.privacyPolicyText}),r.jsx(M,{}),r.jsx(y,{href:t.generalDisclosuresLink,target:"_blank",rel:"noopener noreferrer",children:t.generalDisclosuresText}),r.jsx(M,{}),r.jsx(y,{href:t.sipcInfoLink,target:"_blank",rel:"noopener noreferrer",children:t.sipcInfoText}),r.jsx(M,{}),r.jsx(y,{href:t.zeniPrivacyPolicyLink,target:"_blank",rel:"noopener noreferrer",children:t.zeniPrivacyPolicyText}),r.jsx(M,{}),r.jsx(y,{href:t.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:t.zeniTermsOfServiceText})]}),r.jsx(L,{children:r.jsx(y,{href:"#",onClick:n=>{v.trackTreasuryAgreementView(),n.preventDefault(),V(!0)},children:t.viewAgreement})})]}),me?r.jsxs(G1,{windowSize:l,children:[r.jsx(K,{variant:"secondary",label:t.scheduleDemoButton,onClick:()=>{v.trackTreasurySetupActionClick("schedule_demo"),O(!0)},"data-testid":J("treasury-schedule-demo-button")}),r.jsx(N1,{windowSize:l,children:"OR"}),r.jsx(K,{variant:"primary",label:g?t.enableButton:t.setupButton,loading:D==="In-Progress",onClick:()=>{v.trackTreasurySetupActionClick(g?"enable_now":"setup"),w()},"data-testid":J("treasury-get-started-button")})]}):null,r.jsx(Ne,{isOpen:pe,onClose:()=>V(!1)}),F&&r.jsx(_e,{src:C,isModalOpen:!0,controls:!0,onModalClose:()=>Y(!1),config:{youtube:{cc_load_policy:0,fs:0,modestbranding:1,rel:0}}})]})},d1=o.div`
|
|
152
152
|
display: flex;
|
|
153
153
|
flex: 1 1 auto;
|
|
154
154
|
min-height: 100%;
|
|
@@ -198,13 +198,13 @@ import{y as ae,e as G,_ as Ce,h as we,a7 as $e,V as r,a_ as fe,eY as ye,ao as be
|
|
|
198
198
|
}
|
|
199
199
|
`,m1=o.div`
|
|
200
200
|
color: ${a.brandColorOnyx};
|
|
201
|
-
${e=>
|
|
201
|
+
${e=>k.fundSymbol.style(e.windowSize)};
|
|
202
202
|
`,g1=o.div`
|
|
203
203
|
color: ${e=>e.color??a.brandColorGoldDark};
|
|
204
|
-
${e=>
|
|
204
|
+
${e=>k.fundName.style(e.windowSize)};
|
|
205
205
|
`,u1=o.div`
|
|
206
206
|
color: ${e=>e.color??a.brandColorGoldDark};
|
|
207
|
-
${e=>
|
|
207
|
+
${e=>k.fundSubName.style(e.windowSize)};
|
|
208
208
|
`,x1=o.div`
|
|
209
209
|
display: flex;
|
|
210
210
|
justify-content: space-between;
|
|
@@ -231,10 +231,10 @@ import{y as ae,e as G,_ as Ce,h as we,a7 as $e,V as r,a_ as fe,eY as ye,ao as be
|
|
|
231
231
|
flex: 1;
|
|
232
232
|
`,ne=o.div`
|
|
233
233
|
color: ${e=>e.theme.colors.primary};
|
|
234
|
-
${e=>
|
|
234
|
+
${e=>k.highlightValue.style(e.windowSize)};
|
|
235
235
|
`,le=o.div`
|
|
236
236
|
color: ${e=>e.theme.colors.hero};
|
|
237
|
-
${e=>
|
|
237
|
+
${e=>k.highlightLabel.style(e.windowSize)};
|
|
238
238
|
`,w1=o.span`
|
|
239
239
|
color: ${a.success};
|
|
240
240
|
`,$1=o(_)`
|
|
@@ -278,11 +278,11 @@ import{y as ae,e as G,_ as Ce,h as we,a7 as $e,V as r,a_ as fe,eY as ye,ao as be
|
|
|
278
278
|
color: ${e=>e.theme.colors.primary};
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
|
-
`,
|
|
281
|
+
`,k1=o.div`
|
|
282
282
|
display: flex;
|
|
283
283
|
align-items: center;
|
|
284
284
|
gap: ${i.sp1};
|
|
285
|
-
`,
|
|
285
|
+
`,b1=o.div`
|
|
286
286
|
display: flex;
|
|
287
287
|
flex-direction: column;
|
|
288
288
|
gap: ${i.sp1};
|
|
@@ -323,11 +323,11 @@ import{y as ae,e as G,_ as Ce,h as we,a7 as $e,V as r,a_ as fe,eY as ye,ao as be
|
|
|
323
323
|
color: ${e=>e.theme.colors.primary};
|
|
324
324
|
letter-spacing: -0.01em;
|
|
325
325
|
max-width: 896px;
|
|
326
|
-
${e=>
|
|
326
|
+
${e=>k.mainHeading.style(e.windowSize)};
|
|
327
327
|
`,M1=o(A)`
|
|
328
328
|
color: ${e=>e.theme.colors.primary};
|
|
329
329
|
letter-spacing: -0.01em;
|
|
330
|
-
${e=>
|
|
330
|
+
${e=>k.subHeading.style(e.windowSize)};
|
|
331
331
|
`,P1=o.div`
|
|
332
332
|
display: flex;
|
|
333
333
|
flex-direction: column;
|
|
@@ -382,10 +382,10 @@ import{y as ae,e as G,_ as Ce,h as we,a7 as $e,V as r,a_ as fe,eY as ye,ao as be
|
|
|
382
382
|
`,H1=o(ze)`
|
|
383
383
|
color: ${e=>e.theme.colors.primary};
|
|
384
384
|
margin-top: ${i.sp2};
|
|
385
|
-
${e=>
|
|
385
|
+
${e=>k.uspItemTitle.style(e.windowSize)};
|
|
386
386
|
`,R1=o(_)`
|
|
387
387
|
color: ${e=>e.theme.colors.champion};
|
|
388
|
-
${e=>
|
|
388
|
+
${e=>k.uspItemDescription.style(e.windowSize)};
|
|
389
389
|
`,G1=o.div`
|
|
390
390
|
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
391
391
|
padding: ${i.sp2} ${i.sp3};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e}from"./pdf-
|
|
1
|
+
import{j as e}from"./pdf-CTJ16aEe.js";import{j as L,h as U,i as P,l as R,u as g,N as F,k as O,R as he,m as k}from"./core-oEkj6b51.js";import{H6 as z,ct as v,Lr as B,zV as ne,cW as W,zD as se,Lt as Se,zY as xe,Lp as Ie,Lq as re,LH as we,y2 as Te,pc as je,Lv as ke,A7 as Ce,Ls as oe,bO as Z,zC as ie,cy as be,cA as Ae,Mz as ve,MA as Ee,zE as De,MB as Fe,zF as Le,zO as Ue,bt as Pe,FX as Be,FY as Me,G5 as Ve,F5 as Re,cV as Oe,F4 as ze,Hb as Ne,Gj as _e}from"./zeni-epic-state-cFF_NqwA.js";import{_ as N,a7 as Ge,js as A,bj as _,jz as C,L as $,lP as $e,lQ as He,lR as H,e as q,y as K,k2 as We,aE as ce,aG as D,jQ as V,x as Ze,lS as qe,kv as Q,jO as Ke,lT as Qe,jM as Y,lU as Ye,lV as Je,kc as Xe}from"./index-BHAcVHeH.js";import{n as M,D as et,S as tt}from"./mui-Cni6P-fz.js";import at from"./NotFoundScreen-SRDW4_mE.js";import{S as ee}from"./SetupPagesScreen-KLzrKq5d.js";import{a as u}from"./sentry-CY6wsJT-.js";import{M as le}from"./MobileAppDrawer-CTcTm5tx.js";import{F as nt}from"./FeaturePreviewScreen-D_cOMPjM.js";import{a as te}from"./analyticsHelper-CBcY8lmv.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"./routePaths-WWdcktge.js";import"./BusinessVerificationPageScreen-B_00ICvM.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="42095d82-a56e-4e32-ba9a-a4ae79926a78",t._sentryDebugIdIdentifier="sentry-dbid-42095d82-a56e-4e32-ba9a-a4ae79926a78")}catch{}})();const st=M.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: 100%;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{y as v,e as S,V as t,a_ as I,an as z,o as r,O as
|
|
2
|
-
margin: ${e=>`${r.sp0} ${
|
|
1
|
+
import{y as v,e as S,V as t,a_ as I,an as z,o as r,O as P,f as m,bV as C,x as T,m as h,l as B}from"./index-BHAcVHeH.js";import{a as p}from"./sentry-CY6wsJT-.js";import{n as o}from"./mui-Cni6P-fz.js";import{$ as _}from"./BoxItem-Dqp4SNlI-EUjyx5Zm.js";import{o as D}from"./commonDimensions-_Dpm4Anv-BHT-EeW2.js";import{O as M}from"./StatementItem-B1M65xN--D_j2q7nS.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./downloadPdf-BAZhe2iR-C4ju3Lqh.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="47cef31f-9cf6-466f-beae-bb991f7af3c2",e._sentryDebugIdIdentifier="sentry-dbid-47cef31f-9cf6-466f-beae-bb991f7af3c2")}catch{}})();const f=P.getLocalizedStrings().spendManagement.treasury.statements,u={listItemMargin:new T(h[3],h[8])},ie=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:c,statementListView:a,onBackClick:g})=>{const w=v(),i=S(),x=p.createRef(),y=p.useRef(),k=a.statements.length===0,$=()=>D.transactionItemHeightResponsive.value(i),j=({index:s,style:l})=>{const d=a.statements[s];return k===!1?t.jsx(b,{windowSize:i,style:{...l,width:`calc(100% - 2*${u.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:n,downloadEndPoint:c,documentType:"treasuryStatement",boxType:_(s,a.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(E,{children:t.jsx(b,{windowSize:i,children:t.jsx(O,{children:f.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:f.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:s,width:l})=>t.jsx(N,{ref:x,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:a.statements.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},R=o.div``,b=o.div`
|
|
2
|
+
margin: ${e=>`${r.sp0} ${u.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
3
|
&:hover {
|
|
4
4
|
position: relative;
|
|
5
5
|
z-index: 2;
|
|
@@ -17,7 +17,7 @@ import{y as v,e as S,V as t,a_ as I,an as z,o as r,O as C,d as m,bV as P,x as T,
|
|
|
17
17
|
flex-direction: column;
|
|
18
18
|
width: 100%;
|
|
19
19
|
padding-bottom: ${r.sp7};
|
|
20
|
-
`,O=o(
|
|
20
|
+
`,O=o(B)`
|
|
21
21
|
display: flex;
|
|
22
22
|
color: ${e=>e.theme.colors.grey2};
|
|
23
23
|
`,V=o.div`
|
|
@@ -26,7 +26,7 @@ import{y as v,e as S,V as t,a_ as I,an as z,o as r,O as C,d as m,bV as P,x as T,
|
|
|
26
26
|
width: 100%;
|
|
27
27
|
height: 100%;
|
|
28
28
|
margin-top: ${e=>e.windowSize==="small"?r.sp3:r.sp6};
|
|
29
|
-
`,N=o(
|
|
29
|
+
`,N=o(C)`
|
|
30
30
|
scrollbar-width: thin;
|
|
31
31
|
scrollbar-color: transparent transparent;
|
|
32
32
|
&::-webkit-scrollbar {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{y as v,e as L,V as t,a_ as
|
|
2
|
-
margin: ${e=>`${r.sp0} ${
|
|
1
|
+
import{y as v,e as L,V as t,a_ as I,an as S,o as r,O as z,f as h,bV as T,x as C,m as p,l as P}from"./index-BHAcVHeH.js";import{a as m}from"./sentry-CY6wsJT-.js";import{n as o}from"./mui-Cni6P-fz.js";import{$ as B}from"./BoxItem-Dqp4SNlI-EUjyx5Zm.js";import{o as _}from"./commonDimensions-_Dpm4Anv-BHT-EeW2.js";import{O as D}from"./StatementItem-B1M65xN--D_j2q7nS.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./downloadPdf-BAZhe2iR-C4ju3Lqh.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]="3e7e948a-eeac-4dac-952b-de78d477a7f1",e._sentryDebugIdIdentifier="sentry-dbid-3e7e948a-eeac-4dac-952b-de78d477a7f1")}catch{}})();const x=z.getLocalizedStrings().spendManagement.treasury.taxLetter,g={listItemMargin:new C(p[3],p[8])},ie=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:u})=>{const f=v(),i=L(),w=m.createRef(),y=m.useRef(),k=n.taxLetters.length===0,$=()=>_.transactionItemHeightResponsive.value(i),j=({index:s,style:l})=>{const d=n.taxLetters[s];return k===!1?t.jsx(b,{windowSize:i,style:{...l,width:`calc(100% - 2*${g.listItemMargin.valuePx(i)})`},children:t.jsx(D,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:B(s,n.taxLetters.length)},d.id)}):t.jsx(M,{style:{...l},children:t.jsx(R,{children:t.jsx(b,{windowSize:i,children:t.jsx(O,{children:x.noTaxLetter})})})})};return t.jsxs(E,{children:[t.jsx(I,{title:x.title,backgroundColor:f.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(S,{children:({height:s,width:l})=>t.jsx(N,{ref:w,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},M=o.div``,b=o.div`
|
|
2
|
+
margin: ${e=>`${r.sp0} ${g.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
3
|
&:hover {
|
|
4
4
|
position: relative;
|
|
5
5
|
z-index: 2;
|
|
@@ -17,7 +17,7 @@ import{y as v,e as L,V as t,a_ as S,an as z,o as r,O as I,d as h,bV as C,x as P,
|
|
|
17
17
|
flex-direction: column;
|
|
18
18
|
width: 100%;
|
|
19
19
|
padding-bottom: ${r.sp7};
|
|
20
|
-
`,O=o(
|
|
20
|
+
`,O=o(P)`
|
|
21
21
|
display: flex;
|
|
22
22
|
color: ${e=>e.theme.colors.grey2};
|
|
23
23
|
`,V=o.div`
|
|
@@ -26,7 +26,7 @@ import{y as v,e as L,V as t,a_ as S,an as z,o as r,O as I,d as h,bV as C,x as P,
|
|
|
26
26
|
width: 100%;
|
|
27
27
|
height: 100%;
|
|
28
28
|
margin-top: ${e=>e.windowSize==="small"?r.sp3:r.sp6};
|
|
29
|
-
`,N=o(
|
|
29
|
+
`,N=o(T)`
|
|
30
30
|
scrollbar-width: thin;
|
|
31
31
|
scrollbar-color: transparent transparent;
|
|
32
32
|
&::-webkit-scrollbar {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{O as
|
|
1
|
+
import{O as j,V as s,y as _,an as O,w as $,ag as z,b as Y,o as M,f as I,l as P}from"./index-BHAcVHeH.js";import{a as w,b as q}from"./sentry-CY6wsJT-.js";import{Fu as h}from"./zeni-epic-state-cFF_NqwA.js";import{d as B,g as T,p as k,u as K}from"./chartTypes-_AEkJ5Cg-CVupoc41.js";import{n as L}from"./mui-Cni6P-fz.js";import{o as R}from"./toCOABalancesWithID-CuxwOBs0-D4IOrabU.js";import{V as N}from"./toChartData-BODe4y2V-CHAJ4Jnp.js";import{J as V,E as A,X as G,Y as Q,F as W,Q as J,K as X}from"./recharts-LlOU9oLm.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5a9a7300-b71b-4a8b-b4a6-9ca5db4856d9",e._sentryDebugIdIdentifier="sentry-dbid-5a9a7300-b71b-4a8b-b4a6-9ca5db4856d9")}catch{}})();const H=L.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,U=L.div`
|
|
4
4
|
flex: display;
|
|
@@ -7,10 +7,10 @@ import{O as Y,V as s,y as _,an as O,w as $,ag as P,P as k,o as M,d as z,l as I}f
|
|
|
7
7
|
flex-direction: column;
|
|
8
8
|
padding: ${M.sp3};
|
|
9
9
|
background-color: ${e=>e.theme.colors.black};
|
|
10
|
-
`,Z=L(
|
|
11
|
-
color: ${e=>e.color??
|
|
10
|
+
`,Z=L(P)`
|
|
11
|
+
color: ${e=>e.color??I.neutralGrey2Light};
|
|
12
12
|
text-align: left;
|
|
13
13
|
display: flex;
|
|
14
14
|
align-items: center;
|
|
15
15
|
justify-content: space-between;
|
|
16
|
-
`,ee=q.memo(e=>{const t=(({active:a,payload:o,trendType:x})=>{const y=[];return o?.forEach(d=>{const m=d.name;if(d&&a&&d.value!==0){const i=d.payload,g=d.color,p=m!=null&&i.record[m]!=null?i.record[m].amount:void 0;y.push({barName:x,value:p,color:g})}}),y})(e);return t.length?s.jsx(H,{children:s.jsx(U,{children:t.map((a,o)=>s.jsx(Z,{color:a.color,children:`${a.barName}: ${
|
|
16
|
+
`,ee=q.memo(e=>{const t=(({active:a,payload:o,trendType:x})=>{const y=[];return o?.forEach(d=>{const m=d.name;if(d&&a&&d.value!==0){const i=d.payload,g=d.color,p=m!=null&&i.record[m]!=null?i.record[m].amount:void 0;y.push({barName:x,value:p,color:g})}}),y})(e);return t.length?s.jsx(H,{children:s.jsx(U,{children:t.map((a,o)=>s.jsx(Z,{color:a.color,children:`${a.barName}: ${K(a.value)}`},a.barName+o))})}):null}),te=(e,t)=>{if(e!=null)switch(t){case"month":return e.monthly;case"quarter":return e.quarterly;case"year":return e.yearly;case"free_range":throw new Error("free_range dates are not supported!")}},E=[k("trend","actual")];function ve({firstMonthOfFY:e,trendReport:t,timeframe:a,selectedTimePeriod:o,graphColor:x,width:y,height:d,onTimeframeSelectionChanged:m}){const i=w.useRef(!1),g=o!=null?re(e,o,a):void 0,p=j.getLocalizedStrings().reports.trend[t?.balancesKind];w.useEffect(()=>{i.current=!0},[]);const v=((f,u,c,l)=>{let r=[];if(l!=null){const n=te(l,c);n!=null&&n.length>0&&(r=R("trend","actual",n))}if(r.length>0){const n=k("trend","actual"),D={};return D[n]=r,N(f,u,n,D)}})(e,E,a,t);return v==null?null:s.jsx(ae,{chartData:v,timeframe:a,selectedLabel:g,barElements:(f=>{const u=[];return E.forEach(c=>{u.push(s.jsx(X,{name:c,isAnimationActive:i.current,dataKey:l=>{const r=l.record;return(r[c]!=null&&r[c].amount!=null?r[c].amount:void 0)?.amount??0},maxBarSize:36,fill:f.toString(),"data-testid":Y(c,"bar")},c))}),u})(x),customToolTipContent:({active:f,payload:u})=>s.jsx(ee,{active:f,payload:u,trendType:p}),width:y,height:d,onTimeframeSelectionChanged:m})}const ae=({chartData:e,timeframe:t,selectedLabel:a,barElements:o,customToolTipContent:x,width:y,height:d,onTimeframeSelectionChanged:m})=>{const i=_(),[g,p]=w.useState([void 0,void 0]),v=e.timeseries,f=B(e),u=v.map(l=>l.label);w.useEffect(()=>{if(a!=null){const l=T(a.label,u,1);p(l)}else p([void 0,void 0])},[t,a]);const c=l=>{if(l?.activePayload==null||l?.activePayload.length===0)return;const r=l.activePayload[0];if(r?.payload?.record?.[k("trend","actual")]?.amount==null)return;const n=r.payload.record[k("trend","actual")].amount;if(n!=null&&n.amount===0||r?.payload?.timeLabel?.label==null)return;const D=r.payload.timeLabel.label,S=r.payload.timeLabel.startDate,C=r.payload.timeLabel.endDate,F=T(D,u,1);p(F),m?.(t,{startDate:S,endDate:C})};return s.jsx("div",{style:{width:y,height:d},"data-testid":Y("simple-bar-chart"),children:s.jsx(O,{children:({height:l,width:r})=>s.jsxs(V,{"data-testid":Y("bar-chart"),width:r,height:l,data:e.recordByTimeseries,barCategoryGap:"30%",margin:{top:5,right:20,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto",cursor:"pointer"},onClick:c,children:[s.jsx(A,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:i.colors.grey3}),s.jsx(G,{dataKey:n=>n.timeLabel.label,type:"category",axisLine:{stroke:i.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:i.colors.hero,...$.extraSmallRegular.cssObject}}),s.jsx(Q,{type:"number",axisLine:!1,tickLine:!1,tick:{color:i.colors.hero,...$.extraSmallRegular.cssObject},tickFormatter:n=>z("0,0.[00]a",n,f)}),s.jsx(W,{cursor:!1,content:x,allowEscapeViewBox:{x:!1,y:!0}}),a!=null&&s.jsx(J,{x1:g[0],x2:g[1],opacity:.3,fillOpacity:.3,stopOpacity:.1}),o]})})})},{dateFormat:b}=j.getLocalizedStrings(),re=(e,t,a)=>{let o="";switch(a){case"week":o=t.startDate.month()!==t.endDate.month()?`${h(t.startDate,b.visual.MMMYYFormat,e)} - ${h(t.endDate,b.visual.MMMYYFormat,e)}`:`${h(t.startDate,b.visual.Dformat,e)} - ${h(t.endDate,b.visual.MMMDCommaYYYYformat,e)}`;break;case"month":o=`${h(t.startDate,b.visual.MMMYYFormat,e)}`;break;case"quarter":o=`${j.getLocalizedStrings().quarterPrefix}${h(t.startDate,b.visual.QYYformat,e)}`;break;case"year":o=`${h(t.startDate,b.visual.YYYYformat,e)}`;break;case"free_range":throw new Error("free_range dates are not supported!")}return{label:o,startDate:t.startDate,endDate:t.endDate}};export{ve as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{e as k,V as i,L as
|
|
1
|
+
import{e as k,V as i,L as b,o as n,O as L,b as $,an as N,x as l,ar as H,c2 as _,m as a,l as B,a8 as V}from"./index-BHAcVHeH.js";import{a as R}from"./sentry-CY6wsJT-.js";import{n as r}from"./mui-Cni6P-fz.js";import q from"./TrendChart-B7Pox_TQ-7BkibFBY.js";import{C as A}from"./NoDataChart-BBYUjdKn-CaszePO0.js";import{F as E}from"./InsightsSection-DgfCOO4F-rd7xZxVI.js";import{D as K}from"./TransactionList-FQvTXSzy-oI0UZGJM.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]="de859fa1-0e96-4a0b-ac8d-740d99f8005c",e._sentryDebugIdIdentifier="sentry-dbid-de859fa1-0e96-4a0b-ac8d-740d99f8005c")}catch{}})();const Q=r.div`
|
|
2
2
|
display: inline-block;
|
|
3
|
-
`,
|
|
3
|
+
`,U=r.div`
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey3};
|
|
5
5
|
display: flex;
|
|
6
6
|
align-items: center;
|
|
@@ -12,7 +12,7 @@ import{e as k,V as i,L as C,o as n,O as L,P as $,an as N,x as l,ar as H,c2 as _,
|
|
|
12
12
|
background-color: ${e=>e.theme.colors.grey2};
|
|
13
13
|
color: ${e=>e.theme.colors.primary};
|
|
14
14
|
}
|
|
15
|
-
`,
|
|
15
|
+
`,W=r.div`
|
|
16
16
|
display: flex;
|
|
17
17
|
flex-direction: row;
|
|
18
18
|
justify-content: center;
|
|
@@ -26,7 +26,7 @@ import{e as k,V as i,L as C,o as n,O as L,P as $,an as N,x as l,ar as H,c2 as _,
|
|
|
26
26
|
&:hover {
|
|
27
27
|
color: inherit;
|
|
28
28
|
}
|
|
29
|
-
`;function
|
|
29
|
+
`;function X({selectedTimeframeTick:e,onTimeFilterClosed:t}){return i.jsx(Q,{children:i.jsx(U,{onClick:()=>{t?.()},"data-testid":$("time-filter-indicator"),children:i.jsxs(W,{children:[i.jsx(G,{children:Z(e)}),i.jsx(J,{preserveAspectRatio:"none"})]})})})}const Z=e=>{const t=e.startDate,c=L.getLocalizedStrings();return`${t.format(c.dateFormat.visual.MMMYYFormat)}`},ee={filterMarginLeft:new l(a[3],a[8])},ie=r.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
flex: 1 1 auto;
|
|
32
32
|
width: 100%;
|
|
@@ -45,7 +45,7 @@ import{e as k,V as i,L as C,o as n,O as L,P as $,an as N,x as l,ar as H,c2 as _,
|
|
|
45
45
|
justify-content: center;
|
|
46
46
|
align-items: center;
|
|
47
47
|
margin-top: ${n.sp8};
|
|
48
|
-
`;function ae({firstMonthOfFY:e,selectedTimePeriod:t,showSelectedPeriodTags:c,fetchState:o,transactions:d,isDetailPage:g,onTransactionItemClick:f,onSelectedTimePeriodClear:h,onLoadPreviousTransactionsClick:P,onTransactionListHeightChanged:v}){const p=o==="In-Progress"||o==="Not-Started",j=d.length===0&&p,m=d.length>0&&p,T=g!==!0&&c!==!0?{isLoading:m&&(o==="In-Progress"||o==="Not-Started"),onLoadPreviousClick:(x,M)=>{P?.(x,M)}}:void 0,y=k();return i.jsx(ie,{"data-testid":$("trend-transactions-list-container"),children:j===!1?i.jsxs(i.Fragment,{children:[g===!1&&c===!0&&t!=null&&i.jsx(ne,{windowSize:y,children:i.jsx(
|
|
48
|
+
`;function ae({firstMonthOfFY:e,selectedTimePeriod:t,showSelectedPeriodTags:c,fetchState:o,transactions:d,isDetailPage:g,onTransactionItemClick:f,onSelectedTimePeriodClear:h,onLoadPreviousTransactionsClick:P,onTransactionListHeightChanged:v}){const p=o==="In-Progress"||o==="Not-Started",j=d.length===0&&p,m=d.length>0&&p,T=g!==!0&&c!==!0?{isLoading:m&&(o==="In-Progress"||o==="Not-Started"),onLoadPreviousClick:(x,M)=>{P?.(x,M)}}:void 0,y=k();return i.jsx(ie,{"data-testid":$("trend-transactions-list-container"),children:j===!1?i.jsxs(i.Fragment,{children:[g===!1&&c===!0&&t!=null&&i.jsx(ne,{windowSize:y,children:i.jsx(X,{selectedTimeframeTick:t,onTimeFilterClosed:h})}),t!=null&&i.jsx(te,{"data-testid":$("trend-transactions-list"),children:i.jsx(K,{firstMonthOfFY:e,timeframe:"quarter",timePeriod:t,transactions:d,isFirstLotLoading:p&&!m,componentName:"trend.transactions.list",trackPerformance:!1,onTransactionItemClick:f,showLoadPrevious:T,onListInnerElementHeightChanged:v})})]}):i.jsx(re,{children:i.jsx(b,{size:"Standard",start:!0})})})}const s={headingMarginLeftRight:new l(a[3],a[8]),headingMarginTop:new l(a[3],a[6]),headingMarginTopDetail:new l(0,0),headingMarginBottom:new l(a[4],a[5]),chartMarginLeftRight:new l(a[3],a[8]),smallHeadingMarginTop:new l(a[7],a[5]),smallHeadingMarginBottom:new l(a[4],a[3])},S={trendChartHeight:360,emptyTrendChartHeight:new l(360,432),selectedTimeHeight:136,loaderTrendChartHeight:new l(470,470)},oe=r.div`
|
|
49
49
|
display: flex;
|
|
50
50
|
flex: 1 1 auto;
|
|
51
51
|
min-height: 100%;
|
|
@@ -113,4 +113,4 @@ import{e as k,V as i,L as C,o as n,O as L,P as $,an as N,x as l,ar as H,c2 as _,
|
|
|
113
113
|
align-items: center;
|
|
114
114
|
height: ${e=>S.loaderTrendChartHeight.valuePx(e.windowSize)};
|
|
115
115
|
margin-top: ${n.sp8};
|
|
116
|
-
`;function
|
|
116
|
+
`;function ze({firstMonthOfFY:e,trendWithTransactionsReport:t,graphColor:c,isDetailPage:o,initialTransactionListHeight:d=5,page:g,onTransactionItemClick:f,onTimePeriodChange:h}){const P=t.fetchState!=="Completed",v=t.selectedPeriod??{timeframe:"quarter",timePeriod:t.transactionTimePeriod},p=v?.timeframe==="month",j=t.trendReport?.dataAvailable==null,m=t.trendReport?.trendReport,T=()=>{h?.("TransactionList")},y=(u,w)=>{const C={timeframe:w,addTimePeriod:u,currentTimePeriod:t.selectedPeriod?.timePeriod};h?.("TransactionListLoadMore",C)},x=k(),[M,I]=R.useState(d),z=R.useRef(null),F=()=>{const u=m?.insights!=null&&m?.insights.length>0;return i.jsxs(i.Fragment,{children:[j?t.trendReport?.fetchState==="In-Progress"&&t.fetchState==="Completed"?i.jsx(we,{windowSize:x,children:i.jsx(b,{size:"Standard",start:!0})}):i.jsx(he,{children:i.jsx(A,{title:L.getLocalizedStrings().chartCard.no_data_available})}):i.jsx(de,{windowSize:x,"data-testid":$("trend-with-transactions-chart",g),bottomMarginNeeded:!u,children:i.jsx(N,{children:({height:w,width:C})=>i.jsx(i.Fragment,{children:i.jsx(q,{firstMonthOfFY:e,trendReport:m,timeframe:"month",selectedTimePeriod:p===!0?v?.timePeriod:void 0,graphColor:c,onTimeframeSelectionChanged:(Y,O)=>{h?.("Chart",{timeframe:Y,addTimePeriod:O})},width:C,height:w})})})}),m?.insights!=null&&m?.insights.length>0&&i.jsx(se,{ref:z,children:i.jsx(E,{insights:m?.insights})})]})},D=u=>i.jsx(i.Fragment,{children:i.jsx(ae,{firstMonthOfFY:u.firstMonthOfFY,selectedTimePeriod:v?.timePeriod,showSelectedPeriodTags:p,isDetailPage:o,fetchState:t.transactionView?.fetchState??"Not-Started",transactions:t.transactionView?.transactions??[],onTransactionItemClick:f,onLoadPreviousTransactionsClick:y,onSelectedTimePeriodClear:T,onTransactionListHeightChanged:w=>{I(w)}})});return i.jsx(oe,{page:g,isDetailPage:o,children:P===!0?i.jsx(ue,{isDetailPage:o,children:i.jsx(b,{size:"Standard",start:!0})}):i.jsxs(i.Fragment,{children:[i.jsx(Pe,{windowSize:x,report:t,isDetailPage:o,page:g}),i.jsx(me,{windowSize:x,height:(u=>{const w=z.current!=null?z.current.clientHeight:56;return(j===!0?S.emptyTrendChartHeight.value(x):S.trendChartHeight)+(p===!0?S.selectedTimeHeight:0)+w+u})(M),children:o===!0?i.jsxs(i.Fragment,{children:[i.jsx(pe,{children:i.jsx(F,{})}),i.jsx(D,{firstMonthOfFY:e})]}):i.jsxs(i.Fragment,{children:[i.jsx(fe,{page:g,children:i.jsx(F,{})}),i.jsx(xe,{children:i.jsx(D,{firstMonthOfFY:e})})]})})]})})}const Pe=({windowSize:e,report:t,isDetailPage:c,page:o})=>{const d=t.trendReport?.trendReport;if(d==null)return null;const g=d?.balancesKind==="income"?d.customer.name:d.vendor.name,f=L.getLocalizedStrings().reports.trend[d?.balancesKind],h=$("trend-with-transactions-chart-container-title",o);if(c)return i.jsx(ge,{windowSize:e,"data-testid":h,children:f});const P=g+" "+f;return o==="vendorDetailPage"?i.jsx(ce,{windowSize:e,"data-testid":h,children:f}):i.jsx(le,{windowSize:e,"data-testid":h,children:P})};export{ze as R};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as ie,e as ce,_ as Qe,a7 as Ze,g4 as I,he as J,T as Ke,hf as Xe,hg as je,c8 as Ye,V as o,a_ as en,bR as nn,bS as on,bT as tn,A as cn,hh as sn,L as an,a9 as ln,f0 as dn,O as G,hi as _e,x as u,l as rn,o as a,cc as ye,ad as N,ga as oe,hj as te,hk as Z,hl as un,
|
|
1
|
+
import{y as ie,e as ce,_ as Qe,a7 as Ze,g4 as I,he as J,T as Ke,hf as Xe,hg as je,c8 as Ye,V as o,a_ as en,bR as nn,bS as on,bT as tn,A as cn,hh as sn,L as an,a9 as ln,f0 as dn,O as G,hi as _e,x as u,l as rn,o as a,cc as ye,ad as N,ga as oe,hj as te,hk as Z,hl as un,m as r,d as fe,f as Ae,fu as Ve,C as Se,aD as pn}from"./index-BHAcVHeH.js";import{a as K}from"./sentry-CY6wsJT-.js";import{n as s}from"./mui-Cni6P-fz.js";import{Gl as Te,FZ as mn,F_ as gn,cU as xn}from"./zeni-epic-state-cFF_NqwA.js";import{h as hn}from"./VendorsAccountsSection-Drue-Lvz-DQRReXtk.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";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="23fc7027-bc8f-49c7-8af6-e3738e1e515a",e._sentryDebugIdIdentifier="sentry-dbid-23fc7027-bc8f-49c7-8af6-e3738e1e515a")}catch{}})();const $={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},qe={title:new fe("standardMedium","largeMedium")},bn=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
row-gap: ${e=>$.rowGap.valuePx(e.windowSize)};
|
|
@@ -65,7 +65,7 @@ import{y as ie,e as ce,_ as Qe,a7 as Ze,g4 as I,he as J,T as Ke,hf as Xe,hg as j
|
|
|
65
65
|
background-color: ${e=>e.theme.colors.grey5};
|
|
66
66
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
67
67
|
border-radius: ${a.sp2};
|
|
68
|
-
`,X=(e,n)=>`${e}.${n}`;function Pn({sectionId:e,containerRef:n,accountMappingView:t}){const l=ce(),p=ie(),c=G.getLocalizedStrings().uncategorizedAccountsMapping,M=$.labelWidth.value(l),z=t.billPayRecommendation!=null?[t.billPayRecommendation]:[],R=I(t.billPayAccountHierarchy,z,"Accounts"),
|
|
68
|
+
`,X=(e,n)=>`${e}.${n}`;function Pn({sectionId:e,containerRef:n,accountMappingView:t}){const l=ce(),p=ie(),c=G.getLocalizedStrings().uncategorizedAccountsMapping,M=$.labelWidth.value(l),z=t.billPayRecommendation!=null?[t.billPayRecommendation]:[],R=I(t.billPayAccountHierarchy,z,"Accounts"),k=t.billPayRecommendation?.account?.reason??"",O=c.tooltip.replace("__based__",k).replace("__account__",c.billsSection.billPayExpenseAccount),A=t.billPayAccountList.find(h=>h.accountId===t.accountMappingLocalData?.selectedBillPayAccountId),S={valueContainer:h=>({...h,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:d}=ye(),v=p.mode==="light"?new N(p.colors.brandColorJadeLight):new N(p.colors.brandColorJadeDark);return o.jsxs(bn,{windowSize:l,children:[o.jsx(fn,{windowSize:l,children:c.billsSection.heading}),o.jsxs(wn,{windowSize:l,children:[o.jsxs(yn,{windowSize:l,children:[o.jsx(Sn,{windowSize:l,iconColor:v,isDarkMode:p.mode==="dark",children:o.jsx(vn,{})}),o.jsxs(An,{children:[o.jsx(In,{windowSize:l,children:c.billsSection.title}),o.jsx(Rn,{children:c.billsSection.subTitle})]})]}),o.jsx(Cn,{children:o.jsx($n,{windowSize:l,children:o.jsx(oe,{isZeniRecommendsLabel:!0,isLoading:!1,label:{label:c.billsSection.bankChargesAndFeesLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:t.billPayRecommendation!=null,name:X(e,"billPayAccount"),placeholder:c.placeholder.accountPlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:h=>te(h,t.billPayAccountList),defaultValue:{selectedOption:A?.qboId,allOptions:R},style:{border:`1px solid ${p.colors.grey3}`},customStyleConfig:S,registerOptions:{required:!1},menuPortal:n},style:{border:`1px solid ${p.colors.grey3}`,borderRadius:"inherit",borderBottomRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:t.billPayRecommendation!=null?{tooltipProps:{text:O},label:{label:t.billPayRecommendation?.account?.accountName??G.getLocalizedStrings().common.strings.empty},checkBoxField:{name:X(e,"isRecommendedBillPayAccountChecked"),defaultChecked:d(X(e,"isRecommendedBillPayAccountChecked"))}}:void 0},X(e,"billPayAccount"))})})]})]})}const P={labelWidth:new u(120,145,160),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},He={title:new fe("standardMedium","largeMedium")},Ln=s.div`
|
|
69
69
|
display: flex;
|
|
70
70
|
flex-direction: column;
|
|
71
71
|
row-gap: ${e=>P.rowGap.valuePx(e.windowSize)};
|
|
@@ -92,10 +92,10 @@ import{y as ie,e as ce,_ as Qe,a7 as Ze,g4 as I,he as J,T as Ke,hf as Xe,hg as j
|
|
|
92
92
|
margin-right: ${e=>P.elementsMarginLeftRight.valuePx(e.windowSize)};
|
|
93
93
|
margin-top: ${a.sp4};
|
|
94
94
|
margin-bottom: ${a.sp0};
|
|
95
|
-
`,
|
|
95
|
+
`,kn=s.div`
|
|
96
96
|
color: ${e=>e.theme.colors.primary};
|
|
97
97
|
${e=>`${He.title.style(e.windowSize)}`};
|
|
98
|
-
`,
|
|
98
|
+
`,On=s.div`
|
|
99
99
|
display: flex;
|
|
100
100
|
flex-direction: column;
|
|
101
101
|
`,En=s.div`
|
|
@@ -132,7 +132,7 @@ import{y as ie,e as ce,_ as Qe,a7 as Ze,g4 as I,he as J,T as Ke,hf as Xe,hg as j
|
|
|
132
132
|
background-color: ${e=>e.theme.colors.grey5};
|
|
133
133
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
134
134
|
border-radius: ${a.sp2};
|
|
135
|
-
`,Y=(e,n)=>`${e}.${n}`;function _n({sectionId:e,containerRef:n,accountMappingView:t}){const l=ce(),p=ie(),c=G.getLocalizedStrings().uncategorizedAccountsMapping,M=P.labelWidth.value(l),z=t.reimbursementsRecommendation!=null?[t.reimbursementsRecommendation]:[],R=I(t.reimbursementsAccountHierarchy,z,"Accounts"),
|
|
135
|
+
`,Y=(e,n)=>`${e}.${n}`;function _n({sectionId:e,containerRef:n,accountMappingView:t}){const l=ce(),p=ie(),c=G.getLocalizedStrings().uncategorizedAccountsMapping,M=P.labelWidth.value(l),z=t.reimbursementsRecommendation!=null?[t.reimbursementsRecommendation]:[],R=I(t.reimbursementsAccountHierarchy,z,"Accounts"),k=t.reimbursementsRecommendation?.account?.reason??"",O=c.tooltip.replace("__based__",k).replace("__account__",c.reimbursementsSection.reimbursementsExpenseAccount),A=t.reimbursementsAccountList.find(h=>h.accountId===t.accountMappingLocalData?.selectedReimbursementsAccountId),S={valueContainer:h=>({...h,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:d}=ye(),v=p.mode==="light"?new N(p.colors.brandColorJadeLight):new N(p.colors.brandColorJadeDark);return o.jsxs(Ln,{windowSize:l,children:[o.jsx(kn,{windowSize:l,children:c.reimbursementsSection.heading}),o.jsxs(Mn,{windowSize:l,children:[o.jsxs(zn,{windowSize:l,children:[o.jsx(En,{windowSize:l,iconColor:v,isDarkMode:p.mode==="dark",children:o.jsx(Dn,{})}),o.jsxs(On,{children:[o.jsx(jn,{windowSize:l,children:c.reimbursementsSection.title}),o.jsx(Tn,{children:c.reimbursementsSection.subTitle})]})]}),o.jsx(Bn,{children:o.jsx(Fn,{windowSize:l,children:o.jsx(oe,{isZeniRecommendsLabel:!0,isLoading:!1,label:{label:c.reimbursementsSection.mileageLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:t.reimbursementsRecommendation!=null,name:Y(e,"reimbursementsAccount"),placeholder:c.placeholder.accountPlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:h=>te(h,t.reimbursementsAccountList),defaultValue:{selectedOption:A?.qboId,allOptions:R},style:{border:`1px solid ${p.colors.grey3}`},customStyleConfig:S,registerOptions:{required:!1},menuPortal:n},style:{border:`1px solid ${p.colors.grey3}`,borderRadius:"inherit",borderBottomRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:t.reimbursementsRecommendation!=null?{tooltipProps:{text:O},label:{label:t.reimbursementsRecommendation?.account?.accountName??G.getLocalizedStrings().common.strings.empty},checkBoxField:{name:Y(e,"isRecommendedReimbursementsAccountChecked"),defaultChecked:d(Y(e,"isRecommendedReimbursementsAccountChecked"))}}:void 0},Y(e,"reimbursementsAccount"))})})]})]})}const L={labelWidth:new u(120,145,160),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},We={title:new fe("standardMedium","largeMedium")},Vn=s.div`
|
|
136
136
|
display: flex;
|
|
137
137
|
flex-direction: column;
|
|
138
138
|
row-gap: ${e=>L.rowGap.valuePx(e.windowSize)};
|
|
@@ -199,7 +199,7 @@ import{y as ie,e as ce,_ as Qe,a7 as Ze,g4 as I,he as J,T as Ke,hf as Xe,hg as j
|
|
|
199
199
|
background-color: ${e=>e.theme.colors.grey5};
|
|
200
200
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
201
201
|
border-radius: ${a.sp2};
|
|
202
|
-
`,D=(e,n)=>`${e}.${n}`;function Xn({sectionId:e,containerRef:n,accountMappingView:t}){const l=ce(),p=ie(),c=G.getLocalizedStrings().uncategorizedAccountsMapping,M=L.labelWidth.value(l),z=t.incomeRecommendation!=null?[t.incomeRecommendation]:[],R=I(t.incomeAccountHierachy,z),
|
|
202
|
+
`,D=(e,n)=>`${e}.${n}`;function Xn({sectionId:e,containerRef:n,accountMappingView:t}){const l=ce(),p=ie(),c=G.getLocalizedStrings().uncategorizedAccountsMapping,M=L.labelWidth.value(l),z=t.incomeRecommendation!=null?[t.incomeRecommendation]:[],R=I(t.incomeAccountHierachy,z),k=t.expenseRecommendation!=null?[t.expenseRecommendation]:[],O=I(t.expenseAccountHierarchy,k),A=t.incomeRecommendation?.account?.reason??"",S=c.tooltip.replace("__based__",A).replace("__account__",c.uncategorizedSection.incomeAccount),d=t.expenseRecommendation?.account?.reason??"",v=c.tooltip.replace("__based__",d).replace("__account__",c.uncategorizedSection.expenseAccount),h=t.incomeAccountList.find(f=>f.accountId===t.accountMappingLocalData?.selectedIncomeAccountId),E=t.expenseAccountList.find(f=>f.accountId===t.accountMappingLocalData?.selectedExpenseAccountId),B={valueContainer:f=>({...f,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:F}=ye(),V=p.mode==="light"?new N(p.colors.brandColorJadeLight):new N(p.colors.brandColorJadeDark);return o.jsxs(Vn,{windowSize:l,children:[o.jsx(Wn,{windowSize:l,children:c.uncategorizedSection.heading}),o.jsxs(qn,{windowSize:l,children:[o.jsxs(Hn,{windowSize:l,children:[o.jsx(Nn,{windowSize:l,iconColor:V,isDarkMode:p.mode==="dark",children:o.jsx(Qn,{})}),o.jsxs(Gn,{children:[o.jsx(Un,{windowSize:l,children:c.uncategorizedSection.title}),o.jsx(Jn,{children:c.uncategorizedSection.subTitle})]})]}),o.jsx(Zn,{children:o.jsxs(Kn,{windowSize:l,children:[o.jsx(oe,{isLoading:!1,label:{label:c.uncategorizedSection.incomeLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:t.incomeRecommendation!=null,name:D(e,"incomeAccount"),placeholder:c.placeholder.incomePlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:f=>te(f,t.incomeAccountList),defaultValue:{selectedOption:h?.qboId,allOptions:R},style:{width:"100%"},customStyleConfig:B,registerOptions:{required:!1},menuPortal:n},disableCurrentOption:()=>!1,style:{borderBottom:`1px solid ${p.colors.grey3}`,borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:t.incomeRecommendation!=null?{tooltipProps:{text:S},label:{label:t.incomeRecommendation.account?.accountName??""},checkBoxField:{name:D(e,"isRecommendedIncomeAccountChecked"),defaultChecked:F(D(e,"isRecommendedIncomeAccountChecked"))}}:void 0},D(e,"incomeAccount")),o.jsx(oe,{isLoading:!1,label:{label:c.uncategorizedSection.expenseLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:t.expenseRecommendation!=null,name:D(e,"expenseAccount"),placeholder:c.placeholder.expensePlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:f=>te(f,t.expenseAccountList),defaultValue:{selectedOption:E?.qboId,allOptions:O},style:{borderBottom:`1px solid ${p.colors.grey3}`},customStyleConfig:B,registerOptions:{required:!1},menuPortal:n},disableCurrentOption:()=>!1,style:{borderBottom:`1px solid ${p.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:t.expenseRecommendation!=null?{tooltipProps:{text:v},label:{label:t.expenseRecommendation.account?.accountName??""},checkBoxField:{name:D(e,"isRecommendedExpenseAccountChecked"),defaultChecked:F(D(e,"isRecommendedExpenseAccountChecked"))}}:void 0},D(e,"expenseAccount"))]})})]})]})}const Q={titleWidth:new u(343,580,826,1048),setupDetailsRowGap:new u(12,r[5],r[5]),sectionsRowGap:new u(12,r[7],r[7]),subTitlePaddingTop:new u(12,r[3]),subTitlePaddingBottom:new u(r[3],r[3])},{common:m,uncategorizedAccountsMapping:_}=G.getLocalizedStrings(),De="uncategorizedAccountsMappingPage",W="uncategorizedAccountSection",x="filing1099Section",ee="billsAccountSection",ne="reimbursementsAccountSection",Ge="vendorsAccountSection",Yn=s.div`
|
|
203
203
|
display: flex;
|
|
204
204
|
height: 100vh;
|
|
205
205
|
width: 100%;
|
|
@@ -241,4 +241,4 @@ import{y as ie,e as ce,_ as Qe,a7 as Ze,g4 as I,he as J,T as Ke,hf as Xe,hg as j
|
|
|
241
241
|
padding-top: ${e=>Q.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
242
242
|
padding-bottom: ${e=>Q.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
243
243
|
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
244
|
-
`;function yo({currentTenant:e,accountMappingView:n,isFiling1099FeatureEnabled:t,isAccruedExpensesFeatureEnabled:l,meetingUrl:p,isSettings:c=!1,onAccountMappingChange:M,onSaveClick:z,onBackClick:R,onClickMenuIcon:O}){const k=ie(),A=ce(),S=Qe(),[d,v]=K.useState(!1),h=Ze(n.saveState.fetchState),E=K.useRef(null),{incomeRecommendation:B,expenseRecommendation:F,billPayRecommendation:V,reimbursementsRecommendation:f,prepaidExpensesRecommendation:se,fixedAssetsRecommendation:ae,accruedExpensesRecommendation:le}=n,de=B!=null?[B]:[],re=F!=null?[F]:[],ue=V!=null?[V]:[],pe=f!=null?[f]:[],me=se,ge=ae,xe=le,i=I(n.incomeAccountHierachy,de,"Accounts"),U=I(n.expenseAccountHierarchy,re,"Accounts"),he=I(n.billPayAccountHierarchy,ue,"Accounts"),be=I(n.reimbursementsAccountHierarchy,pe,"Accounts"),Ie=I(n.prepaidExpensesAccountHierarchy,me,"Accounts"),Re=I(n.fixedAssetsAccountHierarchy,ge,"Accounts"),ve=I(n.accruedExpensesAccountHierarchy,xe,"Accounts"),Ce=I(n.bankAccounts1099FilingAccountHierarchy,[],"Accounts"),$e=I(n.expenseAccounts1099FilingAccountHierarchy,[],"Categories"),Pe=J(n.expenseTypeList,_.filing1099Section.allExpenseTypes),Le=J(n.expense1099TypeList,_.filing1099Section.all1099Types),we={int:J(n.boxTypesList.int,_.filing1099Section.allBoxes),misc:J(n.boxTypesList.misc,_.filing1099Section.allBoxes),nec:J(n.boxTypesList.nec,_.filing1099Section.allBoxes)},b=Ke({mode:"all",defaultValues:Fe(n,i,U,he,be,Ie,Re,ve,Ce,$e,Pe,Le,we),resetOptions:{keepDirtyValues:!0},values:Fe(n,i,U,he,be,Ie,Re,ve,Ce,$e,Pe,Le,we)}),Ne=b.handleSubmit(j=>{const q=j[x].bankAccount.selectedOptions.length,H=j[x].expenseCategory1099.length,C=q===0&&H===1&&Xe(j[x].expenseCategory1099[0]),T=j[x].expenseCategory1099,g=[];T.forEach((w,y)=>{if(!C){const ze=w.accountId?.selectedOption,Oe=w.expenseType?.selectedOption,ke=w.type1099?.selectedOption,Ee=w.boxType?.selectedOption;(ze==null||ze==="")&&(b.setError(`${x}.expenseCategory1099.${y}.accountId`,{type:"manual",message:"Account ID is required."}),g.push(`${y}.accountId`)),(Oe==null||Oe==="")&&(b.setError(`${x}.expenseCategory1099.${y}.expenseType`,{type:"manual",message:"Expense Type is required."}),g.push(`${y}.expenseType`)),(ke==null||ke==="")&&(b.setError(`${x}.expenseCategory1099.${y}.type1099`,{type:"manual",message:"Type 1099 is required."}),g.push(`${y}.type1099`)),(Ee==null||Ee==="")&&(b.setError(`${x}.expenseCategory1099.${y}.boxType`,{type:"manual",message:"Box Type is required."}),g.push(`${y}.boxType`))}}),g.length===0&&(q>0&&H>1&&je(j[x].expenseCategory1099[0])||q>0&&H===1&&je(j[x].expenseCategory1099[0])||C)&&z(j)});K.useEffect(()=>{h==="In-Progress"&&n.saveState.fetchState==="Completed"&&R?.()},[h,n.saveState.fetchState,R]),K.useEffect(()=>{const j=b.watch((q,{name:H})=>{H!=null&&q!=null&&Ye(()=>(async(C,T)=>{if(C.includes("isRecommendedIncomeAccountChecked")){const g=T[W].isRecommendedIncomeAccountChecked===!0?n.incomeRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousIncomeAccount?.qboId;b.setValue(`${W}.incomeAccount`,{selectedOption:g,allOptions:i},{shouldValidate:!0})}if(C.includes("isRecommendedExpenseAccountChecked")){const g=T[W].isRecommendedExpenseAccountChecked===!0?n.expenseRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousExpenseAccount?.qboId;b.setValue(`${W}.expenseAccount`,{selectedOption:g,allOptions:U},{shouldValidate:!0})}if(C.includes("isRecommendedBillPayAccountChecked")){const g=T[ee].isRecommendedBillPayAccountChecked===!0?n.billPayRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousBillPayAccount?.qboId;b.setValue(`${ee}.billPayAccount`,{selectedOption:g,allOptions:he},{shouldValidate:!0})}if(C.includes("isRecommendedReimbursementsAccountChecked")){const g=T[ne].isRecommendedReimbursementsAccountChecked===!0?n.reimbursementsRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousReimbursementsAccount?.qboId;b.setValue(`${ne}.reimbursementsAccount`,{selectedOption:g,allOptions:be},{shouldValidate:!0})}if(C.includes("filing1099Section.expenseCategory1099")){const g=C.split(".").find(w=>!isNaN(Number(w)));if(g!==void 0){const w=parseInt(g,10),y=T[x].expenseCategory1099[w];y.accountId?.selectedOption!=null&&b.clearErrors(`${x}.expenseCategory1099.${w}.accountId`),y.expenseType?.selectedOption!=null&&b.clearErrors(`${x}.expenseCategory1099.${w}.expenseType`),y.type1099?.selectedOption!=null&&b.clearErrors(`${x}.expenseCategory1099.${w}.type1099`),y.boxType?.selectedOption!=null&&b.clearErrors(`${x}.expenseCategory1099.${w}.boxType`)}}if(C.includes("type1099")){const g=C?.split(".")?.find(w=>!isNaN(Number(w)));if(g!=null){const w=parseInt(g,10),y=T[x].expenseCategory1099[w].type1099?.selectedOption;b.setValue(`${x}.expenseCategory1099.${w}.boxType`,{selectedOption:m.strings.empty,allOptions:_e(y??m.strings.empty,we)},{shouldValidate:!0})}}M(T)})(H,q))});return()=>{j.unsubscribe()}});const Me=()=>n.fetchState==="Completed"&&(n.accountMappingLocalData?.selectedExpenseAccountId!==n.accountMappingLocalData?.previousExpenseAccount?.accountId||n.accountMappingLocalData?.selectedIncomeAccountId!==n.accountMappingLocalData?.previousIncomeAccount?.accountId||n.accountMappingLocalData?.selectedBillPayAccountId!==n.accountMappingLocalData?.previousBillPayAccount?.accountId||n.accountMappingLocalData?.selectedReimbursementsAccountId!==n.accountMappingLocalData?.previousReimbursementsAccount?.accountId||Z(n.accountMappingLocalData?.selectedPrepaidExpensesAccountIds,n.accountMappingLocalData?.previousPrepaidExpensesAccount)||Z(n.accountMappingLocalData?.selectedFixedAssetsAccountIds,n.accountMappingLocalData?.previousFixedAssetsAccount)||Z(n.accountMappingLocalData?.selectedAccruedExpensesAccountIds,n.accountMappingLocalData?.previousAccruedExpensesAccount)||Z(n.accountMappingLocalData?.selectedBankAccounts1099FilingAccountIds,n.accountMappingLocalData?.previousBankAccounts1099FilingAccount)||un(n.accountMappingLocalData?.selectedExpenseAccounts1099FilingAccountIds,n.accountMappingLocalData?.previousExpenseAccounts1099FilingAccount)),Ue=n.fetchState!=="Completed",Je={onOkClick:()=>{v(!1),R?.(),b.reset()},onCancelClick:()=>{v(!1)}};return o.jsxs(Yn,{ref:E,children:[o.jsx(en,{title:c?m.settings.title.accounting:_.title,onBackClick:R,backgroundColor:k.colors.grey4,showBackButton:!c,showMenuIcon:!!c&&(A==="medium-compact"||A==="small"),onClickMenuIcon:O,source:"UncategorizedAccountsMappingPage"}),d===!0?o.jsx(nn,{titleComponent:o.jsx(tn,{children:m.confirmationPopup.discardTitle}),descriptionComponent:o.jsx(on,{children:m.confirmationPopup.discardDescription}),primaryButtonText:m.confirmationPopup.discard,secondaryButtonText:m.confirmationPopup.cancel,action:Je,proceedButtonVariant:"danger"}):null,o.jsxs(eo,{windowSize:A,children:[o.jsx(to,{windowSize:A,children:_.subTitle}),Ue===!1?o.jsx(cn,{...b,children:o.jsx("form",{id:Be(De),onSubmit:Ne,children:o.jsxs(no,{windowSize:A,children:[Te(S.loggedInUserRole??[])?o.jsx(Xn,{sectionId:W,containerRef:E.current,accountMappingView:n}):null,mn(e,S.loggedInUserRoleMap)?o.jsx(Pn,{sectionId:ee,containerRef:E.current,accountMappingView:n}):null,gn(e,S.loggedInUserRoleMap)?o.jsx(_n,{sectionId:ne,containerRef:E.current,accountMappingView:n}):null,Te(S.loggedInUserRole??[])?o.jsx(hn,{sectionId:Ge,vendorAccountMappingSection:{accruedExpensesAccountHierarchy:n.accruedExpensesAccountHierarchy,accruedExpensesAccountList:n.accruedExpensesAccountList,accruedExpensesRecommendations:n.accruedExpensesRecommendation,fixedAssetsAccountHierarchy:n.fixedAssetsAccountHierarchy,fixedAssetsAccountList:n.fixedAssetsAccountList,fixedAssetsRecommendations:n.fixedAssetsRecommendation,prepaidExpensesAccountHierarchy:n.prepaidExpensesAccountHierarchy,prepaidExpensesAccountList:n.prepaidExpensesAccountList,prepaidExpensesRecommendations:n.prepaidExpensesRecommendation,selectedAccruedExpensesAccountIds:n.accountMappingLocalData?.selectedAccruedExpensesAccountIds??[],selectedFixedAssetsAccountIds:n.accountMappingLocalData?.selectedFixedAssetsAccountIds??[],selectedPrepaidExpensesAccountIds:n.accountMappingLocalData?.selectedPrepaidExpensesAccountIds??[]},isAccruedExpensesFeatureEnabled:l}):null,t&&xn(S.loggedInUserRoleMap)?o.jsx(sn,{sectionId:x,accountMappingView:n,containerRef:E.current,isSettingsPage:!0}):null]})})}):o.jsx(oo,{children:o.jsx(an,{size:"ExtraLarge",start:!0})})]}),Me()===!0?o.jsx(ln,{formId:Be(De),primaryBtn:{label:m.footer.save,style:{width:"82px"},isLoading:n.saveState.fetchState==="In-Progress",isDisabled:n.saveState.fetchState==="In-Progress"},cancelBtn:{label:m.footer.cancel,style:{width:"82px"},shouldResetOnCancel:!0,onClick:()=>{v(!0)}}}):null,c?null:o.jsx(dn,{isFooterRendered:Me(),meetingUrl:p})]})}const Be=e=>`${e}_form`,Fe=(e,n,t,l,p,c,M,z,R,O,k,A,S)=>{const{accountMappingLocalData:d,incomeRecommendation:v,expenseRecommendation:h,billPayRecommendation:E,reimbursementsRecommendation:B}=e,F=d?.selectedIncomeAccountId===v?.account?.accountId,V=d?.selectedExpenseAccountId===h?.account?.accountId,f=d?.selectedBillPayAccountId===E?.account?.accountId,se=d?.selectedReimbursementsAccountId===B?.account?.accountId,ae=d?.selectedIncomeAccountId!=null?e.incomeAccountList.find(i=>i.accountId===d.selectedIncomeAccountId):void 0,le=d?.selectedExpenseAccountId!=null?e.expenseAccountList.find(i=>i.accountId===d.selectedExpenseAccountId):void 0,de=d?.selectedBillPayAccountId!=null?e.billPayAccountList.find(i=>i.accountId===d.selectedBillPayAccountId):void 0,re=d?.selectedReimbursementsAccountId!=null?e.reimbursementsAccountList.find(i=>i.accountId===d.selectedReimbursementsAccountId):void 0,ue=d?.selectedPrepaidExpensesAccountIds!=null?e.prepaidExpensesAccountList.filter(i=>d.selectedPrepaidExpensesAccountIds.includes(i.accountId)):[],pe=d?.selectedFixedAssetsAccountIds!=null?e.fixedAssetsAccountList.filter(i=>d.selectedFixedAssetsAccountIds.includes(i.accountId)):[],me=d?.selectedAccruedExpensesAccountIds!=null?e.accruedExpensesAccountList.filter(i=>d.selectedAccruedExpensesAccountIds.includes(i.accountId)):[],ge=d?.selectedBankAccounts1099FilingAccountIds!=null?e.bankAccounts1099FilingAccountList.filter(i=>d.selectedBankAccounts1099FilingAccountIds.includes(i.accountId)):[],xe=d?.selectedExpenseAccounts1099FilingAccountIds!=null?d.selectedExpenseAccounts1099FilingAccountIds.map(i=>({accountId:i.accountId??m.strings.empty,tax1099Config:{expenseType1099:i.expenseType??m.strings.empty,type1099:i.type1099??m.strings.empty,boxType:i.boxType??m.strings.empty}})):[];return{[x]:{bankAccount:{selectedOptions:ge.map(i=>i.qboId).filter(i=>i!=null),allOptions:R},expenseCategory1099:xe.map(i=>({accountId:{selectedOption:e.expenseAccounts1099FilingAccountList.find(U=>U.accountId===i.accountId)?.qboId??m.strings.empty,allOptions:O},expenseType:{selectedOption:i?.tax1099Config?.expenseType1099??m.strings.empty,allOptions:k},type1099:{selectedOption:i?.tax1099Config?.type1099??m.strings.empty,allOptions:A},boxType:{selectedOption:i?.tax1099Config?.boxType??m.strings.empty,allOptions:_e(i?.tax1099Config?.type1099??m.strings.empty,S)}}))},[W]:{incomeAccount:{selectedOption:ae?.qboId,allOptions:n},isRecommendedIncomeAccountChecked:F,expenseAccount:{selectedOption:le?.qboId,allOptions:t},isRecommendedExpenseAccountChecked:V},[ee]:{billPayAccount:{selectedOption:de?.qboId,allOptions:l},isRecommendedBillPayAccountChecked:f},[ne]:{reimbursementsAccount:{selectedOption:re?.qboId,allOptions:p},isRecommendedReimbursementsAccountChecked:se},[Ge]:{prepaidExpensesAccount:{selectedOptions:ue.map(i=>i.qboId).filter(i=>i!=null),allOptions:c},fixedAssetsAccount:{selectedOptions:pe.map(i=>i.qboId).filter(i=>i!=null),allOptions:M},accruedExpensesAccount:{selectedOptions:me.map(i=>i.qboId).filter(i=>i!=null),allOptions:z}}}};export{yo as default};
|
|
244
|
+
`;function yo({currentTenant:e,accountMappingView:n,isFiling1099FeatureEnabled:t,isAccruedExpensesFeatureEnabled:l,meetingUrl:p,isSettings:c=!1,onAccountMappingChange:M,onSaveClick:z,onBackClick:R,onClickMenuIcon:k}){const O=ie(),A=ce(),S=Qe(),[d,v]=K.useState(!1),h=Ze(n.saveState.fetchState),E=K.useRef(null),{incomeRecommendation:B,expenseRecommendation:F,billPayRecommendation:V,reimbursementsRecommendation:f,prepaidExpensesRecommendation:se,fixedAssetsRecommendation:ae,accruedExpensesRecommendation:le}=n,de=B!=null?[B]:[],re=F!=null?[F]:[],ue=V!=null?[V]:[],pe=f!=null?[f]:[],me=se,ge=ae,xe=le,i=I(n.incomeAccountHierachy,de,"Accounts"),U=I(n.expenseAccountHierarchy,re,"Accounts"),he=I(n.billPayAccountHierarchy,ue,"Accounts"),be=I(n.reimbursementsAccountHierarchy,pe,"Accounts"),Ie=I(n.prepaidExpensesAccountHierarchy,me,"Accounts"),Re=I(n.fixedAssetsAccountHierarchy,ge,"Accounts"),ve=I(n.accruedExpensesAccountHierarchy,xe,"Accounts"),Ce=I(n.bankAccounts1099FilingAccountHierarchy,[],"Accounts"),$e=I(n.expenseAccounts1099FilingAccountHierarchy,[],"Categories"),Pe=J(n.expenseTypeList,_.filing1099Section.allExpenseTypes),Le=J(n.expense1099TypeList,_.filing1099Section.all1099Types),we={int:J(n.boxTypesList.int,_.filing1099Section.allBoxes),misc:J(n.boxTypesList.misc,_.filing1099Section.allBoxes),nec:J(n.boxTypesList.nec,_.filing1099Section.allBoxes)},b=Ke({mode:"all",defaultValues:Fe(n,i,U,he,be,Ie,Re,ve,Ce,$e,Pe,Le,we),resetOptions:{keepDirtyValues:!0},values:Fe(n,i,U,he,be,Ie,Re,ve,Ce,$e,Pe,Le,we)}),Ne=b.handleSubmit(j=>{const q=j[x].bankAccount.selectedOptions.length,H=j[x].expenseCategory1099.length,C=q===0&&H===1&&Xe(j[x].expenseCategory1099[0]),T=j[x].expenseCategory1099,g=[];T.forEach((w,y)=>{if(!C){const ze=w.accountId?.selectedOption,ke=w.expenseType?.selectedOption,Oe=w.type1099?.selectedOption,Ee=w.boxType?.selectedOption;(ze==null||ze==="")&&(b.setError(`${x}.expenseCategory1099.${y}.accountId`,{type:"manual",message:"Account ID is required."}),g.push(`${y}.accountId`)),(ke==null||ke==="")&&(b.setError(`${x}.expenseCategory1099.${y}.expenseType`,{type:"manual",message:"Expense Type is required."}),g.push(`${y}.expenseType`)),(Oe==null||Oe==="")&&(b.setError(`${x}.expenseCategory1099.${y}.type1099`,{type:"manual",message:"Type 1099 is required."}),g.push(`${y}.type1099`)),(Ee==null||Ee==="")&&(b.setError(`${x}.expenseCategory1099.${y}.boxType`,{type:"manual",message:"Box Type is required."}),g.push(`${y}.boxType`))}}),g.length===0&&(q>0&&H>1&&je(j[x].expenseCategory1099[0])||q>0&&H===1&&je(j[x].expenseCategory1099[0])||C)&&z(j)});K.useEffect(()=>{h==="In-Progress"&&n.saveState.fetchState==="Completed"&&R?.()},[h,n.saveState.fetchState,R]),K.useEffect(()=>{const j=b.watch((q,{name:H})=>{H!=null&&q!=null&&Ye(()=>(async(C,T)=>{if(C.includes("isRecommendedIncomeAccountChecked")){const g=T[W].isRecommendedIncomeAccountChecked===!0?n.incomeRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousIncomeAccount?.qboId;b.setValue(`${W}.incomeAccount`,{selectedOption:g,allOptions:i},{shouldValidate:!0})}if(C.includes("isRecommendedExpenseAccountChecked")){const g=T[W].isRecommendedExpenseAccountChecked===!0?n.expenseRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousExpenseAccount?.qboId;b.setValue(`${W}.expenseAccount`,{selectedOption:g,allOptions:U},{shouldValidate:!0})}if(C.includes("isRecommendedBillPayAccountChecked")){const g=T[ee].isRecommendedBillPayAccountChecked===!0?n.billPayRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousBillPayAccount?.qboId;b.setValue(`${ee}.billPayAccount`,{selectedOption:g,allOptions:he},{shouldValidate:!0})}if(C.includes("isRecommendedReimbursementsAccountChecked")){const g=T[ne].isRecommendedReimbursementsAccountChecked===!0?n.reimbursementsRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousReimbursementsAccount?.qboId;b.setValue(`${ne}.reimbursementsAccount`,{selectedOption:g,allOptions:be},{shouldValidate:!0})}if(C.includes("filing1099Section.expenseCategory1099")){const g=C.split(".").find(w=>!isNaN(Number(w)));if(g!==void 0){const w=parseInt(g,10),y=T[x].expenseCategory1099[w];y.accountId?.selectedOption!=null&&b.clearErrors(`${x}.expenseCategory1099.${w}.accountId`),y.expenseType?.selectedOption!=null&&b.clearErrors(`${x}.expenseCategory1099.${w}.expenseType`),y.type1099?.selectedOption!=null&&b.clearErrors(`${x}.expenseCategory1099.${w}.type1099`),y.boxType?.selectedOption!=null&&b.clearErrors(`${x}.expenseCategory1099.${w}.boxType`)}}if(C.includes("type1099")){const g=C?.split(".")?.find(w=>!isNaN(Number(w)));if(g!=null){const w=parseInt(g,10),y=T[x].expenseCategory1099[w].type1099?.selectedOption;b.setValue(`${x}.expenseCategory1099.${w}.boxType`,{selectedOption:m.strings.empty,allOptions:_e(y??m.strings.empty,we)},{shouldValidate:!0})}}M(T)})(H,q))});return()=>{j.unsubscribe()}});const Me=()=>n.fetchState==="Completed"&&(n.accountMappingLocalData?.selectedExpenseAccountId!==n.accountMappingLocalData?.previousExpenseAccount?.accountId||n.accountMappingLocalData?.selectedIncomeAccountId!==n.accountMappingLocalData?.previousIncomeAccount?.accountId||n.accountMappingLocalData?.selectedBillPayAccountId!==n.accountMappingLocalData?.previousBillPayAccount?.accountId||n.accountMappingLocalData?.selectedReimbursementsAccountId!==n.accountMappingLocalData?.previousReimbursementsAccount?.accountId||Z(n.accountMappingLocalData?.selectedPrepaidExpensesAccountIds,n.accountMappingLocalData?.previousPrepaidExpensesAccount)||Z(n.accountMappingLocalData?.selectedFixedAssetsAccountIds,n.accountMappingLocalData?.previousFixedAssetsAccount)||Z(n.accountMappingLocalData?.selectedAccruedExpensesAccountIds,n.accountMappingLocalData?.previousAccruedExpensesAccount)||Z(n.accountMappingLocalData?.selectedBankAccounts1099FilingAccountIds,n.accountMappingLocalData?.previousBankAccounts1099FilingAccount)||un(n.accountMappingLocalData?.selectedExpenseAccounts1099FilingAccountIds,n.accountMappingLocalData?.previousExpenseAccounts1099FilingAccount)),Ue=n.fetchState!=="Completed",Je={onOkClick:()=>{v(!1),R?.(),b.reset()},onCancelClick:()=>{v(!1)}};return o.jsxs(Yn,{ref:E,children:[o.jsx(en,{title:c?m.settings.title.accounting:_.title,onBackClick:R,backgroundColor:O.colors.grey4,showBackButton:!c,showMenuIcon:!!c&&(A==="medium-compact"||A==="small"),onClickMenuIcon:k,source:"UncategorizedAccountsMappingPage"}),d===!0?o.jsx(nn,{titleComponent:o.jsx(tn,{children:m.confirmationPopup.discardTitle}),descriptionComponent:o.jsx(on,{children:m.confirmationPopup.discardDescription}),primaryButtonText:m.confirmationPopup.discard,secondaryButtonText:m.confirmationPopup.cancel,action:Je,proceedButtonVariant:"danger"}):null,o.jsxs(eo,{windowSize:A,children:[o.jsx(to,{windowSize:A,children:_.subTitle}),Ue===!1?o.jsx(cn,{...b,children:o.jsx("form",{id:Be(De),onSubmit:Ne,children:o.jsxs(no,{windowSize:A,children:[Te(S.loggedInUserRole??[])?o.jsx(Xn,{sectionId:W,containerRef:E.current,accountMappingView:n}):null,mn(e,S.loggedInUserRoleMap)?o.jsx(Pn,{sectionId:ee,containerRef:E.current,accountMappingView:n}):null,gn(e,S.loggedInUserRoleMap)?o.jsx(_n,{sectionId:ne,containerRef:E.current,accountMappingView:n}):null,Te(S.loggedInUserRole??[])?o.jsx(hn,{sectionId:Ge,vendorAccountMappingSection:{accruedExpensesAccountHierarchy:n.accruedExpensesAccountHierarchy,accruedExpensesAccountList:n.accruedExpensesAccountList,accruedExpensesRecommendations:n.accruedExpensesRecommendation,fixedAssetsAccountHierarchy:n.fixedAssetsAccountHierarchy,fixedAssetsAccountList:n.fixedAssetsAccountList,fixedAssetsRecommendations:n.fixedAssetsRecommendation,prepaidExpensesAccountHierarchy:n.prepaidExpensesAccountHierarchy,prepaidExpensesAccountList:n.prepaidExpensesAccountList,prepaidExpensesRecommendations:n.prepaidExpensesRecommendation,selectedAccruedExpensesAccountIds:n.accountMappingLocalData?.selectedAccruedExpensesAccountIds??[],selectedFixedAssetsAccountIds:n.accountMappingLocalData?.selectedFixedAssetsAccountIds??[],selectedPrepaidExpensesAccountIds:n.accountMappingLocalData?.selectedPrepaidExpensesAccountIds??[]},isAccruedExpensesFeatureEnabled:l}):null,t&&xn(S.loggedInUserRoleMap)?o.jsx(sn,{sectionId:x,accountMappingView:n,containerRef:E.current,isSettingsPage:!0}):null]})})}):o.jsx(oo,{children:o.jsx(an,{size:"ExtraLarge",start:!0})})]}),Me()===!0?o.jsx(ln,{formId:Be(De),primaryBtn:{label:m.footer.save,style:{width:"82px"},isLoading:n.saveState.fetchState==="In-Progress",isDisabled:n.saveState.fetchState==="In-Progress"},cancelBtn:{label:m.footer.cancel,style:{width:"82px"},shouldResetOnCancel:!0,onClick:()=>{v(!0)}}}):null,c?null:o.jsx(dn,{isFooterRendered:Me(),meetingUrl:p})]})}const Be=e=>`${e}_form`,Fe=(e,n,t,l,p,c,M,z,R,k,O,A,S)=>{const{accountMappingLocalData:d,incomeRecommendation:v,expenseRecommendation:h,billPayRecommendation:E,reimbursementsRecommendation:B}=e,F=d?.selectedIncomeAccountId===v?.account?.accountId,V=d?.selectedExpenseAccountId===h?.account?.accountId,f=d?.selectedBillPayAccountId===E?.account?.accountId,se=d?.selectedReimbursementsAccountId===B?.account?.accountId,ae=d?.selectedIncomeAccountId!=null?e.incomeAccountList.find(i=>i.accountId===d.selectedIncomeAccountId):void 0,le=d?.selectedExpenseAccountId!=null?e.expenseAccountList.find(i=>i.accountId===d.selectedExpenseAccountId):void 0,de=d?.selectedBillPayAccountId!=null?e.billPayAccountList.find(i=>i.accountId===d.selectedBillPayAccountId):void 0,re=d?.selectedReimbursementsAccountId!=null?e.reimbursementsAccountList.find(i=>i.accountId===d.selectedReimbursementsAccountId):void 0,ue=d?.selectedPrepaidExpensesAccountIds!=null?e.prepaidExpensesAccountList.filter(i=>d.selectedPrepaidExpensesAccountIds.includes(i.accountId)):[],pe=d?.selectedFixedAssetsAccountIds!=null?e.fixedAssetsAccountList.filter(i=>d.selectedFixedAssetsAccountIds.includes(i.accountId)):[],me=d?.selectedAccruedExpensesAccountIds!=null?e.accruedExpensesAccountList.filter(i=>d.selectedAccruedExpensesAccountIds.includes(i.accountId)):[],ge=d?.selectedBankAccounts1099FilingAccountIds!=null?e.bankAccounts1099FilingAccountList.filter(i=>d.selectedBankAccounts1099FilingAccountIds.includes(i.accountId)):[],xe=d?.selectedExpenseAccounts1099FilingAccountIds!=null?d.selectedExpenseAccounts1099FilingAccountIds.map(i=>({accountId:i.accountId??m.strings.empty,tax1099Config:{expenseType1099:i.expenseType??m.strings.empty,type1099:i.type1099??m.strings.empty,boxType:i.boxType??m.strings.empty}})):[];return{[x]:{bankAccount:{selectedOptions:ge.map(i=>i.qboId).filter(i=>i!=null),allOptions:R},expenseCategory1099:xe.map(i=>({accountId:{selectedOption:e.expenseAccounts1099FilingAccountList.find(U=>U.accountId===i.accountId)?.qboId??m.strings.empty,allOptions:k},expenseType:{selectedOption:i?.tax1099Config?.expenseType1099??m.strings.empty,allOptions:O},type1099:{selectedOption:i?.tax1099Config?.type1099??m.strings.empty,allOptions:A},boxType:{selectedOption:i?.tax1099Config?.boxType??m.strings.empty,allOptions:_e(i?.tax1099Config?.type1099??m.strings.empty,S)}}))},[W]:{incomeAccount:{selectedOption:ae?.qboId,allOptions:n},isRecommendedIncomeAccountChecked:F,expenseAccount:{selectedOption:le?.qboId,allOptions:t},isRecommendedExpenseAccountChecked:V},[ee]:{billPayAccount:{selectedOption:de?.qboId,allOptions:l},isRecommendedBillPayAccountChecked:f},[ne]:{reimbursementsAccount:{selectedOption:re?.qboId,allOptions:p},isRecommendedReimbursementsAccountChecked:se},[Ge]:{prepaidExpensesAccount:{selectedOptions:ue.map(i=>i.qboId).filter(i=>i!=null),allOptions:c},fixedAssetsAccount:{selectedOptions:pe.map(i=>i.qboId).filter(i=>i!=null),allOptions:M},accruedExpensesAccount:{selectedOptions:me.map(i=>i.qboId).filter(i=>i!=null),allOptions:z}}}};export{yo as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a7 as
|
|
1
|
+
import{a7 as b,V as t,hn as _,ho as W,e as T,O,bR as L,z as k,bS as U,bT as z,T as R,A as G,ci as M,cf as D,x as S,cg as H,f as A,k as J,L as K,a as Q,o as i,l as X,m as F,D as Y,au as Z}from"./index-BHAcVHeH.js";import{a as l}from"./sentry-CY6wsJT-.js";import{n as f}from"./mui-Cni6P-fz.js";import{bG as ee,bs as te}from"./zeni-epic-state-cFF_NqwA.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";(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]="551b1aa2-2c04-4aee-8739-58cf660e01b2",e._sentryDebugIdIdentifier="sentry-dbid-551b1aa2-2c04-4aee-8739-58cf660e01b2")}catch{}})();const x={labelWidth:new S(152,176,176),smallLabelWidth:new S(92,110,110),paddingBottom:new S(F[3],F[2]),width:new S(300,420,420)},ie=f.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -16,7 +16,7 @@ import{a7 as S,V as t,hn as _,ho as W,e as T,O,bR as L,b as k,bS as U,bT as z,T
|
|
|
16
16
|
color: ${e=>e.theme.colors.hero};
|
|
17
17
|
padding: 9px;
|
|
18
18
|
margin: ${e=>e.windowSize==="small"?`${i.sp0} ${i.sp3} ${i.sp7} ${i.sp3}`:`${i.sp0} ${i.sp8} ${i.sp7} ${i.sp8}`};
|
|
19
|
-
`,ne=({isBillPayAdminLevelAccess:e,acceptUpdatedTOSFetchState:r,onBackClick:n,onAcceptUpdatedTOS:o})=>{const d=T(),s=O.getLocalizedStrings().commonSetUp,c=e===!0?s.twoFactorAuthentication.termsUpdated:s.twoFactorAuthentication.accessRestricted,h=e===!0?"":s.twoFactorAuthentication.description;return t.jsx(L,{titleComponent:t.jsx(z,{children:c}),descriptionComponent:t.jsx(U,{children:h}),primaryButtonText:e===!0?s.twoFactorAuthentication.iAgree:s.twoFactorAuthentication.understood,isLoading:r?.fetchState==="In-Progress",isEditPopup:!0,action:{onOkClick:()=>{e===!0?o?.():n?.()}},primaryButtonWidth:e===!1?116:void 0,secondaryButtonWidth:e===!1?116:void 0,children:e===!0?t.jsxs(ae,{windowSize:d,children:[s.businessVerification.terms.term6,t.jsx(k,{href:s.businessVerification.terms.consentUrl,linkText:s.businessVerification.terms.consent}),s.businessVerification.terms.term2,t.jsx(k,{href:s.businessVerification.terms.depositUrl,linkText:s.businessVerification.terms.depositTerms}),s.businessVerification.terms.term3,t.jsx(k,{href:s.businessVerification.terms.privacyPolicyUrl,linkText:s.businessVerification.terms.privacy}),s.businessVerification.terms.term4,t.jsx(k,{href:s.businessVerification.terms.tosUrl,linkText:s.businessVerification.terms.tos}),s.businessVerification.terms.term5]}):null})},B={largeWidth:new
|
|
19
|
+
`,ne=({isBillPayAdminLevelAccess:e,acceptUpdatedTOSFetchState:r,onBackClick:n,onAcceptUpdatedTOS:o})=>{const d=T(),s=O.getLocalizedStrings().commonSetUp,c=e===!0?s.twoFactorAuthentication.termsUpdated:s.twoFactorAuthentication.accessRestricted,h=e===!0?"":s.twoFactorAuthentication.description;return t.jsx(L,{titleComponent:t.jsx(z,{children:c}),descriptionComponent:t.jsx(U,{children:h}),primaryButtonText:e===!0?s.twoFactorAuthentication.iAgree:s.twoFactorAuthentication.understood,isLoading:r?.fetchState==="In-Progress",isEditPopup:!0,action:{onOkClick:()=>{e===!0?o?.():n?.()}},primaryButtonWidth:e===!1?116:void 0,secondaryButtonWidth:e===!1?116:void 0,children:e===!0?t.jsxs(ae,{windowSize:d,children:[s.businessVerification.terms.term6,t.jsx(k,{href:s.businessVerification.terms.consentUrl,linkText:s.businessVerification.terms.consent}),s.businessVerification.terms.term2,t.jsx(k,{href:s.businessVerification.terms.depositUrl,linkText:s.businessVerification.terms.depositTerms}),s.businessVerification.terms.term3,t.jsx(k,{href:s.businessVerification.terms.privacyPolicyUrl,linkText:s.businessVerification.terms.privacy}),s.businessVerification.terms.term4,t.jsx(k,{href:s.businessVerification.terms.tosUrl,linkText:s.businessVerification.terms.tos}),s.businessVerification.terms.term5]}):null})},B={largeWidth:new S(343,544,544),height:new S(366,366,366)},re=f.div`
|
|
20
20
|
position: fixed;
|
|
21
21
|
top: 0;
|
|
22
22
|
left: 0;
|
|
@@ -64,4 +64,4 @@ import{a7 as S,V as t,hn as _,ho as W,e as T,O,bR as L,b as k,bS as U,bT as z,T
|
|
|
64
64
|
padding-top: ${i.sp3};
|
|
65
65
|
position: absolute;
|
|
66
66
|
bottom: 0;
|
|
67
|
-
`;function pe(e){const r=T(),n=O.getLocalizedStrings().commonSetUp.twoFactorAuthentication,o=e.businessVerificationSubmitState!=="In-Progress"&&(e.businessVerificationSubmitState==="Error"||e.businessVerificationStatus==="require_info"||e.businessVerificationStatus==null),d=o===!0?n.verificationFailed:n.verificationInProgress,s=o===!0?n.verificationError:e.businessVerificationSubmitState==="In-Progress"?"":n.submissionSuccessful,c=o?n.goToSettings:n.understood;return t.jsx(re,{windowSize:r,role:"presentation",style:{background:A.overlayDark,...e.style},children:t.jsx(J,{onClickAway:()=>e.action.onCancelClick?.(),children:t.jsxs(ce,{windowSize:r,isEditPopup:!1,children:[t.jsx(le,{isError:o,children:d}),s!==""?t.jsx(de,{children:s}):null,e.businessVerificationSubmitState==="In-Progress"?t.jsx(K,{size:"Standard",start:!0,style:{marginTop:84}}):null,e.businessVerificationSubmitState!=="In-Progress"?t.jsxs(t.Fragment,{children:[t.jsx(ue,{}),t.jsx(E,{children:t.jsx(Q,{variant:e.proceedButtonVariant??"primary",label:c,onClick:()=>{o?e.action.onNavigateToSettings():e.action.onBackClick()},style:{width:134,whiteSpace:"nowrap"},loading:e.isLoading})})]}):t.jsx(E,{})]})})})}const Ce=e=>{const{isUnitMigrationTOSRequired:r,isUnitMigrationRequired:n,officer:o,setupDetailsFetchState:d,onVerifyOtpSuccess:s}=e,c=
|
|
67
|
+
`;function pe(e){const r=T(),n=O.getLocalizedStrings().commonSetUp.twoFactorAuthentication,o=e.businessVerificationSubmitState!=="In-Progress"&&(e.businessVerificationSubmitState==="Error"||e.businessVerificationStatus==="require_info"||e.businessVerificationStatus==null),d=o===!0?n.verificationFailed:n.verificationInProgress,s=o===!0?n.verificationError:e.businessVerificationSubmitState==="In-Progress"?"":n.submissionSuccessful,c=o?n.goToSettings:n.understood;return t.jsx(re,{windowSize:r,role:"presentation",style:{background:A.overlayDark,...e.style},children:t.jsx(J,{onClickAway:()=>e.action.onCancelClick?.(),children:t.jsxs(ce,{windowSize:r,isEditPopup:!1,children:[t.jsx(le,{isError:o,children:d}),s!==""?t.jsx(de,{children:s}):null,e.businessVerificationSubmitState==="In-Progress"?t.jsx(K,{size:"Standard",start:!0,style:{marginTop:84}}):null,e.businessVerificationSubmitState!=="In-Progress"?t.jsxs(t.Fragment,{children:[t.jsx(ue,{}),t.jsx(E,{children:t.jsx(Q,{variant:e.proceedButtonVariant??"primary",label:c,onClick:()=>{o?e.action.onNavigateToSettings():e.action.onBackClick()},style:{width:134,whiteSpace:"nowrap"},loading:e.isLoading})})]}):t.jsx(E,{})]})})})}const Ce=e=>{const{isUnitMigrationTOSRequired:r,isUnitMigrationRequired:n,officer:o,setupDetailsFetchState:d,onVerifyOtpSuccess:s}=e,c=b(e.setupDetailsFetchState),h=b(e.acceptUpdatedTOSFetchState.fetchState),u=b(o?.otpverificationStatus?.fetchState),w=b(e.businessVerificationSubmitState),V=b(e.businessVerificationStatus),p=b(e.officer?.sendOtpStatus.fetchState),[I,g]=l.useState(r===!0),[y,m]=l.useState(e.isListPage&&d==="Completed"&&(e.businessVerificationStatus==null||e.businessVerificationStatus==="pending_review"||e.businessVerificationStatus==="require_info")),[v,a]=l.useState(o?.isPhoneVerified===!1),[C,$]=l.useState(!1),[N,j]=l.useState(e.isNewCompanyIndustryVerified!==!0||e.incDate==null);return l.useEffect(()=>{h==="In-Progress"&&e.acceptUpdatedTOSFetchState?.fetchState==="Completed"&&(o?.isPhoneVerified===!1?a(!0):(e.isNewCompanyIndustryVerified!==!0||e.incDate==null)&&j(!0),g(!1))},[h,e.acceptUpdatedTOSFetchState,o,e.isNewCompanyIndustryVerified,e.incDate]),l.useEffect(()=>{u==="In-Progress"&&o?.otpverificationStatus?.fetchState==="Completed"&&(s?.(o?.officerType,o?.phone+""),e.isNewCompanyIndustryVerified!==!0||e.incDate==null?j(!0):m(!0),$(!1))},[u,s,o,e.isNewCompanyIndustryVerified,e.incDate]),l.useEffect(()=>{!e.isListPage&&w==="In-Progress"&&(e.businessVerificationSubmitState==="Completed"||e.businessVerificationSubmitState==="Error")&&m(!1)},[w,e.businessVerificationSubmitState,e.isListPage]),l.useEffect(()=>{V==="pending_review"&&e.businessVerificationStatus==="verified"&&m(!1)},[V,e.businessVerificationStatus]),l.useEffect(()=>{c==="In-Progress"&&d==="Completed"&&(o?.isPhoneVerified===!1&&a(!0),e.isListPage&&(e.businessVerificationStatus==null||e.businessVerificationStatus==="pending_review"||e.businessVerificationStatus==="require_info")&&m(!0))},[c,d,o,e.businessVerificationStatus,e.isListPage]),l.useEffect(()=>{p==="In-Progress"&&e.officer?.sendOtpStatus.fetchState==="Completed"&&($(!0),a(!1))},[p,e.officer?.sendOtpStatus]),t.jsx(t.Fragment,{children:I===!0?t.jsx(ne,{...e}):n===!0&&C===!0?t.jsx(_,{showHelperText:!0,verifyOtpFetchState:e.officer?.otpverificationStatus.fetchState??"Not-Started",phoneNumber:e.officer?.phone??"",otpChallenge:e.officer?.otpChallenge,action:{onVerifyClick:e.onVerifyOtp,onCancelClick:()=>e.onBackClick(),onResendOtp:e.onResendOtp,onEditButtonClick:()=>{a(!0),$(!1)}}}):n===!0&&v===!0?t.jsx(W,{showHelperText:!0,phoneNumber:e.officer?.phone??"",sendOtpFetchState:e.officer?.sendOtpStatus.fetchState??"Not-Started",action:{onCancelClick:e.onBackClick,onGetCodeClick:P=>e.onGetOtp?.(P,e.officer?.officerType)}}):n===!0&&N===!0?t.jsx(oe,{incDate:e.incDate,allIndustries:e.allIndustries??[],selectedIndustry:e.companyIndustry,saveDetailsFetchState:e.companyDetailsSaveState,onCancel:e.onBackClick,onSubmitBusinessInfo:(P,q)=>{e.officer!=null&&m(!0),e.onSubmitBusinessInfo?.(P,q,o?.officerType),j(!1)}}):y===!0?t.jsx(pe,{businessVerificationStatus:e.businessVerificationStatus,businessVerificationSubmitState:e.businessVerificationSubmitState,action:{onNavigateToSettings:e.onNavigateToSettings,onBackClick:e.onBackClick}}):null})};export{Ce as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{T as M,f1 as g,a7 as W,e as q,O as A,c8 as G,V as i,A as H,
|
|
1
|
+
import{T as M,f1 as g,a7 as W,e as q,O as A,c8 as G,V as i,A as H,b as J,f2 as K,o as a,f as Q,cj as X,a9 as Y,x as y,a8 as Z,c2 as ee,au as te,at as ie,m as d}from"./index-BHAcVHeH.js";import{a as c}from"./sentry-CY6wsJT-.js";import{n as o}from"./mui-Cni6P-fz.js";import{F6 as ae}from"./zeni-epic-state-cFF_NqwA.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="d42f3c16-2b65-4116-8879-6322dba96ccf",e._sentryDebugIdIdentifier="sentry-dbid-d42f3c16-2b65-4116-8879-6322dba96ccf")}catch{}})();const b={marginRight:new y(d[3],d[8]),marginLeft:new y(d[3],d[8]),height:new y(d[5],62)},f="additionalDocumentsForm",s="ssnCard";function ge(e){const{filesEndPoint:m,authParams:x,companyOfficer:t,updateStatus:u,onClose:F,onEditFileName:v,onDeleteFile:E,updateFilesEntity:P,onSendForVerificationClick:z,onCompanyOfficerUpdated:C}=e,l=M({mode:"all",reValidateMode:"onChange",defaultValues:c.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[T,S]=c.useState(!1),[N,O]=c.useState(!1),$=W(u.fetchState),w=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},V=Object.values(w??{}).filter(r=>r!=null),L=ae(V);c.useEffect(()=>{$==="In-Progress"&&u.fetchState==="Completed"&&l.reset({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}})},[$,u,l,t?.additionalFiles]);const n=q(),p=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:h}=p,_=`${h.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,k=l.handleSubmit(()=>{L.fetchState!=="In-Progress"&&z?.(t?.officerType??"Officer_1")});return c.useEffect(()=>{const r=l.watch((j,{name:I})=>{I!=null&&j!=null&&G(()=>(async(R,U)=>{const D=U[f].front;R.includes("front")&&D?.fileId!=null?(C?.(t?.officerType??"Officer_1",[D?.fileId]),S(!0)):S(!1)})(I,j))});return()=>{r.unsubscribe()}}),i.jsx(H,{...l,children:i.jsxs("form",{id:f,onSubmit:k,children:[i.jsxs(ce,{size:n,children:[i.jsx(re,{size:n,children:i.jsx(de,{size:n,onClick:F,"data-testid":J("upload-additional-documents-close",f)})}),i.jsxs(fe,{children:[i.jsx(se,{children:h.title[s]}),i.jsx(oe,{children:h.description[s]})]}),i.jsx(ne,{children:i.jsx(le,{children:_})}),i.jsx(K,{name:f,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:X,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${Q.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:g(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:w,updateFileStatusById:B,filesEndPoint:m,authParams:x,hasError:N,onEditFileName:v,onDeleteFile:E,updateFilesEntity:P,onFileSizeError:r=>O(r),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),T?i.jsx(Y,{formId:f,primaryBtn:{label:p.sendForVerificationButton,style:{width:"auto",minWidth:n==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"},cancelBtn:{label:p.cancel,style:{width:n==="small"?"auto":"181px"},onClick:F},style:{position:"absolute",width:"100%"}}):null]})})}const se=o(ee)`
|
|
2
2
|
margin-top: 19px;
|
|
3
3
|
color: ${e=>e.theme.colors.primary};
|
|
4
4
|
margin-bottom: ${a.sp2};
|