@zeniai/web-app-ui 4.14.28-qa → 4.14.29-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-URcYg-_E-Cgyaw_bU.js → ACHDetailsPage-DdI8Zlpr-DP3Ijrzf.js} +6 -6
- package/dist/assets/{AIPerformancePage-VILPvNCr-Cwwj6J5d.js → AIPerformancePage-BCxF5hNI-DwsSzcsx.js} +15 -15
- package/dist/assets/AccountInfoPage-D_PrQwlp-DcHjYUET.js +18 -0
- package/dist/assets/{AccountInfoPageContent-g_X840C3-qxu9MQ5W.js → AccountInfoPageContent-jLGn4-UA-BlSpfvCV.js} +7 -7
- package/dist/assets/{AccountLockedInfoModal-DDNvWMEQ-C_ICPJ-z.js → AccountLockedInfoModal-CKODwo_y-D1V0TVL_.js} +8 -8
- package/dist/assets/{AccountReconDetailsDrawerPage-CydLoK6D-CMDZeEvJ.js → AccountReconDetailsDrawerPage-B2m7w0mL-C5Y15orT.js} +17 -17
- package/dist/assets/AccountRow-G9Hw9KCo-CT1w9ZhF.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-D8mOW1Wp-BglIlica.js → AccountsPromoCardStack-C1-hQWvB-BQ8MpMFD.js} +17 -17
- package/dist/assets/AddAddressForCardDrawer-Dd-0o1b--B4hUfY9b.js +6 -0
- package/dist/assets/{AddToWalletPage-BMCgd2A5-jP1yYMeJ.js → AddToWalletPage-BLdfTvYw-1DCwK82d.js} +15 -15
- package/dist/assets/AddressRoutes-BQkJFfvp.js +1 -0
- package/dist/assets/AddressScreen-Dl895CZ9.js +9 -0
- package/dist/assets/{AgingReportsPage-BL_aBNzL-BMEhVDXZ.js → AgingReportsPage-C6aasTzQ-C63SyJmI.js} +7 -7
- package/dist/assets/AiCfoScreen-IdwAAJXG.js +11 -0
- package/dist/assets/{AllUserItems-b0wgd0Wz-CZ891kMU.js → AllUserItems-CjeF5SWi-CeRsiH4z.js} +13 -13
- package/dist/assets/{ApAgingDetailPage-CD2EkZkg-CoiRS4ai.js → ApAgingDetailPage-BWtvu1dO-Br56Wlkb.js} +4 -4
- package/dist/assets/AppBasePage-MKRsDpmx-DMLcxkrr.js +71 -0
- package/dist/assets/AppDrawerContent-DN2hf6ff-5NhbUBos.js +92 -0
- package/dist/assets/ApprovalRulesSettingsPage-0XbPzs2a-C8UoHZRv.js +47 -0
- package/dist/assets/ArAgingChart-DSx_E9ZM-RnIrRkZm.js +24 -0
- package/dist/assets/ArAgingDetailPage-C8h1id5v-HwBRgj9f.js +46 -0
- package/dist/assets/{AttachmentView-ENg9Osic-CFLP9uHu.js → AttachmentView-CqKnI6Xt-AOGCu7iZ.js} +7 -7
- package/dist/assets/BalancesInsightWithToolTip-CSaW4oJh-DywAYbnn.js +38 -0
- package/dist/assets/{BankAccountSection-oL-aN0I_-tuaETO0_.js → BankAccountSection-Dhp7GLZA-FNVqovjK.js} +5 -5
- package/dist/assets/BankAccountWarningSection-C_OfdR1O-BMVJxE-j.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-B848OGHq-DAs4lJR2.js → BankConnectionsSettingsPage-CDPUFu2k-BBx4P7dZ.js} +21 -21
- package/dist/assets/BillDetailPage-BWBGE0pg-CYoOWtCP.js +266 -0
- package/dist/assets/{BillPayApprovalRoutes-BHVZ8537.js → BillPayApprovalRoutes-BvnC9SqN.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-DtAj6RxA-C9r_i-YB.js → BillPayApprovalRuleDetailPage-B_XoB7xi-CXJBKdTH.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-DLHvMgeY-C_BMrvHA.js → BillPayApprovalRulesPage-5okdFn01-D6fpe4cT.js} +12 -12
- package/dist/assets/{BillPayPromoPage-DQJAZi1a-BdT-embc.js → BillPayPromoPage-GoR4wxn7-Cd3jtttJ.js} +11 -11
- package/dist/assets/{BillPayRoutes-CTbVCMt9.js → BillPayRoutes-DqZf2rOO.js} +13 -13
- package/dist/assets/BillPaySetUpPage-CKWIFJ92-Dr75QuFi.js +42 -0
- package/dist/assets/{BillingSettingsPage-Cfe4Vmza-13uWqRc_.js → BillingSettingsPage-AjSQYumd-GqgYiFI4.js} +10 -10
- package/dist/assets/{BillsBulkReviewDrawerPage-7y9q0HF_-ClMItAU3.js → BillsBulkReviewDrawerPage-DsNKfhkT-CXzE-Qir.js} +1 -1
- package/dist/assets/{BoxItem-CTEOx6Nh-BFlNqqzJ.js → BoxItem-BWNurtfc-J9WJ61G4.js} +3 -3
- package/dist/assets/BusinessVerificationPage-DN88j0Rn-DzH0PVhP.js +138 -0
- package/dist/assets/BusinessVerificationPageScreen-CJ17INUy.js +9 -0
- package/dist/assets/BusyIndication-H_iNZOWd-BNmJKxof.js +9 -0
- package/dist/assets/{CardNumberSubText-DijJqFXC-CsY-4Pix.js → CardNumberSubText-BAWc12F9-CekGLfjU.js} +5 -5
- package/dist/assets/{CashbackDetailPage-BxIWU0z2-SGhDWItl.js → CashbackDetailPage-BhCHvGxj-nllESilf.js} +21 -21
- package/dist/assets/{ChargeCardDetailPage-ClyQPqJf-DiYand-n.js → ChargeCardDetailPage-D9-V0pjZ-CTp6LwRI.js} +64 -64
- package/dist/assets/{ChargeCardListPage-CYhY6c52-By-D4GaU.js → ChargeCardListPage-CZFi8l0_-CO-jS4Wx.js} +21 -21
- package/dist/assets/ChargeCardListTable-DiJUp9-c-hw3gHlrw.js +711 -0
- package/dist/assets/{ChargeCardPaymentHistoryPage-wt6arCEL-mnUI1wBw.js → ChargeCardPaymentHistoryPage-CW9gtO0w-oF9Kbl5Z.js} +11 -11
- package/dist/assets/ChargeCardPromoPage-CiZDV925-B7JK6cJL.js +222 -0
- package/dist/assets/{ChargeCardRoutes-CnifKuME.js → ChargeCardRoutes-BumOjc7r.js} +12 -12
- package/dist/assets/{ChargeCardSetupPage-C59WR7nm-B7_BDfgy.js → ChargeCardSetupPage-C5jXY5P--Da4gT9DT.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-DF5rt4B5-BSFQBDIJ.js → ChargeCardStatementsPage-CetLgQ8l-CHHBhChm.js} +3 -3
- package/dist/assets/CheckDepositDrawerPage-BYfqgSGk-58W0gPrS.js +206 -0
- package/dist/assets/CollapsableReportTable-BhbPzkAB-C83Y_pXv.js +2972 -0
- package/dist/assets/{CompanyOfficerDetailsSection-BNSHkrC4-BohcManJ.js → CompanyOfficerDetailsSection-CMcuDe-X-CNo7Ot8a.js} +34 -34
- package/dist/assets/CompanyPassportCard-DImW2Dm8-pP6x_qCR.js +42 -0
- package/dist/assets/{CompanyPassportPage-DqhT6YL_-9fmBJGak.js → CompanyPassportPage-DT2W9QE1-DJLwOOR3.js} +18 -18
- package/dist/assets/{CompanyPassportScreen-CRe5P-th.js → CompanyPassportScreen-Ckk3Aa0n.js} +1 -1
- package/dist/assets/{CompleteProfile-DdA-FkwG-BiHuwAkX.js → CompleteProfile-BOabRQRQ-Cdf3T9vg.js} +1 -1
- package/dist/assets/ConfettiBurst-Ix0vYpu--B-yjeAz3.js +1 -0
- package/dist/assets/ConnectionAuthScreen-CJIuvxwT.js +11 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-KpARPyfe.js → ConstrainedInnerElement-CgdnMeoA-CUV-Iost.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CODInbfe-DiFVD6Qj.js → CreateOrEditVendorPage-D86akQ-H-a9byVQeU.js} +21 -21
- package/dist/assets/{CreditCardPaymentDrawerPage-DZNUIDa0-Bhxy7Srv.js → CreditCardPaymentDrawerPage-MS34Pxyw-S-FNpO-K.js} +21 -21
- package/dist/assets/CurrencySelectField-BsuzTGXR-DG4V_Nis.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-CBlyvq0r-DsKfu_6g.js → CustomerOnboardingActivationPage-BP-GIrmI-cXKCGBAv.js} +5 -5
- package/dist/assets/CustomerOnboardingAuthScreen-C_Q_XIl1.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-D4BMPshV-BEJOCQX6.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CIhb8Zvx-D-qu4kro.js → CustomerOnboardingDetailPageSkeleton-CISAUodZ-DSVMFFq4.js} +9 -9
- package/dist/assets/CustomerOnboardingNoStepsPage-DgMQ5prq-DEUVMq4v.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-BJGDpI-d-z5jUKu6P.js → CustomerOnboardingPage-QvCZDMFw-pwPfUUii.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-DmgQGvpp-MaxHOFlf.js → CustomerOnboardingProductSuitePage-Bt1cV23--C-IqxjRL.js} +6 -6
- package/dist/assets/CustomerOnboardingRoutes-GPk7JXLd.js +23 -0
- package/dist/assets/{Dashboard-Cvmg-DzK-B4C3yfRb.js → Dashboard-DdAePVSx-CyfCOyra.js} +26 -26
- package/dist/assets/{DashboardReportPage-C7bT-gmW-CnABTNc-.js → DashboardReportPage-ccn0JYfk-DfPZgIh7.js} +40 -40
- package/dist/assets/DashboardRoutes-DbCVxvoA.js +21 -0
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CcTStx9W-PqRgrLcG.js → DashboardSidebarBackgroundAnimation-DPDd6e7b-ClZHrJ6l.js} +1 -1
- package/dist/assets/{DefaultTenantHome-Cnbh-hLO.js → DefaultTenantHome-DnjlKX8o.js} +1 -1
- package/dist/assets/DepositAccTransactionItem-BijpyBiZ-CNN7AUw4.js +76 -0
- package/dist/assets/DepositAccTransactionListPage-DOuU7gGT-CxNst2Ko.js +66 -0
- package/dist/assets/DomesticWireDetailScreen-CMHXbUdU.js +18 -0
- package/dist/assets/DomesticWireDetailsPage-B10Vx6K5-BgPOj6ev.js +21 -0
- package/dist/assets/DownloadOverlay-BiIbEvq6-DkggD5hU.js +439 -0
- package/dist/assets/{DrawerPage-DGuh6P-6-vbiOWCGQ.js → DrawerPage-4aE01eRo-CbGkLlgW.js} +14 -14
- package/dist/assets/DrawerScreen-Bqlol_ka.js +1 -0
- package/dist/assets/EditPeoplePage-BWjOJqch-DMjcjWgK.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-Dcw8QlH6-CKpHH0Rb.js +865 -0
- package/dist/assets/{EntityDetailPage-BbeHCNGS-D-w0bQjx.js → EntityDetailPage-DseDMalq-D030AWbJ.js} +1 -1
- package/dist/assets/EntityDetailRoutes-DKPg6KvF.js +1 -0
- package/dist/assets/{EntitySummarySection-BgjWn9vX-LOppYcen.js → EntitySummarySection-D1o-WKT9-B4D8PhFo.js} +26 -26
- package/dist/assets/{ExpenseAutomationOverviewPage-V2cvYWxH-DgccKeRs.js → ExpenseAutomationOverviewPage-BIGlSzsy-DDeWTiVS.js} +52 -52
- package/dist/assets/ExpenseAutomationPage-BUARFwSx-BgUO5pJv.js +3614 -0
- package/dist/assets/ExpenseAutomationRoutes-CFAuM0iq.js +20 -0
- package/dist/assets/{ExpressPayPage-5VdASApP-Bbb90acR.js → ExpressPayPage-BKpxo5VW-BeZ2tWeR.js} +14 -14
- package/dist/assets/{FeaturePreviewPage-CA_fxOHn-lBAw00-n.js → FeaturePreviewPage-CfqYjofS-Dw_fXJXh.js} +2 -2
- package/dist/assets/FeaturePreviewScreen-Ctx49exK.js +1 -0
- package/dist/assets/{FollowStepsSection-CTSjTKjT-CfO_mWmk.js → FollowStepsSection-CJzIGe2N-q0pn7uac.js} +11 -11
- package/dist/assets/GlobalReviewListPage-B4qWm75N-BekP71Yj.js +291 -0
- package/dist/assets/{InformationCardStack-D_Z7Ebe0-CdzcV8l3.js → InformationCardStack-BXWxFJnm-DZneOpmz.js} +3 -3
- package/dist/assets/InsightsCardStack-iUppdWya-IGcayZ6m.js +79 -0
- package/dist/assets/InsightsSection-CPg_uo3H-DaY57Nkj.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-4OV7HFwe-BkdxTWi0.js → IntegrationsSettingsPage-DthkTtT9-BfWjdmm5.js} +5 -5
- package/dist/assets/{InternationalWireSwiftDetailsPage-B1nvNamF-D8dvELa5.js → InternationalWireSwiftDetailsPage-hYeFGjj4-De4TNLmU.js} +19 -19
- package/dist/assets/InternationalWireVerificationPage-0TZuCAzZ-DstpGM2q.js +65 -0
- package/dist/assets/{InviteFormPage-C5mS-6c8-B0IN7EaK.js → InviteFormPage-BC1PH63r-DAB3gVVK.js} +7 -7
- package/dist/assets/{InvitePageListView-Yj83_lDA-CRdOQu_U.js → InvitePageListView-BJDfCvno-Sk3rc3V-.js} +65 -65
- package/dist/assets/InvitePeoplePage-Bl-WUfXO-DagADS45.js +12 -0
- package/dist/assets/InvoiceUploadSection-BgVvYytR-DjoTneQr.js +140 -0
- package/dist/assets/{IssueChargeCardPage-BIOTVOMR-v1cJqLjo.js → IssueChargeCardPage-0JEZpfCu-DLK0riSj.js} +29 -29
- package/dist/assets/{LabeledAddressValue-Bb1x9jR--BEbVa18t.js → LabeledAddressValue-BCsadhSu-lscFDQOa.js} +2 -2
- package/dist/assets/LabeledAddressValueField-D-AO8-Me-DR8Qyzx1.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-Do7rlK6F-CTyXPdV4.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-LeubJT8b-COwPVYGE.js → LabeledCountryMultiSelectField-BHwXHYPO-CYnRn6eD.js} +4 -4
- package/dist/assets/{LabeledCreatableSingleSelectField-CzrPLo-T-Cy0xU_nR.js → LabeledCreatableSingleSelectField-gMUp1tXY-y1kl4nd-.js} +7 -7
- package/dist/assets/LabeledDocumentField-DxUq-7nr-DAyGmAsR.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-D51ly333-CZ2VlJWO.js +59 -0
- package/dist/assets/{LabeledEmailInputField-BOEHGgHy-BnfP78Li.js → LabeledEmailInputField-Cd9p7Kj0-DZf49c8n.js} +11 -11
- package/dist/assets/{LabeledNameField-DWKoivcI-CNclT5Xy.js → LabeledNameField-364jsrFK-CaN5hIDf.js} +5 -5
- package/dist/assets/{LabeledSingleSelectField-BkGsnV9P-DEP7xmaE.js → LabeledSingleSelectField-B3pMIEfZ-C8i8zlDG.js} +3 -3
- package/dist/assets/LabeledText-uFTi1qOo-Dh31QRqg.js +42 -0
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BTo_s8x5-BHV3CQzI.js → LabeledUserSingleSelectWithSubtitlesField-XD6D3r0Y-Ce4jb_BF.js} +15 -15
- package/dist/assets/{LabeledZeniRolesDropDownField-C3LoYUh_-C0QgGm5O.js → LabeledZeniRolesDropDownField-CbJ3OtWK-CN-nwhu5.js} +20 -20
- package/dist/assets/{LinkJETransactionPage-BbpybbwD-C4x4kUF5.js → LinkJETransactionPage-B5M6Ojt--C7jEEQdH.js} +12 -12
- package/dist/assets/{LockCardPage-C0XjGES8-COA53Q9C.js → LockCardPage-DN2dvQA9-ptj6YCPt.js} +34 -34
- package/dist/assets/{LowBalancePopup-CkO97HGX-roXJtnln.js → LowBalancePopup-CXTWwEyb-DHi-7FjF.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-6iW79Hsc-BuBCCqa7.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-KPRoVnEc-9k2m3ge7.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DjB2bi8k-BA612N6w.js +1 -0
- package/dist/assets/{MagicLinkRoutes-BGp-m3tE.js → MagicLinkRoutes-0gOcNpgv.js} +10 -10
- package/dist/assets/MagicLinkSignInScreen-hqZFIhM7.js +12 -0
- package/dist/assets/MagicLinkSuccessPage-JRpuY47p-CZGcRvVV.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-CEZGF8ER-DeKkt3UA.js → MagicLinkTitleSection-BnzImXCX-DsNqMADc.js} +9 -9
- package/dist/assets/MailingDetailsSection-aNMVpaF0-Mi3ceriD.js +21 -0
- package/dist/assets/MobileAppDrawer-CXepfp6e.js +1 -0
- package/dist/assets/{MoreMenuButton-BWNCapgP-DzMadVuo.js → MoreMenuButton-C_jqM-Ix-D5fFt93A.js} +23 -23
- package/dist/assets/{MyBankConnectionsSettingsPage-C6p5J_f5-BgARv7Gs.js → MyBankConnectionsSettingsPage-CdW-lOqB-CQAYDmx1.js} +7 -7
- package/dist/assets/MyPendingActivationChargeCardListPage-DKvDUyn7-Cn7MG0Rp.js +6 -0
- package/dist/assets/{MyProfileSettingsPage-Ctkx_sAQ-TcUoiri6.js → MyProfileSettingsPage-ZmPfSk3b-CekXUU4A.js} +6 -6
- package/dist/assets/NavBarWithPicker-BYosIzfk-CHzZbup1.js +30 -0
- package/dist/assets/{NavigationArrow-CUPvxfZv-s1L-Z7hs.js → NavigationArrow-CMLkPq47-BPg7he64.js} +7 -7
- package/dist/assets/NavigationDots-maxhYltq-IyF42HyI.js +15 -0
- package/dist/assets/{NewGlobalMerchantPage-g9JuX6MR-BZjrX0Tw.js → NewGlobalMerchantPage-BkDFFysB-BMj84SI3.js} +4 -4
- package/dist/assets/NoDataChart-CKqR_T30-DZpYrIq4.js +26 -0
- package/dist/assets/{NoDataTable-D1v085Vv-WRE6ppwn.js → NoDataTable-BQLSA76V-CA1kwcWh.js} +1 -1
- package/dist/assets/{NotFoundPage-Bf-EPtU9-Dix88l92.js → NotFoundPage-rtS33FV3-CW80Ae7U.js} +4 -4
- package/dist/assets/NotFoundScreen-86VjMapP.js +1 -0
- package/dist/assets/NotificationRoutes-WpVyAd3n.js +1 -0
- package/dist/assets/{NotificationSettingsPage-Zv4-2vEl-DMc4wF7J.js → NotificationSettingsPage-JJ5a6f1u-Dg5nWtfu.js} +15 -15
- package/dist/assets/NotificationsListConfig-CWWrsRBB-BQkEfnwX.js +1 -0
- package/dist/assets/NotificationsPage-9vgLoVxJ-CqhoB5mC.js +685 -0
- package/dist/assets/OpExByVendorPage-Dy7Ll1zE-CncYLP1q.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-DuZLyKjH.js → OverlayContainerPage-BG9y5C0t-o9B6MYdd.js} +1 -1
- package/dist/assets/PandLWithForecastPage-D-V3dD71-2GY3G9_S.js +123 -0
- package/dist/assets/PandLWithForecastRoutes-NKWly9at.js +1 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CqavirRU-DY_xWf64.js → PaymentAccountSetupBillingAddressSection-B_4cMrVT-DX0VhwXR.js} +9 -9
- package/dist/assets/PeoplePage-B9bxxtaC-BUc8a2C6.js +772 -0
- package/dist/assets/PeopleRoutes-LIAWa-ry.js +22 -0
- package/dist/assets/PerformanceRoutes-647LNvtJ.js +1 -0
- package/dist/assets/{Preview-f_rz4qOg.js → Preview-C63MOKlS.js} +1 -1
- package/dist/assets/{ProductsCarousel-Dx8bStwI-5WXVKcMh.js → ProductsCarousel-BnezAuLA-CWNs-1wI.js} +8 -8
- package/dist/assets/{PromoBaseCards-Bauxzwzt-CEuKIUTF.js → PromoBaseCards-B5vRjrOp-DZnXvun2.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-COlHLDTh-CZNls81U.js → QBOConnectionDialog-mVAyONiQ-BFw_Aijs.js} +4 -4
- package/dist/assets/{QBOConnectionScreen-DHVNs-vu.js → QBOConnectionScreen-DPXluGT3.js} +4 -22
- package/dist/assets/{QBOSetupSection-Cb4AlHU9-BwUUouj5.js → QBOSetupSection-Co4tc3sO-UEf5y5yj.js} +14 -14
- package/dist/assets/ReferralListScreen-C9t9-uma.js +5 -0
- package/dist/assets/ReimbursementApprovalRoutes-DBPigEkQ.js +1 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-Cb4wyiiA-OE1Rk5kC.js → ReimbursementApprovalRuleDetailPage-t48xfVQ_-DSouPzhL.js} +6 -6
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-C0xqudkd.js → ReimbursementApprovalRuleDetailScreen-iL2FRiSL.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BEid42KU-DOok7S1u.js → ReimbursementApprovalRulesPage-BuOE0xKm-CyQAGb5D.js} +3 -3
- package/dist/assets/ReimbursementDetailPage-oD88KyGk-Z26luXjw.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-fvIAhNdR-BvbfNbzp.js → ReimbursementPromoPage-DC6vQNFr-Df-JQbVt.js} +11 -11
- package/dist/assets/ReimbursementRoutes-DP3Zyw9z.js +13 -0
- package/dist/assets/{ReimbursementSetUpPage-CBKANstD-DthsR-eI.js → ReimbursementSetUpPage-ClkPQCRt-3XXwJA8a.js} +5 -5
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DiWW85PW-CdKgZHg6.js +1 -0
- package/dist/assets/ReloadCard-DcyZqZO5-CwUMwJXU.js +26 -0
- package/dist/assets/ReportTableViewSelector-Be_385i6-D1d1hisQ.js +151 -0
- package/dist/assets/ReportsPage-Dp_uEJ2H-DsQqyldd.js +258 -0
- package/dist/assets/ReportsRoutes-CQDTEzwi.js +1 -0
- package/dist/assets/{RevenueChart-BHrj8Dy9-DkPntOZK.js → RevenueChart-B-iMe_PD-Bi6Ok69j.js} +12 -12
- package/dist/assets/ReviewDetailsPage--0ZUpEVp-CQmlT2je.js +290 -0
- package/dist/assets/{ReviewOverlay-Be_F1hd--DTVVFQpK.js → ReviewOverlay-D_JI48L0-CyNlOwFh.js} +8 -8
- package/dist/assets/RewardsRoutes-BiuOGirU.js +1 -0
- package/dist/assets/RoleWithToolTip-Bqdsc31P-CNmkPW05.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-h1Ewtn5T-BwfadKPa.js → ScheduleDetailsFixedAssetsPage-vFbciuuA-Diyke3YU.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-Cr-KaH2D-BVZeWx8N.js → ScheduleDetailsPage-BUxgvyKT-Xmkq7RcC.js} +3 -3
- package/dist/assets/ScheduleSequenceTable-CPf50z9S-CLdzdoca.js +324 -0
- package/dist/assets/ScreenRoutes-IYIFGbR5.js +2 -0
- package/dist/assets/{SetUpAccountSection-ULABF-Md-6cmPJvyE.js → SetUpAccountSection-Bk3RGJCY-2x7H96z3.js} +32 -32
- package/dist/assets/{SettingsRoutes-_v8Kd5Pc.js → SettingsRoutes-CEWrZV9M.js} +7 -7
- package/dist/assets/{SetupPagesScreen-DwKZajDO.js → SetupPagesScreen-BFZeWYvZ.js} +6 -6
- package/dist/assets/SignIn-DbvYG8OW-DIGSru0r.js +491 -0
- package/dist/assets/SignInScreen-B27QEE_5.js +1 -0
- package/dist/assets/SignOutScreen-DfH6txYx.js +9 -0
- package/dist/assets/SpendManagementListViewPage-CSGYJyZu-BweWpc_X.js +134 -0
- package/dist/assets/SpendManagementPerTabPage-DuGeuTYQ-DataZT66.js +754 -0
- package/dist/assets/SpendManagementSection-CZ_i360S-BWGL8ndc.js +375 -0
- package/dist/assets/StatementItem-CDx2knrL-D3uOvDYp.js +31 -0
- package/dist/assets/StatementsPage-BMFYpAPA-D3BvQu9P.js +58 -0
- package/dist/assets/{StatusSwitcher-CgzMvf5t-BwsAKxQf.js → StatusSwitcher-CDnarHSf-meshGWkH.js} +6 -6
- package/dist/assets/{SubTabSwitcher-gc5g6vV0-Cc389X5o.js → SubTabSwitcher-DhIXVTVI-Dm-A1aML.js} +9 -9
- package/dist/assets/SuccessAnimation-C-AHWH-M-DYko07lj.js +13 -0
- package/dist/assets/SummaryCard-4S9PQQ5W-B2YKQ_55.js +1 -0
- package/dist/assets/{TaskDetailPage-Brq3l5Lm-CTeGSq5Z.js → TaskDetailPage-rWt-QUEv-DH6XgxNN.js} +45 -45
- package/dist/assets/TaskListScreen-CWIPHTTl.js +9 -0
- package/dist/assets/TaskManagementPage-D3YvKWVJ-DM0xoyo4.js +1067 -0
- package/dist/assets/TaskRoutes-CgARLANx.js +9 -0
- package/dist/assets/TimeRangeSwitcher-CFJrPhfZ-Bh0bakQI.js +64 -0
- package/dist/assets/TimeframeSwitcher-DS6zgSjT-D1R0FMKh.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-Did8-Dj7-CGwKh4M0.js +53 -0
- package/dist/assets/{TopExCard-CRxFMC50-DMFErWO2.js → TopExCard-ByF-svYM-Ctw9EYS9.js} +6 -6
- package/dist/assets/{TopExDetailPage-D7dCJGpQ-CMGX79Ma.js → TopExDetailPage-ABVezwCx-DzhDJZA8.js} +16 -16
- package/dist/assets/{TransactionActivityLogPage-ByyxovGE-srnxYFyd.js → TransactionActivityLogPage-B8ytNODX-DVytAoU9.js} +9 -9
- package/dist/assets/TransactionDetailPage-CunkyIXB-CNc17TsU.js +903 -0
- package/dist/assets/TransactionDetailRoutes-CK-34SUt.js +1 -0
- package/dist/assets/{TransactionDetailScreen-Cf5V0oOT.js → TransactionDetailScreen-DDeYMLmN.js} +2 -2
- package/dist/assets/TransactionList-CEPVnfZD-ClBHZqTs.js +153 -0
- package/dist/assets/{TransactionListBig-BOKPby7d-DtBWL-yV.js → TransactionListBig-BYFv0irc-pAbEVbC_.js} +24 -24
- package/dist/assets/TransactionListPage-CEVs8CRQ-DxaQpOMD.js +35 -0
- package/dist/assets/{TransactionListRoutes-FXzof8yS.js → TransactionListRoutes-DCJ5Lweu.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-BK4zpJ1F-CDApXn9_.js → TransactionVendorDetailPage-DYvgQFQS-DSlx2b8r.js} +4 -4
- package/dist/assets/{TransferDrawerPage-B5ofYt0y-DEB7bAJ_.js → TransferDrawerPage-gDUiIE-g-Bvvjaklx.js} +25 -25
- package/dist/assets/TreasuryOverviewPage-DXIqVBWp-B9pyuKCe.js +725 -0
- package/dist/assets/{TreasuryPromoPage-ofZQDboF-9WAzeWsO.js → TreasuryPromoPage-oERSujnm-ClN1OTf6.js} +24 -24
- package/dist/assets/TreasuryRoutes-BjolvDGd.js +45 -0
- package/dist/assets/TreasuryStatementsPage-GWCCDPvf-_h3417p3.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-4aV14kQe-iwLPWGPo.js → TreasuryTaxLetterPage-pTRWyNYH-BQ_qi0uM.js} +4 -4
- package/dist/assets/TrendChart-B2oLQN05-BkrG4BVH.js +16 -0
- package/dist/assets/TrendWithTransactions-Bx63fv0P-BQ8GiA8P.js +116 -0
- package/dist/assets/{UncategorizedAccountsMappingPage-mYSXtdgK-O1FdgaEf.js → UncategorizedAccountsMappingPage-D_QwlpkW-CEr8coR8.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-C44UiDRH-BgZ2EdVh.js → UnitIntegrationPage-EeIQyR4L-D0Uey0gi.js} +4 -4
- package/dist/assets/UploadAdditionalDocumentOverlay-B8_7dtgO-BVpFWtFr.js +38 -0
- package/dist/assets/Vendor2FAPopup-DwTNfggI-QO3FNLHc.js +1 -0
- package/dist/assets/{VendorACHDetailsPage-CxlQSWGZ-Dbr0vyn-.js → VendorACHDetailsPage-KDUuJi9g-SMC7hwJD.js} +1 -1
- package/dist/assets/VendorDetailPage-k42A_Pv1-C-eMTgO6.js +257 -0
- package/dist/assets/VendorDomesticWireDetailsPage-Dotx5CDo-B6fOSB2X.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-DIyS2YV_-BTWZ-u7c.js → VendorFiling1099EditablePage-BUuhWv_U-D-yHNm5T.js} +16 -16
- package/dist/assets/VendorFirstReviewPage-bN7DO44j-DzTJUqvm.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-DOYmaAmB-DTnVoiG2.js → VendorInternationalWireDetailsPage-DjkOrgs7-CUIWISK5.js} +11 -11
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BRtCcxHm-BL32YiVm.js +1 -0
- package/dist/assets/{VendorsAccountsSection-D6DinIAj-D7Ln9yoe.js → VendorsAccountsSection-D-7K4aZA-BPnUt7kZ.js} +2 -2
- package/dist/assets/{VendorsRoutes-DoHaVaFK.js → VendorsRoutes-Dh458IQK.js} +21 -21
- package/dist/assets/VerifyDevice-VPfuXUzH-AU1zuQlS.js +112 -0
- package/dist/assets/{VideoPlayer-BuOlZW0M-SyXdcn2w.js → VideoPlayer-2MQyZqi6-DqklpbYT.js} +1 -1
- package/dist/assets/VideoPopup-ZFwt4A81-Ch4C2tup.js +31 -0
- package/dist/assets/WiseConfirmationScreen-Bat277PD.js +12 -0
- package/dist/assets/ZeniAccountDetailPage-CJrpkcjr-CBwTak_Y.js +300 -0
- package/dist/assets/ZeniAccountListViewPage-DvJI3LGF-CKLfdqdE.js +443 -0
- package/dist/assets/ZeniAccountNavBarPieces-UCydmVe7-CXtDBFLP.js +33 -0
- package/dist/assets/{ZeniAccountPromoPage-iELT-FzW-DKlKFYZl.js → ZeniAccountPromoPage-DiGsabvm-C_SqwLVl.js} +22 -22
- package/dist/assets/ZeniAccountRoutes-CAAxW9JY.js +58 -0
- package/dist/assets/{ZeniAccountSetupPage-feqonZIV-CVuTGOWG.js → ZeniAccountSetupPage-hVmIT6tO-tFtJgQAT.js} +4 -4
- package/dist/assets/ZeniAccountStatementScreen-BaoiJX5h.js +9 -0
- package/dist/assets/{ZeniAvatar-CHmpyZc4-CgFMIt8E.js → ZeniAvatar-C2LxBTZ4-YOmVMm4j.js} +3 -3
- package/dist/assets/{ZeniCopyright-Cy7xQhak-XXB-MVSK.js → ZeniCopyright-BTIaEGE9-Di2RxJTA.js} +1 -1
- package/dist/assets/{ZeniDatePicker--Wk1Y9-b-ILzjIY8q.js → ZeniDatePicker-9JxwH7J5-CcV9D7gC.js} +5 -5
- package/dist/assets/ZeniTransferAmountSlider-BlEFrC-Z-rEEslC0z.js +63 -0
- package/dist/assets/{accountMappingHelper-B_bqtQmE.js → accountMappingHelper-CZHlLVR_.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-BJTVCmjO.js → add-to-wallet-DgdBD8_G-BgQLRlhS.js} +1 -1
- package/dist/assets/{analytics-BwviiuqB.js → analytics-CDQ7tGpV.js} +1 -1
- package/dist/assets/{analyticsHelper-MsboCQcB-BLnXrwhy.js → analyticsHelper-CYp9h-KW-6KJErEZC.js} +1 -1
- package/dist/assets/{analyticsHelper-cKb29Ct6.js → analyticsHelper-jTnRtCKB.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-BLBs8ugU.js → arrow-south-east-round-PEovUgvH-CvfiHTRY.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-BZd_9SiP.js → auto-transfer-rule-mbafm5D3-8rMpx5do.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-BFq-rVXj.js → avatar-Dz7aEm3d-BdKWS97a.js} +1 -1
- package/dist/assets/bank-letter-BOcVjN6J-ydWr7ZOI.js +1 -0
- package/dist/assets/{calculateSize-DtEgyuiA-BxRureQo.js → calculateSize-DecSvt-d-CIfCbqel.js} +1 -1
- package/dist/assets/{chartTypes-BZL6U2-d-6ZTLkQO6.js → chartTypes-D2s_Hwo9-BbhqSw8p.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-D86aDGgx.js → clock-CJkylEKt-CjcyjUt4.js} +1 -1
- package/dist/assets/common-BGuhvMjF-Ry4gfI81.js +1 -0
- package/dist/assets/commonDimensions-u85vL09f-D9VH5FSj.js +1 -0
- package/dist/assets/{commonTypes-lunwFIdl-DX_CuL_U.js → commonTypes-DKKiPW4t-BlYaUk1n.js} +1 -1
- package/dist/assets/{core-tQbf9q8c.js → core-B0nKoasK.js} +3 -38
- package/dist/assets/{dash.all.min-BrwO-Juz.js → dash.all.min-CXMi5GlA.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-DvIz9TKf.js → decodeURIComponentSafe-CHDtTf3Z.js} +1 -1
- package/dist/assets/{dnd-C4z4yHh0.js → dnd-NNN-4w0O.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-DZNtiKOk.js → dollar-round-D18u7nlm-CQw1tD8J.js} +1 -1
- package/dist/assets/downloadPdf-CnXPMbwm-BjEW_jtg.js +1 -0
- package/dist/assets/empty-CVZTZ-q9.js +1 -0
- package/dist/assets/{empty-D8sw2kbY.js → empty-DA-JSLu3.js} +1 -1
- package/dist/assets/epic-D0yDPv8O.js +2 -0
- package/dist/assets/{filter-cZIFUNvj-CE5zJJJ0.js → filter-cZIFUNvj-DAakc3sS.js} +1 -1
- package/dist/assets/getLocaleForTenant-DGG0tVFT.js +1 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-DP-9tFF0.js → gift-box-Cmt9OgIZ-C6pLHK0s.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-OTAmLtfp.js → graphic-no-data-l-DU4J8fDt-Dn4I-rOX.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-C1xtOjga.js → graphic-no-data-net-burn-l-CzmycA0m-DO0fHtUP.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BLfSpPLa.js → handshake-BPg58FML-C47iPdmd.js} +1 -1
- package/dist/assets/{helper-2Z01-P8G-4I-xsv8A.js → helper-C7sZs2qJ-DE63clA9.js} +2 -2
- package/dist/assets/{hyperlink-DQyCeXx2-B5DTBQjH.js → hyperlink-DQyCeXx2-BOSMM7uX.js} +1 -1
- package/dist/assets/{empty-OIMWR8Ju.js → index-BIjZljJR.js} +1 -1
- package/dist/assets/{index-BVjkKCLf.js → index-ByxsQZNo.js} +4237 -4301
- package/dist/assets/{index-14QtSMKx.js → index-CEBFS-eA.js} +1 -1
- package/dist/assets/{index-7BmdvSTY.js → index-CQJQXzZY.js} +1 -1
- package/dist/assets/{index-C4KA_rsP.js → index-DrsMeyfs.js} +2 -8
- package/dist/assets/index-zhMcpxMF.js +1 -0
- package/dist/assets/{lexical-Cxv_EhfG.js → lexical-Fl-AogKa.js} +1 -1
- package/dist/assets/{liveblocks-ClmZMiZG.js → liveblocks-DskTqGyX.js} +3 -8
- package/dist/assets/{lottie-C1jDoN6L.js → lottie-BzV8yd9z.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-CG-v5g2M-DTh9tKjd.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode--0eoufeA-D7gRkuwi.js → mapSectionWithAcOnlyToTreeNode-Okgefznu-CJAMwNIO.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Cehw-jOG-pPZFbPSE.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-sCX2cRnL-BfAjp3to.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-yMo9FeMO-BQEyuzFH.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-ww9DgKFP-Cu0SrzZe.js +1 -0
- package/dist/assets/{media-player-CixAJJd1.js → media-player-eLGyvMHZ.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-Bg567PNs.js → money-2cg1MuG4-rv31fLm6.js} +1 -1
- package/dist/assets/{mui-Bjwhey0L.js → mui-40xepic5.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-BjxkU9bj.js → page-detail-CWX5S47F-BrbO3gtI.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-B63O8toS.js → page-summary-D7_VQHwN-bNTaLAow.js} +1 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-DgahycaC.js +3 -0
- package/dist/assets/{pathToGoBack-C0-y9K8A.js → pathToGoBack-D0UTUGlT.js} +1 -1
- package/dist/assets/{pdf-DJ-oF9-h.js → pdf-A8jRKyoC.js} +3 -3
- package/dist/assets/{pdf-lib-CRmnAdOL.js → pdf-lib-mQnebn-k.js} +1 -1
- package/dist/assets/{plaid-CFQSLZ5I.js → plaid-cfgjTkr8.js} +1 -1
- package/dist/assets/{pusher-BBjghr5u.js → pusher-1O2fsDZq.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-D0C1Nxwy.js → radio-default-CiSgisfh-Cy5-Jl8l.js} +1 -1
- package/dist/assets/{react-2Ejhu-dV.js → react-BEcUyG01.js} +2 -12
- package/dist/assets/{react-By0Yo34B.js → react-BEctO-ia.js} +2 -12
- package/dist/assets/{react-BXiKrbq0.js → react-C6o6ScF5.js} +2 -12
- package/dist/assets/react-CQm7lU_-.js +19 -0
- package/dist/assets/{react-BV8b3CRD.js → react-CidUU4N9.js} +2 -12
- package/dist/assets/{react-C5-2CZ_j.js → react-D8s_m7Vn.js} +2 -12
- package/dist/assets/{react-BGKYEK8M.js → react-DcRcFJEU.js} +3 -13
- package/dist/assets/{react-CInUMAlk.js → react-QF7HiPHo.js} +2 -12
- package/dist/assets/{recharts-DxWcXnAv.js → recharts-Bbdho9Pi.js} +1 -1
- package/dist/assets/{routePaths-nQF_3DXR.js → routePaths-CpPoI1xs.js} +1 -1
- package/dist/assets/{sentry-Bsfq8iFp.js → sentry-COYnhuxW.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BK5y8PC1.js → shield-DOlUxcFf-wVomU2ew.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-BMKkrJ-o.js → spend-limit-D6SyboD4-BruIkKZj.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DinJUeg4-DkE5puj7.js +1 -0
- package/dist/assets/toChartData-DrYGpr_j-D2GR-55Z.js +1 -0
- package/dist/assets/{transaction-placeholder-CpOwZAMG-PFo9FUbu.js → transaction-placeholder-CpOwZAMG-C-J0dsgn.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-BAh3h0-i.js → undo-b_3XZ5CX-Chu3klyO.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-DEd9hnmz.js → unlock-BPWn2I5L-BGatCFPm.js} +1 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-GfUJ6f_w.js +1 -0
- package/dist/assets/{uploadAttachment-DtJo5Tp4-DeK-C7ju.js → uploadAttachment-DPYv4udq-CXZc-rXm.js} +29 -29
- package/dist/assets/{uploadReceipts-Dge0cNF1-D7Fo4MnD.js → uploadReceipts-CIgkuVpu-Mr0MhYx1.js} +1 -1
- package/dist/assets/{url-BaJJd1my.js → url-C27bOf0k.js} +1 -1
- package/dist/assets/{url-gf9VSr2b.js → url-XCmE-JaB.js} +1 -1
- package/dist/assets/{useDeviceId-C7oMV5vx.js → useDeviceId-UXlBHXyB.js} +1 -1
- package/dist/assets/useInitialThreadRequest-BIFRjZze.js +1 -0
- package/dist/assets/{useLongPress-GCK2COYQ-_KCebyG-.js → useLongPress-GCK2COYQ-CqE4OIEm.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-Ce0bTbAT.js → usp-line-BBd1wKwW-vz296XX2.js} +1 -1
- package/dist/assets/{utils-BxRS7J8i.js → utils-DMEPgX6w.js} +7 -20
- package/dist/assets/withTransactionSidePanel-BDgDxNYJ.js +8 -0
- package/dist/assets/zeni-epic-state-DCforPdM.js +14 -0
- package/dist/assets/{zeni-icon-only-CYgNDWlk.js → zeni-icon-only-BkUYNged.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/service-worker.js +16 -8
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-BTogpO7M-D_v0KOJI.js +0 -18
- package/dist/assets/AccountRow-Zjkju8uM-CGaR_v-A.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-BvGnuIf6-e2c4M17b.js +0 -6
- package/dist/assets/AddressRoutes-zoF4RBjS.js +0 -1
- package/dist/assets/AddressScreen-BGSyJ4PZ.js +0 -9
- package/dist/assets/AiCfoScreen-CFoKGkjU.js +0 -11
- package/dist/assets/AppBasePage-BM1NMPdI-CHojPGrn.js +0 -71
- package/dist/assets/AppDrawerContent-XR9dBd-C-BWr9bkjA.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-6unABLlP-YLoMFZPp.js +0 -47
- package/dist/assets/ArAgingChart-DePiNxcV-Byuo2Avb.js +0 -24
- package/dist/assets/ArAgingDetailPage-DiJ6PePf-_AIaQwgF.js +0 -46
- package/dist/assets/BankAccountWarningSection-CtRFcHTv-DFmiiX69.js +0 -51
- package/dist/assets/BillDetailPage-CPxVWXx6-C9i2mOHw.js +0 -266
- package/dist/assets/BillPaySetUpPage-BVOLWF1M-B3PsvONS.js +0 -42
- package/dist/assets/BusinessVerificationPage-D05hRyo1-aQRofHCL.js +0 -138
- package/dist/assets/BusinessVerificationPageScreen-pyooLZWt.js +0 -9
- package/dist/assets/BusyIndication-Nz8htndZ-DK3qiNAN.js +0 -9
- package/dist/assets/ChargeCardListTable-Dblodw9X-xnf7vtTY.js +0 -711
- package/dist/assets/ChargeCardPromoPage-AihUlwys-Do4EWC8a.js +0 -222
- package/dist/assets/CheckDepositDrawerPage-B9-ktuL_-Ck0uGpSM.js +0 -206
- package/dist/assets/CollapsableReportTable-BAz0DbFh-BcvkKcP6.js +0 -2844
- package/dist/assets/CompanyPassportCard-DTfKmcGv-CHazCsBK.js +0 -42
- package/dist/assets/ConfettiBurst-Dc0iIaw3-BJexFSkA.js +0 -1
- package/dist/assets/ConnectionAuthScreen-CdkXEtyU.js +0 -11
- package/dist/assets/CurrencySelectField-D_D8AUqS-CMSYPUvM.js +0 -139
- package/dist/assets/CustomerOnboardingAuthScreen-B9h5R6h7.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-BJV0xAFp-Djr78RES.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-CLFh9K94-C-IOhhJS.js +0 -66
- package/dist/assets/CustomerOnboardingRoutes-CTvxPGQo.js +0 -23
- package/dist/assets/DashboardRoutes-BJYzpoZN.js +0 -21
- package/dist/assets/DepositAccTransactionItem-XZgomj7v-DIzmHak6.js +0 -76
- package/dist/assets/DepositAccTransactionListPage-B11lcuip-EcEiN_CO.js +0 -66
- package/dist/assets/DomesticWireDetailScreen-C2_h3QsH.js +0 -18
- package/dist/assets/DomesticWireDetailsPage-Cw4aq8Ar-BB4UsO3F.js +0 -21
- package/dist/assets/DownloadOverlay-DE63RFQe-Crn2Ieq2.js +0 -439
- package/dist/assets/DrawerScreen-CCgZ71G-.js +0 -1
- package/dist/assets/EditPeoplePage-Dmz2l8uY-BViOrN91.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-BrQ60mqq-CiiPaBXi.js +0 -865
- package/dist/assets/EntityDetailRoutes-CDn_Sj24.js +0 -1
- package/dist/assets/ExpenseAutomationPage-BDZ6aX0q-DsIPZFRk.js +0 -2323
- package/dist/assets/ExpenseAutomationRoutes-DGeHwe0Y.js +0 -20
- package/dist/assets/FeaturePreviewScreen-mO_J_upF.js +0 -1
- package/dist/assets/GlobalReviewListPage-DmrnXFgW-BY6NnEtn.js +0 -291
- package/dist/assets/InsightsCardStack-Dbpzjgf4-RDSpnan7.js +0 -79
- package/dist/assets/InsightsSection-DgViiL7e-DSerJB8L.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-HZgqUkj4-CGNhvpQ2.js +0 -65
- package/dist/assets/InvitePeoplePage-C7DlxHsy-BebMBIo7.js +0 -12
- package/dist/assets/InvoiceUploadSection-DdIQCBkC-Cl8PEl5w.js +0 -140
- package/dist/assets/LabeledAddressValueField-D3_DsNPu-736YXF_H.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-DdHmj0q2-DW5E7xm-.js +0 -16
- package/dist/assets/LabeledDocumentField-CFtFroDl-CMnHYN21.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-CFsuVVp3-BZagwxlS.js +0 -59
- package/dist/assets/LabeledText-CZMUFsPf-CD_2e2aX.js +0 -42
- package/dist/assets/MagicLinkACHDetailsPage-CcaWGIEm-tnKPve8j.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-6V37rCS5-FOh6a44O.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BKWBDCxr-BhDtlKOU.js +0 -1
- package/dist/assets/MagicLinkSignInScreen-D2ieCdvR.js +0 -12
- package/dist/assets/MagicLinkSuccessPage-L5UJIvTe-CWVlYB8D.js +0 -31
- package/dist/assets/MailingDetailsSection-CRsQVOYi-UNrx0RmS.js +0 -21
- package/dist/assets/MobileAppDrawer-C0MjRK8u.js +0 -1
- package/dist/assets/MyPendingActivationChargeCardListPage-CluWS3nS-28_T6_I6.js +0 -6
- package/dist/assets/NavBarWithPicker-ClP6LCUF-DkWJWEu4.js +0 -30
- package/dist/assets/NavigationDots-Cu9LZj7T-Dck-bGwO.js +0 -15
- package/dist/assets/NoDataChart-DcMRzXHU-D7_5REKF.js +0 -26
- package/dist/assets/NotFoundScreen-OFT7uJSm.js +0 -1
- package/dist/assets/NotificationRoutes-CHaXDc9a.js +0 -1
- package/dist/assets/NotificationsListConfig-CO5uOSs7-DsPdEX8y.js +0 -1
- package/dist/assets/NotificationsPage-BH6B4Q8b-boFjpwya.js +0 -685
- package/dist/assets/OpExByVendorPage-EjyJRLhn-CQJtKQn8.js +0 -100
- package/dist/assets/PandLWithForecastPage-UpDz4Qqu-amIAlSUm.js +0 -107
- package/dist/assets/PandLWithForecastRoutes-CnIh_V-S.js +0 -1
- package/dist/assets/PeoplePage-D2N1XP-O-CJwoERS5.js +0 -720
- package/dist/assets/PeopleRoutes-BhDCeLPU.js +0 -22
- package/dist/assets/PerformanceRoutes-BuAZi3MY.js +0 -1
- package/dist/assets/ReferralListScreen-C3cSD6GP.js +0 -5
- package/dist/assets/ReimbursementApprovalRoutes-BR5Pg3Il.js +0 -1
- package/dist/assets/ReimbursementDetailPage-CuuOsKPv-D_7TSHrP.js +0 -314
- package/dist/assets/ReimbursementRoutes-CqJXKBBa.js +0 -13
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-BXO46shT-BZFw04rn.js +0 -1
- package/dist/assets/ReloadCard-BKHKE8Pu-DDzNv6xf.js +0 -26
- package/dist/assets/ReportTableViewSelector-gYxUii1M-CddF7tJN.js +0 -150
- package/dist/assets/ReportsPage-D7rEPLAa-CzmUwcBX.js +0 -121
- package/dist/assets/ReportsRoutes-CYQKfAgF.js +0 -1
- package/dist/assets/ReviewDetailsPage-B9SMV_va-Dz7Rn666.js +0 -290
- package/dist/assets/RewardsRoutes-DCITkj5z.js +0 -1
- package/dist/assets/RoleWithToolTip-D9DCHaph-nKJIR_IN.js +0 -22
- package/dist/assets/ScheduleSequenceTable-BBbLa0gA-Btbrm5JR.js +0 -324
- package/dist/assets/ScreenRoutes-cViWFW2H.js +0 -2
- package/dist/assets/SignIn-6YH_riJW-Cbh0GUA9.js +0 -491
- package/dist/assets/SignInScreen-CQ0tPRGx.js +0 -1
- package/dist/assets/SignOutScreen-DnZtVxxQ.js +0 -9
- package/dist/assets/SpendManagementListViewPage-D_RrkezV-DBINRHHC.js +0 -134
- package/dist/assets/SpendManagementPerTabPage-BnugLA94-B0bXgpZd.js +0 -754
- package/dist/assets/SpendManagementSection-DCk1isQq-Ctg203qT.js +0 -375
- package/dist/assets/StatementItem-BWKA6BsE-j_qG9rDI.js +0 -31
- package/dist/assets/StatementsPage-C5KuiVH4-xnkoQRuk.js +0 -58
- package/dist/assets/SuccessAnimation-CcFXT4sg-BdtQuwgP.js +0 -13
- package/dist/assets/SummaryCard-DgPg2oPm-2d3grF3d.js +0 -1
- package/dist/assets/TaskListScreen-BEZfxkT_.js +0 -9
- package/dist/assets/TaskManagementPage-Dyy-A0ij-BjtjsR1V.js +0 -1063
- package/dist/assets/TaskRoutes-CmFMqx0S.js +0 -9
- package/dist/assets/TimeRangeSwitcher-PcHPZNOq-BoIkN8Yn.js +0 -64
- package/dist/assets/TimeframeSwitcher-XZjkUS_W-BbzICW0F.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-KxCdrFMS-CZUmEkN6.js +0 -31
- package/dist/assets/TransactionDetailPage-D0_Tjv5D-CTxa80yD.js +0 -903
- package/dist/assets/TransactionDetailRoutes-CJny34aF.js +0 -1
- package/dist/assets/TransactionList-DoYieHoy-BgtAc9_H.js +0 -153
- package/dist/assets/TransactionListPage-Bfx0PW2V-CJeBc1uC.js +0 -35
- package/dist/assets/TreasuryOverviewPage-D4LuhPMd-CuGu_xGc.js +0 -708
- package/dist/assets/TreasuryRoutes-DAJ1nuDy.js +0 -45
- package/dist/assets/TreasuryStatementsPage-D4bGPC_n-CT-z0lr5.js +0 -58
- package/dist/assets/TrendChart-BJLik8fK-DKQC7WiX.js +0 -16
- package/dist/assets/TrendWithTransactions-R1FCSydB-BqoO14_s.js +0 -116
- package/dist/assets/UploadAdditionalDocumentOverlay-CJmvE3y6-OjNfOtyQ.js +0 -38
- package/dist/assets/Vendor2FAPopup-Bt_phaZI-Dci0tpRN.js +0 -1
- package/dist/assets/VendorDetailPage-BixXt95H-Cvkoy_Y0.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-BmFZeCgu-BrnPFu_g.js +0 -1
- package/dist/assets/VendorFirstReviewPage-DZ00XYRi-DOa-NUD4.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BCafZBL5-a5ZNRrE7.js +0 -1
- package/dist/assets/VerifyDevice-DFug_o82-Cp_iN918.js +0 -112
- package/dist/assets/VideoPopup-B03SM83j-Bz8522QR.js +0 -31
- package/dist/assets/WiseConfirmationScreen-BSiQio9j.js +0 -12
- package/dist/assets/ZeniAccountDetailPage-BJQvxY7D-CD6_hnPE.js +0 -300
- package/dist/assets/ZeniAccountListViewPage-CvwGdUPT-Dfa2vteS.js +0 -441
- package/dist/assets/ZeniAccountNavBarPieces-OGXEdZmI-DYGQS9LW.js +0 -14
- package/dist/assets/ZeniAccountRoutes-XOuwsxr4.js +0 -58
- package/dist/assets/ZeniAccountStatementScreen-xw2x-Y_T.js +0 -9
- package/dist/assets/ZeniTransferAmountSlider-BGK6jY7c-BOtVC5lY.js +0 -63
- package/dist/assets/common-DspMM85g-D8gXTZ7G.js +0 -1
- package/dist/assets/commonDimensions-RZ10geET-D7qPZRI_.js +0 -1
- package/dist/assets/detailCommon-CxEOrtjx-DMWr3OWb.js +0 -38
- package/dist/assets/downloadPdf-BpxrRqLr-CgsZPCp9.js +0 -1
- package/dist/assets/epic-CtBuyKa-.js +0 -2
- package/dist/assets/getLocaleForTenant-x-_ZsHih.js +0 -1
- package/dist/assets/index-Ch36miPU.js +0 -1
- package/dist/assets/index-DztUk-4t.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-BJRnX8Ir-CWTptJHk.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-CQvnRjWo-DwJKT6-z.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CY0Vs8kK-VBbq9rDC.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cytg0KxN-XJ0C0lAw.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-3KVmTdIZ-OlNigbrb.js +0 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-C8dW-sTb.js +0 -4
- package/dist/assets/react-D1LHkJvC.js +0 -37
- package/dist/assets/toCOABalancesWithID-DzAIFjHl-CpHF0N9N.js +0 -1
- package/dist/assets/toChartData-BurvmO_S-BSey2eFY.js +0 -1
- package/dist/assets/useInitialThreadRequest-BFyDtASP.js +0 -1
- package/dist/assets/withTransactionSidePanel-D5JSDlfI.js +0 -8
- package/dist/assets/zeni-epic-state-CjVTQ4J3.js +0 -122
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import{y as Z,J as q,O as A,V as t,F as _,a7 as ee,T as te,b$ as ie,a_ as ae,f as le,A as oe,a9 as ne,o as r,b,W as U,c1 as Y,ej as se,s as re,H as de,el as ce,j as me,u,c9 as ue,ca as pe,e as fe}from"./index-BVjkKCLf.js";import{a as E}from"./sentry-Bsfq8iFp.js";import{n as p}from"./mui-Bjwhey0L.js";import{bG as k,bs as he}from"./zeni-epic-state-CjVTQ4J3.js";import{b as ge}from"./LabeledCountryMultiSelectField-LeubJT8b-COwPVYGE.js";import{Y as be}from"./LabeledDocumentField-CFtFroDl-CMnHYN21.js";import"./pdf-DJ-oF9-h.js";import"./core-tQbf9q8c.js";import"./lottie-C1jDoN6L.js";import"./liveblocks-ClmZMiZG.js";import"./recharts-DxWcXnAv.js";import"./dnd-C4z4yHh0.js";import"./analytics-BwviiuqB.js";import"./plaid-CFQSLZ5I.js";import"./utils-BxRS7J8i.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="2806e472-0023-4965-8bde-b90e75bc3eea",e._sentryDebugIdIdentifier="sentry-dbid-2806e472-0023-4965-8bde-b90e75bc3eea")}catch{}})();const R={largeLabelWidth:new b(150,210,252),paddingBottom:new b(u[3],u[2])},ye=({sectionId:e,internationalOnboardingDetails:s,filesEndPoint:d,authParams:v,isReadonly:n,deleteFileStatusById:a,updateFileStatusById:m,onEditFileName:B,onDeleteFile:C,updateFilesEntity:z})=>{const h=q(),{verificationFormLocalData:x}=s,{dateFormat:{visual:O},common:{documents:o},commonSetUp:{businessVerification:j},spendManagement:{billPay:{vendorCreation:{wireDetails:{international:w}}}}}=A.getLocalizedStrings(),f=R.largeLabelWidth.value(h),[c,$]=E.useState(!1),T=s.verificationFormFields.slice().sort((i,l)=>i.type==="file"&&l.type!=="file"?-1:0);return t.jsx(xe,{children:t.jsx(we,{children:T.map(i=>{switch(i.type){case"file":return t.jsxs(t.Fragment,{children:[t.jsx(be,{name:g(e,i.name),isDisabled:n,sizeLimit:pe,deleteFileStatusById:a,updateFileStatusById:m,filesEndPoint:d,authParams:v,label:{label:i.label,width:f},filemetadataPayload:{documentType:"certificate_of_good_standing",purposeId:"international_wire_business_verification",documentSide:"front"},file:s.userFiles.find(l=>l.fileId===x[i.name]),acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!0},hasError:c,updateFilesEntity:z,onEditFileName:B,onDeleteFile:C,onFileSizeError:l=>$(l),placeholderText:j.dragDropClickPlaceholder,showPhotoPicker:!0,useMobileCam:!0,showWebCamPopUpCloseIcon:!0},g(e,i.name)),n!=="readonly"?t.jsx(Se,{windowSize:h,isError:!1,children:o.formatDocumentText10MB}):null,t.jsx(I,{})]});case"date":return t.jsxs(t.Fragment,{children:[t.jsx(ue,{isDisabled:n,label:{label:i.label+w.colon,width:f},style:{paddingBottom:R.paddingBottom.valuePx(h)},dateField:{name:g(e,i.name),placeholder:i.placeholder,defaultValue:x[i.name]?k(x[i.name]):void 0,dateFormat:O.defaultInput,maxDate:he().subtract(1,"day"),minDate:k("01 Jan 1900"),autoComplete:"off",registerOptions:{required:!0}}},g(e,i.name)),t.jsx(I,{})]});case"enum":return i.isMultipleValuesAllowed===!1?t.jsxs(t.Fragment,{children:[t.jsx(ce,{isDisabled:n,label:{label:i.label+w.colon,width:f},singleSelectPickerField:{name:g(e,i.name),placeholder:i.placeholder,optionHeight:u[6],optionTextStyle:me.smallRegular,maxMenuHeight:206,registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption},defaultValue:{selectedOption:x[i.name],allOptions:i.fieldValues.map(l=>({label:l.description,value:l.code}))}}},g(e,i.name)),t.jsx(I,{})]}):t.jsx(ge,{isDisabled:n,label:{label:i.label+w.colon,width:f},style:{zIndex:0},multiSelectField:{name:g(e,i.name),placeholder:i.placeholder,registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOptions&&l.selectedOptions.length>0},defaultValue:Y(x[i.name],i.fieldValues.map(l=>l.code))}},g(e,i.name));default:return t.jsx(I,{})}})})})},g=(e,s)=>`${e}.formData.${s}`,xe=p.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
`,we=p.div`
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
8
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
9
|
-
box-shadow: ${e=>`${r.sp0} 2px ${r.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
10
|
-
border-radius: ${r.sp2};
|
|
11
|
-
`,I=p.div`
|
|
12
|
-
display: flex;
|
|
13
|
-
flex: 1;
|
|
14
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
15
|
-
min-height: 1px;
|
|
16
|
-
max-height: 1px;
|
|
17
|
-
`,Se=p(U)`
|
|
18
|
-
padding: ${r.sp1} ${r.sp4};
|
|
19
|
-
|
|
20
|
-
background: ${e=>e.theme.colors.grey4};
|
|
21
|
-
border-radius: ${r.sp0} ${r.sp0} ${r.sp2} ${r.sp2};
|
|
22
|
-
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
23
|
-
color: ${e=>e.isError?fe.important:e.theme.colors.grey1};
|
|
24
|
-
`,y={width:new b(343,580,726),titleWidth:new b(343,580,726,826),subTitlePaddingTop:new b(12,u[3]),subTitlePaddingBottom:new b(u[3],u[3]),verificationDetailsRowGap:new b(12,u[5],u[5]),termsPaddingLeftRight:new b(u[0],u[3])},Fe={title:new de("standardSemiBold","largeSemiBold")},W="intlWireVerification",Ue=({internationalOnboardingDetails:e,filesEndPoint:s,authParams:d,isReadonly:v,analytics:n,isLocalCurrencyEnabled:a,onEditFileName:m,onDeleteFile:B,updateFilesEntity:C,onFormDataChange:z,onCancelClick:h,onSubmitClick:x})=>{const O=Z(),o=q(),j="IntlWireverificationPage",{verificationFormFetchState:w,verificationFormSubmitState:f}=e,{commonSetUp:{internationalWire:c},common:{footer:$},dateFormat:{analytics:{YYYYDashMMDashDDFormat:T}}}=A.getLocalizedStrings(),i=t.jsxs(Ie,{children:[c.terms1,t.jsx(_,{href:c.tosUrl,linkText:c.tos}),c.and,t.jsx(_,{href:c.privacyPolicyUrl,linkText:c.privacyPolicy})]}),l=ee(f.fetchState),D=te({mode:"all",reValidateMode:"onChange",defaultValues:E.useMemo(()=>ve(e),[e])}),{isValid:G}=D.formState;E.useEffect(()=>{l==="In-Progress"&&f.fetchState==="Completed"&&h()},[l,f,h]);const H=D.handleSubmit(()=>{G&&(n?.trackSubmitIntlWire(a),x())});return E.useEffect(()=>{const J=D.watch((M,{name:K})=>{K!=null&&M!=null&&ie(()=>(async Q=>{const S=Q[W].formData;if(S!=null){let V={};Object.keys(S).forEach(F=>{const L=e.verificationFormFields.find(P=>P.name===F);if(S[F]!=null&&L!=null){let P;switch(L.type){case"file":P=S[F].fileId;break;case"date":P=k(S[F].toString()).format(T);break;default:P=L.isMultipleValuesAllowed===!0?S[F].selectedOptions.map(X=>se(X)):S[F].selectedOption}V={...V,[F]:P}}}),z(V)}})(M))});return()=>{J.unsubscribe()}}),t.jsxs(Pe,{children:[t.jsx(ae,{title:c.title,backgroundColor:O.colors.grey4,style:{zIndex:4},onBackClick:()=>{h()},showBackButton:!0,showMenuIcon:!1,source:"InternationalWireVerificationPage"}),t.jsxs($e,{windowSize:o,children:[t.jsx(je,{windowSize:o,children:c.subTitle}),w.fetchState==="In-Progress"||w.fetchState==="Not-Started"?t.jsx(De,{children:t.jsx(le,{size:"ExtraLarge",start:!0})}):t.jsx(oe,{...D,children:t.jsxs("form",{id:N(j),onSubmit:H,children:[t.jsx(Ee,{windowSize:o,children:c.header}),t.jsx(ye,{internationalOnboardingDetails:e,sectionId:W,updateFilesEntity:C,onEditFileName:m,onDeleteFile:B,isReadonly:v,filesEndPoint:s,authParams:d,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById})]})})]}),v!=="readonly"&&w.fetchState==="Completed"?t.jsx(ne,{formId:N(j),primaryBtn:{label:$.submit,style:{width:"auto",minWidth:o==="small"?"auto":"82px"},isLoading:f.fetchState==="In-Progress"},containerStyle:{width:o==="small"?y.width.valuePx(o):"auto",justifyContent:o==="small"?"space-between":"center"},helperStyle:{width:o==="small"?y.width.valuePx(o):"auto",paddingLeft:y.termsPaddingLeftRight.valuePx(o),paddingRight:y.termsPaddingLeftRight.valuePx(o),textAlign:o==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:$.cancel,style:{width:o==="small"?"auto":"82px"},onClick:()=>{h()}},helperText:i,style:{padding:`12px ${r.sp3}`,zIndex:4}}):null]})},ve=e=>{const{verificationFormFields:s,verificationFormLocalData:d,userFiles:v}=e,n={};return s.forEach(a=>{a.type==="enum"?a.isMultipleValuesAllowed===!1?n[a.name]={selectedOption:d[a.name],allOptions:a.fieldValues.map(m=>({label:m.description,value:m.code}))}:n[a.name]=Y(d[a.name],a.fieldValues.map(m=>m.code)):a.type==="date"?n[a.name]=d[a.name]?k(d[a.name]).toDate():void 0:a.type==="file"?n[a.name]=v.find(m=>m.fileId!==d[a.name]):n[a.name]=d[a.name]}),{[W]:{formData:n}}},N=e=>`${e}_form`,Pe=p.div`
|
|
25
|
-
display: flex;
|
|
26
|
-
min-height: 100%;
|
|
27
|
-
flex-direction: column;
|
|
28
|
-
width: 100%;
|
|
29
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
30
|
-
`,je=p(re)`
|
|
31
|
-
color: ${e=>e.theme.colors.hero};
|
|
32
|
-
display: flex;
|
|
33
|
-
justify-content: center;
|
|
34
|
-
width: ${e=>y.titleWidth.valuePx(e.windowSize)};
|
|
35
|
-
padding-top: ${e=>y.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
36
|
-
padding-bottom: ${e=>y.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
37
|
-
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
38
|
-
`,$e=p.div`
|
|
39
|
-
display: flex;
|
|
40
|
-
justify-content: flex-start;
|
|
41
|
-
height: 100%;
|
|
42
|
-
overflow-y: auto;
|
|
43
|
-
flex-direction: column;
|
|
44
|
-
align-items: center;
|
|
45
|
-
padding-bottom: ${r.sp9};
|
|
46
|
-
row-gap: ${e=>y.verificationDetailsRowGap.valuePx(e.windowSize)};
|
|
47
|
-
`,De=p.div`
|
|
48
|
-
display: flex;
|
|
49
|
-
width: 100%;
|
|
50
|
-
height: calc(100vh - 110px);
|
|
51
|
-
flex-direction: row;
|
|
52
|
-
justify-content: center;
|
|
53
|
-
align-items: center;
|
|
54
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
55
|
-
`,Ie=p(U)`
|
|
56
|
-
text-align: center;
|
|
57
|
-
max-width: 750px;
|
|
58
|
-
color: ${e=>e.theme.colors.hero};
|
|
59
|
-
`,Ee=p.div`
|
|
60
|
-
display: flex;
|
|
61
|
-
align-items: center;
|
|
62
|
-
margin-bottom: ${r.sp3};
|
|
63
|
-
color: ${e=>e.theme.colors.primary};
|
|
64
|
-
${e=>`${Fe.title.style(e.windowSize)}`};
|
|
65
|
-
`;export{Ue as default,N as uniqueName};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import{J as ee,fb as ne,y as le,T as te,u as g,V as c,g3 as oe,A as ie,a6 as se,a9 as re,o as ae,b as Z,bV as N,fe as V,ff as W,fg as F,O as de,bX as ce}from"./index-BVjkKCLf.js";import{a as R}from"./sentry-Bsfq8iFp.js";import{n as H}from"./mui-Bjwhey0L.js";import{Ff as ue,bt as me}from"./zeni-epic-state-CjVTQ4J3.js";import{f as pe}from"./AllUserItems-b0wgd0Wz-CZ891kMU.js";import"./pdf-DJ-oF9-h.js";import"./core-tQbf9q8c.js";import"./lottie-C1jDoN6L.js";import"./liveblocks-ClmZMiZG.js";import"./recharts-DxWcXnAv.js";import"./dnd-C4z4yHh0.js";import"./analytics-BwviiuqB.js";import"./plaid-CFQSLZ5I.js";import"./utils-BxRS7J8i.js";import"./LabeledEmailInputField-BOEHGgHy-BnfP78Li.js";import"./LabeledZeniRolesDropDownField-C3LoYUh_-C0QgGm5O.js";import"./RoleWithToolTip-D9DCHaph-nKJIR_IN.js";import"./LabeledUserSingleSelectWithSubtitlesField-BTo_s8x5-BHV3CQzI.js";import"./avatar-Dz7aEm3d-BFq-rVXj.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]="1481ccf3-7a5d-4330-901b-636b64130d49",e._sentryDebugIdIdentifier="sentry-dbid-1481ccf3-7a5d-4330-901b-636b64130d49")}catch{}})();const T={containerPaddingLeft:new Z(g[3],g[6],g[8]),containerPaddingRight:new Z(g[3],g[6],g[8]),buttonWidth:new Z(85,85)},M="editPeoplePage",I="userItems",p=de.getLocalizedStrings().peoplePage,Ze=({peopleDetails:e,managersList:n,classList:f,controllersList:$,mode:l,isZeniTenant:x,onPeopleLocalDataUpdated:C,onCloseClick:_,onSaveClick:r,isReimbursementDisabled:O,isZeniAccountsDisabled:t,isChargeCardDisabled:j,isTreasuryDisabled:U,isBankingOnlyTenant:v,isCardsOnlyTenant:b,isLiteRoleDisabled:k})=>{const u=ee(),[J,X]=R.useState(-1),[E,w]=R.useState(""),q=R.useRef(null),L=R.useMemo(()=>ne(O,t,j,v,b,k,U),[O,t,j,v,b,k,U]),G=le(),a=te({mode:"onBlur",reValidateMode:"onChange",defaultValues:Q(e.people,l,L,n,f,v,b),values:Q(e.people,l,L,n,f,v,b)}),K=a.handleSubmit(()=>{Y()?r():console.warn("Invite People form error")}),Y=()=>{const o=a.getValues();let i=!0;return o.userItems.forEach((z,P)=>{const{role:S,nonZeniRole:y,department:D,manager:d}=z;if(l==="zeni_only")S?.selectedOptions==null&&(a.setError(`${I}.${P}.role`,{type:"required"}),i=!1);else{const m=y?.userRole.selectedRole;(m!=null&&y!=null?y.productsByUserRole[m].map(s=>s.selectedOption).filter(s=>s!=null):[]).length<1&&(a.setError(`${I}.${P}.nonZeniRole.userRole.selectedRole`,{type:"required"}),i=!1),D?.selectedOption==null&&m!=="investor_or_banker"&&!v&&!b&&(a.setError(`${I}.${P}.department`,{type:"required"}),i=!1),d?.selectedUser==null&&m!=="investor_or_banker"&&(a.setError(`${I}.${P}.manager`,{type:"required"}),i=!1)}}),i};return R.useEffect(()=>{const o=a.watch((i,{name:z})=>{z!=null&&i!=null&&(async(P,S)=>{const y=[],{userItems:D}=S;D.forEach(d=>{let m={};if(l==="zeni_only")m={email:d.email,role:[d.role?.selectedOptions]};else{const s=d.nonZeniRole?.userRole.selectedRole;let h=[];s==="admin"||s==="investor_or_banker"?h.push(s):h=s!=null?(d.nonZeniRole?.productsByUserRole[s]??[]).map(B=>ue(B.selectedOption?.value)).filter(B=>B!=null):[],s==="employee"&&h.length===0&&(h=["reimbursements_user"]);const A=me(h);m={email:d.email,role:h,departmentId:A?void 0:d.department?.selectedOption?.value,managerId:A?void 0:d.manager?.selectedUser}}y.push(m)}),C(y)})(0,i)});return()=>{o.unsubscribe()}}),R.useEffect(()=>{const o=q.current,i=()=>{u!=="small"&&(o&&o?.scrollTop>g[9]?w(l==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):w(""))};return u==="small"?w(l==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):o&&o?.scrollTop<=g[9]&&w(""),o&&o.addEventListener("scroll",i),()=>{o&&o.removeEventListener("scroll",i)}},[l,E,u]),c.jsxs(c.Fragment,{children:[c.jsx(oe,{title:E,backgroundColor:G.colors.grey4,style:{zIndex:4},onCloseClick:_,isTitleAlignLeft:u==="small"}),c.jsxs(ge,{"data-testid":se("invite-people-container"),windowSize:u,ref:q,children:[u!=="small"?c.jsx(fe,{children:l==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title}):null,c.jsx(ie,{...a,children:c.jsx("form",{id:`${M}_form`,onSubmit:K,children:c.jsx(pe,{control:a.control,sectionId:I,deleteConfirmationIndex:J,updateDeleteConfirmationIndex:X,mode:l,isZeniTenant:x,classList:f,managersList:n,controllersList:$,isBankingOnlyTenant:v,isCardsOnlyTenant:b,customerRoleOptions:L,isEdit:!1})})})]}),c.jsx(re,{formId:`${M}_form`,primaryBtn:{label:p.invitePage.invite,style:{width:T.buttonWidth.value(u)},isLoading:e.invitePersonState.fetchState==="In-Progress",isDisabled:e.invitePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:p.invitePage.cancel,style:{width:T.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:_},separatorStyle:{marginRight:ae.sp4}})]})},Q=(e,n,f,$,l,x,C)=>{const _=[{userIndex:0,email:[],role:n==="zeni_only"?{allOptions:N.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:n==="off"?{userRole:{selectedRole:e[0]?.role.length>0?F(e[0].role):void 0,allRootRole:W(x,C)},productsByUserRole:V(e[0]?.role??[],f)}:void 0,department:void 0,manager:void 0}];return{[I]:e.length>0?e.map((r,O)=>({userIndex:O,email:r.email,role:n==="zeni_only"?{allOptions:N.roles,selectedOptions:r.role}:void 0,nonZeniRole:n==="off"?{userRole:{selectedRole:r.role.length>0?F(r.role):void 0,allRootRole:W(x,C)},productsByUserRole:V(r.role,f)}:void 0,department:{allOptions:l.map(t=>({label:t.fullyQualifiedAccountingClassName??"",value:t.classId,hoverText:t.accountingClassNumber})),selectedOption:l.map(t=>({label:t.fullyQualifiedAccountingClassName??"",value:t.classId,hoverText:t.accountingClassNumber})).find(t=>t.value===r.departmentId)},manager:{allUsers:$,selectedUser:r.managerId}})):_}},je=(e,n)=>`${e}.${n}`,ge=H.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
5
|
-
|
|
6
|
-
padding-left: ${e=>`${T.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
7
|
-
padding-right: ${e=>`${T.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
8
|
-
overflow-x: hidden;
|
|
9
|
-
height: 100%;
|
|
10
|
-
`,fe=H(ce)`
|
|
11
|
-
color: ${e=>e.theme.colors.primary};
|
|
12
|
-
`;export{Ze as default,je as uniqueName};
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import{y as a1,J as s1,O as W,V as l,f as O,o,e as d,b as L,fQ as L1,fR as E1,a6 as G,bK as j1,bL as B1,bM as z1,N as A1,at as d1,u as C,j as o1,B as H1,l as P1,x as c1,fS as R1}from"./index-BVjkKCLf.js";import{a as t}from"./sentry-Bsfq8iFp.js";import{n as i}from"./mui-Bjwhey0L.js";import T1 from"./AttachmentView-ENg9Osic-CFLP9uHu.js";import{l as M1}from"./uploadReceipts-Dge0cNF1-D7Fo4MnD.js";import"./pdf-DJ-oF9-h.js";import"./zeni-epic-state-CjVTQ4J3.js";import"./core-tQbf9q8c.js";import"./lottie-C1jDoN6L.js";import"./liveblocks-ClmZMiZG.js";import"./recharts-DxWcXnAv.js";import"./dnd-C4z4yHh0.js";import"./analytics-BwviiuqB.js";import"./plaid-CFQSLZ5I.js";import"./utils-BxRS7J8i.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},w=new e.Error().stack;w&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[w]="eaaf701c-e2ef-426a-b2a4-89d23b10258b",e._sentryDebugIdIdentifier="sentry-dbid-eaaf701c-e2ef-426a-b2a4-89d23b10258b")}catch{}})();const g={memoPaddingTopBottomRight:new L(12,C[3]),billReceiptSize:new L(60,C[10]),rootContainerPaddingTop:new L(C[3],62),rootContainerPaddingRight:new L(C[3],C[6]),rootContainerPaddingBottom:new L(C[5],C[9]),rootContainerPaddingLeft:new L(C[3],C[8])},i1=i(H1)`
|
|
2
|
-
color: ${e=>e.isPlaceholderText===!0?e.theme.colors.grey1:e.theme.colors.hero};
|
|
3
|
-
white-space: pre-wrap;
|
|
4
|
-
text-align: center;
|
|
5
|
-
${e=>e.isPlaceholderText===!0?o1.largeRegular.css:o1.extraSmallRegular.css};
|
|
6
|
-
display: flex;
|
|
7
|
-
align-items: baseline;
|
|
8
|
-
`,r1=i(P1)`
|
|
9
|
-
color: ${e=>e.theme.colors.hero};
|
|
10
|
-
white-space: pre-wrap;
|
|
11
|
-
text-align: center;
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: baseline;
|
|
14
|
-
`,n1=i(d1)`
|
|
15
|
-
color: ${e=>e.theme.colors.champion};
|
|
16
|
-
`,E=i.div`
|
|
17
|
-
padding: 0 2px;
|
|
18
|
-
`,V1=i.div`
|
|
19
|
-
height: 100%;
|
|
20
|
-
display: flex;
|
|
21
|
-
flex-direction: column;
|
|
22
|
-
justify-content: center;
|
|
23
|
-
flex: 1 1 auto;
|
|
24
|
-
border: 1px dashed ${e=>e.theme.colors.primary};
|
|
25
|
-
box-sizing: border-box;
|
|
26
|
-
border-radius: ${o.sp2};
|
|
27
|
-
padding: ${e=>g.memoPaddingTopBottomRight.valuePx(e.windowSize)};
|
|
28
|
-
align-items: center;
|
|
29
|
-
width: 100%;
|
|
30
|
-
cursor: pointer;
|
|
31
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
32
|
-
.uploadIconStyled {
|
|
33
|
-
fill: ${e=>e.theme.colors.grey1};
|
|
34
|
-
}
|
|
35
|
-
&:hover {
|
|
36
|
-
.uploadIconStyled {
|
|
37
|
-
fill: ${e=>e.theme.colors.primary};
|
|
38
|
-
}
|
|
39
|
-
.textContent {
|
|
40
|
-
color: ${e=>e.theme.colors.primary};
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
`,p1=i.div`
|
|
44
|
-
border: 1px dashed ${e=>e.theme.colors.primary};
|
|
45
|
-
border-radius: ${o.sp2};
|
|
46
|
-
display: flex;
|
|
47
|
-
flex: 1 1 auto;
|
|
48
|
-
width: 100%;
|
|
49
|
-
flex-direction: row;
|
|
50
|
-
justify-content: center;
|
|
51
|
-
align-items: center;
|
|
52
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
53
|
-
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
54
|
-
`,_1=i.div`
|
|
55
|
-
display: flex;
|
|
56
|
-
flex-direction: column;
|
|
57
|
-
box-sizing: border-box;
|
|
58
|
-
border-radius: ${o.sp2};
|
|
59
|
-
align-items: center;
|
|
60
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
61
|
-
justify-content: center;
|
|
62
|
-
width: 100%;
|
|
63
|
-
height: 100%;
|
|
64
|
-
padding: ${e=>e.type==="w9"?o.sp0:e.showTitlebar===!0&&e.windowSize!=="small"?o.sp3:o.sp0};
|
|
65
|
-
img {
|
|
66
|
-
width: inherit;
|
|
67
|
-
height: inherit;
|
|
68
|
-
}
|
|
69
|
-
`,I1=i.div`
|
|
70
|
-
display: flex;
|
|
71
|
-
flex-direction: column;
|
|
72
|
-
align-items: center;
|
|
73
|
-
padding-top: ${e=>g.rootContainerPaddingTop.valuePx(e.windowSize)};
|
|
74
|
-
padding-right: ${e=>g.rootContainerPaddingRight.valuePx(e.windowSize)};
|
|
75
|
-
padding-bottom: ${e=>g.rootContainerPaddingBottom.valuePx(e.windowSize)};
|
|
76
|
-
padding-left: ${e=>g.rootContainerPaddingLeft.valuePx(e.windowSize)};
|
|
77
|
-
height: ${e=>e.windowSize==="small"&&e.showAutofill?"100%":e.windowSize==="small"?"490px":"auto"};
|
|
78
|
-
overflow: ${e=>e.windowSize==="small"?"unset":"hidden"};
|
|
79
|
-
width: ${e=>e.windowSize=="small"?"100%":"42%"};
|
|
80
|
-
background-color: ${e=>e.showAutofill&&e.windowSize!=="small"?d.overlayDark:e.windowSize==="small"?e.theme.colors.grey4:e.theme.colors.background};
|
|
81
|
-
margin-top: ${e=>e.windowSize!=="small"||e.type!=="bill"&&e.type!=="w9"?"unset":"76px"};
|
|
82
|
-
`,D1=i.div`
|
|
83
|
-
display: flex;
|
|
84
|
-
flex-direction: column;
|
|
85
|
-
align-items: center;
|
|
86
|
-
justify-content: center;
|
|
87
|
-
flex-grow: 1;
|
|
88
|
-
`,F1=i.div`
|
|
89
|
-
display: flex;
|
|
90
|
-
justify-content: flex-end;
|
|
91
|
-
align-items: center;
|
|
92
|
-
`,Z1=i.div`
|
|
93
|
-
display: flex;
|
|
94
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
95
|
-
align-content: center;
|
|
96
|
-
align-items: center;
|
|
97
|
-
margin-top: ${o.sp3};
|
|
98
|
-
`,U1=i(c1)`
|
|
99
|
-
color: ${e=>e.windowSize==="small"&&e.themeContext.mode==="light"?e.theme.colors.primary:d.primaryDark};
|
|
100
|
-
margin-right: ${o.sp3};
|
|
101
|
-
`,N1=i.div`
|
|
102
|
-
color: ${e=>e.windowSize==="small"&&e.themeContext.mode==="light"?e.theme.colors.primary:d.primaryDark};
|
|
103
|
-
padding: ${o.sp1} ${o.sp2};
|
|
104
|
-
border: 1px solid ${e=>e.theme.colors.grey2};
|
|
105
|
-
&:hover {
|
|
106
|
-
border-color: ${e=>e.windowSize==="small"&&e.themeContext.mode==="light"?e.theme.colors.primary:d.primaryDark};
|
|
107
|
-
}
|
|
108
|
-
border-radius: ${o.sp1};
|
|
109
|
-
cursor: pointer;
|
|
110
|
-
`,U=i.div`
|
|
111
|
-
background: ${d.importantLight};
|
|
112
|
-
padding: ${o.sp2};
|
|
113
|
-
border-radius: ${o.sp1};
|
|
114
|
-
margin: ${o.sp3} 0;
|
|
115
|
-
max-width: 330px;
|
|
116
|
-
text-align: center;
|
|
117
|
-
`,W1=i(e=>t.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("mask",{id:"mask0_836_6609",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},t.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_836_6609)"})),t.createElement("g",{mask:"url(#mask0_836_6609)"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 18.25C5.41421 18.25 5.75 18.5858 5.75 19V61C5.75 63.8995 8.10051 66.25 11 66.25H35C35.4142 66.25 35.75 66.5858 35.75 67C35.75 67.4142 35.4142 67.75 35 67.75H11C7.27208 67.75 4.25 64.7279 4.25 61V19C4.25 18.5858 4.58579 18.25 5 18.25Z",fill:"#A6B0B1"}),t.createElement("path",{d:"M24.4561 10.7549C24.8703 10.7549 25.2061 11.0907 25.2061 11.5049V13.6938L28.3843 13.6938C28.7985 13.6938 29.1343 14.0296 29.1343 14.4438C29.1343 14.8581 28.7985 15.1938 28.3843 15.1938H22.4218C21.6804 15.1944 20.9623 15.4529 20.3906 15.925C19.8189 16.3972 19.4292 17.0536 19.2885 17.7816C19.1478 18.5096 19.2648 19.264 19.6194 19.9152C19.974 20.5662 20.5439 21.0736 21.2316 21.3505L27.2978 23.7781C28.3087 24.1849 29.1467 24.9308 29.6679 25.8878C30.1891 26.8448 30.361 27.9534 30.1542 29.0234C29.9474 30.0933 29.3748 31.058 28.5345 31.7519C27.6942 32.4458 26.6387 32.8257 25.5489 32.8265H25.2061V35.0149C25.2061 35.4292 24.8703 35.7649 24.4561 35.7649C24.0418 35.7649 23.7061 35.4292 23.7061 35.0149V32.8265H19.568C19.1538 32.8265 18.818 32.4907 18.818 32.0765C18.818 31.6623 19.1538 31.3265 19.568 31.3265H24.4337C24.4411 31.3263 24.4486 31.3262 24.4561 31.3262C24.4635 31.3262 24.471 31.3263 24.4785 31.3265H25.5479C26.2894 31.326 27.0076 31.0675 27.5794 30.5953C28.1511 30.1232 28.5408 29.4668 28.6815 28.7387C28.8222 28.0107 28.7052 27.2564 28.3506 26.6052C27.9961 25.9543 27.4263 25.4469 26.7388 25.1701L26.7378 25.1697L20.6722 22.7422C19.6612 22.3355 18.8233 21.5896 18.3021 20.6325C17.7809 19.6755 17.609 18.5669 17.8158 17.497C18.0226 16.427 18.5952 15.4624 19.4355 14.7684C20.2757 14.0745 21.3318 13.6946 22.4216 13.6938H23.7061V11.5049C23.7061 11.0907 24.0418 10.7549 24.4561 10.7549Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7305 42.2959C17.7305 41.8817 18.0663 41.5459 18.4805 41.5459H42.5631C42.9773 41.5459 43.3131 41.8817 43.3131 42.2959C43.3131 42.7101 42.9773 43.0459 42.5631 43.0459H18.4805C18.0663 43.0459 17.7305 42.7101 17.7305 42.2959Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7305 52.2962C17.7305 51.882 18.0663 51.5462 18.4805 51.5462L40.7116 51.5461C41.1258 51.5461 41.4616 51.8819 41.4616 52.2961C41.4616 52.7104 41.1258 53.0461 40.7116 53.0461L18.4805 53.0462C18.0663 53.0462 17.7305 52.7104 17.7305 52.2962Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7305 31.9541C37.7305 31.5399 38.0663 31.2041 38.4805 31.2041H48.1273C48.5415 31.2041 48.8773 31.5399 48.8773 31.9541C48.8773 32.3683 48.5415 32.7041 48.1273 32.7041H38.4805C38.0663 32.7041 37.7305 32.3683 37.7305 31.9541Z",fill:"#A6B0B1"})),t.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M55.5512 49.191C55.6649 49.0732 55.8244 49 56.001 49C56.001 49 56.001 49 56.001 49C56.0081 49 56.0153 49.0001 56.0224 49.0004C56.1752 49.0055 56.3264 49.0664 56.4431 49.1831L61.0145 53.7545C61.2586 53.9986 61.2586 54.3943 61.0145 54.6384C60.7704 54.8824 60.3747 54.8824 60.1306 54.6384L56.626 51.1337V60.7976C56.626 61.1427 56.3462 61.4226 56.001 61.4226C55.6558 61.4226 55.376 61.1427 55.376 60.7976V51.134L51.8716 54.6384C51.6276 54.8824 51.2318 54.8824 50.9877 54.6384C50.7437 54.3943 50.7437 53.9986 50.9877 53.7545L55.5512 49.191Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),t.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),t.createElement("defs",null,t.createElement("linearGradient",{id:"paint0_linear_836_6609",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),t.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))))`
|
|
118
|
-
color: ${e=>e.theme.colors.grey1};
|
|
119
|
-
margin-bottom: ${o.sp3};
|
|
120
|
-
`,O1=i(e=>t.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("mask",{id:"mask0_623_1439",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},t.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_623_1439)"})),t.createElement("g",{mask:"url(#mask0_623_1439)"},t.createElement("path",{d:"M24.4551 10.7549C24.8693 10.7549 25.2051 11.0907 25.2051 11.5049V13.6938L28.3834 13.6938C28.7976 13.6938 29.1334 14.0296 29.1334 14.4438C29.1334 14.8581 28.7976 15.1938 28.3834 15.1938H22.4209C21.6794 15.1944 20.9613 15.4529 20.3896 15.925C19.8179 16.3972 19.4282 17.0536 19.2875 17.7816C19.1468 18.5096 19.2638 19.264 19.6184 19.9152C19.973 20.5662 20.543 21.0736 21.2306 21.3505L27.2968 23.7781C28.3078 24.1849 29.1457 24.9308 29.6669 25.8878C30.1881 26.8448 30.36 27.9534 30.1532 29.0234C29.9464 30.0933 29.3738 31.058 28.5335 31.7519C27.6933 32.4458 26.6377 32.8257 25.548 32.8265H25.2051V35.0149C25.2051 35.4292 24.8693 35.7649 24.4551 35.7649C24.0409 35.7649 23.7051 35.4292 23.7051 35.0149V32.8265H19.567C19.1528 32.8265 18.817 32.4907 18.817 32.0765C18.817 31.6623 19.1528 31.3265 19.567 31.3265H24.4327C24.4401 31.3263 24.4476 31.3262 24.4551 31.3262C24.4626 31.3262 24.47 31.3263 24.4775 31.3265H25.5469C26.2884 31.326 27.0066 31.0675 27.5784 30.5953C28.1501 30.1232 28.5398 29.4668 28.6805 28.7387C28.8212 28.0107 28.7042 27.2564 28.3496 26.6052C27.9951 25.9543 27.4253 25.4469 26.7378 25.1701L26.7369 25.1697L20.6712 22.7422C19.6602 22.3355 18.8223 21.5896 18.3011 20.6325C17.7799 19.6755 17.608 18.5669 17.8148 17.497C18.0216 16.427 18.5942 15.4624 19.4345 14.7684C20.2748 14.0745 21.3308 13.6946 22.4206 13.6938H23.7051V11.5049C23.7051 11.0907 24.0409 10.7549 24.4551 10.7549Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 42.2959C17.7295 41.8817 18.0653 41.5459 18.4795 41.5459H42.5621C42.9763 41.5459 43.3121 41.8817 43.3121 42.2959C43.3121 42.7101 42.9763 43.0459 42.5621 43.0459H18.4795C18.0653 43.0459 17.7295 42.7101 17.7295 42.2959Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 52.2962C17.7295 51.882 18.0653 51.5462 18.4795 51.5462L40.7106 51.5461C41.1248 51.5461 41.4606 51.8819 41.4606 52.2961C41.4606 52.7104 41.1248 53.0461 40.7106 53.0461L18.4795 53.0462C18.0653 53.0462 17.7295 52.7104 17.7295 52.2962Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7295 31.9541C37.7295 31.5399 38.0653 31.2041 38.4795 31.2041H48.1263C48.5406 31.2041 48.8763 31.5399 48.8763 31.9541C48.8763 32.3683 48.5406 32.7041 48.1263 32.7041H38.4795C38.0653 32.7041 37.7295 32.3683 37.7295 31.9541Z",fill:"#A6B0B1"})),t.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),t.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M55.5502 49.191C55.6639 49.0732 55.8234 49 56 49C56 49 56 49 56 49C56.0071 49 56.0143 49.0001 56.0214 49.0004C56.1742 49.0055 56.3254 49.0664 56.4421 49.1831L61.0135 53.7545C61.2576 53.9986 61.2576 54.3943 61.0135 54.6384C60.7694 54.8824 60.3737 54.8824 60.1296 54.6384L56.625 51.1337V60.7976C56.625 61.1427 56.3452 61.4226 56 61.4226C55.6548 61.4226 55.375 61.1427 55.375 60.7976V51.134L51.8707 54.6384C51.6266 54.8824 51.2308 54.8824 50.9868 54.6384C50.7427 54.3943 50.7427 53.9986 50.9868 53.7545L55.5502 49.191Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),t.createElement("defs",null,t.createElement("linearGradient",{id:"paint0_linear_623_1439",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),t.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))))`
|
|
121
|
-
color: ${e=>e.theme.colors.grey1};
|
|
122
|
-
margin-bottom: ${o.sp3};
|
|
123
|
-
`,G1=i(e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M15.4931 3.87109H11.4776C10.5275 3.89973 9.62765 4.30445 8.97582 4.99631C8.324 5.68817 7.97357 6.61054 8.00156 7.56068C7.99312 8.23377 8.16758 8.89652 8.50634 9.47821C8.84509 10.0599 9.33542 10.5387 9.92501 10.8635L13.5771 12.8038C14.1642 13.1295 14.6523 13.6079 14.9896 14.1884C15.3269 14.7688 15.5009 15.4297 15.4931 16.101C15.5211 17.0505 15.1712 17.9724 14.5202 18.6641C13.8691 19.3559 12.9702 19.761 12.0208 19.7906H8.00156",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.2829 19.7908V22.6001",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.1558 1V3.87113",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))`
|
|
124
|
-
width: ${o.sp7};
|
|
125
|
-
height: ${o.sp7};
|
|
126
|
-
color: ${e=>e.theme.colors.hero};
|
|
127
|
-
`,N=i(c1)`
|
|
128
|
-
color: ${d.important};
|
|
129
|
-
`,K1=({type:e="bill",attachmentIdBeingUploaded:w,uploadError:f,uploadErrorMsg:y,showAutofill:m,allowMultiFiles:j=!1,customError:B,dropFilePlaceholder:n,showInfoText:T,showTitlebar:z,pdfTitle:M,openSizeLimitPopup:V,onUploadAttachment:k,uploadStatus:A})=>{const x=a1(),[_,b]=t.useState(!1),$=function(r){r.preventDefault(),r.stopPropagation(),r.type==="dragenter"||r.type==="dragover"?b(!0):r.type==="dragleave"&&_&&b(!1)},p=s1(),H=t.useRef(null),v=W.getLocalizedStrings().spendManagement.billPay.billDetails,I=A!=null?A.fetchState=="In-Progress":w;return l.jsxs(_1,{showTitlebar:z,windowSize:p,type:e,children:[z===!0?l.jsx(J1,{windowSize:p,type:e,children:M}):null,I==1?l.jsx(p1,{children:e==="receipt"?l.jsx(O,{size:"Large",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",padding:"1.5rem",borderRadius:"100%",backgroundColor:`${x.mode==="light"?d.backgroundThemeLight:d.backgroundThemeDark}`,border:`2px solid ${x.mode==="light"?d.neutralGrey3Light:d.neutralGrey3Dark}`,boxShadow:`${o.sp0} 2px ${o.sp1} ${x.mode==="light"?d.dropShadowNormalLight:d.dropShadowNormalDark}`}}):l.jsx(O,{size:"ExtraLarge",start:!0})}):l.jsx(Q1,{windowSize:p,showAutofill:m,type:e,children:l.jsxs(V1,{windowSize:p,onClick:()=>{H.current?.click()},onDragEnter:$,onDragLeave:$,onDragOver:$,onDrop:function(r){if(r.preventDefault(),r.stopPropagation(),b(!1),r.dataTransfer.files.length>0){const c=r.dataTransfer.files;if(j){const a=[],h=[];for(let s=0;s<c.length;s++)a.push(c[s].name),h.push(c[s]);k?.(h,a,"dragdrop")}else{const a=c[0];k?.([a],[a.name],"dragdrop")}}},"data-testid":G("upload-tag",e),children:[l.jsxs(D1,{onDragEnter:$,children:[e==="receipt"?l.jsx(W1,{width:g.billReceiptSize.valuePx(p),height:g.billReceiptSize.valuePx(p)}):l.jsx(O1,{width:g.billReceiptSize.valuePx(p),height:g.billReceiptSize.valuePx(p)}),e==="receipt"?l.jsxs(i1,{isPlaceholderText:!0,children:[n?.upload!=null?l.jsx(E,{children:n?.upload}):null,n?.single!=null?l.jsx(E,{children:l.jsx(n1,{themeContext:x,children:n?.single})}):null,n?.or!=null?l.jsx(E,{children:n?.or}):null,n?.multiple!=null?l.jsx(E,{children:l.jsx(n1,{themeContext:x,children:n?.multiple})}):null,n?.receipts!=null?l.jsx(E,{children:n?.receipts}):null,n?.receipt!=null?l.jsx(E,{children:n?.receipt}):null]}):e==="w9"?l.jsx(r1,{children:v.dropW9}):l.jsx(r1,{children:v.dropInvoice}),B!=null&&l.jsx(U,{children:l.jsx(N,{children:B})}),f&&y==="File size is too large"&&l.jsx(U,{children:l.jsx(N,{children:v.uploadFileSizeExceedError})}),f&&y!=="File size is too large"&&l.jsx(U,{children:l.jsx(N,{children:v.uploadError.replace("__type__",e)})})]}),l.jsx(L1,{fileRef:H,name:"invoice",onFileChange:r=>{if(r.target.files!=null){const c=r.target.files;if(j){const a=[],h=[];for(let s=0;s<c.length;s++)a.push(c[s].name),h.push(c[s]);k?.(h,a,"dragdrop")}else{const a=c[0];k?.([a],[a.name],"upload")}}},multiple:j,sizeLimit:E1,onFileSizeError:V}),T===!0?l.jsxs(F1,{children:[l.jsx(G1,{}),l.jsx(i1,{isPlaceholderText:!1,style:{marginLeft:o.sp1},children:v.currencyInfo})]}):null]})})]})},Q1=i.div`
|
|
130
|
-
padding: ${e=>e.type==="w9"?o.sp0:e.windowSize==="small"&&e.showAutofill===!1?o.sp3:o.sp0};
|
|
131
|
-
background-color: ${e=>e.windowSize==="small"?e.theme.colors.grey3:e.theme.colors.grey4};
|
|
132
|
-
height: 100%;
|
|
133
|
-
width: 100%;
|
|
134
|
-
border-radius: ${o.sp2};
|
|
135
|
-
`,J1=i(d1)`
|
|
136
|
-
padding-bottom: ${e=>e.type==="w9"?o.sp0:e.windowSize==="small"?"12px":o.sp3};
|
|
137
|
-
background-color: ${e=>e.windowSize==="small"?e.theme.colors.grey4:e.theme.colors.grey3};
|
|
138
|
-
width: 100%;
|
|
139
|
-
color: ${e=>e.theme.colors.primary};
|
|
140
|
-
`,he=({uploadInvoiceEndPoint:e,authParams:w,showAutofill:f,allowMultiFiles:y,type:m="bill",customError:j,pdfTitle:B,entityId:n,shouldNotShowAttachment:T,analytics:z,style:M,noAttachmentText:V,dropFilePlaceholder:k,showInfoText:A,showTitlebar:x,showTitlebarIcon:_,file:b,attachmentTitle:$,vendorLegalName:p,onInvoiceUpload:H,onSkipAutofill:v,setFileUploaded:I,updateInvoiceUploadFetchState:r,onReplaceClick:c,onDeleteClick:a,uploadStatus:h,isLoading:s=!1})=>{const K=a1(),P=s1(),[h1,Q]=t.useState(!1),J=W.getLocalizedStrings().spendManagement.billPay.billDetails,[m1,q]=t.useState(!1),[u1,X]=t.useState(!1),[C1,g1]=t.useState(""),[f1,D]=t.useState(!1),[F,x1]=t.useState({title:"",description:"",primaryButtonText:""});async function Y(S,u,R,l1,y1){Q(!0),X(!1);const b1=y===!0?R:[R[0]],v1=y===!0?l1:[l1[0]],{blobs:S1,names:k1}=await R1(b1,v1);await M1(`${S}/1.0/processors/${m}`,u,S1,k1,g1).then($1=>{H?.($1),q(!0),I?.()}).catch(()=>{X(!0),y1?.("Error")}),Q(!1)}t.useEffect(()=>{q(b!=null)},[b]);const e1=S=>{const u=W.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail;S?(x1({title:u.uploadLimitTitle,description:u.uploadLimitDescription,primaryButtonText:u.buttons.okay}),D(!0)):D(!1)},w1={onOkClick:()=>{D(!1)}};let t1=n!=null||(h!=null?h?.fetchState=="Completed":m1);m==="bill"&&T===!0&&(t1=!1);const Z=m==="bill"?"bill_pay":m==="receipt"?"reimbursement":"w9";return l.jsx(I1,{showAutofill:f,windowSize:P,style:M,type:m,"data-testid":G("upload-section",Z),children:s?l.jsx(p1,{children:l.jsx(O,{size:"ExtraLarge",start:!0})}):l.jsxs(l.Fragment,{children:[f1?l.jsx(j1,{titleComponent:l.jsx(z1,{children:F.title}),descriptionComponent:l.jsx(B1,{children:F.description}),primaryButtonText:F.primaryButtonText,action:w1}):null,!s&&h?.fetchState!=="In-Progress"&&t1?l.jsx(T1,{title:$,type:m,file:b,noAttachmentText:V,showTitlebar:x,showTitlebarIcon:_,pdfTitle:B,onReplaceClick:c,onDeleteClick:a,allowMultiFiles:y,openSizeLimitPopup:e1,onUploadAttachment:(S,u)=>{r?.("In-Progress"),Y(e,w,S,u,r)}}):l.jsx(K1,{type:m,uploadError:u1,uploadErrorMsg:C1,attachmentIdBeingUploaded:h1,dropFilePlaceholder:k,showInfoText:A,allowMultiFiles:y,customError:j,showTitlebar:x,pdfTitle:B,showAutofill:f,openSizeLimitPopup:e1,uploadStatus:h,onUploadAttachment:(S,u,R)=>{z?.trackUploadInvoice(R,Z,p),r?.("In-Progress"),Y(e,w,S,u,r)}}),f?l.jsxs(Z1,{windowSize:P,children:[l.jsx(U1,{windowSize:P,themeContext:K,children:J.skipAutofillInfo}),l.jsx(N1,{windowSize:P,themeContext:K,"data-testid":G("skip-autofill",Z),onClick:()=>v?.(!f),children:l.jsx(A1,{children:J.skipAutofill})})]}):null]})})};export{K1 as AttachmentElement,he as default};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import{J as x,c3 as w,dL as y,V as s,bZ as v,b as l,eh as $,a6 as z,O as T,e as g,u as i,H as D}from"./index-BVjkKCLf.js";import{n}from"./mui-Bjwhey0L.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="ccc29d4b-94fb-444e-8b34-f32daa0a6312",e._sentryDebugIdIdentifier="sentry-dbid-ccc29d4b-94fb-444e-8b34-f32daa0a6312")}catch{}})();const a={width:new l(343,580,726),height:new l(i[6],i[6]),controlMinHeight:new l(i[4],i[4]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},L={infoLabel:new D("extraSmallRegular","smallRegular")},B=T.getLocalizedStrings();function j({isDisabled:e,label:o,addressValueField:r,additionalInfoLabel:h,showAdditionalInfoLabel:b=!1,style:f,hasHoverBorder:p,isOptional:u}){const t=x(),{formState:{errors:m}}=w(),d=y(m,r.name),c=d?h:B.commonSetUp.businessVerification.addressAdditionInfo;return s.jsxs(I,{size:t,style:f,isDisabled:e!=null,isError:d,hasHoverBorder:p??!0,"data-testid":z("labeled-address-value-field",r.name),children:[s.jsx(v,{isDisabled:e,isOptional:u,label:o.label,htmlFor:r.name,style:{marginLeft:a.labelMarginLeft.value(t),marginRight:a.labelMarginRight.value(t),marginTop:a.labelMarginTop.value(t),width:o.width??"auto"}}),s.jsxs(M,{labelWidth:o.width,children:[s.jsx($,{...r,isDisabled:e,style:{minHeight:a.controlMinHeight.value(t),paddingTop:a.paddingTopBottom.valuePx(t),paddingBottom:a.paddingTopBottom.valuePx(t),width:"-webkit-fill-available",display:"flex",flexGrow:1,...r.style}}),(b||d)&&s.jsx(H,{size:t,isError:d,children:c})]})]})}const I=n.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: row;
|
|
4
|
-
align-items: flex-start;
|
|
5
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
6
|
-
width: ${e=>a.width.valuePx(e.size)};
|
|
7
|
-
min-height: ${e=>a.height.valuePx(e.size)};
|
|
8
|
-
padding-right: ${e=>a.marginRight.valuePx(e.size)};
|
|
9
|
-
padding-top: ${e=>a.paddingTopBottom.valuePx(e.size)};
|
|
10
|
-
padding-bottom: ${e=>a.paddingTopBottom.valuePx(e.size)};
|
|
11
|
-
|
|
12
|
-
&:focus-within {
|
|
13
|
-
z-index: 1;
|
|
14
|
-
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
:first-of-type {
|
|
18
|
-
border-top-left-radius: inherit;
|
|
19
|
-
border-top-right-radius: inherit;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
:last-of-type {
|
|
23
|
-
border-bottom-left-radius: inherit;
|
|
24
|
-
border-bottom-right-radius: inherit;
|
|
25
|
-
}
|
|
26
|
-
&:hover {
|
|
27
|
-
z-index: 1;
|
|
28
|
-
outline: ${e=>e.hasHoverBorder?`1px solid ${e.isDisabled===!0?e.theme.colors.grey3:e.theme.colors.primary}`:"none"};
|
|
29
|
-
.address-value {
|
|
30
|
-
background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?g.importantLight:e.theme.colors.background};
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
`,M=n.div`
|
|
34
|
-
display: flex;
|
|
35
|
-
flex-direction: column;
|
|
36
|
-
width: ${e=>e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
|
|
37
|
-
align-items: flex-end;
|
|
38
|
-
flex-grow: 1;
|
|
39
|
-
`,H=n.label`
|
|
40
|
-
display: flex;
|
|
41
|
-
color: ${e=>e.isError?g.important:e.theme.colors.grey1};
|
|
42
|
-
${e=>`${L.infoLabel.style(e.size)}`};
|
|
43
|
-
padding-right: 12px;
|
|
44
|
-
text-align: right;
|
|
45
|
-
`;export{j as C};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import{J as d,V as i,e1 as n,bZ as o,o as l,a6 as r,b}from"./index-BVjkKCLf.js";import{c,n as f}from"./mui-Bjwhey0L.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="0e8b314f-bf7d-4ac1-948a-98ccbe9c9e50",e._sentryDebugIdIdentifier="sentry-dbid-0e8b314f-bf7d-4ac1-948a-98ccbe9c9e50")}catch{}})();const y={width:new b(343,580,726)};function u({label:e,checkBoxField:s,style:t}){const a=d();return i.jsxs(h,{size:a,style:t,isDisabled:s.isDisabled,"data-testid":r(s.name,"labeled-check-box-field"),isSelected:s.defaultChecked??!1,children:[i.jsx(n,{...s,style:{...s.style}}),i.jsx(o,{isDisabled:s.isDisabled,label:e.label,labelStyle:e.style,htmlFor:s.name,style:{display:"flex",flex:1,minHeight:l.sp4,marginLeft:l.sp2,width:e.width,backgroundColor:"inherit",...e.style}})]})}const h=f.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
flex-direction: row;
|
|
5
|
-
width: ${e=>y.width.valuePx(e.size)};
|
|
6
|
-
min-height: ${l.sp4};
|
|
7
|
-
|
|
8
|
-
label {
|
|
9
|
-
color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.hero};
|
|
10
|
-
${e=>e.isDisabled==="disabled"&&c`
|
|
11
|
-
color: ${e.theme.colors.grey2};
|
|
12
|
-
`};
|
|
13
|
-
cursor: ${e=>e.isDisabled==="disabled"?"not-allowed":"pointer"};
|
|
14
|
-
pointer-events: ${e=>e.isDisabled==="disabled"||e.isDisabled==="readonly"?"none":"initial"};
|
|
15
|
-
}
|
|
16
|
-
`;export{u as x};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import{J as O,c3 as U,dL as g,V as r,bZ as W,b as l,e9 as j,O as N,a6 as k,u as i,o,e as _,H as A}from"./index-BVjkKCLf.js";import{n as d}from"./mui-Bjwhey0L.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]="17b408e5-5c0c-4bf1-92d1-6b2431039df6",e._sentryDebugIdIdentifier="sentry-dbid-17b408e5-5c0c-4bf1-92d1-6b2431039df6")}catch{}})();const a={width:new l(343,580,726),height:new l(i[6],i[6]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},V={infoLabel:new A("extraSmallRegular","smallRegular")};function G({label:e,isDisabled:t,isOptional:p,style:u,file:b,name:n,registerOptions:f,additionalInfoLabel:c,acceptableTypes:y,sizeLimit:x,filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:E,hasError:v=!1,placeholderText:F,showPhotoPicker:I,useMobileCam:S,showUploadSuccessAnimation:T,showWebCamPopUpCloseIcon:D,updateFilesEntity:L,onDeleteFile:M,onEditFileName:R,onFileSizeError:B}){const s=O(),{formState:{errors:h}}=U(),m=g(h,n),C=g(h,`${n}.fileName`);return r.jsxs(q,{size:s,style:u,isDisabled:t!=null,"data-testid":k("document-field",n),children:[r.jsx(W,{isDisabled:t,label:e.label,isOptional:p,style:{marginLeft:a.labelMarginLeft.value(s),marginRight:a.labelMarginRight.value(s),marginTop:a.labelMarginTop.value(s),width:e.width??"auto",...e.style}}),r.jsxs(H,{labelWidth:e.width,size:s,children:[r.jsx(j,{name:n,filesEndPoint:P,authParams:E,registerOptions:f,file:b,sizeLimit:x,acceptableTypes:y,isDisabled:t==="disabled"||t==="readonly",filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,hasError:v,updateFilesEntity:L,onFileSizeError:B,onDeleteFile:M,onEditFileName:R,placeholderText:F,showPhotoPicker:I,useMobileCam:S,showWebCamPopUpCloseIcon:D,showUploadSuccessAnimation:T}),m&&r.jsx(J,{size:s,isError:m,children:C&&b!=null?N.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:c})]})]})}const q=d.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: ${e=>e.size==="small"?"column":"row"};
|
|
4
|
-
align-items: flex-start;
|
|
5
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
6
|
-
width: ${e=>a.width.valuePx(e.size)};
|
|
7
|
-
min-height: ${e=>a.height.valuePx(e.size)};
|
|
8
|
-
padding-right: ${e=>a.marginRight.valuePx(e.size)};
|
|
9
|
-
padding-top: ${e=>a.paddingTopBottom.valuePx(e.size)};
|
|
10
|
-
padding-bottom: ${e=>a.paddingTopBottom.valuePx(e.size)};
|
|
11
|
-
|
|
12
|
-
:first-of-type {
|
|
13
|
-
border-top-left-radius: inherit;
|
|
14
|
-
border-top-right-radius: inherit;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
:last-of-type {
|
|
18
|
-
border-bottom-left-radius: inherit;
|
|
19
|
-
border-bottom-right-radius: inherit;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&:hover {
|
|
23
|
-
z-index: 1;
|
|
24
|
-
outline: 1px solid
|
|
25
|
-
${e=>e.isDisabled===!0?e.theme.colors.grey3:e.theme.colors.primary};
|
|
26
|
-
}
|
|
27
|
-
`,H=d.div`
|
|
28
|
-
display: flex;
|
|
29
|
-
flex-direction: column;
|
|
30
|
-
width: ${e=>e.size==="small"?"100%":e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
|
|
31
|
-
padding: ${e=>e.size==="small"?`${o.sp1} ${o.sp2} ${o.sp0} ${o.sp3}`:o.sp0};
|
|
32
|
-
box-sizing: ${e=>e.size==="small"?"border-box":"inherit"};
|
|
33
|
-
align-items: flex-end;
|
|
34
|
-
flex-grow: 1;
|
|
35
|
-
`,J=d.label`
|
|
36
|
-
display: flex;
|
|
37
|
-
color: ${e=>e.isError?_.important:e.theme.colors.grey1};
|
|
38
|
-
${e=>`${V.infoLabel.style(e.size)}`};
|
|
39
|
-
padding-right: ${o.sp3};
|
|
40
|
-
text-align: right;
|
|
41
|
-
`;export{G as Y};
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import{J as C,y as V,c3 as u,dL as P,V as r,o,dU as R,be as U,j as _,fx as O,e as l,H as A,b2 as H}from"./index-BVjkKCLf.js";import{n as i}from"./mui-Bjwhey0L.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]="93f1dbf9-ac97-4c68-b135-48c8390f514b",e._sentryDebugIdIdentifier="sentry-dbid-93f1dbf9-ac97-4c68-b135-48c8390f514b")}catch{}})();const J={infoLabel:new A("extraSmallRegular","smallRegular")};function Q({isDisabled:e,label:a,formattedText:s,dropdownStyle:h,style:m,additionalInfoLabel:y,showAdditionalInfoLabel:x=!0,isSaveError:d=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:D,defaultValue:p,isSelectDisabled:j,menuPlacement:v,name:k,placeholderLabel:E}){const n=C(),f=V(),{formState:{errors:I}}=u(),c=P(I,s.name),{control:S}=u(),T=t=>typeof t=="string"?t.toLocaleUpperCase():t.toString().toLocaleUpperCase();return r.jsxs(M,{size:n,style:m,isDisabled:e!=null,isError:c||d,children:[r.jsx(F,{windowSize:n,style:{width:a?.width??"auto",marginRight:o.sp2},children:r.jsx(G,{style:{width:"auto",...h},children:r.jsx(R,{name:k,control:S,defaultValue:p.dropDownValue,rules:D,render:({field:{value:t,onChange:z}})=>r.jsx(U,{pickerValues:p.dropDownList.map(g=>g.code),valueToLabel:T,selectedValue:t??void 0,isDisabled:e!=null||j,onPickerSelectionChanged:g=>{z(g)},menuPlacement:v,titleTextStyle:_.standardRegular,titleColor:f.colors.hero,valueOpacity:1,backgroundColor:f.colors.grey5,placeholder:E})})})}),r.jsxs(Y,{children:[r.jsx(O,{...s,style:s.style,isDisabled:s.isDisabled,isMasked:!0}),(x||c||d)&&r.jsxs(b,{size:n,isError:c||d,children:[w===!0?r.jsx(q,{children:r.jsx(B,{})}):null,y]}),$===!0&&r.jsx(b,{size:n,isError:!0,children:L})]})]})}const M=i.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: row;
|
|
4
|
-
align-items: center;
|
|
5
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
6
|
-
min-height: ${o.sp6};
|
|
7
|
-
padding-top: ${o.sp2};
|
|
8
|
-
padding-bottom: ${o.sp2};
|
|
9
|
-
padding-right: ${o.sp2};
|
|
10
|
-
|
|
11
|
-
:first-of-type {
|
|
12
|
-
border-top-left-radius: inherit;
|
|
13
|
-
border-top-right-radius: inherit;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
:last-of-type {
|
|
17
|
-
border-bottom-left-radius: inherit;
|
|
18
|
-
border-bottom-right-radius: inherit;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&:focus-within {
|
|
22
|
-
z-index: 1;
|
|
23
|
-
|
|
24
|
-
input {
|
|
25
|
-
background-color: ${e=>e.isError?l.importantLight:e.theme.colors.background};
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
input {
|
|
29
|
-
background-color: ${e=>e.isError?l.importantLight:e.theme.colors.grey5};
|
|
30
|
-
}
|
|
31
|
-
&:hover {
|
|
32
|
-
input {
|
|
33
|
-
background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?l.importantLight:e.theme.colors.background};
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
`,Y=i.div`
|
|
37
|
-
display: flex;
|
|
38
|
-
flex-direction: column;
|
|
39
|
-
align-items: flex-end;
|
|
40
|
-
flex-grow: 1;
|
|
41
|
-
`,b=i.label`
|
|
42
|
-
display: flex;
|
|
43
|
-
color: ${e=>e.isError?l.important:e.theme.colors.grey1};
|
|
44
|
-
${e=>`${J.infoLabel.style(e.size)}`};
|
|
45
|
-
padding-right: ${o.sp3};
|
|
46
|
-
text-align: right;
|
|
47
|
-
`,q=i.div`
|
|
48
|
-
display: flex;
|
|
49
|
-
margin-right: ${o.sp1};
|
|
50
|
-
align-items: center;
|
|
51
|
-
`,B=i(H)`
|
|
52
|
-
width: ${o.sp3};
|
|
53
|
-
height: ${o.sp3};
|
|
54
|
-
color: ${l.successDark};
|
|
55
|
-
`,F=i.div`
|
|
56
|
-
display: flex;
|
|
57
|
-
width: 100%;
|
|
58
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
59
|
-
`,G=i.div``;export{Q as Y};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import{J as p,V as r,bZ as u,b as l,a6 as g,u as t,o as a,s as f,H as m}from"./index-BVjkKCLf.js";import{n as d}from"./mui-Bjwhey0L.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="6bd80a4e-35b6-452b-8849-065ae2618559",e._sentryDebugIdIdentifier="sentry-dbid-6bd80a4e-35b6-452b-8849-065ae2618559")}catch{}})();const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},c={infoLabel:new m("extraSmallRegular","smallRegular")};function T({label:e,value:o,additionalInfoLabel:s,style:b,infoLabelStyle:h}){const n=p();return r.jsxs(y,{size:n,style:b,"data-testid":g("labeled-text",e.label),children:[r.jsx(u,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(n),marginRight:i.labelMarginRight.value(n),marginTop:i.labelMarginTop.value(n),width:e.width??"auto"}}),r.jsxs(x,{labelWidth:e.width,children:[r.jsx(w,{"data-testid":g("labeled-text-input",e.label),children:o}),s!=null?r.jsx($,{size:n,style:h,children:s}):null]})]})}const y=d.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: row;
|
|
4
|
-
align-items: flex-start;
|
|
5
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
6
|
-
width: ${e=>i.width.valuePx(e.size)};
|
|
7
|
-
min-height: ${e=>i.height.valuePx(e.size)};
|
|
8
|
-
padding-right: ${e=>i.marginRight.valuePx(e.size)};
|
|
9
|
-
padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
|
|
10
|
-
padding-bottom: ${e=>i.paddingTopBottom.valuePx(e.size)};
|
|
11
|
-
:first-of-type {
|
|
12
|
-
border-top-left-radius: inherit;
|
|
13
|
-
border-top-right-radius: inherit;
|
|
14
|
-
}
|
|
15
|
-
:last-of-type {
|
|
16
|
-
border-bottom-left-radius: inherit;
|
|
17
|
-
border-bottom-right-radius: inherit;
|
|
18
|
-
}
|
|
19
|
-
`,w=d(f)`
|
|
20
|
-
display: flex;
|
|
21
|
-
border-width: ${a.sp0};
|
|
22
|
-
outline-width: ${a.sp0};
|
|
23
|
-
color: ${e=>e.theme.colors.primary};
|
|
24
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
25
|
-
border-radius: ${a.sp1};
|
|
26
|
-
text-align: right;
|
|
27
|
-
padding: 0 ${a.sp3};
|
|
28
|
-
width: 100%;
|
|
29
|
-
justify-content: flex-end;
|
|
30
|
-
margin-top: ${a.sp2};
|
|
31
|
-
margin-bottom: ${a.sp2};
|
|
32
|
-
`,x=d.label`
|
|
33
|
-
width: ${e=>e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"100%"};
|
|
34
|
-
`,$=d.label`
|
|
35
|
-
width: 100%;
|
|
36
|
-
display: flex;
|
|
37
|
-
justify-content: flex-end;
|
|
38
|
-
color: ${e=>e.theme.colors.hero};
|
|
39
|
-
${e=>`${c.infoLabel.style(e.size)}`};
|
|
40
|
-
padding-right: ${a.sp3};
|
|
41
|
-
text-align: right;
|
|
42
|
-
`;export{T as S};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{V as l}from"./index-BVjkKCLf.js";import{f}from"./ACHDetailsPage-URcYg-_E-Cgyaw_bU.js";import"./sentry-Bsfq8iFp.js";import"./pdf-DJ-oF9-h.js";import"./zeni-epic-state-CjVTQ4J3.js";import"./core-tQbf9q8c.js";import"./mui-Bjwhey0L.js";import"./recharts-DxWcXnAv.js";import"./lottie-C1jDoN6L.js";import"./liveblocks-ClmZMiZG.js";import"./dnd-C4z4yHh0.js";import"./analytics-BwviiuqB.js";import"./plaid-CFQSLZ5I.js";import"./utils-BxRS7J8i.js";import"./BankAccountWarningSection-CtRFcHTv-DFmiiX69.js";import"./MagicLinkTitleSection-CEZGF8ER-DeKkt3UA.js";import"./BankAccountSection-oL-aN0I_-tuaETO0_.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="0122d7b3-d9cc-4e9b-aaa7-755e3d89644e",t._sentryDebugIdIdentifier="sentry-dbid-0122d7b3-d9cc-4e9b-aaa7-755e3d89644e")}catch{}})();const L=({magicLinkViewState:t,magicLinkBankAccountDetails:e,onSaveHandler:a,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r})=>{const{fetchState:m,error:c,bankNameByRouting:d,bankAccountToCreate:s,fetchBankNameByRoutingStatus:p}=e,{currencySymbol:u,amount:b}=t;return l.jsx(f,{bankAccountToCreate:s,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:d,fetchBankNameByRoutingStatus:p,onSaveHandler:a,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:u,amount:b})};export{L as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{V as y}from"./index-BVjkKCLf.js";import{D as g}from"./DomesticWireDetailsPage-Cw4aq8Ar-BB4UsO3F.js";import"./sentry-Bsfq8iFp.js";import"./pdf-DJ-oF9-h.js";import"./zeni-epic-state-CjVTQ4J3.js";import"./core-tQbf9q8c.js";import"./mui-Bjwhey0L.js";import"./recharts-DxWcXnAv.js";import"./lottie-C1jDoN6L.js";import"./liveblocks-ClmZMiZG.js";import"./dnd-C4z4yHh0.js";import"./analytics-BwviiuqB.js";import"./plaid-CFQSLZ5I.js";import"./utils-BxRS7J8i.js";import"./BankAccountSection-oL-aN0I_-tuaETO0_.js";import"./MagicLinkTitleSection-CEZGF8ER-DeKkt3UA.js";import"./BankAccountWarningSection-CtRFcHTv-DFmiiX69.js";import"./MailingDetailsSection-CRsQVOYi-UNrx0RmS.js";import"./LabeledAddressValueField-D3_DsNPu-736YXF_H.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]="f1ec5b61-abde-4389-862e-12b88aec7ffc",e._sentryDebugIdIdentifier="sentry-dbid-f1ec5b61-abde-4389-862e-12b88aec7ffc")}catch{}})();const H=({magicLinkViewState:e,magicLinkBankAccountDetails:t,mailingAddressDetails:a,isDisabled:o,companyName:n,onSaveHandler:i,onWireDetailsUpdated:r,onFetchBankName:d,onAddressClick:s})=>{const{fetchState:m,error:c,bankNameByRouting:p,bankAccountToCreate:u,fetchBankNameByRoutingStatus:f}=t,{currencySymbol:l,amount:b}=e;return y.jsx(g,{bankAccountToCreate:u,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,addressToEdit:a,addressType:"vendor_address",fetchBankNameByRoutingStatus:f,isDisabled:o,onSaveHandler:i,onWireDetailsUpdated:r,onAddressClick:s,onFetchBankName:d,companyName:n,isMagicLink:!0,currencySymbol:l,amount:b})};export{H as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{V as y}from"./index-BVjkKCLf.js";import{f as k}from"./InternationalWireSwiftDetailsPage-B1nvNamF-D8dvELa5.js";import"./sentry-Bsfq8iFp.js";import"./pdf-DJ-oF9-h.js";import"./zeni-epic-state-CjVTQ4J3.js";import"./core-tQbf9q8c.js";import"./mui-Bjwhey0L.js";import"./recharts-DxWcXnAv.js";import"./lottie-C1jDoN6L.js";import"./liveblocks-ClmZMiZG.js";import"./dnd-C4z4yHh0.js";import"./analytics-BwviiuqB.js";import"./plaid-CFQSLZ5I.js";import"./utils-BxRS7J8i.js";import"./BankAccountWarningSection-CtRFcHTv-DFmiiX69.js";import"./MailingDetailsSection-CRsQVOYi-UNrx0RmS.js";import"./LabeledAddressValueField-D3_DsNPu-736YXF_H.js";import"./MagicLinkTitleSection-CEZGF8ER-DeKkt3UA.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]="a1750c73-97c7-4267-9888-ee96c02dcee3",e._sentryDebugIdIdentifier="sentry-dbid-a1750c73-97c7-4267-9888-ee96c02dcee3")}catch{}})();const F=({magicLinkViewState:e,magicLinkBankAccountDetails:t,mailingAddressDetails:a,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:s,onAddressClick:d})=>{const{internationalBankAccountCreateStatus:c,internationalBankAccountToCreate:m,fetchBankNameBySwiftStatus:p,bankNameBySwift:l}=t,{currencySymbol:f,amount:u}=e;return y.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:c,bankNameBySwift:l,addressToEdit:a,addressType:"vendor_address",fetchBankNameBySwiftStatus:p,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:d,onFetchBankNameBySwift:s,companyName:i,isMagicLink:!0,currencySymbol:f,amount:u})};export{F as default};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import{j as u}from"./pdf-DJ-oF9-h.js";import{a as g}from"./sentry-Bsfq8iFp.js";import{i as O,h as U,j as _,o as w,u as l,N as j}from"./core-tQbf9q8c.js";import{je as r,y as M,O as P,jq as V,jl as A,G as N,ju as q,f as B,js as R}from"./index-BVjkKCLf.js";import{cs as W,Gn as $,GB as H,Go as J,ct as K,c_ as Q,Gx as X,dm as Y,Fz as Z,GC as ee,GD as te}from"./zeni-epic-state-CjVTQ4J3.js";import{n as ne}from"./mui-Bjwhey0L.js";import{u as se}from"./useDeviceId-C7oMV5vx.js";import{f as ae}from"./analyticsHelper-cKb29Ct6.js";import{t as ie}from"./getLocaleForTenant-x-_ZsHih.js";import"./lottie-C1jDoN6L.js";import"./liveblocks-ClmZMiZG.js";import"./recharts-DxWcXnAv.js";import"./dnd-C4z4yHh0.js";import"./analytics-BwviiuqB.js";import"./plaid-CFQSLZ5I.js";import"./utils-BxRS7J8i.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]="830495da-941d-4015-976b-6fd9830b4ce8",t._sentryDebugIdIdentifier="sentry-dbid-830495da-941d-4015-976b-6fd9830b4ce8")}catch{}})();const x=(t,a)=>t!=null&&t.length>0&&a==="magic_links";function Le(){const t=O(),a=U(),f=_(),[b]=w(),n=b.get("token"),p=b.get("stytch_token_type"),m=r.getMagicLinkCodeVerifier(),i=se(),{otpChallenge:d,twoFAPhoneNumber:C,magicLinkEmail:c,verifyDeviceFetchState:D,resendVerifyDeviceOTPFetchState:T}=l(e=>e.tenantState),S=l(e=>e.tenantState.fetchState),k=l(e=>e.tenantState.activeTenantFetchState.fetchState),I=l(e=>e.tenantState.signInState),h=l(e=>e.tenantState.magicLinkSignInFetchState.fetchState),s=l(e=>e.tenantState.loggedInUser),o=l(e=>W(e)),y=l(e=>$(e)),z=r.getSignedInUser(),v=M().mode;g.useEffect(()=>{s?.zeniSessionId==null&&n!=null&&x(n,p)&&i!=null&&m!=null&&(r.saveMagicLinkTriggered(n),t(H(n,i,m)))},[n,p,t,i,m,s?.zeniSessionId]),g.useEffect(()=>{I!=="In-Progress"||S!=="Completed"&&k!=="Completed"||s?.zeniSessionId==null||o==null||(n!=null&&r.saveLastUsedMagicLinkToken(n),r.saveSignedInUserWithSession(s,s.zeniSessionId),r.saveSignedInUserTenants(J(y.tenantsInOrder),s.zeniSessionId),K(s.userId,s.zeniSessionId,o.tenantId),t(Q(o.tenantId)),r.saveActiveTenantDomainForUser(o.tenantEmailDomain),t(X("Completed")),P.updateAppLocaleID(ie(o)),ae(s,o,v,void 0,y.tenantsInOrder),Y().then(()=>{const e=R();e!=null&&V(e)}),setTimeout(()=>{A.trackLogin(N.Event.loginSuccess,"email",Z(o.productSettings))},2e3))},[I,S,k,s,o,y,v,a.state,t]);const E=g.useCallback(()=>{f("/signin/auth")},[f]),F=g.useCallback(()=>{i!=null&&d!=null&&c!=null&&t(ee(i,c,d))},[i,d,t,c]),G=g.useCallback(e=>{i!=null&&n!=null&&c!=null&&d!=null&&t(te(e,i,c,d))},[i,n,t,c,d]);if(h==="Completed"&&d!=null)return u.jsx(q,{phoneNumber:C,verifyOtpFetchState:D.fetchState,resendVerifyDeviceOTPFetchState:T,onResendOtp:F,onVerifyOtp:G,onCancelVerifyDevice:E});if(I==="In-Progress"&&S==="Completed"&&s?.zeniSessionId!=null&&o!=null||z!=null){const e=a.state?.origin??"/";return u.jsx(j,{to:e,state:{...a.state,origin:""}})}if(!x(n,p)||m==null||h==="Error"){const e=a.state?.origin??"/",L=n!=null&&r.getLastUsedMagicLinkToken()===n;return u.jsx(j,{to:e,state:{...a.state,origin:"",magicLinkAlreadyUsed:L,magicLinkExpired:!L&&(r.isMagicLinkTriggered(n??"")||h==="Error"&&s?.zeniSessionId==null)}})}return u.jsx(oe,{"data-testid":"smooth-loader",children:u.jsx(B,{size:"ExtraLarge",start:!0})})}const oe=ne.div`
|
|
2
|
-
position: fixed;
|
|
3
|
-
top: 0;
|
|
4
|
-
left: 0;
|
|
5
|
-
right: 0;
|
|
6
|
-
bottom: 0;
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
justify-content: center;
|
|
10
|
-
z-index: 9999;
|
|
11
|
-
background-color: ${t=>t.theme.colors.background};
|
|
12
|
-
`;export{Le as default};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import{r as s,O as n,V as t,ap as l,o as r,d as a,bX as c,l as d}from"./index-BVjkKCLf.js";import{n as i}from"./mui-Bjwhey0L.js";import"./sentry-Bsfq8iFp.js";import"./pdf-DJ-oF9-h.js";import"./zeni-epic-state-CjVTQ4J3.js";import"./core-tQbf9q8c.js";import"./lottie-C1jDoN6L.js";import"./liveblocks-ClmZMiZG.js";import"./recharts-DxWcXnAv.js";import"./dnd-C4z4yHh0.js";import"./analytics-BwviiuqB.js";import"./plaid-CFQSLZ5I.js";import"./utils-BxRS7J8i.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="b44373d2-1645-4384-931f-f14bdbf29516",e._sentryDebugIdIdentifier="sentry-dbid-b44373d2-1645-4384-931f-f14bdbf29516")}catch{}})();const T=()=>{const[e]=s("Confetti"),o=n.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(p,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(b,{children:t.jsx(u,{})}),t.jsxs(m,{children:[t.jsx(f,{children:o.successTitle}),t.jsx(g,{children:o.successNote})]})]}):null},p=i.div`
|
|
2
|
-
z-index: 999;
|
|
3
|
-
height: 100vh;
|
|
4
|
-
width: 100%;
|
|
5
|
-
background-color: ${e=>e.theme.colors.background};
|
|
6
|
-
position: relative;
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
justify-content: center;
|
|
10
|
-
`,m=i.div`
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
align-items: center;
|
|
14
|
-
justify-content: center;
|
|
15
|
-
opacity: 80%;
|
|
16
|
-
margin: 0 ${r.sp4};
|
|
17
|
-
`,f=i(c)`
|
|
18
|
-
color: ${e=>e.theme.colors.primary};
|
|
19
|
-
text-align: center;
|
|
20
|
-
`,g=i(d)`
|
|
21
|
-
color: ${e=>e.theme.colors.hero};
|
|
22
|
-
text-align: center;
|
|
23
|
-
`,b=i.div`
|
|
24
|
-
position: absolute;
|
|
25
|
-
top: ${r.sp5};
|
|
26
|
-
left: ${r.sp5};
|
|
27
|
-
background-color: ${e=>e.theme.colors.background};
|
|
28
|
-
`,u=i(a)`
|
|
29
|
-
color: ${e=>e.theme.colors.primary};
|
|
30
|
-
height: ${r.sp4};
|
|
31
|
-
`;export{T as default};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import{J as f,O as u,b as o,V as r,o as a,c6 as h,at as $,u as i}from"./index-BVjkKCLf.js";import{n as g}from"./mui-Bjwhey0L.js";import{C as y}from"./LabeledAddressValueField-D3_DsNPu-736YXF_H.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="a476fed1-8962-4ceb-800c-4cd7d57f3c60",e._sentryDebugIdIdentifier="sentry-dbid-a476fed1-8962-4ceb-800c-4cd7d57f3c60")}catch{}})();const s={largeLabelWidth:new o(120,140,220),paddingTopBottom:new o(i[3],i[3]),marginRight:new o(i[3],i[8]),marginLeft:new o(i[3],i[6]),marginLeftTitle:new o(i[4],i[6])},D=({sectionId:e,addressToEdit:d,addressType:n,isDisabled:m,onAddressClick:p})=>{const l=f(),t=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,c=s.largeLabelWidth.value(l);return r.jsxs(r.Fragment,{children:[r.jsx(v,{size:l,children:t.addressDetailTitle}),r.jsx(x,{size:l,children:r.jsx(y,{isDisabled:m,label:{label:t.address,width:c},addressValueField:{name:w(e,"mailingAddress"),placeholder:h(t.address),defaultValue:d,registerOptions:{validate:b=>b!=null},onClick:()=>{p(n)}},additionalInfoLabel:t.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,d)=>`${e}.${d}`,x=g.div`
|
|
2
|
-
width: auto;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
6
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
7
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
8
|
-
border-radius: ${a.sp2};
|
|
9
|
-
margin-left: ${e=>s.marginLeft.valuePx(e.size)};
|
|
10
|
-
margin-right: ${e=>s.marginRight.valuePx(e.size)};
|
|
11
|
-
margin-top: ${e=>s.paddingTopBottom.valuePx(e.size)};
|
|
12
|
-
margin-bottom: ${e=>s.paddingTopBottom.valuePx(e.size)};
|
|
13
|
-
&:hover {
|
|
14
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
15
|
-
}
|
|
16
|
-
`,v=g($)`
|
|
17
|
-
color: ${e=>e.theme.colors.primary};
|
|
18
|
-
margin-bottom: ${a.sp3};
|
|
19
|
-
margin-top: ${a.sp5};
|
|
20
|
-
margin-left: ${e=>s.marginLeftTitle.valuePx(e.size)};
|
|
21
|
-
`;export{D as T};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as M}from"./pdf-DJ-oF9-h.js";import{a as d}from"./sentry-Bsfq8iFp.js";import{i as pe,u as a,l as Qe,h as Xe,j as qe,g as P}from"./core-tQbf9q8c.js";import{cs as he,cA as ea,cB as Se,cu as aa,bm as ta,cL as na,cC as sa,cD as oa,cF as ia,cJ as ra,cU as da,cK as g,cN as ca,cO as ue,cR as la,cP as ua,cQ as ma,cS as fa,cT as ba,cW as pa,bO as ha,bt as Sa,d0 as ga,c_ as Ea,c$ as ka,cZ as Ca}from"./zeni-epic-state-CjVTQ4J3.js";import{jX as ya,jY as Ia,w as Ta,aE as wa,je as k,jd as _a,aG as r,jZ as Aa,j_ as Fa,t as Da,jj as $a,j$ as va,jU as ja,k0 as Ba,k1 as Pa,k2 as me,k3 as fe,jf as Ra,k4 as xa,k5 as be,jl as R,jA as w,k6 as x,k7 as Ma}from"./index-BVjkKCLf.js";import{D as Na}from"./mui-Bjwhey0L.js";(function(){try{var m=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new m.Error().stack;c&&(m._sentryDebugIds=m._sentryDebugIds||{},m._sentryDebugIds[c]="5df5dcee-09f1-4ef7-a2d0-6b015fb8d177",m._sentryDebugIdIdentifier="sentry-dbid-5df5dcee-09f1-4ef7-a2d0-6b015fb8d177")}catch{}})();const Ua=ya(({isAppContentDrawerOpen:m,handleDrawerToggle:c})=>{const{tenantEmailDomain:t}=Qe(),n=Xe(),C=Ta(),o=qe(),N=aa(),f=pe(),{useFeatureGate:i}=wa(),U=k.getSignedInUser(),_=ta(U),s=a(e=>he(e)),V=a(e=>na(e)),G=V.uiState.currentChatSessionId,[ge,Ee]=d.useState(!1),{setLoading:ke}=_a(),[A,O]=d.useState(void 0),F=P("/:tenantEmailDomain/dashboard")!==null,L=P("/:tenantEmailDomain/reports")!==null,y=P("/:tenantEmailDomain/onboarding/*")!==null,{isFeatureEnabled:Y}=i(r.isDepositAccountsFeatureEnabled),{isFeatureEnabled:Ce}=i(r.isChargeCardFeatureEnabled),{isFeatureEnabled:Z}=i(r.isDebitCardFeatureEnabled),ye=Aa(s,Ce,Z),{isFeatureEnabled:Ie}=i(r.isSettingsFeatureEnabled),z=a(e=>sa(e)),{isFeatureEnabled:I}=i(r.isReferralFeatureEnabled),[H,Te]=d.useState(!1),D=a(e=>oa(e));d.useEffect(()=>{H===!1&&I&&!y&&D.fetchState==="Not-Started"&&(Te(!0),f(ia(!0)))},[I,H,D.fetchState,y]);const h=k.getSignedInUser(),$=a(e=>e.tenantState),we=a(e=>$.fetchState==="Completed"?ra(e):[]),E=a(e=>e.expenseAutomationViewState.selectedPeriodByTenantId),{isFeatureEnabled:_e}=i(r.isApAgingFeatureEnabled),{isFeatureEnabled:Ae}=i(r.isArAgingFeatureEnabled),{isFeatureEnabled:W}=i(r.isExpenseAutomationEnabled),{isFeatureEnabled:J}=i(r.isExpenseAutomationEnabledV2),K=J||W&&_,{isFeatureEnabled:Fe}=i(r.isDashboardSidebarHalloweenAnimationEnabled),{isFeatureEnabled:De}=i(r.isDashboardSidebarThanksGivingAnimationEnabled),{isFeatureEnabled:$e}=i(r.isDashboardSidebarChristmasAnimationEnabled),{isFeatureEnabled:ve}=i(r.isDashboardSidebarNewYearAnimationEnabled),{isFeatureEnabled:je}=i(r.isTreasuryEnabled),{isFeatureEnabled:Be}=i(r.isTaskManagerCustomerUserAccessEnabled),Pe=_||!_&&Be,Re=s.company!=null&&da(s.company),T=je&&Re,xe=a(e=>g(e).totalUnreadCount),Me=a(e=>g(e).reducedFetchCountState),Q=a(e=>g(e).notificationDetailsByTab.tasks.uiState.unreadCount),X=a(e=>g(e).notificationDetailsByTab.comments.uiState.unreadCount),Ne=a(e=>g(e).notificationDetailsByTab.tasks.fetchCountState),v=a(e=>g(e).notificationDetailsByTab.comments.fetchCountState),{inboxNotifications:q,isLoading:ee,isFetchingMore:ae,hasFetchedAll:te,fetchMore:Ue}=Fa();d.useEffect(()=>{const e=setTimeout(()=>Ue?.(),0);return()=>clearTimeout(e)}),d.useEffect(()=>{if(ee===!1&&ae===!1&&te===!0)if(s?.companyId!=null&&q!=null){const e=`dashboard_${s.companyId}`;O(q.filter(u=>u.roomId===e&&u.readAt==null).length)}else O(0)},[ee,ae,te]),d.useEffect(()=>{y||Ne.fetchState!=="Not-Started"||N.tenantId==null||ge||(Ee(!0),f(ca("task_manager","dashboard")))},[N.tenantId]),d.useEffect(()=>{y||v.fetchState!=="Not-Started"||f(ue({fetchCountState:{fetchState:"In-Progress",error:void 0}},"comments"))},[]),d.useEffect(()=>{A!=null&&v.fetchState==="In-Progress"&&(f(ue({fetchCountState:{fetchState:"Completed",error:void 0}},"comments")),f(Se({unreadCount:A},"comments")))},[A,v.fetchState]);const Ve={fetchStatus:Me,count:xe},ne=t!=null?k.getSignedInUserTenant(t):null,se=a(e=>ne?.tenantId!=null?la(e,ne.tenantId):void 0),S=[];_e===!1&&S.push("accounts_payable_aging"),Ae===!1&&S.push("accounts_receivable_aging"),Y===!1&&S.push("zeni_accounts_promo_card"),I===!1&&S.push("rewards_card"),K===!1&&S.push("expense_automation_card");const Ge=Da(),oe=a(e=>ua(e,S,h,J,W,T).fetchState),ie=a(e=>ma(e).fetchState),Oe=F&&(oe==="Completed"||oe==="Error")||L&&(ie==="Completed"||ie==="Error")||!F&&!L?void 0:"disabled",Le=d.useMemo(()=>fa(s.userRole),[s.userRole]),Ye=ba(Le),Ze=s?.rewardsLastViewedTime==null,ze=h?.userEmail!=null&&z.fetchState==="Completed"&&pa(z.notificationSettings,h.userEmail,Z,s),re=$a(),He=re&&va(n),de=ha(Ge?.loggedInUserRoleMap),ce=s.companyTreasuryInfo?.info?.isTreasuryTOSAccepted,j=d.useCallback(()=>T&&de&&!k.getTreasuryPopupSeen(t??"")&&ce===!1&&ja(n.pathname)!=="treasury",[T,de,ce,n.pathname,t]),[We,le]=d.useState(j);d.useEffect(()=>{le(j())},[j]);const Je=a(e=>e.treasurySetupViewState.treasuryFundsDetails).fundsDetails,Ke=Ba(Je);return M.jsx(Na,{container:window.document.body,variant:"temporary",open:m,onClose:()=>c(!1),PaperProps:{sx:{width:240,zIndex:8,borderRight:"none",backgroundImage:"none"}},ModalProps:{keepMounted:!0},children:M.jsx(Pa,{signedInUser:U,currentTenantId:$.currentTenantId??"",tenants:$.fetchState==="Completed"?we:se!=null?[se]:[],currentTenant:s,isTenantDropdownDisabled:Oe,isSettings:fe(n),isSettingsFeatureEnabled:Ie,isVendorsTabVisible:Ye,isZeniAccountEnabled:Y,isChargeCardEnabled:ye,isTreasuryEnabled:T,treasuryYieldPercentage:Ke,isTreasuryPopupVisible:We,isNotificationsTabVisible:ze,notificationCountDetails:Ve,isExpenseAutomationEnabledForUser:K&&Sa(s.userRole)===!1,selectedMenu:me(n),rewardsConfiguration:{isRewardsTabVisible:I,isRewardsAnimated:Ze,rewardsPlan:D.rewardsPlan},isAiCfoAccessEnabled:re,onNotificationIconClick:()=>{c(!1);let e=Q===0&&X>0?"notifications/comments":"notifications/tasks";fe(n)&&(e=Q===0&&X>0?"../../notifications/comments":"../../notifications/tasks");const u=w(n.state?.pathnameStackToGoBack,n.pathname);o(e,{state:{pathnameStackToGoBack:u}})},handleCockpitClick:()=>{window.open("/cockpit")},handleLogOutClick:()=>{c(!1);const e=w(n.state?.pathnameStackToGoBack,n.pathname);o("/signout",{replace:!0,state:{pathnameStackToGoBack:e,message:"logout"}})},handleMenuChange:e=>{if(c(!1),e.type==="ai_cfo"){const p=w(n.state?.pathnameStackToGoBack,n.pathname);return R.trackAICFOChatScreenStateChanged("viewed","left_menu",G??null,null),void o(`/${t}/ai-cfo/explore`,{state:{pathnameStackToGoBack:p,referrer:"Sidebar"}})}const u=w(n.state?.pathnameStackToGoBack,n.pathname),l=e.type,b=x(l)&&l!=="command_center";if(x(e.type)&&E[s.tenantId]!=null&&R.trackMonthEndCloseClicked(E[s.tenantId].month,E[s.tenantId].year,"Sidebar"),b&&E[s.tenantId]!=null){const p=E[s.tenantId];return void o(`/${t}/month_end_close_checks/review/${e.type}/${p.month}-${p.year}`,{state:{pathnameStackToGoBack:u,referrer:"Sidebar"}})}const B=Ma(e.type);be(e.type)?(G!=null&&f(Ca()),o(`/${t}/ai-cfo/${e.type}`,{state:{pathnameStackToGoBack:u.slice(0,-1),referrer:"Sidebar"}})):o(`/${t}/${B}`,{state:{pathnameStackToGoBack:u,referrer:"Sidebar"}})},handleMyProfileClick:()=>{c(!1),o(`/${t}/settings/my_profile`)},handleReferralsClick:()=>{c(!1),o(`/${t}/rewards`)},handleBackClick:()=>{o(`/${t}/dashboard`)},handleTenantSelect:e=>{ke(Ra.TENANT_SWITCHING),c(!1);const u=e.tenantEmailDomain,l=me(n);let b=`/${encodeURIComponent(u)}/`;const B=x(l);l==="home"?b+="dashboard":l==="users_and_roles"?b+="people":xa(l)?b+="settings/my_profile":be(l)?b+=`ai-cfo/${l}`:b+=l==="task_checklist"?"tasks":B?"month_end_close_checks/review":encodeURIComponent(l),o(b,{replace:!0}),h!=null&&(f(Ea(e.tenantId)),f(ka(h.userId,e.tenantId,h.zeniSessionId)));const p=e;R.trackCompanySwitch(p.companyId,p.companyName,p.userRole)},handlePopupClose:()=>{k.saveTreasuryPopupSeen(t??"",!0),le(!1)},onZeniLogoClick:()=>{C.toggle()},isAiCfo:He,aiCfoView:V,isOnDashboard:F,updateCurrentChatSessionId:e=>{f(ga({sessionId:e,agentId:"controller"})),o(`/${t}/ai-cfo/${e}`)},halloweenAnimationEnabled:Fe,isTaskManagerAccessEnabled:Pe,thanksGivingAnimationEnabled:De,christmasAnimationEnabled:$e,newYearAnimationEnabled:ve})})}),za=m=>{const c=pe(),t=a(C=>he(C)),n={events:t.userRoleId!=null?[`private-${t.userRoleId}.dashboard-user-notification`]:[],eventCallback:(C,o)=>{Ia(o)&&ea(o.mode)==="dashboard"&&c(Se({unreadCount:o.data.unread},"tasks"))}};return M.jsx(Ua,{...m,...n})};export{za as M};
|