@zeniai/web-cockpit-ui 1.15.68-prod → 2.0.0-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/Preview-C3kztGrG.js +1 -0
- package/dist/assets/ScreenRoutes-5hC3wQD-.js +179 -0
- package/dist/assets/SignInScreen-Bw3kDJOY.js +1 -0
- package/dist/assets/{analytics-D0xbCiOA.js → analytics-Ci62SVC6.js} +15 -15
- package/dist/assets/analyticsHelper-DvZ4fRLz.js +1 -0
- package/dist/assets/{core-VVne9A9m.js → core-CrJ0HRkP.js} +2 -2
- package/dist/assets/{dash.all.min-CZdKQs3q.js → dash.all.min-BC3O3eK3.js} +1 -1
- package/dist/assets/{empty-BxIsRmiL.js → empty-DCdjTxMk.js} +1 -1
- package/dist/assets/{index-CW-pqTwR.js → empty-DewRN75u.js} +1 -1
- package/dist/assets/epic-ButtTfPO.js +2 -0
- package/dist/assets/{index-D0xGm0tM.js → index-BHVDlT_9.js} +1 -1
- package/dist/assets/{index-0sfOIAIW.js → index-BIzFhK6B.js} +1 -1
- package/dist/assets/index-BnSSVzJm.js +1 -0
- package/dist/assets/index-C1011MmK.js +2 -0
- package/dist/assets/index-CS2xkLsB.js +1 -0
- package/dist/assets/index-DrEiJ4Wx.js +1 -0
- package/dist/assets/index-Obh2uEoj.js +75311 -0
- package/dist/assets/{lexical-0vG0lfLn.js → lexical-Y1MbDrft.js} +1 -1
- package/dist/assets/{liveblocks-abv8TgYe.js → liveblocks-CH5Ytl_r.js} +1 -1
- package/dist/assets/{lottie-DehW2chz.js → lottie-jJKhsKLZ.js} +2 -2
- package/dist/assets/{mui-DOS4CfBc.js → mui-DzLLS9Rs.js} +2 -2
- package/dist/assets/{react-C3bwNlEv.js → react-9Kj1B1wt.js} +2 -2
- package/dist/assets/{react-0muarBdd.js → react-BLe964tg.js} +3 -3
- package/dist/assets/{react-DGIuy5RW.js → react-CNU9DWBw.js} +1 -1
- package/dist/assets/{react-DGupjeTm.js → react-C_qk_SxL.js} +2 -2
- package/dist/assets/{react-BX1V71Rc.js → react-CdND5srH.js} +2 -2
- package/dist/assets/{react-BKlbvdVi.js → react-D1VJKwtS.js} +2 -2
- package/dist/assets/{react-BQ6Phht1.js → react-D1lzTawy.js} +2 -2
- package/dist/assets/{react-Bf7WBvpI.js → react-DRO7qhGA.js} +4 -4
- package/dist/assets/{recharts-BBlqu8Rz.js → recharts-DE-kxplH.js} +25 -25
- package/dist/assets/{sentry-DBhcw6Be.js → sentry-SNkBC2Al.js} +2 -2
- package/dist/assets/{url-CSfgHOtI.js → url-C9VCVVAZ.js} +1 -1
- package/dist/assets/url-h1qG-NI4.js +1 -0
- package/dist/assets/{utils-DT6Wq-eT.js → utils-CpsqBQqv.js} +1 -1
- package/dist/assets/zeni-epic-state-B7yJI5lR.js +14 -0
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-B5qIuZya-DM7YY1FB.js +0 -21
- package/dist/assets/AIPerformancePage-BHB45mP--CWndWSdC.js +0 -539
- package/dist/assets/AccountInfoPage-Cd5xYT1g-BbefpV-7.js +0 -18
- package/dist/assets/AccountInfoPageContent-CJ7ycVIK-5M9LxJhG.js +0 -149
- package/dist/assets/AccountLockedInfoModal-Dox7IuAX-BMD0s6gP.js +0 -59
- package/dist/assets/AccountReconDetailsDrawerPage-Bqty08m0-B-ibKIL7.js +0 -239
- package/dist/assets/AccountRow-D1cjRJJD-brXv0bxV.js +0 -298
- package/dist/assets/AccountsPromoCardStack-Bs3naJHM-CnqFEGey.js +0 -207
- package/dist/assets/AddAddressForCardDrawer-DZkBMJfp-C4r6mehv.js +0 -6
- package/dist/assets/AddToWalletPage-CyRfqVDB-BdTdHS85.js +0 -344
- package/dist/assets/AgingReportsPage-xBFff3BM-ky-EAGcf.js +0 -79
- package/dist/assets/AllUserItems-BJf6WPDo-Deh60Xs6.js +0 -192
- package/dist/assets/ApAgingDetailPage-CjBrPyi8-Drme0iaF.js +0 -46
- package/dist/assets/AppBasePage-CqDm-hnV-gy7t8mSc.js +0 -71
- package/dist/assets/AppDrawerContent-CVVWj66i-CgQm4R5E.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-Cckd2uVA-CdSeUeuR.js +0 -47
- package/dist/assets/ArAgingChart-CBsqOd-4-CM7YnEql.js +0 -24
- package/dist/assets/ArAgingDetailPage-i7JObt60-DiaDa_kU.js +0 -46
- package/dist/assets/AttachmentView-CzC4skJ3-DSp7S_ow.js +0 -101
- package/dist/assets/BalancesInsightWithToolTip-B6umvmgL-B0jviFnz.js +0 -38
- package/dist/assets/BankAccountSection-Di4sF52j-CjUG2k4c.js +0 -79
- package/dist/assets/BankAccountWarningSection-Cled-2cR-DDIv4R5M.js +0 -51
- package/dist/assets/BankConnectionsSettingsPage-Ccnzq7st-BhXmaxPm.js +0 -425
- package/dist/assets/BillDetailPage-XXOwBfO1-DxWLoxsB.js +0 -266
- package/dist/assets/BillPayApprovalRuleDetailPage-DFZ0csaT-D62XtRWM.js +0 -27
- package/dist/assets/BillPayApprovalRulesPage-COCypDcS-CxH1-1ro.js +0 -241
- package/dist/assets/BillPayPromoPage-DOE2YIqC-BRNhZmcV.js +0 -84
- package/dist/assets/BillPaySetUpPage-BCJbZDsV-EdWAn7sO.js +0 -42
- package/dist/assets/BillingSettingsPage-iImtlEmO-oLToelCa.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-B11GWM_0-BmGfxE4w.js +0 -1
- package/dist/assets/BoxItem-Bxa1M4QU-CY-vorJI.js +0 -53
- package/dist/assets/BusinessVerificationPage-DSuJFoW1-Xi-gZLue.js +0 -138
- package/dist/assets/CardNumberSubText-_ZZbaz_k-BDqMr1hm.js +0 -21
- package/dist/assets/CashbackDetailPage-DAZXitLt-kEgVWuyi.js +0 -285
- package/dist/assets/ChargeCardDetailPage-B1VIpASk-BGlRije7.js +0 -1467
- package/dist/assets/ChargeCardListPage-BOBepN-x-DtybfgKA.js +0 -412
- package/dist/assets/ChargeCardListTable-YznzSsJo-DoULf2wO.js +0 -711
- package/dist/assets/ChargeCardPaymentHistoryPage--jOwsMla-Bzj0wTwy.js +0 -565
- package/dist/assets/ChargeCardPromoPage-DIfakIOK-BNvT1cxv.js +0 -222
- package/dist/assets/ChargeCardSetupPage-0bpVkeJs-Bkuwwfuy.js +0 -36
- package/dist/assets/ChargeCardStatementsPage-ChWyQlw6-CbdQ3AHt.js +0 -60
- package/dist/assets/CheckDepositDrawerPage-BS7hnyZn-kNVwtOWy.js +0 -206
- package/dist/assets/CollapsableReportTable-DNfFkAts-cgYLh83Q.js +0 -2982
- package/dist/assets/CompanyOfficerDetailsSection-CrOIN4IW-B9X3JGYF.js +0 -331
- package/dist/assets/CompanyPassportCard-CkzYFTrp-BcZUZqNN.js +0 -42
- package/dist/assets/CompanyPassportPage-FE6yli6h-DWhiSjrR.js +0 -417
- package/dist/assets/CompleteProfile-Cb8i1XgZ-BP6okX49.js +0 -52
- package/dist/assets/ConfettiBurst-BZCXEGYA-ho8ERS31.js +0 -1
- package/dist/assets/ConstrainedInnerElement-CgdnMeoA-Cv85URYx.js +0 -5
- package/dist/assets/CreateOrEditVendorPage-CzpSgxbO-2ilw068v.js +0 -281
- package/dist/assets/CreditCardPaymentDrawerPage-c_q0MsSO-CoTzu5XT.js +0 -227
- package/dist/assets/CurrencySelectField-BAh7SHrG-CBSRpu74.js +0 -139
- package/dist/assets/CustomerOnboardingActivationPage-f3Aa6E5r-DcPBpEPv.js +0 -88
- package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-DAhlgLSo.js +0 -1
- package/dist/assets/CustomerOnboardingDetailPageSkeleton-DYuiWn8s-DBRyrBpA.js +0 -162
- package/dist/assets/CustomerOnboardingNoStepsPage-Bh_F0-oC-ui07nfsA.js +0 -66
- package/dist/assets/CustomerOnboardingPage-B9hSO88_-BFSPGucc.js +0 -107
- package/dist/assets/CustomerOnboardingProductSuitePage-CG0HKCpQ-CTl3yjRz.js +0 -202
- package/dist/assets/Dashboard-BJ_oIHab-nrsDE6qS.js +0 -1611
- package/dist/assets/DashboardReportPage-BemzMw2e-D89HJr4G.js +0 -371
- package/dist/assets/DashboardSidebarBackgroundAnimation-BtA5oEGG-Dlhefpu7.js +0 -12
- package/dist/assets/DepositAccTransactionItem-CyFi1P_L-BDRqwizb.js +0 -76
- package/dist/assets/DepositAccTransactionListPage-DvBRRUdZ-DIdaGFeH.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-DCDo3aHI-kEBCfOTM.js +0 -21
- package/dist/assets/DownloadOverlay-D_lL1sPW-xWfuT0Vo.js +0 -439
- package/dist/assets/DrawerPage-DesxXhZk-CRre4dYu.js +0 -118
- package/dist/assets/EditPeoplePage-QvPy_Six-DH4hfGb_.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-C0ZDkboO-DXyrjaYc.js +0 -865
- package/dist/assets/EntityDetailPage-l7nXIsyF-5oCAhXWK.js +0 -18
- package/dist/assets/EntitySummarySection-BwX0a4JL-zcla-D8w.js +0 -151
- package/dist/assets/ExpenseAutomationOverviewPage-EdyHjbff-MnqvBISM.js +0 -281
- package/dist/assets/ExpenseAutomationPage-DA22Qofw-D083tvHO.js +0 -3001
- package/dist/assets/ExpressPayPage-EMP6inpX-3XG4gLSI.js +0 -168
- package/dist/assets/FeaturePreviewPage-SYJm-3aR-DqyedTbe.js +0 -11
- package/dist/assets/FollowStepsSection-BxESVqJD-Cg2jHWRs.js +0 -390
- package/dist/assets/GlobalReviewListPage-D5_ACa-q-D3OrFPtp.js +0 -291
- package/dist/assets/InformationCardStack-B_qQUEYD-DttLY3HS.js +0 -31
- package/dist/assets/InsightsCardStack-BsQzoVzj-Dk9dJ9p5.js +0 -79
- package/dist/assets/InsightsSection-B6CNlTNH-BdZRn5zX.js +0 -27
- package/dist/assets/IntegrationsSettingsPage-DP6fAccq-LBB3bZYV.js +0 -57
- package/dist/assets/InternationalWireSwiftDetailsPage-VdG7bDZi-CfZjD-fy.js +0 -171
- package/dist/assets/InternationalWireVerificationPage-COC6lZml-DC50drx7.js +0 -65
- package/dist/assets/InviteFormPage-DN02jRy5-Buy4T1zp.js +0 -312
- package/dist/assets/InvitePageListView-CP4K9tJi-CHkbuC7f.js +0 -739
- package/dist/assets/InvitePeoplePage-VTM6kM1u-CU4p_G8a.js +0 -12
- package/dist/assets/InvoiceUploadSection-it-ZYl1N-XsZhHn3v.js +0 -140
- package/dist/assets/IssueChargeCardPage-CVfuvGey-C6KQpSo7.js +0 -532
- package/dist/assets/LabeledAddressValue-DDrQcHIE-hP7vwQBZ.js +0 -49
- package/dist/assets/LabeledAddressValueField-BgWwd5Gw-DFe8vIUL.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-CcPO1k23-CU-iLMSG.js +0 -16
- package/dist/assets/LabeledCountryMultiSelectField-BYYjzwUG-DXWiTuV-.js +0 -237
- package/dist/assets/LabeledCreatableSingleSelectField-CISYMojq-DqRsgtUm.js +0 -208
- package/dist/assets/LabeledDocumentField-C_bcFxdY-DJ7-SOXf.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-ScGGCap8-mVsgmCkO.js +0 -59
- package/dist/assets/LabeledText-C8Y7EOsX-DEEaYkeb.js +0 -42
- package/dist/assets/LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-D4KRCLOC.js +0 -229
- package/dist/assets/LabeledZeniRolesDropDownField-BZtreVpj-D7w5kOCp.js +0 -297
- package/dist/assets/LinkJETransactionPage-CKq4oiX9-ltE4XV_6.js +0 -98
- package/dist/assets/LockCardPage-CZENNby7-BsVSJBxy.js +0 -623
- package/dist/assets/LowBalancePopup-1727S1ri-Ch0sQQf3.js +0 -34
- package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu--EXqRjnH.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-DyDKS580.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-BwOG2bc6.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-QMkZgQLG-BLATYjDj.js +0 -31
- package/dist/assets/MagicLinkTitleSection-CARU1oLQ-B0cyw7Mk.js +0 -17
- package/dist/assets/MailingDetailsSection-ByOPaJ05-DHEttRbi.js +0 -21
- package/dist/assets/MyBankConnectionsSettingsPage-BdgIIhL1-Dxh6kCPM.js +0 -110
- package/dist/assets/MyPendingActivationChargeCardListPage-CX38bDdq-ClsHkhfI.js +0 -6
- package/dist/assets/MyProfileSettingsPage-DYu0Fx6I-CkZmnWdK.js +0 -85
- package/dist/assets/NavBarWithPicker-CGGEvLwe-DZ7VBJBK.js +0 -30
- package/dist/assets/NavigationArrow-CTNkKUtV-DwVtEjKU.js +0 -47
- package/dist/assets/NavigationDots-Dvce3gHt-BhNbY-Jn.js +0 -15
- package/dist/assets/NewGlobalMerchantPage-D_f7z47T-CFtXtRiH.js +0 -160
- package/dist/assets/NoDataChart-CrKeqWSr-DnRwd0s-.js +0 -26
- package/dist/assets/NoDataTable-4vPXmPYF-0AXx0isj.js +0 -8
- package/dist/assets/NotFoundPage-BLWPU1wU-DmwpjiFz.js +0 -46
- package/dist/assets/NotificationSettingsPage-CDiDLX3A-9UeXvRF4.js +0 -163
- package/dist/assets/NotificationsListConfig-B5pDa4cJ-CViBSk1u.js +0 -1
- package/dist/assets/NotificationsPage-Ccl7Dny1-DO1DVf8y.js +0 -685
- package/dist/assets/OpExByVendorPage-spd-nKV4-BYZguWNQ.js +0 -100
- package/dist/assets/OverlayContainerPage-BG9y5C0t-XSUpPkb1.js +0 -11
- package/dist/assets/PandLWithForecastPage-TSoe4Z7F-DADbKlaU.js +0 -123
- package/dist/assets/PaymentAccountSetupBillingAddressSection-9ma8SpIa-DnLcaoHi.js +0 -107
- package/dist/assets/PeoplePage-b5_I0qOw-DREebsk9.js +0 -727
- package/dist/assets/Preview-DkS-Ppwi.js +0 -1
- package/dist/assets/ProductsCarousel-C3M0ocdF-CqKUYrUp.js +0 -142
- package/dist/assets/PromoBaseCards-BOGJI2ws-HYGeFCqU.js +0 -218
- package/dist/assets/QBOConnectionDialog-CmpnnuzP-5mKGNZm7.js +0 -51
- package/dist/assets/QBOSetupSection-DjnN9dgv-D9sOi7j3.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-D5NXjrO9-CSFmXSBt.js +0 -32
- package/dist/assets/ReimbursementApprovalRulesPage-BsCTIqUJ-BciPnq07.js +0 -243
- package/dist/assets/ReimbursementDetailPage-BbyxE2uL-CCn1M_IM.js +0 -314
- package/dist/assets/ReimbursementPromoPage-CyEgwqcf-QZKK6RXF.js +0 -84
- package/dist/assets/ReimbursementSetUpPage-RETPkEQd-7RlERPSK.js +0 -140
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DnmYl0FM-B6Bppczb.js +0 -1
- package/dist/assets/ReloadCard-Bdoo0XiI-BkT_TrPt.js +0 -26
- package/dist/assets/ReportTableViewSelector-Bc1K7mU_-BcXnhDrl.js +0 -151
- package/dist/assets/ReportsPage-BOTHMLWh-C7yXcceR.js +0 -269
- package/dist/assets/RevenueChart-DvyZ3aO7-ln4Xbq3A.js +0 -280
- package/dist/assets/ReviewDetailsPage-BIMg1n2e-DlA-53yQ.js +0 -290
- package/dist/assets/ReviewOverlay-CxwoiOLC-DmcvjVCl.js +0 -152
- package/dist/assets/RoleWithToolTip-Ct3_VuDM-BKP6CsTd.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-DiL5Dozk-DCavU86U.js +0 -37
- package/dist/assets/ScheduleDetailsPage-5FWpLRtd-CO7mo75a.js +0 -37
- package/dist/assets/ScheduleSequenceTable-R3-PsXES-i-4DMkvc.js +0 -326
- package/dist/assets/ScreenRoutes-D-ddKpF8.js +0 -179
- package/dist/assets/SetUpAccountSection-CctbMmoK-ZyErAiPF.js +0 -378
- package/dist/assets/SignIn-CmgmnRm4-DBoFBrvr.js +0 -491
- package/dist/assets/SignInScreen-DCSGviBr.js +0 -1
- package/dist/assets/SpendManagementListViewPage-CFUxCqkU-dAFL_Ppz.js +0 -134
- package/dist/assets/SpendManagementPerTabPage-C-kqNTci-Udt5CTX9.js +0 -754
- package/dist/assets/SpendManagementSection-CIz4nE_w-0q2VpGOz.js +0 -246
- package/dist/assets/StatementItem-vVtoBN2w-CiKnbbLX.js +0 -31
- package/dist/assets/StatementsPage-As5WOnMR-D0_TDe23.js +0 -58
- package/dist/assets/StatusSwitcher-Bv-ozN6U-Uu-9K_ZT.js +0 -120
- package/dist/assets/SubTabSwitcher-D7QeM6nb-Cvhnug-S.js +0 -58
- package/dist/assets/SummaryCard-C2qoTsAY-AZ17zAeW.js +0 -1
- package/dist/assets/TaskManagementPage-BJwp32Ph-DTb1_fWh.js +0 -508
- package/dist/assets/TimeRangeSwitcher-D00bDDhP-DMLJ4CgT.js +0 -64
- package/dist/assets/TimeframeSwitcher-DA99HdHt-B7dPmR3A.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-DyggDIQj-BDMDYsLj.js +0 -53
- package/dist/assets/TopExCard-Z1WabZ8c-D9ahLOhN.js +0 -38
- package/dist/assets/TopExDetailPage-CzHG4f9E-DSsiHUw6.js +0 -132
- package/dist/assets/TransactionActivityLogPage-CGKnjNfU-DFi44yxk.js +0 -195
- package/dist/assets/TransactionDetailPage-1-mLOWSz-NZ0pEK8W.js +0 -903
- package/dist/assets/TransactionList-BB-xoIGm-CmL2sv-k.js +0 -153
- package/dist/assets/TransactionListBig-C5Sf5Xh--DUDOs_q9.js +0 -284
- package/dist/assets/TransactionListPage-Cj7h1Ros-BpKazEVH.js +0 -35
- package/dist/assets/TransactionVendorDetailPage-SsrSOk3O-BLmQC0O2.js +0 -80
- package/dist/assets/TransferDrawerPage-BvKZ7vHF-BDZmQek2.js +0 -362
- package/dist/assets/TreasuryOverviewPage-DwvjMR4_-BGYjEWMJ.js +0 -725
- package/dist/assets/TreasuryPromoPage-CtTFvSQW-B3Bvdh6x.js +0 -505
- package/dist/assets/TreasuryStatementsPage-Catz8shX-X_IYs6qa.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-D8hzCL5o-Da9lGvIi.js +0 -58
- package/dist/assets/TrendChart-Bnp4Pcdf-CJF7dKdP.js +0 -16
- package/dist/assets/TrendWithTransactions-3D1FvM8G-TXKeFcvZ.js +0 -116
- package/dist/assets/UncategorizedAccountsMappingPage-DbyY-dYB-D1dmyVJ4.js +0 -244
- package/dist/assets/UnitIntegrationPage-CTzme1te-CbgSnbxZ.js +0 -67
- package/dist/assets/UploadAdditionalDocumentOverlay-Wl4Spdpn-PlCykjL7.js +0 -38
- package/dist/assets/Vendor2FAPopup-D0zYKkIv-aIJ1NUXW.js +0 -1
- package/dist/assets/VendorACHDetailsPage-YYX9aQdw-D-OOHJou.js +0 -1
- package/dist/assets/VendorDetailPage-Br9wIOnI-De2XcUb6.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-BdL3didN.js +0 -1
- package/dist/assets/VendorFiling1099EditablePage-himC7iD3-C2XAIK9H.js +0 -175
- package/dist/assets/VendorFirstReviewPage-BbknTCBD-DDAQwDZy.js +0 -730
- package/dist/assets/VendorInternationalWireDetailsPage-CS595Xgc-C3mHhbHk.js +0 -152
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-C2v0qs8u.js +0 -1
- package/dist/assets/VendorsAccountsSection-CgSJu8wq-Ctj2nPMI.js +0 -68
- package/dist/assets/VerifyDevice-Dvf0JsNN-PRfKusRx.js +0 -112
- package/dist/assets/VideoPlayer-VAzOGCDL-6U91k2_g.js +0 -78
- package/dist/assets/VideoPopup-BqvZ-XIh-nZFpm96A.js +0 -31
- package/dist/assets/WarningsDrawerPage-DeNonoNp-Cer8JJKy.js +0 -92
- package/dist/assets/ZeniAccountDetailPage-GcwTJdB8-BghGtTMM.js +0 -300
- package/dist/assets/ZeniAccountListViewPage-CdwO0Duy-D-GLBesW.js +0 -443
- package/dist/assets/ZeniAccountNavBarPieces-BrSIfL36-2vSHgl5n.js +0 -33
- package/dist/assets/ZeniAccountPromoPage-JrcedQYB-DxQZiNCa.js +0 -184
- package/dist/assets/ZeniAccountSetupPage-TKBfbgzJ-CCXkWEma.js +0 -36
- package/dist/assets/ZeniCopyright-DglqrTpl-B_6mXo3q.js +0 -1
- package/dist/assets/ZeniTransferAmountSlider-BcaZZuAw-Dri2Vqf1.js +0 -63
- package/dist/assets/add-to-wallet-DgdBD8_G-2lJ5O5xD.js +0 -1
- package/dist/assets/agingReportHelper-ovKP-qSS-Cx4Hdid-.js +0 -1
- package/dist/assets/analyticsHelper-B3H0U8CW.js +0 -1
- package/dist/assets/analyticsHelper-CAYdbjhS-Bgy1SJeR.js +0 -1
- package/dist/assets/arrow-south-east-round-PEovUgvH-CH2rCMd8.js +0 -1
- package/dist/assets/auto-transfer-rule-mbafm5D3-Bwf-jWRn.js +0 -1
- package/dist/assets/chartTypes-CD3vrBsI-CxjFANZl.js +0 -1
- package/dist/assets/commonDimensions-Oz1tdAcx-C8J13a8y.js +0 -1
- package/dist/assets/commonTypes-5tEXwrX4-DThfJWJu.js +0 -1
- package/dist/assets/constants-B4Nwm03n.js +0 -1
- package/dist/assets/downloadPdf-Dsuxeias-IRIi2izs.js +0 -1
- package/dist/assets/empty-B6p9RErG.js +0 -1
- package/dist/assets/epic-CPlQ2CFE.js +0 -2
- package/dist/assets/getReferrerType-DjPOy76W-DRP5VHem.js +0 -1
- package/dist/assets/gift-box-Cmt9OgIZ-CmAMj3r2.js +0 -1
- package/dist/assets/graphic-no-data-l-DU4J8fDt-Db5RbWJE.js +0 -1
- package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-BEpZ9Tqr.js +0 -1
- package/dist/assets/handshake-BPg58FML-6UbFX0a-.js +0 -1
- package/dist/assets/helper-Ckm10Uko-DCD3fpXN.js +0 -223
- package/dist/assets/index-BYqTlB4Y.js +0 -39
- package/dist/assets/index-BZNcKYJW.js +0 -1
- package/dist/assets/index-C8o-xzAN.js +0 -29875
- package/dist/assets/index-D-Jb9hdv.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-Cl8KOFjG.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-Cgyt68f3-CDBFUVvY.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-B7yPJt54.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Bre8FfBF-C3mdnabF.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-DJ5f-tsr.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-Ca3eEPkJ.js +0 -1
- package/dist/assets/page-detail-CWX5S47F-Db9HhKdl.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-BEaTutPV.js +0 -3
- package/dist/assets/radio-default-CiSgisfh-bKgsz1mh.js +0 -1
- package/dist/assets/shield-DOlUxcFf-CuhCM_gA.js +0 -1
- package/dist/assets/toCOABalancesWithID-aLNB35t7-BtYnBfqr.js +0 -1
- package/dist/assets/toChartData-DUL6vnzJ-Bu4Ds4yf.js +0 -1
- package/dist/assets/types-DyvtCprH-NFPm5TaG.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-_YW_CWHL.js +0 -1
- package/dist/assets/uploadAttachment-Ck4wivBR-Cl_dwAB6.js +0 -286
- package/dist/assets/uploadReceipts-CIgkuVpu-DNtrxUdf.js +0 -1
- package/dist/assets/url-CRv0BSFG.js +0 -1
- package/dist/assets/useLongPress-GCK2COYQ-Bd_7uKXZ.js +0 -1
- package/dist/assets/usp-line-BBd1wKwW-rq31vkuF.js +0 -1
- package/dist/assets/zeni-epic-state-DMWYYyyR.js +0 -14
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import{ay as F,e as f,aS as Y,V as e,fH as ee,bE as ie,a as C,ac as B,ag as x,O as I,o as s,as as se,c as le,g as M,aV as U,ao as oe,x as te,d as $,cN as re,aW as ae,bc as ne,u as de}from"./index-C8o-xzAN.js";import{a as g}from"./sentry-DBhcw6Be.js";import{n as l}from"./mui-DOS4CfBc.js";import{Gs as ce,bP as pe,Gt as xe}from"./zeni-epic-state-DMWYYyyR.js";import{C as me}from"./VideoPopup-BqvZ-XIh-nZFpm96A.js";import{M as b}from"./usp-line-BBd1wKwW-rq31vkuF.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";import"./VideoPlayer-VAzOGCDL-6U91k2_g.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new i.Error().stack;o&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[o]="7045a340-d485-41fd-9782-aab649e7a921",i._sentryDebugIdIdentifier="sentry-dbid-7045a340-d485-41fd-9782-aab649e7a921")}catch{}})();const D="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Light.png",A="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Dark.png",he={midContainerMarginBottom:new te(de[5],44)},ge=l.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex: 1 1 auto;
|
|
4
|
-
min-height: 100%;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
background-color: ${i=>i.theme.colors.grey4};
|
|
7
|
-
`,ue=l.div`
|
|
8
|
-
padding: ${i=>i.windowSize==="small"?`${s.sp0} ${s.sp3}`:`${s.sp0} ${s.sp8}`};
|
|
9
|
-
text-align: center;
|
|
10
|
-
`,we=l(le)`
|
|
11
|
-
max-width: 600px;
|
|
12
|
-
margin: auto;
|
|
13
|
-
padding: ${s.sp7} ${s.sp0};
|
|
14
|
-
color: ${i=>i.theme.colors.primary};
|
|
15
|
-
`,ye=l(se)`
|
|
16
|
-
max-width: 600px;
|
|
17
|
-
margin: auto;
|
|
18
|
-
padding: ${s.sp5} ${s.sp0};
|
|
19
|
-
color: ${i=>i.theme.colors.primary};
|
|
20
|
-
`,L=l.div`
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
|
|
23
|
-
align-items: center;
|
|
24
|
-
justify-content: center;
|
|
25
|
-
margin-bottom: ${i=>he.midContainerMarginBottom.valuePx(i.windowSize)};
|
|
26
|
-
`,je=l.div``,m=l.img``,V=l.div`
|
|
27
|
-
width: ${i=>i.windowSize==="small"?"auto":"376px"};
|
|
28
|
-
display: flex;
|
|
29
|
-
flex-direction: column;
|
|
30
|
-
`,E=l.div`
|
|
31
|
-
width: ${i=>i.windowSize==="small"?"100%":"calc(100% - 376px)"};
|
|
32
|
-
overflow: hidden;
|
|
33
|
-
max-width: 712px;
|
|
34
|
-
display: flex;
|
|
35
|
-
align-content: center;
|
|
36
|
-
justify-content: center;
|
|
37
|
-
align-items: center;
|
|
38
|
-
`,O=l.div`
|
|
39
|
-
margin-left: ${i=>i.windowSize==="small"?s.sp0:s.sp6};
|
|
40
|
-
margin-bottom: ${i=>i.windowSize==="small"?s.sp4:s.sp0};
|
|
41
|
-
background: ${i=>i.theme.colors.grey3};
|
|
42
|
-
border-radius: 12px;
|
|
43
|
-
border: ${i=>`1px solid ${i.theme.colors.grey3}`};
|
|
44
|
-
padding: 15px;
|
|
45
|
-
`,n=l.div`
|
|
46
|
-
border-radius: ${s.sp12};
|
|
47
|
-
border: ${i=>`1px solid ${i.theme.colors.grey2}`};
|
|
48
|
-
padding: ${i=>i.windowSize==="small"?`${s.sp2} ${s.sp4} ${s.sp2} ${s.sp0}`:`${s.sp3} ${s.sp5} ${s.sp3} ${s.sp0}`};
|
|
49
|
-
background: ${i=>i.theme.colors.grey5};
|
|
50
|
-
position: relative;
|
|
51
|
-
margin-bottom: ${s.sp3};
|
|
52
|
-
display: flex;
|
|
53
|
-
align-items: center;
|
|
54
|
-
text-align: start;
|
|
55
|
-
box-sizing: border-box;
|
|
56
|
-
`,u=l(ne)`
|
|
57
|
-
color: ${i=>i.theme.colors.champion};
|
|
58
|
-
`,w=l(ae)`
|
|
59
|
-
color: ${i=>i.theme.colors.champion};
|
|
60
|
-
`,y=l(U)`
|
|
61
|
-
color: ${i=>i.theme.colors.champion};
|
|
62
|
-
`,j=l(re)`
|
|
63
|
-
color: ${i=>i.theme.colors.champion};
|
|
64
|
-
`,d=l.div``,c=l.div`
|
|
65
|
-
padding-left: ${s.sp3};
|
|
66
|
-
`,_=l(b)`
|
|
67
|
-
color: ${$.graphColor16Dark};
|
|
68
|
-
`,R=l(b)`
|
|
69
|
-
color: ${$.graphColor09Dark};
|
|
70
|
-
`,G=l(b)`
|
|
71
|
-
color: ${$.graphColor28Dark};
|
|
72
|
-
`,fe=l(oe)`
|
|
73
|
-
margin: ${s.sp3} auto;
|
|
74
|
-
max-width: 719px;
|
|
75
|
-
color: ${i=>i.theme.colors.hero};
|
|
76
|
-
`,$e=l.div`
|
|
77
|
-
display: flex;
|
|
78
|
-
flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
|
|
79
|
-
align-items: center;
|
|
80
|
-
justify-content: center;
|
|
81
|
-
`,be=l(U)`
|
|
82
|
-
margin: ${i=>i.windowSize==="small"?s.sp1:`auto ${s.sp5}`};
|
|
83
|
-
color: ${i=>i.theme.colors.grey1};
|
|
84
|
-
`,t=I.getLocalizedStrings().spendManagement.billPay.billPayPromo,r=I.getLocalizedStrings().commonSetUp.businessVerification.terms,Oe=({billPaySetupView:i,analytics:o,meetingUrl:S,videoUrl:H,onButtonClick:Z,onBackClick:N,onSetupBillPaySuccess:z,onClickMenuIcon:q})=>{const h=F(),a=f(),{billPayTermsDetails:p}=i,[J,K]=g.useState(!1),[Q,v]=g.useState(!1),k=Y(p?.fetchStatus.fetchState);g.useEffect(()=>{k==="In-Progress"&&p?.fetchStatus.fetchState==="Completed"&&z?.()},[k,z,p?.fetchStatus]);const W=()=>{o?.trackBillPayPromoScheduleDemo(),v(!0)},X=ce(h.loggedInUserRoleMap),P=pe(h.loggedInUserRoleMap)&&!X,T=P?t.setupNonAccessableUsersPromoText:t.promoText;return e.jsxs(ge,{children:[J===!0?e.jsx(me,{onCancelClick:()=>{K(!1)},videoUrl:H}):null,Q===!0?e.jsx(ee,{onCancelClick:()=>{v(!1)},meetingUrl:S}):null,e.jsx(ie,{title:t.title,onBackClick:N,showBackButton:!xe(h.loggedInUserRoleMap),showMenuIcon:a==="small"||a==="medium-compact",onClickMenuIcon:q,source:"BillPayPromoPage"}),e.jsxs(ue,{windowSize:a,children:[a==="small"?e.jsx(ye,{children:T}):e.jsx(we,{children:T}),a==="small"?e.jsx(Se,{}):e.jsx(ze,{}),P===!1?e.jsxs(je,{children:[e.jsxs($e,{windowSize:a,children:[e.jsx(C,{variant:"secondary",label:t.scheduleDemoButton,onClick:W,"data-testid":B("billpay-schedule-demo-button")}),e.jsx(be,{windowSize:a,children:t.orText}),e.jsx(C,{variant:"primary",label:t.setupBillPayButton,loading:p?.fetchStatus.fetchState==="In-Progress",onClick:Z,"data-testid":B("billpay-setup-button")})]}),e.jsxs(fe,{children:[t.terms.terms1,e.jsx(x,{href:r.consentUrl,linkText:r.consent}),r.term2,e.jsx(x,{href:r.depositUrl,linkText:r.depositTerms}),r.term3,e.jsx(x,{href:r.privacyPolicyUrl,onZeniLinkClick:()=>(o?.trackBillPayPrivacyPolicy(),!0),linkText:r.privacy}),r.term4,e.jsx(x,{href:r.tosUrl,onZeniLinkClick:()=>(o?.trackBillPayAgreement(),!0),linkText:r.tos}),r.term5,t.terms.terms3]})]}):null]})]})},Se=()=>{const i=M(),o=f();return e.jsxs(L,{windowSize:o,children:[e.jsx(E,{windowSize:o,children:e.jsx(O,{windowSize:o,children:i.mode==="dark"?e.jsx(m,{src:A,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(m,{src:D,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(V,{windowSize:o,children:[e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(G,{})}),e.jsxs(c,{children:[e.jsx(j,{children:t.fullyManagedText.bold}),e.jsx(y,{children:t.fullyManagedText.regular})]})]}),e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(R,{})}),e.jsxs(c,{children:[e.jsx(j,{children:t.multiLevelApprovalText.bold}),e.jsx(y,{children:t.multiLevelApprovalText.regular})]})]}),e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(_,{})}),e.jsxs(c,{children:[e.jsx(j,{children:t.aiPoweredText.bold}),e.jsx(y,{children:t.aiPoweredText.regular})]})]})]})]})},ze=()=>{const i=M(),o=f();return e.jsxs(L,{windowSize:o,children:[e.jsxs(V,{windowSize:o,children:[e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(G,{})}),e.jsxs(c,{children:[e.jsx(w,{children:t.fullyManagedText.bold}),e.jsx(u,{children:t.fullyManagedText.regular})]})]}),e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(R,{})}),e.jsxs(c,{children:[e.jsx(w,{children:t.multiLevelApprovalText.bold}),e.jsx(u,{children:t.multiLevelApprovalText.regular})]})]}),e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(_,{})}),e.jsxs(c,{children:[e.jsx(w,{children:t.aiPoweredText.bold}),e.jsx(u,{children:t.aiPoweredText.regular})]})]})]}),e.jsx(E,{windowSize:o,children:e.jsx(O,{windowSize:o,children:i.mode==="dark"?e.jsx(m,{src:A,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(m,{src:D,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})};export{Oe as default};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import{g as De,e as Oe,aS as F,aa as $e,cQ as Ue,O as Re,aX as K,V as t,fr as Le,d as He,ac as ze,x as u,bE as Ne,L as qe,ae as Me,fI as L,e1 as Ge,fJ as Je,by as Qe,dS as Ze,c1 as Ke,fK as Xe,aT as Ye,o as z,fL as et,u as a,an as tt,bM as it}from"./index-C8o-xzAN.js";import{a as m}from"./sentry-DBhcw6Be.js";import{n as b}from"./mui-DOS4CfBc.js";import{bJ as nt}from"./zeni-epic-state-DMWYYyyR.js";import{g as ot}from"./UploadAdditionalDocumentOverlay-Wl4Spdpn-PlCykjL7.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="98b3ea1e-cd61-43a9-a83d-957591abe646",e._sentryDebugIdIdentifier="sentry-dbid-98b3ea1e-cd61-43a9-a83d-957591abe646")}catch{}})();const n={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,a[5],a[5]),sectionRowGap:new u(a[5],a[9],a[9]),lastSectionPaddingBottom:new u(a[7],a[10],a[10]),iconWidthHeight:new u(20,a[4]),subTitlePaddingTop:new u(12,a[3]),subTitlePaddingBottom:new u(a[3],a[3]),overlayWidth:new u(100,100,59)},X="billPaySetUpPage",W="billPayAccount",Ct=({billPaySetupView:e,isDisabled:p,billpayApprovalView:v,meetingUrl:C,showIntlWiseWidget:s,connectedAccountProvider:ee,isAccountsEnabled:te,isLocalCurrencyEnabled:ie,analytics:y,filesEndPoint:ne,authParams:oe,accountsPromoConfig:ae,onBackClick:le,onBusinessVerificationSectionClick:ce,onSetupApprovalRulesSectionClick:se,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onEstablishConnectionSuccess:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAccountClick:fe,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEnableBillPayClick:me,onEnableBillPaySuccess:N,onClickMenuIcon:be,onInternationPaymentSetUpClick:ye,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:we,onCompanyOfficerUpdated:xe,onSendForVerificationClick:ve,onSignUpClick:Ce})=>{const k=De(),i=Oe(),[A,S]=m.useState(!1),q=m.useRef(null),{fetchState:f,updateStatus:P,accountUpdateStatus:ke,plaidConnectionDetails:_,allBankAccounts:Ae,companyBillPayInfo:T,isRefreshingViewInBackground:Te,selectedCompanyOfficer:c,primaryFundingAccount:d,allFundingAccounts:M}=e,h=T?.internationalWireOnboardingStatus,I=h==null||h.code==="onboarding_status_not_started",{fetchState:G,allApprovalRules:V,approvalRulesStatus:Ie}=v,D=_.link_account.updateStatus,O=_.update_account.updateStatus,j=F(f),J=F(P.fetchState),Q=F(D.fetchState),Z=F(O.fetchState),w=$e({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>H(e),[e]),values:H(e)});m.useEffect(()=>{!A&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"&&S(!0),A&&j==="In-Progress"&&f==="Completed"&&S(!1)},[c,f,j]),m.useEffect(()=>{(j==="In-Progress"&&f==="Completed"||Q==="In-Progress"&&D.fetchState==="Completed"||Z==="In-Progress"&&O.fetchState==="Completed")&&w.reset(H(e))},[j,f,w,e,Q,D.fetchState,Z,O.fetchState]);const Ve=w.handleSubmit(x=>{y.trackEnableBillPay(),me()}),je=async(x,E)=>{const o=E[W];if(x.includes(W)){if(x.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&d?.id!=o.fundingAccount.selectedOption){const g=M.find(R=>R.id===o.fundingAccount.selectedOption);g!=null&&pe(o.fundingAccount.selectedOption,g.accType)}}else if(o.account.selectedOption!=null&&d?.id!=null&&d?.zeniAccountId!=o.account.selectedOption){const g=o.account.allOptions.find(R=>R.value===o.account.selectedOption);g!=null&&typeof g.label=="string"&&y.trackConnectBankLink(g.value,g.label,"bill_pay"),fe(o.account.selectedOption,d.id,d.accType)}}};m.useEffect(()=>{const x=w.watch((E,{name:o})=>{o!=null&&E!=null&&Ue(()=>je(o,E))});return()=>{x.unsubscribe()}}),m.useEffect(()=>{J==="In-Progress"&&P.fetchState==="Completed"&&N()},[N,J,P.fetchState]);const{commonSetUp:Be,spendManagement:Ee}=Re.getLocalizedStrings(),{setUp:r}=Be,{billPaySetup:l}=Ee.billPay,$=T?.isBusinessVerified===!0&&(d?.accType==="depositAccount"||nt(d?.providerVerificationStatus?.code??"")),U=T?.isBillPayEnabled===!0,Fe=$?r.setupVerifiedSubTitle:l.setupSubTitle,We=f==="In-Progress"||f==="Not-Started"||G==="In-Progress"||G==="Not-Started",B=k.mode==="light"?new K(k.colors.brandColorJadeLight):new K(k.colors.brandColorJadeDark),_e=()=>{!A&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"?S(!0):ce?.()};return t.jsxs(lt,{ref:q,children:[t.jsx(Le,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>S(!1),style:{backgroundColor:He.drawerBackground},transitionDuration:250,"data-testid":ze("bill-pay-setup-drawer"),children:t.jsx(ot,{authParams:oe,filesEndPoint:ne,updateStatus:P,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:we,companyOfficer:c,onClose:()=>S(!1),onCompanyOfficerUpdated:xe,onSendForVerificationClick:ve})}),t.jsx(Ne,{title:l.setupTitle,style:{zIndex:3},onBackClick:le,showMenuIcon:!U&&(i==="medium-compact"||i==="small"),onClickMenuIcon:be,scrollableContent:q,backgroundColor:k.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(dt,{windowSize:i,children:[t.jsx(st,{windowSize:i,children:Fe}),We?t.jsx(rt,{children:t.jsx(qe,{size:"ExtraLarge",start:!0})}):t.jsxs(at,{children:[t.jsx(Me,{...w,children:t.jsx("form",{id:Y(X),onSubmit:Ve,children:t.jsxs(ut,{windowSize:i,children:[t.jsx(L,{onClick:_e,title:r.businessVerificationTitle,subTitle:r.businessVerificationSubTitle,header:r.businessVerificationHeader,icon:{element:t.jsx(Ge,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},status:T?.businessVerificationStatus,isLoading:Te,isActiveWhileLoading:!0}),t.jsx(Je,{connectedAccountProvider:ee,primaryFundingAccount:d,allFundingAccounts:M,plaidConnectionDetails:_,allBankAccounts:Ae,sectionId:W,isDisabled:p,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEstablishConnectionSuccess:ue,icon:{element:t.jsx(Qe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},analytics:y,productType:"bill_pay",isAccountsEnabled:te,onSignUpClick:Ce,pageName:"Bill Pay Setup",accountsPromoConfig:ae}),t.jsx(L,{title:V.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:l.approvalSubTitle,header:V.length>0?r.approvalHeader:r.setupApprovalHeader,icon:{element:t.jsx(Ze,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:se,status:V.length>0?Ie:void 0})]})})}),s===!0?t.jsx(L,{title:I?l.enableInternationalWireTitle:l.internationWireTitle,subTitle:l.internationalWireSubTitle2,header:l.internationalWireHeader,icon:{element:t.jsx(Xe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},isClickable:!0,onClick:()=>{I&&y.trackEnableIntlWire(ie),ye?.()},status:I?void 0:{name:h.name,code:h.code},statusInfoIcon:h?.code==="verification_pending"||h?.code==="verification_failed"?t.jsx(Ke,{title:h.code==="verification_pending"?l.tooltipTexts.pendingInternationalVerificationText:l.tooltipTexts.internationalVerificationFailed,children:t.jsx(ct,{})}):void 0,shouldHover:!0,showRightArrow:I}):null]})]}),$&&!U&&V.length>0?t.jsx(Ye,{formId:Y(X),primaryBtn:{label:l.enableBillPay,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:P.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:l.terms,cancelBtn:{label:""},style:{padding:`12px ${z.sp3}`}}):null,t.jsx(et,{isFooterRendered:$&&!U,meetingUrl:C,analytics:y,productType:"bill_pay"})]})},at=b.div``,lt=b.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
min-height: 100%;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
width: 100%;
|
|
6
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
7
|
-
height: 100vh;
|
|
8
|
-
overflow-y: auto;
|
|
9
|
-
`,ct=b(it)`
|
|
10
|
-
width: ${z.sp3};
|
|
11
|
-
height: ${z.sp3};
|
|
12
|
-
color: ${e=>e.theme.colors.hero};
|
|
13
|
-
&:hover {
|
|
14
|
-
color: ${e=>e.theme.colors.primary};
|
|
15
|
-
}
|
|
16
|
-
`,st=b(tt)`
|
|
17
|
-
color: ${e=>e.theme.colors.hero};
|
|
18
|
-
display: flex;
|
|
19
|
-
justify-content: center;
|
|
20
|
-
width: ${e=>n.titleWidth.valuePx(e.windowSize)};
|
|
21
|
-
padding-top: ${e=>n.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
22
|
-
padding-bottom: ${e=>n.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
23
|
-
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
24
|
-
`,dt=b.div`
|
|
25
|
-
display: flex;
|
|
26
|
-
justify-content: flex-start;
|
|
27
|
-
flex-direction: column;
|
|
28
|
-
align-items: center;
|
|
29
|
-
row-gap: ${e=>n.setupDetailsRowGap.valuePx(e.windowSize)};
|
|
30
|
-
`,rt=b.div`
|
|
31
|
-
display: flex;
|
|
32
|
-
width: 100%;
|
|
33
|
-
height: calc(100vh - 110px);
|
|
34
|
-
flex-direction: row;
|
|
35
|
-
justify-content: center;
|
|
36
|
-
align-items: center;
|
|
37
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
38
|
-
`,ut=b.div`
|
|
39
|
-
display: flex;
|
|
40
|
-
flex-direction: column;
|
|
41
|
-
row-gap: ${e=>n.sectionRowGap.valuePx(e.windowSize)};
|
|
42
|
-
`,H=e=>{const{allBankAccounts:p,allFundingAccounts:v,primaryFundingAccount:C}=e;return{[W]:{fundingAccount:{selectedOption:C?.id,allOptions:v.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:C?.zeniAccountId,allOptions:p.map(s=>({label:s.accountName,value:s.accountId}))}}}},Y=e=>`${e}_form`;export{Ct as default,Y as uniqueName};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import{g as we,e as be,aa as Ce,cQ as Pe,aX as k,O as xe,V as t,x as P,bE as Ie,L as Ae,ae as ve,by as je,cR as ke,aT as $e,o as s,i1 as Te,fd as De,fe as Ve,u as x,an as Ee,h6 as Be,d as Le,N as ze}from"./index-C8o-xzAN.js";import{a as F}from"./sentry-DBhcw6Be.js";import{n as d}from"./mui-DOS4CfBc.js";import{F as Oe,o as R,t as _e}from"./PaymentAccountSetupBillingAddressSection-9ma8SpIa-DnLcaoHi.js";import{F as Me}from"./SetUpAccountSection-CctbMmoK-ZyErAiPF.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./zeni-epic-state-DMWYYyyR.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";import"./commonTypes-5tEXwrX4-DThfJWJu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="8fcb78dd-9a6f-45fa-aed0-8b6ca7f24741",e._sentryDebugIdIdentifier="sentry-dbid-8fcb78dd-9a6f-45fa-aed0-8b6ca7f24741")}catch{}})();const p={titleWidth:new P(343,580,726,826),setupDetailsRowGap:new P(12,x[5],x[5]),iconWidthHeight:new P(20,x[4]),subTitlePaddingTop:new P(12,x[3])},Fe={title:new ze("standardSemiBold","largeSemiBold")},H="billingSetupPage",I="payAccountSectionId",n="subscriptionBillingAddressSectionId",ct=({analytics:e,billingSetupView:i,connectedAccountProvider:m,isDisabled:r,onClickMenuIcon:A,uiState:U,stripeKey:K,googleAPIKey:q,companyId:G,onUpdateAccountClick:J,onFetchLinkTokenClick:Q,onUpdatePaymentAccountStatus:Z,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionClick:Y,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:ae,onBillingAddressSave:se,onAddressEditHandler:de})=>{const b=we(),o=be(),{setupView:{paymentAccount:y,plaidConnectionDetails:re,allBankAccounts:le,accountFetchStatus:T},cardPaymentView:h}=i,ce=i.subscriptionBillingAddress,D=y?.providerVerificationStatus,ue=T.fetchState==="In-Progress"||T.fetchState==="Not-Started",f=Ce({mode:"onSubmit",reValidateMode:"onChange",defaultValues:W(i),values:W(i),resetOptions:{keepDirtyValues:!0}}),pe=f.handleSubmit(c=>{se(G)}),V=i.subscriptionBillingAddressSaveStatus,me=async(c,a)=>{const g=a[I];if(c.includes(n)&&a[n]!=null){const v=f.getValues(`${n}`).country;let u=a[n];if(c.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:w}=a[n].street,j=De(w?.country);u={street:a[n].street??l.strings.empty,city:w?.locality??l.strings.empty,state:w?.administrativeAreaLevel1??l.strings.empty,country:j,countryCode:w?.countryCode??l.strings.empty,postalCode:w?.postalCode??l.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},v.selectedOption!==j.selectedOption&&(u={...u,country:j})}else c===`${n}.country`&&v.selectedOption!=null&&(u={...u,countryCode:Ve(v.selectedOption)});u!=null&&de(u)}else c.includes(I)&&g.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==g.account.selectedOption&&J(g.account.selectedOption,y.paymentAccountId)};F.useEffect(()=>{const c=f.watch((a,{name:g})=>{g!=null&&a!=null&&Pe(()=>me(g,a))});return()=>{c.unsubscribe()}});const E=b.mode==="light"?new k(b.colors.brandColorJadeLight):new k(b.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:he,card_payment_method:S}},common:l,billingSetupPage:B}=xe.getLocalizedStrings(),ge=B.section.subTitle,{text:ye,subText:fe}=he,L=h.cardsList.length>0,z=h?.cardsList[0]?.brand??"other",O=h?.addCardPaymentSourceStatus.fetchState,C=Oe(S.header,S.titleText,S.protectedCardNo,h);let _;L&&(_={header:C.header,title:C.title,subtitle:C.subtitle,status:C.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:L===!0,icon:{element:t.jsx("img",{src:R(z).iconURL,width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o),alt:R(z).name}),color:new k(E)},showCompletedIcon:!1,isError:O==="Error",isLoading:O==="In-Progress",isCompleted:!0,showRightArrow:!1});const[M,Se]=F.useState(!1);return t.jsxs(He,{children:[t.jsx(Ie,{source:"BillingSettingsPage",title:B.section.title,backgroundColor:b.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:A}),t.jsxs(Re,{windowSize:o,children:[t.jsx(We,{windowSize:o,children:ge}),ue?t.jsx(Ne,{children:t.jsx(Ae,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...f,children:t.jsx(Je,{children:t.jsx("form",{id:N(H),onSubmit:pe,children:t.jsxs(Ue,{windowSize:o,children:[t.jsx(Me,{connectedAccountProvider:m,paymentAccount:y,plaidConnectionDetails:re,allBankAccounts:le,header:S.header,sectionTitle:S.header,defaultSectionTitle:ye,defaultSectionSubTitle:fe,sectionId:I,isDisabled:r,onFetchLinkTokenClick:Q,onEstablishConnectionClick:Y,onUpdatePaymentAccountStatus:Z,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionSuccess:ee,isError:D?.code==="require_info"||D?.code==="failed",icon:{element:t.jsx(je,{width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o)}),color:E},analytics:e,productType:"billing",updateCardPaymentModalState:$,cardPaymentSectionValues:_,cardPaymentView:h,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:M}),Ke(o,l.headers.billingAddress,ce,q,r)]})})})}),ke(f.formState.dirtyFields)?t.jsx($e,{formId:N(H),style:{width:o==="small"?"auto":"100%",paddingTop:s.sp2,paddingBottom:s.sp2,height:s.sp8},primaryBtn:{label:l.footer.save,isLoading:V?.fetchState==="In-Progress",isDisabled:V?.fetchState==="In-Progress",style:{height:s.sp6}},showCancel:!1,containerStyle:{width:"auto",justifyContent:"center"}}):null]}),t.jsx(_e,{handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleCreateCardSetupIntent:te,handleAddCardPaymentSource:ie,cardPaymentView:h,isCardPaymentOpen:U.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ae,stripeKey:K,cardSetupInProgress:M,setCardSetupInProgress:Se})]})},W=e=>{const{paymentAccount:i,allBankAccounts:m}=e.setupView;return{[I]:{account:{selectedOption:i?.zeniAccountId,allOptions:m.map(r=>({label:r.accountName,value:r.accountId}))}},[n]:Te(n,e.subscriptionBillingAddress)[n]}},Re=d.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
justify-content: space-between;
|
|
4
|
-
height: 100%;
|
|
5
|
-
overflow-y: auto;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
align-items: center;
|
|
8
|
-
row-gap: ${e=>p.setupDetailsRowGap.valuePx(e.windowSize)};
|
|
9
|
-
`,He=d.div`
|
|
10
|
-
display: flex;
|
|
11
|
-
min-height: 100%;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
width: 100%;
|
|
14
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
15
|
-
`,We=d(Ee)`
|
|
16
|
-
color: ${e=>e.theme.colors.hero};
|
|
17
|
-
display: flex;
|
|
18
|
-
justify-content: center;
|
|
19
|
-
width: ${e=>p.titleWidth.valuePx(e.windowSize)};
|
|
20
|
-
padding-top: ${e=>p.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
21
|
-
padding-bottom: ${s.sp3};
|
|
22
|
-
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
23
|
-
`,Ne=d.div`
|
|
24
|
-
display: flex;
|
|
25
|
-
width: 100%;
|
|
26
|
-
height: calc(100vh - 110px);
|
|
27
|
-
flex-direction: row;
|
|
28
|
-
justify-content: center;
|
|
29
|
-
align-items: center;
|
|
30
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
31
|
-
`,Ue=d.div`
|
|
32
|
-
display: flex;
|
|
33
|
-
flex-direction: column;
|
|
34
|
-
`,Ke=(e,i,m,r,A)=>t.jsxs(qe,{children:[t.jsx(Ge,{windowSize:e,isDisabled:A==="disabled",children:i}),t.jsx(Be,{googleAPIKey:r??"",addressToEdit:m,sectionId:`${n}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"}})]}),qe=d.div`
|
|
35
|
-
margin-top: ${s.sp3};
|
|
36
|
-
margin-bottom: ${s.sp4};
|
|
37
|
-
`,Ge=d.div`
|
|
38
|
-
${e=>`${Fe.title.style(e.windowSize)}`};
|
|
39
|
-
margin-bottom: ${s.sp3};
|
|
40
|
-
margin-top: ${s.sp4};
|
|
41
|
-
color: ${e=>e.isError===!0?Le.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
|
|
42
|
-
`,Je=d.div`
|
|
43
|
-
flex: 1;
|
|
44
|
-
`,N=e=>`${e}_form`;export{ct as default,N as uniqueName};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{V as b,cy as V,cz as z,cA as M,ko as W,a_ as q,O as H}from"./index-C8o-xzAN.js";import{a as f}from"./sentry-DBhcw6Be.js";import{H9 as J}from"./zeni-epic-state-DMWYYyyR.js";import{u as X}from"./ReviewOverlay-CxwoiOLC-DmcvjVCl.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./mui-DOS4CfBc.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="9edbb80d-f35f-4902-8160-31121b0f3c34",e._sentryDebugIdIdentifier="sentry-dbid-9edbb80d-f35f-4902-8160-31121b0f3c34")}catch{}})();const{common:s,spendManagement:{billPay:x}}=H.getLocalizedStrings(),o=x.bulkActions;let I;const de=({billsReviewView:e,analytics:r,onProceedForBulkActionClick:l,onCloseReviewItem:t,onCloseOverlay:c})=>{const{fetchState:m,bulkSubmissionFetchState:a,bulkOperationTypeSelected:i,currentTab:g,currentSubTab:_}=e,u=i==="review",[C,w]=f.useState(!1),[n,v]=f.useState(T(e,u)),[p,k]=f.useState(u),[P,E]=f.useState(0),[y,j]=f.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});f.useEffect(()=>(u&&(I=setInterval(()=>{v(d=>d.map((S,L)=>(clearInterval(I),L===P?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),E(d=>d+1)},1e3)),P===n.length&&p&&(k(!1),clearInterval(I)),!u&&e.fetchState==="Completed"&&v(T(e,!1)),()=>{clearInterval(I)}),[n.length,P,p,e.fetchState,u,e]);const R=n.length,h=n.filter(d=>d.reviewStatus.code!=="error").length,A=()=>{const{title:d,description:S}=Z(h);j({type:"reject",title:d,description:S,primaryButtonText:s.texts.confirm,secondaryButtonText:s.texts.close}),r.trackBillPayBulkSubmit(i,g,_),w(!0)},D={onOkClick:d=>{w(!1),r.trackBillPayBulkPopupConfirm(i,g,_,Y(e)),l("reject",d)},onCancelClick:()=>{w(!1)}},{title:N,description:F}=G(m,h,R,p),B=e.fetchState==="Completed"&&h===0,$=()=>{r.trackBillPayBulkSubmit(i,g,_),l(i)},U={label:B?s.texts.close:i==="send_for_approval"?s.footer.submit:s.footer.approve,isDisabled:m!=="Completed"||i==="reject"&&a==="In-Progress",isLoading:a==="In-Progress"&&(i==="send_for_approval"||i==="approve"),onClick:B?c:$,style:i==="send_for_approval"?{minWidth:"92px"}:{}},O={label:i==="send_for_approval"?s.texts.goBack:s.footer.reject,isDisabled:i!=="reject"&&a==="In-Progress",isLoading:i==="reject"&&a==="In-Progress",reverseSpinnerColor:!1,onClick:i==="send_for_approval"?c:A,style:i==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[C?b.jsx(V,{titleComponent:b.jsx(M,{children:y.title}),descriptionComponent:b.jsx(z,{children:y.description}),primaryButtonText:y.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:y.secondaryButtonText,action:D,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(X,{title:N,description:{content:F,isError:e.fetchState==="Completed"&&h===0},reviewItems:n,onCloseReviewItem:t,onCloseOverlay:c,showFooter:e.fetchState==="Completed"&&!p,footerProps:{primaryButton:U,cancelButton:O,hideCancel:B}})]})},T=(e,r)=>{const l=e.fetchState==="In-Progress";return e.billsForReview.map(t=>({id:t.transactionId,leftSideText:{title:t.vendorName?t.vendorName:x.billDetails.newBillTitle,subTitle:`${x.billDetails.invoiceNo} ${t.invoiceNumber?t.invoiceNumber:s.strings.hyphen}`},rightSideText:{title:q("0,0.[00]",t.amount?.amount,t.amount?.currencySymbol),showThunderIcon:t.reviewErrors?.length===1&&J(t.reviewErrors[0].reviewErrorCode),subTitle:K(t.reviewStatus==="warning",t.reviewErrors?.map(c=>c.reviewInfoMessage)),additonalInfo:t.reviewErrors!=null&&t.reviewErrors.length>1?o.reviewPage.removeOrProceed:void 0},reviewStatus:{isLoading:r?!0:l,code:t.reviewErrors?.length===1&&t.reviewErrors[0].reviewErrorCode==="ERR_INSUFFICIENT_FUNDS"?"low-balance":t.reviewStatus??""}}))},Y=e=>{const r=e.billsForReview;let l=[];return r.forEach(t=>{l=W([...l,t.isRecurring?"recurring":"one-time"])}),l},Z=e=>{const{this_:r,these:l,bill:t,bills:c,payment:m,payments:a}=s.texts;return e>1?{title:o.popUps.reject.title.replace("<_payment_>",o.payments),description:o.popUps.reject.description.replaceAll("<_this_>",l).replaceAll("<_payment_>",a).replaceAll("<_bill_>",c)}:{title:o.popUps.reject.title.replace("<_payment_>",o.payment),description:o.popUps.reject.description.replaceAll("<_this_>",r).replaceAll("<_payment_>",m).replaceAll("<_bill_>",t)}},G=(e,r,l,t)=>{const{has:c,have:m,bill:a,bills:i,are:g,is:_,do_:u,does:C}=s.texts,w=r>1,n=l>1;let v="",p="";return e==="Completed"&&!t?(v=o.reviewPage.billsReviewed.title.replace("<_bill_>",n?x.bulkActions.bills:o.bill).replace("<_has_>",n?m:c),r===0?p=o.reviewPage.billsReviewed.descriptionError.replace("<_bill_>",n?i:a).replace("<_do_>",n?u:C):p=`${r}/${l} ${o.reviewPage.billsReviewed.description.replace("<_bill_>",l>1?i:a).replace("<_is_>",w?g:_)}`):(v=o.reviewPage.billsReviewing.title.replace("<_bill_>",n?i:a),p=o.reviewPage.billsReviewing.description.replace("<_bill_>",n?i:a)),{title:v,description:p}},K=(e,r)=>{if(r?.length!=null){if(r.length>1)return r.join(` ${s.strings.dividerDot} `);if(r.length===1)return e?r[0]+`${s.strings.colon} ${o.reviewPage.removeOrProceed}`:r[0]}return""};export{de as default,Y as getBillsUniqueType};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import{e as l,V as s,ac as b,o as r}from"./index-C8o-xzAN.js";import{n as a}from"./mui-DOS4CfBc.js";import{o as p}from"./commonDimensions-Oz1tdAcx-C8J13a8y.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="e1c66fed-41ab-4ea3-8892-027e169fc0cf",o._sentryDebugIdIdentifier="sentry-dbid-e1c66fed-41ab-4ea3-8892-027e169fc0cf")}catch{}})();const m=(o,e)=>e===1?"roundedBox":o===0?"topRoundedBox":o===e-1?"bottomRoundedBox":"box";function g({content:o,boxType:e,isDisabled:d=!1,isNotClickable:t=!1}){const i=l();switch(e??"roundedBox"){case"topRoundedBox":return s.jsx(h,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("top-rounded-box",e),children:o});case"bottomRoundedBox":return s.jsx(u,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("bottom-rounded-box",e),children:o});case"box":return s.jsx(x,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("box",e),children:o});case"roundedBox":return s.jsx(n,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("rounded-box",e),children:o})}}const n=a.div`
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
cursor: ${o=>o.isDisabled||o.hideCursor===!0?"default":"pointer"};
|
|
4
|
-
min-height: ${o=>p.transactionItemHeightResponsive.valuePx(o.windowSize)};
|
|
5
|
-
display: flex;
|
|
6
|
-
border: 1px solid;
|
|
7
|
-
border-radius: ${r.sp2};
|
|
8
|
-
background-color: ${o=>o.theme.colors.grey5};
|
|
9
|
-
border-color: ${o=>o.theme.colors.grey3};
|
|
10
|
-
color: ${o=>o.theme.colors.hero};
|
|
11
|
-
&:hover {
|
|
12
|
-
border-color: ${o=>o.isDisabled?o.theme.colors.grey3:o.theme.colors.primary};
|
|
13
|
-
color: ${o=>o.isDisabled?o.theme.colors.hero:o.theme.colors.primary};
|
|
14
|
-
}
|
|
15
|
-
`,h=a(n)`
|
|
16
|
-
display: flex;
|
|
17
|
-
border-top-width: 1px;
|
|
18
|
-
border-right-width: 1px;
|
|
19
|
-
border-bottom-width: 0.5px;
|
|
20
|
-
border-left-width: 1px;
|
|
21
|
-
|
|
22
|
-
border-top-left-radius: ${r.sp2};
|
|
23
|
-
border-top-right-radius: ${r.sp2};
|
|
24
|
-
border-bottom-left-radius: ${r.sp0};
|
|
25
|
-
border-bottom-right-radius: ${r.sp0};
|
|
26
|
-
&:hover {
|
|
27
|
-
border-bottom-width: 1px;
|
|
28
|
-
}
|
|
29
|
-
`,u=a(n)`
|
|
30
|
-
display: flex;
|
|
31
|
-
border-top-width: 0.5px;
|
|
32
|
-
border-right-width: 1px;
|
|
33
|
-
border-bottom-width: 1px;
|
|
34
|
-
border-left-width: 1px;
|
|
35
|
-
border-top-left-radius: ${r.sp0};
|
|
36
|
-
border-top-right-radius: ${r.sp0};
|
|
37
|
-
border-bottom-left-radius: ${r.sp2};
|
|
38
|
-
border-bottom-right-radius: ${r.sp2};
|
|
39
|
-
&:hover {
|
|
40
|
-
border-top-width: 1px;
|
|
41
|
-
}
|
|
42
|
-
`,x=a(n)`
|
|
43
|
-
display: flex;
|
|
44
|
-
border-radius: ${r.sp0};
|
|
45
|
-
border-top-width: 0.5px;
|
|
46
|
-
border-right-width: 1px;
|
|
47
|
-
border-bottom-width: 0.5px;
|
|
48
|
-
border-left-width: 1px;
|
|
49
|
-
&:hover {
|
|
50
|
-
border-top-width: 1px;
|
|
51
|
-
border-bottom-width: 1px;
|
|
52
|
-
}
|
|
53
|
-
`;export{m as $,g};
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
import{g as dt,e as ut,aS as ve,V as a,ag as W,aa as pt,d4 as mt,aA as ft,cQ as yt,a_ as Te,aR as Oe,go as ht,a as gt,bE as xt,ac as St,cR as wt,cy as Ct,cz as bt,cA as Dt,L as vt,ae as Tt,aT as Ot,o as l,x as V,ao as je,O as Ae,gp as It,fM as Ie,fd as Nt,c as kt,b as $t,an as Fe,N as Pt,M as Vt,u as N}from"./index-C8o-xzAN.js";import{a as j}from"./sentry-DBhcw6Be.js";import{n as d}from"./mui-DOS4CfBc.js";import{FD as jt,bi as Y,G9 as At,G8 as Ft,Ga as _t}from"./zeni-epic-state-DMWYYyyR.js";import{r as Lt,z as Bt}from"./CompanyOfficerDetailsSection-CrOIN4IW-B9X3JGYF.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";import"./helper-Ckm10Uko-DCD3fpXN.js";import"./LabeledAddressValueField-BgWwd5Gw-DFe8vIUL.js";import"./LabeledCountryMultiSelectField-BYYjzwUG-DXWiTuV-.js";import"./LabeledCreatableSingleSelectField-CISYMojq-DqRsgtUm.js";import"./LabeledDocumentField-C_bcFxdY-DJ7-SOXf.js";import"./commonTypes-5tEXwrX4-DThfJWJu.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},S=new t.Error().stack;S&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[S]="908ec7a0-c056-462c-94ba-23dded6af2f1",t._sentryDebugIdIdentifier="sentry-dbid-908ec7a0-c056-462c-94ba-23dded6af2f1")}catch{}})();const x={width:new V(343,580,726),titleWidth:new V(343,580,726,826),subTitlePaddingTop:new V(12,N[3]),subTitlePaddingBottom:new V(N[3],N[3]),verificationDetailsRowGap:new V(12,N[5],N[5]),termsPaddingLeftRight:new V(N[0],N[3])},zt={stepTitle:new Pt("h6Regular","h5Regular")},Ne="businessVerificationPage",D="companyDetails",v="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:Et,currency:ke,footer:$e,strings:{empty:Rt}}}=Ae.getLocalizedStrings(),Ta=({businessVerificationDetails:t,allNationalityCountries:S,verficationDetailsFetchState:k,isRefreshingViewInBackground:L,filesEndPoint:i,authParams:B,productType:y,allIndustries:A,companyTitles:z,maxInsuredAmount:m,isDisabled:$,isSettings:o=!1,isOverlay:h=!1,analytics:g,isStepInProgress:w=!1,isTreasuryTransferInitiated:Q=!1,transferDetails:E,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:Le,onBackClick:F,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,onSendForVerificationClick:Re,onEditFileName:ie,onCompanyDetailsChanged:Me,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Ue,onCompanyOfficerUpdated:Ge,saveNewAddressInLocalStore:oe,onSaveDetailsClick:We,onClickMenuIcon:Ye,onExecuteTreasuryTransfer:Qe})=>{const Ze=dt(),u=ut(),{updateStatus:R,companyView:_,companyDetailsLocalData:r,companyOfficerLocalData:C}=t,qe=ve(R.fetchState),M=_?.company.company.featuresActivationInfo.connectedAccountProvider,Je=M==="unit"?a.jsxs(Jt,{children:[s.terms.term1,a.jsx(W,{href:s.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.consent}),s.terms.term2,a.jsx(W,{href:s.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.depositTerms}),s.terms.term3,a.jsx(W,{href:s.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.privacy}),s.terms.term4,a.jsx(W,{href:s.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:s.terms.tos}),s.terms.term5]}):s.terms.termsForStripe,[Ke,Z]=j.useState(!1),[U,re]=j.useState("save"),[q,He]=j.useState(!1),p=pt({mode:"all",reValidateMode:"onChange",defaultValues:Mt(t,A,z,S)}),{isValid:Xe}=p.formState,G=_?.company.company.companyBillPayInfo,J=_?.company.company.companyTreasuryInfo,P=y==="zeni_treasury"?J?.companyVerificationStatus:G?.companyVerificationStatus,T=Object.values(C).findIndex(e=>e?.isSelectedForVerification===!0),O=`Officer_${T<0?1:T+1}`,et=()=>{const e=C[O],n=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,b=e?.firstName,I=e?.lastName,ue=e?.titleAtCompany,pe=e?.documentTypeSelectedForVerification,me=e?.phone,fe=e?.addressStatus?.addressToCreate,ye=fe!=null?Y(fe):void 0,he=r?.companyDescription,X=r?.companyLegalName,ge=r?.companyIndustry,xe=r?.phone,Se=r?.website,we=r?.addressStatus?.addressToCreate!=null?Y(r?.addressStatus?.addressToCreate):void 0,ee=r?.primaryContactLocalData,Ce=ee?.firstName,be=ee?.lastName,De=ee?.email;n!=null&&f!=null&&b!=null&&I!=null&&c!=null&&ue!=null&&me!=null&&ye!=null&&pe!=null&&he!=null&&X!=null&&xe!=null&&Se!=null&&ge!=null&&X!=null&&we!=null&&Ce!=null&&be!=null&&De!=null&&g?.trackBusinessVerificationSend({email:n,birthday:c.toString(),companyOwnership:f,firstName:b,lastName:I,companyRole:ue,phone:me,formattedAddress:ye,documentTypeForVerification:pe},{companyDescription:he,legalName:X,phone:xe,website:Se.toString(),industry:ge,formattedAddress:we},{firstName:Ce,lastName:be,email:De},y,o?"Settings":void 0)},tt=()=>{const e=C[O],n=r?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,b=n?.email??"",I=!!n?.firstName&&!!n?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&p.trigger(`${v}.${T<0?0:T}.name`,{shouldFocus:!0}),!1):b&&!I?((!n?.firstName||!n?.lastName)&&p.trigger(`${D}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const e=C[O],n=r?.primaryContactLocalData,c=e?.email,f=n?.email;if(c){if(!f)return(n?.firstName||n?.lastName)&&p.trigger(`${D}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(e?.firstName||e?.lastName||e?.birthday||e?.nationalityCountryCode||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0||K!=null&&K?.length>0)return p.trigger(`${v}.${T<0?0:T}.email`,{shouldFocus:!0}),!1;return!0},it=p.handleSubmit(()=>{if(U!=="verification"&&re("verification"),M==="unit"&&C[O]?.isPhoneVerified!==!0){p.setError(`${v}.${T}.phone`,{type:"custom"});return}const e=mt(Object.values(C).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),n=Object.values(r?.deleteFileStatusById??{}).filter(c=>c!=null);jt(e.concat(n)).fetchState!=="In-Progress"&&Xe&&(et(),Re?.(O),Q===!0&&Qe?.())}),st=async(e,n)=>{e.includes(D)?Me?.(n[D]):e.includes(v)&&Ge?.(n[v])},nt=j.useCallback(ft((e,n)=>{st(e,n)},300),[]);j.useEffect(()=>{const e=p.watch((n,{name:c})=>{c!=null&&n!=null&&yt(()=>nt(c,n))});return()=>{e.unsubscribe()}});const le=ve(t.companyDetailsLocalData?.addressStatus);j.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(oe?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),p.setValue(`${D}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,le,oe,p]);const ce=_?.companyOfficers.slice(0,10).sort((e,n)=>e.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),K=ce?.map(e=>e.user),ot=ce?.map(e=>e.role),rt={onOkClick:()=>{Z(!1),F();const e=[],n=_?.company.company.incInfo.fileIds??[];p.getValues(`${D}.fileIds`).forEach(c=>{n.includes(c)||e.push(c)}),ot?.forEach((c,f)=>{const b=c?.fileIds??[];p.getValues(`${v}.${f}.fileIds`).forEach(I=>{b.includes(I)||e.push(I)})}),e.length!==0&&Ue?.(e)},onCancelClick:()=>{Z(!1)}},lt=Te(Oe(m),m,ke.currencySymbol).toUpperCase(),H=P?.code==="pending_review"||P?.code==="verified",de=(E?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;if(y==="zeni_treasury"&&P?.code==="pending_review"&&qe==="In-Progress"&&R.fetchState==="Completed")return a.jsxs(ia,{children:[a.jsxs(sa,{children:[a.jsx(ht,{}),a.jsx(na,{windowSize:u,children:Q===!0?s.submittedTitleWithTransfer:s.submittedTitle}),a.jsx(aa,{isReadonly:!1,children:Q===!0?s.submittedDescriptionWithTransfer.replace("__amount__",Te(Oe(E?.treasuryTransferMoneyLocalData?.amount?.amount??0),E?.treasuryTransferMoneyLocalData?.amount?.amount??0,ke.currencySymbol)).replace("__account__",E?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):s.submittedDescription})]}),a.jsx(gt,{label:s.submittedButton,onClick:()=>{F(),te?.()},variant:"primary"})]});const ct=()=>{const e=G?.companyVerificationStatus?.code==="verified",n=(r?.countriesOfOperations?.length??0)>0||r?.companySourceOfFunds!=null||r?.transactionVolume!=null||r?.purposeOfAccount!=null||r?.registeredAddressStatus!=null||r?.usNexus!=null;return e===!0&&n===!1};return a.jsxs(Ut,{isSettings:o,children:[a.jsx(xt,{title:h&&w===!0?Rt:s.header,backgroundColor:Ze.colors.grey5,style:{zIndex:q?1:4},onBackClick:()=>{wt(p.formState.dirtyFields)?Z(!0):F()},showBackButton:!o&&!h,showMenuIcon:o?u==="medium-compact"||u==="small":!1,onClickMenuIcon:Ye,rightSideComponent:h?a.jsx(oa,{"data-testid":St("nav-bar-close-business-verification-overlay"),onClick:()=>{F(),te?.()}}):null,source:"BusinessVerificationPage"}),Ke===!0?a.jsx(Ct,{titleComponent:a.jsx(Dt,{children:s.discardTitle}),descriptionComponent:a.jsx(bt,{children:s.discardDescription}),primaryButtonText:s.discard,secondaryButtonText:s.cancel,action:rt}):null,a.jsxs(Yt,{windowSize:u,children:[(!h||w===!1)&&a.jsx(Wt,{windowSize:u,children:o?Et.infoText.businessVerification:s.title}),k==="In-Progress"||k==="Not-Started"?a.jsx(Qt,{children:a.jsx(vt,{size:"ExtraLarge",start:!0})}):a.jsx(Tt,{...p,children:a.jsxs("form",{id:Pe(Ne),onSubmit:it,children:[h&&w===!0&&a.jsxs(Gt,{children:[a.jsxs(Kt,{windowSize:u,children:[a.jsx(Ht,{windowSize:u,children:H?s.businessVerificationDetails:de?s.verifyBusinessDetails:s.verifyBusinessDetailsWithoutTransfer}),!H&&a.jsx(Xt,{children:a.jsxs(ea,{children:[a.jsx(Ve,{}),de&&a.jsx(Ve,{}),a.jsx(ta,{})]})})]}),a.jsx(_e,{isReadonly:H,children:s.verifyBusinessDetailsDescription})]}),a.jsxs(Zt,{children:[a.jsx(Lt,{companyOfficerData:C,allNationalityCountries:S,allOfficers:K??[],sectionId:v,isRefreshingViewInBackground:L,connectedAccountProvider:M,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:$,filesEndPoint:i,authParams:B,isPopupOpen:q,openPopup:He,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,companyTitles:z,isForTreasury:y==="zeni_treasury",isOverlay:h}),a.jsx(Bt,{companyDetails:r,businessVerificationProps:{companyVerificationStatus:P,isRefreshingViewInBackground:L},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",hideNewOnboardingFields:ct(),sectionId:D,isDisabled:P?.code==="pending_review"||P?.code==="verified"?"readonly":$,fileProps:{authParams:B,filesEndPoint:i,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:Le,connectedAccountProvider:M,allIndustries:A,allNationalityCountries:S})]}),y==="zeni_accounts"?a.jsx(qt,{windowSize:u,children:s.threadText.replace("__amount__",lt)}):null]})})]}),k==="Completed"&&(y==="zeni_treasury"?J?.companyVerificationStatus?.code!=="pending_review"&&J?.companyVerificationStatus?.code!=="verified":G?.businessVerificationStatus?.code!=="pending_review"&&G?.businessVerificationStatus?.code!=="verified")?a.jsx(Ot,{formId:Pe(Ne),primaryBtn:{label:w?$e.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:u==="small"?"auto":w?"83px":"181px"},isLoading:U==="verification"&&R.fetchState==="In-Progress",isDisabled:$!=null},containerStyle:{width:u==="small"?x.width.valuePx(u):"auto",justifyContent:u==="small"?"space-between":"center"},helperStyle:{width:u==="small"?x.width.valuePx(u):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(u),paddingRight:x.termsPaddingLeftRight.valuePx(u),textAlign:u==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:w?$e.back:s.saveDetailsButton,style:{width:u==="small"?"auto":w?"83px":"181px"},isLoading:U==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(w)F();else{const e=C[O],n=r?.primaryContactLocalData;U!=="save"&&re("save");const c=e?.email??"",f=tt(),b=at();f&&b&&(g?.trackBusinessVerificationSave({email:c,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?Y(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:r?.companyDescription,legalName:r?.companyLegalName,phone:r?.phone,website:r?.website?.toString(),industry:r?.companyIndustry??"",formattedAddress:r?.addressStatus?.addressToCreate!=null?Y(r?.addressStatus?.addressToCreate):void 0},{firstName:n?.firstName,lastName:n?.lastName,email:n?.email},y,o?"Settings":void 0),We?.(O))}}},helperText:Je,style:{padding:`12px ${l.sp3}`,zIndex:q?0:4}}):null]})},Mt=(t,S,k,L)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:B,companyView:y}=t,A=Ae.getLocalizedStrings().companyPassport,z=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[D]:{companyDescription:i?.companyDescription??"",ein:i?.companyFiles.find(m=>m.documentType==="tax_ein"),companyId:i?.companyId??"",syncToken:i?.syncToken,companyLegalName:i?.companyLegalName??"",companyWebsite:i?.website?.toString()??"",companyAddress:i?.addressStatus?.addressToCreate,registeredAddress:i?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:i?.companyIndustry,allOptions:S?.map(m=>m.code)},companyPhone:i?.phone??"",companyTaxId:i?.taxIdOrEIN??"",primaryContactName:{firstName:i?.primaryContactLocalData?.firstName??"",lastName:i?.primaryContactLocalData?.lastName??""},primaryContactEmail:i?.primaryContactLocalData?.email??"",primaryContactUserId:i?.primaryContactLocalData?.userId,primaryContactSyncToken:i?.primaryContactLocalData?.syncToken,fileIds:i?.companyFiles.map(m=>m.fileId)??[],certificateOfIncorporation:i?.companyFiles.find(m=>m.documentType==="certificate_of_incorporation"),incDate:i?.incDate?.toDate(),typeOfIncorporation:{selectedOption:i?.typeOfIncorporation,allOptions:A.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:i?.stateOfIncorporation,allOptions:A.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:i?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:i?.companySourceOfFunds??"",allOptions:Object.keys(s.companySourceOfFundOptions??{})},companySourceOfFundsDescription:i?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:i?.transactionVolume,allOptions:[..._t]},transactionVolumeDescription:i?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:i?.purposeOfAccount,allOptions:[...Ft]},purposeOfAccountDescription:i?.purposeOfAccountDescription??"",usNexus:i?.usNexus??"",usNexusTypes:{selectedOptions:i?.usNexusTypes??[],allOptions:[...At]},regulatedStatus:i?.regulatedStatus??"",regulatedStatusDescription:i?.regulatedStatusDescription??""},[v]:Object.values(B).map((m,$)=>{const o=m,h=It(o?.documentTypeSelectedForVerification);return{userId:o?.userId,officerType:o?.officerType??`Officer_${$+1}`,name:{firstName:o?.firstName,lastName:o?.lastName},email:o?.email,fileIds:o?.fileIds??[],dob:o?.birthday?.toDate(),nationalityCountryCode:Nt(o?.nationalityCountryCode,L.map(g=>g.countryCode)),ssn:o?.ssn,role:{selectedOption:o?.titleAtCompany,allOptions:k?.map(g=>g.code)},phone:o?.phone??"",ownership:o?.ownershipInCompany,officerAddress:o?.addressStatus?.addressToCreate,selectDocument:{front:Ie(!0,o?.userFiles??[],h),back:Ie(!1,o?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!z&&$===0?!0:o?.isSelectedForVerification??!1,userVerificationStatus:o?.userVerificationStatus,treasuryUserVerificationStatus:o?.treasuryUserVerificationStatus,syncToken:o?.syncToken,isPhoneVerified:o?.isPhoneVerified,otpChallenge:o?.otpChallenge}})}},Pe=t=>`${t}_form`,Ut=d.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
min-height: 100%;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
width: 100%;
|
|
6
|
-
row-gap: ${l.sp3};
|
|
7
|
-
background-color: ${t=>t.isSettings?"unset":t.theme.colors.grey5};
|
|
8
|
-
`,Gt=d.div`
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
align-items: flex-start;
|
|
12
|
-
justify-content: center;
|
|
13
|
-
gap: ${l.sp1};
|
|
14
|
-
width: 100%;
|
|
15
|
-
padding-bottom: ${l.sp3};
|
|
16
|
-
`,Wt=d(Fe)`
|
|
17
|
-
color: ${t=>t.theme.colors.hero};
|
|
18
|
-
display: flex;
|
|
19
|
-
justify-content: center;
|
|
20
|
-
width: ${t=>x.titleWidth.valuePx(t.windowSize)};
|
|
21
|
-
padding-top: ${t=>x.subTitlePaddingTop.valuePx(t.windowSize)};
|
|
22
|
-
padding-bottom: ${t=>x.subTitlePaddingBottom.valuePx(t.windowSize)};
|
|
23
|
-
text-align: ${t=>t.windowSize==="small"?"initial":"center"};
|
|
24
|
-
`,Yt=d.div`
|
|
25
|
-
display: flex;
|
|
26
|
-
justify-content: flex-start;
|
|
27
|
-
height: 100%;
|
|
28
|
-
overflow-y: auto;
|
|
29
|
-
flex-direction: column;
|
|
30
|
-
align-items: center;
|
|
31
|
-
padding-bottom: ${l.sp9};
|
|
32
|
-
row-gap: ${t=>x.verificationDetailsRowGap.valuePx(t.windowSize)};
|
|
33
|
-
`,Qt=d.div`
|
|
34
|
-
display: flex;
|
|
35
|
-
width: 100%;
|
|
36
|
-
height: calc(100vh - 110px);
|
|
37
|
-
flex-direction: row;
|
|
38
|
-
justify-content: center;
|
|
39
|
-
align-items: center;
|
|
40
|
-
background-color: ${t=>t.theme.colors.grey4};
|
|
41
|
-
`,Zt=d.div`
|
|
42
|
-
display: flex;
|
|
43
|
-
flex-direction: column;
|
|
44
|
-
row-gap: ${l.sp11};
|
|
45
|
-
`,qt=d(je)`
|
|
46
|
-
margin-top: ${l.sp2};
|
|
47
|
-
padding: ${l.sp2} ${l.sp2};
|
|
48
|
-
text-align: center;
|
|
49
|
-
color: ${t=>t.theme.colors.grey1};
|
|
50
|
-
width: ${t=>x.width.valuePx(t.windowSize)};
|
|
51
|
-
`,Jt=d(je)`
|
|
52
|
-
text-align: center;
|
|
53
|
-
max-width: 750px;
|
|
54
|
-
color: ${t=>t.theme.colors.hero};
|
|
55
|
-
`,Kt=d.div`
|
|
56
|
-
display: flex;
|
|
57
|
-
flex-direction: column;
|
|
58
|
-
gap: ${l.sp3};
|
|
59
|
-
width: 100%;
|
|
60
|
-
`,Ht=d(Vt)`
|
|
61
|
-
${t=>`${zt.stepTitle.style(t.windowSize)}`};
|
|
62
|
-
color: ${t=>t.theme.colors.primary};
|
|
63
|
-
text-align: left;
|
|
64
|
-
`,Xt=d.div`
|
|
65
|
-
display: flex;
|
|
66
|
-
align-items: center;
|
|
67
|
-
overflow: hidden;
|
|
68
|
-
gap: ${l.sp2};
|
|
69
|
-
`,ea=d.div`
|
|
70
|
-
display: flex;
|
|
71
|
-
width: 100%;
|
|
72
|
-
gap: ${l.sp3};
|
|
73
|
-
`,Ve=d.div`
|
|
74
|
-
flex: 1;
|
|
75
|
-
height: 2px;
|
|
76
|
-
background-color: ${t=>t.theme.colors.primary};
|
|
77
|
-
border-radius: ${l.sp2};
|
|
78
|
-
`,ta=d.div`
|
|
79
|
-
flex: 1;
|
|
80
|
-
height: 2px;
|
|
81
|
-
background-color: ${t=>t.theme.colors.grey3};
|
|
82
|
-
border-radius: ${l.sp2};
|
|
83
|
-
position: relative;
|
|
84
|
-
overflow: hidden;
|
|
85
|
-
|
|
86
|
-
&::after {
|
|
87
|
-
content: "";
|
|
88
|
-
position: absolute;
|
|
89
|
-
top: 0;
|
|
90
|
-
left: 0;
|
|
91
|
-
height: 100%;
|
|
92
|
-
width: 100%;
|
|
93
|
-
background-color: ${t=>t.theme.colors.primary};
|
|
94
|
-
animation: fillProgress 1s ease-in-out forwards;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
@keyframes fillProgress {
|
|
98
|
-
0% {
|
|
99
|
-
transform: translateX(-100%);
|
|
100
|
-
}
|
|
101
|
-
100% {
|
|
102
|
-
transform: translateX(0%);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
`,_e=d(Fe)`
|
|
106
|
-
color: ${t=>t.theme.colors.hero};
|
|
107
|
-
margin-top: ${t=>t.isReadonly?l.sp0:l.sp3};
|
|
108
|
-
white-space: pre-line;
|
|
109
|
-
`,aa=d(_e)`
|
|
110
|
-
margin-top: ${l.sp0};
|
|
111
|
-
text-align: center;
|
|
112
|
-
`,ia=d.div`
|
|
113
|
-
display: flex;
|
|
114
|
-
flex-direction: column;
|
|
115
|
-
align-items: center;
|
|
116
|
-
justify-content: center;
|
|
117
|
-
gap: ${l.sp5};
|
|
118
|
-
margin: auto;
|
|
119
|
-
`,sa=d.div`
|
|
120
|
-
display: flex;
|
|
121
|
-
flex-direction: column;
|
|
122
|
-
align-items: center;
|
|
123
|
-
justify-content: center;
|
|
124
|
-
gap: ${l.sp3};
|
|
125
|
-
`,na=d(kt)`
|
|
126
|
-
color: ${t=>t.theme.colors.primary};
|
|
127
|
-
white-space: pre-line;
|
|
128
|
-
text-align: center;
|
|
129
|
-
`,oa=d($t)`
|
|
130
|
-
cursor: pointer;
|
|
131
|
-
color: ${t=>t.theme.colors.hero};
|
|
132
|
-
width: ${l.sp4};
|
|
133
|
-
height: ${l.sp4};
|
|
134
|
-
min-height: ${l.sp4};
|
|
135
|
-
&:hover {
|
|
136
|
-
color: ${t=>t.theme.colors.primary};
|
|
137
|
-
}
|
|
138
|
-
`;export{Ta as default,Pe as uniqueName};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import{e as m,V as r,O as w,w as y,o as a,N as x,M as b}from"./index-C8o-xzAN.js";import{n as o}from"./mui-DOS4CfBc.js";import{a as n}from"./sentry-DBhcw6Be.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]="19151f8c-41d0-4c05-92c7-dfa3637967a7",e._sentryDebugIdIdentifier="sentry-dbid-19151f8c-41d0-4c05-92c7-dfa3637967a7")}catch{}})();const $=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.802551 6.92395C0.802551 5.2671 2.1457 3.92395 3.80255 3.92395H20.2009C21.8578 3.92395 23.2009 5.2671 23.2009 6.92395V17.076C23.2009 18.7329 21.8578 20.076 20.2009 20.076H3.80255C2.1457 20.076 0.802551 18.7329 0.802551 17.076V10.8805H23.1896V9.01135H0.802551V6.92395ZM0.802551 9.01135H0.799072V10.8805H0.802551V9.01135ZM14.5443 15.6222C14.5443 15.0935 14.9728 14.6649 15.5015 14.6649H18.1386C18.6673 14.6649 19.0959 15.0935 19.0959 15.6222C19.0959 16.1509 18.6673 16.5795 18.1386 16.5795H15.5015C14.9728 16.5795 14.5443 16.1509 14.5443 15.6222Z",fill:"currentColor"})),{common:p,spendManagement:{chargeCard:t}}=w.getLocalizedStrings(),C={subText:new x("extraSmallRegular","standardRegular")},j=({cardDetail:e,forDetailPage:s,styles:l})=>{const g=m(),h=e.type.code.includes("credit")?t.chargeCardsPromo.credit:t.chargeCardsPromo.debit;let d=e.type.code.includes("physical")?t.cardList.physicalCard:t.cardList.virtualCard;const i=p.strings.space+t.cardDetails.expiryHideOut+p.strings.space+e.accountLast4,f=e.status.code==="request_on_hold"||!s?d:i,c=e.type.code.includes("physical");return r.jsxs(v,{style:l,windowSize:g,forDetailPage:s,className:"cardName",title:`${f}`,children:[h,r.jsx(H,{}),d,c&&!s?r.jsx(u,{className:"physical-card-icon"}):null,e.status.code==="request_on_hold"||!s?null:i,c&&s?r.jsx(u,{}):null]})},v=o(b)`
|
|
2
|
-
${e=>e.forDetailPage?{...y.extraSmallRegular.cssObject}:`${C.subText.style(e.windowSize)}`};
|
|
3
|
-
color: ${e=>e.theme.colors.hero};
|
|
4
|
-
max-width: 100%;
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
text-overflow: ellipsis;
|
|
7
|
-
white-space: nowrap;
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
gap: ${a.sp1};
|
|
11
|
-
`,H=o.span`
|
|
12
|
-
height: ${a.sp1};
|
|
13
|
-
width: ${a.sp1};
|
|
14
|
-
background-color: ${e=>e.theme.colors.grey1};
|
|
15
|
-
border-radius: 50%;
|
|
16
|
-
margin: ${a.sp0} ${a.sp1};
|
|
17
|
-
`,u=o($)`
|
|
18
|
-
width: ${a.sp3};
|
|
19
|
-
height: ${a.sp3};
|
|
20
|
-
color: ${e=>e.theme.colors.hero};
|
|
21
|
-
`;export{j};
|